/* ==========================================================================
   龙腾娱乐会馆 — /assets/site.css
   共享层：reset / 变量 / 中文排版 / 页头 / 页脚 / 通用组件 / 响应式
   ========================================================================== */

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

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

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

ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 设计变量 ---------- */
:root {
  /* 色板 */
  --ink: #0B1B2B;
  --charcoal: #111820;
  --haze: #1E3A52;
  --gold: #E8B23A;
  --flame: #F26419;
  --jade: #2FB89A;
  --cream: #F3EBDD;
  --rock: #7A7F87;
  --clay: #B4552D;
  --gold-deep: #A9791F;

  /* 线条与投影 */
  --bw: 3px;
  --hair: 1px solid rgba(243, 235, 221, 0.14);
  --line: 2px solid var(--haze);
  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, 0.55);
  --shadow-gold: 6px 6px 0 rgba(169, 121, 31, 0.4);

  /* 版式 */
  --font-display: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  /* 尺度 */
  --shell: 1200px;
  --gap: 24px;
  --header-h: 76px;
}

/* ---------- 基础排版 ---------- */
body {
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(30, 58, 82, 0.6), rgba(11, 27, 43, 0) 520px),
    repeating-linear-gradient(135deg, rgba(243, 235, 221, 0.028) 0 1px, transparent 1px 9px);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

p { max-width: 72ch; }
strong, b { font-weight: 700; color: var(--gold); }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--jade);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- 通用类型工具 ---------- */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.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;
}

.rule {
  height: 0;
  border: 0;
  border-top: var(--line);
  margin: 32px 0;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.6);
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
  outline: 3px solid var(--jade);
  outline-offset: 3px;
}

/* ==========================================================================
   页头
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  position: -webkit-sticky;
  background: var(--charcoal);
  color: var(--cream);
  border-bottom: var(--bw) solid var(--gold);
}

.header-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-left { min-width: 0; }
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 2px;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(232, 178, 58, 0.32), rgba(232, 178, 58, 0) 62%),
    var(--ink);
  box-shadow: 3px 3px 0 rgba(169, 121, 31, 0.5);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px dashed rgba(232, 178, 58, 0.42);
  border-radius: 50%;
  pointer-events: none;
}

.brand-mark-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--cream);
  white-space: nowrap;
}

.brand-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--rock);
  white-space: nowrap;
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
}

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

.nav-item { display: flex; }

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(243, 235, 221, 0.86);
  border: 2px solid transparent;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.nav-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--rock);
  transition: color 0.16s ease;
}

.nav-link:hover {
  color: var(--gold);
  background: var(--haze);
  border-color: var(--gold-deep);
}

.nav-link:hover .nav-num { color: var(--flame); }

.nav-link[aria-current="page"] {
  color: var(--gold);
  background: rgba(232, 178, 58, 0.12);
  border-color: var(--gold);
}

.nav-link[aria-current="page"] .nav-num { color: var(--flame); }

/* 抽屉内的装饰头尾（仅移动端可见） */
.nav-drawer-head,
.nav-drawer-foot { display: none; }

.nav-drawer-head {
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-deep);
}

.nav-drawer-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.nav-drawer-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--rock);
}

.nav-cta { width: 100%; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 95;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 3px solid var(--gold);
  background: var(--ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 3px;
  background: var(--gold);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.site-header[data-open] .nav-toggle {
  background: var(--flame);
  border-color: var(--flame);
}

.site-header[data-open] .nav-toggle-bar { background: var(--ink); }
.site-header[data-open] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.site-header[data-open] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background: linear-gradient(90deg, var(--flame), var(--gold) 55%, var(--jade));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  will-change: transform;
}

html.nav-open { overflow: hidden; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: 72px;
  background: var(--charcoal);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(232, 178, 58, 0.07) 0 2px,
    transparent 2px 26px
  );
  border-top: var(--bw) solid var(--gold);
  color: var(--cream);
}

.footer-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 48px 24px 36px;
  display: grid;
  grid-template-columns: 1.05fr 1.6fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.footer-brand .brand { margin-bottom: 16px; }
