:root {
  --abyss: #050a14;
  --deep: #081325;
  --shallow: #10203a;
  --line: #1b2c47;
  --foam: #e8f1ff;
  --drift: #8ea3c6;
  --cyan: #4de3ff;
  --pink: #ff5d8f;

  --t-surface: #d7e1f2;
  --t-shallows: #7deaff;
  --t-twilight: #b9a3ff;
  --t-midnight: #ff7bac;
  --t-abyssal: #ff9a5c;
  --t-pearl: #ffd166;
  --t-overthought: #f4a259;
  --t-washed: #4a5c7c;

  --pixel: "VT323", ui-monospace, monospace;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --ease-out: cubic-bezier(.2, .9, .25, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--abyss);
  color: var(--foam);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }

/* ─────────────────────────── ocean backdrop ─────────────────────────── */
.ocean {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, #123a63 0%, #0b2142 32%, #071428 70%, var(--abyss) 100%);
}
.ocean__tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #02050b 0%, #000 100%);
  opacity: 0;
  transition: opacity 2.4s var(--ease-out);
}
.rays { position: absolute; inset: -20% -10% auto; height: 120%; transition: opacity 2.4s; }
.rays span {
  position: absolute; top: -10%; width: 14vw; min-width: 70px; height: 110%;
  background: linear-gradient(180deg, rgba(160, 225, 255, .16), rgba(160, 225, 255, 0) 75%);
  filter: blur(6px);
  transform-origin: top center;
  animation: rays-sway 14s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
.rays span:nth-child(1) { left: 8%;  transform: rotate(14deg); animation-duration: 13s; }
.rays span:nth-child(2) { left: 28%; transform: rotate(8deg);  animation-duration: 17s; opacity: .7; }
.rays span:nth-child(3) { left: 48%; transform: rotate(4deg);  animation-duration: 11s; width: 8vw; }
.rays span:nth-child(4) { left: 66%; transform: rotate(-3deg); animation-duration: 19s; opacity: .6; }
.rays span:nth-child(5) { left: 84%; transform: rotate(-9deg); animation-duration: 15s; width: 9vw; }
@keyframes rays-sway {
  0%   { translate: -2vw 0; opacity: .45; }
  50%  { opacity: 1; }
  100% { translate: 3vw 0; opacity: .55; }
}

.particles span {
  position: absolute; top: -10px; width: 2px; height: 2px; border-radius: 50%;
  background: rgba(200, 225, 255, .5);
  animation: snow linear infinite;
}
@keyframes snow {
  to { transform: translate(var(--dx, 20px), 110vh); }
}

.bubbles span {
  position: absolute; bottom: -20px; border-radius: 50%;
  border: 1px solid rgba(190, 235, 255, .55);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 45%);
  animation: bubble-rise var(--dur, 9s) linear forwards;
}
@keyframes bubble-rise {
  0%   { transform: translate(0, 0); opacity: 0; }
  8%   { opacity: .9; }
  25%  { transform: translate(var(--wob, 8px), -25vh); }
  50%  { transform: translate(calc(var(--wob, 8px) * -1), -55vh); }
  75%  { transform: translate(var(--wob, 8px), -80vh); }
  100% { transform: translate(0, -110vh); opacity: 0; }
}

.scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply; opacity: .5;
}

body.is-deep .rays { opacity: .15; }

