/* 盼日 Pandays 官網。配色與 App 改版一致：米白底／深色 #0F1012、白卡片無邊框、黑色膠囊主按鈕、大圓角、系統字。 */
:root {
  --bg: #F6F5F2;
  --bg-alt: #EFEDE8;
  --card: #FFFFFF;
  --fill: #E9E7E2;
  --text: #141414;
  --soft: #6B6A66;
  --line: rgba(0, 0, 0, .08);
  --btn: #141414;
  --btn-text: #FFFFFF;
  --accent: #D9573E;
  --accent-text: #B03E28; /* 紅色小字用：對淺底 4.5 以上（新手檢視 PDW-5） */
  --shadow: 0 4px 16px rgba(0, 0, 0, .06);
  --tile-shadow: drop-shadow(0 6px 18px rgba(30, 25, 15, .10));
  --radius: 28px;
  --radius-s: 18px;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1012;
    --bg-alt: #151619;
    --card: #1B1C1F;
    --fill: #26272B;
    --text: #F2F1EE;
    --soft: #9D9C98;
    --line: rgba(255, 255, 255, .12);
    --btn: #F2F1EE;
    --btn-text: #111111;
    --accent: #F08A73;
    --accent-text: #F29A85;
    --shadow: 0 4px 16px rgba(0, 0, 0, .35);
    --tile-shadow: drop-shadow(0 6px 18px rgba(0, 0, 0, .45));
  }
}
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:lang(zh-Hant) body, body:lang(zh-Hant) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
body:lang(zh-Hans) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
body:lang(ja) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif; }
body:lang(ko) { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; word-break: keep-all; }
h1, h2, h3 { text-wrap: balance; word-break: auto-phrase; margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p, li { text-wrap: pretty; }
:lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(fr) h2, :lang(es) h2, :lang(pt-BR) h2 { hyphens: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--card); padding: .5rem 1rem; z-index: 20; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---- 頁首 ---- */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); }
.top-bar { display: flex; align-items: center; gap: 1.25rem; height: 4rem; }
.brand { font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.02em; margin-right: auto; }
.top-nav { display: flex; gap: 1.4rem; font-size: 0.9375rem; }
.top-nav a { text-decoration: none; color: var(--soft); white-space: nowrap; }
.top-nav a:hover, .top-nav a[aria-current] { color: var(--text); }
.top-lang { position: relative; }
.top-lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .4rem; padding: .4rem .8rem;
  border-radius: 999px; background: var(--fill); font-size: 0.875rem; }
.top-lang summary::-webkit-details-marker { display: none; }
.top-lang nav { position: absolute; right: 0; top: calc(100% + .5rem); background: var(--card); border-radius: var(--radius-s);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .16); padding: .5rem; display: grid; min-width: 12rem; }
.top-lang nav a { text-decoration: none; padding: .5rem .8rem; border-radius: 10px; font-size: 0.9375rem; }
.top-lang nav a:hover { background: var(--fill); }
.top-lang nav a[aria-current] { font-weight: 700; }
@media (max-width: 720px) {
  .top-nav .nav-in { display: none; }
  .top-bar { gap: .9rem; }
  .lang-cur { display: none; }
  .top-lang summary { padding: .45rem; }
}

