/* 所值官网。配色、纸张、印章都取自 App 的浅色场景「纸」（Worth/Design/Theme.swift）。 */

@font-face {
  font-family: "Space Mono";
  src: url("../assets/fonts/SpaceMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../assets/fonts/SpaceMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ground: #E6E7EA;
  --glow: #F9F9F7;
  --paper: #FCFCFA;
  --ink: #141416;
  --ink2: #3A3A3E;
  --sub: #57575C;
  --line: rgba(20, 20, 22, .32);
  --hair: rgba(20, 20, 22, .1);
  --red: #C8321F;
  --seal: #D93A26;
  --gold-ink: #8C641C;
  --mint: #1E9E5A;
  --ochre: #9A5B2A;
  --indigo: #2F4A7A;
  --plum: #6B3A73;
  --pine: #2E6B4F;
  --holo: #FF7AB6, #FFD36E, #7DFFB6, #6FD2FF, #B87DFF, #FF7AB6;
  --holo-deep: #C9468A, #C9A43F, #3FC98B, #3F9FC9, #8A4FC9, #C9468A;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "Space Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.3, 1.5, .5, 1);
  --pad: clamp(20px, 5.5vw, 88px);
  --max: 1240px;
  --cw: clamp(230px, min(27vw, 47vh), 400px);

  --grain: radial-gradient(rgba(20, 20, 22, .035) .8px, transparent .95px);
  --zig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5'%3E%3Cpath d='M0 0H10L5 5Z'/%3E%3C/svg%3E");
  --zig-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5'%3E%3Cpath d='M0 5H10L5 0Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
/* 从上方落下来的那片光 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 60% at 50% -8%, var(--glow) 0, rgba(249, 249, 247, 0) 70%),
    var(--ground);
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
hr { border: 0; border-top: 1px dashed var(--line); margin: 14px 0; }
.defs { position: absolute; }
.mono { font-family: var(--mono); }
.pos { color: var(--red); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - var(--pad) * 2); margin-inline: auto; }
.section { padding: clamp(96px, 16vh, 190px) 0; position: relative; overflow-x: clip; }

/* ───────── 文字 ───────── */

.display {
  font-size: clamp(46px, 8.4vw, 132px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.02em;
}
h2 {
  font-size: clamp(32px, 4.6vw, 68px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.015em;
}
h2.display { font-size: clamp(56px, 10vw, 150px); }
h3 { font-size: 21px; line-height: 1.35; font-weight: 700; }
.body, .lede { color: var(--ink2); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.8; max-width: 34em; }
.head { display: grid; gap: clamp(16px, 2.2vh, 26px); justify-items: start; }
.head + .wrap, .head ~ .wrap { margin-top: clamp(36px, 6vh, 72px); }

.no {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink2);
}
.no b { font-family: var(--mono); color: var(--red); letter-spacing: .04em; }
.no b::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--line); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--ink2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--seal); box-shadow: 0 0 0 0 rgba(217, 58, 38, .5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 9px rgba(217, 58, 38, 0); } }

/* 逐字升起 */
.split .line { display: block; overflow: hidden; padding: .08em 0 .12em; margin: -.08em 0 -.12em; }
.split .ch { display: inline-block; transform: translateY(112%) rotate(5deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 26ms + var(--base, 0ms)); will-change: transform; }
.split.is-in .ch { transform: none; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* 「所值」两个字盖一枚朱印 */
.mark { font-style: normal; position: relative; display: inline-block; color: var(--seal); padding: 0 .08em; }
.mark::after {
  content: "";
  position: absolute;
  inset: .1em -.02em .04em;
  border: .055em solid var(--seal);
  border-radius: .16em;
  opacity: 0;
  transform: scale(1.7) rotate(-9deg);
  filter: url(#rough);
  pointer-events: none;
}
.split.is-in .mark::after { animation: stamp .5s cubic-bezier(.6, 0, .9, .4) 1.05s forwards; }
@keyframes stamp {
  0% { opacity: 0; transform: scale(1.7) rotate(-9deg); }
  70% { opacity: 1; transform: scale(.96) rotate(-2.5deg); }
  100% { opacity: .92; transform: scale(1) rotate(-2.5deg); }
}

/* ───────── 按钮 ───────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 27px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .5s var(--spring), box-shadow .4s var(--ease), background .3s;
}
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 0 14px 30px -14px rgba(20, 20, 22, .55); }
.btn--ink.is-soon { cursor: default; }
.btn--ink.is-soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: conic-gradient(var(--holo)); animation: spin 3s linear infinite; }
.btn--glass {
  background: rgba(252, 252, 250, .62);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 10px 26px -16px rgba(20, 20, 22, .35);
}
.btn--glass:hover { background: rgba(252, 252, 250, .92); }
.btn--glass .arrow { transition: transform .4s var(--spring); }
.btn--glass:hover .arrow { transform: translate(3px, -3px); }
.btn--text { padding: 0 8px; gap: 12px; }
.btn--text small { font-family: var(--mono); font-size: 13px; color: var(--sub); }
.play { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); position: relative; flex: none; transition: transform .5s var(--spring); }
.play::after { content: ""; position: absolute; left: 13px; top: 10px; border: 7px solid transparent; border-left: 11px solid var(--paper); border-right: 0; }
.btn--ink .play { background: var(--paper); }
.btn--ink .play::after { border-left-color: var(--ink); }
button:hover > .play { transform: scale(1.12); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ───────── 开场小票 ───────── */

.loader { position: fixed; inset: 0; z-index: 100; pointer-events: none; filter: drop-shadow(0 12px 18px rgba(20, 20, 22, .18)); }
.loader__paper {
  position: absolute;
  inset: 0 0 -14px;
  background: var(--grain) 0 0 / 3px 3px, var(--paper);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 13px) no-repeat, var(--zig) bottom / 28px 14px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 13px) no-repeat, var(--zig) bottom / 28px 14px repeat-x;
  transition: transform 1.25s cubic-bezier(.76, 0, .18, 1);
}
.loader__inner { position: absolute; left: 50%; top: 50%; width: min(300px, 70vw); transform: translate(-50%, -50%); transition: opacity .35s; }
.loader__brand { display: flex; justify-content: center; align-items: baseline; gap: 14px; font-size: 22px; letter-spacing: .3em; }
.loader__brand b { font-weight: 800; }
.loader__brand span { font-family: var(--mono); font-weight: 700; font-size: 17px; }
.loader__bar { height: 30px; margin: 22px 0 10px; position: relative; overflow: hidden; }
.loader__bar i, .barcode {
  display: block;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 17px);
}
.loader__bar i { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); transition: clip-path .25s linear; }
.loader__meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; color: var(--sub); letter-spacing: .08em; }
.loader__meta span:first-child { font-family: var(--sans); letter-spacing: .2em; }
body.is-ready .loader__paper { transform: translateY(-104%); }
body.is-ready .loader__inner { opacity: 0; }
.loader.is-gone { display: none; }

