/* ==========================================================================
   星霓 · 反重力星霓喵的赛博猫窝
   深空星夜黑蓝底 + 极光虹彩渐变微光 + 细腻星芒点缀
   ========================================================================== */

:root {
  --bg-deep: #050816;
  --bg-mid: #0a1026;
  --surface: rgba(13, 20, 44, 0.68);
  --surface-strong: rgba(16, 24, 54, 0.84);
  --border-subtle: rgba(142, 180, 255, 0.16);
  --border-bright: rgba(168, 210, 255, 0.34);

  --text-primary: #f2f5ff;
  --text-secondary: #a8b7d9;
  --text-muted: #7687b0;

  /* 星霓核心色谱：氢基米天蓝、极光紫、右眼粉紫、左眼金芒、霓虹青绿 */
  --neon-blue: #56b4ff;
  --neon-purple: #9c6bff;
  --neon-pink: #ff5ea8;
  --neon-gold: #ffd166;
  --neon-mint: #4ce0b3;

  /* 皮肤主题联动变量（默认：深空星夜） */
  --skin-glow-a: rgba(86, 180, 255, 0.34);
  --skin-glow-b: rgba(156, 107, 255, 0.32);
  --skin-glow-c: rgba(255, 94, 168, 0.22);
  --skin-accent: #7aa7ff;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --font-sans: "Noto Sans SC", "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Space Grotesk", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shadow-card: 0 20px 50px rgba(2, 5, 18, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --transition-smooth: 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 三套皮肤舞台主题氛围联动 */
body[data-skin="aurora"] {
  --skin-glow-a: rgba(76, 224, 179, 0.34);
  --skin-glow-b: rgba(86, 180, 255, 0.38);
  --skin-glow-c: rgba(255, 209, 102, 0.28);
  --skin-accent: #5eead4;
}

body[data-skin="dream"] {
  --skin-glow-a: rgba(196, 155, 255, 0.38);
  --skin-glow-b: rgba(255, 136, 203, 0.30);
  --skin-glow-c: rgba(140, 179, 255, 0.26);
  --skin-accent: #d4a5ff;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(1200px 680px at 82% 8%, rgba(86, 180, 255, 0.14), transparent 60%),
    radial-gradient(960px 620px at 14% 24%, rgba(156, 107, 255, 0.14), transparent 58%),
    radial-gradient(800px 520px at 76% 85%, rgba(255, 94, 168, 0.09), transparent 60%),
    linear-gradient(180deg, #050816 0%, #080d22 48%, #050814 100%);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.mono {
  font-family: var(--font-mono);
}

/* 背景层 */
.starfield-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -3;
}

.aurora-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
  transition: background var(--transition-smooth);
}

.orb-1 {
  width: 460px;
  height: 460px;
  top: -120px;
  right: 8%;
  background: radial-gradient(circle, var(--skin-glow-a), transparent 70%);
}

.orb-2 {
  width: 520px;
  height: 520px;
  top: 28%;
  left: -140px;
  background: radial-gradient(circle, var(--skin-glow-b), transparent 70%);
}

.orb-3 {
  width: 420px;
  height: 420px;
  bottom: -120px;
  right: 22%;
  background: radial-gradient(circle, var(--skin-glow-c), transparent 70%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(130, 170, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 170, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 25%, #000 35%, transparent 100%);
}

.container {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

/* ==========================================================================
   顶部导航
   ========================================================================== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(6, 10, 26, 0.72);
  border-bottom: 1px solid rgba(138, 175, 255, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.spark-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(86, 180, 255, 0.12);
  border: 1px solid rgba(160, 204, 255, 0.24);
  box-shadow: 0 0 18px rgba(86, 180, 255, 0.2);
}

.brand-text {
  font-size: 1rem;
  background: linear-gradient(95deg, #ffffff 10%, #a4d4ff 55%, #f5a6d7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.nav-links a {
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-gold), var(--neon-mint), var(--neon-blue));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(86, 180, 255, 0.12);
  border: 1px solid rgba(116, 194, 255, 0.34);
  color: #dff1ff;
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  background: rgba(86, 180, 255, 0.22);
  border-color: rgba(154, 214, 255, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(86, 180, 255, 0.24);
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-mint);
  box-shadow: 0 0 10px var(--neon-mint);
}

/* ==========================================================================
   Hero 名片与立绘舞台区
   ========================================================================== */
.hero-section {
  padding: 44px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 42px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(17, 27, 60, 0.8);
  border: 1px solid rgba(128, 179, 255, 0.24);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #b7d7ff;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-mint);
  box-shadow: 0 0 0 0 rgba(76, 224, 179, 0.65);
  animation: pulseRing 2.2s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(76, 224, 179, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(76, 224, 179, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 224, 179, 0); }
}

.identity-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.avatar-trigger {
  position: relative;
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  padding: 3px;
  border: none;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-gold), var(--neon-mint), var(--neon-blue));
  box-shadow: 0 10px 28px rgba(86, 180, 255, 0.26);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
}

.avatar-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 23px;
  border: 2px solid #080d22;
}

