@font-face { font-family: 'Anton'; src: url(../fonts/anton-400.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(../fonts/grotesk-400.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(../fonts/mono-400.woff2) format('woff2'); font-weight: 100 800; font-display: swap; }
@font-face { font-family: 'Permanent Marker'; src: url(../fonts/marker-400.woff2) format('woff2'); font-display: swap; }

:root {
  --bg: #0b0b0f; --bg2: #111118; --panel: #16161f; --panel2: #1d1d28;
  --line: rgba(255, 255, 255, .1); --line2: rgba(255, 255, 255, .18);
  --ink: #f5f3ee; --dim: #9b9aa8; --dim2: #6c6b78;
  --yellow: #ffd60a; --red: #ff3b3b; --green: #2fe28a; --blue: #2f6bff; --cyan: #00c2ff;
  --r: 18px;
  --display: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  --body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --marker: 'Permanent Marker', 'Comic Sans MS', cursive;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.5; overflow-x: hidden; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::before { /* film grain */
  content: ''; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
body::after { /* vignette */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 99;
  background: radial-gradient(ellipse at 50% 40%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

a { color: var(--yellow); }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───── top bar ───── */
.top {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: linear-gradient(var(--bg) 60%, transparent);
}
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 24px; letter-spacing: 1px; color: var(--ink); text-decoration: none; }
.rec { width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: rec 1.3s steps(2) infinite; }
@keyframes rec { 50% { opacity: .25; } }
.case-pill { font-family: var(--mono); font-weight: 800; font-size: 12px; letter-spacing: 2px; padding: 5px 10px; border-radius: 99px; background: var(--yellow); color: #111; }
.top .spacer { flex: 1; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel);
  display: grid; place-items: center; cursor: pointer; font-size: 18px;
}
.icon-btn:hover { border-color: var(--yellow); }

main { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px 60px; }
.screen { display: none; animation: screenIn .45s cubic-bezier(.2, .9, .2, 1); }
.screen.active { display: block; }
@keyframes screenIn { from { opacity: 0; transform: translateY(14px); } }

/* ───── buttons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px;
  padding: 0 26px; border-radius: 16px; border: 0; cursor: pointer; font-family: var(--display);
  font-size: 22px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none;
  transition: transform .12s, box-shadow .2s, background .2s;
}
.btn:active { transform: translateY(2px) scale(.99); }
.btn-primary { background: var(--yellow); color: #111; box-shadow: 0 6px 0 #b39200, 0 18px 40px rgba(255, 214, 10, .25); }
.btn-primary:hover { box-shadow: 0 6px 0 #b39200, 0 18px 50px rgba(255, 214, 10, .45); }
.btn-primary:active { box-shadow: 0 2px 0 #b39200; }
.btn-primary:disabled { background: #3a3a44; color: #777; box-shadow: none; cursor: not-allowed; }
.btn-ghost { background: var(--panel); border: 1px solid var(--line2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--yellow); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 0 #a11c1c, 0 18px 40px rgba(255, 59, 59, .3); }
.btn-red:disabled { background: #2a2a33; color: #8a8a96; box-shadow: none; cursor: not-allowed; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ───── police tape ───── */
.tape {
  position: relative; left: -10vw; width: 120vw; overflow: hidden; background: var(--yellow); color: #111;
  font-family: var(--display); font-size: 18px; letter-spacing: 3px; white-space: nowrap; padding: 7px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transform: rotate(-2.5deg); margin: 6px 0 26px;
}
.tape span { display: inline-block; animation: tape 22s linear infinite; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ───── home ───── */
.hero { display: grid; gap: 28px; align-items: center; padding-top: 8px; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.15fr .85fr; gap: 48px; padding-top: 24px; } }
.eyebrow { font-family: var(--mono); font-weight: 800; letter-spacing: 3px; font-size: 13px; color: var(--red); text-transform: uppercase; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--red); }
h1 {
  font-family: var(--display); font-weight: 400; font-size: clamp(46px, 11vw, 92px); line-height: .95; margin: 0 0 18px;
  letter-spacing: .5px; text-transform: uppercase;
}
.gold { color: var(--yellow); text-shadow: 0 0 40px rgba(255, 214, 10, .35); }
.lede { color: #cfcdd6; font-size: clamp(17px, 2.4vw, 20px); max-width: 560px; margin: 0 0 26px; }
.lede b { color: var(--ink); }
.cta { display: grid; gap: 14px; max-width: 460px; }
.fine { font-family: var(--mono); font-size: 13px; color: var(--dim); letter-spacing: .5px; margin: 0; text-align: center; }
.fine b { color: var(--ink); }
.honest { display: flex; gap: 12px; align-items: center; justify-content: center; font-size: 15px; color: #cfcdd6; cursor: pointer; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line2); }
.honest input { width: 20px; height: 20px; accent-color: var(--yellow); }

.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 440px; width: 100%; margin: 0 auto; }
.polaroid {
  position: absolute; background: #f7f4ec; padding: 12px 12px 54px; border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6); color: #1a1a1a;
}
.polaroid img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.polaroid .cap { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-family: var(--marker); font-size: 20px; }
.hero-art .p1 { width: 66%; aspect-ratio: .82; left: 2%; top: 4%; transform: rotate(-6deg); animation: float 6s ease-in-out infinite; }
.hero-art .p1 img { height: calc(100% - 0px); }
.hero-art .p2 { width: 46%; aspect-ratio: .9; right: 0; bottom: 6%; transform: rotate(7deg); animation: float 7s ease-in-out -2s infinite; }
@keyframes float { 50% { translate: 0 -8px; } }
.stamp {
  position: absolute; font-family: var(--display); color: var(--red); border: 5px solid var(--red); border-radius: 10px;
  padding: 2px 14px; font-size: 40px; letter-spacing: 3px; transform: rotate(-14deg); mix-blend-mode: screen;
  right: 6%; top: 8%; background: rgba(11, 11, 15, .2); text-shadow: 0 0 20px rgba(255, 59, 59, .4);
}
.sardine-badge { position: absolute; left: 6%; bottom: 2%; width: 44%; filter: drop-shadow(0 12px 30px rgba(255, 200, 60, .45)); animation: float 5s ease-in-out -1s infinite; }

.steps { display: grid; gap: 12px; margin: 54px 0 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; position: relative; overflow: hidden; }
.step .n { font-family: var(--display); font-size: 44px; color: var(--yellow); line-height: 1; }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: .5px; margin: 8px 0 4px; text-transform: uppercase; }
.step p { margin: 0; color: var(--dim); font-size: 15px; }

.section-title { font-family: var(--mono); font-weight: 800; letter-spacing: 3px; font-size: 13px; color: var(--dim); text-transform: uppercase; margin: 54px 0 14px; }
.watch {
  position: relative; display: block; width: 100%; padding: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line2);
  aspect-ratio: 16 / 9; background: #000; cursor: pointer; text-decoration: none; color: var(--ink);
}
.watch img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, transform .4s; }
.watch:hover img { opacity: 1; transform: scale(1.02); }
.watch .play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}
.watch .play::after { content: ''; border-left: 26px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 6px; }
.watch iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch .label { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-weight: 800; font-size: 12px; letter-spacing: 2px; background: rgba(0, 0, 0, .75); padding: 6px 10px; border-radius: 8px; }

.last { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; justify-content: space-between; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); padding: 16px 18px; }
.last .k { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--dim); }
.last .v { font-family: var(--display); font-size: 26px; letter-spacing: 1px; }

