/* =============================================================================
   BRAND BOOK v3.0 — THE KIT
   Canonical render source for world.leematulis.com (the Ancient Future world map
   + venture rooms). This file IS canon for visual rendering.

   THE RULE (see vault CLAUDE.md §31):
     - Every world page links THIS file: <link rel="stylesheet" href="brand.css">.
     - No page inlines :root tokens or component CSS. A page that does is a bug;
       the drift guard (deploy/_kit/check.sh) fails it.
     - Do NOT author visual style from prose canon or from memory. Start here.
     - VISUAL TRUTH = this file. The prose brand docs (MASTER, Visual Foundations,
       Color Philosophy) describe INTENT and are NON-BINDING for rendering.
       If a render disagrees with this file, THIS FILE WINS.

   Values below are extracted VERBATIM from the live site (the quantum leap).
   Page-type layout is namespaced by a <body> class so every page stays exact:
     body.world-home     -> the venture map (index.html)
     body.world-venture  -> a venture room (bodysatva, source-method, ...)
     body.world-about    -> the about page (embeds the slot machine)
     body.world-apex     -> the person front door (leematulis.com)
     body.pulse-stream   -> the firehose (pulse.leematulis.com — ECG + feed)
   Documented exceptions (self-contained by design, NOT governed here):
     slot.html  -> bespoke slot-machine trustmark (own CSS + JS)
     og-*.html  -> render-to-PNG link-preview cards (throwaway build inputs)
   ============================================================================= */

