/* ============================================================
   新英体育台 / goal-now.com.cn
   共享样式表 /assets/site.css
   演播室深蓝黑基底 + 珠宝色分区 + 编辑部非对称网格
   ============================================================ */

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

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

body { margin: 0; }

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

a { color: inherit; text-decoration: none; }

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

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

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

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

hr { border: 0; }

/* ---------- 变量 ---------- */
:root {
  --ink: #0A1120;
  --ink-2: #16202F;
  --forest: #0C2C2E;
  --indigo: #1D1B3F;
  --wine: #38121F;
  --cyan: #21E6C1;
  --orange: #FF6A2B;
  --text: #E9EFF6;
  --muted: #94A6BB;
  --mist: #A7E4DA;
  --paper: #F2F5F9;

  --line: rgba(148, 166, 187, 0.22);
  --line-soft: rgba(148, 166, 187, 0.12);
  --cyan-dim: rgba(33, 230, 193, 0.14);

  --font-display: 'Barlow Condensed', 'Oswald', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1280px;
  --gutter: clamp(18px, 4vw, 48px);
  --cut: 16px;
  --block: clamp(48px, 7vw, 96px);
}

/* ---------- 基础排版 ---------- */
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

h1 { font-size: clamp(48px, 7vw, 132px); }
h2 { font-size: clamp(30px, 3.4vw, 56px); }
h3 { font-size: clamp(22px, 2vw, 32px); line-height: 1.2; }
h4 { font-size: 19px; line-height: 1.3; letter-spacing: 0; }

p { line-height: 1.75; }

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

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

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 200;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
  transition: top 0.2s ease;
}

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

/* ============================================================
   头部
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 17, 32, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding-block: 12px;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
  position: relative;
  padding-left: 14px;
  flex: 0 0 auto;
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--orange));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%);
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.3vw, 29px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  color: var(--text);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.nav-toggle-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: var(--cyan);
}

.nav-toggle-bars span:nth-child(2) { width: 70%; background: var(--orange); }
.nav-toggle-bars span:nth-child(3) { width: 45%; }

/* 导航 */
.site-nav { flex: 1 1 auto; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
}

.nav-list a {
  display: block;
  padding: 8px 13px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-list a:hover {
  color: var(--text);
  border-bottom-color: var(--mist);
}

.nav-list a[aria-current="page"] {
  color: var(--ink);
  background: var(--cyan);
  border-bottom-color: var(--cyan);
  font-weight: 700;
}

/* 赛季标签流 */
.season-strip {
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(12, 44, 46, 0.72), rgba(29, 27, 63, 0.55) 58%, rgba(10, 17, 32, 0.4));
}

.season-strip-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-block: 9px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.season-strip-inner::-webkit-scrollbar { display: none; }

.season-strip-label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  padding-right: 6px;
  border-right: 1px solid var(--line);
  margin-right: 4px;
}

.season-chip {
  position: relative;
  flex: 0 0 auto;
  padding: 6px 14px 7px;
  font-size: 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(22, 32, 47, 0.6);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.season-chip::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 3px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.season-chip:hover,
.season-chip:focus-visible {
  color: var(--text);
  border-color: var(--mist);
}

.season-chip:hover::after,
.season-chip:focus-visible::after {
  transform: scaleX(1);
}

.season-chip.is-primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  font-weight: 700;
}

.season-chip.is-primary::after { display: none; }

.season-chip.is-primary:hover { background: var(--mist); }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 2;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: var(--block);
  background: linear-gradient(180deg, var(--ink) 0%, var(--forest) 78%, #08191A 100%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: clamp(120px, 22vw, 320px);
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.footer-top {
  display: grid;
  gap: 32px;
  padding-block: clamp(40px, 5.5vw, 72px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand-mark {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text);
}

.footer-brand-mark:hover { color: var(--cyan); }

.footer-brand-note {
  max-width: 34em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-cta { align-self: flex-start; }

.footer-nav { width: 100%; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 17, 32, 0.5);
}

.footer-strip-inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-block: 12px;
  scrollbar-width: none;
}

.footer-strip-inner::-webkit-scrollbar { display: none; }

.footer-meta {
  background: rgba(8, 16, 30, 0.72);
}

.footer-meta-inner {
  display: grid;
  gap: 8px;
  padding-block: 26px 34px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-contact-key {
  font-family: var(--font-mono);
  color: var(--mist);
  letter-spacing: 0.02em;
}

.footer-address { color: var(--muted); }

.footer-version {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(148, 166, 187, 0.75);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.footer-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 2px 8px 3px;
  color: var(--ink);
  background: var(--paper);
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 40px);
  z-index: 70;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--cyan);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  opacity: 0;
  transform: translate(18px, 18px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease;
}

.to-top[data-visible] {
  opacity: 1;
  transform: translate(0, 0);
  pointer-events: auto;
}

.to-top:hover { background: var(--mist); }

/* ============================================================
   通用组件
   ============================================================ */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  border: 1px solid transparent;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

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

.btn--primary:hover { background: var(--mist); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn--ghost:hover {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

/* 面包屑 */
.breadcrumb {
  padding-block: 18px 0;
  font-size: 14px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  color: var(--muted);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "／";
  margin-inline: 8px;
  color: rgba(148, 166, 187, 0.45);
}

.breadcrumb a:hover { color: var(--cyan); }

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

/* 正文容器 */
.prose {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
  font-size: clamp(26px, 2.6vw, 38px);
  margin-top: 2em;
}

.prose h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  margin-top: 1.8em;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  list-style: disc;
}

.prose li + li { margin-top: 0.4em; }

.prose strong { color: var(--mist); font-weight: 700; }

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(33, 230, 193, 0.4);
}

.prose a:hover { border-bottom-color: var(--cyan); }

/* 网格 */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.grid--editorial {
  display: grid;
  gap: clamp(18px, 2.6vw, 40px);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
  .grid--editorial {
    grid-template-columns: minmax(90px, 2fr) minmax(0, 7fr) minmax(120px, 2fr);
  }
}

/* 章节头 */
.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: clamp(12px, 1.6vw, 24px);
  margin-bottom: clamp(20px, 2.6vw, 34px);
}

