/*! 63棋牌赛场 /assets/site.css —— 全站共享样式 */
:root {
  --bg: #0D1117;
  --bg-rail: #0A0E14;
  --bg-elev: #131A22;
  --blue: #1F3A5F;
  --purple: #7B2CBF;
  --purple-deep: #5A189A;
  --purple-light: #C77DFF;
  --green: #39FF14;
  --green-deep: #2AD900;
  --blue-bright: #3A86FF;
  --white: #FFFFFF;
  --gray: #B0C4DE;
  --red: #FF4500;
  --heading: 'Chakra Petch', 'Rajdhani', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --body: 'Inter', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --rail-w: 264px;
  --content-max: 1200px;
  --z-rail: 1000;
  --z-drawer: 1100;
  --z-skip: 2000;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 88% -12%, rgba(123, 44, 191, 0.16), transparent 62%),
    radial-gradient(960px 520px at 6% 112%, rgba(31, 58, 95, 0.22), transparent 62%),
    linear-gradient(rgba(176, 196, 222, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 196, 222, 0.022) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  color: var(--gray);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; letter-spacing: 0.02em; }
h2 { font-size: 1.75rem; font-weight: 600; letter-spacing: 0.03em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--gray); }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--green); color: #04100A; }

/* ---------- 通用工具 ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: 22px;
}
.section { padding-block: clamp(48px, 7vw, 88px); }
.v-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: var(--gray);
}
#main-content {
  display: block;
  outline: none;
  scroll-margin-top: 80px;
}
@media (min-width: 1024px) {
  #main-content,
  .site-footer {
    margin-left: var(--rail-w);
  }
  #main-content { scroll-margin-top: 0; }
}

/* ---------- 栅格 ---------- */
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  font-family: var(--heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(176, 196, 222, 0.35);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  text-align: center;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  border-color: transparent;
  color: #04100A;
}
.btn-purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  border-color: transparent;
  color: var(--white);
}
.btn-outline { color: var(--gray); }
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 28px rgba(0, 0, 0, 0.45);
}
.btn-primary:hover {
  box-shadow: 0 0 26px rgba(57, 255, 20, 0.35), 10px 10px 28px rgba(0, 0, 0, 0.35);
}
.btn-primary:focus-visible,
.rail-cta:focus-visible { outline-color: var(--blue-bright); }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: var(--z-skip);
  padding: 10px 20px;
  background: var(--green);
  color: #04100A;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transform: translateY(-150%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 站点头部 / 侧边轨道 ---------- */
.site-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-rail);
  height: 64px;
  background: rgba(10, 14, 20, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(176, 196, 222, 0.1);
}
.rail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
  padding: 0 16px;
}
.rail-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
}
.brand-text { display: grid; gap: 2px; line-height: 1.2; }
.brand-name {
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--white);
  white-space: nowrap;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
}
@media (max-width: 419.98px) { .brand-sub { display: none; } }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(176, 196, 222, 0.25);
  transition: border-color 0.25s, background 0.25s;
}
.nav-toggle:hover { border-color: var(--green); }
.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.3s, background 0.3s;
}
.nav-toggle.is-active .nav-toggle-line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-line:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 导航抽屉 / 轨道 ---------- */
.rail-nav {
  position: fixed;
  top: 64px;
  left: 0;
  bottom: 0;
  z-index: var(--z-drawer);
  width: min(320px, 86vw);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0A0E14 0%, #0D1117 100%);
  border-right: 1px solid rgba(176, 196, 222, 0.12);
  transform: translateX(-102%);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out);
}
.rail-nav[data-open="true"] {
  transform: translateX(0);
  box-shadow: 28px 0 64px rgba(0, 0, 0, 0.55);
}
.rail-nav-list {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 14px 18px 14px 14px;
}
.rail-nav-list::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, rgba(57, 255, 20, 0.4) 0%, rgba(123, 44, 191, 0.3) 100%);
}
.rail-nav-item { position: relative; }
.rail-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px 13px 10px;
  font-family: var(--heading);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray);
  border-left: 2px solid transparent;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}
