/* ============================================================
   四季体育赛事 · /assets/site.css
   共享外壳：reset、变量、中文排版、头部、页脚、通用组件
   ============================================================ */

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

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

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

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

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

button { font: inherit; color: inherit; }

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

main { display: block; }

html, body { overflow-x: hidden; }

:root {
  --ink: #0B1B2B;
  --ink-2: #11263A;
  --lime: #B7FF3C;
  --lime-soft: #D5FF7D;
  --orange: #FF8A3D;
  --bone: #F4EFE4;
  --rock: #6F746B;
  --moss: #4F6B52;
  --clay: #B86645;
  --ice: #D7E6F2;
  --white: #F7FAFC;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace,
    SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --line: rgba(215, 230, 242, 0.16);
  --line-soft: rgba(215, 230, 242, 0.09);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shell-max: 1200px;
  --header-gap: 14px;
}

/* ---------- 基础排版 ---------- */

body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 560px at 82% -12%, rgba(183, 255, 60, 0.08), transparent 62%),
    radial-gradient(900px 520px at -6% 108%, rgba(184, 102, 69, 0.12), transparent 66%);
  color: var(--ice);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2.2vw, 1.5rem); }

p { max-width: 68ch; }

strong { font-weight: 800; color: var(--white); }

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

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 300;
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 2px;
}

/* ============================================================
   头部：悬浮胶囊
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: 14px 16px 12px;
  background: linear-gradient(
    180deg,
    rgba(11, 27, 43, 0.94) 0%,
    rgba(11, 27, 43, 0.72) 62%,
    rgba(11, 27, 43, 0) 100%
  );
}

.header-capsule {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(140deg, rgba(17, 38, 58, 0.97), rgba(11, 27, 43, 0.97));
  box-shadow:
    0 22px 44px -26px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(215, 230, 242, 0.08);
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.site-header[data-open] .header-capsule {
  border-color: rgba(183, 255, 60, 0.48);
  box-shadow:
    0 26px 50px -24px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(183, 255, 60, 0.18);
}

/* 品牌 */
.brand-mark {
  grid-row: 1;
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-glyph {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--lime), #8fe018);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rock);
  white-space: nowrap;
}

/* 赛季进度 */
.season-meter {
  grid-row: 2;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.season-meter__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: var(--lime);
  white-space: nowrap;
}

.season-meter__track {
  position: relative;
  flex: 1 1 auto;
  min-width: 40px;
  height: 4px;
  border-radius: 999px;
  background: rgba(215, 230, 242, 0.16);
  overflow: hidden;
}

.season-meter__fill {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), #7fe000);
  transition: width 0.3s ease;
}

.season-meter__stamp {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--rock);
  white-space: nowrap;
}

/* 导航 */
.nav {
  grid-row: 3;
  grid-column: 1 / -1;
  display: none;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.site-header[data-open] .nav { display: block; }

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: var(--ice);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(215, 230, 242, 0.08);
  color: var(--white);
}

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

.nav-link[aria-current="page"] {
  color: var(--lime);
  background: rgba(183, 255, 60, 0.1);
  font-weight: 700;
}

.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* 汉堡按钮 */
.nav-toggle {
  grid-row: 1;
  grid-column: 2;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(215, 230, 242, 0.24);
  border-radius: 12px;
  background: rgba(215, 230, 242, 0.06);
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.nav-toggle:hover { border-color: rgba(183, 255, 60, 0.5); }

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle__text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* 头部 CTA */
.header-capsule .btn--cta {
  grid-row: 4;
  grid-column: 1 / -1;
  display: none;
  justify-content: center;
  margin-top: 4px;
}

.site-header[data-open] .header-capsule .btn--cta { display: inline-flex; }

/* 阅读进度 */
.scroll-progress {
  max-width: 1320px;
  height: 2px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: rgba(215, 230, 242, 0.12);
  overflow: hidden;
}

.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), var(--orange));
  transition: width 0.12s linear;
}

