/* 壹趣体育 · 共享样式表 /assets/site.css */

:root {
  --ink-900: #0A1F19;
  --ink-700: #123127;
  --ink-500: #1E5343;
  --cyan: #5BF2CE;
  --amber: #FF8A3D;
  --paper: #F1F0EA;
  --card: #E4E3DC;
  --char: #14181A;
  --muted: #7C837E;
  --hair: #C9CCC3;

  --shell: 1240px;
  --rail: 264px;

  --font-sans: system-ui, -apple-system, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --dur-fast: 120ms;
  --dur-base: 240ms;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --shadow-1: 0 1px 2px rgba(10, 31, 25, .06), 0 10px 26px -20px rgba(10, 31, 25, .38);
  --shadow-2: 0 24px 44px -30px rgba(0, 0, 0, .75);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--char);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(20, 24, 26, .045) 1px, transparent 1px),
    radial-gradient(rgba(20, 24, 26, .028) 1px, transparent 1px);
  background-size: 9px 9px, 15px 15px;
  background-position: 0 0, 4px 7px;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
  color: inherit;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

a { color: inherit; }

button { font: inherit; color: inherit; }

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

.site-head :focus-visible,
.site-foot :focus-visible,
.dossier :focus-visible,
.panel--dark :focus-visible,
.section--ink :focus-visible {
  outline-color: var(--cyan);
}

.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: absolute;
  left: -9999px;
  top: 0;
  z-index: 120;
  padding: 12px 18px;
  background: var(--cyan);
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  border-radius: 0 0 2px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 容器与分区 ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}

.section {
  position: relative;
  padding-block: clamp(40px, 6vw, 88px);
}
.section--paper { background: var(--paper); }
.section--card { background: var(--card); }
.section--ink { background: var(--ink-900); color: var(--paper); }

/* ---------- 排版原子 ---------- */

.display {
  margin: 0;
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 200;
  line-height: .94;
  letter-spacing: -.04em;
  color: var(--ink-900);
}
.display--tight { letter-spacing: -.052em; }
.section--ink .display { color: var(--paper); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

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

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--hair);
  border-radius: 2px;
  background: transparent;
  color: var(--char);
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--solid {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--paper);
}
.btn--solid:hover { background: var(--ink-700); border-color: var(--ink-700); }
.btn--accent {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
  font-weight: 700;
}
.btn--accent:hover { background: #7cf7da; border-color: #7cf7da; }
.btn--ghost {
  background: transparent;
  border-color: rgba(201, 204, 195, .38);
  color: var(--paper);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- 顶栏 / 命令栏 ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink-900);
  color: var(--paper);
  border-bottom: 1px solid rgba(201, 204, 195, .16);
}

.cmd-bar { border-bottom: 1px solid rgba(201, 204, 195, .12); }

.cmd-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  min-height: 64px;
  padding-block: 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  padding: 8px 0;
  color: var(--paper);
  text-decoration: none;
}

.brand__mark {
  position: relative;
  width: 10px;
  height: 26px;
  flex: none;
  background: var(--cyan);
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(91, 242, 206, .25);
}
.brand__mark::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 11px;
  height: 2px;
  background: var(--ink-900);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.cmd-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-right: clamp(8px, 1.4vw, 18px);
  border-right: 1px solid rgba(201, 204, 195, .16);
  white-space: nowrap;
}
.cmd-meta__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.cmd-meta__val {
  font-size: 13px;
  color: var(--cyan);
}

.cmd-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.cmd-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 10px 12px;
  font-size: 14px;
  color: rgba(241, 240, 234, .72);
  text-decoration: none;
  border-radius: 2px;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.cmd-nav__link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-fast) var(--ease);
}
.cmd-nav__link:hover {
  color: var(--paper);
  background: rgba(91, 242, 206, .08);
}
.cmd-nav__link[aria-current="page"] {
  color: #FFFFFF;
  font-weight: 600;
}
.cmd-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.cmd-nav__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}

