/* ===== 乐鱼赛场 · 共享样式表 /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, figure, blockquote, dl, dd, ul, ol { margin: 0; }

ul, ol { padding: 0; list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; }

a { color: inherit; text-decoration: none; }

/* --- 变量 --- */
:root {
  --abyss: #061A2E;
  --deep: #0B2740;
  --cyan: #00C2D1;
  --coral: #FF6B4A;
  --lime: #B6FF3B;
  --cream: #F3E9D2;
  --ink: #1C1714;
  --mist: #8FB8CC;
  --steel: #2E5A73;
  --white: #F7FBFF;

  --font-title: "Barlow Condensed", "Oswald", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1280px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --line: rgba(46, 90, 115, .65);
  --line-cyan: rgba(0, 194, 209, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- 基础排版 --- */
body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 10% -10%, rgba(0, 194, 209, .16), transparent 62%),
    radial-gradient(900px 520px at 96% 4%, rgba(255, 107, 74, .10), transparent 66%),
    var(--abyss);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (min-width: 1100px) {
  body { font-size: 17px; }
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.005em;
  color: var(--white);
}

#main-content { display: block; outline: none; }

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

::selection { background: var(--cyan); color: #04222B; }

/* --- 容器 --- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- 跳转链接 --- */
.skip-link {
  position: fixed;
  top: .6rem;
  left: .6rem;
  z-index: 999;
  transform: translateY(-180%);
  background: var(--lime);
  color: #06210B;
  font-weight: 700;
  font-size: .95rem;
  padding: .65rem 1.15rem;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform .18s var(--ease);
}

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

/* ===== 头部 ===== */
.site-header {
  position: relative;
  z-index: 80;
}

/* 上层：品牌状态条 */
.console-bar {
  background: linear-gradient(90deg, var(--deep) 0%, rgba(6, 26, 46, .92) 52%, rgba(255, 107, 74, .16) 100%);
  border-bottom: 1px solid var(--line-cyan);
}

.console-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 46px;
  padding-block: .42rem;
}

.console-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  min-width: 0;
}

.console-brand__mark {
  width: 17px;
  height: 17px;
  flex: none;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 14px rgba(0, 194, 209, .6);
}

.console-brand__name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: .1em;
  color: var(--white);
  white-space: nowrap;
}

.console-brand__tag {
  font-size: .76rem;
  letter-spacing: .14em;
  color: var(--mist);
  padding-left: .7rem;
  border-left: 1px solid var(--steel);
  white-space: nowrap;
}

.console-meta {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex: none;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--lime);
  background: rgba(182, 255, 59, .09);
  border: 1px solid rgba(182, 255, 59, .4);
  padding: .25rem .6rem;
  white-space: nowrap;
}

.status-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(182, 255, 59, .55); }
  50% { opacity: .6; box-shadow: 0 0 0 7px rgba(182, 255, 59, 0); }
}

.console-link {
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--cyan);
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.console-link:hover {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* 下层：主导航 */
.nav-deck {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(6, 26, 46, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-deck__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: .1rem;
  min-width: 0;
}

.site-nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 1.05rem .82rem .95rem;
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(247, 251, 255, .74);
  white-space: nowrap;
  transition: color .18s var(--ease);
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  left: .2rem;
  right: .2rem;
  bottom: 0;
  height: 3px;
  background: transparent;
  transform: scaleX(.15);
  transform-origin: left center;
  transition: transform .22s var(--ease), background-color .22s var(--ease);
}

.site-nav__list a:hover { color: var(--white); }
.site-nav__list a:hover::after { background: var(--steel); transform: scaleX(1); }

.site-nav__list a[aria-current="page"] {
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 194, 209, 0), rgba(0, 194, 209, .16));
}

.site-nav__list a[aria-current="page"]::after {
  background: var(--cyan);
  transform: scaleX(1);
  box-shadow: 0 0 14px rgba(0, 194, 209, .85);
}

.site-nav__list a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .34rem;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background: var(--coral);
  transform: rotate(45deg);
}

.site-nav__quick {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex: none;
  padding-left: .6rem;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  align-self: center;
  padding: .58rem .85rem;
  background: rgba(0, 194, 209, .08);
  border: 1px solid var(--line-cyan);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.nav-toggle:hover { background: rgba(0, 194, 209, .18); color: var(--cyan); }

.nav-toggle[aria-expanded="true"] {
  background: rgba(0, 194, 209, .22);
  border-color: var(--cyan);
  color: var(--cyan);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 滚动进度轨 */
.scroll-rail {
  height: 3px;
  background: rgba(46, 90, 115, .45);
  overflow: hidden;
}

.scroll-rail__fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .12s linear;
}

/* ===== 页脚 ===== */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 8vw, 6.5rem);
  background: linear-gradient(180deg, rgba(11, 39, 64, .35) 0%, var(--deep) 14%, #05192B 100%);
  color: var(--white);
  border-top: 1px solid var(--line-cyan);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--coral), var(--cyan) 46%, rgba(0, 194, 209, 0) 92%);
  opacity: .8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.45fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  padding-block: clamp(2.6rem, 6vw, 4.2rem) clamp(1.8rem, 4vw, 2.6rem);
}

