/* PneumaTheorem / LADE — site.css（2026-11-11 新站）
 *
 * 配色（改的話只改這一段）：
 *   夜（深色，預設跟系統）：墨藍黑的底、銀白的字、她眼睛的薰衣草紫當重點色、青銅（舊站的品牌色）留給工作室的小地方。
 *   紙（淺色）：暖白的紙、墨色的字、深一點的紫與青銅。
 *   大圖（主視覺）上的字永遠是淺的 —— 圖本身是夜景，不跟著深淺色走。
 * 舊站的原則「底色不帶彩度」放寬成「底色只帶一點點冷色」：LADE 是夜的世界，純灰的底跟圖接不起來。
 *
 * 深淺色：預設跟系統；右下角的切換鈕改 <html data-theme>，【不存】（隱私頁寫了本站不存任何東西）。
 * 不用 light-dark()：Safari 17.5 以前不支援（舊站 iOS 16 踩過，按鈕變成看起來壞掉的連結）。
 */

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/Cinzel-Variable-latin.woff') format('woff');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/CormorantGaramond-Regular.woff2') format('woff2');
}

:root {
  --bg:        #f4f2ee;
  --bg-2:      #ebe7e1;
  --surface:   #fbfaf8;
  --text:      #1b1a20;
  --muted:     #5c5865;
  --faint:     #8b8693;
  --line:      #d9d3cb;
  --accent:    #5b49a6;
  --accent-2:  #7a67c4;
  --on-accent: #ffffff;
  --bronze:    #94573b;
  --dot:       rgba(27, 26, 32, 0.28);
  --shadow:    0 1px 0 rgba(0, 0, 0, 0.04), 0 12px 32px -18px rgba(40, 30, 70, 0.28);
  --nav-bg:    rgba(244, 242, 238, 0.82);
  color-scheme: light;

  --max:   1120px;
  --text-w: 680px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;

  --font-display: 'Cinzel', 'Cormorant Garamond', 'Hiragino Mincho ProN', 'Songti TC', 'Noto Serif CJK TC', Georgia, serif;
  --font-serif:   'Cormorant Garamond', 'Hiragino Mincho ProN', 'Songti TC', 'Noto Serif CJK TC', Georgia, serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang TC', 'Hiragino Sans', 'Noto Sans CJK TC', 'Microsoft JhengHei', 'Segoe UI', sans-serif;
}
:root:lang(ja) {
  --font-body: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans CJK JP', 'Yu Gothic', 'Segoe UI', sans-serif;
  --font-serif: 'Cormorant Garamond', 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif CJK JP', Georgia, serif;
  --font-display: 'Cinzel', 'Cormorant Garamond', 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif CJK JP', Georgia, serif;
}

/* 夜 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #0c0d12;
    --bg-2:      #11121a;
    --surface:   #161722;
    --text:      #ebe8f2;
    --muted:     #a6a1b2;
    --faint:     #767283;
    --line:      #262735;
    --accent:    #b8a6f3;
    --accent-2:  #d3c8fb;
    --on-accent: #15121f;
    --bronze:    #d29b78;
    --dot:       rgba(235, 232, 242, 0.30);
    --shadow:    0 1px 0 rgba(255, 255, 255, 0.03), 0 16px 40px -20px rgba(0, 0, 0, 0.8);
    --nav-bg:    rgba(12, 13, 18, 0.72);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg:        #0c0d12;
  --bg-2:      #11121a;
  --surface:   #161722;
  --text:      #ebe8f2;
  --muted:     #a6a1b2;
  --faint:     #767283;
  --line:      #262735;
  --accent:    #b8a6f3;
  --accent-2:  #d3c8fb;
  --on-accent: #15121f;
  --bronze:    #d29b78;
  --dot:       rgba(235, 232, 242, 0.30);
  --shadow:    0 1px 0 rgba(255, 255, 255, 0.03), 0 16px 40px -20px rgba(0, 0, 0, 0.8);
  --nav-bg:    rgba(12, 13, 18, 0.72);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:lang(zh-Hant) body, body:lang(zh-Hant), body:lang(ja) { line-height: 1.85; letter-spacing: 0.02em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 500; line-height: 1.2; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
/* 日文、中文的標題不要在詞中間斷行（Chrome 的 auto-phrase；Safari 至少平衡兩行） */
h1:lang(ja), h2:lang(ja), h1:lang(zh-Hant), h2:lang(zh-Hant) { word-break: auto-phrase; text-wrap: balance; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ── 導覽列 ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: 60px; display: flex; align-items: center; gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex: none; }
.nav-logo img { width: 26px; height: 28px; }
:root[data-theme="dark"] .nav-logo img { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav-logo img { filter: invert(1); } }
.nav-logo span { font: 500 21px/1 var(--font-serif); letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a, .nav-lang a {
  color: var(--muted); text-decoration: none; font-size: 14px; letter-spacing: 0.04em;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-lang a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); border-bottom-color: var(--bronze); }
