/* ===== 合乐游艺 · 共享基础层 /assets/site.css ===== */

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

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

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--ink-900);
  background-image:
    linear-gradient(rgba(34, 52, 92, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 52, 92, .28) 1px, transparent 1px),
    radial-gradient(circle at 88% -8%, rgba(139, 92, 246, .20), transparent 56%),
    radial-gradient(circle at 4% 12%, rgba(47, 227, 214, .10), transparent 52%);
  background-size: 72px 72px, 72px 72px, 100% 100%, 100% 100%;
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:root {
  --ink-900: #060B18;
  --ink-800: #0C1428;
  --ink-700: #14203B;
  --line: #22345C;
  --cyan: #2FE3D6;
  --violet: #8B5CF6;
  --amber: #F5A93F;
  --green: #4ADE80;
  --ice: #C7F5F2;
  --txt: #E9F0FB;
  --txt-mid: #9AAAC6;
  --txt-low: #6B7C9B;
  --font-display: "Oswald", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, monospace;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --header-h: 82px;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--txt);
}

h1 { font-size: clamp(40px, 6vw, 84px); text-shadow: 0 0 28px rgba(47, 227, 214, .22); }
h2 { font-size: clamp(28px, 3.4vw, 36px); }
h3 { font-size: clamp(20px, 2.2vw, 22px); letter-spacing: -0.01em; }

p { margin: 0 0 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

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

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

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

button { font: inherit; color: inherit; }

::selection { background: rgba(47, 227, 214, .28); color: #04121a; }

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

.section { margin-block: clamp(64px, 8vw, 112px); }
.section--tight { margin-block: clamp(40px, 5vw, 64px); }

.section-anchor { scroll-margin-top: calc(var(--header-h) + 52px); }

.muted { color: var(--txt-mid); }
.mono { font-family: var(--font-mono); letter-spacing: .04em; }
.num { font-family: var(--font-mono); letter-spacing: .04em; font-variant-numeric: tabular-nums; }

.rule { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, var(--line), rgba(34, 52, 92, .1)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--txt-low);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(47, 227, 214, .8);
}

.lede { font-size: clamp(16px, 1.5vw, 18px); color: var(--txt-mid); line-height: 1.8; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 32, 59, .6);
  color: var(--txt);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid {
  background: linear-gradient(180deg, #45F2E4, #14C0B4);
  border-color: transparent;
  color: #04121A;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(47, 227, 214, .35), 0 16px 30px -20px rgba(47, 227, 214, .95);
}
.btn--solid:hover { color: #04121A; box-shadow: 0 0 0 1px rgba(199, 245, 242, .75), 0 20px 36px -18px rgba(47, 227, 214, .9); }

.btn--ghost { background: transparent; border-color: var(--line); color: var(--txt-mid); }
.btn--ghost:hover { border-color: rgba(47, 227, 214, .55); color: var(--cyan); background: rgba(47, 227, 214, .07); }

.btn--violet {
  background: rgba(139, 92, 246, .16);
  border-color: rgba(139, 92, 246, .55);
  color: #DCD0FF;
}
.btn--violet:hover { background: rgba(139, 92, 246, .26); color: #F1EBFF; box-shadow: 0 0 22px -8px rgba(139, 92, 246, .9); }

.btn--sm { padding: 8px 15px; font-size: 12.5px; }
.btn--block { display: flex; width: 100%; }

/* ===== 标记 / 状态 ===== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 32, 59, .6);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--txt-mid);
  white-space: nowrap;
}
.chip--cyan { color: var(--cyan); border-color: rgba(47, 227, 214, .42); background: rgba(47, 227, 214, .08); }
.chip--violet { color: #C7B4FF; border-color: rgba(139, 92, 246, .48); background: rgba(139, 92, 246, .12); }
.chip--amber { color: var(--amber); border-color: rgba(245, 169, 63, .45); background: rgba(245, 169, 63, .1); }
.chip--green { color: var(--green); border-color: rgba(74, 222, 128, .42); background: rgba(74, 222, 128, .1); }

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(74, 222, 128, .9);
  flex: 0 0 auto;
}
.dot--cyan { background: var(--cyan); box-shadow: 0 0 10px rgba(47, 227, 214, .9); }
.dot--amber { background: var(--amber); box-shadow: 0 0 10px rgba(245, 169, 63, .9); }
.dot--violet { background: var(--violet); box-shadow: 0 0 10px rgba(139, 92, 246, .9); }

/* ===== 面板 / 键值 ===== */
.panel {
  position: relative;
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 32, 59, .92), rgba(12, 20, 40, .9));
  box-shadow: 0 24px 48px -40px rgba(0, 0, 0, .95);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.panel:hover { transform: translateY(-2px); border-color: rgba(47, 227, 214, .38); box-shadow: 0 28px 54px -38px rgba(0, 0, 0, 1), 0 0 24px -18px rgba(47, 227, 214, .8); }

.panel--glow { overflow: hidden; }
.panel--glow::before {
  content: "";
  position: absolute;
  inset: -40% 40% 60% -20%;
  background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, .28), transparent 62%);
  pointer-events: none;
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.panel-title { font-size: 20px; letter-spacing: -.01em; }
.panel-body { position: relative; }

.spec-row {
  display: grid;
  grid-template-columns: minmax(92px, auto) 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(34, 52, 92, .7);
  font-size: 14px;
  line-height: 1.6;
}
.spec-row:last-child { border-bottom: 0; }
.spec-key {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--txt-low);
}
.spec-val { color: var(--txt); }

/* ===== 网格 ===== */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ===== 图片容器基础 ===== */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 78% 16%, rgba(139, 92, 246, .26), transparent 56%),
    radial-gradient(circle at 16% 84%, rgba(47, 227, 214, .20), transparent 58%),
    linear-gradient(160deg, #0C1428, #060B18);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 227, 214, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 227, 214, .07) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.media-frame img,
.media-frame svg,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-mid);
}

