/* ==========================================================================
   天博体育主站 · 共享样式表  /assets/site.css
   深夜球场数据指挥中心 —— 墨绿夜底 / 荧光青柠 / 等宽数据 / 胶囊浮岛
   ========================================================================== */

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

html {
  background: #07130F;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body { margin: 0; }

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

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

button { background: none; border: 0; padding: 0; }

a { color: inherit; }

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

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

table { border-collapse: collapse; }

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色彩 */
  --ink:      #07130F;
  --ink-2:    #0E2A22;
  --panel:    #14382D;
  --panel-2:  #173F33;
  --lime:     #C6F24E;
  --lime-hi:  #E6FFA8;
  --chalk:    #F2F5EC;
  --mist:     #9DB3A8;
  --amber:    #FF7A29;
  --card-y:   #FFC93C;
  --card-r:   #FF3B3B;
  --cyan:     #2FD6A6;

  --line:      rgba(157, 179, 168, .22);
  --line-lime: rgba(198, 242, 78, .28);
  --line-soft: rgba(157, 179, 168, .12);

  /* 字体 */
  --font-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei",
               system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular,
               Menlo, Consolas, "Courier New", monospace;

  /* 形状 */
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --pill: 999px;

  /* 尺度 */
  --shell: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 78px;

  --shadow-soft: 0 24px 60px -32px rgba(0, 0, 0, .9);
  --shadow-card: 0 26px 54px -34px rgba(0, 0, 0, .95);
}

/* ---------- 3. 中文排版与全局底盘 ---------- */
body {
  min-height: 100vh;
  background: transparent;
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 球场方向的柔和光晕，静态不循环 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 8% -4%, rgba(47, 214, 166, .10), transparent 62%),
    radial-gradient(780px 500px at 100% 3%, rgba(198, 242, 78, .085), transparent 64%),
    radial-gradient(700px 600px at 50% 110%, rgba(255, 122, 41, .05), transparent 68%);
}

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

/* 焦点可见 */
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* 屏幕阅读器辅助 */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 跳转链接 */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -180%);
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: var(--pill);
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .22s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 4. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 880px; }

.site-main {
  display: block;
  position: relative;
  padding-top: clamp(92px, 9vw, 118px);
}

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

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.section__num {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border: 1px solid var(--line-lime);
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--lime);
}

.section__title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--chalk);
}

/* ---------- 5. 头部：悬浮胶囊浮岛 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 14px clamp(12px, 3vw, 34px) 0;
  pointer-events: none;
}

.header-shell {
  position: relative;
  pointer-events: auto;
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 24px);
  padding: 9px 12px 9px 16px;
  border: 1px solid var(--line-lime);
  border-radius: var(--pill);
  background: rgba(14, 42, 34, .84);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 20px 50px -34px rgba(0, 0, 0, .95);
  transition: padding .28s ease, background .28s ease,
              border-color .28s ease, box-shadow .28s ease;
}

.site-header[data-scrolled="true"] .header-shell {
  padding: 6px 10px 6px 12px;
  background: rgba(7, 19, 15, .95);
  border-color: rgba(198, 242, 78, .36);
  box-shadow: 0 22px 52px -30px rgba(0, 0, 0, 1);
}

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

.brand__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.03em;
  transform: skewX(-4deg);
  transition: background .22s ease, width .28s ease, height .28s ease;
}

.site-header[data-scrolled="true"] .brand__mark { width: 32px; height: 32px; }
.brand:hover .brand__mark { background: var(--lime-hi); }

.brand__text { display: block; min-width: 0; }

.brand__line {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.25;
  white-space: nowrap;
}

.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  line-height: 1.3;
  color: var(--mist);
  white-space: nowrap;
  transition: opacity .22s ease;
}

.site-header[data-scrolled="true"] .brand__sub { opacity: .55; }

/* 主导航 */
.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list > li { flex: none; }

.nav-list a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: .03em;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--mist);
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}

.nav-list a:hover { color: var(--lime-hi); background: rgba(198, 242, 78, .10); }

.nav-list a[aria-current="page"] {
  color: var(--ink);
  background: var(--lime);
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(198, 242, 78, .5), 0 8px 20px -12px rgba(198, 242, 78, .8);
}

