
/* ---- 选手二级菜单（桌面下拉） ---- */
.nav-drop[data-v-cf428891] {
  position: relative;
  display: flex;
}
.nav-drop-trigger[data-v-cf428891] {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-caret[data-v-cf428891] {
  font-size: 10px;
  opacity: .7;
  transition: transform .15s;
}
.nav-drop:hover .nav-caret[data-v-cf428891],
.nav-drop:focus-within .nav-caret[data-v-cf428891] { transform: rotate(180deg);
}
/* 悬停桥：面板 top 与触发项之间有 10px 间隙，鼠标斜向/快速穿过时 :hover 会断、下拉消失 → 用透明伪元素把缝隙填成可悬停区域（与触发项重叠 1px、与面板重叠 2px，无缝隙） */
.nav-drop[data-v-cf428891]::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  height: 14px;
}
.nav-drop-panel[data-v-cf428891] {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 172px;
  background: linear-gradient(170deg, #151b30, #0d1120);
  border: 1px solid rgba(214, 178, 106, 0.35);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(214, 178, 106, 0.10);
  padding: 8px;
  z-index: 120;
}
.nav-drop-panel[data-v-cf428891]::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  border: 9px solid transparent;
  border-top: none;
  border-bottom-color: rgba(214, 178, 106, 0.35);
}
.nav-drop:hover .nav-drop-panel[data-v-cf428891],
.nav-drop:focus-within .nav-drop-panel[data-v-cf428891] { display: block;
}
.nav-drop-item[data-v-cf428891] {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 14px;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-drop-item[data-v-cf428891]:hover { color: var(--text); background: var(--bg-hover);
}
.nav-drop-item.on[data-v-cf428891] { color: var(--soul-bright); background: rgba(214, 178, 106, 0.10);
}

/* ---- 移动菜单：选手分组平铺 ---- */
.mm-group[data-v-cf428891] { color: var(--gold-bright); font-weight: 700;
}
.mm-sub[data-v-cf428891] {
  padding-left: 40px !important;
  font-size: 14px;
  color: var(--text-dim);
  border-left: 1px dashed var(--border);
  margin-left: 26px;
}

/* 语言切换（桌面导航 / 移动菜单 / 页脚共用样式） */
.lang-switch[data-v-cf428891] {
  display: flex;
  gap: 2px;
  margin-left: auto; /* 推到导航最右侧（移动端 nav 隐藏时也在右缘） */
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  flex-shrink: 0;
}
.lang-switch button[data-v-cf428891],
.mm-lang button[data-v-cf428891],
.foot-lang button[data-v-cf428891] {
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--font);
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.2;
  transition: all .15s;
}
.lang-switch button.on[data-v-cf428891],
.mm-lang button.on[data-v-cf428891],
.foot-lang button.on[data-v-cf428891] {
  background: linear-gradient(135deg, var(--soul), #b98a3e);
  color: #0b0e17;
}
.lang-switch button[data-v-cf428891]:hover,
.mm-lang button[data-v-cf428891]:hover,
.foot-lang button[data-v-cf428891]:hover { color: var(--gold-bright);
}
.mm-lang[data-v-cf428891] {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.mm-lang button[data-v-cf428891] {
  border: 1px solid var(--border);
  padding: 6px 18px;
  font-size: 13px;
  background: var(--bg-soft);
}
.mm-lang button.on[data-v-cf428891] { color: #0b0e17;
}
.foot-lang[data-v-cf428891] {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.foot-lang button[data-v-cf428891] {
  border: 1px solid var(--border);
  padding: 4px 14px;
  font-size: 11.5px;
  background: var(--bg-soft);
}

/* 改版：导航不再使用胶囊、发光和装饰字符 */
.nav-caret[data-v-cf428891] {
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .15s;
}
.nav-drop:hover .nav-caret[data-v-cf428891],
.nav-drop:focus-within .nav-caret[data-v-cf428891] { transform: translateY(1px) rotate(225deg);
}
.nav-drop-panel[data-v-cf428891] {
  top: calc(100% + 1px);
  min-width: 166px;
  padding: 6px 0;
  border: 1px solid rgba(226, 216, 190, .2);
  border-radius: 2px;
  background: #0e121a;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .38);
}
.nav-drop-panel[data-v-cf428891]::before { display: none;
}
.nav-drop-item[data-v-cf428891] {
  padding: 10px 15px !important;
  border-radius: 0 !important;
  font-size: 13px !important;
}
.nav-drop-item[data-v-cf428891]:hover { background: #171c26;
}
.nav-drop-item.on[data-v-cf428891] { color: #e5bd72; background: transparent;
}
.lang-switch[data-v-cf428891] {
  gap: 0;
  padding: 0 0 0 14px;
  border: 0;
  border-left: 1px solid rgba(226, 216, 190, .2);
  border-radius: 0;
  background: transparent;
}
.lang-switch button[data-v-cf428891],
.mm-lang button[data-v-cf428891],
.foot-lang button[data-v-cf428891] {
  padding: 4px 7px;
  border-radius: 0;
  color: #737e91;
  font-size: 11px;
}
.lang-switch button.on[data-v-cf428891],
.mm-lang button.on[data-v-cf428891],
.foot-lang button.on[data-v-cf428891] {
  background: transparent;
  color: #e2b86a;
}
.hb-lines[data-v-cf428891] { position: relative; display: block; width: 22px; height: 16px;
}
.hb-lines i[data-v-cf428891] { position: absolute; left: 0; width: 22px; height: 1px; background: currentColor; transition: transform .18s, top .18s;
}
.hb-lines i[data-v-cf428891]:first-child { top: 4px;
}
.hb-lines i[data-v-cf428891]:last-child { top: 11px;
}
.hamburger[aria-expanded="true"] .hb-lines i[data-v-cf428891]:first-child { top: 8px; transform: rotate(45deg);
}
.hamburger[aria-expanded="true"] .hb-lines i[data-v-cf428891]:last-child { top: 8px; transform: rotate(-45deg);
}
.mm-group[data-v-cf428891] { color: #e3ba6d; font-weight: 650;
}
.mm-sub[data-v-cf428891] {
  margin-left: 0;
  padding-left: 22px !important;
  border-left: 0;
  color: var(--text-dim);
  font-size: 13px;
}
.mm-lang[data-v-cf428891] { justify-content: flex-start; margin-top: 20px;
}
.mm-lang button[data-v-cf428891] { border: 0; background: transparent;
}
.footer-inner[data-v-cf428891] { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center;
}
.foot-brand[data-v-cf428891] { display: flex; align-items: center; gap: 12px;
}
.foot-brand strong[data-v-cf428891] { display: block; color: #ded8ca; font-family: var(--font-title); font-size: 15px; font-weight: 650;
}
.foot-brand span[data-v-cf428891] { display: block; margin-top: 1px; color: var(--text-faint); font: 10px/1.2 Georgia, serif; letter-spacing: .12em;
}
.foot-meta[data-v-cf428891] { display: flex; gap: 12px; color: var(--text-faint); font-size: 11px;
}
.foot-meta span + span[data-v-cf428891]::before { content: '/'; margin-right: 12px; color: var(--border-light);
}
.foot-actions[data-v-cf428891] { display: flex; align-items: center; justify-content: flex-end; gap: 13px; font-size: 11px;
}
.foot-actions a[data-v-cf428891] { color: var(--text-faint);
}
.foot-actions a[data-v-cf428891]:hover { color: var(--text-dim);
}
.foot-lang[data-v-cf428891] { margin: 0; gap: 0;
}
.foot-lang button[data-v-cf428891] { border: 0; background: transparent; padding: 3px 5px;
}
@media (max-width: 900px) {
.footer-inner[data-v-cf428891] { grid-template-columns: 1fr auto;
}
.foot-meta[data-v-cf428891] { display: none;
}
}
@media (max-width: 640px) {
.footer-inner[data-v-cf428891] { display: flex; align-items: flex-start; flex-direction: column; gap: 18px;
}
.foot-actions[data-v-cf428891] { width: 100%; align-items: center; justify-content: space-between; flex-direction: row; gap: 12px;
}
.foot-lang[data-v-cf428891] { display: none;
}
}
/* ============================================================
   夜游杯 · Deadlock 暗黑奇幻主题（金铜徽章风）
   深墨蓝黑底色 × 金铜主色（呼应赛事徽章）× 灵魂青蓝点缀
   ============================================================ */
:root {
  /* 基底 */
  --bg: #0a0c14;
  --bg-deep: #070910;
  --bg-soft: #0e1220;
  --bg-card: #11162a;
  --bg-hover: #1a2138;
  --border: #232c47;
  --border-light: #34405f;

  /* 文字 */
  --text: #e6ecf5;
  --text-dim: #93a3bd;
  --text-faint: #5a6a8a;

  /* 主强调：金铜（与赛事徽章呼应） */
  --soul: #d6b26a;          /* 主强调：亮金铜 */
  --soul-bright: #f5e3ac;   /* 高亮金 */
  --arcane: #56c8e8;        /* 次级点缀：灵魂青蓝 */
  --gold: #c8a15c;          /* 暗金铜 */
  --gold-bright: #e6c98a;
  --danger: #e05a5a;
  --ok: #4fc99a;
  --warn: #e8b45a;

  --grad-soul: linear-gradient(120deg, #d6b26a 0%, #e6c98a 50%, #f5e3ac 100%);
  --grad-gold: linear-gradient(120deg, #8a6a35 0%, #c8a15c 45%, #e6c98a 100%);

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.5);

  /* 字体：标题用衬线（哥特/复古），正文无衬线 */
  --font-title: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "STSong",
    "SimSun", "Songti SC", serif;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
    -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* html 不设 overflow，保证垂直滚动始终正常 */
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  width: 100%;
  /* 兜底禁止横向滚动：clip 不创建滚动容器、不破坏垂直滚动 */
  overflow-x: clip;
}

/* 任何容器/区块都不允许超出视口宽度 */
.container,
.page,
.grid,
.card,
.hero,
.hero-inner,
.table-wrap,
.navbar,
.navbar-inner,
.footer,
.page-head {
  max-width: 100%;
}

/* 图片/长内容不撑破容器 */
img { max-width: 100%; }
code, pre, .md-content code {
  overflow-wrap: break-word;
  word-break: break-all;
}
p, li, td, th, span, a, div, h1, h2, h3, h4, b, strong, em {
  overflow-wrap: break-word;
}

/* ---------- 全局背景：月光 + 雾气 + 细网格 ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 55% at 50% -12%, rgba(214, 178, 106, 0.09), transparent 62%),
    radial-gradient(ellipse 45% 35% at 85% 8%, rgba(86, 200, 232, 0.07), transparent 60%),
    radial-gradient(ellipse 60% 50% at 12% 110%, rgba(214, 178, 106, 0.05), transparent 65%),
    var(--bg);
  pointer-events: none;
}
/* 细网格（Deadlock 工业风） */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(214, 178, 106, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 178, 106, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 78%);
  pointer-events: none;
}

a { color: var(--soul); text-decoration: none; transition: color .15s; }
a:hover { color: var(--soul-bright); }

h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.35; }

/* ---------- 布局 ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.page { padding: 36px 0 72px; min-height: 60vh; }

.page-head { margin-bottom: 28px; }
.page-head h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #eaf3fb;
  text-shadow: 0 0 24px rgba(214, 178, 106, 0.28);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
/* 标题下的符文装饰线 */
.page-head h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--soul), transparent 78%);
  border-radius: 2px;
}
.page-head .sub { color: var(--text-dim); margin-top: 8px; font-size: 14px; }

