/* Devinert Pro 官網（devinert-pro.com）。版型照 2026-10-11 提案：白底、置中的細襯線大標、大照片；單一淺色外觀。
   CSP 不准行內 style 屬性：位置、比例一律寫成 class；拖拉的 --x 用 CSSOM 設。 */
:root {
  --paper: #FFFFFF;
  --ink: #16181B;
  --ink-2: #4A5058;
  --muted: #6B7178;
  --line: #E4E6EA;
  --line-2: #CDD1D6;
  --mist: #F6F6F4;
  --film: #C2602A;
  --film-2: #E7B08C;
  --film-3: #F3D9C6;
  --focus: #2F5D86;
  --pencil: #D2302C;
  --dark: #141A21;
  /* 字型（Brian 2026-10-11 定案）：中文昭源宋體 Light、英文 Cormorant Garamond；簡中用思源宋體 SC */
  --cjk-tc: "Chiron Sung HK";
  --cjk-sc: "Noto Serif SC";
  --lat: "Cormorant Garamond";
  --dw: 300;
  --lat-w: 400;
  --sans-tc: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --sans-sc: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --sans-en: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --hand: "LXGW WenKai TC", "Kaiti TC", "STKaiti", "Kaiti SC", cursive;
  --hand-en: "Caveat", "Bradley Hand", cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
body { --display: var(--lat), var(--cjk-tc), "Songti TC", serif; --sans: var(--sans-tc); }
:lang(zh-Hans) { --display: var(--lat), var(--cjk-sc), "Songti SC", serif; --sans: var(--sans-sc); }
:lang(en) { --display: var(--lat), Georgia, serif; --sans: var(--sans-en); --hand: var(--hand-en); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
h1, h2, h3, .disp { margin: 0; text-wrap: balance; font-family: var(--display); font-weight: var(--dw); letter-spacing: .02em; font-variant-numeric: lining-nums; }
:lang(en) :is(h1, h2, h3, .disp) { font-weight: var(--lat-w); letter-spacing: -.005em; }
:is(h1, h2, h3):lang(zh) { font-feature-settings: "halt"; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; text-decoration: none; font-size: 13px; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }

/* ── 導覽列 ── */
.snav { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; padding: 18px 28px; padding-top: calc(18px + env(safe-area-inset-top, 0px)); gap: 16px; position: relative; max-width: 1240px; margin: 0 auto; }
.snav-l, .snav-r { display: flex; align-items: center; gap: 22px; font-size: 13px; color: var(--ink-2); min-width: 0; }
.snav-r { justify-content: flex-end; gap: 18px; }
.snav a { text-decoration: none; white-space: nowrap; }
.snav a:not(.btn):hover, .snav a:not(.btn)[aria-current="page"] { color: var(--ink); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.wordmark { font-family: var(--lat), Georgia, serif; font-weight: var(--lat-w); font-size: 19.5px; letter-spacing: .01em; white-space: nowrap; }
.menu-btn { display: none; width: 44px; height: 44px; margin-left: -10px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.langsw { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; background: transparent; border-radius: 999px; padding: 6px 9px; font-size: 13px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--line); color: var(--ink); }
.lang-btn svg { flex: none; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; min-width: 150px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(22, 24, 27, .14); padding: 5px; display: grid; }
.lang-menu a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--ink); }
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--mist); }
.lang-menu a[aria-checked="true"]::after { content: ""; width: 10px; height: 6px; border-left: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(-45deg) translateY(-2px); }
.msheet { padding: 0 16px 10px; }
.msheet a { display: block; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.msheet .mlang { padding: 12px 0 4px; border-top: 1px solid var(--line); }
@media (min-width: 761px) { .msheet { display: none !important; } }
.seg { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.seg a { display: block; border: 0; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background .12s, color .12s; border-top: 0; }
.seg a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s, transform .12s; }
.btn-ink { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); padding: 8px 17px; font-size: 13px; font-weight: 500; }
.btn-ink:hover { background: #000; }
.btn-ink:active { transform: scale(.98); }
.btn-line { background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); padding: 8px 17px; font-size: 13px; font-weight: 500; }
.btn-line:hover { border-color: var(--ink); }
.btn.lg { padding: 13px 26px; font-size: 15px; }
.btn[aria-disabled="true"] { background: var(--mist); border-color: var(--line); color: var(--muted); cursor: default; transform: none; }

