/* ==========================================================================
   澳门电玩城 · 共享样式表 /assets/site.css
   夜霓底紫画布 + 框架式导航 + 玻璃层与实色面板并置
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body { margin: 0; }

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

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

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

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

h1, h2, h3, h4, p, figure, dl, dd {
  margin: 0;
}

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #1B0B33;
  --ink-2: #150A2B;
  --ink-deep: #0A0718;
  --cyan: #3BF0E4;
  --magenta: #FF3E8F;
  --gold: #C8A34A;
  --felt: #0F5C4A;
  --glass-white: #F3F1FF;
  --gauze: #8E93B8;
  --orange: #FF8A3D;
  --green: #19D39A;

  --line: rgba(243, 241, 255, .12);
  --line-soft: rgba(243, 241, 255, .07);
  --line-cyan: rgba(59, 240, 228, .38);
  --line-magenta: rgba(255, 62, 143, .34);
  --glass-fill: rgba(243, 241, 255, .06);
  --glass-fill-hi: rgba(243, 241, 255, .16);
  --text-body: rgba(243, 241, 255, .84);

  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: clamp(18px, 4vw, 64px);
  --shell: min(1440px, 100% - var(--gutter) * 2);
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --scroll-progress: 0;
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--glass-white);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 700px at 12% -8%, rgba(255, 62, 143, .20), transparent 62%),
    radial-gradient(900px 620px at 92% 3%, rgba(59, 240, 228, .15), transparent 60%),
    radial-gradient(1000px 900px at 50% 108%, rgba(15, 92, 74, .40), transparent 66%),
    linear-gradient(178deg, #1B0B33 0%, #120726 44%, #0A0718 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 页面左右霓虹边框通道 */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 1px;
  z-index: 70;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(59, 240, 228, .34), rgba(255, 62, 143, .20) 44%, rgba(10, 7, 24, 0) 100%);
}

body::before { left: clamp(6px, 1.6vw, 18px); }
body::after { right: clamp(6px, 1.6vw, 18px); }

@media (max-width: 1100px) {
  body::before,
  body::after { display: none; }
}

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

::selection {
  background: rgba(255, 62, 143, .42);
  color: #fff;
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: .65em 1.1em;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-deep);
  background: var(--cyan);
  box-shadow: 0 10px 30px -12px rgba(59, 240, 228, .9);
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}

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

/* ---------- 5. 排版 ---------- */
.h-display {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.h-section {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.018em;
}

.text-neon {
  color: var(--glass-white);
  text-shadow:
    0 0 1px rgba(59, 240, 228, .95),
    0 0 20px rgba(59, 240, 228, .34),
    0 6px 26px rgba(255, 62, 143, .46);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gauze);
}

.mono { font-family: var(--font-mono); letter-spacing: .08em; }

/* ---------- 6. 布局 ---------- */
.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 36px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--aside { grid-template-columns: minmax(0, 1fr) minmax(210px, 300px); }

.rail-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.9;
  letter-spacing: .1em;
  color: var(--gauze);
  border-left: 1px solid var(--line-cyan);
  padding-left: .9rem;
}

/* ---------- 7. 正文容器 ---------- */
.prose {
  max-width: 44em;
  text-wrap: pretty;
}

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

.prose p,
.prose li {
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--text-body);
}

.prose h2 {
  margin-top: 2.1em;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.012em;
  color: var(--glass-white);
}

.prose h3 {
  margin-top: 1.7em;
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--glass-white);
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(59, 240, 228, .35);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

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

.prose strong { color: var(--glass-white); font-weight: 700; }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .68em 1.15em;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--glass-white);
  background: var(--glass-fill);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.btn:hover {
  background: var(--glass-fill-hi);
  border-color: var(--line-cyan);
  transform: translateY(-2px);
}

.btn--neon {
  border-color: rgba(59, 240, 228, .5);
  background: linear-gradient(120deg, rgba(59, 240, 228, .18), rgba(255, 62, 143, .2));
  box-shadow: 0 12px 34px -22px rgba(59, 240, 228, .95);
}

.btn--neon:hover {
  background: linear-gradient(120deg, rgba(59, 240, 228, .3), rgba(255, 62, 143, .3));
  box-shadow: 0 16px 38px -20px rgba(255, 62, 143, .9);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-magenta);
  color: rgba(243, 241, 255, .88);
}

