/* Officiata · demo.css (prototype 2026-11-16). The three pieces that explain the product are kept exactly as they are
   on the live site: the Rings demo (js/demo.js) with its "why this referee" panel, the drawn referee-app phone
   (js/round.js) and the five step drawings. Copied unchanged from styles.css (line ranges noted below); only the
   overrides at the end are new. The old variable names these rules use are mapped onto the new tokens here, so the
   demo keeps its look and nothing outside the demo can use them. */
:root{
  --head:var(--font-head); --ui:var(--font-text);
  --ink:var(--c-ink); --text:var(--c-text); --muted:var(--c-muted); --line:var(--c-line); --line2:var(--c-line-strong);
  --navy:var(--c-navy); --navy2:var(--c-navy-2); --navy-text:var(--c-on-navy-text); --dim:var(--c-on-navy-muted); --peach:var(--c-orange-on-navy);
  --accent:var(--c-orange); --accent-hover:var(--c-orange-hover); --accent-ink:var(--c-orange-hover); --accent-soft:#FFEDE2;
  --sky:var(--c-ink); --sky-soft:var(--c-tint); --good:var(--c-green); --good-soft:var(--c-green-soft);
}

/* ---- styles.css lines 255-525: the slot panel and the Rings demo (minus lines 301-319) ---- */
/* the slot panel: why a referee got a slot (js/demo.js) */
.oc-grp{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:5px;background:var(--ink);color:#fff;font:700 11px/1 var(--ui)}
.oc-grp.lo{background:var(--sky-soft);color:var(--sky)}
.oc-info{font:700 11px/1 var(--ui);color:var(--sky);background:var(--sky-soft);border-radius:999px;padding:4px 8px}
.oc-off{visibility:hidden}
.oc-ls{display:none}
.oc-eb{font:700 12px/1.3 var(--ui);letter-spacing:.12em;text-transform:uppercase;color:var(--sky);margin-bottom:4px}
.oc-wt{font:600 18px/1.25 var(--head);color:var(--ink)}
.oc-wm{font-size:13.5px;color:var(--muted);margin-top:4px}
.oc-pick{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--sky-soft);border-radius:10px;padding:10px 12px;margin-top:12px}
.oc-pn{display:flex;align-items:center;gap:6px;font:600 15.5px/1.3 var(--head);color:var(--ink)}
.oc-pm{font-size:13px;color:var(--text);margin-top:2px}
.oc-big{font:600 24px/1 var(--head);color:var(--ink);font-variant-numeric:tabular-nums}
.oc-flag{margin-top:10px;font-size:13.5px;color:var(--ink);border-left:3px solid var(--ink);padding-left:10px}
.oc-flag.chg{border-color:var(--accent)}
.oc-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.oc-chip{font:700 12px/1 var(--ui);color:var(--accent-ink);background:var(--accent-soft);border-radius:999px;padding:6px 10px}
.oc-h{font:700 11.5px/1.3 var(--ui);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-top:16px;margin-bottom:6px;clear:both}
.oc-p{font-size:13.5px;line-height:1.45}
.oc-pre{color:var(--muted);margin-bottom:6px}
.oc-bd>div{display:flex;justify-content:space-between;gap:12px;padding:3px 0;font-size:14px}
.oc-bd dt{color:var(--text)}
.oc-bd dd{font-variant-numeric:tabular-nums;font-weight:700;color:var(--ink)}
.oc-bd dd.p{color:var(--good)}
.oc-bd dd.m{color:var(--accent-ink)}
.oc-zero{font-size:13px;color:var(--muted);margin-top:4px}
.oc-bd .tot{border-top:1px solid var(--line);margin-top:4px;padding-top:6px}
.oc-bd.ex{margin-top:6px}
.oc-alts li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;border-top:1px solid var(--line)}
.oc-alts li:first-child{border-top:0;padding-top:2px}
.oc-as{font:600 16px/1 var(--head);color:var(--ink);font-variant-numeric:tabular-nums}
.oc-rt{margin-top:8px;color:var(--muted)}
.oc-was{display:block;font:400 12.5px/1.3 var(--ui);color:var(--muted)}
@media (max-width:379px){.oc-lf{display:none}.oc-ls{display:inline}}

