/* ===========================================================
   亚星赛事 · 共享外壳样式 /assets/site.css
   高原数据观测站：暖纸底 + 深靛墨 + 星辉金 + 经幡五色
   =========================================================== */

:root {
  --paper: #F4EFE4;
  --paper-deep: #EAE3D4;
  --ink: #101A33;
  --navy: #1B2A4A;
  --gold: #E7B94A;
  --gold-soft: #F2D48A;
  --blue: #2C6FB7;
  --red: #C8453B;
  --green: #2F7D5C;
  --yellow: #E0A93B;
  --haze: #D9D3C4;
  --cloud: #FBF8F0;
  --muted: #5B6270;

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-pill: 999px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-island: 0 12px 28px -18px rgba(16, 26, 51, .55), 0 2px 6px -3px rgba(16, 26, 51, .22);
  --shadow-panel: 0 22px 60px -40px rgba(16, 26, 51, .6);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-pad: clamp(10px, 1.6vw, 18px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture, video { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, rgba(16, 26, 51, .06) 1px, transparent 0);
  background-size: 32px 32px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.26; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.012em; margin-bottom: .5em; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.05rem); letter-spacing: -.005em; margin-bottom: .5em; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.32rem); font-weight: 600; margin-bottom: .45em; }
h4 { font-size: 1.02rem; font-weight: 600; margin-bottom: .4em; }
p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
.mono { font-family: var(--font-mono); letter-spacing: .04em; font-variant-numeric: tabular-nums; }

/* ---------- 可访问性 ---------- */
:focus-visible {
  outline: 3px solid rgba(44, 111, 183, .78);
  outline-offset: 3px;
  border-radius: 6px;
}
.brand:focus-visible,
.auth-pill:focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold);
}
.skip-link {
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translate(-50%, -160%);
  z-index: 200;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--gold-soft);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: transform .2s ease;
}
.skip-link:focus,
.skip-link:focus-visible { transform: translate(-50%, 0); }

#main-content { display: block; scroll-margin-top: 130px; padding-top: clamp(14px, 2.4vw, 30px); }
#main-content:focus { outline: none; }

/* ---------- 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.grid-auto {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

/* ---------- 页头：悬浮胶囊观测条 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: var(--header-pad) clamp(12px, 3vw, 26px) 8px;
  background: linear-gradient(
    to bottom,
    rgba(244, 239, 228, .97) 0%,
    rgba(244, 239, 228, .9) 58%,
    rgba(244, 239, 228, 0) 100%
  );
  backdrop-filter: blur(10px);
}
.site-header__inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px clamp(8px, 1.2vw, 14px);
}
.site-header__ruler {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9px;
  pointer-events: none;
  opacity: .55;
  background:
    repeating-linear-gradient(90deg, rgba(16, 26, 51, .3) 0 1px, transparent 1px 24px) left top / 100% 5px no-repeat,
    linear-gradient(to right, transparent, rgba(16, 26, 51, .22) 10%, rgba(16, 26, 51, .22) 90%, transparent) left bottom / 100% 1px no-repeat;
}

/* 品牌岛 */
.brand {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 18px 8px 13px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  background: linear-gradient(140deg, #16233F, var(--ink) 65%);
  color: var(--cloud);
  text-decoration: none;
  border: 1px solid rgba(231, 185, 74, .38);
  box-shadow: var(--shadow-island);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.brand:hover, .brand:focus-visible {
  transform: translateY(-1px);
  border-color: var(--gold);
  box-shadow: 0 16px 34px -20px rgba(231, 185, 74, .7);
}
.brand__mark {
  flex: none;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 52%, #C8922B 100%);
  box-shadow: inset 0 0 0 1px rgba(244, 239, 228, .28);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .07em;
  color: var(--cloud);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .17em;
  color: rgba(244, 239, 228, .62);
  margin-top: 2px;
}

/* 目录胶囊 */
.obs-nav { order: 2; }
.obs-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(251, 248, 240, .88);
  border: 1px solid var(--haze);
  box-shadow: var(--shadow-island);
  backdrop-filter: blur(8px);
}
.obs-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .22s ease, color .22s ease, transform .22s ease;
}
.obs-nav__link:hover {
  background: var(--paper-deep);
  transform: translateY(-1px);
}
.obs-nav__link[aria-current="page"] {
  background: linear-gradient(140deg, #1F3157, var(--ink));
  color: var(--gold-soft);
}
.obs-nav__link[aria-current="page"]::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(231, 185, 74, .2);
}

