/* =========================================================
   贝博体育 · 共享站点样式 /assets/site.css
   01 重置  02 变量  03 基础排版  04 通用组件
   05 页头轨道  06 页脚封底  07 响应式  08 动效降级
   ========================================================= */

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

/* ---------- 02 变量 ---------- */
:root {
  --ink-900: #0B1620;
  --pine-900: #0A2B26;
  --paper-050: #F4F8FA;
  --ice-100: #E2EDF2;
  --ice-300: #9FC6D8;
  --ice-500: #3E86A8;
  --pine-600: #1C6155;
  --flame-500: #F04E2B;
  --flame-300: #FF8F66;
  --sand-100: #EFE7DA;

  --rail-w: 236px;
  --content-max: 1120px;
  --gutter: clamp(16px, 4vw, 48px);
  --dur: 180ms;
  --ease: cubic-bezier(.2, .7, .3, 1);

  --font-display: "Sora", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --line-thin: 1px solid var(--ice-300);
  --line-bold: 3px solid var(--ink-900);
  --shadow-hard: 6px 6px 0 rgba(11, 22, 32, .9);
  --shadow-soft: 0 16px 40px -30px rgba(11, 22, 32, .8);
}

/* ---------- 03 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-900);
  background-color: var(--paper-050);
  background-image:
    linear-gradient(to right, rgba(159, 198, 216, .16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(159, 198, 216, .16) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--flame-500); color: #fff; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--flame-500);
  outline-offset: 3px;
}

/* ---------- 04 通用组件 ---------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 980px) {
  .page-grid { grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr); }
}

.lead {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--ice-500);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
}

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink-900);
  margin-bottom: clamp(18px, 3vw, 30px);
}
.section-head__no {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--ice-500);
  padding-bottom: .35em;
}
.section-head__title {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}
.section-head__note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--pine-600);
  text-align: right;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--ice-500);
  padding: clamp(14px, 2vw, 22px) 0;
}
.crumb a {
  color: var(--pine-600);
  border-bottom: 1px solid var(--ice-300);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.crumb a:hover { color: var(--flame-500); border-bottom-color: var(--flame-500); }
.crumb__sep { color: var(--ice-300); }
.crumb [aria-current="page"] { color: var(--ink-900); }

.index-no {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--ice-500);
  transition: color var(--dur) var(--ease);
}

.meta {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .05em;
  color: var(--pine-600);
  line-height: 1.6;
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ice-300);
  padding: clamp(16px, 2.4vw, 24px);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--ink-900);
  box-shadow: var(--shadow-hard);
}
.card:hover .index-no { color: var(--flame-500); }
.card--bold {
  border: var(--line-bold);
  box-shadow: var(--shadow-hard);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .05em;
  padding: .2rem .55rem;
  border: 1px solid var(--ice-300);
  background: var(--ice-100);
  color: var(--pine-600);
}
.tag--flame {
  border-color: var(--flame-300);
  background: #FFE7DF;
  color: #A8300F;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .05em;
  padding: .38rem .8rem;
  border: 1px solid var(--ice-300);
  background: #fff;
  color: var(--ink-900);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.chip:hover { border-color: var(--ice-500); color: var(--ice-500); }
.chip[aria-pressed="true"] {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--paper-050);
}

.pull {
  background: var(--sand-100);
  border-left: 4px solid var(--flame-500);
  padding: clamp(16px, 2.4vw, 26px);
  font-size: 1.02rem;
}

.panel {
  position: relative;
  overflow: hidden;
  background-color: var(--pine-900);
  color: var(--paper-050);
  padding: clamp(20px, 3vw, 34px);
  background-image:
    repeating-linear-gradient(90deg, rgba(159, 198, 216, .10) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(159, 198, 216, .10) 0 1px, transparent 1px 24px);
}

.surface {
  background: var(--ice-100);
  border: var(--line-thin);
  padding: clamp(16px, 2.4vw, 24px);
}

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.05rem; margin-top: 1.5em; }
.prose a {
  color: var(--pine-600);
  border-bottom: 1px solid var(--ice-300);
}
.prose a:hover { color: var(--flame-500); border-bottom-color: var(--flame-500); }

.blueprint {
  background-image:
    linear-gradient(to right, rgba(159, 198, 216, .38) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(159, 198, 216, .38) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* 图片容器基础规则（页面阶段放入 img / picture） */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--ice-100);
  background-image: linear-gradient(135deg, rgba(159, 198, 216, .55), rgba(226, 237, 242, .18) 58%, rgba(10, 43, 38, .22));
  border: var(--line-bold);
  box-shadow: 6px 6px 0 rgba(11, 22, 32, .85);
}
.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--21x9 { aspect-ratio: 21 / 9; }
.media-frame--slant { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.media-frame__label {
  position: absolute;
  left: 0;
  bottom: 0;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  background: var(--ink-900);
  color: var(--paper-050);
  padding: .3rem .6rem;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
  line-height: 1;
  text-align: center;
  padding: .88rem 1.15rem;
  border: 2px solid var(--ink-900);
  background: var(--paper-050);
  color: var(--ink-900);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--accent {
  background: var(--flame-500);
  border-color: var(--flame-500);
  color: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .45);
}
.btn--accent:hover {
  background: var(--flame-300);
  border-color: var(--flame-300);
  color: var(--ink-900);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .45);
}
.btn--ghost {
  background: transparent;
  color: var(--paper-050);
  border-color: rgba(226, 237, 242, .55);
}
.btn--ghost:hover {
  background: rgba(240, 78, 43, .14);
  border-color: var(--flame-300);
  color: #fff;
}
.btn--block { display: flex; width: 100%; }

