/* ===== 悦盈稳当 共享样式 /assets/site.css ===== */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(90% 60% at 8% -10%, rgba(18, 60, 48, 0.85), transparent 62%),
    radial-gradient(70% 50% at 100% 0%, rgba(63, 224, 208, 0.07), transparent 60%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; font-weight: 800; }

p {
  margin: 0 0 1.1em;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.75;
  text-wrap: pretty;
}

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { color: var(--muted); }

a {
  color: var(--amber-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

a:hover { color: var(--cyan-soft); }

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

button { font: inherit; color: inherit; }

strong, b { font-weight: 800; color: var(--paper); }

code, kbd, samp, pre, .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

hr {
  border: 0;
  height: 1px;
  background: rgba(184, 199, 192, 0.18);
  margin: var(--sp-4) 0;
}

[hidden] { display: none !important; }

::selection {
  background: var(--amber);
  color: var(--ink-text);
}

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

:where(a, button, [tabindex]):focus:not(:focus-visible) { outline: none; }

/* ---------- 变量 ---------- */
:root {
  --ink-900: #071C16;
  --ink-800: #0B2A21;
  --ink-700: #123C30;
  --amber: #F2B544;
  --amber-soft: #FFD98A;
  --cyan: #3FE0D0;
  --cyan-soft: #A8FFF4;
  --paper: #F6F3E9;
  --paper-warm: #EAE4D3;
  --muted: #B8C7C0;
  --ink-text: #0A1813;
  --alert: #FF6B5A;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", SFMono-Regular, Consolas, "Liberation Mono", monospace;

  --page-max: 1440px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-offset: 152px;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 38px;
  --r-pill: 999px;

  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;
  --sp-8: 128px;

  --fs-h1: clamp(3rem, 9vw, 8rem);
  --fs-h2: clamp(2rem, 4vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.75rem);
  --fs-body: clamp(1rem, 0.6vw + 0.9rem, 1.125rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-island: 0 18px 44px -26px rgba(0, 0, 0, 0.95);
  --ring: 0 0 0 1px rgba(184, 199, 192, 0.16);
}

/* ---------- 布局基础 ---------- */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(56px, 8vw, 112px);
}

.section__head {
  display: grid;
  gap: var(--sp-2);
  margin-bottom: clamp(28px, 4vw, 56px);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.75;
}

.section__title { margin-bottom: 0; }

.lede {
  max-width: 58ch;
  font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
  line-height: 1.7;
  color: var(--paper-warm);
}

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

.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)); }

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

@media (max-width: 680px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

#main-content {
  display: block;
  scroll-margin-top: var(--header-offset);
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--amber);
  color: var(--ink-text);
  font-weight: 800;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.9);
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}

.skip-link:focus-visible,
.skip-link:focus {
  transform: translateY(0);
  color: var(--ink-text);
}

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding-top: clamp(10px, 1.4vw, 16px);
  padding-bottom: clamp(8px, 1vw, 12px);
  background: rgba(7, 28, 22, 0.76);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid rgba(18, 60, 48, 0.85);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  opacity: 0.9;
}

.header-inner {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
}

/* 品牌浮岛 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 7px 18px 7px 8px;
  border-radius: var(--r-pill);
  background: rgba(11, 42, 33, 0.9);
  border: 1px solid rgba(18, 60, 48, 1);
  box-shadow: var(--shadow-island);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.brand:hover {
  color: var(--paper);
  border-color: rgba(242, 181, 68, 0.6);
  background: rgba(18, 60, 48, 0.95);
}

.brand__glyph {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 11px;
  background:
    conic-gradient(from 210deg at 30% 30%, var(--amber) 0deg, var(--amber-soft) 70deg, var(--cyan) 200deg, var(--ink-700) 330deg);
  box-shadow: inset 0 0 0 1px rgba(7, 28, 22, 0.35);
  overflow: hidden;
}

.brand__glyph::after {
  content: "";
  position: absolute;
  inset: 9px 9px 9px 9px;
  border-radius: 5px;
  background: var(--ink-900);
  clip-path: polygon(0 0, 100% 0, 100% 46%, 46% 46%, 46% 100%, 0 100%);
}

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

.brand__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.24em;
  color: rgba(184, 199, 192, 0.75);
  text-transform: uppercase;
}

/* 导航浮岛 */
.nav-island {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 1 auto;
  margin-inline: auto;
  padding: 6px;
  border-radius: var(--r-pill);
  background: rgba(11, 42, 33, 0.82);
  border: 1px solid rgba(18, 60, 48, 1);
  box-shadow: var(--shadow-island);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item { color: inherit; }

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--paper);
  background: rgba(242, 181, 68, 0.14);
}

.nav-link[aria-current="page"] {
  background: var(--amber);
  color: var(--ink-text);
  font-weight: 800;
  box-shadow: 0 10px 24px -14px rgba(242, 181, 68, 0.95);
}

.nav-link[aria-current="page"]:hover {
  background: var(--amber-soft);
  color: var(--ink-text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: var(--ink-text);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--cyan-soft);
  color: var(--ink-text);
  transform: translateY(-1px);
}

