/* 產品官網設計參數。這個檔由 tokens.mjs 產生，不要手改：
   顏色、字級、間距、圓角、動態的正本在 ../shared/design/tokens.json（官網與 App 共用）；官網自己的語意別名與元件尺寸在 tokens.site.mjs。
   三層：原始值（--c-、--space- 等，只在本檔用）→ 語意（頁面與元件只用這層）→ 元件。深色值只寫在「深色」區塊一次。 */
:root {
  /* ── 原始值：色階（來自共用正本） ── */
  --c-n-0: #ffffff; --c-n-50: #f2f3f5; --c-n-100: #e8eaed; --c-n-200: #e1e4e8; --c-n-300: #c9cdd3; --c-n-400: #a3a9b2; --c-n-500: #7b818a; --c-n-600: #5d636d; --c-n-700: #41454d; --c-n-800: #2a2d33; --c-n-850: #1a1c21; --c-n-900: #17191e; --c-n-950: #121214; --c-n-1000: #000000;
  --c-gold-50: #fff6e3; --c-gold-100: #fbe2b0; --c-gold-200: #f4c67f; --c-gold-300: #edb758; --c-gold-400: #e9a93a; --c-gold-500: #c98418; --c-gold-600: #b87d12; --c-gold-700: #8c5e0b; --c-gold-800: #6c4706; --c-gold-900: #4d3203; --c-gold-950: #332001;
  --c-coral-50: #ffeee8; --c-coral-100: #ffddd3; --c-coral-200: #ffc2b3; --c-coral-300: #fc9e8a; --c-coral-400: #ef6f55; --c-coral-500: #cb5d47; --c-coral-600: #ac4e3b; --c-coral-700: #8e3f2f; --c-coral-800: #723124; --c-coral-900: #572419; --c-coral-950: #3d170f;
  --c-blue-50: #f1f4f7; --c-blue-100: #e1e5ea; --c-blue-200: #c9ced5; --c-blue-300: #aab2bb; --c-blue-400: #8a939e; --c-blue-500: #6a7683; --c-blue-600: #4c5968; --c-blue-700: #334151; --c-blue-800: #1d2d3d; --c-blue-900: #071728; --c-blue-950: #030c18;
  --c-paper: #f2f1ee;
  --c-halo-a: #f0bf6a; --c-halo-b: #f0b35e; --c-halo-c: #f09a6a;   /* 光暈專用色標（只在光暈） */
  /* 色階的 RGB 數值：半透明時用 rgb(var(--c-…-rgb) / 透明度)，不寫死 rgba 數字 */
  --c-n-0-rgb: 255 255 255; --c-n-50-rgb: 242 243 245; --c-n-100-rgb: 232 234 237; --c-n-200-rgb: 225 228 232; --c-n-300-rgb: 201 205 211; --c-n-400-rgb: 163 169 178; --c-n-500-rgb: 123 129 138; --c-n-600-rgb: 93 99 109; --c-n-700-rgb: 65 69 77; --c-n-800-rgb: 42 45 51; --c-n-850-rgb: 26 28 33; --c-n-900-rgb: 23 25 30; --c-n-950-rgb: 18 18 20; --c-n-1000-rgb: 0 0 0;
  --c-gold-50-rgb: 255 246 227; --c-gold-100-rgb: 251 226 176; --c-gold-200-rgb: 244 198 127; --c-gold-300-rgb: 237 183 88; --c-gold-400-rgb: 233 169 58; --c-gold-500-rgb: 201 132 24; --c-gold-600-rgb: 184 125 18; --c-gold-700-rgb: 140 94 11; --c-gold-800-rgb: 108 71 6; --c-gold-900-rgb: 77 50 3; --c-gold-950-rgb: 51 32 1;
  --c-coral-50-rgb: 255 238 232; --c-coral-100-rgb: 255 221 211; --c-coral-200-rgb: 255 194 179; --c-coral-300-rgb: 252 158 138; --c-coral-400-rgb: 239 111 85; --c-coral-500-rgb: 203 93 71; --c-coral-600-rgb: 172 78 59; --c-coral-700-rgb: 142 63 47; --c-coral-800-rgb: 114 49 36; --c-coral-900-rgb: 87 36 25; --c-coral-950-rgb: 61 23 15;
  --c-blue-50-rgb: 241 244 247; --c-blue-100-rgb: 225 229 234; --c-blue-200-rgb: 201 206 213; --c-blue-300-rgb: 170 178 187; --c-blue-400-rgb: 138 147 158; --c-blue-500-rgb: 106 118 131; --c-blue-600-rgb: 76 89 104; --c-blue-700-rgb: 51 65 81; --c-blue-800-rgb: 29 45 61; --c-blue-900-rgb: 7 23 40; --c-blue-950-rgb: 3 12 24;
  --mask-on: #000;

  /* ── 原始值：間距、圓角、字體、版面 ── */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px; --space-11: 160px;
  --radius-xs: 4px; --radius-s: 8px; --radius-m: 12px; --radius-l: 16px; --radius-xl: 24px; --radius-full: 999px; --radius-photo: 10px;
  /* 圓角用途（來自共用正本 radiusRole：按鈕、標籤膠囊，越大越圓） */
  --radius-button: var(--radius-full); --radius-chip: var(--radius-full); --radius-tag: var(--radius-full); --radius-input: var(--radius-m); --radius-icon-tile: var(--radius-m); --radius-card: var(--radius-l); --radius-toast: var(--radius-l); --radius-sheet: var(--radius-xl);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang TC", "Segoe UI", "Microsoft JhengHei", "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;
  --content-max: 1120px; --text-max: 40em; --header-h: 64px;

  /* ── 字級（桌機；手機見最下方）、行高、粗細、字距 ── */
  --fs-display: 88px; --fs-h2: 44px; --fs-h3: 22px; --fs-lead: 21px; --fs-body: 17px; --fs-small: 15px; --fs-caption: 13px;
  --lh-display: 1.06; --lh-h2: 1.18; --lh-h3: 1.35; --lh-lead: 1.6; --lh-body: 1.75; --lh-small: 1.6; --lh-caption: 1.5;
  --fw-regular: 400; --fw-semibold: 600; --fw-bold: 700; --fw-display: 800;
  --ls-display: -0.02em; --ls-h2: -0.01em; --ls-body: 0.02em; --ls-caption: 0.04em;
  --measure: 36em;

  /* ── 動態：時長與曲線（「減少動態效果」時全部不播） ── */
  --dur-instant: 120ms; --dur-fast: 200ms; --dur-base: 320ms; --dur-slow: 600ms; --dur-shutter: 300ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); --ease-spring: cubic-bezier(0.34, 1.36, 0.64, 1); --ease-spring-strong: cubic-bezier(0.34, 1.8, 0.64, 1);
  /* 介面動態用途（來自共用正本 motion.role）：按下、選取（回彈）、面板（回彈）、修圖前後、段落浮現 */
  --motion-press: 120ms; --motion-press-ease: var(--ease-out); --motion-select: 240ms; --motion-select-ease: var(--ease-spring-strong); --motion-sheet: 420ms; --motion-sheet-ease: var(--ease-spring); --motion-reveal: 320ms; --motion-reveal-ease: var(--ease-out); --motion-section: 600ms; --motion-section-ease: var(--ease-out);
  /* 官網自己的動態編排（tokens.site.mjs：開場、照片牆、時間條、把手輕晃的時間與錯開） */
  --site-hero-intro-focus: 1200ms; --site-hero-intro-out: 450ms; --site-hero-intro: 1450ms; --site-hero-title: 900ms; --site-hero-title-stagger: 140ms; --site-hero-title-start: 50ms; --site-hero-rest: 700ms; --site-hero-rest-stagger: 80ms; --site-hero-rest-start: 400ms; --site-hero-photo: 1000ms; --site-hero-photo-delay: 450ms; --site-hero-hint-at: 2100ms; --site-head-title: 800ms; --site-head-text: 700ms; --site-head-text-delay: 180ms; --site-wall: 900ms; --site-wall-stagger: 160ms; --site-steps-line: 900ms; --site-steps-stagger: 180ms; --site-steps-line-start: 150ms; --site-group-stagger: 70ms; --site-hint-wiggle: 1600ms; --site-style-wiggle: 1300ms; --site-style-wiggle-start: 500ms; --site-style-wiggle-gap: 140ms; --site-fallback: 3.6s; --site-focus-title-at: 700ms; --site-focus-visual-at: 900ms; --site-focus-delay: 500ms; --site-size-stagger: 90ms; --site-icon-stagger: 120ms; --site-keep-adjust-delay: 300ms; --site-ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1); --site-chevrons: 1.2s; --site-post-float: 1400ms; --site-post-roll: 600ms; --site-post-tick-comment-min: 2400ms; --site-post-tick-comment-max: 6000ms; --site-post-tick-share-min: 3600ms; --site-post-tick-share-max: 8000ms; --site-post-tick-min: 900ms; --site-post-tick-max: 2600ms; --site-halo-breath: 10s; --site-loop-spark-badge-dot: 2400ms; --site-loop-mark-tl: 6000ms; --site-loop-mark-br: 6000ms; --site-loop-mark-dot: 6000ms; --site-loop-tune-ui-knob: 6000ms; --site-loop-tune-ui-fill: 6000ms; --site-loop-tune-ui-exposure: 6000ms; --site-loop-tune-ui-num: 6000ms; --site-loop-map-pin: 3200ms; --site-loop-smartphone: 4000ms; --site-loop-hand-heart: 2800ms; --site-loop-camera: 3600ms; --site-loop-shield-check: 3400ms; --site-loop-sliders-horizontal: 4200ms; --site-loop-globe: 5000ms; --site-loop-download: 2800ms; --site-loop-badge-check: 3800ms; --site-loop-badge-check-spin: 14000ms; --site-loop-image: 5000ms; --site-loop-languages: 5000ms; --site-loop-moon: 6000ms; --site-loop-sun: 3000ms; --site-loop-sun-spin: 16000ms; --site-loop-arrow-up-right: 3000ms; --site-loop-file-text: 4000ms; --site-loop-scale: 4400ms; --site-loop-mail: 3600ms; --site-loop-clock: 6000ms; --site-loop-pen-tool: 3200ms; --site-loop-share-2: 3000ms; --site-loop-plane: 4600ms; --site-loop-utensils: 3800ms; --site-loop-coffee: 3200ms; --site-loop-images: 4000ms; --site-loop-swatch-book: 3800ms; --site-loop-circle-gauge: 3600ms; --site-loop-share: 3000ms; --site-loop-aperture: 4400ms; --site-loop-sunrise: 3600ms; --site-loop-sun-medium: 3200ms; --site-loop-sun-medium-spin: 18000ms; --site-loop-sun-dim: 3200ms; --site-loop-contrast: 4000ms; --site-loop-circle-dot: 2800ms; --site-loop-droplet: 3400ms; --site-loop-palette: 3600ms; --site-loop-thermometer: 3600ms; --site-loop-droplets: 3000ms; --site-loop-triangle: 3200ms; --site-loop-focus: 3600ms; --site-loop-grip: 3400ms; --site-loop-scan: 4000ms; --site-loop-user-round: 3600ms; --site-loop-frame: 3800ms; --site-loop-building-2: 3600ms; --site-loop-type: 3400ms; --site-loop-eraser: 3400ms; --site-loop-gallery-vertical: 3800ms; --site-loop-circle-user-round: 3600ms; --site-loop-monitor-play: 3200ms; --site-loop-credit-card: 3600ms; --site-loop-tablet-smartphone: 4000ms; --site-loop-scan-eye: 4000ms; --site-loop-brain: 3800ms; --site-loop-refresh-cw: 3600ms; --site-loop-user-check: 3600ms; --site-loop-ruler: 3000ms; --site-loop-calendar-clock: 4800ms; --site-loop-shield: 3400ms; --site-loop-scroll-text: 4000ms; --site-loop-life-buoy: 12000ms; --site-loop-flag: 2800ms; --site-loop-doc-step: 2000ms; --site-loop-badge-check-step: 600ms; --site-loop-file-text-step: 250ms; --site-loop-share-2-1: 350ms; --site-loop-share-2-2: 500ms; --site-loop-coffee-step: 250ms; --site-loop-sunrise-step: 400ms; --site-loop-sun-dim-step: 200ms; --site-loop-palette-step: 150ms; --site-loop-focus-step: 300ms; --site-loop-grip-step: 250ms; --site-loop-building-2-step: 500ms; --site-loop-ruler-step: 150ms; --site-phase-chips-1: 600ms; --site-phase-chips-2: 1300ms; --site-phase-chips-3: 2000ms; --site-phase-faq-step: 1100ms; --site-phase-keep-col-step: 800ms; --site-phase-sizes-step: 700ms; --site-phase-steps-step: 900ms; --site-phase-site-footer-step: 1000ms;
  --z-header: 10; --z-skip: 30;

  /* ── 語意（淺色） ── */
  --bg: var(--c-n-0);  /* 頁面底 */
  --bg-subtle: var(--c-paper);  /* 低一層的底：照片佔位、提示 */
  --paper: var(--c-paper);  /* 品牌底：開場、頁尾（深色比頁面底亮一階，和下一區分得開） */
  --selected-bg: var(--c-gold-50);  /* 選中淡底：選中的標籤、小標籤（讀共用正本） */
  --selected-line: var(--c-gold-600);  /* 選中框線：選中的標籤（金光，讀共用正本） */
  --chip-bg: var(--c-n-100);  /* 未選標籤底（淺灰，讀共用正本） */
  --surface: var(--c-n-0);  /* 浮在底上的面：卡片、膠囊 */
  --dark: var(--c-n-900);  /* 深色信任區塊（深色模式比交替的兩種底都亮，和上下區分得開） */
  --line: var(--c-n-200);  /* 分隔線 */
  --line-strong: var(--c-n-300);  /* 較明顯的線 */
  --text: var(--c-n-900);  /* 主要文字（墨） */
  --text-muted: var(--c-n-600);  /* 次要文字 */
  --on-dark: var(--c-n-0);  /* 深色區塊上的字 */
  --on-dark-muted: var(--c-n-300);  /* 深色區塊上的次要字 */
  --accent: var(--c-n-900);  /* 主要按鈕（墨；深色反白） */
  --accent-hover: var(--c-n-800);  /* 主要按鈕滑過（只變色，不浮起、不加陰影） */
  --on-accent: var(--c-n-0);  /* 主要按鈕上的字 */
  --focus: var(--c-gold-600);  /* 焦點框（金光，讀共用正本） */
  --focus-on-dark: var(--c-gold-300);  /* 深色區塊上的焦點框（共用正本焦點框的深色值） */
  --hover-overlay: rgba(23, 25, 30, 0.06);  /* 滑過時疊的一層 */
  --glow: var(--c-gold-400);  /* 金光色塊 */
  --on-glow: var(--c-n-900);  /* 金光色塊上的字（8.5:1） */
  --glow-ui: var(--c-gold-600);  /* 角標、圖示、光點（只當圖形） */
  --glow-text: var(--c-gold-700);  /* 金色文字（對白 5.6:1） */
  --shade: var(--c-blue-900);  /* 影（深海藍）：墨色面上的影子漸層 */
  --glow-soft: rgba(233, 169, 58, 0.42);  /* 柔和金光 */
  --coral-soft: rgba(239, 111, 85, 0.32);  /* 柔和珊瑚（光暈外緣） */
  --post-like: #ff3b30;  /* 社群貼文示意的按讚愛心（只用在這裡，不當錯誤色） */
  --post-ring-1: #feda75;  /* 社群貼文示意的大頭貼外圈（模擬一般社群 App 限時動態的漸層圈；只用在這裡，不是品牌色） */
  --post-ring-2: #fa7e1e;  /* 同上，漸層第 2 色 */
  --post-ring-3: #d62976;  /* 同上，漸層第 3 色 */
  --post-ring-4: #962fbf;  /* 同上，漸層第 4 色 */
  --phone-frame: var(--c-n-900);  /* 手機外框 */
  --halo-glow: 1;  /* 光暈外光的透明度（符號系統已定：深色模式減弱） */

  /* ── 版面間距（來自共用正本 layout.web）：段落上下、標題到內容、左右邊距；卡片之間兩個固定值（桌機、窄版），由各規則依自己的斷點選用 ── */
  --section-y: 128px; --head-gap: 64px; --gutter: 24px; --card-gap: 32px; --card-gap-compact: 16px;

  /* ── 陰影（來自共用正本 shadow：只有浮層有陰影） ── */
  --shadow-float: 0 4px 10px rgba(23, 25, 30, 0.06), 0 10px 24px rgba(23, 25, 30, 0.1); --shadow-sheet: 0 -8px 24px rgba(23, 25, 30, 0.12);

  /* ── 按鈕（來自共用正本 component.button） ── */
  --btn-h: 48px; --btn-press-scale: 0.97; --focus-w: 2px; --focus-offset: 3px;
  --chip-h: 34px; --chip-line-w: 1.5px;

  /* ── App 介面示意的語意色（來自共用正本 color.semantic） ── */
  --app-bg: var(--c-n-0); --app-bg-brand: var(--c-paper); --app-surface: var(--c-n-0); --app-surface-raised: var(--c-n-0); --app-selected-bg: var(--c-gold-50); --app-chip-bg: var(--c-n-100); --app-text: var(--c-n-900); --app-text2: var(--c-n-600); --app-line: var(--c-n-200); --app-accent: var(--c-gold-600); --app-on-accent: var(--c-n-900); --app-on-photo: var(--c-n-0); --app-btn: var(--c-n-900); --app-on-btn: var(--c-n-0); --app-scrim: var(--c-n-900); --app-success: #1f8037; --app-sym-line: var(--c-n-900); --app-sym-dot: var(--c-gold-600);
  --app-scrim-fill: rgb(var(--c-n-900-rgb) / 0.5);
  --app-r-photo: 10; --app-r-toast: 16; --app-r-sheet: 24; --app-r-icon-tile: 12; --app-r-xs: 4;   /* App 圓角（pt 數字，讀 radiusRole 與 radius.xs） */

  /* ── 元件 ── */
  --fs-app-10: calc(100cqw * 10 / 390); --fs-app-12: calc(100cqw * 12 / 390); --fs-app-13: calc(100cqw * 13 / 390); --fs-app-14: calc(100cqw * 14 / 390); --fs-app-15: calc(100cqw * 15 / 390); --fs-app-16: calc(100cqw * 16 / 390); --fs-app-17: calc(100cqw * 17 / 390); --fs-app-20: calc(100cqw * 20 / 390); --fs-app-34: calc(100cqw * 34 / 390); --btn-px: var(--space-5); --badge-h: 36px; --vf-len: 26px; --vf-w: 3px; --vf-radius: 6px; --compare-handle: 44px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--c-n-1000);
    --bg-subtle: var(--c-n-850);
    --paper: var(--c-n-850);
    --selected-bg: var(--c-gold-950);
    --selected-line: var(--c-gold-300);
    --chip-bg: var(--c-n-800);
    --surface: var(--c-n-850);
    --dark: var(--c-n-800);
    --line: var(--c-n-800);
    --line-strong: var(--c-n-700);
    --text: var(--c-n-50);
    --text-muted: var(--c-n-400);
    --accent: var(--c-n-50);
    --accent-hover: var(--c-n-0);
    --on-accent: var(--c-n-900);
    --focus: var(--c-gold-300);
    --hover-overlay: rgba(255, 255, 255, 0.08);
    --glow-ui: var(--c-gold-300);
    --glow-text: var(--c-gold-300);
    --glow-soft: rgba(233, 169, 58, 0.22);
    --coral-soft: rgba(239, 111, 85, 0.18);
    --post-like: #ff453a;
    --phone-frame: var(--c-n-700);
    --halo-glow: 0.75;
    --shadow-float: 0 0 0 1px rgba(255, 255, 255, 0.14); --shadow-sheet: 0 0 0 1px rgba(255, 255, 255, 0.14);
    --app-bg: var(--c-n-1000); --app-bg-brand: var(--c-n-950); --app-surface: var(--c-n-850); --app-surface-raised: var(--c-n-800); --app-selected-bg: var(--c-gold-950); --app-chip-bg: var(--c-n-800); --app-text: var(--c-n-50); --app-text2: var(--c-n-400); --app-line: var(--c-n-800); --app-accent: var(--c-gold-300); --app-on-accent: var(--c-n-900); --app-on-photo: var(--c-n-0); --app-btn: var(--c-n-50); --app-on-btn: var(--c-n-900); --app-scrim: var(--c-n-1000); --app-success: #30d158; --app-sym-line: var(--c-n-50); --app-sym-dot: var(--c-gold-300); --app-scrim-fill: rgb(var(--c-n-1000-rgb) / 0.6);
  }
}
:root[data-theme="dark"] {
    --bg: var(--c-n-1000);
    --bg-subtle: var(--c-n-850);
    --paper: var(--c-n-850);
    --selected-bg: var(--c-gold-950);
    --selected-line: var(--c-gold-300);
    --chip-bg: var(--c-n-800);
    --surface: var(--c-n-850);
    --dark: var(--c-n-800);
    --line: var(--c-n-800);
    --line-strong: var(--c-n-700);
    --text: var(--c-n-50);
    --text-muted: var(--c-n-400);
    --accent: var(--c-n-50);
    --accent-hover: var(--c-n-0);
    --on-accent: var(--c-n-900);
    --focus: var(--c-gold-300);
    --hover-overlay: rgba(255, 255, 255, 0.08);
    --glow-ui: var(--c-gold-300);
    --glow-text: var(--c-gold-300);
    --glow-soft: rgba(233, 169, 58, 0.22);
    --coral-soft: rgba(239, 111, 85, 0.18);
    --post-like: #ff453a;
    --phone-frame: var(--c-n-700);
    --halo-glow: 0.75;
    --shadow-float: 0 0 0 1px rgba(255, 255, 255, 0.14); --shadow-sheet: 0 0 0 1px rgba(255, 255, 255, 0.14);
    --app-bg: var(--c-n-1000); --app-bg-brand: var(--c-n-950); --app-surface: var(--c-n-850); --app-surface-raised: var(--c-n-800); --app-selected-bg: var(--c-gold-950); --app-chip-bg: var(--c-n-800); --app-text: var(--c-n-50); --app-text2: var(--c-n-400); --app-line: var(--c-n-800); --app-accent: var(--c-gold-300); --app-on-accent: var(--c-n-900); --app-on-photo: var(--c-n-0); --app-btn: var(--c-n-50); --app-on-btn: var(--c-n-900); --app-scrim: var(--c-n-1000); --app-success: #30d158; --app-sym-line: var(--c-n-50); --app-sym-dot: var(--c-gold-300); --app-scrim-fill: rgb(var(--c-n-1000-rgb) / 0.6);
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }
@media (max-width: 720px) {
  :root {
    --fs-display: 38px; --fs-h2: 28px; --fs-h3: 19px; --fs-lead: 17px; --fs-body: 16px; --fs-small: 14px; --fs-caption: 12px;
    --section-y: 64px; --head-gap: 48px; --gutter: 16px;
    --vf-len: 20px;
  }
}

