/* =========================================================
   谈球吧主站 · 共享样式 /assets/site.css
   夜场数据看台 · 深蓝 + 草皮绿 + 信号橙
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration-thickness: .06em; text-underline-offset: .2em; }
:target { scroll-margin-top: 140px; }
#main-content { scroll-margin-top: 140px; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 色彩 */
  --night: #0B1B2B;
  --night-2: #16324A;
  --pitch: #1FA85C;
  --pitch-deep: #12724A;
  --pitch-soft: #D9F2E3;
  --signal: #FF6B2C;
  --score: #FFD24A;
  --cyan: #45E0CE;
  --paper: #F5F2E9;
  --ink: #0A0E12;
  --haze: #7C8B99;

  --text: var(--ink);
  --text-soft: #46586A;
  --on-dark: var(--paper);
  --on-dark-soft: rgba(245, 242, 233, .7);
  --hair-dark: rgba(11, 27, 43, .12);
  --hair-light: rgba(69, 224, 206, .18);

  /* 字体 */
  --font-display: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: var(--font-display);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* 尺寸 */
  --w: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-pill: 999px;
  --tick: 12px;

  /* 动效 */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur: 220ms;
  --shadow-1: 0 12px 26px -18px rgba(10, 14, 18, .65);
  --shadow-2: 0 26px 52px -28px rgba(10, 14, 18, .85);
}

/* ---------- 3. 基础排版 ---------- */
body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.display-1 { font-size: clamp(44px, 7vw, 88px); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; transform: skewX(-3deg); transform-origin: left center; }
.display-2 { font-size: clamp(32px, 5vw, 64px); font-weight: 900; letter-spacing: -.025em; }
.display-3 { font-size: clamp(24px, 3.2vw, 44px); font-weight: 900; }
.heading-4 { font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; }
.body-lg { font-size: 18px; line-height: 1.75; }
.lede { font-size: 18px; line-height: 1.8; color: var(--text-soft); max-width: 62ch; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pitch-deep);
}
.eyebrow::before { content: ""; width: var(--tick); height: 2px; background: currentColor; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pitch-deep);
}
.label::before { content: ""; width: var(--tick); height: 2px; background: currentColor; border-radius: 2px; }

.band--dark .label, .band--slate .label, .site-footer .label { color: var(--cyan); }

a:hover { color: var(--pitch-deep); }
.band--dark a:hover, .band--slate a:hover { color: var(--score); }

/* ---------- 4. 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: clamp(48px, 7vw, 96px); }
.band--paper { background: var(--paper); color: var(--ink); }
.band--mint { background: var(--pitch-soft); color: var(--ink); }
.band--dark { background: var(--night); color: var(--paper); }
.band--slate { background: var(--night-2); color: var(--paper); }
.band--dark h1, .band--dark h2, .band--dark h3, .band--dark h4,
.band--slate h1, .band--slate h2, .band--slate h3, .band--slate h4 { color: var(--paper); }
.band--dark .lede, .band--slate .lede { color: var(--on-dark-soft); }

.grid { display: grid; gap: 24px; }
.grid--7-5 { grid-template-columns: 7fr 5fr; align-items: start; }
.grid--5-7 { grid-template-columns: 5fr 7fr; align-items: start; }
.grid--halves { grid-template-columns: 1fr 1fr; }
.grid--three { grid-template-columns: repeat(3, 1fr); }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--gap-lg { gap: clamp(24px, 4vw, 48px); }

.offset--24 { margin-top: 24px; }
.offset--48 { margin-top: 48px; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: #ff7f48; color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(255, 107, 44, .95); }
.btn--dark { background: var(--night); color: var(--paper); }
.btn--dark:hover { background: var(--night-2); color: var(--paper); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: currentColor; border-color: rgba(11, 27, 43, .22); }
.btn--ghost:hover { border-color: var(--pitch); color: var(--pitch-deep); }
.band--dark .btn--ghost, .band--slate .btn--ghost { border-color: rgba(245, 242, 233, .28); color: var(--paper); }
.band--dark .btn--ghost:hover, .band--slate .btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--sm { padding: 9px 16px; font-size: 13px; }

/* ---------- 6. 卡片 / 标签 / 数据 ---------- */
.card {
  position: relative;
  display: block;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--hair-dark);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.6vw, 32px);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
a.card:hover, .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card--dark { background: var(--night-2); color: var(--paper); border-color: var(--hair-light); }
.card--dark:hover { border-color: rgba(69, 224, 206, .4); }
.card--ticked { overflow: hidden; }
.card--ticked::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 12px;
  background: repeating-linear-gradient(90deg, rgba(11, 27, 43, .22) 0 1px, transparent 1px 8px);
  opacity: .8;
  pointer-events: none;
}
.card--dark.card--ticked::before { background: repeating-linear-gradient(90deg, rgba(69, 224, 206, .38) 0 1px, transparent 1px 8px); }
.card__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--haze);
  margin-bottom: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-pill);
  padding: 6px 14px;
  background: var(--pitch-soft);
  color: var(--pitch-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}
