/* ============================================================
   IM电竞娱乐 · /assets/site.css
   共享外壳：reset / tokens / 排版 / 通用组件 / 头部 / 页脚
   ============================================================ */

/* ---------- 01. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

[hidden] {
  display: none !important;
}

/* ---------- 02. Tokens ---------- */
:root {
  --ink: #07090C;
  --panel: #12161C;
  --panel-line: #1F2631;
  --silver: #AEB8C4;
  --paper: #F2E9D8;
  --paper-ink: #1C1512;
  --cyan: #2FE3D0;
  --ember: #FF5B22;
  --violet: #9D7BFF;
  --yellow: #FFD166;
  --alert: #FF4D6D;

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

  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-20: 20px;
  --fs-28: 28px;
  --fs-40: 40px;
  --fs-56: 56px;
  --fs-72: 72px;

  --wrap: 1440px;
  --gutter: 24px;
  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, 0.72);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 03. Base ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--silver);
  background-color: var(--ink);
  background-image: radial-gradient(rgba(174, 184, 196, 0.045) 1px, transparent 1.1px);
  background-size: 4px 4px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}

h1 {
  font-size: clamp(var(--fs-28), 5vw, var(--fs-72));
}

h2 {
  font-size: clamp(var(--fs-20), 3.4vw, var(--fs-40));
}

h3 {
  font-size: clamp(var(--fs-20), 2.2vw, var(--fs-28));
}

h4 {
  font-size: var(--fs-20);
}

p {
  text-wrap: pretty;
}

strong {
  color: var(--paper);
  font-weight: 700;
}

small {
  font-size: var(--fs-12);
}

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

::selection {
  background: var(--ember);
  color: #150A05;
}

/* ---------- 04. Utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

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

.prose {
  max-width: 42em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--silver);
}

.prose p + p {
  margin-top: 1.05em;
}

.prose h2,
.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.prose a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 227, 208, 0.42);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.prose a:hover {
  color: var(--paper);
  border-bottom-color: var(--cyan);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--ember);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(174, 184, 196, 0.18);
}

.rule {
  height: 2px;
  border: 0;
  background: rgba(174, 184, 196, 0.2);
}

.diamond {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.16);
}

/* ---------- 05. Buttons / Tags / Panel ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.btn--ember {
  background: var(--ember);
  border-color: var(--ember);
  color: #150A05;
  box-shadow: 5px 5px 0 rgba(47, 227, 208, 0.25);
}

.btn--ember:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 5px 5px 0 rgba(255, 91, 34, 0.38);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(174, 184, 196, 0.45);
  color: var(--paper);
}

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: rgba(157, 123, 255, 0.14);
  border: 1px solid rgba(157, 123, 255, 0.55);
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.tag--ember {
  background: rgba(255, 91, 34, 0.14);
  border-color: rgba(255, 91, 34, 0.6);
  color: #FF8A5C;
}

.tag--cyan {
  background: rgba(47, 227, 208, 0.12);
  border-color: rgba(47, 227, 208, 0.5);
  color: var(--cyan);
}

.panel {
  background: var(--panel);
  border: 2px solid var(--panel-line);
  box-shadow: var(--shadow-hard);
  padding: 24px;
}

/* ---------- 06. Image frame ---------- */
.img-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--panel);
  background-image: linear-gradient(135deg, #161C25 0%, #0A0D12 100%);
  border: 2px solid var(--panel-line);
  box-shadow: var(--shadow-hard);
}

.img-frame > img,
.img-frame > picture,
.img-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    120deg,
    rgba(47, 227, 208, 0.18) 0%,
    rgba(47, 227, 208, 0) 42%,
    rgba(255, 91, 34, 0.16) 100%
  );
  mix-blend-mode: screen;
}

.img-frame__label {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 4px 10px;
  background: var(--ink);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.img-frame--tall {
  aspect-ratio: 3 / 4;
}

.img-frame--square {
  aspect-ratio: 1 / 1;
}

.img-frame--wide {
  aspect-ratio: 21 / 9;
}

/* ---------- 07. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: rgba(174, 184, 196, 0.72);
}

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

.breadcrumb li + li::before {
  content: "/";
  color: rgba(174, 184, 196, 0.36);
}

.breadcrumb a {
  color: rgba(174, 184, 196, 0.72);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

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

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

/* ---------- 08. Filter protocol ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-chip {
  padding: 8px 14px;
  background: transparent;
  border: 2px solid rgba(174, 184, 196, 0.35);
  border-radius: 0;
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.filter-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.filter-chip[aria-pressed="true"] {
  background: var(--ember);
  border-color: var(--ember);
  color: #150A05;
}

.filter-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: rgba(174, 184, 196, 0.72);
}

/* ---------- 09. Skip link ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: var(--gutter);
  z-index: 300;
  padding: 12px 18px;
  background: var(--cyan);
  border: 2px solid var(--ink);
  color: #05100E;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 5px 5px 0 rgba(255, 91, 34, 0.5);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 10. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--ink);
  background-image: radial-gradient(rgba(174, 184, 196, 0.06) 1px, transparent 1.1px);
  background-size: 4px 4px;
  border-bottom: 2px solid var(--panel-line);
}

.site-header[data-scrolled="true"] {
  border-bottom-color: rgba(47, 227, 208, 0.42);
  box-shadow: 0 2px 0 rgba(47, 227, 208, 0.16);
}

.command-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px var(--gutter);
}

/* Brand */
.brand-index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--cyan);
  color: #05120F;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  overflow: hidden;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 11px 11px;
  border-color: transparent transparent var(--ink) transparent;
}

