/* ATLAS OF A DEAD WORLD · the shell after the terminal (lab only).
   The world is the interface: every page is a place (a full-screen painting under a dust veil),
   the UI is light written on it. No window, no sidebar, no boxes.
   Pieces: .at-scene (the painting, moves on scroll) · .at-veil (dust over it)
   · .at-motes (drifting dust) · .at-brand (top left) · .at-tr (cart / account,
   Built by lab/shell.js; transitions + settings by lab/shell-head.js. */

/* ── page transitions (cross-document view transitions: real page loads, animated) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
/* leaving: the words fade out first on the live page (shell-head.js adds html.vt-leave, then navigates); then the painting
   dissolves into the next page with its words. Text never overlaps. The menu button holds still; the home's rail just fades. */
html.vt-leave body > :not(.at-world, .at-mer, .mn-iris, .mn-btn, script, style) { opacity: 0 !important; transition: opacity .28s cubic-bezier(.4, 0, 1, 1) !important; }
html.atlas .at-mer { view-transition-name: at-mer; }
/* term.css switches the root fade off, so it has to be named here */
html::view-transition-old(root) { mix-blend-mode: plus-lighter; animation: at-vt-out .45s ease both; }
html::view-transition-new(root) { mix-blend-mode: plus-lighter; animation: at-vt-in .45s ease both; }   /* a plain cross-fade, nothing else (user, 2026-11-13 night) */
@keyframes at-vt-out { to { opacity: 0; } }
@keyframes at-vt-in { from { opacity: 0; } }
::view-transition-group(at-mer) { animation: none; }
::view-transition-old(at-mer), ::view-transition-new(at-mer) { animation-duration: 1s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
::view-transition-group(at-star) { animation-duration: .9s; animation-timing-function: cubic-bezier(.4, 0, .1, 1); }

/* ── the terminal goes */
html.atlas :is(.t-top, .t-side, .t-keys, .t-bar, .t-space-tint, .t-space, .t-space-fx, .t-foot) { display: none !important; }
/* kept, invisible and screen-sized: the product page measures it */
html.atlas body.t-body .t-win { display: block !important; position: fixed !important; inset: 0 !important; max-width: none !important; border: 0 !important; opacity: 0 !important; -webkit-mask: none !important; mask: none !important; }
html.atlas body.t-body .t-content { width: auto !important; margin: 0 !important; padding: 128px calc(6 * var(--zvw, 1vw)) 90px !important; background: transparent !important; clip-path: none !important; min-height: calc(100 * var(--zvh, 1vh)); }
html.atlas .t-content > main { max-width: 1240px; }
html.atlas body.t-body::before { display: none; }
html.atlas { background: var(--dz-void) !important; }

/* ── the place: painting, veil, motes */
.at-world { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
html.atlas body.t-body .t-content { z-index: 1; }
/* screen-sized and only scaled up (never past its edges): an oversized, transformed layer can break the
   snapshot the browser takes of the page you leave (shell.js also drops the transform on pageswap) */
.at-scene { position: absolute; inset: 0; background: var(--dz-bg) center / cover no-repeat; transform-origin: 50% 40%; }
/* home video over the still (same first frame), fades in once it actually plays */
.at-scene__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.at-scene__video.is-on { opacity: 1; }
.at-veil { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--dz-void) 15%, transparent) 0%, transparent 22%, transparent 55%, color-mix(in srgb, var(--dz-void) 80%, transparent) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--dz-void) calc(var(--at-veil, 55%) + 15%), transparent) 0%, color-mix(in srgb, var(--dz-void) var(--at-veil, 55%), transparent) 55%, color-mix(in srgb, var(--dz-void) calc(var(--at-veil, 55%) - 10%), transparent) 100%);
}
/* walking in: the deeper you scroll, the thicker the dust */
.at-veil::after { content: ''; position: absolute; inset: 0; background: var(--dz-void); opacity: calc(var(--at-depth, 0) * .5); }
/* how thick the dust is: the home has its own (lighter), every other page shares one value so they all read the same */
html.atlas { --at-veil: 72%; }
html.atlas:has(body.sa-tpl-shop) { --at-veil: 38%; }
.at-motes { position: absolute; inset: 0; pointer-events: none; width: 100%; height: 100%; }