/* 右侧切入口 */
.header-cta { flex: 0 0 auto; }

.header-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 122, 41, .5);
  background: rgba(255, 122, 41, .10);
  color: var(--amber);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.header-cta__link::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.header-cta__link:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

/* 移动端导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line-lime);
  background: rgba(198, 242, 78, .07);
  color: var(--lime-hi);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.nav-toggle:hover { background: rgba(198, 242, 78, .14); }

.nav-toggle__bars {
  position: relative;
  flex: none;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background .2s ease;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s ease, top .22s ease;
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after  { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); }

/* 阅读进度轨 */
.read-progress {
  max-width: var(--shell);
  margin: 8px auto 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(157, 179, 168, .12);
  overflow: hidden;
  opacity: 0;
  transition: opacity .3s ease;
}
.read-progress[data-active="true"] { opacity: 1; }

.read-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--lime) 62%, var(--lime-hi));
  will-change: transform;
}

/* 头部响应式 */
@media (max-width: 900px) {
  .site-header { padding: 10px 12px 0; }

  .header-shell {
    padding: 8px 10px 8px 12px;
    border-radius: 22px;
    gap: 8px;
  }

  .site-header[data-scrolled="true"] .header-shell { padding: 7px 10px 7px 12px; }

  .brand__sub { display: none; }
  .brand__line { font-size: 11.5px; letter-spacing: .03em; }
  .brand__mark { width: 34px; height: 34px; font-size: 13px; }

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

  .header-cta { order: 2; margin-left: auto; }
  .header-cta__link { padding: 8px 14px; font-size: 13px; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: block;
    padding: 10px;
    border: 1px solid var(--line-lime);
    border-radius: 22px;
    background: rgba(7, 19, 15, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 28px 56px -26px rgba(0, 0, 0, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    overflow: visible;
  }

  .site-nav .nav-list a {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
    color: var(--chalk);
  }
}

@media (max-width: 560px) {
  .brand__text { display: none; }
  .header-cta__link { padding: 8px 12px; font-size: 12.5px; }
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  background:
    linear-gradient(180deg, rgba(7, 19, 15, 0) 0%, var(--ink-2) 30%, #0A1F19 100%),
    var(--ink-2);
  color: var(--mist);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime) 30%,
              var(--cyan) 62%, transparent);
  opacity: .6;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 76px) var(--gutter) clamp(28px, 4vw, 46px);
  display: grid;
  gap: clamp(26px, 3.4vw, 44px);
  grid-template-columns:
    minmax(230px, 1.3fr)
    repeat(3, minmax(112px, .72fr))
    minmax(238px, 1.2fr);
}

/* 页脚品牌区 */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand--footer { color: var(--chalk); }
.brand--footer .brand__sub { display: block; }

.footer-note {
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mist);
}

/* 页脚栏目 */
.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime);
}

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

.footer-col__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--mist);
  text-decoration: none;
  transition: color .18s ease;
}
.footer-col__list a::before {
  content: "";
  flex: none;
  width: 6px;
  height: 1px;
  background: var(--line-lime);
  transition: width .18s ease, background .18s ease;
}
.footer-col__list a:hover { color: var(--lime-hi); }
.footer-col__list a:hover::before { width: 13px; background: var(--lime); }

/* 页脚联系区 */
.footer-contact__list { display: grid; gap: 10px; }

.footer-contact__list > li {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-soft);
}
.footer-contact__list > li:last-child { border-bottom: 0; padding-bottom: 0; }

.footer-contact__k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-contact__v {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--chalk);
  word-break: break-word;
}

.footer-contact__note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(157, 179, 168, .82);
}

/* 页脚底栏 */
.footer-base {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--gutter) 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: rgba(157, 179, 168, .85);
}

.footer-base__legal { color: var(--mist); }
.footer-base__copy { color: rgba(157, 179, 168, .7); }

