/* TENUE 日著 — site.css */
:root {
  --chalk: #f2f2ef; --chalk-2: #e8e8e4; --ink: #1d1b22; --lilac: #b4a3e6; --stone: #6c6872; --line: #d6d5d0;
  --wm-accent: #1d1b22;
  --f-display: 'Syne', 'Noto Sans TC', system-ui, sans-serif;
  --f-body: 'Noto Sans TC', system-ui, -apple-system, 'Microsoft JhengHei', sans-serif;
  --wrap: 1360px; --gut: clamp(20px, 4vw, 56px); --sec: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--chalk); color: var(--ink); font: 400 17px/1.8 var(--f-body); letter-spacing: .02em; line-break: strict; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.2; letter-spacing: .01em; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 88px); font-weight: 500; letter-spacing: 0; }
h2 { font-size: clamp(30px, 3.6vw, 52px); }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; }
.eyebrow { font: 600 12px/1.4 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); margin: 0 0 18px; }
.eyebrow b { color: var(--ink); font-weight: 600; }
.lede { font-size: 18px; color: #3c3a42; max-width: 34em; }
.muted { color: var(--stone); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { top: 12px; }

/* 連結：車縫虛線底線慢慢畫出 */
.ul { text-decoration: none; background: linear-gradient(90deg, var(--ink) 55%, transparent 0) 0 100% / 8px 1px repeat-x; background-size: 0 1px; transition: background-size .6s var(--ease); padding-bottom: 2px; }
.ul:hover, .ul:focus-visible { background-size: 8px 1px; background-image: repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 8px); }
.ul.always { background-image: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 8px); background-size: 100% 1px; }

/* 按鈕（不用膠囊） */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 600 15px/1 var(--f-body); letter-spacing: .08em; text-decoration: none; cursor: pointer; border-radius: 2px; transition: background .3s, color .3s; }
.btn:hover { background: #3a3741; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.textbtn { background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 14px; color: var(--stone); text-decoration: underline; text-underline-offset: 4px; }

/* 捲尺進度條 */
.tape { position: fixed; inset: 0 0 auto 0; height: 10px; z-index: 60; pointer-events: none; background: #ebe6d9;
  background-image: repeating-linear-gradient(90deg, rgba(29, 27, 34, .55) 0 1px, transparent 1px 10px), repeating-linear-gradient(90deg, rgba(29, 27, 34, .8) 0 1px, transparent 1px 50px);
  background-size: 100% 4px, 100% 7px; background-repeat: no-repeat; border-bottom: 1px solid rgba(29, 27, 34, .15); }
.tape i { position: absolute; top: 0; left: 0; height: 10px; width: 2px; background: var(--ink); transform: translateX(var(--p, 0px)); }
.tape i::after { content: ''; position: absolute; left: -4px; top: 6px; width: 10px; height: 10px; background: var(--lilac); transform: rotate(45deg); }
.tape b { position: absolute; right: 8px; top: 12px; font: 600 10px/1 var(--f-display); letter-spacing: .1em; color: var(--lilac); background: var(--ink); padding: 3px 6px; }

/* Header */
.util { background: var(--ink); color: #e7e5ec; font-size: 12.5px; letter-spacing: .08em; padding-top: 10px; }
.util .wrap { display: flex; justify-content: center; gap: 28px; min-height: 34px; align-items: center; flex-wrap: wrap; }
.util span + span::before { content: '／'; margin-right: 28px; color: #77737d; }
.hd { position: sticky; top: 0; z-index: 50; background: rgba(242, 242, 239, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 34px; height: 34px; }
.logo .wm { font: 600 21px/1 var(--f-display); letter-spacing: .26em; }
.logo .zh { font-size: 12px; letter-spacing: .3em; color: var(--stone); border-left: 1px solid var(--line); padding-left: 10px; }
.nav { display: flex; justify-content: center; gap: clamp(14px, 2vw, 30px); }
.nav a { text-decoration: none; font-size: 15px; padding: 6px 0; position: relative; }
.nav a[aria-current="page"]::after, .nav a:hover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 8px); }
.tools { display: flex; align-items: center; gap: 6px; }
.icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; text-decoration: none; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon .cnt { position: absolute; right: 2px; top: 4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--lilac); color: var(--ink); font: 700 11px/18px var(--f-display); text-align: center; }
.icon .cnt:empty, .icon .cnt[data-n="0"] { display: none; }
.cart-icon.bump svg { animation: swing 1s var(--ease); transform-origin: 50% 10%; }
@keyframes swing { 0% { transform: rotate(0) } 20% { transform: rotate(14deg) } 45% { transform: rotate(-9deg) } 70% { transform: rotate(4deg) } 100% { transform: rotate(0) } }
.burger { display: none; }
.who { font-size: 13px; color: var(--stone); margin-right: 4px; white-space: nowrap; }

/* 手機選單 */
.mnav { position: fixed; inset: 0; z-index: 80; background: var(--chalk); padding: 88px var(--gut) 40px; display: flex; flex-direction: column; gap: 4px; transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; overflow: auto; }
.mnav.open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.mnav a { font: 500 26px/1.6 var(--f-display); text-decoration: none; border-bottom: 1px dashed var(--line); padding: 10px 0; }
.mnav .close { position: absolute; right: var(--gut); top: 20px; }

/* 衣架飛入購物車 */
.fly { position: fixed; z-index: 99; width: 34px; height: 34px; pointer-events: none; color: var(--ink); transition: transform .85s cubic-bezier(.5, -0.3, .4, 1), opacity .3s .7s; }
.fly svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.toast { position: fixed; left: 50%; bottom: 84px; z-index: 95; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 14px 22px; font-size: 15px; transition: .35s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--lilac); }

