/* ==========================================================================
   乐鱼赛场 · 共享站点样式 /assets/site.css
   基调：深夜泳池电子记分牌 —— 深水蓝底 / 泳道栏格 / 荧光青绿数据通道
   ========================================================================== */

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

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

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

/* ---------- tokens ---------- */
:root {
  --deep: #04121F;
  --deep-2: #071016;
  --panel: #0A2B45;
  --panel-2: #0E3450;
  --mint: #35F2C0;
  --mint-soft: #9BF7E4;
  --coral: #FF6B4A;
  --coral-soft: #FF8467;
  --amber: #FFC857;
  --stone: #7E96A6;
  --bone: #F3EFE4;
  --moss: #3E6B58;

  --stroke: rgba(126, 150, 166, 0.28);
  --stroke-strong: rgba(126, 150, 166, 0.52);
  --mint-veil: rgba(53, 242, 192, 0.08);
  --coral-veil: rgba(255, 107, 74, 0.10);

  --font-sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Courier New", monospace;

  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 72px);
  --rail: 104px;
  --step: 8px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- base ---------- */
body {
  min-height: 100vh;
  background-color: var(--deep);
  background-image: repeating-linear-gradient(
    180deg,
    rgba(126, 150, 166, 0.055) 0,
    rgba(126, 150, 166, 0.055) 1px,
    transparent 1px,
    transparent 88px
  );
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[lang="zh-CN"] body,
body { line-break: strict; }

::selection { background: var(--mint); color: var(--deep); }

[id] { scroll-margin-top: 112px; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--mint);
  color: var(--deep-2);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- layout ---------- */
.container,
.header-inner,
.footer-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.lane-page {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
}

.grid { display: grid; gap: clamp(16px, 2vw, 32px); }
.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)); }

/* ---------- typography ---------- */
.display {
  font-size: clamp(40px, 7vw, 112px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bone);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--stone);
  text-transform: uppercase;
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  color: rgba(243, 239, 228, 0.88);
  max-width: 62ch;
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(243, 239, 228, 0.86);
}
.prose p + p { margin-top: 18px; }
.prose h2 {
  margin: 40px 0 12px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.prose h3 {
  margin: 28px 0 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--mint-soft);
}
.prose a {
  color: var(--mint);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose ul { margin: 16px 0; }
.prose li {
  position: relative;
  padding-left: 20px;
  margin-top: 8px;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 1px;
  background: var(--mint);
}

/* ---------- waterline ---------- */
.waterline {
  position: relative;
  height: 1px;
  border: 0;
  margin: clamp(32px, 5vw, 72px) 0;
  background: var(--stroke);
}
.waterline::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 96px;
  background: linear-gradient(90deg, var(--mint), rgba(53, 242, 192, 0));
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--bone);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}
.btn::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
  transition: transform 0.18s var(--ease);
}
.btn:hover::after { transform: translateX(3px); }

.btn--primary {
  background: var(--coral);
  border-color: var(--coral);
  color: #1B0A06;
}
.btn--primary:hover { background: var(--coral-soft); border-color: var(--coral-soft); }

.btn--ghost {
  background: transparent;
  border-color: rgba(53, 242, 192, 0.5);
  color: var(--mint);
}
.btn--ghost:hover { background: var(--mint-veil); border-color: var(--mint); }

.btn--solid {
  background: var(--panel);
  border-color: var(--stroke-strong);
  color: var(--mint-soft);
}
.btn--solid:hover { border-color: var(--mint); background: var(--panel-2); }

.btn--sm { padding: 8px 14px; font-size: 12px; letter-spacing: 0.1em; }

