/* ==========================================================================
   j9九游会指南 — 共享样式表 /assets/site.css
   深夜球场绿体系 · 切角面板 · Bento 信息板
   ========================================================================== */

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

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

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

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

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

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

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

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

/* ---------- 2. 变量 ---------- */
:root {
  /* 色板 */
  --ink: #0A1410;
  --panel: #10201A;
  --line: #1E3D32;
  --green-2: #245043;
  --signal: #C8FF3D;
  --mint: #7FE3A6;
  --ember: #FF7A2F;
  --text: #F2F7F0;
  --muted: #9DB5A8;
  --btn: #1E5B45;

  /* 形状参数 */
  --cut: 14px;
  --slant: 5deg;
  --gap: 20px;

  /* 尺寸 */
  --maxw: 1240px;
  --header-h: 74px;
  --ease: 160ms cubic-bezier(.4, 0, .2, 1);

  /* 字体 */
  --font-head: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "DIN Alternate", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
}

@media (max-width: 1080px) {
  :root { --header-h: 64px; }
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 暗场氛围：径向光 + 斜向轨迹底纹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(115% 75% at 8% -12%, rgba(36, 80, 67, .55), rgba(10, 20, 16, 0) 62%),
    radial-gradient(90% 60% at 100% 0%, rgba(30, 61, 50, .45), rgba(10, 20, 16, 0) 58%),
    repeating-linear-gradient(112deg, rgba(30, 61, 50, .22) 0 1px, rgba(10, 20, 16, 0) 1px 110px);
}

#main-content {
  position: relative;
  z-index: 1;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(34px, 5.2vw, 64px); }
h2 { font-size: clamp(26px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 30px); }
h4 { font-size: 20px; }

p { max-width: 42em; }

strong, b { font-weight: 700; }

::selection {
  background: var(--signal);
  color: #08110D;
}

/* 数字协议：等宽 + 表格数字 */
.num,
.stat-value,
.footer-contact dd,
.ticker-item,
.crumbs,
.section-note {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- 4. 焦点与可访问性 ---------- */
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

@supports not selector(:focus-visible) {
  a:focus,
  button:focus {
    outline: 2px solid var(--signal);
    outline-offset: 2px;
  }
}

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

.skip-link {
  position: absolute;
  left: 14px;
  top: -70px;
  z-index: 200;
  padding: 11px 18px;
  background: var(--signal);
  color: #08110D;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  transition: top var(--ease);
}

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

/* ---------- 5. 容器与网格 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
}

.wrap--narrow { max-width: 880px; }

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}

.bento > [class*="span-"] { grid-column: span 4; }

@media (max-width: 1079px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > [class*="span-"] { grid-column: span 2; }
}

@media (max-width: 639px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento > [class*="span-"] { grid-column: span 1; }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.section-title { font-size: clamp(24px, 3vw, 36px); }

.section-note {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 6. 切角面板 ---------- */
.panel {
  --cut: 14px;
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
  transition: transform var(--ease), border-color var(--ease), background-color var(--ease);
}

.panel:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 255, 61, .55);
}

.panel--focus {
  background: linear-gradient(160deg, rgba(36, 80, 67, .6), rgba(16, 32, 26, .98) 44%);
  border-color: rgba(200, 255, 61, .35);
}

.panel--flat { background: rgba(16, 32, 26, .68); }

.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--signal);
}

.panel-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--signal);
}

.panel-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

