/**
 * QuantEye // 量子天眼终端
 * 赛博朋克样式 V3 - 警示黄 + 青蓝撞色
 */

:root {
  /* 主色系：青蓝 + 灵魂玫粉（主导） */
  --qe-cyan: #00f0ff;
  --qe-pink: #FF007F;            /* ★ 灵魂玫粉 Cyber Magenta（主导高亮） */
  --qe-pink-soft: rgba(255, 0, 127, 0.15);
  --qe-pink-glow: rgba(255, 0, 127, 0.35);
  --qe-green: #00ff88;
  --qe-red: #ff0055;
  --qe-purple: #aa00ff;
  --qe-bg: #050510;
  --qe-card: #0a0a15;
  /* 黄色 / 白色：仅作极小面积点缀 */
  --qe-gold: #FFE600;
  --qe-amber: #FF9900;
  --qe-gold-soft: rgba(255, 230, 0, 0.15);
  --qe-amber-soft: rgba(255, 153, 0, 0.12);
  --qe-white-soft: rgba(255, 255, 255, 0.7);
}

* { box-sizing: border-box; }

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 0, 127, 0.06), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0, 240, 255, 0.06), transparent 40%),
    var(--qe-bg);
  background-attachment: fixed;
  font-family: 'Noto Sans SC', 'PingFang SC', sans-serif;
  overflow-x: hidden;
}

/* ============================================================
 *  全局扫描线
 * ============================================================ */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(255, 0, 127, 0.02) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 9999;
  animation: scanlines 8s linear infinite;
}
@keyframes scanlines {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}

/* ============================================================
 *  ★ 全屏背景层（网格 + 扫描线 + 漂浮粒子 + 全局星尘）
 * ============================================================ */
.bg-layer {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* 赛博方格网格（极淡青蓝/玫粉） */
.bg-grid {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 127, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
}

/* CRT 扫描线纹理（极其微弱） */
.bg-scanline {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 240, 255, 0.02) 2px,
    rgba(0, 240, 255, 0.02) 3px
  );
  opacity: 0.5;
}

/* 漂浮八卦与五行粒子（透明度 0.12~0.2） */
.float-particle {
  position: absolute;
  font-size: 32px;
  color: var(--qe-pink);
  opacity: 0.15;
  text-shadow: 0 0 12px rgba(255, 0, 127, 0.5);
  user-select: none;
  animation: floatSlow 12s ease-in-out infinite;
}

.fp-1 { top: 12%; left: 4%;  color: var(--qe-pink);  animation-delay: 0s;   font-size: 36px; }
.fp-2 { top: 28%; left: 92%; color: var(--qe-cyan);  animation-delay: 1.5s; font-size: 30px; text-shadow: 0 0 12px rgba(0, 240, 255, 0.5); }
.fp-3 { top: 55%; left: 3%;  color: var(--qe-gold);  animation-delay: 3s;   font-size: 34px; text-shadow: 0 0 12px rgba(255, 230, 0, 0.5); opacity: 0.18; }
.fp-4 { top: 75%; left: 95%; color: var(--qe-pink);  animation-delay: 4.5s; font-size: 28px; }
.fp-5 { top: 40%; left: 88%; color: var(--qe-gold);  animation-delay: 2s;   font-size: 26px; text-shadow: 0 0 10px rgba(255, 230, 0, 0.5); opacity: 0.2; }
.fp-6 { top: 65%; left: 6%;  color: var(--qe-cyan);  animation-delay: 6s;   font-size: 24px; text-shadow: 0 0 10px rgba(0, 240, 255, 0.5); }
.fp-7 { top: 18%; left: 50%; color: var(--qe-pink);  animation-delay: 5s;   font-size: 22px; opacity: 0.12; }
.fp-8 { top: 88%; left: 48%; color: var(--qe-gold);  animation-delay: 7s;   font-size: 26px; text-shadow: 0 0 10px rgba(255, 230, 0, 0.5); opacity: 0.16; }

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(8px, -12px) rotate(2deg); }
  50%      { transform: translate(-6px, 8px) rotate(-1deg); }
  75%      { transform: translate(10px, 6px) rotate(1deg); }
}

/* 全局量子星尘（超微小 · 错开脉冲） */
.global-star {
  position: absolute;
  font-size: 9px;
  color: var(--qe-pink);
  text-shadow: 0 0 5px var(--qe-pink);
  user-select: none;
  animation: globalStarPulse 4s ease-in-out infinite;
}

.gs-1  { top: 8%;  left: 15%; color: var(--qe-pink); animation-delay: 0s; }
.gs-2  { top: 22%; left: 78%; color: var(--qe-gold); text-shadow: 0 0 5px var(--qe-gold); animation-delay: 0.5s; }
.gs-3  { top: 35%; left: 25%; color: var(--qe-cyan); text-shadow: 0 0 5px var(--qe-cyan); animation-delay: 1s; font-size: 7px; }
.gs-4  { top: 48%; left: 85%; color: var(--qe-pink); animation-delay: 1.5s; }
.gs-5  { top: 60%; left: 12%; color: var(--qe-gold); text-shadow: 0 0 5px var(--qe-gold); animation-delay: 2s; font-size: 8px; }
.gs-6  { top: 72%; left: 68%; color: var(--qe-cyan); text-shadow: 0 0 5px var(--qe-cyan); animation-delay: 2.5s; font-size: 7px; }
.gs-7  { top: 82%; left: 30%; color: var(--qe-pink); animation-delay: 3s; }
.gs-8  { top: 15%; left: 60%; color: var(--qe-gold); text-shadow: 0 0 5px var(--qe-gold); animation-delay: 3.5s; font-size: 8px; }
.gs-9  { top: 92%; left: 55%; color: var(--qe-cyan); text-shadow: 0 0 5px var(--qe-cyan); animation-delay: 4s; font-size: 7px; }
.gs-10 { top: 5%;  left: 40%; color: var(--qe-pink); animation-delay: 4.5s; }

@keyframes globalStarPulse {
  0%, 100% { opacity: 0.1; transform: scale(0.7); }
  50%      { opacity: 0.9; transform: scale(1.2); }
}

/* ============================================================
 *  ★ 屏幕四角 HUD 锚点（固定定位 · 黑客终端质感）
 * ============================================================ */
.screen-corner {
  position: fixed;
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(0, 240, 255, 0.5);
  text-shadow: 0 0 4px rgba(0, 240, 255, 0.3);
  user-select: none;
  pointer-events: none;
  z-index: 50;
  animation: cornerHudFlicker 4s ease-in-out infinite;
}

.sc-tl { top: 6px;    left: 6px;    animation-delay: 0s; }
.sc-tr { top: 6px;    right: 6px;   color: rgba(255, 0, 127, 0.5); text-shadow: 0 0 4px rgba(255, 0, 127, 0.3); animation-delay: 1s; }
.sc-bl { bottom: 6px; left: 6px;    color: rgba(255, 0, 127, 0.5); text-shadow: 0 0 4px rgba(255, 0, 127, 0.3); animation-delay: 2s; }
.sc-br { bottom: 6px; right: 6px;   animation-delay: 3s; }

@keyframes cornerHudFlicker {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.75; }
}

/* ============================================================
 *  ★ 精简固定导航栏
 * ============================================================ */
