/* ============================================================================
   SPEAK OUUUT (speak.ouuut.com) · 设计令牌 (Wireframe Studio Edition / 和色六景)
   1:1 同源于 ouuut.com (ouuut-v2/src/tokens.css) 与 find.ouuut.com
   Paper Light (#F5F3ED) / Charcoal Dark (#0E0E0C) · ZERO CARDS 透格哲学
   ============================================================================ */

@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/Vollkorn-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Vollkorn';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/Vollkorn-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/InstrumentSerif-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/InstrumentSerif-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/Geist-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/Geist-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/Geist-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/JetBrainsMono-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/JetBrainsMono-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/JetBrainsMono-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/NotoSerifSC-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/NotoSerifJP-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/NotoSansSC-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/NotoSansJP-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/Outfit-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Serif Fallback';
  src: local('Georgia'), local('Times New Roman'), local('Times');
  size-adjust: 72%;
}

:root,
html[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F3ED;
  --card: #FBFAF5;
  --bar: rgba(245, 243, 237, 0.90);
  --ink: #1A1A16;
  --muted: #5B5A53;
  --surface: rgba(26, 26, 22, 0.045);
  --surface-2: rgba(26, 26, 22, 0.08);
  --wire: rgba(26, 26, 22, 0.16);
  --wire-soft: rgba(26, 26, 22, 0.08);
  --wire-strong: rgba(26, 26, 22, 0.34);

  --c1: #0C8B7A; /* 青磁 Seiji */
  --c2: #A77109; /* 山吹 Yamabuki */
  --c3: #CD5545; /* 朱 Shu · 小Q */
  --c4: #3F7DCA; /* 藍 Ai · 老蔡 */
  --c5: #678618; /* 苔 Koke */
  --c6: #A165AE; /* 紫 Murasaki */

  --c1-ink: #07685B;
  --c2-ink: #7E5404;
  --c3-ink: #A53A2C;
  --c4-ink: #275DA3;
  --c5-ink: #4A610E;
  --c6-ink: #7D468A;

  --c1-raw: var(--c1);
  --c2-raw: var(--c2);
  --c3-raw: var(--c3);
  --c4-raw: var(--c4);
  --c5-raw: var(--c5);
  --c6-raw: var(--c6);

  --accent-ink-mix: 85%;
  --accent-ink-target: #14140F;
  --accent-soft-mix: 7%;
  --accent-base: var(--c3);
  --accent: var(--accent-base);
  --accent-ink: #A53A2C;
  --accent-soft: color-mix(in srgb, var(--accent-base) var(--accent-soft-mix), transparent);

  --font-serif: 'Instrument Serif', 'Serif Fallback', 'Noto Serif TC', 'Noto Serif SC', 'Noto Serif JP', 'Source Han Serif TC', 'Source Han Serif SC', Georgia, serif;
  --font-sans: 'Geist', 'Noto Sans TC', 'Noto Sans SC', 'Noto Sans JP', -apple-system, 'Microsoft JhengHei', 'PingFang TC', sans-serif;
  --font-mono: 'JetBrains Mono', 'Noto Sans TC', 'Noto Sans SC', ui-monospace, monospace;
  --font-wordmark: 'Outfit', sans-serif;

  --pad: clamp(20px, 4.5vw, 64px);
  --nav-h: 72px;
  --dock-h: 78px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E0E0C;
  --card: #151512;
  --bar: rgba(14, 14, 12, 0.90);
  --ink: #EDEBE4;
  --muted: #A3A199;
  --surface: rgba(237, 235, 228, 0.055);
  --surface-2: rgba(237, 235, 228, 0.10);
  --wire: rgba(237, 235, 228, 0.22);
  --wire-soft: rgba(237, 235, 228, 0.09);
  --wire-strong: rgba(237, 235, 228, 0.40);

  --c1-ink: #47C9B4;
  --c2-ink: #DBA335;
  --c3-ink: #EA8776;
  --c4-ink: #77ACEB;
  --c5-ink: #9EC04E;
  --c6-ink: #C690D1;

  --c1-raw: #3FBFA9;
  --c2-raw: #D29A2E;
  --c3-raw: #E07A68;
  --c4-raw: #6FA3E0;
  --c5-raw: #93B34A;
  --c6-raw: #C08FC9;

  --accent-ink-mix: 86%;
  --accent-ink-target: #FFFDF5;
  --accent-soft-mix: 14%;
  --accent-ink: #EA8776;
}