.nav-lang { display: flex; gap: 10px; padding-left: 18px; border-left: 1px solid var(--line); }
.nav-lang a[aria-current="true"] { color: var(--text); }
@media (max-width: 640px) {
  .nav-logo span { display: none; }
  .nav-inner { gap: 14px; }
  .nav-links { gap: 14px; }
  .nav-lang { gap: 8px; padding-left: 12px; }
  .nav-links a, .nav-lang a { font-size: 13px; }
}

/* ── 點陣 —— App 介面的語彙（時鐘、時辰軸都是點），網站拿來當分隔與編號 ── */
.dots {
  height: 4px; border: 0; margin: 0;
  background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.6px);
  background-size: 9px 4px; background-repeat: repeat-x; background-position: left center;
}
.eyebrow {
  font: 600 12px/1.4 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bronze); margin: 0 0 14px;
}
.eyebrow::before {
  content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; margin-right: 10px; vertical-align: 1px;
}

/* ── 主視覺 ── */
.hero {
  position: relative; isolation: isolate; color: #f1eef7;
  min-height: min(94vh, 860px); display: flex; align-items: flex-end;
  padding: 120px 0 clamp(48px, 8vh, 96px);
  background: #0c0d12;
}
.hero picture, .hero picture img {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  object-fit: cover; object-position: 50% 22%;
}
/* 視差的主視覺（2026-11-13，build.py 的 hero_art、assets/js/hero.js）：四張同一個取景的圖疊在一起。
   每一層的 picture 照上面那一條（absolute、cover）—— 背景、她、眨眼對得齊，靠的就是它們用同一個 object-fit 與 object-position。 */
