/* QuizBoy's colourful look (ticket 3ec83bf9).
 *
 * Padre, 2026-09-16: "nagyon színes, sok képpel, kedves oldalakat". A big purple field to join
 * from, a bar of coloured buttons, and pages made of bright boxes, tiles and picture cards.
 *
 * Everything here is scoped to body.fun, which the generator sets when content.json says
 * site.funStyle. Turning that off gives back the site exactly as it was, because nothing in
 * style.css was changed to make this.
 */

body.fun {
  --fun-ink: #1e1b4b;
  --fun-muted: #4c4a6b;
  --fun-bg: #f6f4fb;
  --fun-card: #ffffff;
  --fun-bar1: #2a0f57;
  --fun-bar2: #46178f;
  --fun-radius: 16px;
  /* Where the menu folds into the ☰ button. Later than the plain site's 940px: five coloured
     buttons in German or Romanian need about 1200px to stay on one row (site.js reads this). */
  --nav-collapse: 1199px;
  background: var(--fun-bg);
  color: var(--fun-ink);
  font-family: "Segoe UI", "Nunito", system-ui, -apple-system, Roboto, sans-serif;
}

body.fun h1, body.fun h2, body.fun h3 {
  font-family: inherit;
  font-weight: 800;
  color: var(--fun-ink);
  letter-spacing: -0.01em;
}
body.fun a { color: #5b21b6; }

/* ── the tones every coloured thing draws from ─────────────────────────────── */
/* Two shades each: a lighter one for the top of a gradient and a dark one that white text
   reads on at AA contrast. */
.fun .tone-purple { --t1: #8b5cf6; --t2: #5b21b6; }
.fun .tone-blue { --t1: #3b82f6; --t2: #1d4ed8; }
.fun .tone-green { --t1: #22c55e; --t2: #15803d; }
.fun .tone-red { --t1: #f43f5e; --t2: #be123c; }
.fun .tone-orange { --t1: #fb923c; --t2: #c2410c; }
.fun .tone-gold { --t1: #eab308; --t2: #a16207; }
.fun .tone-teal { --t1: #14b8a6; --t2: #0f766e; }
.fun .tone-pink { --t1: #ec4899; --t2: #be185d; }

/* ── the bar ───────────────────────────────────────────────────────────────── */
.fun .masthead {
  background: linear-gradient(90deg, var(--fun-bar1), var(--fun-bar2));
  border-bottom: 0;
}
.fun .siteheader.is-scrolled { box-shadow: 0 6px 20px rgba(30, 10, 70, 0.35); }
.fun .masthead__inner { padding: 10px 0; gap: 14px; }
.fun .brand__name { font-family: inherit; font-weight: 900; color: #fff; font-size: 1.35rem; }
.fun .brand__role { color: rgba(255, 255, 255, 0.72); }
.fun .nav { gap: 8px; }
.fun .nav a:not(.btn):not(.navbtn) { color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; }
.fun .nav a:not(.btn):not(.navbtn):hover { background: rgba(255, 255, 255, 0.12); }
/* On a wide screen the bar is the five buttons, the teacher's door and the languages; a plain
   page link (the privacy notice) stays in the footer and in the phone menu. Hidden, not
   removed: it is still in the markup. */
@media (min-width: 1200px) {
  .fun .nav { gap: 6px; flex-wrap: nowrap; }
  .fun .nav > a:not(.btn):not(.navbtn) { display: none; }
  .fun .langswitch { margin-left: 2px; gap: 3px; }
  .fun .langswitch button { padding: 3px 6px; }
  .fun .nav .btn--ghost { padding: 7px 11px; white-space: nowrap; font-size: 0.9rem; }
  .fun .brand__role { display: none; }
}
/* Between the plain site's fold (940px) and ours: the same folded menu style.css draws below 940. */
@media (min-width: 941px) and (max-width: 1199px) {
  .fun .navtoggle { display: block; }
  .fun .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-bottom: 10px;
  }
  .fun .nav[hidden] { display: none; }
  .fun .nav a { padding: 12px 8px; border-radius: 10px; }
  .fun .nav .navbtn { justify-content: flex-start; padding: 12px 14px; }
  .fun .nav .btn { text-align: center; margin-top: 8px; }
  .fun .masthead__inner { flex-wrap: wrap; }
}

.fun .navbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--t1), var(--t2));
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.fun .navbtn svg { width: 16px; height: 16px; flex: none; }
.fun .navbtn:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
/* style.css colours the current page's link; on a coloured button that made the word vanish. */
.fun .nav a.navbtn[aria-current="page"] { color: #fff; }
.fun .navbtn[aria-current="page"] { border-color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.fun .navbtn:focus-visible { outline: 3px solid #fde047; outline-offset: 2px; }

.fun .nav .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.7); background: transparent; border-radius: 10px; font-weight: 700; }
.fun .nav .btn--ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.fun .langswitch button { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.fun .langswitch button.is-active { background: #fff; border-color: #fff; color: var(--fun-bar2); }
.fun .navtoggle { color: #fff; border-color: rgba(255, 255, 255, 0.5); }

@media (max-width: 940px) {
  .fun .nav { gap: 8px; }
  .fun .nav .navbtn { justify-content: flex-start; padding: 12px 14px; }
}

/* ── the join field ────────────────────────────────────────────────────────── */
.fun .join--splash {
  position: relative;
  overflow: hidden;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: center;
  padding: 64px 0;
  background: radial-gradient(circle at 80% 20%, #9333ea 0, transparent 55%), linear-gradient(135deg, #6d28d9, #4c1d95 60%, #3b0764);
}
.fun .join--splash .join__inner { position: relative; z-index: 1; max-width: 780px; }
.fun .join--splash h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.6rem); text-shadow: 0 3px 0 rgba(0, 0, 0, 0.18); }
.fun .join--splash .lead { color: rgba(255, 255, 255, 0.9); }
.fun .join--splash .join__form {
  background: #fff;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(20, 0, 60, 0.45);
  max-width: 380px;
  margin-inline: auto;
}
.fun .join--splash .join__label { color: var(--fun-muted); text-align: center; font-weight: 700; }
.fun .join--splash .join__input { border-color: #d6d3e8; color: var(--fun-ink); background: #fff; }
.fun .join--splash .join__input:focus-visible { outline-color: #7c3aed; border-color: #7c3aed; }
.fun .join--splash .btn--wide { background: #1e1b4b; border-color: #1e1b4b; color: #fff; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.35); }
.fun .join--splash .btn--wide:hover { background: #312e81; border-color: #312e81; }
.fun .join--splash .join__hint { color: var(--fun-muted); text-align: center; }

.fun .join__decor { position: absolute; inset: 0; pointer-events: none; }
.fun .jd { position: absolute; display: block; }
.fun .jd--blob1 { width: 70vmax; height: 70vmax; right: -30vmax; top: -25vmax; border-radius: 50%; background: rgba(255, 255, 255, 0.07); }
.fun .jd--blob2 { width: 60vmax; height: 20vmax; left: -20vmax; bottom: -6vmax; transform: rotate(-24deg); background: rgba(0, 0, 0, 0.12); border-radius: 40%; }
/* The four answer shapes, floating: the game's own alphabet as decoration. */
.fun .jd--tri { left: 12%; top: 22%; width: 0; height: 0; border-left: 34px solid transparent; border-right: 34px solid transparent; border-bottom: 58px solid #ef4444; animation: fun-float 7s ease-in-out infinite; }
.fun .jd--dia { right: 14%; top: 18%; width: 52px; height: 52px; background: #3b82f6; transform: rotate(45deg); animation: fun-float 8s ease-in-out -2s infinite; }
.fun .jd--dot { left: 18%; bottom: 18%; width: 60px; height: 60px; border-radius: 50%; background: #eab308; animation: fun-float 6s ease-in-out -1s infinite; }
.fun .jd--sq { right: 20%; bottom: 22%; width: 56px; height: 56px; border-radius: 10px; background: #22c55e; transform: rotate(12deg); animation: fun-float 9s ease-in-out -3s infinite; }
@keyframes fun-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@media (max-width: 640px) { .fun .jd--tri, .fun .jd--dia, .fun .jd--dot, .fun .jd--sq { opacity: 0.45; scale: 0.7; } }

/* ── the plain sections, brightened ────────────────────────────────────────── */
.fun .band-sand { background: #ede9fe; }
.fun .section-head h2 { color: var(--fun-ink); }
.fun .section-head p { color: var(--fun-muted); }
.fun .step, .fun .card { background: #fff; border: 0; border-radius: var(--fun-radius); box-shadow: 0 6px 18px rgba(46, 16, 101, 0.08); border-top: 6px solid #8b5cf6; }
.fun .step:nth-child(4n+1), .fun .card:nth-child(4n+1) { border-top-color: #ef4444; }
.fun .step:nth-child(4n+2), .fun .card:nth-child(4n+2) { border-top-color: #3b82f6; }
.fun .step:nth-child(4n+3), .fun .card:nth-child(4n+3) { border-top-color: #eab308; }
.fun .step:nth-child(4n+4), .fun .card:nth-child(4n+4) { border-top-color: #22c55e; }
.fun .card:nth-child(even) { background: #fff; }
.fun .step h3, .fun .card h3 { color: var(--fun-ink); }
.fun .step p, .fun .card p { color: var(--fun-muted); }

/* ── the colourful sections ────────────────────────────────────────────────── */
.fun .fun-sec { padding: 34px 0; }
.fun .fun-sec:first-child { padding-top: 40px; }
.fun .fun-sec[data-band] { background: #ede9fe; }
.fun .fun-head { margin-bottom: 16px; }
.fun .fun-head h2 { font-size: 1.45rem; margin: 0 0 4px; }
.fun .fun-head p { color: var(--fun-muted); margin: 0; }
.fun .is-link { text-decoration: none; }
.fun .is-link:focus-visible { outline: 3px solid #7c3aed; outline-offset: 3px; }

/* quick tools */
.fun .fun-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.fun .fun-tool {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: 1fr auto;
  gap: 12px 14px;
  min-height: 132px;
  padding: 18px;
  border-radius: var(--fun-radius);
  background: linear-gradient(135deg, var(--t1), var(--t2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(46, 16, 101, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fun .fun-tool.is-link:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(46, 16, 101, 0.22); }
.fun .fun-tool__img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; border: 3px solid rgba(255, 255, 255, 0.6); }
.fun .fun-tool__title { align-self: center; font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.fun .fun-tool__btn {
  grid-column: 1 / -1;
  justify-self: end;
  background: #fff;
  color: var(--fun-ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}

/* topic tiles */
.fun .fun-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.fun .fun-tile {
  position: relative;
  overflow: hidden;
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--t1), var(--t2));
  color: #fff;
  box-shadow: 0 6px 16px rgba(46, 16, 101, 0.14);
  transition: transform 0.15s ease;
}
.fun .fun-tile.is-link:hover { transform: translateY(-3px); }
/* A wash of the tile's own colour from the left, so the name reads over the picture. */
.fun .fun-tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--t2) 0, var(--t2) 30%, transparent 75%); opacity: 0.9; }
.fun .fun-tile__img { position: absolute; right: -14px; top: -8px; width: 58%; height: 100%; object-fit: cover; border-radius: 18px; transform: rotate(8deg); opacity: 0.95; }
.fun .fun-tile__title { position: absolute; z-index: 2; left: 14px; bottom: 12px; right: 36%; font-weight: 800; font-size: 1.05rem; line-height: 1.2; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }

/* banners */
.fun .fun-banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.fun .fun-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 170px;
  border-radius: var(--fun-radius);
  background: linear-gradient(135deg, var(--t1), var(--t2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(46, 16, 101, 0.18);
  transition: transform 0.15s ease;
}
.fun .fun-banner.is-link:hover { transform: translateY(-3px); }
.fun .fun-banner__words { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 18px; width: 58%; }
.fun .fun-banner__title { font-weight: 900; font-size: 1.3rem; line-height: 1.15; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.15); }
.fun .fun-banner__text { font-size: 0.9rem; opacity: 0.92; line-height: 1.35; }
.fun .fun-banner__img { position: absolute; right: 0; top: 0; width: 50%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }

/* quiz cards */
.fun .fun-quizzes { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.fun .fun-quiz {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--t2);
  color: #fff;
  box-shadow: 0 8px 20px rgba(46, 16, 101, 0.16);
  transition: transform 0.15s ease;
}
.fun .fun-quiz.is-link:hover { transform: translateY(-3px); }
.fun .fun-quiz__pic { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--t1); }
.fun .fun-quiz__img { width: 100%; height: 100%; object-fit: cover; }
.fun .fun-quiz__badge { position: absolute; left: 8px; top: 8px; background: #fff; color: var(--fun-ink); font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 6px; }
.fun .fun-quiz__count { position: absolute; right: 8px; bottom: 8px; background: rgba(15, 10, 40, 0.75); color: #fff; font-size: 0.74rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.fun .fun-quiz__body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; flex: 1; }
.fun .fun-quiz__title { font-weight: 800; font-size: 1rem; line-height: 1.25; }
.fun .fun-quiz__best { display: block; margin-top: 4px; font-size: 0.78rem; font-weight: 700; color: #fff; }
.fun .solo__best { font-weight: 700; margin: 0; color: var(--fun-ink); }
.fun .solo__best.is-new { color: #15803d; }
.fun .fun-quiz__author { font-size: 0.8rem; opacity: 0.85; }

.fun .fun-side { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 28px; align-items: center; }
.fun .fun-side__words h2 { font-size: 1.45rem; margin-bottom: 8px; }
.fun .fun-side__words p { color: var(--fun-muted); margin: 0; }
@media (max-width: 860px) { .fun .fun-side { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 520px) {
  .fun .fun-quizzes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fun .fun-banner__words { width: 64%; }
}

/* ── footer ────────────────────────────────────────────────────────────────── */
.fun .footer { background: linear-gradient(90deg, var(--fun-bar1), var(--fun-bar2)); color: #fff; }
.fun .footer h4, .fun .footer p, .fun .footer li, .fun .footer a { color: #fff; font-family: inherit; }
.fun .footer__bottom { border-top-color: rgba(255, 255, 255, 0.25); }

/* ── practising a quiz alone, and the list of quizzes (ticket 3ec83bf9) ───────── */
.fun .solo-sec { padding-top: 32px; }
.fun .solo { max-width: 920px; margin-inline: auto; }
.fun .solo__card { background: #fff; border-radius: 20px; box-shadow: 0 14px 40px rgba(46, 16, 101, 0.14); padding: 22px; overflow: hidden; }
.fun .solo__msg { color: var(--fun-muted); text-align: center; margin: 12px auto; }
.fun .solo__hero { position: relative; display: grid; grid-template-columns: 1fr minmax(160px, 38%); align-items: center; gap: 18px; border-radius: 16px; padding: 22px; color: #fff; background: linear-gradient(135deg, var(--t1), var(--t2)); overflow: hidden; }
.fun .solo__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 4px solid rgba(255, 255, 255, 0.55); }
.fun .solo__badge { display: inline-block; background: #fff; color: var(--fun-ink); font-size: 0.78rem; font-weight: 800; padding: 3px 10px; border-radius: 8px; }
.fun .solo__title { color: inherit; margin: 10px 0 8px; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.fun .solo__hero .solo__title { color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.15); }
.fun .solo__desc { color: rgba(255, 255, 255, 0.92); margin: 0 0 8px; }
.fun .solo__count { font-weight: 700; margin: 0; }
.fun .solo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.fun .solo__btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 800; font-size: 1.05rem; padding: 12px 22px; border-radius: 12px; border: 0; background: #1e1b4b; color: #fff; text-decoration: none; cursor: pointer; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.3); }
.fun .solo__btn:hover { background: #312e81; color: #fff; }
.fun .solo__btn--ghost { background: #ede9fe; color: #4c1d95; box-shadow: inset 0 -3px 0 rgba(76, 29, 149, 0.18); }
.fun .solo__btn--ghost:hover { background: #ddd6fe; color: #4c1d95; }
.fun .solo__link { color: #5b21b6; font-weight: 700; }
.fun .solo__btn:focus-visible, .fun .solo__answer:focus-visible, .fun .solo__link:focus-visible { outline: 3px solid #7c3aed; outline-offset: 3px; }

.fun .solo__qhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 700; color: var(--fun-muted); }
.fun .solo__scorechip { background: #ede9fe; color: #4c1d95; padding: 4px 12px; border-radius: 999px; }
.fun .solo__time { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fun .solo__timebar { flex: 1; height: 12px; border-radius: 999px; background: #ede9fe; overflow: hidden; }
.fun .solo__timebar > span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #8b5cf6, #ec4899); border-radius: inherit; }
.fun .solo__timenum { min-width: 2.2em; text-align: center; font-weight: 900; font-size: 1.3rem; color: #5b21b6; }
.fun .solo__question { text-align: center; font-size: clamp(1.3rem, 3.2vw, 1.9rem); margin: 8px 0 18px; }
.fun .solo__answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fun .solo__answer { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border: 0; border-radius: 12px; font: inherit; font-weight: 800; font-size: 1.05rem; text-align: left; color: #fff; background: var(--t2); cursor: pointer; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.25); transition: transform 0.1s ease, opacity 0.2s ease; }
.fun .solo__answer.tone-red { --t2: #e11d48; }
.fun .solo__answer.tone-blue { --t2: #2563eb; }
.fun .solo__answer.tone-gold { --t2: #ca8a04; }
.fun .solo__answer.tone-green { --t2: #16a34a; }
.fun .solo__answer:not(:disabled):hover { transform: translateY(-2px); }
.fun .solo__answer:disabled { cursor: default; }
.fun .solo__answer.is-dim { opacity: 0.35; }
.fun .solo__answer.is-right { outline: 4px solid #22c55e; outline-offset: 2px; }
.fun .solo__answer.is-wrong { outline: 4px solid #1e1b4b; outline-offset: 2px; opacity: 0.75; }
.fun .solo__shape { flex: none; width: 30px; height: 30px; display: inline-block; background: #fff; }
.fun .solo__shape--tri { clip-path: polygon(50% 5%, 95% 92%, 5% 92%); }
.fun .solo__shape--dia { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.fun .solo__shape--dot { border-radius: 50%; }
.fun .solo__shape--sq { border-radius: 5px; transform: scale(0.85); }
.fun .solo__atext { overflow-wrap: anywhere; }
.fun .solo__feedback { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 18px; padding: 14px; border-radius: 14px; font-size: 1.1rem; }
.fun .solo__feedback.is-right { background: #dcfce7; color: #14532d; }
.fun .solo__feedback.is-wrong { background: #ffe4e6; color: #881337; }
.fun .solo__card--result { text-align: center; }
.fun .solo__card--result .solo__actions { justify-content: center; }
.fun .solo__stars { font-size: 3rem; letter-spacing: 0.1em; color: #e5e7eb; line-height: 1; }
.fun .solo__stars .is-on { color: #facc15; text-shadow: 0 2px 0 #ca8a04; }
.fun .solo__score { font-size: 2rem; font-weight: 900; color: #5b21b6; margin: 8px auto 0; }
@media (max-width: 640px) {
  .fun .solo__hero { grid-template-columns: 1fr; }
  .fun .solo__img { max-width: 260px; }
  .fun .solo__answers { grid-template-columns: 1fr; }
  .fun .solo__card { padding: 14px; }
}

.fun .catalog__title { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 4px; }
.fun .catalog__search { width: 100%; max-width: 480px; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 2px solid #ddd6fe; background: #fff; color: var(--fun-ink); margin: 6px 0 18px; }
.fun .catalog__search:focus-visible { outline: 3px solid #7c3aed; outline-offset: 2px; border-color: #7c3aed; }
.fun .solo__card--result p { margin-inline: auto; }

/* ── the left menu of the inner pages (Padre, 2026-09-16: "van baloldali működő menü?") ───── */
.fun .sidenav { display: none; }
@media (min-width: 1200px) {
  .fun .funlayout { display: grid; grid-template-columns: 232px minmax(0, 1fr); align-items: start; }
  .fun .sidenav { display: block; position: sticky; top: 62px; max-height: calc(100vh - 62px); overflow-y: auto; background: #fff; border-right: 1px solid #ebe7f5; padding: 16px 10px 24px; }
  .fun .funlayout > main .wrap { width: min(100% - 48px, var(--page)); }
}
.fun .sidenav__nav { display: flex; flex-direction: column; gap: 2px; }
.fun .sidenav__link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--fun-ink); font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.fun .sidenav__link:hover { background: #f3f0fb; color: var(--fun-ink); }
.fun .sidenav__link[aria-current="page"] { background: linear-gradient(90deg, #5b21b6, #7c3aed); color: #fff; }
.fun .sidenav__link:focus-visible { outline: 3px solid #7c3aed; outline-offset: 1px; }
.fun .sidenav__link--sub { font-weight: 600; font-size: 0.9rem; padding: 7px 12px; }
.fun .sidenav__dot { width: 12px; height: 12px; flex: none; border-radius: 4px; background: linear-gradient(135deg, var(--t1), var(--t2)); }
.fun .sidenav__link[aria-current="page"] .sidenav__dot { outline: 2px solid #fff; }
.fun .sidenav__head { margin: 14px 12px 4px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fun-muted); }
.fun .sidenav__rule { border: 0; border-top: 1px solid #ebe7f5; margin: 12px 8px; }

.fun .catalog__chip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -6px 0 16px; font-weight: 700; color: #4c1d95; }
.fun .catalog__chip[hidden] { display: none; }
.fun .catalog__chip > span { background: #ede9fe; padding: 6px 12px; border-radius: 999px; }
.fun .catalog__clear { font: inherit; font-size: 0.9rem; font-weight: 700; color: #5b21b6; background: none; border: 0; text-decoration: underline; cursor: pointer; }