.navbar-fixed {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 5, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--qe-pink-glow);
  box-shadow: 0 2px 20px rgba(255, 0, 127, 0.1);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.navbar-logo-icon {
  font-size: 22px;
  color: var(--qe-cyan);
  text-shadow:
    0 0 8px var(--qe-cyan),
    0 0 16px var(--qe-pink);
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { text-shadow: 0 0 8px var(--qe-cyan), 0 0 16px var(--qe-pink); }
  50% { text-shadow: 0 0 12px var(--qe-pink), 0 0 24px var(--qe-cyan); }
}

.navbar-logo-text {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 3px;
  color: var(--qe-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.navbar-stickers {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-sticker {
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 3px;
  color: var(--qe-cyan);
  background: rgba(0, 240, 255, 0.05);
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ★ 玫粉主导：QUANTUM_NEXUS 星标贴纸 */
.nav-sticker.star {
  border-color: var(--qe-pink);
  color: var(--qe-pink);
  background: var(--qe-pink-soft);
  animation: starPinkPulse 1.8s ease-in-out infinite;
}

@keyframes starPinkPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 0, 127, 0.3); }
  50% { box-shadow: 0 0 15px rgba(255, 0, 127, 0.7); }
}

/* SYSTEM_ONLINE 小点：保留白色微点缀 */
.nav-sticker .fa-satellite-dish { color: var(--qe-white-soft); }

/* ============================================================
 *  ★ 主标题视觉升级（大字号 + 呼吸感间歇故障 + 星芒点缀）
 * ============================================================ */
.hero-title-section {
  position: relative;
  text-align: center;
  padding: 22px 24px 28px;
}

/* 顶部赛博数据坐标小贴纸 */
.hero-cyber-meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.meta-chip {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--qe-cyan);
  opacity: 0.7;
  padding: 2px 8px;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 2px;
  background: rgba(0, 240, 255, 0.04);
}

.meta-chip i { font-size: 6px; color: var(--qe-pink); margin-right: 3px; }

.meta-chip.meta-yellow {
  color: var(--qe-gold);
  border-color: rgba(255, 230, 0, 0.3);
  background: rgba(255, 230, 0, 0.05);
}

/* 主标题 + 星芒容器 */
.hero-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}

/* ============================================================
 *  ★ 东方八卦符号（标题两侧 · 微弱脉冲呼吸）
 * ============================================================ */
.bagua-glyph {
  position: absolute;
  font-size: 28px;
  color: var(--qe-pink);
  opacity: 0.25;
  text-shadow:
    0 0 8px rgba(255, 0, 127, 0.6),
    0 0 16px rgba(255, 0, 127, 0.3);
  user-select: none;
  pointer-events: none;
  animation: baguaBreath 4s ease-in-out infinite;
  z-index: 1;
}

.bagua-left  { left: 6%;  top: 50%; transform: translateY(-50%); animation-delay: 0s; }
.bagua-right { right: 6%; top: 50%; transform: translateY(-50%); animation-delay: 1.2s; }

@keyframes baguaBreath {
  0%, 100% { opacity: 0.18; text-shadow: 0 0 6px rgba(255, 0, 127, 0.4), 0 0 12px rgba(255, 0, 127, 0.2); }
  50%      { opacity: 0.4;  text-shadow: 0 0 10px rgba(255, 0, 127, 0.8), 0 0 20px rgba(255, 0, 127, 0.4); }
}

/* ============================================================
 *  ★ HUD 数据点缀（角落 · 淡青/淡粉背景陪衬）
 * ============================================================ */
.hud-chip {
  position: absolute;
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 9px;
  letter-spacing: 1px;
  color: rgba(0, 240, 255, 0.55);
  text-shadow: 0 0 4px rgba(0, 240, 255, 0.3);
  user-select: none;
  pointer-events: none;
  z-index: 2;
  animation: hudFlicker 3s ease-in-out infinite;
}

.hud-tl { top: 6px;    left: 8%;  animation-delay: 0s; }
.hud-tr { top: 6px;    right: 8%; color: rgba(255, 0, 127, 0.55); text-shadow: 0 0 4px rgba(255, 0, 127, 0.3); animation-delay: 0.5s; }
.hud-bl { bottom: 56px; left: 8%;  color: rgba(255, 0, 127, 0.55); text-shadow: 0 0 4px rgba(255, 0, 127, 0.3); animation-delay: 1s; }
.hud-br { bottom: 56px; right: 8%; animation-delay: 1.5s; }

@keyframes hudFlicker {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.8; }
}

/* HUD 交叉准星 */
.hud-cross {
  position: absolute;
  font-size: 11px;
  color: var(--qe-gold);
  opacity: 0.5;
  text-shadow: 0 0 5px rgba(255, 230, 0, 0.6);
  user-select: none;
  pointer-events: none;
  z-index: 2;
  animation: crossPulse 2.5s ease-in-out infinite;
}

.cross-1 { top: 30px;  left: 20%; animation-delay: 0s; }
.cross-2 { bottom: 70px; right: 22%; animation-delay: 0.7s; }
.cross-3 { top: 40px;  right: 30%; animation-delay: 1.4s; color: var(--qe-pink); text-shadow: 0 0 5px rgba(255, 0, 127, 0.6); }

@keyframes crossPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.2); }
}

/* ============================================================
 *  ★ 超微小星尘粒子（1-2px · 错落漂浮闪烁）
 * ============================================================ */
.dust-particle {
  position: absolute;
  font-size: 8px;
  color: var(--qe-cyan);
  text-shadow: 0 0 4px var(--qe-cyan);
  user-select: none;
  pointer-events: none;
  z-index: 3;
  animation: dustFloat 3.5s ease-in-out infinite;
}

.dust-1 { top: -4px;  left: 12%; color: var(--qe-pink); text-shadow: 0 0 4px var(--qe-pink); animation-delay: 0s; }
.dust-2 { bottom: -2px; left: 24%; color: var(--qe-gold); text-shadow: 0 0 4px var(--qe-gold); animation-delay: 0.4s; }
.dust-3 { top: -8px;  left: 40%; animation-delay: 0.8s; font-size: 7px; }
.dust-4 { bottom: -6px; left: 55%; color: var(--qe-pink); text-shadow: 0 0 4px var(--qe-pink); animation-delay: 1.2s; }
.dust-5 { top: -2px;  left: 72%; color: var(--qe-gold); text-shadow: 0 0 4px var(--qe-gold); animation-delay: 1.6s; }
.dust-6 { bottom: -8px; left: 85%; animation-delay: 2.0s; font-size: 7px; }
.dust-7 { top: -6px;  left: 60%; color: var(--qe-pink); text-shadow: 0 0 4px var(--qe-pink); animation-delay: 2.4s; font-size: 7px; }
.dust-8 { bottom: -4px; left: 5%; color: var(--qe-gold); text-shadow: 0 0 4px var(--qe-gold); animation-delay: 2.8s; }

@keyframes dustFloat {
  0%, 100% { opacity: 0.1; transform: translate(0, 0) scale(0.6); }
  40%      { opacity: 1;   transform: translate(1px, -2px) scale(1.1); }
  60%      { opacity: 0.6; transform: translate(-1px, 1px) scale(0.9); }
}

/* ============================================================
 *  ★ 紧贴字母的微型星芒（绝对定位 · 错落分布 · 不同步闪烁）
 * ============================================================ */
