/* =========================================================
   万能棋牌 · /assets/site.css
   reset / 变量 / 中文排版 / 页头页脚 / 基础组件
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }
*[id] { scroll-margin-top: 148px; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #06110F;
  --ink-800: #0C1E1B;
  --ink-700: #142A26;
  --line: #2E4A45;
  --line-soft: rgba(46, 74, 69, .6);

  --text: #E8F4F1;
  --text-dim: #9FB6B2;

  --violet: #8B5CFF;
  --cyan: #21E6D2;
  --gold: #F3B33D;
  --glitch: #FF5FA2;

  --font-head: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", Consolas, "Courier New", monospace;

  --s-1: 4px; --s-2: 8px; --s-3: 16px; --s-4: 24px; --s-5: 40px; --s-6: 64px;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shell-max: 1240px;
  --shadow-cyan: 0 10px 28px rgba(33, 230, 210, .14);
  --shadow-violet: 0 12px 32px rgba(139, 92, 255, .16);
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(900px 520px at 12% -8%, rgba(139, 92, 255, .16), transparent 70%),
    radial-gradient(760px 460px at 92% 2%, rgba(33, 230, 210, .12), transparent 72%),
    radial-gradient(680px 620px at 50% 108%, rgba(243, 179, 61, .08), transparent 72%),
    repeating-linear-gradient(0deg, rgba(232, 244, 241, .022) 0 1px, transparent 1px 3px);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(30px, 4.6vw, 40px); }
h2 { font-size: clamp(24px, 3.4vw, 32px); }
h3 { font-size: 20px; line-height: 1.4; }
h4 { font-size: 17px; line-height: 1.5; }
p { max-width: 60ch; }
strong { font-weight: 700; color: var(--text); }
em { font-style: normal; color: var(--cyan); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.glow {
  text-shadow: 0 0 16px rgba(139, 92, 255, .55), 0 0 34px rgba(33, 230, 210, .24);
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.lead {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.9;
  color: rgba(232, 244, 241, .9);
  max-width: 46ch;
}

.prose { max-width: 42em; }
.prose p { margin-bottom: var(--s-3); color: rgba(232, 244, 241, .86); }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin: var(--s-5) 0 var(--s-3); }
.prose ul, .prose ol { margin: 0 0 var(--s-3); padding-left: 0; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 4px; top: .78em;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--violet);
  box-shadow: 0 0 10px rgba(139, 92, 255, .7);
}

::selection { background: rgba(33, 230, 210, .28); color: var(--text); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- 4. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.main {
  padding-top: clamp(24px, 3.4vw, 44px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.grid { display: grid; gap: var(--s-4); }
.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)); }

/* ---------- 5. 区块标题 ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
}
.section-head__row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.section-head__idx {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--violet);
}
.section-head__title { margin: 0; }
.section-head__desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 64ch;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(20, 42, 38, .8);
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  line-height: 1.4;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
  color: var(--text);
}
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(120deg, var(--violet), #6B3FF0 52%, var(--cyan));
  border-color: transparent;
  color: #05100E;
  box-shadow: var(--shadow-violet);
}
.btn--primary:hover { color: #05100E; box-shadow: 0 14px 34px rgba(139, 92, 255, .3); }

.btn--gold {
  background: linear-gradient(120deg, var(--gold), #FFD479);
  border-color: transparent;
  color: #241701;
}
.btn--gold:hover { color: #241701; box-shadow: 0 14px 30px rgba(243, 179, 61, .26); }

.btn--ghost {
  background: transparent;
  color: var(--text-dim);
}
.btn--ghost:hover { color: var(--text); background: rgba(33, 230, 210, .07); }

.btn--sm { padding: 8px 14px; font-size: 13px; border-radius: 11px; }

/* ---------- 7. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 42, 38, .7);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.7;
  white-space: nowrap;
}
.tag--violet { color: var(--violet); border-color: rgba(139, 92, 255, .5); background: rgba(139, 92, 255, .1); }
.tag--cyan { color: var(--cyan); border-color: rgba(33, 230, 210, .45); background: rgba(33, 230, 210, .08); }
.tag--gold { color: var(--gold); border-color: rgba(243, 179, 61, .45); background: rgba(243, 179, 61, .08); }
.tag--glitch { color: var(--glitch); border-color: rgba(255, 95, 162, .45); background: rgba(255, 95, 162, .08); }

/* ---------- 8. 面板与卡片 ---------- */
.panel {
  position: relative;
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(12, 30, 27, .94), rgba(12, 30, 27, .72));
}
.panel--flush { padding: 0; overflow: hidden; }
.panel--inset { background: rgba(20, 42, 38, .55); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(140% 120% at 0% 0%, rgba(139, 92, 255, .12), transparent 58%),
    linear-gradient(180deg, rgba(12, 30, 27, .95), rgba(6, 17, 15, .85));
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 230, 210, .7);
  box-shadow: var(--shadow-cyan);
}