.hero-art { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-art .layer { position: absolute; inset: 0; transform: scale(1.06); will-change: transform; }
.hero-art .blink { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .hero-art .layer { transform: none; will-change: auto; } }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 9, 14, 0.86) 0%, rgba(8, 9, 14, 0.55) 34%, rgba(8, 9, 14, 0) 62%),
    linear-gradient(0deg, rgba(8, 9, 14, 0.85) 0%, rgba(8, 9, 14, 0) 42%);
}
.hero-inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hero-copy { max-width: 560px; }
.hero .eyebrow { color: #e3b291; }
.hero h1 { font: 500 clamp(36px, 5.2vw, 62px)/1.12 var(--font-serif); letter-spacing: 0.005em; margin-bottom: 18px; }
.hero h1:lang(zh-Hant), .hero h1:lang(ja) { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.3; }
.hero .lede { font-size: clamp(17px, 1.6vw, 19px); color: rgba(241, 238, 247, 0.86); margin-bottom: 28px; }
@media (max-width: 760px) {
  .hero { min-height: 92vh; align-items: flex-end; }
  .hero picture img { object-position: 66% 14%; }
  .hero::after { background: linear-gradient(0deg, rgba(8, 9, 14, 0.94) 0%, rgba(8, 9, 14, 0.7) 45%, rgba(8, 9, 14, 0.05) 75%); }
}

/* LADE 的字標 —— 跟 App 的日期（WEDNESDAY）同一套：Cinzel、寬字距 */
.hero .wordmark, .wordmark {
  font: 500 clamp(64px, 11vw, 132px)/1 var(--font-display); letter-spacing: 0.32em;
  margin: 0 0 10px; padding-left: 0.32em; text-transform: uppercase;  /* 字距會多出最後一格，左邊補一樣多才置中 */
}
/* 字標下面那一行：產品名的後半（LADE Aquarium —— 2026-11-13）。跟 dateline 同一種寬字距，大一點 */
.wordmark-sub {
  display: block; font: 500 clamp(15px, 2vw, 24px)/1.2 var(--font-display); letter-spacing: 0.6em;
  padding-left: 0.6em; margin-top: 14px; opacity: 0.9;
}
.dateline {
  font: 500 clamp(12px, 1.2vw, 14px)/1.6 var(--font-display); letter-spacing: 0.34em;
  text-transform: uppercase; color: rgba(241, 238, 247, 0.78);
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.dateline::before, .dateline::after { content: ''; height: 1px; flex: 0 0 34px; background: currentColor; opacity: 0.6; }
.hero-center { text-align: center; }
.hero-center .hero-copy { margin: 0 auto; max-width: 640px; }
.hero-center .dateline { justify-content: center; }
@media (max-width: 560px) { .dateline { flex-wrap: wrap; gap: 6px 10px; letter-spacing: 0.24em; } .dateline::before, .dateline::after { display: none; } }
.hero-lade { min-height: min(100vh, 920px); }
.hero-lade picture img { object-position: 50% 18%; }
@media (max-width: 760px) { .hero-lade picture img { object-position: 46% 12%; } }
.hero.hero-center::after {
  background: linear-gradient(0deg, rgba(8, 9, 14, 0.95) 0%, rgba(8, 9, 14, 0.78) 34%, rgba(8, 9, 14, 0.25) 62%, rgba(8, 9, 14, 0) 78%);
}

/* ── 按鈕 ── */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; text-decoration: none;
  font: 600 14px/1.2 var(--font-body); letter-spacing: 0.06em;
  background: var(--accent); color: var(--on-accent); border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--accent-2); color: var(--on-accent); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: inherit; }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.hero .btn { background: #e9e2ff; color: #171320; }
.hero .btn:hover { background: #ffffff; }
.hero .btn-ghost { background: transparent; color: #f1eef7; border-color: rgba(241, 238, 247, 0.6); }

/* ── 一般段落 ── */
main { display: block; }
.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 112px) var(--gutter); }
.section-tight { padding-top: 0; }
.section h2 { font: 500 clamp(28px, 3.4vw, 40px)/1.2 var(--font-serif); }
.section h2:lang(zh-Hant), .section h2:lang(ja) { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.4; }
.section .intro { max-width: var(--text-w); color: var(--muted); font-size: 18px; }
.band { background: var(--bg-2); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-rev { grid-template-columns: 1fr 1.05fr; }
.split-rev > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split-rev { grid-template-columns: 1fr; } .split-rev > :first-child { order: 0; } }
.frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #0c0d12; }
.frame img { width: 100%; }
.caption { font-size: 13px; color: var(--faint); margin-top: 10px; }

/* 卡片 */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px; position: relative;
}
.card h3 { font: 600 17px/1.35 var(--font-body); margin-bottom: 10px; letter-spacing: 0.01em; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card .num {
  display: block; font: 500 13px/1 var(--font-display); letter-spacing: 0.2em; color: var(--bronze); margin-bottom: 16px;
}
.card .tag {
  position: absolute; top: 22px; right: 20px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 3px 9px;
}
.card-link { text-decoration: none; color: inherit; display: block; transition: border-color 0.15s ease, transform 0.15s ease; }
.card-link:hover { border-color: var(--accent); color: inherit; transform: translateY(-2px); }

/* 日夜對照 */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }
.compare figure { margin: 0; }
.compare figcaption {
  font: 500 12px/1.4 var(--font-display); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-top: 10px;
}

/* 角色 */
.portrait { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); max-width: 420px; background: #0c0d12; }
.names { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 20px; color: var(--muted); font-size: 15px; }
.names b { color: var(--text); font-weight: 600; }
.quote {
  font: italic 400 clamp(20px, 2.2vw, 24px)/1.5 var(--font-serif); color: var(--text);
  border-left: 2px solid var(--bronze); padding-left: 18px; margin: 0 0 22px;
}
.quote:lang(zh-Hant), .quote:lang(ja) { font-style: normal; font-size: 18px; line-height: 1.9; }