/* ---- 按鈕與狀態 ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.5rem; border-radius: 999px;
  background: var(--btn); color: var(--btn-text); text-decoration: none; font-weight: 600; font-size: 1rem; }
.btn:hover { opacity: .88; }
.soon { display: inline-flex; align-items: center; gap: .55rem; min-height: 3rem; padding: 0 1.25rem; margin: 0; border-radius: 999px;
  background: var(--fill); color: var(--text); font-weight: 600; font-size: 0.9375rem; }
.soon-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.cta-center { justify-content: center; }
.more { font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* ---- 第一屏 ---- */
.hero { padding: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) 0 clamp(3rem, 2rem + 4vw, 6rem); }
.hero-grid { display: grid; gap: clamp(2.5rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.eyebrow { margin: 0 0 1.1rem; color: var(--soft); font-weight: 600; font-size: 0.9375rem; }
.hero h1 { font-size: clamp(2.375rem, 1.6rem + 2.6vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
.hero h1 .ln { display: block; }
.hero h1:lang(ja) { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem) !important; }
.hero h1:lang(zh-Hant), .hero h1:lang(zh-Hans), .hero h1:lang(ja), .hero h1:lang(ko) { font-size: clamp(2.125rem, 1.4rem + 2.9vw, 3.75rem); line-height: 1.18; letter-spacing: 0; }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--soft); margin: 1.4rem 0 2rem; max-width: 34em; }
.facts { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; color: var(--soft); font-size: 0.9375rem; }
.facts li::before { content: ""; display: inline-block; width: .35rem; height: .35rem; border-radius: 50%; background: currentColor;
  vertical-align: middle; margin-right: .5rem; opacity: .6; }
.hero-pic { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.9rem, .5rem + 1vw, 1.4rem); }
.hero-pic .hp-wide { grid-column: 1 / -1; }
.hero-pic img, .tile img, .stage img, .places-pic img, .ex-widget { filter: var(--tile-shadow); width: 100%; }

/* ---- 區段 ---- */
section[id] { scroll-margin-top: 4.5rem; }
.band { padding: clamp(3.5rem, 2rem + 5vw, 7rem) 0; }
.band-alt { background: var(--bg-alt); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.kicker { margin: 0 0 .75rem; color: var(--accent-text); font-weight: 700; font-size: 0.9375rem; }
.band h2 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem); font-weight: 800; letter-spacing: -0.025em; }
.band h2:lang(zh-Hant), .band h2:lang(zh-Hans), .band h2:lang(ja), .band h2:lang(ko) { letter-spacing: 0; }
.sec-intro { color: var(--soft); font-size: 1.125rem; margin: 1.1rem 0 0; }
.note { color: var(--soft); font-size: 0.9375rem; margin: 2rem 0 0; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }

/* 版型名稱 */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: 1.5rem; }
.chips-label { font-size: 0.875rem; font-weight: 700; color: var(--soft); }
.chips ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.chips li { background: var(--card); border-radius: 999px; padding: .3rem .85rem; font-size: 0.875rem; font-weight: 600; box-shadow: var(--shadow); }

/* 風格牆：4 欄，中尺寸佔 2 欄 */
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, .5rem + 1.2vw, 1.6rem) clamp(.9rem, .5rem + 1.2vw, 1.6rem);
  grid-auto-flow: dense; align-items: start; }
.tile { margin: 0; }
.tile-wide { grid-column: span 2; }
.tile figcaption { font-size: 0.8125rem; color: var(--soft); margin: .55rem 0 0 .35rem; }
.wall-toggle { position: absolute; opacity: 0; pointer-events: none; }
.wall-more { display: none; }
@media (max-width: 719px) {
  .tile.more { display: none; }
  .wall-more { display: flex; margin: 1.25rem auto 0; width: max-content; }
  .wall-toggle:checked ~ .wall .tile.more { display: block; }
  .wall-toggle:checked ~ .wall-more { display: none; }
}
.btn-soft { background: var(--fill); color: var(--text); cursor: pointer; }
.g-icons4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 720px) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 三步 */
.steps { list-style: none; padding: 0; margin: 0 0 clamp(2.5rem, 2rem + 2vw, 3.5rem); display: grid; gap: 1rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem 1.6rem 1.6rem; }
.step-n { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--btn);
  color: var(--btn-text); font-weight: 800; font-size: 1rem; margin-bottom: 1.1rem; }