html[data-accent="c1"], [data-accent="1"] { --accent: var(--c1-raw); --accent-ink: var(--c1-ink); --accent-soft: color-mix(in srgb, var(--c1-raw) var(--accent-soft-mix), transparent); }
html[data-accent="c2"], [data-accent="2"] { --accent: var(--c2-raw); --accent-ink: var(--c2-ink); --accent-soft: color-mix(in srgb, var(--c2-raw) var(--accent-soft-mix), transparent); }
html[data-accent="c3"], [data-accent="3"] { --accent: var(--c3-raw); --accent-ink: var(--c3-ink); --accent-soft: color-mix(in srgb, var(--c3-raw) var(--accent-soft-mix), transparent); }
html[data-accent="c4"], [data-accent="4"] { --accent: var(--c4-raw); --accent-ink: var(--c4-ink); --accent-soft: color-mix(in srgb, var(--c4-raw) var(--accent-soft-mix), transparent); }
html[data-accent="c5"], [data-accent="5"] { --accent: var(--c5-raw); --accent-ink: var(--c5-ink); --accent-soft: color-mix(in srgb, var(--c5-raw) var(--accent-soft-mix), transparent); }
html[data-accent="c6"], [data-accent="6"] { --accent: var(--c6-raw); --accent-ink: var(--c6-ink); --accent-soft: color-mix(in srgb, var(--c6-raw) var(--accent-soft-mix), transparent); }

/* ============================================================================
   SPEAK OUUUT (speak.ouuut.com) · 实时线框工坊与双人播客剧院样式表
   1:1 家族视觉同源：ouuut.com (ouuut-v2) × find.ouuut.com (gunjo-site)
   ============================================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: calc(var(--dock-h) + 16px);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .2s ease, color .2s ease;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Custom Vernier Ruler Scrollbar (shared with find.ouuut.com) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track {
  background-color: var(--bg);
  background-image: repeating-linear-gradient(
    to bottom,
    var(--wire) 0,
    var(--wire) 1px,
    transparent 1px,
    transparent 12px
  );
}
::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--ink) 28%, transparent);
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}
.skip-link {
  position: fixed; left: -9999px; top: 12px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: var(--bg);
  font-family: var(--font-mono); font-size: 12px;
}
.skip-link:focus { left: 12px; outline: 2px solid var(--c4-raw); outline-offset: 2px; }
:focus-visible { outline: 2px solid var(--c4-raw); outline-offset: 2px; }

/* Tight CJK-Latin 0.10em spacing */
.lat-gap { display: inline-block; margin: 0 0.10em; }

/* ============================================================================
   1. Wireframe X-Ray All-Elements Mode (1:1 from ouuut.com styles.css:184-198)
   ============================================================================ */