/* ---------- 符文分隔 ---------- */
.rune-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .35em;
  user-select: none;
}
.rune-sep::before, .rune-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 161, 92, 0.45), transparent);
}

/* ---------- 顶栏 ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 10, 18, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(214, 178, 106, 0.06), 0 6px 24px rgba(0, 0, 0, 0.35);
}
.navbar-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 66px;
  /* 英文菜单较长（如 Nocturne Swim），导航专用更宽容器（页面内容宽度不变） */
  max-width: 1380px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  flex-shrink: 0;
}
.brand:hover { color: var(--text); }
.brand .logo-img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(200, 161, 92, 0.45);
  box-shadow: 0 0 12px rgba(200, 161, 92, 0.18), inset 0 0 8px rgba(214, 178, 106, 0.12);
  transition: box-shadow .2s, border-color .2s;
}
.brand:hover .logo-img { border-color: rgba(200, 161, 92, 0.8); box-shadow: 0 0 18px rgba(200, 161, 92, 0.4), inset 0 0 8px rgba(214, 178, 106, 0.18); }
.brand-text {
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .12em;
  background: linear-gradient(180deg, #fff8e6 20%, #f2dc9e 65%, #d6b26a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-x: visible; /* 默认不裁剪：让选手二级菜单下拉面板可见 */
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
/* 历史兜底：极端窄桌面才触发横向滚动容器；不显示任何可见滚动条（站长要求无滑动条），保留滚轮/触控横向滚动 */
.nav-links.can-scroll {
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links.can-scroll::-webkit-scrollbar { display: none; }
/* EN 导航更长：压缩间距/字号并保持一行完整显示 */
.navbar.nav-en .nav-links { gap: 0; }
.navbar.nav-en .nav-links a { font-size: 13.5px; padding: 8px 9px; }
.navbar.nav-en .nav-links .nav-cta { padding: 8px 13px !important; font-size: 13px; }
.navbar.nav-en .brand { gap: 8px; }
.nav-links a {
  color: var(--text-dim);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  white-space: nowrap;
  position: relative;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-hover); }
.nav-links a.router-link-active {
  color: var(--soul-bright);
  background: rgba(214, 178, 106, 0.10);
}
.nav-links a.router-link-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--soul), transparent);
}
.nav-cta {
  background: linear-gradient(120deg, rgba(214, 178, 106, 0.16), rgba(86, 200, 232, 0.16));
  border: 1px solid rgba(214, 178, 106, 0.45);
  color: var(--soul-bright) !important;
  font-weight: 700;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  letter-spacing: .1em;
  box-shadow: 0 0 18px rgba(214, 178, 106, 0.18), inset 0 0 12px rgba(214, 178, 106, 0.08);
}
.nav-cta:hover { filter: brightness(1.15); }

