/* ==========================================================
   必一体育SPORT — 全站共享样式
   ========================================================== */

/* ---------- 1. Reset & 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #F2F4F8;
  background: #12141A;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(44, 62, 80, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 62, 80, 0.28) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.22;
  pointer-events: none;
}

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

ul,
ol {
  list-style: none;
}

a {
  color: #0A66FF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  color: inherit;
}

::selection {
  background: #0A66FF;
  color: #FFFFFF;
}

:focus-visible {
  outline: 2px solid #36F1A5;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 2. CSS 变量 ---------- */
:root {
  --color-primary: #0A66FF;
  --color-secondary: #36F1A5;
  --color-bg: #12141A;
  --color-surface: #1E2129;
  --color-warning: #FF6B35;
  --color-text: #F2F4F8;
  --color-text-dim: #9AA3B2;
  --color-line: #2C3E50;
  --gradient-accent: linear-gradient(135deg, #0A66FF 0%, #36F1A5 100%);

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-data: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, "Roboto Mono", monospace;

  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --ticker-h: 40px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 辅助与跳转 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 3000;
  padding: 0.75rem 1.5rem;
  background: #0A66FF;
  color: #FFFFFF;
  border-radius: 0 0 14px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  transition: top 0.2s ease;
  box-shadow: 0 8px 24px rgba(10, 102, 255, 0.4);
}

.skip-link:hover {
  text-decoration: none;
  background: #1A75FF;
}

.skip-link:focus-visible {
  top: 0;
  outline: none;
}

/* ---------- 4. 容器 / 章节 / 栅格 ---------- */
.container {
  width: min(100%, var(--container-max));
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.section--narrow {
  max-width: 780px;
  margin-inline: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.grid__col--1 { grid-column: span 1; }
.grid__col--2 { grid-column: span 2; }
.grid__col--3 { grid-column: span 3; }
.grid__col--4 { grid-column: span 4; }
.grid__col--5 { grid-column: span 5; }
.grid__col--6 { grid-column: span 6; }
.grid__col--7 { grid-column: span 7; }
.grid__col--8 { grid-column: span 8; }
.grid__col--9 { grid-column: span 9; }
.grid__col--10 { grid-column: span 10; }
.grid__col--11 { grid-column: span 11; }
.grid__col--12 { grid-column: span 12; }

/* ---------- 5. 页面首屏 ---------- */
.page-hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.page-hero__index {
  display: block;
  font-family: var(--font-data);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
  max-width: 16em;
}

.page-hero__desc {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-dim);
  max-width: 42em;
  margin-top: 1.125rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ---------- 6. 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2500;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left top;
  pointer-events: none;
}

/* ---------- 7. 实时比分滚动条 ---------- */
.ticker {
  position: relative;
  z-index: 10;
  background: #0E1015;
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}

.ticker__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ticker__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.25rem 0.75rem;
  background: rgba(10, 102, 255, 0.14);
  border: 1px solid rgba(10, 102, 255, 0.32);
  border-radius: var(--radius-pill);
  font-family: var(--font-data);
  font-size: 0.71875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  white-space: nowrap;
}

.ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 8px var(--color-secondary);
  animation: ticker-dot 1.4s ease-in-out infinite;
}

@keyframes ticker-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.ticker__viewport {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 3%, black 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, black 3%, black 97%, transparent 100%);
}

.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 2.75rem;
  padding-left: 2.75rem;
  white-space: nowrap;
  animation: ticker-scroll 45s linear infinite;
  will-change: transform;
}

.ticker__inner:hover .ticker__track,
.ticker__inner:focus-within .ticker__track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-data);
  font-size: 0.8125rem;
  color: var(--color-text-dim);
}

.ticker__league {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78125rem;
  color: var(--color-text);
  padding: 0.125rem 0.5rem;
  background: rgba(44, 62, 80, 0.5);
  border-radius: 999px;
}

.ticker__team {
  color: var(--color-text-dim);
}

.ticker__score {
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.04em;
}

.ticker__score.is-goal {
  animation: goal-blink 1s step-end infinite;
}

@keyframes goal-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---------- 8. 头部与胶囊浮岛 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  padding: 0.75rem 0;
}

.site-header .container {
  display: flex;
}

