/* 轩驿魔力（xuanyimoli.com）主题兼容：白底 + 皇家蓝 + 金色点缀 */
:root[data-theme="light"] {
  --bg: #f4f7fb;
  --bg-elev: #ffffff;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-solid: #ffffff;
  --panel-2: #eef3fa;
  --panel-3: #e5edf8;
  --field: #ffffff;
  --line: rgba(28, 66, 116, 0.16);
  --line-2: rgba(28, 66, 116, 0.3);
  --text: #1d2f4b;
  --text-2: #40577b;
  --text-3: #647aa0;

  --aqua: #1f6db5;
  --aqua-2: #14568f;
  --aqua-soft: rgba(31, 109, 181, 0.1);
  --on-aqua: #ffffff;
  --gold: #a9791f;
  --gold-2: #825a10;
  --gold-soft: rgba(169, 121, 31, 0.1);

  --shadow: 0 18px 40px -26px rgba(20, 56, 105, 0.4);
  --glow: 0 0 0 1px rgba(31, 109, 181, 0.35), 0 0 18px -6px rgba(31, 109, 181, 0.35);
  --grid-line: rgba(28, 66, 116, 0.055);
  --star: rgba(169, 121, 31, 0.35);

  --font-ui: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-display: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", serif;
}

/* 顶部导航：贴近新站的蓝色横幅 */
[data-theme="light"] .topbar {
  background: linear-gradient(180deg, #1b4a85 0%, #123660 100%);
  border-bottom-color: rgba(255, 255, 255, 0.16);
}
[data-theme="light"] .topbar::after {
  background: linear-gradient(90deg, transparent, #d8b25c 20%, #8fd0f5 50%, #d8b25c 80%, transparent);
  opacity: 0.7;
}
[data-theme="light"] .topbar .brand,
[data-theme="light"] .topbar .brand__sub,
[data-theme="light"] .topbar .nav a,
[data-theme="light"] .topbar .icon-btn {
  color: #edf5ff;
}
[data-theme="light"] .topbar .nav a[aria-current="page"] {
  color: #ffd986;
}
[data-theme="light"] .topbar .brand__gem {
  color: #9fe3ff;
  filter: drop-shadow(0 0 8px rgba(159, 227, 255, 0.65));
}

/* 页脚：新站深蓝底 */
[data-theme="light"] .site-footer {
  background: #132f56;
  color: #b8c9e2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
[data-theme="light"] .site-footer h2,
[data-theme="light"] .site-footer a,
[data-theme="light"] .site-footer .brand {
  color: #d9e6f7;
}
[data-theme="light"] .site-footer__legal {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* 新站浅色内容区：去掉过重的暖黄羊皮纸纹理 */
[data-theme="light"] body::before {
  background-image:
    radial-gradient(circle at 50% -10%, rgba(31, 109, 181, 0.1), transparent 55%),
    linear-gradient(rgba(28, 66, 116, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 66, 116, 0.035) 1px, transparent 1px);
}

[data-theme="light"] .topbar .icon-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}
[data-theme="light"] .topbar .icon-btn:hover {
  color: #ffd986;
  border-color: rgba(255, 217, 134, 0.7);
}

/* 顶栏仅保留导航并居中 */
.topbar__inner {
  justify-content: center;
}

/* 顶栏已移除 */
:root {
  --topbar-h: 0px;
}

/* 底部导航已移除 */
:root {
  --tabbar-h: 0px;
}
