/* 攜手漫步：紙張＋水彩。兩頁共用：亮點首頁（index.html）與詳細說明（info/index.html）
   時間：快 .18s、一般 .35s、慢 .7s；主緩動 cubic-bezier(.22,1,.36,1) */
:root {
  --paper: #f6efe2;
  --paper-2: #fbf7ef;
  --ink: #2f2924;
  --ink-2: #574d44;
  --ink-3: #74685d;
  --line: rgba(47, 41, 36, .16);
  --coral: #e9805f; --coral-deep: #b04d2b;
  --wheat: #ecc05c; --wheat-deep: #86650f;
  --teal: #4ea492;  --teal-deep: #20665a;
  --berry: #de74a0; --berry-deep: #a23a67;
  --sky: #6f9fcf;   --sky-deep: #2f5f8f;
  --give: #a3401c; --give-2: #c4572a;
  --dusk: #2f2b4a;
  --acc: var(--coral); --acc-deep: var(--coral-deep);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --hand: "LXGW WenKai TC", "Kaiti TC", "BiauKai", "DFKai-SB", var(--serif);
  --pad: 18px;
  --gut: 30px;
  --gap: 14px;
  --top-h: 100px;
}
[data-acc="coral"] { --acc: var(--coral); --acc-deep: var(--coral-deep); }
[data-acc="wheat"] { --acc: var(--wheat); --acc-deep: var(--wheat-deep); }
[data-acc="teal"]  { --acc: var(--teal);  --acc-deep: var(--teal-deep); }
[data-acc="berry"] { --acc: var(--berry); --acc-deep: var(--berry-deep); }
[data-acc="sky"]   { --acc: var(--sky);   --acc-deep: var(--sky-deep); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; font: 16px/1.9 var(--sans); color: var(--ink); background: transparent; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.4; letter-spacing: .02em; text-wrap: balance; }
em { font-style: normal; }
b, strong { font-weight: 700; }
button { font: inherit; color: inherit; }
.nw { white-space: nowrap; }
.phrase .ph { word-break: keep-all; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- 底層：紙與水彩 ---------- */
.washes { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.wash { position: absolute; left: 0; top: 0; width: 70vmin; max-width: none; height: auto; opacity: 0; mix-blend-mode: multiply; will-change: transform, opacity; transform-origin: 50% 50%; }
.w-coral { opacity: .42; transform: translate(62vw, 4vh); }
.w-wheat { opacity: .36; transform: translate(74vw, 34vh) scale(.8); }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- 導覽列 ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 4px 16px; padding: 8px max(var(--pad), calc((100% - 1240px) / 2)) 8px;
  background: rgba(246, 239, 226, .97); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; min-width: 0; }
.brand-logo { height: 26px; width: auto; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 13px; letter-spacing: .04em; line-height: 1.3; color: var(--ink); white-space: nowrap; padding-left: 10px; border-left: 1px solid rgba(47, 41, 36, .25); }
.nav { display: flex; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; border: 1.5px solid rgba(47, 41, 36, .38); border-radius: 99px; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; text-decoration: none; transition: background .18s, border-color .18s; }
.nav-link:hover { background: var(--paper-2); border-color: var(--ink); }
.nav-link[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper-2); }

/* 「我想支持這份陪伴」：底下一雙手捧著；手機放在畫面底部 */
.nav-give { position: fixed; left: 50%; bottom: env(safe-area-inset-bottom); z-index: 41; transform: translateX(-50%); display: grid; justify-items: center; }
.btn-give { position: relative; z-index: 1; min-height: 56px; padding: 0 28px; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--give-2), var(--give)); box-shadow: 0 10px 24px rgba(160, 60, 20, .32), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-give .ic { color: #fff; width: 20px; height: 20px; }
.nav-give { transition: opacity .35s, transform .35s var(--ease); }
@media (max-width: 759px) { .nav-give { padding-top: 18px; } .nav-give::before { content: ""; position: absolute; left: 50%; width: 100vw; margin-left: -50vw; bottom: 0; height: 96px; z-index: -1; background: linear-gradient(rgba(246, 239, 226, 0), rgba(246, 239, 226, .94) 45%); pointer-events: none; } .nav-give.away::before { opacity: 0; } .give-hands { width: 140px; margin-top: -26px; } }
@media (max-width: 759px) { .nav-give.away { opacity: 0; transform: translate(-50%, 110%); pointer-events: none; } }
.give-hands { -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); position: relative; z-index: 0; width: 170px; max-width: none; margin-top: -30px; pointer-events: none; }