/* 區段 */
.sec { padding: var(--sec) 0; }
.sec-head { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; align-items: end; margin-bottom: 56px; }
.sec-head .no { font: 500 13px/1 var(--f-display); letter-spacing: .2em; color: var(--stone); align-self: start; padding-top: 14px; border-top: 1px solid var(--ink); }
.sec-head h2 { max-width: 15em; }
.sec-head p { grid-column: 2; margin: 0; color: var(--stone); max-width: 36em; }
.stitch { display: block; width: 100%; height: 12px; border: 0; margin: 0; overflow: visible; }
.stitch line { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 6 5; }
.stitch .needle { fill: var(--lilac); }

/* ===== 首屏：週間衣架五連幅 ===== */
.hero { position: relative; padding: 44px 0 72px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -40px 0 0; z-index: -1; opacity: .5; background-image: repeating-linear-gradient(90deg, rgba(29, 27, 34, .07) 0 1px, transparent 1px 24px), repeating-linear-gradient(90deg, rgba(29, 27, 34, .12) 0 1px, transparent 1px 120px); transform: translate3d(0, var(--py, 0px), 0); }
.hero-top { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 48px; align-items: end; margin-bottom: 36px; }
.hero-top h1 { font-size: clamp(40px, 5.2vw, 76px); }
.hero-side .lede { font-size: 16.5px; margin-bottom: 20px; }
.today { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 14px; color: var(--stone); }
.today .date { font: 500 30px/1 var(--f-display); color: var(--ink); }
.today .date sup { font-size: 13px; color: var(--stone); letter-spacing: .1em; vertical-align: top; margin-left: 6px; }
.rail { position: relative; padding-top: 40px; }
.rail-bar { position: absolute; left: 0; right: 0; top: 18px; width: 100%; height: 12px; overflow: visible; }
.rail-bar line { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2000; stroke-dashoffset: 0; }
.week { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; height: clamp(440px, calc(100vh - 380px), 640px); }
.day { position: relative; flex: 1 1 0; min-width: 0; transition: flex-grow .9s var(--ease); display: flex; flex-direction: column; }
.day.on { flex-grow: 4; }
.hanger { position: absolute; top: -40px; left: 50%; width: 64px; height: 46px; margin-left: -32px; transform-origin: 50% 4px; z-index: 2; }
.hanger svg { width: 64px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.day.on .hanger svg .dot { fill: var(--lilac); stroke: none; }
.day-in { position: relative; flex: 1; display: grid; grid-template-columns: 1fr; overflow: hidden; background: var(--chalk-2); min-height: 0; }
.day.on .day-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.day-pick { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; position: relative; }
.day.on .day-pick { cursor: default; }
.day figure { margin: 0; position: relative; overflow: hidden; height: 100%; }
.day figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 6s linear; }
.day.on figure img { transform: scale(1.06); }
.day-lab { position: absolute; left: 14px; top: 12px; z-index: 1; font: 600 13px/1 var(--f-display); letter-spacing: .2em; background: var(--chalk); padding: 7px 9px; }
.day.on .day-lab { background: var(--lilac); }
.day-info { display: none; padding: 40px 36px; flex-direction: column; justify-content: space-between; gap: 18px; background: var(--chalk); overflow: auto; }
.day.on .day-info { display: flex; }
.day-info h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 500; margin-bottom: 10px; }
.day-info p { color: #46434c; font-size: 15.5px; }
.day-info ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.day-info li { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; }
.day-info li .num { font-size: 13px; color: var(--stone); }
.day-info li a { text-decoration: none; }
.day-info .sum { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 16px; font-size: 14px; color: var(--stone); }
.day-info .sum b { font: 600 22px/1 var(--f-display); color: var(--ink); }
.day-info .btn { width: 100%; }
.day-info .hint { font-size: 12.5px; color: var(--stone); margin: 10px 0 0; }
/* 首屏進場動畫 */
.js .rail.pre .rail-bar line { stroke-dashoffset: 2000; }
.js .rail.pre .day { transform: translateX(60vw); }
.js .rail.pre .day figure { clip-path: inset(0 0 100% 0); }
.rail.play .rail-bar line { animation: draw 1.1s var(--ease) both; }
.rail.play .day { animation: slidein 1s var(--ease) both; animation-delay: calc(.35s + var(--i) * .14s); }
.rail.play .hanger { animation: pend 2.2s ease-out both; animation-delay: calc(1.1s + var(--i) * .14s); }
.rail.play .day figure { animation: drop 1s var(--ease) both; animation-delay: calc(1.2s + var(--i) * .14s); }
@keyframes draw { from { stroke-dashoffset: 2000 } to { stroke-dashoffset: 0 } }
@keyframes slidein { from { transform: translateX(60vw) } to { transform: none } }
@keyframes pend { 0% { transform: rotate(0) } 15% { transform: rotate(16deg) } 35% { transform: rotate(-11deg) } 55% { transform: rotate(6deg) } 75% { transform: rotate(-3deg) } 100% { transform: rotate(0) } }
@keyframes drop { from { clip-path: inset(0 0 100% 0) } to { clip-path: inset(0 0 0 0) } }
.day.on .hanger { animation: pend 2s ease-out both; }
.rail-dots { display: none; }

/* 商品格 */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; }
.pc { position: relative; }
.pc a.pic { display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--chalk-2); }
.pc a.pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1.4s var(--ease), opacity .6s; }
.pc a.pic img.alt { position: absolute; inset: 0; opacity: 0; }
.pc a.pic:hover img { transform: scale(1.04); }
.pc a.pic:hover img.alt { opacity: 1; }
.pc .badge { position: absolute; left: 12px; top: 12px; z-index: 1; font: 600 11px/1 var(--f-display); letter-spacing: .18em; background: var(--chalk); padding: 6px 8px; }
.pc .meta { padding-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.pc .nm { font-size: 15.5px; text-decoration: none; line-height: 1.5; }
.pc .pr { font: 600 15px/1.5 var(--f-display); }
.pc .sz { grid-column: 1 / -1; font: 500 12px/1.6 var(--f-display); letter-spacing: .1em; color: var(--stone); display: flex; gap: 8px; flex-wrap: wrap; }
.pc .sz s { opacity: .5; }
.pc .sz .mine { color: var(--ink); border-bottom: 2px solid var(--lilac); }
.pc .tg { grid-column: 1 / -1; font-size: 12.5px; color: var(--stone); }
.pc .sw { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 4px; }
.pc .sw i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); }
.wish { position: absolute; right: 8px; top: 8px; z-index: 2; width: 40px; height: 40px; border: 0; background: rgba(242, 242, 239, .9); cursor: pointer; display: grid; place-items: center; }
.wish svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.wish[aria-pressed="true"] svg { fill: var(--lilac); }

