/* ==========================================================================
   乐鱼主站 · /assets/site.css
   夜间数据控制台 + 编辑部编目手册
   ========================================================================== */

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

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #0B211C;
  --ink-700: #14342C;
  --paper-050: #F4EFE4;
  --paper-100: #E7DFCE;
  --cyan-400: #35E0C8;
  --cyan-600: #12A38F;
  --amber-500: #FF9A3C;
  --amber-300: #FFC98A;
  --slate-200: #C9D3CF;
  --ink-800: #1B241F;
  --clay-600: #C2553C;

  --shell-w: 1200px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --line: rgba(53, 224, 200, 0.18);
  --line-soft: rgba(201, 211, 207, 0.14);

  --font-sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --shadow-float: 0 18px 44px rgba(0, 0, 0, 0.45);
}

/* ---------- 3. Base ---------- */
body {
  background-color: var(--ink-900);
  background-image: radial-gradient(rgba(53, 224, 200, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--slate-200);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

::selection { background: var(--cyan-400); color: var(--ink-900); }

/* ---------- 4. Typography ---------- */
.display-xl, .display-l, .display-m, .display-s {
  font-family: var(--font-sans);
  font-weight: 800;
  font-stretch: condensed;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--paper-050);
}
.display-xl { font-size: clamp(34px, 6vw, 56px); }
.display-l  { font-size: clamp(28px, 4.4vw, 40px); }
.display-m  { font-size: clamp(22px, 3vw, 28px); }
.display-s  { font-size: 20px; }

.section--paper .display-xl,
.section--paper .display-l,
.section--paper .display-m,
.section--paper .display-s,
.card--paper .card-title { color: var(--ink-800); }

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

.annotation {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-600);
}
.annotation--vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.28em;
}