.cmd-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dossier-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--paper);
  background: rgba(91, 242, 206, .08);
  border: 1px solid rgba(91, 242, 206, .35);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.dossier-btn:hover { background: rgba(91, 242, 206, .16); border-color: var(--cyan); }
.dossier-btn[aria-expanded="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(201, 204, 195, .35);
  border-radius: 2px;
  cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle__bars {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 10px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-fast) var(--ease), top var(--dur-fast) var(--ease),
              bottom var(--dur-fast) var(--ease);
}
.nav-toggle__bars::before { top: 1px; }
.nav-toggle__bars::after { bottom: 1px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { bottom: 4px; transform: rotate(-45deg); }

/* ---------- 赛季轴 ---------- */

.season-axis-wrap {
  background-color: var(--ink-700);
  background-image: repeating-linear-gradient(90deg, rgba(201, 204, 195, .13) 0 1px, transparent 1px 44px);
  border-bottom: 1px solid rgba(201, 204, 195, .16);
}

.season-axis__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
}

.season-axis__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.season-axis {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-height: 40px;
  padding-block: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  touch-action: pan-x;
  cursor: grab;
}
.season-axis.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.season-axis::-webkit-scrollbar { height: 4px; }
.season-axis::-webkit-scrollbar-thumb { background: rgba(201, 204, 195, .3); border-radius: 2px; }

.season-axis__pending {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(241, 240, 234, .5);
  white-space: nowrap;
}

.season-chip {
  appearance: none;
  padding: 6px 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(241, 240, 234, .6);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.season-chip:hover {
  color: var(--paper);
  border-color: rgba(201, 204, 195, .3);
}
.season-chip[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
  font-weight: 700;
}

/* ---------- 滚动进度 ---------- */

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(201, 204, 195, .12);
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* ---------- 帮助文档折叠面板 ---------- */

.dossier {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
}
.dossier[data-open="true"] {
  visibility: visible;
  pointer-events: auto;
}

.dossier__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 25, .55);
  opacity: 0;
  cursor: pointer;
  transition: opacity var(--dur-base) var(--ease);
}
.dossier[data-open="true"] .dossier__scrim { opacity: 1; }

.dossier__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(420px, 92vw);
  height: 100%;
  padding: clamp(20px, 4vw, 28px);
  overflow-y: auto;
  background: var(--ink-900);
  color: var(--paper);
  border-left: 1px solid rgba(201, 204, 195, .2);
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translateX(14px);
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.dossier[data-open="true"] .dossier__panel {
  opacity: 1;
  transform: none;
}

.dossier__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201, 204, 195, .18);
}
.dossier__head .panel__index { grid-column: 1 / -1; }

.dossier__title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.dossier__close {
  grid-column: 2;
  grid-row: 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(201, 204, 195, .32);
  border-radius: 2px;
  cursor: pointer;
}
.dossier__close:hover { border-color: var(--cyan); color: var(--cyan); }

.dossier__lead {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(241, 240, 234, .7);
}

.dossier__list {
  display: grid;
  gap: 12px;
}

.dossier__item {
  display: grid;
  gap: 4px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(201, 204, 195, .16);
}
.dossier__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.dossier__val {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(241, 240, 234, .82);
}

.dossier__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

/* ---------- 页脚 ---------- */

.site-foot {
  position: relative;
  padding-block: clamp(36px, 5vw, 68px) 22px;
  background: var(--ink-900);
  color: rgba(241, 240, 234, .78);
  border-top: 1px solid rgba(201, 204, 195, .16);
}
.site-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, rgba(91, 242, 206, .5) 0 1px, transparent 1px 48px);
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid rgba(201, 204, 195, .16);
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot-sign {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--paper);
}

.foot-note {
  max-width: 36ch;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(241, 240, 234, .6);
}

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

