/* ProspectRow Scorebook: phone-first scoring UI. Colors come from :root in styles.css. */
.score-main { max-width: 760px; padding: .6rem .7rem 6rem; }
.score-app { --tap: 56px; }
.b {
  display: inline-flex; align-items: center; justify-content: center; gap: .3em; min-height: 46px; padding: .5rem .9rem;
  border: 2px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--ink); font: 800 1rem var(--font);
  text-decoration: none; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); touch-action: manipulation; user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent; text-align: center; line-height: 1.15;
}
.b:hover { color: var(--ink); filter: brightness(.97); }
.b:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.b:disabled { opacity: .45; cursor: default; transform: none; }
.b.primary { background: var(--orange); color: var(--white); }
.b.dark { background: var(--ink); color: var(--white); }
.b.light { background: var(--white); }
.b.danger { background: #fff; color: #a10505; border-color: #a10505; box-shadow: 2px 2px 0 #a10505; }
.b.ghost { border-color: transparent; box-shadow: none; background: transparent; color: var(--teal-dark); padding-left: .3rem; padding-right: .3rem; }
.b.big { min-height: var(--tap); font-size: 1.1rem; padding: .7rem 1.1rem; }
.b.sq { min-width: 42px; padding: .3rem; }
.b.small { min-height: 34px; font-size: .85rem; padding: .2rem .5rem; }
.b.chip, .pill { border-radius: 999px; min-height: 34px; font-size: .8rem; padding: .2rem .7rem; box-shadow: none; }
.b.hit { background: var(--teal); color: var(--ink); }
.b.bad { background: #fdecec; color: #8c0606; border-color: #8c0606; box-shadow: 2px 2px 0 #8c0606; }
.pill { display: inline-flex; align-items: center; border: 2px solid var(--ink); font-weight: 800; background: var(--paper); }
.pill.live { background: var(--orange); color: var(--white); }
.pill.final { background: var(--ink); color: var(--white); }
.pill.train { background: var(--stitch); color: var(--white); }

.topbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .4rem; margin: .1rem 0 .6rem; }
.tb-title { font-size: 1.25rem; margin: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .5rem; }
.list-actions .primary { grid-column: 1 / -1; }
.game-list { display: grid; gap: .8rem; margin-top: 1rem; }
.game-card { padding: .9rem; }
.game-card.is-active { border: 3px solid var(--orange); }
.gc-top { display: flex; justify-content: space-between; gap: .6rem; }
.gc-when { font-weight: 700; color: var(--teal-dark); font-size: .9rem; }
.gc-match { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; }
.gc-loc { font-size: .9rem; }
.gc-status { text-align: right; }
.gc-score { font-weight: 900; margin-top: .3rem; }
.gc-activebar { margin-top: .5rem; font-weight: 800; color: var(--orange-dark); font-size: .9rem; }
.gc-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .7rem; }
.empty { text-align: center; }

.settings .field { margin-bottom: .9rem; }
.field label { margin-bottom: .3rem; }
.field.inline { display: flex; gap: .6rem; align-items: center; }
.hint { color: var(--muted); font-size: .88rem; margin: .3rem 0 .6rem; }
.center { text-align: center; }
.settings input[type=text], .settings input[type=datetime-local], .settings input[type=number], .sheet input[type=text], .card input[type=text], textarea {
  width: 100%; font-size: 1.05rem; padding: .65rem .75rem; border: 2px solid var(--line); border-radius: 10px; background: var(--white); font-family: var(--font);
}
.segs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; }
.b.seg { border: 0; border-radius: 0; box-shadow: none; min-height: 50px; background: var(--white); }
.b.seg + .b.seg { border-left: 2px solid var(--ink); }
.b.seg.on { background: var(--teal); color: var(--ink); }
.tabs { margin: .6rem 0; }
.stepper { display: inline-flex; align-items: center; gap: .4rem; }
.stepper input { width: 5rem !important; text-align: center; font-weight: 800; }
.b.step { min-width: 50px; font-size: 1.4rem; }
.more-opts { margin-top: .5rem; }
.more-opts summary, .game-details summary { cursor: pointer; font-weight: 800; color: var(--teal-dark); min-height: 40px; display: flex; align-items: center; }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 700; min-height: 44px; }
.check input { width: 24px; height: 24px; }
.sticky-actions { position: sticky; bottom: 0; padding: .7rem 0; background: linear-gradient(transparent, var(--paper) 30%); display: grid; }
.game-details { margin-bottom: .6rem; }
.save-status { min-width: 4.5rem; text-align: right; }

