/* ══════════════════════════════════════════════════════════════
   CWA Design System — "Jungian Observatory"
   Jungian Luxury × Scientific Minimalism
   90% 墨黑背景 · 8% 米白文字 · 2% 金色（只給 CTA / Active / Highlight）
   Heading: Cormorant Garamond + Noto Serif TC ／ Body: Inter + system
   動畫節奏：Slow / Calm / Intentional（300–800ms）
   ══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: #070B14; }

:root {
  /* color */
  --bg: #070B14;
  --bg-deep: #0F172A;
  --card: #111827;
  --glass: rgba(255,255,255,0.03);
  --glass-2: rgba(255,255,255,0.05);
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --gold: #D6B16D;
  --gold-dim: rgba(214,177,109,0.42);
  --gold-soft: rgba(214,177,109,0.12);
  --ink-title: #F8F5F0;
  --ink: #C4C4C4;
  --ink-dim: #8A8A8A;
  /* semantic（沿用舊變數名，讓既有結構直接吃到新系統）*/
  --bg-soft: rgba(255,255,255,0.03);
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.055);
  --border: rgba(255,255,255,0.08);
  --text: var(--ink-title);
  --text-soft: var(--ink);
  --text-muted: var(--ink-dim);
  --pref: var(--gold);            /* 注意力偏好 ＝ 金（Active/Highlight）*/
  --dev: #8FA7C9;                 /* 把握度 ＝ 星光藍灰 */
  --warn: #C8884A;                /* 失衡/代價 ＝ 餘燼銅 */
  --primary: var(--gold);
  --primary-text: #070B14;
  --radius: 16px;
  --max-width: 720px;
  --serif: "Cormorant Garamond", "Noto Serif TC", "Songti TC", serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

body {
  background:
    radial-gradient(1400px 900px at 78% -12%, rgba(31,48,94,0.40), transparent 62%),
    radial-gradient(1000px 800px at -12% 108%, rgba(20,30,58,0.55), transparent 60%),
    radial-gradient(700px 500px at 92% 58%, rgba(58,44,86,0.16), transparent 70%),
    radial-gradient(800px 600px at 18% 32%, rgba(16,42,66,0.22), transparent 68%),
    radial-gradient(520px 380px at 62% 86%, rgba(120,86,40,0.07), transparent 70%),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* 星空：細小星點，緩慢呼吸 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(248,245,240,0.5), transparent 100%),
    radial-gradient(1px 1px at 32% 64%, rgba(248,245,240,0.32), transparent 100%),
    radial-gradient(1.4px 1.4px at 54% 8%, rgba(214,177,109,0.5), transparent 100%),
    radial-gradient(1px 1px at 68% 42%, rgba(248,245,240,0.36), transparent 100%),
    radial-gradient(1.2px 1.2px at 82% 76%, rgba(248,245,240,0.3), transparent 100%),
    radial-gradient(1px 1px at 90% 14%, rgba(214,177,109,0.42), transparent 100%),
    radial-gradient(1px 1px at 22% 88%, rgba(248,245,240,0.3), transparent 100%),
    radial-gradient(1.3px 1.3px at 44% 36%, rgba(248,245,240,0.26), transparent 100%),
    radial-gradient(1px 1px at 6% 52%, rgba(248,245,240,0.24), transparent 100%),
    radial-gradient(1.1px 1.1px at 73% 92%, rgba(214,177,109,0.32), transparent 100%),
    radial-gradient(0.9px 0.9px at 16% 40%, rgba(248,245,240,0.22), transparent 100%),
    radial-gradient(0.9px 0.9px at 38% 12%, rgba(248,245,240,0.2), transparent 100%),
    radial-gradient(1px 1px at 58% 58%, rgba(248,245,240,0.18), transparent 100%),
    radial-gradient(0.9px 0.9px at 85% 30%, rgba(248,245,240,0.22), transparent 100%),
    radial-gradient(1px 1px at 48% 80%, rgba(214,177,109,0.22), transparent 100%),
    radial-gradient(0.8px 0.8px at 28% 28%, rgba(248,245,240,0.18), transparent 100%),
    radial-gradient(0.8px 0.8px at 64% 22%, rgba(248,245,240,0.16), transparent 100%),
    radial-gradient(1px 1px at 8% 76%, rgba(248,245,240,0.2), transparent 100%),
    radial-gradient(0.9px 0.9px at 94% 64%, rgba(248,245,240,0.18), transparent 100%),
    radial-gradient(0.8px 0.8px at 41% 52%, rgba(214,177,109,0.18), transparent 100%);
  animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.55; } to { opacity: 1; } }