.foot-col__title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.foot-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.foot-list a {
  width: fit-content;
  font-size: 14px;
  color: rgba(241, 240, 234, .78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.foot-list a:hover {
  color: var(--paper);
  border-bottom-color: var(--cyan);
}

.foot-lines {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(241, 240, 234, .7);
  word-break: break-word;
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(241, 240, 234, .5);
}
.foot-legal__item { margin: 0; }

/* ---------- 面板 / 网格 / 正文 ---------- */

.panel {
  padding: clamp(16px, 2.2vw, 24px);
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 2px;
  box-shadow: var(--shadow-1);
}
.panel--paper { background: var(--paper); }
.panel--dark {
  background: var(--ink-700);
  border-color: rgba(201, 204, 195, .18);
  color: var(--paper);
  box-shadow: var(--shadow-2);
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--hair);
}
.panel--dark .panel__head { border-bottom-color: rgba(201, 204, 195, .2); }

.panel__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel--dark .panel__index { color: var(--cyan); }

.panel__title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink-900);
}
.panel--dark .panel__title { color: var(--paper); }

.panel__body { display: grid; gap: 14px; }

.grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--rail {
  grid-template-columns: var(--rail) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 3vw, 40px);
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb__item a { text-decoration: none; }
.breadcrumb__item a:hover { color: var(--ink-500); }
.breadcrumb__sep { color: var(--hair); }

.prose {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.9;
  color: var(--char);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 2em;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.prose h3 {
  margin-top: 1.7em;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}
.prose ul, .prose ol {
  padding-left: 1.3em;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a {
  color: var(--ink-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--ink-900); }
.prose code {
  font-family: var(--font-mono);
  font-size: .92em;
  padding: .1em .35em;
  background: rgba(30, 83, 67, .1);
  border-radius: 2px;
}
.prose blockquote {
  padding-left: 16px;
  border-left: 2px solid var(--amber);
  color: var(--muted);
}

/* ---------- 数据 / 状态 ---------- */

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
}
.panel--dark .stat, .section--ink .stat { border-top-color: rgba(201, 204, 195, .22); }

.stat__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.stat__value--accent { color: var(--amber); }
.panel--dark .stat__value, .section--ink .stat__value { color: var(--paper); }

.stat__unit {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--ink .stat__unit, .panel--dark .stat__unit { color: rgba(241, 240, 234, .6); }

.stat__note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-500);
  background: rgba(255, 255, 255, .45);
  border: 1px solid var(--hair);
  border-radius: 2px;
}
.tag--live {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
  font-weight: 700;
}
.tag--alert {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink-900);
  font-weight: 700;
}

.dot {
  display: inline-block;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.dot--live {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(91, 242, 206, .18);
}
.dot--alert { background: var(--amber); }

/* ---------- 图片容器基础规则 ---------- */

.frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-700);
  border: 1px solid var(--hair);
  border-radius: 2px;
}
.frame--wide { aspect-ratio: 16 / 9; }
.frame--tall { aspect-ratio: 3 / 4; }
.frame--square { aspect-ratio: 1 / 1; }

.frame img,
.frame svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.6) contrast(1.04);
}

.frame__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(91, 242, 206, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 242, 206, .16) 1px, transparent 1px);
  background-size: 34px 34px;
  mix-blend-mode: screen;
}

.frame__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--paper);
  background: linear-gradient(to top, rgba(10, 31, 25, .88), rgba(10, 31, 25, 0));
}

/* ---------- 显现 ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .cmd-meta { display: none; }
}

@media (max-width: 960px) {
  .grid--rail {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .cmd-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px clamp(16px, 4vw, 28px) 16px;
    background: var(--ink-900);
    border-top: 1px solid rgba(201, 204, 195, .16);
    box-shadow: var(--shadow-2);
  }
  .cmd-nav[data-open="true"] { display: flex; }

  .cmd-nav__link {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(201, 204, 195, .12);
  }
  .cmd-nav__link::after {
    left: 0;
    right: auto;
    bottom: 11px;
    width: 28px;
  }
  .cmd-nav__link:hover { background: transparent; }

  .foot-top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .foot-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .season-axis__label { display: none; }
  .foot-legal { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .dossier-btn__text { display: none; }
  .dossier-btn { padding: 9px 11px; }
  .foot-sign { font-size: 18px; }
}

/* ---------- 动效偏好 ---------- */

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