/* 移动端汉堡按钮（默认隐藏，≤768px 显示）
   注：margin-left 由 .lang-switch 的 margin-left:auto 顶到右缘，汉堡紧跟其右（最角落） */
.hamburger {
  display: none;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-light);
  background: var(--bg-soft);
  color: var(--gold-bright);
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color .15s;
}
.hamburger:hover { border-color: var(--gold); }

/* 移动端全屏菜单（≤768px 使用） */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(7, 9, 16, 0.92);
  backdrop-filter: blur(8px);
  padding: 74px 20px 30px;
  overflow-y: auto;
}
.mobile-menu-inner {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mm-item {
  display: block;
  padding: 15px 18px;
  border-radius: 10px;
  font-family: var(--font-title);
  font-size: 17px;
  letter-spacing: .08em;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}
.mm-item:hover { border-color: var(--gold); color: var(--gold-bright); }
.mm-item.active { border-color: var(--gold); color: var(--gold-bright); background: rgba(214, 178, 106, 0.08); }
.mm-cta {
  margin-top: 8px;
  background: linear-gradient(120deg, #3a2f1a, #54411f 55%, #45361a);
  border: 1px solid rgba(214, 178, 106, 0.6);
  color: var(--gold-bright);
  font-weight: 700;
}
.mm-admin { font-size: 13px; color: var(--text-faint); background: transparent; border-style: dashed; }
.menu-fade-enter-active, .menu-fade-leave-active { transition: opacity .18s; }
.menu-fade-enter-from, .menu-fade-leave-to { opacity: 0; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0 38px;
  color: var(--text-faint);
  font-size: 13px;
  text-align: center;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer .foot-logo {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(200, 161, 92, 0.35);
  box-shadow: 0 0 10px rgba(200, 161, 92, 0.15);
  margin-bottom: 10px;
}
.footer .tag { color: var(--text-dim); letter-spacing: .06em; }
.footer .rune-sep { max-width: 320px; margin: 12px auto; font-size: 10px; }
.footer .foot-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: .18em;
  margin: 2px 0 10px;
}
.footer .foot-dl img { height: 20px; width: auto; opacity: .9; }
.footer .foot-icp {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-faint);
}
.footer .foot-icp a {
  color: var(--text-faint);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 161, 92, 0.25);
  transition: color .15s, border-color .15s;
}
.footer .foot-icp a:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