.lead {
  font-size: 17px;
  line-height: 1.8;
  max-width: 62ch;
  color: var(--slate-200);
}
.section--paper .lead { color: #3A463F; }

/* ---------- 5. Layout ---------- */
.shell {
  width: min(100% - 40px, var(--shell-w));
  margin-inline: auto;
}

.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--paper {
  background-color: var(--paper-050);
  background-image: radial-gradient(rgba(27, 36, 31, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  color: var(--ink-800);
  border-radius: var(--r-lg);
  margin-block: 24px;
}
.section--panel { background: var(--ink-700); border-radius: var(--r-lg); }
.section--ink { background: var(--ink-900); }

.grid { display: grid; gap: 24px; }
.grid--main { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-12 { grid-column: span 12; }

/* ---------- 6. Breadcrumb ---------- */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(201, 211, 207, 0.72);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--cyan-600);
  opacity: 0.7;
}
.breadcrumb a { color: var(--slate-200); border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--cyan-400); border-bottom-color: var(--cyan-400); }
.breadcrumb [aria-current="page"] { color: var(--cyan-400); }
.section--paper .breadcrumb ol { color: #56635B; }
.section--paper .breadcrumb a { color: #3A463F; }

/* ---------- 7. Buttons / chips / tags ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--cyan-400); color: var(--ink-900); }
.btn--primary:hover { background: var(--cyan-600); color: var(--paper-050); }
.btn--ghost { border-color: rgba(53, 224, 200, 0.45); color: var(--cyan-400); }
.btn--ghost:hover { background: rgba(53, 224, 200, 0.1); }
.btn--amber { border-color: rgba(255, 154, 60, 0.5); color: var(--amber-300); }
.btn--amber:hover { background: rgba(255, 154, 60, 0.12); color: var(--amber-500); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 200, 0.28);
  background: rgba(53, 224, 200, 0.05);
  color: var(--slate-200);
  font-size: 13px;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.chip:hover { border-color: var(--cyan-400); color: var(--cyan-400); }
.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--cyan-400);
  border-color: var(--cyan-400);
  color: var(--ink-900);
}
.section--paper .chip {
  border-color: rgba(18, 163, 143, 0.4);
  background: rgba(18, 163, 143, 0.08);
  color: var(--ink-800);
}
.section--paper .chip[aria-pressed="true"] { background: var(--cyan-600); color: var(--paper-050); }

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 201, 138, 0.5);
  color: var(--amber-300);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- 8. Cards ---------- */
.card {
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 224, 200, 0.45);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}
.card--paper {
  background: var(--paper-050);
  border-color: var(--paper-100);
  color: var(--ink-800);
}
.card-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--paper-050);
}
.card-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--cyan-400);
  margin-bottom: 6px;
}
.card-body {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(201, 211, 207, 0.86);
}
.card--paper .card-body { color: #3A463F; }

/* ---------- 9. Data table ---------- */
.data-table {
  font-size: 14.5px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(20, 52, 44, 0.6);
}
.data-table th {
  text-align: left;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan-400);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 0 14px;
  height: 44px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.data-table tbody tr:nth-child(even) { background: rgba(231, 223, 206, 0.04); }
.data-table tbody tr:hover { background: rgba(53, 224, 200, 0.08); }
.data-table--compact td { height: 34px; }
.data-table--compact th { padding: 8px 12px; }
.section--paper .data-table { background: rgba(231, 223, 206, 0.5); }
.section--paper .data-table th { color: var(--cyan-600); border-bottom-color: rgba(18, 163, 143, 0.3); }
.section--paper .data-table td { border-bottom-color: rgba(27, 36, 31, 0.1); color: var(--ink-800); }

/* ---------- 10. Media frames ---------- */
.media-figure { margin: 0; }
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(53, 224, 200, 0.08), rgba(11, 33, 28, 0) 60%),
    var(--ink-700);
  aspect-ratio: 16 / 9;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(53, 224, 200, 0.16) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.4;
  pointer-events: none;
}
.media-frame img,
.media-frame picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(201, 211, 207, 0.7);
}
.section--paper .media-caption { color: #56635B; }

/* ---------- 11. Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 12. Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 95;
  pointer-events: none;
  background: rgba(53, 224, 200, 0.08);
}
.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan-600), var(--cyan-400));
}

/* ---------- 13. Skip link ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 130;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cyan-400);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- 14. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px 0 6px;
  transition: padding 0.28s var(--ease);
}
.site-header[data-scrolled="true"] { padding: 8px 0 4px; }

.header-shell {
  position: relative;
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 33, 28, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-float);
  transition: padding 0.28s var(--ease), background-color 0.28s var(--ease), border-color 0.28s var(--ease);
}
.site-header[data-scrolled="true"] .header-shell {
  padding: 6px 10px 6px 14px;
  background: rgba(9, 26, 22, 0.95);
  border-color: rgba(53, 224, 200, 0.3);
}

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--cyan-400), var(--cyan-600));
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper-050);
}
.brand-tagline {
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--slate-200);
  opacity: 0.7;
}

.primary-nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-link {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  color: var(--slate-200);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-link:hover { color: var(--cyan-400); background: rgba(53, 224, 200, 0.08); }
.nav-link[aria-current="page"] {
  background: rgba(53, 224, 200, 0.14);
  border-color: rgba(53, 224, 200, 0.42);
  color: var(--cyan-400);
}

.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.drawer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 154, 60, 0.42);
  color: var(--amber-300);
  font-size: 12.5px;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.drawer-toggle:hover { background: rgba(255, 154, 60, 0.12); border-color: var(--amber-500); }
.drawer-toggle-key { color: var(--amber-500); font-size: 12px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 200, 0.35);
  color: var(--cyan-400);
  font-size: 13px;
  font-weight: 700;
}
.nav-toggle-bars {
  position: relative;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s var(--ease);
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 15. Drawer ---------- */
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(5, 16, 13, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}
.drawer-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

.version-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  height: 100%;
  width: min(340px, 88vw);
  padding: 22px 20px 32px;
  overflow-y: auto;
  background: var(--ink-700);
  background-image: radial-gradient(rgba(53, 224, 200, 0.07) 1px, transparent 1px);
  background-size: 16px 16px;
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.45);
  transform: translateX(103%);
  visibility: hidden;
  transition: transform 0.28s ease-out, visibility 0.28s ease-out;
}
.version-drawer[data-open="true"] { transform: none; visibility: visible; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.drawer-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--cyan-400);
}
.drawer-close {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--slate-200);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.drawer-close:hover { border-color: var(--cyan-400); color: var(--cyan-400); }

