@import url('/fonts/unbounded/latin-500.css');
@import url('/fonts/unbounded/latin-700.css');
@import url('/fonts/unbounded/latin-800.css');
@import url('/fonts/manrope/latin-500.css');
@import url('/fonts/manrope/latin-600.css');
@import url('/fonts/manrope/latin-700.css');
@import url('/fonts/manrope/latin-800.css');

:root {
  --bg: #14121A;
  --surface: #1E1B26;
  --surface-2: #24212E;
  --sunken: #1A1722;
  --line: #2C2836;
  --line-2: #332F3F;
  --text: #F4F1EA;
  --text-2: #CFC9DA;
  --muted: #9C96A8;
  --faint: #6E6879;
  --ghost: #4A4456;

  --goated: #F2C14E; --goated-bg: #2B2412; --goated-line: #5C4A1C; --goated-sub: #B8A06A;
  --good: #5CD38E;   --good-bg: #12271C;   --good-line: #24503A;   --good-sub: #7FA88F;
  --mid: #B7B0C4;    --mid-bg: #211F28;    --mid-line: #3A3645;    --mid-sub: #9C96A8; --mid-text: #D9D3E4;
  --bad: #FF6F61;    --bad-bg: #2C1616;    --bad-line: #5A2A27;    --bad-sub: #B5807A; --bad-text: #FF8A7E;
  --fire: #FF9B4A;   --fire-bg: #2A1A12;   --fire-line: #5A3520;
  --silver: #CFC9DA; --bronze: #D9925B;

  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--goated); }