html[data-wire="all"] [data-inspect] {
  outline: 1px dashed var(--wire) !important;
  outline-offset: 2px;
}
html[data-wire="all"] [data-wire-kind="crosshair"] {
  outline: 1px dashed var(--wire-soft) !important;
  outline-offset: 4px;
}
html[data-wire="all"] section,
html[data-wire="all"] .wire-grid-surface {
  background-image:
    linear-gradient(to right, var(--wire-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--wire-soft) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Ambient architectural datum lines */
.ambient-rails {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .25s ease;
}
html[data-wire="all"] .ambient-rails { opacity: 1; }
.amb-v {
  position: absolute; top: 0; bottom: 0; width: 0;
  border-left: 1px dashed color-mix(in srgb, var(--wire) 55%, transparent);
}
.amb-v.is-red {
  border-left-color: color-mix(in srgb, var(--c3-raw) 24%, transparent);
}

.wrap {
  position: relative;
  z-index: 2;
  max-width: 1340px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* CAD Corner Brackets */
.cad-box { position: relative; }
.cad-c {
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--cad-c, var(--c3-raw));
  border-style: solid;
  pointer-events: none;
  z-index: 4;
}
.cad-c.tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.cad-c.tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.cad-c.bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.cad-c.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

/* ============================================================================
   2. Header & Navigation (1:1 sibling match with ouuut.com & find.ouuut.com)
   ============================================================================ */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wire);
  transition: background-color .2s ease, border-color .2s ease;
}
.nav {
  position: relative;
  height: var(--nav-h);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

/* Official Sylfaen lockup-speak.svg coloring */
.wm-lockup { display: block; height: 21px; width: auto; flex-shrink: 0; }
.wm-lockup path { transition: fill .2s ease, stroke .2s ease; }
.wm-lockup .g-pre,
.wm-lockup .g-dot1,
.wm-lockup .g-c,
.wm-lockup .g-o,
.wm-lockup .g-m { fill: var(--ink); stroke: var(--ink); }
.wm-lockup .g-mark { fill: var(--c1-raw); stroke: var(--c1-raw); }
.wm-lockup .g-u1 { fill: var(--c2-raw); stroke: var(--c2-raw); }
.wm-lockup .g-u2 { fill: var(--c3-raw); stroke: var(--c3-raw); }
.wm-lockup .g-u3 { fill: var(--c4-raw); stroke: var(--c4-raw); }
.wm-lockup .g-t4 { fill: var(--c5-raw); stroke: var(--c5-raw); }
.wm-lockup .g-dot { fill: var(--c6-raw); stroke: var(--c6-raw); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  color: var(--ink);
  transition: opacity .2s ease;
}
.brand:hover { opacity: .84; }
.brand-sep {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.brand-sub {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-live-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  padding: 2px 7px;
  border: 1px dashed color-mix(in srgb, var(--c3-raw) 65%, transparent);
  color: var(--c3-ink);
  background: color-mix(in srgb, var(--c3-raw) 9%, transparent);
  white-space: nowrap;
}
@media (max-width: 1540px) {
  .brand-live-pill { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links a {
  padding: 8px 4px;
  white-space: nowrap;
  transition: color .18s ease;
  position: relative;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 2px;
  height: 2px;
  background: var(--accent);
}
.nav-links a.nav-ext {
  color: var(--c6-ink);
  border-bottom: 1px dashed color-mix(in srgb, var(--c6-raw) 55%, transparent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-btn {
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--wire);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease;
}
.search-btn:hover { color: var(--ink); border-color: var(--ink); }
.search-btn kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 1px 5px;
  border: 1px solid var(--wire);
  background: var(--bg);
}

.waiiro-bar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  height: 34px;
  border: 1px solid var(--wire);
}
.waiiro-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--dot-c, var(--c3-raw));
  cursor: pointer;
  opacity: 0.62;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.waiiro-dot:hover,
.waiiro-dot[aria-pressed="true"] {
  opacity: 1;
  transform: scale(1.22);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--dot-c, var(--c3-raw));
}

.wire-btn {
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--wire);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.wire-btn:hover { color: var(--ink); border-color: var(--ink); }
html[data-wire="all"] .wire-btn {
  background: color-mix(in srgb, var(--c1-raw) 12%, transparent);
  color: var(--ink);
  border-color: color-mix(in srgb, var(--c1-raw) 60%, transparent);
}

/* 44px Borderless Pure-Icon Theme Toggle (Mandatory sai-web contract) */
.theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--ink); }
.theme-icon { width: 16px; height: 16px; }
html[data-theme="dark"] .icon-sun { display: none; }
html:not([data-theme="dark"]) .icon-moon { display: none; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform .22s ease;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 28px) var(--pad) 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-nav-links { display: grid; gap: 18px; }
.mobile-nav-links a {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(28px, 7vw, 42px);
  line-height: 1.18;
}

/* ============================================================================
   3. Hero Section · Live Dual-Host Broadcast Theatre
   ============================================================================ */
.hero-sec {
  padding: clamp(32px, 5.5vh, 64px) 0 clamp(36px, 6vh, 72px);
  border-bottom: 1px solid var(--wire);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 3.6vw, 48px);
  align-items: start;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px;
  background: var(--surface);
  border: 1px dashed var(--wire);
}
.eyebrow-privilege {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--c3-ink);
  padding: 4px 10px;
  background: color-mix(in srgb, var(--c3-raw) 10%, transparent);
  border: 1px dashed color-mix(in srgb, var(--c3-raw) 58%, transparent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c3-raw);
  display: inline-block;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c3-raw) 24%, transparent);
}

