/* ================================================================
   CYBER DARK — 霓虹城市网格主题（Neon City Grid）
   设计语言：赛博2077 / 街机机柜 / 黑客终端
   铁律：等宽字体 · 零圆角 · 分类色编码 · 青色主色 · 全变量覆盖
   ================================================================ */

/* ─────────────────────────────────────────────────
   1. :root 全量变量覆盖（消除 glass-theme 浅色泄漏）
   ───────────────────────────────────────────────── */
:root {
  /* 主色系 */
  --primary-color:    #00ffff;
  --secondary-color:  #9900ff;
  --accent-color:     #ff00aa;
  --success-color:    #00ff88;
  --warning-color:    #ffcc00;
  --danger-color:     #ff2244;

  /* 背景层次 */
  --bg-primary:    #080810;
  --bg-secondary:  #0d0d1e;
  --bg-tertiary:   #111128;

  /* 文字层（全面修复对比度） */
  --text-primary:   #e2f0ff;  /* 13.1:1 */
  --text-secondary: #8faac8;  /* 5.2:1  旧值 #4a5e8c 已废弃 */
  --text-tertiary:  #6a8aaa;  /* 4.6:1  旧值 #2a3a5c 已废弃 */

  /* 组件变量覆盖（让 glass-theme 组件自动继承深色） */
  --glass-bg:        rgba(13, 13, 30, 0.96);
  --glass-border:    rgba(0, 255, 255, 0.18);
  --glass-shadow:    none;
  --nav-bg:          #06060f;
  --search-input-bg: rgba(0, 255, 255, 0.04);
  --panel-bg:        #0d0d1e;
  --footer-bg:       #06060f;

  /* 零圆角铁律 */
  --border-radius-sm: 0px;
  --border-radius-md: 0px;
  --border-radius-lg: 0px;

  /* 过渡：覆盖 glass-theme 的 0.3s，统一为 150ms */
  --transition: all 0.15s ease;
  --transition-bounce: all 0.15s ease;

  /* 渐变 */
  --gradient-primary:   linear-gradient(90deg, #00ffff, #9900ff);
  --gradient-secondary: linear-gradient(90deg, #ff00aa, #9900ff);
  --gradient-accent:    linear-gradient(90deg, #00ff88, #00ffff);

  /* 阴影全部清零 */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;

  /* 霓虹发光 */
  --glow-cyan:   0 0 6px #00ffff, 0 0 20px rgba(0, 255, 255, 0.4);
  --glow-pink:   0 0 6px #ff00aa, 0 0 20px rgba(255, 0, 170, 0.4);
  --glow-purple: 0 0 6px #9900ff, 0 0 20px rgba(153, 0, 255, 0.4);
}

/* ─────────────────────────────────────────────────
   2. 全局 Body：深空黑 + 青色网格纹理
   ───────────────────────────────────────────────── */
body {
  font-family: 'Consolas', 'Courier New', 'Monaco', monospace !important;
  background-color: #080810 !important;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.04) 1px, transparent 1px) !important;
  background-size: 32px 32px !important;
  background-attachment: fixed !important;
  color: #e2f0ff !important;
}

/* 扫描线 overlay：极淡，纯氛围，不影响交互 */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 3px,
    rgba(0, 0, 0, 0.03) 3px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ─────────────────────────────────────────────────
   3. Keyframes
   ───────────────────────────────────────────────── */
@keyframes blink {
  50% { opacity: 0; }
}

/* ─────────────────────────────────────────────────
   4. 粒子：霓虹青色（粒子豁免零圆角铁律）
   ───────────────────────────────────────────────── */
.particle {
  background: linear-gradient(135deg, #00ffff, #9900ff) !important;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.6) !important;
  opacity: 0.15 !important;
}

/* ─────────────────────────────────────────────────
   5. 侧边栏导航（桌面 > 992px）
   ───────────────────────────────────────────────── */
.glass-nav {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  width: 260px !important;
  height: 100vh !important;
  flex-direction: column !important;
  padding: 0 !important;
  border-bottom: none !important;
  border-right: 1px solid rgba(0, 255, 255, 0.15) !important;
  border-radius: 0 !important;
  background: #06060f !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 255, 0.12) transparent;
  z-index: 1000 !important;
  box-shadow: none !important;
}

.glass-nav::-webkit-scrollbar       { width: 2px; }
.glass-nav::-webkit-scrollbar-track { background: transparent; }
.glass-nav::-webkit-scrollbar-thumb { background: rgba(0, 255, 255, 0.15); }

.glass-nav-container {
  flex-direction: column !important;
  align-items: flex-start !important;
  height: 100% !important;
  width: 100% !important;
  padding: 24px 16px 20px !important;
  gap: 0 !important;
  max-width: none !important;
}

/* ─────────────────────────────────────────────────
   6. Logo：终端光标风格
   ───────────────────────────────────────────────── */
.glass-logo {
  font-family: 'Consolas', 'Courier New', monospace !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #00ffff !important;
  background-clip: unset !important;
  color: #00ffff !important;
  text-shadow: var(--glow-cyan) !important;
  padding-bottom: 14px !important;
  margin-bottom: 16px !important;
  width: 100% !important;
  text-decoration: none !important;
  display: block !important;
  border-image: linear-gradient(90deg, #00ffff, #ff00aa) 1 !important;
  border-bottom: 1px solid transparent !important;
}

/* Logo 光标闪烁 */
.glass-logo a::after,
.glass-logo::after {
  content: '_';
  animation: blink 1s step-end infinite;
  color: #00ffff;
}

/* ─────────────────────────────────────────────────
   7. 搜索：侧边栏顶部（Logo 下方）
   ───────────────────────────────────────────────── */
.glass-nav-actions {
  flex-direction: column !important;
  width: 100% !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
  gap: 0 !important;
  order: -1 !important;
  margin-bottom: 16px !important;
}

.glass-search-box {
  width: 100% !important;
  flex-direction: row !important;
  gap: 0 !important;
}

.glass-search-input {
  width: 100% !important;
  flex: 1 !important;
  border-radius: 0 !important;
  background: rgba(0, 255, 255, 0.04) !important;
  border: 1px solid rgba(0, 255, 255, 0.18) !important;
  border-right: none !important;
  color: #e2f0ff !important;
  font-family: 'Consolas', monospace !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.04em !important;
  padding: 8px 10px !important;
}

.glass-search-input::placeholder {
  color: var(--text-tertiary);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.glass-search-input:focus {
  border-color: rgba(0, 255, 255, 0.6) !important;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.1) !important;
  outline: none !important;
}

.glass-search-btn {
  width: auto !important;
  flex-shrink: 0 !important;
  border-radius: 0 !important;
  background: rgba(0, 255, 255, 0.06) !important;
  border: 1px solid rgba(0, 255, 255, 0.18) !important;
  color: #00ffff !important;
  font-family: 'Consolas', monospace !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em !important;
  padding: 8px 12px !important;
  transition: background 0.15s ease, box-shadow 0.15s ease !important;
}

.glass-search-btn:hover {
  background: rgba(0, 255, 255, 0.14) !important;
  box-shadow: var(--glow-cyan) !important;
  opacity: 1 !important;
}

.glass-search-btn:focus-visible {
  outline: 2px solid #00ffff !important;
  outline-offset: 2px !important;
}

/* ─────────────────────────────────────────────────
   8. 侧边栏区块标题标签（NAV / CATEGORIES）
   ───────────────────────────────────────────────── */
.nav-section-label {
  display: block;
  font-family: 'Consolas', monospace;
  font-size: 0.62rem;
  color: var(--text-tertiary);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 6px;
  margin-top: 16px;
  padding-left: 2px;
}

/* ─────────────────────────────────────────────────
   9. 基础导航菜单（HOME / ALL GAMES / ABOUT）
   ───────────────────────────────────────────────── */
.glass-nav-menu {
  flex-direction: column !important;
  gap: 1px !important;
  width: 100% !important;
  display: flex !important;
  margin-bottom: 4px !important;
}

/* NAV 区块标题 */
.glass-nav-menu::before {
  content: 'NAV';
  display: block;
  font-family: 'Consolas', monospace;
  font-size: 0.62rem;
  color: var(--text-tertiary);
  letter-spacing: 0.22em;
  margin-bottom: 6px;
  padding-left: 2px;
}

.glass-nav-link {
  display: block !important;
  width: 100% !important;
  padding: 8px 10px !important;
  border-left: 2px solid transparent !important;
  border-radius: 0 !important;
  font-family: 'Consolas', monospace !important;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--text-secondary) !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.glass-nav-link:hover {
  color: #00ffff !important;
  border-left-color: rgba(0, 255, 255, 0.5) !important;
  background: rgba(0, 255, 255, 0.04) !important;
}

.glass-nav-link.active {
  color: #00ffff !important;
  border-left-color: #00ffff !important;
  background: rgba(0, 255, 255, 0.07) !important;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.5) !important;
}

.glass-nav-link:focus-visible {
  outline: 2px solid #00ffff !important;
  outline-offset: -2px !important;
}

/* ─────────────────────────────────────────────────
   10. 分类导航区块
   ───────────────────────────────────────────────── */
.glass-nav-categories {
  width: 100%;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  padding-top: 4px;
  margin-top: 8px;
}

.nav-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-category-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 7px 10px !important;
  border-left: 2px solid transparent !important;
  border-radius: 0 !important;
  font-family: 'Consolas', monospace !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease !important;
  white-space: nowrap;
  overflow: hidden;
}

.nav-category-link:hover {
  color: #e2f0ff !important;
  background: rgba(0, 255, 255, 0.04) !important;
  border-left-color: rgba(0, 255, 255, 0.3) !important;
}

.nav-category-link.active {
  color: #00ffff !important;
  border-left-color: #00ffff !important;
  background: rgba(0, 255, 255, 0.06) !important;
}

.nav-category-link:focus-visible {
  outline: 2px solid #00ffff !important;
  outline-offset: -2px !important;
}

/* 分类圆点：默认紫色，各分类覆盖颜色 */
.cat-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aa66ff;
  flex-shrink: 0;
  transition: box-shadow 0.15s ease;
}

.nav-category-link:hover .cat-dot,
.nav-category-link.active .cat-dot {
  box-shadow: 0 0 6px currentColor;
}

/* 分类颜色编码（CSS 属性选择器） */
.nav-category-item[data-cat="all"]         .cat-dot { background: #00ffff; }
.nav-category-item[data-cat="action"]      .cat-dot,
.nav-category-item[data-cat="shooting"]    .cat-dot { background: #ff4444; }
.nav-category-item[data-cat="puzzle"]      .cat-dot,
.nav-category-item[data-cat="puzzles"]     .cat-dot { background: #4a9eff; }
.nav-category-item[data-cat="racing"]      .cat-dot { background: #ffcc00; }
.nav-category-item[data-cat="adventure"]   .cat-dot { background: #00cc66; }
.nav-category-item[data-cat="arcade"]      .cat-dot { background: #ff6600; }
.nav-category-item[data-cat="girls"]       .cat-dot,
.nav-category-item[data-cat="hypercasual"] .cat-dot { background: #ff69b4; }

.cat-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─────────────────────────────────────────────────
   11. 汉堡（桌面隐藏）
   ───────────────────────────────────────────────── */
.hamburger {
  display: none !important;
}

/* ─────────────────────────────────────────────────
   12. 主内容区：偏移 260px
   ───────────────────────────────────────────────── */
.main-container {
  margin-left: 260px !important;
}

.particles {
  left: 260px !important;
  width: calc(100% - 260px) !important;
}

/* ─────────────────────────────────────────────────
   13. 卡片：零圆角 + 四边青色描边 + 分类 accent bar
   ───────────────────────────────────────────────── */
.glass-card {
  background: #0d0d1e !important;
  border: 1px solid rgba(0, 255, 255, 0.18) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

/* accent bar：默认青色，hover 时显示 */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #00ffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  z-index: 1;
}

.glass-card:hover::before {
  transform: scaleX(1);
}

.glass-card:hover {
  border-color: rgba(0, 255, 255, 0.65) !important;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.18) !important;
  transform: none !important;
}

/* 分类对应的 accent bar 颜色 */
.glass-card[data-category="action"]::before,
.glass-card[data-category="shooting"]::before    { background: #ff4444; }
.glass-card[data-category="puzzle"]::before,
.glass-card[data-category="puzzles"]::before     { background: #4a9eff; }
.glass-card[data-category="racing"]::before      { background: #ffcc00; }
.glass-card[data-category="adventure"]::before   { background: #00cc66; }
.glass-card[data-category="arcade"]::before      { background: #ff6600; }
.glass-card[data-category="girls"]::before,
.glass-card[data-category="hypercasual"]::before { background: #ff69b4; }

/* 封面图放大效果 */
.glass-card-image {
  transition: transform 0.2s ease !important;
  display: block !important;
}

.glass-card:hover .glass-card-image {
  transform: scale(1.04) !important;
}

/* 分类标签 */
.glass-card-category {
  background: transparent !important;
  border: 1px solid rgba(0, 255, 255, 0.5) !important;
  color: #00ffff !important;
  border-radius: 0 !important;
  font-family: 'Consolas', monospace !important;
  font-size: 0.68rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 2px 7px !important;
}

.glass-card-title {
  font-family: 'Consolas', monospace !important;
  font-size: 0.88rem !important;
  color: var(--text-primary) !important;
  letter-spacing: 0.04em !important;
}

.glass-card-description {
  font-family: 'Consolas', monospace !important;
  color: var(--text-secondary) !important;
  font-size: 0.8rem !important;
}

/* 卡片 overlay */
.glass-card-overlay {
  background: rgba(0, 0, 0, 0.75) !important;
  border-radius: 0 !important;
}

/* 评分星星 */
.fa-star { color: #ffcc00 !important; }

/* ─────────────────────────────────────────────────
   14. 卡片网格：3 列（桌面）
   ───────────────────────────────────────────────── */
.glass-grid,
.glass-featured-grid,
.glass-popular-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

.glass-grid.two-columns {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* ─────────────────────────────────────────────────
   15. 节标题：左侧竖线 + 延伸横线
   ───────────────────────────────────────────────── */
.glass-section-title {
  font-family: 'Consolas', monospace !important;
  color: var(--text-primary) !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  border-left: 3px solid #00ffff !important;
  padding-left: 12px !important;
  border-radius: 0 !important;
}

/* 移除旧的 // 前缀 */
.glass-section-title::before {
  content: none !important;
}

/* 延伸横线 */
.glass-section-title::after {
  content: '' !important;
  flex: 1 !important;
  height: 1px !important;
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.3), transparent) !important;
}

.glass-title {
  font-family: 'Consolas', monospace !important;
  color: var(--text-primary) !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

.glass-hero-title {
  font-family: 'Consolas', monospace !important;
  color: #00ffff !important;
  text-shadow: var(--glow-cyan) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}

.glass-subtitle {
  font-family: 'Consolas', monospace !important;
  color: var(--text-secondary) !important;
  font-size: 0.88rem !important;
}

.glass-text {
  font-family: 'Consolas', monospace !important;
  color: var(--text-secondary) !important;
}

/* ─────────────────────────────────────────────────
   16. 按钮系统：空心描边 → hover 填充
   ───────────────────────────────────────────────── */
.glass-button,
.glass-button.primary {
  background: transparent !important;
  border: 1px solid #00ffff !important;
  color: #00ffff !important;
  border-radius: 0 !important;
  font-family: 'Consolas', monospace !important;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease !important;
}

.glass-button:hover,
.glass-button.primary:hover {
  background: #00ffff !important;
  color: #080810 !important;
  box-shadow: var(--glow-cyan) !important;
  transform: none !important;
}

.glass-button:focus-visible,
.glass-button.primary:focus-visible {
  outline: 2px solid #00ffff !important;
  outline-offset: 2px !important;
}

.glass-button.secondary {
  border-color: #9900ff !important;
  color: #9900ff !important;
}

.glass-button.secondary:hover {
  background: #9900ff !important;
  color: #fff !important;
  box-shadow: var(--glow-purple) !important;
}

.glass-button.accent {
  border-color: #ff00aa !important;
  color: #ff00aa !important;
}

.glass-button.accent:hover {
  background: #ff00aa !important;
  color: #fff !important;
  box-shadow: var(--glow-pink) !important;
}

.glass-button.small {
  font-size: 0.7rem !important;
  padding: 6px 12px !important;
}

/* VIEW ALL 小链接按钮 */
.glass-button.small.view-all,
a.glass-button.small[href*="game.list"] {
  border-color: rgba(0, 255, 255, 0.5) !important;
  color: rgba(0, 255, 255, 0.8) !important;
}

.glass-button.small.view-all:hover,
a.glass-button.small[href*="game.list"]:hover {
  border-color: #00ffff !important;
  color: #00ffff !important;
  background: rgba(0, 255, 255, 0.06) !important;
}

/* ─────────────────────────────────────────────────
   17. 面板、区块
   ───────────────────────────────────────────────── */
.glass-panel,
.glass-section {
  background: #0d0d1e !important;
  border: 1px solid rgba(0, 255, 255, 0.12) !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.glass-swiper {
  background: rgba(8, 8, 16, 0.9) !important;
  border: 1px solid rgba(0, 255, 255, 0.12) !important;
  border-radius: 0 !important;
}

.glass-sidebar-card {
  background: #0d0d1e !important;
  border: 1px solid rgba(0, 255, 255, 0.12) !important;
  border-left: 2px solid rgba(153, 0, 255, 0.4) !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Hero 区域 */
.glass-hero-section {
  background: transparent !important;
  border-radius: 0 !important;
}

.glass-hero-section .glass-title,
.glass-title.h1 {
  color: #00ffff !important;
  text-shadow: var(--glow-cyan) !important;
}

/* detail 页面 hero overlay */
.glass-hero-overlay {
  background: linear-gradient(90deg, rgba(8, 8, 16, 0.92) 0%, rgba(8, 8, 16, 0.6) 100%) !important;
}

/* ─────────────────────────────────────────────────
   18. Footer 重构
   ───────────────────────────────────────────────── */
.cyber-footer,
.glass-footer {
  background: #06060f !important;
  border-top: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: relative !important;
}

/* 顶部青→品红渐变装饰线 */
.cyber-footer::before,
.glass-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, #00ffff, #ff00aa);
}

.footer-content {
  background-color: #06060f !important;
}

.footer-title {
  font-family: 'Consolas', monospace !important;
  color: #00ffff !important;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.4) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}

.footer-links a {
  font-family: 'Consolas', monospace !important;
  color: var(--text-secondary) !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  transition: color 0.15s ease !important;
}

.footer-links a:hover {
  color: #00ffff !important;
}

.footer-bottom {
  font-family: 'Consolas', monospace !important;
  border-top-color: rgba(0, 255, 255, 0.1) !important;
  color: var(--text-tertiary) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em !important;
}

/* ─────────────────────────────────────────────────
   19. 移动端面板（全屏 overlay）
   ───────────────────────────────────────────────── */
.mobile-panel {
  background: #0d0d1e !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  max-width: 100% !important;
  border-right: none !important;
  border-left: none !important;
  overflow-y: auto !important;
}

.panel-header {
  border-bottom-color: rgba(0, 255, 255, 0.15) !important;
  background: #06060f !important;
}

.mobile-link {
  font-family: 'Consolas', monospace !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--text-secondary) !important;
  border-radius: 0 !important;
  border-left: 2px solid transparent !important;
  background: transparent !important;
}

.mobile-link:hover,
.mobile-link.active {
  background: rgba(0, 255, 255, 0.05) !important;
  border-left-color: #00ffff !important;
  color: #00ffff !important;
}

.mobile-categories {
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  padding-top: 8px;
  margin-top: 8px;
}

.panel-close {
  color: var(--text-secondary) !important;
  border-radius: 0 !important;
  font-family: 'Consolas', monospace !important;
}

.panel-close:hover {
  background: rgba(0, 255, 255, 0.08) !important;
  color: #00ffff !important;
}

/* ─────────────────────────────────────────────────
   20. 响应式 ≤ 992px：恢复顶部导航
   ───────────────────────────────────────────────── */
@media (max-width: 992px) {
  .glass-nav {
    position: sticky !important;
    top: 0 !important;
    left: unset !important;
    width: 100% !important;
    height: auto !important;
    flex-direction: row !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(0, 255, 255, 0.15) !important;
    overflow-y: unset !important;
    overflow-x: unset !important;
  }

  .glass-nav-container {
    flex-direction: row !important;
    align-items: center !important;
    height: auto !important;
    padding: 14px 20px !important;
    width: 100% !important;
  }

  .glass-nav-menu,
  .glass-nav-categories {
    display: none !important;
  }

  .glass-logo {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-image: none !important;
    border-bottom: none !important;
    font-size: 0.95rem !important;
    width: auto !important;
  }

  .glass-nav-actions {
    flex-direction: row !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
    width: auto !important;
    margin-left: auto !important;
    margin-bottom: 0 !important;
    order: 0 !important;
  }

  .glass-search-box {
    flex-direction: row !important;
    width: auto !important;
  }

  .glass-search-input {
    width: 150px !important;
    border: 1px solid rgba(0, 255, 255, 0.18) !important;
    border-right: none !important;
  }

  .glass-search-btn {
    border: 1px solid rgba(0, 255, 255, 0.18) !important;
    border-left: none !important;
  }

  .hamburger {
    display: block !important;
    color: var(--text-secondary) !important;
    font-family: 'Consolas', monospace !important;
    background: transparent !important;
    border: none !important;
  }

  .hamburger:hover { color: #00ffff !important; }

  .main-container {
    margin-left: 0 !important;
  }

  .particles {
    left: 0 !important;
    width: 100% !important;
  }

  .glass-grid,
  .glass-featured-grid,
  .glass-popular-grid,
  .glass-grid.two-columns {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ─────────────────────────────────────────────────
   21. 响应式 ≤ 768px
   ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .glass-search-box {
    display: none !important;
  }

  .glass-nav-container {
    padding: 12px 16px !important;
  }

  .mobile-panel {
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-content {
    padding: 20px !important;
  }

  .container {
    padding: 0 16px !important;
  }
}

/* ─────────────────────────────────────────────────
   22. 响应式 ≤ 576px：单列 + 触控优化
   ───────────────────────────────────────────────── */
@media (max-width: 576px) {
  .glass-logo {
    font-size: 0.85rem !important;
    letter-spacing: 0.08em !important;
  }

  .hamburger {
    padding: 8px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  .glass-grid,
  .glass-grid.two-columns,
  .glass-featured-grid,
  .glass-popular-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .glass-card-title {
    font-size: 0.8rem !important;
  }

  .glass-card-description {
    font-size: 0.72rem !important;
  }

  .glass-title.h1,
  .glass-hero-title {
    font-size: 1.3rem !important;
    letter-spacing: 0.06em !important;
  }

  .glass-title.h2 {
    font-size: 1.05rem !important;
  }

  .glass-section-title {
    font-size: 0.9rem !important;
  }

  .glass-button {
    min-height: 44px !important;
    padding: 10px 18px !important;
  }

  .mobile-link {
    padding: 14px 16px !important;
    font-size: 0.78rem !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
  }

  .mobile-search-form {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .mobile-search-form .glass-search-input {
    width: 100% !important;
    border-right: 1px solid rgba(0, 255, 255, 0.18) !important;
    border-bottom: none !important;
    font-size: 0.8rem !important;
  }

  .mobile-search-form .glass-search-btn {
    width: 100% !important;
    border-left: 1px solid rgba(0, 255, 255, 0.18) !important;
    min-height: 44px !important;
    font-size: 0.72rem !important;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    padding: 20px 16px !important;
    gap: 24px !important;
  }

  .container {
    padding: 0 12px !important;
  }

  .glass-nav-container {
    padding: 10px 12px !important;
  }
}

/* ================================================================
   游戏列表页（.ap-list-*） — 赛博霓虹零圆角风格
   ================================================================ */
body.theme-neon-dark .ap-list-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

body.theme-neon-dark .ap-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 16px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.25);
  margin-bottom: 0;
}

body.theme-neon-dark .ap-list-title {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  color: #e2f0ff;
}

body.theme-neon-dark .ap-list-title::before {
  content: '>';
  color: #00ffff;
  font-weight: 900;
  text-shadow: var(--glow-cyan);
  margin-right: 6px;
}

body.theme-neon-dark .ap-list-title-cat {
  color: #00ffff;
  text-shadow: var(--glow-cyan);
}

body.theme-neon-dark .ap-list-title-label {
  color: #8faac8;
  font-size: 1.2rem;
  font-weight: 600;
}

body.theme-neon-dark .ap-list-count {
  font-family: 'Consolas', 'Courier New', monospace;
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: #6a8aaa;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.theme-neon-dark .ap-list-count::before {
  content: '// ';
  color: #9900ff;
}

/* 分类 pill 轨道 */
body.theme-neon-dark .ap-cat-track-wrap {
  background: transparent;
  border-bottom: 1px solid rgba(0, 255, 255, 0.12);
  padding: 0;
  margin: 0;
}

body.theme-neon-dark .ap-cat-track {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: none;
}

body.theme-neon-dark .ap-cat-track::-webkit-scrollbar { display: none; }

body.theme-neon-dark .ap-cat-pill {
  flex-shrink: 0;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 0;
  border: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 255, 255, 0.04);
  color: #8faac8;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

body.theme-neon-dark .ap-cat-pill:hover {
  border-color: #00ffff;
  color: #00ffff;
  background: rgba(0, 255, 255, 0.1);
  box-shadow: var(--glow-cyan);
}

body.theme-neon-dark .ap-cat-pill.active {
  background: rgba(0, 255, 255, 0.18);
  border-color: #00ffff;
  color: #00ffff;
  box-shadow: var(--glow-cyan);
}

/* 分类色编码 */
body.theme-neon-dark .ap-cat-pill[data-cat="action"]:hover,
body.theme-neon-dark .ap-cat-pill[data-cat="shooting"]:hover { border-color: #ff4444; color: #ff4444; box-shadow: 0 0 6px #ff4444; }
body.theme-neon-dark .ap-cat-pill[data-cat="action"].active,
body.theme-neon-dark .ap-cat-pill[data-cat="shooting"].active { border-color: #ff4444; color: #ff4444; background: rgba(255,68,68,0.15); box-shadow: 0 0 6px #ff4444; }

body.theme-neon-dark .ap-cat-pill[data-cat="puzzle"]:hover,
body.theme-neon-dark .ap-cat-pill[data-cat="puzzles"]:hover { border-color: #4a9eff; color: #4a9eff; box-shadow: 0 0 6px #4a9eff; }
body.theme-neon-dark .ap-cat-pill[data-cat="puzzle"].active,
body.theme-neon-dark .ap-cat-pill[data-cat="puzzles"].active { border-color: #4a9eff; color: #4a9eff; background: rgba(74,158,255,0.15); box-shadow: 0 0 6px #4a9eff; }

body.theme-neon-dark .ap-cat-pill[data-cat="racing"]:hover { border-color: #ffcc00; color: #ffcc00; box-shadow: 0 0 6px #ffcc00; }
body.theme-neon-dark .ap-cat-pill[data-cat="racing"].active { border-color: #ffcc00; color: #ffcc00; background: rgba(255,204,0,0.15); box-shadow: 0 0 6px #ffcc00; }

body.theme-neon-dark .ap-cat-pill[data-cat="adventure"]:hover { border-color: #00cc66; color: #00cc66; box-shadow: 0 0 6px #00cc66; }
body.theme-neon-dark .ap-cat-pill[data-cat="adventure"].active { border-color: #00cc66; color: #00cc66; background: rgba(0,204,102,0.15); box-shadow: 0 0 6px #00cc66; }

body.theme-neon-dark .ap-cat-pill[data-cat="arcade"]:hover { border-color: #ff6600; color: #ff6600; box-shadow: 0 0 6px #ff6600; }
body.theme-neon-dark .ap-cat-pill[data-cat="arcade"].active { border-color: #ff6600; color: #ff6600; background: rgba(255,102,0,0.15); box-shadow: 0 0 6px #ff6600; }

body.theme-neon-dark .ap-cat-pill[data-cat="girls"]:hover,
body.theme-neon-dark .ap-cat-pill[data-cat="hypercasual"]:hover { border-color: #ff69b4; color: #ff69b4; box-shadow: 0 0 6px #ff69b4; }
body.theme-neon-dark .ap-cat-pill[data-cat="girls"].active,
body.theme-neon-dark .ap-cat-pill[data-cat="hypercasual"].active { border-color: #ff69b4; color: #ff69b4; background: rgba(255,105,180,0.15); box-shadow: 0 0 6px #ff69b4; }

/* 游戏网格 */
body.theme-neon-dark .ap-list-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 22px;
}

body.theme-neon-dark .ap-game-card {
  display: block;
  text-decoration: none;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #0d0d1e;
  border: 1px solid rgba(0, 255, 255, 0.18);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.theme-neon-dark .ap-game-card:hover {
  border-color: #00ffff;
  box-shadow: var(--glow-cyan);
  transform: translateY(-3px);
}

body.theme-neon-dark .ap-card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

body.theme-neon-dark .ap-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
  transition: transform 0.4s ease, filter 0.3s ease;
}

body.theme-neon-dark .ap-game-card:hover .ap-card-thumb img {
  transform: scale(1.06);
  filter: saturate(1.15) brightness(1.05);
}

body.theme-neon-dark .ap-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 204, 0, 0.95);
  color: #080810;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.56rem;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 3;
  line-height: 1.5;
  border: 1px solid #ffcc00;
  box-shadow: 0 0 6px rgba(255, 204, 0, 0.7);
}

body.theme-neon-dark .ap-card-badge.new {
  background: rgba(0, 255, 136, 0.95);
  color: #080810;
  border-color: #00ff88;
  box-shadow: 0 0 6px rgba(0, 255, 136, 0.7);
}

body.theme-neon-dark .ap-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 16, 0.7);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}

body.theme-neon-dark .ap-game-card:hover .ap-card-play {
  opacity: 1;
}

body.theme-neon-dark .ap-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: rgba(0, 255, 255, 0.18);
  color: #00ffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid #00ffff;
  box-shadow: var(--glow-cyan);
  transition: transform 0.15s ease;
}

body.theme-neon-dark .ap-game-card:hover .ap-play-btn {
  transform: scale(1.1);
}

body.theme-neon-dark .ap-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 10px 10px;
  background: linear-gradient(to top, rgba(8, 8, 16, 0.95) 0%, transparent 100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.theme-neon-dark .ap-card-cat {
  display: inline-block;
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(0, 255, 255, 0.6);
  color: #00ffff;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 0;
  line-height: 1.6;
}

/* 分类色 */
body.theme-neon-dark .ap-card-cat[data-cat="action"],
body.theme-neon-dark .ap-card-cat[data-cat="shooting"] { border-color: #ff4444; color: #ff4444; }
body.theme-neon-dark .ap-card-cat[data-cat="puzzle"],
body.theme-neon-dark .ap-card-cat[data-cat="puzzles"] { border-color: #4a9eff; color: #4a9eff; }
body.theme-neon-dark .ap-card-cat[data-cat="racing"] { border-color: #ffcc00; color: #ffcc00; }
body.theme-neon-dark .ap-card-cat[data-cat="adventure"] { border-color: #00cc66; color: #00cc66; }
body.theme-neon-dark .ap-card-cat[data-cat="arcade"] { border-color: #ff6600; color: #ff6600; }
body.theme-neon-dark .ap-card-cat[data-cat="girls"],
body.theme-neon-dark .ap-card-cat[data-cat="hypercasual"] { border-color: #ff69b4; color: #ff69b4; }

body.theme-neon-dark .ap-card-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #e2f0ff;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

body.theme-neon-dark .ap-card-rating {
  color: rgba(226, 240, 255, 0.7);
  font-size: 0.7rem;
}

body.theme-neon-dark .ap-card-rating .fa-star {
  color: #ffcc00;
}

/* 分页 */
body.theme-neon-dark .ap-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}

body.theme-neon-dark .ap-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 0;
  background: rgba(0, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 255, 0.3);
  color: #8faac8;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

body.theme-neon-dark .ap-page-btn:hover {
  border-color: #00ffff;
  color: #00ffff;
  background: rgba(0, 255, 255, 0.12);
  box-shadow: var(--glow-cyan);
}

body.theme-neon-dark .ap-page-btn.active {
  background: rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
  color: #00ffff;
  box-shadow: var(--glow-cyan);
}

body.theme-neon-dark .ap-page-ellipsis {
  color: #6a8aaa;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  padding: 0 4px;
  line-height: 36px;
}

/* 响应式 */
@media (max-width: 1200px) {
  body.theme-neon-dark .ap-list-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
@media (max-width: 992px) {
  body.theme-neon-dark .ap-list-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  body.theme-neon-dark .ap-list-title { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  body.theme-neon-dark .ap-list-wrap { padding: 0 14px 48px; }
  body.theme-neon-dark .ap-list-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  body.theme-neon-dark .ap-list-title { font-size: 1.3rem; }
  body.theme-neon-dark .ap-play-btn { width: 40px; height: 40px; font-size: 0.85rem; }
}
@media (max-width: 480px) {
  body.theme-neon-dark .ap-list-grid { gap: 8px; }
  body.theme-neon-dark .ap-list-title { font-size: 1.1rem; }
  body.theme-neon-dark .ap-list-title-label { font-size: 0.95rem; }
  body.theme-neon-dark .ap-card-name { font-size: 0.75rem; }
  body.theme-neon-dark .ap-page-btn { min-width: 32px; height: 32px; font-size: 0.75rem; }
}

/* ================================================================
   游戏详情页（.ap-detail-*） — 霓虹零圆角终端风格
   ================================================================ */
body.theme-neon-dark .ap-detail-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

body.theme-neon-dark .ap-detail-hero {
  position: relative;
  margin: 24px 0 28px;
  border-radius: 0;
  overflow: hidden;
  background: #0d0d1e;
  border: 1px solid rgba(0, 255, 255, 0.35);
  box-shadow: var(--glow-cyan);
}

body.theme-neon-dark .ap-detail-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(22px) brightness(0.35) saturate(1.4);
  transform: scale(1.15);
  z-index: 0;
}

body.theme-neon-dark .ap-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,255,255,0.18), rgba(153,0,255,0.12)),
    linear-gradient(to top, rgba(8,8,16,0.95), rgba(8,8,16,0.5));
  z-index: 1;
}

body.theme-neon-dark .ap-detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 28px;
  align-items: center;
}

body.theme-neon-dark .ap-detail-poster {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #00ffff;
  box-shadow: var(--glow-cyan);
  aspect-ratio: 1 / 1;
}

body.theme-neon-dark .ap-detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.theme-neon-dark .ap-detail-play-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 16, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

body.theme-neon-dark .ap-detail-play-cover:hover {
  opacity: 1;
}

body.theme-neon-dark .ap-detail-play-icon {
  width: 72px;
  height: 72px;
  border-radius: 0;
  background: rgba(0, 255, 255, 0.2);
  color: #00ffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid #00ffff;
  box-shadow: var(--glow-cyan);
  transition: transform 0.15s ease;
}

body.theme-neon-dark .ap-detail-play-cover:hover .ap-detail-play-icon {
  transform: scale(1.1);
}

body.theme-neon-dark .ap-detail-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.theme-neon-dark .ap-detail-cat {
  align-self: flex-start;
  background: transparent;
  border: 1px solid #00ffff;
  color: #00ffff;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 0;
  box-shadow: var(--glow-cyan);
}

body.theme-neon-dark .ap-detail-title {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  color: #e2f0ff;
  margin: 0;
  letter-spacing: 0.02em;
  text-shadow: 0 0 16px rgba(0, 255, 255, 0.5);
}

body.theme-neon-dark .ap-detail-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.theme-neon-dark .ap-detail-stars .fa-star {
  color: #ffcc00;
  font-size: 1rem;
}

body.theme-neon-dark .ap-detail-score {
  color: #e2f0ff;
  font-family: 'Consolas', 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.9rem;
}

body.theme-neon-dark .ap-detail-desc {
  color: rgba(226, 240, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 4px 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

body.theme-neon-dark .ap-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

body.theme-neon-dark .ap-btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: rgba(0, 255, 255, 0.18);
  border: 1px solid #00ffff;
  color: #00ffff;
  font-family: 'Consolas', 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: 0;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: var(--glow-cyan);
  transition: all 0.15s ease;
}

body.theme-neon-dark .ap-btn-play:hover {
  background: rgba(0, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

body.theme-neon-dark .ap-btn-cat {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background: transparent;
  border: 1px solid rgba(255, 0, 170, 0.5);
  color: #ff00aa;
  font-family: 'Consolas', 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.15s ease;
}

body.theme-neon-dark .ap-btn-cat:hover {
  border-color: #ff00aa;
  background: rgba(255, 0, 170, 0.12);
  box-shadow: var(--glow-pink);
}

body.theme-neon-dark .ap-detail-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 22px;
}

body.theme-neon-dark .ap-detail-main,
body.theme-neon-dark .ap-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.theme-neon-dark .ap-detail-card {
  background: rgba(13, 13, 30, 0.96);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 0;
  padding: 22px;
}

body.theme-neon-dark .ap-detail-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: #e2f0ff;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.theme-neon-dark .ap-detail-card-accent {
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #00ffff;
  box-shadow: var(--glow-cyan);
}

body.theme-neon-dark .ap-detail-card-text {
  color: rgba(226, 240, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

body.theme-neon-dark .ap-detail-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body.theme-neon-dark .ap-detail-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 255, 255, 0.12);
  font-size: 0.85rem;
}

body.theme-neon-dark .ap-detail-info-list li:last-child {
  border-bottom: none;
}

body.theme-neon-dark .ap-info-label {
  color: #6a8aaa;
  font-family: 'Consolas', 'Courier New', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

body.theme-neon-dark .ap-info-value {
  color: #e2f0ff;
  font-family: 'Consolas', 'Courier New', monospace;
  font-weight: 600;
  text-align: right;
  max-width: 60%;
  word-break: break-word;
}

body.theme-neon-dark .ap-info-rating {
  color: #ffcc00;
}

/* 推荐 */
body.theme-neon-dark .ap-rec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.theme-neon-dark .ap-rec-item {
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: 0;
  background: rgba(0, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 255, 0.15);
  text-decoration: none;
  transition: all 0.15s ease;
}

body.theme-neon-dark .ap-rec-item:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: #00ffff;
  box-shadow: 0 0 6px rgba(0, 255, 255, 0.3);
}

body.theme-neon-dark .ap-rec-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.25);
}

body.theme-neon-dark .ap-rec-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.theme-neon-dark .ap-rec-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 16, 0.65);
  color: #00ffff;
  opacity: 0;
  transition: opacity 0.15s ease;
  font-size: 0.85rem;
}

body.theme-neon-dark .ap-rec-item:hover .ap-rec-play {
  opacity: 1;
}

body.theme-neon-dark .ap-rec-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

body.theme-neon-dark .ap-rec-name {
  color: #e2f0ff;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

body.theme-neon-dark .ap-rec-cat {
  color: #8faac8;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 详情响应式 */
@media (max-width: 992px) {
  body.theme-neon-dark .ap-detail-body { grid-template-columns: 1fr; }
  body.theme-neon-dark .ap-detail-hero-inner { grid-template-columns: 200px 1fr; gap: 20px; padding: 20px; }
  body.theme-neon-dark .ap-detail-title { font-size: 1.6rem; }
}
@media (max-width: 768px) {
  body.theme-neon-dark .ap-detail-wrap { padding: 0 14px 48px; }
  body.theme-neon-dark .ap-detail-hero-inner { grid-template-columns: 1fr; text-align: center; padding: 18px; }
  body.theme-neon-dark .ap-detail-poster { max-width: 220px; margin: 0 auto; }
  body.theme-neon-dark .ap-detail-info { align-items: center; }
  body.theme-neon-dark .ap-detail-title { font-size: 1.4rem; }
  body.theme-neon-dark .ap-detail-card { padding: 16px; }
}