@media (min-width: 760px) {
  :root { --top-h: 108px; }
  .foot { padding-bottom: 34px; }
  .topbar { background: rgba(246, 239, 226, .97); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand give give" "nav nav nav"; padding-top: 10px; padding-bottom: 10px; }
  .brand { grid-area: brand; }
  .nav { grid-area: nav; }
  .nav-give { grid-area: give; position: relative; left: auto; bottom: auto; transform: none; justify-self: end; }
  .give-hands { position: absolute; top: calc(100% - 44px); left: 50%; width: 170px; margin: 0; transform: translateX(-50%); }
  .brand-logo { height: 34px; }
  .brand-name { font-size: 15px; }
  .nav-link { font-size: 15px; padding: 0 18px; min-height: 44px; }
  .nav { gap: 10px; }
}
@media (min-width: 1240px) {
  :root { --top-h: 80px; }
  .topbar { grid-template-areas: "brand nav give"; padding-top: 12px; padding-bottom: 12px; }
}

/* ---------- 按鈕 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 99px; border: 1.5px solid transparent; font: 700 16px/1.2 var(--sans); letter-spacing: .08em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .18s var(--ease), background .35s, box-shadow .35s, color .35s, opacity .35s; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink); color: var(--paper-2); }
.btn-glow { min-height: 58px; padding: 0 30px; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--give-2), var(--give)); box-shadow: 0 0 0 0 rgba(240, 130, 80, .5); animation: glow 2.6s ease-in-out infinite; }
.btn-glow .ic { color: #fff; width: 20px; height: 20px; }
.btn-next { min-height: 58px; padding: 0 24px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 17px; letter-spacing: .06em; box-shadow: 0 6px 16px rgba(47, 41, 36, .18); white-space: normal; text-align: center; }
.btn-line { min-height: 48px; padding: 0 22px; border-color: rgba(255, 255, 255, .85); background: transparent; color: #fff; font-size: 16px; }
.btn-line:hover { background: rgba(255, 255, 255, .1); }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(240, 130, 80, .45), 0 8px 20px rgba(160, 60, 20, .25); } 50% { box-shadow: 0 0 0 10px rgba(240, 130, 80, 0), 0 0 34px 8px rgba(255, 170, 110, .55); } }
/* 定期輕輕晃一下 */
@keyframes wiggle-soft { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-3deg); } 92% { transform: rotate(3deg); } 95% { transform: rotate(-1.5deg); } 98% { transform: rotate(1deg); } }
@keyframes wiggle-strong { 0%, 70%, 100% { transform: rotate(0) scale(1); } 74% { transform: rotate(-6deg) scale(1.05); } 78% { transform: rotate(6deg) scale(1.05); } 82% { transform: rotate(-5deg) scale(1.04); } 86% { transform: rotate(4deg) scale(1.02); } 90% { transform: rotate(-2deg); } }
@media (prefers-reduced-motion: no-preference) {
  .nav-give { animation: none; }
  .btn-give { animation: wiggle-soft 5s ease-in-out 2s infinite; }
  .btn-next { animation: wiggle-strong 3.2s ease-in-out 1s infinite; }
}

/* ---------- 亮點首頁：區段 1 ---------- */
main { position: relative; }
.s1 { overflow-x: clip; position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: calc(var(--top-h) + 28px) var(--pad) 50px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 20px; }
.hero-copy { position: relative; z-index: 1; }
.hero-pre { font-family: var(--hand); font-size: 17px; color: var(--ink-2); margin-bottom: 12px; letter-spacing: .04em; line-height: 1.6; }
.hero-pre-sep { margin: 0 .2em; color: var(--coral); }
@media (max-width: 899px) { .hero-pre { font-size: min(17px, 3.5vw); letter-spacing: 0; white-space: nowrap; } }
.display { font-size: min(8.6vw, 44px); line-height: 1.3; letter-spacing: .04em; margin-bottom: 20px; font-weight: 900; }
.display .line { display: block; overflow: hidden; padding-bottom: .06em; }
.display .line > span { display: inline-block; }
.display em { position: relative; color: var(--coral-deep); white-space: nowrap; }
.display em::after { content: ""; position: absolute; left: -.06em; right: -.06em; bottom: .04em; height: .26em; background: var(--wheat); opacity: .55; border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%; z-index: -1; transform-origin: 0 50%; }
.lead { font-size: 17px; color: var(--ink-2); margin: 0; }
.hero-art { display: grid; justify-items: center; gap: 26px; padding: 10px 0 0; }

.orbit { position: relative; width: min(74vw, 300px); aspect-ratio: 1; }
.orbit::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1.5px dashed rgba(47, 41, 36, .22); }
.orbit::after { content: ""; position: absolute; inset: 31%; border-radius: 50%; border: 1px solid rgba(47, 41, 36, .1); }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #fff3d6 0%, rgba(255, 196, 140, .75) 35%, rgba(255, 143, 122, 0) 70%); filter: blur(2px); animation: breathe 4s ease-in-out infinite; }
.orbit-ring { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.orbit-body { position: absolute; width: 27%; aspect-ratio: 1; margin: -13.5% 0 0 -13.5%; display: grid; place-items: center; }
.orbit-body img { width: 100%; animation: spin 60s linear infinite reverse; filter: drop-shadow(0 6px 10px rgba(120, 70, 40, .22)); }
.o1 { left: 50%; top: 12%; }
.o2 { left: 86.1%; top: 38.3%; }
.o3 { left: 72.3%; top: 80.7%; }
.o4 { left: 27.7%; top: 80.7%; }
.o5 { left: 13.9%; top: 38.3%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.15); opacity: .8; } }

/* 我的捐款會被用在哪一些地方 */
.uses-block { max-width: 46em; margin: 70px auto 0; }
.uses-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-family: var(--hand); font-weight: 400; font-size: clamp(22px, 3vw, 34px); line-height: 1.4; }
.uses-buddy { height: 84px; width: auto; flex: none; }
.pause-mini { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.6; margin: 30px 0; }
.pause-mini em { color: var(--sky-deep); }
.three-lead { font-family: var(--serif); font-weight: 700; font-size: clamp(19px, 2vw, 24px); margin: 34px 0 22px; line-height: 1.8; }
.three { font-size: 1.45em; padding: 0 .1em; background: linear-gradient(transparent 62%, rgba(236, 192, 92, .75) 62%, rgba(236, 192, 92, .75) 92%, transparent 92%); white-space: nowrap; }
.three-num { display: inline-block; font-size: 1.5em; line-height: 1; color: var(--coral-deep); font-weight: 900; margin-right: .06em; }
.three-list { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 16px; }
.three-item { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 12px; }
.three-item img { width: 58px; filter: drop-shadow(0 5px 8px rgba(80, 50, 30, .16)); }
.three-tag { display: block; padding: 14px 34px 14px 18px; font-family: var(--serif); font-weight: 700; font-size: clamp(18px, 2vw, 23px); line-height: 1.5; color: var(--ink); background: color-mix(in srgb, var(--acc) 24%, var(--paper-2)); border-left: 6px solid var(--acc); clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%); box-shadow: 0 6px 16px rgba(80, 50, 30, .08); }
.pair { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 22px; margin: 48px 0 0; }

