/* PlayQuizio design system. Brand = Quizio fox: indigo hoodie, fox yellow, tangerine. */
:root {
  --ink: #1e1b4b; --ink2: #4b4880; --bg: #fff6e6; --card: #fff; --line: #f0e2c8;
  --indigo: #2f2385; --indigo2: #4a3bc7; --fox: #ffc23a; --orange: #ff7a1a; --orange2: #e2600a;
  --a: #ff5d73; --b: #16b89a; --c: #ffaa1a; --d: #3d8bff;
  --ok: #18b36b; --bad: #ff4d5e; --easy: #18b36b; --medium: #f59e0b; --hard: #ef4444; --insane: #a855f7;
  --r: 18px; --sh: 0 6px 0 rgba(30, 27, 75, .12); --sh2: 0 14px 34px rgba(30, 27, 75, .14);
  --f-d: 'Lilita One', 'Arial Rounded MT Bold', system-ui, sans-serif; --f-b: 'Nunito', system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 48px); --max: 1240px;
  font-size: clamp(15px, .35vw + 13px, 19px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { margin: 0; font-family: var(--f-b); font-weight: 600; color: var(--ink); background: var(--bg); line-height: 1.5; }
body::before { content: ''; position: fixed; inset: -360px 0 0 -360px; z-index: -1; background: rgba(47, 35, 133, .045); -webkit-mask: url(/playquizio/img/glyphs.svg) 0 0 / 360px; mask: url(/playquizio/img/glyphs.svg) 0 0 / 360px; animation: tile 60s linear infinite; --tx: 360px; --ty: 360px; pointer-events: none; }
  background-image: radial-gradient(circle at 12% 8%, rgba(255, 194, 58, .28) 0 160px, transparent 161px), radial-gradient(circle at 92% 30%, rgba(74, 59, 199, .1) 0 220px, transparent 221px); background-attachment: fixed; }
img { max-width: 100%; height: auto; }
a { color: var(--indigo2); }
h1, h2, h3 { font-family: var(--f-d); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); } h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 99; background: #fff; padding: 8px; }
:focus-visible { outline: 3px solid var(--indigo2); outline-offset: 3px; border-radius: 8px; }

/* buttons: chunky "game" buttons with a pressable bottom edge */
.btn { --c1: var(--indigo2); --c2: var(--indigo); display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-family: var(--f-d); font-size: 1.05rem; letter-spacing: .02em;
  color: #fff; background: var(--c1); border: 0; border-radius: 14px; padding: .7em 1.2em; box-shadow: 0 5px 0 var(--c2); cursor: pointer; text-decoration: none; position: relative; overflow: hidden;
  transition: transform .08s, box-shadow .08s, filter .15s; user-select: none; }
.btn:hover { filter: brightness(1.07); } .btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--c2); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-big { font-size: 1.25rem; padding: .85em 1.5em; border-radius: 18px; }
.btn-play, .btn-go { --c1: var(--orange); --c2: var(--orange2); }
.btn-ghost { --c1: #fff; --c2: #e5d7bb; color: var(--ink); }
.btn-yt { --c1: #ff2a2a; --c2: #b40f0f; }
.btn-ok { --c1: var(--ok); --c2: #0e7f4b; }
.btn-sm { font-size: .9rem; padding: .45em .9em; box-shadow: 0 3px 0 var(--c2); border-radius: 11px; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: rip .5s ease-out; pointer-events: none; }
@keyframes rip { to { transform: scale(2.6); opacity: 0; } }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 8px var(--gut); background: rgba(255, 246, 230, .88); backdrop-filter: blur(10px); border-bottom: 2px solid var(--line); }
.logo { display: flex; align-items: center; gap: 6px; text-decoration: none; font-family: var(--f-d); font-size: 1.55rem; color: var(--ink); }
.logo b { color: var(--orange); font-weight: 400; } .logo img { width: 40px; height: auto; transition: transform .3s; } .logo:hover img { transform: rotate(-10deg) scale(1.1); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); padding: .45em .8em; border-radius: 10px; font-weight: 800; }
.nav a:hover, .nav a[aria-current] { background: #fff; box-shadow: var(--sh); }
.btn-join { --c1: var(--orange); --c2: var(--orange2); font-size: .95rem; padding: .5em 1em; }
.me { display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: .85rem; }
.me-av { width: 40px; height: 40px; display: block; } .me-av svg { width: 100%; height: 100%; }
@media (max-width: 760px) { .nav { display: none; } .btn-join { margin-left: auto; } .me-lv { display: none; } .logo span { font-size: 1.3rem; } }

main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) 60px; min-height: 70vh; outline: 0; }
main.leaving { opacity: 0; transform: translateY(8px); transition: opacity .15s, transform .15s; }
main.entering { animation: enter .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }

