/* =========================================================
   大肥鱼：我现在是有钱鱼了！
   ========================================================= */
:root {
  --bg: #061119;
  --bg2: #0a1b24;
  --panel: #0d222c;
  --ink: #fff6df;
  --muted: #8ea7b0;
  --line: rgba(184, 225, 236, .16);
  --blue: #5db7df;
  --blue-deep: #2f7da8;
  --yellow: #f2c64e;
  --yellow-pale: #ffe9a8;
  --pink: #f294a4;
  --green: #77b98d;
  --display: 'PingFang SC', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif;
  --serif: 'Songti SC', 'Noto Serif CJK SC', serif;
  --mono: 'Courier New', monospace;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--display);
  min-height: 100vh; overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(93,183,223,.14), transparent 45%),
    radial-gradient(ellipse at 90% 20%, rgba(242,198,78,.08), transparent 38%),
    linear-gradient(180deg, #061119, #07141c 60%, #050d13);
}
button, a { font-family: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
a { text-decoration: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--yellow); color: #1a262c; }

.page { max-width: 1320px; margin: 0 auto; padding: 0 28px 50px; position: relative; }
.page::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .04; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- Header ---------------- */
.site-header {
  display: flex; align-items: center; gap: 26px; padding: 20px 0 18px;
  border-bottom: 1px solid var(--line); position: relative; z-index: 10;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #0c2530; border: 1px solid var(--line); }
.brand-icon svg { width: 32px; height: 32px; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy b { font-size: 16px; letter-spacing: .14em; }
.brand-copy small { font-family: var(--mono); font-size: 7px; letter-spacing: .2em; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font-size: 11px; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: .2s; }
.nav a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.episode-chip { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--yellow); border: 1px solid rgba(242,198,78,.45); border-radius: 999px; padding: 6px 10px; }

/* ---------------- Hero ---------------- */
.hero { padding: 48px 0 24px; position: relative; z-index: 1; }
.hero-kicker { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: .18em; color: var(--blue); }
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); animation: dotPulse 2s infinite; }
@keyframes dotPulse { 50% { opacity: .35; } }
.page-title { font-size: clamp(40px, 6vw, 82px); font-weight: 900; line-height: 1.04; letter-spacing: -.04em; margin: 17px 0 12px; max-width: 1100px; }
.page-title span { color: var(--muted); font-weight: 400; }
.page-title em { font-style: normal; color: var(--yellow); text-shadow: 0 4px 0 rgba(0,0,0,.2), 0 0 40px rgba(242,198,78,.1); position: relative; }
.page-title em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 5px; height: 8px; background: rgba(93,183,223,.3); z-index: -1; transform: rotate(-1deg); }
.page-sub { font-size: 13px; line-height: 1.9; color: var(--muted); letter-spacing: .03em; }
.player-shell {
  margin-top: 28px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: #041017; box-shadow: 0 40px 120px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.player-topline { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: var(--muted); background: #081820; border-bottom: 1px solid var(--line); }
.runtime { color: var(--blue); }
.stage {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #02090d;
  container-type: size; user-select: none;
}
.scenes { position: absolute; inset: 0; }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; overflow: hidden; }
.scene.active { opacity: 1; visibility: visible; animation: sceneIn .55s ease both; }
@keyframes sceneIn { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
.scene-wipe { position: absolute; inset: 0; z-index: 20; background: #02090d; transform: translateX(-101%); pointer-events: none; }
.scene-wipe.run { animation: wipe .62s cubic-bezier(.7,0,.2,1); }
@keyframes wipe { 0% { transform: translateX(-101%); } 42%, 56% { transform: translateX(0); } 100% { transform: translateX(101%); } }
.stage.paused .scene.active, .stage.paused .scene.active * { animation-play-state: paused !important; }
.film-grain {
  position: absolute; inset: 0; z-index: 12; pointer-events: none; opacity: .09; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  animation: grain .3s steps(2) infinite;
}
@keyframes grain { 0% { transform: translate(0); } 50% { transform: translate(-2%, 1%); } 100% { transform: translate(1%, -1%); } }
.vignette { position: absolute; inset: 0; z-index: 11; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, transparent 42%, rgba(0,0,0,.45) 100%); }
.record-badge { display: none; position: absolute; top: 14px; right: 14px; z-index: 30; font-family: var(--mono); font-size: 9px; color: #ff6a5e; border: 1px solid #ff6a5e; padding: 4px 8px; border-radius: 999px; background: rgba(0,0,0,.4); }
.recording .record-badge { display: none; }

/* 播放覆盖层 */
.play-overlay { position: absolute; inset: 0; z-index: 18; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(2,9,13,.28); transition: .3s; }
.play-overlay.hidden { opacity: 0; pointer-events: none; }
.play-big { width: clamp(64px, 8cqw, 108px); height: clamp(64px, 8cqw, 108px); border-radius: 50%; background: rgba(4,16,23,.65); border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; position: relative; transition: .2s; backdrop-filter: blur(8px); }
.play-big:hover { transform: scale(1.06); background: var(--yellow); border-color: var(--yellow); }
.play-big:hover .play-triangle { border-left-color: #1b262b; }
.play-triangle { width: 0; height: 0; border-left: 20px solid var(--ink); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 5px; }
.play-ring { position: absolute; inset: -10px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; animation: ringPulse 2.6s infinite; }
@keyframes ringPulse { 50% { transform: scale(1.12); opacity: .25; } }
.replay-icon { font-size: 38px; color: var(--ink); }
.play-caption { margin-top: 16px; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: rgba(255,246,223,.75); }
.subtitle {
  position: absolute; left: 50%; bottom: 5.4%; transform: translateX(-50%); z-index: 15; max-width: 82%;
  background: rgba(3,10,14,.68); border: 1px solid rgba(255,255,255,.12); border-radius: 8px;
  padding: .8cqw 1.4cqw; font-size: clamp(10px, 1.55cqw, 22px); line-height: 1.5; letter-spacing: .04em;
  text-align: center; opacity: 0; transition: opacity .2s; backdrop-filter: blur(6px);
  font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.subtitle.show { opacity: 1; }
.subtitle.pop span { display: block; animation: subPop .28s ease both; }
@keyframes subPop { from { transform: translateY(4px); opacity: .3; } }
.stage.ended .play-overlay { background: rgba(2,9,13,.55); }

/* ---------------- 播放控件 ---------------- */
.controls { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #081820; border-top: 1px solid var(--line); }
.ctrl { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); font-size: 13px; padding: 0 7px; transition: .18s; }
.ctrl:hover { color: var(--ink); background: rgba(255,255,255,.07); }
.play-ctrl { color: var(--ink); background: var(--blue); color: #041017; font-size: 12px; width: 34px; }
.play-ctrl:hover { background: var(--blue); }
.timecode { font-family: var(--mono); font-size: 9px; color: var(--muted); white-space: nowrap; }
.progress { flex: 1; height: 20px; position: relative; cursor: pointer; }
.progress::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 3px; background: rgba(255,255,255,.14); border-radius: 4px; }
.progress i { position: absolute; left: 0; top: 9px; height: 3px; width: 0; background: var(--yellow); border-radius: 4px; pointer-events: none; }
.progress b { position: absolute; top: 4px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 10px rgba(242,198,78,.45); }
.progress-marks { position: absolute; inset: 0; pointer-events: none; }
.progress-marks span { position: absolute; top: 7px; width: 1px; height: 7px; background: rgba(255,255,255,.35); }
.subtitle-ctrl.active { color: var(--yellow); border: 1px solid rgba(242,198,78,.3); }
.download-ctrl { font-size: 9px; letter-spacing: .04em; text-decoration: none; border: 1px solid var(--line); white-space: nowrap; }
.download-ctrl:hover { border-color: var(--yellow); color: var(--yellow); }
.hero-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.info-item { display: flex; align-items: baseline; gap: 8px; font-size: 9px; color: var(--muted); }
.info-item + .info-item { padding-left: 18px; border-left: 1px solid var(--line); }
.info-item b { color: var(--ink); font-weight: 500; font-size: 10px; }

/* =========================================================
   场景：开场
   ========================================================= */
.scene-title { background: radial-gradient(ellipse at 65% 43%, #173e4c, #07151c 60%, #030b10); }
.title-bg { position: absolute; inset: 0; overflow: hidden; }
.title-beam { position: absolute; width: 42%; height: 130%; left: 44%; top: -15%; background: linear-gradient(90deg, transparent, rgba(93,183,223,.12), transparent); transform: skewX(-12deg); animation: beamSweep 5s ease-in-out infinite; }
@keyframes beamSweep { 50% { transform: skewX(-12deg) translateX(8%); opacity: .5; } }
.bubble { position: absolute; border: 1px solid rgba(169,220,234,.3); border-radius: 50%; animation: bubbleRise 6s linear infinite; }
.b1 { width: 18px; height: 18px; left: 12%; bottom: 8%; animation-delay: -1s; }
.b2 { width: 7px; height: 7px; left: 22%; bottom: 2%; animation-delay: -3s; }
.b3 { width: 12px; height: 12px; left: 78%; bottom: 5%; animation-delay: -2s; }
.b4 { width: 24px; height: 24px; left: 88%; bottom: 1%; animation-delay: -4.2s; }
@keyframes bubbleRise { to { transform: translateY(-55cqh); opacity: 0; } }
.title-copy { position: absolute; left: 7%; top: 17%; z-index: 3; }
.mini-label { font-family: var(--mono); font-size: clamp(6px, .7cqw, 11px); letter-spacing: .22em; color: var(--blue); margin-bottom: 2.4cqw; }
.mini-label span { color: var(--yellow); border: 1px solid rgba(242,198,78,.4); padding: .3cqw .5cqw; margin-left: .5cqw; }
.title-copy h1 { font-size: clamp(28px, 6.3cqw, 92px); line-height: .98; letter-spacing: -.05em; font-weight: 900; text-shadow: 0 4px 20px rgba(0,0,0,.35); }
.title-copy h1 span { display: block; }
.title-copy h1 .line1 { animation: titleLine 1s cubic-bezier(.2,.8,.2,1) both; }
.title-copy h1 .line2 { animation: titleLine 1s .18s cubic-bezier(.2,.8,.2,1) both; }
.title-copy h1 em { color: var(--yellow); font-style: normal; position: relative; }
.title-copy h1 em::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .11em; background: var(--pink); transform: rotate(-1.5deg); opacity: .65; z-index: -1; }
@keyframes titleLine { from { opacity: 0; transform: translateY(20%); } }
.title-copy p { margin-top: 2.2cqw; font-size: clamp(8px, 1.2cqw, 17px); color: #b9d3d9; letter-spacing: .12em; }
.title-credit { margin-top: 1.1cqw; font-family: var(--mono); font-size: clamp(5px, .65cqw, 9px); letter-spacing: .12em; color: rgba(185,211,217,.5); }
.title-fish { position: absolute; right: 4%; bottom: 4%; width: 34%; z-index: 2; filter: drop-shadow(0 24px 24px rgba(0,0,0,.35)); animation: fishEnter 1.1s .45s cubic-bezier(.2,.8,.2,1) both, fishFloat 4s 1.6s ease-in-out infinite; }
@keyframes fishEnter { from { opacity: 0; transform: translate(30%, 10%) rotate(8deg) scale(.9); } }
@keyframes fishFloat { 50% { transform: translateY(-2%) rotate(-2deg); } }
.title-stamp { position: absolute; right: 6%; top: 9%; border: 1px solid rgba(242,198,78,.5); color: var(--yellow); font-size: clamp(6px, .75cqw, 11px); line-height: 1.5; padding: .8cqw 1.1cqw; transform: rotate(7deg); letter-spacing: .15em; opacity: .8; animation: stampIn .6s 1s both; }
.title-stamp b { font-size: 1.25em; letter-spacing: .1em; }
@keyframes stampIn { from { opacity: 0; transform: rotate(20deg) scale(1.4); } }
.title-mark { position: absolute; left: 7%; bottom: 5%; font-family: var(--mono); font-size: clamp(5px, .55cqw, 8px); letter-spacing: .2em; color: rgba(185,211,217,.3); }

/* =========================================================
   场景：捡到硬币
   ========================================================= */
.scene-home { background: #121c22; }
.room-bg { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(160deg, #26353a, #111b20 70%); }
.room-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 30%, rgba(255,220,160,.15), transparent 42%), linear-gradient(180deg, transparent 55%, rgba(0,0,0,.5)); }
.room-window { position: absolute; left: 7%; top: 10%; width: 26%; height: 44%; border: 1.2cqw solid #18252a; border-radius: .4cqw; background: linear-gradient(#0e2436, #234556); box-shadow: 0 0 6cqw rgba(45,100,130,.18); overflow: hidden; }
.room-window::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: .4cqw; background: #1a292e; z-index: 2; }
.room-window::after { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: .33cqw; background: #1a292e; z-index: 2; }
.window-moon { position: absolute; right: 15%; top: 11%; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: #ffe6a9; box-shadow: 0 0 2cqw rgba(255,230,169,.4); }
.city { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; display: flex; align-items: flex-end; gap: .5cqw; opacity: .55; }
.city i { display: block; width: 8%; height: 55%; background: #081820; position: relative; }
.city i:nth-child(2) { height: 80%; }.city i:nth-child(3) { height: 40%; }.city i:nth-child(4) { height: 95%; }.city i:nth-child(5) { height: 60%; }.city i:nth-child(6) { height: 75%; }
.city i::after { content: ''; position: absolute; inset: 12% 20%; background: repeating-linear-gradient(180deg, #e8c574 0 .25cqw, transparent .25cqw .8cqw); opacity: .55; }
.room-shelf { position: absolute; right: 10%; top: 13%; width: 22%; height: 1.4cqw; background: #493b2f; box-shadow: 0 1.8cqw 0 #2f2721; }
.room-shelf i { position: absolute; bottom: .1cqw; width: 1.5cqw; height: 3.5cqw; background: #7d5f47; border-radius: .2cqw; }
.room-shelf i:nth-child(1) { left: 8%; height: 4.8cqw; background: #5c7d6f; }.room-shelf i:nth-child(2) { left: 19%; background: #b7805b; }.room-shelf i:nth-child(3) { left: 27%; height: 3cqw; background: #8b9b6a; }.room-shelf i:nth-child(4) { left: 38%; background: #7d5f47; }
.room-bed { position: absolute; left: 12%; bottom: 8%; width: 42%; height: 20%; background: #3e5060; border-radius: 2cqw 2cqw .4cqw .4cqw; box-shadow: 0 1.2cqw 2.5cqw rgba(0,0,0,.35); }
.bed-pillow { position: absolute; left: 7%; top: -22%; width: 26%; height: 55%; background: #c8d9dc; border-radius: 1cqw; transform: rotate(-5deg); }
.bed-blanket { position: absolute; inset: 22% 0 0 18%; background: #6e8d9d; border-radius: 1.2cqw; }
.room-rug { position: absolute; left: 40%; bottom: 4%; width: 45%; height: 8%; background: #5e4d43; border-radius: 50%; filter: blur(.15cqw); opacity: .7; }
.room-lamp { position: absolute; right: 16%; bottom: 18%; width: .4cqw; height: 20%; background: #493b2f; }
.room-lamp::before { content: ''; position: absolute; top: -1.5cqw; left: -2cqw; width: 4.4cqw; height: 2cqw; background: #e8bb5e; border-radius: 50% 50% 10% 10%; box-shadow: 0 0 4cqw rgba(242,198,78,.25); }
.home-wallet { position: absolute; left: 7%; top: 6%; font-family: var(--mono); font-size: clamp(6px, .8cqw, 12px); letter-spacing: .1em; color: #a9b9b8; background: rgba(0,0,0,.25); padding: .6cqw .9cqw; border-radius: .5cqw; border: 1px solid rgba(255,255,255,.1); }
.home-wallet b { color: var(--pink); margin-left: .5cqw; }
.home-fish { position: absolute; left: 39%; bottom: 9%; width: 27%; z-index: 3; filter: drop-shadow(0 2cqw 1.6cqw rgba(0,0,0,.3)); }
.home-sad { animation: sadBreathe 3.2s ease-in-out infinite, homeSadOut .5s 5s both; }
.home-happy { opacity: 0; animation: homeHappyIn .5s 5.1s both, happyJump .9s 5.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes sadBreathe { 50% { transform: translateY(.5%) scale(.995); } }
@keyframes homeSadOut { to { opacity: 0; transform: translateY(-4%); } }
@keyframes homeHappyIn { to { opacity: 1; } }
@keyframes happyJump { 0% { transform: translateY(15%) scale(.9); } 55% { transform: translateY(-14%) scale(1.04); } 100% { transform: none; } }
.home-coin { position: absolute; right: 20%; bottom: 19%; width: 10%; z-index: 4; opacity: 0; animation: coinRollIn 1.4s 2.2s cubic-bezier(.2,.8,.2,1) both, coinSpin 1.8s 3.6s linear infinite; filter: drop-shadow(0 0 1.6cqw rgba(242,198,78,.5)); }
@keyframes coinRollIn { from { opacity: 0; transform: translate(160%, 80%) rotate(220deg) scale(.6); } to { opacity: 1; transform: translate(0) rotate(0) scale(1); } }
@keyframes coinSpin { 50% { transform: rotateY(180deg); } }
.home-sparkles { position: absolute; right: 14%; bottom: 28%; width: 22%; height: 20%; opacity: 0; animation: sparkleShow 1.2s 3.7s both; z-index: 5; }
.home-sparkles i { position: absolute; font-style: normal; color: var(--yellow); font-size: clamp(10px, 2cqw, 28px); text-shadow: 0 0 1.2cqw var(--yellow); animation: sparkleTwinkle 1.4s infinite; }
.home-sparkles i:nth-child(1) { left: 0; top: 20%; }.home-sparkles i:nth-child(2) { left: 35%; top: 0; animation-delay: -.4s; }.home-sparkles i:nth-child(3) { right: 0; top: 30%; animation-delay: -.8s; }.home-sparkles i:nth-child(4) { left: 55%; bottom: 0; animation-delay: -1.1s; }
@keyframes sparkleShow { to { opacity: 1; } }
@keyframes sparkleTwinkle { 50% { transform: scale(.35) rotate(30deg); opacity: .3; } }
.home-bubble { position: absolute; right: 25%; top: 18%; z-index: 6; background: #fff6df; color: #26353d; border-radius: 1.4cqw 1.4cqw 1.4cqw .2cqw; padding: 1.1cqw 1.6cqw; font-size: clamp(9px, 1.55cqw, 24px); font-weight: 900; transform: rotate(3deg); opacity: 0; animation: bubblePop .5s 5.4s both; box-shadow: 0 1.2cqw 2cqw rgba(0,0,0,.25); }
.home-bubble::after { content: ''; position: absolute; left: -1cqw; bottom: -1cqw; border-top: 1.6cqw solid #fff6df; border-left: 1.6cqw solid transparent; transform: rotate(20deg); }
@keyframes bubblePop { from { opacity: 0; transform: scale(.4) rotate(-8deg); } to { opacity: 1; transform: scale(1) rotate(3deg); } }
.home-shadow { position: absolute; left: 43%; bottom: 5%; width: 20%; height: 3%; border-radius: 50%; background: rgba(0,0,0,.35); filter: blur(.5cqw); z-index: 2; }
.sfx { position: absolute; z-index: 15; font-weight: 900; font-style: italic; letter-spacing: -.04em; opacity: 0; }
.sfx-ding { right: 15%; top: 29%; color: var(--yellow); font-size: clamp(18px, 4.4cqw, 64px); text-shadow: .15cqw .15cqw 0 #8a5e22, 0 0 3cqw rgba(242,198,78,.4); transform: rotate(-8deg); animation: sfxPop .7s 3.8s both, floatSfx 1.2s 4.5s ease-in-out infinite; }
@keyframes sfxPop { 0% { opacity: 0; transform: scale(2.2) rotate(10deg); } 60% { opacity: 1; transform: scale(.92) rotate(-8deg); } 100% { opacity: 1; transform: scale(1) rotate(-8deg); } }
@keyframes floatSfx { 50% { transform: translateY(-.7cqw) rotate(-5deg); } }

/* =========================================================
   场景：超市
   ========================================================= */
.scene-market { background: #d6e4e2; }
.market-bg { position: absolute; inset: 0; background: linear-gradient(180deg, #dce9e5, #c7dbd6 55%, #8fa5a2); overflow: hidden; }
.market-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.25), transparent 40%, rgba(4,12,16,.35)); }
.market-ceiling { position: absolute; left: 0; right: 0; top: 0; height: 18%; background: linear-gradient(#f4fbf7, #c4d6d2); display: flex; justify-content: space-around; align-items: center; transform: perspective(200px) rotateX(8deg); }
.market-ceiling i { width: 18%; height: 12%; background: #fffce7; box-shadow: 0 0 4cqw 1.4cqw rgba(255,252,230,.65); border-radius: .2cqw; animation: lightFlicker 6s infinite; }
.market-ceiling i:nth-child(2) { animation-delay: -2s; }.market-ceiling i:nth-child(3) { animation-delay: -4s; }
@keyframes lightFlicker { 92%, 100% { opacity: 1; } 93% { opacity: .4; } 94% { opacity: 1; } }
.shelf { position: absolute; top: 17%; width: 22%; height: 56%; background: #d9d2bd; border: .25cqw solid #9c9481; box-shadow: inset 0 0 2cqw rgba(0,0,0,.18); display: flex; flex-direction: column; justify-content: space-around; padding: .6cqw; }
.shelf-left { left: -2%; transform: perspective(500px) rotateY(16deg); transform-origin: left center; }
.shelf-right { right: -2%; transform: perspective(500px) rotateY(-16deg); transform-origin: right center; }
.shelf span { position: absolute; top: -2.2cqw; left: 4%; font-size: clamp(6px, .8cqw, 12px); background: #e7b65d; color: #3e3529; padding: .35cqw .7cqw; font-weight: 700; letter-spacing: .1em; }
.shelf b { display: block; height: 14%; background: repeating-linear-gradient(90deg, #c56f5d 0 8%, #e2b36e 8% 16%, #7fa47f 16% 24%, #6a92a0 24% 32%); border-radius: .2cqw; opacity: .85; }
.market-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 35%; background: linear-gradient(#b0c3be, #7f9490); }
.market-floor::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 8%, rgba(255,255,255,.1) 8% 8.3%); transform: perspective(200px) rotateX(55deg); transform-origin: top; }
.market-sign { position: absolute; left: 38%; top: 7%; font-size: clamp(7px, 1.1cqw, 16px); letter-spacing: .3em; color: #3f5652; background: rgba(255,250,232,.8); padding: .6cqw 1.2cqw; border: 1px solid rgba(80,100,90,.2); transform: rotate(-2deg); animation: signSway 4s ease-in-out infinite; }
@keyframes signSway { 50% { transform: rotate(1.5deg) translateY(.3cqw); } }
.market-fish { position: absolute; left: 27%; bottom: 16%; width: 26%; z-index: 4; filter: drop-shadow(0 2cqw 1.5cqw rgba(0,0,0,.25)); animation: marketBob 1.3s ease-in-out infinite, fishIn .7s .2s both; }
@keyframes marketBob { 50% { transform: translateY(-1.8%) rotate(1.5deg); } }
@keyframes fishIn { from { opacity: 0; transform: translateX(-20%); } }
.market-cart { position: absolute; right: 7%; bottom: 9%; width: 35%; z-index: 3; animation: cartIn .8s .2s both, cartShake .5s 3.3s 2; filter: drop-shadow(0 2cqw 1.8cqw rgba(0,0,0,.25)); }
@keyframes cartIn { from { opacity: 0; transform: translateX(30%) rotate(4deg); } }
@keyframes cartShake { 25% { transform: translateX(-1%) rotate(-2deg); } 75% { transform: translateX(1%) rotate(2deg); } }
.market-item { position: absolute; z-index: 5; font-size: clamp(16px, 4.4cqw, 64px); opacity: 0; filter: drop-shadow(0 .3cqw .4cqw rgba(0,0,0,.2)); }
.mi1 { left: 56%; top: 27%; animation: itemFly .8s 2.3s both; }.mi2 { left: 68%; top: 22%; animation: itemFly .8s 3.1s both; }.mi3 { left: 50%; top: 36%; animation: itemFly .8s 3.9s both; }.mi4 { left: 74%; top: 35%; animation: itemFly .8s 4.7s both; }
@keyframes itemFly { 0% { opacity: 0; transform: translate(0, -200%) rotate(-80deg) scale(.4); } 70% { opacity: 1; transform: translate(15%, 15%) rotate(10deg) scale(1.1); } 100% { opacity: 1; transform: none; } }
.price-tag { position: absolute; z-index: 6; font-family: var(--mono); font-size: clamp(6px, 1.05cqw, 15px); color: #fff8df; background: #e2695a; border: .18cqw solid #fff3d2; padding: .4cqw .6cqw; transform: rotate(-7deg); opacity: 0; animation: pricePop .4s both; box-shadow: 0 .4cqw 1cqw rgba(0,0,0,.2); }
.pt1 { left: 33%; top: 30%; animation-delay: 2.1s; }.pt2 { left: 67%; top: 19%; animation-delay: 2.8s; transform: rotate(6deg); }.pt3 { left: 47%; top: 47%; animation-delay: 4.2s; transform: rotate(-3deg); }
@keyframes pricePop { 0% { opacity: 0; transform: scale(1.8) rotate(8deg); } 100% { opacity: 1; } }
.market-sparkle { position: absolute; left: 58%; top: 24%; font-size: clamp(12px, 3cqw, 42px); color: var(--yellow); text-shadow: 0 0 2cqw var(--yellow); animation: sparkleTwinkle 1.1s infinite; z-index: 7; }
.sfx-market { right: 9%; top: 11%; color: #5e7e71; font-size: clamp(10px, 2cqw, 28px); transform: rotate(5deg); animation: sfxPop .5s 2.2s both; }
.market-shadow { position: absolute; left: 25%; bottom: 8%; width: 42%; height: 5%; border-radius: 50%; background: rgba(30,50,45,.25); filter: blur(1cqw); z-index: 2; }

/* =========================================================
   场景：收银台
   ========================================================= */
.scene-checkout { background: #c9d9d5; }
.checkout-bg { position: absolute; inset: 0; background: linear-gradient(180deg, #e4efeb, #b9ccc6 60%, #839b95); overflow: hidden; }
.checkout-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(3,12,16,.28)); }
.checkout-light { position: absolute; left: 25%; right: 25%; top: 2%; height: 4%; background: #fffde3; box-shadow: 0 0 5cqw 2cqw rgba(255,253,227,.5); border-radius: 50%; }
.counter { position: absolute; left: 0; right: 0; bottom: 11%; height: 20%; background: linear-gradient(#dcd3bd, #9f9884); border-top: .3cqw solid #f2e7cb; }
.belt { position: absolute; left: 18%; right: 20%; bottom: 27%; height: 5%; background: #4c5550; border: .2cqw solid #2f3733; }
.belt::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 3%, rgba(255,255,255,.12) 3% 3.4%); }
.register { position: absolute; right: 9%; bottom: 31%; width: 17%; height: 18%; background: #455a57; border: .3cqw solid #263633; border-radius: .6cqw; }
.register-screen { position: absolute; left: 12%; top: 12%; width: 76%; height: 40%; background: #d7f5d5; color: #263633; font-family: var(--mono); font-size: clamp(5px, .75cqw, 11px); display: grid; place-items: center; border-radius: .2cqw; }
.register-slot { position: absolute; left: 12%; right: 12%; bottom: 15%; height: 12%; background: #1e2b29; }
.checkout-sign { position: absolute; left: 6%; top: 7%; font-size: clamp(7px, 1cqw, 14px); letter-spacing: .3em; color: #445b55; border-bottom: 1px solid rgba(60,80,70,.4); padding-bottom: .3cqw; }
.cashier { position: absolute; right: 7%; bottom: 20%; width: 26%; z-index: 3; filter: drop-shadow(0 2cqw 1.4cqw rgba(0,0,0,.25)); animation: cashierIn .7s .3s both; }
@keyframes cashierIn { from { opacity: 0; transform: translateX(20%); } }
.checkout-fish { position: absolute; left: 23%; bottom: 20%; width: 23%; z-index: 4; filter: drop-shadow(0 1.5cqw 1.4cqw rgba(0,0,0,.25)); animation: checkoutFishIn .6s .2s both, freeze 1s 2.2s forwards, shrink 1.6s 3.2s forwards; }
@keyframes checkoutFishIn { from { opacity: 0; transform: translateX(-20%); } }
@keyframes freeze { to { filter: grayscale(.8) brightness(.9) drop-shadow(0 1.5cqw 1.4cqw rgba(0,0,0,.25)); } }
@keyframes shrink { to { transform: translateY(4%) scale(.93); } }
.checkout-coin { position: absolute; left: 50%; bottom: 31%; width: 8%; z-index: 5; animation: coinDrop .6s .5s both; filter: drop-shadow(0 0 1cqw rgba(242,198,78,.4)); }
@keyframes coinDrop { from { opacity: 0; transform: translateY(-180%) rotate(130deg); } }
.scan-line { position: absolute; left: 47%; bottom: 24%; width: 15%; height: .35cqw; background: #ff5d51; box-shadow: 0 0 1.4cqw .3cqw rgba(255,93,81,.65); z-index: 6; animation: scanLine 1.2s 1.1s ease-in-out both; opacity: 0; }
@keyframes scanLine { 0% { opacity: 0; transform: translateY(-3cqw); } 20%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(2.5cqw); } }
.error-x { position: absolute; left: 49%; top: 29%; z-index: 8; color: #ff5d51; font-size: clamp(30px, 8cqw, 110px); font-weight: 900; line-height: 1; text-shadow: 0 0 3cqw rgba(255,93,81,.5); opacity: 0; animation: errorPop .6s 2s both, errorShake .3s 2.2s 2; }
@keyframes errorPop { from { opacity: 0; transform: scale(2.4) rotate(-15deg); } to { opacity: 1; transform: scale(1) rotate(-8deg); } }
@keyframes errorShake { 25% { transform: translateX(-1cqw) rotate(-4deg); } 75% { transform: translateX(1cqw) rotate(4deg); } }
.checkout-receipt { position: absolute; right: 23%; top: 26%; z-index: 7; width: 13%; background: #fff8e4; color: #3a4540; font-family: var(--mono); font-size: clamp(5px, .72cqw, 11px); text-align: center; padding: .8cqw .4cqw; transform: rotate(3deg); opacity: 0; animation: receiptIn .7s 2.5s both; box-shadow: 0 .5cqw 1cqw rgba(0,0,0,.15); }
.checkout-receipt span { color: #d05d50; }
@keyframes receiptIn { from { opacity: 0; transform: translateY(100%) rotate(3deg); } to { opacity: 1; transform: translateY(0) rotate(3deg); } }
.sfx-beep { left: 38%; top: 13%; color: #fff6df; font-size: clamp(10px, 2.2cqw, 32px); background: #d05d50; padding: .2cqw .7cqw; transform: rotate(-4deg); animation: sfxPop .4s 2.1s both; }
.crack-lines { position: absolute; left: 30%; bottom: 35%; width: 12%; height: 20%; z-index: 8; opacity: 0; animation: crackShow .4s 3.1s both; }
.crack-lines::before, .crack-lines::after { content: ''; position: absolute; background: #5c6a68; width: .18cqw; height: 100%; transform: rotate(24deg); }
.crack-lines::before { left: 20%; }.crack-lines::after { left: 65%; height: 75%; transform: rotate(-32deg); }
@keyframes crackShow { to { opacity: .8; } }

/* =========================================================
   场景：买一送一
   ========================================================= */
.scene-twist { background: #d9e8e1; }
.twist-bg { filter: brightness(1.04); }
.twist-flash { position: absolute; inset: 0; background: #fff9df; z-index: 12; opacity: 0; animation: reviveFlash .7s .5s both; pointer-events: none; }
@keyframes reviveFlash { 0% { opacity: 1; } 100% { opacity: 0; } }
.twist-cashier { right: 7%; bottom: 22%; width: 24%; animation: cashierNod 1.4s ease-in-out infinite; }
@keyframes cashierNod { 50% { transform: rotate(1.5deg) translateY(-.5%); } }
.twist-fish { position: absolute; left: 22%; bottom: 20%; width: 24%; z-index: 5; opacity: 0; filter: drop-shadow(0 1.5cqw 1.4cqw rgba(0,0,0,.22)); animation: reviveFish .7s 1.1s cubic-bezier(.2,.8,.2,1) both, happyFloat 1.2s 1.8s ease-in-out infinite; }
@keyframes reviveFish { 0% { opacity: 0; transform: scale(.6) rotate(-8deg); } 65% { opacity: 1; transform: scale(1.1) rotate(3deg); } 100% { opacity: 1; transform: none; } }
@keyframes happyFloat { 50% { transform: translateY(-2.5%) rotate(-2deg); } }
.cracker { position: absolute; right: 29%; bottom: 27%; width: 13%; z-index: 6; transform: rotate(6deg); opacity: 0; animation: crackerIn .7s 1.6s both, crackerTilt 2s 2.2s ease-in-out infinite; filter: drop-shadow(0 .8cqw 1cqw rgba(0,0,0,.2)); }
@keyframes crackerIn { from { opacity: 0; transform: translate(50%, 10%) rotate(20deg) scale(.7); } to { opacity: 1; transform: rotate(6deg); } }
@keyframes crackerTilt { 50% { transform: rotate(-1deg) translateY(-.5cqw); } }
.hearts { position: absolute; left: 28%; bottom: 47%; z-index: 7; width: 20%; height: 20%; pointer-events: none; }
.hearts i { position: absolute; color: var(--pink); font-style: normal; font-size: clamp(10px, 2.2cqw, 32px); opacity: 0; animation: heartUp 2.2s 2.2s infinite; }
.hearts i:nth-child(1) { left: 0; bottom: 0; }.hearts i:nth-child(2) { left: 25%; bottom: 10%; animation-delay: -1.1s; }.hearts i:nth-child(3) { left: 55%; bottom: 0; animation-delay: -.5s; }.hearts i:nth-child(4) { left: 75%; bottom: 15%; animation-delay: -1.6s; }.hearts i:nth-child(5) { left: 45%; bottom: 30%; animation-delay: -1.9s; }
@keyframes heartUp { 0% { opacity: 0; transform: translateY(0) scale(.5); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-7cqw) scale(1.2) rotate(15deg); } }
.sparkle-burst { position: absolute; left: 25%; top: 20%; z-index: 7; color: var(--yellow); font-size: clamp(15px, 3.4cqw, 48px); text-shadow: 0 0 2cqw var(--yellow); letter-spacing: .3em; opacity: 0; animation: sparkleBurst 1.2s 1s both; }
@keyframes sparkleBurst { 0% { opacity: 0; transform: scale(.3) rotate(-20deg); } 50% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3) rotate(10deg); } }
.sfx-buy { left: 52%; top: 17%; color: #d34f60; font-size: clamp(12px, 2.8cqw, 42px); transform: rotate(-4deg); animation: sfxPop .5s 2.1s both; }

/* =========================================================
   场景：夕阳 / 彩蛋
   ========================================================= */
.scene-end { background: linear-gradient(#f7b56f, #d46c61 55%, #283b43); }
.sunset-bg { position: absolute; inset: 0; overflow: hidden; }
.sun { position: absolute; left: 57%; bottom: 28%; width: 23%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff3bd, #f2b75b 65%, transparent 70%); filter: blur(.2cqw); animation: sunGlow 4s ease-in-out infinite; }
@keyframes sunGlow { 50% { transform: scale(1.04); opacity: .85; } }
.cityline { position: absolute; left: 0; right: 0; bottom: 18%; height: 26%; background: repeating-linear-gradient(90deg, #3e4b50 0 4%, transparent 4% 5.5%, #334148 5.5% 9%, transparent 9% 12%); opacity: .7; clip-path: polygon(0 60%,4% 60%,4% 30%,8% 30%,8% 70%,12% 70%,12% 45%,17% 45%,17% 80%,22% 80%,22% 35%,27% 35%,27% 62%,32% 62%,32% 20%,38% 20%,38% 75%,44% 75%,44% 48%,50% 48%,50% 68%,56% 68%,56% 28%,62% 28%,62% 55%,68% 55%,68% 35%,74% 35%,74% 75%,80% 75%,80% 20%,86% 20%,86% 60%,92% 60%,92% 42%,100% 42%,100% 100%,0 100%); }
.sea { position: absolute; left: 0; right: 0; bottom: 0; height: 23%; background: linear-gradient(#b56b5b, #5d5552 40%, #2d3f45); opacity: .9; }
.sea::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 1.2cqw, rgba(255,220,160,.12) 1.2cqw 1.4cqw); }
.bench { position: absolute; left: 22%; bottom: 10%; width: 40%; height: 6%; background: #7c5b43; border-radius: .4cqw; }
.bench::before { content: ''; position: absolute; left: 25%; bottom: -8vw; width: 1.2cqw; height: 8cqw; background: #5a4132; box-shadow: 9cqw 0 0 #5a4132; }
.end-fish { position: absolute; left: 31%; bottom: 16%; width: 22%; z-index: 4; filter: drop-shadow(0 1.5cqw 1.4cqw rgba(0,0,0,.3)); animation: endFish 1s .3s both, eatBob 2.2s 1.5s ease-in-out infinite; }
@keyframes endFish { from { opacity: 0; transform: translateY(20%); } }
@keyframes eatBob { 50% { transform: translateY(-1.5%) rotate(-1deg); } }
.crumbs { position: absolute; left: 47%; bottom: 14%; width: 15%; height: 10%; z-index: 5; }
.crumbs i { position: absolute; color: #e9cf8f; font-size: clamp(9px, 1.2cqw, 16px); animation: crumbPop .6s 2s both; }
.crumbs i:nth-child(1) { left: 10%; top: 30%; }.crumbs i:nth-child(2) { left: 40%; top: 55%; animation-delay: .1s; }.crumbs i:nth-child(3) { left: 68%; top: 20%; animation-delay: .2s; }.crumbs i:nth-child(4) { left: 80%; top: 65%; animation-delay: .3s; }
@keyframes crumbPop { from { opacity: 0; transform: translateY(-2cqw); } }
.end-copy { position: absolute; right: 8%; top: 18%; z-index: 5; text-align: right; color: #fff5df; text-shadow: 0 2px 12px rgba(0,0,0,.25); animation: copyIn .8s 2s both; }
@keyframes copyIn { from { opacity: 0; transform: translateY(10%); } to { opacity: 1; transform: translateY(0); } }
.end-copy .eyebrow { font-family: var(--mono); font-size: clamp(5px, .7cqw, 10px); letter-spacing: .25em; color: rgba(255,245,223,.7); }
.end-copy h2 { font-size: clamp(18px, 4.2cqw, 58px); line-height: 1.15; margin-top: .9cqw; font-weight: 900; letter-spacing: -.03em; }
.end-pack { position: absolute; left: 16%; bottom: 18%; width: 9%; transform: rotate(-16deg); opacity: .9; animation: packIn .6s 2.1s both; }
@keyframes packIn { from { opacity: 0; transform: translateY(3cqw) rotate(-30deg); } }
.scene-post { background: #050d12; }
.post-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, #142c36, #040b0f 68%); }
.post-coin { position: absolute; left: 46%; bottom: 26%; width: 12%; z-index: 4; animation: coinRollIn 1s .4s both, coinSpin 2.4s 1.4s linear infinite; filter: drop-shadow(0 0 1.5cqw rgba(242,198,78,.4)); }
.post-fish { position: absolute; left: 34%; bottom: 7%; width: 32%; z-index: 3; animation: postFish .8s .2s both; filter: drop-shadow(0 2cqw 1.6cqw rgba(0,0,0,.35)); }
@keyframes postFish { from { opacity: 0; transform: translateY(15%); } }
.post-copy { position: absolute; left: 50%; top: 11%; transform: translateX(-50%); z-index: 8; font-family: var(--serif); font-size: clamp(10px, 1.7cqw, 25px); color: #fff0c6; white-space: nowrap; opacity: 0; animation: copyIn .6s 1.2s both; }
.post-card { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); text-align: center; z-index: 9; opacity: 0; animation: postCard 1s 2.2s both; }
@keyframes postCard { from { opacity: 0; transform: translate(-50%, 8%) scale(.94); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
.post-card span { font-family: var(--mono); font-size: clamp(5px, .7cqw, 10px); letter-spacing: .3em; color: var(--yellow); }
.post-card h2 { font-size: clamp(26px, 6cqw, 78px); font-weight: 900; letter-spacing: .12em; color: var(--ink); margin: .6cqw 0; }
.post-card p { font-size: clamp(8px, 1.2cqw, 16px); color: #b8d1d5; letter-spacing: .12em; }
.post-card small { display: block; margin-top: 2.2cqw; font-size: clamp(6px, .8cqw, 11px); color: var(--muted); letter-spacing: .14em; }
.post-credit { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); font-family: var(--mono); font-size: clamp(5px, .6cqw, 8px); letter-spacing: .18em; color: rgba(142,167,176,.5); white-space: nowrap; }

/* =========================================================
   页面内容
   ========================================================= */
.section { padding: 58px 0 12px; position: relative; z-index: 1; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 20px; }
.eyebrow { font-family: var(--mono); font-size: 8px; letter-spacing: .22em; color: var(--blue); }
.section-head h2 { font-size: clamp(26px, 3.5vw, 44px); font-weight: 900; letter-spacing: -.03em; margin-top: 7px; }
.hand { font-family: var(--serif); font-size: 13px; color: var(--muted); transform: rotate(-1deg); }
.character-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.char-card { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, rgba(16,40,50,.85), rgba(7,18,24,.9)); overflow: hidden; position: relative; }
.main-char { grid-column: span 1; }
.char-art { height: 280px; display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(ellipse at 50% 35%, rgba(93,183,223,.18), transparent 65%), linear-gradient(180deg, #0d252f, #07141b); position: relative; overflow: hidden; }
.char-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(4,12,16,.5)); pointer-events: none; }
.char-art svg { width: 68%; max-height: 94%; position: relative; z-index: 2; }
.cashier-art svg { width: 70%; }
.coin-art svg { width: 44%; margin-bottom: 14%; animation: coinFloat 3s ease-in-out infinite; }
@keyframes coinFloat { 50% { transform: translateY(-6%) rotate(8deg); } }
.char-copy { padding: 18px 20px 20px; }
.char-copy h3 { font-size: 24px; font-weight: 800; margin: 5px 0 8px; }
.char-copy p { font-size: 10px; line-height: 1.85; color: var(--muted); }
.chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 11px; }
.chips span { font-size: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 7px; color: #b9d0d5; }
.small-btn { margin-top: 13px; font-size: 10px; color: var(--yellow); border-bottom: 1px solid rgba(242,198,78,.4); padding: 4px 0; }
.small-btn:hover { color: var(--yellow-pale); }
.main-char .char-art { height: 300px; }
.main-char .char-art svg { width: 74%; }
.main-char.poke .char-art svg { animation: pokeBounce .5s; }
@keyframes pokeBounce { 0% { transform: scale(1); } 35% { transform: scale(1.07) rotate(-3deg); } 70% { transform: scale(.97) rotate(2deg); } 100% { transform: scale(1); } }
.fish-bubble { position: absolute; right: 14px; top: 14px; z-index: 5; max-width: 200px; background: #fff6df; color: #25343b; font-family: var(--serif); font-size: 12px; line-height: 1.5; padding: 9px 12px; border-radius: 12px 12px 12px 2px; transform: rotate(2deg) scale(.9); opacity: 0; transition: .25s; pointer-events: none; }
.fish-bubble.show { opacity: 1; transform: rotate(2deg) scale(1); }
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.note { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: rgba(8,24,31,.65); }
.note .num { font-family: var(--mono); font-size: 9px; color: var(--yellow); letter-spacing: .16em; }
.note h3 { font-size: 18px; margin: 13px 0 8px; font-weight: 800; }
.note p { font-size: 10px; line-height: 1.9; color: var(--muted); }
.reaction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.reaction-card { border: 1px solid var(--line); border-radius: 16px; background: rgba(8,24,31,.6); padding: 10px; text-align: left; transition: .2s; position: relative; overflow: hidden; }
.reaction-card:hover { border-color: rgba(242,198,78,.4); transform: translateY(-3px); background: rgba(14,38,47,.8); }
.reaction-art { height: 150px; display: flex; align-items: flex-end; justify-content: center; border-radius: 10px; background: radial-gradient(ellipse at 50% 40%, rgba(93,183,223,.14), transparent 65%), #07151c; margin-bottom: 9px; overflow: hidden; }
.reaction-art svg { width: 58%; max-height: 92%; }
.reaction-card span { display: block; font-size: 12px; font-weight: 700; }
.reaction-card small { display: block; margin-top: 3px; font-size: 8px; color: var(--muted); }
.reaction-card.pop { animation: cardPop .35s; }
@keyframes cardPop { 50% { transform: scale(1.04); } }
.credits { display: flex; align-items: center; gap: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; margin-top: 56px; }
.credit-fish { width: 150px; flex: none; }
.credit-fish svg { width: 100%; animation: fishFloat 3.4s ease-in-out infinite; }
.credits h2 { font-size: clamp(25px, 3.4vw, 42px); font-weight: 900; letter-spacing: -.03em; margin: 8px 0 10px; }
.credits p { font-size: 10px; line-height: 1.8; color: var(--muted); max-width: 700px; }
.credit-links { display: flex; gap: 16px; margin-top: 13px; }
.credit-links a { font-size: 10px; color: var(--yellow); border-bottom: 1px solid rgba(242,198,78,.35); padding-bottom: 3px; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 0; font-family: var(--mono); font-size: 7px; letter-spacing: .12em; color: rgba(142,167,176,.55); }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 900px) {
  .page { padding: 0 16px 40px; }
  .site-header { padding: 14px 0; }
  .nav { display: none; }
  .episode-chip { margin-left: auto; }
  .hero { padding: 30px 0 16px; }
  .page-title { font-size: clamp(32px, 8.4vw, 58px); }
  .page-sub { font-size: 11px; }
  .hero-info { grid-template-columns: 1fr 1fr; gap: 8px 0; }
  .info-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .character-grid, .note-grid { grid-template-columns: 1fr; }
  .char-card { display: grid; grid-template-columns: 38% 1fr; }
  .char-art, .main-char .char-art { height: 210px; }
  .char-copy { padding: 15px; }
  .char-copy h3 { font-size: 20px; }
  .reaction-grid { grid-template-columns: repeat(2, 1fr); }
  .reaction-art { height: 130px; }
  .credits { flex-direction: column; align-items: flex-start; gap: 16px; }
  .credit-fish { width: 100px; }
  .download-ctrl { display: inline-flex; font-size: 8px; }
}
@media (max-width: 620px) {
  .page { padding: 0 12px 30px; }
  .brand-copy b { font-size: 14px; }
  .brand-copy small { font-size: 6px; }
  .hero-kicker { font-size: 7px; }
  .page-title { font-size: 8.2vw; line-height: 1.12; }
  .page-title span { display: inline; }
  .page-title em { display: block; margin-top: .06em; }
  .page-sub { font-size: 10px; line-height: 1.8; }
  .desktop-break { display: none; }
  .player-shell { border-radius: 14px; margin-top: 18px; }
  .player-topline { font-size: 7px; padding: 8px 10px; }
  .controls { flex-wrap: wrap; gap: 6px; padding: 8px; }
  .timecode { order: 2; font-size: 8px; }
  .progress { order: 3; flex-basis: 100%; }
  .ctrl { min-width: 27px; height: 27px; font-size: 11px; }
  .play-ctrl { width: 30px; }
  .subtitle { bottom: 4%; max-width: 92%; padding: 4px 7px; font-size: 10px; }
  .play-caption { font-size: 8px; margin-top: 10px; }
  .hero-info { margin-top: 9px; padding-top: 9px; }
  .info-item { font-size: 8px; gap: 5px; }
  .info-item b { font-size: 8px; }
  .section { padding-top: 36px; }
  .section-head h2 { font-size: 26px; }
  .hand { display: none; }
  .char-card { grid-template-columns: 35% 1fr; }
  .char-art, .main-char .char-art { height: 170px; }
  .char-copy p { font-size: 9px; line-height: 1.7; }
  .char-copy h3 { font-size: 18px; }
  .chips span { font-size: 7px; }
  .reaction-art { height: 110px; }
  .reaction-card span { font-size: 10px; }
  .reaction-card small { font-size: 7px; }
  .credits { padding: 28px 0; margin-top: 38px; }
  .credits h2 { font-size: 24px; }
  .credit-fish { width: 90px; }
  .site-footer { flex-direction: column; gap: 5px; font-size: 6px; }
}
@media (max-width: 420px) {
  .char-card { grid-template-columns: 1fr; }
  .char-art, .main-char .char-art { height: 200px; }
  .reaction-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .reaction-art { height: 100px; }
  .ctrl { font-size: 10px; }
}

/* 录屏模式：只保留动画舞台 */
.recording { background: #000; overflow: hidden; }
.recording .site-header, .recording .hero-kicker, .recording .page-title, .recording .page-sub,
.recording .player-topline, .recording .controls, .recording .hero-info,
.recording .section, .recording .credits, .recording .site-footer { display: none !important; }
.recording .page { max-width: none; padding: 0; margin: 0; }
.recording .hero { padding: 0; min-height: 100vh; }
.recording .player-shell { position: fixed; inset: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #02090d; }
.recording .stage { width: 100vw; height: 100vh; aspect-ratio: auto; }
.recording .play-overlay, .recording .record-badge { display: none !important; }
.recording .subtitle { font-size: clamp(15px, 1.7cqw, 24px); bottom: 6.5%; }
.recording .scene-wipe { display: none; }
.recording body { cursor: none; }

/* 未激活场景中的动画保持暂停，切场时由 JS 重新启动 */
.scene:not(.active), .scene:not(.active) * { animation-play-state: paused !important; }

/* 小动作：尾巴、房间漂移、超市推进 */
.fish-svg .fish-tail { transform-box: fill-box; transform-origin: right center; animation: fishTail 2.2s ease-in-out infinite; }
@keyframes fishTail { 50% { transform: rotate(5deg); } }
.fish-svg .fish-feet { animation: feetTiny 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center bottom; }
@keyframes feetTiny { 50% { transform: translateY(1px); } }
.scene-home .room-bg { animation: roomDrift 9s linear both; }
@keyframes roomDrift { from { transform: scale(1.06) translateX(1.5%); } to { transform: scale(1.02) translateX(-1%); } }
.scene-market .market-bg { animation: marketPan 13s linear both; }
@keyframes marketPan { from { transform: scale(1.1) translateX(2%); } to { transform: scale(1.03) translateX(-1%); } }
.scene-checkout .checkout-bg { animation: checkoutPush 9s linear both; }
@keyframes checkoutPush { from { transform: scale(1.05); } to { transform: scale(1.01); } }
.scene-end .sunset-bg { animation: sunsetZoom 7s ease-out both; }
@keyframes sunsetZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.scene-end .end-copy { animation: copyIn .8s 2s both, endCopyFloat 3s 3s ease-in-out infinite; }
@keyframes endCopyFloat { 50% { transform: translateY(-.6cqw); } }
.recording .subtitle { font-size: clamp(16px, 1.6cqw, 24px); }
.recording, .recording * { cursor: none !important; }
