/* ==========================================================================
   777电玩城安卓 · 共享样式表 /assets/site.css
   深夜街机厅 × 对局档案馆：近黑底 + 霓虹紫/电光蓝 + 琥珀金刻度
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
  background-color: #07060E;
}
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; 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; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  --ink-900: #07060E;
  --ink-800: #100E1C;
  --panel-700: #1A1730;
  --panel-600: #221D3D;
  --line-600: #2A2440;
  --neon-purple: #8B5CF6;
  --neon-purple-soft: #C4B5FD;
  --neon-blue: #2DE2FF;
  --amber-gold: #FFB020;
  --signal-red: #FF5C7A;
  --paper-cream: #F3EAD8;
  --text-primary: #ECE6F7;
  --text-muted: #A79FC4;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --pill: 999px;

  --shell: 1200px;
  --gutter: 32px;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ring: 0 0 0 2px var(--neon-purple), 0 0 0 6px rgba(139, 92, 246, 0.28);
  --shadow-block: 0 22px 48px -32px rgba(0, 0, 0, 0.95);
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--ink-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.display-1 { font-size: clamp(44px, 7vw, 96px); }
.display-2 { font-size: clamp(28px, 4.2vw, 64px); }
.display-3 { font-size: clamp(22px, 2.8vw, 44px); }
p { max-width: 78ch; }
strong, b { color: var(--paper-cream); font-weight: 700; }
::selection { background: rgba(139, 92, 246, 0.42); color: #fff; }

/* ---------- 4. 焦点与无障碍 ---------- */
:focus-visible {
  outline: 2px solid var(--neon-purple);
  outline-offset: 3px;
  box-shadow: var(--ring);
  border-radius: 6px;
}
#main-content { outline: none; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--pill);
  background: var(--paper-cream);
  color: #191428;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 14px; }

/* ---------- 5. 布局容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 820px; }
.section { position: relative; padding: 72px 0; }
.section--raised { background-color: var(--ink-800); }
.section--panel { background-color: var(--panel-700); }
.section--tight { padding: 40px 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: 30px;
}
.section-head__index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--neon-purple);
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.grid { display: grid; gap: 24px; }
.grid--split { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; }
.grid--halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- 6. Bento 与档案块 ---------- */
.bento {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(112px, auto);
}
.bento__block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius-md);
  background-color: var(--panel-700);
  box-shadow: var(--shadow-block);
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.bento__block:hover,
.bento__block:focus-within { transform: translateY(-2px); background-color: var(--panel-600); }
.bento__block--wide { grid-column: span 2; }
.bento__block--tall { grid-row: span 2; }
.bento__block--hero {
  grid-column: span 2;
  grid-row: span 2;
  background-image: linear-gradient(158deg, rgba(139, 92, 246, 0.20), rgba(26, 23, 48, 1) 62%);
}
.archive { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); }
.archive__block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background-color: var(--panel-700);
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.archive__block:hover,
.archive__block:focus-within { transform: translateY(-2px); background-color: var(--panel-600); }
.archive__block--accent {
  background-color: var(--panel-600);
  box-shadow: inset 0 0 0 1px var(--line-600), 0 26px 60px -42px var(--neon-purple);
}
.archive__title { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.archive__meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* ---------- 7. 数据组件 ---------- */
.data-list { display: grid; gap: 0; }
.data-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--line-600);
}
.data-list__row:last-child { border-bottom: 0; }
.data-list__key { font-size: 14px; color: var(--text-muted); }
.data-list__val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--amber-gold);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.1;
  color: var(--amber-gold);
}
.stat__label { font-size: 12px; letter-spacing: 0.2em; color: var(--text-muted); }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.num--amber { color: var(--amber-gold); }
.num--blue { color: var(--neon-blue); }

/* ---------- 8. 标签与注释 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border: 1px solid currentColor;
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.tag--season { color: var(--neon-purple-soft); background-color: rgba(139, 92, 246, 0.14); }
.tag--record { color: #9BE9FF; background-color: rgba(45, 226, 255, 0.12); }
.tag--room { color: #FFD08A; background-color: rgba(255, 176, 32, 0.12); }
.tag--rules { color: #FFB0C1; background-color: rgba(255, 92, 122, 0.12); }
.eyebrow {
  display: inline-block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow--purple { color: var(--neon-purple); }
.eyebrow--blue { color: var(--neon-blue); }
.eyebrow--amber { color: var(--amber-gold); }

/* ---------- 9. 刻度尺 ---------- */
.ruler { position: sticky; top: 132px; align-self: start; }
.ruler__title {
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ruler__item {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 0;
  border-top: 1px solid var(--line-600);
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.16s ease, background-color 0.16s ease;
}
.ruler__item:last-child { border-bottom: 1px solid var(--line-600); }
.ruler__item:hover,
.ruler__item:focus-visible { color: var(--text-primary); }
.ruler__item[data-active="true"] {
  color: var(--text-primary);
  background-image: linear-gradient(90deg, rgba(139, 92, 246, 0.22), rgba(139, 92, 246, 0));
}
.ruler__level {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber-gold);
  text-align: right;
}