/* 產品官網元件樣式（設計系統說明見本資料夾 DESIGN.md；總覽頁 styleguide/）。
   只用 tokens.css 的語意與元件參數；不引用本資料夾以外的任何檔案。
   每個互動元件都有：預設、滑過、按下、鍵盤聚焦、深色模式；動態在「減少動態效果」時全部停用。
   .is-hover／.is-active／.is-focus 只給設計系統總覽頁展示狀態用，與真正的 :hover 等同一組規則。 */

/* ══ 1 基礎 ═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--space-5)); interpolate-size: allow-keywords; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: 0; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--fw-bold); letter-spacing: var(--ls-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-semibold); text-wrap: pretty; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--space-4); }
a { color: var(--accent); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.24em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color var(--dur-fast) var(--ease-out); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: var(--focus-w) solid var(--focus); outline-offset: var(--focus-offset); border-radius: var(--radius-s); }
img { max-width: 100%; display: block; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.75; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: var(--z-skip); background: var(--accent); color: var(--on-accent); padding: var(--space-2) var(--space-4); border-radius: var(--radius-s); text-decoration: none; }
.skip-link:focus { top: var(--space-4); }
.container { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--text-muted); }
.num { font-variant-numeric: tabular-nums; }

/* ══ 2 段落與段落標頭 ═════════════════════════════════ */
.section { padding-block: var(--section-y); }
/* 區塊底色依順序自動深淺交替：一般區塊照出現順序，第 1、3、5…個＝頁面底，第 2、4、6…個＝低一層的底；信任區塊（深色）與下載區（金光）有自己的底，不算進交替。
   不逐區指定，新增區塊也自動交替；相鄰底色太接近由 layout-check 擋（淺色與深色都量） */
.section { background: var(--bg); --fill: var(--bg-subtle); }   /* --fill＝區塊裡的填色：永遠和所在區塊的底相反，放到哪種底都分得開 */
main > .section:nth-child(even of .section:not(.trust, .download)) { background: var(--bg-subtle); --fill: var(--bg); }
.section-head { max-width: var(--text-max); margin-bottom: var(--head-gap); }
.section-head p { margin-top: var(--space-4); max-width: 30em; color: var(--text-muted); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.more-link { margin-top: var(--space-7); font-weight: var(--fw-semibold); }

/* ══ 3 頁首 ═══════════════════════════════════════════ */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: var(--bg); background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header { transition: border-color var(--dur-base) var(--ease-out); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: var(--space-6); min-height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--text); text-decoration: none; font-weight: var(--fw-bold); font-size: 19px; letter-spacing: 0; }
.wordmark svg { width: 22px; height: 22px; overflow: visible; }
.nav { flex: 1; display: flex; justify-content: flex-end; gap: var(--space-5); overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { position: relative; color: var(--text-muted); text-decoration: none; font-size: var(--fs-small); white-space: nowrap; padding-block: var(--space-2); transition: color var(--dur-fast) var(--ease-out); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--glow); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.nav a:hover, .nav a.is-hover { color: var(--text); }
.nav a[aria-current="true"], .nav a.is-current { color: var(--text); }
.nav a[aria-current="true"]::after, .nav a.is-current::after { transform: scaleX(1); }
.site-header__tools { display: flex; align-items: center; gap: var(--space-2); flex: none; }
.theme-toggle, .lang-switch { height: 36px; border: 1px solid var(--line); border-radius: var(--radius-full); background: transparent; color: var(--text); cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.theme-toggle { display: inline-grid; place-items: center; width: 36px; padding: 0; flex: none; }
.theme-toggle[hidden] { display: none; }
.theme-toggle span { display: grid; }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle__sun { display: none !important; }
:root[data-theme="dark"] .theme-toggle__sun { display: grid !important; }
:root[data-theme="dark"] .theme-toggle__moon { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun { display: grid !important; }
  :root:not([data-theme="light"]) .theme-toggle__moon { display: none !important; }
}
.lang-switch { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--fs-small); text-decoration: none; padding: 0 var(--space-3); white-space: nowrap; }
.lang-switch .icon { width: 16px; height: 16px; }
.theme-toggle:hover, .lang-switch:hover, .theme-toggle.is-hover, .lang-switch.is-hover { background: var(--hover-overlay); border-color: var(--line-strong); }
@media (max-width: 720px) {
  .site-header__inner { flex-wrap: wrap; gap: 0 var(--space-4); padding-top: var(--space-2); }
  .nav { order: 3; flex-basis: 100%; justify-content: flex-start; gap: var(--space-5); padding-bottom: var(--space-1); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); -webkit-mask-image: linear-gradient(90deg, transparent, var(--mask-on) var(--gutter), var(--mask-on) calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, var(--mask-on) var(--gutter), var(--mask-on) calc(100% - 40px), transparent); }
  .site-header__tools { margin-left: auto; }
}

/* ══ 4 按鈕、徽章、標籤、膠囊 ═════════════════════════ */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--btn-h); padding: 0 var(--btn-px); border-radius: var(--radius-full); font-size: var(--fs-body); font-weight: var(--fw-semibold); letter-spacing: 0.01em; text-decoration: none; border: 1.5px solid var(--accent); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--motion-press) var(--motion-press-ease); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover, .btn--primary.is-hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--secondary { background: transparent; color: var(--accent); border-color: var(--text-muted); }   /* 外框對底 ≥3:1 */
.btn--secondary:hover, .btn--secondary.is-hover { background: var(--hover-overlay); border-color: var(--accent); }
.btn:active, .btn.is-active { transform: scale(var(--btn-press-scale)); }
.btn.is-focus { outline: var(--focus-w) solid var(--focus); outline-offset: var(--focus-offset); }
.link-ext { display: inline-flex; align-items: center; gap: var(--space-1); }
.link-ext .icon { width: 1em; height: 1em; }

/* 光點徽章（品牌元素）：金光膠囊＋一顆小光點，用在「新的、即將推出」 */

/* 一般標籤（狀態、平台） */
/* 適合場景標籤：金光淡底 */
.fits { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-3); }
.fit { font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text); background: var(--selected-bg); border-radius: var(--radius-full); padding: 2px 10px; }
/* 膠囊（微調項目） */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-7) 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 6px; min-height: var(--chip-h); padding: 0 var(--space-4) 0 var(--space-3); font-size: var(--fs-small); background: var(--chip-bg); border-radius: var(--radius-full); }
.chips li.is-selected { background: var(--selected-bg); color: var(--text); box-shadow: inset 0 0 0 var(--chip-line-w) var(--selected-line); font-weight: var(--fw-semibold); }   /* 選中：選中淡底＋金光框線（不用實心墨，避免和主要按鈕混淆） */
.chips .icon { width: 16px; height: 16px; color: var(--glow-ui); }
.chips li.is-selected .icon { color: var(--selected-line); }

/* ══ 5 品牌元素（用在哪見 DESIGN.md 第 4 節） ═══ */
/* 取景框角標：圓角（6）外框用遮罩只留四角；參數 --vf-len、--vf-w、--vf-c */
.p-hero__stage::before, .size__frame::after, .flow__device::before {
  content: ""; position: absolute; pointer-events: none; z-index: 2; --vf-c: var(--glow-ui);
  border: var(--vf-w) solid var(--vf-c); border-radius: var(--vf-radius);
  -webkit-mask: linear-gradient(var(--mask-on) 0 0) left top / var(--vf-len) var(--vf-len) no-repeat, linear-gradient(var(--mask-on) 0 0) right top / var(--vf-len) var(--vf-len) no-repeat, linear-gradient(var(--mask-on) 0 0) left bottom / var(--vf-len) var(--vf-len) no-repeat, linear-gradient(var(--mask-on) 0 0) right bottom / var(--vf-len) var(--vf-len) no-repeat;
  mask: linear-gradient(var(--mask-on) 0 0) left top / var(--vf-len) var(--vf-len) no-repeat, linear-gradient(var(--mask-on) 0 0) right top / var(--vf-len) var(--vf-len) no-repeat, linear-gradient(var(--mask-on) 0 0) left bottom / var(--vf-len) var(--vf-len) no-repeat, linear-gradient(var(--mask-on) 0 0) right bottom / var(--vf-len) var(--vf-len) no-repeat;
}
/* 標題框：開場標題的關鍵詞 */