/* ── brand (top left) and cart / account (top right) */
.at-brand { position: fixed; z-index: 40; left: calc(6 * var(--zvw, 1vw)); top: 38px; display: flex; align-items: baseline; gap: 14px; color: #F7EDE8; text-decoration: none; }
.at-brand b { font: 400 26px/1 'Dune Rise', sans-serif; letter-spacing: .06em; }
.at-brand i { font: normal 11px 'Honor', var(--ff); letter-spacing: .4em; color: #C1998B; }
.at-brand:hover b { text-shadow: 0 0 24px rgba(247, 237, 232, .4); }
.at-top-r { position: fixed; z-index: 40; right: calc(6 * var(--zvw, 1vw)); top: 36px; display: flex; align-items: center; gap: 30px; }
html.atlas .at-top-r .sbx { display: flex; gap: 30px; }
html.atlas .at-top-r .sbx-item { flex-direction: row; width: auto; gap: 10px; padding: 0; color: #D3AD9F; --c: #D3AD9F; }
html.atlas .at-top-r .sbx-icon { width: 22px; height: 22px; }
html.atlas .at-top-r .sbx-icon svg { width: 18px; height: 18px; }
html.atlas .at-top-r .sbx-icon::after { display: none; }
html.atlas .at-top-r .sbx-lab { font-size: 12px; letter-spacing: .22em; }
html.atlas .at-top-r .sbx-item:hover { color: #F7EDE8; --c: #F7EDE8; }

/* ── typography: light written on the world */
.at-over { margin: 0 0 22px; font: 12px 'Honor', var(--ff); letter-spacing: .42em; color: #D3AD9F; }
/* line-height 1.2 + padding: Dune Rise's letters reach above a tight line box, and the light-sweep mask
   clips everything outside the box (that sliced the tops off). Negative margins keep the old spacing. */
.at-mega { margin: -.12em 0 -.1em; padding: .08em 0 .04em; font: 400 clamp(64px, calc(13 * var(--zvw, 1vw)), 210px)/1.2 'Dune Rise', sans-serif; letter-spacing: .02em; color: #F7EDE8; }
body.t-body .at-mega { text-shadow: 0 0 60px rgba(247, 237, 232, .18) !important; }
/* the old theme squares every corner: the sun and the dots stay round */
/* the old theme forces its mono on every heading */
html.atlas body.t-body .at-mega { font-family: 'Dune Rise', sans-serif; font-weight: 400; letter-spacing: .02em; }
/* the lab tag sits at the top, clear of the horizon */
/* light sweeps across a title when it arrives */
@keyframes at-rise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }

/* ── HOME: one place, one sentence, one plate */
html.atlas.at-home .t-content > main > :not(.at-home) { display: none !important; }
.at-home { position: relative; }
@keyframes at-drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ── PRODUCTS: the catalogue, a slow procession of plates */
html.atlas.at-products:not(.at-ix) .pix { display: none !important; }

/* ── PRODUCT: the black hole is the place; the plans sit above the horizon */
/* the bar's bottom padding keeps the plans clear of the horizon (product-eh.js sizes the hole to what's left) */
html.atlas .ehx { min-height: calc(calc(100 * var(--zvh, 1svh)) - 128px); }
html.atlas .ehx .ehx-bar { padding-bottom: 46px; }

/* ── phones: the horizon becomes a row of points at the bottom, everything tighter */
@media (max-width: 859px) {
  html.atlas body.t-body .t-content { padding: 100px 22px 60px !important; }
  .at-brand { left: 22px; top: 28px; } .at-brand b { font-size: 20px; } .at-brand i { display: none; }
  .at-top-r { right: 22px; top: 26px; gap: 18px; }
  html.atlas .at-top-r .sbx-lab { display: none; }
        }
@media (prefers-reduced-motion: reduce) {
    .at-scene { transform: none !important; }
}

/* ── the pages: one quiet row, top centre (replaces the horizon). The current page has a small sun under it. */
.at-nav { position: fixed; z-index: 40; top: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 34px; }
@media (max-width: 1100px) { .at-nav { gap: 20px; } }
@media (max-width: 859px) { .at-nav { top: auto; bottom: 0; left: 0; right: 0; transform: none; justify-content: space-around; gap: 0; padding: 14px 10px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(40, 26, 21, .92) 40%); } }

/* cart + sign in: off in Atlas for now (to be redesigned) */
html.atlas .at-top-r { display: none !important; }

/* ── PRODUCTS · the index (html.at-ix, default; key P = the plate catalogue). The live index layout
   (search + games left, rows right) in the new system: Oxanium titles/labels, Zekton prices, no Dune. */
html.at-ix body.t-body .pix-bh__nm, html.at-ix body.t-body .pix-hero h2 { font-family: var(--f-label) !important; font-weight: 500; letter-spacing: .2em; font-size: clamp(30px, calc(2.6 * var(--zvw, 1vw)), 46px); }
html.at-ix .pix .pix-search { font: 500 13px var(--f-label); letter-spacing: .3em; }
html.at-ix .pix-game { font: 500 13px var(--f-label); letter-spacing: .24em; }
html.at-ix .pix-row { padding-block: 14px; }
html.at-ix body.t-body .pix-row .pix-name { font: 500 21px var(--f-label); letter-spacing: .04em;
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, #F7EDE8 0 45%, #D3AD9F 55% 100%); background-size: 240% 100%; background-position: 100% 0;
  transition: background-position .9s cubic-bezier(.3, .8, .2, 1); }
html.at-ix body.t-body .pix-row:is(:hover, :focus-visible) .pix-name { background-position: 0 0; }
html.at-ix .pix-row .pix-price { font: 400 16px var(--f-text); color: #E7C8BE; }
html.at-ix .pix-row .pix-st { font: 500 11px var(--f-label); letter-spacing: .2em; }

/* no STELLAR MARKET mark and no top page row on any page (desktop). Phones keep the bottom page bar. */
html.atlas .at-brand { display: none !important; }
@media (min-width: 860px) { html.atlas .at-nav { display: none !important; } }

/* products banner: the pixel hole / planet → a rounded painting (lost.png, the girl at the station window)
   to the right of the title; same plate for ALL GAMES and for a single game */
html.at-ix .pix-bh canvas, html.at-ix .pix-hero canvas { display: none !important; }
html.at-ix .pix-bh, html.at-ix .pix-hero { position: relative; height: auto !important; min-height: 0; display: flex; align-items: center; padding: 0; gap: 0; }
html.at-ix .pix-bh__tx { position: static; }
html.at-ix .pix-bh::after, html.at-ix .pix-hero::after { content: ''; margin-left: auto; width: 52%; aspect-ratio: 16 / 9; flex: none;
  background: none; }   /* the old products plate (its picture was deleted long ago; this markup is hidden under the new list) */
html.atlas body.t-body.sa-tpl-products :is(.pix-bh, .pix-hero)::after { border-radius: 22px !important; }
@supports (corner-shape: squircle) { html.atlas body.t-body.sa-tpl-products .pix-bh::after { border-radius: 40px !important; corner-shape: squircle; } html.atlas body.t-body.sa-tpl-products .pix-hero::after { border-radius: 40px !important; corner-shape: squircle; } }
html.at-ix .pix-rows { margin-top: 44px; }
html.at-ix body.t-body .pix-hero h2, html.at-ix body.t-body .pix-bh__nm { white-space: nowrap; font-size: clamp(26px, calc(2.3 * var(--zvw, 1vw)), 42px); } html.at-ix .pix-hero > div, html.at-ix .pix-bh__tx { flex: 1; min-width: 0; padding-right: 30px; }
/* ALL GAMES: no title/count, the painting alone, across the whole content column */
html.at-ix .pix-bh__tx { display: none !important; }
html.at-ix .pix-bh::after { width: 100%; margin-left: 0; aspect-ratio: 21 / 9; background-position: 40% 40%; }
html.at-ix .pix-bh + .pix-hero + .pix-rows, html.at-ix .pix-bh ~ .pix-rows { margin-top: 56px; }

/* products v2: the archive shows through (lighter veil, no reading shade); the search column becomes a dark
   glass panel, so the contrast comes from the panel, not from dimming the whole painting */
html.at-ix .pix-side { padding: 44px 26px 36px; background: rgba(40, 26, 21, .92); border: 0; }
html.atlas body.t-body.sa-tpl-products .pix-side { border-radius: 28px !important; -webkit-backdrop-filter: blur(6px) !important; backdrop-filter: blur(6px) !important; box-shadow: inset 0 1px 0 rgba(231, 200, 190, .08), inset 0 0 0 1px rgba(124, 87, 75, .22), 0 30px 60px -30px rgba(40, 26, 21, .7) !important; }
@supports (corner-shape: squircle) { html.atlas body.t-body.sa-tpl-products .pix-side { border-radius: 40px !important; corner-shape: squircle; } }
html.at-ix .pix-games { max-height: none; }
/* the rows stay readable over the brighter painting */
html.at-ix body.t-body .pix-row :is(.pix-g, .pix-price, .pix-st) { text-shadow: 0 1px 14px rgba(40, 26, 21, .9), 0 0 4px rgba(40, 26, 21, .7) !important; }
html.at-ix body.t-body .pix-row .pix-name { filter: drop-shadow(0 1px 10px rgba(40, 26, 21, .9)); }

/* single game: no image, just the title (the painting is for ALL GAMES only) */
html.at-ix .pix-hero::after { display: none !important; }
html.at-ix .pix-hero { min-height: 120px; }

/* the game filter (designs/stellar-game-filter-slot.html): the selected game sits in a dark recessed slot
   that glides to it; no plate, no ink change, the name just brightens. Built in shell.js (.gs-*) */
html.at-ix .pix-games { position: relative; overflow-x: hidden; margin-left: 0; padding: 0; }
html.at-ix .pix-game { position: relative; margin-left: 0; width: 100%; padding: 0 14px 0 8px; box-sizing: border-box; isolation: isolate; background: none; }
html.at-ix.dz.dz-sun body.t-body.sa-tpl-products .pix-game { color: #C1998B !important; font-size: 12px; letter-spacing: .25em !important; text-shadow: none !important; transition: color .5s, font-size .5s cubic-bezier(.3,.8,.2,1), letter-spacing .5s cubic-bezier(.3,.8,.2,1), height .55s cubic-bezier(.4,0,.1,1), opacity .4s; }
html.at-ix.dz.dz-sun body.t-body.sa-tpl-products .pix-game:hover { color: #E7C8BE !important; }
html.at-ix.dz.dz-sun body.t-body.sa-tpl-products .pix-game[aria-pressed="true"] { color: #F7EDE8 !important; font-size: 14px; letter-spacing: .22em !important; text-shadow: none !important; font-weight: 500; }
html.at-ix body.t-body .pix-game .pix-count { display: inline-flex; align-items: center; color: #AC8476 !important; letter-spacing: 0 !important; transition: color .5s; }
html.at-ix body.t-body .pix-game[aria-pressed="true"] .pix-count { color: #F7EDE8 !important; }
html.at-ix body.t-body .pix-game canvas { filter: none; transition: opacity .5s; }
/* no native clear button: Escape clears */
html.at-ix body.t-body .pix-search::-webkit-search-cancel-button, html.at-ix body.t-body .pix-search::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
/* the search: on focus a line of light draws itself across, left to right */
html.at-ix body.t-body .pix .pix-search { padding: 0 22px 14px 0; font-size: 13px; letter-spacing: .3em !important; color: #F7EDE8; caret-color: #E7C8BE; border-bottom: 1px solid rgba(124, 87, 75, .6) !important; text-transform: uppercase; }
html.at-ix body.t-body .pix .pix-search::placeholder { color: #C1998B !important; }
html.at-ix .pix-none { font-size: 10px; letter-spacing: .32em; color: #966E61; text-align: center; text-transform: uppercase; }
/* rows that don't match fold away instead of vanishing */
@media (min-width: 821px) {
  /* the planets spill past their rows, which made the list scrollable: it never scrolls on its own */
  html.at-ix body.t-body .pix-games { overflow: visible; }
  html.at-ix.dz.dz-sun body.t-body.sa-tpl-products .pix-game[hidden] { display: flex !important; height: 0; opacity: 0; overflow: hidden; visibility: hidden; pointer-events: none; transition: color .5s, height .55s cubic-bezier(.4,0,.1,1), opacity .4s, visibility 0s .55s; }
}
@media (prefers-reduced-motion: reduce) { .gs-search::after, .gs-slot, html.at-ix.dz.dz-sun body.t-body.sa-tpl-products .pix-game { transition: none; } }

/* ALL GAMES like every game: title + count, no painting */
html.at-ix .pix-bh::after { display: none !important; }
html.at-ix .pix-bh__tx { display: block !important; }
html.at-ix .pix-bh { min-height: 120px; }

/* ── the meridian, home only (shell.js .at-mer; styles from home-hero.css .obs-index): fixed, left, centred.
   Narrower screens: numerals + star only, the names slide out on hover */
.obs-index.at-mer { position: fixed; z-index: 45; top: 50%; left: calc(2.4 * var(--zvw, 1vw)); translate: 0 -50%; }
/* hit areas: the rail box itself never takes the pointer, so it can't block the page under it. Each link's area touches the
   next (no dead gaps) and runs the whole width of the list. */
.obs-index.at-mer, .at-mer .obs-index__line { pointer-events: none; }
/* home: the rail fades + lifts away as you scroll */
html.at-home .obs-index.at-mer { translate: 0 calc(-50% - var(--obs-p, 0) * 60px); opacity: calc(1 - var(--obs-p, 0) * 1.4); filter: blur(calc(var(--obs-p, 0) * 3px)); }
@media (max-width: 859px) { .obs-index.at-mer { display: none; } }

/* rows: two clearly different levels — the game is a small, dim label (ASH), the product name is the bright
   line (BONE at rest, PAPER swept in on hover) */
html.at-ix body.t-body .pix-row .pix-name { background-image: linear-gradient(90deg, #F7EDE8 0 45%, #E7C8BE 55% 100%); }

/* ── STATUS: the system across the whole page (not the column), the find line centred above it */
html.atlas body.t-body .sz-page { width: calc(100 * var(--zvw, 1vw)); margin-left: calc(50% - calc(50 * var(--zvw, 1vw))); }
html.atlas body.t-body .sz-page .sz-find { display: block; width: min(640px, calc(80 * var(--zvw, 1vw))); margin: 0 auto 10px; text-align: center; font: 500 clamp(26px, calc(2.2 * var(--zvw, 1vw)), 40px) var(--f-label) !important; letter-spacing: .24em; }
html.atlas body.t-body .sz-stage { margin: 0 auto; }
html.atlas body.t-body .sz-sys { left: calc(50% - 550px * var(--sc, 1)); }
/* status: less empty space above the find line, so the system can grow */
html.atlas body.t-body.sa-tpl-status .t-content { padding-top: 56px !important; }

/* status polish: the panel sits next to the centred system (not at the screen edge), in the new type */
html.atlas body.t-body .sz-pn { right: calc(50% - 550px * var(--sc, 1) + 40px * var(--sc, 1)); width: 360px; padding: 26px 28px; font-family: var(--f-text);
  background: rgba(40, 26, 21, .66); border: 1px solid rgba(231, 200, 190, .12); border-radius: 22px !important; -webkit-backdrop-filter: blur(16px) !important; backdrop-filter: blur(16px) !important; box-shadow: 0 24px 70px rgba(40, 26, 21, .5) !important; }
@supports (corner-shape: squircle) { html.atlas body.t-body .sz-pn { border-radius: 40px !important; corner-shape: squircle; } }
html.atlas body.t-body .sz-page .sz-find { border-bottom-color: rgba(231, 200, 190, .22) !important; }
html.atlas body.t-body .sz-page .sz-find::placeholder { color: #D3AD9F !important; }
/* status: the system's canvas fades out at its edges (no visible rectangle) */
html.atlas body.t-body .sz-sys { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 93%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 93%, transparent 100%); }
/* status is one screen: no scrolling (desktop); the stage takes exactly the space under the find line */
@media (min-width: 860px) {
  html.atlas:has(body.sa-tpl-status), html.atlas:has(body.sa-tpl-status) body { overflow: hidden !important; height: 100%; }
  html.atlas body.t-body.sa-tpl-status .t-content { padding-bottom: 0 !important; min-height: 0 !important; height: calc(100 * var(--zvh, 1vh)); overflow: hidden; }
  html.atlas body.t-body .sz-stage { overflow: visible; }
}
html.atlas body.t-body .sz-stage { margin-top: -70px; }
/* the find line sits above the canvas (the raised stage was covering it, so it couldn't be clicked) */
html.atlas body.t-body .sz-page .sz-find { position: relative; z-index: 5; }
html.atlas body.t-body .sz-stage { margin-top: -90px; position: relative; z-index: 1; }
html.atlas body.t-body.sa-tpl-status .t-content { padding-top: 40px !important; }

/* ── PRODUCT: the plate replaces the black hole */
html.atlas .ehx-stage canvas { display: none !important; }

/* product names: the label font (Dune Rise is only for STELLAR on the home) */
html.dz body.t-body .ehx-name h1 { font-family: var(--f-label) !important; font-weight: 500 !important; letter-spacing: .12em !important; font-size: clamp(30px, calc(2.6 * var(--zvw, 1vw)), 46px) !important; }

/* ── PRODUCTS · choosing a game: the content fades out and back in (lab/overrides/products.js adds .is-swap for 180 ms) */
html.at-ix .pix-main { transition: opacity .6s cubic-bezier(.4, 0, .2, 1); }

/* ── PRODUCTS · a single game's title looks exactly like ALL GAMES */
html.at-ix.dz.dz-sun body.t-body .pix-hero h2 { font-weight: 400 !important; letter-spacing: .04em !important; color: #F7EDE8 !important; text-shadow: 0 0 22px rgba(247, 237, 232, .28) !important; }

/* ── DOCS in the Atlas language (same parts as Products): plain title, COCOA plate for the chosen tab, VOID cards, hairlines,
   no frames, brackets, pixel icons or status colours. The live page's markup is untouched, so this survives a re-capture. */
html.atlas body.t-body .cd--head { margin: 0 0 26px; }
html.atlas body.t-body .cd--head .cd-title { font: 400 clamp(26px, calc(2.3 * var(--zvw, 1vw)), 42px) var(--f-label) !important; letter-spacing: .04em !important; text-transform: uppercase; color: #F7EDE8 !important; text-shadow: 0 0 22px rgba(247, 237, 232, .28) !important; }
html.atlas body.t-body .dm-docs .dm-wrap { max-width: 800px; margin-left: 0; }
html.atlas body.t-body .dm-docs [data-kind] { --sc: #E7C8BE; --sd: #7C574B; }
html.atlas body.t-body .dm-docs .dm-docs__tabs { gap: 6px; margin-bottom: 44px; }
html.atlas body.t-body .dm-docs .dm-docs__tab { padding: 10px 18px; border: 0 !important; background: none !important; color: #C1998B; font: 500 12px var(--f-label); letter-spacing: .2em; transition: color .4s, background-color .4s; border-radius: 15px !important; }
html.atlas body.t-body .dm-docs .dm-docs__tab:hover { color: #E7C8BE; }
html.atlas body.t-body .dm-docs .dm-docs__tab.is-active { color: #F7EDE8; background: #604035 !important; box-shadow: inset 0 2px 6px #281A15 !important; font-weight: 500; }
html.atlas body.t-body .dm-docs .dm-docs__tab.is-active::before, html.atlas body.t-body .dm-docs .dm-docs__tab::after, html.atlas body.t-body .dm-docs .dm-faq__q::after { content: none; display: none; }
html.atlas body.t-body .dm-docs .dm-split__title { font: 500 22px var(--f-label); letter-spacing: .04em; color: #F7EDE8; }
html.atlas body.t-body .dm-docs .dm-split__text { color: #D3AD9F !important; }
html.atlas body.t-body .dm-docs .dm-docs__needs { max-width: none; padding: 24px 28px; border: 0 !important; background: rgba(40, 26, 21, .92); border-radius: 24px !important; box-shadow: inset 0 0 0 1px rgba(124, 87, 75, .22), 0 30px 60px -30px rgba(40, 26, 21, .7) !important; }
html.atlas body.t-body .dm-docs .dm-docs__needs p { font: 500 11px var(--f-label); letter-spacing: .3em; color: #C1998B; }
html.atlas body.t-body .dm-docs .dm-docs__needs li::before { color: #AC8476; }
html.atlas body.t-body .dm-docs .dm-faq__list { border-top: 1px solid rgba(124, 87, 75, .4); }
html.atlas body.t-body .dm-docs .dm-faq__item { border-bottom: 1px solid rgba(124, 87, 75, .4); }
html.atlas body.t-body .dm-docs .dm-faq__item.is-open { box-shadow: none !important; }
html.atlas body.t-body .dm-docs .dm-faq__q { grid-template-columns: 28px minmax(0, 1fr) 20px; padding: 20px 4px; }
html.atlas body.t-body .dm-docs .dx-ic { display: none; }
html.atlas body.t-body .dm-docs .dm-faq__n, html.atlas body.t-body .dm-docs .dm-faq__q:hover .dm-faq__n, html.atlas body.t-body .dm-docs .dm-faq__item.is-open .dm-faq__n { width: auto; height: auto; place-items: start; border: 0 !important; background: none !important; font: 400 13px var(--f-text); color: #AC8476 !important; }
html.atlas body.t-body .dm-docs .dm-faq__item.is-open .dm-faq__n { color: #E7C8BE !important; }
html.atlas body.t-body .dm-docs .dm-faq__text { color: #E7C8BE !important; transition: color .35s; }
html.atlas body.t-body .dm-docs .dm-faq__q:hover .dm-faq__text, html.atlas body.t-body .dm-docs .dm-faq__item.is-open .dm-faq__text { color: #F7EDE8 !important; }
html.atlas body.t-body .dm-docs .dm-faq__icon::before, html.atlas body.t-body .dm-docs .dm-faq__item.is-open .dm-faq__icon::before { content: '+'; font: 400 18px var(--f-label); color: #AC8476; }
html.atlas body.t-body .dm-docs .dm-faq__item.is-open .dm-faq__icon::before { content: '\2212'; color: #E7C8BE; }
html.atlas body.t-body .dm-docs .dm-faq__item.is-open .dm-faq__a { animation: at-vt-in .45s cubic-bezier(.4, 0, .2, 1); }
html.atlas body.t-body .dm-docs .dm-faq__a-inner { padding: 0 4px 26px 44px; }
html.atlas body.t-body .dm-docs .dm-doc { color: #D3AD9F !important; }
html.atlas body.t-body .dm-docs .dm-doc strong { color: #F7EDE8; font-weight: 400; }
html.atlas body.t-body .dm-docs .dm-doc a { color: #E7C8BE; text-decoration-color: rgba(231, 200, 190, .45); }
html.atlas body.t-body .dm-docs .dm-doc ol > li::marker { color: #AC8476; font-weight: 400; }
html.atlas body.t-body .dm-docs .dm-doc h4 { border-top: 1px solid rgba(124, 87, 75, .4); font: 500 12px var(--f-label); letter-spacing: .2em; color: #E7C8BE !important; }
html.atlas body.t-body .dm-docs .dm-doc h4::before, html.atlas body.t-body .dm-docs .dm-doc h3::before { content: none; }
html.atlas body.t-body .dm-docs .dm-doc th { border-bottom: 1px solid rgba(124, 87, 75, .4) !important; font: 500 11px var(--f-label); letter-spacing: .24em; color: #C1998B; }
html.atlas body.t-body .dm-docs .dm-doc td { border-bottom: 1px solid rgba(124, 87, 75, .25) !important; color: #E7C8BE; }
html.atlas body.t-body .dm-docs .dm-doc code { padding: 2px 7px; border: 0 !important; background: rgba(96, 64, 53, .55); color: #F7EDE8; border-radius: 7px !important; }
html.atlas body.t-body .dm-docs .dm-doc pre { padding: 16px 18px; border: 0 !important; background: rgba(40, 26, 21, .92); border-radius: 15px !important; box-shadow: inset 0 0 0 1px rgba(124, 87, 75, .22) !important; }
html.atlas body.t-body .dm-docs .dm-doc pre code { padding: 0; background: none; }
html.atlas body.t-body .dm-docs .dm-doc blockquote, html.atlas body.t-body .dm-docs .dm-doc blockquote.is-warn { padding: 16px 20px; border: 0 !important; background: rgba(40, 26, 21, .72); color: #E7C8BE; border-radius: 15px !important; box-shadow: inset 0 0 0 1px rgba(124, 87, 75, .22) !important; }
html.atlas body.t-body .dm-docs .dm-doc blockquote strong { color: #F7EDE8 !important; }
html.atlas body.t-body .cd--end { max-width: 800px; margin: 64px 0 40px; padding: 0; text-align: left; align-items: flex-start; }
html.atlas body.t-body .cd--end .cd-faq-head { margin: 0 0 12px; font: 500 11px var(--f-label); letter-spacing: .3em; color: #C1998B; text-align: left; }
html.atlas body.t-body .cd--end .cd-btn { display: inline-block; width: auto; min-width: 0; height: auto; padding: 0; border: 0 !important; background: none !important; box-shadow: none !important; }
html.atlas body.t-body .cd--end .cd-btn canvas, html.atlas body.t-body .cd--end .cd-arrow { display: none !important; }
html.atlas body.t-body .cd--end .cd-label { display: inline-block; padding: 0; font: 500 clamp(20px, calc(1.75 * var(--zvw, 1vw)), 30px)/1.2 var(--f-label) !important; letter-spacing: .2em; color: transparent !important; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient(90deg, #F7EDE8 0 45%, #C1998B 55% 100%); background-size: 240% 100%; background-position: 100% 0; transition: background-position .9s cubic-bezier(.3, .8, .2, 1); }
html.atlas body.t-body .cd--end .cd-btn:is(:hover, :focus-visible) .cd-label { background-position: 0 0; }
html.atlas body.t-body .cd--end { display: block; }
html.atlas body.t-body .cd--end .cd-faq-head { display: block; max-width: none; margin-left: 0 !important; text-align: left; }

/* ── DOCS · centred + easier to read (user, 2026-11-02): the column sits on the centre of the screen; every step is its own VOID card so the text no longer sits on the painting; step titles are the first read. */
html.atlas body.t-body:has(.dm-docs) { --doc-w: min(860px, calc(calc(100 * var(--zvw, 1vw)) - calc(12 * var(--zvw, 1vw)))); }
html.atlas body.t-body:has(.dm-docs) .t-content { padding-left: 0 !important; padding-right: 0 !important; }
html.atlas body.t-body:has(.dm-docs) .t-content > main { width: var(--doc-w); max-width: none; margin-left: auto; margin-right: auto; }
html.atlas body.t-body .dm-docs, html.atlas body.t-body .dm-docs .dm-wrap { width: 100%; max-width: none; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
html.atlas body.t-body:has(.dm-docs) .cd--end { display: none !important; }
html.atlas body.t-body .cd--head { text-align: center; }
html.atlas body.t-body .dm-docs .dm-docs__tabs { justify-content: center; }
html.atlas body.t-body .dm-docs .dm-split__intro, html.atlas body.t-body .dm-docs .dm-split__title, html.atlas body.t-body .dm-docs .dm-split__text { text-align: center; margin-left: auto; margin-right: auto; max-width: 640px; }
html.atlas body.t-body .dm-docs .dm-split__text { color: #E7C8BE !important; }
html.atlas body.t-body .dm-docs .dm-docs__needs li { color: #E7C8BE !important; }
html.atlas body.t-body .dm-docs .dm-docs__needs { margin-left: 0; margin-right: 0; }
html.atlas body.t-body .dm-docs .dm-faq__list { display: grid; gap: 10px; border-top: 0; margin-top: 18px; }
html.atlas body.t-body .dm-docs .dm-faq__item, html.atlas body.t-body .dm-docs .dm-faq__item.is-open { border-bottom: 0; background: rgba(40, 26, 21, .92); border-radius: 18px !important; box-shadow: inset 0 0 0 1px rgba(124, 87, 75, .22) !important; }
html.atlas body.t-body .dm-docs .dm-faq__q { grid-template-columns: 34px minmax(0, 1fr) 20px; gap: 14px; padding: 22px 26px; }
html.atlas body.t-body .dm-docs .dm-faq__text, html.atlas body.t-body .dm-docs .dm-faq__q:hover .dm-faq__text, html.atlas body.t-body .dm-docs .dm-faq__item.is-open .dm-faq__text { font: 500 20px/1.3 var(--f-label); letter-spacing: .02em; color: #F7EDE8 !important; }
html.atlas body.t-body .dm-docs .dm-faq__n, html.atlas body.t-body .dm-docs .dm-faq__q:hover .dm-faq__n { font-size: 14px; color: #C1998B !important; }
html.atlas body.t-body .dm-docs .dm-faq__item.is-open .dm-faq__n { color: #F7EDE8 !important; }
html.atlas body.t-body .dm-docs .dm-faq__icon::before { color: #E7C8BE; }
html.atlas body.t-body .dm-docs .dm-faq__a-inner { padding: 0 26px 28px 74px; }
html.atlas body.t-body .dm-docs .dm-doc { max-width: none; font-size: 16px; color: #E7C8BE !important; }
html.atlas body.t-body .dm-docs .dm-doc ol > li::marker { color: #C1998B; }
html.atlas body.t-body .dm-docs .dm-doc blockquote, html.atlas body.t-body .dm-docs .dm-doc blockquote.is-warn, html.atlas body.t-body .dm-docs .dm-doc pre { background: rgba(96, 64, 53, .32); box-shadow: none !important; }
html.atlas body.t-body .dm-docs .dm-split__intro { max-width: none; }
html.atlas body.t-body .dm-docs .dm-docs__needs, html.atlas body.t-body .dm-docs .dm-docs__needs p, html.atlas body.t-body .dm-docs .dm-docs__needs li { text-align: left; }
html.atlas body.t-body .dm-docs .dm-docs__needs { width: 100%; max-width: none; box-sizing: border-box; }
html.atlas body.t-body .dm-docs .dm-split { display: block; width: 100%; max-width: none; }
html.atlas body.t-body .dm-docs .dm-split__intro { width: 100%; position: static; }

/* ── THE MENU · top left on every page except the home (shell.js .mn-*, designs/stellar-menu-lines.html).
   The home keeps its rail. Oxanium for words, Zekton for reading and figures, palette only. */
html.atlas body.t-body .mn-btn { position: fixed; z-index: 920; left: 44px; top: 36px; display: flex; align-items: center; gap: 18px; padding: 8px 12px 8px 4px; margin: 0; background: none !important; border: 0 !important; box-shadow: none !important; color: inherit; cursor: pointer; font: 500 12px var(--f-label); view-transition-name: mn-btn; }
::view-transition-group(mn-btn) { animation: none; }
/* the button's width follows the page name: pinned top-left and never stretched, or MENU doubles during the dissolve */
::view-transition-old(mn-btn), ::view-transition-new(mn-btn) { animation-duration: .6s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); width: 100%; height: 100%; object-fit: none; object-position: 0 0; }
/* the icon: two hairlines of different length. Hover: the short one slides to full length. Open: they cross */
html.atlas body.t-body :is(.mn-btn, .mn-foot button):focus-visible { outline: 1px solid #E7C8BE !important; outline-offset: 5px; border-radius: 6px !important; }

/* ...marked by the rail's four-point star, small and breathing, centred on the caps after the word */
@keyframes mn-here { 0%, 100% { opacity: .55; transform: scale(.88); } 50% { opacity: 1; transform: none; } }
/* phones: the menu replaces the bottom page bar (the home keeps it, it has no menu) */
@media (max-width: 900px) {
  html.atlas body.t-body .mn-btn { left: 18px; top: 16px; }
          }
@media (max-width: 859px) { html.atlas:not(.at-home) .at-nav { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mn-btn *, .mn-ix, .mn-ix * { transition-duration: .01ms !important; } }