/* Coin Casino Atlas — stylesheet, round 2 (master's design system: DESIGN_HANDOFF 2026-11-28).
   Page #121110, chrome #0b0a09, panels #1b1a17, hairlines #2e2b26, text #e8e6e1 / #b3afa6, one accent #3fc7b6.
   Square corners, Manrope throughout, figures in the system monospace. Class names are this site's own. */
@font-face { font-family: "Manrope Atlas"; src: url("/fonts/manrope-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --pg: #121110; --chrome: #0b0a09; --panel: #1b1a17; --panel-2: #22201c; --line: #2e2b26;
  --ink: #e8e6e1; --ink-2: #d4d1ca; --mute: #b3afa6; --tide: #3fc7b6; --tide-ink: #03140f;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --hatch: repeating-linear-gradient(135deg, rgba(232, 230, 225, 0.16) 0 2px, transparent 2px 7px);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 96px;
  --measure: 70ch; --frame: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--pg); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; font: 400 16px/1.65 "Manrope Atlas", "Segoe UI", sans-serif; background: var(--pg); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--tide); }
:focus-visible { outline: 2px solid var(--tide); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tide); color: var(--tide-ink); padding: 10px 14px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: "Manrope Atlas", sans-serif; font-weight: 800; color: var(--ink); margin: 0 0 var(--s4); letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; }
h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; margin-top: var(--s8); }
h3 { font-size: 19px; line-height: 1.25; margin-top: var(--s5); }
p, ul, ol { margin: 0 0 var(--s4); max-width: var(--measure); }
p, li { color: var(--ink-2); }
li { margin-bottom: 6px; }
strong { color: var(--ink); }
code, .fig { font-family: var(--mono); font-size: 0.92em; }
.frame { width: min(var(--frame), 100% - 56px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── chrome: two-row header, disclosure bar, offer bar, closing band, footer ── */
.topbar { background: var(--chrome); border-bottom: 1px solid var(--line); }
.topbar-a, .topbar-b { width: min(var(--frame), 100% - 56px); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.topbar-a { padding-top: 16px; gap: 10px 32px; }
.topbar-b { padding: 6px 0; gap: 4px 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; font-size: 22px; line-height: 26px; color: var(--ink); text-decoration: none; }
.wordmark i { width: 10px; height: 10px; background: var(--tide); display: inline-block; }
.indep { font-size: 13px; line-height: 18px; color: var(--mute); margin: 0; }
.mainnav { display: flex; flex-wrap: wrap; gap: 0 28px; padding: 0; margin: 0; list-style: none; max-width: none; }
.mainnav li { margin: 0; }
.mainnav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mute); text-decoration: none; font-size: 15px; }
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--ink); }
.mainnav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--tide); }
.btn-tide { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: var(--tide); color: var(--tide-ink); font-weight: 700; font-size: 15px; line-height: 20px; padding: 12px 22px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-tide:hover { filter: brightness(1.1); color: var(--tide-ink); }
.btn-tide.big { font-size: 16px; padding: 15px 26px; }
.btn-line { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--mute); color: var(--ink); background: transparent; font-weight: 600; font-size: 14px; line-height: 18px; padding: 12px 16px; text-decoration: none; cursor: pointer; font-family: inherit; }
.btn-line:hover, .btn-line[aria-pressed="true"] { border-color: var(--tide); color: var(--tide); }
.adbar { width: min(var(--frame), 100% - 56px); margin: 14px auto 0; border: 1px solid var(--line); background: var(--panel); padding: 10px 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 13px; line-height: 19px; color: var(--mute); }
.adbar b { font-weight: 700; letter-spacing: 0.08em; color: var(--tide); }
.adbar span { flex: 1 1 420px; }
.adbar a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.offerbar { border: 1px solid var(--tide); background: var(--panel); padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: 20px 0 0; }
.offerbar strong { display: block; font-weight: 800; font-size: 20px; line-height: 26px; }
.offerbar p { margin: 4px 0 0; font-size: 14px; line-height: 21px; color: var(--mute); max-width: 660px; }
.code { font-family: var(--mono); color: var(--ink); border: 1px dashed var(--mute); padding: 1px 6px; }
.closing { margin-top: var(--s8); border-block: 1px solid var(--line); background: linear-gradient(rgba(18, 17, 16, 0.62), rgba(18, 17, 16, 0.62)), url("/img/atlas-texture-1600.webp") center / cover, var(--pg); }
.closing .frame { padding: 60px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.closing h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 34px); }
.closing p { margin: 0; max-width: 640px; }
.closing-acts { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.closing-acts a.small { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: underline; }
.footer { background: var(--chrome); }
.footer .frame { padding: 36px 0 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 48px; font-size: 14px; line-height: 22px; color: var(--mute); }
.footer p { margin: 0; max-width: 600px; color: var(--mute); }
.footnav { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; margin: 0; padding: 0; max-width: 560px; }
.footnav li { margin: 0; }
.footnav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mute); text-decoration: none; }
.footnav a:hover { color: var(--ink); }

