/* Screens: Today, the game screen (first version), Me, and the screens still being built. */
.scr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 4px 0 14px; }
.scr-head .h1 { margin-top: 4px; }
.scr-sub { margin: 6px 0 0; color: var(--text-2); font-size: var(--fs); }

/* ---------- Today ---------- */
.td-group { margin: 26px 0 0; scroll-margin-top: calc(var(--top-h) + 12px); }
.td-group:first-of-type { margin-top: 0; }
.td-group-head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.td-group-head .h3 { font-size: var(--fs-lg); letter-spacing: .08em; text-transform: uppercase; }
.td-group-head .count { color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.td-group-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.td-group.live .td-group-head .h3 { color: var(--live); }
.td-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.td-hero { margin-bottom: var(--gap); }
.td-finished summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: var(--tap);
  border-radius: var(--r); padding: 0 4px;
}
.td-finished summary::-webkit-details-marker { display: none; }
.td-finished summary .h3 { white-space: nowrap; }
.td-finished summary .chev { margin-left: auto; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t) var(--ease); color: var(--muted); }
.td-finished[open] summary .chev { transform: rotate(180deg); }
.td-finished .td-grid { margin-top: 10px; }
.td-foot { margin: 28px 0 0; color: var(--faint); font-size: var(--fs-xs); }
@media (min-width: 700px) {
  .td-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
}

/* ---------- game screen, before the game (V-5) ---------- */
.gm-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -6px 0 6px; }
.gm-back { display: inline-flex; align-items: center; gap: 4px; min-height: var(--tap); text-decoration: none; font-weight: 600; }
.gm-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gm-when { color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.gm-sk { height: 300px; }
/* the hero: drag (or arrow keys) to look around while its scene is live */
.gc.gm-orbit { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.gc.gm-orbit.dragging { cursor: grabbing; }
.gc.gm-orbit:active { transform: none; }
.gc.gm-orbit:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.gm-hint { position: absolute; top: 14px; right: 14px; z-index: 1; display: none; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
  border-radius: var(--r-pill); background: rgba(5, 7, 11, .66); border: 1px solid rgba(255, 255, 255, .14); color: var(--text-2);
  font: 600 var(--fs-xs)/1 var(--body); pointer-events: none; }
.gm-hint svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gc.gm-orbit[data-scene-state="live"] .gm-hint { display: inline-flex; }
.gc.gm-orbit.dragging .gm-hint { opacity: 0; }
@media (min-width: 768px) { .gm-hint { top: 20px; right: 24px; } }
/* the time bar: kickoff and the next three hours of forecast */
.gm-time { margin: 10px 0 0; }
.gm-tb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 4px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); }
.gm-tb-b { min-height: var(--tap); padding: 6px 4px; border-radius: var(--r-sm); border: 1px solid transparent; background: none; color: var(--text-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; }
.gm-tb-b:hover { color: var(--text); background: var(--surface-2); }
.gm-tb-b[aria-checked="true"] { background: var(--surface-3); border-color: var(--line-3); color: var(--text); }
.gm-tb-t { font: 700 var(--fs-sm)/1.1 var(--body); white-space: nowrap; }
.gm-tb-v { font: 600 var(--fs-xs)/1.1 var(--body); color: var(--muted); white-space: nowrap; }
.gm-tb-b[aria-checked="true"] .gm-tb-v { color: var(--text-2); }
.gm-tb-cap { margin: 8px 4px 0; font-size: var(--fs-sm); color: var(--text-2); }
.gm-demo { margin: 12px 0 0; font-size: var(--fs-xs); color: var(--faint); }
/* sections */
.gm-grid { display: grid; gap: var(--gap); margin-top: 18px; }
.gm-main, .gm-side { display: grid; gap: var(--gap); align-content: start; min-width: 0; }
@media (min-width: 1024px) { .gm-grid { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); align-items: start; } }
.gm-sec { padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.gm-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.gm-sec-head .h3 { font-size: var(--fs-lg); letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 768px) { .gm-sec { padding: 18px 20px; } }
.gm-quiet { margin: 0; color: var(--text-2); }
.gm-src, .gm-foot { margin: 12px 0 0; font-size: var(--fs-xs); color: var(--faint); line-height: 1.45; }
.gm-warn { margin: 10px 0 0; color: var(--close); font-weight: 600; font-size: var(--fs-sm); }
.gm-age { margin: 4px 0 0; font-size: var(--fs-sm); color: var(--muted); }
/* Picks here */
.gm-picks-head { display: grid; gap: 2px; }
.gm-counts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.gm-n { display: inline-flex; align-items: baseline; gap: 5px; color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; }
.gm-n b { font: 800 26px/1 var(--display); color: var(--text); letter-spacing: .02em; }
.gm-n.edge, .gm-n.edge b { color: var(--accent); }
.gm-n.close, .gm-n.close b { color: var(--close); }
.gm-needs { margin: 6px 0 0; color: var(--text-2); font-size: var(--fs-sm); }
/* Tonight's entries (EN-2): this game's picks in them */
.gm-tonight { display: grid; gap: 6px; margin: 0 0 12px; padding: 10px 14px; border-radius: var(--r);
  background: linear-gradient(100deg, var(--accent-soft), transparent 70%), var(--surface); border: 1px solid rgba(198, 244, 50, .3); }
.gm-tonight[hidden] { display: none; }
.gm-tonight-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0; }
.gm-tonight-h .eyebrow { color: var(--accent); }
.gm-tonight-h a { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); min-width: var(--tap);
  font-size: var(--fs-sm); }
.gm-tonight-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--text-2); }
.gm-tonight-list b { color: var(--text); font-weight: 600; }
.gm-tonight-in { margin-left: 8px; font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; }
.gm-refresh { margin: 12px 0 14px; }
.gm-refresh-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.gm-refresh-row .btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gm-refresh-note { font-size: var(--fs-xs); color: var(--muted); }
.gm-refresh-msg { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.gm-refresh-msg.err { color: var(--bad); margin-bottom: 8px; }
.gm-refresh-limit { padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text-2); }
.gm-refresh-confirm { padding: 12px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); }
.gm-refresh-confirm p { margin: 0 0 10px; color: var(--text-2); font-size: var(--fs-sm); }
.gm-list { display: grid; gap: 8px; container: picks / inline-size; }
.gm-verdict { margin: 0 0 4px; color: var(--text-2); }
.gm-verdict b { color: var(--text); }
.gm-sub { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 8px; font: 700 var(--fs)/1.2 var(--display); letter-spacing: .1em;
  text-transform: uppercase; color: var(--close); }