.version-badge {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 201, 138, 0.45);
  background: rgba(255, 154, 60, 0.1);
  color: var(--amber-300);
  font-size: 13px;
  line-height: 1.6;
}
.version-badge .mono { color: var(--amber-500); }

.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px dashed rgba(53, 224, 200, 0.45);
  color: var(--cyan-400);
  font-size: 12.5px;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.copy-chip:hover { background: rgba(53, 224, 200, 0.1); border-style: solid; }
.copy-chip[data-copied="true"] { border-style: solid; border-color: var(--cyan-400); background: rgba(53, 224, 200, 0.16); }
.copy-chip[data-copied="false"] { border-color: var(--clay-600); color: #EBA694; }

.drawer-section { margin-top: 24px; }
.drawer-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper-050);
  margin-bottom: 10px;
}
.drawer-list { display: grid; gap: 6px; }
.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  background: rgba(11, 33, 28, 0.55);
  font-size: 14px;
  color: var(--slate-200);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.drawer-link:hover {
  border-color: rgba(53, 224, 200, 0.45);
  color: var(--cyan-400);
  transform: translateX(2px);
}
.drawer-link-meta { font-size: 11px; color: rgba(201, 211, 207, 0.6); }

.league-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.drawer-foot {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(201, 211, 207, 0.68);
}

/* ---------- 16. Footer ---------- */
.site-footer {
  margin-top: 56px;
  padding: 56px 0 28px;
  background-color: var(--ink-900);
  background-image: radial-gradient(rgba(53, 224, 200, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  border-top: 1px solid var(--line);
  color: var(--slate-200);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 32px;
  align-items: start;
}

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-note {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(201, 211, 207, 0.72);
  max-width: 30ch;
}
.footer-brand .copy-chip { margin-top: 0; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cyan-400);
}
.footer-list { display: grid; gap: 8px; }
.footer-link {
  font-size: 14px;
  color: var(--slate-200);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-link:hover { color: var(--cyan-400); border-bottom-color: var(--cyan-400); }

.footer-contact { display: grid; gap: 12px; }
.contact-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}
.contact-key {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(201, 211, 207, 0.6);
}
.contact-value {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--paper-050);
  word-break: break-word;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: rgba(201, 211, 207, 0.66);
}
.footer-copyright { color: rgba(201, 211, 207, 0.8); }
.footer-legal { font-family: var(--font-mono); letter-spacing: 0.04em; }
.footer-version { color: var(--amber-300); }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    margin: 0;
    padding: 10px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(9, 26, 22, 0.98);
    box-shadow: var(--shadow-float);
    display: none;
  }
  .primary-nav[data-open="true"] {
    display: block;
    animation: nav-drop 0.22s var(--ease);
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 3px; }
  .nav-link { display: block; padding: 12px 14px; border-radius: 14px; font-size: 15px; }

  .footer-shell { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .col-3, .col-4, .col-5, .col-6, .col-7 { grid-column: span 12; }
  .section { padding: 48px 0; }
}

@media (max-width: 720px) {
  .brand-tagline { display: none; }
  .header-shell { width: calc(100% - 20px); padding: 8px 8px 8px 12px; gap: 10px; }
  .drawer-toggle-label { display: none; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .footer-shell { grid-template-columns: minmax(0, 1fr); }
  .footer-meta { margin-top: 32px; }
  .data-table { font-size: 13.5px; }
  .data-table th, .data-table td { padding-inline: 10px; }
}

/* ---------- 18. Reduced motion ---------- */
@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .scroll-progress { display: none; }
}
