/* =====================================================================================================================
   THE PLAYERS' SIDE, v2.0.0 (v2-foundation, 2026-10-18): the house system Logan designed in the mockups
   (docs/mockups/2026-10-16-players-side.html and its hs.css; -10-18-round.html; -10-18-team-pick.html), on the staff side's own
   palette (docs/changes/v2-foundation.md section 1; the swatch sheet docs/mockups/2026-10-18-v2-colours.html). Loaded after
   styles.css on both pages (public/index.html, public/play/index.html); the standalone build inlines it the same way.

   RULES FOR THIS FILE
   - Every selector starts with .p2- (or sits under one), so nothing here can reach the desk. The desk's styles.css is not
     touched by the v2 pages (except where a v2 page REMOVES an old player rule it replaced).
   - Colours: only the desk's tokens (styles.css :root) and the few added below. No raw colour anywhere else in this file:
     two token blocks hold every colour, the dark look's (:root, the desk's palette in its roles) and the light look's
     (fin-look: :root[data-p2-side] when the phone is set to Light), and every rule below names a role.
   - Sizes: the house type scale is 13 / 18 / 21 (+ the strip's 14 and 30, the round's numbers): no new size without a reason. A
     NAME is 18 in a list or on a card and 21 as a screen's or a popup's own title, nothing between (fin-look, continuity C11).
   - TWO KINDS OF CAPITALS (fin-look, continuity C5): TITLE caps (below: the band, the paper's course band, the league's name,
     League Central's title and its cards' names) and LABEL caps, one style for every other word in capitals (a header row,
     the card's HOLE row, the strip's months, League Central's ticker, the FF after a name, the drive / pin sheet's heads):
     Inter 600, 12px, .08em apart, uppercase set here, never typed.
   - CORNERS (fin-look, continuity C15): four radii. 10 small (a mark, a framed box, a card's cells, a Skins cell, the paper's
     chips), 12 controls (a button, a stepper, a key, a row's tint, a toast, a note), 18 surfaces (a band, a panel, a card, a
     date), 22 floating (the Info tiles, a popup, League Central's cards, the home-screen note). A picture inside a ring takes
     the ring's corner less its gap (concentric); a bar 6px tall is round at its ends (3px); the LIVE bar and the dock are the
     navigation's (fin-nav).
   - THE ONE TAP RULE (fin-look; Logan 11, "keep continuity"; continuity C9): a full-width row TINTS (--p2-press, a layer
     inside the gutter, 12px corners, .15s each way); a bounded thing (a button, a tile, a card, a date, a photo, the ×, a
     key) PRESSES to .97 over .12s. Reduce Motion: each at once.
     THE CAPS TYPE (v2-tweaks; Logan: "do the league in that font and stuff too"): today's live THE PLAYERS (styles.css
     .tt-kicker: Inter 700, uppercase, letter-spacing .26em and as much padding on the left, so the caps stay centred, the
     last letter's spacing balanced) is the band's page name at its own 12.5px (.p2-band, the paper's .p2-pp-band) and the
     league's name under the M at 16px (.p2-league). 12.5 is the caps type's alone; 16 was already the house's (a control's
     words, the paper's bay number). Nothing else is in the caps type: names in a list stay Baloo 2 (a row, a card, a popup).
   - One section per page area, each between its own banner (FOUNDATION first; then the areas, in the order below). A page
     builder writes ONLY inside its own area's section, so parallel work never touches the same lines.
   - Phone rules: the sections' own (max-width:560px) blocks; desk rules: (min-width:561px). The 680px column is the desk.
   ===================================================================================================================== */

/* ---------------------------------------- FOUNDATION: tokens ----------------------------------------
   THE ONE COLOUR BLOCK. Every colour on the players' side is one of these ROLES (docs/changes/v2-foundation.md section 1), each
   mapped onto the staff side's own palette (styles.css :root) or, for what the desk has none of, its own value. Nothing below this
   block (and nothing a script writes) names a colour: it names a role. A light theme later is one more block like this one
   (:root[data-p2-theme="light"]{...}) and nothing else (Logan: "we want to think about a light and dark mode for the whole
   customer side when the build is done"). The desk's own tokens are never redefined here. */
:root{
  /* surfaces */
  --p2-page:var(--ink);              /* every screen's ground */
  --p2-inset:var(--ink-2);           /* inside a mark, the score's well in the round */
  --p2-raised:var(--panel);          /* the date boxes, popups, the LIVE bar */
  --p2-control:var(--panel-2);       /* the round's − / +, a pressed row */
  --p2-press:rgba(245,242,234,.06);  /* ADDED (today's .stc-row / .ska-row :active): a Leaderboard or Skins row while a finger is on it */
  /* lines */
  --p2-rule:var(--hairline);         /* under a header row, a played week's box, lines inside a popup */
  --p2-frame:var(--hairline-light);  /* every framed box, Info tiles, date boxes, a mark's ring */
  /* text */
  --p2-text:var(--chalk);            /* names, numbers, the band's word */
  --p2-soft:var(--chalk-dim);        /* the letters inside a mark */
  --p2-grey:var(--chalk-faint);      /* the line under a name, header rows, tile labels */
  --p2-quiet:#8A8679;                /* ADDED: played weeks, teams not in yet, a place not earned (AA: 5.1 page, 4.6 raised) */
  /* gold (light-gold, 2026-11-04; Logan, shown the dark look beside every gold as the desk's light gold: "Yes, use light gold"):
     the dark look's golds are all the light gold, --tracer #E8C79A (were --fairway #C99A6D, --brass #B7935F and the tan
     --fairway-light #DBB98A); the light look's block below keeps its own */
  --p2-gold:var(--tracer);           /* the M, the gold button, the chosen date's frame, a won hole, the M counter */
  --p2-lit:var(--tracer);            /* gold words: the chosen date, Today, a counted score */
  --p2-brass:var(--tracer);          /* the crown's edge (leaderCrown draws it), the paper's ring, every M (--p2-m, E1) */
  --p2-on-gold:#20180F;              /* ADDED (the desk's own .btn-primary words, named): words on gold */
  --p2-gold-hover:var(--fairway-light); /* ADDED (fx-players, the full audit's players m2): the gold button under a mouse, a step deeper than the
                                        light gold (light-gold; it was the lit gold, now the gold itself), its words still --p2-on-gold */
  --p2-gold-tint:color-mix(in srgb, var(--p2-gold) 16%, var(--p2-page));   /* the chosen date's ground */
  --p2-lit-tint:color-mix(in srgb, var(--p2-lit) 18%, transparent);       /* a counted score's ground */
  /* the warm shades (ADDED, v2-tweaks; Logan: "the bars that separate the players and teams … make those a nice shade", "the
     tabs with the tab name in it would be shaded a nice color", "make sure to adjust everything so theres not too much going
     on"): a little of the desk's gold, one family, a step under the chosen date's own ground (16%) so that stays its own */
  --p2-band:color-mix(in srgb, var(--fairway) 12%, var(--ink));       /* the warm dark under the band: the header row inside the band's pin, and
                                                                         a section's header row held under the band and strip (its floating
                                                                         ground, v202): #29231C */
  /* THE VEIL (v202; Logan: "make sure the calendar view always stays floating"): what scrolls under the pinned dates is never
     behind a block, only faded in the page's own colour (it fades as it slides up under the band); its three strengths */
  --p2-veil:color-mix(in srgb, var(--p2-page) 82%, transparent);      /* over a held header row's height, and the strip's foot over one */
  --p2-veil-mid:color-mix(in srgb, var(--p2-page) 72%, transparent);  /* the strip's middle, between the dates */
  --p2-veil-foot:color-mix(in srgb, var(--p2-page) 45%, transparent); /* the strip's foot with nothing held under it */
  /* THE SECOND ACCENT (fin-look; Logan 13, "okay": colour C, one green beside the gold, "professional and non ai generated
     looking"): the desk's own team-form green (70-modals.js's swatches, the Flag Face mascot's ground), for exactly two jobs:
     the bars between rows, and what is happening now (the strip's Today, the LIVE dot). The gold leaves those, so it is the M's,
     the band's, the chosen date's, the gold button's and a counted score's alone. */
  --p2-green:#3C6E47;                                                 /* ADDED: the desk's team-form green */
  --p2-now:color-mix(in srgb, var(--p2-green) 60%, var(--p2-text));   /* "now" in words and the LIVE dot: #86A388 (6.06:1 on a date box, 6.74 on the page) */
  --p2-now-ring:color-mix(in srgb, var(--p2-now) 18%, transparent);   /* the LIVE dot's soft ring */
  /* CLUB GREEN, toned (fin-colour 2.0.5, then colour-tone; Logan on colour C live: "feels like barely any color was added", on
     2.0.5's club green: "too much lol", "dial it back like 25% usage of the green"): the green has two jobs on a page, the
     header rows (a deep club green with cream words) and the bars between rows (the green itself, solid: "lets see that green
     line as more solid"), with "now" (Today, the LIVE dot) as before. Everything else is v2.0.4's again: neutral frames, the
     dock's chosen tab the band's tan (Logan's 14b), the LIVE bar the dock's family, the round's hole band, the card's HOLE row and
     League Central's ticker their own. The dock's and the LIVE bar's roles stay (their values v2.0.4's colours) so the rules
     that read them never changed. Each a role, light values in the light block. */
  --p2-label:color-mix(in srgb, var(--p2-green) 45%, var(--p2-page)); /* a header row's ground: #253C29 */
  --p2-label-ink:#E4ECDF;                                             /* words on it (9.88:1) */
  --p2-label-div:#4F7A57;                                             /* the little dividers in a header row, on the green */
  --p2-bar:var(--p2-green);                                           /* the bars between rows: the club green itself, solid (Logan: "lets see that
                                                                         green line as more solid"; 3.11:1 on the page, 5.49 in light); no words on a bar */
  --p2-chip:var(--p2-tan);                                            /* the dock's chosen tab: the band's tan (Logan's 14b; colour-tone: back from the green) */
  --p2-chip-ink:var(--p2-title);                                      /* its word, the band's dark words (9.44:1) */
  --p2-chip-tucked:var(--p2-tan-word);                                /* the chosen word on the tucked dock's pill: the tan as words */
  --p2-live:var(--p2-control);                                        /* the LIVE bar's ground: the dock's fill (one family with the dock, fin-nav) */
  --p2-live-line:var(--p2-frame);                                     /* its frame: the dock's */
  --p2-live-press:var(--p2-raised);                                   /* its ground while a finger is on it */
  --p2-warm:color-mix(in srgb, var(--fairway) 10%, transparent);      /* the lighter points box beside a record keeps the warm shade the bars had
                                                                         (#25211A on the page) */
  /* E1 (Logan 13): v1.3.75's brass on every M (the head's M, League Central's logo and its cards' Ms, the round's M counter, the
     card's script): the desk's --brass, the colour of v1.3.75's small M; everything else keeps v2's two golds */
  --p2-m:var(--p2-brass);
  --p2-band-r:18px;                                                   /* the band's rounded top */
  /* THE BAND (v2-tweaks; Logan picked look e of the three he was shown: "e"): the page's name on the desk's light tan, in dark
     words. The band alone: what pins under it keeps the warm dark --p2-band above. */
  --p2-tan:var(--tracer);                                             /* the band's shade: the light gold since light-gold (was the desk's light tan,
                                                                         #DBB98A, its gold button's hover and pressed fill: a role here, the band's,
                                                                         and nothing else on a page) */
  --p2-title:var(--p2-on-gold);                                       /* the band's words: the gold button's dark, #20180F on the tan, 9.44:1 */
  --p2-tan-word:var(--p2-tan);                                        /* the tan as WORDS: the tucked pill's chosen word, the LIVE bar's quiet action
                                                                         ("All cards in"), on the dock's fill */
  --p2-lift:0 2px 5px -1px rgba(6, 6, 5, .6);                         /* a date box floating over what scrolls under it (inside the strip's 6px foot) */
  /* alert: real problems only */
  --p2-alert:var(--danger);
  /* the paper card (ADDED: the desk prints black on white and has none of these) */
  --p2-paper:#F1EADC; --p2-paper-ink:#20180F; --p2-paper-grey:#685F54; --p2-paper-rule:#D3C7B1; --p2-paper-band:#E6DCC8; --p2-paper-alert:#B23A2B;
  --p2-paper-gold:color-mix(in srgb, var(--p2-gold) 34%, var(--p2-paper));  /* a counted score on paper (its figure stays ink) */
  --p2-paper-edge:none;   /* ADDED (fix-look): the edge of a paper card lying on the page (the cream stands well off the dark page: none) */
  /* the page behind a popup: the desk's own dim (styles.css reads it as --dim, the light look's below) */
  --p2-dim:rgba(10, 10, 8, .72);
  /* what floats over the page (the dock, the LIVE bar, the pull's bubble): the desk's own shadows, named for the light look */
  --p2-float:0 8px 24px rgba(0, 0, 0, .6), 0 1px 3px rgba(0, 0, 0, .45);
  /* a team's real colour (p2TeamTone; written on a mark as --p2-tc, data, not a style) is shown muted: this much of it over --p2-frame */
  --p2-tone-mix:60%;
  /* logos (masks, filled with a role) */
  --logo-b-m-head:url("/assets/logo-b-m-head.png?v=acb7d7072c621615");   /* the head's M, 3x its 76px (tools/logo-b-m-head.js) */
  /* space (the mockups' hs.css) */
  --p2-gut:20px;      /* the page's side gutter */
  --p2-float-in:12px; /* a held header row's floating bar, in from the screen's sides (v202) */
  --p2-gap:12px;      /* between a row's columns */
  --p2-pos:30px;      /* the place column */
  --p2-pic:40px;      /* a mark (square), and a framed box's height */
  --p2-big:68px;      /* the Teams square */
  --p2-first:54px;    /* first place's square */
  --p2-valw:78px;     /* the value column: every framed box with a word or a record (5-1-1, 2.1 pts, Bay 5, 71 net) */
  --p2-col:680px;     /* the reading column on a desk */
  --p2-band-h:52px;   /* the band (fixed, so what pins under it needs no measuring) */
  --p2-strip-h:105px; /* the week strip (16 + 83 + 6) */
  --p2-top:8px;       /* where the band pins: under Safari's still top band (phones), the status band (home screen), the desk's
                         floating tab bar (below) */
}
html.is-standalone{--p2-top:env(safe-area-inset-top, 0px);}
/* light-gold: the shared pieces the players' side borrows from the desk (the notes, a popup's buttons, the toasts) take the light
   gold with it in the dark look, only while the players' side shows; the light look's block below maps these same tokens to its
   own roles and, coming later, wins on a phone set to Light. The desk never changes. */
:root[data-p2-side]{--fairway:var(--tracer); --brass:var(--tracer);}
@media (min-width:561px){
  :root, html.is-standalone{--p2-top:calc(6px + var(--p2-dock-h) + 8px);}   /* the desk's tab bar: 6px from the top + its height (the dock's: 64 since fin-polish, so 78; 52 from fin-nav, 58 before) + 8px of room */
}
/* ---------------------------------------- FOUNDATION: the light look (fin-look) ----------------------------------------
   Logan 12 ("okay"): the players' side follows the phone's own setting (Settings → Display & Brightness: Light, Dark or
   Automatic), no switch; dark stays exactly as it is. The light mockup's block (docs/mockups/2026-10-21-light-dark.html,
   branch p2-light f6b18f6: oct21-light-build/light-block.css, palette-light.js) with colour C and E1 given their light values:
   "a well-printed club scorecard in daylight": a warm off-white page from the paper card's own family (never white), raised
   things a step darker, the paper's ink for words, the house gold deepened just enough to stay gold, the green deepened to
   stay green. It applies only where the players' side shows (data-p2-side on <html>: 36-p2-core.js p2SideSync, and the
   players' page from its first paint), so the desk (staff) side never changes with the phone's setting. Every colour token
   of the dark block is here (tests/fin-look.js holds that), each AA where words sit on it (the record's table). The desk's
   own tokens follow the roles here, so the shared pieces the players' side borrows (the dock, the LIVE bar, the notes, the
   crown, a popup's frame) take the light look with no rule of their own; --dim / --dim-solid are the popup's dim in
   styles.css (each with today's dark value written beside it there). The paper card is the same card in both looks. */