.micro-star {
  position: absolute;
  font-size: 13px;
  color: var(--c, var(--qe-pink));
  text-shadow:
    0 0 6px var(--c, var(--qe-pink)),
    0 0 12px var(--c, var(--qe-pink));
  user-select: none;
  pointer-events: none;
  animation: microStarBlink 2.6s ease-in-out infinite;
  z-index: 3;
}

/* 紧贴字母角落的错落定位 */
/* Q 的左上角 */
.star-q-tl  { top: -6px; left: 2%;  animation-delay: 0s; }
/* U 的右下角 */
.star-u-br  { bottom: -4px; left: 18%; animation-delay: 0.4s; font-size: 10px; }
/* N 的正上方 */
.star-n-top { top: -10px; left: 32%; animation-delay: 0.8s; font-size: 11px; }
/* M 的右上角 */
.star-m-tr  { top: -6px; left: 48%; animation-delay: 1.2s; }
/* T 的正上方 */
.star-t-top { top: -10px; left: 68%; animation-delay: 1.6s; font-size: 12px; }
/* R 的右下角 */
.star-r-br  { bottom: -4px; right: 2%;  animation-delay: 2.0s; }

/* 量子星光不同步闪烁脉冲 */
@keyframes microStarBlink {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.2); }
  60% { opacity: 0.7; transform: scale(1); }
}

/* 角落框线 */
.corner-bracket {
  position: absolute;
  font-size: 18px;
  color: var(--qe-pink);
  opacity: 0.5;
  text-shadow: 0 0 6px rgba(255, 0, 127, 0.5);
  user-select: none;
  animation: cornerBlink 3s ease-in-out infinite;
}

.corner-tl { top: 8px; left: 18px; }
.corner-tr { top: 8px; right: 18px; }
.corner-bl { bottom: 70px; left: 18px; }
.corner-br { bottom: 70px; right: 18px; }

@keyframes cornerBlink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* 主标题：Orbitron 900 硬核机甲感 */
.hero-title {
  position: relative;
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--qe-cyan);
  text-shadow:
    0 0 10px rgba(0, 240, 255, 0.9),
    0 0 24px rgba(0, 240, 255, 0.5),
    0 0 40px rgba(255, 0, 127, 0.35);
  margin: 0;
  line-height: 1.1;
  /* ★ 2s 紧凑周期：呼吸发光 + 间歇故障 */
  animation: glitch-breath 2s infinite;
}

/* 伪元素：底层重影（间歇性触发） */
.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

/* 玫粉重影：75%~95% 才触发 */
.hero-title::before {
  color: var(--qe-pink);
  z-index: -1;
  opacity: 0;
  animation: glitch-clip-pink 2s infinite;
}

/* 青蓝重影：75%~95% 才触发 */
.hero-title::after {
  color: var(--qe-cyan);
  z-index: -2;
  opacity: 0;
  animation: glitch-clip-cyan 2s infinite;
}

/* ★ 精修 Glitch：2s 周期，0~75% 呼吸发光，75~95% 故障抖动 */
@keyframes glitch-breath {
  0% {
    text-shadow:
      0 0 10px rgba(0, 240, 255, 0.9),
      0 0 24px rgba(0, 240, 255, 0.5),
      0 0 40px rgba(255, 0, 127, 0.35);
    transform: translate(0, 0);
  }
  25% {
    text-shadow:
      0 0 14px rgba(0, 240, 255, 1),
      0 0 30px rgba(0, 240, 255, 0.6),
      0 0 50px rgba(255, 0, 127, 0.45);
    transform: translate(0, 0);
  }
  50% {
    text-shadow:
      0 0 10px rgba(0, 240, 255, 0.85),
      0 0 22px rgba(0, 240, 255, 0.45),
      0 0 38px rgba(255, 0, 127, 0.3);
    transform: translate(0, 0);
  }
  75% {
    text-shadow:
      0 0 14px rgba(0, 240, 255, 1),
      0 0 30px rgba(0, 240, 255, 0.6),
      0 0 50px rgba(255, 0, 127, 0.45);
    transform: translate(0, 0);
  }
  78% {
    text-shadow:
      0 0 12px rgba(0, 240, 255, 1),
      3px 0 0 rgba(255, 0, 127, 0.6),
      -3px 0 0 rgba(0, 240, 255, 0.6);
    transform: translate(-1px, 0);
  }
  82% {
    text-shadow:
      0 0 12px rgba(0, 240, 255, 1),
      -4px 0 0 rgba(255, 0, 127, 0.7),
      4px 0 0 rgba(0, 240, 255, 0.5);
    transform: translate(2px, -1px);
  }
  86% {
    text-shadow:
      0 0 10px rgba(0, 240, 255, 0.9),
      5px 1px 0 rgba(255, 0, 127, 0.6),
      -5px -1px 0 rgba(0, 240, 255, 0.6);
    transform: translate(-2px, 1px);
  }
  90% {
    text-shadow:
      0 0 12px rgba(0, 240, 255, 1),
      -3px 0 0 rgba(255, 0, 127, 0.5),
      3px 0 0 rgba(0, 240, 255, 0.7);
    transform: translate(1px, 0);
  }
  94% {
    text-shadow:
      0 0 10px rgba(0, 240, 255, 0.9),
      4px -1px 0 rgba(255, 0, 127, 0.6),
      -4px 1px 0 rgba(0, 240, 255, 0.5);
    transform: translate(-1px, -1px);
  }
  100% {
    text-shadow:
      0 0 10px rgba(0, 240, 255, 0.9),
      0 0 24px rgba(0, 240, 255, 0.5),
      0 0 40px rgba(255, 0, 127, 0.35);
    transform: translate(0, 0);
  }
}

/* 玫粉重影：仅 78%~94% 显现并撕裂 */
@keyframes glitch-clip-pink {
  0%, 75% { opacity: 0; transform: translate(0, 0); clip-path: inset(0 0 100% 0); }
  78% { opacity: 0.6; transform: translate(-4px, -1px); clip-path: inset(10% 0 60% 0); }
  82% { opacity: 0.7; transform: translate(5px, 2px); clip-path: inset(50% 0 20% 0); }
  86% { opacity: 0.5; transform: translate(-6px, 1px); clip-path: inset(20% 0 50% 0); }
  90% { opacity: 0.7; transform: translate(3px, -2px); clip-path: inset(60% 0 10% 0); }
  94% { opacity: 0.4; transform: translate(2px, 0); clip-path: inset(0 0 70% 0); }
  100% { opacity: 0; transform: translate(0, 0); clip-path: inset(0 0 100% 0); }
}

/* 青蓝重影：反向撕裂，仅 78%~94% 显现 */
@keyframes glitch-clip-cyan {
  0%, 75% { opacity: 0; transform: translate(0, 0); clip-path: inset(100% 0 0 0); }
  78% { opacity: 0.6; transform: translate(4px, 1px); clip-path: inset(60% 0 10% 0); }
  82% { opacity: 0.7; transform: translate(-5px, -2px); clip-path: inset(20% 0 50% 0); }
  86% { opacity: 0.5; transform: translate(6px, -1px); clip-path: inset(50% 0 20% 0); }
  90% { opacity: 0.7; transform: translate(-3px, 2px); clip-path: inset(10% 0 60% 0); }
  94% { opacity: 0.4; transform: translate(-2px, 0); clip-path: inset(70% 0 0 0); }
  100% { opacity: 0; transform: translate(0, 0); clip-path: inset(100% 0 0 0); }
}

