/* HEADER */
.hdr{background:var(--c-surface);border-bottom:3px solid var(--team);padding:11px 16px;padding-top:calc(11px + env(safe-area-inset-top));position:fixed;top:0;left:0;right:0;max-width:520px;margin:0 auto;z-index:20;display:flex;justify-content:space-between;align-items:center;box-shadow:var(--shadow-header)}
.hdr-brand .t1{font-size:var(--fs-md);font-weight:var(--fw-bold);color:var(--c-text);line-height:1}
.hdr-brand .t2{font-size:var(--fs-sm);font-weight:var(--fw-bold);color:var(--c-text-3);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} /* 13px bold, like the check-in count (Mallory, 2026-11-13; was 10px semibold) */
.hdr-brand .t2.ci-st{font-size:var(--fs-sm);font-weight:var(--fw-bold);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hdr-brand .t2.ci-st.ok{color:var(--c-ok)} /* check-in count (2026-11-11), sized and colored like .st */
.hdr-right{display:flex;align-items:center;gap:8px;flex-shrink:0}
.hdr-badge{min-width:36px;height:36px;border-radius:var(--r-sm);display:flex;align-items:center;justify-content:center;font-size:var(--fs-xs);font-weight:var(--fw-bold);color:var(--c-on-color);background:var(--c-ink);padding:0 6px;flex-shrink:0}
.hdr-menu{background:var(--c-surface-4);border:none;border-radius:var(--r-pill);padding:7px 13px;color:var(--c-text);font-size:var(--fs-md);font-weight:var(--fw-bold);min-height:38px;min-width:44px}
.hdr-back{background:var(--c-surface-3);border:none;border-radius:var(--r-pill);padding:7px 13px;color:var(--c-text);font-size:var(--fs-sm);font-weight:var(--fw-bold);min-height:38px}

/* BODY */
.body{padding:16px}
h2{font-size:var(--fs-2xl);font-weight:var(--fw-bold);color:var(--c-text);margin-bottom:4px;line-height:var(--lh-head);letter-spacing:var(--ls-head)}
.sub{font-size:var(--fs-sm);color:var(--c-text-3);margin-bottom:16px;line-height:1.5}
.note{font-size:var(--fs-sm);color:var(--c-text-3);background:var(--c-surface-3);border:1px solid var(--c-line);padding:10px 13px;border-radius:var(--r-md);margin-bottom:12px;line-height:1.5}
.div{font-size:var(--fs-sm);font-weight:var(--fw-bold);color:var(--c-text-2);text-transform:uppercase;letter-spacing:var(--ls-caps);border-top:1px solid var(--c-line);padding-top:12px;margin:14px 0 8px}
.div.nt{border-top:none;padding-top:0;margin-top:0}
/* Starting Lineup position list (Mallory, 2026-11-12 rework; styled like the in-game rows the same day):
   edge to edge under Infield / Outfield headers, rows are .pos-row (Coach Pick ones .row-sticky, with the
   green pill on the right). Tap a row for its pick sheet (openStartPickSheet). */
#lineup-positions{margin:4px 0 0} /* 110: a card in the page margins (was full-bleed, scrolled sideways) */
#lineup-positions .sec-hdr:first-child{border-top:none}
.row-name.lp-empty{font-weight:var(--fw-semibold);font-size:var(--fs-sm);color:var(--c-text-3)} /* 14px: "Tap to choose or app will decide" fits beside the pill at 375pt */
.lp-warn{margin:8px 16px}
.lp-warn{margin-bottom:6px}
.div.amber{color:var(--c-warn)}.div.green{color:var(--c-ok)}
.seg-ctrl{display:flex;gap:4px;padding:3px;background:var(--c-surface-3);border-radius:var(--r-md);margin-bottom:8px}
.seg-btn{flex:1;border:none;border-radius:var(--r-control);background:transparent;color:var(--c-text);font-size:var(--fs-base);font-weight:var(--fw-semibold);padding:0 6px;cursor:pointer;font-family:inherit;min-height:var(--h-seg);transition:background .15s,color .15s}
.seg-btn.on{background:var(--c-surface);color:var(--c-text);font-weight:var(--fw-bold);box-shadow:var(--shadow-seg)}
/* segSlider (Mallory 2026-11-23): the handle is its own layer under the labels; it slides, and follows a drag */
.seg-slide{position:relative;touch-action:pan-y;-webkit-user-select:none;user-select:none}
.seg-slide .seg-thumb{position:absolute;top:3px;bottom:3px;left:0;border-radius:var(--r-control);background:var(--c-surface);box-shadow:var(--shadow-seg);transition:transform .28s cubic-bezier(.32,.72,0,1),width .28s cubic-bezier(.32,.72,0,1);pointer-events:none}
.seg-slide.dragging .seg-thumb{transition:none}
.seg-slide .seg-btn{position:relative;z-index:1;-webkit-tap-highlight-color:transparent}
.seg-slide .seg-btn.on{background:transparent;box-shadow:none;cursor:grab}.seg-slide.dragging .seg-btn.on{cursor:grabbing}
.chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.chip{padding:0 14px;border-radius:var(--r-pill);border:none;background:var(--c-surface-3);color:var(--c-text);font-size:var(--fs-base);font-weight:var(--fw-semibold);cursor:pointer;min-height:var(--h-chip);font-family:inherit;-webkit-tap-highlight-color:transparent}
.chip.on{background:var(--c-ink);color:var(--c-on-color)}

/* BUTTONS */
.btn{display:block;width:100%;padding:9px 16px;line-height:22px;border-radius:var(--r-lg);font-size:var(--fs-lg);font-weight:var(--fw-bold);border:none;text-align:center;min-height:var(--h-button);cursor:pointer;font-family:inherit;margin-bottom:10px}
.b-primary{background:var(--c-primary);color:var(--c-on-color)}
.b-outline{background:var(--c-surface-3);color:var(--c-text)} /* Cancel / Back (110: Scott's quiet button, no outline) */
.b-danger{background:var(--c-surface-3);color:var(--c-danger)}
#delete-team-wrap .b-danger,#s-history-detail .b-danger,#coach-signin{background:var(--c-surface-4)} /* on the cream page: Delete this team / game (Mallory 2026-11-20) */
.sk-num-row{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:var(--tap-min);margin:0 0 10px;padding:0 12px;background:none;border:none;font-family:inherit;font-size:var(--fs-sm);color:var(--c-text-2);cursor:pointer}
.sk-num-edit{font-weight:var(--fw-bold);color:var(--c-primary)}
.sk-text-btn{display:block;position:relative;width:100%;min-height:var(--tap-min);margin:-20px 0 10px;padding:0 12px;background:none;border:none;font-family:inherit;font-size:var(--fs-sm);font-weight:var(--fw-bold);color:var(--c-primary);cursor:pointer}
.b-danger-solid{background:var(--c-danger);color:var(--c-on-color)} /* the confirm button of a delete sheet (2026-11-12) */
.btn:disabled{background:var(--c-disabled-bg);color:var(--c-text-disabled);border-color:var(--c-disabled-bg);box-shadow:none;opacity:1;cursor:default} /* solid, not faded (Mallory 2026-11-21) */

/* INPUTS */
.modal-input{width:100%;padding:13px 14px;background:var(--c-surface);border:1.5px solid var(--c-line-strong);border-radius:var(--r-lg);font-size:var(--fs-input);font-weight:var(--fw-semibold);color:var(--c-text);outline:none;display:block;min-height:var(--h-field)}
.modal-input::placeholder{color:var(--c-text-3)}.modal-input:focus{border-color:var(--c-primary)}
.modal-lbl{font-size:var(--fs-sm);font-weight:var(--fw-bold);color:var(--c-text-2);text-transform:uppercase;letter-spacing:var(--ls-caps);margin:10px 2px 6px;display:block}
.st{font-size:var(--fs-sm);font-weight:var(--fw-bold);color:var(--c-text-3);margin-bottom:10px}
.st.ok{color:var(--c-ok)}.st.warn{color:var(--c-warn)}.st.err{color:var(--c-danger)}
.warn-msg{font-size:var(--fs-sm);color:var(--c-danger);background:var(--c-danger-soft);border:1px solid var(--c-danger-line);padding:9px 12px;border-radius:var(--r-md);margin-bottom:10px;display:none}

/* HOME */
#s-new-team.screen.on,#s1.screen.on,#s2.screen.on,#s3.screen.on,#s-history.screen.on,#s-history-detail.screen.on,#s-player-season.screen.on{padding-top:calc(72px + env(safe-area-inset-top))}
/* 110 step 3 (Scott's prototype): Home's top bar and team cards. The top bar is Home's only for now;
   other screens move to it in their own steps. */
#s-home.screen.on{padding-top:calc(54px + env(safe-area-inset-top))}
.top-bar{height:calc(54px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 10px 0 16px;background:var(--c-page);border-bottom:none;box-shadow:none;gap:6px}
.icon-btn{width:42px;height:42px;border-radius:var(--r-round);border:none;background:var(--c-surface-4);/* the darker quiet fill: surface-3 had too little contrast on the page (Mallory 2026-11-20) */color:var(--c-text);display:flex;align-items:center;justify-content:center;padding:0;flex:none;cursor:pointer}
.ico{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.btn .ico{width:20px;height:20px}
#team-list{padding:6px 14px 16px}
#s-home:has(.resume-banner) #team-list{padding-top:0}
.tcard{background:var(--c-surface);border-radius:var(--r-card);box-shadow:var(--shadow-card);overflow:hidden;margin-bottom:14px}
.tc-band{display:flex;align-items:center;gap:12px;padding:14px 16px;color:var(--c-on-color)}
.tc-patch{width:52px;height:52px;border-radius:var(--r-round);background:var(--c-surface);color:var(--c-text);display:flex;align-items:center;justify-content:center;font-size:var(--fs-xl);font-weight:var(--fw-bold);box-shadow:0 0 0 3px var(--c-on-color-faint);flex:none}
.tc-info{flex:1;min-width:0}
.tc-name{font-size:var(--fs-2xl);font-weight:var(--fw-bold);line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:var(--ls-head)}
.tc-sub{font-size:var(--fs-md);opacity:.9;line-height:1.25} /* 110: wraps like Scott's (division · N players) */
.tc-gear{background:var(--c-on-color-wash);color:var(--c-on-color)}
.tc-row{display:flex;flex-wrap:wrap;gap:8px;padding:12px 14px 14px}
.tc-row .btn{margin:0;width:auto;display:flex;align-items:center;justify-content:center;gap:8px;padding-top:0;padding-bottom:0;height:var(--h-button)}
.tc-row .tc-start{flex:1 1 100%}
/* Pitch counts needed on the team card (Mallory 2026-11-26, option D): soft amber, the buttons' corners */
.tc-pc{flex:1 1 100%;display:flex;align-items:center;gap:10px;min-height:var(--h-button);padding:8px 10px 8px 12px;box-sizing:border-box;border:none;border-radius:var(--r-lg);background:var(--c-warn-soft);box-shadow:inset 0 0 0 1.5px var(--c-warn-line);color:var(--c-text);font-family:inherit;text-align:left;cursor:pointer}
.tc-pc .tp-t{flex:1;min-width:0}.tc-pc b{display:block;font-size:var(--fs-md);font-weight:var(--fw-bold);line-height:1.25}.tc-pc small{display:block;font-size:var(--fs-sm);color:var(--c-text-2);line-height:1.3}
.tc-pc .tp-chev{display:flex;color:var(--c-warn)}.tc-pc .tp-chev .ico{width:20px;height:20px}.tc-row .tc-stats,.tc-row .tc-prac{flex:1 1 0;min-width:0}
#s-practice.screen.on,#s-practice-plan.screen.on,#s-practice-drill.screen.on,#s-practice-why.screen.on{padding-top:calc(54px + env(safe-area-inset-top))} /* 111 */
/* 111 step 3: the plan's tiles (Season Stats' look), cards of rows, and the drill / Why cards */
.pr-who{background:var(--c-ink);color:var(--c-on-color);border-radius:var(--r-card);padding:12px 16px;margin-bottom:10px;display:flex;flex-direction:column;gap:2px} /* step 5: Scott's .hdcard */
.pr-who b{font-size:var(--fs-lg)}.pr-who small{font-size:var(--fs-md);opacity:.85}
.pr-who.ro{background:var(--c-surface);color:var(--c-text);box-shadow:inset 0 0 0 1.5px var(--c-line-strong)}.pr-who.ro small{opacity:1;color:var(--c-text-2);font-weight:var(--fw-semibold)}
.lockd{opacity:.45;pointer-events:none;filter:grayscale(.6)} /* the assistant's view of setup (Scott's) */
.pr-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0;background:none;border:none;margin-bottom:10px}.pr-tiles.four{grid-template-columns:repeat(4,1fr);gap:6px}
.pr-tiles .stat-box{background:var(--c-surface);border-radius:var(--r-card);box-shadow:var(--shadow-card);padding:10px 12px;text-align:left}
.pr-tiles .stat-v{font-size:var(--fs-4xl);line-height:1.1;letter-spacing:var(--ls-big)}.pr-tiles.four .stat-box{padding:10px 8px}.pr-tiles.four .stat-v{font-size:var(--fs-2xl)}
.pr-tiles .stat-l{font-size:var(--fs-caption);color:var(--c-text-2);margin-top:2px;letter-spacing:var(--ls-caps)}
.pr-card{margin-bottom:10px}.pr-row{padding:10px 14px;cursor:default}button.pr-row{cursor:pointer}.pr-card>.pr-row:last-child{border-bottom:none}
.pr-row>span:not(.mi):not(.mr-chev):not(.ordn){flex:1;min-width:0}.pr-row .ordn{width:40px;height:40px}
.pr-groups{display:block;font-size:var(--fs-md);font-weight:var(--fw-semibold)}.pr-group{padding:2px 0}
#s-practice-drill .sum-card,#s-practice-why .sum-card{margin:0 0 10px}
.pr-line{display:flex;align-items:center;gap:10px;padding:5px 0}.pr-line.top{align-items:flex-start}
.pr-ic{width:28px;height:28px;border-radius:var(--r-round);display:flex;align-items:center;justify-content:center;flex:none}.pr-ic .ico{width:18px;height:18px}
.pr-ic.g{background:var(--c-ok-soft);color:var(--c-ok)}.pr-ic.n{background:var(--c-danger-soft);color:var(--c-danger)}
.pr-txt{flex:1;min-width:0}.pr-txt b{display:block;font-size:var(--fs-base)}.pr-txt small{display:block;font-size:var(--fs-sm);color:var(--c-text-2)}
.pr-para{font-size:var(--fs-base);font-weight:var(--fw-semibold);line-height:1.4;flex:1;min-width:0}.pr-line.top .pr-para{padding-top:3px}
#s-practice-why .pr-para{font-weight:var(--fw-regular)}.pr-note{font-size:var(--fs-sm);color:var(--c-text-2);margin-top:6px}
.pr-rot{display:flex;gap:10px;padding:5px 0;font-size:var(--fs-md)}.pr-rot>b{width:84px;flex:none}.pr-rot>span{flex:1;min-width:0;font-weight:var(--fw-semibold)}
.pr-rot small{display:block;color:var(--c-text-2);font-size:var(--fs-md)}
/* These rules sit above .tool-row / .menu-row / .anchor in the file, so they name the screen to win. */
#s-practice-plan .pr-row{padding:10px 14px}#s-practice-plan .pr-row>span.ordn{flex:none}
#s-practice-plan .pr-groups{display:block;font-size:var(--fs-md);font-weight:var(--fw-semibold);cursor:default}#s-practice-plan .pr-group b{display:inline;font-size:inherit}
#s-history .pr-hrow{padding:10px 14px;cursor:default}#s-history .list-card>.pr-hrow:last-child{border-bottom:none} /* 111 step 4: the Practices list */
#s-history .season-stat-grid .stat-box:last-child:nth-child(odd){grid-column:1/-1} /* an odd tile out (Practices added) spans the row */
#s-practice-drill .anchor .btn,#s-practice-why .anchor .btn{flex:1;height:48px}
#s-practice-plan .anchor #pp-hand{height:44px;padding:0 14px;background:var(--c-surface);box-shadow:var(--shadow-float);margin-left:auto}
#s-practice-plan .anchor .btn{white-space:nowrap}#s-practice-plan .anchor #pp-hand:not([style*="none"])+#pp-end{margin-left:0;padding:0 18px} /* Hand off and End on one line each at 375pt */#s-practice-plan .anchor #pp-hand .ico{width:20px;height:20px}
#s-practice-plan .anchor #pp-runs{opacity:1;background:var(--c-surface-3);color:var(--c-text-2)} /* "Scott runs this" (disabled) */
.pr-coach{height:44px;margin-bottom:6px}.pr-coach span{width:22px}
/* 110 step 4: Scott's top bar with a back button and title + subtitle (Team Setup first), the page body,
   labels' "(optional)", picker fields and sheet rows, and the bottom bar. */
#s-new-team.screen.on{padding-top:calc(54px + env(safe-area-inset-top))}
.top-bar-back{padding-left:8px}
.logo{display:inline-flex;align-items:center;gap:9px;line-height:0;margin-left:-2px;margin-right:auto}.logo svg{display:block;flex:none}
.lg-base{fill:var(--c-logo-fill);stroke:var(--c-logo-ink);stroke-width:5}.lg-ink{fill:var(--c-logo-ink);stroke:none}.lg-acc{fill:var(--c-logo-accent);stroke:none}
.lg-arc{fill:none;stroke:var(--c-logo-ink);stroke-width:6;stroke-linecap:round}
.lg-words{display:flex;flex-direction:column;color:var(--c-logo-ink);line-height:.9;text-transform:uppercase;font-family:var(--font-logo);font-size:var(--fs-title)}
.lg-w1{font-weight:var(--fw-logo-1);letter-spacing:.16em}.lg-w2{font-weight:var(--fw-logo-2);letter-spacing:.06em}
.top-title-wrap{flex:1;min-width:0;line-height:1.15}
.top-title2{font-size:var(--fs-title);font-weight:var(--fw-bold);color:var(--c-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:var(--ls-head)}
.top-sub{font-size:var(--fs-sm);font-weight:var(--fw-semibold);color:var(--c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page-body{padding:0 14px 76px}
.lbl-opt{font-weight:var(--fw-regular);text-transform:none;letter-spacing:0}
.page-note{font-size:var(--fs-md);color:var(--c-text-2);margin:-4px 4px 8px}
.pick-field{display:flex;align-items:center;width:100%;height:var(--h-field);border:none;border-radius:var(--r-lg);background:var(--c-surface);box-shadow:inset 0 0 0 1.5px var(--c-line-strong);margin-bottom:12px;padding:0 12px 0 14px;text-align:left;font-family:inherit;color:var(--c-text);cursor:pointer}
.pick-val{flex:1;min-width:0;font-size:var(--fs-xl);font-weight:var(--fw-semibold);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pick-val.empty{color:var(--c-text-3)}
.pick-opt{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;border:none;border-bottom:1px solid var(--c-line);background:none;text-align:left;padding:0 2px;font-family:inherit;color:var(--c-text);cursor:pointer}
.pick-opt b{flex:1;font-size:var(--fs-lg)}
.pick-opt .ico{width:24px;height:24px}
.anchor{position:fixed;left:0;right:0;bottom:0;max-width:520px;margin:0 auto;z-index:20;display:flex;align-items:center;gap:8px;padding:6px 18px var(--bar-pad-bottom);isolation:isolate}
/* Scott's update (round 6): no bar, a soft fade behind the buttons; Tools (Home on setup) is a floating card */
.anchor::before{content:"";position:absolute;left:0;right:0;bottom:0;top:-22px;z-index:-1;pointer-events:none;background:linear-gradient(to top,color-mix(in srgb,var(--c-page) 90%,transparent) 0,color-mix(in srgb,var(--c-page) 78%,transparent) 55%,transparent 100%);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);-webkit-mask-image:linear-gradient(to top,var(--c-ink) 0,var(--c-ink) 55%,transparent 100%);mask-image:linear-gradient(to top,var(--c-ink) 0,var(--c-ink) 55%,transparent 100%);transition:opacity 420ms cubic-bezier(.32,.72,0,1)}
.anchor .btn{margin:0;width:auto;display:flex;align-items:center;justify-content:center;gap:8px;padding-top:0;padding-bottom:0;height:var(--h-button)}
.anchor .b-primary{flex:0 1 auto;margin-left:auto;height:48px;padding:0 22px;gap:8px;transition:transform 420ms cubic-bezier(.32,.72,0,1),opacity 320ms ease;will-change:transform,opacity}
.anchor .b-primary .ico{width:22px;height:22px}.anchor .b-primary .ico-bat{width:28px;height:28px;margin:0 -2px} /* Mallory 2026-11-21: bigger bat; the margin keeps the button's width the same */
.btn.tl{width:64px;height:56px;flex:none;flex-direction:column;gap:2px;padding:0;font-size:var(--fs-caption);font-weight:var(--fw-semibold);border-radius:var(--r-xl);background:var(--c-surface);color:var(--c-ink);box-shadow:var(--shadow-float);line-height:1.1;transition:box-shadow 420ms cubic-bezier(.32,.72,0,1);pointer-events:auto}
.anchor .btn.tl{height:56px}.btn.tl .ico{width:22px;height:22px}
.anchor.setup .btn.tl{width:60px;height:52px;background:color-mix(in srgb,var(--c-surface) 50%,transparent);-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);box-shadow:var(--shadow-float-glass)}
.anchor.setup .b-primary{height:44px}
.anchor.setup .btn.tl.b-addc{width:auto;padding:0 8px;white-space:nowrap}
/* Add player in Team setup's bar (Mallory 2026-11-20): Done's height and text, the darker quiet fill */
.anchor .b-addp{margin-left:auto;height:44px;padding:0 16px 0 12px;gap:6px;white-space:nowrap;flex:none;background:var(--c-surface-4);color:var(--c-text)}
.anchor .b-addp .ico{width:22px;height:22px}
.anchor .b-addp+.b-primary{margin-left:0}
/* The game's main button slides away while scrolling down and comes back scrolling up or at the top (Scott) */
.anchor.min{pointer-events:none}.anchor.min::before{opacity:0}
.anchor.min .b-primary{transform:translateX(-115%);opacity:0;pointer-events:none}
.anchor.min .btn.tl{box-shadow:var(--shadow-float-up)}
@media (prefers-reduced-motion:reduce){.anchor .b-primary,.anchor::before{transition:none}}
/* 110 step 4b: Scott's roster list and the Player sheet */
.lbl-row{display:flex;justify-content:space-between;align-items:center}
.add-pill{display:flex;align-items:center;gap:6px;height:34px;padding:0 14px;border:none;border-radius:var(--r-pill);background:var(--c-surface);box-shadow:inset 0 0 0 1.5px var(--c-line-strong);font-size:var(--fs-lg);font-weight:var(--fw-semibold);font-family:inherit;color:var(--c-text);cursor:pointer;margin-top:4px}
.add-pill .ico{width:20px;height:20px}.add-pill>.ico:first-child{margin-left:-4px} /* the plus has 4px of empty space on its left: pull it in so the space looks even on both sides; 14px each side (Mallory 2026-11-20) */
.roster-card{background:var(--c-surface);border-radius:var(--r-card);box-shadow:var(--shadow-card);overflow:hidden;margin-bottom:8px}
.roster-row{display:block;width:100%;border:none;border-top:1px solid var(--c-line);background:none;text-align:left;padding:8px 14px 10px;font-family:inherit;color:var(--c-text);cursor:pointer}
.roster-row:first-child{border-top:none}
.roster-row:active{background:var(--c-surface-2)}
.rr-l1{display:flex;align-items:center;gap:10px;min-height:38px}
.rr-l1 .rr-jn{margin:0} /* the "#7" box: the row's 10px gap on its right, like the other lists */
.rr-name{flex:1;min-width:0;font-size:var(--fs-xl);font-weight:var(--fw-bold);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rr-l1 .ico{width:22px;height:22px;color:var(--c-text-2)}
.rr-l2{display:flex;flex-wrap:wrap;gap:5px;padding:2px 0 0 50px} /* under the name: the 40px "#7" box and the 10px gap */
#roster-list.no-nums .rr-l2{padding-left:0}
.pf{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 9px 0 7px;border-radius:var(--r-pill);font-size:var(--fs-sm);font-weight:var(--fw-bold);white-space:nowrap}
.pf .ico{width:14px;height:14px}
.pf.y{background:var(--c-surface);color:var(--c-ink);box-shadow:inset 0 0 0 1.5px var(--c-ink)}
.pf.n{background:var(--c-danger-soft);color:var(--c-danger);border:1.5px dashed var(--c-danger);padding:0 7px 0 5px}
.rr-l2.none{padding-top:0;margin-top:-4px} /* no pills: the line sits closer to the name (Mallory 2026-11-20) */
.rr-l2.none .pf0{height:20px}
.pf0{display:inline-flex;align-items:center;height:24px;font-size:var(--fs-sm);color:var(--c-text-2);font-weight:var(--fw-semibold)}
.roster-empty{padding:18px 14px;font-size:var(--fs-md);color:var(--c-text-2)}
.sh-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:6px}
.sh-label{font-size:var(--fs-sm);font-weight:var(--fw-bold);color:var(--c-text-2);text-transform:uppercase;letter-spacing:var(--ls-caps);margin-bottom:2px}
/* The title centered between the label and the line under it (Mallory 2026-11-24): about 9.5px from the label's
   baseline to the title's capitals and from the title's baseline to the next line's capitals, whichever kind of
   line it is (measured; each kind has its own size, line height and margin). */
.sh-head+.page-note,.sh-head+.pref-note{margin-top:-5px}
/* No label: the close button (taller than the title's line) doesn't make the header taller, so the line under it is
   as close as on a header with a label (was 27-33px away; Mallory 2026-11-24). */
.sh-head.no-label{align-items:flex-start}.sh-head.no-label>.icon-btn{margin:-8.5px 0}.sh-head.no-label+.page-note,.sh-head.no-label+.pref-note,.js-backdrop .sh-head.no-label+.ms{padding-right:46px} /* the button centered on the title's first line, its capitals; the line under it keeps clear of the button */.js-backdrop .sh-head+.ms{margin-top:-6.5px}
.sh-head .icon-btn{flex:none}
h3.sh-title{margin:0;flex:1;min-width:0}
.sh-title.has-jn{display:flex;align-items:center} /* the "#7" box and the name centered on each other (Mallory 2026-11-26) */
.sh-title{font-size:var(--fs-3xl);font-weight:var(--fw-bold);line-height:var(--lh-head);letter-spacing:var(--ls-head);color:var(--c-text)}
.sheet-err{font-size:var(--fs-md);font-weight:var(--fw-semibold);color:var(--c-danger);min-height:4px;margin:-4px 2px 8px}
.sheet-foot{display:flex;gap:8px;padding-top:2px}
.sheet-foot .btn{margin:0;flex:1}
/* Mallory 2026-11-20: on Scott's glass sheets (the Menu and every sheet replaceSheetBox makes) the quiet fills
   are a shade darker so they show: Cancel / Back / Close, quiet red buttons, the ×, the Menu's icon squares,
   chips that are not on, a segmented control's track (sign-in, 2026-11-28). A sheet made white (solidSheet) drops
   .glass and keeps the lighter fill. */
.glass .seg-ctrl,.glass .icon-btn,.glass .mi,.glass .ordn,.glass .cat-search:not(.on),.glass .th2:not(.on),.glass .b-outline,.glass .b-danger,.glass .chip:not(.on),.glass .cat-chip:not(.on){background:var(--c-surface-4)}
.glass .cat-search:not(.on){border-color:transparent}.glass .th2:not(.on):not(:disabled){box-shadow:none} /* quiet buttons, no white fill or outline (Mallory 2026-11-21) */
/* Account sheet, signed out (Mallory 2026-11-19): Sign in, Create account, Forgot password on one row. */
/* 110 step 5a: check-in ("Who is here") in Scott's style */
#s1.screen.on{padding-top:calc(54px + env(safe-area-inset-top))}
.top-bar .hdr-badge{display:none} /* Scott's top bar has no team badge (kept in the page for the code that fills it) */
.top-sub.ci-st.ok{color:var(--c-ok)}
.page-intro{font-size:var(--fs-base);color:var(--c-text-2);margin:0 4px 8px;line-height:1.35}
.list-card{background:var(--c-surface);border-radius:var(--r-card);box-shadow:var(--shadow-card);overflow:hidden;margin-bottom:8px}
.list-card .pcheck-row{min-height:52px;padding:4px 14px;gap:10px;border-bottom:none;border-top:1px solid var(--c-line);background:none}
.list-card .pcheck-row:first-child{border-top:none}.list-card .pcheck-row .jn-chip{margin-right:0} /* the row's 10px gap on both sides of the "#7" box (Mallory 2026-11-24) */
.list-card .pcheck-row.on{background:none}
.list-card .pcheck-row:not(.on) .pcheck-name{color:var(--c-text-2);text-decoration:line-through} /* absent (Scott) */
.list-card .pcheck-mark{width:26px;height:26px;border-radius:var(--r-sm);border:none;box-shadow:inset 0 0 0 2px var(--c-jersey-line);color:transparent}
.list-card .pcheck-mark .ico{width:16px;height:16px;stroke-width:3.4}
.list-card .pcheck-row.on .pcheck-mark{background:var(--c-ink);box-shadow:none;color:var(--c-on-color)}
.list-card .pcheck-name{font-size:var(--fs-xl);font-weight:var(--fw-bold)}
.vs-field{display:flex;align-items:center;height:var(--h-field);border-radius:var(--r-lg);background:var(--c-surface);box-shadow:inset 0 0 0 1.5px var(--c-line-strong);overflow:hidden;margin-bottom:12px}
.vs-field:focus-within{box-shadow:inset 0 0 0 2.5px var(--c-primary)}
.vs-field span{padding-left:14px;color:var(--c-text-2);font-weight:var(--fw-semibold);font-size:var(--fs-input)}
.vs-field input{flex:1;min-width:0;height:100%;border:none;background:transparent;font-size:var(--fs-input);font-weight:var(--fw-semibold);font-family:inherit;color:var(--c-text);padding:0 14px 0 8px;outline:none}
.pick-field-2{height:auto;min-height:var(--h-field);padding-top:10px;padding-bottom:10px}
.pick-field-2 .pick-val{white-space:normal}
.pf-div{display:block;font-size:var(--fs-base);font-weight:var(--fw-bold)}
.pf-sum{display:block;font-size:var(--fs-md);font-weight:var(--fw-semibold);color:var(--c-text-2);line-height:1.3;margin-top:2px}
.anchor .b-primary:disabled{background:var(--c-disabled-bg);color:var(--c-text-disabled);opacity:1}
/* 110 step 5b: Starting Lineup ("Fielding lineup") in Scott's style */
#s3.screen.on{padding-top:calc(54px + env(safe-area-inset-top))}
.gh-lbl{font-size:var(--fs-sm);font-weight:var(--fw-bold);letter-spacing:var(--ls-caps);text-transform:uppercase;color:var(--c-text-2);padding:4px 2px 6px}
.amber-note{margin:0 0 10px;padding:12px 14px;border-radius:var(--r-tile);background:var(--c-warn-soft);box-shadow:inset 0 0 0 1.5px var(--c-warn-line);font-size:var(--fs-md);font-weight:var(--fw-semibold);color:var(--c-text);line-height:1.4}
.frow{display:flex;align-items:center;gap:10px;border-top:1px solid var(--c-line);min-height:58px;padding:6px 10px 6px 14px;cursor:pointer;-webkit-tap-highlight-color:transparent}
#lineup-positions>.frow:first-child,#lineup-positions>.lp-warn:first-child+.frow{border-top:none}
.frow:active{background:var(--c-surface-2)}
.frow.coach{background:var(--c-coach-pick-soft);box-shadow:inset 4px 0 0 var(--c-coach-pick)}
.pos-badge.pc-sm{width:42px;height:28px;border-radius:var(--r-md);font-size:var(--fs-md);font-weight:var(--fw-bold)}
.fn{flex:1;min-width:0;display:flex;flex-direction:column}
.fn b{font-size:var(--fs-xl);font-weight:var(--fw-bold);color:var(--c-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fn b.lp-empty{color:var(--c-text-2);font-weight:var(--fw-semibold);font-size:var(--fs-xl)}
.fn i{font-style:normal;font-size:var(--fs-sm);color:var(--c-text-2);font-weight:var(--fw-semibold)}
.cpk{flex:none;display:flex;align-items:center;gap:4px;height:40px;padding:0 10px 0 8px;border-radius:var(--r-pill);border:none;background:var(--c-surface);box-shadow:inset 0 0 0 1.5px var(--c-jersey-line);color:var(--c-text-2);font-size:var(--fs-sm);font-weight:var(--fw-bold);font-family:inherit;cursor:pointer}
.cpk .ico{width:16px;height:16px}
.cpk.on{background:var(--c-coach-tag-soft);color:var(--c-coach-tag);box-shadow:inset 0 0 0 1.5px var(--c-coach-tag-line)}
#lineup-positions .lp-warn{margin:8px 14px}
/* 110 step 6a: the game screen's top bar, inning strip, outs strip, bottom bar; Tools rows; the dialog */
#s-game.screen.on{padding-top:calc(54px + env(safe-area-inset-top));transition:padding-top 240ms cubic-bezier(.23,1,.32,1)}
#s-game.screen.on.strip-open{padding-top:calc(96px + env(safe-area-inset-top))}
#s-game.screen.on.g-summary{padding-top:calc(54px + env(safe-area-inset-top))}
.g-top{position:fixed;top:0;left:0;right:0;max-width:520px;margin:0 auto;z-index:20;background:var(--c-page);padding-top:env(safe-area-inset-top)}
.g-bar{height:54px;display:flex;align-items:center;gap:6px;padding:0 10px 0 16px}
/* The team's photo, or its color with the abbreviation, in a circle the size of the ☰ button (Mallory 2026-11-20) */
.g-bar .hdr-badge{width:42px;height:42px;min-width:0;padding:0;margin-right:4px;border-radius:var(--r-round);overflow:hidden;flex:none}
.g-bar .hdr-badge img{width:100%;height:100%;object-fit:cover;display:block}
.g-bar .hdr-badge.photo{box-sizing:border-box;border:2px solid var(--c-text)} /* a photo gets a 2px black ring (Mallory 2026-11-20) */
#s-game.g-summary .g-bar .hdr-badge{display:none}
.g-sum-back{display:none;flex:none}#s-game.g-summary .g-sum-back{display:flex}#s-game.g-summary .g-bar .hdr-menu{display:none}
.g-names{flex:1;min-width:0;font-size:var(--fs-md);font-weight:var(--fw-semibold);line-height:1.15;color:var(--c-text)}
.g-names div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inn-pill{display:flex;align-items:center;height:40px;border-radius:var(--r-pill);background:var(--c-surface);box-shadow:inset 0 0 0 2px var(--c-inning-line);color:var(--c-text);font-size:var(--fs-xl);font-weight:var(--fw-bold);line-height:1;flex:none} /* scoreboard pill, option 1 (Mallory 2026-11-21) */
.inn-pill button{display:flex;align-items:center;height:40px;border:none;background:none;color:inherit;font:inherit;cursor:pointer}
.inn-pill button:disabled{cursor:default}
.ic-i{gap:6px;padding:0 10px 0 14px}.ic-o{gap:6px;padding:0 12px 0 10px}
.ic-tri{width:14px;height:14px;fill:currentColor;flex:none}
.ic-sep{width:2px;align-self:stretch;margin:8px 0;background:var(--c-outs-line);opacity:.45}
.g-summary .inn-pill{display:none} /* stays put while the inning strip is open (Mallory 2026-11-20) */
.g-strip{overflow:hidden;max-height:0;transition:max-height 240ms cubic-bezier(.23,1,.32,1)}
.strip-open .g-strip{max-height:50px}
.g-strip-in{display:flex;gap:6px;padding:0 16px 8px;overflow-x:auto;scrollbar-width:none}
.g-strip-in::-webkit-scrollbar{display:none}
.inn-box{flex:1 1 0;min-width:0;height:34px;border-radius:var(--r-badge);border:none;background:transparent;color:var(--c-text-2);font-size:var(--fs-base);font-weight:var(--fw-semibold);font-family:inherit;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1.5px var(--c-line-strong);padding:0}
.g-strip-in.wide .inn-box{flex:0 0 44px}
button.inn-box{cursor:pointer}
.inn-box.done{background:var(--c-surface-3);box-shadow:none}
.inn-box.now{background:var(--c-surface);color:var(--c-text);font-weight:var(--fw-bold);box-shadow:inset 0 0 0 2px var(--c-inning-line)} /* white, 2px outline the same color as the inning pill's (Mallory 2026-11-21) */
.inn-box.sel{box-shadow:inset 0 0 0 2px var(--c-ink);color:var(--c-text)} /* inside the box: the strip clips anything outside (Mallory 2026-11-21) */
/* Mallory 2026-11-20: no row under the top bar; Batting Order / Fielders is in the bottom bar. */
.g-summary .g-strip,.g-summary .g-anchor{display:none}
#inn-panes{padding-bottom:calc(var(--bar-h) + var(--toast-gap))} /* room to scroll the last row's tray clear of the bottom bar (was 76px, less than the bar: simulator QA, Mallory 2026-11-23) */
.ro-note{display:flex;align-items:center;gap:10px;margin:8px 14px 10px;padding:10px 12px;border-radius:var(--r-md);background:var(--c-warn-soft);box-shadow:inset 0 0 0 1.5px var(--c-warn-line);font-size:var(--fs-md);font-weight:var(--fw-semibold);color:var(--c-text)}
.ro-note span{flex:1}
.ro-note button{flex:none;height:var(--h-chip);padding:0 12px;border:none;border-radius:var(--r-pill);background:var(--c-surface);color:var(--c-text);font:inherit;font-weight:var(--fw-bold);cursor:pointer}
.g-anchor .btn.tl{white-space:nowrap}
.sh-hint{font-size:var(--fs-md);color:var(--c-text-2);padding:10px 2px}
.cand .ordn{flex:none}
.tool-row{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;border:none;border-bottom:1px solid var(--c-line);background:none;text-align:left;padding:8px 2px;font-family:inherit;color:var(--c-text);cursor:pointer}
.tool-row .ico{width:24px;height:24px}
.tool-row b{display:block;font-size:var(--fs-lg)}
.tool-row small{display:block;font-size:var(--fs-md);color:var(--c-text-2);font-weight:var(--fw-regular)}
.tool-row.tint{background:var(--c-primary-soft);border-radius:var(--r-md);padding:0 10px;margin-bottom:4px;border-bottom:none}
/* A count bubble (Mallory 2026-11-25, option B): pitchers needing a count, on Tools and its Pitch counts row */
.count-bub{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:22px;height:22px;padding:0 6px;box-sizing:border-box;border-radius:var(--r-pill);background:var(--c-warn);color:var(--c-on-color);font-size:var(--fs-caption);font-weight:var(--fw-bold);line-height:1}
#g-tools{position:relative}#g-tools .count-bub{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;font-size:var(--fs-xs);box-shadow:0 0 0 2px var(--c-page)}
.tool-row.off{cursor:default}.tool-row.off b,.tool-row.off small,.tool-row.off .ico{color:var(--c-text-disabled)} /* gray text, not faded (Mallory 2026-11-21) */
/* 110: Scott's candidate rows (Fielding lineup's pick sheet) */
.cand{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:6px 2px;border:none;border-bottom:1px solid var(--c-line);background:none;text-align:left;font-family:inherit;color:var(--c-text);cursor:pointer}
.cand .pos-badge{flex:none}.cand .pos-badge .ico{width:18px;height:18px}
.cand-mid{flex:1;min-width:0;display:flex;flex-direction:column}
.cand-nm{font-size:var(--fs-lg);font-weight:var(--fw-bold)}
.jn-chip{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:40px;height:28px;padding:0 4px;border-radius:var(--r-badge);background:var(--c-surface-2);box-shadow:inset 0 0 0 1.5px var(--c-line-strong);color:var(--c-ink);font-size:var(--fs-md);font-weight:var(--fw-bold);font-style:normal;font-variant-numeric:tabular-nums;line-height:1;margin-right:7px;vertical-align:middle;flex:none} /* Scott's "#n" */
.cand .jn-chip{min-width:40px}
.jn-chip.sm{min-width:34px;width:auto;height:22px;padding:0 4px;font-size:var(--fs-caption);border-radius:var(--r-sm);margin-right:3px;vertical-align:2px} /* Field view cards (Scott); 30px, was 26 (Mallory 2026-11-20: too tight); 34px and 4px each side (Mallory 2026-11-24: "#17" touched the edges; 36px tried first) so one- and two-digit numbers are the same width and names line up; three digits grow */
/* Scott's round 6: top bars are glass, a soft fade over what scrolls under them */
.top-bar{background:none;isolation:isolate}
/* Solid at the top (status bar and the logo's top), more see-through toward the bottom (Mallory 2026-11-23:
   cards showed through behind the logo) */
/* It ends at the bar's bottom edge, not 16px below it: it blurred the top of the first line under the bar (Mallory
   2026-11-24, "Tap a name to mark a player absent" on Who is here). */
.top-bar::before{content:"";position:absolute;left:0;right:0;top:0;bottom:0;z-index:-1;pointer-events:none;background:var(--c-page)} /* solid, no fade or blur (Mallory 2026-11-24) */
.autoic{width:30px;height:30px;border-radius:var(--r-round);background:var(--c-text-2);color:var(--c-on-color);display:flex;align-items:center;justify-content:center;flex:none}.autoic .ico{width:18px;height:18px} /* Scott's Auto fill bulb */
.copy-msg{color:var(--c-ok);font-weight:var(--fw-semibold)}
#s3-copy .copyb{margin-bottom:2px}
#s4-copy{padding-top:8px} /* 110: space under the top bar when there is no Copy button */
.cand-ok{display:flex;color:var(--c-ink)}.cand-ok .ico{width:20px;height:20px}
.menu-row{min-height:60px;padding:8px 2px}.menu-row>span:not(.mi):not(.mr-chev):not(.count-bub){flex:1;min-width:0}.menu-row small{font-size:var(--fs-sm)}
.mi{width:40px;height:40px;border-radius:var(--r-md);background:var(--c-surface-3);display:flex;align-items:center;justify-content:center;flex:none}.mi .ico{width:22px;height:22px}.menu-row>.mr-chev{flex:none;display:flex;color:var(--c-text-2)}.menu-row>.mr-chev .ico{width:20px;height:20px}
#sheet-bg .sheet-grab.sh-head{padding:var(--sheet-pad-top) var(--sheet-pad-x) 0;margin:calc(-1 * var(--sheet-pad-top)) calc(-1 * var(--sheet-pad-x)) 6px;min-height:0}
.dlg-bg{position:fixed;inset:0;z-index:300;background:var(--c-backdrop);display:flex;align-items:center;justify-content:center;padding:20px}
.dlg-box{width:100%;max-width:440px;background:var(--c-surface);border-radius:var(--r-dialog);padding:18px 16px 16px}
.dlg-title{font-size:var(--fs-dialog);font-weight:var(--fw-bold);margin-bottom:6px;color:var(--c-text);line-height:var(--lh-head);letter-spacing:var(--ls-head)}
.dlg-body{font-size:var(--fs-base);color:var(--c-text-2);margin-bottom:14px;line-height:1.35}
.dlg-btns{display:flex;gap:8px}
.dlg-btns .btn{margin:0;display:flex;align-items:center;justify-content:center;height:var(--h-button);padding:0 10px;white-space:nowrap}
.dlg-btns .b-outline{flex:1}.dlg-btns .b-primary{flex:1.3}
.dlg-btns.stack{flex-direction:column}.dlg-btns.stack .btn{flex:none;width:100%}
/* Mallory 2026-11-20: every alert stacks its buttons full width, the action on top and Cancel under it, so the safe choice is a big target. */
/* 110 step 6b: Scott's Table view rows */
.g-frz{position:sticky;top:calc(54px + env(safe-area-inset-top));z-index:4;display:flex;justify-content:flex-end;align-items:center;gap:9px;height:28px;padding:0 24px;background:var(--c-page);transition:top 240ms cubic-bezier(.23,1,.32,1)}
.strip-open .g-frz{top:calc(96px + env(safe-area-inset-top))}
/* Every innings table (Season Stats, a saved game, the in-game Summary): its column labels dock under the top bar
   (ssHeadStrip / ssHeadPlace, Mallory 2026-11-27; the code sets top to the bar's bottom). Driven by the scroll: no transitions. Under the top bar (z-index 19 < 20), so the table's end can push
   it up out of sight. The code fades the background and its edge in (.ss-bg, 0 just docked, 1 settled); the labels
   start in the table header's own type (.sum-table th) and are scaled by the code up to --fs-sm (.ss-probe). */
.ss-frz{position:fixed;top:0;left:0;right:0;max-width:520px;margin:0 auto;height:28px;z-index:19;visibility:hidden;pointer-events:none}
.ss-frz.on{visibility:visible}
.ss-frz .ss-bg{position:absolute;inset:0;background:var(--c-page);box-shadow:0 1px 0 var(--c-line);opacity:0}
.ss-frz .ss-probe{position:absolute;visibility:hidden;font-size:var(--fs-sm)}
.ss-docked thead th:not(:first-child){color:transparent}
.ss-frz .c{position:absolute;display:flex;align-items:flex-start;justify-content:center;font-size:var(--fs-xs);font-weight:var(--fw-bold);text-transform:uppercase;color:var(--c-text-3);transform-origin:center}
.inn-pane.past .row-cells,.inn-pane.past .g-frz .c{display:none} /* Scott's .past */
.g-frz .c{width:34px;text-align:center;font-size:var(--fs-sm);font-weight:var(--fw-bold);letter-spacing:.06em}
/* the IF / OF / BN column headers, on the game screen, sheets and summary tables */
.g-frz .c-if,.sth .c-if,.ss-frz .c-if,.sum-table th.c-if{color:var(--c-infield)}.g-frz .c-of,.sth .c-of,.ss-frz .c-of,.sum-table th.c-of{color:var(--c-outfield)}.g-frz .c-bn,.sth .c-bn{color:var(--c-text-2)}
.inn-pane .gh{font-size:var(--fs-sm);font-weight:var(--fw-bold);letter-spacing:var(--ls-caps);text-transform:uppercase;color:var(--c-text-2);padding:10px 20px 6px}
/* INFIELD on the IF / OF / BN line (Mallory 2026-11-20): at the top the headings lie over the first group's
   heading with a see-through background; once the page scrolls (.stuck) they get the page color again so the
   rows pass under them. Not over a view-only note (.over only without one; the hidden undo buttons in between
   don't matter). */
.g-frz.over{margin-bottom:-28px;background:transparent;transition:top 240ms cubic-bezier(.23,1,.32,1),background-color 120ms ease-out}
.g-frz.over.stuck{background:var(--c-page)}
.inn-pane .g-frz.over~.gh-first{padding-top:5px}
.inn-pane .gh.amb{color:var(--c-warn)}
.g-card{background:var(--c-surface);border-radius:var(--r-xl);box-shadow:var(--shadow-card);overflow:hidden;margin:0 14px} /* 20px: the position badges (10px corners) sit 10-11px in, so the corners nest (Mallory 2026-11-27; was --r-card 26) */
.inn-pane .pos-row,.inn-pane .bench-row,.inn-pane .return-row{display:flex;flex-wrap:wrap;align-items:center;column-gap:8px;row-gap:0;padding:7px 10px;min-height:50px;border:none;border-top:1px solid var(--c-line);background:var(--c-surface)}
.g-card>:first-child:not(.emptyz){border-top:none!important} /* not the empty box: its dashed line needs its top (2026-11-20) */
.inn-pane .pos-row.row-sticky{background:var(--c-coach-pick-soft);box-shadow:inset 4px 0 0 var(--c-coach-pick);border-left:none;padding-left:10px} /* the same as every row (10px, Mallory 2026-11-27; was 14): the stripe is a shadow, so it takes no room */
.inn-pane .pos-row.row-needs-if{background:var(--c-needs-if-soft)}
.inn-pane .bench-row{background:var(--c-bench-row)}
.inn-pane .return-row{background:var(--c-out-soft)}
.inn-pane .pos-badge{width:42px;height:28px;border-radius:var(--r-badge);font-size:var(--fs-md);font-weight:var(--fw-bold)}
.inn-pane .bench-row .pos-badge{background:var(--c-bench)}
.inn-pane .return-row .pos-badge{font-size:var(--fs-caption)}
.row-jn{width:42px;flex:none} /* Scott's round 6: a box the size of a position badge */
.row-jn:not(:empty),.bjn:not(:empty){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:28px;border-radius:var(--r-badge);background:var(--c-surface-2);box-shadow:inset 0 0 0 1.5px var(--c-line-strong);color:var(--c-ink);font-size:var(--fs-md);font-weight:var(--fw-bold);font-variant-numeric:tabular-nums}
.inn-pane .row-mid{flex:1;min-width:0;min-height:36px;display:flex;align-items:center}
.inn-pane .row-name{font-size:var(--fs-xl);font-weight:var(--fw-bold);color:var(--c-text)}
.inn-pane .bench-row .row-name{color:var(--c-text)}
.row-cells{display:flex;gap:9px;flex:none} /* 9px between count columns (was 8, Mallory 2026-11-27: two 1.1 pills were too close); .g-frz and .sth match */
.cell{width:34px;display:flex;justify-content:center}.cell>.cp{flex:none} /* a count like 2.1 keeps its whole pill (the cell is 34px; it can overhang the 9px gap). 7px each side of the count (was 6, Mallory 2026-11-27: 1.1 looked tight; 8px with wider columns cost the names too much room). The column headers (.g-frz .c, .sth .c) match the 34px. */
.cp{font-style:normal;display:inline-flex;align-items:center;justify-content:center;height:26px;min-width:30px;padding:0 7px;border-radius:var(--r-pill);font-size:var(--fs-base);font-weight:var(--fw-bold);line-height:1}
.inn{display:inline-flex;font-variant-numeric:tabular-nums;white-space:nowrap}.inn-w{text-align:right}.inn-f.ghost{visibility:hidden} /* a count in a column, periods lined up (innSpans, 2026-11-26) */
.cp.cpi{background:var(--c-infield-soft);color:var(--c-infield-text);box-shadow:inset 0 0 0 1.5px var(--c-infield-line)}
.cp.cpo{background:var(--c-outfield-soft);color:var(--c-outfield-text);box-shadow:inset 0 0 0 1.5px var(--c-outfield-line)}
.cp.cpb{background:var(--c-bench-soft);color:var(--c-bench-text);box-shadow:inset 0 0 0 1.5px var(--c-bench-line)}
.cp.z{background:transparent;box-shadow:none;color:var(--c-jersey-line);font-weight:var(--fw-semibold)}
.inn-pane .row-meta{flex-basis:100%;display:flex;flex-wrap:wrap;gap:5px;margin:0;padding:0 0 4px}
.inn-pane .row-meta:empty{display:none}
/* Pills that fit between the name and the IF / OF / BN cells sit there, right-aligned (.pill-in, set by
   fitRowPills); when they'd cut off more than 30% of the name (pillsCutName) they go on the line under
   (Mallory 2026-11-20, 30% rule 2026-11-21). */
.inn-pane .row-cells{order:3}.inn-pane .row-meta{order:4}
.inn-pane .row-meta.pill-in{order:2;flex-basis:auto;flex-wrap:nowrap;flex-shrink:0;padding:0} /* the name gives way (ellipsis), not the pills */
.inn-pane .row-meta>span,.inn-pane .return-row>span[class^="tag-"]{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:var(--r-pill);font-size:var(--fs-sm);font-weight:var(--fw-bold);line-height:1;white-space:nowrap;border:none}
.inn-pane .tag-needs{background:var(--c-needs-if);color:var(--c-on-needs-if)}
.inn-pane .tag-pcn{background:var(--c-warn-soft);color:var(--c-warn);box-shadow:inset 0 0 0 1.5px var(--c-warn-line)} /* 112 */
.inn-pane .tag-late{background:var(--c-surface-3);color:var(--c-text-2);box-shadow:inset 0 0 0 1.5px var(--c-jersey-line)}
.inn-pane .note-pill{background:var(--c-notes-pill-fill);color:var(--c-notes-pill-text);box-shadow:inset 0 0 0 1.5px var(--c-notes-pill-line)}
.inn-pane .tag-rolling{background:var(--c-coach-tag-soft);color:var(--c-coach-tag);box-shadow:inset 0 0 0 1.5px var(--c-coach-tag-line)} /* left like the other pills (Mallory 2026-11-20; was pushed right) */
.inn-pane .tag-streak{background:var(--c-streak-soft);color:var(--c-streak);box-shadow:inset 0 0 0 1.5px var(--c-streak-line);animation:streakPulse 1.6s ease-in-out infinite}
@keyframes streakPulse{0%,100%{box-shadow:inset 0 0 0 1.5px var(--c-streak-line),0 0 0 0 color-mix(in srgb,var(--c-streak) 55%,transparent)}60%{box-shadow:inset 0 0 0 1.5px var(--c-streak-line),0 0 0 7px color-mix(in srgb,var(--c-streak) 0%,transparent)}}
@media (prefers-reduced-motion:reduce){.inn-pane .tag-streak{animation:none}}
.inn-pane .tag-inj{background:var(--c-injured);color:var(--c-on-injured)}
.inn-pane .tag-rm{background:var(--c-removed);color:var(--c-on-color)}
.inn-pane .tag-tap{background:var(--c-surface);color:var(--c-warn);box-shadow:inset 0 0 0 1.5px var(--c-warn-line)}
/* 110 step 6c: Scott's tray, Swap candidates, the undo toast */
.inn-pane .pos-row.sel,.inn-pane .bench-row.sel{background:var(--c-surface-3);box-shadow:inset 4px 0 0 var(--c-ink)}
.g-tray{display:flex;gap:6px;padding:6px 10px 12px;background:var(--c-surface-3)}
.g-tray .pill{flex:1 1 0;min-width:0;height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:4px 2px;border-radius:var(--r-lg);border:none;background:var(--c-surface);box-shadow:0 1px 2px var(--c-press),inset 0 0 0 1.5px var(--c-line-strong);font-size:var(--fs-caption);font-weight:var(--fw-bold);font-family:inherit;color:var(--c-text);cursor:pointer;white-space:nowrap}
.g-tray .pill .ico{width:22px;height:22px}
.g-tray.one .pill{height:var(--h-button);flex-direction:row;gap:8px;padding:0 16px;font-size:var(--fs-lg)}.g-tray.one .pill .ico{width:18px;height:18px} /* a single button: icon before the words on one line, as tall as the At bat card's buttons (Mallory 2026-11-23) */
.g-tray .pill.tog{background:var(--c-ink);color:var(--c-on-color);box-shadow:none} /* tog: Coach pick is on */
.sth{flex:none;display:flex;align-items:center;justify-content:flex-end;gap:9px;height:28px;padding:0} /* fixed above the scrolling rows, on the sheet's own background (Mallory 2026-11-21) */
.sth .c{width:34px;text-align:center;font-size:var(--fs-sm);font-weight:var(--fw-bold);letter-spacing:.06em}
.cand{display:flex;align-items:center;gap:8px;width:100%;min-height:56px;padding:4px 2px;border:none;border-bottom:1px solid var(--c-line);background:none;text-align:left;font-family:inherit;color:var(--c-text);cursor:pointer}
.cand-mid{flex:1;min-width:0;display:flex;flex-direction:column}
.cand-nm{font-size:var(--fs-xl);font-weight:var(--fw-bold)}
.cand-nm,#s3 .row-name{display:flex;align-items:center;min-width:0} /* the "#7" box centered on the name (Mallory 2026-11-24: everywhere; inline, "middle" sat it on the lowercase letters) */
.cand .warn{display:block;font-size:var(--fs-md);font-weight:var(--fw-semibold);color:var(--c-danger)}
.pfr{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}
.g-toast{position:fixed;left:12px;right:12px;bottom:calc(var(--bar-h) + var(--toast-gap));max-width:496px;margin:0 auto;z-index:400;display:flex;align-items:center;gap:6px;padding:10px 6px 14px 12px;border-radius:var(--r-tile);background:var(--c-ok);box-shadow:var(--shadow-card);color:var(--c-on-color);font-size:var(--fs-base);font-weight:var(--fw-semibold);line-height:1.2;overflow:hidden;animation:toastRise 180ms cubic-bezier(.23,1,.32,1)} /* solid green: white text reads 6.6:1 (was 50% frosted, about 2:1, Mallory 2026-11-21) */
.g-toast>.ico{width:24px;height:24px;stroke-width:3;flex:none}
.g-toast.err{background:color-mix(in srgb,var(--c-danger) 78%,transparent)}
.g-toast.toast-stay{padding:12px 14px}
.g-toast .tx{flex:1;min-width:0}
.g-toast .u{height:40px;padding:0 14px;border-radius:var(--r-pill);border:none;background:var(--c-on-color-wash);color:inherit;font-size:var(--fs-lg);font-weight:var(--fw-bold);font-family:inherit;flex:none;cursor:pointer}
.g-toast .x{width:40px;height:40px;border-radius:var(--r-round);border:none;background:transparent;color:inherit;display:flex;align-items:center;justify-content:center;padding:0;flex:none;cursor:pointer}
.g-toast .x .ico{width:20px;height:20px}
.g-toast .cd{position:absolute;left:0;bottom:0;height:4px;width:100%;background:var(--c-on-color-soft);transform-origin:left;animation:toastCount 6s linear forwards}
@keyframes toastCount{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@keyframes toastRise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* 110 step 6d: the out circles (in the yellow inning pill since 2026-11-20) and the ring on Next inning at two outs */
.inn-pill .od{width:auto;height:auto}
.inn-pill .od i{width:18px;height:18px;background:var(--c-surface);box-shadow:inset 0 0 0 2.5px var(--c-outs-line)}
.inn-pill .od.on i{background:var(--c-out);box-shadow:inset 0 0 0 2.5px var(--c-out-ring)}
.od{width:44px;height:44px;border:none;background:none;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer}
.od i{width:24px;height:24px;border-radius:var(--r-round);transform:none;background:var(--c-surface);box-shadow:inset 0 0 0 2.5px var(--c-outs-line);display:block}
.od:disabled{opacity:.85;cursor:default}
#g-next.ready{box-shadow:0 0 0 3px var(--c-brand)}
/* 110 step 6e: Scott's stepper field */
.rule-lbl{font-size:var(--fs-sm);font-weight:var(--fw-bold);color:var(--c-text-2);text-transform:uppercase;letter-spacing:var(--ls-caps);margin:10px 2px 6px}
.rule-note{font-size:var(--fs-sm);color:var(--c-text-2);margin:-6px 4px 10px}
.rule-seg .seg-btn{min-height:var(--h-seg)}
#s0.screen.on{padding-top:calc(54px + env(safe-area-inset-top))}
.step-field{display:flex;align-items:center;height:var(--h-field);border-radius:var(--r-lg);background:var(--c-surface);box-shadow:inset 0 0 0 1.5px var(--c-line-strong);overflow:hidden;margin-bottom:12px}
.step-field .bump{width:52px;height:100%;border:none;background:transparent;display:flex;align-items:center;justify-content:center;color:var(--c-text);cursor:pointer;padding:0}
.step-field .num{flex:1;text-align:center;font-size:var(--fs-2xl);font-weight:var(--fw-bold)}
/* 110 step 6e: Players batting and Scott's Batting order */
#s4.screen.on{padding-top:calc(54px + env(safe-area-inset-top))}
.page-intro .ci-st{font-weight:inherit}.page-intro .ci-st.ok{color:inherit} /* 110: plain, like Scott's "11 of 11 here." */
.bat-card{display:flex;align-items:center;gap:10px;background:var(--c-surface);border-radius:var(--r-lg);box-shadow:var(--shadow-card);padding:12px 14px;margin-bottom:6px}
.bat-txt{flex:1;min-width:0}.bat-txt b{display:block;font-size:var(--fs-2xl);letter-spacing:var(--ls-head)}.bat-txt span{font-size:var(--fs-sm);color:var(--c-text-2)}
.bat-card .add-pill{height:40px;margin:0}
.hintline{font-size:var(--fs-sm);color:var(--c-text-2);padding:2px 6px 6px}
.copyb{background:var(--c-surface-4);display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:2px}
.copyb+.page-note{margin-top:8px} /* Mallory 2026-11-20: the note sat on the button (page-note's -4px) */
.brow{position:relative;display:flex;align-items:center;gap:8px;min-height:50px;padding:7px 58px 7px 14px;border-top:1px solid var(--c-line);background:var(--c-surface)}
.bat-zone>.brow:first-child{border-top:none}.brow .grip{right:17px;width:25px;justify-content:flex-end}.brow .grip .ico{flex:none} /* the setup Batting order: the same 25px tap area as the batting screen, the icon plus 1px, ending at its right edge (Mallory 2026-11-24), so a thumb on the screen edge doesn't start a drag */
.bat-zone[data-zone="bench"] .brow{background:var(--c-bench-row)}
/* While dragging, the gap opening in the bench is the bench rows' color, not white (Mallory, 2026-11-19). */
body.reordering .bat-zone[data-zone="bench"],body.reordering #bat-pane .g-card[data-zone="bench"]{background:var(--c-bench-row)}
.ordn{width:28px;height:28px;border-radius:var(--r-round);background:var(--c-surface-3);display:flex;align-items:center;justify-content:center;font-size:var(--fs-md);font-weight:var(--fw-bold);flex:none}
.bnm{font-size:var(--fs-xl);font-weight:var(--fw-bold);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bjn{width:42px;flex:none}
.grip{position:absolute;right:0;top:0;bottom:0;width:58px;display:flex;align-items:center;justify-content:center;color:var(--c-text-2);touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}
.grip .ico{width:24px;height:24px}
.brow.dragging,.bat-row.dragging{opacity:0} /* its place moves to the gap (reorderGap) */
body.reordering .brow,body.reordering .bat-row{transition:transform .16s ease}
body.reordering .bat-zone,body.reordering #bat-pane .g-card{transition:padding-bottom .16s ease}
.bghost,.bat-row.bghost{position:fixed;z-index:500;border-radius:var(--r-lg);box-shadow:var(--shadow-card);pointer-events:none;transform:scale(1.02)}
.emptyz{margin:8px;padding:18px;border-radius:var(--r-lg);/* the card's 26px corner less the 8px inset: the dashed line runs evenly all the way round (2026-11-20) */border:2px dashed var(--c-jersey-line);text-align:center;color:var(--c-text-2);font-weight:var(--fw-semibold);font-size:var(--fs-base)}
/* 110 step 6f: Scott's halves: the peek button, the Bat side */
/* Batting Order / Fielders: a tile like Tools, left of the main button (Mallory 2026-11-20) */
.anchor .btn.tl.b-peek{width:auto;padding:0 8px;white-space:nowrap}
.g-anchor .b-primary{white-space:nowrap;padding:0 18px;height:54px} /* 2px under the Tools and View Batting tiles, on the same centerline (the bar centers them; Mallory 2026-11-26, was 56 to match, 2026-11-20) */
@media (max-width:389px){.g-anchor{gap:6px}.g-anchor .b-primary{flex:1 1 0;min-width:0;padding:0 8px;gap:6px;white-space:normal;line-height:1.1;text-align:center}} /* narrow phones (375pt): the main button fills what's left, so the bar ends at its 18px edge, in line with the At bat card; Start and Next labels stay on one line, only a long "Return to …" wraps inside it (Mallory 2026-11-22) */
#g-next.ret{animation:peekPulse 1.3s ease-in-out infinite} /* Return to Batting / Fielding (Mallory 2026-11-21) */
#g-peek[hidden]{display:none}
@keyframes peekPulse{0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--c-brand) 0%,transparent)}50%{box-shadow:0 0 0 6px color-mix(in srgb,var(--c-brand) 75%,transparent)}}
@media (prefers-reduced-motion:reduce){#g-next.ret{animation:none;box-shadow:0 0 0 3px var(--c-brand)}}
#bat-pane{display:none;padding-bottom:calc(76px + var(--up-dock-h,0px))}
#s-game.bat-side #inn-panes{display:none}#s-game.bat-side #bat-pane{display:block}
#s-game.peek:not(.peek-edit) #inn-panes .inn-pane.on{pointer-events:none} /* our fielding still to come: it can be changed (Mallory 2026-11-22) */
#bat-pane .gh{font-size:var(--fs-sm);font-weight:var(--fw-bold);letter-spacing:var(--ls-caps);text-transform:uppercase;color:var(--c-text-2);padding:10px 20px 6px}
/* The At bat card sits fixed right above the bottom bar and doesn't scroll (Mallory 2026-11-22); its edges line up
   with the bar's buttons (18px). The list underneath gets room for it (--up-dock-h, measured by upCardSpace),
   and the bar's fade reaches up behind it. */
.up-dock{display:none;position:fixed;left:0;right:0;bottom:var(--bar-h);max-width:520px;margin:0 auto;z-index:21;padding:0 18px 2px;box-sizing:border-box}
#s-game.bat-side .up-dock{display:block}.up-dock .upcard{margin:0;box-shadow:inset 0 0 0 2px var(--c-ink),var(--shadow-card)} /* a dark outline, inside the edge so it stays lined up with the bar (Mallory 2026-11-22) */
html:has(#s-game.bat-side .up-dock .upcard) .g-anchor::before{top:calc(-24px - var(--up-dock-h,0px));background:linear-gradient(to bottom,transparent 0,var(--c-page) 16px,var(--c-page) 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,var(--c-ink) 16px);mask-image:linear-gradient(to bottom,transparent 0,var(--c-ink) 16px)} /* the list's scroll area ends just above the At bat card with a brief fade (16px, done 8px above the card's top edge), then solid page color down to the screen's bottom, so no rows show behind the card or the bar (Mallory 2026-11-23) */
html:has(#s-game.on.bat-side .up-dock .upcard) .g-toast{bottom:calc(var(--bar-h) + var(--up-dock-h,0px) + var(--toast-gap))}
/* A sheet whose list scrolls between a fixed heading and footer (Mallory 2026-11-21): .split on the panel,
   the list in .sheet-list; both ends sit on the sheet's own background. */
.sheet-panel.split{display:flex;flex-direction:column;overflow:hidden}.sheet-panel.split>.sh-head,.sheet-panel.split>.sh-foot{flex:none}
.sheet-list{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;margin:0 calc(-1 * var(--sheet-pad-x));padding:0 var(--sheet-pad-x);border-top:1px solid var(--c-line);border-bottom:1px solid var(--c-line)}
.sheet-list .cand{margin:0 calc(-1 * var(--sheet-pad-x));padding-left:var(--sheet-pad-x);padding-right:var(--sheet-pad-x);width:calc(100% + 2 * var(--sheet-pad-x))} /* rows run edge to edge */
.lost-cand.sel{background:var(--c-row-picked);box-shadow:inset 4px 0 0 var(--c-primary)} /* the whole row, a bar at its left like the batter up */.glass .lost-cand.sel .ordn{background:var(--c-primary);color:var(--c-on-color)} /* the picked number in navy, like the bar and the check (Mallory 2026-11-22) */.lost-ok{flex:none;display:flex;color:var(--c-primary);visibility:hidden}.lost-cand.sel .lost-ok{visibility:visible}.lost-cand .cand-mid{flex:1;min-width:0}
#bat-pane .g-tray,#bat-pane .bat-row{scroll-margin-top:calc(66px + env(safe-area-inset-top));scroll-margin-bottom:calc(var(--bar-h) + var(--up-dock-h,0px) + var(--toast-gap) + 72px)} /* scrolled into view below the pinned card, above the bottom bar and any toast (64px tall) */
#inn-panes .g-tray{scroll-margin-top:calc(66px + env(safe-area-inset-top));scroll-margin-bottom:calc(var(--bar-h) + var(--toast-gap))} /* a fielder's tray scrolled into view stops above the bottom bar, not under it (simulator QA, Mallory 2026-11-23) */
.upcard{display:flex;align-items:center;gap:10px;padding:8px 14px;min-height:calc(var(--h-button) + 16px);box-sizing:border-box;background:var(--c-surface);border-radius:var(--r-tile);box-shadow:var(--shadow-card);margin:2px 14px 8px}
.up-txt{flex:1;min-width:0}.up-txt .l{font-size:var(--fs-caption);font-weight:var(--fw-bold);letter-spacing:var(--ls-caps);text-transform:uppercase;color:var(--c-text-2)}.up-txt b{font-size:var(--fs-2xl);min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.up-nm{display:flex;align-items:center;gap:8px;min-width:0;margin-top:2px}
.upcard .btn{flex:none;margin:0;width:auto;display:flex;align-items:center;gap:8px;padding:0 16px;height:var(--h-button)}
.lastbat{display:flex;align-items:center;gap:8px;width:100%;height:var(--h-button);box-sizing:border-box;margin:14px 0 4px;padding:0 10px 0 14px;border:none;border-radius:var(--r-lg);background:var(--c-surface);box-shadow:var(--shadow-card);color:var(--c-text);font:inherit;text-align:left;cursor:pointer} /* End batting: Last batter, tappable; the same height and corners as the button under it (Mallory 2026-11-22) */
.lastbat:active{background:var(--c-surface-2)}
.lastbat .lb-l{font-size:var(--fs-sm);color:var(--c-text-2);margin-right:2px}
.lastbat .lb-nm{flex:1;min-width:0;font-size:var(--fs-lg);line-height:1;font-weight:var(--fw-bold);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lastbat .ico{flex:none;width:20px;height:20px;color:var(--c-text-2)}
.up-nm .up-pfr{margin:0 0 0 auto;flex:none;flex-wrap:nowrap;justify-content:flex-end} /* the batter's preferences, right-aligned (Mallory 2026-11-22) */
.up-nm.pills-below{flex-wrap:wrap;row-gap:4px}.up-nm.pills-below .up-pfr{flex-basis:100%;margin-left:0;justify-content:flex-start;flex-wrap:wrap;box-sizing:border-box}
.upcard.has-acts{flex-wrap:wrap;row-gap:8px;padding-bottom:10px} /* At bat card, second row: Add Note · Pinch Hit (Mallory 2026-11-22) */
.up-acts{flex-basis:100%;display:flex;gap:8px} /* right edge with Next batter's (Mallory 2026-11-22) */
.upcard .up-acts .btn{flex:1 1 0;min-width:0;justify-content:center;padding:0 10px;white-space:nowrap;background:var(--c-surface-4);color:var(--c-text)} /* stands out on the white card */
.upcard .up-acts .btn.b-primary{background:var(--c-primary);color:var(--c-on-color)}
.up-acts .btn:not(.b-primary) .ico{width:18px;height:18px}
.up-acts.tiles .btn{height:auto;min-height:56px;flex-direction:column;gap:2px;padding:6px 4px;font-size:var(--fs-sm);border-radius:var(--r-tile)} /* three tiles (Mallory 2026-11-22) */
.up-acts.tiles .btn .ico{width:22px;height:22px}
.up-acts.tiles.inline .btn{flex-direction:row;height:var(--h-button);min-height:0;gap:8px;padding:0 12px;font-size:var(--fs-lg);border-radius:var(--r-lg);white-space:nowrap;overflow:hidden} /* room for icon and word on one line (Mallory 2026-11-22) */
.up-acts.tiles.inline .btn:not(.b-primary) .ico{width:18px;height:18px}
.up-acts.tiles.inline .btn.b-primary .ico{order:2;width:20px;height:20px} /* Next batter: the chevron after the words, as on the two-button row */
#bat-pane .hintline{padding:2px 20px 6px}
.bat-row{position:relative;display:flex;align-items:center;gap:8px;min-height:50px;padding:7px 14px;border-top:1px solid var(--c-line);background:var(--c-surface);cursor:pointer}
.g-card>.bat-row:first-child{border-top:none}
.bat-row.has-grip{padding-right:58px}.bat-row.has-grip .grip{right:17px;width:25px;justify-content:flex-end}.bat-row.has-grip .grip .ico{flex:none}/* tap area: 25px, the icon plus 1px to its left (Mallory 2026-11-22), ending at the icon's right edge, so a thumb on the screen edge doesn't start a drag; the icon stays in the same spot */
.bat-row.benchrow{background:var(--c-bench-row)}
.bat-row.cur{min-height:64px;box-shadow:inset 4px 0 0 var(--c-ink)}
.bat-row.cur .bnm{font-size:var(--fs-3xl);letter-spacing:var(--ls-head)}.bat-row.cur .ordn{width:34px;height:34px;font-size:var(--fs-xl)}
.bat-row.sel{background:var(--c-surface-3)}.bat-row.sel:not(.batted) .ordn:not(.up){background:var(--c-surface-2);box-shadow:inset 0 0 0 1.5px var(--c-line-strong)} /* an open row is the circle's own color: the number box's fill and outline, so it still shows (Mallory 2026-11-23) */
/* Mallory 2026-11-20: 20px less space before the number. The "up" triangle no longer takes a column of its own;
   it sits in the row's left padding (next to the up row's dark edge). */
.bat-row{padding-left:18px}
.bat-row .chev{position:absolute;left:4px;top:0;bottom:0;width:13px;display:flex;align-items:center;justify-content:center;color:var(--c-ink)}
.bat-row .chev:empty{display:none}
.bat-row .chev .ico{width:12px;height:12px;fill:currentColor}
.ordn.up{background:var(--c-brand);color:var(--c-on-brand)}
.btags{display:flex;gap:5px;flex-wrap:wrap}.bat-row>.btags:empty{display:none} /* no pills: no row gap after Up either, so Up's right edge lines up with the at-bat pills (Mallory 2026-11-23) */
#bat-pane .bnm{flex:1;min-width:0}
#bat-pane .bat-row.pills-below{flex-wrap:wrap;row-gap:4px}#bat-pane .bat-row.pills-below .btags{order:9;flex-basis:100%} /* pills on their own line (Mallory 2026-11-21) */ /* 110: Scott's Bat side: the number and Up on the right */
.tg-up,.tg-ph{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:var(--r-pill);font-size:var(--fs-sm);font-weight:var(--fw-bold);white-space:nowrap}
.tg-up{background:var(--c-brand);color:var(--c-on-brand)}.bat-row>.tg-up{flex:none}.bat-row>.tg-up+.btags:not(:empty){margin-left:5px}.bat-row.pills-below>.tg-up+.btags{margin-left:0} /* the Up pill sits beside the row's other pills, as one group */
.inote{display:flex;align-items:flex-start;gap:8px;padding:8px 0;border-top:1px solid var(--c-line);font-size:var(--fs-md)}
.inote .tg-note{flex:none;display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:var(--r-pill);font-size:var(--fs-sm);font-weight:var(--fw-bold);white-space:nowrap;background:var(--c-notes-pill-fill);color:var(--c-notes-pill-text);box-shadow:inset 0 0 0 1.5px var(--c-notes-pill-line)}
.inote-txt{flex:1;min-width:0;color:var(--c-text);font-weight:var(--fw-semibold);white-space:pre-wrap;word-break:break-word} /* Scott's "Coach notes by inning" rows */
/* Scott's Season Stats row: a chevron, open shows the last 3 coach notes and All notes */
/* Season Stats: "N Notes" pill + chevron after the name; wraps under it when it doesn't fit (Mallory 2026-11-22) */
.sum-table .sum-pl{flex-wrap:wrap;row-gap:4px}
/* Season Stats' innings table (Mallory 2026-11-24): the Notes pill on its own line; fixed columns once measured
   (fitSeasonColumns): the player column its content's width, the numbers sharing the rest; a long name ends in "…" */
.ss-fit .sum-pl{flex-direction:column;align-items:flex-start;gap:4px}
.ss-fit.ss-fixed{table-layout:fixed;width:100%}
.ss-fit.ss-fixed td:not(:first-child){width:auto}
.ss-fit.ss-fixed td:first-child{overflow:hidden}
.ss-fit.ss-fixed .sum-pl,.ss-fit.ss-fixed .sum-pl-who{max-width:100%}
.ss-fit.ss-fixed .sum-pl-nm{overflow:hidden;text-overflow:ellipsis}
.ss-fit.ss-wrap .sum-pl-nm{white-space:normal;overflow-wrap:anywhere;text-overflow:clip} /* past a 30% cut: wrap, don't cut more */
.ss-fit.ss-wrap .sum-pl-who{align-items:flex-start}
.sum-pl-ex{white-space:normal;line-height:1.3;font-weight:var(--fw-regular)}
.sum-table tr.has-ex td{border-bottom:0;padding-bottom:3px}.late-ln{font-size:var(--fs-xs);color:var(--c-warn);font-weight:var(--fw-bold)}.sum-table tr.ex td{padding-top:0;text-align:left} /* a player's lines on their own row under theirs, across the card (2026-11-24) */ /* the lines under a name (Injured inn 3, Mandatory play), wrapping */
.ss-fit tr.ss-alt td{background:var(--c-row-alt)} /* alternating rows (Mallory 2026-11-24); an open row keeps it too */
.sum-table.ss-fit th:first-child,.sum-table.ss-fit td:first-child{padding-left:8px}.sum-table.ss-fit th:last-child,.sum-table.ss-fit td:last-child{padding-right:8px} /* the stripe doesn't touch the names or numbers */.sum-pl-who{display:flex;align-items:center;gap:6px;min-width:0;flex:0 1 auto} /* the "#7" box centered on the name, everywhere (Mallory 2026-11-24) */.sum-pl-who .jn-chip.sm{margin:0;vertical-align:baseline}
.ps-nw{white-space:nowrap}.sum-table .sum-pl-nm{white-space:nowrap} /* names are short (first name + initial): never break them; Safari broke "Aiden / B." */.ps-go{display:inline-flex;vertical-align:-3px;margin-left:2px;color:var(--c-text-2)}.ps-go .ico{width:16px;height:16px} /* Season Stats: a row without notes opens the season page */
.xnb{display:inline-flex;flex:none;padding:0;margin:0;border:none;background:none;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.xnb-p{display:inline-flex;align-items:center;gap:1px;height:22px;padding:0 5px 0 9px;border-radius:var(--r-pill);background:var(--c-notes-pill-fill);color:var(--c-notes-pill-text);box-shadow:inset 0 0 0 1.5px var(--c-notes-pill-line);font-size:var(--fs-sm);font-weight:var(--fw-bold);white-space:nowrap} /* "24 Notes ›": the chevron inside (Mallory 2026-11-22) */
.xnb-p .ico{width:14px;height:14px}.xnb-p .ico-next{transition:transform .15s}
.xnb-p .ico-notes,.note-pill .ico-notes{width:14px;height:14px;transition:none;transform:none;margin-right:3px;flex:none} /* the notes clipboard (Mallory 2026-11-24, option 4) */
.xnb-p{padding-left:7px}.note-pill{display:inline-flex;align-items:center}
.sum-table tr.xr.open .xnb-p .ico-next{transform:rotate(90deg)} /* only the chevron turns (the notes clipboard stays upright) *//* an open row keeps its own background, white or striped (Mallory 2026-11-24) */
@media (prefers-reduced-motion:reduce){.xnb-p .ico-next{transition:none}}
.sum-hint{font-size:var(--fs-caption);color:var(--c-text-2);margin:-2px 0 6px}
.sum-table tr.xd td{padding:0;border-top:0;text-align:left} /* the open row's own background (white or .ss-alt), not grey */
.xn{padding:2px 12px 12px}.xh{font-size:var(--fs-xs);font-weight:var(--fw-bold);letter-spacing:var(--ls-caps);text-transform:uppercase;color:var(--c-text-2);padding:4px 0 2px}
.xnr{display:flex;gap:10px;align-items:center;padding:6px 0}
.xi{width:32px;height:32px;border-radius:var(--r-round);display:flex;align-items:center;justify-content:center;flex:none}.xi .ico{width:18px;height:18px}
.xi.g{background:var(--c-thumb-up);color:var(--c-on-thumb-up)}.xi.n{background:var(--c-thumb-down-soft);color:var(--c-thumb-down);border:var(--thumb-down-border)} /* note thumbs: thumbCircle() */
.xt b{font-size:var(--fs-base);display:block;line-height:1.2;font-weight:var(--fw-bold)}.xt small{font-size:var(--fs-sm);color:var(--c-text-2);font-weight:var(--fw-semibold)}
/* Scott's update: Team look card and Recently removed */
.tlook-card{background:var(--c-surface);border-radius:var(--r-card);box-shadow:var(--shadow-card);padding:14px;margin-bottom:12px}
.tlook{display:flex;gap:14px;align-items:center}.tl-right{flex:1;min-width:0}
.tprev{width:72px;height:72px;border-radius:var(--r-xl);display:flex;align-items:center;justify-content:center;flex:none}
.tprev .tc-patch{width:54px;height:54px;overflow:hidden}.tc-patch img{width:100%;height:100%;object-fit:cover;border-radius:var(--r-round);display:block}
.tl-mini{font-size:var(--fs-sm);font-weight:var(--fw-bold);letter-spacing:var(--ls-caps);text-transform:uppercase;color:var(--c-text-2)}
.tsw{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.tswb{width:38px;height:38px;border-radius:var(--r-round);border:0;display:flex;align-items:center;justify-content:center;color:var(--c-on-color);box-shadow:0 0 0 1px var(--c-press);cursor:pointer;padding:0}.tswb .ico{width:20px;height:20px}
.tswb.on{box-shadow:0 0 0 3px var(--c-page),0 0 0 5px var(--c-ink)}
.tl-abbr{margin-top:4px;text-transform:uppercase}
.tl-photo+.page-note{margin:8px 0 8px} /* Mallory 2026-11-20: room under the photo buttons, lined up with them */
.tl-photo{display:flex;gap:8px;padding-top:6px}.tl-photo .btn{margin:0;flex:1;width:auto;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:8px;height:var(--h-button);cursor:pointer}.tl-photo .btn+.btn{flex:none;padding:0 16px}
.arch-row{display:flex;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid var(--c-line)}.arch-row:first-child{border-top:none}
.arch-nm{flex:1;min-width:0;font-size:var(--fs-xl);font-weight:var(--fw-bold);color:var(--c-text-2)}
.arch-row .add-pill{margin-top:0}.arch-row .rr-jn{margin:0}
.tool-row.danger b,.tool-row.danger .ico{color:var(--c-danger)}
.pref-rm{margin-top:10px;border-bottom:none}
.tg-batted{display:inline-flex;align-items:center;gap:3px;height:22px;padding:0 9px;border-radius:var(--r-pill);font-size:var(--fs-sm);font-weight:var(--fw-bold);white-space:nowrap;background:var(--c-ok-soft);color:var(--c-ok);box-shadow:inset 0 0 0 1.5px var(--c-ok-line)}.tg-batted .ico{width:14px;height:14px}
.tg-nextc{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:var(--r-pill);font-size:var(--fs-sm);font-weight:var(--fw-bold);white-space:nowrap;background:var(--c-infield);color:var(--c-on-color)} /* Plays C Next: the catcher badge's blue (Mallory 2026-11-22) */
.tg-ab{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:var(--r-pill);font-size:var(--fs-sm);font-weight:var(--fw-bold);white-space:nowrap;background:var(--c-surface-4);color:var(--c-text)}.tg-ab .ico{width:16px;height:16px;margin:0 3px 0 -3px} /* at bats this game (Mallory 2026-11-22): stands out on white and green rows */
.tg-ab.ab-if{background:var(--c-infield-soft);color:var(--c-infield-text);box-shadow:inset 0 0 0 1.5px var(--c-infield-line)}.tg-ab.ab-of{background:var(--c-outfield-soft);color:var(--c-outfield-text);box-shadow:inset 0 0 0 1.5px var(--c-outfield-line)} /* blue and red in turn, starting blue: the IF / OF count pills' colors and outline (Mallory 2026-11-22) */
.bat-row.past{cursor:default}.bat-row.past .btags{margin-left:auto}
.bat-row.batted{background:var(--c-ok-soft)} /* batted in that inning, or already this inning (Mallory 2026-11-20) */
.bat-row.batted+.tray-slide .g-tray{background:var(--c-ok-soft)} /* a batted row's tray is its own green, not beige (simulator QA, Mallory 2026-11-23) */
.bat-row.batted .ordn{background:var(--c-surface);color:var(--c-ok);box-shadow:inset 0 0 0 1.5px var(--c-ok-line)} /* the number on the green */
.tg-ph{background:var(--c-surface-3);color:var(--c-text-2);box-shadow:inset 0 0 0 1.5px var(--c-jersey-line)}
#bat-pane .btags .note-pill{display:inline-flex;align-items:center;height:22px;padding:0 9px;font-size:var(--fs-sm);line-height:1;border:none;box-shadow:inset 0 0 0 1.5px var(--c-notes-pill-line)} /* the same size as the row's other pills (Mallory 2026-11-23) */
/* 110 step 6g: Scott's Field view */
.f-leg{position:sticky;top:calc(54px + env(safe-area-inset-top));z-index:4;display:flex;align-items:center;gap:6px;height:30px;padding:0 18px;background:var(--c-page);font-size:var(--fs-sm);font-weight:var(--fw-semibold);color:var(--c-text-2)}
.strip-open .f-leg{top:calc(96px + env(safe-area-inset-top))}
.f-leg .cp{height:22px;font-size:var(--fs-sm);padding:0 8px}
.f-nif-l{display:flex;align-items:center;gap:4px;margin-left:4px}
.fld{position:relative;height:max(300px,calc(100dvh - 290px));max-height:470px;background:var(--c-field-grass-0)}
.fld svg.fl{position:absolute;inset:0;width:100%;height:100%}
.fc{position:absolute;min-height:36px;white-space:nowrap;border-radius:var(--r-tile);border:none;background:var(--c-surface);box-shadow:var(--shadow-card);padding:6px 10px 6px 6px;gap:4px;text-align:left;display:flex;flex-direction:column;align-items:stretch;justify-content:center;width:max-content;font-family:inherit;color:var(--c-text);cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none} /* one line: position, #n, name, as wide as the name (Mallory 2026-11-20); layoutField places it */
.fc.needif,.bch.needif{background:var(--c-needs-if-soft);box-shadow:inset 0 0 0 2px var(--c-warn-line),var(--shadow-card)} /* any player concern (2026-11-25); the ring inside, so it shows the edge on the cream bench too */
.fc.coach{background:var(--c-coach-pick-soft);box-shadow:inset 0 0 0 3px var(--c-coach-pick),var(--shadow-card)}
.fc.sel,.bch.sel{box-shadow:0 0 0 3px var(--c-ink),var(--shadow-card)}
.fc.needif.sel,.bch.needif.sel{box-shadow:inset 0 0 0 2px var(--c-warn-line),0 0 0 3px var(--c-ink),var(--shadow-card)} /* a concern card, tapped */
.fc .n,.bch .n{font-size:var(--fs-lg);font-weight:var(--fw-bold);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;padding-bottom:1px}
.fc,.bch{max-width:165px} /* longer names are cut short (Mallory 2026-11-20) */
/* Line 2 (Mallory 2026-11-20): Needs IF and the IF / OF / BN counts (the bench streak too), centered; none: one line */
.fc .l1,.bch .l1{display:flex;align-items:center;gap:5px;min-width:0} /* line 1: badge, #n, name */
.fc .l2,.bch .l2{align-self:center;display:flex;align-items:center;gap:3px}
.fc .l2:empty,.bch .l2:empty{display:none}
.l2 .cps{gap:3px}.l2 .cp.s{height:20px;min-width:22px;font-size:var(--fs-sm);padding:0 5px}
.fc .jn-chip.sm,.bch .jn-chip.sm{margin-right:0;vertical-align:0}
.pos-badge.pc-xs{width:24px;height:22px;border-radius:var(--r-sm);font-size:var(--fs-sm);font-weight:var(--fw-bold);flex:none}
.cps{display:flex;gap:2px}
.cp.s{height:28px;min-width:26px;padding:0 4px;font-size:var(--fs-base)}
.nif{position:absolute;top:-9px;right:8px;width:24px;height:24px;border-radius:var(--r-round);background:var(--c-needs-if);color:var(--c-on-needs-if);display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px var(--c-surface);z-index:2}
.nif .ico{width:14px;height:14px;fill:currentColor}
.nif.s{position:static;width:20px;height:20px;box-shadow:none;flex:none}
.f-det{display:flow-root} /* margins stay inside, so the slide's overflow:hidden doesn't shift the content */
.f-det .det{margin:8px 14px 0} /* the player's table-view row in its card, the tray under it (Mallory 2026-11-22) */
.f-tray{margin:0 14px;border-radius:0 0 var(--r-tile) var(--r-tile)}
.f-gh{display:flex;justify-content:space-between;align-items:baseline}.f-gh small{font-size:var(--fs-caption);font-weight:var(--fw-semibold);letter-spacing:0;text-transform:none}
.bgrid{display:flex;flex-wrap:wrap;gap:8px;padding:0 14px} /* bench cards: one line like the field cards (Mallory 2026-11-20) */
.bch{min-height:36px;white-space:nowrap;border:none;border-radius:var(--r-tile);background:var(--c-surface);box-shadow:var(--shadow-card);padding:6px 10px 6px 6px;gap:4px;text-align:left;display:flex;flex-direction:column;align-items:stretch;justify-content:center;width:max-content;min-width:0;font-family:inherit;color:var(--c-text);cursor:pointer;touch-action:pan-x;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.f-str{height:22px!important;padding:0 6px!important}
.src{opacity:0} /* its spot shows where the swapped card will go */
body.reordering .fc,body.reordering .bch{transition:transform 420ms cubic-bezier(.32,.72,0,1)} /* the displaced player glides over (was 160ms); fdSlideMs sets the time by distance (Mallory 2026-11-20) */
.dt{box-shadow:0 0 0 3px var(--c-ink),var(--shadow-card)!important;transform:scale(1.03)}
.f-ghost{position:fixed!important;z-index:500;pointer-events:none;transform:scale(1.02)}
.dlabel{position:fixed;z-index:510;pointer-events:none;background:var(--c-ink);color:var(--c-on-color);font-size:var(--fs-sm);font-weight:var(--fw-bold);padding:5px 10px;border-radius:var(--r-pill);white-space:nowrap}
.dlabel.w{background:var(--c-danger)}
/* 110: every sheet's rows and section labels in Scott's candidate style */
.js-backdrop .sec-hdr{background:none!important;border:none!important;margin:0!important;padding:10px 6px 6px!important;font-size:var(--fs-sm);font-weight:var(--fw-bold);letter-spacing:var(--ls-caps);color:var(--c-text-2)}
.js-backdrop .p-opt{margin:0 calc(-1 * var(--sheet-pad-x));padding:4px var(--sheet-pad-x);min-height:56px;gap:8px;background:none;border-top:none;border-bottom:1px solid var(--c-line)} /* edge to edge, like I lost track! (Mallory 2026-11-21) */
.js-backdrop :not(.p-opt)+.p-opt{border-top:none}
.js-backdrop .p-opt .pos-badge{width:40px;height:28px;border-radius:var(--r-badge);font-size:var(--fs-md);font-weight:var(--fw-bold)}
.js-backdrop .p-opt-name{font-size:var(--fs-xl);font-weight:var(--fw-bold)}
.js-backdrop .p-opt:active{background:var(--c-row-picked)} /* pressed: the whole row */
.js-backdrop .p-opt.cur,.js-backdrop .p-opt.picked{background:var(--c-row-picked);box-shadow:inset 4px 0 0 var(--c-primary);border-radius:0} /* current / picked: whole row with the bar, like I lost track! */
.js-backdrop .ms{font-size:var(--fs-md);color:var(--c-text-2);line-height:1.4}
/* 110: Scott's Season totals */
#s-history.screen.on,#s-history-detail.screen.on,#s-player-season.screen.on{padding-top:calc(54px + env(safe-area-inset-top))}
#s-history .season-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0;background:none;border:none;margin-bottom:10px}
#s-history .stat-box{background:var(--c-surface);border-radius:var(--r-card);box-shadow:var(--shadow-card);padding:10px 12px;text-align:left}
#s-history .stat-v{font-size:var(--fs-4xl);line-height:1.1;color:var(--c-text);letter-spacing:var(--ls-big)}
#s-history .stat-l{font-size:var(--fs-caption);font-weight:var(--fw-bold);text-transform:uppercase;letter-spacing:var(--ls-caps);color:var(--c-text-2);margin-top:2px}
#s-history .sum-card{margin:0 0 10px}
.hrow{display:flex;align-items:center;gap:10px;width:100%;border:none;border-top:1px solid var(--c-line);background:none;text-align:left;padding:10px 14px;min-height:64px;font-family:inherit;color:var(--c-text);cursor:pointer}
.list-card>.hrow:first-child{border-top:none}
.hb{width:34px;height:34px;border-radius:var(--r-badge);display:flex;align-items:center;justify-content:center;font-weight:var(--fw-bold);font-size:var(--fs-base);flex:none;color:var(--c-on-color)}
.hb.w{background:var(--c-win)}.hb.l{background:var(--c-loss)}.hb.t{background:var(--c-bench)}
.hmid{flex:1;min-width:0;display:flex;flex-direction:column}
.hi{font-size:var(--fs-lg);font-weight:var(--fw-bold)}.hd{font-size:var(--fs-sm);color:var(--c-text-2);font-weight:var(--fw-semibold)}
.h-tag{display:inline-flex;align-self:flex-start;align-items:center;height:22px;padding:0 9px;border-radius:var(--r-pill);font-size:var(--fs-sm);font-weight:var(--fw-bold);margin-top:4px}
.hrow>.ico{width:20px;height:20px;color:var(--c-text-2)}
/* 110: Scott's Innings per player */
.sum-foot{font-size:var(--fs-sm);color:var(--c-text-2);margin-top:8px;line-height:1.35}
/* 110: Scott's saved game page */
.score-card{display:flex;align-items:center;gap:10px}
.score-card>div{flex:1;min-width:0}
.score-big{font-size:var(--fs-3xl);font-weight:var(--fw-bold);color:var(--c-text);letter-spacing:var(--ls-head)}.score-big span{font-size:var(--fs-md)}
.score-inn{font-size:var(--fs-sm);color:var(--c-text-2);font-weight:var(--fw-semibold)}
.score-none{font-size:var(--fs-md);color:var(--c-text-2)}
.score-pill{flex:none;height:40px;margin:0;padding:0 14px}
.home-empty{padding:26px 16px;text-align:center;font-size:var(--fs-md);color:var(--c-text-2);line-height:1.45}
.demo-card{background:var(--c-surface);border-radius:var(--r-xl);box-shadow:var(--shadow-card);padding:14px 16px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.demo-card b{display:block;font-size:var(--fs-xl);color:var(--c-text);margin-bottom:2px}
.demo-card span{font-size:var(--fs-md);color:var(--c-text-2)}
/* Home banners: every Home banner goes inside #home-banners (the first fix covered one spot, and later
   banners missed it; Mallory 2026-11-13). Since 110 step 3 (Scott's prototype) a banner is his green
   "Game in progress" card, in the page's side margins, 6px under the top bar like his first card. */
#home-banners:has(.resume-banner){padding:6px 14px 0}
/* The same banner on other screens (Mallory, 2026-11-14): one spot right under the header; a card in the
   page margins since 110. */
.screen-banners:has(.resume-banner){margin:0 16px}
.resume-banner{background:var(--c-ok);color:var(--c-on-color);border-radius:var(--r-card);padding:14px;margin:0 0 12px;display:flex;flex-wrap:wrap;align-items:center;gap:10px} /* Scott's card; our banners have two buttons, so they go on a row under the text */
.resume-banner .rb-txt{flex:1 1 100%}
.rb-txt{font-size:var(--fs-xl);font-weight:var(--fw-bold);line-height:1.2;flex:1;min-width:0}
.rb-yes{background:var(--c-surface);color:var(--c-ok);border:none;border-radius:var(--r-lg);padding:0 16px;height:var(--h-button);font-size:var(--fs-lg);font-weight:var(--fw-bold);cursor:pointer;font-family:inherit;flex:none}
.rb-txt b{display:block;font-size:var(--fs-xl);font-weight:var(--fw-bold)}.rb-txt small{display:block;font-size:var(--fs-md);font-weight:var(--fw-regular);opacity:.95;margin-top:2px}
.resume-banner.rb-set{background:var(--c-ink)}.resume-banner.rb-set .rb-yes{color:var(--c-ink)} /* Scott's .rescard.set */
.rb-no{background:var(--c-on-color-wash);color:var(--c-on-color);border:none;border-radius:var(--r-lg);padding:0 14px;height:var(--h-button);font-size:var(--fs-lg);font-weight:var(--fw-bold);cursor:pointer;font-family:inherit;flex:none}

#fc-loaded-layout{} /* last line: this file arrived whole (log 116; checked in gameday_app.html) */
