/* =========================================================
   亚星赛事 · 全站共享 Site Kit
   深夜记分屏：深空蓝黑底色 + 荧光青即时数据 + 赛事橙行动
   ========================================================= */

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

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

:root {
  /* 品牌色 */
  --void: #070B18;
  --panel: #0E1730;
  --panel-2: #131E3B;
  --line: #2A3447;
  --moss: #6E8B74;
  --clay: #B9684A;
  --paper: #F3EDE3;
  --neon: #33F0D0;
  --ember: #FF7A2F;
  --violet: #9B6CFF;
  --score: #F8FBFF;

  /* 透明度衍生色 */
  --neon-12: rgba(51, 240, 208, .12);
  --neon-28: rgba(51, 240, 208, .28);
  --ember-16: rgba(255, 122, 47, .16);
  --violet-16: rgba(155, 108, 255, .16);
  --paper-62: rgba(243, 237, 227, .62);
  --paper-50: rgba(243, 237, 227, .5);
  --panel-glass: rgba(14, 23, 48, .72);

  /* 字体 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 圆角与节奏 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(51, 240, 208, .09), transparent 62%),
    radial-gradient(900px 540px at 92% 2%, rgba(155, 108, 255, .11), transparent 60%),
    var(--void);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- 基础元素 ---------- */

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

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

a {
  color: var(--neon);
  text-decoration: none;
  text-underline-offset: .22em;
}
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

strong, b { font-weight: 700; color: var(--score); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.005em;
  color: var(--score);
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.375rem); }
h4 { font-size: 1.0625rem; }

hr, .divider {
  height: 1px;
  border: 0;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0;
  background: linear-gradient(90deg, var(--line), transparent);
}

::selection { background: var(--neon); color: var(--void); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: rgba(51, 240, 208, .45); }

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 6px;
}

#main-content { scroll-margin-top: 140px; }

/* ---------- 容器与工具 ---------- */

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .9rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--neon);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--neon);
}

.lede {
  max-width: 46ch;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: rgba(243, 237, 227, .8);
}

/* ---------- 跳转链接 ---------- */

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 400;
  padding: .7rem 1.15rem;
  border-radius: var(--r-pill);
  background: var(--neon);
  color: #03110F;
  font-size: .875rem;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible {
  transform: translateY(0);
  text-decoration: none;
}

/* ---------- 头部 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 24, .93);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  isolation: isolate;
}

/* 顶部状态条 */
.status-bar {
  border-bottom: 1px solid rgba(42, 52, 71, .7);
  background: linear-gradient(90deg, rgba(14, 23, 48, .95), rgba(7, 11, 24, .95));
}
.status-bar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 34px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-50);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex: none;
  color: var(--neon);
  font-weight: 600;
  white-space: nowrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  animation: status-pulse 2.4s var(--ease) infinite;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(51, 240, 208, .5); }
  50% { box-shadow: 0 0 0 6px rgba(51, 240, 208, 0); }
}
.status-meta {
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 框架式导航外框 */
.header-frame__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
  padding-block: .6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex: none;
  color: var(--paper);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(51, 240, 208, .42);
  border-radius: 13px;
  background:
    radial-gradient(circle at 30% 22%, rgba(51, 240, 208, .3), transparent 62%),
    var(--panel);
  box-shadow: inset 0 0 18px rgba(51, 240, 208, .12);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.brand__mark::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--neon), var(--ember));
  box-shadow: 0 0 14px rgba(51, 240, 208, .5);
}
.brand__mark::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet);
}
.brand:hover .brand__mark {
  border-color: var(--neon);
  box-shadow: inset 0 0 18px rgba(51, 240, 208, .22), 0 0 18px rgba(51, 240, 208, .25);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--score);
}
.brand__tagline {
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .12em;
  color: var(--paper-50);
  white-space: nowrap;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--panel-glass);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.nav-toggle:hover,
