/* =========================================================
   星亥电竞 · 视觉系统
   结构与交互对齐参考站（玻璃拟态 / 大字号 / 轻动效），
   配色换成「樱花粉」品牌色；[data-theme="blue"] 可切回雾蓝。
   ========================================================= */

:root {
  color-scheme: light;

  /* —— 樱花粉（默认）—— */
  --bg-1: #fdf7f9;
  --bg-2: #fbe9f0;
  --bg-3: #f7dbe6;
  --ink: #3b2830;
  --ink-soft: #57424b;
  --muted: #8a7480;
  --deep: #b0486f;
  --accent: #d0749b;
  --accent-2: #f5b7cd;
  --accent-3: #b0527a;

  --line: rgba(255, 250, 252, 0.92);
  --line-soft: rgba(255, 244, 248, 0.64);
  --card-1: rgba(255, 250, 252, 0.9);
  --card-2: rgba(251, 235, 241, 0.62);
  --shadow: 0 12px 32px rgba(150, 90, 110, 0.09);
  --shadow-lg: 0 24px 55px rgba(150, 90, 110, 0.15);
  --inset: inset 0 1px 0 #fff;

  --hdr-bg: linear-gradient(110deg, rgba(255, 250, 252, 0.92), rgba(251, 236, 242, 0.82));
  --hdr-h: 64px;
  --header-ink: #7a5566;

  --hero-a: rgba(250, 196, 216, 0.62);
  --hero-b: rgba(255, 248, 251, 0.92);
  --hero-c: rgba(250, 214, 228, 0.7);

  --btn-grad: linear-gradient(120deg, #e592b3, #c25d86);
  --btn-glow: 0 8px 24px rgba(190, 110, 145, 0.26);
  --text-grad: linear-gradient(110deg, #c25479, #d97aa0 42%, #9c3f60 78%, #c76b91);

  --tint-featured: rgba(252, 229, 238, 0.86);
  --tint-featured-ink: #ab4a70;
  --tint-prices: rgba(255, 236, 224, 0.8);
  --tint-prices-ink: #9a5b38;
  --tint-deposit: rgba(242, 233, 255, 0.8);
  --tint-deposit-ink: #6f5590;
  --tint-fun: rgba(228, 246, 239, 0.8);
  --tint-fun-ink: #376d5f;

  /* 插画色（粉色主题 = 玫瑰金） */
  --art-1: #d0749b;
  --art-2: #f5b7cd;
  --art-3: #b0527a;
  --art-4: #cf8fae;
  --art-dune-a: #ffe3ec;
  --art-dune-b: #fbd0df;
  --art-dune-c: #fdd8e4;
  --art-dune-d: #f3bccf;
  --art-ground-a: #e79ab4;
  --art-ground-b: #c9779a;
  --art-paper-a: #fff8fb;
  --art-paper-b: #fce6ee;
  --art-paper-c: #f8d5e2;

  --trail-rgb: 208, 116, 155;
  --ring-rgb: 166, 120, 64;
  --halo-rgb: 255, 246, 232;
  --meteor-rgb: 214, 138, 166;
  --meteor-tail: 236, 186, 204;
  --star-rgb: 176, 120, 74;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-card: 17px;
  --mobile-bar: 52px;
  --inset-x: 14px;
}

[data-theme="blue"] {
  --bg-1: #f4fafd;
  --bg-2: #e3f4ff;
  --bg-3: #ecf8ff;
  --ink: #174f76;
  --ink-soft: #1e5f88;
  --muted: #527991;
  --deep: #166c9b;
  --accent: #078fd4;
  --accent-2: #5fd3f3;
  --accent-3: #5b7cf0;

  --line: rgba(255, 255, 255, 0.92);
  --line-soft: rgba(255, 255, 255, 0.62);
  --card-1: rgba(255, 255, 255, 0.66);
  --card-2: rgba(229, 248, 255, 0.45);
  --shadow: 0 12px 32px rgba(38, 143, 189, 0.09);
  --shadow-lg: 0 24px 55px rgba(9, 124, 191, 0.16);

  --hdr-bg: linear-gradient(110deg, rgba(255, 255, 255, 0.74), rgba(236, 251, 255, 0.55));
  --hdr-h: 64px;
  --header-ink: #356882;

  --hero-a: rgba(109, 196, 255, 0.39);
  --hero-b: rgba(255, 255, 255, 0.67);
  --hero-c: rgba(219, 234, 255, 0.44);

  --btn-grad: linear-gradient(120deg, #169af1, #06a6d5);
  --btn-glow: 0 8px 24px rgba(2, 139, 195, 0.25);
  --text-grad: linear-gradient(110deg, #0a6e9c, #0d8fd2 46%, #0b5f88 80%, #1487bd);

  --tint-featured: rgba(226, 238, 250, 0.82);
  --tint-featured-ink: #2f6591;
  --tint-prices: rgba(255, 240, 224, 0.8);
  --tint-prices-ink: #8f5f2d;
  --tint-deposit: rgba(238, 227, 255, 0.8);
  --tint-deposit-ink: #735b99;
  --tint-fun: rgba(220, 245, 237, 0.8);
  --tint-fun-ink: #386f5e;

  /* 插画色（蓝色主题 = 原来的沙金） */
  --art-1: #c4721f;
  --art-2: #e2a44e;
  --art-3: #8d5a26;
  --art-4: #b4651f;
  --art-dune-a: #ffe4be;
  --art-dune-b: #f8ce97;
  --art-dune-c: #f9d5a6;
  --art-dune-d: #eeb673;
  --art-ground-a: #e6a35f;
  --art-ground-b: #c8803a;
  --art-paper-a: #fff8ea;
  --art-paper-b: #ffe9cb;
  --art-paper-c: #ffdbae;

  --trail-rgb: 124, 198, 248;
  --ring-rgb: 92, 152, 202;
  --halo-rgb: 226, 241, 255;
  --meteor-rgb: 146, 190, 222;
  --meteor-tail: 196, 220, 240;
  --star-rgb: 58, 112, 164;
}

/* —— 插画随主题换色：按原始色值改 fill / stroke / stop-color —— */
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#c4721f"] { fill: var(--art-1); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#e2a44e"] { fill: var(--art-2); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#a05516"] { fill: var(--art-3); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#8d5a26"] { fill: var(--art-3); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#b4651f"] { fill: var(--art-4); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#a9641f"] { fill: var(--art-4); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#f0dcc0"] { fill: var(--art-paper-c); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#fff8ea"] { fill: var(--art-paper-a); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#ffe9cb"] { fill: var(--art-paper-b); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#ffdbae"] { fill: var(--art-paper-c); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#ffe4be"] { fill: var(--art-dune-a); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#f8ce97"] { fill: var(--art-dune-b); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#f9d5a6"] { fill: var(--art-dune-c); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#eeb673"] { fill: var(--art-dune-d); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#e6a35f"] { fill: var(--art-ground-a); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#c8803a"] { fill: var(--art-ground-b); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#f6d7ab"] { fill: var(--art-dune-c); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#e9c79b"] { fill: var(--art-dune-d); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#efd6b3"] { fill: var(--art-paper-b); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#f1dcc1"] { fill: var(--art-paper-c); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#fff6e9"] { fill: var(--art-paper-a); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#ffdfbc"] { fill: var(--art-paper-c); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#fffdf7"] { fill: var(--art-paper-a); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#f7e3c6"] { fill: var(--art-dune-b); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#e6c9a2"] { fill: var(--art-dune-d); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [fill="#ffe7b8"] { fill: var(--art-paper-b); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stroke="#c4721f"] { stroke: var(--art-1); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stroke="#e2a44e"] { stroke: var(--art-2); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stroke="#a05516"] { stroke: var(--art-3); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stroke="#8d5a26"] { stroke: var(--art-3); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stroke="#b4651f"] { stroke: var(--art-4); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stroke="#a9641f"] { stroke: var(--art-4); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stroke="#e6c9a2"] { stroke: var(--art-dune-d); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stroke="#e6c9a2"] { stroke: var(--art-dune-d); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#c4721f"] { stop-color: var(--art-1); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#e2a44e"] { stop-color: var(--art-2); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#a05516"] { stop-color: var(--art-3); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#8d5a26"] { stop-color: var(--art-3); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#b4651f"] { stop-color: var(--art-4); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#a9641f"] { stop-color: var(--art-4); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#f0dcc0"] { stop-color: var(--art-paper-c); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#fff8ea"] { stop-color: var(--art-paper-a); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#ffe9cb"] { stop-color: var(--art-paper-b); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#ffdbae"] { stop-color: var(--art-paper-c); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#ffe4be"] { stop-color: var(--art-dune-a); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#f8ce97"] { stop-color: var(--art-dune-b); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#f9d5a6"] { stop-color: var(--art-dune-c); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#eeb673"] { stop-color: var(--art-dune-d); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#e6a35f"] { stop-color: var(--art-ground-a); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#c8803a"] { stop-color: var(--art-ground-b); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#f6d7ab"] { stop-color: var(--art-dune-c); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#e9c79b"] { stop-color: var(--art-dune-d); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#efd6b3"] { stop-color: var(--art-paper-b); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#f1dcc1"] { stop-color: var(--art-paper-c); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#fff6e9"] { stop-color: var(--art-paper-a); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#ffdfbc"] { stop-color: var(--art-paper-c); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#fffdf7"] { stop-color: var(--art-paper-a); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#f7e3c6"] { stop-color: var(--art-dune-b); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#e6c9a2"] { stop-color: var(--art-dune-d); }
:where(.brand-mark, .loader-logo, .banner-art, .gift-art, .scene-accents, .scene-stars) [stop-color="#ffe7b8"] { stop-color: var(--art-paper-b); }

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-3) 45%, var(--bg-2));
  color: var(--ink);
  font: 400 15px/1.6 "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; touch-action: manipulation; }
i { font-style: normal; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-2); color: #2b241d; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ============ 閫氱敤 ============ */
.shell { width: min(1280px, calc(100% - 72px)); margin-inline: auto; }
main > section[id] { scroll-margin-top: 78px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 12px; border: 1px solid transparent;
  font-size: 14px; font-weight: 800;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s;
  overflow: hidden; isolation: isolate;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--btn-grad); color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: var(--inset), var(--btn-glow);
}
.btn-primary:hover { box-shadow: var(--inset), 0 12px 30px rgba(176, 95, 22, 0.34); }
.btn-ghost {
  background: linear-gradient(135deg, var(--card-1), var(--card-2));
  color: var(--deep);
  border-color: var(--line);
  box-shadow: var(--inset), var(--shadow);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.btn .icon { width: 18px; height: 18px; }

.kicker {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 13px;
  font-size: 10px; font-weight: 850; letter-spacing: 0.16em;
  color: var(--header-ink); text-transform: uppercase;
}
.kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.eyebrow {
  display: block; margin-bottom: 8px;
  font-size: 10px; font-weight: 900; letter-spacing: 0.14em;
  color: var(--header-ink);
}

.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.sec-head h2 {
  font-size: clamp(30px, 3.4vw, 46px); font-weight: 950;
  letter-spacing: -0.055em; line-height: 1.15; text-wrap: balance;
}
.sec-desc { margin-top: 11px; max-width: 54ch; color: var(--muted); font-size: 13px; line-height: 1.75; }
.text-btn {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 44px; padding: 0 2px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--deep); font-size: 12px; font-weight: 800;
}
.text-btn .icon { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.text-btn:hover .icon { transform: translate(2px, -2px); }

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 22px; padding: 2px 9px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--header-ink); font-size: 11px; line-height: 1.4; white-space: nowrap;
}
.pill .icon { width: 12px; height: 12px; }

