/* Eyeshot 1.0.3 polish, boards lane (handoff 4.D, 4.E, 4.F).
   Loaded last, so each block below settles one screen without touching the
   sheets before it. Blocks, in order:
     E4  calendar days not yet known
     E2  day colours relative to that day's players, and their legend
     E1  the streak note as fine print
     E5  Stats before there is a trend
     D2  the dock: your own row at the foot of a board
     F1  a player's page
     D3  the podium */

/* ---- E4: a past day the account has not been asked about yet ----
   Neither played nor unplayed: the date alone, with a faint ring where its
   mark will be, so nothing moves when the answer arrives. */
:root #dlg-stats .archive-list button.cal-day.is-unknown{border-color:var(--es-line);background:transparent;color:var(--es-ink-3)}
#dlg-stats .cal-wait{display:block;width:18px;height:18px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--es-line-strong);opacity:.55}
#dlg-stats .archive-panel>.archive-unloaded{margin:12px 0 4px}
#dlg-stats .archive-unloaded .text-button{min-height:0;padding:0;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* ---- E2: a day tile is coloured by its place among that day's players ----
   day-standing.js gives a played day one of d-top, d-half, d-low or d-none
   (and is-perfect, which keeps its gold). The tiles already paint var(--band);
   shot tiles keep the g-* classes and the fixed cutoffs. */
.d-top{--band:var(--band-good)}.d-half{--band:var(--band-ok)}.d-low{--band:var(--band-bad)}.d-none{--band:var(--band-none)}
/* No fair comparison: a played day with its score and no colour claim. */
#dlg-stats :is(.cal-day,.you-week-day).is-played.d-none:not(.is-perfect){border-color:var(--es-line-strong);background:var(--es-surface-2);color:var(--es-ink)}
#dlg-stats :is(.cal-day,.you-week-day).is-played.d-none:not(.is-perfect) small{color:var(--es-ink-3)}
:root #dlg-stats .archive-list button.cal-day.is-played.d-none:not(.is-perfect){color:var(--es-ink)}
/* Played later from the Archive: neutral, with a second line inside its edge. */
#dlg-stats .cal-day.is-replay.d-none:not(.is-perfect){background:var(--es-surface-2);box-shadow:inset 0 0 0 3px var(--es-surface-2),inset 0 0 0 4px var(--es-line-strong)}
/* The legend: one line, the three swatches and what they compare. */
#dlg-stats .day-legend{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:10px 0 0;padding:0 2px;font:500 12px/1.35 var(--font-ui);color:var(--es-ink-2)}
#dlg-stats .day-legend-keys{display:inline-flex;flex-wrap:wrap;gap:4px 10px}
#dlg-stats .day-legend-key{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-weight:600;color:var(--es-ink)}
#dlg-stats .day-legend-key i{flex:none;width:10px;height:10px;border-radius:3px;background:var(--band)}
#dlg-stats .day-legend-lead{white-space:nowrap}
#dlg-stats :is(.archive-panel,.personal-history)>.day-legend{margin:0 0 4px}

/* ---- E1: the streak's rest-day rule, fine print under the Streak figure ---- */
#dlg-stats .you-record-cell[data-record="streak"] .you-record-fine{margin:-2px 0 0;font:500 11.5px/1.35 var(--font-ui);letter-spacing:0;color:var(--es-ink-2);text-wrap:balance}

/* ---- E5: Stats says what it has ----
   Days played are counted ("2 of 3 days"), a figure with nothing to show is
   left out, and until there are five played days one line stands where the
   trend will be. */
:root:not(.enlarged-text) #dlg-stats .period-summary dd small{display:block;margin-top:7px;font:600 12px/1.2 var(--font-ui);letter-spacing:0;color:var(--es-ink-2);white-space:nowrap}
.enlarged-text #dlg-stats .period-summary dd small{font-size:.5em;font-weight:600;letter-spacing:0;color:var(--es-ink-2)}
#dlg-stats .stats-trend .trend-readout{display:inline-flex;align-items:baseline;gap:8px;min-width:0;white-space:nowrap}
#dlg-stats .stats-trend .trend-readout small{font:500 13px/1.2 var(--font-ui);color:var(--es-ink-2)}
#dlg-stats .stats-trend .trend-readout b{font:900 22px/1 var(--display);font-variant-numeric:tabular-nums;color:var(--es-ink)}
#dlg-stats .personal-progress .period-note{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:2px 10px}

/* ---- D2: the dock, your own row at the foot of Global standings ----
   Markup: board-dock.js. It follows the board in #board-body and sticks to the
   foot of the page while the list scrolls under it (position:sticky, so it
   moves with its page in a sideways swipe and needs no script).
   --board-dock-foot is how far above the page's foot it rests, and the page's
   own bottom padding follows it, so the dock rests exactly where it sticks.
   Today the tab bar floats over this page, so the dock clears the bar. Where
   the bar is hidden on a pushed page (nav lane, A1), one rule there sets
   --board-dock-foot to the safe area: see body.tabbar-hidden below. */
#dlg-board{--board-dock-foot:16px}
.native-app #dlg-board{--board-dock-foot:calc(84px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)))}
.native-app.tabbar-hidden #dlg-board{--board-dock-foot:calc(10px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)))}
:root body:not(.keyboard-open) #dlg-board.page-dialog>.dlg:has(.board-dock:not([hidden])){padding-bottom:var(--board-dock-foot)}
#dlg-board .board-dock{position:sticky;bottom:var(--board-dock-foot);z-index:3;display:grid;grid-template-columns:2.2em minmax(0,1fr) auto;align-items:center;gap:8px 10px;margin:14px 0 0;padding:11px 14px;border:1px solid color-mix(in srgb,var(--fx-you) 46%,var(--es-line-strong));border-radius:18px;background:var(--es-surface-2);box-shadow:0 1px 0 rgba(255,255,255,.05) inset,0 14px 34px rgba(3,10,22,.5);color:var(--es-ink)}
:root[data-theme="light"] #dlg-board .board-dock{background:var(--es-surface);box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 12px 30px rgba(40,52,70,.2)}
#dlg-board .board-dock[hidden]{display:none}
/* Design review D-01, D-12 (AJ, 29 Nov: "remove the border and just have the background of the cell shaded"): the
   player's own row in the list is a shaded cell, with no outline and no left bar curling at the row's radius. In
   the dark theme the shade is the surface lifted with ink, not the coral tint, which turns mauve on navy (AJ's
   review/you-row-dark.png). */