/* ---------- 卡片：金属质感 ---------- */
.card {
  background:
    linear-gradient(160deg, rgba(214, 178, 106, 0.035), transparent 30%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.card-pad { padding: 22px; }
.card-hover { transition: transform .18s, border-color .18s, box-shadow .18s; }
.card-hover:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 178, 106, 0.4);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 22px rgba(214, 178, 106, 0.10);
}

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 徽章：菱形符文底座 ---------- */
.badge {
  display: inline-block;
  padding: 2px 11px;
  clip-path: polygon(6% 0, 94% 0, 100% 50%, 94% 100%, 6% 100%, 0 50%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--text-dim);
  background: linear-gradient(180deg, #1a2238, #12172a);
  border: none;
  position: relative;
}
.badge-accent {
  color: var(--soul-bright);
  background: linear-gradient(180deg, rgba(214, 178, 106, 0.18), rgba(214, 178, 106, 0.07));
  box-shadow: inset 0 0 10px rgba(214, 178, 106, 0.12);
}
.badge-ok { color: var(--ok); background: linear-gradient(180deg, rgba(79, 201, 154, 0.16), rgba(79, 201, 154, 0.06)); }
.badge-warn { color: var(--warn); background: linear-gradient(180deg, rgba(232, 180, 90, 0.16), rgba(232, 180, 90, 0.06)); }
.badge-danger { color: var(--danger); background: linear-gradient(180deg, rgba(224, 90, 90, 0.16), rgba(224, 90, 90, 0.06)); }

/* ---------- 按钮：铜金描边 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border-light);
  background: linear-gradient(180deg, #161c30, #10141f);
  color: var(--text);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
}
.btn:hover {
  border-color: var(--soul);
  color: var(--soul-bright);
  box-shadow: 0 0 14px rgba(214, 178, 106, 0.2);
}
.btn-primary {
  background: linear-gradient(120deg, #3a2f1a, #54411f 50%, #45361a);
  border: 1px solid rgba(214, 178, 106, 0.6);
  color: var(--soul-bright);
  font-weight: 700;
  letter-spacing: .08em;
  box-shadow: 0 4px 18px rgba(214, 178, 106, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-primary:hover { color: #fff8e6; filter: brightness(1.14); box-shadow: 0 4px 26px rgba(214, 178, 106, 0.4); }
.btn-gold {
  background: linear-gradient(120deg, #3a2f1a, #54411f 55%, #3f3119);
  border: 1px solid rgba(200, 161, 92, 0.55);
  color: var(--gold-bright);
  font-weight: 700;
  letter-spacing: .08em;
  box-shadow: 0 4px 18px rgba(200, 161, 92, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-gold:hover { color: #fff3d8; filter: brightness(1.1); border-color: var(--gold-bright); }
.btn-danger { border-color: rgba(224, 90, 90, 0.45); color: var(--danger); background: rgba(224, 90, 90, 0.06); }
.btn-danger:hover { border-color: var(--danger); color: var(--danger); box-shadow: 0 0 14px rgba(224, 90, 90, 0.2); }
.btn-sm { padding: 5px 12px; font-size: 13px; border-radius: 5px; }
.btn-xs { padding: 2px 8px; font-size: 12px; border-radius: 4px; }
.btn-ghost { background: transparent; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 7px;
  letter-spacing: .04em;
}
.field .hint { font-size: 12px; color: var(--text-faint); margin-top: 5px; }
.input, .select, .textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14.5px;
  font-family: var(--font);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
/* 原生控件（日期/时间选择器、滚动条、下拉）跟随暗色。
   ⚠️ 2026-09-18 修：这条原来只写在 .input/.select/.textarea 上，于是**没带 class 的
      date/time 输入框**（如 AdminTeamSeasons 的起止日期）拿不到暗色，Chrome 就把日历图标
      渲染成**黑色** —— 在深底上完全看不见，用户以为只能手打。
      放在 :root 上让所有原生控件统一走暗色，图标自然变白。 */
:root { color-scheme: dark; }
/* 日期选择器的日历/时钟图标：**不要再加 filter**。
   2026-09-18 实测（像素测量，非目测）：旧规则
     filter: invert(0.85) sepia(0.3) saturate(2) hue-rotate(180deg); opacity: .9
   在暗色下把图标压到 最亮像素 44 / 较亮像素占比 0.00% —— 等于隐形；
   去掉 filter 后 最亮像素 255 / 占比 4.35%。原因是 color-scheme: dark 已经让 Chrome
   原生渲染白色图标，那条 filter 是为**浅色模式的黑图标**写的，现在只会把白图标涂暗。
   仅保留 pointer 与一点尺寸/透明度，保证可点、可辨。 */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.85;
  padding: 2px;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover,
input[type="month"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--soul);
  box-shadow: 0 0 0 3px rgba(214, 178, 106, 0.12);
}
.textarea { resize: vertical; min-height: 90px; }
/* 下拉框：去掉原生箭头后**必须补上自己的指示**，否则和普通输入框长得一模一样，
   用户根本看不出这里能选（站长 2026-09-18 反馈：「现在根本看不出来是有选择的以为固定只有一个」）。
   箭头用内联 SVG 当背景，不引字体/图片；hover 与 focus 时提亮，明确"可点"。 */
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2393a3bd' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 12px 8px;
  cursor: pointer;
}
.select:hover {
  border-color: var(--border-light);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23d6b26a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.select:focus {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23f5e3ac' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.select:disabled { cursor: not-allowed; opacity: .6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th {
  text-align: left;
  padding: 11px 14px;
  color: var(--gold);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  text-transform: uppercase;
}
.tbl td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(35, 44, 71, 0.6);
  white-space: nowrap;
}
.tbl tr:hover td { background: rgba(26, 33, 56, 0.55); }
.tbl tr:last-child td { border-bottom: none; }
.tbl .num { font-family: var(--mono); }