/* ===== 索引条（页面级使用） ===== */
.index-rail {
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding-inline: var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(6, 11, 24, .88);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.index-rail::-webkit-scrollbar { display: none; }
.index-link {
  position: relative;
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--txt-low);
  white-space: nowrap;
  transition: color .12s ease;
}
.index-link:hover { color: var(--txt); }
.index-link[aria-current="true"] { color: var(--cyan); }
.index-link[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(47, 227, 214, .85);
}

/* ===== 分段切换组件（页面级使用） ===== */
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 20, 40, .82);
}
.tab {
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--txt-mid);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
.tab:hover { color: var(--txt); background: rgba(47, 227, 214, .07); }
.tab[aria-selected="true"] {
  color: var(--cyan);
  background: rgba(47, 227, 214, .14);
  box-shadow: inset 0 0 0 1px rgba(47, 227, 214, .42);
}
.tab-panel { animation: tab-in .18s ease both; }
.tab-panel[hidden] { display: none; }
@keyframes tab-in { from { opacity: 0; } to { opacity: 1; } }

/* ===== 页头 ===== */
.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cyan);
  color: #04121A;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); color: #04121A; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  isolation: isolate;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 132%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 11, 24, .98) 0%, rgba(6, 11, 24, .84) 48%, rgba(6, 11, 24, 0) 100%);
  pointer-events: none;
}

.nav-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 14px var(--gutter) 0;
}

.pill-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  padding: 10px clamp(10px, 1.6vw, 16px) 10px clamp(14px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 20, 40, .86);
  box-shadow: 0 22px 48px -32px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(199, 245, 242, .05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.pill-nav::after {
  content: "";
  position: absolute;
  inset: 0 14% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 227, 214, .5), rgba(139, 92, 246, .4), transparent);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--txt);
  text-decoration: none;
}
.brand:hover { color: var(--txt); }

.brand-glyph {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(47, 227, 214, .45);
  border-radius: 9px;
  background: radial-gradient(circle at 72% 26%, rgba(139, 92, 246, .34), transparent 62%);
  box-shadow: inset 0 0 12px -4px rgba(47, 227, 214, .6);
}
.brand-glyph::before {
  content: "";
  position: absolute;
  inset: 8px 7px;
  border-top: 1px solid rgba(47, 227, 214, .35);
  border-bottom: 1px solid rgba(47, 227, 214, .18);
  transform: rotate(18deg);
}
.brand-glyph i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.brand-glyph i:nth-child(1) { top: 6px; left: 6px; }
.brand-glyph i:nth-child(2) { top: 11px; right: 6px; background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.brand-glyph i:nth-child(3) { bottom: 6px; left: 10px; background: var(--amber); box-shadow: 0 0 8px var(--amber); }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.brand-sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .22em;
  color: var(--txt-low);
}

.nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  transition: opacity .24s ease, visibility .24s ease;
}
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li { display: flex; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--txt-mid);
  font-size: 13.5px;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .16s ease, background .16s ease;
}
.nav-link:hover { color: var(--txt); background: rgba(47, 227, 214, .08); }
.nav-link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(47, 227, 214, .11);
}
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(47, 227, 214, .9);
}

.nav-list-cta { display: none; }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 32, 59, .72);
  color: var(--txt);
  font-size: 12px;
  letter-spacing: .06em;
  cursor: pointer;
}
.nav-toggle:hover { border-color: rgba(47, 227, 214, .5); color: var(--cyan); }
.nav-toggle-bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle-bars span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}
.site-header[data-open] .nav-toggle-bars span:first-child { transform: translateY(2.75px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bars span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

.nav-meter {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(34, 52, 92, .9), rgba(34, 52, 92, .18));
  overflow: hidden;
}
.nav-meter-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(47, 227, 214, .7);
  transition: width .12s linear;
}

