/* SAIQO — purple low-poly stage, white sticker cards, chunky outlined headings. */
@font-face { font-family: Lilita; src: url(/fonts/lilita.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Rubik; src: url(/fonts/rubik.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }

:root {
  --bg: #6a3bd5; --bg-d: #4b22ad; --bg-dd: #160b33;
  --ink: #111; --white: #fff; --paper: #fffdf8;
  --lime: #c6ff3d; --pink: #ff3d9a; --yellow: #ffe14d; --cyan: #3de0ff; --red: #e8121c; --violet: #8e62ec;
  --muted: #5d5575; --line: #e6e0f3; --tint: #f4efff;
  --r: 22px; --sh: 6px 6px 0 var(--ink);
  --f-disp: Lilita, 'Arial Black', Impact, sans-serif;
  --f-body: Rubik, 'Segoe UI', system-ui, -apple-system, 'Noto Sans', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font: 400 17px/1.55 var(--f-body); color: var(--white);
  background: var(--bg) url(/img/poly.svg) 0 0 / 640px repeat;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 .8em; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 4px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 2px var(--ink); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border: 3px solid var(--ink); border-radius: 12px; font-weight: 800; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.pad { padding: 18px 20px; margin: 0; }
.emo { display: inline-block; vertical-align: middle; }
.emo.inline { width: 44px; height: 44px; margin: -6px 8px 0 0; }

/* chunky outlined display type */
.outline {
  font-family: var(--f-disp); font-weight: 400; color: var(--white); letter-spacing: .01em;
  -webkit-text-stroke: .14em var(--ink); paint-order: stroke fill;
  text-shadow: .06em .08em 0 var(--ink);
}
.outline mark { background: none; color: var(--lime); }

/* ---------- buttons, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .66em 1.15em; border: 3px solid var(--ink); border-radius: 14px;
  background: var(--white); color: var(--ink); font-weight: 800; font-size: 1rem; line-height: 1.15;
  text-decoration: none; box-shadow: 4px 4px 0 var(--ink); white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn.sm { padding: .5em .9em; font-size: .92rem; border-radius: 12px; }
.btn.big { padding: .8em 1.4em; font-size: 1.12rem; }
.btn.wide { width: 100%; }
.btn-red { background: var(--red); color: var(--white); }
.btn-lime { background: var(--lime); }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--pink); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--pink); }
.btn-ink:active { box-shadow: 2px 2px 0 var(--pink); }
.btn-ghost { background: var(--white); }
.yt { width: 1.45em; height: 1.05em; flex: none; }
.yt path { fill: var(--white); }
.btn-red .yt rect { fill: var(--white); }
.btn-red .yt path { fill: var(--red); }
.chip {
  display: inline-flex; align-items: center; gap: .4em; padding: .4em .85em;
  border: 2.5px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink);
  font-weight: 700; font-size: .92rem; line-height: 1.2; text-decoration: none; box-shadow: 2px 2px 0 var(--ink);
}
.chip:hover { background: var(--tint); }
.chip.on { background: var(--ink); color: var(--white); box-shadow: 2px 2px 0 var(--pink); }
.chip small { background: var(--lime); color: var(--ink); border-radius: 999px; padding: 0 .45em; font-weight: 800; font-size: .78rem; }
.chip.on small { background: var(--pink); }
.chip-play { background: var(--lime); }
.chip-play:hover { background: #b2f21f; }
.linkbtn { background: none; border: 0; padding: 0; color: #5a24d6; font-weight: 700; text-decoration: underline; }

/* ---------- cards ---------- */
.card { background: var(--white); color: var(--ink); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); }
.card a:not(.btn):not(.chip) { color: #4a17c4; }
.sticker {
  display: inline-block; padding: .35em .9em; background: var(--yellow); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 999px; font-weight: 800; font-size: .95rem;
  box-shadow: 3px 3px 0 var(--ink); transform: rotate(-2deg);
}

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--white); color: var(--ink); border-bottom: 3px solid var(--ink); box-shadow: 0 4px 0 rgba(17, 17, 17, .25); }
.hdr-in { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo img { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--ink); }
.logo span { font: 400 1.75rem/1 var(--f-disp); letter-spacing: .02em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: .45em .85em; border-radius: 999px; border: 2.5px solid transparent; font-weight: 700; text-decoration: none; }
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { background: var(--lime); border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.hdr-sub { flex: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); margin: 18px 0 16px; line-height: 1.02; }
.hero h1 mark { display: inline-block; }
.lead { font-size: 1.16rem; max-width: 34em; text-shadow: 0 2px 0 rgba(17, 17, 17, .35); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 22px 0 0; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 26px; padding: 0; margin: 30px 0 0; }
.stats li { display: flex; flex-direction: column; }
.stats b { font: 400 2.1rem/1 var(--f-disp); -webkit-text-stroke: .12em var(--ink); paint-order: stroke fill; text-shadow: .05em .07em 0 var(--ink); color: var(--lime); }
.stats span { font-size: .92rem; font-weight: 600; text-shadow: 0 1px 0 rgba(17, 17, 17, .4); }
.deco { position: absolute; z-index: 0; filter: drop-shadow(4px 5px 0 rgba(17, 17, 17, .45)); pointer-events: none; }
.d1 { top: 20px; left: 47%; width: 74px; height: 74px; transform: rotate(-12deg); }
.d2 { top: 10px; right: 3%; width: 70px; height: 70px; }
.d3 { bottom: 14px; left: 38%; width: 58px; height: 58px; }
.d4 { bottom: 16px; right: 2%; width: 58px; height: 58px; }
.float { animation: float 5.5s ease-in-out infinite alternate; }
.d2.float { animation-delay: -1.6s; } .d3.float { animation-delay: -3s; } .d4.float { animation-delay: -4.2s; }
@keyframes float { from { translate: 0 -8px; } to { translate: 0 8px; } }
.wobble { animation: wobble 3.2s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes wobble { 0%, 70%, 100% { rotate: 0deg; } 76% { rotate: 14deg; } 84% { rotate: -12deg; } 92% { rotate: 6deg; } }

/* ---------- Daily Challenge ---------- */
.daily { padding: 22px; transform: rotate(.6deg); }
.daily-hd { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 3px dashed var(--line); }
.daily-hd b { display: block; font: 400 1.6rem/1.05 var(--f-disp); }
.daily-hd span { display: block; color: var(--muted); font-size: .9rem; font-weight: 600; }
.daily-stage { text-align: center; }
.daily .g-q { font-size: 1.35rem; }
.daily .postcard { margin: 6px 0 4px; }
.daily .phrase { font-size: 1.35rem; }
.daily-res { margin-top: 16px; display: grid; gap: 10px; justify-items: start; }
.daily-res .btn { margin-top: 2px; }

/* ---------- sections ---------- */
.sec { padding-top: 34px; padding-bottom: 34px; }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 22px; }
.sec-hd h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0; }
.sec-sub { margin: 6px 0 0; font-weight: 600; text-shadow: 0 1px 0 rgba(17, 17, 17, .4); }
.more { font-weight: 800; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--lime); text-shadow: 0 2px 0 rgba(17, 17, 17, .4); }
.more:hover { color: var(--lime); }
.sortbar { display: flex; gap: 8px; flex-wrap: wrap; }
.page-hd { padding: 46px 0 14px; }
.page-hd-in { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; }
.page-hd h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); margin: 0 0 10px; }
.page-hd p { font-size: 1.12rem; max-width: 40em; margin: 0; font-weight: 500; text-shadow: 0 2px 0 rgba(17, 17, 17, .35); }

