/* ==========================================================================
   Yami Personal Portfolio — Magic Night Sky Hero + Pixel Ticket + Retro Nostalgia
   ========================================================================== */

:root {
  --ink: #080510;
  --ink-deep: #050507;
  --night-mid: #1a112c;
  --lavender: #c3a4ff;
  --lavender-soft: #9c86d4;
  --ground: #f6f3ec;
  --ground-alt: #ede8dc;
  --ground-border: #d8d0bf;
  --text-dark: #16161a;
  --text-muted: #5c5a55;
  --text-light: #f6f4ef;
  --text-light-muted: rgba(246, 244, 239, 0.7);
  --accent-blue: #2558d9;
  --accent-gold: #f5b935;
  --accent-orange: #f27424;
  --focus-ring: #f5b935;

  --font-display: "Space Grotesk", "Helvetica Neue", "Arial Black", "PingFang SC", sans-serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "SF Mono", "Menlo", "Consolas", monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--ink);
  color: var(--text-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background-color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  body.custom-cursor-active,
  body.custom-cursor-active * {
    cursor: none !important;
  }
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img {
  display: block;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

/* ==========================================================================
   自定义大号像素光标
   ========================================================================== */
.pixel-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 56px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 0.16s ease;
  will-change: transform;
}

.pixel-cursor.is-visible {
  opacity: 1;
}

body.is-pet-dragging .pixel-cursor {
  opacity: 0 !important;
}

.pixel-cursor .cursor-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  transform-origin: 0 0;
  transition: transform 0.08s ease;
}

.pixel-cursor .cursor-hand {
  display: none;
  transform: translate(-8px, -2px);
  transform-origin: 8px 2px;
}

.pixel-cursor.is-pointer .cursor-arrow {
  display: none;
}

.pixel-cursor.is-pointer .cursor-hand {
  display: block;
}

.pixel-cursor.is-pressed .cursor-arrow {
  transform: scale(0.9);
}

.pixel-cursor.is-pressed .cursor-hand {
  transform: translate(-8px, -2px) scale(0.9);
}

/* ==========================================================================
   顶部极简导航
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  color: var(--text-light);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  pointer-events: none;
}

.site-nav a {
  pointer-events: auto;
  text-decoration: none;
  color: inherit;
}

.site-nav.is-light {
  color: var(--text-dark);
  background: rgba(246, 243, 236, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 22, 26, 0.08);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.14em;
}

.nav-star {
  color: #e6dcff;
  font-size: 14px;
}

.site-nav.is-light .nav-star {
  color: var(--accent-blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  opacity: 0.78;
  transition: opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.nav-link.is-current {
  border-color: rgba(224, 210, 255, 0.72);
  background: rgba(195, 164, 255, 0.14);
  opacity: 1;
}

.site-nav.is-light .nav-link.is-current {
  border-color: rgba(22, 22, 26, 0.45);
  background: rgba(22, 22, 26, 0.06);
  opacity: 1;
}

.nav-link:hover,
.nav-link:focus-visible {
  opacity: 1;
}

/* ==========================================================================
   暗底交互像素涟漪画布
   ========================================================================== */
.ripple-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   1. 魔法夜空首屏 HERO（粘滞后退景深）
   ========================================================================== */
.hero {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse 56% 52% at 50% 44%, rgba(62, 39, 102, 0.58) 0%, rgba(22, 13, 38, 0.86) 54%, #07050c 100%),
    #07050c;
  color: var(--text-light);
  overflow: hidden;
  padding: 68px clamp(20px, 4vw, 56px) 76px;
}

/* 夜空弯月、像素云与闪烁星星 */
.hero-sky-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.sky-moon {
  position: absolute;
  top: clamp(72px, 12vh, 118px);
  right: clamp(24px, 12vw, 180px);
  width: clamp(92px, 8.5vw, 132px);
  height: auto;
  image-rendering: pixelated;
  opacity: 0.94;
  animation: skyFloat 6.5s ease-in-out infinite alternate;
}

.sky-cloud-sm {
  position: absolute;
  top: clamp(320px, 54vh, 490px);
  left: clamp(18px, 6vw, 96px);
  width: clamp(68px, 6.2vw, 96px);
  height: auto;
  image-rendering: pixelated;
  opacity: 0.82;
  animation: skyFloat 7.5s ease-in-out -2.8s infinite alternate;
}

.sky-sparkle {
  position: absolute;
  color: #b79eff;
  font-size: 14px;
  line-height: 1;
  text-shadow: 0 0 10px rgba(195, 164, 255, 0.7);
  animation: twinkle 3.2s ease-in-out infinite;
}

.sp-1 { top: 22%; left: 25%; font-size: 13px; animation-delay: 0s; }
.sp-2 { top: 27%; left: 30%; font-size: 11px; opacity: 0.7; animation-delay: -1.1s; }
.sp-3 { top: 28%; right: 32%; font-size: 13px; animation-delay: -1.9s; }
.sp-4 { top: 58%; right: 20%; font-size: 12px; opacity: 0.75; animation-delay: -0.6s; }

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(calc(1 - var(--recede, 0) * 0.1)) translateY(calc(var(--recede, 0) * -18px));
  opacity: calc(1 - var(--recede, 0) * 0.74);
  transform-origin: center center;
  will-change: transform, opacity;
}

.hero-title-mobile {
  display: none;
}

/* 桌面端：Ya [角色+光环+书&掌机] mi 横排主舞台 */
.hero-stage {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(14px, 2.5vw, 38px);
}

.hero-letters-left {
  display: flex;
  justify-content: flex-end;
  padding-right: clamp(4px, 1.5vw, 22px);
}

.hero-letters-right {
  display: flex;
  justify-content: flex-start;
  padding-left: clamp(4px, 1.5vw, 22px);
}

.hero-word-img {
  height: clamp(128px, 17.5vw, 225px);
  width: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 12px 28px rgba(10, 4, 24, 0.7));
}

.hero-mi-img {
  /* mi 顶部多了一颗金星，高度略微放大与 Ya 齐平基线 */
  height: clamp(134px, 18.2vw, 234px);
  transform: translateY(-4px);
}

.hero-character-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 66px;
  padding-bottom: 18px;
}

/* 首屏气泡：白底浅紫像素框 + 末尾小紫心 */
.speech-bubble {
  position: relative;
  background: #ffffff;
  color: #1b1528;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  padding: 10px 18px;
  white-space: nowrap;
  box-shadow:
    0 -3px 0 0 #d9c8ff,
    0 3px 0 0 #b89ef5,
    -3px 0 0 0 #c9b5fa,
    3px 0 0 0 #c9b5fa,
    0 8px 22px rgba(15, 6, 36, 0.55);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, box-shadow 0.2s ease;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid #b89ef5;
}

.speech-bubble::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #ffffff;
  z-index: 1;
}

.bubble-heart {
  color: #9e7ce8;
  margin-left: 2px;
}

.hero-bubble {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.hero-bubble.is-tease {
  background: var(--accent-gold);
  color: #1b1528;
  transform: translateX(-50%) translateY(-4px);
  box-shadow:
    0 -3px 0 0 #ffe599,
    0 3px 0 0 #d99b1e,
    -3px 0 0 0 #f5b935,
    3px 0 0 0 #f5b935,
    0 10px 26px rgba(245, 185, 53, 0.35);
}

.hero-bubble.is-tease::before {
  border-top-color: var(--accent-gold);
}

.hero-bubble.is-tease::after {
  border-top-color: #d99b1e;
}

.hero-character-btn {
  background: transparent;
  border: 0;
  padding: 4px 10px 0;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-character-btn:hover,
.hero-character-btn:focus-visible {
  transform: translateY(-6px) scale(1.03);
}

.character-sprite-wrap {
  position: relative;
  display: block;
  width: clamp(106px, 10.6vw, 146px);
}

.char-img {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.65));
}

.char-smile {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.hero-character-btn:hover .char-smile,
.hero-character-btn:focus-visible .char-smile,
.hero-character-btn.is-smiling .char-smile {
  opacity: 1;
}

/* 脚下紫色魔法光环 */
.hero-magic-ring {
  position: relative;
  z-index: 2;
  width: clamp(138px, 14vw, 190px);
  height: 22px;
  margin-top: -10px;
  border-radius: 50%;
  border: 3px solid rgba(195, 164, 255, 0.85);
  background: radial-gradient(ellipse at center, rgba(168, 130, 255, 0.35), rgba(168, 130, 255, 0.04) 70%);
  box-shadow: 0 0 22px rgba(176, 138, 255, 0.65), inset 0 0 12px rgba(195, 164, 255, 0.45);
}

/* 右脚边紧挨光环：小书 + 紫色爱心小掌机（可点击彩蛋入口） */
.hero-mini-console-btn {
  position: absolute;
  right: -96px;
  bottom: 4px;
  z-index: 4;
  background: transparent;
  border: 0;
  padding: 4px;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-mini-console-btn:hover,
.hero-mini-console-btn:focus-visible {
  transform: translateY(-4px) rotate(-2deg) scale(1.06);
}

.hero-books-console-img {
  width: clamp(92px, 9.2vw, 126px);
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.65));
}

/* ==========================================================================
   舞台左右两翼：运动包（左）与年糕（右）
   ========================================================================== */
