/* 悄悄看官網｜溫潤奶油 × 精品 iOS 質感設計系統 */
:root {
  --bg: #FFFFFF;
  --bg-warm: #FAF9F6;
  --bg2: #F2FAF7;
  --card: #FFFFFF;
  --card2: #F8FCFA;
  --ink: #122023;
  --text: #18272A;
  --sub: #536368;
  --dim: #7E8E93;
  --accent: #0A7D6B;
  --accent2: #0A7D6B;
  --accent-soft: #E6F7F3;
  --mint: #2DD4B8;
  --mint2: #12B89D;
  --pink: #F7A8B0;
  --yellow: #FDE578;
  --cream: #FFF8F3;
  --line: rgba(18, 32, 35, .085);
  --line-strong: rgba(18, 32, 35, .14);
  --line2: rgba(10, 125, 107, .24);
  --grad: linear-gradient(110deg, #096E5E 0%, #0E927E 52%, #197DB3 100%);
  --grad2: linear-gradient(110deg, #D95E78 0%, #0E927E 55%, #197DB3 100%);
  --glass: linear-gradient(145deg, #EDFBF7 0%, #F7FDFB 100%);
  --btn: linear-gradient(180deg, #1E3338 0%, #111E21 100%);
  --btnText: #FFFFFF;
  --btn-accent: linear-gradient(180deg, #13A18A 0%, #0A816E 100%);
  --shadow-xs: 0 1px 2px rgba(14, 28, 30, .04);
  --shadow-sm: 0 1px 2px rgba(14, 28, 30, .04), 0 6px 18px -4px rgba(14, 34, 32, .06);
  --shadow: 0 1px 2px rgba(14, 28, 30, .04), 0 14px 36px -10px rgba(14, 38, 36, .08);
  --shadow-lg: 0 4px 12px rgba(14, 28, 30, .06), 0 28px 64px -16px rgba(12, 34, 32, .18);
  --r: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang TC", "Noto Sans TC", sans-serif;
  letter-spacing: .005em;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
a { color: var(--accent); text-underline-offset: 3px; }
img, video { max-width: 100%; height: auto; }
button { font-family: inherit; }
.in { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* 漸層文字（克制使用於重點詞彙與內頁標題） */
.grad, .grad-em {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad2 {
  background: var(--grad2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 捲動進場動畫 */
.has-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.has-reveal .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* 頂部導覽列 */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, box-shadow .25s ease;
}
.top.scrolled {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 20px -8px rgba(14, 34, 32, .08);
}
.top .in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -.01em;
}
.brand img {
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(10, 125, 107, .2);
}
.gnav {
  display: flex;
  gap: 4px;
  font-size: 14px;
}
.gnav a {
  color: var(--sub);
  text-decoration: none;
  padding: 6px 13px;
  border-radius: 999px;
  font-weight: 500;
  transition: color .18s ease, background .18s ease;
}
.gnav a:hover {
  color: var(--ink);
  background: rgba(18, 32, 35, .045);
}
.gnav a[aria-current] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btnText);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 4px 12px rgba(14, 28, 30, .18);
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s ease, filter .2s ease;
}
.pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 18px rgba(14, 28, 30, .24);
}

/* 共用章節與字級層次 */
.sec { padding: 108px 0; }
.sec.tight { padding: 72px 0; }
.sec-warm {
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .03em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(10, 125, 107, .14);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.label svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.head {
  text-align: center;
  margin-bottom: 52px;
}
.big {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -.022em;
  color: var(--ink);
  margin: 0;
  text-align: center;
  text-wrap: balance;
}
.lead {
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.68;
  color: var(--sub);
  text-align: center;
  max-width: 680px;
  margin: 16px auto 0;
  text-wrap: balance;
}
.head-more { margin: 16px 0 0; text-align: center; }
.sec-more { margin: 28px 0 0; text-align: center; }
.inline-more { margin-top: 8px; }
.eb { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.hd h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.28; margin: 0; font-weight: 700; color: var(--ink); }
.hd p { margin: 0; max-width: 440px; color: var(--sub); }
.more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: color .18s ease, gap .18s ease;
}
.more::after { content: "↗"; color: var(--accent); transition: transform .18s var(--ease); }
.more:hover { color: var(--accent); }
.more:hover::after { transform: translate(2px, -2px); }

/* 卡片基礎工藝 */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .22s ease;
}
.card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin: 0 0 8px; }
.card p { color: var(--sub); margin: 0; font-size: 15px; line-height: 1.65; }

/* 主下載鈕與次要鈕 */
.dlb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btnText);
  text-decoration: none;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 26px -6px rgba(14, 28, 30, .35);
  transition: transform .22s var(--ease), box-shadow .22s ease, filter .2s ease;
}
.dlb:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 16px 34px -8px rgba(14, 28, 30, .42);
}
.dlb svg { width: 19px; height: 19px; fill: currentColor; }

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: transform .22s var(--ease), border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.ghost-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ghost-btn:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  border-color: var(--line2);
  box-shadow: var(--shadow-sm);
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btnText);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 20px -6px rgba(14, 28, 30, .3);
  transition: transform .2s var(--ease), filter .2s ease;
}
.store:hover { transform: translateY(-1px); filter: brightness(1.08); }
.store svg { width: 19px; height: 19px; fill: currentColor; }
.store small { display: none; }
.store b { font-weight: 600; }
.ver { font-size: 13px; color: var(--dim); margin-top: 16px; }