/* ---------- 10. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease,
              border-color 0.16s ease, box-shadow 0.16s ease;
}
.btn--primary {
  background-color: var(--neon-purple);
  color: #0B0714;
  box-shadow: 0 14px 32px -18px rgba(139, 92, 246, 0.95);
}
.btn--primary:hover { background-color: #A07CFA; transform: translateY(-2px); }
.btn--ghost {
  background-color: rgba(26, 23, 48, 0.6);
  border-color: var(--line-600);
  color: var(--text-primary);
}
.btn--ghost:hover { border-color: var(--neon-blue); color: var(--neon-blue); transform: translateY(-2px); }
.btn--amber { border-color: rgba(255, 176, 32, 0.5); color: var(--amber-gold); }
.btn--amber:hover { background-color: rgba(255, 176, 32, 0.14); transform: translateY(-2px); }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0); }

/* ---------- 11. 媒体容器（页面阶段放图） ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-600);
  border-radius: var(--radius-md);
  background-color: var(--panel-700);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(120% 100% at 50% 0%, rgba(7, 6, 14, 0) 42%, rgba(7, 6, 14, 0.74));
}
.media__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
}
.media__ph {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  background-image:
    repeating-linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0 1px, rgba(0, 0, 0, 0) 1px 14px),
    repeating-linear-gradient(45deg, rgba(45, 226, 255, 0.09) 0 1px, rgba(0, 0, 0, 0) 1px 14px);
}
.media__cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  padding: 4px 12px;
  border-radius: var(--pill);
  background-color: rgba(7, 6, 14, 0.74);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
}
.media--slant {
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
  border-radius: var(--radius-lg);
}
.media--portrait .media__img,
.media--portrait .media__ph { aspect-ratio: 3 / 4; }
.media--wide .media__img,
.media--wide .media__ph { aspect-ratio: 21 / 9; }

/* ---------- 12. 面包屑与正文 ---------- */
.breadcrumb { padding: 18px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb__item { display: flex; align-items: center; gap: 8px; }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; color: var(--line-600); }
.breadcrumb__item a:hover { color: var(--neon-blue); }
.breadcrumb__item [aria-current="page"] { color: var(--text-primary); }
.prose { max-width: 74ch; font-size: 16px; line-height: 1.8; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.7em; font-size: clamp(24px, 2.6vw, 34px); }
.prose h3 { margin-top: 1.4em; font-size: clamp(19px, 2vw, 24px); }
.prose ul, .prose ol { display: grid; gap: 0.5em; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 9px;
  height: 2px;
  background-color: var(--amber-gold);
}
.prose a {
  color: var(--neon-blue);
  text-decoration: underline;
  text-decoration-color: rgba(45, 226, 255, 0.42);
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: var(--neon-blue); }
.note { font-size: 13px; line-height: 1.7; color: var(--text-muted); }