/* 战队徽标：六边形底座 */
.team-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.team-logo {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex-shrink: 0;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: var(--bg-hover);
  border: none;
}
.team-bar { width: 3px; height: 16px; border-radius: 2px; flex-shrink: 0; }

/* ---------- 比赛卡片 ---------- */
.match-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.match-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 100% at 50% 0%, rgba(214, 178, 106, 0.05), transparent 70%);
  pointer-events: none;
}
.match-side { display: flex; align-items: center; gap: 12px; min-width: 200px; flex: 1; position: relative; }
.match-side.right { justify-content: flex-end; text-align: right; }
.match-team { font-family: var(--font-title); font-weight: 700; font-size: 15.5px; letter-spacing: .03em; }
.match-center { text-align: center; min-width: 150px; position: relative; }
.match-vs {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: .3em;
  font-weight: 700;
}
.match-score { font-family: var(--mono); font-size: 27px; font-weight: 800; letter-spacing: .06em; }
.match-score .sep { color: var(--text-faint); font-weight: 400; margin: 0 9px; }
.match-score .w {
  color: var(--soul-bright);
  text-shadow: 0 0 16px rgba(214, 178, 106, 0.75);
}
.match-meta { font-size: 12.5px; color: var(--text-faint); margin-top: 4px; letter-spacing: .04em; }
.match-info { font-size: 13px; color: var(--text-dim); margin-top: 6px; }