/* 首屏 Hero */
.hero {
  position: relative;
  padding: 68px 0 96px;
  background:
    radial-gradient(860px 460px at 68% 8%, rgba(213, 248, 238, .78), transparent 68%),
    radial-gradient(560px 380px at 14% 22%, rgba(255, 244, 224, .72), transparent 70%),
    radial-gradient(500px 340px at 88% 42%, rgba(255, 236, 239, .55), transparent 70%),
    linear-gradient(180deg, #FDFDFB 0%, #FFFFFF 42%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(18, 32, 35, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 72% 55% at 50% 18%, #000 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 72% 55% at 50% 18%, #000 10%, transparent 80%);
  pointer-events: none;
}
.hero > .in { position: relative; z-index: 1; }
.hgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto;
  gap: 56px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
  text-align: left;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(10, 125, 107, .18);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint2);
  box-shadow: 0 0 0 3px rgba(18, 184, 157, .2);
}
.hero h1 {
  font-size: clamp(36px, 4.9vw, 56px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.028em;
  color: var(--ink);
  margin: 0;
}
.hgrid .lead {
  margin: 22px 0 30px;
  text-align: left;
  max-width: 560px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* 統一的硬體級 iPhone 外框 */
.hvideo {
  position: relative;
  display: flex;
  justify-content: center;
}
.hvideo::before {
  content: "";
  position: absolute;
  inset: 12% -12% -8%;
  background: radial-gradient(circle, rgba(45, 212, 184, .22) 0%, rgba(253, 229, 120, .14) 55%, transparent 72%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.iphone-frame {
  position: relative;
  z-index: 1;
  width: 292px;
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(155deg, #2B3438 0%, #141A1D 45%, #1F282C 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .2),
    0 2px 6px rgba(12, 24, 26, .14),
    0 30px 68px -14px rgba(12, 38, 36, .28);
}
.iphone-island {
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 20px;
  border-radius: 999px;
  background: #0D1113;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.hvideo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 35px;
  background: #0D1618;
  cursor: pointer;
}
.hero-expand {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(16, 28, 30, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s ease;
}
.hero-expand svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-expand:hover {
  background: rgba(16, 28, 30, .92);
  transform: scale(1.04);
}

/* 截圖展示舞台（輪播） */
.show {
  margin: 76px auto 0;
  max-width: 1120px;
  position: relative;
}
.stage {
  position: relative;
  height: 610px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(620px 360px at 50% 45%, rgba(212, 247, 238, .65), transparent 72%),
    linear-gradient(180deg, #F5FAF8 0%, #FAF8F3 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.stage-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translate3d(var(--drag, 0px), 0, 0);
  transition: transform .42s var(--ease);
}
.stage.is-dragging .stage-track {
  transition: none;
}
.stage .ph {
  position: absolute;
  left: 50%;
  top: 46px;
  width: 296px;
  margin-left: -148px;
  border-radius: 44px 44px 0 0;
  background: linear-gradient(155deg, #2B3438 0%, #141A1D 60%);
  padding: 10px 10px 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .2),
    0 24px 60px -10px rgba(12, 36, 34, .26);
  transform-origin: center top;
  will-change: transform, opacity;
  transition: transform .6s var(--ease), opacity .48s ease, box-shadow .45s ease;
}
.stage .ph.no-anim {
  transition: none !important;
}
.stage .ph .iphone-island {
  top: 18px;
  width: 68px;
  height: 18px;
}
.stage .ph img {
  display: block;
  width: 100%;
  border-radius: 34px 34px 0 0;
  pointer-events: none;
  -webkit-user-drag: none;
}
.stage .ph[data-pos="0"] {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  z-index: 3;
}
.stage .ph[data-pos="-1"] {
  transform: translate3d(-316px, 44px, 0) scale(.84);
  opacity: .64;
  z-index: 2;
  cursor: pointer;
}
.stage .ph[data-pos="1"] {
  transform: translate3d(316px, 44px, 0) scale(.84);
  opacity: .64;
  z-index: 2;
  cursor: pointer;
}
.stage .ph[data-pos="-1"]:hover {
  opacity: .9;
  transform: translate3d(-308px, 34px, 0) scale(.86);
}
.stage .ph[data-pos="1"]:hover {
  opacity: .9;
  transform: translate3d(308px, 34px, 0) scale(.86);
}
.stage .ph[data-pos="-2"] {
  transform: translate3d(-600px, 76px, 0) scale(.72);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.stage .ph[data-pos="2"] {
  transform: translate3d(600px, 76px, 0) scale(.72);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.stage .cap {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(18, 32, 35, .09);
  box-shadow: 0 10px 30px -6px rgba(12, 34, 32, .16);
  max-width: calc(100% - 40px);
  white-space: nowrap;
  transition: opacity .22s ease, transform .28s var(--ease);
}
.stage .cap.is-changing {
  opacity: 0;
  transform: translate(-50%, 6px);
}
.stage .cap b { font-size: 14.5px; color: var(--ink); font-weight: 700; }
.stage .cap b::after { content: "・"; margin: 0 6px; color: var(--dim); font-weight: 400; }
.stage .cap span { color: var(--sub); font-size: 14px; overflow: hidden; text-overflow: ellipsis; }

.nav-a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(18, 32, 35, .1);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease;
}
.nav-a svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-a:hover {
  background: #FFFFFF;
  transform: translateY(-50%) scale(1.06);
  box-shadow: var(--shadow);
}
.nav-a.prev { left: 22px; }
.nav-a.next { right: 22px; }

.thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--sub);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 6px;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.thumbs button .tbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  background: var(--mint);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
}
.thumbs button[aria-selected="true"] .tbar {
  opacity: 1;
  animation: tbar-fill 4.2s linear infinite;
}
.show.is-paused .thumbs button[aria-selected="true"] .tbar {
  animation-play-state: paused;
}
@keyframes tbar-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.thumbs button:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}
.thumbs img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 9px;
  border: 1px solid var(--line);
  opacity: .85;
  transition: opacity .2s ease;
}
.thumbs button[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 6px 16px -4px rgba(18, 32, 35, .28);
}
.thumbs button[aria-selected="true"] img {
  opacity: 1;
  border-color: rgba(255, 255, 255, .25);
}

/* 為什麼選擇悄悄看（貓咪插畫卡） */
.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why-card {
  display: flex;
  flex-direction: column;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line2);
}
.why .art-top {
  height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.tone-butter { background: linear-gradient(180deg, #FFF7DC 0%, #FFFFFF 100%); }
.tone-mint   { background: linear-gradient(180deg, #E5FBF4 0%, #FFFFFF 100%); }
.tone-blush  { background: linear-gradient(180deg, #FFEDF0 0%, #FFFFFF 100%); }
.tone-sky    { background: linear-gradient(180deg, #EAF6FC 0%, #FFFFFF 100%); }
.why .art-top img {
  width: 118px;
  filter: drop-shadow(0 10px 16px rgba(18, 32, 35, .08));
  transition: transform .35s var(--ease);
}
.why-card:hover .art-top img { transform: translateY(-5px) scale(1.04); }
.why-body { padding: 4px 22px 26px; }
.why-body h3 { margin-bottom: 8px; }

/* 大卡（影片 / 設定步驟） */
.feat {
  display: grid;
  grid-template-columns: 448px 1fr;
  min-height: 500px;
  margin-bottom: 18px;
}
.feat .t {
  padding: 48px 32px 44px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(10, 125, 107, .16);
  margin-bottom: 20px;
}
.ico svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feat .t h3 { font-size: 24px; line-height: 1.3; margin-bottom: 12px; }
.feat .t p { margin-bottom: 22px; }
.feat .t .meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--dim);
  margin: 0;
}

.opts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.opts button {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  font: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px 14px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.opts button:hover {
  background: #FFFFFF;
  border-color: var(--line2);
  transform: translateX(3px);
  box-shadow: var(--shadow-xs);
}
.opts button .n {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.opts button .st-label { flex: 1; font-weight: 500; }
.opts button .st-time {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(10, 125, 107, .09);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex: none;
  transition: background .18s ease, color .18s ease;
}
.opts button:hover .st-time {
  background: var(--accent);
  color: #FFFFFF;
}

.feat .v {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 36px;
  background:
    radial-gradient(500px 340px at 50% 50%, rgba(215, 248, 239, .7), transparent 72%),
    linear-gradient(145deg, #F5FBF9 0%, #FAF8F3 100%);
  border-left: 1px solid var(--line);
}

/* 影片縮圖海報（統一手機外框質感） */
.posters { display: flex; gap: 22px; justify-content: center; align-items: center; }
.poster {
  position: relative;
  display: block;
  width: 224px;
  padding: 7px;
  border: 0;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(155deg, #2A3438 0%, #13191C 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 22px 48px -10px rgba(12, 36, 34, .28);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.poster:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), 0 30px 60px -12px rgba(12, 36, 34, .34);
}
.posters.one .poster { width: 280px; }
.poster img { display: block; width: 100%; height: auto; border-radius: 23px; }
.poster .play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 50%;
  background: rgba(18, 32, 35, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, .36);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
  transition: transform .25s var(--ease), background .2s ease;
}
.poster .play::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 19px;
  border-left: 17px solid #FFFFFF;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.poster:hover .play {
  transform: scale(1.1);
  background: var(--accent);
}
.poster .pt {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  border-radius: 0 0 23px 23px;
  padding: 28px 12px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;
  background: linear-gradient(transparent, rgba(12, 22, 24, .78));
}

/* 卡片網格與整理區 Bento Grid */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sc { padding: 30px 30px 0; display: flex; flex-direction: column; }
.util-card { padding: 28px 30px; }
.util-card:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: var(--shadow-lg); }
.sc-link { margin-top: 16px; }
.sc.small { padding: 24px; }

.feat-shot { padding: 0; }
.feat-shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line2); }
.feat-shot .sc-head { padding: 28px 28px 22px; flex: 1; }
.feat-shot .pic {
  height: 310px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: 24px 20px 0;
  border-top: 1px solid var(--line);
}
.feat-shot .pic.tone-0 { background: linear-gradient(180deg, #EFFAF6 0%, #FAFDFC 100%); }
.feat-shot .pic.tone-1 { background: linear-gradient(180deg, #FCF7EE 0%, #FFFDF9 100%); }
.feat-shot .pic.tone-2 { background: linear-gradient(180deg, #EFF6FB 0%, #FAFDFE 100%); }
.mini-phone {
  position: relative;
  width: 246px;
  padding: 8px 8px 0;
  border-radius: 36px 36px 0 0;
  background: linear-gradient(155deg, #2B3438 0%, #141A1D 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 18px 38px rgba(12, 34, 32, .22);
  align-self: flex-start;
  transition: transform .35s var(--ease);
}
.feat-shot:hover .mini-phone { transform: translateY(-6px); }
.mini-phone .iphone-island { top: 14px; width: 54px; height: 14px; }
.mini-phone img { display: block; width: 100%; border-radius: 28px 28px 0 0; }

/* 隱私與控制 Bento 4 格 */
.bento-privacy {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.p-card {
  padding: 24px;
  background: var(--bg-warm);
  box-shadow: var(--shadow-xs);
}
.p-card:hover {
  background: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line2);
}
.p-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
}
.p-ico svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.p-card h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--ink); }
.p-card p { margin: 0; color: var(--sub); font-size: 14px; line-height: 1.6; }

/* 比較表（SVG 圖示＋推薦欄凸顯） */
.tw { overflow-x: auto; max-width: 100%; padding: 14px 28px 20px; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; text-align: center; min-width: 620px; }
.cmp th, .cmp td { padding: 17px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr { transition: background .15s ease; }
.cmp tbody tr:hover th, .cmp tbody tr:hover td:not(.us) { background: rgba(18, 32, 35, .018); }
.cmp thead th { font-size: 14.5px; color: var(--sub); font-weight: 600; padding-bottom: 18px; }
.cmp tbody th { text-align: left; font-weight: 600; color: var(--ink); font-size: 15px; }
.cmp .us {
  background: #EDFBF6;
  border-left: 1px solid rgba(10, 125, 107, .14);
  border-right: 1px solid rgba(10, 125, 107, .14);
}
.cmp thead .us {
  background: linear-gradient(180deg, #173034 0%, #112327 100%);
  color: #FFFFFF;
  border-radius: 16px 16px 0 0;
  border-color: transparent;
}
.cmp tbody tr:last-child td.us {
  border-radius: 0 0 16px 16px;
  border-bottom: 1px solid rgba(10, 125, 107, .14);
}
.us-hd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}
.us-hd img { border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }

.mk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.mk svg { width: 15px; height: 15px; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mk-us { background: var(--accent); color: #FFFFFF; box-shadow: 0 4px 10px rgba(10, 125, 107, .26); }
.mk-us svg { stroke: #FFFFFF; }
.mk-o { background: var(--accent-soft); }
.mk-o svg { stroke: var(--accent); }
.mk-x { background: rgba(18, 32, 35, .05); }
.mk-x svg { stroke: #A2B0B4; stroke-width: 2.1; }
.mk-tri { background: #FFF5D8; }
.mk-tri svg { stroke: #C68A12; stroke-width: 2; }
.mk-d { color: #B4C1C4; font-weight: 600; font-size: 16px; }

/* 方案卡片 */
.plans-grid { max-width: 920px; margin: 0 auto; align-items: stretch; }
.plan {
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.plan.pro {
  background: linear-gradient(155deg, #F0FBF7 0%, #FFFFFF 55%, #FFFBF4 100%);
  border: 1.5px solid rgba(10, 125, 107, .38);
  box-shadow: 0 18px 46px -14px rgba(10, 125, 107, .18);
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.plan .k { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: var(--dim); }
.plan.pro .k { color: var(--accent); }
.plan-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--sub);
  background: var(--bg-warm);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 999px;
}
.plan-pill.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}
.plan h3 { font-size: 28px; letter-spacing: -.02em; margin: 0 0 22px; }
.plan-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 13px;
  flex: 1;
}
.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.55;
}
.plan-list .ck {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 2px;
}
.plan-list .ck svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.plan-foot { margin-top: auto; }
.plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .2s var(--ease), filter .2s ease, border-color .2s ease, background .2s ease;
}
.plan-btn.primary {
  background: var(--btn);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 20px -6px rgba(14, 28, 30, .3);
}
.plan-btn.primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.plan-btn.secondary {
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.plan-btn.secondary:hover { border-color: var(--ink); background: var(--bg-warm); }

/* 首頁教學文章精簡卡 */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gmini {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-xs);
}
.gmini:hover {
  transform: translateY(-3px);
  border-color: var(--line2);
  box-shadow: var(--shadow);
}
.gmini-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.gmini-ico svg {
  width: 17px;
  height: 17px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gmini h4 {
  margin: 0 0 8px;
  font-size: 15.5px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--ink);
}
.gmini h4::after { content: " ↗"; color: var(--dim); font-weight: 500; transition: color .18s ease; }
.gmini:hover h4::after { color: var(--accent); }
.gmini p {
  margin: 0;
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 保留舊 .list4 給內頁兼容 */
.list4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; margin-top: 56px; }
.list4 a { color: var(--text); text-decoration: none; }
.list4 svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.list4 h4 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.list4 a h4::after { content: " ↗"; color: var(--dim); font-weight: 400; }
.list4 p { margin: 0; color: var(--sub); font-size: 14px; }

/* 教學列表卡（/guides/） */
.gg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gc {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), border-color .2s ease, box-shadow .22s ease;
}
.gc:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: var(--shadow); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(10, 125, 107, .16);
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}
.gc .chip { align-self: flex-start; margin-bottom: 12px; font-size: 12px; padding: 3px 10px; }
.gc h3 { font-size: 17px; line-height: 1.5; margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.gc p { font-size: 14px; color: var(--sub); margin: 0; flex: 1; line-height: 1.65; }
.gc .go { margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.rel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* FAQ 手風琴 */
.faq details {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details:hover { border-color: var(--line-strong); }
.faq details[open] {
  border-color: var(--line2);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 62px 20px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  transition: background .2s ease, border-color .2s ease;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 30.5px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--sub);
  border-bottom: 2px solid var(--sub);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .22s var(--ease), border-color .2s ease;
}
.faq details[open] summary::before {
  background: var(--accent-soft);
  border-color: rgba(10, 125, 107, .2);
}
.faq details[open] summary::after {
  border-color: var(--accent);
  transform: translateY(-30%) rotate(-135deg);
}
.faq details > p, .faq .ans {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--sub);
  font-size: 15px;
  line-height: 1.75;
}
.faq .ans p { margin: 0 0 8px; }

/* 結尾焦點卡 CTA */
.final {
  padding: 40px 0 96px;
}
.final-box {
  text-align: center;
  padding: 76px 32px;
  border-radius: 34px;
  border: 1px solid rgba(10, 125, 107, .14);
  background:
    radial-gradient(640px 360px at 50% 10%, rgba(209, 247, 236, .85), transparent 70%),
    radial-gradient(420px 260px at 84% 85%, rgba(255, 236, 239, .65), transparent 72%),
    radial-gradient(420px 260px at 14% 80%, rgba(255, 245, 214, .7), transparent 72%),
    #FAFDFC;
  box-shadow: var(--shadow);
}
.final .icon {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .75), 0 18px 46px -8px rgba(10, 125, 107, .34);
}
.final h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.22;
  font-weight: 700;
  color: var(--ink);
  margin: 30px 0 0;
  letter-spacing: -.025em;
}
.final .lead { margin: 16px auto 32px; max-width: 560px; }

/* 頁尾 */
.foot {
  background: #F6F7F5;
  border-top: 1px solid var(--line);
  padding: 60px 0 44px;
  font-size: 14px;
  margin-top: 84px;
}
.final + .foot, main:has(.final) + .foot { margin-top: 0; }
.foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.foot h4 { margin: 0 0 12px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 8px 0; }
.foot a { color: var(--sub); text-decoration: none; transition: color .15s ease; }
.foot a:hover { color: var(--ink); }
.foot .note {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.75;
}

/* 影片彈窗 */
#vbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
#vbox::backdrop { background: rgba(10, 20, 22, .84); backdrop-filter: blur(8px); }
#vplayer {
  display: block;
  max-height: 86vh;
  max-width: 92vw;
  width: auto;
  border-radius: 22px;
  background: #000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .55);
}
.vclose {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: 17px;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s ease;
}
.vclose:hover { transform: scale(1.06); background: #FFFFFF; }

/* 文章、支援、隱私內頁 */
.page { padding: 56px 0 0; }
.page .in { max-width: 840px; }
.crumb { font-size: 13px; color: var(--dim); margin-bottom: 18px; }
.crumb a { color: var(--dim); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.art {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 48px 54px;
  line-height: 1.85;
  box-shadow: var(--shadow);
}
.art h1 { font-size: 32px; line-height: 1.38; margin: 6px 0 10px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.upd { font-size: 13px; color: var(--dim); margin-bottom: 26px; }
.art .series { font-size: 14px; color: var(--dim); margin: -14px 0 22px; }
.art h2 {
  font-size: 21px;
  margin: 40px 0 14px;
  padding-left: 14px;
  border-left: 3.5px solid var(--accent);
  line-height: 1.45;
  font-weight: 700;
  color: var(--ink);
}
.art h3 { font-size: 18px; margin: 24px 0 8px; color: var(--ink); }
.art p { margin: 0 0 15px; }
.art ul, .art ol { padding-left: 1.4em; margin: 0 0 16px; }
.art li { margin-bottom: 6px; }
.art strong { color: var(--ink); background: linear-gradient(transparent 68%, #FCEAB3 68%); font-weight: 600; }
.art table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0 22px; }
.art th, .art td { border-bottom: 1px solid var(--line); padding: 11px 10px; text-align: left; vertical-align: top; }
.art thead th { background: var(--bg-warm); white-space: nowrap; color: var(--ink); font-weight: 600; }
.art blockquote {
  margin: 22px 0;
  padding: 18px 22px;
  background: var(--cream);
  border: 1px solid #F3DCD0;
  border-radius: 16px;
}
.art blockquote p { margin: 0; }
.art .gfigs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 240px)); gap: 18px; margin: 12px 0 24px; }
.art .gfigs figure { margin: 0; }
.art .gfigs img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-xs); }
.art .gfigs figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--sub); }
.art .gfigs.wide { grid-template-columns: minmax(0, 420px); }

.cta {
  display: flex;
  gap: 24px;
  align-items: center;
  background: linear-gradient(145deg, #EFFBF7 0%, #FAF9F5 100%);
  border: 1px solid rgba(10, 125, 107, .22);
  border-radius: var(--r);
  padding: 28px 32px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}
.cta img { border-radius: 18px; flex: 0 0 auto; box-shadow: 0 8px 20px rgba(10, 125, 107, .22); }
.cta .cta-t { font-weight: 700; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.cta p { margin: 0 0 14px; color: var(--sub); font-size: 14.5px; }
.cta .meta { font-size: 12.5px; color: var(--dim); margin-top: 10px; }

.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 36px 40px; margin: 24px 0; box-shadow: var(--shadow); }
.box h2 { font-size: 22px; margin: 0 0 16px; font-weight: 700; color: var(--ink); }
.box.faq { background: transparent; border: 0; padding: 0; box-shadow: none; }
.h2 { font-size: 28px; margin: 0 0 20px; line-height: 1.38; font-weight: 700; color: var(--ink); }
.legacy .meta { font-size: 14px; color: var(--dim); }
.legacy .mail { display: inline-block; margin: 6px 0 4px; padding: 11px 24px; background: var(--btn); color: var(--btnText); border-radius: 999px; text-decoration: none; font-weight: 600; }
.legacy ul, .legacy ol { padding-left: 1.3em; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px 18px 86px; position: relative; }
.steps li::before { content: "STEP " counter(s); position: absolute; left: 20px; top: 20px; font-size: 11px; font-weight: 800; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 2px 7px; }
.steps li b { font-weight: 600; }

/* 使用教學／常見問題輔助 */
.toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 48px; }
.toc a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); text-decoration: none; font-size: 14px; }
.toc a:hover { border-color: var(--line2); }
.sec .h2 { margin-top: 56px; scroll-margin-top: 90px; }
.sec .h2:first-of-type { margin-top: 0; }
.opts li { scroll-margin-top: 90px; }
ol.opts { counter-reset: none; }
.chk { margin: 14px 0; padding-left: 20px; line-height: 1.8; }
.num { margin: 10px 0; padding-left: 22px; line-height: 1.8; }
.sc .note, .ans .note { color: var(--sub); font-size: 14px; margin-top: 10px; }
.quiet { display: flex; gap: 24px; align-items: flex-start; }
.quiet img { flex: none; width: 110px; }
.tg { margin-top: 40px; }
.tg h3 { font-size: 18px; margin: 0 0 12px; color: var(--accent); }
.faq details[id] { scroll-margin-top: 90px; }
.ans .sym { color: var(--sub); }
.tlinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; padding: 0; list-style: none; }
.tlinks a { display: block; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-decoration: none; color: var(--text); }
.tlinks a:hover { border-color: var(--line2); }
.card.pad { padding: 28px; }
.card .chk, .card .num { color: var(--sub); font-size: 15px; }

/* 語言切換與字體 */
:lang(ja) body, body:lang(ja) { font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; }
:lang(ko) body, body:lang(ko) { font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; word-break: keep-all; }
.top .tr { justify-self: end; display: flex; align-items: center; gap: 8px; }
.top .tr .pill { justify-self: auto; }
.langsw { position: relative; }
.langsw summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
  background: rgba(255, 255, 255, .9);
  transition: border-color .18s ease, color .18s ease;
}
.langsw summary:hover { border-color: var(--ink); color: var(--ink); }
.langsw summary::-webkit-details-marker { display: none; }
.langsw summary svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.langsw ul {
  position: absolute;
  right: 0;
  top: 44px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  min-width: 144px;
  z-index: 60;
}
.langsw a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--text); text-decoration: none; font-size: 14px; }
.langsw a:hover { background: var(--bg-warm); }
.langsw a[aria-current] { color: var(--accent); font-weight: 600; background: var(--accent-soft); }

/* 幫助中心 /help/ */
.hhub {
  padding: 56px 0 44px;
  background:
    radial-gradient(760px 360px at 50% 0%, rgba(213, 248, 238, .65), transparent 70%),
    linear-gradient(180deg, #FAFBF9 0%, #FFFFFF 420px);
}
.hhub .in { max-width: 1080px; }
.hhub-mascot {
  display: block;
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  filter: drop-shadow(0 10px 16px rgba(18, 32, 35, .1));
}
.hhub h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; color: var(--ink); text-align: center; margin: 0 0 24px; line-height: 1.28; letter-spacing: -.022em; }
.hsearch { position: relative; }
.hsearch svg { position: absolute; left: 15px; top: 0; bottom: 0; margin: auto 0; width: 18px; height: 18px; fill: none; stroke: var(--dim); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.hsearch input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 12px 15px 12px 42px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #FFFFFF;
  color: var(--text);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.hsearch input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10, 125, 107, .12); }
.hsearch.big { max-width: 620px; margin: 0 auto; }
.hsearch.big input { font-size: 16.5px; padding: 15px 18px 15px 46px; border-radius: 16px; box-shadow: var(--shadow); }
.hsearch.big svg { left: 17px; }
.hresults {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  max-height: 60vh;
  overflow: auto;
  text-align: left;
}
.hresults a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--text); text-decoration: none; }
.hresults a:hover, .hresults a:focus { background: var(--bg2); }
.hresults b { display: block; font-weight: 600; font-size: 15px; }
.hresults small { color: var(--dim); font-size: 12px; }
.hresults .none { padding: 12px; color: var(--dim); font-size: 14px; }
.hquick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 48px;
}
.hquick a {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--sub);
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 14px;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: border-color .18s ease, color .18s ease, transform .18s var(--ease);
}
.hquick a:hover {
  color: var(--accent);
  border-color: var(--line2);
  transform: translateY(-1px);
}
.hcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.hcard {
  display: block;
  text-align: left;
  font: inherit;
  cursor: pointer;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 26px 24px;
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), border-color .2s ease, box-shadow .22s ease;
}
.hcard:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: var(--shadow); }
.hcard h2 { font-size: 18.5px; font-weight: 700; color: var(--ink); margin: 16px 0 6px; }
.hcard p { margin: 0; color: var(--sub); font-size: 14px; line-height: 1.65; }
.hic {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(10, 125, 107, .14);
}
.hic svg, .hside svg, .hbox svg { width: 21px; height: 21px; fill: none; stroke: var(--accent); stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.hic.alt { background: var(--bg-warm); border-color: var(--line); }
.hsep { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
.hdis { margin: 48px 0 0; padding: 22px 26px; border-radius: 16px; background: var(--bg-warm); border: 1px solid var(--line); color: var(--sub); font-size: 13px; line-height: 1.75; }
.hdis h2 { font-size: 14px; margin: 0 0 6px; color: var(--ink); }
.hdis p { margin: 0 0 6px; }

.hwrap { background: var(--bg-warm); padding: 44px 0 88px; border-top: 1px solid var(--line); }
main:has(.hwrap) + .foot { margin-top: 0; }
.hwrap > .in { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 40px; align-items: start; max-width: 1180px; }
.hside { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; }
.hcats-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 10px 12px;
  box-shadow: var(--shadow-xs);
}
.hcats summary {
  list-style: none;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--dim);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 12px 10px;
  cursor: default;
  pointer-events: none;
}
.hcats summary::-webkit-details-marker { display: none; }
.hcats ul { list-style: none; margin: 0; padding: 0; }
.hcats > ul > li { margin-bottom: 2px; }
.hcats > ul > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--sub);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: background .16s ease, color .16s ease;
}
.hcats > ul > li > a svg { width: 17px; height: 17px; flex: none; stroke: var(--dim); transition: stroke .16s ease; }
.hcats > ul > li > a:hover { background: var(--bg-warm); color: var(--ink); }
.hcats > ul > li > a:hover svg { stroke: var(--accent); }
.hcats li.on > a {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.hcats li.on > a svg { stroke: var(--accent); }
.hgroups { padding: 6px 0 6px 20px !important; margin-left: 14px !important; border-left: 1.5px solid var(--line); }
.hgroups a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 9px;
  color: var(--sub);
  text-decoration: none;
  font-size: 13.5px;
  transition: background .15s ease, color .15s ease;
}
.hgroups a:hover, .hgroups a[aria-current] { color: var(--accent); background: rgba(10, 125, 107, .07); font-weight: 600; }
.hgroups em {
  font-style: normal;
  color: var(--dim);
  font-size: 11.5px;
  font-weight: 600;
  background: var(--bg-warm);
  padding: 1px 7px;
  border-radius: 999px;
}
.hgroups a[aria-current] em { background: #FFFFFF; color: var(--accent); }

.hmain { min-width: 0; }

/* 分類頁（功能介紹／使用教學／常見問題）質感橫幅 */
.hcat-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  overflow: hidden;
}
.hcat-hero.tone-mint   { background: linear-gradient(135deg, #FFFFFF 45%, #E7FBF5 100%); }
.hcat-hero.tone-sky    { background: linear-gradient(135deg, #FFFFFF 45%, #ECF6FC 100%); }
.hcat-hero.tone-butter { background: linear-gradient(135deg, #FFFFFF 45%, #FFF8E1 100%); }
.hcat-hero.tone-blush  { background: linear-gradient(135deg, #FFFFFF 45%, #FFF0F3 100%); }
.hcat-hero-body { min-width: 0; flex: 1; }
.hcat-hero .crumb { margin-bottom: 14px; }
.hcat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.hcat-head .hic { flex: none; width: 42px; height: 42px; border-radius: 12px; }
.htitle { font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: var(--ink); letter-spacing: -.022em; margin: 0; line-height: 1.25; }
.hsub { color: var(--sub); margin: 0; font-size: 15.5px; line-height: 1.6; }
.hjump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.hjump a {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--sub);
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 13px;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s var(--ease);
}
.hjump a:hover {
  color: var(--accent);
  border-color: var(--line2);
  background: #FFFFFF;
  transform: translateY(-1px);
}
.hcat-mascot {
  flex: none;
  width: 108px;
  height: 108px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(18, 32, 35, .1));
}

/* 群組卡片與雙行富資訊文章列表 */
.hbox {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 22px;
  margin: 0 0 20px;
  scroll-margin-top: 90px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.hbox header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px 16px;
  background: linear-gradient(180deg, #FDFDFB 0%, #FAF9F6 100%);
  border-bottom: 1px solid var(--line);
}
.hbox h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 3px; letter-spacing: -.01em; }
.hbox header p { margin: 0; color: var(--sub); font-size: 13.5px; }
.hcnt {
  flex: none;
  min-width: 28px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hbox ul {
  list-style: none;
  margin: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hbox li a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--text);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .2s var(--ease), box-shadow .18s ease;
}
.hdoc-ic {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid rgba(10, 125, 107, .12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 1px;
  transition: background .18s ease, border-color .18s ease, transform .18s var(--ease);
}
.hdoc-ic svg { width: 17px; height: 17px; stroke: var(--accent); transition: stroke .18s ease; }
.hdoc-txt { flex: 1; min-width: 0; }
.hdoc-txt b {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.45;
  transition: color .18s ease;
}
.hdoc-txt small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 3px;
}
.hbox li a i {
  font-style: normal;
  color: var(--dim);
  font-size: 13px;
  flex: none;
  margin-top: 3px;
  transition: transform .18s var(--ease), color .18s ease;
}
.hbox li a:hover {
  background: var(--bg2);
  border-color: rgba(10, 125, 107, .16);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}
.hbox li a:hover .hdoc-ic { background: #FFFFFF; border-color: rgba(10, 125, 107, .2); }
.hbox li a:hover .hdoc-ic svg { stroke: var(--accent); }
.hbox li a:hover .hdoc-txt b { color: var(--accent); }
.hbox li a:hover i { color: var(--accent); transform: translate(2px, -2px); }
.hcat-cta { margin-top: 28px; }
.hcat-cta .cta { margin: 0; }

/* 幫助中心文章內頁 */
.hart {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 48px 44px;
  line-height: 1.85;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}
.hart-head {
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.hart-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(10, 125, 107, .15);
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: 14px;
}
.hart-tag svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hart h1 { font-size: clamp(24px, 3vw, 30px); line-height: 1.35; margin: 0; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.hart h2 {
  font-size: 19.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  line-height: 1.4;
}
.hart p { margin: 0 0 14px; color: #314348; }

.hsteps { counter-reset: s; list-style: none; margin: 8px 0 22px; padding: 0; position: relative; }
.hsteps li { counter-increment: s; position: relative; padding: 5px 0 18px 48px; color: #314348; }
.hsteps li:last-child { padding-bottom: 4px; }
.hsteps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14.5px;
  top: 38px;
  bottom: 4px;
  width: 1.5px;
  background: rgba(10, 125, 107, .18);
}
.hsteps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 4px;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: var(--accent-soft);
  border: 1px solid rgba(10, 125, 107, .22);
  color: var(--accent);
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.hnote {
  display: flex;
  gap: 13px;
  background: linear-gradient(135deg, #F3F9FD 0%, #F7FBFA 100%);
  border: 1px solid rgba(25, 125, 179, .2);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 22px 0;
}
.hnote span { flex: none; width: 22px; height: 22px; border-radius: 11px; background: #197DB3; color: #fff; font: 700 13px/22px Georgia, serif; text-align: center; margin-top: 3px; }
.hnote p { margin: 0; color: #284558; font-size: 14.5px; line-height: 1.7; }

.hvid {
  position: relative;
  display: block;
  width: min(290px, 74%);
  margin: 0 auto 28px;
  padding: 7px;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(155deg, #2A3438 0%, #13191C 100%);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.hvid:hover { transform: translateY(-4px); }
.hvid img { display: block; width: 100%; height: auto; border-radius: 21px; opacity: .94; }
.hvid .play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 31px; background: rgba(18, 32, 35, .82); border: 1.5px solid rgba(255, 255, 255, .36); transition: transform .22s var(--ease), background .2s ease; }
.hvid:hover .play { transform: scale(1.08); background: var(--accent); }
.hvid .play::after { content: ""; position: absolute; left: 25px; top: 19px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #FFFFFF; }
.hvid .pt { position: absolute; left: 7px; right: 7px; bottom: 7px; border-radius: 0 0 21px 21px; padding: 24px 12px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .68)); color: #fff; font-size: 14px; font-weight: 600; }

.hpn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.hpn a {
  display: block;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #FFFFFF;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-xs);
  transition: transform .2s var(--ease), border-color .18s ease, box-shadow .2s ease, color .18s ease;
}
.hpn a:hover { transform: translateY(-2px); border-color: var(--line2); color: var(--accent); box-shadow: var(--shadow-sm); }
.hpn a.r { text-align: right; }
.hpn small { display: block; color: var(--dim); font-weight: 500; font-size: 12px; margin-bottom: 4px; }

.hstill {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: var(--shadow-xs);
}
.hstill img { flex: none; width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(18, 32, 35, .08)); }
.hstill-body { min-width: 0; }
.hstill h2 { font-size: 18px; margin: 0 0 4px; color: var(--ink); }
.hstill p { color: var(--sub); margin: 0 0 10px; font-size: 14px; line-height: 1.65; }
.hstill .more { color: var(--accent); font-size: 14.5px; }

.hfig { margin: 12px 0 26px; padding: 20px; border-radius: 20px; background: var(--bg-warm); border: 1px solid var(--line); text-align: center; }
.hfig img { width: min(372px, 100%); height: auto; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }

/* 步驟小縮圖（5 步驟時單排 5 欄整齊排列） */
.hshots { list-style: none; padding: 0; margin: 12px 0 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.hshots.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.hshots li {
  margin: 0;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 8px 12px;
  display: flex;
  flex-direction: column;
}
.hshot-img { overflow: hidden; border-radius: 11px; border: 1px solid var(--line); background: #0d1416; }
.hshots img { display: block; width: 100%; height: auto; }
.hshots span { display: flex; align-items: flex-start; gap: 6px; font-size: 12.5px; line-height: 1.48; color: var(--sub); margin-top: 9px; padding: 0 2px; }
.hshots em { font-style: normal; }
.hshots b { flex: none; width: 19px; height: 19px; border-radius: 10px; background: var(--accent); color: #FFFFFF; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

/* 實機／App 截圖步驟畫廊（雙欄卡片化，不再留空右半邊） */
.hphotos {
  list-style: none;
  padding: 0;
  margin: 12px 0 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.hphotos.one { grid-template-columns: minmax(0, 420px); }
.hphotos li {
  margin: 0;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hphotos p { margin: 0; font-weight: 600; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.hphoto-img { margin-top: auto; display: flex; justify-content: center; }
.hphotos img {
  display: block;
  width: min(290px, 100%);
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(18, 32, 35, .12);
  background: #000;
  box-shadow: var(--shadow-sm);
}

/* 響應式：平板與手機 */
@media (max-width: 1040px) {
  .guide-grid, .bento-privacy { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .top .in { grid-template-columns: 1fr auto; height: auto; padding-top: 10px; }
  .top .tr { grid-column: 2; grid-row: 1; }
  .langsw summary span { display: none; }
  .langsw summary { padding: 0 10px; }
  .gnav {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 6px -16px 0;
    padding: 0 12px 10px;
    -webkit-overflow-scrolling: touch;
  }
  .gnav::-webkit-scrollbar { display: none; }
  .gnav a { white-space: nowrap; flex: none; }

  .hero { padding: 36px 0 64px; }
  .hgrid { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; }
  .htext { display: contents; }
  .hero-badge { order: 0; margin-bottom: 16px; }
  .hgrid h1 { order: 1; }
  .hvideo { order: 2; margin: 26px 0 6px; }
  .hgrid .lead { order: 3; margin: 18px auto 24px; text-align: center; }
  .hero-actions { order: 4; justify-content: center; width: 100%; }
  .hgrid .ver { order: 5; }
  .iphone-frame { width: min(244px, 66vw); padding: 7px; border-radius: 36px; }
  .iphone-frame .iphone-island { width: 58px; height: 16px; top: 14px; }
  .hvideo video { border-radius: 29px; }

  .sec { padding: 76px 0; }
  .head { margin-bottom: 36px; }
  .hd { flex-direction: column; align-items: flex-start; gap: 10px; }

  .show { margin-top: 52px; }
  .stage { height: 470px; border-radius: 24px; }
  .stage .ph { width: 224px; margin-left: -112px; top: 28px; border-radius: 36px 36px 0 0; padding: 8px 8px 0; }
  .stage .ph .iphone-island { width: 52px; height: 14px; top: 14px; }
  .stage .ph img { border-radius: 28px 28px 0 0; }
  .stage .ph[data-pos="-1"] { transform: translate3d(-248px, 26px, 0) scale(.86); opacity: .28; }
  .stage .ph[data-pos="1"] { transform: translate3d(248px, 26px, 0) scale(.86); opacity: .28; }
  .stage .ph[data-pos="-2"] { transform: translate3d(-460px, 40px, 0) scale(.76); opacity: 0; }
  .stage .ph[data-pos="2"] { transform: translate3d(460px, 40px, 0) scale(.76); opacity: 0; }
  .stage .cap { bottom: 16px; padding: 8px 16px; }
  .stage .cap b { font-size: 13.5px; }
  .stage .cap span { font-size: 13px; }
  .nav-a { width: 38px; height: 38px; }
  .nav-a.prev { left: 12px; }
  .nav-a.next { right: 12px; }
  .thumbs { justify-content: flex-start; }

  .why { grid-template-columns: 1fr 1fr; }
  .why .art-top { height: 136px; }
  .why .art-top img { width: 96px; }

  .feat { grid-template-columns: 1fr; min-height: auto; }
  .feat .t { padding: 32px 22px 24px; }
  .feat .v { padding: 28px 16px 32px; border-left: 0; border-top: 1px solid var(--line); }
  .posters { gap: 14px; }
  .poster { width: 47%; border-radius: 22px; padding: 5px; }
  .posters.one .poster { width: min(260px, 76%); }
  .poster img { border-radius: 17px; }
  .poster .pt { left: 5px; right: 5px; bottom: 5px; border-radius: 0 0 17px 17px; }
  .poster .play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .poster .play::after { left: 21px; top: 16px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }

  .g2, .g3, .gg, .rel { grid-template-columns: 1fr; }
  .list4 { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .dlb, .ghost-btn { height: 50px; font-size: 15.5px; padding: 0 22px; }
  .plan { padding: 28px 24px; }
  .final { padding: 20px 0 64px; }
  .final-box { padding: 52px 22px; border-radius: 26px; }
  .foot .cols { grid-template-columns: 1fr 1fr; }

  .art { padding: 30px 22px; border-radius: 20px; }
  .art h1 { font-size: 26px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 24px; }

  .hwrap { padding: 28px 0 64px; }
  .hwrap > .in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hmain { order: 1; }
  .hside { order: 2; position: static; min-width: 0; }
  .hcats { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
  .hcats summary { pointer-events: auto; cursor: pointer; padding: 6px 10px; font-size: 13.5px; color: var(--text); }
  .hcats summary::after { content: " ▾"; color: var(--dim); }
  .hbox ul { grid-template-columns: 1fr; }
  .hcat-hero { padding: 22px 24px; }
  .hcat-mascot { width: 84px; height: 84px; }
  .hshots.n5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #vplayer { max-height: 80vh; }
}

@media (max-width: 640px) {
  .hhub { padding-top: 40px; }
  .hart { padding: 24px 20px 28px; font-size: 15.5px; }
  .hart h1 { font-size: 24px; }
  .htitle { font-size: 26px; }
  .hcat-hero { flex-direction: column-reverse; align-items: flex-start; gap: 12px; padding: 20px; border-radius: 20px; }
  .hcat-mascot { width: 68px; height: 68px; }
  .hpn { grid-template-columns: 1fr; }
  .hpn a.r { text-align: left; }
  .hshots, .hshots.n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hphotos { grid-template-columns: 1fr; }
  .hstill { flex-direction: column; text-align: center; gap: 14px; padding: 24px 20px; }
  .quiet { flex-direction: column; align-items: center; }
  .quiet img { width: 90px; }
  .guide-grid, .bento-privacy { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .art .gfigs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .art .gfigs.wide { grid-template-columns: minmax(0, 1fr); }
  .why { grid-template-columns: 1fr; }
  .why-card { flex-direction: row; align-items: center; }
  .why .art-top { width: 112px; height: 116px; flex: none; }
  .why .art-top img { width: 80px; }
  .why-body { padding: 16px 18px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .dlb, .hero-actions .ghost-btn { width: 100%; max-width: 320px; }
  .stage .cap { flex-direction: column; gap: 2px; border-radius: 18px; padding: 8px 16px; white-space: normal; text-align: center; }
  .stage .cap b::after { display: none; }
}

/* 閱讀進度條、截圖 Lightbox 與捲動高亮 */
.read-prog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2.5px;
  background: var(--grad);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
  will-change: transform;
}
.hjump a.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}
.zoomable {
  cursor: zoom-in;
  transition: transform .25s var(--ease), box-shadow .25s ease;
}
.zoomable:hover {
  transform: scale(1.018);
  box-shadow: var(--shadow);
}
#imgbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 94vw;
  max-height: 92vh;
  overflow: visible;
}
#imgbox::backdrop {
  background: rgba(10, 20, 22, .84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ib-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: ib-in .24s var(--ease);
}
.ib-fig img {
  display: block;
  max-height: 80vh;
  max-width: 90vw;
  width: auto;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .14);
}
.ib-fig figcaption {
  max-width: 560px;
  text-align: center;
  color: rgba(255, 255, 255, .92);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.55;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(18, 32, 35, .72);
  border: 1px solid rgba(255, 255, 255, .14);
}
@keyframes ib-in {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .has-reveal .reveal { opacity: 1; transform: none; }
  .thumbs button .tbar { display: none; }
}