/* ---------- 13. 头部刊头与导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background-color: rgba(7, 6, 14, 0.94);
  background-image: radial-gradient(72% 168% at 50% -62%, rgba(139, 92, 246, 0.30), rgba(7, 6, 14, 0) 72%);
  border-bottom: 1px solid var(--line-600);
  backdrop-filter: blur(16px);
}
.masthead__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 14px var(--gutter);
}
.season-tag {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: var(--pill);
  background-color: var(--paper-cream);
  color: #191428;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.season-tag__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--signal-red);
  box-shadow: 0 0 0 3px rgba(255, 92, 122, 0.24);
}
.masthead__brand { justify-self: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand--footer { justify-self: start; }
.brand__mark {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background-image: linear-gradient(135deg, var(--neon-purple), #5B2FD6);
  color: #0A0713;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 0 0 1px rgba(45, 226, 255, 0.25), 0 12px 28px -16px rgba(139, 92, 246, 0.95);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.16; }
.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand__sub { font-size: 11px; letter-spacing: 0.22em; color: var(--text-muted); }
.masthead__util { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line-600);
  border-radius: var(--pill);
  background-color: rgba(26, 23, 48, 0.55);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.site-header[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-header[data-open] .nav-toggle { border-color: var(--neon-purple); color: var(--neon-purple-soft); }
.site-nav {
  border-top: 1px solid var(--line-600);
  background-image: linear-gradient(180deg, rgba(16, 14, 28, 0.86), rgba(7, 6, 14, 0));
}
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0 var(--gutter);
}
.site-nav__item { display: flex; align-items: center; }
.site-nav__item + .site-nav__item::before {
  content: "";
  width: 1px;
  height: 14px;
  margin: 0 6px;
  background-color: var(--line-600);
}
.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.16s ease;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 8px;
  height: 2px;
  background-color: var(--neon-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}
.site-nav__link:hover { color: var(--text-primary); }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: var(--neon-purple); }
.site-nav__link[aria-current="page"]::after { background-color: var(--neon-purple); transform: scaleX(1); }
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background-image: linear-gradient(90deg, var(--neon-purple), var(--neon-blue) 55%, var(--amber-gold));
  box-shadow: 0 0 14px rgba(45, 226, 255, 0.6);
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  padding-top: 56px;
  background-color: var(--ink-800);
  border-top: 1px solid var(--line-600);
  color: var(--text-muted);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, var(--line-600) 0 1px, rgba(0, 0, 0, 0) 1px 24px);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0 var(--gutter) 40px;
}
.footer__brand { display: grid; gap: 14px; align-content: start; }
.footer__tagline { font-size: 13px; letter-spacing: 0.14em; color: var(--text-muted); }
.footer__contact { display: grid; gap: 8px; font-size: 13px; }
.footer__contact-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  align-items: baseline;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(42, 36, 64, 0.9);
}
.footer__contact-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--neon-blue);
}
.footer__contact-val { color: var(--text-primary); word-break: break-word; }
.footer__note { font-size: 12px; line-height: 1.7; color: var(--text-muted); }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__title {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--paper-cream);
}
.footer__list { display: grid; gap: 8px; }
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.16s ease;
}
.footer__link::before {
  content: "";
  width: 6px;
  height: 1px;
  background-color: var(--neon-purple);
  transition: width 0.16s ease, background-color 0.16s ease;
}
.footer__link:hover { color: var(--text-primary); }
.footer__link:hover::before { width: 18px; background-color: var(--amber-gold); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 20px var(--gutter) 34px;
  border-top: 1px solid var(--line-600);
  font-size: 12.5px;
}
.footer__legal { color: var(--text-muted); }
.footer__icp { font-family: var(--font-mono); color: var(--text-muted); letter-spacing: 0.04em; }

/* ---------- 15. 显现与动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
}
@media (max-width: 960px) {
  .grid--split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ruler { position: static; top: auto; }
  .ruler__item { border-top: 1px solid var(--line-600); }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; background-image: none; background-color: var(--ink-800); }
  .site-header[data-open] .site-nav { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 6px var(--gutter) 16px; }
  .site-nav__item { width: 100%; }
  .site-nav__item + .site-nav__item::before { width: 100%; height: 1px; margin: 0; }
  .site-nav__link { display: block; padding: 14px 4px; }
  .site-nav__link::after { left: 4px; right: auto; width: 30px; bottom: 9px; }
  .masthead__inner {
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
    padding: 12px var(--gutter);
  }
  .masthead__brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .masthead__util { grid-column: 2; grid-row: 1; }
  .season-tag { grid-column: 1 / -1; grid-row: 2; }
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section { padding: 52px 0; }
  .grid--halves { grid-template-columns: minmax(0, 1fr); }
  .bento { gap: 14px; }
  .archive { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento__block--wide,
  .bento__block--hero { grid-column: span 1; }
  .bento__block--hero,
  .bento__block--tall { grid-row: span 1; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer__bottom { padding-bottom: 28px; }
}
@media (max-width: 480px) {
  .brand__name { font-size: 16px; }
  .brand__sub { display: none; }
  .masthead__util .btn--sm { padding: 7px 12px; font-size: 12px; }
  .nav-toggle { padding: 7px 11px; }
}

/* ---------- 17. 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .bento__block:hover,
  .bento__block:focus-within,
  .archive__block:hover,
  .archive__block:focus-within,
  .btn:hover { transform: none; }
}