/* ══ 6 前後對比（照片即卡片：照片＋下方說明，不包相紙、不加陰影） ═══════ */
.ba { position: relative; margin: 0; }
.ba__cap { display: grid; gap: var(--space-1); margin-top: var(--space-3); }
.ba__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-semibold); }
.ba__meta { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-muted); }
.ba:not(.compare) { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.ba__pane { position: relative; }
.ba img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-photo); }
.ba--3x4 img { aspect-ratio: 3 / 4; } .ba--1x1 img { aspect-ratio: 1; } .ba--3x2 img { aspect-ratio: 3 / 2; } .ba--4x3 img { aspect-ratio: 4 / 3; }
.ba__label { display: block; margin-top: var(--space-2); font-size: var(--fs-caption); color: var(--text-muted); }
/* 可拖動的對比（JS 啟用時把兩張疊起來） */
.compare { display: grid; grid-template-columns: 1fr; gap: 0; touch-action: pan-y; }
.compare .ba__pane { grid-area: 1 / 1; border-radius: var(--radius-photo); }
.compare .ba__pane img, .compare .ba__pane .ph { border-radius: var(--radius-photo); }
.compare .ba__pane:nth-child(2) { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .ba__cap { grid-area: 2 / 1; }
.compare .ba__label { position: absolute; top: var(--space-3); margin: 0; padding: 3px 10px; border-radius: var(--radius-full); background: rgb(var(--c-n-900-rgb) / 0.58); color: var(--c-n-0); font-size: var(--fs-caption); font-weight: var(--fw-semibold); letter-spacing: var(--ls-caption); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.compare .ba__pane:nth-child(1) .ba__label { left: var(--space-3); }
.compare .ba__pane:nth-child(2) .ba__label { right: var(--space-3); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: var(--c-n-0); box-shadow: 0 0 0 0.5px rgb(var(--c-n-900-rgb) / 0.25); pointer-events: none; z-index: 3; }
.compare__handle::before { content: ""; position: absolute; top: 50%; left: 50%; width: var(--compare-handle); height: var(--compare-handle); margin: calc(var(--compare-handle) / -2) 0 0 calc(var(--compare-handle) / -2); border-radius: var(--radius-full); background: var(--c-n-0); box-shadow: var(--shadow-float); transition: transform var(--dur-fast) var(--ease-out); }
.compare__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; background: var(--c-n-900); -webkit-mask: url(/assets/chevrons.ae7a43b3ad.svg) center / contain no-repeat; mask: url(/assets/chevrons.ae7a43b3ad.svg) center / contain no-repeat; }
.compare:hover .compare__handle::before, .compare.is-hover .compare__handle::before { transform: scale(1.08); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.compare:has(.compare__range:focus-visible) .compare__handle::before, .compare.is-focus .compare__handle::before { box-shadow: 0 0 0 3px var(--focus), var(--shadow-float); }
@media (max-width: 720px) { :root { --compare-handle: 38px; } .compare .ba__label { top: var(--space-2); padding: 2px 8px; } .compare .ba__pane:nth-child(1) .ba__label { left: var(--space-2); } .compare .ba__pane:nth-child(2) .ba__label { right: var(--space-2); } }

/* ══ 7 照片佔位（放了照片就不會出現） ═══════ */
.ph { position: relative; display: grid; place-content: center; justify-items: center; gap: var(--space-2); width: 100%; padding: var(--space-6); background: var(--chip-bg); border-radius: var(--radius-photo); color: var(--text-muted); font-size: var(--fs-caption); line-height: var(--lh-caption); text-align: center; }
.ph .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.ph--4x5 { aspect-ratio: 4 / 5; } .ph--3x2 { aspect-ratio: 3 / 2; } .ph--1x1 { aspect-ratio: 1; } .ph--3x4 { aspect-ratio: 3 / 4; } .ph--4x3 { aspect-ratio: 4 / 3; } .ph--9x19 { aspect-ratio: 9 / 19.5; }
.ph--compact { gap: var(--space-1); padding: var(--space-2); }
.ph--compact .icon { width: 20px; height: 20px; }
.ph--compact span, .compare .ph span { display: none; }

/* ══ 8 開場 ═══════════════════════════════════════════ */
.live-badge { display: inline-flex; align-items: center; gap: var(--space-3); min-height: var(--badge-h); color: var(--text); font-size: var(--fs-small); font-weight: var(--fw-semibold); }
.live-badge__dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--glow-ui); }   /* 即將上線的光點 */
.live-badge__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--glow-ui); opacity: 0; }
/* 開場序幕：光暈由小放大、標誌（光＋KaChia）從失焦對焦到清晰，再一起淡出（約 1.6 秒，一次）；內容等它淡出後才進場（site.js 讀 --site-hero-intro） */
.p-hero__intro { display: none; }
.motion .p-hero__intro { position: absolute; inset: 0 0 auto; height: min(100%, calc(100svh - var(--header-h, 64px))); z-index: 3; display: grid; place-items: center; color: var(--text); pointer-events: none; animation: intro-out var(--site-hero-intro-out) var(--ease-out) var(--site-hero-intro-focus) forwards; }
.motion .p-hero__intro { overflow: hidden; }
.p-hero__mark { position: relative; display: grid; place-items: center; width: 150px; height: 150px; }
.p-hero__intro .brand-bg--intro-halo { position: absolute; inset: auto; left: 50%; top: 50%; z-index: -1; width: 970px; max-width: none; height: auto; aspect-ratio: 1; translate: -50% -50%; color: var(--text); animation: intro-halo var(--site-hero-intro-focus) var(--ease-in-out) both; }   /* 光心直徑約 73px、在六邊形裡；光環約 160px、在六邊形外 */
.p-hero__logo { position: relative; isolation: isolate; display: grid; justify-items: center; gap: var(--space-5); color: var(--text); animation: intro-focus var(--site-hero-intro-focus) var(--ease-in-out) both; }
.p-hero__mark > svg:not(.brand-bg) { position: relative; width: 150px; height: 150px; }
.p-hero__logo-name { font-size: var(--fs-h2); font-weight: var(--fw-bold); line-height: 1; letter-spacing: var(--ls-h2); }
@keyframes intro-focus { 0% { opacity: 0; filter: blur(8px); scale: 1.18; } 30% { opacity: 1; } 100% { opacity: 1; filter: blur(0); scale: 1; } }
@keyframes intro-halo { 0% { opacity: 0; scale: 0.45; } 40% { opacity: 1; } 70% { scale: 1.08; } 100% { opacity: 1; scale: 1; } }   /* 光暈由小放大、略超過再回到定位 */
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
.p-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: var(--space-9) var(--space-10); background: var(--paper); }
/* 品牌背景（符號圖樣＋光暈，畫法正本 ../shared/design/brand.mjs）：線用 currentColor、光暈色標用 class 上色（本站禁止行內樣式） */
.brand-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.brand-bg--download { color: var(--c-n-900); }
.brand-bg .hs-g100 { stop-color: var(--c-gold-100); } .brand-bg .hs-g300 { stop-color: var(--c-gold-300); } .brand-bg .hs-g500 { stop-color: var(--c-gold-500); }
.brand-bg .hs-haloA { stop-color: var(--c-halo-a); } .brand-bg .hs-haloB { stop-color: var(--c-halo-b); } .brand-bg .hs-haloC { stop-color: var(--c-halo-c); } .brand-bg .hs-c400 { stop-color: var(--c-coral-400); }
.brand-bg .hs-ring { stroke: var(--c-gold-400); }
.brand-bg .glowg { opacity: var(--halo-glow); }
.p-hero .container { display: grid; grid-template-columns: 4fr 7fr; grid-template-rows: auto auto auto auto 1fr; column-gap: var(--space-8); align-items: start; }
.p-hero__title { grid-column: 1 / -1; font-size: var(--fs-display); line-height: var(--lh-display); font-weight: var(--fw-display); letter-spacing: var(--ls-display); text-wrap: initial; }
.p-hero__title .line { display: block; }
.p-hero__lede { grid-column: 1; margin-top: var(--space-8); font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--text-muted); }
.pronounce { grid-column: 1; margin-top: var(--space-3); font-size: var(--fs-small); color: var(--text-muted); }
.p-hero .actions { grid-column: 1; margin-top: var(--space-6); }
/* 開場主照片：一張大照片（4:5、可拖動前後對比、取景框角＝主視覺「取景框裡的那一刻」）＋四張可切換的照片（寵物、人像、旅行、美食＝目標使用者最常拍的，各配一個風格）；背後一顆光暈（一天的光） */
.p-hero__visual { position: relative; grid-column: 2; grid-row: 2 / span 4; margin-top: var(--space-6); display: grid; justify-items: center; isolation: isolate; }
.brand-bg--hero-halo { position: absolute; inset: auto; left: 40%; top: 50%; z-index: -1; width: min(140%, 760px); height: auto; aspect-ratio: 1; translate: -50% -50%; color: var(--text); pointer-events: none; }
.p-hero__stage { position: relative; display: grid; width: min(100%, 500px); padding: 18px; }
.p-hero__shot { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity var(--motion-reveal) var(--motion-reveal-ease), visibility 0s linear var(--motion-reveal); }
.p-hero__shot.is-active { opacity: 1; visibility: visible; transition: opacity var(--motion-reveal) var(--motion-reveal-ease), visibility 0s; }
.p-hero__try { grid-column: 1; margin-top: var(--space-8); }
.p-hero__try p { margin-bottom: var(--space-3); font-size: var(--fs-small); color: var(--text-muted); }
.p-hero__picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); max-width: 400px; }
.p-hero__pick { display: grid; grid-template-rows: auto 1fr; align-content: start; justify-items: center; gap: var(--space-2); padding: 0; border: 0; background: none; color: var(--text-muted); font: inherit; cursor: pointer; transition: color var(--motion-select) var(--motion-select-ease); }
.p-hero__thumb { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-photo); background: var(--chip-bg); transition: box-shadow var(--motion-select) var(--motion-select-ease), scale var(--motion-press) var(--motion-press-ease); }
.p-hero__thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-hero__pick:active .p-hero__thumb { scale: var(--btn-press-scale); }
.p-hero__pick.is-on { color: var(--text); }
.p-hero__pick.is-on .p-hero__thumb { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--glow-ui); }
.p-hero__pick-text { display: grid; align-content: start; text-align: center; line-height: var(--lh-small); text-wrap: balance; }
.p-hero__pick-text b { font-size: var(--fs-small); font-weight: var(--fw-semibold); }
.p-hero__pick-text span { font-size: var(--fs-caption); }
.p-hero__pick:focus-visible { outline: var(--focus-w) solid var(--focus); outline-offset: var(--focus-offset); border-radius: var(--radius-m); }
.p-hero__stage::before { inset: 0; --vf-len: 40px; --vf-w: 4px; }
@media (max-width: 880px) {
  .p-hero .container { grid-template-columns: 1fr; grid-template-rows: none; }
  .p-hero__visual { grid-column: 1; grid-row: auto; margin-top: var(--space-7); }
  .p-hero__try { order: 9; margin-top: var(--space-5); }
  .p-hero__picks { max-width: none; }
  .p-hero__lede { margin-top: var(--space-5); }
}
@media (max-width: 720px) { .p-hero { padding-block: var(--space-7) var(--space-8); } .p-hero__stage { padding: 14px; } .p-hero__stage::before { --vf-len: 28px; --vf-w: 3px; } }

/* ══ 9 這些時刻：社群貼文（通用樣式，不放任何平台的名稱、標誌）。寬螢幕 4×2、平板兩欄、手機一欄，等高對齊。照片 4:5、保留可拖動對比；按讚數持續往上加並飄出小愛心 ══════════════ */
#moments { position: relative; isolation: isolate; }
.posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-8) var(--card-gap); align-items: stretch; margin: 0; padding: 0; list-style: none; }
.posts .moment { display: flex; }
.post { display: flex; flex-direction: column; width: 100%; }
.post { overflow: hidden; border-radius: var(--radius-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.post__head { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); }
.post__avatar { position: relative; flex: none; width: 40px; height: 40px; padding: 2px; border-radius: var(--radius-full); background: linear-gradient(45deg, var(--post-ring-1), var(--post-ring-2) 30%, var(--post-ring-3) 65%, var(--post-ring-4)); }   /* 限時動態的漸層圈（社群 App 慣例） */
.post__avatar img { display: block; width: 100%; height: 100%; box-sizing: border-box; border: 2px solid var(--surface); border-radius: var(--radius-full); object-fit: cover; background: var(--chip-bg); }
.post__who { display: grid; min-width: 0; line-height: var(--lh-small); }
.post__who b, .post__who span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.post__who b { font-size: var(--fs-small); font-weight: var(--fw-semibold); }
.post__who span { font-size: var(--fs-caption); color: var(--text-muted); }
.post__more { margin-left: auto; color: var(--text-muted); }
.post__media { position: relative; }
.post .ba img, .post .compare .ba__pane, .post .compare .ba__pane img, .post .ph { border-radius: 0; }
.post__burst { position: absolute; top: 50%; left: 50%; z-index: 5; width: 96px; height: 96px; margin: -48px 0 0 -48px; color: var(--c-n-0); pointer-events: none; opacity: 0; scale: 0.4; }
.post__burst .post__i { width: 100%; height: 100%; fill: currentColor; stroke: rgb(var(--c-n-1000-rgb) / 0.28); stroke-width: 0.6; }   /* 淺色照片上也看得清楚（不用陰影） */
.post__burst.is-pop { animation: post-pop var(--motion-sheet) var(--motion-sheet-ease) forwards, post-fade var(--motion-reveal) var(--motion-reveal-ease) var(--motion-sheet) forwards; }
@keyframes post-pop { from { opacity: 0; scale: 0.4; } to { opacity: 1; scale: 1; } }
@keyframes post-fade { to { opacity: 0; } }
.post__actions { position: relative; z-index: 6; display: flex; align-items: center; gap: var(--space-1); padding: var(--space-2) var(--space-2) 0; }   /* 飄出的小愛心要壓在照片上 */
.post__act { position: relative; display: inline-flex; align-items: center; margin-right: var(--space-1); }
.post__n { min-width: 2ch; font-size: var(--fs-small); font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; }
/* 按讚數逐位滾動（像機場看板）：每一位是 0～9 的直條，--n 決定停在哪個數字 */
.post__act .post__n { display: inline-flex; align-items: center; height: 1.25em; line-height: 1.25em; }
.roll { display: inline-flex; height: 1.25em; line-height: 1.25em; overflow: hidden; }
.roll__d { display: inline-block; height: 1.25em; overflow: hidden; }
.roll__col { display: flex; flex-direction: column; translate: 0 calc(var(--n, 0) * -1.25em); transition: translate var(--site-post-roll) var(--site-ease-pop); }
.roll__col > span { height: 1.25em; }
.post__floats { position: absolute; left: 8px; bottom: 30px; width: 24px; height: 0; pointer-events: none; }
.post__float { position: absolute; left: 0; bottom: 0; width: 18px; height: 18px; color: var(--post-like); animation: post-float var(--site-post-float) var(--motion-reveal-ease) forwards; }
.post__float .post__i { width: 100%; height: 100%; fill: currentColor; stroke: none; }
@keyframes post-float { 0% { opacity: 0; translate: 0 0; scale: 0.5; } 15% { opacity: 1; scale: 1; } 100% { opacity: 0; translate: var(--dx, 0px) -64px; scale: 0.8; } }
.post__btn { display: grid; place-items: center; width: 36px; height: 40px; padding: 0; border: 0; border-radius: var(--radius-full); background: none; color: var(--text); }
button.post__btn { cursor: pointer; transition: scale var(--motion-press) var(--motion-press-ease); }
button.post__btn:active { scale: 0.86; }
button.post__btn:focus-visible { outline: var(--focus-w) solid var(--focus); outline-offset: 0; }
.post__i { width: 25px; height: 25px; }
.post__save { margin-left: auto; }
.post__like[aria-pressed="true"] { color: var(--post-like); }
.post__save[aria-pressed="true"] { color: var(--text); }
.post__btn[aria-pressed="true"] .post__i { fill: currentColor; animation: post-like var(--motion-select) var(--motion-select-ease); }
@keyframes post-like { from { scale: 0.6; } to { scale: 1; } }
.post__cap { padding: var(--space-1) var(--space-4) var(--space-4); font-size: var(--fs-small); line-height: var(--lh-small); }
.post__cap b { font-weight: var(--fw-semibold); }
@media (min-width: 1101px) { .post__actions { padding-inline: var(--space-1); } .post__btn { width: 30px; } .post__i { width: 22px; height: 22px; } .post__act { margin-right: 0; } }   /* 四欄時卡片窄，圖示略縮，數字不被擠掉 */
@media (max-width: 1100px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; } }
@media (max-width: 720px) { .posts { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }
@media (prefers-reduced-motion: reduce) { .post__burst.is-pop, .post__btn[aria-pressed="true"] .post__i, .post__float { animation: none; } .post__float { display: none; } button.post__btn, .roll__col { transition: none; } }

/* ══ 10 三步 ══════════════════════════════════════════ */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-6); margin: 0; padding: 0; list-style: none; }
.step { counter-increment: step; position: relative; padding-top: var(--space-9); }
.step__line { position: absolute; left: 0; right: 0; top: 21px; height: 3px; border-radius: 3px; background: var(--glow-ui); transform-origin: left center; }
.step::before { content: counter(step); position: absolute; top: 0; left: 0; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-full); background: var(--accent); color: var(--on-accent); font-size: var(--fs-body); font-weight: var(--fw-display); box-shadow: 0 0 0 5px var(--bg), 0 0 0 6.5px var(--glow-ui); }
.step h3 { display: flex; align-items: center; gap: var(--space-3); }
.step__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-m); background: var(--chip-bg); color: var(--glow-ui); flex: none; }
.step__icon .icon { width: 20px; height: 20px; }
.step p { margin-top: var(--space-3); color: var(--text-muted); max-width: 22em; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; gap: var(--space-7); } .step { padding-top: 0; padding-left: 72px; min-height: 44px; } .step__line { left: 21px; right: auto; top: 52px; bottom: calc(-1 * var(--space-7) + 8px); width: 3px; height: auto; transform-origin: center top; } .step:last-child .step__line { display: none; } }

/* ══ 11 風格：照片對比卡 ══════════════════════════════ */
.styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8) var(--card-gap); margin: 0; padding: 0; list-style: none; }
.styles .ba__label { display: none; }   /* 小卡只留把手；說明在無障礙標籤裡 */
.styles h3 { margin-top: var(--space-5); }
.styles li > p:not(.fits) { margin-top: var(--space-1); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-muted); }
@media (max-width: 880px) { .styles { grid-template-columns: 1fr 1fr; gap: var(--space-7) var(--card-gap-compact); } }

/* ══ 12 會保留／會調整 ════════════════════════════════ */
.keep { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.keep__col { position: relative; border-radius: var(--radius-l); padding: var(--space-7); }
.keep__col--keep { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.keep__col--adjust { background: var(--chip-bg); }
.keep__col h3 { display: flex; align-items: center; gap: var(--space-3); }
.keep__col h3 .icon { width: 24px; height: 24px; color: var(--glow-ui); }
.keep__col ul { margin: var(--space-5) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }
.keep__col ul { gap: var(--space-4); }
.keep__col li { position: relative; display: flex; align-items: center; gap: var(--space-3); min-height: 32px; }
.li-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: var(--radius-full); background: var(--chip-bg); color: var(--glow-ui); }
.keep__col--adjust .li-icon { background: var(--surface); }
.li-icon .icon { width: 17px; height: 17px; }
@media (max-width: 720px) { .keep { grid-template-columns: 1fr; gap: var(--space-5); } .keep__col { padding: var(--space-6); } }

/* ══ 13 自己再調一點：窗光斜紋＋手機 ══════════════════ */
#tune { position: relative; isolation: isolate; overflow: hidden; }
.tune { display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-8); align-items: center; }
.tune .section-head { margin-bottom: 0; }
.tune__shot { justify-self: center; width: 100%; max-width: 300px; }
@media (max-width: 880px) { .tune { grid-template-columns: 1fr; gap: var(--space-8); } .tune__shot { max-width: 260px; } }
/* 手機外框 */
.phone { position: relative; aspect-ratio: 9 / 19.5; border: 10px solid var(--phone-frame); border-radius: 48px; background: var(--phone-frame); }
.phone__screen { position: absolute; inset: 0; overflow: hidden; border-radius: 38px; background: var(--app-bg); container-type: inline-size; }
.phone__screen > img { width: 100%; height: 100%; object-fit: cover; }
.phone__island { position: absolute; top: 10px; left: 50%; width: 32%; height: 26px; transform: translateX(-50%); border-radius: var(--radius-full); background: var(--c-n-1000); }
/* 微調畫面示意（App 的 UI 層：中性深底、金色只標選中） */
.tune-ui { display: grid; grid-template-rows: 1fr auto; height: 100%; color: var(--app-text); letter-spacing: 0; }
.tune-ui__photo { position: relative; margin-top: 48px; overflow: hidden; background: var(--app-chip-bg); }
.tune-ui__photo img { width: 100%; height: 100%; object-fit: cover; }
.tune-ui__panel { padding: 14px 14px 26px; display: grid; gap: 10px; background: var(--app-surface); }
.tune-ui__value { display: flex; justify-content: space-between; font-size: var(--fs-caption); color: var(--app-text2); }
.tune-ui__value b { color: var(--app-text); font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; }
.tune-ui__slider { position: relative; height: 4px; border-radius: 4px; background: var(--app-chip-bg); }
/* 滑桿：中間是 0；把手外層與滑桿同寬，用百分比位移（靜止時停在 +12） */
.tune-ui__fill { position: absolute; left: 50%; width: 24%; top: 0; bottom: 0; background: var(--app-accent); border-radius: 4px; transform-origin: left center; transform: scaleX(0.5); }
.tune-ui__knob { position: absolute; inset: 0; transform: translateX(12%); }
.tune-ui__knob::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--c-n-0); box-shadow: 0 0 0 0.5px rgb(var(--c-n-1000-rgb) / 0.3); }
.tune-ui__num { position: relative; display: inline-grid; justify-items: end; }
.tune-ui__num span { grid-area: 1 / 1; opacity: 0; }
.tune-ui__num span:nth-child(2) { opacity: 1; }
.tune-ui__exposure { position: absolute; inset: 0; background: var(--c-n-1000); opacity: 0.19; pointer-events: none; }
.tune-ui__tools { display: flex; gap: 6px; overflow: hidden; }
.tune-ui__tools { justify-content: space-between; }
.tune-ui__tool { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: var(--radius-full); background: var(--app-chip-bg); color: var(--app-text2); }
.tune-ui__tool .icon { width: 16px; height: 16px; }

