/* Black-Diamond web app. The palette is the poster's own, sampled from assets/black-diamond-premium-membership.png: a near-black ground, one gold, white headings and
   grey body text. Green and red are used only for a result (landed / missed), never for decoration. No inline styles anywhere (the security policy forbids them). */
:root {
  --bg: #080808; --card: #111111; --raised: #161616; --line: #262626; --line-gold: #3a3015;
  --gold: #f0c440; --gold-dim: #967622;
  --ink: #ffffff; --muted: #bababa; --faint: #808080;
  --landed: #5fd38a; --missed: #ff8a80;
  --radius: 10px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 "DejaVu Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
/* a faint lattice of facets behind everything, fading out down the page: the diamond's cut, felt rather than seen */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .045; background: url(/static/facets.svg) 0 0 / 96px 96px;
               -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%); }
main { max-width: 600px; margin: 0 auto; padding: 0 16px 24px; }
h1, h2, h3, p { margin: 0; }

/* header: the diamond from the poster, lit from above, with the brand on it */
.hero { position: relative; margin: 0 -16px; height: clamp(170px, 52vw, 270px); overflow: hidden; border-bottom: 1px solid var(--gold-dim); }
.hero .art { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
/* a black and white football, faded into the photograph and centred behind the diamond: white parts lighten it, black parts darken it, at a quarter strength, so it is felt more than seen */
.hero .ball { position: absolute; z-index: 0; height: 165%; width: auto; left: 50%; top: -30%; transform: translateX(-50%); opacity: .24; filter: grayscale(1); pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at 50% 0%, rgba(240,196,64,.28), rgba(240,196,64,0) 62%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(8,8,8,0) 18%, rgba(8,8,8,.78) 68%, #080808 100%); }
.brand { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; text-align: center; }
.brand .mark { display: block; margin: 0 auto 4px; width: 34px; height: auto; filter: drop-shadow(0 0 8px rgba(240,196,64,.55)); }
.brand h1 { font-size: clamp(26px, 8.4vw, 38px); font-weight: 800; letter-spacing: .08em; line-height: 1.05; color: var(--gold);
            background: linear-gradient(180deg, #fff6cf 0%, #f0c440 52%, #b98f26 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand .strap { margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .42em; padding-left: .42em; }

/* navigation: sticks to the top of the screen while the page scrolls */
.tabs { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0 -16px; padding: 0 12px; background: rgba(8,8,8,.94);
        -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 11.5px; letter-spacing: .08em;
       text-transform: uppercase; padding: 13px 2px 11px; cursor: pointer; transition: color .15s, border-color .15s; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--gold); border-bottom-color: var(--gold); background: linear-gradient(to top, rgba(240,196,64,.10), rgba(240,196,64,0)); }
.tab:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; border-radius: 4px; }

.pagehead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 18px 0 4px; }
.sub { color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: .26em; }
.updated { color: var(--faint); font-size: 12px; white-space: nowrap; }

.note { margin: 10px 0 2px; padding: 8px 12px; border: 1px solid var(--line-gold); border-radius: var(--radius); color: var(--muted); font-size: 13px; background: var(--card); }

/* section headings: a label and a hairline */
h2 { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
h2::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold-dim), rgba(150,118,34,0)); }
/* every card carries a faint gold light along its top edge */
.game, .leg, .sum, .rgroup, .fcard, .headline, .gate, .note, .chip { box-shadow: inset 0 1px 0 rgba(240,196,64,.10); }
.pmeta { margin: -6px 0 10px; color: var(--faint); font-size: 12px; }
.day { margin: 16px 0 0; color: var(--muted); font-size: 13px; }