.hero-props-dock {
  position: relative;
  width: min(780px, 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: -90px;
  padding: 0 clamp(10px, 2vw, 24px);
  pointer-events: none;
  z-index: 4;
}

.gym-zone,
.cat-zone {
  pointer-events: auto;
  position: relative;
}

/* 左侧运动包 + 无框物理掉落一地 */
.gym-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gym-bag-btn {
  position: relative;
  z-index: 4;
  background: transparent;
  border: 0;
  padding: 4px;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.gym-bag-btn:hover,
.gym-bag-btn:focus-visible {
  transform: translateY(-5px) scale(1.05);
}

.gym-bag-img {
  width: clamp(86px, 8.4vw, 116px);
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.68));
}

.gym-zone.is-unzipping .gym-bag-img {
  animation: bagUnzipWiggle 0.42s ease;
}

/* 桌面端：彻底无框无标签，每件装备从包口正中按抛物线掉到包周围地面上 */
.gym-gear-tray {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gear-row {
  display: contents;
}

.gear-piece {
  position: absolute;
  left: 50%;
  top: 42%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
  transition: transform 0.32s cubic-bezier(0.4, 0, 1, 1), opacity 0.22s ease;
  will-change: transform, opacity;
}

.gear-sprite {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 6px rgba(0, 0, 0, 0.72));
}

/* 两支长球拍藏在包后侧(z-index: 2)斜靠探出，其余掉在包两侧及前方地面(z-index: 6~8) */
.piece-tennis-racket { width: 58px; z-index: 2; }
.piece-badminton-racket { width: 56px; z-index: 2; }
.piece-shuttlecock { width: 24px; z-index: 6; }
.piece-climbing { width: 56px; z-index: 6; }
.piece-goggles { width: 54px; z-index: 7; }
.piece-dumbbell { width: 56px; z-index: 7; }
.piece-tennis-ball { width: 23px; z-index: 8; }

/* 展开时各自执行专属抛物线掉落与落地手感 */
.gym-zone.is-open .piece-tennis-racket {
  animation: spillTennisRacket 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.06s forwards;
}
.gym-zone.is-open .piece-badminton-racket {
  animation: spillBadmintonRacket 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.14s forwards;
}
.gym-zone.is-open .piece-shuttlecock {
  animation: spillShuttlecock 0.64s ease-out 0.26s forwards;
}
.gym-zone.is-open .piece-climbing {
  animation: spillClimbing 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.30s forwards;
}
.gym-zone.is-open .piece-goggles {
  animation: spillGoggles 0.58s cubic-bezier(0.22, 1, 0.36, 1) 0.38s forwards;
}
.gym-zone.is-open .piece-dumbbell {
  animation: spillDumbbell 0.50s cubic-bezier(0.32, 0, 0.67, 0) 0.46s forwards;
}
.gym-zone.is-open .piece-tennis-ball {
  animation: spillTennisBall 0.88s ease-out 0.60s forwards;
}

/* 右侧：年糕猫 */
.cat-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 52px;
}

.cat-bubble {
  position: absolute;
  top: 0;
  right: -12px;
  white-space: nowrap;
  z-index: 12;
  font-size: 13px;
  padding: 8px 14px;
  animation: catBubblePop 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cat-bubble[hidden] {
  display: none;
}

.niangao-btn {
  position: relative;
  background: transparent;
  border: 0;
  padding: 4px;
  transition: transform 0.2s ease;
}

.niangao-btn:hover,
.niangao-btn:focus-visible {
  transform: translateY(-4px) scale(1.04);
}

.cat-frames {
  position: relative;
  display: block;
  width: clamp(98px, 9.6vw, 134px);
}

.cat-img {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.6));
  display: none;
}

.cat-img.is-active {
  display: block;
}

.cat-zzz {
  position: absolute;
  top: -8px;
  right: 4px;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 13px;
  color: var(--lavender);
  animation: floatZzz 2.2s ease-in-out infinite;
  pointer-events: none;
}

.cat-zone.is-awake .cat-zzz {
  display: none;
}

/* ==========================================================================
   底部常驻主介绍 + 双箭头向下入口
   ========================================================================== */
.hero-meta {
  margin-top: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-tagline-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tagline-line {
  width: clamp(44px, 7vw, 108px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(195, 164, 255, 0.72));
}

.tagline-line-r {
  background: linear-gradient(90deg, rgba(195, 164, 255, 0.72), transparent);
}

.tagline-star {
  color: #e4d8ff;
  font-size: 12px;
}

.hero-tagline {
  margin: 0;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-light);
}

.hero-identity {
  margin: 0;
  font-size: clamp(12px, 1.05vw, 14px);
  color: var(--text-light-muted);
  letter-spacing: 0.1em;
}

.hero-scroll-chevrons {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  color: #ffffff;
  text-decoration: none;
  animation: chevronFloat 1.8s ease-in-out infinite;
  transition: color 0.2s ease;
}

.hero-scroll-chevrons:hover,
.hero-scroll-chevrons:focus-visible {
  color: var(--accent-gold);
}

/* ==========================================================================
   首页隐藏掌机弹层
   ========================================================================== */
.handheld-modal[hidden] {
  display: none;
}

.handheld-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.handheld-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 12, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.22s ease both;
}

.handheld-dialog {
  position: relative;
  z-index: 2;
  width: min(740px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: popHandheld 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.handheld-dialog-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pixel-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
  background: rgba(245, 185, 53, 0.14);
  border: 2px solid rgba(245, 185, 53, 0.5);
  padding: 6px 12px;
}

.pixel-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  border: 2px solid #ffffff;
  box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.pixel-close-btn:hover,
.pixel-close-btn:focus-visible {
  transform: translate(-1px, -1px);
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.kbd-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 5px;
  background: rgba(10, 11, 14, 0.12);
}

.handheld-helper {
  margin: 0;
  font-size: 13px;
  color: var(--text-light-muted);
  text-align: center;
}

.handheld-helper kbd {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 通用掌机设备组件 */
.handheld-device {
  position: relative;
  width: 100%;
  max-width: 660px;
  user-select: none;
}

.handheld-shell {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}

.handheld-screen {
  position: absolute;
  left: 22.8%;
  top: 24.8%;
  width: 54.4%;
  height: 59.2%;
  overflow: hidden;
  background: #14151c;
  border: 0;
  padding: 0;
  display: block;
}

.handheld-screen-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  display: block;
}

.screen-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.14) 0 2px,
    transparent 2px 4px
  );
  pointer-events: none;
}

.screen-overlay-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  background: linear-gradient(180deg, transparent, rgba(8, 9, 14, 0.86) 45%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #ffffff;
  pointer-events: none;
}

.screen-game-name {
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.screen-prompt-pill {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.15vw, 12px);
  font-weight: 700;
  background: var(--accent-gold);
  color: #141418;
  padding: 3px 8px;
  border: 2px solid #141418;
  animation: promptPulse 1.15s steps(2, end) infinite;
}

.handheld-a-hotspot {
  position: absolute;
  left: 86.2%;
  top: 34.5%;
  width: 9.2%;
  height: 21.5%;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease;
}

.handheld-a-hotspot .a-label {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: clamp(13px, 1.8vw, 20px);
  color: #422700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.handheld-a-hotspot.is-flashing {
  box-shadow: 0 0 0 4px rgba(245, 185, 53, 0.9), 0 0 22px rgba(245, 185, 53, 0.95);
  animation: aButtonBlink 0.65s ease-in-out 3;
}

.handheld-a-hotspot:not(:disabled):hover,
.handheld-a-hotspot:not(:disabled):focus-visible {
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(245, 185, 53, 0.95), 0 0 24px rgba(245, 185, 53, 0.95);
}

.handheld-a-hotspot:disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ==========================================================================
   2. 上滑覆盖的暖白像素卡票幕布
   ========================================================================== */
.ticket-sheet {
  position: relative;
  z-index: 13;
  margin-top: -44px;
  background: var(--ground);
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.45), 0 28px 64px rgba(0, 0, 0, 0.56);
}

/* 顶部像素锯齿撕口边缘 */
.ticket-sheet::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--ground) 0 16px,
    transparent 16px 24px,
    var(--ground) 24px 56px,
    transparent 56px 64px
  );
  pointer-events: none;
}

/* 底部对称像素锯齿撕口边缘（衔接夜空页尾） */
.ticket-sheet::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
  z-index: 15;
  background: repeating-linear-gradient(
    90deg,
    var(--ground) 0 16px,
    transparent 16px 24px,
    var(--ground) 24px 56px,
    transparent 56px 64px
  );
  pointer-events: none;
}

.ticket-outro {
  position: relative;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) 18px;
}

.ticket-road-outro {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.ticket-intro {
  position: relative;
  max-width: 1220px;
  margin: 0 auto;
  padding: 14px clamp(20px, 4vw, 56px) 22px;
}

.ticket-road-peek {
  display: flex;
  justify-content: center;
  padding-bottom: 18px;
}

.pixel-road-strip {
  width: min(100%, 1140px);
  height: 14px;
  background:
    repeating-linear-gradient(
      90deg,
      #d6ccb8 0 18px,
      #e3dac7 18px 30px,
      #cbbda6 30px 42px,
      transparent 42px 54px
    );
  opacity: 0.88;
}

.ticket-stub-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #8c8475;
}

.ticket-dash-line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #cfc6b4 0 10px,
    transparent 10px 18px
  );
}