/* ---------- tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--stroke-strong);
  background: var(--mint-veil);
  color: var(--mint-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.6;
}
.tag--alert {
  border-color: rgba(255, 107, 74, 0.55);
  background: var(--coral-veil);
  color: var(--coral);
}

/* ---------- panel & data ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--panel);
  border: 1px solid var(--stroke);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}
.panel:hover,
.panel:focus-within {
  transform: translateY(-2px);
  border-color: rgba(53, 242, 192, 0.45);
  background: var(--panel-2);
}

.data-block { display: block; }
.data-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}
.data-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--stone);
  text-transform: uppercase;
}

/* ---------- media ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--panel);
  border: 1px solid var(--stroke);
}
.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 31, 0) 42%, rgba(4, 18, 31, 0.74) 100%);
  pointer-events: none;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

/* ---------- breadcrumb ---------- */
.breadcrumb { margin: 0 0 28px; }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--stone);
}
.breadcrumb-list li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-list li + li::before {
  content: "/";
  color: rgba(126, 150, 166, 0.6);
}
.breadcrumb-link {
  color: var(--stone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.breadcrumb-link:hover { color: var(--mint); border-bottom-color: var(--mint); }
.breadcrumb-list [aria-current="page"] { color: var(--mint-soft); }

/* ---------- section index ---------- */
.section-index {
  position: sticky;
  top: 144px;
  align-self: start;
}
.section-index-title {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stroke);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--stone);
}
.section-index-list {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}
.section-index-link {
  display: block;
  padding: 8px 0 8px 12px;
  border-left: 1px solid var(--stroke);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease),
    background-color 0.16s var(--ease);
}
.section-index-link:hover {
  color: var(--bone);
  border-left-color: var(--mint-soft);
  background: rgba(53, 242, 192, 0.06);
}
.section-index-link.is-active {
  color: var(--mint);
  border-left: 2px solid var(--mint);
  padding-left: 11px;
  background: rgba(53, 242, 192, 0.08);
}

/* ---------- fold ---------- */
.fold {
  border: 1px solid var(--stroke);
  background: rgba(10, 43, 69, 0.55);
}
.fold + .fold { margin-top: -1px; }
.fold-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--bone);
}
.fold-summary::-webkit-details-marker { display: none; }
.fold-summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--mint);
}
.fold[open] .fold-summary::after { content: "−"; }
.fold-body {
  padding: 0 20px 20px;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(243, 239, 228, 0.8);
}

/* ---------- tabs ---------- */
.tabs { border: 1px solid var(--stroke); background: rgba(10, 43, 69, 0.4); }
.tablist {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--stroke);
}
.tab {
  padding: 11px 16px;
  border: 0;
  border-right: 1px solid var(--stroke);
  background: none;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.tab:hover { color: var(--bone); background: rgba(53, 242, 192, 0.06); }
.tab[aria-selected="true"] {
  color: var(--mint);
  background: rgba(53, 242, 192, 0.12);
  box-shadow: inset 0 -2px 0 0 var(--mint);
}
.tabpanel { padding: clamp(18px, 2.4vw, 28px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background-image: linear-gradient(180deg, #06192A 0%, var(--deep) 100%);
  border-bottom: 1px solid var(--stroke);
}

.header-progress {
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background-image: linear-gradient(90deg, var(--mint) 0%, var(--mint-soft) 62%, var(--coral) 100%);
}

.header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
  min-height: 74px;
  padding-block: 12px;
}

/* brand lockup */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--bone);
  transition: color 0.18s var(--ease);
}
.brand-lockup:hover { color: var(--mint); }

.brand-mark {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--stroke-strong);
  background-image: repeating-linear-gradient(
    180deg,
    var(--mint) 0,
    var(--mint) 2px,
    transparent 2px,
    transparent 8px
  );
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  background: var(--coral);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand-sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--stone);
}

/* header meta */
.header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  margin-left: auto;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(53, 242, 192, 0.45);
  background: var(--mint-veil);
  color: var(--mint-soft);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.status-chip::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--mint);
  box-shadow: 0 0 6px rgba(53, 242, 192, 0.85);
}
.status-chip--alert {
  border-color: rgba(255, 107, 74, 0.5);
  background: var(--coral-veil);
  color: var(--coral);
}
.status-chip--alert::before { background: var(--coral); box-shadow: 0 0 6px rgba(255, 107, 74, 0.8); }

.sync-line {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--stone);
}
.sync-line::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--amber);
}

.header-cta { padding: 9px 16px; font-size: 12.5px; letter-spacing: 0.08em; }

/* nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--stroke-strong);
  background: transparent;
  color: var(--mint);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--mint); background: var(--mint-veil); }
.nav-toggle__bars {
  display: inline-block;
  width: 16px;
  height: 12px;
  background-image: repeating-linear-gradient(
    180deg,
    currentColor 0,
    currentColor 1.5px,
    transparent 1.5px,
    transparent 5.5px
  );
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background-image: linear-gradient(90deg, currentColor 0 100%);
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: 100% 2px;
}
.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

/* lane nav */
.header-lanes {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--stroke);
}

.lane-rail-label {
  display: flex;
  align-items: center;
  flex: none;
  padding: 0 20px 0 0;
  margin-right: 4px;
  border-right: 1px solid var(--stroke);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--stone);
}

