/* ==========================================================================
   博澳体育 · 共享站点样式 /assets/site.css
   夜间赛场指挥中心：深墨绿连续画布 + 玻璃层 + 荧光青柠数据高亮
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }

ul, ol { padding: 0; list-style: none; }

img, svg, video { display: block; max-width: 100%; height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; }

table { border-collapse: collapse; width: 100%; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 2. 变量 ---------- */
:root {
  --ink-950: #061A13;
  --ink-900: #0B2A20;
  --ink-800: #113A2C;
  --indigo: #16233A;
  --lime: #C9FF4D;
  --lime-soft: #E2FF9E;
  --orange: #FF6A3D;
  --mint: #6FE7D2;
  --paper: #F1F7F3;
  --slate: #93A49D;

  --text: #EFF6F1;
  --text-dim: rgba(241, 247, 243, 0.72);
  --line: rgba(147, 164, 157, 0.22);
  --line-strong: rgba(147, 164, 157, 0.42);
  --glass: rgba(17, 58, 44, 0.55);

  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1300px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-950);
  background-image:
    radial-gradient(1100px 620px at 88% -8%, rgba(22, 35, 58, 0.78), transparent 70%),
    radial-gradient(900px 680px at -6% 0%, rgba(17, 58, 44, 0.55), transparent 66%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection {
  background: var(--lime);
  color: var(--ink-950);
}

/* ---------- 4. 布局容器 ---------- */
.container,
.masthead,
.toolrail__inner,
.footer__inner,
.footer__bottom {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(32px, 5vw, 64px); }
.section--tight { padding-block: clamp(18px, 3vw, 32px); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.span-3 { grid-column: span 3; }
.span-9 { grid-column: span 9; }

.split {
  display: grid;
  grid-template-columns: minmax(190px, 3fr) minmax(0, 9fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

/* ---------- 5. 通用按钮 ---------- */
.btn {
  --btn-bg: var(--lime);
  --btn-fg: #06231A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--ease), filter 180ms var(--ease),
              background-color 180ms var(--ease), border-color 180ms var(--ease);
}

.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--lime {
  --btn-bg: var(--lime);
  --btn-fg: #06231A;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--lime-soft);
  border-color: rgba(201, 255, 77, 0.45);
}

.btn--ghost:hover {
  --btn-bg: rgba(201, 255, 77, 0.12);
  filter: none;
}

.btn--sm {
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.btn--block { width: 100%; }

/* ---------- 6. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: 8px;
  z-index: 300;
  transform: translate(-50%, -170%);
  padding: 10px 20px;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--ink-950);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform 200ms var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline-offset: 4px;
}

/* ---------- 7. 刊头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(11, 42, 32, 0.97) 0%, rgba(6, 26, 19, 0.95) 100%);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 255, 77, 0.55), transparent);
  pointer-events: none;
}

.masthead {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2.4vw, 36px);
  padding-block: 14px;
  border-bottom: 1px solid rgba(147, 164, 157, 0.12);
}

/* 对角切割玻璃色块 */
.masthead::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 32%);
  background: linear-gradient(120deg, rgba(201, 255, 77, 0.16), rgba(111, 231, 210, 0.06));
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.masthead__lead {
  display: flex;
  align-items: center;
  min-width: 0;
}

/* 字标 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
}

.brand__glyph {
  width: 24px;
  height: 24px;
  flex: none;
  background: linear-gradient(135deg, var(--lime) 0%, var(--mint) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 52%, 52% 100%, 0 100%);
  transition: transform 240ms var(--ease);
}

.brand:hover .brand__glyph { transform: rotate(-6deg); }

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 600;
  letter-spacing: 0.03em;
}

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

.brand__edition {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(201, 255, 77, 0.4);
  padding: 2px 6px;
  line-height: 1.4;
}

/* 导航 */
.nav {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.7vw, 26px);
  flex-wrap: nowrap;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 2px;
  color: rgba(241, 247, 243, 0.78);
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms var(--ease);
}

.nav__link:hover { color: var(--lime-soft); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link[aria-current="page"] { color: var(--lime); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__index {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.nav__link[aria-current="page"] .nav__index { color: var(--orange); }

/* 右侧状态区 */
.masthead__aside {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.status-lamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}

.status-lamp__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(201, 255, 77, 0.55);
  animation: lamp-pulse 2.4s ease-out infinite;
}

@keyframes lamp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 255, 77, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(201, 255, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 255, 77, 0); }
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(201, 255, 77, 0.55);
  background: rgba(201, 255, 77, 0.08);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: var(--lime);
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.site-header[data-open] .nav-toggle__bars span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.site-header[data-open] .nav-toggle__bars span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* ---------- 8. 工具条 / 联赛切换 ---------- */
.toolrail {
  background: rgba(17, 58, 44, 0.55);
  border-top: 1px solid rgba(147, 164, 157, 0.14);
}

.toolrail__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  padding-block: 7px;
  min-height: 44px;
}

.league-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.league-switch__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
}

.league-switch__scroller {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-block: 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(147, 164, 157, 0.5) transparent;
  -webkit-overflow-scrolling: touch;
}

.league-switch__scroller::-webkit-scrollbar { height: 4px; }
.league-switch__scroller::-webkit-scrollbar-thumb {
  background: rgba(147, 164, 157, 0.45);
  border-radius: 2px;
}

.chip {
  flex: none;
  padding: 5px 10px;
  border: 1px solid rgba(147, 164, 157, 0.32);
  border-radius: var(--radius);
  background: transparent;
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  cursor: pointer;
  transition: color 180ms var(--ease), border-color 180ms var(--ease),
              background-color 180ms var(--ease);
}

.chip:hover {
  color: var(--lime-soft);
  border-color: rgba(201, 255, 77, 0.55);
}

.chip[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink-950);
  font-weight: 600;
}

.toolrail__readout {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.toolrail__readout-val {
  color: var(--lime);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.toolrail__entries {
  display: flex;
  align-items: stretch;
  flex: none;
  gap: 6px;
}

.toolrail__entry {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(147, 164, 157, 0.3);
  border-radius: var(--radius);
  color: rgba(241, 247, 243, 0.85);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 180ms var(--ease), border-color 180ms var(--ease),
              background-color 180ms var(--ease);
}

.toolrail__entry:hover {
  color: var(--lime);
  border-color: rgba(201, 255, 77, 0.5);
  background: rgba(201, 255, 77, 0.08);
}

.toolrail__entry--accent {
  background: var(--orange);
  border-color: var(--orange);
  color: #1A0803;
  font-weight: 700;
}

.toolrail__entry--accent:hover {
  background: #FF8258;
  border-color: #FF8258;
  color: #1A0803;
}

/* 阅读进度 */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(147, 164, 157, 0.12);
  pointer-events: none;
}

.scroll-meter__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--mint), var(--lime));
  transition: width 120ms linear;
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-950) 100%);
  border-top: 1px solid rgba(201, 255, 77, 0.26);
  color: var(--text-dim);
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -34%;
  width: min(520px, 62%);
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(111, 231, 210, 0.12), transparent 66%);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(34px, 5.5vw, 64px) clamp(20px, 3vw, 34px);
}