@media (prefers-color-scheme: light){
  :root[data-p2-side]{
    /* surfaces (light-darker, Logan: "a tad bit darker", then of 3 L*: "looks the same no?": every surface and line 8 L* deeper,
       its hue kept and its warmth a third stronger so the paper family never turns grey; the steps between them hold: the page
       96.6 → 88.6; was #F8F5EF, #F3EEE6, #EEE8DD, #E5DDCF) */
    --p2-page:#E2DED6; --p2-inset:#DDD7CD; --p2-raised:#D9D1C3; --p2-control:#D0C6B5; --p2-press:rgba(32, 24, 15, .05);
    /* lines (the same 8 L*: was #E0D8CA, #CDC2AF) */
    --p2-rule:#CBC2B0; --p2-frame:#B9AC94;
    /* text: the paper's own ink; its greys each deepened until it stands as far off its hardest ground as in 2.0.9 (was #4B4237,
       #5E554A, #6D6458) */
    --p2-text:#20180F; --p2-soft:#3D3429; --p2-grey:#4F463C; --p2-quiet:#5E564A;
    /* gold: the house gold deepened, gold words as printed ink */
    --p2-gold:#B08350; --p2-lit:#6C4417; --p2-brass:#7F5D2E; --p2-on-gold:#20180F;   /* (light-darker: the gold words and the brass deepened as the greys were, was #7D5225 and #8F6C3C: 5.02:1 on the dock's fill and 3.95 on raised, as before; the gold button as it was, its dark words 5.18:1) */
    --p2-gold-tint:color-mix(in srgb, var(--p2-gold) 16%, var(--p2-page));
    --p2-lit-tint:color-mix(in srgb, var(--p2-gold) 14%, transparent);   /* (the lit gold is dark ink here, so its ground comes from the gold) */
    --p2-band:color-mix(in srgb, var(--p2-gold) 12%, var(--p2-page));
    --p2-veil:color-mix(in srgb, var(--p2-page) 82%, transparent); --p2-veil-mid:color-mix(in srgb, var(--p2-page) 72%, transparent);
    --p2-veil-foot:color-mix(in srgb, var(--p2-page) 45%, transparent);
    /* colour C: the green deepened toward the ink (5.84:1 on a date box), the bars as quiet on the light page as on the dark */
    --p2-green:#3C6E47; --p2-now:color-mix(in srgb, var(--p2-green) 70%, var(--p2-text));   /* (light-darker: 70%, was 85%, so Today keeps its 5.6:1 on the deeper date box) */ --p2-now-ring:color-mix(in srgb, var(--p2-now) 18%, transparent);
    /* club green, toned (fin-colour, colour-tone): the bars the green itself, solid; the dock's chosen tab and the LIVE bar v2.0.4's
       (the tan with its dark words, the dock's fill, frame and raised). The header rows (fix-look, the final audit's design 12: the
       full club green with cream words was the heaviest block on a light page, heavier than the dark look Logan approved, "dial it
       back like 25% usage of the green"): the dark look's recipe turned round, a soft green ground the same step off the page as
       dark's (the green 28% over the light page, #C3CFC0: 1.48:1 against it, dark's 1.56) with deep green words (7.08:1) and
       dividers as far off their ground as dark's (2.38:1, dark's 2.42). light-darker: over the deeper page the green 30% (was 28%),
       #B0BCAB, 1.47:1 off it; its words and dividers deepened to keep their 7.13:1 and 2.38:1 (was #24402A, #6A8A6F) */
    --p2-label:color-mix(in srgb, var(--p2-green) 30%, var(--p2-page)); --p2-label-ink:#16311D; --p2-label-div:#5C7B61;
    --p2-bar:var(--p2-green); --p2-chip:var(--p2-tan); --p2-chip-ink:var(--p2-title); --p2-chip-tucked:var(--p2-tan-word);
    --p2-live:var(--p2-control); --p2-live-line:var(--p2-frame); --p2-live-press:var(--p2-raised);
    --p2-warm:color-mix(in srgb, var(--p2-gold) 12%, transparent);
    /* E1: the brass M, the light brass (4.46:1 on the page since light-darker, 4.41 before: a picture, 3:1 is its floor) */
    --p2-m:var(--p2-brass);
    /* the band (look e): the tan a touch deeper, its name in the ink */
    --p2-tan:#C19F6E; --p2-title:#20180F;   /* (light-darker: the tan 8 L* deeper with the page, was #D8B482, so the band and the chosen pill keep their step; its name 7.05:1) */
    --p2-tan-word:var(--p2-lit);   /* (the tan as words on the light LIVE bar: the light gold words; the tan itself would read 1.5) */
    --p2-gold-hover:var(--p2-tan);   /* (the gold button under a mouse: the tan, the desk's own gold-button hover, its dark words 7.05:1; the lit gold is
                                        dark ink here and read 2.07:1 under the words: fx-players, the full audit's players m2) */
    --p2-lift:0 1px 3px rgba(60, 44, 26, .16);
    /* alert: the paper's own red */
    --p2-alert:#A0291E;   /* (light-darker: deepened as the greys, was #B23A2B: 4.90:1 on raised, as before) */
    /* the paper card: the same card on either page (its counted-score tint stays the dark look's) */
    --p2-paper:#F1EADC; --p2-paper-ink:#20180F; --p2-paper-grey:#685F54; --p2-paper-rule:#D3C7B1; --p2-paper-band:#E6DCC8; --p2-paper-alert:#B23A2B;
    --p2-paper-gold:color-mix(in srgb, #C99A6D 34%, var(--p2-paper));
    /* …its edge on the light page (fix-look, the final audit's design 13: the cream on the warm off-white is 1.10:1, so Check your card
       and the finish's rising paper lost their edge): a hairline in the paper's own rule and the soft lift a date box takes */
    /* light-darker: the page now deeper than the cream (the card 1.12:1 lighter than it), the paper's rule as a hairline would read
       1.24:1 on it, so the hairline is the light look's own frame (1.67:1 on the page), with the same lift */
    --p2-paper-edge:0 0 0 1px var(--p2-frame), var(--p2-lift);
    /* the page behind a popup, what floats, the shade a screen takes as another slides over it, the faint logo */
    --p2-dim:rgba(32, 24, 15, .38);
    --p2-float:0 6px 18px rgba(60, 44, 26, .14), 0 1px 3px rgba(60, 44, 26, .12);
    --p2-shade:rgba(32, 24, 15, .5);                     /* (the morph's dim layer, at its .45: the popups' .38 brown at about .23) */
    --p2-edge:-12px 0 32px rgba(60, 44, 26, .18);        /* (the league page's edge as it slides in over League Central) */
    --p2-mark:url("/assets/page-mark-light.png?v=94c2a679a568c50f");        /* the light brass at 7% over the light page (tools/page-mark-light.js) */
    /* the desk's own tokens, for the shared pieces the players' side borrows; only while the players' side shows */
    --ink:var(--p2-page); --ink-2:var(--p2-inset); --panel:var(--p2-raised); --panel-2:var(--p2-control);
    --hairline:var(--p2-rule); --hairline-light:var(--p2-frame);
    --chalk:var(--p2-text); --chalk-dim:var(--p2-soft); --chalk-faint:var(--p2-grey);
    --fairway:var(--p2-gold); --fairway-light:var(--p2-tan); --tracer:var(--p2-lit); --brass:var(--p2-brass); --danger:var(--p2-alert);
    --shadow:0 8px 24px rgba(60, 44, 26, .14);
    --dim:var(--p2-dim); --dim-solid:color-mix(in srgb, rgb(32, 24, 15) 38%, var(--p2-page));
    color-scheme:light;
  }
}
/* ---------------------------------------- FOUNDATION: the page ----------------------------------------
   p2Page(): one per tab page, the first child of the tab's pane. On a phone the shell has no side padding (styles.css's 560px
   block), so the page is edge to edge; on a desk it is one centred column (--p2-col), the shell's 16px given back. */
.p2-page{position:relative; color:var(--p2-text); font-family:'Inter', system-ui, sans-serif;}
@media (min-width:561px){ .p2-page{max-width:var(--p2-col); margin:0 auto;} }
/* a button on a page takes the page's words (the UA's own button font gone), at no weight: any class rule of a page's own (a
   .btn's, a card cell's 14px) wins over it (v2-central and v2-round found the old (0,1,1) reset beating them; :where since the
   integration) */
:where(.p2-page) button{font:inherit; color:inherit; -webkit-tap-highlight-color:transparent;}
/* …and the buttons outside a page take the house type too (v202; the take-out audit's C3: a button gets the browser's own font, so
   the head's "← All leagues" and the drive / pin sheet's keys and Yes / No drew in Arial on an iPhone, system-ui in WebKit): the
   family only, every size and weight stays its class's */
:where(.p2-head, .modal-p2) button{font-family:inherit;}
.p2-page [data-action]{cursor:pointer;}
/* On a phone a v2 league page runs edge to edge: the shell steps out of the app's own 20px sides (styles.css .app); the head, the
   band and the rows keep their own gutter (--p2-gut). The dock and the LIVE bar are fixed (AREA: nav, at the end of this file). */
@media (max-width:560px){ #app #sec-main > .play-shell.is-p2{width:calc(100% + 40px); max-width:none; margin-left:-20px; margin-right:-20px;} }   /* (over styles.css's #sec-main > * width:100%) */
/* the cap: the room over the pinned band. Never a block (v2-tweaks; Logan: "make sure theres not this block behind every tab"):
   it paints nothing while the band is in its place, so the page and its watermark show all round the band. While the band is
   pinned (html[data-p2-pinned], 36-p2-core.js p2PinSync) the list scrolls up past it, so the cap fades it out: clear at the
   top, the page's colour over its last 8px, across the whole screen (the border image reaches past the column on both sides
   as ink only, so nothing can scroll sideways and the watermark is never cut into a column). On a desk that is the room under
   the floating tab bar (66px: 6 + the bar's 52 + 8; 72 with the 58px bar before fin-nav), so nothing shows cut in half between the bar and the band; the rest of
   the bar floats as it always has (floating-tabs). On a phone the cap is the 8px (or the status bar's height) that the still
   top band (styles.css .play-status-band, --ink) already covers, so there it is only a fallback. */
.p2-cap{position:sticky; top:0; z-index:4; height:var(--p2-top); margin:calc(-1 * var(--p2-top)) 0 0; pointer-events:none;}
html[data-p2-pinned] .p2-page > .p2-cap{border-image:linear-gradient(transparent, var(--p2-page) calc(100% - 8px)) fill 0 / 0 / 0 100vw;}
/* …which WebKit never paints (fix-look, the final audit's design 5: a border image on a box with no border is not drawn in Safari,
   proved with a red one), so on a desk or an iPad the row scrolling under the floating tab bar showed cut in half in the 8px
   above the band. There the cap is the column's own fade, a real background: the column bounds the rows, so it needs no reach
   past it (the faint logo has no ink in those 8px, measured at 1024x768 in both looks); the border image stays for the
   browsers that draw it (the same colours, so nothing doubles). A phone is unchanged (Safari's still top band covers its cap). */
@media (min-width:561px){ html[data-p2-pinned] .p2-page > .p2-cap{background:linear-gradient(transparent, var(--p2-page) calc(100% - 8px));} }
/* …in a phone's home-screen app it paints nothing, pinned or not, a page's or a round's (the iOS 27 simulator's final pass,
   2026-10-20): there --p2-top is the status bar's 62pt, and a cap with a fill (the round's dark one, below; every cap before
   v2-tweaks) lay at rest over the head's foot, its negative margin up into the head, the league's name hidden under it; the
   still status band (styles.css .play-status-band, fixed, the page's ink, over the page) covers exactly that strip once the
   band is pinned, so a page's fade could never be seen there either. The box stays, so where a tab lands (tabStickOffset) is
   unchanged; the paper's cap keeps the paper (its own rule is the stronger). */
@media (max-width:560px){ html.is-standalone .p2-cap{background:transparent;} }
@media (max-width:560px){ html.is-standalone .p2-page > .p2-cap{border-image:none;} }

/* ---------------------------------------- FOUNDATION: the head (p2Head) ----------------------------------------
   The M (logo B's, 76px, crisp at 3x) and the league's name, centred; the way back sits at the top left. It scrolls away; the
   band pins.
   The league's name is in the caps type (the header's THE CAPS TYPE: today's live THE PLAYERS), the page's title at 16px: its
   size is the live head's proportion to its M, taken as the head's shape (live: THE PLAYERS runs 3.1 times its 40px M's
   width; at 16px the four practice leagues' names run 2.3 to 4.7, on average 3.2 times this 76px M), one step over the band's
   12.5 so the name leads it, and "Sunday Best Ball Net" one line at 375 (281 of its 335px). A long name wraps to balanced
   lines, never clipped (a word longer than the whole line breaks as the last way out; break-word since fix-board, so a word is
   never cut where a space would do); only a two-player hole on a phone holds it to one line
   (the round's area, the one screen: its gaps are counted for one line). Line height 1.3 with .1em above and below: one line takes
   the 24px a 1.5 line would (live's), so the gaps from the M and to what follows are as they were, measured in WebKit (the M
   to the capitals 14.0px, as before; the baseline to the head's foot 24.0, was 25.2, the head 2.4px shorter), and a second line
   sits 20.8px under the first, so a wrapped name reads as one title. In the text colour, as League Central's title. */
.p2-head{position:relative; display:flex; flex-direction:column; align-items:center; padding:8px var(--p2-gut) 18px;}
.p2-m{display:block; width:76px; height:calc(76px * 155 / 228); background:var(--p2-m);
  -webkit-mask:var(--logo-b-m-head) center / contain no-repeat; mask:var(--logo-b-m-head) center / contain no-repeat;}
.p2-league{box-sizing:border-box; margin:8px 0 0; max-width:100%; padding:.1em 0 .1em .26em; text-align:center; font-family:'Inter', sans-serif; font-weight:700;
  font-size:16px; line-height:1.3; letter-spacing:.26em; text-transform:uppercase; color:var(--p2-text); text-wrap:balance; overflow-wrap:break-word;}
/* today's way back (← All leagues), quiet: grey words at the head's top left, the M left in the middle */
.p2-back{position:absolute; left:6px; top:4px; height:44px; padding:0 12px; border:0; background:transparent; font-size:14px; font-weight:600;
  color:var(--p2-grey); cursor:pointer;}
@media (hover:hover) and (pointer:fine){ .p2-back:hover{color:var(--p2-text);} }
/* ONE head on a phone, the league pages' and the round's alike (AB1's head, Leaderboard B2's picked "‹ Leagues"): the way back at
   the top left BESIDE the M, its words level with the M's middle (8px + 26px), never a row of its own above it; going from a
   league page into a round the M and the league's name stay where they are (the review after the integration: the pages gave
   it a 44px row above the M, so the M jumped 44px into a round). At 375 the way back ends at x 120, the M starts at x 150. */
@media (max-width:560px){ .p2-back{top:12px;} }

/* ---------------------------------------- FOUNDATION: Info tiles (p2Tiles) ---------------------------------------- */
.p2-tiles{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); grid-template-rows:auto auto auto; column-gap:8px; margin:0 14px 18px;}
.p2-tiles.n-2{grid-template-columns:repeat(2, calc((100% - 16px) / 3)); justify-content:center;}
.p2-tiles.n-1{grid-template-columns:calc((100% - 16px) / 3); justify-content:center;}
.p2-tile{grid-row:span 3; display:grid; grid-template-rows:subgrid; row-gap:0; align-content:start; min-width:0; padding:12px 8px 13px;
  border:1px solid var(--p2-frame); border-radius:22px; background:transparent; text-align:center;}
.p2-tk{font-size:13px; font-weight:500; line-height:1.35; color:var(--p2-grey);}
.p2-tn{margin-top:3px; font-size:21px; font-weight:600; line-height:1.2; letter-spacing:-.01em; font-variant-numeric:tabular-nums; white-space:normal;}
/* (a number wider than its tile, a season's "1040 strokes" in a 110px tile at 375, puts its small word, one piece, on the next
   line instead of running out of the tile; the number itself never breaks: v2-players' rule, every tile's since the
   integration, a popup's included) */
.p2-tn em{display:inline-block; margin-left:3px; font-style:normal; font-size:13px; font-weight:500; letter-spacing:0; color:var(--p2-grey);}
.p2-tw{margin-top:3px; font-size:13px; font-weight:500; line-height:1.35; overflow-wrap:anywhere; text-wrap:balance;}

/* ---------------------------------------- FOUNDATION: the band and what pins with it (p2Pin, p2Band) ----------------------------------------
   House rule (Logan, B2: "make sure the team line column freezes"): the band, with whatever labels the list under it (a
   header row, the week strip), pins under the top on scroll; the head and the tiles scroll away. */
/* It FLOATS (v2-tweaks; Logan: "make sure theres not this block behind every tab"): in its place the pin paints nothing, so no
   page-coloured block stands behind or round it (the page and its watermark show at its sides and above it); the band has its
   own fill (the light tan, --p2-tan, its name in --p2-title: look e, Logan's pick) and rounded top, a header row inside its pin
   the label green (club green, fin-colour), each date its own box.
   PINNED (html[data-p2-pinned], live only: 36-p2-core.js p2PinSync) the list runs under it, so then, and only then, it gets a
   ground: the band's rounded corners the page's colour (nothing shows in them) and the strip the warm dark --p2-band (in the
   strip's own section, below), so the tan band over the dates and the header row held under them (its green bar, below) read as
   one piece over the list, never a black block, and nothing under it shows between the dates or takes a tap there that the
   person can't see. Pinning changes grounds only (no word changes colour at the pin point). */
.p2-pin{position:sticky; top:var(--p2-top); z-index:3;}
html[data-p2-pinned] .p2-page > .p2-pin{background:linear-gradient(var(--p2-page) var(--p2-band-r), transparent var(--p2-band-r));}
/* The band's page name is the caps type (the header's THE CAPS TYPE), exactly today's live THE PLAYERS: Inter 700, 12.5px,
   uppercase, .26em apart with .26em more padding on the left (the last letter's spacing balanced, so the word is centred),
   line height 1.5; the band's dark words on its tan (Logan's B). */
.p2-band{box-sizing:border-box; height:var(--p2-band-h); margin:0; padding:0 20px 0 calc(20px + .26em); display:flex; align-items:center; justify-content:center;
  border-radius:var(--p2-band-r) var(--p2-band-r) 0 0; background:var(--p2-tan); text-align:center; font-family:'Inter', sans-serif; font-weight:700; font-size:12.5px;
  line-height:1.5; letter-spacing:.26em; text-transform:uppercase; color:var(--p2-title); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}

/* ---------------------------------------- FOUNDATION: header rows (p2HeadRow) ----------------------------------------
   The label over the mark (and its divider), the list's word, the divider before the box column. In a section (p2Section) it
   pins under the band (and strip) while its own list shows; the next section's takes its place. */
.p2-sec{position:relative;}
.p2-sec + .p2-sec{margin-top:14px;}
/* CLUB GREEN (fin-colour): every header row is a label on the green, cream words, its dividers a lighter green: a full-width band
   in the band's pin, a rounded bar 12px in from the screen's sides on a page and under the round's card (Check your card's
   contests: the round's own rule), a rounded bar in a popup. */
.p2-hrow{box-sizing:border-box; display:grid; grid-template-columns:var(--p2-pic) minmax(0, 1fr) var(--p2-valw); column-gap:var(--p2-gap); align-items:center;
  min-height:34px; padding:0 var(--p2-gut); background:var(--p2-label);
  font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--p2-label-ink);}
.p2-sec > .p2-hrow{position:sticky; top:calc(var(--p2-top) + var(--p2-band-h)); z-index:2; box-shadow:0 -2px 0 var(--p2-page);}
/* Inside the band's pin (the Leaderboard's POS | TEAM) the header row is the green band straight under the tan band, edge to edge;
   a section's (Scoring's TEAM and LOW ROUNDS, Skins' SEASON, the playoffs' SEED | ROUND N) is a floating green bar (below), held
   under the band and strip as it was (36-p2-core.js p2PinApply names it, live only, in its own stylesheet #p2-pinned-rows: its
   soft shadow and the veil behind it). Popups: a rounded bar on the popup's colour. */
.p2-page > .p2-pin > .p2-hrow{background:var(--p2-label); box-shadow:0 -1px 0 var(--p2-tan);}   /* (its 1px up, the seam a screen that is not a whole number of pixels per point would leave, in the band's own tan: it lies over the band's last pixel, so the band keeps it) */
/* …a section's header row FLOATS (v202; the green since fin-colour): its ground is a bar of the label green limited to its own
   height, 12px in from the screen's sides with rounded ends (::before); held under the band and strip it takes the dates' soft
   shadow (--p2-held-lift, given by p2PinApply) and behind it the veil fades out to its foot (--p2-held-veil), so the list comes
   back out from under it softly, never a block across the screen. */
.p2-page .p2-sec > .p2-hrow{background:transparent; box-shadow:none;}
.p2-page .p2-sec > .p2-hrow::before{content:""; position:absolute; inset:0 var(--p2-float-in); z-index:-1; border-radius:12px; background:var(--p2-label);
  box-shadow:var(--p2-held-lift, none); pointer-events:none;}
html[data-p2-pinned] .p2-page .p2-sec > .p2-hrow{background:linear-gradient(var(--p2-held-veil, transparent), transparent);}   /* (its own box: a border image reaching 100vw past a sticky row made WebKit repaint the page's tiles all through a scroll, 40 repaints and 27.5 Mpx for 7 and 0.4 measured; on a phone the row is the screen's width anyway) */
/* Reduce Transparency: nothing see-through; a section's header row is the label green across the screen's width (no floating bar,
   no veil), pinned or not; pinned, the strip has the warm dark ground as v2.0.1 drew it */
@media (prefers-reduced-transparency: reduce){
  .p2-page .p2-sec > .p2-hrow, html[data-p2-pinned] .p2-page .p2-sec > .p2-hrow{background:var(--p2-label);}
  html[data-p2-pinned] .p2-page .p2-sec > .p2-hrow{box-shadow:0 -1px 0 var(--p2-label);}
  .p2-page .p2-sec > .p2-hrow::before{display:none;}
}
.p2-page.has-strip .p2-sec > .p2-hrow{top:calc(var(--p2-top) + var(--p2-band-h) + var(--p2-strip-h));}
.p2-hrow.is-sq{grid-template-columns:var(--p2-pic) minmax(0, 1fr) var(--p2-pic);}
.p2-hrow.is-lb{grid-template-columns:var(--p2-pos) var(--p2-pic) minmax(0, 1fr) var(--p2-valw);}
.p2-h1, .p2-h2{position:relative; white-space:nowrap;}
.p2-h3{position:relative; align-self:stretch;}
.p2-hrow.is-lb .p2-h1{grid-column:1;}
.p2-hrow.is-lb .p2-h2{grid-column:3;}
.p2-hrow.is-lb .p2-h3{grid-column:4;}
.p2-hrow.is-wide .p2-h1{grid-column:1 / 3;}
/* his little dividers: after the mark's label, before the box column */
.p2-hrow:not(.is-wide) .p2-h1:not(:empty)::after{content:""; position:absolute; right:-7px; top:50%; width:1px; height:12px; margin-top:-6px; background:var(--p2-label-div);}
.p2-hrow.is-lb .p2-h1::after{right:-2px;}
.p2-h3::before{content:""; position:absolute; left:0; top:50%; width:1px; height:12px; margin-top:-6px; background:var(--p2-label-div);}
.p2-hrow.no-val .p2-h3::before{content:none;}   /* (no figure in the section yet: no divider over the empty value column; v202) */
/* (fin-words) a value column a square box's (p2HeadRow o.sqv: Players' handicaps, Skins' SEASON counts, rows of the "sq" kind), so
   the divider stands on the boxes' left edge; its own label after the divider, over the boxes (o.boxWord: Players' HCP) */
.p2-hrow.is-sqv{grid-template-columns:var(--p2-pic) minmax(0, 1fr) var(--p2-pic);}
.p2-h3:not(:empty){display:grid; place-items:center; white-space:nowrap;}

/* ---------------------------------------- FOUNDATION: rows (p2Rows, p2Row) ----------------------------------------
   One row style everywhere: [mark] [name over its grey line] [framed box]; a drawn bar between rows (and one between the band
   or strip and the first row when no header row labels the list: is-barred). */
.p2-rows{list-style:none; margin:0; padding:0;}
.p2-rows.is-barred{padding-top:16px;}
.p2-rows > li{position:relative;}
/* a row gliding to its new place when a round lands (32-list-motion.js) covers the rows it crosses */
.p2-rows > li.is-moving{z-index:1; background:var(--p2-page);}
/* a round landing washes the row (or Scoring's item) that took it in, once (32-list-motion.js listWash; styles.css .is-just-in):
   inside the gutter and rounded, as the bars between the rows are drawn, never edge to edge on a phone; the same shape on the
   Leaderboard and on Scoring (Scoring's item rule, the foundation's since the review after the integration) */
.p2-rows > li.is-just-in::after{inset:0 12px; border-radius:12px;}
.p2-rows > li + li{margin-top:8px;}
.p2-rows > li + li::before, .p2-rows.is-barred > li::before{content:""; position:absolute; left:12px; right:12px; top:-7px; height:6px; border-radius:3px; background:var(--p2-bar);}
.p2-row{display:grid; grid-template-columns:var(--p2-pic) minmax(0, 1fr) var(--p2-valw); column-gap:var(--p2-gap); align-items:center; padding:12px var(--p2-gut);}
.p2-row.is-sq{grid-template-columns:var(--p2-pic) minmax(0, 1fr) auto;}
.p2-row.no-pic{grid-template-columns:minmax(0, 1fr) var(--p2-valw);}
.p2-row.no-box{grid-template-columns:var(--p2-pic) minmax(0, 1fr);}
.p2-row.is-team{grid-template-columns:var(--p2-big) minmax(0, 1fr);}
/* (the box column is at least --p2-valw and as wide as a long record needs: "10-2-1" at first place's 21px) */
.p2-row.is-lb{grid-template-columns:var(--p2-pos) var(--p2-pic) minmax(0, 1fr) minmax(var(--p2-valw), max-content);}
.p2-row.is-lb.no-box{grid-template-columns:var(--p2-pos) var(--p2-pic) minmax(0, 1fr);}
.p2-row.is-lb.is-first{padding-block:18px; grid-template-columns:var(--p2-pos) var(--p2-first) minmax(0, 1fr) minmax(var(--p2-valw), max-content);}
.p2-row.is-lb.is-first .p2-mark{--p2-pic:var(--p2-first); border-radius:12px;}
.p2-row.is-lb.is-first .p2-mark.is-photo img{border-radius:9px;}
.p2-row.is-lb.is-first :is(.p2-pos, .p2-name, .p2-box){font-size:21px;}
.p2-row.is-lb.is-first .p2-box{height:50px;}
/* a list's value column widened ONCE for all its rows and its header row (36-p2-core.js p2Wide: Scoring's sections, the
   Leaderboard's page when first place's 21px record needs more than 78px), so every box's edges and the header row's divider
   stay on one line */
.p2-w84{--p2-valw:84px;}
.p2-w92{--p2-valw:92px;}
.p2-w100{--p2-valw:100px;}
/* a row whose words are its button beside a button of its own (p2Row o.lead: the fixed Teams row's photo) */
.p2-hit{min-width:0;}
.p2-pos{font-size:18px; font-weight:600; font-variant-numeric:tabular-nums; letter-spacing:-.01em; white-space:nowrap;}
.p2-pos.is-none{color:var(--p2-quiet);}
.p2-who{min-width:0; display:flex; flex-direction:column; gap:1px;}
.p2-name{min-width:0; display:flex; align-items:center; gap:7px; font-family:'Baloo 2', sans-serif; font-weight:600; font-size:18px; line-height:1.2;}
.p2-word{min-width:0; overflow-wrap:break-word;}
.p2-name.is-none{color:var(--p2-quiet);}   /* the house's quiet dash standing for nothing set (P2_NO_COURSE) */
.p2-sub{font-size:13px; font-weight:500; line-height:1.35; color:var(--p2-grey); overflow-wrap:break-word;}
/* A WORD NEVER SPLIT (fix-board, the final audit's design 1 and 8): a line breaks between words, after a "/" and after a hyphen
   (break-word, never anywhere: "Syndicat / e"); a word wider than its column is set just small enough to fit it, never under
   12.5px: the name's box a size container (.is-fit, only on a name whose widest word needs it: 36-p2-core.js p2FitWl, its width
   in ems as --p2-wl; --p2-wx the crown's room), the word min(its own size, the column / its width) */
.p2-who.is-fit{container-type:inline-size;}
.p2-who.is-fit .p2-word{font-size:max(12.5px, min(1em, calc((100cqi - var(--p2-wx, 0px)) / var(--p2-wl))));}
/* a name on one line, an ellipsis at its end (a popup round's course: o.one) */
.p2-name.is-one .p2-word{overflow:hidden; white-space:nowrap; text-overflow:ellipsis;}
.p2-crown{display:inline-flex; align-items:center; flex:none; margin-top:-2px;}
.p2-crown .leader-crown{margin:0 !important; display:block;}
/* a row that is out of tonight (not in yet, a bye): its words quiet */
.p2-row.is-out .p2-name{color:var(--p2-grey);}
.p2-row.is-out .p2-sub{color:var(--p2-quiet);}
/* THE ONE TAP RULE (fin-look; Logan 11, "keep continuity"; continuity C9: one row had four tap feelings). A ROW that opens
   something, the full width of its list, TINTS: a layer of --p2-press under its words whose opacity eases over .15s, down and
   back up as the finger lifts, no scale; drawn inside the gutter, 8px round the row's words (on a page 12px in from the
   screen's sides, in a popup 8px past the words, inside its padding: --p2-tint-x), 12px corners. That is the Leaderboard's
   tint (motion parity's row 43, today's .stc-row), every row's now: the Leaderboard and Skins as before, Players, Teams' fixed
   teams (their photo presses alone: no tint while a finger is on it), Scoring's LOW ROUNDS and contests, a popup's weeks and
   rounds, the LIVE panel's teams, Check your card's contest rows (and its problem rows: .p2-tint, a row that isn't a .p2-row, which
   says how far its tint reaches past its words with --p2-tint-x). A BOUNDED thing PRESSES (.97 over .12s, eased
   down and back up: the transition on the resting control, as today's shared press list in styles.css has it): the Info
   tiles, the head's way back (.p2-back: "← All leagues", the round's Cancel), a date, a card, a photo, the ×, a button, a key.
   A tap is taken at once (no double-tap zoom wait) and shows no grey WebKit flash. Reduce Motion: the tint and the press at
   once. The tint is a layer whose opacity moves (animation refinement round 1, 2026-10-19: as a background-color the row was
   repainted with the whole page under it every frame; on the compositor so). */
.p2-row[data-action], .p2-tint{--p2-tint-x:calc(var(--p2-gut) - 8px); position:relative; isolation:isolate; touch-action:manipulation; -webkit-tap-highlight-color:transparent;}
.p2-row[data-action]::before, .p2-tint::before{content:""; position:absolute; inset:0 var(--p2-tint-x); z-index:-1; border-radius:12px; background:var(--p2-press);
  opacity:0; transition:opacity .15s ease; pointer-events:none;}
.p2-row[data-action]:active::before, .p2-tint:active::before{opacity:1;}
.p2-row[data-action]:has(.p2-photo:active)::before{opacity:0;}   /* (a finger on a Teams photo presses the photo alone) */
.p2-tile[data-action], .p2-back{touch-action:manipulation; -webkit-tap-highlight-color:transparent; transition:transform .12s ease;}
.p2-tile[data-action]:active, .p2-back:active{transform:scale(.97);}
@media (prefers-reduced-motion: reduce){ .p2-row[data-action]::before, .p2-tint::before, .p2-tile[data-action], .p2-back{transition:none;} }

/* ---------------------------------------- FOUNDATION: the mark (p2Mark, p2TeamMark, p2PlayerMark) ----------------------------------------
   A rounded square everywhere: a team's photo or letters, a player's initials, a week's number. NEUTRAL (Logan: "I absolutely
   hate the yellow that's used as the box around the initials"): the Inset fill, a Frame ring, Soft letters. A team colour the
   desk set (p2TeamTone: not the default gold or its family) shows as the ring alone, muted: --tone. */
.p2-mark{flex:none; display:grid; place-items:center; width:var(--p2-pic); height:var(--p2-pic); overflow:hidden; padding-top:.08em; border-radius:10px;
  background:var(--p2-inset); box-shadow:inset 0 0 0 1.5px var(--p2-frame); color:var(--p2-soft);
  font-family:'Baloo 2', sans-serif; font-weight:600; font-size:calc(var(--p2-pic) * .5); line-height:1; font-variant-numeric:tabular-nums;}
.p2-mark.has-tone{box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--p2-tc) var(--p2-tone-mix), var(--p2-frame));}
.p2-mark.is-two{font-size:calc(var(--p2-pic) * .37); letter-spacing:.02em;}
.p2-mark.is-num{letter-spacing:0; white-space:nowrap;}
.p2-mark.is-photo{padding:3px;}
.p2-mark.is-photo img{display:block; width:100%; height:100%; border-radius:7px; object-fit:cover;
  -webkit-touch-callout:none; -webkit-user-drag:none; -webkit-user-select:none; user-select:none;}   /* (a long press opens no picture menu, lifts nothing: v2-schedule's, every page's since the integration) */
.p2-mark.is-big{--p2-pic:var(--p2-big); border-radius:18px;}
.p2-mark.is-big.is-photo{padding:4px;}
.p2-mark.is-big.is-photo img{border-radius:14px;}
.p2-mark.is-out{opacity:.5;}
/* on the paper the marks are printed */

/* ---------------------------------------- FOUNDATION: the framed box (p2Box) ----------------------------------------
   A number with its small grey word ("2.1 pts", "Bay 5"), in the value column; or a square round a single number (a handicap,
   a season's skins: is-sq). */
.p2-box{box-sizing:border-box; display:grid; place-items:center; min-width:var(--p2-pic); height:var(--p2-pic); padding:0 8px;
  border:1px solid var(--p2-frame); border-radius:10px; font-size:18px; font-weight:600; letter-spacing:-.01em; white-space:nowrap;
  font-variant-numeric:tabular-nums;}
.p2-box em{margin-left:3px; font-style:normal; font-size:13px; font-weight:500; letter-spacing:0; color:var(--p2-grey);}
.p2-box em.is-pre{margin:0 4px 0 0;}
.p2-x2{font-family:inherit; font-size:12px; color:var(--p2-grey);}   /* a doubled team total's ×2 (styles.css .x2-mark; short-pair) */
/* (on a page, with the band and the bars warm, the framed boxes and the Info tiles step back to the rule's line: the bars and
   the band carry the structure, the box only holds its number (v2-tweaks). A box's line is one step up from its ground: on the
   page (--ink) that is the rule (1.41:1); in a popup (raised) the frame (1.64:1), as the rule there would be 1.27:1, too faint
   to hold a box: popups keep the frame, the same one step up from their own ground; colour-tone: so again since fin-colour) */
