/* ==========================================================================
   火狐体育官网 · 共享样式 /assets/site.css
   顺序：重置 → 变量 → 基础排版 → 侧边轨道 → 胶囊导航 → 页脚 → 通用组件
   ========================================================================== */

/* 1. 重置 ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

/* 2. 变量 ------------------------------------------------------------------ */
:root {
  --cream: #F4EBDD;
  --cream-2: #EDE2D0;
  --ink: #171717;
  --fox: #F24B2A;
  --brown: #2B1D16;
  --steel: #465D6E;
  --neon: #9BFF57;
  --arena: #0E1A24;
  --sand: #D8B36A;
  --mist: #C9C2B6;
  --amber: #E8A33D;

  --rail: 84px;
  --gutter: clamp(18px, 4vw, 54px);
  --maxw: 1200px;
  --header-clear: 100px;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
                  "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
               "Liberation Mono", monospace;

  --island-shadow: 0 18px 42px -26px rgba(14, 26, 36, .62);
}

/* 3. 基础排版 -------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--cream);
  background-image: linear-gradient(90deg, rgba(43, 29, 22, .055) 1px, transparent 1px);
  background-size: 96px 100%;
  padding-top: var(--header-clear);
  padding-left: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 5.6vw, 68px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; }
p { max-width: 72ch; }
strong { font-weight: 800; }
::selection { background: var(--fox); color: var(--cream); }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--fox);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(155, 255, 87, .45);
}

.mono {
  font-family: var(--font-mono);
  font-size: .86em;
  letter-spacing: .08em;
  color: var(--steel);
}

/* 4. 跳转链 + 头部外壳 ----------------------------------------------------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--arena);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  box-shadow: inset 0 0 0 1px var(--neon);
  transform: translateY(-180%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 90; }

.scroll-meter {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(23, 23, 23, .1);
  z-index: 100;
  pointer-events: none;
}
.scroll-meter__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--fox), var(--amber) 58%, var(--neon));
  transition: width .1s linear;
}

/* 4.1 左侧品牌轨道 */
.site-header__rail { display: none; }

/* 5. 悬浮胶囊导航 ---------------------------------------------------------- */
.nav-shell {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}

.nav-island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7px 8px 7px 14px;
  border: 1px solid rgba(23, 23, 23, .16);
  border-radius: 999px;
  background: rgba(244, 235, 221, .94);
  box-shadow: var(--island-shadow);
  backdrop-filter: blur(10px) saturate(120%);
}

.nav-island__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 3px 14px 3px 2px;
  border-right: 1px solid rgba(23, 23, 23, .16);
}
.nav-island__mark {
  width: 9px; height: 9px;
  flex: none;
  background: var(--fox);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(242, 75, 42, .14);
}
.nav-island__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.nav-island__text em {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1.4;
}

.nav { display: none; }
.nav-island__actions { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--arena);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  transition: background .18s ease, box-shadow .18s ease;
}
.nav-toggle:hover { box-shadow: inset 0 0 0 1.5px var(--neon); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 9px;
  flex: none;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon);
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle__label { line-height: 1; }

.nav-island[data-open] .nav-toggle__bars::before { top: 3.5px; transform: rotate(45deg); }
.nav-island[data-open] .nav-toggle__bars::after { top: 3.5px; transform: rotate(-45deg); }

/* 5.1 移动端：底部浮岛 */
@media (max-width: 900px) {
  .nav {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 95;
    padding: 12px;
    border: 1px solid rgba(155, 255, 87, .38);
    border-radius: 22px;
    background: var(--arena);
    box-shadow: 0 26px 60px -26px rgba(14, 26, 36, .92);
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(100% + 26px));
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, visibility .28s;
  }
  .nav-island[data-open] .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .nav__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 10px;
    border-radius: 14px;
    background: rgba(244, 235, 221, .07);
    box-shadow: inset 0 0 0 1px rgba(244, 235, 221, .14);
    color: var(--cream);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    transition: background .18s ease, box-shadow .18s ease, color .18s ease;
  }
  .nav__link:hover { box-shadow: inset 0 0 0 1.5px var(--neon); }
  .nav__link[aria-current="page"] {
    background: var(--fox);
    color: #fff;
    box-shadow: inset 0 0 0 1px var(--fox);
  }
}

/* 5.2 桌面端：横向胶囊 */
@media (min-width: 901px) {
  .nav { display: block; flex: 1 1 auto; min-width: 0; }
  .nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
  }
  .nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 13px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
  }
  .nav__link:hover {
    background: rgba(23, 23, 23, .06);
    box-shadow: inset 0 0 0 1px var(--neon);
  }
  .nav__link[aria-current="page"] { background: var(--fox); color: var(--cream); }
  .nav-island__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
  }
  .nav-toggle { display: none; }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .nav__link { padding: 0 9px; font-size: 14px; }
  .nav-island__actions .btn--ghost { display: none; }
}