/* 右侧操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.version-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(11, 42, 33, 0.85);
  border: 1px solid rgba(18, 60, 48, 1);
  box-shadow: var(--shadow-island);
}

.version-switch__btn {
  appearance: none;
  border: 0;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.version-switch__btn:hover {
  color: var(--paper);
  background: rgba(63, 224, 208, 0.12);
}

.version-switch__btn[aria-pressed="true"] {
  background: var(--cyan);
  color: var(--ink-text);
  font-weight: 700;
  box-shadow: 0 8px 20px -12px rgba(63, 224, 208, 0.95);
}

.version-switch__btn[aria-pressed="true"]:hover {
  background: var(--cyan-soft);
  color: var(--ink-text);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: var(--r-pill);
  background: rgba(11, 42, 33, 0.9);
  border: 1px solid rgba(18, 60, 48, 1);
  color: var(--paper);
  cursor: pointer;
  box-shadow: var(--shadow-island);
  transition: border-color 0.2s var(--ease);
}

.nav-toggle:hover { border-color: rgba(242, 181, 68, 0.7); }

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 联赛分区带 */
.league-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-left: 4px;
}

.league-rail__label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(184, 199, 192, 0.62);
}

.league-rail__track {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 2px 2px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.league-rail__track::-webkit-scrollbar { display: none; }

.league-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(184, 199, 192, 0.16);
  background: rgba(11, 42, 33, 0.72);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.league-chip:hover {
  color: var(--paper);
  border-color: rgba(242, 181, 68, 0.55);
}

.league-chip[aria-pressed="true"] {
  background: rgba(242, 181, 68, 0.16);
  border-color: var(--amber);
  color: var(--amber-soft);
  font-weight: 700;
}

.league-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(63, 224, 208, 0.14);
}

.league-chip[aria-pressed="true"] .league-chip__dot {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(242, 181, 68, 0.2);
}

.league-rail__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(63, 224, 208, 0.1);
  border: 1px solid rgba(63, 224, 208, 0.28);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(63, 224, 208, 0.18);
  animation: status-pulse 2.4s var(--ease) infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.82); }
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--ink-800);
  border-top: 1px solid rgba(18, 60, 48, 1);
  color: var(--muted);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), rgba(63, 224, 208, 0.9) 42%, rgba(18, 60, 48, 0.2));
}

.footer-inner {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 80px) var(--gutter) var(--sp-4);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.5fr;
  gap: clamp(24px, 3.5vw, 56px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.footer-brand {
  display: grid;
  gap: var(--sp-2);
  justify-items: start;
  align-content: start;
  max-width: 34ch;
}

.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
}

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

.footer-brand__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.footer-brand__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(63, 224, 208, 0.1);
  border: 1px solid rgba(63, 224, 208, 0.26);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.footer-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(63, 224, 208, 0.16);
}

.footer-col {
  display: grid;
  gap: var(--sp-2);
  align-content: start;
}

.footer-col__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}

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

.footer-list > li { color: inherit; }

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-link::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(184, 199, 192, 0.32);
  transition: background-color 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--amber-soft);
}

.footer-link:hover::before { background: var(--amber); }

.footer-link--inline {
  display: inline;
  font-size: 0.8125rem;
}

.footer-link--inline::before { display: none; }

.contact-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--muted);
  font-size: 0.875rem;
}

.contact-row__label {
  flex: 0 0 100%;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(184, 199, 192, 0.58);
}

.contact-row__value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--paper-warm);
  font-size: 0.875rem;
  line-height: 1.6;
  word-break: break-word;
}

.copy-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(184, 199, 192, 0.24);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.copy-btn:hover {
  color: var(--amber-soft);
  border-color: rgba(242, 181, 68, 0.6);
  background: rgba(242, 181, 68, 0.1);
}

.copy-btn.is-copied {
  color: var(--cyan);
  border-color: rgba(63, 224, 208, 0.65);
  background: rgba(63, 224, 208, 0.12);
}

.copy-btn.is-failed {
  color: var(--alert);
  border-color: rgba(255, 107, 90, 0.6);
}

.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(184, 199, 192, 0.14);
}

.footer-meta,
.footer-legal,
.footer-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: rgba(184, 199, 192, 0.78);
}

.footer-legal {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(18, 60, 48, 0.9);
  border: 1px solid rgba(184, 199, 192, 0.14);
}

.footer-note {
  flex: 1 1 260px;
  color: rgba(184, 199, 192, 0.62);
}

.footer-bottom .footer-meta:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--primary {
  background: var(--amber);
  color: var(--ink-text);
  box-shadow: 0 16px 30px -18px rgba(242, 181, 68, 0.95);
}

.btn--primary:hover {
  background: var(--amber-soft);
  color: var(--ink-text);
  transform: translateY(-2px);
}

.btn--cyan {
  background: var(--cyan);
  color: var(--ink-text);
}