.site-nav { flex: 1 1 auto; min-width: 0; }

.lane-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.lane-item { flex: 0 0 auto; display: flex; }

.lane-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 18px;
  border-right: 1px solid var(--stroke);
  color: var(--bone);
  text-decoration: none;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.lane-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.2s var(--ease);
}
.lane-link:hover {
  color: var(--mint);
  background: rgba(53, 242, 192, 0.07);
}
.lane-link:hover::after { transform: scaleX(1); }

.lane-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--stone);
  transition: color 0.16s var(--ease);
}
.lane-link:hover .lane-num { color: var(--amber); }

.lane-label { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }

.lane-link[aria-current="page"] {
  color: var(--mint);
  background: rgba(53, 242, 192, 0.1);
}
.lane-link[aria-current="page"]::after { transform: scaleX(1); }
.lane-link[aria-current="page"] .lane-num { color: var(--amber); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  margin-top: clamp(56px, 8vw, 120px);
  border-top: 1px solid rgba(53, 242, 192, 0.32);
  background-color: var(--deep-2);
  background-image: radial-gradient(120% 90% at 50% 0%, rgba(53, 242, 192, 0.06), transparent 62%);
  color: var(--stone);
}

.footer-inner { padding-block: clamp(40px, 6vw, 76px) 0; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.footer-brand { min-width: 0; }
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--bone);
  transition: color 0.18s var(--ease);
}
.footer-brand-link:hover { color: var(--mint); }
.footer-brand-line {
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.footer-brand-sub {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mint-soft);
}
.footer-brand-note {
  margin-top: 12px;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(126, 150, 166, 0.95);
}

.footer-col-title {
  padding-top: 14px;
  margin-bottom: 16px;
  border-top: 1px solid var(--stroke);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--mint-soft);
}
.footer-col-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  vertical-align: 1px;
  background: var(--amber);
}

.footer-list { display: grid; gap: 8px; }
.footer-link {
  color: rgba(243, 239, 228, 0.78);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.footer-link:hover { color: var(--mint); border-bottom-color: rgba(53, 242, 192, 0.6); }

.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--stroke);
}
.footer-contact-item { display: grid; gap: 2px; }
.footer-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--stone);
}
.footer-value {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(243, 239, 228, 0.82);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(24px, 3vw, 40px);
  padding-block: 22px 30px;
  border-top: 1px solid var(--stroke);
}
.footer-legal {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--stone);
}
.footer-icp { color: var(--mint-soft); }
.footer-note {
  max-width: 54ch;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(126, 150, 166, 0.95);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lane-page { grid-template-columns: 84px minmax(0, 1fr); }
  :root { --rail: 84px; }
}

@media (max-width: 900px) {
  .lane-page { grid-template-columns: minmax(0, 1fr); }
  .section-index { position: static; }
  .section-index-list { flex-direction: row; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
  .section-index-link {
    padding: 6px 12px;
    border: 1px solid var(--stroke);
    border-left: 1px solid var(--stroke);
  }
  .section-index-link.is-active {
    border: 1px solid var(--mint);
    padding-left: 12px;
  }

  .header-top {
    min-height: 0;
    gap: 12px;
    padding-block: 14px 12px;
  }
  .nav-toggle { display: inline-flex; order: 2; margin-left: auto; }
  .header-meta {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    justify-content: flex-start;
    align-items: center;
    gap: 12px 16px;
    padding-bottom: 4px;
  }
  .header-cta { padding: 8px 14px; font-size: 12px; }

  .header-lanes { border-top: 1px solid var(--stroke); }
  .lane-rail-label { display: none; }
  .site-nav { display: none; }
  .site-header[data-open] .site-nav { display: block; }
  .lane-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(53, 242, 192, 0.45) transparent;
  }
  .lane-list::-webkit-scrollbar { height: 4px; }
  .lane-list::-webkit-scrollbar-thumb { background: rgba(53, 242, 192, 0.45); }
  .lane-link { padding: 12px 16px; white-space: nowrap; }

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

@media (max-width: 700px) {
  body { font-size: 16px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .data-value { font-size: clamp(40px, 13vw, 64px); }
}

@media (max-width: 560px) {
  .brand-name { font-size: 17px; }
  .status-chip { font-size: 11.5px; padding: 5px 10px; }
  .sync-line { display: none; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .header-cta { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .panel:hover,
  .panel:focus-within { transform: none; }
  .btn:hover::after { transform: none; }
}