.avatar-trigger:hover {
  transform: translateY(-3px) rotate(-2deg) scale(1.03);
  box-shadow: 0 14px 34px rgba(156, 107, 255, 0.42);
}

.avatar-trigger:active,
.avatar-trigger.is-bouncing {
  transform: scale(0.94);
}

.avatar-badge {
  position: absolute;
  right: -6px;
  bottom: -6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #080d22;
  background: linear-gradient(90deg, var(--neon-gold), #ff9dc8);
  border: 2px solid #080d22;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-title {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  line-height: 1.1;
}

.title-main {
  font-size: clamp(2.35rem, 4.4vw, 3.3rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  background: linear-gradient(100deg, #ffffff 8%, #b3deff 48%, #f2b4ff 80%, #ffe08a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-en {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  font-weight: 600;
}

.hero-alias {
  margin: 8px 0 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: #c8d7f8;
}

/* 气泡台词 */
.speech-bubble {
  position: relative;
  padding: 15px 18px;
  margin-bottom: 20px;
  border-radius: 18px 18px 18px 6px;
  background: linear-gradient(135deg, rgba(22, 34, 72, 0.85), rgba(32, 22, 68, 0.74));
  border: 1px solid rgba(154, 196, 255, 0.28);
  box-shadow: 0 12px 30px rgba(3, 6, 22, 0.42);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.speech-bubble.is-pop {
  animation: bubblePop 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  border-color: rgba(255, 209, 102, 0.6);
}

@keyframes bubblePop {
  0% { transform: scale(0.97) translateY(3px); }
  55% { transform: scale(1.015) translateY(-2px); }
  100% { transform: scale(1) translateY(0); }
}

.bubble-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--neon-gold);
  margin-bottom: 4px;
}

.speech-bubble p {
  margin: 0;
  font-size: 0.96rem;
  color: #edf3ff;
}

.hero-bio {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.hero-bio strong {
  color: #f4f7ff;
  font-weight: 600;
}

.trait-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid transparent;
  background: rgba(20, 29, 60, 0.72);
}

.chip-pink {
  color: #ffbddb;
  border-color: rgba(255, 94, 168, 0.32);
  background: rgba(255, 94, 168, 0.1);
}

.chip-blue {
  color: #bce4ff;
  border-color: rgba(86, 180, 255, 0.32);
  background: rgba(86, 180, 255, 0.1);
}

.chip-gold {
  color: #ffe5a3;
  border-color: rgba(255, 209, 102, 0.34);
  background: rgba(255, 209, 102, 0.1);
}

.chip-purple {
  color: #d8c2ff;
  border-color: rgba(156, 107, 255, 0.34);
  background: rgba(156, 107, 255, 0.11);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 按钮体系 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  user-select: none;
}

.btn-primary {
  color: #070b1d;
  background: linear-gradient(105deg, #74c7ff 0%, #9ee7ff 42%, #f4b6ff 100%);
  box-shadow: 0 10px 28px rgba(86, 180, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(130, 195, 255, 0.45);
}

.btn-ghost {
  color: #dce7ff;
  background: rgba(18, 28, 60, 0.72);
  border-color: rgba(145, 184, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(30, 44, 90, 0.85);
  border-color: rgba(180, 214, 255, 0.55);
  transform: translateY(-2px);
}

.btn-neon {
  color: #ffffff;
  background: linear-gradient(110deg, rgba(156, 107, 255, 0.86), rgba(86, 180, 255, 0.86));
  border-color: rgba(196, 224, 255, 0.4);
  box-shadow: 0 8px 24px rgba(124, 134, 255, 0.28);
}

.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124, 134, 255, 0.44);
}

.btn-subtle {
  color: #ffb8d6;
  background: rgba(255, 94, 168, 0.11);
  border-color: rgba(255, 94, 168, 0.28);
}

.btn-subtle:hover {
  background: rgba(255, 94, 168, 0.2);
  border-color: rgba(255, 138, 194, 0.55);
  transform: translateY(-2px);
}

.btn-gold {
  flex: 1;
  color: #161006;
  background: linear-gradient(105deg, #ffd166 0%, #ffb454 55%, #ff8cb4 100%);
  box-shadow: 0 10px 28px rgba(255, 191, 92, 0.28);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 191, 92, 0.42);
}

.btn-gold:active {
  transform: scale(0.97);
}

.btn-icon-subtle {
  padding: 12px 14px;
  font-size: 0.84rem;
  color: var(--text-muted);
  background: rgba(18, 25, 52, 0.65);
  border-color: rgba(142, 180, 255, 0.18);
}

.btn-icon-subtle:hover {
  color: #dbe6ff;
  border-color: rgba(142, 180, 255, 0.4);
}

/* ==========================================================================
   右侧三皮肤反重力立绘舞台
   ========================================================================== */
.hero-stage-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portrait-stage {
  position: relative;
  width: 100%;
  min-height: 556px;
  padding: 18px 18px 20px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 44%, var(--skin-glow-a), transparent 58%),
    radial-gradient(circle at 54% 72%, var(--skin-glow-b), transparent 62%),
    linear-gradient(160deg, rgba(16, 24, 56, 0.78), rgba(9, 13, 32, 0.9));
  border: 1px solid rgba(154, 196, 255, 0.24);
  box-shadow:
    0 26px 64px rgba(2, 5, 20, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  transition: background var(--transition-smooth), border-color var(--transition-smooth);
}

.stage-halo {
  position: absolute;
  width: 340px;
  height: 340px;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 94, 168, 0.25),
    rgba(255, 209, 102, 0.24),
    rgba(76, 224, 179, 0.24),
    rgba(86, 180, 255, 0.3),
    rgba(156, 107, 255, 0.26),
    rgba(255, 94, 168, 0.25)
  );
  filter: blur(42px);
  opacity: 0.7;
  animation: slowSpin 24s linear infinite;
  pointer-events: none;
}

.stage-orbit {
  position: absolute;
  top: 47%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(180, 212, 255, 0.18);
  pointer-events: none;
}

.orbit-outer {
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%) rotate(18deg);
  animation: slowSpin 42s linear infinite;
}