/* 像素迷你森林互动舞台（树木、草丛、小花与奶油小白兔） */
.ticket-scenery.forest-stage {
  position: relative;
  height: clamp(176px, 23vh, 224px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 6px;
  overflow: hidden;
  user-select: none;
}

.forest-bg-hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 52px;
  background:
    radial-gradient(ellipse 140px 44px at 16% 100%, rgba(158, 184, 139, 0.22) 0 98%, transparent 100%),
    radial-gradient(ellipse 180px 52px at 48% 100%, rgba(158, 184, 139, 0.18) 0 98%, transparent 100%),
    radial-gradient(ellipse 160px 46px at 82% 100%, rgba(158, 184, 139, 0.22) 0 98%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.pixel-cloud {
  position: absolute;
  image-rendering: pixelated;
  opacity: 0.85;
  animation: cloudDrift 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}

.pixel-cloud-1 {
  top: 10px;
  left: clamp(10%, 17vw, 22%);
}

.pixel-cloud-2 {
  top: 28px;
  right: clamp(12%, 20vw, 26%);
  animation-delay: -3.2s;
}

/* 中景掩体（树木与草丛）：层级 z-index: 6，高于躲藏状态的兔子(z-index: 5) */
.forest-shelter {
  position: absolute;
  bottom: 14px;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  pointer-events: none;
  z-index: 6;
}

.forest-shelter svg {
  display: block;
  image-rendering: pixelated;
}

.forest-shelter.is-rustling {
  animation: shelterRustle 0.42s ease-in-out;
}

/* 奶油小白兔：平时在路面上(z-index: 7)，躲进树/草丛背后时切为 z-index: 5 */
.forest-rabbit {
  position: absolute;
  left: 0;
  bottom: 15px;
  z-index: 7;
  pointer-events: none;
  will-change: transform;
}

.forest-rabbit.is-hiding {
  z-index: 5;
}

.rabbit-body-wrap {
  transform-origin: 50% 100%;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.forest-rabbit.is-hiding .rabbit-body-wrap {
  /* 脚底始终稳稳踩在地面上，只轻微团身蹲低藏在草丛/树干背后 */
  transform: scaleY(0.84) scaleX(1.04);
}

.forest-rabbit.is-peeking .rabbit-body-wrap {
  /* 脚底不离地，从草丛/树干侧面探出半张小脸张望 */
  transform: translateX(8px) scaleY(0.96);
}

.rabbit-svg {
  display: block;
  image-rendering: pixelated;
  filter: drop-shadow(0 3px 3px rgba(46, 37, 34, 0.16));
}

.forest-rabbit.is-hiding .rabbit-ears,
.forest-rabbit.is-peeking .rabbit-ears {
  transform-origin: 15px 9px;
  animation: earTwitch 1.9s ease-in-out infinite;
}

/* 像素尘土颗粒 */
.forest-dust-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

.forest-dust {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #d5cbb8;
  border-radius: 1px;
  animation: dustPop 0.42s ease-out forwards;
}

/* 路边像素小花（鼠标拂过轻晃） */
.forest-flowers {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 24px;
  pointer-events: none;
  z-index: 8;
}

.forest-flower {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  image-rendering: pixelated;
}

.forest-flower.sway-left {
  transform: translateX(-50%) rotate(-16deg);
}

.forest-flower.sway-right {
  transform: translateX(-50%) rotate(16deg);
}

.ticket-road-stage {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  width: 100%;
}

.ticket-main-road {
  flex: 1;
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    #cfc4ae 0 16px,
    #dfd6c4 16px 28px,
    #c0b39a 28px 40px,
    transparent 40px 50px
  );
  border-top: 2px solid #bfb39c;
}

@keyframes shelterRustle {
  0%, 100% { transform: translateX(-50%) rotate(0deg) scale(1); }
  25% { transform: translateX(-50%) rotate(-3deg) scale(1.03, 0.97); }
  60% { transform: translateX(-50%) rotate(3deg) scale(0.98, 1.03); }
}

@keyframes earTwitch {
  0%, 82%, 100% { transform: rotate(0deg); }
  88% { transform: rotate(-9deg); }
  94% { transform: rotate(5deg); }
}

@keyframes dustPop {
  0% { opacity: 0.9; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx, -10px), -10px) scale(0.3); }
}

/* ==========================================================================
   实习经历 · OLIVERA 风格 3D 透视滚筒展柜（桌面上下滚筒 · 手机左右轮播）
   ========================================================================== */
.light-world {
  background-color: var(--ground);
  color: var(--text-dark);
  position: relative;
}

.experience-section {
  padding: clamp(12px, 2.2vw, 28px) clamp(20px, 4vw, 56px) clamp(24px, 3.5vw, 44px);
}

.olivera-layout {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(290px, 0.86fr) minmax(460px, 1.24fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}

/* 左侧：大字公司标题 + 岗位与一句话介绍 + 圆形翻页控件 */
.olivera-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(32px, 5vh, 56px);
  min-height: 460px;
  padding: 20px 0;
}

.olivera-copy-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.olivera-copy-panel.is-swapping {
  animation: oliveraCopySwap 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes oliveraCopySwap {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.olivera-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-blue);
}

.olivera-company {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

.olivera-role {
  margin: 2px 0 0;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 700;
  color: #3a3731;
}

.olivera-desc {
  margin: 6px 0 0;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 440px;
}

.olivera-bottom-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.olivera-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.olivera-controls-mobile {
  display: none;
}

.olivera-arrow-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(22, 22, 26, 0.28);
  background: transparent;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.olivera-arrow-btn.is-primary {
  background: var(--text-dark);
  color: var(--ground);
  border-color: var(--text-dark);
}

.olivera-arrow-btn:hover,
.olivera-arrow-btn:focus-visible {
  transform: scale(1.07);
  background: var(--text-dark);
  color: var(--accent-gold);
  border-color: var(--text-dark);
}

.olivera-counter {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-left: 6px;
}

.olivera-counter .counter-sep {
  color: #9b9384;
}

.olivera-mini-yami-anchor {
  width: 82px;
  height: 170px;
  flex-shrink: 0;
  pointer-events: none;
}

/* ==========================================================================
   可拖拽像素桌宠 Yami（自由漫游于整张暖白卡票 · 含 5 套新姿势）
   ========================================================================== */
.yami-pet {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 36;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  outline: none;
}

.yami-pet:focus-visible .yami-pet-body {
  filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0)) drop-shadow(0 0 10px rgba(245, 185, 53, 0.9));
}

.yami-pet-body {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform-origin: 50% 100%;
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* 拖拽时改为以拎衣领手指为摆动圆心，实现自然钟摆摇晃 */
.yami-pet.is-dragging .yami-pet-body {
  transform-origin: 62% 11%;
  transition: none;
}

.yami-pet.is-perched .yami-pet-shadow {
  opacity: 0;
}

/* 拖拽接近大字/展柜顶边与展柜内部时的轻量落点微光提示 */
.olivera-company {
  transition: text-shadow 0.2s ease;
}

.olivera-company.is-drop-perch {
  text-shadow: 0 -6px 18px rgba(245, 185, 53, 0.55);
}

.showcase-slide.is-drop-perch {
  box-shadow: 0 -4px 0 0 rgba(245, 185, 53, 0.9), 0 22px 46px rgba(10, 8, 18, 0.24);
}

.showcase-slide.is-drop-zone {
  box-shadow: 0 0 0 3px rgba(195, 164, 255, 0.85), 0 24px 50px rgba(10, 8, 18, 0.28);
}

.pet-sprite {
  display: none;
  width: auto;
  height: 168px;
  image-rendering: pixelated;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(22, 22, 26, 0.18));
}

/* 各姿势按头部等比校准视觉高度，切换姿势时脸部大小始终稳定 */
.pet-sprite[data-pose="idle"],
.pet-sprite[data-pose="smile"] {
  height: 168px;
}

.pet-sprite[data-pose="drag"] {
  height: 184px;
}

.pet-sprite[data-pose="sit-edge"] {
  height: 158px;
}

.pet-sprite[data-pose="sit-floor"] {
  height: 146px;
}

.pet-sprite[data-pose="dizzy"] {
  height: 176px;
}

.pet-sprite[data-pose="happy"] {
  height: 172px;
}

.yami-pet[data-pose="idle"] .pet-sprite[data-pose="idle"],
.yami-pet[data-pose="smile"] .pet-sprite[data-pose="smile"],
.yami-pet[data-pose="drag"] .pet-sprite[data-pose="drag"],
.yami-pet[data-pose="sit-edge"] .pet-sprite[data-pose="sit-edge"],
.yami-pet[data-pose="sit-floor"] .pet-sprite[data-pose="sit-floor"],
.yami-pet[data-pose="dizzy"] .pet-sprite[data-pose="dizzy"],
.yami-pet[data-pose="happy"] .pet-sprite[data-pose="happy"] {
  display: block;
}

/* 脚底投影：悬空拖拽时变淡缩小，落地/坐下时贴地 */
.yami-pet-shadow {
  width: 58px;
  height: 11px;
  margin-top: -6px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(22, 22, 26, 0.24), transparent 72%);
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.yami-pet.is-dragging .yami-pet-shadow {
  transform: scale(0.62) translateY(14px);
  opacity: 0.35;
}

.yami-pet.is-sitting-edge .yami-pet-shadow {
  opacity: 0;
}

.yami-pet.is-sitting-floor .yami-pet-shadow {
  width: 78px;
  transform: scale(1.06);
}