#dlg-board .gs-list>li.me{background:color-mix(in srgb,var(--es-ink) 9%,var(--es-surface));box-shadow:none}
:root[data-theme="light"] #dlg-board .gs-list>li.me{background:var(--es-me)}
#dlg-board .board-dock-line{display:contents}
/* Everyone counts: why the rows' numbers skip, said once under the list when no dock says it. */
/* A podium player's true place among everyone, where it differs from the step. */
#dlg-board .board-dock-you{font:800 16px/1.2 var(--font-ui);color:var(--fx-you)}
#dlg-board .board-dock-standing{order:1;min-width:0;font:500 14.5px/1.3 var(--font-ui);color:var(--es-ink-2);text-wrap:balance}
#dlg-board .board-dock-fig{order:2;grid-column:3;justify-self:end;font:900 22px/1 var(--display);font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--es-ink)}
#dlg-board .board-dock-fig small{margin-left:2px;font:600 11px/1 var(--font-ui);color:var(--es-ink-3)}
#dlg-board .board-dock-fig.is-streak{grid-column:2/4;justify-self:start;font:700 15.5px/1.2 var(--font-ui)}
#dlg-board .board-dock-fig .flame-icon{width:.95em;height:.95em;margin-right:4px;vertical-align:-.12em}
#dlg-board .board-dock-foot{order:3;grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;min-width:0}
#dlg-board .board-dock-note{flex:1 1 9em;min-width:0;margin:0;font:500 13px/1.35 var(--font-ui);color:var(--es-ink-2);text-wrap:balance}
#dlg-board .board-dock .btn.board-dock-action{flex:0 0 auto;width:auto;min-height:40px;margin:0;padding:0 14px;border-radius:12px;font:700 14px/1 var(--font-ui);white-space:nowrap}
#dlg-board .board-dock .es-link.board-dock-action{flex:0 0 auto;min-height:40px;margin:0;padding:0 2px;font-size:14.5px}

/* ---- F1: a player's page ----
   Markup: player-safety.js. One screen: who, today side by side, the
   head-to-head in a line, three numbers, More. The same page from Global
   standings and from any group. */