/* Lineup */
.lineup { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.lrow { display: flex; align-items: center; gap: .35rem; background: var(--white); border: 2px solid var(--line); border-radius: 12px; padding: .3rem .4rem; }
.lrow.dragging { position: relative; z-index: 5; border-color: var(--orange); box-shadow: 0 6px 18px rgb(2 2 3 / .25); opacity: .95; }
.placeholder { height: 52px; border: 2px dashed var(--teal); border-radius: 12px; list-style: none; }
.handle { cursor: grab; touch-action: none; font-size: 1.3rem; width: 38px; min-height: 44px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.ord { font-family: var(--font-display); font-weight: 900; color: var(--orange); width: 1.6rem; text-align: center; }
.who { flex: 1; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who.inputs { display: flex; gap: .3rem; }
.num-in { width: 4rem !important; flex: none; text-align: center; }
.name-in { min-width: 0; }
.lrow input[type=text] { margin: 0; padding: .45rem .5rem; font-size: 1rem; border: 2px solid var(--line); border-radius: 8px; }
select.pos { font: 800 1rem var(--font); min-height: 44px; border: 2px solid var(--ink); border-radius: 10px; padding: 0 .3rem; background: var(--teal-light); }
select.pos.dup { background: #fdecec; border-color: var(--stitch); }
.mv { display: inline-flex; gap: .2rem; }
.add-row { display: flex; gap: .4rem; margin-top: .7rem; align-items: center; }
.add-row input { margin: 0 !important; }
.bench .lrow { opacity: .85; }
@media (max-width: 480px) {
  .lrow { gap: .2rem; padding: .25rem; }
  .handle { width: 28px; }
  .ord { width: 1.2rem; }
  .mv .b.sq { min-width: 34px; padding: .2rem; }
  .lrow > .b { padding: .3rem .45rem; min-width: 0; }
  select.pos { padding: 0; font-size: .95rem; }
  .who.inputs .num-in { width: 3rem !important; }
}
.fielder-pick summary { cursor: pointer; font-weight: 800; color: var(--teal-dark); min-height: 44px; display: flex; align-items: center; }
.fielder-pick[open] .mini-field { max-width: 260px; }
/* Scoring screen: keep the pad above the fold on phones */
@media (max-width: 719px) {
  body.view-game .site-header nav.main { display: none; }
  body.view-game .site-header .bar { padding: .3rem .8rem; }
  body.view-game .brand img { width: 36px; height: 36px; }
  body.view-game .brand span { font-size: 1rem; }
}

/* Scoring */
.train-banner { background: var(--stitch); color: var(--white); font-weight: 800; border-radius: 10px; padding: .45rem .7rem; margin: 0 0 .5rem; font-size: .9rem; text-align: center; }
.board { display: grid; grid-template-columns: 1fr auto; background: var(--ink); color: var(--white); border-radius: 14px; overflow: hidden; border: 3px solid var(--ink); }
.bteams { display: grid; }
.brow { display: flex; justify-content: space-between; align-items: center; padding: .35rem .7rem; font-weight: 800; }
.brow + .brow { border-top: 1px solid #2a3a3d; }
.brow.batting { background: #11272a; }
.brow.batting .bt-name { color: var(--teal); }
.bt-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 11rem; }
.bt-runs { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; min-width: 2ch; text-align: right; }
.binn { background: var(--teal); color: var(--ink); padding: .35rem .6rem; display: grid; align-content: center; gap: .2rem; min-width: 8.5rem; }
.inn { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; text-align: center; }
.count { display: grid; grid-template-columns: auto 1fr; gap: .1rem .35rem; align-items: center; font-weight: 900; font-size: .8rem; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); display: inline-block; }
.dots.db i.on { background: #19c37d; }
.dots.ds i.on { background: var(--orange); }
.dots.do i.on { background: var(--stitch); }
.field-wrap { text-align: center; }
.diamond { width: 100%; max-width: 360px; max-height: 38vh; margin: .2rem auto 0; display: block; touch-action: none; }
.diamond .grass, .mini-field .grass { fill: #0c8f95; }
.diamond .dirt, .mini-field .dirt { fill: #e9b68f; }
.diamond .infield { fill: #10a2a8; }
.diamond .mound { fill: #e9b68f; }
.diamond .base { fill: var(--white); stroke: var(--ink); stroke-width: 2; }
.diamond .base.occ { fill: var(--orange); }
.diamond .plate { fill: var(--white); stroke: var(--ink); stroke-width: 2; }
.diamond .outzone circle { fill: #fdecec; stroke: var(--stitch); stroke-width: 3; stroke-dasharray: 5 4; }
.diamond .outzone.hot circle { fill: var(--stitch); }
.diamond .outzone text { font: 900 13px var(--font); fill: #8c0606; text-anchor: middle; }
.diamond .outzone.hot text { fill: var(--white); }
.diamond .runner { cursor: grab; }
.diamond .runner circle { fill: var(--orange); stroke: var(--ink); stroke-width: 3; }
.diamond .runner text, .diamond .batter text { font: 900 16px var(--font); fill: var(--white); text-anchor: middle; pointer-events: none; }
.diamond .runner.drag circle { fill: var(--stitch); r: 24; }
.diamond .runner:focus { outline: none; }
.diamond .runner:focus circle { stroke: var(--white); }
.diamond .batter circle { fill: var(--ink); stroke: var(--white); stroke-width: 3; }
.atbat { background: var(--white); border: 2px solid var(--ink); border-radius: 14px; padding: .5rem .7rem; margin: .4rem 0 .6rem; }
.ab-main { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; font-size: 1.15rem; }
.ab-lbl { font-size: .72rem; text-transform: uppercase; font-weight: 900; letter-spacing: .06em; color: var(--muted); }
.ab-sub { display: flex; justify-content: space-between; align-items: center; gap: .4rem; flex-wrap: wrap; margin-top: .2rem; }
.pc { font: 800 .85rem var(--font); border: 2px solid var(--ink); border-radius: 999px; padding: .35rem .7rem; background: var(--teal-light); cursor: pointer; min-height: 38px; }
.pc.near { background: #ffe2cf; border-color: var(--orange-dark); }
.pc.over { background: var(--stitch); color: var(--white); }
.pad { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.pad .b { min-height: 84px; font-size: 1.45rem; font-family: var(--font-display); font-weight: 900; letter-spacing: .03em; border-width: 3px; border-radius: 16px; box-shadow: 3px 3px 0 var(--ink); }
.p-ball { background: #19c37d; color: var(--ink); }
.p-strike { background: var(--orange) !important; color: var(--white) !important; }
.p-foul { background: var(--white); }
.p-play { background: var(--ink) !important; color: var(--white) !important; }
.pad2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; margin-top: .55rem; }
.pad2 .b { min-height: 56px; font-size: .95rem; padding: .3rem; }
.pad2 .undo span { display: grid; }
.pad2 .undo small { font-weight: 600; font-size: .66rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 5.5rem; }
.final-box { background: var(--ink); color: var(--white); border-radius: 14px; padding: .9rem; text-align: center; }
.final-msg { font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; margin: 0 0 .6rem; }
.final-box .btn-row { justify-content: center; }

/* Sheets */
.sheet { position: fixed; inset: 0; background: rgb(2 2 3 / .5); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-panel { background: var(--paper); width: 100%; max-width: 760px; max-height: 88vh; overflow-y: auto; border-radius: 18px 18px 0 0; border-top: 4px solid var(--orange); padding: .5rem .8rem 1.4rem; overscroll-behavior: contain; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; position: sticky; top: -.5rem; background: var(--paper); padding: .3rem 0; z-index: 1; }
.sheet-head h2 { margin: 0; font-size: 1.1rem; }
.b.sheet-x { min-width: 46px; box-shadow: none; }
.sheet h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: .9rem 0 .4rem; }
.sect + .sect { border-top: 1px solid var(--line); }
.grid-btns { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .45rem; margin: .3rem 0; }
.grid-btns.four { grid-template-columns: repeat(4, 1fr); }
.grid-btns.four .b { font-size: .92rem; padding: .3rem .25rem; }
.grid-btns.five { grid-template-columns: repeat(5, 1fr); }
.grid-btns .b { min-height: 58px; }
.mini-field { width: 100%; max-width: 300px; display: block; margin: 0 auto; }
.mini-field .fpos { cursor: pointer; }
.mini-field .fpos circle { fill: var(--white); stroke: var(--ink); stroke-width: 2.5; }
.mini-field .fpos text { font: 900 12px var(--font); text-anchor: middle; fill: var(--ink); pointer-events: none; }
.mini-field .fpos.sel circle { fill: var(--orange); }
.mini-field .fpos.sel text { fill: var(--white); }
.pbp { list-style: none; margin: .4rem 0; padding: 0; }
.pbp li { display: flex; gap: .5rem; align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.pbp .inn { font-size: .75rem; font-weight: 900; color: var(--teal-dark); min-width: 3.4rem; }
.pbp .txt { flex: 1; }
.pbp .k-half { font-weight: 800; background: var(--teal-light); }
.pbp .k-pitch { color: var(--muted); font-size: .92rem; }
.pbp .k-error { color: #8c0606; }
.notes { padding-left: 1.2rem; }

.toast { position: fixed; left: 50%; bottom: 1.2rem; transform: translate(-50%, 150%); background: var(--ink); color: var(--white); padding: .7rem 1.1rem; border-radius: 12px; font-weight: 700; z-index: 80; transition: transform .2s; max-width: 92vw; text-align: center; box-shadow: var(--shadow); }
.toast.show { transform: translate(-50%, 0); }
.toast.bad { background: #8c0606; }

/* Stats / box score */
table.stats, table.linescore { min-width: 0; font-size: .9rem; }
table.stats td, table.stats th, table.linescore td, table.linescore th { padding: .45rem .5rem; text-align: center; white-space: nowrap; }
table.stats td:first-child, table.stats th:first-child, table.linescore td:first-child { text-align: left; }
table.stats tr.total td { font-weight: 900; background: var(--teal-light); border-top: 2px solid var(--ink); }
.game-links { list-style: none; padding: 0; display: grid; gap: .5rem; }
.game-links li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; display: grid; }
body.scoring-body .site-footer { display: none; }
@media (max-width: 480px) { .score-main .card { padding: .7rem .45rem; } }

/* USSSA pre-fill: upcoming games picker (New game) */
.usssa-pick { margin-bottom: 1rem; }
.usssa-pick .sect-title { font-size: 1.05rem; margin: 0 0 .2rem; }
.usssa-list { display: grid; gap: .5rem; }
.b.usssa-game { display: grid; justify-items: start; text-align: left; gap: .1rem; padding: .6rem .8rem; width: 100%; font-weight: 600; }
.b.usssa-game.on { background: var(--teal-light); border-color: var(--teal-dark); box-shadow: 2px 2px 0 var(--teal-dark); }
.b.usssa-game.on .ug-opp::after { content: "  ✓"; color: var(--teal-dark); }
.ug-when { font-size: .85rem; color: var(--teal-dark); font-weight: 800; }
.ug-opp { font-size: 1.08rem; font-weight: 900; }
.ug-meta { font-size: .82rem; color: var(--muted); }
.ug-roster { font-size: .8rem; color: var(--orange-dark); font-weight: 700; }
.ug-roster.ok { color: var(--teal-dark); }
.usssa-hint { color: var(--teal-dark); font-weight: 700; }
.lineup > .lrow { min-width: 0; max-width: 100%; }
.lineup { grid-template-columns: minmax(0, 1fr); }
.who.inputs .name-in { flex: 1; }
@media (max-width: 480px) {
  /* opponent rows: number + full name on the first line, controls under it */
  .lrow:has(.who.inputs) { flex-wrap: wrap; row-gap: .3rem; }
  .lrow:has(.who.inputs) .who.inputs { flex: 1 1 calc(100% - 60px); }
  .lrow:has(.who.inputs) select.pos { margin-left: auto; }
}
.lineup .who:not(.inputs) { white-space: normal; text-overflow: clip; line-height: 1.15; overflow-wrap: anywhere; }

/* Lineup editing (both teams): row controls grouped in .acts; on phones they drop under the name */
.lrow .acts { display: inline-flex; align-items: center; gap: .25rem; flex: none; margin-left: auto; }
.lrow .acts .b { min-height: 40px; }
.lrow .acts .b.light:not(.sq) { padding: .3rem .55rem; font-size: .9rem; }
.lrow.due { border-color: var(--orange); box-shadow: inset 4px 0 0 var(--orange); }
.lrow.due .ord::after { content: "▶"; font-size: .6rem; vertical-align: super; }
.bench .lrow .who { opacity: .8; }
.add-player { margin-top: .8rem; background: var(--teal-light); border-style: dashed; }
.add-player h3 { margin: 0 0 .2rem; }
.add-grid { display: grid; grid-template-columns: 1fr 1fr 4.2rem; gap: .35rem; margin: .4rem 0 .5rem; }
.add-grid input { margin: 0 !important; min-width: 0; }
.add-player > .b { width: 100%; }
.notice .b.link { display: block; margin-top: .35rem; background: none; border: 0; box-shadow: none; padding: 0; min-height: 0; color: var(--teal-dark); text-decoration: underline; font-weight: 800; }
.team-pick .segs .b { flex: 1; }
.team-src { margin: .45rem 0 0; color: var(--teal-dark); font-weight: 700; }
.team-tag { display: inline-block; font-family: var(--font-display); font-size: .7rem; font-weight: 900; background: var(--ink); color: var(--white); border-radius: 6px; padding: .05rem .35rem; margin-right: .4rem; vertical-align: 1px; }
.team-tabs { font-weight: 800; }
@media (max-width: 480px) {
  .lrow { flex-wrap: wrap; row-gap: .3rem; }
  .lrow .who { flex: 1 1 calc(100% - 70px); }
  .lrow .acts { width: 100%; justify-content: flex-end; }
  .lrow .acts select.pos { margin-right: auto; margin-left: 66px; }
  .lrow:has(.who.inputs) .acts select.pos { margin-left: 66px; }
  .bench .lrow .acts { width: auto; }
  .add-grid { grid-template-columns: 1fr 1fr 3.4rem; }
}

/* ===== Scoring layout: adapts to the device (breakpoints + pointer type; no user-agent sniffing) =====
   phone (<700px):            one column, big buttons; lineup / play-by-play panels hidden (More, Log, Lineup buttons)
   tablet (>=700px, touch):    two panes: field + count + play-by-play | play buttons + lineup
   computer (>=1100px, mouse): three panes: scorebug + field | play buttons + lineup | play-by-play */
.sc-grid { display: block; }
.sc-lineup, .sc-log { display: none; }
.sc-lineup { margin-top: .7rem; padding: .7rem .8rem; }
.sc-pbp { padding: .7rem .8rem; }
.lp-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.lp-title { font-size: .95rem; margin: 0 0 .35rem; }
.lp-team + .lp-team { margin-top: .7rem; padding-top: .6rem; border-top: 2px dashed var(--line); }
.lp-team:not(.batting) { opacity: .8; }
.lp-list { margin: 0; padding-left: 1.6rem; display: grid; gap: .15rem; }
.lp-list li { padding: .2rem .3rem; border-radius: 8px; }
.lp-list li > span { vertical-align: middle; }
.lp-list li.now { background: var(--orange); color: var(--white); font-weight: 800; }
.lp-list li.next { background: var(--teal-light); font-weight: 700; }
.lp-name { display: inline-block; max-width: calc(100% - 4.5rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-pos { float: right; font-size: .8rem; font-weight: 800; color: var(--muted); margin-left: .3rem; }
.lp-list li.now .lp-pos { color: var(--white); }
.lp-tag { float: right; font-size: .7rem; font-weight: 900; background: var(--ink); color: var(--white); border-radius: 6px; padding: 0 .3rem; margin-left: .3rem; }
.lp-edit { margin-top: .6rem; width: 100%; }

@media (min-width: 700px) {
  body.view-game .score-main { max-width: 1400px; }
  .sc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "field act" "log act"; gap: .9rem; align-items: start; }
  .sc-field { grid-area: field; }
  .sc-act { grid-area: act; }
  .sc-log { grid-area: log; display: block; }
  .sc-lineup { display: block; }
  .sc-log .pbp { max-height: 30vh; overflow-y: auto; }
  .diamond { max-height: 34vh; }
  .pad .b { min-height: 92px; }
  .pad2 .b { min-height: 60px; }
  .sc-act { position: sticky; top: .5rem; }
}
/* tablet landscape: short screen, keep the field compact so both panes fit without scrolling */
@media (min-width: 700px) and (orientation: landscape) and (max-height: 900px) {
  .diamond { max-height: 40vh; }
  .sc-log .pbp { max-height: 22vh; }
  .pad .b { min-height: 80px; }
  .sc-lineup .lp-list { max-height: 30vh; overflow-y: auto; }
}
/* touch tablets: extra-generous tap targets */
@media (min-width: 700px) and (pointer: coarse) {
  .pad .b { min-height: 100px; font-size: 1.6rem; }
  .pad2 .b { min-height: 64px; font-size: 1rem; }
}
/* computer: wide, three panes, everything visible at once */
@media (min-width: 1100px) and (pointer: fine) {
  .sc-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, .95fr); grid-template-areas: "field act log"; }
  .sc-log { position: sticky; top: .5rem; }
  .sc-log .pbp { max-height: calc(100vh - 11rem); }
  .diamond { max-height: 46vh; max-width: 420px; }
  .pad .b { min-height: 76px; font-size: 1.3rem; }
  .sc-lineup .lp-list { max-height: none; }
}
.lp-list li::marker { color: var(--ink); font-weight: 800; }
@media (min-width: 700px) { .sc-grid { grid-template-rows: auto 1fr; } .sc-log { align-self: start; } }

/* ---- Add batter / Who's up? ---- */
.ab-add { margin-left: auto; font-size: .85rem; padding: .25rem .6rem; }
.qa-form { display: grid; gap: .5rem; margin: .6rem 0; }
.qa-names { display: grid; grid-template-columns: 4.2rem 1fr 1fr; gap: .4rem; }
.qa-names input { margin: 0 !important; min-width: 0; font-size: 1rem; }
@media (max-width: 420px) { .qa-names { grid-template-columns: 4rem 1fr; } .qa-names input:last-child { grid-column: 1 / -1; } }
.qa-at { border: 0; padding: 0; margin: .3rem 0 .2rem; display: grid; gap: .4rem; }
.qa-at legend { font-weight: 700; margin-bottom: .3rem; }
.qa-opt { display: flex; gap: .6rem; align-items: flex-start; border: 2px solid #d5d9e0; border-radius: 12px; padding: .55rem .7rem; cursor: pointer; }
.qa-opt:has(input:checked) { border-color: var(--ink); background: #f3f6fb; }
.qa-opt input { margin-top: .25rem; width: 1.15rem; height: 1.15rem; }
.qa-opt span { display: grid; gap: .1rem; }
.qa-opt small { color: #5b6472; }
.whos-up { border: 3px solid var(--ink); border-radius: 16px; padding: .7rem .8rem; background: #fffbea; }
.wu-title { margin: 0 0 .2rem; font-size: 1.25rem; }

/* ---- Edit number / pick batter ---- */
.ab-num { font: inherit; font-weight: 800; background: var(--white); border: 2px dashed var(--ink); border-radius: 10px; padding: .05rem .45rem; min-height: 2.2rem; cursor: pointer; }
.ab-name { font: inherit; background: none; border: 0; border-bottom: 2px dotted var(--ink); padding: .1rem .1rem; min-height: 2.2rem; cursor: pointer; text-align: left; color: inherit; }
.num-chip { padding: .15rem .45rem; min-width: 2.6rem; font-weight: 800; }
button.lp-name { font: inherit; background: none; border: 0; padding: 0; text-align: left; color: inherit; cursor: pointer; }
.num-in.big { font-size: 1.6rem; width: 6rem; text-align: center; }
.hint.warn { color: #b3261e; font-weight: 700; min-height: 1.2em; }

/* ---- Swinging / Looking strike buttons ---- */
.pad .p-play { grid-column: 1 / -1; min-height: 70px; }
.pad .p-strike span { display: grid; line-height: 1.05; }
.pad .p-strike small { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-family: inherit; }
.pad .p-look { background: #c2410c !important; }

/* ---- Fix game state ---- */
.fx-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: .45rem 0; flex-wrap: wrap; }
.fx-row > label { font-weight: 700; flex: 1 1 9rem; }
.fx-num { width: 5rem; font-size: 1.2rem; text-align: center; margin: 0 !important; }
.fx-seg { display: flex; gap: .3rem; flex-wrap: wrap; }
.fx-seg .seg { min-width: 2.8rem; }
.fx-base, .fx-bat { max-width: 14rem; min-height: 2.4rem; }

/* ---- Defensive position markers (team in the field) ---- */
.diamond .fpos { cursor: pointer; }
.diamond .fpos rect:not(.fp-hit) { fill: rgba(255, 255, 255, .93); stroke: var(--ink); stroke-width: 1.5; }
.diamond .fpos text { font-weight: 700; text-anchor: middle; fill: var(--ink); pointer-events: none; }
.diamond .fpos .fp-pos { font-size: 10px; fill: #0b6f74; font-weight: 800; letter-spacing: .04em; }
.diamond .fpos .fp-who { font-size: 12px; }
.diamond .fpos.empty .fp-who { font-size: 15px; font-weight: 800; }
.diamond .fpos rect.fp-hit { fill: transparent; stroke: none; }
.fx-step { display: flex; align-items: center; gap: .3rem; }
.fx-step .b.sq { min-width: 2.8rem; min-height: 2.8rem; font-size: 1.4rem; }
.diamond .fpos.empty rect:not(.fp-hit) { fill: rgba(255, 255, 255, .55); stroke-dasharray: 3 2; }
.diamond .fpos:hover rect:not(.fp-hit), .diamond .fpos:focus rect:not(.fp-hit) { fill: #fff3d6; stroke-width: 2.5; }
.diamond .fpos:focus { outline: none; }

/* ---- End game / Add inning prompt ---- */
.end-prompt { border: 3px solid var(--ink); border-radius: 16px; background: #fff3d6; padding: .6rem .7rem; margin-bottom: .6rem; }
.end-prompt .ep-msg { font-weight: 800; margin: 0 0 .5rem; }
.end-prompt .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }

/* ---- End game (top of More) ---- */
.end-game-top { width: 100%; margin: 0 0 .7rem; background: #c62828 !important; color: #fff !important; font-weight: 900; }
.pad2 .pk-btn { grid-column: 1 / -1; min-height: 48px; }
.team-tag.test-tag { background: #c62828; color: #fff; margin-left: .3em; }
.gc-testbar { font-size: .85rem; color: #8a1c1c; background: #fdecea; border-radius: 8px; padding: .3rem .6rem; margin-top: .4rem; }
/* Big jersey-number pad (Who's up for the opponent; field position markers). */
.numpad { margin: .4rem 0 .6rem; }
.np-disp { font: 800 2rem/1.2 var(--font-display, system-ui); text-align: center; border: 3px solid var(--ink, #111); border-radius: 12px; background: #fff; padding: .2rem; margin-bottom: .4rem; min-height: 2.6rem; }
.np-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.np-key { min-height: 54px; font-size: 1.5rem; font-weight: 800; }
.np-ok { grid-column: span 1; min-height: 54px; }
.pos-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem .7rem; margin: .1rem 0 .3rem; font-size: .85rem; color: #333; }
.pos-legend b { display: inline-block; min-width: 1.3em; text-align: center; background: #222; color: #fff; border-radius: 6px; padding: 0 .2em; }
/* Spray chart + throws (in-play sheet, box score) */
.spray-pick { cursor: crosshair; }
.spray-marks .throw, .spray-chart .throw { fill: none; stroke: #1f3a93; stroke-width: 3; stroke-dasharray: 6 4; stroke-linejoin: round; }
.spray-marks .hit-dot { fill: #ffd400; stroke: #111; stroke-width: 2.5; }
.spray-pick .fpos.sel circle { fill: #1f3a93; }
.spray-pick .fpos.sel text { fill: #fff; }
.spray-status { text-align: center; font-weight: 700; margin: .2rem 0; }
.spray-tools { justify-content: center; }
.spray-chart { max-width: 340px; width: 100%; display: block; margin: .3rem 0 .8rem; }
.spray-chart .grass { fill: #3d8b4f; } .spray-chart .dirt { fill: #c9a06b; }
.spray-chart .dot { stroke: #111; stroke-width: 1.5; }
.spray-chart .dot.hit { fill: #2ecc40; } .spray-chart .dot.out { fill: #e74c3c; } .spray-chart .dot.oth { fill: #f39c12; }
.spray-legend { font-size: .85rem; color: #444; }
.spray-legend .k.hit { color: #2ecc40; } .spray-legend .k.out { color: #e74c3c; } .spray-legend .k.oth { color: #f39c12; }
.spray-marks { pointer-events: none; }

.foul-choice { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .6rem; }
.foul-choice .b { min-height: 64px; font-size: 1.15rem; }
.adv-rows { display: grid; gap: .6rem; margin-top: .4rem; }
.adv-who { font-weight: 800; margin-bottom: .2rem; }
.adv-segs { flex-wrap: wrap; }
.adv-segs .seg { min-height: 48px; }
.adv-save { width: 100%; min-height: 56px; }
/* Scorebook sheet link: prominent once the game is final */
.final-box .sheet-final { display: block; margin: 0 auto .6rem; max-width: 26rem; }
.gc-actions .sheet-link { background: var(--accent, #e8590c); color: #fff; border-color: var(--ink, #111); font-weight: 800; }
/* Home / Visitor choice */
.hv-segs .hv-btn { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .7rem .4rem; }
.hv-btn b { font-size: 1.05rem; letter-spacing: .04em; }
.hv-btn .hv-sub { font-size: .78rem; font-weight: 600; opacity: .85; }
.hv-field.hv-missing .hv-segs { outline: 3px dashed var(--accent, #e8590c); outline-offset: 3px; border-radius: 12px; }
.hv-card { padding-top: .6rem; padding-bottom: .6rem; }
.hv-btn:disabled { opacity: .55; }
/* Scoring lock (🔒) */
.tb-right { display: flex; gap: .35rem; align-items: center; }
.lock-btn { font-weight: 800; }
body.score-locked { overflow: hidden; }
.lock-overlay { position: fixed; inset: 0; z-index: 1000; background: #0b0d12; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; padding: 1.2rem; text-align: center; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.lock-title { font-size: 1.3rem; font-weight: 900; margin: 0; letter-spacing: .03em; }
.lock-info { background: rgb(255 255 255 / .08); border-radius: 16px; padding: 1rem 1.2rem; width: min(26rem, 100%); }
.lock-row { display: flex; justify-content: space-between; font-size: 1.25rem; padding: .2rem 0; }
.lock-row b { font-size: 1.6rem; }
.lock-row.batting span { color: #ffb37a; font-weight: 800; }
.lock-sit { margin-top: .5rem; font-size: 1.1rem; font-weight: 800; }
.lock-bat { margin-top: .3rem; opacity: .9; }
.lock-unlock { position: relative; width: 9rem; height: 9rem; border-radius: 50%; border: 3px solid #fff; background: transparent; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; font: inherit; cursor: pointer; overflow: hidden; touch-action: none; -webkit-touch-callout: none; }
.lock-ico { font-size: 2.4rem; position: relative; }
.lock-txt { font-size: .85rem; font-weight: 700; position: relative; }
.lock-ring { position: absolute; inset: 0; background: var(--orange, #e8590c); transform: scaleY(0); transform-origin: bottom; }
.lock-unlock.holding .lock-ring { transform: scaleY(1); transition: transform 1.5s linear; }
.lock-hint { font-size: .85rem; opacity: .75; max-width: 24rem; margin: 0; }
.stream-links { margin-top: 1rem; }
.stream-links h2 { font-size: 1.1rem; margin: 0 0 .3rem; }
.stream-links input[type=text] { width: 100%; box-sizing: border-box; }
.sl-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.sl-note { margin: .35rem 0 0; }

/* Game clock (Oct 4 2026): bar under the scoreboard + control sheet */
.b.gclock { display: block; width: 100%; margin: .45rem 0 0; padding: .45rem .8rem; min-height: 40px; border: 2px solid var(--ink); border-radius: 10px;
  background: var(--teal-light); color: var(--ink); font: 800 1rem/1.2 var(--font); text-align: center; font-variant-numeric: tabular-nums; cursor: pointer; }
.b.gclock.idle, .b.gclock.off { background: var(--white); font-weight: 700; color: var(--muted, #555); }
.b.gclock.paused { background: #eee; }
.b.gclock.w10 { background: #ffe2cf; border-color: var(--orange-dark); }
.b.gclock.w5 { background: var(--orange, #f47b20); color: var(--white); border-color: var(--ink); }
.b.gclock.expired { background: var(--stitch, #c8102e); color: var(--white); animation: gclock-pulse 1.2s ease-in-out infinite; }
@keyframes gclock-pulse { 50% { filter: brightness(1.18); } }
@media (prefers-reduced-motion: reduce) { .b.gclock.expired { animation: none; } }
.clock-big { font: 900 3rem/1 "Orbitron", var(--font-display, sans-serif); text-align: center; margin: .3rem 0 .4rem; font-variant-numeric: tabular-nums; }
.clock-big.expired { color: var(--stitch, #c8102e); }
.clock-btns, .clock-adj { justify-content: center; flex-wrap: wrap; gap: .4rem; }
.row-inline { display: flex; gap: .4rem; align-items: center; }
.row-inline input { max-width: 9rem; font: 700 1rem var(--font); padding: .55rem .6rem; border: 2px solid var(--ink); border-radius: 10px; min-height: 44px; box-sizing: border-box; }

/* /owner site settings */
.admin-app h1 { margin-bottom: .2rem; }
.adm-sec { margin: 1rem 0; padding: 1rem; }
.adm-sec h2 { font-size: 1.1rem; margin: 0 0 .3rem; }
.adm-tag { font-size: .75rem; font-weight: 700; background: var(--teal-light, #d9f4f5); border-radius: 999px; padding: .1rem .5rem; vertical-align: middle; }
.adm-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: .35rem 0; align-items: center; }
.adm-in { flex: 1 1 10rem; min-width: 8rem; padding: .45rem .55rem; font: inherit; border: 2px solid var(--ink); border-radius: 8px; }
.adm-actions { display: flex; gap: .5rem; margin-top: .6rem; }
.adm-msg { min-height: 1.1em; font-weight: 700; }
.adm-msg.ok { color: var(--teal-dark, #007a80); }
.adm-msg.err { color: #b00020; }
.adm-honors { display: grid; gap: .5rem; }
.adm-hon { display: grid; gap: .2rem; font-weight: 700; }
.adm-hon textarea, .adm-json { width: 100%; font: .9rem/1.35 ui-monospace, Menlo, monospace; border: 2px solid var(--ink); border-radius: 8px; padding: .45rem; box-sizing: border-box; }
.adm-hon textarea { font-family: inherit; font-weight: 400; }
.b.small { padding: .25rem .6rem; font-size: .85rem; }

/* ---- Fix a play (Oct 8 2026) ---- */
.fix-banner { background: #fff4e8; border: 3px solid var(--orange); border-radius: 12px; padding: .7rem .9rem; margin: .5rem 0 .8rem; }
.fix-banner .fix-title { font-weight: 900; font-size: 1.05rem; margin: 0 0 .2rem; }
.fix-banner .fix-line { margin: .1rem 0; font-weight: 700; }
.fix-banner .b { margin-top: .4rem; min-height: 48px; width: 100%; }
.b.was { outline: 4px dashed var(--orange-dark); outline-offset: 2px; }
.warn-bar { display: block; width: 100%; min-height: 48px; margin: .4rem 0 .6rem; background: #fff2c2; color: #5a4300; border: 2px solid #c79a00; border-radius: 10px; font-weight: 800; }
.warn-note { background: #fff2c2; color: #5a4300; border: 2px solid #c79a00; border-radius: 10px; padding: .5rem .7rem; font-weight: 700; }
.fx-list { margin-top: .4rem; }
.fx-half { border: 2px solid #e2e2e2; border-radius: 10px; margin: .45rem 0; background: #fff; }
.fx-half > summary { font-weight: 900; padding: .7rem .8rem; cursor: pointer; min-height: 44px; }
.fx-rows { list-style: none; margin: 0; padding: 0 .4rem .4rem; }
.fx-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; width: 100%; min-height: 56px; text-align: left; padding: .6rem .7rem; margin: .3rem 0;
  background: #fafafa; border: 2px solid #ddd; border-radius: 10px; font: inherit; color: inherit; cursor: pointer; }
.fx-row:active, .fx-row:focus-visible { border-color: var(--orange); }
.fx-row.focus { border-color: var(--orange); background: #fff4e8; }
.fx-row.flagged { border-color: #c79a00; background: #fff8dc; }
.fx-row.deleted .fx-text { text-decoration: line-through; color: var(--muted); }
.fx-text { font-weight: 800; flex: 1 1 60%; }
.fx-badges { display: inline-flex; gap: .3rem; flex-wrap: wrap; }
.fx-badge { font-size: .75rem; font-weight: 800; padding: .1rem .45rem; border-radius: 99px; background: #e8eefc; color: #1d3a7a; }
.fx-badge.warn { background: #fff2c2; color: #5a4300; }
.fx-badge.del { background: #eee; color: #555; }
.fx-sub { flex-basis: 100%; font-size: .82rem; color: var(--muted); }
.fx-why { flex-basis: 100%; font-size: .85rem; color: #5a4300; font-weight: 700; }
.fx-what { margin: .2rem 0 .7rem; }
.fx-hist ul { margin: .3rem 0 .6rem 1.1rem; font-size: .85rem; color: var(--muted); }

/* Offline scoring status (Oct 8 2026): one calm line under the top bar */
.net-bar { margin: 4px 0 6px; padding: 6px 10px; border-radius: 8px; font-size: 0.9rem; line-height: 1.3; }
.net-bar.ok { color: #4b6b57; background: transparent; padding: 2px 10px; font-size: 0.8rem; }
.net-bar.ok.just { color: #1d6b3a; background: #e6f4ea; font-weight: 600; }
.net-bar.wait { color: #5b4a12; background: #fff6d6; border: 1px solid #ecd889; }
.net-bar.send { color: #23506b; background: #e8f2f8; border: 1px solid #c4dceb; }
.net-bar .net-link { font-weight: 700; margin-left: 4px; }
.game-card .net-bar { margin: 6px 0 0; }

/* Season leaders + player pages (Oct 8 2026) */
.leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; margin: .4rem 0 .6rem; }
.lead-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .55rem .7rem; }
.lead-card h3 { margin: 0 0 .3rem; font-size: .95rem; }
.lead-card ol { margin: 0; padding: 0; list-style: none; }
.lead-card li { padding: .25rem 0; display: grid; grid-template-columns: 1.1rem 1fr auto; gap: .3rem; align-items: baseline; border-top: 1px solid var(--line); }
.lead-card li:first-child { border-top: 0; }
.lead-card li a { text-decoration: none; }
.lead-n { color: var(--muted, #5b6770); font-size: .8rem; }
.lead-v { font-weight: 900; font-variant-numeric: tabular-nums; }
table.stats td a { text-decoration: none; }
.crumbs { margin: .2rem 0 .4rem; }
.pl-name { margin-bottom: .2rem; }
.pl-num { color: var(--teal, #0b7a75); }
.pl-tiles { display: flex; flex-wrap: wrap; gap: .45rem; margin: .4rem 0 .7rem; }
.pl-tile { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .45rem .7rem; min-width: 64px; text-align: center; display: grid; }
.pl-tile b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.pl-tile span { font-size: .78rem; color: var(--muted, #5b6770); font-weight: 700; }
.pl-honors { list-style: none; padding: 0; }
.pl-honors li { padding: .3rem 0; font-weight: 700; }
.game-links li .b { justify-self: start; margin-top: .35rem; }

/* Spray charts: rings (no spot tapped), per-batter / per-game grids (Oct 8 2026) */
.spray-chart .dot.ring { fill-opacity: .25; stroke-width: 3; }
.spray-chart .dot.ring.hit { stroke: #1e9e30; } .spray-chart .dot.ring.out { stroke: #c0392b; } .spray-chart .dot.ring.oth { stroke: #d68910; }
.spray-zones { font-size: .9rem; margin: -.3rem 0 .3rem; }
.spray-by { margin: .2rem 0 .9rem; }
.spray-by summary { cursor: pointer; font-weight: 800; padding: .5rem 0; min-height: 44px; display: flex; align-items: center; }
.spray-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.spray-cell { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .35rem; }
.spray-who { margin: 0 0 .2rem; font-size: .85rem; font-weight: 700; }
.spray-chart.small { margin: 0; max-width: 100%; }

/* Opponent scouting notes (Oct 8 2026; scorers only) */
.scout-card { border-left: 5px solid #1f3a93; }
.scout-note-text { white-space: pre-wrap; margin: .3rem 0; }
.scout-add { margin: .2rem 0 .5rem; font-weight: 700; }
.scout-bnote { display: block; width: 100%; text-align: left; margin-top: .35rem; min-height: 44px; background: #eef2fb; border: 1px solid #c4cdea; color: #1f2a52; font-weight: 600; white-space: normal; }
.scout-opp { display: grid; gap: .2rem; text-decoration: none; color: inherit; min-height: 44px; }
.scout-res { padding-left: 1.1rem; margin: .2rem 0; } .scout-res li { padding: .2rem 0; }
.scout-players { list-style: none; padding: 0; margin: 0; } .scout-players li { padding: .45rem 0; border-top: 1px solid var(--line); display: grid; }
.scout-players li.on { background: #fff6d6; }
.scout-pl textarea, .card textarea { width: 100%; font: inherit; font-size: 16px; padding: .5rem; border-radius: 8px; border: 1px solid var(--line); box-sizing: border-box; }
.card select, .scout-other { font-size: 16px; min-height: 44px; }
.scout-num { width: 4.2rem; }
.scout-h { margin: .3rem 0 0; }
/* ↕ Batting order sheet (drag to reorder): big phone-sized handles */
.order-drag { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: .4rem; }
.order-drag .lrow { min-height: 56px; }
.order-drag .lrow.due { border-color: var(--teal); }
.order-drag .who { flex: 1; min-width: 0; font-weight: 600; }
.handle.big-handle { width: 56px; min-height: 52px; font-size: 1.7rem; color: var(--ink, #222); background: rgb(0 0 0 / .05); border-radius: 10px; }
.order-drag .placeholder { height: 56px; }
.charges { margin: .4rem 0 1rem; font-size: .95rem; }
/* 🏃 Runners move sheet */
.runs-pick { display: grid; gap: .7rem; margin: .3rem 0 .6rem; }
.runs-who { font-weight: 600; margin-bottom: .25rem; }
.runs-seg .b.seg { min-height: 52px; font-size: 1rem; }
/* 📷 lineup photo */
.photo-btn { position: relative; display: block; text-align: center; }
.photo-btn input[type=file] { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.photo-rows { list-style: none; padding: 0; display: grid; gap: .4rem; }
.photo-rows .num-in { width: 3.6em; }
.photo-rows .name-in { flex: 1; min-width: 0; }
/* pitcher rest days (Oct 11 2026) */
.ok-tag { color: #1a7f37; }
.rest-tag { color: #b42318; }
.rest-table td { vertical-align: top; }
/* pre-game checklist (Oct 11 2026) */
.checklist .ck-list { list-style: none; padding: 0; margin: .25rem 0 .5rem; }
.checklist .ck-list li { display: flex; gap: .5rem; padding: .3rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.checklist .ck-ic { width: 1.4rem; height: 1.4rem; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; flex: none; background: #eee; }
.checklist .ck-ok .ck-ic { background: #1a7f37; color: #fff; }
.checklist .ck-warn .ck-ic { background: #d97706; color: #fff; }

.potg { border-left: 4px solid #f5a623; }

.card-wrap canvas { width: 100%; max-width: 540px; height: auto; border-radius: 12px; display: block; }

.delay-chip { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: #fff4e5; border: 2px solid #f65506; border-radius: 10px; padding: .4rem .6rem; margin: .4rem 0; font-weight: 600; color: #7a2a02; }

.trend { margin: .4rem 0 1rem; }
.trend svg { width: 100%; max-width: 560px; height: auto; display: block; }
.trend figcaption { font-size: .9rem; color: #555; margin-bottom: .2rem; }
.trend .key-dot { color: #f65506; } .trend .key-line { color: #0b8f8f; }
/* 🎬 at-bat jump lists (box score fold-out, player page) */
.ab-fold > summary { cursor: pointer; font-weight: 800; }
.ab-list { list-style: none; padding: 0; margin: .4rem 0 0; }
.ab-list li { padding: .35rem 0; border-top: 1px solid rgba(0,0,0,.08); line-height: 1.35; }
.ab-jump { display: inline-block; min-width: 5.6rem; font-weight: 800; font-variant-numeric: tabular-nums; text-decoration: none; }
.ab-player { margin: .5rem 0; aspect-ratio: 16 / 9; background: #000; }
.ab-player iframe, .ab-player video { width: 100%; height: 100%; border: 0; display: block; }
.ab-game { font-size: 1rem; margin: .9rem 0 .2rem; }