/* ══ 三步的 App 介面示意：畫面來自共用正本 shared/design/appmock.mjs（和設計系統頁定案的 App 畫面同一份），這裡只對應顏色、圓角、縮放 ══ */
.steps--shots .step__shot { width: 100%; max-width: 280px; margin-top: var(--space-6); }
/* ══ 三步（App 流程）：一支大手機（取景框角＋背後品牌光暈）跟著使用者選的步驟換畫面；右側步驟清單（符號、風格縮圖同一條左緣對齊）；目前步驟的符號播循環動畫（小尺寸版）；清單下方風格縮圖可試玩 ══ */
.flow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: var(--space-9); }
.flow__stage { position: relative; display: grid; place-items: center; padding-block: var(--space-6); isolation: isolate; }
.brand-bg--flow { position: absolute; left: 50%; top: 50%; z-index: -1; width: min(150%, 640px); height: auto; aspect-ratio: 1; translate: -50% -50%; color: var(--text); pointer-events: none; }
.flow__device { position: relative; display: grid; width: min(100%, 340px); }
.flow__device::before { inset: -18px; --vf-len: 34px; --vf-w: 3px; }
.flow__screen { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity var(--motion-reveal) var(--motion-reveal-ease), visibility 0s linear var(--motion-reveal); }
.flow__screen.is-active { opacity: 1; visibility: visible; transition: opacity var(--motion-reveal) var(--motion-reveal-ease), visibility 0s; }
.flow__side { display: grid; gap: var(--space-8); container-type: inline-size; }
.flow__steps { display: grid; margin: 0; padding: 0; list-style: none; }
.flow__step { position: relative; display: grid; grid-template-columns: 52px 1fr; column-gap: var(--space-4); padding-block: var(--space-5); transition: opacity var(--motion-reveal) var(--motion-reveal-ease); }
.flow.is-live .flow__step:not(.is-active) { opacity: 0.5; }
.flow.is-live .flow__step:not(.is-active):hover { opacity: 0.8; }
.flow__head { display: contents; font: inherit; }
.flow__btn { grid-column: 1 / -1; display: grid; grid-template-columns: 52px 1fr; column-gap: var(--space-4); align-items: center; padding: 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.flow__btn:focus-visible { outline: var(--focus-w) solid var(--focus); outline-offset: var(--focus-offset); border-radius: var(--radius-m); }
.flow__sym { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-full); background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 var(--chip-line-w) var(--line-strong); transition: background var(--motion-select) var(--motion-select-ease), box-shadow var(--motion-select) var(--motion-select-ease), scale var(--motion-select) var(--motion-select-ease); }
.flow__sym svg { width: 30px; height: 30px; }
.flow__step:not(.is-active) .flow__sym svg.anim g { animation: none; }   /* 只有目前這一步的符號在動（設計系統定案的循環動畫），切到這一步時從完整符號開始 */
.flow__sym .flow__dot { fill: var(--glow-ui); }
.flow__step.is-active .flow__sym { background: var(--selected-bg); box-shadow: inset 0 0 0 var(--chip-line-w) var(--selected-line); scale: 1.06; }
.flow__title { display: flex; align-items: baseline; gap: var(--space-3); font-size: var(--fs-h3); font-weight: var(--fw-semibold); line-height: var(--lh-h3); }
.flow__num { font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.flow__step p { grid-column: 2; margin-top: var(--space-2); color: var(--text-muted); max-width: 26em; }
.flow__try { display: grid; gap: var(--space-4); }
.flow__try p { font-size: var(--fs-small); color: var(--text-muted); }
.flow__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-3); max-width: 560px; --kcm-pt: 1px; --fs-app-12: var(--fs-caption); }
.flow__thumbs .kcm-thumb { width: auto; min-width: 0; }
.flow__thumbs .kcm-thumb__name { white-space: normal; text-wrap: balance; }
/* 欄位不夠寬（英文名稱較長、或中等寬度螢幕）時改成一行三張、兩行 */
@container (max-width: 540px) { .flow__thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 360px; } }
.flow__thumbs .kcm-thumb { padding: 4px 0 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; transition: scale var(--motion-press) var(--motion-press-ease); }
.flow__thumbs .kcm-thumb:active { scale: var(--btn-press-scale); }
.flow__thumbs .kcm-thumb:focus-visible { outline: var(--focus-w) solid var(--focus); outline-offset: var(--focus-offset); border-radius: var(--radius-m); }
.flow__thumbs .kcm-thumb__img { transition: box-shadow var(--motion-select) var(--motion-select-ease); }
.flow .phone__screen { --kcm-fade: var(--motion-reveal); }
@media (max-width: 880px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
  .flow__device { width: min(78%, 300px); }
  .flow__step { padding-block: var(--space-4); }
}
@media (prefers-reduced-motion: reduce) { .flow__sym, .flow__step, .flow__screen, .flow__thumbs .kcm-thumb, .flow__thumbs .kcm-thumb__img, .flow .kcm-v--img { transition: none; } }
/* 官網的手機框比 390×844 略高一點：畫面撐滿手機框（貼底的面板、按鈕跟著到底），不留色條 */
.kcm-host, .kcm-host > div, .phone__screen .kcm-phone { height: 100%; }
.phone__screen { --kcm-pt: calc(100cqw / 390); }
/* App 元件的顏色、圓角對應（手機畫面與三步區的風格選擇共用） */
.phone__screen, .flow__thumbs {
  --kcm-bg: var(--app-bg); --kcm-bg-brand: var(--app-bg-brand); --kcm-text: var(--app-text); --kcm-text2: var(--app-text2); --kcm-line: var(--app-line);
  --kcm-selected-bg: var(--app-selected-bg); --kcm-accent: var(--app-accent); --kcm-chip-bg: var(--app-chip-bg); --kcm-raised: var(--app-surface-raised);
  --kcm-btn: var(--app-btn); --kcm-on-btn: var(--app-on-btn); --kcm-success: var(--app-success); --kcm-scrim: var(--app-scrim-fill);
  --kcm-sym: var(--app-sym-line); --kcm-sym-dot: var(--app-sym-dot); --kcm-r-photo: var(--app-r-photo); --kcm-r-toast: var(--app-r-toast); --kcm-r-sheet: var(--app-r-sheet); --kcm-r-icon-tile: var(--app-r-icon-tile); --kcm-r-xs: var(--app-r-xs);
  --kcm-on-accent: var(--app-on-accent); --kcm-pill: rgb(var(--c-n-900-rgb) / 0.58); --kcm-on-pill: var(--app-on-photo); --kcm-pill-solid: var(--c-n-900); }   /* 前後對比標籤：和官網對比滑桿的標籤同值 */
.tune-ui__tool.is-on { background: var(--app-selected-bg); color: var(--app-text); box-shadow: inset 0 0 0 var(--chip-line-w) var(--app-accent); }

/* ══ 14 輸出尺寸：裁切標記 ════════════════════════════ */
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6); margin: 0; padding: 0; list-style: none; }
.size__box { height: 160px; display: flex; align-items: flex-end; }
.size__frame { position: relative; display: grid; place-items: center; justify-items: center; height: 100%; max-width: 100%; background: var(--fill, var(--bg-subtle)); border-radius: var(--radius-xs); color: var(--text-muted); transition: background-color var(--dur-fast) var(--ease-out); }
.size__frame::after { inset: -5px; --vf-c: var(--accent); --vf-len: 16px; --vf-w: 2.5px; transition: inset var(--dur-base) var(--ease-out); }
.sizes li:hover .size__frame::after { inset: -9px; }
.size__frame { gap: 6px; align-content: center; }
.size__frame .icon { width: 20px; height: 20px; color: var(--text-muted); }
.size__frame--orig .icon { color: var(--glow-ui); }
.size__ratio { font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--text); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.size__frame--9x16 { aspect-ratio: 9 / 16; } .size__frame--4x5 { aspect-ratio: 4 / 5; } .size__frame--1x1 { aspect-ratio: 1; }
.size__frame--16x9 { aspect-ratio: 16 / 9; height: auto; width: 100%; }
.size__frame--orig { aspect-ratio: 3 / 4; background: var(--chip-bg); color: var(--text); }
.size__frame--orig::after { --vf-c: var(--glow-ui); }
.sizes h3 { margin-top: var(--space-5); }
.sizes p { margin-top: var(--space-1); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-muted); }
@media (max-width: 880px) { .sizes { grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-5); } .size__box { height: 128px; } }
@media (max-width: 520px) { .sizes { grid-template-columns: 1fr 1fr; } }

/* ══ 15 你的照片怎麼被處理：深色信任區塊 ══════════════ */
.trust { background: var(--dark); color: var(--on-dark); }
.trust h2, .trust h3 { color: var(--on-dark); }
.trust .section-head p, .trust p { color: var(--on-dark-muted); }
.trust a { color: var(--focus-on-dark); }
.trust :focus-visible { outline-color: var(--focus-on-dark); }
.about { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-8); }
.about .section-head { margin-bottom: 0; }
.principles { display: grid; gap: var(--space-6); margin: 0; padding: 0; list-style: none; }
.principles li { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-5); align-items: start; }
.principles h3 { font-size: var(--fs-h3); }
.principles p { margin-top: var(--space-1); }
.service__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-m); color: var(--c-gold-300); background: rgb(var(--c-n-0-rgb) / 0.06); box-shadow: inset 0 0 0 1px rgb(var(--c-n-0-rgb) / 0.14); }
.service__icon .icon { width: 22px; height: 22px; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; gap: var(--space-7); } }

/* ══ 16 常見問題：左右兩欄＋展開動畫 ══════════════════ */
.faq-layout { display: grid; grid-template-columns: 4fr 7fr; gap: var(--space-8); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + var(--space-7)); margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: var(--space-5); padding: var(--space-6) 0; font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-semibold); text-wrap: pretty; transition: color var(--dur-fast) var(--ease-out); }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--radius-m); background: var(--chip-bg); color: var(--glow-ui); transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.faq__icon .icon { width: 20px; height: 20px; }
.faq__q { flex: 1; }
.faq details[open] .faq__icon, .faq summary:hover .faq__icon { background: var(--accent); color: var(--c-gold-300); }
.faq details p { margin-left: calc(40px + var(--space-5)); }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: var(--radius-full); box-shadow: inset 0 0 0 1.5px var(--line-strong);
  background: linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat;
  transition: background-size var(--dur-base) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.faq details[open] summary::after { background-size: 12px 2px, 2px 0; background-color: var(--chip-bg); box-shadow: none; }
.faq summary:hover::after { box-shadow: inset 0 0 0 1.5px var(--accent); }
.faq summary:focus-visible { outline-offset: 2px; }
.faq details p { padding: 0 var(--space-8) var(--space-6) 0; color: var(--text-muted); max-width: var(--measure); }
@supports selector(::details-content) {
  .faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size var(--dur-base) var(--ease-out), content-visibility var(--dur-base) allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
@media (max-width: 720px) { .faq details p { margin-left: 0; } .faq__icon { width: 34px; height: 34px; } .faq summary { gap: var(--space-4); } }
@media (max-width: 880px) { .faq-layout { grid-template-columns: 1fr; gap: 0; } .faq-layout .section-head { position: static; margin-bottom: var(--head-gap); } .faq details p { padding-right: 0; } }

/* ══ 17 下載：金光色塊＋光圈紋＋光暈 ════════════════ */
.download { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: var(--on-glow); padding-block: var(--space-11);
  background: var(--glow); }   /* 金光色塊：實色金光（珊瑚只在光暈；與設計系統頁的金光色塊同值） */
.download h2, .download .section-head p { color: var(--on-glow); }
.download .section-head { margin-inline: auto; margin-bottom: 0; }
.download .section-head p { margin-inline: auto; }
.download .actions { justify-content: center; margin-top: var(--space-7); }
.download .actions:empty { display: none; }
.download .btn { --accent: var(--c-n-900); --accent-hover: var(--c-n-800); --on-accent: var(--c-n-0); --text-muted: var(--c-n-900); --hover-overlay: rgb(var(--c-n-900-rgb) / 0.08); --focus: var(--c-n-900); }
/* 落在地平線上的夕陽光：下緣中央一團慢慢呼吸的暖光 */
@media (max-width: 720px) { .download { padding-block: var(--space-9); } }

/* ══ 18 文件頁（政策、支援、檢舉） ════════════════════ */
.doc { max-width: var(--measure); padding-block: var(--space-9) var(--space-10); }
.doc h1 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--fw-bold); letter-spacing: var(--ls-h2); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.doc h2 { margin-top: var(--space-8); font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-semibold); letter-spacing: 0; }
.doc p, .doc ol, .doc ul { margin-top: var(--space-4); }
.doc ol { padding-left: 1.4em; }
.doc li + li { margin-top: var(--space-2); }
.doc ul { list-style: none; padding-left: 0; }
.doc ul li { position: relative; padding-left: 1.6em; }
.doc ul li::before { content: ""; position: absolute; left: 0.3em; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--glow-ui); }
.doc-meta { margin-top: var(--space-3); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-muted); }
.doc section + section { margin-top: var(--space-7); }
/* 表格：手機寬度不夠時整塊橫向捲動（可用鍵盤聚焦後左右捲），不擠壓欄位 */
.doc-table { margin-top: var(--space-4); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); }
.doc-table:focus-visible { outline: var(--focus-w) solid var(--focus); outline-offset: var(--focus-offset); }
.doc-table table { width: 100%; min-width: 32em; border-collapse: collapse; font-size: var(--fs-small); line-height: var(--lh-small); }
.doc-table th, .doc-table td { padding: var(--space-3) var(--space-4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc-table th { font-weight: var(--fw-semibold); background: var(--chip-bg); }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-actions { margin-top: var(--space-6); }
.notice { margin-top: var(--space-6); display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4) var(--space-5); background: var(--chip-bg); border-radius: var(--radius-m); color: var(--text); font-size: var(--fs-small); line-height: var(--lh-small); }
.notice .icon { color: var(--glow-text); margin-top: 0.1em; }

/* ══ 19 頁尾：光點分隔 ════════════════════════════════ */
.site-footer { position: relative; background: var(--paper); border-top: 1px solid var(--line); padding-block: var(--space-8) var(--space-8); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-muted); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-6); }
.site-footer h2 { font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-semibold); letter-spacing: 0; color: var(--text); margin-bottom: var(--space-3); }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--text); }
.foot-link { display: inline-flex; align-items: center; gap: var(--space-2); }
.foot-link .icon { width: 16px; height: 16px; color: var(--glow-ui); }
/* 撤回同意：外觀和頁尾其他連結一樣的按鈕（有 JS 才出現） */
.foot-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.foot-button:hover { color: var(--text); }
.foot-button:focus-visible { outline: var(--focus-w) solid var(--focus); outline-offset: var(--focus-offset); border-radius: var(--radius-s); }

