/* ==========================================================================
   澳门新浦京游 — 共享站点套件 /assets/site.css
   深海墨蓝底 · 霓虹青交互 · 赌场金锚点 · 切角与轨道线
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --ink-900: #06111F;
  --ink-800: #0B1B2B;
  --ink-700: #10263A;
  --cyan: #2DE2E6;
  --gold: #D9A441;
  --coral: #FF6B57;
  --mist: #EAF2F7;
  --grey: #8FA6B8;
  --green: #4ADE80;
  --red: #FF4D6D;

  --line-cyan: rgba(45, 226, 230, 0.22);
  --line-soft: rgba(143, 166, 184, 0.18);
  --body-ink: #CBDAE5;

  --font-display: 'DIN Condensed', 'Bebas Neue', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'Roboto Mono', ui-monospace, monospace;

  --shell: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --cut: 18px;
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

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

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

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

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

[hidden] { display: none !important; }

/* ---------- 3. 中文排版与页面底色 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--mist);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 620px at 84% -12%, rgba(45, 226, 230, 0.11), transparent 62%),
    radial-gradient(900px 520px at -8% 18%, rgba(217, 164, 65, 0.075), transparent 60%),
    radial-gradient(760px 480px at 50% 118%, rgba(255, 107, 87, 0.055), transparent 65%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

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

p { overflow-wrap: break-word; }

::selection {
  background: var(--cyan);
  color: #04121D;
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

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

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

.stack > * + * {
  margin-top: var(--stack-gap, 1rem);
}

.grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}
.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: 900px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- 5. 形状与面板 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.6vw, 32px);
  background: linear-gradient(158deg, rgba(16, 38, 58, 0.92), rgba(11, 27, 43, 0.94));
  box-shadow: inset 0 0 0 1px rgba(143, 166, 184, 0.14);
  clip-path: polygon(
    0 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut))
  );
}

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

/* ---------- 6. 标题类 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.display-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--mist);
}

/* ---------- 7. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.28em 0.62em;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(45, 226, 230, 0.4);
}
.tag--gold { color: var(--gold); box-shadow: inset 0 0 0 1px rgba(217, 164, 65, 0.45); }
.tag--coral { color: var(--coral); box-shadow: inset 0 0 0 1px rgba(255, 107, 87, 0.45); }
.tag--green { color: var(--green); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.45); }

/* ---------- 8. 按钮 ---------- */
.btn {
  --btn-accent: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.78em 1.35em;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--mist);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--btn-accent);
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover {
  background: var(--btn-accent);
  color: #04121D;
}
.btn--neon { --btn-accent: var(--cyan); }
.btn--gold {
  --btn-accent: var(--gold);
  color: var(--gold);
}
.btn--ghost {
  --btn-accent: rgba(143, 166, 184, 0.55);
  color: var(--body-ink);
}
.btn--ghost:hover {
  background: rgba(45, 226, 230, 0.14);
  color: var(--mist);
  box-shadow: inset 0 0 0 1px var(--cyan);
}
.btn--sm {
  min-height: 38px;
  padding: 0.6em 1em;
  font-size: 12.5px;
  letter-spacing: 0.08em;
}
.btn--xs {
  min-height: 34px;
  padding: 0.5em 0.85em;
  font-size: 12px;
}
.btn:focus-visible,
.filter-btn:focus-visible,
.copy-chip:focus-visible,
.nav-toggle:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px #04121D, inset 0 0 0 3px var(--cyan);
}

/* ---------- 9. 文本容器 ---------- */
.prose {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--body-ink);
}
.prose > * + * { margin-top: 1.05em; }
.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--mist);
  line-height: 1.25;
}
.prose h2 { font-size: clamp(24px, 3vw, 32px); }
.prose h3 { font-size: 20px; }
.prose ul { list-style: square; padding-left: 1.15em; }
.prose ol { list-style: decimal; padding-left: 1.25em; }
.prose li::marker { color: var(--cyan); }
.prose a {
  color: var(--cyan);
  box-shadow: inset 0 -1px 0 rgba(45, 226, 230, 0.45);
}
.prose strong { color: var(--mist); font-weight: 600; }

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grey);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5em;
  color: rgba(143, 166, 184, 0.5);
}
.breadcrumb a { color: var(--grey); transition: color 0.18s ease; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--mist); }

