/* ============================================================
   凤凰体育看台 · /assets/site.css
   共享层：reset / 变量 / 排版 / 头部 / 页脚 / 通用组件
   ============================================================ */

:root {
  --ink-night: #0B1B2B;
  --stand-blue: #153A5E;
  --deep-teal: #0E3B39;
  --indigo: #2B1E4A;
  --wine: #5A1220;
  --gold: #F2A93B;
  --dusk: #E4632A;
  --turf: #2FA36B;
  --card-yellow: #F5C518;
  --card-red: #D62828;
  --paper: #FBF6EE;
  --ink: #26292E;
  --hair: #D8CFC0;
  --muted: #8A8171;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-head: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --gutter: 72px;
  --shell: 1440px;
  --header-h: 68px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(11, 27, 43, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 27, 43, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: .01em;
  margin: 0 0 .6em;
}

p { margin: 0 0 1.1em; }

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

a { color: var(--stand-blue); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }

button, input, select, textarea { font: inherit; color: inherit; }

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

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

/* ---------- 跳转链接 ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--ink-night);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
}

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

/* ---------- 容器与网格 ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

.bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.prose { max-width: 38em; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- 头部 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--ink-night);
  color: var(--paper);
  border-bottom: 1px solid rgba(216, 207, 192, .18);
}

.header-shell {
  display: flex;
  align-items: stretch;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linejoin: miter;
  stroke-linecap: square;
}

.brand-text { display: block; }

.brand-name {
  display: block;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.25;
}

.brand-line {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.5;
  color: rgba(251, 246, 238, .58);
}

/* 主导航 */

.nav {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item { display: flex; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  color: rgba(251, 246, 238, .74);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  border-top: 2px solid transparent;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.nav-link:hover {
  color: var(--paper);
  background: rgba(242, 169, 59, .12);
  border-top-color: var(--dusk);
}

.nav-link[aria-current="page"] {
  color: var(--ink-night);
  background: var(--gold);
  border-top-color: var(--gold);
}

.nav-link[aria-current="page"] .nav-index { color: rgba(11, 27, 43, .6); }

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(242, 169, 59, .75);
}

/* 右侧工具区 */

.nav-utility {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(216, 207, 192, .2);
}

.quick-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--gold);
  color: var(--ink-night);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}

.quick-search:hover { background: var(--dusk); color: var(--paper); }

.key-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border: 1px solid rgba(11, 27, 43, .38);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
}

.quick-search:hover .key-hint { border-color: rgba(251, 246, 238, .65); }

.season { position: relative; }

.season-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(216, 207, 192, .35);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  transition: border-color .18s ease, background-color .18s ease;
}

.season-trigger::-webkit-details-marker { display: none; }
.season-trigger::marker { content: ""; }

.season-trigger:hover {
  border-color: var(--gold);
  background: rgba(242, 169, 59, .14);
}

.season-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .18s ease;
}

.season[open] .season-caret { transform: rotate(180deg); }

.season-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 216px;
  display: grid;
  gap: 2px;
  padding: 8px;
  background: var(--stand-blue);
  border: 1px solid rgba(216, 207, 192, .3);
  z-index: 40;
}

.season-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px;
  color: rgba(251, 246, 238, .84);
  text-decoration: none;
  font-size: 13px;
  transition: background-color .18s ease, color .18s ease;
}

.season-link:hover { background: var(--gold); color: var(--ink-night); }

.season-state {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(251, 246, 238, .55);
}

.season-link:hover .season-state { color: rgba(11, 27, 43, .65); }

.report-link {
  font-size: 13px;
  font-weight: 700;
  color: rgba(251, 246, 238, .72);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(216, 207, 192, .35);
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}

.report-link:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* 移动菜单按钮 */

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  align-self: center;
  margin-left: auto;
  padding: 9px 13px;
  background: transparent;
  border: 1px solid rgba(216, 207, 192, .35);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}

.nav-toggle:hover { border-color: var(--gold); background: rgba(242, 169, 59, .14); }

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }

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

/* 阅读进度 */

.reading-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(216, 207, 192, .16);
}

.reading-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--dusk));
  transition: width .12s linear;
}

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

