/* POKERHERO 官網設計系統（pokerhero.net）
   用法與可複製範例見 src/components.md。共用檔：Pages 階段凍結，頁面自己的樣式寫在 src/pages/<slug>/page.css。 */

/* ---------- 字型（自架，latin subset） ---------- */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/lato-700.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url(/fonts/lato-900.woff2) format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --bg: #0b0e0d;
  --panel: #12151a;
  --panel-2: #161b20;
  --line: #2c3437;
  --line-soft: #242b2e;
  --text: #ece9e1;
  --muted: #93998f;
  --gold: #d4af6a;
  --gold-deep: #a9853f;
  --gold-hi: #e8c87e;
  --gold-grad: linear-gradient(135deg, #e8c87e, #d4af6a 55%, #b8934c);
  --gold-a10: rgba(212, 175, 106, .10);
  --gold-a25: rgba(212, 175, 106, .25);
  --gold-a45: rgba(212, 175, 106, .45);
  --on-gold: #17130b;
  --pos: #46d183;
  --neg: #e8596a;
  --r: 16px;
  --r-sm: 10px;
  --r-pill: 999px;
  --shadow: 0 10px 28px rgba(0, 0, 0, .45);
  --shadow-gold: 0 0 0 1px var(--gold-a25), 0 18px 40px rgba(0, 0, 0, .5);
  --font-sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
  --font-head: "Lato", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
  --container: 1180px;
  --gutter: 24px;
  --header-h: 64px;
  --sec-y: clamp(56px, 7vw, 96px);
  color-scheme: dark;
}
@media (max-width: 600px) { :root { --gutter: 16px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overscroll-behavior-y: contain; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; display: block; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 900; line-height: 1.2; margin: 0 0 .5em; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.9rem); line-height: 1.14; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 32px 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--on-gold); }
table { border-collapse: collapse; width: 100%; }
summary { cursor: pointer; }

/* ---------- 基本工具 ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(820px + var(--gutter) * 2); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--on-gold); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small, .text-sm { font-size: .875rem; }
.text-lg { font-size: 1.125rem; }
.tnum { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
/* 中文詞組不在詞中間斷行：<span class="nw">支援哪些裝置、</span>（只在詞組之間換行） */
.nw { display: inline-block; }
.gold { color: var(--gold); }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pos { color: var(--pos); }
.neg { color: var(--neg); }
.lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem); color: #cfccc3; max-width: 46em; }
.center .lead, .lead.center { margin-inline: auto; }
/* 行長：中文約 34 字、英文約 75 字元 */
:lang(zh-Hant) .lead { max-width: 34em; }
:lang(en) .lead { max-width: 36em; }
.stack > * + * { margin-top: var(--stack, 16px); }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }
@media (max-width: 760px) { .hide-sm { display: none !important; } }
@media (min-width: 761px) { .show-sm { display: none !important; } }

/* ---------- 圖示 ---------- */
.ico { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.25em; }
.ico-lg { width: 28px; height: 28px; }
.icon-box { width: 48px; height: 48px; flex: none; display: inline-grid; place-items: center; border-radius: 12px; color: var(--gold); background: var(--gold-a10); box-shadow: inset 0 0 0 1px var(--gold-a25); }
.icon-box .ico { width: 24px; height: 24px; }

