/* ==========================================================================
   绿茵体育CN · /assets/site.css
   共享外壳：reset、设计变量、中文排版、双层页头、分层页脚、基础组件
   ========================================================================== */

/* ---------- 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, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* ---------- tokens ---------- */
:root {
  --pitch-deep: #0B2B1F;
  --turf-mid: #14532D;
  --jewel-teal: #0E4F4A;
  --wine-oxide: #5A1E2A;
  --lime: #C8FF3D;
  --warm-white: #F4F1E8;
  --referee-yellow: #FFD24A;
  --whistle-orange: #FF7A3D;
  --ink-black: #07100B;

  --text: var(--warm-white);
  --text-soft: rgba(244, 241, 232, .74);
  --text-mute: rgba(244, 241, 232, .52);
  --line: rgba(244, 241, 232, .16);
  --line-strong: rgba(244, 241, 232, .32);
  --lime-line: rgba(200, 255, 61, .44);

  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --font-serif: "Noto Serif SC", "Songti SC", Georgia, serif;

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --shadow-soft: 0 22px 46px -34px #000;
  --speed: .22s;
}

/* ---------- base ---------- */
body {
  min-height: 100vh;
  background-color: var(--pitch-deep);
  background-image:
    repeating-linear-gradient(115deg, rgba(200, 255, 61, .028) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(25deg, rgba(244, 241, 232, .022) 0 1px, transparent 1px 96px),
    radial-gradient(120% 80% at 88% -12%, rgba(14, 79, 74, .55), transparent 62%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: .02em;
  color: var(--warm-white);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: var(--radius);
}

#main-content { scroll-margin-top: 150px; }

.skip-link {
  position: absolute;
  left: 14px;
  top: -72px;
  z-index: 300;
  display: inline-block;
  padding: 10px 18px;
  background: var(--lime);
  color: var(--ink-black);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top var(--speed) ease;
}
.skip-link:focus { top: 0; }

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
}
.section--turf {
  background: linear-gradient(180deg, rgba(20, 83, 45, .96), rgba(20, 83, 45, .78));
  border-block: 1px solid rgba(7, 16, 11, .5);
}
.section--teal {
  background: linear-gradient(165deg, rgba(14, 79, 74, .96), rgba(11, 43, 31, .92));
  border-block: 1px solid var(--lime-line);
}
.section--wine {
  background: linear-gradient(165deg, rgba(90, 30, 42, .9), rgba(11, 43, 31, .9));
  border-block: 1px solid rgba(255, 210, 74, .22);
}

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }

@media (max-width: 980px) {
  .grid--sidebar { grid-template-columns: minmax(0, 1fr); }
}

.divider {
  height: 1px;
  border: 0;
  background: var(--line);
  margin-block: clamp(24px, 4vw, 40px);
}

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--referee-yellow);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .8;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .01em;
}

.lede {
  max-width: 62ch;
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.86;
  color: var(--text-soft);
}

.mono {
  font-family: var(--font-mono);
  font-size: .82em;
  letter-spacing: .1em;
}

.num {
  font-family: var(--font-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.prose { max-width: 70ch; }
.prose p + p { margin-top: 1em; }
.prose h2, .prose h3 { margin-block: 1.4em .5em; }
.prose a { color: var(--lime); border-bottom: 1px solid var(--lime-line); }
.prose a:hover { border-bottom-color: var(--lime); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
  transition: background-color var(--speed) ease, color var(--speed) ease,
              border-color var(--speed) ease, transform var(--speed) ease;
}
.btn--small { padding: 8px 14px; font-size: 13px; }
.btn--primary {
  background: var(--whistle-orange);
  border-color: var(--whistle-orange);
  color: var(--ink-black);
}
.btn--primary:hover { background: var(--referee-yellow); border-color: var(--referee-yellow); }
.btn--ghost {
  background: rgba(7, 16, 11, .38);
  border-color: var(--line-strong);
  color: var(--warm-white);
}
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--outline {
  background: transparent;
  border-color: var(--lime-line);
  color: var(--lime);
}
.btn--outline:hover { background: rgba(200, 255, 61, .12); }
.btn:active { transform: translateY(1px); }

/* ---------- tags / panels / tables ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--lime-line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--lime);
  background: rgba(200, 255, 61, .06);
}
.tag--yellow { color: var(--referee-yellow); border-color: rgba(255, 210, 74, .44); background: rgba(255, 210, 74, .08); }
.tag--orange { color: var(--whistle-orange); border-color: rgba(255, 122, 61, .44); background: rgba(255, 122, 61, .08); }

.panel {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 16, 11, .42);
  box-shadow: var(--shadow-soft);
}
.panel--teal {
  border-color: rgba(200, 255, 61, .22);
  background: linear-gradient(160deg, rgba(14, 79, 74, .85), rgba(7, 16, 11, .72));
}

.data-table {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--line);
}
.data-table th,
.data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.data-table thead th {
  position: sticky;
  top: 0;
  background: rgba(7, 16, 11, .88);
  color: var(--referee-yellow);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.data-table tbody tr:nth-child(even) { background: rgba(20, 83, 45, .45); }
.data-table tbody tr:hover { background: rgba(200, 255, 61, .08); }
.data-table td.num { color: var(--lime); font-size: 15px; }

/* ---------- breadcrumb ---------- */
.breadcrumb { margin-bottom: clamp(16px, 2.4vw, 28px); }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--text-mute);
}
.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(244, 241, 232, .28);
}
.breadcrumb-list a:hover { color: var(--lime); }
.breadcrumb-list [aria-current="page"] { color: var(--warm-white); }