/* 跟着指针走的一小团珠光 */
.aura {
  position: fixed;
  left: 0; top: 0;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: conic-gradient(from 40deg, #FFC9E0, #FFEAC0, #CFFFE4, #C8EDFF, #E4CFFF, #FFC9E0);
  filter: blur(90px);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
  transition: opacity 1.2s;
  will-change: transform;
}
.aura.is-on { opacity: .5; }

main { position: relative; z-index: 1; }

/* ───────── 导航：一条悬浮的玻璃 ───────── */

.nav {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  height: 54px;
  padding: 0 10px 0 12px;
  border-radius: 27px;
  background: rgba(252, 252, 250, .58);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .9), 0 16px 36px -18px rgba(20, 20, 22, .35);
  transform: translate(-50%, -90px);
  transition: transform 1s var(--ease);
}
body.is-ready .nav { transform: translate(-50%, 0); transition-delay: .5s; }
.nav.is-hidden { transform: translate(-50%, -90px) !important; transition-delay: 0s !important; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex: none; font-size: 18px; font-weight: 800; letter-spacing: .08em; }
.nav__brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { padding: 8px 13px; border-radius: 18px; font-size: 15px; font-weight: 500; color: var(--ink2); white-space: nowrap; transition: background .3s, color .3s; }
.nav__links a:hover, .nav__links a.is-on { background: rgba(20, 20, 22, .07); color: var(--ink); }
.nav__soon { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 18px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav__soon i { width: 7px; height: 7px; border-radius: 50%; background: conic-gradient(var(--holo)); animation: spin 3s linear infinite; }

/* ───────── 首屏 ───────── */

.scene { position: relative; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero { height: 540vh; }

.hero__copy {
  position: absolute;
  z-index: 3;
  left: max(var(--pad), (100vw - var(--max)) / 2);
  top: 50%;
  width: min(52vw, 700px);
  transform: translateY(-48%);
  display: grid;
  gap: clamp(18px, 2.6vh, 30px);
  justify-items: start;
}
.hero__copy .lede { max-width: 27em; }

.life {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: var(--cw);
  height: calc(var(--cw) * 1.4);
  margin: calc(var(--cw) * -.7) 0 0 calc(var(--cw) * -.5);
  will-change: transform;
}
.life__float { position: absolute; inset: 0; perspective: 1400px; }
.life__bg { position: absolute; inset: 0; transition: opacity 2.4s var(--ease) .5s; }
body.is-loading .life__bg { opacity: 0; }
.life__tilt, .life__flip { position: absolute; inset: 0; transform-style: preserve-3d; }
.life__tilt { will-change: transform; }

/* 钞票雕刻线：两族波纹环反向慢转 */
.life__rings {
  position: absolute;
  left: 50%; top: 50%;
  width: calc(var(--cw) * 3.6);
  height: calc(var(--cw) * 3.6);
  margin: calc(var(--cw) * -1.8) 0 0 calc(var(--cw) * -1.8);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 96%);
  mask: radial-gradient(closest-side, #000 30%, transparent 96%);
  pointer-events: none;
}
.life__rings svg { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.life__rings path { fill: none; stroke: var(--ink); stroke-width: .7; vector-effect: non-scaling-stroke; opacity: .16; }
.life__rings .ga { animation: spin 260s linear infinite; }
.life__rings .gb { animation: spin 340s linear infinite reverse; }

.life__halo {
  position: absolute;
  inset: -16%;
  border-radius: 34%;
  background: conic-gradient(from 0deg, #FFB9D6, #FFE3B8, #BDF3DE, #B9DEFF, #DCC4FF, #FFB9D6);
  filter: blur(calc(var(--cw) * .17));
  opacity: var(--halo, .5);
  animation: spin 26s linear infinite;
  will-change: transform, opacity;
  pointer-events: none;
}

/* ───────── 藏品卡 ───────── */

.card {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--cw) * .0714);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: linear-gradient(165deg, #FDFCFA, #E9E9E6);
  box-shadow: 0 calc(var(--cw) * .1) calc(var(--cw) * .16) calc(var(--cw) * -.07) rgba(24, 22, 40, .38), 0 calc(var(--cw) * .02) calc(var(--cw) * .04) rgba(24, 22, 40, .12);
  user-select: none;
  -webkit-user-select: none;
}
.card__foil { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.card__plate { position: absolute; left: .9%; right: .9%; bottom: .64%; top: 80.7%; background: rgba(255, 255, 255, .34); border-top: 1px solid rgba(140, 100, 28, .28); border-radius: 0 0 calc(var(--cw) * .066) calc(var(--cw) * .066); }
.card__body { position: absolute; inset: 0; font-size: calc(var(--cw) / 100); color: var(--ink); }
.card__body p, .card__body h3, .card__body dl { position: absolute; margin: 0; white-space: nowrap; }
.card__no { left: 1.6em; top: 1.7em; font: 400 4em/1 var(--mono); letter-spacing: .1em; color: #4A4A50; }
.card__cat { left: 2em; top: 3.95em; font-size: 3.2em; line-height: 1.2; letter-spacing: .12em; color: #6A6A70; }
.card__tier {
  right: 1.83em; top: 1.83em;
  height: 2.15em;
  display: flex; align-items: center;
  padding: 0 .85em;
  border-radius: 1.1em;
  font-size: 3.5em;
  font-family: var(--mono);
  letter-spacing: .08em;
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  box-shadow: inset 0 0 0 1.5px rgba(20, 20, 22, .16);
  transition: box-shadow .4s, color .4s;
}
.card__tier span:first-child { font-family: var(--sans); font-weight: 500; }
.card__tier[data-tier="1"] { box-shadow: inset 0 0 0 1.5px #8C8C94; }
.card__tier[data-tier="2"] { box-shadow: inset 0 0 0 1.5px #C9468A, 0 0 0 1.5px rgba(111, 210, 255, .6); }
.card__tier[data-tier="3"] { box-shadow: inset 0 0 0 1.5px #B08A3E; color: var(--gold-ink); }
.card__art { position: absolute; left: 50%; top: 39.5%; height: 44.6%; width: auto; max-width: none; transform: translate(-50%, -50%); filter: drop-shadow(0 calc(var(--cw) * .05) calc(var(--cw) * .045) rgba(30, 28, 50, .3)); }
.card__name { left: 1.02em; top: 15.2em; font-size: 6.3em; line-height: 1; font-weight: 700; letter-spacing: -.01em; }
.card__meta { left: 1.94em; top: 31.7em; font: 400 3.3em/1 var(--mono); color: #5E5E66; }
.card__stats { left: 6.4em; right: 4em; top: 116.4em; display: grid; grid-template-columns: 1fr .96fr; }
.card__stats dt { font-size: 3.3em; line-height: 1.2; color: #5E5E66; letter-spacing: .04em; }
.card__stats dd { margin: .55em 0 0; font: 700 7.4em/1 var(--mono); letter-spacing: -.02em; }
.card__stats.is-long dd { font-size: 6em; margin-top: .9em; letter-spacing: -.05em; }
.card__coat {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--lx, 30%) var(--ly, 20%), rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 42%);
}
.card--fallback .card__foil { display: none; }
.card--fallback { background: linear-gradient(150deg, #FBE9EC, #EFE4F8 45%, #E2ECF8 75%, #E6F3EC); box-shadow: inset 0 0 0 3px #C9A86A, 0 calc(var(--cw) * .1) calc(var(--cw) * .16) calc(var(--cw) * -.07) rgba(24, 22, 40, .38); }

.card--back {
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 60%),
    repeating-radial-gradient(circle at 50% 45%, rgba(20, 20, 22, .05) 0 1px, transparent 1px 9px),
    linear-gradient(165deg, #FBFBF9, #E3E4E8);
  box-shadow: inset 0 0 0 3px #D5D5DA, inset 0 0 0 calc(var(--cw) * .03) rgba(255, 255, 255, .6), 0 calc(var(--cw) * .1) calc(var(--cw) * .16) calc(var(--cw) * -.07) rgba(24, 22, 40, .38);
  display: grid;
  place-items: center;
}
.card__backmark { display: grid; justify-items: center; gap: calc(var(--cw) * .05); }
.card__backmark b { width: calc(var(--cw) * .3); height: calc(var(--cw) * .3); border-radius: 24%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: calc(var(--cw) * .17); font-weight: 800; transform: rotate(-3deg); }
.card__backmark span { font: 700 calc(var(--cw) * .045)/1 var(--mono); letter-spacing: .5em; margin-right: -.5em; color: var(--ink2); }

/* ───────── 「贵吗？」 ───────── */

.hook { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hook > * { position: absolute; visibility: hidden; opacity: 0; }
.hook__q, .hook__a { left: 0; right: 0; top: 12vh; text-align: center; font-weight: 800; letter-spacing: -.01em; }
.hook__q { font-size: clamp(24px, 3.3vw, 50px); }
.hook__q b { font-family: var(--mono); letter-spacing: -.03em; }
.hook__a { top: 6vh; font-size: clamp(40px, 6vw, 94px); line-height: 1.1; }
.hook__note { left: 0; right: 0; bottom: 19vh; text-align: center; color: var(--ink2); font-size: clamp(15px, 1.2vw, 18px); padding: 0 24px; }
.hook__num { top: 50%; display: grid; gap: 6px; transform: translateY(-50%); }
.hook__num--day { right: calc(50% + var(--cw) * .5 + clamp(28px, 5vw, 90px)); justify-items: end; text-align: right; }
.hook__num--cost { left: calc(50% + var(--cw) * .5 + clamp(28px, 5vw, 90px)); }
.hook__num .label { font-size: 15px; font-weight: 600; letter-spacing: .16em; color: var(--sub); }
.hook__num .value { display: flex; align-items: baseline; gap: .12em; font-size: clamp(36px, 5.3vw, 86px); line-height: 1; white-space: nowrap; }
.hook__num .value b { font-family: var(--mono); font-weight: 700; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.hook__num .value small { font-size: .42em; font-weight: 700; }
.hook__num--cost .value small { font-family: var(--mono); font-size: .5em; }
.hook__num .formula { font-family: var(--mono); font-size: 14px; color: var(--sub); letter-spacing: .02em; }

.rail { left: 50%; bottom: 6.5vh; width: min(760px, 86vw); margin-left: calc(min(760px, 86vw) / -2); }
.rail__track { position: relative; height: 4px; border-radius: 2px; background: rgba(20, 20, 22, .1); overflow: hidden; }
.rail__track i { position: absolute; inset: 0; background: linear-gradient(90deg, #C9468A, #C9A43F, #3FC98B, #3F9FC9, #8A4FC9); transform-origin: 0 50%; transform: scaleX(0); }
.rail ol { display: grid; grid-template-columns: 30fr 25fr 30fr 15fr; margin-top: 12px; }
.rail li { display: grid; gap: 2px; color: var(--sub); transition: color .4s; position: relative; }
.rail li::before { content: ""; position: absolute; left: 0; top: -21px; width: 2px; height: 14px; background: currentColor; }
.rail li b { font-size: 16px; font-weight: 700; }
.rail li span { font-family: var(--mono); font-size: 12px; }
.rail li.is-on { color: var(--ink); }

.scrollcue { position: absolute; z-index: 4; left: 0; right: 0; bottom: 3.2vh; display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .14em; color: var(--sub); opacity: 0; transition: opacity 1s 1.6s; }
body.is-ready .scrollcue { opacity: 1; }
.scrollcue i { width: 1px; height: 30px; background: linear-gradient(var(--ink), transparent); animation: cue 2s var(--ease) infinite; transform-origin: 50% 0; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ───────── 宣言 ───────── */

.manifesto { padding: clamp(110px, 22vh, 240px) 0; }
.manifesto__text { width: min(1040px, 100% - var(--pad) * 2); margin: 0 auto; font-size: clamp(26px, 3.7vw, 56px); line-height: 1.5; font-weight: 700; letter-spacing: -.005em; }
.manifesto__text .w { opacity: .13; transition: opacity .5s; }
.manifesto__text .w.is-lit { opacity: 1; }
.manifesto__text mark { background: none; color: inherit; background-image: linear-gradient(transparent 62%, rgba(217, 58, 38, .22) 62% 92%, transparent 92%); }

/* ───────── 01 / 02：小票打印 ───────── */

.print { height: 520vh; }
.print .pin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(20px, 4vw, 80px);
  padding: 76px max(var(--pad), (100vw - var(--max)) / 2) 0;
}
.print__copy { display: grid; }
.cap { grid-area: 1 / 1; display: grid; gap: clamp(14px, 2.2vh, 24px); justify-items: start; align-content: center; }
.cap--b { visibility: hidden; opacity: 0; }
.cap h2 { font-size: clamp(30px, 3.7vw, 58px); }
.cap h2, .head h2 { text-wrap: initial; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { height: 36px; padding: 0 16px; border-radius: 18px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; background: rgba(252, 252, 250, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); color: var(--ink2); }
.chips li.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }

.print__stage { position: relative; align-self: stretch; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr); place-items: end center; padding-bottom: 26px; }
.printer { width: 356px; transform-origin: 50% 100%; position: relative; }
.printer__feed { clip-path: inset(-60px -90px 0 -90px); }

/* 小票：热敏纸、锯齿边、一点浮起的影子 */
.receipt { filter: drop-shadow(0 8px 7px rgba(0, 0, 0, .10)) drop-shadow(0 1px .5px rgba(0, 0, 0, .10)); will-change: transform; }
.receipt__paper {
  padding: 22px 20px 26px;
  background: var(--grain) 0 0 / 3px 3px, var(--paper);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 4.500px) no-repeat, var(--zig) bottom / 10px 5px round no-repeat;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 4.500px) no-repeat, var(--zig) bottom / 10px 5px round no-repeat;
  -webkit-mask-repeat: no-repeat, repeat-x;
  mask-repeat: no-repeat, repeat-x;
  font-size: 14px;
  line-height: 1.5;
}
.receipt__head { text-align: center; }
.receipt__brand { display: flex; justify-content: center; align-items: baseline; gap: 12px; font-size: 16px; letter-spacing: .28em; }
.receipt__brand b { font-weight: 800; }
.receipt__brand span { font-family: var(--mono); font-weight: 700; font-size: 14px; }
.receipt__kind { color: var(--sub); font-size: 13px; margin-top: 2px; }
.receipt__meta { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--mono); font-size: 12.500px; color: var(--sub); }
.receipt__quote { color: var(--ink2); font-size: 14px; }
.receipt__rows { display: grid; gap: 14px; }
.receipt__rows li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; }
.receipt__rows b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.receipt__rows small { display: block; font-size: 12.500px; color: var(--sub); }
.receipt__rows small u, .receipt__foot u { text-decoration: none; background: linear-gradient(90deg, var(--red) 55%, transparent 0) 0 100% / 5px 1.500px repeat-x; padding-bottom: 2px; }
.receipt__rows .toshelf { color: var(--ink); font-weight: 500; margin-top: 3px; }
.receipt__rows .amt { font-family: var(--mono); font-weight: 700; font-size: 15px; white-space: nowrap; padding-top: 1px; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; }
.receipt__total b { font-family: var(--mono); font-size: 24px; letter-spacing: -.03em; }
.barcode { height: 28px; }
.receipt__foot { margin-top: 10px; text-align: center; font-size: 12.500px; color: var(--sub); }
.is-item { position: relative; }
.is-item::before { content: ""; position: absolute; inset: -8px -10px; border-radius: 12px; background: linear-gradient(120deg, rgba(255, 122, 182, .2), rgba(255, 211, 110, .2), rgba(125, 255, 182, .2), rgba(111, 210, 255, .2), rgba(184, 125, 255, .2)); opacity: var(--hl, 0); }
.is-item > * { position: relative; }

/* 肖形印 */
.seal { position: relative; flex: none; width: 36px; height: 36px; border-radius: 23%; background: var(--c, var(--ink)); display: grid; place-items: center; transform: rotate(var(--tilt, -1.500deg)); filter: url(#rough); color: var(--paper); font-weight: 800; font-size: 17px; }
.seal::after { content: ""; position: absolute; inset: 8.500%; border-radius: 17%; border: 1px solid rgba(252, 252, 250, .8); }
.seal svg { width: 62%; height: 62%; fill: none; stroke: var(--paper); stroke-width: 1.900; stroke-linecap: round; stroke-linejoin: round; }
.seal--ochre { --c: var(--ochre); --tilt: 1deg; }
.seal--indigo { --c: var(--indigo); --tilt: -2deg; }
.seal--vermilion { --c: var(--seal); --tilt: -2deg; }
.seal--ink { --c: var(--ink); --tilt: 1.500deg; }
.seal--holo { --c: var(--ink); }
.seal--holo::after { border: 0; inset: 7%; padding: 2px; background: conic-gradient(var(--holo)); -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); -webkit-mask-composite: xor; }
.seal--sm { width: 28px; height: 28px; }

.printer__slot { position: relative; height: 12px; margin: 0 -16px; border-radius: 7px; background: linear-gradient(#0B0B0D, #2B2B30); box-shadow: 0 1px 0 rgba(255, 255, 255, .7), inset 0 2px 3px rgba(0, 0, 0, .8); z-index: 2; }
.printer__slot i { position: absolute; left: 14px; right: 14px; top: 4px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, var(--holo)); opacity: var(--busy, 0); }
.composer { margin: 14px -16px 0; padding: 14px 16px 16px; border-radius: 28px; background: rgba(252, 252, 250, .66); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 20px 40px -24px rgba(20, 20, 22, .35); }
.composer__status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sub); }
.composer__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--seal); }
.composer__row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.composer__input { flex: 1; min-height: 58px; padding: 9px 16px; border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hair); font-size: 15px; line-height: 1.35; display: flex; align-items: center; flex-wrap: wrap; }
.composer__input span:empty::before { content: "午饭 32，打车 18…"; color: #A9A9AE; }
.caret { width: 2px; height: 1.1em; background: var(--seal); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.composer__mic { position: relative; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; flex: none; transition: transform .4s var(--spring); }
.composer__mic .wave { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 3px; opacity: 0; }
.composer__mic .wave i { width: 3px; height: 8px; border-radius: 2px; background: var(--paper); animation: wave .9s ease-in-out infinite; animation-delay: calc(var(--n, 0) * -.18s); }
.composer__mic .wave i:nth-child(2) { --n: 1; } .composer__mic .wave i:nth-child(3) { --n: 2; } .composer__mic .wave i:nth-child(4) { --n: 3; } .composer__mic .wave i:nth-child(5) { --n: 4; }
@keyframes wave { 50% { height: 22px; } }
.composer__mic.is-live { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(217, 58, 38, .12); }
.composer__mic.is-live svg { opacity: 0; }
.composer__mic.is-live .wave { opacity: 1; }

.born { --bw: clamp(210px, min(24vw, 44vh), 340px); position: absolute; left: 50%; top: 50%; width: var(--bw); aspect-ratio: 5 / 7; margin: calc(var(--bw) * -.7) 0 0 calc(var(--bw) * -.5); perspective: 1200px; visibility: hidden; z-index: 4; pointer-events: none; }
.born__flip { position: absolute; inset: 0; transform-style: preserve-3d; }
.born__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: calc(var(--bw) * .0714); overflow: hidden; }
.born__face--front { box-shadow: 0 30px 50px -22px rgba(24, 22, 40, .45); }
.born__face img { width: 100%; height: 100%; }
.born .card--back { --cw: var(--bw); transform: rotateY(180deg); }
.sheen { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .75) 46%, rgba(255, 190, 225, .35) 50%, rgba(170, 225, 255, .35) 54%, transparent 68%); background-size: 260% 100%; background-position: var(--sheen, 130%) 0; mix-blend-mode: soft-light; }

.banner { position: absolute; z-index: 5; top: 16px; left: 50%; display: flex; align-items: center; gap: 12px; padding: 10px 22px 10px 12px; border-radius: 30px; background: var(--ink); color: var(--paper); box-shadow: 0 18px 30px -16px rgba(20, 20, 22, .6); transform: translateX(-50%); visibility: hidden; white-space: nowrap; }
.banner img { border-radius: 9px; }
.banner b { display: block; font-size: 15px; line-height: 1.3; }
.banner { max-width: 96%; }
.banner span { min-width: 0; }
.banner small { display: block; font-size: 12.500px; color: #C9C9CE; overflow: hidden; text-overflow: ellipsis; }

/* ───────── 03 陈列柜 ───────── */

.databar { display: grid; grid-template-columns: 1.3fr .7fr 1fr; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.databar > div { padding: 22px 0 22px 26px; border-left: 1px solid var(--hair); }
.databar > div:first-child { padding-left: 0; border-left: 0; }
.databar dt { font-size: 14px; color: var(--sub); }
.databar dd { margin-top: 4px; font: 700 clamp(22px, 3vw, 42px)/1.2 var(--mono); letter-spacing: -.03em; white-space: nowrap; }

.shelves { margin-top: clamp(40px, 7vh, 80px); display: grid; gap: 34px; -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.shelf { position: relative; height: 258px; overflow: hidden; }
.shelf__track { position: absolute; left: 0; top: 0; display: flex; will-change: transform; }
.shelf__plank { position: absolute; left: 0; right: 0; top: 150px; height: 13px; background: linear-gradient(#FFFFFF, #EDEEF0 40%, #D3D4D8); box-shadow: 0 16px 18px -8px rgba(20, 20, 30, .25), 0 1px 0 rgba(20, 20, 30, .12); z-index: 0; }
.item { position: relative; z-index: 1; flex: none; width: 228px; padding: 0 10px; text-align: center; }
.item__art { height: 150px; display: flex; align-items: flex-end; justify-content: center; }
.item__art img { max-height: 124px; max-width: 150px; width: auto; height: auto; transform-origin: 50% 100%; transition: transform .6s var(--spring); filter: drop-shadow(0 6px 5px rgba(20, 20, 30, .18)); }
.item:hover .item__art img { transform: translateY(-10px) rotate(-3deg) scale(1.06); }
.item__name { margin-top: 26px; font-size: 15px; font-weight: 600; white-space: nowrap; display: flex; justify-content: center; align-items: center; gap: 6px; }
.item__name i { width: 9px; height: 9px; border-radius: 3px; background: var(--ink); }
.item__name i[data-t="1"] { background: linear-gradient(135deg, #F4F4F6, #8C8C94); }
.item__name i[data-t="2"] { background: conic-gradient(var(--holo)); }
.item__name i[data-t="3"] { background: linear-gradient(135deg, #FBF0D0, #B08A3E); }
.item__val { font: 700 15px/1.5 var(--mono); }
.item__sub { font-size: 13px; color: var(--sub); }
.item__sub.pos { color: var(--red); }

/* ───────── 卡墙 ───────── */

.wall { position: relative; height: 118vh; min-height: 640px; overflow: hidden; display: grid; place-items: center; }
.wall { -webkit-mask: linear-gradient(transparent, #000 20%, #000 80%, transparent); mask: linear-gradient(transparent, #000 20%, #000 80%, transparent); }
.wall .no b::after { display: none; }
.wall__plane { position: absolute; left: 50%; top: 50%; width: max(1500px, 130vw); display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; transform: translate(-50%, -50%) perspective(1600px) rotateX(46deg) rotateZ(-24deg); transform-style: preserve-3d; }
.wall__col { display: grid; gap: 26px; will-change: transform; }
.wall__col img { width: 100%; aspect-ratio: 5 / 7; border-radius: 7.140% / 5.100%; box-shadow: 0 22px 30px -18px rgba(24, 22, 40, .45); background: #F1F1EF; }
.wall__copy { position: relative; z-index: 3; text-align: center; display: grid; gap: 18px; justify-items: center; padding: 0 var(--pad); }
.wall__copy::before { content: ""; position: absolute; inset: -60% -30%; z-index: -1; background: radial-gradient(closest-side, rgba(233, 234, 236, .97) 48%, rgba(233, 234, 236, 0)); }
.wall__copy .body { max-width: 26em; }

/* ───────── 04 卖出 ───────── */

.sale__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 110px); align-items: center; }
.ledgerlist { width: min(100%, 400px); font-size: 15px; }
.ledgerlist > div { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.ledgerlist dt { color: var(--sub); }
.ledgerlist dd { font-family: var(--mono); font-weight: 700; }
.ledgerlist .sum dd { font-size: 26px; letter-spacing: -.03em; }
.aside { font-size: 15px; color: var(--sub); }
.sale__stage { display: grid; place-items: center; perspective: 1400px; padding: 40px 0; }
.sale__card { position: relative; width: min(380px, 74vw); aspect-ratio: 5 / 7; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(2deg); transition: transform .5s var(--ease); border-radius: 7.140% / 5.100%; box-shadow: 0 50px 70px -36px rgba(24, 22, 40, .5); }
.sale__card > img:first-child { width: 100%; height: 100%; border-radius: inherit; }
.stamp { position: absolute; opacity: 0; pointer-events: none; max-width: none; }
.stamp--sold { width: 90%; left: -19%; top: 29%; }
.stamp--even { width: 56%; right: -15%; top: 9%; }
.ring { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(217, 58, 38, .5); opacity: 0; pointer-events: none; }
.ring--a { left: -4%; top: 26%; }
.ring--b { right: -18%; top: -2%; }

/* ───────── 05 统计 ───────── */

.stats__grid { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: clamp(16px, 2.2vw, 30px); align-items: start; }
.receipt--static .receipt__paper { padding: 22px 22px 28px; }
.slip__label { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--sub); }
.slip__label .right { margin-left: auto; }
.slip__label .mono { font-size: 13px; letter-spacing: .06em; }
.slip__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.slip__big { font: 700 clamp(28px, 2.7vw, 38px)/1.3 var(--mono); letter-spacing: -.04em; white-space: nowrap; }
.slip__side { display: grid; justify-items: end; font-size: 13px; color: var(--sub); }
.slip__side b { font-family: var(--mono); color: var(--ink); }
.slip__side b.pos { color: var(--red); }
.daybars { height: 74px; display: flex; align-items: flex-end; justify-content: space-between; margin-top: 4px; }
.daybars i { width: 3.200%; min-width: 4px; height: calc(var(--h) * 1%); background: var(--ink); border-radius: 1px; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .8s var(--spring); transition-delay: calc(var(--i) * 34ms + .25s); }
.daybars i.today { background: var(--seal); }
.is-in .daybars i { transform: none; }
.slip__axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.500px; color: var(--sub); }
.slip__axis span:first-child, .slip__axis span:last-child { font-family: var(--mono); }
.slip__axis span:nth-child(2):not(:last-child) { font-family: var(--sans); }
.slip__note { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink2); }
.slip__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; }
.slip__rows dt { color: var(--ink2); }
.slip__rows dd { font-family: var(--mono); font-weight: 700; white-space: nowrap; }
.stats__net .receipt__paper { position: relative; }
.netline { width: 100%; height: 80px; margin-top: 8px; overflow: visible; }
.netline path { fill: none; stroke: var(--ink); stroke-width: 1.800; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease) .4s; }
.is-in .netline path { stroke-dashoffset: 0; }
.netdot { position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--seal); left: 0; top: 0; opacity: 0; transition: opacity .4s 2.1s; box-shadow: 0 0 0 0 rgba(217, 58, 38, .5); }
.is-in .netdot { opacity: 1; animation: pulse 2.4s ease-out 2.4s infinite; }

.panel { background: var(--paper); border-radius: 28px; padding: 26px; box-shadow: 0 1px 1px rgba(0, 0, 0, .05), 0 26px 44px -30px rgba(20, 20, 30, .28); }
.donut { position: relative; width: min(230px, 70%); margin: 18px auto 22px; }
.donut svg { transform: rotate(-90deg); overflow: visible; }
.donut circle { fill: none; stroke-width: 27; transition: stroke-dashoffset 1.4s var(--ease), stroke-width .3s, opacity .3s; transition-delay: calc(var(--i) * .13s + .2s), 0s, 0s; }
.is-in .donut circle { stroke-dashoffset: 0 !important; }
.donut.is-hover circle { opacity: .28; }
.donut.is-hover circle.is-on { opacity: 1; stroke-width: 33; }
.donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut__center small { font-size: 13px; color: var(--sub); }
.donut__center b { font: 700 clamp(14px, 1.35vw, 19px)/1.3 var(--mono); letter-spacing: -.04em; }
.ranks { display: grid; gap: 12px; }
.ranks li { display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; align-items: center; cursor: default; }
.ranks .seal { grid-row: span 2; width: 32px; height: 32px; font-size: 15px; }
.ranks b { font-size: 15px; font-weight: 600; }
.ranks b small { font-weight: 400; color: var(--sub); font-size: 13px; margin-left: 6px; }
.ranks .amt { font: 700 15px/1.2 var(--mono); }
.ranks .bar { grid-column: 2; height: 3px; border-radius: 2px; background: var(--c); width: calc(var(--w) * 1%); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * .1s + .5s); }
.is-in .ranks .bar { transform: none; }
.ranks .pct { font: 400 12.500px/1 var(--mono); color: var(--sub); text-align: right; }

/* ───────── 06 随手记 ───────── */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.cell { position: relative; overflow: hidden; display: grid; align-content: space-between; gap: 26px; min-height: 340px; padding: clamp(22px, 2.4vw, 34px); border-radius: 30px; background: var(--paper); box-shadow: 0 1px 1px rgba(0, 0, 0, .05), 0 26px 44px -30px rgba(20, 20, 30, .28); }
.cell__text { display: grid; gap: 8px; max-width: 30em; }
.cell__text p { color: var(--ink2); font-size: 15.500px; line-height: 1.7; }
.cell--island, .cell--widgets { grid-column: span 4; }
.cell--ask, .cell--dict { grid-column: span 2; }
.cell--import, .cell--yours { grid-column: span 3; min-height: 280px; }
.cell--island { background: linear-gradient(160deg, #FCFCFA 30%, #EFEFF1); }

.island { display: grid; justify-items: center; gap: 14px; }
.island img { width: min(100%, 520px); border-radius: 38px; box-shadow: 0 30px 44px -24px rgba(20, 20, 22, .55); transform: translateY(-40px) scale(.5); transform-origin: 50% 0; opacity: 0; transition: transform .9s var(--spring), opacity .4s; }
.island__pill { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 18px 0 12px; border-radius: 19px; background: var(--ink); color: var(--paper); font-size: 13px; transform: scaleX(.5); opacity: 0; transition: transform .8s var(--spring) .2s, opacity .4s .2s; }
.island__pill i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: var(--paper); animation: spin .9s linear infinite; }
.is-in .island__pill { transform: none; opacity: 1; }
.island.is-done img { transform: none; opacity: 1; }
.island.is-done .island__pill i { animation: none; border-color: var(--mint); background: var(--mint); box-shadow: inset 0 0 0 3px var(--ink); }

.ask { display: grid; gap: 10px; font-size: 14.500px; padding: 16px; border-radius: 4px; background: var(--grain) 0 0 / 3px 3px, #F7F7F4; box-shadow: inset 0 0 0 1px var(--hair); }
.ask__q { color: var(--ink2); padding-bottom: 10px; border-bottom: 1px dashed var(--line); min-height: 2.6em; }
.ask__a { display: flex; gap: 10px; align-items: flex-start; opacity: 0; transform: translateY(8px); transition: opacity .6s, transform .6s var(--ease); }
.ask__a b { font-family: var(--mono); }
.ask__tag { justify-self: start; font-size: 12px; padding: 1px 6px; border: 1px solid var(--line); border-radius: 3px; color: var(--sub); opacity: 0; transition: opacity .6s .3s; }
.ask.is-done .ask__a { opacity: 1; transform: none; }
.ask.is-done .ask__tag { opacity: 1; }

.dict { display: grid; gap: 8px; }
.rule { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 14px; background: #F3F3F1; font-size: 14px; opacity: 0; transform: translateX(-14px); transition: opacity .7s, transform .9s var(--ease); }
.rule:nth-child(2) { transition-delay: .12s; } .rule:nth-child(3) { transition-delay: .24s; }
.is-in .rule { opacity: 1; transform: none; }
.rule b { font-weight: 700; }
.rule i { font-style: normal; color: var(--red); }
.rule span { padding: 1px 8px; border-radius: 9px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hair); font-size: 13px; white-space: nowrap; }

.widgets { position: relative; height: 0; padding-bottom: 36%; }
.widgets .w { position: absolute; width: 56%; border-radius: 26px; box-shadow: 0 28px 40px -26px rgba(20, 20, 30, .5), 0 0 0 1px rgba(20, 20, 22, .04); }
.widgets .w--a { left: 0; top: 0; rotate: -3deg; }
.widgets .w--b { right: 0; bottom: 0; rotate: 2.500deg; }

.import { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.import span { padding: 9px 14px; border-radius: 12px; background: #F3F3F1; font: 400 13px/1.3 var(--mono); }
.import i { flex: 1; min-width: 30px; height: 1px; background: repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 8px); }
.import b { font: 700 22px/1 var(--mono); letter-spacing: -.03em; }
.yours p { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px; border-radius: 4px; background: var(--grain) 0 0 / 3px 3px, #F7F7F4; box-shadow: inset 0 0 0 1px var(--hair); }
.yours span { font-size: 14px; color: var(--sub); }
.yours b { font: 700 26px/1 var(--mono); letter-spacing: -.02em; }
.yours b i { font-style: normal; letter-spacing: .08em; }

/* ───────── 影片 ───────── */

.film__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(36px, 8vw, 130px); align-items: center; justify-content: center; }
.film__poster { position: relative; width: min(330px, 64vw); aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; rotate: -4deg; box-shadow: 0 50px 70px -40px rgba(20, 20, 30, .6), 0 0 0 8px rgba(252, 252, 250, .7); transition: rotate .7s var(--spring), scale .7s var(--spring); }
.film__poster:hover { rotate: -1deg; scale: 1.03; }
.film__poster img { width: 100%; height: 100%; object-fit: cover; }
.film__play { position: absolute; left: 50%; top: 76%; width: 84px; height: 84px; margin: -42px; border-radius: 50%; background: rgba(252, 252, 250, .6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 14px 30px -12px rgba(20, 20, 22, .4); display: grid; place-items: center; }
.film__play i { border: 12px solid transparent; border-left: 19px solid var(--ink); border-right: 0; margin-left: 6px; }

.player { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.player::backdrop { background: rgba(230, 231, 234, .8); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.player video { height: min(88vh, 88svh, 1280px); aspect-ratio: 9 / 16; max-width: 92vw; border-radius: 30px; background: #111; box-shadow: 0 60px 90px -50px rgba(20, 20, 30, .7); }
.player[open] { animation: pop .6s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.94); } }
.player__close { position: absolute; right: -8px; top: -8px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 24px; line-height: 1; }

/* ───────── 联系 ───────── */

.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(36px, 7vw, 120px); align-items: center; }
.contact__slip { perspective: 1200px; }
.receipt--contact { width: min(400px, 100vw - var(--pad) * 2); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(1.500deg); transition: transform .5s var(--ease); }
.contact__row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 10px; margin: 0 -10px; border-radius: 14px; transition: background .3s; }
.contact__row:hover { background: rgba(20, 20, 22, .05); }
.contact__main b { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }
.contact__main small { display: block; font-size: 13.500px; color: var(--sub); word-break: break-all; }
.contact__go { font-size: 14px; font-weight: 600; white-space: nowrap; transition: transform .4s var(--spring); }
.contact__row:hover .contact__go { transform: translate(3px, -2px); }
.contact__copy { margin: 6px 0 0 50px; height: 34px; padding: 0 14px; border-radius: 17px; font-size: 13.500px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.contact__copy:hover { background: var(--ink); color: var(--paper); }

.footer { position: relative; z-index: 1; padding-bottom: 34px; overflow: hidden; }
.footer__word { font: 700 25.500vw/.8 var(--mono); letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(20, 20, 22, .16); white-space: nowrap; margin: 0 -4vw 34px; user-select: none; -webkit-user-select: none; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding-top: 22px; border-top: 1px dashed var(--line); font-size: 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer__links a { color: var(--ink2); background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); padding-bottom: 2px; }
.footer__links a:hover { background-size: 100% 1px; }
.footer__copy { font-family: var(--mono); font-size: 13px; color: var(--sub); }

.toast { position: fixed; z-index: 90; left: 50%; bottom: 34px; padding: 12px 22px; border-radius: 24px; background: var(--ink); color: var(--paper); font-size: 14.500px; transform: translate(-50%, 90px); transition: transform .6s var(--spring); pointer-events: none; }
.toast.is-on { transform: translate(-50%, 0); }

/* ───────── 窄屏 ───────── */

@media (max-width: 900px) {
  :root { --cw: clamp(150px, min(48vw, 29svh), 250px); }
  .nav__links { display: none; }
  .nav { gap: 18px; }

  .hero__copy { top: 13svh; left: var(--pad); right: var(--pad); width: auto; transform: none; gap: 16px; }
  .display { font-size: clamp(44px, 14vw, 84px); }
  .hero__copy .lede { font-size: 16px; line-height: 1.7; }
  .btn { height: 50px; padding: 0 20px; font-size: 15px; }
  .scrollcue { display: none; }

  .hook__q { top: 11svh; padding: 0 20px; font-size: clamp(21px, 6.2vw, 34px); }
  .hook__a { top: 8svh; font-size: clamp(44px, 14vw, 84px); }
  .hook__note { top: 58svh; bottom: auto; font-size: 14.500px; }
  .hook__num { left: 0; right: 0; top: auto; transform: none; justify-items: center !important; text-align: center !important; gap: 0; }
  .hook__num--day { bottom: calc(11svh + 108px); grid-auto-flow: column; justify-content: center; align-items: baseline; gap: 10px; }
  .hook__num--cost { bottom: 11svh; }
  .hook__num .label { font-size: 13px; }
  .hook__num--day .value { font-size: clamp(26px, 8vw, 40px); }
  .hook__num--cost .value { font-size: clamp(40px, 13vw, 64px); }
  .hook__num .formula { font-size: 12.500px; }
  .rail { bottom: 3svh; }
  .rail li b { font-size: 14px; }
  .rail li span { display: none; }

  .print .pin { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 8px; padding: 82px var(--pad) 12px; }
  .cap { gap: 8px; }
  .cap .body { font-size: 14.500px; line-height: 1.6; }
  .cap .chips { display: none; }
  .cap h2 { font-size: clamp(24px, 6.8vw, 38px); }
  .banner { top: 6px; }
  .banner small { display: none; }
  .born { --bw: clamp(170px, min(52vw, 34svh), 250px); }

  .databar { grid-template-columns: 1fr 1fr; }
  .databar > div:first-child { grid-column: span 2; border-bottom: 1px solid var(--hair); }
  .databar > div:nth-child(2) { padding-left: 0; border-left: 0; }
  .item { width: 176px; }
  .shelf { height: 250px; }

  .wall__plane { width: 1100px; gap: 18px; }
  .wall__col { gap: 18px; }
  .sale__grid, .contact__grid, .film__grid { grid-template-columns: 1fr; }
  .sale__stage { padding: 10px 0 30px; }
  .stats__grid { grid-template-columns: 1fr; gap: 28px; }
  .bento { grid-template-columns: 1fr; }
  .cell, .cell--island, .cell--widgets, .cell--ask, .cell--dict, .cell--import, .cell--yours { grid-column: auto; min-height: 0; }
  .widgets { height: 0; padding-bottom: 62%; }
  .widgets .w { width: 74%; }
  .film__grid { justify-items: center; }
  .film__grid .head { justify-items: start; width: 100%; }
  .receipt--contact { margin: 0 auto; }
  .footer__row { justify-content: flex-start; }
}

@media (max-width: 900px) and (max-height: 740px) {
  .cap .body { display: none; }
  .hero__copy { top: 11svh; gap: 12px; }
  .hero__copy .lede { font-size: 15px; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .life__halo, .life__rings svg, .dot, .scrollcue i { animation: none !important; }
  .split .ch, .reveal { transition-duration: .01s !important; transition-delay: 0s !important; }
}