/* ---------- 提示条 ---------- */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 18px;
  border: 1px solid;
}
.alert-error { border-color: rgba(224, 90, 90, 0.4); background: rgba(224, 90, 90, 0.07); color: var(--danger); }
.alert-ok { border-color: rgba(79, 201, 154, 0.4); background: rgba(79, 201, 154, 0.07); color: var(--ok); }
.alert-info { border-color: rgba(214, 178, 106, 0.4); background: rgba(214, 178, 106, 0.07); color: var(--soul-bright); }
.alert-warn { border-color: rgba(232, 180, 90, 0.4); background: rgba(232, 180, 90, 0.07); color: var(--warn); }

/* ---------- Markdown 内容 ---------- */
.md-content { font-size: 15px; color: var(--text); }
.md-content h2, .md-content h3, .md-content h4, .md-content h5 { margin: 22px 0 10px; color: #eaf3fb; }
.md-content h2 { font-size: 21px; }
.md-content h3 { font-size: 18px; }
.md-content p { margin: 10px 0; }
.md-content ul, .md-content ol { margin: 10px 0; padding-left: 24px; }
.md-content li { margin: 4px 0; }
.md-content code {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 1px 7px;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--arcane);
}
.md-content a { color: var(--soul); border-bottom: 1px dashed rgba(214, 178, 106, 0.4); }
.md-content hr { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.md-content img { max-width: 100%; border-radius: 8px; margin: 8px 0; }
.md-content del { color: var(--text-faint); }
.md-content blockquote {
  margin: 12px 0;
  padding: 8px 14px;
  border-left: 3px solid var(--soul);
  border-radius: 0 8px 8px 0;
  background: rgba(94, 182, 156, 0.07);
  color: var(--text-dim);
}
.md-content blockquote p { margin: 6px 0; }

/* ---------- 空状态 / 加载 ---------- */
.empty {
  text-align: center;
  color: var(--text-faint);
  padding: 48px 20px;
  font-size: 14px;
}
.loading { text-align: center; color: var(--text-faint); padding: 48px; }
.loading::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-light);
  border-top-color: var(--soul);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: -4px;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 分段控件 ---------- */