@media (min-width: 920px) {
  .site-header[data-condensed] .nav { opacity: 0; visibility: hidden; }
  .site-header[data-condensed] .pill-nav {
    background: rgba(12, 20, 40, .96);
    border-color: #2C4370;
    box-shadow: 0 26px 54px -30px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(199, 245, 242, .08);
  }
  .site-header[data-condensed] .nav-cta {
    box-shadow: 0 0 0 1px rgba(47, 227, 214, .6), 0 0 26px -6px rgba(47, 227, 214, .85);
  }
}

@media (max-width: 919px) {
  :root { --header-h: 78px; }
  .site-header::before { background: linear-gradient(180deg, rgba(6, 11, 24, .99), rgba(6, 11, 24, .9) 60%, rgba(6, 11, 24, 0)); }
  .nav-toggle { display: inline-flex; }
  .nav-toggle-label { display: inline; }
  .nav-cta { display: none; }
  .pill-nav { gap: 10px; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 5;
    display: block;
    max-height: min(70vh, 520px);
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(12, 20, 40, .98);
    box-shadow: 0 34px 64px -32px rgba(0, 0, 0, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .site-header[data-open] .nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li { display: block; }
  .nav-link {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
  }
  .nav-link[aria-current="page"]::after { left: 16px; right: 16px; bottom: 8px; width: auto; transform: none; }
  .nav-list-cta { display: block; margin-top: 8px; }
  .nav-list-cta .btn { padding: 13px 18px; font-size: 14px; }
  .nav-actions { margin-left: auto; }
}

@media (max-width: 480px) {
  .brand-sub { display: none; }
  .nav-toggle-label { display: none; }
}

/* ===== 页脚 ===== */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 132px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 20, 40, .35), rgba(6, 11, 24, .98));
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 52, 92, .3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 52, 92, .3) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 82%);
  mask-image: linear-gradient(180deg, #000, transparent 82%);
  pointer-events: none;
}

.footer-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr .8fr .95fr 1.15fr .85fr;
  gap: clamp(24px, 3vw, 44px);
  padding-block: clamp(40px, 6vw, 72px);
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.brand--footer .brand-glyph { width: 32px; height: 32px; }
.brand--footer .brand-name { font-size: 17px; }
.footer-note {
  max-width: 30ch;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--txt-mid);
}
.footer-note--dim { color: var(--txt-low); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; }

.footer-col { min-width: 0; }
.footer-heading {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--txt-low);
}
.footer-list { display: grid; gap: 10px; font-size: 13.5px; }
.footer-list a {
  display: inline-block;
  color: var(--txt-mid);
  transition: color .16s ease, transform .16s ease;
}
.footer-list a:hover { color: var(--cyan); transform: translateX(2px); }

.footer-list--contact { gap: 14px; }

.copy-field { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.copy-label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--txt-low);
}
.copy-value {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .01em;
  color: var(--txt);
  word-break: break-all;
}
.copy-btn {
  padding: 3px 9px;
  border: 1px solid rgba(47, 227, 214, .34);
  border-radius: 999px;
  background: rgba(47, 227, 214, .08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.copy-btn:hover { background: rgba(47, 227, 214, .2); border-color: rgba(47, 227, 214, .7); color: var(--ice); }

.footer-address {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--txt-mid);
}
.footer-icp {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--txt-low);
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px var(--gutter) 26px;
  border-top: 1px solid rgba(34, 52, 92, .8);
  font-size: 12.5px;
  color: var(--txt-low);
}
.footer-bottom-main { margin: 0; color: var(--txt-mid); }
.footer-bottom-meta { margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 400;
  padding: 10px 18px;
  border: 1px solid rgba(47, 227, 214, .45);
  border-radius: 999px;
  background: rgba(12, 20, 40, .97);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 1), 0 0 24px -12px rgba(47, 227, 214, .8);
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast[data-visible="true"] { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1080px) {
  .footer-wrap { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .footer-wrap { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-note { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

/* ===== 响应式网格回退 ===== */
@media (max-width: 900px) {
  .grid--12 > [class^="col-"] { grid-column: span 12; }
  .grid--12 > .col-6, .grid--12 > .col-4 { grid-column: span 12; }
}

/* ===== 焦点与降级 ===== */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}
a:focus-visible, button:focus-visible, .tab:focus-visible { outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .btn:hover, .panel:hover, .footer-list a:hover { transform: none; }
  .nav-meter-fill { transition: none; }
}
