/* ============================================================
   /assets/site.css — 三升体育主站共享样式
   设计语言：夜场数据指挥舱 / 粗野主义描边 / 荧光青光带
   ============================================================ */

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

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

body,
h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd, table, th, td {
  margin: 0;
}

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

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; width: 100%; }

:where(h1, h2, h3, h4) { line-height: 1.12; letter-spacing: -0.02em; }

/* ---------- tokens ---------- */
:root {
  --night: #05130F;
  --turf: #0C2A20;
  --line: #155C41;
  --cyan: #2BF0C8;
  --cyan-soft: #9BFFE9;
  --yellow: #FFD23F;
  --heat: #FF6A2B;
  --paper: #F2FBF7;
  --moss: #8FA79E;
  --edge: #1E3A31;

  --glass: rgba(12, 42, 32, 0.82);
  --ink-soft: rgba(242, 251, 247, 0.72);

  --shell: 1680px;
  --gutter: clamp(16px, 4vw, 56px);
  --head-h: 108px;

  --shadow: 8px 8px 0 var(--edge);
  --shadow-sm: 4px 4px 0 var(--edge);

  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", "HarmonyOS Sans SC",
    "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Noto Sans SC",
    "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", Georgia,
    "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas,
    "Courier New", monospace;
}

/* ---------- base ---------- */
body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--paper);
  background-color: var(--night);
  background-image:
    radial-gradient(1100px 620px at 88% -8%, rgba(43, 240, 200, 0.18), transparent 62%),
    radial-gradient(760px 460px at 2% 14%, rgba(255, 106, 43, 0.10), transparent 68%),
    linear-gradient(rgba(21, 92, 65, 0.30) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 92, 65, 0.22) 1px, transparent 1px);
  background-size: auto, auto, 96px 96px, 96px 96px;
  background-attachment: fixed, fixed, fixed, fixed;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

main { display: block; }

#main-content {
  padding-top: clamp(84px, 10vw, 116px);
  scroll-margin-top: 96px;
}

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

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

/* ---------- layout ---------- */
.ss-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ss-section {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
}

.ss-section--turf {
  background:
    linear-gradient(180deg, rgba(12, 42, 32, 0.92), rgba(12, 42, 32, 0.34));
  border-block: 1px solid var(--line);
}

.ss-grid {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
}

.ss-grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ss-grid--8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }

.ss-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 28px);
}

.ss-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--cyan), rgba(21, 92, 65, 0.2) 55%, transparent);
}

/* ---------- type ---------- */
.ss-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ss-display--sm { font-size: clamp(30px, 4.4vw, 64px); }

.ss-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.4;
  letter-spacing: 0;
}

.ss-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.ss-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 62ch;
}

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

/* ---------- buttons ---------- */
.ss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--cyan);
  background: var(--cyan);
  color: var(--night);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
}

.ss-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sm);
}

.ss-btn:active { transform: translate(0, 0); box-shadow: none; }

.ss-btn--ghost {
  background: transparent;
  color: var(--cyan-soft);
  border-color: rgba(43, 240, 200, 0.6);
}

.ss-btn--ghost:hover {
  background: rgba(43, 240, 200, 0.14);
  color: var(--paper);
}

.ss-btn--yellow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--night);
}

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

.ss-btn--block { width: 100%; }

/* ---------- pills ---------- */
.ss-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(43, 240, 200, 0.5);
  background: rgba(43, 240, 200, 0.1);
  color: var(--cyan-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  white-space: nowrap;
}

.ss-pill--yellow {
  border-color: rgba(255, 210, 63, 0.7);
  background: rgba(255, 210, 63, 0.16);
  color: var(--yellow);
}

.ss-pill--heat {
  border-color: rgba(255, 106, 43, 0.62);
  background: rgba(255, 106, 43, 0.18);
  color: #FFB08A;
}

.ss-pill--mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---------- panels ---------- */
.ss-panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--edge);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(12, 42, 32, 0.95), rgba(9, 32, 25, 0.72));
  box-shadow: var(--shadow);
}

.ss-panel--flat {
  border-radius: 18px;
  background: rgba(12, 42, 32, 0.45);
  box-shadow: none;
}

.ss-panel--cyan {
  border-color: rgba(43, 240, 200, 0.55);
  background: linear-gradient(160deg, rgba(43, 240, 200, 0.14), rgba(9, 32, 25, 0.88));
}

.ss-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(21, 92, 65, 0.9);
}

.ss-panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: 0.01em;
}

