/* ============================================================
   云体育主站 · 共享样式 /assets/site.css
   夜空蓝基底 + 荧光绿状态 + 转会橙流动信息
   ============================================================ */

:root {
  --ink-950: #050A16;
  --ink-900: #0A1428;
  --panel: #121E3F;
  --steel: #6F84A8;
  --mist: #E9F0FA;
  --body-text: #C8D5EA;
  --lime: #A8FF4F;
  --orange: #FF8A3D;
  --cyan: #4CD7D0;
  --teal: #0B3B3C;
  --wine: #4A1730;
  --violet: #211A55;
  --warn: #FFD166;

  --hair: rgba(111, 132, 168, 0.26);
  --hair-strong: rgba(111, 132, 168, 0.44);
  --chamfer: 12px;
  --radius: 14px;
  --shell: 1280px;
  --pad-x: clamp(16px, 3.2vw, 32px);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);

  --font-sans: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
}

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

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

body,
h1, h2, h3, h4, h5,
p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
}

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

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

img { display: block; height: auto; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a { color: inherit; }

table { border-collapse: collapse; }

/* ---------- base ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-950);
  background-image:
    radial-gradient(70% 60% at 84% -8%, rgba(76, 215, 208, 0.13), transparent 68%),
    radial-gradient(54% 46% at 4% -6%, rgba(168, 255, 79, 0.08), transparent 70%);
  background-repeat: no-repeat;
  background-size: 100% 760px, 100% 620px;
  color: var(--body-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(168, 255, 79, 0.3);
  color: var(--mist);
}

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

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

/* ---------- 排版 ---------- */
h1, h2, h3, h4 {
  color: var(--mist);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

h1 { font-size: clamp(3rem, 8vw, 7rem); }

h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

h3 { font-size: clamp(1.125rem, 1.8vw, 1.375rem); }

p { max-width: 68ch; }

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

.prose {
  max-width: 68ch;
  color: var(--body-text);
}

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

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

.prose a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(76, 215, 208, 0.4);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.prose a:hover { color: var(--lime); border-bottom-color: var(--lime); }

.eyebrow {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--cyan);
  display: block;
  margin-bottom: 0.7em;
}

.lede {
  max-width: 62ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.75;
  color: #B9C7DE;
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--lime), rgba(168, 255, 79, 0));
}

/* ---------- 布局 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.page-main { display: block; min-height: 60vh; }

.section { padding-block: clamp(40px, 6vw, 88px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.grid {
  display: grid;
  gap: 24px;
}

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

.band {
  position: relative;
  padding-block: clamp(36px, 5vw, 72px);
}

.band--teal { background: linear-gradient(180deg, var(--teal), #07282A); }
.band--wine { background: linear-gradient(180deg, var(--wine), #2E0E1E); }
.band--violet { background: linear-gradient(180deg, var(--violet), #150F3A); }
.band--panel { background: var(--ink-900); }

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s var(--ease), background-color 0.16s var(--ease),
    border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.btn--primary {
  background: var(--lime);
  color: #04101C;
  border-radius: 0;
  clip-path: polygon(
    var(--chamfer) 0, 100% 0,
    100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%,
    0 100%, 0 var(--chamfer)
  );
}

.btn--primary:hover { background: #BCFF70; transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  border-color: var(--hair-strong);
  color: var(--mist);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(76, 215, 208, 0.08);
  transform: translateY(-2px);
}

.btn--quiet {
  padding: 8px 2px;
  background: transparent;
  border-radius: 0;
  color: var(--lime);
  border-bottom: 1px solid rgba(168, 255, 79, 0.45);
}

.btn--quiet:hover { border-bottom-color: var(--lime); color: var(--mist); }

.panel {
  position: relative;
  background: linear-gradient(160deg, rgba(18, 30, 63, 0.92), rgba(10, 20, 40, 0.92));
  border: 1px solid var(--hair);
  border-radius: var(--radius);
}

.chamfer {
  border-radius: 0;
  clip-path: polygon(
    var(--chamfer) 0, 100% 0,
    100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%,
    0 100%, 0 var(--chamfer)
  );
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(111, 132, 168, 0.1);
  color: var(--mist);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.tag--live { color: var(--lime); border-color: rgba(168, 255, 79, 0.36); background: rgba(168, 255, 79, 0.1); }
.tag--transfer { color: var(--orange); border-color: rgba(255, 138, 61, 0.36); background: rgba(255, 138, 61, 0.1); }
.tag--data { color: var(--cyan); border-color: rgba(76, 215, 208, 0.36); background: rgba(76, 215, 208, 0.1); }
.tag--warn { color: var(--warn); border-color: rgba(255, 209, 102, 0.36); background: rgba(255, 209, 102, 0.1); }

.breadcrumb { padding-block: 12px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--steel);
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(111, 132, 168, 0.55);
}

.breadcrumb__link {
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.breadcrumb__link:hover { color: var(--cyan); border-bottom-color: rgba(76, 215, 208, 0.5); }

.breadcrumb__current { color: var(--mist); font-weight: 600; }

.toc-link {
  display: block;
  padding: 6px 10px 6px 12px;
  border-left: 2px solid var(--hair);
  color: var(--steel);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease),
    background-color 0.16s var(--ease);
}

.toc-link:hover { color: var(--mist); border-left-color: var(--hair-strong); }

.toc-link[aria-current="true"] {
  color: var(--lime);
  border-left-color: var(--lime);
  background: rgba(168, 255, 79, 0.08);
}

/* 图片容器基础 */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(150deg, var(--ink-900), var(--panel));
  border: 1px solid var(--hair);
  border-radius: var(--radius);
}

