/* ==========================================================================
   新世纪体育 · 共享样式 / assets/site.css
   深墨蓝赛场底板 + 荧光青追踪信号 + 信号橙状态 + 暖纸阅读带
   ========================================================================== */

/* ---------- 1. 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, h6,
p, figure, blockquote, dl, dd, hr { margin: 0; }

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

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

button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; }

button { cursor: pointer; }

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

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

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #0A1626;
  --ink-800: #101F33;
  --ink-700: #16283F;
  --ink-950: #071120;

  --paper: #F3EDE1;
  --paper-2: #E4DAC8;

  --cyan: #16E0C6;
  --cyan-deep: #0B3B36;
  --signal: #FF7A2F;
  --signal-hi: #FF9254;
  --steel: #AEB9C6;
  --muted: #6B7A8C;
  --white: #FFFFFF;
  --body-ink: #EAF0F6;
  --paper-ink: #16202C;

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

  --edge: 1px solid rgba(174, 185, 198, 0.18);
  --edge-strong: 1px solid rgba(174, 185, 198, 0.32);

  --radius-pill: 999px;
  --radius-card: 14px;
  --radius-panel: 22px;

  --shadow-float: 0 18px 44px -30px rgba(0, 0, 0, 0.95);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03), 0 16px 34px -26px rgba(0, 0, 0, 0.9);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 160ms;
  --dur-card: 220ms;
  --dur-group: 260ms;

  --maxw: 1440px;
  --gutter: 24px;
  --header-h: 0px;
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
    --radius-panel: 18px;
  }
}

/* ---------- 3. Base ---------- */
html, body { min-height: 100%; }

body {
  background-color: var(--ink-900);
  color: var(--body-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1 { font-size: clamp(40px, 7vw, 96px); }
h2 { font-size: clamp(24px, 3.2vw, 32px); }
h3 { font-size: clamp(18px, 2.2vw, 24px); }

p { max-width: 68ch; }

::selection {
  background: var(--cyan);
  color: #06231F;
}

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

/* ---------- 4. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(40px, 6vw, 80px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.section-kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 8px;
}

.grid {
  display: grid;
  gap: 20px;
}

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

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

.divider {
  height: 1px;
  border: 0;
  background: rgba(174, 185, 198, 0.16);
  margin-block: 28px;
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-edge: rgba(174, 185, 198, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--btn-edge);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur-card) var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.04);
  --btn-fg: var(--steel);
}

.btn-ghost:hover {
  --btn-fg: var(--white);
  --btn-edge: rgba(22, 224, 198, 0.55);
}

.btn-signal {
  --btn-bg: var(--signal);
  --btn-fg: #0A1626;
  --btn-edge: transparent;
}

.btn-signal:hover { --btn-bg: var(--signal-hi); }
.btn-signal:active { --btn-bg: #E8681F; }

.btn-cyan {
  --btn-bg: var(--cyan);
  --btn-fg: #06231F;
  --btn-edge: transparent;
}

.btn-cyan:hover { --btn-bg: #3AECD6; }
.btn-cyan:active { --btn-bg: #0FBFA9; }

.btn-sm { padding: 6px 12px; font-size: 12.5px; }
.btn-block { width: 100%; }

/* ---------- 6. Tags / numbers / pills ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(22, 224, 198, 0.42);
  border-radius: var(--radius-pill);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.tag-signal {
  border-color: rgba(255, 122, 47, 0.5);
  color: var(--signal);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: var(--edge);
  border-radius: var(--radius-pill);
  background: rgba(16, 31, 51, 0.9);
  color: var(--steel);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

.muted { color: var(--muted); }

.u-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 7. Panels & prose ---------- */
.panel {
  background: var(--ink-800);
  border: var(--edge);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: var(--edge);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body-ink);
}

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

.prose ul,
.prose ol {
  margin: 1em 0;
  padding-left: 1.3em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li { margin-block: 0.35em; }

.prose ul li::marker { color: var(--cyan); }
.prose ol li::marker { color: var(--signal); font-family: var(--font-mono); }

.prose blockquote {
  margin: 1.4em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--cyan);
  background: var(--paper-2);
  color: var(--paper-ink);
}

.surface-paper {
  background: var(--paper);
  color: var(--paper-ink);
}

.surface-paper h1,
.surface-paper h2,
.surface-paper h3,
.surface-paper h4 { color: var(--ink-900); }

.surface-paper .section-kicker { color: #0B6B5F; }
.surface-paper a { color: #0B6B5F; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 8. Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

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

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(174, 185, 198, 0.4);
  margin-right: 2px;
}

.breadcrumbs a {
  color: var(--steel);
  transition: color var(--dur) var(--ease);
}

.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs [aria-current="page"] { color: var(--cyan); }

/* ---------- 9. Index rows ---------- */
.index-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: var(--edge);
}

.index-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--muted);
}