/* ---------- Kicker / 區塊標頭 ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.kicker::before, .center .kicker::after, .section-head.center .kicker::after { content: ""; width: 22px; height: 1px; background: var(--gold-a45); }
.section { padding-block: var(--sec-y); position: relative; }
.section-tight { padding-block: calc(var(--sec-y) * .6); }
.section-alt { background: linear-gradient(180deg, rgba(18, 21, 26, .0), rgba(18, 21, 26, .85) 18%, rgba(18, 21, 26, .85) 82%, rgba(18, 21, 26, 0)); border-block: 1px solid var(--line-soft); }
.section-line { border-top: 1px solid var(--line-soft); }
.section-alt + .section-line { border-top: 0; }
/* 相鄰區塊不疊兩段完整留白 */
.section + .section:not(.section-tight) { padding-top: calc(var(--sec-y) * .7); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head > :last-child { margin-bottom: 0; }

/* ---------- 頁首區（內頁用） ---------- */
.page-hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(32px, 5vw, 56px); position: relative; overflow: clip; }
.page-hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 520px; background: radial-gradient(ellipse at 50% 0, rgba(212, 175, 106, .14), transparent 62%); pointer-events: none; }
.page-hero > .container { position: relative; }
.page-hero .lead { margin-bottom: 0; }
/* 手機版頁首一律靠左（長段落置中難讀） */
@media (max-width: 640px) {
  .page-hero .center, .page-hero.center { text-align: left; }
  .page-hero .center .cta-row { justify-content: flex-start; }
  .page-hero .center .kicker::after { display: none; }
}

/* ---------- 按鈕 ---------- */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--h); padding: 0 22px; border-radius: var(--r-pill); border: 1px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn .ico { width: 18px; height: 18px; }
.btn-gold { background: var(--gold-grad); color: var(--on-gold); box-shadow: 0 6px 18px rgba(212, 175, 106, .22); }
.btn-gold:hover { color: var(--on-gold); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(212, 175, 106, .32); }
.btn-ghost { background: rgba(236, 233, 225, .03); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { color: var(--gold-hi); border-color: var(--gold-a45); background: var(--gold-a10); }
.btn-sm { --h: 44px; padding: 0 16px; font-size: .9rem; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.center .cta-row, .cta-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; min-height: 44px; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- App Store 徽章（官方 SVG 原樣：不改色、不加效果、不做動畫；四周留白 ≥ 徽章高度 1/4） ---------- */
.badge-store { display: inline-flex; align-items: center; min-height: 48px; border-radius: 9px; line-height: 0; }
.badge-store img { height: 48px; width: auto; }
.badge-store-lg img { height: 56px; }
.badge-store-sm img { height: 44px; }
/* 大徽章旁的按鈕與徽章同高 */
.cta-row:has(.badge-store-lg) .btn { --h: 56px; padding: 0 26px; font-size: 1.04rem; }

/* ---------- 膠囊 ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 16px 6px 14px; border-radius: var(--r-pill); border: 1px solid var(--gold-a45); background: rgba(212, 175, 106, .06); color: var(--text); font-size: .92rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.chip-plain::before { display: none; }
a.chip { text-decoration: none; min-height: 44px; }
a.chip:hover, .chip.is-active { border-color: var(--gold); background: var(--gold-a10); color: var(--gold-hi); }
.chip-pro { min-height: 24px; padding: 2px 10px; font-size: .74rem; letter-spacing: .06em; border: 0; background: var(--gold-grad); color: var(--on-gold); }
.chip-pro::before, .chip-free::before { display: none; }
.chip-free { min-height: 24px; padding: 2px 10px; font-size: .74rem; letter-spacing: .06em; border-color: var(--line); background: transparent; color: var(--muted); }

/* 錨點膠囊列（sticky，例如功能頁） */
.subnav { position: sticky; top: calc(var(--header-h) + 1px + env(safe-area-inset-top, 0px)); z-index: 20; background: rgba(11, 14, 13, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.subnav .chip-row { flex-wrap: nowrap; overflow-x: auto; padding-block: 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav .chip-row::-webkit-scrollbar { display: none; }
/* 有 sticky 膠囊列的頁：錨點跳轉時同時扣掉 header 與 subnav（膠囊 44px＋上下 10px＋邊線） */
:root { --subnav-h: 66px; }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 16px); }
/* 手機／平板：膠囊列不黏、不橫向捲，全部換行顯示並對齊版面左右留白（Kurt 10/20：橫捲被切掉看起來沒對齊） */
@media (max-width: 1080px) {
  .subnav { position: static; background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .subnav .chip-row { flex-wrap: wrap; overflow: visible; justify-content: flex-start; padding: 0 0 8px; }
  .page-hero:has(+ .subnav) { padding-bottom: 22px; }
  html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 16px); }
}

/* ---------- 卡片 ---------- */
.card { position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-soft); border-radius: var(--r); padding: clamp(20px, 2.4vw, 28px); box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset; min-width: 0; }
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-top: 14px; margin-bottom: 8px; }
.card p { color: #c9c6bd; }
.card-gold { border-color: var(--gold-a45); box-shadow: var(--shadow-gold); }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .2s ease, transform .2s ease, background-color .2s ease; }
.card-link:hover { color: inherit; border-color: var(--gold-a45); transform: translateY(-2px); }
.card-link .card-more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 700; font-size: .92rem; }
.card-link .card-more .ico { width: 16px; height: 16px; transition: transform .2s ease; }
.card-link:hover .card-more .ico { transform: translateX(3px); }