/* 巨型曼陀羅水印（右上）＋第二枚（左下、更淡）：榮格星空的「天球刻痕」 */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' viewBox%3D'0 0 800 800'%3E%3Ccircle cx%3D'400' cy%3D'400' r%3D'390' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1' fill%3D'none'%2F%3E%3Ccircle cx%3D'400' cy%3D'400' r%3D'340' stroke%3D'rgba(214%2C177%2C109%2C0.045000000000000005)' stroke-width%3D'1' fill%3D'none' stroke-dasharray%3D'2 10'%2F%3E%3Ccircle cx%3D'400' cy%3D'400' r%3D'280' stroke%3D'rgba(214%2C177%2C109%2C0.04)' stroke-width%3D'1' fill%3D'none'%2F%3E%3Ccircle cx%3D'400' cy%3D'400' r%3D'210' stroke%3D'rgba(214%2C177%2C109%2C0.035)' stroke-width%3D'1' fill%3D'none'%2F%3E%3Cline x1%3D'400.0' y1%3D'20.0' x2%3D'400.0' y2%3D'10.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'449.6' y1%3D'23.3' x2%3D'450.9' y2%3D'13.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'498.4' y1%3D'32.9' x2%3D'500.9' y2%3D'23.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'545.4' y1%3D'48.9' x2%3D'549.2' y2%3D'39.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'590.0' y1%3D'70.9' x2%3D'595.0' y2%3D'62.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'631.3' y1%3D'98.5' x2%3D'637.4' y2%3D'90.6' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'668.7' y1%3D'131.3' x2%3D'675.8' y2%3D'124.2' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'701.5' y1%3D'168.7' x2%3D'709.4' y2%3D'162.6' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'729.1' y1%3D'210.0' x2%3D'737.7' y2%3D'205.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'751.1' y1%3D'254.6' x2%3D'760.3' y2%3D'250.8' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'767.1' y1%3D'301.6' x2%3D'776.7' y2%3D'299.1' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'776.7' y1%3D'350.4' x2%3D'786.7' y2%3D'349.1' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'780.0' y1%3D'400.0' x2%3D'790.0' y2%3D'400.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'776.7' y1%3D'449.6' x2%3D'786.7' y2%3D'450.9' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'767.1' y1%3D'498.4' x2%3D'776.7' y2%3D'500.9' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'751.1' y1%3D'545.4' x2%3D'760.3' y2%3D'549.2' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'729.1' y1%3D'590.0' x2%3D'737.7' y2%3D'595.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'701.5' y1%3D'631.3' x2%3D'709.4' y2%3D'637.4' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'668.7' y1%3D'668.7' x2%3D'675.8' y2%3D'675.8' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'631.3' y1%3D'701.5' x2%3D'637.4' y2%3D'709.4' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'590.0' y1%3D'729.1' x2%3D'595.0' y2%3D'737.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'545.4' y1%3D'751.1' x2%3D'549.2' y2%3D'760.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'498.4' y1%3D'767.1' x2%3D'500.9' y2%3D'776.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'449.6' y1%3D'776.7' x2%3D'450.9' y2%3D'786.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'400.0' y1%3D'780.0' x2%3D'400.0' y2%3D'790.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'350.4' y1%3D'776.7' x2%3D'349.1' y2%3D'786.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'301.6' y1%3D'767.1' x2%3D'299.1' y2%3D'776.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'254.6' y1%3D'751.1' x2%3D'250.8' y2%3D'760.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'210.0' y1%3D'729.1' x2%3D'205.0' y2%3D'737.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'168.7' y1%3D'701.5' x2%3D'162.6' y2%3D'709.4' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'131.3' y1%3D'668.7' x2%3D'124.2' y2%3D'675.8' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'98.5' y1%3D'631.3' x2%3D'90.6' y2%3D'637.4' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'70.9' y1%3D'590.0' x2%3D'62.3' y2%3D'595.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'48.9' y1%3D'545.4' x2%3D'39.7' y2%3D'549.2' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'32.9' y1%3D'498.4' x2%3D'23.3' y2%3D'500.9' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'23.3' y1%3D'449.6' x2%3D'13.3' y2%3D'450.9' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'20.0' y1%3D'400.0' x2%3D'10.0' y2%3D'400.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'23.3' y1%3D'350.4' x2%3D'13.3' y2%3D'349.1' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'32.9' y1%3D'301.6' x2%3D'23.3' y2%3D'299.1' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'48.9' y1%3D'254.6' x2%3D'39.7' y2%3D'250.8' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'70.9' y1%3D'210.0' x2%3D'62.3' y2%3D'205.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'98.5' y1%3D'168.7' x2%3D'90.6' y2%3D'162.6' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'131.3' y1%3D'131.3' x2%3D'124.2' y2%3D'124.2' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'168.7' y1%3D'98.5' x2%3D'162.6' y2%3D'90.6' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'210.0' y1%3D'70.9' x2%3D'205.0' y2%3D'62.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'254.6' y1%3D'48.9' x2%3D'250.8' y2%3D'39.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'301.6' y1%3D'32.9' x2%3D'299.1' y2%3D'23.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'350.4' y1%3D'23.3' x2%3D'349.1' y2%3D'13.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cpolygon points%3D'400.0%2C120.0 680.0%2C400.0 400.0%2C680.0 120.0%2C400.0' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.04)' stroke-width%3D'1'%2F%3E%3Cpolygon points%3D'598.0%2C202.0 598.0%2C598.0 202.0%2C598.0 202.0%2C202.0' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.04)' stroke-width%3D'1'%2F%3E%3Ccircle cx%3D'400.0' cy%3D'295.0' r%3D'105' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.035)' stroke-width%3D'1'%2F%3E%3Ccircle cx%3D'490.9' cy%3D'347.5' r%3D'105' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.035)' stroke-width%3D'1'%2F%3E%3Ccircle cx%3D'490.9' cy%3D'452.5' r%3D'105' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.035)' stroke-width%3D'1'%2F%3E%3Ccircle cx%3D'400.0' cy%3D'505.0' r%3D'105' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.035)' stroke-width%3D'1'%2F%3E%3Ccircle cx%3D'309.1' cy%3D'452.5' r%3D'105' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.035)' stroke-width%3D'1'%2F%3E%3Ccircle cx%3D'309.1' cy%3D'347.5' r%3D'105' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.035)' stroke-width%3D'1'%2F%3E%3Ccircle cx%3D'400' cy%3D'400' r%3D'105' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1' fill%3D'none'%2F%3E%3C%2Fsvg%3E"), url("data:image/svg+xml,%3Csvg xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' viewBox%3D'0 0 800 800'%3E%3Ccircle cx%3D'400' cy%3D'400' r%3D'390' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1' fill%3D'none'%2F%3E%3Ccircle cx%3D'400' cy%3D'400' r%3D'340' stroke%3D'rgba(214%2C177%2C109%2C0.045000000000000005)' stroke-width%3D'1' fill%3D'none' stroke-dasharray%3D'2 10'%2F%3E%3Ccircle cx%3D'400' cy%3D'400' r%3D'280' stroke%3D'rgba(214%2C177%2C109%2C0.04)' stroke-width%3D'1' fill%3D'none'%2F%3E%3Ccircle cx%3D'400' cy%3D'400' r%3D'210' stroke%3D'rgba(214%2C177%2C109%2C0.035)' stroke-width%3D'1' fill%3D'none'%2F%3E%3Cline x1%3D'400.0' y1%3D'20.0' x2%3D'400.0' y2%3D'10.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'449.6' y1%3D'23.3' x2%3D'450.9' y2%3D'13.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'498.4' y1%3D'32.9' x2%3D'500.9' y2%3D'23.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'545.4' y1%3D'48.9' x2%3D'549.2' y2%3D'39.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'590.0' y1%3D'70.9' x2%3D'595.0' y2%3D'62.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'631.3' y1%3D'98.5' x2%3D'637.4' y2%3D'90.6' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'668.7' y1%3D'131.3' x2%3D'675.8' y2%3D'124.2' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'701.5' y1%3D'168.7' x2%3D'709.4' y2%3D'162.6' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'729.1' y1%3D'210.0' x2%3D'737.7' y2%3D'205.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'751.1' y1%3D'254.6' x2%3D'760.3' y2%3D'250.8' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'767.1' y1%3D'301.6' x2%3D'776.7' y2%3D'299.1' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'776.7' y1%3D'350.4' x2%3D'786.7' y2%3D'349.1' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'780.0' y1%3D'400.0' x2%3D'790.0' y2%3D'400.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'776.7' y1%3D'449.6' x2%3D'786.7' y2%3D'450.9' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'767.1' y1%3D'498.4' x2%3D'776.7' y2%3D'500.9' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'751.1' y1%3D'545.4' x2%3D'760.3' y2%3D'549.2' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'729.1' y1%3D'590.0' x2%3D'737.7' y2%3D'595.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'701.5' y1%3D'631.3' x2%3D'709.4' y2%3D'637.4' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'668.7' y1%3D'668.7' x2%3D'675.8' y2%3D'675.8' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'631.3' y1%3D'701.5' x2%3D'637.4' y2%3D'709.4' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'590.0' y1%3D'729.1' x2%3D'595.0' y2%3D'737.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'545.4' y1%3D'751.1' x2%3D'549.2' y2%3D'760.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'498.4' y1%3D'767.1' x2%3D'500.9' y2%3D'776.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'449.6' y1%3D'776.7' x2%3D'450.9' y2%3D'786.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'400.0' y1%3D'780.0' x2%3D'400.0' y2%3D'790.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'350.4' y1%3D'776.7' x2%3D'349.1' y2%3D'786.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'301.6' y1%3D'767.1' x2%3D'299.1' y2%3D'776.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'254.6' y1%3D'751.1' x2%3D'250.8' y2%3D'760.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'210.0' y1%3D'729.1' x2%3D'205.0' y2%3D'737.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'168.7' y1%3D'701.5' x2%3D'162.6' y2%3D'709.4' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'131.3' y1%3D'668.7' x2%3D'124.2' y2%3D'675.8' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'98.5' y1%3D'631.3' x2%3D'90.6' y2%3D'637.4' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'70.9' y1%3D'590.0' x2%3D'62.3' y2%3D'595.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'48.9' y1%3D'545.4' x2%3D'39.7' y2%3D'549.2' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'32.9' y1%3D'498.4' x2%3D'23.3' y2%3D'500.9' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'23.3' y1%3D'449.6' x2%3D'13.3' y2%3D'450.9' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'20.0' y1%3D'400.0' x2%3D'10.0' y2%3D'400.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'23.3' y1%3D'350.4' x2%3D'13.3' y2%3D'349.1' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'32.9' y1%3D'301.6' x2%3D'23.3' y2%3D'299.1' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'48.9' y1%3D'254.6' x2%3D'39.7' y2%3D'250.8' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'70.9' y1%3D'210.0' x2%3D'62.3' y2%3D'205.0' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'98.5' y1%3D'168.7' x2%3D'90.6' y2%3D'162.6' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'131.3' y1%3D'131.3' x2%3D'124.2' y2%3D'124.2' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'168.7' y1%3D'98.5' x2%3D'162.6' y2%3D'90.6' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'210.0' y1%3D'70.9' x2%3D'205.0' y2%3D'62.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'254.6' y1%3D'48.9' x2%3D'250.8' y2%3D'39.7' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'301.6' y1%3D'32.9' x2%3D'299.1' y2%3D'23.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cline x1%3D'350.4' y1%3D'23.3' x2%3D'349.1' y2%3D'13.3' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1'%2F%3E%3Cpolygon points%3D'400.0%2C120.0 680.0%2C400.0 400.0%2C680.0 120.0%2C400.0' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.04)' stroke-width%3D'1'%2F%3E%3Cpolygon points%3D'598.0%2C202.0 598.0%2C598.0 202.0%2C598.0 202.0%2C202.0' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.04)' stroke-width%3D'1'%2F%3E%3Ccircle cx%3D'400.0' cy%3D'295.0' r%3D'105' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.035)' stroke-width%3D'1'%2F%3E%3Ccircle cx%3D'490.9' cy%3D'347.5' r%3D'105' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.035)' stroke-width%3D'1'%2F%3E%3Ccircle cx%3D'490.9' cy%3D'452.5' r%3D'105' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.035)' stroke-width%3D'1'%2F%3E%3Ccircle cx%3D'400.0' cy%3D'505.0' r%3D'105' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.035)' stroke-width%3D'1'%2F%3E%3Ccircle cx%3D'309.1' cy%3D'452.5' r%3D'105' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.035)' stroke-width%3D'1'%2F%3E%3Ccircle cx%3D'309.1' cy%3D'347.5' r%3D'105' fill%3D'none' stroke%3D'rgba(214%2C177%2C109%2C0.035)' stroke-width%3D'1'%2F%3E%3Ccircle cx%3D'400' cy%3D'400' r%3D'105' stroke%3D'rgba(214%2C177%2C109%2C0.05)' stroke-width%3D'1' fill%3D'none'%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat, no-repeat;
  background-size: 920px 920px, 640px 640px;
  background-position: calc(100% + 300px) -260px, -300px calc(100% + 220px);
  animation: twinkle 11s ease-in-out infinite alternate-reverse;
}

/* 章節星座飾圖：佔版面空間的小 canvas，捲動擦洗組裝（starfield.js） */
.orn-wrap { display: flex; justify-content: center; margin: 6px 0 2px; }
.orn { width: min(440px, 84vw); height: auto; aspect-ratio: 420 / 300; display: block; }