.index-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.index-meta {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

@media (max-width: 560px) {
  .index-row {
    grid-template-columns: 40px minmax(0, 1fr);
    row-gap: 4px;
  }
  .index-meta { grid-column: 2; }
}

/* ---------- 10. Media containers (page stage) ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: var(--edge);
  border-radius: var(--radius-card);
  background-color: var(--ink-800);
  aspect-ratio: 16 / 10;
}

.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06);
  transition: transform 420ms var(--ease);
}

.media-frame:hover > img,
.media-frame:hover > picture > img { transform: scale(1.03); }

.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--wide { aspect-ratio: 21 / 9; }

.media-frame--paper {
  background-color: var(--paper-2);
  border-color: rgba(10, 22, 38, 0.16);
}

.media-caption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--muted);
}

@media (max-width: 560px) {
  .media-frame,
  .media-frame--wide { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   11. Site header — 三枚浮岛
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 10px var(--gutter);
  background-color: rgba(10, 22, 38, 0.84);
  border-bottom: 1px solid rgba(174, 185, 198, 0.14);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: padding var(--dur-card) var(--ease),
              background-color var(--dur-card) var(--ease);
}

.site-header[data-compact] {
  padding-block: 6px;
  background-color: rgba(10, 22, 38, 0.96);
}

.skip-link {
  position: absolute;
  top: 8px;
  left: var(--gutter);
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: #06231F;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transform: translateY(-180%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(22, 224, 198, 0.7);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 120;
  pointer-events: none;
  transition: transform 80ms linear;
}

.header-rail {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header-islands {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.island {
  background-color: rgba(16, 31, 51, 0.92);
  border: var(--edge);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-float);
}

/* --- 品牌浮岛 --- */
.island-brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 4px;
  border-radius: var(--radius-pill);
  transition: background-color var(--dur) var(--ease);
}

.brand:hover { background-color: rgba(255, 255, 255, 0.05); }
.brand:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.brand-mark {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(22, 224, 198, 0.45);
  border-radius: 12px;
  background-color: var(--ink-900);
  box-shadow: inset 0 0 14px rgba(22, 224, 198, 0.14);
}

.brand-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  background-color: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 64%, 64% 100%, 0 100%);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--signal);
  box-shadow: 0 0 8px rgba(255, 122, 47, 0.9);
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
  white-space: nowrap;
}

.brand-sub {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--steel);
  white-space: nowrap;
  transition: opacity var(--dur-card) var(--ease);
}

.site-header[data-compact] .brand-sub { opacity: 0; }

/* --- 移动导航按钮 --- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(174, 185, 198, 0.26);
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.nav-toggle:hover {
  color: var(--cyan);
  border-color: rgba(22, 224, 198, 0.5);
}

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

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

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background-color: currentColor;
  transition: transform var(--dur-card) var(--ease),
              top var(--dur-card) var(--ease);
}

.nav-toggle-bars::before { top: 1px; }
.nav-toggle-bars::after { top: 7px; }

.site-header[data-open] .nav-toggle-bars::before {
  top: 4px;
  transform: rotate(45deg);
}

.site-header[data-open] .nav-toggle-bars::after {
  top: 4px;
  transform: rotate(-45deg);
}

/* --- 栏目浮岛 --- */
.island-nav {
  justify-self: center;
  padding: 5px;
}

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

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: var(--steel);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.05);
}

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

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-group) var(--ease);
}

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

.nav-foot { display: none; }

.nav-foot-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--signal);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color var(--dur) var(--ease);
}

.nav-foot-link:hover { background-color: rgba(255, 122, 47, 0.12); }
.nav-foot-link:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; }

/* --- 行动浮岛 --- */
.island-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
}

.island-actions .btn {
  padding: 8px 14px;
  font-size: 13px;
}

/* --- 遥测条 --- */
.header-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  max-height: 34px;
  padding-left: 14px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--steel);
  transition: max-height var(--dur-card) var(--ease),
              opacity var(--dur-card) var(--ease);
}

