/* ============================================================
   royal-sports-hg.com.cn — 共享样式表 /assets/site.css
   皇冠体彩中心 · 深墨绿轨道 + 皇冠金 + 体彩红
   ============================================================ */

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

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

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
img, picture, svg, video { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  --ink: #0B3B2E;
  --ink-deep: #072A20;
  --ink-soft: #12503E;
  --gold: #D4AF37;
  --gold-light: #F0D98C;
  --red: #C8102E;
  --red-deep: #8E0B20;
  --paper: #FBF7EE;
  --white: #FFFFFF;
  --text: #1A1A17;
  --muted: #6E7A72;
  --data: #3E8E6E;

  --hairline: rgba(212, 175, 55, .40);
  --hairline-soft: rgba(212, 175, 55, .22);
  --rule-ink: rgba(26, 26, 23, .12);

  --rail-w: 232px;
  --bar-h: 64px;
  --cut: 18px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 240ms;
  --dur-slow: 320ms;

  --font-display: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shadow-1: 0 22px 48px -34px rgba(7, 42, 32, .75);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--bar-h);
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .05;
  background-image: radial-gradient(rgba(11, 59, 46, .75) .5px, transparent .5px);
  background-size: 3px 3px;
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 7vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.005em;
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.35;
}

h4, .h4 { font-size: 22px; font-weight: 700; line-height: 1.4; }
h5, .h5 { font-size: 18px; font-weight: 700; line-height: 1.5; }
p { max-width: 34em; }
strong, b { font-weight: 700; }

.mono {
  font-family: var(--font-mono);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.muted { color: var(--muted); }
.gold { color: var(--gold); }
.text-red { color: var(--red); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title { position: relative; padding-bottom: 16px; }
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

.lead {
  font-size: 18px;
  line-height: 1.9;
  color: #33403A;
  max-width: 34em;
}

.prose {
  font-size: 16px;
  line-height: 1.85;
  max-width: 34em;
  color: var(--text);
}
.prose--wide { max-width: 40em; }
.prose p + p,
.prose ul + p,
.prose p + ul { margin-top: 1em; }
.prose h2 { margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .45em; }
.prose ul { display: grid; gap: 8px; margin-top: .9em; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 9px;
  height: 1px;
  background: var(--gold);
}

.on-dark { color: #DCE9E2; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark .section-title { color: #FFFFFF; }
.on-dark p, .on-dark .lead { color: #C9DCD3; }
.on-dark .muted { color: rgba(220, 233, 226, .68); }
.on-dark a:not(.btn):hover { color: var(--gold-light); }

/* ---------- 4. 无障碍 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 11px 18px;
  background: var(--gold);
  color: var(--ink-deep);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 1px;
}
.site-rail :focus-visible { outline-color: var(--gold); }
.site-foot :focus-visible { outline-color: var(--gold); }

#main-content { display: block; }

/* ---------- 5. 左侧导览轨道 / header ---------- */
.site-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--ink);
  color: #DCE9E2;
  border-bottom: 1px solid var(--hairline-soft);
  box-shadow: 0 16px 34px -28px rgba(7, 42, 32, .95);
}

.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--bar-h);
  padding: 0 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--gold-light), var(--gold) 70%);
  color: var(--ink-deep);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.brand-text { display: grid; gap: 1px; min-width: 0; }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .02em;
  color: #FFFFFF;
}
.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .09em;
  color: var(--gold-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--hairline);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav-toggle:hover { background: rgba(212, 175, 55, .14); border-color: var(--gold); }
.nav-toggle-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}
.nav-toggle-icon::before { top: 0; }
.nav-toggle-icon::after { bottom: 0; }
.site-rail[data-open] .nav-toggle-icon::before { transform: translateY(5px) rotate(45deg); }
.site-rail[data-open] .nav-toggle-icon::after { transform: translateY(-5px) rotate(-45deg); }

.rail-drawer {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--bar-h));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 18px 24px;
  background: var(--ink-deep);
  border-top: 1px solid var(--hairline-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.site-rail[data-open] .rail-drawer {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.rail-period {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 7px 0 7px 11px;
  border-left: 2px solid var(--red);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--gold-light);
  max-width: none;
}
.rail-period-note { color: rgba(220, 233, 226, .7); font-family: var(--font-body); }

.rail-nav { counter-reset: rail; }
.rail-nav-list { display: grid; gap: 2px; }
.rail-nav-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px 11px 15px;
  font-size: 15px;
  color: #CFE0D8;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.rail-nav-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--gold);
  transform: translateY(-50%);
  transition: height var(--dur) var(--ease);
}
.rail-nav-list a::after {
  content: "0" counter(rail);
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(240, 217, 140, .5);
}
.rail-nav-list li { counter-increment: rail; }
.rail-nav-list a:hover { color: #FFFFFF; background: rgba(212, 175, 55, .09); }
.rail-nav-list a:hover::before { height: 58%; }
.rail-nav-list a[aria-current="page"] {
  color: #FFFFFF;
  font-weight: 600;
  background: rgba(212, 175, 55, .14);
}
.rail-nav-list a[aria-current="page"]::before { height: 72%; }
.rail-nav-list a[aria-current="page"]::after { color: var(--gold); }

.rail-foot { margin-top: auto; display: grid; gap: 14px; }
.rail-cta { width: 100%; }

.rail-progress {
  display: block;
  height: 3px;
  background: rgba(212, 175, 55, .18);
  overflow: hidden;
}
.rail-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold) 70%, var(--gold-light));
  transition: width 120ms linear;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  text-align: center;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold { background: var(--gold); color: var(--ink-deep); }