/* 桌宠头顶轻量像素气泡 */
.yami-pet-bubble {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #1b1528;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  padding: 6px 12px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow:
    0 -2px 0 0 #d9c8ff,
    0 2px 0 0 #b89ef5,
    -2px 0 0 0 #c9b5fa,
    2px 0 0 0 #c9b5fa,
    0 8px 18px rgba(22, 22, 26, 0.14);
  animation: petBubblePop 0.22s cubic-bezier(0.22, 1.3, 0.36, 1) both;
}

.yami-pet-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #b89ef5;
}

.yami-pet-bubble::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #ffffff;
  z-index: 1;
}

.yami-pet-bubble[hidden] {
  display: none;
}

/* 状态专属微动效：落地 Q 弹、开心星跃、坐姿轻晃、晕眩打转 */
.yami-pet.is-landing .yami-pet-body {
  animation: petLandSquash 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.yami-pet.is-reacting .yami-pet-body {
  animation: petHappyJump 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.yami-pet.is-sitting-edge .yami-pet-body {
  animation: petEdgeSway 2.4s ease-in-out infinite;
}

.yami-pet.is-dizzy .yami-pet-body {
  animation: petDizzyWobble 0.45s ease-in-out infinite;
}

@keyframes petBubblePop {
  from { opacity: 0; transform: translateX(-50%) translateY(6px) scale(0.85); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes petLandSquash {
  0% { transform: scale(1, 1); }
  32% { transform: scale(1.16, 0.84); }
  68% { transform: scale(0.95, 1.06); }
  100% { transform: scale(1, 1); }
}

@keyframes petHappyJump {
  0%, 100% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-18px) scale(1.04); }
  75% { transform: translateY(2px) scale(1.06, 0.94); }
}

@keyframes petEdgeSway {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
}

@keyframes petDizzyWobble {
  0%, 100% { transform: rotate(-4deg) translateX(-2px); }
  50% { transform: rotate(4deg) translateX(2px); }
}

@media (max-width: 960px) {
  .yami-pet {
    display: none;
  }
}

/* 右侧：OLIVERA 3D 垂直透视滚筒展柜（去白雾遮罩 · 强梯形透视 · 大面积上下露头） */
.olivera-stage {
  position: relative;
  height: clamp(620px, 82vh, 760px);
  perspective: 820px;
  perspective-origin: 50% 50%;
  overflow: hidden;
  border-radius: 0;
}

.olivera-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* 两深一浅高反差网格圆角展柜卡片 */
.showcase-slide {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 54%;
  margin-top: 0;
  border-radius: 20px;
  padding: 20px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-size: 32px 32px, 32px 32px, 100% 100%;
  box-shadow: 0 22px 46px rgba(10, 8, 18, 0.22);
  transform-style: preserve-3d;
  transition:
    transform 0.68s cubic-bezier(0.22, 1.08, 0.36, 1),
    opacity 0.42s ease,
    filter 0.42s ease,
    box-shadow 0.42s ease;
  will-change: transform, opacity;
}

/* 第 1 站（深色）：深蓝夜空电竞网格 */
.slide-kuaishou {
  background-color: #0d152b;
  border: 1px solid rgba(132, 174, 255, 0.18);
  background-image:
    linear-gradient(rgba(132, 174, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 174, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(58, 122, 255, 0.28), transparent 68%);
}

/* 第 2 站（浅色）：暖奶油亮白纸感网格（与上下深卡形成强烈明暗反差） */
.slide-didi {
  background-color: #fffdf7;
  border: 1px solid rgba(22, 22, 26, 0.1);
  box-shadow: 0 20px 44px rgba(42, 30, 14, 0.13);
  background-image:
    linear-gradient(rgba(214, 140, 68, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 140, 68, 0.13) 1px, transparent 1px),
    radial-gradient(circle at 50% 52%, rgba(245, 185, 53, 0.15), transparent 66%);
}

/* 第 3 站（深色）：深紫复古街机网格 */
.slide-avia {
  background-color: #170e2a;
  border: 1px solid rgba(195, 164, 255, 0.2);
  background-image:
    linear-gradient(rgba(195, 164, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195, 164, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(168, 120, 255, 0.3), transparent 68%);
}

/* 第 4 站（浅色）：暖白烫金网格（三创赛全国一等奖） */
.slide-sanchuang {
  background-color: #fdfaf2;
  border: 1px solid rgba(186, 146, 56, 0.28);
  box-shadow: 0 20px 44px rgba(42, 30, 14, 0.14);
  background-image:
    linear-gradient(rgba(198, 156, 62, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 156, 62, 0.13) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(245, 185, 53, 0.18), transparent 68%);
}

/* 第 5 站（深色）：深暖胶片暗房网格（猫咪美照收集家） */
.slide-cats {
  background-color: #1b1312;
  border: 1px solid rgba(255, 204, 158, 0.18);
  background-image:
    linear-gradient(rgba(255, 204, 158, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 204, 158, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(235, 134, 82, 0.26), transparent 68%);
}

/* 3D 滚筒五站循环：正中聚焦(0)、上方倒梯形露头(-1)、下方正梯形露头(+1)、背面隐藏(hidden) */
.showcase-slide[data-pos="0"] {
  transform: translate3d(0, -50%, 0) rotateX(0deg) scale(1);
  opacity: 1;
  filter: none;
  z-index: 4;
  pointer-events: auto;
}

.showcase-slide[data-pos="-1"] {
  transform: translate3d(0, -162%, -48px) rotateX(-24deg) scale(0.97);
  opacity: 0.92;
  filter: url(#olivera-chroma-blur);
  z-index: 2;
  pointer-events: auto;
}

.showcase-slide[data-pos="1"] {
  transform: translate3d(0, 62%, -48px) rotateX(24deg) scale(0.97);
  opacity: 0.92;
  filter: url(#olivera-chroma-blur);
  z-index: 2;
  pointer-events: auto;
}

.showcase-slide[data-pos="hidden"] {
  transform: translate3d(0, -50%, -260px) scale(0.76);
  opacity: 0;
  filter: none;
  z-index: 0;
  pointer-events: none;
}

.showcase-slide[data-pos="-1"] button,
.showcase-slide[data-pos="1"] button,
.showcase-slide[data-pos="hidden"] button {
  pointer-events: none;
}

.showcase-corner-meta {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(246, 244, 239, 0.5);
  pointer-events: none;
}

.slide-didi .showcase-corner-meta,
.slide-sanchuang .showcase-corner-meta {
  color: rgba(22, 22, 26, 0.46);
}

/* 展柜内部的道具适配深色底 / 浅色底 */
.showcase-slide .replay-hint {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(246, 244, 239, 0.84);
  border-color: rgba(255, 255, 255, 0.22);
}

.slide-didi .replay-hint,
.slide-sanchuang .replay-hint {
  background: #f3ede0;
  color: #3a3731;
  border-color: #d8d0bf;
}

/* ----- 站4：三创赛国一立体裱框证书 & 放大弹层 ----- */
.cert-frame-btn {
  position: relative;
  background: transparent;
  border: 0;
  padding: 6px 12px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cert-mat {
  position: relative;
  display: block;
  padding: 8px;
  background: linear-gradient(145deg, #f8e5b4, #cfa049 52%, #f4da98);
  border-radius: 8px;
  box-shadow:
    0 18px 34px rgba(42, 30, 14, 0.24),
    inset 0 0 0 2px rgba(255, 255, 255, 0.6);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.cert-frame-btn:hover .cert-mat,
.cert-frame-btn:focus-visible .cert-mat,
.cert-frame-btn.is-shining .cert-mat {
  transform: translateY(-6px) rotate(-1.2deg) scale(1.03);
  box-shadow:
    0 24px 44px rgba(42, 30, 14, 0.3),
    0 0 24px rgba(245, 185, 53, 0.45),
    inset 0 0 0 2px rgba(255, 255, 255, 0.78);
}

.cert-thumb-img {
  width: auto;
  height: clamp(205px, 31vh, 268px);
  display: block;
  border-radius: 3px;
  background: #ffffff;
}

.cert-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 22%, rgba(255, 255, 255, 0.42) 48%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.cert-frame-btn:hover .cert-sheen,
.cert-frame-btn.is-shining .cert-sheen {
  transform: translateX(130%);
}

.cert-modal[hidden] {
  display: none;
}

.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cert-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(540px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: popHandheld 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cert-modal-frame {
  padding: 10px;
  background: linear-gradient(145deg, #f8e5b4, #cfa049 52%, #f4da98);
  border-radius: 10px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

.cert-modal-img {
  display: block;
  max-height: 76vh;
  width: auto;
  max-width: 100%;
  border-radius: 4px;
}

/* ----- 站5：猫咪美照收集家 · 横向景深画廊 + 3 种相框效果 ----- */
.cat-gallery-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
}

.cat-coverflow-view {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  user-select: none;
  touch-action: pan-y;
}

.cat-cf-stage {
  position: relative;
  width: 100%;
  height: clamp(214px, 30vh, 258px);
  overflow: visible;
}

.cat-cf-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(150px, 15vw, 184px);
  height: clamp(196px, 27vh, 236px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.46);
  transition:
    transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.36s ease,
    filter 0.36s ease,
    padding 0.25s ease,
    background 0.25s ease,
    border-radius 0.25s ease;
  will-change: transform, opacity;
}

.cat-cf-stage.is-dragging .cat-cf-card {
  transition: none;
}

.cat-cf-photo {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  display: block;
  background: #2b2321;
}

.cat-cf-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.cat-cf-stamp {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  pointer-events: none;
  user-select: none;
}

/* 相框 1：复古暖白拍立得相纸框 */
.cat-gallery-wrap[data-frame="polaroid"] .cat-cf-card {
  background: #fdfbf6;
  padding: 7px 7px 26px;
  border-radius: 4px;
}

.cat-gallery-wrap[data-frame="polaroid"] .cat-cf-photo {
  border-radius: 2px;
}

.cat-gallery-wrap[data-frame="polaroid"] .cat-cf-stamp {
  position: absolute;
  right: 9px;
  bottom: 6px;
  color: #7c7366;
}

/* 相框 2：迷你美术馆细金画框（哑光香槟金外框 + 暖白卡纸内衬 + 居中射灯微光） */
.cat-gallery-wrap[data-frame="gallery"] .cat-cf-card {
  background: linear-gradient(145deg, #f5e0a8, #b58838 50%, #ebd08c);
  padding: 5px;
  border-radius: 4px;
  box-shadow:
    0 20px 38px rgba(0, 0, 0, 0.54),
    inset 0 0 0 1px rgba(255, 250, 232, 0.65);
}

.cat-gallery-wrap[data-frame="gallery"] .cat-cf-photo {
  border: 5px solid #f7f3e8;
  border-radius: 1px;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.25);
}

.cat-gallery-wrap[data-frame="gallery"] .cat-cf-card[data-slot="0"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 244, 210, 0.28), transparent 62%);
  pointer-events: none;
  border-radius: 4px;
}

.cat-gallery-wrap[data-frame="gallery"] .cat-cf-stamp {
  display: none;
}

/* 相框 3：35mm 复古胶片幻灯片框（厚卡纸四边等宽 + 圆角内窗口 + 胶片印字） */
.cat-gallery-wrap[data-frame="slide"] .cat-cf-card {
  background: #ece6d9;
  padding: 16px 11px 18px;
  border-radius: 7px;
  border: 1px solid rgba(90, 78, 64, 0.28);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.cat-gallery-wrap[data-frame="slide"] .cat-cf-photo {
  border-radius: 6px;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.5);
}

.cat-gallery-wrap[data-frame="slide"] .cat-cf-stamp {
  position: absolute;
  left: 11px;
  top: 3px;
  font-size: 9px;
  color: #a64b36;
  letter-spacing: 0.12em;
}

.cat-gallery-wrap[data-frame="slide"] .cat-cf-stamp::before {
  content: "35MM · ";
}

/* 5 槽位横向景深排布 */
.cat-cf-card[data-slot="0"] {
  transform: translate3d(calc(-50% + var(--drag-x, 0px)), -50%, 0) scale(1);
  opacity: 1;
  filter: none;
  z-index: 5;
}

.cat-cf-card[data-slot="-1"] {
  transform: translate3d(calc(-50% - 152px + var(--drag-x, 0px)), -50%, 0) scale(0.8);
  opacity: 0.76;
  filter: saturate(0.6) brightness(0.82) blur(0.6px);
  z-index: 3;
}

.cat-cf-card[data-slot="1"] {
  transform: translate3d(calc(-50% + 152px + var(--drag-x, 0px)), -50%, 0) scale(0.8);
  opacity: 0.76;
  filter: saturate(0.6) brightness(0.82) blur(0.6px);
  z-index: 3;
}

.cat-cf-card[data-slot="-2"] {
  transform: translate3d(calc(-50% - 258px + var(--drag-x, 0px)), -50%, 0) scale(0.62);
  opacity: 0.36;
  filter: grayscale(0.7) brightness(0.72) blur(1.4px);
  z-index: 1;
}

.cat-cf-card[data-slot="2"] {
  transform: translate3d(calc(-50% + 258px + var(--drag-x, 0px)), -50%, 0) scale(0.62);
  opacity: 0.36;
  filter: grayscale(0.7) brightness(0.72) blur(1.4px);
  z-index: 1;
}

.cat-cf-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cat-cf-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 224, 178, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #fdf6ec;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.cat-cf-arrow:hover,
.cat-cf-arrow:focus-visible {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #16161a;
  transform: scale(1.08);
}

.cat-cf-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(253, 246, 236, 0.85);
}

/* 相框对比切换胶囊 */
.cat-mode-pills {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 224, 178, 0.18);
}

.cat-mode-pill {
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(253, 246, 236, 0.72);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.cat-mode-pill.is-active {
  background: var(--accent-gold);
  color: #16161a;
}

@media (max-width: 960px) {
  .cat-cf-card[data-slot="-1"] {
    transform: translate3d(calc(-50% - 112px + var(--drag-x, 0px)), -50%, 0) scale(0.78);
  }
  .cat-cf-card[data-slot="1"] {
    transform: translate3d(calc(-50% + 112px + var(--drag-x, 0px)), -50%, 0) scale(0.78);
  }
  .cat-cf-card[data-slot="-2"],
  .cat-cf-card[data-slot="2"] {
    opacity: 0;
    pointer-events: none;
  }
}

.showcase-slide .prop-stage:hover .replay-hint,
.showcase-slide .prop-stage:focus-visible .replay-hint {
  background: var(--accent-gold);
  color: #16161a;
  border-color: var(--accent-gold);
}

.showcase-slide .avia-hint {
  color: rgba(246, 244, 239, 0.72);
}

.showcase-slide .channel-switch-btn {
  background: rgba(255, 255, 255, 0.94);
  border-color: #ffffff;
  box-shadow: 3px 3px 0 rgba(195, 164, 255, 0.5);
}

.station-prop-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* 手机端严格复刻 OLIVERA 图一：上居中标题 · 中横向3D轮播 · 下 ← 01/03 → */
@media (max-width: 960px) {
  .experience-section {
    padding: 12px 0 24px;
  }

  .olivera-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .olivera-info-col {
    min-height: auto;
    align-items: center;
    text-align: center;
    padding: 0 18px;
    gap: 6px;
  }

  .olivera-copy-panel {
    align-items: center;
    gap: 5px;
  }

  .olivera-eyebrow {
    font-size: 11px;
  }

  .olivera-company {
    font-size: clamp(28px, 7.5vw, 36px);
  }

  .olivera-role {
    font-size: 14px;
    margin-top: 0;
  }

  .olivera-desc {
    font-size: 13px;
    line-height: 1.55;
    margin-top: 2px;
  }

  .olivera-bottom-bar {
    display: none;
  }

  .olivera-controls-mobile {
    display: flex;
    justify-content: center;
    margin-top: 2px;
  }

  .olivera-arrow-btn {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .olivera-stage {
    height: 276px;
    perspective: 720px;
  }

  .showcase-slide {
    top: 4%;
    height: 92%;
    left: 11%;
    right: 11%;
    padding: 12px 12px;
    border-radius: 16px;
  }

  .showcase-corner-meta {
    top: 10px;
    left: 14px;
    right: 14px;
    font-size: 9px;
  }

  .showcase-slide .phone-wrap {
    width: 96px;
  }

  .showcase-slide .didi-wrap {
    width: 146px;
    padding-top: 12px;
  }

  .showcase-slide .avia-console-group,
  .showcase-slide .avia-handheld-device {
    max-width: 244px;
  }

  .showcase-slide .avia-handheld-stage {
    gap: 6px;
  }

  .showcase-slide .channel-switch-btn {
    padding: 5px 12px;
    font-size: 12px;
  }

  .showcase-slide .avia-hint {
    font-size: 11px;
  }

  .showcase-slide .cert-thumb-img {
    height: 162px;
  }

  .showcase-slide .cat-gallery-wrap {
    padding-top: 8px;
    gap: 6px;
  }

  .showcase-slide .cat-cf-stage {
    height: 168px;
  }

  .showcase-slide .cat-cf-card {
    width: 118px;
    height: 152px;
  }

  .showcase-slide[data-pos="0"] {
    transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
    opacity: 1;
    filter: none;
  }

  .showcase-slide[data-pos="-1"] {
    transform: translate3d(-106%, 0, -56px) rotateY(20deg) scale(0.92);
    opacity: 0.86;
    filter: url(#olivera-chroma-blur);
  }

  .showcase-slide[data-pos="1"] {
    transform: translate3d(106%, 0, -56px) rotateY(-20deg) scale(0.92);
    opacity: 0.86;
    filter: url(#olivera-chroma-blur);
  }

  .showcase-slide[data-pos="hidden"] {
    transform: translate3d(0, 0, -240px) scale(0.75);
    opacity: 0;
    pointer-events: none;
  }
}

.prop-stage {
  position: relative;
  background: transparent;
  border: 0;
  padding: 6px 10px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 12px;
}

.prop-img {
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 20px rgba(22, 22, 26, 0.14));
}

.replay-hint {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--ground-alt);
  padding: 3px 10px;
  border: 1px solid var(--ground-border);
  opacity: 0.78;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.prop-stage:hover .replay-hint,
.prop-stage:focus-visible .replay-hint {
  opacity: 1;
  background: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

/* ----- 站1：快手剪辑手机动效（缩小完整入框，四周留出网格呼吸感） ----- */
.phone-wrap {
  position: relative;
  display: inline-block;
  width: clamp(122px, 11.8vw, 150px);
}

.phone-img {
  width: 100%;
  height: auto;
}

.phone-timeline-track {
  position: absolute;
  left: 16%;
  right: 16%;
  top: 57.5%;
  height: 18%;
  pointer-events: none;
}

.phone-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8%;
  width: 3px;
  background: #ffe066;
  box-shadow: 0 0 8px rgba(255, 224, 102, 0.9);
  border-radius: 2px;
  opacity: 0;
}

.phone-playhead::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #ffe066;
  border: 2px solid #2b2338;
}

.phone-publish-glow {
  position: absolute;
  right: 13.5%;
  bottom: 10.5%;
  width: 24%;
  height: 12.5%;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  border: 2px solid #ffe066;
  box-shadow: 0 0 16px rgba(72, 149, 255, 0.95), 0 0 8px rgba(255, 224, 102, 0.9);
}

.prop-kuaishou.is-playing .phone-playhead {
  opacity: 1;
  animation: kuaishouSlide 1.15s cubic-bezier(0.32, 0, 0.25, 1) forwards;
}

.prop-kuaishou.is-playing .phone-publish-glow {
  animation: publishLightUp 0.65s ease-out 1.05s forwards;
}

.prop-kuaishou.is-done .phone-playhead {
  opacity: 1;
  left: 92%;
}

.prop-kuaishou.is-done .phone-publish-glow {
  opacity: 1;
}

/* ----- 站2：滴滴外卖袋与优惠券动效 ----- */
.didi-wrap {
  position: relative;
  display: inline-block;
  width: clamp(176px, 18vw, 228px);
  padding-top: 22px;
}

.didi-bag-img {
  width: 84%;
  height: auto;
  margin: 0 auto;
}

.didi-coupon-img {
  position: absolute;
  top: 2px;
  right: -6px;
  width: 56%;
  height: auto;
  transform-origin: center center;
  opacity: 0;
  transform: translate(48px, -58px) rotate(24deg) scale(0.88);
}

.prop-didi.is-playing .didi-coupon-img {
  animation: couponGlideIn 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.prop-didi.is-done .didi-coupon-img {
  opacity: 1;
  transform: translate(0, 0) rotate(-10deg) scale(1);
}

/* ----- 站3：AviaGames 掌机 + 换台键 ----- */
.avia-console-group {
  width: 100%;
  max-width: 336px;
}

.avia-handheld-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.avia-handheld-device {
  max-width: 336px;
}

.avia-handheld-device .handheld-shell {
  filter: drop-shadow(0 14px 22px rgba(22, 22, 26, 0.16));
}

.avia-screen-btn .avia-art-cards,
.avia-screen-btn .avia-art-brain,
.avia-screen-btn .avia-overlay-cards,
.avia-screen-btn .avia-overlay-brain {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.avia-screen-btn .avia-overlay-cards,
.avia-screen-btn .avia-overlay-brain {
  inset: auto 0 0 0;
}

.avia-handheld-stage.is-done[data-channel="cards"] .avia-art-cards,
.avia-handheld-stage.is-done[data-channel="cards"] .avia-overlay-cards {
  opacity: 1;
}

.avia-handheld-stage.is-done[data-channel="brain"] .avia-art-brain,
.avia-handheld-stage.is-done[data-channel="brain"] .avia-overlay-brain {
  opacity: 1;
}

.screen-boot-flash {
  position: absolute;
  inset: 0;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
}

.avia-handheld-stage.is-booting .screen-boot-flash {
  animation: crtBootFlash 0.65s ease-out forwards;
}

.screen-static-noise {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.65) 0 3px, rgba(20,20,28,0.85) 3px 6px),
    repeating-linear-gradient(90deg, rgba(245,185,53,0.35) 0 4px, transparent 4px 8px);
}

.avia-handheld-stage.is-switching .screen-static-noise {
  animation: channelStatic 0.3s steps(4, end) forwards;
}

.avia-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.channel-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ffffff;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 13px;
  border: 2px solid var(--text-dark);
  box-shadow: 3px 3px 0 var(--text-dark);
  transition: transform 0.14s ease, background-color 0.14s ease, box-shadow 0.14s ease;
}

.channel-switch-btn:hover,
.channel-switch-btn:focus-visible {
  transform: translate(-1px, -1px);
  background: var(--accent-gold);
  box-shadow: 4px 4px 0 var(--text-dark);
}

.channel-switch-btn[aria-pressed="true"] {
  background: var(--text-dark);
  color: var(--accent-gold);
}

.channel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.channel-switch-btn[aria-pressed="true"] .channel-dot {
  background: #4ce08a;
}

.avia-hint {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   3. 魔法夜空联系方式页尾（与首屏呼应）
   ========================================================================== */
.site-footer {
  position: sticky;
  bottom: 0;
  z-index: 0;
  min-height: 76svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 58% 54% at 50% 42%, rgba(62, 39, 102, 0.56) 0%, rgba(20, 12, 34, 0.9) 56%, #07050c 100%),
    #07050c;
  color: #ffffff;
  padding: clamp(96px, 12vw, 148px) clamp(20px, 5vw, 72px) clamp(56px, 7vw, 88px);
  overflow: hidden;
}

.footer-sky-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.footer-moon {
  position: absolute;
  top: clamp(48px, 8vh, 88px);
  right: clamp(24px, 11vw, 160px);
  width: clamp(84px, 7.8vw, 122px);
  height: auto;
  image-rendering: pixelated;
  opacity: 0.92;
  animation: skyFloat 6.5s ease-in-out infinite alternate;
}

.footer-cloud-sm {
  position: absolute;
  top: 52%;
  left: clamp(12px, 4vw, 56px);
  width: clamp(64px, 5.5vw, 88px);
  height: auto;
  image-rendering: pixelated;
  opacity: 0.78;
  animation: skyFloat 7.5s ease-in-out -2.4s infinite alternate;
}

.fsp-1 { top: 24%; left: 17%; font-size: 13px; }
.fsp-2 { top: 29%; left: 21%; font-size: 10px; opacity: 0.7; animation-delay: -1.3s; }

.footer-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 6vw, 76px);
  transform: none;
  opacity: 1;
}

.footer-display-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
}

/* 两行大字随滚动进度从画面左右外侧对向滑入合体 */
.footer-headline-split {
  width: min(100%, 1240px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.footer-headline-line {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: pixelated;
  filter: drop-shadow(0 16px 32px rgba(8, 3, 20, 0.75));
  will-change: transform, opacity;
}

.footer-line-top {
  transform: translate3d(calc((1 - var(--reveal, 1)) * -38vw), 0, 0);
  opacity: calc(0.15 + var(--reveal, 1) * 0.85);
}

.footer-line-bottom {
  transform: translate3d(calc((1 - var(--reveal, 1)) * 38vw), 0, 0);
  opacity: calc(0.15 + var(--reveal, 1) * 0.85);
}

.footer-subtitle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translate3d(0, calc((1 - var(--reveal, 1)) * 72px), 0) scale(calc(0.94 + var(--reveal, 1) * 0.06));
  opacity: calc(0.08 + var(--reveal, 1) * 0.92);
  will-change: transform, opacity;
}

.footer-subtitle {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.3vw, 17px);
  color: rgba(246, 244, 239, 0.88);
  letter-spacing: 0.04em;
  text-align: center;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  transform: translate3d(0, calc((1 - var(--reveal, 1)) * 64px), 0);
  opacity: calc(0.06 + var(--reveal, 1) * 0.94);
  will-change: transform, opacity;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  will-change: transform;
}

.contact-email {
  transform: translate3d(calc((1 - var(--reveal, 1)) * -22vw), calc((1 - var(--reveal, 1)) * 36px), 0);
}

.contact-wechat {
  align-items: center;
  text-align: center;
  transform: translate3d(0, calc((1 - var(--reveal, 1)) * 96px), 0) scale(calc(0.84 + var(--reveal, 1) * 0.16));
}

.contact-phone {
  text-align: right;
  align-items: flex-end;
  transform: translate3d(calc((1 - var(--reveal, 1)) * 22vw), calc((1 - var(--reveal, 1)) * 36px), 0);
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
  user-select: none;
}

.contact-value {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(17px, 1.85vw, 22px);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
  user-select: text;
  -webkit-user-select: text;
  cursor: pointer !important;
  transition: color 0.18s ease;
}

.contact-value:hover {
  color: var(--accent-gold);
}

.wechat-qr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  white-space: nowrap;
  border-radius: 999px;
  border: 1.5px solid rgba(195, 164, 255, 0.55);
  background: rgba(195, 164, 255, 0.12);
  color: #f6f4ef;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.wechat-qr-btn:hover,
.wechat-qr-btn:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #16161a;
}

.wechat-dot {
  color: var(--lavender);
  font-size: 12px;
}

.wechat-qr-btn:hover .wechat-dot,
.wechat-qr-btn:focus-visible .wechat-dot {
  color: #16161a;
}

/* 微信按钮上方的简历 PDF 轻气泡（与首屏像素气泡同源风格） */
.contact-wechat {
  position: relative;
}

.wechat-resume-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #1b1528;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  padding: 6px 13px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow:
    0 -2px 0 0 #d9c8ff,
    0 2px 0 0 #b89ef5,
    -2px 0 0 0 #c9b5fa,
    2px 0 0 0 #c9b5fa,
    0 8px 20px rgba(10, 4, 24, 0.55);
  animation: wechatBubbleFloat 3s ease-in-out infinite;
}

.wechat-resume-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #b89ef5;
}

.wechat-resume-bubble::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #ffffff;
  z-index: 1;
}

@keyframes wechatBubbleFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

/* 条件触发：逛完全站没点过游戏时才在页尾浮出的彩蛋提示条 */
.footer-game-nudge[hidden] {
  display: none;
}

.footer-game-nudge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(245, 185, 53, 0.12);
  border: 1px solid rgba(245, 185, 53, 0.45);
  color: #ffe7a3;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.36);
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  animation: nudgePopIn 0.42s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}

.footer-game-nudge:hover,
.footer-game-nudge:focus-visible {
  transform: translateY(-2px) scale(1.02);
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #16161a;
}

.nudge-console-icon {
  width: 28px;
  height: auto;
  image-rendering: pixelated;
  flex-shrink: 0;
}

.nudge-arrow {
  font-size: 14px;
  transition: transform 0.18s ease;
}

.footer-game-nudge:hover .nudge-arrow {
  transform: translateX(3px);
}

@keyframes nudgePopIn {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 微信二维码弹层 & 猫咪 35mm 高清大图弹层 */
.wechat-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(360px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: popHandheld 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wechat-qr-card {
  padding: 14px;
  background: #fdfbf6;
  border-radius: 14px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

.wechat-qr-img {
  display: block;
  width: min(290px, 72vw);
  height: auto;
  border-radius: 8px;
}

.cat-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: popHandheld 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cat-modal-slide-frame {
  padding: 16px 14px 18px;
  background: #ece6d9;
  border-radius: 10px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.58);
}

.cat-modal-img {
  display: block;
  max-height: 74vh;
  width: auto;
  max-width: 100%;
  border-radius: 6px;
}

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 300;
  background: #16161a;
  color: #ffffff;
  border: 2px solid var(--accent-gold);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  max-width: 90vw;
  text-align: center;
}

/* ==========================================================================
   关键帧动画
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popHandheld {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes promptPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@keyframes aButtonBlink {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(245, 185, 53, 0.3), 0 0 8px rgba(245, 185, 53, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(245, 185, 53, 0.95), 0 0 28px rgba(245, 185, 53, 1);
  }
}

@keyframes charHop {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-10px); }
}

@keyframes kuaishouSlide {
  0% { left: 8%; }
  100% { left: 92%; }
}

@keyframes publishLightUp {
  0% { opacity: 0; transform: scale(0.86); }
  55% { opacity: 1; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes couponGlideIn {
  0% {
    opacity: 0;
    transform: translate(56px, -68px) rotate(24deg) scale(0.86);
  }
  45% {
    opacity: 1;
    transform: translate(12px, -22px) rotate(-14deg) scale(1.03);
  }
  72% {
    opacity: 1;
    transform: translate(-4px, -6px) rotate(-4deg) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(-10deg) scale(1);
  }
}

@keyframes crtBootFlash {
  0% { opacity: 1; transform: scaleY(0.08); }
  35% { opacity: 0.95; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); }
}

@keyframes channelStatic {
  0% { opacity: 0.92; background-position: 0 0; }
  50% { opacity: 0.85; background-position: 8px 12px; }
  100% { opacity: 0; background-position: 0 0; }
}

@keyframes bagUnzipWiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-3deg) scale(1.06, 0.92); }
  55% { transform: rotate(5deg) scale(0.95, 1.07); }
  80% { transform: rotate(-2deg) scale(1.02, 0.98); }
}

/* 网球拍从包口向左后侧探出斜靠 */
@keyframes spillTennisRacket {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.25) rotate(0deg); }
  35% { opacity: 1; transform: translate(calc(-50% - 36px), calc(-50% - 54px)) scale(1.04) rotate(-30deg); }
  100% { opacity: 1; transform: translate(calc(-50% - 56px), calc(-50% - 22px)) scale(1) rotate(-24deg); }
}

