/* ==========================================================================
   196体育赛场 · 共享样式 /assets/site.css
   深夜战术分析室：深墨绿基底 + 荧光青数据高亮 + 暖橙关键操作
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --c-ink: #0B3D2E;
  --c-ink-deep: #072A20;
  --c-ink-abyss: #051A14;
  --c-card: #0F4C3A;
  --c-neon: #00E5C7;
  --c-neon-soft: #7CF2DF;
  --c-orange: #FF6B35;
  --c-orange-soft: #FFB199;
  --c-text: #E8F3EE;
  --c-muted: #8FA9A0;
  --line: rgba(201, 216, 210, .18);
  --line-strong: rgba(201, 216, 210, .34);

  --rail-w: 220px;
  --status-h: 36px;
  --rail-head-h: 60px;

  --font-display: "Oswald", "Bebas Neue", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, "Courier New", monospace;

  --r-organic: 4px 16px 4px 16px;
  --r-organic-lg: 6px 22px 6px 22px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur: 260ms;

  --w-page: 1160px;
  --pad-x: clamp(20px, 4vw, 56px);
}

/* ---------- 2. 重置与基础排版 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--status-h) + 20px);
}

body {
  margin: 0;
  min-height: 100vh;
  padding-top: var(--status-h);
  padding-left: var(--rail-w);
  background-color: var(--c-ink);
  background-image:
    radial-gradient(58% 42% at 82% 6%, rgba(0, 229, 199, .10), transparent 62%),
    radial-gradient(52% 44% at 4% 74%, rgba(255, 107, 53, .07), transparent 58%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { display: block; height: auto; }

a { color: var(--c-neon-soft); text-underline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--c-text);
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

strong { font-weight: 700; color: #FFFFFF; }

::selection {
  background: var(--c-neon);
  color: #04241C;
}

#main-content { display: block; }

/* ---------- 3. 焦点与动效基线 ---------- */
:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

/* ---------- 4. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px 12px 4px 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease-out), background-color .18s var(--ease-out),
              color .18s var(--ease-out), border-color .18s var(--ease-out);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-orange);
  color: #24100A;
}

.btn--primary:hover { background: var(--c-orange-soft); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--c-text);
}

.btn--ghost:hover {
  border-color: var(--c-neon);
  color: var(--c-neon);
}

.btn--block { width: 100%; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--c-orange);
  color: #24100A;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: 0 0 6px 0;
  transform: translateY(-110%);
  transition: transform .2s var(--ease-out);
}

.skip-link:focus { transform: translateY(0); }

/* ---------- 6. 顶部状态信息条 ---------- */
.site-header {
  position: relative;
  z-index: 100;
}

.status-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--status-h);
  padding: 0 20px;
  background: var(--c-ink-deep);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.status-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}

.status-bar__item--muted { color: rgba(143, 169, 160, .78); }

.status-bar__sep { color: var(--line-strong); }

.status-bar__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-neon);
  box-shadow: 0 0 0 3px rgba(0, 229, 199, .18);
  animation: neon-pulse 2.4s var(--ease-out) infinite;
}

@keyframes neon-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.78); }
}

.status-bar__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-neon) 0%, var(--c-orange) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
  pointer-events: none;
}

/* ---------- 7. 左侧框架竖栏 ---------- */
.rail {
  position: fixed;
  top: var(--status-h);
  bottom: 0;
  left: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  width: var(--rail-w);
  padding: 22px 16px 20px;
  background: linear-gradient(180deg, var(--c-ink-deep) 0%, #061F18 100%);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  overflow-x: hidden;
}

.rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 216, 210, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 216, 210, .06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .6;
  pointer-events: none;
}

.rail__head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

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

.brand__mark {
  flex: none;
  padding: 6px 8px;
  background: var(--c-neon);
  color: #04241C;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
}

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

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--c-text);
}

.brand__tag {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--c-muted);
}