.btn--ghost:hover {
  border-color: var(--magenta);
  background: rgba(255, 62, 143, .1);
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  width: var(--shell);
  margin: clamp(18px, 2.4vw, 32px) auto 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--gauze);
}

.breadcrumb__list a {
  color: var(--gauze);
  transition: color .18s var(--ease);
}

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

.breadcrumb__sep { color: rgba(142, 147, 184, .55); }

.breadcrumb__list [aria-current="page"] { color: var(--glass-white); }

/* ---------- 10. 通用组件 ---------- */
.glass {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  backdrop-filter: blur(10px) saturate(130%);
  transition: background .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}

.glass:hover {
  background: var(--glass-fill-hi);
  border-color: var(--line-cyan);
  transform: translateY(-3px);
}

.panel {
  padding: clamp(20px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(23, 11, 46, .96), rgba(10, 7, 24, .97));
}

.bevel {
  position: relative;
  border-radius: var(--radius) var(--radius) 0 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.stat { display: grid; gap: .3rem; }

.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--gauze);
}

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .02em;
  color: var(--cyan);
}

.stat__value--gold { color: var(--gold); }
.stat__value--magenta { color: var(--magenta); }

.turn-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--ink-deep);
  box-shadow: 0 0 0 4px rgba(59, 240, 228, .12);
  transition: box-shadow 1.2s var(--ease), border-color .2s var(--ease);
}

.turn-dot:hover { box-shadow: 0 0 0 10px rgba(59, 240, 228, .22); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .28em .7em;
  border: 1px solid var(--line-magenta);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--magenta);
  background: rgba(255, 62, 143, .08);
}

/* ---------- 11. 图像容器 ---------- */
.figure {
  display: grid;
  gap: .7rem;
  margin: 0;
}

.figure__frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(120% 90% at 18% 8%, rgba(59, 240, 228, .18), transparent 58%),
    radial-gradient(100% 90% at 86% 92%, rgba(255, 62, 143, .18), transparent 60%),
    linear-gradient(158deg, #1D0D36, #0B0619);
}

.figure__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(243, 241, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 241, 255, .05) 1px, transparent 1px);
  background-size: 34px 34px, 34px 34px;
  opacity: .7;
}

.figure__frame img,
.figure__frame svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__caption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--gauze);
}

.figure--wide .figure__frame { aspect-ratio: 16 / 9; }
.figure--tall .figure__frame { aspect-ratio: 3 / 4; }
.figure--square .figure__frame { aspect-ratio: 1 / 1; }

/* ---------- 12. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 7, 24, .95), rgba(21, 10, 43, .84));
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: rgba(243, 241, 255, .06);
}

.site-header__rail {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: calc(var(--scroll-progress, 0) * 100%);
  background: linear-gradient(90deg, rgba(59, 240, 228, .95), rgba(255, 62, 143, .95) 68%, rgba(200, 163, 74, .95));
  box-shadow: 0 0 16px -2px rgba(59, 240, 228, .8);
  transition: width .1s linear;
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.6vw, 40px);
  width: var(--shell);
  margin-inline: auto;
  padding: 13px 0;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 900;
  color: var(--ink-deep);
  background: linear-gradient(140deg, var(--cyan), #A8F7FF 42%, var(--magenta));
  box-shadow: 0 0 24px -8px rgba(59, 240, 228, .85);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.16;
}

.brand__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--glass-white);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gauze);
}

/* 导航 */
.site-nav {
  display: flex;
  justify-content: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.3vw, 18px);
}

.site-nav__item { transform: translateY(var(--stagger, 0)); }
.site-nav__item:nth-child(odd) { --stagger: -3px; }
.site-nav__item:nth-child(even) { --stagger: 2px; }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: .42em;
  padding: .55em .34em;
  font-size: 15px;
  font-weight: 500;
  color: rgba(243, 241, 255, .82);
  transition: color .18s var(--ease);
}

.site-nav__link::before {
  content: attr(data-index);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--gauze);
  transform: translateY(-.42em);
  transition: color .18s var(--ease);
}

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

.site-nav__link:hover,
.site-nav__link:focus-visible { color: var(--glass-white); }

.site-nav__link:hover::before,
.site-nav__link:focus-visible::before { color: var(--cyan); }

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

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

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

.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

/* 状态区 */
.header-aside {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: .8rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .4em .82em;
  border: 1px solid rgba(200, 163, 74, .36);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  white-space: nowrap;
  color: var(--gold);
  background: rgba(200, 163, 74, .08);
}