.p2-page :is(.p2-box, .p2-tile){border-color:var(--p2-rule);}
.p2-row:not(.is-sq) > .p2-box{justify-self:stretch;}
/* a figure that rolls when a round lands (p2Box o.numCls "pts": the Leaderboard's points, strokes and a record's W, L and T;
   32-list-motion.js rollNumber): a box of its own, so the count strip has a width and height to run in (an inline span has
   none: playCountStrip drew nothing and the number changed in one frame; found by the review after the integration) */
.p2-box .pts{display:inline-block;}

/* ---------------------------------------- FOUNDATION: the quiet line (p2None) ----------------------------------------
   One quiet line, in the same place on every page, for "nothing here yet". No logo, no helper sentence. */
.p2-none{margin:0; padding:28px var(--p2-gut) 8px; text-align:center; font-size:15px; font-weight:500; line-height:1.4; color:var(--p2-grey);}
.p2-sec .p2-none{padding:18px var(--p2-gut) 6px;}

/* ---------------------------------------- FOUNDATION: the week strip (p2Strip; G3) ----------------------------------------
   The week control of every week page (Teams W4): month, day, "Wk N" / "Today" / "PO 1", a tick once played. G3 (Logan's pick):
   a tapped date glides to the middle on the compositor (36-p2-core.js p2StripGlide: the track moved by a transform, a
   critically damped spring over .55s, no overshoot) while the gold eases off the old date and onto the new over .2s. Gold only on
   the chosen date (its frame, tint and words) and on Today's word; the months are grey.
   It FLOATS (v2-tweaks; Logan: "the schedule should be floating there shouldn't be a black block behind it"): in its place the
   strip paints nothing, so between and round the dates the page and its watermark show; each date is its own solid box (its
   fill, its frame, a soft shadow inside the strip's 6px foot). Pinned, with the list running under it, it takes the warm dark
   --p2-band (the pin's rules above), so the dates sit in one piece under the band and nothing shows between them. Solid, so
   Reduce Transparency has nothing to take away: no blur is needed. */
.p2-strip{box-sizing:border-box; display:block; height:var(--p2-strip-h); overflow-x:auto; overflow-y:hidden; padding:16px var(--p2-gut) 6px;
  scroll-padding:0 var(--p2-gut); scroll-snap-type:x proximity; overscroll-behavior-x:contain; scrollbar-width:none;
  -webkit-overflow-scrolling:touch; touch-action:pan-x pan-y;
  isolation:isolate;}   /* its own stacking context: the days' raised words stay inside it (a tap made and dropped 74-135 layers without it) */
.p2-strip::-webkit-scrollbar{display:none;}
/* PINNED IT STILL FLOATS (v202; Logan, on the live Scoring page pinned: "make sure the calendar view always stays floating"): no
   ground behind the dates, pinned or not. What scrolls under them shows round and between them, faded in the page's own colour
   (the veil: solid over the 14px under the band, 72% between the dates, 45% at the foot, or 82% there when a header row is held
   under it: --p2-strip-foot, 36-p2-core.js p2PinApply), so the content fades as it slides up under the band and nothing busy
   stands between the dates and a held header row. Across the whole screen (a border image whose outset reaches 100vw past both
   sides: ink only, never a sideways scroll), so on a desk no edge of it cuts the watermark into a column. The 1px up closes the
   seam a screen that is not a whole number of pixels per point would leave, in the band's own tan (the band keeps its last pixel). */
html[data-p2-pinned] .p2-page > .p2-pin > .p2-strip{border-image:linear-gradient(var(--p2-page) 14px, var(--p2-veil-mid) 55%, var(--p2-strip-foot, var(--p2-veil-foot))) fill 0 / 0 / 0 100vw;
  box-shadow:0 -1px 0 var(--p2-tan);}
/* (Reduce Transparency: nothing see-through, the strip pinned on v2.0.1's warm dark; a held row's the same, above) */
@media (prefers-reduced-transparency: reduce){ html[data-p2-pinned] .p2-page > .p2-pin > .p2-strip{border-image:none; background:var(--p2-band);} }
.p2-track{position:relative; display:flex; gap:8px; width:max-content; margin:0 auto;}
.p2-day{position:relative; flex:none; width:64px; height:83px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
  padding:0; border:1px solid var(--p2-frame); border-radius:18px; background:var(--p2-raised); box-shadow:var(--p2-lift); cursor:pointer; scroll-snap-align:center;}
.p2-day::after{content:""; position:absolute; inset:-1px; border:1px solid var(--p2-gold); border-radius:18px; background:var(--p2-gold-tint);
  opacity:0; transition:opacity .2s ease; pointer-events:none; z-index:-1;}
/* (animation refinement round 2: each date draws its gold frame under its words inside a stacking context of its own, the
   words in its own flow; raised over the frame at z-index 1, every date's words were lifted onto layers of their own at a tap,
   to be put together over the fading frame: 25-55 layers made and dropped a tap. The same picture at rest, to the level.) */
.p2-day{isolation:isolate;}
.p2-mon{font-size:12px; font-weight:600; line-height:16px; letter-spacing:.08em; text-transform:uppercase; color:var(--p2-grey);}
.p2-num{font-family:'Baloo 2', sans-serif; font-size:30px; font-weight:700; line-height:31px; color:var(--p2-text); font-variant-numeric:tabular-nums;}
.p2-wk{display:flex; align-items:center; font-size:14px; font-weight:600; line-height:16px; color:var(--p2-grey); white-space:nowrap;}
.p2-wk svg{margin-right:3px;}
.p2-day :is(.p2-mon, .p2-num, .p2-wk){transition:color .2s ease;}
.p2-day.is-past{background:var(--p2-page); border-color:var(--p2-rule);}   /* (quiet as before, the page's own colour, but its own fill: content scrolling under the floating strip never shows through a played date) */
.p2-day.is-past :is(.p2-mon, .p2-num, .p2-wk){color:var(--p2-quiet);}
.p2-day.is-today .p2-wk{color:var(--p2-now);}   /* "Today" alone (is-now, the next week to play on an ordinary day, lights nothing) */
.p2-day.is-on::after{opacity:1;}
.p2-day.is-on :is(.p2-mon, .p2-num, .p2-wk){color:var(--p2-lit);}
@media (prefers-reduced-motion: reduce){ .p2-day::after, .p2-day :is(.p2-mon, .p2-num, .p2-wk){transition:none;} }
/* a date presses as every other tap does (the one press, eased down and back up: the transition on the date itself, as today's
   shared list had it for .psc-day; v2-schedule's critic M3) */
.p2-day{transition:transform .12s ease;}
.p2-day:active{transform:scale(.97);}
@media (prefers-reduced-motion: reduce){ .p2-day{transition:none;} }
/* while the track glides (p2StripGlide marks it, live only) its days have no snap: WebKit worked the snap points out from the
   moved track and pulled the scroll off the glide's target, so the date jumped as the transform came off (v2-teams) */
.p2-track.is-gliding > .p2-day{scroll-snap-align:none;}
/* while the track glides (p2StripGlide marks it, live only) its days have no snap: WebKit worked the snap points out from the
   moved track and pulled the scroll off the glide's target, so the date jumped as the transform came off (v2-teams) */

/* ---------------------------------------- FOUNDATION: the week's content (p2WeekBox; today's date slide) ----------------------------------------
   What a date tapped changes on a week page (Teams' drawn teams, Scoring's night, Skins' week, Schedule's week): one block in a
   still box under the pinned band and strip. A date tapped slides the new week in from the side its date lies on while the
   week it replaces (.p2-wkout, live only) slides out the other way over the same place, clipped at the box's sides; what the
   page draws after the box is carried to its new place (36-p2-core.js p2SlidePlay: today's .psc-cardwrap and .psc-card-out,
   every week page's). The moves are the script's (two keyframes of transform, the compositor's): no transition or animation
   here. Both are their own block formatting context, so a margin inside never runs out of them (the box's height is its
   week's, the week going out sits exactly where it stood); the clip makes no scroll box (overflow-x:clip), so a section's
   header row inside still pins under the band. */
.p2-wkbox{position:relative; display:flow-root; overflow-x:clip;}
/* a row in it runs edge to edge, so its focus ring is drawn inside it: outside, the clip cut it at both sides and the header and
   the separator covered its top and bottom (r3-fix-look, the final audit's round 3, board-look P1: Scoring's and Skins' rows) */
.p2-wkbox [role="button"]:focus-visible{outline-offset:-3px;}
.p2-wkbody{display:flow-root;}
.p2-wkout{position:absolute; display:flow-root; top:0; left:0; right:0; pointer-events:none;}   /* (the block's own display: a change of display would make WebKit build the whole week's boxes again in the swap's frame, 4-8 ms on Makis League's Scoring) */
/* (a section after the week, Skins' SEASON, keeps its 14px from the week's last section, as .p2-sec + .p2-sec gave it) */
.p2-wkbox:not(:last-child) > .p2-wkbody > .p2-sec:last-child{margin-bottom:14px;}
/* What follows the week while it is carried (live only: 36-p2-core.js p2SlideCarriedLook, from its held start until it lands):
   on the page's own ground, so a week sliding under it never shows through its words, and its header row, held under the band
   as the date was tapped, keeps the warm dark until it lands. Painted, never moved: the carry is still the transform alone. */
.p2-page > .p2-carried{background:var(--p2-page);}
.p2-page > .p2-carried-held > .p2-hrow{--p2-held-lift:var(--p2-lift);}

/* ---------------------------------------- FOUNDATION: the popup frame (p2PopHead; the box is the app's .modal) ----------------------------------------
   League Central C's popup: in the middle over the dimmed page (the app's own .modal-overlay, its bubble and push), its name
   between the subject's mark and the circled ×; a list inside keeps its header row under the name. A popup with a text box
   (has-box) keeps itself in the visible part of the screen above the keyboard (36-p2-core.js p2PopPlace: visualViewport). */
.modal.modal-p2{--p2-gut:0px; box-sizing:border-box; width:min(100%, 520px); max-width:520px; padding:0 18px 10px; border:1px solid var(--p2-frame);
  border-radius:22px; background:var(--p2-raised); color:var(--p2-text); scrollbar-width:none;}
.modal.modal-p2::-webkit-scrollbar{display:none;}
/* The desk's own popup rules reach into every .modal (styles.css: .modal h3's 20px and its foot margin, the gold M before a
   title, the old pinned ×'s room --x-pad-*, the touch grab bar): none is a v2 popup's (critic W3). The title is the head's alone
   (21px, no M), the padding the frame's, no grab bar (the head is the push's grab zone; the LIVE panel keeps today's sheet's
   bar); on a phone 24px from the screen's sides. (Central, popups and night each beat them for their own popups and the
   round's drive / pin sheet had none: one rule for every v2 popup since the integration.) */
.modal.modal-p2{--x-pad-top:10px; --x-pad-side:18px;}
/* No grey WebKit flash on a tap anywhere on the players' side (the foundation's rule for its pages and rounds, carried to every
   control of a v2 popup and to the dock's tabs; the iOS 27 simulator's final pass, 2026-10-20). The popup's box gives buttons
   back the browser's grey (styles.css .modal: -webkit-tap-highlight-color:initial), so the LIVE panel's Wrong team and "Yes,
   that's us", Discard / Keep / Resume and the drive / pin sheet's boxes, Yes / No, keys and Done flashed a grey box over their
   own press; and the dock's tabs are buttons since v2 (today's were divs, which iOS never flashed): a grey square over the tab
   at every tap, under the gold. */
.modal.modal-p2 :is(button, [data-action], input){-webkit-tap-highlight-color:transparent;}
.play-tabs, .play-tab{-webkit-tap-highlight-color:transparent;}
.modal.modal-p2 h3.p2-poptitle{margin:0; font-size:21px;}
.modal.modal-p2 h3::before{content:none; display:none;}
@media (hover:none) and (pointer:coarse){ .modal.modal-p2.modal-pushable:not(.modal-live)::before{content:none;} }
@media (max-width:560px){ .modal.modal-p2{width:min(calc(100% - 24px), 520px);} }
/* (the push's grab zone, as the old popup's title: the browser never scrolls from it and no text is selected there) */
.p2-pophead{touch-action:none; -webkit-user-select:none; user-select:none;}
.p2-pophead{position:sticky; top:0; z-index:3; display:grid; grid-template-columns:var(--p2-pic) minmax(0, 1fr) var(--p2-pic); align-items:start; column-gap:6px;
  padding-top:16px; background:var(--p2-raised);}
.p2-pophead > .p2-mark{grid-column:1; background:var(--p2-inset);}
.p2-poptitle{grid-column:2; display:flex; justify-content:center; align-items:center; gap:7px; margin:0; padding-top:7px; text-align:center;
  font-family:'Baloo 2', sans-serif; font-weight:600; font-size:21px; line-height:1.25; color:var(--p2-text); overflow-wrap:anywhere;}
.p2-x{grid-column:3; justify-self:end; width:44px; height:44px; margin:-2px -8px 0 0; padding:0; border:0; border-radius:50%; background:transparent;
  display:grid; place-items:center; color:var(--p2-grey); cursor:pointer;}
.p2-x svg{display:block;}
/* every v2 popup's circled × presses as today's .modal-x did (the one press, .97 over .12s, easing down and back up; the LIVE
   panel and the drive / pin sheet included: the review after the integration found theirs unpressed); Reduce Motion: the press at
   once, no easing (today's) */
.modal-p2 .p2-x{touch-action:manipulation; -webkit-tap-highlight-color:transparent; transition:border-color .15s ease, color .15s ease, transform .12s ease;}
.modal-p2 .p2-x:active{transform:scale(.97);}
@media (prefers-reduced-motion: reduce){ .modal-p2 .p2-x{transition:none;} }
.p2-popsub{grid-column:1 / -1; display:block; margin:1px 0 0; text-align:center; font-size:13px; font-weight:500; line-height:1.35; color:var(--p2-grey);
  overflow-wrap:anywhere;}
.modal-p2 .p2-tiles{margin:16px 0 0;}
.modal-p2 .p2-sec{margin-top:16px;}
.modal-p2 .p2-sec > .p2-hrow{top:var(--p2-pophead-h, 64px); background:var(--p2-raised); box-shadow:0 -2px 0 var(--p2-raised);}
/* (colour-tone: a popup's header rows are v2.0.4's again, grey labels on the popup's own colour with the frame's dividers; the green
   labels are the pages' own, Logan: "dial it back like 25% usage of the green") */
.modal-p2 .p2-hrow{border-bottom:1px solid var(--p2-rule); color:var(--p2-grey);}
.modal-p2 .p2-hrow:not(.is-wide) .p2-h1:not(:empty)::after, .modal-p2 .p2-h3::before{background:var(--p2-frame);}
.modal-p2 .p2-rows > li + li::before{left:0; right:0;}   /* (the bars the page's own solid green --p2-bar: club green, fin-colour) */
.modal-p2 .p2-none{padding:22px 0 12px;}
.modal-p2.has-box{transition:translate .26s cubic-bezier(.3,.45,.2,1);}   /* p2PopPlace moves it by translate alone (the bubble owns transform) */
@media (prefers-reduced-motion: reduce){ .modal-p2.has-box{transition:none;} }

/* ---------------------------------------- FOUNDATION: the scorecard (p2Card), two looks from one markup ----------------------------------------
   The same grid, the same cell sizes in both: a label column (Hole, Gross, Net), nine holes, Out/In, Total; 18 holes are the
   front nine (no Total column) over the back nine. DARK (the page look, Scoring C in the house tones): framed cells on the page,
   the header and labels grey, the counted ball lit gold on its tint. PAPER (the round's cream card): ruled boxes on cream, the
   HOLE row a band, ink figures, the counted ball on a gold tint, ringed totals on a signed card (has-ring). The round always
   uses paper (.is-paper); the pages' cards (.is-page) follow html[data-p2-cards] (36-p2-core.js P2_CARD_LOOK). */
/* (--c-tot 48: TOTAL in the label caps is 43.6px wide, its last letter's spacing included; in 42 it ran over the cell's line on
   every 18-hole card, the final audit's design 6. 48 gives it the room OUT has in its 32, 2px a side; the nine holes give 0.7px each) */
.p2-card{--c-lab:42px; --c-sum:32px; --c-tot:48px; --c-h:30px; --c-hh:24px; display:flex; flex-direction:column; gap:14px; min-width:0; color:var(--p2-text);}
:where(.p2-card) button{font:inherit; color:inherit; -webkit-tap-highlight-color:transparent;}   /* (at no weight: the cells' own rules win) */
.p2-card-p{min-width:0;}
.p2-card-who{display:flex; align-items:center; gap:var(--p2-gap); margin:0 0 8px; min-width:0;}
.p2-card-id{min-width:0; display:flex; flex-direction:column; gap:1px;}
.p2-card-name{font-family:'Baloo 2', sans-serif; font-weight:600; font-size:18px; line-height:1.2; overflow-wrap:anywhere;}
.p2-card-line{font-size:13px; font-weight:500; line-height:1.35; color:var(--p2-grey);}
.p2-card-top{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 0 12px; border-bottom:1px solid var(--p2-rule);}
.p2-card-word{flex:none; display:block; width:118px; aspect-ratio:450 / 142; background:var(--p2-m);
  -webkit-mask:url("/assets/logo-b-word.png?v=f0608b7bcc672fa4") center / contain no-repeat; mask:url("/assets/logo-b-word.png?v=f0608b7bcc672fa4") center / contain no-repeat;}
.p2-card-where{min-width:0; display:flex; flex-direction:column; align-items:flex-end; text-align:right;}
.p2-card-course{font-family:'Baloo 2', sans-serif; font-weight:600; font-size:18px; line-height:1.2; overflow-wrap:anywhere; text-wrap:balance;}
.p2-card-date{font-size:13px; font-weight:500; line-height:1.35; color:var(--p2-grey);}
.p2-cg{display:grid; gap:1px; grid-template-columns:var(--c-lab) repeat(9, minmax(0, 1fr)) var(--c-sum) var(--c-tot);}
.p2-cg.is-front{width:calc(100% - var(--c-tot) - 1px); grid-template-columns:var(--c-lab) repeat(9, minmax(0, 1fr)) var(--c-sum);}
.p2-cg.is-nine{grid-template-columns:var(--c-lab) repeat(9, minmax(0, 1fr)) var(--c-tot);}
.p2-cg + .p2-cg{margin-top:8px;}
.p2-cg > *{box-sizing:border-box; display:grid; place-items:center; min-width:0; height:var(--c-h); margin:0; padding:0; border:0; border-radius:0;
  background:transparent; font-size:14px; font-weight:500; line-height:1; font-variant-numeric:tabular-nums; white-space:nowrap;}
.p2-cg > .p2-ch{height:var(--c-hh); font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--p2-grey);}
.p2-cg > .p2-cl{justify-items:start; padding-left:6px; font-size:12px; font-weight:600; color:var(--p2-grey);}
.p2-cg > .p2-cs{font-weight:700;}
.p2-cg > button.p2-cv{cursor:pointer;}
/* dark */
.p2-cg > :is(.p2-cv, .p2-cs){border-radius:10px; box-shadow:inset 0 0 0 1px var(--p2-frame); background:var(--p2-page);}
.p2-cg > .p2-cv.is-on{background:var(--p2-lit-tint); box-shadow:none; color:var(--p2-lit); font-weight:700;}
.p2-cg > .p2-cv.is-bad{color:var(--p2-alert); box-shadow:inset 0 0 0 1.5px var(--p2-alert); font-weight:700;}
.p2-cg > .is-ring{box-shadow:inset 0 0 0 2px var(--p2-gold);}
/* paper */
:is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page){padding:16px 14px; border-radius:18px; background:var(--p2-paper); color:var(--p2-paper-ink); box-shadow:var(--p2-paper-edge);}   /* (its edge: none on the dark page, a hairline and a soft lift on the light one; fix-look) */
:is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page) .p2-card-top{border-bottom-color:var(--p2-paper-rule);}
:is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page) .p2-card-word{background:var(--p2-paper-ink);}
:is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page) :is(.p2-card-line, .p2-card-date){color:var(--p2-paper-grey);}
:is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page) .p2-cg{background:var(--p2-paper-rule); border:1px solid var(--p2-paper-rule); border-radius:10px; overflow:hidden;}
:is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page) .p2-cg > *{border-radius:0; box-shadow:none; background:var(--p2-paper);}
:is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page) .p2-cg > .p2-ch{background:var(--p2-paper-band); color:var(--p2-paper-grey);}
:is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page) .p2-cg > .p2-cl{color:var(--p2-paper-grey);}
:is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page) .p2-cg > .p2-cv.is-on{background:var(--p2-paper-gold); color:var(--p2-paper-ink); font-weight:700;}
:is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page) .p2-cg > .p2-cv.is-bad{color:var(--p2-paper-alert); box-shadow:inset 0 0 0 1.5px var(--p2-paper-alert); font-weight:700;}
:is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page) .p2-cg > .is-ring{box-shadow:inset 0 0 0 2px var(--p2-brass);}
:is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page).has-ring .p2-cs.is-tot > span{display:inline-grid; place-items:center; min-width:34px; height:24px;
  padding:0 5px; border:1.5px solid var(--p2-paper-ink); border-radius:50%; transform:rotate(-4deg);}
/* the mark, printed, on the paper card (the round's paper page adds its own scope here) */
:is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page) .p2-mark{background:transparent; box-shadow:inset 0 0 0 1.5px var(--p2-paper-grey); color:var(--p2-paper-ink);}

/* a sub's word after their name on any card ("(sub)", small and grey; v2-scoring's, the card's own since the integration) */
.p2-sc-sub{font-family:'Inter', system-ui, sans-serif; font-size:13px; font-weight:500; color:var(--p2-grey);}
:is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page) .p2-sc-sub{color:var(--p2-paper-grey);}

/* LARGE TEXT (r10-players-round, the final audit's round 10 F3): below 320 px (Safari's larger text on a phone; WCAG's reflow width)
   two-digit holes and scores were cut to their first digit ("10" read "1") and the date ran over the Mulligan's. The holes at least
   two digits wide, the grid scrolling sideways inside the card when they don't all fit (a scorecard is a table), the date under the
   Mulligan's when the two don't fit side by side. Every phone at its own size is unchanged. */
@media (max-width:319px){
  .p2-cg:not(.p2-tg){grid-template-columns:var(--c-lab) repeat(9, minmax(20px, 1fr)) var(--c-sum) var(--c-tot);}
  .p2-cg.is-front{grid-template-columns:var(--c-lab) repeat(9, minmax(20px, 1fr)) var(--c-sum);}
  .p2-cg.is-nine{grid-template-columns:var(--c-lab) repeat(9, minmax(20px, 1fr)) var(--c-tot);}
  .p2-card .p2-cg, :is(.p2-card.is-paper, html[data-p2-cards="paper"] .p2-card.is-page) .p2-cg{overflow-x:auto; overscroll-behavior-x:contain;}
  .p2-cg > .p2-ch{letter-spacing:0;}
  .p2-card-top{flex-wrap:wrap; row-gap:6px;}
  .p2-card-where{flex:1 1 7em; align-items:flex-start; text-align:left;}
}
/* ---------------------------------------- FOUNDATION: a match's holes (p2MatchHoles) ----------------------------------------
   The app's circles: the first team's holes filled gold with its letters, the other's ringed, a halve a short line, a hole not
   played a faint ring. Nine across, front over back. In a card it takes the card's look. */
.p2-mh{display:flex; flex-direction:column; gap:10px;}
.p2-mh-nine{display:grid; grid-template-columns:repeat(9, minmax(0, 1fr)); gap:2px;}
.p2-mh-h{display:flex; flex-direction:column; align-items:center; gap:4px; min-width:0;}
.p2-mh-n{font-size:12px; font-weight:600; line-height:14px; color:var(--p2-grey); font-variant-numeric:tabular-nums;}
.p2-mh-d{position:relative; flex:none; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; padding-top:2px;
  font-family:'Baloo 2', sans-serif; font-size:14px; font-weight:700; line-height:1; letter-spacing:-.01em;}
.p2-mh-d.is-two{font-size:12px; letter-spacing:0;}
.p2-mh-d.is-me{background:var(--p2-gold); color:var(--p2-on-gold);}
.p2-mh-d.is-opp{color:var(--p2-text); box-shadow:inset 0 0 0 1.5px var(--p2-grey);}
.p2-mh-d.is-h{box-shadow:inset 0 0 0 1px var(--p2-frame);}
.p2-mh-d.is-h::after{content:""; width:10px; height:2px; border-radius:1px; background:var(--p2-grey);}
.p2-mh-d.is-none{box-shadow:inset 0 0 0 1.5px var(--p2-rule);}
:is(.p2-mh.is-paper, html[data-p2-cards="paper"] .p2-mh.is-page, .p2-card.is-paper .p2-mh, html[data-p2-cards="paper"] .p2-card.is-page .p2-mh) .p2-mh-n{color:var(--p2-paper-grey);}
:is(.p2-mh.is-paper, html[data-p2-cards="paper"] .p2-mh.is-page, .p2-card.is-paper .p2-mh, html[data-p2-cards="paper"] .p2-card.is-page .p2-mh) .p2-mh-d.is-opp{color:var(--p2-paper-ink); box-shadow:inset 0 0 0 1.5px var(--p2-paper-grey);}
:is(.p2-mh.is-paper, html[data-p2-cards="paper"] .p2-mh.is-page, .p2-card.is-paper .p2-mh, html[data-p2-cards="paper"] .p2-card.is-page .p2-mh) .p2-mh-d.is-h{box-shadow:inset 0 0 0 1px var(--p2-paper-rule);}
:is(.p2-mh.is-paper, html[data-p2-cards="paper"] .p2-mh.is-page, .p2-card.is-paper .p2-mh, html[data-p2-cards="paper"] .p2-card.is-page .p2-mh) .p2-mh-d.is-h::after{background:var(--p2-paper-grey);}
:is(.p2-mh.is-paper, html[data-p2-cards="paper"] .p2-mh.is-page, .p2-card.is-paper .p2-mh, html[data-p2-cards="paper"] .p2-card.is-page .p2-mh) .p2-mh-d.is-none{box-shadow:inset 0 0 0 1.5px var(--p2-paper-rule);}