footer { text-align: center; color: var(--dim2); font-size: 13px; margin: 70px 0 10px; font-family: var(--mono); letter-spacing: 1px; }
footer .quote { font-family: var(--marker); color: var(--dim); font-size: 17px; letter-spacing: 0; display: block; margin-bottom: 8px; }

/* ───── quiz ───── */
.game { max-width: 620px; margin: 0 auto; }
.qtop { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-weight: 800; font-size: 13px; letter-spacing: 2px; color: var(--dim); margin: 6px 0 12px; }
.qtop .pts { color: var(--yellow); font-size: 15px; }
.pips { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-bottom: 18px; }
.pip { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); transition: background .3s; }
.pip.now { background: var(--ink); }
.pip.ok { background: var(--green); }
.pip.bad { background: var(--red); }
.pip.out { background: #4a4a55; }
.timer { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-bottom: 22px; }
.timer div { height: 100%; width: 100%; background: var(--yellow); border-radius: 5px; transform-origin: left; }
.timer.hurry div { background: var(--red); }
.qcard { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 22px 18px 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.qcard.in { animation: qIn .4s cubic-bezier(.2, .9, .2, 1); }
@keyframes qIn { from { opacity: 0; transform: translateX(30px) rotate(1deg); } }
.qlabel { font-family: var(--mono); font-weight: 800; font-size: 12px; letter-spacing: 2.5px; color: var(--yellow); margin-bottom: 8px; text-transform: uppercase; }
.qtext { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 7vw, 40px); line-height: 1.05; margin: 0 0 18px; text-transform: uppercase; letter-spacing: .3px; }
.qimg { width: min(260px, 70%); aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 8px solid #f7f4ec; margin: 0 auto 20px; transform: rotate(-2deg); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.opts { display: grid; gap: 10px; }
.opts.grid { grid-template-columns: 1fr 1fr; }
.opt {
  position: relative; text-align: left; padding: 16px 18px; min-height: 60px; border-radius: 14px; cursor: pointer;
  background: var(--panel2); border: 2px solid var(--line); font-weight: 700; font-size: 18px; line-height: 1.25;
  transition: border-color .15s, background .15s, transform .1s;
}
.opt:hover:not(:disabled) { border-color: var(--yellow); background: #24242f; }
.opt:active:not(:disabled) { transform: scale(.98); }
.opt .key { font-family: var(--mono); font-size: 12px; color: var(--dim2); margin-right: 10px; }
.opt.cat { padding: 8px; text-align: center; font-size: 15px; }
.opt.cat img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; margin-bottom: 8px; }
.opt.picked-ok { border-color: var(--green); background: rgba(47, 226, 138, .14); }
.opt.picked-bad { border-color: var(--red); background: rgba(255, 59, 59, .14); animation: shake .35s; }
.opt:disabled { cursor: default; }
.opts.locked .opt:not(.picked-ok):not(.picked-bad) { opacity: .45; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.feedback { height: 34px; margin-top: 14px; text-align: center; font-family: var(--display); font-size: 26px; letter-spacing: 1px; }
.feedback.ok { color: var(--green); }
.feedback.bad { color: var(--red); }
.feedback.out { color: var(--dim); }
.hint { text-align: center; color: var(--dim2); font-size: 13px; font-family: var(--mono); margin-top: 6px; }
@media (hover: none) { .hint { display: none; } }

/* ───── accuse ───── */
.big-title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 10vw, 76px); line-height: .95; text-transform: uppercase; margin: 10px 0 10px; text-align: center; }
.sub { text-align: center; color: #cfcdd6; max-width: 560px; margin: 0 auto 24px; }
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 640px; margin: 0 auto; }
.sus {
  position: relative; background: #f7f4ec; color: #151515; border: 0; border-radius: 10px; padding: 7px 7px 10px; cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45); transition: transform .18s, box-shadow .18s, filter .3s, opacity .3s;
}
.sus:nth-child(odd) { transform: rotate(-1.5deg); }
.sus:nth-child(even) { transform: rotate(1.5deg); }
.sus img { width: 100%; aspect-ratio: .9; object-fit: cover; border-radius: 5px; background: #222; }
.sus .num { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-weight: 800; font-size: 12px; background: rgba(0, 0, 0, .75); color: var(--yellow); padding: 3px 7px; border-radius: 6px; }
.sus .nm { font-family: var(--display); font-size: clamp(14px, 3.6vw, 20px); letter-spacing: .5px; margin-top: 6px; text-transform: uppercase; line-height: 1.1; }
.sus:hover { transform: rotate(0) translateY(-4px); }
.sus.sel { outline: 5px solid var(--red); outline-offset: 2px; transform: rotate(0) scale(1.04); z-index: 2; }
.sus.sel::after { content: 'ACCUSED'; position: absolute; left: 50%; top: 40%; translate: -50% -50%; rotate: -14deg; font-family: var(--display); color: var(--red); font-size: clamp(18px, 5vw, 30px); border: 3px solid var(--red); padding: 0 8px; border-radius: 6px; background: rgba(255, 255, 255, .85); }
.accuse-bar { position: sticky; bottom: 0; padding: 18px 0 14px; background: linear-gradient(transparent, var(--bg) 35%); max-width: 640px; margin: 0 auto; }

/* ───── reveal ───── */
.reveal-grid .sus { cursor: default; }
.reveal-grid .sus:hover { transform: none; }
.sus .tag { position: absolute; right: 10px; top: 10px; font-family: var(--mono); font-weight: 800; font-size: 11px; padding: 3px 7px; border-radius: 6px; background: var(--yellow); color: #111; opacity: 0; transition: opacity .3s; }
.sus.show-tag .tag { opacity: 1; }
.sus.out { filter: grayscale(1) brightness(.45); opacity: .55; transform: scale(.94) rotate(0); }
.sus.out::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 3px), var(--red) calc(50% - 3px), var(--red) calc(50% + 3px), transparent calc(50% + 3px)); border-radius: 10px; z-index: 1; }
.sus.win { outline: 5px solid var(--yellow); outline-offset: 2px; transform: scale(1.08); z-index: 3; box-shadow: 0 0 60px rgba(255, 214, 10, .5); }
.sus.mine { box-shadow: 0 0 0 4px var(--cyan), 0 14px 30px rgba(0, 0, 0, .45); }
.clue {
  max-width: 640px; margin: 22px auto 0; background: var(--panel); border: 1px solid var(--line2); border-radius: 20px; padding: 20px 20px 18px;
  min-height: 170px;
}
.clue.in { animation: qIn .45s cubic-bezier(.2, .9, .2, 1); }
.clue .k { font-family: var(--mono); font-weight: 800; letter-spacing: 2.5px; font-size: 12px; color: var(--yellow); }
.clue h3 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 7vw, 40px); line-height: 1.02; margin: 6px 0 8px; text-transform: uppercase; }
.clue p { margin: 0 0 8px; color: #d7d5dd; }
.clue p b { color: var(--yellow); font-weight: 700; }
.clue ul { margin: 6px 0 0; padding-left: 20px; color: #d7d5dd; }
.clue li { margin-bottom: 8px; }
.reveal-actions { position: sticky; bottom: 0; z-index: 5; max-width: 640px; margin: 0 auto; display: flex; gap: 10px; padding: 16px 0 14px; background: linear-gradient(transparent, var(--bg) 35%); }
.reveal-actions .btn { flex: 1; }
.culprit { text-align: center; }
.culprit img { width: min(300px, 75%); margin: 6px auto 14px; border-radius: 10px; border: 10px solid #f7f4ec; transform: rotate(-3deg); box-shadow: 0 0 80px rgba(255, 214, 10, .35), 0 20px 50px rgba(0, 0, 0, .6); animation: culprit .8s cubic-bezier(.2, 1.4, .3, 1); }
@keyframes culprit { from { transform: scale(.3) rotate(-30deg); opacity: 0; } }
.verdict { font-family: var(--display); font-size: clamp(44px, 12vw, 84px); text-transform: uppercase; text-align: center; line-height: 1; margin: 12px 0 4px; animation: slam .5s cubic-bezier(.2, 1.3, .3, 1); }
.verdict.ok { color: var(--green); text-shadow: 0 0 40px rgba(47, 226, 138, .35); }
.verdict.bad { color: var(--red); text-shadow: 0 0 40px rgba(255, 59, 59, .35); }
@keyframes slam { from { transform: scale(2.4); opacity: 0; } }

/* ───── results ───── */
.result-card {
  max-width: 560px; margin: 8px auto 0; border-radius: 26px; padding: 26px 22px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 80% 0%, rgba(255, 214, 10, .18), transparent 50%), linear-gradient(160deg, #1b1b26, #101016);
  border: 1px solid var(--line2); box-shadow: 0 40px 100px rgba(0, 0, 0, .55);
}
.result-card .k { font-family: var(--mono); font-weight: 800; font-size: 12px; letter-spacing: 3px; color: var(--dim); }
.score { font-family: var(--display); font-size: clamp(90px, 26vw, 150px); line-height: .9; margin: 6px 0 0; }
.score small { font-size: .38em; color: var(--dim); }
.rank { font-family: var(--display); font-size: clamp(26px, 7vw, 38px); color: var(--yellow); text-transform: uppercase; letter-spacing: .5px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chip { font-family: var(--mono); font-weight: 800; font-size: 12px; letter-spacing: 1.5px; padding: 7px 11px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }
.chip.ok { color: var(--green); border-color: rgba(47, 226, 138, .4); }
.chip.bad { color: var(--red); border-color: rgba(255, 59, 59, .4); }
.grid-emoji { font-size: clamp(18px, 5.4vw, 32px); letter-spacing: 1px; white-space: nowrap; margin: 4px 0 0; line-height: 1.2; }
.share { display: grid; gap: 10px; max-width: 560px; margin: 18px auto 0; }
.share .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 200; background: var(--ink); color: #111; padding: 12px 18px;
  border-radius: 12px; font-weight: 700; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s;
}
.toast.show { opacity: 1; translate: -50% -6px; }
.recap { max-width: 560px; margin: 30px auto 0; }
.recap details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px; }
.recap summary { cursor: pointer; padding: 12px 0; font-family: var(--mono); font-weight: 800; font-size: 13px; letter-spacing: 2px; }
.recap ol { padding-left: 22px; margin: 4px 0 14px; }
.recap li { margin-bottom: 10px; color: #d7d5dd; }
.recap li .ans { display: block; font-weight: 700; color: var(--ink); }
.recap li .you { font-size: 14px; color: var(--dim); }
.vault-tease { max-width: 560px; margin: 26px auto 0; text-align: center; padding: 22px; border: 1px dashed rgba(255, 214, 10, .4); border-radius: 18px; color: #cfcdd6; }
.vault-tease .lock { font-size: 34px; }
.vault-tease b { color: var(--yellow); }

/* ───── door / vault page ───── */
.door-wrap { max-width: 560px; margin: 0 auto; text-align: center; }
.vault {
  width: min(320px, 78vw); aspect-ratio: 1; margin: 18px auto 26px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 35% 30%, #5b6270, #2a2f38 62%, #14171c); box-shadow: 0 30px 80px rgba(0, 0, 0, .7), inset 0 0 0 10px #0c0e12;
  transition: transform 1.2s cubic-bezier(.6, 0, .2, 1);
}
.vault::before { content: ''; position: absolute; inset: 7%; border-radius: 50%; border: 6px solid #0c0e12; }
.vault .wheel { position: absolute; inset: 22%; border-radius: 50%; border: 12px solid var(--yellow); transition: transform 1.2s cubic-bezier(.6, 0, .2, 1); }
.vault .wheel::before, .vault .wheel::after { content: ''; position: absolute; left: 50%; top: -30%; bottom: -30%; width: 12px; margin-left: -6px; background: var(--yellow); border-radius: 6px; }
.vault .wheel::after { transform: rotate(90deg); }
.vault .core { position: absolute; inset: 42%; border-radius: 50%; background: #0c0e12; z-index: 2; }
.vault.shake { animation: shake .4s; }
.vault.open { transform: perspective(900px) rotateY(-75deg) translateX(-30%); }
.vault.open .wheel { transform: rotate(540deg); }
.slots { display: flex; gap: 10px; justify-content: center; margin: 0 0 18px; }
.slots input {
  width: 58px; height: 72px; text-align: center; font-family: var(--display); font-size: 40px; text-transform: uppercase;
  background: var(--panel); color: var(--yellow); border: 2px solid var(--line2); border-radius: 14px; caret-color: var(--yellow);
}
.slots input:focus { border-color: var(--yellow); outline: none; box-shadow: 0 0 0 4px rgba(255, 214, 10, .2); }
.vault-content { text-align: left; }
.secret-code { font-family: var(--display); font-size: 54px; text-align: center; margin: 8px 0; letter-spacing: 4px; }

/* compact reveal grid on phones so the clue + button stay on screen */
@media (max-width: 560px) {
  #s-reveal .big-title { font-size: 34px; margin: 0 0 10px; }
  .reveal-grid { max-width: 300px; gap: 8px; }
  .reveal-grid .sus { padding: 5px 5px 6px; border-radius: 8px; }
  .reveal-grid .sus img { aspect-ratio: 1.15; }
  .reveal-grid .sus .nm { font-size: 12px; margin-top: 3px; }
  .reveal-grid .sus .num { top: 8px; left: 8px; font-size: 10px; padding: 2px 5px; }
  .reveal-grid .sus .tag { top: 8px; right: 8px; font-size: 10px; padding: 2px 5px; }
  .clue { margin-top: 14px; padding: 16px 16px 12px; min-height: 0; }
  .culprit img { width: min(200px, 60%); }
}