.pill--signal { background: rgba(255, 107, 44, .14); color: #B03D0C; }
.pill--dark { background: rgba(69, 224, 206, .12); color: var(--cyan); }

.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--night);
}
.band--dark .stat__value, .band--slate .stat__value { color: var(--score); }
.stat__label { font-size: 14px; color: var(--haze); }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(255, 107, 44, .22);
  display: inline-block;
  flex: 0 0 auto;
}

/* ---------- 7. 图片容器（供页面阶段放置占位） ---------- */
.figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(69, 224, 206, .16) 0%, transparent 60%),
    linear-gradient(160deg, var(--night) 0%, var(--night-2) 58%, #0d2a24 100%);
  border: 1px solid var(--hair-light);
}
.figure__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure--wide { aspect-ratio: 16 / 9; }
.figure--cinema { aspect-ratio: 21 / 9; }
.figure--portrait { aspect-ratio: 4 / 5; }
.figure--square { aspect-ratio: 1 / 1; }
.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(69, 224, 206, .1) 0 1px, transparent 1px 22px);
  opacity: .75;
  pointer-events: none;
}
.figure__plate {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-pill);
  padding: 7px 14px;
  background: rgba(11, 27, 43, .82);
  border: 1px solid rgba(69, 224, 206, .3);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  backdrop-filter: blur(6px);
}
.figure__plate b { color: var(--score); font-weight: 700; }
.figure__caption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--haze);
}

/* ---------- 8. 分段切换（标签页） ---------- */
.segment { display: block; }
.segment__list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: var(--r-pill);
  background: rgba(11, 27, 43, .07);
}
.band--dark .segment__list, .band--slate .segment__list { background: rgba(245, 242, 233, .1); }
.segment__tab {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--night);
  background: transparent;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), font-weight var(--dur) var(--ease);
}
.band--dark .segment__tab, .band--slate .segment__tab { color: var(--on-dark-soft); }
.segment__tab:hover { background: rgba(31, 168, 92, .16); color: var(--pitch-deep); }
.band--dark .segment__tab:hover, .band--slate .segment__tab:hover { background: rgba(69, 224, 206, .14); color: var(--cyan); }
.segment__tab[aria-selected="true"] {
  background: var(--pitch);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 18px -12px rgba(18, 114, 74, .9);
}
.segment__panel { margin-top: 24px; }
.segment__panel[hidden] { display: none; }

/* ---------- 9. 面包屑 / 正文 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--haze);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--pitch-deep); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep { color: var(--haze); opacity: .7; }
.band--dark .breadcrumb, .band--slate .breadcrumb { color: rgba(245, 242, 233, .6); }
.band--dark .breadcrumb a, .band--slate .breadcrumb a { color: var(--cyan); }

.prose { max-width: 72ch; color: var(--text-soft); }
.prose h2 { font-size: 24px; margin: 32px 0 12px; color: var(--ink); }
.prose h3 { font-size: 18px; margin: 24px 0 8px; color: var(--ink); }
.prose p { margin-bottom: 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }

/* ---------- 10. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  color: var(--paper);
  background: linear-gradient(180deg, #0B1B2B 0%, #0B1B2B 74%, rgba(11, 27, 43, .94) 88%, rgba(11, 27, 43, 0) 100%);
  padding-bottom: 14px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--score);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus, .skip-link:focus-visible { top: 12px; color: var(--ink); }

/* 赛程条 */
.ticker {
  background: linear-gradient(90deg, rgba(11, 27, 43, .99) 0%, rgba(22, 50, 74, .96) 100%);
  border-bottom: 1px solid rgba(31, 168, 92, .42);
}
.ticker__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--w);
  margin-inline: auto;
  padding: 8px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.ticker__inner::-webkit-scrollbar { display: none; }
.ticker__tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--score);
}
.ticker__tag::before { content: ""; width: var(--tick); height: 2px; background: currentColor; }
.ticker__list { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--on-dark-soft);
}
.ticker__item + .ticker__item::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: .75;
}
.ticker__time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  letter-spacing: 0;
}

/* 悬浮胶囊浮岛 */
.nav-island { padding: 10px var(--gutter) 0; }
.nav-island__shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  max-width: var(--w);
  margin-inline: auto;
  padding: 8px 8px 8px 18px;
  border-radius: var(--r-pill);
  background: rgba(11, 27, 43, .94);
  border: 1px solid rgba(69, 224, 206, .2);
  box-shadow: 0 22px 46px -26px rgba(4, 10, 16, .95);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--paper);
}
.brand:hover { color: var(--paper); }
.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: linear-gradient(150deg, var(--pitch) 0%, var(--pitch-deep) 100%);
  transform: skewX(-6deg);
  box-shadow: inset 0 0 0 1px rgba(217, 242, 227, .35);
}
.brand__mark span {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--score);
  box-shadow: 6px -6px 0 -3px rgba(245, 242, 233, .55);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 16px; font-weight: 900; letter-spacing: .01em; }