.footer__mast {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 22px;
  padding-bottom: clamp(20px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--paper);
  text-decoration: none;
  transition: color 200ms var(--ease);
}

.footer__brand:hover { color: var(--lime); }

.footer__brand-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.footer__edition {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(201, 255, 77, 0.45);
  padding: 3px 8px;
}

.footer__tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 48px);
  padding-block: clamp(26px, 4vw, 44px);
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
}

.footer-list { display: grid; gap: 2px; }

.footer-list__item { display: block; }

.footer-link {
  display: inline-block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.footer-link::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  margin-right: 0;
  vertical-align: middle;
  background: var(--lime);
  transition: width 200ms var(--ease), margin-right 200ms var(--ease);
}

.footer-link:hover { color: var(--lime); }
.footer-link:hover::before { width: 14px; margin-right: 8px; }

.footer__contact { display: grid; gap: 12px; }

.contact-item { display: grid; gap: 2px; }

.contact-item__key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

.contact-item__val {
  font-size: 14px;
  line-height: 1.65;
  color: var(--paper);
}

.contact-item__val--mono {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--slate);
}

.footer__legal {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer__legal-link {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid rgba(147, 164, 157, 0.35);
  padding-bottom: 1px;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.footer__legal-link:hover {
  color: var(--lime);
  border-color: var(--lime);
}

/* ---------- 10. 页面通用组件 ---------- */
.breadcrumbs { padding-block: 14px 0; }

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--slate);
}

.breadcrumbs__list li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(147, 164, 157, 0.6);
}

.breadcrumbs__link {
  color: var(--slate);
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.breadcrumbs__link:hover { color: var(--lime); }

.page-head {
  position: relative;
  padding-block: clamp(30px, 5vw, 68px) clamp(18px, 3vw, 30px);
}

.page-head__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
}

.page-head__title {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.94;
  color: var(--paper);
}