.brand--footer .brand-mark { background: var(--charcoal); }

.footer-note {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(243, 235, 221, 0.72);
  max-width: 30ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-col { min-width: 0; }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(169, 121, 31, 0.45);
}

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

.footer-link {
  display: inline-block;
  font-size: 15px;
  color: rgba(243, 235, 221, 0.78);
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.footer-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* 联系栏 */
.footer-contact {
  padding: 18px;
  border: 2px solid var(--haze);
  background: rgba(11, 27, 43, 0.55);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.4);
  min-width: 0;
}

.footer-list--contact { margin-top: 4px; }

.footer-contact-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
}

.footer-contact-item + .footer-contact-item { margin-top: 8px; }

.footer-contact-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--jade);
}

.footer-contact-val {
  color: rgba(243, 235, 221, 0.92);
  overflow-wrap: anywhere;
}

.footer-contact-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(243, 235, 221, 0.18);
  font-size: 12px;
  line-height: 1.65;
  color: var(--rock);
  max-width: 36ch;
}

/* 底栏 */
.footer-base {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 16px 24px 30px;
  border-top: var(--hair);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--rock);
}

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

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: var(--charcoal);
  border: 3px solid var(--gold);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.55);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease,
    background-color 0.16s ease, color 0.16s ease;
}

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

.to-top:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ==========================================================================
   通用布局
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow { max-width: 780px; }

.section { padding-block: 56px; }
.section + .section { padding-top: 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  padding-bottom: 12px;
  margin-bottom: 26px;
  border-bottom: 2px solid var(--haze);
}

.section-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--flame);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(24px, 3.4vw, 36px);
  color: var(--cream);
  text-shadow: 1px 1px 0 var(--gold-deep);
}

/* Bento 网格 */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid--bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--bento > * { grid-column: span 12; }

.span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: span 12; }

/* ==========================================================================
   通用组件
   ========================================================================== */

/* 卡片 */
.card {
  position: relative;
  display: block;
  padding: 20px;
  background: var(--charcoal);
  border: 2px solid var(--haze);
  box-shadow: var(--shadow-hard);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

a.card:hover,
.card:focus-within {
  transform: translate(-2px, -2px) skewX(-0.6deg);
  border-color: var(--gold-deep);
  box-shadow: var(--shadow-gold);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--gold);
  background: transparent;
  border: 3px solid var(--gold);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.55);
}

.btn--cta {
  color: var(--ink);
  background: var(--flame);
  border-color: var(--flame);
  box-shadow: 5px 5px 0 rgba(232, 178, 58, 0.35);
}

.btn--cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 1px 1px 0 rgba(232, 178, 58, 0.45);
}

.btn--ghost {
  color: var(--cream);
  border-color: var(--haze);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}

.btn--ghost:hover {
  color: var(--gold);
  border-color: var(--gold-deep);
}

.btn--sm {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 13px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(232, 178, 58, 0.09);
  border: 2px solid var(--gold-deep);
  white-space: nowrap;
}

.tag--jade {
  color: var(--jade);
  background: rgba(47, 184, 154, 0.1);
  border-color: var(--jade);
}

.tag--flame {
  color: var(--flame);
  background: rgba(242, 100, 25, 0.12);
  border-color: var(--flame);
}

.tag--clay {
  color: #E0A184;
  background: rgba(180, 85, 45, 0.16);
  border-color: var(--clay);
}

/* 筛选 chip */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  background: var(--charcoal);
  border: 2px solid var(--haze);
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.chip:hover {
  border-color: var(--gold-deep);
  color: var(--gold);
}

.chip[aria-pressed="true"] {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

/* 龙鳞横向索引带 */
.index-band {
  display: flex;
  gap: 14px;
  padding: 4px 4px 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) var(--haze);
}

.index-band::-webkit-scrollbar { height: 8px; }
.index-band::-webkit-scrollbar-track { background: var(--haze); }
.index-band::-webkit-scrollbar-thumb { background: var(--gold-deep); }