.site-footer {
  margin-top: auto;
  background: var(--ink-night);
  color: rgba(251, 246, 238, .78);
  border-top: 3px solid var(--gold);
}

.footer-shell {
  padding-top: 56px;
  padding-bottom: 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2.4fr;
  gap: 52px;
}

.brand--footer { padding: 0; }
.brand--footer .brand-name { font-size: 19px; }

.footer-brand-note {
  margin: 16px 0 22px;
  max-width: 26em;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(251, 246, 238, .62);
}

.footer-cta { margin-bottom: 4px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-col-title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--gold);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-link {
  display: inline-block;
  color: rgba(251, 246, 238, .74);
  font-size: 14px;
  text-decoration: none;
  transition: color .18s ease;
}

.footer-link:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link--static { color: rgba(251, 246, 238, .42); cursor: default; }
.footer-link--static:hover { color: rgba(251, 246, 238, .42); text-decoration: none; }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(216, 207, 192, .18);
}

.contact-item { display: block; }

.contact-key {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(251, 246, 238, .42);
}

.contact-value {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(251, 246, 238, .86);
  word-break: break-word;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 207, 192, .18);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(251, 246, 238, .48);
}

/* ---------- 通用排版块 ---------- */

.page-head { padding: 40px 0 26px; }

.page-title {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: .01em;
  margin: 0 0 12px;
}

.page-title em { font-style: normal; color: var(--dusk); }

.page-lead {
  max-width: 34em;
  font-size: 16px;
  color: #4B463D;
}

.scene-head {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 2px solid var(--ink-night);
  transition: border-color .24s ease;
}

.scene-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--dusk);
  transition: color .24s ease;
}

.scene-title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 900;
  letter-spacing: .02em;
}

.scene-tail {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

[data-scene] { position: relative; }

[data-scene].is-active .scene-head { border-bottom-color: var(--dusk); }
[data-scene].is-active .scene-kicker { color: var(--gold); }

/* 横向主题带 */

.band {
  padding: 34px 0;
  margin: 48px 0;
  background: var(--stand-blue);
  color: var(--paper);
}

.band--night { background: var(--ink-night); }
.band--stand { background: var(--stand-blue); }
.band--indigo { background: var(--indigo); }
.band--teal { background: var(--deep-teal); }
.band--wine { background: var(--wine); }

.band + .band { margin-top: 0; }

/* 面板 */

.panel {
  padding: 22px;
  background: #FFFFFF;
  border: 1px solid var(--hair);
  border-radius: 0;
}

.panel--night { background: var(--ink-night); color: var(--paper); border-color: rgba(216, 207, 192, .22); }
.panel--stand { background: var(--stand-blue); color: var(--paper); border-color: transparent; }

.panel-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .1em;
}

/* 比分与数字 */

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.score {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--gold);
}

.score-sep { color: var(--dusk); font-size: .55em; }

/* 高密度索引行 */

.index-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--hair);
  transition: background-color .18s ease;
}

.index-row:hover { background: rgba(242, 169, 59, .1); }

.index-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--dusk);
}

.index-main { min-width: 0; font-size: 15px; font-weight: 600; }

.index-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* 纵向注释栏 */

.rail {
  padding-left: 20px;
  border-left: 1px solid var(--hair);
  display: flex;
  justify-content: flex-start;
}

.rail-note {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--muted);
}

.rail-note--gold { color: var(--dusk); }