/* 认证入口 */
.auth-pill {
  order: 3;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 17px;
  border-radius: var(--radius-pill);
  background: linear-gradient(140deg, #223357, var(--navy));
  color: var(--gold-soft);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(231, 185, 74, .48);
  box-shadow: var(--shadow-island);
  transition: transform .22s ease, color .22s ease, border-color .22s ease, background-color .22s ease;
}
.auth-pill:hover, .auth-pill:focus-visible {
  transform: translateY(-1px);
  color: #FFF9E8;
  border-color: var(--gold);
  background: linear-gradient(140deg, #2A3D66, #16233F);
}
.auth-pill__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(231, 185, 74, .18);
}
.auth-pill__short { display: none; }

/* 移动菜单按钮 */
.obs-toggle {
  order: 4;
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  background: var(--cloud);
  color: var(--ink);
  border: 1px solid var(--haze);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: var(--shadow-island);
  transition: border-color .2s ease, background-color .2s ease;
}
.obs-toggle:hover { border-color: var(--ink); }
.obs-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
  height: 14px;
}
.obs-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.obs-toggle[aria-expanded="true"] .obs-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.obs-toggle[aria-expanded="true"] .obs-toggle__bars i:nth-child(2) { opacity: 0; }
.obs-toggle[aria-expanded="true"] .obs-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 滚动进度星轨 */
.obs-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 3;
  pointer-events: none;
  background: rgba(16, 26, 51, .08);
}
.obs-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  box-shadow: 0 0 8px rgba(231, 185, 74, .55);
  transition: width .12s linear;
}

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

/* ---------- 页脚：高原夜空 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  padding-top: clamp(36px, 5vw, 68px);
  overflow: hidden;
  color: rgba(244, 239, 228, .82);
  background:
    radial-gradient(120% 90% at 78% -12%, #25375E 0%, #16233F 46%, #0C1730 100%);
  border-top: 1px solid rgba(231, 185, 74, .28);
}
.site-footer__sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .6;
  background-image:
    radial-gradient(1.6px 1.6px at 11% 18%, rgba(231, 185, 74, .95), transparent 62%),
    radial-gradient(1.2px 1.2px at 24% 42%, rgba(251, 248, 240, .8), transparent 62%),
    radial-gradient(1.8px 1.8px at 38% 12%, rgba(231, 185, 74, .8), transparent 62%),
    radial-gradient(1.2px 1.2px at 52% 34%, rgba(251, 248, 240, .7), transparent 62%),
    radial-gradient(1.5px 1.5px at 67% 20%, rgba(231, 185, 74, .9), transparent 62%),
    radial-gradient(1.1px 1.1px at 79% 46%, rgba(251, 248, 240, .75), transparent 62%),
    radial-gradient(1.7px 1.7px at 90% 15%, rgba(231, 185, 74, .85), transparent 62%),
    radial-gradient(1.2px 1.2px at 45% 58%, rgba(44, 111, 183, .9), transparent 62%),
    radial-gradient(1.3px 1.3px at 8% 62%, rgba(251, 248, 240, .6), transparent 62%);
}
.site-footer__sky::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: radial-gradient(64% 100% at 50% 100%, rgba(44, 111, 183, .34), transparent 72%);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(78px, 13vw, 150px);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7, 12, 24, .92), rgba(7, 12, 24, .08));
  clip-path: polygon(0 82%, 8% 63%, 17% 76%, 27% 49%, 36% 68%, 46% 41%, 57% 70%, 68% 53%, 78% 74%, 88% 57%, 100% 72%, 100% 100%, 0 100%);
}
.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1.6fr .8fr .8fr 1.25fr;
  gap: clamp(24px, 4vw, 46px);
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-brand__mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold), var(--gold-soft) 55%, #C8922B);
  box-shadow: 0 0 0 4px rgba(231, 185, 74, .12);
  margin-bottom: 4px;
}
.footer-brand__name {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--cloud);
  margin: 0;
}
.footer-brand__desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 239, 228, .68);
  max-width: 30ch;
  margin: 0;
}
.footer-brand__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: rgba(231, 185, 74, .82);
  margin: 0;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0;
}
.footer-col__title::before {
  content: "";
  width: 14px;
  height: 1px;
  background: rgba(231, 185, 74, .6);
}
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a {
  display: inline-flex;
  padding: 4px 0;
  font-size: 14.5px;
  color: rgba(244, 239, 228, .78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-links a:hover, .footer-links a:focus-visible {
  color: var(--gold-soft);
  border-bottom-color: rgba(231, 185, 74, .7);
  transform: translateX(2px);
}
.footer-contact { display: grid; gap: 14px; }
.footer-contact__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.footer-contact__label {
  flex-basis: 100%;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: rgba(244, 239, 228, .48);
}
.footer-contact__value {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(251, 248, 240, .92);
  word-break: break-word;
}
.footer-contact__note {
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(244, 239, 228, .58);
  border-left: 2px solid rgba(231, 185, 74, .55);
  padding-left: 11px;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--gold-soft);
  background: rgba(231, 185, 74, .12);
  border: 1px solid rgba(231, 185, 74, .42);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.copy-btn:hover { background: rgba(231, 185, 74, .26); }
.copy-btn[data-copied="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #F2FBF6;
}
.copy-btn[data-copied="false"] {
  background: rgba(200, 69, 59, .22);
  border-color: rgba(200, 69, 59, .7);
  color: #F7D9D6;
}
.site-footer__base {
  position: relative;
  z-index: 1;
  margin-top: clamp(28px, 4vw, 50px);
  border-top: 1px solid rgba(244, 239, 228, .14);
  background: rgba(8, 14, 27, .58);
}
.site-footer__base-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 16px var(--gutter) 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: rgba(244, 239, 228, .6);
}
.site-footer__base-inner a {
  color: rgba(244, 239, 228, .82);
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 185, 74, .34);
  transition: color .2s ease, border-color .2s ease;
}
.site-footer__base-inner a:hover { color: var(--gold-soft); border-bottom-color: var(--gold); }
.site-footer__sep { color: rgba(231, 185, 74, .55); }

/* ---------- 通用组件 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.breadcrumb a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.breadcrumb__sep { color: var(--haze); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(140deg, var(--gold-soft), var(--gold));
  color: #221806;
  box-shadow: 0 14px 28px -20px rgba(231, 185, 74, .95);
}
.btn--gold:hover { background: linear-gradient(140deg, #F8E3AE, var(--gold-soft)); }
.btn--ink {
  background: linear-gradient(140deg, #223357, var(--ink));
  color: var(--cloud);
  border-color: rgba(231, 185, 74, .35);
}
.btn--ink:hover { color: var(--gold-soft); border-color: var(--gold); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--haze);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(16, 26, 51, .05); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  border: 1px solid transparent;
}
.tag--blue { background: rgba(44, 111, 183, .12); color: #1E5B97; border-color: rgba(44, 111, 183, .32); }
.tag--red { background: rgba(200, 69, 59, .12); color: #A6362D; border-color: rgba(200, 69, 59, .32); }
.tag--green { background: rgba(47, 125, 92, .13); color: #256349; border-color: rgba(47, 125, 92, .32); }
.tag--yellow { background: rgba(224, 169, 59, .16); color: #8A6413; border-color: rgba(224, 169, 59, .42); }
.tag--gold { background: rgba(231, 185, 74, .2); color: #7E5A10; border-color: rgba(231, 185, 74, .55); }
.tag--mono { font-family: var(--font-mono); letter-spacing: .06em; }

.panel {
  background: var(--cloud);
  border: 1px solid var(--haze);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--shadow-panel);
}
.panel--dark {
  background: linear-gradient(155deg, #22345A, var(--ink) 78%);
  color: rgba(244, 239, 228, .86);
  border-color: rgba(231, 185, 74, .3);
}
.panel--dark .panel__title { color: var(--gold-soft); }
.panel__title {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 600;
  margin-bottom: .6em;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(16px, 2.2vw, 28px);
}
.section-head__eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 4px;
}
.section-head__title {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 700;
  margin: 0;
}

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--muted);
}
.panel--dark .stat__value { color: var(--gold-soft); }
.panel--dark .stat__label { color: rgba(244, 239, 228, .6); }

/* 图片容器基础规则（页面阶段填充内容） */
.media-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #26385F, var(--ink));
  border: 1px solid rgba(231, 185, 74, .24);
  box-shadow: var(--shadow-panel);
}
.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: rgba(251, 248, 240, .88);
  background: linear-gradient(to top, rgba(8, 14, 27, .88), rgba(8, 14, 27, 0));
}