/* ---------- 11. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--ink-700);
  background-image:
    linear-gradient(135deg, rgba(45, 226, 230, 0.16), rgba(217, 164, 65, 0.12) 55%, rgba(255, 107, 87, 0.14));
  box-shadow: inset 0 0 0 1px rgba(45, 226, 230, 0.2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(234, 242, 247, 0.055) 0 1px,
    transparent 1px 9px
  );
  pointer-events: none;
}
.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media__cap {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--grey);
}

/* ---------- 12. 显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 13. 主题筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--grey);
  background: rgba(16, 38, 58, 0.5);
  box-shadow: inset 0 0 0 1px rgba(143, 166, 184, 0.22);
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
  transition: color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.filter-btn:hover {
  color: var(--mist);
  box-shadow: inset 0 0 0 1px rgba(45, 226, 230, 0.5);
}
.filter-btn[aria-pressed="true"] {
  color: #04121D;
  background: var(--cyan);
  box-shadow: inset 0 0 0 1px var(--cyan);
}

/* ---------- 14. 无障碍工具类 ---------- */
.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;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  margin: 0.5rem;
  padding: 0.7em 1.1em;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #04121D;
  background: var(--cyan);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.9);
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
  transform: translateY(-180%);
  transition: transform 0.18s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  outline: none;
}

/* ==========================================================================
   15. 头部
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(6, 17, 31, 0.88), rgba(6, 17, 31, 0));
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-solid {
  background: rgba(6, 17, 31, 0.94);
  box-shadow:
    inset 0 -1px 0 rgba(45, 226, 230, 0.22),
    0 22px 46px -34px #000;
}

.top-rail {
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  overflow: hidden;
  background: rgba(45, 226, 230, 0.12);
}
.top-rail__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  box-shadow: 0 0 12px rgba(45, 226, 230, 0.85);
}

.header-shell {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: var(--header-h);
  padding-block: 0.55rem;
}

/* 品牌 */
.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-right: auto;
  line-height: 1.16;
  padding-block: 2px;
}
.brand__mark {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.brand__slash {
  color: var(--cyan);
  margin-inline: 3px;
  font-weight: 500;
}
.brand__name {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.3vw, 25px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--mist);
}
.brand__tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grey);
}

/* 导航 */
.nav {
  display: flex;
  align-items: center;
}
.nav__list {
  counter-reset: navidx;
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.1vw, 18px);
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
  padding: 0.55em 0.4em;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--grey);
  transition: color 0.18s ease;
}
.nav__link::before {
  counter-increment: navidx;
  content: counter(navidx, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(143, 166, 184, 0.55);
  transition: color 0.18s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.4em;
  right: 0.4em;
  bottom: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}
.nav__link:hover { color: var(--mist); }
.nav__link:hover::before { color: var(--gold); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--mist); }
.nav__link[aria-current="page"]::before { color: var(--cyan); }
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  box-shadow: 0 0 10px rgba(45, 226, 230, 0.8);
}

.nav__foot { display: none; }
.nav__foot-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--grey);
}

/* 头部动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-cta { flex-shrink: 0; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55em;
  min-height: 44px;
  padding: 0.5em 0.75em;
  color: var(--mist);
  box-shadow: inset 0 0 0 1px rgba(45, 226, 230, 0.35);
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
  transition: box-shadow 0.18s ease;
}
.nav-toggle:hover { box-shadow: inset 0 0 0 1px var(--cyan); }
.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}
.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: var(--cyan);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--grey);
}
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}
.site-header[data-open="true"] .nav-toggle__text { color: var(--cyan); }

/* ==========================================================================
   16. 头部 · 移动端斜切抽屉
   ========================================================================== */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    padding: 1.1rem var(--gutter) 1.7rem;
    background: linear-gradient(180deg, #0B1B2B 0%, #06111F 100%);
    box-shadow:
      inset 0 -1px 0 rgba(45, 226, 230, 0.2),
      0 34px 60px -40px #000;
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 24px),
      calc(100% - 24px) 100%,
      0 100%
    );
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s linear;
  }
  .site-header[data-open="true"] .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__link {
    justify-content: flex-start;
    padding: 0.95rem 0.15rem;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--mist);
    box-shadow: inset 0 -1px 0 rgba(143, 166, 184, 0.14);
  }
  .nav__link::before {
    font-size: 10px;
    transform: translateY(-2px);
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--cyan); }
  .nav__link[aria-current="page"]::before { color: var(--gold); }

  .nav__foot {
    display: block;
    margin-top: 1.2rem;
    padding-top: 1rem;
    box-shadow: inset 0 1px 0 rgba(143, 166, 184, 0.16);
  }
}