.hero-subtitle {
  margin-top: 12px;
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--qe-pink);
  opacity: 0.85;
  text-shadow: 0 0 8px rgba(255, 0, 127, 0.3);
}

/* ============================================================
 *  ★ 创作者签名贴纸（主标题下方 · 黑客终端质感）
 * ============================================================ */
.creator-signature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 14px;
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-decoration: none;
  border: 1px solid var(--qe-pink);
  border-radius: 3px;
  background: var(--qe-pink-soft);
  box-shadow:
    0 0 8px rgba(255, 0, 127, 0.25),
    inset 0 0 6px rgba(255, 0, 127, 0.05);
  transition: all 0.3s ease;
  /* 赛博黄 + 青蓝发光文字 */
  color: var(--qe-cyan);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
}

.creator-signature .cs-bracket {
  color: var(--qe-gold);
  font-weight: bold;
  text-shadow: 0 0 6px rgba(255, 230, 0, 0.7);
}

.creator-signature .cs-text {
  color: var(--qe-gold);
  text-shadow: 0 0 6px rgba(255, 230, 0, 0.5);
}

.creator-signature i {
  color: var(--qe-pink);
  text-shadow: 0 0 6px rgba(255, 0, 127, 0.6);
}

/* 悬浮光晕放大 */
.creator-signature:hover {
  transform: scale(1.08);
  border-color: var(--qe-gold);
  box-shadow:
    0 0 20px rgba(255, 0, 127, 0.5),
    0 0 40px rgba(255, 230, 0, 0.3),
    inset 0 0 10px rgba(255, 230, 0, 0.1);
}

/* Navbar 内的紧凑版创作者徽章 */
.creator-badge {
  text-decoration: none;
  border-color: var(--qe-pink) !important;
  color: var(--qe-gold) !important;
  background: var(--qe-pink-soft) !important;
  text-shadow: 0 0 4px rgba(255, 230, 0, 0.5);
  animation: starPinkPulse 1.8s ease-in-out infinite;
}

.creator-badge i { color: var(--qe-pink) !important; }

.creator-badge:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.6) !important;
}

/* ============================================================
 *  ★ 中英文语言切换按钮（赛博发光）
 * ============================================================ */
.lang-switcher {
  cursor: pointer;
  border: 1px solid var(--qe-cyan) !important;
  color: var(--qe-cyan) !important;
  background: rgba(0, 240, 255, 0.08) !important;
  text-shadow: 0 0 5px rgba(0, 240, 255, 0.6);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.25), inset 0 0 6px rgba(0, 240, 255, 0.1);
  transition: all 0.25s ease;
  font-family: 'Audiowide', cursive, sans-serif;
  outline: none;
}

.lang-switcher:hover {
  transform: scale(1.08);
  background: rgba(0, 240, 255, 0.18) !important;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.6), inset 0 0 8px rgba(0, 240, 255, 0.2);
  color: var(--qe-white-soft) !important;
}

.lang-switcher:active {
  transform: scale(0.96);
}

/* ============================================================
 *  ★ 系统前瞻介绍卡片
 * ============================================================ */
.intel-card .panel-header {
  color: var(--qe-pink);
}

.intel-body {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(0, 240, 255, 0.85);
  letter-spacing: 0.5px;
  text-align: justify;
  margin-bottom: 14px;
}

.intel-stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 玫粉主导标签 */
.intel-tag {
  font-size: 11px;
  padding: 5px 12px;
  border: 1px solid var(--qe-pink);
  border-radius: 20px;
  color: var(--qe-pink);
  background: var(--qe-pink-soft);
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.2);
}

.intel-tag i { color: var(--qe-gold); font-size: 9px; }

/* ============================================================
 *  健康状态条（紧凑）
 * ============================================================ */
.health-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 14px;
  background: rgba(10, 10, 21, 0.7);
  border: 1px solid var(--qe-pink-glow);
  border-radius: 4px;
  font-size: 11px;
}

.health-item {
  color: var(--qe-cyan);
  display: flex;
  align-items: center;
  gap: 5px;
}

.health-item i { color: var(--qe-pink); }

/* ============================================================
 *  赛博面板基础（玫粉主导边框）
 * ============================================================ */
.cyber-panel {
  position: relative;
  background: rgba(10, 10, 21, 0.9);
  border: 1px solid var(--qe-pink-glow);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 0 30px rgba(255, 0, 127, 0.06),
    inset 0 0 30px rgba(0, 0, 0, 0.5);
}

/* 右上角四角星：保留黄色微小点缀 */
.cyber-panel::before {
  content: '✦';
  position: absolute;
  top: 8px; right: 12px;
  color: var(--qe-gold);
  font-size: 10px;
  z-index: 2;
  animation: starGoldPulse 2s ease-in-out infinite;
}

@keyframes starGoldPulse {
  0%, 100% { text-shadow: 0 0 5px rgba(255, 230, 0, 0.5); }
  50% { text-shadow: 0 0 12px rgba(255, 230, 0, 0.9); }
}

.panel-header {
  background: linear-gradient(90deg, var(--qe-pink-soft), rgba(0, 240, 255, 0.05));
  border-bottom: 1px solid var(--qe-pink-glow);
  padding: 10px 16px;
  font-size: 12px;
  color: var(--qe-pink);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================================
 *  步骤标签
 * ============================================================ */
.step-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--qe-cyan);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: var(--qe-pink);
  color: #000;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
  box-shadow: 0 0 8px rgba(255, 0, 127, 0.5);
}

.step-optional {
  font-size: 10px;
  color: var(--qe-pink);
  margin-left: auto;
  opacity: 0.8;
}

/* ============================================================
 *  物品类型卡片（玫粉高亮）
 * ============================================================ */
.item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  background: rgba(10, 10, 21, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--qe-cyan);
  font-size: 12px;
  text-align: center;
}

.item-card i { font-size: 20px; }

.item-card:hover {
  border-color: var(--qe-pink);
  background: var(--qe-pink-soft);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.25);
  color: var(--qe-pink);
}

.item-card.active {
  border-color: var(--qe-pink);
  background: var(--qe-pink-soft);
  box-shadow:
    0 0 20px rgba(255, 0, 127, 0.4),
    inset 0 0 10px rgba(255, 0, 127, 0.1);
  color: var(--qe-pink);
}

/* ============================================================
 *  引擎胶囊（玫粉高亮）
 * ============================================================ */
.engine-capsule {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(10, 10, 21, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.engine-capsule:hover {
  border-color: var(--qe-pink);
  background: var(--qe-pink-soft);
  transform: translateX(4px);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.2);
}

.engine-capsule.active {
  border-color: var(--qe-pink);
  background: var(--qe-pink-soft);
  box-shadow:
    0 0 20px rgba(255, 0, 127, 0.3),
    inset 0 0 10px rgba(255, 0, 127, 0.05);
}

.engine-icon {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--qe-cyan);
  font-size: 16px;
  flex-shrink: 0;
}

.engine-capsule.active .engine-icon {
  background: var(--qe-pink-soft);
  border-color: var(--qe-pink);
  color: var(--qe-pink);
}

.engine-info { flex: 1; }
.engine-name { font-size: 14px; color: var(--qe-cyan); font-weight: bold; }
.engine-capsule.active .engine-name { color: var(--qe-pink); }
.engine-desc { font-size: 10px; color: rgba(0, 240, 255, 0.6); margin-top: 2px; }

