/* =========================================================
   qianying-arena.com.cn — 共享样式表 /assets/site.css
   深夜赛场控制室配色 · 非对称编辑部骨架 · 粗野主义边界
   ========================================================= */

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

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

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

/* ---------- tokens ---------- */
:root {
  --bg:        #06111F;
  --bg-2:      #0A1B2E;
  --bg-3:      #10263D;
  --line:      #1E3A5C;
  --cyan:      #22E1D6;
  --gold:      #F2B544;
  --rose:      #F2456B;
  --text:      #A9BED4;
  --white:     #FFFFFF;
  --deep-cyan: #0B6B6E;
  --ink:       #04121F;

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

  --wrap: 1340px;
  --gut: clamp(16px, 4vw, 40px);
  --nav-bp: 1120px;

  --fs-xl: clamp(38px, 5.4vw, 60px);
  --fs-lg: clamp(26px, 3.2vw, 36px);
  --fs-md: clamp(19px, 2vw, 22px);
}

/* ---------- base ---------- */
body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  background-color: var(--bg);
  background-image:
    radial-gradient(760px 520px at 82% -10%, rgba(34, 225, 214, 0.10), transparent 62%),
    radial-gradient(620px 460px at 4% 2%, rgba(242, 181, 68, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(10, 27, 46, 0.55), rgba(6, 17, 31, 0) 42%);
  background-attachment: fixed;
}

h1, h2, h3, h4 {
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

#main-content { display: block; }
#main-content:focus { outline: none; }

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

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

/* ---------- layout utilities ---------- */
.wrap {
  width: min(var(--wrap), 100% - (var(--gut) * 2));
  margin-inline: auto;
}

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.span-1  { grid-column: span 1; }
.span-2  { grid-column: span 2; }
.span-3  { grid-column: span 3; }
.span-4  { grid-column: span 4; }
.span-5  { grid-column: span 5; }
.span-6  { grid-column: span 6; }
.span-7  { grid-column: span 7; }
.span-8  { grid-column: span 8; }
.span-9  { grid-column: span 9; }
.span-10 { grid-column: span 10; }
.span-11 { grid-column: span 11; }
.span-12 { grid-column: span 12; }

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

/* ---------- skip link ---------- */
.skip {
  position: absolute;
  left: 16px;
  top: -90px;
  z-index: 200;
  display: inline-block;
  padding: 12px 22px;
  background: var(--cyan);
  border: 2px solid var(--bg);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  transition: top 0.18s ease;
}

.skip:focus { top: 16px; }

/* ---------- text helpers ---------- */
.t-mono,
.t-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.t-num {
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}

.t-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(169, 190, 212, 0.62);
}

.t-dim   { color: rgba(169, 190, 212, 0.72); }
.t-white { color: var(--white); }
.t-cyan  { color: var(--cyan); }
.t-gold  { color: var(--gold); }
.t-rose  { color: var(--rose); }

.h-xl {
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--white);
}

.h-lg {
  font-size: var(--fs-lg);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--white);
}

.h-md {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--white);
}

.lede {
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.78;
  color: var(--text);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 2px;
  background: currentColor;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 2px solid var(--line);
  background: var(--bg-3);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(30, 58, 92, 0.85);
}

.btn:active {
  transform: none;
  box-shadow: none;
}

.btn--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(34, 225, 214, 0.24);
}

.btn--cyan:hover { box-shadow: 6px 6px 0 rgba(34, 225, 214, 0.34); }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(242, 181, 68, 0.24);
}

.btn--gold:hover { box-shadow: 6px 6px 0 rgba(242, 181, 68, 0.34); }

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

.btn--ghost:hover {
  background: rgba(34, 225, 214, 0.1);
  box-shadow: 5px 5px 0 rgba(34, 225, 214, 0.18);
}

.btn--sm {
  padding: 9px 14px;
  font-size: 13px;
}

/* ---------- panels ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  background: var(--bg-2);
  border: 2px solid var(--line);
}

.panel--lift { box-shadow: 9px 9px 0 rgba(16, 38, 61, 0.9); }
.panel--flat { background: transparent; }
.panel--cyan { border-left: 4px solid var(--cyan); }
.panel--gold { border-left: 4px solid var(--gold); }
.panel--rose { border-left: 4px solid var(--rose); }

.panel__title {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
}

.panel__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(169, 190, 212, 0.62);
}

/* ---------- tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text);
  white-space: nowrap;
}

.tag--cyan { border-color: rgba(34, 225, 214, 0.5); color: var(--cyan); }
.tag--gold { border-color: rgba(242, 181, 68, 0.5); color: var(--gold); }
.tag--rose { border-color: rgba(242, 69, 107, 0.5); color: var(--rose); }

/* ---------- big numbers ---------- */
.kpi {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--white);
}