/* ---------- 格線 ---------- */
.grid { display: grid; gap: var(--gap, 20px); }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } .grid-sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-reverse > :first-child { order: 2; }
.split-media { display: flex; justify-content: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split-reverse > :first-child { order: 0; } }

/* ---------- 列表 ---------- */
.list-check { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; }
.list-check li > .ico { color: var(--gold); margin-top: .22em; width: 18px; height: 18px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps > li { counter-increment: step; position: relative; padding: 18px 20px 18px 68px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r); min-width: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; color: var(--on-gold); background: var(--gold-grad); }
.steps > li > :last-child { margin-bottom: 0; }
.steps h3 { font-size: 1.05rem; margin: 4px 0 6px; }
.steps p { color: #c9c6bd; }
.step-title { display: block; font-family: var(--font-head); font-size: 1.06rem; margin-bottom: 6px; }
.step-text { display: block; color: #c9c6bd; font-size: .95rem; }
/* 四欄步驟（桌機 4 欄、平板 2 欄、手機 1 欄；數字圓在卡片上方） */
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-4 > li { padding: 64px 20px 22px; }
.steps-4 > li::before { top: 20px; left: 20px; }
@media (max-width: 980px) { .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps-4 { grid-template-columns: minmax(0, 1fr); } .steps-4 > li { padding: 18px 18px 18px 66px; } .steps-4 > li::before { top: 18px; left: 18px; } }

/* ---------- 信任帶 ---------- */
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.trust li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line-soft); font-weight: 700; line-height: 1.45; min-width: 0; }
.trust li .ico { color: var(--gold); width: 26px; height: 26px; }
.trust li span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
@media (max-width: 1080px) { .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- 手機框／平板框 ---------- */
.phone { --w: 280px; position: relative; width: var(--w); max-width: 100%; flex: none; margin: 0; padding: calc(var(--w) * .032); border-radius: calc(var(--w) * .16); background: linear-gradient(155deg, #262c30, #0d1011 40%, #050606); box-shadow: 0 0 0 1px rgba(212, 175, 106, .38), 0 0 28px rgba(212, 175, 106, .10), 0 24px 54px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .07); }
.phone-screen { position: relative; overflow: hidden; border-radius: calc(var(--w) * .13); background: var(--bg); padding-top: calc(var(--w) * .085); }
.phone-screen::before { content: ""; position: absolute; top: calc(var(--w) * .024); left: 50%; transform: translateX(-50%); width: 31%; height: calc(var(--w) * .052); border-radius: 99px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); z-index: 1; }
.phone-screen img { width: 100%; height: auto; }
.phone-sm { --w: 200px; }
.phone-lg { --w: 320px; }
.tablet { --w: 560px; position: relative; width: var(--w); max-width: 100%; margin: 0; padding: calc(var(--w) * .028); border-radius: calc(var(--w) * .06); background: linear-gradient(155deg, #262c30, #0d1011 40%, #050606); box-shadow: 0 0 0 1px rgba(212, 175, 106, .38), 0 0 28px rgba(212, 175, 106, .10), 0 24px 54px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .07); }
.tablet-screen { overflow: hidden; border-radius: calc(var(--w) * .035); background: var(--bg); }
.tablet-screen img { width: 100%; height: auto; }
figure.phone figcaption, figure.tablet figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 14px); text-align: center; font-size: .85rem; color: var(--muted); }
/* 兩支手機略重疊（左低右高） */
.phone-pair { display: flex; justify-content: center; align-items: flex-start; }
.phone-pair > .phone:first-child { margin-top: 12%; margin-right: -9%; z-index: 1; }
.phone-pair > .phone:last-child { z-index: 2; }

/* ---------- 截圖畫廊（CSS scroll-snap 橫向滑動） ---------- */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 280px); gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 8px var(--gutter) 28px; margin: 0; list-style: none; scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent; -webkit-overflow-scrolling: touch; }
.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 6px; }
.gallery-item { scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; margin: 0; min-width: 0; }
.gallery-item .phone { --w: 100%; width: 100%; padding: 8px; border-radius: 36px; }
.gallery-item .phone-screen { border-radius: 29px; padding-top: 22px; }
.gallery-item .phone-screen::before { top: 7px; height: 13px; }
.gallery-cap { padding-inline: 4px; display: flex; flex-direction: column; gap: 4px; }
.gallery-cap .kicker { margin: 0; font-size: .74rem; }
.gallery-cap h3 { font-size: 1.12rem; margin: 0 0 6px; }
.gallery-cap p { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 0; }
.gallery-hint { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .85rem; margin: 0; }
.gallery-fig { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.gallery-title { font-family: var(--font-head); font-weight: 900; font-size: 1.14rem; line-height: 1.35; }
.gallery-sub { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.gallery-hint .ico { width: 16px; height: 16px; color: var(--gold); }
.gallery-hint .hint-fine { display: none; }
/* 畫廊左右箭頭（滑鼠裝置才顯示；觸控直接滑） */
.gallery-nav { display: flex; gap: 10px; flex: none; }
.gallery-nav .btn { --h: 44px; width: 44px; padding: 0; }
.gallery-nav .btn .ico { width: 20px; height: 20px; }
.gallery-nav .btn[aria-disabled="true"] { opacity: .35; cursor: default; }
.ico-flip { transform: scaleX(-1); }
@media (hover: none), (pointer: coarse) { .gallery-nav { display: none; } }
html:not(.js) .gallery-nav { display: none; }
@media (pointer: fine) { .gallery-hint .hint-touch { display: none; } .gallery-hint .hint-fine { display: inline; } }
@media (max-width: 600px) { .gallery { grid-auto-columns: 72%; gap: 16px; } }
@media (min-width: 1240px) { .gallery { padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); } }

/* ---------- FAQ（<details>） ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--gold-a25); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 16px 20px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.04rem; margin: 0; font-weight: 700; line-height: 1.45; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .faq-body { padding: 0 20px 18px; color: #c9c6bd; }
.faq .faq-body > :last-child { margin-bottom: 0; }
:lang(zh-Hant) .faq-body p { max-width: 38em; }

/* ---------- 對照表 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--r); background: var(--panel); -webkit-overflow-scrolling: touch; }
.table { min-width: 100%; font-size: .95rem; }
.table caption { text-align: left; padding: 16px 20px 0; color: var(--muted); font-size: .85rem; caption-side: bottom; padding-bottom: 14px; }
.table th, .table td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line-soft); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table thead th { font-family: var(--font-head); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .02); }
.table tbody th { font-weight: 700; }
.table .col-pro { color: var(--gold); }
.table td.c, .table th.c { text-align: center; white-space: nowrap; }
.table td.c.wrap { white-space: normal; }
.table td.r, .table th.r { text-align: right; white-space: nowrap; }
.yes, .no { display: inline-flex; align-items: center; gap: 6px; }
.yes .ico { color: var(--pos); width: 20px; height: 20px; }
.no .ico { color: #5d645f; width: 20px; height: 20px; }

/* ---------- QR ---------- */
.qr { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; }
.qr-code { width: 148px; height: 148px; padding: 10px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--gold-a45); }
.qr-code svg { width: 100%; height: 100%; }
.qr figcaption { font-size: .82rem; color: var(--muted); text-align: center; }

