/* Pro Scout — sticker-album look: cream paper, ink outlines, hard offset shadows. */
:root {
  --paper: #f3ecdb;
  --paper-2: #e8dec4;
  --card: #fffdf7;
  --ink: #1c1a16;
  --muted: #6a6353;
  --line: #1c1a16;
  --green: #1f8a4c;
  --green-ink: #0f5a30;
  --red: #d6402b;
  --gold: #e9a91f;
  --gold-soft: #fbe7b0;
  --blue: #2858a6;
  --orange: #e0702a;
  --purple: #7a4bb0;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --r: 14px;
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(28, 26, 22, .07) 1px, transparent 1.2px);
  background-size: 16px 16px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; }
.hidden { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.screen {
  max-width: 1080px;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 16px max(32px, env(safe-area-inset-bottom));
}

h1, h2, .display {
  font-family: var(--display);
  font-stretch: 70%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
  margin: 0;
}
h2 { font-size: 1.5rem; }
.eyebrow {
  margin: 0;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 10px 22px;
  border: 2.5px solid var(--line);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  box-shadow: var(--shadow-sm);
  transition: transform .08s, box-shadow .08s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: var(--card); color: var(--ink); }
.btn.gold { background: var(--gold); color: var(--ink); }
.link {
  background: none; border: 0; padding: 8px 4px;
  font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--ink);
}
.icon-btn {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border: 2.5px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  padding: 0;
}
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.chip-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px;
  border: 2.5px solid var(--line); border-radius: 12px;
  background: var(--gold); box-shadow: var(--shadow-sm);
  font-weight: 800;
}
.chip-btn b { background: var(--ink); color: var(--gold); border-radius: 999px; padding: 2px 8px; font-size: .85rem; }
.chip-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.album-ico { width: 16px; height: 20px; border: 2px solid var(--ink); border-radius: 3px; background: var(--card); box-shadow: 2px -2px 0 -0px var(--ink); }

