/* 17-0 — dark stadium theme. Display: Anton. Body: Fira Sans. Stats: IBM Plex Mono. */

:root {
  --bg: #07090f;
  --bg2: #0c111c;
  --panel: #111827cc;
  --panel-solid: #111827;
  --line: #ffffff14;
  --line-bright: #ffffff2e;
  --ink: #f3f5f9;
  --ink-dim: #9aa5b5;
  --ink-faint: #5d6878;
  --gold: #ffc62f;
  --gold-deep: #e8a200;
  --turf: #2fbf71;
  --loss: #ff5d5d;
  --font-display: 'Anton', 'Arial Black', sans-serif;
  --font-body: 'Fira Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- stadium backdrop: glow + yard lines ---------- */
.field-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 500px at 50% -10%, #1b2b4a66, transparent 70%),
    radial-gradient(900px 600px at 85% 110%, #143a2455, transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 119px, #ffffff07 119px 121px),
    linear-gradient(180deg, var(--bg2), var(--bg) 60%);
}
.field-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, transparent 55%, #00000080 100%);
}

/* ---------- topbar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 40;
  background: #07090fb8;
}
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.brand-ball { font-size: 20px; filter: drop-shadow(0 0 6px #ffc62f55); }
.brand-mark {
  font-family: var(--font-display); font-size: 26px; letter-spacing: 1px;
  color: var(--ink);
}
.brand-dash { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.streak-chip {
  display: flex; align-items: center; gap: 8px; padding: 6px 12px;
  border: 1px solid var(--line-bright); border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px;
}
.chip-label { color: var(--ink-faint); letter-spacing: 2px; font-size: 10px; }
.chip-val { color: var(--gold); font-weight: 700; }
.icon-btn {
  background: none; border: 1px solid var(--line-bright); color: var(--ink);
  border-radius: 10px; padding: 6px 10px; cursor: pointer; font-size: 14px;
  transition: border-color .15s;
}
.icon-btn:hover { border-color: var(--gold); }
.ghost-btn {
  background: none; border: 1px solid var(--line-bright); color: var(--ink-dim);
  border-radius: 10px; padding: 8px 14px; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: .5px;
  transition: all .15s;
}
.ghost-btn:hover { color: var(--ink); border-color: var(--gold); }

/* ---------- screens ---------- */
.screen { max-width: 1060px; margin: 0 auto; padding: 22px 18px 80px; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 7vh 10px 0; }
.hero-kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 5px;
  color: var(--gold); margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(110px, 22vw, 220px);
  line-height: .95; letter-spacing: 2px;
  background: linear-gradient(180deg, #fff 20%, #ffc62f 75%, #e8a200);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 40px #ffc62f2a);
}
.hero-dash { color: transparent; }
.hero-sub { font-size: clamp(18px, 3vw, 26px); margin-top: 8px; color: var(--ink); font-weight: 600; }
.hero-sub em { color: var(--gold); font-style: normal; }
.hero-body {
  max-width: 560px; margin: 16px auto 0; color: var(--ink-dim);
  font-size: 15px; line-height: 1.65;
}
.play-btn {
  margin-top: 30px; padding: 18px 46px; border: none; border-radius: 14px;
  font-family: var(--font-display); font-size: 22px; letter-spacing: 2px;
  color: #1a1200; cursor: pointer;
  background: linear-gradient(180deg, #ffd95e, #ffc62f 50%, #f0a800);
  box-shadow: 0 6px 0 #8a5e00, 0 16px 40px #ffc62f33;
  transition: transform .08s, box-shadow .08s;
}
.play-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #8a5e00, 0 20px 44px #ffc62f44; }
.play-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #8a5e00; }
.play-btn.small { font-size: 17px; padding: 13px 30px; }
.hero-stats {
  margin-top: 34px; display: flex; gap: 26px; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint);
}
.hero-stats b { color: var(--ink); display: block; font-size: 18px; }