/* ---------- media frame（页面阶段放置图片占位） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--turf-mid);
  background-image:
    radial-gradient(90% 70% at 20% 10%, rgba(200, 255, 61, .12), transparent 60%),
    repeating-linear-gradient(90deg, rgba(7, 16, 11, .35) 0 1px, transparent 1px 64px);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 16, 11, .55));
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--cut { clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%); }
.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-mute);
}

/* ==========================================================================
   页头：双层信息导航
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--pitch-deep);
  box-shadow: 0 1px 0 rgba(200, 255, 61, .18), 0 24px 44px -38px #000;
}

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 70;
  pointer-events: none;
  background: rgba(7, 16, 11, .55);
}
.header-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--lime), var(--referee-yellow) 68%, var(--whistle-orange));
}

/* 上層：品牌 + 比分条 + 行动区 */
.header-utility {
  background: linear-gradient(180deg, #07100B 0%, #0B2B1F 100%);
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(180deg, #07100B 0%, #0B2B1F 100%),
    repeating-linear-gradient(115deg, rgba(200, 255, 61, .05) 0 1px, transparent 1px 40px);
  background-blend-mode: normal;
}

.header-utility-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--ink-black);
  border: 1px solid var(--lime-line);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .02em;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  transition: background-color var(--speed) ease, color var(--speed) ease;
}
.brand:hover .brand-mark { background: var(--lime); color: var(--ink-black); }
.brand-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .08em;
  color: var(--warm-white);
  white-space: nowrap;
}
.brand-cn {
  margin-left: 5px;
  font-size: .72em;
  letter-spacing: .14em;
  color: var(--lime);
  vertical-align: top;
}
.brand-line {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--text-mute);
  white-space: nowrap;
}

/* 比分条 */
.ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  padding-left: clamp(10px, 1.6vw, 22px);
  border-left: 1px solid var(--line);
}
.ticker-label {
  flex: 0 0 auto;
  padding: 2px 8px;
  border: 1px solid rgba(255, 210, 74, .45);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--referee-yellow);
  white-space: nowrap;
}
.ticker-list {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.ticker-list::-webkit-scrollbar { display: none; }
.ticker-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-inline: 12px;
  border-right: 1px dashed var(--line);
  white-space: nowrap;
}
.ticker-item:last-child { border-right: 0; }
.ticker-team {
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(244, 241, 232, .8);
}
.ticker-score {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  color: var(--lime);
}
.ticker-sep { margin-inline: 2px; color: var(--text-mute); }
.ticker-note {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--text-mute);
  white-space: nowrap;
}

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

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--warm-white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  transition: border-color var(--speed) ease, color var(--speed) ease;
}
.nav-toggle:hover { border-color: var(--lime); color: var(--lime); }
.nav-toggle-bars { display: grid; gap: 3px; width: 16px; }
.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: var(--lime);
  transition: transform var(--speed) ease, opacity var(--speed) ease;
}
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 下層：栏目条 */
.nav-bar {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 83, 45, .96), rgba(11, 43, 31, .98));
  border-bottom: 1px solid rgba(7, 16, 11, .55);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
}
.primary-nav { min-width: 0; }
.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(8px, 1.7vw, 26px);
}
.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 2px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(244, 241, 232, .78);
  transition: color var(--speed) ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--speed) ease;
}
.nav-link:hover { color: var(--warm-white); }
.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 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 7px 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--text-soft);
  transition: color var(--speed) ease;
}
.nav-index::before { content: "["; color: var(--lime); opacity: .75; }
.nav-index::after { content: "]"; color: var(--lime); opacity: .75; }
.nav-index:hover,
.nav-index[aria-expanded="true"] { color: var(--lime); }
.nav-index-text { line-height: 1; }