/* 里程碑 —— 點陣的時間軸（跟 App 的時辰軸同一個樣子） */
.track { margin-top: 40px; position: relative; }
.track-bar {
  height: 4px; position: relative; margin: 0 6px;
  background-image: radial-gradient(circle, var(--dot) 1.2px, transparent 1.7px); background-size: 10px 4px;
}
.track-fill {
  position: absolute; inset: 0 auto 0 0; width: var(--fill, 0%);
  background-image: radial-gradient(circle, var(--accent) 1.6px, transparent 2px); background-size: 10px 4px;
}
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 20px; list-style: none; padding: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
.steps li { border-top: 1px solid var(--line); padding-top: 14px; }
.steps .goal { font: 500 22px/1.2 var(--font-display); letter-spacing: 0.04em; color: var(--text); display: block; }
.steps .goal small { font: 500 11px/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-left: 6px; }
.steps p { color: var(--muted); font-size: 15px; margin: 8px 0 0; }
.steps li.done .goal { color: var(--accent); }
.counter { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* 價格 */
.buy { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 820px) { .buy { grid-template-columns: 1fr; } }
.price { font: 500 clamp(40px, 5vw, 54px)/1 var(--font-display); letter-spacing: 0.02em; margin: 6px 0 8px; }
.price small { font: 400 15px/1 var(--font-body); color: var(--muted); letter-spacing: 0; margin-left: 8px; }
/* 版本與價格（2026-11-13）：名字、價格一行，說明在下面 */
.editions { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.editions li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.editions .ed-name { font-weight: 600; }
.editions .ed-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.editions p { grid-column: 1 / -1; margin: 0; font-size: 0.92em; color: var(--muted); }
.specs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs li span:first-child { color: var(--muted); }
.specs li span:last-child { text-align: right; }

/* FAQ */
.faq { max-width: 820px; margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 32px 16px 0; position: relative; font-weight: 600; font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); margin: 0 0 18px; max-width: var(--text-w); }

/* ── 文件頁（安裝、條款） ── */
.page-head { max-width: var(--max); margin: 0 auto; padding: 128px var(--gutter) 28px; }
.page-head h1 { font: 500 clamp(32px, 4.4vw, 50px)/1.15 var(--font-serif); }
.page-head h1:lang(zh-Hant), .page-head h1:lang(ja) { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.35; }
.page-head .lede { color: var(--muted); max-width: var(--text-w); font-size: 18px; }
.doc { max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter) 96px; }
.doc-body { max-width: var(--text-w); }
.doc-body h2 { font: 600 20px/1.35 var(--font-body); margin: 44px 0 12px; }
.doc-body ul, .doc-body ol { padding-left: 1.3em; }
.doc-body li { margin-bottom: 8px; }
.notice {
  border: 1px solid var(--line); border-left: 3px solid var(--bronze); background: var(--surface);
  border-radius: 10px; padding: 16px 18px; color: var(--muted); font-size: 15px; margin: 0 0 28px; max-width: var(--text-w);
}
.notice strong { color: var(--text); }
.steps-big { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: s; max-width: var(--text-w); }
.steps-big li { counter-increment: s; position: relative; padding: 0 0 26px 58px; }
.steps-big li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; font: 500 16px/1 var(--font-display); color: var(--bronze); background: var(--surface);
}
.steps-big h3 { font: 600 17px/1.4 var(--font-body); margin: 6px 0 6px; }
.steps-big p { color: var(--muted); margin: 0; }
kbd, .ui {
  font: 500 0.92em/1 var(--font-body); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap;
}
.doc-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; max-width: 820px; }
.status { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze); }

/* ── 頁尾 ── */
footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 44px var(--gutter) 72px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; font-size: 14.5px; color: var(--muted);
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-inner strong { color: var(--text); font-weight: 600; }
.footer-inner ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--text); }
.footer-head { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
.copyright { margin-top: 14px; font-size: 13px; color: var(--faint); }

/* 右下角的工具座（舊站的元件，沿用）：深淺色切換 */
.pt-dock { position: fixed; right: 16px; bottom: 16px; z-index: 40; }
.chip {
  font: 600 11px/1 var(--font-body); letter-spacing: 0.16em; padding: 9px 12px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--muted); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.chip:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* 各平台的窗口（2026-11-13，build.py 的 platforms）：四格；還沒有網址的是灰的、不能點 */
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: 1fr; } }
ul.plain { list-style: none; padding: 0; }
.card.is-soon { opacity: 0.62; }
/* 場景（2026-11-13）：一個 16:9 的框、三張疊著，下面的點點換（assets/js/hero.js 的第二段） */
.scene-show { margin-top: 32px; }
.scene-show .frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.scene-show .slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.6s ease; }
.scene-show .slide.is-on { opacity: 1; }
.scene-show .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scene-show figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 22px 18px; color: #f1eef7;
  background: linear-gradient(0deg, rgba(8, 9, 14, 0.8), rgba(8, 9, 14, 0)); font-size: 15px; }