/* ── home ── */
.hero { margin-top: 20px; background: linear-gradient(90deg, #121110 0%, rgba(18, 17, 16, 0.9) 36%, rgba(18, 17, 16, 0.1) 66%, rgba(18, 17, 16, 0) 100%), image-set(url("/img/atlas-hero-1664.webp") 1x) right center / cover, var(--pg); }
.hero .frame { padding: 96px 0 92px; }
.hero-text { max-width: 560px; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { margin: 0; font-size: clamp(38px, 4.8vw, 64px); line-height: 1.03; }
.hero p { margin: 0; font-size: 19px; line-height: 29px; color: var(--ink-2); }
.hero .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hero .risk { font-size: 13px; line-height: 19px; color: var(--mute); }
.label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--tide); margin-bottom: 14px; }
.legend { display: grid; grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.5fr); gap: 28px 56px; align-items: start; padding-top: var(--s8); }
.legend h2 { margin: 0 0 14px; font-size: 34px; line-height: 1.12; }
.legend p { font-size: 16px; }
.ledger-tbl { overflow-x: auto; }
.ledger-tbl table { width: 100%; border-collapse: collapse; min-width: 520px; font-variant-numeric: tabular-nums; }
.ledger-tbl th { text-align: right; padding: 12px 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--mute); border-bottom: 1px solid var(--mute); }
.ledger-tbl th:first-child, .ledger-tbl td:first-child { text-align: left; }
.ledger-tbl td { text-align: right; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 15px; font-family: var(--mono); color: var(--ink); }
.ledger-tbl td.hi { color: var(--tide); }
.ledger-tbl caption { caption-side: bottom; text-align: left; font-size: 13px; color: var(--mute); padding-top: 10px; }
.plates h2 { margin-bottom: 22px; font-size: 28px; }
.plate-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.plate-col { display: flex; flex-direction: column; gap: 20px; }
.plate { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; border: 1px solid var(--line); padding: 24px; min-height: 160px; color: var(--ink); text-decoration: none; background-color: var(--pg); background-size: cover; background-position: center; }
.plate.wide { min-height: 340px; }
.plate h3 { margin: 0; font-size: 22px; line-height: 1.18; }
.plate.wide h3 { font-size: 28px; }
.plate p { margin: 0; color: var(--ink-2); }
.plate:hover h3 { color: var(--tide); }
.plate-1 { background-image: linear-gradient(180deg, rgba(18, 17, 16, 0.05) 0%, rgba(18, 17, 16, 0.9) 78%), url("/img/atlas-plate-1-1200.webp"); }
.plate-2 { background-image: linear-gradient(180deg, rgba(18, 17, 16, 0.05) 0%, rgba(18, 17, 16, 0.9) 78%), url("/img/atlas-plate-2-800.webp"); }
.plate-3 { background-image: linear-gradient(180deg, rgba(18, 17, 16, 0.05) 0%, rgba(18, 17, 16, 0.9) 78%), url("/img/atlas-plate-3-800.webp"); }
.sheet-rows { list-style: none; padding: 0; margin: 28px 0 0; max-width: none; border-top: 1px solid var(--line); }
.sheet-rows li { margin: 0; }
.sheet-rows a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 8px 24px; align-items: baseline; padding: 16px 12px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.sheet-rows a:hover { background: var(--panel); }
.sheet-rows b { font-weight: 800; font-size: 17px; }
.sheet-rows span { color: var(--mute); font-size: 15px; }
.sheet-rows em { font-style: normal; color: var(--tide); font-size: 14px; font-weight: 700; white-space: nowrap; }
.short { border-left: 3px solid var(--tide); background: var(--panel); padding: 18px 22px; margin: var(--s7) 0 0; max-width: 820px; }
.short b { display: block; margin-bottom: 6px; color: var(--tide); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; }
.short p { margin: 0; }
.pocket { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px 56px; padding-top: var(--s8); align-items: start; }