.hero-h1 {
  margin: 0;
  padding: 10px 14px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero-h1 .six,
.six-text {
  background: linear-gradient(90deg, var(--c1-raw), var(--c2-raw), var(--c3-raw), var(--c4-raw), var(--c5-raw), var(--c6-raw));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-en-motto {
  display: block;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 34px);
  color: var(--muted);
  letter-spacing: -0.01em;
}

.hero-lead {
  margin: 16px 0 20px;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--muted);
  background: var(--surface);
  border-left: 3px solid var(--accent);
}
.hero-lead strong { color: var(--ink); font-weight: 600; }

/* 2x2 KPI Wireframe Ledger (Left 3px Wa-Iro Six bar per sai-web spec) */
.hero-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.kpi-box {
  padding: 10px 14px;
  background: var(--surface);
  border: 1px dashed var(--wire);
  border-left: 3px solid var(--kpi-c, var(--c1-raw));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.kpi-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.05;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.kpi-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* Dual Host Studio Cards (小Q Leda x 老蔡 Algenib) */
.hosts-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.host-studio-card {
  padding: 12px 14px;
  background: color-mix(in srgb, var(--card) 82%, transparent);
  border: 1px dashed var(--wire);
  border-top: 3px solid var(--host-c, var(--c3-raw));
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.host-studio-card.is-speaking {
  background: color-mix(in srgb, var(--host-c, var(--c3-raw)) 10%, var(--card));
  border-color: var(--host-c, var(--c3-raw));
}
.host-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.host-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
}
.host-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #FFF;
  background: var(--host-c, var(--c3-raw));
}
.host-voice-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}
.host-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--host-ink, var(--c3-ink));
  margin-top: 4px;
}
.host-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.45;
}
.host-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 15px;
}
.host-bars i {
  width: 3px;
  height: 4px;
  background: var(--host-c, var(--c3-raw));
  opacity: 0.35;
  transition: height .12s ease, opacity .12s ease;
}
.host-studio-card.is-speaking .host-bars i { opacity: 1; }
.host-studio-card.is-speaking .host-bars i:nth-child(1) { height: 8px; }
.host-studio-card.is-speaking .host-bars i:nth-child(2) { height: 14px; }
.host-studio-card.is-speaking .host-bars i:nth-child(3) { height: 11px; }
.host-studio-card.is-speaking .host-bars i:nth-child(4) { height: 15px; }
.host-studio-card.is-speaking .host-bars i:nth-child(5) { height: 7px; }

/* Architectural Double-Frame Buttons (1:1 from ouuut.com .btn-primary) */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-primary {
  position: relative;
  padding: 12px 20px;
  min-height: 44px;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 34%, transparent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .07em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color .22s ease, border-color .22s ease;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  pointer-events: none;
  transition: inset .22s ease, border-color .22s ease;
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--btn-c, var(--c3-raw)) 11%, transparent);
  border-color: var(--btn-c, var(--c3-raw));
}
.btn-primary:hover::after {
  inset: 1px;
  border-color: color-mix(in srgb, var(--btn-c, var(--c3-raw)) 48%, transparent);
}
.btn-dot {
  width: 8px;
  height: 8px;
  background: var(--btn-c, var(--c3-raw));
  display: inline-block;
  flex-shrink: 0;
}

/* ============================================================================
   4. Right Hero Column · 16:9 Live Synchronized Stage Monitor & Console
   ============================================================================ */