/* ---------- 區段 2、3 ---------- */
.s2, .s3-top { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; padding: 40px var(--pad) 100px; }
.sec-title { text-align: center; font-family: var(--hand); font-weight: 400; font-size: clamp(26px, 4vw, 46px); line-height: 1.4; margin-bottom: 34px; }
.who-lead { text-align: center; max-width: 36em; margin: 0 auto; }
.who-lead .big { margin-bottom: 14px; }
.who-lead b { color: var(--coral-deep); }

.hands { position: relative; max-width: 760px; margin: 20px auto 0; }
.hands-img { width: 100%; }
.hands-heart { position: absolute; left: 55.5%; top: 61%; width: 2px; height: 2px; }
.hop { position: absolute; bottom: 30%; width: 14%; height: auto; pointer-events: none; filter: drop-shadow(0 8px 8px rgba(80, 50, 30, .18)); }
.hop-l { left: 26%; bottom: 36%; }
.hop-r { left: 60%; width: 16%; bottom: 29.5%; }
.pops { position: absolute; left: 55.5%; top: 52%; width: 0; height: 0; }
.pops i { position: absolute; width: 22px; height: 20px; margin: -10px 0 0 -11px; opacity: 0; background: var(--coral); clip-path: path("M11 20 L2 10.5 C-1 7 1 1 6 1 C8.5 1 10 2.5 11 4 C12 2.5 13.5 1 16 1 C21 1 23 7 20 10.5 Z"); }
.pops i:nth-child(even) { background: var(--berry); width: 16px; height: 15px; }

.growths { display: grid; gap: 52px 26px; margin-top: 40px; }
.s2 .growth, .growths-info .growth { position: relative; padding: 52px 24px 22px; border-radius: 22px; background: rgba(251, 247, 239, .9); border: 1.5px solid var(--line); box-shadow: 0 14px 30px rgba(80, 50, 30, .07); }
.s2 .growth-head, .growths-info .growth-head { position: absolute; top: -46px; left: 18px; width: 84px; margin: 0; filter: drop-shadow(0 6px 8px rgba(80, 50, 30, .16)); }
.growth-who { margin: 0 0 6px; font-size: 14px; letter-spacing: .08em; color: var(--ink-3); line-height: 1.6; }
.growth-who b { font-size: 17px; color: var(--acc-deep); letter-spacing: .1em; }
.s2 .growth h3 { font-size: clamp(21px, 2.2vw, 26px); margin-bottom: 12px; color: var(--ink); }
.s2 .growth p { font-size: 16px; color: var(--ink-2); }
.s2 .growth p b { color: var(--ink); }
.invite { text-align: center; font-family: var(--serif); font-weight: 700; font-size: clamp(19px, 2.2vw, 26px); margin: 46px auto 0; max-width: 24em; }