/* 平板与桌面 */
@media (min-width: 960px) {
  .site-header { padding: 18px 24px 10px; }

  .header-capsule {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    padding: 8px 10px 8px 16px;
    border-radius: 999px;
  }

  .brand-mark { grid-row: 1; grid-column: 1; }

  .season-meter { display: none; }

  .nav {
    grid-row: 1;
    grid-column: 2;
    display: block;
    justify-self: center;
    max-height: none;
    overflow: visible;
    padding-top: 0;
    border-top: 0;
  }

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

  .nav-link { padding: 0.5rem 0.72rem; }

  .nav-toggle { display: none; }

  .header-capsule .btn--cta {
    grid-row: 1;
    grid-column: 3;
    display: inline-flex;
    justify-self: end;
    margin-top: 0;
  }

  .scroll-progress { margin-top: 10px; }
}

@media (min-width: 1180px) {
  .header-capsule { grid-template-columns: auto auto 1fr auto; }

  .season-meter {
    grid-row: 1;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 186px;
  }

  .season-meter__track {
    flex: none;
    width: 100%;
    height: 4px;
  }

  .season-meter__stamp { font-size: 0.625rem; }

  .nav { grid-column: 3; }
  .header-capsule .btn--cta { grid-column: 4; }
}

/* ============================================================
   页脚
   ============================================================ */

.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  padding: clamp(40px, 6vw, 72px) 16px 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 58%);
  color: var(--ice);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -140px;
  height: 320px;
  background: radial-gradient(closest-side, rgba(183, 255, 60, 0.1), transparent 72%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  max-width: var(--shell-max);
  margin: 0 auto;
  display: grid;
  gap: 36px;
}

.footer-brand__mark {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--white);
}

.footer-brand__mark:hover { color: var(--lime); }

.footer-brand__line {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}

.footer-brand__note {
  margin-top: 14px;
  max-width: 30ch;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--rock);
}

.footer-season {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.footer-stamp {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--rock);
}

.footer-cols {
  display: grid;
  gap: 26px 24px;
  grid-template-columns: 1fr;
}

.footer-col__title {
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--white);
}

.footer-list {
  display: grid;
  gap: 8px;
}

.footer-list a {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--ice);
  opacity: 0.84;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--lime);
  opacity: 1;
  border-bottom-color: rgba(183, 255, 60, 0.6);
}

.footer-contact {
  position: relative;
  max-width: var(--shell-max);
  margin: 36px auto 0;
  padding: 20px 22px;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(244, 239, 228, 0.05);
}

.footer-contact__item {
  display: grid;
  gap: 3px;
  max-width: none;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--white);
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.footer-contact__note {
  grid-column: 1 / -1;
  max-width: 70ch;
  padding-top: 12px;
  margin-top: 2px;
  border-top: 1px dashed rgba(215, 230, 242, 0.2);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--rock);
}

.footer-meta {
  position: relative;
  max-width: var(--shell-max);
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}

.footer-legal {
  max-width: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--rock);
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.footer-legal__links a {
  font-size: 0.75rem;
  color: var(--ice);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

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

@media (min-width: 560px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
}

@media (min-width: 900px) {
  .site-footer { padding-inline: 24px; }
  .footer-inner {
    grid-template-columns: minmax(240px, 0.9fr) 2.1fr;
    gap: 48px;
  }
  .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-contact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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

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

.section { padding-block: clamp(40px, 6vw, 80px); }

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

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

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

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

.divider {
  height: 1px;
  border: 0;
  margin-block: clamp(24px, 4vw, 44px);
  background: linear-gradient(90deg, rgba(215, 230, 242, 0.32), rgba(215, 230, 242, 0));
}

/* 展区注与编号 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.section-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--clay);
}

/* 展签 */
.plate {
  position: relative;
  padding: 14px 16px 14px 18px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--clay);
  background: var(--bone);
  color: #1c241d;
  font-size: 0.8125rem;
  line-height: 1.65;
  box-shadow: 0 14px 32px -24px rgba(0, 0, 0, 0.9);
}

.plate strong { color: #14190f; }

.plate__label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
}

.plate--dark {
  border-left-color: var(--lime);
  background: rgba(17, 38, 58, 0.92);
  color: var(--ice);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plate--dark .plate__label { color: var(--lime); }

/* 录像带标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(215, 230, 242, 0.28);
  background: rgba(215, 230, 242, 0.06);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.5;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.tag--lime {
  border-color: rgba(183, 255, 60, 0.55);
  background: rgba(183, 255, 60, 0.14);
  color: var(--lime);
}

.tag--orange {
  border-color: rgba(255, 138, 61, 0.6);
  background: rgba(255, 138, 61, 0.14);
  color: #FFB181;
}

.tag--clay {
  border-color: rgba(184, 102, 69, 0.65);
  background: rgba(184, 102, 69, 0.2);
  color: #F0A882;
}

.tag--moss {
  border-color: rgba(79, 107, 82, 0.8);
  background: rgba(79, 107, 82, 0.26);
  color: #BFD8C2;
}

/* 等宽与元信息 */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em 0.9em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--rock);
}