/* ============ 入场加载 ============ */
.loader {
  position: fixed; z-index: 1000; inset: 0;
  display: grid; place-items: center;
  overflow: hidden auto;
  color: #eaf3ff;
  font-size: 14px;
  background:
    radial-gradient(120% 78% at 50% -12%, rgba(96, 168, 240, 0.26), transparent 62%),
    radial-gradient(90% 62% at 84% 104%, rgba(48, 108, 172, 0.18), transparent 62%),
    linear-gradient(180deg, #040b14 0%, #06182a 38%, #082238 70%, #0a2b45 100%);
  transition: opacity 0.5s ease;
}
.loader-sky { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.sky-dawn {
  position: absolute; inset: 0; z-index: 0; opacity: 0;
  will-change: opacity; backface-visibility: hidden;
  background: linear-gradient(180deg, rgba(96, 156, 214, 0.16) 0%, rgba(126, 186, 236, 0.28) 58%, rgba(150, 200, 240, 0.34) 100%);
}
.star-field { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

.loader-stage {
  position: relative; z-index: 3;
  width: min(430px, 100%); padding: 30px 24px; text-align: center;
  transition: opacity 0.32s ease, transform 0.5s var(--ease);
}
.loader-brand { margin-bottom: 26px; font-size: 10px; font-weight: 800; letter-spacing: 0.24em; color: rgba(232, 244, 255, 0.86); text-shadow: 0 1px 10px rgba(8, 34, 60, 0.45); }
.loader-logo { width: min(150px, calc(100vw - 64px)); margin: auto; animation: logo-float 3.4s ease-in-out infinite; filter: drop-shadow(0 20px 34px rgba(0, 18, 36, 0.55)); }
.loader-title { margin: 26px 0 10px; font-size: clamp(20px, 4.8vw, 25px); font-weight: 850; letter-spacing: 0.01em; color: #fff; text-shadow: 0 2px 18px rgba(10, 60, 110, 0.55); }
.loader-status { min-height: 24px; font-size: 12px; line-height: 1.8; color: rgba(228, 241, 252, 0.9); text-shadow: 0 1px 8px rgba(8, 34, 60, 0.4); }

.loader-panel {
  position: relative; isolation: isolate;
  width: min(330px, 100%); margin: 22px auto 0; padding: 18px 20px 12px;
  border: 1px solid rgba(150, 200, 240, 0.22); border-radius: 20px;
  background: linear-gradient(165deg, rgba(22, 54, 88, 0.9), rgba(9, 30, 52, 0.86) 60%, rgba(10, 40, 66, 0.8));
  box-shadow: inset 0 1px 0 rgba(214, 236, 255, 0.16), 0 26px 54px rgba(0, 12, 24, 0.45);
}
.loader-meter { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.loader-meter .meter-label { display: inline-flex; align-items: center; gap: 8px; color: rgba(186, 214, 240, 0.82); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.loader-meter .meter-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(255, 196, 116, 0.5); animation: ping 1.6s ease-out infinite; }
#loader-percent { min-width: 3.1ch; text-align: right; font-size: 34px; font-weight: 900; line-height: 1.1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; background: linear-gradient(120deg, #ffe7bf, #ffb45e 55%, #ffd9a1); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#loader-progress {
  position: relative; height: 9px; margin: 12px 0;
  border-radius: 99px; overflow: hidden;
  background: rgba(180, 214, 244, 0.18); box-shadow: inset 0 1px 3px rgba(0, 12, 24, 0.45);
}
#loader-bar {
  position: relative; display: block; height: 100%; width: 100%; border-radius: 99px; overflow: hidden;
  background: linear-gradient(90deg, #ffe0ae, #ffab55 45%, #ffd79b 92%);
  box-shadow: 0 0 14px rgba(255, 178, 96, 0.55);
  transform: scaleX(0); transform-origin: left center; will-change: transform;
}
#loader-bar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 24%, rgba(255, 255, 255, 0.66) 48%, transparent 72%) 0 0 / 240% 100%;
  animation: shimmer 1.9s linear infinite;
}
.loader-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-variant-numeric: tabular-nums; }
#loader-count { color: rgba(214, 234, 250, 0.86); font-variant-numeric: tabular-nums; }
#loader-tip { padding: 3px 9px; border: 1px solid rgba(160, 206, 244, 0.26); border-radius: 99px; background: rgba(140, 196, 244, 0.12); color: #ffd9a1; font-size: 11px; font-weight: 700; white-space: nowrap; }
.loader-retry { min-height: 44px; margin-top: 18px; padding: 0 20px; border: 1px solid rgba(160, 206, 244, 0.3); border-radius: 99px; background: var(--accent); color: #fff; font-weight: 700; }
.loader-retry[hidden] { display: none; }
.loader.is-leaving { pointer-events: none; opacity: 0; transition: opacity 0.46s ease 0.16s; will-change: opacity; }

.loader.is-leaving .loader-sky { opacity: 0; transition: opacity 0.5s ease; }
.loader.is-leaving .loader-stage { opacity: 0; transform: translate3d(0, -10px, 0); transition-delay: 0.05s; }
@keyframes logo-float { 0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.6deg); } 50% { transform: translate3d(0, -6px, 0) rotate(0.6deg); } }
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(196, 114, 31, 0.45); } 80%, 100% { box-shadow: 0 0 0 7px rgba(196, 114, 31, 0); } }

/* ============ 椤舵爮 ============ */
/* 页脚小版本号：刷新后能看到它，说明拿到的就是最新页面 */
.build-tag { margin-left: 2px; font-size: 9px; font-weight: 800; letter-spacing: 0.04em; color: var(--muted); opacity: 0.75; }

.page-progress { position: fixed; z-index: 90; inset: 0 0 auto; height: 3px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--accent), var(--accent-2) 50%, var(--accent-3)); }

.hdr {
  position: sticky; z-index: 50; top: 0;
  background: var(--hdr-bg);
  border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(18px) saturate(145%); backdrop-filter: blur(18px) saturate(145%);
  box-shadow: 0 5px 30px rgba(122, 76, 27, 0.05);
}
.hdr-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
/* 品牌标：新 logo 自带深紫描边，不再套白底卡片，直接浮在玻璃顶栏上 */
.brand-mark { width: 42px; height: 42px; flex: none; border-radius: 12px; border: 0; background: transparent; box-shadow: none; overflow: hidden; }
.brand-mark-img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(58, 32, 96, 0.28)); }
.brand-text b { display: block; font-size: 19px; font-weight: 950; letter-spacing: -0.05em; line-height: 1.2; }
.brand-text small { display: block; margin-top: 2px; font-size: 8px; font-weight: 850; letter-spacing: 0.22em; color: var(--header-ink); }
.nav { display: flex; flex: 1; justify-content: center; gap: 28px; font-size: 13px; font-weight: 700; color: var(--header-ink); }
.nav a { display: flex; align-items: center; min-height: 44px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--deep); }
.nav a.is-active::after { transform: scaleX(1); }
.hdr-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.toggle {
  display: grid; place-items: center;
  width: 42px; min-height: 44px; padding: 0;
  border-radius: 11px; border: 1px solid transparent;
  color: var(--header-ink);
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.toggle:hover { border-color: var(--line); background: rgba(255, 255, 255, 0.4); color: var(--deep); }
.toggle[aria-pressed="true"] { border-color: var(--line); background: rgba(255, 255, 255, 0.55); color: var(--deep); }
.hdr-cta { min-height: 43px; padding-inline: 17px; font-size: 12px; gap: 8px; }
.hdr-cta .icon { width: 16px; height: 16px; }

/* ============ 棣栧睆 ============ */
.scene {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 9% 1%, var(--hero-a), transparent 55%),
    radial-gradient(ellipse at 91% 4%, var(--hero-b), transparent 55%);
}
.scene-sunlight {
  position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 85% 7%, rgba(255, 253, 246, 0.95), transparent 26%),
    radial-gradient(ellipse at 98% 24%, rgba(255, 255, 255, 0.55), transparent 32%),
    radial-gradient(ellipse at 7% 39%, rgba(255, 255, 255, 0.45), transparent 22%);
}
.scene-wordmark {
  position: absolute; z-index: 0; top: 92px; left: 50%; transform: translateX(-50%);
  color: transparent; -webkit-text-stroke: 1.2px rgba(160, 85, 22, 0.17);
  white-space: nowrap; font: 900 clamp(84px, 10.5vw, 168px)/1 Arial, sans-serif;
  letter-spacing: -0.05em; pointer-events: none;
}
.scene-accents { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.scene-accents > svg { position: absolute; height: auto; filter: drop-shadow(0 6px 9px rgba(120, 74, 26, 0.14)); }
.acc-a { top: 26px; left: 16%; width: 92px; transform: rotate(-12deg); opacity: 0.95; animation: paper-drift 6.4s ease-in-out infinite; }
.acc-b { top: 132px; right: 6%; width: 90px; transform: rotate(10deg); opacity: 0.95; animation: paper-drift 7.4s ease-in-out -1.6s infinite; }
.acc-c { bottom: 18px; left: 14%; width: 84px; transform: rotate(-8deg); opacity: 0.9; animation: paper-drift 8.2s ease-in-out -3s infinite; }
@keyframes paper-drift { 0%, 100% { translate: 0 0; } 50% { translate: -3px -5px; } }

.scene-content { position: relative; z-index: 2; padding: 48px 0 84px; text-align: center; }
.scene-caption {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 50px;
  background: rgba(255, 255, 255, 0.34);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--inset);
  font-size: 11px; font-weight: 750; letter-spacing: 0.1em; color: var(--header-ink);
}
.scene-caption .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px #fff; }
.scene-caption .sep { margin-left: 9px; padding-left: 14px; border-left: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); font-size: 9px; letter-spacing: 0.16em; }