.step h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.step p { margin: 0; color: var(--soft); font-size: 1rem; }
.exs { display: grid; gap: 1.25rem; }
.ex { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.ex h3 { font-size: 1.125rem; margin-bottom: 1.4rem; }
.ex-flow { display: grid; gap: .75rem; align-items: center; }
.ex-step { margin: 0; }
.ex-step figcaption { font-size: 0.875rem; color: var(--soft); margin-top: .6rem; text-align: center; }
.ex-photo, .ex-sheet { border-radius: var(--radius-s); width: 100%; }
.ex-sheet { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ex-arrow { color: var(--soft); display: grid; place-items: center; transform: rotate(90deg); }
@media (min-width: 860px) {
  .ex-flow { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.15fr); gap: 1.25rem; }
  .ex-arrow { transform: none; }
}

/* 左右兩欄 */
.split { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split-rev { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
}
.split .sec-head { margin-bottom: 0; }

/* 姿勢 */
.stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
.stage { margin: 0; }
.stage figcaption { display: flex; flex-wrap: wrap; gap: .1rem .6rem; align-items: baseline; margin: .6rem 0 0 .35rem; font-size: 0.875rem; }
.stage figcaption span { color: var(--soft); }
@media (max-width: 520px) { .stages { grid-template-columns: 1fr; } }

/* 放在哪裡 */
.places { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.4rem; }
.places li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; }
.pl-icon { width: 2.75rem; height: 2.75rem; padding: .55rem; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); }
.places h3 { font-size: 1.0625rem; margin: .15rem 0 .25rem; }
.places p { margin: 0; color: var(--soft); font-size: 0.96875rem; }
.places-pic { display: grid; gap: 1.1rem; }
.pp-lock img { border-radius: 26px; }
.pp-row { display: grid; grid-template-columns: 170fr 364fr; gap: 1.1rem; }

/* 倒數與累計 */
.counts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .counts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .counts { grid-template-columns: repeat(3, 1fr); } }
.counts li { background: var(--card); border-radius: var(--radius-s); box-shadow: var(--shadow); padding: 1.2rem 1.35rem; font-size: 1rem; }

/* 收費 */
.price { max-width: 46rem; margin: 0 auto; padding: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); text-align: center; }
.price h2 { margin-bottom: 1rem; }
.price p { color: var(--soft); font-size: 1.125rem; margin: 0 0 1.75rem; }

/* 常見問題 */
.faq { display: grid; gap: .75rem; }
@media (min-width: 900px) { .faq:not(.faq-doc) { grid-template-columns: 1fr 1fr; align-items: start; } }
.qa { background: var(--card); border-radius: var(--radius-s); box-shadow: var(--shadow); padding: 0 1.4rem; }
.qa summary { cursor: pointer; list-style: none; padding: 1.15rem 0; font-weight: 700; display: flex; justify-content: space-between; gap: 1rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-weight: 400; font-size: 1.375rem; line-height: 1; color: var(--soft); }
.qa[open] summary::after { content: "−"; }
.qa p { margin: 0 0 1.25rem; color: var(--soft); }

/* 結尾 */
.end { text-align: center; }
.end-pic { margin: 0 auto 2.5rem; max-width: 880px; }
.end-pic img { display: block; width: 100%; height: auto; border-radius: 28px; }
.end-in h2 { font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3.25rem); margin: 0 auto 2rem; max-width: 22em; }