/* 活星空：canvas 取代靜態星點層（starfield.js 啟動時掛 has-starfield） */
#starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
body.has-starfield::before { display: none; }
.land__hero { perspective: 900px; }
.land__hero-orbit { transform-style: preserve-3d; will-change: transform; }

#app { min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
.view {
  flex: 1; display: flex; flex-direction: column;
  padding: 48px 24px 56px; max-width: var(--max-width); margin: 0 auto; width: 100%;
}
.view:not([hidden]) { animation: fadeUp 0.6s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink-title); }

.version {
  position: fixed; right: 12px; top: 9px; z-index: 20;   /* 低於報告章節導航(30)，捲動時被玻璃 bar 蓋過 */
  font-size: 11px; letter-spacing: 0.08em; color: var(--ink-dim);
  opacity: 0.5; pointer-events: none; user-select: none;
}
.muted { color: var(--ink-dim); font-size: 14px; }
.share-error { min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; gap: 16px; position: relative; z-index: 1; }
.share-error__t { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink-title); margin: 0; }
.share-error__d { font-size: 15px; color: var(--ink-dim); line-height: 1.7; max-width: 30em; margin: 0 0 12px; }

/* ── Buttons ── 金 CTA / 金線 Secondary，禁用其他顏色 ───────── */
.btn {
  appearance: none; border: none; font: inherit; cursor: pointer;
  border-radius: 8px; padding: 15px 28px; font-size: 15px; font-weight: 600;
  letter-spacing: 0.14em;
  transition: transform 0.3s var(--ease), background 0.3s, opacity 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.btn:active { transform: scale(0.985); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn--primary {
  background: var(--gold); color: var(--primary-text);
  box-shadow: 0 8px 34px -14px rgba(214,177,109,0.55);
}
.btn--primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 40px -14px rgba(214,177,109,0.65); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--gold-dim); }
.btn--ghost:hover { color: var(--ink-title); border-color: var(--gold); transform: translateY(-2px); }
.btn--icon {
  background: var(--glass); color: var(--ink);
  border: 1px solid var(--line);
  width: 42px; height: 42px; padding: 0; border-radius: 50%; font-size: 18px; flex: none;
  letter-spacing: 0;
}
.btn--next { padding: 14px 30px; }
.btn--prev { padding: 14px 22px; font-size: 14px; }
.btn--prev:disabled { opacity: 0.25; }
.btn--home { padding: 9px 16px; font-size: 12.5px; letter-spacing: 0.18em; border-color: var(--line-strong); color: var(--ink-dim); flex: none; }
.btn--home:hover { border-color: var(--gold-dim); color: var(--ink); transform: none; }

/* ── Intro — Landing「數位榮格天文台」───────────────────────── */
html { scroll-behavior: smooth; }
.view--intro { max-width: 1040px; }
.land { width: 100%; }
.land__top { display: flex; align-items: center; gap: 10px; padding: 4px 0 0; }
.land__logo { width: 22px; height: 22px; display: inline-flex; }
.land__logo svg { width: 100%; height: 100%; }
.land__brand { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: 0.26em; color: var(--ink-title); }
.land__brand-sub { font-size: 12px; letter-spacing: 0.2em; color: var(--ink-dim); margin-left: 2px; }

.land__hero { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 28px; padding: 72px 0 96px; }
.land__eyebrow { color: var(--gold); font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; margin: 0 0 22px; }
.land__headline {
  font-family: var(--serif); font-size: 76px; font-weight: 600;
  line-height: 1.14; letter-spacing: 0.02em; color: var(--ink-title); margin: 0 0 26px;
}
.land__sub { color: var(--ink); font-size: 16.5px; line-height: 1.9; margin: 0 0 34px; }
.land__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.land__sample { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-dim); }
.land__sample-link { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-dim); padding-bottom: 1px; }
.land__sample-link:hover { border-bottom-color: var(--gold); }
.pairentry__sample { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-dim); }
.land__caption { margin: 30px 0 0; font-size: 12.5px; letter-spacing: 0.3em; color: var(--gold-dim); }
.land__count { margin: 12px 0 0; font-size: 12.5px; letter-spacing: 0.08em; color: var(--ink-dim); }
.land__hero-orbit { width: 100%; max-width: 400px; justify-self: center; }
.land__hero-orbit svg { width: 100%; height: auto; animation: orbitSpin 180s linear infinite; transform-origin: 50% 50%; }
.land__hero-orbit .orb-ccw { animation: orbitSpinR 110s linear infinite; transform-box: view-box; transform-origin: center; }
.land__hero-orbit .orb-inner { animation: orbitSpin 70s linear infinite; transform-box: view-box; transform-origin: center; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitSpinR { to { transform: rotate(-360deg); } }

.land__h2 { font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--ink-title); margin: 0 0 14px; letter-spacing: 0.02em; }
.land__features { padding: 0 0 104px; text-align: center; }
.land__features-sub { color: var(--ink-dim); font-size: 15px; line-height: 1.85; margin: 0 0 52px; }
.land__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.land__grid--three { grid-template-columns: repeat(3, 1fr); max-width: 780px; margin: 0 auto; }
.land__pair-note { max-width: 540px; margin: 40px auto 22px; color: var(--ink-dim); font-size: 14px; line-height: 1.8; }
.land__feat { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.land__feat-icon { width: 56px; height: 56px; opacity: 0.9; }
.land__feat-icon svg { width: 100%; height: 100%; }
.land__feat-name { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink-title); margin: 4px 0 0; letter-spacing: 0.04em; }
.land__feat-desc { font-size: 13px; color: var(--ink-dim); line-height: 1.75; margin: 0; }

.land__assess {
  max-width: 640px; margin: 0 auto 104px; padding: 44px 36px;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  text-align: center; scroll-margin-top: 32px;
}
.land__assess .land__h2 { font-size: 30px; }
.land__assess-sub { color: var(--ink); font-size: 14.5px; line-height: 1.9; margin: 0 0 30px; }
.land__assess .intro__pick { text-align: left; }
.land__fineprint { font-size: 12.5px; color: var(--ink-dim); line-height: 1.7; margin: 22px 0 0; }

.land__journey { padding: 0 0 72px; }
.land__journey-copy { text-align: center; margin-bottom: 40px; }
.land__journey-sub { color: var(--ink); font-size: 15.5px; line-height: 1.9; margin: 0 0 22px; }
.land__link {
  appearance: none; background: none; border: none; cursor: pointer; font: inherit;
  color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: 0.2em;
  padding: 6px 2px; border-bottom: 1px solid var(--gold-dim); transition: border-color 0.3s, color 0.3s;
}
.land__link:hover { border-color: var(--gold); color: var(--ink-title); }
/* FAQ：原生手風琴，金線極簡 */
.land__faq { padding: 0 0 96px; max-width: 720px; margin: 0 auto; }
.land__faq .land__h2 { text-align: center; margin-bottom: 28px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 2px; position: relative;
  font-size: 15.5px; font-weight: 600; color: var(--ink-title); letter-spacing: 0.02em;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 18px; font-weight: 400; transition: transform 0.25s;
}
.faq__item[open] .faq__q::after { content: "−"; }
.faq__q:hover { color: var(--gold); }
.faq__a { margin: 0; padding: 0 2px 20px; font-size: 14px; line-height: 1.85; color: var(--ink); }

.land__foot {
  display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: 0.14em; color: var(--ink-dim);
}
.land__foot-link {
  color: var(--gold-dim); text-decoration: none;
  border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s;
}
.land__foot-link:hover { color: var(--gold); border-color: var(--gold-dim); }

.intro__pick { font-size: 12px; letter-spacing: 0.3em; color: var(--ink-dim); font-weight: 600; margin: 0 0 14px; }

