/* =========================================================
   九游体育官网 · 共享站点样式 /assets/site.css
   深夜体育数据舱 / 检索轨道 / 粗边框硬阴影
   ========================================================= */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd, fieldset {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

button { cursor: pointer; }

a { color: inherit; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Variables ---------- */
:root {
  --c-deep: #0A1F44;
  --c-night: #071733;
  --c-steel: #122A57;
  --c-cyan: #00E5FF;
  --c-cyan-soft: #7CF3FF;
  --c-orange: #FF6B1A;
  --c-orange-soft: #FFB37A;
  --c-ice: #E8F1FF;
  --c-mist: #9FB3D1;
  --c-mint: #00FFC2;

  --line-cyan: rgba(0, 229, 255, .28);
  --line-soft: rgba(159, 179, 209, .18);
  --glass: rgba(18, 42, 87, .58);

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

  --shell: 1220px;
  --narrow: 820px;
  --gutter: clamp(16px, 4.2vw, 44px);

  --shadow-hard: 10px 10px 0 rgba(2, 8, 20, .45);
  --shadow-soft: 0 20px 44px rgba(2, 8, 20, .5);

  --step-display: clamp(2.75rem, 7vw, 4.5rem);
  --step-h1: clamp(2.125rem, 4.6vw, 3rem);
  --step-h2: clamp(1.625rem, 3vw, 2rem);
  --step-h3: clamp(1.25rem, 2.1vw, 1.5rem);
  --step-body: 1.0625rem;
  --step-sm: .9375rem;
  --step-xs: .8125rem;
  --step-mono: .75rem;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

html[data-font-size="s"] { font-size: 88%; }
html[data-font-size="l"] { font-size: 114%; }

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  background-color: var(--c-deep);
  background-image:
    radial-gradient(1100px 560px at 84% -10%, rgba(0, 229, 255, .13), transparent 62%),
    radial-gradient(820px 480px at 4% 8%, rgba(255, 107, 26, .09), transparent 60%),
    linear-gradient(180deg, rgba(7, 23, 51, .92), rgba(10, 31, 68, 0) 520px);
  color: var(--c-ice);
  font-family: var(--font-sans);
  font-size: var(--step-body);
  line-height: 1.75;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.012em;
  text-wrap: balance;
}

h1 { font-size: var(--step-h1); letter-spacing: -.02em; font-style: oblique 2deg; }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); font-weight: 800; }
h4 { font-size: 1.0625rem; font-weight: 800; }

p { text-wrap: pretty; }

.display {
  font-size: var(--step-display);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.03em;
  font-style: oblique 2deg;
}

.section-title {
  font-size: var(--step-h2);
  font-weight: 900;
  font-style: oblique 1.6deg;
  letter-spacing: -.02em;
}

.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.68;
  color: #CFDDF2;
}

.measure { max-width: 44em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--c-orange);
}

.rule {
  height: 2px;
  border: 0;
  margin: clamp(20px, 3vw, 34px) 0;
  background: linear-gradient(90deg, var(--c-cyan), rgba(0, 229, 255, 0));
}

.highlight {
  background: linear-gradient(180deg, transparent 62%, rgba(0, 229, 255, .35) 62%);
  color: var(--c-ice);
}

.meta-date,
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}

.meta-date { font-size: var(--step-xs); color: var(--c-mist); }
.num { font-size: var(--step-mono); color: var(--c-orange-soft); }

.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;
}

:focus-visible {
  outline: 3px solid var(--c-cyan-soft);
  outline-offset: 3px;
}

::selection { background: var(--c-cyan); color: var(--c-night); }

/* ---------- 4. Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow { max-width: var(--narrow); }

.section { padding-block: clamp(44px, 6.5vw, 92px); }
.section--tight { padding-block: clamp(26px, 3.6vw, 46px); }
.section--night { background: linear-gradient(180deg, rgba(7, 23, 51, .92), rgba(7, 23, 51, .55)); }
.section--steel { background: linear-gradient(180deg, rgba(18, 42, 87, .78), rgba(10, 31, 68, .35)); }
.section--edge { background: linear-gradient(180deg, rgba(7, 23, 51, .96), rgba(10, 31, 68, .18)); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); }

.stack { display: grid; gap: clamp(14px, 2vw, 24px); }

/* ---------- 5. Components ---------- */
.card {
  position: relative;
  padding: clamp(16px, 2.2vw, 26px);
  background: var(--glass);
  border: 2px solid var(--line-cyan);
  box-shadow: var(--shadow-hard);
  backdrop-filter: blur(10px) saturate(130%);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}