.scene-show figcaption .kind { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #e3b291; margin-bottom: 4px; }
.scene-show figcaption b { font-weight: 600; margin-right: 6px; }
.scene-dots { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.scene-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; }
.scene-dots button[aria-selected="true"] { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .scene-show .slide { transition: none; } }

/* 支持方案（2026-11-13，build.py 的 support） */
.tiers { margin-top: 28px; }
.tier { display: flex; flex-direction: column; height: 100%; }
.tier .tier-price { font: 500 30px/1.1 var(--font-display); color: var(--text); margin: 4px 0 12px; }
.tier ul { margin: 0 0 18px; padding-left: 18px; color: var(--muted); font-size: 15px; }
.tier ul li { margin-bottom: 6px; }
.tier .btn { margin-top: auto; align-self: flex-start; }
.btn.is-soon { opacity: 0.6; cursor: default; }

/* 條款頁（2026-11-15）：生效日那一行、第三方的表 */
main .meta { color: var(--muted); font-size: 14px; }
main table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
main th, main td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
main th { color: var(--muted); font-weight: 500; }
@media (max-width: 640px) { main table { font-size: 13px; } main th, main td { padding: 6px 6px; } }

/* 小工具的圖（2026-11-15）：App 裡真正的小工具（點陣，深色底）＋抽屜的系統錶（會動）。
   圖本身是深色的 —— 白天模式也一樣放深色的框，不然點陣的字看不到。 */
.wcard { padding-top: 18px; }
.wshot { background: #0e1420; border-radius: calc(var(--radius) - 4px); overflow: hidden; margin: 0 0 18px; border: 1px solid rgba(255,255,255,0.06); }
.wshot img { display: block; width: 100%; height: auto; }
.wlive { display: flex; flex-direction: column; align-items: center; padding: 14px 14px 12px; }
.wlive canvas { width: min(220px, 100%); aspect-ratio: 1 / 1; display: block; }
.wlive label { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 260px; color: rgba(255,255,255,0.6); font-size: 12px; margin-top: 4px; }
.wlive input[type=range] { flex: 1; accent-color: #b5dc4a; }   /* 跟 App 預設的配色（黃綠）一樣 */
.card .wsub { font-size: 13px; margin-top: 8px; opacity: 0.8; }

/* ── 2026-11-21 新增：公告欄、YouTube 時間表、佔位框、角色預覽、首頁重點 ── */
.section-tight { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.news { margin: 28px 0 0; border-top: 1px solid var(--line); max-width: 860px; }
.news-item { display: grid; grid-template-columns: 150px 1fr; gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.news-item h3 { font: 600 17px/1.4 var(--font-body); margin: 0 0 6px; }
.news-item p { color: var(--muted); margin: 0; font-size: 15.5px; }
.news-meta { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.news-meta time { font: 500 13px/1.2 var(--font-display); letter-spacing: 0.16em; color: var(--text); }
.tag-inline { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 2px 9px; }
@media (max-width: 600px) { .news-item { grid-template-columns: 1fr; } .news-meta { flex-direction: row; align-items: center; gap: 10px; } }
.facts { list-style: none; padding: 0; margin: 18px 0 4px; border-top: 1px solid var(--line); max-width: var(--text-w); }
.facts li { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { text-align: right; }
.split-top { align-items: start; }
.sub-h { font: 600 15px/1.4 var(--font-body); letter-spacing: 0.08em; color: var(--text); margin: 40px 0 14px; }
.split-top .sub-h { margin-top: 6px; }
.ticks { padding-left: 1.1em; color: var(--muted); max-width: var(--text-w); }
.ticks li { margin: 4px 0; }
.sched-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sched { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.sched th, .sched td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sched th { font-size: 12px; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.sched tr:last-child td { border-bottom: 0; }
.contact { max-width: var(--text-w); }
.ph { aspect-ratio: 4 / 5; border-radius: 10px; margin: 6px 0 16px; border: 1px dashed var(--line);
  background-color: var(--bg-2); background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.6px); background-size: 14px 14px;
  display: flex; align-items: center; justify-content: center; }
.ph span { font: 500 12px/1.4 var(--font-display); letter-spacing: 0.24em; color: var(--faint); text-transform: uppercase; background: var(--surface); padding: 4px 10px; border-radius: 999px; }
.ph-sm { aspect-ratio: 16 / 9; }
.card .status + .ph { margin-top: 12px; }
.ph-img { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; margin: 6px 0 16px; background: #0c0d12; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.preview { position: relative; padding-top: 52px; }