.seg {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 3px;
}
.seg button {
  border: none;
  background: transparent;
  color: var(--text-dim);
  padding: 7px 16px;
  border-radius: 5px;
  font-size: 13.5px;
  font-family: var(--font);
  cursor: pointer;
  transition: all .15s;
}
.seg button.active {
  background: linear-gradient(120deg, #1c3350, #223a60);
  color: var(--soul-bright);
  font-weight: 700;
  box-shadow: inset 0 0 10px rgba(214, 178, 106, 0.15);
}

/* ---------- 漂浮灵魂粒子（hero 用） ---------- */
.soul-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(245, 227, 172, 0.9), rgba(214, 178, 106, 0.25) 55%, transparent 75%);
  filter: blur(1px);
  animation: soul-float linear infinite;
  opacity: 0;
}
@keyframes soul-float {
  0% { transform: translateY(18px) scale(.8); opacity: 0; }
  18% { opacity: var(--p-op, .55); }
  82% { opacity: var(--p-op, .55); }
  100% { transform: translateY(-64px) scale(1.05); opacity: 0; }
}

/* ---------- 响应式 ---------- */
/* 两套布局：≥769px 桌面布局；≤768px 移动布局（含平板/手机） */
/* 英文菜单长（Nocturne Swim 等）：1320px 以下隐藏 CTA 给菜单让位；中大屏压缩品牌文字 */
@media (max-width: 1320px) {
  .navbar.nav-en .nav-cta { display: none; }
}
@media (max-width: 1180px) {
  .navbar.nav-en .brand-text { font-size: 15px; letter-spacing: .03em; }
  .navbar.nav-en .nav-links a { font-size: 13px; padding: 8px 8px; }
}
@media (max-width: 900px) {
  .navbar.nav-en .brand-text { display: none; } /* 极窄桌面：品牌只留 Logo，菜单整行放下 */
  .navbar.nav-en .nav-links a { font-size: 12.5px; padding: 7px 7px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .navbar-inner { height: 58px; }
  .brand-text { font-size: 18px; }
  .brand .logo-img { height: 38px; width: 38px; }
  /* 移动布局：隐藏横排导航，启用汉堡菜单 */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 16px; }
  .page { padding: 26px 0 52px; }
  .page-head h1 { font-size: 25px; }
  .card-pad { padding: 18px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .navbar-inner { height: 54px; gap: 8px; }
  .brand-text { font-size: 16px; }
  .brand .logo-img { height: 36px; width: 36px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 7px 9px; font-size: 13px; }
  .nav-cta { display: none; }
  .container { padding: 0 14px; }
  .page { padding: 20px 0 44px; }
  .page-head { margin-bottom: 20px; }
  .page-head h1 { font-size: 22px; }
  .page-head .sub { font-size: 12.5px; }
  .card-pad { padding: 16px; }
  .match-side { min-width: 0; }
  .match-score { font-size: 20px; }
  .tbl th, .tbl td { padding: 9px 10px; font-size: 13px; }
  .seg button { padding: 6px 12px; font-size: 12.5px; }
  .btn { padding: 8px 16px; font-size: 13.5px; }
  .badge { font-size: 11px; padding: 2px 9px; }
  .field label { font-size: 12.5px; }
  .input, .select, .textarea { font-size: 14px; padding: 9px 12px; }
  .footer { padding: 22px 0 30px; }
}
@media (max-width: 400px) {
  .brand-text { font-size: 14px; letter-spacing: .08em; }
  .nav-links a { padding: 6px 7px; font-size: 12.5px; }
  .page-head h1 { font-size: 20px; }
}

/* ---------- 公开站头尾：克制的赛事导览样式 ---------- */
.navbar {
  background: rgba(7, 9, 13, .94);
  border-bottom-color: rgba(226, 216, 190, .18);
  box-shadow: none;
  backdrop-filter: blur(18px);
}
.navbar-inner { height: 68px; gap: 28px; }
.brand { gap: 12px; }
.brand .logo-img {
  width: 38px;
  height: 38px;
  border: 0;
  box-shadow: none;
  transition: opacity .15s;
}
.brand:hover .logo-img { border: 0; box-shadow: none; opacity: .78; }
.brand-text {
  color: #eee5cf;
  background: none;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: .09em;
}
.nav-links { justify-content: center; gap: 8px; }
.nav-links a,
.navbar.nav-en .nav-links a {
  padding: 22px 9px 20px;
  border-radius: 0;
  color: #9ba4b4;
  font-size: 13px;
  transition: color .15s;
}
.nav-links a:hover { color: #eee8dc; background: transparent; }
.nav-links a.router-link-active {
  color: #eee8dc;
  background: transparent;
}
.nav-links a.router-link-active::after {
  left: 9px;
  right: 9px;
  bottom: 0;
  height: 2px;
  background: #c99b4b;
}
.nav-cta,
.navbar.nav-en .nav-links .nav-cta {
  align-self: center;
  margin-left: 8px;
  padding: 9px 17px !important;
  border: 1px solid #c99b4b;
  border-radius: 2px !important;
  background: #c99b4b;
  box-shadow: none;
  color: #111319 !important;
  font-size: 13px;
  letter-spacing: .03em;
}
.nav-cta:hover { background: #dfb567 !important; filter: none; }
.nav-links a.nav-cta,
.nav-links a.nav-cta.router-link-active {
  background: #c99b4b;
  color: #111319 !important;
}
.nav-links a.nav-cta.router-link-active::after { display: none; }
.navbar a:focus-visible,
.hamburger:focus-visible,
.mobile-menu a:focus-visible,
.footer a:focus-visible {
  outline: 2px solid #dfb567;
  outline-offset: 3px;
}
.hamburger {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #eee8dc;
}
.mobile-menu { background: rgba(7, 9, 13, .97); padding-top: 72px; }
.mobile-menu-inner { gap: 0; border-top: 1px solid var(--border); }
.mm-item {
  padding: 14px 4px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 16px;
  letter-spacing: 0;
  text-align: left;
}
.mm-item:hover,
.mm-item.active { border-color: var(--border); background: transparent; color: #e3ba6d; }
.mm-cta { margin-top: 18px; padding: 13px 16px; border: 1px solid #c99b4b; background: #c99b4b; color: #111319; text-align: center; }
.footer {
  padding: 28px 0;
  border-top-color: rgba(226, 216, 190, .16);
  text-align: left;
}
.footer::before { display: none; }
.footer .foot-logo {
  width: 38px;
  height: 38px;
  margin: 0;
  border: 0;
  box-shadow: none;
}

@media (max-width: 768px) {
  .navbar-inner { height: 58px; }
  .brand .logo-img { width: 34px; height: 34px; }
  .brand-text { font-size: 17px; }
  .mobile-menu { padding-top: 70px; }
}
