/* =========================================================
   FRY/DAY 薯条专注 · True Full-Bleed Apple × SpaceX Light System
   iOS · Apple Watch · Dynamic Island · 180-Day Stamp Map · 53 Items
   ========================================================= */

@font-face { font-family: "Anton"; src: url(fonts/anton.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Grotesk"; src: url(fonts/grotesk.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "QingKe"; src: url(fonts/qingke.woff2) format("woff2"); font-display: swap; }

:root {
  --bg: #FFFFFF;
  --lav: #F5F2FF;
  --lav-2: #EAE3FF;
  --champagne: #FFFBF2;
  --ink: #1A113B;
  --ink-2: #5B527A;
  --ink-3: #9088AC;
  --line: rgba(26, 17, 59, 0.08);
  --line-2: rgba(26, 17, 59, 0.15);

  --butter: #FFD84D;
  --gold: #C98C00;
  --tomato: #FF4B2B;
  --paper: #FFFDF7;

  --sans: "Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --display: "Anton", "Impact", sans-serif;
  --pop: "QingKe", "PingFang SC", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.3, 1.45, 0.5, 1);
  --nav-h: 58px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { overflow-x: clip; background: var(--bg); }
img { display: block; max-width: 100%; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
section[id] { scroll-margin-top: var(--nav-h); }

/* ---------- Global Glass Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 120;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(1340px, 92vw); height: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand img { width: 24px; transform: rotate(-10deg); }
.brand span { font-family: var(--display); font-size: 21px; letter-spacing: 0.03em; line-height: 1; color: var(--ink); }
.brand em { font-style: normal; color: var(--tomato); }

.nav-links { display: flex; gap: 22px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.nav-links a { transition: color 0.25s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-pill, .sfx-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 999px;
  background: rgba(26, 17, 59, 0.05); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.lang-pill:hover, .sfx-pill:hover { background: rgba(26, 17, 59, 0.1); color: var(--ink); }
.lang-pill.en { background: var(--ink); color: var(--butter); }
.sfx-pill em { font-style: normal; }
.sfx-pill .eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.sfx-pill .eq span { width: 2px; height: 100%; border-radius: 2px; background: var(--tomato); animation: eq 0.85s ease-in-out infinite alternate; }
.sfx-pill .eq span:nth-child(2) { animation-delay: 0.22s; height: 60%; }
.sfx-pill .eq span:nth-child(3) { animation-delay: 0.44s; height: 80%; }
.sfx-pill.muted .eq span { animation: none; height: 3px; background: var(--ink-3); }
@keyframes eq { from { transform: scaleY(0.28); } to { transform: scaleY(1); } }

.nav-dl {
  height: 34px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center;
  background: var(--ink); color: #FFFFFF; font-size: 12px; font-weight: 700; transition: background 0.2s, transform 0.2s;
}
.nav-dl:hover { background: var(--tomato); transform: translateY(-1px); }
.nav-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--tomato), var(--butter));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Minimal Light Chapter Rail ---------- */
.chapter-rail {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 100;
  display: flex; flex-direction: column; gap: 11px; align-items: flex-end;
}
.chapter-rail a { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; color: rgba(26, 17, 59, 0.35); }
.chapter-rail a span { opacity: 0; transition: opacity 0.2s; }
.chapter-rail a i { width: 6px; height: 6px; border-radius: 50%; background: rgba(26, 17, 59, 0.22); transition: all 0.25s; }
.chapter-rail a:hover span, .chapter-rail a.on span { opacity: 1; }
.chapter-rail a.on { color: var(--tomato); }
.chapter-rail a.on i { background: var(--tomato); transform: scale(1.45); box-shadow: 0 0 10px rgba(255, 75, 43, 0.45); }

/* ---------- Shared Controls ---------- */
.track { position: relative; }
.sticky { position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }
.hud-kicker { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tomato); margin-bottom: 8px; }
.hud-kicker.gold { color: #B47A00; }

.cta-solid, .cta-glass, .cta-tomato {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; font-size: 14px; font-weight: 700;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}
.cta-solid svg, .cta-tomato svg { width: 17px; height: 17px; }
.cta-solid { background: var(--ink); color: #FFFFFF; box-shadow: 0 12px 30px rgba(26, 17, 59, 0.18); }
.cta-solid:hover { transform: translateY(-2px); background: #2B1D5C; }
.cta-solid.sm { height: 40px; padding: 0 16px; font-size: 13px; }
.cta-glass { background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(14px); border: 1px solid var(--line-2); color: var(--ink); }
.cta-glass:hover { transform: translateY(-2px); background: #FFFFFF; border-color: var(--ink); }
.cta-tomato { background: var(--tomato); color: #FFFFFF; height: 50px; padding: 0 26px; font-size: 15px; box-shadow: 0 14px 32px rgba(255, 75, 43, 0.28); }
.cta-tomato:hover { transform: translateY(-2px); background: #EE3E1F; }

.glass-seg {
  display: inline-flex; gap: 3px; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(16px);
  border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(26, 17, 59, 0.06);
}
.glass-seg button { padding: 7px 13px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--ink-2); transition: all 0.2s; white-space: nowrap; }
.glass-seg button:hover { color: var(--ink); }
.glass-seg button.on { background: var(--ink); color: #FFFFFF; }

/* =========================================================
   SCENE 01 · FULL-BLEED HERO
   ========================================================= */
.track-hero { height: 250vh; background: #ECEAF7; }
.hero-stage { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.hero-canvas-bg { position: absolute; inset: 0; z-index: 1; background: #ECEAF7; will-change: transform, opacity; }
.hero-canvas-bg img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 42%; }
.hero-soft-fade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(246, 244, 255, 0.55) 0%, transparent 18%, transparent 62%, rgba(255, 255, 255, 0.94) 94%, #FFFFFF 100%);
}
.hero-giant-word {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); z-index: 2;
  display: flex; align-items: center; gap: 1.5vw; pointer-events: none; user-select: none;
  font-family: var(--display); font-size: clamp(130px, 23vw, 350px); line-height: 0.82;
  color: rgba(26, 17, 59, 0.065); will-change: transform, opacity;
}
.hero-giant-word .gw-slash { color: rgba(255, 75, 43, 0.14); }
.hero-giant-word span { display: inline-block; will-change: transform; }

.hero-front { position: relative; z-index: 6; text-align: center; padding: 0 20px 62px; display: flex; flex-direction: column; align-items: center; will-change: transform, opacity; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(12px); border: 1px solid var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--ink-2); margin-bottom: 14px;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tomato); box-shadow: 0 0 10px var(--tomato); }
.hero-title { font-size: clamp(34px, 4.8vw, 66px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.hero-title span { color: var(--tomato); }
.hero-ctas { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.hero-statement {
  position: absolute; inset: 0; z-index: 7; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0 28px; opacity: 0; transform: translateY(36px); will-change: transform, opacity;
}
.statement-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.24em; color: var(--tomato); margin-bottom: 16px; }
.statement-lines { max-width: 920px; font-size: clamp(30px, 4.5vw, 60px); font-weight: 800; line-height: 1.3; letter-spacing: -0.025em; }
.statement-lines span { display: inline; color: rgba(26, 17, 59, 0.16); transition: color 0.4s var(--ease); }
.statement-lines span.lit { color: var(--ink); }
.statement-lines span.em.lit { color: var(--tomato); }

.hero-scroll-cue { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 8; display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--ink-3); }
.cue-track { width: 38px; height: 2px; background: rgba(26, 17, 59, 0.14); border-radius: 2px; overflow: hidden; }
.cue-track i { display: block; width: 45%; height: 100%; background: var(--tomato); animation: cueRun 1.5s ease-in-out infinite; }
@keyframes cueRun { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* =========================================================
   SCENE 02 · FULL-BLEED STICKY FRYER IGNITION
   ========================================================= */
.track-fry { height: 300vh; background: linear-gradient(180deg, #FFFFFF 0%, #F5F1FF 50%, #FFFFFF 100%); }
.fry-stage {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: calc(var(--nav-h) + 18px) 4vw 20px; gap: 10px;
}
.fry-bg-clock {
  position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); z-index: 1;
  font-family: var(--display); font-size: clamp(160px, 28vw, 420px); line-height: 0.85;
  color: rgba(26, 17, 59, 0.045); font-variant-numeric: tabular-nums; pointer-events: none; user-select: none;
}
.fry-glow {
  position: absolute; left: 50%; top: 50%; width: min(740px, 88vw); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 216, 77, 0.45) 0%, rgba(255, 190, 80, 0.12) 45%, transparent 70%); opacity: 0.35;
}
.fry-hud-bar {
  position: relative; z-index: 9; width: 100%; flex: none;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.hud-corner { position: relative; }
.hud-corner.top-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hud-readout-row { display: flex; gap: 22px; margin-top: 4px; }
.hud-readout-row b { display: block; font-family: var(--display); font-size: 32px; font-weight: 400; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.hud-readout-row span { font-size: 11px; font-weight: 600; color: var(--ink-2); }

.fry-top-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.coupon-pill {
  height: 38px; padding: 0 14px; border-radius: 999px;
  background: #FFF7DB; border: 1.5px dashed #D49600; color: var(--ink);
  font-size: 12px; font-weight: 700; transition: transform 0.2s;
}
.coupon-pill:hover { transform: translateY(-1px); }
.coupon-pop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
  width: 300px; max-width: 82vw; padding: 14px 16px; border-radius: 18px; background: #FFFFFF;
  border: 1px solid var(--line-2); box-shadow: 0 16px 36px rgba(26, 17, 59, 0.12);
  font-size: 12px; line-height: 1.55; color: var(--ink-2);
}
.coupon-pop b { display: block; color: var(--ink); margin-bottom: 4px; font-size: 13px; }

.fry-centerpiece {
  position: relative; z-index: 5; flex: 1; min-height: 0; width: 100%;
  display: flex; align-items: center; justify-content: center; padding-top: 34px;
  will-change: transform;
}
.fry-sunburst {
  position: absolute; width: min(460px, 56vh, 78vw); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 216, 77, 0.5) 0 7.5deg, transparent 7.5deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 32%, transparent 66%); mask-image: radial-gradient(circle, #000 32%, transparent 66%);
  animation: spin 46s linear infinite; opacity: 0.3;
}
@keyframes spin { to { transform: rotate(360deg); } }
.fry-unit {
  position: relative; height: min(100%, 320px, 44vh); width: auto; aspect-ratio: 775 / 900;
  max-width: 68vw; flex: none;
}
.fryer-hero-img { position: relative; z-index: 3; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 40px rgba(26, 17, 59, 0.18)); }
/* 底边正好停在 36% 金黄油面线（-74% + 110% = 36%），左右与顶部留足空间永不裁切任何一根薯条 */
.fry-fan-clip { position: absolute; left: -60%; right: -60%; top: -74%; height: 110%; z-index: 4; overflow: hidden; pointer-events: none; }
.fry-fan { position: absolute; left: 50%; bottom: 0; width: 0; height: 0; }
.fry-fan .fry-stick {
  position: absolute; left: 0; bottom: 0; width: var(--fw, 20px); aspect-ratio: 200 / 1308;
  margin-left: calc(var(--fw, 20px) * -0.5); transform-origin: 50% 100%;
  background: url(img/fry.webp) center / 100% 100% no-repeat;
  transform: rotate(var(--a, 0deg)) translateY(calc((44 - var(--rise, 0)) * 1%));
  filter: saturate(0.25) brightness(1.24); transition: filter 0.45s;
}
.fry-fan .fry-stick.cook { filter: saturate(0.88) brightness(1.06); }
.fry-fan .fry-stick.done { filter: saturate(1.12) brightness(1.02) drop-shadow(0 4px 10px rgba(255, 196, 36, 0.7)); }
.fry-fan .fry-stick.gold { background-image: url(img/goldfry.webp); }
.fry-bubbles { position: absolute; left: 20%; right: 20%; top: 24%; height: 20%; z-index: 5; overflow: hidden; pointer-events: none; }
.fry-bubbles i { position: absolute; bottom: -10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.92); background: rgba(255, 224, 120, 0.5); animation: oilBub 1.4s ease-in infinite; opacity: 0; }
@keyframes oilBub { 0% { transform: translateY(0) scale(0.4); opacity: 0; } 25% { opacity: 0.95; } 100% { transform: translateY(-64px) scale(1.15); opacity: 0; } }

.fry-bottom-bar { position: relative; z-index: 8; flex: none; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fry-captions { position: relative; width: min(680px, 88vw); text-align: center; height: 84px; }
.fry-cap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transform: translateY(18px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); pointer-events: none; }
.fry-cap.on { opacity: 1; transform: none; pointer-events: auto; }
.fry-cap h2 { font-size: clamp(22px, 2.8vw, 36px); font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
.fry-cap p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.fry-progress-dots { display: flex; gap: 10px; }
.fry-progress-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(26, 17, 59, 0.16); transition: all 0.3s var(--spring); }
.fry-progress-dots i.on { width: 26px; border-radius: 999px; background: var(--tomato); }

/* =========================================================
   SCENE 03 · NEW!! APPLE NATIVE ECOSYSTEM STAGE
   ========================================================= */
.eco-section { background: #FFFFFF; padding: 104px 0 112px; }
.eco-container { width: min(1280px, 92vw); margin: 0 auto; }
.eco-head { max-width: 720px; margin-bottom: 44px; }
.eco-h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); }
.eco-h2 em { font-style: normal; color: var(--tomato); }
.eco-sub { margin-top: 14px; font-size: 16px; color: var(--ink-2); line-height: 1.65; }

.eco-grid { display: grid; grid-template-columns: 1.08fr 0.92fr 1.04fr; gap: 22px; align-items: stretch; }
.eco-card {
  padding: 28px; border-radius: 30px; background: var(--lav); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.eco-badge { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.16em; padding: 4px 10px; border-radius: 999px; background: #FFFFFF; color: var(--tomato); margin-bottom: 10px; }
.eco-card-top h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.eco-card-top p { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }

/* Live Morphing Dynamic Island */
.island-stage {
  padding: 22px 16px; border-radius: 22px; background: linear-gradient(160deg, #FFFFFF, #EFEAFF);
  border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.di-pill {
  width: 100%; border-radius: 26px; padding: 16px 18px; color: #FFFFFF;
  background: #22164A; box-shadow: 0 20px 44px rgba(26, 17, 59, 0.25);
  transition: background 0.35s var(--ease), transform 0.35s var(--spring);
}
.di-pill[data-state="away"] { background: #3A1024; }
.di-pill[data-state="burnt"] { background: #211417; }
.di-top-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.di-lead { display: flex; align-items: center; gap: 11px; min-width: 0; }
.di-lead img { width: 42px; height: 42px; object-fit: contain; flex: none; }
.di-lead b { display: block; font-size: 14px; color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.di-lead span { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.72); margin-top: 2px; }
.di-timer { font-family: var(--display); font-size: 28px; color: var(--butter); line-height: 1; flex: none; font-variant-numeric: tabular-nums; }
.di-pill[data-state="away"] .di-timer, .di-pill[data-state="burnt"] .di-timer { color: #FF6B4D; }
.di-bar { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); margin-top: 14px; overflow: hidden; }
.di-bar i { display: block; height: 100%; border-radius: 999px; background: var(--butter); transition: width 0.5s var(--ease), background 0.3s; }
.di-pill[data-state="away"] .di-bar i, .di-pill[data-state="burnt"] .di-bar i { background: #FF6B4D; }

.di-compact {
  display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px; border-radius: 999px;
  background: #140D2B; color: var(--butter); font-family: var(--display); font-size: 14px; letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(20, 13, 43, 0.22);
}
.di-compact img { height: 20px; transform: rotate(18deg); }

.eco-switcher { display: flex; gap: 6px; flex-wrap: wrap; }
.eco-switcher button {
  padding: 6px 11px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: #FFFFFF; color: var(--ink-2); border: 1px solid var(--line); transition: all 0.2s;
}
.eco-switcher button.on { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }

/* Interactive Apple Watch Mockup (FryWatch) */
.watch-stage { display: grid; place-items: center; padding: 8px 0; }
.watch-body {
  position: relative; width: 224px; height: 266px; border-radius: 50px; padding: 11px;
  background: linear-gradient(145deg, #F0EDF8, #C9C2DF);
  border: 1.5px solid rgba(26, 17, 59, 0.18);
  box-shadow: 0 26px 56px rgba(26, 17, 59, 0.16), inset 0 0 0 2px #FFFFFF;
}
.watch-crown {
  position: absolute; right: -8px; top: 64px; width: 9px; height: 44px; border-radius: 5px;
  background: linear-gradient(180deg, #E2DDF2, #ACA3C7, #E2DDF2); border: 1px solid rgba(26, 17, 59, 0.25);
  cursor: pointer; transition: transform 0.15s;
}
.watch-crown:active { transform: translateX(-2px); }
.watch-screen {
  width: 100%; height: 100%; border-radius: 40px; padding: 14px 13px;
  background: linear-gradient(180deg, #22164A 0%, #0E091E 100%); color: #FFFFFF;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
}
.ws-top { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.ws-brand { font-family: var(--display); font-size: 14px; color: #D9CEFF; letter-spacing: 0.04em; }
.ws-wallet {
  padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 216, 77, 0.65); font-size: 11px; color: var(--butter); font-weight: 700;
}
.ws-wallet b { font-family: var(--display); font-weight: 400; font-size: 13px; }
.ws-status { font-size: 11px; color: rgba(217, 206, 255, 0.8); font-weight: 600; }
.ws-dial-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.ws-step {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF; font-size: 16px; font-weight: 700; display: grid; place-items: center; transition: background 0.15s;
}
.ws-step:hover { background: rgba(255, 216, 77, 0.35); color: var(--butter); }
.ws-time { font-family: var(--display); font-size: 42px; line-height: 1; color: var(--butter); font-variant-numeric: tabular-nums; }
.ws-yield { font-size: 11px; color: rgba(255, 255, 255, 0.8); }
.ws-yield em { font-style: normal; padding: 1px 5px; border-radius: 999px; background: var(--butter); color: var(--ink); font-weight: 800; font-size: 10px; margin-left: 3px; }
.ws-go {
  width: 100%; height: 38px; border-radius: 999px; background: var(--tomato); color: #FFFFFF;
  font-family: var(--pop); font-size: 20px; transition: transform 0.15s, background 0.2s;
}
.ws-go:active { transform: scale(0.95); }
.ws-go.running { background: #3B2878; color: var(--butter); font-family: var(--sans); font-size: 12px; font-weight: 700; }

/* Home Screen Custom Icons & iCloud */
.homescreen-mock {
  padding: 18px; border-radius: 22px; background: linear-gradient(160deg, #FFFFFF, #FFF7E4);
  border: 1px solid var(--line);
}
.hs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: center; }
.hs-app { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.hs-app i { width: 52px; height: 52px; border-radius: 14px; background: rgba(26, 17, 59, 0.06); display: block; }
.hs-app img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; box-shadow: 0 10px 22px rgba(26, 17, 59, 0.18); transition: transform 0.35s var(--spring); }
.hs-app span { font-size: 10px; font-weight: 700; color: var(--ink-2); }
.hs-app.active span { color: var(--ink); }
.hs-caption { margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--ink-2); text-align: center; }

.icon-pick-row { display: flex; justify-content: center; gap: 10px; }
.icon-pick-row button {
  width: 46px; height: 46px; padding: 2px; border-radius: 13px; border: 2px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
}
.icon-pick-row button img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
.icon-pick-row button:hover { transform: translateY(-2px); }
.icon-pick-row button.on { border-color: var(--tomato); transform: scale(1.08); }

.sync-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sync-strip > div { padding: 12px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); }
.sync-strip b { display: block; font-size: 12px; color: var(--ink); }
.sync-strip span { display: block; font-size: 11px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }

/* =========================================================
   SCENE 04 · PLAYABLE DIP & CRUNCH LAB (WITH BUNCH ×5 & OUTFITS)
   ========================================================= */
.track-crunch { height: 280vh; background: linear-gradient(180deg, #F7F4FF 0%, #EFE9FF 50%, #FFFDF7 100%); }
.crunch-stage { display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 20px) 4vw 20px; user-select: none; touch-action: pan-y; }
.crunch-bg-rays { position: absolute; right: 6%; top: 48%; width: min(680px, 68vw); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; z-index: 1; }
.crunch-bg-rays::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 216, 77, 0.52) 0 8deg, transparent 8deg 16deg);
  -webkit-mask-image: radial-gradient(circle, #000 42%, transparent 68%); mask-image: radial-gradient(circle, #000 42%, transparent 68%);
  animation: spin 56s linear infinite;
}

.crunch-topbar { position: relative; z-index: 10; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.crunch-h2 { font-size: clamp(26px, 3.3vw, 44px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; color: var(--ink); }
.crunch-h2 em { font-style: normal; color: var(--tomato); }
.crunch-head-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.glass-action {
  display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 14px; border-radius: 999px;
  background: #FFFFFF; border: 1.5px solid var(--line-2); font-size: 12px; font-weight: 700; color: var(--ink);
  box-shadow: 0 6px 16px rgba(26, 17, 59, 0.06); transition: all 0.2s;
}
.glass-action:hover { border-color: var(--ink); transform: translateY(-1px); }
.glass-action.on { background: var(--butter); border-color: var(--ink); }
.glass-action b { color: var(--tomato); font-family: var(--display); font-weight: 400; font-size: 16px; }

.glass-stat { display: inline-flex; align-items: baseline; gap: 4px; height: 40px; padding: 0 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.glass-stat b { font-family: var(--display); font-size: 20px; font-weight: 400; color: var(--ink); }
.glass-stat.hot { background: rgba(255, 75, 43, 0.1); border-color: rgba(255, 75, 43, 0.25); color: var(--tomato); }
.glass-stat.hot b { color: var(--tomato); }
.glass-stat.bump { animation: bump 0.4s var(--spring); }
@keyframes bump { 35% { transform: scale(1.12); } }

.crunch-arena { position: relative; flex: 1; width: 100%; z-index: 6; }
.arena-plate { position: absolute; left: 5%; bottom: 10%; width: clamp(150px, 19vw, 250px); pointer-events: none; filter: drop-shadow(0 20px 26px rgba(55, 30, 120, 0.18)); }
.arena-bowl { position: absolute; left: 37%; bottom: 15%; width: clamp(140px, 17vw, 224px); filter: drop-shadow(0 22px 26px rgba(55, 30, 120, 0.22)); transition: transform 0.25s var(--spring); }
.arena-bowl.dipping { transform: scale(1.09) rotate(-4deg); }
.arena-tag { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); white-space: nowrap; padding: 3px 12px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--line-2); font-size: 12px; font-weight: 700; color: var(--ink); box-shadow: 0 6px 16px rgba(26, 17, 59, 0.1); }

.arena-mouth, .arena-lipfront {
  position: absolute; right: 7%; top: 46%; width: clamp(250px, 34vw, 460px); aspect-ratio: 1100 / 861;
  transform: translateY(-50%); pointer-events: none;
}
.arena-mouth { z-index: 6; }
.arena-lipfront { z-index: 19; opacity: 0; transition: opacity 0.12s; }
.arena-lipfront.on { opacity: 1; }
.arena-mouth-inner { position: absolute; inset: 0; transition: transform 0.22s var(--spring); transform-origin: 50% 50%; }
.mouth-skin { position: absolute; inset: 0; filter: drop-shadow(0 30px 42px rgba(150, 20, 50, 0.24)); }
.mlayer { position: absolute; inset: 0; background: var(--lab-mouth, url(img/lips/classic.webp)) center / 100% 100% no-repeat; }
.jaw-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.chomping .ml-top, .chomping .ml-bot { visibility: hidden; }
.ml-mid { clip-path: polygon(6% 40%,8% 38%,15% 34%,20% 32%,30% 33%,40% 35%,50% 35%,60% 35%,70% 33%,80% 32%,85% 34%,92% 38%,94% 40%,94% 47%,92% 49%,85% 54%,80% 57%,70% 62%,60% 65%,50% 67%,40% 65%,30% 62%,20% 57%,15% 54%,8% 49%,6% 47%); }
.ml-top { clip-path: polygon(0 0,100% 0,100% 48%,97% 47%,92% 44%,85% 37%,80% 35%,70% 36%,60% 38%,50% 38%,40% 38%,30% 36%,20% 35%,15% 37%,8% 44%,3% 47%,0 48%); }
.ml-bot { clip-path: polygon(0 100%,0 42%,3% 43%,8% 46%,15% 50%,20% 53%,30% 58%,40% 61%,50% 63%,60% 61%,70% 58%,80% 53%,85% 50%,92% 46%,97% 43%,100% 42%,100% 100%); }
.lip-glint { position: absolute; width: 4.5%; aspect-ratio: 1; animation: twinkle 2.4s ease-in-out infinite; }
.lip-glint::before { content: ""; position: absolute; inset: 0; background: #fff; clip-path: polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%); }
.g1 { left: 29%; top: 13%; }
.g2 { left: 82%; top: 19%; animation-delay: 0.9s; width: 3.4%; }
@keyframes twinkle { 0%, 100% { transform: scale(0.2); opacity: 0; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }

.drag-food { position: absolute; left: 0; top: 0; width: 62px; height: 188px; z-index: 15; cursor: grab; will-change: transform; touch-action: none; }
.drag-food.held { cursor: grabbing; z-index: 18; }
.drag-food-img { position: absolute; inset: 0; background: url(img/fry.webp) center / contain no-repeat; filter: drop-shadow(0 14px 18px rgba(55, 30, 120, 0.24)); z-index: 2; }
.bunch-extras { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.bunch-extras i { position: absolute; inset: 0; background: center / contain no-repeat; transform-origin: 50% 85%; filter: drop-shadow(0 10px 14px rgba(55, 30, 120, 0.2)); }

.sauce-coat { position: absolute; left: 50%; top: 0; width: 42px; height: 52px; transform: translateX(-50%); opacity: 0; transition: opacity 0.18s; pointer-events: none; z-index: 3; }
.drag-food.sauced .sauce-coat { opacity: 1; }
.powder-coat { position: absolute; left: 50%; top: -2px; width: 48px; height: 60px; transform: translateX(-50%); opacity: 0; transition: opacity 0.18s; pointer-events: none; z-index: 3; }
.drag-food.powdered .powder-coat { opacity: 1; }
.grab-badge { position: absolute; left: 50%; top: -38px; transform: translateX(-50%); white-space: nowrap; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--butter); font-size: 11px; font-weight: 700; pointer-events: none; transition: opacity 0.2s; z-index: 4; }
.drag-food.held .grab-badge { opacity: 0; }

.burst-layer { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
.comic-burst { position: absolute; transform: translate(-50%, -50%); pointer-events: none; }
.comic-burst span { display: inline-block; font-family: var(--pop); font-size: 46px; color: #FFFFFF; background: var(--tomato); border-radius: 18px; padding: 4px 18px; box-shadow: 0 14px 30px rgba(255, 75, 43, 0.35); white-space: nowrap; }
.comic-burst.gold span { background: var(--butter); color: var(--ink); }

.crunch-dock { position: relative; z-index: 12; display: flex; align-items: center; gap: 14px; padding: 8px 12px; border-radius: 22px; background: rgba(255, 255, 255, 0.8); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(255, 255, 255, 0.92); box-shadow: 0 14px 40px rgba(26, 17, 59, 0.08); }
.dock-tabs { display: inline-flex; gap: 4px; flex: none; padding-right: 10px; border-right: 1px solid var(--line); }
.dock-tabs button { padding: 7px 12px; border-radius: 12px; font-size: 12px; font-weight: 700; color: var(--ink-2); transition: all 0.2s; }
.dock-tabs button.on { background: var(--ink); color: #FFFFFF; }
.dock-items { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.dock-items::-webkit-scrollbar { display: none; }
.dock-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 7px; border-radius: 14px; background: rgba(26, 17, 59, 0.04); font-size: 12px; font-weight: 700; color: var(--ink); transition: transform 0.2s, background 0.2s; }
.dock-chip img { width: 26px; height: 26px; object-fit: contain; }
.dock-chip:hover { transform: translateY(-2px); background: rgba(26, 17, 59, 0.09); }
.dock-chip.on { background: var(--butter); }

/* =========================================================
   SCENE 05 · NEW!! 180 天常客集章 · 蜿蜒香气地图
   ========================================================= */
.stamps-section { background: #FFFDF7; padding: 104px 0 112px; border-top: 1px solid var(--line); }
.stamps-container { width: min(1260px, 92vw); margin: 0 auto; }
.stamps-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4.5vw, 56px); align-items: center; }

.stamps-h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); }
.stamps-h2 em { font-style: normal; color: var(--tomato); }
.stamps-p { margin-top: 14px; font-size: 15px; line-height: 1.72; color: var(--ink-2); }

.stamp-ticket-box {
  margin-top: 26px; padding: 26px; border-radius: 28px; background: #FFFFFF;
  border: 2px solid var(--ink); box-shadow: 0 20px 50px rgba(26, 17, 59, 0.08);
}
.st-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; color: var(--ink-3); }
.st-main-row { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 16px; }
.st-big-num { display: flex; align-items: baseline; gap: 8px; }
.st-big-num b { font-family: var(--display); font-size: 62px; font-weight: 400; line-height: 0.95; color: var(--ink); }
.st-big-num span { font-size: 15px; font-weight: 700; color: var(--ink); }
.st-big-num small { color: var(--ink-3); font-weight: 600; }
.st-seal {
  width: 78px; height: 78px; border-radius: 50%; border: 2px dashed var(--tomato); color: var(--tomato);
  display: grid; place-items: center; text-align: center; font-size: 11px; font-weight: 800; line-height: 1.25;
  transform: rotate(-10deg); transition: all 0.3s var(--spring);
}
.st-seal.stamped { border-style: solid; background: rgba(255, 75, 43, 0.08); }
.st-prog-track { height: 10px; border-radius: 999px; background: var(--lav); border: 1.5px solid var(--ink); overflow: hidden; }
.st-prog-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--butter), var(--tomato)); transition: width 0.55s var(--ease); }
.st-next-tip { margin: 14px 0 16px; font-size: 14px; font-weight: 600; color: var(--ink); }
.st-next-tip b { color: var(--tomato); }
.st-btn { width: 100%; height: 48px; }
.st-fine { display: block; text-align: center; margin-top: 10px; font-size: 11px; color: var(--ink-3); }

/* Winding Aroma Journey Map */
.stamps-map-card {
  padding: 24px; border-radius: 32px; background: linear-gradient(155deg, #FFF8E1 0%, #F7F2FF 100%);
  border: 1.5px solid rgba(26, 17, 59, 0.12); box-shadow: 0 24px 60px rgba(26, 17, 59, 0.07);
}
.map-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.map-header b { font-size: 20px; font-weight: 800; color: var(--ink); }
.map-header span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--butter); color: var(--ink); }

.aroma-map { position: relative; height: 390px; border-radius: 22px; background: rgba(255, 255, 255, 0.72); border: 1px solid var(--line); overflow: hidden; }
.aroma-path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.map-postmark {
  position: absolute; left: 20px; bottom: 18px; width: 78px; height: 78px; border-radius: 50%;
  border: 2px dashed rgba(26, 17, 59, 0.16); color: rgba(26, 17, 59, 0.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; transform: rotate(-14deg);
}
.map-nodes { position: absolute; inset: 0; }
.map-node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) rotate(var(--r));
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 8px; border-radius: 16px;
  transition: transform 0.25s var(--spring), background 0.2s; cursor: pointer;
}
.map-node:hover, .map-node.selected { transform: translate(-50%, -50%) scale(1.1) rotate(0deg); background: rgba(255, 255, 255, 0.92); box-shadow: 0 12px 26px rgba(26, 17, 59, 0.12); z-index: 4; }
.mn-art { position: relative; width: 58px; height: 58px; display: grid; place-items: center; }
.mn-art img { max-width: 56px; max-height: 56px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(26, 17, 59, 0.18)); }
.mn-art img.sq { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; }
.mn-day {
  position: absolute; left: -10px; top: -6px; padding: 2px 7px; border-radius: 999px;
  background: var(--butter); border: 1.5px solid var(--ink); font-size: 10px; font-weight: 800; color: var(--ink);
}
.mn-check {
  position: absolute; right: -4px; bottom: -2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--tomato); color: #FFFFFF; font-size: 11px; font-weight: 800; display: grid; place-items: center;
  border: 2px solid #FFFFFF; opacity: 0; transform: scale(0.4); transition: all 0.3s var(--spring);
}
.map-node.unlocked .mn-check { opacity: 1; transform: scale(1); }
.map-node b { font-size: 12px; font-weight: 800; color: var(--ink); white-space: nowrap; }

.map-detail-bar {
  margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.map-detail-bar b { font-size: 14px; color: var(--ink); }
.map-detail-bar span { font-size: 12px; color: var(--ink-2); }

/* =========================================================
   SCENE 06 · EFFORTLESS 3-ROW KINETIC VAULT (ALL 53 ITEMS AT ONCE)
   ========================================================= */
.vault-section {
  background: #FFFFFF; padding: 100px 0 108px; overflow: hidden;
  border-top: 1px solid var(--line);
}
.vault-header {
  width: min(1320px, 92vw); margin: 0 auto 40px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.gallery-h2 { font-size: clamp(28px, 3.6vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.gallery-h2 em { font-style: normal; color: var(--tomato); }
.vault-sub { margin-top: 10px; font-size: 14px; color: var(--ink-2); max-width: 660px; line-height: 1.6; }

.vault-legend-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--lav); border: 1.5px solid var(--line-2); color: var(--ink);
  font-size: 13px; font-weight: 800; transition: all 0.25s var(--ease); flex: none;
}
.vault-legend-btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.vault-legend-btn.on {
  background: linear-gradient(135deg, #FFE680, #FFD23F); border-color: #C98C00;
  color: var(--ink); box-shadow: 0 12px 26px rgba(201, 140, 0, 0.22);
}

.vault-ribbons {
  display: flex; flex-direction: column; gap: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.vault-row { width: 100%; overflow: hidden; padding: 4px 0; }
.vault-track {
  display: flex; gap: 14px; width: max-content; will-change: transform;
  animation: vaultLeft 56s linear infinite;
}
.vault-row[data-dir="right"] .vault-track { animation: vaultRight 68s linear infinite; }
.vault-row[data-dir="left-slow"] .vault-track { animation: vaultLeft 48s linear infinite; }
.vault-row:hover .vault-track { animation-play-state: paused; }
@keyframes vaultLeft { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes vaultRight { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

.v-tile {
  flex: none; width: 204px; padding: 14px 16px; border-radius: 24px;
  background: var(--lav); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.3s var(--spring), box-shadow 0.3s var(--ease), background 0.3s;
}
.v-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(26, 17, 59, 0.1); }
.v-tile.hero-snack { width: 222px; cursor: pointer; }
.v-tile.vip { background: linear-gradient(155deg, #FFFBF0, #FFF0C2); border-color: rgba(201, 140, 0, 0.28); }
.v-tile.stamp { background: linear-gradient(155deg, #FFF5F8, #FFEBF2); border-color: rgba(235, 92, 130, 0.25); }
.v-tile.legend-on { background: linear-gradient(155deg, #FFF7D6, #FFE38A); border-color: rgba(201, 140, 0, 0.45); }

.v-pic { height: 92px; display: grid; place-items: center; }
.v-tile.hero-snack .v-pic { height: 112px; }
.v-pic img {
  max-height: 86px; max-width: 82%; object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(26, 17, 59, 0.14)); transition: transform 0.35s var(--spring);
}
.v-tile.hero-snack .v-pic img { max-height: 106px; }
.v-pic img.app-icon-squircle { width: 78px; height: 78px; border-radius: 18px; object-fit: cover; filter: none; box-shadow: 0 10px 22px rgba(26, 17, 59, 0.18); }
.v-tile:hover .v-pic img { transform: scale(1.08) rotate(-3deg); }
.g-boat { width: 96px; height: 54px; border: 2.5px solid var(--ink); border-radius: 8px 8px 40% 40% / 8px 8px 60% 60%; background: repeating-conic-gradient(var(--tomato) 0 25%, #fff 0 50%) 0 0 / 14px 14px; }

.v-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.v-meta b { font-size: 14px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-badge {
  flex: none; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700;
  background: #FFFFFF; color: var(--ink-2); white-space: nowrap;
}
.v-tile.stamp .v-badge { background: #E94B77; color: #FFFFFF; }
.v-tile.vip .v-badge { background: var(--ink); color: var(--butter); }
.v-tile.legend-on .v-badge { background: var(--tomato); color: #FFFFFF; }

/* =========================================================
   SCENE 07 · 3D iPHONE (7 REAL SCREENS) + INTERACTIVE BILL
   ========================================================= */
.track-device { height: 250vh; background: linear-gradient(180deg, #F7F4FF 0%, #FFFDF7 100%); }
.device-stage { display: flex; align-items: center; padding-top: var(--nav-h); }
.device-grid.two-col-wide {
  width: min(1240px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(28px, 4.5vw, 64px); align-items: center;
}

.device-phone-col { display: flex; flex-direction: column; align-items: center; perspective: 1200px; }
.phone-3d {
  position: relative; height: min(530px, 64vh); width: auto; aspect-ratio: 9 / 19.3; border-radius: 40px; padding: 9px;
  background: linear-gradient(145deg, #F7F5FC, #DCD6EE); border: 1px solid rgba(26, 17, 59, 0.14);
  box-shadow: 0 32px 72px rgba(26, 17, 59, 0.15), inset 0 0 0 2px #FFFFFF; transform-style: preserve-3d; will-change: transform;
}
.phone-sheen { position: absolute; inset: 0; border-radius: 40px; pointer-events: none; z-index: 6; background: linear-gradient(120deg, rgba(255, 255, 255, 0.55), transparent 40%); }
.phone-island { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); width: 76px; height: 19px; border-radius: 999px; background: #1A113B; z-index: 5; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--lav); }
.dev-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.42s var(--ease); }
.dev-shot.on { opacity: 1; }
.phone-dots { margin-top: 16px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 420px; }
.phone-dots button { padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--ink-2); background: rgba(26, 17, 59, 0.06); transition: all 0.2s; }
.phone-dots button.on { background: var(--ink); color: #FFFFFF; }

.device-bill-col { display: flex; flex-direction: column; gap: 18px; }
.device-h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; color: var(--ink); }
.device-p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--ink-2); max-width: 520px; }

.device-receipt-col.wide-receipt { width: 100%; max-width: 470px; }
.printer-head { height: 30px; border-radius: 12px; background: #ECE8F8; border: 1px solid var(--line-2); padding: 0 14px; display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: var(--ink-2); position: relative; z-index: 3; }
.printer-led { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 8px #22C55E; }
.receipt-chute { overflow: hidden; padding: 0 10px 16px; margin-top: -6px; }
.thermal-sheet {
  background: var(--paper); color: var(--ink); padding: 22px 22px 24px; border: 1px solid rgba(26, 17, 59, 0.08);
  box-shadow: 0 20px 44px rgba(26, 17, 59, 0.09);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 8px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 8px repeat-x;
  will-change: transform;
}
.ts-brand { font-family: var(--display); font-size: 24px; text-align: center; letter-spacing: 0.04em; line-height: 1; }
.ts-sub { text-align: center; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-3); margin-top: 4px; }
.ts-dash { border: 0; border-top: 1.5px dashed rgba(26, 17, 59, 0.2); margin: 11px 0; }
.ts-kpis.four-up { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.ts-kpis b { display: block; font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1; }
.ts-kpis span { font-size: 10px; font-weight: 600; color: var(--ink-2); }

.ts-scope-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1.5px solid rgba(26, 17, 59, 0.1); margin-bottom: 10px; }
.ts-scope-tabs button { padding: 7px 0; font-size: 12px; font-weight: 700; color: var(--ink-3); border-bottom: 2px solid transparent; transition: all 0.2s; }
.ts-scope-tabs button.on { color: var(--tomato); border-bottom-color: var(--tomato); }
.ts-logs { display: flex; flex-direction: column; gap: 6px; min-height: 108px; }
.ts-log-date { font-size: 11px; font-weight: 800; color: var(--ink-2); margin-top: 2px; }
.ts-log-row { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; padding: 3px 0; border-bottom: 1px dotted rgba(26, 17, 59, 0.1); }
.ts-log-row b { color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 15px; }
.ts-log-row em { font-style: normal; color: var(--tomato); font-size: 11px; font-weight: 700; }
.ts-barcode { height: 24px; margin-top: 12px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 6px, transparent 6px 8px, var(--ink) 8px 9px, transparent 9px 13px); }
.ts-thanks { text-align: center; font-family: var(--pop); font-size: 13px; color: var(--ink-2); margin-top: 7px; }

/* =========================================================
   SCENE 08 · CHAMPAGNE-GOLD CLUB & DOWNLOAD LAUNCHPAD
   ========================================================= */
.club-section { position: relative; background: var(--champagne); overflow: hidden; }
.club-hero-banner { position: relative; min-height: 88vh; display: flex; align-items: center; padding: 84px 0; }
.club-studio-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42; will-change: transform; }
.club-fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 251, 242, 0.94) 0%, rgba(255, 251, 242, 0.72) 50%, rgba(255, 251, 242, 0.9) 100%); }
.club-inner { position: relative; z-index: 3; width: min(1240px, 90vw); margin: 0 auto; display: grid; grid-template-columns: 0.96fr 1.04fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.club-h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.club-p { margin-top: 16px; font-size: 15px; line-height: 1.72; color: var(--ink-2); max-width: 480px; }

.holo-perspective { margin-top: 30px; perspective: 1000px; max-width: 410px; }
.holo-card {
  position: relative; padding: 24px; border-radius: 26px; min-height: 226px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  background: linear-gradient(135deg, #FFF5CC 0%, #F7CE5E 40%, #E0A419 72%, #FFF2BA 100%);
  border: 1px solid rgba(180, 122, 0, 0.35); box-shadow: 0 28px 60px rgba(180, 122, 0, 0.22);
  transform-style: preserve-3d; transition: transform 0.16s ease-out;
}
.holo-glare { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95), transparent 55%); }
.holo-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 2; }
.holo-top img { width: 34px; transform: rotate(10deg); }
.holo-name { font-family: var(--display); font-size: 21px; letter-spacing: 0.06em; }
.holo-tag { font-size: 12px; opacity: 0.72; }
.holo-mid { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.holo-mid img { height: 74px; transform: rotate(22deg); filter: drop-shadow(0 10px 14px rgba(120, 75, 0, 0.3)); }
.holo-mid span { font-family: var(--display); font-size: 16px; letter-spacing: 0.1em; opacity: 0.7; }
.holo-foot { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; position: relative; z-index: 2; }

.club-perks { display: flex; flex-direction: column; gap: 11px; }
.cp-item { display: flex; gap: 14px; align-items: flex-start; padding: 13px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); border: 1px solid rgba(201, 140, 0, 0.16); }
.cp-item span { font-family: var(--display); font-size: 16px; color: #C28600; flex: none; margin-top: 2px; }
.cp-item b { display: block; font-size: 15px; color: var(--ink); }
.cp-item p { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

.club-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.tier { position: relative; padding: 16px 12px; border-radius: 20px; text-align: center; background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(201, 140, 0, 0.2); }
.tier.best { border: 2px solid #D49600; background: #FFFFFF; box-shadow: 0 16px 34px rgba(201, 140, 0, 0.14); }
.tier-pill { position: absolute; left: 50%; top: -10px; transform: translateX(-50%); font-style: normal; padding: 2px 10px; border-radius: 999px; background: var(--ink); color: var(--butter); font-size: 10px; font-weight: 700; }
.tier span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.tier b { display: block; font-family: var(--display); font-size: 36px; font-weight: 400; line-height: 1.05; color: var(--ink); margin: 4px 0; }
.tier b small { font-size: 17px; }
.tier em { font-style: normal; font-size: 11px; color: var(--ink-2); }

.download-section { background: #FFFFFF; padding: 108px 0; }
.dl-inner { width: min(1200px, 90vw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.dl-visual { border-radius: 34px; overflow: hidden; background: #FFFDF9; border: 1px solid var(--line); box-shadow: 0 28px 70px rgba(26, 17, 59, 0.08); aspect-ratio: 16 / 11; }
.dl-visual img { width: 100%; height: 100%; object-fit: cover; }
.dl-h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.dl-p { margin-top: 16px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.dl-platforms { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.plat-card { padding: 18px 20px; border-radius: 22px; background: var(--lav); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.plat-card.ios { background: linear-gradient(145deg, #F6F3FF, #FFFBF2); border-color: rgba(26, 17, 59, 0.14); }
.plat-top { display: flex; align-items: center; gap: 14px; }
.plat-icon { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; box-shadow: 0 8px 18px rgba(26, 17, 59, 0.14); flex: none; }
.plat-top b { display: block; font-size: 16px; color: var(--ink); }
.plat-top span { display: block; font-size: 12px; color: var(--ink-2); margin-top: 2px; line-height: 1.45; }
.plat-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ios-badge { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: var(--butter); font-size: 12px; font-weight: 700; }
.bundle-tag { font-size: 11px; font-weight: 700; color: var(--ink-3); font-family: ui-monospace, monospace; }
.cta-tomato.sm-w { height: 46px; padding: 0 22px; font-size: 14px; align-self: flex-start; }

.footer { background: var(--lav); border-top: 1px solid var(--line); }
.marquee { overflow: hidden; padding: 14px 0; border-bottom: 1px solid var(--line); }
.marquee-inner { display: flex; width: max-content; white-space: nowrap; animation: roll 26s linear infinite; }
.marquee-inner span { font-family: var(--display); font-size: 20px; letter-spacing: 0.08em; color: var(--ink); padding-right: 24px; }
.marquee-inner i { font-style: normal; color: var(--tomato); margin: 0 12px; }
@keyframes roll { to { transform: translateX(-50%); } }
.footer-bar { width: min(1240px, 90vw); margin: 0 auto; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.fb-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.fb-brand img { width: 20px; }

@media (max-width: 1060px) {
  .nav-links, .chapter-rail { display: none; }
  .eco-grid, .stamps-grid, .device-grid.two-col-wide, .club-inner, .dl-inner { grid-template-columns: 1fr; }
  .track-device, .track-gallery { height: auto; }
  .track-device .sticky, .track-gallery .sticky { position: relative; height: auto; padding: 80px 0; }
  .gallery-viewport { overflow-x: auto; }
  .phone-3d { height: 480px; }
}
@media (max-width: 680px) {
  .hud-corner.top-right { display: none; }
  .arena-mouth, .arena-lipfront { right: 4%; width: 64%; top: 38%; }
  .arena-bowl { left: auto; right: 6%; bottom: 12%; width: 38%; }
  .arena-plate { left: 4%; width: 42%; }
  .club-prices, .sync-strip { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