/* mode cards */
.mode-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.mode-card {
  text-align: left; background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; cursor: pointer; color: var(--ink-title);
  display: flex; flex-direction: column; gap: 7px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.mode-card:hover { background: var(--glass-2); transform: translateY(-2px); }
.mode-card.is-selected { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 1px var(--gold) inset; }
.mode-card__name { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: 0.04em; }
.mode-card__desc { font-size: 13px; color: var(--ink-dim); line-height: 1.5; letter-spacing: 0.06em; }
.mode-card__count { font-size: 12px; color: var(--ink-dim); margin-top: auto; }
.intro__actions { display: flex; flex-direction: column; gap: 12px; }
.intro__journey { margin: 0; }
.intro__journey img {
  display: block; width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line); opacity: 0.92;
}
/* 內在旅程：多圖層動畫場景（天空漂移＋canvas 曼陀羅＋霧飄＋人影視差） */
.jscene {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); aspect-ratio: 3 / 2;
}
.intro__journey img.jscene__sky {
  /* 左右各留 10% 對稱餘量；位移＋旋轉＋縮放的最壞相位都不會露出容器邊 */
  position: absolute; left: -10%; top: -10%; width: 120%; height: 120%;
  object-fit: cover; border: none; border-radius: 0; opacity: 1;
  animation: jSky 16s ease-in-out infinite alternate;   /* 縮時感：天空快速流動 */
  will-change: transform;
}
@keyframes jSky { from { transform: translate(-1.5%, 0.8%) scale(1.04) rotate(-0.4deg); } to { transform: translate(1.5%, -0.8%) scale(1.10) rotate(0.4deg); } }
.jscene__mandala {
  position: absolute; left: 50%; top: 38%; width: 62%; aspect-ratio: 1;
  transform: translate(-50%, -50%); pointer-events: none;
}
.jscene__fog {
  /* 貼著谷底鋪的薄霧：底部錨定、重模糊、只水平緩移（無膨縮） */
  position: absolute; left: -30%; width: 160%; height: 30%; bottom: 0;
  pointer-events: none; filter: blur(26px);
  background: radial-gradient(60% 95% at 35% 100%, rgba(150,170,205,0.20), transparent 68%),
              radial-gradient(50% 85% at 75% 100%, rgba(130,150,185,0.14), transparent 68%);
  animation: jFogA 13s ease-in-out infinite alternate;
}
.jscene__fog--b {
  height: 20%; filter: blur(18px);
  background: radial-gradient(45% 85% at 60% 100%, rgba(170,190,220,0.16), transparent 68%),
              radial-gradient(40% 75% at 15% 100%, rgba(140,160,195,0.12), transparent 68%);
  animation: jFogB 9s ease-in-out infinite alternate;
}
@keyframes jFogA { from { transform: translateX(-5%); } to { transform: translateX(5%); } }
@keyframes jFogB { from { transform: translateX(4%); } to { transform: translateX(-4%); } }
/* 視差 wrapper：滑鼠位移由 JS 寫 transform，內層動畫不受影響 */
.jlyr { position: absolute; inset: 0; pointer-events: none; will-change: transform; }

/* 底墊：蓋住山層下緣透出的星空（色接山體深藍） */
.jscene__ground {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 46%;
  background: linear-gradient(to top, #0C1925 0%, #0C1925 38%, rgba(12,25,37,0) 100%);
  pointer-events: none;
}
/* 山＋谷霧：與星空反向慢移——層間視差的來源 */
.intro__journey img.jscene__mts {
  position: absolute; left: -6%; top: -4%; width: 112%; height: 106%;
  object-fit: cover; object-position: bottom; border: none; border-radius: 0; opacity: 1;
  animation: jMts 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes jMts { from { transform: translateX(0.9%) scale(1.02); } to { transform: translateX(-0.9%) scale(1.04); } }
.intro__journey img.jscene__man {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border: none; border-radius: 0; opacity: 1;
}
@media (prefers-reduced-motion: reduce) { .jscene__mts { animation: none; } }
@media (prefers-reduced-motion: reduce) {
  .jscene__sky, .jscene__fog { animation: none; }
}
.intro__journey figcaption {
  font-family: var(--serif); font-style: italic; font-size: 16.5px; line-height: 1.85;
  color: var(--ink-title); text-align: center; margin: 22px auto 0; max-width: 30em;
}
.intro__journey-by { display: block; margin-top: 8px; font-size: 13px; font-style: normal; color: var(--gold); letter-spacing: 0.14em; }

/* ── Module intro ─────────────────────────────────────────── */
.module__inner { margin: auto 0; max-width: 520px; }
.module__label { color: var(--gold); font-size: 12px; letter-spacing: 0.3em; font-weight: 600; margin: 0 0 12px; }
.module__name { font-family: var(--serif); font-size: 34px; margin: 0 0 18px; }
.module__intro { color: var(--ink); font-size: 16px; margin: 0 0 30px; }
.module__actions { display: flex; flex-direction: column; gap: 12px; }

/* 作答定向頁：第一個念頭 vs 實際做法（卡片配色＝題目上方 modeTag 同一套） */
.view--orient { max-width: 640px; }
.orient__inner { margin: auto 0; width: 100%; }
.orient__label { color: var(--gold); font-size: 12px; letter-spacing: 0.3em; font-weight: 600; margin: 0 0 12px; }
.orient__title { font-family: var(--serif); font-size: 34px; margin: 0 0 16px; }
.orient__lede { color: var(--ink); font-size: 16px; line-height: 1.8; margin: 0 0 26px; }
.orient__modes { display: flex; flex-direction: column; gap: 14px; margin: 0 0 24px; }
.orient__mode { padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,0.025); }
.orient__mode-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; padding: 4px 12px; border-radius: 999px; margin: 0 0 10px; }
.orient__mode-desc { color: var(--ink); font-size: 14.5px; line-height: 1.78; margin: 0; }
.orient__mode--instinct { box-shadow: inset 0 0 0 1px var(--gold-dim); }
.orient__mode--instinct .orient__mode-tag { color: var(--gold); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold-dim); }
.orient__mode--behavior { box-shadow: inset 0 0 0 1px rgba(143,167,201,0.4); }
.orient__mode--behavior .orient__mode-tag { color: var(--dev); background: rgba(143,167,201,0.10); box-shadow: inset 0 0 0 1px rgba(143,167,201,0.4); }
.orient__why { color: var(--ink-dim); font-size: 14px; line-height: 1.8; margin: 0 0 14px; padding: 14px 16px; border-left: 2px solid var(--gold-dim); background: rgba(214,177,109,0.05); border-radius: 0 8px 8px 0; }
.orient__note { color: var(--ink-dim); font-size: 13.5px; line-height: 1.7; font-style: italic; margin: 0 0 26px; }
.orient__actions { display: flex; flex-direction: column; gap: 12px; }

/* ── Quiz ─────────────────────────────────────────────────── */
.quiz__header { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.quiz__progress { flex: 1; }
.quiz__progress-bar { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.quiz__progress-fill { height: 100%; width: 0; background: var(--gold); transition: width 0.6s var(--ease); }
.quiz__progress-text { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-dim); margin-top: 9px; letter-spacing: 0.12em; }
.quiz__module { color: var(--ink); font-weight: 600; }
.quiz__body { flex: 1; }

.q__text { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.5; margin: 4px 0 26px; color: var(--ink-title); }
.q__help { font-size: 13px; color: var(--ink-dim); margin: -14px 0 20px; }
.q__scenario-tag { font-size: 12px; letter-spacing: 0.2em; color: var(--ink-dim); margin: 0 0 6px; }

/* 作答模式標籤：第一個念頭（金）vs 實際做法（星光） */
.q__mode { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.q__mode-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.q__mode-hint { font-size: 12.5px; color: var(--ink-dim); line-height: 1.4; }
.q__mode--instinct .q__mode-tag { color: var(--gold); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold-dim); }
.q__mode--behavior .q__mode-tag { color: var(--dev); background: rgba(143,167,201,0.10); box-shadow: inset 0 0 0 1px rgba(143,167,201,0.4); }

/* Likert */
.likert { display: flex; justify-content: space-between; gap: 8px; margin: 32px 0 10px; }
.likert__dot {
  flex: 1; aspect-ratio: 1; max-width: 56px; border-radius: 50%; cursor: pointer;
  background: var(--glass); border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, color 0.3s, box-shadow 0.3s;
}
.likert__dot:hover { border-color: var(--gold-dim); transform: translateY(-2px); color: var(--ink-title); }
.likert__dot.is-on { background: var(--gold); border-color: var(--gold); color: var(--primary-text); font-weight: 700; box-shadow: 0 0 24px -6px rgba(214,177,109,0.7); }
.likert__ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-dim); margin-top: 10px; letter-spacing: 0.08em; }

/* Options — Card Selection（含 A/B/C/D 徽章） */
.options { display: flex; flex-direction: column; gap: 12px; }
.options--tight { gap: 9px; }
.option {
  display: flex; align-items: center; gap: 14px;
  text-align: left; background: var(--glass); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px; cursor: pointer; color: var(--ink);
  font-size: 15.5px; line-height: 1.55;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.option:hover { background: var(--glass-2); border-color: var(--line-strong); transform: translateY(-2px); }
.option:active { transform: scale(0.995); }
.option.is-on { border-color: var(--gold); background: var(--gold-soft); color: var(--ink-title); }
.option__key {
  flex: none; width: 28px; height: 28px; border-radius: 7px;
  display: grid; place-items: center; font-size: 12.5px; font-weight: 600;
  color: var(--ink-dim); border: 1px solid var(--line-strong);
  transition: all 0.3s;
}
.option.is-on .option__key { color: var(--primary-text); background: var(--gold); border-color: var(--gold); }
.option--chip { padding: 11px 14px; font-size: 14.5px; }
.options--ab { gap: 14px; }
.option--ab { display: flex; align-items: center; gap: 14px; padding: 19px 18px; }
.option--ab .option__ab {
  flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  font-weight: 600; font-size: 13.5px; color: var(--ink-dim); border: 1px solid var(--line-strong);
  background: transparent; transition: all 0.3s;
}
.option--ab.is-on .option__ab { background: var(--gold); color: var(--primary-text); border-color: var(--gold); }
.option--tight { padding: 12px 14px; }

/* Forced ranking */
.rank { display: flex; flex-direction: column; gap: 11px; }
.rank__item {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--glass); border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 17px; cursor: pointer; color: var(--ink); font-size: 15.5px; line-height: 1.5;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.rank__item:hover { background: var(--glass-2); transform: translateY(-2px); }
.rank__item.is-ranked { border-color: var(--gold); background: var(--gold-soft); color: var(--ink-title); }
.rank__badge {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13.5px; font-weight: 600; color: var(--ink-dim);
  border: 1px solid var(--line-strong); transition: all 0.3s;
}
.rank__item.is-ranked .rank__badge { background: var(--gold); color: var(--primary-text); border-color: var(--gold); }
.rank__label { flex: 1; }

/* State shift（quiz 中單題版的標頭，沿用） */
.ss__ctx { margin-bottom: 20px; }
.ss__head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 9px; }
.ss__name { font-size: 16px; font-weight: 700; }
.ss__hint { font-size: 12px; color: var(--ink-dim); }

