/* Prop Duel for the group. Sunday's game-day trading cards (sites/prop-duel/public/index.html): chalk paper, turf ink,
   big two-sided pick buttons. Team colors belong to the BETS (set per card as --tc, or --ta / --th for two teams).
   Each friend has their own color from the server; "--me" is whoever is holding the phone (set by app.js). */
:root {
  --chalk: #f3f0e6; --card: #fffdf7; --ink: #17211b; --muted: #5d675f; --line: #dbd5c3; --dent: #ebe6d6;
  --turf: #203731; --team-gold: #ffb612;
  --gold: #8f6400; --gold-soft: #f6e8bd; --on: #fffdf7; --good: #1b7443; --bad: #b3361a;
  --me: #203731; --me-ink: #fff;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --out: cubic-bezier(.22, 1, .36, 1);
  /* One app (direction A): the frame (masthead, badge, tab strip) is one width on every screen, the badge one sticker,
     and the focus ring a color that passes 3:1 on the frame (gold on cream was 1.54:1). */
  --frame: 528px; --badge: #f3f0e6; --badge-ink: #17211b; --badge-muted: #5d675f; --focus: #17211b;
}
@media (min-width: 860px) { :root { --frame: 872px; } }
/* Dark mode: the Watch's navy on every screen (was green-black here and navy on the Watch: two darks). */
@media (prefers-color-scheme: dark) { :root {
  --chalk: #0b1424; --card: #13203a; --ink: #eef1f7; --muted: #9aa9c4; --line: #2a3b5c; --dent: #0e182c;
  --gold: #f0c250; --gold-soft: #3b2f10; --on: #0b1424; --good: #62cf95; --bad: #ff7d57; --focus: #ffc629; color-scheme: dark } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; } /* a page that fits (Board) keeps the scrollbar's room: no 7.5 px nudge */
body { margin: 0; background: var(--chalk); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
p { margin: 0; } img { display: block; }
#view { display: grid; gap: 12px; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1760px; margin: 0 auto; padding: max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 56px max(16px, env(safe-area-inset-left)); display: grid; gap: 14px; }
/* Every screen: the frame centered at --frame, the content under it at 528 px (My picks adds its slip column on a wide
   screen, the Watch takes the full width). Same place, width and height on every screen, so nothing in it moves on a click. */
.wrap > * { width: 100%; max-width: 528px; justify-self: center; }
#mast, #views { max-width: var(--frame); }

/* Masthead: the featured game's two teams split on a diagonal, the duel badge on the seam. */
.mast { --ta: var(--turf); --th: var(--turf); position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 14px 12px 13px; border-radius: 22px; overflow: hidden; color: #fff;
  background: linear-gradient(102deg, color-mix(in srgb, var(--ta) 80%, #fff) 0, var(--ta) 30%, color-mix(in srgb, var(--ta) 62%, #000) 49.7%, color-mix(in srgb, var(--th) 62%, #000) 50.3%, var(--th) 70%, color-mix(in srgb, var(--th) 80%, #fff) 100%); }
.mast::before, .hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(102deg, transparent 0 38px, rgba(255, 255, 255, .07) 38px 40px); }
.mast::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--team-gold); }
.mast.solo { grid-template-columns: 1fr; justify-items: center; padding: 20px 12px 19px; }
.mt { position: relative; display: grid; justify-items: center; gap: 4px; min-width: 0; }
.mt img, .mt .ini { width: clamp(52px, 16vw, 72px); height: clamp(52px, 16vw, 72px); object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.mt b { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; line-height: 1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { position: relative; background: var(--badge); color: var(--badge-ink); font-family: var(--display); font-weight: 900; font-size: clamp(24px, 7.4vw, 30px); line-height: .84; text-transform: uppercase; text-align: center; padding: 9px 11px 8px; border-radius: 8px; transform: rotate(-5deg); box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
.badge small { display: block; font-size: 11px; letter-spacing: .16em; font-weight: 800; color: var(--badge-muted); margin-top: 5px; }

/* Initials when a headshot or logo will not load: same box as the picture, never a broken-image icon. */
.ini { display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-family: var(--display); font-weight: 900; letter-spacing: .02em; line-height: 1; text-transform: uppercase; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.mt .ini { font-size: 24px; }

/* Sticky: the Props / Spreads tabs and the save line stay in view while scrolling a list. */
.stick { position: sticky; top: max(6px, env(safe-area-inset-top)); z-index: 5; display: grid; gap: 6px; background: var(--chalk); padding: 4px 0 6px; margin: -4px 0 -6px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--dent); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; color: var(--muted); padding: 8px 4px 7px; border-radius: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.05; }
.seg button small { display: block; font-family: var(--body); font-weight: 500; font-size: 12px; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.seg button[aria-pressed=true] { background: var(--ink); color: var(--chalk); }
.savebar { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); min-height: 20px; }
.savebar b { color: var(--ink); }
.savebar > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { font-weight: 600; text-align: right; }
.pill.ok { color: var(--good); } .pill.bad { color: var(--bad); }
.lockline { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.lockline b { color: var(--ink); font-weight: 700; }
.lockline.off b { color: var(--bad); }

/* The card for one bet. */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 22px 44px -30px rgba(20, 30, 24, .55); }
/* A new card slides in flat from the right as it fades in: no tilt, no zoom, no overshoot, so nothing on it bobs. */
.card.in { animation: in .3s var(--out); }
@keyframes in { from { opacity: 0; transform: translateX(44px); } }
@media (prefers-reduced-motion: reduce) { .card.in { animation: none; } * { transition: none !important; } }
.hero { --tc: #2a3140; position: relative; height: 188px; overflow: hidden; color: #fff; border-bottom: 5px solid var(--team-gold);
  background: radial-gradient(130% 100% at 85% 0%, color-mix(in srgb, var(--tc) 80%, #fff) 0%, var(--tc) 50%, color-mix(in srgb, var(--tc) 62%, #000) 100%); }
.hero.both { background: linear-gradient(102deg, color-mix(in srgb, var(--ta) 80%, #fff) 0, var(--ta) 30%, color-mix(in srgb, var(--ta) 62%, #000) 49.7%, color-mix(in srgb, var(--th) 62%, #000) 50.3%, var(--th) 70%, color-mix(in srgb, var(--th) 80%, #fff) 100%); }
.hero .wm { position: absolute; left: -46px; top: -34px; width: 230px; height: 230px; object-fit: contain; opacity: .16; }
.hero span.wm { display: none; }
.hero .face { position: absolute; right: -22px; bottom: 0; height: 168px; width: auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); }
.hero .ini.face { right: 18px; bottom: 18px; width: 128px; height: 128px; font-size: 54px; filter: none; }
.hero .lg { position: absolute; top: 50%; width: 104px; height: 104px; object-fit: contain; transform: translateY(-46%); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .4)); }
.hero .lg.l { left: 9%; } .hero .lg.r { right: 9%; } .hero .lg.c { left: 50%; width: 124px; height: 124px; transform: translate(-50%, -46%); }
.hero .ini.lg { font-size: 36px; filter: none; }
.hero .at { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%); font-family: var(--display); font-weight: 900; font-size: 40px; color: var(--team-gold); text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.tabs { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; gap: 8px; }
.tabs span { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; background: rgba(0, 0, 0, .38); padding: 4px 9px 3px; border-radius: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* The "Bet N of M" tag keeps its full text; the game tag beside it (min-width 0) takes the ellipsis. */
.tabs span:first-child { flex: none; }
.nm { position: absolute; left: 14px; bottom: 10px; right: 40%; display: grid; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.nm small { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: .1em; text-transform: uppercase; color: var(--team-gold); line-height: 1; }
.nm b { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 11vw, 46px); line-height: .88; text-transform: uppercase; white-space: nowrap; }
.nm b.long { font-size: clamp(26px, 8vw, 34px); }
.nm span { font-size: 13px; font-weight: 600; opacity: .9; margin-top: 5px; letter-spacing: .02em; }
.ask { padding: 14px 16px 18px; display: grid; gap: 12px; }
.q { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 8.4vw, 38px); line-height: .94; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
/* The side buttons stay in one spot on every card: the question keeps two lines' room of its own size (text at the
   bottom, so a one-line question sits just above the buttons), a question that would need three lines at 375 px takes
   the smaller `long` size (app.js renderOne) in the same room, and the tag row under the sides keeps its one line's
   room when it is empty, so Back / Skip, under it and above the note, sit in one spot on every card. */
.card .q { min-height: calc(1.88 * clamp(28px, 8.4vw, 38px)); display: grid; align-content: end; }
.card .q.long { font-size: clamp(22px, 6.9vw, 30px); }
.per { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); }
.card .per { min-height: 24px; }
.sides + .per { margin-top: -4px; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--gold-soft); color: var(--gold); white-space: nowrap; letter-spacing: .02em; }
.tag.quiet { background: var(--dent); color: var(--muted); }
.tag.lock { background: var(--ink); color: var(--chalk); }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.side { position: relative; background: var(--chalk); border: 2px solid var(--line); border-radius: 16px; padding: 14px 6px 12px; min-height: 96px; display: grid; justify-items: center; align-content: center; gap: 2px; min-width: 0; text-align: center; transition: transform .12s var(--out), background-color .12s, border-color .12s; }
.side:active { transform: scale(.97); }
.side img, .side .ini { width: 40px; height: 40px; object-fit: contain; margin-bottom: 2px; }
.side .ini { background: var(--dent); color: var(--muted); box-shadow: none; font-size: 15px; }
.side b { font-family: var(--display); font-weight: 900; font-size: clamp(21px, 6.2vw, 27px); line-height: 1; text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.side small { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 500; }
/* Goal 3: the card's two sides, taller and bolder (an ink edge; the label keeps its size so "Vikings +2.5" stays on one
   line at 375 px); the picked one also wears a gold check. */
.card .side { min-height: 108px; padding: 15px 6px 13px; border-color: var(--ink); border-radius: 18px; background: var(--card); }
.card .side small { font-size: 13.5px; font-weight: 600; }
/* The card's team logo is 24 px, so a side with a logo is as tall (108 px) as one without. */
.card .side img, .card .side .ini { width: 24px; height: 24px; margin-bottom: 0; }
.card .side .ini { font-size: 10px; }
.side .ck { position: absolute; top: -10px; right: -8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--team-gold); color: var(--turf); box-shadow: 0 0 0 3px var(--card); font: 700 16px/1 var(--body); font-style: normal; }
.row .side .ck { top: -8px; right: -6px; width: 21px; height: 21px; font-size: 12px; box-shadow: 0 0 0 2px var(--card); }
.side[aria-pressed=true] { background: var(--me); border-color: var(--me); color: var(--me-ink); }
.side[aria-pressed=true] small { color: var(--me-ink); opacity: .92; font-weight: 700; }
.side.wait[aria-pressed=true] { border-style: dashed; border-color: var(--ink); }
.side.hit { box-shadow: 0 0 0 3px var(--team-gold); }
.side:disabled { cursor: default; } .side:disabled:active { transform: none; } .side:disabled:not([aria-pressed=true]) { opacity: .5; }
/* At 320 px "Jacksonville" (115 px at 21 px) was wider than a side's 106 px of room, so it was cut mid-word. A little less
   padding and gap give the card's two sides the room; the text keeps its size. */
@media (max-width: 340px) { .card .ask { padding-left: 10px; padding-right: 10px; } .card .sides { gap: 8px; } .card .side { padding-left: 3px; padding-right: 3px; } }
/* Goal 2 (look A, "Pick tiles", Pete's pick on Nov 19): "Already on your slip" under the sides, the player's other
   picks as gold tiles, the side big and bold with the question under it. One row of three, each tile one fixed height
   (a one-line or a two-line question), so the note is always the same height. A 4th and later pick stay in the list but
   are not shown; the label row says "+N more" at its right end. The " · " inside an item's text is not drawn. */
.same { display: grid; gap: 5px; }
.same .lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 10.5px; font-weight: 700; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.same .lbl span { color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.same ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.same li { height: 56px; overflow: hidden; padding: 7px 7px 0 8px; border-left: 4px solid var(--team-gold); border-radius: 10px; background: var(--gold-soft); }
.same li:nth-child(n+4), .same li i { display: none; }
.same li b { display: block; font: 900 16px/1 var(--display); text-transform: uppercase; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.same li span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 3px; font-size: 11px; font-weight: 500; line-height: 1.2; color: var(--muted); overflow-wrap: anywhere; }
.navrow { display: flex; justify-content: space-between; gap: 8px; }
.btn { background: var(--ink); color: var(--chalk); border: 0; border-radius: 12px; padding: 14px 18px; font-weight: 700; font-size: 17px; }
.btn.big { width: 100%; font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: .06em; text-transform: uppercase; padding: 15px; }
.btn.me { background: var(--me); color: var(--me-ink); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); padding: 10px 16px; font-size: 15px; font-weight: 600; }
.btn:disabled { opacity: .6; cursor: default; }
.link { background: none; border: 0; padding: 8px 0; color: var(--muted); text-decoration: underline; font-size: 14px; justify-self: center; }
/* "N of M picked" for the open tab, with a bar filled N / M in the player's color (in place of the tick strip). */
.prog { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
.prog b { font: 900 26px/.8 var(--display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.prog small { font: 800 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pbar { height: 10px; border-radius: 99px; background: var(--dent); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--me); transform-origin: left; }
.hint { font-size: 14px; color: var(--muted); text-align: center; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 10px; text-align: center; }
.panel h2 { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1; text-transform: uppercase; margin: 0; text-wrap: balance; }
.note { font-size: 14px; color: var(--ink); background: var(--gold-soft); border-radius: 12px; padding: 9px 12px; text-align: center; }

/* Who's done. */
.dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.dot { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .02em; flex: none; border: 2px solid var(--c); color: var(--c); background: transparent; }
.dot.on { background: var(--c); color: var(--ci); }
.donep .count { font-size: 17px; }
.donep .count b { font-variant-numeric: tabular-nums; }
.btn.done[aria-pressed=true] { background: var(--me); color: var(--me-ink); }

/* Rows: the list of every bet in a tab. */
.group { display: grid; gap: 8px; }
.group h2 { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; margin: 10px 0 0; color: var(--muted); }
.row { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px 12px; display: grid; gap: 9px; }
.rt { display: flex; gap: 10px; align-items: center; font-weight: 600; line-height: 1.2; min-width: 0; }
.rt .t { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.rt .t small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); margin-top: 2px; }
.rt .n { font-family: var(--display); font-weight: 800; color: var(--muted); font-size: 15px; min-width: 18px; font-variant-numeric: tabular-nums; }
.th { --tc: #2a3140; flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; position: relative; display: grid; place-items: center; background: var(--tc); }
.th.face img { width: 132%; max-width: none; height: auto; margin-top: 12%; }
.th.logo img { width: 78%; height: 78%; object-fit: contain; }
.th .ini { width: 100%; height: 100%; font-size: 16px; background: transparent; box-shadow: none; }
.th.both { background: linear-gradient(102deg, var(--ta) 50%, var(--th) 50%); display: flex; align-items: center; justify-content: center; }
.th.both img { width: 46%; height: 46%; object-fit: contain; }
.th.both .ini { width: 50%; font-size: 11px; border-radius: 0; }
.row .sides { gap: 8px; }
.row .side { min-height: 0; padding: 9px 4px 8px; border-radius: 12px; border-width: 1.5px; }
.row .side b { font-size: 19px; } .row .side img, .row .side .ini { width: 26px; height: 26px; } .row .side .ini { font-size: 11px; } .row .side small { font-size: 12px; }
.row .lockline { font-size: 13px; }

/* The pick slip (goal 1): every pick of the week. Phone: a dock on the bottom edge; a tap slides the sheet up over a
   scrim. Wide (860 px and up): a second column on the picks screen beside the cards, under the masthead and the tabs
   (they span both columns), always open, sticky. Dark colors from the mockup's look A in light mode; the one navy in
   dark mode. It sits below #fx (60), so "All N picks in" shows over it. */
#slip { --sk: #17211b; --sk2: #222e27; --sl: #34443b; --sl2: #46564c; --sm: #a7b2a9; --sc: #f3f0e6; --focus: #ffc629; } /* gold ring on the dark slip (the frame's ink ring would be 1:1 here) */
@media (prefers-color-scheme: dark) { #slip { --sk: #13203a; --sk2: #1a2a49; --sl: #2a3b5c; --sl2: #3b5078; --sm: #9aa9c4; --sc: #eef1f7; } } /* the one navy */
#slip .dock, #slip .sheet { background: var(--sk); color: var(--sc); }
#slip .sheet { scrollbar-width: thin; scrollbar-color: var(--sl2) transparent; }
#slip .cnt { font: 900 28px/1 var(--display); color: var(--team-gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
#slip .cnt small { font-size: 15px; color: var(--sc); opacity: .75; }
#slip .cnt.bump { animation: slipbump .42s var(--out); }
#slip .none { color: var(--sm); }
#slip .sh { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 14px 4px 10px; background: var(--sk); }
#slip h2 { flex: 1; margin: 0; font: 900 20px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; }
#slip .sh .cnt { font-size: 24px; }
#slip .close { background: none; border: 1px solid var(--sl2); border-radius: 99px; padding: 6px 12px 5px; color: var(--sc); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
#slip .rows { display: grid; gap: 6px; }
#slip .srow { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 7px 9px; border: 1px solid var(--sl); border-radius: 12px; background: var(--sk2); color: var(--sc); text-align: left; }
#slip .srow.new { animation: slipin .55s var(--out); }
#slip .th { width: 36px; height: 36px; }
#slip .th .ini { font-size: 13px; }
#slip .t { min-width: 0; font-size: 13px; line-height: 1.25; }
#slip .t b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#slip .t span { display: block; margin-top: 1px; font-size: 12px; color: var(--sm); }
#slip .pick { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 8px 3px; border-radius: 8px; background: var(--team-gold); color: var(--sk); font: 800 15px/1.1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
#slip .sheet .none { margin: 0 0 4px; padding: 11px; border: 1px dashed var(--sl2); border-radius: 12px; font-size: 13px; }
@keyframes slipin { from { opacity: 0; transform: translateX(-30px); } }
@keyframes slipbump { 40% { transform: scale(1.28); } }
@keyframes sliplast { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 859.98px) {
  body[data-screen=picks] .wrap { padding-bottom: calc(56px + 64px + env(safe-area-inset-bottom, 0px)); } /* the footer scrolls clear of the dock */
  #slip .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; max-width: 560px; margin: 0 auto; min-height: 64px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 0; border-radius: 20px 20px 0 0; text-align: left;
    padding: 9px max(16px, env(safe-area-inset-right, 0px)) calc(9px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); box-shadow: 0 -14px 30px -18px rgba(0, 0, 0, .6), inset 0 1px 0 var(--sl); }
  #slip .last { min-width: 0; font-size: 13px; line-height: 1.25; }
  #slip .last b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 800 17px/1.1 var(--display); letter-spacing: .03em; text-transform: uppercase; color: var(--team-gold); } /* the pick, as on the sheet's chips */
  #slip .last b.none { font: 600 14px/1.25 var(--body); letter-spacing: 0; text-transform: none; color: var(--sm); }
  #slip .last span { display: block; font-size: 12px; color: var(--sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #slip .last.new { animation: sliplast .46s var(--out); }
  #slip .all { padding: 5px 10px 4px; border: 1px solid var(--sl2); border-radius: 99px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
  #slip .scrim { position: fixed; inset: 0; z-index: 40; background: rgba(8, 12, 10, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; cursor: pointer; } /* cursor: an iPhone sends a tap on a plain div to a document listener only if it looks clickable */
  #slip.open .scrim { opacity: 1; visibility: visible; transition: opacity .3s; }
  #slip .sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; max-width: 560px; margin: 0 auto; max-height: 80vh; max-height: 80dvh; overflow-y: auto; overscroll-behavior: contain;
    padding: 0 12px calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: 20px 20px 0 0; box-shadow: 0 -18px 40px -16px rgba(0, 0, 0, .6);
    transform: translateY(100%); visibility: hidden; transition: transform .38s var(--out), visibility 0s linear .38s; } /* closed: it slides away, then hides */
  #slip.open .sheet { transform: none; visibility: visible; transition: transform .38s var(--out), visibility 0s; }
  #slip.snap .sheet, #slip.snap .scrim { transition: none; }
}
@media (min-width: 860px) {
  body[data-screen=picks] .wrap { max-width: 904px; grid-template-columns: minmax(0, 1fr) 320px; grid-template-rows: auto auto auto auto 1fr; column-gap: 24px; }
  body[data-screen=picks] .wrap > * { grid-column: 1; }
  body[data-screen=picks] #mast, body[data-screen=picks] #views { grid-column: 1 / -1; } /* the frame spans both columns */
  body[data-screen=picks] #slip { grid-column: 2; grid-row: 3 / -1; }
  #slip .dock, #slip .scrim, #slip .close { display: none; }
  #slip .sheet { position: sticky; top: max(14px, env(safe-area-inset-top, 0px)); max-height: calc(100vh - 84px); overflow-y: auto; overscroll-behavior: contain; padding: 0 12px 14px; border-radius: 18px; box-shadow: 0 22px 44px -30px rgba(20, 30, 24, .55); }
}
@media (prefers-reduced-motion: reduce) { #slip .srow.new, #slip .last.new, #slip .cnt.bump { animation: none; } }

/* Join and sign in. */
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span:first-child { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input { width: 100%; min-width: 0; font: inherit; font-size: 20px; font-weight: 600; color: var(--ink); background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.field input:focus { outline: none; border-color: var(--ink); }
.field input[name=pin] { letter-spacing: .4em; font-variant-numeric: tabular-nums; }
.pinrow { display: flex; gap: 8px; align-items: center; }
.pinrow .link { flex: none; padding: 8px 4px; }
.form-msg { min-height: 0; color: var(--bad); font-weight: 600; font-size: 15px; text-align: center; }
.form-msg:empty { display: none; }
footer { color: var(--muted); font-size: 13px; display: grid; gap: 6px; margin-top: 8px; text-align: center; }
footer .link { padding: 4px 0; font-size: 13px; }

/* Screens menu: My picks / Board / Watch. */
/* One strip on every screen: 44 px tall (the Watch's rule, now everywhere), grown upward into the gap under the masthead
   so it ends where the 38.7 px strip did and nothing under it moves. */
.views { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-bottom: 2px solid var(--line); margin-top: -9.3px; }
.views button { min-height: 44px; border: 0; background: none; padding: 9px 4px 8px; margin-bottom: -2px; border-bottom: 3px solid transparent; color: var(--muted); font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.1; }
.views button[aria-pressed=true] { color: var(--ink); border-bottom-color: var(--me); box-shadow: inset 0 -1px 0 var(--ink); } /* an ink hairline on the player's color: the tab stays marked when that color is faint on the strip */

/* Board: This week and Season, one row per friend. */
.bseg button { font-size: 17px; padding: 9px 4px; }
.board { text-align: left; padding: 14px 12px 16px; }
.board .bh { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.board .bh h2 { font-size: 26px; }
.board .hint { text-align: left; font-size: 13px; }
.brows { list-style: none; margin: 0; padding: 0; display: grid; }
.brow, .bhd { display: grid; grid-template-columns: 22px 30px minmax(0, 1fr) 44px 64px; gap: 8px; align-items: center; padding: 9px 4px; }
.season .brow, .season .bhd { grid-template-columns: 22px 30px minmax(0, 1fr) 44px 46px 46px; }
.closed .brow, .closed .bhd { grid-template-columns: 22px 30px minmax(0, 1fr) 44px; }
.brow { border-top: 1px solid var(--line); }
.brow.me { background: color-mix(in srgb, var(--me) 10%, transparent); border-radius: 10px; }
.bhd { padding: 0 4px 6px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); line-height: 1.15; }
.bhd span { text-align: right; } .bhd span:first-child { grid-column: 1 / 4; }
.brow .rk { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.brow .who { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; }
.brow .bn { font-weight: 700; font-size: 17px; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brow .pts { font-family: var(--display); font-weight: 900; font-size: 27px; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.brow .ie, .brow .wins, .brow .last { font-weight: 700; font-size: 17px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Task 3: the season scoreboard on the Season tab (overnight item 3), every finished game of the group's sites, drawn only
   when Pete checked it on /admin. Rank (26 px holds "T10", a shared tenth place), dot, name, Points, Won, Played; the
   games counted under the heading, like "Through Week 12" on a standings page. A friend from another site has no colour
   here: a grey disc with dark initials. The viewer's row keeps the tint and says "You" (not colour alone). A name wraps
   to two lines before it is cut. Under 360 px Played folds away: the games line above already says how many count.
   The fixed cells and the gaps are trimmed (not the numbers) so the name keeps room on common phones: about 88 px at 360,
   103 at 375, 118 at 390 and 100 at 320. Ranks sit right like every number column, so the "T" of a shared place hangs
   left of the digits. While this site's own game is open, a line under the games says it counts once it is final. */
.tot .brow, .tot .bhd { grid-template-columns: 26px 30px minmax(0, 1fr) 44px 30px 46px; gap: 6px; }
.tot .tot-g { margin-top: -4px; } .tot .tot-g span { white-space: nowrap; } /* a line breaks between game labels, never inside one */
.tot .brow .gp { font-weight: 700; font-size: 17px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.tot .brow .bn { white-space: normal; overflow-wrap: anywhere; line-height: 1.2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tot .dot.nc { background: color-mix(in srgb, var(--muted) 22%, var(--card)); border-color: transparent; color: var(--ink); }
.tot .you { font: 800 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tot .brow .rk { text-align: right; }
.tot .tot-open { margin-top: -6px; }
@media (prefers-color-scheme: dark) { .tot .brow.me { background: color-mix(in srgb, var(--me) 24%, transparent); } } /* the "you" tint shows on the dark card too */
@media (max-width: 359.98px) {
  .tot .brow, .tot .bhd { grid-template-columns: 26px 30px minmax(0, 1fr) 44px 30px; gap: 6px; }
  .tot .brow .gp, .tot .bhd span:last-child { display: none; }
}

/* Recap card (overnight item 2): a settled bet ticket above the table of a closed week, sized for one phone screenshot
   (at most 440 px at 390 wide). The winner sits on a gold stub with the masthead's stripes and a "Final" sticker like
   the duel badge; a perforation with two notches tears it from the bet rows. Gold only on the winner. */
.recap { text-align: left; padding: 0 16px 6px; gap: 0; }
.rc-top { --rc-stripe: color-mix(in srgb, var(--gold) 4%, var(--gold-soft)); /* faint: the muted text keeps 4.5:1 over a stripe (N-5) */
  position: relative; margin: 0 -16px; padding: 12px 16px; display: grid; gap: 2px; border-bottom: 2px dashed var(--line); border-radius: 17px 17px 0 0;
  background: repeating-linear-gradient(102deg, transparent 0 38px, var(--rc-stripe) 38px 40px), var(--gold-soft); }
/* The notches: centred on the card's outer edge and on the dashed line, only their inner half drawn, so each bites
   through the card's border (the card does not clip; the stub's own top radius, the panel's 18 px less its border,
   keeps the stripes inside the corners). */
.rc-top::before, .rc-top::after { content: ""; position: absolute; bottom: -10px; width: 16px; height: 16px; border-radius: 50%; background: var(--chalk); border: 1px solid var(--line); }
.rc-top::before { left: -10px; clip-path: inset(0 0 0 50%); } .rc-top::after { right: -10px; clip-path: inset(0 50% 0 0); }
/* No winner: a quiet stub, no gold and no stripes (gold is the winner's). */
.rc-top.none { background: var(--dent); }
/* A week of voids has no rows: the stub alone fills the card, with no perforation or notches under it. */
.rc-top:last-child { margin-bottom: -6px; border-bottom: 0; border-radius: 17px; }
.rc-top:last-child::before, .rc-top:last-child::after { display: none; }
.rc-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.rc-l { margin: 0; min-width: 0; font: 800 13px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-final { flex: none; font: 900 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; padding: 3px 7px 2px; border-radius: 6px; background: var(--ink); color: var(--chalk); transform: rotate(-4deg); box-shadow: 0 3px 8px rgba(0, 0, 0, .22); }
/* One winner: one line (a name over 14 characters a size down, so a 20-character name still fits whole). A tie: two lines at most. */
.recap .rc-name { font: 900 40px/.94 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recap .rc-name.long { font-size: 30px; }
.recap .rc-name.many { font-size: 28px; line-height: .92; white-space: normal; text-wrap: balance; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rc-sub { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--muted); font-variant-numeric: tabular-nums; }
.rc-row { display: grid; gap: 2px; padding: 9px 0 8px; min-width: 0; }
.rc-row + .rc-row { border-top: 1px solid var(--line); }
.rc-top + .rc-row { padding-top: 13px; }
.rc-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; font-size: 16px; font-weight: 700; line-height: 1.25; }
.rc-t.none { font-weight: 500; }
.rc-ans { font-weight: 800; } .rc-ans.ok { color: var(--good); }
.rc-d { font-size: 14px; line-height: 1.3; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* one line: the card keeps its height */
.rc-more { flex: none; font-size: 12px; line-height: 1.25; padding: 1px 8px; }

/* ===== Watch: Sunday's broadcast look (sites/duel-watch/public/index.html). A TV graphic, dark in both themes. ===== */
/* One app (A): the navy belongs to the Watch's content and footer, not the page, so the frame above keeps the shared
   colors. The seam: the navy field starts at the tab strip's bottom edge and runs full width to the page's end (the body
   is navy; the strip paints the frame's cream up and out to the sides with a shadow, which never scrolls sideways). */
body[data-screen=watch] #view, body[data-screen=watch] #foot { --chalk: #0b1424; --card: #13203a; --panel2: #1a2a49; --deep: #0e182c; --ink: #eef1f7; --muted: #9aa9c4; --line: #2a3b5c; --dent: #0e182c;
  --gold: #ffc629; --gold-soft: rgba(255, 198, 41, .16); --good: #3ddc84; --bad: #ff7d57; --live: #ff5252; color-scheme: dark;
  --wait: #a9b8d6; --behind: #ff8224; --notyet: #b56228; --lost: var(--live); --focus: #ffc629; }
body[data-screen=watch] { background: #0b1424; }
body[data-screen=watch] #views { background: var(--chalk); box-shadow: 0 -100vmax 0 100vmax var(--chalk); }
@media (prefers-color-scheme: light) { body[data-screen=watch] #views { box-shadow: 0 calc(-100vmax - 2px) 0 100vmax var(--chalk), 0 -100vmax 0 100vmax var(--line); } } /* the strip's rule runs the full width along the seam, not only under the tabs */
body[data-screen=watch] #view { max-width: none; color: var(--ink); }
.bc { font-size: clamp(15px, .45vw + 12px, 22px); display: grid; gap: 1em; min-width: 0; }
.bc h2 { font: 700 1.05em/1.2 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin: 0 0 .7em; display: flex; align-items: center; gap: .6em; }
.bc h2::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--line), transparent); }
.bc h2 small { font: 600 .78em var(--display); color: var(--muted); letter-spacing: .1em; }
.bc h2 { flex-wrap: wrap; row-gap: .3em; }
.bc .none { color: var(--muted); font-size: .88em; margin-bottom: .6em; }
.bc .th { width: 2.4em; height: 2.4em; } .bc .th .ini { font-size: .8em; }
.bc .dot { font-size: .7em; width: 2.6em; height: 2.6em; border: 0; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .22); }
.bc .dot.won { box-shadow: 0 0 0 2px var(--gold); } .bc .dot.lost { opacity: .4; }

/* The week's winner (stays while the week is closed). */
.bc .winner { display: grid; justify-items: center; gap: .3em; text-align: center; padding: .9em 1em; background: linear-gradient(100deg, #3b2f10, var(--panel2)); border: 2px solid var(--gold); }
.bc .winner .tag { background: var(--gold); color: #1a1400; }
.bc .winner b { font: 900 1.9em/1 var(--display); text-transform: uppercase; letter-spacing: .03em; text-wrap: balance; overflow-wrap: anywhere; }
.bc .winner small { color: var(--muted); font-weight: 600; font-size: .9em; }

/* The race: one lane per friend, highest first. Solid bar = points won, striped stretch = ahead right now on bets still
   in play, the runner (their initials) at the end of the solid bar. Each bar slides from its last end (--from) to the new
   one (--to); the static value is --to, so with no motion it simply stands there. Ticks every 5 points (--k = scale / 5).
   The runner is clamped inside the track (at 0 it starts on the line, never past it). */
.bc .race { --rw: 1.75em; display: grid; gap: .1em; min-width: 0; background: #05090f; border-bottom: 3px solid var(--gold); padding: .45em .6em .45em; }
.bc .lane { display: grid; grid-template-columns: 1.3em minmax(0, 4.4em) minmax(0, 1fr) 6.4em; align-items: center; gap: .45em; padding: .2em 0; min-width: 0; }
.bc .lane .pos { font: 900 1.05em/1 var(--display); color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.bc .lane .lnm { display: flex; flex-wrap: wrap; align-items: center; gap: .15em .35em; min-width: 0; }
.bc .lane .cn { min-width: 0; max-width: 100%; font: 800 .95em/1.05 var(--display); letter-spacing: .06em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc .trk { position: relative; height: calc(var(--rw) + .3em); min-width: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / var(--k) - 1px), rgba(255, 255, 255, .08) calc(100% / var(--k) - 1px) calc(100% / var(--k))), var(--deep); }
.bc .trk .bank, .bc .trk .pace { position: absolute; left: 0; top: .45em; bottom: .45em; width: var(--to); animation: racebar .8s var(--out) both; }
.bc .trk .bank { z-index: 1; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 55%, #000), var(--c)); }
.bc .trk .pace { background: repeating-linear-gradient(115deg, color-mix(in srgb, var(--c) 45%, transparent) 0 .3em, transparent .3em .55em); }
.bc .trk .pace.on { border-right: 2px dashed var(--c); }
.bc .trk .run { position: absolute; z-index: 2; top: .15em; width: var(--rw); height: var(--rw); left: clamp(0px, calc(var(--to) - var(--rw) / 2), calc(100% - var(--rw))); animation: racerun .8s var(--out) both; }
.bc .trk .run .dot { width: 100%; height: 100%; font-size: .66em; box-shadow: 0 0 0 2px #05090f, 0 0 .6em color-mix(in srgb, var(--c) 70%, transparent); }
@keyframes racebar { from { width: var(--from); } }
@keyframes racerun { from { left: clamp(0px, calc(var(--from) - var(--rw) / 2), calc(100% - var(--rw))); } }
.bc .lane.me .trk { outline: 1.5px solid rgba(255, 255, 255, .75); }
.bc .lane .pts { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .2em .3em; min-width: 0; text-align: right; }
.bc .lane .pts b { font: 900 1.6em/.9 var(--display); font-variant-numeric: tabular-nums; }
.bc .lane .tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 .6em/1.2 var(--display); font-style: normal; letter-spacing: .1em; text-transform: uppercase; border-radius: 0; padding: .12em .4em; background: var(--gold); color: #1a1400; }
.bc .lane .tag.pc { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.bc .lane .pts small { flex-basis: 100%; font: 600 .7em/1.15 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bc .race .key { display: flex; flex-wrap: wrap; gap: .2em 1.2em; margin: .3em 0 0; font-size: .72em; color: var(--muted); }
.bc .race .key i { display: inline-block; width: 1.8em; height: .6em; margin-right: .45em; background: var(--gold); }
.bc .race .key i.p { background: repeating-linear-gradient(115deg, rgba(255, 198, 41, .5) 0 .35em, transparent .35em .65em); }
@media (min-width: 700px) { .bc .lane { grid-template-columns: 1.6em minmax(0, 7em) minmax(0, 1fr) 11em; gap: .6em; } }
@media (prefers-reduced-motion: reduce) { .bc .trk .bank, .bc .trk .pace, .bc .trk .run { animation: none; } }
/* Another player's lane opens their picks beside yours (watch.js vsChoose). cursor: an iPhone sends a tap on a plain div
   to a document listener only if it looks clickable. */
.bc .lane[role=button] { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.bc .race .key .tap { color: var(--ink); }
/* The first screen (live progress, the approved picture's PART 1): above 2 players the race shows two lanes, then a button
   for everyone; the key and the tap hint show only when it is open. The status line sits on the race as its top strip
   (watch.js draws it first). Every control on the Watch is at least 44 px tall. */
.bc .race [hidden] { display: none; }
.bc .race .rmore { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 1px 6px 1px calc(1.75em / .85); border: 0; background: none; font: 700 .85em/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: left; } /* the label starts at the names' column (a lane's 1.75em at this .85 size) */
.bc .race .rmore::after { content: ""; flex: none; width: 8px; height: 8px; margin: 0 2px 3px auto; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); }
.bc .race .rmore[aria-expanded=true]::after { transform: rotate(45deg); }
.bc .lane { min-height: 44px; }
.bc .wgrid .vmore summary, .bc .wgrid .feedw .more summary { padding: 15px 0 14px; }

/* Picks, side by side: a name tab per other player in their color (the chosen one filled), a one-line tally, then one row
   per bet past kickoff where the two picks differ: the bet and its state, then the two picks, each with its player's color
   on the left edge (the winning one underlined in gold, the losing one dimmed). */
.bc .vsw { display: grid; gap: .55em; align-content: start; min-width: 0; }
.bc .vsw h2 { margin-bottom: .1em; }
.bc .vnote { color: var(--muted); font-size: .88em; }
.bc .vtabs { display: flex; flex-wrap: wrap; gap: .35em; min-width: 0; }
.bc .vtab { max-width: 100%; min-width: 0; min-height: 44px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 0; padding: .42em .75em .36em; background: var(--deep); color: var(--ink); box-shadow: inset 3px 0 0 var(--c);
  font: 800 .85em/1.1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.bc .vtab[aria-selected=true] { background: var(--c); color: var(--ci); box-shadow: none; }
.bc .vsum { font-weight: 600; line-height: 1.35; }
.bc .vsame { margin-top: -.35em; color: var(--muted); font-size: .85em; }
.bc .vrows { display: grid; gap: .4em; min-width: 0; }
.bc .vrow { display: grid; gap: .4em; min-width: 0; padding: .55em .65em .6em; background: var(--panel2); }
.bc .vh { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2em .6em; min-width: 0; }
.bc .vt { flex: 1 1 10em; min-width: 0; font: 700 1em/1.15 var(--display); text-transform: uppercase; letter-spacing: .03em; overflow-wrap: anywhere; }
.bc .vst { margin-left: auto; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: .12em .42em; font: 800 .72em/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.bc .vst.won { background: var(--gold); color: #1a1400; }
.bc .vst.ahead { background: var(--good); color: #06180d; }
.bc .vst.void { color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.bc .vps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .4em; }
.bc .vp { display: grid; gap: .1em; align-content: start; min-width: 0; padding: .3em .5em .35em .7em; background: var(--deep); box-shadow: inset 4px 0 0 var(--c); }
.bc .vp small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 .72em/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bc .vp b { font: 700 .92em/1.15 var(--display); text-transform: uppercase; letter-spacing: .04em; overflow-wrap: anywhere; }
.bc .vp.np b { font-weight: 600; color: var(--muted); }
.bc .vp.won { box-shadow: inset 4px 0 0 var(--c), inset 0 -2px 0 var(--gold); }
.bc .vp.lost { opacity: .5; }
.bc .vp.lost small { color: var(--ink); } .bc .vp.np.lost b { color: var(--ink); } /* dimmed by the box's opacity, muted would fall to 2.9:1; ink keeps it at 4.8:1; the same for a "No pick" label (Nov 22: it was 2.9:1) */
.bc .vmore summary { cursor: pointer; padding: .4em 0; font: 700 .85em var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bc .vmore[open] summary { margin-bottom: .4em; }

/* Score strip: every friend, highest first, in their own color. Only if the race fails to draw (html() in watch.js). */
.bc .strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.4em, 1fr)); gap: .3em; background: #05090f; padding: .3em; border-bottom: 3px solid var(--gold); }
.bc .chip { display: grid; gap: .15em; min-width: 0; padding: .4em .55em .45em; color: var(--ci); background: linear-gradient(100deg, var(--c), color-mix(in srgb, var(--c) 78%, #000)); }
.bc .chip .cn { font: 800 .82em/1.05 var(--display); letter-spacing: .07em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc .chip .cv { display: flex; align-items: center; justify-content: space-between; gap: .3em; min-width: 0; }
.bc .chip b { font: 900 2.1em/.9 var(--display); font-variant-numeric: tabular-nums; }
.bc .chip i { font: 800 .6em/1.2 var(--display); font-style: normal; letter-spacing: .1em; text-transform: uppercase; background: var(--gold); color: #1a1400; padding: .12em .35em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc .chip.top { box-shadow: inset 0 -3px 0 var(--gold); }
.bc .chip.me { outline: 2px solid #fff; outline-offset: -2px; }
.bc .wstat { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .3em 1em; font: 600 .95em/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.bc .wstat span:nth-child(2) { color: var(--ink); }
/* On the race as its top strip (live progress), in one line at phone width. */
.bc .wstat { justify-content: flex-start; gap: .2em .9em; padding: .6em .75em .5em; background: #05090f; border-bottom: 1px solid var(--line); font-size: .8em; text-align: left; }
.bc .wstat span:last-child { margin-left: auto; }
.bc .wstat + .race { margin-top: -1em; }
.bc .livedot { color: var(--live); display: inline-flex; gap: .4em; align-items: center; font-weight: 800; }
.bc .livedot::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--live); animation: blink 1.2s infinite; }
.bc .livedot.off { color: var(--gold); } .bc .livedot.off::before { background: var(--gold); animation: none; }
/* The numbers gone stale (older than STALE_MIN, Task 3): the red "Live" dot turns into a hollow gold one, still, with the
   age in words. */
.bc .livedot.old { color: var(--gold); } .bc .livedot.old::before { background: none; box-shadow: inset 0 0 0 2px var(--gold); animation: none; }
@keyframes blink { 50% { opacity: .25; } }

/* Phone: the column boxes dissolve (display: contents) and the sections stack: the bet list (#lp: ones to watch and the
   prop bets), spreads, picks side by side, feed. Wide screen: three column boxes as on Sunday (the bet list, spreads then
   the picks panel, feed); a week with no spread games has two (nog) unless the picks panel has players to compare, so no
   column sits blank. Then a panel that is only its note (before kickoff, or nobody else yet) sits first in column 1, under
   the race. */
.bc .wgrid { display: grid; gap: 1.6em; min-width: 0; }
.bc .wc { display: contents; }
.bc .wgrid section { min-width: 0; }
.bc .lp { order: 1; } .bc .games { order: 2; } .bc .vsw { order: 3; } .bc .feedw { order: 4; }
@media (min-width: 1100px) {
  .bc .vsw { order: 6; } /* in column 2, under the spreads */
  .bc .wc1 > .vsw { order: 0; } /* a note-only panel in a week with no spreads: first in column 1 */
  .bc .wgrid { gap: 1.6em 2.4em; grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr) minmax(0, .8fr); align-items: start; }
  .bc .wgrid.nog { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .bc .wgrid.nog .wc2 { display: none; }
  .bc .wc { display: grid; gap: 1.6em; align-content: start; min-width: 0; }
  .bc .feedw > ol { max-height: calc(100vh - 9rem); overflow: auto; }
}

.bc .wrow { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .2em .7em; align-items: center; background: var(--panel2); padding: .6em .75em .7em; margin-bottom: .4em; }
.bc .wrow > .th { grid-row: 1 / 3; }
.bc .wrow strong { font: 700 1.02em/1.15 var(--display); text-transform: uppercase; letter-spacing: .03em; overflow-wrap: anywhere; }
.bc .wrow .wt { color: var(--muted); font-size: .85em; line-height: 1.3; }
.bc .wrow .wbar, .bc .wrow .pks { grid-column: 1 / -1; }

.bc .bet { background: var(--card); padding: .7em .8em .75em; margin-bottom: .5em; }
.bc .bet-h { display: flex; flex-wrap: wrap; gap: .3em .6em; align-items: center; }
.bc .bet-h strong { font: 700 1.02em/1.15 var(--display); text-transform: uppercase; letter-spacing: .03em; min-width: 0; flex: 1 1 8em; overflow-wrap: anywhere; }
.bc .val { font: 800 1.2em/1.1 var(--display); font-variant-numeric: tabular-nums; margin-left: auto; text-align: right; }
.bc .val.off { font: 700 .74em var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bc .bet.done .bet-h strong, .bc .bet.done .val { color: var(--muted); }
.bc .wbar { margin-top: .5em; height: 3px; background: var(--line); }
.bc .wbar span { display: block; height: 100%; background: var(--gold); transition: width .8s; }
.bc .wbar span.full { background: var(--good); }
.bc .pks { display: grid; grid-template-columns: 1fr 1fr; gap: .4em; margin-top: .55em; }
.bc .pk { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; align-content: start; gap: .3em .4em; padding: .35em .5em .4em; background: var(--deep); min-width: 0; }
.bc .pk small { grid-column: 1; grid-row: 1; font: 700 .9em/1.15 var(--display); text-transform: uppercase; letter-spacing: .04em; overflow-wrap: anywhere; }
.bc .pk .who { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: .25em; min-height: 1.8em; align-items: center; }
.bc .pk .who em { font-style: normal; font-size: .8em; color: var(--muted); }
.bc .pk.ahead::after, .bc .pk.win::after { grid-column: 2; grid-row: 1; content: "Ahead"; font: 800 .62em/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #06180d; background: var(--good); padding: .08em .35em; }
.bc .pk.win::after { content: "Won"; background: var(--gold); color: #1a1400; }
.bc .pk.ahead { box-shadow: inset 0 -2px 0 var(--good); } .bc .pk.win { box-shadow: inset 0 -2px 0 var(--gold); }
.bc .pk.lose { opacity: .5; }

/* Where every bet stands (docs/superpowers/specs/2026-11-19-live-progress-design.md; the approved picture's PART 2 and
   PART 3, renamed where a class would catch a site rule: .gl, .stg, .snm, .srt, .qt, .lpk, .knote). Sizes in em from the
   picture's px at the phone's 15 px, each against the element's own font size; borders, bar heights and glyph boxes in px.
   Colors: green = your pick is ahead; orange #ff8224 with a "!" = the other side is ahead right now; darker orange
   #b56228 = your Over is not there yet; pale = no pick; red only for Lost. Words always sit beside a bar. */
.bc .lp { display: grid; gap: 1.6em; min-width: 0; }
/* The bar toward the line: the line (gold) at 80% of every track (the track runs to 125% of the line), so the marks line
   up from bet to bet. The fill follows the viewer's pick; past the end it gets an arrow tip. */
.bc .mtr { --f: var(--wait); position: relative; height: 8px; background: color-mix(in srgb, var(--f) 20%, var(--deep)); }
.bc .mtr.ah { --f: var(--good); } .bc .mtr.bh { --f: var(--behind); } .bc .mtr.wait { --f: var(--notyet); }
.bc .mtr::before { content: ""; position: absolute; left: 80%; right: 0; top: 0; bottom: 0; background: rgba(255, 255, 255, .08); }
.bc .mtr i { position: absolute; inset: 0; background: var(--f); transform: scaleX(var(--p)); transform-origin: left center; }
.bc .mtr.off i { clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 50%, calc(100% - 5px) 100%, 0 100%); }
.bc .mtr::after { content: ""; position: absolute; left: 80%; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; background: var(--gold); box-shadow: 0 0 0 2px var(--sf, var(--card)); }
/* "44 / 51.5": the line as large as the number, told apart by weight and the slash. */
.bc .fig { display: inline-flex; align-items: baseline; font: 800 1.267em/1 var(--display); white-space: nowrap; color: var(--ink); }
.bc .fig b { font-weight: inherit; }
.bc .fig i { font-style: normal; font-weight: 600; color: var(--muted); margin: 0 .14em 0 .1em; }
.bc .fig .ln { font-weight: 600; letter-spacing: .01em; }
/* A number that moved at the last update (Task 3): "+6" beside it until the numbers next change. On the draw that
   brought the change (fresh) the card or row lights up from the left and fades in 2 s, once (pdflash on ::before, which
   rests at opacity 0 under the content), and the new number rolls in (pdroll). No bar slide: every redraw replaces the
   bar (ruling I). With reduced motion neither runs; the "+6" alone says it moved. */
.bc .dl { flex: none; padding: .095em .381em 0; font: 800 .7em/1.3 var(--display); letter-spacing: .06em; color: var(--ink); box-shadow: inset 0 0 0 1px var(--muted); white-space: nowrap; }
.bc .lp .moved { position: relative; isolation: isolate; }
.bc .lp .moved.fresh::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 10%, transparent), transparent 70%); animation: pdflash 2s var(--out); }
.bc .lp .moved.fresh .fig b:first-child { animation: pdroll .5s var(--out); }
@keyframes pdflash { from { opacity: 1; } to { opacity: 0; } }
@keyframes pdroll { from { transform: translateY(45%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bc .lp .moved.fresh::before, .bc .lp .moved.fresh .fig b:first-child { animation: none; } }
/* The viewer's pick in words, quieter than the bar and the numbers. Outline (qt) = nothing live, or no pick. */
.bc .lpk { flex: none; padding: .19em .571em .095em; font: 800 .7em/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; background: color-mix(in srgb, var(--ink) 14%, transparent); color: var(--ink); }
.bc .lpk.qt { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
/* The verdict: a tick or a "!" (never color alone) and the words. */
.bc .gl { flex: none; width: 14px; height: 14px; }
.bc .gl rect { fill: var(--good); } .bc .gl.bh rect { fill: var(--behind); }
.bc .gl path { fill: none; stroke: #06180d; stroke-width: 2.2; stroke-linecap: square; }
.bc .vd { display: inline-flex; align-items: center; gap: .333em; min-width: 0; white-space: nowrap; color: var(--ink); }
.bc .vd .wd { font: 700 .8em/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.bc .vd .wd b { font-weight: 800; }
.bc .stg { display: inline-flex; align-items: center; gap: .4em; padding: .1em .5em 0 .1em; font: 800 .667em/1.4 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.bc .stg.ah { background: var(--good); color: #06180d; } .bc .stg.bh { background: var(--behind); color: #1f0d00; }
.bc .gl.bh path { stroke: #1f0d00; }
.bc .stg .gl { width: 12px; height: 12px; } .bc .stg .gl rect { fill: none; }
/* Why a bet is in Ones to watch: outlined gold, as the race's "On pace to win". */
.bc .why { display: inline-block; padding: .1em .5em 0; font: 800 .667em/1.4 var(--display); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
/* A bet with no number to chase: the grader's own words. */
.bc .rd { font: 700 1em/1.15 var(--display); letter-spacing: .02em; color: var(--ink); }
/* Won (gold, a tick) and Lost (red, outlined, a cross) each carry a mark; "No result" carries neither. */
.bc .res { flex: none; display: inline-flex; align-items: center; gap: .4em; padding: .1em .6em 0 .2em; font: 800 .667em/1.4 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.bc .res .gl { width: 12px; height: 12px; } .bc .res .gl rect { fill: none; }
.bc .res.w { background: var(--gold); color: #1a1400; } .bc .res.w .gl path { stroke: #1a1400; }
.bc .res.l { color: var(--lost); box-shadow: inset 0 0 0 1px var(--lost); } .bc .res.l .gl path { stroke: var(--lost); }
.bc .res.x { padding-left: .6em; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
/* The key under Ones to watch. */
.bc .key.bars { display: flex; flex-wrap: wrap; gap: .25em 1.1em; margin-top: .9em; }
.bc .key.bars .k { display: inline-block; width: 1.5em; height: .6em; margin-right: .45em; background: var(--wait); }
.bc .key.bars .k.ah { background: var(--good); } .bc .key.bars .k.bh { background: var(--behind); } .bc .key.bars .k.wait { background: var(--notyet); }
.bc .key.bars .k.line { width: 3px; height: 1em; margin: 0 .6em 0 .3em; vertical-align: -.15em; background: var(--gold); }
.bc .key.bars .dl { display: inline-block; margin-right: .45em; }
.bc .key.knote { margin-top: .35em; }
.bc .otw .key .tap { color: var(--ink); }
/* Settled after the game and Decided: one folded line each, with the count. */
.bc .fold > summary { list-style: none; display: flex; align-items: center; gap: .635em; min-height: 44px; padding: .381em .762em; margin-bottom: .381em; background: #05090f; border-bottom: 2px solid var(--line); cursor: pointer;
  font: 700 1.05em/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.bc .fold > summary::-webkit-details-marker { display: none; }
.bc .fold > summary small { font: 600 .78em var(--display); color: var(--muted); letter-spacing: .1em; margin-left: .3em; }
.bc .fold > summary .ct { margin-left: auto; font: 600 .825em/1.2 var(--display); letter-spacing: .08em; color: var(--ink); }
.bc .fold > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: 0 2px 3px 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); }
.bc .fold[open] > summary::after { transform: rotate(45deg); }
.bc .byhand .fold > summary, .bc .donew .fold > summary { margin-bottom: 0; }
.bc .fold[open] > summary { margin-bottom: .381em; }
/* A bet is one big control: it opens its two sides. Pressed and pointed-at states lighten its surface (and the line's gap). */
.bc .lp [role=button] { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.bc .spot, .bc .lr { transition: background-color .15s var(--out); }
@media (hover: hover) { .bc .lr:hover { --sf: #172746; background-color: var(--sf); } .bc .spot:hover { --sf: #1f3055; background-color: var(--sf); } }
.bc .lr:active { --sf: #1a2c4e; background-color: var(--sf); } .bc .spot:active { --sf: #23355c; background-color: var(--sf); }
/* Ones to watch: up to four fuller cards. Under a bar the Under side sits left and the Over side right, friends on their
   side (the viewer's own dot left out, the last as "+N"). */
.bc .spot { --sf: var(--panel2); display: grid; gap: .333em; padding: .467em .8em; margin-bottom: .4em; background-color: var(--panel2); }
.bc .spot .hd { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 .667em; align-items: center; }
.bc .spot .snm { display: grid; gap: .2em; justify-items: start; min-width: 0; }
.bc .spot strong { font: 700 1.067em/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; overflow-wrap: anywhere; text-wrap: balance; }
.bc .spot .srt { display: grid; gap: .2em; justify-items: end; }
.bc .spot .fr { display: flex; align-items: center; gap: .4em; }
.bc .spot .fig { font: 900 1.867em/.78 var(--display); }
.bc .spot .fig .ln { font-weight: 700; }
.bc .spot .mtr { height: 12px; margin: 2px 0 1px; }
.bc .spot .mtr::after { top: -3px; bottom: -3px; }
.bc .spot .rd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .118em .588em; font-size: 1.133em; }
.bc .spot .rd span { font: 600 .706em/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bc .spot .ft { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: .533em; }
.bc .end { display: flex; flex-wrap: wrap; align-items: center; gap: .267em .333em; min-width: 0; }
.bc .end.r { justify-content: flex-end; }
.bc .end .dot { font-size: .633em; width: 2.316em; height: 2.316em; }
.bc .end .dot.more { background: var(--deep); color: var(--ink); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .22); font-family: var(--display); font-weight: 700; }
.bc .end .sd { font: 700 .7em/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
/* The list: title and numbers, then a bar of one fixed width (so the gold marks line up), the pick, the words. */
.bc .lr { --sf: var(--card); display: grid; gap: .467em; min-height: 44px; padding: .6em .8em .667em; margin-bottom: .133em; background-color: var(--card); align-content: center; }
.bc .lr .l1 { display: flex; align-items: baseline; gap: .533em; min-width: 0; }
.bc .lr strong { flex: 1; min-width: 0; font: 700 1em/1.15 var(--display); text-transform: uppercase; letter-spacing: .03em; overflow-wrap: anywhere; text-wrap: balance; }
.bc .lr .l2 { display: grid; grid-template-columns: 9.333em auto minmax(0, 1fr); align-items: center; gap: .667em; }
.bc .lr .l2.two { grid-template-columns: minmax(0, 1fr) auto; }
.bc .lr .l2 .vd { justify-self: end; }
.bc .lr .pks { margin-top: .133em; }
.bc .lr.qt { gap: .267em; }
.bc .lr.qt .l1 { align-items: center; }
.bc .lr.qt strong { font-weight: 600; }
.bc .lr.dn strong { color: var(--muted); }
.bc .lr.dn .rd { font-size: .933em; font-weight: 600; }
/* A bet in play with no number: one compact row (title, your pick, Ahead or Behind); a spread keeps its margin under the title. */
.bc .lr.tx .l1 { align-items: center; }
.bc .lr.tx strong small { display: block; margin-top: .25em; font: 600 .8em/1.2 var(--display); letter-spacing: .08em; color: var(--muted); }

/* Spread games: one panel, one short row per game. */
.bc .sb { background: var(--card); }
.bc .g { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); align-items: center; padding: .55em .75em .55em 0; border-top: 1px solid var(--line); }
.bc .g:first-child { border-top: 0; }
.bc .st { display: grid; justify-items: center; text-align: center; gap: .1em; padding-inline: .3em; font: 700 .9em/1.05 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.bc .st i { font-style: normal; font-size: .76em; letter-spacing: .1em; }
.bc .st.live b { color: var(--ink); } .bc .st.live i { color: var(--live); }
.bc .teams { display: grid; gap: .35em; min-width: 0; }
.bc .t { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: .25em .45em; min-width: 0; font: 700 1.05em/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.bc .t .tl { width: 1.35em; height: 1.35em; object-fit: contain; }
.bc .t .ini.tl { font-size: .45em; width: 3em; height: 3em; background: var(--deep); color: var(--muted); box-shadow: none; }
.bc .t .n2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.bc .t .sp { font: 600 .78em var(--display); color: var(--muted); }
.bc .t u { grid-column: 4; grid-row: 1; text-decoration: none; min-width: 1.3em; text-align: right; font: 800 1.25em/1 var(--display); font-variant-numeric: tabular-nums; }
.bc .t .tags { grid-column: 2 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: .2em; }
.bc .t .tags:empty { display: none; }
.bc .t.cv u { color: var(--good); }
.bc .key { font-size: .78em; color: var(--muted); margin-top: .6em; }

/* Your own picks (goal 5): your side filled, with a YOU tag in your color, before and after kickoff; the banner on top
   until the last kickoff; a bet not yet kicked off opens its card on a tap. No motion. */
.bc .youin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4em 1em; padding: .7em .9em; background: var(--panel2); box-shadow: inset 4px 0 0 var(--gold); }
.bc .youin b { font: 900 1.45em/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--gold); }
.bc .youin span { font: 600 .9em/1.25 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.bc .youin .btn { padding: .55em 1em; font-size: .9em; }
.bc .youin small { flex-basis: 100%; font: 500 .88em/1.35 var(--body); color: var(--muted); }
.bc .you { font: 800 .66em/1.2 var(--display); font-style: normal; letter-spacing: .12em; text-transform: uppercase; background: var(--me); color: var(--me-ink); padding: .12em .42em; white-space: nowrap; }
.bc .pk.mine { background: var(--ink); color: var(--chalk); }
.bc .pk.mine.ahead, .bc .pk.mine.win { grid-template-columns: minmax(0, 1fr) auto auto; }
.bc .pk.mine.ahead::after, .bc .pk.mine.win::after { grid-column: 3; }
.bc .pk.mine .who em { color: inherit; opacity: .7; }
.bc .t.mine { grid-template-columns: auto minmax(0, 1fr) auto auto auto; background: var(--ink); color: var(--chalk); margin-inline: -.35em; padding: .2em .35em; }
.bc .t.mine u { grid-column: 5; }
.bc .t.mine .sp { color: inherit; opacity: .7; }
.bc .t.mine.cv u { color: #13703c; }
.bc [data-goto] { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* Play by play, newest first. */
.bc .feedw ol { list-style: none; margin: 0; padding: 0; }
.bc .feedw li { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); gap: .6em; padding: .5em 0; border-bottom: 1px solid var(--line); font-size: .92em; line-height: 1.35; }
.bc .feedw li span { overflow-wrap: anywhere; }
.bc .feedw li.lead span { color: var(--gold); font-weight: 700; }
.bc .feedw li.info { grid-template-columns: minmax(0, 1fr); }
.bc .feedw li.info span { color: var(--muted); }
.bc .feedw time { font: 700 .85em var(--display); letter-spacing: .05em; padding-top: .15em; white-space: nowrap; color: var(--muted); }
.bc .feedw .more summary { cursor: pointer; padding: .55em 0; font: 700 .85em var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Winner banner and confetti: a fixed layer over the page, never wider than the screen. */
#fx { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
#fx .ban { position: absolute; left: 50%; top: 34%; width: max-content; max-width: 92vw; transform: translate(-50%, -50%) rotate(-4deg); text-align: center; font: 900 clamp(64px, 18vw, 180px)/1 var(--display); color: #ffc629; text-transform: uppercase;
  text-shadow: 6px 6px 0 #05090f; -webkit-text-stroke: 3px #05090f; paint-order: stroke fill; animation: bang 4.5s both; }
#fx .ban small { display: block; width: max-content; max-width: 88vw; margin: .35em auto 0; padding: .3em .7em; background: rgba(5, 9, 15, .9); border: 2px solid #ffc629; font: 700 max(17px, .16em)/1.25 var(--body); color: #fff; text-transform: none; -webkit-text-stroke: 0; text-shadow: none; white-space: normal; }
@keyframes bang { 0% { transform: translate(-50%, -50%) scale(.2) rotate(-14deg); opacity: 0; } 10% { transform: translate(-50%, -50%) scale(1.12) rotate(-4deg); opacity: 1; }
  16% { transform: translate(-50%, -50%) scale(1) rotate(-4deg); } 88% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.05) rotate(-4deg); opacity: 0; } }
#fx .cf { position: absolute; top: -5vh; width: 10px; height: 16px; animation: fall var(--dur) cubic-bezier(.3, .6, .5, 1) both; }
@keyframes fall { to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); } }
/* The last pick: "All N picks in" stamped over the picks for a moment, then the Watch opens (app.js finish). Fixed colors:
   it reads the same in both schemes. A tap on the stamp stops there (no hidden side button under it gets it). */
#fx .stamp { position: absolute; left: 50%; top: 40%; width: max-content; max-width: calc(100vw - 56px); transform: translate(-50%, -50%) rotate(-6deg); display: grid; justify-items: center; gap: 10px;
  padding: 16px 22px 14px; background: var(--turf); color: #fff; border: 5px solid var(--team-gold); border-radius: 14px; box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .65); text-align: center; pointer-events: auto; animation: stamp .45s var(--out) both; }
#fx .stamp b { font: 900 clamp(46px, 15vw, 76px)/.86 var(--display); color: var(--team-gold); text-transform: uppercase; text-wrap: balance; }
#fx .stamp small { font: 600 16px/1.2 var(--body); opacity: .92; }
@keyframes stamp { from { opacity: 0; transform: translate(-50%, -50%) rotate(-6deg) scale(1.7); } }
@media (prefers-reduced-motion: reduce) { #fx .ban, #fx .stamp, .bc .livedot::before { animation: none; } }

/* Task 5: the Watch strip keeps its one line on a phone with the old-numbers label ("59m ago", watch.js liveWord), so its gap is a little tighter. */
@media (max-width: 480px) { .bc .wstat { column-gap: .6em; } }

/* Task 6: the race on a phone (below 600 px). Each lane's tag row (rank, name, YOU, Leading / On pace to win, "on pace
   for N", the points) sits on its own line above the track, so the track runs from the names' column to the lane's right
   edge (about 92% of the lane, not 40%) and the ranks keep a column of their own. More room above a tag row than between
   it and its track, so each row reads with its own bar. The chips follow the name, a size up (11.1 px) now that they
   have a row, tracked a little tighter (.065em, YOU .085em) so an 18-character name with every tag stays whole at 390 px;
   the points close the row on the right in tabular figures, a size down so the lane stays compact.
   "on pace for N" takes only the room left after the whole name, the chips and the points (its own width counts as 0,
   and it gives back the row's gap before it: -.5em at its .7em size is the .35em gap; the empty ::before puts that gap
   back in front of the text and holds the first line): it shows whenever it fits there; otherwise it wraps onto a second
   line that its one-line box hides, so the name never gives way to it, nothing is drawn in part, and the striped stretch
   still shows the pace. 600 px and up does not change. */
@media (max-width: 599px) {
  .bc .lane { grid-template-columns: 1.3em minmax(0, max-content) minmax(max-content, 1fr); row-gap: .15em; padding: .3em 0 .1em; }
  .bc .lane > .pos, .bc .lane > .lnm, .bc .lane > .pts { grid-row: 1; }
  .bc .lane > .trk { grid-row: 2; grid-column: 2 / -1; }
  .bc .lane .lnm { flex-wrap: nowrap; }
  .bc .lane .you, .bc .lane .tag { flex: none; font-size: .74em; }
  .bc .lane .tag { letter-spacing: .065em; } .bc .lane .you { letter-spacing: .085em; }
  .bc .lane .pts { flex-wrap: nowrap; justify-content: flex-start; gap: .35em; }
  .bc .lane .pts small { order: 1; flex: 1 1 0; width: 0; min-width: 0; margin-left: -.5em; display: flex; flex-wrap: wrap; height: 1.15em; overflow: hidden; }
  .bc .lane .pts small::before { content: ""; flex: none; width: .5em; height: 100%; }
  .bc .lane .pts b { order: 2; margin-left: auto; padding-left: .15em; font-size: 1.3em; }
}