.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.prose {
  background: var(--paper);
  color: var(--ink-900);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 52px);
  max-width: 78ch;
  font-size: 16px;
  line-height: 1.8;
}

.prose > * + * { margin-top: 1em; }

.prose h2,
.prose h3,
.prose h4 { color: var(--ink-950); }

.prose h2 { font-size: clamp(22px, 3vw, 32px); }
.prose h3 { font-size: clamp(18px, 2vw, 24px); }

.prose a {
  color: #0E5B45;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  list-style: disc;
}

.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(6, 26, 19, 0.08);
  padding: 2px 6px;
  border-radius: var(--radius);
}

.panel {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 2.4vw, 28px);
}

.panel--glass {
  background: var(--glass);
  border-color: rgba(111, 231, 210, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.section-head__title {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 600;
  color: var(--paper);
}

.section-head__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  flex: none;
}

.data-table {
  width: 100%;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(147, 164, 157, 0.16);
  vertical-align: middle;
}

.data-table thead th {
  background: var(--ink-800);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  white-space: nowrap;
}

.data-table tbody tr:hover td { background: rgba(201, 255, 77, 0.05); }

.data-table--sticky thead th {
  position: sticky;
  top: var(--sticky-offset, 0px);
  z-index: 2;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1.6;
  white-space: nowrap;
}

.tag--lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink-950);
  font-weight: 700;
}

.tag--orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #1A0803;
  font-weight: 700;
}

.tag--mint {
  color: var(--mint);
  border-color: rgba(111, 231, 210, 0.5);
}

.timeline {
  position: relative;
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
}

.timeline__item {
  position: relative;
  padding-bottom: 18px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__marker {
  position: absolute;
  left: -27px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(201, 255, 77, 0.16);
}

.timeline__body {
  font-size: 14px;
  color: var(--text-dim);
}

.timeline__body strong { color: var(--paper); }

.index-rail {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.index-rail__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 2px;
  border-bottom: 1px solid rgba(147, 164, 157, 0.14);
  color: var(--text-dim);
  font-size: 13px;
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.index-rail__link:hover { color: var(--lime); }

.band {
  background: linear-gradient(90deg, rgba(22, 35, 58, 0.92), rgba(17, 58, 44, 0.45));
  border-block: 1px solid var(--line);
  padding-block: clamp(14px, 2vw, 22px);
}

.figure {
  display: grid;
  gap: 10px;
  margin: 0;
}

.figure__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 20%, rgba(111, 231, 210, 0.16), transparent 60%),
    var(--ink-800);
}

.figure__media--wide { aspect-ratio: 21 / 9; }
.figure__media--square { aspect-ratio: 1 / 1; }

.figure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--slate);
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 40px);
  text-align: center;
  color: var(--slate);
  font-size: 14px;
}

.count-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.count-note [data-league-count] { color: var(--lime); }

/* ---------- 11. 工具类 ---------- */
.u-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.u-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
}

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1120px) {
  .status-lamp__text { display: none; }
}

@media (max-width: 1000px) {
  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding-block: 12px;
  }

  .masthead::before { width: 42%; opacity: 0.7; }

  .masthead__aside { display: none; }

  .nav-toggle { display: inline-flex; }

  .nav {
    grid-column: 1 / -1;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 320ms var(--ease), visibility 320ms var(--ease);
  }

  .site-header[data-open] .nav {
    max-height: 640px;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 6px 0 10px;
    border-top: 1px solid var(--line);
  }

  .nav__link {
    width: 100%;
    padding: 14px 4px;
    font-size: 15px;
    border-bottom: 1px solid rgba(147, 164, 157, 0.14);
  }

  .nav__link::after { display: none; }

  .nav__link[aria-current="page"] {
    color: var(--lime);
    background: rgba(201, 255, 77, 0.08);
  }

  .nav__index { font-size: 10px; }

  .split { grid-template-columns: minmax(0, 1fr); }
  .span-3, .span-9 { grid-column: span 12; }
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .league-switch__label { display: none; }
  .toolrail__readout { display: none; }
  .toolrail__inner { gap: 8px; flex-wrap: nowrap; }
  .toolrail__entry { padding: 6px 9px; font-size: 11px; letter-spacing: 0.06em; }
  .brand__name { font-size: 20px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { justify-content: flex-start; }
  .toolrail__entries { gap: 4px; }
  .toolrail__entry { padding: 6px 8px; }
}

/* ---------- 13. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .status-lamp__dot { animation: none; }
  .scroll-meter__bar { transition: none; }
}