.monitor-shell {
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border: 1px solid var(--wire-strong);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.monitor-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--wire);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.monitor-ep-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
}
.monitor-ep-pill {
  background: var(--c3-raw);
  color: #FFF;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 700;
}
.monitor-view-tabs {
  display: inline-flex;
  border: 1px solid var(--wire);
}
.mon-tab {
  padding: 5px 10px;
  min-height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.mon-tab:hover { color: var(--ink); }
.mon-tab.is-active {
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  color: var(--ink);
  font-weight: 600;
}

/* 16:9 Interactive Stage Canvas */
.stage-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, var(--wire-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--wire-soft) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 1px dashed var(--wire-strong);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
}
.stage-viewport.pal-dark {
  background-color: #121210;
  color: #EDEBE4;
  background-image:
    linear-gradient(to right, rgba(237, 235, 228, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(237, 235, 228, 0.08) 1px, transparent 1px);
}

.stg-masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px dashed var(--wire);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  font-family: var(--font-mono);
  font-size: 10.5px;
  z-index: 2;
}
.stage-viewport.pal-dark .stg-masthead {
  background: rgba(18, 18, 16, 0.84);
  border-color: rgba(237, 235, 228, 0.28);
  color: #EDEBE4;
}
.stg-mh-left, .stg-mh-right {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.stg-chapter-txt {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.stg-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 14px;
  padding: 10px 0;
  z-index: 2;
  align-items: stretch;
}
.stg-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.stg-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--c3-ink);
  text-transform: uppercase;
}
.stage-viewport.pal-dark .stg-kicker { color: #EA8776; }
.stg-h2 {
  margin: 3px 0 4px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(16px, 1.65vw, 22px);
  line-height: 1.22;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stg-sub {
  margin: 0;
  font-size: 11.5px;
  opacity: 0.82;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stg-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}
.stg-card {
  padding: 6px 8px;
  border: 1px dashed var(--wire);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  min-width: 0;
}
.stage-viewport.pal-dark .stg-card {
  background: rgba(24, 24, 20, 0.78);
  border-color: rgba(237, 235, 228, 0.26);
}
.stg-card.is-hi {
  border-color: var(--c3-raw);
  border-left: 3px solid var(--c3-raw);
}
.stg-c-code {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--c3-ink);
}
.stage-viewport.pal-dark .stg-c-code { color: #EA8776; }
.stg-c-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stg-c-desc {
  font-size: 10.5px;
  opacity: 0.78;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stg-right {
  border: 1px dashed var(--wire);
  background: color-mix(in srgb, var(--bg) 68%, transparent);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.stage-viewport.pal-dark .stg-right {
  background: rgba(24, 24, 20, 0.72);
  border-color: rgba(237, 235, 228, 0.28);
}
.stg-plate-hdr {
  padding: 4px 8px;
  border-bottom: 1px dashed var(--wire);
  font-family: var(--font-mono);
  font-size: 9.5px;
  display: flex;
  justify-content: space-between;
  opacity: 0.82;
}
.stg-plate-img-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
  background: #F5F3ED;
}
.stg-plate-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .45s ease;
}

/* Stage Bottom Dual-Host HUD & Synchronized Subtitle Bar */
.stg-hud {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 118px;
  gap: 8px;
  align-items: stretch;
  height: 36px;
  z-index: 2;
}
.stg-host-pill {
  padding: 0 8px;
  border: 1px dashed var(--wire);
  border-top: 2.5px solid var(--hp-c, var(--c3-raw));
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0.65;
  transition: opacity .15s ease, background-color .15s ease;
}
.stage-viewport.pal-dark .stg-host-pill {
  background: rgba(18, 18, 16, 0.88);
  border-color: rgba(237, 235, 228, 0.30);
}
.stg-host-pill.is-active {
  opacity: 1;
  background: color-mix(in srgb, var(--hp-c, var(--c3-raw)) 15%, var(--bg));
}
.stg-sub-bar {
  padding: 0 12px;
  border: 1px dashed var(--wire-strong);
  border-top: 2.5px solid var(--sub-c, var(--c3-raw));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}
.stage-viewport.pal-dark .stg-sub-bar {
  background: rgba(18, 18, 16, 0.92);
  border-color: rgba(237, 235, 228, 0.35);
}
.stg-sub-spk {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  color: #FFF;
  background: var(--sub-c, var(--c3-raw));
  flex-shrink: 0;
}
.stg-sub-txt {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Alternate Monitor Views (16-Frame Contact Sheet & Dual Cover A/B) */
.stage-alt-view {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--wire-strong);
  overflow: hidden;
  position: relative;
  background: #121210;
}
.stage-alt-view img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 8-Act Scene Jump Strip */
.act-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.act-pill {
  padding: 6px 8px;
  min-height: 38px;
  border: 1px dashed var(--wire);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color .18s ease, background-color .18s ease;
}
.act-pill:hover {
  border-color: var(--ink);
}
.act-pill.is-active {
  border-style: solid;
  border-color: var(--c3-raw);
  background: color-mix(in srgb, var(--c3-raw) 10%, transparent);
}
.act-p-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}
.act-pill.is-active .act-p-top { color: var(--c3-ink); font-weight: 600; }
.act-p-name {
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* Monitor Transport & Waveform Scrubber */
.monitor-transport {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-top: 6px;
  border-top: 1px dashed var(--wire);
}
.play-main-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--c3-raw);
  background: var(--c3-raw);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.play-main-btn:hover { opacity: 0.92; transform: scale(1.03); }

.wave-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.wave-bars-wrap {
  height: 30px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  cursor: pointer;
  padding: 2px 0;
  user-select: none;
}
.w-bar {
  flex: 1;
  min-width: 2px;
  background: color-mix(in srgb, var(--ink) 24%, transparent);
  transition: background-color .12s ease;
}
.w-bar.is-played { background: var(--c3-raw); }
.wave-bars-wrap:hover .w-bar { background: color-mix(in srgb, var(--ink) 40%, transparent); }
.wave-bars-wrap:hover .w-bar.is-played { background: var(--c3-raw); }

.wave-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.transport-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.speed-btn, .tool-chip {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--wire);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.speed-btn:hover, .tool-chip:hover {
  border-color: var(--ink);
}
.tool-chip.is-find {
  border-color: color-mix(in srgb, var(--c6-raw) 55%, transparent);
  color: var(--c6-ink);
  background: color-mix(in srgb, var(--c6-raw) 9%, transparent);
}

/* ============================================================================
   5. Section Headers & Filter Controls
   ============================================================================ */
.sec-block {
  padding: clamp(28px, 4.5vh, 56px) 0;
  border-bottom: 1px solid var(--wire);
  scroll-margin-top: calc(var(--nav-h) + 4px);
}
.sec-head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 14px;
}
.sec-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sec-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  display: inline-block;
}
.section-h {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.sec-sub {
  margin: 8px 0 0;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 64ch;
}

.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px dashed var(--wire);
}
.track-pills, .view-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-pill {
  padding: 7px 13px;
  min-height: 36px;
  border: 1px solid var(--wire);
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.filter-pill:hover { color: var(--ink); border-color: var(--ink); }
.filter-pill.is-active {
  color: var(--ink);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  font-weight: 600;
}

/* ============================================================================
   6. Episode Catalog · View A (Magazine Grid) & View B (ouuut.com .dir-row)
   ============================================================================ */
.ep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ep-card {
  background: color-mix(in srgb, var(--card) 88%, transparent);
  border: 1px dashed var(--wire-strong);
  border-top: 3px solid var(--ep-c, var(--c3-raw));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .22s ease, border-color .22s ease, background-color .22s ease;
}
.ep-card:hover {
  transform: translateY(-2px);
  border-color: var(--ep-c, var(--c3-raw));
}
.ep-card.is-playing {
  border-style: solid;
  border-color: var(--c3-raw);
  background: color-mix(in srgb, var(--c3-raw) 6%, var(--card));
}

.ep-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px dashed var(--wire);
  background: #141412;
  cursor: pointer;
}
.ep-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.ep-card:hover .ep-thumb-wrap img { transform: scale(1.03); }
.ep-thumb-badges {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none;
}
.ep-code-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  background: color-mix(in srgb, var(--ep-c, var(--c3-raw)) 12%, var(--surface));
  color: var(--ep-ink, var(--c3-ink));
  border: 1px solid color-mix(in srgb, var(--ep-c, var(--c3-raw)) 55%, transparent);
  white-space: nowrap;
}
.ep-dur-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  background: rgba(14, 14, 12, 0.86);
  color: #EDEBE4;
  white-space: nowrap;
}
.ep-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 12, 0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s ease;
}
.ep-thumb-wrap:hover .ep-play-overlay,
.ep-card.is-playing .ep-play-overlay { opacity: 1; }
.ep-play-circle {
  padding: 8px 14px;
  background: var(--c3-raw);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ep-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.ep-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.ep-track-tag {
  color: var(--ep-ink, var(--c3-ink));
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.26;
}
.ep-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ep-desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.54;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep-chapters-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.ep-ch-chip {
  padding: 3px 7px;
  border: 1px dashed var(--wire);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  cursor: pointer;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-ch-chip:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* Bidirectional find.ouuut.com Theory Coupling Box inside every Episode Card */
.ep-theory-bridge {
  margin: 0 16px 16px;
  padding: 11px 12px;
  background: color-mix(in srgb, var(--ep-c, var(--c6-raw)) 7%, var(--surface));
  border: 1px dashed color-mix(in srgb, var(--ep-c, var(--c6-raw)) 52%, var(--wire));
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.etb-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ep-ink, var(--c6-ink));
}
.etb-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.etb-en {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
}
.etb-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 2px;
}
.etb-btn {
  padding: 7px 10px;
  min-height: 36px;
  border: 1px solid var(--wire);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  text-align: center;
  transition: border-color .18s ease, background-color .18s ease;
}
.etb-btn:hover {
  border-color: var(--ink);
  background: var(--surface-2);
}
.etb-btn.is-primary {
  border-color: var(--ep-c, var(--c3-raw));
  color: var(--ep-ink, var(--c3-ink));
  font-weight: 600;
}