/* ─────────────────────────── chrome ─────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(5, 10, 20, .75), rgba(5, 10, 20, 0));
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--pixel); font-size: 28px; letter-spacing: 3px; color: var(--foam);
  text-shadow: 0 0 12px rgba(77, 227, 255, .45);
  animation: flicker 7s infinite;
}
.brand__mark { width: 22px; height: 22px; fill: var(--cyan); animation: bob 3.2s ease-in-out infinite; }
@keyframes flicker {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: .55; } 94% { opacity: 1; } 96% { opacity: .7; }
}
@keyframes bob { 50% { transform: translateY(-3px) rotate(-4deg); } }

.gauge {
  font-family: var(--pixel); font-size: 22px; color: var(--cyan);
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px;
  background: rgba(5, 10, 20, .6);
  display: flex; align-items: baseline; gap: 6px;
}
.gauge__label { color: var(--drift); font-size: 16px; text-transform: uppercase; letter-spacing: 1px; }
.gauge__value { min-width: 3ch; text-align: right; }
.gauge.bump { animation: gauge-bump .5s var(--ease-spring); }
@keyframes gauge-bump { 40% { transform: scale(1.18); color: var(--foam); } }

.menu-btn { font-family: var(--pixel); font-size: 32px; line-height: 1; padding: 0 6px; color: var(--drift); }
.menu-btn:hover { color: var(--foam); }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 40;
  width: min(320px, 86vw);
  padding: 64px 20px 20px;
  background: rgba(8, 19, 37, .97);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(105%);
  transition: transform .45s var(--ease-out);
}
.drawer.open { transform: none; box-shadow: -30px 0 60px rgba(0, 0, 0, .5); }
.drawer button:not(.drawer__close) {
  text-align: left; padding: 12px 10px; border-radius: 8px;
  font-family: var(--pixel); font-size: 24px; color: var(--foam);
  display: flex; gap: 12px; align-items: center;
}
.drawer button:hover { background: var(--shallow); }
.drawer .ico { width: 1.2em; color: var(--cyan); text-align: center; }
.drawer__close { position: absolute; top: 14px; right: 16px; font-size: 30px; color: var(--drift); }
.drawer__foot { margin-top: auto; color: var(--drift); font-size: 13px; }

/* ─────────────────────────── layout ─────────────────────────── */
.app {
  position: relative; z-index: 1;
  max-width: 620px; margin: 0 auto;
  padding: 8px 16px 80px;
  min-height: calc(100vh - 64px);
}
.screen { animation: rise-in .7s var(--ease-out) both; }
.screen.leaving { animation: sink-out .45s ease-in both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(28px); } }
@keyframes sink-out { to { opacity: 0; transform: translateY(60px) scale(.98); } }

.pixel { font-family: var(--pixel); }
.muted { color: var(--drift); }
.center { text-align: center; }

h1.title {
  font-family: var(--pixel); font-weight: 400;
  font-size: clamp(64px, 18vw, 112px); line-height: .9; letter-spacing: 4px;
  margin: 8vh 0 6px; text-align: center;
  color: var(--foam);
  text-shadow: 0 0 24px rgba(77, 227, 255, .5), 0 4px 0 #0b2142;
  animation: flicker 6s infinite, title-float 6s ease-in-out infinite;
}
@keyframes title-float { 50% { transform: translateY(-6px); } }
.tagline { text-align: center; font-family: var(--pixel); font-size: 24px; color: var(--drift); margin: 0 0 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--pixel); font-size: 26px; letter-spacing: 1px;
  padding: 10px 22px; border-radius: 10px;
  background: var(--cyan); color: #04121f;
  box-shadow: 0 4px 0 #1a8aa5, 0 0 24px rgba(77, 227, 255, .35);
  transition: transform .12s, box-shadow .12s, filter .2s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #1a8aa5; }
.btn.bob { animation: btn-bob 2.4s ease-in-out infinite; }
@keyframes btn-bob { 50% { transform: translateY(-3px); } }
.btn--ghost {
  background: transparent; color: var(--foam);
  border: 1px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { background: var(--shallow); }
.btn--small { font-size: 20px; padding: 6px 14px; }
.btn[disabled] { opacity: .4; pointer-events: none; }

.stack { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }

.panel {
  background: rgba(8, 19, 37, .78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(4px);
}

/* home mode tiles */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mode {
  text-align: left; padding: 14px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(8, 19, 37, .7);
  transition: transform .2s var(--ease-out), border-color .2s;
}
.mode:hover { transform: translateY(-3px); border-color: var(--cyan); }
.mode .pixel { font-size: 24px; display: block; }
.mode small { color: var(--drift); font-size: 13px; }
.daily-cta { width: 100%; padding: 16px; font-size: 32px; }

/* ─────────────────────────── play ─────────────────────────── */
.progress { display: flex; gap: 6px; justify-content: center; margin: 10px 0 18px; }
.progress span {
  width: 26px; height: 8px; border-radius: 4px; background: var(--line);
  transition: background .4s, transform .4s var(--ease-spring);
}
.progress span.now { background: var(--drift); transform: scaleY(1.4); animation: dot-pulse 1.2s ease-in-out infinite; }
@keyframes dot-pulse { 50% { opacity: .5; } }

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 32, 58, .92), rgba(8, 19, 37, .92));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 20px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  animation: card-in .7s var(--ease-out) both;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(-40px) rotate(-1.5deg); filter: blur(4px); }
}
.card.gone { animation: card-gone .5s ease-in forwards; }
@keyframes card-gone { to { opacity: 0; transform: translateY(80px) rotate(1deg); filter: blur(3px); } }