.gm-sub span { font: 500 var(--fs-xs)/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.gm-all-btn { margin-top: 14px; padding-left: 10px; }
.gm-all-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.gm-all { margin-top: 10px; }
.gm-filter { width: 100%; min-height: var(--tap); padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); }
.gm-filter:focus { outline: none; border-color: var(--accent); }
.gm-all-list { display: grid; gap: 6px; margin-top: 8px; }
.gm-all-h { margin: 12px 0 2px; font: 700 var(--fs-sm)/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gm-empty { margin-bottom: 12px; }
/* Weather */
.gm-wx { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.gm-wx th, .gm-wx td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.gm-wx thead th { font: 700 var(--fs-2xs)/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gm-wx tbody th { font-weight: 600; color: var(--text); }
.gm-wx td { color: var(--text-2); }
.gm-wx .wide { white-space: normal; }
/* Headers and the hour may wrap, so the table always fits its card (the numbers never wrap). */
.gm-wx th { white-space: normal; }
@media (max-width: 399px) { .gm-wx th, .gm-wx td { padding: 8px 4px; } }
@media (max-width: 599px), (min-width: 1024px) { .gm-wx .wide { display: none; } }
/* Injuries */
.gm-inj-grid { display: grid; gap: 14px; }
@media (min-width: 640px) and (max-width: 1023px) { .gm-inj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gm-inj-h { display: flex; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.gm-inj-h b { font: 800 var(--fs-lg)/1 var(--display); letter-spacing: .04em; }
.gm-inj-h span { color: var(--muted); font-size: var(--fs-sm); }
.gm-inj { list-style: none; margin: 0; padding: 0; }
.gm-inj li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.gm-inj li:last-child { border-bottom: 0; }
.gm-inj li.dim { opacity: .62; }
.gm-inj-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.gm-inj-who .muted { font-size: var(--fs-sm); }
.gm-tag { font: 700 var(--fs-2xs)/1 var(--body); letter-spacing: .04em; padding: 4px 7px; border-radius: var(--r-xs); color: var(--accent); border: 1px solid rgba(198, 244, 50, .35); }
.gm-pr { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 6px; font-size: var(--fs-xs); }
.pr-chip { padding: 3px 6px; border-radius: var(--r-xs); font: 700 var(--fs-2xs)/1 var(--body); background: var(--surface-3); color: var(--text-2); }
.pr-chip.pr-DNP { color: var(--bad); }
.pr-chip.pr-LP { color: var(--close); }
.pr-chip.pr-FP { color: var(--good); }
.gm-inj-note { margin: 5px 0 0; font-size: var(--fs-sm); color: var(--text-2); }
.st { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 22px; padding: 0 6px; border-radius: var(--r-xs);
  font: 800 var(--fs-xs)/1 var(--display); letter-spacing: .06em; background: var(--close-soft); color: var(--close); }
.st.st-bad { background: rgba(255, 138, 138, .14); color: var(--bad); }
/* The line */
/* SP-2 G3: The line folds; the spread and total show on the fold. */
.gm-fold > summary { display: flex; align-items: center; gap: 10px; min-height: var(--tap); cursor: pointer; list-style: none; }
.gm-fold > summary::-webkit-details-marker { display: none; }
.gm-fold > summary .h3 { font-size: var(--fs-lg); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.gm-fold-v { margin-left: auto; font: 800 var(--fs-lg)/1.1 var(--display); letter-spacing: .02em; color: var(--text); text-align: right; }
.gm-fold > summary .pk-chev { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; color: var(--muted);
  transition: transform var(--t) var(--ease); }
.gm-fold[open] > summary .pk-chev { transform: rotate(180deg); }
.gm-fold > summary:hover .pk-chev { color: var(--text); }
.gm-fold-body > .gm-age:first-child { margin-top: 2px; }
.gm-line-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.gm-line-tags:empty { display: none; }
.gm-facts-list { margin: 10px 0 0; padding-left: 18px; color: var(--text-2); font-size: var(--fs-sm); display: grid; gap: 6px; }
.gm-facts-list b { color: var(--text); }
/* What changed */
.gm-chgs { list-style: none; margin: 0; padding: 0; }
.gm-chg { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm); }
.gm-chg:last-child { border-bottom: 0; }
.gm-chg-at { color: var(--faint); font-size: var(--fs-xs); white-space: nowrap; }
.gm-chg-who { color: var(--text); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.gm-chg-what { color: var(--text-2); font-weight: 700; white-space: nowrap; text-align: right; }
.gm-chg.bad .gm-chg-what { color: var(--bad); }
.gm-chg.k-line .gm-chg-what, .gm-chg.k-spread .gm-chg-what { color: var(--over); }

/* ---------- pick row (V-5; Picks, the pick sheet and the builder reuse it) ---------- */
.pr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 12px; padding: 12px;
  border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.pr-word { align-self: start; margin-top: 2px; min-width: 74px; text-align: center; padding: 5px 6px; border-radius: var(--r-xs);
  font: 800 var(--fs-xs)/1 var(--display); letter-spacing: .12em; text-transform: uppercase; background: var(--surface-3); color: var(--flip); }
.w-edge { border-color: rgba(198, 244, 50, .35); background: linear-gradient(100deg, rgba(198, 244, 50, .07), transparent 55%), var(--bg-2); }
.w-edge .pr-word { background: var(--accent); color: var(--accent-ink); }
.w-close .pr-word { background: var(--close-soft); color: var(--close); }
.w-no_edge .pr-word, .w-no_price .pr-word { color: var(--muted); background: none; border: 1px solid var(--line-2); }
.w-app .pr-word { color: var(--plat-pick6); background: none; border: 1px solid rgba(95, 212, 196, .35); }
.pr-main { min-width: 0; }
.pr-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.pr-who b { font-weight: 700; color: var(--text); }
.pr-team { color: var(--muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; }
.pr-st { font: 800 var(--fs-2xs)/1 var(--display); letter-spacing: .06em; padding: 3px 5px; border-radius: var(--r-xs); background: var(--close-soft); color: var(--close); }
.pr-st.st-OUT, .pr-st.st-D { background: rgba(255, 138, 138, .14); color: var(--bad); }
.pr-what { margin-top: 3px; color: var(--text-2); font-size: var(--fs-sm); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.pr-what b { color: var(--text); font-variant-numeric: tabular-nums; }
.pr-line { white-space: nowrap; }
.pr-what .side-over { color: var(--over); }
.pr-what .side-under { color: var(--under); }
.pr-app { font-size: var(--fs-xs); font-weight: 700; }
.pr-app.app-prizepicks { color: var(--plat-prizepicks); }
.pr-app.app-pick6 { color: var(--plat-pick6); }
.pr-why { margin-top: 4px; color: var(--muted); font-size: var(--fs-xs); line-height: 1.4; }
.pr-num { text-align: right; }
.pr-num b { display: block; font: 800 var(--fs-xl)/1 var(--display); letter-spacing: .02em; color: var(--text); }
.pr-num span { font-size: var(--fs-xs); color: var(--muted); }
.w-edge .pr-num b { color: var(--accent); }
/* E-9 step 3: an edge inside its give or take keeps its word, drawn as an outline, with "Shaky". */
.w-edge.is-shaky .pr-word { background: none; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pr-shaky { font: 800 var(--fs-2xs)/1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 3px 5px; border-radius: var(--r-xs);
  color: var(--close); background: var(--close-soft); }
.pr-give { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--muted); }
.pr-num.none b { color: var(--muted); }
.pr-compact { padding: 8px 10px; gap: 6px 10px; }
.pr-compact .pr-word { min-width: 66px; font-size: var(--fs-2xs); padding: 4px 5px; }
.pr-compact .pr-num b { font-size: var(--fs-lg); }
/* The "+" that adds a pick to your slip (V-8): above the row's stretched link. */
.pr-has-add { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.pr-add { position: relative; z-index: 1; display: grid; place-items: center; width: var(--tap); height: var(--tap); border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.pr-add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pr-add:hover { border-color: var(--text-2); color: var(--text); }
.pr-add[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pr-add:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Phones, and narrow lists anywhere: the word sits above the pick, so the pick's text gets the full width. */
@container picks (max-width: 560px) {
  .pr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "word num" "main num"; row-gap: 6px; }
  .pr-has-add { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "word num add" "main num add"; }
  .pr-add { grid-area: add; }
  .pr-word { grid-area: word; justify-self: start; min-width: 0; margin-top: 0; }
  .pr-main { grid-area: main; }
  .pr-num { grid-area: num; }
}
@media (max-width: 599px) {
  .pr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "word num" "main num"; row-gap: 6px; }
  .pr-has-add { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "word num add" "main num add"; }
  .pr-add { grid-area: add; }
  .pr-word { grid-area: word; justify-self: start; min-width: 0; margin-top: 0; }
  .pr-main { grid-area: main; }
  .pr-num { grid-area: num; }
  .gm-chg { grid-template-columns: 58px minmax(0, 1fr); row-gap: 2px; }
  .gm-chg-what { grid-column: 2; text-align: left; white-space: normal; }
}


/* ---------- Me (V-12b) ---------- */
.me-top { margin: 0 0 14px; max-width: 760px; }
.me-lead { padding: 18px 18px 16px; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: radial-gradient(120% 140% at 0% 0%, var(--accent-soft), transparent 60%), var(--surface); }
.me-lead-big { margin: 0 0 10px; font: 800 26px/1.05 var(--display); letter-spacing: .02em; }
.me-lead-big b { color: var(--accent); font-size: 34px; }
.me-lead p:last-child { margin: 8px 0 0; }
.me-meter { height: 8px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; }
.me-meter span { display: block; height: 100%; border-radius: inherit; background: var(--accent); min-width: 2px; }
.me-list { display: grid; gap: 12px; max-width: 760px; align-items: start; }
.me-slot { display: grid; }
.me-card { padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.me-card > .h3 { margin-bottom: 6px; }
.me-card > p { margin: 0 0 10px; }
.me-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 8px 2px;
  text-decoration: none; color: var(--text); border: 0; border-top: 1px solid var(--line); background: none; font: inherit; text-align: left; cursor: pointer; }
.me-card > .h3 + .me-link, .me-card > p + .me-link { border-top: 0; }
.me-link span { display: block; font-size: var(--fs-sm); color: var(--muted); }
.me-link::after { content: "›"; font-size: var(--fs-xl); color: var(--muted); flex: none; }
.me-link:hover { color: var(--accent); }
.me-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
.me-card form { margin: 8px 0 0; }
.me-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.me-status { margin: 0; font-size: var(--fs-sm); color: var(--text-2); min-height: 1.2em; }
.me-warn { color: var(--close); }
.me-warn a { color: var(--close); }
.btn.sm { padding: 0 14px; font-size: var(--fs-sm); }

/* How you play */
.me-apps { border: 0; padding: 0; margin: 0 0 12px; }
.me-apps legend, .me-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: var(--fs-sm); color: var(--text-2); }
.me-app-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.me-app { position: relative; display: inline-flex; }
.me-app input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.me-app span { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 16px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--muted); font-weight: 600; }
.me-app span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; }
.me-app input:checked + span { color: var(--text); border-color: var(--line-3); background: var(--surface-2); }
.me-app-prizepicks input:checked + span::before { background: var(--plat-prizepicks); border-color: var(--plat-prizepicks); }
.me-app-pick6 input:checked + span::before { background: var(--plat-pick6); border-color: var(--plat-pick6); }
.me-gears input:checked + span::before { background: var(--accent); border-color: var(--accent); }
.me-app input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.me-fields { display: grid; gap: 12px; }
.me-field p { margin: 4px 0 0; }
.me-input { display: flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 12px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--bg-2); }
.me-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.me-input span { color: var(--muted); font-weight: 600; }
.me-input input { flex: 1; min-width: 0; height: var(--tap); border: 0; background: none; color: var(--text); font: 600 var(--fs-input)/1 var(--body);
  font-variant-numeric: tabular-nums; outline: none; }
.me-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .me-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Day one (FP-7): the same form, one card, after the 21+ step */
.st-head, .st-card { max-width: 560px; margin-left: auto; margin-right: auto; }
.st-head { display: block; }
.me-play > .me-fields { grid-template-columns: minmax(0, 1fr); max-width: 360px; }  /* the stake: one wide box */
.st-head .eyebrow { margin: 0 0 4px; color: var(--accent); }
.st-lede { margin: 6px 0 0; color: var(--text-2); line-height: 1.45; }
.st-card { margin-top: 12px; }
.me-play-start .me-row { margin-top: 18px; }
.me-play-start .me-row .btn.primary { flex: 1 1 auto; }
.me-play-start .me-status { flex-basis: 100%; order: 3; }

/* Phone alerts: one line on Me; the controls are on Account (SP-4, M2) */
.me-alert-line { border-top: 0; }
.me-alert-line::after { content: none; }
.me-go { flex: none; color: var(--accent); font-size: var(--fs-sm); }
p.me-alert-line { margin: 4px 0 0; }
/* How you play: payout target and skip picks below behind More settings (M1) */
.me-more { margin-top: 12px; border-top: 1px solid var(--line); }
.me-more > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px;
  min-height: var(--tap); padding: 10px 0; cursor: pointer; font-weight: 600; color: var(--text-2); list-style: none; }
.me-more > summary > span { grid-row: 2; font-weight: 400; }
.me-more > summary::-webkit-details-marker { display: none; }
.me-more > summary::after { content: "Show"; grid-column: 2; grid-row: 1 / span 2; color: var(--accent); font-size: var(--fs-sm); }
.me-more[open] > summary::after { content: "Hide"; }
.me-more[open] > summary { color: var(--text); }
.me-more > .me-fields { padding-bottom: 4px; }
.me-play > .me-fields + .me-gears { margin-top: 14px; }
/* W-5: Your state (How you play) */
.me-state { margin: 0 0 12px; max-width: 360px; }
.me-state select { width: 100%; min-height: var(--tap); padding: 0 10px; border-radius: var(--r); border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font: inherit; }
.me-state select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.me-state-notes:empty { display: none; }
.me-state-notes { margin-top: 8px; display: grid; gap: 4px; }
.me-state-note { margin: 0; }
.me-state-off { color: var(--text); font-size: var(--fs-sm); padding: 8px 10px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface-2); }
.sb-state { grid-column: 1 / -1; margin: 8px 0 0; font-size: var(--fs-sm); color: var(--text-2); padding: 8px 10px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--surface-2); }
.pk-state { margin: 8px 0 0; }

/* The app's record */
.me-verdict { margin: 4px 0 4px !important; font: 700 var(--fs-xl)/1.2 var(--display); letter-spacing: .02em; color: var(--text); }
.me-verdict::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; vertical-align: 2px; background: var(--flip); }
.me-verdict.tone-good::before { background: var(--good); }
.me-verdict.tone-off::before { background: var(--bad); }
.me-rec-line { margin: 4px 0 8px; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.45; }
.me-col { display: contents; }
#me-play-title-card { order: 1; } .me-slot:has(#me-alerts-title) { order: 2; } .me-slot:has(#me-rec-title) { order: 3; }
#me-help-title-card { order: 4; } #me-owner-title-card { order: 5; }
@media (min-width: 1024px) {
  .me-top { max-width: none; }
  .me-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .me-col { display: grid; gap: 12px; align-content: start; }
}

/* ---------- Report a problem + the check-in, on every screen (V-12b) ---------- */
.fb-foot { display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap; margin: 28px 0 8px;
  font-size: var(--fs-sm); }
.nx-legal { max-width: 60ch; margin: 24px auto 16px; color: var(--text-2); font-size: var(--fs-xs, 12px); line-height: 1.5;
  text-align: center; }
.fb-foot + .nx-legal { margin-top: 0; }
.fb-link { min-height: var(--tap); padding: 0 8px; border: 0; background: none; color: var(--text-2); font: 600 var(--fs-sm)/1 var(--body);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fb-link:hover { color: var(--accent); }
.fb-sheet { display: grid; gap: 10px; padding: 4px 2px 16px; }
.fb-sheet > p { margin: 0; }
.fb-form { display: grid; gap: 8px; }
.fb-form label, .fb-form legend { font-weight: 600; font-size: var(--fs-sm); color: var(--text-2); }
.fb-form textarea { width: 100%; min-height: 96px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font: inherit; resize: vertical; }
.fb-form textarea:focus { outline: none; border-color: var(--accent); }
.fb-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fb-status { margin: 0; min-height: 1.2em; font-size: var(--fs-sm); color: var(--text-2); }
.ck-use { border: 0; margin: 0 0 4px; padding: 0; }
.ck-use legend { margin-bottom: 8px; }
.ck-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ck-chip { position: relative; display: inline-flex; }
.ck-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ck-chip span { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text-2); font-weight: 600; font-size: var(--fs-sm); }
.ck-chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ck-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ck-card { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin: 0 0 14px;
  padding: 12px 14px; border-radius: var(--r); border: 1px solid rgba(198, 244, 50, .35); background: var(--accent-soft); }
.ck-card > div:first-child { display: grid; gap: 2px; font-size: var(--fs-sm); }
.ck-card b { font-size: var(--fs); }
.ck-actions { display: flex; gap: 8px; }

/* ---------- panel ---------- */
.nx-panel-in { display: grid; gap: 10px; }
.nx-panel-empty { margin: 0; font: 700 var(--fs-xl)/1.15 var(--display); letter-spacing: .02em; color: var(--text); }

/* ---------- Today's top: the lead (tonight's call, EN-8b) and the news ticker (V-2) ---------- */
.td-top { display: grid; gap: 10px; margin: 0 0 14px; }
.td-lead { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; min-height: 72px; }
.td-lead.edge { background: linear-gradient(100deg, var(--accent-soft), rgba(198, 244, 50, .03) 60%), var(--surface);
  border-color: rgba(198, 244, 50, .38); }
.td-lead.edge:hover { border-color: var(--accent); color: var(--text); }
.td-lead-n { font: 800 48px/.9 var(--display); color: var(--accent); letter-spacing: .01em; min-width: .8em; text-align: center; }
.td-lead-text { display: grid; gap: 4px; min-width: 0; }
.td-lead-title { font: 800 var(--fs-xl)/1.05 var(--display); letter-spacing: .02em; text-transform: uppercase; text-wrap: balance; }
.td-lead-sub { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.35; }
.td-lead-go { margin-left: auto; width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round; }
.td-lead.none .td-lead-title { color: var(--text); }
.td-lead.none .td-lead-n { color: var(--muted); }
/* Tonight's call (EN-8b): the Entries tab's teaser. The word big, one line of risk, the first
   entry's players, one door to the tab. */
.td-lead.tl { display: grid; gap: 12px; align-items: stretch; padding: 16px; }
.td-lead.tl:active { transform: none; border-color: var(--line); }  /* the card isn't the button: its link is */
.tl-top { display: flex; align-items: center; gap: 16px; min-width: 0; }
.td-lead-w { flex: none; font: 800 46px/.88 var(--display); letter-spacing: .01em; text-transform: uppercase; color: var(--accent);
  white-space: nowrap; }
.tl-eyebrow { color: var(--muted); }
.td-lead.entries { background: linear-gradient(100deg, var(--accent-soft), rgba(198, 244, 50, .03) 60%), var(--surface);
  border-color: rgba(198, 244, 50, .38); }
.td-lead.entries .td-lead-w { text-shadow: 0 0 28px rgba(198, 244, 50, .25); }
.td-lead.entries:active { border-color: rgba(198, 244, 50, .38); }
.td-lead.sitout { background: linear-gradient(100deg, var(--close-soft), rgba(255, 193, 77, .02) 60%), var(--surface);
  border-color: rgba(255, 193, 77, .32); }
.td-lead.sitout .td-lead-w { color: var(--close); font-size: 38px; }
.td-lead.sitout .td-lead-title, .td-lead.waiting .td-lead-title, .td-lead.none .td-lead-title { color: var(--text); }
.td-lead.sitout .td-lead-title { font-size: var(--fs-lg); }
/* Part of the slate still has no lines: nothing recommended yet. */
.td-lead.waiting .td-lead-w { color: var(--muted); font-size: 38px; }
.tl-odds { color: var(--text); font-weight: 600; }
.tl-who { margin: 0; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.4; }
.tl-who b { color: var(--muted); font-weight: 600; }
.tl-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-actions .tl-go { flex: 1 1 100%; }
.td-demo-night { display: inline-flex; align-items: center; min-height: var(--tap); background: none; border: 0; padding: 0 2px;
  color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
@media (min-width: 600px) {
  .tl-actions .tl-go { flex: 0 1 auto; min-width: 200px; }
}
/* Desktop: the call on the left, the players and the door on the right, on one band */
@media (min-width: 1024px) {
  .td-lead.tl { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "top actions" "who actions"; column-gap: 24px;
    align-items: center; }
  .td-lead.tl .tl-top { grid-area: top; }
  .td-lead.tl .tl-who { grid-area: who; }
  .td-lead.tl .tl-actions { grid-area: actions; }
  .td-lead-w { font-size: 56px; }
}
.td-ticker { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; min-width: 0; }
.tk-label { flex: none; font: 800 var(--fs-xs)/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink);
  background: var(--accent); padding: 5px 8px; border-radius: var(--r-xs); }
.tk-list { display: flex; gap: 8px; overflow-x: auto; margin: 0; padding: 2px 0 6px; list-style: none; min-width: 0;
  scrollbar-width: thin; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.tk-item { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-2); white-space: nowrap;
  scroll-snap-align: start; }
.tk-item b { color: var(--text); font-weight: 600; }
.tk-team { color: var(--muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; }
.tk-what { font-weight: 700; color: var(--text); }
.tk-item.bad .tk-what { color: var(--bad); }
.tk-age { color: var(--faint); font-size: var(--fs-xs); }
.tk-item.mine { border-color: rgba(198, 244, 50, .45); }
/* SP-2 T3: the strip keeps its place, empty, until tonight's entries say whose news goes first. */
.tk-list.tk-wait { visibility: hidden; }
.tk-mine { font: 800 var(--fs-2xs)/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* ---------- Picks: Edges and Everything (V-6) ---------- */
.pk { max-width: 920px; }
.pk-head { display: grid; gap: 10px; margin: 0 0 14px; }
.pk-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); justify-self: start; }
.pk-tab { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 16px; border-radius: var(--r-sm); text-decoration: none;
  font: 700 var(--fs)/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.pk-tab:hover { color: var(--text); }
.pk-tab[aria-current="page"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.pk-tab-n { font: 600 var(--fs-xs)/1 var(--body); letter-spacing: 0; color: var(--muted); }
.pk-tab[aria-current="page"] .pk-tab-n { color: var(--accent); }
/* One toggle everywhere (POL-1): on phones every toggle spans the width, its choices equal. */
@media (max-width: 599px) {
  .pk-tabs { display: flex; width: 100%; justify-self: stretch; }
  .pk-tabs .pk-tab { flex: 1 1 0; justify-content: center; padding: 0 8px; }
}
.pk-lead { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg);
  background: linear-gradient(100deg, var(--accent-soft), rgba(198, 244, 50, .03) 60%), var(--surface); border: 1px solid rgba(198, 244, 50, .38); }
.pk-lead-n { font: 800 56px/.86 var(--display); color: var(--accent); min-width: .8em; text-align: center; }
.pk-lead-text { display: grid; gap: 4px; min-width: 0; }
.pk-lead-title { margin: 0; font: 800 26px/1.02 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.pk-lead-sub { margin: 0; font-size: var(--fs-sm); color: var(--text-2); }
.pk-needs { margin: 10px 2px 12px; color: var(--text-2); font-size: var(--fs-sm); }
/* Rows follow their list's width, not the window's (POL-1 pass 5): in a list narrower than a
   phone and a half (the game screen's column, the slip panel) or in the two-column desktop list,
   the word sits above the pick, like on phones. */
.pk-list { display: grid; gap: 8px; container: picks / inline-size; }
.pk-list.compact { gap: 6px; }
.pr-game { display: inline-flex; align-items: center; min-height: var(--tap); margin: -4px 0 -11px; font-size: var(--fs-xs); font-weight: 700;
  color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 4px; }
.pr-game:hover { color: var(--text); text-decoration-color: var(--text-2); }
.pr-old { margin-top: 6px; font-size: var(--fs-xs); font-weight: 700; color: var(--close); }
.pr[data-fresh="old"] .pr-num b { color: var(--text-2); }
.pk-close { margin-top: 18px; }
.pk-close summary, .pk-game summary { list-style: none; cursor: pointer; }
.pk-close summary::-webkit-details-marker, .pk-game summary::-webkit-details-marker { display: none; }
.pk-close summary { display: flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 0 4px; margin-bottom: 6px; }
.pk-close-h { display: inline-flex; align-items: baseline; gap: 8px; font: 700 var(--fs-lg)/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--close); }
.pk-close-h b { font-size: var(--fs-lg); }
.pk-close-sub { color: var(--muted); font-size: var(--fs-sm); }
.pk-chev { margin-left: auto; width: 22px; height: 22px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round;
  stroke-linejoin: round; transition: transform var(--t) var(--ease); }
details[open] > summary .pk-chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .pk-chev { transition: none; } }
.pk-foot { margin: 20px 2px 0; color: var(--text-2); font-size: var(--fs-sm); }
.pk-src, .pk-age { margin: 10px 2px 0; color: var(--faint); font-size: var(--fs-xs); }
.pk-empty { display: grid; gap: 8px; justify-items: center; padding: 32px 20px; }
.pk-empty p { margin: 0; max-width: 52ch; }
.pk-empty .pk-needs { margin: 0; }
.pk-empty-more { color: var(--text); }
.pk-empty .actions { margin-top: 6px; }
.pk-empty .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pk-sk { height: 92px; }

.pk-tools { display: grid; gap: 10px; position: sticky; top: var(--top-h); z-index: 3; margin: 0 -4px; padding: 6px 4px 10px;
  background: linear-gradient(var(--bg) 82%, transparent); }
.pk-search { width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface);
  color: var(--text); font-size: var(--fs-input); }