.site-header[data-open] .nav-toggle {
  border-color: var(--neon);
  color: var(--neon);
}
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
  flex: none;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top .2s var(--ease), transform .2s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8px; }
.site-header[data-open] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }

/* 主导航（桌面横排） */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__list li { margin: 0; }
.site-nav__list a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .85rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  color: var(--paper);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.2;
  opacity: .74;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--ease), opacity .18s var(--ease),
              border-color .18s var(--ease), background-color .18s var(--ease);
}
.site-nav__list a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--line);
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.site-nav__list a:hover {
  opacity: 1;
  color: var(--neon);
  border-color: var(--line);
  text-decoration: none;
}
.site-nav__list a:hover::before { background: var(--neon); }
.site-nav__list a[aria-current="page"] {
  opacity: 1;
  color: var(--neon);
  border-color: var(--neon-28);
  background: var(--neon-12);
}
.site-nav__list a[aria-current="page"]::before {
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}
.site-nav__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-left: .75rem;
  border-left: 1px solid var(--line);
}

/* 滚动进度轨 */
.scroll-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.scroll-rail__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--neon) 0%, var(--neon) 45%, var(--violet) 72%, var(--ember) 100%);
  transition: transform .12s linear;
}

/* ---------- 按钮 ---------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .65rem 1.15rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--neon);
  --btn-fg: #03110F;
  --btn-bd: var(--neon);
}
.btn--primary:hover {
  --btn-bg: #5DF7DD;
  --btn-bd: #5DF7DD;
  box-shadow: 0 8px 24px rgba(51, 240, 208, .28);
}

.btn--ghost {
  --btn-bg: rgba(14, 23, 48, .65);
  --btn-fg: var(--paper);
  --btn-bd: var(--line);
}
.btn--ghost:hover {
  --btn-fg: var(--neon);
  --btn-bd: var(--neon);
}

.btn--ember {
  --btn-bg: var(--ember);
  --btn-fg: #1A0A02;
  --btn-bd: var(--ember);
}
.btn--ember:hover {
  --btn-bg: #FF9357;
  --btn-bd: #FF9357;
  box-shadow: 0 8px 24px rgba(255, 122, 47, .3);
}

.btn--sm { padding: .45rem .85rem; font-size: .8125rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- 页脚 ---------- */

.site-footer {
  position: relative;
  margin-top: clamp(3rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 23, 48, .85), rgba(7, 11, 24, 1) 55%), var(--void);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--violet) 55%, var(--ember));
  opacity: .75;
}

.footer-frame {
  padding-block: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2rem);
}

.footer-masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}

.brand--footer { color: var(--paper); }

.footer-note {
  max-width: 40ch;
  margin: 0;
  color: var(--paper-62);
  font-size: .9375rem;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
}

.footer-col__title {
  margin: 0 0 .9rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--neon);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-list a {
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  color: rgba(243, 237, 227, .78);
  font-size: .9375rem;
  text-decoration: none;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.footer-list a:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
  text-decoration: none;
}

.footer-contact__list {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin: 0;
}
.footer-contact__row {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.footer-contact__label {
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(243, 237, 227, .45);
}
.footer-contact__value {
  margin: 0;
  font-size: .9375rem;
  color: rgba(243, 237, 227, .86);
  overflow-wrap: anywhere;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  padding-top: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid var(--line);
}
.footer-legal__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  line-height: 1.8;
  color: rgba(243, 237, 227, .5);
}

/* ---------- 面包屑 ---------- */

.breadcrumb {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper-50);
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--line);
}
.breadcrumb a {
  color: rgba(243, 237, 227, .7);
  text-decoration: none;
  transition: color .18s var(--ease);
}
.breadcrumb a:hover { color: var(--neon); }
.breadcrumb [aria-current="page"] { color: var(--neon); }

/* ---------- 正文容器 ---------- */