/* 羽毛球拍从包口向右后侧探出斜靠 */
@keyframes spillBadmintonRacket {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.25) rotate(0deg); }
  35% { opacity: 1; transform: translate(calc(-50% + 36px), calc(-50% - 52px)) scale(1.04) rotate(26deg); }
  100% { opacity: 1; transform: translate(calc(-50% + 56px), calc(-50% - 20px)) scale(1) rotate(20deg); }
}

/* 羽毛球轻飘飘落到羽毛球拍外侧地面 */
@keyframes spillShuttlecock {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3) rotate(-20deg); }
  38% { opacity: 1; transform: translate(calc(-50% + 66px), calc(-50% - 44px)) scale(1) rotate(32deg); }
  76% { opacity: 1; transform: translate(calc(-50% + 92px), calc(-50% + 26px)) scale(1.04, 0.94) rotate(16deg); }
  100% { opacity: 1; transform: translate(calc(-50% + 94px), calc(-50% + 22px)) scale(1) rotate(20deg); }
}

/* 攀岩鞋向左抛物线落地轻颠一下 */
@keyframes spillClimbing {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.28) rotate(15deg); }
  40% { opacity: 1; transform: translate(calc(-50% - 70px), calc(-50% - 48px)) scale(1.02) rotate(-18deg); }
  74% { opacity: 1; transform: translate(calc(-50% - 96px), calc(-50% + 28px)) scale(1.05, 0.93) rotate(-4deg); }
  88% { opacity: 1; transform: translate(calc(-50% - 100px), calc(-50% + 18px)) scale(0.98, 1.03) rotate(-10deg); }
  100% { opacity: 1; transform: translate(calc(-50% - 100px), calc(-50% + 24px)) scale(1) rotate(-8deg); }
}