.brand__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(217, 242, 227, .78);
}

.nav { display: block; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__link {
  display: block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: rgba(245, 242, 233, .78);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__link:hover { background: rgba(31, 168, 92, .22); color: var(--paper); }
.nav__link[aria-current="page"] {
  background: var(--pitch-soft);
  color: var(--pitch-deep);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(18, 114, 74, .28);
}

.nav-island__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: 0 0 auto; }
.ghost-link {
  padding: 6px 10px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(245, 242, 233, .72);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.ghost-link:hover { color: var(--cyan); background: rgba(69, 224, 206, .1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(245, 242, 233, .28);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle__bars { display: flex; flex-direction: column; gap: 3px; width: 16px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle__label { letter-spacing: .04em; }
.site-header[data-open] .nav-toggle { border-color: var(--cyan); color: var(--cyan); }
.site-header[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(69, 224, 206, .14);
  pointer-events: none;
  z-index: 4;
}
.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--pitch) 0%, var(--cyan) 55%, var(--score) 100%);
}

/* ---------- 11. 页脚 ---------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(90% 120% at 10% 0%, rgba(31, 168, 92, .16) 0%, transparent 58%),
    linear-gradient(180deg, #0B1B2B 0%, #0A1622 100%);
  color: var(--paper);
  overflow: hidden;
}
.footer__rail {
  height: 6px;
  background: linear-gradient(90deg, var(--pitch-deep) 0%, var(--pitch) 42%, var(--cyan) 74%, var(--score) 100%);
  opacity: .85;
}
.footer__inner {
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: clamp(40px, 6vw, 72px) 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.footer__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--cyan);
  margin-bottom: 14px;
}
.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.05;
  transform: skewX(-4deg);
  transform-origin: left center;
  margin-bottom: 10px;
}
.footer__tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--score);
  margin-bottom: 12px;
}
.footer__note { font-size: 14px; line-height: 1.75; max-width: 40ch; color: var(--on-dark-soft); }

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245, 242, 233, .55);
  margin-bottom: 14px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(245, 242, 233, .78);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.footer__link::before {
  content: "";
  width: 8px;
  height: 1px;
  background: var(--pitch);
  transition: width var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.footer__link:hover { color: var(--score); }
.footer__link:hover::before { width: 18px; background: var(--score); }

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid rgba(31, 168, 92, .3);
}
.footer__contact {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: .02em;
  color: rgba(245, 242, 233, .66);
  max-width: 78ch;
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(69, 224, 206, .34);
  background: transparent;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.to-top:hover { background: rgba(69, 224, 206, .14); border-color: var(--cyan); }
.to-top::before { content: "↑"; font-size: 13px; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(124, 139, 153, .95);
}
.footer__legal-line { margin: 0; }

/* ---------- 12. 显现 / 焦点 / 减弱动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
.band--mint :focus-visible, .band--paper :focus-visible { outline-color: var(--pitch-deep); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .card:hover, a.card:hover, .btn:hover { transform: none; }
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1080px) {
  .ghost-link { display: none; }
  .nav__link { padding: 8px 11px; font-size: 14px; }
}

@media (max-width: 980px) {
  .grid--7-5, .grid--5-7, .grid--halves, .grid--three { grid-template-columns: 1fr; }
  .offset--24, .offset--48 { margin-top: 0; }

  .nav-island { padding-top: 8px; }
  .nav-island__shell { border-radius: var(--r-lg); padding: 8px 10px 8px 14px; gap: 10px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    z-index: 30;
    padding: 10px;
    border-radius: var(--r-lg);
    background: rgba(11, 27, 43, .99);
    border: 1px solid rgba(69, 224, 206, .24);
    box-shadow: var(--shadow-2);
    backdrop-filter: blur(16px);
  }
  .site-header[data-open] .nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link { padding: 12px 16px; border-radius: var(--r-md); font-size: 15px; }
  .nav__link[aria-current="page"] { background: var(--pitch); color: #04140C; box-shadow: none; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .display-1 { transform: none; }
  .btn { padding: 12px 18px; font-size: 14px; }
  .btn--sm { padding: 9px 13px; font-size: 13px; }
  .nav-island__actions .btn--sm { padding: 9px 12px; }
  .brand__mark { width: 32px; height: 32px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__meta { flex-direction: column; align-items: flex-start; }
  .ticker__item { font-size: 12px; }
  .segment__list { width: 100%; justify-content: space-between; }
  .segment__tab { flex: 1 1 auto; padding: 10px 12px; }
}

@media (max-width: 460px) {
  .brand__status { display: none; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 9px 12px; }
  .footer__legal { font-size: 12px; }
}