a:hover { color: #FFD978; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--goated); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
main.wrap { flex: 1; padding-top: 40px; padding-bottom: 56px; }

/* ---------- Header / footer ---------- */
.site-header { border-bottom: 1px solid #24212E; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.brand-word { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.brand-sub { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; flex: 1 1 auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface); }
.header-right { display: flex; align-items: center; gap: 10px; }
.streak-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 13px 7px 10px; font-family: var(--display); font-size: 13px; font-weight: 700; }
.streak-chip svg { fill: var(--fire); }
.user-chip { font-size: 13px; font-weight: 800; color: var(--text-2); }

.site-footer { border-top: 1px solid #24212E; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.site-footer .note { font-size: 12.5px; font-weight: 600; color: var(--faint); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer nav a { font-size: 12.5px; font-weight: 700; color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn { appearance: none; border: none; cursor: pointer; font-family: var(--body); font-weight: 800; font-size: 14px; border-radius: 12px; padding: 10px 16px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .12s ease, filter .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .5; cursor: default; transform: none; filter: none; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { color: var(--bg); }
.btn-gold { background: var(--goated); color: var(--bg); font-family: var(--display); font-weight: 700; }
.btn-gold:hover { color: var(--bg); }
.btn-dark { background: var(--bg); color: var(--text); border: 1px solid var(--line-2); }
.btn-dark:hover { color: var(--text); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { height: 56px; border-radius: 16px; font-size: 15px; padding: 0 22px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--bad); color: var(--bg); }

/* ---------- Shared bits ---------- */
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.eyebrow.gold { color: var(--goated); }
.eyebrow.fire { color: var(--fire); }
.sub { font-size: 15px; font-weight: 600; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 7px 13px; font-size: 12px; font-weight: 800; background: var(--bg); }
.tag-gold { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--goated); background: var(--goated-bg); border: 1px solid var(--goated-line); border-radius: 999px; padding: 8px 15px; display: inline-block; }
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.split > .main-col { flex: 1 1 520px; min-width: 0; }
.split > .side-col { flex: 1 1 340px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Photo deck ---------- */
.deck { position: relative; aspect-ratio: 5 / 4; width: 100%; }
.deck .ghost-card { position: absolute; border-radius: 30px; }
.deck .ghost-1 { top: 14px; left: 12px; right: 12px; bottom: -8px; background: #1A1722; border: 1px solid #2A2633; transform: rotate(-2.5deg); }
.deck .ghost-2 { top: 8px; left: 6px; right: 6px; bottom: -4px; background: #1D1A25; border: 1px solid var(--line); transform: rotate(1.8deg); }
.deck .photo-card { position: absolute; inset: 0; border-radius: 30px; background: var(--surface-2); border: 1px solid #363141; overflow: hidden; }
.deck .photo-card img { width: 100%; height: 100%; object-fit: contain; background: #0E0C12; opacity: 0; transition: opacity .25s ease; }
.deck .photo-card img.loaded { opacity: 1; }
.deck .overlay { position: absolute; left: 0; right: 0; padding: 16px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.deck .overlay > * { pointer-events: auto; }
.deck .overlay.top { top: 0; }
.deck .overlay.bottom { bottom: 0; }
.deck .pos { font-family: var(--display); font-size: 13px; font-weight: 700; background: rgba(20,18,26,.88); border-radius: 999px; padding: 7px 13px; }
.deck .report { appearance: none; border: none; cursor: pointer; height: 36px; padding: 0 13px; border-radius: 999px; background: rgba(20,18,26,.88); display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.deck .report:hover { color: var(--text); }
.deck .anon { display: inline-flex; align-items: center; gap: 7px; background: rgba(20,18,26,.88); border-radius: 999px; padding: 7px 13px 7px 10px; font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.deck .anon svg { stroke: var(--good); }

/* ---------- Progress ---------- */
.progress { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 6px; }
.progress span { height: 6px; border-radius: 3px; background: var(--line); }
.progress span.done { background: var(--text); }
.progress span.now { background: var(--goated); }

/* ---------- Tier buttons ---------- */
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tier { appearance: none; cursor: pointer; display: flex; align-items: center; gap: 13px; min-height: 84px; padding: 0 16px; border-radius: 20px; text-align: left; border: 1.5px solid; transition: transform .12s ease, filter .12s ease; }
.tier:hover { transform: translateY(-2px); filter: brightness(1.1); }
.tier:active { transform: scale(.98); }
.tier .ico { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tier .ico svg { width: 22px; height: 22px; }
.tier .txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.tier .name { font-family: var(--display); font-size: 16px; font-weight: 800; }
.tier .desc { font-size: 12px; font-weight: 600; }
.tier kbd { font-family: var(--body); font-size: 12px; font-weight: 800; border: 1px solid; border-radius: 7px; padding: 3px 8px; }
.tier[data-tier="goated"] { background: var(--goated-bg); border-color: var(--goated-line); }
.tier[data-tier="goated"] .ico { background: var(--goated); }
.tier[data-tier="goated"] .name { color: var(--goated); }
.tier[data-tier="goated"] .desc, .tier[data-tier="goated"] kbd { color: var(--goated-sub); border-color: var(--goated-line); }
.tier[data-tier="good"] { background: var(--good-bg); border-color: var(--good-line); }
.tier[data-tier="good"] .ico { background: var(--good); }
.tier[data-tier="good"] .name { color: var(--good); }
.tier[data-tier="good"] .desc, .tier[data-tier="good"] kbd { color: var(--good-sub); border-color: var(--good-line); }
.tier[data-tier="mid"] { background: var(--mid-bg); border-color: var(--mid-line); }
.tier[data-tier="mid"] .ico { background: var(--mid); }
.tier[data-tier="mid"] .name { color: var(--mid-text); }
.tier[data-tier="mid"] .desc, .tier[data-tier="mid"] kbd { color: var(--mid-sub); border-color: var(--mid-line); }
.tier[data-tier="bad"] { background: var(--bad-bg); border-color: var(--bad-line); }
.tier[data-tier="bad"] .ico { background: var(--bad); }
.tier[data-tier="bad"] .name { color: var(--bad-text); }
.tier[data-tier="bad"] .desc, .tier[data-tier="bad"] kbd { color: var(--bad-sub); border-color: var(--bad-line); }

.c-goated { color: var(--goated); } .c-good { color: var(--good); } .c-mid { color: var(--mid-text); } .c-bad { color: var(--bad-text); }
.bg-goated { background: var(--goated); } .bg-good { background: var(--good); } .bg-mid { background: var(--mid); } .bg-bad { background: var(--bad); }

/* ---------- Crowd bars ---------- */
.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar-row .lbl { width: 62px; font-size: 13px; font-weight: 800; }
.bar-row .track { flex: 1; height: 28px; border-radius: 9px; background: var(--surface); overflow: hidden; position: relative; }
.bar-row .fill { height: 100%; border-radius: 9px; width: 0; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.bar-row .val { width: 46px; text-align: right; font-family: var(--display); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bar-row .you { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text); background: rgba(20,18,26,.75); border-radius: 6px; padding: 2px 6px; }
.bars.compact .bar-row .track { height: 10px; border-radius: 5px; }
.bars.compact .bar-row .fill { border-radius: 5px; }
.bars.compact .bar-row .lbl { width: 52px; font-size: 11.5px; }
.bars.compact .bar-row .val { width: 36px; font-size: 11px; }
.bars.compact { gap: 6px; }

.verdict { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; border: 1px solid; }
.verdict .big { font-family: var(--display); font-size: 14px; font-weight: 700; }
.verdict .small { font-size: 13px; font-weight: 700; color: var(--muted); }
.verdict.hit { background: var(--good-bg); border-color: var(--good-line); }
.verdict.hit .big { color: var(--good); }
.verdict.miss { background: var(--bad-bg); border-color: var(--bad-line); }
.verdict.miss .big { color: var(--bad-text); }
.live-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--muted); }
.live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--good); }

/* ---------- Play page ---------- */
.play { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.play .deck-col { flex: 1 1 520px; min-width: 0; }
.play .panel { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.play h1 { font-size: 30px; font-weight: 700; }
.step { display: flex; flex-direction: column; gap: 18px; }
.tip { font-size: 12.5px; font-weight: 600; color: var(--faint); }
.chip-you { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--line-2); color: var(--text-2); border-radius: 999px; padding: 7px 12px; }

.empty { text-align: center; padding: 80px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty h1 { font-size: 30px; }

/* ---------- Results ---------- */
.score-big { font-family: var(--display); font-size: clamp(64px, 9vw, 96px); font-weight: 800; line-height: .95; letter-spacing: -0.04em; }
.score-big .of { color: var(--ghost); }
.share-card { border-radius: 24px; background: var(--surface); border: 1px solid var(--line-2); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.share-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-row .lbl { width: 64px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.sq { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.sq svg { width: 18px; height: 18px; }
.sq.empty-sq { background: var(--sunken); border: 1px dashed var(--line-2); }
.hot { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--fire-bg); border: 1px solid var(--fire-line); }
.hot .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--fire); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 3px; }
.stat .n { font-family: var(--display); font-size: 22px; font-weight: 700; }
.stat .k { font-size: 12px; font-weight: 700; color: var(--muted); }
.cta-gold { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--goated-line); display: flex; flex-direction: column; gap: 12px; }
.countdown { font-family: var(--display); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.thumb { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.thumb .img { aspect-ratio: 1 / 1; background: #0E0C12; position: relative; }
.thumb .img img { width: 100%; height: 100%; object-fit: cover; }
.thumb .img .pos { position: absolute; top: 10px; left: 10px; font-family: var(--display); font-size: 11px; font-weight: 700; background: rgba(20,18,26,.88); border-radius: 999px; padding: 5px 9px; }
.thumb .body { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.thumb .head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.thumb .vd { font-size: 13px; font-weight: 800; }
.thumb .call { font-size: 11px; font-weight: 800; letter-spacing: .04em; }

/* ---------- Leaderboard / Hall ---------- */
.podium { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: end; }
.podium-card { border-radius: 24px; background: var(--surface); border: 1.5px solid var(--line-2); overflow: hidden; display: flex; flex-direction: column; }
.podium-card .img { position: relative; background: #0E0C12; aspect-ratio: 4 / 4.4; }
.podium-card.r1 { border-color: var(--goated-line); }
.podium-card.r1 .img { aspect-ratio: 4 / 5; }
.podium-card.r3 .img { aspect-ratio: 1 / 1; }
.podium-card .img img { width: 100%; height: 100%; object-fit: cover; }
.medal { position: absolute; top: 14px; left: 14px; width: 46px; height: 46px; border-radius: 999px; color: var(--bg); font-family: var(--display); font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.medal.m1 { background: var(--goated); } .medal.m2 { background: var(--silver); } .medal.m3 { background: var(--bronze); }
.podium-card .body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.podium-card .pct { font-family: var(--display); font-size: 24px; font-weight: 800; color: var(--goated); }
.meter { height: 8px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--goated); border-radius: 4px; }
.tabs { display: inline-flex; gap: 4px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 4px; }
.tabs button { appearance: none; border: none; background: none; color: var(--muted); font-weight: 800; font-size: 13px; padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--bg); color: var(--text); }

.table-box { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--sunken); }
table.board { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
table.board th { text-align: left; padding: 14px 18px; color: var(--faint); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
table.board td { padding: 14px 18px; border-top: 1px solid #24212E; font-weight: 700; font-variant-numeric: tabular-nums; }
table.board .num { text-align: right; }
table.board .rank { font-family: var(--display); color: var(--muted); }
table.board tr.r1 .rank { color: var(--goated); } table.board tr.r2 .rank { color: var(--silver); } table.board tr.r3 .rank { color: var(--bronze); }
table.board tr.me { background: var(--goated-bg); }
table.board .streak { color: var(--fire); }
table.board .player { font-weight: 800; }
.gap-row td { color: var(--faint); text-align: center; }

/* ---------- Archive ---------- */
.day-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.day-btn { appearance: none; cursor: pointer; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.day-btn:hover { border-color: var(--line-2); background: var(--surface-2); }
.day-btn[aria-pressed="true"] { border-color: var(--goated-line); }
.day-btn .n { font-family: var(--display); font-weight: 700; font-size: 15px; }
.day-btn .d { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.day-btn .tick { font-size: 11px; font-weight: 800; color: var(--good); }

/* ---------- Forms / modal / gate ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 800; color: var(--text-2); }
.field input, .field textarea, .field select { background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font: inherit; font-weight: 600; }
.field input:focus, .field textarea:focus { border-color: var(--goated-line); outline: none; box-shadow: 0 0 0 3px rgba(242,193,78,.15); }
.form-error { color: var(--bad-text); font-size: 13px; font-weight: 700; min-height: 1em; }
.radio-list { display: flex; flex-direction: column; gap: 8px; }
.radio-list label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); font-weight: 700; cursor: pointer; }
.radio-list input { accent-color: var(--goated); }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 14px; color: var(--text-2); }
.check input { margin-top: 3px; accent-color: var(--goated); }

.modal-back { position: fixed; inset: 0; background: rgba(8,7,11,.78); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; backdrop-filter: blur(6px); }
.modal { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 16px; max-height: calc(100vh - 32px); overflow: auto; }
.modal h2 { font-size: 22px; }
.modal .x { align-self: flex-end; margin: -10px -10px -14px 0; appearance: none; border: none; background: none; color: var(--muted); cursor: pointer; width: 36px; height: 36px; border-radius: 10px; font-size: 20px; }
.modal .x:hover { background: var(--bg); color: var(--text); }

.gate { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 24px; }
.gate .box { max-width: 520px; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.gate h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; }
.gate p { margin: 0; color: var(--text-2); font-weight: 600; font-size: 16px; }
.gate .actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.gate .badge { font-family: var(--display); font-weight: 800; font-size: 20px; width: 72px; height: 72px; border-radius: 22px; background: var(--goated); color: var(--bg); display: flex; align-items: center; justify-content: center; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--text); color: var(--bg); font-weight: 800; font-size: 14px; padding: 12px 18px; border-radius: 12px; transition: all .2s ease; z-index: 200; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.prose { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.prose p, .prose li { color: var(--text-2); font-weight: 600; }
.prose h2 { font-size: 20px; margin-top: 12px; }

/* ---------- Admin ---------- */
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.admin-photo { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 12px; }
.admin-photo img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: #0E0C12; }
.admin-photo .meta { padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.admin-photo .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-photo .acts button { font-size: 11.5px; padding: 6px 9px; border-radius: 8px; }
.day-strip { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); }
.day-strip .d { width: 130px; font-weight: 800; font-size: 13px; }
.day-strip img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: #0E0C12; }
.admin-section { display: flex; flex-direction: column; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }

@media (max-width: 560px) {
  .play { gap: 28px; }
  main.wrap { padding-top: 24px; }
  .tier { min-height: 72px; gap: 10px; padding: 0 12px; }
  .tier kbd { display: none; }
  .kbd-tip { display: none; }
  .sq { width: 34px; height: 34px; }
}

.stack.tight { gap: 5px; }
.score-row { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.score-row .stack.tight { padding-bottom: 8px; gap: 8px; }
.share-head { font-family: var(--display); font-size: 14px; font-weight: 700; }
.share-streak { display: inline-flex; align-items: center; gap: 5px; font-family: var(--display); font-size: 13px; font-weight: 700; color: var(--fire); }
.share-streak svg { fill: var(--fire); width: 14px; height: 14px; }
.sqs { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.share-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.share-actions .btn { flex: 1 1 180px; }
.hot .ico svg { fill: var(--bg); width: 20px; height: 20px; }
.link-strong { font-size: 13px; font-weight: 800; text-decoration: none; }
.section-gap { margin-top: 32px; }
.h2 { font-size: 22px; font-weight: 700; }
#main.stack { gap: 0; }
.h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; }
.h2.lg { font-size: 26px; }
.sub.small { font-size: 13px; font-weight: 700; }
.section-gap-lg { margin-top: 56px; }
.lb-main { flex: 999 1 560px; }
.big-pad { padding: 22px; }
.body-2 { font-size: 13.5px; font-weight: 600; color: var(--text-2); line-height: 1.55; }
.podium-card .meta { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.vault { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); align-items: start; }
.vault .podium-card .img { aspect-ratio: 1 / 1; }
.cta-title { font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1.25; }
.medal.m-plain { background: var(--bg); color: var(--text); border: 1px solid var(--line-2); font-size: 15px; width: 40px; height: 40px; }
.section-gap-sm { margin-top: 20px; }
.narrow { max-width: 420px; margin: 40px auto; width: 100%; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.row-wrap .field { flex: 0 1 140px; }
.admin { gap: 20px; }
.removal-item { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.lookup-card { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.lookup-card img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; background: #0E0C12; }
.status-badge { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.prose ol, .prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.sq.bg-goated { background: var(--goated); } .sq.bg-good { background: var(--good); } .sq.bg-mid { background: var(--mid); } .sq.bg-bad { background: var(--bad); }
.medal { box-shadow: 0 0 0 3px rgba(20,18,26,.7); }
@media (max-width: 700px) {
  .site-header .wrap { gap: 10px 12px; padding-top: 12px; padding-bottom: 10px; }
  .header-right { margin-left: auto; order: 2; }
  .nav { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0 -6px; scrollbar-width: none; }
  .nav a { white-space: nowrap; }
  .brand-sub { display: none; }
}
@media (max-width: 560px) {
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .thumb .body { padding: 10px; }
  .thumb .head { flex-direction: column; align-items: flex-start; gap: 4px; }
}