/* ============================================================
 *  ★ 玄学细节输入字段
 * ============================================================ */
.detail-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-label {
  font-size: 11px;
  color: var(--qe-pink);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cyber-input,
.cyber-select {
  width: 100%;
  padding: 9px 12px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--qe-pink-glow);
  border-radius: 4px;
  color: var(--qe-cyan);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: all 0.25s ease;
}

.cyber-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FF007F' stroke-width='3'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.cyber-input:focus,
.cyber-select:focus {
  border-color: var(--qe-pink);
  box-shadow: 0 0 12px rgba(255, 0, 127, 0.3);
}

.cyber-input::placeholder { color: rgba(0, 240, 255, 0.3); }
.cyber-select option { background: #0a0a15; color: var(--qe-cyan); }

/* ============================================================
 *  启动按钮（玫粉主导）
 * ============================================================ */
.launch-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--qe-pink-soft), rgba(0, 240, 255, 0.15));
  border: 2px solid var(--qe-pink);
  border-radius: 6px;
  color: var(--qe-pink);
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  text-transform: uppercase;
}

.launch-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--qe-pink), #ff3399);
  color: #fff;
  box-shadow:
    0 0 30px rgba(255, 0, 127, 0.6),
    0 0 60px rgba(255, 0, 127, 0.3);
  transform: scale(1.03);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

.launch-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: rgba(255, 0, 127, 0.3);
}

.launch-hint {
  color: rgba(0, 240, 255, 0.4);
  font-size: 11px;
  margin-top: 8px;
}

.scan-particle {
  position: absolute;
  top: 0; left: -50%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 127, 0.4), transparent);
  animation: scanMove 2s linear infinite;
  pointer-events: none;
}
.scan-particle.right { animation-delay: 1s; }
@keyframes scanMove {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* ============================================================
 *  重置按钮
 * ============================================================ */
.reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(10, 10, 21, 0.8);
  border: 1px solid var(--qe-pink);
  border-radius: 6px;
  color: var(--qe-pink);
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.reset-btn:hover {
  border-color: var(--qe-pink);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

/* ============================================================
 *  全息 Loading（玫粉 + 青蓝双环）
 * ============================================================ */
.hologram-loader {
  position: relative;
  width: 110px; height: 110px;
  margin: 0 auto;
}

.holo-ring {
  position: absolute;
  top: 50%; left: 50%;
  border: 2px solid transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.holo-ring:nth-child(1) {
  width: 110px; height: 110px;
  border-top-color: var(--qe-pink);
  border-right-color: var(--qe-pink);
  animation: holoSpin 2s linear infinite;
}
.holo-ring:nth-child(2) {
  width: 80px; height: 80px;
  border-bottom-color: var(--qe-cyan);
  border-left-color: var(--qe-cyan);
  animation: holoSpin 1.5s linear infinite reverse;
}
.holo-ring:nth-child(3) {
  width: 50px; height: 50px;
  border-top-color: var(--qe-pink);
  animation: holoSpin 1s linear infinite;
}

.holo-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--qe-pink);
  font-size: 16px;
  animation: corePulse 1.5s ease-in-out infinite;
}

@keyframes holoSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================================
 *  ★ 用户认证入口（Navbar 按钮）
 * ============================================================ */
.auth-entry-btn {
  cursor: pointer;
  border: 1px solid var(--qe-pink) !important;
  color: var(--qe-pink) !important;
  background: rgba(255, 0, 127, 0.08) !important;
  text-shadow: 0 0 5px rgba(255, 0, 127, 0.6);
  box-shadow: 0 0 8px rgba(255, 0, 127, 0.25), inset 0 0 6px rgba(255, 0, 127, 0.1);
  transition: all 0.25s ease;
  font-family: 'Audiowide', cursive, sans-serif;
  outline: none;
}
.auth-entry-btn:hover {
  transform: scale(1.08);
  background: rgba(255, 0, 127, 0.18) !important;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.6), inset 0 0 8px rgba(255, 0, 127, 0.2);
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.user-menu.hidden { display: none; }

.user-badge {
  font-family: 'Audiowide', cursive, sans-serif;
  border-color: rgba(0, 240, 255, 0.5) !important;
  color: var(--qe-cyan) !important;
  cursor: default;
}

.history-btn {
  cursor: pointer;
  border: 1px solid rgba(255, 230, 0, 0.4) !important;
  color: var(--qe-gold) !important;
  background: rgba(255, 230, 0, 0.06) !important;
  text-shadow: 0 0 5px rgba(255, 230, 0, 0.5);
  transition: all 0.25s ease;
  font-family: 'Audiowide', cursive, sans-serif;
  outline: none;
}
.history-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(255, 230, 0, 0.5);
}

.logout-btn {
  cursor: pointer;
  border: 1px solid rgba(255, 0, 127, 0.4) !important;
  color: var(--qe-pink) !important;
  transition: all 0.25s ease;
  font-family: 'Audiowide', cursive, sans-serif;
  outline: none;
}
.logout-btn:hover {
  transform: scale(1.08);
  background: rgba(255, 0, 127, 0.15) !important;
  box-shadow: 0 0 12px rgba(255, 0, 127, 0.5);
}

/* ============================================================
 *  ★ 赛博朋克 Auth 模态框 & 历史记录面板
 * ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease;
}
.modal-overlay.hidden { display: none; }

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-modal,
.history-modal {
  position: relative;
  width: 90%;
  max-width: 420px;
  background: linear-gradient(135deg, rgba(10, 10, 20, 0.98), rgba(5, 5, 15, 0.98));
  border: 1px solid var(--qe-cyan);
  border-radius: 6px;
  box-shadow:
    0 0 30px rgba(0, 240, 255, 0.3),
    0 0 60px rgba(255, 0, 127, 0.15),
    inset 0 0 20px rgba(0, 240, 255, 0.05);
  animation: modalSlideUp 0.4s ease;
  overflow: hidden;
}

.history-modal {
  max-width: 560px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

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

.modal-close {
  position: absolute;
  top: 8px; right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--qe-pink);
  cursor: pointer;
  text-shadow: 0 0 8px rgba(255, 0, 127, 0.6);
  transition: all 0.2s ease;
  z-index: 2;
}
.modal-close:hover {
  color: var(--qe-white-soft);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.auth-modal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px 12px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--qe-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

/* Auth 标签切换 */
.auth-tabs {
  display: flex;
  padding: 12px 20px 0;
  gap: 8px;
}

.auth-tab {
  flex: 1;
  padding: 8px;
  background: none;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 4px;
  color: rgba(0, 240, 255, 0.5);
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.auth-tab.active {
  border-color: var(--qe-cyan);
  color: var(--qe-cyan);
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
}
.auth-tab:hover:not(.active) {
  color: var(--qe-cyan);
  border-color: rgba(0, 240, 255, 0.4);
}

/* Auth 表单 */
.auth-form {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-label {
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--qe-pink);
  text-shadow: 0 0 4px rgba(255, 0, 127, 0.3);
}

.auth-input {
  width: 100%;
  box-sizing: border-box;
}

.auth-error {
  font-size: 11px;
  color: #ff4444;
  text-shadow: 0 0 4px rgba(255, 68, 68, 0.5);
  padding: 4px 8px;
  border-left: 2px solid #ff4444;
  background: rgba(255, 68, 68, 0.08);
}
.auth-error.hidden { display: none; }

.auth-submit-btn {
  margin-top: 4px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(255, 0, 127, 0.15));
  border: 1px solid var(--qe-cyan);
  border-radius: 4px;
  color: var(--qe-cyan);
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.auth-submit-btn:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.3), rgba(255, 0, 127, 0.3));
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5), 0 0 30px rgba(255, 0, 127, 0.3);
  color: var(--qe-white-soft);
}
.auth-submit-btn:active { transform: scale(0.97); }