/* ouuut.com Signature .dir-row Architectural Index View (1:1 from ouuut-v2/src/styles.css:487-605) */
.dir-index {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--wire);
}
.dir-row {
  position: relative;
  padding: 18px 12px 18px 16px;
  border-bottom: 1px dashed var(--wire);
  cursor: pointer;
  transition: opacity .24s ease, background-color .24s ease;
}
.dir-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--row-c, var(--c1-raw));
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .26s cubic-bezier(.22, 1, .36, 1);
}
.dir-row:hover::before,
.dir-row.is-open::before { transform: scaleY(1); }
.dir-row:hover,
.dir-row.is-open {
  background: color-mix(in srgb, var(--row-c, var(--c1-raw)) 5%, transparent);
}
.dir-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.45fr) minmax(0, 0.95fr) 170px;
  align-items: baseline;
  gap: 14px 24px;
}
.d-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.dir-row:hover .d-num,
.dir-row.is-open .d-num { color: var(--row-c, var(--c1-raw)); font-weight: 700; }
.d-name {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  transition: transform .26s cubic-bezier(.22, 1, .36, 1);
}
.dir-row:hover .d-name,
.dir-row.is-open .d-name { transform: translateX(6px); }
.d-dom {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--row-ink, var(--c1-ink));
}
.d-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .07em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  white-space: nowrap;
}
.d-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--row-c, var(--c1-raw));
}
.dir-body { display: none; margin-top: 14px; padding-left: 72px; }
.dir-row.is-open .dir-body { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: center; }