/* 泳镜轻巧翻弧线落到包正前偏左 */
@keyframes spillGoggles {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.28) rotate(-25deg); }
  42% { opacity: 1; transform: translate(calc(-50% - 28px), calc(-50% - 42px)) scale(1.02) rotate(12deg); }
  78% { opacity: 1; transform: translate(calc(-50% - 44px), calc(-50% + 44px)) scale(1.04, 0.95) rotate(-12deg); }
  100% { opacity: 1; transform: translate(calc(-50% - 44px), calc(-50% + 40px)) scale(1) rotate(-8deg); }
}

/* 哑铃最重：低弧线「咚」地稳稳砸实在右前方 */
@keyframes spillDumbbell {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.32) rotate(14deg); }
  38% { opacity: 1; transform: translate(calc(-50% + 34px), calc(-50% - 24px)) scale(1) rotate(4deg); }
  82% { opacity: 1; transform: translate(calc(-50% + 48px), calc(-50% + 43px)) scale(1.08, 0.88) rotate(-8deg); }
  100% { opacity: 1; transform: translate(calc(-50% + 48px), calc(-50% + 40px)) scale(1) rotate(-7deg); }
}

/* 网球最后蹦出，落地后边滚边轻弹两下停稳 */
@keyframes spillTennisBall {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.35); }
  22% { opacity: 1; transform: translate(calc(-50% - 14px), calc(-50% - 46px)) scale(1); }
  46% { opacity: 1; transform: translate(calc(-50% - 40px), calc(-50% + 46px)) scale(1.12, 0.86); }
  62% { opacity: 1; transform: translate(calc(-50% - 56px), calc(-50% + 18px)) scale(0.94, 1.06); }
  76% { opacity: 1; transform: translate(calc(-50% - 68px), calc(-50% + 46px)) scale(1.06, 0.93); }
  88% { opacity: 1; transform: translate(calc(-50% - 75px), calc(-50% + 34px)) scale(0.98, 1.02); }
  100% { opacity: 1; transform: translate(calc(-50% - 78px), calc(-50% + 44px)) scale(1); }
}