/* ============================================================
 *  ★ 历史记录面板
 * ============================================================ */
.history-storage-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.history-storage-badge {
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid rgba(255, 230, 0, 0.4);
  color: var(--qe-gold);
  background: rgba(255, 230, 0, 0.08);
  text-shadow: 0 0 4px rgba(255, 230, 0, 0.4);
}
.history-storage-badge.cloud {
  border-color: rgba(0, 240, 255, 0.4);
  color: var(--qe-cyan);
  background: rgba(0, 240, 255, 0.08);
  text-shadow: 0 0 4px rgba(0, 240, 255, 0.4);
}

.history-count {
  font-size: 11px;
  color: rgba(0, 240, 255, 0.6);
  font-family: 'Audiowide', cursive, sans-serif;
}

.history-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-list::-webkit-scrollbar { width: 4px; }
.history-list::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.3); }
.history-list::-webkit-scrollbar-thumb { background: rgba(0, 240, 255, 0.3); border-radius: 2px; }

.history-item {
  padding: 10px 12px;
  background: rgba(0, 240, 255, 0.04);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 4px;
  transition: all 0.2s ease;
}
.history-item:hover {
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.15);
}

.history-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.history-item-engine {
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 11px;
  color: var(--qe-pink);
  text-shadow: 0 0 4px rgba(255, 0, 127, 0.3);
}

.history-item-time {
  font-size: 9px;
  color: rgba(0, 240, 255, 0.5);
}

.history-item-detail {
  font-size: 11px;
  color: rgba(0, 240, 255, 0.7);
  line-height: 1.5;
}

.history-item-state {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 6px;
  font-size: 9px;
  border-radius: 3px;
  font-family: 'Audiowide', cursive, sans-serif;
}
.history-item-state.LOST { background: rgba(255, 230, 0, 0.15); color: var(--qe-gold); border: 1px solid rgba(255, 230, 0, 0.3); }
.history-item-state.STOLEN { background: rgba(255, 0, 127, 0.15); color: var(--qe-pink); border: 1px solid rgba(255, 0, 127, 0.3); }
.history-item-state.MOVED { background: rgba(0, 240, 255, 0.15); color: var(--qe-cyan); border: 1px solid rgba(0, 240, 255, 0.3); }

.history-empty {
  text-align: center;
  padding: 30px 20px;
  color: rgba(0, 240, 255, 0.4);
  font-size: 12px;
  font-family: 'Audiowide', cursive, sans-serif;
  letter-spacing: 1px;
}

@keyframes corePulse {
  0%, 100% { text-shadow: 0 0 10px var(--qe-pink); transform: translate(-50%, -50%) scale(1); }
  50% { text-shadow: 0 0 25px var(--qe-pink); transform: translate(-50%, -50%) scale(1.2); }
}

.loading-dots span {
  animation: dotBlink 1.4s infinite both;
  color: var(--qe-pink);
  font-size: 20px;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBlink {
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

/* ============================================================
 *  失物因缘警报卡片（玫粉/青蓝/红三态）
 * ============================================================ */
.alert-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 6px;
  border: 1px solid;
  position: relative;
  overflow: hidden;
}

.alert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, currentColor, transparent);
  opacity: 0.08;
  pointer-events: none;
}

/* STOLEN - 警示红 */
.alert-card.stolen {
  border-color: var(--qe-red);
  color: var(--qe-red);
  background: rgba(255, 0, 85, 0.08);
  box-shadow: 0 0 30px rgba(255, 0, 85, 0.3), inset 0 0 20px rgba(255, 0, 85, 0.05);
  animation: alertPulse 1.5s ease-in-out infinite;
}

/* LOST - 青蓝 */
.alert-card.lost {
  border-color: var(--qe-cyan);
  color: var(--qe-cyan);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3), inset 0 0 20px rgba(0, 240, 255, 0.05);
}

/* MOVED - 玫粉主导 */
.alert-card.moved {
  border-color: var(--qe-pink);
  color: var(--qe-pink);
  background: var(--qe-pink-soft);
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.35), inset 0 0 20px rgba(255, 0, 127, 0.05);
}

@keyframes alertPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(255, 0, 85, 0.3), inset 0 0 20px rgba(255, 0, 85, 0.05); }
  50% { box-shadow: 0 0 50px rgba(255, 0, 85, 0.6), inset 0 0 30px rgba(255, 0, 85, 0.1); }
}

.alert-icon { font-size: 32px; flex-shrink: 0; }
.alert-content { flex: 1; }
.alert-title { font-size: 18px; font-weight: bold; letter-spacing: 1px; }
.alert-subtitle { font-size: 12px; opacity: 0.85; margin-top: 3px; }
.alert-badge {
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
  flex-shrink: 0;
}

/* ============================================================
 *  方位与五行
 * ============================================================ */
.direction-text {
  font-size: 22px;
  font-weight: bold;
  color: var(--qe-pink);
  text-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
}

.element-text {
  font-size: 12px;
  color: rgba(0, 240, 255, 0.75);
  line-height: 1.6;
}

/* ============================================================
 *  置信度进度条（玫粉→青蓝渐变）
 * ============================================================ */
.confidence-bar-wrap {
  position: relative;
  width: 100%;
  height: 26px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--qe-pink-glow);
  border-radius: 4px;
  overflow: hidden;
}

.confidence-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--qe-pink), var(--qe-cyan));
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}

.confidence-label {
  position: absolute;
  top: 50%; right: 10px;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

/* ============================================================
 *  四柱干支
 * ============================================================ */
.ganzhi-pill {
  text-align: center;
  padding: 8px 4px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--qe-pink-glow);
  border-radius: 4px;
}

.gz-label {
  font-size: 9px;
  color: var(--qe-pink);
  letter-spacing: 1px;
}

.gz-value {
  font-size: 18px;
  font-weight: bold;
  color: var(--qe-pink);
  margin-top: 3px;
  text-shadow: 0 0 8px rgba(255, 0, 127, 0.4);
}

/* ============================================================
 *  AI 终端打字机
 * ============================================================ */
.analysis-terminal {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--qe-pink-glow);
  border-radius: 4px;
  padding: 14px;
  min-height: 100px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--qe-green);
  max-height: 320px;
  overflow-y: auto;
}

.analysis-text {
  white-space: pre-wrap;
  word-break: break-word;
}

.cursor-blink {
  color: var(--qe-pink);
  animation: cursorBlink 0.8s step-end infinite;
}

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

/* ============================================================
 *  滚动条
 * ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 0, 127, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 0, 127, 0.6); }

/* ============================================================
 *  ★ Footer 创作者签名区
 * ============================================================ */
.footer-cyber {
  border-top: 1px solid var(--qe-pink-glow);
  background: rgba(5, 5, 16, 0.7);
  backdrop-filter: blur(8px);
  padding: 14px 0;
}

