/* =========================================================================
   云体育 CITY-YUN · 共享站点样式  /assets/site.css
   语言：深空蓝底 / 电光青坐标线 / 荧光绿刻度 / 橙红行动色
   ========================================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --navy-950: #061019;
  --navy-900: #0B1B2B;
  --navy-800: #122A44;
  --cyan: #2FE3D0;
  --lime: #B6FF5C;
  --ember: #FF5A36;
  --stone: #3A4548;
  --moss: #6E7F5A;
  --clay: #B86B4B;
  --bone: #F4EFE6;
  --mist: #CFEDEA;

  --line: rgba(47, 227, 208, 0.22);
  --line-soft: rgba(244, 239, 230, 0.12);
  --glass: rgba(18, 42, 68, 0.55);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 44px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset 与基准 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(1200px 620px at 12% -12%, rgba(47, 227, 208, 0.10), transparent 62%),
    radial-gradient(900px 520px at 92% 2%, rgba(255, 90, 54, 0.08), transparent 64%);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  color: var(--lime);
}

button {
  font: inherit;
  color: inherit;
}

p {
  margin: 0 0 1em;
}

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

hr {
  height: 0;
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--line-soft);
}

::selection {
  background: var(--cyan);
  color: var(--navy-950);
}

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

/* ---------- 3. 中文排版 ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.55em;
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.05em;
  color: var(--bone);
}

h1 {
  font-size: clamp(30px, 5.2vw, 56px);
  letter-spacing: 0.06em;
}

h2 {
  font-size: clamp(22px, 3.2vw, 34px);
}

h3 {
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: 0.06em;
}

h4 {
  font-size: 15px;
  letter-spacing: 0.12em;
}

strong {
  font-weight: 700;
  color: var(--bone);
}

small {
  font-size: 0.82em;
}

/* ---------- 4. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.stack > * + * {
  margin-top: var(--stack, 16px);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.lead {
  max-width: 62ch;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.85;
  color: rgba(244, 239, 230, 0.78);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.3em;
  color: var(--lime);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--lime);
}

.serif-note {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--mist);
}

/* ---------- 5. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  clip-path: none;
}

.btn--accent {
  background: var(--ember);
  color: #ffffff;
}

.btn--accent:hover {
  background: #ff7350;
  color: #ffffff;
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(47, 227, 208, 0.07);
  color: var(--cyan);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  background: rgba(47, 227, 208, 0.16);
  color: var(--mist);
}

.btn--sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

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

/* ---------- 6. 站点头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  color: var(--bone);
  background-color: rgba(11, 27, 43, 0.94);
  background-image: linear-gradient(180deg, rgba(18, 42, 68, 0.86), rgba(11, 27, 43, 0.62));
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(47, 227, 208, 0.2);
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-condensed {
  background-color: rgba(6, 16, 25, 0.97);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.scroll-meter {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--lime) 58%, var(--ember));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--lime);
  color: var(--navy-950);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 0.18s var(--ease);
}

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

/* 刊头 */
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-block: clamp(10px, 1.6vw, 16px);
  padding-inline: var(--gutter);
}

.masthead__coords {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-self: start;
}

.coord {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  color: rgba(182, 255, 92, 0.72);
}

.coord__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(182, 255, 92, 0.9);
}

/* 品牌锁形 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(140deg, var(--cyan), var(--lime));
  color: var(--navy-950);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand__name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--bone);
}

.brand__latin {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: rgba(207, 237, 234, 0.6);
}

/* 右侧行动区 */
.masthead__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(47, 227, 208, 0.42);
  border-radius: var(--radius);
  background: rgba(47, 227, 208, 0.08);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--cyan);
  background: rgba(47, 227, 208, 0.16);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: var(--cyan);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.nav-toggle__bars::before {
  top: -5px;
}

.nav-toggle__bars::after {
  top: 5px;
}

.site-header[data-open] .nav-toggle__bars {
  background: transparent;
}

.site-header[data-open] .nav-toggle__bars::before {
  transform: translateY(5px) rotate(45deg);
}

.site-header[data-open] .nav-toggle__bars::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* 主导航条带 */
.nav-bar {
  position: relative;
  border-top: 1px solid rgba(244, 239, 230, 0.1);
  background-image: linear-gradient(180deg, rgba(18, 42, 68, 0.5), rgba(11, 27, 43, 0));
}

.site-nav {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: clamp(6px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 2px;
  color: rgba(244, 239, 230, 0.72);
  font-size: clamp(13px, 1.05vw, 14px);
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}

.site-nav__link:hover {
  color: var(--bone);
}

.site-nav__link:hover::after {
  transform: scaleX(1);
}

.site-nav__link[aria-current="page"] {
  color: var(--cyan);
}

.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ---------- 7. 站点页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 104px);
  overflow: hidden;
  background: var(--navy-950);
  color: rgba(244, 239, 230, 0.72);
  border-top: 1px solid rgba(47, 227, 208, 0.22);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 227, 208, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 227, 208, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
}