@keyframes catBubblePop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatZzz {
  0%, 100% { transform: translate(0, 0); opacity: 0.45; }
  50% { transform: translate(4px, -7px); opacity: 0.95; }
}

@keyframes skyFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.45; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes chevronFloat {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(5px); opacity: 1; }
}

@keyframes cloudDrift {
  from { transform: translateX(0); }
  to { transform: translateX(14px); }
}

/* ==========================================================================
   首屏错峰弹跳入场：Ya / mi 跳出 + 像素角色手脚动作跳上魔法光环 + 气泡弹出
   ========================================================================== */
.hero-char-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: 0.06em 0.04em;
}

.hero-word-img {
  will-change: transform;
}

.hero-char-stage-mask {
  overflow: hidden;
  padding: 26px 42px 0;
  margin: -26px -42px 0;
}

.char-rig {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}

.rig-part {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45));
}

.rig-arm-l { transform-origin: 33% 50%; }
.rig-arm-r { transform-origin: 74% 50%; }
.rig-leg-l { transform-origin: 39% 68%; }
.rig-leg-r { transform-origin: 63% 68%; }

/* 1) Ya / mi 错峰从底部跳出 */
.hero.is-entering .hero-word-img {
  transform: translateY(118%);
  animation: heroLetterJump 0.58s cubic-bezier(0.22, 1.3, 0.36, 1) calc(var(--i, 0) * 110ms) forwards;
}

/* 2) 人物紧跟跳上紫色魔法光环，带手脚联动动作 */
.hero.is-jumping .char-idle,
.hero.is-jumping .char-smile {
  opacity: 0 !important;
}

.hero.is-jumping .char-rig {
  display: block;
}