.card__eyebrow { font-family: var(--pixel); font-size: 18px; color: var(--drift); letter-spacing: 2px; text-transform: uppercase; display: flex; justify-content: space-between; }
.card__q { font-size: clamp(24px, 6vw, 32px); font-weight: 700; line-height: 1.15; margin: 14px 0 20px; }

.answer {
  display: flex; gap: 8px;
}
.answer input {
  flex: 1; min-width: 0;
  padding: 12px 14px; border-radius: 10px;
  background: #050c18; color: var(--foam);
  border: 1px solid var(--line); outline: none;
  font-size: 20px;
  transition: border-color .2s, box-shadow .2s;
}
.answer input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(77, 227, 255, .15); }
.answer .btn { padding: 8px 16px; }
.answer.reject { animation: shake .45s; }
.answer.reject input { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 93, 143, .2); }
@keyframes shake {
  15% { transform: translateX(-9px); } 30% { transform: translateX(8px); }
  45% { transform: translateX(-6px); } 60% { transform: translateX(4px); } 75% { transform: translateX(-2px); }
}
.hint { min-height: 22px; margin-top: 10px; font-size: 14px; color: var(--drift); display: flex; justify-content: space-between; gap: 10px; }
.hint .err { color: var(--pink); animation: rise-in .3s both; }
.giveup { white-space: nowrap; flex-shrink: 0; color: var(--drift); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

.card.zap::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 2px var(--pink), inset 0 0 40px rgba(255, 93, 143, .35);
  animation: edge-throb .6s ease-out forwards;
}
@keyframes edge-throb { from { opacity: 1; } to { opacity: 0; } }

/* reveal */
.reveal { text-align: center; }
.reveal__answer { font-size: clamp(26px, 7vw, 38px); font-weight: 700; margin: 6px 0 2px; }
.tier {
  display: inline-block; margin: 14px 0 6px;
  font-family: var(--pixel); font-size: clamp(40px, 11vw, 60px); line-height: 1;
  color: var(--tc); text-shadow: 0 0 22px var(--tc);
  animation: slam .7s var(--ease-spring) both;
}
@keyframes slam {
  0% { transform: scale(2.6); opacity: 0; filter: blur(6px); }
  60% { transform: scale(.92); opacity: 1; filter: none; }
  100% { transform: scale(1); }
}
.tier.pearl { animation: slam .7s var(--ease-spring) both, gold-breathe 2s ease-in-out .7s infinite; }
@keyframes gold-breathe { 50% { text-shadow: 0 0 40px var(--tc), 0 0 6px #fff; } }
.tier.sad { animation: slam .7s var(--ease-spring) both, sad 2.5s ease-in-out .7s infinite; }
@keyframes sad { 50% { transform: translateY(4px) rotate(-2deg); } }

.depth-gain { font-family: var(--pixel); font-size: 30px; color: var(--foam); }
.depth-gain b { color: var(--tc); font-weight: 400; }
.meter { position: relative; height: 10px; margin: 16px 6px 6px; border-radius: 5px; background: linear-gradient(90deg, var(--t-surface), var(--t-shallows), var(--t-twilight), var(--t-midnight), var(--t-abyssal)); opacity: .9; }
.meter__pin {
  position: absolute; top: -7px; width: 4px; height: 24px; border-radius: 2px;
  background: #fff; box-shadow: 0 0 10px #fff;
  left: 0; transition: left 1.2s var(--ease-out) .3s;
}
.meter__labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--drift); padding: 0 4px; }
.reveal__blurb { color: var(--drift); margin: 14px 0 0; font-size: 15px; }

.deeper { margin-top: 18px; text-align: left; border-top: 1px dashed var(--line); padding-top: 14px; }
.deeper h4 { margin: 0 0 8px; font-family: var(--pixel); font-weight: 400; font-size: 20px; color: var(--drift); letter-spacing: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 4px 10px; border-radius: 999px; font-size: 14px;
  border: 1px solid var(--line); background: rgba(5, 12, 24, .7);
  animation: rise-in .5s var(--ease-out) both;
}
.chip.gold { border-color: var(--t-pearl); color: var(--t-pearl); }

.next-row { display: flex; justify-content: center; margin-top: 20px; }