/* ---------- Home ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mark {
  width: 54px; height: 54px; flex: none;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
  border: 2.5px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-4deg);
}
.mark svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.brand h1 { font-size: clamp(2rem, 7vw, 3rem); }
.tagline { margin: 4px 0 0; color: var(--muted); font-weight: 600; font-size: .95rem; }
.top-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 480px) { .tagline { display: none; } .chip-btn { padding: 0 10px; } }
@media (max-width: 420px) {
  .top { gap: 8px; }
  .brand { gap: 8px; }
  .mark { width: 40px; height: 40px; border-radius: 11px; }
  .mark svg { width: 26px; height: 26px; }
  .brand h1 { font-size: 1.5rem; line-height: 1; }
  .top-actions { gap: 6px; }
}
@media (max-width: 360px) { .mark { display: none; } .brand h1 { white-space: nowrap; } }
@media (max-width: 340px) { .brand h1 { font-size: 1.1rem; } .chip-btn { padding: 0 8px; gap: 6px; } }

.challenge {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-bottom: 18px; padding: 14px 16px;
  background: var(--gold-soft);
  border: 2.5px dashed var(--ink); border-radius: var(--r);
}
.challenge p { margin: 0; font-weight: 600; }
.challenge b { font-weight: 900; }

.daily {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: center;
  margin-bottom: 28px; padding: 22px;
  background: var(--ink); color: var(--paper);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--green);
  position: relative; overflow: hidden;
}
.daily::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px;
  border: 22px solid rgba(255, 255, 255, .06); border-radius: 50%; pointer-events: none;
}
.daily .eyebrow { color: var(--gold); }
.daily h2 { font-size: clamp(2.2rem, 7vw, 3.4rem); margin: 4px 0 6px; }
.daily-sub { margin: 0; color: #cfc6b2; max-width: 36ch; }
.daily-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; position: relative; z-index: 1; }
.daily-right .btn { min-width: 180px; }
.daily-done { text-align: right; }
.daily-done .big { font-family: var(--display); font-stretch: 70%; font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--gold); }
.daily-done .grid { font-size: 1.1rem; letter-spacing: 2px; margin: 4px 0 0; }
.daily-done p { margin: 0; }
@media (max-width: 640px) {
  .daily { grid-template-columns: 1fr; }
  .daily-right, .daily-done { align-items: stretch; text-align: left; }
  .daily-right .btn { width: 100%; }
}

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hint { margin: 0; color: var(--muted); font-size: .9rem; font-weight: 600; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 32px; }
@media (max-width: 520px) { .cats { grid-template-columns: 1fr 1fr; gap: 10px; } }
.cat {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  min-height: 132px; padding: 14px;
  text-align: left;
  background: var(--card);
  border: 2.5px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: transform .1s, box-shadow .1s;
}
.cat:hover { transform: translate(-2px, -2px) rotate(-.6deg); box-shadow: 6px 6px 0 var(--ink); }
.cat:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.cat-ico {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 2px solid var(--line); border-radius: 10px;
  background: var(--c, var(--green)); color: #fff;
}
.cat-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cat-name { font-family: var(--display); font-stretch: 75%; font-weight: 900; font-size: 1.25rem; text-transform: uppercase; line-height: 1; margin-top: 4px; }
.cat-desc { font-size: .86rem; color: var(--muted); line-height: 1.3; }
.cat-best { position: absolute; top: 12px; right: 12px; font-size: .72rem; font-weight: 800; color: var(--muted); }
.cat.mix { background: var(--gold); }
.cat.mix .cat-desc, .cat.mix .cat-best { color: #4a3a12; }
@media (max-width: 520px) {
  .cat { min-height: 118px; padding: 12px; }
  .cat-name { font-size: 1.08rem; }
  .cat-desc { font-size: .8rem; }
  .cat-best { display: none; }
}

.how {
  padding: 20px 22px; margin-bottom: 20px;
  background: var(--card); border: 2.5px solid var(--line); border-radius: var(--r);
}
.how h2 { font-size: 1.25rem; margin-bottom: 10px; }
.how ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.foot { color: var(--muted); font-size: .8rem; max-width: 70ch; }

/* ---------- Loading ---------- */
#loading { min-height: 80vh; display: grid; place-items: center; }
.loader { text-align: center; font-weight: 800; }
.loader-card { display: flex; gap: 10px; justify-content: center; margin-bottom: 16px; }
.loader-card span {
  width: 46px; height: 60px; border: 2.5px solid var(--ink); border-radius: 8px; background: var(--card);
  box-shadow: var(--shadow-sm); animation: flip 1s ease-in-out infinite;
}
.loader-card span:nth-child(2) { animation-delay: .15s; background: var(--gold); }
.loader-card span:nth-child(3) { animation-delay: .3s; background: var(--green); }
@keyframes flip { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-6deg); } }

/* ---------- Play ---------- */
.play-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.play-title { flex: 1; min-width: 0; }
.qnum { margin: 0; font-family: var(--display); font-stretch: 75%; font-weight: 900; font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; }
@media (max-width: 420px) { .qnum { font-size: 1.1rem; white-space: nowrap; } .play-top .eyebrow { font-size: .7rem; } }
.score-box {
  display: flex; flex-direction: column; align-items: flex-end;
  padding: 2px 12px; border: 2.5px solid var(--line); border-radius: 12px; background: var(--ink); color: var(--gold);
  min-width: 84px;
}
.score-box span { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #cfc6b2; }
.score-box b { font-family: var(--display); font-stretch: 75%; font-size: 1.35rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.score-box.bump b { animation: bump .45s; }
@keyframes bump { 40% { transform: scale(1.25); } }

.progress { list-style: none; display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; padding: 0; margin: 0 0 16px; }
.progress li { height: 9px; border: 2px solid var(--ink); border-radius: 99px; background: var(--card); }
.progress li.now { background: var(--ink); }
.progress li.r0 { background: var(--green); }
.progress li.r1 { background: #8cc152; }
.progress li.r2 { background: var(--gold); }
.progress li.rx { background: var(--red); }
.progress li.fin { border-style: dashed; }
.progress li.fin.now { border-style: solid; background: var(--gold); }

.play-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 820px) { .play-grid { grid-template-columns: 1fr; gap: 14px; } }

.stage {
  position: relative;
  background: var(--card);
  border: 2.5px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 14px;
  min-height: 200px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  overflow: hidden;
}
.photo-frame {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 4 / 5;
  border: 2.5px solid var(--line); border-radius: 12px;
  overflow: hidden;
  background: var(--paper-2);
}
@media (max-width: 820px) { .photo-frame { width: min(100%, 230px); } }
.photo-frame canvas { width: 100%; height: 100%; display: block; }
.photo-frame .ph-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-stretch: 70%; font-weight: 900; font-size: 4rem; color: rgba(28, 26, 22, .25);
}
.photo-frame.small { width: 120px; }
.name-plate {
  text-align: center;
}
.name-plate .nm { font-family: var(--display); font-stretch: 72%; font-weight: 900; font-size: 1.7rem; text-transform: uppercase; line-height: 1; }
.name-plate .meta { margin-top: 4px; color: var(--muted); font-weight: 700; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }

.sport-tag {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; background: var(--sc, var(--ink));
}

.headline {
  font-family: var(--display); font-stretch: 70%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.8rem, 6vw, 2.8rem); line-height: .98; text-align: center; margin: 8px 0; text-wrap: balance;
}
.quote { font-size: clamp(1.9rem, 6.5vw, 3rem); }
.quote::before { content: '“'; color: var(--gold); }
.quote::after { content: '”'; color: var(--gold); }
.sub-head { margin: 0; text-align: center; color: var(--muted); font-weight: 700; }