/* 分類入口 */
.cats { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: 24px; }
.cat { display: block; text-decoration: none; position: relative; }
.cat .pic { overflow: hidden; background: var(--chalk-2); }
.cat .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.cat:hover .pic img { transform: scale(1.05); }
.cat.big { grid-row: span 2; }
.cat.big .pic { aspect-ratio: 4 / 5; }
.cat.sm .pic { aspect-ratio: 16 / 10; }
.cat .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0 0; border-bottom: 1px solid var(--ink); padding-bottom: 14px; }
.cat .cap h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; }
.cat .cap span { font: 500 12px/1 var(--f-display); letter-spacing: .2em; color: var(--stone); }
.cat .cap p { margin: 6px 0 0; color: var(--stone); font-size: 15px; }

/* 情境 */
.scenes { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.scenes .stage { position: sticky; top: 100px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--chalk-2); }
.scenes .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s, transform 5s linear; transform: scale(1.02); }
.scenes .stage img.on { opacity: 1; transform: scale(1.08); }
.scene-list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.scene-list li { border-top: 1px solid var(--line); }
.scene-list li:last-child { border-bottom: 1px solid var(--line); }
.scene-list a { display: grid; grid-template-columns: 48px 1fr; gap: 4px 12px; padding: 26px 0; text-decoration: none; }
.scene-list .n { font: 500 13px/1.9 var(--f-display); color: var(--stone); grid-row: span 2; }
.scene-list h3 { font-size: 22px; font-weight: 500; }
.scene-list p { margin: 0; color: var(--stone); font-size: 15px; }
.scene-list h3 { justify-self: start; transition: background-size .6s var(--ease); background: linear-gradient(transparent 62%, rgba(180, 163, 230, .6) 0) 0 0 / 0 100% no-repeat; }
.scene-list li.on h3 { background-size: 100% 100%; }