.prose {
  max-width: 64ch;
}
.prose h2 { margin-top: 2.25em; }
.prose h3 { margin-top: 1.9em; }
.prose p { color: rgba(243, 237, 227, .82); font-size: 1.0625rem; }
.prose li { margin-bottom: .4em; color: rgba(243, 237, 227, .82); }
.prose a {
  text-decoration: underline;
  text-decoration-color: var(--neon-28);
  text-underline-offset: .2em;
}
.prose a:hover { text-decoration-color: var(--neon); }

/* ---------- 网格 ---------- */

.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.75rem);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* ---------- 卡片 ---------- */

.card {
  position: relative;
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(19, 30, 59, .92), rgba(14, 23, 48, .92));
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.card:hover {
  border-color: var(--neon-28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .4);
  transform: translateY(-2px);
}
.card__label {
  display: block;
  margin-bottom: .6rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--neon);
}
.card__title {
  margin: .5rem 0 .35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
}
.card__meta {
  margin: 0;
  font-size: .875rem;
  color: rgba(243, 237, 227, .6);
}

/* ---------- 标签 ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .7rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--neon { color: var(--neon); background: var(--neon-12); border-color: var(--neon-28); }
.tag--ember { color: var(--ember); background: var(--ember-16); border-color: rgba(255, 122, 47, .34); }
.tag--violet { color: var(--violet); background: var(--violet-16); border-color: rgba(155, 108, 255, .34); }
.tag--moss { color: #A8C2AC; background: rgba(110, 139, 116, .18); border-color: rgba(110, 139, 116, .4); }
.tag--clay { color: #E0A187; background: rgba(185, 104, 74, .18); border-color: rgba(185, 104, 74, .42); }

/* ---------- 图片容器基础规则（供页面阶段放入图片） ---------- */

.media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, #0E1730, #16223F 70%, #101A31);
  aspect-ratio: 16 / 10;
}
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(51, 240, 208, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 240, 208, .07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(51, 240, 208, .18), transparent 55%),
    radial-gradient(95% 85% at 92% 100%, rgba(155, 108, 255, .2), transparent 62%);
  pointer-events: none;
}
.media > img,
.media > picture,
.media > video,
.media__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 4 / 5; }
.media__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: .75rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 24, .88));
  color: rgba(243, 237, 227, .8);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
}

/* ---------- 响应式 ---------- */

@media (min-width: 560px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .status-meta { display: none; }
}

@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
    max-height: 82vh;
    margin: 0;
    padding: 1.1rem 1.1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    border-top: 1px solid var(--neon-28);
    border-radius: 26px 26px 0 0;
    background: linear-gradient(180deg, #101B36 0%, #070B18 100%);
    box-shadow: 0 -28px 70px rgba(0, 0, 0, .7);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform .24s var(--ease), visibility .24s;
  }
  .site-header[data-open] .site-nav {
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
  }
  .site-nav__list a {
    width: 100%;
    justify-content: flex-start;
    padding: .8rem 1rem;
    border-radius: 14px;
    background: rgba(42, 52, 71, .32);
    font-size: 1rem;
    opacity: 1;
  }
  .site-nav__list a[aria-current="page"] {
    background: var(--neon-12);
    border-color: var(--neon-28);
  }

  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
    padding-top: .75rem;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .site-nav__actions .btn { width: 100%; }

  .brand__tagline { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-frame__inner { min-height: 62px; }
  .brand__mark { width: 34px; height: 34px; border-radius: 11px; }
  .brand__mark::before { width: 13px; height: 13px; }
  .brand__name { font-size: 1rem; }
  .status-bar__inner { min-height: 30px; font-size: .625rem; letter-spacing: .1em; }
  .footer-legal { flex-direction: column; }
  .footer-legal__meta { font-size: .625rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .status-dot { animation: none; box-shadow: 0 0 0 3px rgba(51, 240, 208, .18); }
  .scroll-rail__fill { transition: none; }
  .card:hover,
  .btn:hover { transform: none; }
}