.scene h1 {
  margin-top: 19px;
  font-size: clamp(45px, 5.5vw, 78px); font-weight: 950; line-height: 1.2; letter-spacing: -0.065em;
  text-wrap: balance;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.62), 0 8px 30px rgba(255, 255, 255, 0.28);
}
.scene h1 em {
  font-style: normal; color: transparent;
  background: var(--text-grad); -webkit-background-clip: text; background-clip: text;
  text-shadow: none; filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.62));
}
.scene-desc { margin-top: 16px; font-size: 14px; line-height: 1.85; color: var(--ink-soft); text-wrap: pretty; }
.scene-desc .desc-tail { margin-left: 7px; color: var(--muted); }
.scene-actions { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 24px; }
.scene-secondary {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--deep); font-size: 13px; font-weight: 780;
}

.banner-wrap { position: relative; width: min(1020px, 88%); margin: 34px auto 0; perspective: 1000px; }
.banner-topline, .banner-bottomline { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 4px; color: var(--header-ink); font-size: 10px; letter-spacing: 0.08em; }
.banner-topline > span, .banner-bottomline > span { display: inline-flex; align-items: center; gap: 8px; }
.banner-topline i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.banner-topline .icon { width: 12px; height: 12px; }
.banner {
  position: relative; aspect-ratio: 2.42; overflow: visible;
  border: 1px solid var(--line); border-radius: 22px;
  background: #f7e9d4;
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255, 255, 255, 0.42), 0 0 0 7px rgba(255, 255, 255, 0.7);
  transition: transform 0.4s var(--ease);
  will-change: transform;
  backface-visibility: hidden;
}
/* 圆角裁剪交给图片层：卡片本身不裁，否则贴在边上的两张浮卡会被切掉一条 */
.banner-art { position: absolute; inset: 0; overflow: hidden; border-radius: 21px; }
.banner-art svg { width: 100%; height: 100%; object-fit: cover; }
/* 后台换上的示例图（Logo / 横幅 / 礼物插图） */
.brand-mark .art-swap { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-swap[hidden] { display: none !important; }
.banner-art .art-swap { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.gift-art .art-swap { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.gift-art .gift-view { z-index: 6; pointer-events: auto; }
.gift-art { cursor: zoom-in; }

/* 首屏横幅轮播：多张叠在一起，只让当前那张显形，切换时淡入淡出 */
.banner-slides { position: absolute; inset: 0; overflow: hidden; }
.banner-slide {
  position: absolute; inset: 0; display: block;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.9s ease;
}
.banner-slide.is-on { opacity: 1; z-index: 2; }
/* 上一张保持不透明垫在下面，直到新的一张完全盖住它 —— 避免中途透出米色底 */
.banner-slide.is-out { opacity: 1; z-index: 1; transition: none; }
/* 减少动效 / 暂停动效时：照样切换，但不做淡入淡出 */
.banner-slides.is-static .banner-slide { transition: none; }
.qr-box .qr-img { display: block; width: 100%; height: auto; border-radius: 6px; }
.loader-logo-img {
  display: block; margin: auto; width: min(150px, calc(100vw - 64px));
  height: auto; aspect-ratio: 1 / 1; object-fit: contain;
  border-radius: 22px; animation: logo-float 3.4s ease-in-out infinite;
  filter: drop-shadow(0 18px 30px rgba(122, 76, 27, 0.18));
}
/* 加载页主图（去白底的品牌标）：不加圆角与浅色投影，让它像浮在夜空里 */
.loader-logo-hero {
  width: min(268px, calc(100vw - 84px)); height: auto;
  aspect-ratio: 560 / 476; border-radius: 0;
  filter: drop-shadow(0 16px 26px rgba(6, 26, 48, 0.5));
}
.banner-tag {
  position: absolute; left: 18px; top: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 34px; padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--deep); font-size: 11px; font-weight: 800;
  box-shadow: 0 6px 18px rgba(120, 74, 26, 0.16);
}
.banner-tag .icon { width: 13px; height: 13px; }

.passes { position: absolute; inset: 0; pointer-events: none; }
.pass {
  position: absolute; z-index: 3; pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  min-width: 204px; padding: 15px 16px;
  border: 1px solid var(--line); border-radius: 17px;
  background: linear-gradient(135deg, var(--card-1), var(--card-2));
  box-shadow: var(--inset), 0 16px 40px rgba(122, 76, 27, 0.18);
  color: var(--ink); text-align: left;
  transition: transform 0.24s var(--ease), box-shadow 0.24s;
}
.pass:hover { transform: translateY(-3px) rotate(0deg); box-shadow: var(--inset), 0 20px 46px rgba(122, 76, 27, 0.24); }
.pass-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--deep); flex: none; }
.pass-icon .icon { width: 20px; height: 20px; }
.pass small { display: block; color: var(--muted); font-size: 10px; }
.pass strong { display: block; margin-top: 3px; font-size: 20px; letter-spacing: -0.035em; }
.pass > .icon { width: 15px; height: 15px; margin-left: 7px; color: var(--muted); }

/* 卡片主体（点开客服二维码）与右侧「复制」是两个独立按钮 */
.pass-open {
  display: flex; align-items: center; gap: 12px;
  flex: 1; min-width: 0; padding: 0;
  border: 0; background: none; color: inherit; text-align: left; cursor: pointer;
}
.pass-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.pass-copy {
  position: relative;
  display: grid; place-items: center;
  width: 30px; height: 30px; flex: none; margin-left: 2px;
  border: 1px solid var(--line-soft); border-radius: 9px;
  background: rgba(255, 255, 255, 0.55); color: var(--muted);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.pass-copy .icon { width: 14px; height: 14px; }
.pass-copy:hover { background: #fff; color: var(--deep); border-color: var(--accent); }
.pass-copy:active { transform: scale(0.94); }
.pass-copy.is-done { background: color-mix(in srgb, var(--accent) 18%, #fff); border-color: var(--accent); color: var(--deep); }
/* 气泡放在按钮左侧、卡片内部——卡片被 .banner 的 overflow:hidden 裁着，往上浮会被切掉 */
.pass-copy-tip {
  position: absolute; right: calc(100% + 7px); top: 50%; bottom: auto;
  padding: 3px 7px; border-radius: 7px;
  background: var(--deep); color: #fff; font-size: 10px; white-space: nowrap;
  opacity: 0; transform: translate(-3px, -50%); pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
}
.pass-copy.is-done .pass-copy-tip { opacity: 1; transform: translate(0, -50%); }
.kook-pass { left: -68px; bottom: 73px; transform: rotate(-6deg); }
.wechat-pass { right: -64px; top: 84px; transform: rotate(6deg); background: linear-gradient(135deg, rgba(255, 247, 240, 0.86), var(--card-2)); }
.wechat-pass strong { font-size: 17px; }

.scene-coast { position: absolute; z-index: 1; bottom: -1px; left: 0; width: 100%; height: 120px; pointer-events: none; }
.scene-coast path { fill: var(--bg-1); }

.scene-stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; contain: layout style; }
.scene-stars .star {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  color: var(--star-ink, #fff);
  animation: star-drift var(--dur) ease-in-out var(--delay) infinite alternate;
  will-change: transform;
}
.scene-stars .star svg { display: block; width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 0 6px currentColor) drop-shadow(0 1px 2px rgba(120, 60, 80, 0.18)); animation: star-twinkle calc(var(--dur) * 0.44) ease-in-out var(--delay) infinite; }
@keyframes star-drift {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(0.94); }
  50% { transform: translate3d(calc(var(--dx) * 0.6), calc(var(--dy) * -0.5), 0) rotate(calc(var(--r) * 0.5)) scale(1.06); }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--r)) scale(0.97); }
}
@keyframes star-twinkle {
  0%, 100% { opacity: calc(var(--o) * 0.55); }
  50% { opacity: var(--o); }
}

/* ============ 四格信息条 ============ */
.arrival-zone { position: relative; isolation: isolate; padding-bottom: 26px; }
.arrival-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.arrival-item {
  display: flex; align-items: center; gap: 14px;
  min-height: 104px; padding: 18px;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(135deg, var(--card-1), var(--card-2));
  -webkit-backdrop-filter: blur(18px) saturate(145%); backdrop-filter: blur(18px) saturate(145%);
  box-shadow: var(--inset), var(--shadow);
  text-align: left;
  transition: transform 0.22s var(--ease), box-shadow 0.22s;
}
.arrival-item:hover { transform: translateY(-3px); box-shadow: var(--inset), var(--shadow-lg); }
.arrival-icon { display: grid; place-items: center; width: 45px; height: 45px; flex: none; border-radius: 14px; background: color-mix(in srgb, var(--accent) 18%, #fff); color: var(--deep); box-shadow: var(--inset), 0 4px 10px rgba(122, 76, 26, 0.12); }
.arrival-icon .icon { width: 21px; height: 21px; }
.arrival-item[data-accent="1"] .arrival-icon { background: #efe7ff; color: #6b5aa6; }
.arrival-item[data-accent="2"] .arrival-icon { background: #ffe4ef; color: #a4537f; }
.arrival-item[data-accent="3"] .arrival-icon { background: #ddf3fa; color: #1a7d97; }
.arrival-item[data-accent="4"] .arrival-icon { background: #e3f6ea; color: #2f7a5d; }
.arrival-item b { display: block; font-size: 15px; letter-spacing: -0.02em; }
.arrival-item small { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); line-height: 1.5; }
.arrival-item > .icon { margin-left: auto; width: 15px; height: 15px; color: var(--muted); opacity: 0.7; }

/* ============ 菜单 ============ */
.menu { padding-block: 78px 84px; }
.toolbar {
  position: sticky; z-index: 30; top: calc(var(--hdr-h) + 2px);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin-bottom: 24px; padding-block: 11px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-1) 62%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(135%); backdrop-filter: blur(20px) saturate(135%);
}
.filters { display: flex; align-items: center; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.36); box-shadow: var(--inset); }
.filter {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 43px; padding: 0 18px; border-radius: 10px;
  color: var(--header-ink); font-size: 12px; font-weight: 800; white-space: nowrap;
  transition: color 0.2s, background 0.25s var(--ease), box-shadow 0.25s;
}
.filter small { font-size: 10px; font-weight: 600; opacity: 0.68; }
.filter:hover { color: var(--deep); }
.filter[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(125deg, var(--accent), color-mix(in srgb, var(--accent) 78%, #000));
  box-shadow: var(--inset), 0 4px 14px rgba(176, 95, 22, 0.3);
}
.filter[aria-pressed="true"] small { opacity: 0.85; }
.toolbar-note { color: var(--muted); font-size: 11px; letter-spacing: 0.02em; }

.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 17px; }
.card {
  min-width: 0; overflow: hidden; border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--card-1), var(--card-2));
  box-shadow: var(--inset), var(--shadow);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--inset), var(--shadow-lg); }
.card-open { display: block; width: 100%; padding: 0; text-align: left; }
.card-art { position: relative; aspect-ratio: var(--art-ratio, 1.07); overflow: hidden; background: var(--tint-featured); }
.card-art svg { width: 100%; height: 100%; }
.card-art .art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--art-fit, cover); object-position: 50% var(--art-pos, 50%); display: block; }
.card-num {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  min-width: 26px; padding: 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--header-ink); font: 800 10px/1 Arial, sans-serif; text-align: center;
}
.card-new {
  position: absolute; z-index: 3; top: 10px; right: 10px;
  padding: 5px 8px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 6px;
  background: linear-gradient(120deg, var(--accent-3), var(--accent));
  color: #fff; font-size: 10px; font-weight: 800; white-space: nowrap;
  box-shadow: var(--inset), 0 3px 10px rgba(122, 76, 26, 0.24);
}
.card-new::after {
  content: ""; position: absolute; inset: -40% auto -40% 0; width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  opacity: 0; transform: translate(-180%) skew(-22deg);
  animation: new-shine 4s ease-in-out infinite;
}
@keyframes new-shine { 0%, 70% { opacity: 0; transform: translate(-180%) skew(-22deg); } 76% { opacity: 0.7; } 96%, 100% { opacity: 0; transform: translate(440%) skew(-22deg); } }

