/* ============================================================
   米兰体育在线 · 共享站级样式 /assets/site.css
   结构：tokens → reset → 排版 → 通用组件 → 页头 → 页脚 → 响应式
   ============================================================ */

:root {
  /* 品牌色 */
  --ink: #141414;
  --ink-soft: #1b1b1b;
  --ink-deep: #0d0d0d;
  --paper: #F4EFE6;
  --red: #B3122E;
  --wine: #7A0D20;
  --rock: #D8D2C4;
  --pitch: #2F6B4F;
  --moss: #6E7B5B;
  --fluor: #E8F23A;
  --clay: #C8A27A;
  --white: #FFFFFF;

  /* 字体 */
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo,
    Consolas, "Liberation Mono", monospace;

  /* 尺寸 */
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --rail: 104px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --line: rgba(216, 210, 196, .18);
  --line-soft: rgba(216, 210, 196, .1);
}

/* ---------------- reset ---------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

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

#main-content { display: block; }

/* ---------------- 中文排版 ---------------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 900;
  color: inherit;
  text-wrap: balance;
}

h1 {
  font-size: clamp(34px, 7vw, 76px);
  line-height: 1.06;
  letter-spacing: -.01em;
}

h2 {
  font-size: clamp(26px, 4.4vw, 44px);
  line-height: 1.16;
  letter-spacing: -.005em;
}

h3 {
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.32;
  font-weight: 800;
}

h4 {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

p { text-wrap: pretty; }

strong { font-weight: 700; }

/* ---------------- 通用容器与网格 ---------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.split--wide { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }

.rail-layout {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  align-items: start;
}
.rail-track {
  position: relative;
  align-self: stretch;
  border-right: 1px solid var(--line);
}

.prose {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.85;
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(24px, 3.4vw, 34px); }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------- 文字标记 ---------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.eyebrow--fluor { color: var(--fluor); }
.eyebrow--pitch { color: var(--moss); }

.data {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.side-note {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(216, 210, 196, .5);
  line-height: 1;
}

.ruler {
  height: 6px;
  border: 0;
  margin: 0;
  color: currentColor;
  opacity: .35;
  background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 9px);
}

/* ---------------- 面包屑 ---------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .62;
  padding-block: 14px;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before {
  content: "/";
  opacity: .5;
}
.breadcrumb a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--red);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn--primary:hover { background: var(--wine); }
.btn--ghost {
  border-color: rgba(216, 210, 196, .35);
  color: inherit;
}
.btn--ghost:hover { border-color: var(--fluor); color: var(--fluor); }
.btn--light {
  background: var(--paper);
  color: var(--ink);
}
.btn--light:hover { background: var(--white); }

/* ---------------- 标签 ---------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.6;
  border-radius: 2px;
  background: rgba(179, 18, 46, .1);
  color: var(--red);
  border: 1px solid rgba(179, 18, 46, .3);
}
.tag--fluor {
  background: var(--fluor);
  color: var(--ink);
  border-color: transparent;
}
.tag--pitch {
  background: rgba(47, 107, 79, .14);
  color: var(--pitch);
  border-color: rgba(47, 107, 79, .34);
}

/* ---------------- 卡片 ---------------- */
.card {
  position: relative;
  display: block;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(20, 20, 20, .12);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(20, 20, 20, .04), 6px 6px 0 rgba(20, 20, 20, .06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
    border-color .25s var(--ease);
}
.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .7), 6px 6px 0 rgba(179, 18, 46, .16);
}
.card--ink {
  background: var(--ink-soft);
  color: var(--paper);
  border-color: var(--line);
  box-shadow: none;
}
.card--ink:hover,
.card--ink:focus-within {
  border-color: var(--red);
  box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .8);
}

/* ---------------- 图片容器基础规则 ---------------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1c1c1c, #2b2b2b 55%, #1a1a1a);
  isolation: isolate;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.media:hover img { transform: scale(1.045); }
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 52%, rgba(20, 20, 20, .58));
  pointer-events: none;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(216, 210, 196, .45);
  background:
    repeating-linear-gradient(135deg, rgba(216, 210, 196, .05) 0 1px, transparent 1px 12px);
}

/* ============================================================
   页头
   ============================================================ */
.site-header {
  --header-gutter: var(--gutter);
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, #161616 0%, var(--ink-deep) 100%);
  color: var(--white);
  border-bottom: 1px solid var(--line);
}

/* skip link */
.skip-link {
  position: absolute;
  top: -120px;
  left: var(--header-gutter);
  z-index: 120;
  padding: 10px 18px;
  background: var(--fluor);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 10px; }

/* 顶部数据播报带 */
.header-ticker {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px var(--header-gutter);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .09em;
  color: rgba(244, 239, 230, .6);
  overflow: hidden;
}
.ticker-mark {
  flex: none;
  width: 30px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 0 1px rgba(179, 18, 46, .28);
}
.ticker-line {
  margin: 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticker-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0 auto;
  white-space: nowrap;
  color: rgba(232, 242, 58, .78);
}
.ticker-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fluor);
  box-shadow: 0 0 0 3px rgba(232, 242, 58, .16);
}