/* ---------- roster tray ---------- */
.roster-tray {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 14px;
}
.slot {
  border: 1.5px dashed var(--line-bright); border-radius: 14px;
  min-height: 108px; padding: 10px 12px; position: relative; overflow: hidden;
  background: #0d131f80; transition: border-color .2s;
}
.slot.next-open { border-color: var(--gold); box-shadow: 0 0 0 1px #ffc62f33, 0 0 24px #ffc62f14 inset; }
.slot.filled { border-style: solid; border-color: var(--line); background: var(--panel-solid); }
.slot-pos {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 2px;
  color: var(--ink-faint);
}
.slot.filled .slot-pos { color: var(--gold); }
.slot-empty-hint { color: var(--ink-faint); font-size: 11px; margin-top: 18px; font-family: var(--font-mono); }
.slot-stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.slot-player { margin-top: 6px; }
.slot-name { font-weight: 700; font-size: 13.5px; line-height: 1.2; }
.slot-meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-dim); margin-top: 3px; }
.slot-stat { font-family: var(--font-mono); font-size: 10.5px; color: var(--gold); margin-top: 4px; }
.slot.pop { animation: slotPop .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes slotPop { 0% { transform: scale(.86); } 100% { transform: scale(1); } }

/* ---------- slot machine ---------- */
.machine-zone { display: flex; justify-content: center; }
.machine {
  width: 100%; max-width: 660px; border-radius: 22px; padding: 18px 22px 24px;
  background: linear-gradient(180deg, #161e2e, #0e1422);
  border: 1px solid var(--line-bright);
  box-shadow: 0 24px 70px #00000080, 0 0 0 6px #0b101b, 0 0 60px #ffc62f0d;
}
.machine-top { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 14px; }
.machine-title {
  font-family: var(--font-display); letter-spacing: 3px; font-size: 15px; color: var(--ink-dim);
}
.machine-light {
  width: 10px; height: 10px; border-radius: 50%; background: #3a4356;
  transition: background .2s, box-shadow .2s;
}
.machine-light.on { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.reels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reel-box { display: flex; flex-direction: column; gap: 8px; }
.reel-label {
  text-align: center; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 4px; color: var(--ink-faint);
}
.reel {
  height: 92px; border-radius: 14px; overflow: hidden; position: relative;
  background: #060910;
  border: 1px solid var(--line-bright);
  box-shadow: inset 0 8px 22px #000000cc, inset 0 -8px 22px #000000cc;
}
.reel-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #060910 0%, transparent 32%, transparent 68%, #060910 100%);
}
.reel-strip { will-change: transform; }
.reel-cell {
  height: 92px; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px; padding: 0 10px; text-align: center;
}
.reel-team-badge {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-family: var(--font-display); font-size: 12px;
  letter-spacing: .5px; border: 2px solid #ffffff30; color: #fff;
  text-shadow: 0 1px 2px #00000088;
}
.reel-team-name { font-weight: 700; font-size: 13.5px; line-height: 1.1; }
.reel-era-years { font-family: var(--font-display); font-size: 24px; letter-spacing: 1px; color: var(--ink); }
.reel-era-name { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 3px; color: var(--gold); }
.reroll-btn {
  border: 1px solid var(--line-bright); background: #ffffff08; color: var(--ink-dim);
  border-radius: 10px; padding: 7px 8px; cursor: pointer; font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 1px; transition: all .15s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.reroll-btn:not(:disabled):hover { color: var(--gold); border-color: var(--gold); background: #ffc62f12; }
.reroll-btn:disabled { opacity: .35; cursor: not-allowed; }
.reroll-icon { font-size: 13px; }
.reroll-count { color: var(--gold); }
.reroll-btn:disabled .reroll-count { color: inherit; }
.spin-btn {
  margin-top: 16px; width: 100%; padding: 15px; border: none; border-radius: 13px;
  font-family: var(--font-display); font-size: 19px; letter-spacing: 3px;
  color: #1a1200; cursor: pointer;
  background: linear-gradient(180deg, #ffd95e, #ffc62f 50%, #f0a800);
  box-shadow: 0 5px 0 #8a5e00;
  transition: transform .08s, box-shadow .08s, opacity .2s;
}
.spin-btn:not(:disabled):hover { transform: translateY(-1px); }
.spin-btn:not(:disabled):active { transform: translateY(3px); box-shadow: 0 1px 0 #8a5e00; }
.spin-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- picker ---------- */
.picker { margin-top: 22px; animation: rise .4s cubic-bezier(.2,1,.3,1); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.picker-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.picker-title { font-family: var(--font-display); font-size: 20px; letter-spacing: 1px; }
.picker-title .accent { color: var(--gold); }
.picker-hint { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); }
.picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: 10px; }

.pcard {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel-solid);
  padding: 12px 13px 11px; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .12s, border-color .12s, box-shadow .12s;
  text-align: left; color: var(--ink); font-family: var(--font-body); width: 100%;
}
.pcard:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 12px 30px #00000066; }
.pcard:disabled { opacity: .32; cursor: not-allowed; transform: none; }
.pcard:disabled:hover { border-color: var(--line); box-shadow: none; }
.pcard-stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.pcard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.pcard-pos {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 2px;
  padding: 3px 8px; border-radius: 6px; background: #ffffff10; color: var(--ink-dim);
}
.pcard-season { font-family: var(--font-mono); font-size: 11px; color: var(--gold); }
.pcard-name { font-weight: 700; font-size: 14.5px; line-height: 1.15; min-height: 33px; }
.pcard-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px 8px; margin-top: 8px;
  font-family: var(--font-mono); font-size: 10px;
}
.pstat b { display: block; color: var(--ink); font-size: 12px; }
.pstat span { color: var(--ink-faint); font-size: 8.5px; letter-spacing: 1px; }
.pcard-fit { margin-top: 8px; font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-faint); letter-spacing: 1px; }
.pcard-fit .fit-yes { color: var(--turf); }

.pos-group-label {
  grid-column: 1 / -1; font-family: var(--font-display); letter-spacing: 3px;
  font-size: 12px; color: var(--ink-faint); margin-top: 8px;
  border-bottom: 1px solid var(--line); padding-bottom: 5px;
}

/* ---------- overlays ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 80; overflow-y: auto;
  background: #05070cf0; backdrop-filter: blur(10px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px; animation: fadeIn .3s;
}
.overlay.light { background: #05070cd0; align-items: center; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- reveal ---------- */
.reveal-inner { max-width: 720px; width: 100%; text-align: center; padding-top: 2vh; }
.reveal-kicker { font-family: var(--font-mono); letter-spacing: 6px; font-size: 12px; color: var(--gold); }
.season-weeks {
  display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin: 24px 0 10px;
  min-height: 36px;
}
.week-dot {
  width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center;
  justify-content: center; font-family: var(--font-display); font-size: 14px;
  background: #ffffff0c; color: transparent; border: 1px solid var(--line);
  transition: all .15s;
}
.week-dot.w { background: #2fbf7122; border-color: #2fbf71aa; color: var(--turf); animation: dotPop .3s cubic-bezier(.2,1.8,.4,1); }
.week-dot.l { background: #ff5d5d1d; border-color: #ff5d5daa; color: var(--loss); animation: shake .35s; }
@keyframes dotPop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.reveal-record {
  font-family: var(--font-display); font-size: clamp(72px, 16vw, 140px); line-height: 1;
  margin-top: 10px; opacity: 0; transform: scale(.7); letter-spacing: 2px;
}
.reveal-record.show { opacity: 1; transform: scale(1); transition: all .5s cubic-bezier(.2,1.4,.3,1); }
.reveal-record.perfect {
  background: linear-gradient(180deg, #fff, #ffc62f 70%, #e8a200);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px #ffc62f66);
}
.reveal-stars { font-size: 34px; letter-spacing: 8px; margin-top: 8px; min-height: 44px; }
.reveal-stars .star { opacity: 0; display: inline-block; transform: scale(.3) rotate(-30deg); color: var(--gold); text-shadow: 0 0 18px #ffc62f77; }
.reveal-stars .star.dim { color: #3a4356; text-shadow: none; }
.reveal-stars .star.in { opacity: 1; transform: scale(1) rotate(0); transition: all .35s cubic-bezier(.2,1.8,.4,1); }
.reveal-grade { margin-top: 12px; opacity: 0; transition: opacity .5s; }
.reveal-grade.show { opacity: 1; }
.grade-plate {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px;
  border: 1px solid var(--line-bright); border-radius: 999px; background: var(--panel);
}
.grade-letter { font-family: var(--font-display); font-size: 26px; color: var(--gold); }
.grade-title { font-weight: 700; letter-spacing: 1px; }
.reveal-breakdown {
  margin: 26px auto 0; max-width: 520px; display: grid; gap: 8px;
  opacity: 0; transition: opacity .5s .15s;
}
.coach-note {
  text-align: center; font-size: 14px; color: var(--ink-dim); line-height: 1.6;
  padding: 12px 18px; border: 1px dashed var(--line-bright); border-radius: 12px;
  background: #ffffff06;
}
.coach-tag {
  display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 3px;
  color: var(--gold); margin-bottom: 4px;
}
.reveal-breakdown.show { opacity: 1; }
.bd-row { display: grid; grid-template-columns: 86px 1fr 52px; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 11px; }
.bd-cat { color: var(--ink-dim); letter-spacing: 1px; }
.bd-bar { height: 8px; border-radius: 99px; background: #ffffff10; overflow: hidden; }
.bd-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #4a5a78, #ffc62f); transition: width 1s cubic-bezier(.3,1,.3,1); }
.bd-pct { color: var(--ink-faint); text-align: right; }
.reveal-roster {
  margin: 26px auto 0; max-width: 560px; display: grid; gap: 6px;
  opacity: 0; transition: opacity .5s .3s;
}
.reveal-roster.show { opacity: 1; }
.rr-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); font-size: 13px;
}
.rr-pos { font-family: var(--font-display); font-size: 11px; letter-spacing: 2px; color: var(--gold); width: 44px; text-align: left; }
.rr-name { font-weight: 700; flex: 1; text-align: left; }
.rr-team { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); }
.reveal-actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; padding-bottom: 40px; }

/* ---------- slot choice ---------- */
.slot-choice-card {
  background: var(--panel-solid); border: 1px solid var(--line-bright); border-radius: 18px;
  padding: 26px; text-align: center; max-width: 360px; width: 100%;
  box-shadow: 0 30px 80px #000000aa;
}
.slot-choice-title { font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
.slot-choice-btns { display: grid; gap: 10px; margin-bottom: 14px; }
.slot-choice-btns button {
  padding: 13px; border-radius: 12px; border: 1px solid var(--line-bright);
  background: #ffffff0a; color: var(--ink); font-family: var(--font-display);
  letter-spacing: 2px; font-size: 15px; cursor: pointer; transition: all .15s;
}
.slot-choice-btns button:hover { border-color: var(--gold); color: var(--gold); background: #ffc62f10; }

/* ---------- franchise picker ---------- */
.franchise-btn { margin-top: 14px; }
.team-pick-card {
  position: relative; background: var(--panel-solid); border: 1px solid var(--line-bright);
  border-radius: 20px; max-width: 720px; width: 100%; padding: 30px 32px;
  box-shadow: 0 30px 80px #000000aa;
}
.team-pick-card h2 { font-family: var(--font-display); letter-spacing: 2px; margin-bottom: 6px; }
.team-pick-sub { color: var(--ink-dim); font-size: 13px; margin-bottom: 18px; }
.team-pick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.team-chip {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 10px; background: #ffffff06;
  color: var(--ink); cursor: pointer; font-family: var(--font-body);
  font-weight: 600; font-size: 12px; text-align: left; transition: all .12s;
}
.team-chip:hover { border-color: var(--gold); transform: translateY(-1px); }
.team-chip-badge {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 9px; color: #fff;
  border: 1.5px solid #ffffff30; text-shadow: 0 1px 2px #00000088;
}
.crown-count { color: var(--gold); font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; }
.team-chip .chip-crown { margin-left: auto; font-size: 13px; }
.crown-plate {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; border-radius: 999px; border: 1px solid #ffc62f88;
  background: #ffc62f14; font-weight: 700; letter-spacing: 1px; font-size: 13px;
  color: var(--gold);
}
.franchise-lock {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px;
  color: var(--gold);
}

/* ---------- how to play ---------- */
.howto-card {
  position: relative; background: var(--panel-solid); border: 1px solid var(--line-bright);
  border-radius: 20px; max-width: 620px; width: 100%; padding: 34px 36px;
  line-height: 1.65; font-size: 14.5px; color: var(--ink-dim);
  box-shadow: 0 30px 80px #000000aa;
}
.howto-card h2 { font-family: var(--font-display); letter-spacing: 2px; color: var(--ink); margin-bottom: 12px; }
.howto-card h3 { font-family: var(--font-display); letter-spacing: 1.5px; font-size: 14px; color: var(--gold); margin: 18px 0 6px; }
.howto-card strong { color: var(--ink); }
.howto-card em { color: var(--ink); font-style: italic; }
.howto-fine { margin-top: 20px; font-size: 11.5px; color: var(--ink-faint); }
.howto-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  color: var(--ink-faint); font-size: 18px; cursor: pointer;
}
.howto-close:hover { color: var(--ink); }
.pos-tag {
  font-family: var(--font-mono); font-size: 11px; background: #ffffff10;
  border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; color: var(--ink);
}

/* ---------- footer & confetti ---------- */
.footer {
  position: fixed; bottom: 0; left: 0; right: 0; padding: 9px 16px;
  display: flex; justify-content: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10px; color: var(--ink-faint);
  background: #07090fd5; border-top: 1px solid var(--line); z-index: 30;
}
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; }

/* ---------- responsive (mobile is the primary audience) ---------- */
@media (max-width: 760px) {
  .screen { padding: 14px 10px 30px; }

  /* topbar: tighter, everything on one row */
  .topbar { padding: 9px 12px; gap: 8px; }
  .brand-mark { font-size: 21px; }
  .brand-ball { font-size: 16px; }
  .topbar-right { gap: 6px; }
  .streak-chip { padding: 5px 9px; }
  .ghost-btn { padding: 7px 9px; font-size: 11px; }
  .icon-btn { padding: 5px 8px; }

  /* hero */
  .hero { padding-top: 4vh; }
  .hero-kicker { font-size: 10px; letter-spacing: 3px; }
  .hero-body { font-size: 13.5px; padding: 0 6px; }
  .play-btn { padding: 16px 34px; font-size: 19px; width: 100%; max-width: 340px; }
  .hero-stats { gap: 18px; }

  /* roster tray: five compact chips that FIT — no horizontal scrolling */
  .roster-tray { gap: 5px; margin-bottom: 10px; }
  .slot { min-height: 58px; padding: 6px 6px 6px 9px; border-radius: 10px; }
  .slot-pos { font-size: 9.5px; letter-spacing: 1px; }
  .slot-empty-hint { font-size: 8px; margin-top: 8px; }
  .slot-player { margin-top: 3px; }
  .slot-name { font-size: 9.5px; line-height: 1.15; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .slot-meta, .slot-stat { display: none; }
  .slot-stripe { width: 3px; }

  /* machine */
  .machine { padding: 12px 12px 16px; border-radius: 16px; }
  .machine-title { font-size: 13px; }
  .reels { grid-template-columns: 1fr; gap: 10px; }
  .reel { height: 84px; }
  .reel-cell { height: 84px; }
  .spin-btn { margin-top: 12px; padding: 14px; font-size: 17px; }

  /* picker: two-up compact cards */
  .picker { margin-top: 14px; }
  .picker-title { font-size: 16px; }
  .picker-hint { font-size: 9.5px; }
  .picker-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .pcard { padding: 9px 9px 8px; border-radius: 11px; }
  .pcard-name { font-size: 12px; min-height: 28px; }
  .pcard-pos { font-size: 9px; padding: 2px 6px; }
  .pcard-season { font-size: 8.5px; }
  .pcard-stats { gap: 3px 4px; margin-top: 6px; }
  .pstat b { font-size: 10.5px; }
  .pstat span { font-size: 7px; letter-spacing: .5px; }
  .pcard-fit { display: none; }
  .pos-group-label { font-size: 10.5px; letter-spacing: 2px; }

  /* reveal */
  .overlay { padding: 24px 10px; }
  .season-weeks { gap: 5px; }
  .week-dot { width: 27px; height: 27px; font-size: 12px; border-radius: 7px; }
  .reveal-stars { font-size: 27px; letter-spacing: 6px; }
  .bd-row { grid-template-columns: 70px 1fr 40px; font-size: 9.5px; }
  .rr-row { padding: 7px 10px; font-size: 12px; }
  .rr-team { font-size: 9px; }
  .reveal-actions { flex-direction: column; align-items: stretch; gap: 9px; padding-bottom: 24px; }
  .reveal-actions .ghost-btn, .reveal-actions .play-btn { width: 100%; }

  .howto-card { padding: 24px 18px; font-size: 13.5px; }
  .team-pick-card { padding: 22px 16px; }
  .team-pick-grid { grid-template-columns: repeat(2, 1fr); }

  /* fixed footer steals thumb space on phones */
  .footer { display: none; }
}

/* very small phones */
@media (max-width: 380px) {
  .hero-title { font-size: 96px; }
  .streak-chip .chip-label { display: none; }
  .picker-grid { grid-template-columns: 1fr 1fr; }
}