.kpi--xl { font-size: clamp(72px, 11vw, 150px); }

.kpi__unit {
  margin-left: 6px;
  font-size: 0.32em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text);
}

/* ---------- breadcrumbs ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(169, 190, 212, 0.66);
}

.crumbs a {
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

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

.crumbs [aria-hidden="true"] { color: var(--line); }

/* ---------- prose ---------- */
.prose {
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.85;
  color: var(--text);
}

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

.prose h2 {
  margin-top: 2.2em;
  font-size: var(--fs-lg);
}

.prose h3 {
  margin-top: 1.6em;
  font-size: var(--fs-md);
}

.prose ul {
  display: flex;
  flex-direction: column;
  gap: 0.55em;
  margin-top: 1em;
}

.prose li {
  position: relative;
  padding-left: 20px;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 2px;
  background: var(--cyan);
}

.prose strong { color: var(--white); font-weight: 700; }

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(34, 225, 214, 0.45);
}

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

/* ---------- media frames ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  border: 2px solid var(--line);
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 17, 31, 0) 42%, rgba(6, 17, 31, 0.74));
  box-shadow: inset 0 0 88px rgba(6, 17, 31, 0.9);
}

.media--wide   { aspect-ratio: 16 / 9; }
.media--photo  { aspect-ratio: 4 / 3; }
.media--tall   { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media__cap {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(169, 190, 212, 0.95);
}

/* ---------- horizontal track ---------- */
.track {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  padding: 8px 4px 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.track > * {
  flex: 0 0 clamp(250px, 27vw, 330px);
  scroll-snap-align: start;
}

.track::-webkit-scrollbar { height: 6px; }
.track::-webkit-scrollbar-track { background: var(--bg-3); }
.track::-webkit-scrollbar-thumb { background: var(--line); }

/* ---------- data table ---------- */
.table-wrap {
  overflow-x: auto;
  background: var(--bg-2);
  border: 2px solid var(--line);
}

table.data {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

table.data th,
table.data td {
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

table.data thead th {
  background: var(--bg-3);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

table.data tbody tr:nth-child(even) { background: rgba(16, 38, 61, 0.6); }
table.data tbody tr:last-child td { border-bottom: 0; }

/* ---------- fold ---------- */
details.fold {
  background: var(--bg-2);
  border: 2px solid var(--line);
}

details.fold + details.fold { border-top: 0; }

details.fold > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  list-style: none;
  cursor: pointer;
  color: var(--white);
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

details.fold > summary::-webkit-details-marker { display: none; }

details.fold > summary::after {
  content: "＋";
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--cyan);
}

details.fold[open] > summary::after { content: "－"; }
details.fold > summary:hover { background: var(--bg-3); }

.fold__body {
  padding: 0 20px 20px;
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.8;
}

/* ---------- tabs ---------- */
.tabs {
  display: flex;
  overflow-x: auto;
  background: var(--bg-2);
  border: 2px solid var(--line);
  scrollbar-width: thin;
}

.tabs__btn {
  padding: 12px 20px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.tabs__btn:hover { background: var(--bg-3); color: var(--white); }

.tabs__btn[aria-selected="true"] {
  background: var(--cyan);
  color: var(--ink);
}

/* ---------- scroll progress ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--gold) 62%, var(--rose));
  pointer-events: none;
}

/* ---------- reveal ---------- */
html.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

html.js-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* =========================================================
   header — 命令栏
   ========================================================= */
.cmdbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(6, 17, 31, 0.94);
  border-bottom: 2px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.ticker {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #10263D 0%, #0A1B2E 55%, #10263D 100%);
}

.ticker__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 40px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.ticker__dot {
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(242, 69, 107, 0.15);
  animation: qx-pulse 1.6s ease-in-out infinite;
}

@keyframes qx-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

.ticker__text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--text);
}

.ticker__link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 2px solid rgba(242, 181, 68, 0.3);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.ticker__link:hover {
  color: #FFD277;
  border-bottom-color: var(--gold);
}

.cmdbar__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 26px);
  min-height: 72px;
}

.cmdbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 6px 0;
}

.cmdbar__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 4px 4px 0 rgba(34, 225, 214, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cmdbar__brand:hover .cmdbar__mark {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(34, 225, 214, 0.28);
}

.cmdbar__name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cmdbar__cn {
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cmdbar__sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: rgba(34, 225, 214, 0.62);
}

.cmdnav {
  margin-left: auto;
  min-width: 0;
}

.cmdnav__list {
  display: flex;
  align-items: stretch;
}

.cmdnav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 13px;
  border-left: 2px solid transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  transition: background 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.18s ease;
}

.cmdnav__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(169, 190, 212, 0.5);
  transition: color 0.18s ease;
}

.cmdnav__link:hover {
  background: var(--bg-2);
  color: var(--white);
  transform: translateY(-2px);
}

