/* Chalkstep (ghbulldogs.tech) "Telestrator" v1.0.2: a sports-broadcast replay package on a light studio page.
   Studio white pages, ink type, telestrator red for strokes and actions, replay cyan for defense; the court is the only
   dark surface (the replay monitor). Teko (display, upright condensed) + Instrument Sans (text), both self-hosted under
   the SIL Open Font License (OFL-*.txt beside the fonts). */
@font-face { font-family: "Teko"; src: url("fonts/teko-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrumentsans-var.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }

:root {
  --ink: #111316; --ink-2: #181B20; --ink-3: #21252B; --edge: #2D3239; --edge-2: #3E444D;
  --paper: #F3F2EE; --paper-2: #E8E6E0; --card: #FFFFFF; --rule: #D9D6CE; --chalk: #F3F2EE;
  --red: #D42B20; --red-2: #AE2017; --tele: #FF5446; --cy: #43D3F0; --or: #FF9D3C; --cone: #FF7AA8;
  --text: #15171A; --muted: #575B62; --muted-d: #A9AFB8; --soft-d: #D6DAE0;
  --display: "Teko", "Arial Narrow", "Roboto Condensed", sans-serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--paper); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.narrow { max-width: 640px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* unofficial strip */
.unoff { background: var(--ink); color: var(--soft-d); font-size: 13px; line-height: 1.45; }
.unoff p { margin: 0; padding: 7px 0; }
.unoff b { color: #fff; }
.unoff a { color: #fff; white-space: nowrap; }
.u-short { display: none; }

/* masthead: white bar, ink type, a red rule under the current page */
.mast { background: var(--card); color: var(--text); position: relative; z-index: 20; border-bottom: 1px solid var(--rule); }
.mast-row { display: flex; align-items: center; gap: 30px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-word { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 32px; letter-spacing: .03em; line-height: 1; padding-top: 4px; }
.nav { display: flex; gap: 24px; margin-left: 6px; }
.nav a { text-decoration: none; color: #3C4047; font-weight: 500; font-size: 15px; padding: 21px 0 19px; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.pill { margin-left: auto; display: inline-flex; align-items: stretch; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 4px; overflow: hidden; line-height: 1.2; }
.pill b { background: var(--ink); color: #fff; font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; font-size: 18px; padding: 7px 10px 3px; display: flex; align-items: center; }
.pill span { display: flex; flex-direction: column; justify-content: center; padding: 3px 10px; font-size: 13px; font-weight: 600; color: var(--text); }
.pill small { font-size: 11px; font-weight: 500; color: var(--muted); }
.sheet { display: none; margin-left: auto; }
.sheet summary { list-style: none; cursor: pointer; border: 1.5px solid var(--ink); border-radius: 4px; padding: 6px 14px; font-weight: 600; font-size: 15px; position: relative; z-index: 61; background: var(--card); color: var(--ink); }
.sheet summary::-webkit-details-marker { display: none; }
.sheet-close { display: none; }
.sheet[open] summary { background: var(--ink); color: #fff; border-color: #fff; }
.sheet[open] .sheet-open { display: none; }
.sheet[open] .sheet-close { display: inline; }
.sheet-nav { position: fixed; inset: 0; z-index: 60; background: var(--ink); padding: 96px 24px 32px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.sheet-nav a { color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 48px; line-height: 1.05; padding: 4px 0; }
.sheet-nav a[aria-current="page"] { color: var(--tele); }
.sheet-nav .sheet-price { margin-top: 18px; font-family: var(--sans); text-transform: none; font-size: 16px; line-height: 1.5; color: #fff; border-left: 4px solid var(--tele); padding: 6px 0 6px 14px; }
.sheet-nav .sheet-price span { color: var(--soft-d); }
.fab { display: none; }

/* type */
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .07em; font-size: 18px; line-height: 1; padding: 7px 12px 4px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #fff; flex: none; animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.eyebrow { margin: 0 0 12px; font-family: var(--display); font-weight: 500; font-size: 20px; text-transform: uppercase; letter-spacing: .08em; line-height: 1; color: var(--red-2); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; background: currentColor; }
.eyebrow-y { color: var(--tele); }
.h1 { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(46px, 6.6vw, 88px); line-height: .9; letter-spacing: .005em; margin: 0 0 18px; }
.h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(38px, 5vw, 64px); line-height: .92; margin: 0 0 28px; }
.h3 { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 30px 0 8px; }
/* the telestrator mark: a red stroke drawn under the words that matter */
.mk, .ul { background: linear-gradient(transparent 77%, var(--red) 77%, var(--red) 87%, transparent 87%); padding: 0 .04em; }
.band-ink .ul, .band-ink .mk { background-image: linear-gradient(transparent 77%, var(--tele) 77%, var(--tele) 87%, transparent 87%); }
.lede { font-size: 19px; line-height: 1.6; color: #3A3E45; max-width: 660px; margin: 0 0 22px; }
.lede-sm { font-size: 17px; color: var(--soft-d); max-width: 520px; }
.fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; max-width: 520px; }
.note-sm { font-size: 14px; color: var(--muted); margin-top: 22px; }

/* buttons: square-cornered broadcast keys, one red action per view */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 4px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, background-color .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-go { background: var(--red); color: #fff; }
.btn-go:hover { background: var(--red-2); }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 17px; }
.btn-arrow { font-size: 20px; line-height: 1; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2A2F36; }
.btn-line-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-danger { background: #A61B12; color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.txt-link { font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* home hero: the replay monitor across the full width, the headline as the broadcast lower third */
.hero { background: var(--paper); padding: clamp(16px, 3vw, 30px) 0 clamp(44px, 6vw, 76px); }
.broadcast { position: relative; }
.monitor { position: relative; background: #15181D; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 70px rgba(17, 19, 22, .2); }
.monitor-board { display: flex; justify-content: center; }
.monitor-board .dg { width: 100%; height: auto; max-height: min(52vh, 560px); }
.bug { position: absolute; top: 14px; left: 14px; display: flex; align-items: stretch; font-family: var(--display); text-transform: uppercase; font-size: 18px; line-height: 1; letter-spacing: .05em; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.bug > span { padding: 7px 10px 4px; display: flex; align-items: center; gap: 7px; }
.bug-brand { background: var(--chalk); color: var(--ink); font-weight: 600; }
.bug-live { background: var(--red); color: #fff; font-weight: 500; }
.bug-step { background: rgba(17, 19, 22, .88); color: var(--chalk); font-variant-numeric: tabular-nums; }
.monitor-run { position: absolute; right: 14px; top: 14px; min-height: 36px; padding: 0 14px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(17, 19, 22, .7); color: #fff; font: 600 14px var(--sans); cursor: pointer; }
.monitor-run:hover { background: rgba(17, 19, 22, .95); }
.lower { position: relative; z-index: 2; margin: -46px clamp(12px, 3vw, 36px) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); box-shadow: 0 20px 44px rgba(17, 19, 22, .22); }
.lower-tab { grid-column: 1 / -1; justify-self: start; margin: 0; background: var(--red); color: #fff; font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: 19px; line-height: 1; padding: 8px 14px 5px; }
.lower-title { margin: 0; background: var(--card); color: var(--ink); font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(40px, 5.6vw, 80px); line-height: .9; letter-spacing: .005em; padding: 18px 24px 10px; }
.lower-note { margin: 0; background: var(--ink); color: #E8EBEE; padding: 14px 18px; font-size: 15px; line-height: 1.45; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.lower-note b { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .07em; font-size: 19px; line-height: 1; color: var(--tele); }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; margin-top: 34px; padding: 0 clamp(12px, 3vw, 36px); }
.hero-foot .lede { margin: 0; }
.hero-act { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* stage: the dark replay frame on inner pages (Guide example, view-only page) */
.stage { margin: 0; background: #15181D; border-radius: 8px; overflow: hidden; color: #fff; box-shadow: 0 24px 60px rgba(17, 19, 22, .18); }
.stage-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--edge); font-size: 13px; }
.live { background: var(--red); color: #fff; font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .07em; padding: 4px 8px 1px; border-radius: 2px; font-size: 17px; line-height: 1; }
.stage-title { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 22px; line-height: 1; padding-top: 3px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-step { margin-left: auto; color: var(--soft-d); font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.stage-board { background: #15181D; }
.stage-note { padding: 12px 16px; min-height: 3.4em; font-size: 15px; color: #E7EAED; border-top: 1px solid var(--edge); }
.stage-ctl { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; }
.stage-sm { position: sticky; top: 16px; align-self: start; }
.stage:fullscreen { display: flex; flex-direction: column; width: 100vw; height: 100vh; max-width: none; border-radius: 0; }
.stage:fullscreen .stage-board { flex: 1 1 auto; min-height: 0; }
.stage:fullscreen .stage-board .dg { width: 100%; height: 100%; }
.stage:-webkit-full-screen { display: flex; flex-direction: column; width: 100vw; height: 100vh; max-width: none; border-radius: 0; }
.stage:-webkit-full-screen .stage-board { flex: 1 1 auto; min-height: 0; }
.stage:-webkit-full-screen .stage-board .dg { width: 100%; height: 100%; }

/* diagrams (SVG): dark replay by default */
.dg { display: block; width: 100%; height: auto; font-family: var(--sans); }
.dg .ct-bg { fill: #15181D; }
.dg .cl { fill: none; stroke: rgba(236, 239, 243, .5); stroke-width: 1.6; }
.dg .cl-dash { stroke-dasharray: 5 6; }
.dg .cl-dot { fill: rgba(236, 239, 243, .6); stroke: none; }
.dg .cl-goal { stroke: rgba(236, 239, 243, .9); stroke-width: 4.5; }
.dg .cl-net { stroke: rgba(236, 239, 243, .95); stroke-width: 4; }
.dg .cl-faint { stroke: rgba(236, 239, 243, .14); }
.dg .mv-line { fill: none; stroke: var(--tele); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.dg .mv-head { fill: var(--tele); }
.dg .mv-k-x .mv-line { stroke: var(--cy); }
.dg .mv-k-x .mv-head { fill: var(--cy); }
.dg .mv-k-c .mv-line { stroke: var(--cone); }
.dg .mv-k-c .mv-head { fill: var(--cone); }
.dg .mv-pass .mv-line { stroke: #fff; stroke-dasharray: 9 7; stroke-width: 2.6; }
.dg .mv-pass .mv-head { fill: #fff; }
.dg .badge { fill: var(--ink); stroke: rgba(255, 255, 255, .7); stroke-width: 1.2; }
.dg .badge-t { fill: #fff; font-weight: 700; }
.dg .ghost { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 1.4; stroke-dasharray: 4 4; }
.dg .pc-o circle { fill: var(--chalk); stroke: var(--ink); stroke-width: 2; }
.dg .pc-o text { fill: var(--ink); font-weight: 700; }
.dg .pc-x path { stroke: var(--cy); stroke-width: 4.2; stroke-linecap: round; fill: none; }
.dg .pc-x .pc-x-hit { fill: rgba(67, 211, 240, .001); stroke: none; }
.dg .pc-x text { fill: var(--cy); font-weight: 700; }
.dg .pc-b circle { fill: var(--or); stroke: var(--ink); stroke-width: 1.6; }
.dg .pc-c path { fill: var(--cone); stroke: var(--ink); stroke-width: 1.2; }
.dg .selring { fill: none; stroke: var(--tele); stroke-width: 2.2; stroke-dasharray: 5 4; }
.dg .moves, .dg .selring, .dg .ghost, .dg .court { pointer-events: none; }
.dg .hit { fill: transparent; stroke: none; }
/* light diagrams: print cards and step strips (black and white friendly) */
.dg-print .ct-bg, .dg-step .ct-bg { fill: #fff; }
.dg-print .cl, .dg-step .cl { stroke: #9AA0A8; }
.dg-print .cl-dot, .dg-step .cl-dot { fill: #9AA0A8; }
.dg-print .cl-goal, .dg-step .cl-goal, .dg-print .cl-net, .dg-step .cl-net { stroke: #5F6670; }
.dg-print .cl-faint, .dg-step .cl-faint { stroke: #E3E5E8; }
.dg-print .mv-line, .dg-step .mv-line, .dg-print .mv-k-x .mv-line, .dg-step .mv-k-x .mv-line { stroke: var(--ink); }
.dg-print .mv-head, .dg-step .mv-head, .dg-print .mv-k-x .mv-head, .dg-step .mv-k-x .mv-head { fill: var(--ink); }
.dg-step .mv-k-o .mv-line { stroke: var(--red); }
.dg-step .mv-k-o .mv-head { fill: var(--red); }
.dg-print .mv-pass .mv-line, .dg-step .mv-pass .mv-line { stroke: #4A5059; }
.dg-print .mv-pass .mv-head, .dg-step .mv-pass .mv-head { fill: #4A5059; }
.dg-print .badge, .dg-step .badge { fill: #fff; stroke: var(--ink); }
.dg-print .badge-t, .dg-step .badge-t { fill: var(--ink); }
.dg-print .ghost, .dg-step .ghost { stroke: #8D949E; }
.dg-print .pc-o circle, .dg-step .pc-o circle { fill: #fff; stroke: var(--ink); stroke-width: 2.4; }
.dg-print .pc-x path, .dg-step .pc-x path { stroke: var(--ink); }
.dg-print .pc-x text, .dg-step .pc-x text { fill: var(--ink); }
.dg-print .pc-b circle, .dg-step .pc-b circle { fill: #4A5059; stroke: var(--ink); }
.dg-print .pc-c path, .dg-step .pc-c path { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }

/* bands */
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band-tight { padding: 22px 0 44px; }
.band-white { background: var(--card); }
.band-paper { background: var(--paper); }
.band-ink { background: var(--ink); color: #fff; }
.trio { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: none; }
.trio li { border-top: 2px solid var(--ink); padding-top: 18px; }
.trio h3 { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 40px; line-height: 1; margin: 10px 0 8px; }
.trio p { margin: 0; color: #33373D; }
.trio-n { display: inline-block; font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: .08em; line-height: 1; background: var(--ink); color: #fff; padding: 6px 9px 3px; }
.legend-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legend li { display: grid; grid-template-columns: 160px 90px minmax(0, 1fr); align-items: center; gap: 16px; background: var(--ink-2); border-left: 3px solid var(--tele); padding: 12px 16px; }
.legend svg { width: 160px; height: 40px; }
.legend b { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 28px; line-height: 1; padding-top: 4px; }
.legend span { color: var(--muted-d); font-size: 14px; }
.lg-line { fill: none; stroke: var(--tele); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.lg-dash { stroke: #fff; stroke-dasharray: 10 8; }
.lg-head { fill: var(--tele); }
.surfaces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 14px; }
.surfaces a { display: flex; flex-direction: column; gap: 8px; height: 100%; text-decoration: none; background: var(--card); color: var(--text); border: 1px solid var(--rule); border-radius: 8px; padding: 8px 8px 14px; transition: border-color .15s ease, transform .15s ease; }
.surfaces a:hover { border-color: var(--ink); transform: translateY(-2px); }
@media (min-width: 1100px) { .surfaces { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.dg-mini { border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 10; }
.sf-name { font-weight: 600; font-size: 15px; line-height: 1.3; padding: 0 4px; }
.chip { align-self: flex-start; margin-left: 4px; font-family: var(--display); font-weight: 500; font-size: 16px; line-height: 1; text-transform: uppercase; letter-spacing: .06em; padding: 5px 8px 2px; }
.chip-free { background: var(--paper-2); color: var(--ink); }
.chip-pass { background: var(--red); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; }
.plan h2, .plan h3 { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 36px; line-height: 1; margin: 0; }
.plan ul { margin: 14px 0 22px; padding-left: 20px; }
.plan li { margin: 6px 0; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-price { margin: 8px 0 0; color: var(--muted); }
.plan-price b { font-family: var(--display); font-weight: 600; font-size: 76px; line-height: .9; color: var(--text); margin-right: 4px; }
.plan-price span { display: block; }
.plan-renew { margin: 8px 0 0; font-size: 14px; font-weight: 600; }
.plan-pass { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-pass .plan-price, .plan-pass .plan-price span { color: var(--soft-d); }
.plan-pass .plan-price b { color: var(--tele); }
.plan-pass .plan-renew { color: #fff; }
.plan-preview { background: rgba(255, 84, 70, .12); border-left: 3px solid var(--tele); padding: 10px 14px; font-size: 14px; color: #FCE7E4; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.points h3 { margin-top: 0; font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 32px; line-height: 1; }
.points p { margin: 0; color: #33373D; }

/* inner pages */
.pagehead { background: var(--paper); color: var(--text); padding: clamp(40px, 6vw, 76px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--rule); }
.pagehead-tight { padding: 30px 0 28px; }
.pagehead .lede { margin-bottom: 0; }
.prose { max-width: 760px; }
.prose p { margin: 0 0 14px; }
.msg { background: var(--card); color: var(--text); border-left: 4px solid var(--red); padding: 12px 16px; margin: 18px 0 0; max-width: 760px; box-shadow: 0 1px 0 var(--rule); }
.msg-warn { background: #FCE9E6; border-left-color: var(--red-2); }
.msg-preview { background: var(--ink); color: #fff; border-left-color: var(--tele); }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 24px; }
.card h2 { margin-top: 0; }
.b-lab { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; margin: 0 0 6px; }
.b-input { width: 100%; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 6px; border: 1.5px solid #C2C6CC; background: #fff; color: var(--text); font: 16px var(--sans); }
.b-input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(212, 43, 32, .22); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: 15px; }
.card form, form.card { display: grid; gap: 12px; }
.pb-start { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.pb-start .pricenote { grid-column: 1 / -1; }
.keybox { margin-top: 22px; max-width: 760px; }
.keybox-row { display: flex; gap: 8px; }
.keybox-row .b-input { flex: 1; }
.pb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.plays { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.playcard { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.playcard-dg { display: block; background: #15181D; }
.playcard-body { padding: 16px 18px 18px; }
.playcard-t { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 0 0 4px; overflow-wrap: anywhere; }
.playcard-m { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.playcard-a { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.playcard-a form { margin: 0; }
.share { border-top: 1px dashed var(--rule); margin-top: 12px; padding-top: 12px; display: grid; gap: 8px; }
.share form { margin: 0; }
.empty { background: var(--card); border: 1px dashed var(--rule); border-radius: var(--r); padding: 28px; text-align: center; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 24px; font-size: 15px; color: var(--muted); }
.pb-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); }
.pb-foot form { margin: 0; }
.b-link { background: none; border: 0; padding: 6px 0; font: 600 15px var(--sans); color: var(--red-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.b-danger { color: #A61B12; }
.b-help { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.pricenote { font-size: 14px; color: #3A3E45; margin: 22px 0 0; max-width: 760px; }
.pricenote b { color: var(--text); }
.pricenote .prev { font-weight: 600; color: var(--red-2); }
.table-scroll { overflow-x: auto; margin-top: 32px; }
.compare { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--rule); }
.compare caption { caption-side: bottom; text-align: left; font-size: 13px; color: var(--muted); padding-top: 8px; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--rule); text-align: left; }
.compare thead th { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: 22px; line-height: 1; background: var(--ink); color: #fff; padding-top: 14px; }
.compare thead th:last-child { background: var(--red); }
.faq { max-width: 760px; }
.faq h3 { margin: 22px 0 6px; font-size: 18px; }
.faq p { margin: 0; }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); }
.guide-text .h3:first-child { margin-top: 0; }
.keys { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.keys dt { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.3; text-transform: uppercase; }
.keys dd { margin: 0; }
.stepgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.stepgrid li { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.stepgrid p { margin: 0; padding: 10px 12px; font-size: 14px; }
.stage-view { max-width: 980px; margin: 0 auto; }

/* the board: the one dark workspace */
.is-board { background: var(--ink); }
.boardpage { background: var(--ink); color: #fff; padding: 18px 0 48px; }
.boardpage .b-input { background: var(--ink-3); border-color: var(--edge-2); color: #fff; }
.boardpage .b-input::placeholder { color: #7E8691; }
.boardpage .b-input:focus { border-color: var(--tele); box-shadow: 0 0 0 3px rgba(255, 84, 70, .25); }
.boardpage .b-lab { color: var(--soft-d); }
.boardpage .b-help { color: var(--muted-d); }
.boardpage .b-link { color: #FF8F84; }
.boardpage .b-danger { color: #FF9A8F; }
.boardpage .pricenote { color: var(--muted-d); margin-top: 14px; }
.boardpage .pricenote b { color: #fff; }
.boardpage .pricenote .prev { color: #FF8F84; }
.boardpage .pricenote a { color: #fff; }
.boardpage .msg { margin: 0 0 12px; }
.b-head { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; margin-bottom: 14px; }
.b-input-title { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 30px; min-height: 52px; letter-spacing: .02em; padding-top: 4px; }
.boardpage select.b-input { appearance: auto; }
.b-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.b-stage { background: #15181D; border: 1px solid var(--edge); border-radius: 8px; overflow: hidden; }
.b-stage:fullscreen { display: flex; flex-direction: column; height: 100vh; border-radius: 0; }
.b-stage:fullscreen .dg-board { flex: 1 1 auto; min-height: 0; height: auto; max-height: none; }
.b-stage:-webkit-full-screen { display: flex; flex-direction: column; height: 100vh; border-radius: 0; }
.b-stage:-webkit-full-screen .dg-board { flex: 1 1 auto; min-height: 0; height: auto; max-height: none; }
.b-stagebar, .b-runbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 12px; }
.b-stagebar { border-bottom: 1px solid var(--edge); font-size: 13px; }
.b-runbar { border-top: 1px solid var(--edge); }
.b-steplabel { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 19px; line-height: 1; padding-top: 3px; color: #fff; }
.b-hint { color: var(--muted-d); margin-right: auto; }
.dg-board { touch-action: none; user-select: none; -webkit-user-select: none; max-height: 70vh; cursor: crosshair; }
.dg-board .pc { cursor: grab; }
.dg-board.is-dragging .pc { cursor: grabbing; }
.b-icon { min-height: 38px; padding: 0 12px; border-radius: 4px; border: 1px solid var(--edge-2); background: var(--ink-3); color: #fff; font: 600 14px var(--sans); cursor: pointer; }
.b-icon[aria-pressed="true"] { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.b-speed { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--soft-d); margin-left: auto; }
.b-speed select { background: var(--ink-3); color: #fff; border: 1px solid var(--edge-2); border-radius: 4px; min-height: 36px; font: 14px var(--sans); }
.btn-run { min-width: 150px; }
.b-panel { display: grid; gap: 12px; }
.b-group { background: #15181D; border: 1px solid var(--edge); border-radius: 8px; padding: 14px; }
.b-h { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 26px; line-height: 1; margin: 0 0 12px; padding-top: 3px; }
.b-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 10px 12px; border-top: 1px solid var(--edge); }
.b-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.b-stepstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.b-lab-inline { margin: 0; }
.btn-cy { background: var(--chalk); color: var(--ink); }
.btn-cy:disabled, .tool:disabled { opacity: .45; cursor: not-allowed; }
.tool { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--edge-2); background: var(--ink-3); color: #fff; font: 600 15px var(--sans); cursor: pointer; text-align: left; }
.tool:hover { border-color: #5E6773; }
.tg { width: 26px; height: 26px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.tg-o { border-radius: 50%; background: var(--chalk); color: var(--ink); }
.tg-x { color: var(--cy); font-size: 26px; line-height: 1; }
.tg-b::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--or); }
.tg-c::before { content: ""; width: 18px; height: 16px; background: var(--cone); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.b-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0; }
.b-input-label { width: 80px; text-transform: uppercase; font-weight: 700; text-align: center; }
.b-move .b-lab { margin-top: 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 38px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--edge-2); background: transparent; color: #fff; font: 600 14px var(--sans); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--tele); color: var(--ink); border-color: var(--tele); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { min-width: 42px; min-height: 40px; padding: 4px 10px 0; border-radius: 4px; border: 1px solid var(--edge-2); background: var(--ink-3); color: #fff; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1; cursor: pointer; }
.chips button[aria-current="true"] { background: var(--tele); color: var(--ink); border-color: var(--tele); }
.b-status { min-height: 1.5em; margin: 6px 0 0; font-size: 14px; color: #CFE9F0; }
.b-status.is-err { color: #FFB8B0; }
.b-start { margin-top: 10px; padding: 12px; border-radius: 6px; background: rgba(255, 84, 70, .08); border: 1px solid rgba(255, 84, 70, .4); }
.b-start p { margin: 0 0 10px; font-size: 14px; color: var(--soft-d); }
.b-start[hidden], [hidden] { display: none !important; }

/* print cards */
.printpage { background: #fff; color: var(--text); padding: 24px 0 48px; }
.print-tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-bottom: 18px; }
.print-tools .pager { margin: 0; }
.pcard { border: 1px solid var(--rule); border-radius: 8px; padding: 20px; margin: 0 0 24px; break-inside: avoid; }
.pcard-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.pcard-h p { margin: 0; color: var(--muted); }
.pcard-t { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 46px; line-height: 1; margin: 0; overflow-wrap: anywhere; }
.pcard-main { max-width: 760px; margin: 14px 0; border: 1px solid #E1E4E8; }
.pcard-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pcard-steps li { border: 1px solid #E1E4E8; }
.pcard-steps p { margin: 0; padding: 6px 8px; font-size: 13px; }
.pcard-f { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* footer */
.foot { background: var(--ink); color: var(--muted-d); padding: 52px 0 26px; font-size: 15px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; }
.foot-logo { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 42px; line-height: 1; color: #fff; margin: 0 0 8px; }
.foot-brand p:last-child { margin: 0; max-width: 420px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: start; }
.foot-nav a { color: #fff; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot-unoff { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--edge); font-size: 13px; line-height: 1.55; }
.foot-unoff p { margin: 0; max-width: 980px; }
.foot-unoff b { color: #fff; }
.foot-unoff a { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 18px; font-size: 13px; }
.foot-base p { margin: 0; }
.powered a { color: var(--tele); font-weight: 600; }
.is-error main { min-height: 40vh; }

@media (max-width: 1080px) {
  .b-main { grid-template-columns: minmax(0, 1fr); }
  .b-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav, .pill { display: none; }
  .sheet { display: block; }
  .legend-grid, .guide-grid, .foot-top, .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .lower { grid-template-columns: minmax(0, 1fr); }
  .stage-sm { position: static; }
  .trio, .points { grid-template-columns: minmax(0, 1fr); }
  .plans, .pb-start { grid-template-columns: minmax(0, 1fr); }
  .fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 4px; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 10px 30px rgba(17, 19, 22, .35); }
  .fab svg { width: 20px; height: 20px; }
  .foot { padding-bottom: 92px; }
}
@media (max-width: 700px) {
  .mast-row { min-height: 58px; }
  .logo-word { font-size: 28px; }
  .monitor { border-radius: 6px; }
  .bug { position: relative; top: 0; left: 0; margin: 8px 8px 0; font-size: 14px; box-shadow: none; }
  .bug > span { padding: 5px 7px 3px; }
  .bug-brand { display: none !important; }
  .monitor-run { top: 8px; right: 8px; min-height: 30px; padding: 0 10px; font-size: 13px; }
  .lower { margin: 0; box-shadow: none; }
  .lower-tab { font-size: 16px; }
  .lower-title { padding: 14px 14px 8px; border: 1px solid var(--rule); border-top: 0; }
  .lower-note { padding: 12px 14px; }
  .hero-foot { padding: 0; margin-top: 24px; }
  .b-head { grid-template-columns: minmax(0, 1fr); }
  .b-panel { grid-template-columns: minmax(0, 1fr); }
  .dg-board { max-height: 58vh; }
  .b-speed { margin-left: 0; }
  .legend li { grid-template-columns: 110px minmax(0, 1fr); }
  .tool .tl { display: none; }
  .tool { padding: 0 10px; }
  .legend svg { width: 110px; height: 28px; grid-row: span 2; }
  .pcard-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u-long { display: none; }
  .u-short { display: inline; }
  .h3 { font-size: 19px; }
  .compare th, .compare td { padding: 10px 8px; font-size: 15px; }
  .compare thead th { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .rec { animation: none; }
  .surfaces a, .btn { transition: none; }
}
@media print {
  .unoff, .mast, .foot, .fab, .print-tools, .skip { display: none !important; }
  body, .printpage { background: #fff; padding: 0; }
  .pcard { border: 0; padding: 0; page-break-after: always; }
  .pcard:last-child { page-break-after: auto; }
}

/* ---------- v1.1.0: AdEngine banner (adengine.us) ----------
   One labelled slot between the main content and the footer, on the four public coach pages only (the controllers opt
   in). The label and the reserved height are on the <ins>, so when tag.js (or ae-size.js) hides a slot it cannot fill,
   the label and the space around it go with it. 110px = 16px label + 4px gap + 90px banner; 270px on phones (300x250).
   The slot sits on the paper page colour above the ink footer (no top margin there); after a white band it needs space
   above, after a paper band the band's own padding is the space. display stays here and is never !important. */
.ae-slot { padding: 0 clamp(16px, 4vw, 40px); }
.ae-slot ins.adengine { display: block; max-width: 728px; min-height: 110px; margin: 44px auto 48px; text-align: center; text-decoration: none; }
main:has(> .band-paper:last-child) + .ae-slot ins.adengine { margin-top: 0; }
.ae-slot ins.adengine::before { content: "Advertisement"; display: block; margin-bottom: 4px; font: 700 11px/16px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ae-slot ins.adengine a { display: inline-block; vertical-align: top; }
.ae-slot:has(> ins.adengine[style*="none"]) { display: none; }
@media (max-width: 767px) { .ae-slot ins.adengine { max-width: 300px; min-height: 270px; } }
@media print { .ae-slot { display: none; } }
