/* 浅色主题（主站门户页面）：html[data-theme=light] 覆盖 style.css 的 CSS 变量。
   校园风云录保持深色游戏风格不受影响。 */
html[data-theme="light"] {
  --bg-primary: #f4f5fa;
  --bg-secondary: #ffffff;
  --bg-card: rgba(15, 23, 42, 0.03);
  --bg-card-hover: rgba(15, 23, 42, 0.06);
  --bg-glass: rgba(15, 23, 42, 0.04);

  --accent-1: #6366f1;
  --accent-2: #7c3aed;
  --accent-3: #c026d3;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --border-color: rgba(15, 23, 42, 0.10);
  --border-hover: rgba(15, 23, 42, 0.22);

  --glow-primary: 0 0 40px rgba(99, 102, 241, 0.15);
  --glow-card: 0 8px 24px rgba(15, 23, 42, 0.08);
}
html[data-theme="light"] body { color-scheme: light; }

/* 主题切换按钮 */
.theme-toggle-btn {
  background: var(--bg-glass); border: 1px solid var(--border-color);
  color: var(--text-primary); border-radius: 99px; width: 36px; height: 36px;
  cursor: pointer; font-size: 16px; display: inline-flex;
  align-items: center; justify-content: center; transition: border-color .2s;
}
.theme-toggle-btn:hover { border-color: var(--border-hover); }
