/* TUNA Hair v3 — 手寫塗抹。
   規則：圖像先行、字壓在圖上、標題一律手寫、說明一律粉色等寬字、不用白卡片與分隔線、
   顏料筆觸是唯一的「框」。底色取自照片暗部，不用米色。 */
@view-transition { navigation: auto; }

:root {
  --bg: #14100F;
  --bg2: #1E1816;
  --paint: #F4F4F1;
  --ink: #14100F;
  --fg: #F4F4F1;
  --pink: #F4B8D9;
  --lip: #D9506A;
  --mute: #A39A96;
  --line: rgba(244, 244, 241, .16);
  --desk: #0A0807;
  --hand: "Iansui", "Nanum Pen Script", "Noto Sans TC", cursive;
  --pen: "Nanum Pen Script", "Iansui", cursive;
  --mono: "DM Mono", ui-monospace, "Noto Sans TC", monospace;
  --sans: "Noto Sans TC", system-ui, -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --disp: "Outfit", "Noto Sans TC", sans-serif;
  --col: 500px;
  --nav-h: 62px;
  --pad: 22px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
:root { --tz: 1; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; background: var(--desk); }
body { margin: 0; background: var(--desk); color: var(--fg); font: 400 calc(16px * var(--tz, 1))/1.8 var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.ic { width: 22px; height: 22px; }
svg.fill { fill: currentColor; stroke: none; }

.app { position: relative; width: min(100%, var(--col)); min-height: 100dvh; margin: 0 auto; background: var(--bg); container-type: inline-size; overflow-x: clip;
  padding-bottom: calc(var(--nav-h) + 30px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 0 120px rgba(0, 0, 0, .8); }

/* 回饋：按下縮一下，並在落點濺出一滴粉色顏料 */
.press { transition: scale .32s var(--spring), rotate .4s var(--spring), opacity .2s; }
.press:active { scale: .95; transition-duration: .08s; }
.ink-splat { position: fixed; z-index: 300; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--pink); pointer-events: none; filter: url(#paint); animation: splat .5s var(--ease) forwards; }
@keyframes splat { to { scale: 7; opacity: 0; } }

/* 底部導覽：深色玻璃，選中的那格是一筆白顏料 */
.tab { position: fixed; z-index: 50; left: 50%; bottom: 0; translate: -50% 0; width: min(100%, var(--col)); padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px)); pointer-events: none; view-transition-name: tabbar; }
.tab ul { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 10px; border-radius: 28px;
  background: rgba(20, 16, 15, .92); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(244, 244, 241, .1), 0 18px 40px -14px #000; }
.tab a { position: relative; isolation: isolate; display: flex; align-items: center; gap: 7px; height: 44px; min-width: 46px; padding: 0 12px; justify-content: center; color: var(--mute); font: 400 calc(19px * var(--tz, 1))/1 var(--hand); white-space: nowrap; }
.tab a span { display: none; }
.tab a[aria-current] { color: var(--ink); padding: 0 16px; }
.tab a[aria-current] span { display: inline; }
.tab a[aria-current]::before { content: ""; position: absolute; z-index: -1; inset: 3px 0; background: var(--paint); border-radius: 48% 52% 46% 54% / 60% 44% 56% 40%; filter: url(#paint); view-transition-name: tabpill; }
@media (hover: hover) { .tab a:not([aria-current]):hover { color: var(--fg); } }

::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .34s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
::view-transition-group(tabpill) { animation-duration: .4s; animation-timing-function: var(--spring); }

.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 4px; height: 56px; padding: 0 10px; background: rgba(20, 16, 15, .97); }
/* 捲動後內容不可透過頁首：實色底＋下緣 18px 柔和收邊（IG／Threads 內建瀏覽器不支援 backdrop-filter，不能靠模糊） */
.top::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 18px; background: linear-gradient(rgba(20, 16, 15, .97), rgba(20, 16, 15, 0)); pointer-events: none; }
.top .back { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.top .mark { font: 800 calc(21px * var(--tz, 1))/1 var(--disp); letter-spacing: .06em; color: var(--lip); padding-left: 12px; }
.top .back + .mark { padding-left: 0; }
.top .grow { flex: 1; }

.sec { padding: 54px var(--pad) 0; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-h h2 { font: 400 calc(34px * var(--tz, 1))/1.2 var(--hand); rotate: -1.5deg; transform-origin: 0 100%; }
.h-page { font: 400 calc(52px * var(--tz, 1))/1.15 var(--hand); padding: 10px var(--pad) 4px; rotate: -2deg; transform-origin: 0 100%; }
.more { display: inline-flex; align-items: center; gap: 6px; font: 400 calc(13px * var(--tz, 1)) var(--mono); color: var(--pink); padding: 6px 0 6px 10px; }
.more svg { width: 15px; height: 15px; transition: translate .3s var(--ease); }
.more:active svg { translate: 4px 0; }
@media (hover: hover) { .more:hover svg { translate: 4px 0; } }
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 30px; font: 400 calc(25px * var(--tz, 1))/1 var(--hand); color: var(--ink); }
.btn::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--paint); border-radius: 44% 56% 50% 50% / 58% 46% 54% 42%; filter: url(#paint); transition: scale .4s var(--spring); }
.btn-line { color: var(--fg); }
.btn-line::before { background: none; box-shadow: inset 0 0 0 1.6px var(--fg); border-radius: 50% 50% 48% 52% / 56% 48% 52% 44%; }
.btn svg { width: 18px; height: 18px; transition: translate .3s var(--ease); }
.btn:active svg { translate: 4px 0; }
@media (hover: hover) { .btn:hover::before { scale: 1.04; } .btn:hover svg { translate: 4px 0; } }
.btn-block { display: flex; width: 100%; }
.js .rv { opacity: 0; translate: 0 20px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; translate: 0 0; }

/* ══════════ 首頁：海報 ══════════ 尺寸全用 cqw，開場動畫裡的縮小版才會一模一樣 */
.cover { position: relative; height: 172cqw; overflow: hidden; background: #000; }
.cover-photo { position: absolute; inset: 0; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 40%; }
.cover-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20, 16, 15, .5) 0, transparent 22%, transparent 55%, rgba(20, 16, 15, .92) 96%); }
.masthead { position: absolute; z-index: 2; left: 5cqw; top: 5cqw; margin: 0; font: 800 calc(5.6cqw * var(--tz, 1))/1 var(--disp); letter-spacing: .08em; color: var(--lip); }
.cover .mono { position: absolute; z-index: 2; right: 5cqw; top: 5.6cqw; margin: 0; font: 400 calc(2.9cqw * var(--tz, 1))/1.5 var(--mono); color: var(--pink); text-align: right; }
.note { position: absolute; z-index: 2; left: 6cqw; top: 62cqw; margin: 0; font: 400 calc(19cqw * var(--tz, 1))/.86 var(--pen); color: var(--pink); rotate: -7deg; text-shadow: 0 2px 30px rgba(20, 16, 15, .55); }
.note b { font-weight: 400; color: #fff; }
.cover-line { position: absolute; z-index: 2; left: 6cqw; right: 6cqw; bottom: 31cqw; font: 400 calc(7.4cqw * var(--tz, 1))/1.3 var(--hand); color: #fff; }
.cover-cta { position: absolute; z-index: 2; left: 5cqw; right: 5cqw; bottom: 9cqw; display: flex; gap: 5cqw; align-items: center; }
.cover-cta .btn { height: 13.4cqw; padding: 0 7cqw; font-size: calc(6cqw * var(--tz, 1)); gap: 2.4cqw; rotate: -2deg; }
.cover-cta .btn + .btn { rotate: 2deg; }
.cover-cta .btn svg { width: 4.4cqw; height: 4.4cqw; }

/* 第二張：髮廊人像，白顏料塗掉招牌，標語寫在顏料上 */
.plate { position: relative; overflow: hidden; }
.plate > picture img { width: 100%; display: block; }
.plate .smear { position: absolute; left: 12%; right: -14%; top: -10%; height: 41%; background: var(--paint); border-radius: 30% 40% 22% 34% / 40% 30% 26% 34%; filter: url(#paint2); rotate: -3deg; }
.plate .smear + .smear { left: -10%; right: 58%; top: 6%; height: 16%; rotate: 8deg; }
.plate .words { position: absolute; left: 24%; right: 2%; top: 4.5%; font: 400 calc(9.4cqw * var(--tz, 1))/1.24 var(--hand); color: var(--ink); rotate: -4deg; }
.plate .words em { font-style: normal; color: var(--lip); }
.plate .sig { position: absolute; z-index: 1; left: 6cqw; bottom: 7cqw; margin: 0; font: 400 calc(12cqw * var(--tz, 1))/.9 var(--pen); color: #fff; rotate: -6deg; text-shadow: 0 2px 24px rgba(20, 16, 15, .6); }
.plate::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }

/* 相片：商品圖斜放，右下角用黑顏料蓋掉浮水印並寫上價格 */
.prints { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 16px; padding-top: 6px; }
.print { position: relative; display: block; rotate: var(--r, 0deg); translate: 0 var(--y, 0px); }
.print figure { position: relative; }
.print .ph { display: block; aspect-ratio: 1 / 1.22; overflow: hidden; background: var(--bg2); border-radius: 3px; box-shadow: 0 0 0 5px var(--paint), 0 24px 40px -18px #000; }
.print .ph picture { display: block; height: 100%; }
.print img { width: 100%; height: 100%; object-fit: cover; object-position: var(--op, 50% 70%); transition: scale .8s var(--ease); }
.print:active { rotate: 0deg; }
@media (hover: hover) { .print:hover { rotate: 0deg; } .print:hover img { scale: 1.05; } }
.tagp { position: absolute; z-index: 2; right: -9px; bottom: -12px; min-width: 46%; padding: 9px 14px 10px 18px; text-align: right; font: 400 calc(23px * var(--tz, 1))/1 var(--pen); color: #fff; isolation: isolate; white-space: nowrap; }
.tagp::before { content: ""; position: absolute; z-index: -1; inset: 0; background: #0B0908; border-radius: 52% 48% 40% 60% / 58% 46% 54% 42%; filter: url(#paint); }
.tagp s { font-size: calc(16px * var(--tz, 1)); opacity: .6; margin-right: 6px; }
.print h3 { font: 400 calc(13px * var(--tz, 1))/1.55 var(--mono); color: var(--pink); margin-top: 24px; }
.print:nth-child(4n+1) { --r: -2.4deg; }
.print:nth-child(4n+2) { --r: 1.8deg; --y: 26px; }
.print:nth-child(4n+3) { --r: 1.2deg; }
.print:nth-child(4n) { --r: -1.6deg; --y: 26px; }

/* 三個入口：手寫待辦清單 */
.todo li { border-bottom: 1px dashed var(--line); }
.todo a { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px 2px; }
.todo .box { width: 26px; height: 26px; border: 1.8px solid var(--fg); border-radius: 42% 58% 50% 50% / 52% 46% 54% 48%; rotate: -4deg; position: relative; }
.todo a:active .box::after, .todo a:hover .box::after { content: ""; position: absolute; left: 3px; top: -8px; width: 24px; height: 26px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4B8D9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13l6 7L21 3'/%3E%3C/svg%3E"); }
.todo b { font: 400 calc(30px * var(--tz, 1))/1.25 var(--hand); }
.todo i { font: 400 calc(13px * var(--tz, 1)) var(--mono); font-style: normal; color: var(--pink); }

.who { display: grid; grid-template-columns: 104px 1fr; gap: 20px; align-items: center; }
.who img { width: 104px; height: 138px; object-fit: cover; object-position: 62% 40%; border-radius: 3px; box-shadow: 0 0 0 5px var(--paint); rotate: -3deg; }
.who h3 { font: 400 calc(46px * var(--tz, 1))/1 var(--pen); color: var(--pink); }
.who p { font: 400 calc(13px * var(--tz, 1))/1.8 var(--mono); color: var(--fg); margin-top: 8px; }
.soc { display: flex; gap: 20px; margin-top: 30px; }
.soc a { display: grid; place-items: center; width: 44px; height: 44px; }
.soc a svg { width: 24px; height: 24px; }
@media (hover: hover) { .soc a:hover { color: var(--pink); } }
.links li, .rows li { border-bottom: 1px dashed var(--line); }
.links a { display: flex; align-items: center; gap: 14px; padding: 17px 2px; font: 400 calc(28px * var(--tz, 1))/1.2 var(--pen); }
.links a b { flex: 1; font-weight: 400; }
.links a small { font: 400 calc(13px * var(--tz, 1)) var(--mono); color: var(--pink); }
.rows a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 2px; font: 400 calc(23px * var(--tz, 1))/1.4 var(--hand); }
.rows a svg { width: 18px; height: 18px; color: var(--pink); transition: translate .3s var(--ease); }
.rows a:active svg { translate: 6px 0; }
@media (hover: hover) { .rows a:hover { color: var(--pink); } .rows a:hover svg { translate: 6px 0; } }
.foot { padding: 60px var(--pad) 0; font: 400 calc(12px * var(--tz, 1)) var(--mono); color: var(--mute); display: flex; justify-content: space-between; }

.grid { padding: 26px var(--pad) 0; }

/* ══════════ 商品頁 ══════════ */
.hero-img { position: relative; aspect-ratio: 565 / 780; overflow: hidden; background: var(--bg2); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20, 16, 15, .55) 0, transparent 16%, transparent 62%, var(--bg) 100%); }
.hero-img .tagp { right: 14px; bottom: 15%; font-size: calc(40px * var(--tz, 1)); padding: 14px 22px 16px 28px; rotate: -4deg; min-width: 0; }
.hero-img .tagp s { font-size: calc(24px * var(--tz, 1)); }
.pd { position: relative; margin-top: -12%; padding: 0 var(--pad); }
.pd h1 { font: 400 calc(38px * var(--tz, 1))/1.22 var(--hand); }
.pd .sub { font: 400 calc(12.5px * var(--tz, 1))/1.6 var(--mono); color: var(--pink); margin-top: 10px; }
.feat { margin-top: 26px; }
.feat li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: calc(16px * var(--tz, 1)); line-height: 1.6; }
.feat li::before { content: "✓"; font: 400 calc(26px * var(--tz, 1))/1 var(--pen); color: var(--pink); rotate: -8deg; }
.has-buybar { padding-bottom: calc(var(--nav-h) + 130px + env(safe-area-inset-bottom, 0px)); }

/* 往上滑下單 */
.buybar { position: fixed; z-index: 45; left: 50%; translate: -50% 0; bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom, 0px)); width: min(100%, var(--col)); padding: 0 16px; pointer-events: none; }
.slide { pointer-events: auto; position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; gap: 12px; height: 66px; color: var(--ink); font: 400 calc(26px * var(--tz, 1))/1 var(--hand); touch-action: none; user-select: none; -webkit-user-select: none; translate: 0 calc(var(--y, 0px) * -1); }
.slide::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--paint); border-radius: 44% 56% 48% 52% / 60% 46% 54% 40%; filter: url(#paint); }
.slide::after { content: ""; position: absolute; z-index: -2; left: 2%; right: 2%; top: 30%; height: calc(60px + var(--y, 0px) * 1.8); border-radius: 50%; background: radial-gradient(closest-side, #fff, var(--pink) 40%, var(--lip) 70%, transparent); filter: blur(24px); opacity: var(--p, 0); }
.slide .up { display: grid; place-items: center; width: 34px; height: 34px; animation: nudge 1.8s var(--ease) infinite; }
.slide .up svg { width: 22px; height: 22px; stroke-width: 2.2; }
@keyframes nudge { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 -7px; } }
.slide.back { transition: translate .5s var(--spring); }
.slide.hint { animation: hintup .6s var(--ease); }
@keyframes hintup { 35% { translate: 0 -16px; } }
.surge { position: fixed; z-index: 200; left: 50%; top: 0; translate: -50% 0; width: min(100%, var(--col)); height: 100dvh; background: #0B0908; color: #fff; overflow: hidden; opacity: 0; animation: sg-in .3s ease forwards; }
@keyframes sg-in { to { opacity: 1; } }
.surge .aur { position: absolute; left: -20%; right: -20%; bottom: -30%; height: 90%; filter: blur(40px); background: radial-gradient(50% 55% at 50% 60%, #fff 0, #F9D3E6 20%, var(--pink) 38%, var(--lip) 58%, transparent 74%), radial-gradient(40% 50% at 26% 82%, #8A3B58, transparent 70%), radial-gradient(40% 50% at 76% 78%, #E79A7E, transparent 70%); translate: 0 70%; animation: sg-rise 1s cubic-bezier(.2, .7, .2, 1) forwards, sg-fade .5s .95s ease forwards; }
@keyframes sg-rise { to { translate: 0 -18%; } }
@keyframes sg-fade { to { opacity: 0; scale: .5; } }
.surge .arr { position: absolute; left: 50%; top: 52%; width: 74px; height: 74px; margin: -37px; stroke: #fff; stroke-width: 2.4; filter: drop-shadow(0 0 16px #fff); translate: 0 120px; opacity: 0; animation: sg-arr .95s cubic-bezier(.2, .7, .2, 1) .05s forwards; }
@keyframes sg-arr { 30% { opacity: 1; } 75% { opacity: 1; translate: 0 -40px; } 100% { opacity: 0; translate: 0 -150px; } }
.surge .ring { position: absolute; left: 50%; top: 44%; width: 250px; height: 250px; margin: -125px; border-radius: 50%; background: radial-gradient(closest-side, transparent 62%, rgba(244, 184, 217, .85) 74%, rgba(217, 80, 106, .5) 86%, transparent); filter: blur(8px); scale: 1.3; opacity: 0; animation: sg-ring .7s 1.05s var(--ease) forwards; }
@keyframes sg-ring { 30% { opacity: 1; } 100% { opacity: 0; scale: .2; } }
.surge .ok { position: absolute; left: 0; right: 0; top: 44%; translate: 0 -50%; text-align: center; opacity: 0; animation: sg-ok .5s 1.45s var(--spring) forwards; rotate: -4deg; }
@keyframes sg-ok { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
.surge .ok svg { width: 60px; height: 60px; stroke: var(--pink); stroke-width: 2.6; }
.surge .ok b { display: block; font: 400 calc(44px * var(--tz, 1))/1.2 var(--hand); margin-top: 6px; }
.surge .ok span { display: block; font: 400 calc(13px * var(--tz, 1)) var(--mono); color: var(--pink); margin-top: 8px; }
.surge .rim { position: absolute; inset: 0; padding: 3px; background: conic-gradient(from var(--a, 0deg), transparent 0 62%, var(--pink) 78%, #fff 86%, var(--lip) 94%, transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; filter: drop-shadow(0 0 10px var(--pink)); opacity: 0; animation: sg-rim 1.5s 1.4s linear forwards; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes sg-rim { 0% { opacity: 0; --a: 120deg; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; --a: 520deg; } }

/* ══════════ FAQ ══════════ */
.find { position: sticky; top: 56px; z-index: 30; padding: 8px var(--pad) 12px; background: linear-gradient(var(--bg) 70%, rgba(20, 16, 15, 0)); }
.find label { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 4px 0 2px; border-bottom: 1.8px solid var(--fg); transition: border-color .2s; }
.find label:focus-within { border-bottom-color: var(--pink); }
.find input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 calc(24px * var(--tz, 1))/1 var(--hand); color: var(--fg); }
.find input::placeholder { color: var(--mute); }
.find svg { color: var(--pink); width: 20px; height: 20px; }
.find .n { font: 400 calc(13px * var(--tz, 1)) var(--mono); color: var(--pink); white-space: nowrap; }
.chips { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; padding: 14px var(--pad) 4px; margin: 0 calc(var(--pad) * -1); }
.chips::-webkit-scrollbar { display: none; }
.chip { position: relative; isolation: isolate; flex: none; height: 34px; padding: 0 2px; font: 400 calc(13px * var(--tz, 1)) var(--mono); color: var(--mute); transition: color .25s, scale .32s var(--spring); }
.chip.on { color: var(--ink); padding: 0 12px; }
.chip.on::before { content: ""; position: absolute; z-index: -1; inset: 2px 0; background: var(--pink); border-radius: 46% 54% 50% 50% / 60% 46% 54% 40%; filter: url(#paint); }
.fgroup { padding: 44px var(--pad) 0; }
.fgroup h2 { font: 400 calc(36px * var(--tz, 1))/1.2 var(--hand); padding-bottom: 8px; display: flex; justify-content: space-between; align-items: baseline; rotate: -1.2deg; transform-origin: 0 100%; }
.fgroup h2 small { font: 400 calc(13px * var(--tz, 1)) var(--mono); color: var(--pink); }
.fgroup[hidden], .qa[hidden] { display: none; }
.none { padding: 60px var(--pad); text-align: center; font: 400 calc(26px * var(--tz, 1)) var(--hand); color: var(--mute); }
.qa { border-bottom: 1px dashed var(--line); interpolate-size: allow-keywords; transition: margin .4s var(--ease), padding .4s var(--ease); }
.qa summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 17px 2px; cursor: pointer; list-style: none; font: 500 calc(16.5px * var(--tz, 1))/1.6 var(--sans); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font: 400 calc(34px * var(--tz, 1))/.8 var(--pen); color: var(--pink); transition: rotate .45s var(--spring); }
.qa[open] summary::after { rotate: 135deg; color: var(--lip); }
.qa[open] { position: relative; isolation: isolate; border-bottom-color: transparent; margin: 16px -8px; padding: 6px 16px 4px; color: var(--ink); }
.qa[open]::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--paint); border-radius: 22px 30px 24px 34px / 28px 22px 32px 24px; filter: url(#paint); }
.qa[open] summary { font-weight: 700; }
.qa .a { padding: 0 2px 14px; font-size: calc(15.5px * var(--tz, 1)); line-height: 1.9; }
.qa .a a { color: var(--lip); border-bottom: 1px solid currentColor; }
.qa .tools { padding: 0 2px 16px; }
.qa .tools button { font: 400 calc(12.5px * var(--tz, 1)) var(--mono); color: var(--lip); border-bottom: 1px solid currentColor; }
.qa::details-content { block-size: 0; overflow: hidden; opacity: 0; transition: block-size .42s var(--ease), opacity .3s, content-visibility .42s allow-discrete; }
.qa[open]::details-content { block-size: auto; opacity: 1; }

/* ══════════ 文章頁 ══════════ */
.art { padding: 8px var(--pad) 0; }
.art h1 { font: 400 calc(min(40px, 10.5vw) * var(--tz, 1))/1.25 var(--hand); margin-bottom: 26px; }
.art h2 { font: 400 calc(29px * var(--tz, 1))/1.35 var(--hand); margin: 52px 0 14px; color: var(--pink); }
.art h3 { font: 700 calc(17.5px * var(--tz, 1))/1.5 var(--sans); margin: 24px 0 8px; }
.art h4 { font: 700 calc(16px * var(--tz, 1))/1.5 var(--sans); margin: 18px 0 6px; }
.art p { margin: 0 0 16px; font-size: calc(16.5px * var(--tz, 1)); line-height: 1.95; color: #E9E6E3; }
.art a { color: var(--pink); border-bottom: 1px solid currentColor; }
.art ul, .art ol { margin: 0 0 18px; padding-left: 1.3em; }
.art ul { list-style: disc; }
.art ol { list-style: decimal; }
.art li { margin-bottom: 7px; line-height: 1.85; color: #E9E6E3; }
.art li::marker { color: var(--pink); }
.art img { border-radius: 3px; margin: 18px 0; }
.art .lead { position: relative; isolation: isolate; padding: 20px 22px; margin: 0 -6px 30px; color: var(--ink); font-size: calc(16.5px * var(--tz, 1)); line-height: 1.9; }
.art .lead::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--paint); border-radius: 22px 34px 26px 30px / 30px 22px 34px 24px; filter: url(#paint); }
.art .lead strong { color: var(--lip); }
.art .tbl { overflow-x: auto; margin: 0 calc(var(--pad) * -1) 22px; padding: 0 var(--pad); }
.art table { border-collapse: collapse; width: 100%; min-width: 440px; font-size: calc(14.5px * var(--tz, 1)); line-height: 1.65; }
.art th, .art td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.art thead th { border-bottom: 1.6px solid var(--fg); font: 400 calc(12.5px * var(--tz, 1)) var(--mono); color: var(--pink); white-space: nowrap; }
/* 第一欄是項目名，太窄時韓文會從詞中間斷開（현지/어）；表格本身可橫向捲動，給足欄寬 */
.art th:first-child, .art td:first-child { min-width: 6.5em; }
:lang(ko) .art th, :lang(ko) .art td { word-break: keep-all; overflow-wrap: normal; }
.art .step-list { counter-reset: s; margin-bottom: 22px; }
.art .step { counter-increment: s; position: relative; padding: 14px 0 14px 50px; border-bottom: 1px dashed var(--line); }
.art .step::before { content: counter(s); position: absolute; left: 4px; top: 4px; font: 400 calc(46px * var(--tz, 1))/1.2 var(--pen); color: var(--pink); rotate: -8deg; }
.art .step h3 { margin: 0 0 2px; }
.art .step p { margin: 0; font-size: calc(15.5px * var(--tz, 1)); color: var(--mute); }
.art .faq-item { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.art .faq-item .q { font-weight: 700; margin-bottom: 6px; line-height: 1.6; }
.art .faq-item .a { color: #D8D3CF; font-size: calc(15.5px * var(--tz, 1)); line-height: 1.85; }
.art .cta-card { margin: 46px 0 0; padding: 4px 0; }
.art .cta-card h3 { font: 400 calc(32px * var(--tz, 1))/1.3 var(--hand); margin: 0 0 8px; }
.art .cta-card p { font: 400 calc(13px * var(--tz, 1)) var(--mono); color: var(--pink); }
.art .cta-card a { position: relative; isolation: isolate; display: inline-flex; align-items: center; height: 54px; padding: 0 28px; color: var(--ink); font: 400 calc(24px * var(--tz, 1)) var(--hand); border: 0; margin-top: 8px; }
.art .cta-card a::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--paint); border-radius: 44% 56% 50% 50% / 58% 46% 54% 42%; filter: url(#paint); }
.art .related, .art .author-box { margin-top: 34px; padding-top: 20px; border-top: 1px dashed var(--line); }
.art .related a { display: block; padding: 6px 0; border: 0; font: 400 calc(21px * var(--tz, 1)) var(--hand); }
.art .author-box { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; font-size: calc(13.5px * var(--tz, 1)); color: var(--mute); }
.art .author-box img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; margin: 0; }
.art .author-box .name { font-weight: 700; color: var(--fg); }

.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(var(--nav-h) + 34px + env(safe-area-inset-bottom, 0px)); translate: -50% 16px; padding: 10px 22px; font: 400 calc(22px * var(--tz, 1)) var(--hand); color: var(--ink); isolation: isolate; opacity: 0; pointer-events: none; transition: opacity .25s, translate .4s var(--spring); white-space: nowrap; }
.toast::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--pink); border-radius: 46% 54% 50% 50% / 60% 46% 54% 40%; filter: url(#paint); }
.toast.on { opacity: 1; translate: -50% 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; transition-duration: .01s !important; }
  .js .rv { opacity: 1; translate: 0 0; }
  html { scroll-behavior: auto; }
}
.plate .smear.s3 { left: 37%; right: -10%; top: 12%; height: 20.5%; rotate: 1deg; border-radius: 26% 30% 34% 28% / 40% 36% 44% 38%; }
.links a svg { width: 24px; height: 24px; }
.hero-img::after { background: linear-gradient(rgba(20, 16, 15, .55) 0, transparent 16%, transparent 52%, var(--bg) 90%); }

/* ══════════ v4 加強：字級、站名、語言、手寫註記、分享卡、測驗 ══════════ */
.print h3 { font-size: calc(14.5px * var(--tz, 1)); }
.more, .todo i, .chip, .find .n, .fgroup h2 small, .links a small { font-size: calc(14.5px * var(--tz, 1)); }
.who p { font-size: calc(14.5px * var(--tz, 1)); }
.pd .sub { font-size: calc(14px * var(--tz, 1)); }
.qa summary { font-size: calc(17.5px * var(--tz, 1)); }
.qa .a { font-size: calc(16.5px * var(--tz, 1)); }
.rows a { font-size: calc(25px * var(--tz, 1)); }
.tab a { font-size: calc(20px * var(--tz, 1)); }
.todo b { font-size: calc(32px * var(--tz, 1)); }
.foot { font-size: calc(13px * var(--tz, 1)); }

.top .mark, .masthead { font-family: var(--disp); font-weight: 800; letter-spacing: .01em; color: var(--fg); }
.top .mark i, .masthead i { font-style: normal; color: var(--lip); }
.top .mark { font-size: calc(19px * var(--tz, 1)); }
.masthead { font-size: calc(5.4cqw * var(--tz, 1)); }

/* 語言切換：三個手寫字，選中的被粉色顏料圈起來 */
.lang { display: flex; gap: 2px; align-items: center; }
.lang button { position: relative; isolation: isolate; width: 34px; height: 34px; font: 400 calc(15px * var(--tz, 1))/1 var(--mono); color: rgba(244, 244, 241, .62); transition: color .2s, scale .3s var(--spring); }
.lang button:active { scale: .9; }
.lang button.on { color: var(--ink); }
.lang button.on::before { content: ""; position: absolute; z-index: -1; inset: 3px; background: var(--pink); border-radius: 46% 54% 50% 50% / 56% 46% 54% 44%; filter: url(#paint); }
.cover .lang { position: absolute; z-index: 3; right: 3.4cqw; top: 3.2cqw; }

/* 商品頁：白底商品照 + 寫在照片上的手寫註記（不用清單） */
.shot { position: relative; background: #fff; color: var(--ink); overflow: hidden; }
.shot > picture img { width: 100%; display: block; }
.shot::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: -9%; height: 17%; background: var(--bg); border-radius: 46% 54% 0 0 / 70% 60% 0 0; filter: url(#paint2); }
.shot.busy::after { height: 22%; }
.shot.clean { padding-top: 46%; }
.shot.clean::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(#fff 70%, rgba(255, 255, 255, 0)); z-index: 1; }
.jot { position: absolute; z-index: 2; max-width: 40%; font: 400 calc(7.4cqw * var(--tz, 1))/1.1 var(--hand); rotate: var(--r, -4deg); opacity: 0; translate: 0 10px; transition: opacity .5s var(--ease), translate .6s var(--spring); transition-delay: var(--d, 0s); }
.in .jot, .jot.in { opacity: 1; translate: 0 0; }
.jot small { display: block; font: 400 calc(3.35cqw * var(--tz, 1))/1.45 var(--mono); color: #6A5F5B; margin-top: 1cqw; }
.jot.l { text-align: left; }
.jot.c { text-align: center; transform: translateX(-50%); }
.jot.r { text-align: right; }
.jot { width: max-content; }
.shot .tagp s { display: block; margin-bottom: -4px; }
.jot-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; fill: none; stroke: var(--lip); stroke-width: .6; stroke-linecap: round; stroke-linejoin: round; }
.jot-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease); transition-delay: var(--d, 0s); }
.jot-lines .tip { transition-duration: .25s; transition-delay: calc(var(--d, 0s) + .5s); }
.in .jot-lines path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .jot-lines path { transition: none; } }
.jot em { font-style: normal; color: var(--lip); }
.shot .tagp { right: 5%; bottom: 9%; font-size: calc(44px * var(--tz, 1)); padding: 14px 24px 16px 30px; rotate: -5deg; min-width: 0; z-index: 3; }
.shot .tagp s { font-size: calc(24px * var(--tz, 1)); }
.jots-below { padding: 6px var(--pad) 0; }
.jots-below p { font: 400 calc(27px * var(--tz, 1))/1.3 var(--hand); padding: 12px 0; rotate: var(--r, -1deg); transform-origin: 0 50%; }
.jots-below p:nth-child(even) { --r: 1deg; padding-left: 9%; }
.jots-below small { display: block; font: 400 calc(13.5px * var(--tz, 1))/1.5 var(--mono); color: var(--pink); margin-top: 4px; }
.pd { margin-top: 4px; }
.pd h1 { font-size: calc(40px * var(--tz, 1)); }

/* 分享卡：像曬單一樣，一張圖可以存、可以複製網址 */
.sheet-bg { position: fixed; z-index: 150; inset: 0; background: rgba(10, 8, 7, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s; }
.sheet-bg.on { opacity: 1; }
.sheet { position: fixed; z-index: 151; left: 50%; bottom: 0; translate: -50% 104%; width: min(100%, var(--col)); padding: 26px 22px calc(26px + env(safe-area-inset-bottom, 0px)); transition: translate .55s var(--spring); text-align: center; }
.sheet.on { translate: -50% 0; }
.sheet .card { display: block; width: 68%; margin: 0 auto; rotate: -3deg; border-radius: 4px; box-shadow: 0 0 0 6px var(--paint), 0 40px 60px -20px #000; transition: rotate .5s var(--spring), scale .5s var(--spring); }
.sheet .card:active { rotate: 0deg; scale: 1.03; }
.sheet .acts { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.sheet .acts .btn { height: 52px; padding: 0 22px; font-size: calc(23px * var(--tz, 1)); }
.sheet .x { position: absolute; right: 16px; top: -8px; width: 44px; height: 44px; font: 400 calc(40px * var(--tz, 1))/1 var(--pen); color: var(--fg); }

/* ══════════ 髮質測驗：像在照片上回答一張手寫問卷，選了就用筆圈起來 ══════════ */
.quiz { position: relative; min-height: 100dvh; padding-bottom: 40px; }
.qz-bg { position: fixed; z-index: 0; left: 50%; top: 0; translate: -50% 0; width: min(100%, var(--col)); height: 100dvh; overflow: hidden; pointer-events: none; }
.qz-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 40%; scale: 1.25; filter: blur(3px) brightness(.34) saturate(.9); transition: scale 1.2s var(--ease), object-position 1.2s var(--ease); }
.quiz > *:not(.qz-bg) { position: relative; z-index: 1; }
.qz-prog { display: flex; gap: 10px; padding: 6px var(--pad) 0; }
.qz-prog i { width: 26px; height: 26px; border: 1.8px solid rgba(244, 244, 241, .5); border-radius: 44% 56% 50% 50% / 52% 46% 54% 48%; rotate: -4deg; position: relative; transition: border-color .3s; }
.qz-prog i:nth-child(even) { rotate: 5deg; }
.qz-prog i.done { border-color: var(--pink); }
.qz-prog i.done::after { content: "✓"; position: absolute; left: 3px; top: -9px; font: 400 calc(34px * var(--tz, 1))/1 var(--pen); color: var(--pink); animation: tick .4s var(--spring); }
.qz-prog i.cur { border-color: var(--fg); scale: 1.12; }
@keyframes tick { from { scale: 0; rotate: -40deg; } }
.qz-q { padding: 34px var(--pad) 0; }
.qz-q h1 { font: 400 calc(46px * var(--tz, 1))/1.16 var(--hand); rotate: -2deg; transform-origin: 0 100%; min-height: 2.3em; }
.qz-q .sub { font: 400 calc(14.5px * var(--tz, 1))/1.6 var(--mono); color: var(--pink); margin-top: 14px; }
.qz-opts { margin-top: 30px; display: grid; gap: 4px; }
.qz-opt { position: relative; display: block; width: 100%; text-align: left; padding: 15px 14px 15px 16px; transition: scale .3s var(--spring), opacity .3s; }
.qz-opt b { display: block; font: 400 calc(33px * var(--tz, 1))/1.15 var(--hand); }
.qz-opt span { display: block; font: 400 calc(13.5px * var(--tz, 1))/1.5 var(--mono); color: rgba(244, 244, 241, .66); margin-top: 3px; }
.qz-opt svg { position: absolute; inset: -4px -4px; width: calc(100% + 8px); height: calc(100% + 8px); overflow: visible; pointer-events: none; }
.qz-opt svg path { stroke: var(--pink); stroke-width: 2.6; vector-effect: non-scaling-stroke; stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.qz-opt.sel svg path { stroke-dashoffset: 1300; transition: stroke-dashoffset .55s cubic-bezier(.5, 0, .2, 1); }
.qz-opt.sel b { color: var(--pink); }
.qz-opts.picked .qz-opt:not(.sel) { opacity: .28; }
.qz-opt:nth-child(odd) { rotate: -.8deg; } .qz-opt:nth-child(even) { rotate: .7deg; margin-left: 5%; }
.qz-q.out { opacity: 0; translate: -24px 0; transition: opacity .25s, translate .3s var(--ease); }
.qz-q.pre { opacity: 0; translate: 24px 0; }
.qz-q { transition: opacity .4s, translate .5s var(--ease); }
.qz-r { padding: 26px var(--pad) 0; }
.qz-r .slip { position: relative; isolation: isolate; padding: 30px 26px 34px; color: var(--ink); rotate: -1.5deg; animation: slip .7s var(--spring) both; }
.qz-r .slip::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--paint); border-radius: 26px 38px 30px 36px / 34px 26px 40px 28px; filter: url(#paint); }
@keyframes slip { from { opacity: 0; translate: 0 40px; rotate: 4deg; } }
.qz-r .slip i { font: 400 calc(13.5px * var(--tz, 1)) var(--mono); font-style: normal; color: var(--lip); }
.qz-r .slip h1 { font: 400 calc(40px * var(--tz, 1))/1.2 var(--hand); margin: 8px 0 14px; }
.qz-r .slip p { font-size: calc(16.5px * var(--tz, 1)); line-height: 1.85; }
.qz-r h2 { font: 400 calc(36px * var(--tz, 1))/1.2 var(--hand); margin: 54px 0 22px; rotate: -1.5deg; transform-origin: 0 100%; }
.qz-r .prints { grid-template-columns: 1fr 1fr; }
.qz-mail { margin-top: 64px; }
.qz-mail b { display: block; font: 400 calc(31px * var(--tz, 1))/1.25 var(--hand); }
.qz-mail label { display: flex; align-items: center; gap: 12px; margin-top: 18px; border-bottom: 1.8px solid var(--fg); }
.qz-mail input { flex: 1; min-width: 0; height: 54px; border: 0; outline: 0; background: none; font: 400 calc(17px * var(--tz, 1)) var(--mono); color: var(--fg); }
.qz-mail input::placeholder { color: var(--mute); }
.qz-mail button { font: 400 calc(27px * var(--tz, 1)) var(--hand); color: var(--pink); padding: 6px 4px; }
.qz-mail small { display: block; font: 400 calc(13px * var(--tz, 1))/1.6 var(--mono); color: var(--mute); margin-top: 10px; }
.qz-again { display: inline-block; margin-top: 44px; font: 400 calc(14.5px * var(--tz, 1)) var(--mono); color: var(--pink); border-bottom: 1px solid currentColor; }
[hidden] { display: none !important; }

/* 語言切換後的版面：英文字較長、韓文手寫體字面較小，各自調整避免跑出框 */
.btn, .slide, .tab a, .chip, .tagp { white-space: nowrap; }
:lang(en) .plate .words { font-size: calc(7cqw * var(--tz, 1)); left: 18%; }
:lang(en) .cover-line { font-size: calc(7cqw * var(--tz, 1)); }
:lang(en) .cover-cta .btn { font-size: calc(5.6cqw * var(--tz, 1)); padding: 0 6cqw; }
:lang(en) .todo b { font-size: calc(29px * var(--tz, 1)); }
:lang(en) .slide { font-size: calc(25px * var(--tz, 1)); }
:lang(en) .qz-q h1 { font-size: calc(42px * var(--tz, 1)); }
:lang(en) .qz-opt b { font-size: calc(31px * var(--tz, 1)); }
:lang(ko) .cover-line { font-size: calc(9.4cqw * var(--tz, 1)); line-height: 1.15; }
:lang(ko) .cover-cta .btn { font-size: calc(7.4cqw * var(--tz, 1)); }
:lang(ko) .plate .words { font-size: calc(10.4cqw * var(--tz, 1)); line-height: 1.12; }
:lang(ko) .sec-h h2, :lang(ko) .fgroup h2 { font-size: calc(42px * var(--tz, 1)); }
:lang(ko) .h-page { font-size: calc(62px * var(--tz, 1)); }
:lang(ko) .todo b { font-size: calc(38px * var(--tz, 1)); }
:lang(ko) .pd h1 { font-size: calc(50px * var(--tz, 1)); line-height: 1.05; }
:lang(ko) .rows a { font-size: calc(30px * var(--tz, 1)); }
:lang(ko) .tab a { font-size: calc(24px * var(--tz, 1)); }
:lang(ko) .slide { font-size: calc(31px * var(--tz, 1)); }
:lang(ko) .jot { font-size: calc(6.4cqw * var(--tz, 1)); max-width: 43%; }
:lang(ko) .jot small { font-size: calc(3.1cqw * var(--tz, 1)); }
:lang(en) .jot { font-size: calc(5.5cqw * var(--tz, 1)); line-height: 1; max-width: 37%; }
:lang(en) .jot.c { max-width: 46%; }
:lang(en) .jot small { font-size: calc(2.9cqw * var(--tz, 1)); line-height: 1.35; }
:lang(ko) .jots-below p { font-size: calc(33px * var(--tz, 1)); }
:lang(ko) .qz-q h1 { font-size: calc(56px * var(--tz, 1)); line-height: 1.05; }
:lang(ko) .qz-opt b { font-size: calc(40px * var(--tz, 1)); }
:lang(ko) .qz-r .slip h1 { font-size: calc(48px * var(--tz, 1)); }
:lang(ko) .qz-r h2, :lang(ko) .qz-mail b { font-size: calc(42px * var(--tz, 1)); }
:lang(ko) .btn { font-size: calc(29px * var(--tz, 1)); }
:lang(ko) .find input { font-size: calc(28px * var(--tz, 1)); }

/* ── 首頁封面 v5（2026-11-22）：封面＝一個螢幕高，標語與按鈕從導航欄上緣往上排，任何螢幕都不會被擋 ── */
.cover { --tabh: calc(76px + env(safe-area-inset-bottom, 0px)); height: max(150cqw, min(100svh, 205cqw)); }
.cover-cta { bottom: calc(var(--tabh) + 5cqw); }
.cover-line { bottom: calc(var(--tabh) + 23.4cqw); font-size: calc(8.4cqw * var(--tz, 1)); line-height: 1.25; text-wrap: balance; }
.note { top: clamp(22cqw, calc(100% - var(--tabh) - 112cqw), 62cqw); }
:lang(ko) .cover-line { font-size: calc(8cqw * var(--tz, 1)); line-height: 1.18; }
:lang(en) .cover-line { font-size: calc(7.6cqw * var(--tz, 1)); line-height: 1.15; }

/* 手寫動畫（第一次載入）：逐字由左往右寫出，筆尖停頓感靠每字錯開與換行稍停 */
.note.writing .ch { display: inline-block; clip-path: inset(-20% 100% -30% -10%); animation: write var(--wd, .16s) cubic-bezier(.3, .1, .3, 1) forwards; animation-delay: var(--wt, 0s); }
@keyframes write { to { clip-path: inset(-20% -10% -30% -10%); } }

/* 第二屏：顏料像對話氣泡一個個彈出，字再淡入 */
.js .plate[data-pop] .smear { opacity: 0; scale: .35; transform-origin: 22% 78%; transition: opacity .2s, scale .7s var(--spring); }
.js .plate[data-pop] .smear + .smear { transition-delay: .12s; transform-origin: 80% 70%; }
.js .plate[data-pop] .smear.s3 { transition-delay: .22s; }
.js .plate[data-pop] .words { opacity: 0; translate: 0 10px; transition: opacity .6s var(--ease) .55s, translate .7s var(--ease) .55s; }
.js .plate[data-pop] .sig { opacity: 0; transition: opacity .6s var(--ease) .9s; }
.js .plate.pop .smear, .js .plate.pop .words, .js .plate.pop .sig { opacity: 1; scale: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .js .plate[data-pop] .smear, .js .plate[data-pop] .words, .js .plate[data-pop] .sig { opacity: 1; scale: 1; translate: 0 0; transition: none; }
  .note.writing .ch { animation: none; clip-path: none; }
}
.write-on .note:not(.writing) { visibility: hidden; }
:lang(ko) .cover-line, :lang(ko) .plate .words { word-break: keep-all; }

/* 手寫字：陰影改加在整段外層（drop-shadow 跟著已寫出的字形走），逐字裁切時才不會把陰影裁成灰色方塊 */
.note { text-shadow: none; filter: drop-shadow(0 2px 12px rgba(20, 16, 15, .6)); }
.note.writing .ch { clip-path: inset(-30% 100% -40% -20%); }
@keyframes write { to { clip-path: inset(-30% -20% -40% -20%); } }

/* 韓文以詞為單位換行，不在詞中間斷開；超長字串（網址、帳號）仍可強制換行，避免撐破版面 */
:lang(ko) body, :lang(ko) #intro { word-break: keep-all; overflow-wrap: anywhere; }
