/* ============================================================
   HAHA赛场 · 共享站点样式  /assets/site.css
   高原赛场技术蓝图：细线网格 / 斜切色带 / 记分牌数据 / 框架导航
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  --sky: #2E6FE0;
  --sky-deep: #1F55B8;
  --deep: #123E8C;
  --snow: #F7FAFF;
  --ice: #E6F0FF;
  --red: #C8102E;
  --red-deep: #A50D26;
  --barley: #E8B23A;
  --barley-ink: #6B4A00;
  --barley-soft: #FBF1DA;
  --ink: #102033;
  --slate: #5B6B82;
  --turq: #1FA8A0;
  --sand: #F3E8D3;

  --line: rgba(18, 62, 140, 0.13);
  --line-strong: rgba(18, 62, 140, 0.26);
  --line-invert: rgba(255, 255, 255, 0.17);

  --r-xl: 32px;
  --r-lg: 22px;
  --r-md: 14px;
  --pill: 999px;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 44px);

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "Roboto Mono", Menlo, Consolas, monospace;

  --shadow-1: 0 1px 0 rgba(18, 62, 140, 0.05), 0 16px 34px -22px rgba(18, 62, 140, 0.55);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

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

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

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

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

#main-content { display: block; outline: none; }

/* ---------- 3. 中文排版基底 ---------- */
body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--deep);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); letter-spacing: 0.03em; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
h4 { font-size: 1.05rem; }

a {
  color: var(--deep);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

a:hover { color: var(--red); }

strong, b { font-weight: 700; color: var(--ink); }

::selection {
  background: rgba(232, 178, 58, 0.45);
  color: var(--ink);
}

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

/* ---------- 4. 通用布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(40px, 6vw, 82px); }

.grid {
  display: grid;
  gap: clamp(16px, 3vw, 30px);
}

.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }

@media (max-width: 880px) {
  .grid--7-5,
  .grid--8-4 { grid-template-columns: minmax(0, 1fr); }
}

.prose { max-width: 62ch; }
.prose p { font-size: 17px; line-height: 1.8; color: var(--ink); }
.prose p + p { margin-top: 1em; }
.prose ul,
.prose ol { padding-left: 1.3em; margin-top: 0.8em; }
.prose li + li { margin-top: 0.35em; }

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: top 0.18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  color: #fff;
  outline-offset: -3px;
}

/* ---------- 6. 页头外框 ---------- */
.site-header {
  position: relative;
  isolation: isolate;
  background-color: var(--snow);
  background-image:
    linear-gradient(to right, rgba(46, 111, 224, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 111, 224, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  background-position: -1px -1px;
  border-bottom: 1px solid var(--line-strong);
}

.header-accent {
  display: block;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--sky) 0 58%,
    var(--red) 58% 80%,
    var(--barley) 80% 100%
  );
}

.masthead { position: relative; }

.masthead__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 22px var(--gutter) 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 38px);
}

/* 品牌锁定组合 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--deep);
  text-decoration: none;
}

.brand:hover { color: var(--deep); }

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--sky);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.brand__mark::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--barley);
  box-shadow: 0 0 0 3px var(--snow);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: inherit;
}

.brand__desc {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  color: var(--slate);
}

/* 标语 */
.masthead__tagline {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--slate);
  text-align: center;
}

.masthead__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--barley);
  box-shadow: 0 0 0 4px rgba(232, 178, 58, 0.22);
  flex: 0 0 auto;
}

/* 动作区 */
.masthead__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--deep);
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.chip-link:hover {
  background: var(--ice);
  border-color: var(--sky);
  color: var(--deep);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 12px 22px -16px rgba(200, 16, 46, 0.95);
}

.btn--primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  color: #fff;
  transform: translateY(-2px);
}

.btn--line {
  background: #fff;
  border-color: var(--deep);
  color: var(--deep);
}

.btn--line:hover {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
  transform: translateY(-2px);
}

.btn--sky {
  background: var(--sky);
  border-color: var(--sky);
  color: #fff;
}

.btn--sky:hover {
  background: var(--sky-deep);
  border-color: var(--sky-deep);
  color: #fff;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 0;
  border-radius: var(--pill);
  background: var(--deep);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.nav-toggle__text { line-height: 1; }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background 0.18s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-header[data-open] .nav-toggle__bars { background: transparent; }
.site-header[data-open] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- 7. 主导航 + 联赛轨道 ---------- */
.nav-shell {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  border-top: 1px solid var(--line-strong);
}

.nav-shell__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 2px var(--gutter) 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 2px;
  margin-left: -14px;
}

.nav-list__item { display: flex; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 14px 16px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--deep);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--barley);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link:hover { color: var(--red); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link__num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--slate);
  transition: color 0.18s var(--ease);
}

.nav-link[aria-current="page"] { color: var(--ink); }

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--red);
}

.nav-link[aria-current="page"] .nav-link__num { color: var(--red); }

.league-rail-wrap {
  padding: 11px 0 13px;
  border-top: 1px dashed var(--line-strong);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--sky) transparent;
}

.league-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.league-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--deep);
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.league-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
  transition: background 0.18s var(--ease);
}

.league-pill:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: #fff;
  transform: translateY(-1px);
}

.league-pill:hover::before { background: var(--barley); }

.league-rail li:first-child .league-pill {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

.league-rail li:first-child .league-pill::before { background: var(--barley); }

.league-rail li:first-child .league-pill:hover {
  background: var(--sky);
  border-color: var(--sky);
}

/* 观赛动线进度轨 */
.scroll-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: rgba(18, 62, 140, 0.08);
  pointer-events: none;
  z-index: 3;
}

