/* ==========================================================
   冠竞体育 · Site Kit 共享样式
   文件：/assets/site.css
   视觉：数据轨道 / 天山台地 / 实时赛场
   ========================================================== */

/* ---------- 1. 变量与重置 ---------- */
:root {
  --primary-deep-blue: #0B1E3A;
  --primary-gold: #D4A843;
  --accent-moss-green: #2E8B57;
  --accent-desert-orange: #E67E22;
  --neutral-rock-gray: #4A5568;
  --neutral-clay: #C97B63;
  --neutral-rice-white: #F5F0E6;
  --neutral-slate: #718096;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-headline: "Helvetica Neue", "Arial Black", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: "SF Mono", "Roboto Mono", "Menlo", "Consolas", "Courier New", monospace;

  --header-width: min(300px, 24vw);
  --content-max: 1440px;
  --dark-muted: rgba(245, 240, 230, 0.66);
  --dark-faint: rgba(245, 240, 230, 0.5);
  --dark-line: rgba(245, 240, 230, 0.12);
  --light-line: rgba(11, 30, 58, 0.14);
}

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

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

body {
  margin: 0;
  background: var(--neutral-rice-white);
  color: var(--primary-deep-blue);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  line-height: 1.18;
  margin: 0 0 0.6em;
  font-weight: 900;
  letter-spacing: 0.015em;
}

p, ul, ol, dl, blockquote {
  margin: 0 0 1.2em;
}

a {
  color: var(--primary-deep-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-desert-orange);
}

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

::selection {
  background: var(--primary-gold);
  color: var(--primary-deep-blue);
}

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

/* ---------- 2. 无障碍与工具 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -130%);
  z-index: 2000;
  background: var(--primary-gold);
  color: var(--primary-deep-blue);
  padding: 0.85rem 1.5rem;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  transition: transform 0.2s ease;
}

.skip-link:hover {
  color: var(--primary-deep-blue);
  background: #e2b95b;
}

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

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

/* ---------- 3. 布局容器 ---------- */
.content-container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 6vw, 6rem);
}

.content-container--narrow {
  max-width: 960px;
}

.page-section {
  padding-block: clamp(3rem, 8vw, 6.5rem);
}

.page-section--tight {
  padding-block: clamp(1.5rem, 4vw, 3rem);
}

.band-divider {
  position: relative;
  padding-block: clamp(2rem, 6vw, 5rem);
}

.band-divider--dark {
  background: var(--primary-deep-blue);
  color: var(--neutral-rice-white);
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.7rem 1.4rem;
  background: var(--primary-gold);
  color: var(--primary-deep-blue);
  border: 2px solid var(--primary-gold);
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

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

.btn--ghost {
  background: transparent;
  color: var(--primary-gold);
  border-color: var(--primary-gold);
}

.btn--ghost:hover {
  background: rgba(212, 168, 67, 0.12);
  color: var(--primary-gold);
  transform: none;
}

.btn--dark {
  background: var(--primary-deep-blue);
  border-color: var(--primary-deep-blue);
  color: var(--neutral-rice-white);
}

.btn--dark:hover {
  background: #13305e;
  border-color: #13305e;
  color: var(--neutral-rice-white);
}

.btn--small {
  min-height: 36px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

/* ---------- 5. 面包屑 ---------- */
.breadcrumb {
  margin-bottom: 2.5rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "▸";
  margin: 0 0.5rem;
  color: var(--primary-gold);
  font-size: 0.7rem;
}

.breadcrumb-link {
  color: var(--neutral-slate);
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: var(--primary-gold);
}

.breadcrumb-current {
  color: var(--primary-deep-blue);
  font-weight: 700;
}

/* ---------- 6. 头部侧轨 ---------- */
.site-header {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--header-width);
  z-index: 100;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(212, 168, 67, 0.06), rgba(212, 168, 67, 0) 32%),
    var(--primary-deep-blue);
  color: var(--neutral-rice-white);
  border-right: 1px solid rgba(212, 168, 67, 0.28);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-gold) 0%, rgba(212, 168, 67, 0) 28%, rgba(212, 168, 67, 0) 70%, var(--accent-desert-orange) 100%);
  opacity: 0.55;
  pointer-events: none;
}

.header-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(1.5rem, 3vh, 3rem) clamp(1.25rem, 2vw, 2rem) clamp(1.5rem, 3vh, 2.5rem);
  min-height: 0;
  overflow-y: auto;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--neutral-rice-white);
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--neutral-rice-white);
}

.brand-mark {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--primary-gold);
}

.brand-mark svg {
  width: 44px;
  height: 44px;
  overflow: visible;
}

.brand-trail,
.brand-spear,
.brand-track,
.brand-base {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-base {
  stroke-width: 2;
  opacity: 0.4;
}

.brand-ball {
  fill: currentColor;
  stroke: none;
}

@keyframes ball-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.brand:hover .brand-ball {
  transform-box: fill-box;
  transform-origin: center;
  animation: ball-pulse 0.6s ease;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.6);
}

/* 导航 */
.site-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item + .nav-item {
  margin-top: 0.25rem;
}

