/* ==========================================================================
   谈球吧看台 · /assets/site.css
   共享外壳：重置 / 变量 / 中文排版 / 头部 / 页脚 / 基础组件
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
table { width: 100%; border-collapse: collapse; }
:focus { outline: none; }
:focus-visible { outline: 2px solid #3DF08A; outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none; }

/* ---------- 2. 变量 ---------- */
:root {
  --night: #0A0E2A;
  --stand: #141A3C;
  --pulse: #3DF08A;
  --score: #FF5A2A;
  --lake: #2BA8C4;
  --flag: #F2C24B;
  --ash: #A8B0C8;
  --ink: #D7DCF0;
  --headline: #F5F7FF;
  --edge: #2C3358;
  --edge-soft: rgba(44, 51, 88, .5);
  --glow-green: rgba(61, 240, 138, .45);
  --glow-lake: rgba(43, 168, 196, .4);
  --panel: rgba(20, 26, 60, .55);
  --panel-strong: rgba(20, 26, 60, .85);
  --shadow-soft: 0 1px 0 rgba(245, 247, 255, .02), 0 18px 40px -34px rgba(0, 0, 0, .95);

  --font-head: "Barlow Condensed", "Oswald", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "Noto Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1200px;
  --wrap-wide: 1440px;
  --gutter: clamp(18px, 4vw, 56px);
  --head-row: 96px;
  --ticker-h: 28px;
  --header-h: calc(var(--head-row) + var(--ticker-h));
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 中文排版与页面底色 ---------- */
body {
  min-height: 100vh;
  background-color: var(--night);
  background-image:
    radial-gradient(1100px 560px at 84% -10%, rgba(61, 240, 138, .075), transparent 62%),
    radial-gradient(880px 520px at 2% 4%, rgba(43, 168, 196, .075), transparent 66%),
    linear-gradient(180deg, #0A0E2A 0%, #0B1132 46%, #0A0E2A 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--headline);
}
h1 { font-size: clamp(40px, 6vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: clamp(22px, 2.4vw, 26px); font-weight: 700; }
h4 { font-size: 19px; font-weight: 700; }
p { max-width: 82ch; }
strong, b { font-weight: 700; color: var(--headline); }
::selection { background: var(--pulse); color: #04121F; }
.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.muted { color: var(--ash); font-size: 14.5px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.rule { height: 1px; border: 0; background: var(--edge); }

/* ---------- 4. 版心与栅格 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: var(--wrap-wide); }
main { display: block; min-height: 50vh; }
#main-content { scroll-margin-top: calc(var(--header-h) + 16px); }
.under-header { padding-top: calc(var(--header-h) + clamp(24px, 5vw, 64px)); }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding: clamp(28px, 4vw, 52px) 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.grid-12 > * { grid-column: span 12; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }

.prose { max-width: 74ch; }
.prose > * + * { margin-top: 1em; }
.prose a, .link {
  color: var(--lake);
  border-bottom: 1px solid rgba(43, 168, 196, .45);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.prose a:hover, .link:hover { color: var(--pulse); border-bottom-color: var(--glow-green); }

.section-head { display: grid; gap: 12px; margin-bottom: clamp(20px, 3vw, 34px); }
.section-head__title { font-size: clamp(24px, 3vw, 34px); }
.section-head__note { color: var(--ash); font-size: 15px; max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--lake);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .75; }

.page-head {
  padding: calc(var(--header-h) + clamp(28px, 5vw, 72px)) 0 clamp(22px, 3vw, 40px);
  border-bottom: 1px solid var(--edge);
}
.page-head h1 { margin-top: 16px; }

.band {
  border-block: 1px solid var(--edge);
  background: linear-gradient(90deg, rgba(20, 26, 60, .72), rgba(10, 14, 42, .18));
}
.band__inner {
  max-width: var(--wrap-wide); margin-inline: auto;
  padding: clamp(20px, 3vw, 34px) var(--gutter);
  display: grid; gap: 18px;
}

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  transform: translateY(-180%);
  background: var(--pulse); color: #04121F;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 10px 18px; border-radius: var(--radius);
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 6. 头部 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 14, 42, .92), rgba(10, 14, 42, 0));
  transition: opacity .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(10, 14, 42, .95);
  border-bottom-color: var(--edge);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header.is-stuck::before { opacity: 0; }
.site-header.is-stuck { --head-row: 64px; }

.header-bar { height: var(--head-row); transition: height .3s var(--ease); }
.header-inner {
  max-width: var(--wrap-wide); height: 100%; margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: clamp(14px, 2vw, 36px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  position: relative; flex: 0 0 auto;
  width: 26px; height: 26px; border-radius: 3px;
  background: var(--pulse);
  box-shadow: 0 0 20px -4px var(--glow-green);
}
.brand-mark::after {
  content: ""; position: absolute; inset: 7px;
  background: var(--night); border-radius: 1px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.06; }
.brand-name {
  font-family: var(--font-head); font-weight: 800; font-size: 22px;
  letter-spacing: .02em; color: var(--headline);
  transition: font-size .3s var(--ease);
}
.site-header.is-stuck .brand-name { font-size: 19px; }
.brand-sub {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  color: var(--ash); text-transform: uppercase;
}

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(6px, 1.4vw, 20px); }
.nav-list a {
  position: relative; display: inline-block; padding: 8px 4px;
  font-family: var(--font-head); font-weight: 700; font-size: 16.5px;
  letter-spacing: .02em; color: var(--ash);
  transition: color .2s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 2px;
  background: var(--pulse); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-list a:hover { color: var(--headline); }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--headline); }
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
  box-shadow: 0 0 12px -1px var(--glow-green);
}
.nav-cta { display: none; }

.header-side { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.version-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border: 1px solid var(--edge); border-radius: 999px;
  background: var(--panel);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--ash);
  white-space: nowrap;
}
.version-chip__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--pulse);
  animation: breathe 2.4s ease-in-out infinite;
}
.header-link {
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ash);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.header-link:hover { color: var(--pulse); border-bottom-color: var(--glow-green); }

.nav-toggle {
  display: none; align-items: center; gap: 9px;
  padding: 10px 14px; border: 1px solid var(--edge); border-radius: var(--radius);
  background: var(--panel);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; color: var(--ash);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--pulse); color: var(--headline); }
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px;
  background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle__bars::before { top: 3px; }
.nav-toggle__bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 5.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 5.5px; transform: rotate(-45deg); }

.header-ticker {
  position: relative; height: var(--ticker-h);
  display: flex; align-items: center; overflow: hidden;
  border-top: 1px solid var(--edge);
  background: rgba(10, 14, 42, .6);
}
.header-ticker::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 60px; z-index: 2;
  background: linear-gradient(90deg, var(--night), rgba(10, 14, 42, 0));
  pointer-events: none;
}
.ticker-track {
  display: flex; align-items: center; white-space: nowrap;
  animation: tickerMove 42s linear infinite;
  will-change: transform;
}
.header-ticker:hover .ticker-track,
.header-ticker:focus-within .ticker-track,
.header-ticker[data-paused] .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ash);
}
.ticker-item b {
  font-weight: 500; color: var(--lake);
  border-right: 1px solid var(--edge); padding-right: 8px;
}
.ticker-item--live { color: var(--pulse); }
.ticker-item--live b { color: var(--pulse); }
.ticker-pause {
  position: absolute; right: 0; top: 0; bottom: 0; z-index: 3;
  padding: 0 16px 0 26px;
  background: linear-gradient(90deg, rgba(10, 14, 42, 0), var(--night) 42%);
  border-left: 1px solid var(--edge);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--ash);
  cursor: pointer;
}
.ticker-pause:hover { color: var(--headline); }
.ticker-pause[aria-pressed="true"] { color: var(--flag); }

@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes breathe {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 120px);
  border-top: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(20, 26, 60, .38), rgba(10, 14, 42, 1) 62%);
}
.footer-inner {
  max-width: var(--wrap-wide); margin-inline: auto;
  padding: clamp(36px, 6vw, 76px) var(--gutter) clamp(20px, 3vw, 36px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 46px);
}
.footer-brand { grid-column: span 5; display: grid; gap: 16px; align-content: start; }
.brand--footer .brand-name { font-size: 26px; }
.brand--footer .brand-mark { width: 30px; height: 30px; }
.footer-tagline { color: var(--ash); font-size: 15px; max-width: 34ch; }
.footer-sign {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(52px, 7vw, 96px); line-height: .86; letter-spacing: .06em;
  color: #141A3C; -webkit-text-stroke: 1px #2C3358;
  user-select: none; margin-top: 6px;
}
.footer-channels {
  grid-column: span 7; display: grid;
  grid-template-columns: 2fr 3fr 2fr; gap: clamp(18px, 2.6vw, 40px);
}
.channel-title {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--lake);
  margin-bottom: 14px;
}
.channel-list { display: grid; gap: 9px; }
.channel-list a {
  display: inline-block; padding: 2px 0; color: var(--ash); font-size: 15px;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.channel-list a:hover { color: var(--pulse); border-bottom-color: var(--glow-green); }
.footer-contact {
  grid-column: span 12; border-top: 1px solid var(--edge); padding-top: clamp(18px, 2vw, 26px);
}
.contact-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px clamp(18px, 2.4vw, 40px);
}
.contact-item { display: grid; gap: 4px; }
.contact-item dt {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ash);
}
.contact-item dd {
  font-family: var(--font-mono); font-size: 13.5px; color: var(--ink);
  word-break: break-word; line-height: 1.6;
}
.footer-base {
  max-width: var(--wrap-wide); margin-inline: auto;
  padding: 18px var(--gutter) 36px;
  border-top: 1px solid var(--edge);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 28px;
  font-size: 13px; color: var(--ash);
}
.footer-note { max-width: 62ch; margin: 0; }
.footer-icp { font-family: var(--font-mono); letter-spacing: .08em; color: var(--ash); }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border: 1px solid var(--edge); border-radius: var(--radius);
  background: transparent; color: var(--headline);
  font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: .02em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .22s var(--ease), border-color .22s var(--ease),
              color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--pulse); border-color: var(--pulse); color: #04121F;
}
.btn--primary:hover { box-shadow: 0 0 28px -6px var(--glow-green); }
.btn--score { background: var(--score); border-color: var(--score); color: #1A0700; }
.btn--score:hover { box-shadow: 0 0 28px -6px rgba(255, 90, 42, .6); }
.btn--ghost { border-color: var(--edge); color: var(--ash); }
.btn--ghost:hover { border-color: var(--pulse); color: var(--headline); }
.btn--sm { padding: 8px 15px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 9. 面包屑 ---------- */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ash);
}
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: var(--edge); }
.crumbs a { color: var(--ash); border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--pulse); border-bottom-color: var(--glow-green); }
.crumbs [aria-current="page"] { color: var(--headline); }

/* ---------- 10. 基础组件 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 26px);
  background: linear-gradient(180deg, rgba(20, 26, 60, .85), rgba(20, 26, 60, .42));
  border: 1px solid var(--edge); border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: rgba(61, 240, 138, .42); }
.card--accent::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--pulse); border-radius: var(--radius) 0 0 var(--radius);
}
.card__title { font-size: clamp(19px, 2vw, 23px); }
.card__meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ash);
}
.card__text { margin-top: 10px; color: var(--ink); font-size: 15.5px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border: 1px solid var(--edge); border-radius: 2px;
  background: rgba(10, 14, 42, .6);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ash);
}
.tag--flag { color: var(--flag); border-color: rgba(242, 194, 75, .4); }
.tag--lake { color: var(--lake); border-color: rgba(43, 168, 196, .4); }

.status {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px; border: 1px solid var(--edge); border-radius: 999px;
  background: rgba(10, 14, 42, .6);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ash);
}
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.status--live { color: var(--pulse); border-color: rgba(61, 240, 138, .38); }
.status--live .status__dot { animation: breathe 2.4s ease-in-out infinite; }
.status--archived { color: var(--ash); }
.status--pending { color: var(--flag); border-color: rgba(242, 194, 75, .38); }
.status--check { color: var(--score); border-color: rgba(255, 90, 42, .42); }

.info-bar {
  display: flex; flex-wrap: wrap; overflow: hidden;
  border: 1px solid var(--edge); border-radius: var(--radius);
  background: var(--panel);
}
.info-bar__cell {
  flex: 1 1 170px; display: grid; gap: 4px;
  padding: 14px 18px; border-right: 1px solid var(--edge);
}
.info-bar__cell:last-child { border-right: 0; }
.info-bar__key {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ash);
}
.info-bar__val { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--headline); }

.media {
  position: relative; display: block; overflow: hidden;
  border: 1px solid var(--edge); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(43, 168, 196, .12), rgba(10, 14, 42, .65) 46%, rgba(61, 240, 138, .1));
}
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(215, 220, 240, .05) 0 1px, transparent 1px 3px);
  opacity: .75;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media__label {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  padding: 3px 9px; border: 1px solid var(--edge); border-radius: 2px;
  background: rgba(10, 14, 42, .8);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ash);
}

.timeline { position: relative; display: grid; gap: 26px; padding-left: 26px; border-left: 1px solid var(--edge); }
.timeline__item { position: relative; }
.timeline__item::before {
  content: ""; position: absolute; left: -30px; top: 9px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--night); border: 1px solid var(--edge);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.timeline__item.is-active::before {
  background: var(--pulse); border-color: var(--pulse);
  box-shadow: 0 0 0 4px rgba(61, 240, 138, .16);
}

.callout {
  padding: 16px 20px; border: 1px solid var(--edge); border-left: 3px solid var(--lake);
  border-radius: 2px; background: rgba(20, 26, 60, .5); font-size: 15.5px;
}
.callout--flag { border-left-color: var(--flag); }
.callout--score { border-left-color: var(--score); }

.stat { display: grid; gap: 2px; }
.stat__value {
  font-family: var(--font-mono); font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1; letter-spacing: -.02em; color: var(--headline);
}
.stat__label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ash);
}

/* ---------- 11. 筛选 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid var(--edge); border-radius: 999px;
  background: var(--panel); color: var(--ash); cursor: pointer;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.filter-btn:hover { color: var(--headline); border-color: var(--lake); }
.filter-btn[aria-pressed="true"] {
  background: var(--pulse); border-color: var(--pulse); color: #04121F;
  box-shadow: 0 0 20px -8px var(--glow-green);
}
.filter-count { font-size: 11.5px; opacity: .7; }
[data-filter-item][hidden] { display: none; }
.filter-empty { margin-top: 18px; color: var(--ash); font-size: 14.5px; }
.filter-empty[hidden] { display: none; }

/* ---------- 12. 阅读灯带与显现 ---------- */
.read-rail {
  position: fixed; top: 0; right: 0; z-index: 60;
  width: 3px; height: 100vh; pointer-events: none;
  background: rgba(44, 51, 88, .45);
}
.read-rail__fill {
  display: block; width: 100%; height: 0;
  background: linear-gradient(180deg, var(--pulse), var(--lake));
  box-shadow: 0 0 12px rgba(61, 240, 138, .5);
  transition: height .12s linear;
}
[data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.pulse { animation: breathe 2.4s ease-in-out infinite; }

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1280px) {
  .header-link { display: none; }
}
@media (max-width: 1120px) {
  .header-side .btn { display: none; }
  .nav-list { gap: 8px; }
  .nav-list a { font-size: 15.5px; padding: 6px 2px; }
}
@media (max-width: 1120px) and (min-width: 961px) {
  .brand-sub { display: none; }
}
@media (max-width: 1024px) {
  .footer-brand { grid-column: span 12; }
  .footer-channels { grid-column: span 12; grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --head-row: 72px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; left: 0; right: 0; top: var(--head-row);
    max-height: calc(100vh - var(--head-row)); overflow-y: auto;
    margin-left: 0;
    padding: 14px var(--gutter) 28px;
    background: rgba(10, 14, 42, .985);
    border-top: 1px solid var(--edge);
    border-bottom: 1px solid var(--edge);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s var(--ease);
  }
  .primary-nav[data-open] { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    font-size: 18px; padding: 15px 4px;
    border-bottom: 1px solid var(--edge-soft);
  }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"] { color: var(--pulse); }
  .nav-cta { display: block; margin-top: 14px; }
  .nav-cta .btn { border-bottom: 0; }
  .grid-12 > *,
  .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10 { grid-column: span 12; }
  .grid-12[data-keep="4"] > .col-6 { grid-column: span 6; }
}
@media (max-width: 720px) {
  :root { --ticker-h: 0px; }
  .header-ticker { display: none; }
  .read-rail { display: none; }
  body { font-size: 16.5px; }
  .footer-channels { grid-template-columns: 1fr 1fr; }
  .footer-base { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .version-chip { display: none; }
  .footer-channels { grid-template-columns: 1fr; }
  .info-bar__cell { border-right: 0; border-bottom: 1px solid var(--edge); }
  .info-bar__cell:last-child { border-bottom: 0; }
}

/* ---------- 14. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ticker-track { animation: none; }
  .header-ticker { overflow-x: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .read-rail__fill { transition: none; }
  .btn:hover { transform: none; }
}