.pk-search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pk-filters { display: grid; gap: 6px; }
.pk-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pk-chips::-webkit-scrollbar { display: none; }
.pk-chip { flex: none; min-height: var(--tap); padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface);
  color: var(--text-2); font: 600 var(--fs-sm)/1 var(--body); cursor: pointer; }
.pk-chip:hover { color: var(--text); border-color: var(--line-3); }
.pk-chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.pk-chip[data-key="edge"][aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pk-summary { margin: 4px 2px 12px; color: var(--text-2); font-size: var(--fs-sm); }
.pk-summary b { color: var(--text); }
.pk-games { display: grid; gap: 8px; }
.pk-game { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.pk-game[open] { border-color: var(--line-2); }
.pk-game summary { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 12px; }
.pk-game-badges { display: inline-flex; flex: none; }
.pk-game-badges .badge + .badge { margin-left: -6px; }
.pk-game-text { display: grid; gap: 2px; min-width: 0; }
.pk-game-text b { font: 800 var(--fs-lg)/1.1 var(--display); letter-spacing: .04em; }
.pk-game-text span { color: var(--muted); font-size: var(--fs-xs); }
.pk-game-n { margin-left: auto; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; text-align: right; }
.pk-game-n.has-edge { color: var(--accent); }
.pk-game-n + .pk-chev { margin-left: 4px; }
.pk-game-body { padding: 0 8px 10px; }
.pk-game-link { display: inline-flex; align-items: center; gap: 2px; min-height: var(--tap); padding: 0 6px; font-weight: 600; text-decoration: none; }
.pk-game-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 420px) {
  .pk-game summary { flex-wrap: wrap; }
  .pk-game-n { margin-left: 0; flex-basis: 100%; order: 3; text-align: left; padding-left: 58px; }
  .pk-game-n + .pk-chev { position: absolute; right: 12px; }
  .pk-game summary { position: relative; padding-right: 40px; }
}
@media (min-width: 768px) {
  .pk-lead-n { font-size: 64px; }
  .pk-lead-title { font-size: 30px; }
}
.pk-game-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-top: 8px; }
.pk-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (min-width: 1180px) {
  .pk { max-width: 1120px; }
  .pk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pk-list .pr-std { align-content: start; }
}
@media (min-width: 1180px) {
  .pk-list .pr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "word num" "main num"; row-gap: 6px; }
  .pk-list .pr-has-add { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "word num add" "main num add"; }
  .pk-list .pr-add { grid-area: add; }
  .pk-list .pr-word { grid-area: word; justify-self: start; min-width: 0; margin-top: 0; }
  .pk-list .pr-main { grid-area: main; }
  .pk-list .pr-num { grid-area: num; }
}