/* ─────────────────────────── results ─────────────────────────── */
.results__total {
  font-family: var(--pixel); text-align: center;
  font-size: clamp(64px, 20vw, 120px); line-height: 1;
  margin: 2vh 0 0; color: var(--foam);
  text-shadow: 0 0 30px rgba(77, 227, 255, .45);
  animation: slam .9s var(--ease-spring) both;
}
.results__total small { font-size: .35em; color: var(--drift); }
.zone { text-align: center; font-family: var(--pixel); font-size: 26px; color: var(--cyan); letter-spacing: 2px; margin-bottom: 18px; }

.dropline { position: relative; padding-left: 34px; margin: 10px 0 20px; }
.dropline::before {
  content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--t-abyssal));
  transform-origin: top; animation: dropline-grow 1.6s var(--ease-out) both;
}
@keyframes dropline-grow { from { transform: scaleY(0); } }
.drop {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px;
  padding: 10px 12px; margin-bottom: 8px; border-radius: 10px;
  background: rgba(8, 19, 37, .78); border: 1px solid var(--line);
  animation: rise-in .6s var(--ease-out) both;
}
.drop::before {
  content: ""; position: absolute; left: -27px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%; background: var(--tc); box-shadow: 0 0 12px var(--tc);
}
.drop__q { font-size: 13px; color: var(--drift); grid-column: 1 / -1; }
.drop__a { font-weight: 700; }
.drop__tier { font-family: var(--pixel); font-size: 20px; color: var(--tc); text-align: right; }
.drop__m { grid-column: 2; font-family: var(--pixel); font-size: 18px; text-align: right; color: var(--foam); }

.share-box {
  font-family: var(--pixel); font-size: 20px; white-space: pre; line-height: 1.2;
  background: #050c18; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px; overflow-x: auto; margin: 12px 0;
}

/* ─────────────────────────── lists & misc ─────────────────────────── */
.page-title { font-family: var(--pixel); font-weight: 400; font-size: 46px; margin: 18px 0 4px; letter-spacing: 2px; }
.list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.list-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 10px; text-align: left; width: 100%;
  border: 1px solid var(--line); background: rgba(8, 19, 37, .78);
  transition: border-color .2s, transform .2s var(--ease-out);
  animation: rise-in .5s var(--ease-out) both;
}
.list-item:hover { border-color: var(--cyan); transform: translateX(3px); }
.list-item .pixel { font-size: 22px; }
.list-item small { color: var(--drift); }
.badge { font-family: var(--pixel); font-size: 18px; color: var(--cyan); white-space: nowrap; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 16px; }
.stat { text-align: center; padding: 14px 8px; }
.stat b { display: block; font-family: var(--pixel); font-size: 40px; font-weight: 400; line-height: 1; }
.stat span { font-size: 12px; color: var(--drift); text-transform: uppercase; letter-spacing: 1px; }
.tier-bars { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.tier-bar { display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: 10px; font-size: 14px; }
.tier-bar i { display: block; height: 10px; border-radius: 5px; background: var(--tc); transform-origin: left; animation: grow-x 1s var(--ease-out) both; }
@keyframes grow-x { from { transform: scaleX(0); } }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 2px; }
.faq summary { cursor: pointer; font-family: var(--pixel); font-size: 24px; list-style: none; }
.faq summary::before { content: "› "; color: var(--cyan); display: inline-block; transition: transform .2s; }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq p { color: var(--drift); margin: 8px 0 0; line-height: 1.5; }

