:root {
  --bg: #07090e; --ink: #f4f6fa; --muted: #8b9bb0; --lime: #b6ff3b; --gold: #f5c518;
  --line: rgba(255,255,255,.1); --card: #121824; --cyan: #5eead4;
}
* { box-sizing: border-box; }
html, body { margin: 0; color: var(--ink); font-family: system-ui, "Segoe UI", sans-serif; background: var(--bg); }
body { min-height: 100dvh; background:
  radial-gradient(800px 380px at 0% -10%, rgba(182,255,59,.12), transparent 50%),
  radial-gradient(700px 400px at 100% 0%, rgba(245,197,24,.1), transparent 50%), var(--bg); }
a { color: var(--cyan); }
.top {
  display: flex; align-items: center; gap: .45rem; padding: .2rem .55rem;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0;
  background: rgba(7,9,14,.94); backdrop-filter: blur(12px); z-index: 40;
  min-height: calc(44px + env(safe-area-inset-top, 0px));
  height: auto;
  pointer-events: auto;
}
.top b { font-family: "Archivo Black", sans-serif; letter-spacing: .1em; font-size: .78rem;
  background: linear-gradient(90deg, var(--lime), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent;
  flex: 0 0 auto; padding: 0 .2rem; }
.top a {
  color: var(--muted); text-decoration: none; font-weight: 800; font-size: .78rem;
  min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 .45rem; pointer-events: auto; -webkit-tap-highlight-color: transparent;
}
body.gameday {
  padding-top: calc(44px + env(safe-area-inset-top, 0px));
  box-sizing: border-box;
}
body.gameday .top {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; flex-wrap: nowrap; align-items: stretch;
  height: calc(44px + env(safe-area-inset-top, 0px));
  min-height: calc(44px + env(safe-area-inset-top, 0px));
  padding: 0 .2rem;
  padding-top: env(safe-area-inset-top, 0px);
  gap: 0;
  z-index: 40;
  overflow: hidden;
  pointer-events: auto;
  touch-action: manipulation;
}
body.gameday .top b { display: none; }
body.gameday .top a {
  flex: 1 1 0;
  min-height: 44px; min-width: 44px;
  font-size: .68rem; padding: 0 .2rem;
  white-space: nowrap;
  touch-action: manipulation;
  pointer-events: auto;
}
body.gameday.book-open .book-ov { z-index: 35; }
body.gameday.book-open .tv-row { z-index: 80; position: relative; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 1.2rem 1rem 3rem; }
h1 { font-family: "Archivo Black", sans-serif; font-size: clamp(1.8rem, 6vw, 2.8rem); margin: .2rem 0 .4rem; }
.kicker { color: var(--lime); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sub { color: var(--muted); max-width: 46rem; }
.row { display: flex; flex-wrap: wrap; gap: .55rem; align-items: end; margin: .9rem 0; }
label { font-size: .72rem; font-weight: 800; color: var(--muted); display: flex; flex-direction: column; gap: .28rem; }
input, select, button {
  font: inherit; font-size: 16px; background: #0c1420; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; padding: .65rem .7rem;
}
button { background: var(--lime); color: #06100a; border: 0; font-weight: 800; border-radius: 999px; padding: .75rem 1.2rem; cursor: pointer; }
button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.row label:has(input[type=checkbox]) {
  flex-direction: row; align-items: center; background: var(--card); border-radius: 999px;
  padding: .4rem .85rem; border: 1px solid var(--line);
}
.kpi { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin: .8rem 0 1.2rem; }
@media (min-width: 800px) { .kpi { grid-template-columns: repeat(4, 1fr); } }
.kpi div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .8rem; }
.kpi span { display: block; font-size: .68rem; color: var(--muted); text-transform: uppercase; }
.kpi strong { font-size: 1.25rem; color: var(--lime); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1rem; margin: 1rem 0; }
.sec { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
th, td { text-align: left; padding: .45rem .4rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: .68rem; text-transform: uppercase; cursor: pointer; }
.bar { height: 8px; background: var(--lime); border-radius: 99px; min-width: 2px; }
.table-wrap { overflow-x: auto; }
.tiny { font-size: .78rem; color: var(--muted); }
.legend {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: .85rem 1rem; margin: 0 0 1rem; font-size: .8rem; color: var(--muted);
}
.legend p { margin: .28rem 0; }
.legend b { color: var(--ink); }
details.factors {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: .7rem 1rem; margin: 0 0 1rem; font-size: .8rem; color: var(--muted);
}
details.factors summary { cursor: pointer; color: var(--ink); font-weight: 700; }
details.factors ul { margin: .4rem 0 0; padding-left: 1.15rem; }
details.factors li { margin: .28rem 0; }
td.up { color: var(--lime); font-weight: 800; }
td.dn { color: #f87171; font-weight: 800; }
td.mid { color: var(--gold); }
.progress { height: 8px; background: #0c1420; border-radius: 99px; overflow: hidden; margin: .6rem 0 1rem; }
.progress i { display: block; height: 100%; background: var(--lime); width: 0; }
.grid2 { display: grid; gap: .7rem; }
@media (min-width: 820px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.chart { width: 100%; height: 220px; }
.QB { color: #7dd3fc; } .RB { color: #86efac; } .WR { color: #fdba74; } .TE { color: #c4b5fd; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .5rem; margin: 0 0 1rem; }
.card { text-align: left; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: .7rem .8rem; }
.card b { display: block; }
.card small { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; }
.card.on { outline: 2px solid var(--lime); }
.day-sim .plays, .day-sim .cats, .day-watch .plays, .day-watch .cats, .day-play .plays, .day-play .cats { display: none; }
.day-sim #hike, .day-watch #hike { display: none; }
#bookJump, #jumpBtn, #hudJump, #thumbJump { font-weight: 800; }
#bookJump { min-height: 44px; }
#jumpBtn.on, #hudJump.on, #thumbJump.on, #bookJump.on { background: #b6ff3b; color: #06100a; border-color: transparent; }
body.se-phone .book-head #bookJump:not(.hide) { display: inline-flex !important; }
.day-autosim #hike, .day-autosim #hikeStack, .day-autosim #bookHikeStack, .day-autosim #hudHikeStack,
.day-autosim #toLine, .day-autosim #bookToLine, .day-autosim #hudToLine, .day-autosim #lineTray,
.day-autosim #bookOv, .day-autosim .plays, .day-autosim .cats { display: none !important; }
.day-autosim #why { opacity: 1; }
.day-watch .stad { outline: 2px solid var(--gold); }
.plays { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.plays button { background: #0c1420; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .8rem; font-size: .8rem; }
.field { width: 100%; height: auto; border-radius: 12px; display: block; }
.scorebar { display: flex; flex-wrap: wrap; gap: .8rem; font-size: .78rem; font-weight: 800; margin-bottom: .5rem; }
body[data-look="retro"] .field { image-rendering: pixelated; filter: contrast(1.15); }
body[data-look="madden"] .field { filter: saturate(1.2); }
.stad { background: #0e1a12; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; min-height: 280px; }
.stad svg { width: 100%; height: 100%; min-height: 0; display: block; touch-action: none; cursor: crosshair; background: #0e1a12; flex: 1 1 auto; }
.ex-big { position: relative; }
.ex-big.you { outline: 2px solid var(--lime); }
.ex-you {
  position: absolute; top: .4rem; left: .45rem; z-index: 1;
  font-size: .62rem; font-weight: 800; letter-spacing: .14em;
  background: var(--lime); color: #06100a; border-radius: 99px; padding: .12rem .4rem;
}
.ex-role {
  font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
}
.ex-big.away { box-shadow: inset 0 3px 0 #5eead4; }
.ex-big.home { box-shadow: inset 0 3px 0 #f5c518; }
.ex-big.away .ex-role { color: #5eead4; }
.ex-big.home .ex-role { color: #f5c518; }
.ex-vs { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.ex-at { font-family: "Archivo Black", sans-serif; color: var(--gold); font-size: 1.6rem; line-height: 1; }
.ex-vs small { letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-size: .62rem; }
.ex-swap { font-size: .72rem; padding: .3rem .55rem; }
.ex-chip.home { outline: 2px solid #f5c518; }
.ex-chip.away { outline: 2px solid #5eead4; }
.tv-row { display: flex; flex-direction: column; position: relative; z-index: 32; flex: 0 0 auto; }
.sit-line {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem .85rem;
  margin: .15rem 0 .2rem; font-family: "Archivo Black", sans-serif;
  letter-spacing: .04em; line-height: 1.1;
}
.sit-line .dn { color: #dbe4ef; font-size: clamp(1.15rem, 2.4vw, 1.55rem); }
.sit-line .spot { color: #f5c518; font-size: clamp(1.35rem, 3vw, 1.85rem); }
.nfl-bug {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 64px;
  max-height: none;
  background: transparent;
  border: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  font-family: "Arial Black", "Archivo Black", sans-serif;
  font-variant-numeric: tabular-nums;
}
.nfl-bug .nb-site {
  flex: 0 0 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 .5rem;
  background: #07090e;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nfl-bug .nb-bar {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 64px;
  min-height: 64px;
  background: #07090e;
}
.nfl-bug .nb-half {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  padding: 0 .55rem;
  color: var(--ink, #fff);
  background: var(--nb, #222);
  background: color-mix(in srgb, var(--nb, #222) 80%, #000);
}
.nfl-bug .nb-half:first-child { justify-content: flex-start; }
.nfl-bug .nb-half:last-child { justify-content: flex-end; }
.nfl-bug .nb-pip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink, #fff);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .28);
  flex: 0 0 auto;
}
.nfl-bug .nb-logo {
  width: 1.85rem; height: 1.85rem; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  background: transparent;
}
.nfl-bug .nb-logo img {
  width: 1.85rem; height: 1.85rem; object-fit: contain; display: block;
  position: relative; z-index: 1;
  background: transparent;
}
.nfl-bug .nb-logo svg {
  width: 1.85rem; height: 1.85rem; display: none; overflow: visible;
  position: absolute; inset: 0;
}
.nfl-bug .nb-logo.miss svg { display: block; }
.nfl-bug .nb-abbr { letter-spacing: .06em; font-size: 1.05rem; line-height: 1; }
.nfl-bug .nb-sc { font-size: 2.35rem; line-height: 1; font-weight: 900; }
.nfl-bug .nb-seam {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  flex: 0 0 auto;
  min-width: 0;
  padding: 0 .7rem;
  background: #07090e;
  color: #fff;
  text-align: center;
}
.nfl-bug .nb-q { font-size: .92rem; letter-spacing: .04em; line-height: 1; font-weight: 900; white-space: nowrap; }
.nfl-bug .nb-pc {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  color: #f5c518;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 2.1rem;
  text-align: center;
}
.nfl-bug .nb-pc.low { color: #ff5a5a; }
.nfl-bug .nb-pc.live { opacity: .85; }
.nfl-bug .nb-dn { font-size: .92rem; letter-spacing: .02em; line-height: 1; font-weight: 900; white-space: nowrap; }
.nfl-bug .nb-wx {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nfl-bug .nb-wx svg { width: 16px; height: 16px; display: block; }
.nfl-bug .nb-sha {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
@media (max-width: 720px) {
  .nfl-bug .nb-bar { height: 56px; min-height: 56px; max-height: 56px; }
  .nfl-bug .nb-site { height: 16px; flex-basis: 16px; font-size: 10px; line-height: 16px; }
  .nfl-bug .nb-sc { font-size: 1.85rem; }
  .nfl-bug .nb-abbr { font-size: .92rem; }
  .nfl-bug .nb-q { font-size: .72rem; }
  .nfl-bug .nb-pc { font-size: .78rem; min-width: 1.7rem; display: block; }
  .nfl-bug .nb-dn { font-size: .72rem; }
  .nfl-bug .nb-seam { max-width: none; padding: 0 .28rem; gap: .28rem; }
  .nfl-bug .nb-logo, .nfl-bug .nb-logo img, .nfl-bug .nb-logo svg { width: 1.45rem; height: 1.45rem; }
  .nfl-bug .nb-half { padding: 0 .4rem; gap: .28rem; }
}
.cam-row {
  display: flex;
  align-items: stretch;
  height: 44px;
  min-height: 44px;
  background: #07090d;
  border-bottom: 1px solid rgba(255,255,255,.12);
  pointer-events: auto;
  z-index: 33;
}
.cam-row .cam-pick {
  flex: 1 1 0;
  height: 44px;
  min-height: 44px;
  min-width: 44px;
  margin: 0;
  padding: 0;
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: #c5d0dc;
  background: #07090d;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}
.cam-row .cam-pick:last-child { border-right: 0; }
.cam-row .cam-pick.on {
  color: #111;
  background: #f5c518;
}
.cam-tools {
  position: absolute; top: .45rem; right: .45rem; z-index: 22;
  display: flex; flex-direction: column; align-items: flex-end; gap: .28rem;
  pointer-events: auto;
}
.cam-chip {
  font-size: .62rem; font-weight: 800; letter-spacing: .14em;
  color: #f5c518; border: 1px solid rgba(245,197,24,.45);
  border-radius: 99px; padding: .28rem .55rem; background: rgba(5,7,12,.88);
  pointer-events: auto; cursor: pointer; max-width: 14rem;
}
.fps-chip { display: none; }

/* Career = Ultimate QB locker. Never the GM office. */
#view-car .kpi { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .45rem; margin: .6rem 0 1rem; }
#view-car .kpi div {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: .55rem .4rem; text-align: center;
}
#view-car .kpi span { display: block; color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
#view-car .kpi strong { font-size: 1.15rem; }
#carLocker .gm-acts { margin-top: .2rem; }
#carLocker .gm-acts button { min-height: 44px; }
@media (max-width: 520px) {
  #view-car .kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.zoom-rack {
  display: flex; gap: .22rem; align-items: center;
}
.zoom-rack button {
  font: inherit; font-size: .68rem; font-weight: 800; letter-spacing: .08em;
  padding: .28rem .5rem; border-radius: 99px; min-width: 2.1rem; min-height: 2.1rem;
  background: rgba(5,7,12,.88); color: #f4f6fa;
  border: 1px solid rgba(255,255,255,.14); cursor: pointer;
}
.zoom-rack #camZoomBtn {
  letter-spacing: .1em; font-size: .58rem; min-width: 7.2rem;
}
.zoom-rack button.on {
  color: #f5c518; border-color: rgba(245,197,24,.55);
}
.set-row input[type=range] {
  width: 9.2rem; accent-color: #f5c518;
}
.tv-pc {
  font-family: "Archivo Black", sans-serif; font-size: 1.35rem; letter-spacing: .06em;
  color: #5eead4; padding: .45rem .85rem; background: #0b1220; min-width: 4.2rem; text-align: center;
}
.tv-pc.low { color: #f87171; }
.banner {
  position: absolute; left: 50%; bottom: 16%; top: auto; right: auto;
  transform: translateX(-50%);
  width: min(36rem, 92%);
  text-align: left; pointer-events: none; z-index: 12;
  background: transparent; color: #f8fafc;
  font-family: "Arial Black", "Archivo Black", sans-serif;
  text-shadow: none; letter-spacing: 0;
}
.banner b { color: #fff; margin-right: .4rem; }
.banner.splash {
  font-size: 1rem;
  animation: td-in 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.banner.splash b { display: block; font-size: 2rem; margin: 0 0 .15rem; color: #fff; }
.banner.handset {
  pointer-events: auto;
  bottom: 18%;
  z-index: 18;
}
.hs-card {
  background: #07090d;
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: .85rem .95rem;
  text-align: center;
}
.hs-card b {
  display: block;
  font-size: 1.55rem;
  letter-spacing: .06em;
  color: var(--gold);
  margin: .15rem 0 .35rem;
}
.hs-card button {
  min-height: 44px;
  margin-top: .45rem;
  width: 100%;
}
.ex-mp { margin: .45rem 0 .2rem; }
.mp-row {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  margin: .25rem 0;
}
.mp-row button, .mp-row label { min-height: 44px; }
.mp-row input { min-height: 44px; min-width: 7rem; }
.mp-chip {
  display: inline-flex; align-items: center; min-height: 32px;
  padding: 0 .55rem; border-radius: 99px; border: 1px solid var(--line);
  font-size: .72rem; font-weight: 800;
}
.fl-friends { margin: .35rem 0 .6rem; }
.fl-friends .kicker { margin: 0 0 .25rem; }
.td-card {
  display: grid;
  grid-template-columns: 8px 1fr;
  background: #07090d;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  overflow: hidden;
}
.td-bar { display: block; background: var(--td, #c8102e); }
.td-body { padding: .7rem .95rem .8rem; }
.td-kicker {
  margin: 0;
  font-size: .68rem;
  letter-spacing: .22em;
  font-weight: 800;
  color: #c9d2de;
  text-transform: uppercase;
}
.td-word {
  margin: .12rem 0 .1rem;
  font-size: clamp(1.8rem, 5.4vw, 3.1rem);
  line-height: .92;
  letter-spacing: .12em;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
}
.td-card.td-td .td-word { letter-spacing: .16em; }
.td-who {
  margin: 0 0 .55rem;
  font-size: .95rem;
  letter-spacing: .08em;
  color: #e8eef6;
  font-family: "Segoe UI", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}
.td-score {
  display: flex; gap: .35rem;
  font-variant-numeric: tabular-nums;
}
.td-sc, .ex-score .td-sc {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .22rem .55rem;
  background: var(--nb, #1a1a1a);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  min-width: 5.6rem;
}
.td-sc b { letter-spacing: .1em; font-size: .72rem; }
.td-sc.on { box-shadow: inset 0 -2px 0 #fff; }
@keyframes td-in {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.lower-third {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22%;
  z-index: 16;
  pointer-events: none;
}
.lower-third.fox {
  position: absolute;
  left: 0;
  right: 0;
  top: 38%;
  bottom: auto;
  z-index: 16;
  pointer-events: none;
  overflow: hidden;
  height: clamp(148px, 34%, 248px);
}
.fox-td {
  position: relative;
  height: 100%;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.45));
}
.fox-slab {
  height: 100%;
  display: grid;
  grid-template-columns: clamp(108px, 24vw, 168px) 1fr;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 42%),
    linear-gradient(90deg, #07090d 0, #07090d 18px, var(--td, #c8102e) 18px);
  transform: translateX(-108%);
  animation: fox-wipe .62s cubic-bezier(.16,.84,.24,1) forwards;
}
.fox-face {
  overflow: hidden;
  background: #07090d;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow: inset -10px 0 18px rgba(0,0,0,.35);
}
.fox-face .pc-bust {
  width: 148%;
  height: auto;
  margin-bottom: -8%;
  transform: translateY(6%);
}
.fox-copy {
  min-width: 0;
  padding: .55rem .85rem .5rem .7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.fox-kicker {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: clamp(.62rem, 1.7vw, .82rem);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  animation: fox-line .35s .28s both;
}
.fox-word {
  margin: .05rem 0 .12rem;
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.5rem, 8.6vw, 5.1rem);
  line-height: .78;
  letter-spacing: -.04em;
  text-transform: uppercase;
  text-shadow: 0 3px 0 rgba(0,0,0,.28);
  animation: fox-word .42s .12s both;
}
.fox-who {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: .4rem;
  min-width: 0;
  font-family: "Archivo Black", "Arial Black", sans-serif;
  text-transform: uppercase;
  animation: fox-line .4s .38s both;
}
.fox-who b {
  font-size: clamp(1rem, 2.4vw, 1.45rem);
  letter-spacing: .04em;
  background: #fff;
  color: #111;
  padding: .05rem .28rem .02rem;
  line-height: 1.1;
}
.fox-first {
  font-family: Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(.85rem, 2vw, 1.15rem);
  letter-spacing: .04em;
  opacity: .92;
}
.fox-last {
  font-size: clamp(1.25rem, 3.4vw, 2.15rem);
  letter-spacing: -.02em;
  line-height: .9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fox-who i {
  font-style: normal;
  font-family: Arial, sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  opacity: .8;
}
.fox-gleam {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28%;
  left: -30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  animation: fox-gleam .7s .48s ease-out both;
  pointer-events: none;
}
@keyframes fox-wipe {
  from { transform: translateX(-108%); }
  to { transform: translateX(0); }
}
@keyframes fox-word {
  from { transform: translateX(36%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fox-line {
  from { transform: translateX(18%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fox-gleam {
  from { left: -30%; }
  to { left: 120%; }
}
@media (prefers-reduced-motion: reduce) {
  .banner.splash { animation: none; }
  .fox-slab, .fox-word, .fox-kicker, .fox-who { animation: none; transform: none; opacity: 1; }
  .fox-gleam { display: none; }
}
.cover-bar { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; margin: 0 0 .55rem; }
.cover-bar .sheet-card { padding: .4rem .45rem; }
.cover-bar .sheet-card b { font-size: .72rem; }
.on-d #sheet, .on-d #forms, .on-d #persBar { opacity: .35; pointer-events: none; }
.line-tray {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 7;
  background: linear-gradient(180deg, rgba(5,7,12,.72), rgba(5,7,12,.94));
  padding: .4rem .55rem .55rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.line-tray.hide { display: none; }
.line-tray .tiny { margin: 0 0 .35rem; color: #dbe4ef; }
.line-tray .hot-tray { display: flex; flex-wrap: wrap; gap: .28rem; }
.line-tray .hot-tray button {
  font-size: .72rem; padding: .32rem .55rem; border-radius: 999px;
  background: #0c1420; color: var(--ink); border: 1px solid var(--line);
}
.line-tray .hot-tray button.on { outline: 2px solid var(--lime); color: var(--lime); }
.on-d .cover-bar { outline: 1px solid rgba(94,234,212,.35); border-radius: 12px; padding: .25rem; }
#view-day:not(.on-d) .cover-bar { display: none; }
.book-head .ghost { flex: 0 0 auto; }
.book-ov {
  position: absolute; inset: 0; z-index: 50; padding-top: 4.1rem;
  display: grid; grid-template-columns: 9.5rem 1fr; gap: .45rem;
  background: rgba(5,7,12,.92); padding: .55rem;
  min-height: 0; overflow: hidden;
}
.book-ov.hide { display: none !important; }
#bookOv.hide,
#bookOv[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.book-rail { overflow: auto; border-right: 1px solid rgba(255,255,255,.08); padding-right: .4rem; min-height: 0; }
.book-kicker { margin: 0 0 .4rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #f5c518; }
.book-pers, .book-forms, .book-tabs { display: flex; flex-wrap: wrap; gap: .28rem; margin: 0 0 .4rem; }
.book-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.book-head { display: flex; justify-content: space-between; gap: .4rem; align-items: center; flex-wrap: wrap; }
.book-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .4rem; overflow: auto; flex: 1; min-height: 0; padding: .2rem 0;
  align-content: start;
}
.book-grid .se-tile small, .book-grid .sheet-card small { display: none; }
.book-split {
  grid-column: 1 / -1;
  margin: .35rem 0 .05rem;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f5c518;
  font-weight: 800;
}
.sheet-card .tile-tag {
  display: block;
  margin-top: .12rem;
  font-style: normal;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #f5c518;
}
.book-foot { display: flex; justify-content: space-between; gap: .5rem; align-items: center; }
.bug {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: .4rem; align-items: center;
  background: linear-gradient(90deg, #0b1220, #1a1a1a 40%, #3a0a12);
  padding: .55rem .9rem; font-weight: 800; font-size: .85rem;
}
.bug .away, .bug .home { font-family: "Archivo Black", sans-serif; letter-spacing: .06em; }
.juicebar { height: 6px; background: #222; border-radius: 99px; overflow: hidden; margin: .4rem 0; }
.juicebar i { display: block; height: 100%; background: linear-gradient(90deg, #f59e0b, #b6ff3b); }
.hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .55rem; }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: .85rem;
  min-height: 5.2rem; text-align: left; color: var(--ink);
}
.tile b { display: block; font-size: .95rem; }
.tile small { color: var(--muted); font-size: .72rem; }
.splash { display: grid; gap: .55rem; margin: .6rem 0 .8rem; }
@media (min-width: 800px) { .splash { grid-template-columns: repeat(5, 1fr); } }
.splash .hero {
  background: linear-gradient(160deg, #122018, #0c1420 60%);
  border: 1px solid var(--line); border-radius: 16px; padding: .85rem; min-height: 6.5rem;
  text-align: left; color: var(--ink);
  cursor: pointer; touch-action: manipulation; position: relative; z-index: 2;
}
button, a, [data-go] { touch-action: manipulation; }
.splash .hero h2 { font-family: "Archivo Black", sans-serif; margin: .2rem 0 .4rem; font-size: 1.35rem; }
.sound-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  margin: .35rem 0 .75rem;
  padding: .5rem .55rem;
  border-radius: 14px;
  background: rgba(12, 18, 28, .72);
  border: 1px solid rgba(245, 197, 24, .22);
}
.sound-strip .set-lab {
  width: 100%;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: .15rem 0 0;
}
.sound-strip .set-lab:first-child { margin-top: 0; }
.sound-strip button { min-height: 44px; padding: .4rem .75rem; }
.sound-strip button.on {
  background: var(--lime);
  color: #06100a;
}
.sound-strip button.stub,
.sound-strip button:disabled {
  opacity: .38;
  cursor: not-allowed;
}
.pause-panel .sound-strip { margin: .35rem 0 .55rem; }
.hide { display: none !important; }
.playart { font-size: .72rem; color: var(--gold); }
.draft-stage {
  background: linear-gradient(180deg, #1a1020, #0a0c12);
  border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; margin: .8rem 0 1rem;
  min-height: 10rem; text-align: center;
}
.pick-card { font-family: "Archivo Black", sans-serif; font-size: 1.15rem; letter-spacing: .04em; opacity: .85; }
.pick-card.in { animation: poppick .45s ease; }
.pick-card h2 { font-size: clamp(1.2rem, 4vw, 2rem); margin: .4rem 0; color: var(--gold); }
.pick-name { font-size: clamp(1.4rem, 5vw, 2.4rem); margin: 0; color: var(--lime); }
@keyframes poppick { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Coach Central — Madden franchise home */
.cc { display: grid; gap: 1rem; }
.cc-band {
  display: grid; gap: .7rem;
  grid-template-columns: 1.4fr 1fr;
}
@media (max-width: 820px) { .cc-band { grid-template-columns: 1fr; } }
.cc-hero {
  position: relative; overflow: hidden; border-radius: 22px; min-height: 11rem;
  padding: 1.2rem 1.3rem;
  background:
    linear-gradient(105deg, rgba(182,255,59,.12), transparent 42%),
    linear-gradient(180deg, #101820, #07090e);
  border: 1px solid rgba(182,255,59,.28);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.cc-hero h2 { font-family: "Archivo Black", sans-serif; margin: .15rem 0 .3rem; font-size: 1.6rem; }
.cc-meter { height: 8px; background: #0c1420; border-radius: 99px; overflow: hidden; margin-top: .55rem; }
.cc-meter i { display: block; height: 100%; background: linear-gradient(90deg, #f5c518, #b6ff3b); }
.cc-col { display: grid; gap: .45rem; }
.cc-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #f5c518; font-weight: 800; }
.cc-tile {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  text-align: left; padding: .75rem .9rem; border-radius: 14px; min-height: 64px; width: 100%;
  background: linear-gradient(180deg, #161e2c, #0e141c);
  border: 1px solid rgba(255,255,255,.08); color: var(--ink);
}
.cc-tile:hover { border-color: rgba(182,255,59,.45); transform: translateY(-1px); }
.cc-tile .ico {
  width: 2.4rem; height: 2.4rem; border-radius: 10px; display: grid; place-items: center;
  background: #0c1420; color: #b6ff3b; font-weight: 800; font-size: .78rem;
}
.cc-tile b { display: block; font-size: .92rem; }
.cc-tile small { color: var(--muted); font-size: .72rem; }
.cc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (min-width: 900px) { .cc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Gameday booth */
.booth {
  display: grid; gap: .7rem;
  background: #05070c;
  border: 1px solid rgba(94,234,212,.18);
  border-radius: 20px; padding: .7rem;
  box-shadow: inset 0 0 80px rgba(14,165,233,.08);
}
@media (min-width: 980px) {
  .booth { grid-template-columns: 13.5rem 1fr 14.5rem; }
  .wrap.fit .booth { grid-template-rows: minmax(0, 1fr); }
}
.booth-col {
  background: linear-gradient(180deg, #121a24, #0a0e14);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: .7rem;
}
.booth h3 { margin: 0 0 .5rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #5eead4; }
.pers { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .55rem; }
.pers button {
  border-radius: 8px; padding: .4rem .55rem; font-size: .72rem;
  background: #0c1420; color: #c9d6e8; border: 1px solid var(--line);
}
.pers button.on { background: #b6ff3b; color: #06100a; }
.sheet-list { display: grid; gap: .35rem; max-height: 22rem; overflow: auto; }
.sheet-card {
  text-align: left; border-radius: 12px; padding: .55rem .6rem;
  background: #0b1220; border: 1px solid rgba(255,255,255,.08); color: #e8eef6;
  display: flex; flex-direction: column;
}
.sheet-card.on { outline: 3px solid #f5c518; outline-offset: -1px; background: #233018; box-shadow: 0 0 0 4px rgba(245,197,24,.25); position: relative; }
.sheet-card.on::after { content: "\2713 CALLED"; position: absolute; top: 4px; right: 4px; background: #f5c518; color: #06100a; font: 700 10px/1 system-ui, sans-serif; padding: 3px 5px; border-radius: 3px; }
.sheet-card b { display: block; font-size: .82rem; }
.sheet-card .play-art { display: block; width: 100%; height: auto; margin: 0 0 .3rem; border-radius: 8px; background: #0c3a22; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.tile-art { display: block; width: 100%; flex: 1 1 auto; min-height: 120px; aspect-ratio: 220 / 148; background: #102418; border-radius: 8px; margin: 0 0 .3rem; overflow: hidden; }
.tile-art .play-art { margin: 0; background: transparent; box-shadow: none; width: 100%; height: 100%; display: block; }
.se-dc-bust { display: inline-block; vertical-align: top; background: #1c2430; border-radius: 8px; overflow: hidden; }
.se-dc-bust .pc-bust { display: block; }
.cover-bar { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: .35rem; }
.hot-tray { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .5rem; }
.hot-tray button { font-size: .7rem; padding: .28rem .4rem; border-radius: 8px; background: #102030; color: #7dd3fc; border: 1px solid rgba(56,189,248,.3); display: flex; flex-direction: column; align-items: stretch; gap: .18rem; min-width: 5.6rem; }
.hot-tray button .route-art { width: 100%; height: auto; display: block; border-radius: 6px; background: #0c3a22; }
.bug-pro {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: .4rem; align-items: center;
  background: linear-gradient(90deg, #00338d, #111 40%, #aa0000);
  padding: .55rem .8rem; font-family: "Archivo Black", sans-serif; letter-spacing: .05em;
}
.lock-chip {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: #f5c518; border: 1px solid #f5c518;
  border-radius: 99px; padding: .2rem .55rem; margin-left: .4rem;
}

/* One-screen gameday / exhibition (desktop). Phone stacks like a GM sim. */
body.fit-screen { overflow: hidden; height: 100dvh; }
.wrap.fit {
  max-width: 1440px;
  height: calc(100dvh - 42px);
  padding: .4rem .75rem .35rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: .28rem;
}
.wrap.fit h1 { font-size: 1.05rem; margin: 0; line-height: 1.15; }
.day-bar {
  display: grid;
  grid-template-columns: minmax(7.5rem, auto) 1fr auto;
  gap: .55rem;
  align-items: center;
}
.styles-mini {
  display: flex !important;
  flex-wrap: nowrap;
  gap: .28rem;
  margin: 0 !important;
  overflow: hidden;
}
.styles-mini .card {
  flex: 1;
  min-width: 0;
  padding: .28rem .45rem;
  font-size: .7rem;
  border-radius: 10px;
}
.styles-mini .card small { display: none; }
.wrap.fit .booth { flex: 1; min-height: 0; margin: 0; padding: .4rem; }
.wrap.fit .booth > div { min-height: 0; }
.wrap.fit .booth-col {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: .4rem;
}
.wrap.fit .sheet-list { flex: 1; min-height: 0; max-height: none; overflow: auto; }
.wrap.fit.gameday-full .booth {
  grid-template-columns: 1fr;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.wrap.fit.gameday-full .booth-col { display: none; }
.wrap.fit.gameday-full .stad { height: calc(100vh - 7.5rem); min-height: 280px; display: flex; flex-direction: column; }
.wrap.fit .stad svg { flex: 1 1 auto; width: 100%; height: 100%; min-height: 0; }
.wrap.fit #modeHint, .wrap.fit #lockLine, .wrap.fit #callout { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrap.fit.gameday-full .sit-line { margin: .1rem 0 0; }
.wrap.fit.gameday-full #playClockLine { font-size: .78rem; color: var(--muted); }
.wrap.fit #callout { display: none; }
.dock { margin: 0; font-size: .72rem; }
.dock-log { display: none; }
.ex-mid { display: flex; align-items: center; gap: .7rem; }
.ex-match { font-size: .95rem; font-weight: 800; letter-spacing: .02em; }
.ex-match i { color: var(--gold); font-style: normal; margin: 0 .35rem; }
.ex-board {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.ex-board > div { min-height: 0; display: flex; flex-direction: column; }
.ex-board .ex-side { flex: 1; }
.ex-side {
  display: grid;
  grid-template-rows: repeat(8, 1fr);
  gap: .22rem;
  min-height: 0;
  background: #0b1220;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .4rem;
}
.ex-side.home { box-shadow: inset 3px 0 0 #f5c518; }
.ex-side.away { box-shadow: inset 3px 0 0 #5eead4; }
.ex-div {
  display: grid;
  grid-template-columns: 5.6rem repeat(4, 1fr);
  gap: .22rem;
  align-items: stretch;
  padding: .12rem 0 .12rem .35rem;
  border-left: 3px solid;
}
.ex-div.afc { border-left-color: #ef4444; }
.ex-div.nfc { border-left-color: #3b82f6; }
.ex-div span {
  font-size: .58rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); align-self: center;
}
.ex-chip {
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; gap: 0; margin: 0; padding: .18rem .4rem;
  border-radius: 8px; border: 1px solid rgba(255,255,255,.1);
  background: color-mix(in srgb, var(--tc, #1a2433) 55%, #0a1018);
  color: #fff; min-width: 0;
}
.ex-chip b { font-size: .78rem; line-height: 1.05; }
.ex-chip small { font-size: .58rem; color: rgba(255,255,255,.72); font-weight: 600; }
.tv-pc { font-family: "Archivo Black", sans-serif; font-size: 1.05rem; color: var(--cyan); }
.tv-pc.low { color: #f87171; }
.pressbar { height: 5px; background: #222; border-radius: 99px; overflow: hidden; margin: .2rem 0 .35rem; }
.pressbar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #f87171, #f5c518); transform-origin: left; }
.pause {
  position: fixed; inset: 0; z-index: 40; background: rgba(5,7,12,.78);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  pointer-events: none;
}
.pause.hide { display: none; pointer-events: none; }
.pause:not(.hide) { pointer-events: auto; }
.pause-panel {
  width: min(34rem, 94vw); max-height: 86dvh; overflow: auto;
  background: #10161f; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.2rem;
}
.pause-panel.period { text-align: center; }
.pause-nav { display: flex; flex-wrap: wrap; gap: .35rem; margin: .6rem 0 .8rem; }
.pause-nav button { padding: .4rem .7rem; font-size: .78rem; }
.pause-nav button.on { background: var(--lime); color: #06100a; }
.pause-resume {
  position: sticky;
  top: 0;
  z-index: 3;
  width: 100%;
  margin: .35rem 0 .7rem;
}
.gset-inline {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  padding: .35rem 0 .7rem;
  border-bottom: 1px solid var(--line);
}
.gset-inline .set-lab,
.pause-panel .set-lab {
  width: 100%;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: .1rem 0 0;
}
.gset-inline button { min-height: 44px; }
.gset-inline button.on {
  background: var(--lime);
  color: #06100a;
}
.sim-kicker { margin: 1rem 0 .25rem; }
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
  margin: .65rem 0 .2rem;
}
.sim-grid button {
  min-height: 44px;
  font-size: .86rem;
}
.sim-grid button[data-sim="rest"],
.sim-grid button[data-desk="rest"] { grid-column: 1 / -1; }
.sim-grid button:disabled { opacity: .38; }
.how-home { margin: 1rem 0 1.2rem; }
.how-sheet table { width: 100%; border-collapse: collapse; margin: .6rem 0; }
.how-sheet th, .how-sheet td { text-align: left; padding: .35rem .4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.how-sheet th { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.how-sheet td:first-child { width: 6.2rem; color: #7dd3fc; font-weight: 800; }
.set-row { display: flex; justify-content: space-between; align-items: center; gap: .7rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.set-row b { color: var(--ink); font-size: .9rem; }
.set-row small { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; }
.ex-wheel {
  flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr auto 1fr;
  gap: .8rem; align-items: center;
}
.ex-vs { font-family: "Archivo Black", sans-serif; color: var(--gold); font-size: 1.4rem; }
.ex-big {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  background: color-mix(in srgb, var(--tc, #1a2433) 45%, #0a1018);
  border: 1px solid var(--line); border-radius: 18px; padding: 1rem .8rem;
}
.ex-big.focus { outline: 2px solid var(--lime); }
.ex-big-body { text-align: center; }
.ex-big .ovr { display: block; font-size: 2.4rem; font-family: "Archivo Black", sans-serif; color: var(--lime); line-height: 1; }
.ex-big b { font-size: 1.6rem; letter-spacing: .08em; }
.ex-arr { min-width: 3rem; background: #0c1420; color: var(--ink); border: 1px solid var(--line); }
.ex-ctrl { display: flex; gap: .35rem; flex-wrap: wrap; }
.ex-ctrl button.on { background: var(--lime); color: #06100a; }
#exBox { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: .35rem; }
@media (max-width: 820px) {
  .ex-wheel { grid-template-columns: 1fr; }
}

.board-wrap { max-width: 1280px; }
.board-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: .55rem 0; }
.board-tabs button { background: #0c1420; color: var(--ink); border: 1px solid var(--line); }
.board-tabs button.on { background: var(--lime); color: #06100a; }
.board-tools input { min-width: min(16rem, 70vw); }
.pos-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin: .2rem 0 .8rem; }
.pos-chips button {
  background: #0c1420; color: var(--ink); border: 1px solid var(--line);
  padding: .4rem .7rem; font-size: .78rem;
}
.pos-chips button.on { outline: 2px solid var(--lime); }
.board-scroll { max-height: 70vh; }
.board-scroll th.on, #rosHead th.on { color: var(--lime); }
.board-scroll td.ovr { color: var(--lime); font-weight: 800; }
.name-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .35rem 0 1rem; }
.name-chips .card { padding: .4rem .7rem; font-size: .82rem; }
#faMore { margin: .7rem 0; }
.ros-grid {
  display: flex; flex-direction: column; gap: .28rem;
  margin: .15rem 0 .85rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .45rem .5rem .55rem;
}
.ros-div {
  display: grid;
  grid-template-columns: 5.4rem repeat(4, 1fr);
  gap: .22rem;
  align-items: stretch;
  padding: .1rem 0 .1rem .3rem;
  border-left: 3px solid;
}
.ros-div.afc { border-left-color: #ef4444; }
.ros-div.nfc { border-left-color: #3b82f6; }
.ros-div > span {
  font-size: .58rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); align-self: center;
}
.ros-chip {
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; gap: 0; margin: 0; padding: .28rem .42rem;
  border-radius: 8px; border: 1px solid rgba(255,255,255,.12);
  background: color-mix(in srgb, var(--tc, #1a2433) 58%, #0a1018);
  color: #fff; min-width: 0; min-height: 44px; text-align: left;
}
.ros-chip b { font-size: .78rem; line-height: 1.1; }
.ros-chip small { font-size: .58rem; color: rgba(255,255,255,.74); font-weight: 600; }
.ros-chip.on { outline: 2px solid var(--lime); }
.ros-chip.you { box-shadow: inset 0 2px 0 var(--lime); }
@media (max-width: 720px) {
  .ros-div { grid-template-columns: 3.4rem repeat(4, minmax(0, 1fr)); padding-left: .15rem; }
  .ros-div > span { font-size: .5rem; }
  .ros-chip { min-height: 44px; padding: .22rem .28rem; }
  .ros-chip b { font-size: .68rem; }
}
.pos-sec td {
  color: var(--lime);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(182,255,59,.06);
  padding: .55rem .4rem .35rem;
}
.ros-count {
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  background: #0c1420; border: 1px solid var(--line);
  border-radius: 999px; padding: .28rem .55rem;
}
#depthBar { align-items: center; gap: .35rem; }

@media (max-width: 820px) {
  .booth { grid-template-columns: 1fr; }
  .booth-col { max-height: 11rem; overflow: auto; }
  .day-bar { position: sticky; top: 42px; z-index: 8; background: rgba(7,9,14,.94); }
  .name-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 1rem; }
  .name-chips .card { padding: .45rem .7rem; }
  #view-car .row, #view-menu .row { flex-direction: column; align-items: stretch; }
  #view-car input, #view-car select, #view-car button { width: 100%; }
}
@media (max-width: 430px) {
  .top, nav.top {
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    gap: 0;
    height: calc(44px + env(safe-area-inset-top, 0px));
    min-height: calc(44px + env(safe-area-inset-top, 0px));
    padding: 0 .2rem;
    padding-top: env(safe-area-inset-top, 0px);
  }
  .wrap { padding: .9rem .7rem 4.5rem; }
  .wrap.fit:not(.gameday-full) .stad svg { height: min(42vh, 320px); flex: none; }
  .booth-col { max-height: 9.5rem; }
  .name-chips { flex-wrap: nowrap; overflow-x: auto; }
  #view-car label, #view-menu label { width: 100%; }
  button, input, select { min-height: 44px; }
}
@media (max-width: 980px) {
  body.fit-screen:not(.gameday) { overflow: auto; height: auto; }
  .wrap.fit:not(.gameday-full) { height: auto; overflow: visible; }
  .day-bar { grid-template-columns: 1fr; }
  .styles-mini { flex-wrap: wrap; }
  .wrap.fit:not(.gameday-full) .stad svg { height: min(52vh, 420px); flex: none; }
  .ex-board { grid-template-columns: 1fr; }
  .ex-div { grid-template-columns: 4.6rem repeat(4, 1fr); }
  .ros-div { grid-template-columns: 4.4rem repeat(4, 1fr); }
  .dock-log { display: block; max-height: 5rem; overflow: auto; }
}
@media (max-width: 560px) {
  .ros-div { grid-template-columns: 1fr 1fr; }
  .ros-div > span { grid-column: 1 / -1; padding: .2rem 0 0; }
}

/* Phone / tablet gameday — field first, playbook half-sheet, on-screen pads */
.phone-hud { display: none; pointer-events: none; }
.phone-hud button, .phone-hud .stick-zone { pointer-events: auto; }
.rotate-hint {
  display: none !important; position: fixed; left: 50%; transform: translateX(-50%);
  z-index: 18; padding: .45rem .85rem; border-radius: 999px;
  background: #f5c518; color: #111; font-size: .68rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; border: 0;
  min-height: 2.1rem; width: auto; max-width: 92vw;
  top: 3.2rem;
  bottom: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  pointer-events: none !important;
  visibility: hidden !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(245,197,24,.4);
  cursor: pointer;
}
.rotate-hint.hide { display: none !important; }
.book-ov .sheet-card { min-height: 0; }
@media (max-width: 980px), (pointer: coarse) {
  body.gameday {
    overflow: hidden;
    height: 100dvh;
    touch-action: none;
    padding-top: calc(44px + env(safe-area-inset-top, 0px));
  }
  body.gameday .top {
    position: fixed; top: 0; left: 0; right: 0;
    display: flex; flex-wrap: nowrap; align-items: stretch;
    height: calc(44px + env(safe-area-inset-top, 0px));
    min-height: calc(44px + env(safe-area-inset-top, 0px));
    padding: 0 .2rem;
    padding-top: env(safe-area-inset-top, 0px);
    gap: 0;
    z-index: 40;
    touch-action: manipulation;
    pointer-events: auto;
    overflow: hidden;
  }
  body.gameday .top b { display: none; }
  body.gameday .top a {
    flex: 1 1 0;
    min-height: 44px; min-width: 44px;
    font-size: .68rem; padding: 0 .2rem;
    white-space: nowrap;
    touch-action: manipulation;
    pointer-events: auto;
  }
  .wrap.fit.gameday-full {
    height: calc(100dvh - 44px - env(safe-area-inset-top, 0px));
    max-width: none;
    padding: .15rem .3rem .1rem;
    overflow: hidden;
  }
  .wrap.fit.gameday-full .day-bar {
    grid-template-columns: 1fr;
    gap: .2rem;
    position: relative;
    z-index: 9;
  }
  .wrap.fit.gameday-full .day-bar h1 { font-size: .92rem; }
  .wrap.fit.gameday-full .day-bar .row {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0;
    gap: .28rem;
    -webkit-overflow-scrolling: touch;
  }
  .wrap.fit.gameday-full .day-bar .row button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: .35rem .7rem;
    font-size: .72rem;
  }
  .wrap.fit.gameday-full #playClockLine,
  .wrap.fit.gameday-full #modeHint,
  .wrap.fit.gameday-full #lockLine { display: none; }
  .wrap.fit.gameday-full .stad {
    flex: 1;
    min-height: 240px;
    height: auto;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
  }
  .wrap.fit.gameday-full .stad svg {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
  .wrap.fit.gameday-full #why {
    position: absolute; left: .4rem; right: .4rem; bottom: 6.6rem;
    z-index: 11; margin: 0; pointer-events: none;
    text-shadow: 0 1px 6px #000; font-size: .7rem; color: #e8eef6;
  }
  .book-ov {
    position: fixed;
    top: calc(44px + env(safe-area-inset-top, 0px));
    right: 0;
    bottom: 0;
    left: 0;
    inset: auto;
    z-index: 35;
    grid-template-columns: 1fr;
    padding: .4rem .5rem calc(.5rem + env(safe-area-inset-bottom));
    background: rgba(5,7,12,.98);
  }
  .book-rail {
    border-right: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
    min-height: 8rem;
  }
  .book-ov .sheet-card { padding: .35rem .4rem; }
  .book-ov .sheet-card b { font-size: .78rem; }
  .book-ov .sheet-card .play-art { max-height: none; width: 100%; height: 100%; margin: 0 0 .2rem; }
  .book-head { flex-wrap: wrap; }
  .line-tray { padding-bottom: 5.8rem; }
  .phone-hud {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 14;
  }
  .stick-zone {
    position: absolute;
    left: .35rem;
    bottom: .45rem;
    width: 7.4rem;
    height: 7.4rem;
  }
  .stick-base {
    position: absolute;
    left: 50%; top: 50%;
    width: 5.6rem; height: 5.6rem;
    margin: -2.8rem 0 0 -2.8rem;
    border-radius: 50%;
    background: rgba(8,12,20,.55);
    border: 2px solid rgba(245,197,24,.45);
    box-shadow: 0 0 0 1px rgba(0,0,0,.4);
  }
  .stick-base i {
    position: absolute;
    left: 50%; top: 50%;
    width: 2.35rem; height: 2.35rem;
    margin: -1.175rem 0 0 -1.175rem;
    border-radius: 50%;
    background: #b6ff3b;
    box-shadow: 0 4px 12px rgba(0,0,0,.45);
    pointer-events: none;
  }
  .swipe-hint {
    position: absolute;
    left: 50%;
    top: .35rem;
    transform: translateX(-50%);
    z-index: 16;
    pointer-events: none;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #f5c518;
    background: rgba(7, 9, 14, .78);
    border: 1px solid rgba(245, 197, 24, .35);
    padding: .16rem .5rem;
    border-radius: 99px;
    white-space: nowrap;
  }
  .swipe-hint.hide { display: none; }
  .phone-hud:not(.live) .swipe-hint { display: none; }
  .pass-pads {
    position: absolute;
    left: 50%;
    bottom: .55rem;
    transform: translateX(-50%);
    display: flex;
    gap: .32rem;
  }
  .lead-pad {
    position: absolute;
    left: .35rem;
    bottom: 7.2rem;
    display: grid;
    grid-template-columns: repeat(3, 1.7rem);
    gap: .18rem;
    z-index: 16;
  }
  .lead-pad.hide { display: none; }
  .lead-pad button {
    width: 1.7rem; height: 1.7rem; min-height: 0; padding: 0;
    border-radius: 8px;
    background: rgba(12,20,32,.88);
    color: #f5c518;
    font-size: .85rem;
    border: 1px solid rgba(245,197,24,.35);
    box-shadow: 0 2px 0 #111;
  }
  .lead-pad button.on {
    background: #f5c518;
    color: #111;
    border-color: #fff;
  }
  .lead-pad .lp-mid {
    font-size: .42rem;
    letter-spacing: .08em;
    color: #9aa8b8;
    background: rgba(8,12,18,.7);
  }
  .pass-pads.hide, .act-pads .hud-extra.hide { display: none; }
  .pass-pads button {
    width: 2.55rem; height: 2.55rem; min-height: 0; padding: 0;
    border-radius: 50%;
    background: #f5c518; color: #111; font-size: 1.05rem;
    box-shadow: 0 3px 0 #8a6a08;
  }
  .act-pads {
    position: absolute;
    right: .35rem;
    bottom: .4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .28rem;
    width: 8.2rem;
  }
  .act-pads #hudTruck { background: #b45309; color: #fff; }
  .act-pads #hudHurdle { background: #1d4ed8; color: #fff; }
  .act-pads #hudSpin { background: #0f766e; color: #fff; }
  .act-pads #hudStiff { background: #7c2d12; color: #fff; }
  .act-pads button {
    min-height: 2.45rem;
    padding: .35rem .2rem;
    font-size: .62rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 12px;
    background: rgba(12,20,32,.88);
    color: #e8eef6;
    border: 1px solid rgba(255,255,255,.16);
  }
  .act-pads .skill-drawer { display: contents; }
  .act-pads .hud-hike-stack {
    grid-column: 1 / -1;
    min-height: 2.8rem;
  }
  .act-pads #hudHike {
    width: 100%;
    background: #b6ff3b;
    color: #06100a;
    font-size: .85rem;
    min-height: 2.8rem;
  }
  .phone-hud.live .act-pads #hudHike,
  .phone-hud.live .act-pads .hud-hike-stack,
  .phone-hud.ko-live .act-pads #hudHike,
  .phone-hud.ko-live .act-pads .hud-hike-stack,
  .phone-hud.on-d .act-pads #hudHike,
  .phone-hud.on-d .act-pads .hud-hike-stack { display: none !important; }
  .phone-hud:not(.live) .pass-pads,
  .phone-hud:not(.live) .lead-pad { display: none; }
  .phone-hud.on-d .pass-pads,
  .phone-hud.on-d .lead-pad { display: none; }
  .phone-hud.on-d .act-pads #hudScram,
  .phone-hud.on-d .act-pads #hudAway { display: none; }
  .phone-hud.on-d .act-pads #hudTruck { background: #b45309; color: #fff; }
  .phone-hud.on-d .act-pads #hudStiff { background: #7c2d12; color: #fff; }
  .phone-hud.on-d .act-pads #hudSwitch {
    grid-column: 1 / -1;
    min-height: 3rem;
    background: #f5c518;
    color: #111;
    font-weight: 800;
  }
}
#view-day.on-d .hike-stack { display: none !important; }
body.book-open .rotate-hint,
body.aud-open .rotate-hint,
body.gameday.book-open .rotate-hint,
body.gameday.port.phone.book-open .rotate-hint,
body.gameday.port.phone.aud-open .rotate-hint { display: none !important; visibility: hidden !important; pointer-events: none !important; }
body.gameday.land.phone .rotate-hint,
body.gameday.fs .rotate-hint { display: none !important; }
body.gameday.land.phone .top,
body.gameday.fs .top { display: none !important; }
body.gameday.land.phone.fit-screen,
body.gameday.fs.fit-screen,
body.gameday.land.phone .wrap.fit.gameday-full,
body.gameday.fs .wrap.fit.gameday-full { height: 100dvh; height: 100svh; }
body.gameday.land.phone .wrap.fit.gameday-full,
body.gameday.fs .wrap.fit.gameday-full { padding: 0; max-width: none; }
body.gameday.land.phone .wrap.fit.gameday-full .day-bar,
body.gameday.fs .wrap.fit.gameday-full .day-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 16;
  background: linear-gradient(180deg, rgba(5,7,12,.9), transparent);
  padding: .25rem .4rem 1.4rem;
}
body.gameday.land.phone .wrap.fit.gameday-full .stad,
body.gameday.fs .wrap.fit.gameday-full .stad {
  height: 100dvh; height: 100svh; border-radius: 0; border: 0;
  width: 100vw;
}
body.gameday.land.phone .wrap.fit.gameday-full #why,
body.gameday.fs .wrap.fit.gameday-full #why { bottom: 5.4rem; }
body.gameday.land.phone .book-ov { grid-template-columns: 8.2rem 1fr; }
body.gameday.land.phone .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.gameday.land.phone .dock-log,
body.gameday.fs .dock-log { display: none; }
@media (pointer: fine) and (min-width: 981px) {
  .rotate-hint { display: none !important; }
  .phone-hud { display: none !important; }
}
@media (orientation: landscape) and (max-height: 560px) {
  body.gameday .top { display: none; }
  body.gameday.fit-screen, body.gameday .wrap.fit.gameday-full { height: 100dvh; }
  .wrap.fit.gameday-full { padding: 0; }
  .wrap.fit.gameday-full .day-bar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 16;
    background: linear-gradient(180deg, rgba(5,7,12,.9), transparent);
    padding: .25rem .4rem 1.4rem;
  }
  .wrap.fit.gameday-full .stad { height: 100dvh; border-radius: 0; border: 0; }
  .wrap.fit.gameday-full #why { bottom: 5.4rem; }
  .book-ov {
    grid-template-columns: 8.2rem 1fr;
  }
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .book-ov .sheet-card .play-art { max-height: none; width: 100%; height: 100%; }
  .stick-zone { width: 6.4rem; height: 6.4rem; bottom: .25rem; left: .25rem; }
  .act-pads { bottom: .25rem; right: .25rem; width: 6.8rem; }
  .pass-pads { bottom: .3rem; }
  .rotate-hint { display: none !important; }
  .line-tray { padding-bottom: 4.8rem; }
}

.hike-stack { z-index: 80; position: relative;
  position: relative;
  display: inline-flex;
  min-width: 7.2rem;
  min-height: 2.2rem;
  align-items: stretch;
}
.hike-stack #hike, .hike-stack #bookLine, .hike-stack #hudHike { width: 100%; }
.hike-stack #toLine,
.hike-stack #bookToLine,
.hike-stack #hudToLine {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  background: #f5c518;
  color: #111;
  border: 0;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hike-stack.at-line #toLine,
.hike-stack.at-line #bookToLine,
.hike-stack.at-line #hudToLine { display: none; }
/* The sheet has one button: Hike walks to the line if needed and snaps the picked play. */
#bookHikeStack #bookToLine { display: none; }
.hike-stack #hike:disabled { opacity: .4; pointer-events: none; }
.aud-ov {
  position: absolute;
  left: .45rem;
  right: .45rem;
  bottom: .45rem;
  transform: none;
  z-index: 22;
  width: auto;
  max-height: min(42%, 18rem);
  background: rgba(8,12,20,.96);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: .55rem .6rem .6rem;
  box-shadow: 0 -8px 28px rgba(0,0,0,.45);
}
.aud-ov.hide { display: none; }
.aud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.6rem, 1fr));
  gap: .32rem;
  max-height: 14rem;
  overflow: auto;
  margin: .3rem 0 .4rem;
}
.aud-grid button {
  display: flex;
  flex-direction: column;
  gap: .18rem;
  min-height: 2.6rem;
  padding: .3rem .32rem .4rem;
  text-align: left;
  background: rgba(255,255,255,.06);
  color: #e8eef6;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  font-size: .72rem;
}
.aud-grid button .play-art,
.aud-grid button .route-art {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  background: #0c3a22;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.aud-grid button .aud-name {
  display: flex;
  flex-direction: column;
  gap: .08rem;
  line-height: 1.15;
}
.aud-grid button small { opacity: .55; font-size: .58rem; }
.rate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr));
  gap: .35rem;
  margin: 0 0 1rem;
}
.rate-cell {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: .35rem .45rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: .78rem;
}
.rate-cell.elite b { color: #b6ff3b; }
.rate-cell.good b { color: #f5c518; }
.rate-cell.low b { color: #f87171; }
.prof-hero {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: .6rem 0 1rem;
}
.prof-ovr {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  background: #b6ff3b;
  color: #06100a;
  border-radius: 12px;
  min-width: 4.2rem;
  text-align: center;
  padding: .4rem .5rem;
}
@media (pointer: coarse) {
  .act-pads .hud-hike-stack { grid-column: 1 / -1; min-height: 2.8rem; }
  .phone-hud.live .act-pads .hud-hike-stack,
  .phone-hud.on-d .act-pads .hud-hike-stack { display: none; }
}

/* Exhibition / kickoff — playtest pass */
.ex-last { margin:.35rem 0 0; color:#c9d4e5; font-size:.9rem; }
.ex-q-presets { display:flex; gap:.3rem; }
.ex-mid { display:flex; flex-wrap:wrap; gap:.4rem; align-items:flex-end; }
.day-bar .row { display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; }
.wrap.fit.gameday-full #modeHint {
  display: block !important;
  white-space: normal !important;
  overflow: visible;
  text-overflow: unset;
  padding: .25rem .5rem;
  background: rgba(0,0,0,.45);
  border-radius: 8px;
  max-width: 52rem;
}
body.gameday .wrap.fit.gameday-full #modeHint,
body.se-phone .se-shell #modeHint {
  display: none !important;
}
.kickoff-ready #kickoff {
  font-weight: 800;
  transform: scale(1.05);
  box-shadow: 0 0 0 2px #f4d35e;
}
.ko-strip {
  display: none !important;
}
.ko-strip.hide { display: none !important; }
.kr-bar,
.kr-bar.hide { display: none !important; }
body.ko-live .book-ov,
body.gameday.ko-live .book-ov,
body.se-phone.ko-live .book-ov,
body.se-phone.ko-live.book-open .book-ov {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.ko-strip.hide { display: none !important; }
.ko-strip button {
  background: rgba(7,9,14,.9);
  color: #f4f7f2;
  border: 1px solid rgba(245,195,24,.55);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-weight: 800;
  min-height: 44px;
  letter-spacing: .02em;
}
.ko-strip button.on {
  background: #f5c518;
  color: #111;
  border-color: #f5c518;
}
.ko-strip button.ko-go {
  background: #b6ff3b;
  color: #06100a;
  border-color: #b6ff3b;
  min-width: 7.5rem;
  font-size: 1rem;
}
.kick-meters {
  position: absolute;
  left: 50%;
  top: 38%;
  bottom: auto;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: flex-end;
  gap: .7rem;
  padding: .7rem .85rem .65rem;
  border-radius: 18px;
  background: rgba(7, 9, 14, .9);
  border: 1px solid rgba(245, 197, 24, .45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
  pointer-events: auto;
  min-width: min(22rem, 92%);
  max-width: 28rem;
}
.kick-meters.hide { display: none; }
.lead-compass {
  position: absolute;
  left: .55rem;
  bottom: .55rem;
  z-index: 28;
  display: grid;
  grid-template-columns: repeat(3, 1.65rem);
  gap: .14rem;
  padding: .28rem;
  border-radius: 12px;
  background: rgba(7, 9, 14, .82);
  border: 1px solid rgba(245, 197, 24, .4);
  pointer-events: auto;
}
.lead-compass.hide { display: none; }
.lead-compass button {
  width: 1.65rem; height: 1.65rem; min-height: 0; padding: 0;
  border-radius: 7px;
  background: rgba(18, 26, 38, .95);
  color: #f5c518;
  font-size: .82rem;
  border: 1px solid rgba(245,197,24,.3);
}
.lead-compass button.on {
  background: #f5c518;
  color: #111;
  border-color: #fff;
}
.lead-compass .lp-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .42rem;
  letter-spacing: .08em;
  font-weight: 800;
  color: #9aa8b8;
}
body.phone .lead-compass { display: none; }
.kick-meters .km-col { display: flex; flex-direction: column; align-items: center; gap: .28rem; }
.kick-meters .km-lab {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f5c518;
}
.kick-meters .km-track {
  position: relative;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
}
.kick-meters .km-vert {
  width: 1.55rem;
  height: 7.2rem;
  border-radius: 999px;
  display: flex;
  align-items: flex-end;
}
.kick-meters .km-vert i {
  display: block;
  width: 100%;
  height: 40%;
  background: linear-gradient(#b6ff3b, #f5c518 70%, #b45309);
  border-radius: 999px;
}
.kick-meters .km-vert .km-sweet {
  position: absolute;
  left: 0; right: 0;
  bottom: 72%;
  height: 16%;
  border-top: 2px solid #b6ff3b;
  border-bottom: 2px solid #b6ff3b;
  pointer-events: none;
}
.kick-meters .km-main { flex: 1; min-width: 11rem; display: flex; flex-direction: column; gap: .45rem; }
.kick-meters .km-horiz {
  width: 100%;
  height: 1.55rem;
  border-radius: 999px;
}
.kick-meters .km-horiz .km-good {
  position: absolute;
  left: 38%;
  width: 24%;
  top: 0; bottom: 0;
  background: rgba(182, 255, 59, .35);
  border-left: 2px solid #b6ff3b;
  border-right: 2px solid #b6ff3b;
}
.kick-meters .km-horiz i {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 5px;
  margin-left: -2.5px;
  left: 50%;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 0 2px #111;
}
.kick-meters .km-horiz i::after {
  content: "▲";
  position: absolute;
  left: 50%;
  top: -1.05rem;
  transform: translateX(-50%);
  color: #fff;
  font-size: .95rem;
  line-height: 1;
  text-shadow: 0 1px 0 #111;
}
body.km-on .kick-meters {
  position: fixed;
  z-index: 80;
}
body.km-on #hudHikeStack,
body.km-on .hike-stack {
  visibility: hidden;
}
.kick-meters .km-hint {
  margin: 0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b6ff3b;
  text-align: center;
}
.kick-meters.phase-power .km-horiz { opacity: .35; }
.kick-meters.phase-acc .km-vert { opacity: .55; }
@media (max-width: 980px), (pointer: coarse) {
  .kick-meters {
    top: auto;
    bottom: auto;
    transform: translateX(-50%);
    min-width: min(18rem, 88vw);
    max-width: 88vw;
  }
}
@media (max-width: 980px), (pointer: coarse) {
  .book-ov {
    grid-template-columns: 1fr;
    padding-top: .4rem;
  }
  .book-rail {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    max-height: 7.5rem;
    padding-right: 0;
    padding-bottom: .35rem;
  }
  .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}
.field-tip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4.6rem;
  z-index: 12;
  pointer-events: none;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: rgba(5,7,12,.82);
  border: 1px solid rgba(182,255,59,.45);
  color: #b6ff3b;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: .78rem;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 94%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.field-tip.hide { display: none; }
.ops-extra { display: none; align-items: center; gap: .28rem; }
@media (min-width: 1280px) {
  .ops-extra { display: inline-flex; }
}
.wrap.fit.gameday-full .ops-extra { display: none; }
.phone-hud.ko-live .pass-pads,
.phone-hud.ko-live .lead-pad { display: none !important; }
.phone-hud.ko-live .act-pads #hudScram,
.phone-hud.ko-live .act-pads #hudAway { display: none; }
.phone-hud.kickoff .act-pads .hud-hike-stack,
.phone-hud.kickoff .act-pads #hudSpin,
.phone-hud.kickoff .act-pads #hudTruck,
.phone-hud.kickoff .act-pads #hudStiff,
.phone-hud.kickoff .act-pads #hudHurdle { display: none; }
.ex-set, .hub-gset {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  margin: .35rem 0;
  padding: .45rem .5rem;
  border-radius: 14px;
  background: rgba(12, 18, 28, .72);
  border: 1px solid rgba(245, 197, 24, .22);
}
.ex-set button, .hub-gset button { min-height: 44px; }
.rate-edit {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: .4rem;
  margin-top: .8rem;
  padding: .7rem;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
}
.rate-edit label {
  display: flex;
  gap: .4rem;
  align-items: center;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.rate-edit input[type=range] { flex: 1; }
.rate-edit b { min-width: 1.6rem; }
.ex-set .set-lab, .hub-gset .set-lab {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  width: 100%;
  margin: .15rem 0 0;
}
.ex-set button.on, .hub-gset button.on {
  background: var(--lime);
  color: #06100a;
}
.set-row select {
  min-width: 11rem;
}
.ex-final { margin-top: .55rem; }
.ex-final .ex-score {
  margin: .15rem 0 .35rem;
  font: 800 1.55rem/1.15 "Archivo Black", sans-serif;
  letter-spacing: .02em;
}
.ex-final { margin-top: .55rem; }
@media (orientation: landscape) and (max-height: 560px), (pointer: coarse) and (orientation: landscape) {
  .wrap.fit.gameday-full .day-bar #hikeStack { display: none; }
  .stick-zone {
    left: max(.28rem, env(safe-area-inset-left));
    bottom: max(.28rem, env(safe-area-inset-bottom));
    width: min(5.2rem, 17vw);
    height: min(5.2rem, 36vh);
    z-index: 15;
    right: auto;
  }
  .act-pads {
    left: auto;
    right: max(.28rem, env(safe-area-inset-right));
    bottom: max(.28rem, env(safe-area-inset-bottom));
    width: min(5.6rem, 18vw);
    z-index: 15;
  }
  .pass-pads {
    left: 50%;
    bottom: max(5.6rem, calc(env(safe-area-inset-bottom) + 5.4rem));
    transform: translateX(-50%);
  }
  .lead-pad {
    left: max(.28rem, env(safe-area-inset-left));
    bottom: max(6.4rem, calc(env(safe-area-inset-bottom) + 6.2rem));
  }
}
body.gameday.land.phone .wrap.fit.gameday-full .day-bar #hikeStack { display: none; }
body.gameday.land.phone .stick-zone {
  left: max(.28rem, env(safe-area-inset-left));
  width: min(5.2rem, 17vw);
  height: min(5.2rem, 36vh);
}
body.gameday.land.phone .act-pads {
  right: max(.28rem, env(safe-area-inset-right));
  width: min(5.6rem, 18vw);
}

.tok { cursor: pointer; pointer-events: auto; }
.pass-num { cursor: pointer; pointer-events: auto; }
#field { touch-action: none; }
.stad { touch-action: none; overscroll-behavior: none; }
body.gameday.land.phone .cam-tools {
  top: max(.35rem, env(safe-area-inset-top));
  right: max(.35rem, env(safe-area-inset-right));
}
@media (pointer: fine) and (min-width: 981px) {
  .cam-tools { top: .5rem; right: .55rem; }
}

.tiny-btn { padding: .28rem .55rem; font-size: .72rem; border-radius: 999px; }
#view-fdraft .pick-card { font-size: clamp(1.1rem, 3.4vw, 1.8rem); color: var(--gold); }
#offBody .kpi { margin-top: .6rem; }
#capT button { margin: .1rem .1rem 0 0; }

body.book-open .aud-ov,
body.book-open .line-tray,
body.book-open .phone-hud,
body.book-open .rotate-hint,
body.book-open .cam-tools,
body.book-open #why,
body.book-open .field-tip { display: none !important; }
body.book-open .lead-compass { display: none !important; }
body.aud-open .line-tray { display: none !important; }
body.book-open .book-ov { z-index: 70; }
body.gameday.book-open .book-ov { z-index: 35; }
#bookClose {
  background: #f5c518;
  color: #111;
  border: 0;
  font-weight: 800;
}

.phone-hud:not(.live) .stick-zone { display: none !important; }
.phone-hud:not(.can-pass) #hudScram,
.phone-hud:not(.can-pass) #hudAway,
.phone-hud:not(.can-pass) #hudBullet { display: none; }
.phone-hud:not(.on-d) #hudSwitch { display: none; }
.phone-hud:not(.live) .act-pads #hudSpin,
.phone-hud:not(.live) .act-pads #hudTruck,
.phone-hud:not(.live) .act-pads #hudStiff,
.phone-hud:not(.live) .act-pads #hudHurdle { display: none; }
.phone-hud.at-line:not(.live) .act-pads #hudSpin,
.phone-hud.at-line:not(.live) .act-pads #hudTruck,
.phone-hud.at-line:not(.live) .act-pads #hudStiff,
.phone-hud.at-line:not(.live) .act-pads #hudHurdle { display: none; }

@media (max-width: 980px), (pointer: coarse) {
  .aud-ov {
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(38dvh, 18rem);
    border-radius: 18px 18px 0 0;
    padding: .55rem .55rem calc(.7rem + env(safe-area-inset-bottom));
    z-index: 28;
  }
  .book-ov { z-index: 60; }
  .aud-grid {
    grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr));
    max-height: 28dvh;
  }
  .line-tray {
    padding: .28rem .4rem calc(.35rem + env(safe-area-inset-bottom));
    max-height: 4.4rem;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .line-tray .hot-tray { flex-wrap: nowrap; }
  .line-tray .hot-tray button { flex: 0 0 auto; min-height: 2.2rem; }
  .field-tip {
    bottom: auto;
    top: 3.4rem;
    font-size: .62rem;
    padding: .28rem .7rem;
    z-index: 12;
  }
  .cam-tools {
    top: .3rem;
    right: .3rem;
    gap: .2rem;
    z-index: 18;
  }
  .cam-chip, .zoom-rack button {
    min-height: 1.7rem;
    font-size: .55rem;
    padding: .18rem .4rem;
  }
  .phone-hud .act-pads {
    width: min(7.4rem, 34vw);
    gap: .22rem;
  }
  .phone-hud .act-pads button {
    min-height: 2.7rem;
    font-size: .68rem;
  }
  .wrap.fit.gameday-full .day-bar .row button#bookBtn {
    background: var(--lime);
    color: #06100a;
  }
}

@media (orientation: portrait) and (pointer: coarse), (orientation: portrait) and (max-width: 980px) {
  body.gameday.port.phone .wrap.fit.gameday-full {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 36px);
    padding: .1rem .2rem .15rem;
  }
  body.gameday.port.phone .wrap.fit.gameday-full .day-bar {
    flex: 0 0 auto;
    padding: .15rem .25rem;
  }
  body.gameday.port.phone .wrap.fit.gameday-full .stad {
    flex: 1 1 auto;
    min-height: 64dvh;
    height: auto;
  }
  body.gameday.port.phone .phone-hud .stick-zone {
    width: 6.2rem;
    height: 6.2rem;
    bottom: .3rem;
    left: .25rem;
  }
  body.gameday.port.phone .phone-hud .act-pads {
    bottom: .3rem;
    right: .25rem;
    width: 7.6rem;
    grid-template-columns: 1fr 1fr;
  }
  body.gameday.port.phone .pass-pads {
    bottom: 7.1rem;
  }
  body.gameday.port.phone .lead-pad { display: none; }
  body.gameday.port.phone .rotate-hint {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (orientation: landscape) and (max-height: 560px), (pointer: coarse) and (orientation: landscape) {
  .aud-ov {
    left: auto;
    right: max(.2rem, env(safe-area-inset-right));
    bottom: max(.2rem, env(safe-area-inset-bottom));
    width: min(22rem, 46vw);
    max-height: min(72dvh, 22rem);
    border-radius: 14px;
  }
  .aud-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 58dvh; }
  .line-tray { display: none; }
}

.alerts {
  display: grid;
  gap: .55rem;
  margin: .4rem 0 .85rem;
}
.alert-card {
  background: #12141a;
  border: 1px solid rgba(255,255,255,.1);
  padding: .7rem .85rem .8rem;
  border-left: 3px solid #c8ccd4;
}
.alert-card.read { opacity: .62; }
.alert-from {
  margin: 0 0 .2rem;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9aa3b2;
  font-weight: 700;
}
.alert-card h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  letter-spacing: .02em;
  font-weight: 700;
  color: #f4f4f5;
}
.alert-card p { margin: 0; color: #c4cad4; font-size: .88rem; line-height: 1.35; }
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 7.4rem;
  padding: .45rem .35rem .5rem;
  background: #0e1116;
  border: 1px solid rgba(255,255,255,.12);
  color: #f4f4f5;
  cursor: pointer;
  text-align: center;
}
.pcard.on { outline: 2px solid #fff; }
.pcard.empty { opacity: .45; }
.pc-slot {
  position: absolute; top: .3rem; left: .35rem;
  font-size: .58rem; letter-spacing: .12em; font-weight: 800; color: #c9d2de;
}
.pc-ovr {
  position: absolute; top: .22rem; right: .3rem;
  min-width: 1.7rem; padding: .08rem .22rem;
  background: #f4f4f5; color: #0a0a0b;
  font-size: .85rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.pcard.elite .pc-ovr { background: #e8e4d4; }
.pcard.star .pc-ovr { background: #d7dbe3; }
.pc-name {
  margin-top: .2rem;
  font-size: .68rem;
  letter-spacing: .08em;
  font-weight: 800;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pcard svg.pc-bust { display: block; max-width: 88px; height: auto; margin: .2rem 0 0; }
.pc-meta { font-size: .62rem; color: #9aa3b2; letter-spacing: .08em; max-width: 100%; white-space: normal; line-height: 1.25; }
.pc-asset { color: #d6ff6a; font-weight: 800; letter-spacing: 0; display: inline-block; }
.pc-face { display: block; background: var(--tc, #1a2433); }
.lu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.4rem, 1fr));
  gap: .55rem;
  margin: .7rem 0 1.2rem;
}
.lu-pick {
  margin: .4rem 0 1rem;
  padding: .7rem;
  background: #12141a;
  border: 1px solid rgba(255,255,255,.1);
}
.prof-hero { display: flex; gap: .85rem; align-items: flex-start; margin: .4rem 0 1rem; }
.phone-hud.spectate .act-pads,
.phone-hud.spectate .pass-pads,
.phone-hud.spectate .lead-pad { display: none !important; }
.phone-hud.spectate .stick-zone { opacity: .25; pointer-events: none; }

.board-scroll tbody tr[data-n] { cursor: pointer; }
.board-scroll tbody tr[data-n]:hover,
.board-scroll tbody tr[data-n]:active { background: rgba(182,255,59,.1); }
.fa-sheet {
  position: fixed; z-index: 50;
  left: .6rem; right: .6rem; bottom: .6rem;
  max-height: min(70dvh, 560px);
  overflow: auto;
  background: #0c1018;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  padding: .7rem .85rem 1.1rem;
}
.fa-sheet-bar { display: flex; gap: .45rem; justify-content: flex-end; margin-bottom: .4rem; }
.fa-sheet-bar button { padding: .45rem .85rem; font-size: .78rem; }
@media (min-width: 820px) {
  .fa-sheet { left: auto; width: min(26rem, 38vw); }
}

.desk-ov {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(5,7,12,.82);
  display: flex; align-items: stretch; justify-content: center;
  padding: .6rem;
}
.desk-ov.hide { display: none !important; }
.desk {
  width: min(64rem, 100%);
  max-height: 100%;
  overflow: auto;
  background: #0b1220;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: .7rem .85rem .9rem;
  color: #e8eef6;
}
.desk-head, .desk-foot, .desk-row {
  display: flex; flex-wrap: wrap; gap: .35rem; align-items: center;
  margin-bottom: .45rem;
}
.desk-head input, .desk-head select {
  font: inherit; background: #111827; color: #e8eef6;
  border: 1px solid rgba(255,255,255,.14); border-radius: 8px;
  padding: .4rem .55rem; min-width: 8rem;
}
.desk-head #deskTitle { flex: 1; min-width: 10rem; font-weight: 800; }
.desk-chips { display: flex; flex-wrap: wrap; gap: .28rem; }
.desk-chips button {
  font-size: .7rem; padding: .28rem .5rem; border-radius: 99px;
  background: #152033; color: #dbeafe; border: 1px solid rgba(255,255,255,.1);
}
.desk-chips button.on { outline: 2px solid #f5c518; color: #f5c518; }
.desk-body { display: grid; grid-template-columns: minmax(12rem, 18rem) 1fr; gap: .6rem; }
.desk-art { background: #0c3a22; border-radius: 10px; min-height: 12rem; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.desk-art .play-art { width: 100%; height: auto; }
.desk-art { align-self: start; position: sticky; top: 0; z-index: 1; }
.desk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr)); gap: .3rem; }
.desk-lab { grid-column: 1 / -1; margin: .35rem 0 0; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; font-weight: 800; }
.desk-tool { margin: .15rem 0 .35rem; }
.desk-tool > span { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; font-weight: 800; margin-bottom: .2rem; }
.desk-tool select { font: inherit; background: #111827; color: #e8eef6; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: .35rem .5rem; min-width: 12rem; }
.desk-bags { grid-column: 1 / -1; margin-bottom: .35rem; }
#deskInstall { align-self: end; }
.desk-slots button {
  background: #102030; color: #e8eef6; border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: .28rem; text-align: left; font-size: .7rem;
  display: flex; flex-direction: column; gap: .12rem;
}
.desk-slots button.on { outline: 2px solid #38bdf8; }
.desk-slots .route-art { width: 100%; height: auto; }
.desk-pick {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(6.2rem, 1fr));
  gap: .28rem; margin-top: .4rem; max-height: 18rem; overflow: auto;
}
.desk-pick button {
  background: #0f172a; color: #fde68a; border: 1px solid rgba(245,197,24,.25);
  border-radius: 8px; padding: .25rem; font-size: .68rem; text-align: left;
}
.desk-run { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.desk-run label { font-size: .7rem; display: flex; flex-direction: column; gap: .15rem; }
.desk-run select { font: inherit; background: #111827; color: #e8eef6; border-radius: 6px; padding: .25rem; }
.desk-mine { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.6rem, 1fr)); gap: .35rem; margin-top: .5rem; }
.desk-mine button { text-align: left; background: #121826; color: #e8eef6; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: .3rem; font-size: .7rem; }
.desk-mine button.on { outline: 2px solid #f5c518; }
.desk-mine .play-art { width: 100%; height: auto; }
@media (max-width: 720px) {
  .desk-body { grid-template-columns: 1fr; }
  .desk-art { order: -1; }
}

/* ── se-shell: one-column phone gameday ── */
.se-los, .se-thumbs, .se-wire, .se-more { display: none; }
.se-tile b {
  font-size: 13px; font-weight: 800; letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#bookCam, #lookBtn, #lookChip { display: none !important; }
@media (min-width: 1280px) {
  body.gameday .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: max-content;
  }
  body.gameday .book-ov .sheet-card .play-art {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 120px;
    aspect-ratio: 220 / 148;
    margin: 0 auto .28rem;
  }
  body.gameday .book-ov .sheet-card b { font-size: .95rem; letter-spacing: .01em; }
}
.se-fam, .se-pers, .se-forms {
  display: flex; gap: .28rem; overflow-x: auto; flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch; padding: .1rem 0 .25rem;
}
.se-fam button, .se-pers button, .se-forms button, .se-def button {
  flex: 0 0 auto; min-height: 44px; min-width: 44px;
  padding: .45rem .7rem; font-size: 13px; font-weight: 800;
  border-radius: 999px; background: #101826; color: #e8eef6;
  border: 1px solid rgba(255,255,255,.12);
}
.se-fam button.on, .se-pers button.on, .se-forms button.on, .se-def button.on {
  outline: 2px solid #f5c518; color: #f5c518; background: #142018;
}
.se-wire {
  margin: 0 0 .35rem; font-size: 12px; color: #c9d6e8;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.se-more {
  grid-column: 1 / -1; min-height: 44px;
  background: #152033; color: #f5c518; font-weight: 800;
}
.book-tabs.se-fam { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.book-tabs.se-fam button { flex: 0 0 auto; }

body.gameday:not(.book-open) .book-ov { pointer-events: none; }

body.se-phone, body.gameday.se-phone {
  overflow: hidden;
  overflow-x: hidden !important;
  height: 100dvh;
  max-width: 100vw;
  width: 100%;
  overscroll-behavior: none;
}
body.se-phone.gameday .top {
  position: fixed; top: 0; left: 0; right: 0;
  min-height: calc(44px + env(safe-area-inset-top, 0px));
  height: calc(44px + env(safe-area-inset-top, 0px));
  padding: 0 .2rem;
  padding-top: env(safe-area-inset-top, 0px);
  gap: 0;
  z-index: 40;
  pointer-events: auto;
  touch-action: pan-x;
  flex-wrap: nowrap;
  overflow-x: auto;
}
body.se-phone.gameday .top b { display: none; }
body.se-phone.gameday .top a {
  flex: 1 1 0;
  min-height: 44px; min-width: 44px; font-size: .68rem; padding: 0 .2rem;
  white-space: nowrap;
  touch-action: manipulation;
}
body.se-phone.gameday,
body.gameday.se-phone {
  padding-top: calc(44px + env(safe-area-inset-top, 0px));
  box-sizing: border-box;
}
body.se-phone .se-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100% !important;
  max-width: 100%;
  width: 100%;
  padding: 0 !important;
  overflow: hidden;
  overflow-x: hidden;
  gap: 0;
}
body.se-phone .nfl-bug {
  height: auto !important;
  min-height: 72px !important;
  max-height: none !important;
}
body.se-phone .nfl-bug .nb-bar {
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
}
body.se-phone .nfl-bug .nb-site { height: 16px; flex-basis: 16px; font-size: 10px; line-height: 16px; }
body.se-phone .nfl-bug .nb-sc { font-size: 1.7rem; }
body.se-phone .nfl-bug .nb-dn { font-size: .72rem; }
body.se-phone .nfl-bug .nb-q { font-size: .68rem; }
body.se-phone .nfl-bug .nb-pc { display: block !important; font-size: .78rem; min-width: 1.6rem; }
body.se-phone .se-shell .se-bug {
  display: none !important;
  flex: 0 0 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}
body.se-phone .se-shell .se-bug > div:first-child {
  min-width: 0; flex: 1; overflow: hidden;
}
body.se-phone .se-shell .se-bug h1,
body.se-phone .se-shell .se-bug .kicker { display: none; }
body.se-phone .se-shell .se-bug .sit-line {
  margin: 0; height: 44px; align-items: center;
}
body.se-phone .se-shell .se-bug .sit-line .dn {
  font-size: 13px; max-width: 42vw;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
body.se-phone .se-shell .se-bug .sit-line .spot { font-size: 15px; }
body.se-phone .se-shell .se-bug .row { display: none; }
body.se-phone .se-shell .se-clockline,
body.se-phone .se-shell #modeHint,
body.se-phone .se-shell #lockLine,
body.se-phone .se-shell #why,
body.se-phone .se-shell #log,
body.se-phone .se-shell #callout { display: none; }
body.se-phone .se-shell .booth {
  display: flex; flex-direction: column;
  flex: 1 1 0 !important;
  min-height: 0 !important;
  margin: 0; padding: 0;
  border: 0; border-radius: 0; background: #05070c;
  overflow: hidden;
}
body.se-phone .se-shell .booth-col { display: none; }
body.se-phone .se-shell .se-stage {
  flex: 1 1 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100%;
  border-radius: 0;
  position: relative;
}
body.se-phone .se-shell .se-stage svg {
  width: 100%;
  height: 100%;
  min-height: 0;
}
body.se-phone .se-los {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 28px;
  height: 28px;
  padding: 0 .7rem;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f5c518;
  background: #0b0d12;
  border-top: 1px solid rgba(255,255,255,.08);
  position: relative;
  z-index: 12;
}
body.se-phone .se-los span {
  color: #dbe4ef;
  max-width: 46vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.se-phone .book-ov,
body.se-phone .book-ov.hide {
  display: none !important;
}
/* Full-screen playbook sheet: covers field+los, sits under bug, above thumbs. Never a dock. */
body.se-phone.book-open .book-ov:not(.hide),
body.se-phone.book-open .book-ov.se-sheet:not(.hide) {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto 1fr;
  position: absolute !important;
  inset: auto !important;
  top: auto !important;
  right: 0 !important;
  bottom: 56px !important;
  left: 0 !important;
  width: auto !important;
  height: min(48dvh, 52%) !important;
  max-height: min(48dvh, 52%) !important;
  min-height: 0 !important;
  flex: none !important;
  padding: .35rem .5rem .3rem;
  background: #0b1220;
  z-index: 70;
  overflow: hidden;
  overflow-x: hidden;
  border-top: 1px solid rgba(255,255,255,.1);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -16px 40px rgba(0,0,0,.45);
}
body.se-phone .tv-row { z-index: 46; }
body.se-phone.book-open .stad.se-dim::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 56px;
  height: min(48dvh, 52%);
  top: auto;
  background: rgba(5,7,12,.28);
  z-index: 40;
  pointer-events: none;
}
body.se-phone.book-open .aud-ov,
body.se-phone.book-open .se-card,
body.se-phone.aud-open .book-ov,
body.se-phone.card-open .book-ov,
body.se-phone.card-open .aud-ov { display: none !important; }
body.se-phone .aud-ov:not(.hide) {
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  max-height: min(52dvh, 24rem);
  border-radius: 16px 16px 0 0;
  z-index: 55;
  padding: .55rem .55rem calc(.55rem + env(safe-area-inset-bottom));
}
body.se-phone .aud-grid {
  grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr));
  max-height: min(38dvh, 16rem);
}
body.se-phone .aud-grid .route-art,
body.se-phone .aud-grid .play-art {
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  display: block;
}
body.se-phone .book-rail {
  display: flex; flex-direction: column; gap: .2rem;
  border: 0; padding: 0; max-height: none; overflow: visible;
}
body.se-phone .book-main {
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
body.se-phone .book-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .35rem;
}
body.se-phone .book-ov .sheet-card,
body.se-phone .se-tile {
  padding: .3rem .35rem .4rem;
  min-height: max-content;
  height: auto;
  overflow: visible;
}
body.se-phone .book-ov .sheet-card .play-art,
body.se-phone .se-tile .play-art {
  aspect-ratio: 220 / 148 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  display: block;
}
body.se-phone .book-ov .tile-art,
body.se-phone .se-tile .tile-art {
  flex: 1 1 auto;
  min-height: 100px;
  margin-bottom: 0;
}
body.se-phone .se-thumbs {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex: 0 0 56px;
  height: 56px;
  padding: 0 .45rem env(safe-area-inset-bottom);
  background: #07090d;
  border-top: 1px solid rgba(255,255,255,.1);
  position: relative;
  z-index: 80;
}
body.se-phone .se-thumbs button {
  flex: 1;
  min-height: 44px;
  min-width: 44px;
  font-size: 13px;
  font-weight: 800;
  padding: .4rem .55rem;
}
body.se-phone .se-thumbs #seCall {
  background: #b6ff3b; color: #06100a;
}
body.se-phone .se-thumbs #thumbJump:not(.hide) {
  display: inline-flex;
  background: #b6ff3b;
  color: #06100a;
  flex: 1.15;
}
body.se-phone .se-thumbs #thumbJump.on { background: #b6ff3b; color: #06100a; }
body.gameday .top a.nav-more { display: none; }
body.se-phone.gameday .top a.nav-more { display: none; }
@media (max-width: 430px) {
  .rotate-hint, #rotateHint { display: none !important; visibility: hidden !important; pointer-events: none !important; height: 0 !important; overflow: hidden !important; }
  nav.top, .top { flex-wrap: nowrap !important; overflow: hidden !important; height: calc(44px + env(safe-area-inset-top, 0px)); min-height: calc(44px + env(safe-area-inset-top, 0px)); }
  .top a.nav-more { display: none !important; }
  body.gameday .top b, .top b { display: inline-flex !important; }
}

body.se-phone.land.gameday .se-shell { height: 100dvh; }
body.se-phone.land.gameday .top { display: none; }

.se-menu-sheet {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(4, 8, 14, .55);
  padding: 0;
}
.se-menu-sheet[hidden] { display: none !important; }
.se-menu-panel {
  background: #0b1220;
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.se-menu-row {
  display: flex; align-items: center; justify-content: flex-start;
  width: 100%; min-height: 44px; height: 44px;
  margin: 0; padding: 0 1rem;
  border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; background: transparent; color: var(--ink);
  font-weight: 800; font-size: 15px;
}
.se-menu-row:active { background: rgba(182,255,59,.12); }
#navHome { cursor: pointer; }
.gd-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  min-height: 44px;
  padding: .45rem .2rem;
  border-bottom: 1px solid var(--line);
}
.gd-meta { flex: 1 1 10rem; min-width: 0; }
.gd-meta b { display: block; }
.gd-meta small { color: var(--muted); }
.gd-acts { display: flex; gap: .35rem; }
.gd-acts button { min-height: 44px; min-width: 44px; padding: .45rem .9rem; }
.gd-tag {
  font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.gd-side { display: flex; gap: .35rem; width: 100%; }
.gd-side button { min-height: 44px; flex: 1; }
.gd-final { opacity: .85; }
.pw-wrap { display: flex; align-items: center; gap: .35rem; }
.pw-wrap input { flex: 1; }
.pw-toggle {
  min-height: 44px; min-width: 44px;
  background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: 12px;
  font-size: .72rem; font-weight: 800;
}
body.se-phone.land .se-bug {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  flex-basis: 0 !important;
  background: transparent;
}
body.se-phone.land .se-los { display: none; }
body.se-phone.land .book-ov { display: none !important; }
body.se-phone.land.book-open .book-ov:not(.hide) {
  display: grid !important;
  position: absolute !important;
  top: 36px !important; right: 0 !important; bottom: 0 !important; left: auto !important;
  width: min(22rem, 46vw) !important;
  height: auto !important;
  max-height: none;
  border-radius: 0;
}
body.se-phone.land .se-thumbs {
  position: absolute;
  right: .5rem; bottom: .5rem;
  width: auto; height: auto;
  background: transparent; border: 0;
  padding: 0;
}
body.se-phone.land .se-thumbs button { display: none; }
body.se-phone.land .se-thumbs #seCall { display: inline-flex; min-width: 5.6rem; }
body.se-phone.land .se-thumbs #thumbJump:not(.hide) { display: inline-flex; min-width: 5.6rem; background: #b6ff3b; color: #06100a; }

.se-card {
  display: none;
  position: absolute; inset: 0; z-index: 80;
  flex-direction: column;
  background: rgba(5,7,12,.55);
}
.se-card.hide { display: none !important; }
body.card-open .se-card:not(.hide),
.se-card:not(.hide) {
  display: flex;
}
body.se-phone .se-card {
  top: 44px;
  bottom: 56px;
  left: 0;
  right: 0;
  inset: auto;
  z-index: 75;
}
body.se-phone.book-open .se-card,
body.se-phone.aud-open .se-card { display: none !important; }
.se-card-inner {
  margin-top: auto;
  height: 70%;
  max-height: 70vh;
  background: #0b1220;
  border-radius: 16px 16px 0 0;
  padding: .7rem .75rem calc(.7rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: .45rem;
  overflow: auto;
}
.se-card-art { background: #0c3a22; border-radius: 10px; overflow: hidden; }
.se-card-art .play-art { width: 100%; height: auto; display: block; }
.se-card-kicker {
  margin: 0; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: #f5c518; font-weight: 800;
}
.se-card-copy h2 {
  margin: .15rem 0 .35rem; font-size: 1.15rem;
  font-family: "Archivo Black", sans-serif; letter-spacing: .04em;
}
.se-card-snap, .se-card-coach {
  margin: 0 0 .25rem; font-size: 14px; color: #dbe4ef; line-height: 1.35;
}
.se-card-coach { color: #9aa3b2; max-width: 42rem; }
.se-card-act { display: flex; gap: .4rem; }
.se-card-act button { min-height: 44px; flex: 1; }

/* ── Depth chart + Adjust lineup (one editor, three doors) ── */
.se-dc-ov {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(5, 7, 12, .62);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0;
}
.se-dc-ov.hide { display: none !important; }
.se-dc-sheet {
  width: min(414px, 100%);
  max-height: min(88dvh, 52rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px 16px 0 0;
  overflow: auto;
  box-shadow: 0 -16px 40px rgba(0, 0, 0, .45);
  padding-bottom: env(safe-area-inset-bottom);
}
.se-dc {
  --tc: var(--lime);
  color: var(--ink);
  padding: .7rem .75rem 1.2rem;
}
.se-dc-bar {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: .5rem; margin: 0 0 .55rem;
}
.se-dc-who { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.se-dc-who b {
  font-family: "Archivo Black", sans-serif; letter-spacing: .04em; font-size: 1.05rem;
}
.se-dc-who small { color: var(--muted); font-size: .72rem; }
.se-dc-chip-team {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.6rem; height: 22px; padding: 0 .45rem;
  border-radius: 999px; background: var(--tc); color: #06100a;
  font-weight: 800; font-size: .68rem; letter-spacing: .08em;
}
.se-dc-acts { display: flex; flex-wrap: wrap; gap: .3rem; justify-content: flex-end; }
.se-dc-acts button {
  min-height: 44px; min-width: 44px; padding: .45rem .7rem; font-size: .78rem;
}
.se-dc-teams {
  display: flex; flex-wrap: wrap; gap: .28rem; margin: 0 0 .55rem;
}
.se-dc-tm {
  min-height: 44px; min-width: 44px; padding: .35rem .5rem;
  background: #0c1420; color: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; font-size: .72rem; font-weight: 800;
}
.se-dc-tm.on { background: var(--lime); color: #06100a; border-color: transparent; }
.se-dc-wire {
  margin: 0 0 .5rem; color: var(--gold); font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.se-dc-tabs { display: flex; gap: .3rem; margin: 0 0 .55rem; }
.se-dc-tabs button {
  flex: 1; min-height: 44px; background: #0c1420; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; font-weight: 800;
}
.se-dc-tabs button.on { background: var(--lime); color: #06100a; border-color: transparent; }
.se-dc-rows { display: flex; flex-direction: column; gap: .4rem; }
.se-dc-row {
  display: grid; grid-template-columns: 3.2rem 1fr; gap: .4rem; align-items: center;
  background: #0c1420; border: 1px solid var(--line); border-radius: 12px;
  padding: .35rem .4rem; min-height: 44px;
}
.se-dc-slot {
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; color: var(--muted);
}
.se-dc-depth { display: flex; flex-wrap: wrap; gap: .28rem; align-items: center; }
.se-dc-chip {
  position: relative;
  display: inline-flex; flex-direction: row; align-items: center; justify-content: flex-start;
  min-height: 52px; min-width: 96px; padding: .15rem .5rem .15rem .15rem;
  background: #121824; color: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; text-align: left; gap: .3rem;
}
.se-dc-chip svg { width: 72px; height: 92px; flex: none; background: #1a140f; border-radius: 8px; }
.se-dc-chip-txt { display: flex; flex-direction: column; min-width: 0; }
.se-dc-chip b { font-size: .82rem; line-height: 1.1; }
.se-dc-chip small { color: var(--muted); font-size: .64rem; font-weight: 700; }
.se-dc-chip.one { outline: 2px solid var(--lime); }
.se-dc-chip.sel { outline: 2px solid var(--gold); }
.se-dc-chip.out { opacity: .72; }
.se-dc-chip.pip { padding-top: .55rem; }
.se-dc-pip {
  position: absolute; top: 3px; right: 4px;
  font-style: normal; font-size: .55rem; font-weight: 800; letter-spacing: .06em;
  color: #fff; background: #e11d48; border-radius: 999px; padding: .08rem .28rem;
}
.se-dc-empty { color: var(--gold); font-size: .72rem; font-weight: 700; }
.se-dc-add {
  min-height: 44px; min-width: 44px; padding: 0;
  background: transparent; color: var(--ink); border: 1px dashed var(--line); border-radius: 10px;
}
.se-dc-forms { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .5rem; }
.se-dc-forms button { min-height: 44px; padding: .4rem .7rem; }
.se-dc-forms button.on { background: var(--lime); color: #06100a; }
.se-dc-field {
  position: relative; height: 26rem; margin: 0 0 .55rem;
  background:
    linear-gradient(180deg, rgba(12, 58, 34, .45), rgba(12, 58, 34, .2)),
    repeating-linear-gradient(0deg, transparent, transparent 17px, rgba(255,255,255,.06) 17px, rgba(255,255,255,.06) 18px),
    #0c3a22;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.se-dc-los {
  position: absolute; left: 4%; right: 4%; top: 66%;
  height: 2px; background: var(--ink); opacity: .55; pointer-events: none;
  font-size: 0;
}
.se-dc-los::after {
  content: "LOS"; position: absolute; left: 50%; top: 26px;
  transform: translateX(-50%);
  font-size: .62rem; letter-spacing: .12em; color: var(--gold); font-weight: 800;
}
.se-dc-body {
  position: absolute; transform: translate(-50%, -70%);
  width: 96px; min-width: 0; min-height: 0; padding: 0;
  background: transparent; color: #fff; border: 0;
  border-radius: 0; display: flex; flex-direction: column; align-items: center;
  z-index: 1; filter: drop-shadow(0 2px 0 rgba(0,0,0,.45));
}
.se-dc-body svg { width: 86px; height: 110px; display: block; background: #1c1410; border-radius: 10px; }
.se-dc-body em {
  font-style: normal; font-size: .48rem; letter-spacing: .06em; color: var(--gold); font-weight: 800;
  margin-top: 0; line-height: 1;
}
.se-dc-body b {
  font-size: .58rem; line-height: 1.05; max-width: 62px;
  text-shadow: 0 1px 2px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(0, 0, 0, .42); border-radius: 4px; padding: 0 3px;
}
.se-dc-body:hover, .se-dc-body:focus { z-index: 6; }
.se-dc-body.out { outline: 2px solid #e11d48; border-radius: 8px; }
.se-dc-holes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem;
}
.se-dc-hole {
  min-height: 52px; min-width: 0; display: flex; flex-direction: row; align-items: center; gap: .35rem;
  background: #0c1420; color: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  padding: .15rem .4rem .15rem .15rem; text-align: left; overflow: hidden;
}
.se-dc-hole svg { width: 64px; height: 82px; flex: none; background: #1a140f; border-radius: 8px; }
.se-dc-hole span { font-size: .62rem; color: var(--muted); letter-spacing: .08em; font-weight: 800; flex: none; }
.se-dc-hole b { font-size: .72rem; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.se-dc-pick, .se-dc-force {
  margin-top: .6rem; padding: .7rem; background: #0c1420;
  border: 1px solid var(--line); border-radius: 14px;
}
.se-dc-pick-list { display: flex; flex-wrap: wrap; gap: .28rem; margin: .4rem 0 .5rem; }
.se-dc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.4rem, 1fr)); gap: .35rem; }
.se-dc-card {
  --tc: #1a2433;
  display: flex; flex-direction: column; align-items: stretch;
  min-height: 88px; min-width: 0; padding: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tc) 72%, #0a1018) 0%, #0c1420 70%);
  color: #fff; border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; overflow: hidden; text-align: left;
}
.se-dc-card svg { width: 96px; height: 118px; display: block; margin: 0 auto; background: #1a140f; }
.se-dc-card-who { padding: .1rem .5rem .2rem; display: flex; flex-direction: column; gap: 0; }
.se-dc-card-who b { font-size: .78rem; line-height: 1.1; }
.se-dc-card-who small { font-size: .58rem; letter-spacing: .08em; color: rgba(255,255,255,.7); font-weight: 800; }
.se-dc-card-ovr {
  margin-top: auto; padding: .2rem .5rem .35rem;
  font-family: "Archivo Black", sans-serif; font-size: 1.05rem; color: var(--lime);
}
.se-dc-card.out { opacity: .62; }
.se-dc-force { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.se-dc-force p { flex: 1 1 100%; margin: 0; color: var(--ink); }
#luHost .se-dc { padding: 0; }
#view-lineup { max-width: 1180px; }

@media (min-width: 820px) {
  .se-dc-ov { align-items: center; padding: 1.2rem; }
  .se-dc-sheet {
    width: min(920px, 96vw); max-height: 88dvh;
    border-radius: 16px;
  }
  .se-dc-holes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .se-dc-field { height: 28rem; }
}

@media (orientation: landscape) and (max-height: 520px) {
  .se-dc { display: grid; grid-template-columns: 1.1fr .9fr; gap: .5rem; align-items: start; }
  .se-dc-bar, .se-dc-teams, .se-dc-wire, .se-dc-tabs, .se-dc-forms { grid-column: 1 / -1; }
  .se-dc-field { height: min(70vh, 22rem); margin: 0; }
  .se-dc-rows, .se-dc-holes { max-height: 70vh; overflow: auto; }
}

body.se-phone .se-dc-ov {
  align-items: flex-end;
}
body.se-phone .se-dc-sheet {
  width: 100%;
  max-height: 78dvh;
  border-radius: 16px 16px 0 0;
}
body.se-phone.land .se-dc-ov { align-items: stretch; }
body.se-phone.land .se-dc-sheet {
  margin-left: auto; width: min(22rem, 46vw); height: 100%; max-height: none;
  border-radius: 0;
}
body.gameday .se-dc-ov { z-index: 90; }

@media (min-width: 720px) {
  body.gameday:not(.se-phone) .book-ov {
    position: absolute;
    top: 0; bottom: 0; right: 0; left: 0;
    width: auto;
    grid-template-columns: 12.5rem 1fr;
    border-left: 0;
    background: rgba(5,7,12,.94);
  }
  body.gameday:not(.se-phone) .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: max-content;
    align-content: start;
  }
  body.gameday:not(.se-phone) .book-ov .se-tile,
  body.gameday:not(.se-phone) .book-ov .sheet-card {
    height: auto;
    overflow: hidden;
  }
  body.gameday:not(.se-phone) .book-ov .play-art {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 120px;
    aspect-ratio: 220 / 148;
    margin: 0 auto .28rem;
  }
  .se-card-inner {
    margin: auto; height: auto; max-height: 86vh;
    width: min(42rem, 92vw); border-radius: 16px;
    display: grid; grid-template-columns: 1.15fr .85fr;
  }
  .se-card-copy { grid-column: 2; }
  .se-card-act { grid-column: 1 / -1; }
}

.d-bar { display: none; }
.d-bar.hide { display: none !important; }
.skill-drawer { display: contents; }

/* ── iPhone XR dock: field edge-to-edge, chrome overlays the grass ── */
body.se-phone.gameday.port .wrap.fit.gameday-full,
body.se-phone.port.phone .wrap.fit.gameday-full {
  height: 100% !important;
  padding: 0 !important;
  overflow: hidden;
}
body.se-phone.gameday.port .wrap.fit.gameday-full .stad,
body.se-phone.port.phone .wrap.fit.gameday-full .stad {
  flex: 1 1 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  max-height: none !important;
}
body.se-phone .se-los {
  display: none !important;
}
body.se-phone .se-shell .booth {
  position: relative !important;
  flex: 1 1 0 !important;
  min-height: 0 !important;
}
body.se-phone .se-shell .se-stage {
  position: absolute !important;
  inset: 0 !important;
  flex: none !important;
  min-height: 0 !important;
  height: auto !important;
  width: auto !important;
  max-height: none !important;
  border-radius: 0;
}
body.se-phone .se-shell .se-stage svg#field {
  width: 100% !important;
  height: 100% !important;
  display: block;
  position: absolute;
  inset: 0;
}
body.se-phone .se-thumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  flex: none !important;
  height: auto;
  min-height: 56px;
  padding: 6px 10px max(10px, env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent, rgba(7, 9, 13, .88) 36%);
  border-top: 0;
  z-index: 24;
  pointer-events: none;
}
body.se-phone .se-thumbs button {
  pointer-events: auto;
}
body.se-phone .kickoff-ready .se-thumbs {
  background: transparent;
  border-top: 0;
  min-height: 48px;
}
body.se-phone .kickoff-ready .se-thumbs #seCall {
  display: none;
}
body.se-phone .kickoff-ready .se-thumbs #seHike {
  background: #b6ff3b;
  color: #06100a;
  font-weight: 800;
}
body.se-phone .kr-bar,
body.se-phone .stad .kr-bar { display: none !important; }
body.se-phone .phone-hud .stick-zone,
body.se-phone.port .phone-hud .stick-zone,
body.gameday.port.phone.se-phone .phone-hud .stick-zone {
  width: 96px !important;
  height: 96px !important;
  left: 8px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 26;
}
body.se-phone .phone-hud .stick-base {
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
}
body.se-phone .phone-hud .stick-base i {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
}
body.se-phone .phone-hud .pass-pads {
  left: 42%;
  transform: translateX(-50%);
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  z-index: 26;
}
body.se-phone .phone-hud .act-pads {
  left: auto;
  right: 8px;
  width: 7.4rem;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  z-index: 26;
  grid-template-columns: 1fr 1fr;
}
body.se-phone .phone-hud .hud-hike-stack,
body.se-phone .phone-hud #hudHike {
  display: none !important;
}
body.se-phone .phone-hud {
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 14;
  pointer-events: none;
}
body.se-phone.book-open .phone-hud,
body.se-phone.card-open .phone-hud {
  display: none !important;
}
body.se-phone .phone-hud button,
body.se-phone .phone-hud .stick-zone,
body.se-phone .phone-hud .d-bar {
  pointer-events: auto;
}
body.se-phone .phone-hud.on-d .d-bar:not(.hide) {
  display: flex !important;
  position: absolute;
  left: 72px;
  right: 8px;
  bottom: calc(56px + max(12px, env(safe-area-inset-bottom, 0px)));
  z-index: 22;
  height: 36px;
  gap: 4px;
  align-items: stretch;
  pointer-events: auto;
}
body.se-phone .d-bar button {
  flex: 1 1 0;
  min-height: 36px;
  height: 36px;
  padding: 0 .2rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 8px;
  background: rgba(12, 20, 32, .88);
  color: #e8eef6;
  border: 1px solid rgba(255, 255, 255, .16);
}
body.se-phone .d-bar button.on {
  background: #b6ff3b;
  color: #06100a;
  border-color: #b6ff3b;
}
body.se-phone .d-bar #dSwitch {
  flex: 0 0 4.4rem;
  background: #f5c518;
  color: #111;
  border-color: #f5c518;
}
body.se-phone.gameday.port .phone-hud.on-d .act-pads,
body.se-phone.port.phone .phone-hud.on-d .act-pads {
  display: none;
  left: 72px;
  right: 8px;
  width: auto;
  bottom: calc(56px + 40px + max(12px, env(safe-area-inset-bottom, 0px)));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  z-index: 22;
}
body.se-phone.gameday.port .phone-hud.on-d.has-body .act-pads,
body.se-phone.port.phone .phone-hud.on-d.has-body .act-pads {
  display: flex !important;
  width: 86px !important;
  height: 86px !important;
  left: auto !important;
  right: 10px !important;
  bottom: calc(108px + env(safe-area-inset-bottom, 0px)) !important;
  align-items: center;
  justify-content: center;
  grid-template-columns: none;
}
body.se-phone .phone-hud.on-d .act-pads .skill-drawer {
  display: contents;
}
body.se-phone .phone-hud.on-d .act-pads button {
  min-height: 36px;
  height: 36px;
  padding: 0 .15rem;
  font-size: .58rem;
  border-radius: 8px;
}
body.se-phone .phone-hud.on-d .act-pads #hudScram,
body.se-phone .phone-hud.on-d .act-pads #hudAway,
body.se-phone .phone-hud.on-d .act-pads #hudBullet,
body.se-phone .phone-hud.on-d .act-pads #hudSwitch,
body.se-phone .phone-hud.on-d .act-pads .hud-hike-stack {
  display: none !important;
}
body.se-phone .phone-hud.on-d .lead-pad,
body.se-phone .phone-hud.on-d .pass-pads {
  display: none !important;
}
body.se-phone.gameday {
  overflow: hidden !important;
}
body.se-phone.gameday .se-shell {
  overflow: hidden;
}

/* JOYSTICK 414 — stick ABOVE Book/Call/Hike. Skills right of 1–4, never over the EZ. */
body.se-phone .phone-hud.live .stick-zone,
body.se-phone.port .phone-hud.live .stick-zone,
body.gameday.port.phone.se-phone .phone-hud.live .stick-zone {
  display: block !important;
  width: 96px !important;
  height: 96px !important;
  left: 8px !important;
  right: auto !important;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 28 !important;
}
body.se-phone .phone-hud.live .pass-pads {
  display: flex !important;
  left: 10px !important;
  right: 10px !important;
  width: auto !important;
  transform: none !important;
  bottom: calc(168px + env(safe-area-inset-bottom, 0px)) !important;
  justify-content: space-between;
  z-index: 30;
  gap: .35rem;
}
body.se-phone .phone-hud.live .pass-pads button {
  width: auto;
  flex: 1 1 0;
  max-width: 3.6rem;
  height: 3.25rem;
  font-size: 1.2rem;
}
body.se-phone .phone-hud.live .pass-pads.hide {
  display: none !important;
}
body.se-phone .phone-hud.live .act-pads,
body.se-phone.port .phone-hud.live .act-pads,
body.gameday.port.phone.se-phone .phone-hud.live .act-pads {
  display: flex !important;
  left: auto !important;
  right: 10px !important;
  width: 86px !important;
  height: 86px !important;
  bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
  align-items: center;
  justify-content: center;
  z-index: 28;
  gap: 0;
}
#hudSkill { display: none; }
body.se-phone .phone-hud.live #hudSkill,
body.se-phone .phone-hud.on-d.has-body #hudSkill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  min-height: 84px;
  padding: 0;
  border-radius: 50%;
  background: #f5c518;
  color: #111;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
  box-shadow: 0 4px 0 #8a6a08;
  touch-action: none;
}
body.se-phone .phone-hud.live #hudTruck,
body.se-phone .phone-hud.live #hudSpin,
body.se-phone .phone-hud.live #hudStiff,
body.se-phone .phone-hud.live #hudHurdle,
body.se-phone .phone-hud.on-d #hudTruck,
body.se-phone .phone-hud.on-d #hudSpin,
body.se-phone .phone-hud.on-d #hudStiff,
body.se-phone .phone-hud.on-d #hudHurdle {
  display: none !important;
}
body.se-phone .phone-hud:not(.live) .act-pads {
  display: none !important;
}
body.se-phone .phone-hud.live .act-pads #hudScram,
body.se-phone .phone-hud.live .act-pads #hudAway,
body.se-phone .phone-hud.live .act-pads #hudBullet,
body.se-phone .phone-hud.live .act-pads #hudSwitch,
body.se-phone .phone-hud.live .act-pads .hud-hike-stack {
  display: none !important;
}
body.se-phone .se-thumbs {
  z-index: 80 !important;
}

/* 3×2 phone sheet. Cam chips stay up. Folders stay one scroll row
   so a card is a chalkboard, not a clipped yellow stick. */
body.se-phone.book-open .book-ov:not(.hide),
body.se-phone.book-open .book-ov.se-sheet:not(.hide) {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  top: auto !important;
  right: 0 !important;
  left: 0 !important;
  bottom: 56px !important;
  height: min(62dvh, 64%) !important;
  max-height: min(62dvh, 64%) !important;
  z-index: 70;
}
body.se-phone.book-open .stad.se-dim::after {
  top: auto;
  bottom: 56px;
  height: min(62dvh, 64%);
}
body.se-phone.book-open .tv-row,
body.se-phone.book-open .cam-row {
  display: flex !important;
  z-index: 82;
  position: relative;
}
body.se-phone.book-open .cam-tools { display: none !important; }
body.se-phone .book-rail {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: .18rem;
  max-height: 7.4rem;
  overflow-x: hidden;
  overflow-y: auto;
}
body.se-phone .book-main {
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body.se-phone .book-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .28rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  align-content: start;
  grid-auto-rows: max-content;
}
body.se-phone .book-foot { display: none !important; }
body.se-phone .book-tabs.se-fam,
body.se-phone .book-pers.se-pers,
body.se-phone .book-forms.se-forms {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  gap: .28rem;
}
body.se-phone .book-head #bookDesk,
body.se-phone .book-head #bookPersBtn,
body.se-phone .book-head #bookCam,
body.se-phone .book-head .hike-stack {
  display: none !important;
}
body.se-phone .book-kicker {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.se-book-pick {
  position: fixed; inset: 0; z-index: 94;
  background: rgba(4, 8, 14, .55);
  overflow: auto;
}
.se-book-pick[hidden] { display: none !important; }
.se-book-panel { min-height: 100%; }
.se-book-club {
  flex-direction: column !important;
  align-items: flex-start !important;
  height: auto !important;
  min-height: 52px;
  padding: .45rem 1rem !important;
  gap: .1rem;
}
.se-book-club b {
  font-size: 15px;
  font-weight: 800;
}
.se-book-club small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.se-book-sec {
  margin: .35rem 0 0;
  padding: .85rem 1rem .2rem;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.se-menu-row.on,
.se-book-club.on {
  background: rgba(182, 255, 59, .14);
  color: #b6ff3b;
}


/* Franchise = Football GM */
#view-hub.gm-shell { padding-bottom: 4rem; }
.gm-tabs {
  display: flex;
  position: sticky;
  top: calc(44px + env(safe-area-inset-top, 0px));
  z-index: 28;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  margin: 0 -1rem .75rem;
  padding: 0 .35rem;
}
.gm-tabs button {
  flex: 1 1 0;
  height: 44px;
  min-height: 44px;
  min-width: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 0 .15rem;
  font-weight: 800;
}
.gm-tabs button.on {
  color: var(--lime);
  border-bottom-color: var(--lime);
  background: transparent;
}
.gm-row {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: .5rem;
  padding: 0 .35rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.gm-row b { flex: 1; min-width: 0; font-size: .92rem; }
.gm-row small { color: var(--muted); font-weight: 700; }
.gm-row .ovr { color: var(--lime); font-weight: 800; min-width: 2.2rem; text-align: right; }
.gm-row button { min-height: 44px; flex-shrink: 0; }
.gm-stub {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  padding: 1rem .4rem;
  margin: 0;
}
.gm-morale {
  color: var(--ink);
  font-size: .95rem;
  margin: .2rem 0 .8rem;
  max-width: 40rem;
}
.gm-next {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .85rem;
  margin: 0 0 .8rem;
}
.gm-next h2 { margin: 0 0 .25rem; font-size: 1.2rem; }
.gm-acts { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 1rem; }
.gm-acts button { min-height: 44px; }
.gm-lean { display: flex; flex-wrap: wrap; gap: .35rem; margin: .4rem 0 .8rem; }
.gm-lean button { min-height: 44px; min-width: 44px; background: #0c1420; color: var(--ink); border: 1px solid var(--line); }
.gm-lean button.on { background: var(--lime); color: #06100a; border-color: transparent; }
.gm-sked { display: flex; flex-direction: column; }
.gm-sked .gm-row.now { outline: 1px solid var(--lime); background: rgba(182,255,59,.08); }
.fr-cal h2 { margin: .15rem 0 .35rem; font-size: 1.35rem; }
.fr-cal .gm-acts button { min-height: 48px; min-width: 6.5rem; }
#frWeeks { max-height: 52vh; overflow: auto; }
.gm-sked .gm-row.you { font-weight: 800; }
#gmDepth .se-dc { padding: .2rem 0 1rem; }
#gmDepth .se-dc-bar { margin-bottom: .4rem; }
.gm-ros-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 .85rem;
  background: #0c1420; color: var(--ink); border: 1px solid var(--line);
  border-radius: 999px; font-weight: 800; font-size: .78rem;
}
.gm-ros-chip.on { background: var(--lime); color: #06100a; border-color: transparent; }
.gm-sub { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .6rem; }
body.se-phone #view-hub.gm-shell { padding: .7rem .7rem 3.5rem; }
body.se-phone .gm-tabs { margin-left: -.7rem; margin-right: -.7rem; }
@media (max-width: 520px) {
  .gm-tabs button { font-size: .62rem; letter-spacing: .06em; }
}

/* NFL trade sheet + draft clock */
.tr-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin: .4rem 0 .8rem;
}
.tr-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .5rem .45rem .7rem;
  min-width: 0;
}
.tr-col h2 { margin: .1rem .2rem .35rem; }
.tr-col .gm-acts { margin: .35rem 0 0; }
.tr-col select {
  min-height: 44px;
  max-width: 100%;
  flex: 1 1 8rem;
}
.dr-clock {
  font-family: "Archivo Black", system-ui, sans-serif;
  font-size: 2.1rem;
  letter-spacing: .08em;
  color: var(--gold);
  margin: .2rem 0 .35rem;
}
#drQueue .gm-row { min-height: 44px; }
#drTradeBack:disabled { opacity: .4; }
@media (max-width: 520px) {
  .tr-sheet { grid-template-columns: 1fr; }
}

.fl-bar, .fl-slots-host { margin: .6rem 0 .8rem; }
.fl-bar .fl-who { font-weight: 800; margin: .15rem 0 .4rem; }
.fl-form { display: grid; gap: .45rem; }
.fl-form input { min-height: 44px; font-size: 16px; }
.fl-slots { margin: 0 0 .7rem; }
.fl-slot {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  width: 100%; min-height: 44px; margin: .25rem 0; padding: 0 .75rem;
  border: 1px solid var(--line); border-radius: 10px; background: var(--card);
  color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.fl-slot b { font-size: .92rem; }
.fl-slot span { color: var(--muted); font-size: .78rem; }
.fl-slot.on { border-color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.fl-slot.empty { opacity: .7; }
.fl-merge .ghost { min-height: 44px; }
#flPrint { font-variant-numeric: tabular-nums; opacity: .75; }

.se-home {
  position: relative;
  height: calc(100dvh - 48px);
  min-height: 0;
  overflow: hidden;
  background: #05070c;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
body:has(#view-menu:not(.hide)) {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body:has(#view-menu:not(.hide)) .top { flex: 0 0 auto; }
body:has(#view-menu:not(.hide)) .se-home {
  flex: 1 1 auto;
  height: auto;
  max-height: none;
  min-height: 0;
}
.se-hero { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.se-hero svg:not(.pc-bust), .se-hero img, .se-hero-fallback svg {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 18%;
}
.se-hero img.se-hero-photo {
  width: 100%;
  height: auto;
  max-height: 62%;
  object-fit: contain;
  object-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
}
.se-hero .hero-shot { position: absolute; inset: 0; }
.se-hero-fallback[hidden] { display: none !important; }
.se-hero-fallback { position: absolute; inset: 0; }
.se-hero-club {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--tc, #16351f) 40%, transparent) 0%, transparent 42%),
    #070b12;
}
.se-hero-club .hero-shot { z-index: 0; }
.se-hero-clubname {
  position: absolute; top: .7rem; left: .85rem; margin: 0; z-index: 2;
  font-family: "Archivo Black", Impact, sans-serif; letter-spacing: .14em; color: #fff;
  text-shadow: 0 2px 10px #000;
}
.se-hero-names {
  position: absolute; top: 2.35rem; left: .85rem; right: 5.5rem; margin: 0; z-index: 2;
  color: #fff; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  font-size: .72rem; text-shadow: 0 2px 8px #000;
}
.se-home-scrim {
  position: absolute; left: 0; right: 0; bottom: 0; top: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(5,7,12,.12) 0%, rgba(5,7,12,0) 18%, rgba(5,7,12,.05) 42%, rgba(5,7,12,.78) 74%, rgba(5,7,12,.94) 100%);
  pointer-events: none;
}
.se-home-ui {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 0;
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 4.2rem .9rem calc(.7rem + env(safe-area-inset-bottom, 0px));
  overflow: auto;
  box-sizing: border-box;
}
.home-corner {
  position: absolute; top: .55rem; right: .65rem; z-index: 4;
  display: flex; gap: .35rem; align-items: center;
}
.home-corner button {
  min-height: 36px; height: 36px; padding: 0 .75rem;
  background: rgba(8,12,18,.55); color: #fff;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
#openSettings { width: 36px; padding: 0; }
.fav-pick {
  display: flex; flex-direction: column; gap: .25rem; margin-top: .75rem;
  color: #fff; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 800; text-align: center;
}
.fav-pick select {
  min-height: 44px; border-radius: 999px; padding: 0 .9rem;
  background: rgba(8, 12, 18, .72); color: #fff;
  border: 1px solid rgba(255, 255, 255, .28); font-weight: 800; font-size: .9rem;
}
.se-hero-star { margin: 0; text-align: center; color: #fff; }
.se-hero-star svg { width: min(26vw, 190px); height: auto; filter: drop-shadow(0 10px 0 rgba(0,0,0,.35)); }
.se-hero-star.mid svg { width: min(26vw, 190px); } /* same head size as the flanks */
.se-hero-star figcaption b {
  display: block; font-family: "Archivo Black", Impact, sans-serif;
  font-size: .92rem; letter-spacing: .04em; text-shadow: 0 2px 8px #000;
}
.se-hero-star small { letter-spacing: .08em; font-size: .66rem; font-weight: 800; opacity: .85; }
.se-hero-roster {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  padding: 2.8rem .2rem 0;
  background:
    radial-gradient(ellipse at 50% 18%, color-mix(in srgb, var(--tc, #00338d) 55%, transparent) 0%, transparent 58%),
    linear-gradient(180deg, #121a2c 0%, #070b12 72%);
}
.se-hero-roster .se-hero-clubname { position: static; width: 100%; text-align: center; margin-bottom: 1.6rem; } /* clear of tall hair (Mahomes high-top) */
.se-hero-row {
  display: flex; align-items: flex-end; justify-content: center;
  gap: .35rem; width: 100%; margin-top: .35rem;
}
.se-hero-roster .se-hero-star svg {
  width: min(34vw, 240px); height: auto; max-height: none;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.45));
}
.se-hero-roster .se-hero-star.mid svg { width: min(34vw, 240px); max-height: none; }
.look-box { margin: .35rem 0 .2rem; }
.look-top { display: flex; gap: .75rem; align-items: flex-end; }
.look-build { flex: 1; display: flex; flex-direction: column; gap: .35rem; }
.look-build label { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.look-build input[type="range"] { width: 100%; }
.look-row { display: flex; flex-wrap: wrap; gap: .28rem; align-items: center; margin: .28rem 0; }
.look-row > span { width: 3.2rem; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: var(--muted, #9aa6b6); }
.look-chip, .look-swatch { min-height: 32px; }
.look-chip { padding: 0 .5rem; border-radius: 999px; font-size: .72rem; }
.look-chip.on, .look-swatch.on { outline: 2px solid var(--lime, #b6ff3b); }
.look-swatch { width: 26px; height: 26px; min-width: 26px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); }
#carFace svg { width: 128px; height: auto; background: #1a140f; border-radius: 12px; }
.se-home-title {
  margin: 0 0 .7rem;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(2rem, 7vw, 3.4rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: .92;
  text-align: center;
  color: #fff;
  text-shadow: 0 10px 28px rgba(0,0,0,.55);
}
.mode-pills {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .35rem;
  margin: .55rem 0 0;
}
.mode-pills button {
  min-height: 44px;
  background: rgba(8,12,18,.45);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.mode-pills button.on { background: var(--lime); color: #06100a; border-color: transparent; }
.home-links { display: flex; justify-content: center; gap: .2rem 1.25rem; flex-wrap: wrap; text-align: center; margin: .75rem 0 0; }
.home-links button {
  background: transparent; border: 0; color: rgba(255,255,255,.86);
  font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  min-height: 44px; text-decoration: underline; text-underline-offset: .22rem;
}
.su-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem .8rem;
  margin: .85rem 0 1rem;
}
.su-grid label { letter-spacing: .08em; text-transform: uppercase; }
.su-grid select, .su-grid input {
  min-height: 44px;
  background: #0c1018;
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  padding: 0 .65rem;
  font-weight: 700;
  font-size: .95rem;
}
.su-grid .su-wide { grid-column: 1 / -1; }
#frRules { margin-top: .15rem; }
#frRules .su-wide { text-transform: none; letter-spacing: 0; font-weight: 650; line-height: 1.35; }
#frRules option:disabled { color: #6d7784; }
#view-setup { max-width: 720px; }
#suStart:disabled { opacity: .38; }
@media (max-width: 640px) {
  .su-grid { grid-template-columns: 1fr; }
  .su-grid .su-wide { grid-column: auto; }
}
.play-main {
  width: 100%;
  min-height: 56px;
  height: 56px;
  max-height: 56px;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  letter-spacing: .14em;
  margin: 0 0 .55rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  flex: 0 0 56px;
}
.play-sheet, .home-sec { display: grid; gap: .4rem; margin: 0 0 .45rem; }
.home-sec {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .2rem;
  margin-bottom: 0;
  flex: 0 0 auto;
}
.play-sheet button { min-height: 48px; }
.home-sec button {
  min-height: 40px;
  background: transparent;
  color: rgba(255,255,255,.78);
  border: 0;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#view-menu .play-sheet:not(.hide) {
  position: absolute;
  left: .65rem;
  right: .65rem;
  bottom: calc(.55rem + env(safe-area-inset-bottom, 0px));
  z-index: 6;
  max-height: 62%;
  overflow: auto;
  background: rgba(7, 9, 14, .94);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: .75rem .8rem .85rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
}
#slotFeelLab select, #slotClub select, #cFeel {
  min-height: 44px;
  width: 100%;
  border-radius: 10px;
  background: #0c1018;
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  font-weight: 800;
}
.home-tiles { margin: 0 0 .2rem; }
.art-row { display: grid; grid-template-columns: 1.4fr .85fr .85fr; gap: .45rem; align-items: stretch; }
.art-stack { display: grid; gap: .45rem; grid-template-rows: 1fr 1fr; min-height: 148px; }
.art-stack.single { grid-template-rows: 1fr; }
.art-tile {
  position: relative; min-height: 148px; border: 0; border-radius: 14px;
  overflow: hidden; padding: 0; text-align: left; color: #fff; background: #121820;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.art-stack .art-tile { min-height: 68px; }
.art-stack.single .art-tile { min-height: 148px; }
.art-tile svg, .art-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-tile::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 48%;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  pointer-events: none;
}
.art-tile[data-art="ex"] .art-k {
  top: auto; bottom: 0; left: 0; right: 0;
  font-size: .84rem; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(5,7,12,.72); border-radius: 0; padding: .38rem .55rem .42rem;
}
.art-tile[data-art="ex"]::after { display: none; }
.art-tile .art-k {
  position: absolute; left: .6rem; right: .4rem; bottom: .42rem; z-index: 1;
  font-weight: 900; letter-spacing: .06em; font-size: .78rem;
  text-shadow: 0 1px 2px #000;
}
.ex-plate { margin-top: .45rem; height: 92px; border-radius: 12px; overflow: hidden; }
.ex-plate svg { width: 100%; height: 92px; display: block; }
@media (max-width: 520px) {
  .art-row { grid-template-columns: 1fr 1fr; }
  .art-row .art-tile:first-child { grid-column: 1 / -1; min-height: 128px; }
  .se-home-spacer { min-height: 0; }
}
.miss-bed { color: #fca5a5; font-weight: 800; letter-spacing: .04em; font-size: .78rem; }
.learn-ov {
  position: fixed; inset: 0; z-index: 80; background: rgba(4, 6, 10, .88);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.learn-ov.hide { display: none; }
.learn-card {
  width: min(520px, 100%); max-height: 92dvh; overflow: auto; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: .9rem .9rem .75rem;
}
.learn-card h2 { margin: .15rem 0 .35rem; font-size: 1.45rem; letter-spacing: -.02em; }
.learn-dots { display: flex; gap: .32rem; margin: 0 0 .45rem; }
.learn-dots i { width: 8px; height: 8px; border-radius: 99px; background: #2a3544; display: block; }
.learn-dots i.on { background: var(--lime); }
.learn-icons { display: flex; flex-wrap: wrap; gap: .35rem; margin: .45rem 0 .15rem; }
.learn-icons span { border: 1px solid var(--line); border-radius: 999px; padding: .2rem .55rem; font-size: .72rem; font-weight: 800; }
#learnField { width: 100%; height: 148px; background: #0e3d22; border-radius: 10px; display: block; }
#learnField text { font-family: "Segoe UI", system-ui, sans-serif; }
.learn-line { margin: .45rem 0 .65rem; font-weight: 650; line-height: 1.35; }
.learn-nav { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: .35rem; }
.learn-nav button { min-height: 44px; }
#pauseTut { margin-bottom: .7rem; }

@media (min-width: 1024px) {
  body.gameday { padding-top: 0; overflow: hidden; height: 100dvh; }
  body.gameday .top { display: none; }
  body.gameday .wrap.fit.gameday-full {
    position: relative;
    max-width: none; width: 100%; height: 100dvh; margin: 0; padding: 0; gap: 0;
    display: flex; flex-direction: column;
  }
  body.gameday .wrap.fit.gameday-full #playClockLine,
  body.gameday .wrap.fit.gameday-full #modeHint,
  body.gameday .wrap.fit.gameday-full #lockLine,
  body.gameday .wrap.fit.gameday-full #callout { display: none !important; }
  body.gameday .wrap.fit.gameday-full #why {
    position: absolute;
    left: .6rem;
    right: auto;
    bottom: 52px;
    z-index: 18;
    margin: 0;
    width: auto;
    max-width: 70%;
    pointer-events: none;
    text-shadow: 0 1px 6px #000;
  }
  body.gameday .wrap.fit.gameday-full .booth {
    order: 1; display: flex !important; flex: 1 1 auto; flex-direction: column;
    width: 100%; min-height: 0; height: calc(100dvh - 36px); margin: 0; padding: 0; gap: 0; border: 0; border-radius: 0;
    background: #0b3d1e; grid-template-columns: 1fr !important; box-shadow: none;
  }
  body.gameday .wrap.fit.gameday-full .booth > div:not(.booth-col) {
    position: relative;
    display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; width: 100%; min-width: 0; height: 100%;
  }
  body.gameday .wrap.fit.gameday-full .stad {
    position: absolute; inset: 0;
    flex: 1 1 auto; width: 100%; height: 100% !important; min-height: 0; max-height: none;
    margin: 0; border: 0; border-radius: 0; background: #0b3d1e;
  }
  body.gameday .wrap.fit.gameday-full .stad svg#field {
    position: absolute; inset: 0;
    width: 100% !important; height: 100% !important; min-height: 0;
  }
  body.gameday .juicebar, body.gameday .pressbar { display: none; }
  body.gameday .tv-row { position: relative; flex: 0 0 58px; height: 58px; min-height: 58px; max-height: 58px; z-index: 30; }
  body.gameday .nfl-bug { height: 58px; min-height: 58px; max-height: 58px; }
  body.gameday .nfl-bug .nb-bar { height: 40px; min-height: 40px; max-height: 40px; }
  body.gameday .nfl-bug .nb-site { height: 18px; flex-basis: 18px; font-size: 11px; line-height: 18px; }
  body.gameday .nfl-bug .nb-sc { font-size: 1.35rem; }
  body.gameday .nfl-bug .nb-abbr { font-size: .78rem; }
  body.gameday .nfl-bug .nb-half { padding: 0 .45rem; gap: .28rem; }
  body.gameday .nfl-bug .nb-logo,
  body.gameday .nfl-bug .nb-logo img,
  body.gameday .nfl-bug .nb-logo svg { width: 1.15rem; height: 1.15rem; }
  body.gameday .cam-tools {
    top: auto; bottom: 46px; right: auto; left: 10px;
    flex-direction: row; align-items: center; z-index: 24;
  }
  body.gameday .cam-row {
    position: static; width: auto; height: auto; min-height: 0; max-height: none;
    display: flex; gap: .25rem; padding: 0; background: transparent; border: 0;
  }
  body.gameday .cam-row .cam-pick {
    flex: 0 0 auto; height: 26px; min-height: 26px; min-width: 0; padding: 0 .55rem;
    border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
    background: rgba(5, 7, 12, .72); letter-spacing: .08em; font-size: .62rem;
  }
  body.gameday .cam-row .cam-pick.on { background: #f5c518; color: #111; border-color: #f5c518; }
body.gameday .cam-row #jumpBtn {
  flex: 0 0 auto;
  height: 32px;
  min-height: 32px;
  min-width: 5.4rem;
  padding: 0 .75rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .04em;
}
body.gameday .cam-row #jumpBtn.on { background: #b6ff3b; color: #06100a; border-color: #b6ff3b; }
  body.gameday .cam-tools .cam-chip { display: none !important; }
  body.gameday .wrap.fit.gameday-full .day-bar {
    order: 2; display: flex; align-items: stretch; flex: 0 0 36px; height: 36px;
    min-height: 36px; max-height: 36px; margin: 0; padding: 0 .35rem; gap: .35rem;
    background: #07090d; border-top: 1px solid rgba(255,255,255,.1);
    grid-template-columns: none; position: relative; z-index: 20;
  }
  body.gameday .wrap.fit.gameday-full .day-bar > div:first-child,
  body.gameday .wrap.fit.gameday-full .day-bar #camBtn,
  body.gameday .wrap.fit.gameday-full .day-bar #lookBtn { display: none; }
  body.gameday .wrap.fit.gameday-full .day-bar .row {
    display: flex; flex: 1 1 auto; flex-wrap: nowrap; align-items: stretch;
    gap: .35rem; margin: 0; overflow-x: auto; height: 36px;
  }
  body.gameday .wrap.fit.gameday-full .day-bar .row button,
  body.gameday .wrap.fit.gameday-full #kickoff,
  body.gameday .wrap.fit.gameday-full #hike,
  body.gameday .wrap.fit.gameday-full #toLine {
    height: 36px; min-height: 36px; max-height: 36px;
  }
  body.gameday .kick-meters {
    position: fixed;
    left: 50%;
    top: 12%;
    bottom: auto;
    transform: translateX(-50%);
    z-index: 80;
  }
  body.gameday .field-tip {
    bottom: auto;
    top: 68%;
  }
}

/* Playbook / return / defense: tiles only. Field and cam chips stay off. */
body.book-open #field,
body.book-open #stadBox,
body.gameday.book-open #field,
body.gameday.book-open #stadBox,
body.se-phone.book-open #field,
body.se-phone.book-open #stadBox {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.book-open .cam-row,
body.book-open .tv-row,
body.book-open .nfl-bug,
body.book-open .cam-tools,
body.gameday.book-open .cam-row,
body.gameday.book-open .tv-row,
body.se-phone.book-open .cam-row,
body.se-phone.book-open .tv-row,
body.se-phone.book-open .se-thumbs,
body.book-open .se-thumbs {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.book-open .book-ov:not(.hide),
body.gameday.book-open .book-ov:not(.hide),
body.se-phone.book-open .book-ov:not(.hide),
body.se-phone.book-open .book-ov.se-sheet:not(.hide),
body.se-phone.land.book-open .book-ov:not(.hide) {
  display: grid !important;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-height: none !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #07090e !important;
  opacity: 1 !important;
  z-index: 500 !important;
  pointer-events: auto !important;
}

.game-intro {
  position: fixed;
  inset: 0;
  z-index: 90;
  color: #fff;
  overflow: hidden;
}
.game-intro.hide { display: none !important; }
.gi-wash, .gi-wx, .gi-lights { position: absolute; inset: 0; pointer-events: none; }
.gi-wash {
  background:
    linear-gradient(108deg, var(--away, #0b2265) 0 42%, #05080f 42% 58%, var(--home, #e31837) 58% 100%);
}
.gi-lights {
  background:
    radial-gradient(ellipse at 18% 80%, rgba(255,255,255,.16), transparent 42%),
    radial-gradient(ellipse at 82% 78%, rgba(255,255,255,.14), transparent 40%),
    linear-gradient(to top, rgba(0,0,0,.55), transparent 46%);
}
.game-intro[data-wx="rain"] .gi-wx {
  background: repeating-linear-gradient(100deg, transparent 0 12px, rgba(210,230,255,.28) 12px 13px);
  animation: giRain .4s linear infinite;
}
.game-intro[data-wx="snow"] .gi-wx {
  background:
    radial-gradient(circle at 20% 30%, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 70% 60%, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 40% 80%, #fff 0 1px, transparent 2px);
  background-size: 90px 120px, 130px 160px, 70px 90px;
  animation: giSnow 2.8s linear infinite;
  opacity: .8;
}
.game-intro[data-wx="wind"] .gi-wx {
  background: repeating-linear-gradient(8deg, transparent 0 18px, rgba(255,255,255,.12) 18px 19px);
  animation: giWind 1.1s linear infinite;
}
.game-intro[data-wx="lid"] .gi-wx { opacity: .2; }
.gi-stage {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8vh 1.15rem calc(1.4rem + env(safe-area-inset-bottom));
  box-sizing: border-box;
}
.gi-kicker {
  margin: 0 0 .35rem;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 800;
}
.gi-city {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(2.6rem, 13vw, 5.4rem);
  line-height: .88;
  letter-spacing: -.03em;
  text-transform: uppercase;
  animation: giSlam .7s cubic-bezier(.2,.8,.2,1) both;
}
.gi-stad { margin: .45rem 0 0; opacity: .86; font-weight: 700; letter-spacing: .04em; }
.gi-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .6rem;
  align-items: end;
  margin: 1.1rem 0 .4rem;
}
.gi-side b {
  display: block;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(1.35rem, 6vw, 2.2rem);
  letter-spacing: .04em;
}
.gi-side small { display: block; margin-top: .15rem; letter-spacing: .08em; font-weight: 800; opacity: .9; }
.gi-side.away { text-align: left; animation: giLeft .55s ease both; }
.gi-side.home { text-align: right; animation: giRight .55s ease both; }
.gi-at { font-weight: 900; letter-spacing: .14em; opacity: .7; padding-bottom: .35rem; }
.gi-line { margin: .35rem 0 0; font-size: 1.02rem; max-width: 28rem; }
.gi-meta {
  margin: .45rem 0 0;
  font-family: "Archivo Black", Impact, sans-serif;
  letter-spacing: .16em;
  font-size: .92rem;
}
.gi-go {
  margin-top: .9rem;
  align-self: flex-start;
  min-width: 9rem;
  background: #fff;
  color: #111;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .7rem 1.2rem;
}
.game-intro[data-beat="1"] .gi-match,
.game-intro[data-beat="1"] .gi-line,
.game-intro[data-beat="1"] .gi-meta,
.game-intro[data-beat="1"] .gi-go { opacity: 0; }
.game-intro[data-beat="2"] .gi-line,
.game-intro[data-beat="2"] .gi-meta,
.game-intro[data-beat="2"] .gi-go { opacity: 0; }
.game-intro[data-beat="3"] .gi-line,
.game-intro[data-beat="3"] .gi-meta,
.game-intro[data-beat="3"] .gi-go { animation: giUp .45s ease both; }
@keyframes giSlam { from { transform: translateY(18px) scale(1.08); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes giLeft { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes giRight { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes giUp { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes giRain { from { background-position: 0 0; } to { background-position: -40px 80px; } }
@keyframes giSnow { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 12px 80px, -18px 110px, 8px 70px; } }
@keyframes giWind { from { background-position: 0 0; } to { background-position: 80px 0; } }
@media (prefers-reduced-motion: reduce) {
  .gi-city, .gi-side, .gi-wx, .game-intro[data-beat="3"] .gi-line { animation: none; }
}

.game-intro { z-index: 220; }
.gi-toss, .gi-voice {
  margin: .4rem 0 0;
  max-width: 36rem;
  font-size: 1.02rem;
  line-height: 1.35;
}
.gi-voice { color: #f5c518; font-weight: 800; }
.game-intro[data-beat="1"] .gi-go,
.game-intro[data-beat="2"] .gi-go { opacity: 1; }
.coin-toss {
  position: fixed;
  inset: 0;
  z-index: 230;
  color: #fff;
  background: #07090e;
}
.coin-toss.hide { display: none !important; }
.ct-stage {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8vh 1.1rem calc(1.3rem + env(safe-area-inset-bottom));
  box-sizing: border-box;
  background:
    linear-gradient(100deg, var(--away, #0b2265) 0 36%, #05080f 36% 64%, var(--home, #e31837) 64% 100%);
}
.ct-kicker { margin: 0; letter-spacing: .22em; font-size: .72rem; font-weight: 800; }
.ct-caps {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .7rem;
  align-items: end;
  margin: 1rem 0 .6rem;
}
.ct-cap small { display: block; letter-spacing: .14em; font-size: .62rem; opacity: .8; }
.ct-cap b { display: block; font-family: "Archivo Black", Impact, sans-serif; font-size: clamp(1.2rem, 5vw, 1.8rem); }
.ct-cap span, .ct-cap em { display: block; font-style: normal; font-weight: 800; letter-spacing: .04em; }
.ct-cap.away { text-align: left; animation: ctWalk .7s ease both; }
.ct-cap.home { text-align: right; animation: ctWalk .7s ease .15s both; }
.ct-coin {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 32%, #fff1b8, #e2b63a 46%, #8a6412);
  color: #3a2a08;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: .92rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.coin-toss[data-step="flip"] .ct-coin { animation: ctSpin .16s linear infinite; }
.ct-line { margin: .2rem 0 0; max-width: 34rem; font-size: 1.05rem; line-height: 1.35; }
.ct-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .85rem; }
.ct-actions button {
  background: #fff;
  color: #111;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .7rem 1rem;
}
.ct-actions button[data-act="skip"] { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.cast-cc {
  position: fixed;
  left: 50%;
  bottom: calc(5.8rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 84;
  width: min(44rem, 94vw);
  background: rgba(0, 0, 0, .88);
  color: #fff;
  border-radius: 8px;
  border-left: 3px solid #f5c518;
  padding: .42rem .75rem .5rem;
  text-align: left;
  pointer-events: none;
  line-height: 1.35;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
}
.cast-cc.hide { display: none; }
.cast-cc b {
  display: inline-block;
  margin: 0 .5rem 0 0;
  font-size: .62rem;
  letter-spacing: .16em;
  color: #f5c518;
  vertical-align: baseline;
}
.cast-cc span {
  font-size: clamp(.92rem, 2.4vw, 1.05rem);
  font-weight: 650;
}
@media (pointer: fine) and (min-width: 981px) {
  .cast-cc { bottom: 1rem; }
}
body.book-open .cast-cc {
  bottom: calc(.7rem + env(safe-area-inset-bottom));
  z-index: 90;
}
@keyframes ctWalk { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ctSpin { to { transform: rotateY(360deg); } }





#why, #callout { position: relative; z-index: 2; max-height: 2.4rem; overflow: hidden; }

.gm-row { display: flex; align-items: center; gap: .4rem; }
.gm-row .ovr { position: static; flex: 0 0 2.4rem; }
#why, #callout, #sitLine { pointer-events: none; }
#tokCard { z-index: 80; }

@media (orientation: landscape) { #view-day .play-sheet { display: none; } #boot, #resume, [data-go='play'] { pointer-events: auto; z-index: 30; position: relative; } }

/* Hike overlap fix (fullscreen): the scoreboard never eats clicks, and the
   control bar always sits above it. Desktop fullscreen keeps the bottom bar. */
body.gameday .tv-row,
body.gameday .nfl-bug,
body.gameday .nfl-bug * { pointer-events: none; }
body.gameday .tv-row button,
body.gameday .tv-row a,
body.gameday .tv-row input,
body.gameday .tv-row select { pointer-events: auto; }
body.gameday.fs:not(.phone) .wrap.fit.gameday-full .day-bar { z-index: 40; top: var(--se-tv-h, 58px); }
@media (min-width: 1024px) {
  body.gameday.fs:not(.phone) .wrap.fit.gameday-full .day-bar {
    position: absolute; top: auto; bottom: 0; left: 0; right: 0; z-index: 40;
    padding: 0 .35rem; background: #07090d;
  }
  body.gameday.fs:not(.phone) .wrap.fit.gameday-full .booth { height: calc(100dvh - 36px); max-height: calc(100dvh - 36px); }
}
/* Career creator: compact chip rows (the setup form's full-width button rule was stretching every chip),
   preview stays in view while you pick. */
#view-car #lookBox .look-top { position: sticky; top: 0; z-index: 3; background: var(--bg, #0b1018); padding: .3rem 0; }
#view-car #lookBox .look-row { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .25rem; }
#view-car #lookBox .look-row > span { flex: 0 0 100%; width: auto; margin-top: .2rem; }
#view-car #lookBox .look-chip { width: auto; flex: 0 0 auto; min-height: 30px; margin: 0; padding: 0 .55rem; }
#view-car #lookBox .look-swatch { width: 28px; height: 28px; min-width: 28px; flex: 0 0 28px; margin: 0; }
#view-car #lookBox #lookRoll { width: auto; }
/* cover players are tappable: open the player's card */
.se-hero .se-hero-star { pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.se-cover-card { position: fixed; inset: 0; z-index: 9000; background: rgba(4,8,14,.72); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.se-cover-card[hidden] { display: none; }
.se-cover-panel { background: var(--bg, #0b1018); color: #fff; border-radius: 14px; max-width: 520px; width: 100%; max-height: 90vh; overflow: auto; padding: .8rem; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.se-cover-panel [data-close] { float: right; }
/* the home UI column spans the screen; let taps through its empty space to the cover players */
.se-home .se-home-ui { pointer-events: none; }
.se-home .se-home-ui > * { pointer-events: auto; }
#view-car #lookBox .look-chip { background: rgba(255,255,255,.07); color: #dfe6ee; border: 1px solid rgba(255,255,255,.2); box-shadow: none; }
#view-car #lookBox .look-chip.on { background: var(--lime, #b6ff3b); color: #0b1018; border-color: transparent; }
/* Phone: the Menu opens as a bottom sheet so it never covers the cover faces at the top. */
@media (max-width: 760px) {
  .se-menu-sheet:not([hidden]) { display: flex; flex-direction: column; justify-content: flex-end; }
  .se-menu-panel { border-bottom: 0; border-top: 1px solid var(--line); padding-top: 0; padding-bottom: env(safe-area-inset-bottom, 0px); border-radius: 14px 14px 0 0; box-shadow: 0 -12px 32px rgba(0,0,0,.35); }
}

/* Defense before the snap: the Hike stack is the Ready ▶ control (the offense waits for it or the clock). */
#view-day.on-d.d-pre .hike-stack { display: inline-flex !important; }
.phone-hud.on-d.d-pre:not(.live) .act-pads .hud-hike-stack,
.phone-hud.on-d.d-pre:not(.live) .act-pads #hudHike { display: flex !important; }

.pc-num { font-style: normal; opacity: .8; font-size: .85em; }

/* With the book open, its own Hike/Ready (top right) is the button. The bottom one sat
   under the book rail and swallowed taps, so hide it until the book closes. */
body.book-open #hikeStack { visibility: hidden !important; pointer-events: none !important; }

/* Phone: with the bottom Hike hidden behind the open book (#88), the book needs its own
   snap button, or a called play could only be run by closing the book first. */
body.se-phone.book-open #view-day:not(.day-autosim) .book-head #bookHikeStack {
  display: inline-flex !important;
  min-width: 6.4rem;
}
body.se-phone.book-open #view-day:not(.day-autosim) .book-head #bookHikeStack #bookLine {
  background: #f5c518; color: #111; border-color: #f5c518; font-weight: 800;
}

/* Hit/catch juice (gfx.js juice()). */
@keyframes seJoltHit { 0% { transform: translate(0,0); } 25% { transform: translate(-3px,2px); } 50% { transform: translate(3px,-1px); } 75% { transform: translate(-1px,1px); } 100% { transform: none; } }
@keyframes seJoltBig { 0% { transform: translate(0,0) scale(1); } 20% { transform: translate(-6px,3px) scale(1.012); } 45% { transform: translate(5px,-3px); } 70% { transform: translate(-2px,2px); } 100% { transform: none; } }
@keyframes seJoltCatch { 0% { filter: none; } 30% { filter: brightness(1.18); } 100% { filter: none; } }
#field.jolt-hit { animation: seJoltHit .2s ease-out; }
#field.jolt-big { animation: seJoltBig .3s ease-out; }
#field.jolt-catch { animation: seJoltCatch .26s ease-out; }
.juice-pop { position: absolute; left: 50%; top: 34%; transform: translate(-50%,-50%) scale(.6); opacity: 0; pointer-events: none; z-index: 30;
  font: 900 1.6rem/1 system-ui, sans-serif; letter-spacing: .06em; color: #fff; text-shadow: 0 2px 0 #000, 0 0 12px rgba(0,0,0,.6); }
.juice-pop.jp-catch { color: #b6ff3b; }
.juice-pop.jp-hit { color: #ff5a3c; font-size: 2rem; }
@keyframes seJuicePop { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.6); } 18% { opacity: 1; transform: translate(-50%,-50%) scale(1.12); } 70% { opacity: 1; transform: translate(-50%,-62%) scale(1); } 100% { opacity: 0; transform: translate(-50%,-80%) scale(.96); } }
.juice-pop.on { animation: seJuicePop .75s ease-out forwards; }
#banner .splash-call { font-size: .78em; font-weight: 700; letter-spacing: .03em; opacity: .85; margin-top: .25em; text-transform: none; color: #f5c518; }
/* v315: why a turnover / breakup happened (ratings + situation), never a bare coin flip. */
#banner .splash-why { font-size: .62em; font-weight: 700; letter-spacing: .02em; margin-top: .3em; text-transform: none; color: #e7ecf3; opacity: .92; max-width: 34em; margin-left: auto; margin-right: auto; line-height: 1.25; }
/* One banner per play: call + result (game.html showLowerThird). */
#lowerThird:not(.fox):not(.hide) { display: flex; justify-content: center; }
#lowerThird:not(.fox) b, #lowerThird:not(.fox) span { display: inline-block; padding: .38rem .7rem; font: 800 .95rem/1.1 system-ui, sans-serif; }
#lowerThird:not(.fox) b { background: rgba(8,14,10,.88); color: #fff; border-radius: 10px 0 0 10px; border-left: 4px solid #f5c518; }
#lowerThird:not(.fox) span { background: #f5c518; color: #111; border-radius: 0 10px 10px 0; }
#lowerThird:not(.fox) span:empty { display: none; }
#lowerThird:not(.fox):not(.hide) { animation: seLtIn .22s ease-out; }
@keyframes seLtIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* Highlight replay badge (game.html highlightReplay). */
.hl-badge { position: absolute; top: 3.4rem; left: 50%; transform: translateX(-50%); z-index: 31; display: flex; gap: .45rem; align-items: center;
  background: rgba(8,14,10,.86); border: 1px solid #f5c518; border-radius: 999px; padding: .3rem .75rem; pointer-events: none; white-space: nowrap; }
.hl-badge b { color: #111; background: #e31837; color: #fff; border-radius: 4px; padding: .05rem .35rem; font: 900 .78rem/1.2 system-ui, sans-serif; letter-spacing: .08em; }
.hl-badge span { color: #fff; font: 700 .8rem/1.2 system-ui, sans-serif; }
.hl-badge.hide { display: none; }

/* Phone hero: same baseline, labels not cut off (Empire Bot playtest, painter v28). */
@media (max-width: 430px) {
  .se-hero-roster { padding: 2.2rem .15rem 0; }
  .se-hero-row { align-items: flex-end; gap: .2rem; margin-top: .2rem; }
  .se-hero-roster .se-hero-star svg,
  .se-hero-roster .se-hero-star.mid svg {
    width: min(28vw, 110px);
    max-height: 38vh;
  }
  .se-hero-star figcaption { font-size: .62rem; }
  .se-hero-star small { font-size: .55rem; }
}

/* ---- Oct 25 phone polish ---- */
body.se-phone .phone-hud .stick-base { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
body.se-phone .phone-hud .stick-base i { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
/* Phone gameday keeps Back | Top | Side reachable as 44px chips (hidden only while the book is up). */
body.se-phone.gameday:not(.book-open) .cam-tools { display: flex !important; z-index: 27; }
body.se-phone.gameday:not(.book-open) .cam-row { display: flex !important; gap: .3rem; }
body.se-phone.gameday .cam-row .cam-pick { height: 44px; min-height: 44px; min-width: 52px; padding: 0 .7rem; font-size: .72rem; }
body.se-phone.gameday .cam-row .cam-pick[data-cam="all22"],
body.se-phone.gameday .cam-row .cam-pick[data-cam="dot"] { display: none; }
.drive-recap {
  position: absolute; left: 50%; top: 3.4rem; transform: translate(-50%, -8px);
  z-index: 30; pointer-events: none; opacity: 0; transition: opacity .25s, transform .25s;
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  background: rgba(5,7,12,.9); border: 1px solid rgba(245,197,24,.5); border-radius: 12px;
  padding: .45rem .9rem; color: #fff; font-size: .78rem; max-width: 88%; text-align: center;
}
.drive-recap.on { opacity: 1; transform: translate(-50%, 0); }
.drive-recap b { color: #f5c518; letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; }
.drive-recap small { color: rgba(255,255,255,.75); font-size: .68rem; }

/* ---- Depth chart drag feedback ---- */
.se-dc-chip { touch-action: none; transition: transform .12s, opacity .12s; }
.se-dc-chip.se-dc-drag { opacity: .35; }
.se-dc-chip.se-dc-hint { outline: 2px solid #f5c518; outline-offset: 1px; transform: scale(1.04); }
.se-dc-ghost { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: .92;
  box-shadow: 0 8px 22px rgba(0,0,0,.5); transition: none; }
/* ---- Phone portrait playbook = half-sheet; field stays visible above ---- */
html body.se-phone.book-open:not(.land) #field,
html body.se-phone.book-open:not(.land) #stadBox {
  opacity: 1 !important; visibility: visible !important; pointer-events: none !important;
}
html body.se-phone.book-open:not(.land) .book-ov:not(.hide),
html body.se-phone.book-open:not(.land) .book-ov.se-sheet:not(.hide) {
  inset: auto 0 0 0 !important; top: auto !important; bottom: 0 !important;
  width: 100vw !important; height: 52dvh !important; min-height: 0 !important; max-height: 52dvh !important;
  border-radius: 16px 16px 0 0 !important; border-top: 1px solid rgba(245,197,24,.4) !important;
  box-shadow: 0 -10px 28px rgba(0,0,0,.55) !important;
  padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  overflow: hidden !important;
}
html body.se-phone.book-open:not(.land) .book-ov:not(.hide) .book-grid,
html body.se-phone.book-open:not(.land) #bookGrid { overflow-y: auto !important; -webkit-overflow-scrolling: touch; min-height: 0; }
/* Designer on phones: card and grid first, compact chips, selects for long lists */
@media (max-width: 480px) {
  .desk-ov { padding: .35rem; }
  .desk-head, .desk-row, .desk-foot { gap: .25rem; }
  .desk-head button, .desk-foot button { padding: .3rem .45rem; font-size: .72rem; }
  .desk-body { display: flex; flex-direction: column; }
  .desk-art { order: -1; min-height: 9rem; position: relative; }
  .desk-art svg { width: 100%; height: auto; }
  .desk-chips button { padding: .22rem .4rem; font-size: .68rem; }
  #deskForms select, .desk-tool select { width: 100%; font-size: .8rem; }
  .desk-slots { grid-template-columns: repeat(3, 1fr); }
  #deskSit { width: 100%; }
}
/* ── Designer app shell (desk-app.js) ── */
.desk-ov { z-index: 600; }
.desk-bar, .desk-tabs, .desk-pills, .desk-kindseg { display: none; }
.desk-foot { position: sticky; bottom: -.9rem; z-index: 5; background: linear-gradient(180deg, rgba(11,18,32,.6), #0b1220 35%); padding: .5rem 0 .6rem; margin-bottom: 0; }
.desk-lib-btn { background: #f5c518; color: #111; font-weight: 900; border-radius: 99px; padding: .3rem .8rem; border: 0; }
.desk-seg { display: flex; background: #111a2b; border-radius: 12px; padding: 3px; gap: 3px; margin: .35rem 0; overflow-x: auto; scrollbar-width: none; }
.desk-seg button { flex: 1 0 auto; border: 0; background: transparent; color: #a9b8cc; font-weight: 800; font-size: .82rem; padding: .55rem .6rem; border-radius: 9px; min-height: 40px; }
.desk-seg button.on { background: #24324a; color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.desk-seg-sm button { font-size: .72rem; min-height: 34px; padding: .35rem .55rem; }
.desk-sheet { position: fixed; inset: 0; z-index: 700; display: flex; align-items: flex-end; justify-content: center; }
.desk-sheet.hide { display: none; }
.desk-sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.desk-sheet-card { position: relative; width: min(46rem, 100%); max-height: 86vh; display: flex; flex-direction: column; background: #0f1729; border-radius: 18px 18px 0 0; border: 1px solid rgba(255,255,255,.1); padding: .4rem .8rem calc(.8rem + env(safe-area-inset-bottom)); animation: deskUp .18s ease-out; color: #e8eef6; }
@keyframes deskUp { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.desk-sheet-grab { width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); margin: .2rem auto .4rem; }
.desk-sheet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .3rem; font-size: 1.05rem; }
.desk-sheet-body { overflow: auto; -webkit-overflow-scrolling: touch; }
.desk-list { display: grid; gap: .4rem; margin: .3rem 0 .6rem; }
.desk-list-2 { grid-template-columns: 1fr 1fr; }
.desk-list button { min-height: 46px; text-align: left; padding: .5rem .75rem; border-radius: 12px; background: #16223a; color: #e8eef6; border: 1px solid rgba(255,255,255,.08); font-weight: 700; font-size: .85rem; }
.desk-list button.on { outline: 2px solid #f5c518; color: #f5c518; }
.desk-wide { width: 100%; font: inherit; background: #111827; color: #e8eef6; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: .55rem; margin: .2rem 0 .4rem; }
.desk-lib-q { width: 100%; font: inherit; font-size: 16px; background: #111827; color: #e8eef6; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: .65rem .8rem; }
.desk-lib-n { margin: .3rem 0; opacity: .7; }
.desk-lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .45rem; }
.desk-lib-card { display: flex; flex-direction: column; gap: .15rem; text-align: left; background: #121c30; color: #e8eef6; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: .35rem; }
.desk-lib-card svg { width: 100%; height: auto; border-radius: 8px; }
.desk-lib-card b { font-size: .8rem; }
.desk-lib-card span { font-size: .66rem; color: #94a3b8; }
.desk-lib-card:active { transform: scale(.98); }
.desk-lib-more { width: 100%; margin: .6rem 0; min-height: 44px; border-radius: 12px; }
@media (max-width: 480px) {
  .desk-ov { padding: 0; }
  .desk { border-radius: 0; border: 0; width: 100%; height: 100%; padding: 0 .6rem .9rem; }
  .desk-head, #deskSide, #deskForms, #deskKind, #deskSit, #deskConcepts, #deskLibBtn { display: none !important; }
  .desk-row { margin: 0; }
  .desk-bar { display: flex; position: sticky; top: 0; z-index: 6; align-items: center; gap: .4rem; background: #0b1220; padding: .5rem 0 .35rem; margin: 0 -.1rem; }
  .desk-bar-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .desk-bar-t .kicker { margin: 0; font-size: .6rem; }
  .desk-bar-t b { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .desk-ic { width: 44px; height: 44px; border-radius: 12px; background: #16223a; color: #fff; border: 0; font-size: 1.2rem; font-weight: 900; }
  .desk-tabs { display: flex; background: #111a2b; border-radius: 12px; padding: 3px; gap: 3px; margin: .2rem 0 .45rem; }
  .desk-tabs button { flex: 1; min-height: 42px; border: 0; border-radius: 9px; background: transparent; color: #a9b8cc; font-weight: 900; font-size: .9rem; }
  .desk-tabs button.on { background: #f5c518; color: #111; }
  .desk-pills { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: .35rem; margin-bottom: .35rem; }
  .desk-pills button { min-height: 50px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; padding: .3rem .55rem; border-radius: 12px; background: #16223a; color: #fff; border: 1px solid rgba(255,255,255,.08); min-width: 0; }
  .desk-pills small { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; font-weight: 800; }
  .desk-pills b { font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  #dpLib { background: #2a2208; border-color: rgba(245,197,24,.4); }
  #dpLib b { color: #f5c518; }
  .desk-kindseg { display: flex; margin: 0 0 .45rem; }
  .desk-kindseg.hide { display: none; }
  .desk-art { position: sticky; top: 56px; z-index: 4; box-shadow: 0 8px 16px rgba(0,0,0,.45); }
  .desk-foot { display: grid; grid-template-columns: 1fr 1.3fr; gap: .45rem; bottom: -.9rem; padding-bottom: calc(.7rem + env(safe-area-inset-bottom)); }
  .desk-foot #deskNew, .desk-foot #deskDup, .desk-foot #deskDel { display: none; }
  .desk-foot #deskSave, .desk-foot #deskCall { min-height: 50px; font-size: .95rem; font-weight: 900; border-radius: 14px; }
  .desk-foot #deskCall { background: #f5c518; color: #111; }
  .desk-chips button { min-height: 36px; }
  .desk-slots button { min-height: 44px; }
}
@media (max-width: 480px) {
  .desk { display: flex; flex-direction: column; }
  .desk > * { flex-shrink: 0; }
  #deskPro { order: 1; }
  .desk-body, .desk-foot, #deskHint, #deskMine { order: 2; }
  .desk-foot { order: 3; }
  .desk:not(.is-def) .desk-art { display: none; }
  .desk.is-def .desk-art { display: none; }
  #deskPro svg, #deskDefSvg { max-width: none !important; width: 100% !important; }
}

/* Phone 390x844: captions sat on the stick / MOVE pad. Ride under the scorebug instead. */
@media (max-width: 520px) {
  body.se-phone .cast-cc:not(.hide) {
    top: calc(env(safe-area-inset-top) + 7.4rem);
    bottom: auto;
    width: 94vw;
    padding: .3rem .6rem .36rem;
  }
  body.se-phone .cast-cc span { font-size: .86rem; }
  body.se-phone.book-open .cast-cc { top: calc(env(safe-area-inset-top) + 3.2rem); }
}
/* Kickoff: the offensive coach card stacked under the kick diagrams on phones. */
#view-day.kickoff-ready #coachSuggest { display: none !important; }
/* Phone: lower-third result tag sat on the 1-5 pass pads; lift it clear of the control band. */
@media (max-width: 520px) {
  body.se-phone .lower-third { bottom: 30%; }
  /* Book open: caption hid the scorebug and coach card clipped; keep caption above the sheet. */
  body.se-phone.book-open .cast-cc:not(.hide) { top: auto; bottom: calc(52vh + .4rem); }
}
@media (max-width: 520px) {
  /* Coach picks: three pills stacked past the rail and got clipped by Close/Hike. One swipe row. */
  body.se-phone #coachSuggest { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; padding: 4px 6px !important; }
  body.se-phone #coachSuggest > b { display: none; }
  body.se-phone #coachSuggest > button { flex: 0 0 auto; max-width: 72vw; padding: .35rem .7rem; font-size: .86rem; }
  body.se-phone #coachSuggest > button small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 64vw; }
}
@media (max-width: 520px) {
  /* Rail rows were flex-shrunk to empty outlines inside the 7.4rem rail; keep their height and scroll. */
  body.se-phone .book-rail > * { flex-shrink: 0 !important; }
}
.gm-role { margin: 0 0 .6rem; padding: .5rem .6rem; border-radius: 10px; background: rgba(255,255,255,.04); }
.gm-role.ask { border: 1px solid #f5c518; }
.gm-role .kicker { margin: 0 0 .2rem; }
.se-dc-row.se-dc-rowhint { box-shadow: inset 0 0 0 2px rgba(245,197,24,.6); border-radius: 10px; }
.se-dc-chip.se-dc-landed { animation: dcLand .6s ease-out; }
@keyframes dcLand { 0% { box-shadow: 0 0 0 0 rgba(197,255,61,.9); transform: scale(1.06); } 100% { box-shadow: 0 0 0 10px rgba(197,255,61,0); transform: none; } }

/* Shared broadcast chrome: one recap look across Exhibition / Franchise / Career */
.drive-recap .dr-tag { font-style: normal; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.drive-recap[data-res="touchdown"] { border-left: 3px solid #f5c518; }
.drive-recap[data-res="field"] { border-left: 3px solid #7fd3ff; }
.drive-recap[data-res="punt"], .drive-recap[data-res="turnover"] { border-left: 3px solid #ff6b6b; }
@media (max-width: 520px) { .drive-recap { top: 7.2rem; } }
.off-strip { flex-wrap: wrap; }
.off-strip .gm-ros-chip { min-height: 44px; }
.off-strip .gm-ros-chip.done { border-color: #e10600; color: #fff; }
.off-strip .gm-ros-chip:disabled { opacity: .4; }
.gm-result, .car-year { border: 1px solid #e10600; background: #000; margin: 0 0 .6rem; }
.gm-result h3, .car-year h2 { margin: .2rem 0; }
.gm-result button, .car-year button { min-height: 44px; }
/* P4 customization + sharing */
.skin-sw { display: flex; flex-wrap: wrap; gap: 6px; margin: .2rem 0 .4rem; }
.skin-sw button { padding: 0; border-radius: 6px; }
.gm-skin { margin: .8rem 0; border-top: 1px solid #2a2a2a; padding-top: .5rem; }
.gm-skin summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: #e31837; font-weight: 700; }
.gm-skin input, .gm-skin select { max-width: 100%; }
.fl-io { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .5rem; }
.fl-io button, .gm-skin .row button, #deskShareOut button { min-height: 44px; }
#deskShareOut select { max-width: 100%; min-height: 44px; }
#deskShareOut { overflow-wrap: anywhere; }

/* P5 presentation juice (gfx v302): big-play pops, scorebug juice, coach tips, Effects Lite. */
.juice-pop.jp-big { top: 22%; color: #fff; font-size: 1.5rem; background: rgba(0,0,0,.86); border-left: 6px solid #e0262d; padding: .35rem .7rem; text-transform: uppercase; white-space: nowrap; }
.juice-pop.jp-big.jp-red { color: #ff3b3f; border-left-color: #fff; }
@media (max-width: 520px) { .juice-pop.jp-big { font-size: 1.1rem; top: 26%; } }
@keyframes seFadePop { 0% { opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }
body.fx-lite .juice-pop.on { animation: seFadePop .85s linear forwards; transform: translate(-50%,-50%); }
body.fx-lite #field.jolt-hit, body.fx-lite #field.jolt-big, body.fx-lite #field.jolt-catch { animation: none !important; }
@keyframes seScFlip { 0% { transform: rotateX(90deg); color: #ff3b3f; } 60% { transform: rotateX(0); color: #ff3b3f; } 100% { color: inherit; } }
#bug .nb-sc { display: inline-block; }
#bug .nb-sc.nb-flip { animation: seScFlip .6s ease-out; }
body.fx-lite #bug .nb-sc.nb-flip { animation: none; color: #ff3b3f; }
@keyframes seDnPulse { 0%,100% { color: inherit; } 40% { color: #ff3b3f; } }
#bug .nb-dn.nb-pulse { animation: seDnPulse .7s ease-out; }
#bug .nb-half .nb-pip { background: #e0262d; box-shadow: 0 0 0 2px #fff; }
#bug .nb-to { display: inline-flex; gap: 2px; margin: 0 3px; align-self: flex-end; }
#bug .nb-to i { width: 6px; height: 3px; background: rgba(255,255,255,.25); display: block; }
#bug .nb-to i.on { background: #fff; }
#bug .nb-bar { position: relative; }
#bug[data-rz="1"] .nb-seam::before { content: "RED ZONE"; }
#bug[data-two="1"] .nb-seam::after { content: "2:00"; }
#bug[data-rz="1"] .nb-seam::before, #bug[data-two="1"] .nb-seam::after { position: absolute; top: 100%; font: 900 .55rem/1 system-ui, sans-serif; letter-spacing: .1em; background: #e0262d; color: #fff; padding: 2px 5px; pointer-events: none; }
#bug[data-rz="1"] .nb-seam::before { left: 0; }
#bug[data-two="1"] .nb-seam::after { right: 0; background: #000; border: 1px solid #e0262d; }
#bug .nb-seam { position: relative; }
.coach-tip { position: absolute; left: 8px; bottom: 8px; max-width: min(64%, 22rem); min-height: 44px; z-index: 31; display: none;
  background: rgba(0,0,0,.9); color: #fff; border: 0; border-left: 4px solid #e0262d; padding: .45rem .7rem; text-align: left;
  font: 800 .78rem/1.25 system-ui, sans-serif; letter-spacing: .02em; cursor: pointer; }
.coach-tip.on { display: block; }
.su-first { background: #000; border: 1px solid #e0262d; border-left: 6px solid #e0262d; padding: .8rem 1rem; margin: .6rem 0; }
.su-first h2 { color: #fff; margin: .2rem 0; text-transform: uppercase; letter-spacing: .04em; }
.su-first .kicker { color: #e0262d; }
.su-first .row button { min-height: 44px; }
#view-set #setFx, #view-set #setTips { min-height: 44px; }
/* Drive recap: red edge TD, white FG, dim punt. */
.drive-recap b { color: #fff; }
.drive-recap[data-res="touchdown"] { border-left: 4px solid #e0262d; }
.drive-recap[data-res="field"] { border-left: 4px solid #fff; }
.drive-recap[data-res="punt"] { border-left: 3px solid rgba(255,255,255,.3); opacity: .82; }
.drive-recap[data-res="turnover"] { border-left: 3px solid #ff3b3f; }
.drive-recap.dr-quick small { display: none; }
/* P6 RB/HL: suggested chip, tendency, facilities, load, xp, share */
.se-sug-chip{min-height:44px;min-width:44px;background:#0b0b0b;color:#fff;border:1px solid #e10600;border-radius:22px;padding:0 14px;font-weight:700}
.se-sug-chip[hidden],.se-tend-chip[hidden]{display:none!important}
.se-tend-chip{background:#e10600;color:#fff}
.se-fac{margin-top:.8rem;border-top:1px solid #e10600;padding-top:.5rem}
.se-fac button{min-height:44px}
.se-dc-load{position:absolute;left:4px;bottom:4px;font-size:10px;background:#111;color:#ddd;padding:1px 4px;border-radius:3px}
.se-dc-load.hot{background:#e10600;color:#fff}
.car-xp{height:6px;background:#222;border-radius:3px;overflow:hidden;margin:.4rem 0 .2rem}
.car-xp i{display:block;height:100%;background:#e10600}
.dr-share{display:block;margin-top:4px;min-height:32px;font-size:11px;background:#0b0b0b;color:#fff;border:1px solid #e10600;border-radius:4px;pointer-events:auto}
.se-dc-card{position:relative}

/* Desk drag-to-edit routes (gfx v304) + hub progression hint. */
.desk-art { touch-action: none; }
.desk-art.desk-drag { outline: 2px solid #e0262b; }
.gm-prog .up { color: #e8e8e8; }
.gm-prog .dn { color: #e0262b; }

body.se-phone #seSuggest:not([hidden]){display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px!important;height:44px!important;padding-top:0;padding-bottom:0;background:#0b0b0b;color:#fff;border:1px solid #e10600}
body.se-phone #seTend:not([hidden]){display:block!important;margin:4px auto;max-width:92%;font-size:12px;padding:3px 10px;border-radius:12px;text-align:center;pointer-events:none;opacity:.92}
#seSuggest[hidden],#seTend[hidden]{display:none!important}

/* The legacy queued-play paragraph duplicates the book instructions and sits
   underneath the phone thumb row. Keep desktop feedback; never cover phone taps. */
@media (max-width: 600px) {
  body.gameday #view-day #why.dock { display: none !important; }
}
body.se-phone #view-day #why.dock { display: none !important; }

/* Queued-play help is #lineWho, not #why. Reserve the phone controls and
   safe area. Clamping is visual only: complete instructions remain in AT. */
body.se-phone #view-day #lineTray:not(.hide) {
  display: block; left: 0; right: 0;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  padding: .3rem .55rem; z-index: 7;
}
body.se-phone #view-day #lineWho {
  font-size: 11px; line-height: 1.25; margin: 0;
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; overflow: hidden;
}
body.se-phone #view-day #lineJobs {
  flex-wrap: nowrap; overflow-x: auto; max-width: 100%;
}
body.se-phone #seSuggest:not([hidden]) {
  min-width: 44px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; font-size: 11px; padding-inline: 6px;
}

/* Keep presnap help to the right of the 96px MOVE zone (left 8px).
   Full text remains associated with Hike for assistive technology. */
body.se-phone #view-day #lineTray:not(.hide) { left: 112px; }
/* Scope checkbox layout to the actual Pause settings surface only. */
#pauseBody label.set-row:has(> input[type="checkbox"]) {
  display: flex !important; flex-direction: row !important;
  align-items: center; min-height: 44px; cursor: pointer; text-align: left;
}
#pauseBody label.set-row > span { flex: 1; min-width: 0; }
#pauseBody label.set-row > input[type="checkbox"] {
  flex: 0 0 22px; width: 22px !important; height: 22px !important;
  min-height: 22px !important; margin: 0 8px;
}

/* v315: breakup / sailed-ball reason on the lower third. */
#lowerThird .lt-why { display: block; font-size: .72em; font-weight: 700; opacity: .88; margin-top: .15em; color: #e7ecf3; }
/* League leaders (Awards) */
.lead-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .6rem; margin: .4rem 0 .8rem; }
.lead-card { border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: .5rem .65rem; background: rgba(255,255,255,.03); }
.lead-card > b { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--lime, #b6ff3b); }
.lead-card ol { margin: .3rem 0 0; padding-left: 1.1rem; }
.lead-card li { display: list-item; font-size: .86rem; padding: .12rem 0; }
.lead-card li > span { display: inline-flex; flex-direction: column; width: calc(100% - 3.6rem); vertical-align: top; }
.lead-card li > b { float: right; font-variant-numeric: tabular-nums; }
.lead-card li small { opacity: .7; font-size: .72rem; }
.lead-card li.mine { color: var(--lime, #b6ff3b); }
.rec-broke td { color: var(--lime, #b6ff3b); font-size: .8rem; }
.off-ledger { border-left: 3px solid var(--lime, #b6ff3b); padding: .3rem .6rem; margin: .5rem 0; background: rgba(255,255,255,.03); }
/* v205: weekly challenge + last-game recap strip + recap preview */
.gm-chal { margin: .35rem 0 .2rem; font-size: .85rem; color: var(--muted, #9fb0c2); }
.gm-chal b { color: var(--gold, #f2c94c); margin-right: .3rem; }
.gm-last { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; justify-content: space-between; }
.gm-last p { margin: .2rem 0; flex: 1 1 16rem; }
.recap-card h3 { margin: .2rem 0; }
.recap-card ul { margin: .3rem 0 .2rem 1rem; padding: 0; }
/* v206: game feel strip + clear on/off chips */
.sound-strip button:not(.on):not(.stub):not(:disabled) { background: transparent; color: var(--ink); border: 1px solid var(--line); }
/* v207: turf canvas layer under the field svg (no per-tile JPEG encode) */
.turf-layer.jolt-hit { animation: seJoltHit .2s ease-out; }
.turf-layer.jolt-big { animation: seJoltBig .3s ease-out; }
.turf-layer.jolt-catch { animation: seJoltCatch .26s ease-out; }
body.fx-lite .turf-layer { animation: none !important; }