/* ---- TOKENS — the palette / type / spectrum (the heart) -------------------- */
:root{
  --obsidian:#0E0D09; --bg:#141310; --panel:#16140F; --linen:#F5F0E8; --shell:#D9D2C5; --stone:#7A7570; --muted:#9C9893;
  --bronze:#B08030; --line:rgba(245,240,232,.09); --line2:rgba(245,240,232,.05);
  --spectrum:linear-gradient(100deg,#C8342B,#E2631F,#E8A81E,#E8D21A,#8FC53A,#46B14E,#1F9E9A,#2E78C4,#2649A0,#5E3A9E,#6A2EA8,#A02E9E,#C0379B,#C8342B);
}

/* ---- LIGHT THEME — opt-in via <html data-theme="light"> (nav toggle) -------
   Token remap only; the spectrum / iridescent stays identical (it reads warm
   on both grounds). Default (no attribute) = the canonical warm-black brand. */
:root[data-theme="light"]{
  --obsidian:#EAE3D6; --bg:#F5F0E8; --panel:#FBF8F2; --linen:#1A1813;
  --shell:#3D372E; --stone:#6B645A; --muted:#7C7468; --bronze:#8C631C;
  --line:rgba(20,18,13,.14); --line2:rgba(20,18,13,.07);
}
[data-theme="light"] body{background:radial-gradient(120% 70% at 50% -8%, #FBF8F1 0%, #F3EDE3 50%, #EAE3D6 100%) fixed}
[data-theme="light"] .world-apex .portrait{background:radial-gradient(120% 90% at 50% 0%, #F3EDE3 0%, #ECE4D6 60%, #E4DACA 100%)}
[data-theme="light"] .world-home .swatch,[data-theme="light"] .world-venture .gem{border-color:rgba(20,18,13,.12)}

/* ---- THEME TOGGLE — minimalist split-disc (half linen, half obsidian) ------
   Fixed two-tone so the control reads the light/dark duality on either ground;
   the --stone ring keeps the full circle legible when one half ~matches the bg.
   Injected into every .nav by theme.js (no per-page markup). */
.navctl{display:flex;align-items:center;gap:16px}
.themebtn{width:18px;height:18px;flex:none;padding:0;border-radius:50%;cursor:pointer;
  border:1px solid var(--stone);background:linear-gradient(90deg,#F5F0E8 0 50%,#0E0D09 50%);
  -webkit-tap-highlight-color:transparent;transition:border-color .2s ease,transform .2s ease}
.themebtn:hover{border-color:var(--bronze);transform:scale(1.12)}
.themebtn:focus-visible{outline:1px solid var(--bronze);outline-offset:3px}


/* ---- PRIMITIVES — identical on every page --------------------------------- */
*{box-sizing:border-box}
html,body{margin:0}
body{color:var(--linen);font-family:"Cormorant Garamond",Georgia,serif;-webkit-font-smoothing:antialiased;
  background:radial-gradient(120% 70% at 50% -8%, #1B1913 0%, #141310 46%, #0E0D09 100%) fixed;min-height:100vh}

.wrap{max-width:1040px;margin:0 auto}

.nav{display:flex;align-items:center;gap:22px;padding:26px 40px;border-bottom:1px solid var(--line2)}
.brandmark{margin-right:auto;font-family:"Inter",sans-serif;font-size:12px;letter-spacing:.26em;text-transform:uppercase;color:var(--bronze);font-weight:600;text-decoration:none}
.navlinks{font-family:"Inter",sans-serif;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:22px}
.navlinks .deb{color:#6A6560}
.navlinks .here{color:var(--linen)}
.navlinks a{color:inherit;text-decoration:none;transition:color .2s}
.navlinks a:hover{color:var(--linen)}
.navlinks .pulse-link{display:inline-flex;align-items:center;gap:7px;color:var(--linen)}
.navlinks .pulse-dot{width:6px;height:6px;border-radius:50%;background:var(--bronze);animation:pulse-dot 2.4s ease-in-out infinite}
@keyframes pulse-dot{0%,100%{opacity:.4;transform:scale(.82)}50%{opacity:1;transform:scale(1.12)}}
.menubtn{display:none;font-family:"Inter",sans-serif;font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);font-weight:500;background:none;border:0;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .2s}
.menubtn:hover,.nav.open .menubtn{color:var(--linen)}

/* eyebrow is shared (home + venture); about overrides margin below */
.eyebrow{font-family:"Inter",sans-serif;font-size:10.5px;letter-spacing:.3em;text-transform:uppercase;color:var(--stone);margin:0 0 26px}

/* footer chrome — base bits shared; container + sigil sizing scoped per page-type */
.foot .lm{font-family:"Inter",sans-serif;font-size:12px;letter-spacing:.28em;text-transform:uppercase;color:var(--bronze);font-weight:600}
.foot .tag{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:16px;color:var(--muted);margin-top:10px}
.foot .fine{font-family:"Inter",sans-serif;font-size:9.5px;letter-spacing:.08em;color:var(--stone);margin-top:18px}
.sigil{font-family:"Noto Sans Symbols 2","Apple Symbols","Segoe UI Symbol",serif;line-height:1;display:inline-block;
  background-image:var(--spectrum);background-size:300% auto;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:drift-af 20s linear infinite}

/* seamless loop = shift exactly one tile (100·S/(S−100)% for background-size S);
   gradients are edge-matched (first==last) so the jump is invisible */
@keyframes drift-af{from{background-position:0% center}to{background-position:150% center}}
@keyframes drift-ven{from{background-position:0% center}to{background-position:176.923% center}}

/* =============================================================================
   HOME — body.world-home (the venture map)
   ============================================================================= */
.world-home .hero{text-align:center;padding:96px 30px 64px}
.world-home .af{font-family:"DM Serif Display",serif;font-style:italic;font-weight:400;font-size:clamp(34px,9vw,104px);line-height:.98;margin:0;
    background-image:var(--spectrum);background-size:300% auto;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:drift-af 20s linear infinite;letter-spacing:.004em}
.world-home .subline{font-family:"Inter",sans-serif;font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--shell);margin:30px 0 0}
.world-home .subline .sep{color:var(--bronze);margin:0 11px}
.world-home .herodesc{font-family:"Cormorant Garamond",serif;font-size:21px;color:var(--shell);line-height:1.6;max-width:46ch;margin:26px auto 0;font-style:italic;text-wrap:balance}
.world-home .herodesc br{display:block}
@media(max-width:560px){.world-home .herodesc{font-size:19px}}

.world-home .world{padding:18px 40px 30px}
.world-home .sect{display:flex;align-items:center;gap:16px;margin:40px 0 26px}
.world-home .sect .verb{font-family:"DM Serif Display",serif;font-style:italic;font-size:26px;color:var(--linen);white-space:nowrap}
.world-home .sect .ln{height:1px;flex:1;background:var(--line)}
.world-home .sect .terr{font-family:"Inter",sans-serif;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--bronze)}

/* ── CANON: dotted compounds — "standard of performance" ─────────────
   Any "A · B" label breaks ONLY at the "·", never mid-phrase, never
   orphaning a word. Wrap each phrase in <span class="nb">; keep " · "
   as normal whitespace so the separator is the sole break point.
   Applies to .subline + .terr (home) and .eyebrow + .vstatus (venture).
   The hero .terr goes further on phones: stacks clean, drops the dot. */
.nb{white-space:nowrap}
@media(max-width:560px){
  .world-home .hero{padding-left:18px;padding-right:18px}
  .world-home .sect{flex-wrap:wrap}
  .world-home .sect .terr{flex-basis:100%;display:flex;flex-direction:column;gap:2px;line-height:1.45}
  .world-home .sect .terr-dot{display:none}
}

/* each row is its own flex line — one card fills, two cards split */
.world-home .ventures{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:14px}
.world-home .ven{flex:1 1 0;min-width:230px;border:1px solid var(--line);border-radius:13px;padding:22px 22px;background:var(--panel);display:flex;gap:16px;align-items:flex-start}
.world-home .ven .body{flex:1;min-width:0}
.world-home .ven .vn{font-family:"DM Serif Display",serif;font-style:italic;font-weight:400;font-size:26px;line-height:1.05;margin:0;
    background-image:var(--grad);background-size:230% auto;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:drift-ven 14s linear infinite}
.world-home .ven .vd{font-family:"Inter",sans-serif;font-size:11.5px;color:var(--shell);line-height:1.5;margin:9px 0 0}
.world-home .ven .sub{font-family:"Inter",sans-serif;font-size:10px;color:var(--muted);margin:7px 0 0;letter-spacing:.02em}
.world-home .ven .sub b{color:var(--bronze);font-weight:600}
.world-home a.ven{text-decoration:none;color:inherit;cursor:pointer;transition:border-color .2s ease,transform .2s ease}
.world-home a.ven:hover{border-color:var(--bronze);transform:translateY(-2px)}

.world-home .ven.feature{padding:28px 26px}
.world-home .ven.feature .swatch,.world-home .ven.feature .rough{width:62px;height:62px}
.world-home .ven.feature .vn{font-size:32px}
.world-home .ven.feature .vd{font-size:12.5px;margin-top:11px}

/* flat iridescent swatch — the resting-state venture mark */
.world-home .swatch{position:relative;border-radius:28%;flex:none;width:50px;height:50px;
  background:linear-gradient(135deg, var(--a), var(--b));
  border:1px solid rgba(255,255,255,.14);box-shadow:0 1px 2px rgba(0,0,0,.3)}
.world-home .swatch.solo{background:linear-gradient(135deg, var(--a), var(--glow))}
.world-home .swatch.afterglow{background:linear-gradient(135deg, #D81E92, #8A2EC0, #2A1FA8)}

.world-home .ven.placeholder{border-style:dashed;opacity:.72}
.world-home .ven.placeholder .vn{animation:none;background:none;-webkit-text-fill-color:var(--stone);color:var(--stone)}
.world-home .rough{width:50px;height:50px;flex:none;border-radius:28%;background:linear-gradient(135deg,#3A352E,#23201B);border:1px dashed rgba(176,128,48,.4)}

/* AS ABOVE, SO BELOW — three core ventures as nesting containers */
.world-home .core{display:flex;gap:18px;align-items:stretch;
  border:1px solid var(--line);border-radius:16px;background:var(--obsidian);
  padding:14px 18px;margin-bottom:14px}
.world-home .core-parent{flex:1 1 44%;background:transparent;border:1px solid transparent;align-items:center;padding:6px 4px}
.world-home .core-parent:hover{transform:none;border:1px solid transparent}
.world-home .core-parent:hover .vn{filter:brightness(1.08)}
.world-home .terr-eyebrow{font-family:"Inter",sans-serif;font-size:10px;letter-spacing:.3em;
  text-transform:uppercase;color:var(--bronze);display:block;margin:0}
.world-home .terr-promise{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:13.5px;
  color:var(--stone);display:block;margin:3px 0 9px}
.world-home .core-parent .enter{font-family:"Inter",sans-serif;font-size:10px;letter-spacing:.18em;
  text-transform:uppercase;color:var(--muted);margin:9px 0 0;transition:color .2s}
.world-home .core-parent:hover .enter{color:var(--linen)}
.world-home .core-kids{flex:1 1 56%;display:flex;flex-direction:column;gap:8px}
.world-home .core-kids .ven{flex:1 1 0;padding:10px 15px;border-radius:11px;background:var(--panel);align-items:center;gap:13px;min-width:0}
.world-home .core-kids .swatch,.world-home .core-kids .rough{width:40px;height:40px}
.world-home .core-kids .vn{font-size:19px}
.world-home .core-kids .vd{font-size:11px;margin-top:4px}
@media(max-width:700px){
  .world-home .core{flex-direction:column;align-items:stretch}
  .world-home .core-parent{flex:none}
  .world-home .core-kids{flex:none}
}
/* small phones: reclaim the nested padding so feature names fit and wrap
   cleanly instead of clipping (.world + .core + swatch were starving .body) */
@media(max-width:480px){
  .world-home .world{padding-left:16px;padding-right:16px}
  .world-home .core{padding-left:12px;padding-right:12px;gap:12px}
  .world-home .ven.feature{padding:20px 14px}
  .world-home .ven.feature .swatch,.world-home .ven.feature .rough{width:46px;height:46px}
  .world-home .ven.feature .vn{font-size:26px}
}

.world-home .foot{text-align:center;padding:56px 30px 40px;border-top:1px solid var(--line2);margin-top:30px}
.world-home .sigil{font-size:36px;margin-top:28px}

/* =============================================================================
   VENTURE — body.world-venture (a single venture room)
   ============================================================================= */
.world-venture .vhero{text-align:center;padding:84px 30px 14px}
.world-venture .gem{width:58px;height:58px;border-radius:28%;margin:0 auto 26px;background:linear-gradient(135deg,var(--a),var(--b));border:1px solid rgba(255,255,255,.14);box-shadow:0 1px 2px rgba(0,0,0,.3)}
.world-venture .gem.afterglow{background:linear-gradient(135deg,#D81E92,#8A2EC0,#2A1FA8)}
.world-venture .vname{font-family:"DM Serif Display",serif;font-style:italic;font-weight:400;font-size:clamp(44px,9vw,90px);line-height:1.0;margin:0;background-image:var(--grad);background-size:230% auto;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:drift-ven 14s linear infinite}
.world-venture .vteaser{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:22px;color:var(--shell);max-width:46ch;margin:24px auto 0;line-height:1.55;text-wrap:balance}
.world-venture .vsub{font-family:"Inter",sans-serif;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:20px 0 0}
.world-venture .vsub b{color:var(--bronze);font-weight:600}
.world-venture .vbody{max-width:52ch;margin:0 auto;padding:14px 30px 6px}
.world-venture .vbody p{font-family:"Cormorant Garamond",serif;font-size:19px;line-height:1.66;color:var(--shell);margin:18px 0 0;text-wrap:pretty}
.world-venture .vstatus{font-family:"Inter",sans-serif;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--bronze);text-align:center;margin:34px 0 0}
.world-venture .vlinks{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:34px 0 0}
.world-venture .vlinks a{font-family:"Inter",sans-serif;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--shell);text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:11px 19px;transition:border-color .2s,color .2s,transform .2s}
.world-venture .vlinks a:hover{border-color:var(--bronze);color:var(--linen);transform:translateY(-1px)}

.world-venture .foot{text-align:center;padding:60px 30px 40px;border-top:1px solid var(--line2);margin-top:54px}
.world-venture .sigil{font-size:34px;margin-top:26px}

/* =============================================================================
   ABOUT — body.world-about (embeds the slot-machine trustmark via iframe)
   ============================================================================= */
.world-about .eyebrow{margin:0}
.world-about .head{text-align:center;padding:54px 30px 10px}
.world-about .slotwrap{padding:8px 24px 4px}
.world-about .slotframe{width:100%;border:0;display:block;background:var(--obsidian);border-radius:14px;
  height:clamp(440px,64vh,600px)}
.world-about .arc{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:20px;line-height:1.62;color:var(--shell);
  max-width:54ch;margin:6px auto 0;text-align:center;padding:0 34px;text-wrap:balance}

.world-about .foot{text-align:center;padding:56px 30px 40px;border-top:1px solid var(--line2);margin-top:44px}
.world-about .sigil{font-size:36px;margin-top:28px}

/* =============================================================================
   RESPONSIVE — mobile nav menu (shared) + per-type padding
   ============================================================================= */
@media(max-width:820px){
  .nav{padding-left:22px;padding-right:22px;position:relative}
  .menubtn{display:inline-block}
  .navlinks{position:absolute;top:100%;right:22px;z-index:60;flex-direction:column;align-items:flex-end;gap:18px;background:var(--obsidian);border:1px solid var(--line);border-radius:11px;padding:22px 26px;margin-top:12px;opacity:0;pointer-events:none;transform:translateY(-6px);transition:opacity .25s ease,transform .25s ease}
  .nav.open .navlinks{opacity:1;pointer-events:auto;transform:none}
  .world-home .world{padding-left:22px;padding-right:22px}
  .world-about .slotwrap{padding-left:8px;padding-right:8px}
}
@media (prefers-reduced-motion:reduce){.world-home .af,.world-home .ven .vn,.world-venture .vname,.sigil{animation:none}}

/* =============================================================================
   APEX — body.world-apex (leematulis.com, the PERSON front door)
   Shares the world docroot's kit (copied to deploy/root/brand.css at deploy;
   the drift guard enforces the two copies stay byte-identical). Components are
   the apex's own, verbatim; the three colliding shared selectors (eyebrow/foot/
   sigil) are re-scoped here to the apex's exact values.
   ============================================================================= */
.world-apex .hero{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center;padding:84px 40px 60px}
.world-apex .eyebrow{margin:0 0 24px}
.world-apex .name{font-family:"DM Serif Display",serif;font-style:italic;font-weight:400;font-size:clamp(46px,8vw,92px);line-height:.96;margin:0;
    background-image:var(--spectrum);background-size:300% auto;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:drift-af 20s linear infinite;letter-spacing:.004em}
.world-apex .herodesc{font-family:"Cormorant Garamond",serif;font-size:21px;color:var(--shell);line-height:1.6;max-width:42ch;margin:28px 0 0;font-style:italic;text-wrap:balance}
.world-apex .ctas{display:flex;gap:14px;margin-top:34px;flex-wrap:wrap}
.world-apex .btn{font-family:"Inter",sans-serif;font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;text-decoration:none;
     padding:14px 22px;border-radius:11px;transition:transform .2s ease,border-color .2s ease,background .2s ease}
.world-apex .btn.primary{color:var(--obsidian);background:var(--bronze)}
.world-apex .btn.primary:hover{transform:translateY(-2px)}
.world-apex .btn.ghost{color:var(--shell);border:1px solid var(--line)}
.world-apex .btn.ghost:hover{border-color:var(--bronze);transform:translateY(-2px)}

.world-apex .portrait{position:relative;aspect-ratio:4/5;border-radius:16px;border:1px solid var(--line);
  background:radial-gradient(120% 90% at 50% 0%, #211E17 0%, #16140F 60%, #100F0B 100%);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;overflow:hidden}
.world-apex .portrait::after{content:"";position:absolute;inset:0;border-radius:16px;border:1px solid rgba(176,128,48,.22);pointer-events:none}
.world-apex .portrait img{width:100%;height:100%;object-fit:cover;object-position:center 20%;display:block}

.world-apex .combo{display:flex;flex-wrap:wrap;gap:10px 26px;justify-content:center;padding:8px 40px 46px;
  font-family:"Inter",sans-serif;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.world-apex .combo .dot{color:var(--bronze)}

.world-apex .paths{display:flex;flex-wrap:wrap;gap:14px;padding:6px 40px 30px}
.world-apex .path{flex:1 1 0;min-width:230px;text-decoration:none;border:1px solid var(--line);border-radius:13px;padding:24px 22px;background:var(--panel);
  transition:border-color .2s ease,transform .2s ease}
.world-apex .path:hover{border-color:var(--bronze);transform:translateY(-2px)}
.world-apex .path .pn{font-family:"DM Serif Display",serif;font-style:italic;font-size:25px;color:var(--linen);margin:0}
.world-apex .path .pd{font-family:"Inter",sans-serif;font-size:11.5px;color:var(--shell);line-height:1.5;margin:9px 0 0}

.world-apex .foot{text-align:center;padding:54px 30px 40px;border-top:1px solid var(--line2);margin-top:24px}
.world-apex .sigil{font-size:34px;margin-top:26px}

/* ---- the TITLE ORACLE — apex hero identity line ("The Creative ⟨slot⟩") ---- */
.world-apex .oracle{display:flex;align-items:baseline;flex-wrap:wrap;gap:.34em;margin:22px 0 0;
  font-family:"DM Serif Display",serif;font-style:italic;font-size:clamp(26px,4.4vw,40px);line-height:1.12;color:var(--linen)}
.world-apex .oracle .lead{color:var(--shell)}
.world-apex .oracle .slot-window{display:inline-block;position:relative;height:1.12em;overflow:hidden;vertical-align:baseline;text-align:left}
.world-apex .oracle .slot-reel{display:flex;flex-direction:column;align-items:flex-start;will-change:transform}
.world-apex .oracle .slot-word{position:relative;height:1.12em;line-height:1.12em;white-space:nowrap;color:var(--shell)}
.world-apex .oracle .slot-word.locked{color:var(--linen)}
.world-apex .oracle .slot-word.locked.iridescent{
  background-image:var(--spectrum);background-size:300% auto;-webkit-background-clip:text;background-clip:text;
  color:transparent;-webkit-text-fill-color:transparent;animation:drift-af 20s linear infinite}
.world-apex .oracle .slot-word.locked::after{content:"";position:absolute;left:0;right:0;bottom:.1em;height:1px;background:var(--bronze);
  transform:scaleX(0);transform-origin:left center;animation:draw-underline .55s cubic-bezier(.2,.7,.2,1) .08s forwards}
.world-apex .respin{margin:18px 0 0;background:none;border:0;padding:0;cursor:pointer;
  font-family:"Inter",sans-serif;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--stone);transition:color .2s}
.world-apex .respin:hover{color:var(--bronze)}
@media(hover:none){.world-apex .respin{display:none}}
@keyframes draw-underline{to{transform:scaleX(1)}}

@media(max-width:780px){
  .world-apex .nav,.world-apex .hero,.world-apex .paths,.world-apex .combo{padding-left:22px;padding-right:22px}
  .world-apex .hero{grid-template-columns:1fr;gap:34px;padding-top:60px;text-align:center}
  .world-apex .portrait{max-width:340px;margin:0 auto;width:100%}
  .world-apex .oracle{flex-direction:column;align-items:center;justify-content:center}
  .world-apex .oracle .slot-reel{align-items:center}
  .world-apex .ctas{justify-content:center}
}
@media (prefers-reduced-motion:reduce){.world-apex .name,.world-apex .sigil,.world-apex .oracle .slot-word.locked.iridescent{animation:none}}

/* =============================================================================
   PULSE — body.pulse-stream (pulse.leematulis.com, the inverted-funnel firehose)
   The personal posting surface. Hero = the ECG "Pulse-line" (real posting
   heartbeat: spike = beats that day, flat stretch = a missed-day scar). Two gem
   ladders (streak + volume) read out beneath it. Then the reverse-chron feed.
   Rendered server-side by deploy/pulse/build.py from posts.json. Page links THIS
   kit and inlines nothing (§31).
   ============================================================================= */
.pulse-stream .eyebrow{margin:0 0 18px}
.pulse-stream .phero{text-align:center;padding:72px 30px 30px}
.pulse-stream .ptitle{font-family:"DM Serif Display",serif;font-style:italic;font-weight:400;font-size:clamp(40px,10vw,96px);line-height:.98;margin:0;
  background-image:var(--spectrum);background-size:300% auto;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:drift-af 20s linear infinite}
.pulse-stream .psub{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:20px;color:var(--shell);line-height:1.55;max-width:44ch;margin:20px auto 0;text-wrap:balance}

/* ---- the ECG Pulse-line (the hero visual) -------------------------------- */
.pulse-stream .pline-wrap{margin:40px auto 6px;max-width:1000px;text-align:center;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;
  mask-image:linear-gradient(90deg,transparent 0,#000 4%,#000 96%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 4%,#000 96%,transparent 100%)}
.pulse-stream .pline{display:inline-block;vertical-align:middle;height:184px;width:auto}
.pulse-stream .pbase{stroke:var(--line);stroke-width:1;stroke-dasharray:2 5}
.pulse-stream .ptrace{fill:none;stroke:url(#pgrad);stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round}
.pulse-stream .plive{fill:var(--linen);stroke:var(--bronze);stroke-width:1.5;transform-box:fill-box;transform-origin:center;animation:pbeat 2.4s ease-in-out infinite}
.pulse-stream .pday{fill:transparent}
.pulse-stream .pday:hover ~ .plive,.pulse-stream .pday:hover{opacity:1}
.pulse-stream .pday:hover{fill:rgba(245,240,232,.04)}
@keyframes pbeat{0%,100%{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.5)}}

/* ---- the two gem ladders ------------------------------------------------- */
.pulse-stream .gems{display:flex;align-items:stretch;justify-content:center;gap:0;margin:22px auto 0;max-width:460px;
  border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow:hidden}
.pulse-stream .gem-rung{flex:1;padding:18px 20px;text-align:center}
.pulse-stream .gem-div{width:1px;background:var(--line)}
.pulse-stream .g-top{display:flex;align-items:baseline;justify-content:center;gap:6px}
.pulse-stream .g-val{font-family:"DM Serif Display",serif;font-style:italic;font-size:38px;line-height:1;color:var(--linen)}
.pulse-stream .g-unit{font-family:"Inter",sans-serif;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.pulse-stream .g-label{font-family:"Inter",sans-serif;font-size:10px;letter-spacing:.26em;text-transform:uppercase;color:var(--bronze);margin-top:7px}
.pulse-stream .g-foot{font-family:"Inter",sans-serif;font-size:9.5px;letter-spacing:.08em;color:var(--stone);margin-top:9px;display:flex;gap:10px;justify-content:center}
.pulse-stream .g-cut{color:var(--shell)}
.pulse-stream .g-next{color:var(--stone)}
.pulse-stream .g-max{color:var(--bronze)}

/* ---- the firehose feed --------------------------------------------------- */
.pulse-stream .feed{max-width:640px;margin:54px auto 0;padding:0 26px}
.pulse-stream .pday-group{margin:0 0 14px;scroll-margin-top:30px;border-radius:12px;transition:background .5s ease}
.pulse-stream .pday-flash{background:rgba(176,128,48,.08)}
.pulse-stream .pday-rule{display:flex;align-items:center;gap:14px;margin:30px 0 14px}
.pulse-stream .pday-date{font-family:"Inter",sans-serif;font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--bronze);white-space:nowrap}
.pulse-stream .pday-n{font-family:"Inter",sans-serif;font-size:9.5px;letter-spacing:.06em;color:var(--stone);white-space:nowrap}
.pulse-stream .pday-rule::after{content:"";height:1px;flex:1;background:var(--line)}
.pulse-stream .beat{border:1px solid var(--line);border-radius:13px;background:var(--panel);padding:18px 20px;margin:0 0 10px}
.pulse-stream .beat-meta{display:flex;align-items:center;gap:12px;margin:0 0 9px}
.pulse-stream .beat-time{font-family:"Inter",sans-serif;font-size:10px;letter-spacing:.12em;color:var(--stone)}
.pulse-stream .beat-no{font-family:"Inter",sans-serif;font-size:13px;font-weight:700;letter-spacing:.04em;color:var(--bronze)}
.pulse-stream .pamp{font-family:"Inter",sans-serif;font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--bronze);border:1px solid var(--line);border-radius:999px;padding:3px 9px}
.pulse-stream .beat-body{font-family:"Cormorant Garamond",serif;font-size:19px;line-height:1.6;color:var(--linen);text-wrap:pretty}
.pulse-stream .ptags{margin-top:11px;display:flex;flex-wrap:wrap;gap:8px}
.pulse-stream .ptag{font-family:"Inter",sans-serif;font-size:10px;letter-spacing:.04em;color:var(--muted)}

/* per-beat SHARE — a quiet pill at the foot of every beat; native share sheet on
   mobile, clipboard copy on desktop. Bottom row so it never fights the centered
   big-bang / notes metas. The flash is the deep-link arrival glow (/#b-<id>). */
.pulse-stream .beat-share-row{display:flex;justify-content:flex-end;margin-top:16px}
.pulse-stream .beat-share{display:inline-flex;align-items:center;gap:7px;background:transparent;
  border:1px solid var(--line);color:var(--muted);font:500 11px/1 "Inter",sans-serif;letter-spacing:.06em;
  padding:7px 13px;border-radius:999px;cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:border-color .2s,color .2s,background .2s}
.pulse-stream .beat-share svg{width:13px;height:13px;display:block}
.pulse-stream .beat-share:hover{border-color:var(--bronze);color:var(--shell)}
.pulse-stream .beat-share:focus-visible{outline:1px solid var(--bronze);outline-offset:2px}
.pulse-stream .beat-share.copied{border-color:var(--bronze);color:var(--bronze);background:rgba(176,128,48,.10)}
.pulse-stream .beat-flash{animation:beatflash 1.7s ease}
@keyframes beatflash{0%,100%{box-shadow:none}28%{box-shadow:0 0 0 2px var(--bronze),0 0 26px rgba(176,128,48,.30)}}

/* GO-WILD: a beat can break the uniform card. body.bigbang = the void treatment —
   the litany recedes (dim, staggered), the last line ignites iridescent + blooms,
   sealed by a tiny heartbeat blip (the surface's identity inside the post). */
.pulse-stream .beat.bigbang{text-align:center;border-color:var(--line2);overflow:hidden;padding:46px 26px 40px;
  background:radial-gradient(120% 78% at 50% 62%, rgba(106,46,168,.12), rgba(20,19,16,0) 60%), var(--panel)}
.pulse-stream .beat.bigbang .beat-meta{justify-content:center}
.pulse-stream .bb-void{display:flex;flex-direction:column;gap:1px;margin:10px 0 0}
.pulse-stream .bb-void p{margin:0;font-family:"Cormorant Garamond",serif;font-size:16px;line-height:1.74;color:var(--stone);
  opacity:0;animation:bb-rise .6s ease forwards}
.pulse-stream .bb-singularity{position:relative;margin:32px 0 4px;font-family:"DM Serif Display",serif;font-style:italic;
  font-size:clamp(28px,5.6vw,46px);line-height:1.1;
  background-image:var(--spectrum);background-size:300% auto;-webkit-background-clip:text;background-clip:text;
  color:transparent;-webkit-text-fill-color:transparent;animation:drift-af 20s linear infinite,bb-ignite 1.1s ease .95s both}
.pulse-stream .bb-singularity::before{content:"";position:absolute;left:50%;top:50%;width:320px;height:320px;z-index:-1;pointer-events:none;
  transform:translate(-50%,-50%) scale(.2);border-radius:50%;
  background:radial-gradient(circle,rgba(232,168,30,.22),rgba(106,46,168,.10) 42%,transparent 70%);
  opacity:0;animation:bb-bloom 1.7s ease .95s both}
.pulse-stream .bb-seal{display:block;margin:14px auto 0;width:140px;height:36px;opacity:0;animation:bb-fade .8s ease 1.5s forwards}
.pulse-stream .bb-seal polyline{filter:drop-shadow(0 0 4px rgba(232,168,30,.35))}
@keyframes bb-rise{from{opacity:0;transform:translateY(7px)}to{opacity:.74;transform:none}}
@keyframes bb-ignite{0%{opacity:0;transform:scale(.93);filter:blur(3px)}60%{opacity:1}100%{opacity:1;transform:none;filter:none}}
@keyframes bb-bloom{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}45%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) scale(1.45)}}
@keyframes bb-fade{to{opacity:.9}}
@media (prefers-reduced-motion:reduce){
  .pulse-stream .bb-void p{opacity:.74;animation:none}
  .pulse-stream .bb-singularity{animation:drift-af 20s linear infinite}
  .pulse-stream .bb-singularity::before{display:none}
  .pulse-stream .bb-seal{opacity:.9;animation:none}
}

/* NOTES beat — .beat.notes: an iPhone Notes screenshot dropped into the stream;
   the note "title" types itself out on arrival (full text reserved as transparent
   from frame one, so the white card never reflows). White paper floats on the
   warm-black feed; chrome is Inter (the kit's chrome face), card text is the
   system/SF face (true-to-iOS). Teal #9FE1CB is the one "live" pop (added-word
   token + BodySatva hover); gold #E0A82E is the iOS nav/caret tint. */
.pulse-stream .beat.notes{border:0;background:none;padding:6px 0 2px;overflow:visible}
.pulse-stream .beat.notes .beat-meta{justify-content:center;margin-bottom:14px}
.pulse-stream .note-shot{width:360px;max-width:100%;margin:0 auto;background:#FFFFFF;border-radius:22px;overflow:hidden;
  box-shadow:0 1px 0 rgba(245,240,232,.05),0 24px 60px -28px rgba(0,0,0,.85),0 8px 22px -16px rgba(0,0,0,.7)}
.pulse-stream .ios-nav{display:flex;align-items:center;height:44px;padding:0 11px 0 8px}
.pulse-stream .ios-nav .back{display:flex;align-items:center;gap:1px;color:#E0A82E;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",system-ui,sans-serif;font-size:16.5px;letter-spacing:-.01em}
.pulse-stream .ios-nav .back svg{width:12px;height:20px}
.pulse-stream .ios-nav .nav-actions{margin-left:auto;display:flex;align-items:center;gap:17px;color:#E0A82E}
.pulse-stream .ios-nav .nav-actions svg{display:block}
.pulse-stream .note-body{padding:4px 21px 30px}
.pulse-stream .note-date{text-align:center;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",system-ui,sans-serif;
  font-size:11px;letter-spacing:.01em;color:#8A8A8E;margin:0 0 16px}
.pulse-stream .note-title{margin:0;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",system-ui,sans-serif;
  font-weight:700;font-size:23px;line-height:1.26;letter-spacing:-.015em;color:#1C1C1E;word-break:normal;overflow-wrap:break-word}
.pulse-stream .nt-rest{color:transparent}
.pulse-stream .nt-caret{display:inline-block;width:2px;height:1.05em;background:#E0A82E;vertical-align:-.18em;margin-left:.5px;
  border-radius:1px;animation:nt-caret-blink 1.06s steps(1,end) infinite}
@keyframes nt-caret-blink{0%,49%{opacity:1}50%,100%{opacity:0}}
.pulse-stream .beat-foot{display:flex;align-items:flex-start;gap:16px;padding:18px 4px 0;max-width:360px;margin:0 auto}
.pulse-stream .born{flex:1 1 auto;min-width:0}
.pulse-stream .born-toggle{appearance:none;-webkit-appearance:none;background:none;border:0;padding:6px 0;margin:0;cursor:pointer;
  display:inline-flex;align-items:center;gap:8px;font-family:"Inter",sans-serif;font-size:10px;letter-spacing:.18em;
  text-transform:uppercase;color:var(--stone);transition:color .2s ease}
.pulse-stream .born-toggle:hover{color:var(--shell)}
.pulse-stream .born-toggle .chev{width:9px;height:9px;border-right:1.4px solid currentColor;border-bottom:1.4px solid currentColor;
  transform:rotate(-45deg);transition:transform .28s cubic-bezier(.4,0,.2,1);margin-top:-2px}
.pulse-stream .born[data-open="true"] .born-toggle .chev{transform:rotate(45deg);margin-top:-4px}
.pulse-stream .born-toggle:focus-visible{outline:1px solid #9FE1CB;outline-offset:3px;border-radius:2px}
.pulse-stream .born-reveal{display:grid;grid-template-rows:0fr;transition:grid-template-rows .36s cubic-bezier(.4,0,.2,1)}
.pulse-stream .born[data-open="true"] .born-reveal{grid-template-rows:1fr}
.pulse-stream .born-reveal>.born-inner{overflow:hidden;min-height:0}
.pulse-stream .born-seed{margin:10px 0 0;padding:13px 15px 14px;border-left:1px solid var(--line);background:var(--line2);
  border-radius:0 8px 8px 0;font-family:"Cormorant Garamond",serif;font-style:italic;font-size:16.5px;line-height:1.5;
  color:var(--shell);text-wrap:pretty;opacity:0;transform:translateY(-4px);transition:opacity .26s ease .08s,transform .26s ease .08s}
.pulse-stream .born[data-open="true"] .born-seed{opacity:1;transform:none}
.pulse-stream .born-seed .word-added{color:#9FE1CB;font-style:normal;font-family:"Inter",sans-serif;font-size:12.5px}
.pulse-stream .bodysatva{flex:0 0 auto;align-self:flex-start;margin-top:6px;font-family:"Inter",sans-serif;font-size:10px;
  letter-spacing:.16em;text-transform:uppercase;text-decoration:none;color:var(--stone);white-space:nowrap;transition:color .2s ease}
.pulse-stream .bodysatva .arr{display:inline-block;transition:transform .2s ease}
.pulse-stream .bodysatva:hover{color:#9FE1CB}
.pulse-stream .bodysatva:hover .arr{transform:translate(2px,-2px)}
.pulse-stream .bodysatva:focus-visible{outline:1px solid #9FE1CB;outline-offset:3px;border-radius:2px}
@media(max-width:440px){.pulse-stream .beat.notes .note-title{font-size:21px}}
@media (prefers-reduced-motion:reduce){.pulse-stream .nt-caret{animation:none}}

/* ---- empty state (the flatline before beat one) -------------------------- */
.pulse-stream .pempty{text-align:center;padding:30px 20px 10px}
.pulse-stream .pempty-line{font-family:"DM Serif Display",serif;font-style:italic;font-size:26px;color:var(--shell);margin:0}
.pulse-stream .pempty-sub{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:17px;color:var(--muted);margin:10px 0 0}

.pulse-stream .foot{text-align:center;padding:60px 30px 40px;border-top:1px solid var(--line2);margin-top:60px}
.pulse-stream .sigil{font-size:32px;margin-top:26px}

@media(max-width:560px){
  .pulse-stream .phero{padding-left:18px;padding-right:18px}
  .pulse-stream .feed{padding-left:18px;padding-right:18px}
  .pulse-stream .beat-body{font-size:18px}
  .pulse-stream .gems{max-width:100%}
  .pulse-stream .gem-rung{padding:16px 12px}
  .pulse-stream .g-val{font-size:32px}
  .pulse-stream .g-foot{flex-direction:column;gap:3px}
}
@media (prefers-reduced-motion:reduce){.pulse-stream .ptitle,.pulse-stream .plive,.pulse-stream .sigil{animation:none}}

/* ───────────────────────────────────────────────────────────────────────────
   PULSE · TRACK PLAYER — "a beat you can hear."
   The scrubber IS a mini ECG: the played stretch lights up in the living
   spectrum (the same #pgrad the hero pulse-line uses), a bronze playhead rides
   the crest, the disc breathes while it plays. Scoped to body.pulse-stream —
   ZERO effect on world/apex. Markup: pulse/build.py render_track(); data lives
   in posts.json as {class:"track", src, title, label}.
   ─────────────────────────────────────────────────────────────────────────── */
.pulse-stream .beat.track{padding:22px 22px 20px}
.pulse-stream .track-label{font-family:"Inter",sans-serif;font-size:10px;letter-spacing:.26em;text-transform:uppercase;color:var(--bronze);margin:0}
.pulse-stream .track-title{font-family:"DM Serif Display",serif;font-style:italic;font-weight:400;font-size:clamp(26px,6vw,34px);line-height:1.05;color:var(--linen);margin:6px 0 0}
.pulse-stream .track-player{display:flex;align-items:center;gap:16px;margin:18px 0 2px}

/* the disc */
.pulse-stream .track-play{position:relative;flex:0 0 auto;width:54px;height:54px;border-radius:50%;
  background:var(--obsidian);border:1px solid var(--line);color:var(--linen);cursor:pointer;
  display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent;
  transition:border-color .25s,transform .2s,box-shadow .35s}
.pulse-stream .track-play:hover{border-color:var(--bronze);transform:scale(1.05)}
.pulse-stream .track-play:focus-visible{outline:1px solid var(--bronze);outline-offset:3px}
.pulse-stream .track-play svg{width:17px;height:17px;display:block;margin-left:1px}
.pulse-stream .track-play .i-pause{display:none;margin-left:0}
.pulse-stream .beat.track.is-playing .track-play .i-play{display:none}
.pulse-stream .beat.track.is-playing .track-play .i-pause{display:block}
.pulse-stream .beat.track.is-playing .track-play{border-color:var(--bronze);animation:track-disc 2.4s ease-in-out infinite}
@keyframes track-disc{0%,100%{box-shadow:0 0 0 0 rgba(176,128,48,0)}50%{box-shadow:0 0 0 7px rgba(176,128,48,.11)}}

/* the scrub — a mini pulse-line you can seek */
.pulse-stream .track-scrub{position:relative;flex:1 1 auto;height:44px;cursor:pointer;touch-action:none}
.pulse-stream .track-scrub:focus-visible{outline:1px solid var(--bronze);outline-offset:4px;border-radius:6px}
.pulse-stream .ts-svg{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible}
.pulse-stream .ts-base{fill:none;stroke:var(--line);stroke-width:1.4;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.pulse-stream .ts-fill{fill:none;stroke:url(#pgrad);stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 3px rgba(232,168,30,.30))}
.pulse-stream .ts-head{position:absolute;top:50%;left:0;width:9px;height:9px;border-radius:50%;
  background:var(--linen);border:1.5px solid var(--bronze);transform:translate(-50%,-50%);
  box-shadow:0 0 7px rgba(232,168,30,.55);pointer-events:none;transform-box:fill-box}
.pulse-stream .beat.track.is-playing .ts-head{animation:pbeat 2.4s ease-in-out infinite}

/* time readout */
.pulse-stream .track-time{flex:0 0 auto;font-family:"Inter",sans-serif;font-size:10px;letter-spacing:.06em;
  color:var(--stone);font-variant-numeric:tabular-nums;white-space:nowrap;min-width:78px;text-align:right}

@media(max-width:560px){
  .pulse-stream .track-player{gap:12px}
  .pulse-stream .track-play{width:48px;height:48px}
  .pulse-stream .track-time{min-width:0;font-size:9.5px}
}
@media (prefers-reduced-motion:reduce){
  .pulse-stream .beat.track.is-playing .track-play,
  .pulse-stream .beat.track.is-playing .ts-head{animation:none}
}

/* track — liner-note LYRICS (full text, scrollable, upper-right quarter) + REPEAT toggle (per Lee) */
.pulse-stream .track-head{display:flex;gap:24px;align-items:flex-start;justify-content:space-between}
.pulse-stream .track-id{flex:1 1 auto;min-width:0}
.pulse-stream .track-lyrics{flex:0 1 44%;max-width:44%;max-height:118px;overflow-y:auto;margin-top:3px;
  padding-left:16px;border-left:1px solid var(--line);scrollbar-width:none;
  -webkit-mask-image:linear-gradient(180deg,#000 80%,transparent);mask-image:linear-gradient(180deg,#000 80%,transparent)}
.pulse-stream .track-lyrics::-webkit-scrollbar{display:none}
.pulse-stream .track-lyrics p{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:13px;line-height:1.5;color:var(--muted);margin:0;text-wrap:pretty;overflow-wrap:anywhere}
.pulse-stream .track-lyrics p.sp{height:.5em}

/* track COVER — handwritten card / album art as the hero; the image carries the
   title, so the label rides above as an overline and the serif title goes sr-only */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pulse-stream .track-over{margin:0 0 12px}
.pulse-stream .track-cover{margin:0 0 20px;border-radius:12px;overflow:hidden;border:1px solid var(--line);
  background:var(--panel);box-shadow:0 10px 30px rgba(0,0,0,.28)}
.pulse-stream .track-cover img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center}
/* track NOTE — the liner-note "comment": the story/concept of the track, in prose */
.pulse-stream .track-note{margin:18px 0 0;font-family:"Cormorant Garamond",serif;font-style:italic;
  font-size:17px;line-height:1.6;color:var(--muted);text-wrap:pretty;
  padding-top:15px;border-top:1px solid var(--line)}

/* play count — public listen tally. Shares the tags' metadata row: tags left,
   listens right. The count is a mini spectrum ECG tick (echoes the scrubber) +
   number; static, so it never competes with the breathing disc/playhead. */
.pulse-stream .track-foot{display:flex;align-items:center;gap:14px;margin-top:11px}
.pulse-stream .track-foot .ptags{margin-top:0}
.pulse-stream .track-plays{display:inline-flex;align-items:center;gap:8px;margin:0 0 0 auto;flex:0 0 auto}
.pulse-stream .track-plays .tp-ecg{width:30px;height:12px;display:block;filter:drop-shadow(0 0 3px rgba(232,168,30,.30))}
.pulse-stream .track-plays .tp-n{font-family:"Inter",sans-serif;font-size:12px;font-weight:600;color:var(--linen);font-variant-numeric:tabular-nums}
.pulse-stream .track-plays .tp-w{font-family:"Inter",sans-serif;font-size:9.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--stone)}
.pulse-stream .track-plays[hidden]{display:none}
/* on a track, Share anchors the left (listens already anchors the right above) */
.pulse-stream .beat.track .beat-share-row{justify-content:flex-start}

/* repeat toggle — right end of the transport */
.pulse-stream .track-repeat{flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:transparent;
  border:1px solid var(--line);color:var(--muted);cursor:pointer;display:flex;align-items:center;justify-content:center;
  -webkit-tap-highlight-color:transparent;transition:border-color .2s,color .2s,background .2s}
.pulse-stream .track-repeat svg{width:15px;height:15px;display:block}
.pulse-stream .track-repeat:hover{border-color:var(--bronze);color:var(--shell)}
.pulse-stream .track-repeat:focus-visible{outline:1px solid var(--bronze);outline-offset:2px}
.pulse-stream .track-repeat.on{border-color:var(--bronze);color:var(--bronze);background:rgba(176,128,48,.10)}

@media(max-width:560px){
  .pulse-stream .track-head{flex-direction:column;gap:12px}
  .pulse-stream .track-lyrics{flex:none;max-width:100%;width:100%;border-left:0;padding-left:0;
    border-top:1px solid var(--line);padding-top:10px;max-height:96px}
  .pulse-stream .track-repeat{width:32px;height:32px}
}
/* transport shrink-safety: let the scrubber collapse so disc+time+repeat never overflow narrow screens */
.pulse-stream .track-scrub{min-width:0}