.scroll-rail__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--sky) 0%, var(--turq) 100%);
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--deep);
  color: #DCE7FA;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.footer-rail {
  position: relative;
  z-index: 1;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--barley) 0 22%,
    var(--red) 22% 46%,
    var(--sky) 46% 100%
  );
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 62px) var(--gutter) 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.footer-brand { min-width: 0; }

.brand--invert { color: #fff; }
.brand--invert:hover { color: #fff; }
.brand--invert .brand__name { color: #fff; }
.brand--invert .brand__desc { color: #9FB8E4; }
.brand--invert .brand__mark { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.brand--invert .brand__mark::after { box-shadow: 0 0 0 3px var(--deep); }

.footer-brand__summary {
  margin-top: 18px;
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.8;
  color: #C7D8F5;
}

.contact-list {
  margin-top: 22px;
  display: grid;
  gap: 9px;
}

.contact-list__row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.contact-list dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #8FA9D8;
}

.contact-list dd {
  font-size: 14px;
  line-height: 1.6;
  color: #EAF1FF;
  word-break: break-word;
}

.contact-note {
  margin-top: 14px;
  max-width: 46ch;
  font-size: 12.5px;
  line-height: 1.75;
  color: #93A9D4;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.footer-col__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-invert);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #fff;
}

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

.footer-link {
  position: relative;
  display: inline-block;
  padding-left: 15px;
  font-size: 14px;
  line-height: 1.7;
  color: #C7D8F5;
}

.footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--barley);
  transition: width 0.18s var(--ease);
}

.footer-link:hover { color: #fff; }
.footer-link:hover::before { width: 10px; }

.footer-base {
  margin-top: clamp(28px, 4vw, 46px);
  padding-top: 18px;
  border-top: 1px solid var(--line-invert);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #9FB6E0;
}

.footer-base__icp { color: #C7D8F5; }
.footer-base__copy { margin-left: auto; }
.footer-base__sig { color: #8FA9D8; }

/* ---------- 9. 通用组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--sky);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--barley);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(46, 111, 224, 0.24);
  background: var(--ice);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--deep);
  white-space: nowrap;
}

.pill--data {
  background: var(--barley-soft);
  border-color: rgba(232, 178, 58, 0.62);
  color: var(--barley-ink);
}

.pill--live {
  background: rgba(200, 16, 46, 0.1);
  border-color: rgba(200, 16, 46, 0.34);
  color: var(--red-deep);
}

.pill--ok {
  background: rgba(31, 168, 160, 0.12);
  border-color: rgba(31, 168, 160, 0.38);
  color: #0F6E68;
}

.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--sky);
  box-shadow: var(--shadow-1);
}

.data-strip {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: #fff;
}

.data-strip__cell {
  flex: 1 1 158px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.data-strip__cell:last-child { border-right: 0; }

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

.data-strip__value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--deep);
  font-variant-numeric: tabular-nums;
}

/* 响应式图片容器基类（页面阶段放占位图） */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background:
    linear-gradient(140deg, var(--ice) 0%, var(--snow) 52%, var(--sand) 100%);
}

.media-frame__img,
.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(155deg, rgba(46, 111, 224, 0.16) 0%, transparent 46%);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--portrait { aspect-ratio: 2 / 3; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--cut { border-radius: var(--r-xl) 6px var(--r-xl) 6px; }

.media-frame__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: rgba(16, 32, 51, 0.84);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li::after {
  content: "/";
  color: rgba(91, 107, 130, 0.55);
}

.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { color: var(--deep); }
.breadcrumb a:hover { color: var(--red); }

/* 显现协议 */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 10. 平板 ---------- */
@media (max-width: 1024px) {
  .masthead__tagline { display: none; }

  .masthead__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .masthead__actions { grid-column: 1 / -1; justify-content: flex-start; }

  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 11. 移动端 ---------- */
@media (max-width: 960px) {
  .masthead__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "actions actions";
    row-gap: 14px;
    padding: 18px var(--gutter) 16px;
  }

  .brand { grid-area: brand; }
  .brand__mark { width: 40px; height: 40px; border-radius: 12px; font-size: 19px; }
  .brand__name { font-size: 18px; }
  .brand__desc { font-size: 9.5px; letter-spacing: 0.1em; }

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

  .masthead__actions {
    grid-area: actions;
    width: 100%;
    justify-content: stretch;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .masthead__actions .chip-link { display: none; }
  .masthead__actions .btn { flex: 1 1 0; min-width: 0; padding: 11px 10px; font-size: 13px; }

  /* 折叠导航，由 [data-open] 展开 */
  .nav-shell { display: none; }
  .site-header[data-open] .nav-shell { display: block; }

  .nav-shell__inner { padding: 6px var(--gutter) 16px; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
  }

  .nav-list__item { display: block; }
  .nav-list__item + .nav-list__item { border-top: 1px solid var(--line); }

  .nav-link {
    display: flex;
    width: 100%;
    padding: 14px 2px;
    font-size: 16px;
    color: var(--deep);
  }

  .nav-link__num { font-size: 11px; }

  .nav-link::after {
    left: 0;
    right: auto;
    width: 24px;
    height: 2px;
    bottom: 8px;
  }

  .league-rail-wrap { margin-top: 12px; }

  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-base__copy { margin-left: 0; }
  .footer-base__sig { width: 100%; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .brand__desc { display: none; }
  .footer-columns { grid-template-columns: minmax(0, 1fr); }
  .contact-list__row { grid-template-columns: 68px minmax(0, 1fr); }
  .data-strip__cell { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .data-strip__cell:last-child { border-bottom: 0; }
}

/* ---------- 12. 减弱动效 ---------- */
@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;
  }

  .reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .card:hover,
  .btn:hover,
  .league-pill:hover {
    transform: none;
  }
}