/* ── inner pages ── */
.pagehead { margin-top: 20px; border-block: 1px solid var(--line); background-color: var(--pg); background-size: cover; background-position: right center; }
.pagehead .frame { padding: 44px 0 40px; }
.pagehead .inner { max-width: 640px; }
.pagehead h1 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 14px; }
.ph-1 { background-image: linear-gradient(90deg, #121110 0%, rgba(18, 17, 16, 0.92) 45%, rgba(18, 17, 16, 0.35) 100%), url("/img/atlas-head-1-1200.webp"); }
.ph-2 { background-image: linear-gradient(90deg, #121110 0%, rgba(18, 17, 16, 0.92) 45%, rgba(18, 17, 16, 0.35) 100%), url("/img/atlas-head-2-1200.webp"); }
.ph-3 { background-image: linear-gradient(90deg, #121110 0%, rgba(18, 17, 16, 0.92) 45%, rgba(18, 17, 16, 0.35) 100%), url("/img/atlas-head-3-1200.webp"); }
.ph-4 { background-image: linear-gradient(90deg, #121110 0%, rgba(18, 17, 16, 0.92) 45%, rgba(18, 17, 16, 0.35) 100%), url("/img/atlas-head-4-1200.webp"); }
.crumbs { font-size: 13px; color: var(--mute); margin: 0 0 8px; }
.crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 48px; color: var(--mute); }
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--mute); }
.meta-line li { margin: 0; color: var(--mute); }
.meta-line li + li::before { content: "/"; margin-right: 18px; color: var(--line); }
.offer-wrap { padding-top: 0; }
.sheet { position: relative; background: var(--panel); border: 1px solid var(--line); padding: 30px 24px 24px; margin: var(--s6) 0; }
.sheet > .tab { position: absolute; top: -11px; left: 18px; background: var(--pg); border: 1px solid var(--line); padding: 1px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--tide); }
.sheet.flat { background: var(--pg); }
.answer { border-left: 3px solid var(--tide); background: var(--panel); padding: 16px 22px; margin: var(--s5) 0; max-width: 76ch; }
.answer p { margin: 0; font-size: 17px; color: var(--ink); }
.answer strong { display: block; font-size: 13px; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 6px; color: var(--tide); }
.hazard { position: relative; padding: 14px 20px 14px 38px; background: var(--panel); border: 1px solid var(--line); margin: var(--s4) 0; max-width: 76ch; }
.hazard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 18px; background: var(--hatch); border-right: 1px solid var(--line); }
.hazard p:last-child { margin-bottom: 0; }
.src, .src li { font-size: 14px; color: var(--mute); }
.src a { color: var(--mute); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s7); align-items: start; }
.legend-rail { position: sticky; top: 24px; margin-top: var(--s7); background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--tide); padding: var(--s5); font-size: 15px; }
.legend-rail h2 { font-size: 15px; letter-spacing: 0.06em; margin: 0 0 var(--s3); color: var(--mute); }
.legend-rail ol, .legend-rail ul { padding-left: 18px; margin: 0; }
.legend-rail li { margin: 0; }
.legend-rail a { display: inline-flex; align-items: center; min-height: 40px; }
.inst-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: start; padding-top: var(--s6); }
.inst-head .sheet { margin-top: 0; }
.read { max-width: 780px; }
.frame:has(> .side-rail) { display: grid; grid-template-columns: minmax(0, 1fr) 290px; column-gap: var(--s7); align-items: start; }
.frame:has(> .side-rail) > * { grid-column: 1 / -1; }
.frame:has(> .side-rail) > .read { grid-column: 1; }
.frame:has(> .side-rail) > .side-rail { grid-column: 2; }
.head-rail { position: static; margin-top: var(--s5); }
.key-fig { margin: 0 0 var(--s4); padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.key-fig b { display: block; font-weight: 800; font-size: 38px; line-height: 1.05; color: var(--tide); overflow-wrap: anywhere; }
.key-fig span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.reg-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s6); align-items: start; }
.reg-rail { position: sticky; top: 24px; display: flex; flex-direction: column; margin-top: var(--s7); border-top: 1px solid var(--line); }
.reg-rail a { display: flex; align-items: center; min-height: 44px; padding: 6px 10px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.reg-rail a:hover { background: var(--panel); color: var(--tide); }
.entry { scroll-margin-top: 24px; border-top: 1px solid var(--line); padding-top: var(--s5); margin-top: var(--s7); }
.entry h2 { margin-top: 0; }
.facts { display: grid; grid-template-columns: 170px minmax(0, 1fr); border: 1px solid var(--line); margin: var(--s4) 0; max-width: 840px; }
.facts dt, .facts dd { margin: 0; padding: 10px 14px; border-top: 1px solid var(--line); }
.facts dt { background: var(--panel); color: var(--mute); font-size: 14px; font-weight: 700; }
.facts dd { color: var(--ink-2); }
.facts dt:first-of-type, .facts dt:first-of-type + dd { border-top: 0; }
.reading { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s7); align-items: start; padding-top: var(--s6); }
.imprint { background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--tide); padding: var(--s5); position: sticky; top: 24px; }
.imprint h2 { font-size: 15px; letter-spacing: 0.06em; color: var(--mute); margin: 0 0 var(--s3); }
.imprint dl { margin: 0; font-size: 14px; }
.imprint dt { color: var(--mute); font-size: 12px; margin-top: 10px; letter-spacing: 0.04em; }
.imprint dd { margin: 0; color: var(--ink); }
.steps { list-style: none; padding: 0; margin: var(--s5) 0; max-width: 860px; counter-reset: none; border-top: 1px solid var(--line); }
.steps > li { position: relative; padding: 16px 0 14px 56px; margin: 0; border-bottom: 1px solid var(--line); }
.steps > li::before { content: attr(data-n); position: absolute; left: 0; top: 16px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--tide); color: var(--tide); font-weight: 800; font-size: 15px; }
.steps h3 { margin: 4px 0 6px; font-size: 18px; }
.steps p { margin-bottom: 6px; }