/* Footer */
.quiz__footer { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); margin-top: 14px; }
.quiz__hint { flex: 1; text-align: right; font-size: 13px; color: var(--ink-dim); letter-spacing: 0.04em; }

/* ── Report ───────────────────────────────────────────────── */
.report__header { margin-bottom: 34px; }
.report__eyebrow { color: var(--gold); font-size: 12px; letter-spacing: 0.34em; font-weight: 600; margin: 0 0 14px; }
.report__title { font-family: var(--serif); font-size: 40px; margin: 0 0 12px; line-height: 1.25; }
.report__tagline { color: var(--ink); font-size: 15.5px; margin: 0; }
.report__assure {
  color: var(--ink-dim); font-size: 13px; line-height: 1.65; margin: 16px 0 0;
  padding: 11px 15px; background: var(--glass); border-radius: 10px; border: 1px solid var(--line);
}

/* ── 報告 HERO：心智星盤＋摘要＋分享（結論先行）────────────── */
.report__hero { text-align: center; margin-bottom: 18px; }
.starchart { max-width: 660px; margin: -10px auto 0; }
.starchart svg { width: 100%; height: auto; }
.starchart__caption { font-size: 12.5px; color: var(--ink-dim); letter-spacing: 0.08em; margin: 6px 0 30px; }
.report__hero #summary { text-align: left; }
.report__hero-cta { margin: 22px auto 0; max-width: 380px; }
.report__hero-cta .btn { width: 100%; }
.report__hero .report__assure { text-align: center; border: none; background: none; padding: 4px 0 0; }

/* 揭示儀式（D）＋持續發亮：每個元素跑兩段動畫——
   先揭示（單次），再進入無限呼吸；inline style 以「雙延遲」分別錯拍 */
.sc-star {
  transform-box: fill-box; transform-origin: center;
  animation-name: scPop, scStarPulse;
  animation-duration: 0.7s, 3.6s;
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1.25), ease-in-out;
  animation-fill-mode: both, none;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}
.sc-glow {
  transform-box: fill-box; transform-origin: center;
  animation-name: scBloom, scGlowPulse;
  animation-duration: 1s, 4.4s;
  animation-timing-function: ease, ease-in-out;
  animation-fill-mode: both, none;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}
.sc-halo {
  transform-box: fill-box; transform-origin: center;
  animation-name: scBloom, scHaloPulse;
  animation-duration: 1s, 5.2s;
  animation-timing-function: ease, ease-in-out;
  animation-fill-mode: both, none;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}
.sc-label { animation: scFadeIn 0.9s ease both; }
.sc-line {
  stroke-dasharray: 700; stroke-dashoffset: 700;
  animation: scDraw 1.6s ease 1s forwards, scLinePulse 3.8s ease-in-out 3s infinite alternate;
}
.sc-conflict {
  opacity: 0;
  animation: scFadeIn 1s ease 1.7s forwards, scDashDrift 9s linear 2.7s infinite;
}
.sc-core { transform-box: fill-box; transform-origin: center; animation: scCorePulse 3.2s ease-in-out infinite alternate; }
.sc-corehalo { transform-box: fill-box; transform-origin: center; animation: scCorePulse 3.2s ease-in-out infinite alternate; }
.sc-corona { transform-box: fill-box; transform-origin: center; animation: scCoronaPulse 3.2s ease-in-out infinite alternate; }
@keyframes scPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes scBloom { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes scFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scDraw { to { stroke-dashoffset: 0; } }
@keyframes scStarPulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.12); opacity: 0.8; } }
@keyframes scGlowPulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.34); opacity: 0.5; } }
@keyframes scHaloPulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.06); opacity: 0.55; } }
@keyframes scLinePulse { from { opacity: 1; } to { opacity: 0.55; } }
@keyframes scDashDrift { to { stroke-dashoffset: -90; } }
@keyframes scCorePulse { from { transform: scale(0.9); opacity: 0.8; } to { transform: scale(1.15); opacity: 1; } }
@keyframes scCoronaPulse { from { transform: scale(1); opacity: 0.45; } to { transform: scale(1.3); opacity: 0.95; } }
@media (prefers-reduced-motion: reduce) {
  .sc-star, .sc-glow, .sc-halo, .sc-line, .sc-conflict, .sc-core, .sc-corehalo, .sc-corona { animation: none !important; opacity: 1; stroke-dashoffset: 0; }
}

/* ── 章節導航（sticky）＋章節標 ────────────────────────────── */
.repnav {
  position: sticky; top: 0; z-index: 30;
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
  margin: 0 -8px 30px; padding: 12px 8px;
}
/* 遮罩抽到滿版偽元素（100vw，置中對齊視窗）：吸頂時淡入，沒吸頂透明
   ——連結維持內容寬度置中，遮罩左右填滿到視窗邊緣 */