/* ===================== the hero demo: rings and board (js/demo.js) ===================== */
/* one accent per sport: three shades for the three rings. The hero carries data-sport (set by js/demo.js). */
@property --s1{syntax:"<color>";inherits:true;initial-value:#2FD27C}
@property --s2{syntax:"<color>";inherits:true;initial-value:#D9E35A}
@property --s3{syntax:"<color>";inherits:true;initial-value:#4AA8E8}
:root{--hi:#FF8A4C;--glass:rgba(255,255,255,.05);--glass-line:rgba(255,255,255,.11);--dim:#9FB0C8;--ok:#3FD68A}
.hero-home,.hero-home[data-sport="football"]{--s1:#2FD27C;--s2:#D9E35A;--s3:#4AA8E8}
.hero-home[data-sport="basketball"]{--s1:#FFA62B;--s2:#FFD25C;--s3:#FF6F61}
.hero-home[data-sport="handball"]{--s1:#4AA3FF;--s2:#9B8CFF;--s3:#A6D8FF}
.hero-home{padding-bottom:0;background:radial-gradient(48% 42% at 82% 18%,color-mix(in srgb,var(--s1) 20%,transparent),transparent 72%),radial-gradient(38% 30% at 10% 70%,color-mix(in srgb,var(--s3) 9%,transparent),transparent 70%),var(--navy-grad)}
@media (prefers-reduced-motion:no-preference){.hero-home{transition:--s1 .7s ease,--s2 .7s ease,--s3 .7s ease}}
/* (styles.css lines 301-319, the old hero layout of text, rings and button, are left out: the demo is no longer the hero) */
.hero-rings{display:none}
.js .hero-rings,.hero-rings.has-demo{display:block}
/* while the demo loads, the rings' space is kept at the panel's real height, so nothing below moves when it arrives */
.js .hero-rings:not(.has-demo){min-height:256px}
@media (min-width:640px){.js .hero-rings:not(.has-demo){min-height:370px}}
@media (min-width:1024px){.js .hero-rings:not(.has-demo){min-height:519px}}

/* the rings panel */
.rg{background:var(--glass);border:1px solid var(--glass-line);border-radius:28px;padding:16px 18px 20px;color:var(--navy-text)}
.rg-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;background:rgba(0,0,0,.24);border-radius:999px}
.rg-tabs [role="tab"]{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 10px;border:0;border-radius:999px;background:none;color:var(--navy-text);font:600 15px/1.1 var(--head);cursor:pointer}
.rg-tabs [role="tab"]:hover{color:#fff;background:rgba(255,255,255,.07)}
.rg-tabs [aria-selected="true"]{background:var(--s1);color:#071A30}
.rg-tabs [aria-selected="true"]:hover{background:var(--s1);color:#071A30}
.rg-tabs [role="tab"]:focus-visible{outline-color:#fff;outline-offset:2px}
.tb{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:3;stroke-linejoin:round}
.rg-body{display:grid;justify-items:center;gap:14px;margin-top:16px}
.rg-fig{display:grid;justify-items:center;gap:8px;width:100%}
.rg-svg{width:min(100%,250px);height:auto;overflow:visible}
.rg-sc{font:700 12px/1.3 var(--ui);letter-spacing:.1em;text-transform:uppercase;color:var(--dim);min-height:1.3em;text-align:center}
/* thin rings with wide gaps on neutral tracks; a short tick at the top marks where each ring starts */
.rg-tr,.rg-arc{fill:none;stroke-width:13}
.rg-tr{stroke:rgba(255,255,255,.1)}
.rg-tk{stroke:rgba(255,255,255,.32);stroke-width:2;stroke-linecap:round}
.rg-arc{stroke-linecap:round;stroke-dasharray:100 100;stroke-dashoffset:100}
.rg-arc.a0{stroke:var(--s1)}.rg-arc.a1{stroke:var(--s2)}.rg-arc.a2{stroke:var(--s3)}
.rg-arc.zero{opacity:0}
.rg-ball{fill:none;stroke:#fff;stroke-width:2.2;stroke-linejoin:round;opacity:.92}
@media (prefers-reduced-motion:no-preference){.rg-arc{transition:stroke-dashoffset 1.1s cubic-bezier(.22,1,.36,1),opacity .2s}}
.rg-leg{display:grid;gap:8px;width:100%}
.rg-leg li{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 14px;border-radius:14px;background:rgba(255,255,255,.045)}
.rg-leg i{width:12px;height:12px;border-radius:50%}
.rg-leg .l0 i{background:var(--s1)}.rg-leg .l1 i{background:var(--s2)}.rg-leg .l2 i{background:var(--s3)}
.rg-k{font:600 15px/1.3 var(--ui);color:var(--navy-text)}
.rg-v{font:600 17px/1.2 var(--head);color:#fff;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
@media (min-width:640px) and (max-width:1023px){.rg-body{grid-template-columns:240px minmax(0,1fr);align-items:center;gap:28px}}
@media (max-width:639px){
  .rg{padding:12px 12px 14px;border-radius:22px}
  .rg-tabs [role="tab"]{font-size:14px;padding-inline:4px;gap:5px}
  .tb{width:15px;height:15px}
  .rg-body{grid-template-columns:132px minmax(0,1fr);align-items:center;gap:12px;margin-top:12px}
  .rg-fig{gap:6px}
  .rg-sc{font-size:10px;letter-spacing:.06em;min-height:2.6em}
  .rg-leg{gap:6px}
  .rg-leg li{grid-template-columns:10px minmax(0,1fr);gap:2px 8px;padding:7px 10px;border-radius:12px}
  .rg-leg i{width:10px;height:10px}
  .rg-k{font-size:12.5px;line-height:1.25}
  .rg-v{grid-column:2;text-align:left;font-size:15px}
}
/* the narrowest phones: the tab labels alone, so they never run into each other */
@media (max-width:359px){.rg-tabs .tb{display:none}.rg-tabs [role="tab"]{padding-inline:2px}
  /* and a little more room for the values, so "None broken" stays inside its pill at 320 */
  .rg-body{grid-template-columns:112px minmax(0,1fr)}.rg-leg li{padding:7px 8px;gap:2px 6px}.rg-v{font-size:14px}
  .js .hero-rings:not(.has-demo){min-height:249px}}

/* the board */
.hero-shot.has-demo{background:none;margin-top:30px;padding-bottom:clamp(48px,6vw,80px)}
.hero-shot.has-demo .shot{display:none}
.js .hero-shot:not(.has-demo) .shot{display:none}
.js .hero-shot:not(.has-demo) .wrap{min-height:min(150vw,900px)}
@media (min-width:640px){.js .hero-shot:not(.has-demo) .wrap{min-height:min(60vw,640px)}}
/* the board carries the sample-data line itself, so the caption under the screenshot is only for the screenshot */
.hero-shot.has-demo + .hero-rest .cap{display:none}
.bd{color:var(--navy-text);font-size:15px;line-height:1.45}
/* the bar keeps one shape while the round plays (status, then the scenarios), so nothing below it jumps */
.bd-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"st skip" "seg seg";gap:14px 16px;align-items:start}
.bd-stx{grid-area:st;display:flex;align-items:flex-start;gap:12px;min-width:0}
.bd-skip{grid-area:skip;min-width:172px}
.bd-seg{grid-area:seg;justify-self:start}
.bd-dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--ok);margin-top:8px}
.bd-dot.busy{background:var(--hi)}
.bd-dot.idle{background:rgba(255,255,255,.3)}
.bd-st{font:600 clamp(16px,.9rem + .3vw,19px)/1.4 var(--head);color:#fff;min-height:2.8em}
@media (min-width:1280px){.bd-st{min-height:1.4em}}
.bd-aux{font-size:14px;color:var(--dim);margin-top:2px}
.bd-skip,.bd-more,.bd-x{flex:none;font:600 14px/1.2 var(--head);color:#fff;background:transparent;border:1px solid rgba(255,255,255,.28);border-radius:999px;min-height:44px;padding:8px 16px;cursor:pointer}
.bd-skip:hover,.bd-more:hover{border-color:#fff}
.bd-skip.go{background:var(--accent);border-color:var(--accent)}
.bd-skip.go:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.bd-seg{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;background:rgba(0,0,0,.22);border-radius:999px}
.bd-seg button{font:600 14px/1.2 var(--head);color:var(--navy-text);background:none;border:0;border-radius:999px;padding:9px 15px;min-height:44px;cursor:pointer}
.bd-seg button:hover{color:#fff;background:rgba(255,255,255,.07)}
.bd-seg button[aria-pressed="true"]{background:#fff;color:var(--navy)}
.bd :focus-visible{outline-color:#fff}
.bd-main{position:relative;margin-top:22px}
.bd-days{display:grid;gap:18px}
@media (min-width:1024px){.bd-days{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}
.bd-dl{font:700 12px/1.3 var(--ui);letter-spacing:.14em;text-transform:uppercase;color:var(--dim);margin-bottom:10px}
.bd-pair{display:grid;gap:14px}
@media (min-width:640px) and (max-width:1023px){.bd-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.bd-more{display:none;margin-top:14px}
/* a game: competition, teams and the crew where they stand on the pitch or court */
.gc{background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03));border:1px solid var(--glass-line);border-radius:20px;padding:13px 14px 8px;min-width:0}
.gc-m{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--dim);min-height:24px}
.gc-comp{flex:none;white-space:nowrap;font:700 11px/1 var(--ui);letter-spacing:.09em;text-transform:uppercase;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.13);color:#fff}
.gc-tw{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gc.pm .gc-comp{background:var(--s1);color:#071A30}
.gc-chg{display:none;flex:none;margin-left:auto;font:700 11px/1 var(--ui);letter-spacing:.06em;text-transform:uppercase;color:#fff;border:1.5px solid #fff;border-radius:999px;padding:4px 8px}
.gc.chg .gc-chg{display:inline-block}
.gc-t{font:600 17px/1.3 var(--head);color:#fff;margin:7px 0 2px;letter-spacing:-.005em}
.gc-f{position:relative;aspect-ratio:320/170;margin:12px -4px 18px}
.gc-lines{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:rgba(255,255,255,.17);stroke-width:1.6}
.gc-lines rect{fill:color-mix(in srgb,var(--s1) 7%,transparent)}
.gc-lines .dash{stroke-dasharray:4 5}
.gc-crew li{position:absolute;width:0;height:0}
.ch{position:absolute;left:-42px;top:-21px;width:84px;display:flex;flex-direction:column;align-items:center;background:none;border:0;padding:0;color:inherit;font:inherit;cursor:pointer;border-radius:12px}
.ch:disabled{cursor:default}
.ch-d{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:2px dashed rgba(255,255,255,.3);color:#071A30}
.ch.in .ch-d{border:0;background:radial-gradient(circle at 32% 26%,color-mix(in srgb,var(--s1) 62%,#fff) 0,var(--s1) 62%);box-shadow:0 8px 18px -8px color-mix(in srgb,var(--s1) 80%,#000)}
.ch.in.ob .ch-d{background:radial-gradient(circle at 32% 26%,color-mix(in srgb,var(--s2) 62%,#fff) 0,var(--s2) 62%)}
.ch-d svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.ch-d svg .f{fill:currentColor;stroke:none}
.ch-g{position:absolute;right:-5px;bottom:-4px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:999px;background:#fff;color:var(--navy);font:800 11px/1 var(--ui);box-shadow:0 0 0 2px #10284A}
.ch-lock{position:absolute;left:-6px;bottom:-4px;width:19px;height:19px;padding:3px;border-radius:50%;background:#fff;fill:var(--navy);stroke:var(--navy);stroke-width:1.4;box-shadow:0 0 0 2px #10284A}
.ch-lock path{fill:none}
.ch-n{position:absolute;right:-5px;top:-5px;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--hi);color:#fff;font:800 11px/1 var(--ui);font-style:normal;box-shadow:0 0 0 2px #10284A}
.ch-l{margin-top:5px;font:700 11px/1.1 var(--ui);letter-spacing:.02em;color:#DCE5F1;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.ch:disabled .ch-l{opacity:.5}
/* changed from the default round: a white ring, as the key under the board says. Selected: the chip lifts and its
   label turns into a white tag. Keyboard focus: a peach outline, so it is never mistaken for the white ring. */
.ch.chg .ch-d{box-shadow:0 0 0 3px #10284A,0 0 0 6px #fff}
.ch.on .ch-d{transform:scale(1.12)}
.ch.on .ch-l{background:#fff;color:var(--navy);text-shadow:none;border-radius:999px;padding:2px 7px;margin-top:4px}
.ch:not(:disabled):hover .ch-d{transform:scale(1.07)}
.ch.on:not(:disabled):hover .ch-d{transform:scale(1.12)}
.ch:focus-visible{outline:0}
.ch:focus-visible .ch-d{outline:3px solid var(--peach);outline-offset:6px}
/* the name, on hover or keyboard focus only (the board itself carries no numbers) */
.ch[data-tip]:hover::after,.ch[data-tip]:focus-visible::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);z-index:3;background:#fff;color:var(--navy);font:700 12px/1 var(--ui);padding:6px 9px;border-radius:8px;white-space:nowrap;pointer-events:none;box-shadow:0 6px 16px -6px rgba(0,0,0,.5)}
@media (max-width:379px){.ch{left:-36px;width:72px;top:-19px}.ch-d{width:38px;height:38px}.ch-d svg{width:19px;height:19px}.ch-l{font-size:10.5px}}
/* the reasons sheet */
.bd-why{display:none;position:relative;background:#fff;color:var(--text);border-radius:20px;padding:18px 20px 20px;font-size:14.5px;line-height:1.45;min-width:0;scroll-margin:24px;box-shadow:0 30px 60px -24px rgba(0,0,0,.6)}
.bd-open .bd-why{display:block}
.bd-why:focus{outline:0}
.bd-why:focus-visible{outline:3px solid var(--hi);outline-offset:3px}
.bd-why .oc-wt{font-size:19px}
.bd-x{float:right;margin:-4px -4px 8px 10px;color:var(--ink);border-color:var(--line2);background:#fff;min-height:36px;padding:6px 14px}
.bd-x:hover{border-color:var(--ink)}
.bd-why :focus-visible{outline-color:var(--sky)}
.oc-bd.bars>div:not(.tot) dd{display:grid;grid-template-columns:84px 52px;align-items:center;gap:8px;text-align:right}
.bar{display:block;height:8px;border-radius:4px;width:0;justify-self:end}
.oc-bd dd.p .bar{background:var(--good)}
.oc-bd dd.m .bar{background:var(--accent)}
@media (prefers-reduced-motion:no-preference){.bar{transition:width .7s cubic-bezier(.22,1,.36,1)}}
@media (min-width:1024px){
  .bd-why{position:absolute;top:30px;right:0;bottom:0;width:400px;overflow:auto;z-index:4;overscroll-behavior:contain}
  .bd-open .gc{opacity:.45;transition:opacity .25s}
  .bd-open .gc:has(.ch.on){opacity:1}
  .bd-open .bd-day:last-child .gc{opacity:.2}
  .bd-open .bd-day:last-child .gc:has(.ch.on){opacity:1}
}
@media (max-width:1023px){.bd-why{margin-top:2px}.bd-pair>.bd-why,.bd-day>.bd-why{grid-column:1/-1}}
/* the numbers, behind one click */
.bd-det{margin-top:22px}
.bd-det summary{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 16px;border:1px solid rgba(255,255,255,.28);border-radius:999px;font:600 14px/1.2 var(--head);color:#fff;cursor:pointer;list-style:none}
.bd-det summary::-webkit-details-marker{display:none}
.bd-det summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.bd-det[open] summary::after{transform:translateY(2px) rotate(-135deg)}
.bd-det summary:hover{border-color:#fff}
.bd-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:14px}
.bd-stats>div{border:1px solid var(--glass-line);border-radius:14px;padding:10px 14px;display:flex;flex-direction:column;justify-content:space-between}
.bd-stats dt{font-size:13px;color:var(--dim);line-height:1.3}
.bd-stats dd{font:600 20px/1.25 var(--head);color:#fff;margin-top:2px}
.bd-stats .oc-was{color:var(--dim)}
@media (max-width:1023px){.bd-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:639px){.bd-stats{grid-template-columns:1fr 1fr;gap:8px}.bd-stats dd{font-size:18px}}
.bd-count{font-size:13px;line-height:1.45;color:var(--dim);margin-top:10px;max-width:900px}
.bd-key{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin-top:16px;font-size:13px;line-height:1.4;color:var(--dim)}
.bd-key>span{display:inline-flex;align-items:center;gap:6px}
.bd-key>span:first-child{color:var(--navy-text)}
.bd-key .oc-grp{background:#fff;color:var(--navy)}
.bd-key .oc-grp.lo{background:var(--sky-soft);color:var(--sky)}
.bd-key .ch-lock{position:static;width:17px;height:17px;padding:2px;box-shadow:none}
.bd-key .ch-n{position:static;box-shadow:none}
.bd-ring{display:inline-block;width:14px;height:14px;margin:0 3px;border-radius:50%;background:var(--s1);box-shadow:0 0 0 2px #10284A,0 0 0 4px #fff}
@media (max-width:719px){
  .bd-seg{display:grid;grid-template-columns:1fr 1fr;width:100%;border-radius:18px}
  .bd-seg button{padding:8px 6px;border-radius:14px}
}
@media (max-width:639px){
  .bd-bar{grid-template-columns:minmax(0,1fr);grid-template-areas:"st" "skip" "seg"}
  .bd-skip{justify-self:start;min-width:0}
  .bd-st{min-height:2.8em}
  .bd-lt{display:none}
}
/* the narrowest phones: room for a three-line status, so the board does not move between scenarios */
@media (max-width:359px){.bd-st{min-height:4.2em}}
@media (pointer:coarse){.bd .bd-x{min-height:44px}}
/* motion: cards rise in, chips pop in with a spring, empty chips breathe while the round is drafted. Off with reduced motion. */
@media (prefers-reduced-motion:no-preference){
  .bd-playing .gc{opacity:0;transform:translateY(10px) scale(.985);transition:opacity .45s ease-out,transform .6s cubic-bezier(.2,.9,.3,1.15)}
  .bd-playing .gc.shown{opacity:1;transform:none}
  .ch.pop .ch-d{animation:ch-pop .62s cubic-bezier(.3,1.45,.5,1) both}
  .ch.pop .ch-l{animation:ch-fade .4s .12s ease-out both}
  .bd-playing .ch:disabled .ch-d{animation:ch-breathe 1.5s ease-in-out infinite}
  .bd-dot.busy{animation:ch-breathe 1s ease-in-out infinite}
  .ch-d{transition:transform .2s cubic-bezier(.3,1.4,.5,1)}
  .bd-why{animation:bd-in .32s cubic-bezier(.2,.9,.3,1) both}
}
@keyframes ch-pop{0%{transform:scale(.25);opacity:0}55%{transform:scale(1.14);opacity:1}78%{transform:scale(.95)}100%{transform:none;opacity:1}}
@keyframes ch-fade{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
@keyframes ch-breathe{50%{opacity:.4}}
@keyframes bd-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (min-width:1024px) and (prefers-reduced-motion:no-preference){@keyframes bd-in{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}}

/* ---- styles.css lines 596-616: the five step drawings, static final state ---- */
/* scene drawings, on navy */
.o-row{fill:rgba(255,255,255,.07);stroke:rgba(255,255,255,.13)}
.o-dot.pm{fill:var(--hi)}.o-dot.d1{fill:#7FB2FF}
.o-bar{fill:rgba(255,255,255,.3)}
.o-arrow{stroke:rgba(255,255,255,.5);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.r-d{fill:rgba(255,255,255,.12)}
.r-d.in{fill:var(--ok)}
.r-marks path{fill:none;stroke:#0D2240;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.r-scan{stroke:var(--hi);stroke-width:3;opacity:0}
.s-l{fill:#C9D4E3;font:600 17px var(--ui)}
.s-tr{fill:rgba(255,255,255,.14)}
.s-fl{fill:var(--ok)}.s-fl.k2{fill:var(--hi)}
.s-kn{fill:#fff}
.w-card{fill:rgba(255,255,255,.06);stroke:rgba(255,255,255,.14)}
.w-arc{stroke:rgba(255,255,255,.4);stroke-width:2.5;stroke-dasharray:6 7}
.w-chip.c1{fill:var(--ok);transform:translate(190px,0)}
.w-chip.c2{fill:#7FB2FF;transform:translate(-190px,0)}
.l-card{fill:rgba(255,255,255,.05);stroke:rgba(255,255,255,.14)}
.l0 circle{fill:var(--hi)}
.l-lock{fill:#0D2240}.l-sh{stroke:#0D2240;stroke-width:3}
.l1{fill:var(--ok)}.l2{fill:#7FB2FF}.l3{fill:var(--ok)}

/* ---- styles.css lines 688-720: the drawn referee-app phone ---- */
/* the phone: our own simple drawing, sized in em so it scales as one piece */
.rp{position:relative;margin:0;justify-self:center;width:min(100%,262px);font-size:11.4px}
@media (min-width:900px){.rp{width:100%;font-size:13px}}
.rp::before{content:"";position:absolute;left:50%;top:44%;width:150%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(47,210,124,.2),transparent);pointer-events:none}
.rp-dev{position:relative;aspect-ratio:300/522;border-radius:3.4em;padding:.75em;background:linear-gradient(155deg,#2B4670 0%,#132A4B 45%,#0A1A31 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 2.6em 5em -2em rgba(0,0,0,.65)}
.rp-scr{height:100%;border-radius:2.75em;background:linear-gradient(180deg,#0E2342,#081629 70%);overflow:hidden;padding:.9em 1.05em;display:flex;flex-direction:column;gap:.8em;color:var(--navy-text);line-height:1.35;-webkit-mask-image:linear-gradient(#000 86%,transparent);mask-image:linear-gradient(#000 86%,transparent)}
.rp-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;font:700 .92em/1 var(--ui);color:#fff;padding:.15em .5em 0}
.rp-cam{width:.75em;height:.75em;border-radius:50%;background:#050D19;box-shadow:0 0 0 2px rgba(255,255,255,.06)}
.rp-app{justify-self:end;display:inline-flex;align-items:center;gap:.35em}
.rp-app svg{width:1.25em;height:1.25em;padding:.12em;border-radius:.35em;background:var(--accent)}
.rp-hi{font:600 1.55em/1.15 var(--head);color:#fff;margin-top:.3em}
.rp-hi span{display:block;font:800 .5em/1.3 var(--ui);letter-spacing:.12em;text-transform:uppercase;color:var(--peach);margin-bottom:.3em}
.rp-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:1.25em;padding:.95em 1em 1em}
.rp-eb{font:800 .74em/1.3 var(--ui);letter-spacing:.1em;text-transform:uppercase;color:#FFA06A}
.rp-t{font:600 1.22em/1.2 var(--head);color:#fff;margin-top:.3em}
.rp-m{font-size:.86em;color:var(--dim);margin-top:.25em}
.rp-dl{display:grid;gap:.2em;margin-top:.55em;font-size:.86em}
.rp-dl span{color:var(--dim);margin-right:.4em}
.rp-dl span::after{content:":"}
.rp-act{display:grid;margin-top:.85em;padding-top:.85em;border-top:1px solid rgba(255,255,255,.1)}
.rp-act>*{grid-area:1/1}
.rp-btns{display:grid;grid-template-columns:1fr 1fr;gap:.5em;opacity:0;visibility:hidden}
.rp-b{position:relative;display:grid;place-items:center;height:2.6em;border-radius:999px;font:600 .95em/1 var(--head);color:#fff;border:1px solid rgba(255,255,255,.24)}
.rp-b.yes{background:#1F9D5B;border-color:#1F9D5B}
.rp-tap{position:absolute;left:50%;top:50%;width:2.6em;height:2.6em;margin:-1.3em 0 0 -1.3em;border-radius:50%;background:rgba(255,255,255,.55);opacity:0}
.rp-done{display:flex;align-items:center;gap:.45em;height:2.6em;font:700 .95em/1.2 var(--ui);color:#74E8A9}
.rp-done svg{width:1.6em;height:1.6em;flex:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.rp-dc,.rp-dk{stroke-dasharray:1 1;stroke-dashoffset:0}
.rp-next{padding-bottom:1.2em}
.rp-next.n2{padding-bottom:1.6em}
.rp-ln{display:block;height:.55em;border-radius:.3em;background:rgba(255,255,255,.12);margin-top:.7em;width:88%}
.rp-ln.s{width:56%;margin-top:.45em}
.rp-cap{position:relative;margin-top:16px;text-align:center;font-size:14px;line-height:1.4;color:var(--dim)}

/* ---- styles.css lines 802-867: the phone plays once (js/round.js) ---- */
/* motion: only on screen, with .round-live (js/round.js) and no reduced motion. Each animation fills backwards, so
   before .play (paused) a drawing waits in its first frame, and after it, it rests in the same final state as the
   static page. Print gets the static final state. */
@media screen and (prefers-reduced-motion:no-preference){
  .rc.rise{transition:opacity .55s ease-out var(--rise,0ms),transform .7s cubic-bezier(.2,.8,.3,1) var(--rise,0ms),translate .3s cubic-bezier(.2,.8,.3,1),border-color .3s}
  .rc{transition:translate .3s cubic-bezier(.2,.8,.3,1),border-color .3s}
  /* the id keeps this above every animation rule below, whatever their own weight. Only the drawings wait, so an
     opened "More" shows its text at once. */
  #round.round-live .rp:not(.play) *,#round.round-live .rc:not(.play) .rc-viz *{animation-play-state:paused}
  /* the phone: the nomination arrives, Confirm is tapped, and the card says "You confirmed the game" */
  .round-live .rp-card:not(.rp-next){animation:rp-up .7s cubic-bezier(.2,.9,.3,1) .15s both}
  .round-live .rp-next{animation:rp-up .7s cubic-bezier(.2,.9,.3,1) .45s both}
  .round-live .rp-next.n2{animation-delay:.6s}
  .round-live .rp-b.yes{animation:rp-press .45s ease-in-out 1.25s both}
  .round-live .rp-tap{animation:rp-ripple .7s ease-out 1.25s both}
  .round-live .rp-btns{animation:rp-hide .35s ease-in 1.75s both}
  .round-live .rp-done{animation:rp-pop .5s cubic-bezier(.3,1.4,.5,1) 1.95s both}
  .round-live .rp-dc{animation:rp-draw .5s ease-out 1.95s both}
  .round-live .rp-dk{animation:rp-draw .4s ease-out 2.35s both}
  /* card drawings start once the card has risen in; later cards a little later */
  .rc-b{--d:.12s}.rc-c{--d:.24s}.rc-d{--d:.36s}
  .round-live .vr-row{animation:rv-in .55s cubic-bezier(.2,.9,.3,1) calc(var(--d,0s) + .35s) both}
  .round-live .vr-row:nth-child(2){animation-delay:calc(var(--d,0s) + .47s)}
  .round-live .vr-row:nth-child(3){animation-delay:calc(var(--d,0s) + .59s)}
  .round-live .vr-row .chip{animation:rv-pop .5s cubic-bezier(.3,1.5,.5,1) calc(var(--d,0s) + .8s) both}
  .round-live .vr-row:nth-child(2) .chip{animation-delay:calc(var(--d,0s) + .95s)}
  .round-live .vr-row:nth-child(3) .chip{animation-delay:calc(var(--d,0s) + 1.1s)}
  /* drop-out: 10 is marked, steps out of the seat and is noted below; "Next best" appears, one click, 20 takes the
     seat in place (nothing slides across another token) */
  .vs-was,.vs-wx,.vs-in,.vs-tag,.vs-tap{transform-box:fill-box;transform-origin:center}
  .round-live .vs-wx{animation:rv-pop .45s cubic-bezier(.3,1.5,.5,1) calc(var(--d,0s) + .55s) both}
  .round-live .vs-was{animation:vs-gone .4s ease-in calc(var(--d,0s) + 1.2s) both}
  .round-live .vs-note{animation:rv-in .5s cubic-bezier(.2,.9,.3,1) calc(var(--d,0s) + 1.05s) both}
  .round-live .vs-tag{animation:rv-pop .5s cubic-bezier(.3,1.5,.5,1) calc(var(--d,0s) + 1.6s) both}
  .round-live .vs-tap{animation:rp-ripple .6s ease-out calc(var(--d,0s) + 2.15s) both}
  .round-live .vs-in{animation:rp-pop .5s cubic-bezier(.3,1.4,.5,1) calc(var(--d,0s) + 2.4s) both}
  .round-live .vn-c.n1{animation:vn-rise .6s cubic-bezier(.2,.9,.3,1) calc(var(--d,0s) + .6s) both}
  .round-live .vn-c.n2{animation:vn-rise .6s cubic-bezier(.2,.9,.3,1) calc(var(--d,0s) + 1.05s) both}
  .round-live .vt-row{animation:rv-in .5s cubic-bezier(.2,.9,.3,1) calc(var(--d,0s) + .35s) both}
  .round-live .vt-row:nth-child(2){animation-delay:calc(var(--d,0s) + .75s)}
  .round-live .vt-row:nth-child(3){animation-delay:calc(var(--d,0s) + 1.15s)}
  .round-live .vt-ln i{animation:vt-fill .6s cubic-bezier(.4,0,.2,1) calc(var(--d,0s) + .5s) both}
  .round-live .vt-row:nth-child(2) .vt-ln i{animation-delay:calc(var(--d,0s) + .9s)}
  .round-live .vt-row:nth-child(3) .vt-ln i{animation-delay:calc(var(--d,0s) + 1.3s)}
  .round-live .vt-dr{animation:rv-pop .45s cubic-bezier(.3,1.5,.5,1) calc(var(--d,0s) + 1s) both}
  .round-live .vt-row:nth-child(2) .vt-dr{animation-delay:calc(var(--d,0s) + 1.4s)}
  .round-live .vt-row:nth-child(3) .vt-dr{animation-delay:calc(var(--d,0s) + 1.8s)}
  /* hover: the card lifts a little and its drawing nudges */
  @media (hover:hover){
    .rc:hover{translate:0 -4px}
    .rc-viz>*{transition:translate .35s cubic-bezier(.2,.8,.3,1)}
    .rc:hover .rc-viz>*{translate:0 -3px}
  }
  .rc-more[open] p{animation:ch-fade .3s ease-out both}
}
@keyframes rp-up{from{opacity:0;transform:translateY(22px) scale(.97)}to{opacity:1;transform:none}}
@keyframes rp-pop{0%{opacity:0;transform:scale(.6)}60%{opacity:1;transform:scale(1.08)}100%{opacity:1;transform:none}}
@keyframes rp-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes rp-press{0%,100%{transform:none}45%{transform:scale(.93);filter:brightness(1.2)}}
@keyframes rp-ripple{0%{opacity:0;transform:scale(.3)}12%{opacity:.7}100%{opacity:0;transform:scale(1.9)}}
@keyframes rp-hide{from{opacity:1;visibility:visible}to{opacity:0;visibility:hidden}}
@keyframes rv-in{from{opacity:0;transform:translateX(-14px)}to{opacity:1;transform:none}}
@keyframes rv-pop{0%{opacity:0;transform:scale(.5)}60%{opacity:1;transform:scale(1.1)}100%{opacity:1;transform:none}}
@keyframes vs-gone{from{opacity:1;transform:none}to{opacity:0;transform:scale(.7)}}
@keyframes vn-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes vt-fill{from{transform:scaleX(0)}to{transform:none}}

/* ---- new in the prototype: small overrides, all inside the demo ---- */
/* the demo now sits on its own navy stage in "Click any referee. See why.": one flat navy gradient, no sport glows */
.stage.hero-home{background:var(--navy-grad);padding-bottom:var(--space-6)}
@media (min-width:1024px){.stage.hero-home{padding-bottom:var(--space-7)}}
/* the soft-rule "!" badge: navy on orange, 6.81:1 (was white on orange, 2.3:1) */
.ch-n{color:var(--c-navy)}
/* labels inside the demo: sentence case, no wide letter-spacing, larger where the layout allows */
.rg-sc,.bd-dl,.gc-comp,.gc-chg,.oc-eb,.oc-h{text-transform:none;letter-spacing:0}
.rg-sc,.bd-dl{font-size:var(--fs-small)}
.gc-comp,.gc-chg{font-size:13px}
.oc-eb,.oc-h{font-size:14px}
/* the phone: no coloured glow behind it, caption at the 15 px minimum */
.rp::before{display:none}
.rp-cap{font-size:var(--fs-small);color:var(--c-on-navy-muted)}
/* below 768 px the board shows the first day only, with "Show all games" (js/demo.js), so the demo is not three screens tall */
@media (max-width:767px){
  .bd-more{display:inline-flex;align-items:center}
  .bd:not(.bd-all) .bd-day + .bd-day{display:none}
}

/* ---- finishing, 16 Nov evening: the 15 px minimum inside the demo too (design-system 3), badges are not pills,
   orange only on what can be pressed (design-system 1.2), no uppercase in the drawn phone ---- */
.rg-tabs [role="tab"],.rg-k,.bd-aux,.bd-seg button,.bd-skip,.bd-more,.bd-x,.bd-det summary,
.gc-m,.gc-comp,.gc-chg,.gc-tw,.ch-l,.bd-key,.bd-stats dt,.bd-count,.oc-was,
.bd-why,.oc-eb,.oc-wm,.oc-pm,.oc-flag,.oc-chip,.oc-h,.oc-p,.oc-bd>div,.oc-zero,.oc-info,.oc-grp{font-size:var(--fs-small)}
.ch[data-tip]:hover::after,.ch[data-tip]:focus-visible::after{font-size:var(--fs-small)}
.rg-k{line-height:1.3}
.gc-m{flex-wrap:wrap;row-gap:4px}
.ch-l{letter-spacing:0}
.ch-g{font-size:var(--fs-small);min-width:22px;height:22px;right:-7px;bottom:-6px}
.oc-grp{min-width:22px;height:22px}
/* badges (competition, "Changed", "Promising", notes): radius 8, never pill-shaped, never orange */
.gc-comp,.gc-chg,.oc-info,.oc-chip,.ch.on .ch-l{border-radius:var(--r-small)}
.oc-chip{color:var(--c-ink);background:var(--c-tint);padding:6px 10px}
.oc-flag.chg{border-color:var(--c-ink)}
.oc-bd dd.m{color:var(--c-ink)}
.oc-bd dd.m .bar{background:var(--c-muted)}
.bd-why:focus-visible{outline-color:#fff}
.bd-why :focus-visible{outline-color:var(--c-ink)}
/* the drawn phone: sentence case, no letter-spacing, muted instead of orange */
.rp-hi span,.rp-eb{text-transform:none;letter-spacing:0;color:var(--c-on-navy-muted)}
/* three radii only: legend rows and number tiles 8, the scenario buttons stay pills at every width */
.rg-leg li,.bd-stats>div{border-radius:var(--r-small)}
.bd-seg button{border-radius:var(--r-pill)}