.stat-card { max-width: 900px; margin: 0 auto; padding: 30px 24px 22px; border-radius: 24px; background: #fbefcb; border: 1.5px solid var(--line); box-shadow: 0 16px 34px rgba(80, 50, 30, .08); }
.stat-intro { font-weight: 700; color: var(--ink-2); margin-bottom: 12px; }
.stat-grid { list-style: none; margin: 0; padding: 0 0 18px; display: grid; gap: 16px; border-bottom: 1.5px dashed var(--line); }
.stat-grid li { display: grid; }
.stat-verb { font-size: 14px; font-weight: 700; letter-spacing: .3em; color: var(--acc-deep); }
.stat-grid .stat-num { display: flex; align-items: baseline; gap: .18em; font-family: var(--serif); font-weight: 900; font-size: clamp(48px, 7vw, 76px); line-height: 1.1; color: var(--acc-deep); font-variant-numeric: tabular-nums; text-shadow: 0 0 26px color-mix(in srgb, var(--acc) 55%, transparent); }
.stat-grid .stat-num small { font-size: .3em; color: var(--ink); text-shadow: none; }
.stat-grid .stat-unit { font-weight: 700; font-size: 17px; }
.stat-foot { margin: 14px 0 0; font-size: 17px; color: var(--ink-2); }
.stat-foot b { color: var(--ink); font-size: 1.1em; }
.stat-foot em { color: var(--coral-deep); font-family: var(--serif); font-weight: 900; font-size: 1.3em; }
.stat-foot .dot { margin: 0 .5em; color: var(--berry); }
.hours { max-width: 30em; margin: 60px auto 0; text-align: center; font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.7; }
.hours-num { display: block; margin: 6px 0; font-size: clamp(64px, 11vw, 128px); line-height: 1.1; font-weight: 900; color: #c75a2a; font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(255, 170, 90, .8), 0 0 44px rgba(255, 190, 110, .7), 0 0 80px rgba(255, 200, 120, .5); }

/* 沒按按鈕之前，區段 2、3 先收起來（程式啟動後才會收） */
.js [data-gate].locked { display: none; }

/* ---------- 詳細說明：路與章節 ---------- */
.page-info main { padding-top: var(--top-h); }
.chapter { position: relative; z-index: 2; display: flex; justify-content: center; max-width: 1180px; margin: 0 auto; padding: 90px var(--pad) 0; scroll-margin-top: calc(var(--top-h) + 10px); }
#origin { padding-top: 46px; }
.chapter-pill { display: inline-flex; align-items: center; min-height: 54px; padding: 6px 30px; border-radius: 99px; background: color-mix(in srgb, var(--acc) 30%, var(--paper-2)); border: 1.5px solid var(--acc-deep); font-weight: 900; font-size: clamp(22px, 3vw, 32px); letter-spacing: .12em; color: var(--ink); }

.trail { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; pointer-events: none; }
.trail path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.trail .t-dots { stroke: #3d332c; stroke-width: 7; stroke-dasharray: 0 15; }
.trail .t-wash { stroke: var(--wheat); stroke-width: 14; opacity: .4; }
.trail .t-ink { stroke: #3d332c; stroke-width: 2.6; }
.trail .t-glow { stroke: var(--berry); stroke-width: 10; opacity: .25; }
.trail .t-wave { stroke: var(--berry-deep); stroke-width: 3; }
.trail .t-mask { stroke: #fff; stroke-width: 30; }
.trail .t-tip { fill: var(--coral); }
.trail .t-halo { fill: var(--coral); opacity: .22; }
.trail .node .n-ring { fill: none; stroke: var(--wheat); stroke-width: 2; opacity: 0; }
.trail .node .n-core { fill: var(--paper-2); stroke: #3d332c; stroke-width: 1.6; transition: fill .4s; }
.trail .node .n-glyph { fill: var(--ink-3); transition: fill .4s; }
.trail .node .n-glow { fill: var(--wheat); opacity: 0; transition: opacity .6s; }
.trail .node.lit .n-core { fill: #fff6d8; }
.trail .node.lit .n-glyph { fill: var(--coral-deep); }
.trail .node.lit .n-glow { opacity: .55; }
.trail .node.lit .n-ring { animation: ring 1.6s var(--ease) both; }
.trail .node.lit .n-ring + .n-ring { animation-delay: .25s; }
@keyframes ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }
.trail .node .n-ring { transform-box: fill-box; transform-origin: center; }
.trail .node.quiet .n-ring { animation: none; }
@media (max-width: 899px) { .trail .t-dots { stroke-width: 5; stroke-dasharray: 0 11; } .trail .t-wash { stroke-width: 9; } .trail .t-ink { stroke-width: 2; } }

.st { position: relative; display: grid; grid-template-columns: var(--gut) minmax(0, 1fr); column-gap: var(--gap); max-width: 1180px; margin: 0 auto; padding: 100px var(--pad) 50px; }
.st-road { position: relative; z-index: 1; }
.st-body { position: relative; z-index: 1; min-width: 0; max-width: 46em; }
.buddy { position: absolute; top: -84px; left: calc(100vw - 2 * var(--pad) - 76px); height: 80px; width: auto; max-width: none; pointer-events: none; filter: drop-shadow(0 8px 10px rgba(80, 50, 30, .1)); }
.st-no { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .24em; color: var(--ink-3); }
.st-no > span:first-child { white-space: nowrap; color: var(--acc-deep); font-family: var(--serif); font-size: 16px; letter-spacing: .16em; }
.big { font-size: clamp(23px, 2.9vw, 38px); font-weight: 600; line-height: 1.6; letter-spacing: .03em; margin: 0 0 28px; font-family: var(--serif); text-wrap: pretty; }
.big-sm { font-size: clamp(20px, 2.2vw, 28px); }
.big em, .text-lg em { color: var(--acc-deep); background: linear-gradient(transparent 64%, color-mix(in srgb, var(--acc) 34%, transparent) 64%, color-mix(in srgb, var(--acc) 34%, transparent) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.text-lg { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); }

.screen { margin: 44px 0 0; max-width: 38em; }
.screen-frame { position: relative; padding: 34px 26px 26px; border: 2px solid var(--ink); border-radius: 22px 26px 20px 24px; background: rgba(251, 247, 239, .78); box-shadow: 6px 8px 0 color-mix(in srgb, var(--sky) 45%, transparent); }
.screen-frame p { margin: 0; font-size: 17px; line-height: 1.95; }
.screen-dot { position: absolute; top: 12px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--sky-deep); }
.screen-stand { display: block; width: 90px; height: 22px; margin: -2px auto 0; border: 2px solid var(--ink); border-top: 0; border-radius: 0 0 10px 10px; clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); background: rgba(251, 247, 239, .78); }

.stats-intro { font-size: clamp(19px, 2vw, 24px); font-weight: 600; margin-bottom: 18px; }
.stats { list-style: none; margin: 0 0 52px; padding: 0; display: grid; gap: 14px; }
.stats li { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "verb verb" "num unit"; align-items: baseline; column-gap: 12px; padding: 14px 0 12px; border-bottom: 1.5px dashed var(--line); }
.stats .stat-verb { grid-area: verb; font-size: 13px; color: var(--ink-3); }
.stats .stat-num { grid-area: num; font-family: var(--serif); font-weight: 900; font-size: clamp(46px, 5vw, 66px); line-height: 1.05; color: var(--acc-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stats .stat-num::first-letter { font-size: .42em; }
.stats .stat-unit { grid-area: unit; font-family: var(--serif); font-weight: 600; font-size: clamp(17px, 1.7vw, 21px); }

.more { margin: 8px 0 0; }
.more summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 18px; border: 1.5px solid var(--line); border-radius: 99px; background: rgba(251, 247, 239, .7); font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--ink-2); cursor: pointer; list-style: none; transition: background .18s, border-color .18s; }
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { background: var(--paper-2); border-color: rgba(47, 41, 36, .32); }
.more summary .ic { transition: transform .35s var(--ease); }
.more[open] summary .ic { transform: rotate(180deg); }
.more-close, .more[open] .more-open { display: none; }
.more[open] .more-close { display: inline; }
.more-body { padding: 18px 0 0 18px; margin-top: 12px; border-left: 2px solid color-mix(in srgb, var(--acc) 55%, transparent); color: var(--ink-2); }
.more-body p:last-child { margin-bottom: 0; }

.st-pause { padding-top: 70px; padding-bottom: 70px; }
.st-pause .st-body { display: flex; align-items: center; min-height: 40svh; }
.pause-line { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(27px, 4.4vw, 58px); line-height: 1.5; letter-spacing: .04em; }
.pause-line em { color: var(--sky-deep); }

.ifs-title { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; color: var(--ink-2); margin-bottom: 18px; }
.ifs { list-style: none; margin: 0 0 44px; padding: 0; display: grid; gap: 26px; }
.ifs li { font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 2.6vw, 33px); line-height: 1.55; letter-spacing: .03em; }
.if-word { display: inline-block; margin-right: .2em; color: var(--coral-deep); font-weight: 900; position: relative; }
.if-word::after { content: ""; position: absolute; inset: -.12em -.22em -.06em; border: 2px solid var(--coral); border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%; transform: rotate(-4deg); opacity: .8; }
.believe { color: var(--ink); font-weight: 700; }

.goal-title { font-size: clamp(40px, 6.4vw, 88px); font-weight: 900; letter-spacing: .05em; line-height: 1.2; margin-bottom: 22px; }
.layers-map { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.layers-map li { position: relative; }
.layers-map a { display: grid; justify-items: center; gap: 2px; padding: 14px 6px 12px; border-radius: 18px; text-decoration: none; text-align: center; min-height: 44px; transition: background .18s; }
.layers-map a:hover { background: rgba(251, 247, 239, .8); }
.layers-map span:not(.mini) { font-size: 12px; letter-spacing: .08em; color: var(--ink-3); line-height: 1.5; }
.layers-map b { font-family: var(--serif); font-weight: 900; font-size: 34px; line-height: 1.2; }
.mini { width: 60px; height: 40px; fill: var(--coral); stroke: var(--teal-deep); }
.layers-map li:nth-child(2) .mini { fill: var(--teal); }
.mini-wash { display: block; position: relative; }
.mini-wash img { position: absolute; left: 50%; top: 50%; width: 58px; transform: translate(-50%, -50%); opacity: .8; }
.layers-map li + li::before { content: ""; position: absolute; left: -9px; top: 32px; width: 8px; height: 8px; border-top: 2px solid var(--ink-3); border-right: 2px solid var(--ink-3); transform: rotate(45deg); }

.layer-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; margin-bottom: 30px; }
.glyph-wrap { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.emb { position: absolute; inset: 0; width: 100%; height: 100%; }
.emb-dot .ink { fill: var(--coral); }
.emb-dot .spl { fill: var(--coral-deep); }
.emb-line .thread { stroke: var(--teal-deep); stroke-width: 6; stroke-linecap: round; }
.emb-line .knot { fill: var(--teal); }
.emb-plane .pw { position: absolute; width: 100%; height: 100%; max-width: none; mix-blend-mode: multiply; }
.pw-1 { opacity: .7; transform: translate(-14%, -6%) scale(1.05); }
.pw-2 { opacity: .55; transform: translate(16%, 4%) scale(.9); }
.pw-3 { opacity: .5; transform: translate(-2%, 18%) scale(.85); }
.glyph { position: relative; font-family: var(--serif); font-weight: 900; font-size: 62px; line-height: 1; color: var(--ink); }
.layer-title h3 { font-size: clamp(19px, 2.6vw, 32px); }

.form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 34px 0 0; padding: 18px 0; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.form strong { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); font-weight: 700; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 9px; border: 1.5px solid var(--ink); border-radius: 5px 7px 4px 6px; background: var(--paper-2); font-size: 13px; font-weight: 700; letter-spacing: .18em; line-height: 1.5; color: var(--ink); transform: rotate(-1.2deg); }
.tag .ic { width: 15px; height: 15px; color: var(--acc-deep); }

/* 照片 */
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0 0; }
.photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 6px solid var(--paper-2); border-radius: 8px; box-shadow: 0 12px 26px rgba(60, 40, 25, .14); transform: rotate(-1.4deg); }
.photos img + img { transform: rotate(1.6deg) translateY(10px); }

.track { margin-top: 60px; }
.track + .track { margin-top: 80px; }
.track-title { font-size: clamp(21px, 2.4vw, 30px); font-weight: 700; margin-bottom: 24px; line-height: 1.5; }
.track-no { color: var(--acc-deep); }

/* 我們相信／執行目標／我們期待／執行經驗：按了才跳出來 */
.facet { margin-bottom: 26px; }
.facet .tag { margin-bottom: 12px; }
.facet > p { font-size: clamp(16.5px, 1.5vw, 18.5px); }
.facet > p:last-child { margin-bottom: 0; }
.tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tab { display: inline-flex; align-items: center; gap: 7px; min-height: 46px; padding: 0 18px; border: 1.5px solid rgba(47, 41, 36, .3); border-radius: 99px; background: rgba(251, 247, 239, .7); font-size: 15.5px; font-weight: 700; letter-spacing: .1em; cursor: pointer; transition: background .18s, border-color .18s, box-shadow .18s; }
.tab .ic { width: 16px; height: 16px; color: var(--acc-deep); }
.tab:hover { border-color: var(--ink); background: var(--paper-2); }
.tab[aria-selected="true"] { background: color-mix(in srgb, var(--acc) 38%, var(--paper-2)); border-color: var(--acc-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 30%, transparent); }
.facets.tabbed { padding: 0; }
.facets.tabbed .facet { margin: 0; padding: 24px 22px 22px; border-radius: 22px; background: rgba(251, 247, 239, .86); border: 1.5px solid var(--line); }
.facets.tabbed .facet > .tag { display: none; }
.facets.tabbed .facet:not([hidden]) { animation: facetIn .45s var(--ease) both; }
@keyframes facetIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hope-lead { margin: 0 0 18px; font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 1.7vw, 21px); }
.hope-tail { margin: 0; font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); }
.hope-tail b { color: var(--ink); }