.ticker-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.18);
  animation: tickerPulse 2.4s var(--ease) infinite;
}

.ticker-text { white-space: nowrap; }

@keyframes tickerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.78); }
}

.site-header[data-compact] .header-ticker {
  max-height: 0;
  opacity: 0;
}

/* ==========================================================================
   12. Site footer
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 96px);
  background-color: var(--ink-950);
  border-top: 1px solid rgba(22, 224, 198, 0.2);
  color: var(--steel);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(22, 224, 198, 0.55) 0 2px,
    transparent 2px 14px
  );
  opacity: 0.55;
  pointer-events: none;
}

.footer-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(40px, 5vw, 60px) var(--gutter) 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

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

.brand--footer {
  padding: 0;
  gap: 12px;
}

.brand--footer:hover { background-color: transparent; }
.brand--footer .brand-mark { width: 44px; height: 44px; border-radius: 14px; }
.brand--footer .brand-name { font-size: 19px; }

.footer-note {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

.footer-contact {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  max-width: 420px;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.7;
}

.footer-contact-row dt {
  color: var(--muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.footer-contact-row dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #D8E0EA;
  overflow-wrap: anywhere;
}

.copy-btn {
  padding: 2px 9px;
  border: 1px solid rgba(174, 185, 198, 0.28);
  border-radius: var(--radius-pill);
  color: var(--steel);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.06em;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.copy-btn:hover {
  color: var(--cyan);
  border-color: rgba(22, 224, 198, 0.55);
}

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

.copy-btn[data-copied] {
  background-color: var(--cyan);
  border-color: transparent;
  color: #06231F;
}

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

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

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: var(--edge);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--white);
}

.footer-col-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--cyan);
}

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

.footer-col-link {
  display: inline-block;
  font-size: 14px;
  color: var(--steel);
  transition: color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.footer-col-link:hover {
  color: var(--cyan);
  transform: translateX(2px);
}

.footer-col-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  border-top: var(--edge);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-copy,
.footer-icp { max-width: none; }

.footer-icp { font-family: var(--font-mono); letter-spacing: 0; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.footer-legal-link {
  font-size: 12px;
  color: var(--steel);
  transition: color var(--dur) var(--ease);
}

.footer-legal-link:hover { color: var(--cyan); }
.footer-legal-link:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .header-islands {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .island-brand { justify-self: start; }
  .island-actions { justify-self: end; }

  .nav-toggle { display: inline-flex; }

  .island-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    border-radius: var(--radius-panel);
    background-color: rgba(10, 22, 38, 0.985);
    box-shadow: 0 28px 64px -32px #000;
    max-height: calc(100vh - 148px);
    overflow-y: auto;
    z-index: 5;
  }

  .site-header[data-open] .island-nav { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
    white-space: normal;
  }

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

  .nav-link:hover { background-color: rgba(255, 255, 255, 0.06); }

  .nav-link[aria-current="page"] {
    background-color: rgba(22, 224, 198, 0.12);
    color: var(--cyan);
  }

  .nav-foot {
    display: block;
    margin-top: 8px;
    padding-top: 10px;
    border-top: var(--edge);
  }
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .footer-note { max-width: none; }
}

@media (max-width: 720px) {
  .site-header { padding: 8px 14px; }

  .header-islands { gap: 6px; }

  .brand { gap: 8px; padding: 3px 8px 3px 3px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand-name { font-size: 15.5px; }
  .brand-sub { display: none; }

  .island-actions .btn-ghost { display: none; }
  .island-actions .btn { padding: 8px 12px; font-size: 12.5px; }

  .nav-toggle { padding: 8px 11px; font-size: 12px; }

  .header-ticker {
    font-size: 11px;
    letter-spacing: 0.06em;
    padding-left: 6px;
    max-height: 30px;
  }

  .footer-contact-row { grid-template-columns: 68px minmax(0, 1fr); }
  .footer-legal { margin-left: 0; }
}

@media (max-width: 560px) {
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-legal { gap: 14px; }

  .skip-link { left: 14px; }
}

@media (max-width: 380px) {
  .island-actions { display: none; }
  .nav-toggle-text { display: none; }
}

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

  .ticker-dot { animation: none; }
  .btn:hover,
  .footer-col-link:hover { transform: none; }
  .media-frame:hover > img,
  .media-frame:hover > picture > img { transform: none; }
  .nav-link::after { transition: none; }
}
