/* Football's sheets (the guide and the result), its actions row, results and stats, and Football on its own at sortday.app/football.
   The sheets are styled by id, so the site theme's heading and button rules never out-rank them. */
.sd-football-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.sd-football-actions .btn{min-height:44px;display:inline-flex;align-items:center;gap:8px}
.sd-football-actions svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

:is(#sd-football-guide,#sd-football-result,#sd-football-money,#sd-football-group,#sd-football-share,#sd-football-people,#sd-football-versions,#sd-football-orgguide,#sd-football-paid){box-sizing:border-box;position:fixed;inset:0;margin:auto auto max(12px,env(safe-area-inset-bottom,0px));width:min(560px,calc(100% - 24px));max-height:85vh;max-height:85dvh;overflow:auto;padding:16px 16px 0;border:0;border-radius:24px;background:var(--bg);color:var(--ink);font-family:inherit;box-shadow:0 24px 80px #1510172e}
:is(#sd-football-guide,#sd-football-result,#sd-football-money,#sd-football-group,#sd-football-share,#sd-football-people,#sd-football-versions,#sd-football-orgguide,#sd-football-paid)::backdrop{background:rgba(21,16,23,.42)}
:is(#sd-football-guide,#sd-football-result,#sd-football-money,#sd-football-group,#sd-football-share,#sd-football-people,#sd-football-versions,#sd-football-orgguide,#sd-football-paid)[open]{animation:sd-fg-in .22s cubic-bezier(.2,.8,.2,1)}
:is(#sd-football-guide,#sd-football-result,#sd-football-money,#sd-football-group,#sd-football-share,#sd-football-people,#sd-football-versions,#sd-football-orgguide,#sd-football-paid)[open]::backdrop{animation:sd-fg-dim .2s ease-out}
:is(#sd-football-guide,#sd-football-result,#sd-football-money,#sd-football-group,#sd-football-share,#sd-football-people,#sd-football-versions,#sd-football-orgguide,#sd-football-paid).fg-closing{pointer-events:none;opacity:0;transform:translateY(24px);transition:opacity .16s ease-in,transform .16s ease-in}
@keyframes sd-fg-in{from{opacity:0;transform:translateY(24px)}}
@keyframes sd-fg-dim{from{background-color:transparent}}
.fg-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.fg-top>span{font-weight:700;letter-spacing:-.02em}.fg-top b{font-weight:400;color:var(--muted);font-size:.85rem}
.fg-close,.fg-clear{border:0;background:none;color:var(--muted);font:inherit;font-size:.9rem;text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:0 4px;cursor:pointer}
:is(#sd-football-guide,#sd-football-result,#sd-football-money,#sd-football-group,#sd-football-share,#sd-football-people,#sd-football-versions,#sd-football-orgguide,#sd-football-paid) h2{font-family:var(--font-display,inherit);font-size:1.6rem;line-height:1.15;letter-spacing:-.03em;margin:4px 0 8px;outline:none}
.fg-body{color:var(--muted);line-height:1.5;margin:0 0 16px;max-width:52ch}
.fg-label{display:block;font-size:.8rem;font-weight:600;color:var(--muted);margin:0 0 6px}
#fg-names{box-sizing:border-box;width:100%;min-height:150px;padding:12px;border:1px solid var(--line-strong);border-radius:12px;background:var(--paper);color:var(--ink);font:inherit;font-size:1rem;line-height:1.45;resize:vertical}
#fg-names:focus-visible,#fg-add:focus-visible,.fg-chip:focus-visible,.fg-close:focus-visible,.fg-clear:focus-visible{outline:3px solid var(--accent-ink);outline-offset:2px}
/* Add a player: a name box and Add on one line, then the list with Clear the list beside its label. */
.fg-add{display:flex;gap:8px;margin:0 0 16px}
#fg-add{box-sizing:border-box;flex:1;min-width:0;height:48px;min-height:48px;padding:11px 12px;line-height:24px;resize:none;overflow:hidden;white-space:nowrap;border:1px solid var(--line-strong);border-radius:12px;background:var(--paper);color:var(--ink);font:inherit;font-size:1rem}
.fg-add .btn{flex:none;min-height:48px;padding:0 20px}
.fg-list-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 2px}.fg-list-head .fg-label{margin:0}
.fg-status{min-height:1.4em;margin:10px 0 0;color:var(--muted);font-size:.9rem;line-height:1.4;white-space:pre-line}
.fg-status.ok{color:var(--ink);font-weight:600}.fg-status.warn{color:var(--warn,#8a5a14)}
.fg-chips{display:flex;flex-wrap:wrap;gap:8px}.fg-or{margin-top:16px}
.fg-chip{min-height:44px;display:inline-flex;align-items:center;gap:6px;padding:0 14px;border:1px solid var(--line-strong);border-radius:999px;background:var(--paper);color:var(--ink);font:inherit;font-size:.95rem;cursor:pointer;text-align:left}
.fg-chip[aria-pressed=true]{background:var(--soft);border-color:var(--accent);color:var(--accent-ink);font-weight:600}
.fg-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 4px;box-sizing:border-box;border-radius:999px;background:var(--accent);color:var(--on-accent,#fff);font-size:.72rem;font-weight:700}
.fg-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.fg-steps{margin:0 0 16px;padding:0 0 0 1.2em;display:grid;gap:8px;line-height:1.5}.fg-steps strong{font-weight:700}
.fg-note{color:var(--muted);font-size:.85rem;margin:10px 0 0}
/* One choice of a few (when keepers are picked, who picks first, for which team): a label, then chips in a row. */
.fg-seg-label{margin:16px 0 6px}.fg-seg+.fg-steps{margin-top:16px}
.fg-actions{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:8px;margin:16px -16px 0;padding:12px 16px max(12px,env(safe-area-inset-bottom,0px));background:var(--bg);border-top:1px solid var(--line)}
.fg-actions .btn{min-height:48px;padding:0 20px}
@media (prefers-color-scheme:dark){html.sd-dark :is(#sd-football-guide,#sd-football-result,#sd-football-money,#sd-football-group,#sd-football-share,#sd-football-people,#sd-football-versions,#sd-football-orgguide,#sd-football-paid){border:1px solid var(--line-strong)}html.sd-dark :is(#sd-football-guide,#sd-football-result,#sd-football-money,#sd-football-group,#sd-football-share,#sd-football-people,#sd-football-versions,#sd-football-orgguide,#sd-football-paid)::backdrop{background:rgba(0,0,0,.6)}}

/* The result: the score in two boxes, then one row per player with a stepper, or Yellow and Red. Every target is at least 44px. */
.fg-day{box-sizing:border-box;min-height:44px;padding:0 12px;border:1px solid var(--line-strong);border-radius:12px;background:var(--paper);color:var(--ink);font:inherit}
.fg-gameday{display:block;margin:0 0 14px}
.fgr-fixed{margin:0 0 12px;font-size:1rem;color:var(--ink)}
/* Side by side like a scoreboard where they fit (about 366px and up); one above the other on a smaller phone. */
.fg-score{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:16px 0}
.fg-score>div{display:grid;justify-items:center;gap:6px;padding:12px 6px;border:1px solid var(--line-strong);border-radius:16px;background:var(--paper)}
.fg-score .fg-label{margin:0;text-align:center}
.fg-stepper{display:inline-flex;align-items:center;gap:4px;flex:none}
.fg-stepper button{min-width:44px;min-height:44px;border:1px solid var(--line-strong);border-radius:12px;background:var(--paper);color:var(--ink);font:inherit;font-size:1.25rem;line-height:1;cursor:pointer}
.fg-stepper button:disabled{opacity:.35;cursor:default}
.fg-stepper button:focus-visible,.fg-card:focus-visible,.fg-day:focus-visible,.fg-stepper input:focus-visible{outline:3px solid var(--accent-ink);outline-offset:2px}
.fg-stepper output{min-width:2.2ch;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.fg-stepper.big input{box-sizing:border-box;width:2.6ch;min-height:44px;padding:0;border:0;background:none;color:var(--ink);font:inherit;font-size:1.75rem;font-weight:700;text-align:center;font-variant-numeric:tabular-nums}
.fg-seg{margin:0 0 4px}
.fg-team{margin:16px 0 0}
.fg-team h3{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 8px;margin:0 0 4px;font-size:1rem}
.fg-team h3 span{font-weight:400;font-size:.85rem;color:var(--muted)}.fg-team h3 .fg-over{color:var(--warn,#8a5a14);font-weight:600}
.fg-team ul{list-style:none;margin:0;padding:0}
.fg-row{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:52px;border-bottom:1px solid var(--line)}
.fg-row>span:first-child{min-width:0;overflow-wrap:anywhere}
.fg-own>span:first-child{color:var(--muted);font-size:.9rem}
.fg-cards{display:inline-flex;gap:6px;flex:none}
.fg-card{min-height:44px;padding:0 12px;border:1px solid var(--line-strong);border-radius:10px;background:var(--paper);color:var(--ink);font:inherit;font-size:.9rem;cursor:pointer}
.fg-card.y[aria-pressed=true]{background:#f3cf4a;border-color:#c9a321;color:#2b2100;font-weight:700}
.fg-card.r[aria-pressed=true]{background:#c9372c;border-color:#a32a21;color:#fff;font-weight:700}
.fg-card.l[aria-pressed=true]{background:var(--soft);border-color:var(--accent);color:var(--accent-ink);font-weight:700}
.fg-card.n[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--bg);font-weight:700}
/* A pressed card says so in more than colour: a tick before its name. */
.fg-card[aria-pressed=true]::before{content:'✓';margin-right:4px}

/* The colours on View teams. A two-colour kit shows both halves on the shirt. */
.sd-kit2 .jersey,.jersey.sd-kit2{background:linear-gradient(90deg,var(--jersey) 50%,var(--jersey2) 50%)}
.sd-kit-card h2{margin:6px 0 12px}.sd-kit-card p{margin:10px 0 0}
.sd-kits{display:grid;gap:12px}
.sd-kit-name{display:flex;align-items:center;gap:8px}
.sd-kit-card .jersey{display:inline-block;width:22px;height:24px}
.sd-kit-card select{min-height:44px}

/* On the page: the result card, last month's card, and Stats. */
.sd-result-card,.sd-month-card{margin:0 0 16px}
.sd-result-card h2,.sd-month-card h2{margin:6px 0 8px}
.sd-result-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.sd-result-actions .btn{min-height:44px}
.sd-month-card .split{align-items:center}
.fg-periods{flex-wrap:nowrap;overflow-x:auto;margin:0 0 16px;padding-bottom:2px}
.fg-periods .fg-chip{flex:none}
.sd-stats-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin:0 0 16px}
.sd-stats-head h2{margin:0}.sd-stats-head p{margin:4px 0 0}.sd-stats-head .btn{min-height:44px}
.sd-boards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:12px;margin:0 0 16px}
.sd-board h3{margin:0;font-size:1rem}
.sd-board ol{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.sd-board li{display:grid;grid-template-columns:2.5ch 1fr;gap:12px;align-items:baseline}
.sd-board li strong{font-variant-numeric:tabular-nums}
.sd-board-people li{display:flex;justify-content:space-between}.sd-board-people li strong{text-align:right}
.sd-games h2{margin:0 0 8px}
.sd-game{border-top:1px solid var(--line)}
.sd-game summary{position:relative;display:grid;gap:2px;padding:12px 32px 12px 0;min-height:44px;cursor:pointer;list-style:none}
.sd-game summary::-webkit-details-marker{display:none}
.sd-game summary::after{content:'';position:absolute;right:8px;top:50%;width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:translateY(-75%) rotate(45deg)}
.sd-game[open] summary::after{transform:translateY(-25%) rotate(225deg)}
.sd-game summary:focus-visible{outline:3px solid var(--accent-ink);outline-offset:2px}
.sd-game-body{padding:0 0 12px}.sd-game-body p{margin:6px 0}
@media (prefers-reduced-motion:reduce){:is(#sd-football-guide,#sd-football-result,#sd-football-money,#sd-football-group,#sd-football-share,#sd-football-people,#sd-football-versions,#sd-football-orgguide,#sd-football-paid)[open],:is(#sd-football-guide,#sd-football-result,#sd-football-money,#sd-football-group,#sd-football-share,#sd-football-people,#sd-football-versions,#sd-football-orgguide,#sd-football-paid)[open]::backdrop{animation:none}:is(#sd-football-guide,#sd-football-result,#sd-football-money,#sd-football-group,#sd-football-share,#sd-football-people,#sd-football-versions,#sd-football-orgguide,#sd-football-paid).fg-closing{transition:none}}

/* sortday.app/football: only Football, so there is nothing to find and nothing else to explain. Keyed on the page itself
   (body[data-only]), so the rest of sortday is hidden from the first paint, before any script runs. */
body[data-only="football"] #mobileNav,body[data-only="football"] .sidebar,body[data-only="football"] .demo-switch,body[data-only="football"] [data-action="fill"],
body[data-only="football"] .mobile-draft-tabs,body[data-only="football"] .draft-chat,body[data-only="football"] .sd-task-help{display:none!important}
body[data-only="football"] .draft-grid{grid-template-columns:minmax(0,1fr)!important}
/* No tab bar here, so nothing to keep clear at the bottom when focus moves to the toss. */
html:has(> body[data-only="football"]){scroll-padding-bottom:max(16px,env(safe-area-inset-bottom,0px))}
body[data-only="football"] .topbar .site-install-entry,body[data-only="football"] .topbar .sd-profile-button,body[data-only="football"] .topbar .introduction-replay,
body[data-only="football"] .topbar [data-action="about"],body[data-only="football"] .site-address-help,body[data-only="football"] .footer{display:none!important}
.sd-football-new{margin:0 0 16px}.sd-football-new h2{margin:0 0 6px}.sd-football-new .btn{margin-top:12px;min-height:44px}
.sd-football-stuck{margin:0 0 16px;color:var(--warn,#8a5a14);line-height:1.5}
.sd-football-note{color:var(--muted);font-size:.85rem;line-height:1.5;margin:24px 0 calc(16px + env(safe-area-inset-bottom,0px))}

/* Money (football-money.js): one row per player with what they owe and a Paid mark; the sheets reuse the guide's. */
.sd-money-card,.sd-money-earlier,.sd-money-rules,.sd-money-wait{margin:0 0 16px}
.sd-money-card h2,.sd-money-earlier h2{margin:6px 0 4px}
/* A long one-word name (an organiser's, the owner's) breaks where it must rather than running off the card at 320 px. */
.sd-money-card p,.heading .sd-fcl-status,.sd-fcl-banner p,.sd-fpp-ask p,.fpp-orgs,.fg-status,.fgr-owner-note,.sd-fg-owner-note{overflow-wrap:anywhere}
/* So does a captain's or a group's (R3-screens-4): the result card, the organiser guide, the Home Screen card, the toss and its choice,
   Keep Football in your account, every sheet (People's heading and words among them), the team cards and the colours. */
#rulesForm .settings-actions[hidden]{display:none}
.sd-result-card p,#sd-football-orgguide h2,#sd-football-orgguide p,#sd-football-orgguide li,.sd-fcl-keep h2,.sd-fcl-keep p,.sd-fcl-keep li,.toss h2,.toss p,.sd-football-keep h2,.sd-football-keep p,.fg-sheet h2,.fg-sheet h3,.fg-sheet p,.fg-sheet li,.turn-banner h2,.team-person>span:first-child,.team-header h3,.sd-kit-name,.fgr-fixed{overflow-wrap:anywhere;min-width:0}
/* Players & rules redrawn after another phone's save (G6) says so where the form starts, in the colour Money's warnings use. */
#rulesForm .sd-rules-moved{color:var(--warn,#8a5a14);font-weight:600}
.fmo-rows{list-style:none;margin:12px 0 0;padding:0}
.fmo-row{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:56px;border-bottom:1px solid var(--line)}
.fmo-who,.fmo-who-text{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:6px 0}
.fmo-who{min-height:52px;border:0;background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.fmo-who span,.fmo-who-text span{font-weight:600;overflow-wrap:anywhere}
/* A name the OK card says is written differently from its draft (G5): code, which the theme leaves in a face where a capital i and a small
   L look different. */
.fmo-spell{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono","DejaVu Sans Mono",monospace;font-size:.92em;font-weight:600}
.fmo-who small,.fmo-who-text small{color:var(--muted);font-size:.85rem;overflow-wrap:anywhere}
.fmo-who:focus-visible{outline:3px solid var(--accent-ink);outline-offset:2px;border-radius:8px}
.fmo-paid,.fmo-ok{flex:none}.fmo-ok{min-width:64px}.fmo-day{color:var(--warn,#8a5a14);font-weight:600}
.fmo-paid[aria-pressed=true]{background:var(--soft);border-color:var(--accent);color:var(--accent-ink);font-weight:700}
.fmo-free{flex:none;padding:0 12px;color:var(--muted);font-size:.9rem}
.fmo-bare{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:12px}
.fmo-bare .btn{min-height:44px}
.fmo-facts{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}
#sd-football-money .fmo-facts li{display:flex;justify-content:space-between;gap:12px}
.fmo-facts strong{font-variant-numeric:tabular-nums}
.fmo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:12px;margin:0 0 12px}
.fmo-amount{display:flex;align-items:center;gap:6px}
.fmo-amount input{width:100%;min-width:0;font-variant-numeric:tabular-nums}
.fmo-text{box-sizing:border-box;width:100%;margin:0 0 14px}
.fmo-game{margin:2px 0 6px}
.fmo-hint{margin:4px 0 14px}.fmo-text+.fmo-hint{margin-top:-8px}
.fmo-check{display:flex;align-items:center;gap:10px;min-height:44px;margin:4px 0;font-size:.95rem}
.fmo-check input{width:22px;height:22px;margin:0;accent-color:var(--accent)}
#sd-football-money .fg-seg{margin:0 0 12px}
.sd-money-line{margin:8px 0 0}
.sd-football-keep{margin:16px 0 0}.sd-football-keep h2{margin:6px 0 8px}
/* Groups (football-groups.js): the next game under the heading, and the group sheet. */
.sd-fg-title{display:inline-block;min-height:44px;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;line-height:inherit;text-align:left;cursor:pointer}
.sd-fg-title svg{display:inline-block;width:.6em;height:.6em;margin-left:.22em;vertical-align:.08em;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;opacity:.55}
.sd-fg-last{display:inline-block;max-width:100%;overflow-wrap:anywhere}.sd-fg-title:focus-visible{outline:3px solid var(--accent-ink);outline-offset:3px;border-radius:8px}
.sd-fg-hide{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sd-fg-next{margin:4px 0 0;color:var(--muted)}.sd-fg-next strong{color:var(--ink)}.sd-fg-next .sd-fg-add{margin:-10px 0 -10px -4px}
.fgr-days{margin:0 0 12px}.fgr-days .fg-chip{min-width:52px;justify-content:center}
.fgr-time{width:9.5em;margin:0 0 6px}.fgr-time:disabled{opacity:.45}
.fgr-groups{margin:18px 0 0;padding:14px 0 0;border-top:1px solid var(--line)}
.fgr-list{list-style:none;margin:0 0 4px;padding:0}
.fgr-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:6px 0;border-bottom:1px solid var(--line)}
.fgr-list li>span:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}.fgr-list strong{overflow-wrap:anywhere}.fgr-list small{color:var(--muted);font-size:.85rem}
.fgr-list .btn{min-height:44px;flex:none}.fgr-here{flex:none;color:var(--muted);font-size:.85rem}
.fgr-delete{color:var(--danger,#a33a2b)}
/* Sharing a group online (football-cloud.js). */
.fcl-list{margin:0 0 12px;padding-left:20px;line-height:1.5}.fcl-list li{margin:2px 0}
.fcl-link{margin:8px 0 6px;padding:14px 16px;border:1px solid var(--line-strong);border-radius:14px;background:var(--paper);font-size:1.05rem;font-weight:600;overflow-wrap:anywhere;user-select:all;-webkit-user-select:all}
.fcl-note{margin:8px 0;padding:10px 12px;border-radius:12px;background:var(--soft);font-size:.92rem}
.fcl-conflict{display:flex;flex-direction:column;gap:4px;margin:8px 0;padding:12px;border-radius:12px;background:var(--soft)}.fcl-conflict .sd-result-actions{margin-top:8px}
.fcl-manage{margin:12px 0 4px}.fcl-other{margin:14px 0 0}.fcl-other .fg-close{text-align:left}
#sd-football-share .fg-actions .btn:first-child{margin-right:auto}
#sd-football-share .fg-status:empty,#fpp-bad:empty,#fpk-guest-note:empty{min-height:0;margin:0}
/* What to do next, under the heading (football-groups.js): a note in the accent's soft colour, in ink, naming the button to press. A
   step done on another tab ends with a button to that tab. Focused when Football opens from the group's page, so no ring is drawn.
   The button sits in the words like a link: its 44 px target is drawn around it (::after), so its focus ring hugs the words and, on
   a line of its own, it starts where the words do. */
.heading .sd-fg-step{position:relative;margin:12px 0 0;padding:10px 12px;border-radius:12px;background:var(--soft);color:var(--ink);font-weight:600;line-height:1.45;text-wrap:pretty;outline:none}
.heading .sd-fg-step .sd-fg-go{position:relative;min-height:0;margin:0;padding:0;color:var(--accent-ink);font-size:inherit;font-weight:600;line-height:1.2;white-space:nowrap}
.heading .sd-fg-step .sd-fg-go::after{content:'';position:absolute;inset:-13px -4px}.heading .sd-fg-step .sd-fg-go:focus-visible{outline-offset:1px}
/* Team selection under the next game: when, counting down, or that it is on now. */
.sd-fg-pick{margin:2px 0 0;color:var(--muted)}.sd-fg-pick strong{color:var(--ink)}
/* Team selection: the line, then Set a time or Change (and Tell the group chat) beside it. */
.sd-fg-pickrow{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:12px;margin:2px 0 0}.sd-fg-pickrow .sd-fg-pick{margin:0}
.sd-fg-pickrow .sd-fg-add,.sd-fg-pickrow .sd-fg-tell{margin:-10px 0 -10px -4px}
.sd-fg-count{font-variant-numeric:tabular-nums}
.fgr-pdays{margin:0 0 12px}.fgr-pdays .fg-chip{min-width:52px;justify-content:center}
.fgr-pitch .fg-chip{min-width:52px;justify-content:center}
.fgr-hint{margin:-4px 0 10px}
.fgr-once{width:min(100%,16em);margin:0 0 6px}
.fcl-tip .fg-close{margin:-10px 0 -10px -4px}
/* One link (release 2). The status line under what to do next, and the banners: a clash and the side set aside, the owner choosing,
   a paused or turned-off phone, a group gone. The card while a group from a link opens. */
.heading .sd-fcl-status{margin:8px 0 0;color:var(--muted);line-height:1.45}.heading .sd-fcl-status .fg-close{min-height:44px;margin:-12px 0;padding:0;font-size:.85rem}
.sd-fcl-banner{margin:0 0 12px;padding:12px 14px;border-radius:14px;background:var(--soft);line-height:1.5}.sd-fcl-banner p{margin:0}.sd-fcl-banner p+p{margin-top:8px}
.sd-fcl-banner.warn{border:1px solid var(--warn,#8a5a14)}.sd-fcl-banner .sd-result-actions{margin-top:10px}
.sd-fcl-arrive{margin:0 0 16px}.sd-fcl-arrive h2{margin:6px 0 6px}.sd-fcl-arrive .split{align-items:center}
/* Football as a Home Screen app with only the sample: the group's link, pasted (football.js). Keeping Football on the Home Screen, for a
   group this phone organises by key (football-cloud.js). */
.sd-fg-open,.sd-fcl-keep{margin:0 0 16px}.sd-fg-open h2,.sd-fcl-keep h2{margin:6px 0 6px}.sd-fg-open .split{align-items:center}
.sd-fg-open-form{display:grid;gap:8px;margin:12px 0 0}.sd-fg-open-form .fg-label{margin:0}
#sd-fg-link{box-sizing:border-box;width:100%;min-height:48px;padding:11px 12px;border:1px solid var(--line-strong);border-radius:12px;background:var(--paper);color:var(--ink);font:inherit;font-size:1rem}
#sd-fg-link:focus-visible{outline:3px solid var(--accent-ink);outline-offset:2px}.sd-fg-open-form .btn{min-height:44px}
.sd-fg-open-note{margin:0;color:var(--warn,#8a5a14);overflow-wrap:anywhere}.sd-fg-open-note:empty{display:none}
.sd-fcl-steps{margin:8px 0 0;padding-left:1.3em;line-height:1.5}.sd-fcl-steps li+li{margin-top:4px}.sd-fcl-keep .sd-fcl-same{margin:8px 0 0}.sd-fcl-keep .sd-result-actions{margin-top:12px}
/* The owner's one-time setup card, and a card while someone asks to join or to organise. */
.sd-fpp-card,.sd-fpp-ask{margin:0 0 16px}.sd-fpp-card h2{margin:6px 0 8px}
.sd-fpp-ask{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:12px 14px;border-radius:14px;background:var(--soft)}
.sd-fpp-ask-text{flex:1 1 180px;display:grid;gap:4px}.sd-fpp-ask p{margin:0;line-height:1.4}.sd-fpp-ask .btn{min-height:44px;flex:none}
#fpp-status:empty{min-height:0;margin:0}
/* What just happened in People, with its Undo, at the foot of the sheet beside Done. */
.fpp-bar #fpp-status{flex:1;min-width:0;margin:0;color:var(--ink)}.fpp-bar #fpp-status:focus{outline:none}.fpp-bar #fpp-status .fg-close{min-height:44px;margin:-12px 0;padding:0 4px;font-weight:700}
.fpp-declined summary{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;list-style:none}.fpp-declined summary h3{display:inline;margin:0}.fpp-declined summary::-webkit-details-marker{display:none}
/* A flex summary has no marker of its own: a chevron says it opens, and turns once open. */
.fpp-declined summary::after{content:'';flex:none;width:7px;height:7px;margin-top:-4px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg)}
.fpp-declined[open] summary::after{margin-top:4px;transform:rotate(-135deg)}.fpp-declined summary:focus-visible{outline:3px solid var(--accent-ink);outline-offset:2px;border-radius:8px}
.sd-football-actions [data-fpd-open]{min-height:44px}
/* People: the owner's setup with its two switches, who asked, the organiser phones, everyone on the list. */
.fpp-setup{margin:4px 0 8px;padding:0 0 12px;border-bottom:1px solid var(--line)}.fpp-setup .fg-add{margin:0}.fpp-setup .fg-add input{flex:1;min-width:0}
.fpp-hint{margin:6px 0 4px}
.fpp-switch{margin:16px 0 0}.fpp-switch h3,.fpp-part h3{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:1rem}.fpp-switch p{margin:0 0 10px;line-height:1.5}.fpp-switch .btn{min-height:44px}
.fpp-state{padding:2px 9px;border-radius:999px;border:1px solid var(--line-strong);color:var(--ink);font-size:.78rem;font-weight:700}.fpp-state.on{background:var(--soft);border-color:var(--accent);color:var(--accent-ink)}
.fpp-can{margin:0 0 6px;padding:0 0 0 1.1em;display:grid;gap:4px;font-size:.9rem;line-height:1.5;color:var(--ink)}.fpp-switch .fpp-can+p{margin:0 0 10px}
.fpp-part{margin:18px 0 0}
.fpp-list{list-style:none;margin:6px 0 0;padding:0}
.fpp-row{display:flex;justify-content:space-between;align-items:center;gap:8px 10px;min-height:52px;padding:4px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
/* The name takes what the buttons leave, so a row keeps its buttons beside it at 320 px; a long name wraps instead. */
.fpp-who{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 0}.fpp-who strong{overflow-wrap:anywhere}.fpp-who small{color:var(--muted);font-size:.85rem;overflow-wrap:anywhere}.fpp-who .fpp-added{align-self:flex-start;text-align:left;padding:0}
.fpp-row .fpp-acts .fg-close{min-height:44px;padding:0 6px}
.fpp-acts{display:flex;gap:6px;flex:none;align-items:center}.fpp-acts .btn{min-height:44px;padding:0 14px}
.fpp-same{font-size:.85rem;color:var(--ink);margin-top:2px}.fpp-same .fg-close{min-height:44px;margin:-10px 0}
/* Find has a line of its own, so its words always fit; Add names follows. */
.fpp-tools{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 0}.fpp-tools input{flex:1 1 100%;min-width:0;box-sizing:border-box}.fpp-tools .btn{min-height:44px;flex:none}
.fpp-renaming input{flex:1 1 160px;min-width:0}
.fpp-orgs{margin:16px 0 0;line-height:1.5}
#fpp-paste{box-sizing:border-box;width:100%;min-height:150px;padding:12px;border:1px solid var(--line-strong);border-radius:12px;background:var(--paper);color:var(--ink);font:inherit;font-size:1rem;line-height:1.45;resize:vertical}
.fpp-past{text-align:left}
/* The game-day list in New game: a tick and a Paid chip on every row; the line that counts them stays in sight while the list scrolls. */
.fg-from{margin:0 0 14px}
.fpk-count{position:sticky;top:-16px;z-index:1;margin:0 -16px 12px;padding:10px 16px;background:var(--bg);border-bottom:1px solid var(--line)}
.fpk-search{box-sizing:border-box;width:100%;margin:0 0 10px;font-size:1rem}
.fpk-same{margin:0 0 6px}
.fpk-head{margin:14px 0 2px}
.fpk-list{list-style:none;margin:0;padding:0}
.fpk-row{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:52px;border-bottom:1px solid var(--line)}.fpk-row[hidden]{display:none}
.fpk-tick{flex:1;min-width:0;min-height:52px;display:flex;align-items:center;gap:12px;padding:0;border:0;background:none;color:var(--ink);font:inherit;font-size:1rem;text-align:left;cursor:pointer}
.fpk-name{overflow-wrap:anywhere}
.fpk-box{flex:none;width:24px;height:24px;box-sizing:border-box;border:2px solid var(--line-strong);border-radius:7px;background:var(--paper);display:grid;place-items:center}
.fpk-tick[aria-pressed=true] .fpk-box{background:var(--accent);border-color:var(--accent)}
.fpk-tick[aria-pressed=true] .fpk-box::after{content:'';width:6px;height:11px;margin-top:-2px;border:solid var(--on-accent,#fff);border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.fpk-tick:focus-visible,.fpk-paid:focus-visible,.fpp-row .fg-close:focus-visible{outline:3px solid var(--accent-ink);outline-offset:2px;border-radius:8px}
.fpk-tag{flex:none;padding:2px 8px;border-radius:999px;background:var(--soft);color:var(--accent-ink);font-size:.75rem;font-weight:700}
.fpk-paid{flex:none;min-width:72px;justify-content:center}.fpk-paid[aria-pressed=true]::before{content:'✓';margin-right:2px}
.fpk-guest-label{margin-top:16px}.fpp-picker .fg-add input{flex:1;min-width:0;font-size:1rem}
.fpp-none{margin:0 0 10px;line-height:1.5}
/* Earlier versions: when, who and what, with Go back on each one before now. */
.fv-list{list-style:none;margin:8px 0 0;padding:0}
.fv-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 12px;min-height:56px;padding:6px 0;border-bottom:1px solid var(--line)}
.fv-row>span:first-child{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 120px}.fv-row small{color:var(--muted);font-size:.85rem}.fv-row .btn{min-height:44px;flex:none;padding:0 14px}
#fv-status:empty{min-height:0;margin:0}
/* The group's settings: People and Earlier versions, as rows. */
.fgr-more{display:grid;gap:0;margin:16px 0 0;border-top:1px solid var(--line)}
.fgr-row{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:56px;padding:8px 0;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.fgr-row:last-child{border-bottom:0}.fgr-more+.fgr-groups{margin-top:0}.fgr-row span{font-weight:600}.fgr-row small{color:var(--muted);font-size:.85rem}.fgr-row:focus-visible{outline:3px solid var(--accent-ink);outline-offset:2px;border-radius:8px}
.fgr-owner-note{margin:-8px 0 14px}#sd-football-group .fg-day[readonly],#rulesForm input[readonly],#rulesForm textarea[readonly]{opacity:.75}.sd-fg-owner-note{margin:0}

