/* ecko.sh: "1-bit".
 *
 * Loaded after style.css on every page; `layout.shell` puts `class="onebit"`
 * and `data-page="<nav key>"` on <body>. style.css is still the structure of
 * the site (layout, spacing, type scale, behaviour). This file is its look.
 *
 * The rules, which README.md "Design: 1-bit" states at length:
 *
 *   1. Black, white, and grey only where grey is a hairline, muted prose or a
 *      flat paper step. No chromatic colour at all. Emphasis is inversion
 *      (white on black), never hue.
 *   2. Every tone that is not one of those is a 1-bit pattern: the frieze is
 *      dithered, the comparison bars are a 50% checker, the signal strips are
 *      checker and stipple. No gradients, no opacity ramps, no blur.
 *   3. Square corners on everything that is a surface. The only curve is the
 *      action capsule, and it goes square on hover.
 *   4. Structure is drawn, not implied: page rails, hairline rules, 1px black
 *      frames. A hard 2px offset shadow belongs to windows; no soft shadows.
 *   5. Inter for reading, JetBrains Mono for code and for small uppercase
 *      tracked labels. No pixel typeface: the pixels are the illustration.
 *
 * It works by re-pointing style.css's own tokens rather than restating its
 * rules, so behaviour and the accessibility contracts are untouched. Where a
 * style.css rule hard-codes a colour instead of using a token, it is
 * overridden by name. Three parts, in order: tokens and shell (every page),
 * inner pages, then the home page's own `ob-*` components.
 */