.media-frame img {
  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--silhouette img {
  filter: saturate(0.75) contrast(1.08) brightness(0.9);
}

.media-frame--placeholder {
  display: grid;
  place-items: center;
}

.media-frame--placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(111, 132, 168, 0.14) 0 1px, transparent 1px 26px),
    radial-gradient(60% 60% at 72% 0%, rgba(76, 215, 208, 0.16), transparent 70%);
}

.media-frame--placeholder::after {
  content: attr(data-label);
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.media-frame__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 14px 16px 12px;
  font-size: 0.8125rem;
  color: var(--mist);
  background: linear-gradient(transparent, rgba(5, 10, 22, 0.92));
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: #04101C;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transform: translateY(-170%);
  transition: transform 0.18s var(--ease);
}

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

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-block: clamp(12px, 1.6vw, 18px);
  background: linear-gradient(
    180deg,
    rgba(5, 10, 22, 0.94) 0%,
    rgba(5, 10, 22, 0.74) 62%,
    rgba(5, 10, 22, 0) 100%
  );
  transition: padding-block 0.2s var(--ease), background-color 0.2s var(--ease);
}

.site-header.is-scrolled {
  padding-block: 8px;
  background-color: rgba(5, 10, 22, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--hair);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.4vw, 16px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 6px 16px 6px 8px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: rgba(18, 30, 63, 0.9);
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease),
    transform 0.16s var(--ease);
}

.brand:hover {
  border-color: rgba(168, 255, 79, 0.5);
  box-shadow: 0 10px 28px -18px rgba(168, 255, 79, 0.9);
  transform: translateY(-1px);
}

.brand-mark {
  width: 26px;
  height: 26px;
  flex: none;
  background: conic-gradient(from 210deg, var(--lime), var(--cyan) 42%, var(--panel) 42%);
  clip-path: polygon(0 0, 100% 0, 100% 66%, 66% 100%, 0 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.site-header.is-scrolled .brand-tag { display: none; }

.nav-capsule {
  padding: 5px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: rgba(18, 30, 63, 0.9);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #C6D2E6;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.nav-link:hover {
  color: var(--mist);
  background: rgba(76, 215, 208, 0.1);
}

.nav-link[aria-current="page"] {
  color: var(--lime);
  background: rgba(168, 255, 79, 0.12);
}

.nav-link[aria-current="page"]::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(168, 255, 79, 0.16);
}

.nav-drawer-tools { display: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: rgba(18, 30, 63, 0.9);
  color: #C6D2E6;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease),
    background-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.nav-action:hover {
  color: var(--cyan);
  border-color: rgba(76, 215, 208, 0.55);
  background: rgba(76, 215, 208, 0.08);
  transform: translateY(-1px);
}

.nav-action__icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex: none;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.nav-action__icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 6px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
  border-radius: 2px;
}

.nav-action__icon--pin {
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.nav-action__icon--pin::after { display: none; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--lime);
  color: #04101C;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  clip-path: polygon(
    10px 0, 100% 0,
    100% calc(100% - 10px), calc(100% - 10px) 100%,
    0 100%, 0 10px
  );
  transition: background-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.nav-cta:hover { background: #BCFF70; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--hair-strong);
  border-radius: 50%;
  background: rgba(18, 30, 63, 0.9);
  color: var(--mist);
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.nav-toggle:hover { border-color: rgba(168, 255, 79, 0.55); }

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

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5.5px) 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(-5.5px) rotate(-45deg);
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(111, 132, 168, 0.14);
  overflow: hidden;
}