.card-badge {
  position: absolute; right: 9px; bottom: 9px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 30px; padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.76); border-radius: 7px;
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--deep); font-size: 10px; font-weight: 800;
  box-shadow: 0 3px 10px rgba(122, 76, 26, 0.16);
}
.card-badge .icon { width: 12px; height: 12px; }

.card-info { position: relative; min-height: 82px; padding: 14px; }
.card-info > div { min-width: 0; padding-right: 42px; }
.card-cat { display: inline-flex; align-items: center; min-height: 21px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; line-height: 1.4; white-space: nowrap; }
.card-cat[data-c="featured"] { background: var(--tint-featured); color: var(--tint-featured-ink); }
.card-cat[data-c="prices"] { background: var(--tint-prices); color: var(--tint-prices-ink); }
.card-cat[data-c="deposit"] { background: var(--tint-deposit); color: var(--tint-deposit-ink); }
.card-cat[data-c="fun"] { background: var(--tint-fun); color: var(--tint-fun-ink); }
.card-info h3 { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-info p { margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-go {
  position: absolute; right: 11px; bottom: 11px;
  display: grid; place-items: center; width: 30px; height: 30px;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255, 255, 255, 0.5); color: var(--deep);
  box-shadow: var(--inset); transition: transform 0.2s var(--ease), background 0.2s;
}
.card:hover .card-go { transform: translate(2px, -2px); background: color-mix(in srgb, var(--accent) 18%, #fff); }
.card-go .icon { width: 14px; height: 14px; }

.card.is-pending .card-art { display: grid; place-items: center; isolation: isolate; background: radial-gradient(ellipse at 20% 5%, rgba(255, 255, 255, 0.9), var(--tint-featured) 48%, rgba(255, 255, 255, 0.4)); }
.slot-mark { position: absolute; z-index: -1; top: 18%; left: 12%; color: rgba(120, 74, 26, 0.12); font: 900 clamp(24px, 3vw, 40px)/0.9 Arial, sans-serif; letter-spacing: -0.08em; transform: rotate(-11deg); }
.slot-icon { width: 44%; color: color-mix(in srgb, var(--accent) 55%, #fff); opacity: 0.9; transform: rotate(-7deg); filter: drop-shadow(0 14px 10px rgba(122, 76, 26, 0.2)); }
.slot-icon .icon { width: 100%; height: auto; stroke-width: 1.1; }
.slot-coming { margin-top: 12px; color: var(--muted); font-size: 10px; letter-spacing: 0.08em; }

.menu-note { display: flex; align-items: center; gap: 8px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 11px; }
.menu-note .star { color: var(--accent); font-size: 15px; }
.menu-note .count { margin-left: auto; font-size: 9px; letter-spacing: 0.1em; }
.expand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 48px; margin-top: 20px;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, 0.42); color: var(--deep); font-size: 13px; font-weight: 800;
  box-shadow: var(--inset);
  -webkit-backdrop-filter: blur(18px) saturate(145%); backdrop-filter: blur(18px) saturate(145%);
  transition: background 0.2s, transform 0.2s var(--ease);
}
.expand:hover { background: rgba(255, 255, 255, 0.66); transform: translateY(-1px); }
.expand[hidden] { display: none; }
.expand .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.expand[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* ============ 椤荤煡 ============ */
.guide-zone { padding-block: 76px; border-block: 1px solid var(--line-soft); background: linear-gradient(115deg, var(--hero-c), rgba(255, 255, 255, 0.28) 55%, var(--hero-a)); }
.guide-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 76px; }
.guide-copy h2 { font-size: clamp(34px, 3.8vw, 51px); font-weight: 950; letter-spacing: -0.055em; line-height: 1.15; }
.guide-copy p { margin-top: 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.guide-copy .btn { margin-top: 26px; }
.guide-foot { display: block; margin-top: 15px; font-size: 11px; color: var(--muted); }

.notebook {
  position: relative; overflow: hidden; padding: 30px;
  border: 1px solid var(--line); border-radius: 5px 24px 24px 5px;
  background: linear-gradient(125deg, var(--card-1), var(--card-2));
  box-shadow: var(--inset), -5px 0 rgba(255, 255, 255, 0.5), -9px 0 color-mix(in srgb, var(--accent-2) 40%, transparent), var(--shadow-lg);
  -webkit-backdrop-filter: blur(20px) saturate(145%); backdrop-filter: blur(20px) saturate(145%);
}
.notebook-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; letter-spacing: 0.1em; }
.notebook-top .icon { width: 20px; height: 20px; }
.notebook h3 { margin: 24px 0 10px; font-size: 24px; font-weight: 900; letter-spacing: -0.04em; }
.notebook-row { display: flex; align-items: center; gap: 13px; min-height: 60px; border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.notebook-row span { flex: none; color: var(--deep); font-size: 11px; font-weight: 800; }
.notebook-row p { color: var(--ink-soft); font-size: 12.5px; line-height: 1.6; }
.notebook-row .icon { margin-left: auto; width: 15px; height: 15px; color: var(--muted); }
.notebook-link { display: flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 12px; color: var(--deep); font-size: 12px; font-weight: 800; }
.notebook-link .icon { width: 15px; height: 15px; }
.stamp {
  position: absolute; top: 48px; right: 34px;
  padding: 9px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 50%;
  color: var(--deep); font-size: 10px; line-height: 1.5; text-align: center;
  transform: rotate(15deg); opacity: 0.8;
}

/* ============ 绀肩墿 ============ */
.gift-zone { padding-block: 80px; }
.gift-stage {
  display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden;
  border: 1px solid var(--line); border-radius: 24px;
  background: linear-gradient(130deg, rgba(255, 248, 240, 0.7), var(--card-2));
  box-shadow: var(--inset), var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(145%); backdrop-filter: blur(18px) saturate(145%);
}
.gift-art { position: relative; min-height: 380px; overflow: hidden; background: var(--tint-featured); }
.gift-art svg { width: 100%; height: 100%; object-fit: cover; }
.gift-view {
  position: absolute; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 10px;
  background: rgba(255, 255, 255, 0.86); color: var(--deep);
  font-size: 11px; font-weight: 800;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.gift-view .icon { width: 14px; height: 14px; }
.gift-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 44px; }
.gift-copy h2 { font-size: 38px; font-weight: 950; letter-spacing: -0.055em; line-height: 1.15; }
.gift-copy p { margin-top: 16px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.85; }
.gift-copy .btn { margin-top: 24px; }
.gift-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ============ 娴佺▼ ============ */
.flow { padding-block: 10px 84px; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.flow-step {
  padding: 20px; border: 1px solid var(--line); border-radius: 18px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: var(--inset), var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(145%); backdrop-filter: blur(18px) saturate(145%);
  transition: transform 0.22s var(--ease);
}
.flow-step:hover { transform: translateY(-3px); }
.flow-top { display: flex; align-items: center; justify-content: space-between; }
.flow-top > span { font: 500 34px/1 Arial, sans-serif; letter-spacing: -0.06em; color: color-mix(in srgb, var(--accent) 72%, #7a4c1b); }
.flow-top .icon { width: 24px; height: 24px; color: var(--deep); }
.flow-step h3 { margin-top: 18px; font-size: 18px; font-weight: 900; letter-spacing: -0.03em; }
.flow-step p { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.72; }

/* ============ 鑱旂郴 ============ */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: 82px 92px; border-top: 1px solid var(--line);
  background: linear-gradient(125deg, var(--hero-a), var(--hero-c) 55%, var(--hero-b));
  color: var(--ink);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-copy h2 { font-size: clamp(44px, 5.4vw, 67px); font-weight: 950; letter-spacing: -0.06em; line-height: 1.1; }
.contact-copy p { margin-top: 18px; color: var(--ink-soft); font-size: 14px; line-height: 1.85; }
.contact-copy .btn { margin-top: 24px; }
.contact-card {
  padding: 28px; border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(135deg, var(--card-1), var(--card-2));
  box-shadow: var(--inset), var(--shadow-lg);
  -webkit-backdrop-filter: blur(24px) saturate(145%); backdrop-filter: blur(24px) saturate(145%);
}
.contact-label { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; font-weight: 850; }
.contact-label .icon { width: 22px; height: 22px; color: var(--deep); }
.contact-label small { margin-left: auto; color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: 0.08em; }
.copy-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 88px; padding: 15px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  text-align: left; color: var(--ink);
}
.copy-row:hover strong { color: var(--accent); }
.copy-row > span { min-width: 0; }
/* 行首的品牌小图标（KOOK / 微信），与横幅浮卡同一套图 */
.copy-row-icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px; overflow: hidden;
  display: block; align-self: center;
}
.copy-row-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.copy-row > span:not(.copy-row-icon) { flex: 1 1 auto; }
.copy-row small { display: block; color: var(--muted); font-size: 11px; }
.copy-row strong { display: block; margin-top: 5px; font-size: 23px; letter-spacing: -0.03em; transition: color 0.18s; overflow-wrap: anywhere; }
.copy-row .icon { width: 18px; color: var(--deep); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.person {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) 14px; align-items: center; gap: 9px;
  min-height: 62px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
  text-align: left;
  box-shadow: var(--inset);
  transition: background 0.18s, transform 0.18s var(--ease);
}
.person:hover { background: rgba(255, 255, 255, 0.7); transform: translateY(-2px); }
.person .icon { width: 15px; height: 15px; }
.person > span { min-width: 0; }
.person b { display: block; font-size: 12px; font-weight: 850; }
.person small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person .dot { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6); }
.contact-note { margin-top: 15px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.contact-watermark {
  position: absolute; z-index: -1; left: 2%; bottom: -10px;
  color: rgba(255, 255, 255, 0.45);
  font: 900 clamp(100px, 16vw, 245px)/1 Arial, sans-serif; letter-spacing: -0.07em; white-space: nowrap;
  pointer-events: none;
}

/* ============ 页脚 / 底部 dock ============ */
.foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 83px; color: var(--muted); font-size: 10px; }
.foot a { color: var(--deep); font-weight: 700; }
.foot-links { display: flex; align-items: center; gap: 16px; }

.dock { display: none; }

/* ============ 寮圭獥 ============ */
.dlg {
  width: min(960px, calc(100% - 36px)); max-width: none; max-height: min(92dvh, 940px);
  margin: auto; padding: 0; border: 0; border-radius: 26px; overflow: visible;
  background: transparent; color: var(--ink);
}
.dlg::backdrop { background: rgba(70, 45, 16, 0.32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
[data-theme="blue"] .dlg::backdrop { background: rgba(36, 92, 122, 0.3); }
.dlg[open] .panel { animation: panel-in 0.28s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }
.panel {
  display: flex; flex-direction: column; max-height: min(92dvh, 940px); overflow: hidden;
  border: 1px solid var(--line); border-radius: 26px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--bg-1) 88%, #fff), var(--card-2) 62%, var(--hero-c));
  -webkit-backdrop-filter: blur(26px) saturate(165%); backdrop-filter: blur(26px) saturate(165%);
  box-shadow: var(--inset), 0 28px 95px rgba(122, 76, 27, 0.3);
}
.panel-head { flex: none; display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 24px 28px 12px; }
.panel-head h2 { font-size: 26px; font-weight: 950; letter-spacing: -0.045em; line-height: 1.25; }
.panel-head p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.icon-btn {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255, 255, 255, 0.6); color: var(--deep);
  box-shadow: var(--inset), 0 4px 13px rgba(122, 76, 26, 0.14);
  transition: transform 0.2s, background 0.2s;
}
.icon-btn:hover { transform: rotate(90deg); background: rgba(255, 255, 255, 0.9); }
.icon-btn .icon { width: 17px; height: 17px; }
.panel-body { min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain; padding: 6px 28px 26px; }
.panel-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 22px; border-top: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.28); }
.panel-foot .icon-btn { width: 38px; height: 38px; border-radius: 10px; }

/* 详情 */
.detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; }
.detail-art { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--tint-featured); box-shadow: var(--inset); }
.detail-art svg { width: 100%; height: auto; }
.detail-art .art-img { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: contain; background: #fdf6ea; }
.detail-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.rules { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, 0.34); }
.rules li { display: flex; gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); font-size: 12.5px; line-height: 1.7; }
.rules li:last-child { border-bottom: 0; }
.rules li i { flex: none; color: var(--accent); font-weight: 900; font-size: 11px; padding-top: 2px; }
.detail-note { padding: 12px 13px; border: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 12px; background: rgba(255, 255, 255, 0.3); color: var(--muted); font-size: 11px; line-height: 1.7; }
.detail-actions { display: flex; gap: 10px; margin-top: auto; }
.detail-actions .btn { flex: 1; }
.detail-count { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }

/* 下单 */
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
/* 时长和时间并排，省一屏高度 */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field-row > .field { min-width: 0; }
.field { display: block; margin-top: 14px; }
.field > span { display: block; margin-bottom: 7px; font-size: 12.5px; font-weight: 850; }
.field > span small { color: var(--muted); font-size: 11px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); border-radius: 10px;
  background: rgba(255, 255, 255, 0.72); color: var(--ink); font-size: 15px;
  box-shadow: var(--inset), 0 3px 12px rgba(122, 76, 26, 0.06);
  outline: none; transition: border-color 0.18s, box-shadow 0.18s;
}
.field textarea { resize: vertical; min-height: 72px; font-size: 14px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
/* 只有一个游戏时不显示下拉，改成一张只读的「定值」条 */
.field-fixed {
  display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0;
  padding: 10px 12px; border: 1px dashed color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 10px; background: color-mix(in srgb, var(--accent) 6%, rgba(255, 255, 255, 0.6));
  font-size: 15px; font-weight: 800; color: var(--ink);
}
.field-fixed::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
/* 选中项目后那行小字（副标题 · 分类 · 规则条数） */
.field-meta { margin: 8px 2px 0; color: var(--muted); font-size: 11.5px; line-height: 1.7; }
.field-meta:empty { display: none; }
#order-fields > .order-hint { margin-top: 12px; }
/* 下单框纵向排得紧一点，尽量一屏放下 */
#order-fields .field { margin-top: 12px; }
#order-fields .tag-groups { margin-top: 12px; }
#order-fields .tag-group { margin-top: 10px; }
#order-fields .tag { min-height: 32px; }
#order-fields textarea { min-height: 64px; }
#dlg-order .panel { max-height: min(95dvh, 980px); }
.tag-groups { margin-top: 16px; }
.tag-group { margin-top: 12px; }
.tag-group > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11.5px; font-weight: 800; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  min-height: 34px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: 9px;
  background: rgba(255, 255, 255, 0.44); color: var(--header-ink);
  font-size: 11.5px; font-weight: 800;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.tag:hover { background: rgba(255, 255, 255, 0.8); }
.tag[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.order-result { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), var(--card-2)); box-shadow: var(--inset); }
.order-result h3 { font-size: 17px; font-weight: 900; }
.order-result pre {
  flex: 1; min-height: 180px; margin: 0; padding: 14px;
  border: 1px dashed color-mix(in srgb, var(--accent) 38%, transparent); border-radius: 12px;
  background: rgba(255, 255, 255, 0.66); color: var(--ink-soft);
  font: 13px/1.85 "Microsoft YaHei UI", "Microsoft YaHei", monospace;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.order-result .btn { width: 100%; min-height: 44px; }
.order-hint { color: var(--muted); font-size: 10.5px; line-height: 1.7; }

/* 鑱旂郴 / 椤荤煡 */
.contact-tabs { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 14px; }
.contact-tabs button {
  min-height: 40px; flex: none; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.5); color: var(--header-ink);
  font-size: 12px; font-weight: 850;
  box-shadow: var(--inset);
}
.contact-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.qr-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.qr-box { padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.qr-box svg { width: 100%; height: auto; border-radius: 6px; }
.qr-cap { margin-top: 8px; text-align: center; color: var(--muted); font-size: 10px; }
.qr-side h3 { font-size: 20px; font-weight: 900; letter-spacing: -0.03em; }
.qr-side dl { margin-top: 12px; display: grid; gap: 9px; }
.qr-side dt { color: var(--muted); font-size: 10px; letter-spacing: 0.08em; }
.qr-side dd { margin-top: 2px; font-size: 14px; font-weight: 800; }
.qr-side .btn { width: 100%; margin-top: 16px; }
.guide-list { display: grid; gap: 12px; }
.guide-item { padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.4); box-shadow: var(--inset); }
.guide-item h3 { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 900; }
.guide-item h3 span { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 7px; background: color-mix(in srgb, var(--accent) 18%, #fff); color: var(--deep); font-size: 10px; font-weight: 900; }
.guide-item p { margin-top: 8px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.8; }

/* toast */
.toast {
  position: fixed; z-index: 200; left: 50%; bottom: 32px;
  min-width: 180px; max-width: calc(100% - 40px); padding: 11px 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 251, 243, 0.95), var(--card-2));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: var(--inset), 0 12px 35px rgba(122, 76, 27, 0.24);
  color: var(--deep); font-size: 12.5px; font-weight: 850; text-align: center;
  transform: translate(-50%, 14px); opacity: 0; pointer-events: none;
  transition: opacity 0.22s, transform 0.22s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ============ 杩涘叆鍔ㄧ敾 ============ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
#app.is-arriving { animation: home-in 0.7s 0.1s var(--ease) both; }
@keyframes home-in { from { opacity: 0.35; } to { opacity: 1; } }

/* 鍔ㄦ晥鏆傚仠 */
html[data-effects="paused"] *,
html[data-effects="paused"] *::before,
html[data-effects="paused"] *::after { animation: none !important; transition: none !important; }
html[data-effects="paused"] .card-new::after { opacity: 0; }
html[data-effects="paused"] .cursor-aura { opacity: 0 !important; }
html[data-effects="paused"] .cursor-trail { opacity: 0 !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .card-new::after { display: none; }
  .cursor-aura { display: none; }
  .cursor-trail { display: none; }
  .scene::after { display: none; }
}

/* ============ 动态背景 + 指针反馈 ============ */
#app { position: relative; z-index: 1; }

.bg-fx { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.bg-blob { position: absolute; display: block; border-radius: 50%; will-change: transform; }
.blob-a {
  width: 46vmax; height: 46vmax; left: -14vmax; top: -16vmax; opacity: 0.8;
  background: radial-gradient(circle at 45% 45%, rgba(233, 190, 128, 0.26), rgba(233, 190, 128, 0) 66%);
  animation: blob-a 36s ease-in-out infinite;
}
.blob-b {
  width: 40vmax; height: 40vmax; right: -12vmax; top: 12vh; opacity: 0.75;
  background: radial-gradient(circle at 50% 50%, rgba(230, 190, 168, 0.15), rgba(230, 190, 168, 0) 66%);
  animation: blob-b 44s ease-in-out infinite;
}
.blob-c {
  width: 42vmax; height: 42vmax; left: 18vw; bottom: -18vmax; opacity: 0.7;
  background: radial-gradient(circle at 50% 50%, rgba(168, 178, 164, 0.1), rgba(168, 178, 164, 0) 68%);
  animation: blob-c 52s ease-in-out infinite;
}
/* 随机流星：DOM 光条，浮在内容之上、顶栏(50)与弹窗之下，不挡点击 */
.meteors {
  position: fixed;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent var(--hdr-h, 64px), #000 calc(var(--hdr-h, 64px) + 40px));
  mask-image: linear-gradient(to bottom, transparent 0, transparent var(--hdr-h, 64px), #000 calc(var(--hdr-h, 64px) + 40px));
}
.meteor {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--len, 190px);
  height: var(--thick, 2px);
  border-radius: 999px;
  opacity: 0;
  transform-origin: 100% 50%;
  background: linear-gradient(90deg, rgba(var(--meteor-tail), 0) 0%, rgba(var(--meteor-tail), 0.7) 46%, rgba(var(--meteor-rgb), 0.85) 84%, rgba(var(--meteor-rgb), 0.35) 100%);
  /* 正片叠底：只在浅底上染色，压到文字/按钮上不会把人挡住 */
  mix-blend-mode: multiply;
  will-change: transform, opacity;
  animation: meteor-fly var(--dur, 1500ms) linear forwards;
}
@keyframes meteor-fly {
  0% { opacity: 0; transform: translate3d(var(--x0), var(--y0), 0) rotate(var(--ang, 30deg)); }
  10% { opacity: 1; }
  66% { opacity: 0.92; }
  100% { opacity: 0; transform: translate3d(var(--x1), var(--y1), 0) rotate(var(--ang, 30deg)); }
}
html[data-effects="paused"] .meteors { display: none; }
body.is-locked .meteors { opacity: 0; }

.bg-grid {
  position: absolute; inset: -8%; opacity: 0.17;
  background-image: radial-gradient(rgba(150, 98, 36, 0.2) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: grid-pan 72s linear infinite;
}
@keyframes blob-a {
  0%, 100% { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(5vw, 5vh, 0); }
  66% { transform: translate3d(-3vw, 8vh, 0); }
}
@keyframes blob-b {
  0%, 100% { transform: translate3d(0, 0, 0); }
  40% { transform: translate3d(-7vw, 6vh, 0); }
  70% { transform: translate3d(-2vw, -4vh, 0); }
}
@keyframes blob-c {
  0%, 100% { transform: translate3d(0, 0, 0); }
  35% { transform: translate3d(6vw, -6vh, 0); }
  68% { transform: translate3d(-5vw, -2vh, 0); }
}
@keyframes grid-pan { to { transform: translate3d(-32px, -32px, 0); } }

/* ============ 背景星空（电脑端）：一堆小星点，各自明灭 + 整层极慢漂移 ============ */
/* 底色是米白/雾蓝，星点用「比底色稍深一点」的同系颜色，靠明灭制造闪烁；
   白色点在浅底上根本看不见，所以不用白。星点由 app.js 的 buildStarfield() 生成 */
.starfield {
  position: absolute; inset: 0; display: block; overflow: hidden;
  pointer-events: none; opacity: 0.95;
  animation: star-drift-a 180s linear infinite;
}
/* 首屏自己的那层：.scene 有不透明底，必须放在它内部才看得见；
   作为 .scene 的第一个子元素，绘制顺序在背景之上、内容之下 */
.starfield-scene { position: absolute; inset: 0; z-index: 0; }

.sf-dot {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--s); border-radius: 50%;
  background: rgb(var(--star-rgb)); opacity: var(--o);
  animation: sf-twinkle var(--dur) ease-in-out var(--delay) infinite alternate;
}
/* 少数几颗大一点的，给一圈柔光，才像真的在闪 */
.sf-dot.is-glow {
  box-shadow: 0 0 6px rgba(var(--star-rgb), 0.55), 0 0 14px rgba(var(--star-rgb), 0.25);
}
/* 只用 opacity 明灭，不动 transform：几百个点也不会拖慢合成 */
@keyframes sf-twinkle {
  from { opacity: calc(var(--o) * 0.35); }
  to { opacity: var(--o); }
}
@keyframes star-drift-a { to { transform: translate3d(-30px, -42px, 0); } }

/* 手机屏幕小、内容密，这套星点会显得吵，直接不放 */
@media (max-width: 700px) {
  .starfield { display: none; }
}

/* 首屏缓缓掠过的光带 */
.scene::after {
  content: ""; position: absolute; z-index: 1; top: -30%; bottom: -10%; left: 0; width: 160%;
  pointer-events: none; will-change: transform;
  background: linear-gradient(102deg, rgba(255, 255, 255, 0) 38%, rgba(255, 251, 243, 0.34) 50%, rgba(255, 255, 255, 0) 62%);
  animation: light-sweep 15s ease-in-out infinite;
}
@keyframes light-sweep {
  0%, 100% { transform: translate3d(-58%, 0, 0); }
  50% { transform: translate3d(22%, 0, 0); }
}

.cursor-aura {
  position: fixed; z-index: 3; top: 0; left: 0; width: 440px; height: 440px;
  margin: -220px 0 0 -220px; border-radius: 50%; pointer-events: none;
  opacity: 0; transition: opacity 0.4s ease; will-change: transform;
  contain: strict;
  background: radial-gradient(circle,
    rgba(var(--halo-rgb), 0) 0%, rgba(var(--halo-rgb), 0) 26%,
    rgba(var(--halo-rgb), 0.12) 46%, rgba(var(--halo-rgb), 0.06) 62%, rgba(var(--halo-rgb), 0) 78%);
}
.cursor-aura::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px;
  border-radius: 50%; border: 1.5px solid rgba(var(--ring-rgb), 0.3);
  box-shadow: 0 0 0 6px rgba(var(--ring-rgb), 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.34);
  transition: width 0.26s var(--ease), height 0.26s var(--ease), margin 0.26s var(--ease),
    border-color 0.26s ease, background-color 0.26s ease, box-shadow 0.26s ease;
}
.cursor-aura.is-on { opacity: 1; }
.cursor-aura.is-hot::after {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  background-color: rgba(var(--ring-rgb), 0.07);
  border-color: rgba(var(--ring-rgb), 0.44);
  box-shadow: 0 0 0 8px rgba(var(--ring-rgb), 0.05);
}

/* 拖尾：11 个可复用的光点，链式缓动跟随光圈，尾巴收拢到指针附近时整组淡出 */
.cursor-trail {
  position: fixed; z-index: 2; inset: 0; pointer-events: none;
  opacity: 0; transition: opacity 0.34s ease; contain: strict;
}
.cursor-trail.is-on { opacity: 1; }
.cursor-trail i {
  position: absolute; top: 0; left: 0; display: block; border-radius: 50%;
  will-change: transform;
  background: radial-gradient(circle,
    rgba(var(--trail-rgb), 0.56) 0%, rgba(var(--trail-rgb), 0.26) 42%, rgba(var(--trail-rgb), 0) 74%);
}

/* 指针视差由 app.js 直接写行内 translate（不碰 :root 自定义属性，避免整树重算） */
.scene-wordmark, .banner-wrap, .kook-pass, .wechat-pass { will-change: translate; }

/* 卡片跟随指针的高光（--gx/--gy 声明为不继承，更新时只重算伪元素） */
@property --gx { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }
@property --gy { syntax: "<length-percentage>"; inherits: false; initial-value: 34%; }
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 34%), rgba(255, 251, 244, 0.3), rgba(255, 251, 244, 0) 72%);
}
.card:hover::after, .card:focus-within::after { opacity: 1; }