/* ---------- 價格 ---------- */
.price { font-family: var(--font-head); font-weight: 900; font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); line-height: 1; letter-spacing: .01em; }
.price small { font-size: .38em; font-weight: 700; color: var(--muted); letter-spacing: .02em; margin-left: 6px; }

/* ---------- 收尾 CTA 面板 ---------- */
.cta-panel { position: relative; overflow: hidden; border-radius: calc(var(--r) * 1.5); border: 1px solid var(--gold-a25); background: radial-gradient(ellipse at 85% 0%, rgba(212, 175, 106, .16), transparent 55%), linear-gradient(180deg, var(--panel-2), var(--panel)); padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); }
.cta-panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta-panel .lead { max-width: 32em; }
@media (max-width: 760px) { .cta-panel-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 14, 13, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line-soft); padding-top: env(safe-area-inset-top); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; flex: none; }
.brand-icon { width: 34px; height: 34px; border-radius: 22%; box-shadow: 0 0 0 1px var(--gold-a45); }
.brand-word { font-family: "Lato", sans-serif; font-weight: 900; font-size: 1.06rem; letter-spacing: .16em; color: var(--gold); line-height: 1; padding-left: .02em; }
.brand:hover .brand-word { color: var(--gold-hi); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); color: #d7d4cb; text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-hi); }
.nav a[aria-current="page"] { background: var(--gold-a10); }
.nav-cta-item { display: none; }
.header-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: .86rem; }
.lang-switch .ico { width: 16px; height: 16px; color: var(--gold); }
.lang-switch:hover { border-color: var(--gold-a45); color: var(--gold-hi); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: transparent; cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle .ico-close { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0, 0, 0, .55); padding: 8px var(--gutter) 20px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-header[data-open="true"] .nav { display: block; }
  .site-header[data-open="true"] .nav-toggle .ico-menu { display: none; }
  .site-header[data-open="true"] .nav-toggle .ico-close { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { min-height: 48px; font-size: 1.02rem; }
  .nav-cta-item { display: block; margin-top: 10px; }
  .nav .nav-cta-item a { display: flex; justify-content: center; color: var(--on-gold); background: var(--gold-grad); border-radius: var(--r-pill); }
  .header-tools { margin-left: auto; }
}
@media (max-width: 380px) { .brand-word { font-size: .96rem; letter-spacing: .13em; } .lang-switch { padding: 0 10px; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--panel), #0d1012); padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-tagline { color: var(--muted); max-width: 26em; margin: 14px 0 18px; }
.footer-title { font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 6px 0 10px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; color: #cfccc3; text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--gold-hi); }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; color: var(--muted); }
.footer-copy { color: #cfccc3; }
.footer-note { font-size: .82rem; max-width: 52em; margin-top: 4px; }
.footer-tm { font-size: .76rem; max-width: 60em; margin-top: 8px; color: #7d837a; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "brand brand" "product support" "product legal"; }
  .footer-brand { grid-area: brand; }
  .footer-col-product { grid-area: product; }
  .footer-col-support { grid-area: support; }
  .footer-col-legal { grid-area: legal; }
}
@media (max-width: 420px) { .footer-grid { gap: 20px 16px; } }

/* ---------- Reveal（淡入上移；減少動態時一律關閉） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 列印 ---------- */
@media print { .site-header, .site-footer, .gallery-hint { display: none; } body { background: #fff; color: #000; } }