/* ---------------------------------------- FOUNDATION: the house buttons (.btn.p2-btn, .p2-two) ----------------------------------------
   One button for the whole players' side (the round's foot, the LIVE panel's question and held rounds, the drive / pin
   sheet): on the .btn family, so its press, focus ring, centred words and disabled are the app's own; 50px (its own --btn-h),
   12px corners, the Frame line, 16px words; the one gold one filled; a Discard that throws away red. A label that can be long
   (the stop screens' "Back to <league>") is one line ending in "…" inside it (.p2-btn-t). Two side by side: .p2-two (one
   alone across the same width: .is-one, the LIVE panel's Send now for a round on its way, fin-night). (v2-night and v2-round
   each drew a copy; one since the integration.) */
.btn.p2-btn{--btn-h:50px; box-sizing:border-box; height:50px; min-height:50px; margin:0; padding:0 12px; border:1px solid var(--p2-frame); border-radius:12px; background:transparent;
  color:var(--p2-text); font-family:'Inter', system-ui, sans-serif; font-size:16px; font-weight:600; white-space:nowrap; touch-action:manipulation;}
.btn.p2-btn.is-gold{border-color:var(--p2-gold); background:var(--p2-gold); color:var(--p2-on-gold);}
.btn.p2-btn.btn-danger{border-color:var(--p2-alert); background:transparent; color:var(--p2-alert);}
.btn.p2-btn:disabled{opacity:.35; cursor:default;}
.btn.p2-btn .p2-btn-t{display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
@media (hover:hover) and (pointer:fine){ .btn.p2-btn:hover:where(:not(:disabled)){border-color:var(--p2-lit);} .btn.p2-btn.is-gold:hover:where(:not(:disabled)){border-color:var(--p2-gold-hover); background:var(--p2-gold-hover);} }
.p2-two{display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:10px; margin-top:14px;}
.p2-two.is-one{grid-template-columns:minmax(0, 1fr);}

/* ---------------------------------------- FOUNDATION: what is happening now (fin-look, colour C) ----------------------------------------
   The LIVE dot (the LIVE bar's, styles.css .live-bar-dot, and the LIVE panel's beside "Closes …") is "now", in the green, with
   its soft ring; its breath (live-pulse) and its stillness under Reduce Motion are styles.css's, unchanged. The strip's Today
   is the green too (the strip's own rules). A flag in the dot's place (a held round) keeps its drawing. */
:is(.is-p2, .modal-p2) .live-bar-dot:not(.is-flag){background:var(--p2-now); box-shadow:0 0 0 3px var(--p2-now-ring);}

/* ---------------------------------------- FOUNDATION: the notices (fin-look, continuity C16) ----------------------------------------
   On the players' side the corner note ("Saving…", "Saved", "Offline since 7:42 PM"), the toasts (a refusal at Start, "That
   round couldn't be sent…") and the pull's bubble are drawn in the v2 frame: the popups' raised fill and frame, the house
   words (Inter 500, 13px: no monospace on the players' side), the corner of a control (12; the pull's round bubble keeps its
   22); an error's frame in the alert red over the same raised fill (no raw red ground of its own). Where each sits, when it
   shows and how it rises and fades are the desk's, unchanged; the desk keeps its own look (the side: data-p2-side). */
:root[data-p2-side] :is(#app-toast, #save-status, #offline-status, #pull-refresh){font-family:'Inter', system-ui, sans-serif; font-size:13px; font-weight:500; letter-spacing:0;
  line-height:1.35; background:var(--p2-raised); border:1px solid var(--p2-frame); color:var(--p2-text);}
:root[data-p2-side] :is(#app-toast, #save-status, #offline-status){border-radius:12px;}
:root[data-p2-side] #app-toast{padding:11px 16px;}
:root[data-p2-side] #app-toast.has-action{padding:7px 7px 7px 16px;}
:root[data-p2-side] #app-toast.is-error{border-color:var(--p2-alert);}
:root[data-p2-side] :is(#save-status, #offline-status){padding:5px 11px;}
:root[data-p2-side] #save-status{color:var(--p2-grey);}
:root[data-p2-side] #save-status.is-saved{color:var(--p2-text);}
/* …and on League Central, the one main page with no dock under its © line, they stand clear of that line (fix-look, the final
   audit's design 18: on an iPhone the © line sits at the screen's foot, 12px over it or the home indicator's inset, and "Saved"
   after Send now landed on it, touching at 402 and over its words at 375; the toast's foot crossed it too): the corner notes 10px
   over the line's 17px, the toast its usual 10px over them. Only where they sit; how they rise and fade is the desk's. */
html:has(#sec-main > .p2-lc) :is(#save-status, #offline-status){bottom:calc(max(12px, env(safe-area-inset-bottom, 0px)) + 27px);}
html:has(#sec-main > .p2-lc) #app-toast{bottom:calc(max(12px, env(safe-area-inset-bottom, 0px)) + 37px);}

/* What floats over the page on the players' side (the dock, its tucked pill, the LIVE bar: styles.css draws their shadows as the desk's
   raw black for the staff side's dock) casts --p2-float, in both looks (fin-nav's ask: one family, one shadow; the dark look's value is
   the dock's own, so dark is as it was; the light look's is a soft brown). */
:root[data-p2-side] :is(.dock-shade, .dock-shade-dot, .live-bar-shade){box-shadow:var(--p2-float);}

/* ---------------------------------------- FOUNDATION: the light look in the shared pieces (fin-look) ----------------------------------------
   The few places outside this file that draw a colour of their own, given the light look's roles while the players' side
   shows in Light (the dark look keeps each exactly as it is, in styles.css): the faint logo (its own light picture, the same
   size and place), what floats (the pull's bubble; the dock's and the LIVE bar's cast --p2-float in both looks, above), the shade over a screen another slides over and the
   sliding page's edge, the watermark's blend through a morph (lighten shows it over the dark page; over the light page it is
   darken, the same rule turned round, so it never vanishes in a morph), the sync banner's two grounds. */
@media (prefers-color-scheme: light){
  :root[data-p2-side] .modal-overlay::before{background:var(--dim); box-shadow:0 -100vh 0 100vh var(--dim), 0 100vh 0 100vh var(--dim-foot, var(--dim));}   /* (the phone's deeper dim over the dock reads --dim / --dim-solid itself: styles.css) */
  :root[data-p2-side] .page-mark::before{background-image:var(--p2-mark);}
  :root[data-p2-side] #pull-refresh{box-shadow:var(--p2-float);}
  :root[data-p2-side]::view-transition-group(dim){background:var(--p2-shade);}
  :root[data-p2-side]::view-transition-group(slide-top){box-shadow:var(--p2-edge);}
  :root[data-p2-side]::view-transition-group(mark){mix-blend-mode:darken;}
  :root[data-p2-side] .sync-banner.is-warn{background:var(--p2-gold-tint);}
  :root[data-p2-side] .sync-banner.is-conflict{background:color-mix(in srgb, var(--p2-alert) 12%, var(--p2-page));}
}

/* =====================================================================================================================
   THE PAGE AREAS. Each builder writes only inside its own section, between its banner and the next.
   ===================================================================================================================== */

/* NARROW, the foundation's pieces (r10-players-pages F2; the narrow block's note is in AREA: nav, at the end): under 340 CSS px
   decoration steps aside before a word breaks. The gutters narrow; the way back sits above the M (the round's head alike: the M never
   jumps going into a round); the capitals space tighter; a row's initials' square (aria-hidden, never a photo) goes and its boxes go
   under its name when the name can't keep 7em; a popup takes the overlay's width, its square aside, its tiles wrapping. */
@media (max-width:340px){
  :root{--p2-gut:12px; --p2-gap:8px; --p2-pos:24px;}
  .p2-head:has(.p2-back){padding-top:52px;}
  .p2-head .p2-back{top:4px;}
  .p2-league{padding-left:.12em; letter-spacing:.12em;}
  :is(.p2-row, .p2-hit, .p2-hrow){display:flex; flex-wrap:wrap; align-items:center; column-gap:var(--p2-gap); row-gap:6px;}
  :is(.p2-row, .p2-hit) > .p2-mark:not(.is-photo){display:none;}
  :is(.p2-row, .p2-hit) > .p2-pos{flex:none; min-width:var(--p2-pos);}
  :is(.p2-row, .p2-hit) > .p2-who, .p2-row > .p2-hit{flex:1 1 7em;}
  :is(.p2-row, .p2-hit) > .p2-box{flex:none;}
  :is(.p2-row, .p2-hit) > .p2-who ~ .p2-box:not(.p2-box ~ .p2-box){margin-left:auto;}
  .p2-hrow > .p2-h2{flex:1 1 auto;}
  .p2-hrow > .p2-h3{margin-left:auto;}
  .modal.modal-p2{padding-inline:12px; --x-pad-side:12px;}
  .modal.modal-p2:not(.modal-live){width:100%;}   /* (the overlay's own margin kept: a popup's name had 56px at 188) */
  .p2-pophead{grid-template-columns:minmax(0, 1fr) var(--p2-pic);}
  .p2-pophead > :is(.p2-mark, .p2-pophead-gap){display:none;}
  .p2-pophead > .p2-poptitle{grid-column:1;}
  .p2-pophead > .p2-x{grid-column:2;}
  .p2-tiles, .p2-tiles.n-2, .p2-tiles.n-1{grid-template-columns:repeat(auto-fit, minmax(min(100%, 5em), 1fr)); justify-content:stretch; row-gap:8px;}
}

/* ---------------------------------------- AREA: leaderboard (36-p2-leaderboard.js) ---------------------------------------- */
/* A staff-marked no-show's FF after a team's name (35-player.js forfeitTagHtml, the desk's .sub-tag): on the players' side a
   quiet grey word, no gold, no pill (the M is the Leaderboard's one gold; no coloured pills) */
.p2-name .sub-tag{display:inline; margin-left:6px; padding:0; border:0; border-radius:0; background:none; vertical-align:baseline;
  font-family:'Inter', sans-serif; font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--p2-grey);}
/* THE RECORD AND THE POINTS (v2.0.1; 36-p2-leaderboard.js): a match-play league shows its W-L-T record and its match points,
   two boxes side by side. The record's box is a column of its own between the name and the box column (--p2-recw: as wide as
   the board's widest record, p2-lb-r66 to r97), in the header row and every season row alike, so the header row's divider and
   every record box's left edge stand on one line; the points' box column narrows to what its figures need (p2-lb-v56 to
   v80), so the name keeps its room. */
.p2-lb-r66{--p2-recw:66px;}
.p2-lb-r77{--p2-recw:77px;}
.p2-lb-r87{--p2-recw:87px;}
.p2-lb-r97{--p2-recw:97px;}
.p2-lb-v56{--p2-valw:56px;}
.p2-lb-v62{--p2-valw:62px;}
.p2-lb-v66{--p2-valw:66px;}
.p2-lb-v70{--p2-valw:70px;}
.p2-lb-v74{--p2-valw:74px;}
.p2-lb-v80{--p2-valw:80px;}
/* A MATCH-PLAY BOARD'S ROOM FOR THE NAME (fix-board, the final audit's design 1: with real team names the name had 83px at 375
   and words were cut): its columns 8px apart (12 elsewhere: --p2-gap, its header rows the same, so every divider stays on its
   box's edge), the pair still 6px apart (.p2-lite reaches 2px into the gap), the playoffs' sections their own value column (the
   house 78px, or wider: 36-p2-leaderboard.js p2LbPoCls). The record box, the lighter points box and their 16px figures as
   Logan picked them (look c). */
.p2-lb-pair{--p2-gap:8px;}
.p2-lb-po{--p2-valw:78px;}
.p2-hrow.is-lb.has-pair{grid-template-columns:var(--p2-pos) var(--p2-pic) minmax(0, 1fr) var(--p2-recw) var(--p2-valw);}
.p2-row.is-lb.has-rec{grid-template-columns:var(--p2-pos) var(--p2-pic) minmax(0, 1fr) var(--p2-recw) minmax(var(--p2-valw), max-content);}
.p2-row.is-lb.is-first.has-rec{grid-template-columns:var(--p2-pos) var(--p2-first) minmax(0, 1fr) var(--p2-recw) minmax(var(--p2-valw), max-content);}
/* the record in its framed box, narrower than the house box: "5-1-1" at 16px, the plain hyphen between the house's tabular
   figures (v2.0.0's own record); the points beside it (6px apart, the pair under one divider) in a second, lighter box: no
   frame line, the bars' warm shade, lighter figures */
.p2-hrow.is-lb.has-pair .p2-h3{grid-column:4 / -1;}
.p2-box.p2-recbox{padding:0 6px; font-size:16px;}
.p2-box.p2-lite{margin-left:-2px; padding:0 6px; border-color:transparent; background:var(--p2-warm); font-size:16px; font-weight:500;}
.p2-box.p2-lite em{font-size:12px;}
.p2-row.is-lb.is-first .p2-box:is(.p2-recbox, .p2-lite){font-size:16px;}   /* (first place's pair stays 16px, its boxes taller: the name keeps its room) */
/* THE RECORD ON THE GREY LINE AT 400px AND UNDER (fx-players, the full audit's players M1: at 375 a match-play name had about 83px
   beside the record's box and the points' box, "The Shankapotamuses" broke as "The / Shankapotamuse / s" at the 12.5px floor and
   "Weapons of Grass Destruction" took 3 lines and its players 2 more): the W-L-T record leaves its box and stands first on the grey
   line under the name, the players' line after it, and the points' lighter box stays alone at the right, so the name has the
   record's column too (about 150px at 375: "Shankapotamuses" whole at 18px, "Weapons of Grass Destruction" in two lines). The
   markup is the same at every width (36-p2-leaderboard.js p2LbRow): the row's grid takes the name's box apart (display:contents),
   the name across the top, the record (its figures still roll: .pts) and the players' line beside each other under it; the
   header row's divider stands before the points alone. Over 400px (Logan's 402 iPhone, the desk) look c as Logan picked it, the two
   boxes side by side. A word still too long for the name's width is set smaller as before (the name its own size container). */
@media (max-width:400px){
  .p2-hrow.is-lb.has-pair{grid-template-columns:var(--p2-pos) var(--p2-pic) minmax(0, 1fr) var(--p2-valw);}
  .p2-hrow.is-lb.has-pair .p2-h3{grid-column:4;}
  .p2-row.is-lb.has-rec{grid-template-columns:var(--p2-pos) var(--p2-pic) auto minmax(0, 1fr) minmax(var(--p2-valw), max-content); row-gap:1px;}
  .p2-row.is-lb.is-first.has-rec{grid-template-columns:var(--p2-pos) var(--p2-first) auto minmax(0, 1fr) minmax(var(--p2-valw), max-content);}
  .p2-row.is-lb.has-rec > :is(.p2-pos, .p2-mark){grid-row:1 / 3;}
  .p2-row.is-lb.has-rec > .p2-who{display:contents;}
  .p2-row.is-lb.has-rec > .p2-who > .p2-name{grid-column:3 / 5; grid-row:1; align-self:end;}
  .p2-row.is-lb.has-rec > .p2-who.is-fit > .p2-name{container-type:inline-size;}
  .p2-row.is-lb.has-rec > .p2-who > .p2-sub{grid-column:4; grid-row:2; align-self:start;}
  .p2-row.is-lb.has-rec > .p2-box.p2-recbox{grid-column:3; grid-row:2; align-self:start; justify-self:start; display:block; min-width:0; height:auto; padding:0;
    border:0; border-radius:0; background:none; font-size:13px; font-weight:500; line-height:1.35; letter-spacing:0; color:var(--p2-grey);}
  .p2-row.is-lb.has-rec > .p2-box.p2-lite{grid-column:5; grid-row:1 / 3; margin-left:0;}
}
/* A PLAYOFF MATCH IS ONE ENTRY (fix-board, the final audit's design 2: its two teams one list item, the bars between matches
   only, Scoring's way): its two rows 12px apart, as a match's rows on Scoring (.p2-sc-g), each its own tap */
.p2-lb-m > .p2-row:first-child{padding-bottom:6px;}
.p2-lb-m > .p2-row + .p2-row{padding-top:6px;}

/* ---------------------------------------- AREA: players (36-p2-players.js) ----------------------------------------
   The Players page (p2PlayersPage): the band, the tiles, the list of rows (a square, the name and its crown, the handicap's
   box; none set: no box) under its PLAYER | HCP header row (fin-words: the foundation's p2HeadRow, its value column a square
   box's, o.sqv / o.val). Everything is the foundation's pieces; the page adds only the room between the band and the tiles
   (16px under a band: v2.0.1, the band above the tiles). */
.p2-players > .p2-tiles{margin-top:16px;}
/* ---------------------------------------- AREA: teams (36-p2-teams.js) ----------------------------------------
   The Teams page (teams-2 A; W4 for teams drawn each week): the foundation's rows (.p2-row.is-team: the 68px square, then the
   names) and marks (.p2-mark.is-big). Only the photo is the page's own: a button holding the square, with no chrome of its own
   (the square is the mark: sized by CSS before the picture loads, so nothing moves as photos arrive), and no Save Image sheet
   on a long press. The photo presses itself in every row, alone (today's .tt-photo: the one press, scale .97, easing down and
   back up over .12s: the transition sits on the resting photo; Reduce Motion: at once, no easing); a fixed team's row around
   it tints as every row does (the one tap rule, fin-look: until then it had no feedback at all), never while the photo is
   pressed. */
.p2-photo{display:block; box-sizing:border-box; width:var(--p2-big); height:var(--p2-big); margin:0; padding:0; border:0; border-radius:18px; background:none; cursor:pointer;}
.p2-photo img{-webkit-touch-callout:none; -webkit-user-select:none; user-select:none;}
.p2-photo{touch-action:manipulation; -webkit-tap-highlight-color:transparent; transition:transform .12s ease;}
.p2-photo:active{transform:scale(.97);}
@media (prefers-reduced-motion: reduce){ .p2-photo{transition:none;} }

/* ---------------------------------------- AREA: scoring (36-p2-scoring.js) ---------------------------------------- */
/* Scoring: each team's result line (or a match's two rows, one line), one item of the night's list, its scorecard unfolded right
   under it on a tap (fin-scoring, Logan's 1). The rows are the foundation's .p2-row (written as divs inside the item); the card is
   p2Card; no bars inside a card. */
.p2-sc-g{padding:12px 0;}
/* LOW ROUNDS: a person who holds the low gross and the low net, one row with both boxes (fix-board, the final audit's design 21) */
.p2-row.p2-sc-two{grid-template-columns:var(--p2-pic) minmax(0, 1fr) auto var(--p2-valw);}
.p2-sc-g > .p2-row{padding-top:0; padding-bottom:0;}
.p2-sc-g > .p2-row + .p2-row{margin-top:12px;}
.p2-sc-cb{padding:6px var(--p2-gut) 14px;}
/* a team not in yet: its state where its figure will go, in the value column, quiet (fin-scoring; the empty audit's 2 and 4) */
.p2-sc-st{justify-self:center; font-size:13px; font-weight:500; line-height:1.35; color:var(--p2-quiet); white-space:nowrap;}
/* (a result with a card is a button, p2-fold: a single line is the foundation's row, a match's two rows one line, .p2-sc-g.p2-tint;
   both TINT by the foundation's one tap rule, fin-look's) */
/* the card unfolding and folding (36-p2-scoring.js p2FoldToggle: the popups' played-week unfold): it fades up under the rows
   sliding down as it opens (its opacity, live only); while it shuts, a copy where it was (.p2-sc-ghost) fades out under the rows
   sliding up over it; the card or its copy is cut at the top of the rows crossing it while they move (.p2-sc-clip, live only:
   p2FoldClips), so it never shows through them and the rows keep the page and its watermark under them (scoring-smooth: until
   then a moving row took the page's own ground, which hid the watermark from the tap to the landing) */
.p2-sc-ghost{position:absolute; left:0; right:0; padding:6px var(--p2-gut) 14px; pointer-events:none;}
.p2-sc-ghost > .p2-card{gap:20px;}
.p2-sc-clip{overflow:hidden;}
/* (animation refinement round 2: for the one pass that draws a new week, a card out of sight is drawn a frame later, at about
   the height the week before's cards had; 36-p2-core.js p2SwapSplitOn. Never left on: a fling showed blank cards.) */
.p2-page.is-swapping .p2-sc-cb{content-visibility:auto; contain-intrinsic-size:auto var(--p2-cb-h, 600px);}
/* the cards on the page spaced as C's card block: 20px from a match's holes to the first player and between players (the
   popups and the round keep the card's own gap) */
.p2-sc-cb > .p2-card{gap:20px;}
/* a sub's "(sub)" after the name on a card, small and grey (the mockup's line style) */
/* words a screen reader says and the screen doesn't (", waiting on a card", ", out": a row is never told by its colour alone) */
.p2-sc-sr{position:absolute; width:1px; height:1px; margin:-1px; padding:0; border:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap;}

/* ---------------------------------------- AREA: skins (36-p2-skins.js) ---------------------------------------- */
/* Skins (the Skins renditions' pick, rendition 5 with the LABEL cell): a row per winner, every hole they won in the week's shared
   left column ("H8" small and grey over the winning gross, one rounded frame), the name, the count in the framed box. The
   column is the week's widest one line of cells (--p2-sk-most, in the markup); the fit (36-p2-skins.js p2SkinsAfterPass)
   narrows it with --p2-sk-k, by a class on the list (p2-sk-k1 … p2-sk-k18), only when a name would otherwise lose its one line (or a word).
   Until the fit has run (the fonts still loading; the harness) the column is capped so the cells never push the row past
   its edge: it leaves two gaps, the box and --p2-sk-room for the name (the fit sets that to 0px: its own sum keeps the name's
   room). Two deviations from the rendition, on purpose: "H8" is 12px (its 11px would be under the house floor) and the
   score 18px (its 17px would be one more size on the screen). The SEASON rows are the foundation's "sq" row, the count bare in the
   same box as the week's rows (fin-words). No motion
   of its own. Its cells framed by the rule's line, as every box on a page since v2-tweaks (the warm bars carry the structure). */
.p2-sk-week{--p2-sk-cell:30px; --p2-sk-gap:4px; --p2-sk-k:var(--p2-sk-most, 1); --p2-sk-room:6em;
  --p2-sk-hw:calc(var(--p2-sk-k) * var(--p2-sk-cell) + (var(--p2-sk-k) - 1) * var(--p2-sk-gap));}
/* the fit's classes (live only: 36-p2-skins.js p2SkinsFitOn), k cells a line, the name's room its own sum's */
.p2-sk-week.p2-sk-k1{--p2-sk-k:1; --p2-sk-room:0px;} .p2-sk-week.p2-sk-k2{--p2-sk-k:2; --p2-sk-room:0px;} .p2-sk-week.p2-sk-k3{--p2-sk-k:3; --p2-sk-room:0px;}
.p2-sk-week.p2-sk-k4{--p2-sk-k:4; --p2-sk-room:0px;} .p2-sk-week.p2-sk-k5{--p2-sk-k:5; --p2-sk-room:0px;} .p2-sk-week.p2-sk-k6{--p2-sk-k:6; --p2-sk-room:0px;}
.p2-sk-week.p2-sk-k7{--p2-sk-k:7; --p2-sk-room:0px;} .p2-sk-week.p2-sk-k8{--p2-sk-k:8; --p2-sk-room:0px;} .p2-sk-week.p2-sk-k9{--p2-sk-k:9; --p2-sk-room:0px;}
.p2-sk-week.p2-sk-k10{--p2-sk-k:10; --p2-sk-room:0px;} .p2-sk-week.p2-sk-k11{--p2-sk-k:11; --p2-sk-room:0px;} .p2-sk-week.p2-sk-k12{--p2-sk-k:12; --p2-sk-room:0px;}
.p2-sk-week.p2-sk-k13{--p2-sk-k:13; --p2-sk-room:0px;} .p2-sk-week.p2-sk-k14{--p2-sk-k:14; --p2-sk-room:0px;} .p2-sk-week.p2-sk-k15{--p2-sk-k:15; --p2-sk-room:0px;}
.p2-sk-week.p2-sk-k16{--p2-sk-k:16; --p2-sk-room:0px;} .p2-sk-week.p2-sk-k17{--p2-sk-k:17; --p2-sk-room:0px;} .p2-sk-week.p2-sk-k18{--p2-sk-k:18; --p2-sk-room:0px;}
.p2-row.is-holes{grid-template-columns:min(var(--p2-sk-hw), calc(100% - 2 * var(--p2-gap) - var(--p2-pic) - var(--p2-sk-room))) minmax(0, 1fr) auto;}
.p2-sk-holes{display:flex; flex-wrap:wrap; gap:8px var(--p2-sk-gap); min-width:0;}
.p2-sk-cell{flex:none; box-sizing:border-box; width:var(--p2-sk-cell); border:1px solid var(--p2-rule); border-radius:10px; overflow:hidden;
  text-align:center; font-variant-numeric:tabular-nums;}
.p2-sk-cell > b{display:block; height:18px; border-bottom:1px solid var(--p2-rule); font-size:12px; font-weight:600; line-height:18px; letter-spacing:-.01em;
  color:var(--p2-grey); white-space:nowrap;}
.p2-sk-cell > span{display:block; height:26px; font-size:18px; font-weight:700; line-height:26px; color:var(--p2-text);}
/* A net league's Gross | Net switch (skins-switch-phone, Logan's 1a: 36-p2-skins.js p2SkinsSwitch): the desk's own toggle
   (styles.css .skins-toggle: its track, its size, a full 44px to tap on a phone, its 14px words, its gold's glide and stretch,
   the one press; 35-player.js setSkinsSide), centred under the strip and scrolling with the page. Only its colours are the
   players' side's: the gold is the dock's chosen tab (the band's tan with its dark words, no glow), the other word the dock's
   grey, light under a finger as the desk's (its dark copy rides in the gold). No motion of its own here. */
.p2-sk-side{display:flex; justify-content:center; padding:10px var(--p2-gut) 2px;}
.p2-sk-side > .skins-toggle{margin:0;}
.p2-sk-side .skins-toggle-glide{background:var(--p2-chip); box-shadow:none;}
.p2-sk-side .skins-toggle-btn{color:var(--p2-grey);}
.p2-sk-side .skins-toggle-btn[aria-pressed="true"]{color:var(--p2-chip-ink);}
.p2-sk-side > .skins-toggle.is-dragging > .skins-toggle-btn{color:var(--p2-grey);}
@media (hover:hover) and (pointer:fine){ .p2-sk-side .skins-toggle-btn:not([aria-pressed="true"]):hover{color:var(--p2-text);} }

/* ---------------------------------------- AREA: schedule (36-p2-schedule.js) ----------------------------------------
   Schedule A (the mockup's hs-wkhead and hs-g): under the pinned band and strip, the week's name over its one grey line, then
   its groups in the barred list (the foundation's bars between groups, none inside one). A group: each team a line on its own
   row ([square] [name over its grey line] [box]); the box a bay's teams share spans their lines (--n, written on the group: a
   layout value); a played match's boxes one a line. A result: its place first, its score's box as wide as a long total needs
   ("172 gross"). */
.p2-wkhead{margin:0; padding:16px var(--p2-gut) 0; text-align:center;}
.p2-wkname{display:block; font-family:'Baloo 2', sans-serif; font-weight:600; font-size:18px; line-height:1.25; color:var(--p2-text); overflow-wrap:anywhere;}
.p2-when{display:block; margin-top:1px; font-size:13px; font-weight:500; line-height:1.35; color:var(--p2-grey); overflow-wrap:anywhere;}
.p2-tee{white-space:nowrap;}   /* never a break inside "5:00 PM" */
.p2-sg{display:grid; grid-template-columns:var(--p2-pic) minmax(0, 1fr) var(--p2-valw); column-gap:var(--p2-gap); row-gap:12px; align-items:center;
  padding:12px var(--p2-gut);}
.p2-sg:not(.is-res) > .p2-mark{grid-column:1;}
.p2-sg:not(.is-res) > .p2-who{grid-column:2;}
.p2-sg:not(.is-res) > .p2-box{grid-column:3;}
.p2-sg > .p2-box{justify-self:stretch;}
.p2-sg > .p2-box.is-span{grid-row:1 / span var(--n, 1);}
.p2-sg-wide{grid-column:1 / 3; min-width:0; display:flex; flex-direction:column;}   /* a bye: its name across the square's room */
.p2-sg.is-res{grid-template-columns:var(--p2-pos) var(--p2-pic) minmax(0, 1fr) minmax(var(--p2-valw), max-content);}
/* A played week's list (p2-sgrid; has-pos: a results list with its places): ONE set of columns for all its groups (each group a
   subgrid of the list), so every box is as wide as the widest in the list ("101 gross" over "99 gross": one edge, one width)
   and the place column as wide as its widest place ("T10"); the room round a group (its 20px sides) is in the outer columns.
   Where subgrid is unknown, each group keeps its own columns (above). */
.p2-rows.p2-sgrid{display:grid; column-gap:var(--p2-gap);
  grid-template-columns:calc(var(--p2-gut) + var(--p2-pic)) minmax(0, 1fr) minmax(calc(var(--p2-valw) + var(--p2-gut)), max-content);}
.p2-rows.p2-sgrid.has-pos{grid-template-columns:minmax(calc(var(--p2-gut) + var(--p2-pos)), max-content) var(--p2-pic) minmax(0, 1fr) minmax(calc(var(--p2-valw) + var(--p2-gut)), max-content);}
.p2-sgrid > .p2-sg{grid-column:1 / -1; grid-template-columns:subgrid;}

/* ---------------------------------------- AREA: central (League Central + the password: 36-p2-central.js) ---------------------------------------- */
/* League Central C (Logan's pick; docs/mockups/2026-10-16-players-side.html, hs.css "League Central C"): logo B big in gold, the
   title, one framed card per league (logo B's M in gold, the name over its next night), the live league's ticker along its card's
   foot, the way back to the desk on the staff preview. Phone: edge to edge (the shell's is-p2), the cards 20px from the sides (335
   wide at 375, 362 at 402); desk: the league pages' own 680px column (fin-look, continuity C14: was 560, the one column of its
   own on the players' side; now its logo, title and cards stand on the same edges as a league's band and rows, the cards 640
   wide). Its one motion is the live league's ticker (docs/MOTION.md); the day turn reorders the cards with none. The title and
   the cards' league names are the league pages' caps type (fin-look, continuity C4: Inter 700, 16px, .26em, uppercase, as a
   league's name under its M: the card's "Makis League" no longer turns into "MAKIS LEAGUE" one tap later); the cards' Ms and
   the live league's ticker stay (Logan 8, "keep the m"). Two text sizes: 16 (title and names, the caps type), 13 (lines,
   notes; the ticker's label caps 12). */
.p2-lc{--logo-b-central:url("/assets/logo-b-central.png?v=d627bb782f8022e1");   /* League Central's logo, 3x its 290px (tools/logo-b-central.js) */
  color:var(--p2-text); font-family:'Inter', system-ui, sans-serif;}
/* (the top room is the logo's own 20px, under Safari's still band or the status band: the shell's 20px goes; on a desk its 16px
   sides go too, so the cards are 520 wide in the 560 column as drawn) */
.play-shell.p2-lc{padding-top:0; padding-left:0; padding-right:0;}
@media (min-width:561px){ .play-shell.p2-lc{max-width:var(--p2-col); margin-left:auto; margin-right:auto;} }
/* League Central's own buttons (a card, Staff Login) start from the page's words and colour, by their own class and before their
   own rules (Staff Login's 13px grey comes after). No rule here reaches a bare button: a round on this phone keeps its own
   buttons' look (.btn, .btn-primary's on-gold words, .btn-danger's red; the night area's p2HeldRounds its own). */
.p2-lc-card, .p2-lc-staff{font:inherit; color:inherit; -webkit-tap-highlight-color:transparent;}
/* the round in progress on this phone (p2HeldRounds, else renderRoundDraftOffers) in League Central's gutter, as the cards are:
   the shell runs edge to edge, so the block draws no side margin of its own */
.p2-lc-held{padding:0 var(--p2-gut);}
.p2-lc-top{display:flex; justify-content:center; padding-top:20px;}
/* its size is set before the mask decodes (the first open's loading mark flies into it: 30-render-core.js bootLogoTarget) */
.p2-lc-logo{display:block; width:290px; max-width:calc(100% - 2 * var(--p2-gut)); aspect-ratio:600 / 411; background:var(--p2-m);
  -webkit-mask:var(--logo-b-central) center / contain no-repeat; mask:var(--logo-b-central) center / contain no-repeat;}
.p2-lc-title{box-sizing:border-box; margin:12px 0 22px; padding:.1em 0 .1em .26em; text-align:center; font-family:'Inter', sans-serif; font-weight:700; font-size:16px; line-height:1.3;
  letter-spacing:.26em; text-transform:uppercase; color:var(--p2-text); text-wrap:balance;}
@media (min-width:561px){ .p2-lc-title{margin-bottom:26px;} }
.p2-lc-list{list-style:none; margin:0; padding:0 var(--p2-gut); display:flex; flex-direction:column; gap:12px;}
.p2-lc-card{position:relative; box-sizing:border-box; width:100%; display:grid; grid-template-columns:var(--p2-pic) minmax(0, 1fr) var(--p2-pic); column-gap:14px;
  align-items:center; margin:0; padding:18px 22px; border:1px solid var(--p2-frame); border-radius:22px; background:var(--p2-page); text-align:center;
  overflow:hidden; cursor:pointer;}   /* (the page's own colour inside, as drawn: the watermark never shows through a card) */
@media (hover:hover) and (pointer:fine){ .p2-lc-card:hover{border-color:var(--p2-grey);} }
/* logo B's M with its golfer, as League Central C drew it: the head's crisp 3x M (--logo-b-m-head) drawn at 40px */
.p2-lc-m{display:block; width:var(--p2-pic); aspect-ratio:228 / 155; background:var(--p2-m);
  -webkit-mask:var(--logo-b-m-head) center / contain no-repeat; mask:var(--logo-b-m-head) center / contain no-repeat;}
.p2-lc-txt{min-width:0; display:flex; flex-direction:column; align-items:center; gap:1px;}
.p2-lc-name{box-sizing:border-box; max-width:100%; padding:.1em 0 .1em .26em; font-family:'Inter', sans-serif; font-weight:700; font-size:16px; line-height:1.3; letter-spacing:.26em;
  text-transform:uppercase; color:var(--p2-text); text-wrap:balance; overflow-wrap:break-word;}
/* (a word too long for the card's line set smaller, never cut: fix-board, the foundation's fit in the caps type's widths) */
.p2-lc-txt.is-fit{container-type:inline-size;}
.p2-lc-txt.is-fit .p2-lc-name{font-size:max(12.5px, min(16px, calc(100cqi / var(--p2-wl))));}
.p2-lc-when{font-size:13px; font-weight:500; line-height:1.35; color:var(--p2-grey);}
/* AT 400px AND UNDER the name's column runs on to the card's right padding (fx-players, the full audit's players m8: at 375 it was
   181px, centred beside the M with the M's width mirrored on the right, and "Monday Night Scramble", "Thursday Best Ball Gross"
   took three lines in the .26em caps, a long word set at 15.35px beside 16px names): the empty third cell goes, the words centred
   in the 237px from the M to the card's edge (two lines for those names). 402 and the desk as they were. */
@media (max-width:400px){
  .p2-lc-card > .p2-lc-txt{grid-column:2 / -1;}
  .p2-lc-card > .p2-lc-txt + span:empty{display:none;}
}
/* a league this phone hasn't opened says so to a screen reader alone (League Central C draws no padlock) */
.p2-lc-sr{position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0;}
/* The live league's ticker along its card's foot: "Happening now · Live" eight times running slowly to the left, one linear
   transform on the compositor (the half of the run is four of it, so the loop is seamless); its own rounded foot (the card's
   radius less its edge), so it is round even where WebKit doesn't clip a moving layer to the card's corners. 13px (the mockup's
   11.5 is under the 12px floor). Reduce Motion: the still copy, the run stopped. */
.p2-lc-tick{grid-column:1 / -1; display:block; height:32px; margin:18px -22px -18px; border-top:1px solid var(--p2-frame); border-radius:0 0 21px 21px;
  background:var(--p2-raised); overflow:hidden; white-space:nowrap; font-size:12px; font-weight:600; letter-spacing:.08em; line-height:31px;
  text-transform:uppercase; text-align:center; color:var(--p2-text);}
.p2-lc-dot{margin:0 .55em;}
.p2-lc-run{display:inline-flex; animation:p2-lc-tick 34s linear infinite;}
.p2-lc-run > span{flex:none; padding-right:.55em;}
.p2-lc-still{display:none;}
@keyframes p2-lc-tick{from{transform:translateX(0);} to{transform:translateX(-50%);}}
.p2-lc-staff{display:block; margin:24px auto 0; min-height:44px; padding:0 12px; border:0; background:transparent; font-size:13px; font-weight:500;
  color:var(--p2-grey); cursor:pointer;}
@media (hover:hover) and (pointer:fine){ .p2-lc-staff:hover{color:var(--p2-text);} }
/* League Central's one-time note (home-screen, 2026-10-12: its words, its ×, its rule kept; 37-play.js renderHomeHint), between the
   title and the cards, in the palette: a raised panel with the frame's edge (brass is the crown's only), its words 13px grey with
   the bold sentence in the text colour; in the page's flow, no motion. No gold on it (fix-look, the final audit's design 15: gold is
   the M's, the band's, the gold button's, the chosen date's and a counted score's alone): its icon in the soft letters on the inset
   ground, as a mark's, the Share glyph in the words' own grey, the × every popup's circled one in the grey */
.p2-lc .home-hint{position:relative; display:flex; gap:12px; align-items:flex-start; margin:0 var(--p2-gut) 18px; padding:14px 44px 14px 14px;
  border:1px solid var(--p2-frame); border-radius:22px; background:var(--p2-raised); font-size:13px; font-weight:500; line-height:1.45;
  color:var(--p2-grey); text-align:left;}
.p2-lc .home-hint b{color:var(--p2-text); font-weight:600;}
.p2-lc .home-hint-ico{flex:none; width:34px; height:34px; border-radius:10px; background:var(--p2-inset); box-shadow:inset 0 0 0 1.5px var(--p2-frame); color:var(--p2-soft); display:grid; place-items:center;}
.p2-lc .home-hint-share{display:inline-block; margin-left:4px; vertical-align:-2px; color:currentColor;}
.p2-lc .home-hint-share svg{display:block;}
.p2-lc .home-hint-x{position:absolute; top:0; right:0; width:44px; height:44px; margin:0; padding:0; border:0; border-radius:50%; background:transparent;
  display:grid; place-items:center; color:var(--p2-grey); cursor:pointer; -webkit-tap-highlight-color:transparent;}
/* The league's password (League Central C's popup, the house frame: 36-p2-core.js p2PopHead, .modal-p2; has-box: kept above the
   keyboard by p2PopPlace). The app's own popup rules reach into every .modal and none of them is this popup's: the gold M before
   a title (styles.css .modal h3::before), a title's 20px and foot margin, the old × room (--x-pad-*); and every typed box's inset
   fill, 8px corners, 14px words on a desk and gold focus ring (styles.css input[type=text], input:focus): each put back here,
   on selectors that win. Phone: 24px from the screen's sides (the overlay's 12 and 12 more), centred; desk: 520 at most. */
.modal.modal-p2.p2-pw{padding-bottom:20px;}   /* (the frame over the desk's popup rules: the foundation's, every .modal-p2's) */
.p2-pw-form{margin:0;}
input.p2-pw-box{display:block; box-sizing:border-box; width:100%; height:50px; margin:18px 0 0; padding:0 14px; border:1px solid var(--p2-frame); border-radius:12px;
  background:var(--p2-page); color:var(--p2-text); font:500 16px/1 'Inter', system-ui, sans-serif; outline:none; -webkit-appearance:none; appearance:none;}
input.p2-pw-box::placeholder{color:var(--p2-grey); opacity:1;}
input.p2-pw-box:focus, input.p2-pw-box:focus-visible{outline:none; border-color:var(--p2-grey);}
/* the note: one quiet line in the text colour (a wrong password, a wait, no signal, blocked cookies), gone when it has nothing */
.p2-pw-note{margin:10px 2px 0; font-size:13px; font-weight:500; line-height:1.35; color:var(--p2-text);}
.p2-pw-note:empty{display:none;}
/* Enter: the popup's one step on, the house's gold button (fix-night, the final audit's design 11: it was plain, framed in the
   quiet grey, the odd popup out); dimmed as the house's are while the server has the password */
.p2-pw-go{display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:100%; height:50px; margin:12px 0 0; padding:0;
  border:1px solid var(--p2-quiet); border-radius:12px; background:transparent; font:600 16px/1 'Inter', system-ui, sans-serif; color:var(--p2-text);
  cursor:pointer; -webkit-tap-highlight-color:transparent;}
.p2-pw-go.is-gold{border-color:var(--p2-gold); background:var(--p2-gold); color:var(--p2-on-gold);}
.p2-pw-go:disabled{color:var(--p2-quiet); cursor:default;}
.p2-pw-go.is-gold:disabled{color:var(--p2-on-gold); opacity:.35;}
/* the one press (MOTION.md: scale .97 on what is tapped), on the same frame (touch-action: no wait for a second tap); it eases
   both ways (in and back out on release, a press that turns into a scroll too) and a hover's tint eases, as the shared press
   list's controls do (styles.css): the easing on the controls themselves, the press alone on :active. The home-screen note's ×
   is a plain tap, as today's was (no press, no easing: motion parity, 2026-10-19). Reduce Motion: the press at once (today's). */
.p2-lc-card, .p2-lc-staff, .p2-pw-go{touch-action:manipulation; transition:border-color .15s ease, color .15s ease, transform .12s ease;}
.p2-lc-card:active, .p2-lc-staff:active, .p2-pw-go:not(:disabled):active{transform:scale(.97);}
@media (prefers-reduced-motion: reduce){
  .p2-lc-run{display:none; animation:none !important;}
  .p2-lc-still{display:block;}
}


/* NARROW (r10-players-pages F2): under 340 CSS px a card's M steps aside and its name has the card's width, in tighter capitals
   (at 200% it read "S TR OKE NET NIN E" down the card's side). */
@media (max-width:340px){
  .p2-lc-name{padding-left:.12em; letter-spacing:.12em;}
  .p2-lc-card{grid-template-columns:minmax(0, 1fr); padding-inline:14px;}
  .p2-lc-card > .p2-lc-m{display:none;}
  .p2-lc-card > .p2-lc-txt{grid-column:1 / -1;}
  .p2-lc-card > .p2-lc-tick{margin-inline:-14px;}
}

/* ---------------------------------------- AREA: popups (36-p2-popups.js) ----------------------------------------
   Popups A: a team's season, a player, a team's photo (p2-pop-team, p2-pop-player, p2-pop-photo) in the foundation's frame
   (.modal-p2, p2PopHead). The frame over the desk's own popup rules (styles.css .modal h3, its M, the grab bar, the ×'s
   padding): the title is the head's alone (21px, no M before it), no grab bar (the head is the push's grab zone, where the
   browser never scrolls), the padding the frame's; on a phone 24px from the screen's sides. */
/* (the frame over the desk's popup rules, and the head as the push's grab zone: the foundation's, every .modal-p2's) */
/* the grey line under the title sits after the sticky head (p2PopHead subAfter): it scrolls away with the tiles */
.modal-p2:is(.p2-pop-team, .p2-pop-player, .p2-pop-photo) > .p2-popsub{margin-top:2px;}
/* the Info tiles: room for "Estimate 10.3" on one line in a third of a 375 phone (the Handicap tile's line, always the player
   popup's first tile, never breaks); a lone tile (a scramble's, a sub's) half the row */
.modal-p2:is(.p2-pop-team, .p2-pop-player) .p2-tile{padding-inline:4px;}
.p2-pop-player .p2-tile:first-child .p2-tw{white-space:nowrap;}
.p2-pop-player .p2-tiles.n-1{grid-template-columns:minmax(0, 50%);}
/* the rows: each item paints the popup's own colour, so a row sliding over a card (or a card's copy) hides it */
.modal-p2 .p2-pop-rows > li{background:var(--p2-raised);}
.p2-pop-rows .p2-row[data-action]{cursor:pointer;}
/* a row's week, said to a screen reader (its square, which shows it, is hidden from one) */
.p2-pop-sr{position:absolute; width:1px; height:1px; margin:-1px; padding:0; border:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap;}
/* a week's card, unfolded under its row (36-p2-popups.js p2PopWeekToggle): it fades up under the rows sliding down as it opens
   (its opacity, live only); while it shuts, a copy where it was (.p2-fold-ghost) fades out under the rows sliding up over it */
.p2-fold{position:relative; overflow:hidden; padding:2px 0 14px;}
.p2-fold-ghost{position:absolute; left:0; right:0; overflow:hidden; padding:2px 0 14px; pointer-events:none;}
/* the popup's top kept where it showed once a card unfolds in it (live only: is-pinned-top, --p2-pin-top), so it grows down;
   in a home-screen app one that comes to scroll (is-full, popupFootSync) keeps that top and runs down to the screen's foot
   (the overlay has no foot padding there, its own padding takes the home indicator's room: styles.css); a shorter one stops
   the home indicator's room above the foot, as an unpinned one does */
.modal-overlay.is-pinned-top{align-items:flex-start;}
.modal-overlay.is-pinned-top > .modal.modal-p2:is(.p2-pop-team, .p2-pop-player){margin-top:var(--p2-pin-top, 0px); max-height:calc(100% - var(--p2-pin-top, 0px));}
@media (max-width:560px){
  html.is-standalone .modal-overlay.is-pinned-top > .modal.modal-p2:is(.p2-pop-team, .p2-pop-player):not(.is-full){max-height:calc(100% - var(--p2-pin-top, 0px) - max(12px, env(safe-area-inset-bottom, 0px)));}
  html.is-standalone .modal-overlay.is-pinned-top > .modal.modal-p2:is(.p2-pop-team, .p2-pop-player).is-full{margin-top:var(--p2-pin-top, 0px); max-height:calc(100% - var(--p2-pin-top, 0px));}
}
/* a team's photo, big: the Teams square grown to the popup's width, in the ring of its team's real colour (else the frame's).
   (.p2-pop-pic, not the Teams page's .p2-photo button: the two met at the integration, each now its own class) */
.p2-pop-pic{box-sizing:border-box; display:block; width:100%; aspect-ratio:1; margin:16px 0 8px; padding:4px; border-radius:18px; background:var(--p2-raised);
  box-shadow:inset 0 0 0 1.5px var(--p2-frame);}
.p2-pop-pic.has-tone{box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--p2-tc) var(--p2-tone-mix), var(--p2-frame));}
.p2-pop-pic img{display:block; width:100%; height:100%; border-radius:14px; object-fit:cover;}
.p2-pop-pic[data-action]{cursor:pointer;}   /* (a tap on the photo closes it, as today's big photo did) */
/* the × answers a finger like every button (the one press) */


/* ---------------------------------------- AREA: night (league night, the team pick: 36-p2-night.js) ----------------------------------------
   Team pick C (docs/mockups/2026-10-18-team-pick.html, its tp.css): the LIVE bar's panel in the v2 popup frame, the round this
   phone holds, the teams as house rows, A to Z, each opening its round's setup (fin-night: "Is this your team?" went, Logan's
   "cut down"). Sizes are the house's (13 / 18 / 21) and the mockup's own: the house buttons' 16px words (League Central C's
   Enter), the Discard question's 15px. What moves here: a row's tint, both ways (the one tap rule, fin-look: the foundation's
   row tint; it filled with the control grey and pressed .97). */
/* the panel: the house popup over the bar it grows out of (its place at the foot of a phone's screen is today's: styles.css
   .modal-live), the bar's width on a phone (8px from each edge, the overlay's own 12px less 4), the mockup's 16px foot */
.modal-p2.modal-live{padding:0 18px 16px;}
/* …in the home-screen app too: a card with its four corners in view (mockup C's .hs-veil.is-foot), where today's sheet ran down to
   the screen's foot (styles.css: html.is-standalone … .modal-live); its foot where every other popup's is there, on the home
   indicator's room (v202: it stood 8pt over it, the one popup higher than the rest: 42pt from the screen's foot against 34) */
@media (max-width:560px){ .modal-p2.modal-live{width:calc(100% + 8px); max-width:none; margin:0 -4px;}
  html.is-standalone .modal-overlay > .modal.modal-p2.modal-live{padding-bottom:16px; margin-bottom:max(12px, env(safe-area-inset-bottom, 0px)); max-height:calc(100% - max(12px, env(safe-area-inset-bottom, 0px)));} }
/* (its title is the week alone, the house title's 21px with no M before it: the foundation's frame, every .modal-p2's) */
/* the line under the week: when scoring closes, the breathing dot before it while it is open (the bar's own dot, 8px) */
.p2-live-sub{display:flex; justify-content:center; align-items:center; gap:8px;}
.p2-live-sub .live-bar-dot{width:8px; height:8px;}
/* the bar between the round this phone holds and the teams: the last held round's own (36-p2-night.js p2HeldRound o.rule), so it
   folds away with it */
.p2-held-rule{height:6px; margin:14px 0 0; border-radius:3px; background:var(--p2-rule);}
/* the body: the teams, or "Every team has reported.", one keyed item each (live-night: one folds away as the other unfolds); the
   room above the teams is the item's own padding, never a margin a fold would let out of it */
.p2-live-part.is-teams{padding-top:10px;}
.p2-live-row{box-sizing:border-box; width:100%; margin:0; border:0; background:transparent; color:inherit; font:inherit; text-align:left;}
.p2-live-row[data-action]{cursor:pointer;}
/* a team already in, or one with no players set: the same row gone quiet (its square dimmed: p2Mark is-out), never a tap */
.p2-live-row:is(.is-in, .is-none) .p2-name{color:var(--p2-grey);}
.p2-live-row:is(.is-in, .is-none) .p2-sub{color:var(--p2-quiet);}
.p2-live-in{display:inline-flex; align-items:center; font-size:13px; font-weight:500; line-height:1.35; color:var(--p2-quiet); white-space:nowrap;}
/* a team a teammate's phone started: "Started 6:42 PM" at the row's end, where "Card in" sits, in the grey of a row still to tap
   (fix-night, night 12: its players stay on the line under the name) */
.p2-live-in.is-started{color:var(--p2-grey);}
/* the round this phone holds (also League Central's): the team's row with its hole boxed, then its two buttons. The page it
   sits on gives the gutter (the popup none; League Central its own, as its cards have), and on a page the list keeps 14px
   under it before what follows; outlined buttons are filled with the page there, so its watermark never shows through them */
.p2-held{margin-top:10px;}
.p2-held > .p2-row{padding-inline:0;}
.p2-held-list:not(:empty){margin-bottom:14px;}
.modal-p2 .p2-held-list{margin-bottom:0;}
.p2-held .btn.p2-btn:not(.is-gold){background:var(--p2-page);}
.modal-p2 .p2-held .btn.p2-btn:not(.is-gold){background:transparent;}
.p2-held-late{display:block;}
.p2-held-ask{margin:10px 4px 0; text-align:center; font-size:15px; font-weight:500; line-height:1.4; color:var(--p2-text);}
/* a started team's question (fin-night, "5: yes"): the team's own row as the list showed it (fix-night, design 14), then the
   Discard question's words, in place of the teams, its two house buttons */
.p2-live-part.is-started{padding-top:10px;}
.p2-live-started{margin:4px 4px 0; text-align:center; font-size:15px; font-weight:500; line-height:1.4; color:var(--p2-text); text-wrap:balance;}
.p2-live-part.is-started > .p2-row + .p2-live-started{margin-top:10px;}

/* ---------------------------------------- AREA: round (setup, holes, Check your card, the finish: 36-p2-round.js) ---------------------------------------- */
/* Entering a round as Logan picked it (docs/mockups/2026-10-18-round.html; v2-round): the setup S2a (the paper is the page),
   a hole AB1 (the band with the M counter, framed panels, the joined − number + written by pen), Check your card B, the
   finish f12m1 (the gold count-up, then the signed paper page), the drive / pin sheet. The type scale here is the
   mockups' own (Logan's picked pages: the round's numbers and headings): 12 / 13 / 14 / 15 / 16 / 18 / 19 / 20 / 21 / 22 /
   24 / 26 / 28 / 40 / 72 px, never under 12. Colours: the role tokens only. The motion (each on compositor-pass's
   allow-list, each stopped by Reduce Motion): p2FillRise / p2FillSettle / p2Arrive / p2Leave (the M counter, today's
   wizFill / wizArrive / wizLeave renamed), the ripple across the nines (a Web Animation of each mark's `translate`, baked,
   linear: 36-p2-round.js p2MarksCross), p2Pen / p2Lift (the number written by pen: the one paint animation of the round,
   a 13 x 21 px digit, Logan's pick), p2ScoreLand (the finish's bump) and the finish's transitions. */

/* the shell: edge to edge on a phone (the foundation's .is-p2), the 680px column on a desk; a stacking context of its own
   (round-scroll: a moving mark or a pressed − / + lifts nothing else onto a layer) */
.play-shell.p2-round{display:flex; flex-direction:column; max-width:none; padding:0; isolation:isolate; color:var(--p2-text); font-family:'Inter', system-ui, sans-serif;
  -webkit-user-select:none; user-select:none; -webkit-touch-callout:none;}
.p2-round > *{flex-shrink:0;}
/* (the buttons' reset weighs nothing, :where(): every class rule on a button in the round wins over it, the foundation's
   Cancel, ticks and drive / pin button keeping their own size, weight and grey) */
:where(.p2-round) button{font:inherit; color:inherit; -webkit-tap-highlight-color:transparent;}
.p2-round [data-action]{cursor:pointer;}
@media (min-width:561px){
  .play-shell.p2-round{max-width:var(--p2-col); margin:0 auto;}
  .p2-round{--p2-top:8px;}   /* (a round has no floating tab bar on a desk: its band pins at the top) */
  /* the finish fills the window at every width, so the count in the middle (42 % of the window) is always inside the shell,
     which clips what is outside it while counting (playCelebration keeps it inside too) */
  .play-shell.p2-round.is-finish{min-height:100vh; min-height:100dvh;}
  .app:has(.p2-round.is-finish){padding-bottom:0;}   /* (the window and no more: the app's 80px foot room would scroll it) */
}
/* the cap and the pinned band keep the page's colour behind them in the round (as in v2.0.0): the round is one task on its own
   screen, not a tab page, and Check your card scrolls under its band (the tab pages' floating band is v2-tweaks', above) */
.p2-round > .p2-cap{background:var(--p2-page);}
.p2-round > .p2-pin{background:var(--p2-page); box-shadow:0 -2px 0 var(--p2-page);}
/* the paper is the page (the setup): cream to the foot, its marks printed, the cap and the pinned band in the paper's colour */
.play-shell.p2-round.p2-paper{background:var(--p2-paper); color:var(--p2-paper-ink);}
.p2-round.p2-paper .p2-cap{background:var(--p2-paper);}
.p2-round.p2-paper .p2-pin{background:var(--p2-paper); box-shadow:0 -2px 0 var(--p2-paper);}
.p2-round.p2-paper .p2-mark{background:transparent; box-shadow:inset 0 0 0 1.5px var(--p2-paper-grey); color:var(--p2-paper-ink);}
/* the round's middle (between the head or band and the foot) */
.p2-rd-body{flex:1 0 auto; display:flex; flex-direction:column; padding:16px var(--p2-gut) 18px;}

.p2-round.p2-paper .btn.p2-btn:not(.is-gold), .p2-foot.is-paper .btn.p2-btn:not(.is-gold){border-color:var(--p2-paper-grey); color:var(--p2-paper-ink);}

/* the foot, pinned where the thumb is: ← Back a third, the way on two thirds (alone: the whole width), 12px over and under them
   (no © line under them since fin-polish: a round's screens are not main pages, 20-helpers.js screenTakesCopyright; it was
   10px under the buttons, then 6px to the foot) */
.p2-foot{position:sticky; bottom:0; z-index:5; flex:none; margin-top:auto; background:var(--p2-page); border-top:1px solid var(--p2-rule);
  padding:12px var(--p2-gut) calc(env(safe-area-inset-bottom, 0px) + 12px);}
.p2-foot.is-paper, .p2-round.p2-paper .p2-foot{background:var(--p2-paper); border-top-color:var(--p2-paper-rule);}
/* The notices over a round's foot (the finish's Done, Check your card's Save round, a stop screen's Close), 12px over its top edge (fx-players,
   the full audit's players m9: Send now's "No connection yet. It will send by itself." sat over Done): the foot is 12px, the 50px
   button and 12px over the safe area (in Safari the ink band's 8px more: its 560px rule) */
html:has(#sec-main .p2-round > .p2-foot) #app-toast{bottom:calc(env(safe-area-inset-bottom, 0px) + 87px);}
@media (max-width:560px){ html:not(.is-standalone):has(#sec-main .p2-round > .p2-foot) #app-toast{bottom:calc(env(safe-area-inset-bottom, 0px) + 95px);} }
.p2-btns{display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 2fr); gap:10px;}
.p2-btns.is-one{grid-template-columns:minmax(0, 1fr);}

/* the head (a hole, the stop screens): the foundation's (the M, the league), its way back the round's Cancel */
.p2-rd-head{padding-bottom:16px;}

/* ---------------- the bay: TrackMan Settings (bay-setup: 36-p2-round.js p2BayStep) ----------------
   The round's head and gold band, then the house's sections edge to edge (their green header rows pinned under the band as on the
   tab pages): a setting's name on the left in the grey, what to set it to on the right in the names' type, each part of a value its
   own line, the rows on the house's thin rules. */
.p2-round.is-bay .p2-rd-body{padding:0 0 18px;}
.p2-row.p2-bay-row{grid-template-columns:auto minmax(0, 1fr); column-gap:16px; align-items:baseline; padding-top:13px; padding-bottom:13px;}
.p2-bay-k{font-size:15px; font-weight:500; line-height:1.35; color:var(--p2-grey);}
.p2-bay-v{font-family:'Baloo 2', sans-serif; font-weight:600; font-size:18px; line-height:1.2; color:var(--p2-text); text-align:right; overflow-wrap:break-word;}
.p2-bay-v > span{display:block; text-wrap:balance;}
.p2-rows.p2-bay-rows > li + li{margin-top:0;}
.p2-rows.p2-bay-rows > li + li::before{left:var(--p2-gut); right:var(--p2-gut); top:0; height:1px; border-radius:0; background:var(--p2-rule);}
/* a match's team name over its players: whole, wrapping between its words (never cut, never off the row), the row as tall as it needs */
.p2-bay-team > .p2-hrow{padding-top:8px; padding-bottom:8px;}
.p2-bay-team > .p2-hrow .p2-h1{min-width:0; white-space:normal; text-wrap:balance; line-height:1.35;}

/* ---------------- the setup: S2a, the paper is the page ---------------- */
.p2-pp-head{display:flex; flex-direction:column; align-items:center; padding:4px var(--p2-gut) 12px; text-align:center;}
.p2-card-word.p2-pp-word{width:150px; background:var(--p2-paper-ink);}
.p2-pp-week{display:flex; align-items:baseline; justify-content:center; gap:9px; margin:6px 0 0; font-family:'Baloo 2', sans-serif; font-weight:600; font-size:21px; line-height:1.2;
  overflow-wrap:anywhere;}
.p2-pp-week em{font-style:normal; font-family:'Inter', sans-serif; font-size:14px; font-weight:600; color:var(--p2-paper-grey); white-space:nowrap;}
.p2-pp-date{margin:1px 0 0; font-size:13px; font-weight:500; line-height:1.35; color:var(--p2-paper-grey);}
/* the course, the band edge to edge (the tab pages' band, in the paper's shade and ink; a long name wraps, balanced, at its
   size). Its words are the tab pages' band's caps type (the header's THE CAPS TYPE, 12.5px), the course in the paper's ink and
   the nine beside it in its grey; each part carries the .26em on its left, so every line of it stays centred (and the two
   parts sit 16.5px apart: the gap and their spacing). 16.75px above and below: the band's 52.25px as before. */
.p2-pp-band{box-sizing:border-box; display:flex; flex-wrap:wrap; align-items:baseline; justify-content:center; column-gap:10px; margin:0; padding:16.75px 20px;
  border-radius:18px 18px 0 0; background:var(--p2-paper-band); color:var(--p2-paper-ink); text-align:center;
  font-family:'Inter', sans-serif; font-weight:700; font-size:12.5px; line-height:1.5; letter-spacing:.26em; text-transform:uppercase;}
.p2-pp-band span{padding-left:.26em; text-wrap:balance; overflow-wrap:anywhere;}
.p2-pp-band em{padding-left:.26em; font-style:normal; color:var(--p2-paper-grey); white-space:nowrap;}
.p2-round.is-setup .p2-rd-body{padding:0 0 10px;}
.p2-pp-in{padding:0 var(--p2-gut);}
/* the match: the two printed marks and names ("vs"), the bay in the house's box ("Bay 5", Schedule's: fin-words, one look for a
   bay), printed in the paper's rule and grey; the line's padding keeps its height with the taller box (51px, as with the chip) */
.p2-pp-match{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px 0 10px; border-bottom:1px solid var(--p2-paper-rule);}
.p2-pp-match.has-bay{padding:6px 0 5px;}
.p2-pp-match > .p2-box{flex:none; border-color:var(--p2-paper-rule);}
.p2-pp-match > .p2-box em{color:var(--p2-paper-grey);}
/* each side is its mark and its name, never parted (fix-entry, the final audit's design 4): the sides wrap whole, the opponent's
   with its "vs" in front, so when both don't fit the opponent sits on its own line under the first team; a name too long for
   its line wraps between its words beside its mark (break-word: a word is cut only when it can't fit a line at all). The
   spacing is as before: 7px from a mark to its name, 12px either side of "vs". */
.p2-pp-vs{display:flex; flex-wrap:wrap; align-items:center; gap:7px 12px; min-width:0;}
.p2-pp-side{display:flex; align-items:center; gap:7px; min-width:0;}
.p2-pp-vs b{min-width:0; font-family:'Baloo 2', sans-serif; font-weight:600; font-size:18px; line-height:1.2; overflow-wrap:break-word;}
.p2-pp-vs em{margin:0 5px 0 0; font-style:normal; font-size:13px; font-weight:500; color:var(--p2-paper-grey);}
.p2-mark.p2-pp-mk{--p2-pic:26px; border-radius:10px; padding-top:2px; font-size:14px;}
.p2-mark.p2-pp-mk.is-two{font-size:12px; letter-spacing:0;}
/* each player on a ruled line (a scramble's lineup), "Sub" at the right for a sub of the week */
.p2-pp-line{display:flex; align-items:center; gap:9px; padding:9px 0 6px; margin:0 0 6px; border-bottom:1px solid var(--p2-paper-rule);}
.p2-pp-line span{min-width:0; font-family:'Baloo 2', sans-serif; font-weight:600; font-size:18px; line-height:1.2; overflow-wrap:anywhere;}
.p2-pp-line em{margin-left:auto; font-style:normal; font-size:12px; font-weight:500; color:var(--p2-paper-grey);}
/* the blank card, flat on the page: each scorer's name on its ruled line, the grid a little tighter (the mockup's .is-paperpage);
   scoped to the round so it outweighs the foundation's paper card ((0,3,1): its :is() takes its weightiest part) */
.p2-round .p2-card.is-paper.p2-rd-setcard{gap:0; padding:0; border-radius:0; background:transparent; box-shadow:none;}
.p2-rd-setcard .p2-card-who{gap:9px; padding:9px 0 6px; margin:0 0 6px; border-bottom:1px solid var(--p2-paper-rule);}
/* a scramble's team ball (its card or its totals): "Team score" a plain heading at the gutter, the grid right under it, no rule
   (the lineup's names above carry the rules: S2a's scramble) */
.p2-rd-setcard.p2-rd-team .p2-card-who{padding:6px 0 0; margin:0 0 7px; border-bottom:0;}
.p2-rd-setcard .p2-card-p + .p2-card-p{margin-top:6px;}
.p2-rd-setcard{--c-h:26px; --c-hh:20px;}
.p2-rd-setcard .p2-cg + .p2-cg{margin-top:6px;}
/* a scramble's way to log: two ticks on the paper, then its two total boxes */
.p2-pp-ch{padding:4px var(--p2-gut) 0;}
.p2-ticks{display:flex; flex-wrap:wrap; gap:4px 24px; padding:6px 0; border-bottom:1px solid var(--p2-paper-rule);}
.p2-tick{display:flex; align-items:center; gap:9px; height:44px; margin:0; padding:0; border:0; background:transparent; color:var(--p2-paper-ink);
  font-size:15px; font-weight:600; cursor:pointer;}
.p2-tick i{display:grid; place-items:center; width:22px; height:22px; border:1.5px solid var(--p2-paper-ink); border-radius:5px;}
.p2-tick i svg{display:block;}
.p2-tots{display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:12px; margin-top:10px;}
.p2-tots:empty{margin-top:0;}
/* a scramble's two totals in the card's cells (the setup as they are set, Check your score, the finish) */
.p2-cg.p2-tg{grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);}
.p2-cg.p2-tg > .p2-cv{height:58px; font-size:28px; font-weight:600; line-height:1; letter-spacing:-.01em; font-variant-numeric:tabular-nums;}
.p2-rd-setcard .p2-cg.p2-tg > .p2-cv{height:50px; font-size:26px;}
.p2-card.is-paper.has-ring .p2-tg > .p2-cv > span{display:inline-grid; place-items:center; min-width:64px; height:44px; padding:0 5px; border:1.5px solid var(--p2-paper-ink); border-radius:50%;
  transform:rotate(-4deg);}

/* ---------------- a hole: AB1 ---------------- */
.p2-rd-hole{flex:1 0 auto; display:flex; flex-direction:column;}
.p2-round.is-hole .p2-rd-hole > .p2-rd-body{flex:1 0 auto;}
/* the band: the hole's number (the contest button in its right column), the M counter, the running line */
.p2-hband{box-sizing:border-box; padding:12px 8px; border-radius:18px 18px 0 0; background:var(--p2-raised); text-align:center;}
.p2-hn-row{display:grid; grid-template-columns:96px minmax(0, 1fr) 96px; align-items:center;}
.p2-hnum{margin:0; font-family:'Baloo 2', sans-serif; font-weight:600; font-size:40px; line-height:1.05; color:var(--p2-text); text-align:center; white-space:nowrap;}
.p2-sofar{height:18px; margin:0; text-align:center; font-size:13px; font-weight:500; line-height:18px; color:var(--p2-grey); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.p2-sofar b{font-weight:600; font-variant-numeric:tabular-nums; color:var(--p2-text);}
/* THE M COUNTER: a window one nine wide over a track of both nines (--nine); a mark the small solid M, faint, the gold a
   layer inside it that rises (the mask clips it to the M); the hole you are on bigger. Each end of a nine has --padx of room
   (fix-motion G05, 2026-10-24: 6px until then, and the 9-10 ripple's 6 % overshoot, ~20px, plus the hole you are on's 1.25
   cut the end mark in half at the window's edge for 5-8 frames): 24px, the room the overshoot needs, so the window is 328 wide
   (292 until then) and the nine beside it stays a whole --padx past its edge at rest; never wider than a narrow phone's band
   (100vw less the band's 8px each side less the marks' 280). */
.p2-marks{--w:24px; --gap:8px; --padx:clamp(6px, (100vw - 296px) / 2, 24px); --win:calc(9 * var(--w) + 8 * var(--gap) + 2 * var(--padx)); --logo-ms:url("/assets/logo-b-m-solid.png?v=b83a6d84cb87e8b3");
  width:var(--win); max-width:100%; height:30px; margin:4px auto 2px; overflow:hidden;}
.p2-mtrack{display:flex; transform:translateX(calc(var(--nine, 0) * -1 * var(--win)));}
.p2-nine{display:flex; flex:none; align-items:center; gap:var(--gap); width:var(--win); height:30px; padding:0 var(--padx); box-sizing:border-box;}
.p2-mk{position:relative; display:block; flex:none; width:var(--w); height:calc(var(--w) * 61 / 90); overflow:hidden; background-color:var(--p2-frame);
  -webkit-mask:var(--logo-ms) center / contain no-repeat; mask:var(--logo-ms) center / contain no-repeat;}
.p2-mk::after{content:""; position:absolute; inset:0; background-color:var(--p2-m); transform:translateY(101%);}
.p2-mk.is-done::after{transform:none;}
/* (the hole you are on is the grey of a layer over the mark's own colour, under its gold, whose opacity moves: animation
   refinement round 2. The mark's own background-color moved with its spring, so both marks were repainted at every frame of
   Next's and Back's 300 ms, on the page's main thread; the same look, the colour now the compositor's.) */
.p2-mk::before{content:""; position:absolute; inset:0; background-color:var(--p2-grey); opacity:0;}
.p2-mk.is-cur{transform:scale(1.25);}
.p2-mk.is-cur::before{opacity:1;}
.p2-mk:is(.is-filling, .is-arriving, .is-leaving){z-index:1;}
/* today's motion, renamed (wizFillRise / wizFillSettle / wizArrive / wizLeave): the gold climbs the mark in the first 60 %,
   then it settles with a small bump; --fill-ago carries a rise still going across a redraw (35-player.js carryWizardFills) */
.p2-mk.is-filling{animation:p2FillSettle var(--logo-fill, .7s) cubic-bezier(.3,.7,.3,1) both; animation-delay:calc(0ms - var(--fill-ago, 0ms));}
.p2-mk.is-filling::after{animation:p2FillRise var(--logo-fill, .7s) cubic-bezier(.5,0,.3,1) both; animation-delay:calc(0ms - var(--fill-ago, 0ms));}
.p2-mk.is-filling.is-arriving{animation:p2FillSettle var(--logo-fill, .7s) cubic-bezier(.3,.7,.3,1) both, p2Arrive var(--glide) cubic-bezier(.3,1.3,.45,1); animation-delay:calc(0ms - var(--fill-ago, 0ms)), 0ms;}
.p2-mk.is-filling.is-leaving{animation:p2FillSettle var(--logo-fill, .7s) cubic-bezier(.3,.7,.3,1) both, p2Leave var(--glide) cubic-bezier(.3,1.3,.45,1); animation-delay:calc(0ms - var(--fill-ago, 0ms)), 0ms;}
@keyframes p2FillRise{0%{transform:translateY(101%);} 60%, 100%{transform:translateY(0);}}
@keyframes p2FillSettle{0%, 58%{scale:1;} 76%{scale:1.12;} 90%{scale:.97;} 100%{scale:1;}}
.p2-mk.is-arriving{animation:p2Arrive var(--glide) cubic-bezier(.3,1.3,.45,1);}
.p2-mk.is-leaving{animation:p2Leave var(--glide) cubic-bezier(.3,1.3,.45,1);}
.p2-mk.is-arriving::before{animation:p2ArriveTint var(--glide) cubic-bezier(.3,1.3,.45,1);}
.p2-mk.is-leaving::before{animation:p2LeaveTint var(--glide) cubic-bezier(.3,1.3,.45,1);}
@keyframes p2Arrive{from{transform:none;}}
@keyframes p2Leave{from{transform:scale(1.25);}}
@keyframes p2ArriveTint{from{opacity:0;}}
@keyframes p2LeaveTint{from{opacity:1;}}
/* the players, each in a framed panel */
.p2-round.is-hole .p2-rd-body{padding:16px var(--p2-gut) 18px;}
.p2-panel{padding:14px 16px 16px; border:1px solid var(--p2-frame); border-radius:18px;}
.p2-panel + .p2-panel{margin-top:12px;}
.p2-pname{margin:0 0 10px; font-family:'Baloo 2', sans-serif; font-weight:600; font-size:21px; line-height:1.2; overflow-wrap:anywhere;}
.p2-pair{display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:12px;}
.p2-pair.is-one{grid-template-columns:minmax(0, 1fr);}
/* a Stableford · Net hole's three boxes, Gross, Net and Result (stableford-net; 36-p2-round.js p2HoleStep's is-sf3): in one row from
   761px, where the Result's well holds "Albatross" whole (it needs about 97px: one row cut it off up to about 705px, a 600 tablet or a
   640 phone on its side); narrower, Gross and Net side by side and the Result across under them, as on a phone */
@media (min-width:761px){ .p2-pair.is-sf3{grid-template-columns:repeat(3, minmax(0, 1fr));} }
@media (max-width:760px){
  .p2-pair.is-sf.is-sf3{grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);}
  .p2-pair.is-sf3 > .p2-cell:nth-child(3){grid-column:1 / -1;}
}
.p2-cell, .p2-tot{min-width:0;}
.p2-lab{margin:0 0 6px; font-size:13px; font-weight:500; line-height:18px; color:var(--p2-grey); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
:is(.p2-cell, .p2-tot).is-bad .p2-lab{color:var(--p2-alert);}
/* the stepper: − | the number's well | + (enhanceNumberInputs wraps the box; nothing typed, the box a display) */
.p2-box-host{position:relative;}
.p2-box-host .number-stepper{box-sizing:border-box; display:grid; grid-template-columns:46px minmax(0, 1fr) 46px; width:100%; height:54px; overflow:hidden;
  border:1px solid var(--p2-frame); border-radius:12px; background:var(--p2-inset); touch-action:manipulation; -webkit-user-select:none; user-select:none; -webkit-touch-callout:none;}
.p2-box-host .ns-btn{display:grid; place-items:center; width:auto; height:100%; margin:0; padding:0 0 2px; border:0; border-radius:0; background:var(--p2-control); color:var(--p2-text);
  font-size:24px; font-weight:400; line-height:1;}
/* the press's tint (the one press, scale .97, is the .ns-btn family's: styles.css): a layer in the pressed colour under the sign
   whose opacity eases .15s (animation refinement round 2: as a background-color the button was repainted at every frame of
   it, 13 a press at 3x); the button's own colour stays */
.p2-box-host .ns-btn{position:relative; isolation:isolate;}
.p2-box-host .ns-btn::before{content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit; background:var(--p2-rule); opacity:0; transition:opacity .15s ease; pointer-events:none;}
.p2-box-host .ns-btn:active{background:var(--p2-control);}
.p2-box-host .ns-btn:active::before{opacity:1;}
@media (prefers-reduced-motion: reduce){ .p2-box-host .ns-btn::before{transition:none;} }
.p2-box-host .number-stepper input[type=number]{width:100%; min-width:0; height:100%; margin:0; padding:0; border:0 !important; border-left:1px solid var(--p2-rule) !important;
  border-right:1px solid var(--p2-rule) !important; border-radius:0 !important; background:var(--p2-inset) !important; text-align:center; font-size:24px; font-weight:600;
  color:transparent; -webkit-text-fill-color:transparent; caret-color:transparent; pointer-events:none;}
:is(.p2-cell, .p2-tot).is-bad .number-stepper{border-color:var(--p2-alert); box-shadow:0 0 0 1px var(--p2-alert);}
/* the pen's two layers over the well: the figure (single-stroke numerals in the box's ink) and the old one lifting off */
.p2-pen{position:absolute; top:0; bottom:0; left:46px; right:46px; display:flex; align-items:center; justify-content:center; gap:2px; pointer-events:none; color:var(--p2-text);}
/* …on a layer of its own wherever it writes (a hole's boxes, the setup's total boxes): the stroke is the page's to draw, and on
   its own layer it repaints its own small box, never the paper page round it (refinement round 1) */
.p2-box-host .p2-pen{will-change:transform;}
.p2-pd{display:block; flex:none; width:13px; height:21px; overflow:visible;}
.p2-pd.is-off{display:none;}
.p2-pen.p2-word{font-size:18px; font-weight:600; line-height:1; letter-spacing:.01em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; padding:0 6px;}   /* a Stableford box's result, the word in the pen's place (kato-stableford) */
.p2-pd path{fill:none; stroke:currentColor; stroke-width:14.5; stroke-linecap:round; stroke-linejoin:round;}
:is(.p2-cell, .p2-tot).is-bad .p2-pen{color:var(--p2-alert);}
.p2-pen.is-writing .p2-pd path{stroke-dasharray:1.1 1.3; animation:p2Pen .2s cubic-bezier(.4,0,.2,1) both;}
.p2-pen.is-writing .p2-pd:nth-child(1) path{animation-delay:80ms;}
.p2-pen.is-writing .p2-pd:nth-child(2) path{animation-delay:280ms;}
.p2-pen.is-writing .p2-pd:nth-child(3) path{animation-delay:480ms;}
@keyframes p2Pen{from{stroke-dashoffset:1.2;} to{stroke-dashoffset:0;}}
.p2-pen.is-old.is-lifting{animation:p2Lift .08s ease-out both;}
@keyframes p2Lift{to{opacity:0; transform:translateY(-3px);}}
/* on paper (the setup's totals): the card's rules and band, its well, the pen in its ink */
.p2-round.p2-paper .p2-box-host .number-stepper{border-color:var(--p2-paper-rule); background:var(--p2-paper);}
.p2-round.p2-paper .p2-box-host .ns-btn{background:var(--p2-paper-band); color:var(--p2-paper-ink);}
.p2-round.p2-paper .p2-box-host .ns-btn:active{background:var(--p2-paper-band);}
.p2-round.p2-paper .p2-box-host .ns-btn::before{background:var(--p2-paper-rule);}
.p2-round.p2-paper .p2-box-host .number-stepper input[type=number]{border-left-color:var(--p2-paper-rule) !important; border-right-color:var(--p2-paper-rule) !important; background:var(--p2-paper) !important;}
.p2-round.p2-paper .p2-pen{color:var(--p2-paper-ink);}
.p2-round.p2-paper :is(.p2-cell, .p2-tot).is-bad .p2-pen{color:var(--p2-paper-alert);}
.p2-round.p2-paper .p2-lab{color:var(--p2-paper-grey);}
.p2-round.p2-paper :is(.p2-cell, .p2-tot).is-bad .p2-lab{color:var(--p2-paper-alert);}
.p2-round.p2-paper :is(.p2-cell, .p2-tot).is-bad .number-stepper{border-color:var(--p2-paper-alert); box-shadow:0 0 0 1px var(--p2-paper-alert);}
/* longest drive / closest to the pin on its hole: the framed button in the band's right column (both: the two drawings) */
.p2-con{position:relative; justify-self:end; display:flex; align-items:center; gap:6px; height:40px; margin:0 4px 0 0; padding:0 10px; border:1px solid var(--p2-frame); border-radius:12px;
  background:transparent; color:var(--p2-text); font-size:14px; font-weight:600; white-space:nowrap;}
.p2-con::before{content:""; position:absolute; left:-1px; right:-1px; top:-3px; bottom:-3px;}   /* a 44px tap, the frame drawn at 40 */
.p2-con svg{display:block; margin:0 !important; color:var(--p2-grey);}
.p2-con.is-empty{display:none;}
/* (the one read-out line, hidden: #wizard-live) */
.p2-round .wizard-live{position:absolute; width:1px; height:1px; margin:-1px; padding:0; border:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap;}

/* ---------------- Check your card: B ---------------- */
/* (the card and the contests in the page's flow, one after the other; the foot's own auto margin takes what is left) */
.p2-cc-body{flex:none; padding:16px var(--p2-gut) 22px;}
/* a number that is a tap is drawn as the card's other numbers (the foundation's .p2-card button reset would give it the page's) */
.p2-cc-card .p2-cg > button.p2-cv{min-height:0; font-size:14px; font-weight:500; line-height:1; font-variant-numeric:tabular-nums;}
/* (a tap on the first row's numbers reaches up over the hole numbers above them, which take no tap: 30 + 24px tall where the cell
   is 22px wide at 18 holes; fx-players, the full audit's players p6) */
.p2-cc-card .p2-cg > button.p2-cv.is-top{position:relative;}
.p2-cc-card .p2-cg > button.p2-cv.is-top::after{content:""; position:absolute; left:0; right:0; bottom:0; top:calc(-1px - var(--c-hh));}
.p2-cc-con{margin-top:0;}
.p2-cc-con .p2-hrow{--p2-valw:96px;}
/* (club green, fin-colour: the contests' header row floats as a page's section's does, a green bar 12px in from the screen's sides
   (::before), its words on the rows' columns; its own box keeps the round's page ground, so nothing shows past the bar while it
   is pinned under the band, and nothing in it is see-through for Reduce Transparency to take away) */
.p2-cc-con > .p2-hrow{background:var(--p2-page);}
.p2-cc-con > .p2-hrow::before{content:""; position:absolute; inset:0 var(--p2-float-in); z-index:-1; border-radius:12px; background:var(--p2-label); pointer-events:none;}
.p2-cc-con .p2-h3{display:flex; align-items:center; justify-content:center; white-space:nowrap;}
.p2-cc-crow{width:100%; margin:0; border:0; background:transparent; text-align:left;}
.p2-cc-con .p2-box{min-width:78px;}
.p2-box-gap{display:inline-block; width:6px;}
.p2-cc-notes{display:flex; flex-direction:column;}
.p2-cc-note{margin:0 0 12px; text-align:center; font-size:15px; font-weight:500; line-height:1.4; color:var(--p2-grey);}
.p2-cc-note.is-red{color:var(--p2-alert);}
.p2-cc-note svg{vertical-align:-2px;}
.btn.p2-btn.p2-cc-switch{width:100%; margin:0 0 12px;}
.p2-cc-probs{list-style:none; margin:0 0 12px; padding:0; max-height:34vh; max-height:34svh; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:none;}
.p2-cc-probs::-webkit-scrollbar{display:none;}
.p2-cc-probs .p2-cc-note{margin:6px 0;}
.p2-cc-prob{display:grid; grid-template-columns:var(--p2-pic) minmax(0, 1fr); column-gap:var(--p2-gap); align-items:center; width:100%; margin:0; padding:6px 0; border:0;
  background:transparent; text-align:left;}
.p2-cc-prob .p2-mark{box-shadow:inset 0 0 0 1.5px var(--p2-alert); color:var(--p2-alert);}
.p2-cc-prob{--p2-tint-x:-8px;}   /* (the one tap rule's tint, the foundation's .p2-tint: 8px past its words, which run to the foot's own gutter) */

/* ---------------- the drive / pin sheet (a v2 popup; not pushed away, nothing sticky in it) ---------------- */
.modal.modal-p2.modal-contest{max-width:420px; display:flex; flex-direction:column; padding:0; overflow:hidden;}
.p2-con-scroll{flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0 18px; scrollbar-width:none;}
.p2-con-scroll::-webkit-scrollbar{display:none;}
.modal-contest .p2-pophead{position:static; touch-action:auto;}
.modal-contest .p2-popsub{margin-bottom:6px;}
.p2-chead{margin:12px 0 0; padding:0; font-size:12px; font-weight:600; line-height:16px; letter-spacing:.08em; text-transform:uppercase; color:var(--p2-grey);}
.p2-crows{list-style:none; margin:0; padding:0;}
.p2-crow{padding:14px 0 0;}
.p2-crow + .p2-crow{margin-top:14px; border-top:1px solid var(--p2-rule);}
.p2-cwho{display:grid; grid-template-columns:var(--p2-pic) minmax(0, 1fr); column-gap:var(--p2-gap); align-items:center;}
.p2-cline{display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:8px; margin-top:10px;}
.p2-cboxes{display:grid; gap:6px;}
.p2-cboxes.is-2{grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);}
.p2-cbox{display:flex; align-items:baseline; justify-content:center; gap:4px; height:50px; margin:0; padding:13px 6px 0; border:1px solid var(--p2-frame); border-radius:12px;
  background:transparent; color:var(--p2-text); min-width:0;}
.p2-cbox span{font-size:20px; font-weight:600; line-height:1; font-variant-numeric:tabular-nums;}
.p2-cbox em{font-style:normal; font-size:13px; font-weight:500; color:var(--p2-grey);}
.p2-cbox.is-on{border-color:var(--p2-gold); box-shadow:0 0 0 1px var(--p2-gold);}
.p2-yns{display:grid; grid-template-columns:54px 54px; gap:6px;}
.p2-yn{height:50px; margin:0; padding:0; border:1px solid var(--p2-frame); border-radius:12px; background:transparent; color:var(--p2-text); font-size:15px; font-weight:600;}
.p2-yn.is-on{border-color:var(--p2-gold); background:var(--p2-gold-tint); color:var(--p2-lit);}
/* each a layer of its own, so a tint repaints its own box, never the sheet's whole scrolled contents (refinement round 1) */
.p2-cbox, .p2-yn{will-change:transform;}
.p2-con-foot{flex:none; padding:0 18px 18px; background:var(--p2-raised);}
.p2-pad{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; margin:18px 0 12px;}
.p2-key{display:grid; place-items:center; height:48px; margin:0; padding:0; border:1px solid var(--p2-frame); border-radius:12px; background:transparent; color:var(--p2-text);
  font-size:22px; font-weight:600;}
.p2-key.is-word{font-size:15px;}
.p2-key svg{display:block; margin:0 !important;}
.btn.p2-btn.p2-con-done{width:100%;}
/* LARGE TEXT on the sheet (r11-players-round, the final audit's round 11 F1; round 10's narrow rules were the round's alone): with
   Safari's text at 150 % the pin's two boxes were 30px wide ("12 ft11 in" across both), at 175 % "287 yds" spilled out of its box,
   and at 200 % (188 x about 400 CSS px) the pinned pad left the rows 67px, so neither player could be seen. Only at those sizes, so
   every phone at its own size is unchanged: below 340 px each player's Yes / No under the boxes, the boxes the line's whole width;
   below 320 "Clear" a size smaller; on a screen too short for the pinned pad and a row together (Safari's 150 % and up, a phone on
   its side) the sheet scrolls as one, the pad under the rows (contestSheetReveal then has no inner box to move: nothing is under a
   pinned foot). */
@media (max-width:339px){
  .p2-cline{grid-template-columns:minmax(0, 1fr);}
  .p2-yns{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
@media (max-width:319px){
  .p2-key.is-word{font-size:13px;}
}
@media (max-height:520px){
  .modal.modal-p2.modal-contest{overflow-y:auto;}
  .modal-contest .p2-con-scroll{flex:none; overflow:visible;}
}

/* ---------------- the finish: f12m1 ---------------- */
.p2-fin-top{display:flex; flex-direction:column; align-items:center; padding:28px var(--p2-gut) 0; text-align:center;}
.p2-fin-score{font-size:72px; font-weight:600; line-height:1; letter-spacing:-.02em; font-variant-numeric:tabular-nums; color:var(--p2-lit);}
.p2-fin-line{max-width:320px; margin:6px 0 0; font-family:'Baloo 2', sans-serif; font-weight:600; font-size:18px; line-height:1.25; color:var(--p2-text); text-wrap:balance;}
.p2-fin-page{flex:1 0 auto; margin-top:10px; padding:0 0 8px; border-radius:18px 18px 0 0; background:var(--p2-paper); color:var(--p2-paper-ink); overflow:hidden; box-shadow:var(--p2-paper-edge);}   /* (the paper page rises with its edge: fix-look) */
.p2-fin-page .p2-card.is-paper.p2-fin-card{padding:14px var(--p2-gut) 0; border-radius:0; background:transparent; gap:0; box-shadow:none;}   /* (outweighs the foundation's paper card) */
.p2-fin-card .p2-card-top{padding-bottom:10px;}
.p2-fin-card .p2-card-p{padding-top:9px;}
.p2-fin-card .p2-card-who{margin-bottom:6px;}
.p2-fin-card{--c-h:26px; --c-hh:20px;}
.p2-fin-card .p2-cg + .p2-cg{margin-top:6px;}
.p2-sign{display:flex; flex-direction:column; align-items:stretch; margin:10px var(--p2-gut) 0; padding-top:10px; border-top:1px solid var(--p2-paper-rule);}
.p2-sign-name{display:block; padding:0 2px 4px; border-bottom:1px solid var(--p2-paper-ink); font-family:'Baloo 2', sans-serif; font-weight:600; font-size:21px; line-height:1.1; overflow-wrap:anywhere;}
.p2-sign-k{display:block; margin-top:5px; font-size:12px; font-weight:500; line-height:1.3; color:var(--p2-paper-grey);}
.p2-round.is-finish .p2-foot{margin-top:0;}
/* the motion: the score counts in the middle, bigger, the rest out of sight (is-counting holds the transitions off, so it
   starts there); then home, the line fading in, the paper page and Done rising (playCelebration) */
.p2-round.is-finish .p2-fin-top{transition:transform .55s cubic-bezier(.3,.7,.3,1);}
.p2-round.is-finish .p2-fin-score{transition:transform .55s cubic-bezier(.3,.7,.3,1);}
.p2-round.is-finish .p2-fin-line{transition:opacity .3s ease;}
.p2-round.is-finish .p2-fin-page{transition:transform .6s .05s cubic-bezier(.3,.7,.3,1), opacity .4s .05s ease;}
.p2-round.is-finish .p2-foot{transition:transform .6s .05s cubic-bezier(.3,.7,.3,1);}
.p2-round.is-finish.is-counting :is(.p2-fin-top, .p2-fin-score, .p2-fin-line, .p2-fin-page, .p2-foot){transition:none;}
.p2-round.is-finish.is-counting{overflow:clip;}
html:has(.p2-round.is-finish.is-counting){overflow:hidden;}
.p2-round.is-finish.is-counting .p2-fin-top{transform:translateY(var(--mid-dy, 0px));}
.p2-round.is-finish.is-counting .p2-fin-score{transform:scale(1.45);}
.p2-round.is-finish.is-counting .p2-fin-line{opacity:0;}
.p2-round.is-finish.is-counting .p2-fin-page{transform:translateY(75vh); opacity:0;}
.p2-round.is-finish.is-counting .p2-foot{transform:translateY(110%);}
/* …the rise made ready in the hold after the count lands (playCelebration's is-rise-ready, the iOS 27 simulator's final pass):
   every piece that moves on a layer of its own, the paper page painted at an opacity no eye sees (.002 of the cream over the
   ink: under half a level), so the rise's first frame only moves layers that are already there */
.p2-round.is-finish.is-rise-ready :is(.p2-fin-top, .p2-fin-score, .p2-fin-line, .p2-fin-page, .p2-foot){will-change:transform, opacity;}
.p2-round.is-finish.is-counting.is-rise-ready .p2-fin-page{opacity:.002;}
.p2-fin-score.is-landed{animation:p2ScoreLand .28s cubic-bezier(.3,.7,.3,1);}
@keyframes p2ScoreLand{0%{scale:1;} 45%{scale:1.06;} 100%{scale:1;}}
/* a shorter screen (the 375 phones; Safari with its toolbar showing): the score and the card a little tighter so the whole
   signed card and Done stand on the first screen */
@media (max-height:830px){
  .p2-fin-top{padding-top:16px;}
  .p2-fin-score{font-size:58px;}
  .p2-fin-line{margin-top:3px;}
  .p2-fin-page{margin-top:8px;}
  .p2-fin-page .p2-card.is-paper.p2-fin-card{padding-top:10px;}
  .p2-fin-card{--c-h:23px; --c-hh:18px;}
  .p2-fin-card .p2-card-p{padding-top:7px;}
  .p2-fin-card .p2-cg + .p2-cg{margin-top:5px;}
}

/* ---------------- the presses (the one press, scale .97; never a double-tap zoom on a phone) ---------------- */
:is(.p2-tick, .p2-key, .p2-cbox, .p2-yn, .p2-con, .p2-card .p2-cv[data-action]){touch-action:manipulation; transition:transform .12s ease, background-color .15s ease, border-color .15s ease;}
:is(.p2-tick, .p2-key, .p2-cbox, .p2-yn, .p2-con, .p2-card .p2-cv[data-action]):active{transform:scale(.97);}
:is(.p2-tick, .p2-key, .p2-cbox, .p2-yn, .p2-con):disabled:active{transform:none;}
/* (the drive / pin sheet's number pad key: its press's tint a layer in the pressed colour under the figure, inside the frame,
   whose opacity eases: the stepper's way, animation refinement round 2; the frame's colour is opaque, so the look is the same) */
.p2-key{position:relative; isolation:isolate;}
.p2-key::before{content:""; position:absolute; inset:-1px; z-index:-1; border:inherit; border-color:transparent; border-radius:inherit; background:var(--p2-rule) padding-box;
  opacity:0; transition:opacity .15s ease; pointer-events:none;}
.p2-key:active::before{opacity:1;}
@media (prefers-reduced-motion: reduce){ .p2-key::before{transition:none;} }

/* ---------------- the one screen (phones): a round that fits never scrolls ----------------
   The round's screens are exactly one screen tall (round-scroll: the page is the screen it fills and no more, so Safari's
   toolbar can't scroll a hole that fits), the middle taking what the head and the foot leave; anything taller (a small
   phone, a long card) scrolls as it always did, the foot pinned. Short phones (under 655px with Safari's bars:
   --round-short, desk-fixes' recipe) give up gaps, never sizes. (668px until fin-polish: the © line that left the foot took
   12.8px of the hole's height with it, so the hole's own is 647px in Safari, 8px under where the gaps start giving.) */
/* LARGE TEXT (r10-players-round, the final audit's round 10 F3): Safari's text size at 125 % and up on a 375 phone (at 200 % it
   is 188 CSS px wide) cut the hole's number off its band ("Hole 1" on hole 11) or ran it into the Drive button, put the Gross box
   under the Net one, cut the card's hole numbers and two-digit scores, the date over the card's Mulligan's, and the foot's words
   past their buttons. Only below these widths, so every phone at its own size is unchanged: the hole's number on a line of its
   own with the contest button under it (below 340 px, where the number met the button); below 320 (WCAG's reflow width) the
   counter's marks smaller so the nine fit, each player's Gross over their Net, the setup's Bay under the team, and the foot's two
   buttons halves whose words may take two lines (the card's own narrow rules are the foundation's: FOUNDATION, the scorecard). */
@media (max-width:339px){
  .p2-hn-row{grid-template-columns:minmax(0, 1fr); justify-items:center; row-gap:6px;}
  .p2-hn-row > span:first-child{display:none;}
  .p2-hn-row > .p2-con{justify-self:center; margin:0;}
}
@media (max-width:319px){
  .p2-marks{--w:clamp(12px, (100vw - 72px) / 9, 24px); --gap:4px;}
  .p2-pair{grid-template-columns:minmax(0, 1fr);}
  .p2-pp-match{flex-wrap:wrap; row-gap:6px;}
  .p2-round .p2-btns:not(.is-one){grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:8px;}
  .p2-round .p2-foot .btn.p2-btn{height:auto; padding:4px 6px; line-height:1.15; white-space:normal;}
  .p2-round .p2-foot .btn.p2-btn .p2-btn-t{white-space:normal;}
}
@media (max-width:560px){
  .app:has(.p2-round){padding-bottom:0;}
  body:has(.p2-round){min-height:0;}
  .play-shell.p2-round{min-height:100vh; min-height:100dvh;}
  html.is-standalone .play-shell.p2-round{min-height:calc(100vh - env(safe-area-inset-top, 0px)); min-height:calc(100dvh - env(safe-area-inset-top, 0px));}
  /* (the round's head is AB1's: Cancel at the top left beside the M, the league pages' head since the review after the
     integration: the foundation's one head) */
  /* the paper's first line clear of Safari's still ink band at the top (8px, styles.css .play-status-band); in a home-screen
     app the page already starts under the status bar's band */
  html:not(.is-standalone) .p2-round.is-setup .p2-pp-head{padding-top:calc(16px - var(--round-short, 0px) * 4 / 132);}
  /* the hole's − / + and wells on standing layers, the stepper unclipped (its corners drawn by the buttons): a tap makes no layer */
  .p2-round.is-hole .p2-box-host .number-stepper{overflow:visible;}
  .p2-round.is-hole .p2-box-host .ns-minus{border-radius:11px 0 0 11px;}
  .p2-round.is-hole .p2-box-host .ns-plus{border-radius:0 11px 11px 0;}
  .p2-round.is-hole .p2-box-host :is(.ns-btn, .number-stepper input){will-change:transform;}
  /* the gaps a short phone gives up, each its own share of the shortfall (--round-short, 0 to 132px): together 126px, so a
     two-player hole (its own 647px in Safari since fin-polish, 660 before) is still one screen at 548px, as before, and on
     down to 523px (desk-fixes: an iPhone SE with Safari's bars);
     never a word, a box, a − / + or a button (and never the head's top, which keeps the M clear of Safari's top band) */
  .p2-round.is-hole .p2-head{padding-bottom:calc(16px - var(--round-short, 0px) * 12 / 132);}
  .p2-round.is-hole .p2-league{margin-top:calc(8px - var(--round-short, 0px) * 4 / 132);}
  /* a two-player hole's head is one line on a phone: these gaps are counted for a one-line name, and a second line (20.8px)
     would put the second player's boxes under the foot or make the hole scroll from 548 to 664px tall (WebKit, a 23- or
     24-letter name: v2-tweaks "The caps type"); a name whose letters run past the line ends in "…" here only. The box
     reaches .26em into the gutter on each side (the left padding and the last letter's spacing, both blank), so the "…"
     comes only when the letters themselves don't fit, and the letters stay centred on the line. The league pages' head, a
     scramble's one-panel hole (room to spare) and a stopped round keep the whole name, wrapped */
  .p2-round.is-hole:has(.p2-panel + .p2-panel) .p2-league{max-width:calc(100% + .52em); margin-left:-.26em; margin-right:-.26em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
  .p2-round.is-hole .p2-hband{padding-top:calc(12px - var(--round-short, 0px) * 6 / 132); padding-bottom:calc(12px - var(--round-short, 0px) * 6 / 132);}
  .p2-round.is-hole .p2-marks{margin-top:calc(4px - var(--round-short, 0px) * 2 / 132);}
  .p2-round.is-hole .p2-rd-body{padding-top:calc(16px - var(--round-short, 0px) * 12 / 132); padding-bottom:calc(18px - var(--round-short, 0px) * 12 / 132);}
  .p2-round.is-hole .p2-panel{padding-top:calc(14px - var(--round-short, 0px) * 8 / 132); padding-bottom:calc(16px - var(--round-short, 0px) * 11 / 132);}
  .p2-round.is-hole .p2-panel + .p2-panel{margin-top:calc(12px - var(--round-short, 0px) * 6 / 132);}
  .p2-round.is-hole .p2-pname{margin-bottom:calc(10px - var(--round-short, 0px) * 6 / 132);}
  .p2-round.is-hole .p2-lab{margin-bottom:calc(6px - var(--round-short, 0px) * 2 / 132);}
  /* a Stableford hole's Gross and Result side by side (stableford-strokes; 36-p2-round.js p2HoleStep's is-sf): the Gross box what two
     digits need, the Result box the rest, its word sized to the room its well has (18px wherever it fits, "Albatross" whole at 375),
     so a two-player hole stays the one screen a net hole is; under 360px the − and + narrower (the rule after this block) */
  .p2-pair.is-sf{grid-template-columns:minmax(0, 122px) minmax(0, 1fr); gap:10px;}
  .p2-pair.is-sf .p2-cell + .p2-cell .p2-box-host{container-type:inline-size;}
  .p2-pair.is-sf .p2-pen.p2-word{font-size:clamp(13px, calc((100cqi - 96px) / 4.7), 18px); padding:0 2px;}
  .p2-round.is-setup .p2-pp-head{padding-bottom:calc(12px - var(--round-short, 0px) * 6 / 132);}
  .p2-round.is-setup .p2-pp-band{padding-top:calc(16.75px - var(--round-short, 0px) * 4 / 132); padding-bottom:calc(16.75px - var(--round-short, 0px) * 4 / 132);}
  .p2-round .p2-foot{padding-top:calc(12px - var(--round-short, 0px) * 6 / 132); padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 12px - var(--round-short, 0px) * 6 / 132);}
  /* in Safari the round's foot has the still ink foot band under it (v202: styles.css .play-foot-band, 8px): the buttons as far
     over the band as under the foot's top edge (fin-polish: the © line that sat between them gone) */
  html:not(.is-standalone) .p2-round .p2-foot{padding-bottom:calc(8px + 12px - var(--round-short, 0px) * 6 / 132);}
}
/* (stableford-strokes review) on the narrowest phones a Stableford hole's two boxes stay side by side, so a two-player hole is one
   screen as every other format's is (stacked, the second player's Result sat under the foot at 320): their − and + 38px wide, the
   Gross box what two digits need, the Result's word sized to its well */
@media (max-width:359px){
  .p2-pair.is-sf{grid-template-columns:minmax(0, 106px) minmax(0, 1fr); gap:8px;}
  .p2-pair.is-sf .p2-box-host .number-stepper{grid-template-columns:38px minmax(0, 1fr) 38px;}
  .p2-pair.is-sf .p2-pen{left:38px; right:38px;}
  .p2-pair.is-sf .p2-pen.p2-word{font-size:clamp(12px, calc((100cqi - 80px) / 4.7), 18px);}
}
@supports (height:100svh){
  @media (max-width:560px){
    /* (+ the top safe area: 0 in Safari; in a home-screen app the status bar's band, so the screen less it: home-screen) */
    .app .p2-round{--round-short:clamp(0px, calc(655px - 100svh + env(safe-area-inset-top, 0px)), 132px);}
  }
}
@supports (-webkit-touch-callout: none) and (height: 100svh){
  @media (max-width:560px){
    .app:has(.p2-round){display:block; min-height:0; padding-bottom:0;}
    .app:has(.p2-round) #sec-main{display:block;}
    .app:has(.p2-round) .play-shell.p2-round{padding-bottom:0;}
  }
}

/* ---------------- Reduce Motion: everything at once ---------------- */
@media (prefers-reduced-motion: reduce){
  .p2-mk, .p2-mk::after, .p2-mk::before{animation:none !important;}
  .p2-pen.is-writing .p2-pd path, .p2-pen.is-old.is-lifting, .p2-fin-score.is-landed{animation:none !important;}
  .p2-pen.is-old{display:none;}
  .p2-round.is-finish :is(.p2-fin-top, .p2-fin-score, .p2-fin-line, .p2-fin-page, .p2-foot){transition:none;}
  /* (the round's controls still press, at once: today's Reduce Motion press, as every other tap's) */
}

/* ---------------------------------------- AREA: nav (the dock and the LIVE bar: 35-player.js) ----------------------------------------
   LOGAN'S 14b (fin-nav, 2026-10-21; Logan, after docs/mockups/2026-10-21-nav.html: "go 14b for dock make sure the start round is
   not bigger tho than the tab bar both should be proportionate"). The dock is the calmer bar of option B: the same floating bar in
   the same place, on the same spring, with the same tuck, hold, slide and step back (docs/MOTION.md: today's motion ported as it
   is), but words only (the dock's own type: the band's capitals need 478px for six names, a 375 phone has 337), no drawings, no
   deep gold, at the band's height (52px, where it was 75): the chosen tab is the band's tan with its dark words, the others the
   house grey. Tucked, it closes into a small dark pill at the bottom left, the chosen tab's pill and 4px each side, holding the
   chosen word in tan (35-player.js: dockTuckOf, dockSkinLabel; --dock-tw, the pill's width, is the skin's own). The LIVE bar is
   one family with it: the dock's height, width, edges, corner, fill and frame, the house type, its gold action the house's gold
   button made to the bar (40px inside the 52 until fin-polish; since then THE ONE PILL, the chosen tab's shape: below), 6px over the dock (8 until now). On a desk the same
   bar across the 680px column (continuity C14), the LIVE bar on the same column. Role tokens only: the colour package's values
   (and a light look) flow in. The shadows are the dock's own (styles.css: one family, one shadow). */
/* THE ONE SIZE (fin-polish, 2026-10-21; Logan, of the size options: "the tab bar is way too small", then option B, 64): --p2-dock-h,
   the dock, its tucked pill and the LIVE bar, on a phone and a desk alike; the chosen pill and the LIVE action 48 in it (below).
   52, the band's --p2-band-h, from fin-nav until then. (35-player.js DOCK_P2_H: the same number, the one place the motion reads
   it.) */
:root{
  --p2-dock-h:64px;               /* the dock, its tucked pill and the LIVE bar (35-player.js DOCK_P2_H, LIVE_BAR_H) */
  --p2-dock-foot:20px;            /* the dock's foot over the screen's (on an iPhone over where Safari's toolbar comes back to: 100svh) */
  --p2-dock-gap:6px;              /* the LIVE bar over the dock, and beside the pill tucked (35-player.js LIVE_BAR_GAP) */
  --live-bar-h:var(--p2-dock-h);
  /* THE ONE PILL (fin-polish, 2026-10-21; Logan: "the start round should always be in the shape of the tab and shouldnt look off"):
     the dock's chosen tab and the LIVE bar's action are one shape: as tall as the bar less the bar's edge and 4px each side, never
     taller than 48 (a taller bar keeps a pill, not a circle: 48 in the 64px bar, 42 in a 52), round ends (half its height), the
     same distance in from the bar's top, foot and ends (8 in the 64px bar, 5 in a 52) */
  --p2-pill-h:min(calc(var(--p2-dock-h) - 10px), 48px);
  --p2-pill-in:calc((var(--p2-dock-h) - var(--p2-pill-h)) / 2);
  --p2-dock-top:calc(var(--p2-dock-foot) + var(--p2-dock-h));                              /* 84: the dock's top over the screen's foot (72 at 52) */
  --p2-live-top:calc(var(--p2-dock-top) + var(--p2-dock-gap) + var(--live-bar-h));       /* 154: the LIVE bar's (130 at 52; 167 before fin-nav) */
}
/* The tabs' words, on a desk and a phone alike: the house grey; the chosen one on the green pill (club green, fin-colour; no glow) */
.play-shell.is-p2 .play-tab{color:var(--p2-grey);}
.play-shell.is-p2 .play-tab.active{color:var(--p2-chip-ink);}
.play-shell.is-p2 .play-tabs > .tab-glide, .play-shell.is-p2 .play-tabs > .tab-glide > .tab-glide-piece{background:var(--p2-chip); box-shadow:none;}   /* (the chosen tab in the green: club green, fin-colour) */
.play-shell.is-p2 .play-tabs > .tab-glide.is-pieces{background:transparent;}
/* A desk: the same bar, across the 680px column (its edges the band's and the lists'), the dock's height (64px: its 17px words
   14px over and under them, the one pill, inside the bar's 7px and its edge), the dock's fill and frame, its corners round */
@media (min-width:561px){
  .play-shell.is-p2 .play-tabs{box-sizing:border-box; width:100%; max-width:var(--p2-col); padding:calc(var(--p2-pill-in) - 1px); border-color:var(--p2-frame); border-radius:calc(var(--p2-dock-h) / 2); background:var(--p2-control);}
  .play-shell.is-p2 .play-tab{padding:calc((var(--p2-pill-h) - 20px) / 2) 12px;}   /* (its 20px line: the one pill's height) */
  .play-shell.is-p2 .play-tab, .play-shell.is-p2 .play-tabs > .tab-glide{border-radius:calc(var(--p2-pill-h) / 2);}   /* (the one pill's ends, as the phone's: 999px drew the same) */
  .play-shell.is-p2 .live-bar{max-width:var(--p2-col); margin:0 auto 14px;}
}

/* THE LIVE BAR (renderLiveBar; apple-live-bar's three pieces, so on a phone its left end can be drawn in beside the tucked pill by
   transforms alone). The whole bar is one tap (it opens the panel, .live-bar-hit); its action at the right end is a tap of its own. */
.is-p2 .live-bar{position:relative; height:var(--live-bar-h); margin:0 0 14px; -webkit-tap-highlight-color:transparent;}
.is-p2 .live-bar > i{position:absolute; top:0; height:var(--live-bar-h); display:block; pointer-events:none;}
.is-p2 .live-bar-shade{left:0; width:100%; border-radius:calc(var(--live-bar-h) / 2);}
.is-p2 :is(.live-bar-cap, .live-bar-mid){background:var(--p2-live); border:1px solid var(--p2-live-line);}   /* (the green family: club green, fin-colour) */
.is-p2 .live-bar-cap{width:calc(var(--live-bar-h) / 2);}
.is-p2 .live-bar-cap-l{left:0; border-right:0; border-radius:calc(var(--live-bar-h) / 2) 0 0 calc(var(--live-bar-h) / 2);}
.is-p2 .live-bar-cap-r{right:0; border-left:0; border-radius:0 calc(var(--live-bar-h) / 2) calc(var(--live-bar-h) / 2) 0;}
.is-p2 .live-bar-mid{left:calc(var(--live-bar-h) / 2 - 1px); width:calc(100% - var(--live-bar-h) + 2px); border-left:0; border-right:0;}
.is-p2 .live-bar-hit{position:absolute; top:0; left:0; right:0; height:var(--live-bar-h); z-index:1; margin:0; padding:0; border:0; border-radius:calc(var(--live-bar-h) / 2);
  background:transparent; cursor:pointer; touch-action:manipulation; -webkit-tap-highlight-color:transparent;}
/* its press, today's (animation refinement round 1): each piece's pressed copy (its own box and corners, the pressed fill inside its
   border) over it, its opacity eased over .15s both ways, riding the pieces' own layers through the dock's spring */
.is-p2 :is(.live-bar-cap, .live-bar-mid)::after{content:""; position:absolute; border:inherit; border-color:transparent; border-radius:inherit;
  background:var(--p2-live-press) padding-box; opacity:0; transition:opacity .15s ease; pointer-events:none;}
.is-p2 .live-bar-cap-l::after{inset:-1px 0 -1px -1px;}
.is-p2 .live-bar-cap-r::after{inset:-1px -1px -1px 0;}
.is-p2 .live-bar-mid::after{inset:-1px 0;}
.is-p2 .live-bar-hit:active ~ :is(.live-bar-cap, .live-bar-mid)::after{opacity:1;}
@media (prefers-reduced-motion: reduce){ .is-p2 :is(.live-bar-cap, .live-bar-mid)::after{transition:none;} }
/* …its row: the dot, the week over its closing time (the house's name and its grey line), the action as far in from the bar's end
   as the dock's chosen pill is from the dock's (--p2-pill-in, fin-polish) */
.is-p2 .live-bar-row{position:absolute; top:0; left:0; right:0; height:var(--live-bar-h); z-index:2; display:flex; align-items:center; gap:10px;
  padding:0 var(--p2-pill-in) 0 16px; pointer-events:none;}
.is-p2 .live-bar-text{flex:1 1 auto; min-width:0; display:flex; flex-direction:column; font-family:'Inter', sans-serif;}
.is-p2 :is(.live-bar-week, .live-bar-when){display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
/* …laid out for the narrow bar beside the tucked pill, each line its own words, its short words or out of the way, whichever
   fits whole (35-player.js liveBarNarrow, r4-fix-players: the variables ride on the bar's own style; open, none is set) */
.is-p2 .live-bar-week{display:var(--lb-wk, block);}
.is-p2 .live-bar-when{display:var(--lb-wn, block);}
.is-p2 .live-bar-week > .live-bar-long{display:var(--lb-wk-long, inline);}
.is-p2 .live-bar-week > .live-bar-short{display:var(--lb-wk-short, none);}
.is-p2 .live-bar-when > .live-bar-long{display:var(--lb-wn-long, inline);}
.is-p2 .live-bar-when > .live-bar-short{display:var(--lb-wn-short, none);}
.is-p2 .live-bar-week{font-size:16px; font-weight:600; line-height:1.2; color:var(--p2-text);}
.is-p2 .live-bar-when{font-size:13px; font-weight:500; line-height:1.3; color:var(--p2-grey);}
/* …the action: THE ONE PILL (fin-polish; Logan: "the start round should always be in the shape of the tab and shouldnt look off"):
   the dock's chosen tab's shape exactly, its height, its round ends and its distance in from the bar (--p2-pill-h, --p2-pill-in),
   in every state (Start round, Resume hole N, Send now; Card in and All cards in quiet, the same box without the fill), on a phone
   and a desk; the house's gold with its dark words, Inter 600 16px, 14px in from its round ends. (It was the house button's 12px
   corners at 40px until fin-polish.) */
.is-p2 .live-bar-act{flex:none; box-sizing:border-box; display:inline-flex; align-items:center; height:var(--p2-pill-h); margin:0; padding:0 14px; border:1px solid var(--p2-gold);
  border-radius:calc(var(--p2-pill-h) / 2); background:var(--p2-gold); color:var(--p2-on-gold); font-family:'Inter', sans-serif; font-size:16px; font-weight:600; line-height:1;
  white-space:nowrap; cursor:pointer; pointer-events:auto; -webkit-tap-highlight-color:transparent;}   /* (its press is the one press: styles.css's shared list) */
.is-p2 .live-bar-act.is-quiet{border-color:transparent; background:transparent; color:var(--p2-tan-word);}

@media (max-width:560px){
  /* THE DOCK ON A PHONE: the bar 52px, its tabs the words alone, each tab's pill (and the gold's) concentric with the bar's ends */
  .play-shell-wide.is-p2 .play-tabs{height:var(--p2-dock-h); border-radius:calc(var(--p2-dock-h) / 2); padding:calc(var(--p2-pill-in) - 1px);}
  .play-shell-wide.is-p2 .play-tab{padding:0 2px; border-radius:calc(var(--p2-pill-h) / 2);}
  .play-shell-wide.is-p2 .play-tab{min-width:44px;}   /* (a tap 44px wide at least: Skins was 41 at 375; fx-players, the full audit's players p6) */
  .play-shell-wide.is-p2 .play-tabs > .tab-glide{border-radius:calc(var(--p2-pill-h) / 2);}
  /* …its skin (35-player.js: .dock-skin.is-p2 while it draws the players' bar): the same three pieces at 52px in the dock's fill
     and frame; tucked, a pill as wide as the chosen tab's and 4px each side (--dock-tw), its shadow, its button and its word
     that size, the step back about the pill's own middle */
  .dock-skin.is-p2{height:var(--p2-dock-h); transform-origin:calc(var(--dock-tw, var(--p2-dock-h)) / 2) calc(var(--p2-dock-h) / 2);}
  .dock-skin.is-p2 .dock-shade{height:var(--p2-dock-h); border-radius:calc(var(--p2-dock-h) / 2);}
  .dock-skin.is-p2 :is(.dock-cap, .dock-mid){height:var(--p2-dock-h); background:var(--p2-control); border-color:var(--p2-frame);}
  .dock-skin.is-p2 .dock-cap{width:calc(var(--p2-dock-h) / 2);}
  .dock-skin.is-p2 .dock-cap-l{border-radius:calc(var(--p2-dock-h) / 2) 0 0 calc(var(--p2-dock-h) / 2);}
  .dock-skin.is-p2 .dock-cap-r{border-radius:0 calc(var(--p2-dock-h) / 2) calc(var(--p2-dock-h) / 2) 0;}
  .dock-skin.is-p2 .dock-mid{left:calc(var(--p2-dock-h) / 2 - 1px); width:calc(100% - var(--p2-dock-h) + 2px);}
  .dock-skin.is-p2 :is(.dock-shade-dot, .dock-ico, .dock-hit){width:var(--dock-tw, var(--p2-dock-h)); height:var(--p2-dock-h);}
  .dock-skin.is-p2 :is(.dock-shade-dot, .dock-hit){border-radius:calc(var(--p2-dock-h) / 2);}
  .dock-skin.is-p2 .dock-ico{color:var(--p2-chip-tucked);}
  .dock-skin.is-p2 .dock-word{font-family:'Inter', sans-serif; font-weight:600; font-size:clamp(12px, calc(3.96vw - 2.88px), 14px); line-height:1.2; white-space:nowrap;}
  /* THE LIVE BAR ON A PHONE: fixed the gap over the dock, as wide as it, over it in the stack (41 to its 39 and 40). When the dock
     tucks, the bar comes down beside the pill on the same spring (35-player.js: liveBarLook in dockGo), its left cap, middle and
     shadow drawn in by the pill's width and the gap and its dot and words riding in with the left end; from the first frame of a
     tuck to the end of an opening its words are laid out for that narrow bar (--live-in, liveBarApply), each line in the words
     that fit it whole: its own, its short ones ("Closes 8:00 PM", "Round 1"), or none (liveBarNarrow, r4-fix-players: beside
     the Leaderboard's pill at 375 the words have 77px with Start round, 44px with "Resume hole 18"), so nothing is ever cut;
     open, they have the whole bar. Only the tap and the action take a touch; tucked, the tap starts right of the pill. It never
     steps back with the pill (dock-live-fix), and it keeps the gap from the dock's shape all the way down and up (liveBarDropAt). */
  .play-shell-wide.is-p2 .live-bar{position:fixed; left:8px; width:calc(100vw - 16px); bottom:calc(var(--p2-dock-top) + var(--p2-dock-gap) + env(safe-area-inset-bottom, 0px));
    margin:0; z-index:41; pointer-events:none; will-change:transform;}
  .play-shell-wide.is-p2 .live-bar-hit{pointer-events:auto;}
  .play-shell-wide.is-p2 .live-bar.is-tucked .live-bar-hit{left:var(--live-in, 0px);}
  .play-shell-wide.is-p2 .live-bar > i, .play-shell-wide.is-p2 :is(.live-bar-dot, .live-bar-text){transform-origin:0 50%; will-change:transform;}
  .play-shell-wide.is-p2 .live-bar-text{margin-right:var(--live-in, 0px);}
  /* THE FOOT OF A DOCKED PAGE (scroll-bounce's rules, at the 52px dock): the © line in the strip under the bar, the corner notes and
     the toast over it, a popup's dim calm over the bar's band (the page's own dimmed colour from 4px over it, softly over the 48px
     before: the dim over the page as one layer, the page's colour coming in under it, so the dim and its foot are the roles) */
  html:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) #sec-main > .app-copyright{padding-top:calc(var(--p2-dock-top) - 18px);}
  html:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) #save-status, html:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) #offline-status{bottom:calc(var(--p2-dock-top) + 10px + env(safe-area-inset-bottom, 0px));}
  html:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) #app-toast{bottom:calc(var(--p2-dock-top) + 20px + env(safe-area-inset-bottom, 0px));}
  html:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) .modal-overlay::before{background:linear-gradient(var(--p2-dim), var(--p2-dim)),
    linear-gradient(to bottom, transparent calc(100% - var(--p2-dock-top) - 52px - env(safe-area-inset-bottom, 0px)), var(--p2-page) calc(100% - var(--p2-dock-top) - 4px - env(safe-area-inset-bottom, 0px)));}
  /* …and over the LIVE bar too, when there is one */
  html:has(#sec-main .play-shell-wide.is-p2 .live-bar) #sec-main > .app-copyright{padding-top:calc(var(--p2-live-top) - 18px);}
  html:has(#sec-main .play-shell-wide.is-p2 .live-bar) #save-status, html:has(#sec-main .play-shell-wide.is-p2 .live-bar) #offline-status{bottom:calc(var(--p2-live-top) + 10px + env(safe-area-inset-bottom, 0px));}
  html:has(#sec-main .play-shell-wide.is-p2 .live-bar) #app-toast{bottom:calc(var(--p2-live-top) + 20px + env(safe-area-inset-bottom, 0px));}
  html:has(#sec-main .play-shell-wide.is-p2 .live-bar) .modal-overlay::before{background:linear-gradient(var(--p2-dim), var(--p2-dim)),
    linear-gradient(to bottom, transparent calc(100% - var(--p2-live-top) - 52px - env(safe-area-inset-bottom, 0px)), var(--p2-page) calc(100% - var(--p2-live-top) - 4px - env(safe-area-inset-bottom, 0px)));}
  /* ON AN IPHONE (styles.css's rule: placed from the top, at the line Safari's small viewport ends, 100svh, so nothing moves as
     Safari's bars come and go and a touch never lands in Safari's own strip): the same lines from there */
  @supports (-webkit-touch-callout: none) and (height: 100svh){
    .play-shell-wide.is-p2 .play-tabs, .dock-skin.is-p2{top:calc(100svh - var(--p2-dock-top) - env(safe-area-inset-bottom, 0px)); bottom:auto;}
    .play-shell-wide.is-p2 .live-bar{top:calc(100svh - var(--p2-live-top) - env(safe-area-inset-bottom, 0px)); bottom:auto;}
    html.page-lower:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) .app, html.page-foot:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) .app{padding-bottom:calc(var(--p2-dock-top) + 12px + env(safe-area-inset-bottom, 0px) + 100lvh - 100svh);}
    html.page-lower:has(#sec-main .play-shell-wide.is-p2 .live-bar) .app, html.page-foot:has(#sec-main .play-shell-wide.is-p2 .live-bar) .app{padding-bottom:calc(var(--p2-live-top) + 12px + env(safe-area-inset-bottom, 0px) + 100lvh - 100svh);}
    html.page-lower:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) #sec-main > .app-copyright, html.page-foot:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) #sec-main > .app-copyright{padding-top:16px;}
    html:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) #save-status, html:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) #offline-status{top:calc(100svh - var(--p2-dock-top) - 10px - env(safe-area-inset-bottom, 0px)); bottom:auto;}
    html:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) #app-toast{top:calc(100svh - var(--p2-dock-top) - 20px - env(safe-area-inset-bottom, 0px)); bottom:auto;}
    html:has(#sec-main .play-shell-wide.is-p2 .live-bar) #save-status, html:has(#sec-main .play-shell-wide.is-p2 .live-bar) #offline-status{top:calc(100svh - var(--p2-live-top) - 10px - env(safe-area-inset-bottom, 0px));}
    html:has(#sec-main .play-shell-wide.is-p2 .live-bar) #app-toast{top:calc(100svh - var(--p2-live-top) - 20px - env(safe-area-inset-bottom, 0px));}
    html:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) .modal-overlay::before{background:linear-gradient(var(--p2-dim), var(--p2-dim)),
      linear-gradient(to bottom, transparent calc(100svh - var(--p2-dock-top) - 52px - env(safe-area-inset-bottom, 0px)), var(--p2-page) calc(100svh - var(--p2-dock-top) - 4px - env(safe-area-inset-bottom, 0px)));}
    html:has(#sec-main .play-shell-wide.is-p2 .live-bar) .modal-overlay::before{background:linear-gradient(var(--p2-dim), var(--p2-dim)),
      linear-gradient(to bottom, transparent calc(100svh - var(--p2-live-top) - 52px - env(safe-area-inset-bottom, 0px)), var(--p2-page) calc(100svh - var(--p2-live-top) - 4px - env(safe-area-inset-bottom, 0px)));}
    /* …in a home-screen app no Safari bars come and go: the page's foot room is the bars' own (anim-staff's rule) */
    html.is-standalone.page-lower:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) .app, html.is-standalone.page-foot:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) .app{padding-bottom:calc(var(--p2-dock-top) + 12px + env(safe-area-inset-bottom, 0px));}
    html.is-standalone.page-lower:has(#sec-main .play-shell-wide.is-p2 .live-bar) .app, html.is-standalone.page-foot:has(#sec-main .play-shell-wide.is-p2 .live-bar) .app{padding-bottom:calc(var(--p2-live-top) + 12px + env(safe-area-inset-bottom, 0px));}
  }
  /* …and there everything from the whole screen (100lvh: team-pick-smooth round 5, styles.css) */
  @supports (-webkit-touch-callout: none) and (height: 100lvh){
    html.is-standalone .play-shell-wide.is-p2 .play-tabs, html.is-standalone .dock-skin.is-p2{top:calc(100lvh - var(--p2-dock-top) - env(safe-area-inset-bottom, 0px));}
    html.is-standalone .play-shell-wide.is-p2 .live-bar{top:calc(100lvh - var(--p2-live-top) - env(safe-area-inset-bottom, 0px));}
    html.is-standalone:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) #save-status, html.is-standalone:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) #offline-status{top:calc(100lvh - var(--p2-dock-top) - 10px - env(safe-area-inset-bottom, 0px));}
    html.is-standalone:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) #app-toast{top:calc(100lvh - var(--p2-dock-top) - 20px - env(safe-area-inset-bottom, 0px));}
    html.is-standalone:has(#sec-main .play-shell-wide.is-p2 .live-bar) #save-status, html.is-standalone:has(#sec-main .play-shell-wide.is-p2 .live-bar) #offline-status{top:calc(100lvh - var(--p2-live-top) - 10px - env(safe-area-inset-bottom, 0px));}
    html.is-standalone:has(#sec-main .play-shell-wide.is-p2 .live-bar) #app-toast{top:calc(100lvh - var(--p2-live-top) - 20px - env(safe-area-inset-bottom, 0px));}
    html.is-standalone:has(#sec-main .play-shell-wide.is-p2 > .play-tabs) .modal-overlay::before{background:linear-gradient(var(--p2-dim), var(--p2-dim)),
      linear-gradient(to bottom, transparent calc(100lvh - var(--p2-dock-top) - 52px - env(safe-area-inset-bottom, 0px)), var(--p2-page) calc(100lvh - var(--p2-dock-top) - 4px - env(safe-area-inset-bottom, 0px)));}
    html.is-standalone:has(#sec-main .play-shell-wide.is-p2 .live-bar) .modal-overlay::before{background:linear-gradient(var(--p2-dim), var(--p2-dim)),
      linear-gradient(to bottom, transparent calc(100lvh - var(--p2-live-top) - 52px - env(safe-area-inset-bottom, 0px)), var(--p2-page) calc(100lvh - var(--p2-live-top) - 4px - env(safe-area-inset-bottom, 0px)));}
  }
}

/* ---------------- NARROW: 340px and under (r10-players-pages, the final audit's round 10, players-pages F1/F2) ----------------
   Only Safari's own page zoom (aA) on an iPhone reaches here (375 at 117% and up lays the page out 320 wide, 150% 250, 200%
   188), or a phone 320 wide. The pages had no rule under 375: the dock's six words ran into each other from 340 down and at
   150-200% its last tabs lay past its end where no tap reached them; a row's name column was what its fixed columns left (at 250
   "Fox/Faye" stood one letter a line), the league's spaced capitals broke inside a word, the way back covered the M, a popup's
   name stood on end and its tiles overlapped. Here nothing is added and nothing goes but decoration: the dock keeps every tab
   at its own width and scrolls sideways (its chosen tab kept in view, the tab row's own code: syncTabIndicator, tabsubReveal);
   the initials' squares and the card's M (aria-hidden) step aside, a row's boxes go under its name when the name can't keep
   7em beside them, the capitals' spacing tightens, the way back sits above the M, a popup's tiles wrap. 375 and 402 at 100%
   never reach this block. */
@media (max-width:340px){
  .play-shell-wide.is-p2 .play-tabs{justify-content:flex-start; overflow-x:auto; scrollbar-width:none; touch-action:pan-x pan-y;}
  .play-shell-wide.is-p2 .play-tabs::-webkit-scrollbar{display:none;}
  .play-shell-wide.is-p2 .play-tab{flex:1 0 auto; padding:0 9px;}
  .app-copyright{white-space:normal; text-align:center;}   /* (one line, it was wider than a 188 page: the page scrolled sideways) */
}
/* …and the open LIVE bar keeps the narrow bar's rule (35-player.js liveBarNarrow: never an ellipsis; a line's short words when its own
   don't fit, else the line steps aside, the dot and the action staying): its closing time in its short words here, out of the way
   at 290 and under, the week's name too at 240 and under (200% at 375); the bar's spoken name and the panel it opens say both.
   (Tucked, liveBarNarrow's own choice on the bar's style still wins.) */
@media (max-width:340px){ .is-p2 .live-bar{--lb-wn-long:none; --lb-wn-short:inline;} }
@media (max-width:290px){ .is-p2 .live-bar{--lb-wn:none;} }
@media (max-width:260px){ .is-p2 .live-bar-act{padding:0 10px; font-size:14px;} }
@media (max-width:240px){ .is-p2 .live-bar{--lb-wk:none;} }