.header-island {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.5rem 0.5rem 0.875rem;
  background:
    linear-gradient(rgba(30, 33, 41, 0.82), rgba(30, 33, 41, 0.82)) padding-box,
    linear-gradient(135deg, rgba(10, 102, 255, 0.5), rgba(54, 241, 165, 0.5)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ---------- 9. 品牌 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 13px;
  background: var(--gradient-accent);
  box-shadow:
    0 0 0 1px rgba(54, 241, 165, 0.35),
    0 4px 16px rgba(10, 102, 255, 0.32);
  overflow: hidden;
}

.brand__mark::before {
  content: "S";
  display: block;
  font-family: var(--font-data);
  font-weight: 800;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
  color: #0B1020;
  transform: skew(-6deg);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
}

.brand__mark::after {
  content: "";
  position: absolute;
  top: -35%;
  right: -35%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.brand__text {
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 900;
  color: var(--color-text);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.brand__text em {
  font-style: normal;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--color-primary);
  margin-left: 0.375rem;
  letter-spacing: 0.08em;
}

/* ---------- 10. 导航 ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-dim);
  white-space: nowrap;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.nav__link:hover {
  color: var(--color-text);
  background: rgba(10, 102, 255, 0.12);
  text-decoration: none;
}

.nav__link[aria-current="page"] {
  color: #FFFFFF;
  background: var(--color-primary);
  box-shadow: 0 4px 16px rgba(10, 102, 255, 0.35);
}

/* ---------- 11. 移动端汉堡按钮 ---------- */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 0;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.nav-toggle:hover {
  border-color: var(--color-primary);
  background: rgba(10, 102, 255, 0.08);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background-color 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 12. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: #0C0E13;
  border-top: 1px solid var(--color-line);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
}

.footer-brand__statement {
  margin-top: 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-dim);
  max-width: 30em;
}

.brand--footer {
  gap: 0.875rem;
}

.brand--footer .brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.brand--footer .brand__text {
  font-size: 1.375rem;
}

.brand--footer .brand__text em {
  font-size: 0.875rem;
}

.footer-col__title {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.footer-list__link {
  display: inline-block;
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  color: var(--color-text-dim);
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-list__link:hover {
  color: var(--color-secondary);
  transform: translateX(4px);
  text-decoration: none;
}

.footer-contact__line {
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  color: var(--color-text-dim);
  display: flex;
  align-items: flex-start;
}

.footer-contact__tag {
  display: inline-block;
  flex-shrink: 0;
  min-width: 2.75rem;
  margin-right: 0.625rem;
  padding: 0.125rem 0.5rem;
  background: rgba(10, 102, 255, 0.14);
  border-radius: var(--radius-pill);
  font-size: 0.71875rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-primary);
  text-align: center;
}

.footer-contact__note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-text-dim);
  background: rgba(54, 241, 165, 0.06);
  border-left: 2px solid var(--color-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: 0 10px 10px 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid rgba(44, 62, 80, 0.7);
}

.footer-bottom__copy {
  font-size: 0.8125rem;
  color: var(--color-text-dim);
}

.footer-bottom__note {
  font-size: 0.8125rem;
  color: var(--color-text-dim);
  font-family: var(--font-data);
}

/* ---------- 13. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(10, 102, 255, 0.3);
}

.btn--primary:hover {
  background: #1A75FF;
  box-shadow: 0 6px 28px rgba(10, 102, 255, 0.45);
}

.btn--secondary {
  background: var(--color-secondary);
  color: #0B1E15;
  box-shadow: 0 4px 20px rgba(54, 241, 165, 0.25);
}

.btn--secondary:hover {
  background: #4AF5B0;
  box-shadow: 0 6px 26px rgba(54, 241, 165, 0.35);
}

.btn--outline {
  border-color: var(--color-line);
  color: var(--color-text);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(10, 102, 255, 0.08);
}

.btn--sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
}

.btn--lg {
  padding: 0.9375rem 2rem;
  font-size: 1.0625rem;
}

/* ---------- 14. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--color-text-dim);
}

.breadcrumbs__item {
  color: var(--color-text-dim);
  text-decoration: none;
}

.breadcrumbs__item:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumbs__item[aria-current="page"] {
  color: var(--color-text);
  font-weight: 600;
}

.breadcrumbs__sep {
  color: var(--color-line);
  padding: 0 0.125rem;
}

/* ---------- 15. 卡片 ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  border-color: rgba(10, 102, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(10, 102, 255, 0.08);
}

.card__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.card__body {
  color: var(--color-text-dim);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---------- 16. 章节预览 ---------- */
.chapter-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.chapter-index__item {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.chapter-index__item:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10, 102, 255, 0.1);
}