/* 6. 页脚 ------------------------------------------------------------------ */
.site-footer {
  position: relative;
  margin-top: auto;
  padding: clamp(36px, 5vw, 68px) var(--gutter) 26px;
  background-color: var(--arena);
  background-image:
    linear-gradient(rgba(244, 235, 221, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 235, 221, .055) 1px, transparent 1px);
  background-size: 100% 64px, 64px 100%;
  border-top: 3px solid var(--fox);
  color: var(--cream);
}

.footer__top {
  display: grid;
  gap: clamp(26px, 3vw, 40px);
  max-width: var(--maxw);
  margin: 0 auto;
}

.footer__brand { display: flex; flex-direction: column; gap: 10px; }
.footer__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--fox);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  transition: background .18s ease;
}
.footer__mark:hover { background: var(--amber); }
.footer__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.footer__line { font-size: 14px; color: rgba(244, 235, 221, .72); max-width: 34ch; }
.footer__stamp {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(244, 235, 221, .6);
}
.footer__stamp-key {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  background: rgba(155, 255, 87, .16);
  color: var(--neon);
  box-shadow: inset 0 0 0 1px rgba(155, 255, 87, .4);
}

.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--sand);
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(244, 235, 221, .16);
}
.footer__links { display: flex; flex-direction: column; gap: 2px; }
.footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 15px;
  color: rgba(244, 235, 221, .86);
  transition: color .16s ease, transform .16s ease;
}
.footer__link::before {
  content: "";
  width: 6px; height: 6px;
  margin-right: 10px;
  background: var(--fox);
  transform: rotate(45deg) scale(.7);
  transition: transform .16s ease, background .16s ease;
}
.footer__link:hover { color: var(--neon); transform: translateX(2px); }
.footer__link:hover::before { background: var(--neon); transform: rotate(45deg) scale(1); }

.footer__links--plain { gap: 6px; }
.footer__links--plain li {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 235, 221, .82);
  overflow-wrap: anywhere;
}
.footer__note {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(244, 235, 221, .58);
  border-left: 2px solid var(--amber);
  padding-left: 12px;
  max-width: 34ch;
}

.footer__stats { display: flex; flex-direction: column; gap: 8px; }
.footer__stats li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(244, 235, 221, .18);
}
.footer__stat-key {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: rgba(244, 235, 221, .6);
}
.footer__stat-val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--neon);
  text-align: right;
}
.footer__cta { margin-top: 6px; align-self: flex-start; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--maxw);
  margin: clamp(26px, 3.4vw, 44px) auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 235, 221, .16);
}
.footer__copy {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(244, 235, 221, .56);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(244, 235, 221, .74);
  transition: color .16s ease;
}
.footer__legal-link:hover { color: var(--neon); }