.card:hover {
  transform: translate(-3px, -4px);
  border-color: var(--c-cyan);
  box-shadow: 13px 15px 0 rgba(2, 8, 20, .5);
}

.card--flat {
  background: rgba(18, 42, 87, .38);
  box-shadow: none;
}

.card--flat:hover { transform: none; box-shadow: none; border-color: var(--line-cyan); }

.card--accent { border-color: rgba(255, 107, 26, .55); }
.card--accent:hover { border-color: var(--c-orange); }

.glass {
  background: var(--glass);
  border: 2px solid rgba(124, 243, 255, .22);
  backdrop-filter: blur(12px) saturate(130%);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .24em .6em;
  border: 1px solid rgba(0, 229, 255, .5);
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: .1em;
  line-height: 1.6;
  white-space: nowrap;
}

.tag--accent { border-color: rgba(255, 107, 26, .6); color: var(--c-orange-soft); }
.tag--mint { border-color: rgba(0, 255, 194, .5); color: var(--c-mint); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .72em 1.3em;
  border: 2px solid var(--c-cyan);
  background: transparent;
  color: var(--c-cyan);
  font-size: var(--step-sm);
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease);
}

.btn:hover {
  background: var(--c-cyan);
  color: var(--c-night);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(2, 8, 20, .5);
}

.btn:active { transform: none; box-shadow: none; }

.btn--solid { background: var(--c-cyan); color: var(--c-night); }
.btn--solid:hover { background: var(--c-cyan-soft); }

.btn--accent { border-color: var(--c-orange); color: var(--c-orange-soft); }
.btn--accent:hover { background: var(--c-orange); color: var(--c-night); }

.btn--ghost { border-color: rgba(159, 179, 209, .45); color: var(--c-ice); }
.btn--ghost:hover { background: rgba(232, 241, 255, .1); border-color: var(--c-ice); color: var(--c-ice); }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: .1em;
  color: var(--c-mist);
}

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5em; }

.breadcrumb li + li::before {
  content: "/";
  margin-right: .5em;
  color: rgba(159, 179, 209, .5);
}

.breadcrumb a { color: var(--c-mist); text-decoration: none; border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--c-cyan); border-bottom-color: var(--c-cyan); }
.breadcrumb [aria-current="page"] { color: var(--c-ice); }

.list-index {
  display: grid;
  border-top: 2px solid var(--line-soft);
}

.list-index__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.list-index__title { font-weight: 700; }
.list-index__title a { text-decoration: none; border-bottom: 1px solid transparent; }
.list-index__title a:hover { color: var(--c-cyan); border-bottom-color: var(--c-cyan); }

.list-index__date {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--step-xs);
  letter-spacing: .06em;
  color: var(--c-mist);
  text-align: right;
}