/* ── 開場 ── */
.hero { text-align: center; padding: 46px 24px 30px; }
.hero h1 { font-size: clamp(36px, 5.8vw, 70px); line-height: 1.2; }
.hero h1 span { display: block; }
:lang(en) .hero h1 { font-size: clamp(38px, 6vw, 74px); line-height: 1.08; }
.lede { max-width: 33em; margin: 22px auto 0; color: var(--ink-2); font-size: 15.5px; }
:lang(en) .lede { max-width: 38em; }
.lede:lang(zh) { word-break: keep-all; overflow-wrap: anywhere; }
.meta { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.meta svg { color: var(--film); }
.cta { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 24px; flex-wrap: wrap; }
.req { margin-top: 12px; font-size: 12px; color: var(--muted); }
.hero-photo { padding: 8px 24px 26px; }
/* 開場照片只留齒孔與畫面（片子兩側的邊裁掉，2026-10-12） */
.frame { position: relative; width: min(390px, 100%); margin: 0 auto; aspect-ratio: 972 / 1600; border-radius: 3px; box-shadow: 0 2px 6px rgba(0, 0, 0, .08), 0 28px 60px rgba(20, 24, 40, .22); }
.frame .cmp { position: absolute; inset: 0; border-radius: 3px; }
.hint { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 12.5px; color: var(--muted); margin: 16px 0 0; }

/* 分割：照 app 的「分割」檢視（白色中線、圓形把手、左右上角標籤；拖中線、雙擊回到中間） */
.cmp { position: relative; overflow: hidden; background: #1B1D22; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; --x: 50%; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.cmp .cmp-pos { clip-path: inset(0 0 0 var(--x)); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 44px; margin-left: -22px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; cursor: ew-resize; touch-action: pan-y; }
.cmp-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #FFFFFF; box-shadow: 0 0 3px rgba(0, 0, 0, .6); }
.knob { position: relative; width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; color: #1D2026; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); transition: transform .12s var(--ease); }
.cmp.dragging .knob { transform: scale(1.12); }
.knob svg { width: 13px; height: 8px; }
.cmp-line:focus-visible { outline: none; }
.cmp-line:focus-visible .knob { outline: 2px solid var(--focus); outline-offset: 2px; }
.cmp-label { position: absolute; top: 8px; white-space: nowrap; font-size: 11px; line-height: 1.5; color: #FFFFFF; background: rgba(0, 0, 0, .6); padding: 2px 6px; border-radius: 4px; pointer-events: none; transition: opacity .16s; }
.cmp-label.l { left: 8px; } .cmp-label.r { right: 8px; }
.cmp.at-start .cmp-label.l, .cmp.at-end .cmp-label.r { opacity: 0; }

/* ── 區塊共用 ── */
.block { padding: 64px 28px; }
.block-head { max-width: 1000px; margin: 0 auto; }
.block-head.center { text-align: center; }
.block-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.22; }
.block-sub { margin: 10px 0 0; font-size: 14px; color: var(--muted); max-width: 46em; }
.block-head.center .block-sub { margin-inline: auto; }
.rule { height: 1px; background: var(--line); max-width: 1000px; margin: 0 auto; }
.tint { background: var(--mist); }
.tint .plan { background: var(--paper); }
#steps, #sheet, #work, #pricing, #time, #faq { scroll-margin-top: 16px; }

/* ── 5 分鐘 ── */
/* 宣傳片：點了才載（preload=metadata），海報圖先撐住版面 */
.promo { padding-top: 20px; }
.promo-wrap { width: min(1000px, 100%); margin: 26px auto 0; }
.promo-wrap video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #111; border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .08), 0 28px 60px rgba(20, 24, 40, .22); }
.promo-wrap figcaption { margin-top: 12px; text-align: center; white-space: normal; }
.time { background: var(--mist); }
.time-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 56px; align-items: center; }
.big { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); font-weight: var(--dw); line-height: .8; }
:lang(en) .big { font-weight: var(--lat-w); }
.big b { font: inherit; font-family: var(--lat), Georgia, serif; font-size: clamp(130px, 17vw, 210px); font-variant-numeric: lining-nums; letter-spacing: -.04em; }
.big span { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .06em; }
.eyebrow { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; color: var(--film); text-transform: uppercase; }
.eyebrow:lang(zh) { font-family: var(--sans); letter-spacing: .06em; }
.time-txt h2 { margin-top: 12px; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.25; }
.time-txt p { margin: 14px 0 0; color: var(--ink-2); font-size: 15px; max-width: 40em; }
.time-txt p:lang(zh) { word-break: keep-all; overflow-wrap: anywhere; }
.tl { max-width: 1000px; margin: 42px auto 0; }
.tl-scale { position: relative; height: 18px; font: 11px/1 var(--mono); color: var(--muted); }
.tl-scale span { position: absolute; top: 0; transform: translateX(-50%); }
.tl-scale span:first-child { transform: none; }
.tl-scale span:last-child { transform: translateX(-100%); }
.tl-ticks { position: relative; height: 6px; }
.tl-ticks i { position: absolute; top: 0; width: 1px; height: 6px; background: #C9CDD2; }
/* 刻度位置（0:00–5:00 每分鐘一格） */
.at0 { left: 0; } .at1 { left: 20%; } .at2 { left: 40%; } .at3 { left: 60%; } .at4 { left: 80%; } .at5 { left: 100%; }
.tl-ticks i.at5 { left: calc(100% - 1px); }
/* 三段比例：3:10、0:50、1:00（秒數 190：50：60） */
.tl-bar { display: flex; height: 14px; border-radius: 3px; overflow: hidden; gap: 2px; }
.tl-bar i { display: block; height: 100%; }
.tl-bar i:nth-child(1) { background: var(--film); flex: 190; }
.tl-bar i:nth-child(2) { background: var(--film-2); flex: 50; }
.tl-bar i:nth-child(3) { background: var(--film-3); flex: 60; }
.tl-legend { display: grid; grid-template-columns: 190fr 50fr 60fr; gap: 2px; margin-top: 10px; }
.tl-legend > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; color: var(--ink-2); }
.tl-legend b { font-weight: 500; color: var(--ink); }
.tl-legend .mono { font-size: 12px; color: var(--muted); }
.tl-legend .mono:lang(zh) { font-family: var(--sans); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.tl-foot { margin: 16px 0 0; font-size: 12px; color: var(--muted); }

/* ── 五個步驟：分頁＋一個 Mac 視窗 ── */
.tabs { position: relative; max-width: 1000px; margin: 28px auto 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; display: flex; align-items: baseline; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 16px; font-size: 14px; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background .12s, color .12s, border-color .12s; }
.tab kbd { font: 500 11px/1 var(--mono); color: var(--muted); }
.tab:hover { border-color: #C9CDD2; color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tab[aria-selected="true"] kbd { color: rgba(255, 255, 255, .7); }
.window { position: relative; max-width: 1000px; margin: 18px auto 0; border-radius: 12px; overflow: hidden; background: var(--dark); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 2px 6px rgba(0, 0, 0, .1), 0 30px 70px rgba(20, 26, 33, .24); container-type: inline-size; }
.window img { width: 100%; aspect-ratio: 16 / 10; }
/* 拍攝頁截圖補上前的替身：翻拍下來的負片放在視窗中間，像 Live View */
.standin { position: relative; aspect-ratio: 16 / 10; }
.window .standin img { position: absolute; top: 8%; left: 50%; height: 86%; width: auto; aspect-ratio: 3 / 4; transform: translateX(-50%); border-radius: 2px; }
/* 紅綠燈照 app：頂列 50pt、左上 x16 y19、直徑 12、間隔 8（以 1440 寬換成 cqw） */
.lights { position: absolute; left: 1.111cqw; top: 1.319cqw; display: flex; gap: .556cqw; z-index: 1; pointer-events: none; }
.lights i { width: .833cqw; height: .833cqw; border-radius: 50%; background: #FF5F57; }
.lights i:nth-child(2) { background: #FEBC2E; } .lights i:nth-child(3) { background: #28C840; }
.cap-row { max-width: 1000px; margin: 18px auto 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.cap-row > div:first-child { min-width: 0; }
.cap-row h3 { font-size: 22px; line-height: 1.3; }
:lang(en) .cap-row h3 { font-size: 24px; }
.cap-row p { margin: 6px 0 0; color: var(--ink-2); font-size: 14.5px; max-width: 44em; }
.arrows { display: flex; gap: 8px; flex: none; }
.arrows button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.arrows button:hover { border-color: var(--ink); }

/* ── 印樣 ── */
.sheet-wrap { max-width: 1000px; margin: 34px auto 0; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.contact { position: relative; width: min(720px, 100%); margin: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 24px 54px rgba(40, 30, 20, .16); }
.contact img { width: 100%; }
.contact svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.gp { fill: none; stroke: var(--pencil); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; opacity: .92; }
.gp.dash { stroke-dasharray: 26 22; stroke-width: 7; }
.gp-t { fill: var(--pencil); font-family: var(--hand); font-size: 76px; opacity: .95; paint-order: stroke; stroke: rgba(246, 242, 234, .7); stroke-width: 10px; stroke-linejoin: round; }
:lang(en) .gp-t { font-size: 84px; font-weight: 600; }
.gp-n { display: none; }
.gp-n circle { fill: var(--pencil); }
.gp-n text { fill: #FFFFFF; font: 600 92px/1 var(--mono); text-anchor: middle; dominant-baseline: central; }
.sheet-list { display: none; }

/* ── 負片與照片 ── */
.gallery { list-style: none; padding: 0; margin: 30px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; max-width: 1000px; }
.gallery .wide { grid-column: 1 / -1; }
.gallery .cmp { aspect-ratio: 1600 / 1069; border-radius: 4px; }
.gallery .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 10px; }
.cap-t { font-family: var(--display); font-weight: var(--dw); font-size: 17px; color: var(--ink); font-variant-numeric: lining-nums; }
:lang(en) .cap-t { font-weight: var(--lat-w); font-size: 19px; }
.cap-m { font: 11px/1.4 var(--mono); letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
.cap-m:lang(zh) { letter-spacing: .03em; }

/* ── 為工作量設計 ── */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; max-width: 1000px; margin: 34px auto 0; }
.three > div { border-top: 1px solid var(--ink); padding-top: 18px; }
.three h3 { font-size: 22px; line-height: 1.3; }
:lang(en) .three h3 { font-size: 24px; }
.three p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }

/* ── 價格 ── */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 760px; margin: 30px auto 0; }
.plan { border: 1px solid var(--line); border-radius: 14px; padding: 26px 26px 24px; display: flex; flex-direction: column; min-width: 0; }
.plan.buy { border-color: var(--ink); }
.btn.is-off, .btn.is-off:hover { background: transparent; color: var(--ink); border-color: var(--line); cursor: default; transform: none; }
.plan-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.plan-note a { color: inherit; }
.plan-name { font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.plan-name:lang(zh) { font-family: var(--sans); letter-spacing: .04em; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.price b { font-family: var(--display); font-weight: var(--dw); font-size: 42px; line-height: 1; font-variant-numeric: lining-nums; }
.price span { font-size: 13px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 22px; display: grid; gap: 9px; font-size: 14px; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; align-items: baseline; }
.plan li::before { content: ""; flex: none; width: 12px; height: 7px; border-left: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(-45deg) translateY(-3px); }
.plan li.lim { color: var(--muted); }
.plan li.lim::before { height: 0; border-left: 0; border-bottom-color: var(--muted); transform: translateY(-4px); }
.plan .btn { margin-top: auto; align-self: flex-start; }
/* 繁中：試用版、簡約版、高階版三張（2026-11-06）；寬度不夠三欄時改成一欄 */
.plans.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; }
.plan-pitch { margin: 16px 0 0; font-size: 14px; color: var(--ink-2); }
.dl-err { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); }
.plans-up { text-align: center; margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.plans-up a { color: var(--ink-2); text-underline-offset: 3px; }
@media (max-width: 980px) { .plans.n3 { grid-template-columns: minmax(0, 1fr); max-width: 480px; } }

/* ── 常見問題 ── */
.faq { max-width: 760px; margin: 26px auto 0; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 2px; cursor: pointer; font-size: 15.5px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 12px; height: 12px; transition: transform .16s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; background: var(--ink); left: 0; top: 5.25px; width: 12px; height: 1.5px; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 2px 18px; color: var(--ink-2); font-size: 14.5px; max-width: 62ch; }
.faq p:lang(zh) { word-break: keep-all; overflow-wrap: anywhere; }

/* ── 頁尾 ── */
.sfoot { border-top: 1px solid var(--line); }
.sfoot-in { max-width: 1240px; margin: 0 auto; padding: 34px 28px 26px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 24px; align-items: start; }
.sfoot p { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.flinks { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 8px 28px; font-size: 13px; color: var(--ink-2); }
.flinks a { text-decoration: none; }
.flinks a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.flang { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--muted); }
.fcopy { grid-column: 1 / -1; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; }

/* ── 下載頁 ── */
.dl { text-align: center; padding: 50px 24px 10px; }
.dl .appicon { width: 92px; height: 92px; margin: 0 auto; filter: drop-shadow(0 10px 18px rgba(20, 30, 40, .18)); }
.dl h1 { margin-top: 22px; font-size: clamp(32px, 5vw, 52px); line-height: 1.15; }
.dl h1 .wordmark { font-size: 1em; }
.dl-meta { margin-top: 14px; font: 12.5px/1.6 var(--mono); color: var(--ink-2); letter-spacing: .02em; }
.dl-meta:lang(zh) { font-family: var(--sans); font-variant-numeric: tabular-nums; }
.dl-meta span + span::before { content: "·"; margin: 0 9px; color: var(--muted); }
.dl .btn.lg { margin-top: 24px; }
.dl-trial { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.dl-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; max-width: 880px; margin: 44px auto 0; padding: 34px 28px 64px; border-top: 1px solid var(--line); text-align: left; }
.dl-cols h3 { font-size: 21px; }
.dl-cols ul, .dl-cols ol { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; font-size: 14.5px; color: var(--ink-2); }
.dl-cols li:lang(zh) { word-break: keep-all; overflow-wrap: anywhere; }
.dl-cols ul li { display: flex; gap: 10px; align-items: baseline; }
.dl-cols ul li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--film); transform: translateY(-2px); }
.dl-cols ol { counter-reset: s; }
.dl-cols ol li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; align-items: start; }
.dl-cols ol li::before { content: counter(s); font: 500 11.5px/1 var(--mono); color: var(--ink-2); border: 1px solid var(--line-2); width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; margin-top: calc((14.5px * 1.65 - 19px) / 2); }
.more { display: inline-block; margin-top: 16px; font-size: 13.5px; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 1px; }
.more:hover { border-color: var(--ink); }

/* ── 更新紀錄頁 ── */
.rel-head { text-align: center; padding: 50px 24px 8px; }
.rel-head h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.15; }
.rel-head p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.rel { max-width: 920px; margin: 30px auto 0; padding: 0 28px 54px; }
.entry { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 36px; padding: 34px 0; border-top: 1px solid var(--line); }
.ver { font-family: var(--lat), Georgia, serif; font-weight: var(--lat-w); font-size: 43px; line-height: 1; font-variant-numeric: lining-nums; }
.ver-date { margin-top: 10px; font: 12px/1.5 var(--mono); color: var(--muted); }
.ver-date:lang(zh) { font-family: var(--sans); }
.latest { display: inline-block; margin-top: 12px; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; color: var(--film); border: 1px solid var(--film-2); padding: 4px 7px; border-radius: 4px; text-transform: uppercase; }
.latest:lang(zh) { font-family: var(--sans); font-size: 11px; letter-spacing: .04em; }
.entry h3 { font-size: 25px; line-height: 1.3; }
.entry .intro-p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; max-width: 58ch; }
/* 開發者的悄悄話：更新紀錄最後一個很小的底片 icon，平常只有 icon；點開才有話 */
.whisper { margin: 28px 0 8px; }
.whisper summary { list-style: none; display: inline-flex; padding: 6px; margin-left: -6px; border-radius: 6px; color: var(--ink-2); opacity: .55; cursor: pointer; transition: opacity .15s, color .15s; }
.whisper summary::-webkit-details-marker { display: none; }
.whisper summary:hover, .whisper[open] summary { opacity: 1; color: var(--ink); }
.whisper summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.whisper-body { margin-top: 10px; padding: 16px 18px; border-left: 2px solid var(--line); color: var(--ink-2); font-size: 15px; line-height: 1.75; max-width: 58ch; animation: whisper-in .25s ease-out; }
.whisper-body p { margin: 8px 0 0; }
@keyframes whisper-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .whisper-body { animation: none; } }
.grp { margin-top: 20px; }
.grp-l { font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--film); text-transform: uppercase; }
.grp-l:lang(zh) { font-family: var(--sans); letter-spacing: .04em; font-size: 12px; }
.grp ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.grp li::marker { color: var(--muted); }
/* 隱私權政策：一欄長文，行寬約 65 字 */
.doc { max-width: 680px; margin: 30px auto 0; padding: 0 28px 64px; color: var(--ink-2); font-size: 15px; }
.doc-intro { margin: 0 0 8px; color: var(--ink); font-size: 16px; }
.doc section { padding: 26px 0 0; margin-top: 26px; border-top: 1px solid var(--line); }
.doc h2 { font-size: 22px; line-height: 1.3; color: var(--ink); }
.doc p { margin: 10px 0 0; }
.doc ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 8px; }
.doc li::marker { color: var(--muted); }
.doc a { color: var(--ink); text-underline-offset: 3px; }