/* 索引面板 */
.index-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 55;
  padding-block: clamp(18px, 2.4vw, 26px);
  background: var(--ink-black);
  border-top: 1px solid var(--lime-line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 46px -34px #000;
}
.index-panel-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.index-group-title {
  padding-bottom: 7px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--referee-yellow);
}
.index-links { display: grid; gap: 2px; }
.index-link {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-soft);
  transition: color var(--speed) ease, padding-left var(--speed) ease;
}
.index-link:hover { color: var(--lime); padding-left: 6px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink-black);
  color: var(--text-soft);
  border-top: 1px solid rgba(200, 255, 61, .22);
}
.footer-strip {
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 12px, transparent 12px 30px);
  opacity: .5;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(36px, 5vw, 68px) clamp(24px, 3.4vw, 44px);
}
.footer-brand { display: grid; gap: 12px; justify-items: start; }
.footer-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--pitch-deep);
  border: 1px solid var(--lime-line);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--warm-white);
}
.footer-lead {
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-soft);
}
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.footer-contact { display: grid; gap: 10px; align-content: start; }
.footer-contact-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--referee-yellow);
}
.footer-contact-list { display: grid; gap: 8px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-soft);
  word-break: break-word;
}
.footer-contact-key {
  flex: 0 0 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--lime);
  padding-top: 3px;
}
.footer-contact-note {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .06em;
  color: var(--text-mute);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: clamp(20px, 3vw, 44px);
  padding-block: clamp(24px, 3.4vw, 40px);
  border-top: 1px solid var(--line);
}
.footer-col-title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--warm-white);
}
.footer-col-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--lime);
  vertical-align: 2px;
}
.footer-links { display: grid; gap: 2px; }
.footer-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-soft);
  transition: color var(--speed) ease, transform var(--speed) ease;
}
.footer-link:hover { color: var(--lime); transform: translateX(3px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px 26px;
  border-top: 1px solid var(--line);
}
.footer-legal,
.footer-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--text-mute);
}
.to-top {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--text-soft);
  transition: color var(--speed) ease, border-color var(--speed) ease;
}
.to-top:hover { color: var(--lime); border-color: var(--lime); }

/* ==========================================================================
   滚动显现（页面阶段给块加 data-reveal）
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1099px) {
  .header-utility-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "ticker ticker";
    row-gap: 10px;
    padding-block: 10px;
  }
  .brand { grid-area: brand; }
  .header-actions { grid-area: actions; }
  .ticker {
    grid-area: ticker;
    padding-left: 0;
    padding-top: 10px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav-bar { display: none; }
  .site-header[data-open="true"] .nav-bar { display: block; }
  .site-header[data-open="true"] { box-shadow: 0 1px 0 rgba(200, 255, 61, .3), 0 32px 60px -40px #000; }

  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding-block: 4px 12px;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] {
    color: var(--lime);
    padding-left: 12px;
    background: rgba(200, 255, 61, .08);
  }
  .nav-index {
    justify-content: flex-start;
    width: 100%;
    padding: 14px 4px 10px;
  }
  .index-panel {
    position: static;
    padding-block: 14px 20px;
    box-shadow: none;
  }
  .header-cta-secondary { display: none; }
  #main-content { scroll-margin-top: 190px; }
}

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

@media (max-width: 620px) {
  .brand-mark { width: 40px; height: 40px; font-size: 16px; }
  .brand-name { font-size: 17px; }
  .brand-line { display: none; }
  .ticker-note { display: none; }
  .ticker-label { font-size: 9px; }
  .ticker-item { padding-inline: 9px; }
  .footer-bottom { justify-content: flex-start; }
  .footer-legal, .footer-note { flex: 1 1 100%; }
}

/* ==========================================================================
   减少动态偏好
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .footer-link:hover { transform: none; }
  .index-link:hover { padding-left: 0; }
}