.rail-nav-link::after {
  content: '';
  position: absolute;
  right: -4px;
  top: calc(50% - 1px);
  width: 22px;
  height: 2px;
  background: var(--green);
  transform: rotate(-45deg) scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s var(--ease-out);
}
.rail-nav-link:hover,
.rail-nav-link[aria-current="page"] {
  color: var(--white);
  background: linear-gradient(90deg, rgba(31, 58, 95, 0.5) 0%, rgba(123, 44, 191, 0.14) 70%, transparent);
  border-left-color: var(--green);
}
.rail-nav-link:hover::after,
.rail-nav-link[aria-current="page"]::after { transform: rotate(-45deg) scaleX(1); }
.nav-index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(176, 196, 222, 0.22);
  background: var(--bg-rail);
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--gray);
  transition: color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.rail-nav-link:hover .nav-index,
.rail-nav-link[aria-current="page"] .nav-index {
  color: var(--green);
  border-color: rgba(57, 255, 20, 0.6);
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.28);
}
.nav-label { font-size: 1rem; letter-spacing: 0.16em; line-height: 1.3; }

.rail-meta {
  display: grid;
  gap: 14px;
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(176, 196, 222, 0.08);
}
.rail-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--gray);
}
.status-dot {
  display: inline-block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.6);
  animation: statusPulse 2.4s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}
.rail-cta {
  display: block;
  padding: 9px 12px;
  text-align: center;
  font-family: var(--heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #04100A;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.rail-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(57, 255, 20, 0.3);
}
.rail-progress-track { display: none; }
.rail-progress {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--green) 0%, var(--blue-bright) 55%, var(--purple) 100%);
  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}

@media (min-width: 1024px) {
  .site-rail {
    right: auto;
    bottom: 0;
    width: var(--rail-w);
    height: auto;
    background: linear-gradient(180deg, rgba(10, 14, 20, 0.98) 0%, rgba(13, 17, 23, 0.98) 100%);
    border-bottom: 0;
    border-right: 1px solid rgba(176, 196, 222, 0.1);
    display: flex;
    flex-direction: column;
  }
  .rail-bar {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 28px 24px 18px;
  }
  .brand-mark { width: 46px; height: 46px; font-size: 1.125rem; }
  .brand-name { font-size: 1.125rem; letter-spacing: 0.2em; }
  .nav-toggle { display: none; }
  .rail-nav {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    z-index: auto;
    width: auto;
    flex: 1;
    transform: none;
    background: transparent;
    border-right: 0;
    box-shadow: none;
  }
  .rail-nav[data-open="true"] { transform: none; box-shadow: none; }
  .rail-meta { margin-top: auto; }
  .rail-progress-track {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: 3px;
    background: rgba(176, 196, 222, 0.08);
    overflow: hidden;
  }
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: calc(var(--z-rail) + 20);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.3s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: linear-gradient(135deg, var(--green) 0%, var(--blue-bright) 100%);
  color: #04100A;
}