.status-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(25, 211, 154, .9);
  animation: chip-pulse 2.8s ease-in-out infinite;
}

@keyframes chip-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .42; }
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  padding: .55em .85em;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--glass-white);
  background: var(--glass-fill);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}

.nav-toggle:hover {
  background: var(--glass-fill-hi);
  border-color: var(--line-cyan);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--cyan);
  transition: transform .22s var(--ease), opacity .18s var(--ease), top .22s var(--ease);
}

.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }

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

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(60px, 9vw, 140px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  color: rgba(243, 241, 255, .78);
  background:
    radial-gradient(700px 380px at 12% 0%, rgba(255, 62, 143, .14), transparent 62%),
    radial-gradient(700px 400px at 88% 8%, rgba(59, 240, 228, .1), transparent 60%),
    linear-gradient(180deg, #0D0620, #0A0718 62%);
}

.site-footer__rail {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 240, 228, .72) 24%, rgba(255, 62, 143, .72) 68%, transparent);
}

.footer-inner {
  position: relative;
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(42px, 6vw, 84px) 0 clamp(22px, 3vw, 34px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}

.footer-brand__name {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.2;
  color: var(--glass-white);
}

.footer-brand__note {
  margin-top: .7em;
  max-width: 24em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gauze);
}

.footer-col__title {
  display: block;
  margin-bottom: .9em;
  padding-bottom: .5em;
  border-bottom: 1px solid rgba(200, 163, 74, .22);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col__list {
  display: grid;
  gap: .5em;
}

.footer-col__link {
  position: relative;
  display: inline-block;
  font-size: 14.5px;
  color: rgba(243, 241, 255, .72);
  transition: color .18s var(--ease);
}

.footer-col__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.16em;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s var(--ease);
}

.footer-col__link:hover { color: var(--glass-white); }
.footer-col__link:hover::after { transform: scaleX(1); }

.footer-contact {
  display: grid;
  gap: .5rem;
  margin-top: clamp(28px, 4vw, 52px);
  padding-top: clamp(20px, 2.6vw, 30px);
  border-top: 1px solid var(--line);
}

.footer-contact__line {
  position: relative;
  padding-left: 1.1rem;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(243, 241, 255, .74);
  word-break: break-word;
}

.footer-contact__line::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 1px;
  background: var(--cyan);
}

.footer-contact__note {
  position: relative;
  max-width: 52em;
  padding-left: 1.1rem;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--gauze);
}

.footer-mark {
  margin: clamp(28px, 4vw, 56px) 0 0;
  font-size: clamp(46px, 12.5vw, 180px);
  font-weight: 900;
  line-height: .86;
  letter-spacing: -.045em;
  white-space: nowrap;
  color: rgba(243, 241, 255, .045);
  -webkit-text-stroke: 1px rgba(59, 240, 228, .1);
  user-select: none;
  pointer-events: none;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.6rem;
  margin-top: clamp(22px, 3vw, 38px);
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--gauze);
}

/* ---------- 14. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 2.4vw, 34px);
  bottom: clamp(14px, 2.4vw, 34px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .6em 1em;
  border: 1px solid var(--line-cyan);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--cyan);
  background: rgba(10, 7, 24, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s, background .2s var(--ease);
}

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

.to-top:hover { background: rgba(59, 240, 228, .14); }

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1180px) {
  .site-nav__list { gap: 4px; }
  .site-nav__link { font-size: 14px; padding: .5em .28em; }
  .status-chip { display: none; }
}

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

  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .header-aside { display: none; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: block;
    padding: 6px 0 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(21, 10, 43, .99), rgba(10, 7, 24, .99));
    box-shadow: 0 26px 40px -30px rgba(0, 0, 0, .95);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: max-height .3s var(--ease), opacity .22s var(--ease), visibility .3s;
  }

  .site-nav[data-open="true"] {
    max-height: 78vh;
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
  }

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

  .site-nav__item { transform: none; }

  .site-nav__link {
    display: flex;
    justify-content: space-between;
    padding: .95em .2em;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }

  .site-nav__link::before {
    order: 2;
    transform: none;
    font-size: 11px;
  }

  .site-nav__link::after { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

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

  .brand__mark { width: 38px; height: 38px; flex-basis: 38px; font-size: 17px; }
  .brand__sub { display: none; }

  .footer-mark { font-size: clamp(38px, 14vw, 84px); }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle__label { display: none; }
}

/* ---------- 16. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .glass:hover,
  .btn:hover { transform: none; }
}