/* ---------- 6. Media frames ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #122A57, #071733 58%, #0A1F44);
  border: 2px solid rgba(0, 229, 255, .25);
}

.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(0, 229, 255, .14), rgba(7, 23, 51, 0) 55%),
    repeating-linear-gradient(115deg, rgba(232, 241, 255, .05) 0 2px, transparent 2px 9px);
}

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: .6em .8em;
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: .08em;
  color: var(--c-ice);
  background: linear-gradient(0deg, rgba(7, 23, 51, .92), rgba(7, 23, 51, 0));
}

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

/* ---------- 7. Header ---------- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -110px;
  z-index: 120;
  display: inline-block;
  padding: .6em 1.1em;
  background: var(--c-cyan);
  color: var(--c-night);
  border: 2px solid var(--c-night);
  font-size: var(--step-sm);
  font-weight: 800;
  text-decoration: none;
  transition: top .16s var(--ease);
}

.skip-link:focus { top: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 23, 51, .93);
  border-bottom: 2px solid var(--line-cyan);
  color: var(--c-ice);
  backdrop-filter: blur(14px) saturate(140%);
}

.site-header[data-stuck="true"] { box-shadow: 0 16px 34px rgba(2, 8, 20, .58); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 40px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 14px var(--gutter);
  transition: padding .18s var(--ease);
}

.site-header[data-stuck="true"] .header-inner { padding-block: 8px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  color: var(--c-ice);
  text-decoration: none;
}

.brand-mark {
  flex: none;
  width: 13px;
  height: 26px;
  background: linear-gradient(180deg, var(--c-cyan), var(--c-orange));
  transform: skewX(-12deg);
  box-shadow: 3px 3px 0 rgba(2, 8, 20, .5);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.brand-name {
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: .02em;
  font-style: oblique 2deg;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: .16em;
  color: var(--c-cyan);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .6em;
  padding: .5em .8em;
  border: 2px solid rgba(0, 229, 255, .5);
  color: var(--c-ice);
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: .12em;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}

.nav-toggle:hover { border-color: var(--c-cyan); color: var(--c-cyan); }

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c-cyan);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--c-cyan);
  transition: transform .16s var(--ease);
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

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

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: .35em .1em;
  color: var(--c-mist);
  font-size: var(--step-sm);
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .14s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--c-cyan);
  transition: right .18s var(--ease);
}

.nav-link:hover { color: var(--c-ice); }
.nav-link:hover::after { right: 0; }

.nav-link[aria-current="page"] { color: var(--c-cyan); }
.nav-link[aria-current="page"]::after { right: 0; background: var(--c-orange); }

.search-band {
  border-top: 1px solid rgba(0, 229, 255, .18);
  background: linear-gradient(180deg, rgba(18, 42, 87, .74), rgba(7, 23, 51, .74));
}

.search-band-inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 10px var(--gutter);
}

.search-field {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: .8em;
  min-width: 0;
}

.search-label {
  flex: none;
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: .14em;
  color: var(--c-cyan);
  white-space: nowrap;
}

.search-input-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.search-input {
  width: 100%;
  padding: .5em .8em;
  background: rgba(7, 23, 51, .72);
  border: 2px solid rgba(159, 179, 209, .3);
  color: var(--c-ice);
  font-family: var(--font-mono);
  font-size: .875rem;
  letter-spacing: .04em;
  transition: border-color .14s var(--ease), box-shadow .14s var(--ease);
}

.search-input::placeholder { color: var(--c-mist); opacity: .78; }

.search-input:focus {
  outline: none;
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .18);
}

.search-hint {
  flex: none;
  font-size: var(--step-mono);
  color: var(--c-mist);
  white-space: nowrap;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 70;
  max-height: min(60vh, 340px);
  overflow: auto;
  overscroll-behavior: contain;
  background: rgba(7, 23, 51, .98);
  border: 2px solid rgba(0, 229, 255, .42);
  box-shadow: 10px 10px 0 rgba(2, 8, 20, .5);
}

.search-suggest[hidden] { display: none; }

.suggest-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1em;
  padding: .6em .85em;
  border-bottom: 1px solid var(--line-soft);
  color: var(--c-ice);
  text-decoration: none;
}

.suggest-item:last-child { border-bottom: 0; }
.suggest-item:hover,
.suggest-item[data-active="true"] { background: rgba(0, 229, 255, .12); color: var(--c-cyan); }

.suggest-term { font-size: var(--step-sm); font-weight: 700; }

.suggest-meta {
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: .08em;
  color: var(--c-mist);
}

.suggest-empty {
  padding: .8em .85em;
  font-size: var(--step-sm);
  color: var(--c-mist);
}

.header-tools {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
}

.tool-btn {
  padding: .5em .75em;
  border: 2px solid rgba(0, 229, 255, .45);
  color: var(--c-ice);
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: .1em;
  white-space: nowrap;
  transition: border-color .14s var(--ease), color .14s var(--ease), background-color .14s var(--ease);
}

.tool-btn:hover { border-color: var(--c-cyan); color: var(--c-cyan); }

.tool-btn[aria-pressed="true"] {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-night);
}

.font-switch {
  display: flex;
  border: 2px solid rgba(159, 179, 209, .3);
}

.font-btn {
  padding: .5em .6em;
  border-right: 1px solid rgba(159, 179, 209, .24);
  color: var(--c-mist);
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: .06em;
  transition: background-color .14s var(--ease), color .14s var(--ease);
}

.font-btn:last-child { border-right: 0; }
.font-btn:hover { color: var(--c-ice); }
.font-btn[aria-pressed="true"] { background: rgba(0, 229, 255, .16); color: var(--c-cyan); }

/* ---------- 8. Injected UI ---------- */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -2px;
  z-index: 2;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.back-to-top {
  position: fixed;
  right: clamp(12px, 2vw, 28px);
  bottom: clamp(12px, 2vw, 28px);
  z-index: 80;
  padding: .7em .95em;
  background: rgba(7, 23, 51, .94);
  border: 2px solid var(--c-cyan);
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: .1em;
  box-shadow: 6px 6px 0 rgba(2, 8, 20, .5);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .16s var(--ease), transform .16s var(--ease), background-color .16s var(--ease), color .16s var(--ease);
}