.cmdnav__link:hover .cmdnav__idx { color: var(--gold); }

.cmdnav__link[aria-current="page"] {
  border-left-color: var(--cyan);
  background: var(--bg-2);
  color: var(--white);
  font-weight: 800;
}

.cmdnav__link[aria-current="page"] .cmdnav__idx { color: var(--cyan); }

.cmdbar__side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.cmdbar__toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: var(--bg-2);
  border: 2px solid var(--line);
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

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

.cmdbar__toggle-txt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
}

.cmdbar__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.cmdbar__bars::before,
.cmdbar__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cmdbar__bars::before { top: -6px; }
.cmdbar__bars::after  { top: 6px; }

.cmdbar__toggle[aria-expanded="true"] .cmdbar__bars { background: transparent; }
.cmdbar__toggle[aria-expanded="true"] .cmdbar__bars::before {
  transform: translateY(6px) rotate(45deg);
}
.cmdbar__toggle[aria-expanded="true"] .cmdbar__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================================================
   footer
   ========================================================= */
.foot {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  background: var(--bg-2);
  border-top: 2px solid var(--line);
}

.foot::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--cyan) 0 18%,
    var(--gold) 18% 28%,
    var(--rose) 28% 33%,
    var(--line) 33% 100%
  );
}

.foot__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(40px, 5vw, 68px) 0 clamp(28px, 3vw, 44px);
}

.foot__logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.foot__lead {
  max-width: 38ch;
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text);
}

.foot__ops {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(34, 225, 214, 0.66);
}

.foot__ops::before {
  content: "";
  flex: none;
  width: 26px;
  height: 2px;
  background: var(--cyan);
}

.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.foot__title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.foot__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot__list a {
  display: inline-block;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.foot__list a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  transform: translateX(3px);
}

.foot__meta {
  padding: 22px 0 36px;
  border-top: 1px solid var(--line);
}

.foot__lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(169, 190, 212, 0.82);
}

.foot__lines b {
  color: var(--white);
  font-weight: 600;
}

.foot__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(169, 190, 212, 0.62);
}

.foot__copy  { color: rgba(169, 190, 212, 0.72); }
.foot__icp   { color: var(--cyan); letter-spacing: 0.06em; }
.foot__note  { margin-left: auto; }

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 1120px) {
  html { scroll-padding-top: 96px; }

  .cmdbar__toggle { display: inline-flex; }

  .cmdnav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 120;
    margin: 0;
    max-height: 82vh;
    overflow-y: auto;
    padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
    background: var(--bg-2);
    border-top: 2px solid var(--cyan);
    box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.55);
    transform: translateY(120%);
    visibility: hidden;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s ease;
  }

  .cmdnav[data-open] {
    transform: translateY(0);
    visibility: visible;
  }

  .cmdnav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cmdnav__link {
    padding: 14px 16px;
    border: 2px solid var(--line);
    border-left-width: 2px;
    background: var(--bg-3);
    font-size: 16px;
  }

  .cmdnav__link:hover { transform: none; }

  .cmdnav__link[aria-current="page"] {
    border-color: var(--cyan);
    background: var(--bg-3);
  }
}

@media (max-width: 920px) {
  body {
    font-size: 16.5px;
    background-attachment: scroll;
  }

  .grid12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .span-7, .span-8, .span-9, .span-10, .span-11, .span-12 {
    grid-column: 1 / -1;
  }

  .span-4, .span-5, .span-6 { grid-column: span 6; }
  .span-1, .span-2, .span-3 { grid-column: span 3; }

  .foot__inner { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__note { margin-left: 0; }
}

@media (max-width: 640px) {
  .ticker__inner { min-height: 36px; font-size: 11.5px; gap: 10px; }
  .ticker__text { font-size: 11.5px; }

  .cmdbar__inner { min-height: 62px; gap: 10px; }
  .cmdbar__mark { width: 36px; height: 36px; font-size: 11.5px; }
  .cmdbar__cn { font-size: 15.5px; }
  .cmdbar__sub { display: none; }

  .btn { padding: 11px 15px; font-size: 13.5px; }
  .cmdbar__cta { padding: 10px 12px; font-size: 12.5px; }

  .cmdnav__list { grid-template-columns: 1fr; }

  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot__lines { font-size: 12px; }
}

@media (max-width: 400px) {
  .foot__cols { grid-template-columns: 1fr; }
}

/* =========================================================
   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;
  }

  .track { scroll-snap-type: none; }
  .ticker__dot { animation: none; }
  html.js-ready [data-reveal] { opacity: 1; transform: none; }
  .btn:hover,
  .cmdnav__link:hover,
  .foot__list a:hover,
  .cmdbar__brand:hover .cmdbar__mark {
    transform: none;
  }
}