.orbit-inner {
  width: 280px;
  height: 280px;
  border-style: solid;
  border-color: rgba(164, 198, 255, 0.12);
  transform: translate(-50%, -50%);
}

@keyframes slowSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.float-spark {
  position: absolute;
  pointer-events: none;
  font-size: 1.1rem;
  color: #e4f2ff;
  text-shadow: 0 0 14px var(--skin-accent);
  animation: twinkleFloat 4.2s ease-in-out infinite;
}

.spark-a { top: 18%; left: 11%; animation-delay: 0s; color: var(--neon-gold); }
.spark-b { top: 26%; right: 10%; animation-delay: 1.4s; color: var(--neon-pink); font-size: 1.25rem; }
.spark-c { bottom: 24%; left: 13%; animation-delay: 2.3s; color: var(--neon-mint); }

@keyframes twinkleFloat {
  0%, 100% { transform: translateY(0) scale(0.95); opacity: 0.55; }
  50% { transform: translateY(-9px) scale(1.18); opacity: 1; }
}

.stage-hud-top {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.hud-pill {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 13, 32, 0.72);
  border: 1px solid rgba(154, 196, 255, 0.25);
  color: #c2dcff;
}

.hud-scene {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.portrait-figure {
  position: relative;
  z-index: 2;
  margin: 4px auto;
  height: 440px;
  display: grid;
  place-items: center;
  animation: antiGravityFloat 5.2s ease-in-out infinite;
}

@keyframes antiGravityFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.portrait-figure img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(4, 8, 28, 0.62)) drop-shadow(0 0 18px var(--skin-glow-a));
  transition: opacity 0.26s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.portrait-figure.is-switching img {
  opacity: 0;
  transform: translateY(10px) scale(0.96);
}

.portrait-figure.is-poked img {
  animation: earWiggle 0.42s ease;
}