.nav-link {
  position: relative;
  display: grid;
  grid-template-columns: 2.4em 1fr;
  gap: 0.2em 0.75em;
  align-items: baseline;
  padding: 0.75em 0.5em;
  color: rgba(245, 240, 230, 0.8);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(212, 168, 67, 0.16), transparent 72%);
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: 2px;
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-gold);
  opacity: 0.6;
  letter-spacing: 0.05em;
}

.nav-label {
  font-size: 1.05rem;
}

.nav-link:hover {
  color: var(--neutral-rice-white);
  padding-left: 0.75em;
}

.nav-link:hover::before {
  opacity: 1;
}

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

.nav-link[aria-current="page"]::before {
  opacity: 1;
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: -0.25rem;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--primary-gold);
}

.nav-link[aria-current="page"] .nav-index {
  opacity: 1;
}

/* 抽屉开关 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(212, 168, 67, 0.55);
  color: var(--primary-gold);
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(212, 168, 67, 0.1);
  border-color: var(--primary-gold);
}

.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.nav-toggle-line {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

/* CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  padding: 0.85rem 1.2rem;
  background: var(--primary-gold);
  color: var(--primary-deep-blue);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
  color: var(--primary-deep-blue);
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.header-cta:focus-visible {
  background: #e2b95b;
  box-shadow: inset 0 0 0 3px var(--primary-deep-blue);
  outline: none;
  border-radius: 0;
}

.cta-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--accent-moss-green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.25);
  animation: cta-dot-pulse 2.4s ease-in-out infinite;
}

@keyframes cta-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(46, 139, 87, 0.05); }
}

.cta-arrow svg {
  display: block;
}

/* 阅读进度 */
.header-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  pointer-events: none;
  background: rgba(245, 240, 230, 0.08);
}

.header-progress-bar {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--primary-gold) 0%, var(--accent-desert-orange) 100%);
  border-bottom-right-radius: 2px;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--primary-deep-blue);
  color: var(--neutral-rice-white);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  display: block;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--primary-gold) 0, var(--primary-gold) 56px,
    transparent 56px, transparent 68px,
    var(--accent-moss-green) 68px, var(--accent-moss-green) 124px,
    transparent 124px, transparent 136px
  );
}

.footer-trust {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 5vw, 4rem);
  background: rgba(212, 168, 67, 0.06);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  box-shadow: inset 4px 0 0 rgba(201, 123, 99, 0.65);
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(245, 240, 230, 0.72);
}

.footer-trust-mark {
  display: inline-flex;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 0.2rem;
  color: var(--primary-gold);
}

.footer-trust-mark svg {
  width: 18px;
  height: 18px;
}

.footer-trust p {
  margin: 0;
  max-width: 80ch;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem) 2.5rem;
}

.footer-block {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.footer-block-brand {
  gap: 1.1rem;
}

.footer-block-brand .brand-mark svg {
  width: 38px;
  height: 38px;
}

.footer-note {
  margin: 0;
  color: rgba(245, 240, 230, 0.65);
  font-size: 0.95rem;
  max-width: 34em;
}

.footer-contact {
  display: grid;
  gap: 0.35rem;
  font-style: normal;
  color: rgba(245, 240, 230, 0.75);
  font-size: 0.9rem;
}

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-contact-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--primary-gold);
  transform: rotate(45deg);
  opacity: 0.7;
}

.footer-heading {
  margin: 0 0 0.4rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212, 168, 67, 0.25);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-gold);
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li,
.footer-legal li + li {
  margin-top: 0.72rem;
}

.footer-links a,
.footer-legal a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(245, 240, 230, 0.78);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a::before,
.footer-legal a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--primary-gold);
  transform: rotate(45deg);
  opacity: 0.45;
  transition: opacity 0.2s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--primary-gold);
  padding-left: 0.35rem;
}

.footer-links a:hover::before,
.footer-legal a:hover::before {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  border-top: 1px solid rgba(245, 240, 230, 0.1);
  padding: 1.1rem clamp(1.25rem, 5vw, 4rem);
  font-size: 0.85rem;
  color: rgba(245, 240, 230, 0.55);
  background: rgba(0, 0, 0, 0.12);
}

.footer-copyright,
.footer-icp {
  margin: 0;
}

.footer-icp {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* ---------- 8. 通用版面组件 ---------- */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-gold);
}

.section-kicker::before {
  content: "";
  width: 1.6em;
  height: 2px;
  background: var(--primary-gold);
  opacity: 0.6;
}

.section-heading {
  margin: 0.6em 0 0.4em;
  font-size: clamp(1.75rem, 5vw, 3.1rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.12;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--neutral-rock-gray);
  max-width: 60ch;
}

.grid {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
}

.grid--two,
.grid--three,
.grid--split {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 斜切面板 */
.cut-panel {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--primary-deep-blue);
  color: var(--neutral-rice-white);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 20px 100%);
}