@media (hover: none) {
  .cursor-aura { display: none; }
  .cursor-trail { display: none; }
}

/* ============ 鍝嶅簲寮?============ */
@media (min-width: 1600px) {
  .scene-content { padding-top: 62px; }
  .banner-wrap { margin-top: 40px; }
}
@media (max-width: 1100px) {
  .shell { width: calc(100% - 48px); }
  .nav { gap: 18px; font-size: 12px; }
  .hdr-inner { gap: 14px; }
  .scene-content { padding-top: 40px; }
  .banner-wrap { width: 90%; }
  .kook-pass { left: -27px; }
  .wechat-pass { right: -27px; }
  .pass { min-width: 182px; padding: 13px; gap: 9px; }
  .pass strong { font-size: 18px; }
  .wechat-pass strong { font-size: 15px; }
  .arrival-bar { gap: 10px; }
  .arrival-item { padding: 14px; gap: 11px; }
  .arrival-item b { font-size: 13px; }
  .arrival-item small { font-size: 10px; }
  .arrival-item > .icon { display: none; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
  .guide-layout { gap: 48px; }
  .contact-grid { gap: 44px; }
  .gift-copy { padding: 30px; }
  .gift-copy h2 { font-size: 32px; }
  .acc-a { left: 13%; width: 72px; }
  .acc-b { right: 3%; width: 72px; }
  .acc-c { width: 70px; }
}
@media (max-width: 900px) {
  /* 手机上导航照样保留：折成表头第二行，横向可滑 */
  :root { --hdr-h: 98px; }
  .hdr-inner { flex-wrap: wrap; gap: 8px 10px; min-height: 0; padding-top: 8px; }
  .hdr-tools { margin-left: auto; order: 2; }
  .brand { order: 1; }
  .nav {
    order: 3; flex: 1 0 100%; display: flex; justify-content: flex-start;
    gap: 18px; height: 34px; margin: 0 -14px; padding: 0 14px;
    overflow-x: auto; white-space: nowrap; font-size: 12px;
    scrollbar-width: none; border-top: 1px solid var(--line-soft);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { min-height: 34px; }
  .nav a::after { bottom: 6px; }
  main > section[id] { scroll-margin-top: 108px; }
  .scene h1 { font-size: clamp(40px, 7vw, 58px); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-layout { grid-template-columns: 1fr; gap: 30px; }
  .gift-stage { grid-template-columns: 1fr; }
  .gift-art { min-height: 320px; }
  .flow-steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-copy h2 { font-size: clamp(40px, 7vw, 56px); }
  .detail-grid { grid-template-columns: 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .qr-wrap { grid-template-columns: 1fr; }
  .qr-box { width: min(220px, 100%); }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .field-row { grid-template-columns: 1fr; }
  :root { --hdr-h: 92px; }
  .hdr-inner { min-height: 0; gap: 6px 8px; padding-top: 6px; }
  /* 第一行要塞得下：品牌收窄、开关和按钮也收一点 */
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
  .brand-text b { font-size: 15px; }
  .brand-text small { font-size: 6.5px; letter-spacing: 0.16em; }
  .toggle { width: 38px; min-height: 38px; }
  .hdr-cta { min-height: 38px; padding-inline: 12px; font-size: 11px; gap: 5px; }
  .hdr-cta .icon { width: 12px; height: 12px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
  .brand-text b { font-size: 17px; }
  .brand-text small { font-size: 7px; letter-spacing: 0.18em; }
  .toggle { width: 34px; }
  .hdr-cta { min-height: 36px; padding-inline: 11px; font-size: 11px; border-radius: 9px; }
  .hdr-cta .icon { display: block; width: 14px; height: 14px; }

  .scene-content { padding: 30px 0 44px; }
  .scene-caption { gap: 6px; font-size: 9px; letter-spacing: 0.04em; padding: 7px 11px; }
  .scene-caption .sep { font-size: 8px; margin-left: 4px; padding-left: 9px; }
  .scene h1 { margin-top: 16px; font-size: clamp(34px, 9.6vw, 48px); }
  .scene h1 em { display: block; }
  .scene-desc { margin-top: 13px; font-size: 11.5px; line-height: 1.8; }
  .scene-desc .desc-tail { display: block; margin: 0; }
  .scene-actions { gap: 18px; margin-top: 20px; }
  .btn { min-height: 46px; padding: 0 17px; font-size: 12px; border-radius: 11px; }
  .btn .icon { width: 16px; height: 16px; }
  .scene-secondary { min-height: 44px; font-size: 11px; }

  .banner-wrap { width: 100%; margin-top: 22px; }
  .banner { aspect-ratio: 1.52; border-radius: 15px; box-shadow: var(--shadow-lg), 0 0 0 3px rgba(255, 255, 255, 0.6); }
  .banner-topline { padding: 10px 2px; font-size: 8px; letter-spacing: 0; }
  /* 手机上同样要看到横幅下方两行注释，只是字号更小 */
  .banner-bottomline { padding: 8px 2px 0; font-size: 8.5px; letter-spacing: 0; gap: 8px; align-items: flex-start; }
  .banner-bottomline > span { display: block; }
  .banner-bottomline > span + span { text-align: right; }
  .pass {
    position: static; width: calc(50% - 5px); min-width: 0; min-height: 56px;
    display: inline-flex; gap: 7px; margin-top: 12px; padding: 9px 10px;
    border-radius: 12px; transform: none !important;
  }
  .passes { position: static; display: flex; flex-wrap: wrap; gap: 0 10px; }
  .pass-icon { width: 30px; height: 30px; border-radius: 9px; }
  .pass-icon .icon { width: 16px; height: 16px; }
  .pass small { font-size: 8px; }
  .pass strong { margin-top: 3px; font-size: 15px; }
  .wechat-pass strong { font-size: 12px; }
  .pass > .icon { width: 11px; height: 11px; margin-left: auto; }
  /* 手机上复制键绝对定位到右上角，不吃正文宽度（否则「XH-DIANJING」会被挤成两行） */
  .pass { padding-right: 40px; }
  .pass-open { gap: 8px; padding-right: 0; }
  .pass-copy { position: absolute; right: 8px; top: 8px; width: 24px; height: 24px; margin: 0; border-radius: 8px; }
  .pass-copy .icon { width: 12px; height: 12px; }
  .pass-copy-tip { right: calc(100% + 5px); font-size: 9px; padding: 2px 6px; }
  .pass strong { white-space: nowrap; }
  .banner-tag { left: 10px; top: 10px; min-height: 30px; font-size: 9px; padding: 0 9px; }
  .acc-a { top: 118px; left: 16px; width: 38px; }
  .acc-b { top: 118px; right: 16px; width: 42px; }
  .acc-c { width: 44px; left: 26px; }
  .orn-two { width: 38px; height: 38px; right: -12px; top: 190px; }
    .scene-wordmark { top: 108px; font-size: 58px; opacity: 0.6; }

  .arrival-zone { padding-bottom: 12px; }
  .arrival-bar { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .arrival-item { flex-direction: row; align-items: center; justify-content: flex-start; gap: 9px; min-height: 64px; padding: 10px 11px; text-align: left; position: relative; }
  .arrival-icon { width: 38px; height: 38px; border-radius: 12px; flex: none; }
  .arrival-icon .icon { width: 18px; height: 18px; }
  .arrival-item b { font-size: 12.5px; line-height: 1.35; }
  .arrival-item small { display: block; font-size: 9.5px; line-height: 1.4; margin-top: 2px; }
  /* 箭头绝对定位在右边，不挤占文字宽度 */
  .arrival-item > .icon:last-child { display: block; position: absolute; right: 11px; top: 50%; width: 13px; height: 13px; margin: 0; transform: translateY(-50%); opacity: 0.5; }
  .arrival-item > div { padding-right: 13px; }

  .menu { padding-block: 32px 42px; }
  .sec-head { display: block; margin-bottom: 18px; }
  .sec-head h2 { font-size: 28px; }
  .sec-desc { margin-top: 8px; font-size: 11px; }
  .sec-head .text-btn { margin-top: 8px; min-height: 36px; font-size: 10px; }
  .toolbar { top: calc(var(--hdr-h) + 2px); margin-bottom: 16px; padding-block: 7px; flex-wrap: wrap; gap: 8px; }
  .filters { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; padding: 4px; border-radius: 12px; }
  .filter { gap: 4px; min-height: 42px; padding: 0 2px; border-radius: 9px; font-size: 10px; flex-direction: column; }
  .filter small { font-size: 8px; }
  /* 筛选条右侧那句注也保留，换行到下面一行右对齐 */
  .toolbar-note { display: block; width: 100%; text-align: right; font-size: 9px; margin: 0 2px 1px 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .card { border-radius: 13px; }
  .card-num { top: 8px; left: 8px; font-size: 9px; padding: 4px; min-width: 22px; }
  .card-new { top: 8px; right: 8px; font-size: 9px; padding: 4px 6px; }
  .card-info { padding: 10px; min-height: 74px; }
  .card-info > div { padding-right: 32px; }
  .card-cat { min-height: 19px; font-size: 9px; padding: 1px 7px; }
  .card-info h3 { font-size: 12px; margin-top: 5px; }
  .card-badge { right: 8px; bottom: 8px; min-height: 26px; font-size: 8px; padding: 0 7px; }
  .card-badge .icon { width: 10px; height: 10px; }
  .card-go { width: 26px; height: 26px; right: 9px; bottom: 9px; }
  .card-go .icon { width: 12px; height: 12px; }
  .menu-note { margin-top: 18px; padding-top: 14px; font-size: 9px; gap: 5px; line-height: 1.7; flex-wrap: wrap; }
  /* 「共 41 项 / 当前显示 20 项」也要能看到，换行放到下一行右对齐 */
  .menu-note .count { display: inline; margin-left: auto; font-size: 8.5px; }
  .menu-note .star { font-size: 12px; }
  .expand { min-height: 46px; font-size: 11px; margin-top: 16px; }

  .guide-zone { padding-block: 42px; }
  .guide-copy h2 { font-size: 34px; }
  .guide-copy p { margin-top: 14px; font-size: 12px; line-height: 1.85; }
  .guide-copy .btn { margin-top: 18px; }
  .guide-foot { font-size: 9px; }
  .notebook { margin: 26px 0 0 8px; padding: 20px; border-radius: 4px 18px 18px 4px; }
  .notebook h3 { margin-top: 18px; font-size: 21px; }
  .notebook-row { min-height: 54px; gap: 9px; }
  .notebook-row p { font-size: 11px; }
  .stamp { top: 42px; right: 22px; font-size: 8px; }

  .gift-zone { padding-block: 40px; }
  .gift-stage { border-radius: 18px; }
  .gift-art { min-height: 0; height: 210px; }
  .gift-copy { padding: 22px; }
  .gift-copy h2 { font-size: 27px; }
  .gift-copy p { margin-top: 11px; font-size: 12px; }
  .gift-copy .btn { margin-top: 18px; }
  .gift-view { right: 10px; bottom: 10px; min-height: 33px; font-size: 9px; }

  .flow { padding-block: 6px 42px; }
  .flow-steps { gap: 12px 10px; }
  .flow-step { padding: 14px; }
  .flow-top > span { font-size: 27px; }
  .flow-top .icon { width: 20px; height: 20px; }
  .flow-step h3 { margin-top: 13px; font-size: 15px; }
  .flow-step p { margin-top: 7px; font-size: 10.5px; }

  .contact { padding-block: 44px 42px; }
  .contact-copy h2 { font-size: 44px; }
  .contact-copy p { margin-top: 13px; font-size: 12px; }
  .contact-copy .btn { margin-top: 18px; }
  .contact-card { margin-top: 26px; padding: 20px; border-radius: 18px; }
  .contact-label { font-size: 13px; }
  .copy-row { min-height: 76px; }
  .copy-row strong { font-size: 20px; }
  .people { grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
  /* 单人卡改成整行，说明文字整句显示，不再截断 */
  .person { min-height: 58px; padding: 8px 10px; }
  .person small { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.5; }
  .contact-watermark { bottom: 0; font-size: 92px; }

  .foot { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; min-height: 0; padding: 22px 0 calc(84px + env(safe-area-inset-bottom)); }
  .foot-links { gap: 12px; }

  .dock {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    border-radius: 18px 18px 0 0;
    background: color-mix(in srgb, var(--bg-1) 92%, transparent);
    -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
    box-shadow: 0 -5px 22px rgba(122, 76, 27, 0.12);
  }
  .dock > * {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 52px; padding: 2px 0 6px;
    color: var(--header-ink); font-size: 9.5px; font-weight: 700;
  }
  .dock .icon { width: 21px; height: 21px; }
  .dock .is-active { color: var(--deep); }
  .dock .dock-cta { color: var(--accent); }

  .dlg { width: 100%; }
  .dlg::backdrop { background: rgba(70, 45, 16, 0.36); }
  .dlg[open] { margin: auto 0 0; }
  .panel { max-height: 93dvh; border-radius: 24px 24px 0 0; border-bottom: 0; position: relative; }
  .panel::before { content: ""; position: absolute; top: 8px; left: 50%; width: 38px; height: 4px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 45%, #fff); transform: translateX(-50%); }
  .panel-head { padding: 26px 18px 10px; }
  .panel-head h2 { font-size: 21px; }
  .panel-head p { font-size: 11px; }
  .panel-body { padding: 4px 18px 18px; }
  .panel-foot { padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); }
  .rules li { font-size: 12px; }
  .order-result pre { min-height: 140px; font-size: 12px; }
  .contact-tabs { padding-bottom: 12px; }
  .toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .hdr-inner { gap: 7px; }
  .hdr-cta { font-size: 10px; padding-inline: 9px; }
  .brand-text small { font-size: 6px; letter-spacing: 0.12em; }
  .filter { font-size: 9px; }
  .card-info h3 { font-size: 11px; }
  .scene-caption { font-size: 8px; }
  .acc-a, .acc-b { opacity: 0.7; }
}

/* ---------- 菜单封面：单独放大缩小查看 ---------- */
.card { position: relative; }

.card-art-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: zoom-in;
}

.card-zoom {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--deep);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.card-zoom .icon { width: 14px; height: 14px; }

.card:hover .card-zoom,
.card:focus-within .card-zoom { opacity: 1; transform: none; }

@media (hover: none) {
  .card-zoom { opacity: 0.94; transform: none; }
}

.detail-art-wrap { position: relative; }

.detail-art-wrap .detail-art { cursor: zoom-in; }

.detail-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: zoom-in;
  backdrop-filter: blur(8px);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.detail-zoom:hover { background: #fff; transform: translateY(-1px); }
.detail-zoom .icon { width: 13px; height: 13px; }

.photo {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  color: #fff;
}

.photo::backdrop { background: rgba(28, 15, 23, 0.86); }

.photo-inner { position: absolute; inset: 0; }

.photo-stage {
  position: absolute;
  inset: 0 0 0 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: none;
  cursor: default;
  outline: none;
}

.photo-canvas {
  transform-origin: center center;
  will-change: transform;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 90px rgba(28, 10, 20, 0.44), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.photo-canvas.is-svg { height: min(74vh, 820px); width: auto; aspect-ratio: 320 / 300; max-width: 90vw; }
.photo-canvas > svg { display: block; width: 100%; height: 100%; }

.photo-img {
  display: block;
  max-width: min(92vw, 1400px);
  width: auto;
  height: auto;
}

.photo-canvas.is-zoomed { cursor: grab; }
.photo-stage.is-grabbing .photo-canvas { cursor: grabbing; }

.photo-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 54px max(20px, 3vw) 16px;
  background: linear-gradient(to top, rgba(20, 9, 16, 0.86) 0%, rgba(20, 9, 16, 0.52) 46%, rgba(20, 9, 16, 0) 100%);
  pointer-events: none;
}

.photo-meta { display: grid; gap: 3px; pointer-events: auto; }

.photo-cap {
  padding-left: 2px;
  font-size: 12.5px;
  color: rgba(255, 246, 250, 0.88);
  text-shadow: 0 1px 10px rgba(20, 6, 14, 0.5);
}

.photo-tools {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 252, 0.16);
  backdrop-filter: blur(10px);
}

.photo-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s var(--ease);
}

.photo-btn:hover { background: rgba(255, 255, 255, 0.3); }
.photo-btn[hidden] { display: none !important; }
.photo-width { width: auto; padding: 0 14px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.photo-btn .icon { width: 17px; height: 17px; }

.photo-fit {
  width: auto;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.photo-scale {
  min-width: 48px;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 250, 252, 0.9);
}

.photo-tip {
  margin: 0;
  padding-left: 2px;
  font-size: 11px;
  color: rgba(255, 250, 252, 0.58);
}

@media (max-width: 700px) {
  .photo-bar { flex-direction: column; align-items: stretch; gap: 10px; padding: 46px 14px 12px; }
  .photo-cap { padding: 0 2px; font-size: 11.5px; }
  .photo-tools { justify-content: center; }
  .photo-tip { font-size: 10px; }
  .photo-canvas.is-svg { width: 92vw; height: auto; max-width: 92vw; }
  .photo-img { max-width: 94vw; }
  .detail-zoom { right: 8px; bottom: 8px; min-height: 27px; padding: 0 10px; font-size: 10px; }
}
/* 看图：拖动时别触发浏览器的原生长按/选图行为 */
.photo-canvas,
.photo-canvas * {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
/* 看图里的图本身不接收事件：事件一律落到 .photo-canvas，避免原生「拖图片」抢手势 */
.photo-img,
.photo-canvas > svg {
  pointer-events: none;
}
/* 能拖动时给个抓手光标，避免「拖不动」的错觉 */
.photo-canvas.is-pannable { cursor: grab; }
.photo-stage.is-grabbing .photo-canvas { cursor: grabbing; }
/* ================= 滚动公告 ================= */
.ticker {
  position: relative;
  z-index: 2;
  border-block: 1px solid rgba(var(--trail-rgb), 0.2);
  background: linear-gradient(90deg, rgba(var(--trail-rgb), 0.11), rgba(var(--trail-rgb), 0.045) 46%, rgba(var(--trail-rgb), 0.1));
  overflow: hidden;
}
.ticker[hidden] { display: none; }
.ticker-inner { display: flex; align-items: center; gap: 14px; min-height: 46px; }

.ticker-tag {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 7px;
  height: 24px; padding: 0 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  box-shadow: 0 6px 16px -8px rgba(var(--trail-rgb), 0.9);
}
.ticker-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  animation: ticker-blink 1.6s ease-in-out infinite;
}
@keyframes ticker-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.ticker-window {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.ticker-track {
  display: flex; align-items: center;
  gap: 34px;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-run var(--ticker-dur, 34s) linear infinite;
}
.ticker-item { font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.01em; }
.ticker-sep {
  flex: 0 0 auto;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0.85;
}
.ticker { cursor: pointer; }
.ticker:hover { border-block-color: rgba(var(--trail-rgb), 0.32); }
.ticker:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.ticker-more {
  flex: none; display: inline-flex; align-items: center; gap: 3px;
  height: 24px; padding: 0 10px; border-radius: 99px;
  font-size: 11px; font-weight: 800; color: var(--accent-ink, #fff);
  background: var(--accent); white-space: nowrap;
}
.ticker-more .icon { width: 13px; height: 13px; }
.ticker:hover .ticker-more { background: var(--accent-3); }
.notice-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.notice-list li {
  position: relative; padding: 12px 16px 12px 40px; border-radius: 14px;
  background: var(--card-1); border: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.7; color: var(--ink-soft);
  counter-increment: notice;
}
.notice-list { counter-reset: notice; }
.notice-list li::before {
  content: counter(notice); position: absolute; left: 14px; top: 12px;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800; color: var(--accent-ink, #fff);
  background: var(--accent);
}
@media (max-width: 700px) {
  /* 「查看全部」四个字在窄屏也保留，只是收窄胶囊 */
  .ticker-more {
    padding: 0 8px;
    font-size: 10px;
  }
  .ticker-more .icon { width: 12px; height: 12px; }
}
html[data-effects="paused"] .ticker-track { animation-play-state: paused !important; }
@keyframes ticker-run {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 700px) {
  .ticker-inner { min-height: 42px; gap: 10px; }
  .ticker-tag { height: 22px; padding: 0 10px; font-size: 10px; }
  .ticker-item { font-size: 12px; }
  .ticker-track { gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-window { overflow-x: auto; scrollbar-width: none; }
  .ticker-window::-webkit-scrollbar { display: none; }
}

/* 图片串行加载时先占位，避免出现浏览器默认的破图图标 */
.art-img.is-waiting { background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.2)); }
/* KOOK / 微信 官方图标（后台 assets/ 里的 128×128 PNG，四角已抠成透明，不带白边） */
.pass-icon-logo { background: transparent; border-radius: 12px; overflow: hidden; }
.pass-icon-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 整张浮卡被点=复制：卡片高亮 + 露出「已复制」气泡（右下角图标与整卡共用一套反馈） */
.pass.is-copied {
  box-shadow: var(--inset), 0 18px 44px rgba(122, 76, 27, 0.24), 0 0 0 2px color-mix(in srgb, var(--accent) 42%, transparent);
}
.pass.is-copied .pass-copy-tip { opacity: 1; transform: translate(0, -50%); }
.pass.is-copied .pass-copy { background: color-mix(in srgb, var(--accent) 18%, #fff); border-color: var(--accent); color: var(--deep); }
/* 整卡现在只做复制，不再跳转：给出可点的指针与轻微按下感 */
.pass-open { cursor: pointer; }
.pass-open:active { transform: scale(0.985); }
/* ============ 吉祥物点缀（宽屏才有） ============ */
.guide-zone, .flow { position: relative; }
.guide-zone > .shell, .flow > .shell, .contact > .shell { position: relative; z-index: 2; }
.mascot { display: none; }
@media (min-width: 1180px) {
  .mascot {
    display: block; position: absolute; z-index: 1; height: auto;
    pointer-events: none; user-select: none; -webkit-user-drag: none;
    filter: drop-shadow(0 16px 24px rgba(64, 32, 104, 0.22));
    animation: mascot-float 6.5s ease-in-out infinite;
  }
  .mascot--guide { width: 112px; left: 46%; bottom: -8px; }
  .mascot--flow { width: 104px; right: 2.8%; top: -8px; animation-delay: -2.2s; }
  .mascot--sleep { width: 132px; left: 1.6%; bottom: 2px; animation-delay: -4.1s; }
}
@keyframes mascot-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}
html[data-effects="paused"] .mascot, html[data-theme] .mascot { }
html[data-effects="paused"] .mascot { animation: none; }
@media (prefers-reduced-motion: reduce) { .mascot { animation: none !important; } }

/* ============ 菜单区吉祥物（电脑端显示） ============ */
.menu { position: relative; }
.menu > .shell { position: relative; z-index: 2; }
@media (min-width: 900px) {
  .mascot--menu-a, .mascot--menu-b {
    display: block; position: absolute; z-index: 1; height: auto;
    pointer-events: none; user-select: none; -webkit-user-drag: none;
    filter: drop-shadow(0 16px 24px rgba(64, 32, 104, 0.2));
    animation: mascot-float 6.5s ease-in-out infinite;
  }
  .mascot--menu-a { width: 126px; right: 23%; top: 88px; }
  .mascot--menu-b { width: 92px; right: -6px; bottom: 2px; animation-delay: -3.1s; }
}
html[data-effects="paused"] .mascot--menu-a, html[data-effects="paused"] .mascot--menu-b { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .mascot--menu-a, .mascot--menu-b { animation: none !important; }
}

/* ============ 吉祥物的 hover 小动作（晃两下 / 眨一下） ============ */
@media (hover: hover) {
  .mascot.is-hover { animation: mascot-wiggle 0.78s cubic-bezier(0.36, 0.07, 0.19, 0.97) 1; }
  .mascot.is-hover[data-hover="blink"] { animation: mascot-blink 0.92s ease-in-out 1; }
  .mascot.is-hover { filter: drop-shadow(0 20px 30px rgba(64, 32, 104, 0.3)); }
}

/* 晃两下：左右各摆一次，带一点弹起 */
@keyframes mascot-wiggle {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  14%  { transform: translate3d(0, -7px, 0) rotate(-6deg) scale(1.035); }
  32%  { transform: translate3d(0, -2px, 0) rotate(5deg) scale(1.045); }
  50%  { transform: translate3d(0, -6px, 0) rotate(-4deg) scale(1.035); }
  70%  { transform: translate3d(0, -1px, 0) rotate(2.5deg) scale(1.02); }
  85%  { transform: translate3d(0, -3px, 0) rotate(-1deg) scale(1.01); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
}

/* 眨一下：快速压扁 + 回弹，读起来像眯眼 */
@keyframes mascot-blink {
  0%   { transform: translate3d(0, 0, 0) scaleY(1) scaleX(1); }
  18%  { transform: translate3d(0, 3px, 0) scaleY(0.93) scaleX(1.03); }
  34%  { transform: translate3d(0, 0, 0) scaleY(1.02) scaleX(0.99); }
  48%  { transform: translate3d(0, 3px, 0) scaleY(0.94) scaleX(1.03); }
  66%  { transform: translate3d(0, 0, 0) scaleY(1) scaleX(1); }
  100% { transform: translate3d(0, 0, 0) scaleY(1) scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .mascot.is-hover, .mascot.is-hover[data-hover="blink"] { animation: none !important; }
}
html[data-effects="paused"] .mascot.is-hover { animation: none !important; }