.footer-col { min-width: 0; }

.footer-col__title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  font-family: var(--font-title);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--mist);
}

.footer-col__title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--steel), rgba(46, 90, 115, 0));
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .85rem;
}

.footer-brand__mark {
  width: 20px;
  height: 20px;
  flex: none;
  background: linear-gradient(135deg, var(--cyan), var(--coral));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  box-shadow: 0 0 16px rgba(0, 194, 209, .45);
}

.footer-brand__name {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.footer-note {
  font-size: .92rem;
  line-height: 1.85;
  color: rgba(247, 251, 255, .72);
  max-width: 34ch;
}

.footer-note--small {
  margin-top: .9rem;
  font-size: .82rem;
  color: var(--mist);
}

.footer-stamp { margin-top: 1rem; }

.footer-list { display: grid; gap: .55rem; }

.footer-list a,
.footer-link {
  color: rgba(247, 251, 255, .8);
  font-size: .94rem;
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.footer-list a:hover,
.footer-link:hover {
  color: var(--cyan);
  border-bottom-color: rgba(0, 194, 209, .6);
}

.footer-list--plain li {
  font-size: .94rem;
  color: var(--mist);
}

.footer-icp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--mist);
  border: 1px solid var(--line);
  padding: .2rem .5rem;
}

.footer-list--contact { gap: .8rem; }

.footer-list--contact li { display: grid; gap: .1rem; }

.footer-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel);
}

.footer-value {
  font-size: .92rem;
  line-height: 1.6;
  color: rgba(247, 251, 255, .86);
  word-break: break-word;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  background: rgba(6, 26, 46, .6);
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem;
  padding-block: 1.05rem;
}

.footer-bottom__copy,
.footer-bottom__links {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--mist);
}

.footer-bottom__links {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}

.footer-dot { color: var(--steel); }

/* --- 返回顶部 --- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: rgba(11, 39, 64, .95);
  border: 1px solid var(--line-cyan);
  color: var(--cyan);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s, color .18s var(--ease), border-color .18s var(--ease);
}

.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.to-top__arrow {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1;
}

/* ===== 通用按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .88rem 1.45rem;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform .16s var(--ease), background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), filter .16s var(--ease);
}

.btn--coral {
  background: var(--coral);
  color: #14100C;
}

.btn--coral:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 20px rgba(255, 107, 74, .48));
}

.btn--cyan {
  background: var(--cyan);
  color: #04222B;
}

.btn--cyan:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 20px rgba(0, 194, 209, .48));
}

.btn--ghost {
  background: rgba(0, 194, 209, .07);
  border-color: var(--line-cyan);
  color: var(--cyan);
}

.btn--ghost:hover {
  background: rgba(0, 194, 209, .16);
  color: var(--white);
}

.btn--sm {
  padding: .58rem 1rem;
  font-size: .88rem;
}

/* ===== 面包屑 ===== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: .5rem;
}

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

.breadcrumbs a {
  color: var(--cyan);
  border-bottom: 1px solid transparent;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--white);
  border-bottom-color: var(--cyan);
}

/* ===== 区块与标题 ===== */
.band {
  padding-block: clamp(2.6rem, 7vw, 5.5rem);
}

.band--deep {
  background: linear-gradient(180deg, rgba(11, 39, 64, .88), rgba(6, 26, 46, .55));
  border-block: 1px solid var(--line);
}

.band--paper {
  background: var(--cream);
  color: var(--ink);
}

.band--paper h1,
.band--paper h2,
.band--paper h3 { color: var(--ink); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--coral);
}

.kicker::before {
  content: "";
  width: 24px;
  height: 3px;
  background: var(--coral);
  transform: skewX(-24deg);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}

.section-head__title {
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
}