/* live scores */
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 4px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 4px 8px; text-align: center; }
.chip b { display: block; font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.chip small { color: var(--faint); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.chip.landed b { color: var(--landed); } .chip.missed b { color: var(--missed); } .chip.live b { color: var(--gold); }

/* the running tally under the live boxes */
.tally { margin: 12px 0 4px; padding: 11px 14px 10px; background: var(--card); border: 1px solid var(--line-gold); border-radius: var(--radius); box-shadow: inset 0 1px 0 rgba(240,196,64,.10); }
.tallyhead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.trow { display: grid; grid-template-columns: 7.6em 1fr auto; gap: 0 8px; align-items: baseline; font-size: 14px; margin-top: 7px; }
.tl { color: var(--muted); font-size: 12.5px; letter-spacing: .04em; }
.tv { color: var(--muted); font-variant-numeric: tabular-nums; }
.tw { color: var(--landed); } .tx { color: var(--missed); }
.tr { text-align: right; font-variant-numeric: tabular-nums; }
.tsmall { color: var(--faint); font-size: 11.5px; letter-spacing: .06em; margin-top: 1px; }
.tallynote { margin-top: 9px; color: var(--faint); font-size: 12px; line-height: 1.45; }

.game { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold-dim); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; }
.game.landed { border-left-color: var(--landed); } .game.missed { border-left-color: var(--missed); }
.game.live { border-left-color: var(--gold); } .game.ns, .game.off, .game.done { border-left-color: var(--line); }
.teams { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; align-items: center; }
.team { font-weight: 700; overflow-wrap: anywhere; }
.goals { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 21px; text-align: right; min-width: 1.5ch; }
.meta { grid-column: 1 / -1; color: var(--faint); font-size: 12.5px; }
.meta .badge { display: inline-block; padding: 1px 9px; border-radius: 4px; background: var(--gold); color: #080808; font-weight: 800; letter-spacing: .06em; }
.picks { list-style: none; margin: 10px 0 0; padding: 8px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.pick { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.pick .what { color: var(--muted); }
.pick .mark { font-weight: 700; white-space: nowrap; font-size: 12.5px; letter-spacing: .03em; }
.pick.landed .mark { color: var(--landed); } .pick.missed .mark { color: var(--missed); }
.pick.live .mark { color: var(--gold); } .pick.ns .mark, .pick.off .mark, .pick.unknown .mark { color: var(--faint); }

/* today's cards */
.rec { margin: 20px 0 2px; font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.qual { color: var(--faint); font-size: 12.5px; margin: 0 0 8px; }
.grp, .rung { margin: 16px 0 6px; color: var(--muted); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; }
.leg { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold-dim); border-radius: var(--radius); padding: 12px 14px 13px; margin: 0 0 10px; }
.leg.won { border-left-color: var(--landed); } .leg.lost { border-left-color: var(--missed); } .leg.void { border-left-color: var(--faint); }
.fixrow { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fix { font-weight: 700; overflow-wrap: anywhere; }
.res { font-weight: 800; font-size: 12.5px; white-space: nowrap; letter-spacing: .04em; }
.res.won { color: var(--landed); } .res.lost { color: var(--missed); } .res.void { color: var(--faint); }
.when { color: var(--faint); font-size: 12.5px; margin-top: 1px; }
.mkt { margin: 10px 0 7px; font-weight: 600; }
.block { font-family: "DejaVu Sans Mono", ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13.5px; background: #0b0b0b; border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; display: grid; gap: 3px; }
.r { display: grid; grid-template-columns: 1fr auto auto; gap: 0 14px; }
.r span:nth-child(2) { text-align: right; font-weight: 700; }
.bar { color: var(--gold); letter-spacing: .02em; }
.tier { margin-top: 9px; font-weight: 700; font-size: 14px; }
.cross { color: var(--faint); font-size: 12.5px; margin-top: 3px; }
.sum { margin: 6px 0; padding: 11px 13px; border: 1px solid var(--line-gold); border-radius: var(--radius); background: var(--card); font-size: 14px; }
.sum b { display: block; margin-bottom: 3px; }
.sum div + div { color: var(--muted); }
.climb { font-family: "DejaVu Sans Mono", ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13.5px; display: grid; gap: 3px; }
.climbtitle { color: var(--gold); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; margin-bottom: 7px; }
.verdict { margin: 8px 0 0; font-weight: 700; font-size: 14px; }

/* results */
.headline { margin: 14px 0 2px; padding: 11px 14px; border: 1px solid var(--gold-dim); border-radius: var(--radius); background: var(--card); font-weight: 700; text-align: center; }
.rgroup { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2px 14px 4px; margin: 12px 0; }
.rhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0 7px; border-bottom: 1px solid var(--line); }
.rhead h3 { font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.vpill { flex: none; padding: 2px 10px; border: 1px solid var(--line-gold); border-radius: 999px; background: var(--raised); font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.item { display: grid; grid-template-columns: 1.4em 1fr; gap: 0 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item .mk { font-weight: 800; text-align: center; }
.item.won .mk { color: var(--landed); } .item.lost .mk { color: var(--missed); } .item.void .mk { color: var(--faint); }

/* form */
.lead { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.lead:first-of-type { color: var(--ink); font-weight: 600; font-size: 15px; }
.fcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 14px 12px; margin: 12px 0; }
.fcard .rec { margin: 12px 0 2px; }
.win { margin-top: 12px; }
.wl { color: var(--faint); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; }
.wn { color: var(--faint); font-size: 14px; margin-top: 3px; }
.small { color: var(--faint); font-weight: 400; letter-spacing: .03em; text-transform: none; }
.stat { display: grid; grid-template-columns: 3.4em 1fr auto; gap: 0 8px; align-items: baseline; font-size: 14px; margin-top: 5px; }
.stat span:first-child { color: var(--faint); font-size: 12.5px; }
.stat b { text-align: right; font-variant-numeric: tabular-nums; }
.meter { display: block; width: 100%; height: 6px; margin: 3px 0 0; }
.meter .track { fill: #1d1d1d; } .meter .fill { fill: var(--gold); } .meter .fill.legs { fill: var(--gold-dim); }

/* a card that opens a fixture */
.tap { cursor: pointer; transition: border-color .15s, background .15s; }
.tap:hover, .tap:focus-visible { background: var(--raised); border-color: var(--gold-dim); }
.chev { color: var(--gold); font-weight: 800; }

/* a fixture */
.back { appearance: none; background: none; border: 0; color: var(--gold); font: inherit; font-weight: 700; font-size: 14px; letter-spacing: .04em; padding: 6px 0; margin: 8px 0 0; cursor: pointer; }
.back:hover { color: var(--ink); }
.fxhead { margin: 8px 0 4px; padding: 20px 14px 16px; text-align: center; border: 1px solid var(--gold-dim); border-radius: var(--radius); background: linear-gradient(180deg, #17140a, var(--card)); }
.fxteams { font-size: clamp(20px, 6vw, 26px); font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.fxv { display: block; color: var(--gold); font-size: 12px; letter-spacing: .3em; font-weight: 700; margin: 3px 0; text-transform: uppercase; }
.fxscore { margin-top: 8px; font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--gold); }
.fxmeta { margin-top: 10px; color: var(--muted); font-size: 13px; }
.fxmarket { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 14px 8px; box-shadow: inset 0 1px 0 rgba(240,196,64,.10); }
.oc { padding: 10px 0; border-bottom: 1px solid var(--line); }
.oc:last-child { border-bottom: 0; }
.oc.head .mkt { margin-top: 2px; font-size: 15px; font-weight: 800; }
.oc:not(.head) { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: var(--muted); font-size: 14px; }
.oc .fig { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.oc .vs { color: var(--faint); font-size: 12.5px; }
.warn { margin-top: 9px; font-size: 12.5px; color: var(--muted); }
.warn b { display: block; color: var(--gold); font-weight: 700; margin-bottom: 1px; }
.scl { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 7px; font-variant-numeric: tabular-nums; }
.scl b { color: var(--gold); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fcol { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 11px 6px; box-shadow: inset 0 1px 0 rgba(240,196,64,.10); min-width: 0; }
.frow { display: grid; grid-template-columns: auto 1fr auto; gap: 0 8px; align-items: baseline; padding: 5px 0; font-size: 13.5px; }
.fcol .wl { margin-bottom: 4px; overflow-wrap: anywhere; }
.fm { display: inline-block; min-width: 1.6em; text-align: center; font-weight: 800; font-size: 12px; border-radius: 4px; padding: 1px 0; }
.fm.fw { background: rgba(95,211,138,.16); color: var(--landed); } .fm.fl { background: rgba(255,138,128,.16); color: var(--missed); } .fm.fd { background: #202020; color: var(--muted); }
.fo { overflow-wrap: anywhere; } .fv { color: var(--faint); font-size: 11.5px; } .fs { font-variant-numeric: tabular-nums; font-weight: 700; }
.fd2 { color: var(--faint); font-size: 12px; white-space: nowrap; }
#board > .frow { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin: 6px 0; }

/* leagues and teams */
.leaguesbtn { appearance: none; display: flex; justify-content: space-between; align-items: center; width: 100%; margin: 14px 0 0; padding: 12px 14px; background: var(--card);
              border: 1px solid var(--line-gold); border-radius: var(--radius); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; text-align: left;
              box-shadow: inset 0 1px 0 rgba(240,196,64,.10); }
.leaguesbtn:hover, .leaguesbtn:focus-visible { border-color: var(--gold); background: var(--raised); }
.lgrow { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold-dim); border-radius: var(--radius); padding: 12px 14px; margin: 0 0 10px; box-shadow: inset 0 1px 0 rgba(240,196,64,.10); }
.mkts { color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.lgrow.soon { border-left-color: var(--line); color: var(--muted); padding: 10px 14px; margin-bottom: 8px; }
.lgrow.soon .fix { font-weight: 600; }
.teamgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.teambtn { appearance: none; background: var(--card); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font: inherit; font-size: 14px; padding: 10px 12px; text-align: left;
           cursor: pointer; overflow-wrap: anywhere; min-width: 0; }
.fgrid.one { grid-template-columns: 1fr; }

/* ask */
.asknote { margin: 14px 0 4px; color: var(--muted); font-size: 14px; }
.askrowlabel { margin: 16px 0 0; color: var(--faint); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; }
.askchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
[hidden] { display: none !important; }
.askchip { appearance: none; background: var(--card); border: 1px solid var(--line-gold); border-radius: 999px; color: var(--muted); font: inherit; font-size: 13px; padding: 7px 13px; cursor: pointer; text-align: left; }
.askchip:hover, .askchip:focus-visible { border-color: var(--gold); color: var(--ink); }
.askchip:disabled { opacity: .5; cursor: default; }
.askchip.on { border-color: var(--gold); background: #1b1608; color: var(--gold); font-weight: 700; }
.accahint { color: var(--faint); font-size: 12.5px; min-height: 1.3em; margin: 2px 0 6px; }
.accago { appearance: none; border: 0; border-radius: var(--radius); background: var(--gold); color: #080808; font: inherit; font-weight: 800; letter-spacing: .06em; padding: 10px 18px; cursor: pointer; }
.accago:disabled { background: #3a3015; color: var(--faint); cursor: default; }
.asklog { margin: 8px 0 12px; display: grid; gap: 12px; }
.asklog > * { scroll-margin-bottom: 110px; }       /* the sticky question box must not cover the newest answer when it scrolls into view */
.qbubble { justify-self: end; max-width: 88%; background: #1b1608; border: 1px solid var(--gold-dim); border-radius: 14px 14px 3px 14px; padding: 9px 13px; overflow-wrap: anywhere; }
.abubble { justify-self: start; max-width: 100%; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold-dim); border-radius: 3px 14px 14px 14px; padding: 11px 14px;
           white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: inset 0 1px 0 rgba(240,196,64,.10); }
.abubble pre { margin: 8px 0; white-space: pre; overflow-x: auto; font-family: "DejaVu Sans Mono", ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13.5px;
               background: #0b0b0b; border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; }
.abubble strong { color: var(--gold); }
.abubble.err { border-left-color: var(--missed); color: var(--muted); }
.abubble.wait { color: var(--faint); }
.dots::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: dots 1.2s steps(4, end) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75%, 100% { content: "..."; } }
.askform { position: sticky; bottom: 0; display: flex; gap: 8px; align-items: flex-end; margin: 6px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, #080808 70%, rgba(8,8,8,0)); }
.askform textarea { flex: 1; min-width: 0; resize: none; background: var(--card); color: var(--ink); border: 1px solid var(--line-gold); border-radius: var(--radius); padding: 10px 12px; font: inherit; font-size: 16px; line-height: 1.35; }
.askform textarea:focus { outline: 2px solid var(--gold-dim); outline-offset: 0; }
.askform button { appearance: none; border: 0; border-radius: var(--radius); background: var(--gold); color: #080808; font: inherit; font-weight: 800; letter-spacing: .06em; padding: 11px 16px; cursor: pointer; }
.askform button:disabled { background: #3a3015; color: var(--faint); cursor: default; }
@media (prefers-reduced-motion: reduce) { .dots::after { animation: none; content: "..."; } }

/* states */
.empty { color: var(--muted); text-align: center; padding: 44px 0; }
.gate { background: var(--card); border: 1px solid var(--gold-dim); border-radius: var(--radius); padding: 24px 18px; margin-top: 28px; text-align: center; }
.gate h3 { margin: 0 0 8px; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.gate p { color: var(--muted); }
.skel { height: 74px; margin: 12px 0; border-radius: var(--radius); background: linear-gradient(90deg, #121212 25%, #1a1a1a 50%, #121212 75%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
.skel.short { height: 20px; width: 40%; margin: 26px 0 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } .tab { transition: none; } }

footer { margin: 40px 0 6px; padding-top: 22px; border-top: 1px solid var(--line-gold); color: var(--faint); font-size: 12.5px; text-align: center; line-height: 1.6; }
footer .mark { display: block; margin: 0 auto 10px; width: 26px; height: auto; opacity: .85; }
footer .tagline { margin: 0 auto 14px; max-width: 30ch; color: var(--muted); font-size: 14px; font-style: italic; line-height: 1.5; }

/* my tracker: a member's own record of what they staked. Only classes and attributes here (the page's content-security policy allows no inline style). */
.trs { margin: 14px 0 0; }
.trh { margin: 0 0 8px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.trp, .trnote { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.trfoot { margin-top: 18px; text-align: center; }
.trmsg { min-height: 1.2em; color: var(--gold); font-size: 13px; margin-top: 8px; }
.trgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.trcell { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; box-shadow: inset 0 1px 0 rgba(240,196,64,.10); }
.trcell small { display: block; color: var(--muted); font-size: 11.5px; letter-spacing: .06em; }
.trcell b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.trcell span { color: var(--faint); font-size: 12px; }
.trcell .up { color: var(--landed); } .trcell .down { color: var(--missed); }
.trmeter { display: block; width: 100%; height: 8px; margin-top: 10px; border-radius: 4px; }
.trmeter .track { fill: var(--line); } .trmeter .fill { fill: var(--gold); }
.eq { display: block; width: 100%; height: 64px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.eq .zero { stroke: var(--line); stroke-width: 1; } .eq .curve { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.trnone { color: var(--faint); font-size: 13px; padding: 10px 0; }
.trstats { display: grid; gap: 4px; margin-top: 8px; color: var(--muted); font-size: 13px; }
.trstats b { color: var(--ink); font-weight: 700; }
.trform { display: grid; gap: 10px; }
.trform label { display: grid; gap: 4px; color: var(--muted); font-size: 12.5px; }
.trform input, .trform select { appearance: none; background: var(--raised); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 16px; min-height: 44px; width: 100%; }
.trform input:focus-visible, .trform select:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.trform .trcheck { display: flex; align-items: center; gap: 10px; }
.trform .trcheck input { width: 22px; min-height: 22px; padding: 0; appearance: auto; }
.trbtn { appearance: none; background: var(--gold); color: #080808; border: 0; border-radius: 8px; padding: 12px 16px; font: inherit; font-weight: 800; letter-spacing: .04em; min-height: 44px; cursor: pointer; }
.trbtn.quiet, .trsm.quiet { background: none; color: var(--muted); border: 1px solid var(--line); }
.trbtn:focus-visible, .trsm:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.trbet { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 8px; }
.trbet.won { border-left-color: var(--landed); } .trbet.lost { border-left-color: var(--missed); } .trbet.pending { border-left-color: var(--gold-dim); }
.trline { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.trwhat { font-weight: 700; overflow-wrap: anywhere; }
.trlink { color: var(--faint); font-weight: 400; font-size: 12px; }
.trbet .st { flex: none; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--muted); }
.trbet .st.won { color: var(--landed); } .trbet .st.lost { color: var(--missed); } .trbet .st.pending { color: var(--gold); }
.trmeta { color: var(--faint); font-size: 12.5px; margin-top: 2px; }
.trbtns { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.trsm { appearance: none; background: var(--raised); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 700; min-height: 40px; cursor: pointer; }
.trwarn { border-color: var(--gold-dim); } .trpause { border-color: var(--missed); }

/* the guide size (in units) on a pick, and the standing note under the picks */
.stake { margin: 6px 0 0; color: var(--gold); font-size: 13px; font-weight: 700; }
.stakenote { margin: 18px 0 0; padding: 10px 12px; border: 1px solid var(--line-gold); border-radius: var(--radius); color: var(--muted); font-size: 12.5px; background: var(--card); }
.stakenote p { margin: 0 0 6px; }
.stakenote p:last-child { margin: 0; }