body.onebit {
  color-scheme: light;
  --bg: #FFFFFF;
  --floor: #F6F6F6;
  --panel: #F6F6F6;
  --raised: #E4E4E4;
  --hovered: #D6D6D6;
  --hairline: rgba(0, 0, 0, 0.16);
  --line-strong: rgba(0, 0, 0, 0.3);
  --white: #000000;
  --smoke: #000000;
  --text: #1A1A1A;
  --muted: #5E5E5E;        /* 6.5:1 on white, 5.9:1 on --ob-paper */
  --muted-lift: #555555;
  --phos: #000000;
  --yes: #000000;
  --tok-cmt: #5E5E5E;
  --tok-kw: #000000;
  --tok-type: #000000;
  --tok-str: #333333;
  --error: #000000;

  --ob-ink: #000000;
  --ob-rule: #CFCFCF;
  --ob-soft: #E4E4E4;
  --ob-paper: #F6F6F6;
  --ob-bar: #D6D6D6;
  --ob-stage: 1312px;
  --r-card: 0px;
  --r-inner: 0px;
  --r-btn: 0px;
  --ob-pad: clamp(20px, 3.6vw, 48px);
  /* The two 1-bit fills. Both are 4px tiles of hard-edged black on white. */
  --ob-p50: conic-gradient(#000 25%, #fff 0 50%, #000 0 75%, #fff 0) 0 0 / 4px 4px;
  --ob-p25: radial-gradient(#000 25%, transparent 26%) 0 0 / 4px 4px;

  background: #FFFFFF;
  color: var(--ob-ink);
  line-height: 1.45;
}

.onebit ::selection { background: #000; color: #fff; }

/* ---- shell ---------------------------------------------------------------- */

.onebit .banner { background: #000; color: #fff; font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.04em; }
.onebit .banner:hover { color: #fff; text-decoration: underline; }
.onebit .banner:focus-visible, .onebit .ob-tile:first-child :focus-visible { outline-color: #fff; outline-offset: -3px; }
.onebit .ob-tab[aria-selected="true"]:focus-visible { outline-offset: -4px; outline-color: #fff; }

.onebit .nav {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: inset 0 -1px 0 var(--ob-rule);
}
.onebit .brand { color: #000; }
.onebit .logo-mark { width: 26px; height: 22px; image-rendering: pixelated; }
.onebit .nav-links a { color: #000; font-weight: 500; }
.onebit .nav-links a:hover { color: #000; text-decoration: underline; text-underline-offset: 4px; }
.onebit .nav-links a.nav-ver { color: var(--muted); font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.onebit .nav-links a.nav-cta,
.onebit .nav-links a.nav-cta:hover {
  background: #000;
  color: #fff;
  border-radius: 99px;
  box-shadow: none;
  text-decoration: none;
  transform: none;
  transition: border-radius 0.2s cubic-bezier(0.3, 0, 0.15, 1);
}
.onebit .nav-links a.nav-cta:hover { border-radius: 0; }
.onebit .nav-toggle { color: #000; }

/* The stage: one column with a rail down each side, the full height of main. */
.onebit main {
  width: 100%;
  max-width: var(--ob-stage);
  margin-inline: auto;
  border-inline: 1px solid var(--ob-rule);
}
.ob-in { padding-inline: var(--ob-pad); }

/* Footer: the identity field. Black, with the mark large and white. The tokens
   are pointed back at dark values so style.css's own footer rules resolve. */
.onebit footer {
  --bg: #000; --panel: #000; --white: #fff; --text: #fff; --muted: #A6A6A6;
  --hairline: rgba(255, 255, 255, 0.22); --line-strong: rgba(255, 255, 255, 0.3);
  --phos: #fff;            /* the focus ring, which is black everywhere else */
  --floor: #000; --raised: #1F1F1F; --hovered: #333; --smoke: #fff;
  background: #000;
  color: #fff;
  padding-top: clamp(56px, 8vh, 96px);
}
.onebit footer::before { display: none; }
.onebit footer > * { width: min(100% - (var(--ob-pad) * 2), var(--ob-stage) - (var(--ob-pad) * 2)); }
.onebit .foot-mark span { display: none; }
.onebit .foot-mark img {
  width: 260px;            /* 13px a cell; 160px (8px a cell) under 900px */
  height: auto;
  aspect-ratio: 20 / 17;
  filter: invert(1);
  image-rendering: pixelated;
}
.onebit .foot-pitch { color: #fff; }
.onebit .foot-label { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8125rem; color: #A6A6A6; }
.onebit .foot-col a { color: #fff; font-weight: 500; }
.onebit .foot-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.onebit .legal, .onebit .foot-spec, .onebit .foot-gh { font-family: var(--mono); letter-spacing: 0.03em; color: #A6A6A6; }

/* ---- inner pages ------------------------------------------------------------
   Everything that is not the home page: docs, blog, releases, story, packages,
   download, use cases, legal, the 404. They keep style.css's layouts. */

body.onebit[data-page="docs"] { --ob-stage: 1560px; }

/* The page title is an inverted bar, the same device as the home headline. */
.onebit:not([data-page="home"]) main h1 {
  width: fit-content;
  max-width: 100%;
  padding: 2px 14px 6px;
  background: #000;
  color: #fff;
  font-weight: 500;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.onebit:not([data-page="home"]) main h1 code { background: none; color: inherit; padding: 0; }

/* Code wells are drawn boxes, not tinted panels. */
.onebit:not([data-page="home"]) main pre { background: #fff; border: 1px solid #000; }
.onebit:not([data-page="home"]) main :not(pre) > code { background: var(--ob-soft); color: #000; border-radius: 0; }

/* Tables: an inverted head row, hairlines under the rest. */
.onebit:not([data-page="home"]) main thead th {
  background: #000;
  color: #fff;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Actions: black capsule, square on hover. style.css's hover is a halo in the
   button's own colour, which on white is nothing. */
.onebit .pill, .onebit .btn { transition: border-radius 0.2s cubic-bezier(0.3, 0, 0.15, 1); }
.onebit .pill:hover, .onebit .btn:hover { border-radius: 0; box-shadow: none; transform: none; }

/* A ruled signal strip closes every inner page, above the footer: thirteen
   cells, one black square, one checker bar. The home page places its own. */
.onebit:not([data-page="home"]) main::after {
  content: "";
  display: block;
  height: 66px;
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--ob-rule);
  background:
    linear-gradient(#000, #000) calc(100% / 13 * 3) 0 / 22px 22px no-repeat,
    conic-gradient(#000 25%, #fff 0 50%, #000 0 75%, #fff 0) 0 0 / 4px 4px,
    repeating-linear-gradient(90deg, var(--ob-rule) 0 1px, transparent 1px calc(100% / 13));
  background-size: 22px 22px, 4px 4px, auto;
  background-repeat: no-repeat, repeat, repeat;
  background-clip: border-box, content-box, border-box;
  /* the checker is clipped to the content box, which the padding carves into
     a bar: 22px high, on the floor, from cell 8 to cell 11 */
  padding: 44px calc(100% / 13 * 2) 0 calc(100% / 13 * 8);
  box-sizing: border-box;
}

/* ---- shared pieces --------------------------------------------------------- */

.onebit main code, .onebit main pre { font-family: var(--mono); }
.onebit[data-page="home"] main code { font-size: 0.9em; background: none; padding: 0; color: inherit; }

.ob-cap14 { font: 400 0.8125rem/1.25 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.ob-n { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.ob-n::before { content: ""; width: 10px; height: 10px; background: #000; flex: none; }

.ob-h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem); line-height: 1.12; font-weight: 500; letter-spacing: -0.015em; color: #000; text-wrap: balance; }
/* Inversion is this page's only emphasis. The clone keeps each wrapped line a
   separate bar instead of one ragged block. */
.ob-h1 span, .ob-h2 em {
  font-style: normal;
  background: #000;
  color: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ob-h2 em { padding: 0 8px 2px; }
.ob-sub { margin-top: 16px; max-width: 620px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.25; font-weight: 500; letter-spacing: 0.01em; color: #000; text-wrap: pretty; }
.ob-sec { padding-block: clamp(56px, 7vw, 80px); }

.ob-cap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 99px;
  font: 500 1rem/1 var(--sans);
  transition: border-radius 0.2s cubic-bezier(0.3, 0, 0.15, 1);
}
.ob-cap:hover, .ob-cap:focus-within { border-radius: 0; }
.ob-cap--ink { background: #000; color: #fff; }
.ob-cap--ink::after { content: "\203A"; }
.ob-cap--util { background: var(--ob-soft); color: #000; padding-right: 6px; }
.ob-cap--util code { font: 500 0.875rem/1 var(--mono); white-space: nowrap; }
.onebit .ob-cap--util .os-copy { color: #000; background: none; border-radius: 99px; }
.onebit .ob-cap--util .os-copy:hover { background: var(--ob-bar); color: #000; }

.ob-link { display: inline-flex; align-items: center; gap: 6px; font: 500 0.875rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #000; }
.ob-link::after { content: ""; border: 5px solid transparent; border-left: 7px solid #000; border-right: 0; }
.ob-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* A 1-bit window: 1px frame, a striped title bar with a close box, and a hard
   offset shadow. The stripes are a background so the title can sit on white. */
.ob-w { display: flex; flex-direction: column; min-width: 0; border: 1px solid #000; background: #fff; box-shadow: 2px 2px 0 #000; }
.ob-w-bar {
  display: flex;
  align-items: center;
  height: 22px;
  padding: 0 6px;
  border-bottom: 1px solid #000;
  background: repeating-linear-gradient(#000 0 1px, transparent 1px 3px) 0 4px / 100% 13px no-repeat;
}
.ob-w-bar::before { content: ""; width: 11px; height: 11px; border: 1px solid #000; background: #fff; flex: none; }
.ob-w-bar span { margin: 0 auto; padding: 0 10px; background: #fff; font: 500 0.75rem/20px var(--mono); letter-spacing: 0.03em; transform: translateX(-9px); white-space: nowrap; }
.onebit .ob-w pre, .onebit .ob-pane pre { margin: 0; background: none; border: 0; border-radius: 0; color: #000; }
.ob-e { background: #000; color: #fff; padding: 1px 6px; font-weight: 500; }
.ob-p { color: var(--muted); }

/* ---- hero ------------------------------------------------------------------ */

.ob-hero { position: relative; padding-top: clamp(56px, 7vw, 88px); text-align: center; border-bottom: 1px solid #000; overflow: hidden; }
.ob-h1 { font-size: clamp(1.75rem, 1rem + 2.7vw, 2.875rem); line-height: 1.34; font-weight: 500; letter-spacing: -0.02em; }
.ob-h1 span { padding: 2px 14px 4px; }
.ob-lede { margin: clamp(24px, 3vw, 36px) auto 0; max-width: 520px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.32; font-weight: 500; color: #000; text-wrap: pretty; }
.ob-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.ob-hero .ob-link { margin-top: 20px; }
/* The frieze is only ever shown at a whole multiple of its 656px: 2x from 660px
   of viewport up, 1x below. Scaling it to the container would resample the
   dither into grey mush, so on a narrower stage it is centred and cropped by
   the hero's `overflow: hidden` instead. */
.ob-frieze { display: block; width: 1312px; max-width: none; height: 400px; margin: clamp(4px, 2vw, 24px) 0 0 calc(50% - 656px); image-rendering: pixelated; image-rendering: crisp-edges; }

/* ---- proof strip ----------------------------------------------------------- */

.ob-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding-block: 4px; }
.ob-tile { display: flex; flex-direction: column; gap: 16px; min-height: 118px; padding: 16px; background: var(--ob-paper); color: #000; }
.ob-tile b { font: 400 clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem)/1.05 var(--sans); letter-spacing: -0.05em; }
.ob-tile:first-child { background: #000; color: #fff; }
.ob-tile:nth-child(3) { background: var(--ob-soft); }

/* ---- examples -------------------------------------------------------------- */

.ob-ed { margin-top: clamp(32px, 4vw, 56px); }
.ob-ed-body { display: grid; grid-template-columns: 216px minmax(0, 1fr); }
.onebit .ob-ed .ed-list { display: flex; flex-direction: column; gap: 0; padding: 0; margin: 0; background: none; border-radius: 0; border-right: 1px solid #000; }
.ob-tab { display: flex; align-items: baseline; gap: 12px; width: 100%; padding: 12px 14px; border-bottom: 1px solid var(--ob-rule); text-align: left; font: 500 0.9375rem/1.25 var(--sans); color: #000; cursor: pointer; }
.ob-tab i { font: 400 0.75rem/1 var(--mono); font-style: normal; letter-spacing: 0.04em; }
.ob-tab:hover { background: var(--ob-paper); }
.ob-tab[aria-selected="true"] { background: #000; color: #fff; }
.ob-pane { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); min-width: 0; }
.ob-pane[hidden] { display: none; }
.ob-pane > div { min-width: 0; padding: 16px 22px 22px; }
.ob-pane > div + div { border-left: 1px solid #000; background: var(--ob-paper); }
.ob-file { margin-bottom: 10px; color: var(--muted); }
.onebit .ob-pane pre { font-size: 0.8125rem; line-height: 22px; }
.onebit .ob-pane pre code { display: block; font-size: inherit; }
.onebit .ob-code pre { white-space: pre; overflow-x: auto; scrollbar-width: thin; }
.onebit .ob-out pre { white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---- 01 fast --------------------------------------------------------------- */

.ob-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
.ob-rail { display: flex; flex-direction: column; gap: 28px; padding-top: 20px; border-top: 2px solid #000; }
.ob-rail h3, .ob-w-body h3 { margin-bottom: 8px; font-size: 1rem; line-height: 1.2; font-weight: 500; letter-spacing: 0.01em; color: #000; }
.ob-rail p, .ob-w-body p, .ob-body { font-size: 0.9375rem; line-height: 1.4; color: var(--muted); }
.ob-field { margin: 0; padding: clamp(20px, 3vw, 36px); background: var(--ob-paper); border-top: 1px solid var(--ob-rule); }
.ob-field figcaption { margin-bottom: 14px; }
.ob-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) 100px; gap: 18px; align-items: center; height: 60px; border-bottom: 1px solid var(--ob-rule); }
.ob-row-n { font: 500 0.875rem/1 var(--mono); letter-spacing: 0.03em; }
/* Width is value / 47.4 and nothing else. border-box, so the frame is inside it. */
.ob-row-b { box-sizing: border-box; height: 22px; width: var(--w); border: 1px solid #000; background: var(--ob-p50); }
.ob-row.is-ours .ob-row-b { background: #000; }
.ob-row-v { font: 400 1.625rem/1 var(--sans); letter-spacing: -0.05em; text-align: right; font-variant-numeric: tabular-nums; }
.ob-row-v span { margin-left: 5px; font: 400 0.75rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.ob-prov { margin-top: 20px; max-width: 660px; font-size: 0.875rem; line-height: 1.45; color: var(--muted); }

/* ---- signal strip ---------------------------------------------------------- */

.ob-signal { position: relative; display: grid; grid-template-columns: repeat(13, 1fr); height: 102px; border-block: 1px solid var(--ob-rule); }
.ob-signal i { border-left: 1px solid var(--ob-rule); }
.ob-signal i:first-child { border-left: 0; }
.ob-signal b { position: absolute; height: 22px; }
.ob-signal .s1 { width: 22px; top: 0; left: calc(100% / 13 * 3); background: #000; }
.ob-signal .s2 { width: min(252px, 30%); bottom: 0; right: calc(100% / 13 * 2); background: var(--ob-p50); }
.ob-signal .s3 { width: 66px; top: 40px; left: calc(100% / 13 * 8); background: var(--ob-p25); }
.ob-signal--b { border-top-color: #000; }
.ob-signal--b .s1 { left: calc(100% / 13 * 10); }
.ob-signal--b .s2 { right: auto; left: calc(100% / 13); }

/* ---- 02 reliable ----------------------------------------------------------- */

.ob-wins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
.ob-w-body { padding: 22px 24px 0; }
.onebit .ob-wins pre { flex: 1; margin-top: 20px; padding: 16px 24px 20px; border-top: 1px solid #000; font-size: 0.8125rem; line-height: 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ob-more { margin-top: 32px; max-width: 760px; font-size: 0.9375rem; color: var(--muted); }
.ob-more .ob-link { margin-left: 10px; }

/* ---- 03 deploy ------------------------------------------------------------- */

.ob-spot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--ob-rule); }
.ob-spot > div { min-width: 0; padding: clamp(40px, 5vw, 64px) var(--ob-pad); }
.ob-spot > div + div { display: flex; align-items: center; border-left: 1px solid var(--ob-rule); background: var(--ob-paper); }
.ob-spot .ob-w { width: 100%; }
.onebit .ob-spot pre { padding: 18px 22px 22px; font-size: 0.8125rem; line-height: 23px; white-space: pre; overflow-x: auto; }
.ob-spot .ob-body { margin-top: 18px; max-width: 480px; }
.ob-list { display: grid; gap: 12px; margin: 28px 0; font: 500 0.875rem/1.3 var(--mono); letter-spacing: 0.03em; color: #000; }
.ob-list li { display: flex; gap: 10px; }
.ob-list li::before { content: ""; width: 8px; height: 8px; margin-top: 5px; background: #000; flex: none; }

/* ---- proof ----------------------------------------------------------------- */

.ob-mon { position: relative; padding: clamp(48px, 6vw, 72px) var(--ob-pad) 0; overflow: hidden; }
.ob-claim { max-width: 460px; }
.ob-claim p { margin: 16px 0 18px; color: var(--muted); font-size: 0.9375rem; line-height: 1.4; }
.ob-mon-cap { position: relative; z-index: 1; margin: clamp(56px, 8vw, 96px) 0 12px; }
.ob-mon-n { position: relative; z-index: 1; display: inline-block; padding: 0 18px 4px 14px; background: var(--ob-bar); font: 500 clamp(3rem, 1rem + 7.4vw, 7rem)/1.1 var(--sans); letter-spacing: -0.045em; color: #000; white-space: nowrap; }
/* The frieze's right-hand end, at the same 2x as the hero and for the same
   reason: a background at a fixed size, cropped by the box, never resampled. */
.ob-mon-art { position: absolute; right: 0; bottom: 0; width: 62%; height: 300px; background: url("/assets/frieze.png") right bottom / 1312px 400px no-repeat; image-rendering: pixelated; image-rendering: crisp-edges; }

.ob-for { display: grid; grid-template-columns: auto repeat(5, minmax(0, 1fr)); border-top: 1px solid #000; }
.ob-for > * { display: flex; align-items: center; min-height: 56px; padding: 10px 16px; border-left: 1px solid var(--ob-rule); }
.ob-for > :first-child { border-left: 0; padding-left: var(--ob-pad); color: var(--muted); }
.ob-for a { font-size: 0.9375rem; font-weight: 500; color: #000; }
.ob-for a:hover { background: #000; color: #fff; }

/* ---- editors and closing ---------------------------------------------------- */

.ob-lsp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; padding-block: 28px; border-top: 1px solid var(--ob-rule); }
.ob-lsp p { font-size: 0.9375rem; font-weight: 500; color: #000; }
.ob-eds { display: flex; flex-wrap: wrap; gap: 4px; }
.ob-eds a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; background: var(--ob-paper); font-size: 0.875rem; font-weight: 500; color: #000; }
.ob-eds a:hover { background: #000; color: #fff; }
.ob-eds svg { width: 16px; height: 16px; fill: currentColor; flex: none; }

.ob-close { padding-block: clamp(56px, 7vw, 80px); text-align: center; }
.ob-close p { margin: 14px auto 0; max-width: 460px; color: var(--muted); }
.ob-close .ob-note { margin-top: 20px; max-width: none; font-size: 0.875rem; }
.ob-close .ob-note a { color: #000; text-decoration: underline; text-underline-offset: 3px; }

/* ---- narrow ---------------------------------------------------------------- */

@media (max-width: 1000px) {
  .ob-for { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ob-for > :first-child { grid-column: 1 / -1; min-height: 44px; }
  .ob-for > * { border-top: 1px solid var(--ob-rule); padding-left: var(--ob-pad); }
  .ob-for > :first-child { border-top: 0; }
  .ob-for a:nth-child(even) { border-left: 0; }
  .ob-for a:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .ob-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ob-demo, .ob-wins, .ob-spot, .ob-lsp { grid-template-columns: minmax(0, 1fr); }
  .ob-spot > div + div { border-left: 0; border-top: 1px solid var(--ob-rule); }
  .ob-ed-body { grid-template-columns: minmax(0, 1fr); }
  .onebit .ob-ed .ed-list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid #000; scrollbar-width: none; }
  .ob-tab { width: auto; flex: none; white-space: nowrap; border-bottom: 0; border-right: 1px solid var(--ob-rule); }
  .ob-pane { grid-template-columns: minmax(0, 1fr); }
  .ob-pane > div + div { border-left: 0; border-top: 1px solid #000; }
  .ob-mon-art { position: static; width: auto; height: 150px; margin: 24px calc(var(--ob-pad) * -1) 0; background-size: 656px 200px; }
  .onebit .foot-mark img { width: 160px; }
  .ob-mon-n { white-space: normal; }
  .ob-signal { height: 66px; }
  .ob-signal .s3 { top: 22px; }
}
@media (max-width: 659px) {
  .ob-frieze { width: 656px; height: 200px; margin-left: calc(50% - 328px); }
}
@media (max-width: 560px) {
  .onebit main { border-inline: 0; }
  .ob-row { grid-template-columns: 58px minmax(0, 1fr) 78px; gap: 10px; }
  .ob-row-v { font-size: 1.25rem; }
  .ob-cap--util code { font-size: 0.8125rem; }
  .ob-h1 span { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ob-cap, .onebit .nav-links a.nav-cta { transition: none; }
}
@media (forced-colors: active) {
  .ob-h1 span, .ob-h2 em, .ob-e { forced-color-adjust: none; }
}
