/* 黑鐵鑑定所 官網樣式。沒有任何 JavaScript；動態全用 CSS，並尊重「減少動態效果」設定。 */
@font-face {
  font-family: "Jianding Serif";
  src: url("/assets/fonts/serif-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Jianding Serif";
  src: url("/assets/fonts/serif-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --iron-0: #0b0a08;
  --iron-1: #13110d;
  --iron-2: #1d1913;
  --line: rgba(201, 163, 90, 0.28);
  --brass: #c9a35a;
  --brass-hi: #e6c98a;
  --brass-lo: #9c7a3a;
  --parchment: #efe3c6;
  --parchment-2: #e2d2ab;
  --ink: #231a12;
  --ink-2: #514230;
  --wax: #a3271f;
  --wax-hi: #e0604f;
  --text: #f0e7d3;
  --text-2: #d3c6a8;
  --text-3: #b3a585;
  --serif: "Jianding Serif", "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif;
  --sans: system-ui, -apple-system, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --wrap: 1160px;
  --gutter: 20px;
  --radius: 14px;
  --sec-pad: clamp(72px, 12vw, 150px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--iron-0);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-hi); }
strong, b { font-weight: 700; color: var(--text); }
h1, h2, h3 { font-family: var(--serif); font-weight: 900; margin: 0; letter-spacing: 0.01em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.3; margin-bottom: 22px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.narrow { max-width: 760px; }
.quiet { color: var(--text-2); }
.nb { display: inline-block; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--brass-hi); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }
/* ---------- 按鈕與連結 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 30px; border-radius: 999px;
  background: linear-gradient(180deg, #ecd096 0%, #c9a35a 55%, #a8823f 100%);
  color: #1c140b; font-weight: 800; font-size: 18px; letter-spacing: 0.04em; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(80, 52, 15, 0.35), 0 10px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(80, 52, 15, 0.45); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 16px; }
.btn-large { min-height: 60px; padding: 16px 34px; }
.link {
  color: var(--brass-hi); font-weight: 700; text-decoration: underline;
  text-decoration-color: rgba(230, 201, 138, 0.5); text-underline-offset: 6px; text-decoration-thickness: 1.5px;
  min-height: 44px; display: inline-flex; align-items: center;
}
.link:hover { text-decoration-color: var(--brass-hi); }
/* ---------- 頁首 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 10, 8, 0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 163, 90, 0.18);
}
.head-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-family: var(--serif); font-weight: 900; font-size: 20px; letter-spacing: 0.08em;
  color: var(--brass-hi); text-decoration: none;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav { display: flex; gap: 18px; margin-left: auto; }
.nav-wide { display: none; }
.brand span { display: none; }
.brand-foot span { display: inline; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 16px; padding: 10px 0; }
.nav a:hover { color: var(--brass-hi); }
.head-cta { margin-left: 0; }
/* ---------- 首屏 ---------- */
.writ {
  position: relative; margin: 14px 0 0; width: 100%; max-width: 480px; text-align: left;
  padding: 30px 24px 24px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 250, 235, 0.35), rgba(200, 170, 110, 0.18)), url("/assets/img/paper.webp") center / cover, var(--parchment);
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(201, 163, 90, 0.55), 0 0 0 6px rgba(11, 10, 8, 0.65), 0 0 0 7px rgba(201, 163, 90, 0.35), 0 40px 80px rgba(0, 0, 0, 0.7);
  transform: rotate(-1deg);
}
.writ-head { display: flex; justify-content: space-between; font-size: 14px; letter-spacing: 0.12em; color: var(--ink-2); border-bottom: 1px solid rgba(60, 40, 20, 0.25); padding-bottom: 8px; margin-bottom: 14px; padding-right: 76px; }
.writ-from { font-weight: 700; font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.writ-msg { font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 2.2vw, 22px); line-height: 2; margin-bottom: 18px; }
.writ-verdict { margin: 0; padding-top: 14px; border-top: 1px dashed rgba(60, 40, 20, 0.35); }
.writ-verdict strong { display: block; font-family: var(--serif); font-weight: 900; font-size: 26px; color: var(--wax); line-height: 1.3; }
.writ-verdict span { font-size: 17px; font-weight: 700; color: var(--ink); }
.writ-seal {
  position: absolute; right: -22px; top: -38px; width: 118px; height: auto;
  transform: rotate(12deg); filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.55));
}
/* 紅墨水圈：用遮罩從 0 度畫到 360 度 */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
.ink { position: relative; white-space: nowrap; }
.ink::after {
  content: ""; position: absolute; inset: -6px -9px -4px -5px;
  border: 2.5px solid var(--wax); border-radius: 50% 46% 52% 48% / 55% 50% 50% 45%;
  transform: rotate(-3deg);
  -webkit-mask: conic-gradient(from 200deg, #000 var(--sweep), transparent 0);
  mask: conic-gradient(from 200deg, #000 var(--sweep), transparent 0);
  pointer-events: none;
}
.ink-2::after { transform: rotate(2deg); border-radius: 48% 52% 46% 54% / 50% 46% 54% 50%; }
.wave { text-decoration: underline wavy var(--wax) 2px; text-underline-offset: 6px; overflow-wrap: anywhere; }
.writ { order: 1; }
/* ---------- 區塊共用 ---------- */
.facts { display: grid; gap: 10px; margin-top: 8px; }
.facts li { position: relative; padding-left: 30px; color: var(--text-2); }
.facts li::before {
  content: ""; position: absolute; left: 2px; top: 10px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--brass); border-bottom: 2.5px solid var(--brass); transform: rotate(-45deg);
}
.phone {
  margin: 0; justify-self: center; width: min(300px, 78vw);
  padding: 10px; border-radius: 38px;
  background: linear-gradient(160deg, #3a332a, #14110d 40%, #0b0a08);
  box-shadow: 0 0 0 1px rgba(201, 163, 90, 0.45), 0 30px 70px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.phone img { border-radius: 29px; width: 100%; }
/* ---------- LINE 提醒 ---------- */
/* ---------- 家人 ---------- */
.steps { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.steps span { font-family: var(--serif); font-weight: 900; font-size: 22px; color: var(--brass-hi); }
.stack { display: grid; gap: 14px; align-content: center; }
.n {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  padding: 16px 18px; border-radius: 20px;
}
.n p { margin: 0; }
.n-app { width: 44px; height: 44px; border-radius: 11px; }
.n-app-line { display: grid; place-items: center; background: #1f7a43; color: #fff; font-weight: 800; font-size: 12px; letter-spacing: 0.02em; }
.n-meta { font-size: 14px; color: var(--text-3); line-height: 1.5; }
.n-title { font-weight: 800; font-size: 18px; line-height: 1.5; }
.n-body { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.n-line { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); transform: scale(0.96); transform-origin: top center; }
.n-alert {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 250, 235, 0.4), rgba(210, 180, 120, 0.15)), url("/assets/img/paper.webp") center / cover, var(--parchment);
  box-shadow: 0 0 0 2px var(--wax), 0 24px 50px rgba(0, 0, 0, 0.6);
  position: relative; z-index: 1;
}
.n-alert .n-meta { color: var(--ink-2); }
.n-alert .n-title { font-family: var(--serif); font-weight: 900; font-size: 21px; color: var(--wax); }
.n-alert .n-body { color: var(--ink); }
.n-alert mark { background: none; color: inherit; font-weight: 800; box-shadow: inset 0 -3px 0 rgba(163, 39, 31, 0.75); }
.n-family { background: rgba(201, 163, 90, 0.1); border: 1px solid rgba(201, 163, 90, 0.5); margin-left: 24px; }
.n-family .n-app { border-radius: 50%; }
.n-family .n-title { color: var(--brass-hi); }
/* ---------- 送鑑方式 ---------- */
.ways { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.ways li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ways img { margin-top: 6px; }
.ways h3 { font-size: 21px; line-height: 1.5; margin-bottom: 4px; }
.ways p { margin: 0; color: var(--text-2); font-size: 17px; }
.next-list { display: grid; gap: 18px; counter-reset: step; }
.next-list li { position: relative; padding-left: 52px; color: var(--ink-2); font-size: 17px; counter-increment: step; }
.next-list li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 900; font-size: 18px; color: #fff4e6;
  background: radial-gradient(circle at 35% 30%, #c8402f, #7e1b15); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}
.next-list b { display: block; color: var(--ink); font-size: 19px; }
/* ---------- 每日 ---------- */
/* ---------- 做得到／做不到 ---------- */
.ledger {
  display: grid; border-radius: 6px; overflow: hidden; color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 250, 235, 0.32), rgba(200, 170, 110, 0.22)), url("/assets/img/paper.webp") center / cover, var(--parchment);
  box-shadow: 0 0 0 1px rgba(201, 163, 90, 0.55), 0 0 0 6px rgba(11, 10, 8, 0.6), 0 0 0 7px rgba(201, 163, 90, 0.3), 0 40px 80px rgba(0, 0, 0, 0.6);
}
.ledger-col { padding: 28px 24px 30px; }
.ledger-col + .ledger-col { border-top: 1px dashed rgba(60, 40, 20, 0.4); }
.ledger h3 { display: flex; align-items: center; gap: 12px; font-size: 28px; margin-bottom: 14px; }
.ledger h3 img { width: 56px; height: 56px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35)); }
.can h3 { color: #2f5a2a; }
.cannot h3 { color: var(--wax); }
.ledger li { position: relative; padding: 10px 0 10px 32px; font-size: 17px; line-height: 1.7; border-bottom: 1px solid rgba(60, 40, 20, 0.14); color: var(--ink); }
.ledger li:last-child { border-bottom: 0; }
.can li::before {
  content: ""; position: absolute; left: 4px; top: 19px; width: 14px; height: 8px;
  border-left: 2.5px solid #3c6b34; border-bottom: 2.5px solid #3c6b34; transform: rotate(-45deg);
}
.cannot li::before, .cannot li::after {
  content: ""; position: absolute; left: 4px; top: 22px; width: 17px; height: 2.5px; background: var(--wax); transform: rotate(45deg);
}
.cannot li::after { transform: rotate(-45deg); }
/* ---------- iPhone ---------- */
/* ---------- 隱私 ---------- */
.flow { display: grid; gap: 18px; margin-top: 18px; }
.flow-col { padding: 26px 24px; border-radius: 6px; border: 1px solid var(--line); background: var(--iron-1); }
.flow-col h3 { font-size: 22px; color: var(--brass-hi); margin-bottom: 12px; }
.flow-col li { position: relative; padding: 8px 0 8px 24px; color: var(--text-2); font-size: 17px; }
.flow-col li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.flow-col.out { background: linear-gradient(180deg, rgba(201, 163, 90, 0.1), transparent); }
.more { margin-top: 26px; }
/* ---------- 加入測試 ---------- */
/* ---------- 緊急 ---------- */
/* ---------- 資料來源 ---------- */
.sources { display: grid; gap: 12px; margin-bottom: 18px; }
.sources li { color: var(--text-2); font-size: 16px; line-height: 1.75; }
/* ---------- 頁尾 ---------- */
.site-foot { border-top: 1px solid rgba(201, 163, 90, 0.2); background: #080706; padding: 48px 0 28px; }
.foot-grid { display: grid; gap: 28px; }
.brand-foot { font-size: 18px; margin-bottom: 10px; }
.brand-foot img { width: 32px; height: 32px; border-radius: 8px; }
.foot-grid .quiet { font-size: 16px; max-width: 34em; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.foot-nav a { color: var(--text-2); text-decoration: none; padding: 10px 0; font-size: 16px; }
.foot-nav a:hover { color: var(--brass-hi); }
.foot-base { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(201, 163, 90, 0.12); font-size: 15px; color: var(--text-3); }
.foot-base p { margin: 0 0 4px; }
/* ---------- 內頁（隱私、刪除帳號、常見問題） ---------- */
.doc-hero { padding: 56px 0 24px; border-bottom: 1px solid rgba(201, 163, 90, 0.15); background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(201, 163, 90, 0.12), transparent 70%); }
.doc-hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.25; margin-bottom: 12px; color: #f6e9c9; }
.doc-hero p { color: var(--text-2); }
.doc { padding: 40px 0 96px; }
.doc h2 { font-size: clamp(24px, 3vw, 30px); margin: 48px 0 14px; color: var(--brass-hi); }
.doc h3 { font-size: 21px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul, .doc ol { margin: 0 0 16px; }
.doc ul li { position: relative; padding: 4px 0 4px 22px; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.doc ol { counter-reset: d; }
.doc ol li { counter-increment: d; position: relative; padding: 4px 0 4px 34px; }
.doc ol li::before { content: counter(d); position: absolute; left: 0; top: 8px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--brass); color: var(--brass-hi); display: grid; place-items: center; font-size: 14px; font-weight: 700; line-height: 1; }
.doc .meta { color: var(--text-3); font-size: 16px; }
.callout { margin: 24px 0; padding: 18px 20px; border-radius: 6px; border: 1px solid var(--line); background: var(--iron-1); }
.callout p:last-child { margin-bottom: 0; }
.toc { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.toc a { color: var(--text-2); font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }
.faq-group { margin-top: 40px; }
.faq-group h2 { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 44px 18px 0; font-weight: 700; font-size: 19px; color: var(--text); line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 26px; width: 10px; height: 10px;
  border-right: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq .answer { padding: 0 0 20px; }
.faq .answer p, .faq .answer li { font-size: 17px; }
.placeholder { color: var(--brass-hi); border-bottom: 1px dashed var(--brass); }
/* ---------- 404 ---------- */
/* ---------- 海報式區塊：一屏一句大字，其餘留白 ---------- */
.poster {
  position: relative; display: grid; align-items: center;
  min-height: min(100svh, 980px); padding: clamp(88px, 16vw, 200px) 0;
  background: var(--iron-0); overflow-x: clip;
}
.poster > .wrap { min-width: 0; }
.poster + .poster { border-top: 1px solid rgba(201, 163, 90, 0.1); }
.poster-short { min-height: 0; padding: clamp(72px, 12vw, 150px) 0 clamp(40px, 6vw, 72px); }
.mega {
  display: block; margin: 0;
  font-family: var(--serif); font-weight: 900; color: #f3e6c6;
  font-size: clamp(58px, 16.5vw, 208px); line-height: 1.08; letter-spacing: 0.01em;
  white-space: nowrap;
}
.mega-xl { font-size: clamp(64px, 18vw, 248px); line-height: 1; }
.mega-md { font-size: clamp(52px, 12vw, 150px); }
.mega em { font-style: normal; color: var(--wax-hi); }
.mega-sub {
  display: block; margin-top: clamp(22px, 3vw, 40px);
  font-family: var(--sans); font-weight: 400; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.7; letter-spacing: 0.12em; color: var(--text-3);
}
.poster h1 { margin: 0; }
.lede { margin: clamp(28px, 4vw, 52px) 0 0; max-width: 21em; font-size: clamp(19px, 1.9vw, 25px); line-height: 1.75; color: var(--text-2); }
.fine { margin: 18px 0 0; font-size: 16px; line-height: 1.7; letter-spacing: 0.06em; color: var(--text-3); }
.fine a { color: var(--brass-hi); }
.actions { margin: clamp(32px, 4vw, 52px) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.poster-hero { text-align: center; min-height: calc(100svh - 68px); background: radial-gradient(ellipse 60% 50% at 50% 42%, rgba(201, 163, 90, 0.1), transparent 70%), var(--iron-0); }
.poster-hero .lede { margin-inline: auto; }
.poster-hero .actions { justify-content: center; }
.poster-paper { background: linear-gradient(180deg, rgba(255, 250, 235, 0.5), rgba(214, 190, 140, 0.25)), url("/assets/img/paper.webp") center / 130% 130%, var(--parchment); text-align: center; border-top: 0; }
.poster-paper .mega { color: var(--ink); }
.poster-paper .lede { color: var(--ink-2); margin-inline: auto; }
.poster-paper .fine { color: #5c4a33; }
.poster-paper + .poster { border-top: 0; }
.ring { position: relative; display: inline-block; }
.ring::after {
  content: ""; position: absolute; inset: -0.02em -0.2em -0.08em -0.18em;
  border: 0.045em solid var(--wax); border-radius: 50% 46% 52% 48% / 55% 48% 52% 45%; transform: rotate(-3deg);
  -webkit-mask: conic-gradient(from 200deg, #000 var(--sweep), transparent 0);
  mask: conic-gradient(from 200deg, #000 var(--sweep), transparent 0);
  pointer-events: none;
}
/* ---------- 文章列表 ---------- */
.posts { border-top: 1px solid var(--line); margin-bottom: 26px; }
.posts li { border-bottom: 1px solid var(--line); }
.posts a { display: grid; gap: 4px; padding: 22px 0; text-decoration: none; color: inherit; }
.posts time { font-size: 15px; letter-spacing: 0.08em; color: var(--text-3); }
.post-title { font-family: var(--serif); font-weight: 900; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; color: var(--text); transition: color 0.2s ease; }
.post-desc { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.posts a:hover .post-title { color: var(--brass-hi); }
.sec-list { padding: 0 0 var(--sec-pad); }
/* ---------- 文章頁 ---------- */
.post-head { padding: clamp(64px, 10vw, 128px) 0 clamp(28px, 4vw, 48px); }
.post-head h1 { font-size: clamp(38px, 6.4vw, 76px); line-height: 1.22; color: #f3e6c6; margin-bottom: 22px; }
.post-lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.8; color: var(--text-2); }
.post-meta { display: flex; gap: 16px; margin: 22px 0 0; font-size: 15px; letter-spacing: 0.08em; color: var(--text-3); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.post-tags li { padding: 2px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.post-body { padding-bottom: 56px; }
.post-body p, .post-body li { font-size: 19px; line-height: 1.95; color: #e3d8c0; }
.post-body p { margin: 0 0 1.25em; }
.post-body h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.4; margin: 2.2em 0 0.7em; color: var(--brass-hi); }
.post-body h3 { font-size: 22px; margin: 1.8em 0 0.5em; }
.post-body ul, .post-body ol { margin: 0 0 1.4em; padding-left: 1.4em; list-style: revert; }
.post-body li { margin-bottom: 0.4em; }
.post-body li::marker { color: var(--brass); }
.post-body a { color: var(--brass-hi); text-underline-offset: 5px; overflow-wrap: anywhere; }
.post-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--wax-hi); }
.post-body blockquote p { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--text); margin: 0; }
.post-body strong { color: #fff3d6; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.post-body img { border-radius: 6px; margin: 1.6em 0; }
.videos { margin-top: 3em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.videos h2 { margin-top: 0; }
.post-body .videos ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.videos a { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; background: var(--iron-1); }
.videos a:hover { border-color: var(--brass); }
.video-title { font-weight: 700; font-size: 19px; line-height: 1.6; color: var(--text); }
.video-meta { font-size: 15px; color: var(--text-3); }
.post-body .video-note { font-size: 15px; color: var(--text-3); margin-top: 12px; }
.post-foot { padding-bottom: var(--sec-pad); }
.post-app { padding: 26px 24px; border-radius: 6px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(201, 163, 90, 0.1), transparent); margin-bottom: 40px; }
.post-app p { margin: 0 0 8px; color: var(--text-2); }
.post-nav { display: grid; gap: 12px; margin-bottom: 28px; }
.post-nav a { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-weight: 900; font-size: 20px; line-height: 1.5; color: var(--text); }
.post-nav span { font-family: var(--sans); font-weight: 400; font-size: 14px; letter-spacing: 0.1em; color: var(--text-3); }
/* ---------- 桌機 ---------- */
@media (min-width: 720px) {
:root { --gutter: 40px; }
.nav-wide { display: inline; }
.brand span { display: inline; }
.flow { grid-template-columns: 1fr 1fr; }
.ledger { grid-template-columns: 1fr 1fr; }
.ledger-col { padding: 36px 36px 40px; }
.ledger-col + .ledger-col { border-top: 0; border-left: 1px dashed rgba(60, 40, 20, 0.4); }
.next-list { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.next-list li { padding-left: 0; padding-top: 52px; }
.foot-grid { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 1024px) {
.nav { gap: 32px; }
.head-cta { margin-left: 8px; }
.writ { order: 0; max-width: 560px; padding: 40px 40px 32px; }
.writ-seal { width: 140px; right: -40px; top: -50px; }
.stack { order: -1; }
.post-nav { grid-template-columns: 1fr 1fr; gap: 40px; }
.post-next { text-align: right; }
}
/* ---------- 動態（克制） ---------- */
@media (prefers-reduced-motion: no-preference) {
.poster-hero h1, .poster-hero > .wrap > .lede, .poster-hero .actions { animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.poster-hero > .wrap > .lede { animation-delay: 0.25s; }
.poster-hero .actions { animation-delay: 0.4s; }
.writ { animation: settle 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
.ink::after { animation: draw 0.6s cubic-bezier(0.6, 0, 0.3, 1) 0.7s both; }
.ink-2::after { animation-delay: 1.05s; }
.writ-seal { animation: stamp 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) 1.45s both; }
.writ-verdict { animation: fade 0.5s ease 1.6s both; }
@supports (animation-timeline: view()) {
.poster .mega, .poster .lede { animation: rise linear both; animation-timeline: view(); animation-range: entry 5% entry 55%; }
.poster-hero .mega, .poster-hero .lede { animation: none; }
.ring::after { animation: draw linear both; animation-timeline: view(); animation-range: entry 40% cover 45%; }
.n-alert { animation: drop linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
}
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { opacity: 0; transform: translateY(30px) rotate(-4deg); } to { opacity: 1; transform: rotate(-1deg); } }
@keyframes draw { from { --sweep: 0deg; } to { --sweep: 360deg; } }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.6) rotate(30deg); } 70% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(12deg); } }

@keyframes unroll { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes drop { from { opacity: 0; transform: translateY(-16px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
.btn { border: 2px solid ButtonText; }
.ink::after { border-color: Highlight; }
}
@media print {
.site-head, .phone { display: none; }
body { background: #fff; color: #000; }
}
.post-body code { font-family: ui-monospace, Consolas, monospace; font-size: 0.9em; padding: 2px 6px; border-radius: 4px; background: var(--iron-2); color: var(--brass-hi); overflow-wrap: anywhere; }
/* ---------- 城門告示：直排大字 ---------- */
.poster {
  background:
    linear-gradient(180deg, rgba(9, 8, 7, 0.74), rgba(9, 8, 7, 0.93)),
    url("/assets/img/iron-bg.webp") center / 512px,
    var(--iron-0);
}
.gate {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  column-gap: 14px; row-gap: clamp(36px, 6vw, 56px); align-items: start;
}
.gate .side { grid-column: 2; grid-row: 1; }
.gate .gate-head { grid-column: 3; grid-row: 1; }
.gate .gate-text { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
.gate-flip { grid-template-columns: auto auto minmax(0, 1fr); }
.gate-flip .gate-head { grid-column: 1; }
.gate-flip .side { grid-column: 2; }
.gate-head { margin: 0; display: flex; flex-direction: column; align-items: flex-end; font-size: inherit; }
.gate-flip .gate-head { align-items: flex-start; }
.gate .mega {
  position: relative;
  writing-mode: vertical-rl; text-orientation: upright;
  font-size: clamp(60px, min(23vw, 18svh), 220px); line-height: 1.06; letter-spacing: 0.02em;
  text-shadow: 0 2px 0 #000;
}
.gate { --xl: clamp(88px, min(29vw, 30svh), 320px); }
.gate .mega-xl { font-size: var(--xl); line-height: 1; }
.stamp-box { position: relative; display: block; font-size: var(--xl); }
.gate .mega-sub { margin-top: 22px; text-align: right; letter-spacing: 0.06em; width: 0; min-width: 100%; }
.side {
  margin: 0; writing-mode: vertical-rl;
  font-family: var(--serif); font-weight: 600; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.9; letter-spacing: 0.12em;
  color: var(--text-2); padding: 6px 12px 6px 0; border-right: 1px solid var(--line);
}
.gate-flip .side { padding: 6px 0 6px 12px; border-right: 0; border-left: 1px solid var(--line); }
.gate-text .lede { margin-top: 0; }
.gate-text > * + * { margin-top: clamp(24px, 3vw, 36px); }
.gate-text .posts { margin-bottom: 0; }
.gate-text .writ { margin-top: 44px; max-width: 440px; }
.seal-stamp {
  position: absolute; left: -0.34em; bottom: -0.12em; width: 0.86em; height: auto;
  transform: rotate(-10deg); filter: drop-shadow(0 0.05em 0.07em rgba(0, 0, 0, 0.65));
}
.poster-hero { text-align: left; min-height: calc(100svh - 68px); }
.poster-hero .lede { margin-inline: 0; }
.poster-hero .actions { justify-content: flex-start; }
.poster-paper { background: linear-gradient(180deg, rgba(255, 250, 235, 0.5), rgba(214, 190, 140, 0.25)), url("/assets/img/paper.webp") center / 130% 130%, var(--parchment); text-align: left; }
.poster-paper .mega { text-shadow: none; }
.poster-paper .side { color: var(--ink-2); border-color: rgba(60, 40, 20, 0.35); }
.poster-paper .lede { margin-inline: 0; }
.gate .ring::after { inset: -0.16em -0.04em -0.2em -0.06em; border-radius: 46% 50% 48% 52% / 50% 55% 45% 52%; transform: rotate(2deg); }
/* 告示牌風格的按鈕：方正、黃銅框 */
.btn {
  border-radius: 2px; min-height: 58px; padding: 14px 30px;
  background: rgba(201, 163, 90, 0.1); color: #f6e9c9;
  border: 1.5px solid var(--brass); box-shadow: none;
  font-weight: 700; letter-spacing: 0.14em;
}
.btn:hover { background: var(--brass); color: #1c140b; filter: none; transform: none; }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-small { min-height: 44px; padding: 6px 16px; letter-spacing: 0.08em; }
.poster-paper .btn { color: var(--ink); border-color: var(--ink-2); }
.brand { letter-spacing: 0.12em; }
.brand span { display: inline; }
.brand img { display: none; }
.brand-foot img { display: block; }
@media (max-width: 719px) {
.head-row { gap: 12px; }
.brand { font-size: 18px; letter-spacing: 0.06em; }
.nav { gap: 14px; }
.nav a { font-size: 15px; }
.btn-small { padding: 6px 12px; font-size: 15px; }
.gate .actions .btn { width: 100%; }
}
@media (min-width: 1024px) {
.gate { column-gap: 28px; align-items: end; }
.gate .side { align-self: start; padding-right: 20px; }
.gate-flip .side { padding-left: 20px; padding-right: 0; }
.gate .gate-text { grid-column: 1; grid-row: 1; max-width: 520px; padding-bottom: 8px; }
.gate-flip .gate-text { grid-column: 3; justify-self: end; }
.gate .gate-head { align-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
.poster-hero .gate-head .mega { animation: unroll 1.1s cubic-bezier(0.3, 0.7, 0.2, 1) both; }
.poster-hero .side, .poster-hero .mega-sub, .poster-hero .gate-text { animation: fade 0.9s ease 0.7s both; }
.seal-stamp { animation: stamp-seal 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) 1.1s both; }
@supports (animation-timeline: view()) {
.poster:not(.poster-hero) .gate .mega { animation: unroll linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
.poster:not(.poster-hero) .side, .poster:not(.poster-hero) .gate-text { animation: fade linear both; animation-timeline: view(); animation-range: entry 25% cover 45%; }
}
}
@keyframes stamp-seal { 0% { opacity: 0; transform: scale(1.7) rotate(-34deg); } 100% { opacity: 1; transform: scale(1) rotate(-10deg); } }
/* ---------- 功能頁：同樣的直排告示，旁邊放細節 ---------- */
.poster-detail { min-height: 0; padding: clamp(72px, 11vw, 150px) 0; }
.poster-top { padding-top: clamp(56px, 8vw, 110px); }
.poster-detail .gate .mega { font-size: clamp(52px, min(17vw, 13svh), 150px); }
.poster-detail .gate-text > * + * { margin-top: 28px; }
.gate-text .phone { width: min(260px, 70vw); margin-left: 0; margin-right: auto; }
.gate-text .ways, .gate-text .flow, .gate-text .steps { margin-top: 0; }
.gate-text .next-list { grid-template-columns: 1fr; gap: 24px; }
.gate-text .next-list li { padding: 0 0 0 52px; color: var(--text-2); }
.gate-text .next-list b { color: var(--text); }
.gate-text .flow { grid-template-columns: 1fr; }
.poster-paper .gate-text .ledger { background: none; box-shadow: none; border-radius: 0; overflow: visible; grid-template-columns: 1fr; border-top: 1px solid rgba(60, 40, 20, 0.35); }
.poster-paper .gate-text .ledger-col { padding: 26px 0; }
.poster-paper .gate-text .ledger-col + .ledger-col { border-left: 0; border-top: 1px dashed rgba(60, 40, 20, 0.4); }
.poster-paper .quiet { color: var(--ink-2); }
@media (min-width: 1024px) {
.poster-detail .gate { align-items: start; }
.poster-detail .gate .gate-text { max-width: 620px; width: 100%; padding-bottom: 0; }
.poster-detail .gate-head, .poster-detail .side { position: sticky; top: 108px; }
.poster-paper.poster-detail .gate .gate-text { max-width: 760px; }
.poster-paper .gate-text .ledger { grid-template-columns: 1fr 1fr; column-gap: 48px; }
.poster-paper .gate-text .ledger-col + .ledger-col { border-top: 0; }
}
.sources li { max-width: 36em; }
@media (prefers-reduced-motion: no-preference) {
@supports (animation-timeline: view()) {
.poster-detail:not(.poster-top) .gate .mega { animation-range: entry 0% cover 25%; }
}
}
/* 功能頁是拿來讀的：說明文字一律直接顯示，只有直排大字有展開動態。 */
@media (prefers-reduced-motion: no-preference) {
@supports (animation-timeline: view()) {
.poster.poster-detail:not(.poster-hero) .side, .poster.poster-detail:not(.poster-hero) .gate-text, .poster.poster-detail .lede { animation: none; }
}
}
/* ---------- 第三輪：節奏變化、真實畫面、結尾最強 ---------- */
/* 手機框當配角：小一點、靠邊 */
.gate-text .phone { width: min(230px, 62vw); }
.poster:not(.poster-detail) .gate-text .phone { margin-top: 36px; }
/* 置中的告示（羊皮紙那一屏） */
.gate-center { grid-template-columns: auto auto; justify-content: center; }
.gate-center .gate-head { grid-column: 2; align-items: center; }
.gate-center .side { grid-column: 1; padding: 6px 12px 6px 0; border-left: 0; border-right: 1px solid rgba(60, 40, 20, 0.35); }
.gate-center .gate-text { grid-column: 1 / -1; grid-row: 2; justify-self: center; text-align: center; }
.gate-center .lede { margin-inline: auto; }
/* 只有一個超大數字的一屏 */
.poster-number { text-align: left; }
.numeral { margin: 0; font-family: var(--serif); font-weight: 900; color: #f3e6c6; line-height: 0.9; }
.numeral-big { display: block; font-size: clamp(150px, 46vw, 560px); letter-spacing: -0.03em; color: var(--brass-hi); text-shadow: 0 3px 0 #000; }
.numeral-big small { font-size: 0.36em; letter-spacing: 0; margin-left: 0.06em; color: #f3e6c6; }
.numeral-rest { display: block; margin-top: clamp(14px, 2vw, 28px); font-size: clamp(26px, 4.2vw, 60px); line-height: 1.3; }
.poster-number .lede { margin-top: clamp(18px, 2.4vw, 30px); }
/* 最後一屏：整面蠟紅，全站最強 */
.poster-cta {
  background:
    radial-gradient(ellipse 80% 70% at 70% 35%, rgba(255, 140, 110, 0.18), transparent 70%),
    linear-gradient(180deg, #96231b, #6f1711);
  border-top: 0;
}
.poster-cta .mega { color: #fbeed0; text-shadow: 0 3px 0 rgba(60, 8, 4, 0.7); }
.poster-cta .side { color: #f4d9c4; border-color: rgba(251, 238, 208, 0.45); }
.poster-cta .lede { color: #fbeed0; font-size: clamp(21px, 2.2vw, 28px); }
.poster-cta .fine, .poster-cta .fine a { color: #f6dccb; }
.btn-solid, .poster-cta .btn-solid { background: #fbeed0; color: #5e120d; border-color: #fbeed0; font-weight: 900; }
.btn-solid:hover, .poster-cta .btn-solid:hover { background: #fff; color: #5e120d; }
.poster-cta + .strip { border-top: 0; }
/* 做不到的，先說：縮成一條 */
.strip { padding: 34px 0; background: #080706; border-top: 1px solid rgba(201, 163, 90, 0.12); }
.strip p { margin: 0; font-size: 16px; line-height: 1.9; color: var(--text-2); max-width: 46em; }
.strip strong { color: var(--text); }
.strip .link { margin-left: 10px; min-height: 0; display: inline; }
/* 功能頁：細節收起來 */
.more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more > summary {
  list-style: none; cursor: pointer; position: relative; padding: 16px 40px 16px 0;
  font-weight: 700; font-size: 18px; color: var(--brass-hi);
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after {
  content: ""; position: absolute; right: 8px; top: 24px; width: 10px; height: 10px;
  border-right: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(45deg);
}
.more[open] > summary::after { transform: rotate(-135deg); top: 28px; }
.more > :not(summary) { margin: 0 0 22px; }
.more .steps, .more .ways { border-top: 0; }
.more .steps li:last-child, .more .ways li:last-child { border-bottom: 0; }
.gate-text .writ { margin-top: 44px; }
.poster-detail .gate-text .writ { max-width: 420px; }
.gate-text .callout { margin: 0; }
.gate-text .callout p { color: var(--text-2); }
@media (min-width: 1024px) {
.gate-center .gate-text { grid-column: 1 / -1; grid-row: 2; max-width: none; padding-bottom: 0; }
.gate-center .gate-head, .gate-center .side { align-self: start; }
.poster:not(.poster-detail) .gate-text .phone { width: 250px; }
.numeral { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 48px; }
.numeral-rest { margin-top: 0; }
.poster-cta { min-height: 100svh; }
}
@media (prefers-reduced-motion: no-preference) {
@supports (animation-timeline: view()) {
.numeral-big { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
}
}
.poster-cta .btn-large { min-height: 68px; padding: 18px 44px; font-size: 21px; }
.poster-detail .lede { font-size: clamp(19px, 1.7vw, 22px); }
/* ---------- 第四輪 ---------- */
/* 直排小字裡的英文立起來、短數字併成一格，不用歪頭看 */
.side { text-orientation: upright; }
/* 一段不可拆的字；比一行還長時，自己在裡面換行 */
.nb { max-width: 100%; }
.numeral-big small { font-size: 0.3em; }
.gate-text .callout { margin: 40px 0 0; }
.strip a[href^="tel:"] { color: var(--brass-hi); font-weight: 700; }
@media (max-width: 719px) {
.poster-detail { padding: 60px 0; }
.poster-top { padding-top: 48px; }
.poster-detail .gate { row-gap: 28px; }
}
.poster-paper .more { border-color: rgba(60, 40, 20, 0.35); }
.poster-paper .more > summary { color: var(--ink); }
.poster-paper .more > summary::after { border-color: var(--ink-2); }
.poster-paper .gate-text .more .ledger { border-top: 0; }
.poster-paper .gate-text .more .ledger-col { padding-top: 0; }
.poster-paper .gate-text .ledger { grid-template-columns: 1fr; }
.more .ledger h3 { display: none; }
@media (max-width: 719px) {
.poster-detail { padding: 42px 0; }
.poster-detail .gate-text .phone { width: min(190px, 52vw); }
}