/* ---------- game cards ---------- */
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.gcard { display: flex; flex-direction: column; overflow: hidden; transition: transform .15s ease; }
.gcard:hover { transform: translateY(-4px) rotate(-.6deg); }
.gcard-top { position: relative; display: flex; align-items: center; justify-content: center; min-height: 132px; border-bottom: 3px solid var(--ink);
  background-image: radial-gradient(rgba(17, 17, 17, .14) 1.5px, transparent 1.6px); background-size: 14px 14px; }
.c-lime .gcard-top { background-color: var(--lime); }
.c-pink .gcard-top { background-color: var(--pink); }
.c-yellow .gcard-top { background-color: var(--yellow); }
.c-cyan .gcard-top { background-color: var(--cyan); }
.gcard-emo { width: 96px; height: 96px; filter: drop-shadow(3px 4px 0 rgba(17, 17, 17, .35)); }
.gcard-tag { position: absolute; left: 12px; bottom: -14px; background: var(--ink); color: var(--white); border-radius: 999px; padding: .25em .8em; font-size: .78rem; font-weight: 700; }
.gcard-body { padding: 26px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.gcard-body h3 { font: 400 1.6rem/1.05 var(--f-disp); margin-bottom: 8px; }
.gcard-body p { font-size: .96rem; }
.gcard-meta { color: var(--muted); font-size: .84rem !important; font-weight: 600; margin-top: auto; }
.gcard-meta .best { color: #4a17c4; font-weight: 800; }
.gcard .btn { align-self: flex-start; }

/* ---------- video cards ---------- */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 24px; }
.vcard { overflow: hidden; display: flex; flex-direction: column; }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 3px solid var(--ink); background: var(--bg-d); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.vcard:hover .vthumb img { transform: scale(1.04); }
.vplay { position: absolute; left: 50%; top: 50%; width: 58px; height: 42px; margin: -21px 0 0 -29px; border-radius: 12px; background: var(--red); border: 3px solid var(--ink); opacity: 0; transition: opacity .15s ease; }
.vplay::after { content: ''; position: absolute; left: 21px; top: 9px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--white); }
.vcard:hover .vplay { opacity: 1; }
.vdur { position: absolute; right: 8px; bottom: 8px; background: rgba(17, 17, 17, .88); color: var(--white); font-size: .78rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.vbody { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vbody h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vbody h3 a { color: var(--ink) !important; text-decoration: none; }
.vbody h3 a:hover { text-decoration: underline; }
.vmeta { color: var(--muted); font-size: .85rem; margin: 0; font-weight: 600; }
.vbody .chip { align-self: flex-start; margin-top: auto; }

/* ---------- subscribe band ---------- */
.subband { padding: 30px 0 60px; }
.subband-in { width: calc(100% - 40px); max-width: 1160px; display: flex; align-items: center; gap: 26px; padding: 26px 30px; background: var(--yellow);
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .35) 0 18px, transparent 18px 36px); }
.subband-in h2 { font: 400 2rem/1.05 var(--f-disp); margin-bottom: 6px; }
.subband-in p { margin: 0; font-weight: 500; }
.subband-in > div { flex: 1; }
.subband-bell { width: 110px; height: 110px; flex: none; }