/* ============================================================================
   7. Interactive Transcript & 8-Act Blueprint Workbench
   ============================================================================ */
.workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 24px;
  align-items: start;
}
.transcript-panel {
  border: 1px dashed var(--wire-strong);
  background: color-mix(in srgb, var(--card) 90%, transparent);
}
.tp-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--wire);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.tp-search-input {
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--wire);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13.5px;
  min-width: 220px;
}
.turns-scroll {
  max-height: 640px;
  overflow-y: auto;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.turn-chapter-divider {
  padding: 8px 12px;
  margin-top: 8px;
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.turn-row {
  padding: 12px 14px;
  border: 1px dashed var(--wire);
  background: var(--bg);
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease;
}
.turn-row:hover {
  border-color: var(--ink);
  background: var(--surface);
}
.turn-row.is-active {
  border-style: solid;
  border-color: var(--turn-c, var(--c3-raw));
  border-left-width: 4px;
  background: color-mix(in srgb, var(--turn-c, var(--c3-raw)) 9%, var(--bg));
}
.turn-spk-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.turn-spk-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--turn-ink, var(--c3-ink));
}
.turn-spk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turn-c, var(--c3-raw));
}
.turn-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.turn-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
}

/* Sticky Right Theory Mother-Lode Side Card */
.theory-side-panel {
  position: sticky;
  top: calc(var(--nav-h) + 18px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.theory-mother-card {
  padding: 20px;
  border: 1px dashed var(--wire-strong);
  border-top: 4px solid var(--c6-raw);
  background: color-mix(in srgb, var(--card) 92%, transparent);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tmc-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--c6-ink);
  display: flex;
  justify-content: space-between;
}
.tmc-h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
}
.tmc-def {
  padding: 10px 12px;
  background: var(--surface);
  border-left: 3px solid var(--c6-raw);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
}
.tmc-anchor {
  padding: 10px 12px;
  border: 1px dashed var(--wire);
  font-size: 13.5px;
  color: var(--muted);
}
.tmc-cases-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tmc-case-link {
  padding: 9px 11px;
  border: 1px dashed var(--wire);
  background: var(--bg);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  transition: border-color .16s ease;
}
.tmc-case-link:hover {
  border-color: var(--c6-raw);
}

/* ============================================================================
   8. 100 Business Theories × AI Podcast Panorama Matrix
   ============================================================================ */