.hero.is-jumping .hero-character-btn {
  transform-origin: 50% 100%;
  animation: heroCharJump 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.hero.is-jumping .rig-arm-l {
  animation: heroArmLJump 0.78s ease-out 0.18s both;
}

.hero.is-jumping .rig-arm-r {
  animation: heroArmRJump 0.78s ease-out 0.18s both;
}

.hero.is-jumping .rig-leg-l {
  animation: heroLegLJump 0.78s ease-out 0.18s both;
}

.hero.is-jumping .rig-leg-r {
  animation: heroLegRJump 0.78s ease-out 0.18s both;
}

/* 3) 站稳后气泡、脚边道具和底部介绍收尾浮起 */
.hero.is-entering .hero-bubble {
  opacity: 0;
  animation: heroBubblePop 0.38s cubic-bezier(0.22, 1.38, 0.36, 1) 0.74s forwards;
}

.hero.is-entered .hero-bubble {
  opacity: 1;
}

.hero.is-entering .hero-mini-console-btn,
.hero.is-entering .hero-props-dock,
.hero.is-entering .hero-meta {
  opacity: 0;
  animation: heroMetaRise 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.78s forwards;
}

@keyframes heroLetterJump {
  0% { transform: translateY(118%); }
  70% { transform: translateY(-7%); }
  100% { transform: translateY(0%); }
}

@keyframes heroCharJump {
  0% { transform: translateY(115%) scale(0.92, 1.08); }
  42% { transform: translateY(-22px) rotate(-2.5deg) scale(0.97, 1.04); }
  68% { transform: translateY(2px) rotate(1deg) scale(1.07, 0.93); }
  84% { transform: translateY(-5px) rotate(0deg) scale(0.99, 1.02); }
  100% { transform: translateY(0) rotate(0deg) scale(1, 1); }
}

@keyframes heroArmLJump {
  0% { transform: rotate(24deg) translate(-2px, -4px); }
  32% { transform: rotate(54deg) translate(-5px, -10px); }
  52% { transform: rotate(36deg) translate(-3px, -7px); }
  68% { transform: rotate(18deg) translate(-2px, -2px); }
  100% { transform: rotate(0deg) translate(0, 0); }
}

@keyframes heroArmRJump {
  0% { transform: rotate(-24deg) translate(2px, -4px); }
  32% { transform: rotate(-56deg) translate(5px, -10px); }
  52% { transform: rotate(-38deg) translate(3px, -7px); }
  68% { transform: rotate(-18deg) translate(2px, -2px); }
  100% { transform: rotate(0deg) translate(0, 0); }
}

@keyframes heroLegLJump {
  0% { transform: rotate(10deg) translateY(-6px); }
  38% { transform: rotate(19deg) translate(-4px, -18px); }
  58% { transform: rotate(10deg) translate(-2px, -10px); }
  70%, 100% { transform: rotate(0deg) translate(0, 0); }
}

@keyframes heroLegRJump {
  0% { transform: rotate(-10deg) translateY(-4px); }
  38% { transform: rotate(-17deg) translate(4px, -12px); }
  58% { transform: rotate(-20deg) translate(4px, -16px); }
  70%, 100% { transform: rotate(0deg) translate(0, 0); }
}

@keyframes heroBubblePop {
  0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(0.65); }
  72% { opacity: 1; transform: translateX(-50%) translateY(-3px) scale(1.06); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes heroMetaRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   响应式 · 平板与手机竖屏
   ========================================================================== */
@media (max-width: 960px) {
  .experience-container {
    grid-template-columns: 1fr;
  }

  .sticky-rail {
    display: none;
  }

  .station-card {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .pixel-cursor {
    display: none !important;
  }

  .site-nav {
    padding: 14px 18px;
  }

  .nav-links {
    gap: 14px;
  }

  .hero {
    min-height: 100svh;
    padding: 72px 16px 76px;
    justify-content: center;
  }

  .sky-moon {
    top: 58px;
    right: 16px;
    width: 74px;
  }

  .sky-cloud-sm {
    display: none;
  }

  .hero-title-mobile {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 10px;
  }

  .hero-ya-mobile {
    height: 62px;
    width: auto;
  }

  .hero-mi-mobile {
    height: 65px;
    width: auto;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
  }

  .hero-letters {
    display: none;
  }

  .hero-character-col {
    padding-top: 56px;
    padding-bottom: 14px;
  }

  .character-sprite-wrap {
    width: 106px;
  }

  .hero-magic-ring {
    width: 132px;
    height: 18px;
  }

  .hero-mini-console-btn {
    right: -76px;
    bottom: 2px;
  }

  .hero-books-console-img {
    width: 74px;
  }

  .speech-bubble {
    font-size: 12px;
    padding: 8px 13px;
  }

  /* 手机端脚边：运动包(左) + 年糕(右) 并排；点包后在下方严格两排落点 */
  .hero-props-dock {
    margin-top: 8px;
    padding: 0 8px;
    justify-content: space-around;
    align-items: flex-end;
    gap: 12px;
  }

  .gym-bag-img {
    width: 78px;
  }

  .cat-frames {
    width: 92px;
  }

  .cat-zone {
    padding-top: 44px;
  }

  .cat-bubble {
    right: 0;
  }

  /* 手机端无框两排地面落点 */
  .gym-gear-tray {
    position: static;
    width: 100%;
    margin-top: 10px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .gym-zone.is-open .gym-gear-tray {
    display: flex;
  }

  .gear-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
  }

  .gear-piece {
    position: static;
    left: auto;
    top: auto;
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .piece-tennis-racket { width: 42px; }
  .piece-badminton-racket { width: 40px; }
  .piece-tennis-ball { width: 18px; }
  .piece-shuttlecock { width: 18px; }
  .piece-goggles { width: 42px; }
  .piece-dumbbell { width: 42px; }
  .piece-climbing { width: 42px; }

  .hero-tagline {
    font-size: 18px;
  }

  .tagline-line {
    width: 28px;
  }

  /* 手机端页尾：邮箱、电话上下排列 */
  .footer-display {
    font-size: clamp(38px, 12vw, 60px);
  }

  .footer-line-2 {
    align-self: flex-start;
    text-align: left;
  }

  .footer-contact-row {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 24px;
    padding-top: 32px;
  }

  .contact-block,
  .contact-email,
  .contact-phone {
    align-items: center;
    text-align: center;
    transform: translate3d(0, calc((1 - var(--reveal, 1)) * 36px), 0);
  }

  .contact-wechat {
    order: -1;
    padding-top: 0;
    margin-top: 28px;
  }

  .contact-value {
    font-size: 17px;
  }

  .footer-game-nudge {
    font-size: 12px;
    padding: 6px 14px 6px 10px;
    max-width: 92vw;
  }

  /* 手机端暖白卡票正好占满一整屏（100svh），上下不再同时露出黑边，且保持上三下七比例；PC 端不变 */
  .ticket-sheet {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .ticket-intro {
    width: 100%;
    padding: 58px 16px 4px;
  }

  .ticket-road-peek {
    padding-bottom: 6px;
  }

  .pixel-road-strip {
    height: 10px;
  }

  .ticket-stub-bar {
    padding: 5px 0;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .ticket-scenery.forest-stage {
    height: clamp(128px, 18svh, 162px);
    padding-bottom: 2px;
  }

  .forest-shelter {
    transform: translateX(-50%) scale(0.76);
  }

  .pixel-cloud {
    transform: scale(0.72);
    transform-origin: top left;
  }

  .pixel-cloud-1 {
    top: 2px;
  }

  .pixel-cloud-2 {
    top: 12px;
  }

  .experience-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0 12px;
  }

  .olivera-layout {
    width: 100%;
    gap: clamp(12px, 2svh, 18px);
  }

  .olivera-stage {
    height: clamp(276px, 36svh, 336px);
  }

  .ticket-outro {
    width: 100%;
    padding: 0 16px 14px;
  }
}

/* ==========================================================================
   减少动效（prefers-reduced-motion: reduce）
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ripple-canvas {
    display: none;
  }

  .hero-inner {
    transform: none;
    opacity: 1;
  }

  .site-footer {
    position: relative;
  }

  .footer-inner {
    transform: none;
    opacity: 1;
  }

  .sky-moon,
  .sky-cloud-sm,
  .sky-sparkle,
  .hero-scroll-chevrons,
  .pixel-cloud,
  .cat-zzz {
    animation: none;
  }

  .prop-kuaishou .phone-playhead {
    opacity: 1;
    left: 92%;
  }

  .prop-kuaishou .phone-publish-glow {
    opacity: 1;
  }

  .prop-didi .didi-coupon-img {
    opacity: 1;
    transform: translate(0, 0) rotate(-10deg) scale(1);
  }

  .gym-zone.is-open .piece-tennis-racket { opacity: 1; transform: translate(calc(-50% - 56px), calc(-50% - 22px)) rotate(-24deg); }
  .gym-zone.is-open .piece-badminton-racket { opacity: 1; transform: translate(calc(-50% + 56px), calc(-50% - 20px)) rotate(20deg); }
  .gym-zone.is-open .piece-shuttlecock { opacity: 1; transform: translate(calc(-50% + 94px), calc(-50% + 22px)) rotate(20deg); }
  .gym-zone.is-open .piece-climbing { opacity: 1; transform: translate(calc(-50% - 100px), calc(-50% + 24px)) rotate(-8deg); }
  .gym-zone.is-open .piece-goggles { opacity: 1; transform: translate(calc(-50% - 44px), calc(-50% + 40px)) rotate(-8deg); }
  .gym-zone.is-open .piece-dumbbell { opacity: 1; transform: translate(calc(-50% + 48px), calc(-50% + 40px)) rotate(-7deg); }
  .gym-zone.is-open .piece-tennis-ball { opacity: 1; transform: translate(calc(-50% - 78px), calc(-50% + 44px)); }
}