/* ---------- 9. 移动导航开关 ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 4px 10px 4px 10px;
  color: var(--c-text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  cursor: pointer;
  transition: border-color .18s var(--ease-out), color .18s var(--ease-out);
}

.nav-toggle:hover {
  border-color: var(--c-neon);
  color: var(--c-neon);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--c-neon);
  transition: transform .24s var(--ease-out), opacity .24s var(--ease-out);
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) 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(-5px) rotate(-45deg);
}

.nav-toggle__text {
  font-variant-numeric: tabular-nums;
}

/* ---------- 10. 主导航 ---------- */
.rail__drawer {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  padding-top: 18px;
}

.site-nav { display: block; }

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
}

.site-nav__item { margin: 0; }

.site-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-left: 2px solid transparent;
  border-radius: 3px 10px 3px 10px;
  color: var(--c-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: color .18s var(--ease-out), background-color .18s var(--ease-out),
              border-color .18s var(--ease-out);
}

.site-nav__link:hover {
  color: var(--c-text);
  background: rgba(0, 229, 199, .08);
}

.site-nav__num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--c-neon);
  opacity: .6;
}

.site-nav__label { min-width: 0; }

.site-nav__link[aria-current="page"] {
  color: var(--c-neon);
  background: rgba(0, 229, 199, .10);
  border-left-color: var(--c-neon);
}

.site-nav__link[aria-current="page"] .site-nav__num { opacity: 1; }
.site-nav__link[aria-current="page"] .site-nav__label { font-weight: 700; }

.rail__foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ---------- 11. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-ink) 0%, var(--c-ink-deep) 58%, var(--c-ink-abyss) 100%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -190px;
  right: -150px;
  width: 460px;
  height: 460px;
  border-radius: 48% 52% 62% 38% / 55% 42% 58% 45%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 229, 199, .16), rgba(0, 229, 199, 0) 68%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 216, 210, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 216, 210, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .55;
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--w-page);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--pad-x) 0;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.footer__brand {
  display: flex;
  flex: 1 1 320px;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.footer__mark {
  flex: none;
  margin-top: 6px;
  padding: 7px 9px;
  background: var(--c-neon);
  color: #04241C;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
}

.footer__statement {
  margin: 0 0 6px;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--c-text);
}

.footer__sub {
  margin: 0;
  font-size: 14px;
  color: var(--c-muted);
}

.footer__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}

.footer__col { min-width: 0; }

.footer__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-neon);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .18s var(--ease-out);
}

.footer__links a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--c-neon);
  transition: width .18s var(--ease-out), margin-right .18s var(--ease-out);
}

.footer__links a:hover { color: var(--c-neon); }
.footer__links a:hover::before { width: 12px; margin-right: 8px; }

.footer__contact {
  padding: clamp(26px, 3.6vw, 42px) 0;
  border-bottom: 1px solid var(--line);
}

.footer__contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 32px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text);
}

.footer__label {
  display: inline-block;
  min-width: 42px;
  margin-right: 10px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.footer__note {
  max-width: 72ch;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--c-muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 20px 0 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted);
}

.footer__legal-text { margin: 0; }

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
}

.footer__legal-links a {
  color: var(--c-muted);
  text-decoration: none;
  transition: color .18s var(--ease-out);
}

.footer__legal-links a:hover { color: var(--c-neon); }

/* ---------- 12. 版式容器与分区 ---------- */
.container {
  width: 100%;
  max-width: var(--w-page);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: clamp(48px, 7vw, 96px); }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-neon);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--c-neon);
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--c-text);
}

.section__lede {
  max-width: 58ch;
  margin: 0;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.75;
  color: var(--c-muted);
}

