/* ONI edition pages. Sits on site.css ("The Record") and the shared SaveBench tokens (design-core-v1).
   Only layout for the edition's own blocks lives here; colour comes from the shared tokens and the edition accent. */
.ob-nav{background:var(--night);color:var(--on-night);border-top:1px solid var(--night-rule);border-bottom:4px solid #63c7c9}
.ob-nav .wrap{display:flex;flex-wrap:wrap;gap:4px 28px;align-items:center;padding-block:12px;font-size:15px}
.ob-nav a{color:var(--on-night-2);text-decoration:none;padding:6px 0;min-height:32px}
.ob-nav a:hover,.ob-nav a[aria-current]{color:var(--on-night);text-decoration:underline;text-underline-offset:.4em;text-decoration-thickness:2px}
.ob-nav :focus-visible{outline-color:var(--signal-night)}
.ob-nav-t{font-weight:700;font-stretch:115%;letter-spacing:.1em;text-transform:uppercase;font-size:13px;color:#63c7c9}
.ob-top{padding-top:clamp(40px,5vw,72px)}
.ob-top .kicker,.ob-days .kicker{color:var(--edition-accent)}
.ob-h1{font-size:clamp(44px,6vw,92px);max-width:14em}
.ob-top .lead{margin-top:28px;max-width:60ch}
.ob-h2{font-size:clamp(26px,2.4vw,36px);margin:56px 0 18px}
.ob-h3{margin:48px 0 16px}
.ob-panel{background:var(--paper);color:var(--ink);border:1px solid var(--rule);border-radius:var(--radius);padding:clamp(14px,2vw,24px)}
.night .ob-panel{border-color:var(--night-rule)}
.night .ob-panel figcaption,.night .exhibit.ob-panel figcaption{color:var(--muted)}
.ob-best{font-size:clamp(17px,.5vw + 15px,21px);line-height:1.4;margin-bottom:14px;max-width:none}
.ob-best b{display:block;font-size:clamp(24px,2.2vw,34px);font-stretch:76%;font-weight:800;line-height:1.05;margin-bottom:6px;color:var(--edition-accent)}
.ob-chart{background:transparent}
.ob-chart>svg{width:100%;height:auto}
.sbd svg .run{stroke-width:2.25}
.ob-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));border-top:1px solid var(--ink);margin-top:36px}
.ob-tiles>div{padding:18px 20px 18px 0;border-bottom:1px solid var(--rule)}
.ob-tiles dt{font-size:13px;font-weight:600;font-stretch:112%;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.ob-tiles dd b{display:block;font-size:clamp(36px,4vw,60px);font-weight:800;font-stretch:66%;line-height:1;margin:8px 0 6px;font-variant-numeric:tabular-nums}
.ob-tiles dd span{display:block;font-size:14.5px;line-height:1.4;color:var(--ink-2)}
.ob-note{margin-top:20px;max-width:80ch}
.ob-live{margin-top:24px}
.ob-more{margin-top:28px;font-weight:650;font-size:19px}
.ob-v{display:inline-block;font-size:11.5px;font-weight:700;font-stretch:112%;letter-spacing:.08em;text-transform:uppercase;padding:1px 6px;border:1px solid currentColor;border-radius:2px;color:var(--edition-accent);vertical-align:.08em;white-space:nowrap}
.ob-v[data-v="n"]{color:var(--muted);border-style:dashed}
.ob-two{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(28px,5vw,72px);align-items:start}
.ob-two h3{margin-bottom:16px}
.ob-ladder{background:transparent;font-size:16px}
.ob-ladder .sbd-ladder li.group{border-top:1px solid var(--ink);padding-top:14px;margin-top:10px;font-weight:700}
.ob-ladder .sbd-ladder .num{font-size:13.5px;color:var(--edition-accent);font-weight:650;text-align:right}
.ob-card .sbr-result .sbd-chip{margin-right:6px}
.ob-table{font-size:15.5px}
.ob-table td.num,.ob-table .num{font-variant-numeric:tabular-nums}
.ob-method dd a{font-weight:600}
.ob-strip{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 10px}
.ob-sq{display:inline-block;width:20px;height:20px;border-radius:2px;background:var(--edition-accent);border:1.5px solid var(--edition-accent)}
.ob-sq span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ob-sq.some{background:repeating-linear-gradient(135deg,var(--edition-accent) 0 3px,var(--paper) 3px 6px)}
.ob-sq.none{background:var(--paper)}
a.ob-sq:hover,a.ob-sq:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.ob-key{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;max-width:none}
.ob-key .ob-sq{width:14px;height:14px;margin-left:10px}
.ob-key .ob-sq:first-child{margin-left:0}
.ob-turns{list-style:none;margin-top:32px;border-top:1px solid var(--ink);max-width:86ch}
.ob-turns>li{padding:18px 0;border-bottom:1px solid var(--rule);scroll-margin-top:16px}
.ob-turns>li:target{box-shadow:inset 4px 0 0 var(--edition-accent);padding-left:16px}
.ob-th{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:baseline}
.ob-th b{font-size:20px;font-stretch:80%}
.ob-th span{font-size:14.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.ob-turns blockquote{margin:8px 0 0;font-size:17px;line-height:1.5;overflow-wrap:anywhere}
.ob-cut{color:var(--muted);font-size:13.5px;white-space:nowrap}
.ob-turns details{margin-top:8px;font-size:15px}
.ob-turns summary{cursor:pointer;color:var(--ink-2);font-weight:600;min-height:28px}
.ob-turns details ul{margin:6px 0 0;padding-left:20px;color:var(--ink-2);overflow-wrap:anywhere}
.ob-goals{list-style:none;border-top:1px solid var(--ink);font-size:15.5px}
.ob-goals li{display:grid;grid-template-columns:2.2em minmax(0,1fr) auto;gap:10px;padding:6px 0;border-bottom:1px solid var(--rule);color:var(--muted)}
.ob-goals li.got{color:var(--ink);font-weight:650;box-shadow:inset 3px 0 0 var(--edition-accent);padding-left:8px}
.ob-goals .g{font-variant-numeric:tabular-nums}
.ob-goals .st{font-size:13.5px;white-space:nowrap}
.ob-hash{overflow-wrap:anywhere;font-size:.8em}
.ob-pn{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;margin-top:40px;font-weight:650;max-width:none}
.ob-days{display:grid;gap:0}
.ob-day{border-top:1px solid var(--ink);padding:28px 0 32px}
.ob-day .kicker{margin-bottom:10px}
.ob-day h2{font-size:clamp(26px,2.6vw,40px);line-height:1.02;max-width:26em}
.ob-daylist{list-style:none;margin:18px 0 12px;max-width:86ch}
.ob-daylist li{padding:10px 0;border-top:1px solid var(--rule);font-size:16.5px}
.ob-daylist li a{font-weight:650;margin-left:6px}
.ob-daylist li span:last-child{display:block;color:var(--ink-2);font-size:15.5px;margin-top:2px}
.ob-disc{max-width:80ch}
.sbd-table{width:100%}
@media (max-width:820px){.ob-two{grid-template-columns:minmax(0,1fr)}}
@media (max-width:520px){.ob-nav .wrap{gap:2px 18px;font-size:14.5px}.ob-tiles>div{padding-right:8px}}
.ob-method{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:0 40px;border-top:1px solid var(--ink)}
.ob-method>div{padding:22px 0;border-bottom:1px solid var(--rule)}
.ob-method dt{font-size:22px;font-weight:700;font-stretch:80%;margin-bottom:8px}
.ob-method dd{font-size:16.5px;line-height:1.55;color:var(--ink-2)}
/* The colony, turn by turn: small multiples on the replay pages. Colour is the shared tokens and the edition accent. */
.ob-sms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;background:transparent}
@media (max-width:1000px){.ob-sms{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.ob-sms{grid-template-columns:minmax(0,1fr)}}
.ob-sm{margin:0;min-width:0;background:var(--paper);border:1px solid var(--rule);border-radius:var(--radius);padding:12px 12px 6px}
.ob-sm figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;margin:0 0 6px;font-size:15px;line-height:1.3;color:var(--ink);max-width:none}
.ob-sm figcaption b{font-weight:700}
.ob-sm figcaption span{font-size:13px;color:var(--muted)}
.ob-sm figcaption i{margin-left:auto;font-style:normal;font-weight:700;font-variant-numeric:tabular-nums;color:var(--edition-accent)}
.ob-sm-svg{display:block;width:100%;height:auto;overflow:visible}
.sbd .ob-sm-svg text{font-variant-numeric:tabular-nums}
/* The chart scales with its panel, so its 12-unit axis text would shrink on narrow panels (phones, and the
   two- and three-column layouts just above each breakpoint). Step the text up as the panel narrows so it
   stays near 11 to 13 CSS px. Sizes are in viewBox units: rendered px = size x panel width / 360. */
.ob-sm{container-type:inline-size}
@container (max-width:340px){.sbd .ob-sm-svg text{font-size:13.5px}}
@container (max-width:300px){.sbd .ob-sm-svg text{font-size:15px}}
@container (max-width:270px){.sbd .ob-sm-svg text{font-size:16.5px}}
@container (max-width:240px){.sbd .ob-sm-svg text{font-size:18px}}
.ob-sm-line{fill:none;stroke:var(--edition-accent);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.ob-sm-pt{fill:var(--paper);stroke:var(--edition-accent);stroke-width:1.5}
.ob-sm-end{fill:var(--edition-accent);stroke:var(--paper);stroke-width:1.5}
.ob-sm-svg .ms-band{fill:var(--paper-3);opacity:.7}
.ob-sm-svg .ms-bar{fill:var(--ink)}
.ob-ms-key{display:inline-block;width:14px;height:12px;background:var(--paper-3);border-bottom:4px solid var(--ink);vertical-align:-1px;margin-left:4px}
.ob-sm-data{margin-top:18px;font-size:15px}
.ob-sm-data summary{cursor:pointer;font-weight:600;color:var(--ink-2);min-height:28px}
.ob-sm-data .table-scroll{margin-top:10px}
.ob-film{margin:0 0 clamp(18px,2.4vw,28px)}
.ob-film video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#000;border-radius:calc(var(--radius) - 4px)}
.ob-film figcaption{margin-top:12px}