.index-band-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 178px;
  padding: 14px 16px;
  background: var(--charcoal);
  border: 2px solid var(--haze);
  border-left: 6px solid var(--gold-deep);
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.index-band-item:hover,
.index-band-item:focus-visible {
  border-color: var(--gold);
  border-left-color: var(--flame);
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 rgba(169, 121, 31, 0.35);
}

/* 数据格 */
.stat { display: flex; flex-direction: column; gap: 2px; }

.stat-value {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--rock);
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--rock);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--gold-deep);
}

.breadcrumb a {
  color: rgba(243, 235, 221, 0.82);
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

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

/* 图片容器基础规则（页面阶段放置 img 或占位块） */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--haze) 0%, var(--charcoal) 62%, var(--ink) 100%);
  border: var(--bw) solid var(--haze);
  box-shadow: var(--shadow-hard);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(242, 100, 25, 0.16) 0%,
    rgba(11, 27, 43, 0) 42%,
    rgba(11, 27, 43, 0.45) 100%
  );
  pointer-events: none;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }

/* ==========================================================================
   响应式：平板与桌面跨列
   ========================================================================== */
@media (min-width: 901px) {
  .grid--bento > .span-3 { grid-column: span 3; }
  .grid--bento > .span-4 { grid-column: span 4; }
  .grid--bento > .span-5 { grid-column: span 5; }
  .grid--bento > .span-6 { grid-column: span 6; }
  .grid--bento > .span-7 { grid-column: span 7; }
  .grid--bento > .span-8 { grid-column: span 8; }
  .grid--bento > .span-12 { grid-column: span 12; }
}

@media (max-width: 1080px) {
  .nav-link { font-size: 14px; padding: 8px 8px; }
  .header-right { gap: 12px; }
}

/* ---------- 移动端抽屉 ---------- */
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav-drawer-head { display: flex; }
  .nav-drawer-foot { display: block; }

  .header-shell { padding: 12px 18px; }
  .brand-name { font-size: 17px; }
  .brand-tag { font-size: 10px; letter-spacing: 0.1em; }
  .brand-mark { width: 40px; height: 40px; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    width: min(88vw, 380px);
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: calc(var(--header-h) + 18px) 22px 32px;
    background: var(--charcoal);
    background-image: repeating-linear-gradient(
      180deg,
      rgba(232, 178, 58, 0.055) 0 1px,
      transparent 1px 46px
    );
    border-left: var(--bw) solid var(--gold);
    box-shadow: -10px 0 0 rgba(0, 0, 0, 0.35);
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(102%);
    transition: transform 0.3s cubic-bezier(0.22, 0.68, 0.3, 1), visibility 0.3s ease;
  }

  .site-header[data-open] .site-nav {
    visibility: visible;
    transform: translateX(0);
  }

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

  .nav-item { width: 100%; }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    font-size: 17px;
    font-weight: 600;
    color: var(--cream);
    border: 2px solid var(--haze);
    background: rgba(11, 27, 43, 0.5);
  }

  .nav-num { font-size: 12px; letter-spacing: 0.08em; }

  .nav-link:hover,
  .nav-link:focus-visible {
    background: var(--haze);
    border-color: var(--gold);
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 40px 20px 30px;
  }

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

  .section { padding-block: 44px; }
}

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

  .container { padding-inline: 18px; }

  .footer-shell { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px 28px;
  }

  .to-top { right: 12px; bottom: 12px; padding: 0 13px; font-size: 12px; }

  .section-title { text-shadow: none; }
  .index-band-item { min-width: 160px; }
}

/* ---------- 动效偏好 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  .card,
  .index-band-item { transform: none !important; }
}

/* ---------- 打印 ---------- */
@media print {
  body { background: #fff; color: #111; }
  .site-header, .to-top, .scroll-progress, .nav-toggle { display: none !important; }
  .site-footer { border-top: 1px solid #111; background: #fff; color: #111; }
  a { text-decoration: underline; }
}
