/* ============================================================
   火博体育看台 · 共享样式 /assets/site.css
   夜间球场电子计分屏 + 目录索引册
   ============================================================ */

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

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

body { margin: 0; }

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

a { color: inherit; }

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

[hidden] { display: none !important; }

[id] { scroll-margin-top: 88px; }

/* ---------- Tokens ---------- */
:root {
  --flame: #FF4D1C;
  --ember: #B62E0E;
  --charcoal: #0B0D0F;
  --carbon: #151A1F;
  --steel: #26313D;
  --gray: #8C98A3;
  --paper: #F7F7F2;
  --lime: #D7FF3F;
  --glass: rgba(247, 247, 242, 0.08);
  --ink-orange: #1A0A04;

  --line: rgba(247, 247, 242, 0.14);
  --line-soft: rgba(247, 247, 242, 0.08);

  --font-display: "Inter", "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", SimSun, Georgia, serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 1440px;
  --gutter: clamp(16px, 3vw, 40px);
  --radius: 3px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* ---------- Base ---------- */
body {
  background-color: var(--charcoal);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.section { padding-block: clamp(44px, 6vw, 96px); }
.section--tight { padding-block: clamp(28px, 4vw, 56px); }

.section--panel {
  background-color: var(--carbon);
  border-block: 1px solid var(--line-soft);
}

.section-head {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.section-no {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--flame);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
  max-width: 64ch;
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.3;
}

.lede {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
  color: rgba(247, 247, 242, 0.82);
  max-width: 62ch;
}

.serif {
  font-family: var(--font-serif);
  font-weight: 600;
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.prose {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.78;
  color: rgba(247, 247, 242, 0.86);
}

.prose p + p { margin-top: 1em; }

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  font-weight: 900;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.prose a {
  color: var(--flame);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin-block: clamp(20px, 3vw, 32px);
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  gap: clamp(12px, 1.6vw, 16px);
}

.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.4fr) minmax(0, 1fr);
  align-items: start;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background-color: var(--flame);
  color: var(--ink-orange);
}

.btn--primary:hover { background-color: #ff6335; }

.btn--ghost {
  background-color: transparent;
  color: var(--paper);
  border-color: rgba(247, 247, 242, 0.28);
}

.btn--ghost:hover {
  border-color: var(--flame);
  color: var(--flame);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ---------- Surfaces ---------- */
.panel {
  background-color: var(--carbon);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 24px);
}

.board {
  background-color: var(--carbon);
  border: 1px solid var(--line);
  border-left: 3px solid var(--flame);
  border-radius: var(--radius);
  padding: clamp(14px, 2vw, 22px);
}

.glass {
  background-color: var(--glass);
  border: 1px solid rgba(247, 247, 242, 0.18);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* ---------- Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.tag--lime {
  color: var(--lime);
  border-color: rgba(215, 255, 63, 0.4);
  background-color: rgba(215, 255, 63, 0.08);
}

.tag--flame {
  color: var(--flame);
  border-color: rgba(255, 77, 28, 0.45);
  background-color: rgba(255, 77, 28, 0.1);
}

/* ---------- Stats ---------- */
.stat {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}

.stat__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ---------- Index list ---------- */
.index-list {
  border-top: 1px solid var(--line);
}

.index-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 1.6vw, 18px);
  align-items: baseline;
  padding: 13px 6px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.18s ease;
}

.index-item:hover { background-color: rgba(247, 247, 242, 0.04); }

.index-item__no {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--flame);
}

.index-item__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  min-width: 0;
}

.index-item__meta {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ---------- Breadcrumbs ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.crumbs a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.16s ease;
}

.crumbs a:hover { color: var(--flame); }

.crumbs__sep { color: var(--steel); }

.crumbs [aria-current="page"] { color: var(--paper); }

/* ---------- Tables of contents (page level) ---------- */
.toc-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  border-left: 2px solid transparent;
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.toc-link:hover { color: var(--paper); }

.toc-link.is-active {
  color: var(--paper);
  border-left-color: var(--flame);
  background-color: rgba(255, 77, 28, 0.1);
}

/* ---------- Image containers ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--steel);
  background-image:
    linear-gradient(135deg, rgba(255, 77, 28, 0.22), rgba(38, 49, 61, 0.55) 46%, rgba(11, 13, 15, 0.94)),
    repeating-linear-gradient(90deg, rgba(247, 247, 242, 0.07) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(247, 247, 242, 0.05) 0 1px, transparent 1px 48px);
}

.media-frame img,
.media-frame picture,
.media-frame video,
.media-frame svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media-frame__caption {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gray);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 2px;
  background-color: var(--lime);
  color: var(--ink-orange);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.18s ease;
}

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

/* ============================================================
   Header · 紧凑命令栏
   ============================================================ */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: rgba(11, 13, 15, 0.88);
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.progress {
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background-color: rgba(247, 247, 242, 0.08);
  pointer-events: none;
}