/* ★ 免责声明系统注释（赛博霓虹警示框） */
.disclaimer-box {
  max-width: 900px;
  margin: 0 auto 10px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 230, 0, 0.35);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(255, 230, 0, 0.05), rgba(255, 0, 127, 0.04));
  box-shadow:
    0 0 10px rgba(255, 230, 0, 0.15),
    inset 0 0 8px rgba(255, 0, 127, 0.05);
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
  line-height: 1.5;
  color: rgba(255, 230, 0, 0.85);
  text-shadow: 0 0 4px rgba(255, 230, 0, 0.4);
  animation: disclaimerPulse 4s ease-in-out infinite;
}

.disclaimer-box i {
  color: var(--qe-pink);
  text-shadow: 0 0 6px rgba(255, 0, 127, 0.6);
  flex-shrink: 0;
}

@keyframes disclaimerPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 230, 0, 0.15), inset 0 0 8px rgba(255, 0, 127, 0.05);
    border-color: rgba(255, 230, 0, 0.35);
  }
  50% {
    box-shadow: 0 0 18px rgba(255, 230, 0, 0.3), inset 0 0 12px rgba(255, 0, 127, 0.1);
    border-color: rgba(255, 230, 0, 0.55);
  }
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(0, 240, 255, 0.5);
}

.footer-star {
  color: var(--qe-gold);
  text-shadow: 0 0 6px rgba(255, 230, 0, 0.6);
  font-size: 10px;
}

.footer-text {
  color: rgba(0, 240, 255, 0.5);
}

.footer-divider {
  color: var(--qe-pink);
  opacity: 0.6;
}

.footer-signature {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--qe-cyan);
}

.footer-signature i {
  color: var(--qe-pink);
  text-shadow: 0 0 6px rgba(255, 0, 127, 0.6);
}

.footer-name {
  color: var(--qe-gold);
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow:
    0 0 6px rgba(255, 230, 0, 0.6),
    0 0 12px rgba(255, 0, 127, 0.3);
}

/* ============================================================
 *  ★ 管理员全网数据看板大屏
 * ============================================================ */

/* Navbar 管理员看板按钮（亮黄霓虹） */
.admin-dashboard-btn {
  border-color: rgba(255, 230, 0, 0.5);
  color: rgba(255, 230, 0, 0.9);
  text-shadow: 0 0 5px rgba(255, 230, 0, 0.5);
  font-family: 'Audiowide', cursive, sans-serif;
}
.admin-dashboard-btn:hover {
  background: rgba(255, 230, 0, 0.12);
  box-shadow: 0 0 12px rgba(255, 230, 0, 0.4);
  border-color: rgba(255, 230, 0, 0.8);
}

/* 大屏模态框 */
.admin-modal {
  width: 95%;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(135deg, rgba(8, 8, 18, 0.98), rgba(4, 4, 12, 0.98));
  border: 1px solid var(--qe-cyan);
  border-radius: 6px;
  box-shadow:
    0 0 40px rgba(0, 240, 255, 0.35),
    0 0 80px rgba(255, 0, 127, 0.2),
    inset 0 0 30px rgba(0, 240, 255, 0.05);
  padding: 24px 28px;
  position: relative;
  animation: modalSlideUp 0.4s ease;
}

.admin-modal::-webkit-scrollbar { width: 8px; }
.admin-modal::-webkit-scrollbar-track { background: rgba(0, 240, 255, 0.05); }
.admin-modal::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.3);
  border-radius: 4px;
}

.admin-modal-header {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--qe-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
}

.admin-section {
  margin-bottom: 22px;
}

.admin-section-title {
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 13px;
  color: var(--qe-pink);
  text-shadow: 0 0 6px rgba(255, 0, 127, 0.5);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

/* 全站概览 */
.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.admin-stat-card {
  padding: 16px 18px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 4px;
  text-align: center;
  transition: all 0.2s ease;
}
.admin-stat-card:hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}
.admin-stat-label {
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 11px;
  color: rgba(0, 240, 255, 0.7);
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.admin-stat-value {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--qe-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

/* 寻物热搜 Top 10 */
.admin-top-items { display: flex; flex-direction: column; gap: 6px; }
.admin-top-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 0, 127, 0.05);
  border: 1px solid rgba(255, 0, 127, 0.2);
  border-radius: 4px;
  transition: all 0.2s ease;
}
.admin-top-item:hover {
  border-color: rgba(255, 0, 127, 0.5);
  background: rgba(255, 0, 127, 0.08);
}
.admin-top-rank {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--qe-pink);
  text-shadow: 0 0 6px rgba(255, 0, 127, 0.6);
  min-width: 28px;
}
.admin-top-name {
  flex: 1;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}
.admin-top-count {
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 12px;
  color: var(--qe-cyan);
  text-shadow: 0 0 4px rgba(0, 240, 255, 0.4);
}

/* 物品分类占比 */
.admin-category { display: flex; flex-direction: column; gap: 10px; }
.admin-category-item { display: flex; flex-direction: column; gap: 4px; }
.admin-category-header {
  display: flex;
  justify-content: space-between;
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.admin-category-name { color: rgba(255, 255, 255, 0.85); }
.admin-category-percent { color: var(--qe-cyan); text-shadow: 0 0 4px rgba(0, 240, 255, 0.4); }
.admin-category-bar-bg {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
}
.admin-category-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--qe-cyan), var(--qe-pink));
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
  transition: width 0.6s ease;
}

/* 实时全网推演日志流 */
.admin-logs {
  max-height: 280px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 4px;
  padding: 10px 12px;
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.7;
}
.admin-logs::-webkit-scrollbar { width: 6px; }
.admin-logs::-webkit-scrollbar-thumb { background: rgba(0, 240, 255, 0.3); border-radius: 3px; }
.admin-log-line {
  color: rgba(0, 240, 255, 0.7);
  padding: 2px 0;
  border-bottom: 1px dashed rgba(0, 240, 255, 0.08);
  word-break: break-all;
}
.admin-log-time { color: rgba(255, 230, 0, 0.8); }
.admin-log-user { color: var(--qe-pink); }
.admin-log-item { color: rgba(255, 255, 255, 0.9); }
.admin-log-engine { color: rgba(0, 240, 255, 0.9); }
.admin-log-dir { color: rgba(255, 230, 0, 0.9); }

/* 刷新按钮 */
.admin-refresh-btn {
  display: block;
  margin: 18px auto 0;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--qe-cyan);
  border-radius: 4px;
  color: var(--qe-cyan);
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.admin-refresh-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

/* ============================================================
 *  ★ 高阶量子全息报告（5 大维度）
 * ============================================================ */
.hologram-panel {
  position: relative;
  border: 1px solid var(--qe-pink-glow);
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.15);
}

.hologram-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vip-lock-badge {
  margin-left: auto;
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 10px;
  padding: 4px 10px;
  border: 1px solid var(--qe-pink-glow);
  border-radius: 3px;
  color: var(--qe-pink);
  background: var(--qe-pink-soft);
  letter-spacing: 1px;
  white-space: nowrap;
}
.vip-lock-badge.vip-active {
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.5);
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.holo-card {
  background: rgba(255, 0, 127, 0.04);
  border: 1px solid rgba(255, 0, 127, 0.25);
  border-radius: 4px;
  padding: 14px;
  position: relative;
  transition: all 0.3s ease;
}
.holo-card:hover {
  border-color: var(--qe-pink-glow);
  box-shadow: 0 0 16px rgba(255, 0, 127, 0.2);
}
.holo-card-full { grid-column: 1 / -1; }