.section-index {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.2vw, 36px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.section-title {
  margin: 0;
  color: var(--text);
}

/* 窄栏注释 */
.annotation {
  max-width: 24em;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.tag--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}

.tag--orange {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

/* 数据数字 */
.num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.num-block {
  display: inline-block;
  padding: 1px 10px 2px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1.3em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.num-block--orange {
  background: var(--orange);
  color: var(--ink);
}

/* 面板与切角 */
.panel {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.cut {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.cut--tr {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.cut--bl {
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

/* 珠宝色分区 */
.zone--forest {
  background: var(--forest);
}

.zone--indigo {
  background: var(--indigo);
}

.zone--wine {
  background: var(--wine);
}

/* 斜纹分隔 */
.rule-slash {
  height: 2px;
  border: 0;
  margin-block: clamp(28px, 4vw, 56px);
  background: repeating-linear-gradient(90deg, var(--orange) 0 14px, transparent 14px 28px);
}

/* 图片容器基础规则 */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--ink-2);
  aspect-ratio: 16 / 9;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.06) brightness(0.9);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 17, 32, 0.04) 34%, rgba(10, 17, 32, 0.86) 100%);
  pointer-events: none;
}

.media-frame[data-ratio="21/9"] { aspect-ratio: 21 / 9; }
.media-frame[data-ratio="16/9"] { aspect-ratio: 16 / 9; }
.media-frame[data-ratio="4/3"]  { aspect-ratio: 4 / 3; }
.media-frame[data-ratio="1/1"]  { aspect-ratio: 1 / 1; }
.media-frame[data-ratio="3/4"]  { aspect-ratio: 3 / 4; }

.media-caption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* 数据表 */
.data-table {
  width: 100%;
  font-size: 15px;
}

.data-table th {
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: left;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
}

.data-table tbody tr:hover { background: rgba(33, 230, 193, 0.05); }

.data-table th.num-cell,
.data-table td.num-cell {
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* 横排入口标签流 */
.chip-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.chip-row::-webkit-scrollbar { display: none; }

.chip {
  position: relative;
  flex: 0 0 auto;
  padding: 7px 14px 8px;
  font-size: 14px;
  color: var(--muted);
  background: rgba(22, 32, 47, 0.72);
  border: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.chip:hover,
.chip:focus-visible {
  color: var(--text);
  border-color: var(--mist);
}

.chip[aria-current="page"],
.chip[aria-pressed="true"] {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
}

/* 筛选条 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(16px, 2vw, 26px);
}

.filter-btn {
  padding: 6px 14px 7px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover { color: var(--text); border-color: var(--mist); }

.filter-btn[aria-pressed="true"] {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
}

/* 章节目录 */
.toc {
  position: sticky;
  top: 132px;
  font-size: 14px;
}

.toc-title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.toc-link {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.toc-link[aria-current] {
  color: var(--cyan);
  font-weight: 600;
}

/* 渐显 */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 960px) {
  .footer-top {
    grid-template-columns: minmax(240px, 1fr) minmax(0, 1.9fr);
    gap: 48px;
  }

  .footer-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .footer-meta-inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 32px;
  }

  .footer-contact { grid-column: 1 / 2; }
  .footer-address { grid-column: 1 / 2; }
  .footer-version { grid-column: 2 / 3; text-align: right; }
  .footer-legal { grid-column: 3 / 4; justify-content: flex-end; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 64px; gap: 12px; }

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

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    width: min(86vw, 340px);
    padding: 92px 24px 40px;
    background: linear-gradient(160deg, var(--forest) 0%, var(--ink) 52%, var(--indigo) 100%);
    border-left: 1px solid rgba(33, 230, 193, 0.3);
    overflow-y: auto;
    transform: translateX(103%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .site-nav[data-open] { transform: translateX(0); }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    padding: 13px 12px;
    font-size: 17px;
    border-bottom: 1px solid var(--line-soft);
    border-left: 3px solid transparent;
    color: var(--text);
  }

  .nav-list a:hover {
    border-bottom-color: var(--line-soft);
    border-left-color: var(--mist);
    background: rgba(33, 230, 193, 0.06);
  }

  .nav-list a[aria-current="page"] {
    background: var(--cyan);
    color: var(--ink);
    border-left-color: var(--ink);
    border-bottom-color: transparent;
  }

  .season-strip-label { display: none; }

  .toc { position: static; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

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

  .footer-meta-inner { padding-block: 22px 30px; }

  .to-top { padding: 10px 16px; font-size: 12px; }
}

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

  .reveal { opacity: 1; transform: none; }

  .to-top { transition: none; }
}