.chapter-index__num {
  font-family: var(--font-data);
  font-size: 0.8125rem;
  color: var(--color-primary);
  letter-spacing: 0.1em;
}

.chapter-index__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--color-text);
  line-height: 1.3;
}

.chapter-index__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-dim);
}

/* ---------- 17. 图片容器 ---------- */
.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #1A1E27 0%, #12141A 100%);
  border: 1px solid var(--color-line);
  aspect-ratio: 16 / 9;
  isolation: isolate;
}

.img-frame--wide { aspect-ratio: 21 / 9; }
.img-frame--square { aspect-ratio: 1 / 1; }
.img-frame--tall { aspect-ratio: 3 / 4; }

.img-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.img-frame__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-data);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--color-text-dim);
  background-image:
    linear-gradient(rgba(44, 62, 80, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 62, 80, 0.35) 1px, transparent 1px),
    radial-gradient(ellipse at 70% 20%, rgba(10, 102, 255, 0.15), transparent 60%);
  background-size: 24px 24px, 24px 24px, 100% 100%;
  text-transform: uppercase;
}

/* ---------- 18. 折叠面板 ---------- */
.fold {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.fold:hover {
  border-color: rgba(10, 102, 255, 0.4);
}

.fold__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  transition: background-color 0.25s ease;
}

.fold__summary:hover {
  background: rgba(10, 102, 255, 0.06);
}

.fold__summary::-webkit-details-marker {
  display: none;
}

.fold__summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-primary);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.fold[open] .fold__summary::after {
  transform: rotate(45deg);
  border-color: var(--color-primary);
  color: var(--color-secondary);
}

.fold__body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-text-dim);
  line-height: 1.75;
}

/* ---------- 19. 数据进度条 ---------- */
.progress-line {
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  overflow: hidden;
}

.progress-line__fill {
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-accent);
}

/* ---------- 20. 滚动显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ---------- 21. 响应式 ---------- */
@media (max-width: 991.98px) {
  .header-island {
    border-radius: 24px;
    padding: 0.5rem 0.5rem 0.5rem 0.75rem;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.125rem;
    padding: 0.75rem;
    background: rgba(18, 20, 26, 0.92);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    backdrop-filter: blur(28px) saturate(1.4);
    border: 1px solid var(--color-line);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0s linear 0.3s;
    pointer-events: none;
  }

  .nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0s linear 0s;
    pointer-events: auto;
  }

  .nav__link {
    display: flex;
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
    border-radius: 14px;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .grid__col--1,
  .grid__col--2,
  .grid__col--3,
  .grid__col--4,
  .grid__col--5,
  .grid__col--6,
  .grid__col--7,
  .grid__col--8,
  .grid__col--9,
  .grid__col--10,
  .grid__col--11 {
    grid-column: span 12;
  }

  .grid__col--md-6 {
    grid-column: span 6;
  }

  .grid__col--md-4 {
    grid-column: span 4;
  }

  .grid__col--md-8 {
    grid-column: span 8;
  }
}

@media (max-width: 575.98px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand__text {
    font-size: 1rem;
  }

  .brand__text em {
    font-size: 0.75rem;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .ticker__label {
    font-size: 0.6875rem;
  }

  .ticker__item {
    font-size: 0.75rem;
  }
}

@media (max-width: 379.98px) {
  .brand__text em {
    display: none;
  }
}

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

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

  .ticker__track {
    animation: none !important;
    transform: none !important;
  }

  .ticker__score.is-goal {
    animation: none !important;
    opacity: 1;
  }

  .ticker__dot {
    animation: none !important;
  }

  .nav {
    transition: none !important;
  }

  .nav[data-open] {
    transform: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-toggle__bar {
    transition: none;
  }
}