/* ---------- stats ---------- */
.ss-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ss-stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.04;
  color: var(--cyan);
}

.ss-stat__label {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
}

.ss-stat__delta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--heat);
}

.ss-stat__delta--down { color: var(--moss); }

/* ---------- data viz ---------- */
.ss-ring {
  --v: 55;
  position: relative;
  width: clamp(120px, 18vw, 190px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--cyan) calc(var(--v) * 1%), var(--line) 0);
  box-shadow: var(--shadow-sm);
}

.ss-ring::before {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  background: var(--night);
  border: 1px solid var(--edge);
}

.ss-ring__value {
  position: relative;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--paper);
}

.ss-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(46px, 1fr));
  gap: 6px;
}

.ss-matrix__cell {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid var(--edge);
  background: rgba(21, 92, 65, 0.35);
  color: var(--moss);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.ss-matrix__cell--warm {
  background: rgba(255, 210, 63, 0.72);
  border-color: var(--yellow);
  color: var(--night);
}

.ss-matrix__cell--hot {
  background: rgba(255, 106, 43, 0.88);
  border-color: var(--heat);
  color: var(--night);
}

.ss-table {
  width: 100%;
  font-size: 14.5px;
}

.ss-table th,
.ss-table td {
  padding: 11px 12px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid rgba(21, 92, 65, 0.7);
}

.ss-table thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  border-bottom: 1px solid var(--line);
}

.ss-table td.ss-num { text-align: right; }

.ss-table tbody tr { transition: background 0.16s ease; }

.ss-table tbody tr:hover,
.ss-table tbody tr:focus-within {
  background: rgba(43, 240, 200, 0.08);
}

/* ---------- timeline ---------- */
.ss-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 26px;
}

.ss-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), rgba(21, 92, 65, 0.2));
}

.ss-timeline__item { position: relative; }

.ss-timeline__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--night);
  border: 2px solid var(--cyan);
}

.ss-timeline__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.ss-timeline__title {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  font-size: 16px;
}

/* ---------- crumbs ---------- */
.ss-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--moss);
}

.ss-crumbs__link {
  color: var(--cyan-soft);
  transition: color 0.16s ease;
}

.ss-crumbs__link:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ss-crumbs__sep { color: var(--line); }

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

/* ---------- ticker ---------- */
.ss-ticker {
  overflow: hidden;
  padding-block: 9px;
  border-block: 1px solid var(--line);
  background: rgba(12, 42, 32, 0.6);
}

.ss-ticker__track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: ss-slide 34s linear infinite;
}

.ss-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--cyan-soft);
}

.ss-ticker__item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

@keyframes ss-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- chips ---------- */
.ss-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ss-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(12, 42, 32, 0.6);
  color: #C6D8D1;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

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

.ss-chip[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--night);
  font-weight: 700;
}

/* ---------- media ---------- */
.ss-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--edge);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(43, 240, 200, 0.16), rgba(12, 42, 32, 0.92) 46%, rgba(255, 106, 43, 0.14));
  box-shadow: var(--shadow);
}

.ss-media--wide { aspect-ratio: 21 / 9; }
.ss-media--square { aspect-ratio: 1 / 1; }
.ss-media--tall { aspect-ratio: 4 / 5; }

.ss-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ss-media__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(43, 240, 200, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 240, 200, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
}

.ss-media__trace {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 72% 38%, rgba(255, 106, 43, 0.48), transparent 70%),
    radial-gradient(closest-side at 26% 70%, rgba(43, 240, 200, 0.34), transparent 72%);
}

.ss-media__cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 4;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(43, 240, 200, 0.42);
  background: rgba(5, 19, 15, 0.74);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

/* ---------- header ---------- */
.ss-skip {
  position: fixed;
  top: -140px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--yellow);
  color: var(--night);
  font-weight: 700;
  font-size: 14px;
  transition: top 0.2s ease;
}

.ss-skip:focus { top: 0; }

.ss-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  padding-top: clamp(10px, 1.6vw, 24px);
}

.ss-progress {
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: rgba(30, 58, 49, 0.9);
}

.ss-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--yellow) 70%, var(--heat));
  transition: width 0.12s linear;
}

.ss-navbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  width: min(var(--shell), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding: 9px 10px 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(43, 240, 200, 0.34);
  background: var(--glass);
  box-shadow: 0 20px 44px -26px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition: padding 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.ss-header[data-scrolled="true"] .ss-navbar {
  padding-block: 5px;
  background: rgba(5, 19, 15, 0.93);
  border-color: rgba(43, 240, 200, 0.55);
}

.ss-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.ss-brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--cyan-soft);
  background: linear-gradient(140deg, var(--cyan), var(--cyan-soft));
  color: var(--night);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