.boot { display: grid; place-items: center; min-height: 60vh; font-family: var(--pixel); font-size: 26px; color: var(--drift); }
.boot span { animation: dot-pulse 1s infinite; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50;
  transform: translate(-50%, 40px); opacity: 0;
  background: var(--foam); color: var(--abyss); font-family: var(--pixel); font-size: 22px;
  padding: 8px 16px; border-radius: 8px;
  transition: transform .35s var(--ease-spring), opacity .25s;
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* depth ruler on the left edge */
.ruler {
  position: fixed; left: 0; top: 0; bottom: 0; width: 34px; z-index: 0; pointer-events: none;
  overflow: hidden; opacity: .55;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
}
.ruler__track { position: absolute; left: 0; right: 0; top: 50%; transition: transform 2.2s var(--ease-out); }
.ruler__tick { position: absolute; left: 0; height: 1px; background: var(--drift); width: 8px; }
.ruler__tick.major { width: 16px; }
.ruler__tick em { position: absolute; left: 4px; top: 3px; font-style: normal; font-family: var(--pixel); font-size: 12px; color: var(--drift); }
@media (max-width: 700px) { .ruler { display: none; } }

@media (max-width: 420px) {
  .modes { grid-template-columns: 1fr; }
  .answer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .bubbles, .particles { display: none; }
}

/* ─────────────────────────── timer ─────────────────────────── */
.timer {
  position: relative; display: flex; align-items: center; gap: 10px; margin-top: 12px;
  font-family: var(--pixel); font-size: 22px; color: var(--cyan);
}
.timer i {
  flex: 1; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--t-twilight));
  transform-origin: left; box-shadow: 0 0 10px rgba(77, 227, 255, .5);
}
.timer span { min-width: 2ch; text-align: right; }
.timer.low { color: var(--pink); }
.timer.low i { background: var(--pink); box-shadow: 0 0 12px rgba(255, 93, 143, .7); animation: dot-pulse .5s ease-in-out infinite; }
.timer.low span { animation: timer-tick 1s steps(1) infinite; }
@keyframes timer-tick { 0% { transform: scale(1.25); } 30% { transform: scale(1); } }

/* ─────────────────────────── did you mean ─────────────────────────── */
.suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; min-height: 0; }
.suggest:empty { display: none; }
.suggest__label { font-family: var(--pixel); font-size: 20px; color: var(--drift); }
.suggest__opt {
  padding: 5px 12px; border-radius: 999px; font-size: 15px;
  border: 1px solid var(--cyan); color: var(--cyan); background: rgba(77, 227, 255, .08);
  animation: rise-in .35s var(--ease-out) both;
  transition: background .15s, color .15s, transform .15s var(--ease-spring);
}
.suggest__opt:hover, .suggest__opt:focus-visible { background: var(--cyan); color: #04121f; transform: translateY(-2px); outline: none; }
.corrected { font-size: 13px; color: var(--drift); margin-top: 2px; animation: rise-in .5s .2s var(--ease-out) both; }

/* ─────────────────────────── settings ─────────────────────────── */
.setting { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.setting .pixel { font-size: 24px; display: block; }
.setting small { color: var(--drift); font-size: 13px; display: block; max-width: 34ch; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { font-family: var(--pixel); font-size: 20px; padding: 6px 14px; color: var(--drift); transition: background .2s, color .2s; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--cyan); color: #04121f; }
.linkish { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; font: inherit; }

/* ─────────────────────────── easter egg ─────────────────────────── */
.basic { text-align: center; margin: 6px 0 18px; }
.basic__stamp {
  display: inline-block; padding: 4px 16px;
  font-family: var(--pixel); font-size: clamp(34px, 10vw, 52px); letter-spacing: 3px; color: #ff8fc8;
  border: 3px solid currentColor; border-radius: 8px;
  text-shadow: 0 0 18px rgba(255, 143, 200, .8);
  box-shadow: 0 0 24px rgba(255, 143, 200, .35), inset 0 0 18px rgba(255, 143, 200, .25);
  animation: stamp .6s 1s var(--ease-spring) both, basic-glow 1.6s 1.6s ease-in-out infinite;
}
@keyframes stamp {
  0% { opacity: 0; transform: scale(3) rotate(-18deg); filter: blur(4px); }
  70% { opacity: 1; transform: scale(.9) rotate(-6deg); filter: none; }
  100% { transform: scale(1) rotate(-6deg); }
}
@keyframes basic-glow { 50% { box-shadow: 0 0 40px rgba(255, 143, 200, .6), inset 0 0 24px rgba(255, 143, 200, .4); } }
.basic p { color: var(--drift); margin: 12px 0 0; font-size: 14px; animation: rise-in .5s 1.5s both; }

/* ─────────────────────────── flag missing answer ─────────────────────────── */
.flag-btn {
  font-size: 13px; color: var(--drift); padding: 4px 10px; border-radius: 999px;
  border: 1px dashed var(--line); animation: rise-in .35s var(--ease-out) both;
}
.flag-btn:hover { color: var(--foam); border-color: var(--drift); }
.flag-btn[disabled] { opacity: .7; cursor: default; }
.flags { margin: 0 0 10px; padding-left: 18px; max-height: 220px; overflow: auto; font-size: 14px; }
.flags li { margin: 3px 0; }