/* ---------- 7. 数据组件 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1;
  color: var(--signal);
}

.stat-value--ember { color: var(--ember); }
.stat-value--mint { color: var(--mint); }

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(36, 80, 67, .25);
}

.badge--signal { color: var(--signal); border-color: rgba(200, 255, 61, .45); }
.badge--mint { color: var(--mint); border-color: rgba(127, 227, 166, .4); }
.badge--ember { color: var(--ember); border-color: rgba(255, 122, 47, .45); background: rgba(255, 122, 47, .1); }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid var(--line);
  background: transparent;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background-color var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--signal);
  color: var(--signal);
}

.btn--primary {
  background: var(--btn);
  border-color: var(--btn);
  color: #F2F7F0;
}

.btn--primary:hover {
  background: #25705A;
  border-color: var(--signal);
  color: var(--signal);
}

.btn--ghost {
  border-color: var(--green-2);
  color: var(--muted);
}

.btn--signal {
  background: var(--signal);
  border-color: var(--signal);
  color: #08110D;
}

.btn--signal:hover {
  background: #D7FF6B;
  border-color: #D7FF6B;
  color: #08110D;
}

/* ---------- 9. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.crumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crumbs li + li::before {
  content: "/";
  color: var(--green-2);
}

.crumbs a:hover { color: var(--signal); }
.crumbs [aria-current="page"] { color: var(--text); }

/* ---------- 10. 图像 / 视觉容器 ---------- */
.media-frame {
  --cut: 14px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(36, 80, 67, .8), rgba(10, 20, 16, .96) 62%),
    repeating-linear-gradient(115deg, rgba(200, 255, 61, .12) 0 1px, rgba(10, 20, 16, 0) 1px 26px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.media-frame > img,
.media-frame > svg,
.media-frame > .media-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  background: linear-gradient(0deg, rgba(10, 20, 16, .94), rgba(10, 20, 16, 0));
}

/* ---------- 11. 时间轴 ---------- */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--green-2), rgba(36, 80, 67, .12));
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 9px;
  width: 14px;
  height: 14px;
  background: var(--green-2);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.timeline-item[data-state="live"]::before { background: var(--ember); }
.timeline-item[data-state="data"]::before { background: var(--signal); }

/* ---------- 12. 标签筛选 ---------- */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(36, 80, 67, .18);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color var(--ease), border-color var(--ease), background-color var(--ease);
}

.tag:hover {
  color: var(--text);
  border-color: var(--green-2);
}

.tag.is-active {
  color: #08110D;
  font-weight: 700;
  background: var(--signal);
  border-color: var(--signal);
}

/* ---------- 13. 标签页 ---------- */
.tabs { display: block; }

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}

.tab {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(36, 80, 67, .16);
  transition: color var(--ease), background-color var(--ease), box-shadow var(--ease);
}

.tab:hover {
  color: var(--text);
  background: rgba(36, 80, 67, .38);
}

.tab[aria-selected="true"] {
  color: var(--signal);
  background: rgba(200, 255, 61, .09);
  box-shadow: inset 0 -2px 0 var(--signal);
}

.tab-panel { padding-top: 20px; }
.tab-panel[hidden] { display: none; }

/* ---------- 14. 显现动效 ---------- */
html[data-js="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
}

html[data-js="on"] [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   页头
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(10, 20, 16, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, rgba(200, 255, 61, .85) 0 92px, rgba(255, 122, 47, .85) 92px 124px, rgba(10, 20, 16, 0) 124px);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  transition: min-height var(--ease);
}

.site-header[data-scrolled="true"] .header-inner { min-height: 56px; }

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: none;
  background:
    linear-gradient(135deg, var(--signal) 0 34%, rgba(10, 20, 16, 0) 34%),
    linear-gradient(315deg, var(--green-2) 0 44%, var(--panel) 44%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  box-shadow: inset 0 0 0 1px rgba(200, 255, 61, .4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}

/* 赛况滚条 */
.score-ticker {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  transition: height var(--ease);
}

.site-header[data-scrolled="true"] .score-ticker { height: 30px; }

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: ticker-scroll 46s linear infinite;
}

.score-ticker:hover .ticker-track,
.score-ticker:focus-within .ticker-track { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 34px;
  font-size: 13px;
  color: var(--muted);
}

.ticker-item::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--green-2);
  transform: rotate(45deg);
}