.holo-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 12px;
  color: var(--qe-pink);
  letter-spacing: 1px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 0, 127, 0.3);
}

.holo-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.holo-card-body.locked {
  filter: blur(6px);
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
}
.holo-card-body.unlocked {
  filter: none;
  opacity: 1;
}

.holo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  line-height: 1.6;
}
.holo-label {
  color: var(--qe-cyan);
  flex-shrink: 0;
}
.holo-value {
  color: rgba(255, 255, 255, 0.92);
  word-break: break-word;
}

.holo-steps {
  list-style: decimal inside;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}
.holo-steps li {
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255, 0, 127, 0.15);
}
.holo-steps li:last-child { border-bottom: none; }

/* 锁定遮罩提示 */
.holo-lock-hint {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: rgba(5, 5, 16, 0.85);
  border: 1px solid var(--qe-pink-glow);
  border-radius: 4px;
  color: var(--qe-pink);
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  z-index: 5;
  box-shadow: 0 0 24px rgba(255, 0, 127, 0.3);
  text-align: center;
  white-space: nowrap;
}
.holo-lock-hint.hidden { display: none; }
.holo-lock-hint i {
  font-size: 18px;
  animation: lockPulse 1.5s ease-in-out infinite;
}
@keyframes lockPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ============================================================
 *  ★ VIP 口令激活模态框
 * ============================================================ */
.vip-modal {
  background: rgba(10, 5, 20, 0.97);
  border: 1px solid var(--qe-pink-glow);
  border-radius: 6px;
  padding: 28px 24px;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 0 40px rgba(255, 0, 127, 0.4);
  position: relative;
}
.vip-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 14px;
  color: var(--qe-pink);
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--qe-pink-glow);
  text-align: center;
  justify-content: center;
}
.vip-modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vip-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin: 0;
}
.vip-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--qe-pink-glow);
  border-radius: 4px;
  color: var(--qe-cyan);
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-align: center;
  box-sizing: border-box;
}
.vip-input:focus {
  outline: none;
  border-color: var(--qe-pink);
  box-shadow: 0 0 12px rgba(255, 0, 127, 0.4);
}
.vip-error {
  color: var(--qe-red);
  font-size: 12px;
  text-align: center;
  padding: 6px;
  background: rgba(255, 0, 85, 0.1);
  border: 1px solid rgba(255, 0, 85, 0.3);
  border-radius: 3px;
}
.vip-error.hidden { display: none; }
.vip-submit-btn {
  padding: 12px;
  background: var(--qe-pink-soft);
  border: 1px solid var(--qe-pink);
  border-radius: 4px;
  color: var(--qe-pink);
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.vip-submit-btn:hover {
  background: var(--qe-pink);
  color: #050510;
  box-shadow: 0 0 18px rgba(255, 0, 127, 0.6);
}
.vip-submit-btn:active { transform: scale(0.97); }

/* ============================================================
 *  ★ Toast 提示
 * ============================================================ */
.quant-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  padding: 14px 24px;
  background: rgba(10, 5, 20, 0.97);
  border: 1px solid #ffd700;
  border-radius: 4px;
  color: #ffd700;
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.4);
  text-align: center;
  max-width: 90vw;
}
.quant-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
 *  ★ 页脚 🔑 彩蛋按钮
 * ============================================================ */
.footer-key {
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 3px;
  transition: all 0.2s ease;
  opacity: 0.5;
}
.footer-key:hover {
  opacity: 1;
  color: var(--qe-pink);
  border-color: var(--qe-pink-glow);
  box-shadow: 0 0 8px rgba(255, 0, 127, 0.3);
}

/* ============================================================
 *  响应式
 * ============================================================ */
@media (max-width: 768px) {
  /* ===== 顶部导航栏移动端优化 ===== */
  .navbar-fixed {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .navbar-inner {
    max-width: 100vw;
    padding: 8px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
  }
  .navbar-logo-text { font-size: 16px; letter-spacing: 1px; }
  .navbar-logo-icon { font-size: 18px; }
  .navbar-stickers {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    justify-content: flex-end;
  }
  .nav-sticker {
    font-size: 9px;
    padding: 3px 6px;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }
  /* 隐藏次要装饰贴纸，只保留功能按钮 */
  .nav-sticker.star,
  .nav-sticker:not(.lang-switcher):not(.auth-entry-btn):not(.user-badge):not(.history-btn):not(.admin-dashboard-btn):not(.logout-btn):not(.creator-badge) {
    display: none;
  }

  /* ===== 主区域 & 状态标签移动端优化 ===== */
  main { padding-top: 60px !important; }
  .hero-title-section { padding: 14px 10px 20px; }
  .hero-cyber-meta {
    gap: 5px;
    margin-bottom: 8px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }
  .meta-chip {
    font-size: 8px;
    padding: 2px 6px;
    letter-spacing: 0.5px;
    flex-shrink: 1;
    min-width: 0;
    white-space: nowrap;
  }
  .meta-chip i { font-size: 5px; margin-right: 2px; }
  .health-strip {
    gap: 6px;
    padding: 6px 10px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .health-item { gap: 3px; font-size: 10px; flex-shrink: 1; }

  /* ===== 高阶全息报告移动端优化 ===== */
  .alert-card { flex-direction: column; text-align: center; gap: 10px; }
  .direction-text { font-size: 18px; }
  .launch-btn { padding: 12px 22px; font-size: 13px; }
  .step-label { font-size: 12px; }
  .admin-modal { padding: 16px 14px; }
  .admin-modal-header { font-size: 14px; }
  .admin-overview-grid { grid-template-columns: 1fr; }
  .admin-stat-value { font-size: 24px; }

  /* ===== 高阶全息报告移动端优化 ===== */
  .hologram-panel .p-5 {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }
  .holo-card { padding: 10px; }
  .holo-card-header { font-size: 11px; margin-bottom: 6px; }
  .holo-row { font-size: 12px; line-height: 1.5; }
  .holo-steps { font-size: 12px; }
  .holo-lock-hint {
    font-size: 10px;
    padding: 10px 14px;
    white-space: normal;
    max-width: 90%;
    line-height: 1.4;
  }
  .vip-lock-badge { font-size: 9px; padding: 3px 8px; }
  .vip-modal { padding: 22px 16px; }
  .vip-modal-header { font-size: 12px; }
  .quant-toast { font-size: 11px; padding: 10px 16px; top: 70px; }
}

/* ===== 超小屏（≤480px）进一步紧凑 ===== */
@media (max-width: 480px) {
  .navbar-inner { padding: 6px 8px; gap: 4px; }
  .navbar-logo-text { font-size: 14px; letter-spacing: 0.5px; }
  .navbar-logo-icon { font-size: 16px; }
  .nav-sticker {
    font-size: 8px;
    padding: 2px 5px;
    letter-spacing: 0;
  }
  .holo-card { padding: 8px; }
  .holo-card-header { font-size: 10px; gap: 6px; }
  .holo-row { font-size: 11px; }
  .holo-steps { font-size: 11px; }
  .holo-lock-hint { font-size: 9px; padding: 8px 10px; }
}