/* ---------- 面包屑 ---------- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

.crumbs a { color: var(--stand-blue); text-decoration: none; }
.crumbs a:hover { color: var(--dusk); text-decoration: underline; text-underline-offset: 3px; }
.crumbs-sep { color: var(--hair); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid var(--ink-night);
  border-radius: 0;
  background: transparent;
  color: var(--ink-night);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn:hover { background: var(--ink-night); color: var(--paper); }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-night);
}

.btn--gold:hover { background: var(--dusk); border-color: var(--dusk); color: #FFFFFF; }

.btn--ghost {
  border-color: rgba(216, 207, 192, .55);
  color: var(--muted);
}

.btn--ghost:hover { background: var(--stand-blue); border-color: var(--stand-blue); color: var(--paper); }

/* ---------- 标签 ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 0;
  background: var(--hair);
  color: #403A31;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.7;
  white-space: nowrap;
}

.tag--gold { background: var(--gold); color: var(--ink-night); }
.tag--dusk { background: var(--dusk); color: #FFFFFF; }
.tag--green { background: var(--turf); color: #FFFFFF; }
.tag--yellow { background: var(--card-yellow); color: #2A2200; }
.tag--red { background: var(--card-red); color: #FFFFFF; }
.tag--indigo { background: var(--indigo); color: var(--paper); }
.tag--teal { background: var(--deep-teal); color: var(--paper); }
.tag--wine { background: var(--wine); color: var(--paper); }

/* ---------- 图片容器 ---------- */

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(216, 207, 192, .55);
  border-radius: 0;
  background: linear-gradient(135deg, var(--stand-blue), var(--ink-night));
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(251, 246, 238, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(251, 246, 238, .09) 1px, transparent 1px);
  background-size: 32px 32px;
}

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

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

.media-caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

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

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .24s ease, transform .24s ease;
}

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

.tilt-item {
  opacity: 0;
  transform: translateY(10px) rotate(-6deg);
  transition: opacity .24s ease, transform .24s ease;
}

.tilt-item.is-in { opacity: 1; transform: rotate(-6deg); }

/* ---------- 返回顶部 ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--ink-night);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 16px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.to-top.is-visible { display: flex; }
.to-top:hover { background: var(--gold); color: var(--ink-night); }

/* ---------- 平板 ---------- */

@media (max-width: 1180px) {
  :root { --gutter: 40px; --header-h: 60px; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 18px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--ink-night);
    border-top: 1px solid rgba(216, 207, 192, .2);
  }

  .nav[data-open] { display: flex; }

  body[data-nav-open] { overflow: hidden; }

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

  .nav-link {
    height: auto;
    padding: 14px 8px;
    font-size: 16px;
    border-top: none;
    border-left: 3px solid transparent;
  }

  .nav-link:hover {
    border-top-color: transparent;
    border-left-color: var(--dusk);
    background: rgba(242, 169, 59, .12);
  }

  .nav-link[aria-current="page"] {
    background: rgba(242, 169, 59, .16);
    color: var(--paper);
    border-top-color: transparent;
    border-left-color: var(--gold);
  }

  .nav-link[aria-current="page"] .nav-index { color: var(--gold); }

  .nav-utility {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin: 22px 0 0;
    padding: 20px 0 0;
    border-left: none;
    border-top: 1px solid rgba(216, 207, 192, .2);
  }

  .quick-search { justify-content: center; padding: 12px 16px; }

  .season-trigger { justify-content: space-between; padding: 12px 14px; }

  .season-panel {
    position: static;
    margin-top: 8px;
    min-width: 0;
    background: rgba(21, 58, 94, .7);
  }

  .report-link { align-self: flex-start; }

  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-3, .span-4, .span-5 { grid-column: span 3; }
  .span-6, .span-7, .span-8, .span-9, .span-12 { grid-column: 1 / -1; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
}

/* ---------- 手机 ---------- */

@media (max-width: 680px) {
  :root { --gutter: 20px; }

  body { font-size: 15.5px; }

  .brand-line { display: none; }

  .nav-toggle-text { display: none; }

  .grid-12 { grid-template-columns: 1fr; gap: 18px; }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-12 { grid-column: 1 / -1; }

  .page-head { padding: 26px 0 18px; }

  .scene-tail { margin-left: 0; }

  .index-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
  }

  .index-meta { grid-column: 2; }

  .footer-shell { padding-top: 40px; padding-bottom: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-contact { margin-top: 32px; }

  .rail { padding-left: 14px; }
  .rail-note { writing-mode: horizontal-tb; letter-spacing: .2em; }

  .to-top { right: 14px; bottom: 16px; }
}

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

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

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

  .reveal, .tilt-item { opacity: 1; transform: none; }
  .tilt-item.is-in { transform: none; }
  .reading-progress-bar { transition: none; }
}