.ss-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.16;
}

.ss-brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.03em;
  color: var(--paper);
}

.ss-brand__tag {
  max-width: 26ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--moss);
}

.ss-now {
  display: none;
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}

.ss-header[data-scrolled="true"] .ss-now { display: inline; }

.ss-menu {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.4vw, 18px);
  margin-left: auto;
}

.ss-menu__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ss-menu__item { display: block; }

.ss-menu__link {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #C6D8D1;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.ss-menu__link:hover {
  color: var(--paper);
  background: rgba(43, 240, 200, 0.12);
}

.ss-menu__link[aria-current="page"] {
  background: var(--cyan);
  color: var(--night);
  box-shadow: 0 0 0 1px var(--cyan-soft);
}

.ss-menu__cta { flex: 0 0 auto; }

.ss-burger {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border-radius: 50%;
  border: 1px solid rgba(43, 240, 200, 0.5);
  background: rgba(43, 240, 200, 0.08);
  transition: background 0.18s ease;
}

.ss-burger:hover { background: rgba(43, 240, 200, 0.18); }

.ss-burger__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.ss-burger[aria-expanded="true"] .ss-burger__bar:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.ss-burger[aria-expanded="true"] .ss-burger__bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ---------- footer ---------- */
.ss-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 120px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 42, 32, 0.7), rgba(5, 19, 15, 1));
}

.ss-footer__band {
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--yellow) 56%, var(--heat));
}

.ss-footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(24px, 4vw, 56px);
  width: min(var(--shell), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-block: clamp(40px, 6vw, 72px) 0;
}

.ss-footer__brand { min-width: 0; }

.ss-brand--footer { margin-bottom: 18px; }

.ss-brand--footer .ss-brand__mark {
  width: 46px;
  height: 46px;
  font-size: 20px;
}

.ss-brand--footer .ss-brand__name { font-size: 24px; }

.ss-brand--footer .ss-brand__tag { max-width: 20ch; }

.ss-footer__desc {
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--moss);
}

.ss-footer__stamp {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--cyan-soft);
}

.ss-footer__cta { margin-top: 20px; }

.ss-footer__col { min-width: 0; }

.ss-footer__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.ss-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.ss-footer__link {
  color: #C6D8D1;
  transition: color 0.16s ease;
}

.ss-footer__link:hover {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.ss-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14.5px;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.ss-footer__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}

.ss-footer__note {
  margin-top: 14px;
  max-width: 32ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--moss);
}

.ss-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  width: min(var(--shell), calc(100% - 2 * var(--gutter)));
  margin: clamp(32px, 5vw, 56px) auto 0;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--moss);
}

.ss-footer__copy,
.ss-footer__icp {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.ss-footer__icp { color: var(--cyan-soft); }

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .ss-brand__tag { display: none; }
  .ss-menu__link { padding: 9px 10px; font-size: 14px; }
}

@media (max-width: 1040px) {
  .ss-burger { display: inline-flex; }

  .ss-now { display: none !important; }

  .ss-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-left: 0;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(43, 240, 200, 0.38);
    background: rgba(7, 26, 20, 0.98);
    box-shadow: 0 34px 60px -30px #000;
  }

  .ss-menu[data-open] { display: flex; }

  .ss-menu__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .ss-menu__link {
    display: block;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 16px;
  }

  .ss-menu__link:hover { border-color: rgba(43, 240, 200, 0.3); }

  .ss-menu__cta { width: 100%; }
}

@media (max-width: 900px) {
  .ss-grid--7-5,
  .ss-grid--8-4 { grid-template-columns: minmax(0, 1fr); }

  .ss-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ss-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .ss-navbar {
    padding: 7px 8px 7px 12px;
    gap: 8px;
  }

  .ss-brand__mark { width: 36px; height: 36px; font-size: 16px; }
  .ss-brand__name { font-size: 18px; }

  .ss-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .ss-footer__base { justify-content: flex-start; }
  .ss-display { letter-spacing: -0.01em; }
  .ss-panel { box-shadow: var(--shadow-sm); }
}

/* ---------- motion preferences ---------- */
@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;
  }

  .ss-ticker__track { animation: none; }

  .ss-btn:hover { transform: none; box-shadow: none; }
}