/* ---------- 9. 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(12, 30, 27, .8);
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  min-width: 560px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .02em;
}
.data-table caption {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
}
.data-table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(20, 42, 38, .96);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 11px 14px;
  color: var(--text);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.data-table tbody tr:nth-child(even) { background: rgba(20, 42, 38, .5); }
.data-table tbody tr:hover { background: rgba(33, 230, 210, .07); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .is-gold { color: var(--gold); }
.data-table .is-cyan { color: var(--cyan); }
.data-table .is-dim { color: var(--text-dim); }

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--text-dim);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after {
  content: "›";
  color: var(--violet);
  font-family: var(--font-mono);
}
.breadcrumb a { transition: color .18s ease; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- 11. 图片容器（供页面阶段放置图片） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 18% 0%, rgba(139, 92, 255, .22), transparent 62%),
    radial-gradient(120% 140% at 92% 100%, rgba(33, 230, 210, .18), transparent 62%),
    linear-gradient(160deg, #0C1E1B, #06110F);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background: repeating-linear-gradient(0deg, rgba(232, 244, 241, .05) 0 1px, transparent 1px 3px);
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
}

/* ---------- 12. 页头 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--cyan);
  color: #05100E;
  font-weight: 700;
  font-size: 14px;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 17, 15, .97), rgba(6, 17, 15, .88));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--violet), var(--cyan) 58%, var(--gold));
  box-shadow: 0 0 12px rgba(33, 230, 210, .5);
}

.header-rail__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-block: 14px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: #05100E;
  background: linear-gradient(135deg, var(--cyan), var(--violet) 58%, var(--gold));
  box-shadow: 0 0 0 1px rgba(232, 244, 241, .14), 0 0 24px rgba(139, 92, 255, .42);
}
.brand__text { display: block; min-width: 0; }
.brand__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: .02em;
}
.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.brand--footer .brand__mark { width: 38px; height: 38px; border-radius: 13px; font-size: 19px; }

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 42, 38, .75);
  font-size: 12px;
  line-height: 1.9;
  white-space: nowrap;
}
.header-status__label { color: var(--text-dim); }
.header-status__value { color: var(--gold); font-size: 12px; }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: statusPulse 2.4s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: .45; transform: scale(.86); }
  50% { opacity: 1; transform: scale(1.08); }
}

.site-nav { flex: 0 1 auto; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav__item { display: block; }
.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.site-nav__link:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: rgba(33, 230, 210, .07);
  box-shadow: var(--shadow-cyan);
}
.site-nav__link[aria-current="page"] {
  border-color: rgba(139, 92, 255, .65);
  background: rgba(139, 92, 255, .14);
  box-shadow: 0 0 0 1px rgba(139, 92, 255, .2), var(--shadow-violet);
}
.site-nav__link[aria-current="page"] .site-nav__idx { color: var(--gold); }
.site-nav__idx {
  font-size: 11px;
  color: var(--violet);
  letter-spacing: .1em;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(20, 42, 38, .8);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.nav-toggle:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: var(--shadow-cyan); }
.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}
.nav-toggle[aria-expanded="true"] { border-color: var(--cyan); color: var(--cyan); }

.header-nav {
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(12, 30, 27, .7), rgba(6, 17, 15, .5));
}
.header-nav__inner {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-block: 8px;
}

.search-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(20, 42, 38, .9), rgba(12, 30, 27, .55));
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.search-slot:hover {
  transform: translateY(-1px);
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(33, 230, 210, .22), var(--shadow-cyan);
}
.search-slot__icon { color: var(--violet); font-size: 14px; line-height: 1; }
.search-slot__prompt {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--text-dim);
}
.search-slot__key {
  margin-left: auto;
  color: var(--cyan);
  font-size: 12px;
  white-space: nowrap;
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(760px 320px at 12% 0%, rgba(139, 92, 255, .12), transparent 68%),
    linear-gradient(180deg, rgba(12, 30, 27, .92), var(--ink-900) 62%);
}

.footer-top { padding-block: clamp(36px, 5vw, 56px) var(--s-5); }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.6fr) repeat(4, minmax(130px, 1fr));
  gap: 36px 28px;
  align-items: start;
}

.footer-brand { min-width: 0; }
.footer-brand__note {
  margin-top: var(--s-3);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dim);
  max-width: 34ch;
}
.footer-brand__meta {
  margin-top: var(--s-2);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: .04em;
}

.footer-col__title {
  position: relative;
  margin-bottom: var(--s-3);
  padding-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text);
}
.footer-col__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}
.footer-col__list li + li { margin-top: 2px; }
.footer-link {
  display: inline-block;
  padding: 3px 0;
  font-size: 14px;
  color: var(--text-dim);
  transition: color .18s ease, transform .18s ease;
}
.footer-link:hover {
  color: var(--cyan);
  transform: translateX(2px);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-meta { display: flex; flex-direction: column; gap: 10px; }
.footer-meta__item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.footer-meta__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer-meta__value {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  word-break: break-word;
}
.footer-meta__hint {
  margin-top: var(--s-3);
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 30ch;
}

.footer-bottom { border-top: 1px solid var(--line-soft); }
.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 16px;
}
.footer-copy { font-size: 12.5px; color: var(--text-dim); }
.footer-legal { font-size: 12.5px; color: var(--text-dim); }

/* ---------- 14. 交互状态与显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

[data-toc-link] {
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
[data-toc-link][aria-current] {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(33, 230, 210, .08);
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .header-identity { order: 1; flex: 1 1 auto; }
  .nav-toggle { order: 2; display: inline-flex; }
  .site-nav { order: 3; flex: 1 1 100%; display: none; }
  .site-nav[data-open] {
    display: block;
    animation: navIn .18s ease both;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .site-nav__link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 12px;
    border-color: transparent;
  }
  .site-nav__link .site-nav__idx { order: 2; font-size: 11.5px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  *[id] { scroll-margin-top: 168px; }
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .header-rail__inner { padding-block: 12px; }
  .header-identity { gap: 12px; }
  .header-status { padding: 4px 10px; font-size: 11px; }
  .brand__name { font-size: 18px; }
  .search-slot { flex-wrap: wrap; gap: 6px 10px; }
  .search-slot__prompt { white-space: normal; }
  .search-slot__key { margin-left: 0; }
  .section-head__row { gap: 8px 12px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .brand__sub { display: none; }
  .header-status__label { display: none; }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .status-dot { opacity: 1; transform: none; }
}