/* 7. 通用按钮 -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--pulse {
  background: var(--fox);
  color: var(--cream);
  box-shadow: 0 8px 20px -12px rgba(242, 75, 42, .95);
}
.btn--pulse:hover { background: #dd3d1c; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(23, 23, 23, .28);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--neon), 0 0 0 3px rgba(155, 255, 87, .16); }
.btn--neon { background: var(--neon); color: var(--arena); }
.btn--neon:hover { background: #b3ff7c; }
.btn--dark { background: var(--arena); color: var(--cream); }
.btn--dark:hover { box-shadow: inset 0 0 0 1.5px var(--neon); }
.btn--block { width: 100%; }

/* 8. 布局容器与区块 -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(38px, 5.4vw, 78px); }
.section--paper { background: var(--cream-2); }
.section--dark { background: var(--arena); color: var(--cream); }
.section--dark .section-head { border-bottom-color: rgba(244, 235, 221, .18); }
.section--dark .section-note,
.section--dark .kicker { color: rgba(244, 235, 221, .7); }
.section--dark .card {
  background: rgba(244, 235, 221, .06);
  border-color: rgba(244, 235, 221, .16);
  color: var(--cream);
}
.section--dark .note { border-left-color: var(--neon); color: rgba(244, 235, 221, .76); }
.section--dark .hairline {
  background: repeating-linear-gradient(90deg, rgba(244, 235, 221, .3) 0 8px, transparent 8px 14px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: clamp(20px, 3vw, 36px);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(23, 23, 23, .16);
}
.section-title { font-size: clamp(25px, 3.4vw, 38px); }
.section-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--steel);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--fox);
  flex: none;
}

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(218px, 1fr)); }
.grid--split { grid-template-columns: 1fr; }

.hairline {
  height: 1px;
  border: 0;
  margin-block: clamp(20px, 3vw, 34px);
  background: repeating-linear-gradient(90deg, rgba(23, 23, 23, .3) 0 8px, transparent 8px 14px);
}

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

.text-link {
  font-weight: 700;
  color: var(--brown);
  box-shadow: inset 0 -2px 0 var(--fox);
  transition: color .18s ease, box-shadow .18s ease;
}
.text-link:hover { color: var(--fox); box-shadow: inset 0 -2px 0 var(--neon); }

/* 9. 基础组件 -------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 26px);
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(23, 23, 23, .14);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--fox);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s cubic-bezier(.2, .8, .2, 1);
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 23, 23, .32);
  box-shadow: 0 22px 44px -34px rgba(14, 26, 36, .85);
}
.card:hover::before { transform: scaleX(1); }

.panel {
  padding: clamp(20px, 3vw, 32px);
  background: var(--arena);
  color: var(--cream);
  border-left: 3px solid var(--fox);
}
.panel p { color: rgba(244, 235, 221, .82); }

.note {
  padding-left: 14px;
  border-left: 2px solid var(--sand);
  font-size: 14px;
  line-height: 1.72;
  color: var(--steel);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(23, 23, 23, .22);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--steel);
  white-space: nowrap;
}
.tag--fox { background: var(--fox); color: var(--cream); border-color: transparent; }
.tag--neon { background: var(--neon); color: var(--arena); border-color: transparent; }

.breadcrumb { padding-block: 16px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--steel);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--mist); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumb a:hover { color: var(--fox); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

.prose { max-width: 68ch; font-size: 17px; line-height: 1.8; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: .5em; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .74em;
  width: 7px;
  height: 7px;
  background: var(--fox);
  transform: rotate(45deg);
}
.prose blockquote {
  padding: 14px 18px;
  border-left: 3px solid var(--fox);
  background: rgba(255, 255, 255, .55);
  font-size: 16px;
  color: var(--brown);
}

/* 9.1 可复用图片容器（页面阶段放入 <img>） */
.figure {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(23, 23, 23, .18);
  background: var(--arena);
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.figure:hover img { transform: scale(1.03); }
.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(14, 26, 36, .16) 0 1px, transparent 1px 3px);
  opacity: .5;
}
.figure--wide { aspect-ratio: 21 / 9; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure--square { aspect-ratio: 1 / 1; }
.figure__tag {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 4px 9px;
  background: var(--neon);
  color: var(--arena);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
}
.figure__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent, rgba(14, 26, 36, .88));
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

/* 9.2 主题筛选 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(23, 23, 23, .16);
  background: rgba(255, 255, 255, .5);
}
.filter-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(23, 23, 23, .22);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--steel);
  background: transparent;
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.filter-btn:hover {
  color: var(--ink);
  border-color: var(--neon);
  box-shadow: inset 0 0 0 1px var(--neon);
  transform: translateY(-2px);
}
.filter-btn[aria-pressed="true"] {
  background: var(--arena);
  border-color: var(--arena);
  color: var(--neon);
}
.filter-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--steel);
}
.is-filtered-out { display: none !important; }

/* 10. 入场与响应式 --------------------------------------------------------- */
.is-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}
.is-reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .55s cubic-bezier(.2, .8, .2, 1);
}

@media (min-width: 700px) {
  .grid--split { grid-template-columns: 1.02fr .98fr; align-items: start; }
}

@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1.3fr .85fr 1.15fr 1fr; }
}

@media (min-width: 1024px) {
  :root { --header-clear: 112px; }
  body { padding-left: var(--rail); background-size: 112px 100%; }
  .nav-shell { left: var(--rail); }
  .scroll-meter { left: var(--rail); }
  .site-header__rail {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail);
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 0 24px;
    background: var(--arena);
    border-right: 1px solid rgba(244, 235, 221, .14);
  }
  .site-header__rail::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -1px;
    width: 3px;
    background: linear-gradient(180deg, var(--fox), rgba(242, 75, 42, 0) 46%);
  }
  .rail__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--fox);
    color: var(--cream);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
    transition: background .18s ease;
  }
  .rail__brand:hover { background: var(--amber); }
  .rail__glyph {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 900;
    line-height: 1;
  }
  .rail__line {
    flex: 1 1 auto;
    width: 1px;
    min-height: 40px;
    background: linear-gradient(180deg, var(--neon), rgba(155, 255, 87, 0));
  }
  .rail__spine {
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .42em;
    color: rgba(244, 235, 221, .72);
    max-width: none;
  }
  .rail__code {
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .3em;
    color: var(--sand);
  }
}

@media (max-width: 480px) {
  .nav-island { padding: 6px 6px 6px 10px; gap: 8px; }
  .nav-island__text em { display: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .is-reveal-ready [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .filter-btn:hover, .footer__link:hover { transform: none; }
  .figure:hover img { transform: none; }
}