/* 页脚响应式 */
@media (max-width: 1080px) {
  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand,
  .footer-contact { grid-column: 1 / -1; }
  .footer-note { max-width: 60ch; }
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand,
  .footer-contact { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ---------- 7. 通用控件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line-lime);
  border-radius: var(--pill);
  background: transparent;
  color: var(--chalk);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease,
              border-color .2s ease, transform .2s ease;
}
.btn:hover { border-color: var(--lime); color: var(--lime-hi); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  font-weight: 800;
}
.btn--primary:hover { background: var(--lime-hi); border-color: var(--lime-hi); color: var(--ink); }

.btn--ghost { border-color: var(--line); color: var(--mist); }
.btn--ghost:hover { border-color: var(--line-lime); color: var(--lime-hi); }

.btn--alert {
  border-color: rgba(255, 122, 41, .55);
  color: var(--amber);
}
.btn--alert:hover { background: rgba(255, 122, 41, .12); border-color: var(--amber); color: var(--amber); }

/* 面包屑 */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--mist);
}
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li:not(:first-child)::before {
  content: "/";
  margin-right: 8px;
  color: rgba(157, 179, 168, .38);
}
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--lime-hi); }
.crumbs [aria-current="page"] { color: var(--chalk); }

/* 引言 / 展示标题 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--lime);
}

.display {
  font-family: var(--font-body);
  font-weight: 900;
  font-stretch: condensed;
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: uppercase;
  transform: skewX(-4deg);
  transform-origin: left bottom;
  text-wrap: balance;
}

/* ---------- 8. 卡片 / 面板 ---------- */
.panel {
  background: linear-gradient(165deg, var(--panel) 0%, rgba(20, 56, 45, .55) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.4vw, 28px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--panel) 0%, rgba(14, 42, 34, .7) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.2vw, 26px);
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.card:hover {
  border-color: var(--line-lime);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.card__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--chalk);
}

.card__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--mist);
}

/* 数值展示 */
.stat { display: flex; flex-direction: column; gap: 4px; }

.stat__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--lime);
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
}

/* 标签体系 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--pill);
  border: 1px solid var(--line-lime);
  background: rgba(198, 242, 78, .10);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  line-height: 1.6;
  color: var(--lime-hi);
  white-space: nowrap;
}

.tag--y {
  border-color: rgba(255, 201, 60, .42);
  background: rgba(255, 201, 60, .14);
  color: var(--card-y);
}

.tag--r {
  border-color: rgba(255, 59, 59, .42);
  background: rgba(255, 59, 59, .14);
  color: var(--card-r);
}

.tag--muted {
  border-color: var(--line);
  background: rgba(157, 179, 168, .09);
  color: var(--mist);
}

/* ---------- 9. 响应式图片容器 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--panel) 0%, #0B231C 100%);
  border: 1px solid var(--line-soft);
}

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

.media--21x9 { aspect-ratio: 21 / 9; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--3x2  { aspect-ratio: 3 / 2; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--1x1  { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }

/* 图片未就位时的热区纹理占位 */
.media__ph {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(60% 70% at 22% 78%, rgba(198, 242, 78, .18), transparent 62%),
    radial-gradient(50% 60% at 76% 22%, rgba(47, 214, 166, .16), transparent 66%),
    repeating-linear-gradient(115deg, rgba(198, 242, 78, .07) 0 1px, transparent 1px 18px);
  pointer-events: none;
}

.media__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 16px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: var(--chalk);
  background: linear-gradient(180deg, transparent, rgba(7, 19, 15, .88));
}

/* ---------- 10. 正文排版 ---------- */
.prose {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.78;
  color: rgba(242, 245, 236, .9);
}

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

.prose h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--chalk);
}

.prose h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--chalk);
}

.prose a {
  color: var(--lime-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--lime); }

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

.prose ul { display: grid; gap: 8px; }

.prose ul li {
  position: relative;
  padding-left: 22px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}

.prose blockquote {
  padding: 14px 20px;
  border-left: 3px solid var(--lime);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(20, 56, 45, .5);
  color: var(--mist);
}

/* ---------- 11. 基础网格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

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

/* ---------- 12. 进场显现 ---------- */
.has-js [data-reveal] {
  opacity: .8;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 13. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .has-js [data-reveal] { opacity: 1; transform: none; }

  .site-nav,
  .header-shell { transition: none; }
}