.btn--cyan:hover {
  background: var(--cyan-soft);
  color: var(--ink-text);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: rgba(184, 199, 192, 0.34);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn--quiet {
  padding: 10px 18px;
  border-color: rgba(184, 199, 192, 0.22);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.btn--quiet:hover {
  color: var(--paper);
  border-color: rgba(242, 181, 68, 0.6);
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(184, 199, 192, 0.18);
  background: rgba(18, 60, 48, 0.9);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--amber {
  background: rgba(242, 181, 68, 0.16);
  border-color: rgba(242, 181, 68, 0.45);
  color: var(--amber-soft);
}

.tag--cyan {
  background: rgba(63, 224, 208, 0.14);
  border-color: rgba(63, 224, 208, 0.38);
  color: var(--cyan-soft);
}

.tag--alert {
  background: rgba(255, 107, 90, 0.14);
  border-color: rgba(255, 107, 90, 0.42);
  color: #FFB4AB;
}

/* ---------- 面板块 ---------- */
.panel {
  display: block;
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--ink-800);
  border: 1px solid rgba(18, 60, 48, 1);
  box-shadow: 0 22px 48px -36px rgba(0, 0, 0, 0.95);
}

.panel--paper {
  background: var(--paper);
  border-color: rgba(10, 24, 19, 0.1);
  color: var(--ink-text);
}

.panel--paper h2,
.panel--paper h3,
.panel--paper h4,
.panel--paper strong { color: var(--ink-text); }

.panel--paper p,
.panel--paper li { color: rgba(10, 24, 19, 0.78); }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: block;
  padding-top: clamp(20px, 3vw, 36px);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(184, 199, 192, 0.7);
}

.breadcrumb__list > li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: inherit;
}

.breadcrumb__list > li + li::before {
  content: "/";
  color: rgba(184, 199, 192, 0.35);
}

.breadcrumb__list a {
  color: rgba(184, 199, 192, 0.85);
  text-decoration: none;
}

.breadcrumb__list a:hover { color: var(--amber-soft); }

.breadcrumb__list [aria-current="page"] {
  color: var(--paper);
  font-weight: 500;
}

/* ---------- 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 10;
  isolation: isolate;
  background-color: var(--ink-700);
  background-image:
    radial-gradient(120% 90% at 10% 6%, rgba(63, 224, 208, 0.2), transparent 58%),
    radial-gradient(90% 80% at 92% 96%, rgba(242, 181, 68, 0.18), transparent 60%),
    linear-gradient(160deg, var(--ink-700), var(--ink-800) 62%, #0a2b21);
  border: 1px solid rgba(18, 60, 48, 1);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(184, 199, 192, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 199, 192, 0.1) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}

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

.media-frame > picture { display: block; width: 100%; height: 100%; }

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

@media (max-width: 680px) {
  .media-frame,
  .media-frame--wide { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
  .media-frame--tall { aspect-ratio: 3 / 4; }
}

/* ---------- 滚动显现协议 ---------- */
html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

html.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式：头部 ---------- */
@media (max-width: 1180px) {
  .nav-cta { display: none; }
  .nav-link { padding: 9px 12px; font-size: 0.875rem; }
}

@media (max-width: 900px) {
  :root { --header-offset: 132px; }

  .brand { padding: 6px 14px 6px 7px; }
  .brand__glyph { width: 28px; height: 28px; border-radius: 9px; }
  .brand__name { font-size: 1rem; }
  .brand__sub { display: none; }

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

  .version-switch { padding: 3px; }
  .version-switch__btn { padding: 7px 11px; font-size: 0.6875rem; }

  .nav-island {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-inline: 0;
    padding: 10px;
    border-radius: var(--r-lg);
    background: rgba(11, 42, 33, 0.98);
    box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.98);
  }

  .nav-island[data-open="true"] { display: flex; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    padding: 14px 16px;
    border-radius: var(--r-md);
    font-size: 1rem;
  }

  .nav-cta {
    display: inline-flex;
    margin: 6px 0 0;
    padding: 14px 18px;
  }

  .league-rail { margin-top: 8px; padding-left: 0; }
  .league-rail__label { display: none; }
  .league-chip { padding: 6px 12px; font-size: 0.75rem; }
  .league-rail__status { display: none; }
}

@media (max-width: 480px) {
  .brand { gap: 8px; padding: 5px 12px 5px 6px; }
  .brand__glyph { width: 24px; height: 24px; border-radius: 8px; }
  .brand__glyph::after { inset: 7px; }
  .brand__name { font-size: 0.9375rem; }
  .version-switch__btn { padding: 6px 9px; font-size: 0.625rem; }
  .nav-toggle { width: 42px; height: 42px; }
  .header-actions { gap: 6px; }
}

/* ---------- 响应式：页脚 ---------- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand { max-width: none; grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { gap: 10px; }
  .footer-note { flex-basis: 100%; }
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .status-dot { animation: none; }

  html.has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .nav-toggle__bar,
  .skip-link,
  .btn,
  .nav-cta { transition: none !important; }

  .btn:hover,
  .nav-cta:hover { transform: none; }
}
