/* 《倘若明天不再相见》官网 · 开映前的十分钟 */

@font-face { font-family: "ICIDSY Serif"; src: url("../fonts/serif-500.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "ICIDSY Serif"; src: url("../fonts/serif-600.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "ICIDSY WenKai"; src: url("../fonts/wenkai-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ICIDSY Cond"; src: url("../fonts/cond-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ICIDSY Cond"; src: url("../fonts/cond-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "ICIDSY Cond"; src: url("../fonts/cond-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #0b0c10;
  --wall: #121419;
  --wall-2: #181b22;
  --line: #ffffff17;
  --line-2: #ffffff2b;
  --rain: #1d2a3a;
  --screen: #f2eee6;
  --text: #e6e1d8;
  --muted: #9a9ca3;
  --faint: #6a6d75;
  --paper: #f4f0e6;
  --paper-2: #ebe4d4;
  --paper-ink: #2a2924;
  --orange: #e39462;
  --orange-deep: #bd7446;
  --cold: #b9c9e6;
  --serif: "ICIDSY Serif", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --wenkai: "ICIDSY WenKai", "LXGW WenKai", "Kaiti SC", "STKaiti", serif;
  --cond: "ICIDSY Cond", "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color: var(--text); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; background: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
::selection { background: var(--orange-deep); color: #fff; }
[hidden] { display: none !important; }
body[data-view="boot"] #lobby, body[data-view="boot"] #topbar, body[data-view="boot"] #footer { visibility: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--paper); color: var(--paper-ink); padding: 8px 14px; }
.skip-link:focus { top: 12px; }

.grain {
  position: absolute; inset: -50%; pointer-events: none; z-index: 30;
  background: url("../assets/grain.png"); opacity: .5; mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-3%, 2%); } 33% { transform: translate(2%, -4%); }
  50% { transform: translate(-4%, -1%); } 67% { transform: translate(3%, 3%); } 83% { transform: translate(-1%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- 语言切换 ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-family: var(--cond); font-size: 14px; letter-spacing: .12em; }
.lang-switch button { padding: 6px 7px; color: var(--faint); transition: color .2s; }
.lang-switch button[aria-pressed="true"] { color: var(--screen); }
.lang-switch button:hover { color: var(--orange); }
.lang-switch span { color: var(--faint); opacity: .6; }

/* ================= 放映厅 ================= */
#theater { position: fixed; inset: 0; z-index: 100; background: #000; color: var(--screen); overflow: hidden; overflow: clip; transition: opacity .9s ease; }
#screen, .hero, #frame { overflow: hidden; overflow: clip; }
#theater.leaving { opacity: 0; pointer-events: none; }

/* 开映门槛 */
#gate { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; transition: opacity .6s ease; }
#gate.fading { opacity: 0; }
.gate-beam {
  position: absolute; left: 50%; top: -12%; width: 140vmax; height: 120vh; transform: translateX(-50%);
  background: conic-gradient(from 180deg at 50% 0%, transparent 168deg, #fff3dd0d 176deg, #fff6e614 180deg, #fff3dd0d 184deg, transparent 192deg);
  filter: blur(6px); animation: flicker 4.5s infinite steps(1); pointer-events: none;
}
.gate-dust { position: absolute; inset: 0; background: radial-gradient(ellipse 30% 55% at 50% 0%, #fff4e00f, transparent 70%); pointer-events: none; }
@keyframes flicker { 0%, 100% { opacity: 1; } 31% { opacity: .82; } 33% { opacity: 1; } 71% { opacity: .9; } 72% { opacity: 1; } }
.gate-inner { position: relative; display: grid; justify-items: center; gap: 14px; animation: rise 1.4s var(--ease) both .2s; }
.gate-flower { width: 56px; height: auto; margin-bottom: 18px; opacity: .92; filter: drop-shadow(0 0 18px #e3946244); }
.gate-soon { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 3.2vw, 34px); letter-spacing: .32em; text-indent: .32em; }
.gate-volume { font-family: var(--wenkai); font-size: clamp(15px, 1.6vw, 18px); color: var(--muted); letter-spacing: .08em; }
.btn-play {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 14px; padding: 17px 38px 17px 32px;
  border: 1px solid #f2eee680; font-family: var(--serif); font-weight: 500; font-size: 18px; letter-spacing: .4em; text-indent: .2em;
  transition: background .35s, color .35s, border-color .35s, letter-spacing .5s var(--ease);
}
.btn-play svg { width: 18px; height: 18px; fill: currentColor; }
.btn-play:hover, .btn-play:focus-visible { background: var(--screen); color: var(--ink); border-color: var(--screen); letter-spacing: .5em; }
.gate-alt { margin-top: 10px; display: flex; gap: 10px; font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.gate-alt { align-items: center; }
.gate-alt .sep { width: 1px; height: 12px; background: var(--line-2); margin: 0 6px; }
.gate-alt button { padding: 6px 4px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.gate-alt button:hover { color: var(--screen); border-color: var(--line-2); }
.gate-fine { position: absolute; bottom: calc(22px + var(--safe-b)); left: 0; right: 0; font-size: 12px; color: var(--faint); letter-spacing: .14em; }
.gate-lang { position: absolute; top: calc(14px + var(--safe-t)); right: 18px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 银幕 */
#screen { position: absolute; inset: 0; display: grid; place-items: center; cursor: default; }
#screen.idle { cursor: none; }
#frame { position: relative; width: min(100vw, 100vh * 2.39); width: min(100vw, 100dvh * 2.39); aspect-ratio: 2.39 / 1; overflow: hidden; background: #000; contain: strict; }
@media (max-aspect-ratio: 4/5) { #frame { width: 100vw; height: 100dvh; aspect-ratio: auto; } }
.layer { position: absolute; inset: 0; opacity: 0; will-change: opacity; z-index: 1; }
#dance { z-index: 3; } #leak { z-index: 4; } #glow { z-index: 4; } #flash { z-index: 5; } #swarm { z-index: 6; } #crab-pop { z-index: 6; }
#supers, #subs { z-index: 8; } #cards, #title-card { z-index: 9; }
#frame::after { content: ""; position: absolute; inset: 0; z-index: 7; pointer-events: none;
  background: radial-gradient(ellipse 75% 70% at 50% 45%, transparent 55%, #0006 100%), linear-gradient(180deg, transparent 58%, #0000004d 82%, #00000080 100%); }
.layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; transform-origin: 50% 50%; }
#dance { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 60%, #fff6ea, #f0dcc6 60%, #d9b896); }
#dance img { position: absolute; left: 50%; bottom: 3%; height: 92%; width: auto; transform: translateX(-50%) scale(var(--bump, 1)); transform-origin: 50% 100%; }
#dance::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 46px, #ffffff40 46px 52px); mix-blend-mode: soft-light; }
#glow { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(ellipse 40% 50% at 55% 68%, #ffe7c2aa, transparent 70%); mix-blend-mode: screen; }
#flash { position: absolute; inset: 0; background: #fff8ee; opacity: 0; pointer-events: none; mix-blend-mode: screen; }

#crab-pop { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: .25em; color: #d9774a; pointer-events: none; will-change: transform; }
#crab-pop svg { width: 100%; height: auto; filter: drop-shadow(0 0 3px #ffd2a8cc) drop-shadow(0 1px 1px #0007); }
#crab-pop p { position: absolute; top: 100%; margin-top: .3em; font-family: var(--wenkai); color: #2e261f; background: #f6f1e6f0; padding: .08em .45em .12em; box-shadow: 0 1px 6px #0005; font-size: 1em; white-space: nowrap; line-height: 1.2; animation: rise .3s .1s both; }
#crab-pop p:empty { display: none; }
#swarm { position: absolute; inset: 0; pointer-events: none; color: #f0935c; }
#swarm i { position: absolute; left: 0; top: 0; display: block; opacity: 0; will-change: transform, opacity; filter: drop-shadow(0 0 3px #ffb27acc) drop-shadow(0 0 8px #ff9a5a66); }
#swarm svg { display: block; width: 100%; height: auto; }
#leak { position: absolute; inset: 0; opacity: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(ellipse 38% 70% at var(--lx, 30%) 20%, #ffb46a66, transparent 70%), linear-gradient(100deg, transparent 40%, #ffcf9a1f 55%, transparent 70%); }
@keyframes weave { 0% { transform: translate(0, 0); } 50% { transform: translate(.3px, -.4px); } 100% { transform: translate(-.2px, .2px); } }
#frame > .layer { animation: weave .18s steps(3) infinite; }
.t-card, .t-super, .t-sub, .t-line { will-change: opacity, transform; }
.t-slam { font-weight: 600; font-size: clamp(26px, 3.6vw, 60px); letter-spacing: .14em; text-shadow: 0 0 30px #000; }
#title-card[data-mode="title"] .tc-billing, #title-card[data-mode="title"] .tc-free { display: none; }
#title-card[data-mode="endcard"] .tc-title { font-size: clamp(26px, 3.4vw, 58px); }
#title-card[data-mode="endcard"] .tc-en { margin-top: .7em; }
#title-card .tc-title { will-change: transform, filter, opacity; }
@keyframes crabPop { from { transform: scale(.2) translateY(30%); opacity: 0; } to { transform: none; opacity: 1; } }

#cards { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7em; pointer-events: none; padding: 0 8%; text-align: center; }
.t-card { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2.6vw, 44px); letter-spacing: .16em; line-height: 1.5; color: var(--screen); }
.t-card.small { font-size: clamp(15px, 1.55vw, 26px); letter-spacing: .1em; color: #d9d3c8; }
.t-card.big { font-size: clamp(30px, 4.4vw, 72px); letter-spacing: .2em; font-weight: 600; }
.t-line { font-family: var(--wenkai); font-size: clamp(20px, 2.2vw, 36px); letter-spacing: .14em; color: #e9e2d6; }
#supers { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 0 8% 15%; pointer-events: none; text-align: center; }
.t-super {
  font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.5vw, 42px); letter-spacing: .14em; line-height: 1.4; color: #fff;
  text-shadow: 0 2px 2px #0008, 0 0 28px #000c, 0 0 60px #0009;
}
#subs { position: absolute; left: 0; right: 0; bottom: 6%; display: flex; justify-content: center; padding: 0 6%; pointer-events: none; text-align: center; }
.t-sub {
  font-family: var(--wenkai); font-size: clamp(17px, 1.75vw, 30px); letter-spacing: .06em; line-height: 1.4; color: #fffaf0;
  text-shadow: 0 1px 2px #000, 0 0 14px #000d, 0 0 32px #0008;
}
.t-sub::before { content: "— "; opacity: .7; }
html[lang="en"] .t-card, html[lang="en"] .t-super { letter-spacing: .04em; }
html[lang="en"] .t-sub, html[lang="en"] .t-line { letter-spacing: .01em; }

#title-card { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0; padding: 0 6%; }
.tc-title { display: flex; gap: .5em; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5.6vw, 96px); letter-spacing: .14em; line-height: 1.15; color: var(--screen); }
.tc-en { margin-top: .9em; font-family: var(--cond); font-weight: 500; font-size: clamp(13px, 1.3vw, 22px); letter-spacing: .62em; text-indent: .62em; color: var(--orange); }
.tc-billing { margin-top: 2.6em; }
.tc-free { margin-top: 1.4em; font-family: var(--serif); font-size: clamp(13px, 1.1vw, 18px); letter-spacing: .3em; color: #d8d1c5; }
@media (max-aspect-ratio: 4/5) {
  .tc-title { flex-direction: column; gap: .05em; font-size: clamp(42px, 13vw, 72px); }
  #supers { padding-bottom: 24%; }
  #subs { bottom: calc(11% + var(--safe-b)); }
  .t-card { font-size: clamp(20px, 6vw, 30px); letter-spacing: .1em; }
  .t-card.small { font-size: clamp(14px, 4vw, 18px); }
  .t-super { font-size: clamp(20px, 6vw, 30px); }
  .t-sub { font-size: clamp(17px, 4.8vw, 22px); }
}

/* 播放器控件 */
#player-ui { position: absolute; inset: 0; pointer-events: none; z-index: 40; transition: opacity .6s; }
#screen.idle #player-ui .p-btn { opacity: 0; }
.p-btn { position: absolute; pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 500; font-size: 14px; letter-spacing: .2em; color: #f2eee6b0; padding: 10px 12px; transition: color .2s, opacity .6s; text-shadow: 0 0 8px #000; }
.p-btn:hover { color: #fff; }
.p-btn svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.p-btn svg .wave { fill: none; }
.p-skip { top: calc(10px + var(--safe-t)); right: 14px; }
.p-skip svg { stroke: none; }
.p-sound { bottom: calc(14px + var(--safe-b)); left: 14px; }
.p-sound[aria-pressed="true"] .i-off, .p-sound[aria-pressed="false"] .i-on { display: none; }
#p-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--wenkai); font-size: 16px; letter-spacing: .14em; color: #f2eee6cc; background: #000a; padding: 10px 18px; }
#p-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #ffffff10; }
#p-progress i { display: block; height: 100%; width: 0; background: var(--orange-deep); }

/* ================= 顶栏 ================= */
#topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; gap: 22px;
  padding: calc(12px + var(--safe-t)) var(--gutter) 12px; transition: background .4s, transform .5s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
body[data-view="theater"] #topbar { transform: translateY(-110%); }
#topbar.solid { background: #0b0c10e8; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 26px; height: auto; }
.brand-title { font-family: var(--serif); font-weight: 500; font-size: 14px; letter-spacing: .2em; opacity: 0; transition: opacity .4s; }
#topbar.solid .brand-title { opacity: 1; }
.topnav { display: flex; gap: 4px; }
.topnav a, .topnav button { white-space: nowrap; font-size: 14px; letter-spacing: .14em; color: var(--muted); text-decoration: none; padding: 6px 10px; transition: color .2s; }
.topnav a:hover, .topnav button:hover, .topnav a.on { color: var(--screen); }
.top-enter {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 18px; text-decoration: none; white-space: nowrap;
  font-family: var(--serif); font-weight: 500; font-size: 14px; letter-spacing: .24em; color: var(--ink); background: var(--paper);
  transition: background .25s, color .25s;
}
.top-enter:hover { background: var(--orange); color: #1a120c; }
@media (max-width: 980px) { .topnav { display: none; } .brand-title { display: none; } #topbar { gap: 10px; } }

/* ================= 定格页 ================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; padding-top: 90px; }
.hero-pic, .hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-pic img { object-fit: cover; object-position: 80% 50%; transform: scale(1.04); animation: heroDrift 26s ease-in-out infinite alternate; }
@keyframes heroDrift { to { transform: scale(1.1) translateX(-1.5%); } }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, #0b0c10b0 0%, #0b0c1000 22%, #0b0c1000 52%, #0b0c10e8 92%, var(--ink) 100%),
    linear-gradient(90deg, #0b0c10e0 0%, #0b0c10a0 30%, #0b0c1000 62%);
}
.hero .grain { z-index: 2; opacity: .35; }
.hero-content { position: relative; z-index: 3; padding: 0 var(--gutter); max-width: 860px; }
.hero-kicker { font-family: var(--cond); font-weight: 500; font-size: 14px; letter-spacing: .34em; color: var(--orange); margin-bottom: 22px; }
html[lang="en"] .hero-kicker { text-transform: uppercase; }
.hero-kicker, .hero-en, .hero-dedication { text-shadow: 0 1px 3px #000c, 0 0 18px #000a; }
html[lang="zh-CN"] .hero-kicker { font-family: var(--serif); letter-spacing: .3em; font-size: 14px; }
.hero-title { display: flex; flex-direction: column; font-family: var(--serif); font-weight: 600; font-size: clamp(54px, 8.2vw, 132px); line-height: 1.06; letter-spacing: .1em; color: var(--screen); text-shadow: 0 4px 40px #0007; }
.hero-en { margin-top: 22px; font-family: var(--cond); font-weight: 500; font-size: clamp(14px, 1.4vw, 20px); letter-spacing: .58em; color: #f2eee6d0; }
.hero-dedication { margin-top: 26px; max-width: 30em; font-family: var(--wenkai); font-size: clamp(15px, 1.35vw, 18px); line-height: 1.85; color: #dcd6cc; letter-spacing: .04em; }
.hero-progress { margin-top: 26px; font-family: var(--serif); font-size: 15px; letter-spacing: .14em; color: var(--orange); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; }
.hero-links { display: flex; flex-direction: column; gap: 6px; }
.link-btn { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .16em; color: #e6e1d8cc; padding: 4px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.link-btn svg { width: 14px; height: 14px; fill: currentColor; }
.link-btn:hover { color: var(--screen); border-color: var(--line-2); }
.hero-billing { position: relative; z-index: 3; margin-top: clamp(36px, 7vh, 80px); padding: 0 var(--gutter); }
.hero-scroll { position: relative; z-index: 3; align-self: center; margin: 18px 0 calc(12px + var(--safe-b)); display: grid; justify-items: center; gap: 6px; text-decoration: none; font-size: 12px; letter-spacing: .3em; color: var(--muted); }
.hero-scroll i { width: 1px; height: 26px; background: linear-gradient(var(--muted), transparent); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero[data-state="back"] .hero-pic img { object-position: 50% 50%; filter: saturate(.85) brightness(.9); }
@media (max-aspect-ratio: 4/5) {
  .hero { padding-top: 54svh; }
  .hero-pic { bottom: auto; height: 74svh; }
  .hero-pic img { object-position: 50% 18%; }
  .hero-shade { background: linear-gradient(180deg, #0b0c1066 0%, #0b0c1000 14%, #0b0c1000 42%, #0b0c10cc 60%, var(--ink) 74svh, var(--ink) 100%); }
  .hero-title { font-size: clamp(50px, 15vw, 84px); }
  .hero-en { letter-spacing: .38em; font-size: 13px; }
}

/* 演职员块（海报下方那种） */
.billing-block { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 18px; font-family: var(--serif); font-size: 13px; color: #d8d2c7; letter-spacing: .06em; text-align: center; }
.billing-block .b-item { white-space: nowrap; }
.billing-block small { font-family: var(--cond); font-size: 11px; letter-spacing: .22em; color: var(--muted); margin-right: 6px; text-transform: uppercase; }
html[lang="zh-CN"] .billing-block small { font-family: var(--serif); letter-spacing: .14em; font-size: 11px; }
.billing-block .b-music { flex-basis: 100%; font-size: 11px; color: var(--faint); }
.billing-block .b-fan { flex-basis: 100%; font-size: 11px; color: var(--faint); letter-spacing: .18em; }

/* ================= 票根 ================= */
.ticket {
  --notch: 11px;
  position: relative; display: grid; grid-template-columns: 1fr auto; width: min(440px, 100%); text-align: left; color: var(--paper-ink);
  background:
    radial-gradient(circle at calc(100% - 104px) 0, transparent var(--notch), transparent var(--notch)) ,
    var(--paper);
  -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - 104px) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - 104px) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle var(--notch) at calc(100% - 104px) 0, #0000 98%, #000) top / 100% 51% no-repeat,
        radial-gradient(circle var(--notch) at calc(100% - 104px) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  transform: rotate(-1.2deg); transition: transform .45s var(--ease), filter .45s;
  filter: drop-shadow(0 14px 30px #0008);
}
.ticket:hover, .ticket:focus-visible { transform: rotate(0) translateY(-3px); }
.ticket:focus-visible { outline-offset: 8px; }
.ticket::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("../assets/grain.png"); opacity: .55; mix-blend-mode: multiply; }
.t-main { padding: 18px 20px 16px 22px; border-right: 2px dashed #2a29243a; display: grid; gap: 4px; min-width: 0; }
.t-film { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: .12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-en { font-family: var(--cond); font-weight: 500; font-size: 11px; letter-spacing: .32em; color: #8a5a3a; }
.t-grid { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.t-grid span { display: flex; gap: 8px; align-items: baseline; font-size: 13px; }
.t-grid i { font-style: normal; font-size: 11px; color: #7b776c; letter-spacing: .12em; white-space: nowrap; }
.t-grid b { font-family: var(--serif); font-weight: 600; white-space: nowrap; }
.t-stub { width: 104px; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 12px 8px; }
.t-stub-word { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: .3em; text-indent: .3em; color: var(--orange-deep); writing-mode: vertical-rl; line-height: 1; }
html[lang="en"] .t-stub-word { writing-mode: horizontal-tb; font-family: var(--cond); font-size: 17px; letter-spacing: .14em; text-indent: 0; text-align: center; line-height: 1.1; }
.t-no { font-family: var(--cond); font-size: 11px; letter-spacing: .1em; color: #7b776c; }
.ticket.long .t-stub-word { font-size: 17px; letter-spacing: .14em; }
.ticket.tearing { animation: none; transform: rotate(0); }
.ticket.tearing .t-stub { animation: tearStub .7s cubic-bezier(.4, 0, .6, 1) forwards; }
.ticket.tearing .t-main { animation: tearMain .7s ease forwards; }
@keyframes tearStub { 30% { transform: translate(6px, -2px) rotate(4deg); } 100% { transform: translate(60px, 90px) rotate(24deg); opacity: 0; } }
@keyframes tearMain { 40% { opacity: 1; } 100% { opacity: .35; transform: translateY(-4px); } }
.ticket-hint { font-family: var(--wenkai); font-size: 16px; color: var(--muted); letter-spacing: .1em; margin-bottom: 20px; text-align: center; }
@media (max-width: 420px) { .t-stub { width: 84px; } .t-film { font-size: 17px; } .t-grid { grid-template-columns: 1fr; } }

#curtain { position: fixed; inset: 0; z-index: 300; background: #222923; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
#curtain.on { opacity: 1; pointer-events: all; }

/* ================= 卷 ================= */
.reel { position: relative; padding: clamp(90px, 13vw, 170px) var(--gutter) clamp(60px, 9vw, 120px); max-width: 1440px; margin: 0 auto; }
.slate { display: grid; gap: 10px; margin-bottom: clamp(44px, 6vw, 80px); padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.slate-center { text-align: center; justify-items: center; border: 0; }
.slate-reel { font-family: var(--cond); font-weight: 500; font-size: 13px; letter-spacing: .4em; color: var(--orange); text-transform: uppercase; }
.slate h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4.2vw, 58px); letter-spacing: .14em; color: var(--screen); line-height: 1.2; }
.slate h2 em { font-style: normal; font-family: var(--cond); font-weight: 400; font-size: .38em; letter-spacing: .5em; color: var(--faint); }
html[lang="en"] .slate h2 { letter-spacing: .04em; }
html[lang="en"] .slate h2 em { font-family: var(--serif); letter-spacing: .3em; }

/* 进入视口的淡入 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ================= 出场人物 ================= */
.role { font-family: var(--cond); font-weight: 500; font-size: 13px; letter-spacing: .36em; color: var(--orange); text-transform: uppercase; }
html[lang="zh-CN"] .role { font-family: var(--serif); letter-spacing: .3em; }
.role-sub { color: var(--faint); margin-left: 12px; letter-spacing: .2em; }

.c-claude { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.c-stage { position: relative; height: min(84vh, 860px); display: grid; justify-items: center; align-items: end; isolation: isolate; }
.c-stage::before { content: ""; position: absolute; inset: 6% 0 0; z-index: -1; background: radial-gradient(ellipse 52% 46% at 50% 44%, #f0b07a38, #e3946212 50%, transparent 72%); }
.c-stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 26px; z-index: -1; background: radial-gradient(ellipse at 50% 50%, #000c, transparent 70%); }
.c-sprite { position: relative; height: 100%; width: 100%; cursor: pointer; }
.c-sprite img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); transition: opacity .45s ease, transform .6s var(--ease); filter: drop-shadow(0 20px 40px #0009); }
.c-sprite img.off { opacity: 0; transform: translateX(-50%) translateY(6px); }
.c-sprite:hover img:not(.off) { transform: translateX(-50%) translateY(-4px); }
.c-moods { position: absolute; left: 0; right: 0; bottom: -54px; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 6px; }
.c-moods button { font-size: 13px; letter-spacing: .14em; padding: 6px 10px; color: var(--faint); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.c-moods button[aria-pressed="true"] { color: var(--screen); border-color: var(--orange); }
.c-moods button:hover { color: var(--text); }
.c-name { margin-top: 14px; font-family: var(--serif); font-weight: 600; font-size: clamp(64px, 8.5vw, 132px); line-height: 1; letter-spacing: .02em; color: var(--screen); }
.c-tagline { margin-top: 22px; font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.7; color: var(--text); max-width: 26em; letter-spacing: .04em; }
.c-traits { list-style: none; padding: 0; margin-top: 30px; display: grid; gap: 0; counter-reset: t; max-width: 36em; }
.c-traits li { counter-increment: t; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); color: #c9c4ba; font-size: 15px; line-height: 1.85; }
.c-traits li::before { content: counter(t, decimal-leading-zero); font-family: var(--cond); font-weight: 500; font-size: 14px; color: var(--orange); letter-spacing: .1em; padding-top: 2px; }
.c-quote { margin-top: 34px; padding-left: 22px; border-left: 2px solid var(--orange-deep); min-height: 5.4em; }
.c-quote p { font-family: var(--wenkai); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.5; color: var(--screen); letter-spacing: .04em; transition: opacity .35s; }
.c-quote p::before { content: "「"; color: var(--orange); margin-left: -.5em; }
.c-quote p::after { content: "」"; color: var(--orange); }
html[lang="en"] .c-quote p::before { content: "“"; margin-left: -.4em; }
html[lang="en"] .c-quote p::after { content: "”"; }
.c-quote small { display: block; margin-top: 10px; font-family: var(--cond); font-size: 13px; letter-spacing: .16em; color: var(--faint); }
.c-quote.swap p, .c-quote.swap small { opacity: 0; }

.c-row { margin-top: clamp(110px, 12vw, 180px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.c-row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.c-row.flip .c-visual { order: 2; }
.c-row h3 { margin-top: 12px; font-family: var(--serif); font-weight: 600; font-size: clamp(48px, 6vw, 92px); line-height: 1; color: var(--screen); letter-spacing: .04em; }
.c-row .c-credit { margin-top: 12px; font-family: var(--serif); font-size: 17px; letter-spacing: .16em; color: var(--muted); }
.c-row .c-body { margin-top: 22px; max-width: 30em; color: #c9c4ba; font-size: 16px; line-height: 1.95; }
.c-row .c-frame-note { margin-top: 18px; font-family: var(--wenkai); font-size: 18px; color: var(--text); }

.c-you-frame { position: relative; aspect-ratio: 3 / 4; border: 1px solid var(--line-2); overflow: hidden; background: linear-gradient(180deg, #121822, #0d1016); }
.c-you-frame::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--line); pointer-events: none; }
.c-you-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-you-frame .rain line { stroke: #cfe0ff33; stroke-width: 1; animation: fall 1.1s linear infinite; }
@keyframes fall { from { transform: translateY(-40px); } to { transform: translateY(60px); } }
.c-you-frame .umbrella { stroke: var(--screen); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.c-you-frame .umbrella .canopy { fill: #f2eee60d; }
.c-you-frame .tag { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; font-family: var(--cond); font-size: 12px; letter-spacing: .4em; color: var(--faint); }

.c-dario-frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; isolation: isolate; background: #07090c; }
.c-dario-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 42% 58% at 50% 46%, #c8d6ee 0%, #7f93b4 22%, #27344a 50%, #07090c 76%); }
.c-dario-frame::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 3px, #0002 3px 4px); }
.c-dario-frame img { position: absolute; left: 50%; bottom: -2%; height: 96%; width: auto; max-width: none; transform: translateX(-50%); filter: brightness(0) drop-shadow(0 0 1.5px #cfe0ffcc) drop-shadow(0 0 14px #9fb6dd66); }

.c-friends { margin-top: clamp(110px, 12vw, 180px); }
.c-friends-head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.c-friend-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 40px); margin-top: 34px; }
.c-friend { display: grid; grid-template-rows: auto auto 1fr; gap: 6px; }
.c-friend-pic { position: relative; height: clamp(300px, 34vw, 460px); overflow: hidden; isolation: isolate; }
.c-friend-pic::before { content: ""; position: absolute; inset: 20% 4% 0; z-index: -1; background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--tint, #ffffff14), transparent 70%); }
.c-friend-pic img { position: absolute; left: 50%; top: 2%; height: 112%; width: auto; max-width: none; transform: translateX(-50%); transition: transform .8s var(--ease); filter: drop-shadow(0 16px 26px #0008); }
.c-friend:hover .c-friend-pic img { transform: translateX(-50%) translateY(-10px); }
.c-friend-pic.trio img { height: 92%; top: 8%; }
.c-friend-pic.trio img:nth-child(1) { left: 24%; }
.c-friend-pic.trio img:nth-child(2) { left: 50%; z-index: 2; }
.c-friend-pic.trio img:nth-child(3) { left: 76%; }
.c-friend h4 { margin: 14px 0 0; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: .04em; color: var(--screen); }
.c-friend p { font-size: 15px; color: #b9b4aa; line-height: 1.8; }
.c-crab { margin-top: clamp(70px, 8vw, 110px); display: flex; align-items: center; gap: clamp(20px, 4vw, 44px); padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.c-crab-pix { width: 64px; flex: none; color: var(--orange-deep); display: grid; place-items: center; }
.c-crab-pix svg { width: 30px; height: auto; animation: sidestep 1.2s steps(2) infinite; filter: drop-shadow(0 0 6px #e3946255); }
@keyframes sidestep { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.c-crab h4 { margin: 4px 0 6px; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--screen); }
.c-crab p { font-family: var(--wenkai); font-size: 18px; color: var(--text); }

@media (max-width: 900px) {
  .c-claude, .c-row, .c-row.flip { grid-template-columns: 1fr; }
  .c-row.flip .c-visual { order: 0; }
  .c-stage { height: 66vh; margin-bottom: 60px; }
  .c-visual { max-width: 360px; width: 100%; justify-self: center; }
  .c-friend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .c-friend-pic { height: 300px; }
}

/* ================= 海报 ================= */
.poster-tabs { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-bottom: 36px; }
.poster-tabs button { font-size: 14px; letter-spacing: .14em; padding: 8px 12px; color: var(--muted); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.poster-tabs button[aria-selected="true"] { color: var(--screen); border-color: var(--orange); }
.poster-tabs button:hover { color: var(--text); }
.poster-tabs sup { font-family: var(--cond); font-size: 11px; margin-left: 4px; color: var(--faint); }
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 42vw), 1fr)); gap: clamp(22px, 3vw, 40px) clamp(14px, 2vw, 28px); }
.poster { display: grid; gap: 12px; text-align: left; }
.poster-img { position: relative; aspect-ratio: 27 / 40; overflow: hidden; background: var(--wall-2); box-shadow: 0 18px 40px #0007; }
.poster-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.poster:hover .poster-img img, .poster:focus-visible .poster-img img { transform: scale(1.035); }
.poster-img .homage { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; font-size: 12px; letter-spacing: .08em; color: #fff; background: linear-gradient(transparent, #000c); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.poster:hover .homage, .poster:focus-visible .homage { opacity: 1; transform: none; }
.poster-cap { display: grid; gap: 2px; }
.poster-cap b { font-family: var(--serif); font-weight: 600; font-size: 15px; color: var(--screen); letter-spacing: .06em; }
.poster-cap span { font-family: var(--wenkai); font-size: 14px; color: var(--muted); line-height: 1.6; }
.poster.veiled .poster-img img { filter: blur(18px) brightness(.55) saturate(.6); transform: scale(1.15); }
.poster .veil { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; text-align: center; padding: 14px; color: var(--screen); }
.poster .veil b { font-family: var(--serif); font-weight: 500; font-size: 15px; letter-spacing: .14em; }
.poster .veil span { font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line-2); justify-self: center; padding-bottom: 2px; }
.poster:not(.veiled) .veil { display: none; }
.stills-title { margin: clamp(64px, 8vw, 110px) 0 26px; font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: .16em; color: var(--screen); }
.still-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.still { position: relative; aspect-ratio: 2.39 / 1; overflow: hidden; background: var(--wall-2); }
.still img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.still:hover img { transform: scale(1.03); }
.still.veiled img { filter: blur(18px) brightness(.5); transform: scale(1.12); }
.still .veil { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; text-align: center; }
.still .veil b { font-family: var(--serif); font-weight: 500; font-size: 14px; letter-spacing: .12em; }
.still .veil span { font-size: 12px; color: var(--muted); }
.still:not(.veiled) .veil { display: none; }
@media (max-width: 640px) { .still-grid { grid-template-columns: 1fr; } }

/* 灯箱 */
#lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #07080bf5; color: var(--text); overflow: hidden; }
#lightbox::backdrop { background: #000c; }
#lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.lb-figure { display: grid; grid-template-columns: auto minmax(220px, 300px); gap: 40px; align-items: end; justify-content: center; height: 100%; padding: 56px 0 40px; min-width: 0; }
.lb-figure img { max-height: calc(100dvh - 96px); max-width: min(64vw, 900px); width: auto; height: auto; box-shadow: 0 30px 80px #000; }
.lb-figure img.wide { max-width: min(70vw, 1300px); }
.lb-figure figcaption { display: grid; gap: 10px; padding-bottom: 8px; }
.lb-count { font-family: var(--cond); font-size: 13px; letter-spacing: .3em; color: var(--faint); }
.lb-name { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: .08em; color: var(--screen); line-height: 1.3; }
.lb-copy { font-family: var(--wenkai); font-size: 18px; color: var(--text); line-height: 1.7; }
.lb-homage { font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.lb-downloads { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.lb-downloads a { font-size: 13px; letter-spacing: .12em; color: var(--orange); text-decoration: none; border-bottom: 1px solid #e3946255; padding-bottom: 2px; }
.lb-downloads a:hover { border-color: var(--orange); }
.lb-close { position: absolute; top: calc(10px + var(--safe-t)); right: 14px; z-index: 3; font-size: 34px; line-height: 1; width: 48px; height: 48px; color: var(--muted); }
.lb-close:hover, .lb-nav:hover { color: var(--screen); }
.lb-nav { height: 100%; display: grid; place-items: center; color: var(--faint); }
.lb-nav svg { width: 30px; height: 30px; stroke: currentColor; stroke-width: 1.4; }
@media (max-width: 860px) {
  #lightbox[open] { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; top: 0; bottom: 0; width: 22%; z-index: 2; opacity: 0; }
  .lb-prev { left: 0; } .lb-next { right: 0; }
  .lb-figure { grid-template-columns: 1fr; gap: 16px; padding: 60px 18px calc(24px + var(--safe-b)); align-content: center; justify-items: center; }
  .lb-figure img, .lb-figure img.wide { max-width: 100%; max-height: 62dvh; }
  .lb-figure figcaption { text-align: center; justify-items: center; }
  .lb-name { font-size: 20px; } .lb-copy { font-size: 16px; }
}

/* ================= 放映信息 ================= */
.i-board { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 100px); }
.i-runtime { display: grid; gap: 4px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.i-runtime small { font-family: var(--cond); font-size: 13px; letter-spacing: .3em; color: var(--faint); text-transform: uppercase; }
html[lang="zh-CN"] .i-runtime small { font-family: var(--serif); letter-spacing: .24em; }
.i-runtime b { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.6vw, 50px); color: var(--screen); letter-spacing: .04em; line-height: 1.2; }
.i-runtime span { font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.i-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 8px; }
.i-stat { padding: 22px 0 18px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.i-stat:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
.i-stat:nth-child(even) { padding-left: 24px; }
.i-stat b { font-family: var(--cond); font-weight: 600; font-size: clamp(54px, 6vw, 92px); line-height: .95; color: var(--orange); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.i-stat span { font-size: 14px; color: var(--muted); letter-spacing: .14em; }
.i-rows { display: grid; align-content: start; }
.i-row { display: grid; grid-template-columns: 7em 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
html[lang="en"] .i-row { grid-template-columns: 8.5em 1fr; }
.i-row:first-child { border-top: 1px solid var(--line); }
.i-row dt { font-family: var(--serif); font-size: 14px; letter-spacing: .2em; color: var(--faint); }
.i-row dd { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(16px, 1.4vw, 19px); color: var(--text); line-height: 1.7; }
.info-ticket { margin-top: clamp(70px, 9vw, 120px); display: grid; justify-items: center; }
@media (max-width: 900px) { .i-board { grid-template-columns: 1fr; } }

/* ================= 片尾字幕 ================= */
#credits { max-width: 980px; }
.cr-roles { display: grid; gap: 30px; text-align: center; }
.cr-role small { display: block; font-family: var(--cond); font-weight: 500; font-size: 12px; letter-spacing: .4em; color: var(--faint); text-transform: uppercase; }
html[lang="zh-CN"] .cr-role small { font-family: var(--serif); letter-spacing: .3em; }
.cr-role span, .cr-role a { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); color: var(--screen); letter-spacing: .06em; text-decoration: none; }
.cr-role a:hover { color: var(--orange); }
.cr-block { margin-top: clamp(90px, 11vw, 150px); }
.cr-block > h3 { text-align: center; font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .2em; color: var(--screen); margin-bottom: 26px; }
.cr-thanks-body { max-width: 34em; margin: 0 auto; text-align: center; font-family: var(--wenkai); font-size: clamp(17px, 1.6vw, 21px); line-height: 2; color: var(--text); }
.cr-labels { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 46px; }
.cr-label { border: 1px solid var(--line); padding: 26px 26px 22px; background: linear-gradient(180deg, #ffffff06, transparent); }
.cr-label h4 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--screen); letter-spacing: .06em; }
.cr-label .who { margin-top: 2px; font-size: 14px; color: var(--muted); letter-spacing: .08em; }
.cr-label ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.cr-label li a { font-family: var(--serif); font-size: 16px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.cr-label li a:hover { color: var(--orange); border-color: var(--orange); }
.cr-label .site { display: inline-block; margin-top: 18px; font-size: 13px; letter-spacing: .1em; color: var(--orange); text-decoration: none; }
.cr-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cr-table th { text-align: left; font-family: var(--serif); font-weight: 500; color: var(--faint); letter-spacing: .14em; font-size: 12px; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-2); }
.cr-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); color: #c9c4ba; vertical-align: top; line-height: 1.6; }
.cr-table td:first-child { color: var(--faint); white-space: nowrap; }
.cr-table a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.cr-table a:hover { color: var(--orange); border-color: var(--orange); }
.cr-homage { text-align: center; }
.cr-homage ul { list-style: none; padding: 0; margin: 0 auto 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; max-width: 46em; font-family: var(--serif); font-size: 17px; color: var(--text); }
.cr-note { text-align: center; max-width: 40em; margin: 0 auto; font-size: 14px; color: var(--muted); line-height: 1.9; }
.cr-end { margin-top: clamp(100px, 12vw, 160px); text-align: center; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4vw, 56px); letter-spacing: .5em; text-indent: .5em; color: var(--screen); }
@media (max-width: 720px) {
  .cr-labels { grid-template-columns: 1fr; }
  .cr-table thead { display: none; }
  .cr-table tr { display: grid; grid-template-columns: 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .cr-table td { border: 0; padding: 1px 0; }
}

/* 小螃蟹散步 */
.crab-walk { position: relative; height: 60px; margin-top: 60px; overflow: hidden; }
.walker { position: absolute; bottom: 6px; left: -60px; display: flex; align-items: flex-end; gap: 6px; color: var(--orange-deep); pointer-events: auto; }
.walker svg { width: 34px; height: auto; animation: sidestep .5s steps(2) infinite; }
.walker-say { font-family: var(--wenkai); font-size: 14px; color: var(--text); opacity: 0; transition: opacity .3s; white-space: nowrap; transform: translateY(-14px); }
.walker.talk .walker-say { opacity: 1; }
.crab-walk.go .walker { animation: walk 22s linear forwards; }
.crab-walk.go .walker:hover, .crab-walk.go .walker.talk { animation-play-state: paused; }
@keyframes walk { to { left: calc(100% + 60px); } }

/* ================= 彩蛋 ================= */
#egg { position: relative; padding: 0 var(--gutter) clamp(90px, 12vw, 160px); text-align: center; }
.egg-wait { height: 70vh; }
.egg-frame { width: min(860px, 100%); margin: 0 auto; aspect-ratio: 2.39 / 1; overflow: hidden; opacity: 0; transition: opacity 2.4s ease; }
.egg-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.06); transition: transform 8s ease-out; }
#egg.in .egg-frame { opacity: 1; }
#egg.in .egg-frame img { transform: scale(1); }
.egg-line { margin-top: 34px; font-family: var(--wenkai); font-size: clamp(24px, 2.6vw, 34px); color: var(--screen); letter-spacing: .14em; opacity: 0; transition: opacity 1.6s ease 1.6s; }
.egg-source { margin-top: 6px; font-size: 13px; color: var(--faint); letter-spacing: .2em; opacity: 0; transition: opacity 1.6s ease 2.4s; }
.egg-enter { display: inline-flex; gap: 10px; margin-top: 44px; font-size: 14px; letter-spacing: .2em; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; opacity: 0; transition: opacity 1.6s ease 3.4s, color .2s; }
.egg-enter:hover { color: var(--orange); }
#egg.in .egg-line, #egg.in .egg-source, #egg.in .egg-enter { opacity: 1; }

#footer { padding: 26px var(--gutter) calc(30px + var(--safe-b)); border-top: 1px solid var(--line); text-align: center; font-size: 12px; color: var(--faint); letter-spacing: .12em; }
#footer a { color: inherit; text-decoration: none; }
#footer a:hover { color: var(--orange); }

/* 文字版 */
#transcript { width: min(680px, calc(100vw - 32px)); max-height: 82dvh; padding: 0; border: 1px solid var(--line-2); background: var(--wall); color: var(--text); overflow: auto; }
#transcript::backdrop { background: #000b; }
#transcript header { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: var(--wall); border-bottom: 1px solid var(--line); }
#transcript h2 { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: .14em; }
.tx-close { font-size: 28px; line-height: 1; color: var(--muted); width: 40px; height: 40px; }
.tx-intro { padding: 16px 22px 0; font-size: 14px; color: var(--muted); }
.tx-list { padding: 14px 22px 26px 52px; display: grid; gap: 8px; }
.tx-list li { font-family: var(--wenkai); font-size: 17px; line-height: 1.6; }
.tx-list li.kind-card, .tx-list li.kind-super { font-family: var(--serif); color: var(--screen); }
.tx-list li.kind-sub::before { content: "— "; color: var(--faint); }
.tx-list li small { color: var(--faint); font-family: var(--cond); letter-spacing: .1em; margin-left: 8px; }

.noscript { padding: 40px; text-align: center; font-family: var(--serif); }

/* ================= 统计：人数、票房牌、小螃蟹灯火 ================= */
.hero-ordinal { margin-top: 22px; font-family: var(--serif); font-weight: 600; font-size: clamp(17px, 1.6vw, 22px); letter-spacing: .1em; color: var(--orange); text-shadow: 0 1px 3px #000c, 0 0 18px #000a; }
.hero-stats { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-family: var(--serif); font-size: 14px; letter-spacing: .14em; color: #e6e1d8d9; text-decoration: none; text-shadow: 0 1px 3px #000c; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.hero-stats:hover { color: var(--screen); border-color: var(--line-2); }
.hero-stats i, .bo-live { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 #e3946299; animation: live 2.4s ease-out infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 #e3946299; } 70% { box-shadow: 0 0 0 8px #e3946200; } 100% { box-shadow: 0 0 0 0 #e3946200; } }
.hero-stats + .hero-actions { margin-top: 26px; }

#boxoffice { margin-top: clamp(64px, 8vw, 110px); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); background: radial-gradient(ellipse 80% 60% at 50% 0%, #e394620d, transparent 70%), linear-gradient(180deg, #ffffff05, transparent); }
.bo-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bo-head h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2vw, 26px); letter-spacing: .2em; color: var(--screen); }
.bo-head small { font-family: var(--cond); font-weight: 500; font-size: 12px; letter-spacing: .44em; color: var(--faint); }
html[lang="en"] .bo-head small { font-family: var(--serif); letter-spacing: .24em; }
.bo-early { margin-top: 18px; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); letter-spacing: .3em; color: var(--orange); }
.bo-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 26px 0 0; }
.bo-num { padding: 16px 20px 14px 0; border-top: 1px solid var(--line); }
.bo-num + .bo-num { padding-left: 22px; border-left: 1px solid var(--line); }
.bo-num dt { font-size: 13px; letter-spacing: .2em; color: var(--muted); }
.bo-num dd { margin: 6px 0 0; display: flex; align-items: baseline; gap: 8px; }
.bo-num b { font-family: var(--cond); font-weight: 600; font-size: clamp(44px, 5.4vw, 80px); line-height: 1; color: var(--screen); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.bo-entered b { color: var(--orange); }
.bo-num dd span { font-size: 14px; color: var(--muted); letter-spacing: .1em; }
@media (max-width: 640px) {
  .bo-num + .bo-num { padding-left: 0; border-left: 0; }
}

.cl-wrap { margin-top: 34px; }
.cl-title { font-family: var(--serif); font-weight: 500; font-size: 15px; letter-spacing: .24em; color: var(--text); margin-bottom: 14px; }
.cl-sky {
  display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 12px 14px; min-height: 120px; padding: clamp(22px, 3vw, 36px);
  background: radial-gradient(ellipse 70% 90% at 50% 100%, #2a1d1666, transparent 70%), linear-gradient(180deg, #07090f, #0d1119);
  border: 1px solid #ffffff0d; overflow: hidden;
}
.cl { display: block; width: 15px; height: 12.3px; background: url("../assets/crab.svg") center / contain no-repeat; image-rendering: pixelated; transform: translate(var(--jx), var(--jy)); }
.cl.on { opacity: .12; filter: grayscale(1); }
#boxoffice.lit .cl.on { animation: lightUp .5s var(--d) ease-out forwards, twinkle 3.6s calc(var(--d) + .6s) ease-in-out infinite; }
@keyframes lightUp { 0% { opacity: .12; filter: grayscale(1); } 60% { opacity: 1; filter: grayscale(0) drop-shadow(0 0 8px #ffb27a) brightness(1.4); } 100% { opacity: 1; filter: grayscale(0) drop-shadow(0 0 4px #ff9a5a99); } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .78; } }
.cl.next { opacity: .2; filter: grayscale(1); }
#boxoffice.lit .cl.next { animation: waiting 1.6s var(--d) ease-in-out infinite; }
@keyframes waiting { 0%, 100% { opacity: .14; } 50% { opacity: .5; filter: grayscale(.4) drop-shadow(0 0 4px #ff9a5a55); } }
.cl-caption { margin-top: 16px; font-family: var(--wenkai); font-size: 16px; line-height: 1.9; color: var(--text); }
.cl-caption em { font-style: normal; color: var(--orange); }
.cl-you { display: inline-block; margin-left: 10px; padding: 0 8px; font-size: 14px; color: var(--paper-ink); background: var(--paper); }

.cr-privacy { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }
.cr-privacy .link-btn { font-size: 13px; color: var(--orange); border-bottom: 1px solid #e3946255; }

/* 英文：CJK 字体里的弯引号默认是全角，打开比例宽度 */
html[lang="en"] body { font-feature-settings: "pwid" 1, "palt" 1; }
html[lang="en"] .t-film { font-size: 15px; letter-spacing: .06em; white-space: normal; line-height: 1.3; }

/* ================= 减弱动态 ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .gate-beam, .hero-pic img, .hero-scroll i, .c-crab-pix svg, .c-you-frame .rain line { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .crab-walk { display: none; }
  #frame > .layer { animation: none; }
  .hero-stats i, .bo-live { animation: none; }
  #boxoffice .cl.on, #boxoffice.lit .cl.on { animation: none; opacity: 1; filter: drop-shadow(0 0 4px #ff9a5a99); }
  #boxoffice.lit .cl.next { animation: none; opacity: .3; }
  .egg-frame img { transform: none; transition: none; }
  .ticket.tearing .t-stub, .ticket.tearing .t-main { animation: none; }
}