.repnav::before {
  content: ""; position: absolute; inset: 0 auto 0 50%;
  width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity 0.25s ease;
}
.repnav.is-stuck::before { opacity: 1; }
.repnav a {
  color: var(--ink-dim); text-decoration: none; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.14em; padding: 7px 14px; border-radius: 999px;
  border: 1px solid transparent; transition: color 0.3s, border-color 0.3s;
}
.repnav a:hover { color: var(--ink); }
.repnav a.is-active { color: var(--gold); border-color: var(--gold-dim); background: var(--gold-soft); }
.report__chapter { scroll-margin-top: 64px; }
.chap__head {
  font-family: var(--serif); font-size: 23px; color: var(--ink-title);
  text-align: center; letter-spacing: 0.2em; margin: 72px 0 26px; position: relative;
}
.chap__head::before {
  content: "✦"; display: block; color: var(--gold-dim); font-size: 12px;
  margin: 0 auto 12px; opacity: 0.7;
}
.chap__head::after {
  content: ""; display: block; width: 64px; height: 1px; margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.report__chapter:first-of-type .chap__head { margin-top: 10px; }
.report__layer {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; margin-bottom: 24px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.layer__label { font-size: 12px; letter-spacing: 0.28em; color: var(--gold); font-weight: 600; margin: 0 0 20px; opacity: 0.9; }

.report__chart { display: flex; justify-content: center; }
#radar, #cogmap { width: 100%; max-width: 360px; height: auto; }

/* cognitive map */
.cogmap__intro { font-size: 13px; color: var(--ink-dim); line-height: 1.7; margin: 0 0 16px; }
.layer-intro { font-size: 13.5px; color: var(--ink); line-height: 1.7; margin: 0 0 16px; }
.cogmap__toggle { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-bottom: 10px; }
.cogmap__tab {
  background: transparent; border: 1px solid var(--line-strong); color: var(--ink-dim);
  border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  cursor: pointer; transition: all 0.3s;
}
.cogmap__tab:hover { color: var(--ink-title); border-color: var(--gold-dim); }
.cogmap__tab.is-on { background: var(--gold); border-color: var(--gold); color: var(--primary-text); }
.cogmap__note { width: 100%; font-size: 12px; color: var(--ink-dim); margin: 2px 0 0; }
.cogmap__explain {
  width: 100%; margin: 10px 0 2px; display: flex; flex-direction: column; gap: 9px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
}
.cogmap__explain-row { display: flex; flex-direction: column; gap: 2px; }
.cogmap__explain-k { font-size: 12px; font-weight: 600; color: var(--gold); letter-spacing: 0.1em; }
.cogmap__explain-t { font-size: 12.5px; line-height: 1.72; color: var(--ink-dim); }
.cogmap__legend { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 10px 0 16px; }
.cogmap__legend .legend-item { font-size: 12px; }
.cogmap__order-label { font-size: 11.5px; color: var(--ink-dim); font-weight: 600; letter-spacing: 0.2em; margin: 0 0 10px; }
.cogmap__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.cogmap__chip { display: inline-flex; align-items: center; gap: 6px; background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px 5px 7px; font-size: 12.5px; color: var(--ink); }
.cogmap__rank { width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink-dim); display: grid; place-items: center; font-size: 10px; font-weight: 600; }
.cogmap__dot { width: 8px; height: 8px; border-radius: 50%; }
.cogmap__pct { color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.radar__legend { display: flex; justify-content: center; gap: 22px; margin: 12px 0 18px; flex-wrap: wrap; }
.legend-item { font-size: 13px; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.swatch { width: 18px; height: 10px; border-radius: 3px; }
.swatch--pref { width: 12px; height: 12px; border-radius: 50%; background: transparent; border: 2px solid var(--gold); box-sizing: border-box; }
.swatch--dev { width: 12px; height: 12px; border-radius: 50%; background: var(--dev); }

/* bars intro */
.bars__intro { background: transparent; border: none; border-left: 2px solid var(--gold-dim); border-radius: 0; padding: 2px 0 2px 16px; margin-bottom: 24px; }
.bars__intro-line { font-size: 13px; color: var(--ink-dim); margin: 0 0 10px; }
.bars__defs { display: flex; flex-direction: column; gap: 7px; margin-bottom: 10px; }
.bars__def { display: flex; gap: 9px; align-items: baseline; font-size: 13.5px; color: var(--ink); }
.bars__def-k { flex: none; font-weight: 600; font-size: 12.5px; padding: 2px 10px; border-radius: 6px; letter-spacing: 0.04em; }
.bars__def-k--pref { color: var(--gold); border: 1px solid var(--gold-dim); }
.bars__def-k--dev { color: #0F172A; background: var(--dev); }
.bars__def-k--health { color: #0F172A; background: var(--warn); }
.bars__def-t { line-height: 1.5; }
.bars__intro-note { font-size: 12px; color: var(--ink-dim); margin: 0; line-height: 1.6; opacity: 0.82; }
.bars__group { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; color: var(--ink-title); margin: 24px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }

/* bars（啞鈴圖） */
.barrow { margin-bottom: 22px; }
.barrow__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 3px; }
.barrow__fn { font-size: 15px; font-weight: 600; color: var(--ink-title); padding-left: 10px; border-left: 2px solid var(--c, var(--line)); }
.barrow__gap { font-size: 12px; color: var(--ink-dim); }
.barrow__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; font-size: 12px; color: var(--ink-dim); margin: 0 0 8px 12px; }
.barrow__dim { color: var(--ink); font-weight: 600; }
.barrow__q { color: var(--ink-dim); }
.barrow__focus { color: var(--ink-dim); }
.barrow__focus::before { content: "· "; }
.barrow__track { position: relative; height: 16px; background: var(--glass-2); border-radius: 8px; }
.barrow__track--db { background: transparent; height: 20px;
  background-image: linear-gradient(var(--line-strong), var(--line-strong)); background-size: 100% 1px; background-position: 0 50%; background-repeat: no-repeat; border-radius: 0; }
.db__seg { position: absolute; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 2px; opacity: 0.4; }
.db__dot { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translate(-50%, -50%); z-index: 2; }
.db__dot--pref { background: var(--bg); border: 2px solid; box-sizing: border-box; z-index: 3; }
.db__val { position: absolute; top: 100%; transform: translateX(-50%); margin-top: 6px; font-size: 11px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; z-index: 4; }
.barrow:hover .db__val { opacity: 1; }
.barrow__health { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px solid var(--warn); transform: translateX(-1px); z-index: 2; }
.barrow__health::before { content: ""; position: absolute; top: -5px; left: -4px; width: 7px; height: 7px; background: var(--warn); transform: rotate(45deg); }
.barrow__nums { display: flex; gap: 14px; font-size: 11.5px; color: var(--ink-dim); margin-top: 6px; transition: opacity 0.3s ease; }
@media (hover: hover) { .barrow:hover .barrow__nums { opacity: 0; } }
@media (hover: none) { .barrow .db__val { display: none; } }
.barrow__num-h { color: var(--warn); }
.swatch--health { background: transparent; position: relative; }
.swatch--health::before { content: ""; position: absolute; left: 5px; top: 1px; width: 8px; height: 8px; background: var(--warn); transform: rotate(45deg); }
.barrow__warn { font-size: 12px; color: var(--warn); margin: 6px 0 0 12px; line-height: 1.5; }

/* shadow */
.shadowbars { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.shadowbar__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.shadowbar__fn { font-size: 14px; font-weight: 600; }
.shadowbar__n { font-size: 12px; color: var(--ink-dim); }
.shadowbar__track { height: 10px; background: var(--glass-2); border-radius: 5px; overflow: hidden; }
.shadowbar__fill { height: 100%; border-radius: 5px; opacity: 0.75; min-width: 3px; }

/* data-driven prose */
.prose { font-size: 14.5px; color: var(--ink); line-height: 1.75; margin: 16px 0 0; }
.prose--dim { color: var(--ink-dim); font-size: 13.5px; margin-top: 8px; }
.stack__line--em { margin-top: 10px; color: var(--ink-title); background: var(--glass); border-left: 1px solid var(--gold-dim); padding: 13px 15px; border-radius: 0 10px 10px 0; }

/* state chart */
.ssc { display: flex; flex-direction: column; gap: 6px; }
.ssc__row { display: grid; grid-template-columns: 84px 1fr 1fr 1fr 52px; align-items: center; gap: 8px; }
.ssc__row--head { font-size: 11px; color: var(--ink-dim); letter-spacing: 0.1em; }
.ssc__fn { font-size: 12.5px; color: var(--ink); }
.ssc__cell { font-size: 11px; color: var(--ink); display: flex; align-items: center; gap: 5px; min-width: 0; }
.ssc__minibar { height: 7px; border-radius: 4px; min-width: 2px; opacity: 0.75; }
.ssc__val { font-size: 10.5px; color: var(--ink-dim); white-space: nowrap; }
.ssc__delta { justify-content: flex-end; font-weight: 700; font-size: 13px; }
.ssc__delta.up { color: var(--warn); }
.ssc__delta.down { color: var(--dev); }
.ssc__delta.flat { color: var(--ink-dim); }

/* function stack */
.stack { display: flex; flex-direction: column; }
.stack__item { display: flex; gap: 14px; }
.stack__gap { width: 30px; text-align: center; color: var(--ink-dim); opacity: 0.5; font-size: 16px; line-height: 1; margin: 2px 0; letter-spacing: 0.1em; }
.stack__item--low { opacity: 0.85; }
.voice { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.voice__k { font-size: 11.5px; font-weight: 600; color: var(--ink-dim); margin: 2px 0 0; letter-spacing: 0.18em; }
.voice__says { display: flex; flex-wrap: wrap; gap: 6px; }
.voice__say { font-size: 13px; color: var(--ink-title); background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; line-height: 1.5; }
.voice__scenes { display: flex; flex-direction: column; gap: 5px; }
.voice__scene { display: flex; gap: 9px; align-items: baseline; }
.voice__scene-tag { flex: none; width: 2.6em; font-size: 12px; font-weight: 600; color: var(--gold); }
.voice__scene-t { font-size: 13.5px; color: var(--ink); line-height: 1.6; }
.voice__gc { display: flex; gap: 10px; }
.voice__gc-col { flex: 1; background: var(--glass); border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; }
.voice__gc-k { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; margin: 0 0 3px; }
.voice__gc-k--gift { color: var(--gold); }
.voice__gc-k--cost { color: var(--warn); }
.voice__gc-t { font-size: 13px; color: var(--ink); line-height: 1.6; margin: 0; }

/* conflict */
.conflict { background: var(--glass); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.conflict__title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink-title); text-align: center; margin: 0 0 16px; letter-spacing: 0.04em; }
.conflict__sides { display: flex; align-items: stretch; gap: 10px; margin-bottom: 16px; }
.conflict__side { flex: 1; padding: 13px 14px; border-radius: 11px; background: rgba(7,11,20,0.5); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.conflict__side-fn { font-size: 13px; font-weight: 600; }
.conflict__side-t { font-size: 14px; color: var(--ink-title); line-height: 1.65; margin: 0; font-family: var(--serif); font-style: italic; }
.conflict__vs { align-self: center; flex: none; font-size: 11px; font-weight: 700; color: var(--gold-dim); letter-spacing: 0.2em; }
.conflict__body { font-size: 14.5px; color: var(--ink); line-height: 1.85; margin: 0; }
@media (max-width: 480px) { .conflict__sides { flex-direction: column; } .conflict__vs { transform: rotate(90deg); } }

/* usage（紅黃綠燈） */
.usage__list { display: flex; flex-direction: column; gap: 10px; }
.usage__row { background: var(--glass); border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; }
.usage__row.is-red { border-color: rgba(184,92,92,0.5); background: rgba(184,92,92,0.07); }
.usage__row.is-yellow { border-color: rgba(200,136,74,0.45); background: rgba(200,136,74,0.06); }
.usage__head { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
/* 紅黃綠燈：CSS 圓點（去 emoji） */
.usage__light { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.usage__light--red { background: #C0524C; box-shadow: 0 0 9px rgba(192, 82, 76, 0.55); }
.usage__light--yellow { background: #C8A24A; box-shadow: 0 0 9px rgba(200, 162, 74, 0.5); }
.ulight {
  width: 9px; height: 9px; border-radius: 50%; display: inline-block;
  margin-right: 9px; vertical-align: 1px;
}
.ulight--green { background: #5E8C61; box-shadow: 0 0 8px rgba(94, 140, 97, 0.5); }
.usage__fn { font-size: 14px; font-weight: 600; }
.usage__label { font-size: 12px; color: var(--ink-dim); font-weight: 600; letter-spacing: 0.08em; }
.usage__over { margin: 0; padding-left: 20px; font-size: 13.5px; color: var(--ink); line-height: 1.65; }
.usage__over li { margin-bottom: 3px; }
.usage__green { font-size: 13px; color: var(--ink-dim); margin: 12px 0 0; line-height: 1.6; }

/* narrative */
.narr { display: flex; flex-direction: column; gap: 14px; }
.narr__p { font-size: 15.5px; color: var(--ink-title); line-height: 2; margin: 0; }
.narr__p--dim { font-size: 13px; color: var(--ink-dim); line-height: 1.6; font-style: italic; }
.narr__p--turn { color: var(--ink-title); background: var(--glass); border-left: 1px solid var(--gold); padding: 14px 17px; border-radius: 0 12px 12px 0; }

/* summary card（人格摘要卡＝壓軸金卡） */
.sumcard {
  background: linear-gradient(165deg, rgba(214,177,109,0.10), rgba(255,255,255,0.02) 55%);
  border: 1px solid var(--gold-dim); border-radius: var(--radius); padding: 26px 24px;
}
.sumcard__title { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink-title); margin: 0 0 18px; text-align: center; letter-spacing: 0.1em; }
.sumcard__grid { display: flex; flex-direction: column; gap: 0; }
.sumcard__row { display: flex; gap: 14px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.sumcard__row:last-child { border-bottom: none; }
.sumcard__k { flex: none; width: 5.2em; font-size: 13px; font-weight: 600; color: var(--ink-dim); letter-spacing: 0.06em; }
.sumcard__v { font-size: 14.5px; color: var(--ink-title); font-weight: 600; line-height: 1.5; }
.sumcard__oneliner {
  margin: 18px 0 0; padding-top: 17px; border-top: 1px dashed var(--gold-dim);
  font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--gold); text-align: center; letter-spacing: 0.06em;
}
.stack__item--low .stack__dot { opacity: 0.8; }
.stack__rail { display: flex; flex-direction: column; align-items: center; flex: none; width: 30px; }
.stack__dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.stack__arrow { flex: 1; color: var(--ink-dim); font-size: 16px; line-height: 1; padding: 4px 0; min-height: 28px; display: flex; align-items: center; }
.stack__body { padding-bottom: 22px; }
.stack__head { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 4px; flex-wrap: wrap; }
.stack__fn { font-size: 17px; font-weight: 700; }
.stack__role { font-size: 13px; color: var(--ink); font-weight: 600; letter-spacing: 0.1em; }
.stack__meta { font-size: 12px; color: var(--ink-dim); margin: 0 0 7px; }
.stack__line { font-size: 14.5px; color: var(--ink); margin: 0; line-height: 1.7; }
.stack__practice-label { font-size: 13px; color: var(--ink-dim); font-weight: 600; margin: 12px 0 6px; }
.stack__practices { margin: 0; padding-left: 20px; color: var(--ink); font-size: 14px; }
.stack__practices li { margin-bottom: 5px; }

/* insight blocks */
.insight { background: var(--glass); border-left: 1px solid var(--gold); border-radius: 0 10px 10px 0; padding: 14px 16px; margin-top: 16px; font-size: 14.5px; line-height: 1.75; color: var(--ink-title); }

/* dichotomy 四維 */
.dich { display: flex; flex-direction: column; gap: 18px; margin: 4px 0 18px; }
.dich__row { display: flex; flex-direction: column; gap: 7px; }
.dich__head { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.dich__letter { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--gold); letter-spacing: 0.04em; }
.dich__tier { font-size: 13px; color: var(--ink-dim); }
.dich__tier--weak { opacity: 0.75; font-style: italic; }
.dich__track { display: flex; align-items: center; gap: 10px; }
.dich__pole { font-size: 12px; color: var(--ink-dim); white-space: nowrap; min-width: 56px; }
.dich__pole--r { text-align: right; }
.dich__bar { position: relative; flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.dich__bar::before { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: var(--line-strong); }
.dich__mark { position: absolute; top: 50%; width: 13px; height: 13px; border-radius: 50%;
  background: var(--ink-dim); transform: translate(-50%, -50%); transition: left 0.8s var(--ease); }
.dich__mark.is-right { background: var(--gold); box-shadow: 0 0 14px -2px var(--gold); }
.dich__type { font-size: 26px; font-weight: 800; letter-spacing: 0.18em; color: var(--ink-title);
  margin: 4px 0 18px; padding: 12px 16px; background: var(--glass); border-radius: 12px; text-align: center; }

/* 偏好 × 把握度 四象限 */
.quad__svg { width: 100%; max-width: 380px; display: block; margin: 0 auto 6px; }
.quad__box { fill: none; stroke: rgba(255,255,255,0.10); }
.quad__cross { stroke: rgba(214,177,109,0.30); stroke-dasharray: 4 4; stroke-width: 1; }
.quad__corner { fill: var(--ink-dim); font-size: 11px; font-weight: 600; opacity: 0.8; }
.quad__dotlabel { font-size: 11px; font-weight: 700; }
.quad__axis { fill: var(--ink-dim); font-size: 10.5px; }
.quad__note { font-size: 12.5px; color: var(--ink-dim); margin: 0 0 14px; text-align: center; }
.quad__cards { display: flex; flex-direction: column; }
.quad__card { padding: 12px 0; border-top: 1px solid var(--line); }
.quad__card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 5px; }
.quad__card-k { font-size: 14px; font-weight: 600; color: var(--ink-title); white-space: nowrap; }
.quad__chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.quad__chip { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; border: 1px solid; opacity: 0.92; }
.quad__empty { font-size: 12px; color: var(--ink-dim); }
.quad__card-desc { font-size: 13px; color: var(--ink-dim); line-height: 1.55; margin: 0; }

/* blueprint */
.blueprint__line { font-size: 15px; color: var(--ink); margin: 0 0 10px; line-height: 1.6; }
.blueprint__line:last-child { margin-bottom: 0; }
.blueprint__synth { font-size: 15.5px; color: var(--ink-title); line-height: 1.9; margin: 0 0 24px; }
.blueprint__sub { font-size: 12px; letter-spacing: 0.24em; color: var(--gold); font-weight: 600; margin: 0 0 14px; opacity: 0.9; }
.fivey { display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; }
.fivey__item { position: relative; padding: 0 0 18px 20px; border-left: 1px solid var(--line); }
.fivey__item:last-child { padding-bottom: 0; }
.fivey__item::before { content: ""; position: absolute; left: -5px; top: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.fivey__when { font-size: 14px; font-weight: 700; color: var(--ink-title); margin: 0 0 5px; }
.fivey__body { font-size: 14px; color: var(--ink); line-height: 1.7; margin: 0; }
.plan { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.plan__block { background: var(--glass); border: 1px solid var(--line); border-radius: 12px; padding: 15px 17px; }
.plan__k { font-size: 14px; font-weight: 600; color: var(--ink-title); margin: 0 0 7px; letter-spacing: 0.04em; }
.plan__t { font-size: 14px; color: var(--ink); line-height: 1.78; margin: 0; }
.plan__starter { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--gold-dim); background: var(--gold-soft); margin: 2px 0 4px; }
.plan__starter-tag { flex: none; font-size: 12px; font-weight: 600; color: var(--gold); white-space: nowrap; padding-top: 1px; letter-spacing: 0.08em; }
.plan__starter-t { font-size: 14px; color: var(--ink-title); line-height: 1.7; }
.plan__sub2 { font-size: 13px; font-weight: 600; color: var(--ink-dim); margin: 12px 0 4px; }
.plan__list { margin: 0; padding-left: 20px; color: var(--ink); font-size: 14px; line-height: 1.6; }
.plan__list li { margin-bottom: 5px; }
.plan__note { font-size: 13px; color: var(--ink-dim); line-height: 1.65; margin: 11px 0 0; font-style: italic; }
.blueprint__flat { font-size: 13.5px; color: var(--ink); line-height: 1.7; margin: 0 0 14px; padding: 12px 15px;
  background: rgba(200,136,74,0.08); border: 1px solid rgba(200,136,74,0.4); border-radius: 11px; }
.plan--confidence { margin-top: 12px; }
.plan__block.is-confidence { border-color: var(--gold-dim); background: var(--gold-soft); }
.plan__block.is-confidence .plan__k { color: var(--gold); }
.plan__block.is-confidence .plan__t { margin-bottom: 8px; }
.plan__block.is-confidence .plan__t:last-child { margin-bottom: 0; }
.blueprint__close { font-size: 14px; color: var(--ink-dim); line-height: 1.7; margin: 0; font-style: italic; }

.report__footer { display: flex; gap: 12px; margin-top: 16px; }
.report__footer .btn { flex: 1; }

/* ══ 分層閱讀：30 秒卡＋摺疊區＋章結論 ══════════════════════ */
.glance {
  margin: 26px auto 6px; max-width: 660px; padding: 24px 26px 20px;
  border: 1px solid rgba(214,177,109,0.4); border-radius: var(--radius);
  background: var(--gold-soft); text-align: left;
}
.glance__title { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.3em; color: var(--gold); font-weight: 600; }
.glance__row { margin: 10px 0 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-title); }
.glance__k {
  display: inline-block; margin-right: 10px; padding: 1px 8px; border-radius: 99px;
  border: 1px solid var(--gold-dim); color: var(--gold); font-size: 12px; white-space: nowrap;
}
.glance__hint { margin: 16px 0 0; font-size: 12.5px; color: var(--ink-dim); }
.sumcard__glance { margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); text-align: left; }
.sumcard__oneliner--top { margin: 0 0 18px !important; font-size: 17px; }
.chap__lede {
  max-width: 600px; margin: -4px auto 30px; text-align: center;
  font-family: var(--serif); font-size: 17.5px; line-height: 1.8; color: var(--ink-title);
  font-style: italic; letter-spacing: 0.02em;
}

/* ══ 兩個人 ｜ 契合度 ══════════════════════════════════════ */
/* 首頁邀請橫幅——強 CTA：hero 級置中卡片＋金光呼吸 */
.invitebar {
  margin: 30px 0 6px; padding: 40px 28px 38px; text-align: center;
  border: 1px solid rgba(214,177,109,0.55); border-radius: var(--radius);
  background:
    radial-gradient(ellipse 70% 90% at 50% -20%, rgba(214,177,109,0.16), transparent 70%),
    var(--gold-soft);
  animation: inviteGlow 3.2s ease-in-out infinite alternate;
}
@keyframes inviteGlow {
  from { box-shadow: 0 0 18px rgba(214,177,109,0.10), inset 0 0 24px rgba(214,177,109,0.04); }
  to   { box-shadow: 0 0 42px rgba(214,177,109,0.26), inset 0 0 36px rgba(214,177,109,0.08); }
}
.invitebar__eyebrow { margin: 0 0 14px; font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dim); font-weight: 600; }
.invitebar__t { margin: 0 0 14px; font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ink-title); letter-spacing: 0.02em; }
.invitebar__d { margin: 0 auto; max-width: 560px; color: var(--ink); font-size: 14.5px; line-height: 1.85; }
.invitebar__btn { margin-top: 24px; padding: 14px 34px; font-size: 15.5px; }
@media (max-width: 480px) { .invitebar__t { font-size: 24px; } }

/* 受邀完成 → 一鍵生成 CTA（報告頁頂） */
.pair-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 0 0 34px; padding: 18px 22px; border: 1px solid rgba(214,177,109,0.4); border-radius: var(--radius); background: var(--gold-soft); }
.pair-cta__t { flex: 1; min-width: 220px; margin: 0; color: var(--ink-title); font-size: 14.5px; line-height: 1.7; }

/* 報告內配對入口 */
.pairentry { display: grid; gap: 16px; margin-top: 20px; }
.pairentry__opt { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: var(--glass); }
.pairentry__t { margin: 0 0 6px; color: var(--ink-title); font-weight: 600; font-size: 15px; }
.pairentry__d { margin: 0 0 14px; color: var(--ink-dim); font-size: 13.5px; line-height: 1.7; }
.pairentry__row { display: flex; gap: 10px; flex-wrap: wrap; }
.pairentry__input { flex: 1; min-width: 200px; background: rgba(248,245,240,0.04); border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 14px; color: var(--ink-title); font-size: 14px; font-family: inherit; }
.pairentry__input:focus { outline: none; border-color: var(--gold); }
.pairentry__input::placeholder { color: var(--ink-dim); }
.pairentry__hint { min-height: 1.2em; margin: 0; font-size: 13px; color: var(--warn); }

/* 雙人報告 */
/* 背景光場：左＝A 主導功能色、右＝B，中間漸層交融。
   固定底層（z-index:-1，html 底色之上、內容之下）、透明度壓很低，
   再疊一層整體加深，確保前景文字可讀性不受影響。 */
/* 注意：body::before/::after 已被星空與曼陀羅水印佔用，光場掛在 #app::before。
   兩端用「原色混深黑」保飽和（混透明會變濁），往中間收黑、露出原本的深底與星空。 */
body.is-pair #app::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg,
    color-mix(in srgb, var(--pair-a, #070B14) 52%, #05080F) 0%,
    color-mix(in srgb, var(--pair-a, #070B14) 20%, #04060C) 22%,
    #03050A 42%, #03050A 58%,
    color-mix(in srgb, var(--pair-b, #070B14) 20%, #04060C) 78%,
    color-mix(in srgb, var(--pair-b, #070B14) 52%, #05080F) 100%);
}
.pair__legend { margin: 14px 0 0; font-size: 12.5px; letter-spacing: 0.12em; color: var(--ink-dim); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo__card { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: var(--glass); }
.duo__card--a { border-color: rgba(214,177,109,0.35); }
.duo__who { margin: 0 0 4px; font-size: 12px; letter-spacing: 0.3em; color: var(--ink-dim); }
.duo__title { margin: 0 0 12px; font-family: var(--serif); font-size: 21px; font-weight: 600; }
.duo__line { margin: 6px 0 0; font-size: 13.5px; color: var(--ink); line-height: 1.7; }
.duo__line--dim { color: var(--ink-dim); }
.pairblock { margin: 30px 0 0; padding: 2px 0 2px 18px; border-left: 2px solid rgba(214,177,109,0.35); }
.pair-journey-intro { margin-bottom: 40px; }

/* 三幕里程碑：每幕卡右上角一個雅緻的大數字（天體感、低調） */
#psec-act1, #psec-act2, #psec-act3 { position: relative; overflow: hidden; }
#psec-act1::after, #psec-act2::after, #psec-act3::after {
  position: absolute; top: 8px; right: 22px; z-index: 0;
  font-family: var(--serif); font-size: 92px; line-height: 1; font-style: italic;
  color: rgba(214,177,109,0.06); pointer-events: none;
}
#psec-act1::after { content: "Ⅰ"; }
#psec-act2::after { content: "Ⅱ"; }
#psec-act3::after { content: "Ⅲ"; }
#psec-act1 > *, #psec-act2 > *, #psec-act3 > * { position: relative; z-index: 1; }

/* 榮格引言：強化為 pull-quote（前後天體破折，置中襯線） */
.prose--epigraph::before { content: "✦"; display: block; color: var(--gold-dim); font-size: 11px; margin-bottom: 10px; opacity: 0.7; }
.pairblock--loop { border-left-color: var(--warn); }
.pairblock--loop .pairblock__head { color: var(--warn); }
.pairblock--intro {
  margin: 8px 0 0; padding: 22px 24px; border-left: none; border-radius: var(--radius);
  border: 1px solid rgba(214,177,109,0.28); background: var(--gold-soft);
}
.pairblock--slim { margin-top: 22px; }
.pairblock__head { margin: 0 0 4px; font-weight: 600; font-size: 15px; color: var(--ink-title); letter-spacing: 0.04em; }
.pairblock__warn { color: var(--warn); }
.pairblock__do { color: var(--gold); }
.pairvs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0 4px; }
.pairvs__col { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--glass); }
.pairvs__who { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; }
.pairvs__q { margin: 10px 0 0; font-size: 13.5px; line-height: 1.75; color: var(--ink); }
.pairvs__q--honey { color: var(--ink-title); }
.pairvs__q--later { color: var(--ink-dim); }
.prose--epigraph { margin-top: 28px; font-style: italic; color: var(--gold-dim); text-align: center; font-size: 13.5px; }
.pairscene { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--glass); }
.pairscene__t { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-title); }
.pairscene__d { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--ink); }
.pairscene__fix { margin: 10px 0 0; font-size: 13.5px; line-height: 1.75; color: var(--gold); }

@media (max-width: 640px) {
  .duo, .pairvs { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .land__hero { grid-template-columns: 1fr; padding: 48px 0 72px; gap: 8px; }
  .land__hero-orbit { order: -1; max-width: 240px; opacity: 0.7; margin-bottom: 6px; }
  .land__headline { font-size: 52px; }
  .land__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .land__grid--three { grid-template-columns: 1fr; gap: 32px; max-width: 420px; }
  .land__features, .land__assess { padding-bottom: 0; margin-bottom: 80px; }
  .land__assess { padding: 34px 22px; }
}
@media (max-width: 480px) {
  .land__headline { font-size: 42px; }
  .land__h2 { font-size: 28px; }
  .q__text { font-size: 22px; }
  .report__title { font-size: 32px; }
  .ssc__row { grid-template-columns: 70px 1fr 1fr 1fr 44px; }
}