/* ── instruments ── */
.inst { display: grid; gap: var(--s4); }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--s4); }
label.f { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
label.f small { font-weight: 400; color: var(--mute); font-size: 13px; }
label.f > span { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.well { width: 100%; min-height: 46px; padding: 10px 12px; font: 500 15px "Manrope Atlas", sans-serif; color: var(--ink); background: var(--chrome); border: 1px solid var(--line); border-radius: 0; }
textarea.well, input.well.fig { font-family: var(--mono); font-size: 14px; }
textarea.well { resize: vertical; min-height: 76px; }
select.well { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--tide) 50%), linear-gradient(135deg, var(--tide) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.well:focus { border-color: var(--tide); outline: none; }
input[type="range"] { width: 100%; accent-color: var(--tide); min-height: 44px; }
input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--tide); flex: none; }
.readout { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; }
.readout div { background: var(--pg); padding: 12px 14px; }
.readout dt { font-size: 13px; color: var(--mute); }
.readout dd { margin: 2px 0 0; font-weight: 800; font-size: 24px; line-height: 1.15; color: var(--tide); font-variant-numeric: tabular-nums; }
.readout dd small { font-weight: 500; font-size: 13px; color: var(--mute); }
.say { font-size: 15px; color: var(--ink-2); min-height: 1.6em; margin: 0; }
.formula { font-family: var(--mono); font-size: 14px; background: var(--chrome); border: 1px solid var(--line); border-left: 3px solid var(--tide); padding: 12px 14px; max-width: 820px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.hexline { font-family: var(--mono); font-size: 13.5px; word-break: break-all; background: var(--chrome); padding: 8px 10px; border: 1px solid var(--line); color: var(--ink); }
.hexline mark { background: rgba(63, 199, 182, 0.22); color: #fff; padding: 0 1px; }
.ok-tag, .no-tag { display: inline-flex; align-items: center; padding: 2px 9px; font-weight: 800; font-size: 13px; margin-right: 6px; }
.ok-tag { color: var(--tide); border: 1px solid var(--tide); }
.no-tag { background: var(--hatch), var(--pg); color: var(--ink); border: 1px solid var(--mute); }
.bitmap { display: grid; grid-template-columns: repeat(32, 1fr); gap: 2px; max-width: 520px; margin: var(--s3) 0; }
.bitmap i { aspect-ratio: 1; background: var(--line); }
.bitmap i.on { background: var(--tide); }
.tbl { position: relative; margin: var(--s5) 0; max-width: 900px; }
.tbl-scroll { overflow-x: auto; border-top: 1px solid var(--mute); }
.tbl table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.tbl thead th { color: var(--mute); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; border-bottom: 1px solid var(--mute); }
.tbl tbody th { color: var(--ink); font-weight: 700; background: var(--pg); position: sticky; left: 0; }
.tbl .num { text-align: right; font-family: var(--mono); }
.tbl caption { caption-side: bottom; text-align: left; font-size: 13px; color: var(--mute); padding: 10px 0 0; }
.swipe { display: none; font-size: 13px; color: var(--tide); margin: 6px 0 0; }
figure { margin: 0; }
.chartbox { border: 1px solid var(--line); background: var(--chrome); }
#cu-btns, .gloss-stages { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* glossary */
.gloss-bar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s5); align-items: end; margin: var(--s6) 0 var(--s3); padding: var(--s4); background: var(--panel); border: 1px solid var(--line); }
.gloss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s7); margin: 0; }
.gterm { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.gterm[hidden] { display: none; }
.gterm dt { font-weight: 800; font-size: 18px; color: var(--ink); }
.gterm dt small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--tide); margin-bottom: 2px; }
.gterm dd { margin: 4px 0 0; color: var(--ink-2); }