.roadmap-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rm-group {
  border: 1px dashed var(--wire-strong);
  background: color-mix(in srgb, var(--card) 85%, transparent);
}
.rm-group-head {
  padding: 12px 16px;
  border-bottom: 1px dashed var(--wire);
  background: var(--surface);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.rm-g-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
}
.rm-g-dot {
  width: 9px;
  height: 9px;
  background: var(--g-c, var(--c1-raw));
}
.rm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  padding: 14px;
}
.rm-cell {
  padding: 11px 13px;
  border: 1px dashed var(--wire);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: border-color .18s ease, transform .18s ease;
}
.rm-cell:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.rm-cell.has-ep {
  border-style: solid;
  border-color: var(--c3-raw);
  border-left-width: 4px;
  background: color-mix(in srgb, var(--c3-raw) 7%, var(--bg));
}
.rm-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}
.rm-live-tag {
  background: var(--c3-raw);
  color: #FFF;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
}
.rm-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.25;
}
.rm-one {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rm-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--wire-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

/* ============================================================================
   9. Persistent Bottom Studio Player Dock (#studioDock)
   ============================================================================ */
.studio-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--dock-h);
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--wire-strong);
  display: flex;
  align-items: center;
}
.dock-inner {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: minmax(200px, 0.85fr) minmax(280px, 1.4fr) auto;
  gap: 18px;
  align-items: center;
}
.dock-ep-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.dock-thumb {
  width: 56px;
  height: 36px;
  object-fit: cover;
  border: 1px solid var(--wire);
  flex-shrink: 0;
}
.dock-meta { min-width: 0; }
.dock-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c3-ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.dock-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dock-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dock-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--wire);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.dock-btn:hover { border-color: var(--ink); }
.dock-btn.is-play {
  width: 42px;
  height: 42px;
  background: var(--c3-raw);
  border-color: var(--c3-raw);
  color: #FFF;
  font-size: 14px;
}
.dock-progress-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.dock-bar-bg {
  width: 100%;
  height: 6px;
  background: var(--surface-2);
  border: 1px solid var(--wire);
  cursor: pointer;
  position: relative;
}
.dock-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c3-raw), var(--c4-raw));
}
.dock-time-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.dock-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================================
   10. Footer & Search Modal (1:1 with ouuut.com & find.ouuut.com)
   ============================================================================ */
footer.site-footer {
  padding: 40px 0 56px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links a:hover { color: var(--ink); }

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(14, 14, 12, 0.62);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 16px 24px;
}
.search-modal.is-open { display: flex; }
.search-dialog {
  width: 100%;
  max-width: 680px;
  background: var(--bg);
  border: 1px solid var(--wire-strong);
  display: flex;
  flex-direction: column;
  max-height: 76vh;
}
.search-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--wire);
}
.search-head input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  outline: none;
}
.search-results {
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sr-item {
  padding: 10px 12px;
  border: 1px dashed var(--wire);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.sr-item:hover { border-color: var(--c3-raw); }

/* ============================================================================
   11. Responsive Breakpoints (Desktop / Tablet / 390px Mobile)
   ============================================================================ */
.hero-grid > *,
.workbench-grid > *,
.ep-grid > *,
.rm-grid > * {
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 1120px) {
  .hero-grid,
  .workbench-grid { grid-template-columns: minmax(0, 1fr); }
  .ep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theory-side-panel { position: static; }
}
@media (max-width: 820px) {
  .nav-links, .waiiro-bar, .wire-btn { display: none; }
  .burger { display: inline-flex; }
  .dir-head { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .d-dom { display: none; }
  .dir-row.is-open .dir-body { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .dock-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .dock-right, .dock-progress-wrap, #dockBack15, #dockFwd15 { display: none; }
}
@media (max-width: 620px) {
  .ep-grid,
  .hosts-duo-grid { grid-template-columns: minmax(0, 1fr); }
  .act-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stg-body { grid-template-columns: minmax(0, 1fr); }
  .stg-right { display: none; }
  .stg-hud { grid-template-columns: 74px minmax(0, 1fr) 74px; }
  .turn-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .brand-sub, .brand-sep, .brand-live-pill { display: none; }
  .wm-lockup { height: 17px; }
  .search-btn { padding: 0 8px; font-size: 10px; }
  .monitor-transport { grid-template-columns: 44px minmax(0, 1fr); gap: 8px; }
  .transport-tools { grid-column: 1 / -1; flex-wrap: wrap; }
  .wave-meta-row { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