/* ---------- question pieces ---------- */
.g-q { font: 400 1.75rem/1.12 var(--f-disp); color: var(--ink); margin: 8px 0 14px; text-align: center; }
.q-ico { display: block; margin: 0 auto 4px; width: 76px; height: 76px; }
.stmt { display: inline-block; max-width: 32em; margin: 0 auto 14px; padding: 12px 18px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 14px; font-weight: 700; font-size: 1.1rem; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-.6deg); }
.pic { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 6px auto 18px; }
.tk-e { width: 64px; height: 64px; }
.tk-f { width: 64px; height: 48px; object-fit: cover; border: 2px solid var(--ink); border-radius: 6px; }
.tk-c { display: inline-block; width: 64px; height: 64px; border: 3px solid var(--ink); border-radius: 50%; }
.tk-t { font-weight: 800; font-size: 1.3rem; }
.pic-emo .tk-e { width: 78px; height: 78px; }
.plus { font: 400 2.2rem/1 var(--f-disp); color: var(--ink); }
.pic-row .cell { display: inline-flex; align-items: center; justify-content: center; width: 74px; height: 74px; border: 3px solid var(--ink); border-radius: 14px; background: var(--tint); }
.pic-row .cell .tk-e { width: 54px; height: 54px; }
.pic-row .cell.q { background: var(--yellow); border-style: dashed; }
.pic-row .cell.q .tk-t { font: 400 2rem/1 var(--f-disp); }
.pic-mix .blob { width: 76px; height: 76px; }
.pic-mix .blob.q { display: inline-flex; align-items: center; justify-content: center; border: 3px dashed var(--ink); border-radius: 50%; background: var(--paper); font: 400 2.2rem/1 var(--f-disp); }
.pic-count { max-width: 520px; gap: 6px; padding: 14px; background: var(--tint); border: 3px solid var(--ink); border-radius: 16px; }
.pic-count .cnt-i { width: 44px; height: 44px; }
.bonus-grid { transition: opacity .25s ease; }
.bonus-grid.gone { visibility: hidden; opacity: 0; }