.progress__fill {
  display: block;
  width: 0;
  height: 100%;
  background-image: linear-gradient(90deg, var(--flame), var(--ember) 55%, var(--lime));
  transition: width 0.1s linear;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 24px);
  width: 100%;
  max-width: var(--maxw);
  min-height: 64px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 2px;
  background-color: var(--flame);
  color: var(--ink-orange);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand__lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

/* 主导航（桌面） */
.primary-nav { margin-left: auto; }

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

.nav-item { margin: 0; }

.nav-link {
  position: relative;
  display: block;
  padding: 8px 12px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gray);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav-link:hover {
  color: var(--paper);
  background-color: rgba(247, 247, 242, 0.06);
}

.nav-link[aria-current="page"] {
  color: var(--paper);
  background-color: rgba(255, 77, 28, 0.14);
  box-shadow: inset 0 -2px 0 var(--flame);
}

/* 右侧工具区 */
.header-utility {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(215, 255, 63, 0.34);
  border-radius: 2px;
  background-color: rgba(215, 255, 63, 0.06);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray);
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(215, 255, 63, 0.16);
}

.status-chip__code {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lime);
}

.index-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(247, 247, 242, 0.22);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--paper);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.index-toggle:hover {
  border-color: var(--flame);
  background-color: rgba(255, 77, 28, 0.12);
}

.index-toggle[aria-expanded="true"] {
  border-color: var(--flame);
  background-color: var(--flame);
  color: var(--ink-orange);
}

.index-toggle__glyph {
  font-size: 11px;
  line-height: 1;
}

/* 站内索引面板 */
.index-panel {
  position: absolute;
  right: var(--gutter);
  top: calc(100% + 8px);
  width: min(360px, calc(100vw - var(--gutter) * 2));
  max-height: 70vh;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid rgba(247, 247, 242, 0.16);
  border-radius: var(--radius);
  background-color: var(--carbon);
  box-shadow: var(--shadow);
}

.index-panel__title {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

.index-panel__list { display: grid; gap: 2px; }

.index-panel__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 2px;
  font-size: 14px;
  color: var(--paper);
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.index-panel__link:hover {
  background-color: rgba(255, 77, 28, 0.16);
  color: #fff;
}

.index-panel__no {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--flame);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(247, 247, 242, 0.22);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--paper);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

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

.nav-toggle[aria-expanded="true"] {
  border-color: var(--flame);
  background-color: rgba(255, 77, 28, 0.16);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 14px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 1px;
  background-color: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

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

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

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

.nav-toggle__label { line-height: 1; }

@media (max-width: 980px) {
  .header-inner { min-height: 56px; gap: 10px; }

  .nav-toggle {
    display: inline-flex;
    order: 3;
    margin-left: auto;
  }

  .brand { order: 1; }

  .header-utility { display: none; }

  .primary-nav {
    order: 4;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background-color: rgba(11, 13, 15, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: max-height 0.24s ease, visibility 0.24s ease;
  }

  .primary-nav[data-open] {
    max-height: 74vh;
    overflow-y: auto;
    visibility: visible;
  }

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

  .nav-link {
    padding: 13px 10px;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    font-size: 15px;
    color: var(--paper);
  }

  .nav-link[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--flame);
    background-color: rgba(255, 77, 28, 0.12);
  }

  .index-panel { display: none; }
}

@media (max-width: 560px) {
  .brand__sub { display: none; }
  .brand__mark { width: 30px; height: 30px; font-size: 12px; }
  .brand__name { font-size: 14px; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: relative;
  background-color: var(--charcoal);
  background-image: linear-gradient(180deg, rgba(255, 77, 28, 0.08), rgba(11, 13, 15, 0) 46%);
  border-top: 1px solid var(--line);
  color: var(--paper);
}

.footer-stripe {
  height: 4px;
  background-image: linear-gradient(90deg, var(--flame) 0%, var(--ember) 42%, var(--steel) 72%, var(--lime) 100%);
}

.footer-inner {
  padding-block: clamp(36px, 5vw, 72px) clamp(22px, 3vw, 34px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.footer-brand { max-width: 360px; }

.brand--footer { color: var(--paper); }

.footer-statement {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

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

.footer-group { min-width: 0; }

.footer-group__title {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links--plain { gap: 12px; }

.footer-link {
  font-size: 14px;
  color: rgba(247, 247, 242, 0.82);
  text-decoration: none;
  transition: color 0.16s ease;
}

.footer-link:hover { color: var(--flame); }

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.contact-value {
  font-size: 13px;
  line-height: 1.6;
  color: var(--paper);
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(26px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-legal {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gray);
}

.footer-note {
  font-size: 12px;
  color: var(--gray);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { max-width: none; }
  .footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 560px) {
  .footer-groups { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Responsive · shared components
   ============================================================ */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .index-item {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 2px;
  }
  .index-item__meta { grid-column: 2; }
  .btn { width: 100%; }
  .btn--sm { width: auto; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover { transform: none; }
  .progress__fill { transition: none; }
}