/* ---------- 面包屑 ---------- */
.breadcrumb { margin-bottom: 32px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.8125rem;
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: '/'; margin: 0 10px; color: var(--purple); }
.breadcrumb a { color: var(--blue-bright); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb [aria-current="page"] { color: var(--white); }

/* ---------- 面板 / 图片框架 / 标签 / 图例 / 筛选 / 章节标注 ---------- */
.panel-cut {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(135deg, rgba(31, 58, 95, 0.3) 0%, rgba(123, 44, 191, 0.12) 100%),
    var(--bg-elev);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
.img-frame {
  position: relative;
  display: block;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(123, 44, 191, 0.2) 0%, transparent 40%),
    repeating-linear-gradient(-45deg, transparent 0 10px, rgba(176, 196, 222, 0.04) 10px 11px),
    var(--bg-elev);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  isolation: isolate;
}
.img-frame::before {
  content: attr(data-caption);
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 4px 10px;
  background: rgba(13, 17, 23, 0.82);
  border-left: 2px solid var(--green);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--gray);
}
.img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(176, 196, 222, 0.22);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--gray);
  white-space: nowrap;
}
.tag.is-green { border-color: rgba(57, 255, 20, 0.4); color: var(--green); }
.tag.is-purple { border-color: rgba(123, 44, 191, 0.6); color: var(--purple-light); }
.data-num {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 14px 18px;
  background: rgba(19, 26, 34, 0.7);
  border-left: 3px solid var(--purple);
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--gray);
}
.legend-key {
  display: inline-flex;
  width: 12px;
  height: 12px;
  background: var(--blue-bright);
  transform: skewX(-18deg);
}
.legend-key.is-green { background: var(--green); box-shadow: 0 0 10px rgba(57, 255, 20, 0.5); }
.legend-key.is-purple { background: var(--purple); }
.legend-key.is-red { background: var(--red); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray);
  border: 1px solid rgba(176, 196, 222, 0.18);
  background: transparent;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.chip::before {
  content: '';
  width: 8px;
  height: 8px;
  background: currentColor;
  transform: skewX(-20deg);
}
.chip:hover { color: var(--white); border-color: var(--blue-bright); }
.chip.is-active,
.chip[aria-pressed="true"] {
  color: #04100A;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.35);
}
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
}
.sec-label::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--green);
}

/* ---------- 滚动显现 ---------- */
html.js [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 0;
  background:
    linear-gradient(180deg, rgba(31, 58, 95, 0.14) 0%, transparent 220px),
    var(--bg-rail);
  border-top: 1px solid rgba(176, 196, 222, 0.1);
  color: var(--gray);
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue-bright) 35%, var(--purple) 70%, transparent 100%);
  opacity: 0.7;
}
.footer-grid {
  display: grid;
  gap: 40px;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 52px 22px 40px;
}
.footer-col { display: grid; gap: 18px; align-content: start; }
.footer-brand { display: grid; gap: 20px; align-content: start; }
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}
.footer-desc {
  font-size: 0.9375rem;
  max-width: 44ch;
}
.footer-trust {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(31, 58, 95, 0.35) 0%, rgba(123, 44, 191, 0.18) 100%);
  border-left: 2px solid var(--purple);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(176, 196, 222, 0.8);
}
.trust-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: max-content;
  padding: 2px 8px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--green);
  border: 1px solid rgba(57, 255, 20, 0.5);
  background: rgba(57, 255, 20, 0.06);
}
.footer-heading {
  position: relative;
  padding-left: 14px;
  font-family: var(--heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2px;
}
.footer-heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: linear-gradient(180deg, var(--green) 0%, var(--purple) 100%);
}
.footer-links { display: grid; gap: 10px; }
.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.9375rem;
  transition: color 0.25s, transform 0.25s;
}
.footer-links a::before {
  content: '/';
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--purple);
  transition: color 0.25s, transform 0.25s;
}
.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}
.footer-links a:hover::before { color: var(--green); }
.footer-contact-list {
  display: grid;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.6;
  word-break: break-all;
}
.contact-label {
  display: inline-block;
  min-width: 42px;
  margin-right: 6px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--blue-bright);
}
.footer-service {
  margin-top: 4px;
  padding-left: 12px;
  border-left: 2px solid var(--blue);
  font-size: 0.8125rem;
  color: rgba(176, 196, 222, 0.65);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 18px 22px;
  border-top: 1px solid rgba(176, 196, 222, 0.08);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(176, 196, 222, 0.55);
}
.footer-bottom p { color: inherit; }

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 0.9fr 0.9fr 1.4fr;
    gap: 48px;
    padding: 60px 48px 44px;
  }
  .footer-bottom { padding: 18px 48px; }
}

/* ---------- 焦点与减少动效 ---------- */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal]:not(.is-revealed) {
    opacity: 1;
    transform: none;
  }
}
