/* The Vol Index — Games page. Uses the site's tokens from site.css (orange, surface, line, radius). */
.games { padding-bottom: 40px; }
.gcrumb { font-size: 13px; color: var(--muted); padding-top: 22px; }
.gcrumb a { color: var(--muted); text-decoration: none; }
.gcrumb a:hover { color: var(--orange-ink); }
.ghead { padding: 6px 0 14px; }
.ghead h1 { font-size: clamp(30px, 6vw, 48px); font-weight: 800; letter-spacing: -.02em; }
.ghead p { color: var(--muted); max-width: 62ch; margin: 8px 0 0; font-size: 16px; }
.games .box { padding: 18px; }
.games h3 { font-size: 20px; }
.small { font-size: 13px; }
.games-hero h1 { font-size: clamp(44px, 9vw, 88px); }

/* hub */
.gcards { margin-top: 6px; }
.gcard { display: flex; flex-direction: column; gap: 8px; padding: 18px; text-decoration: none; color: var(--fg); transition: border-color .15s, transform .15s; }
.gcard:hover { border-color: var(--orange); transform: translateY(-2px); }
.gcard p { margin: 0; color: var(--muted); flex: 1; }
.gcard .btn { align-self: flex-start; margin-top: 6px; }
.gcard-top { display: flex; justify-content: space-between; align-items: center; }
.gicon { font-size: 28px; line-height: 1; }
.gfoot { margin-top: 22px; }
.gfoot p { max-width: 70ch; }

/* mode switch + small controls */
.gmode { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); margin-bottom: 14px; }
.gmode button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); }
.gmode button[aria-selected="true"] { background: var(--fg); color: var(--surface); }
.gtag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 10px; }
.glink { border: 0; background: none; color: var(--orange-ink); cursor: pointer; font-weight: 600; font-size: 13px; padding: 0; text-decoration: underline; }
.grow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.btn.big { padding: 11px 22px; font-size: 15px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.glabel { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; display: flex; gap: 10px; align-items: baseline; }

/* setup */
.gsetup { max-width: 640px; }
.gfield { margin-top: 16px; }
.gseg, .gchips { display: flex; flex-wrap: wrap; gap: 6px; }
.gseg button, .gchips button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 600; font-size: 14px; }
.gseg button[aria-pressed="true"], .gchips button[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-ink); }
.gnote { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); font-size: 14px; }
.ghow { margin-top: 14px; max-width: 640px; }
.ghow summary { cursor: pointer; font-weight: 700; }
.ghow ol { margin: 10px 0 0; padding-left: 20px; }
.ghow li { margin-bottom: 6px; }

/* roster board */
.gboard { display: grid; gap: 12px; margin-bottom: 14px; }
.gslots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.gslot { border: 1px dashed var(--line-strong); border-radius: 10px; padding: 8px; min-height: 64px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; background: var(--surface); }
.gslot.full { border-style: solid; border-color: var(--orange); background: var(--orange-soft); }
.gslot b { font-size: 13px; line-height: 1.15; }
.gslot-pos { font-family: var(--f-display); font-weight: 800; font-size: 12px; color: var(--orange-ink); }
.gboard.compact .gslot { min-height: 0; padding: 6px 8px; }
@media (max-width: 560px) { .gslots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* spin + player cards */
.gspin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.gspin-head h3 { font-size: clamp(26px, 5vw, 36px); font-weight: 800; color: var(--orange-ink); }
.gspin-head h3.spinning { color: var(--muted); }
.gcards-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 10px; margin-top: 10px; }
.gpcard { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 12px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, box-shadow .15s; }
.gpcard:hover, .gpcard:focus-visible { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.gpc-top { display: flex; justify-content: space-between; align-items: center; }
.gpos { font-family: var(--f-display); font-weight: 800; font-size: 13px; padding: 2px 7px; border-radius: 4px; background: var(--fg); color: var(--surface); }
.govr { font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--orange-ink); font-variant-numeric: tabular-nums; }
.gpc-name { font-size: 16px; line-height: 1.15; }
.gpc-yr { font-size: 13px; color: var(--muted); }
.gpc-line { font-size: 13px; }
.gpc-hon { display: flex; gap: 4px; flex-wrap: wrap; }