.btn-gold:hover { background: var(--gold-light); }

.btn-red { background: var(--red); color: #FFFFFF; }
.btn-red:hover { background: var(--red-deep); }

.btn-ghost { background: transparent; border-color: var(--hairline); color: var(--gold-light); }
.btn-ghost:hover { background: rgba(212, 175, 55, .14); border-color: var(--gold); color: #FFFFFF; }

.btn-outline { background: transparent; border-color: rgba(11, 59, 46, .35); color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

.btn-block { width: 100%; }

/* ---------- 7. 布局容器 ---------- */
.wrap {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}
.wrap--tight {
  width: min(100% - 40px, 880px);
  margin-inline: auto;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}
.col-12, .col-main, .col-side, .col-4, .col-5, .col-7 { grid-column: span 12; }

.stack { display: grid; gap: 18px; }
.stack--lg { gap: 34px; }

.band { padding-block: 54px; }
.band--paper { background: var(--paper); }
.band--white { background: var(--white); }
.band--ink { background: var(--ink); color: #DCE9E2; }
.band--deep { background: var(--ink-deep); color: #DCE9E2; }

.hairline {
  height: 1px;
  margin: 44px 0;
  background: linear-gradient(90deg, transparent, var(--hairline) 14%, var(--hairline) 86%, transparent);
}

/* ---------- 8. 通用组件 ---------- */
.panel {
  position: relative;
  background: var(--white);
  padding: 26px 24px;
  box-shadow: var(--shadow-1);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.panel--paper { background: var(--paper); box-shadow: none; }
.panel--ink { background: var(--ink); color: #DCE9E2; }
.panel--deep { background: var(--ink-deep); color: #DCE9E2; }
.panel--ink h2, .panel--ink h3, .panel--deep h2, .panel--deep h3 { color: #FFFFFF; }
.panel--ink p, .panel--deep p { color: #C9DCD3; }
.panel-cut--tl {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.panel-top-rule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 68px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

.tile {
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 22px 20px;
}
.tile--ink { background: var(--ink); border-top-color: var(--red); color: #DCE9E2; }
.tile-value {
  font-family: var(--font-mono);
  font-size: 28px;
  letter-spacing: .02em;
  line-height: 1.25;
  color: var(--ink);
}
.tile--ink .tile-value { color: var(--gold-light); }
.tile-label {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
}
.tile--ink .tile-label { color: rgba(220, 233, 226, .72); }

.badge {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--hairline-soft);
  background: rgba(212, 175, 55, .16);
  color: #8A6D14;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
}
.badge--red { background: rgba(200, 16, 46, .1); border-color: rgba(200, 16, 46, .3); color: var(--red); }
.badge--ink { background: rgba(11, 59, 46, .08); border-color: rgba(11, 59, 46, .22); color: var(--ink); }

.breadcrumbs { font-size: 13px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "／"; margin-right: 8px; color: rgba(110, 122, 114, .6); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* 分段切换 */
.tabs { display: block; }
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--rule-ink);
}
.tab {
  padding: 11px 16px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.tab:hover { color: var(--ink); background: rgba(212, 175, 55, .1); }
.tab[aria-selected="true"] {
  color: var(--red);
  border-bottom-color: var(--red);
  background: linear-gradient(180deg, transparent, rgba(200, 16, 46, .07));
}
.tabpanel { padding-top: 22px; }
.tabs--ink .tablist { border-bottom-color: var(--hairline-soft); }
.tabs--ink .tab { color: rgba(220, 233, 226, .72); }
.tabs--ink .tab[aria-selected="true"] { color: var(--gold-light); border-bottom-color: var(--gold); }

/* 手风琴 */
.accordion { display: grid; }
.acc-item { border-bottom: 1px solid var(--rule-ink); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 2px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.acc-trigger::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1.2;
  color: var(--gold);
}
.acc-trigger[aria-expanded="true"] { color: var(--red); }
.acc-trigger[aria-expanded="true"]::after { content: "–"; color: var(--red); }
.acc-trigger:hover { color: var(--red); }
.acc-panel { padding: 0 2px 20px; }
.acc-panel[hidden] { display: none; }
.acc-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.acc-tools .btn { padding: 8px 14px; font-size: 13px; }

/* 图片容器基础规则（页面阶段放入占位内容） */
.frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--ink) 0%, var(--ink-deep) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.frame > * { width: 100%; height: 100%; object-fit: cover; }
.frame--16x9 { aspect-ratio: 16 / 9; }
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--3x2 { aspect-ratio: 3 / 2; }
.frame--1x1 { aspect-ratio: 1 / 1; }
.frame--21x9 { aspect-ratio: 21 / 9; }
.frame--tall { aspect-ratio: 3 / 4; }
.frame--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, .14) 1px, transparent 1px);
  background-size: 38px 38px;
}
.frame-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(0deg, rgba(7, 42, 32, .92), rgba(7, 42, 32, 0));
  color: #EAF2EE;
  font-size: 13px;
  line-height: 1.6;
}

/* 进场显现 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* 返回顶部 */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.back-to-top:hover { background: var(--ink-deep); color: var(--gold-light); }
.back-to-top[data-visible="false"] {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
}

/* ---------- 9. 页脚 ---------- */
.site-foot {
  position: relative;
  margin-top: 0;
  padding: 54px 0 26px;
  background: var(--ink-deep);
  color: #BFD3C9;
}
.site-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0 22%, var(--gold) 22% 64%, var(--data) 64% 100%);
}
.site-foot::after {
  content: "";
  position: absolute;
  right: -6%;
  top: 46px;
  width: 44%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
  transform: rotate(-14deg);
  pointer-events: none;
}

.foot-inner {
  position: relative;
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.foot-brand { display: grid; gap: 14px; align-content: start; }
.brand--foot .brand-name { font-size: 18px; }
.brand--foot .brand-sub { color: rgba(240, 217, 140, .8); }
.foot-tagline {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(191, 211, 201, .82);
  max-width: 26em;
}

.foot-col { display: grid; gap: 2px; align-content: start; }
.foot-title {
  position: relative;
  margin-bottom: 16px;
  padding-bottom: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  color: var(--gold);
}
.foot-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--red);
}

.foot-list { display: grid; gap: 2px; }
.foot-list a {
  position: relative;
  display: block;
  padding: 7px 0 7px 16px;
  font-size: 14px;
  color: #BFD3C9;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.foot-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
  opacity: .7;
  transition: width var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.foot-list a:hover { color: var(--gold-light); padding-left: 20px; }
.foot-list a:hover::before { width: 12px; opacity: 1; }

.foot-contact { display: grid; gap: 12px; }
.foot-contact li { display: grid; gap: 3px; font-size: 14px; line-height: 1.7; }
.foot-contact .mono { font-size: 13px; color: #E4EFE8; word-break: break-all; }
.foot-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(212, 175, 55, .85);
}

.foot-legal {
  position: relative;
  width: min(100% - 40px, 1180px);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, .2);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: baseline;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(191, 211, 201, .76);
}
.foot-legal p { max-width: none; }
.foot-icp { font-family: var(--font-mono); letter-spacing: .04em; color: rgba(240, 217, 140, .85); }

/* ---------- 10. 断点 ---------- */
@media (min-width: 720px) {
  .foot-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 40px; }
  .foot-brand { grid-column: 1 / -1; }
  .band { padding-block: 64px; }
  .panel { padding: 30px 28px; }
  .wrap, .wrap--tight, .foot-inner, .foot-legal { width: min(100% - 56px, 1180px); }
  .wrap--tight { width: min(100% - 56px, 880px); }
  .grid-12 { gap: 24px; }
  .frame--21x9 { aspect-ratio: 21 / 9; }
}

@media (min-width: 900px) {
  .col-main { grid-column: span 7; }
  .col-7 { grid-column: span 7; }
  .col-5 { grid-column: span 5; }
  .col-4 { grid-column: span 4; }
  .col-side { grid-column: 9 / span 4; }
}

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

  .site-rail {
    right: auto;
    bottom: 0;
    width: var(--rail-w);
    display: flex;
    flex-direction: column;
    padding: 28px 20px 24px;
    border-bottom: 0;
    border-right: 1px solid var(--hairline-soft);
    box-shadow: none;
    overflow: hidden;
  }
  .site-rail::before {
    content: "";
    position: absolute;
    right: -30%;
    bottom: 26%;
    width: 170%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: rotate(-24deg);
    opacity: .32;
    pointer-events: none;
  }

  .rail-head {
    display: block;
    height: auto;
    padding: 0;
  }
  .nav-toggle { display: none; }

  .rail-drawer {
    position: static;
    flex: 1;
    min-height: 0;
    max-height: none;
    overflow: visible;
    margin-top: 26px;
    padding: 0;
    background: transparent;
    border-top: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    gap: 22px;
  }

  .rail-period { font-size: 11px; }
  .rail-nav-list a { padding: 11px 10px 11px 15px; font-size: 15px; }

  .back-to-top { right: 26px; bottom: 26px; }
  .band { padding-block: 76px; }
}

@media (min-width: 1180px) {
  .foot-inner { grid-template-columns: 1.25fr 1fr 1fr 1.1fr; gap: 40px 48px; }
  .foot-brand { grid-column: auto; }
}

/* ---------- 11. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}