/* 主框架 */
.header-frame {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 40px);
  padding: 12px var(--header-gutter);
}

/* 品牌印章 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-glyph {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
  transition: background-color .22s var(--ease);
}
.brand:hover .brand-glyph { background: var(--wine); }
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}
.brand-name {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--white);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, .48);
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 30px);
  margin-left: auto;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 24px);
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 2px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(244, 239, 230, .76);
  transition: color .2s var(--ease);
}
.nav-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(216, 210, 196, .4);
  transition: color .2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transition: right .26s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { right: 0; }
.nav-link[aria-current="page"] { color: var(--white); }
.nav-link[aria-current="page"]::after { right: 0; }
.nav-link[aria-current="page"] .nav-idx { color: var(--fluor); }

/* 页头 CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  flex: none;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.2;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.nav-cta::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
}
.nav-cta:hover {
  background: var(--wine);
  transform: translateY(-1px);
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid rgba(216, 210, 196, .3);
  border-radius: 2px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  line-height: 1.2;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--fluor); color: var(--fluor); }
.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 18px;
  flex: none;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: var(--fluor);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 页头刻度尺 */
.header-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 var(--header-gutter) 7px;
}
.rule-ticks {
  flex: 1 1 auto;
  height: 5px;
  background: repeating-linear-gradient(90deg,
    rgba(216, 210, 196, .34) 0 1px,
    transparent 1px 10px);
}
.rule-accent {
  flex: none;
  width: clamp(64px, 20vw, 200px);
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--wine));
}

/* 滚动进度条（JS 注入） */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background: rgba(216, 210, 196, .12);
  pointer-events: none;
}
.scroll-meter span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 58%, var(--fluor) 100%);
  transition: transform .14s linear;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  --footer-gutter: var(--gutter);
  position: relative;
  margin-top: 0;
  background: var(--ink-deep);
  color: var(--paper);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  display: block;
  height: 8px;
  background:
    repeating-linear-gradient(90deg, var(--red) 0 2px, transparent 2px 12px),
    linear-gradient(180deg, rgba(122, 13, 32, .55), transparent);
}

.footer-body {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 64px) var(--footer-gutter) 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.footer-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
}
.footer-name {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .06em;
  color: var(--white);
}
.footer-summary {
  margin-top: 10px;
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 239, 230, .64);
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(18px, 2.6vw, 28px);
}
.footer-tags li {
  padding: 4px 11px;
  border: 1px solid rgba(216, 210, 196, .22);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: rgba(244, 239, 230, .55);
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fluor);
  line-height: 1.4;
}
.footer-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

.footer-nav ul { display: grid; gap: 9px; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(244, 239, 230, .72);
  transition: color .2s var(--ease);
}
.footer-nav a::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--red);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.footer-nav a:hover { color: var(--white); }
.footer-nav a:hover::before {
  transform: rotate(45deg);
  background: var(--fluor);
}

.contact-list { display: grid; gap: 12px; }
.contact-item { display: grid; gap: 2px; }
.contact-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(216, 210, 196, .48);
}
.contact-val {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 239, 230, .86);
  overflow-wrap: anywhere;
}
.contact-val--mono {
  font-family: var(--font-mono);
  letter-spacing: .01em;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.footer-legal {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(244, 239, 230, .5);
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.legal-links a {
  font-size: 12px;
  color: rgba(244, 239, 230, .6);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.legal-links a:hover {
  color: var(--fluor);
  border-color: var(--fluor);
}

/* ============================================================
   入场显现协议
   ============================================================ */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1120px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .rail-layout { grid-template-columns: 1fr; }
  .rail-track {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .split,
  .split--wide { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 112px; }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    margin: 0;
    padding: 14px var(--header-gutter) 26px;
    background: #101010;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    max-height: calc(100vh - 128px);
    overflow-y: auto;
  }
  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px dashed var(--line-soft);
    font-size: 16px;
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] {
    color: var(--fluor);
    padding-left: 10px;
    border-left: 3px solid var(--red);
  }
  .nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 18px;
    padding: 13px 18px;
    font-size: 15px;
  }

  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }

  .ticker-meta { display: none; }
}

@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .header-ticker { font-size: 10px; letter-spacing: .06em; }
  .brand-glyph { width: 40px; height: 40px; font-size: 18px; }
  .brand-name { font-size: 17px; }
  .brand-sub { display: none; }
  .rule-accent { width: clamp(56px, 26vw, 120px); }
}

@media (max-width: 460px) {
  .header-frame { gap: 10px; padding-block: 10px; }
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 10px; }
  .ticker-line { font-size: 10px; }
}

/* ============================================================
   动效偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .media:hover img { transform: none; }
  .card:hover,
  .card:focus-within { transform: none; }
}