/* ── 404 ── */
.nf { text-align: center; padding: 90px 24px 120px; }
.nf h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.2; }
.nf p { margin: 14px 0 0; color: var(--muted); }
.nf .cta { margin-top: 28px; }

/* ── 窄螢幕 ── */
@media (max-width: 980px) {
  .time-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 760px) {
  .snav { padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
  .snav-l > a, .snav-r > a:not(.btn), .snav-r .langsw { display: none; }
  .snav .btn-ink { padding: 7px 13px; font-size: 12.5px; }
  .menu-btn { display: grid; place-items: center; }
  .hero { padding: 30px 18px 22px; }
  .hero h1 { font-size: 8.2vw; }
  :lang(en) .hero h1 { font-size: 10vw; }
  .hero-photo { padding: 4px 16px 22px; }
  .frame { width: min(300px, 100%); }
  .block { padding: 48px 16px; }
  .tab { flex: 0 0 auto; padding: 8px 13px; font-size: 13.5px; }
  .cap-row { flex-direction: column; gap: 12px; }
  .gp-t, .gp-a { display: none; }
  .gp-n { display: inline; }
  .sheet-list { display: grid; list-style: none; padding: 0; margin: 18px 0 0; gap: 8px; width: 100%; counter-reset: g; }
  .sheet-list li { counter-increment: g; display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: baseline; font-family: var(--hand); font-size: 17px; color: var(--ink); }
  .sheet-list li::before { content: counter(g); width: 20px; height: 20px; border-radius: 50%; background: var(--pencil); color: #FFFFFF; font: 600 11px/20px var(--mono); text-align: center; transform: translateY(-1px); }
  .gallery { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .three { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .sfoot-in { grid-template-columns: minmax(0, 1fr); padding: 30px 16px 22px; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
  .dl-cols { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 30px 16px 48px; }
  .rel { padding: 0 16px 44px; }
  .doc { padding: 0 16px 48px; }
  .entry { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tl-legend { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tl-legend > div { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; padding-left: 18px; position: relative; }
  .tl-legend > div::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 2px; background: var(--film); }
  .tl-legend > div:nth-child(2)::before { background: var(--film-2); }
  .tl-legend > div:nth-child(3)::before { background: var(--film-3); }
  .tl-scale span:not(:first-child):not(:last-child) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; scroll-behavior: auto !important; }
}