.scroll-meter__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--lime), var(--cyan) 58%, var(--orange));
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--panel);
  border-top: 1px solid var(--hair-strong);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    108deg,
    rgba(111, 132, 168, 0.07) 0 1px,
    transparent 1px 76px
  );
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.3fr;
  gap: clamp(24px, 3vw, 48px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px) var(--pad-x) 0;
}

.brand--footer {
  background: rgba(10, 20, 40, 0.72);
  border-color: var(--hair);
}

.footer-note {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--steel);
}

.footer-heading {
  margin-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.footer-links li + li { margin-top: 10px; }

.footer-link {
  display: inline-block;
  color: #B9C7DE;
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-link:hover { color: var(--lime); border-bottom-color: rgba(168, 255, 79, 0.6); }

.footer-contact-list li + li { margin-top: 12px; }

.footer-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  font-size: 0.875rem;
  color: #B9C7DE;
}

.footer-contact__label {
  min-width: 3em;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.footer-contact__value { word-break: break-word; }

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

.copy-btn {
  padding: 2px 10px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--steel);
  font-size: 0.75rem;
  line-height: 1.6;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease),
    background-color 0.16s var(--ease);
}

.copy-btn:hover {
  color: var(--lime);
  border-color: rgba(168, 255, 79, 0.5);
  background: rgba(168, 255, 79, 0.08);
}

.copy-status {
  display: inline-block;
  min-height: 1em;
  font-size: 0.75rem;
  color: var(--lime);
  opacity: 0;
  transition: opacity 0.16s var(--ease);
}

.copy-status:not(:empty) { opacity: 1; }

.footer-legal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  width: 100%;
  max-width: var(--shell);
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding: 18px var(--pad-x) 22px;
  border-top: 1px solid var(--hair);
  font-size: 0.8125rem;
  color: var(--steel);
}

.footer-legal p { max-width: none; }

.footer-legal__icp {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal__link {
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-legal__link:hover { color: var(--mist); border-bottom-color: var(--hair-strong); }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid rgba(168, 255, 79, 0.4);
  border-radius: 999px;
  background: transparent;
  color: var(--lime);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease),
    transform 0.16s var(--ease);
}

.to-top::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

.to-top:hover {
  background: rgba(168, 255, 79, 0.12);
  border-color: var(--lime);
  transform: translateY(-2px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-capsule {
    position: absolute;
    top: calc(100% + 8px);
    right: var(--pad-x);
    left: auto;
    width: min(340px, calc(100vw - 32px));
    padding: 10px;
    border-radius: 18px;
    background: rgba(10, 20, 40, 0.97);
    box-shadow: 0 28px 64px -32px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.16s var(--ease), transform 0.16s var(--ease),
      visibility 0.16s var(--ease);
  }

  .nav-capsule[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

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

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 0.9375rem;
  }

  .nav-drawer-tools {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--hair);
  }

  .nav-drawer-tools .nav-action {
    justify-content: flex-start;
    width: 100%;
    border-color: transparent;
    background: transparent;
    padding: 10px 14px;
  }

  .nav-actions .nav-action { display: none; }

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

  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

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

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

@media (max-width: 760px) {
  .brand-tag { display: none; }

  .brand { padding: 5px 14px 5px 7px; }

  .nav-cta { display: none; }

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

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .to-top { align-self: flex-start; }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }

  .footer-brand { grid-column: auto; }

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

/* ---------- 降低动效 ---------- */
@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;
    transition-delay: 0ms !important;
  }

  .brand:hover,
  .nav-action:hover,
  .nav-cta:hover,
  .btn--primary:hover,
  .btn--ghost:hover,
  .to-top:hover {
    transform: none;
  }
}