@keyframes earWiggle {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-2.2deg) scale(1.02); }
  55% { transform: rotate(2deg) scale(1.015); }
  100% { transform: rotate(0deg) scale(1); }
}

/* 猫耳点击热区 */
.ear-hotspot {
  position: absolute;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 148px;
  height: 82px;
  border: none;
  background: transparent;
  border-radius: 999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

.hotspot-hint {
  opacity: 0;
  transform: translateY(4px);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 22, 52, 0.86);
  border: 1px solid rgba(255, 209, 102, 0.55);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.ear-hotspot:hover .hotspot-hint,
.ear-hotspot:focus-visible .hotspot-hint {
  opacity: 1;
  transform: translateY(-6px);
}

/* 皮肤切换按钮组 */
.skin-switcher {
  position: relative;
  z-index: 3;
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 390px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(7, 11, 28, 0.82);
  border: 1px solid rgba(150, 188, 255, 0.22);
  backdrop-filter: blur(12px);
}

.skin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 10px;
  border-radius: 11px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.skin-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.skin-btn.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(86, 180, 255, 0.26), rgba(156, 107, 255, 0.28));
  border-color: rgba(176, 214, 255, 0.48);
  box-shadow: 0 4px 16px rgba(86, 180, 255, 0.22);
}

.skin-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-starlight { background: linear-gradient(135deg, #4b7bff, #9c6bff); box-shadow: 0 0 8px #7a8eff; }
.dot-aurora { background: linear-gradient(135deg, #4ce0b3, #56b4ff, #ffd166); box-shadow: 0 0 8px #56b4ff; }
.dot-dream { background: linear-gradient(135deg, #d7b2ff, #ff9cd2); box-shadow: 0 0 8px #d7b2ff; }

.stage-caption {
  margin: 12px 6px 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
  min-height: 2.6em;
}

/* ==========================================================================
   通用 Section 与玻璃态卡片
   ========================================================================== */
.section {
  padding: 46px 0;
}

.section-compact {
  padding: 28px 0 60px;
}

.section-header {
  margin-bottom: 26px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--neon-blue);
  margin-bottom: 6px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.glass-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-bright);
}

/* ==========================================================================
   2. 互动彩蛋区
   ========================================================================== */
.interactive-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 22px;
  align-items: stretch;
}

.poke-card,
.feed-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mini-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.card-head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.counter-pill,
.rank-badge {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.counter-pill {
  color: #c7e1ff;
  background: rgba(86, 180, 255, 0.14);
  border: 1px solid rgba(86, 180, 255, 0.3);
}

.rank-badge {
  color: #ffe399;
  background: rgba(255, 209, 102, 0.14);
  border: 1px solid rgba(255, 209, 102, 0.34);
}

.reaction-stage {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.sticker-frame {
  position: relative;
  padding: 6px;
  border-radius: 24px;
  border: 1px solid rgba(170, 206, 255, 0.34);
  background: linear-gradient(145deg, rgba(86, 180, 255, 0.22), rgba(255, 94, 168, 0.18));
  box-shadow: 0 12px 28px rgba(4, 8, 26, 0.48);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sticker-frame:hover {
  transform: scale(1.04) rotate(-1.5deg);
}

.sticker-frame:active {
  transform: scale(0.95);
}

.sticker-frame img {
  width: 158px;
  height: 158px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.25s ease;
}

.sticker-frame.is-bump img {
  animation: stickerPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes stickerPop {
  0% { transform: scale(0.86) rotate(-4deg); }
  60% { transform: scale(1.06) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.sticker-mood-tag {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  background: #131d44;
  border: 1px solid rgba(170, 208, 255, 0.45);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}

.reaction-dialogue {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dialogue-bubble {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(9, 15, 36, 0.78);
  border: 1px solid rgba(145, 184, 255, 0.22);
  min-height: 92px;
  display: flex;
  align-items: center;
}

.dialogue-bubble p {
  margin: 0;
  font-size: 0.96rem;
  color: #edf3ff;
}

.poke-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 贴纸快捷切换条 */
.sticker-dock {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(142, 180, 255, 0.12);
}

.dock-item {
  padding: 3px;
  border-radius: 12px;
  border: 1px solid rgba(142, 180, 255, 0.18);
  background: rgba(11, 17, 40, 0.72);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dock-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.dock-item:hover {
  transform: translateY(-3px);
  border-color: rgba(164, 210, 255, 0.55);
}

.dock-item.is-active {
  border-color: var(--neon-gold);
  box-shadow: 0 0 14px rgba(255, 209, 102, 0.35);
}

/* 投喂脆响铃卷卡 */
.feed-hero {
  display: flex;
  align-items: center;
  gap: 18px;
}

.feed-visual {
  position: relative;
  flex-shrink: 0;
  width: 132px;
  height: 132px;
  padding: 5px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.36), rgba(255, 94, 168, 0.24));
  border: 1px solid rgba(255, 209, 102, 0.4);
}

.feed-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
}

.float-fx-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.float-plus {
  position: absolute;
  left: 50%;
  top: 24%;
  transform: translateX(-50%);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
  color: var(--neon-gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  animation: floatUpFade 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes floatUpFade {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(0.85); }
  20% { opacity: 1; transform: translate(-50%, -6px) scale(1.06); }
  100% { opacity: 0; transform: translate(-50%, -44px) scale(0.95); }
}

.feed-metrics {
  min-width: 0;
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.metric-value-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 2px 0 6px;
}

.metric-number {
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(90deg, #fff4cc, #ffd166 55%, #ff9fc2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-number.is-bump {
  animation: numPulse 0.3s ease;
}

@keyframes numPulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.metric-unit {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feed-note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.feed-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.progress-track {
  height: 9px;
  border-radius: 999px;
  background: rgba(9, 14, 34, 0.9);
  border: 1px solid rgba(142, 180, 255, 0.16);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--neon-gold), var(--neon-pink), var(--neon-blue));
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.feed-actions {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   3. 公开战绩与探索卡片 (Bento Grid)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 58px rgba(3, 7, 26, 0.65), 0 0 28px rgba(86, 180, 255, 0.12);
}

.card-bili {
  grid-column: span 6;
  background:
    radial-gradient(circle at 92% 12%, rgba(86, 180, 255, 0.22), transparent 52%),
    radial-gradient(circle at 12% 94%, rgba(255, 94, 168, 0.16), transparent 52%),
    var(--surface);
}

.card-bridge {
  grid-column: span 6;
  background:
    radial-gradient(circle at 90% 15%, rgba(255, 209, 102, 0.18), transparent 50%),
    var(--surface);
}

.card-memory {
  grid-column: span 6;
}

.card-tools {
  grid-column: span 6;
}

.card-arena {
  grid-column: span 12;
  background:
    radial-gradient(circle at 18% 50%, rgba(156, 107, 255, 0.18), transparent 52%),
    radial-gradient(circle at 86% 45%, rgba(76, 224, 179, 0.16), transparent 50%),
    var(--surface-strong);
  border-style: dashed;
  border-color: rgba(156, 198, 255, 0.34);
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.tag-bili { color: #b9e5ff; background: rgba(0, 174, 236, 0.16); border: 1px solid rgba(0, 174, 236, 0.35); }
.tag-gold { color: #ffe5a3; background: rgba(255, 209, 102, 0.15); border: 1px solid rgba(255, 209, 102, 0.34); }
.tag-purple { color: #dec9ff; background: rgba(156, 107, 255, 0.16); border: 1px solid rgba(156, 107, 255, 0.36); }
.tag-cyan { color: #b2f5ea; background: rgba(76, 224, 179, 0.15); border: 1px solid rgba(76, 224, 179, 0.34); }
.tag-arena { color: #ffcae2; background: rgba(255, 94, 168, 0.16); border: 1px solid rgba(255, 94, 168, 0.36); }

.ext-arrow {
  font-size: 1.15rem;
  color: var(--neon-blue);
  transition: transform 0.25s ease;
}

.card-bili:hover .ext-arrow {
  transform: translate(3px, -3px);
}

.bili-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bili-profile img {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid rgba(124, 200, 255, 0.55);
}

.bili-profile h3,
.bento-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.uid-text {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.card-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.card-desc strong {
  color: #fff2c4;
}

.card-footer-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #9ed7ff;
}

.badge-score {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  color: #171204;
  font-weight: 700;
  background: linear-gradient(90deg, #ffe08a, #ffae6d);
}

.badge-soft {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.stat-hero {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.stat-big {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(95deg, #ffffff 10%, #ffd166 60%, #ff9dc8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-unit {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.mini-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-tags span {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 8px;
  color: #c5d4f6;
  background: rgba(16, 26, 58, 0.78);
  border: 1px solid rgba(142, 180, 255, 0.16);
}

/* 盲测擂台占位卡 */
.arena-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(120, 210, 255, 0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: scanSweep 6.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scanSweep {
  0%, 55% { transform: translateX(-100%); }
  100% { transform: translateX(120%); }
}

.arena-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--neon-mint);
}

.arena-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-mint);
  box-shadow: 0 0 10px var(--neon-mint);
}

.arena-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.arena-text {
  max-width: 650px;
}

.arena-text h3 {
  margin-bottom: 8px;
}

.arena-portal-box {
  flex-shrink: 0;
  min-width: 270px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(7, 11, 28, 0.8);
  border: 1px solid rgba(154, 196, 255, 0.24);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portal-label {
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  color: var(--text-muted);
}

.portal-url {
  font-size: 0.9rem;
  color: #8ee6ff;
  word-break: break-all;
}

.btn-arena {
  margin-top: 4px;
  padding: 9px 14px;
  font-size: 0.85rem;
  color: #edf3ff;
  background: linear-gradient(100deg, rgba(156, 107, 255, 0.35), rgba(76, 224, 179, 0.28));
  border-color: rgba(158, 212, 255, 0.35);
}

.btn-arena:hover {
  background: linear-gradient(100deg, rgba(156, 107, 255, 0.52), rgba(76, 224, 179, 0.42));
  border-color: rgba(192, 232, 255, 0.65);
}

/* ==========================================================================
   4. 视觉设定速览条
   ========================================================================== */
.specs-panel {
  padding: 26px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.specs-title-col h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.specs-title-col p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.specs-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(9, 14, 34, 0.64);
  border: 1px solid rgba(142, 180, 255, 0.14);
}

.spec-swatch {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.swatch-eyes { background: linear-gradient(135deg, #ff4f9a 48%, #ffd166 52%); }
.swatch-hair { background: linear-gradient(135deg, #56b4ff 0%, #9c6bff 52%, #ff82c4 100%); }
.swatch-star { background: conic-gradient(#ff5ea8, #ffd166, #4ce0b3, #56b4ff, #ff5ea8); }
.swatch-tail { background: linear-gradient(135deg, #74b9ff, #d4a5ff, #ffd166); }

.spec-item h4 {
  margin: 0 0 3px;
  font-size: 0.95rem;
}

.spec-item p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   页脚与 Toast
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(142, 180, 255, 0.12);
  padding: 24px 0 36px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand {
  color: #d6e3ff;
  font-weight: 600;
}

.footer-meta {
  font-size: 0.78rem;
}

.footer-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-right a:hover {
  color: #ffffff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(12, 19, 46, 0.94);
  border: 1px solid rgba(164, 210, 255, 0.45);
  color: #f3f7ff;
  font-size: 0.88rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: min(92vw, 460px);
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   响应式适配（平板 & 手机端）
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-stage-wrap {
    order: -1;
  }

  .portrait-stage {
    min-height: 490px;
  }

  .portrait-figure {
    height: 375px;
  }

  .interactive-grid {
    grid-template-columns: 1fr;
  }

  .card-bili,
  .card-bridge,
  .card-memory,
  .card-tools,
  .card-arena {
    grid-column: span 12;
  }

  .arena-body {
    flex-direction: column;
    align-items: stretch;
  }

  .specs-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 26px);
  }

  .nav-links,
  .brand-sub {
    display: none;
  }

  .hero-section {
    padding-top: 22px;
  }

  .identity-row {
    gap: 14px;
  }

  .avatar-trigger {
    width: 78px;
    height: 78px;
    border-radius: 22px;
  }

  .avatar-trigger img {
    border-radius: 19px;
  }

  .portrait-stage {
    min-height: 446px;
    padding: 14px 14px 16px;
  }

  .portrait-figure {
    height: 325px;
  }

  .skin-btn {
    padding: 8px 6px;
    font-size: 0.78rem;
    gap: 5px;
  }

  .reaction-stage {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .reaction-dialogue {
    width: 100%;
  }

  .sticker-dock {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feed-hero {
    flex-direction: column;
    text-align: center;
  }

  .metric-value-row {
    justify-content: center;
  }

  .specs-items {
    grid-template-columns: 1fr;
  }

  .poke-card,
  .feed-card,
  .bento-card,
  .specs-panel {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