/* 孩子說的話：對話框 */
.chat { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.bubble { display: flex; align-items: flex-end; gap: 10px; max-width: 34em; }
.bubble:nth-child(even) { flex-direction: row-reverse; margin-left: auto; }
.bubble img { width: 52px; flex: none; filter: drop-shadow(0 4px 6px rgba(80, 50, 30, .16)); }
.bubble span { display: block; padding: 10px 18px; border-radius: 22px 22px 22px 6px; background: #fff; border: 1.5px solid color-mix(in srgb, var(--acc) 70%, transparent); font-family: var(--hand); font-size: clamp(18px, 2vw, 23px); line-height: 1.55; color: var(--ink); box-shadow: 0 6px 14px rgba(80, 50, 30, .07); }
.bubble:nth-child(even) span { border-radius: 22px 22px 6px 22px; }
.js .chat .bubble { opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .9, .3, 1.3); }
.js .chat.in .bubble { opacity: 1; transform: none; }
.js .chat.in .bubble:nth-child(2) { transition-delay: .4s; }
.js .chat.in .bubble:nth-child(3) { transition-delay: .8s; }
.js .chat.in .bubble:nth-child(4) { transition-delay: 1.2s; }

.st-hands { position: relative; z-index: -1; max-width: 900px; margin: 0 auto; padding: 60px var(--pad) 40px; }

/* 捐款用途 */
.aside-line { font-family: var(--hand); font-size: clamp(21px, 2.3vw, 28px); color: var(--acc-deep); margin: -8px 0 40px; }
.growths-info { margin-top: 60px; }
.growth h4 { font-size: clamp(21px, 2vw, 26px); margin-bottom: 12px; }
.growth h4 span { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .24em; color: var(--acc-deep); }
.growths-info .growth p { font-size: 15.5px; color: var(--ink-2); }
.growth p:last-child { margin-bottom: 0; }
.two-way { margin: 60px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--acc); }
.two-way-big { font-family: var(--serif); font-weight: 700; font-size: clamp(21px, 2.4vw, 30px); line-height: 1.6; }
.two-way p:last-child { margin: 0; color: var(--ink-2); }
.uses-title { font-family: var(--hand); font-weight: 400; font-size: clamp(24px, 3vw, 38px); margin-bottom: 26px; }
.uses-text { font-size: clamp(16px, 1.5vw, 18px); line-height: 2.15; margin-bottom: 48px; }
.uses-text b { color: var(--ink); }
.chip { white-space: nowrap; padding: .12em .5em; border-radius: 8px; background: color-mix(in srgb, var(--acc) 22%, transparent); color: var(--ink); font-weight: 500; }
.firsts { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 18px; }
.firsts li { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 16px; }
.firsts img { width: 52px; }
.firsts p { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 2vw, 24px); line-height: 1.6; }
.firsts b { color: var(--acc-deep); }