.footer-inner {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.5fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 72px) clamp(26px, 4vw, 44px);
}

.footer-brand__wordmark {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--bone);
}

.footer-brand__latin {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: rgba(207, 237, 234, 0.55);
}

.footer-brand__tagline {
  margin: 0 0 14px;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.footer-brand__coords {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(182, 255, 92, 0.66);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}

.footer-col__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(182, 255, 92, 0.22);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.24em;
  color: var(--lime);
}

.footer-col__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 0 12px;
  list-style: none;
}

.footer-col__list a {
  position: relative;
  display: inline-block;
  color: rgba(244, 239, 230, 0.72);
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: color 0.2s var(--ease);
}

.footer-col__list a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateY(-50%) scale(0);
  transition: transform 0.2s var(--ease);
}

.footer-col__list a:hover {
  color: var(--cyan);
}

.footer-col__list a:hover::before {
  transform: translateY(-50%) scale(1);
}

.footer-contact__list {
  margin: 0;
}

.footer-contact__row {
  margin: 0 0 12px;
}

.footer-contact__row dt {
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.2em;
  color: rgba(207, 237, 234, 0.5);
}

.footer-contact__row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 239, 230, 0.86);
  word-break: break-all;
}

.footer-contact__note {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(207, 237, 234, 0.5);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px 26px;
  border-top: 1px solid rgba(244, 239, 230, 0.1);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(244, 239, 230, 0.48);
}

.footer-base__copy,
.footer-base__icp {
  margin: 0;
}

.footer-base__icp {
  color: rgba(182, 255, 92, 0.62);
}

/* ---------- 8. 通用内容组件 ---------- */
.plate {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: var(--radius);
  background-image: linear-gradient(160deg, rgba(18, 42, 68, 0.92), rgba(11, 27, 43, 0.94));
}

.plate::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 38px;
  height: 3px;
  background: var(--cyan);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(47, 227, 208, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.tag--ember {
  border-color: rgba(255, 90, 54, 0.42);
  background: rgba(255, 90, 54, 0.12);
  color: #ffb2a0;
}

.tag--lime {
  border-color: rgba(182, 255, 92, 0.4);
  background: rgba(182, 255, 92, 0.1);
  color: var(--lime);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: var(--radius);
}

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

.data-table th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: left;
  white-space: nowrap;
  color: var(--cyan);
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  color: rgba(244, 239, 230, 0.82);
}

.data-table tbody tr:nth-child(even) {
  background: rgba(47, 227, 208, 0.035);
}

.data-table tbody tr:hover {
  background: rgba(47, 227, 208, 0.075);
}

.data-table .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.media-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(47, 227, 208, 0.18);
  border-radius: var(--radius);
  background: var(--navy-800);
}

.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 227, 208, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 227, 208, 0.14) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
}

.media-frame--tall {
  aspect-ratio: 4 / 5;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  max-width: 90%;
  padding: 9px 14px;
  background: rgba(6, 16, 25, 0.82);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: rgba(244, 239, 230, 0.52);
}

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

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(244, 239, 230, 0.28);
}

.breadcrumbs a {
  color: var(--cyan);
}

.breadcrumbs a:hover {
  color: var(--lime);
}

.prose {
  max-width: 68ch;
  line-height: 1.9;
  color: rgba(244, 239, 230, 0.82);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2,
.prose h3 {
  margin-top: 1.9em;
}

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(47, 227, 208, 0.4);
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

/* 回到顶部 */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 16, 25, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease),
    visibility 0.24s var(--ease), border-color 0.2s var(--ease);
}

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

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* 显现协议 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 112px;
  }

  .masthead {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .masthead__coords {
    display: none;
  }

  .brand {
    justify-self: start;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-bar {
    display: none;
    border-top: 1px solid rgba(47, 227, 208, 0.36);
    background-color: rgba(6, 16, 25, 0.98);
    background-image: none;
  }

  .site-header[data-open] .nav-bar {
    display: block;
    animation: navDrop 0.22s var(--ease) both;
  }

  .site-nav {
    max-height: calc(100vh - 132px);
    padding-block: 6px 18px;
    overflow-y: auto;
  }

  .site-nav__list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
  }

  .site-nav__link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(244, 239, 230, 0.08);
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .site-nav__link::after {
    right: auto;
    left: 0;
    width: 34px;
  }

  .site-nav__link[aria-current="page"] {
    border-bottom-color: rgba(47, 227, 208, 0.34);
  }

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

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .brand__mark {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  .brand__name {
    font-size: 17px;
    letter-spacing: 0.16em;
  }

  .masthead__actions .btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }
}

/* ---------- 10. 动效偏好 ---------- */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .to-top {
    transition: none;
  }
}