/* 图例（页头深底默认，浅底加 .legend--light） */
.legend { display: block; }
.legend__title {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  color: rgba(159, 198, 216, .8);
  margin-bottom: .6rem;
}
.legend__list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .9rem;
}
.legend__item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .73rem;
  letter-spacing: .04em;
  color: rgba(244, 248, 250, .82);
}
.legend__swatch {
  width: 11px;
  height: 11px;
  flex: none;
  border-radius: 1px;
}
.legend__swatch--topic { background: var(--ice-500); }
.legend__swatch--transfer { background: var(--flame-300); }
.legend__swatch--reel { background: #2E8C77; }
.legend__swatch--data { background: var(--ice-300); }
.legend--light .legend__title { color: var(--pine-600); }
.legend--light .legend__item { color: var(--ink-900); }

/* ---------- 05 页头轨道 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 300;
  transform: translateY(-180%);
  background: var(--flame-500);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  padding: .6rem 1rem;
  border: 2px solid var(--ink-900);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background-color: var(--ink-900);
  color: var(--paper-050);
  border-bottom: 1px solid rgba(159, 198, 216, .28);
}

.rail {
  display: flex;
  flex-direction: column;
  background-image:
    repeating-linear-gradient(90deg, rgba(159, 198, 216, .09) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(159, 198, 216, .09) 0 1px, transparent 1px 24px);
}

.rail__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
}

.rail__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 38px;
  height: 38px;
  background: var(--flame-500);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 2px solid var(--ice-100);
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .45);
  transition: transform var(--dur) var(--ease);
}
.rail__brand:hover .brand__mark {
  transform: rotate(0deg) translateY(-1px);
}
.brand__text { display: block; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .01em;
  line-height: 1.2;
  color: var(--paper-050);
}
.brand__tag {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .1em;
  color: rgba(159, 198, 216, .85);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .62rem;
  border: 1px solid rgba(159, 198, 216, .45);
  color: var(--paper-050);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--flame-300); color: var(--flame-300); }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 14px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.rail__drawer { display: none; }
.site-header[data-open="true"] .rail__drawer {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 62px);
  max-height: calc(100dvh - 62px);
  overflow-y: auto;
  border-top: 1px solid rgba(159, 198, 216, .3);
  -webkit-overflow-scrolling: touch;
}

.rail-nav { padding: 18px 14px 4px; }
.rail-nav__title {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  color: rgba(159, 198, 216, .72);
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(159, 198, 216, .25);
}
.rail-nav__list { display: flex; flex-direction: column; gap: 2px; }

.rail-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: .55rem .5rem .55rem .7rem;
  border-left: 3px solid transparent;
  color: rgba(244, 248, 250, .82);
  font-size: .94rem;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.rail-link__no {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--ice-500);
  transition: color var(--dur) var(--ease);
}
.rail-link:hover {
  background: rgba(62, 134, 168, .18);
  border-left-color: var(--flame-300);
  color: #fff;
}
.rail-link:hover .rail-link__no { color: var(--flame-300); }
.rail-link[aria-current="page"] {
  background: linear-gradient(90deg, rgba(240, 78, 43, .22), rgba(240, 78, 43, 0));
  border-left-color: var(--flame-500);
  color: #fff;
}
.rail-link[aria-current="page"] .rail-link__no { color: var(--flame-300); }

.rail-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding: 18px 16px 22px;
  border-top: 1px solid rgba(159, 198, 216, .22);
}
.rail-progress {
  position: relative;
  height: 3px;
  width: 100%;
  background: rgba(159, 198, 216, .25);
  overflow: hidden;
}
.rail-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--flame-500);
  transition: width 120ms linear;
}
.rail-foot__note {
  font-size: .72rem;
  line-height: 1.6;
  color: rgba(159, 198, 216, .78);
}
.rail-foot__mail {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .02em;
  color: var(--ice-300);
  word-break: break-all;
}

/* ---------- 06 页脚封底 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 110px);
  padding: clamp(34px, 5vw, 62px) var(--gutter) 26px;
  color: var(--paper-050);
  background-color: var(--ink-900);
  background-image:
    repeating-linear-gradient(90deg, rgba(159, 198, 216, .09) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(159, 198, 216, .09) 0 1px, transparent 1px 48px);
  border-top: 3px solid var(--flame-500);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: repeating-linear-gradient(90deg,
    var(--flame-500) 0 44px,
    #2E8C77 44px 88px,
    var(--ice-500) 88px 132px);
}

.footer__inner {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
}

.footer__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: clamp(18px, 3vw, 26px);
  border-bottom: 1px solid rgba(159, 198, 216, .28);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__brandtext { display: block; }
.footer__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 52px;
  height: 52px;
  background: var(--flame-500);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  border: 2px solid var(--ice-100);
  transform: rotate(-4deg);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .5);
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.footer__line {
  margin-top: 6px;
  font-size: .9rem;
  color: rgba(226, 237, 242, .72);
  max-width: 46ch;
}

.footer__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  padding-top: clamp(22px, 4vw, 38px);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: clamp(18px, 3vw, 32px);
}
.footer__col-title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--flame-300);
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(159, 198, 216, .3);
}
.footer__list li + li { margin-top: 8px; }
.footer__list a {
  font-size: .92rem;
  color: rgba(244, 248, 250, .8);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer__list a:hover {
  color: #fff;
  border-bottom-color: var(--flame-500);
}

.footer__contact {
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid rgba(159, 198, 216, .32);
  background: linear-gradient(160deg, rgba(10, 43, 38, .92), rgba(11, 22, 32, .35));
}
.footer__contact .footer__col-title { color: var(--ice-300); }

.contact-list { display: block; }
.contact-list__row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(159, 198, 216, .22);
  font-size: .86rem;
}
.contact-list__row:last-child { border-bottom: 0; }
.contact-list__row dt {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: rgba(159, 198, 216, .88);
}
.contact-list__row dd {
  margin: 0;
  color: rgba(244, 248, 250, .92);
  word-break: break-word;
}
.footer__service {
  margin-top: 10px;
  font-size: .76rem;
  line-height: 1.6;
  color: rgba(226, 237, 242, .62);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  margin-top: clamp(26px, 4vw, 44px);
  padding-top: 18px;
  border-top: 1px solid rgba(159, 198, 216, .26);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .04em;
  color: rgba(226, 237, 242, .62);
}
.footer__legal { color: rgba(159, 198, 216, .85); }
.footer__copy { color: rgba(226, 237, 242, .55); }

.footer__totop {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .8rem;
  border: 1px solid rgba(159, 198, 216, .45);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--paper-050);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.footer__totop:hover {
  border-color: var(--flame-300);
  color: var(--flame-300);
  background: rgba(240, 78, 43, .12);
}

/* ---------- 07 响应式 ---------- */
@media (min-width: 720px) {
  .footer__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

@media (min-width: 900px) {
  .footer__body { grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1fr); }
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }

  .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-w);
    height: 100vh;
    height: 100dvh;
    border-bottom: 0;
    border-right: 1px solid rgba(159, 198, 216, .3);
  }
  .rail { height: 100%; }

  .rail__top { padding: 22px 18px; }

  .nav-toggle { display: none; }

  .rail__drawer {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    border-top: 0;
  }
  .site-header[data-open="true"] .rail__drawer {
    display: flex;
    max-height: none;
  }

  .rail-nav { padding: 22px 16px 4px; }
}

@media (max-width: 419px) {
  .brand__tag { display: none; }
  .footer__brand { align-items: flex-start; }
  .contact-list__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---------- 08 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .btn:hover,
  .card:hover,
  .rail__brand:hover .brand__mark { transform: none; }
  .site-footer::before { background: var(--flame-500); }
}