/* ---------- pick rows open the pick sheet (V-7): the name's link covers the row ---------- */
.pr-tap { position: relative; transition: border-color var(--t-fast); }
.pr-tap:hover { border-color: var(--line-3); }
.pr-open { color: inherit; text-decoration: none; }
.pr-open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pr-open:focus-visible { outline: none; }
.pr-tap:has(.pr-open:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pr-tap .pr-game { position: relative; z-index: 1; }

/* ---------- the pick sheet (V-7) ---------- */
.ps-head { margin: 0 0 16px; padding-right: 52px; }
.ps-who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ps-name { line-height: 1; }
.ps-follow { margin-left: auto; min-height: var(--tap); padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: none;
  color: var(--text-2); font: 600 var(--fs-sm)/1 var(--body); cursor: pointer; }
.ps-follow[aria-pressed="true"] { color: var(--close); border-color: rgba(255, 193, 77, .45); }
.ps-what { margin: 8px 0 0; color: var(--text-2); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: var(--fs-lg); }
.ps-what b { color: var(--text); font-variant-numeric: tabular-nums; }
.ps-what .side-over { color: var(--over); }
.ps-what .side-under { color: var(--under); }
.ps-game { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 10px 0 6px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); color: var(--text-2); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; }
.ps-game:hover { color: var(--text); border-color: var(--line-3); }
.ps-game svg:not(.badge) { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.ps-lead { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; border-radius: var(--r);
  background: var(--bg-2); border: 1px solid var(--line); }
.ps-lead.w-edge { border-color: rgba(198, 244, 50, .4); background: linear-gradient(110deg, rgba(198, 244, 50, .08), transparent 60%), var(--bg-2); }
.ps-dial { position: relative; width: 112px; height: 112px; }
.ps-dial-ring { width: 100%; height: 100%; display: block; }
.ps-dial-bg { fill: none; stroke: var(--surface-3); stroke-width: 9; }
.ps-dial-arc { fill: none; stroke: var(--flip); stroke-width: 9; stroke-linecap: round; }
.ps-dial-need { stroke: var(--text); stroke-width: 2.5; stroke-linecap: round; }
.ps-dial[data-word=edge] .ps-dial-arc { stroke: var(--accent); }
.ps-dial[data-word=close] .ps-dial-arc { stroke: var(--close); }
.ps-dial[data-word=no_edge] .ps-dial-arc { stroke: var(--muted); }
.ps-dial[data-word=app] .ps-dial-arc { stroke: var(--plat-pick6); }
.ps-dial-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ps-dial-mid b { font: 800 30px/1 var(--display); color: var(--text); }
.ps-dial[data-word=edge] .ps-dial-mid b { color: var(--accent); }
.ps-dial-mid span { margin-top: 3px; font-size: var(--fs-2xs); font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.ps-word { display: inline-block; padding: 5px 8px; border-radius: var(--r-xs); font: 800 var(--fs-sm)/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  background: var(--surface-3); color: var(--flip); }
.ps-lead.w-edge .ps-word { background: var(--accent); color: var(--accent-ink); }
.ps-lead.w-close .ps-word { background: var(--close-soft); color: var(--close); }
.ps-lead.w-no_edge .ps-word, .ps-lead.w-no_price .ps-word { background: none; border: 1px solid var(--line-2); color: var(--muted); }
.ps-lead.w-app .ps-word { background: none; border: 1px solid rgba(95, 212, 196, .35); color: var(--plat-pick6); }
.ps-lead-line { margin: 10px 0 0; color: var(--text-2); line-height: 1.45; }
.ps-lead-line b { color: var(--text); }
.ps-age { margin: 6px 0 0; font-size: var(--fs-xs); color: var(--muted); }
.ps-age.old { color: var(--close); font-weight: 700; }
.ps-sec { padding: 16px 0 4px; border-bottom: 1px solid var(--line); }
.ps-sec:last-of-type { border-bottom: 0; }
.ps-h { margin: 0 0 8px; font: 800 var(--fs-sm)/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ps-sec p { margin: 0 0 8px; line-height: 1.45; color: var(--text-2); }
.ps-sec b { color: var(--text); }
.ps-rec { color: var(--text) !important; }
.ps-warn { color: var(--close) !important; font-weight: 600; }
.ps-src { margin: 4px 0 8px; font-size: var(--fs-xs); color: var(--faint); line-height: 1.4; }
.ps-src a { color: var(--text-2); }
.ps-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-bottom: 6px; }
.ps-table th, .ps-table td { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: right; }
.ps-table th:first-child { text-align: left; }
.ps-table thead th { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.ps-table tbody th { font-weight: 600; color: var(--text); }
.ps-table td { color: var(--text-2); }
.ps-games-sum { color: var(--text) !important; }
.ps-bars { position: relative; display: flex; align-items: stretch; gap: 6px; height: 156px; margin: 10px 0 10px; padding: 20px 44px 0 0; }
.ps-bars-plot { position: absolute; left: 0; right: 0; top: 20px; bottom: 34px; pointer-events: none; z-index: 1; }
.ps-bars-line { position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed rgba(244, 247, 250, .55); }
.ps-bars-line span { position: absolute; right: 0; bottom: -9px; font: 700 var(--fs-2xs)/1 var(--body); color: var(--text); background: var(--surface);
  padding: 2px 5px; border-radius: var(--r-xs); border: 1px solid var(--line-2); }
.ps-bar { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.ps-bar-track { position: relative; flex: 1; width: 100%; max-width: 34px; }
.ps-bar-fill { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 5px 5px 2px 2px; background: var(--line-3); }
.ps-bar-v { position: absolute; left: 50%; transform: translate(-50%, -3px); font: 700 var(--fs-xs)/1 var(--body); color: var(--text); white-space: nowrap; }
.ps-bar.hit .ps-bar-fill { background: var(--good); }
.ps-bar.miss .ps-bar-fill, .ps-bar.push .ps-bar-fill { background: #2B3850; }
.ps-bar.dnp .ps-bar-v { color: var(--faint); font-size: var(--fs-2xs); }
.ps-bar-o { margin-top: 4px; font: 700 var(--fs-2xs)/16px var(--body); color: var(--text-2); white-space: nowrap; }
.ps-bar-d { font: 500 var(--fs-2xs)/14px var(--body); color: var(--faint); }
.ps-practice { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ps-chg { font-size: var(--fs-sm); }
.ps-app { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.ps-mini { padding: 2px 6px; border-radius: var(--r-xs); font: 800 var(--fs-2xs)/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase;
  background: var(--surface-3); color: var(--flip); }
.ps-mini.w-edge { background: var(--accent); color: var(--accent-ink); }
.ps-mini.w-close { background: var(--close-soft); color: var(--close); }
.ps-empty { margin: 8px 0 16px; }
/* SP-3 PS1: Add to slip pinned at the sheet's foot (outside the scrolling body). */
.ps-actions { flex: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line-2); box-shadow: 0 -14px 24px -16px rgba(0, 0, 0, .7); }
.ps-actions .btn { flex: 1 1 auto; justify-content: center; }
.ps-actions .ps-add { flex: 2 1 auto; }
.ps-actions .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.sh.ps-pinned .sh-body { padding-bottom: 16px; }
/* SP-3 PS2: More detail folds the record, the working, the books and the line's history. */
.ps-more { border-top: 1px solid var(--line); margin-top: 4px; }
.ps-more > summary { display: flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 10px 0; cursor: pointer; list-style: none;
  font: 800 var(--fs-sm)/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.ps-more > summary::-webkit-details-marker { display: none; }
.ps-more-k { flex: 1; min-width: 0; font: 500 var(--fs-xs)/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.ps-more > summary .pk-chev { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; color: var(--muted);
  transition: transform var(--t-fast) var(--ease); }
.ps-more[open] > summary .pk-chev { transform: rotate(180deg); }
.ps-more > summary:hover { color: var(--text); }
.ps-more > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-xs); }
.ps-more-body > .ps-sec:first-child { padding-top: 4px; }
.ps-more-body > .ps-sec:last-child { border-bottom: 0; }
.ps-sk { height: 120px; border-radius: var(--r); margin-bottom: 12px; }
.ps-sk.short { height: 60px; }
@media (max-width: 380px) {
  .ps-lead { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .ps-dial { width: 92px; height: 92px; }
  .ps-dial-mid b { font-size: 25px; }
}

/* ---------- the slip builder (V-8, plan 7.6) ---------- */
.pk-best { justify-self: start; margin: 0 0 12px; }
.pk-best svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.pk-tab[aria-checked="true"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.pk-tabs button.pk-tab { border: 0; background: none; cursor: pointer; }
.nx-panel-picks { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; color: var(--text-2); font-size: var(--fs-sm); }
.nx-panel-picks b { color: var(--text); }

.sb-screen { display: grid; gap: 14px; }  /* FP-1: Entries' heading and switch above the builder */
.sb { display: grid; gap: 14px; max-width: 1160px; }
.sb-cols { display: grid; gap: 14px; }
.sb-left, .sb-right { display: grid; gap: 14px; align-content: start; min-width: 0; }
.sb-head, .sb-find { max-width: 760px; }
/* One column (FP-2): the call first, like the Entries tab, then your entry, then what to do. */
@media (max-width: 1179px) {
  .sb-cols { display: flex; flex-direction: column; }
  .sb-left, .sb-right { display: contents; }
  .sb-meter { order: 1; }
  .sb-problems { order: 2; }
  .sb-card { order: 3; }
  .sb-improve { order: 4; }
  .sb-save { order: 5; }
}
@media (min-width: 1180px) {
  .sb-cols { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
  .sb-right { position: sticky; top: calc(var(--top-h) + 16px); }
}
/* POL-1 pass 6: on the full page the verdict column starts at the top, beside the title, instead of
   under it with an empty corner above; the picks, notes and fill chips run down the left. */
@media (min-width: 1180px) {
  .sb:not(.sb-in-panel) { grid-template-columns: minmax(0, 1fr) 380px; column-gap: 20px; align-items: start; }
  .sb:not(.sb-in-panel) > *, .sb:not(.sb-in-panel) .sb-body > *, .sb:not(.sb-in-panel) .sb-left { grid-column: 1; }
  .sb:not(.sb-in-panel) .sb-body, .sb:not(.sb-in-panel) .sb-cols { display: contents; }
  .sb:not(.sb-in-panel) .sb-right { grid-column: 2; grid-row: 1 / span 6; }
  .sb:not(.sb-in-panel) .sb-head, .sb:not(.sb-in-panel) .sb-find { max-width: none; }
}
.sb-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
.sb-other-gear { color: var(--muted); }
/* Phones (POL-1): the app switch across the width, so the picks start higher. The gear switch sits
   in the verdict (FP-9), not here. */
@media (max-width: 599px) {
  .sb-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: stretch; }
  .sb-head .sb-apps { display: flex; }
  .sb-head .sb-apps .pk-tab { flex: 1; justify-content: center; padding: 0 4px; letter-spacing: .05em; font-size: var(--fs-sm); }
}
.sb-title { margin-top: 4px; }
.sb-find { display: grid; gap: 8px; }
.sb-results:empty { display: none; }
.sb-found { gap: 6px; }
.sb-more { font-size: var(--fs-sm); font-weight: 700; color: var(--accent); }
.sb-none { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.sb-body { display: grid; gap: 14px; }
.sb-sk { height: 150px; border-radius: var(--r); }
.sb-sk.short { height: 90px; }
/* FP-2: your entry's picks are the Entries tab's lineup rows (en-p), each a button that opens
   the pick's sheet. */
.sb-card { min-width: 0; }
.sb-pick { list-style: none; }
.sb-p { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.sb-p:hover { border-color: var(--line-3); }
.sb-p:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sb-pick[data-state="locked"] .sb-p, .sb-pick[data-state="gone"] .sb-p { border-color: rgba(255, 138, 138, .4); background: rgba(255, 138, 138, .05); }
.sb-p .en-p-chance.none, .sb-num.none .en-p-chance { color: var(--muted); }
.sb-pick:not([data-word="edge"]):not([data-word="close"]) .en-p-chance { color: var(--text); }
.sb-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.sb-line b { font-variant-numeric: tabular-nums; }
.sb-typed { font-size: var(--fs-2xs); font-weight: 700; color: var(--close); }
.sb-word { display: inline-block; padding: 5px 6px; border-radius: var(--r-xs);
  font: 800 var(--fs-xs)/1 var(--display); letter-spacing: .12em; text-transform: uppercase; background: var(--surface-3); color: var(--flip); }
.sb-word.w-edge { background: var(--accent); color: var(--accent-ink); }
.sb-word.w-close { background: var(--close-soft); color: var(--close); }
.sb-word.w-no_edge, .sb-word.w-no_price { color: var(--muted); background: none; border: 1px solid var(--line-2); }
.sb-word.w-app { color: var(--plat-pick6); background: none; border: 1px solid rgba(95, 212, 196, .35); }
.sb-word.w-locked, .sb-word.w-gone { color: var(--bad); background: none; border: 1px solid rgba(255, 138, 138, .4); }
.sb-p .sb-word { min-width: 0; margin: 0; padding: 0; border: 0; background: none; text-align: right;
  font: 700 11px/1.2 var(--body); letter-spacing: .02em; text-transform: none; color: var(--text-2); }
.sb-p .sb-word.w-edge { color: var(--accent); }
.sb-p .sb-word.w-close { color: var(--close); }
.sb-p .sb-word.w-locked, .sb-p .sb-word.w-gone { color: var(--bad); }
.sb-p .sb-word.t-1 { box-shadow: none; }
.sb-line-in { width: 110px; min-height: var(--tap); padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--accent); background: var(--surface);
  color: var(--text); font: 700 var(--fs-lg) var(--body); }
.btn.sb-mini { min-height: var(--tap); padding: 0 12px; font-size: var(--fs-sm); }
.sb-why { margin: 0; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.45; }
/* The pick's sheet: the details the row can't hold and what you can do to the pick. */
.sb-sh { display: grid; gap: 12px; padding-bottom: 24px; }
.sb-sh .eyebrow { margin: 0; }
.sb-sh-who { margin: 0; overflow-wrap: anywhere; }
.sb-sh-who .pr-team { font-size: var(--fs); }
.sb-sh-what { margin: 0; font: 700 var(--fs-lg)/1.3 var(--body); color: var(--text-2); }
.sb-sh-num { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.sb-sh-num > b { font: 800 40px/1 var(--display); color: var(--text); }
.sb-sh-num > span:not(.sb-word):not(.pr-st):not(.pr-shaky) { color: var(--muted); font-size: var(--fs-sm); }
.sb-sh-swap { display: grid; gap: 8px; justify-items: start; padding: 12px 14px; border-radius: var(--r); border: 1px solid rgba(198, 244, 50, .38); background: var(--bg-2); }
.sb-sh-swap p { margin: 0; color: var(--text-2); line-height: 1.45; }
.sb-sh-swap b { color: var(--text); }
.sb-sh-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-sh-acts .btn { flex: 1 1 140px; min-height: var(--tap); }
.sb-sh-line { display: grid; gap: 8px; justify-items: start; }
.sb-sh-l { display: grid; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); }
.sb-sh-line .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-sh-pick { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 700; color: var(--accent); }

.sb-meter { display: grid; gap: 10px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); }
.sb-meter.v-worth_it { border-color: rgba(198, 244, 50, .5); background: linear-gradient(100deg, var(--accent-soft), transparent 60%), var(--surface); }
.sb-meter.v-not_worth { border-color: rgba(255, 138, 138, .35); }
.sb-meter.quiet { background: var(--bg-2); }
/* FP-2: the call, in the Entries tab's words; a smaller word than tonight's call (it's one entry). */
.sb-call .en-word { font-size: clamp(40px, 11vw, 60px); }
.en-call.dont { border-color: rgba(255, 193, 77, .38);
  background: radial-gradient(120% 90% at 0% 0%, var(--close-soft), transparent 60%), var(--surface); }
.en-call.dont .en-word { color: var(--close); }
.en-call.wait .en-word { font-size: clamp(30px, 8vw, 40px); }
.sb-call.quiet { background: var(--bg-2); box-shadow: none; }
.sb-m-lead { margin: 0; color: var(--text-2); line-height: 1.5; }
.sb-m-lead b { color: var(--text); }
.sb-m-sub { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.sb-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sb-type { position: relative; display: grid; gap: 2px; justify-items: start; min-height: 64px; padding: 10px 12px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text-2); font: 600 var(--fs-sm) var(--body); text-align: left; cursor: pointer; }
.sb-type b { font: 800 var(--fs-lg)/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.sb-type[aria-checked="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.sb-type i { position: absolute; top: 8px; right: 10px; font: 700 var(--fs-2xs)/1 var(--body); font-style: normal; color: var(--accent); }
.sb-shows { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.sb-shows-in { width: 110px; min-height: var(--tap); padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--text); font: 700 var(--fs-lg) var(--body); }
.sb-shows-in:focus, .sb-line-in:focus { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); border-color: var(--accent); }
.sb-problems, .sb-notes { margin: 0; padding: 12px 14px 12px 32px; border-radius: var(--r); display: grid; gap: 6px; font-size: var(--fs-sm); line-height: 1.45; }
.sb-problems { background: rgba(255, 138, 138, .08); border: 1px solid rgba(255, 138, 138, .35); color: var(--text); }
.sb-notes { background: var(--bg-2); border: 1px solid var(--line); color: var(--text-2); }
/* FP-5: "Improve it": the one best fix (a swap or a better size), another behind a tap, Fill it for me. */
.sb-improve { display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2); }
.sb-improve:has(.sb-swap, .sb-size) { border-color: rgba(198, 244, 50, .38); }
.sb-improve .eyebrow { margin: 0; }
.sb-swap { display: grid; gap: 8px; justify-items: start; }
.sb-swap p { margin: 0; color: var(--text-2); line-height: 1.5; }
.sb-swap b { color: var(--text); }
/* EN-3: the chart's sweet spots. A slip of a size the builder wouldn't suggest says what to do. */
.sb-size { display: grid; gap: 8px; justify-items: start; }
.sb-size p { margin: 0; color: var(--text-2); line-height: 1.5; }
.sb-range { white-space: nowrap; }
.sb-save .actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* EN-8b (B4): Enter and Save first; Fill it for me, Copy, Clear and Check lines now quieter below. */
.sb-quiet { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.sb-more-menu { margin-top: 8px; }
.sb-more-menu[open] > summary { margin-bottom: 6px; }
.sb-fill { display: grid; gap: 8px; justify-items: start; }
.sb-quiet .btn { color: var(--text-2); }
.sb-fill-b[aria-expanded="true"] { color: var(--text); border-color: var(--line-3); }
.sb-fill-to { margin: 0; }
.sb-save .sb-lines { margin: 10px 0 0; }
.sb-save .sb-lines .btn { min-height: var(--tap); font-size: var(--fs-sm); background: none; color: var(--text-2); }
.sb-save .sb-lines .gm-refresh-msg { font-size: var(--fs-xs); }
/* EN-8b (B2): the verdict in one line, the numbers behind "Show the math". */
.sb-m-one { color: var(--text); font-weight: 600; }
.sb-math { border-top: 1px solid var(--line); }
/* The quiet fold: "Show the math" (builder), "Weather details" (game screen, SP-2 G1). */
:is(.sb-math, .gm-more, .sb-more-menu) > summary { display: flex; align-items: center; gap: 8px; min-height: var(--tap); cursor: pointer; list-style: none;
  font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); }
:is(.sb-math, .gm-more, .sb-more-menu) > summary::-webkit-details-marker { display: none; }
:is(.sb-math, .gm-more, .sb-more-menu) > summary:hover { color: var(--text); }
:is(.sb-math, .gm-more, .sb-more-menu) > summary .pk-chev { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform var(--t); }
:is(.sb-math, .gm-more, .sb-more-menu)[open] > summary .pk-chev { transform: rotate(180deg); }
.gm-more { margin-top: 6px; }
.sb-math > :not(summary) { margin: 0 0 8px; line-height: 1.5; }
.sb-gear-l a { color: var(--text); }
.sb-rec { line-height: 1.5; color: var(--text-2) !important; }
.sb-other-fix[open] > .sb-size, .sb-other-fix[open] > .sb-swap { margin-bottom: 4px; }
.sb-title-n { font: 600 var(--fs-sm)/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.sb-empty-more { margin: 4px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.sb-empty-more a { color: var(--text); }
.sb-save-note { margin: 6px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.sb-enter { display: grid; gap: 8px; max-width: 420px; margin-top: 12px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); }
.sb-enter label { font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); }
.sb-enter input[type="number"] { min-height: var(--tap); padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--text); font: 700 var(--fs-lg) var(--body); }
.sb-enter fieldset { border: 0; margin: 0; padding: 0; display: flex; gap: 16px; align-items: center; }
.sb-enter legend { font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.sb-enter fieldset label { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-size: var(--fs); color: var(--text); }
/* TR-3: Log an entry (ui/logentry.js): the sheet's lists, day and "How did it go?" */
.sb-enter select, .sb-enter input[type="date"] { min-height: var(--tap); padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font: 600 var(--fs) var(--body); color-scheme: dark; }
.sb-enter fieldset { flex-wrap: wrap; }
.sb-enter fieldset[hidden], .sb-enter label[hidden], .lg-more[hidden] { display: none; }
.lg-out { display: grid; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.lg-more { display: grid; gap: 8px; }
.lg-hint { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.lg-foot { margin-top: 12px; }
.lg-box > summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; font-weight: 600; }
.sb-enter-st { margin: 0; min-height: 1.2em; color: var(--close); font-size: var(--fs-sm); }
.sb-empty { padding: 22px; }
/* After one of tonight's entries is entered: the next one, one tap away (EN-2) */
.sb-next-picks { display: grid; gap: 6px; margin: 8px 0 0; padding: 0 0 0 20px; color: var(--text-2); }
.sb-vw { font-weight: 800; }
.sb-vw.v-worth_it { color: var(--accent); }
.sb-vw.v-about_even { color: var(--close); }
.sb-vw.v-not_worth { color: var(--bad); }
/* V-8b: Check lines now, entry mode (one pick per screen, large type), Copy as text. */
.sb-lines { margin: 4px 0 14px; }
.sb-em-dots { display: flex; gap: 6px; list-style: none; margin: 4px 60px 22px 0; padding: 0; }
.sb-em-dots li { flex: 1; height: 4px; border-radius: 2px; background: var(--line-2); }
.sb-em-dots li.done { background: var(--line-3); }
.sb-em-dots li.on { background: var(--text); }
.sb-em { display: grid; gap: 6px; padding: 8px 0 24px; }
.sb-em-who { margin: 8px 0 0; font: 800 clamp(40px, 11vw, 56px)/1 var(--display); letter-spacing: .01em; color: var(--text); overflow-wrap: anywhere; }
.sb-em-meta { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.sb-em-stat { margin: 18px 0 0; font: 700 var(--fs-h2)/1.1 var(--display); letter-spacing: .03em; color: var(--text-2); text-transform: uppercase; }
.sb-em-line { margin: 0; font: 800 clamp(48px, 14vw, 72px)/1 var(--display); font-variant-numeric: tabular-nums; }
.sb-em-line.side-over { color: var(--over); }
.sb-em-line.side-under { color: var(--under); }
.sb-em-stake h2 { margin: 4px 0 0; }
.sb-em-stake .muted { margin: 0; }
.sb-em-nav { display: flex; gap: 12px; margin-top: 18px; }
.sb-em-nav .btn { min-width: 110px; min-height: 52px; }
.sb-em-nav .sb-em-next { flex: 1; }
.sb-em-hint { margin: 14px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.sh .sb-enter { max-width: none; }
.sb-copy-area { width: 100%; padding: 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text);
  font: 500 var(--fs)/1.5 var(--body, inherit); resize: vertical; }

/* V-8c: players with no line today (added at the line the app shows), and the builder in the
   desktop's right panel (one narrow column, like a phone). */
.sb-off { display: grid; gap: 8px; margin-top: 4px; }
.sb-op-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sb-op { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 10px 12px;
  border-radius: var(--r); background: var(--bg-2); border: 1px dashed var(--line-2); }
.sb-op-main { min-width: 0; }
.sb-op-sp { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.sb-op-st { margin: 3px 0 0; color: var(--muted); font-size: var(--fs-xs); line-height: 1.4; }
.sb-op-form { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 12px;
  padding-top: 8px; border-top: 1px solid var(--line); }
.sb-op-form label, .sb-op-lab { font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); }
.sb-op-in { min-height: var(--tap); padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface);
  color: var(--text); font: 600 var(--fs) var(--body); min-width: 0; }
.sb-op-in:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.sb-op-line { max-width: 140px; }
.sb-op-sides { display: inline-flex; gap: 6px; }
.sb-op-side { min-height: var(--tap); min-width: 76px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: none;
  color: var(--text-2); font: 700 var(--fs-sm) var(--body); cursor: pointer; }
.sb-op-side[aria-checked="true"].side-over { border-color: var(--over); color: var(--over); box-shadow: inset 0 0 0 1px var(--over); }
.sb-op-side[aria-checked="true"].side-under { border-color: var(--under); color: var(--under); box-shadow: inset 0 0 0 1px var(--under); }
.sb-op-form .btn { grid-column: 1 / -1; justify-self: start; }

.sb-in-panel { gap: 12px; max-width: none; }
.sb-in-panel .sb-head { flex-direction: column; align-items: stretch; gap: 8px; }
.sb-in-panel .sb-apps { justify-self: stretch; display: flex; }
.sb-in-panel .sb-apps .pk-tab { flex: 1; justify-content: center; padding: 0 10px; }
.sb-in-panel .sb-cols { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.sb-in-panel .sb-left, .sb-in-panel .sb-right { display: contents; }
.sb-in-panel .sb-meter { order: 1; }
.sb-in-panel .sb-problems { order: 2; }
.sb-in-panel .sb-card { order: 3; }
.sb-in-panel .sb-improve { order: 4; }
.sb-in-panel .sb-save { order: 5; }
.sb-in-panel .sb-call .en-word { font-size: 34px; }
.sb-in-panel .sb-card { padding: 12px; }
.sb-in-panel .sb-meter { padding: 14px; }
.sb-in-panel .sb-save .actions .btn { flex: 1 1 auto; }
.sb-in-panel .sb-empty { padding: 16px; }
.sb-in-panel .sb-op { grid-template-columns: minmax(0, 1fr); }
.sb-in-panel .sb-op > .btn { justify-self: start; }
.sb-in-panel .sb-op-form { grid-template-columns: minmax(0, 1fr); }
.sb-in-panel .sb-op-line { max-width: none; }
.sb-in-panel .pk-src { font-size: var(--fs-2xs); }
.sb-in-panel .pk-list { grid-template-columns: minmax(0, 1fr); }  /* POL-1: the panel's search results, one per line */

/* ---------- My slips and the slip ticket (V-9) ---------- */
.ms-head { flex-wrap: wrap; }
.ms-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
/* TR-3: Log an entry, beside the title */
.ms-title { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.ms-log { min-height: var(--tap); }
.ms-tabs::-webkit-scrollbar { display: none; }
.ms-tabs .pk-tab { padding: 0 14px; white-space: nowrap; }
@media (max-width: 599px) {
  .ms-head { display: grid; justify-content: stretch; }
  .ms-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .ms-tabs .pk-tab { justify-content: center; gap: 5px; padding: 0 4px; font-size: var(--fs-sm); letter-spacing: .04em; }
}
.scr > .tk-demo { margin-bottom: 14px; }
.gm-top .gm-when { margin-left: auto; }
.gm-top .gm-follow { margin-left: 0; flex: none; }
.ms-body { display: grid; gap: 14px; }
.ms-lead { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.ms-lead-title { margin: 0; font: 800 24px/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.ms-lead-sub { margin: 4px 0 0; font-size: var(--fs-sm); color: var(--text-2); }
.ms-list { display: grid; gap: 12px; }
.ms-hint, .ms-sum { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.ms-sum b { font: 800 var(--fs-h3)/1 var(--display); letter-spacing: .02em; color: var(--text); }
.pos { color: var(--good) !important; }
.neg { color: var(--bad) !important; }
.ms-foot { margin: 22px 0 0; color: var(--faint); font-size: var(--fs-xs); }
@media (min-width: 1100px) { .ms-active .ms-list, .ms-results .ms-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

.tk { position: relative; display: grid; gap: 10px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.tk.ph-during { border-color: rgba(255, 77, 94, .45); }
.tk.ph-during.is-final { border-color: var(--line-2); }  /* EN-7: settled by the live box score */
.tk.r-won { border-color: rgba(110, 224, 162, .4); }
.tk-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tk-app { font: 800 var(--fs-sm)/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.tk-app.app-prizepicks::before, .tk-app.app-pick6::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%;
  vertical-align: 1px; background: var(--plat-prizepicks); }
.tk-app.app-pick6::before { background: var(--plat-pick6); }
.tk-logged { padding: 3px 7px; border-radius: var(--r-xs); border: 1px solid var(--line-2); color: var(--text-2); font: 700 var(--fs-2xs)/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.tk-sample { padding: 3px 7px; border-radius: var(--r-xs); border: 1px solid var(--line-2); color: var(--muted); font: 700 var(--fs-2xs)/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.tk-lead-link { color: inherit; text-decoration: none; }
.tk-lead-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }  /* the whole card opens the ticket */
.tk-lead-link:focus-visible { outline: none; }
.tk-card:has(.tk-lead-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.tk-card:hover { border-color: var(--line-3); }
.tk-lead { margin: 0; font: 800 24px/1.05 var(--display); letter-spacing: .02em; color: var(--text); }
.tk-lead-lg { font-size: var(--fs-h1); }
.tk-lead.good { color: var(--good); }
.tk-lead.bad { color: var(--bad); }
.tk-lead.live { color: var(--text); }
.tk-lead.muted { color: var(--text-2); }
.tk-sub { margin: -4px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.tk-heads { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: start; padding: 10px 12px; border-radius: var(--r);
  background: var(--close-soft); border: 1px solid rgba(255, 193, 77, .35); }
.tk-heads.bad { background: rgba(255, 138, 138, .1); border-color: rgba(255, 138, 138, .4); }
.tk-heads-k { font: 800 var(--fs-xs)/1.5 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--close); }
.tk-heads.bad .tk-heads-k { color: var(--bad); }
.tk-heads ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; color: var(--text); font-size: var(--fs-sm); line-height: 1.4; }
.tk-heads-more { grid-column: 2; margin: 0; color: var(--text-2); font-size: var(--fs-xs); }
.tk-picks, .tk-games { display: grid; gap: 6px; }
.tk-games { gap: 14px; }
.tk-pick { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 8px 10px;
  border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.tk-full .tk-pick { padding: 12px; }
a.tk-tap:hover { border-color: var(--line-3); }
a.tk-tap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tk-card .tk-pick { z-index: 0; }
.tk-pick .sb-word { min-width: 74px; }
.tk-main { min-width: 0; }
.tk-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tk-who b { font-weight: 700; color: var(--text); }
.tk-what { margin-top: 3px; color: var(--text-2); font-size: var(--fs-sm); }
.tk-what b { font-variant-numeric: tabular-nums; color: var(--text); }
.tk-what .side-over { color: var(--over); }
.tk-what .side-under { color: var(--under); }
.tk-moved { color: var(--close); font-weight: 600; }
.tk-flag { margin: 6px 0 0; font-size: var(--fs-sm); line-height: 1.4; color: var(--text-2); }
.tk-flag.bad { color: var(--bad); }
.tk-flag.warn { color: var(--close); }
.tk-num { text-align: right; min-width: 64px; }
.tk-num b { display: block; font: 800 var(--fs-xl)/1 var(--display); letter-spacing: .02em; color: var(--text); }
.tk-num span { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; }
.tk-num.up span { color: var(--good); }
.tk-num.down span { color: var(--bad); }
.tk-card .tk-num b { font-size: var(--fs-lg); }
.tk-oc { min-width: 74px; text-align: center; padding: 5px 6px; border-radius: var(--r-xs); font: 800 var(--fs-xs)/1 var(--display); letter-spacing: .12em;
  text-transform: uppercase; border: 1px solid var(--line-2); color: var(--muted); }
.tk-oc.oc-hit { background: rgba(110, 224, 162, .16); border-color: rgba(110, 224, 162, .45); color: var(--good); }
.tk-oc.oc-miss { background: rgba(255, 138, 138, .12); border-color: rgba(255, 138, 138, .4); color: var(--bad); }
.tk-pick.s-started { border-style: dashed; }
.tk-flash { animation: tk-flash 2.4s var(--ease) 1; border-color: var(--accent); }
@keyframes tk-flash { 0%, 40% { box-shadow: 0 0 0 3px var(--accent-soft); } 100% { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .tk-flash { animation: none; } }
.tk-game-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 2px 8px; font: 700 var(--fs)/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.tk-game-h a { display: inline-flex; align-items: center; min-height: var(--tap); margin: -13px 0; color: var(--text); text-decoration: none; }
.tk-game-h a:hover { text-decoration: underline; }
.tk-game-h .muted { font: 500 var(--fs-sm) var(--body); letter-spacing: 0; text-transform: none; }
.tk-same { padding: 2px 6px; border-radius: var(--r-xs); background: var(--surface-3); color: var(--text-2); font: 700 var(--fs-2xs)/1.3 var(--body); letter-spacing: .04em; text-transform: none; }
.tk-game { display: grid; gap: 6px; }
.tk-meter { padding: 12px 14px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.tk-meter p { margin: 0; }
.tk-m-main { font-size: var(--fs); color: var(--text-2); }
.tk-m-main b { font: 800 var(--fs-xl)/1 var(--display); color: var(--text); }
.tk-m-sub { margin-top: 6px !important; font-size: var(--fs-sm); color: var(--text-2); }
.tk-w { font-weight: 800; }
.tk-w.w-worth_it { color: var(--accent); }
.tk-w.w-about_even { color: var(--close); }
.tk-w.w-not_worth { color: var(--bad); }
/* SP-3 S1: My slips' compact card: a dot per pick next to the stake. */
.tk-card { gap: 8px; }
.tk-card-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tk-card-row .tk-sub { margin: 0; }
.tk-dots { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.tk-dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-3);
  font: 800 12px/1 var(--display); color: var(--text-2); }
.tk-dot.t-good { background: rgba(110, 224, 162, .16); border-color: var(--good); color: var(--good); }
.tk-dot.t-bad { background: rgba(255, 138, 138, .12); border-color: var(--bad); color: var(--bad); }
.tk-dot.t-live { border-color: var(--text-2); }
.tk-dot.t-up { border-style: dashed; }
.tk-dot.lv-moment { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); animation: lv-moment 1.3s var(--ease) 1; }
.tk-card .tk-heads { padding: 8px 10px; }
/* S3: before the game a pick's number says it ("55% now · was 56%"); Tier 1 or 2 under it. */
.tk-pick.no-tag { grid-template-columns: minmax(0, 1fr) auto; }
.tk-tier { display: inline-block; margin-top: 4px; padding: 2px 6px; border-radius: var(--r-xs); font: 800 var(--fs-2xs)/1.3 var(--display);
  letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); }
.tk-num .tk-tier { display: inline-block; color: var(--accent-ink); }
.tk-screen { display: grid; gap: 14px; max-width: 760px; }
.tk-back { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: var(--tap); color: var(--text-2); text-decoration: none; font-weight: 600; }
.tk-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.tk-back:hover { color: var(--text); }
.tk-demo { margin: 0; padding: 10px 12px; border-radius: var(--r); background: var(--close-soft); color: var(--text); font-size: var(--fs-sm); }
.tk-actions { display: grid; gap: 12px; }
.tk-actions .actions, .tk-del .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tk-act-box { padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.tk-act-box summary { cursor: pointer; color: var(--text-2); min-height: var(--tap); display: flex; align-items: center; }
.tk-paid { display: grid; gap: 8px; max-width: 360px; }
.tk-paid label { font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); }
.tk-paid-row { display: flex; gap: 8px; }
.tk-paid input { flex: 1; min-width: 0; min-height: var(--tap); padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: 600 var(--fs) var(--body); }
.tk-note { margin: 0 0 10px; color: var(--close); font-size: var(--fs-sm); }
.tk-del p { margin: 0 0 10px; color: var(--text-2); }
.tk-del-yes { border-color: rgba(255, 138, 138, .5); color: var(--bad); }
.tk-foot { margin: 0; color: var(--faint); font-size: var(--fs-xs); line-height: 1.5; }
@media (max-width: 599px) {
  .tk-pick { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "word num" "main num"; row-gap: 6px; }
  .tk-pick.no-tag { grid-template-areas: "main num"; }
  .tk-pick > .sb-word, .tk-pick > .tk-oc { grid-area: word; justify-self: start; min-width: 0; }
  .tk-main { grid-area: main; }
  .tk-num { grid-area: num; }
  .tk-lead-lg { font-size: 30px; }
}

/* TR-1: your record's headline (W-L, net, back per $1) with its Week · Month · All time switch */
.rh-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.rh-sw { display: inline-grid; grid-auto-flow: column; gap: 3px; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.rh-o { min-height: var(--tap); padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font: 600 var(--fs-sm)/1 var(--body); cursor: pointer; white-space: nowrap; }
.rh-o:hover { color: var(--text); }
.rh-o[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); }
.rh-o:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rh-body { display: grid; gap: 8px; }
.rh-nums { display: grid; grid-template-columns: auto auto auto; justify-content: start; gap: 4px 28px; align-items: end; }
.rh-n { display: grid; gap: 4px; min-width: 0; }
.rh-n b { font: 800 34px/1 var(--display); color: var(--text); letter-spacing: .01em; }
.rh-n b.rh-wl { font-size: 54px; }
.rh-n b.pos { color: var(--good); } .rh-n b.neg { color: var(--bad); }
.rh-n span { font: 700 var(--fs-2xs)/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rh-sub { color: var(--muted); font-size: var(--fs-sm); line-height: 1.45; }
@media (max-width: 420px) { .rh-nums { gap: 4px 18px; } .rh-n b { font-size: 28px; } .rh-n b.rh-wl { font-size: 44px; } .rh-o { padding: 0 10px; } }
.rh-table th, .rh-table td { padding: 8px 6px; }
.rh-table td.num, .rh-table th.num { text-align: right; }
/* TR-2: money over time (one line, $0 marked, a dashed tick at the monthly limit; crosshair + tip) */
.ch-wrap { position: relative; }
.ch-money { cursor: crosshair; touch-action: pan-y; }
.ch-money:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.ch.ch-money { width: 100%; height: 220px; }
.ch-line { fill: none; stroke: var(--over); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ch-end { fill: var(--surface); stroke: var(--over); stroke-width: 2; }
.ch-end-t { fill: var(--text); font-weight: 700; }
.ch-cross { stroke: var(--line-3); stroke-width: 1; }
.ch-limit { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 5 4; }
.ch-tip { position: absolute; top: 28px; transform: translateX(8px); display: grid; gap: 3px; padding: 8px 10px; width: max-content; max-width: 220px;
  border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-3); font-size: var(--fs-xs); line-height: 1.35;
  color: var(--text); pointer-events: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.ch-tip.flip { transform: translateX(calc(-100% - 8px)); }
.ch-tip .pos { color: var(--good); } .ch-tip .neg { color: var(--bad); }
.ch-tip-limit { color: var(--muted); }
.ch-tip[hidden] { display: none; }
.ms-card { padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; min-width: 0; }
.ms-card .h3, .ms-card p { margin: 0; }
.ms-table-wrap { overflow-x: auto; }
.ms-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.ms-table th, .ms-table td { padding: 9px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.ms-table thead th { color: var(--muted); font-weight: 600; font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; }
.ms-table tbody th { color: var(--text); font-weight: 600; }
.ms-table td { color: var(--text-2); }
.ms-split summary { display: flex; align-items: center; justify-content: space-between; min-height: var(--tap); cursor: pointer; list-style: none;
  font-weight: 600; color: var(--text); }
.ms-split summary::-webkit-details-marker { display: none; }
/* S4: a record card folded, its takeaway on the fold. */
.ms-fold > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: var(--tap); cursor: pointer; list-style: none; }
.ms-fold > summary::-webkit-details-marker { display: none; }
.ms-fold > summary .h3 { margin: 0; }
.ms-fold-k { flex: 1; min-width: 0; color: var(--text-2); font-size: var(--fs-sm); }
.ms-fold > summary .pk-chev { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; color: var(--muted);
  transition: transform var(--t-fast) var(--ease); }
.ms-fold[open] > summary .pk-chev { transform: rotate(180deg); }
.ms-fold > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-xs); }
.ms-fold[open] > summary { margin-bottom: 8px; }
.ms-split[open] .pk-chev { transform: rotate(180deg); }
/* My record depth (W-4): lately, week-by-week charts, monthly limit */
.ms-facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ms-facts li { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.ms-charts { display: grid; gap: 14px; }
@media (min-width: 900px) { .ms-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ms-chart { margin: 0; min-width: 0; }
.ms-chart figcaption { margin-bottom: 6px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ch { display: block; width: 100%; height: auto; overflow: visible; }
.ch-ax { fill: var(--muted); font: 500 var(--fs-sm)/1 var(--body); font-variant-numeric: tabular-nums; }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-zero { stroke: var(--line-3); stroke-width: 1.5; }
.ch-be { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 5 4; }
.ch-be-t { fill: var(--muted); }
.ch-target { fill: transparent; }
.ch-hit:hover .ch-target { fill: rgba(255, 255, 255, .04); }
.ch-bar.up { fill: var(--good); }
.ch-bar.down { fill: var(--bad); }
.ch-range { stroke: var(--over); stroke-width: 2; stroke-linecap: round; opacity: .7; }
.ch-dot { fill: var(--over); stroke: var(--surface); stroke-width: 2; }
.ms-limit-form .me-field { max-width: 240px; }
.ms-limit-form .me-row { margin-top: 8px; }
.ms-meter { height: 8px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; }
.ms-meter-fill { display: block; height: 100%; border-radius: inherit; background: var(--accent); min-width: 2px; }
.ms-meter-fill.over { background: var(--close); }
.ms-limit-over { color: var(--close); font-weight: 600; }
.ms-weeks th, .ms-weeks td, .ms-stats td { white-space: nowrap; }
.ms-follows { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-follow { display: inline-flex; align-items: center; gap: 2px; padding: 0 0 0 12px; min-height: var(--tap); border-radius: var(--r-pill); background: var(--surface);
  border: 1px solid var(--line-2); font-size: var(--fs-sm); color: var(--text); }
.ms-follow-k { font: 800 var(--fs-2xs)/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ms-follow-x { display: grid; place-items: center; width: var(--tap); height: var(--tap); margin: -1px 0; border-radius: 50%; border: 0; background: none; color: var(--muted); cursor: pointer; }
.ms-follow-x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.ms-follow-x:hover { color: var(--text); background: var(--surface-3); }
.ms-feed { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ms-feed-row { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; }
a.ms-feed-row:hover { border-color: var(--line-3); }
.ms-feed-k { margin-top: 1px; padding: 4px 6px; border-radius: var(--r-xs); text-align: center; font: 800 var(--fs-2xs)/1 var(--display); letter-spacing: .1em;
  text-transform: uppercase; background: var(--surface-3); color: var(--text-2); }
.ms-feed-k.k-status { background: var(--close-soft); color: var(--close); }
.ms-feed-k.k-edge { background: var(--accent-soft); color: var(--accent); }
.ms-feed-k.k-line { color: var(--over); }
.ms-feed-who { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.ms-feed-who b { color: var(--text); }
.ms-feed-what { margin-top: 3px; color: var(--text-2); font-size: var(--fs-sm); }
.ms-feed-what s { color: var(--muted); }
.ms-feed-what b { color: var(--text); }
.ms-feed-what b.warn { color: var(--close); }
.ms-feed-what b.edge { color: var(--accent); }
.ms-feed-meta { margin-top: 4px; color: var(--faint); font-size: var(--fs-xs); }

/* ---------- Live progress (V-11): /api/live and live tickets ---------- */
.lv-list { display: grid; gap: 6px; }
.lv-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 12px;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.lv-row.t-good { border-color: rgba(110, 224, 162, .35); }
.lv-row.t-bad { border-color: rgba(255, 138, 138, .35); }
.lv-main { min-width: 0; }
.lv-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.lv-who b { color: var(--text); font-weight: 700; }
.lv-what { margin-top: 3px; color: var(--text-2); font-size: var(--fs-sm); }
.lv-what b { color: var(--text); font-variant-numeric: tabular-nums; }
.lv-what .side-over { color: var(--over); }
.lv-what .side-under { color: var(--under); }
.lv-close { color: var(--muted); }
.lv-text, .tk-live-text { margin: 6px 0 0; font-size: var(--fs-sm); line-height: 1.35; color: var(--text); font-variant-numeric: tabular-nums; }
.lv-row.t-bad .lv-text { color: var(--bad); }
.lv-row.t-good .lv-text { color: var(--good); }
.lv-num b { display: block; min-width: 44px; text-align: right; font: 800 24px/1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.lv-tag { min-width: 74px; text-align: center; padding: 5px 6px; border-radius: var(--r-xs); font: 800 var(--fs-xs)/1 var(--display); letter-spacing: .1em;
  text-transform: uppercase; border: 1px solid var(--line-2); color: var(--muted); }
.lv-tag.t-live { background: var(--live-soft); border-color: rgba(255, 77, 94, .45); color: #FFB3BA; }
.lv-tag.t-good { background: rgba(110, 224, 162, .16); border-color: rgba(110, 224, 162, .45); color: var(--good); }
.lv-tag.t-bad { background: rgba(255, 138, 138, .12); border-color: rgba(255, 138, 138, .4); color: var(--bad); }
.lv-bar { position: relative; height: 6px; margin-top: 8px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.lv-bar::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 2px; background: var(--line-3); }  /* the line */
.lv-fill { display: block; height: 100%; border-radius: inherit; background: var(--over); transition: width .9s var(--ease), background-color .4s var(--ease); }
.lv-bar.under .lv-fill { background: var(--under); }
.lv-bar.t-good .lv-fill { background: var(--good); }
.lv-bar.t-bad .lv-fill { background: var(--bad); }
.lv-note { margin-top: 10px; }
.tk-score { font: 800 var(--fs)/1.2 var(--display); letter-spacing: .04em; color: var(--text); }
.tk-pick.lv-there, .tk-pick.lv-room, .tk-pick.lv-needs { border-style: solid; }
.tk-pick.lv-dead { border-color: rgba(255, 138, 138, .4); }
.tk-pick.lv-there { border-color: rgba(110, 224, 162, .4); }
@media (max-width: 420px) {
  .lv-row { grid-template-columns: minmax(0, 1fr) auto; }
  .lv-row .lv-tag { grid-column: 1 / -1; justify-self: start; min-width: 0; }
}
.tk-pick .lv-tag { justify-self: start; }
.lv-row .lv-tag { min-width: 100px; }

/* ---------- EN-7: watching the game ---------- */
/* The bar grows from where it was on the last look (objects/progress.js liveMoments, .lv-fill above). */
/* The moment a pick clears its line: one pulse, the bar and the tag turn volt (reduce motion: the color only). */
:is(.tk-pick, .lv-row).lv-moment { border-color: var(--accent); animation: lv-moment 1.3s var(--ease) 1; }
:is(.tk-pick, .lv-row).lv-moment .lv-fill { background: var(--accent); }
:is(.tk-pick, .lv-row).lv-moment .lv-tag { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
:is(.tk-pick, .lv-row).lv-moment .tk-num b, .lv-row.lv-moment .lv-num b { color: var(--accent); }
@keyframes lv-moment {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); transform: scale(1); }
  22% { box-shadow: 0 0 0 7px var(--accent-soft), 0 0 26px var(--accent-glow); transform: scale(1.012); }
  100% { box-shadow: 0 0 0 0 transparent; transform: scale(1); }
}

/* The payout ladder: every number of hits and what it pays, the rung the slip is on lit. */
.ld { padding: 12px 12px 10px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.ld-title { margin: 0 2px 6px; font: 800 var(--fs-xs)/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ld-t { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-variant-numeric: tabular-nums; }
.ld-t th, .ld-t td { padding: 8px 12px; text-align: right; vertical-align: middle; }
.ld-t .ld-hits { text-align: left; }
.ld-t thead th { padding: 0 12px 2px; font: 700 var(--fs-2xs)/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ld-t thead th.mine { color: var(--accent); }
.ld-yours { margin-left: 6px; padding: 2px 5px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); letter-spacing: .04em; }
.ld-r > * { background: var(--surface); }
.ld-r > :first-child { border-radius: var(--r-xs) 0 0 var(--r-xs); }
.ld-r > :last-child { border-radius: 0 var(--r-xs) var(--r-xs) 0; }
.ld-r th { font: 600 var(--fs-sm)/1.2 var(--body); color: var(--text-2); white-space: nowrap; }
.ld-r td b { font: 800 var(--fs-lg)/1 var(--display); letter-spacing: .02em; color: var(--text); }
.ld-r td.mine b { color: var(--text); }
.ld-usd { display: block; margin-top: 3px; font-size: var(--fs-xs); font-weight: 600; color: var(--text-2); }
.ld-zero { color: var(--muted); }
.ld-unk { color: var(--muted); font-size: var(--fs-xs); }
.ld-r.r-here > * { background: #1C2611; box-shadow: inset 0 1px 0 rgba(198, 244, 50, .45), inset 0 -1px 0 rgba(198, 244, 50, .45); }
.ld-r.r-here > :first-child { box-shadow: inset 4px 0 0 var(--accent), inset 0 1px 0 rgba(198, 244, 50, .45), inset 0 -1px 0 rgba(198, 244, 50, .45); }
.ld-r.r-here > :last-child { box-shadow: inset -1px 0 0 rgba(198, 244, 50, .45), inset 0 1px 0 rgba(198, 244, 50, .45), inset 0 -1px 0 rgba(198, 244, 50, .45); }
.ld-r.r-here th { color: var(--text); font-weight: 700; }
.ld-r.r-here td.mine b { color: var(--accent); }
.ld-now { margin-left: 8px; padding: 3px 6px; border-radius: var(--r-xs); background: var(--accent); color: var(--accent-ink);
  font: 800 var(--fs-2xs)/1 var(--display); letter-spacing: .12em; text-transform: uppercase; vertical-align: 1px; }
.ld-r.r-gone > * { background: transparent; }
.ld-r.r-gone th, .ld-r.r-gone td b, .ld-r.r-gone .ld-usd { color: var(--muted); }
.ld-r.r-gone td b, .ld-r.r-gone .ld-usd { text-decoration: line-through; text-decoration-color: rgba(154, 167, 182, .7); }
.ld-r.r-past th, .ld-r.r-past td b { color: var(--muted); }
.ld-cap { margin: 4px 2px 0; font-size: var(--fs-sm); line-height: 1.4; color: var(--text-2); }
.ld-refund .ld-cap { margin: 0; }
.ld-r.ld-up > * { animation: ld-up 1.1s var(--ease) 1; }
@keyframes ld-up { 0% { transform: translateY(8px); filter: brightness(1.7); } 100% { transform: none; filter: none; } }

/* The result card: the slip's end-of-game graphic (official once graded, unofficial before). */
.rc { position: relative; overflow: hidden; display: grid; gap: 10px; padding: 20px 16px 14px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, #121924 0%, #080B11 100%); border: 1px solid var(--line-2); }
.rc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--rc-c, var(--line-3)); }
.rc.good { --rc-c: var(--good); border-color: rgba(110, 224, 162, .35); }
.rc.bad { --rc-c: var(--bad); }
.rc.muted { --rc-c: var(--line-3); }
.rc-eye { margin: 0; font: 800 var(--fs-xs)/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.rc .rc-big { font-size: var(--fs-score); line-height: .95; letter-spacing: .01em; text-transform: uppercase; }
.rc .rc-sub { margin: 0; }
.rc .ld { background: transparent; border: 0; padding: 0; }
.rc-pips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rc-pip { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-3);
  font: 800 15px/1 var(--display); color: var(--text-2); }
.rc-pip.o-hit { background: rgba(110, 224, 162, .16); border-color: var(--good); color: var(--good); }
.rc-pip.o-miss { background: rgba(255, 138, 138, .12); border-color: var(--bad); color: var(--bad); }
.rc.rc-in { animation: rc-in .7s var(--ease) 1; }
@keyframes rc-in { 0% { opacity: 0; transform: translateY(14px) scale(.98); } 100% { opacity: 1; transform: none; } }
/* EN-7 step 2: the viewer's slips on a game screen, each with its ladder in one row. */
.gs-list { display: grid; gap: 8px; margin: 10px 0 12px; }
.gs { gap: 8px; padding: 12px 14px; }
.gs .gs-lead { font-size: var(--fs-lg); }
.gs-sub { margin: -4px 0 0; color: var(--muted); font-size: var(--fs-xs); }
.gs:hover { border-color: var(--line-3); }
.gs:has(.tk-lead-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.lds { display: grid; gap: 6px; }
.lds-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lds-k { flex: none; width: 44px; font: 800 var(--fs-2xs)/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lds-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.lds-r { display: grid; justify-items: center; gap: 2px; min-width: 62px; padding: 6px 8px; border-radius: var(--r-xs);
  background: var(--surface-2); border: 1px solid var(--line); }
.lds-r b { font: 800 var(--fs)/1 var(--display); letter-spacing: .02em; color: var(--text); }
.lds-r span { font-size: var(--fs-2xs); color: var(--muted); white-space: nowrap; }
.lds-r.r-here { background: #1C2611; border-color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.lds-r.r-here b { color: var(--accent); }
.lds-r.r-here span { color: var(--text-2); }
.lds-r.r-gone { background: transparent; }
.lds-r.r-gone b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(154, 167, 182, .7); }
.lds-r.r-past b { color: var(--text-2); }
.lds-r.ld-up { animation: ld-up 1.1s var(--ease) 1; }
@media (prefers-reduced-motion: reduce) { .lds-r.ld-up { animation: none; } }
@media (min-width: 768px) {
  .rc { padding: 24px 22px 16px; }
  .rc .rc-big { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.tk-pick, .lv-row, .tk-dot).lv-moment, .ld-r.ld-up > *, .rc.rc-in { animation: none; }
  .lv-fill { transition: none; }
}

/* ---------- loading shapes (POL-1): what's coming, in its place ---------- */
/* Tonight's call holds its own height while it loads (fixed 2026-12-02): the Play card is 206 px on a
   phone, 183 on a tablet, 127 on a desktop, and a 92 px placeholder pushed the whole slate down
   ~110 px when it arrived. The card keeps at least that height in every state (Sit out, Soon), so
   swapping one for the other never moves what's below. */
.td-sk-lead { height: 206px; margin: 0 0 10px; border-radius: var(--r-lg); }
.td-top > .td-sk-lead { margin: 0; }
.td-top > .td-lead.tl { min-height: 206px; align-content: center; }
@media (min-width: 600px) {
  .td-sk-lead { height: 184px; }
  .td-top > .td-lead.tl { min-height: 184px; }
}
@media (min-width: 1024px) {
  .td-sk-lead { height: 128px; }
  .td-top > .td-lead.tl { min-height: 128px; }
}
/* Card shapes carry the cards' own edge, so the screen reads as cards on their way, not grey holes. */
:is(.sk-card, .td-sk-lead, .pk-sk, .sb-sk, .ps-sk) { border: 1px solid var(--line); }

/* ---------- press feedback (POL-1): everything you can tap answers the touch ---------- */
html { -webkit-tap-highlight-color: transparent; }
:is(.pr-add, .sh-close, .nx-me-btn, .icon-btn, .ms-follow-x,
    .pk-tab, .nx-sport button, .pk-chip, .sb-op-side, .gm-tb-b, .nx-toast-act, .ps-game,
    .pr-tap, a.tk-tap, .td-lead, .me-link, .tk-card, .gm-back, .tk-back, .nx-nav a) {
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
:is(.pr-add, .sh-close, .nx-me-btn, .icon-btn, .ms-follow-x):active { transform: scale(.9); background-color: var(--surface-3); transition-duration: 0s; }
:is(.pk-tab, .nx-sport button, .pk-chip, .sb-op-side, .gm-tb-b, .nx-toast-act, .ps-game):active { transform: scale(.95); transition-duration: 0s; }
:is(.pr-tap, a.tk-tap, .td-lead, .me-link, .tk-card):active { transform: scale(.985); border-color: var(--line-3); transition-duration: 0s; }
:is(.gm-back, .tk-back):active { color: var(--text); transform: translateX(-2px); transition-duration: 0s; }
.nx-nav a:active { color: var(--text); }
.nx-nav a:active > svg { transform: scale(.88); }
.nx-nav a > svg { transition: transform var(--t-fast) var(--ease); }
@media (min-width: 1024px) { .nx-nav a:active { background: var(--surface-2); } }
/* Reduce motion: the press still shows (color, border), nothing moves. */
@media (prefers-reduced-motion: reduce) {
  :is(.pr-add, .sh-close, .nx-me-btn, .icon-btn, .ms-follow-x, .pk-tab, .nx-sport button, .pk-chip, .sb-op-side,
      .gm-tb-b, .nx-toast-act, .ps-game, .pr-tap, a.tk-tap, .td-lead, .me-link, .tk-card, .gm-back, .tk-back):active,
  .nx-nav a:active > svg, .btn:active, .gc:active { transform: none; }
}

/* ---------- Entries (EN-8, docs/plans/screens-pass.md): tonight's call, lineup cards, ladders ---------- */
.en-screen { display: grid; gap: 14px; }
.en-head { margin-bottom: 0; }
.en-sw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: var(--r); background: var(--surface);
  border: 1px solid var(--line); }
.en-sw-t { display: grid; place-items: center; min-height: var(--tap); padding: 0 12px; border-radius: var(--r-sm); text-decoration: none;
  font: 700 var(--fs-sm)/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.en-sw-t:hover { color: var(--text); }
.en-sw-t[aria-current="page"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
/* FP-1: Your own (the slip builder) is the third view; its count while it has picks. */
.en-sw-t { gap: 6px; grid-auto-flow: column; white-space: nowrap; padding: 0 8px; }
.en-sw-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); display: inline-grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font: 800 var(--fs-xs)/1 var(--display); letter-spacing: 0; }
.en-sw-n[hidden] { display: none; }
@media (min-width: 600px) { .en-sw { display: inline-grid; justify-self: start; min-width: 480px; } }

/* FP-9: Steady | Big payout in one tap (Entries and the builder), saved to How you play. */
.gear { display: grid; gap: 6px; justify-items: start; }
.gear-sw { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); }
.gear-o { min-height: var(--tap); min-width: 8.5em; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  font: 700 var(--fs-sm)/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.gear-o:hover { color: var(--text); }
.gear-o[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); }
.gear-o:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gear-hint { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.sb-gear { margin-top: 2px; }

.en-call { display: grid; gap: 14px; padding: 18px 16px 16px; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow); }
.en-call.play { border-color: rgba(198, 244, 50, .38);
  background: radial-gradient(120% 90% at 0% 0%, rgba(198, 244, 50, .16), transparent 60%), var(--surface); }
.en-call.sitout { border-color: rgba(255, 193, 77, .38);
  background: radial-gradient(120% 90% at 0% 0%, var(--close-soft), transparent 60%), var(--surface); }
.en-call-top { display: grid; gap: 6px; }
.en-word { font: 800 clamp(56px, 16vw, 84px)/.86 var(--display); letter-spacing: .01em; text-transform: uppercase; color: var(--text); }
.en-call.play .en-word { color: var(--accent); text-shadow: 0 0 34px rgba(198, 244, 50, .28); }
.en-call.sitout .en-word { color: var(--close); }
.en-call.waiting .en-word, .en-call.none .en-word { font-size: clamp(40px, 11vw, 56px); }
.en-why { margin: 0; font-size: var(--fs-lg); line-height: 1.35; color: var(--text); text-wrap: balance; }
.en-sub { margin: 0; font-size: var(--fs-sm); color: var(--text-2); }
.en-risk { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.en-risk > div { padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); }
.en-risk dt { font: 700 var(--fs-2xs)/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.en-risk dd { margin: 4px 0 0; font: 800 30px/1 var(--display); color: var(--text); }
.en-risk .lose dd { color: var(--text-2); }
.en-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.en-step { display: inline-flex; align-items: center; gap: 6px; }
.en-step-l { margin-right: 4px; font: 700 var(--fs-xs)/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.en-step b { min-width: 1.6em; text-align: center; font: 800 26px/1 var(--display); }
.en-step-b { width: var(--tap); height: var(--tap); border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface-2);
  color: var(--text); font: 600 22px/1 var(--body); cursor: pointer; }
.en-step-b:hover { border-color: var(--line-3); }
.en-step-b[disabled] { opacity: .4; cursor: default; }
/* UX-0: the stake box, typed where its dollars show (ui/stake.js). */
.en-stake { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: var(--fs-sm); color: var(--text-2); }
.stk { display: inline-flex; align-items: center; gap: 10px; cursor: text; }
.stk-l { font: 700 var(--fs-xs)/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stk-box { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 12px; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--line-2); transition: border-color var(--t-fast) var(--ease); }
.stk-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.stk-d { color: var(--muted); font-weight: 700; margin-right: 2px; }
.stk-in { width: 4.2ch; height: var(--tap); padding: 0; border: 0; background: none; outline: none; color: var(--text); font: 800 var(--fs-input)/1 var(--body);
  -moz-appearance: textfield; appearance: textfield; }
.stk-in::-webkit-outer-spin-button, .stk-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stk-in::placeholder { color: var(--faint); }
.en-enter { width: 100%; min-height: 52px; font-size: var(--fs-lg); }
.en-acts { display: flex; flex-wrap: wrap; gap: 8px; }

.en-cards { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.en-c { display: grid; gap: 12px; padding: 14px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface);
  min-width: 0; }
.en-c.best { border-color: rgba(198, 244, 50, .3); }
.en-c-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.en-c-n { font: 700 var(--fs-xs)/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.en-c-h b { font: 800 var(--fs-xl)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.en-pill { padding: 5px 9px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink);
  font: 800 var(--fs-xs)/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.en-c-word { font: 800 var(--fs-xs)/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.en-gs, .en-ps { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.en-gs { gap: 10px; }
.en-g { display: grid; gap: 6px; }
.en-g.same { padding-left: 10px; border-left: 2px solid var(--line-3); }
.en-g-h { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: var(--fs-xs); color: var(--muted); }
.en-g-h i { font-style: normal; color: var(--text-2); }
.en-p { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg-2);
  border: 1px solid var(--line); }
.en-p-main { display: grid; gap: 3px; min-width: 0; flex: 1; }
.en-p-name { font-size: var(--fs); font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.en-p-what { font-size: var(--fs-sm); color: var(--text-2); }
.en-side { font-weight: 700; white-space: nowrap; }
.en-side.s-more { color: var(--over); }
.en-side.s-less { color: var(--under); }
.en-also { justify-self: start; padding: 2px 7px; border-radius: var(--r-pill); border: 1px solid var(--line-2);
  font-size: var(--fs-2xs); font-weight: 600; color: var(--text-2); }
.en-p-chance { flex: none; font: 800 26px/1 var(--display); color: var(--accent); }
.en-p[data-word="close"] .en-p-chance { color: var(--close); }
.en-ld { padding: 10px 8px 8px; overflow-x: auto; }
.en-ld .ld-t thead th, .en-ld .ld-r th { white-space: normal; }
.en-ld .ld-yours { display: block; width: max-content; margin: 3px 0 0 auto; }
.en-ld .ld-t th, .en-ld .ld-t td { padding: 8px 8px; }
.en-ld .ld-t thead th { padding: 0 8px 2px; }
.en-ch { color: var(--text); font-weight: 700; }
.ld-r .en-ch { font: 700 var(--fs)/1 var(--body); }
.en-drop th, .en-drop .en-ch { color: var(--muted); font-weight: 600; }
.en-drop-t { text-align: right; font-size: var(--fs-xs); color: var(--muted); }
.en-more summary, .en-anyway summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center;
  font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); }
.en-more summary:hover, .en-anyway summary:hover { color: var(--text); }
.en-more p { margin: 0 0 8px; font-size: var(--fs-sm); line-height: 1.45; color: var(--text-2); }
.en-anyway { padding: 0 4px; }
.en-anyway[open] > .en-cards { margin-top: 6px; }
.en-slate { margin: 0; font-size: var(--fs-xs); color: var(--muted); }
/* FP-6: "Make it yours" in view beside "Why this entry" (opened, the why takes the full width
   below it); the best entry at other sizes (moved here from the builder, behind a tap). */
.en-c-foot { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 10px; }
.en-c-foot .en-more { flex: 1 1 160px; min-width: 0; }
.en-c-foot .en-change { flex: none; min-height: var(--tap); }
.en-c-foot:has(.en-more[open]) .en-more { order: 2; flex-basis: 100%; }
.en-c-foot:has(.en-more[open]) .en-change { margin-left: auto; }
.en-sizes { padding: 0 4px; }
.en-sizes summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center;
  font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); }
.en-sizes summary:hover { color: var(--text); }
.en-sizes-l { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.en-size { display: grid; gap: 8px; justify-items: start; padding: 12px 14px; border-radius: var(--r); background: var(--surface);
  border: 1px solid var(--line); }
.en-size .en-c-h b { font-size: var(--fs-lg); }
.en-size-hit { font-size: var(--fs-sm); color: var(--text-2); }
.en-size-who { margin: 0; font-size: var(--fs-sm); line-height: 1.45; color: var(--text-2); }
@media (min-width: 1024px) { .en-sizes-l { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.en-about-l { display: grid; gap: 6px; margin: 4px 0 0; padding-left: 18px; font-size: var(--fs-sm); line-height: 1.45; color: var(--text-2); }
.en-receipt { margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.45; color: var(--text-2); }
.en-receipt a { color: var(--text); white-space: nowrap; }
.en-demo { margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.en-screen[aria-busy="true"] .en-cards, .en-screen[aria-busy="true"] .en-risk { opacity: .45; transition: opacity var(--t) var(--ease); }
.en-sk-call { height: 300px; border-radius: var(--r-lg); }
.en-sk-card { height: 420px; border-radius: var(--r-lg); }
@media (min-width: 1024px) {
  .en-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .en-call:not(.sb-call) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; column-gap: 28px; }
  .en-call:not(.sb-call) > :not(.en-call-top) { grid-column: 2; }
  .en-call:not(.sb-call) .en-call-top { grid-row: 1 / span 4; align-self: start; }
}
@media (prefers-reduced-motion: reduce) { .en-step-b:active, .en-sw-t:active { transform: none; } }

/* All picks under the Entries tab (EN-8, P2): Edges / Everything as a lighter tab row under the
   Entries switch, and the count in one line. */
.pk .pk-head .pk-tabs { background: none; border: 0; padding: 0; gap: 20px; border-radius: 0; }
.pk .pk-head .pk-tab { min-height: var(--tap); padding: 0 2px; border-radius: 0; }
.pk .pk-head .pk-tab[aria-current="page"] { background: none; }
.pk-count { display: grid; gap: 4px; margin: 0 0 4px; }
.pk-count-h { margin: 0; font: 800 var(--fs-xl)/1.05 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.pk-count-n { color: var(--accent); }
.pk-count-sub { margin: 0; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.4; }

/* SP-1 (X12): tiers. Tier 1 wears Tier 2's color with a ring, so the strongest picks stand out;
   the lineup cards say each pick's tier under its chance. */
.en-p-num { flex: none; display: grid; justify-items: end; gap: 3px; }
.en-p-tier { font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--text-2); white-space: nowrap; }
.en-p-tier.w-edge { color: var(--accent); }
.en-p-tier.w-close { color: var(--close); }
.t-1 > .pr-word, .sb-word.t-1, .ps-lead.t-1 .ps-word, .ps-mini.t-1 { box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 3.5px var(--accent); }
.ps-tier-why { margin: 4px 0 0; font-size: 13px; color: var(--text-2); }

/* SP-1 (X3): How this works. The ⓘ beside each screen's title opens one sheet with the long
   explanations; a 44 px tap target around a small icon. */
.scr-title { display: flex; align-items: center; gap: 4px; }
.how-btn { display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); margin: 0 -10px 0 0; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.how-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.how-btn:hover, .how-btn:focus-visible { color: var(--text); }
.gm-top .how-btn { flex: none; margin: 0 -10px 0 0; }
.how { display: grid; gap: 18px; padding-bottom: 24px; }
.how-s { display: grid; gap: 8px; }
.how-s p { margin: 0; }
.how-words { display: grid; gap: 8px; margin: 4px 0 0; }
.how-words div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
.how-words dt { font-weight: 800; color: var(--text); }
.how-words dd { margin: 0; color: var(--text-2); }
.how-more { margin: 0; color: var(--muted); }

/* SP-1 (X4): Today's one price age sits under the "Next up" heading, on its own line. */
.td-hero-wrap .td-group-head { flex-wrap: wrap; row-gap: 2px; }
.td-hero-wrap .td-group-head::after { order: 2; }
.td-hero-wrap .td-group-head .td-age { order: 3; flex-basis: 100%; font-weight: 500; }

/* Terms · Privacy · Responsible play (L-4): under the sign-in card and at the foot of Me */
.legal-links { margin: 16px auto 0; text-align: center; font-size: var(--fs-xs, 12px); color: var(--muted); }
.legal-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 6px; color: var(--text-2); }
.login-card .legal-links { margin: 0; }
