/* Stats as a story (Luke, 2026-10-13, playground): raised cards with real depth on the dusk ground, a gold metal Index ring, a cream ticket,
   gold medallions. Score colours match the Play buttons: birdie green, par neutral, bogey coral, double deep red (every bar also carries words).
   All under .st--dusk so the light theme and the Node tests are untouched. */

.st--dusk {
  --x-birdie: #2FB36A; --x-par: #8E9A92; --x-bogey: #EE7D62; --x-double: #B8473A;
  --x-good: #5DDB8A; --x-bad: #F08C74;
  --x-gold-hi: #F7E3A6; --x-gold: #D8B25A; --x-gold-lo: #9C7426;
}
.st-tabs[hidden] { display: none; }
/* The panel only takes focus by script (tabindex -1) so a screen reader lands on the new view; no ring for that. Cards may shrink below their words. */
.st--dusk .st-panel:focus { outline: none; }
.st--dusk .st-panel > * { min-width: 0; }

/* ── The card: lit top edge, soft inner glow, two-layer shadow so it sits off the ground ─────────────────────────────── */
.st--dusk .st-x {
  position: relative; margin: 0 0 14px; padding: 16px 16px 15px; border-radius: 24px; color: #fff;
  background:
    radial-gradient(120% 70% at 20% 0%, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 60%),
    linear-gradient(170deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035) 55%, rgba(0, 0, 0, .06));
  border: 1px solid rgba(255, 255, 255, .13); border-top-color: rgba(255, 255, 255, .26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 2px 4px rgba(0, 0, 0, .18), 0 22px 44px -18px rgba(0, 0, 0, .65);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.st--dusk .st-x-k { margin: 0 0 10px; font: 650 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.st--dusk .st-x-k--in { margin: 14px 0 8px; }
.st--dusk .st-x-say { margin: 0; font: 650 16px/1.3 var(--sans); color: #fff; }
.st--dusk .st-x-sub { margin: 6px 0 0; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .64); }
.st--dusk .st-x-note { margin: 10px 0 0; font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, .5); }

/* first visit: the cards rise in one after another */
.st--dusk .st-x-rise { animation: stx-rise 520ms cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes stx-rise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .st--dusk .st-x-rise { animation: none; } }

/* ── 1. Index ring ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.st--dusk .st-x-hero { display: flex; align-items: center; gap: 16px; }
.st--dusk .st-x-ring { position: relative; flex: none; width: 124px; height: 124px; border-radius: 50%;
  box-shadow: 0 14px 26px -10px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .06); background: radial-gradient(circle at 50% 50%, #12301F 58%, rgba(0, 0, 0, .25) 59%, rgba(0, 0, 0, 0) 72%); }
.st--dusk .st-x-ring-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); }
.st--dusk .st-x-arc { transition: stroke-dasharray 900ms cubic-bezier(.2, .8, .2, 1); }
.st--dusk .st-x-ring-n { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; line-height: 1; color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .45); font-variation-settings: "opsz" 144; }
.st--dusk .st-x-hero-t { min-width: 0; }
.st--dusk .st-x-chip { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 4px 9px; border-radius: 999px; font: 700 12px/1 var(--sans);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.st--dusk .st-x-chip.is-good { background: rgba(93, 219, 138, .16); color: var(--x-good); }
.st--dusk .st-x-chip.is-bad { background: rgba(240, 140, 116, .16); color: var(--x-bad); }

/* form guide: five raised tiles, a coloured light along the bottom */
.st--dusk .st-x-form { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.st--dusk .st-x-form li { position: relative; padding: 9px 0 10px; text-align: center; border-radius: 13px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 12px -6px rgba(0, 0, 0, .6); }
.st--dusk .st-x-form li::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--x-par); box-shadow: 0 -2px 8px var(--x-par); }
.st--dusk .st-x-form li.is-w::after { background: var(--x-good); box-shadow: 0 -2px 8px rgba(93, 219, 138, .7); }
.st--dusk .st-x-form li.is-l::after { background: var(--x-bad); box-shadow: 0 -2px 8px rgba(240, 140, 116, .7); }
.st--dusk .st-x-form b { display: block; font-size: 20px; line-height: 1; }
.st--dusk .st-x-form small { display: block; margin-top: 4px; font: 600 10px var(--sans); color: rgba(255, 255, 255, .55); }