.brand-index:hover .brand-mark {
  background: var(--ember);
  color: #180A04;
}

.brand-words {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--paper);
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(174, 184, 196, 0.66);
  white-space: nowrap;
}

/* Toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: transparent;
  border: 2px solid rgba(174, 184, 196, 0.4);
  border-radius: 0;
  color: var(--paper);
  font-size: var(--fs-12);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}

.nav-toggle-bars::before {
  top: 0;
}

.nav-toggle-bars::after {
  bottom: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-4px) rotate(-45deg);
}

/* Nav */
.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

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

.nav-item {
  display: flex;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 10px;
  border: 2px solid transparent;
  color: var(--silver);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 3px;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}

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

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(174, 184, 196, 0.6);
  transition: color 0.18s var(--ease);
}

.nav-link:hover .nav-index {
  color: var(--ember);
}

.nav-link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(47, 227, 208, 0.08);
  border-color: rgba(47, 227, 208, 0.38);
}

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

.nav-link[aria-current="page"]::after {
  transform: scaleX(0);
}

/* Command meta */
.command-meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.command-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  background: var(--ember);
  border: 2px solid var(--ember);
  color: #150A05;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 4px 4px 0 rgba(47, 227, 208, 0.28);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.command-search:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #05120F;
  box-shadow: 4px 4px 0 rgba(255, 91, 34, 0.42);
}

.status-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: rgba(174, 184, 196, 0.78);
  white-space: nowrap;
}

.status-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--yellow);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.16);
}

/* Scroll progress */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
}

.scroll-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, var(--cyan), var(--ember));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- 11. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 72px;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(28, 21, 18, 0.08) 1px, transparent 1.2px);
  background-size: 5px 5px;
  color: var(--paper-ink);
  border-top: 2px solid var(--paper-ink);
}

.footer-slab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 40px 56px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter) 44px;
}

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

.footer-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--paper-ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.footer-brand-name {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper-ink);
}

.footer-brand-line {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: rgba(28, 21, 18, 0.68);
}

.footer-addr {
  margin-top: 14px;
  max-width: 30ch;
  padding-top: 12px;
  border-top: 2px solid rgba(28, 21, 18, 0.16);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(28, 21, 18, 0.72);
}

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

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

.footer-col-title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--paper-ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(28, 21, 18, 0.6);
}

.footer-list {
  display: grid;
  gap: 10px;
}

.footer-link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  color: var(--paper-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}

.footer-link:hover {
  color: #000;
}

.footer-link:hover::after {
  transform: scaleX(1);
}

.footer-base {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter) 36px;
}

.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 32px;
  padding-top: 22px;
  border-top: 2px solid var(--paper-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: rgba(28, 21, 18, 0.8);
}

.footer-copy {
  color: var(--paper-ink);
  font-weight: 700;
}

.footer-contact {
  font-variant-numeric: tabular-nums;
}

.footer-note {
  flex: 1 0 100%;
  font-size: 11px;
  color: rgba(28, 21, 18, 0.62);
}

/* ---------- 12. Responsive ---------- */
@media (max-width: 1320px) {
  .status-note {
    display: none;
  }
}

@media (max-width: 1180px) {
  .nav-index {
    display: none;
  }

  .nav-link {
    padding: 9px 8px;
    font-size: 12.5px;
  }

  .command-search {
    padding: 9px 12px;
    font-size: 12px;
  }
}

@media (max-width: 960px) {
  :root {
    --gutter: 16px;
  }

  .command-bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px var(--gutter);
  }

  .brand-index {
    order: 1;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }

  .command-meta {
    order: 3;
  }

  .primary-nav {
    order: 4;
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 10px var(--gutter) 18px;
    background-color: var(--panel);
    background-image: radial-gradient(rgba(174, 184, 196, 0.05) 1px, transparent 1.1px);
    background-size: 4px 4px;
    border-bottom: 2px solid var(--cyan);
    box-shadow: 0 14px 0 rgba(0, 0, 0, 0.45);
  }

  .primary-nav[data-open="true"] {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-item {
    display: block;
    border-bottom: 1px solid rgba(174, 184, 196, 0.14);
  }

  .nav-item:last-child {
    border-bottom: 0;
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 4px;
    font-size: 15px;
    border: 2px solid transparent;
  }

  .nav-index {
    display: inline-block;
    font-size: 11px;
    color: rgba(174, 184, 196, 0.55);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link[aria-current="page"] {
    padding-left: 10px;
  }

  .footer-slab {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 42px var(--gutter) 34px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
  }

  .footer-base {
    padding-bottom: 28px;
  }

  .footer-base-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 11.5px;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 15px;
  }

  .brand-sub {
    font-size: 9px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .command-search {
    padding: 8px 10px;
    font-size: 11.5px;
    box-shadow: 3px 3px 0 rgba(47, 227, 208, 0.26);
  }

  .panel {
    padding: 18px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.7);
  }

  .filter-status {
    margin-left: 0;
    flex: 1 0 100%;
  }
}

@media (max-width: 420px) {
  .command-meta {
    display: none;
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 13. Reduced motion ---------- */
@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;
    scroll-behavior: auto !important;
  }

  .nav-link:hover::after,
  .footer-link:hover::after {
    transform: none;
    opacity: 1;
  }

  .nav-link::after,
  .footer-link::after {
    transition: none;
  }
}