.link-underline {
  color: var(--lime);
  border-bottom: 1px solid rgba(183, 255, 60, 0.45);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.link-underline:hover,
.link-underline:focus-visible {
  color: var(--lime-soft);
  border-bottom-color: var(--lime);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease;
}

.btn--cta {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 10px 24px -16px rgba(183, 255, 60, 0.9);
}

.btn--cta:hover,
.btn--cta:focus-visible {
  background: var(--lime-soft);
  color: #08131f;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(215, 230, 242, 0.34);
  color: var(--white);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

.btn--quiet {
  padding-inline: 0.25rem;
  background: transparent;
  color: var(--lime);
  border-bottom: 1px solid rgba(183, 255, 60, 0.5);
  border-radius: 0;
}

.btn--quiet:hover { color: var(--lime-soft); border-bottom-color: var(--lime); }

/* 面包屑 */
.breadcrumb {
  padding-top: clamp(18px, 3vw, 28px);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--rock);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--ice);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--lime);
  border-bottom-color: rgba(183, 255, 60, 0.6);
}

.breadcrumb__sep {
  color: rgba(215, 230, 242, 0.35);
}

/* 媒体框 */
.media-frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, var(--ink-2), var(--ink) 70%),
    radial-gradient(420px 220px at 78% 12%, rgba(183, 255, 60, 0.12), transparent 70%);
}

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

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

.media-frame__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.media-frame__caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(215, 230, 242, 0.18);
  background: rgba(11, 27, 43, 0.84);
  color: var(--ice);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* 阅读区 */
.prose {
  border-radius: 20px;
  padding: clamp(20px, 4vw, 44px);
  background: var(--bone);
  color: #20261f;
  font-size: 1.0625rem;
  line-height: 1.8;
}

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

.prose h2,
.prose h3 {
  color: var(--ink);
  margin-top: 1.6em;
}

.prose p { max-width: 72ch; }

.prose a {
  color: #3c5a3f;
  border-bottom: 1px solid var(--moss);
}

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

.prose ul,
.prose ol { padding-left: 1.25em; }

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose ul li + li,
.prose ol li + li { margin-top: 0.5em; }

.prose--dark {
  background: rgba(17, 38, 58, 0.85);
  color: var(--ice);
  border: 1px solid var(--line);
}

.prose--dark h2,
.prose--dark h3 { color: var(--white); }
.prose--dark a { color: var(--lime); border-bottom-color: rgba(183, 255, 60, 0.5); }

.surface-paper {
  background: var(--bone);
  color: #20261f;
}

/* 页面目录联动（可选，页面阶段使用） */
[data-toc-link] {
  transition: color 0.18s ease, border-color 0.18s ease;
}

[data-toc-link][aria-current="true"] {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

/* ============================================================
   可访问性与打印
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html { scroll-behavior: auto; }
  .skip-link { transition: none; }
  .scroll-progress__bar { transition: none; }
}

@media print {
  .site-header,
  .skip-link,
  .scroll-progress,
  .site-footer::before {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #111111;
  }

  .site-footer {
    border-top: 1px solid #cccccc;
    background: #ffffff;
    color: #111111;
  }

  .footer-list a,
  .footer-legal,
  .footer-legal__links a { color: #111111; }
}