/* 品牌故事 */
.story { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.story figure { margin: 0; overflow: hidden; }
.story figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.story figcaption { font-size: 13px; color: var(--stone); margin-top: 10px; }
.rules { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 48px); }
.rules li { border-top: 1px solid var(--ink); padding-top: 18px; }
.rules b { display: block; font: 500 44px/1 var(--f-display); margin-bottom: 12px; }
.rules h3 { margin-bottom: 8px; }
.rules p { color: var(--stone); font-size: 15px; }

/* 尺寸工具 */
.fit-band { background: var(--ink); color: #eceaf1; }
.fit-band .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.fit-band .eyebrow { color: #a8a4b0; }
.fit-band h2 { color: #fff; margin-bottom: 18px; }
.fit-band p { color: #c9c6d0; }
.sizer { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.sizer label { display: grid; gap: 6px; font-size: 14px; }
.sizer input, .sizer select { height: 48px; padding: 0 14px; border: 1px solid #55515c; background: transparent; color: #fff; border-radius: 2px; }
.sizer select option { color: var(--ink); }
.sizer fieldset { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.sizer legend { font-size: 14px; margin-bottom: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #55515c; cursor: pointer; font-size: 14px; }
.chip input:checked + span { border-color: var(--lilac); box-shadow: inset 0 0 0 1px var(--lilac); }
.chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.sizer .btn { grid-column: 1 / -1; background: var(--lilac); color: var(--ink); border-color: var(--lilac); }
.sizer-out { grid-column: 1 / -1; border-top: 1px dashed #55515c; padding-top: 18px; min-height: 60px; font-size: 15px; }
.sizer-out b { font: 600 40px/1 var(--f-display); color: var(--lilac); margin-right: 10px; vertical-align: -6px; }
.light .sizer input, .light .sizer select, .light .chip span { border-color: #bbb9b3; color: var(--ink); }
.light .sizer-out { border-color: #bbb9b3; }
.light .sizer-out b { color: var(--ink); background: linear-gradient(transparent 62%, rgba(180, 163, 230, .7) 0); }

/* 會員表 */
.tiers { width: 100%; border-collapse: collapse; }
.tiers th, .tiers td { text-align: left; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
.tiers thead th { font: 600 12px/1 var(--f-display); letter-spacing: .2em; color: var(--stone); border-bottom: 1px solid var(--ink); }
.tiers td:first-child { font: 500 22px/1.3 var(--f-display); width: 22%; }

/* 文章列 */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.post-row { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; }
.post-row img { width: 120px; aspect-ratio: 1; object-fit: cover; }
.post-row .d { font: 500 12px/1 var(--f-display); letter-spacing: .14em; color: var(--stone); display: block; margin-bottom: 8px; }
.post-row h3 { font-size: 18px; font-weight: 500; line-height: 1.5; }
.post-row:hover h3 { text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 5px; }
.svc { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.svc div { padding: 26px 20px 26px 0; }
.svc div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.svc b { display: block; font: 500 20px/1.3 var(--f-display); margin-bottom: 4px; }
.svc span { font-size: 14px; color: var(--stone); }

/* 列表頁 */
.crumb { font-size: 13px; color: var(--stone); padding: 28px 0 0; }
.crumb a { text-decoration: none; }
.page-head { padding: 28px 0 40px; display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: end; border-bottom: 1px solid var(--ink); margin-bottom: 36px; }
.page-head p { margin: 0; color: var(--stone); }
.cat-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.cat-tabs a { text-decoration: none; padding: 8px 16px; border: 1px solid var(--line); font-size: 14.5px; }
.cat-tabs a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.shop { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.filters { position: sticky; top: 96px; }
.filters fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 16px 0 20px; }
.filters legend { font: 600 12px/1 var(--f-display); letter-spacing: .2em; padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.filters .opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { position: relative; }
.fchip input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.fchip span { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); font-size: 13.5px; cursor: pointer; background: #fff0; }
.fchip input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.fchip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.fchip i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); }
.price-in { display: flex; gap: 8px; align-items: center; clear: both; }
.price-in input { width: 100%; height: 40px; border: 1px solid var(--line); background: transparent; padding: 0 10px; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.bar select { height: 40px; border: 1px solid var(--line); background: transparent; padding: 0 12px; }
.empty { padding: 60px 0; color: var(--stone); }
.ftoggle { display: none; }
.shop .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 商品頁 */
.pdp { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 4vw, 72px); align-items: start; padding-bottom: 40px; }
.gallery { display: grid; grid-template-columns: 72px 1fr; gap: 14px; position: sticky; top: 96px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; aspect-ratio: 3 / 4; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-pic { aspect-ratio: 3 / 4; overflow: hidden; background: var(--chalk-2); }
.main-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.buy h1 { font-size: clamp(28px, 2.8vw, 40px); margin-bottom: 8px; }
.buy .en { font: 500 13px/1 var(--f-display); letter-spacing: .22em; color: var(--stone); text-transform: uppercase; margin-bottom: 18px; display: block; }
.buy .price { font: 600 28px/1 var(--f-display); margin: 18px 0 22px; }
.buy .desc { color: #3c3a42; }
.opt { border: 0; padding: 0; margin: 0 0 22px; }
.opt legend { font-size: 14px; margin-bottom: 10px; display: flex; justify-content: space-between; width: 100%; }
.opt legend span { color: var(--stone); }
.opt .row { display: flex; gap: 8px; flex-wrap: wrap; }
.sbtn { min-width: 56px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); background: transparent; cursor: pointer; font: 500 15px/1 var(--f-display); position: relative; }
.sbtn[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sbtn:disabled { color: #a8a6ad; cursor: not-allowed; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(29, 27, 34, .06) 6px 7px); }
.sbtn:disabled::after { content: '缺貨'; position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); font: 400 11px/1 var(--f-body); color: var(--stone); white-space: nowrap; }
.sbtn .mine { position: absolute; top: -9px; right: -6px; font: 600 10px/1 var(--f-body); background: var(--lilac); color: var(--ink); padding: 3px 5px; }
.cbtn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; padding: 5px; cursor: pointer; }
.cbtn i { display: block; width: 100%; height: 100%; border-radius: 50%; }
.cbtn[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 48px; }
.qty button { width: 44px; height: 46px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty input { width: 44px; height: 46px; border: 0; text-align: center; background: transparent; font: 500 15px/1 var(--f-display); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; margin: 28px 0 12px; }
.buy-row .wishb { width: 48px; height: 48px; border: 1px solid var(--ink); background: transparent; cursor: pointer; display: grid; place-items: center; }
.buy-row .wishb svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.buy-row .wishb[aria-pressed="true"] svg { fill: var(--lilac); }
.msg { font-size: 14px; min-height: 22px; margin: 0; }
.msg.err { color: #9c2a2a; }
.facts { list-style: none; margin: 22px 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.facts li { font-size: 13px; border: 1px solid var(--line); padding: 4px 10px; }
.care { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0; border-top: 1px solid var(--line); padding-top: 18px; }
.care div { font-size: 13.5px; }
.care .meter { display: flex; gap: 3px; margin-top: 6px; }
.care .meter i { flex: 1; height: 6px; background: var(--line); }
.care .meter i.f { background: var(--ink); }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; padding: 18px 0; cursor: pointer; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font: 400 20px/1 var(--f-display); }
.acc[open] summary::after { content: '−'; }
.acc .in { padding: 0 0 20px; font-size: 15px; color: #3c3a42; }
.chart { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.chart th, .chart td { border-bottom: 1px solid var(--line); padding: 10px 6px; text-align: center; }
.chart th:first-child, .chart td:first-child { text-align: left; }
.chart tr.mine td { background: rgba(180, 163, 230, .25); }
.policy { font-size: 13.5px; color: var(--stone); margin-top: 18px; }
.policy ol { margin: 6px 0 0; padding-left: 20px; }

/* 購物車 / 結帳 */
.cart { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(32px, 4vw, 64px); align-items: start; padding-bottom: var(--sec); }
.line { display: grid; grid-template-columns: 104px 1fr auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 104px; aspect-ratio: 3 / 4; object-fit: cover; }
.line .nm { text-decoration: none; font-weight: 500; }
.line .vr { font-size: 13.5px; color: var(--stone); margin: 4px 0 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.line .vr select { height: 34px; border: 1px solid var(--line); background: transparent; padding: 0 8px; }
.line .ctrl { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.line .qty { height: 40px; }
.line .qty button, .line .qty input { height: 38px; }
.line .lp { font: 600 16px/1.4 var(--f-display); text-align: right; }
.summary { position: sticky; top: 96px; border-top: 1px solid var(--ink); padding-top: 20px; }
.summary h2 { font-size: 22px; margin-bottom: 14px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 0 0 18px; font-size: 15px; }
.summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.summary .tot { font: 600 22px/1.2 var(--f-display); padding-top: 12px; border-top: 1px solid var(--line); }
.shipbar { margin: 0 0 18px; font-size: 14px; }
.shipbar .track { position: relative; height: 8px; margin-top: 8px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10%), #e3e2dd; }
.shipbar .track i { position: absolute; inset: 0 auto 0 0; background: var(--ink); transition: width .6s var(--ease); }
.coupon { display: flex; gap: 8px; margin-bottom: 8px; }
.coupon input, .field input, .field select, .field textarea { width: 100%; height: 48px; border: 1px solid #bbb9b3; background: #fafaf8; padding: 0 14px; border-radius: 2px; }
.field textarea { height: 96px; padding: 10px 14px; }
.coupon .btn { flex: none; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 6px; font-size: 14.5px; }
.field.full { grid-column: 1 / -1; }
.field .err { color: #9c2a2a; font-size: 13px; min-height: 0; }
.field.bad input, .field.bad select { border-color: #9c2a2a; }
.step { border: 0; padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid var(--line); }
.step legend { font: 500 22px/1.3 var(--f-display); margin-bottom: 18px; padding: 0; }
.step legend small { font: 500 12px/1 var(--f-display); letter-spacing: .2em; color: var(--stone); margin-right: 12px; }
.radio { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); margin-bottom: 8px; cursor: pointer; }
.radio input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.radio:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.radio span small { display: block; color: var(--stone); font-size: 13px; }
.gate { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 34px; }
.gate > div { border: 1px solid var(--line); padding: 32px; }
.gate h2 { font-size: 22px; margin-bottom: 8px; }
.done { text-align: left; max-width: 640px; padding: 40px 0 var(--sec); }
.done .ono { font: 600 clamp(28px, 4vw, 44px)/1.2 var(--f-display); letter-spacing: .06em; display: block; margin: 10px 0 18px; }

/* 會員 */
.acct { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); padding-bottom: var(--sec); }
.acct form { display: grid; gap: 16px; align-content: start; }
.acct h2 { font-size: 28px; margin-bottom: 8px; }
.demo-cred { font-size: 13.5px; color: var(--stone); border-left: 3px solid var(--lilac); padding: 6px 12px; }
.mc { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding-bottom: var(--sec); }
.mc-nav { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.mc-nav button { text-align: left; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; font-size: 15.5px; }
.mc-nav button[aria-selected="true"] { font-weight: 700; box-shadow: inset 3px 0 0 var(--lilac); padding-left: 12px; }
.tier-card { border-top: 1px solid var(--ink); padding: 18px 0; margin-bottom: 28px; }
.tier-card b { font: 500 30px/1.2 var(--f-display); }
.tier-card .track { height: 6px; background: var(--line); margin: 14px 0 6px; position: relative; }
.tier-card .track i { position: absolute; inset: 0 auto 0 0; background: var(--lilac); }
.orders { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.orders th, .orders td { text-align: left; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.orders th { font: 600 12px/1 var(--f-display); letter-spacing: .14em; color: var(--stone); }

/* 文章 */
.post-list { display: grid; grid-template-columns: repeat(12, 1fr); gap: 56px 24px; padding-bottom: var(--sec); }
.post-list .feat { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: end; text-decoration: none; }
.post-list .feat img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-list .feat h2 { font-size: clamp(28px, 3vw, 44px); margin: 8px 0 14px; }
.post-list .it { grid-column: span 3; text-decoration: none; }
.post-list .it img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 14px; transition: transform 1.4s var(--ease); }
.post-list .it .pic { overflow: hidden; }
.post-list .it:hover img { transform: scale(1.04); }
.post-list .it h3 { font-size: 18px; font-weight: 500; line-height: 1.5; }
.post-list .d { font: 500 12px/1 var(--f-display); letter-spacing: .14em; color: var(--stone); }
.article { display: grid; grid-template-columns: 3fr 6fr 3fr; gap: 24px; padding-bottom: var(--sec); }
.article header { grid-column: 1 / -1; display: grid; grid-template-columns: 3fr 9fr; gap: 24px; padding: 24px 0 40px; }
.article header h1 { font-size: clamp(32px, 4.4vw, 64px); max-width: 16em; }
.article .hero-img { grid-column: 1 / -1; margin: 0 0 56px; }
.article .hero-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article aside { font-size: 13.5px; color: var(--stone); }
.article aside .sticky { position: sticky; top: 96px; border-top: 1px solid var(--ink); padding-top: 14px; }
.article .body { font-size: 17.5px; max-width: 36em; }
.article .body h2 { font-size: 26px; margin: 44px 0 16px; font-family: var(--f-body); font-weight: 500; }
.article .body p { margin-bottom: 1.4em; }
.article .shop-this { border-top: 1px solid var(--ink); padding-top: 14px; }
.article .shop-this a { display: grid; grid-template-columns: 56px 1fr; gap: 10px; text-decoration: none; margin-bottom: 14px; font-size: 14px; color: var(--ink); }
.article .shop-this img { width: 56px; aspect-ratio: 3 / 4; object-fit: cover; }
.article .next { grid-column: 2 / 3; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 30px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* help */
.help { display: grid; grid-template-columns: 3fr 9fr; gap: 48px; padding-bottom: var(--sec); }
.help nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; align-self: start; border-top: 1px solid var(--ink); padding-top: 14px; }
.help section { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.help h2 { margin-bottom: 18px; }

/* Footer */
.ft { background: var(--ink); color: #c9c6d0; padding: 88px 0 40px; margin-top: 0; font-size: 14.5px; }
.ft .logo .wm { color: #fff; }
.ft .logo svg path, .ft .logo svg line { stroke: #fff; }
.ft-grid { display: grid; grid-template-columns: 4fr 2fr 2fr 2fr 2fr; gap: 32px; padding-bottom: 56px; border-bottom: 1px solid #3a3741; }
.ft h3 { font: 600 12px/1 var(--f-display); letter-spacing: .2em; color: #8f8b97; margin-bottom: 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft a { text-decoration: none; color: #e4e2ea; }
.ft a:hover { text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 4px; }
.ft address { font-style: normal; line-height: 1.9; margin-top: 18px; }
.ft-bot { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 12.5px; color: #8f8b97; flex-wrap: wrap; }

/* 捲動出現（JS 有跑才隱藏） */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* 響應式 */
@media (max-width: 1180px) {
  .nav { gap: 14px; } .nav a { font-size: 14px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ft-grid > div:first-child { grid-column: 1 / -1; }
}
@media (min-width: 961px) and (max-width: 1280px), (min-width: 961px) and (max-height: 860px) {
  .day-info { padding: 32px; }
  .day-info ul { display: none; }
  .day-info p { margin-bottom: 0; }
}
@media (max-width: 960px) {
  .nav, .who { display: none; }
  .burger { display: inline-flex; }
  .hd .wrap { grid-template-columns: 1fr auto; }
  .hero-top, .page-head, .sec-head { grid-template-columns: 1fr; }
  .sec-head p { grid-column: 1; }
  .hero-side { justify-self: start; text-align: left; }
  .rail { padding-top: 0; }
  .rail-bar { top: 20px; }
  .week { padding-top: 40px; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; scrollbar-width: none; }
  .week::-webkit-scrollbar { display: none; }
  .day, .day.on { flex: 0 0 78%; scroll-snap-align: start; }
  .day-in, .day.on .day-in { grid-template-columns: 1fr; }
  .day figure { aspect-ratio: 3 / 4; height: auto; }
  .day-info, .day.on .day-info { display: flex; padding: 22px 20px; }
  .rail-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
  .rail-dots button { width: 32px; height: 24px; border: 0; background: none; padding: 0; cursor: pointer; }
  .rail-dots button::before { content: ''; display: block; height: 2px; background: var(--line); }
  .rail-dots button[aria-current="true"]::before { background: var(--ink); height: 3px; }
  .cats, .scenes, .story, .fit-band .wrap, .two, .pdp, .cart, .acct, .mc, .help, .gate { grid-template-columns: 1fr; }
  .cat.big { grid-row: auto; }
  .scenes .stage { position: relative; top: 0; }
  .shop { grid-template-columns: 1fr; }
  .ftoggle { display: inline-flex; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumbs button { width: 64px; }
  .summary, .help nav { position: static; }
  .article, .article header { grid-template-columns: 1fr; }
  .article .next { grid-column: 1; }
  .post-list .it { grid-column: span 6; }
  .post-list .feat { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .util { font-size: 11.5px; } .util span:nth-child(n+3) { display: none; }
  .logo .zh { display: none; }
  .grid, .shop .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .rules { grid-template-columns: 1fr; gap: 24px; }
  .sizer, .form { grid-template-columns: 1fr; }
  .post-list .it { grid-column: 1 / -1; }
  .post-row { grid-template-columns: 88px 1fr; } .post-row img { width: 88px; }
  .line { grid-template-columns: 80px 1fr; } .line img { width: 80px; } .line .lp { grid-column: 2; text-align: left; }
  .tiers td:first-child { font-size: 18px; }
  .tiers th, .tiers td { padding-right: 10px; font-size: 14px; }
  .care { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .gate > div { padding: 20px; }
  .orders { font-size: 13px; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .day, .day.on { flex-basis: 84%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rail.pre .day { transform: none; opacity: 1; }
  .js .rail.pre .day figure { clip-path: none; }
  .js .rail.pre .rail-bar line { stroke-dashoffset: 0; }
  .js .rv { opacity: 1; transform: none; }
}
[hidden] { display: none !important; }
