/* HIPPODROME — app.css (shell, 29/11/2026). Tokens from mockup/v2/DESIGN.md §2–§4b, motion §10.
   Scale rule (LUAT 50): one root unit --u = 100vw/1920 → 1920 = mockup 1:1, 1280–2560 proportional. Below 1024: mobile layout.
   BORDERS (LUAT 56): every border/outline of the site lives in THIS file — routes use the .rule-* classes only. */

:root {
  --u: calc(100vw / 1920);
  --dw: 1920;

  /* colour tokens (DESIGN §3) */
  --paper: #9F5728;
  --atm-copper-hi: #B86A2C;
  --atm-glow: #C0833C;
  --atm-terracotta: #7F3D25;
  --atm-shade: #5E2A1A;
  --surface: #F4D8A9;
  --surface-inner: #FAE8CA;
  --navy: #1F2A44;
  --navy-deep: #111F32;
  --navy-raised: #293859;
  --outline-navy: #3E4C6E;
  --primary: #2EE2C2;
  --primary-hi: #4AEABD;
  --primary-container: #0A4927;
  --secondary: #D7263D;
  --negative: #F05A5A;
  --tertiary: #F3C85B;
  --outline-sand: #E0B07A;
  --cream: #FFE3AA;
  --sand: #F3D7A3;
  --ink: #1F2A44;
  --silk-gold: #F3C85B; --silk-powder: #BFD8EE; --silk-mint: #2EE2C2; --silk-sand: #F3D7A3; --silk-red: #F05A5A;

  /* fonts (DESIGN §2) */
  --f-sans: "Inter", system-ui, sans-serif;
  --f-display: "Bebas Neue", "Inter", sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
  --f-led: "Bitcount Prop Double", "Space Mono", monospace;
  --f-nav: "Yantramanav", "Inter", sans-serif;
  --f-word: "Big Shoulders Inline Display", "Bebas Neue", sans-serif;

  /* type scale @1920 (USER FIX SCALE: body/table 12–16, titles ≤84, hero 47) — never below 12px */
  --fs-micro: max(12px, calc(13 * var(--u)));
  --fs-label: max(12px, calc(15 * var(--u)));
  --fs-body: max(12px, calc(16 * var(--u)));
  --fs-table: max(12px, calc(15 * var(--u)));
  --fs-section: max(18px, calc(30 * var(--u)));
  --fs-hero: max(30px, calc(47 * var(--u)));
  --fs-title: max(40px, calc(84 * var(--u)));
  --fs-display2: max(28px, calc(52 * var(--u)));
  --fs-mono-big: max(24px, calc(43 * var(--u)));

  /* radii + shadows (DESIGN §4) */
  --r-panel: calc(18 * var(--u));
  --r-card: calc(20 * var(--u));
  --r-btn: calc(14 * var(--u));
  --r-row: calc(10 * var(--u));
  --r-pill: 999px;
  --sh-panel: 0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(60, 20, 8, .35);
  --sh-card: 0 calc(8 * var(--u)) calc(18 * var(--u)) rgba(80, 35, 10, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
  --grad-navy: linear-gradient(180deg, #22304C, #1A2540);
  --grad-cream: linear-gradient(180deg, #F7DFB3, #F0CF98);
  --glow-mint: 0 0 calc(14 * var(--u)) rgba(46, 226, 194, .45);

  /* RULE tokens (BORDER_TABLE / DESIGN §4b) — hairlines never vanish: max(1px, …) */
  --rule-hair: max(1px, calc(1.1 * var(--u)));
  --rule-mid: max(1px, calc(1.6 * var(--u)));
  --rule-std: max(1px, calc(2.3 * var(--u)));
  --rule-bus: max(2px, calc(3.4 * var(--u)));
  --rule-strong: max(2px, calc(4.1 * var(--u)));
  --rule-c-navy: #3E4C6E;
  --rule-c-navy-deep: #303B4F;
  --rule-c-sand: #E0B07A;
  --rule-c-sand-soft: rgba(224, 176, 122, .6);
  --rule-c-cream: #FFECCB;
  --rule-c-cream-hi: #FFF7DB;
  --rule-c-mint: #2EE2C2;
  --rule-c-mint-dark: #2A4242;

  /* page frame (frame.json + USER_FIXES FRAME) */
  --gutter-l: calc(21 * var(--u));
  --gutter-r: calc(22 * var(--u));
  --chrome-l: calc(56 * var(--u));
  --chrome-r: calc(56 * var(--u));

  /* motion (DESIGN §10) */
  --ease-tote: cubic-bezier(.2, .7, .2, 1);
  --t-quick: 220ms;
  --t-tick: 600ms;
  --t-rail: 2400ms;
  --rt-nudge: 24px;
  --rt-dur: 260ms;

  color-scheme: dark;
  accent-color: var(--primary);
  scrollbar-color: var(--outline-navy) var(--navy-deep);
}
html[data-rt-dir=back] { --rt-nudge: -24px; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
:where(button, input, select, textarea) { border: 0; font: inherit; color: inherit; }
:where(button) { background: none; cursor: pointer; padding: 0; }
:where(fieldset) { border: 0; margin: 0; padding: 0; }
:where(a) { color: inherit; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; position: relative; overflow-x: hidden; display: flex; flex-direction: column;
  font: 400 var(--fs-body)/1.45 var(--f-sans); color: var(--cream);
  font-variant-numeric: tabular-nums;
  /* PAGE ATMOSPHERE (DESIGN §3b) — one ground for every route, scrolls with the page */
  background-color: var(--paper);
  background-image:
    radial-gradient(calc(900 * var(--u)) calc(700 * var(--u)) at 0 calc(330 * var(--u)), rgba(192, 131, 60, .45), transparent 70%),
    radial-gradient(calc(900 * var(--u)) calc(700 * var(--u)) at 0 calc(1290 * var(--u)), rgba(191, 115, 45, .45), transparent 70%),
    radial-gradient(calc(800 * var(--u)) calc(900 * var(--u)) at 100% calc(560 * var(--u)), rgba(94, 42, 26, .35), transparent 72%),
    radial-gradient(calc(800 * var(--u)) calc(900 * var(--u)) at 100% calc(1500 * var(--u)), rgba(94, 42, 26, .35), transparent 72%),
    radial-gradient(calc(1100 * var(--u)) calc(600 * var(--u)) at 70% calc(1600 * var(--u)), rgba(42, 47, 69, .12), transparent 70%),
    linear-gradient(100deg, var(--atm-copper-hi) 0%, var(--paper) 45%, var(--atm-terracotta) 100%);
  background-repeat: no-repeat;
}
/* dot grid + fine rails layer: right half of the page, fades out to the left */
.atm {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(243, 215, 163, .18) 0 max(1px, calc(1 * var(--u))), transparent calc(1.6 * var(--u))),
    repeating-linear-gradient(90deg, transparent 0 calc(240 * var(--u)), rgba(243, 215, 163, .06) calc(240 * var(--u)) calc(241.5 * var(--u)));
  background-size: calc(18 * var(--u)) calc(18 * var(--u)), auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 55%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 22%, #000 55%, #000 100%);
}
header[data-chrome], main, footer[data-chrome], .toast { position: relative; z-index: 1; }
::selection { background: var(--primary); color: var(--navy); }
:focus-visible { outline: max(2px, calc(2.3 * var(--u))) solid var(--primary); outline-offset: 2px; }
img, svg, video { max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
p { text-wrap: pretty; }

/* ---------- ONE PAGE FRAME (LUAT 53) — routes never set their own width, side padding or ground ---------- */
.page {
  display: block; flex: 1 0 auto; width: 100%; min-height: 60vh;
  padding: 0 var(--gutter-r) calc(24 * var(--u)) var(--gutter-l);
}
.page:focus { outline: none; }
.page.is-leaving { opacity: .6; transition: opacity .15s; }

/* ---------- NAV N11 (chrome/nav.html verbatim, sizes in --u) ---------- */
[data-chrome="nav"] { box-sizing: border-box; width: 100%; height: calc(138 * var(--u)); padding: calc(16 * var(--u)) var(--chrome-r) 0 var(--chrome-l); background: var(--navy); color: #F3D7A3; font-family: var(--f-nav); box-shadow: 0 calc(10 * var(--u)) calc(28 * var(--u)) rgba(84, 43, 24, .22); }
[data-chrome="nav"] * { box-sizing: border-box; }
.n11-top { height: calc(58 * var(--u)); display: flex; align-items: center; gap: calc(16 * var(--u)); }
.n11-home { display: flex; align-items: center; gap: calc(16 * var(--u)); text-decoration: none; color: inherit; }
.n11-mark { width: calc(46 * var(--u)); height: calc(46 * var(--u)); min-width: 36px; min-height: 36px; object-fit: contain; }
.n11-brand { font-family: var(--f-word); font-size: max(20px, calc(30 * var(--u))); letter-spacing: .02em; line-height: 1; }
.n11-menu { display: none; }
.n11-actions { margin-left: auto; display: flex; align-items: center; gap: calc(12 * var(--u)); font-size: max(12px, calc(15 * var(--u))); }
.n11-actions a, .n11-actions button { height: calc(40 * var(--u)); min-height: 30px; padding: 0 calc(20 * var(--u)); border-radius: calc(12 * var(--u)); background: var(--navy-raised); color: #F3D7A3; font: inherit; text-decoration: none; display: flex; align-items: center; cursor: pointer; transition: filter var(--t-quick) var(--ease-tote), transform var(--t-quick) var(--ease-tote); }
.n11-actions a:hover, .n11-actions button:hover { filter: brightness(1.12); }
.n11-actions .buy { background: #F3D7A3; color: var(--navy); }
.n11-actions .wallet { background: var(--primary); color: var(--primary-container); font-weight: 700; }
.n11-actions .wallet[data-connected] { background: var(--primary-container); color: var(--primary); }
.n11-routes { height: calc(64 * var(--u)); display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: calc(20 * var(--u)); padding: 0 calc(24 * var(--u)); }
.n11-routes a { position: relative; padding: calc(20 * var(--u)) calc(8 * var(--u)) calc(14 * var(--u)); text-align: center; color: #F3D7A3; text-decoration: none; font-size: max(12px, calc(15 * var(--u))); font-weight: 600; }
.n11-routes a::after { content: ""; position: absolute; height: calc(5 * var(--u)); min-height: 3px; border-radius: 5px; left: calc(12 * var(--u)); right: calc(12 * var(--u)); bottom: 0; background: var(--primary); transform: scaleX(0); transform-origin: left center; transition: transform 320ms var(--ease-spring, var(--ease-tote)); }
.n11-routes a.is-active::after { transform: scaleX(1); box-shadow: var(--glow-mint); }
.n11-routes a:hover::after { transform: scaleX(.35); }
.n11-routes a.is-active:hover::after { transform: scaleX(1); }

/* social / buy pending + launched states (launch.json via launch.js) */
[data-launch].is-soon { opacity: .72; cursor: not-allowed; }
[data-launch="buy"].is-disabled { opacity: .78; cursor: not-allowed; }
[data-launch="buy"][data-launch-done] { opacity: 1; cursor: pointer; background: var(--primary); color: var(--navy); box-shadow: var(--glow-mint); }
[data-launch][data-launch-done]:not([data-launch="buy"]) { opacity: 1; cursor: pointer; }

/* ---------- FOOTER F1 (chrome/footer.html verbatim, sizes in --u) ---------- */
[data-chrome="footer"] { box-sizing: border-box; width: 100%; height: calc(285 * var(--u)); padding: calc(26 * var(--u)) var(--chrome-r) calc(18 * var(--u)) var(--chrome-l); background: var(--navy); color: #F3D7A3; font-family: var(--f-nav); overflow: hidden; }
[data-chrome="footer"] * { box-sizing: border-box; }
.f1-meta { display: flex; align-items: center; gap: calc(18 * var(--u)); padding-bottom: calc(18 * var(--u)); font-size: max(12px, calc(14 * var(--u))); }
.f1-meta nav { margin-left: auto; display: flex; gap: calc(10 * var(--u)); }
.f1-meta a { padding: calc(8 * var(--u)) calc(18 * var(--u)); border-radius: calc(12 * var(--u)); color: #F3D7A3; text-decoration: none; }
.f1-name { height: calc(190 * var(--u)); display: flex; align-items: center; gap: calc(30 * var(--u)); font-family: var(--f-word); font-size: calc(154 * var(--u)); line-height: .8; letter-spacing: -.02em; white-space: nowrap; }
.f1-mark { width: calc(150 * var(--u)); height: calc(150 * var(--u)); min-width: 48px; min-height: 48px; object-fit: contain; }

/* ---------- RULE CLASSES (BORDER_TABLE.md / DESIGN §4b) — the ONLY borders of the site ---------- */
/* chrome */
.rule-nav { border-bottom: var(--rule-std) solid var(--rule-c-navy); }
.rule-foot { border-bottom: var(--rule-hair) solid var(--rule-c-navy); }
.rule-pill { border: var(--rule-hair) solid var(--rule-c-navy); }
.rule-pill-sand { border: var(--rule-hair) solid var(--rule-c-sand); }
.rule-pill-mint { border: var(--rule-hair) solid var(--rule-c-mint); }
/* frames (4 sides closed) */
.rule-panel { border: var(--rule-std) solid var(--rule-c-navy); border-radius: var(--r-panel); }
.rule-panel-sand { border: var(--rule-std) solid var(--rule-c-sand); border-radius: var(--r-panel); }
.rule-panel-mint { border: var(--rule-std) solid var(--rule-c-mint); border-radius: var(--r-panel); box-shadow: var(--glow-mint); }
.rule-panel-deep { border: var(--rule-std) solid var(--rule-c-mint-dark); border-radius: var(--r-panel); }
.rule-card { border: var(--rule-std) solid var(--rule-c-cream); border-radius: var(--r-card); }
.rule-card-strong { border: var(--rule-strong) solid var(--rule-c-cream-hi); border-radius: var(--r-card); }
.rule-token { border: var(--rule-std) solid var(--rule-c-navy); border-radius: calc(12 * var(--u)); }
.rule-tile { border: var(--rule-std) solid var(--rule-c-sand); border-radius: calc(14 * var(--u)); }
.rule-status { border: var(--rule-std) solid var(--rule-c-mint); border-radius: calc(16 * var(--u)); box-shadow: var(--glow-mint); }
.rule-input { display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(8 * var(--u)) calc(14 * var(--u)); border: var(--rule-std) solid var(--rule-c-sand-soft); border-radius: var(--r-row); background: rgba(17, 31, 50, .55); }
.rule-input:focus-within { border-color: var(--rule-c-mint); box-shadow: var(--glow-mint); }
.rule-input > input, .rule-input > select, .rule-input > textarea { flex: 1; min-width: 0; background: transparent; outline: none; padding: 0; }
/* inner cells of a frame: only the first draws its top edge (no doubled lines) */
.rule-cell { border: var(--rule-std) solid var(--rule-c-sand); }
.rule-cell + .rule-cell { border-top: 0; }
/* rows + long rules: each row draws only its BOTTOM edge; the last row of a framed table draws none */
.rule-head { border-bottom: var(--rule-std) solid var(--rule-c-sand); }
.rule-head-navy { border-bottom: var(--rule-mid) solid var(--rule-c-navy); }
.rule-row { border-bottom: var(--rule-hair) solid var(--rule-c-navy); }
.rule-row-strong { border-bottom: var(--rule-std) solid var(--rule-c-navy-deep); }
.rule-row:last-child, .rule-row-strong:last-child { border-bottom-color: transparent; }
.rule-row.rule-keep:last-child { border-bottom-color: var(--rule-c-navy); }
.rule-row-selected { border: var(--rule-std) solid var(--rule-c-mint); border-radius: var(--r-row); box-shadow: var(--glow-mint); background: rgba(10, 73, 39, .55); }
.rule-sep-v { border-left: var(--rule-hair) solid var(--rule-c-navy); }
.rule-sep-v-sand { border-left: var(--rule-hair) solid var(--rule-c-sand); }
.rule-sep-h { border-top: var(--rule-hair) solid var(--rule-c-navy); }
.rule-sep-h-sand { border-top: var(--rule-hair) solid var(--rule-c-sand-soft); }
.rule-rail { border-bottom: var(--rule-bus) solid var(--rule-c-mint); box-shadow: var(--glow-mint); }
.rule-none { border: 0; }

/* ---------- shared surfaces (no borders here — pair with a .rule-* class) ---------- */
.surface-navy { background: var(--grad-navy); color: var(--cream); box-shadow: var(--sh-panel); }
.surface-cream { background: var(--grad-cream); color: var(--ink); box-shadow: var(--sh-card); }
.surface-inner { background: var(--surface-inner); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: calc(12 * var(--u)); height: calc(60 * var(--u)); min-height: 40px; padding: 0 calc(36 * var(--u)); border-radius: var(--r-btn); font: 700 max(14px, calc(19 * var(--u)))/1 var(--f-sans); text-decoration: none; cursor: pointer; transition: transform var(--t-quick) var(--ease-tote), filter var(--t-quick) var(--ease-tote); }
.btn:hover { transform: translateY(calc(-2 * var(--u))); filter: brightness(1.06); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: linear-gradient(180deg, var(--primary-hi), var(--primary)); color: var(--navy); box-shadow: 0 calc(6 * var(--u)) calc(16 * var(--u)) rgba(10, 73, 39, .35), var(--glow-mint); }
.btn-secondary { background: var(--grad-cream); color: var(--navy); box-shadow: var(--sh-card); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.led { font-family: var(--f-led); font-weight: 400; letter-spacing: .02em; color: var(--primary); font-variant-numeric: tabular-nums; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.display { font-family: var(--f-display); font-weight: 400; line-height: .95; letter-spacing: .003em; text-transform: uppercase; }
.pos { color: var(--primary); } .neg { color: var(--negative); }
.disc { display: inline-grid; place-items: center; width: calc(30 * var(--u)); height: calc(30 * var(--u)); min-width: 20px; min-height: 20px; border-radius: 50%; font: 700 max(12px, calc(16 * var(--u)))/1 var(--f-sans); color: var(--navy); background: var(--silk, var(--silk-gold)); }
.silk { display: inline-block; width: calc(40 * var(--u)); height: calc(18 * var(--u)); min-width: 24px; min-height: 10px; border-radius: calc(6 * var(--u)); background: var(--silk, var(--silk-gold)); }
.pill-side { display: inline-grid; place-items: center; min-width: calc(80 * var(--u)); height: calc(25 * var(--u)); min-height: 18px; padding: 0 calc(10 * var(--u)); border-radius: var(--r-pill); font: 600 var(--fs-micro)/1 var(--f-sans); }
.pill-side.long { background: var(--primary-container); color: var(--primary); }
.pill-side.short { background: rgba(215, 38, 61, .35); color: #FFB3B3; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-cell][data-hidden] { visibility: hidden; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(28 * var(--u)); translate: -50% 0; z-index: 50; padding: 12px 20px; border-radius: var(--r-btn); background: var(--navy); color: var(--cream); font: 500 max(13px, calc(15 * var(--u)))/1.3 var(--f-sans); box-shadow: var(--sh-panel), var(--glow-mint); }
.toast[hidden] { display: none; }

/* ======================================================================================
   MOTION (DESIGN §10) — "tote board in a race office": LED digits roll in steps like a tote
   flap, mint pulses run the rails, panels break from the gate (slide out of the left, spring).
   Transform/opacity only. All off under prefers-reduced-motion.
   ====================================================================================== */
/* 1. gate break reveal (IntersectionObserver adds .is-in; 2 s safety timer) */
.js [data-gate]:not(.is-in) { opacity: 0; transform: translateX(calc(-28 * var(--u))); }
[data-gate] { transition: opacity 420ms var(--ease-tote), transform 640ms var(--ease-spring, var(--ease-tote)); transition-delay: calc(var(--lane, 0) * 70ms); }
/* 2. grow-in bars: run from the start line (CSS animation always lands on its final state) */
[data-grow] { transform-origin: left center; animation: hp-grow 760ms var(--ease-spring, var(--ease-tote)) both; animation-delay: calc(var(--lane, 0) * 60ms); }
@keyframes hp-grow { from { transform: scaleX(0); } }
/* 3. rail pulse: mint dashes travel along an SVG rail */
.rail-pulse { stroke-dasharray: 6 18; animation: hp-rail var(--t-rail) linear infinite; animation-delay: calc(var(--lane, 0) * -120ms); }
@keyframes hp-rail { to { stroke-dashoffset: -96; } }
.rail-dot { offset-rotate: 0deg; animation: hp-dot var(--t-rail) linear infinite; animation-delay: calc(var(--lane, 0) * 120ms); }
@keyframes hp-dot { from { offset-distance: 0%; } to { offset-distance: 100%; } }
/* 4. LED live tick: a changed readout flashes mint for one beat */
.is-tick { animation: hp-tick var(--t-tick) var(--ease-tote); }
@keyframes hp-tick { 0% { text-shadow: 0 0 calc(12 * var(--u)) var(--primary); opacity: .55; } 30% { opacity: 1; } 100% { text-shadow: none; } }
/* 5. lane hover: a mint start-line sweeps under the row */
[data-lane-hover] { position: relative; }
[data-lane-hover]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: max(1px, calc(2 * var(--u))); background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 360ms var(--ease-tote); pointer-events: none; }
[data-lane-hover]:hover::after { transform: scaleX(1); }
/* 6. the green block breathes (decoration only, scroll-driven, progressive) */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .sd-stack > * { animation: hp-stack linear both; animation-timeline: view(); animation-range: entry 10% cover 60%; }
  .sd-stack > :nth-child(2) { --sdk: 1; } .sd-stack > :nth-child(3) { --sdk: 2; } .sd-stack > :nth-child(4) { --sdk: 3; }
  @keyframes hp-stack { from { transform: translateY(calc(var(--sdk, 0) * 2 * var(--u))); } to { transform: translateY(calc(var(--sdk, 0) * -4 * var(--u))); } }
}
/* route change: kit router v3 view transition, tuned here */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--rt-dur); }

@media (prefers-reduced-motion: reduce) {
  .js [data-gate]:not(.is-in) { opacity: 1; transform: none; }
  [data-gate], [data-grow], .rail-pulse, .rail-dot, .is-tick, .sd-stack > * { animation: none !important; transition: none !important; }
  .n11-routes a::after, [data-lane-hover]::after, .btn { transition: none; }
}

/* ---------- 1024–1279: same layout, floor sizes keep text readable ---------- */
/* ---------- mobile (< 1024) ---------- */
@media (max-width: 1023px) {
  :root { --u: calc(100vw / 1024); --gutter-l: 14px; --gutter-r: 14px; --chrome-l: 16px; --chrome-r: 16px; }
  [data-chrome="nav"] { height: auto; padding: 10px var(--chrome-r) 0 var(--chrome-l); position: relative; }
  .n11-top { height: 52px; gap: 10px; }
  .n11-mark { width: 40px; height: 40px; }
  .n11-brand { font-size: 24px; }
  .n11-menu { display: inline-flex; align-items: center; margin-left: auto; height: 38px; padding: 0 16px; border-radius: 12px; background: var(--navy-raised); color: #F3D7A3; font: 600 14px/1 var(--f-nav); }
  .n11-actions { display: none; position: absolute; top: 62px; left: 0; right: 0; z-index: 20; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px var(--chrome-r) 18px; background: var(--navy); box-shadow: var(--sh-panel); font-size: 15px; }
  [data-chrome="nav"][data-open] .n11-actions { display: flex; }
  .n11-actions a, .n11-actions button { height: 46px; justify-content: center; border-radius: 12px; }
  .n11-routes { display: flex; height: auto; gap: 6px; padding: 0; overflow-x: auto; scrollbar-width: none; }
  .n11-routes::-webkit-scrollbar { display: none; }
  .n11-routes a { flex: 0 0 auto; padding: 14px 14px 12px; font-size: 14px; }
  .n11-routes a::after { left: 8px; right: 8px; height: 4px; }
  .page { padding: 0 var(--gutter-r) 20px var(--gutter-l); }
  [data-chrome="footer"] { height: auto; padding: 20px var(--chrome-r) 16px var(--chrome-l); }
  .f1-meta { flex-wrap: wrap; gap: 12px; font-size: 12px; }
  .f1-meta nav { margin-left: 0; }
  .f1-name { height: auto; padding: 18px 0 6px; gap: 12px; font-size: min(15.5vw, 140px); }
  .f1-mark { width: 13vw; height: 13vw; min-width: 44px; min-height: 44px; }
  .btn { width: 100%; height: 50px; font-size: 16px; }
}

/* shell placeholder body (route jobs replace routes/<name>.html; remove this block when all five are built) */
.shell-stub { padding: calc(96 * var(--u)) calc(38 * var(--u)) calc(120 * var(--u)); display: grid; gap: calc(16 * var(--u)); }
.shell-stub h1 { font: 700 var(--fs-hero)/1.05 var(--f-sans); color: var(--cream); }
.shell-stub h1.display { font: 400 var(--fs-title)/.95 var(--f-display); }
.shell-stub p { font-size: var(--fs-body); color: rgba(255, 227, 170, .85); }
