/* all22.gg DESKTOP page (>= 761 px wide, >= 521 px tall), built from scratch (GP 2026-11-23): its own markup (.dsk) and components.
   Shares only the brand / grid tokens (a22.css :root), the a22.js engine and the one Designer iframe (#field), which this page
   positions over whichever slot is in view (the hero or "Call the game"). Phone markup is hidden here. 8 px grid, 12 columns. */

/* ---------- the phone tree steps aside (the field iframe stays in place: moving it would reload it) ---------- */
body .hero, body .stagebox { display: contents !important; }
body .hero > :not(.stagebox), body .stagebox > :not(#field) { display: none !important; }
body .hero::before { display: none !important; }
#field .standhd, #field .ldtxt { display: none !important; }
body .wk, body #insp-sec, body #week, body #telemetry { display: none !important; }
.dsk { display: block; }

/* the one live field, placed by dsk.js over a slot (inline top/left/width/height) */
body #field { position: absolute !important; right: auto !important; bottom: auto !important; z-index: 2; border-radius: 13px; overflow: hidden;
  transition: top .5s cubic-bezier(.2,.8,.2,1), left .5s cubic-bezier(.2,.8,.2,1), width .5s cubic-bezier(.2,.8,.2,1), height .5s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) { body #field { transition: none; } }

/* ---------- shared desktop pieces ---------- */
.dsk { --dmax: 1600px; --dpad: max(64px, calc((100vw - var(--dmax)) / 2)); }   /* GP 11-23: wide screens use their width (was a 1312 cap: 304 px empty sides at 1920) */
.dsec { padding: 96px var(--dpad); border-top: 1px solid var(--line); background: var(--bg); }
.dhead { max-width: 760px; }
.dkick { margin: 0 0 16px; font: 700 13px/16px Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: var(--s1); }
.dkick::before { content: ""; width: 21px; height: 9px; flex: none; background: var(--brand-mark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23.5 10'%3E%3Cpath d='M11.8 0L23.5 7.3V10L11.8 2.8L0 10V7.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23.5 10'%3E%3Cpath d='M11.8 0L23.5 7.3V10L11.8 2.8L0 10V7.3Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.dhead h2, .dclose h2 { margin: 0; font: 800 56px/1 "Barlow Condensed", "Arial Narrow", Inter, sans-serif; letter-spacing: 0; color: var(--chalk); text-wrap: balance; }
.dhead p:not(.dkick) { margin: 16px 0 0; font: 400 18px/1.5 Inter, sans-serif; color: var(--chalk-2); max-width: 60ch; }
.dlink { font: 600 16px Inter, sans-serif; color: var(--chalk); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.dhead .dlink { display: inline-block; margin-top: 16px; }
.dshot { margin: 40px 0 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #0B1611; }
.dshot img { display: block; width: 100%; height: auto; }
.dbig { height: 56px !important; padding: 0 32px !important; font-size: 18px !important; display: inline-flex !important; align-items: center; border-radius: 999px; }

/* ---------- 1. cinematic hero: the live field, one headline, one button ---------- */
.dhero { position: relative; height: max(640px, 100svh); background: var(--bg); }
.dslot { position: relative; border-radius: 16px; background: var(--brand-frame); }
.dslot-hero { position: absolute; top: 56px; left: var(--s2); right: var(--s2); bottom: var(--s2); }
.dscrim { position: absolute; inset: 3px; border-radius: 13px; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,8,10,.66) 0%, rgba(5,8,10,.3) 42%, rgba(5,8,10,0) 68%), linear-gradient(0deg, rgba(5,8,10,.55) 0%, rgba(5,8,10,0) 45%); }
.dhero-copy { position: absolute; left: 64px; bottom: 64px; z-index: 4; max-width: min(720px, 60vw); color: #F5F7F6; }
.dh1 { margin: 0; font: 800 clamp(72px, 7.6vw, 128px)/.88 "Barlow Condensed", "Arial Narrow", Inter, sans-serif; letter-spacing: 0; color: #F5F7F6; }
.dlede { margin: 24px 0 0; font: 500 20px/1.45 Inter, sans-serif; color: rgba(245,247,246,.9); max-width: 46ch; }
.dctas { margin-top: 32px; display: flex; align-items: center; gap: var(--s3); }
.dhero .dlink { color: #F5F7F6; }

/* ---------- 2. plan the week: one big real screen ---------- */
.dplan .dshot { max-width: var(--dmax); }

/* ---------- 3. call the game: live field left, the call sheet right ---------- */
.dcall-grid { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s4); align-items: start; }
.dslot-call { aspect-ratio: 16 / 10; }
.dres { margin-top: var(--s2); }
.dres:empty { display: none; }
.dresc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s3); padding: var(--s2) var(--s3); background: var(--band-2); border: 1px solid var(--line-2); border-radius: 12px; }
.dresc .dy { font: 800 48px/1 "Barlow Condensed", "Arial Narrow", Inter, sans-serif; color: var(--good); min-width: 64px; }
.dresc .dy.neg { color: var(--bad); }
.dresc b { display: block; font: 700 18px/1.3 Inter, sans-serif; color: var(--chalk); }
.dresc span { display: block; margin-top: 4px; font: 400 14px/1.4 Inter, sans-serif; color: var(--muted); }
.dresc .dacts { display: flex; gap: var(--s1); }
.dbtn2 { height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--band-2); color: var(--chalk); font: 700 14px Inter, sans-serif; cursor: pointer; white-space: nowrap; }
.dbtn2:hover { border-color: var(--chalk-2); }
.dtabs { margin-top: var(--s2); background: var(--band-2); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.dtabs:empty { display: none; }
.dtabbar { display: flex; gap: 4px; padding: var(--s1); border-bottom: 1px solid var(--line); }
.dtabbar button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--chalk-2); font: 600 14px Inter, sans-serif; cursor: pointer; }
.dtabbar button[aria-selected="true"] { background: var(--pill-on); color: var(--pill-on-ink); }
.dtabbody { padding: var(--s2) var(--s3) var(--s3); max-height: 320px; overflow: auto; }
.dtabbody .dl { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.dtabbody ol { list-style: none; margin: 0; padding: 0; }
.dtabbody li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s2); padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--chalk); align-items: baseline; }
.dtabbody li span { font: 700 13px Inter, sans-serif; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.dtabbody h4 { margin: 16px 0 4px; font: 700 12px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dtabbody h4:first-child { margin-top: 0; }
.dtele { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.dtele div { padding: var(--s2); border: 1px solid var(--line); border-radius: 12px; }
.dtele b { display: block; font: 800 36px/1 "Barlow Condensed", "Arial Narrow", Inter, sans-serif; color: var(--chalk); font-variant-numeric: tabular-nums; }
.dtele small { display: block; margin-top: 8px; font: 600 13px/1.3 Inter, sans-serif; color: var(--muted); }
.droles { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.droles button { height: 32px; min-width: 40px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--chalk-2); font: 700 13px Inter, sans-serif; cursor: pointer; }
.droles button[aria-pressed="true"] { color: var(--chalk); box-shadow: inset 0 0 0 1px var(--brand-mark); }
.djob { margin: 0 0 12px; font-size: 15px; color: var(--chalk); }
.dchg { display: flex; align-items: center; gap: var(--s2); padding-top: 12px; border-top: 1px solid var(--line); }
.dchg label { font: 600 14px Inter, sans-serif; color: var(--chalk-2); }
.dchg select { height: 40px; min-width: 200px; font: 600 14px Inter, sans-serif; background: var(--bg); color: var(--chalk); border: 1px solid var(--line-2); border-radius: 8px; padding: 0 8px; }
.dchg .ca { height: 40px; padding: 0 16px; font-size: 16px; border: 0; cursor: pointer; }
.dchg .ca[disabled] { opacity: .45; cursor: default; }

/* the call sheet: a real sheet, a table */
.dsheet { background: var(--band-2); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.dsh-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); }
.dsh-head b { font: 800 24px/1 "Barlow Condensed", "Arial Narrow", Inter, sans-serif; color: var(--chalk); }
.dsh-head span { font: 600 13px Inter, sans-serif; color: var(--muted); white-space: nowrap; }
.dsh-wrap { max-height: 560px; overflow: auto; }
.dsh { width: 100%; border-collapse: collapse; }
.dsh th { position: sticky; top: 0; background: var(--band-2); text-align: left; padding: 8px 12px; font: 700 12px Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.dsh td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--chalk); font-size: 15px; }
.dsh tr.row { cursor: pointer; }
.dsh tr.row:hover td { background: var(--panel); }
.dsh tr.row[aria-selected="true"] td { background: transparent; }
.dsh tr.row[aria-selected="true"] { outline: 2px solid var(--chalk); outline-offset: -2px; }   /* a thin full ring, never a side stripe */
.dsh .art { width: 112px; height: 63px; border-radius: 6px; overflow: hidden; background: var(--pa-bg); }
.dsh .art svg { width: 100%; height: 100%; display: block; }
.dsh .nm { font-weight: 700; }
.dsh .tg { font: 700 12px Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dsh-foot { display: flex; align-items: center; gap: var(--s2); padding: var(--s2) var(--s3); border-top: 1px solid var(--line); }
.dsh-foot .called { font: 600 15px Inter, sans-serif; color: var(--chalk-2); min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsh-foot .called b { color: var(--chalk); }
.dsh-foot .ca { height: 48px; padding: 0 28px; font-size: 16px; border: 0; cursor: pointer; flex: none; }
.dsh-foot .ca[disabled] { opacity: .6; cursor: default; }

/* ---------- 4. real physics ---------- */
.dphys .dshot { max-width: var(--dmax); }

/* ---------- 5. the franchise: a dense grid of real screens ---------- */
.dtiles { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.dtile { background: var(--band-2); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; padding: var(--s3) var(--s3) var(--s3); min-width: 0; }
.dtile.has { padding: 0 0 var(--s3); }
.dtile img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line-2); background: #0B1611; }
.dtile h3 { margin: 0; font: 700 18px/1.3 Inter, sans-serif; color: var(--chalk); }
.dtile.has h3 { margin: var(--s2) var(--s3) 0; }
.dtile p { margin: 8px 0 0; font: 400 14px/1.45 Inter, sans-serif; color: var(--chalk-2); }
.dtile.has p { margin: 8px var(--s3) 0; }

/* ---------- 6. close ---------- */
.dclose { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-block: 80px; }

/* ---------- narrower desktops ---------- */
@media (max-width: 1199px) {
  .dcall-grid { grid-template-columns: minmax(0, 1fr); }
  .dtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dtele { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dhead h2, .dclose h2 { font-size: 48px; }
  .dhero-copy { left: 48px; bottom: 48px; }
}
@media (max-width: 960px) { .dsec { padding: 72px 40px; } .dclose { flex-direction: column; align-items: flex-start; } }

/* centred, image-led sections (GP: no left-aligned text bands) */
.dhead { margin: 0 auto; text-align: center; }
.dkick { justify-content: center; }
.dhead p:not(.dkick) { margin-left: auto; margin-right: auto; }
.dshot { margin-left: auto; margin-right: auto; }
.dmicro { margin: 24px auto 0; text-align: center; font: 600 16px Inter, sans-serif; color: var(--chalk-2); }
.dmicro .dlink { margin-left: 8px; }
.dtwo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.dcard { background: var(--band-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 48px; }
.dcard .dkick { justify-content: flex-start; }
.dcard h2 { margin: 0; font: 800 44px/1 "Barlow Condensed", "Arial Narrow", Inter, sans-serif; color: var(--chalk); }
.dcard p:not(.dkick) { margin: 16px 0 0; font: 400 17px/1.5 Inter, sans-serif; color: var(--chalk-2); }
.dtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dclose { justify-content: center; flex-direction: column; text-align: center; gap: var(--s4); }
@media (max-width: 1199px) { .dtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dcard { padding: 32px; } .dcard h2 { font-size: 36px; } }
@media (max-width: 960px) { .dtwo { grid-template-columns: minmax(0, 1fr); } .dtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* three-up cards (The week, Scouting, Your league) and clean screenshot crops (a 16:10 window onto one whole panel, never mid-word) */
.dtwo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dcrop { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0B1611; border-bottom: 1px solid var(--line-2); }
.dcrop img { position: absolute; left: 0; top: 0; max-width: none; border: 0; aspect-ratio: auto; object-fit: fill;
  width: calc(100% * 1440 / var(--w)); height: auto; transform: translate(calc(-100% * var(--x) / 1440), calc(-100% * var(--y) / 900)); }
.dtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1100px; margin-left: auto; margin-right: auto; }
@media (max-width: 1199px) { .dtwo { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Gameday: the field's own controls (GP's approved "controls on the field" mock, 2026-11-23). Solid ink overlays, no blur,
   16 px from the frame's inner edges, 8 px grid. The field fills the content width at 16:9, capped to the window. ---------- */
.dcall .dslot-call { margin-top: 40px; aspect-ratio: auto; height: max(480px, min(calc((100vw - 2 * var(--dpad)) * 9 / 16), calc(100svh - 96px))); }
.dvp { position: absolute; inset: 3px; z-index: 5; border-radius: 13px; overflow: hidden; pointer-events: none; color: #F5F7F6; font-family: Inter, sans-serif;
  --ov: rgba(10,13,40,.90); --ovLine: rgba(255,255,255,.12); --dimx: rgba(245,247,246,.66); }
.dvp > *, .dvp .dbot > * { pointer-events: auto; }
.dvp .vdraw, .dvp .vrings, .dvp .vcatch { position: absolute; inset: 0; pointer-events: none; }
.dvp .vdraw { width: 100%; height: 100%; overflow: visible; }
.dvp .vcatch:not([hidden]) { pointer-events: auto; touch-action: none; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23FFFFFF' stroke='%230E1244' stroke-width='1.4' stroke-linejoin='round'%3E%3Cpath d='M4 20l4-1 11-11-3-3L5 16z'/%3E%3C/svg%3E") 3 21, crosshair; }
.dvp.varmed .vring { pointer-events: none; }   /* EB draw path: armed, the drag goes through to the field */
.dvp .vring { all: unset; position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; pointer-events: auto; touch-action: none; transition: transform .12s linear;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23FFFFFF' stroke='%230E1244' stroke-width='1.4' stroke-linejoin='round'%3E%3Cpath d='M4 20l4-1 11-11-3-3L5 16z'/%3E%3C/svg%3E") 3 21, pointer; }
.dvp .vring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 3px solid #FF9A2E; box-sizing: border-box; }
.dvp .vring.pulse::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2px solid #FF9A2E; box-sizing: border-box; animation: vring 1.6s ease-out infinite; }
.dvp .vring.on::before, .dvp .vring:hover::before { background: rgba(255,154,46,.25); }
.dvp .vring.nudge::before { animation: vnudge .4s ease; }
.dvp .vring:focus-visible::before { outline: 2px solid #F5F7F6; outline-offset: 3px; }
.dvp .vroute { fill: none; stroke: #FFFFFF; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dvp .vtip { fill: #FFFFFF; }
.dvp .vraw { fill: none; stroke: #FFD9B3; stroke-opacity: .8; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 6; }
.dvp .vhint { position: absolute; left: 50%; top: 72px; transform: translateX(-50%); height: 36px; padding: 0 14px; box-sizing: border-box; border-radius: 999px; background: #F5F7F6; color: #0E1244; font: 700 13px Inter, sans-serif; display: flex; align-items: center; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.35); pointer-events: none; animation: dvin .2s ease-out both; }
.dvp .vhint[hidden] { display: none; }
.dvp .vhint.vat { transform: none; animation: dfade .2s ease-out both; }
.dvp .vhint.vat::after { content: ""; position: absolute; left: calc(var(--tip, 72%) - 6px); bottom: -6px; width: 12px; height: 12px; background: #F5F7F6; transform: rotate(45deg); border-radius: 2px; }
.dvp .vhint.vflash { animation: vpflash2 .5s ease; }
.dvp .vhint:not(.vat).vflash { animation: dflash .5s ease; }
/* top row: the logo chip, the result (centre), the camera */
.dchip { position: absolute; left: 16px; top: 16px; height: 40px; padding: 8px 12px; box-sizing: border-box; border-radius: 12px; background: #0E1244; border: 1px solid var(--ovLine); display: flex; align-items: center; }
.dchip img { display: block; height: 24px; width: auto; }
.dcam { position: absolute; right: 16px; top: 16px; }
.dvp .dghost { height: 44px; padding: 0 16px; box-sizing: border-box; border-radius: 999px; background: var(--ov); color: #F5F7F6; border: 1px solid var(--ovLine); font: 600 14px Inter, sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.dvp .dghost:hover { background: rgba(28,33,80,.94); border-color: rgba(255,255,255,.28); }
.dcam .dghost { height: 40px; }
.dcam .dghost b { font-weight: 700; }
.dcamm { position: absolute; right: 0; top: 48px; min-width: 184px; padding: 4px; box-sizing: border-box; border-radius: 12px; background: #0A0D28; border: 1px solid var(--ovLine); display: grid; gap: 2px; animation: dvin .2s ease-out both; }
.dcamm[hidden] { display: none; }
.dcamm button { all: unset; height: 36px; padding: 0 12px; border-radius: 8px; font: 600 14px Inter, sans-serif; color: #F5F7F6; cursor: pointer; display: flex; align-items: center; }
.dcamm button:hover { background: rgba(255,255,255,.08); }
.dcamm button[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(245,247,246,.5); }
.dvres { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); height: 44px; max-width: calc(100% - 416px); padding: 0 16px 0 12px; box-sizing: border-box; border-radius: 999px; background: var(--ov); border: 1px solid var(--ovLine); display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; animation: dvin .2s ease-out .18s both; }
.dvres[hidden] { display: none; }
.dvres b { font: 800 22px/1 "Barlow Condensed", "Arial Narrow", Inter, sans-serif; color: #FF6B5E; } .dvres b.pos { color: #5BE39A; }
.dvres span { font: 600 15px Inter, sans-serif; }
.dvres i { font-style: normal; color: var(--dimx); font-size: 13px; }
.dvres.tight i { display: none; }
/* the tool: a right-side card, fitted to its content, never over the snap or the bottom row */
.dside { position: absolute; right: 16px; top: 72px; width: 360px; max-height: calc(100% - 72px - var(--dboth, 88px)); overflow: auto; box-sizing: border-box; padding: 16px; border-radius: 16px; background: var(--ov); border: 1px solid var(--ovLine); animation: dslide .22s ease-out both;
  --chalk: #F5F7F6; --chalk-2: rgba(245,247,246,.82); --muted: rgba(245,247,246,.66); --line: rgba(255,255,255,.12); --line-2: rgba(255,255,255,.18); --band-2: transparent; --panel: rgba(255,255,255,.06); --bg: #0A0D28; --pa-bg: rgba(255,255,255,.06); scrollbar-width: thin; }
.dside[hidden] { display: none; }
.dside-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.dside-hd b { font: 700 15px/20px Inter, sans-serif; }
.dside-hd span { font: 600 12px Inter, sans-serif; color: var(--muted); margin-left: auto; white-space: nowrap; }
.dvp .dx { all: unset; flex: none; width: 32px; height: 32px; border-radius: 999px; background: rgba(255,255,255,.10); display: grid; place-items: center; font-size: 14px; cursor: pointer; }
.dvp .dx:hover { background: rgba(255,255,255,.18); }
.dside .dl { margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 20px; }
.dside ol { list-style: none; margin: 0; padding: 0; }
.dside li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--chalk); align-items: baseline; }
.dside li span { font: 700 12px Inter, sans-serif; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.dside h4 { margin: 16px 0 4px; font: 700 12px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dside h4:first-child { margin-top: 0; }
.dside .dtele { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dside .dtele div { padding: 12px; }
.dside .dtele b { font-size: 32px; }
.dside .djob { font-size: 14px; }
.dside .droles button:hover { color: var(--chalk); border-color: var(--chalk-2); }
.dside .droles button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--chalk); }
.dside .dchg { flex-wrap: wrap; gap: 8px; }
.dside .dchg select { min-width: 0; flex: 1 1 160px; }
.dside .dsh-wrap { max-height: none; margin: 0 -16px -16px; }
.dside .dsh td { padding: 8px 16px; font-size: 14px; }
.dside .dsh td:first-child { padding-right: 0; }
.dside .dsh .art { width: 96px; height: 54px; }
.dside .dsh tr.row:hover td { background: rgba(255,255,255,.06); }
.dside .dsh tr.row[aria-selected="true"] { outline: 1px solid rgba(245,247,246,.6); outline-offset: -1px; }
/* bottom: the tools and the actions together, centred, sized to their labels */
.dbot { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; flex-wrap: wrap-reverse; align-items: center; justify-content: center; gap: 8px 16px; width: max-content; max-width: calc(100% - 32px); }
.ddock { display: flex; gap: 4px; height: 56px; padding: 4px; box-sizing: border-box; border-radius: 16px; background: var(--ov); border: 1px solid var(--ovLine); animation: dvin .22s ease-out both; }
.ddock[hidden] { display: none; }
.ddk { all: unset; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 12px; color: #F5F7F6; font: 600 13px Inter, sans-serif; cursor: pointer; white-space: nowrap; transition: background-color .15s ease; }
.ddk svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ddk:hover { background: rgba(255,255,255,.08); }
.ddk[aria-pressed="true"] { background: #F5F7F6; color: #0E1244; }
.dacts { display: flex; gap: 8px; align-items: center; }
.dacts.xf { animation: dfade .18s ease-out; }
.dvp .dmetal { height: 44px; padding: 0 24px; box-sizing: border-box; border-radius: 999px; font: 700 16px Inter, sans-serif; white-space: nowrap; cursor: pointer;
  background: var(--brand-fill); color: #FFFFFF; border: var(--brand-btn-border); box-shadow: var(--brand-btn-glow), var(--brand-btn-ring); text-shadow: var(--brand-fill-shadow); }
.dvp .dmetal:hover { background: var(--brand-fill-hover); }
.dvp .dmetal:active, .dvp .dmetal[aria-pressed="true"] { background: var(--brand-fill-pressed); box-shadow: var(--brand-btn-glow-pressed), var(--brand-btn-ring); }
.dvp .dmetal[disabled] { opacity: .7; cursor: default; }
.dvp .dico { width: 44px; padding: 0; font-size: 18px; }
.dvp .dico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dvp .dico.off { opacity: .45; }
.dvp .dcalled i { font-style: normal; color: var(--dimx); font-size: 12px; }
.dvp button:active { transform: scale(.97); }
.dvp button:focus-visible, .dvp a:focus-visible { outline: 2px solid #F5F7F6; outline-offset: 2px; }
.dlook { position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); height: 40px; padding: 0 16px; box-sizing: border-box; border-radius: 999px; background: var(--ov); border: 1px solid var(--ovLine); display: flex; align-items: center; font: 600 14px Inter, sans-serif; white-space: nowrap; animation: dvin .2s ease-out both; }
.dlook[hidden] { display: none; }
@keyframes dvin { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.ddock, .dcamm { animation-name: dfadeup; }
@keyframes dfadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes dslide { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes dfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dflash { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.06); } }
@keyframes vring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
@keyframes vnudge { 50% { transform: scale(1.25); } }
@keyframes vpflash2 { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  .dvres, .dvp .vhint, .dlook, .dside, .ddock, .dcamm, .dacts.xf { animation-name: dfade !important; }
  .dvp .vring.pulse::after { animation: none; opacity: .5; } .dvp .vring.nudge::before { animation: none; } .dvp button:active { transform: none; }
}

/* ---------- REFINE-1 (2026-11-23): proof video + before/after, the week and your league as image cards, the franchise as five real screens ---------- */
.dvid { margin: 48px auto 0; max-width: var(--dmax); padding: 3px; border-radius: 15px; background: var(--brand-frame); }
.dvid video { display: block; width: 100%; aspect-ratio: 1920 / 984; height: auto; border-radius: 12px; background: #0B1611; object-fit: cover; }
.dphys .dmicro { margin-top: 32px; }
.dba { max-width: var(--dmax); margin: 24px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dba:empty { display: none; }
.dba-ctl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.dba-ctl span { font: 600 14px Inter, sans-serif; color: var(--muted); margin-right: 8px; }
.dba-ctl button[data-izr] { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--chalk); font: 600 14px Inter, sans-serif; cursor: pointer; }
.dba-ctl button[data-izr]:hover { border-color: var(--chalk-2); }
.dba-ctl button[data-izr][aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--chalk); border-color: var(--chalk); }
.dba-ctl .ca { height: 40px; padding: 0 20px; border: 0; cursor: pointer; margin-left: 8px; }
.dba-card { background: var(--band-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 32px; min-width: 0; }
.dba-card small { display: block; font: 700 13px/16px Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dba-card .art { margin-top: 16px; aspect-ratio: 580 / 240; border-radius: 8px; overflow: hidden; background: var(--pa-bg); position: relative; }
.dba-card .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dba-card .res { margin-top: 16px; min-height: 32px; font: 800 28px/32px "Barlow Condensed", "Arial Narrow", Inter, sans-serif; color: var(--chalk); }
.dba-card .res .g { color: var(--good); }
.dba-card .res.wait { color: var(--muted); font: 600 15px/32px Inter, sans-serif; }
.dmore { margin: 24px 0 0; text-align: center; }
.dsk .dtwo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dcard.has { padding: 0; overflow: hidden; }
.dcard.has > img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line-2); background: #0B1611; }
.dcard.has .dcb { padding: 32px; }
.dsk .dcard h2 { font-size: 40px; line-height: 40px; }
.dsk .dtiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 24px; max-width: var(--dmax); margin: 48px auto 0; }
.dsk .dtile { flex: 0 0 calc((100% - 48px) / 3); box-sizing: border-box; }
.dsk .dtile.has { background: none; border: 0; padding: 0; border-radius: 0; overflow: visible; }
.dsk .dtile.has img { border: 1px solid var(--line-2); border-radius: 12px; }
.dsk .dtile.has h3 { margin: 16px 0 0; font: 600 16px/24px Inter, sans-serif; }
.dsk .dtile.has p { margin: 8px 0 0; font: 400 14px/20px Inter, sans-serif; color: var(--muted); }
@media (max-width: 1199px) { .dsk .dtwo { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dsk .dcard h2 { font-size: 32px; line-height: 32px; } }
@media (max-width: 960px) { .dsk .dtile { flex-basis: calc((100% - 24px) / 2); } .dsk .dtwo { grid-template-columns: minmax(0, 1fr); } .dba { grid-template-columns: minmax(0, 1fr); } }

/* REFINE-1 fix 2: the hero says what it is; the block lands on the 8 px grid */
.dhero .dhkick { margin: 0 0 16px; justify-content: flex-start; color: #F5F7F6; }
.dhero .dh1 { font-size: 112px; line-height: 104px; }
.dhero .dlede { margin-top: 24px; }
.dhero .dctas { margin-top: 32px; }
.dhero-copy { left: 64px; bottom: 64px; }
@media (max-width: 1199px) { .dhero .dh1 { font-size: 88px; line-height: 88px; } }
/* the side card: overlay tokens only (both page themes), solid, 8 px under the result pill */
.dside { top: 68px; max-height: calc(100% - 68px - var(--dboth, 88px)); background: rgba(14,18,68,.96); color: #F5F7F6; --good: #5BE39A; --bad: #FF6B5E; --gold: #F5F7F6; }
.dside-hd b { font: 700 17px/24px Inter, sans-serif; color: #F5F7F6; }
.dside .dl { font: 400 13px/20px Inter, sans-serif; color: rgba(245,247,246,.66); }
.dside .dtele { grid-auto-rows: 1fr; }
.dside .dtele div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); border-radius: 12px; }
.dside .dtele b { font: 800 32px/32px "Barlow Condensed", "Arial Narrow", Inter, sans-serif; color: #F5F7F6; font-variant-numeric: tabular-nums; }
.dside .dtele small { font: 600 13px/16px Inter, sans-serif; color: rgba(245,247,246,.70); }
.dside li, .dside .djob { color: #F5F7F6; } .dside li span, .dside h4 { color: rgba(245,247,246,.70); }
.dside select { background: #0A0D28; color: #F5F7F6; border-color: rgba(255,255,255,.18); }
.dside { background: #0E1244; }
/* GP 2026-11-23: no result before the whistle (a22.js roll/unroll) */
html.a22-roll .dsk #panels, html.a22-roll .dsk .dpanel { visibility: hidden !important; }
html.a22-reveal .dvp #dvres:not([hidden]) { animation: dvin .45s ease both; }
/* GP 2026-11-23: the landing viewer, minimal: no tools dock, tool cards, call sheet or camera pill on desktop */
.dvp .dcam, .dvp .ddock, .dvp .dlook, .dsk #panels, .dsk .dpanel { display: none !important; }
/* GP 2026-11-23: the Telemetry graphic is the "Nothing is canned" visual (a real rep: all 22 trails, the scorer's speed) */
.dsk .dtele { display: block !important; margin: 48px auto 0; max-width: var(--dmax); width: 100%; box-sizing: border-box; grid-column: 1 / -1; align-self: stretch; } .dsk .dtele img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line-2); }
/* GP 2026-11-23: "Nothing is canned" = Telemetry graphic + the before/after pair (the second interactive field is gone) */
.dsk .dab2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; max-width: var(--dmax); margin: 48px auto 0; } .dsk .dab2 figure { margin: 0; display: block; }
.dsk .dab2 img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line-2); } .dsk .dab2 figcaption { margin-top: 16px; font: 400 17px/26px Inter, sans-serif; color: var(--chalk-2); text-align: center; }
/* GP 2026-11-23 "a lot of white space... programmer from 2004 centred everything": the play section's head is a two-column block
   on the field's own width and left edge. Left: the pitch. Right: three real numbers and the three steps. */
.dsk .dpl { max-width: var(--dmax); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; text-align: left; }
.dsk .dpl .dkick { justify-content: flex-start; margin: 0 0 16px; }
.dsk .dpl h2 { margin: 0; font: 800 72px/.95 "Barlow Condensed", "Arial Narrow", Inter, sans-serif; letter-spacing: 0; color: var(--chalk); text-wrap: balance; }
.dsk .dpl-sub { margin: 20px 0 0; max-width: 52ch; font: 400 18px/28px Inter, sans-serif; color: var(--chalk-2); }
.dsk .dpl-lab { display: inline-block; margin-top: 20px; font: 600 15px/24px Inter, sans-serif; color: var(--chalk); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.dsk .dpl-lab:hover { color: var(--brand-accent); }
.dsk .dpl-stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.dsk .dpl-stats > div { padding: 20px 0 20px 20px; border-left: 1px solid var(--line-2); }
.dsk .dpl-stats > div:first-child { border-left: 0; padding-left: 0; }
.dsk .dpl-stats dt { font: 800 44px/1 "Barlow Condensed", "Arial Narrow", Inter, sans-serif; color: var(--chalk); }
.dsk .dpl-stats dd { margin: 6px 0 0; font: 600 12px/16px Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dsk .dpl-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dsk .dpl-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.dsk .dpl-steps b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: #0E1244; color: #F5F7F6; font: 700 13px/1 Inter, sans-serif; }
.dsk .dpl-steps span { font: 400 13px/19px Inter, sans-serif; color: var(--muted); }
.dsk .dpl-steps strong { display: block; font: 700 14px/20px Inter, sans-serif; color: var(--chalk); }
.dsk .dcall .dslot-call { margin-top: 48px; }
@media (max-width: 1099px) { .dsk .dpl { grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; } .dsk .dpl h2 { font-size: 60px; } }
/* LB review: the strip's arrows sit in the page gutter, never on a card */
@media (min-width: 761px) { .dsk .dstrip .snav-prev { left: -52px; } .dsk .dstrip .snav-next { right: -52px; } }

/* GP 2026-11-23 1:33 PM "lots of white space on desktop... a programmer from 2004 that centred everything": the desktop uses its width.
   Every section head is two columns on one 1312 px measure: kicker + headline left, the lede (and its link) right, on the headline's baseline.
   One 72 px section rhythm (144 px between two sections' content); the Ironclad band at the full measure; the closing call a full-width bar, headline left and Play now right. */
@media (min-width: 761px) {
  .dsk :is(.dphys, .dfran) .dhead, .dsk .gd-d .head, .dsk .gw-d .gw-head {
    max-width: none; margin: 0; text-align: left; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; align-items: end; }
  .dsk :is(.dphys, .dfran) .dhead > .dkick, .dsk .gd-d .head > .kick, .dsk .gw-d .gw-head > .gw-kick { grid-column: 1; grid-row: 1; justify-content: flex-start; }
  .dsk :is(.dphys, .dfran) .dhead > h2, .dsk .gd-d .head > h2, .dsk .gw-d .gw-head > h2 { grid-column: 1; grid-row: 2 / span 2; align-self: end; }
  .dsk :is(.dphys, .dfran) .dhead > p:not(.dkick), .dsk .gd-d .head > .ln, .dsk .gw-d .gw-head > .gw-sub { grid-column: 2; grid-row: 2; margin: 0; max-width: 52ch; justify-self: start; }
  .dsk .gd-d .head > .lk, .dsk :is(.dphys, .dfran) .dhead > .dlink { grid-column: 2; grid-row: 3; margin-top: 12px; justify-self: start; }
  .dsk .dsec, .dsk .gd-d, .dsk .gw-d { padding-top: 72px; padding-bottom: 72px; }
  .dsk .gd-d figure { margin-top: 48px; } .dsk .gw-d .gw-body { margin-top: 48px; } .dsk :is(.dphys, .dfran) .dhead + * { margin-top: 48px; }
  .dsk .dclose { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; padding-block: 64px; }
  .dsk .dclose h2 { font-size: 64px; }
}

/* GP 2026-11-23 "turn this into an image carousel, McMaster-Carr principles, make it faster": one row of the nine screens, three up with the
   fourth peeking, snap per tile, arrows in the gutter, a live count. Images are 842/480 px WebP (was 690 KB of JPEG for the nine). */
.dsk .dcar { position: relative; max-width: var(--dmax); margin: 40px auto 0; }
.dsk .dtiles.dcar-rail { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 24px; margin: 0; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 4px; }
.dsk .dcar-rail::-webkit-scrollbar { display: none; }
.dsk .dcar-rail > .dtile { flex: 0 0 calc((100% - 72px) / 3.25); scroll-snap-align: start; }
.dsk .dcar-rail:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 6px; border-radius: 12px; }
.dsk .dcar-b { position: absolute; top: calc((100% - 32px) * .32); width: 44px; height: 44px; border-radius: 999px; border: 0; display: grid; place-items: center; cursor: pointer;
  font: 400 28px/1 Inter, sans-serif; color: var(--chalk); background: var(--band-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 6px 16px -8px rgba(0,0,0,.4); z-index: 2; }
.dsk .dcar-prev { left: -60px; } .dsk .dcar-next { right: -60px; }
.dsk .dcar-b:disabled { opacity: .3; cursor: default; }
.dsk .dcar-n { margin: 16px 0 0; font: 600 13px Inter, sans-serif; color: var(--chalk-2); font-variant-numeric: tabular-nums; }
@media (max-width: 1199px) { .dsk .dcar-rail > .dtile { flex-basis: calc((100% - 48px) / 2.25); } .dsk .dcar-prev { left: -52px; } .dsk .dcar-next { right: -52px; } }
@media (max-width: 900px) { .dsk .dcar-b { display: none; } }