.section-head__meta {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ===== 面板与卡片 ===== */
.panel {
  position: relative;
  background: linear-gradient(160deg, rgba(11, 39, 64, .96), rgba(6, 26, 46, .88));
  border: 1px solid var(--line);
  padding: clamp(1.2rem, 3vw, 2rem);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.panel--tilt { transform: rotate(-1.1deg); }

/* ===== 正文阅读区 ===== */
.prose {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(1.6rem, 4vw, 3.2rem);
  font-size: clamp(1rem, 1.05vw, 1.1rem);
  line-height: 1.88;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.prose h2 {
  font-family: var(--font-title);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--ink);
  margin: 2.1rem 0 .75rem;
}

.prose h3 {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--ink);
  margin: 1.6rem 0 .6rem;
}

.prose h2:first-child,
.prose h3:first-child { margin-top: 0; }

.prose p { margin-bottom: 1.05rem; }

.prose ul,
.prose ol {
  list-style: disc;
  padding-left: 1.35rem;
  margin-bottom: 1.1rem;
}

.prose ol { list-style: decimal; }

.prose li { margin-bottom: .45rem; }

.prose a {
  color: #0A5C74;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover { color: #B8412A; }

.prose strong { font-weight: 700; }

.prose blockquote {
  margin: 1.4rem 0;
  padding: .6rem 1.1rem;
  border-left: 4px solid var(--coral);
  background: rgba(28, 23, 20, .05);
  color: #3A322B;
}

/* ===== 图片容器 ===== */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(0, 194, 209, .2), rgba(255, 107, 74, .14)), var(--deep);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(143, 184, 204, .12) 0 1px, transparent 1px 20px);
  pointer-events: none;
}

.media-frame img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tilt { transform: rotate(-2deg); }

.media-frame__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: .45rem .9rem .45rem .7rem;
  background: rgba(6, 26, 46, .88);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

/* ===== 网格与跑道 ===== */
.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.8rem);
}

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

.rail {
  display: flex;
  gap: clamp(.9rem, 2vw, 1.4rem);
  overflow-x: auto;
  padding: 1rem .25rem 1.4rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--cyan) rgba(46, 90, 115, .4);
  scrollbar-width: thin;
}

.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-track { background: rgba(46, 90, 115, .35); }
.rail::-webkit-scrollbar-thumb { background: var(--cyan); }

.rail__item {
  flex: 0 0 clamp(240px, 32vw, 340px);
  scroll-snap-align: start;
}

/* ===== 数据与标签 ===== */
.data-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--lime);
  letter-spacing: -.02em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .26rem .6rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}

.chip--coral { color: var(--coral); background: rgba(255, 107, 74, .12); }
.chip--cyan { color: var(--cyan); background: rgba(0, 194, 209, .12); }
.chip--lime { color: var(--lime); background: rgba(182, 255, 59, .12); }

/* ===== 工具类 ===== */
.u-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-note { max-width: 60ch; }
}

@media (max-width: 900px) {
  .console-brand__tag { display: none; }

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

  .nav-deck__inner { min-height: 58px; padding-block: .5rem; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    flex-direction: column;
    gap: 0;
    padding: 1rem clamp(1rem, 5vw, 1.8rem) 1.6rem;
    background: linear-gradient(160deg, var(--deep) 0%, var(--abyss) 72%);
    border-bottom: 1px solid var(--line-cyan);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s var(--ease), transform .24s var(--ease), visibility .2s;
  }

  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list a {
    padding: .92rem .2rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(46, 90, 115, .5);
  }

  .site-nav__list a::after { display: none; }

  .site-nav__list a[aria-current="page"] {
    background: linear-gradient(90deg, rgba(0, 194, 209, .2), rgba(0, 194, 209, 0) 72%);
    padding-left: .8rem;
  }

  .site-nav__list a[aria-current="page"]::before {
    left: .18rem;
    top: 50%;
    bottom: auto;
    margin-left: 0;
    margin-top: -3px;
  }

  .site-nav__quick {
    padding: 1.1rem 0 0;
    justify-content: flex-start;
  }

  .site-nav__quick .btn { width: 100%; }

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

  .panel--tilt,
  .media-frame--tilt { transform: none; }

  .rail__item { flex: 0 0 min(78vw, 320px); }
}

@media (max-width: 700px) {
  .console-bar__inner { flex-wrap: wrap; gap: .5rem .8rem; }
  .console-meta { gap: .6rem; }
  .console-link { font-size: .82rem; }
  .status-chip { font-size: .64rem; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); padding-block: 2.4rem 1.6rem; }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; }

  .to-top { width: 44px; height: 44px; }
}

@media (max-width: 420px) {
  .console-brand__name { font-size: 1rem; letter-spacing: .06em; }
  .btn { padding: .8rem 1.1rem; font-size: .95rem; }
}

/* ===== 动效可访问性 ===== */
@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-chip__dot { animation: none; }
  .scroll-rail__fill { transition: none; }
  .to-top { transform: none; }
}