/* hero */
.hero { display: grid; grid-template-columns: 1.25fr .9fr; align-items: center; gap: 24px; padding: clamp(20px, 5vw, 60px) 0 20px; }
.kicker { font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--orange2); margin: 0 0 .6em; }
.hero h1 span { display: block; font-size: .5em; color: var(--ink2); margin-top: .3em; }
.join-hero { background: #fff; border-radius: 22px; padding: 16px; box-shadow: var(--sh2); max-width: 470px; margin: 18px 0; border: 3px solid var(--indigo); }
.join-hero label { font-weight: 900; display: block; margin-bottom: 6px; }
.join-hero div { display: flex; gap: 10px; }
.join-hero input, .field .code-in { flex: 1; min-width: 0; font: inherit; font-family: var(--f-d); font-size: 1.9rem; letter-spacing: .25em; text-align: center; border: 3px solid var(--line); border-radius: 14px; padding: .2em .4em; color: var(--ink); background: #fffdf8; }
.join-hero input:focus, .field .code-in:focus { border-color: var(--orange); outline: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; justify-self: center; }
.hero-art img { width: min(360px, 70vw); animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 18px 18px rgba(30, 27, 75, .18)); }
.bubble { position: absolute; top: 4%; left: -12%; background: #fff; border: 3px solid var(--ink); border-radius: 20px; padding: .4em .8em; font-family: var(--f-d); font-size: 1.2rem; transform: rotate(-6deg); animation: pop .6s .4s both cubic-bezier(.2, 1.6, .4, 1); z-index: 1; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes pop { from { transform: scale(0) rotate(-20deg); } }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; text-align: center; } .hero-art { order: -1; } .hero-art img { width: 190px; } .bubble { left: auto; right: -40%; font-size: 1rem; } .join-hero { margin-inline: auto; } .hero-cta { justify-content: center; } }

/* modes */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.mode { --mc: var(--indigo2); display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--mc); color: #fff; text-decoration: none; box-shadow: 0 6px 0 rgba(0, 0, 0, .18); transition: transform .2s cubic-bezier(.2, 1.5, .4, 1); position: relative; overflow: hidden; }
.mode:hover { transform: translateY(-5px) rotate(-1deg); }
.mode strong { font-family: var(--f-d); font-weight: 400; font-size: 1.35rem; } .mode span:last-child { font-size: .88rem; opacity: .92; }
.mode-ic { width: 44px; height: 44px; } .mode-ic svg { width: 100%; height: 100%; }
.m-daily { --mc: var(--orange); } .m-survival { --mc: #e8435a; } .m-blitz { --mc: #0fa889; } .m-flags { --mc: var(--d); } .m-fact-or-fake { --mc: #9b4de0; } .m-host { --mc: var(--indigo); }
@media (max-width: 560px) { .modes { grid-template-columns: 1fr 1fr; gap: 10px; } .mode { padding: 14px; } .mode span:last-child { display: none; } .mode strong { font-size: 1.1rem; } }

/* packs */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 34px 0 12px; }
.sec-head h2 { margin: 0; }
.search { font: inherit; font-weight: 800; padding: .65em 1em; border-radius: 14px; border: 3px solid var(--line); min-width: min(320px, 100%); background: #fff; color: var(--ink); }
.search:focus { border-color: var(--indigo2); outline: 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; }
.chip { font: inherit; font-weight: 900; white-space: nowrap; border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: .4em 1em; cursor: pointer; transition: all .15s; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.pack { --pc: #18b36b; display: flex; flex-direction: column; gap: 6px; min-height: 140px; padding: 16px; border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; border: 3px solid transparent; box-shadow: var(--sh); position: relative; overflow: hidden; transition: transform .18s, border-color .18s; }
.pack::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--pc); opacity: .16; transition: transform .3s; }
.pack:hover { transform: translateY(-4px); border-color: var(--pc); } .pack:hover::after { transform: scale(1.5); }
.pack strong { font-family: var(--f-d); font-weight: 400; font-size: 1.18rem; line-height: 1.15; flex: 1; }
.pack-cat { font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--pc); }
.pack-meta { font-size: .82rem; color: var(--ink2); } .vid { font-style: normal; color: #e01b1b; font-weight: 900; }
.pack.hide { display: none; }
.pack-grid.clip .pack:nth-child(n+25) { display: none; }
.more { display: flex; justify-content: center; margin: 18px 0; }
.t-green { --pc: #18b36b; } .t-cyan { --pc: #0aa5c2; } .t-orange { --pc: #ff7a1a; } .t-blue { --pc: #3d6bff; } .t-purple { --pc: #8b4de0; } .t-pink { --pc: #f0458f; } .t-teal { --pc: #0f9f8b; } .t-red { --pc: #e8435a; }
@media (max-width: 560px) { .pack-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .pack { min-height: 120px; padding: 12px; } .pack strong { font-size: 1rem; } }

.vid-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.vid-card { scroll-snap-align: start; text-decoration: none; color: var(--ink); font-weight: 800; }
.vid-card img { border-radius: 14px; display: block; aspect-ratio: 16/9; object-fit: cover; width: 100%; box-shadow: var(--sh); transition: transform .2s; }
.vid-card:hover img { transform: scale(1.03); }
.seo { margin-top: 44px; background: #fff; border-radius: 24px; padding: clamp(18px, 4vw, 40px); box-shadow: var(--sh); }
.faq details, .qa details { border-bottom: 2px dashed var(--line); padding: .7em 0; }
.faq summary, .qa summary { cursor: pointer; font-weight: 900; }
.qa ol { padding-left: 1.4em; } .qa small { display: block; color: var(--ink2); font-weight: 600; }
.qa details p { margin: .4em 0 0; color: var(--ok); }

/* quiz page */
.crumbs { font-size: .85rem; padding: 16px 0 0; color: var(--ink2); } .crumbs a { color: var(--ink2); }
.quiz-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: start; padding: 18px 0; }
.lead { font-size: 1.1rem; color: var(--ink2); }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0; }
.stats li { background: #fff; border-radius: 12px; padding: .35em .8em; box-shadow: var(--sh); font-size: .9rem; }
.stats b { font-family: var(--f-d); font-weight: 400; font-size: 1.15rem; }
.d-easy b { color: var(--easy); } .d-medium b { color: var(--medium); } .d-hard b { color: var(--hard); } .d-insane b { color: var(--insane); }
.setup, .panel { background: #fff; border-radius: 24px; padding: clamp(16px, 3vw, 28px); box-shadow: var(--sh2); border: 3px solid var(--ink); }
.setup h2, .panel h2 { font-size: 1.5rem; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(4.6em, 1fr)); gap: 8px; margin: 6px 0 16px; }
.seg button { min-width: 0; white-space: nowrap; font: inherit; font-weight: 900; padding: .6em .4em; border-radius: 12px; border: 3px solid var(--line); background: #fffdf8; color: var(--ink); cursor: pointer; transition: all .12s; }
.seg button.on { border-color: var(--indigo2); background: var(--indigo2); color: #fff; transform: translateY(-2px); }
.lbl { font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink2); }
.setup .row { display: flex; gap: 10px; flex-wrap: wrap; } .setup .row .btn { flex: 1 1 140px; white-space: nowrap; }
.watch { margin: 20px 0; }
.yt { position: relative; display: block; width: 100%; max-width: 760px; aspect-ratio: 16/9; border: 0; padding: 0; border-radius: 20px; overflow: hidden; cursor: pointer; background: #000; box-shadow: var(--sh2); }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; } .yt iframe { width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 84px; height: 60px; background: #ff0000; border-radius: 18px; transition: transform .2s; }
.yt-play::after { content: ''; position: absolute; left: 34px; top: 18px; border: 12px solid transparent; border-left: 20px solid #fff; }
.yt:hover .yt-play { transform: scale(1.12); }
.related { margin-top: 30px; }
.cat-head { padding: 20px 0; }
@media (max-width: 1000px) { .quiz-head { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .seg button { padding: .55em .25em; font-size: .88rem; } .quiz-head .lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .hdr { border-radius: 22px; padding: 18px 16px; } .setup, .panel { padding: 14px; } }

.mode-page { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; padding: 30px 0; min-height: 60vh; }
.mode-page img { justify-self: center; animation: bob 3s ease-in-out infinite; }
.mode-copy p { font-size: 1.1rem; color: var(--ink2); }
.mode-fox { width: clamp(120px, 18vw, 230px); height: auto; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .2)); animation: bob 3.2s ease-in-out infinite; }
.mode-app:empty { display: none; }
@media (max-width: 860px) { .mode-page { grid-template-columns: 1fr; } .mode-fox { display: none; } }
.prose { max-width: 760px; margin: 30px auto; background: #fff; padding: clamp(18px, 4vw, 44px); border-radius: 24px; box-shadow: var(--sh); }
.field { display: block; margin: 0 0 14px; } .field span { display: block; font-weight: 900; margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-weight: 800; padding: .6em .8em; border-radius: 12px; border: 3px solid var(--line); background: #fffdf8; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo2); outline: 0; }
.avs { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; margin-bottom: 14px; }
.avs button { border: 3px solid transparent; background: #fffdf8; border-radius: 16px; padding: 4px; cursor: pointer; transition: transform .15s; }
.avs button.on { border-color: var(--orange); transform: scale(1.08); } .avs svg { width: 100%; display: block; }

.foot { background: var(--ink); color: #d9d6ff; margin-top: 40px; padding: 40px var(--gut) 20px; }
.foot-in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot a { color: #fff; display: block; text-decoration: none; padding: 3px 0; font-weight: 700; } .foot p a { display: inline; text-decoration: underline; }
.foot h3 { color: var(--fox); font-size: 1.1rem; } .foot .logo { color: #fff; }
.foot-c { text-align: center; opacity: .6; font-size: .8rem; margin-top: 26px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; } }

.ad { margin: 24px auto; text-align: center; min-height: 0; } .ad:empty { display: none; }
.ad::before { content: 'Advertisement'; display: block; font-size: .7rem; color: var(--ink2); opacity: .6; }

/* toasts */
#toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: .7em 1.2em; border-radius: 14px; font-weight: 800; box-shadow: var(--sh2); animation: tin .35s cubic-bezier(.2, 1.5, .4, 1); pointer-events: auto; }
.toast.out { opacity: 0; transform: translateY(10px); transition: all .25s; }
@keyframes tin { from { transform: translateY(30px) scale(.8); opacity: 0; } }

/* ── STAGE: full-screen game layer. Sizes in em so it scales from a phone to a classroom projector. ── */
#stage { position: fixed; inset: 0; z-index: 100; color: #fff; background: #2f2385; overflow: hidden;
  font-size: clamp(14px, min(2.1vw, 3.4vh), 44px); display: flex; flex-direction: column; animation: enter .3s; text-shadow: 0 .08em 0 rgba(0, 0, 0, .2); }
.q-card, .join-card, .res-grid, .board-row:first-child { text-shadow: none; }
#stage[hidden] { display: none; }
@keyframes spin { to { transform: rotate(1turn); } }
.st-bar { position: relative; display: flex; align-items: center; gap: .8em; padding: .7em 1em; z-index: 1; }
.st-x { width: 2.2em; height: 2.2em; border-radius: 50%; border: 0; background: rgba(20, 18, 43, .45); color: #fff; font-size: 1em; cursor: pointer; display: grid; place-items: center; }
.st-x svg { width: 1em; height: 1em; } .st-x.off { opacity: .45; }
.st-prog { flex: 1; height: .55em; border-radius: 1em; background: rgba(0, 0, 0, .25); overflow: hidden; }
.st-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--fox), var(--orange)); border-radius: 1em; transition: width .5s cubic-bezier(.2, .9, .3, 1.2); }
.st-score { font-family: var(--f-d); font-size: 1.4em; min-width: 3.5em; text-align: right; }
.st-streak { display: flex; align-items: center; gap: .15em; font-family: var(--f-d); color: var(--fox); font-size: 1.1em; }
.st-streak svg { width: 1.2em; height: 1.2em; } .st-streak.hot { animation: wob .5s; }
.hearts { display: flex; gap: .2em; } .hearts svg { width: 1.4em; height: 1.4em; transition: transform .3s, opacity .3s; } .hearts .lost { opacity: .25; transform: scale(.7); filter: grayscale(1); }
.st-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .5em 1em 1.2em; gap: .9em; min-height: 0; }
.q-meta { display: flex; gap: .5em; align-items: center; flex-wrap: wrap; justify-content: center; font-weight: 900; font-size: .8em; letter-spacing: .08em; text-transform: uppercase; }
.badge { padding: .25em .7em; border-radius: 1em; background: rgba(20, 18, 43, .55); }
.badge.easy { background: var(--easy); } .badge.medium { background: var(--medium); } .badge.hard { background: var(--hard); } .badge.insane { background: var(--insane); }
.q-card { background: #fff; color: var(--ink); border-radius: 1em; padding: .9em 1.2em; max-width: 34em; width: 100%; text-align: center; font-family: var(--f-d); font-size: 1.75em; line-height: 1.15; box-shadow: 0 .3em 0 rgba(0, 0, 0, .25); animation: qin .45s cubic-bezier(.2, 1.4, .4, 1); position: relative; }
@keyframes qin { from { transform: scale(.6) rotate(-3deg); opacity: 0; } }
.timer { width: 3.4em; height: 3.4em; position: relative; flex: none; }
.timer svg { width: 100%; height: 100%; transform: rotate(-90deg); background: #fff; border-radius: 50%; box-shadow: 0 .2em 0 rgba(0, 0, 0, .2); }
.timer circle { fill: none; stroke-width: 9; } .timer .tr-bg { stroke: #efe7ff; } .timer .tr { stroke: var(--orange); stroke-linecap: round; transition: stroke .3s; }
.timer b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-d); font-size: 1.3em; font-weight: 400; color: var(--ink); text-shadow: none; }
.timer.low .tr { stroke: var(--bad); } .timer.low b { animation: wob .5s infinite; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; width: 100%; max-width: 46em; }
.opts.n3 > :last-child { grid-column: 1 / -1; }
.opt { --oc: var(--a); display: flex; align-items: center; gap: .6em; text-align: left; font: inherit; font-family: var(--f-d); font-size: 1.3em; color: var(--ink); background: #fff; border: 0; border-radius: .7em; padding: .55em .8em .55em .55em; min-height: 3.2em;
  box-shadow: 0 .25em 0 rgba(0, 0, 0, .2); cursor: pointer; transition: transform .12s, opacity .25s, filter .25s, background .25s, box-shadow .25s; animation: oin .4s backwards cubic-bezier(.2, 1.4, .4, 1); position: relative; overflow: hidden; line-height: 1.1; text-shadow: none; }
.opt:nth-child(2) { --oc: var(--b); animation-delay: .06s; } .opt:nth-child(3) { --oc: var(--c); animation-delay: .12s; } .opt:nth-child(4) { --oc: var(--d); animation-delay: .18s; }
@keyframes oin { from { transform: translateY(1em) scale(.8); opacity: 0; } }
.opt:hover { box-shadow: 0 0 0 .16em var(--fox), 0 0 1.4em rgba(255, 210, 63, .7), 0 .25em 0 rgba(0, 0, 0, .2); } .opt:active { transform: translateY(.15em); box-shadow: 0 .05em 0 rgba(0, 0, 0, .2); }
.opt .sh { width: 1.9em; height: 1.9em; flex: none; border-radius: 50%; background: var(--oc); border: .14em solid #fff; box-shadow: 0 0 0 .08em rgba(0, 0, 0, .08); display: grid; place-items: center; transition: background .25s; } .opt .sh svg { width: 55%; height: 55%; }
.opt.dim { opacity: .45; filter: saturate(.4); } .opt.right { background: var(--ok); color: #fff; opacity: 1; filter: none; box-shadow: 0 0 2em rgba(255, 255, 255, .85), 0 .25em 0 rgba(0, 0, 0, .2); animation: right .6s; } .opt.right .sh { background: #fff; } .opt.right .sh svg path, .opt.right .sh svg circle, .opt.right .sh svg rect { fill: var(--ok); }
.opt.wrong { animation: shake .45s; opacity: 1; filter: none; } .opt.wrong .sh { background: var(--bad); } .opt.picked::after { content: ''; position: absolute; inset: .18em; border: .13em dashed currentColor; border-radius: .55em; opacity: .55; }
.opt .cnt { margin-left: auto; font-size: .8em; background: rgba(0, 0, 0, .12); border-radius: .5em; padding: .1em .45em; }
@keyframes right { 30% { transform: scale(1.06); } }
@keyframes shake { 20%, 60% { transform: translateX(-.4em); } 40%, 80% { transform: translateX(.4em); } }
@keyframes wob { 50% { transform: scale(1.18); } }
.tf .opt { justify-content: center; font-size: 1.8em; min-height: 3em; } .tf .opt:first-child { color: var(--ok); } .tf .opt:nth-child(2) { color: var(--bad); } .tf .opt.right { color: #fff; }
.after { min-height: 3em; display: flex; flex-direction: column; align-items: center; gap: .4em; text-align: center; }
.fact { position: relative; background: rgba(20, 18, 43, .9); border: .16em solid var(--fox); border-radius: .8em; padding: .8em 1.1em .6em; max-width: 34em; font-size: .95em; animation: enter .4s; margin-top: .6em; text-shadow: none; }
.fact::before { content: 'FUN FACT'; position: absolute; top: -.85em; left: 1em; background: var(--fox); color: var(--ink); font-family: var(--f-d); font-size: .8em; padding: .05em .6em; border-radius: .6em; transform: rotate(-3deg); }
.verdict { font-family: var(--f-d); font-weight: 400; font-size: 1.3em; padding: .2em .9em; border-radius: 1em; background: var(--ok); box-shadow: 0 .18em 0 rgba(0, 0, 0, .2); animation: pop .4s cubic-bezier(.2, 1.6, .4, 1); } .verdict.bad { background: var(--bad); }
.gain { position: absolute; font-family: var(--f-d); font-size: 2.4em; color: var(--fox); pointer-events: none; animation: gain 1.1s forwards; text-shadow: 0 .08em 0 rgba(0, 0, 0, .3); z-index: 5; }
@keyframes gain { 0% { transform: translateY(0) scale(.4); opacity: 0; } 25% { transform: translateY(-.4em) scale(1.15); opacity: 1; } 100% { transform: translateY(-2.2em) scale(1); opacity: 0; } }
.fox-pop { position: absolute; right: 1em; bottom: 0; width: 7em; z-index: 2; animation: foxin .5s cubic-bezier(.2, 1.5, .4, 1); pointer-events: none; }
@keyframes foxin { from { transform: translateY(110%); } }
.st-next { margin-top: .3em; font-size: .85em; }
.level-up { position: absolute; inset: 0; display: grid; place-items: center; z-index: 6; background: rgba(27, 20, 80, .7); animation: enter .3s; text-align: center; }
.level-up h2 { font-size: 3.6em; color: var(--fox); animation: pop .6s cubic-bezier(.2, 1.6, .4, 1); margin: 0; }
.level-up p { font-size: 1.4em; font-family: var(--f-d); margin: .2em 0 0; }
.flag-img { height: 5.2em; max-width: 9em; object-fit: contain; border-radius: .3em; box-shadow: 0 .2em .8em rgba(0, 0, 0, .3); background: #fff; animation: qin .45s cubic-bezier(.2, 1.4, .4, 1); }

/* results */
.res { width: 100%; max-width: 40em; max-height: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .7em; overflow-y: auto; padding: 1em 1.2em; background: rgba(20, 18, 43, .86); border: .16em solid var(--fox); border-radius: 1.2em; box-shadow: 0 .4em 0 rgba(0, 0, 0, .25); animation: qin .5s cubic-bezier(.2, 1.4, .4, 1); }
.res h2 { font-size: 2.6em; margin: 0; color: var(--fox); }
.res-score { font-family: var(--f-d); font-size: 4.4em; line-height: 1; }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; width: 100%; }
.res-grid div { background: rgba(255, 255, 255, .1); border-radius: .8em; padding: .5em; } .res-grid b { display: block; font-family: var(--f-d); font-size: 1.6em; font-weight: 400; }
.xpbar { width: 100%; background: rgba(255, 255, 255, .15); height: 1.1em; border-radius: 1em; overflow: hidden; position: relative; }
.xpbar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--fox), var(--orange)); border-radius: 1em; transition: width 1.2s cubic-bezier(.2, .9, .3, 1); }
.res .row { display: flex; gap: .6em; flex-wrap: wrap; justify-content: center; } .res .btn { font-size: 1em; }
.ach { display: flex; gap: .5em; flex-wrap: wrap; justify-content: center; }
.ach span { background: var(--fox); color: var(--ink); border-radius: 1em; padding: .25em .8em; font-weight: 900; animation: pop .5s backwards cubic-bezier(.2, 1.6, .4, 1); }
.share-grid { font-size: 1.4em; letter-spacing: .1em; }

/* live */
.lobby { display: grid; grid-template-columns: auto 1fr; gap: 1.5em; width: 100%; max-width: 70em; align-items: start; }
.join-card { background: #fff; color: var(--ink); border-radius: 1em; padding: 1em 1.4em; text-align: center; box-shadow: 0 .3em 0 rgba(0, 0, 0, .25); }
.join-card .url { font-weight: 900; font-size: 1.1em; } .join-card .code { font-family: var(--f-d); font-size: 4.2em; letter-spacing: .08em; line-height: 1; color: var(--indigo); }
.join-card img { width: 9em; height: 9em; image-rendering: pixelated; margin-top: .4em; }
.players { display: flex; flex-wrap: wrap; gap: .5em; align-content: flex-start; max-height: 60vh; overflow: auto; }
.pl { display: flex; align-items: center; gap: .35em; background: rgba(20, 18, 43, .55); border-radius: 2em; padding: .2em .8em .2em .2em; font-weight: 900; animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); cursor: default; }
.pl svg { width: 2em; height: 2em; } .pl button { background: none; border: 0; color: #fff; opacity: .5; cursor: pointer; font-size: .9em; } .pl button:hover { opacity: 1; }
.big-count { font-family: var(--f-d); font-size: 1.6em; }
.board { width: 100%; max-width: 40em; display: flex; flex-direction: column; gap: .45em; }
.board-row { display: flex; align-items: center; gap: .6em; background: rgba(20, 18, 43, .6); border-radius: .7em; padding: .4em .8em; font-weight: 900; font-size: 1.15em; transition: transform .6s cubic-bezier(.2, .9, .3, 1.1); }
.board-row:first-child { background: var(--fox); color: var(--ink); } .board-row svg { width: 1.8em; height: 1.8em; }
.board-row .rk { font-family: var(--f-d); width: 1.4em; } .board-row .nm { flex: 1; text-align: left; } .board-row .sc { font-family: var(--f-d); } .board-row .gn { font-size: .75em; color: var(--fox); }
.board-row:first-child .gn { color: var(--indigo); }
.podium { display: flex; align-items: flex-end; justify-content: center; gap: .6em; width: 100%; max-width: 40em; }
.podium > div { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .2em; font-weight: 900; }
.podium .blk { width: 100%; border-radius: .6em .6em 0 0; background: var(--fox); color: var(--ink); font-family: var(--f-d); font-size: 2em; display: grid; place-items: center; animation: rise .9s backwards cubic-bezier(.2, 1.3, .4, 1); }
.podium svg { width: 3.4em; height: 3.4em; animation: pop .6s backwards; }
.p1 .blk { height: 6em; animation-delay: 1.4s; } .p1 svg { animation-delay: 1.8s; } .p2 .blk { height: 4.4em; background: #d9dcef; animation-delay: .8s; } .p3 .blk { height: 3.2em; background: #f2a96b; animation-delay: .2s; }
@keyframes rise { from { transform: scaleY(0); transform-origin: bottom; } }
.dist { display: flex; gap: .6em; align-items: flex-end; height: 6em; }
.dist div { width: 3em; background: var(--a); border-radius: .4em .4em 0 0; display: flex; justify-content: center; align-items: flex-start; font-family: var(--f-d); transition: height .6s cubic-bezier(.2, .9, .3, 1.2); min-height: 1.4em; }
.dist div:nth-child(2) { background: var(--b); } .dist div:nth-child(3) { background: var(--c); } .dist div:nth-child(4) { background: var(--d); }
.fastest { font-family: var(--f-d); font-size: 1.3em; color: var(--fox); }
.ply-wait { text-align: center; } .ply-wait svg { width: 7em; height: 7em; animation: bob 2s infinite; } .ply-wait h2 { font-size: 2.2em; }
.ply-res { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; z-index: 3; animation: enter .3s; }
.ply-res.ok { background: var(--ok); } .ply-res.bad { background: var(--bad); }
.ply-res h2 { font-size: 3.4em; margin: 0; } .ply-res p { font-size: 1.4em; font-family: var(--f-d); margin: .2em 0; }
@media (orientation: portrait) and (max-width: 700px) { #stage { font-size: clamp(13px, 4vw, 22px); } .opts { grid-template-columns: 1fr; } .opts.n3 > :last-child { grid-column: auto; } .q-card { font-size: 1.45em; } .lobby { grid-template-columns: 1fr; } .fox-pop { width: 5em; } }
.ply .opts { flex: 1; max-height: 70vh; } .ply .opt { min-height: 0; height: 100%; font-size: 1.5em; }
#stage .btn { font-size: .95em; } #stage .btn-sm { font-size: .7em; } #stage .btn-big { font-size: 1.15em; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 150; }

/* designer */
.dz-q { background: #fffdf8; border: 3px solid var(--line); border-radius: 16px; padding: 12px; margin-bottom: 12px; }
.dz-q .opts-e { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dz-q .opts-e label { display: flex; align-items: center; gap: 6px; } .dz-q .opts-e input[type=text] { flex: 1; }
.dz-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 900; }
.list-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 2px dashed var(--line); } .list-row b { flex: 1; }
.lb { list-style: none; padding: 0; margin: 0; counter-reset: r; } .lb li { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 2px dashed var(--line); font-weight: 900; counter-increment: r; }
.lb li.empty::before { content: none; }
.lb li::before { content: counter(r); font-family: var(--f-d); width: 1.6em; color: var(--orange); } .lb svg { width: 34px; height: 34px; } .lb span { flex: 1; } .lb .me-row { background: #fff2d6; border-radius: 10px; }
.tabs { display: flex; gap: 8px; margin-bottom: 12px; }
@media (max-width: 560px) { .dz-q .opts-e { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ── Quizio video backgrounds: the same 8 palettes and 6 moving patterns as the Remotion videos (src/theme.ts, Background.tsx) ── */
@property --r { syntax: '<length>'; inherits: false; initial-value: 0px; }
.qbg { --bg1: #a46bff; --bg2: #5a1fd1; --pat: rgba(255, 255, 255, .15); position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at 50% 42%, var(--bg1), var(--bg2) 78%); }
.qbg::before { content: ''; position: absolute; will-change: transform; }
.qbg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, .22)); }
.p-green, .t-green { --bg1: #3ee07a; --bg2: #11a347; --pat: rgba(255, 255, 255, .16); }
.p-cyan, .t-cyan { --bg1: #37e0ef; --bg2: #0a9bc2; --pat: rgba(255, 255, 255, .18); }
.p-orange, .t-orange { --bg1: #ffbe3d; --bg2: #f27a0c; --pat: rgba(255, 255, 255, .2); }
.p-blue, .t-blue { --bg1: #4aa3ff; --bg2: #1650d8; --pat: rgba(255, 255, 255, .15); }
.p-purple, .t-purple { --bg1: #a46bff; --bg2: #5a1fd1; --pat: rgba(255, 255, 255, .15); }
.p-pink, .t-pink { --bg1: #ff7ac0; --bg2: #e0287f; --pat: rgba(255, 255, 255, .18); }
.p-teal, .t-teal { --bg1: #2fe0b4; --bg2: #0c9a86; --pat: rgba(255, 255, 255, .17); }
.p-red, .t-red { --bg1: #ff6a5a; --bg2: #d11f35; --pat: rgba(255, 255, 255, .15); }
.pat-rays::before { inset: -60%; background: repeating-conic-gradient(from 0deg, var(--pat) 0 9deg, transparent 9deg 18deg); animation: spin 80s linear infinite; }
.pat-icons::before, .pat-bubbles::before, .pat-zigzag::before { inset: -400px 0 0 -400px; background: var(--pat); -webkit-mask: var(--m) 0 0 / var(--ms); mask: var(--m) 0 0 / var(--ms); }
.pat-icons::before { --m: url(/playquizio/img/glyphs.svg); --ms: 360px; --tx: 360px; --ty: 360px; animation: tile 24s linear infinite; }
.pat-bubbles::before { --m: url(/playquizio/img/bubbles.svg); --ms: 400px; --tx: 0px; --ty: -400px; inset: 0 0 -400px 0; animation: tile 14s linear infinite; }
.pat-zigzag::before { --m: url(/playquizio/img/zigzag.svg); --ms: 160px 150px; --tx: 160px; --ty: 0px; animation: tile 6s linear infinite; }
.pat-stripes::before { inset: -200px; background: repeating-linear-gradient(-35deg, var(--pat) 0 60px, transparent 60px 140px); animation: stripes 4s linear infinite; }
.pat-rings::before { inset: 0; background: repeating-radial-gradient(circle at 50% 50%, var(--pat) calc(var(--r) - 180px) calc(var(--r) - 130px), transparent calc(var(--r) - 130px) var(--r)); animation: rings 3.5s linear infinite; }
@keyframes tile { to { transform: translate(var(--tx), var(--ty)); } }
@keyframes stripes { to { transform: translate(-80.3px, -114.7px); } }
@keyframes rings { from { --r: 0px; } to { --r: 180px; } } /* one full 180px period: seamless loop */
#stage > .st-bar, #stage > .st-body { z-index: 1; }

/* slash wipe between scenes (the videos' "slash" transition) + fox flash at the cut */
.wipe { position: fixed; inset: 0; z-index: 160; pointer-events: none; overflow: hidden; }
.wipe i { position: absolute; left: -40%; top: -20%; width: 180%; height: 140%; transform: translateX(110%) skewX(-18deg); animation: slash .62s cubic-bezier(.65, 0, .35, 1) forwards; }
.wipe i:nth-child(2) { animation-delay: .04s; } .wipe i:nth-child(3) { animation-delay: .08s; }
.wipe img { position: absolute; left: 50%; top: 50%; width: min(26vmin, 220px); translate: -50% -50%; animation: flash .62s .06s both; }
@keyframes slash { 0% { transform: translateX(110%) skewX(-18deg); } 45%, 55% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(-110%) skewX(-18deg); } }
@keyframes flash { 0%, 30% { opacity: 0; transform: scale(.5) rotate(-20deg); } 50% { opacity: 1; transform: scale(1.05) rotate(0); } 70%, 100% { opacity: 0; transform: scale(.8) rotate(10deg); } }

/* colorful page headers with the same backgrounds */
.hdr + * { margin-top: 26px; }
.hdr { position: relative; overflow: hidden; border-radius: 28px; color: #fff; padding: clamp(18px, 4vw, 40px); margin-top: 14px; box-shadow: var(--sh2); }
.hdr > *:not(.qbg) { position: relative; z-index: 1; }
.hdr .kicker { color: #fff; opacity: .9; } .hdr .lead, .hdr p { color: rgba(255, 255, 255, .94); } .hdr h1 { text-shadow: 0 4px 0 rgba(0, 0, 0, .15); }
.hdr .stats li { color: var(--ink); }
.hdr .setup, .hdr .panel { color: var(--ink); }
.hdr .setup p, .hdr .panel p { color: var(--ink2); }

/* scroll reveal (class added by JS only, so no-JS / crawlers see everything) */
.rv { transition: opacity .45s ease var(--d, 0s), transform .55s cubic-bezier(.2, 1.3, .4, 1) var(--d, 0s) !important; }
.rv:not(.in) { opacity: 0; transform: translateY(22px) scale(.97); }

/* big category packs */
.mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.mega { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 150px; padding: 18px; border-radius: 22px; color: #fff; text-decoration: none; box-shadow: 0 6px 0 rgba(0, 0, 0, .16); transition: transform .2s cubic-bezier(.2, 1.5, .4, 1); }
.mega:hover { transform: translateY(-5px) rotate(-1deg); }
.mega > *:not(.qbg) { position: relative; z-index: 1; text-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.mega strong { font-family: var(--f-d); font-weight: 400; font-size: 1.45rem; line-height: 1.1; }
.mega .tag { align-self: flex-start; margin-bottom: auto; background: var(--fox); color: var(--ink); font-family: var(--f-d); font-size: .8rem; padding: .1em .6em; border-radius: 10px; text-shadow: none; transform: rotate(-3deg); }
@media (max-width: 560px) { .mega-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .mega { min-height: 120px; padding: 12px; } .mega strong { font-size: 1.1rem; } }

/* difficulty mixer (host + solo custom) */
.mixer { border: 3px solid var(--line); border-radius: 16px; padding: 12px; margin: 6px 0 16px; background: #fffdf8; }
.mix-row { display: grid; grid-template-columns: 5.4em 2.2em minmax(0, 1fr) 2.2em 3.6em; align-items: center; gap: 6px; margin: 6px 0; font-weight: 900; }
.mix-row input { width: 100%; min-width: 0; font: inherit; font-weight: 900; text-align: center; border: 2px solid var(--line); border-radius: 10px; padding: .25em; color: var(--ink); background: #fff; }
.mix-row small { color: var(--ink2); font-weight: 700; white-space: nowrap; }
.mix-row .pm { width: 2.2em; height: 2.2em; border-radius: 10px; border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.mix-row .pm:active { transform: scale(.92); }
.mix-tot { display: flex; align-items: center; gap: 10px; font-weight: 900; margin-bottom: 6px; } .mix-tot input[type=range] { flex: 1; min-width: 0; accent-color: var(--orange); }
.mix-tot input[type=number] { width: 4.5em; font: inherit; font-weight: 900; text-align: center; border: 2px solid var(--line); border-radius: 10px; padding: .25em; }
.mix-pre { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.mix-pre button { font: inherit; font-weight: 900; font-size: .85rem; border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: .3em .8em; cursor: pointer; color: var(--ink); }
.mix-pre button.on { background: var(--indigo2); color: #fff; border-color: var(--indigo2); }
.d-dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; margin-right: 4px; } .d-dot.easy { background: var(--easy); } .d-dot.medium { background: var(--medium); } .d-dot.hard { background: var(--hard); } .d-dot.insane { background: var(--insane); }
.setup details summary { cursor: pointer; font-weight: 900; margin: 4px 0 8px; color: var(--indigo2); }
.quiz-head > *, .mode-page > * { min-width: 0; }

/* 2026-11-02 fixes: smooth scenes, page-level scrolling on big screens, flags, leaderboards */
.m-flags { --mc: #2a7de1; }
.flag-img { height: auto; width: auto; max-height: 5.2em; max-width: 9em; background: none; border-radius: .2em; }
#stage { overflow-y: auto; overscroll-behavior: contain; }
#stage > .qbg { position: fixed; }
.st-body { flex: 1 0 auto; }
.res { max-height: none; overflow: visible; }
.players { max-height: none; overflow: visible; }
.qbg-in { animation: bgfade .7s ease both; } @keyframes bgfade { from { opacity: 0; } }
@media (min-width: 1000px) and (min-aspect-ratio: 4/3) { #stage { font-size: clamp(14px, min(1.4vw, 2.35vh), 38px); } .st-body { gap: .7em; } .fact { margin-top: .2em; } }
@media (min-width: 900px) { .vid-row { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); overflow: visible; } .chips { flex-wrap: wrap; overflow: visible; } }
.lb { width: 100%; max-width: 40em; display: flex; flex-direction: column; gap: .4em; }
.lb:not(.open) .lb-x { display: none; } .lb.open { max-height: 55vh; overflow-y: auto; padding-right: .3em; }
.lb .board-row { font-size: 1em; animation: oin .4s backwards; } .lb .board-row.me { outline: .15em solid var(--fox); }
.lb [data-lbx] { align-self: center; }
.res-lb { width: 100%; } .res-lb h3 { margin: .2em 0 .4em; font-family: var(--f-d); font-weight: 400; color: var(--fox); }
[data-next] { position: relative; } [data-next]::after { content: ''; position: absolute; left: 0; bottom: 0; height: .25em; width: 100%; background: rgba(255, 255, 255, .55); transform-origin: left; animation: autonext var(--auto, 0s) linear forwards; }
@keyframes autonext { from { transform: scaleX(0); } }

/* home: video badges + prettier about panel */
.vid-card { position: relative; } .vid-card .vb { position: absolute; top: 8px; left: 8px; z-index: 1; font-family: var(--f-d); font-weight: 400; font-size: .8rem; padding: .15em .65em; border-radius: 10px; color: #fff; transform: rotate(-3deg); box-shadow: 0 3px 0 rgba(0,0,0,.2); }
.vb-new { background: #18b36b; } .vb-hot { background: #e8435a; }
.seo { position: relative; overflow: hidden; background: linear-gradient(135deg, #fff 55%, #fff4dc); border: 3px solid var(--fox); padding-right: clamp(18px, 22vw, 260px); }
.seo h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-top: 0; }
.seo-fox { position: absolute; right: 18px; bottom: 0; width: clamp(110px, 16vw, 210px); height: auto; animation: bob 3s ease-in-out infinite; }
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; margin-top: 18px; }
.faq details { border: 0; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 4px 0 rgba(0,0,0,.06), 0 0 0 2px var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 4px 0 rgba(0,0,0,.06), 0 0 0 2px var(--indigo2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 10px; } .faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--f-d); color: var(--indigo2); font-size: 1.3em; line-height: 1; transition: transform .2s; } .faq details[open] summary::after { transform: rotate(45deg); }
@media (max-width: 700px) { .seo { padding-right: clamp(18px, 4vw, 40px); padding-bottom: 130px; } }