.path { list-style: none; margin: 4px 0; padding: 0; width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.path li {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px 7px 10px; margin-left: 14px;
  border-left: 3px solid var(--ink);
  font-weight: 800;
}
.path li::before {
  content: ''; position: absolute; left: -9px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--card); border: 3px solid var(--ink); box-sizing: border-box;
}
.path li:first-child::before { background: var(--green); }
.path li .yr { font-size: .72rem; color: var(--muted); font-weight: 800; min-width: 1.6em; }
.path li.hid { color: var(--muted); }
.path li.hid .club { display: inline-block; min-width: 9ch; height: 1em; background: repeating-linear-gradient(-45deg, var(--paper-2) 0 6px, transparent 6px 10px); border-radius: 4px; border: 1.5px dashed var(--muted); }
.path li.new { animation: pop .35s; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.duo .photo-frame { width: 100%; }
.duo .name-plate .nm { font-size: 1.15rem; }

.odd-hint { text-align: center; font-weight: 700; color: var(--muted); margin: 0; }
.club-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--gold-soft);
  font-family: var(--display); font-stretch: 75%; font-weight: 900; font-size: 1.6rem; text-transform: uppercase;
}

.clues { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.clues li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card);
  font-weight: 700; font-size: .92rem;
  animation: pop .35s;
}
.clues li .k { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.clues li.locked { border-style: dashed; color: var(--muted); background: transparent; animation: none; }
@keyframes pop { 0% { transform: scale(.8); opacity: 0; } 70% { transform: scale(1.05); } 100% { transform: none; opacity: 1; } }

.flag { width: 24px; height: 16px; object-fit: cover; border: 1.5px solid var(--ink); border-radius: 3px; flex: none; background: var(--paper-2); }
.flag.lg { width: 32px; height: 22px; }

.worth-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.prompt { margin: 0; font-family: var(--display); font-stretch: 75%; font-weight: 900; font-size: 1.6rem; line-height: 1.02; text-transform: uppercase; text-wrap: balance; }
.worth {
  flex: none; margin: 0; padding: 4px 10px;
  border: 2.5px solid var(--ink); border-radius: 10px; background: var(--gold);
  font-weight: 900; font-size: .9rem; white-space: nowrap; transform: rotate(2deg);
}
.worth.doubled { background: var(--red); color: #fff; }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.options.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 380px) { .options { grid-template-columns: 1fr; } }
.opt {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  min-height: 64px; padding: 10px 12px 10px 36px;
  text-align: left;
  background: var(--card);
  border: 2.5px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-weight: 800; font-size: 1rem; line-height: 1.15;
  transition: transform .08s, box-shadow .08s, opacity .2s, background .2s;
}
.opt .key {
  position: absolute; left: 9px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; display: grid; place-items: center;
  border: 1.5px solid var(--muted); border-radius: 5px; font-size: .7rem; color: var(--muted);
}
.opt .lbl { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opt .sub { font-size: .75rem; font-weight: 700; color: var(--muted); }
.opt.big-num .lbl { font-family: var(--display); font-stretch: 75%; font-size: 1.8rem; font-weight: 900; }
.opt:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); background: #fff; }
.opt:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.opt:disabled { cursor: default; }
.opt.gone { opacity: .3; border-style: dashed; box-shadow: none; text-decoration: line-through; }
.opt.right { background: var(--green); color: #fff; opacity: 1; text-decoration: none; }
.opt.right .sub, .opt.right .key { color: #d8f3e3; border-color: #d8f3e3; }
.opt.wrong { background: var(--red); color: #fff; }
.opt.wrong .sub, .opt.wrong .key { color: #ffe1dc; border-color: #ffe1dc; }
.opt.dim { opacity: .45; }
.opt.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tool {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 42px; padding: 6px 14px;
  border: 2.5px solid var(--line); border-radius: 999px; background: var(--card);
  font-weight: 800; font-size: .88rem;
  box-shadow: var(--shadow-sm);
}
.tool .cost { font-size: .75rem; color: var(--muted); font-weight: 800; }
.tool .pips { display: inline-flex; gap: 3px; }
.tool .pips i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.tool .pips i.used { background: transparent; border: 1.5px solid var(--muted); }
.tool:disabled { opacity: .4; box-shadow: none; cursor: default; }
.tool:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
#revealBtn { background: var(--gold-soft); }
#doubleBtn[aria-pressed='true'] { background: var(--red); color: #fff; }
#doubleBtn[aria-pressed='true'] .pips i { background: #fff; }

.feedback {
  margin-top: 16px; padding: 16px;
  border: 2.5px solid var(--line); border-radius: var(--r);
  background: var(--card); box-shadow: var(--shadow);
  animation: pop .3s;
}
.fb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fb-title { margin: 0; font-family: var(--display); font-stretch: 70%; font-weight: 900; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.fb-title.ok { color: var(--green); }
.fb-title.no { color: var(--red); }
.fb-pts { font-family: var(--display); font-stretch: 75%; font-weight: 900; font-size: 1.5rem; }
.fb-pts.neg { color: var(--red); }
.fb-card { display: flex; gap: 12px; align-items: center; margin: 12px 0; }
.fb-card .photo-frame { width: 76px; flex: none; border-width: 2px; border-radius: 8px; }
.fb-who { min-width: 0; }
.fb-who .nm { font-family: var(--display); font-stretch: 75%; font-weight: 900; font-size: 1.3rem; text-transform: uppercase; line-height: 1; }
.fb-who .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 5px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.fb-fact { margin: 0 0 10px; font-size: .95rem; }
.fb-collect {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px;
  padding: 4px 10px; border: 2px solid var(--ink); border-radius: 8px; background: var(--gold-soft);
  font-weight: 800; font-size: .85rem; transform: rotate(-1.5deg);
}
.fb-collect.gold { background: var(--gold); }
.fb-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.credit { font-size: .75rem; color: var(--muted); }
.credit a { color: inherit; }

.photo-frame.peep { background: #26231d; }
.streak {
  flex: none; padding: 4px 10px; border: 2.5px solid var(--line); border-radius: 12px;
  background: var(--gold-soft); font-weight: 900; font-variant-numeric: tabular-nums;
  animation: pop .35s;
}
.fb-streak { margin: 0 0 10px; font-weight: 800; color: #9a5b00; }

/* Who Am I? */
.who-intro { margin: 0; font-family: var(--display); font-stretch: 72%; font-weight: 900; font-size: clamp(1.6rem, 5vw, 2.2rem); text-transform: uppercase; line-height: 1; text-align: center; }
.who-list { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; display: grid; gap: 8px; }
.who-list li {
  display: grid; gap: 2px; padding: 10px 14px;
  border: 2px solid var(--ink); border-radius: 10px; background: var(--paper);
}
.who-list li.new { animation: pop .35s; background: var(--gold-soft); }
.who-list .k { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.who-list .v { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; }

/* Final bet */
.bet {
  max-width: 560px; margin: 8px auto 0; padding: 24px 22px; text-align: center;
  background: var(--ink); color: var(--paper); border-radius: 20px; box-shadow: 6px 6px 0 var(--gold);
}
.bet .eyebrow { color: var(--gold); }
.bet h2 { font-size: clamp(2.4rem, 9vw, 3.4rem); margin: 4px 0 10px; }
.bet-cat { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--display); font-stretch: 75%; font-weight: 900; font-size: 1.4rem; text-transform: uppercase; }
.bet-cat .cat-ico { border-color: var(--paper); }
.bet-sub { margin: 0 auto 14px; max-width: 42ch; color: #cfc6b2; }
.bet-sub b { color: var(--paper); }
.bet-out { display: block; font-family: var(--display); font-stretch: 65%; font-weight: 900; font-size: 4.2rem; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.bet input[type=range] { width: 100%; margin: 12px 0 14px; accent-color: var(--gold); height: 28px; }
.bet-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.bet-quick .tool { color: var(--ink); box-shadow: 3px 3px 0 var(--gold); }
.bet .btn { background: var(--gold); color: var(--ink); box-shadow: 3px 3px 0 var(--paper); min-width: 200px; }

/* ---------- Result ---------- */
#result { display: grid; place-items: start center; }
.result-card {
  width: min(100%, 520px); margin-top: 4vh;
  padding: 26px 22px; text-align: center;
  background: var(--card); border: 2.5px solid var(--line); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink);
}
.r-score { margin: 6px 0 0; font-family: var(--display); font-stretch: 65%; font-weight: 900; font-size: clamp(4rem, 18vw, 6rem); line-height: .9; }
.r-verdict { margin: 4px 0 10px; font-weight: 800; font-size: 1.1rem; }
.r-grid { margin: 0 0 12px; font-size: clamp(1rem, 5.6vw, 1.5rem); letter-spacing: 2px; line-height: 1.2; white-space: nowrap; }
.r-vs { margin: 0 0 14px; padding: 8px 12px; border: 2px dashed var(--ink); border-radius: 10px; background: var(--gold-soft); font-weight: 800; }
.r-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 16px; }
.r-cards span { padding: 3px 9px; border: 2px solid var(--ink); border-radius: 8px; font-size: .8rem; font-weight: 800; background: var(--card); }
.r-cards span.gold { background: var(--gold); }
.r-cards span.new::after { content: ' NEW'; font-size: .7rem; color: var(--red); }
.name-field { display: grid; gap: 6px; margin: 0 auto 16px; max-width: 280px; font-size: .8rem; font-weight: 800; color: var(--muted); text-align: left; }
.name-field input { min-height: 44px; padding: 8px 12px; border: 2.5px solid var(--ink); border-radius: 10px; background: #fff; font-weight: 700; color: var(--ink); }
.row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.toast { min-height: 1.4em; margin: 8px 0 0; font-weight: 800; color: var(--green); }

/* ---------- Album ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button {
  flex: none; min-height: 38px; padding: 4px 12px;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--card);
  font-weight: 800; font-size: .85rem; white-space: nowrap;
}
.filters button[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
@media (max-width: 420px) { .album-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
.sticker {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 2.5px solid var(--ink); border-radius: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.sticker .photo-frame { width: 100%; border: 0; border-bottom: 2.5px solid var(--ink); border-radius: 0; }
.sticker .cap { padding: 6px 8px 8px; }
.sticker .cap .nm { font-family: var(--display); font-stretch: 75%; font-weight: 900; font-size: .95rem; line-height: 1; text-transform: uppercase; }
.sticker .cap .meta { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: .7rem; font-weight: 700; color: var(--muted); }
.sticker .cap .flag { width: 18px; height: 12px; }
.sticker.gold { border-color: #8a5a00; background: linear-gradient(135deg, #fff3c4, #f2c54b 55%, #fff1b8); }
.sticker.gold::after {
  content: 'GOLD'; position: absolute; top: 6px; right: 6px;
  padding: 1px 6px; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--gold);
  font-size: .7rem; font-weight: 900;
}
.sticker.empty { background: transparent; border-style: dashed; box-shadow: none; }
.sticker.empty .photo-frame { background: transparent; border-bottom-style: dashed; }
.sticker.empty .num { position: absolute; inset: 0 0 auto; aspect-ratio: 4 / 5; display: grid; place-items: center; font-family: var(--display); font-stretch: 70%; font-weight: 900; font-size: 2rem; color: rgba(28, 26, 22, .22); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