/* ---------- 显现动画 ---------- */
.js-on [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.22, .61, .36, 1);
}
.js-on [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-contact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
}

@media (max-width: 980px) {
  .obs-toggle { display: inline-flex; }
  .obs-nav {
    order: 5;
    flex-basis: 100%;
    width: 100%;
    display: none;
    margin-top: 4px;
  }
  .obs-nav[data-open] {
    display: block;
    animation: nav-drop .26s ease both;
  }
  .obs-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    border-radius: var(--radius-lg);
  }
  .obs-nav__link {
    justify-content: space-between;
    padding: 13px 16px;
    font-size: 15px;
  }
  .obs-nav__link[aria-current="page"]::after { order: 2; }
  .auth-pill { margin-left: auto; }
  .site-header { padding-bottom: 10px; }
}

@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; }
  .site-footer__base-inner { font-size: 11.5px; }
}

@media (max-width: 600px) {
  .brand { padding: 7px 14px 7px 11px; gap: 9px; }
  .brand__name { font-size: 15.5px; }
  .brand__sub { display: none; }
  .auth-pill__full { display: none; }
  .auth-pill__short { display: inline; }
  .auth-pill { padding: 8px 14px; font-size: 12.5px; gap: 7px; }
  .obs-toggle__label { display: none; }
  .footer-brand__name { font-size: 19px; }
  .site-footer__inner { gap: 26px; }
  #main-content { scroll-margin-top: 110px; }
}

@media (max-width: 420px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-contact { grid-template-columns: 1fr; }
}

/* ---------- 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js-on [data-reveal] { opacity: 1; transform: none; }
  .brand:hover, .auth-pill:hover, .btn:hover, .obs-nav__link:hover,
  .footer-links a:hover, .footer-links a:focus-visible { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