/* ══ 數據分析同意提示：畫面最下方全寬橫條（卡片底、上緣細線）；兩顆一樣份量的次要按鈕；選了才收起 ══ */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-header); background: var(--surface); border-top: 1px solid var(--line); padding-block: var(--space-4); padding-bottom: max(var(--space-4), env(safe-area-inset-bottom)); }
.consent[hidden] { display: none; }
.consent__inner { display: flex; align-items: center; gap: var(--space-4) var(--space-6); }
.consent p { flex: 1; margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-muted); }
.consent p a { color: var(--text); text-decoration: underline; text-underline-offset: 0.2em; }
.consent__actions { display: flex; gap: var(--space-3); flex: none; }
.consent__actions .btn { min-width: 7.5em; }
/* 橫條蓋住頁面底部時，讓頁尾最後一段捲得出來 */
.has-consent-bar body { padding-bottom: var(--consent-space, 0); }
@media (max-width: 720px) {
  .consent__inner { flex-direction: column; align-items: stretch; }
  .consent__actions .btn { flex: 1; min-width: 0; }
}
.site-footer__legal { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); font-size: var(--fs-caption); }
.site-footer__copy { display: inline-flex; flex-wrap: wrap; gap: var(--space-4); }
@media (max-width: 720px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ══ 20 動態：一次開場編排、段落進場、回應操作、圖示與品牌元素的循環 ═══
   只動位移、旋轉、縮放、透明度（小圖示的線條描繪除外）；畫面外的段落暫停循環（site.js 加 data-offscreen）；
   「減少動態效果」時：不進場、不循環，所有東西直接在最終位置。 */
/* 進場前隱藏（只在 JS 標記 .motion 時）；3 秒後一律顯示（JS 失敗也不會卡住） */
.motion [data-hero] > *, .motion [data-reveal], .motion [data-reveal-group] > *, .motion [data-steps] > * { opacity: 0; animation: reveal-fallback 0s linear var(--site-fallback) forwards; }
@keyframes breath { 0%, 100% { transform: scale(0.985); opacity: calc(var(--halo-glow) * 0.88); } 50% { transform: scale(1.015); opacity: var(--halo-glow); } }
@keyframes reveal-fallback { to { opacity: 1; } }
/* 只靠 CSS 狀態進場的東西（圖示圓、編號、角標）：程式沒載入時，3 秒後直接顯示在最終位置 */
.motion:not(.js-ready) .li-icon { animation: fallback-pop 0s linear var(--site-fallback) forwards; }
.motion:not(.js-ready) :is(.step, .p-hero__stage)::before, .motion:not(.js-ready) .size__frame::after { animation: fallback-pop 0s linear var(--site-fallback) forwards !important; }
@keyframes fallback-pop { to { opacity: 1; scale: 1; } }
.icon * , .mark * { transform-box: fill-box; transform-origin: center; }
/* 畫面外暫停「循環」動畫（進場的 3 秒保險不暫停，內容一定會出現） */
[data-offscreen] :is(.icon, .icon *, .mark *, .tune-ui *, .live-badge__dot::after), [data-offscreen]::before, [data-offscreen]::after, [data-offscreen] :is(.doc ul li, .tune-ui__knob, .step)::before, [data-offscreen] .print::after, [data-offscreen] .tune-ui__knob::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: no-preference) {
  /* ── 開場編排：標題逐行升起（site.js）→ 標題框角標對焦 → 照片浮現（site.js）→ 取景框對焦 → 光點放大 → 把手輕晃 ── */
  .motion .p-hero__stage::before { opacity: 0; }
  .motion .p-hero.is-in .p-hero__stage::before { animation: vf-focus var(--dur-slow) var(--ease-out) var(--site-focus-visual-at) both; }
  /* 光暈呼吸（符號系統已定：10 秒一輪，大半時間靜止的品牌元素裡唯一持續的慢動作） */
  .brand-bg .halo-anim .glowg { animation: breath var(--site-halo-breath) var(--ease-in-out) infinite; transform-box: view-box; transform-origin: 0 0; }

  /* ── 段落進場（site.js 第一次進入畫面時加 .is-in） ── */
  /* 照片牆的取景框、會保留的取景框、尺寸的裁切標記：由外往內對焦 */
  .motion .size__frame::after { opacity: 0; inset: -16px; }
  .motion .is-in .size__frame::after { opacity: 1; inset: -5px; transition: opacity var(--dur-base) var(--ease-out), inset var(--dur-slow) var(--ease-out); }
  .motion .is-in .sizes li:nth-child(2) .size__frame::after { transition-delay: calc(var(--site-size-stagger) * 1); } .motion .is-in .sizes li:nth-child(3) .size__frame::after { transition-delay: calc(var(--site-size-stagger) * 2); }
  .motion .is-in .sizes li:nth-child(4) .size__frame::after { transition-delay: calc(var(--site-size-stagger) * 3); } .motion .is-in .sizes li:nth-child(5) .size__frame::after { transition-delay: calc(var(--site-size-stagger) * 4); }
  .motion .is-in .sizes li:hover .size__frame::after { inset: -9px; transition-delay: 0ms; }
  /* 三步的編號：依序彈出（時間條由 site.js 畫出） */
  .motion .step::before { opacity: 0; scale: 0.4; }
  .motion .is-in .step::before { opacity: 1; scale: 1; transition: opacity var(--dur-fast) var(--ease-out), scale var(--dur-slow) var(--site-ease-pop); }
  .motion .is-in .step:nth-child(2)::before { transition-delay: calc(var(--site-steps-stagger) * 1); } .motion .is-in .step:nth-child(3)::before { transition-delay: calc(var(--site-steps-stagger) * 2); }
  /* 會保留／會調整的圖示圓：依序彈出 */
  .motion .li-icon { opacity: 0; scale: 0.4; }
  .motion .is-in .li-icon { opacity: 1; scale: 1; transition: opacity var(--dur-fast) var(--ease-out), scale var(--dur-slow) var(--site-ease-pop); }
  .motion .is-in .keep__col li:nth-child(2) .li-icon { transition-delay: calc(var(--site-icon-stagger) * 1); } .motion .is-in .keep__col li:nth-child(3) .li-icon { transition-delay: calc(var(--site-icon-stagger) * 2); } .motion .is-in .keep__col li:nth-child(4) .li-icon { transition-delay: calc(var(--site-icon-stagger) * 3); }
  .motion .is-in .keep__col--adjust .li-icon { transition-delay: var(--site-keep-adjust-delay); }

  /* ── 回應操作 ── */
  .compare:hover .compare__handle::after, .compare.is-hover .compare__handle::after { animation: chevrons-spread var(--site-chevrons) var(--ease-in-out) infinite; }
  .faq details[open] summary::after { animation: none; }

  /* 圖示與品牌元素逐一設計的循環節奏：時間全部讀官網參數（tokens.site.mjs 的 loop-<圖示>、phase-<群組>），這裡只放動作編排 */
  /* ── 品牌元素的循環：就緒燈慢慢呼吸 ── */
  .live-badge__dot { animation: live-dot var(--site-loop-spark-badge-dot) var(--ease-in-out) infinite; }
  .live-badge__dot::after { animation: live-ring var(--site-loop-spark-badge-dot) var(--ease-out) infinite; }
  .doc ul li:nth-child(2n)::before { animation-delay: var(--site-loop-doc-step); }
  /* 標誌：兩個取景框角往外張再收回（對焦），中間方塊跟著呼吸 */
  .mark__tl { animation: mark-tl var(--site-loop-mark-tl) var(--ease-in-out) infinite; }
  .mark__br { animation: mark-br var(--site-loop-mark-br) var(--ease-in-out) infinite; }
  .mark__dot { animation: mark-dot var(--site-loop-mark-dot) var(--ease-in-out) infinite; }
  /* 微調畫面：曝光滑桿來回拉動，照片亮度與數值跟著變 */
  .tune-ui__knob { animation: knob var(--site-loop-tune-ui-knob) var(--ease-in-out) infinite; }
  .tune-ui__fill { animation: fill var(--site-loop-tune-ui-fill) var(--ease-in-out) infinite; }
  .tune-ui__exposure { animation: exposure var(--site-loop-tune-ui-exposure) var(--ease-in-out) infinite; }
  .tune-ui__num span:nth-child(1) { animation: num-a var(--site-loop-tune-ui-num) steps(1) infinite; }
  .tune-ui__num span:nth-child(2) { animation: num-b var(--site-loop-tune-ui-num) steps(1) infinite; }
  .tune-ui__num span:nth-child(3) { animation: num-c var(--site-loop-tune-ui-num) steps(1) infinite; }

  /* ══ 21 圖示的循環動畫：每個圖示依它代表的東西各自設計（線條在 24 格內移動 1～3 格，留有停頓） ══ */
  /* 旅行（地圖釘）：跳一下、落地壓扁，中心點跟著亮 */
  .icon--map-pin path { animation: pin-hop var(--site-loop-map-pin) var(--ease-out) infinite; transform-origin: 50% 100%; }
  .icon--map-pin circle { animation: pin-dot var(--site-loop-map-pin) var(--ease-out) infinite; }
  /* 自拍（手機）：舉起來輕輕晃，快門那一下螢幕點亮 */
  .icon--smartphone rect { animation: phone-sway var(--site-loop-smartphone) var(--ease-in-out) infinite; transform-origin: 50% 90%; }
  .icon--smartphone path { animation: phone-flash var(--site-loop-smartphone) ease-out infinite; }
  /* 和朋友聚餐（手捧愛心）：愛心撲通撲通兩下，手不動 */
  .icon--hand-heart path:nth-child(2) { animation: heartbeat var(--site-loop-hand-heart) var(--ease-out) infinite; transform-origin: 50% 70%; }
  /* 咖啡廳與街拍（相機）：鏡頭對焦收縮，按下快門機身微沉 */
  .icon--camera circle { animation: lens-focus var(--site-loop-camera) var(--ease-in-out) infinite; }
  .icon--camera path { animation: shutter-press var(--site-loop-camera) var(--ease-out) infinite; }
  /* 保護（盾牌打勾）：勾一筆畫出來，畫完盾牌輕輕一亮 */
  .icon--shield-check path:nth-child(2) { stroke-dasharray: 10; animation: draw-check var(--site-loop-shield-check) var(--ease-out) infinite; }
  .icon--shield-check path:nth-child(1) { animation: shield-pulse var(--site-loop-shield-check) var(--ease-out) infinite; }
  /* 調整（滑桿）：三個把手輪流左右調 */
  .icon--sliders-horizontal path:nth-child(3) { animation: slide-a var(--site-loop-sliders-horizontal) var(--ease-in-out) infinite; }
  .icon--sliders-horizontal path:nth-child(8) { animation: slide-b var(--site-loop-sliders-horizontal) var(--ease-in-out) infinite; }
  .icon--sliders-horizontal path:nth-child(4) { animation: slide-c var(--site-loop-sliders-horizontal) var(--ease-in-out) infinite; }
  /* 存放地點（地球）：經線轉動，像地球在自轉 */
  .icon--globe path:nth-child(2) { animation: globe-spin var(--site-loop-globe) linear infinite; }
  /* 作品是你的（下載）：箭頭落進托盤，托盤接住微沉 */
  .icon--download path:nth-child(1), .icon--download path:nth-child(3) { animation: arrow-drop var(--site-loop-download) var(--ease-in-out) infinite; }
  .icon--download path:nth-child(2) { animation: tray-catch var(--site-loop-download) var(--ease-out) infinite; transform-origin: 50% 100%; }
  /* 13 歲以上（徽章打勾）：徽章外框慢慢轉，像一枚印章；勾重複畫出 */
  .icon--badge-check path:nth-child(1) { animation: spin-slow var(--site-loop-badge-check-spin) linear infinite; }
  .icon--badge-check path:nth-child(2) { stroke-dasharray: 12; animation: draw-check var(--site-loop-badge-check) var(--ease-out) var(--site-loop-badge-check-step) infinite; }
  /* 原圖比例（圖片）：太陽在山後緩緩升起再落下 */
  .icon--image circle { animation: sun-rise var(--site-loop-image) var(--ease-in-out) infinite; }
  /* 語言切換：中文字與英文 A 輪流亮起 */
  .icon--languages path:nth-child(-n+4) { animation: lang-a var(--site-loop-languages) var(--ease-in-out) infinite; }
  .icon--languages path:nth-child(n+5) { animation: lang-b var(--site-loop-languages) var(--ease-in-out) infinite; }
  /* 亮暗切換：月亮輕輕搖晃；太陽光芒慢轉、核心呼吸 */
  .icon--moon { animation: moon-rock var(--site-loop-moon) var(--ease-in-out) infinite; }
  .icon--sun { animation: spin-slow var(--site-loop-sun-spin) linear infinite; }
  .icon--sun circle { animation: core-breathe var(--site-loop-sun) var(--ease-in-out) infinite; }
  /* 外部連結（右上箭頭）：往右上飛出，再從左下回到原位 */
  .icon--arrow-up-right path { animation: arrow-out var(--site-loop-arrow-up-right) var(--ease-in-out) infinite; }
  /* 文件：內文一行一行寫出來 */
  .icon--file-text path:nth-child(3) { stroke-dasharray: 2.5; animation: write-line var(--site-loop-file-text) var(--ease-out) infinite; }
  .icon--file-text path:nth-child(4) { stroke-dasharray: 8.5; animation: write-line var(--site-loop-file-text) var(--ease-out) var(--site-loop-file-text-step) infinite; }
  .icon--file-text path:nth-child(5) { stroke-dasharray: 8.5; animation: write-line var(--site-loop-file-text) var(--ease-out) calc(var(--site-loop-file-text-step) * 2) infinite; }
  /* 天平（檢舉處理）：橫桿左右擺，兩邊秤盤跟著一上一下 */
  .icon--scale path:nth-child(3) { animation: beam-tilt var(--site-loop-scale) var(--ease-in-out) infinite; }
  .icon--scale path:nth-child(2) { animation: pan-right var(--site-loop-scale) var(--ease-in-out) infinite; }
  .icon--scale path:nth-child(4) { animation: pan-left var(--site-loop-scale) var(--ease-in-out) infinite; }
  /* 信件：封口掀起又蓋上 */
  .icon--mail path { animation: flap var(--site-loop-mail) var(--ease-in-out) infinite; transform-origin: 50% 0%; }
  /* 時鐘：指針繞一圈，到整點停一下 */
  .icon--clock path { animation: clock-hand var(--site-loop-clock) var(--ease-in-out) infinite; transform-box: view-box; transform-origin: 12px 12px; }
  /* 筆：筆尖來回畫一小筆 */
  .icon--pen-tool { animation: pen-draw var(--site-loop-pen-tool) var(--ease-in-out) infinite; }
  /* 分享：左邊的點送出，右邊兩點依序收到 */
  .icon--share-2 circle:nth-child(2) { animation: node-send var(--site-loop-share-2) var(--ease-out) infinite; }
  .icon--share-2 circle:nth-child(1) { animation: node-get var(--site-loop-share-2) var(--ease-out) var(--site-loop-share-2-1) infinite; }
  .icon--share-2 circle:nth-child(3) { animation: node-get var(--site-loop-share-2) var(--ease-out) var(--site-loop-share-2-2) infinite; }
  /* ── 第二批圖示（2026-11-22 精緻化）：一組同時出現時，用 --d 錯開，不會一起動 ── */
  .chips li:nth-child(4n+2) { --d: var(--site-phase-chips-1); } .chips li:nth-child(4n+3) { --d: var(--site-phase-chips-2); } .chips li:nth-child(4n) { --d: var(--site-phase-chips-3); }
  .faq details:nth-child(2n) { --d: var(--site-phase-faq-step); } .faq details:nth-child(3n) { --d: calc(var(--site-phase-faq-step) * 2); }
  .keep__col li:nth-child(2) { --d: var(--site-phase-keep-col-step); } .keep__col li:nth-child(3) { --d: calc(var(--site-phase-keep-col-step) * 2); } .keep__col li:nth-child(4) { --d: calc(var(--site-phase-keep-col-step) * 3); }
  .sizes li:nth-child(2) { --d: var(--site-phase-sizes-step); } .sizes li:nth-child(3) { --d: calc(var(--site-phase-sizes-step) * 2); } .sizes li:nth-child(4) { --d: calc(var(--site-phase-sizes-step) * 3); } .sizes li:nth-child(5) { --d: calc(var(--site-phase-sizes-step) * 4); }
  .steps li:nth-child(2) { --d: var(--site-phase-steps-step); } .steps li:nth-child(3) { --d: calc(var(--site-phase-steps-step) * 2); }
  .site-footer li:nth-child(2) { --d: var(--site-phase-site-footer-step); } .site-footer li:nth-child(3) { --d: calc(var(--site-phase-site-footer-step) * 2); } .site-footer li:nth-child(4) { --d: calc(var(--site-phase-site-footer-step) * 3); }
  /* 旅行（飛機）：起飛往右上滑，再從左下回到航線 */
  .icon--plane path { animation: plane-fly var(--site-loop-plane) var(--ease-in-out) var(--d, 0s) infinite; }
  /* 聚餐（餐具）：叉子和刀子輕碰一下，像乾杯 */
  .icon--utensils path:nth-child(-n+2) { animation: fork-clink var(--site-loop-utensils) var(--ease-out) var(--d, 0s) infinite; transform-origin: 50% 100%; }
  .icon--utensils path:nth-child(3) { animation: knife-clink var(--site-loop-utensils) var(--ease-out) var(--d, 0s) infinite; transform-origin: 50% 100%; }
  /* 咖啡廳（咖啡）：三縷熱氣依序升起散去 */
  .icon--coffee path:nth-child(1) { animation: steam var(--site-loop-coffee) ease-out calc(var(--d, 0s) + var(--site-loop-coffee-step)) infinite; }
  .icon--coffee path:nth-child(2) { animation: steam var(--site-loop-coffee) ease-out calc(var(--d, 0s) + calc(var(--site-loop-coffee-step) * 2)) infinite; }
  .icon--coffee path:nth-child(4) { animation: steam var(--site-loop-coffee) ease-out var(--d, 0s) infinite; }
  /* 選一張照片／看看有哪些風格（多張照片）：前後兩張照片交換位置，像在翻相簿 */
  .icon--images rect { animation: shuffle-back var(--site-loop-images) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--images path:nth-child(2) { animation: shuffle-front var(--site-loop-images) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--images circle { animation: twinkle-dot var(--site-loop-images) var(--ease-in-out) var(--d, 0s) infinite; }
  /* 選一個風格（色票本）：最上面一張色票展開又收回，像在挑樣本 */
  .icon--swatch-book path:nth-child(4) { animation: swatch-fan var(--site-loop-swatch-book) var(--ease-in-out) var(--d, 0s) infinite; transform-box: view-box; transform-origin: 9px 19px; }
  /* 自動（測光錶）：指針掃過去、停在合適的位置 */
  .icon--circle-gauge path:nth-child(3) { animation: gauge-needle var(--site-loop-circle-gauge) var(--ease-in-out) var(--d, 0s) infinite; transform-box: view-box; transform-origin: 12px 12px; }
  /* 存檔或分享：箭頭往上送出，盒子接住後微彈 */
  .icon--share path:nth-child(-n+2) { animation: send-up var(--site-loop-share) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--share path:nth-child(3) { animation: tray-catch var(--site-loop-share) var(--ease-out) var(--d, 0s) infinite; transform-origin: 50% 100%; }
  /* 曝光（光圈）：葉片轉動收放 */
  .icon--aperture path { animation: aperture-turn var(--site-loop-aperture) var(--ease-in-out) var(--d, 0s) infinite; transform-box: view-box; transform-origin: 12px 12px; }
  /* 鮮明度（日出）：太陽往上升一點，光芒亮起 */
  .icon--sunrise path:nth-child(8) { animation: sun-up var(--site-loop-sunrise) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--sunrise path:nth-child(-n+2), .icon--sunrise path:nth-child(5), .icon--sunrise path:nth-child(7) { animation: dot-ring var(--site-loop-sunrise) var(--ease-in-out) calc(var(--d, 0s) + var(--site-loop-sunrise-step)) infinite; }
  /* 高光（太陽）：光芒慢轉 */
  .icon--sun-medium { animation: spin-slow var(--site-loop-sun-medium-spin) linear infinite; }
  .icon--sun-medium circle { animation: core-breathe var(--site-loop-sun-medium) var(--ease-in-out) var(--d, 0s) infinite; }
  /* 陰影（暗太陽）：周圍的點一圈依序亮起 */
  .icon--sun-dim path { animation: dot-ring var(--site-loop-sun-dim) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--sun-dim path:nth-child(3) { animation-delay: calc(var(--d, 0s) + var(--site-loop-sun-dim-step)); } .icon--sun-dim path:nth-child(7) { animation-delay: calc(var(--d, 0s) + calc(var(--site-loop-sun-dim-step) * 2)); }
  .icon--sun-dim path:nth-child(4) { animation-delay: calc(var(--d, 0s) + calc(var(--site-loop-sun-dim-step) * 3)); } .icon--sun-dim path:nth-child(8) { animation-delay: calc(var(--d, 0s) + calc(var(--site-loop-sun-dim-step) * 4)); }
  .icon--sun-dim path:nth-child(5) { animation-delay: calc(var(--d, 0s) + calc(var(--site-loop-sun-dim-step) * 5)); } .icon--sun-dim path:nth-child(9) { animation-delay: calc(var(--d, 0s) + calc(var(--site-loop-sun-dim-step) * 6)); }
  .icon--sun-dim path:nth-child(6) { animation-delay: calc(var(--d, 0s) + calc(var(--site-loop-sun-dim-step) * 7)); }
  /* 對比：黑白兩半翻面 */
  .icon--contrast path { animation: contrast-flip var(--site-loop-contrast) var(--ease-in-out) var(--d, 0s) infinite; transform-box: view-box; transform-origin: 12px 12px; }
  /* 黑點：中心點收縮再放大 */
  .icon--circle-dot circle:nth-child(2) { animation: dot-pulse var(--site-loop-circle-dot) var(--ease-out) var(--d, 0s) infinite; }
  /* 飽和度（水滴）：落下、觸底壓扁 */
  .icon--droplet path { animation: drop-fall var(--site-loop-droplet) var(--ease-in-out) var(--d, 0s) infinite; transform-origin: 50% 100%; }
  /* 鮮豔度（調色盤）：四個顏料點依序冒出 */
  .icon--palette circle { animation: paint-pop var(--site-loop-palette) var(--ease-out) var(--d, 0s) infinite; }
  .icon--palette circle:nth-child(3) { animation-delay: calc(var(--d, 0s) + var(--site-loop-palette-step)); } .icon--palette circle:nth-child(4) { animation-delay: calc(var(--d, 0s) + calc(var(--site-loop-palette-step) * 2)); } .icon--palette circle:nth-child(5) { animation-delay: calc(var(--d, 0s) + calc(var(--site-loop-palette-step) * 3)); }
  /* 色溫（溫度計）：輕輕抖一下，像指針跳動 */
  .icon--thermometer path { animation: thermo-tick var(--site-loop-thermometer) var(--ease-out) var(--d, 0s) infinite; transform-origin: 50% 90%; }
  /* 色調（雙水滴）：兩顆水滴輪流上下 */
  .icon--droplets path:nth-child(1) { animation: bob-a var(--site-loop-droplets) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--droplets path:nth-child(2) { animation: bob-b var(--site-loop-droplets) var(--ease-in-out) var(--d, 0s) infinite; }
  /* 銳利度（三角）：收緊一下再回彈 */
  .icon--triangle path { animation: sharpen var(--site-loop-triangle) var(--ease-out) var(--d, 0s) infinite; }
  /* 清晰度（對焦框）：四角往內收、中心點跟著亮 */
  .icon--focus path:nth-child(2) { animation: focus-tl var(--site-loop-focus) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--focus path:nth-child(3) { animation: focus-tr var(--site-loop-focus) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--focus path:nth-child(4) { animation: focus-br var(--site-loop-focus) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--focus path:nth-child(5) { animation: focus-bl var(--site-loop-focus) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--focus circle { animation: dot-pulse var(--site-loop-focus) var(--ease-out) calc(var(--d, 0s) + var(--site-loop-focus-step)) infinite; }
  /* 雜訊抑制（點陣）：雜點一波波淡下來 */
  .icon--grip circle { animation: noise-fade var(--site-loop-grip) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--grip circle:nth-child(2n) { animation-delay: calc(var(--d, 0s) + var(--site-loop-grip-step)); } .icon--grip circle:nth-child(3n) { animation-delay: calc(var(--d, 0s) + calc(var(--site-loop-grip-step) * 2)); }
  /* 暗角（掃描框）：四角像暗角一樣往內收 */
  .icon--scan path:nth-child(1) { animation: focus-tl var(--site-loop-scan) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--scan path:nth-child(2) { animation: focus-tr var(--site-loop-scan) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--scan path:nth-child(3) { animation: focus-br var(--site-loop-scan) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--scan path:nth-child(4) { animation: focus-bl var(--site-loop-scan) var(--ease-in-out) var(--d, 0s) infinite; }
  /* 人物：點一下頭 */
  .icon--user-round circle { animation: nod var(--site-loop-user-round) var(--ease-in-out) var(--d, 0s) infinite; }
  /* 構圖（框線）：格線微微對齊 */
  .icon--frame line:nth-child(1) { animation: grid-y var(--site-loop-frame) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--frame line:nth-child(3) { animation: grid-x var(--site-loop-frame) var(--ease-in-out) var(--d, 0s) infinite; }
  /* 建築：窗戶亮燈 */
  .icon--building-2 path:nth-child(-n+2) { animation: window-light var(--site-loop-building-2) steps(1) var(--d, 0s) infinite; }
  .icon--building-2 path:nth-child(2) { animation-delay: calc(var(--d, 0s) + var(--site-loop-building-2-step)); }
  /* 文字：上方橫線像游標一樣展開 */
  .icon--type path:nth-child(2) { animation: type-bar var(--site-loop-type) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--type path:nth-child(1) { animation: caret var(--site-loop-type) steps(1) var(--d, 0s) infinite; }
  /* 雜物（橡皮擦）：左右擦兩下 */
  .icon--eraser { animation: erase var(--site-loop-eraser) var(--ease-in-out) var(--d, 0s) infinite; }
  /* 貼文 4:5（直式相簿）：照片往上滑一張 */
  .icon--gallery-vertical rect { animation: gallery-slide var(--site-loop-gallery-vertical) var(--ease-in-out) var(--d, 0s) infinite; }
  /* 頭像 1:1：頭像點頭 */
  .icon--circle-user-round circle:nth-child(2), .icon--circle-user-round path { animation: nod var(--site-loop-circle-user-round) var(--ease-in-out) var(--d, 0s) infinite; }
  /* 橫式 16:9（螢幕播放）：播放鍵按一下 */
  .icon--monitor-play path:nth-child(1) { animation: play-press var(--site-loop-monitor-play) var(--ease-out) var(--d, 0s) infinite; }
  /* 付費（卡片）：刷卡磁條掃過 */
  .icon--credit-card line { animation: card-swipe var(--site-loop-credit-card) var(--ease-in-out) var(--d, 0s) infinite; transform-origin: 0% 50%; }
  /* 裝置（平板＋手機）：手機滑出再收回 */
  .icon--tablet-smartphone rect, .icon--tablet-smartphone path:nth-child(3) { animation: device-slide var(--site-loop-tablet-smartphone) var(--ease-in-out) var(--d, 0s) infinite; }
  /* 看得出 AI 嗎（掃描眼睛）：眨一下眼 */
  .icon--scan-eye path:nth-child(6), .icon--scan-eye circle { animation: blink var(--site-loop-scan-eye) var(--ease-in-out) var(--d, 0s) infinite; }
  /* 訓練 AI（大腦）：中線一亮，兩側跟著呼吸 */
  .icon--brain { animation: brain-think var(--site-loop-brain) var(--ease-in-out) var(--d, 0s) infinite; }
  .icon--brain path:nth-child(1) { animation: dot-ring var(--site-loop-brain) var(--ease-in-out) var(--d, 0s) infinite; }
  /* 重新產生（循環箭頭）：轉一圈，停一下 */
  .icon--refresh-cw { animation: refresh var(--site-loop-refresh-cw) var(--ease-in-out) var(--d, 0s) infinite; }
  /* 別人的照片（使用者打勾）：勾畫出來 */
  .icon--user-check path:nth-child(1) { stroke-dasharray: 9; animation: draw-check var(--site-loop-user-check) var(--ease-out) var(--d, 0s) infinite; }
  /* 尺寸（尺）：刻度依序跳動，像在量 */
  .icon--ruler path:nth-child(n+2) { animation: tick var(--site-loop-ruler) var(--ease-out) var(--d, 0s) infinite; }
  .icon--ruler path:nth-child(3) { animation-delay: calc(var(--d, 0s) + var(--site-loop-ruler-step)); } .icon--ruler path:nth-child(4) { animation-delay: calc(var(--d, 0s) + calc(var(--site-loop-ruler-step) * 2)); } .icon--ruler path:nth-child(5) { animation-delay: calc(var(--d, 0s) + calc(var(--site-loop-ruler-step) * 3)); }
  /* 上架時間（日曆時鐘）：時鐘指針轉一圈 */
  .icon--calendar-clock path:nth-child(1) { animation: clock-hand var(--site-loop-calendar-clock) var(--ease-in-out) var(--d, 0s) infinite; transform-box: view-box; transform-origin: 16px 16px; }
  /* 頁尾：隱私（盾牌）微亮、條款（卷軸）寫字、支援（救生圈）慢轉、檢舉（旗子）飄動 */
  .icon--shield path { animation: shield-pulse var(--site-loop-shield) var(--ease-out) var(--d, 0s) infinite; }
  .icon--scroll-text path:nth-child(-n+2) { stroke-dasharray: 6; animation: write-line var(--site-loop-scroll-text) var(--ease-out) var(--d, 0s) infinite; }
  .icon--life-buoy { animation: spin-slow var(--site-loop-life-buoy) linear infinite; }
  .icon--flag path { animation: flag-wave var(--site-loop-flag) var(--ease-in-out) var(--d, 0s) infinite; transform-origin: 0% 50%; }
}
@keyframes vf-focus { from { inset: -22px; opacity: 0; } to { inset: 0; opacity: 1; } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes live-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes live-ring { 0% { opacity: 0.5; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes swatch-fan { 0%, 45%, 100% { transform: rotate(0deg); } 60%, 78% { transform: rotate(14deg); } }
@keyframes gauge-needle { 0%, 15% { transform: rotate(-90deg); } 50% { transform: rotate(18deg); } 62%, 100% { transform: rotate(0deg); } }
@keyframes sun-up { 0%, 40%, 100% { transform: translateY(0); } 60%, 80% { transform: translateY(-1.5px); } }
@keyframes chevrons-spread { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(1.22); } }
@keyframes mark-tl { 0%, 60%, 100% { transform: translate(0, 0); } 70% { transform: translate(-1.5px, -1.5px); } 82% { transform: translate(0.4px, 0.4px); } }
@keyframes mark-br { 0%, 60%, 100% { transform: translate(0, 0); } 70% { transform: translate(1.5px, 1.5px); } 82% { transform: translate(-0.4px, -0.4px); } }
@keyframes mark-dot { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(0.6); } 82% { transform: scale(1.1); } }
@keyframes knob { 0%, 8% { transform: translateX(0%); } 40%, 52% { transform: translateX(24%); } 84%, 100% { transform: translateX(0%); } }
@keyframes fill { 0%, 8% { transform: scaleX(0); } 40%, 52% { transform: scaleX(1); } 84%, 100% { transform: scaleX(0); } }
@keyframes exposure { 0%, 8% { opacity: 0.38; } 40%, 52% { opacity: 0; } 84%, 100% { opacity: 0.38; } }
@keyframes num-a { 0% { opacity: 1; } 18% { opacity: 0; } 76% { opacity: 1; } }
@keyframes num-b { 0% { opacity: 0; } 18% { opacity: 1; } 32% { opacity: 0; } 62% { opacity: 1; } 76% { opacity: 0; } }
@keyframes num-c { 0% { opacity: 0; } 32% { opacity: 1; } 62% { opacity: 0; } }
@keyframes pin-hop { 0%, 55%, 100% { transform: translateY(0) scale(1, 1); } 66% { transform: translateY(-3px) scale(0.96, 1.04); } 76% { transform: translateY(0) scale(1.08, 0.9); } 84% { transform: translateY(0) scale(1, 1); } }
@keyframes pin-dot { 0%, 55%, 100% { transform: translateY(0) scale(1); } 66% { transform: translateY(-3px) scale(0.8); } 80% { transform: translateY(0) scale(1.3); } 90% { transform: scale(1); } }
@keyframes phone-sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes phone-flash { 0%, 46%, 60%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 1; transform: scale(3); } 54% { opacity: 0.2; } }
@keyframes heartbeat { 0%, 40%, 100% { transform: scale(1); } 8% { transform: scale(1.16); } 16% { transform: scale(1); } 24% { transform: scale(1.1); } 32% { transform: scale(1); } }
@keyframes lens-focus { 0%, 100% { transform: scale(1); } 30% { transform: scale(0.62); } 46% { transform: scale(1.08); } 56% { transform: scale(1); } }
@keyframes shutter-press { 0%, 52%, 100% { transform: translateY(0); } 57% { transform: translateY(0.8px); } 64% { transform: translateY(0); } }
@keyframes draw-check { 0%, 48% { stroke-dashoffset: 0; opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 0; } 61% { stroke-dashoffset: 12; opacity: 1; } 90%, 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes shield-pulse { 0%, 88%, 100% { transform: scale(1); } 94% { transform: scale(1.07); } }
@keyframes slide-a { 0%, 100% { transform: translateX(0); } 20%, 36% { transform: translateX(-2.5px); } }
@keyframes slide-b { 0%, 30%, 100% { transform: translateX(0); } 50%, 66% { transform: translateX(3px); } }
@keyframes slide-c { 0%, 60%, 100% { transform: translateX(0); } 78%, 92% { transform: translateX(-2.5px); } }
@keyframes globe-spin { 0% { transform: scaleX(1); } 25% { transform: scaleX(0.1); } 50% { transform: scaleX(-1); } 75% { transform: scaleX(0.1); } 100% { transform: scaleX(1); } }
@keyframes arrow-drop { 0%, 46% { transform: translateY(0); opacity: 1; } 62% { transform: translateY(3px); opacity: 0; } 63% { transform: translateY(-4px); opacity: 0; } 84%, 100% { transform: translateY(0); opacity: 1; } }
@keyframes tray-catch { 0%, 80%, 96%, 100% { transform: scaleY(1); } 87% { transform: scaleY(0.82); } }
@keyframes sun-rise { 0%, 100% { transform: translate(0, 0); opacity: 1; } 45%, 55% { transform: translate(-1px, 3px); opacity: 0.35; } }
@keyframes lang-a { 0%, 40%, 100% { opacity: 1; transform: translateY(0); } 50%, 90% { opacity: 0.35; transform: translateY(0.8px); } }
@keyframes lang-b { 0%, 40%, 100% { opacity: 0.35; transform: translateY(0.8px); } 50%, 90% { opacity: 1; transform: translateY(0); } }
@keyframes moon-rock { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(10deg); } }
@keyframes core-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes arrow-out { 0%, 50%, 100% { transform: translate(0, 0); opacity: 1; } 64% { transform: translate(3px, -3px); opacity: 0; } 65% { transform: translate(-3px, 3px); opacity: 0; } 80% { transform: translate(0, 0); opacity: 1; } }
@keyframes write-line { 0%, 55% { stroke-dashoffset: 0; opacity: 1; } 64% { stroke-dashoffset: 0; opacity: 0; } 65% { stroke-dashoffset: 9; opacity: 1; } 95%, 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes beam-tilt { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes pan-right { 0%, 100% { transform: translateY(-1.2px); } 50% { transform: translateY(1.2px); } }
@keyframes pan-left { 0%, 100% { transform: translateY(1.2px); } 50% { transform: translateY(-1.2px); } }
@keyframes flap { 0%, 55%, 100% { transform: scaleY(1); } 68%, 80% { transform: scaleY(-0.35); } }
@keyframes clock-hand { 0% { transform: rotate(0deg); } 80%, 100% { transform: rotate(360deg); } }
@keyframes pen-draw { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 30% { transform: translate(-1px, 1px) rotate(-4deg); } 60% { transform: translate(1px, 0) rotate(3deg); } }
@keyframes node-send { 0%, 60%, 100% { transform: scale(1); } 10% { transform: scale(0.7); } 22% { transform: scale(1.15); } }
@keyframes plane-fly { 0%, 46%, 100% { transform: translate(0, 0); opacity: 1; } 60% { transform: translate(3px, -3px); opacity: 0; } 61% { transform: translate(-3px, 3px); opacity: 0; } 76% { transform: translate(0, 0); opacity: 1; } }
@keyframes fork-clink { 0%, 60%, 100% { transform: rotate(0deg); } 70% { transform: rotate(9deg); } 78% { transform: rotate(0deg); } }
@keyframes knife-clink { 0%, 60%, 100% { transform: rotate(0deg); } 70% { transform: rotate(-9deg); } 78% { transform: rotate(0deg); } }
@keyframes steam { 0%, 50% { transform: translateY(0); opacity: 1; } 75% { transform: translateY(-2.5px); opacity: 0; } 76% { transform: translateY(1px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes shuffle-back { 0%, 45%, 100% { transform: translate(0, 0); } 60%, 85% { transform: translate(-2px, 2px); } }
@keyframes shuffle-front { 0%, 45%, 100% { transform: translate(0, 0); } 60%, 85% { transform: translate(2px, -2px); } }
@keyframes twinkle-dot { 0%, 50%, 100% { transform: scale(1); } 65% { transform: scale(1.8); } }
@keyframes send-up { 0%, 46%, 100% { transform: translateY(0); opacity: 1; } 62% { transform: translateY(-3px); opacity: 0; } 63% { transform: translateY(3px); opacity: 0; } 80% { transform: translateY(0); opacity: 1; } }
@keyframes aperture-turn { 0%, 40%, 100% { transform: rotate(0deg) scale(1); } 60%, 75% { transform: rotate(60deg) scale(0.86); } }
@keyframes dot-ring { 0%, 30%, 100% { opacity: 1; } 15% { opacity: 0.25; } }
@keyframes contrast-flip { 0%, 40%, 100% { transform: scaleX(1); } 55%, 85% { transform: scaleX(-1); } }
@keyframes dot-pulse { 0%, 50%, 100% { transform: scale(1); } 62% { transform: scale(2.2); } 74% { transform: scale(0.9); } 84% { transform: scale(1); } }
@keyframes drop-fall { 0%, 40%, 100% { transform: translateY(0) scale(1, 1); } 58% { transform: translateY(-2px) scale(0.94, 1.06); } 72% { transform: translateY(0) scale(1.1, 0.88); } 82% { transform: scale(1, 1); } }
@keyframes paint-pop { 0%, 55%, 100% { transform: scale(1); } 65% { transform: scale(1.7); } 75% { transform: scale(1); } }
@keyframes thermo-tick { 0%, 60%, 100% { transform: rotate(0deg); } 66% { transform: rotate(-7deg); } 72% { transform: rotate(5deg); } 78% { transform: rotate(-2deg); } 84% { transform: rotate(0deg); } }
@keyframes bob-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@keyframes bob-b { 0%, 100% { transform: translateY(-1.5px); } 50% { transform: translateY(0.5px); } }
@keyframes sharpen { 0%, 55%, 100% { transform: scale(1); } 66% { transform: scale(0.84); } 78% { transform: scale(1.06); } 88% { transform: scale(1); } }
@keyframes focus-tl { 0%, 45%, 100% { transform: translate(0, 0); } 60%, 72% { transform: translate(1.5px, 1.5px); } }
@keyframes focus-tr { 0%, 45%, 100% { transform: translate(0, 0); } 60%, 72% { transform: translate(-1.5px, 1.5px); } }
@keyframes focus-br { 0%, 45%, 100% { transform: translate(0, 0); } 60%, 72% { transform: translate(-1.5px, -1.5px); } }
@keyframes focus-bl { 0%, 45%, 100% { transform: translate(0, 0); } 60%, 72% { transform: translate(1.5px, -1.5px); } }
@keyframes noise-fade { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes nod { 0%, 60%, 100% { transform: translateY(0); } 68% { transform: translateY(1.2px); } 76% { transform: translateY(-0.4px); } 84% { transform: translateY(0); } }
@keyframes grid-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(1.5px); } }
@keyframes grid-x { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(1.5px); } }
@keyframes window-light { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes type-bar { 0%, 50%, 100% { transform: scaleX(1); } 62% { transform: scaleX(0.55); } 78% { transform: scaleX(1.06); } 88% { transform: scaleX(1); } }
@keyframes caret { 0%, 100% { opacity: 1; } 55%, 65% { opacity: 0.3; } }
@keyframes erase { 0%, 50%, 100% { transform: translate(0, 0) rotate(0deg); } 60% { transform: translate(-1.5px, 0.5px) rotate(-4deg); } 70% { transform: translate(1.5px, -0.5px) rotate(3deg); } 80% { transform: translate(-1px, 0.3px) rotate(-2deg); } 90% { transform: translate(0, 0) rotate(0deg); } }
@keyframes gallery-slide { 0%, 45%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(-3px); opacity: 0; } 61% { transform: translateY(3px); opacity: 0; } 78% { transform: translateY(0); opacity: 1; } }
@keyframes play-press { 0%, 55%, 100% { transform: scale(1); } 64% { transform: scale(0.7); } 76% { transform: scale(1.15); } 86% { transform: scale(1); } }
@keyframes card-swipe { 0%, 45%, 100% { transform: scaleX(1); opacity: 1; } 55% { transform: scaleX(0); opacity: 0.4; } 75% { transform: scaleX(1); opacity: 1; } }
@keyframes device-slide { 0%, 45%, 100% { transform: translateX(0); } 60%, 78% { transform: translateX(-2px); } }
@keyframes blink { 0%, 80%, 92%, 100% { transform: scaleY(1); } 86% { transform: scaleY(0.1); } }
@keyframes brain-think { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes refresh { 0%, 45% { transform: rotate(0deg); } 75%, 100% { transform: rotate(360deg); } }
@keyframes tick { 0%, 55%, 100% { transform: translate(0, 0); } 65% { transform: translate(-0.8px, -0.8px); } 75% { transform: translate(0, 0); } }
@keyframes flag-wave { 0%, 100% { transform: skewY(0deg) scaleX(1); } 33% { transform: skewY(-4deg) scaleX(0.96); } 66% { transform: skewY(3deg) scaleX(1.02); } }
@keyframes node-get { 0%, 18%, 60%, 100% { transform: scale(1); } 28% { transform: scale(1.25); } 40% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0ms !important; }
  .btn:hover { transform: none; }
}

/* ══ App 介面示意（共用正本 shared/design/appmock.mjs） ══ */
/* 照 iOS 系統元件原本的尺寸（不是品牌設計參數）：分段控制外框 9、選中項 7、底部面板拖曳把手 3（pt） */
.kcm-phone { --kcm-ios-seg-r: 9; --kcm-ios-seg-item-r: 7; --kcm-ios-grabber-r: 3; position: relative; width: calc(390 * var(--kcm-pt)); height: calc(844 * var(--kcm-pt)); overflow: hidden; background: var(--kcm-bg); color: var(--kcm-text); font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif; font-size: var(--fs-app-16); line-height: 1.7; letter-spacing: calc(0.32 * var(--kcm-pt)); }
.kcm-phone--brand { background: var(--kcm-bg-brand); display: grid; place-items: center; text-align: center; }
.kcm-bar { display: flex; justify-content: space-between; padding: calc(14 * var(--kcm-pt)) calc(16 * var(--kcm-pt)) calc(8 * var(--kcm-pt)); font-size: var(--fs-app-15); font-weight: 600; }
.kcm-photo { position: absolute; left: calc(16 * var(--kcm-pt)); right: calc(16 * var(--kcm-pt)); top: calc(52 * var(--kcm-pt)); bottom: calc(150 * var(--kcm-pt)); border-radius: calc(var(--kcm-r-photo) * var(--kcm-pt)); overflow: hidden; background: var(--kcm-chip-bg); }
.kcm-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kcm-foot { position: absolute; left: calc(16 * var(--kcm-pt)); right: calc(16 * var(--kcm-pt)); bottom: calc(40 * var(--kcm-pt)); }
.kcm-btn { display: flex; align-items: center; justify-content: center; min-height: calc(50 * var(--kcm-pt)); padding: 0 calc(18 * var(--kcm-pt)); border-radius: 999px; border: calc(1.5 * var(--kcm-pt)) solid transparent; background: var(--kcm-btn); color: var(--kcm-on-btn); font-size: var(--fs-app-14); font-weight: 600; white-space: nowrap; }
.kcm-btn--wide { display: inline-flex; padding: 0 calc(28 * var(--kcm-pt)); }
.kcm-toast { position: absolute; left: calc(16 * var(--kcm-pt)); right: calc(16 * var(--kcm-pt)); top: calc(56 * var(--kcm-pt)); display: grid; grid-template-columns: calc(22 * var(--kcm-pt)) 1fr; gap: calc(10 * var(--kcm-pt)); align-items: center; padding: calc(12 * var(--kcm-pt)) calc(14 * var(--kcm-pt)); border-radius: calc(var(--kcm-r-toast) * var(--kcm-pt)); background: var(--kcm-raised); box-shadow: var(--shadow-float); font-size: var(--fs-app-14); text-align: left; }
.kcm-toast__icon { color: var(--kcm-success); font-weight: 800; font-size: var(--fs-app-16); text-align: center; }
.kcm-empty { display: grid; gap: calc(16 * var(--kcm-pt)); justify-items: center; padding: 0 calc(40 * var(--kcm-pt)); }
.kcm-empty__sym { display: block; width: calc(88 * var(--kcm-pt)); color: var(--kcm-sym); }
.kcm-empty__sym svg { width: 100%; height: auto; }   /* 維持行內（和定案示範一樣，下面留一點行距） */
.kcm-empty__sym .kcm-dot { fill: var(--kcm-sym-dot); }
.kcm-empty b { font-size: var(--fs-app-20); }
.kcm-scrim { position: absolute; inset: 0; background: var(--kcm-scrim); }
.kcm-sheet { position: absolute; left: 0; right: 0; bottom: 0; top: calc(420 * var(--kcm-pt)); padding: calc(10 * var(--kcm-pt)) calc(16 * var(--kcm-pt)) calc(34 * var(--kcm-pt)); display: grid; align-content: start; gap: calc(14 * var(--kcm-pt)); background: var(--kcm-raised); border-radius: calc(var(--kcm-r-sheet) * var(--kcm-pt)) calc(var(--kcm-r-sheet) * var(--kcm-pt)) 0 0; box-shadow: var(--shadow-sheet); }
.kcm-sheet__grab { justify-self: center; width: calc(36 * var(--kcm-pt)); height: calc(5 * var(--kcm-pt)); margin-bottom: calc(6 * var(--kcm-pt)); border-radius: calc(var(--kcm-ios-grabber-r) * var(--kcm-pt)); background: var(--kcm-line); }
.kcm-sheet__head { display: flex; justify-content: space-between; align-items: center; }
.kcm-sheet__head b { font-size: var(--fs-app-17); }
.kcm-chips { display: flex; flex-wrap: wrap; gap: calc(8 * var(--kcm-pt)); }
.kcm-chip { display: inline-flex; align-items: center; justify-content: center; min-height: calc(34 * var(--kcm-pt)); padding: 0 calc(14 * var(--kcm-pt)); border-radius: 999px; font-size: var(--fs-app-13); border: calc(1.5 * var(--kcm-pt)) solid transparent; white-space: nowrap; background: var(--kcm-chip-bg); color: var(--kcm-text); }
.kcm-chip.is-on { background: var(--kcm-selected-bg); border-color: var(--kcm-accent); font-weight: 600; }

.kcm-hifi { font-size: var(--fs-app-17); line-height: 1.25; letter-spacing: 0; }
.kcm-hifi .kcm-i { width: calc(22 * var(--kcm-pt)); height: calc(22 * var(--kcm-pt)); flex: none; }
.kcm-sb { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: calc(54 * var(--kcm-pt)); display: flex; align-items: center; justify-content: space-between; padding: calc(4 * var(--kcm-pt)) calc(30 * var(--kcm-pt)) 0 calc(48 * var(--kcm-pt)); color: var(--kcm-text); }
.kcm-sb__time { font-size: var(--fs-app-17); font-weight: 600; }
.kcm-sb__icons { display: flex; align-items: center; gap: calc(6 * var(--kcm-pt)); }
.kcm-sb__icons svg { height: calc(12 * var(--kcm-pt)); width: auto; fill: currentColor; }
.kcm-sb__bat .kcm-sb__shell { fill: none; stroke: currentColor; stroke-opacity: 0.4; }
.kcm-sb__bat .kcm-sb__nub { fill-opacity: 0.4; }
.kcm-home { position: absolute; left: 50%; bottom: calc(8 * var(--kcm-pt)); z-index: 3; width: calc(134 * var(--kcm-pt)); height: calc(5 * var(--kcm-pt)); margin-left: calc(-67 * var(--kcm-pt)); border-radius: 999px; background: var(--kcm-text); }
.kcm-roll { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(2 * var(--kcm-pt)); }
.kcm-roll__cell { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--kcm-chip-bg); }
.kcm-roll__cell img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kcm-pos-l img { object-position: 15% 50%; } .kcm-pos-r img { object-position: 85% 50%; } .kcm-pos-t img { object-position: 50% 15%; } .kcm-pos-b img { object-position: 50% 85%; }
.kcm-pos-z img { transform: scale(1.6); }
.kcm-roll__cell.is-on::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 calc(3 * var(--kcm-pt)) var(--kcm-accent); }
.kcm-roll__check { position: absolute; right: calc(6 * var(--kcm-pt)); bottom: calc(6 * var(--kcm-pt)); z-index: 1; display: grid; place-items: center; width: calc(24 * var(--kcm-pt)); height: calc(24 * var(--kcm-pt)); border-radius: 999px; background: var(--kcm-accent); color: var(--kcm-on-accent); box-shadow: 0 0 0 calc(1.5 * var(--kcm-pt)) var(--kcm-raised); }
.kcm-roll__check .kcm-i { width: calc(16 * var(--kcm-pt)); height: calc(16 * var(--kcm-pt)); stroke-width: 2.6; }
/* 修圖與結果畫面 */
.kcm-stack { display: flex; flex-direction: column; padding: calc(54 * var(--kcm-pt)) 0 calc(34 * var(--kcm-pt)); }
.kcm-stack .kcm-sb { position: absolute; }
.kcm-nav { position: relative; flex: none; height: calc(44 * var(--kcm-pt)); display: flex; align-items: center; gap: calc(2 * var(--kcm-pt)); padding: 0 calc(16 * var(--kcm-pt)) 0 calc(8 * var(--kcm-pt)); }
.kcm-nav__title { position: absolute; left: 50%; transform: translateX(-50%); font-weight: 600; }
.kcm-nav__done { margin-left: auto; font-weight: 600; }
.kcm-stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: calc(8 * var(--kcm-pt)) calc(16 * var(--kcm-pt)) calc(16 * var(--kcm-pt)); }
.kcm-frame { position: relative; width: 100%; border-radius: calc(var(--kcm-r-photo) * var(--kcm-pt)); overflow: hidden; background: var(--kcm-chip-bg); }
.kcm-frame--fill { height: 100%; }

.kcm-frame--45 { aspect-ratio: 4 / 5; } .kcm-frame--32 { aspect-ratio: 3 / 2; } .kcm-frame--11 { aspect-ratio: 1; }
.kcm-frame--23 { aspect-ratio: 2 / 3; height: 100%; width: auto; max-width: 100%; }   /* 直式原圖：照比例撐滿可用高度 */   /* 寬度撐滿、高度照 4:5；在中間區域垂直置中 */
.kcm-frame img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.kcm-cmp__after { clip-path: inset(0 0 0 50%); }
.kcm-cmp__tag { position: absolute; top: calc(10 * var(--kcm-pt)); left: calc(10 * var(--kcm-pt)); padding: calc(3 * var(--kcm-pt)) calc(10 * var(--kcm-pt)); border-radius: 999px; background: var(--kcm-pill); color: var(--kcm-on-pill); font-size: var(--fs-app-12); font-weight: 600; }
.kcm-cmp__tag--r { left: auto; right: calc(10 * var(--kcm-pt)); }
.kcm-cmp__line { position: absolute; top: 0; bottom: 0; left: 50%; width: calc(2 * var(--kcm-pt)); margin-left: calc(-1 * var(--kcm-pt)); background: var(--kcm-on-pill); }
.kcm-cmp__line i { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: calc(34 * var(--kcm-pt)); height: calc(34 * var(--kcm-pt)); margin: calc(-17 * var(--kcm-pt)) 0 0 calc(-17 * var(--kcm-pt)); border-radius: 999px; background: var(--kcm-on-pill); color: var(--kcm-pill-solid); box-shadow: var(--shadow-float); }
.kcm-cmp__line .kcm-i { width: calc(18 * var(--kcm-pt)); height: calc(18 * var(--kcm-pt)); stroke-width: 2.2; }
.kcm-dock { flex: none; display: grid; gap: calc(14 * var(--kcm-pt)); padding: 0 0 calc(4 * var(--kcm-pt)) calc(16 * var(--kcm-pt)); }
.kcm-dock__title { font-size: var(--fs-app-15); font-weight: 600; }
.kcm-rail { display: flex; gap: calc(8 * var(--kcm-pt)); min-width: 0; overflow: hidden; white-space: nowrap; }   /* min-width 0：在格狀排版裡不被內容撐寬，超出的部分才能捲動 */
.kcm-hifi .kcm-chip { flex: none; font-size: var(--fs-app-15); }
.kcm-hifi .kcm-btn { margin-right: calc(16 * var(--kcm-pt)); font-size: var(--fs-app-17); }
.kcm-row { display: grid; grid-template-columns: 1fr 1fr; gap: calc(12 * var(--kcm-pt)); margin-right: calc(16 * var(--kcm-pt)); }
.kcm-row .kcm-btn { margin-right: 0; }
.kcm-v { display: none; }
.kcm-v.is-on { display: inline; }
.kcm-v--img { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity var(--kcm-fade, 0s) ease; }
.kcm-v--img.is-on { opacity: 1; }
.kcm-v--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kcm-btn--ghost { background: transparent; color: var(--kcm-text); border-color: var(--kcm-text2); }
.kcm-tools { display: grid; grid-template-columns: 1fr 1fr; gap: calc(12 * var(--kcm-pt)); margin-right: calc(16 * var(--kcm-pt)); }
.kcm-tool { display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--kcm-pt)); height: calc(44 * var(--kcm-pt)); border-radius: calc(var(--kcm-r-icon-tile) * var(--kcm-pt)); background: var(--kcm-chip-bg); font-size: var(--fs-app-15); font-weight: 600; }
.kcm-tool .kcm-i { width: calc(20 * var(--kcm-pt)); height: calc(20 * var(--kcm-pt)); }
/* 1 模板分頁＋內嵌系統照片挑選器＋分頁列 */
.kcm-stack--tabs { padding-bottom: 0; }
.kcm-page { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: calc(12 * var(--kcm-pt)); padding-top: calc(4 * var(--kcm-pt)); }
.kcm-large { margin: calc(6 * var(--kcm-pt)) calc(16 * var(--kcm-pt)) 0; font-size: var(--fs-app-34); font-weight: 700; letter-spacing: calc(0.4 * var(--kcm-pt)); }
.kcm-inline { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: calc(10 * var(--kcm-pt)); }
.kcm-inline .kcm-seg { align-self: center; }
.kcm-sect { margin: 0 calc(16 * var(--kcm-pt)); font-size: var(--fs-app-20); font-weight: 700; }
.kcm-roll--inline { margin: calc(-4 * var(--kcm-pt)) 0 calc(4 * var(--kcm-pt)); }
.kcm-cards { display: flex; gap: calc(12 * var(--kcm-pt)); padding-left: calc(16 * var(--kcm-pt)); margin-top: calc(-4 * var(--kcm-pt)); }
.kcm-card { flex: none; width: calc(116 * var(--kcm-pt)); display: grid; gap: calc(6 * var(--kcm-pt)); }
.kcm-card__img { position: relative; aspect-ratio: 4 / 5; border-radius: calc(var(--kcm-r-photo) * var(--kcm-pt)); overflow: hidden; background: var(--kcm-chip-bg); }
.kcm-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kcm-card__name { min-width: 0; overflow: hidden; font-size: var(--fs-app-15); font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }   /* 名稱一行，太長照 iOS 慣例截斷（英文名稱較長，換行會壓到下方按鈕） */
.kcm-next { position: absolute; left: calc(16 * var(--kcm-pt)); right: calc(16 * var(--kcm-pt)); bottom: calc(96 * var(--kcm-pt)); z-index: 2; margin: 0; box-shadow: var(--shadow-float); }
.kcm-page { position: relative; }
.kcm-tabs { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: calc(7 * var(--kcm-pt)) 0 calc(34 * var(--kcm-pt)); border-top: calc(0.5 * var(--kcm-pt)) solid var(--kcm-line); background: var(--kcm-bg); color: var(--kcm-text2); }
.kcm-tab { display: grid; justify-items: center; gap: calc(3 * var(--kcm-pt)); font-size: var(--fs-app-10); font-weight: 600; }
.kcm-tab .kcm-i { width: calc(26 * var(--kcm-pt)); height: calc(26 * var(--kcm-pt)); }
.kcm-tab.is-on { color: var(--kcm-accent); }
.kcm-seg { display: grid; grid-template-columns: 1fr 1fr; width: calc(176 * var(--kcm-pt)); padding: calc(2 * var(--kcm-pt)); border-radius: calc(var(--kcm-ios-seg-r) * var(--kcm-pt)); background: var(--kcm-chip-bg); font-size: var(--fs-app-13); text-align: center; }
.kcm-seg span { padding: calc(5 * var(--kcm-pt)) 0; border-radius: calc(var(--kcm-ios-seg-item-r) * var(--kcm-pt)); }
.kcm-seg .is-on { background: var(--kcm-bg); font-weight: 600; box-shadow: 0 0 0 calc(0.5 * var(--kcm-pt)) var(--kcm-line); }
.kcm-thumb__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 2 修圖：風格縮圖、尺寸 */
.kcm-rail--thumbs { gap: calc(10 * var(--kcm-pt)); padding: calc(3 * var(--kcm-pt)) 0 0 calc(3 * var(--kcm-pt)); margin-left: calc(-3 * var(--kcm-pt)); }
.kcm-thumb { flex: none; width: calc(76 * var(--kcm-pt)); display: grid; grid-template-columns: minmax(0, 1fr); gap: calc(6 * var(--kcm-pt)); justify-items: center; }
.kcm-thumb__img { position: relative; width: 100%; aspect-ratio: 1; border-radius: calc(var(--kcm-r-photo) * var(--kcm-pt)); overflow: hidden; background: var(--kcm-chip-bg); }
.kcm-thumb__name { max-width: 100%; overflow: hidden; font-size: var(--fs-app-12); line-height: 1.25; text-align: center; color: var(--kcm-text2); white-space: nowrap; text-overflow: ellipsis; }   /* 縮圖固定寬 76：名稱一行，太長照 iOS 慣例用「…」截斷（英文名稱較長，不能撐大縮圖） */
.kcm-thumb.is-on .kcm-thumb__img { box-shadow: 0 0 0 calc(2 * var(--kcm-pt)) var(--kcm-bg), 0 0 0 calc(4 * var(--kcm-pt)) var(--kcm-accent); }
.kcm-thumb.is-on .kcm-thumb__name { color: var(--kcm-text); font-weight: 600; }
/* 結果：尺寸圖示（照實際比例的外框） */
.kcm-sizes { display: grid; grid-template-columns: repeat(5, 1fr); margin-right: calc(16 * var(--kcm-pt)); }
.kcm-size { display: grid; justify-items: center; gap: calc(6 * var(--kcm-pt)); font-size: var(--fs-app-12); color: var(--kcm-text2); }
.kcm-size__box { display: grid; place-items: center; width: calc(48 * var(--kcm-pt)); height: calc(48 * var(--kcm-pt)); border-radius: calc(var(--kcm-r-icon-tile) * var(--kcm-pt)); }
.kcm-size__frame { display: grid; place-items: center; border: calc(1.6 * var(--kcm-pt)) solid currentColor; border-radius: calc(var(--kcm-r-xs) * var(--kcm-pt)); }
.kcm-r-9x16 { width: calc(18 * var(--kcm-pt)); height: calc(32 * var(--kcm-pt)); } .kcm-r-4x5 { width: calc(24 * var(--kcm-pt)); height: calc(30 * var(--kcm-pt)); }
.kcm-r-1x1 { width: calc(28 * var(--kcm-pt)); height: calc(28 * var(--kcm-pt)); } .kcm-r-16x9 { width: calc(34 * var(--kcm-pt)); height: calc(19 * var(--kcm-pt)); }
.kcm-r-orig { width: calc(30 * var(--kcm-pt)); height: calc(26 * var(--kcm-pt)); border-style: dashed; }
.kcm-r-orig .kcm-i { width: calc(16 * var(--kcm-pt)); height: calc(16 * var(--kcm-pt)); }
.kcm-size.is-on { color: var(--kcm-text); font-weight: 600; }
.kcm-size.is-on .kcm-size__box { background: var(--kcm-selected-bg); box-shadow: inset 0 0 0 calc(1.5 * var(--kcm-pt)) var(--kcm-accent); }
.kcm-size.is-on .kcm-size__frame { color: var(--kcm-accent); }

/* ══ 品牌符號循環動畫（共用正本 shared/design/brand.mjs，設計系統定案值） ══ */
/* 符號循環動畫：只用 transform（位移、旋轉）與 opacity；0% 一律是完整符號 */
svg.anim g { transform-box: view-box; transform-origin: 24px 24px; animation-timing-function: cubic-bezier(.45,0,.2,1); animation-iteration-count: infinite; animation-fill-mode: both; }
svg.anim.paused g { animation-play-state: paused; }
svg.anim[data-k="moment"] .a1 { animation-name: sy-moment-tl; animation-duration: 5s; }
svg.anim[data-k="moment"] .a2 { animation-name: sy-moment-br; animation-duration: 5s; }
svg.anim[data-k="moment"] .a3 { animation-name: sy-moment-dot; animation-duration: 5s; }
@keyframes sy-moment-tl { 0%, 52%, 72%, 100% { transform: translate(0, 0); } 60% { transform: translate(2px, 2px); } }
@keyframes sy-moment-br { 0%, 52%, 72%, 100% { transform: translate(0, 0); } 60% { transform: translate(-2px, -2px); } }
@keyframes sy-moment-dot { 0%, 58%, 70%, 100% { opacity: 1; } 62% { opacity: 0.2; } }
svg.anim[data-k="light"] .a1 { animation-name: sy-light; animation-duration: 6s; }
@keyframes sy-light { 0%, 55% { transform: rotate(0deg); } 78%, 100% { transform: rotate(60deg); } }
svg.anim[data-k="day"] .a1 { animation-name: sy-day; animation-duration: 8s; transform-origin: 24px 35px; animation-timing-function: linear; }
@keyframes sy-day { 0%, 30% { transform: rotate(0deg); opacity: 1; animation-timing-function: cubic-bezier(.5,0,.8,.4); } 42% { transform: rotate(14deg); opacity: 0; } 46% { transform: rotate(-112deg); opacity: 0; animation-timing-function: cubic-bezier(.2,.6,.3,1); } 52% { opacity: 1; } 88%, 100% { transform: rotate(0deg); opacity: 1; } }
svg.anim[data-k="focus"] .a1 { animation-name: sy-focus-t; animation-duration: 5.5s; }
svg.anim[data-k="focus"] .a2 { animation-name: sy-focus-b; animation-duration: 5.5s; }
svg.anim[data-k="focus"] .a3 { animation-name: sy-focus-l; animation-duration: 5.5s; }
svg.anim[data-k="focus"] .a4 { animation-name: sy-focus-r; animation-duration: 5.5s; }
@keyframes sy-focus-t { 0%, 50%, 76%, 100% { transform: translate(0, 0); } 58% { transform: translate(0, 2.5px); } 64% { transform: translate(0, 0.5px); } 69% { transform: translate(0, 1.5px); } }
@keyframes sy-focus-b { 0%, 50%, 76%, 100% { transform: translate(0, 0); } 58% { transform: translate(0, -2.5px); } 64% { transform: translate(0, -0.5px); } 69% { transform: translate(0, -1.5px); } }
@keyframes sy-focus-l { 0%, 50%, 76%, 100% { transform: translate(0, 0); } 58% { transform: translate(2.5px, 0); } 64% { transform: translate(0.5px, 0); } 69% { transform: translate(1.5px, 0); } }
@keyframes sy-focus-r { 0%, 50%, 76%, 100% { transform: translate(0, 0); } 58% { transform: translate(-2.5px, 0); } 64% { transform: translate(-0.5px, 0); } 69% { transform: translate(-1.5px, 0); } }
svg.anim[data-k="tune"] .a1 { animation-name: sy-tune; animation-duration: 7s; }
@keyframes sy-tune { 0%, 30% { transform: translate(0, 0); } 44%, 62% { transform: translate(-12.5px, 0); } 78%, 100% { transform: translate(0, 0); } }
svg.anim[data-k="ray"] .a1, svg.anim[data-k="ray"] .a2, svg.anim[data-k="ray"] .a3 { animation-name: sy-ray; animation-duration: 6s; }
svg.anim[data-k="ray"] .a2 { animation-delay: 0.18s; }
svg.anim[data-k="ray"] .a3 { animation-delay: 0.36s; }
@keyframes sy-ray { 0%, 40% { transform: translate(0, 0); opacity: 1; } 54% { transform: translate(-3px, 3px); opacity: 0; } 56% { transform: translate(0, 0); opacity: 0; } 72%, 100% { transform: translate(0, 0); opacity: 1; } }
svg.anim[data-k="keep"] .a1 { animation-name: sy-keep-tl; animation-duration: 5s; }
svg.anim[data-k="keep"] .a2 { animation-name: sy-keep-br; animation-duration: 5s; }
@keyframes sy-keep-tl { 0%, 50%, 80%, 100% { transform: translate(0, 0); } 63% { transform: translate(-1.5px, -1.5px); } }
@keyframes sy-keep-br { 0%, 50%, 80%, 100% { transform: translate(0, 0); } 63% { transform: translate(1.5px, 1.5px); } }
svg.anim[data-k="share"] .a1 { animation-name: sy-share; animation-duration: 7s; }
@keyframes sy-share { 0%, 38% { opacity: 1; } 46%, 54% { opacity: 0; } 54% { animation-timing-function: cubic-bezier(.3,0,.7,1); } 88%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { svg.anim g { animation: none; } }
/* 三步：目前這一步的符號用小尺寸版（由定案動畫換算） */
@keyframes sy-moment-tl-icon { 0%, 52%, 72%, 100% { transform: translate(0px, 0px); } 60% { transform: translate(5px, 5px); } }
@keyframes sy-moment-br-icon { 0%, 52%, 72%, 100% { transform: translate(0px, 0px); } 60% { transform: translate(-5px, -5px); } }
@keyframes sy-moment-dot-icon { 0%, 58%, 70%, 100% { opacity: 1; } 62% { opacity: 0.2; } }
@keyframes sy-light-icon { 0%, 55% { transform: rotate(0deg); } 78%, 100% { transform: rotate(60deg); } }
@keyframes sy-day-icon { 0%, 30% { transform: rotate(0deg); opacity: 1; animation-timing-function: cubic-bezier(.5,0,.8,.4); } 42% { transform: rotate(14deg); opacity: 0; } 46% { transform: rotate(-112deg); opacity: 0; animation-timing-function: cubic-bezier(.2,.6,.3,1); } 52% { opacity: 1; } 88%, 100% { transform: rotate(0deg); opacity: 1; } }
@keyframes sy-focus-t-icon { 0%, 50%, 76%, 100% { transform: translate(0px, 0px); } 58% { transform: translate(0px, 6.25px); } 64% { transform: translate(0px, 1.25px); } 69% { transform: translate(0px, 3.75px); } }
@keyframes sy-focus-b-icon { 0%, 50%, 76%, 100% { transform: translate(0px, 0px); } 58% { transform: translate(0px, -6.25px); } 64% { transform: translate(0px, -1.25px); } 69% { transform: translate(0px, -3.75px); } }
@keyframes sy-focus-l-icon { 0%, 50%, 76%, 100% { transform: translate(0px, 0px); } 58% { transform: translate(6.25px, 0px); } 64% { transform: translate(1.25px, 0px); } 69% { transform: translate(3.75px, 0px); } }
@keyframes sy-focus-r-icon { 0%, 50%, 76%, 100% { transform: translate(0px, 0px); } 58% { transform: translate(-6.25px, 0px); } 64% { transform: translate(-1.25px, 0px); } 69% { transform: translate(-3.75px, 0px); } }
@keyframes sy-tune-icon { 0%, 30% { transform: translate(0px, 0px); } 44%, 62% { transform: translate(-12.5px, 0px); } 78%, 100% { transform: translate(0px, 0px); } }
@keyframes sy-ray-icon { 0%, 40% { transform: translate(0px, 0px); opacity: 1; } 54% { transform: translate(-7.5px, 7.5px); opacity: 0; } 56% { transform: translate(0px, 0px); opacity: 0; } 72%, 100% { transform: translate(0px, 0px); opacity: 1; } }
@keyframes sy-keep-tl-icon { 0%, 50%, 80%, 100% { transform: translate(0px, 0px); } 63% { transform: translate(-3.75px, -3.75px); } }
@keyframes sy-keep-br-icon { 0%, 50%, 80%, 100% { transform: translate(0px, 0px); } 63% { transform: translate(3.75px, 3.75px); } }
@keyframes sy-share-icon { 0%, 38% { opacity: 1; } 46%, 54% { opacity: 0; } 54% { animation-timing-function: cubic-bezier(.3,0,.7,1); } 88%, 100% { opacity: 1; } }
.flow__step.is-active .flow__sym svg.anim[data-k="moment"] .a1 { animation-name: sy-moment-tl-icon; animation-duration: 3s; animation-delay: -1.31s; }
.flow__step.is-active .flow__sym svg.anim[data-k="moment"] .a2 { animation-name: sy-moment-br-icon; animation-duration: 3s; animation-delay: -1.31s; }
.flow__step.is-active .flow__sym svg.anim[data-k="moment"] .a3 { animation-name: sy-moment-dot-icon; animation-duration: 3s; animation-delay: -1.49s; }
.flow__step.is-active .flow__sym svg.anim[data-k="light"] .a1 { animation-name: sy-light-icon; animation-duration: 3.6s; animation-delay: -1.73s; }
.flow__step.is-active .flow__sym svg.anim[data-k="day"] .a1 { animation-name: sy-day-icon; animation-duration: 4.8s; animation-delay: -1.19s; }
.flow__step.is-active .flow__sym svg.anim[data-k="focus"] .a1 { animation-name: sy-focus-t-icon; animation-duration: 3.3s; animation-delay: -1.4s; }
.flow__step.is-active .flow__sym svg.anim[data-k="focus"] .a2 { animation-name: sy-focus-b-icon; animation-duration: 3.3s; animation-delay: -1.4s; }
.flow__step.is-active .flow__sym svg.anim[data-k="focus"] .a3 { animation-name: sy-focus-l-icon; animation-duration: 3.3s; animation-delay: -1.4s; }
.flow__step.is-active .flow__sym svg.anim[data-k="focus"] .a4 { animation-name: sy-focus-r-icon; animation-duration: 3.3s; animation-delay: -1.4s; }
.flow__step.is-active .flow__sym svg.anim[data-k="tune"] .a1 { animation-name: sy-tune-icon; animation-duration: 4.2s; animation-delay: -1.01s; }
.flow__step.is-active .flow__sym svg.anim[data-k="ray"] .a1 { animation-name: sy-ray-icon; animation-duration: 3.6s; animation-delay: -1.19s; }
.flow__step.is-active .flow__sym svg.anim[data-k="ray"] .a2 { animation-name: sy-ray-icon; animation-duration: 3.6s; animation-delay: -1.082s; }
.flow__step.is-active .flow__sym svg.anim[data-k="ray"] .a3 { animation-name: sy-ray-icon; animation-duration: 3.6s; animation-delay: -0.974s; }
.flow__step.is-active .flow__sym svg.anim[data-k="keep"] .a1 { animation-name: sy-keep-tl-icon; animation-duration: 3s; animation-delay: -1.25s; }
.flow__step.is-active .flow__sym svg.anim[data-k="keep"] .a2 { animation-name: sy-keep-br-icon; animation-duration: 3s; animation-delay: -1.25s; }
.flow__step.is-active .flow__sym svg.anim[data-k="share"] .a1 { animation-name: sy-share-icon; animation-duration: 4.2s; animation-delay: -1.346s; }