.ticker-item b {
  font-weight: 700;
  color: var(--signal);
}

.ticker-item[data-live="true"] b { color: var(--ember); }

@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* 导航（左右分置的右端） */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 14px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--ease);
}

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

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

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

.nav-extra { display: none; }

/* 工具区 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--signal);
  border: 1px solid rgba(200, 255, 61, .45);
  background: rgba(200, 255, 61, .07);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  transition: background-color var(--ease), color var(--ease), transform var(--ease);
}

.tool-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.tool-chip:hover {
  background: var(--signal);
  color: #08110D;
  transform: translateY(-2px);
}

/* 移动端开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid var(--line);
  transition: color var(--ease), border-color var(--ease);
}

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

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle-bars span:nth-child(2) { width: 70%; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(35deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-35deg); }

.nav-toggle-label { letter-spacing: .08em; }

body[data-nav-open="true"] { overflow: hidden; }

/* 移动端抽屉 */
@media (max-width: 1080px) {
  .header-inner { grid-template-columns: 1fr auto; }

  .score-ticker { display: none; }

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

  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 70;
    width: min(340px, 88vw);
    display: block;
    padding: calc(var(--header-h) + 20px) clamp(18px, 4vw, 28px) 40px;
    background: linear-gradient(180deg, #10201A, #0A1410);
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px rgba(0, 0, 0, .55);
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(102%);
    transition: transform 220ms cubic-bezier(.4, 0, .2, 1), visibility 220ms;
  }

  .site-nav[data-open="true"] {
    visibility: visible;
    transform: translateX(0);
  }

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

  .nav-link {
    display: block;
    padding: 15px 12px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }

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

  .nav-link[aria-current="page"] {
    color: var(--signal);
    padding-left: 18px;
    background: rgba(200, 255, 61, .07);
  }

  .nav-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
  }
}

@media (max-width: 640px) {
  .tool-chip { padding: 7px 11px; font-size: 12px; }
  .brand-tagline { display: none; }
}

@media (max-width: 420px) {
  .header-tools .tool-chip { display: none; }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 8vw, 110px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 32, 26, .72), rgba(10, 20, 16, 1) 55%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(320px, 42%);
  height: 2px;
  background: linear-gradient(90deg, var(--signal), rgba(200, 255, 61, 0));
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) clamp(16px, 3vw, 24px) clamp(24px, 3vw, 36px);
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(0, 2.1fr);
  gap: clamp(28px, 4vw, 64px);
}

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
}

.footer-tagline {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--signal);
}

.footer-contact {
  margin-top: 22px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 16px;
  font-size: 14px;
}

.footer-contact dt {
  font-size: 13px;
  color: var(--muted);
}

.footer-contact dd {
  font-size: 13px;
  color: var(--text);
  overflow-wrap: anywhere;
}

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

.footer-col-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--signal);
  padding-left: 10px;
  border-left: 2px solid var(--signal);
  margin-bottom: 14px;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.footer-links a {
  color: var(--muted);
  transition: color var(--ease);
}

.footer-links a:hover { color: var(--signal); }

.footer-text {
  font-size: 14px;
  color: var(--muted);
  max-width: 34em;
}

.footer-text--note {
  margin-top: 14px;
  padding-left: 10px;
  border-left: 2px dashed var(--green-2);
  font-size: 13px;
}

.footer-base {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px clamp(16px, 3vw, 24px) 36px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  font-size: 13px;
  color: var(--muted);
}

.footer-base p { max-width: none; }

.footer-legal { font-size: 12px; }
.footer-copy { font-size: 12px; }
.footer-copy [data-year] { color: var(--signal); }

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

@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   reduced-motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .ticker-track {
    animation: none !important;
    transform: none !important;
  }

  html[data-js="on"] [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .panel:hover,
  .btn:hover,
  .tool-chip:hover {
    transform: none;
  }
}