/* ---- 文件頁（隱私、支援、404） ---- */
.doc { max-width: 44rem; margin: 0 auto; padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0 clamp(3rem, 2rem + 4vw, 6rem); }
.doc h1 { font-size: clamp(2.25rem, 1.6rem + 2.5vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
.doc h2 { font-size: 1.375rem; margin: 2.5rem 0 .75rem; }
.doc p, .doc li { color: var(--text); }
.doc .intro { font-size: 1.1875rem; color: var(--soft); }
.doc .updated { color: var(--soft); font-size: 0.9375rem; margin: 0 0 1.5rem; }
.doc ol, .doc ul { padding-left: 1.4rem; }
.doc li { margin: .4rem 0; }
.doc a { word-break: break-word; }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: 1.75rem 0 0; padding: 1.25rem 1.4rem;
  background: var(--card); border-radius: var(--radius-s); box-shadow: var(--shadow); font-weight: 600; }
.contact .btn { min-height: 2.6rem; font-size: 0.9375rem; }
.nf { margin-top: 2rem; }
.nf h2 { margin-top: 0; }

/* ---- 頁尾 ---- */
.foot { padding: 3rem 0 3.5rem; font-size: 0.9375rem; color: var(--soft); background: var(--bg-alt); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: baseline; }
.foot-brand { margin: 0; font-weight: 800; color: var(--text); font-size: 1.125rem; }
.foot-brand span { font-weight: 500; color: var(--soft); font-size: 0.875rem; margin-left: .6rem; }
.foot-links { margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.foot-links a, .foot-langs a { text-decoration: none; }
.foot-links a:hover, .foot-langs a:hover { color: var(--text); text-decoration: underline; }
.foot-langs { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 1.75rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.875rem; }
.foot-langs a[aria-current] { color: var(--text); font-weight: 700; }
.rights { margin: 1.25rem 0 0; font-size: 0.8125rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* AI 生圖教學頁（照 John 11-22 Claude Design 設計稿） */
.guide { max-width: 980px; margin: 0 auto; padding: 40px 20px 64px; display: flex; flex-direction: column; gap: 56px; box-sizing: border-box; font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
.guide h1 { margin: 0; font-size: clamp(34px, 8vw, 56px); line-height: 1.15; letter-spacing: -0.01em; font-weight: 800; text-wrap: balance; }
.guide h2 { margin: 0; }
.guide ul, .guide ol { margin: 0; }
.g-hero { display: flex; flex-direction: column; gap: 20px; }
.g-lead { margin: 0; font-size: clamp(17px, 2.4vw, 20px); color: var(--soft); max-width: 40em; text-wrap: pretty; }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.g-chip { background: var(--fill); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; }
.g-chip-hl { background: #FFDB40; color: #141414; font-weight: 700; }
.g-card { background: var(--card); border-radius: 28px; padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); }
.g-flowcard { padding: clamp(12px, 3vw, 24px); margin-top: 8px; }
.g-flow { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); align-items: center; column-gap: clamp(4px, 1.5vw, 14px); row-gap: 8px; }
.g-flow img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }
.g-flow .g-white { object-fit: contain; background: #fff; }
.g-flow .g-contain { object-fit: contain; }
.g-arrow { color: var(--soft); font-size: 18px; }
.g-flabel { font-size: 13px; color: var(--soft); text-align: center; line-height: 1.35; }
.g-prep { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.g-prep .g-card { display: flex; flex-direction: column; gap: 12px; }
.g-prep h2 { font-size: 22px; line-height: 1.3; }
.g-prep p { margin: 0; }
.g-prep ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.g-kinds { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.g-kinds figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.g-kinds img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 14px; }
.g-kinds img.g-white { object-fit: contain; background: #fff; }
.g-kinds figcaption { font-size: 15px; line-height: 1.45; }
.g-kinds figcaption span, .g-soft { color: var(--soft); }
.g-steps { display: flex; flex-direction: column; gap: 20px; }
.g-step { background: var(--card); border-radius: 32px; padding: clamp(20px, 4.5vw, 40px); box-shadow: var(--shadow); display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 40px); align-items: flex-start; }
.g-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.g-num { margin: 0; font-size: 18px; color: var(--soft); font-weight: 600; line-height: 1; }
.g-num span { font-size: 64px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.g-step h2 { font-size: clamp(24px, 4vw, 30px); line-height: 1.25; text-wrap: balance; }
.g-step ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 10px; }
.g-step p { margin: 0; }
.g-shots { flex: 1 1 300px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.g-shot { overflow: hidden; border-radius: 20px; background: #F6F5F2; }
.g-shot img { display: block; width: 100%; height: auto; }
.g-step2 { flex-direction: column; }
.g-step2 .g-text { flex: none; }
.g-icons { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; width: 100%; counter-reset: gi; }
.g-icons li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 15px; line-height: 1.4; font-weight: 600; }
.g-icons li:not(:last-child)::after { content: "→"; position: absolute; right: -10px; top: 26px; transform: translateX(50%); color: var(--soft); font-weight: 400; }
.g-ico { width: 64px; height: 64px; border-radius: 20px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.g-ico svg { width: 32px; height: 32px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.g-icons li:last-child .g-ico { background: #FFDB40; }
.g-icons li:last-child .g-ico svg { stroke: #141414; }
.g-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; width: 100%; }
.g-tip { margin: 0; background: var(--bg); border-radius: 18px; padding: 14px 18px; font-size: 15px; color: var(--soft); }
.g-tip strong { color: var(--text); margin-right: .5em; }
@media (max-width: 640px) {
  .g-icons { grid-template-columns: 1fr; gap: 10px; }
  .g-icons li { flex-direction: row; text-align: left; gap: 14px; }
  .g-icons li:not(:last-child)::after { content: none; }
  .g-ico { width: 52px; height: 52px; border-radius: 16px; flex: none; }
}
.g-h2 { font-size: clamp(26px, 4.5vw, 34px); line-height: 1.25; text-wrap: balance; margin: 0 0 20px !important; }
.g-check { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 40px); align-items: center; border-radius: 32px; padding: clamp(20px, 4.5vw, 40px); }
.g-sheet { flex: 1 1 340px; min-width: 0; position: relative; padding-left: 36px; }
.g-sheet img { display: block; width: 100%; height: auto; border-radius: 18px; background: #fff; }
.g-dot { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #FFDB40; color: #141414; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.g-mark { position: absolute; left: 0; transform: translateY(-50%); }
.g-rows { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.g-rows ol { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.g-rows ol li { display: flex; gap: 12px; align-items: flex-start; }
.g-rows ul { padding: 16px 0 0 1.2em; border-top: 1px solid var(--fill); display: flex; flex-direction: column; gap: 6px; color: var(--soft); }
.g-faq { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.g-qa { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); }
.g-qa summary { cursor: pointer; padding: 18px 20px; display: flex; gap: 14px; align-items: center; justify-content: space-between; font-weight: 600; list-style: none; }
.g-qa summary::-webkit-details-marker { display: none; }
.g-chev { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--fill); display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; transition: transform .2s; }
.g-qa[open] .g-chev { transform: rotate(45deg); }
.g-qa > div { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.g-qa p { margin: 0; }
.g-reply { quotes: none; display: block; background: var(--bg-alt); border-radius: 14px; padding: 12px 16px; font-weight: 600; user-select: all; -webkit-user-select: all; }
.g-end { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.g-end > p { margin: 0; font-size: 15px; max-width: 42em; }
.g-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; width: 100%; box-sizing: border-box; }
.g-cta p { margin: 0; font-size: 19px; font-weight: 700; flex: 1 1 240px; }

@media (max-width: 640px) { .g-icons4 { grid-template-columns: 1fr; } }
.wall-toggle:focus-visible ~ .wall-more { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 教學頁：裁到頭的前後對照 */
.g-crop { border-radius: 32px; padding: clamp(20px, 4.5vw, 40px); }
.g-crop-pair { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 16px; align-items: center; margin-bottom: 20px; }
.g-crop-pair figure { margin: 0; text-align: center; }
.g-crop-pair img { width: 100%; height: auto; display: block; }
.g-crop-pair figcaption { margin-top: 10px; font-size: .95rem; color: var(--soft, #6b6560); }
.g-crop ul { margin: 0; padding-left: 1.2em; line-height: 1.7; }
@media (max-width: 640px) { .g-crop-pair { grid-template-columns: 1fr; } .g-crop-pair .g-arrow { transform: rotate(90deg); justify-self: center; } }