/* ---------- 13. 网格与卡片 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--c-card);
  border: 1px solid var(--line);
  border-radius: var(--r-organic);
  transition: border-color .22s var(--ease-out), transform .22s var(--ease-out);
}

.panel:hover {
  border-color: rgba(0, 229, 199, .55);
  transform: translateY(-2px);
}

/* ---------- 14. 标签、悬浮标签与数据 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--c-muted);
}

.tag--neon {
  color: var(--c-neon);
  border-color: rgba(0, 229, 199, .45);
  background: rgba(0, 229, 199, .08);
}

.tag--orange {
  color: var(--c-orange-soft);
  border-color: rgba(255, 107, 53, .45);
  background: rgba(255, 107, 53, .10);
}

.float-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--c-card);
  border: 1px solid rgba(0, 229, 199, .5);
  border-radius: 3px 10px 3px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--c-neon);
  transform: rotate(-1.5deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .38);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--c-neon);
}

.stat__label {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--c-muted);
}

/* ---------- 15. 表格 ---------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-organic);
  background: rgba(7, 42, 32, .5);
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  background: var(--c-card);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-neon);
  white-space: nowrap;
}

.data-table td { color: var(--c-text); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: rgba(0, 229, 199, .06); }

.data-table__num {
  font-family: var(--font-mono);
  color: var(--c-neon-soft);
  white-space: nowrap;
}

/* ---------- 16. 图片容器（页面阶段放 img 或内联 svg） ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-organic-lg);
  background:
    radial-gradient(120% 90% at 18% 12%, rgba(0, 229, 199, .16), transparent 60%),
    linear-gradient(160deg, #0F4C3A 0%, #072A20 100%);
}

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

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 216, 210, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 216, 210, .10) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .5;
  pointer-events: none;
}

/* ---------- 17. 面包屑与长文 ---------- */
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--line-strong);
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: color .18s var(--ease-out);
}

.breadcrumbs a:hover { color: var(--c-neon); }
.breadcrumbs [aria-current="page"] { color: var(--c-neon); }

.prose p {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-muted);
}

.link {
  color: var(--c-neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 199, .35);
  transition: border-color .18s var(--ease-out);
}

.link:hover { border-bottom-color: var(--c-neon); }

/* ---------- 18. 平板 ---------- */
@media (max-width: 1080px) {
  :root { --rail-w: 200px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 19. 移动端：顶栏 + 抽屉 ---------- */
@media (max-width: 900px) {
  html { scroll-padding-top: calc(var(--status-h) + var(--rail-head-h) + 16px); }

  body {
    padding-left: 0;
    padding-top: calc(var(--status-h) + var(--rail-head-h));
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 140;
    display: block;
  }

  .status-bar {
    position: relative;
    height: var(--status-h);
    padding: 0 14px;
    font-size: 10px;
  }

  .status-bar__item--muted { display: none; }

  .rail {
    position: static;
    width: auto;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: var(--c-ink-deep);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
    overflow: visible;
  }

  .rail::before { display: none; }

  .rail__head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: var(--rail-head-h);
    padding: 0 14px;
    border-bottom: 0;
  }

  .brand__name { font-size: 15px; }

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

  .rail__drawer {
    flex: 0 0 auto;
    gap: 0;
    max-height: 0;
    padding-top: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease-out);
  }

  .site-header[data-open="true"] .rail__drawer {
    max-height: calc(100vh - var(--status-h) - var(--rail-head-h));
    overflow-y: auto;
    border-top: 1px solid var(--line);
  }

  .site-nav__list {
    gap: 4px;
    padding: 10px 12px;
  }

  .site-nav__link {
    padding: 13px 12px;
    font-size: 15px;
    border-left-width: 3px;
  }

  .rail__foot {
    margin-top: 0;
    padding: 12px 14px 20px;
    border-top: 1px solid var(--line);
  }

  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__contact-list { grid-template-columns: 1fr; }
  .footer__top { align-items: flex-start; }
  .footer__statement { max-width: none; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
  .data-table { font-size: 13px; }
  .btn { padding: 11px 15px; font-size: 12.5px; }
}