@media (max-width: 1100px) {
  .brand__tag { display: none; }
}
@media (max-width: 720px) {
  .header-cta { display: none; }
}

/* ==========================================================================
   17. 页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  padding-block: clamp(42px, 6vw, 76px) 1.4rem;
  background: linear-gradient(180deg, rgba(11, 27, 43, 0.96) 0%, rgba(6, 17, 31, 0.98) 72%);
  box-shadow: inset 0 1px 0 rgba(45, 226, 230, 0.14);
}

.footer-track {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(45, 226, 230, 0.55) 22%,
    rgba(217, 164, 65, 0.45) 58%,
    transparent 100%
  );
}

.footer-shell { position: relative; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1fr;
  gap: clamp(24px, 3vw, 44px);
}

.footer-brand__mark {
  display: inline-block;
  padding: 0.3em 0.6em;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(217, 164, 65, 0.42);
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% 100%,
    8px 100%,
    0 calc(100% - 8px)
  );
}
.footer-brand__line {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--mist);
}
.footer-brand__note {
  margin-top: 0.65rem;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--grey);
}

.footer-col__title {
  position: relative;
  margin-bottom: 0.95rem;
  padding-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
}
.footer-col__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(45, 226, 230, 0.7);
}

.footer-links {
  display: grid;
  gap: 0.15rem;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.2rem 0;
  font-size: 14px;
  color: var(--body-ink);
  transition: color 0.18s ease, transform 0.18s ease;
}
.footer-link::before {
  content: "";
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--cyan);
  transition: width 0.18s ease, margin-right 0.18s ease;
}
.footer-link:hover {
  color: var(--mist);
}
.footer-link:hover::before {
  width: 14px;
  margin-right: 0.5em;
}

.contact-list {
  display: grid;
  gap: 0.7rem;
}
.contact-item {
  display: grid;
  gap: 0.35rem;
}
.contact-item__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(143, 166, 184, 0.85);
}
.copy-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  text-align: left;
  background: rgba(16, 38, 58, 0.65);
  box-shadow: inset 0 0 0 1px rgba(143, 166, 184, 0.2);
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
  transition: box-shadow 0.18s ease, background-color 0.18s ease;
}
.copy-chip:hover {
  background: rgba(16, 38, 58, 0.95);
  box-shadow: inset 0 0 0 1px rgba(45, 226, 230, 0.6);
}
.copy-chip__text {
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--mist);
  overflow-wrap: anywhere;
}
.copy-chip__hint {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--grey);
  transition: color 0.18s ease;
}
.copy-chip[data-copied="true"] .copy-chip__hint { color: var(--green); }

.footer-meta {
  margin-top: 0.55rem;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--grey);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.6rem;
  margin-top: clamp(30px, 4.5vw, 56px);
  padding-top: 1.15rem;
  box-shadow: inset 0 1px 0 rgba(143, 166, 184, 0.16);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--grey);
}
.footer-copy { color: var(--grey); }
.footer-icp {
  color: rgba(143, 166, 184, 0.8);
}
.to-top { margin-left: auto; }

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand__note { max-width: none; }
  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .to-top { margin-left: 0; margin-top: 0.4rem; }
}

/* ==========================================================================
   18. 减弱动效
   ========================================================================== */
@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;
  }
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .nav__link:hover::after { transform: none; }
}