@media (max-width: 980px) {
  .two-col, .inst-head, .reading, .reg-wrap, .legend, .pocket, .gloss, .gloss-bar, .plate-grid { grid-template-columns: minmax(0, 1fr); }
  .frame:has(> .read) { grid-template-columns: minmax(0, 1fr); }
  .frame:has(> .read) > .side-rail { grid-column: 1; }
  .legend-rail, .imprint, .reg-rail { position: static; }
  .reg-rail { flex-direction: row; overflow-x: auto; border: 0; gap: 6px; margin-top: var(--s5); }
  .reg-rail a { flex: none; border: 1px solid var(--line); }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .frame, .topbar-a, .topbar-b, .adbar { width: calc(100% - 32px); }
  .hero { background: linear-gradient(180deg, rgba(18, 17, 16, 0.45) 0%, #121110 70%), url("/img/atlas-hero-900.webp") 80% top / 160% auto no-repeat, var(--pg); }
  .hero .frame { padding: 180px 0 40px; }
  .hero p { font-size: 17px; line-height: 26px; }
  .pagehead { background-position: 70% center; }
  .pagehead .frame { padding: 28px 0 26px; }
  .sheet-rows a { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .sheet-rows li:nth-child(n+4) { display: none; }
  .sheet-rows.all li { display: list-item; }
  .more-rows { display: inline-flex !important; }
  .plate.wide { min-height: 240px; }
  .swipe { display: block; }
  .facts { grid-template-columns: 1fr; }
  .facts dd { border-top: 0; }
  .bitmap { gap: 1px; }
  .offerbar .btn-tide, .closing .btn-tide { width: 100%; }
  .closing-acts { width: 100%; }
  .indep { width: 100%; }
}
.more-rows { display: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* round-1 class names still used inside sheet bodies, mapped onto this round's button shapes */
.go-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: var(--tide); color: var(--tide-ink); font-weight: 700; font-size: 15px; padding: 12px 20px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.go-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--mute); font-weight: 600; font-size: 14px; padding: 12px 16px; }
.go-btn.ghost:hover, .go-btn.ghost[aria-pressed="true"] { border-color: var(--tide); color: var(--tide); }
.legend-rail a { min-height: 44px; }
.legend-rail p a { display: inline; min-height: 0; }
.footnav a { min-width: 44px; justify-content: center; }
.ledger-tbl td { white-space: nowrap; }
.head-cta { order: 2; }
@media (max-width: 980px) {
  .head-rail h2, .head-rail ol { display: none; }
  .head-rail .key-fig { margin: 0; padding: 0; border: 0; }
  .meta-line li + li::before { content: none; }
}
.ledger-hint { display: none; font-size: 13px; color: var(--tide); margin: 8px 0 0; }
@media (max-width: 720px) {
  .ledger-hint { display: block; }
  .hero { background: linear-gradient(180deg, rgba(18, 17, 16, 0.2) 0%, rgba(18, 17, 16, 0.55) 30%, #121110 62%), url("/img/atlas-hero-900.webp") 75% top / 170% auto no-repeat, var(--pg); }
}