:is(#dlg-board .member-profile,#dlg-compare .compare-sheet)>.pp{display:grid;gap:18px;margin:6px 0 0}
:is(#dlg-board,#dlg-compare) .pp-who{display:flex;align-items:center;gap:14px;min-width:0}
:is(#dlg-board,#dlg-compare) .pp-avatar{flex:none;display:grid;place-items:center;width:56px;height:56px;box-sizing:border-box;border-radius:50%;object-fit:cover;background:var(--es-surface-2);border:1px solid var(--es-line-strong);color:var(--es-ink);font:800 18px/1 var(--font-ui);letter-spacing:.02em}
:is(#dlg-board,#dlg-compare) .pp-avatar.is-small{width:28px;height:28px;font-size:10.5px}
:is(#dlg-board,#dlg-compare) .pp-who-text{display:grid;gap:6px;min-width:0}
:is(#dlg-board,#dlg-compare) .pp-who-text .es-eyebrow{margin:0}
:is(#dlg-board,#dlg-compare) .pp-who-place{font:800 20px/1.2 var(--font-ui);color:var(--es-ink);text-wrap:balance}
/* Today: their five tiles above yours. Shot tiles keep the fixed g-* colours. */
:is(#dlg-board,#dlg-compare) .pp-today{margin:0;padding:10px 12px 14px;border:1px solid var(--es-line);border-radius:18px;background:var(--es-surface);box-shadow:var(--es-shadow-soft)}
:is(#dlg-board,#dlg-compare) .pp-today.is-idle{padding:14px 16px}
:is(#dlg-board,#dlg-compare) .pp-tiles{width:100%;margin:0;border-collapse:separate;border-spacing:5px 6px;table-layout:fixed}
:is(#dlg-board,#dlg-compare) .pp-tiles :is(th,td){padding:0;border:0;background:none}
:is(#dlg-board,#dlg-compare) .pp-tiles thead :is(th,td):first-child,:is(#dlg-board,#dlg-compare) .pp-tiles tbody th{width:34px}
:is(#dlg-board,#dlg-compare) .pp-tiles thead th:last-child,:is(#dlg-board,#dlg-compare) .pp-tiles .pp-total{width:66px}
:is(#dlg-board,#dlg-compare) .pp-tiles thead th{height:34px;color:var(--es-ink-2);text-align:center;vertical-align:middle}
:is(#dlg-board,#dlg-compare) .pp-tiles thead svg{display:inline-block;width:18px;height:18px;vertical-align:middle}
:is(#dlg-board,#dlg-compare) .pp-shot-btn{display:grid;place-items:center;width:100%;height:34px;min-height:34px;margin:0;padding:0;border:1px solid var(--es-line-strong);border-radius:10px;background:var(--es-surface-2);box-shadow:0 1px 0 var(--es-line);color:var(--es-ink);cursor:pointer;transition:transform .14s ease,border-color .14s ease,background-color .14s ease,color .14s ease,box-shadow .14s ease;-webkit-tap-highlight-color:transparent}
:is(#dlg-board,#dlg-compare) .pp-shot-btn:active{transform:scale(.95)}
:is(#dlg-board,#dlg-compare) .pp-shot-btn:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
:is(#dlg-board,#dlg-compare) .pp-tiles tbody th{font:800 13.5px/1 var(--font-ui);text-align:left;vertical-align:middle;color:var(--es-ink)}
:is(#dlg-board,#dlg-compare) .pp-tiles .pp-you th{color:var(--fx-you)}
:is(#dlg-board,#dlg-compare) .pp-tiles .pp-tile{height:40px;border-radius:10px;background:var(--band);color:var(--band-text);font:800 15px/1 var(--font-ui);font-variant-numeric:tabular-nums;text-align:center;vertical-align:middle;transition:transform .14s ease,box-shadow .14s ease,filter .14s ease}
:is(#dlg-board,#dlg-compare) .pp-tiles.is-interactive .pp-tile{cursor:pointer}
:is(#dlg-board,#dlg-compare) .pp-tiles.is-interactive .pp-tile:active{transform:scale(.96)}
:is(#dlg-board,#dlg-compare) .pp-tiles[data-hover-col="0"] [data-compare-col="0"] .pp-shot-btn,
:is(#dlg-board,#dlg-compare) .pp-tiles[data-hover-col="1"] [data-compare-col="1"] .pp-shot-btn,
:is(#dlg-board,#dlg-compare) .pp-tiles[data-hover-col="2"] [data-compare-col="2"] .pp-shot-btn,
:is(#dlg-board,#dlg-compare) .pp-tiles[data-hover-col="3"] [data-compare-col="3"] .pp-shot-btn,
:is(#dlg-board,#dlg-compare) .pp-tiles[data-hover-col="4"] [data-compare-col="4"] .pp-shot-btn{border-color:var(--es-coral);color:var(--es-coral);background:var(--es-surface);transform:translateY(-1px);box-shadow:0 3px 8px rgba(3,12,28,.16)}
:is(#dlg-board,#dlg-compare) .pp-tiles[data-hover-col="0"] tbody tr .pp-tile:nth-child(2),
:is(#dlg-board,#dlg-compare) .pp-tiles[data-hover-col="1"] tbody tr .pp-tile:nth-child(3),
:is(#dlg-board,#dlg-compare) .pp-tiles[data-hover-col="2"] tbody tr .pp-tile:nth-child(4),
:is(#dlg-board,#dlg-compare) .pp-tiles[data-hover-col="3"] tbody tr .pp-tile:nth-child(5),
:is(#dlg-board,#dlg-compare) .pp-tiles[data-hover-col="4"] tbody tr .pp-tile:nth-child(6){box-shadow:0 0 0 2px var(--es-coral);transform:translateY(-1px)}
/* Head-to-head visual shot comparison modal inside #dlg-reveal */
.shot-compare-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 8px}
.shot-compare-eyebrow{margin:0}
.shot-compare-nav{display:inline-flex;align-items:center;gap:4px}
.shot-compare-nav button{display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:0;border:1px solid var(--es-line);border-radius:999px;background:var(--es-surface);color:var(--es-ink);cursor:pointer}
.shot-compare-nav button:hover:not(:disabled){border-color:var(--es-line-strong);background:var(--es-surface-2)}
.shot-compare-nav button:disabled{opacity:.35;cursor:default}
.shot-compare-nav span{min-width:34px;text-align:center;font:700 12.5px/1 var(--font-ui);font-variant-numeric:tabular-nums;color:var(--es-ink-2)}
.shot-compare-nav svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.shot-compare-players{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 10px}
.shot-compare-card{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--es-line);border-radius:14px;background:var(--es-surface);min-width:0}
.shot-compare-card.is-you{border-color:color-mix(in srgb,var(--fx-you) 42%,var(--es-line))}
.shot-compare-card.is-rival{border-color:color-mix(in srgb,var(--rival) 45%,var(--es-line))}
.shot-compare-who{display:flex;align-items:center;gap:6px;min-width:0;font:700 12.5px/1.2 var(--font-ui);color:var(--es-ink-2)}
.shot-compare-who i{flex:none;width:8px;height:8px;border-radius:50%;background:var(--es-ink-3)}
.shot-compare-card.is-you .shot-compare-who i{background:var(--pencil)}
.shot-compare-card.is-rival .shot-compare-who i{background:var(--rival)}
.shot-compare-who bdi{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shot-compare-score{display:flex;align-items:baseline;gap:4px;font:900 32px/.92 var(--display);font-variant-numeric:tabular-nums;color:var(--es-ink)}
.shot-compare-score small{font:700 13px/1 var(--font-ui);color:var(--es-ink-3)}
.shot-compare-detail{margin:0;font:500 12.5px/1.3 var(--font-ui);color:var(--es-ink-2);overflow-wrap:anywhere}
.shot-compare-key{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 16px;margin:8px 0 6px;padding:0;list-style:none;font:600 12.5px/1.3 var(--font-ui);color:var(--es-ink-2)}
.shot-compare-key li{display:inline-flex;align-items:center;gap:6px}
.shot-compare-key i{display:block;width:18px;height:3px;border-radius:2px}
.shot-compare-key .is-you i{background:var(--pencil)}
.shot-compare-key .is-truth i{background:repeating-linear-gradient(90deg,var(--truth) 0 5px,transparent 5px 8px)}
.shot-compare-key .is-rival i{background:repeating-linear-gradient(90deg,var(--rival) 0 6px,transparent 6px 10px)}
.season-compare-wrap{display:grid;gap:8px;width:100%}
.season-compare-modes{display:flex;gap:4px;padding:3px;border-radius:10px;background:var(--band-none)}
.season-compare-mode{flex:1;min-height:34px;padding:6px 8px;border:0;border-radius:8px;background:transparent;color:var(--es-ink-2);font:700 12.5px/1.1 var(--font-ui);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.season-compare-mode[aria-pressed="true"]{background:var(--es-btn);color:var(--es-btn-text)}
/* Seasonal global standings controls & compact aggregate score layout */
.gs-season-switch{display:inline-flex;gap:4px;margin:0 0 8px;padding:3px;border-radius:999px;background:var(--band-none)}
.gs-season-pill{min-height:30px;padding:4px 12px;border:0;border-radius:999px;background:transparent;color:var(--es-ink-2);font:700 12.5px/1 var(--font-ui);cursor:pointer;transition:background-color .14s ease,color .14s ease}
.gs-season-pill[aria-pressed="true"]{background:var(--es-btn);color:var(--es-btn-text)}
.gs-season-note{margin-top:-4px;color:var(--es-ink-3);font-size:13px}
.gs-season-days{margin-left:4px;font:700 11.5px/1 var(--font-ui);color:var(--es-ink-3);letter-spacing:0}
:is(#dlg-board,#dlg-compare) .pp-tiles .pp-tile.is-perfect{background:var(--perfect-metal,var(--band));color:#241a08}
:is(#dlg-board,#dlg-compare) .pp-tiles .pp-tile.is-empty{background:none;border:1px dashed var(--es-line-strong)}
:is(#dlg-board,#dlg-compare) .pp-tiles .pp-total{font:900 22px/1 var(--display);font-variant-numeric:tabular-nums;text-align:right;vertical-align:middle;white-space:nowrap;color:var(--es-ink)}
:is(#dlg-board,#dlg-compare) .pp-tiles .pp-total small{margin-left:2px;font:600 11px/1 var(--font-ui);color:var(--es-ink-3)}
:is(#dlg-board,#dlg-compare) .pp-verdict{margin:10px 5px 0;font:700 15.5px/1.35 var(--font-ui);color:var(--es-ink);text-wrap:balance}
:is(#dlg-board,#dlg-compare) .pp-today.is-idle .pp-verdict{margin:0;font-weight:500;color:var(--es-ink-2)}
/* Head-to-head, in one line. */
:is(#dlg-board,#dlg-compare) .pp-versus{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 14px;margin:0;padding:0 4px}
:is(#dlg-board,#dlg-compare) .pp-versus .es-eyebrow{margin:0}
:is(#dlg-board,#dlg-compare) .pp-versus-line{font:500 15px/1.2 var(--font-ui);color:var(--es-ink-2);white-space:nowrap}
:is(#dlg-board,#dlg-compare) .pp-versus-line b{margin-left:5px;font:900 21px/1 var(--display);font-variant-numeric:tabular-nums;color:var(--es-ink)}
:is(#dlg-board,#dlg-compare) .pp-versus-line i{margin:0 5px;font-style:normal;color:var(--es-ink-3)}
/* Three numbers, in the board's own voice: a label over each, hairlines between. */
:is(#dlg-board,#dlg-compare) .pp-record{display:flex;justify-content:center;align-items:stretch;margin:4px 0 2px;padding:0}
:is(#dlg-board,#dlg-compare) .pp-record>div{display:grid;justify-items:center;align-content:start;gap:7px;min-width:0;padding:0 clamp(12px,5vw,26px)}
:is(#dlg-board,#dlg-compare) .pp-record>div+div{border-left:1px solid var(--fx-rule)}
:is(#dlg-board,#dlg-compare) .pp-record dt{margin:0;font:700 .68rem/1.05 var(--font-ui);letter-spacing:.16em;text-transform:uppercase;color:var(--es-ink-2);white-space:nowrap}
:is(#dlg-board,#dlg-compare) .pp-record dd{display:flex;align-items:baseline;margin:0;font:900 1.9rem/.9 var(--display);letter-spacing:.01em;font-variant-numeric:tabular-nums;color:var(--es-ink);white-space:nowrap}
:is(#dlg-board,#dlg-compare) .pp-record dd small{margin-left:4px;font:600 12px/1 var(--font-ui);letter-spacing:0;color:var(--es-ink-2)}
:is(#dlg-board,#dlg-compare) .pp-record .flame-icon{width:.72em;height:.72em;margin-right:.1em;align-self:center}
:is(#dlg-board,#dlg-compare) .pp-fresh{margin:0;padding:0 4px;font:500 15px/1.4 var(--font-ui);color:var(--es-ink-2)}
/* More: their daily results, behind one row. */
:is(#dlg-board,#dlg-compare) .pp-more{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:58px;margin:0;padding:10px 14px 10px 16px;border:1px solid var(--es-line);border-radius:16px;background:var(--es-surface);box-shadow:var(--es-shadow-soft);color:var(--es-ink);font:inherit;text-align:left;cursor:pointer}
:is(#dlg-board,#dlg-compare) .pp-more>span{display:grid;gap:3px;min-width:0}
:is(#dlg-board,#dlg-compare) .pp-more b{font:800 16px/1.2 var(--font-ui)}
:is(#dlg-board,#dlg-compare) .pp-more small{font:500 13px/1.3 var(--font-ui);color:var(--es-ink-2)}
:is(#dlg-board,#dlg-compare) .pp-more svg{flex:none;width:18px;height:18px;fill:none;stroke:var(--es-ink-2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#dlg-board .member-results .pp-results-note{margin:4px 0 14px;font:500 14.5px/1.4 var(--font-ui);color:var(--es-ink-2)}
#dlg-board .member-results>.player-panel.player-history{margin-top:0;padding-top:0;border-top:0}
@media (max-width:359px){
  :is(#dlg-board,#dlg-compare) .pp-tiles{border-spacing:4px 6px}
  :is(#dlg-board,#dlg-compare) .pp-tiles thead th:last-child,:is(#dlg-board,#dlg-compare) .pp-tiles .pp-total{width:40px}
  :is(#dlg-board,#dlg-compare) .pp-tiles .pp-total{font-size:20px}
  :is(#dlg-board,#dlg-compare) .pp-tiles .pp-total small{display:none}
  :is(#dlg-board,#dlg-compare) .pp-tiles .pp-tile{font-size:14px}
  :is(#dlg-board,#dlg-compare) .pp-record dd{font-size:1.6rem}
}
/* Round three (CI triage, 29 Nov): in a short browser window (iPhone Safari is about 390 x 664, under the web's
   own tabs) More ended 47 px below the first screen. There the same five parts sit a little closer; nothing is
   dropped and nothing is cut. The app has no tabs above the page, already holds More on its smallest phone,
   and keeps the spacing above. */
@media (max-height:700px){
  body:not(.native-app) :is(#dlg-board .member-profile,#dlg-compare .compare-sheet)>.pp{gap:12px;margin-top:0}
  body:not(.native-app) :is(#dlg-board,#dlg-compare) .pp-avatar:not(.is-small){width:48px;height:48px;font-size:16px}
  body:not(.native-app) :is(#dlg-board,#dlg-compare) .pp-today:not(.is-idle){padding:8px 12px 10px}
  body:not(.native-app) :is(#dlg-board,#dlg-compare) .pp-tiles .pp-tile{height:36px}
  body:not(.native-app) :is(#dlg-board,#dlg-compare) .pp-today:not(.is-idle) .pp-verdict{margin-top:8px}
  body:not(.native-app) :is(#dlg-board,#dlg-compare) .pp-record{margin:0}
  body:not(.native-app) :is(#dlg-board,#dlg-compare) .pp-record>div{gap:5px}
  body:not(.native-app) :is(#dlg-board,#dlg-compare) .pp-record dd{font-size:1.7rem}
  body:not(.native-app) :is(#dlg-board,#dlg-compare) .pp-more{min-height:52px;padding-block:7px}
}

/* ---- Large text and narrow screens (accessibility audit A01, A02, A10, A12;
   playtest 05, 12; screens audit B-09) ----
   Nothing here is cut with an ellipsis: a line that does not fit wraps. */
/* A01: the player's page never grows past the screen. Its column may shrink,
   and the head-to-head and the three numbers wrap instead of widening it. */
:is(#dlg-board .member-profile,#dlg-compare .compare-sheet)>.pp{grid-template-columns:minmax(0,1fr)}
:is(#dlg-board .member-profile,#dlg-compare .compare-sheet)>.pp>*{min-width:0;max-width:100%}
:is(#dlg-board,#dlg-compare) .pp-versus-line{white-space:normal}
:is(#dlg-board,#dlg-compare) .pp-record{flex-wrap:wrap;row-gap:14px}
:is(#dlg-board,#dlg-compare) .pp-record dt,:is(#dlg-board,#dlg-compare) .pp-record dd{white-space:normal;overflow-wrap:anywhere}
:is(#dlg-board,#dlg-compare) .pp-who-place,:is(#dlg-board,#dlg-compare) .pp-verdict,:is(#dlg-board,#dlg-compare) .pp-more b,:is(#dlg-board,#dlg-compare) .pp-more small{overflow-wrap:anywhere}
.enlarged-text :is(#dlg-board,#dlg-compare) .pp-record>div{padding-inline:12px}
.enlarged-text :is(#dlg-board,#dlg-compare) .pp-tiles thead th:last-child,.enlarged-text :is(#dlg-board,#dlg-compare) .pp-tiles .pp-total{width:44px}
.enlarged-text :is(#dlg-board,#dlg-compare) .pp-tiles .pp-total small{display:none}
/* A02: a board row's name wraps when the row is narrow or the text is large. */
#dlg-board .gs-list .hd{min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:left}
#dlg-board .gs-list>li{grid-template-columns:minmax(1.6em,auto) minmax(0,1fr) auto}
/* A10: the date on a coloured day tile is in full ink (many more days are red now). */
:is(#dlg-stats,#dlg-board) :is(.cal-day,.you-week-day).is-played:not(.d-none) small{color:var(--band-text)}
/* A12: a winner's day that is filtered out stays readable while it is still tappable. */
#dlg-board .cal-day.is-dim{opacity:.55}
/* B-09: a medal's numeral in the list is dark ink set into the metal, as on the steps. */
#dlg-board .gs-list>li[class*="place-"] .rk,#dlg-board .group-today .group-board:not(.group-podium)>li[class*="place-"] .rk{color:color-mix(in srgb,var(--medal) 28%,#1b1408)}
/* Playtest 05, 12 (320 pt): the lines on Social's cards wrap rather than run under their neighbour or stop at "t…". */
@media (max-width:359px){
  #dlg-board .is-compact .social-card-line{flex-wrap:wrap}
  #dlg-board .is-compact .social-card-line>span:last-child{flex:0 1 auto;min-width:0;white-space:normal}
  #dlg-board .social-global-line{flex-wrap:wrap;gap:4px 9px}
  #dlg-board .social-global-line small{overflow:visible;text-overflow:clip;white-space:normal}
}

/* ==== D3:BEGIN ==== the podium, matte architectural steps. Everything between
   the BEGIN and END lines is one treatment.
   Three stepped matte-enamel architectural blocks (warm ochre-gold, crisp
   silver-pewter, warm terracotta-bronze) seated tightly on a single baseline,
   each with a clean two-tone sunlit top plane and bold condensed place numeral.
   No glossy foil, no bevel glare, no sparkle dust. Order, ties, rise motion
   and markup are unchanged.
   Global standings (.gs-podium) and a group's Today (.group-podium) share one
   podium. */
#dlg-board :is(.gs-podium,.group-today .group-board.group-podium){
  --podium-gold:#E5BA4A;
  --podium-silver:#C0CFDF;
  --podium-bronze:#D68E60;
  position:relative;
  align-items:end;
  gap:0 4px;
  margin:34px 0 0;
  padding:0 2px;
  border:0;
  border-bottom:1.5px solid var(--es-line-strong);
  border-radius:0;
  background:none;
  box-shadow:none;
  overflow:visible;
}
:root[data-theme="light"] #dlg-board :is(.gs-podium,.group-today .group-board.group-podium){
  --podium-gold:#E4B53D;
  --podium-silver:#C2D0DE;
  --podium-bronze:#D5895A;
}
#dlg-board :is(.gs-podium,.group-today .group-board.group-podium)::before{content:none}
#dlg-board .group-today .group-board.group-podium[data-podium="2"]{max-width:264px;margin-inline:auto;gap:0 6px}

#dlg-board .gs-top,#dlg-board .group-today .group-board.group-podium>li{
  --step:40px;
  --plinth-face:var(--medal);
  --plinth-top:var(--medal);
  --plinth-ink:#15263B;
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  justify-items:center;
  align-content:end;
  gap:3px;
  min-width:0;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  text-align:center;
}
#dlg-board .group-today .group-board.group-podium>li{grid-template-areas:"member" "total" "scores" "rank"}
#dlg-board .gs-top+.gs-top{border-left:0}

/* Matte architectural tones — rich color without metallic glare or muddy black shadows.
   Each step pairs a crisp sunlit top plane with a clean satin-matte front face. */
#dlg-board .gs-top.place-1,#dlg-board .group-today .group-board.group-podium>li.place-1{
  --medal:var(--podium-gold);
  --plinth-top:#F7DC88;
  --plinth-face:linear-gradient(180deg,#E8BF50 0%,#DDA938 100%);
  --plinth-ink:#241804;
  --step:82px;
  z-index:2;
  padding:0;
  background:none;
  box-shadow:none;
}
#dlg-board .gs-top.place-2,#dlg-board .group-today .group-board.group-podium>li.place-2{
  --medal:var(--podium-silver);
  --plinth-top:#E3ECF5;
  --plinth-face:linear-gradient(180deg,#C5D4E3 0%,#B2C3D5 100%);
  --plinth-ink:#15263B;
  --step:58px;
  box-shadow:none;
}
#dlg-board .gs-top.place-3,#dlg-board .group-today .group-board.group-podium>li.place-3{
  --medal:var(--podium-bronze);
  --plinth-top:#EEB690;
  --plinth-face:linear-gradient(180deg,#DA9366 0%,#CA7E4E 100%);
  --plinth-ink:#281206;
  --step:40px;
  box-shadow:none;
}
:root[data-theme="light"] #dlg-board :is(.gs-top,.group-today .group-board.group-podium>li).place-1{
  --plinth-top:#F8DF90;
  --plinth-face:linear-gradient(180deg,#E7BC48 0%,#DBA832 100%);
}
:root[data-theme="light"] #dlg-board :is(.gs-top,.group-today .group-board.group-podium>li).place-2{
  --plinth-top:#E6EEF6;
  --plinth-face:linear-gradient(180deg,#C8D5E2 0%,#B6C5D5 100%);
}
:root[data-theme="light"] #dlg-board :is(.gs-top,.group-today .group-board.group-podium>li).place-3{
  --plinth-top:#F0BA95;
  --plinth-face:linear-gradient(180deg,#DA9163 0%,#C97C4C 100%);
}
#dlg-board .gs-top.me,#dlg-board .group-today .group-board.group-podium>li.me{padding:0;border:0;border-radius:0;background:none}

/* First place mark: one small, level, flat geometric crown — crisp and understated. */
#dlg-board :is(.gs-top,.group-podium>li).place-1::before{
  content:"";
  position:absolute;
  z-index:3;
  top:-21px;
  left:50%;
  width:19px;
  height:12px;
  transform:translateX(-50%);
  background:#ECC55C;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M3 11.4 1.8 4 7.7 8 12 1.8 16.3 8 22.2 4 21 11.4ZM3 13.4h18v1.8H3Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M3 11.4 1.8 4 7.7 8 12 1.8 16.3 8 22.2 4 21 11.4ZM3 13.4h18v1.8H3Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
:root[data-theme="light"] #dlg-board :is(.gs-top,.group-podium>li).place-1::before{background:#B88212}
#dlg-board :is(.gs-top,.group-podium>li).place-1::after{content:none}

/* The architectural step: crisp 2.5D two-tone matte block — sunlit top plane,
   clean matte front face, sharp high-contrast numeral, zero glossy bevels. */
:root[data-theme] #dlg-board :is(.gs-top .gs-top-place,.group-today .group-board.group-podium>li .rk){
  order:9;
  position:relative;
  box-sizing:border-box;
  display:grid;
  place-items:center;
  width:100%;
  height:var(--step);
  margin:7px 0 0;
  padding-top:6px;
  overflow:hidden;
  border:0;
  border-radius:10px 10px 0 0;
  background-color:var(--medal);
  background-image:var(--plinth-face);
  box-shadow:inset 0 -1px 0 rgba(15,28,48,.12);
  color:var(--plinth-ink);
  font:900 28px/1 var(--display);
  letter-spacing:0;
  text-shadow:none;
}
:root[data-theme] #dlg-board :is(.gs-top .gs-top-place,.group-today .group-board.group-podium>li .rk)::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:6px;
  background:var(--plinth-top);
  pointer-events:none;
}
:root[data-theme] #dlg-board :is(.gs-top.place-1 .gs-top-place,.group-today .group-board.group-podium>li.place-1 .rk){
  padding-top:7px;
  font-size:42px;
}
:root[data-theme] #dlg-board :is(.gs-top.place-1 .gs-top-place,.group-today .group-board.group-podium>li.place-1 .rk)::before{
  height:7px;
}
:root[data-theme] #dlg-board :is(.gs-top.place-3 .gs-top-place,.group-today .group-board.group-podium>li.place-3 .rk){
  padding-top:5px;
  font-size:25px;
}
:root[data-theme] #dlg-board :is(.gs-top.place-3 .gs-top-place,.group-today .group-board.group-podium>li.place-3 .rk)::before{
  height:5px;
}

/* Avatars: clean single medal ring, crisp warm/cool initials fill, zero glow clutter. */
:root[data-theme] #dlg-board :is(.gs-top .gs-avatar,.group-today .group-board.group-podium>li .member-link .group-member-avatar){
  order:1;
  width:48px;
  height:48px;
  box-sizing:border-box;
  border:2.5px solid var(--medal);
  box-shadow:none;
  background:color-mix(in srgb,var(--medal) 16%,var(--es-surface));
  color:var(--es-ink);
  font:700 14.5px/1 var(--font-ui);
  letter-spacing:.03em;
}
:root[data-theme="light"] #dlg-board :is(.gs-top .gs-avatar,.group-today .group-board.group-podium>li .member-link .group-member-avatar){
  background:color-mix(in srgb,var(--medal) 14%,var(--es-surface));
}
:root[data-theme] #dlg-board :is(.gs-top.place-1 .gs-avatar,.group-today .group-board.group-podium>li.place-1 .member-link .group-member-avatar){
  width:60px;
  height:60px;
  font-size:17.5px;
}

/* Editorial typography: quiet balanced handle, strong tabular figure below it. */
#dlg-board .gs-top .hd,#dlg-board .group-today .group-board.group-podium>li .member-link .group-member-name{
  order:2;
  display:block;
  max-width:100%;
  min-height:0;
  padding:6px 3px 1px;
  overflow:visible;
  white-space:normal;
  text-overflow:clip;
  overflow-wrap:anywhere;
  text-wrap:balance;
  font:600 13px/1.18 var(--font-ui);
  color:var(--es-ink-2);
}
#dlg-board .gs-top.place-1 .hd,#dlg-board .group-today .group-board.group-podium>li.place-1 .member-link .group-member-name{
  font-weight:700;
  color:var(--es-ink);
}
#dlg-board .group-today .group-board.group-podium>li .member-link{gap:0;overflow:visible;text-decoration:none}
#dlg-board .group-today .group-board.group-podium>li .member-link:hover .group-member-name{text-decoration:underline;text-underline-offset:3px}

/* Scores & streaks: tabular, optically tight. */
#dlg-board .gs-top strong{order:3;display:inline-flex;align-items:baseline;justify-content:center;font:900 28px/.94 var(--display);letter-spacing:.01em;color:var(--es-ink)}
#dlg-board .gs-top.place-1 strong{font-size:36px}
#dlg-board .gs-top strong small{margin-left:1px;font:600 11.5px/1 var(--font-ui);letter-spacing:0;color:var(--es-ink-3)}
#dlg-board .gs-top strong .flame-icon{width:.64em;height:.64em;margin-right:.08em;align-self:center;transform:translateY(-.04em)}
#dlg-board .group-today .group-board.group-podium>li .tot{font:900 28px/.94 var(--display);letter-spacing:.01em;color:var(--es-ink)}
#dlg-board .group-today .group-board.group-podium>li.place-1 .tot{font-size:36px}
#dlg-board .group-today .group-board.group-podium>li .group-score-strip{margin:3px 0 2px;width:min(100%,76px);justify-content:center;gap:3.5px}
#dlg-board .group-today .group-board.group-podium>li .group-score-strip i{width:11px;height:9px}

/* You, on the podium: one clean coral ring (no stacked concentric rings) and coral name. */
:root[data-theme] #dlg-board :is(.gs-top.me .gs-avatar,.group-today .group-board.group-podium>li.me .member-link .group-member-avatar){
  border-color:var(--es-ground);
  box-shadow:0 0 0 2.5px var(--fx-you);
}
:root[data-theme] #dlg-board :is(.gs-top.me .hd,.group-today .group-board.group-podium>li.me .member-link .group-member-name){
  font-weight:700;
  color:var(--fx-you);
}

#dlg-board .gs-podium+.board,#dlg-board .group-today .group-board.group-podium+.group-board{margin-top:16px}
/* The rise (round three, B1): one beat, once, when the board opens, and only
   after its page has landed. global-directions.js draws the podium with
   .is-rising.is-waiting, which holds every part on its first frame; adds
   .is-primed in the first frame after the page's push has finished, which
   gives each moving part a layer of its own then (so the rise's first frame
   paints nothing); takes .is-waiting off in the task after that frame; and
   takes the classes off when the beat is over. (Never on a Today/Streaks
   switch, a redraw, or coming back to the page.)
   Each step comes up out of the floor with its player standing on it, third
   to first, 45 ms apart, on the curve the page itself was pushed in with; the
   crown sets down as first place settles. Nothing is squashed or bounced.
   Transform and opacity only, and every part starts at the same instant: the
   45 ms turns and the crown's wait are a held first keyframe, not a delay,
   because WebKit hands an animation to the system only once its delay has
   run out, in a frame the page itself must draw. Let go together, the whole
   beat is the system's from its first frame and plays on with this page's
   script blocked (filmed in the app, round three). The step is hidden under
   the floor by a clip on its own column, which does not move. Only on the
   page in view. With motion reduced there is no beat and no wait: the podium
   stands with its page (design.css stops every animation there). */
@media (prefers-reduced-motion:no-preference){
  :is(:root:not(.tab-pager-on),.tab-slot.is-current) #dlg-board .is-rising>li{clip-path:inset(-44px -8px 0 -8px)}
  :is(:root:not(.tab-pager-on),.tab-slot.is-current) #dlg-board .is-rising>li>*{animation:podium-ride-3 .55s cubic-bezier(.32,.72,0,1) var(--rise-at,0ms) backwards}
  :is(:root:not(.tab-pager-on),.tab-slot.is-current) #dlg-board .is-rising>li.place-2>*{animation-name:podium-ride-2}
  :is(:root:not(.tab-pager-on),.tab-slot.is-current) #dlg-board .is-rising>li.place-1>*{animation-name:podium-ride-1}
  :is(:root:not(.tab-pager-on),.tab-slot.is-current) #dlg-board .is-rising>li>:is(.gs-top-place,.rk){animation-name:podium-step-3}
  :is(:root:not(.tab-pager-on),.tab-slot.is-current) #dlg-board .is-rising>li.place-2>:is(.gs-top-place,.rk){animation-name:podium-step-2}
  :is(:root:not(.tab-pager-on),.tab-slot.is-current) #dlg-board .is-rising>li.place-1>:is(.gs-top-place,.rk){animation-name:podium-step-1}
  :is(:root:not(.tab-pager-on),.tab-slot.is-current) #dlg-board .is-rising>li.place-1::before{animation:podium-crown .6s cubic-bezier(.22,1,.36,1) var(--rise-at,0ms) backwards}
  :is(:root:not(.tab-pager-on),.tab-slot.is-current) #dlg-board .is-rising.is-primed>li>*,:is(:root:not(.tab-pager-on),.tab-slot.is-current) #dlg-board .is-rising.is-primed>li.place-1::before{will-change:transform,opacity}
}
:is(:root:not(.tab-pager-on),.tab-slot.is-current) #dlg-board .is-rising.is-waiting>li,:is(:root:not(.tab-pager-on),.tab-slot.is-current) #dlg-board .is-rising.is-waiting>li>*,:is(:root:not(.tab-pager-on),.tab-slot.is-current) #dlg-board .is-rising.is-waiting>li::before{animation-play-state:paused}
/* 550 ms in all: third place rises through the first 460, second from 45, first from 90. */
@keyframes podium-step-3{0%{transform:translateY(calc(var(--step) + 4px))}83.64%,100%{transform:translateY(0)}}
@keyframes podium-step-2{0%,8.18%{transform:translateY(calc(var(--step) + 4px))}91.82%,100%{transform:translateY(0)}}
@keyframes podium-step-1{0%,16.36%{transform:translateY(calc(var(--step) + 4px))}100%{transform:translateY(0)}}
@keyframes podium-ride-3{0%{opacity:0;transform:translateY(calc(var(--step) + 4px))}83.64%,100%{opacity:1;transform:translateY(0)}}
@keyframes podium-ride-2{0%,8.18%{opacity:0;transform:translateY(calc(var(--step) + 4px))}91.82%,100%{opacity:1;transform:translateY(0)}}
@keyframes podium-ride-1{0%,16.36%{opacity:0;transform:translateY(calc(var(--step) + 4px))}100%{opacity:1;transform:translateY(0)}}
/* The crown settles cleanly onto first place once the column arrives. */
@keyframes podium-crown{0%,50%{opacity:0;transform:translateX(-50%) translateY(5px) scale(.86)}100%{opacity:1;transform:translateX(-50%)}}
@media (max-width:359px){
  #dlg-board .gs-podium,#dlg-board .group-today .group-board.group-podium{gap:0 3px}
  #dlg-board .gs-top strong,#dlg-board .group-today .group-board.group-podium>li .tot{font-size:23px}
  #dlg-board .gs-top.place-1 strong,#dlg-board .group-today .group-board.group-podium>li.place-1 .tot{font-size:30px}
  :root[data-theme] #dlg-board :is(.gs-top .gs-avatar,.group-today .group-board.group-podium>li .member-link .group-member-avatar){width:42px;height:42px}
  :root[data-theme] #dlg-board :is(.gs-top.place-1 .gs-avatar,.group-today .group-board.group-podium>li.place-1 .member-link .group-member-avatar){width:52px;height:52px}
  #dlg-board .gs-top .hd,#dlg-board .group-today .group-board.group-podium>li .member-link .group-member-name{font-size:12px}
}
/* Seasonal podium: stack days cleanly beneath the aggregate score so 4- and 5-digit
   totals stay optically centered over their plinths on every phone width. */
#dlg-board .global-board[data-global-tab="season"] .gs-top strong{
  flex-direction:column;
  align-items:center;
  gap:3px;
  font-size:clamp(22px,6.2vw,27px);
  line-height:.94;
}
#dlg-board .global-board[data-global-tab="season"] .gs-top.place-1 strong{
  font-size:clamp(26px,7.6vw,33px);
}
#dlg-board .global-board[data-global-tab="season"] .gs-top .gs-season-days{
  margin-left:0;
  font:700 11px/1 var(--font-ui);
  letter-spacing:.03em;
  color:var(--es-ink-3);
}
@media (max-width:359px){
  #dlg-board .global-board[data-global-tab="season"] .gs-top strong{font-size:19px}
  #dlg-board .global-board[data-global-tab="season"] .gs-top.place-1 strong{font-size:24px}
}
/* ==== D3:END ==== */

/* ---- F-07 (design review): the pane under a segmented control turns, the
   control stays. A pane that is drawn again whole (a group's page, Stats)
   marks what must not move with .pane-keeps; view-motion.js turnRedrawnPane. ---- */
@media (prefers-reduced-motion:no-preference){
  :root[data-navigation-direction^=pane] .is-turning>.pane-keeps{view-transition-name:eyeshot-pane-keep}
  :root[data-navigation-direction^=pane] .is-turning>.pane-keeps-2{view-transition-name:eyeshot-pane-keep-2}
}

/* ---- E3: Sheets (the one calendar) and a day's own page ---- */
#dlg-stats .cal-rest{display:grid;place-items:center;width:18px;height:18px;color:var(--es-ink-3)}
#dlg-stats .cal-rest svg{width:14px;height:14px;fill:currentColor}
:root #dlg-stats .archive-list button.cal-day.is-rest{border-style:dashed;background:transparent}
:root #dlg-stats .archive-list button.cal-day.is-partial{color:var(--es-ink-2)}
#dlg-stats .sheets-panel>.day-legend{margin:0 0 6px}
#dlg-stats .day-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:4px}
#dlg-stats .day-card{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;padding:16px 16px 10px;border:1px solid var(--es-line);border-radius:20px;background:var(--es-surface);box-shadow:var(--es-shadow-soft)}
#dlg-stats .day-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px}
#dlg-stats .day-head .es-eyebrow{margin:0}
#dlg-stats .day-date{font:500 14.5px/1.3 var(--font-ui);color:var(--es-ink-2)}
#dlg-stats .day-total{display:flex;align-items:baseline;gap:6px}
#dlg-stats .day-total strong{font:900 3.5rem/.9 var(--display);letter-spacing:.01em;font-variant-numeric:tabular-nums;color:var(--es-ink)}
#dlg-stats .day-total span{font:600 15px/1 var(--font-ui);color:var(--es-ink-3)}
#dlg-stats .day-total.is-perfect strong{color:var(--perfect-ink,var(--es-ink))}
#dlg-stats .day-standing{margin:-4px 0 0;font:800 17px/1.25 var(--font-ui);color:var(--es-ink);text-wrap:balance}
#dlg-stats .day-state{margin:0;font:800 19px/1.25 var(--font-ui);color:var(--es-ink);text-wrap:balance}
#dlg-stats .day-card>.personal-shots{margin:2px -4px 0;padding:0;list-style:none;border-top:1px solid var(--es-line)}
#dlg-stats .day-practice{margin:0;padding:10px 0 4px;border-top:1px solid var(--es-line);font:500 14.5px/1.3 var(--font-ui);color:var(--es-ink-2)}
#dlg-stats .day-practice b{margin-left:4px;font:900 18px/1 var(--display);color:var(--es-ink)}
#dlg-stats .day-practice small{margin-left:2px;font:600 11px/1 var(--font-ui);color:var(--es-ink-3)}
/* The sheet's five shots, named whole: chips that wrap by the line, never inside a word. */
#dlg-stats .day-shots{list-style:none;display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:0 0 8px}
#dlg-stats .day-shots li{display:inline-flex;align-items:center;gap:7px;padding:7px 12px 7px 9px;border:1px dashed var(--es-line-strong);border-radius:999px;color:var(--es-ink-2);font:600 13px/1.2 var(--font-ui);white-space:nowrap}
#dlg-stats .day-shots svg{flex:none;width:18px;height:18px}
#dlg-stats .day-actions{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:4px}
#dlg-stats .day-actions .btn.primary{width:100%;min-height:56px}
#dlg-stats .day-actions .share-status:empty{display:none}
#dlg-stats .day-panel>.day-note{margin:0;text-align:center}
/* The day's five shots are compact on its page, so the card and its main button share the first screen. */
#dlg-stats .day-card>.personal-shots :is(.personal-shot-review,.personal-shot-record){min-height:56px;padding-block:7px}
#dlg-stats .day-card>.personal-shots .personal-shot-image{width:44px;height:44px}
#dlg-stats .day-card>.personal-shots .game-icon{width:26px;height:26px}
/* The rows keep one shape while the day's record arrives (AJ, 1 Dec: the card "resizes briefly"): the shot's
   icon waits in the miniature's own frame, and the chevron's place is kept, so the picture and the way into it
   land in place. The picture fades in over the icon it replaces. */
#dlg-stats .day-card>.personal-shots .personal-shot-frame{display:grid;place-items:center;flex:none;box-sizing:border-box;width:44px;height:44px;border:1px solid var(--profile-border);border-radius:8px}
#dlg-stats .day-card>.personal-shots .personal-shot-image{flex:none;box-sizing:border-box}
#dlg-stats .day-card>.personal-shots .personal-shot-gap{flex:none;width:12px;height:12px}
#dlg-stats .day-card>.personal-shots .personal-shot-image.is-arriving{animation:personal-shot-in .2s ease-out both}
@keyframes personal-shot-in{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){#dlg-stats .day-card>.personal-shots .personal-shot-image.is-arriving{animation:none}}