/* season */
.gteam .grat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 14px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.grat span { display: block; font-family: var(--f-display); font-size: 26px; font-weight: 800; color: var(--fg); letter-spacing: 0; }
.gsched-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.glist { list-style: none; margin: 0; padding: 0; }
.glist li { display: grid; grid-template-columns: 70px 1fr auto auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.glist li:first-child { border-top: 0; }
.gwk { font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.2; }
.gteam { align-self: start; }
.gopp { display: flex; flex-direction: column; min-width: 0; }
.gstars { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gres { font-variant-numeric: tabular-nums; white-space: nowrap; }
.glist li.w .gres b { color: var(--win); }
.glist li.l .gres b { color: var(--loss); }
.gfinal { text-align: center; margin-bottom: 14px; }
.gfinal h2 { font-size: clamp(54px, 12vw, 96px); font-weight: 800; line-height: 1; margin-top: 6px; }
.gfinal.champ { border-color: var(--orange); background: linear-gradient(180deg, var(--orange-soft), var(--surface)); }
.gfinal .grow { justify-content: center; }
.gtier { font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--orange-ink); margin-top: 4px; }

/* search box */
.gsearch { position: relative; max-width: 420px; }
.gsearch input { width: 100%; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); font-size: 16px; }
.gsearch input:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.gsearch ul { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); list-style: none; margin: 0; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); max-height: 280px; overflow: auto; }
.gsearch li { padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.gsearch li.on, .gsearch li:hover { background: var(--orange-soft); }

/* guesser */
.gguess-top { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.gtable-wrap { overflow-x: auto; }
.gtable { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 13px; min-width: 560px; }
.gtable th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 2px 4px; }
.gtable tbody th { font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--fg); }
.gtable td { background: var(--surface-2); border-radius: 6px; padding: 8px; text-align: center; font-weight: 600; }
.gtable td.hit, .gtable th.hit { background: var(--orange); color: #FFFFFF; }
.gtable td.near { background: var(--orange-soft); color: var(--orange-ink); box-shadow: inset 0 0 0 1px var(--orange); }

.greveal { border-radius: 12px; padding: 14px; background: var(--surface-2); margin-bottom: 12px; }
.greveal.win { background: var(--orange-soft); }
.greveal h3 { font-size: 28px; margin: 4px 0; }
.greveal p { margin: 4px 0; }

/* power t grid */
.ggrid-box { max-width: 640px; }
.ggrid-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ggrid { display: grid; grid-template-columns: minmax(70px, .8fr) repeat(3, 1fr); gap: 6px; }
.gt-h { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.2; padding: 6px; color: var(--fg); }
.gt-corner { display: flex; align-items: center; justify-content: center; }
.gt-corner span { font-family: var(--f-display); font-weight: 900; font-size: 34px; color: var(--orange); -webkit-text-stroke: 1.5px var(--smokey); }
.gt-c { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px; font-size: 13px; cursor: pointer; }
.gt-c.t { background: var(--orange-soft); border-color: #FFC48A; }
:root[data-theme="dark"] .gt-c.t { border-color: #6A4520; }
button.gt-c:hover, .gt-c.sel { border-color: var(--orange); box-shadow: inset 0 0 0 2px var(--orange); }
.gt-c.ok { background: var(--orange); border-color: var(--orange); color: #FFFFFF; cursor: default; }
.gt-c.ok b { font-size: 13px; line-height: 1.15; }
.gt-c.miss { cursor: default; }
.ggrid-in { margin-top: 14px; }
.ggrid-in p { margin: 0 0 8px; }
.gmsg { color: var(--loss); min-height: 1.4em; }

/* VFL career */
.gcareer { max-width: 720px; }
.gteams { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 16px; }
.gteam-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--fg); color: var(--surface); font-weight: 700; font-size: 14px; }
.gteam-chip i { font-style: normal; font-size: 11px; background: var(--orange); color: #FFFFFF; border-radius: 999px; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; }
.garr { color: var(--muted); }
.gclues { display: grid; gap: 6px; margin: 0 0 14px; }
.gclues > div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 8px 10px; border-radius: 8px; background: var(--surface-2); }
.gclues dt { font-weight: 700; font-size: 13px; }
.gclues dd { margin: 0; font-size: 14px; }
.gclues .locked dd { color: var(--muted); font-style: italic; }
.gmisses { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gmisses li { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); font-size: 13px; text-decoration: line-through; color: var(--muted); }
.gmisses li.hit { text-decoration: none; background: var(--orange); color: #FFFFFF; }
@media (max-width: 480px) { .gclues > div { grid-template-columns: 1fr; gap: 2px; } }

/* rocky top rankings */
.grank { max-width: 620px; }
.grank-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 12px; }
.grank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.grank-list li { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.grank-list li.ok { background: var(--orange); border-color: var(--orange); color: #FFFFFF; }
.grank-list li.ok .dim { color: rgba(255, 255, 255, .85); }
.grank-list li.rev { background: var(--surface-2); }
.grank-n { font-family: var(--f-display); font-weight: 800; font-size: 20px; text-align: center; }
.grank-p { display: flex; flex-direction: column; }
.grank-v { font-family: var(--f-display); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.grank-mv { display: flex; gap: 4px; }
.grank-mv button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; font-size: 14px; }
.grank-mv button:hover:not([disabled]) { border-color: var(--orange); color: var(--orange-ink); }
.grank-mv button[disabled] { opacity: .3; cursor: default; }


/* ---------- sports picker + beta ---------- */
.gsports { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; margin-top: 6px; }
.gsport { display: flex; align-items: center; gap: 12px; padding: 16px; text-decoration: none; color: var(--fg); transition: border-color .15s, transform .15s; }
.gsport:hover { border-color: var(--orange); transform: translateY(-2px); }
.gsport.lead { grid-column: 1 / -1; background: linear-gradient(120deg, var(--orange-soft), var(--surface) 60%); border-color: var(--orange); }
.gsport.lead .gicon { font-size: 40px; }
.gsport-t { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.gsport-t b { font-family: var(--f-display); font-size: 19px; }
.gbeta { display: inline-block; vertical-align: middle; font-family: var(--f-display); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--gold-bg); color: var(--gold); }
.ghead h1 .gbeta { font-size: 13px; }
.gbeta-note { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: var(--gold-bg); color: var(--fg); font-size: 14px; }
.gcard.soon { border-style: dashed; opacity: .85; }
.chip.draft { background: var(--surface-2); color: var(--fg); }

/* free-play settings */
.gfree { display: grid; gap: 8px; margin: -4px 0 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.gfree-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gfree-row .glabel { margin: 0; min-width: 70px; }
.gfree .gchips button { padding: 6px 12px; font-size: 13px; }

/* guesser hints */
.ghints { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 6px; margin: 0 0 12px; }
.ghint { padding: 8px 10px; border-radius: 8px; background: var(--surface-2); font-size: 13px; border: 1px dashed var(--line-strong); }
.ghint.on { background: var(--orange-soft); border: 1px solid var(--orange); animation: gpop .35s ease; }
.ghint b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-ink); }
.gteam-chip.ut { background: var(--orange); color: #FFFFFF; }
.gteam-chip.col { background: var(--surface-2); color: var(--fg); border: 1px solid var(--line-strong); }

/* trivia */
.gtrivia { max-width: 720px; }
.gtriv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tdots { display: flex; gap: 5px; }
.tdot { width: 12px; height: 12px; border-radius: 3px; background: var(--surface-2); border: 1px solid var(--line-strong); }
.tdot.cur { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange-soft); }
.tdot.ok { background: var(--orange); border-color: var(--orange); }
.tdot.no { background: var(--fg); border-color: var(--fg); }
.tq h3 { font-size: clamp(19px, 3.6vw, 24px); line-height: 1.25; margin: 8px 0 14px; }
.tq[data-anim] { animation: gslide .3s ease; }
.topts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 8px; }
.topt { text-align: left; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); font-size: 16px; font-weight: 600; cursor: pointer; color: var(--fg); transition: border-color .12s, transform .12s; }
.topt:hover:not([disabled]) { border-color: var(--orange); transform: translateY(-1px); }
.topt.ok { background: var(--win); border-color: var(--win); color: #FFFFFF; }
.topt.no { background: var(--loss); border-color: var(--loss); color: #FFFFFF; animation: gshake .3s; }
.topt.off { opacity: .5; }
.topt[disabled] { cursor: default; }
.tfb { margin: 12px 0 0; font-weight: 600; }
.tfb.ok { color: var(--win); } .tfb.no { color: var(--loss); }
.tdiff { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); }
.tdiff.easy { background: #E3F4EA; color: #1E7A44; } .tdiff.medium { background: var(--gold-bg); color: var(--gold); } .tdiff.hard { background: #FBE4E2; color: #B3261E; }
:root[data-theme="dark"] .tdiff.easy { background: #1D3527; color: #5CC48A; } :root[data-theme="dark"] .tdiff.hard { background: #3D2220; color: #F2867E; }
.trev { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; }
.trev li.no b { color: var(--loss); } .trev li.ok b { color: var(--win); }

/* 16-0 draft */
.gboard-side { padding: 8px; border-radius: 12px; transition: background .2s; }
.gboard-side.on { background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange); }
.grate { font-family: var(--f-display); font-size: 13px; padding: 1px 7px; border-radius: 999px; background: var(--orange); color: #FFFFFF; letter-spacing: 0; }
.gbanner { margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; background: var(--fg); color: var(--surface); font-weight: 700; animation: gslide .4s ease; }
.gspin-head h3.landed { animation: gland .4s ease; }
.gcards-row.hold .gpcard, .gcards-row.hold .gpcard.deal { animation: none; opacity: 0; transform: translateY(8px); }
.gpcard.deal { animation: gdeal .38s ease both; animation-delay: var(--d, 0ms); position: relative; }
.gpcard.off { cursor: not-allowed; opacity: .5; filter: grayscale(1); background: var(--surface-2); }
.gpcard.off .govr { color: var(--muted); }
.gpcard.off:hover { border-color: var(--line); box-shadow: none; }
.gpc-filled { margin-left: auto; margin-right: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.govr { cursor: help; }
.gnote summary { cursor: pointer; }
.gnote ul { margin: 8px 0 0; padding-left: 18px; }
.gnote li { margin-bottom: 4px; }

/* season + live game */
.gbtns { display: flex; gap: 6px; flex-wrap: wrap; }
.gorat { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.glist li.pend .gres { visibility: hidden; }
.glist li.pop { animation: gpop .35s ease; }
.glive { margin-bottom: 14px; border-width: 2px; }
.glive.running { border-color: var(--line-strong); }
.glive.w { border-color: var(--win); } .glive.l { border-color: var(--loss); }
.glive-head { display: flex; justify-content: space-between; align-items: center; }
.gscore { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 10px 0; }
.gsc-t { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); transition: background .25s; }
.gsc-t:last-child { align-items: flex-end; text-align: right; }
.gsc-t.ut { background: var(--orange-soft); }
.gsc-t span { font-weight: 700; font-size: 14px; }
.gsc-t b { font-family: var(--f-display); font-size: clamp(36px, 8vw, 54px); line-height: 1; font-variant-numeric: tabular-nums; }
.gsc-t.ut.flash { background: var(--orange); color: #FFFFFF; }
.gsc-t.opp.flash { background: var(--line); }
.gsc-t { transition: background .5s ease, color .5s ease; }
.gsc-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 96px; font-family: var(--f-display); font-weight: 800; font-size: 15px; }
.gsc-bar { width: 96px; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.gsc-bar i { display: block; height: 100%; background: var(--orange); }
.gfeed { list-style: none; margin: 0; padding: 0; max-height: 230px; overflow: auto; display: flex; flex-direction: column; gap: 4px; }
.gfeed li { display: grid; grid-template-columns: 64px 1fr auto; gap: 8px; padding: 6px 8px; border-radius: 8px; background: var(--surface-2); font-size: 13px; }
.gfeed li.us { border-left: 3px solid var(--orange); } .gfeed li.them { border-left: 3px solid var(--line-strong); background: transparent; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gfeed li.pop { animation: gfade .5s ease; }
.gf-t { color: var(--muted); font-variant-numeric: tabular-nums; } .gf-s { font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .gscore { grid-template-columns: 1fr 1fr; } .gsc-mid { grid-column: 1 / -1; order: 3; } }

/* postseason */
.gmatch h2 { font-size: clamp(22px, 4.5vw, 32px); line-height: 1.2; margin: 6px 0; }
.gvs { color: var(--orange-ink); font-size: .7em; margin: 0 6px; }
.gselect { margin-bottom: 14px; }
.gsel { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 6px; }
.gsel li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.gsel li.me { background: var(--orange); border-color: var(--orange); color: #FFFFFF; }
.gsel li.me .dim { color: #FFFFFF; }
.gsel li.rise { animation: grise .45s ease both; }
.gsel .chip { margin-left: auto; }
.gseed { font-family: var(--f-display); font-weight: 800; min-width: 22px; text-align: center; }
.gbracket-box { margin-bottom: 14px; }
.gbracket { display: grid; grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.gbcol { display: flex; flex-direction: column; justify-content: space-around; gap: 8px; }
.gbcol.cur .glabel { color: var(--orange-ink); }
.gbm { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); position: relative; }
.gbm.tbd { border-style: dashed; }
.gbm.done { animation: gpop .35s ease; }
.gbt { display: grid; grid-template-columns: 22px 1fr auto; gap: 6px; align-items: center; padding: 6px 8px; font-size: 13px; }
.gbt + .gbt { border-top: 1px solid var(--line); }
.gbt.me { background: var(--orange-soft); font-weight: 700; }
.gbt.win { font-weight: 800; } .gbt.lose { color: var(--muted); }
.gbt.lose .gbn { text-decoration: line-through; text-decoration-color: var(--line-strong); }
.gbn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gbot { position: absolute; right: 6px; bottom: -1px; font-size: 10px; color: var(--muted); }
.gbchamp { margin-top: 12px; padding: 12px; border-radius: 10px; text-align: center; font-family: var(--f-display); font-weight: 800; font-size: 20px; background: var(--fg); color: var(--surface); animation: gland .5s ease; }
.gbchamp.me { background: var(--orange); color: #FFFFFF; }

/* motion */
@keyframes gdeal { from { opacity: 0; transform: translateY(14px) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
@keyframes gslide { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes gpop { 0% { transform: scale(.97); } 60% { transform: scale(1.015); } 100% { transform: none; } }
@keyframes gland { 0% { transform: scale(1.15); } 100% { transform: none; } }
@keyframes grise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes gshake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .games *, .games *::before { animation: none !important; transition: none !important; } .gcards-row.hold .gpcard { opacity: 1; transform: none; } }

/* higher or lower */
.gduel { max-width: 720px; }
.dq { margin: 4px 0 12px; }
.dduel { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.dside { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px; background: var(--surface-2); min-width: 0; }
.dside b { font-size: 18px; line-height: 1.15; }
.dval { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 7vw, 48px); color: var(--orange-ink); font-variant-numeric: tabular-nums; }
.dside:not(.show) .dval { color: var(--muted); }
.dside.show:last-child { animation: gpop .35s ease; }
.dvs { align-self: center; font-family: var(--f-display); font-weight: 800; color: var(--muted); }
.dbtns .btn { flex: 1; min-width: 140px; }
@media (max-width: 480px) { .dduel { grid-template-columns: 1fr; } .dvs { justify-self: center; } }

@media (max-width: 640px) { .gbracket { grid-template-columns: 1fr; overflow: visible; } .gbcol { gap: 6px; } .gbcol + .gbcol { margin-top: 6px; } }

@keyframes gfade { from { opacity: 0; } to { opacity: 1; } }
/* live game: speed + line score */
.glive-head { gap: 8px; flex-wrap: wrap; }
.gspeed { display: inline-flex; align-items: center; gap: 4px; }
.gspeed button[data-speed] { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; cursor: pointer; color: var(--muted); }
.gspeed button[aria-pressed="true"] { border-color: var(--fg); color: var(--fg); }
.gspeed .glink { margin-left: 6px; }
.gsc-mid span { font-variant-numeric: tabular-nums; }
.glines { width: 100%; max-width: 420px; margin: 0 auto 12px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.glines th, .glines td { padding: 5px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.glines thead th { font-size: 11px; color: var(--muted); font-weight: 700; }
.glines tbody th { text-align: left; font-weight: 700; }
.glines tr.ut th { color: var(--orange-ink); }
.glines .cur { background: var(--surface-2); }
.glines td.t { font-weight: 800; }
/* results */
.gresults { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; align-items: start; }
@media (max-width: 860px) { .gresults { grid-template-columns: 1fr; } }
.glist.compact li { padding: 5px 0; grid-template-columns: 64px 1fr auto; }
.glist.compact .gstars, .glist.compact .gorat { display: none; }
.glist.compact .gopp b { font-weight: 600; font-size: 13px; }
.glines th, .glines td { position: static; background: none; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.glines thead th { background: none; }
.glines .cur { background: var(--surface-2); }
.glines tbody th { color: var(--fg); font-size: 12px; }
.glines tr.ut th { color: var(--orange-ink); }
.gtable tbody th { position: static; }

/* 40-0 / Road to Omaha runs */
.gbracket.wide { grid-template-columns: repeat(var(--cols), minmax(150px, 1fr)); }
@media (max-width: 640px) { .gbracket.wide { grid-template-columns: 1fr; } }
.gbt .gbn i { font-style: normal; font-size: 11px; }
.glines.inn th, .glines.inn td { padding: 5px 4px; }
@media (max-width: 480px) { .glines.inn { font-size: 12px; } .glines.inn th, .glines.inn td { padding: 4px 2px; } }
.glist li.multi .gres { display: grid; justify-items: end; gap: 0; }
.glist li.multi .gres .small { font-size: 11px; white-space: nowrap; }
.gstages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; margin-bottom: 10px; }
.gstage { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--surface); }
.gstage h4 { margin: 0 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.gstage p { margin: 4px 0; }
.gde { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.gde li { display: grid; grid-template-columns: 92px 1fr; gap: 8px; align-items: baseline; padding: 3px 0; border-top: 1px solid var(--line); }
.gde li:first-child { border-top: 0; }
.gde li.me b { color: var(--orange-ink); }
.gde li .gseed { margin-right: 4px; }
details.gbracket-box > summary { cursor: pointer; padding: 2px 0; }
details.gbracket-box[open] > summary { margin-bottom: 10px; }