.to-top { position: fixed; right: 12px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 42; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 10px 22px rgba(47, 41, 36, .28); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.to-top .ic { width: 24px; height: 24px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 760px) { .to-top { right: 24px; bottom: 24px; width: 58px; height: 58px; } }

/* ---------- 結尾：天色轉成傍晚 ---------- */
.finale { position: relative; z-index: 1; padding-top: 40px; }
.finale-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 30px var(--pad) 0; text-align: center; }
.finale-sky { background: linear-gradient(180deg, rgba(246, 239, 226, 0) 0%, #f6e1cc 50%, #f1cdb2 100%); padding-bottom: 28px; }
.meet { position: relative; max-width: 720px; margin: 0 auto 34px; }
.trail-end { position: absolute; left: 50%; top: 4%; width: 2px; height: 2px; }
.finale-title { font-size: clamp(32px, 5.2vw, 66px); font-weight: 900; letter-spacing: .08em; margin-bottom: 18px; }
.finale-lead { font-family: var(--serif); font-weight: 600; font-size: clamp(17px, 2vw, 23px); line-height: 1.8; margin: 0 auto; }
.finale-night { position: relative; z-index: 1; background: linear-gradient(180deg, #f1cdb2 0, #c9918c 50px, #6c5878 120px, var(--dusk) 200px, #24223b 100%); color: #fbf3e8; padding: 120px var(--pad) 0; text-align: center; }

.infinity { max-width: 720px; margin: 0 auto 40px; padding: 34px 20px 30px; border-radius: 28px; background: radial-gradient(ellipse at 50% 30%, #2a2547 0%, #141226 70%); box-shadow: inset 0 0 0 1px rgba(246, 213, 142, .14), 0 20px 50px rgba(0, 0, 0, .3); }
.inf-eq { display: flex; justify-content: center; align-items: center; flex-wrap: nowrap; gap: .12em; margin: 0; font-family: var(--serif); font-weight: 900; font-size: clamp(40px, 9vw, 84px); line-height: 1.1; color: #ffe7b0; text-shadow: 0 0 12px rgba(255, 210, 140, .9), 0 0 34px rgba(255, 170, 100, .6); }
.inf-eq i { font-style: normal; font-size: .7em; color: #ffd6b8; }
.inf-sym { width: 1.9em; height: .95em; overflow: visible; filter: drop-shadow(0 0 6px rgba(255, 200, 130, .9)) drop-shadow(0 0 18px rgba(255, 150, 110, .6)); }
.inf-base { fill: none; stroke: rgba(246, 213, 142, .28); stroke-width: 9; stroke-linecap: round; }
.inf-flow { fill: none; stroke: url(#infGrad); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 34 66; animation: flow 2.8s linear infinite; }
@keyframes flow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.inf-text { margin: 16px 0 0; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.6vw, 30px); color: #fff3d6; text-shadow: 0 0 14px rgba(255, 200, 140, .6); }

.donate { max-width: 720px; margin: 0 auto; padding: 30px 22px 26px; border-radius: 26px; border: 1.5px solid rgba(251, 243, 232, .28); background: rgba(251, 243, 232, .06); }
.donate h3 { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 26px; margin-bottom: 6px; }
.donate h3 .ic { width: 26px; height: 26px; color: var(--coral); }
.donate > p { margin: 0 0 20px; color: #eadfd2; font-size: 17px; }

.ways { display: grid; gap: 12px; }
.way { display: grid; justify-items: center; gap: 4px; width: 100%; min-height: 92px; padding: 16px 14px; border-radius: 20px; border: 2px solid transparent; background: linear-gradient(135deg, var(--give-2), var(--give)); color: #fff; text-decoration: none; text-align: center; cursor: pointer; box-shadow: 0 10px 22px rgba(160, 60, 20, .25); transition: transform .18s var(--ease), box-shadow .35s; }
.way:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(160, 60, 20, .32); }
.way b { font-size: clamp(18px, 1.6vw, 20px); letter-spacing: .06em; line-height: 1.35; }
.way > span { font-size: 14.5px; line-height: 1.5; opacity: .95; }
.way-ic { width: 26px; height: 26px; }
.way + .way { background: linear-gradient(135deg, #3f72a8, #2f5f8f); box-shadow: 0 10px 22px rgba(30, 60, 100, .25); }
.signoff { margin: 56px 0 0; font-family: var(--hand); font-size: clamp(24px, 3vw, 34px); color: #f6d58e; }
.deeper { margin: 56px auto 0; max-width: 720px; }
.deeper > p { font-family: var(--hand); font-size: clamp(20px, 2.4vw, 26px); color: #fbf3e8; margin-bottom: 18px; }
.deeper-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.foot { margin-top: 70px; padding: 26px 0 calc(140px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(251, 243, 232, .14); }
.foot p { margin: 0; font-size: 13px; letter-spacing: .2em; color: #cfc3d6; }

/* ---------- 捐款彈跳視窗 ---------- */
.dlg-open, .dlg-open body { overflow: hidden; }
.dlg { width: min(760px, calc(100% - 20px)); max-height: min(92svh, 900px); padding: 0; border: 0; border-radius: 26px; background: var(--paper-2); color: var(--ink); box-shadow: 0 30px 80px rgba(20, 15, 30, .45); overflow: hidden; }
.dlg::backdrop { background: rgba(28, 22, 40, .58); backdrop-filter: blur(3px); }
.dlg[open] { display: flex; flex-direction: column; animation: dlgIn .4s var(--ease) both; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.dlg-in { position: relative; overflow-y: auto; padding: 30px 20px 26px; overscroll-behavior: contain; }
.dlg-x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(47, 41, 36, .08); cursor: pointer; }
.dlg-x .ic { width: 22px; height: 22px; }
.dlg-x:hover { background: rgba(47, 41, 36, .15); }
.dlg-kicker { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--give); }
.dlg-title { font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; margin: 0 50px 6px 0; line-height: 1.35; }
.dlg-sub { margin: 0 0 22px; color: var(--ink-2); font-size: 16px; }
.dlg-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0 0 8px -6px; padding: 0 12px 0 6px; border: 0; border-radius: 99px; background: none; font-size: 15px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.dlg-back:hover { background: rgba(47, 41, 36, .07); }
.steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1.5px solid var(--line); }
.step-text p { margin: 0; font-size: 17px; line-height: 1.75; }
.step-text p + p { margin-top: 6px; }
.step-text .step-note { font-size: 15px; color: var(--ink-2); }
.step-no { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 10px; border-radius: 50%; background: var(--give); color: #fff; font-size: 17px; vertical-align: 2px; }
.step-text strong { color: var(--give); }
.copy-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 12px 12px 16px; border-radius: 14px; background: #f8e8d6; }
.copy-text { flex: 1 1 14em; font-weight: 700; font-size: 16.5px; line-height: 1.6; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; font-size: 15.5px; font-weight: 700; letter-spacing: .06em; cursor: pointer; }
.copy-btn.done { background: var(--teal-deep); }
.btn-go { display: flex; width: 100%; min-height: 60px; font-size: 19px; color: #fff; background: linear-gradient(135deg, var(--give-2), var(--give)); box-shadow: 0 10px 24px rgba(160, 60, 20, .3); }
.btn-go .ic { color: #fff; }
.btn-go[aria-disabled="true"] { background: #b9ada3; box-shadow: none; pointer-events: none; }
.go-wait { margin: 10px 0 0; text-align: center; color: var(--ink-2); font-size: 15px; }

/* 步驟示意圖：畫一個簡化的捐款頁，標出要按的地方 */
.mock { position: relative; display: grid; align-content: center; gap: 7px; width: 100%; max-width: 280px; min-height: 120px; margin: 0 auto; padding: 14px; border-radius: 14px; background: #f4f1ec; border: 1.5px solid var(--line); font-size: 12px; line-height: 1.3; color: var(--ink-2); }
.mock > * { min-width: 0; }
.m-row { display: block; height: 14px; border-radius: 7px; background: #e3ddd4; }
.m-row:nth-child(2) { width: 82%; }
.m-row:nth-child(3) { width: 90%; }
.mock-items .m-hot { display: flex; align-items: center; gap: 6px; height: auto; padding: 7px 8px; background: #fff; font-weight: 700; color: var(--ink); white-space: nowrap; }
.m-radio { width: 12px; height: 12px; flex: none; border-radius: 50%; border: 3.5px solid var(--give); background: #fff; }
.m-input { position: relative; display: block; flex: 1; min-width: 0; height: 26px; padding: 0 8px; border: 1.5px solid #c8bfb4; border-radius: 6px; background: #fff; overflow: hidden; font-weight: 500; line-height: 23px; }
.m-hot { outline: 2.5px solid var(--give); outline-offset: 2px; animation: hot 1.8s ease-in-out infinite; }
@keyframes hot { 50% { outline-color: rgba(201, 83, 42, .25); } }
.m-typing span { display: block; width: 0; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--ink); animation: typing 5s steps(26) infinite; }
@keyframes typing { 0% { width: 0; } 60%, 92% { width: 100%; } 100% { width: 100%; } }
.m-label { font-weight: 700; color: var(--ink); }
.m-big { height: 40px; font-size: 20px; line-height: 37px; font-weight: 700; color: var(--ink); }
.mock-amount .m-big, .mock-quick .m-big { outline: 2.5px solid var(--give); outline-offset: 2px; animation: hot 1.8s ease-in-out infinite; }
.m-num { display: inline-block; animation: num 3s steps(1) infinite; }
@keyframes num { 0% { opacity: 0; } 25% { opacity: 1; } }
.mock-ways { grid-template-columns: repeat(3, 1fr); }
.m-tile { display: grid; place-items: center; aspect-ratio: 1.3; border-radius: 10px; background: #fff; border: 1.5px solid #e3ddd4; font-weight: 700; color: var(--ink); font-size: 12.5px; }
.m-tile:not(.m-hot) { opacity: .5; }
.mock-form .m-field { display: block; height: 26px; border-radius: 6px; border: 1.5px solid #d3cbc0; background: #fff; }
.mock-form .m-short { width: 60%; }
.m-ok { position: absolute; right: 14px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-deep); color: #fff; animation: ok 3s var(--ease) infinite; }
@keyframes ok { 0%, 30% { transform: scale(0); } 45%, 100% { transform: scale(1); } }
.m-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.m-quick i { display: grid; place-items: center; min-height: 28px; border-radius: 6px; background: #e8907a; color: #fff; font-style: normal; font-weight: 700; font-size: 11.5px; }
.m-quick .m-hot { background: var(--give); }

/* ---------- 桌機 ---------- */
@media (min-width: 640px) {
  .ways { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 220px minmax(0, 1fr); align-items: center; }
  .mock { max-width: none; }
  .dlg-in { padding: 34px 32px 30px; }
}
@media (min-width: 900px) {
  :root { --pad: 32px; --gut: 230px; --gap: 32px; }
  body { font-size: 17px; }
  .hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 30px; min-height: calc(100svh - var(--top-h) - 60px); }
  .hero-pre { font-size: 19px; white-space: nowrap; }
  .display { font-size: min(4.4vw, 60px); }
  .lead { font-size: clamp(16px, 1.55vw, 20px); white-space: nowrap; }
  .orbit { width: min(100%, 360px); }
  .uses-head { gap: 18px; }
  .uses-buddy { height: 110px; }
  .three-item { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .three-item img { width: 72px; }
  .growths { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .s2 .growth { padding: 58px 30px 26px; }
  .stat-card { padding: 36px 40px 26px; }
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st { padding-top: 120px; padding-bottom: 70px; }
  .st[data-side="r"] { grid-template-columns: minmax(0, 1fr) var(--gut); }
  .st[data-side="r"] .st-road { order: 2; }
  .st[data-side="r"] .st-body { justify-self: end; }
  .buddy { position: sticky; top: 34vh; left: auto; display: block; height: auto; width: 116px; margin: 60px 0 0 104px; }
  .st[data-side="r"] .buddy { margin-left: 4px; }
  .screen-frame { padding: 40px 38px 34px; }
  .screen-frame p { font-size: 18px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
  .stats li { grid-template-areas: "verb" "num" "unit"; grid-template-columns: 1fr; border-bottom: 0; border-top: 1.5px dashed var(--line); }
  .glyph-wrap { width: 160px; height: 160px; }
  .glyph { font-size: 104px; }
  .layer-head { gap: 30px; }
  .photos { gap: 20px; }
  .facets.tabbed .facet { padding: 30px 32px 28px; }
  .bubble img { width: 60px; }
  .growths-info { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .firsts li { grid-template-columns: 64px minmax(0, 1fr); }
  .firsts img { width: 64px; }
  .layers-map { gap: 20px; }
  .layers-map li + li::before { left: -14px; }
  .finale-night { padding-top: 140px; }
  .ways-inline .way { min-height: 104px; }
}
@media (min-width: 900px) and (max-width: 1100px) { :root { --gut: 190px; } .buddy { margin-left: 70px; width: 104px; } }

/* ---------- 動態（程式啟動後才加隱藏狀態） ---------- */
.motion [data-reveal], .motion .growth-head, .motion .three-item, .motion .hop { opacity: 0; }
.motion .buddy { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .display .line > span { animation: rise 1.1s var(--ease) both; }
  .display .line:nth-child(2) > span { animation-delay: .12s; }
  .display em::after { animation: swipe 1s .7s var(--ease) both; }
  .hero-pre { animation: fade .9s .1s var(--ease) both; }
  .lead { animation: fade .9s .45s var(--ease) both; }
  .hero-art { animation: fade 1.2s .3s var(--ease) both; }
  .uses-buddy { animation: hop 2.6s ease-in-out infinite; transform-origin: 50% 100%; }
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes swipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hop { 0%, 40%, 100% { transform: translateY(0) scale(1, 1); } 10% { transform: translateY(0) scale(1.06, .92); } 22% { transform: translateY(-16px) scale(.96, 1.05) rotate(-4deg); } 32% { transform: translateY(0) scale(1.04, .95); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover { transform: none; }
  .m-typing span { width: 100%; border: 0; }
  .m-ok { transform: none; }
}