.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts-names { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.opt {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 10px 14px;
  background: var(--white); color: var(--ink); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink);
  font-weight: 700; font-size: 1.04rem; line-height: 1.25; text-align: left;
  transition: transform .1s ease, box-shadow .1s ease, background-color .12s ease, opacity .12s ease;
}
.opt b { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); font: 400 1.05rem/1 var(--f-disp); }
.opt:not(:disabled):hover { background: var(--tint); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.opt:not(:disabled):active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.opt:disabled { cursor: default; }
.opt.ok { background: var(--lime); }
.opt.ok b { background: var(--white); color: var(--ink); }
.opt.bad { background: var(--pink); }
.opt.dim { opacity: .5; }
.opt .opt-i.tk-e { width: 40px; height: 40px; }
.opt .opt-i.tk-f { width: 46px; height: 34px; }
.opt .opt-i.tk-c { width: 34px; height: 34px; }
.opt-pic { justify-content: center; position: relative; min-height: 96px; }
.opt-pic b { position: absolute; left: 10px; top: 10px; width: 28px; height: 28px; font-size: .95rem; }
.opt-pic .opt-i.tk-f { width: 118px; height: 80px; border-width: 3px; }
.opt-pic .opt-i.tk-e { width: 64px; height: 64px; }
.opt-name { justify-content: flex-start; }

/* language postcards */
.postcard {
  position: relative; margin: 4px auto 16px; max-width: 620px; padding: 30px 24px 26px;
  border: 9px solid transparent; border-radius: 16px; color: var(--ink);
  background: linear-gradient(var(--paper), var(--paper)) padding-box,
    repeating-linear-gradient(-45deg, var(--pink) 0 12px, var(--white) 12px 22px, #3d6bff 22px 34px, var(--white) 34px 44px) border-box;
  box-shadow: 0 0 0 3px var(--ink), 6px 6px 0 3px var(--ink);
}
.pc-label { position: absolute; left: 10px; top: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pc-stamp { position: absolute; right: 8px; top: 6px; width: 40px; height: 40px; transform: rotate(10deg); opacity: .9; }
.phrase { margin: 0; text-align: center; font-weight: 700; font-size: 1.75rem; line-height: 1.3; overflow-wrap: anywhere; }
.pc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pc-pair .postcard { margin: 4px 0 16px; width: 100%; }
.pc-pair .phrase { font-size: 1.35rem; }
.lang-rev { display: grid; gap: 10px; width: 100%; }
.lr-one { padding: 12px 14px; background: var(--tint); border: 2.5px solid var(--ink); border-radius: 14px; }
.lr-name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 1.12rem; }
.lr-name b { font-weight: 800; }
.lr-flag.tk-f { width: 34px; height: 25px; border-width: 2px; border-radius: 4px; }
.lr-roman { margin: 6px 0 0; font-style: italic; color: var(--muted); }
.lr-en { margin: 4px 0 0; font-weight: 600; }

/* verdicts, explanations */
.verdict { display: inline-block; margin: 0; padding: .4em .9em; border: 3px solid var(--ink); border-radius: 12px; font: 400 1.35rem/1.15 var(--f-disp); box-shadow: 3px 3px 0 var(--ink); }
.verdict.is-ok { background: var(--lime); }
.verdict.is-bad { background: var(--pink); }
.why { margin: 0; padding: 12px 16px; background: var(--tint); border-left: 6px solid var(--violet); border-radius: 10px; font-size: .98rem; }
.fact { margin: 0; font-weight: 700; }

/* ---------- game screen ---------- */
.game-wrap { max-width: 860px; margin: 0 auto; }
.game { padding: 22px 24px 26px; }
.g-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 14px; }
.g-prog, .tier { display: inline-block; padding: .3em .8em; border-radius: 999px; font-size: .82rem; font-weight: 800; letter-spacing: .03em; border: 2.5px solid var(--ink); }
.g-prog { background: var(--ink); color: var(--white); }
.tier { background: var(--lime); }
.tier:empty { display: none; }
.tier.hot { background: var(--pink); }
.tier.gold { background: var(--yellow); }
.g-score { margin-left: auto; font: 400 1.5rem/1 var(--f-disp); }
.hearts { margin-left: auto; display: inline-flex; gap: 3px; }
.hearts img { width: 26px; height: 26px; }
.hearts img.lost { filter: grayscale(1); opacity: .28; }
.g-quit { background: none; border: 2.5px solid var(--ink); border-radius: 999px; padding: .25em .8em; font-weight: 700; font-size: .85rem; color: var(--ink); }
.g-quit:hover { background: var(--tint); }
.g-timer { position: relative; height: 26px; margin-bottom: 18px; border: 3px solid var(--ink); border-radius: 999px; overflow: hidden; background: #ece6f8; }
.g-timer i { position: absolute; inset: 0; background: var(--lime); transform-origin: left center; transition: transform .1s linear; }
.g-timer.low i { background: var(--pink); }
.g-sec { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .88rem; color: var(--ink); }
.g-stage { text-align: center; }
.g-after { margin-top: 20px; display: grid; gap: 12px; justify-items: start; }

/* Find the Impostor */
.case-hd { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 12px; }
.case-hd > div { display: flex; flex-direction: column; align-items: center; padding: 10px 18px; background: var(--tint); border: 2.5px solid var(--ink); border-radius: 14px; min-width: 160px; }
.lbl { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.word { font: 400 1.9rem/1.1 var(--f-disp); }
.hidden-word { letter-spacing: .2em; color: var(--muted); }
.case-hd .cat { font-weight: 800; font-size: 1.1rem; }
.rule { max-width: 40em; margin: 0 auto 12px; padding: 8px 14px; background: #fff6c7; border: 2px solid var(--ink); border-radius: 12px; font-weight: 600; font-size: .96rem; }
.clues { list-style: none; margin: 8px 0 6px; padding: 0; display: grid; gap: 8px; text-align: left; }
.clues li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 2.5px solid var(--line); border-radius: 14px; transition: background-color .2s ease, border-color .2s ease; }
.clues li b { flex: none; min-width: 96px; text-align: center; padding: .3em .6em; border: 2.5px solid var(--ink); border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .03em; }
.clues li span { font-weight: 600; font-size: 1.05rem; }
.clues li.imp { border-color: var(--ink); background: #ffe1ef; }
.clues li.imp::after { content: 'IMPOSTOR'; margin-left: auto; font-size: .72rem; font-weight: 800; background: var(--pink); border: 2px solid var(--ink); border-radius: 999px; padding: .15em .6em; }
.p-gray b { background: #9ca3af; } .p-wenda b { background: #f4f4f4; } .p-tunner b { background: #c9935a; } .p-pinki b { background: #ff8cc6; }
.p-oren b { background: #ff9a3d; } .p-raddy b { background: #ff5a4f; } .p-garnold b { background: #e8bf2e; } .p-funbot b { background: #6fe0d4; }

/* Don't Say It! */
.g-mind.flip { background: #fffbe2; }
.mind-q { font-size: 2rem; }
.mind-form { display: flex; gap: 10px; max-width: 560px; margin: 4px auto 0; }
.mind-in { flex: 1; min-width: 0; padding: 12px 16px; border: 3px solid var(--ink); border-radius: 14px; font-size: 1.15rem; font-weight: 700; background: var(--white); color: var(--ink); }
.mind-in:disabled { background: #f2eff8; }
.mind-rev { display: grid; gap: 6px; }
.mind-ans { display: flex; flex-wrap: wrap; gap: 8px; }
.pop { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 999px; font-size: 1.1rem; }
.pop .tk-e { width: 34px; height: 34px; }
.pop .tk-f { width: 34px; height: 25px; }

/* result */
.result { padding: 30px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.result > .emo { width: 110px; height: 110px; }
.result .g-prog { margin: 10px 0 0; }
.r-score { margin: 10px 0 0; font: 400 5rem/1 var(--f-disp); color: var(--lime); -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill; text-shadow: .05em .06em 0 var(--ink); }
.r-unit { margin: 4px 0 10px; font-weight: 700; color: var(--muted); }
.result h2 { font: 400 2rem/1.1 var(--f-disp); margin: 4px 0 6px; }
.r-best { display: inline-block; padding: .3em .9em; background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 14px; font-weight: 800; }
.r-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 18px; }
.r-dots span { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--pink); font-weight: 800; font-size: .9rem; }
.r-dots span.ok { background: var(--lime); }
.r-act { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 22px; }
.r-video, .r-sub { width: 100%; display: flex; align-items: center; gap: 18px; padding: 14px; margin-top: 14px; text-align: left; box-shadow: 4px 4px 0 var(--ink); }
.r-video img { width: 240px; aspect-ratio: 16 / 9; object-fit: cover; border: 2.5px solid var(--ink); border-radius: 12px; flex: none; display: block; }
.r-video img.r-logo { width: 96px; height: 96px; border-radius: 50%; }
.r-video p, .r-sub p { margin: 0 0 10px; font-weight: 600; }
.r-sub { background: #fff6c7; }
.r-sub .emo { flex: none; }
.r-sub p { flex: 1; margin: 0; }
body.playing .subbar { display: none !important; }

/* ---------- community ---------- */
.forum-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; padding-top: 18px; padding-bottom: 60px; }
.forum-main { display: grid; gap: 18px; min-width: 0; }
.forum-side { display: grid; gap: 22px; position: sticky; top: 96px; }
.side-sub, .side-rules { padding: 20px; }
.side-sub b, .side-rules b { display: block; font: 400 1.35rem/1.1 var(--f-disp); margin: 8px 0 6px; }
.side-sub p { font-size: .95rem; }
.side-sub { background: var(--lime); }
.side-rules ul { margin: 0 0 10px; padding-left: 1.1em; font-size: .94rem; }
.side-rules li { margin-bottom: 4px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tlist { overflow: hidden; }
.trow { display: flex; align-items: center; gap: 14px; padding: 14px 18px; color: var(--ink) !important; text-decoration: none; border-bottom: 2px dashed var(--line); }
.trow:last-child { border-bottom: 0; }
.trow:hover { background: var(--tint); }
.av { width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--tint); flex: none; object-fit: cover; }
.tmain { flex: 1; min-width: 0; }
.ttitle { font-weight: 700; font-size: 1.06rem; line-height: 1.3; overflow-wrap: anywhere; }
.tmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font-size: .84rem; color: var(--muted); }
.catc { background: var(--tint); border-radius: 999px; padding: 1px 8px; font-weight: 700; color: var(--ink); }
.nick { font-weight: 700; color: var(--ink); }
.nick i { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 2px; }
.badge { display: inline-block; background: var(--lime); border: 2px solid var(--ink); border-radius: 999px; padding: 0 7px; font-size: .74rem; font-weight: 800; vertical-align: 1px; }
.tcount { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 54px; }
.tcount b { font: 400 1.5rem/1 var(--f-disp); }
.tcount span { font-size: .74rem; color: var(--muted); font-weight: 600; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 20px; text-align: center; }
.empty p { margin: 0; font-weight: 600; }

/* forms */
.form { display: grid; gap: 14px; padding: 24px; }
.form h2 { font: 400 1.8rem/1.1 var(--f-disp); margin: 0; }
.form label { display: grid; gap: 6px; font-weight: 700; position: relative; }
.form label small { font-weight: 500; color: var(--muted); }
.form input:not([type=checkbox]), .form select, .form textarea {
  width: 100%; padding: 11px 14px; border: 3px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--ink); font-weight: 500;
}
.form textarea { resize: vertical; min-height: 120px; line-height: 1.45; }
.form select { appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2.4'/%3E%3C/svg%3E") right 14px center / 14px no-repeat; }
.form input::placeholder, .form textarea::placeholder { color: #8a83a0; }
.count { justify-self: end; font-size: .78rem; color: var(--muted); font-weight: 600; }
.form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.form-err { margin: 0; padding: 10px 14px; background: #ffe1ef; border: 2.5px solid var(--ink); border-radius: 12px; font-weight: 700; }
.form-ok { margin: 0; padding: 10px 14px; background: var(--lime); border: 2.5px solid var(--ink); border-radius: 12px; font-weight: 700; }
.form-act { display: flex; flex-wrap: wrap; gap: 12px; }
.hint { margin: -4px 0 0; font-size: .86rem; color: var(--muted); }
.credits { margin: 6px 0 0; font-size: .78rem; color: var(--muted); }
.identity { display: grid; gap: 14px; }
.identity > .identity { gap: 14px; }
.lbl + .avpick { margin-top: 6px; }
.identity .lbl { font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 700; }
.avpick { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.avpick button { padding: 3px; border: 2.5px solid var(--line); border-radius: 50%; background: var(--white); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.avpick button img { width: 100%; height: auto; }
.avpick button:hover { border-color: var(--violet); }
.avpick button[aria-pressed="true"] { border-color: var(--ink); background: var(--lime); box-shadow: 2px 2px 0 var(--ink); }
.who { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.who .av { width: 40px; height: 40px; }

/* topic page */
.topic { max-width: 900px; padding-top: 30px; padding-bottom: 60px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-weight: 700; font-size: .92rem; text-shadow: 0 1px 0 rgba(17, 17, 17, .4); }
.crumbs a:hover { color: var(--lime); }
#t-title { font: 400 clamp(1.9rem, 4.2vw, 2.9rem)/1.08 var(--f-disp); color: var(--white); -webkit-text-stroke: .12em var(--ink); paint-order: stroke fill; text-shadow: .05em .07em 0 var(--ink); margin: 12px 0 8px; overflow-wrap: anywhere; }
.t-sub { font-weight: 600; text-shadow: 0 1px 0 rgba(17, 17, 17, .4); margin-bottom: 22px; }
.posts { display: grid; gap: 18px; margin-bottom: 22px; }
.post { padding: 18px 20px 14px; }
.post.first { border-width: 4px; }
.post.admin { background: #fbffe9; }
.post header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.post header > div { display: flex; flex-direction: column; }
.post time { font-size: .82rem; color: var(--muted); }
.pbody { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1.02rem; }
.post footer { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 2px dashed var(--line); }
.like, .rep { background: var(--white); border: 2.5px solid var(--ink); border-radius: 999px; padding: .25em .8em; font-weight: 700; font-size: .86rem; color: var(--ink); }
.like:hover, .rep:not(:disabled):hover { background: var(--tint); }
.like.on { background: #ffd3e7; }
.rep { margin-left: auto; border-color: var(--line); color: var(--muted); }
.rep:disabled { cursor: default; opacity: .7; }
.flash { animation: flash 1.6s ease; }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 6px var(--lime), var(--sh); } 100% { box-shadow: var(--sh); } }
.inline-sub { display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 22px; background: #fff6c7; }
.inline-sub p { flex: 1; margin: 0; }
.locked { padding: 16px 20px; font-weight: 700; }

/* ---------- about, rules, privacy ---------- */
.prose-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.prose { padding: 28px 30px; }
.prose h2 { font: 400 1.6rem/1.15 var(--f-disp); margin: 1.2em 0 .5em; display: flex; align-items: center; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.fan-box { padding: 14px 18px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 14px; font-weight: 600; box-shadow: 3px 3px 0 var(--ink); }
.rules { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 16px; }
.rules li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; }
.rules li p { margin: 4px 0 0; }
.rules b { font-size: 1.1rem; }
.rn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); border: 3px solid var(--ink); font: 400 1.4rem/1 var(--f-disp); }
.nf { padding: 70px 0 90px; text-align: center; }
.nf-in { display: flex; flex-direction: column; align-items: center; }
.nf h1 { font-size: clamp(3rem, 8vw, 5.4rem); margin: 18px 0 12px; }
.nf p { max-width: 32em; font-size: 1.15rem; text-shadow: 0 2px 0 rgba(17, 17, 17, .35); }
.nf .cta-row { justify-content: center; }

/* ---------- footer ---------- */
.ftr { margin-top: auto; background: var(--bg-dd); color: #ece8f7; border-top: 4px solid var(--ink); }
.ftr-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; padding-top: 34px; padding-bottom: 22px; }
.ftr-brand { display: flex; align-items: center; gap: 12px; }
.ftr-brand img { width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--white); }
.ftr-brand b { font: 400 1.6rem/1 var(--f-disp); }
.ftr-brand p { margin: 4px 0 0; font-size: .9rem; color: #c9c1e3; }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr-nav a { font-weight: 600; text-decoration: none; }
.ftr-nav a:hover { color: var(--lime); text-decoration: underline; }
.ftr-bot { padding-top: 16px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .84rem; color: #c9c1e3; }
.ftr-bot p { margin: 0 0 6px; }
.fan { max-width: 60em; }
.ftr :focus-visible { box-shadow: none; }

/* ---------- subscribe bar, toast, confetti ---------- */
.subbar {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 12px; max-width: 440px;
  padding: 12px 14px; background: var(--white); color: var(--ink); border: 3px solid var(--ink); border-radius: 18px; box-shadow: var(--sh);
  animation: pop-in .3s ease;
}
.subbar p { margin: 0; font-size: .92rem; line-height: 1.3; }
.subbar p b { display: block; }
.subbar-bell { width: 40px; height: 40px; flex: none; }
.subbar-x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--tint); font-size: 1.4rem; line-height: 1; color: var(--ink); }
.subbar-x:hover { background: var(--line); }
@keyframes pop-in { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 80; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px);
  padding: 12px 18px; background: var(--ink); color: var(--white); border: 3px solid var(--lime); border-radius: 14px; font-weight: 700;
  box-shadow: 4px 4px 0 var(--lime); animation: pop-in .25s ease;
}
.toast a { color: var(--lime); }
.confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 34px; }
  .daily { transform: none; }
  .forum-grid { grid-template-columns: 1fr; }
  .forum-side { position: static; grid-template-columns: 1fr 1fr; }
  .prose-grid { grid-template-columns: 1fr; }
  .ftr-in { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 16px; }
  .hdr { position: static; }
  .hdr-in { flex-wrap: wrap; gap: 8px 12px; padding-top: 10px; padding-bottom: 10px; }
  .hdr-sub { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
  .nav { gap: 0; }
  .nav a { padding: .3em .5em; font-size: .9rem; flex: none; border-width: 2px; }
  .subbar { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 18px 18px 0 0; border-width: 3px 0 0; box-shadow: 0 -4px 0 rgba(17, 17, 17, .25); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  body.has-subbar { padding-bottom: 76px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 34px 0 44px; }
  .hero h1 { font-size: 2.6rem; }
  .lead { font-size: 1.05rem; }
  .d1 { width: 50px; height: 50px; top: 8px; left: auto; right: 74px; }
  .d2 { width: 50px; height: 50px; top: 12px; right: 14px; }
  .d3, .d4 { display: none; }
  .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .stats b { font-size: 1.6rem; }
  .stats span { font-size: .8rem; line-height: 1.25; }
  .sec { padding-top: 26px; padding-bottom: 26px; }
  .cta-row .btn.big { flex: 1 1 auto; }
  .daily { padding: 18px 16px; }
  .ggrid, .vgrid { gap: 20px; }
  .subband-in { width: calc(100% - 32px); flex-direction: column; text-align: center; padding: 22px 18px; gap: 12px; }
  .subband-bell { width: 84px; height: 84px; }
  .forum-side { grid-template-columns: 1fr; }
  .game { padding: 16px 14px 20px; }
  .g-q { font-size: 1.45rem; }
  .mind-q { font-size: 1.6rem; }
  .opts { gap: 10px; }
  .opt { font-size: .98rem; padding: 9px 10px; gap: 8px; min-height: 52px; }
  .opt b { width: 28px; height: 28px; font-size: .95rem; }
  .opts:not(.opts-flags):not(.opts-3):not(.opts-names) { grid-template-columns: 1fr; }
  .opts-names { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .opts-3 .opt { justify-content: center; }
  .opt-pic { min-height: 84px; }
  .opt-pic .opt-i.tk-f { width: 96px; height: 66px; }
  .phrase { font-size: 1.4rem; }
  .postcard { padding: 26px 16px 20px; }
  .pc-pair { grid-template-columns: 1fr; gap: 6px; }
  .pic-emo .tk-e { width: 58px; height: 58px; }
  .pic-row .cell { width: 58px; height: 58px; }
  .pic-row .cell .tk-e { width: 42px; height: 42px; }
  .pic-mix .blob { width: 58px; height: 58px; }
  .pic-count .cnt-i { width: 36px; height: 36px; }
  .clues li { flex-wrap: wrap; gap: 6px 10px; }
  .clues li b { min-width: 84px; }
  .case-hd > div { min-width: 0; flex: 1; }
  .mind-form { flex-direction: column; }
  .r-score { font-size: 4rem; }
  .r-video, .r-sub { flex-direction: column; text-align: center; }
  .r-video img { width: 100%; }
  .r-act .btn { flex: 1 1 100%; }
  .avpick { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .trow { padding: 12px 14px; gap: 10px; }
  .av { width: 40px; height: 40px; }
  .tcount { min-width: 44px; }
  .prose { padding: 22px 18px; }
  .rules li { padding: 16px; gap: 12px; }
  .inline-sub { flex-direction: column; text-align: center; }
  .page-hd { padding-top: 32px; }
  .page-hd-in .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .float, .wobble { animation: none !important; }
}