.back-to-top[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover { background: var(--c-cyan); color: var(--c-night); }

/* ---------- 9. Reveal ---------- */
html.js-reveal .reveal,
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .34s var(--ease), transform .34s var(--ease);
}

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

/* ---------- 10. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 110px);
  background: linear-gradient(180deg, rgba(7, 23, 51, .72), #071733 30%);
  border-top: 2px solid var(--line-cyan);
  color: var(--c-ice);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: min(240px, 40%);
  height: 2px;
  background: var(--c-orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, minmax(150px, .9fr)) minmax(220px, 1.3fr);
  gap: clamp(24px, 3vw, 44px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(38px, 5vw, 68px) var(--gutter) clamp(24px, 3vw, 36px);
}

.footer-brand .brand { margin-bottom: .9em; }

.footer-tagline {
  max-width: 30ch;
  font-size: var(--step-sm);
  line-height: 1.7;
  color: var(--c-mist);
}

.footer-col__title {
  margin-bottom: 1em;
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--c-cyan);
}

.footer-links { display: grid; gap: .55em; }

.footer-link {
  font-size: var(--step-sm);
  color: var(--c-ice);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .14s var(--ease), border-color .14s var(--ease);
}

.footer-link:hover { color: var(--c-cyan); border-bottom-color: var(--c-cyan); }

.footer-lines {
  display: grid;
  gap: .55em;
  font-size: var(--step-xs);
  line-height: 1.7;
  color: var(--c-mist);
}

.footer-lines li { font-variant-numeric: tabular-nums; }

.footer-base {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(18px, 2.4vw, 28px) var(--gutter) clamp(28px, 4vw, 44px);
  border-top: 1px solid rgba(159, 179, 209, .2);
}

.footer-note {
  max-width: 74ch;
  font-size: var(--step-xs);
  line-height: 1.75;
  color: var(--c-mist);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8em;
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  letter-spacing: .1em;
  color: var(--c-mist);
  font-variant-numeric: tabular-nums;
}

.footer-legal span { color: var(--c-ice); }

/* ---------- 11. Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

@media (max-width: 900px) {
  html { scroll-padding-top: 120px; }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: rgba(7, 23, 51, .98);
    border-bottom: 2px solid rgba(0, 229, 255, .35);
    box-shadow: 0 18px 40px rgba(2, 8, 20, .6);
    transition: max-height .18s var(--ease), visibility .18s linear;
  }

  .site-nav[data-open="true"] {
    max-height: min(72vh, 520px);
    overflow: auto;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 18px;
  }

  .nav-link {
    display: block;
    padding: .9em .2em;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1rem;
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    padding-left: .75em;
    border-left: 4px solid var(--c-orange);
  }
}

@media (max-width: 720px) {
  .search-band-inner { flex-wrap: wrap; gap: 8px; }
  .search-label { display: none; }
  .search-hint { display: none; }
  .search-field { flex: 1 1 100%; }
  .header-tools { flex: 1 1 100%; justify-content: space-between; }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .list-index__item { flex-wrap: wrap; gap: .35rem; }
  .list-index__date { text-align: left; }
  .back-to-top { font-size: .6875rem; padding: .6em .8em; }
}

/* ---------- 12. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  html.js-reveal .reveal,
  html.js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card:hover { transform: none; }
  .btn:hover { transform: none; }
  .back-to-top { transition: none; }
}