/* ── 2. The ticket ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.st--dusk .st-x-ticket { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 15px 18px 15px 20px;
  border-radius: 18px; color: #10241A;
  background:
    radial-gradient(circle at 0 50%, transparent 9px, #F4EFE4 10px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent 9px, #F4EFE4 10px) right / 51% 100% no-repeat;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45)) drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.st--dusk .st-x-ticket::before { content: ''; position: absolute; top: 12px; bottom: 12px; right: 92px; border-left: 2px dashed rgba(16, 36, 26, .18); }
.st--dusk .st-x-ticket-t { margin: 0; font: 600 14px/1.35 var(--sans); max-width: 62%; }
.st--dusk .st-x-ticket-k { display: block; margin-bottom: 4px; font: 700 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8A6A24; }
.st--dusk .st-x-ticket-n { margin: 0; min-width: 64px; text-align: center; font-size: 46px; line-height: 1; color: #10241A;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 -1px 0 rgba(0, 0, 0, .08); font-variation-settings: "opsz" 144; }

/* ── 3. Season numbers ─────────────────────────────────────────────────────────────────────────────────────────────── */
.st--dusk .st-x-season { padding-top: 14px; }
.st--dusk .st-x-season .st-x-k { margin-right: 150px; min-height: 30px; display: flex; align-items: center; }
.st--dusk .st-x-seg { position: absolute; top: 10px; right: 10px; }
.st--dusk .st-x-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.st--dusk .st-x-trio div + div { border-left: 1px solid rgba(255, 255, 255, .1); padding-left: 12px; }
.st--dusk .st-x-trio b { display: block; font-size: 32px; line-height: 1; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.st--dusk .st-x-trio small { display: block; margin-top: 5px; font: 600 11.5px/1.25 var(--sans); color: rgba(255, 255, 255, .6); }

/* ── 4. Your one thing ─────────────────────────────────────────────────────────────────────────────────────────────── */
.st--dusk .st-x-leak { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.st--dusk .st-x-leak b { font-size: 60px; line-height: .85; color: #E9CB7C; text-shadow: 0 1px 0 rgba(255, 240, 200, .35), 0 4px 10px rgba(0, 0, 0, .5); }
.st--dusk .st-x-leak .st-x-say { padding-bottom: 4px; }
.st--dusk .st-x-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.st--dusk .st-x-bars li { display: grid; grid-template-columns: 88px 1fr 34px; align-items: center; gap: 10px; font: 500 13px var(--sans); color: rgba(255, 255, 255, .72); }
.st--dusk .st-x-bars i { display: block; height: 10px; width: var(--w); border-radius: 0 6px 6px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .3); }
.st--dusk .st-x-bars li.is-top { color: #fff; font-weight: 700; }
.st--dusk .st-x-bars li.is-top i { height: 14px; background: linear-gradient(180deg, var(--x-gold-hi), var(--x-gold) 50%, var(--x-gold-lo)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 3px 8px rgba(0, 0, 0, .4); }
.st--dusk .st-x-bars em { font-style: normal; text-align: right; font-size: 17px; color: #fff; }
.st--dusk .st-x-tip { margin: 14px 0 0; padding: 11px 13px; border-radius: 14px; font: 500 13.5px/1.4 var(--sans); color: #F4E6BE;
  background: linear-gradient(180deg, rgba(216, 178, 90, .2), rgba(216, 178, 90, .1)); border: 1px solid rgba(216, 178, 90, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.st--dusk .st-x-tip b { color: #fff; }
.st--dusk .st-x-tip--quiet { color: rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }

/* ── 5. Last round scoreboard ──────────────────────────────────────────────────────────────────────────────────────── */
.st--dusk .st-x-board { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.st--dusk .st-x-board li { position: relative; padding: 10px 10px 9px 13px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 8px 14px -8px rgba(0, 0, 0, .6); }
.st--dusk .st-x-board li::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--x-par); }
.st--dusk .st-x-board li.is-w::before { background: var(--x-good); box-shadow: 2px 0 8px rgba(93, 219, 138, .6); }
.st--dusk .st-x-board li.is-l::before { background: var(--x-bad); box-shadow: 2px 0 8px rgba(240, 140, 116, .6); }
.st--dusk .st-x-board b { display: block; font-size: 23px; line-height: 1; }
.st--dusk .st-x-board small { display: block; margin-top: 4px; font: 650 11px/1.2 var(--sans); color: rgba(255, 255, 255, .78); }
.st--dusk .st-x-board .st-x-usual { margin-top: 1px; font-weight: 500; color: rgba(255, 255, 255, .5); }

/* ── 6. The average round ──────────────────────────────────────────────────────────────────────────────────────────── */
.st--dusk .st-x-pill { display: flex; gap: 3px; height: 34px; margin: 12px 0 10px; padding: 3px; border-radius: 12px; background: rgba(0, 0, 0, .28);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .45), 0 1px 0 rgba(255, 255, 255, .08); }
.st--dusk .st-x-pill i { display: block; min-width: 4px; border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .18);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 55%); }
.st--dusk .k-birdie { background-color: var(--x-birdie); } .st--dusk .k-par { background-color: var(--x-par); }
.st--dusk .k-bogey { background-color: var(--x-bogey); } .st--dusk .k-double { background-color: var(--x-double); }
.st--dusk .st-x-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.st--dusk .st-x-legend li { display: grid; grid-template-columns: 10px 1fr; align-items: center; column-gap: 5px; }
.st--dusk .st-x-sw { width: 9px; height: 9px; border-radius: 3px; }
.st--dusk .st-x-legend small { font: 650 11px var(--sans); color: rgba(255, 255, 255, .7); }
.st--dusk .st-x-legend b { grid-column: 1 / -1; font-size: 22px; line-height: 1.1; }

/* ── 7. Trophy cabinet: gold coins ─────────────────────────────────────────────────────────────────────────────────── */
.st--dusk .st-x-medals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.st--dusk .st-x-medal { width: 100%; display: grid; grid-template-columns: 54px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 11px; align-items: center; text-align: left;
  padding: 10px 11px; border-radius: 16px; border: 1px solid rgba(216, 178, 90, .35); color: #fff; font: inherit;
  background: linear-gradient(160deg, rgba(216, 178, 90, .2), rgba(216, 178, 90, .05) 60%), rgba(0, 0, 0, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 10px 18px -10px rgba(0, 0, 0, .7); -webkit-tap-highlight-color: transparent; }
button.st-x-medal { cursor: pointer; transition: transform 120ms ease-out, box-shadow 120ms ease-out; }
button.st-x-medal:active { transform: translateY(1px) scale(.98); }
.st--dusk .st-x-coin { grid-row: 1 / 3; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-size: 21px; line-height: 1; color: #3B2A06;
  background: radial-gradient(circle at 34% 28%, #FFF3C8 0, var(--x-gold-hi) 18%, var(--x-gold) 52%, var(--x-gold-lo) 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 240, 190, .55), inset 0 -4px 6px rgba(80, 52, 6, .45), inset 0 3px 4px rgba(255, 255, 255, .5), 0 6px 10px rgba(0, 0, 0, .45);
  text-shadow: 0 1px 0 rgba(255, 245, 210, .7); }
.st--dusk .st-x-medal-l { align-self: end; font: 700 12.5px/1.2 var(--sans); }
.st--dusk .st-x-medal small { align-self: start; font: 500 11px/1.25 var(--sans); color: rgba(255, 255, 255, .55); }

/* ── 8. Home course ────────────────────────────────────────────────────────────────────────────────────────────────── */
.st--dusk .st-x-holes { list-style: none; margin: 14px 0 0; padding: 10px 8px 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px;
  border-radius: 14px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .4); }
.st--dusk .st-x-holes li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 64px; gap: 4px; }
.st--dusk .st-x-holes i { display: block; width: 100%; max-width: 14px; height: var(--h); border-radius: 4px 4px 2px 2px;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 60%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 2px 3px rgba(0, 0, 0, .35); }
.st--dusk .st-x-holes small { font: 600 9px/1 var(--sans); color: rgba(255, 255, 255, .5); }
.st--dusk .st-x-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.st--dusk .st-x-duo div { padding: 9px 11px; border-radius: 13px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.st--dusk .st-x-duo small { display: block; font: 650 10.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.st--dusk .st-x-duo b { font-size: 26px; line-height: 1.1; margin-right: 6px; }
.st--dusk .st-x-duo span { font: 500 12px var(--sans); color: rgba(255, 255, 255, .7); }
.st--dusk .st-x-more { margin-top: 12px; width: 100%; min-height: 44px; border-radius: 13px; border: 1px solid rgba(216, 178, 90, .45); color: #F2E4B8; font: 650 14px var(--sans);
  background: linear-gradient(180deg, rgba(216, 178, 90, .16), rgba(216, 178, 90, .06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }

/* ── 9. Doors: one grouped list, like a settings screen ────────────────────────────────────────────────────────────── */
.st--dusk .st-x-doors ul { list-style: none; margin: 4px 0 18px; padding: 0; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .13);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 18px 34px -18px rgba(0, 0, 0, .65); }
.st--dusk .st-x-doors li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.st--dusk .st-x-door { width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border: 0; background: none; color: #fff; text-align: left; font: inherit; -webkit-tap-highlight-color: transparent; }
.st--dusk .st-x-door:active { background: rgba(255, 255, 255, .06); }
.st--dusk .st-x-door b { display: block; font: 650 15px/1.25 var(--sans); }
.st--dusk .st-x-door small { display: block; margin-top: 2px; font: 500 12.5px/1.3 var(--sans); color: rgba(255, 255, 255, .55); }
.st--dusk .st-x-chev { font-size: 24px; line-height: 1; color: var(--x-gold); }

.st--dusk .st-x-back { margin: 0 0 10px; }

@media (max-width: 370px) {
  .st--dusk .st-x-ring { width: 104px; height: 104px; } .st--dusk .st-x-ring-n { font-size: 34px; }
  .st--dusk .st-x-season .st-x-k { margin-right: 0; margin-bottom: 44px; }
  .st--dusk .st-x-bars li { grid-template-columns: 76px 1fr 30px; }
  .st--dusk .st-x-medal { grid-template-columns: 46px minmax(0, 1fr); column-gap: 9px; padding: 9px; }
  .st--dusk .st-x-coin { width: 46px; height: 46px; font-size: 18px; }
}

/* ════ The instrument panel (Luke, 2026-10-13: "like a real machine with screens… futuristic, digital") ═══════════════════════════════════
   Every card is a recessed glass screen set in a machined gunmetal frame. Numbers are seven-segment readouts lit from behind, with the
   unlit "8"s of a real display faintly visible. Bars are segmented like LED meters. The ticket (paper) and the coins (metal) stay physical
   objects on purpose: they are things you hold, not things on a screen. Screen light is steady: nothing here pulses or glows on a button. */

@font-face { font-family: "Stats LED"; src: url(/fonts/DSEG7Classic-Bold.woff2) format("woff2"); font-display: swap;
  unicode-range: U+0020-0021, U+002C-002E, U+0030-003A; }

.st--dusk { --x-phos: #DDFBEA; --x-phos-glow: rgba(110, 255, 175, .35); --x-amber: #FFC550; --x-amber-glow: rgba(255, 170, 40, .45); }

/* the frame and the glass */
.st--dusk .st-x, .st--dusk .st-x-doors ul { isolation: isolate; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 26px 40px -22px rgba(0, 0, 0, .85); margin-bottom: 22px; }
.st--dusk .st-x::before, .st--dusk .st-x-doors ul::before { content: ''; position: absolute; inset: -6px; z-index: -2; border-radius: 30px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, rgba(0, 0, 0, .03) 1px 3px),
    linear-gradient(180deg, #4A5550 0%, #2A322E 18%, #1B211E 55%, #141916 82%, #2C3430 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .55), 0 2px 3px rgba(0, 0, 0, .4); }
.st--dusk .st-x::after, .st--dusk .st-x-doors ul::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 24px; pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .02) 28%, rgba(255, 255, 255, 0) 29%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    radial-gradient(160% 50% at 50% -8%, rgba(190, 255, 220, .07), rgba(190, 255, 220, 0) 60%),
    radial-gradient(130% 90% at 50% 0%, #0E2318 0%, #07140D 55%, #040B07 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 3px 10px rgba(0, 0, 0, .85), inset 0 0 40px rgba(0, 0, 0, .55); }
.st--dusk .st-x-doors ul { position: relative; overflow: visible; }
.st--dusk .st-x-doors ul::before { border-radius: 26px; } .st--dusk .st-x-doors ul::after { border-radius: 20px; }
.st--dusk .st-x-k { color: rgba(140, 240, 185, .62); }

/* a seven-segment readout, lit, with its unlit segments behind */
.st--dusk .st-led { position: relative; display: inline-block; font-family: "Stats LED", ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700;
  font-style: normal; letter-spacing: .02em; color: var(--x-phos); text-shadow: 0 0 1px var(--x-phos), 0 0 9px var(--x-phos-glow); font-variant-numeric: tabular-nums; }
.st--dusk .st-led::before { content: attr(data-ghost); position: absolute; inset: 0; color: rgba(160, 255, 200, .04); text-shadow: none; pointer-events: none; }
.st--dusk .st-led--gold { color: var(--x-amber); text-shadow: 0 0 1px var(--x-amber), 0 0 12px var(--x-amber-glow); }
.st--dusk .st-led--gold::before { color: rgba(255, 190, 80, .045); }

/* sizes per place (the segment face runs wide, so a touch smaller than the serif it replaces) */
.st--dusk .st-x-ring-n .st-led { font-size: 30px; }
.st--dusk .st-x-form .st-led { display: block; width: max-content; margin: 0 auto; font-size: 15px; }
.st--dusk .st-x-trio .st-led { font-size: 26px; text-shadow: 0 0 1px var(--x-phos), 0 0 9px var(--x-phos-glow); }
.st--dusk .st-x-leak .st-led { font-size: 48px; line-height: 1; }
.st--dusk .st-x-bars em .st-led { font-size: 13px; }
.st--dusk .st-x-board .st-led { font-size: 18px; }
.st--dusk .st-x-legend .st-led { font-size: 17px; margin-top: 2px; }
.st--dusk .st-x-duo .st-led { font-size: 22px; margin-right: 8px; }

/* the index dial: steel bezel face, glow on the gold arc */
.st--dusk .st-x-ring { background: radial-gradient(circle at 50% 50%, #04100A 57%, rgba(0, 0, 0, .3) 58%, rgba(0, 0, 0, 0) 72%); }
.st--dusk .st-x-arc { filter: drop-shadow(0 0 4px rgba(255, 190, 70, .55)); }

/* small sub-screens: form, scoreboard, duo — a status light instead of an underline */
.st--dusk .st-x-form li, .st--dusk .st-x-board li, .st--dusk .st-x-duo div, .st--dusk .st-x-trio {
  background: linear-gradient(180deg, rgba(120, 255, 180, .045), rgba(120, 255, 180, .015)); box-shadow: inset 0 0 0 1px rgba(140, 255, 190, .1), inset 0 1px 6px rgba(0, 0, 0, .6); }
.st--dusk .st-x-trio { padding: 12px 12px 11px; border-radius: 14px; }
.st--dusk .st-x-season .st-x-k { min-height: 40px; margin-bottom: 14px; }
.st--dusk .st-x-trio div + div { border-left-color: rgba(140, 255, 190, .12); }
.st--dusk .st-x-form li::after, .st--dusk .st-x-board li::before { inset: auto; top: 7px; right: 7px; left: auto; bottom: auto; width: 6px; height: 6px; border-radius: 50%;
  background: #3D4A43; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .6); }
.st--dusk .st-x-form li.is-w::after, .st--dusk .st-x-board li.is-w::before { background: #6BFFA4; box-shadow: 0 0 6px #3DFF8B, 0 0 1px #fff; }
.st--dusk .st-x-form li.is-l::after, .st--dusk .st-x-board li.is-l::before { background: #FF8A6B; box-shadow: 0 0 6px #FF6A45, 0 0 1px #fff; }
.st--dusk .st-x-form li.is-e::after, .st--dusk .st-x-board li.is-e::before { background: #C9D6CE; box-shadow: 0 0 5px rgba(220, 240, 230, .6); }
.st--dusk .st-x-board li { padding-left: 11px; }

/* LED meters: bars broken into lit segments */
.st--dusk .st-x-bars i { border-radius: 2px; -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 7px); mask-image: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 7px);
  background: rgba(200, 255, 225, .5); box-shadow: none; }
.st--dusk .st-x-bars li.is-top i { background: var(--x-amber); filter: drop-shadow(0 0 4px rgba(255, 170, 40, .55)); }
.st--dusk .st-x-pill { background: #020805; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9), 0 0 0 1px rgba(140, 255, 190, .12); }
.st--dusk .st-x-pill i { -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 6px, transparent 6px 8px); mask-image: repeating-linear-gradient(90deg, #000 0 6px, transparent 6px 8px);
  border-radius: 2px; box-shadow: none; background-image: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 60%); filter: brightness(1.12) drop-shadow(0 0 3px currentColor); }
.st--dusk .st-x-holes { background: #020805; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9), 0 0 0 1px rgba(140, 255, 190, .12); }
.st--dusk .st-x-holes i { border-radius: 1px; box-shadow: none; filter: brightness(1.12);
  -webkit-mask-image: repeating-linear-gradient(0deg, #000 0 4px, transparent 4px 6px); mask-image: repeating-linear-gradient(0deg, #000 0 4px, transparent 4px 6px); }
.st--dusk .st-x-holes small { color: rgba(140, 240, 185, .5); }

/* the tip reads as an on-screen message */
.st--dusk .st-x-tip { background: rgba(255, 190, 70, .07); border-color: rgba(255, 190, 70, .35); color: #FFE2A6; }
.st--dusk .st-x-tip--quiet { background: rgba(140, 255, 190, .05); border-color: rgba(140, 255, 190, .16); color: rgba(220, 255, 235, .85); }

/* buttons on the panel: flat, hard-edged, no glow (Luke's rule for page buttons) */
.st--dusk .st-x-more { background: #1A211D; border: 1px solid #3A4640; color: #F2E4B8; box-shadow: 0 2px 0 #050806, inset 0 1px 0 rgba(255, 255, 255, .08); }
.st--dusk .st-x-more:active { transform: translateY(2px); box-shadow: 0 0 0 #050806, inset 0 1px 0 rgba(255, 255, 255, .08); }
.st--dusk .st-x-medal { background: linear-gradient(160deg, rgba(216, 178, 90, .14), rgba(216, 178, 90, .03) 60%), #0A1610; }

@media (max-width: 370px) {
  .st--dusk .st-x-ring-n .st-led { font-size: 26px; }
  .st--dusk .st-x-leak .st-led { font-size: 42px; }
  .st--dusk .st-x-trio .st-led { font-size: 22px; }
}
/* small phones: the range switch drops under the label so a long label ("The last 3 months") never runs into it */
@media (max-width: 370px) {
  .st--dusk .st-x-season .st-x-k { min-height: 0; margin: 0 0 10px; }
  .st--dusk .st-x-seg { position: static; margin: 0 0 12px; width: max-content; }
}

/* ════ Level two: a live dashboard (Luke, 2026-10-13: "another level… more like a dashboard, more digital") ═══════════════════════════════ */

/* the status strip, like a car's instrument cluster */
.st--dusk .st-x-status { position: relative; isolation: isolate; display: flex; align-items: center; gap: 14px; margin: 2px 0 20px; padding: 9px 14px; border-radius: 14px;
  font: 650 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: rgba(140, 240, 185, .7); }
.st--dusk .st-x-status::before { content: ''; position: absolute; inset: -4px; z-index: -2; border-radius: 18px;
  background: linear-gradient(180deg, #46514C, #222925 40%, #171C19); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(0, 0, 0, .55), 0 10px 18px -10px rgba(0, 0, 0, .8); }
.st--dusk .st-x-status::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 14px;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 3px), #040B07; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9); }
.st--dusk .st-x-live { display: inline-flex; align-items: center; gap: 6px; }
.st--dusk .st-x-live i { width: 7px; height: 7px; border-radius: 50%; background: #6BFFA4; box-shadow: 0 0 6px #3DFF8B, 0 0 1px #fff; }
.st--dusk .st-x-clock { margin-left: auto; font-size: 15px; letter-spacing: .04em; text-transform: none; }
.st--dusk .st-x-wx { display: inline-flex; align-items: baseline; gap: 2px; min-height: 15px; }
.st--dusk .st-x-wx .st-led { font-size: 15px; }
.st--dusk .st-x-deg { color: var(--x-phos); margin-right: 6px; text-shadow: 0 0 6px var(--x-phos-glow); }
.st--dusk .st-x-wx-l { letter-spacing: .06em; }
.st--dusk .st-x-wx:empty { display: none; }

/* the Index trace: an oscilloscope screen inside the Index panel */
.st--dusk .st-x-scope { position: relative; margin: 14px 0 0; padding: 6px; border-radius: 12px; background: #020805; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9), 0 0 0 1px rgba(140, 255, 190, .12); }
.st--dusk .st-x-trace { display: block; width: 100%; height: 64px; overflow: visible; }
.st--dusk .st-x-trace .g { stroke: rgba(140, 255, 190, .09); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1 3; }
.st--dusk .st-x-trace .low { stroke: rgba(255, 190, 70, .55); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 4 4; }
.st--dusk .st-x-trace .area { fill: rgba(110, 255, 175, .08); }
.st--dusk .st-x-trace .ln { fill: none; stroke: #9DFFC8; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round;
  filter: drop-shadow(0 0 3px rgba(110, 255, 175, .8)); stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1200ms cubic-bezier(.3, .7, .2, 1) 250ms; }
.st--dusk .st-x-trace .end { fill: var(--x-amber); filter: drop-shadow(0 0 4px rgba(255, 170, 40, .9)); }
.st--dusk .st-x-scope-l { position: absolute; right: 10px; top: 6px; font: 650 10px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 200, 100, .75); }

/* switching on: everything starts dark/empty while .st-x-boot is on, then transitions to its value once */
.st--dusk .st-x-arc { transition: stroke-dasharray 1100ms cubic-bezier(.3, .7, .2, 1) 150ms; }
.st--dusk .st-x-bars i { clip-path: inset(0 0 0 0); transition: clip-path 900ms steps(22, end) 300ms; }
.st--dusk .st-x-pill { transition: clip-path 900ms steps(18, end) 300ms; clip-path: inset(0 0 0 0 round 12px); }
.st--dusk .st-x-holes i { clip-path: inset(0 0 0 0); transition: clip-path 700ms steps(8, end) calc(300ms + var(--hn, 0) * 30ms); }
.st--dusk .st-x-form li::after, .st--dusk .st-x-board li::before { transition: opacity 120ms steps(2, end) 900ms; }
.st--dusk .st-x-boot .st-x-arc { stroke-dasharray: 0 400 !important; }
.st--dusk .st-x-boot .st-x-bars i { clip-path: inset(0 100% 0 0); }
.st--dusk .st-x-boot .st-x-pill { clip-path: inset(0 100% 0 0 round 12px); }
.st--dusk .st-x-boot .st-x-holes i { clip-path: inset(100% 0 0 0); }
.st--dusk .st-x-boot .st-x-trace .ln { stroke-dashoffset: 1; }
.st--dusk .st-x-boot .st-x-form li::after, .st--dusk .st-x-boot .st-x-board li::before { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .st--dusk .st-x-arc, .st--dusk .st-x-bars i, .st--dusk .st-x-pill, .st--dusk .st-x-holes i, .st--dusk .st-x-trace .ln,
  .st--dusk .st-x-form li::after, .st--dusk .st-x-board li::before { transition: none; }
}

/* the caddie's line under the tip: smaller, quieter, italic, its own line */
.st--dusk .st-x-quip { display: block; margin-top: 6px; font: italic 500 12.5px/1.35 var(--sans); color: rgba(255, 226, 166, .62); }

/* ════ What the screens sit on (Luke, 2026-10-13: "it needs something, like layers") ═══════════════════════════════════════════════════
   1. the contour lines of your most-played course (real heights), drifting slower than the page; 2. a fine grain so the green reads as a
   matte surface; 3. light from each screen falling on that surface — green from the screens, warm gold around the ticket and the trophies. */
.st--dusk { position: relative; isolation: isolate; }
.st--dusk > :not(.st-bg) { position: relative; z-index: 1; }
.st-bg { position: absolute; inset: 0 0 calc(-1 * var(--st-bg-tail, 84px)); z-index: 0; pointer-events: none; overflow: hidden; contain: paint; }
/* contour tile repeated down the whole page (made in stats.js contourTile); a little wider than the screen so no edge shows */
.st-bg-map { position: absolute; inset: 0 -12%; background-repeat: repeat-y; background-size: 100% auto; background-position: center top;
  opacity: 0; transition: opacity 1200ms ease-out; }
.st-bg-map.on { opacity: 1; }
.st-bg-terr.on { opacity: .92; }   /* stacked terraces under the contour lines (terrace-tile.js) */
.st-bg-grain { position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) { .st-bg-map { transition: none; } }

/* light from the screens onto the surface around them */
.st--dusk .st-x { box-shadow: 0 26px 40px -22px rgba(0, 0, 0, .85), 0 0 60px -6px rgba(90, 255, 165, .22); }
.st--dusk .st-x-glance { box-shadow: 0 26px 40px -22px rgba(0, 0, 0, .85), 0 0 80px -4px rgba(90, 255, 165, .26), 0 -10px 70px -16px rgba(255, 185, 70, .18); }
.st--dusk .st-x-cab { box-shadow: 0 26px 40px -22px rgba(0, 0, 0, .85), 0 0 80px -4px rgba(255, 185, 70, .3); }
.st--dusk .st-x-ticket { filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45)) drop-shadow(0 2px 2px rgba(0, 0, 0, .25)) drop-shadow(0 0 26px rgba(255, 225, 160, .16)); }
.st--dusk .st-x-status { box-shadow: 0 0 40px -10px rgba(90, 255, 165, .14); }

/* ════ Two white cards, frosted (Luke, 2026-10-13: "the target and Practise this in white, a little transparent; keep the rest green") ════
   Both read as white glass over the dark: the map lines show through, blurred. The ticket keeps its punched notches (a mask, so the
   blur is cut to the same shape); everything else on the page is unchanged. */
.st--dusk .st-x-ticket {
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 9px, #000 10px) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 50%, transparent 9px, #000 10px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, transparent 9px, #000 10px) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 50%, transparent 9px, #000 10px) right / 51% 100% no-repeat;
  filter: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); }
.st--dusk .st-x-tip:not(.st-x-tip--quiet) { background: rgba(255, 255, 255, .8); border-color: rgba(255, 255, 255, .9); color: #2E3A2F;
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .7); }
.st--dusk .st-x-tip:not(.st-x-tip--quiet) b { color: #10241A; }
.st--dusk .st-x-tip:not(.st-x-tip--quiet) .st-x-quip { color: rgba(46, 58, 47, .62); }

/* ════ The Estimated Index card in white (Luke, 2026-10-19) ═══════════════════════════════════════════════════════════════════════════
   White glass with white contour lines of your most-played course (set from stats.js as --glance-contour). The instruments stay black with
   green readouts (form tiles, the trace); the Index in the ring is neon electric blue. */
.st--dusk .st-x-glance::after, .st--dusk .st-x-season::after, .st--dusk .st-x-home::after {
  background-image: linear-gradient(118deg, rgba(255, 255, 255, .65) 0%, rgba(255, 255, 255, 0) 32%), var(--glance-contour, none), linear-gradient(180deg, #E2ECE6 0%, #BCCEC4 100%);
  background-size: auto, 100% auto, auto; background-repeat: no-repeat, repeat-y, no-repeat; background-position: 0 0, center top, 0 0; }
.st--dusk .st-x-glance .st-x-k { color: rgba(18, 48, 31, .62); }
.st--dusk .st-x-glance .st-x-say { color: #10241A; }
.st--dusk .st-x-glance .st-x-sub { color: rgba(18, 40, 28, .68); }
.st--dusk .st-x-glance .st-x-chip { box-shadow: none; }
.st--dusk .st-x-glance .st-x-chip.is-good { background: rgba(30, 142, 78, .14); color: #167A40; }
.st--dusk .st-x-glance .st-x-chip.is-bad { background: rgba(194, 73, 47, .14); color: #B23C22; }
.st--dusk .st-x-glance .st-x-trace { background: #04100A; border-radius: 14px; padding: 8px 10px; box-sizing: border-box; height: 80px; }
/* Form tiles on the white Index card: solid black digital windows with green numbers (they were see-through, so the pale numbers vanished on white) */
.st--dusk .st-x-glance .st-x-form li { background: #04100A; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 2px 8px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .7); }
.st--dusk .st-x-glance .st-x-form .st-led { color: #7CFFB2; text-shadow: 0 0 1px #7CFFB2, 0 0 9px rgba(80, 255, 150, .55); }
.st--dusk .st-x-glance .st-x-form small { color: rgba(150, 255, 195, .72); }
.st--dusk .st-x-glance .st-x-k--in { color: #10241A; }

/* The season card ("The last 3 months" / This season / All time) gets the same white ridged glass; the three number windows stay black with green numbers. */
.st--dusk .st-x-season .st-x-k { color: rgba(18, 48, 31, .62); }
.st--dusk .st-x-season .st-x-say { color: #10241A; }
.st--dusk .st-x-season .st-seg { border-color: rgba(16, 36, 26, .28); background: rgba(255, 255, 255, .55); }
.st--dusk .st-x-season .st-seg > button { color: #10241A; }
.st--dusk .st-x-season .st-seg > button[aria-pressed="true"] { background: #10241A; color: #fff; }
.st--dusk .st-x-season .st-x-trio { background: #04100A; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 2px 8px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .7); }
.st--dusk .st-x-season .st-x-trio .st-led { color: #7CFFB2; text-shadow: 0 0 1px #7CFFB2, 0 0 9px rgba(80, 255, 150, .55); }
.st--dusk .st-x-season .st-x-trio small { color: rgba(150, 255, 195, .72); }
.st--dusk .st-x-season .st-x-trio div + div { border-left-color: rgba(140, 255, 190, .2); }
.st--dusk .st-x-season .st-hint, .st--dusk .st-x-season p { color: rgba(18, 40, 28, .72); }

/* Index card writing, crisper over the ridges (Luke, 2026-10-19: "the lines are blurred a little"): bolder, darker, a soft white panel behind the words */
.st--dusk .st-x-glance .st-x-hero-t { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 0 0 1px rgba(16, 36, 26, .06); }
.st--dusk .st-x-glance .st-x-say { font-weight: 750; color: #071A10; }
.st--dusk .st-x-glance .st-x-sub { font-weight: 600; color: #0C2A1B; }
.st--dusk .st-x-glance .st-x-k, .st--dusk .st-x-season .st-x-k { font-weight: 750; color: #0C2A1B; text-shadow: 0 0 4px rgba(255, 255, 255, .95), 0 0 9px rgba(255, 255, 255, .8); }
.st--dusk .st-x-glance .st-x-k--in { display: inline-block; padding: 3px 8px; border-radius: 8px; background: rgba(255, 255, 255, .72); text-shadow: none; }

/* "<Course> · most played" card: same white ridged glass as the Index card; the hole chart and the Toughest/Best windows stay black with green readouts. */
.st--dusk .st-x-home .st-x-k { font-weight: 750; color: #0C2A1B; text-shadow: 0 0 4px rgba(255, 255, 255, .95), 0 0 9px rgba(255, 255, 255, .8); }
.st--dusk .st-x-home > .st-x-say { display: inline-block; padding: 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, .72); font-weight: 750; color: #071A10; }
.st--dusk .st-x-home .st-x-holes { background: #04100A; border-radius: 14px; padding: 10px 8px 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 2px 8px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .7); }
.st--dusk .st-x-home .st-x-duo div { background: #04100A; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 2px 8px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .7); }
.st--dusk .st-x-home .st-x-duo .st-led { color: #7CFFB2; text-shadow: 0 0 1px #7CFFB2, 0 0 9px rgba(80, 255, 150, .55); }
.st--dusk .st-x-home .st-x-duo small, .st--dusk .st-x-home .st-x-duo span { color: rgba(150, 255, 195, .78); }
.st--dusk .st-x-home .st-x-more { background: #10241A; color: #fff; border-color: transparent; }


/* ════ "All the charts" (Luke, 2026-10-19; instrument cluster) ═══════════════════════════════════════════════════════════════════════════
   The bar and every card are the same white ridged glass as the Index card (st-x-glance); numbers and traces sit in black readout windows
   with green LED digits. The detailed charts further down read their colours from the --st-* tokens, so their dark ink is set once, below. */
.st--dusk .st-x-ddbar { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 12px 18px; -webkit-tap-highlight-color: transparent; }
.st--dusk .st-x-ddbar::-webkit-details-marker { display: none; }
.st--dusk .st-x-ddbar b { display: block; font: 650 17px/1.2 var(--sans); color: #10241A; }
.st--dusk .st-x-ddbar small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.3; color: rgba(18, 40, 28, .72); }
.st--dusk .st-x-ddbar .st-x-chev { flex: none; font-size: 24px; line-height: 1; color: #10241A; transition: transform 200ms ease; }
.st--dusk .st-x-dd[open] > .st-x-ddbar .st-x-chev { transform: rotate(90deg); }
.st--dusk .st-x-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 14px; }
.st--dusk .st-x-tile { margin: 0; padding: 14px 12px 12px; }
.st--dusk .st-x-wide { padding: 16px; }
.st--dusk .st-x-win { background: #04100A; border-radius: 14px; padding: 10px 12px 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 2px 8px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .7); }
.st--dusk .st-x-win svg { display: block; width: 100%; height: auto; }
.st--dusk .st-x-win-v { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; }
.st--dusk .st-x-win .st-led { color: #7CFFB2; text-shadow: 0 0 1px #7CFFB2, 0 0 9px rgba(80, 255, 150, .55); }
.st--dusk .st-x-win small { color: rgba(150, 255, 195, .72); font-size: 12px; }
.st--dusk .st-x-tile .st-x-win svg { height: 46px; }
.st--dusk .st-x-wide .st-x-win { margin-top: 10px; }
.st--dusk .st-x-wide .st-x-note { color: rgba(18, 40, 28, .72); }
.st--dusk .st-x-legend2 { margin: 10px 0 0; font-size: 13px; color: rgba(18, 40, 28, .8); }
.st--dusk .st-x-legend2 .sw { display: inline-block; width: 18px; height: 4px; border-radius: 2px; vertical-align: middle; }
.st--dusk .st-x-cluster > .st-x-dd { margin: 0 0 14px; }
.st--dusk .st-x-ddbody {
  --st-ink: #10241A; --st-ink-2: rgba(16, 36, 26, .84); --st-quiet: rgba(16, 36, 26, .68); --st-line: rgba(16, 36, 26, .14); --st-line-2: rgba(16, 36, 26, .26);
  --st-grid: rgba(16, 36, 26, .12); --st-axis-ink: rgba(16, 36, 26, .7); --st-surface: rgba(255, 255, 255, .6); --st-surface-2: rgba(255, 255, 255, .82);
  --st-accent: #8A6A1E; --st-brass: #8A6A1E; --st-brass-ink: #7A5A12; --st-brass-soft: rgba(138, 106, 30, .16); --st-mute: rgba(16, 36, 26, .32);
  display: grid; gap: 12px; padding: 14px 0 0; color: #10241A; }
.st--dusk .st-x-ddbody .st-g, .st--dusk .st-x-ddbody .st-g-blue, .st--dusk .st-x-ddbody .st-g-green, .st--dusk .st-x-ddbody .st-g-sand, .st--dusk .st-x-ddbody .st-g-fair {
  background: rgba(255, 255, 255, .74); border: 1px solid rgba(16, 36, 26, .14); box-shadow: 0 6px 18px -10px rgba(0, 20, 10, .45), inset 0 1px 0 #fff; }
.st--dusk .st-x-ddbody .st-sec { margin: 0; }
.st--dusk .st-x-ddbody .st-insight, .st--dusk .st-x-ddbody .st-body, .st--dusk .st-x-ddbody p { color: #10241A; }
.st--dusk .st-x-ddbody .st-quiet, .st--dusk .st-x-ddbody .st-sub, .st--dusk .st-x-ddbody .st-hint { color: rgba(16, 36, 26, .68); }
.st--dusk .st-x-ddbody .st-seg { border-color: rgba(16, 36, 26, .28); background: rgba(255, 255, 255, .6); }
.st--dusk .st-x-ddbody .st-seg > button { color: #10241A; }
.st--dusk .st-x-ddbody .st-seg > button[aria-pressed="true"] { background: #10241A; color: #fff; }
.st--dusk .st-x-ddbody .st-select { background-color: rgba(255, 255, 255, .85); color: #10241A; border-color: rgba(16, 36, 26, .3); }
.st--dusk .st-x-ddbody .st-link, .st--dusk .st-x-ddbody .st-tabletoggle { color: #7A5A12; text-decoration-color: rgba(122, 90, 18, .5); }
.st--dusk .st-x-ddbody .st-dot { stroke: #fff; }
.st--dusk .st-x-ddbody .st-cell--empty { stroke: rgba(16, 36, 26, .2); }
.st--dusk .st-x-ddbody .st-table th, .st--dusk .st-x-ddbody .st-table td { color: #10241A; border-color: rgba(16, 36, 26, .14); }
.st--dusk .st-x-ddbody h2, .st--dusk .st-x-ddbody h3, .st--dusk .st-x-ddbody h4, .st--dusk .st-x-ddbody .st-card-title { color: #10241A; }
.st--dusk .st-x-ddbody .st-kns { background: rgba(255, 255, 255, .74); border: 1px solid rgba(16, 36, 26, .14); border-radius: 18px; padding: 12px 10px; box-shadow: 0 6px 18px -10px rgba(0, 20, 10, .45), inset 0 1px 0 #fff; }
.st--dusk .st-x-ddbody .st-kn-v, .st--dusk .st-x-ddbody .st-kn-l { color: #10241A; }
.st--dusk .st-x-ddbody .st-kn-l { color: rgba(16, 36, 26, .7); }
/* every chart sits on its own white panel, so the contour lines behind never cut through the lines of a chart */
.st--dusk .st-x-ddbody > :not(.st-g):not(.st-kns) { background: rgba(255, 255, 255, .88); border: 1px solid rgba(16, 36, 26, .14); border-radius: 18px; padding: 14px 14px 12px; box-shadow: 0 6px 18px -10px rgba(0, 20, 10, .45), inset 0 1px 0 #fff; }
.st--dusk .st-x-ddbody > .st-g { background: rgba(255, 255, 255, .88); }
/* captions on the cluster cards get the same soft white panel the Index card's words have, so the contour lines never cut through them */
.st--dusk .st-x-wide .st-x-say, .st--dusk .st-x-wide .st-x-note, .st--dusk .st-x-legend2 { display: inline-block; padding: 4px 9px; border-radius: 9px; background: rgba(255, 255, 255, .72); }
.st--dusk .st-x-legend2 .sw { margin: 0 3px 0 0; }

/* ════ Every course (course tickets) ═════════════════════════════════════════════════════════════════════════════════════════════════════ */
.st--dusk .st-x-course { display: block; width: 100%; text-align: left; font: inherit; cursor: pointer; padding: 14px; -webkit-tap-highlight-color: transparent; }
.st--dusk .st-x-course-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.st--dusk .st-x-course-h .st-logo, .st--dusk .st-x-course-h .st-logo--none { flex: none; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(16, 36, 26, .2); display: inline-flex; align-items: center; justify-content: center; }
.st--dusk .st-x-course-h .st-logo > * { max-width: 100%; max-height: 100%; }
.st--dusk .st-x-course-t { flex: 1; min-width: 0; }
.st--dusk .st-x-course-t b { display: block; font: 650 16px/1.2 var(--sans); color: #10241A; }
.st--dusk .st-x-course-t small { display: block; margin-top: 2px; font-size: 12px; color: rgba(18, 40, 28, .72); }
.st--dusk .st-x-course-h .st-x-chev { flex: none; font-size: 22px; color: #10241A; }
.st--dusk .st-x-ctrio { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 6px; }
.st--dusk .st-x-ctrio small { display: block; margin-top: 2px; font-size: 11px; }
.st--dusk .st-x-cstrip { display: grid; grid-template-columns: repeat(var(--cols, 18), 1fr); gap: 3px; margin-top: 10px; }
.st--dusk .st-x-cstrip i { display: block; height: 16px; border-radius: 4px; }
.st--dusk .st-x-cstrip i.is-empty { background: rgba(120, 255, 180, .1); box-shadow: inset 0 0 0 1px rgba(120, 255, 180, .16); }
.st--dusk .st-x-cstrip-n { display: flex; justify-content: space-between; margin-top: 3px; }
.st--dusk .st-x-cstrip-n small { font-size: 10px; color: rgba(150, 255, 195, .6); }
.st--dusk .st-x-heatkey { padding: 14px 16px 12px; }
.st--dusk .st-x-heatbar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 4px; }
.st--dusk .st-x-heatstep { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.st--dusk .st-x-heatstep i { display: block; width: 100%; height: 14px; border-radius: 5px; }
.st--dusk .st-x-heatstep small { font-size: 11px; font-weight: 650; color: #10241A; text-align: center; line-height: 1.15; }
.st--dusk .st-x-heatends { display: flex; justify-content: space-between; margin: 8px 0 0; font-size: 12px; font-weight: 650; color: rgba(18, 40, 28, .8); }
.st--dusk .st-x-heatkey .st-x-note { color: rgba(18, 40, 28, .72); }
/* words on the course tickets and the key get the Index card's soft white panel, so the contour lines never cut through them */
.st--dusk .st-x-course-t { background: rgba(255, 255, 255, .72); padding: 5px 9px; border-radius: 10px; }
/* the three numbers on each course ticket, bigger (Luke, 2026-10-19), same green */
.st--dusk .st-x-ctrio { grid-template-columns: auto auto auto; justify-content: space-between; gap: 10px; }
.st--dusk .st-x-ctrio .st-led { font-size: 21px; line-height: 1; }
.st--dusk .st-x-ctrio small { margin-top: 5px; font-size: 12px; }
.st--dusk .st-x-heatstep i { outline: 1px solid rgba(16, 36, 26, .3); outline-offset: -1px; }

/* the course page: one white ridged dashboard card around white chart panels (the panels reuse the "All the charts" ink and panel rules) */
.st--dusk .st-x-dash { padding: 14px; }
.st--dusk .st-x-dash > .st-x-ddbody { padding: 0; }

/* the colour key: white ridged glass again, no panels behind the words; the words are bigger and bolder so they read on the ridges */
.st--dusk .st-x-heatkey .st-x-k { font-size: 14px; font-weight: 800; color: #071A10; }
.st--dusk .st-x-heatstep small { font-size: 14px; font-weight: 800; line-height: 1.15; color: #071A10; }
.st--dusk .st-x-heatkey .st-x-note { display: block; margin-top: 12px; font-size: 15px; font-weight: 700; line-height: 1.35; color: #071A10; }

/* the three dropdowns at the bottom of the story page sit one under another */
.st--dusk .st-x-dd { margin: 0 0 14px; }

/* ════ The Index dial lifted way off the card (Luke, 2026-10-19: "like it's almost coming off the screen") ═══════════════════════════════════
   A chrome collar and a thick stack of shadows (a tight contact one, then softer and softer ones far below) make it read as sitting well above the
   glass, a glossy dome highlight on its face, and it is a touch larger and lifted. Pure CSS: nothing moves, nothing pulses. */
.st--dusk .st-x-glance .st-x-hero { margin-top: 12px; padding-left: 10px; }
.st--dusk .st-x-glance .st-x-ring { isolation: isolate; transform: translateY(-3px) scale(1.07); z-index: 2;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .55), 0 6px 8px -2px rgba(0, 0, 0, .5), 0 16px 18px -6px rgba(0, 0, 0, .5), 0 30px 28px -10px rgba(0, 0, 0, .5), 0 50px 40px -20px rgba(0, 0, 0, .45); }
.st--dusk .st-x-glance .st-x-ring::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 215deg, #F7F9F8, #8C9893 16%, #EDF1EF 32%, #66736D 50%, #DDE4E1 68%, #8A9690 84%, #F7F9F8);
  -webkit-mask: radial-gradient(farthest-side, transparent 88%, #000 88.8%); mask: radial-gradient(farthest-side, transparent 88%, #000 88.8%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6), inset 0 -3px 5px rgba(0, 0, 0, .45), 0 1px 0 rgba(255, 255, 255, .7); }
.st--dusk .st-x-glance .st-x-ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 3;
  background: radial-gradient(ellipse 60% 42% at 34% 20%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 70%), radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, .35) 100%);
  box-shadow: inset 0 3px 3px rgba(255, 255, 255, .22), inset 0 -4px 6px rgba(0, 0, 0, .5); }

/* ════ Black cards (Luke, 2026-10-19: "black, black, black ... writing white, but the black contours must still show") ═══════════════════════
   The three dropdowns at the bottom of Stats (all the charts, detailed charts and tables, every course) are black glass: near-black base,
   the course's contour lines cut in as black grooves with a thin light edge (contour-tile.js 'dark'), white writing, green LED windows. */
.st--dusk .st-x-black::after {
  background-image: linear-gradient(118deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 34%), var(--glance-contour, none), linear-gradient(180deg, #1B221F 0%, #070A09 100%);
  background-size: auto, 100% auto, auto; background-repeat: no-repeat, repeat-y, no-repeat; background-position: 0 0, center top, 0 0; }
.st--dusk .st-x-black { color: #fff; border-color: rgba(255, 255, 255, .14); }
.st--dusk .st-x-black .st-x-k, .st--dusk .st-x-black .st-x-say, .st--dusk .st-x-black .st-x-note, .st--dusk .st-x-black b, .st--dusk .st-x-black .st-x-chev,
.st--dusk .st-x-black .st-x-heatstep small, .st--dusk .st-x-black .st-x-legend2 { color: #fff; text-shadow: none; background: none; }
.st--dusk .st-x-black small, .st--dusk .st-x-black .st-x-course-t small, .st--dusk .st-x-black .st-x-ddbar small { color: rgba(255, 255, 255, .72); }
.st--dusk .st-x-black .st-x-course-t, .st--dusk .st-x-black .st-x-wide .st-x-say, .st--dusk .st-x-black .st-x-wide .st-x-note, .st--dusk .st-x-black .st-x-heatkey .st-x-note { background: none; padding: 0; }
.st--dusk .st-x-black .st-x-win { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 2px 8px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .08); }
.st--dusk .st-x-black .st-x-win small { color: rgba(150, 255, 195, .78); }
.st--dusk .st-x-black .st-x-chip.is-good { background: rgba(93, 219, 138, .16); color: #5DDB8A; }
.st--dusk .st-x-black .st-x-chip.is-bad { background: rgba(240, 140, 116, .16); color: #F0866A; }
.st--dusk .st-x-black .st-x-heatstep i { outline-color: rgba(255, 255, 255, .35); }
/* the detailed charts: the same black, panels with the contour picture, the dark-ground ink the charts were drawn for */
.st--dusk .st-x-ddbody--dark { --st-ink: #FFFFFF; --st-ink-2: rgba(255, 255, 255, .84); --st-quiet: rgba(255, 255, 255, .7); --st-line: rgba(255, 255, 255, .14); --st-line-2: rgba(255, 255, 255, .26);
  --st-grid: rgba(255, 255, 255, .1); --st-axis-ink: rgba(255, 255, 255, .72); --st-surface: rgba(255, 255, 255, .06); --st-surface-2: rgba(255, 255, 255, .1);
  --st-accent: #E2C27A; --st-brass: #C9A14A; --st-brass-ink: #E2C27A; --st-brass-soft: rgba(201, 161, 74, .2); --st-mute: rgba(255, 255, 255, .3); color: #fff; }
.st--dusk .st-x-ddbody--dark > *, .st--dusk .st-x-ddbody--dark > .st-g, .st--dusk .st-x-ddbody--dark > .st-kns {
  background-color: #070A09; background-image: linear-gradient(118deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 34%), var(--glance-contour, none), linear-gradient(180deg, #1B221F 0%, #070A09 100%);
  background-size: auto, 100% auto, auto; background-repeat: no-repeat, repeat-y, no-repeat; background-position: 0 0, center top, 0 0;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08); color: #fff; }
.st--dusk .st-x-ddbody--dark .st-insight, .st--dusk .st-x-ddbody--dark .st-body, .st--dusk .st-x-ddbody--dark p, .st--dusk .st-x-ddbody--dark h2, .st--dusk .st-x-ddbody--dark h3,
.st--dusk .st-x-ddbody--dark h4, .st--dusk .st-x-ddbody--dark .st-card-title, .st--dusk .st-x-ddbody--dark .st-kn-v, .st--dusk .st-x-ddbody--dark .st-table th, .st--dusk .st-x-ddbody--dark .st-table td { color: #fff; }
.st--dusk .st-x-ddbody--dark .st-quiet, .st--dusk .st-x-ddbody--dark .st-sub, .st--dusk .st-x-ddbody--dark .st-hint, .st--dusk .st-x-ddbody--dark .st-kn-l { color: rgba(255, 255, 255, .72); }
.st--dusk .st-x-ddbody--dark .st-seg { border-color: rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .06); }
.st--dusk .st-x-ddbody--dark .st-seg > button { color: #fff; }
.st--dusk .st-x-ddbody--dark .st-seg > button[aria-pressed="true"] { background: #F4EFE4; color: #10241A; }
.st--dusk .st-x-ddbody--dark .st-select { background-color: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .26); }
.st--dusk .st-x-ddbody--dark .st-link, .st--dusk .st-x-ddbody--dark .st-tabletoggle { color: #E2C27A; text-decoration-color: rgba(226, 194, 122, .5); }
.st--dusk .st-x-ddbody--dark .st-dot { stroke: #070A09; }
.st--dusk .st-x-ddbody--dark .st-cell--empty { stroke: rgba(255, 255, 255, .2); }

/* ════ Readout power-up (Luke, 2026-10-20): bars and dots spring up once when a chart section opens; the traces are moved by playScopes() ═══ */
.st--dusk .st-x-play .st-x-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: st-bar-up .8s cubic-bezier(.2, .9, .3, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
.st--dusk .st-x-play .st-x-dot { transform-box: fill-box; transform-origin: 50% 100%; animation: st-dot-up .7s cubic-bezier(.2, .9, .3, 1) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes st-bar-up { 0% { transform: scaleY(0); } 55% { transform: scaleY(1.22); } 75% { transform: scaleY(.92); } 100% { transform: scaleY(1); } }
@keyframes st-dot-up { 0% { transform: translateY(26px) scale(.3); opacity: 0; } 60% { transform: translateY(-4px) scale(1.12); opacity: 1; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .st--dusk .st-x-play .st-x-bar, .st--dusk .st-x-play .st-x-dot { animation: none; } }

/* ════ Top cards: contour glass frame + their own dark-green digital screen (Luke, 2026-10-20) ═════════════════════════════════════════════
   The black contours are only the frame behind; the writing and numbers sit on the original screen with green LED digits. */
.st--dusk .st-x-framed { padding: 9px; }
.st--dusk .st-x-scr { position: relative; padding: 15px 14px 14px; border-radius: 18px; isolation: isolate;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .02) 28%, rgba(255, 255, 255, 0) 29%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    radial-gradient(130% 90% at 50% 0%, #0E2318 0%, #07140D 55%, #040B07 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 3px 10px rgba(0, 0, 0, .85), inset 0 0 40px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 255, 255, .12); }
.st--dusk .st-x-scr .st-x-k { color: rgba(140, 240, 185, .62); }
.st--dusk .st-x-scr .st-led { color: var(--x-phos); }
.st--dusk .st-x-scr .st-led--gold { color: var(--x-amber); }
.st--dusk .st-x-scr b:not(.st-led) { color: #fff; }
.st--dusk .st-x-black .st-x-scr small { color: rgba(255, 255, 255, .72); }
/* Index: the words beside the dial sit on a lime-olive panel, readable */
.st--dusk .st-x-glance .st-x-scr .st-x-hero-t { background: linear-gradient(180deg, #2B5B3D, #1B4029); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: none; -webkit-backdrop-filter: none; }
.st--dusk .st-x-glance .st-x-scr .st-x-hero-t .st-x-say { color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
.st--dusk .st-x-glance .st-x-scr .st-x-hero-t .st-x-sub { color: rgba(255, 255, 255, .86); font-weight: 600; text-shadow: 0 1px 1px rgba(0, 0, 0, .3); }
.st--dusk .st-x-glance .st-x-scr .st-x-hero-t .st-x-chip { background: #0B1F10; color: #7CFFB2; }
/* Your one thing: "Practise this" on the same olive */
.st--dusk .st-x-scr .st-x-tip:not(.st-x-tip--quiet) { background: linear-gradient(180deg, #2B5B3D, #1B4029); border-color: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.st--dusk .st-x-scr .st-x-tip:not(.st-x-tip--quiet) b { color: #fff; }
.st--dusk .st-x-scr .st-x-tip:not(.st-x-tip--quiet) .st-x-quip { color: rgba(255, 255, 255, .66); }

/* Detailed charts and tables: every chart card is black contour glass with its plot on its own green screen (score spread was white) */
.st--dusk .st-x-ddbody--dark > .st-pair.st-pair { background: none; border: 0; box-shadow: none; padding: 0; }
.st--dusk .st-x-ddbody--dark .st-card.st-chart { background-color: #070A09; background-image: linear-gradient(118deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 34%), var(--glance-contour, none), linear-gradient(180deg, #1B221F 0%, #070A09 100%);
  background-size: auto, 100% auto, auto; background-repeat: no-repeat, repeat-y, no-repeat; background-position: 0 0, center top, 0 0;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08); color: #fff; }
.st--dusk .st-x-ddbody--dark .st-card.st-chart .st-plot { border-radius: 14px; padding: 8px 6px 4px;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, rgba(0, 0, 0, 0) 1px 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 1px, rgba(0, 0, 0, 0) 1px 3px), radial-gradient(130% 90% at 50% 0%, #0E2318 0%, #07140D 55%, #040B07 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 2px 8px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .08); }
.st--dusk .st-x-ddbody--dark .st-card.st-chart .st-card-title, .st--dusk .st-x-ddbody--dark .st-card.st-chart .st-sub, .st--dusk .st-x-ddbody--dark .st-card.st-chart .st-insight { color: #fff; }

/* ════ Index + Last round: contours behind everything, the small instruments keep their own screens (Luke, 2026-10-20) ═════════════════════════ */
.st--dusk .st-x-open .st-led { color: var(--x-phos); }
.st--dusk .st-x-open .st-led--gold { color: var(--x-amber); }
.st--dusk .st-x-open .st-x-board li, .st--dusk .st-x-open .st-x-form li, .st--dusk .st-x-open .st-x-scope, .st--dusk .st-x-open .st-x-win, .st--dusk .st-x-open .st-x-trio {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    radial-gradient(130% 90% at 50% 0%, #0E2318 0%, #07140D 55%, #040B07 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 2px 8px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .1); }
.st--dusk .st-x-open .st-x-board small { color: rgba(255, 255, 255, .8); }
.st--dusk .st-x-open .st-x-board .st-x-usual { color: rgba(255, 255, 255, .6); }
/* the dial sits clear of the label above it (its chrome collar and lift used to run over "Estimated Index") */
.st--dusk .st-x-glance.st-x-open .st-x-hero { margin-top: 30px; }
.st--dusk .st-x-glance.st-x-open .st-x-hero-t { background: linear-gradient(180deg, #2B5B3D, #1B4029); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: none; -webkit-backdrop-filter: none; }
.st--dusk .st-x-glance.st-x-open .st-x-hero-t .st-x-say { color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
.st--dusk .st-x-glance.st-x-open .st-x-hero-t .st-x-sub { color: rgba(255, 255, 255, .86); font-weight: 600; text-shadow: 0 1px 1px rgba(0, 0, 0, .3); }
.st--dusk .st-x-glance.st-x-open .st-x-hero-t .st-x-chip { background: #0B1F10; color: #7CFFB2; }

/* Your one thing: black contours behind it too (Luke, 2026-10-20); the gold readout and the bars keep their own digital screens so no line
   runs through a number, and "Practise this" stays on the olive panel */
.st--dusk .st-x-one.st-x-open .st-x-leak { align-items: center; }
.st--dusk .st-x-one.st-x-open .st-x-leak .st-led, .st--dusk .st-x-one.st-x-open .st-x-bars {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    radial-gradient(130% 90% at 50% 0%, #0E2318 0%, #07140D 55%, #040B07 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 2px 8px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .1); border-radius: 14px; }
.st--dusk .st-x-one.st-x-open .st-x-leak .st-led { flex: none; padding: 8px 12px 6px; }
.st--dusk .st-x-one.st-x-open .st-x-bars { padding: 12px 14px; }
.st--dusk .st-x-one.st-x-open .st-x-leak .st-x-say { padding-bottom: 0; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); }
.st--dusk .st-x-one.st-x-open .st-x-tip:not(.st-x-tip--quiet) { background: linear-gradient(180deg, #2B5B3D, #1B4029); border-color: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.st--dusk .st-x-one.st-x-open .st-x-tip:not(.st-x-tip--quiet) b { color: #fff; }
.st--dusk .st-x-one.st-x-open .st-x-tip:not(.st-x-tip--quiet) .st-x-quip { color: rgba(255, 255, 255, .66); }
.st--dusk .st-x-one.st-x-open .st-x-note { color: rgba(255, 255, 255, .78); text-shadow: 0 1px 3px rgba(0, 0, 0, .9); }

/* Every round / How your Index works: black contour bars, same as the dropdown bars (Luke, 2026-10-20) */
.st--dusk .st-x-doorbar { width: 100%; box-sizing: border-box; border: 0; text-align: left; font: inherit; }
.st--dusk .st-x-doorbar b { color: #fff; }
.st--dusk .st-x-doorbar .st-x-chev { color: #fff; }
.st--dusk .st-x-doorbars { margin-top: 4px; }

/* ════ The pages behind the bottom bars (Luke, 2026-10-20): black contour glass, numbers on dark-green screens ═══════════════════════════ */
.st--dusk .st-x-subpage { padding: 0; display: grid; gap: 14px; }
.st--dusk .st-x-subpage .st-tip { background: #07160E; color: #fff; border: 1px solid rgba(255, 255, 255, .3); box-shadow: 0 8px 22px rgba(0, 0, 0, .7); }
/* rounds, rows and tables sit on the digital screen, not on the contour lines */
.st--dusk .st-x-subpage .st-score-item, .st--dusk .st-x-subpage .st-table, .st--dusk .st-x-subpage .st-kns, .st--dusk .st-x-subpage .st-peek,
.st--dusk .st-x-subpage .st-course-facts, .st--dusk .st-x-subpage .st-list, .st--dusk .st-x-subpage .st-road-list {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    radial-gradient(130% 90% at 50% 0%, #0E2318 0%, #07140D 55%, #040B07 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 2px 8px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .1); border-radius: 14px; }
.st--dusk .st-x-subpage .st-scores { display: grid; gap: 8px; margin-top: 10px; }
.st--dusk .st-x-subpage .st-score-item { border: 0; padding: 2px 4px; overflow: hidden; }
.st--dusk .st-x-subpage .st-score, .st--dusk .st-x-subpage .st-score * { color: #fff; }
.st--dusk .st-x-subpage .st-score-meta, .st--dusk .st-x-subpage .st-score-topar, .st--dusk .st-x-subpage .st-score-k { color: rgba(255, 255, 255, .7); }
.st--dusk .st-x-subpage .st-score-gross { color: #FFD97A; }
.st--dusk .st-x-subpage .st-score-body { color: #fff; }
.st--dusk .st-x-subpage .st-legendline, .st--dusk .st-x-subpage .st-legendline span { color: rgba(255, 255, 255, .78); }
.st--dusk .st-x-subpage .st-course-facts { padding: 10px 12px; margin-top: 10px; }
.st--dusk .st-x-subpage .st-hint, .st--dusk .st-x-subpage .st-note { color: rgba(255, 255, 255, .72); }
.st--dusk .st-x-subpage .st-pb { color: #FFE9A8; }
/* plain blocks (text cards, callouts, the single rounds panel) beat the white card rule: same black contour glass as the chart cards */
.st--dusk .st-x-ddbody--dark.st-x-subpage > *:not(.st-pair) {
  background-color: #070A09; background-image: linear-gradient(118deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 34%), var(--glance-contour, none), linear-gradient(180deg, #1B221F 0%, #070A09 100%);
  background-size: auto, 100% auto, auto; background-repeat: no-repeat, repeat-y, no-repeat; background-position: 0 0, center top, 0 0;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08); color: #fff;
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.st--dusk .st-x-subpage .st-diffs, .st--dusk .st-x-subpage .st-callout ul, .st--dusk .st-x-subpage .st-strip-row {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    radial-gradient(130% 90% at 50% 0%, #0E2318 0%, #07140D 55%, #040B07 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 2px 8px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .1); border-radius: 14px; }
.st--dusk .st-x-subpage .st-diffs { list-style: none; margin: 10px 0 0; padding: 6px 10px; }
.st--dusk .st-x-subpage .st-callout ul { margin: 10px 0 0; padding: 12px 14px 12px 30px; }
.st--dusk .st-x-subpage .st-diffs li, .st--dusk .st-x-subpage .st-diffs li *, .st--dusk .st-x-subpage .st-callout li, .st--dusk .st-x-subpage .st-callout-title { color: #fff; }
.st--dusk .st-x-subpage .st-diff-date, .st--dusk .st-x-subpage .st-diff-pos { color: rgba(255, 255, 255, .68); }
.st--dusk .st-x-subpage .st-diffs li.is-dropped .st-diff-val, .st--dusk .st-x-subpage .st-diffs li.is-dropped .st-diff-course { color: rgba(255, 255, 255, .6); }
.st--dusk .st-x-subpage .st-diff-val { color: #FFD97A; }
.st--dusk .st-x-subpage .st-diff-tag { background: rgba(255, 217, 122, .18); color: #FFD97A; }

.st--dusk .st-x-subpage .st-fact, .st--dusk .st-x-subpage .st-label, .st--dusk .st-x-subpage .st-filter-text h2, .st--dusk .st-x-subpage .st-section-title { color: #fff; }
.st--dusk .st-x-subpage .st-label { color: rgba(140, 240, 185, .8); }
.st--dusk .st-x-subpage .st-select { background-color: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .26); }

/* the contours run up behind the title bar too, so the green ground fills the whole screen (Luke, 2026-10-20) */
.st--dusk > .st-bg { top: calc(var(--st-bg-head, 0px) * -1); }
.screen.dusk:has(> #app-stats, > .st--dusk) > .topbar, .screen.dusk:has(.st--dusk) .topbar { position: relative; z-index: 2; }

/* Your one thing: no ghost of unlit segments behind the 6.6 (Luke, 2026-10-20) */
.st--dusk .st-x-one .st-led::before { content: none; }

/* This season: black contours behind it; the three numbers keep their own digital screen */
.st--dusk .st-x-season.st-x-open .st-x-k { color: rgba(140, 240, 185, .82); }
.st--dusk .st-x-season.st-x-open .st-x-trio small { color: rgba(255, 255, 255, .78); }

/* ════ Your next target: a leather ticket (Luke, 2026-10-20) ═══════════════════════════════════════════════════════════════════════════
   The same olive green as the rest of the page, as real hide: pebble grain, a lit top-left, darkened edges. The tear-off line is now the
   stitching: cream thread in a pressed groove. The punched notches stay (the mask), the writing sits on top. */
.st--dusk .st-x-ticket {
  --hide-hi: #4B7A47; --hide-mid: #2B5B3D; --hide-lo: #15361F; --thread: rgba(244, 232, 190, .92);
  color: #F4EFE4; -webkit-backdrop-filter: none; backdrop-filter: none;
  background:
    radial-gradient(130% 90% at 18% -12%, rgba(255, 255, 255, .24), transparent 55%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .3)),
    radial-gradient(150% 130% at 50% 50%, transparent 55%, rgba(0, 0, 0, .42)),
    url("/img/leather-grain.webp") 0 0 / 300px 300px,
    radial-gradient(120% 140% at 15% 0%, var(--hide-hi) 0%, var(--hide-mid) 48%, var(--hide-lo) 100%);
  background-blend-mode: normal, normal, normal, overlay, normal;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -2px 0 rgba(0, 0, 0, .35); }
/* the stitching where it tears off: thread sits in a pressed groove, a little shadow under each stitch */
.st--dusk .st-x-ticket::before { top: 10px; bottom: 10px; right: 92px; width: 3px; border: 0; border-radius: 2px;
  background: repeating-linear-gradient(180deg, var(--thread) 0 7px, transparent 7px 12px);
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)) drop-shadow(-1px 0 0 rgba(0, 0, 0, .35)); }
.st--dusk .st-x-ticket-k, .st--dusk .st-x-ticket-t, .st--dusk .st-x-ticket-n { text-shadow: none; }
/* the writing is printed on, not raised: flat ink with a hair of bleed, and the hide's grain shows through it (the overlay below) */
.st--dusk .st-x-ticket-k { color: #E3C77E; opacity: .92; }
.st--dusk .st-x-ticket-t { color: #FFF8E6; opacity: .96; }
.st--dusk .st-x-ticket-n { color: #E8CD84; opacity: .94; }
.st--dusk .st-x-ticket::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: url("/img/leather-grain.webp") 0 0 / 300px 300px; mix-blend-mode: multiply; opacity: .42; }

/* no ghost of unlit segments behind any readout (Luke, 2026-10-20): a number is just the number */
.st--dusk .st-led::before { content: none; }

/* ════ Estimated Index words go back to the green digital panel (Luke, 2026-10-24; the leather there is removed). "Practise this" is a dark-green
   digital screen with amber writing. ═════════════════════════════════════════════════════════════════════════════════════════════ */
.st--dusk .st-x-one .st-x-tip.st-x-tip:not(.st-x-tip--quiet) { position: relative; overflow: hidden; border: 0; color: #FFD27A; -webkit-backdrop-filter: none; backdrop-filter: none;
  font: 600 12.5px/1.45 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .05em; text-transform: uppercase; text-shadow: 0 0 8px rgba(255, 170, 40, .5);
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px),
    radial-gradient(130% 90% at 50% 0%, #0E2318 0%, #07140D 55%, #040B07 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 3px 10px rgba(0, 0, 0, .85), inset 0 0 30px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .12); }
.st--dusk .st-x-one .st-x-tip:not(.st-x-tip--quiet) b { color: #FFE2A6; }
.st--dusk .st-x-one .st-x-tip .st-x-quip { color: rgba(255, 210, 122, .75); text-transform: none; letter-spacing: .02em; text-shadow: none; }

/* ════ Black leather on the detailed charts page (Luke, 2026-10-24): same hide and gold stitching as the hole-in-one card ═══════════════════ */
.st--dusk .st-x-ddbody--dark > .st-leather, .st--dusk .st-x-ddbody--dark > .st-g.st-leather, .st--dusk .st-x-ddbody--dark > .st-pair.st-leather, .st--dusk .st-x-ddbody--dark .st-card.st-chart.st-leather {
  position: relative; border: 0; color: #fff; background-color: #0B0B0A; isolation: isolate; padding: 28px 26px 24px;
  /* even dark hide, no corner glow (Luke, 2026-10-25): the same colour all the way across */
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .3)),
    url("/img/leather-grain.webp"),
    linear-gradient(180deg, #1B1A18, #0E0E0D);
  background-size: auto, 300px 300px, auto; background-repeat: no-repeat, repeat, no-repeat; background-position: 0 0;
  background-blend-mode: normal, overlay, normal;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -2px 3px rgba(0, 0, 0, .5); }
/* the black-contour inlay: a recessed panel set into the leather, so the frame reads thick and the page has levels (Luke, 2026-10-25) */
.st--dusk .st-x-ddbody--dark > .st-leather::before, .st--dusk .st-x-ddbody--dark .st-card.st-chart.st-leather::before { content: ""; position: absolute; inset: 14px; z-index: -1; border-radius: 12px; pointer-events: none;
  background-color: #070A09;
  background-image: linear-gradient(118deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 34%), var(--glance-contour, none), linear-gradient(180deg, #151A18 0%, #070A09 100%);
  background-size: auto, 100% auto, auto; background-repeat: no-repeat, repeat-y, no-repeat; background-position: 0 0, center top, 0 0;
  box-shadow: inset 0 3px 9px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(0, 0, 0, .85), 0 1px 0 rgba(255, 255, 255, .12); }
/* no dashed stitching on the chart sections (Luke, 2026-10-25: "too much stitching"); the contour inlay is the detail */
.st--dusk .st-x-ddbody--dark > .st-leather::after, .st--dusk .st-x-ddbody--dark .st-card.st-chart.st-leather::after { content: none; }
.st--dusk .st-x-ddbody--dark > .st-leather .st-kicker, .st--dusk .st-x-ddbody--dark > .st-leather .st-card-title { color: #E6C98A; }

/* ════ The trophy wall (Luke, 2026-10-24; kept 2026-10-25 with the honours board hung beneath the shelf): oak planks, a lit glass shelf with real cups ═ */
.st--dusk .st-x-wall { position: relative; overflow: hidden; border: 0; padding: 14px 12px 14px; border-radius: 16px;
  background: url("/img/wood-planks.svg") 60% 0 / 130% auto; box-shadow: 0 18px 34px -12px rgba(0, 0, 0, .8); }
.st--dusk .st-x-wall::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .5)); }
.st--dusk .st-x-wall > * { position: relative; }
.st--dusk .st-x-wall .st-x-k { color: #F6E4A0; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.st--dusk .st-x-wallbay { display: flex; justify-content: space-around; align-items: flex-end; min-height: 128px; padding: 12px 4px 0; }
.st--dusk .st-x-wallbay::before { content: ""; position: absolute; left: 4%; right: 4%; top: 0; height: 120px; background: radial-gradient(60% 100% at 50% 0%, rgba(255, 232, 170, .55), transparent 72%); pointer-events: none; }
.st--dusk .st-x-cup { position: relative; z-index: 1; display: block; }
.st--dusk .st-x-cup img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 5px rgba(0, 0, 0, .6)); }
.st--dusk .st-x-cup::after { content: ""; position: absolute; left: -8%; right: -8%; bottom: -4px; height: 10px; border-radius: 50%; background: radial-gradient(50% 50%, rgba(0, 0, 0, .75), transparent 70%); z-index: -1; }
.st--dusk .st-x-wallshelf { height: 12px; margin: 0 4px; background: linear-gradient(180deg, rgba(240, 255, 250, .9), rgba(140, 205, 180, .3)); box-shadow: 0 1px 0 #fff, 0 0 18px rgba(255, 226, 160, .55), 0 10px 14px rgba(0, 0, 0, .6); }
/* ════ The honours board (Luke, 2026-10-25): what a club actually hangs, in place of the cups and brass plates that took too much room. ════════
   One varnished mahogany panel with long grain, a moulded frame with a gilt bead, gold-leaf serif lettering, one ruled line per personal best. */
.st--dusk .st-x-honours { position: relative; overflow: hidden; margin-top: 14px; padding: 16px 18px 10px; border-radius: 5px;
  background:
    linear-gradient(118deg, rgba(255, 225, 180, .1) 0%, rgba(255, 225, 180, 0) 32%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .3) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='300'><filter id='g' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='0.003 0.11' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 .12  0 0 0 0 .03  0 0 0 0 0  0 0 0 1.8 -.6'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>") 0 0 / 100% 100%,
    linear-gradient(180deg, #5A2410 0%, #46190A 45%, #3A1307 100%);
  box-shadow: inset 0 0 0 4px #2A0E04, inset 0 0 0 5px rgba(222, 178, 92, .7), inset 0 0 0 8px #3C1608, inset 0 0 0 9px rgba(0, 0, 0, .55),
    inset 0 0 30px rgba(0, 0, 0, .55), 0 18px 30px -14px rgba(0, 0, 0, .85); }
.st--dusk .st-x-honours::before, .st--dusk .st-x-honours::after { content: none; }
.st--dusk .st-x-hb-title { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font: 700 15px/1 Georgia, "Times New Roman", serif; letter-spacing: .34em; text-indent: .34em; text-transform: uppercase; color: #F0CC6E;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .85), 0 -1px 0 rgba(255, 238, 190, .2); }
.st--dusk .st-x-hb-title::before, .st--dusk .st-x-hb-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(222, 178, 92, 0), rgba(222, 178, 92, .75)); box-shadow: 0 1px 0 rgba(0, 0, 0, .6); }
.st--dusk .st-x-hb-title::after { background: linear-gradient(90deg, rgba(222, 178, 92, .75), rgba(222, 178, 92, 0)); }
/* one shared set of columns down the whole board (wording | name | number), so every name sits in the middle of the gap and they line up */
.st--dusk .st-x-hb { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr) auto; }
.st--dusk .st-x-hb li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
.st--dusk .st-x-hb li + li { border-top: 1px solid rgba(222, 178, 92, .2); box-shadow: inset 0 1px 0 rgba(0, 0, 0, .35); }
.st--dusk .st-x-hb-row { grid-column: 1 / -1; width: 100%; min-height: 44px; display: grid; grid-template-columns: subgrid; align-items: center; column-gap: 12px; padding: 6px 2px;
  border: 0; background: none; color: inherit; font: inherit; text-align: left; -webkit-tap-highlight-color: transparent; }
button.st-x-hb-row { cursor: pointer; }
button.st-x-hb-row:active { background: rgba(255, 220, 150, .07); }
button.st-x-hb-row:focus-visible { outline: 2px solid #F0CC6E; outline-offset: 2px; }
.st--dusk .st-x-hb-l, .st--dusk .st-x-hb-v { color: #EBC468; text-shadow: 0 1px 0 rgba(0, 0, 0, .85), 0 -.5px 0 rgba(255, 240, 195, .25); }
.st--dusk .st-x-hb-l { display: block; min-width: 0; font: 700 12.5px/1.2 Georgia, "Times New Roman", serif; letter-spacing: .1em; text-transform: uppercase; }
.st--dusk .st-x-hb-l small { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: italic 400 12px/1.25 Georgia, "Times New Roman", serif;
  letter-spacing: 0; text-transform: none; color: rgba(235, 200, 130, .68); }
.st--dusk .st-x-hb-who { grid-column: 2; justify-self: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: italic 700 11.5px/1.2 Georgia, "Times New Roman", serif;
  color: #EBC468; text-shadow: 0 1px 0 rgba(0, 0, 0, .85), 0 -.5px 0 rgba(255, 240, 195, .25); }   /* the board's own gold, a step smaller than the titles */
.st--dusk .st-x-hb-v { grid-column: 3; justify-self: end; font: 700 23px/1 Georgia, "Times New Roman", serif; font-variant-numeric: lining-nums tabular-nums; }
/* Fairways hit and Greens in reg. stand one above the other inside one leather frame and one inlay, like every other section, so nothing runs over the border */
.st--dusk .st-x-ddbody--dark > .st-pair.st-leather { grid-template-columns: minmax(0, 1fr); gap: 20px; border-radius: 18px; }
/* inside a leather section the chart's own glass card steps aside, so the leather shows around the chart window */
.st--dusk .st-x-ddbody--dark > .st-leather .st-card, .st--dusk .st-x-ddbody--dark > .st-leather .st-card.st-flat, .st--dusk .st-x-ddbody--dark > .st-leather.st-card .st-plot-wrap { background: none; border: 0; box-shadow: none; }

/* ════ The Estimated Index as a car dash (Luke, 2026-10-25; drawn by js/index-dash.js): no bezel round the dial, the number lifted with a shadow,
   the plate and sunset line under it; the panel beside it as a dash readout. ═══ */
.st--dusk .st-x-ring.st-dash { width: 160px; height: 160px; background: none; box-shadow: none; border: 0; }
.st--dusk .st-x-ring.st-dash::before, .st--dusk .st-x-ring.st-dash::after { content: none; }
.st--dusk .st-x-ring.st-dash .st-x-ring-n { padding-bottom: 14px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .8)) drop-shadow(0 0 6px rgba(0, 0, 0, .5)); }
.st--dusk .st-x-ring.st-dash .st-x-ring-n .st-led { font-size: 40px; }   /* bigger once the "to your low" plate came off (Luke, 2026-10-25; was 30, 26 on small phones) */
.st-dash-cap { position: absolute; left: 0; right: 0; top: 66%; display: grid; justify-items: center; gap: 3px; font: 600 9px/1.2 system-ui, -apple-system, sans-serif; color: #CFE9DD; pointer-events: none; }
.st-dash-sun { opacity: .85; }
.st--dusk .st-x-hero-t.st-dash-side { background: #040807; border: 0; border-radius: 14px; padding: 12px; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(63, 240, 176, .18); }
.st--dusk .st-x-hero-t.st-dash-side::before, .st--dusk .st-x-hero-t.st-dash-side::after { content: none; }
.st-dash-turn { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid rgba(63, 240, 176, .55); border-radius: 8px; background: rgba(14, 40, 32, .55); }
.st-dash-turn svg { width: 26px; height: 26px; flex: none; fill: none; stroke: #F3F7F5; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.st-dash-turn b { display: block; font: 800 20px/1 system-ui, -apple-system, sans-serif; color: #F3F7F5; }
.st-dash-turn span { display: block; margin-top: 3px; font: 600 11px/1.2 system-ui, -apple-system, sans-serif; color: #BFE3D3; }
.st-dash-fuel-k { display: flex; justify-content: space-between; margin: 12px 2px 6px; font: 700 11px/1 system-ui, -apple-system, sans-serif; color: #CFE9DD; }
.st-dash-fuel-k span:last-child { color: #8FC9B2; }
.st-dash-fuel { height: 5px; border-radius: 3px; background: #17231F; overflow: hidden; }
.st-dash-fuel i { display: block; height: 100%; background: linear-gradient(90deg, #1BC79A, #3FF0B0); box-shadow: 0 0 6px rgba(63, 240, 176, .6); }
.st.st--dusk .st-x-glance .st-x-hero-t.st-dash-side { background: #040807; background-image: none; }
.st-dash-turn span { white-space: nowrap; font-size: 10.5px; }
.st-dash-turn { gap: 7px; padding: 9px 8px; }
.st-dash-turn svg { width: 22px; height: 22px; }
.st-dash-turn span { font-size: 10px; }
.st-dash-turn > div { min-width: 0; }
.st-dash-turn span { white-space: normal; font-size: 10.5px; line-height: 1.25; }
.st-dash-turn span + span { margin-top: 0; color: #8FC9B2; }

.st--dusk .st-x-peerlist li { grid-template-columns: 88px 1fr 46px; row-gap: 2px; }
.st--dusk .st-x-peerlist li > small { grid-column: 1 / -1; font: 500 11px var(--sans); color: rgba(255, 255, 255, .55); }