.cut-panel--gold {
  background: linear-gradient(135deg, var(--primary-gold), #e6c065);
  color: var(--primary-deep-blue);
}

.cut-panel--light {
  background: var(--neutral-rice-white);
  color: var(--primary-deep-blue);
  border: 1px solid rgba(11, 30, 58, 0.1);
}

.cut-panel--clay {
  background: linear-gradient(135deg, var(--neutral-clay), #b06a52);
  color: var(--neutral-rice-white);
}

/* 数据资料卡 */
.data-card {
  position: relative;
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--neutral-rice-white);
  border: 1px solid rgba(11, 30, 58, 0.12);
  border-left: 4px solid var(--primary-gold);
  box-shadow: 6px 6px 0 rgba(11, 30, 58, 0.06);
}

.data-number {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--primary-deep-blue);
  letter-spacing: -0.02em;
}

.data-number--gold {
  color: var(--primary-gold);
}

.data-number--moss {
  color: var(--accent-moss-green);
}

.data-label {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neutral-rock-gray);
  font-weight: 600;
}

.data-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
}

.data-trend[data-trend="up"] {
  color: var(--accent-moss-green);
}

.data-trend[data-trend="down"] {
  color: var(--accent-desert-orange);
}

/* 标签 */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.85rem;
  border: 1px solid rgba(11, 30, 58, 0.16);
  background: transparent;
  color: var(--neutral-rock-gray);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tag:hover {
  color: var(--primary-deep-blue);
  border-color: var(--primary-gold);
  background: rgba(212, 168, 67, 0.08);
}

.tag--gold {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  background: rgba(212, 168, 67, 0.08);
}

.tag--green {
  border-color: var(--accent-moss-green);
  color: var(--accent-moss-green);
  background: rgba(46, 139, 87, 0.08);
}

.tag--orange {
  border-color: var(--accent-desert-orange);
  color: var(--accent-desert-orange);
  background: rgba(230, 126, 34, 0.08);
}

.tag--clay {
  border-color: var(--neutral-clay);
  color: var(--neutral-clay);
  background: rgba(201, 123, 99, 0.08);
}

/* 图片容器占位 */
.media-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 180px;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(230, 126, 34, 0.28), transparent 55%),
    linear-gradient(140deg, rgba(11, 30, 58, 0.88), rgba(11, 30, 58, 0.55)),
    repeating-linear-gradient(-45deg, rgba(212, 168, 67, 0.14) 0 10px, transparent 10px 22px);
  color: rgba(245, 240, 230, 0.85);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 62%, rgba(212, 168, 67, 0.18) 62%, rgba(212, 168, 67, 0.18) calc(62% + 3px), transparent calc(62% + 3px));
}

.media-placeholder {
  position: relative;
  z-index: 1;
  padding: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.6);
}

.media-frame--portrait {
  aspect-ratio: 4 / 5;
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

/* 直播状态 */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-moss-green);
}

.live-indicator::before {
  content: "";
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* 分隔线 */
hr {
  border: 0;
  border-top: 1px solid rgba(11, 30, 58, 0.15);
  margin: 3rem 0;
}

hr[data-rule="track"] {
  height: 3px;
  border: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--primary-gold) 0 24px,
    transparent 24px 32px,
    var(--accent-moss-green) 32px 56px,
    transparent 56px 64px
  );
}

/* ---------- 9. 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

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

/* ---------- 10. 移动端与响应式 ---------- */
@media (max-width: 1023px) {
  body {
    margin-left: 0;
  }

  .site-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 3px solid var(--primary-gold);
    background: var(--primary-deep-blue);
  }

  .site-header::after,
  .header-progress {
    display: none;
  }

  .header-inner {
    position: relative;
    z-index: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    min-height: 68px;
    overflow: visible;
  }

  .brand-mark svg {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.18rem;
  }

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

  .header-cta {
    margin-left: auto;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
  }

  .cta-dot,
  .cta-arrow {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: min(86vw, 420px);
    flex: none;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 5.5rem 1.5rem 2rem;
    background: var(--primary-deep-blue);
    border-left: 4px solid var(--primary-gold);
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }

  .site-nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s ease, visibility 0s;
  }

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

  .footer-block-brand {
    grid-column: 1 / -1;
  }
}

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

  .footer-block-brand {
    grid-column: auto;
  }

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

@media (max-width: 479px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .brand-sub {
    display: none;
  }

  .header-inner {
    padding: 0.55rem 0.85rem;
  }

  .brand-mark svg {
    width: 32px;
    height: 32px;
  }
}

@media (min-width: 1024px) {
  body {
    margin-left: var(--header-width);
  }

  #main-content {
    scroll-margin-top: 0;
  }
}

/* 抽屉遮罩与滚动锁定 */
body[data-nav-open] {
  overflow: hidden;
}

@media (max-width: 1023px) {
  body[data-nav-open]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(11, 30, 58, 0.62);
  }
}

@media (min-width: 1024px) {
  body[data-nav-open] {
    overflow: auto;
  }

  body[data-nav-open]::before {
    display: none;
  }
}

/* ---------- 11. 动效偏好 ---------- */
@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;
    transition-delay: 0s !important;
  }

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