/* ==========================================================================
   天博体育 · 竞技数据中心  /assets/site.css
   共享层：重置 / 变量 / 中文排版 / 头部 / 页脚 / 通用组件 / 响应式
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --tb-deep: #0A2E3A;
  --tb-teal: #0E7C6F;
  --tb-peacock: #159F8B;
  --tb-glow: #46E3C6;
  --tb-track: #F4502A;
  --tb-paper: #F3EEE4;
  --tb-card: #FCF9F2;
  --tb-glass: rgba(221, 233, 228, .62);
  --tb-ink: #12181B;
  --tb-muted: #546C74;

  --tb-line: rgba(18, 24, 27, .12);
  --tb-line-soft: rgba(18, 24, 27, .07);
  --tb-line-light: rgba(243, 238, 228, .16);
  --tb-line-light-soft: rgba(243, 238, 228, .1);
  --tb-on-dark: rgba(243, 238, 228, .78);
  --tb-on-dark-soft: rgba(243, 238, 228, .56);

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

  --tb-ease: cubic-bezier(.2, .7, .2, 1);
  --tb-dur: .32s;

  --tb-radius: 18px;
  --tb-radius-sm: 10px;
  --tb-shell: 1240px;
  --tb-gap: 20px;
  --tb-section-space: clamp(64px, 9vw, 128px);
  --tb-topstrip-h: 40px;
  --tb-quickbar-h: 58px;
}

/* ---------- 2. 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.is-navopen { overflow: hidden; }

body {
  margin: 0;
  background: var(--tb-paper);
  color: var(--tb-ink);
  font-family: var(--tb-sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

ul, ol { margin: 0; padding: 0; }

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

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

:focus-visible {
  outline: 2px solid var(--tb-teal);
  outline-offset: 3px;
  border-radius: 6px;
}
.tb-header :focus-visible,
.tb-footer :focus-visible { outline-color: var(--tb-glow); }

/* ---------- 3. 中文排版 ---------- */
h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; line-height: 1.4; letter-spacing: 0; }
h4 { font-size: 1rem; line-height: 1.5; letter-spacing: 0; }

p { line-height: 1.85; }

strong { font-weight: 900; }

::selection {
  background: var(--tb-glow);
  color: var(--tb-deep);
}

/* ---------- 4. 布局壳 ---------- */
.tb-shell {
  width: 100%;
  max-width: var(--tb-shell);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}

.tb-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--tb-gap);
}
.tb-span-4 { grid-column: span 4; }
.tb-span-6 { grid-column: span 6; }
.tb-span-8 { grid-column: span 8; }
.tb-span-12 { grid-column: span 12; }

.tb-section { margin-top: var(--tb-section-space); }
.tb-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 28px;
  margin-bottom: clamp(22px, 3vw, 40px);
}

.tb-prose {
  max-width: 38em;
  font-size: 16.5px;
  line-height: 1.85;
}
.tb-prose p { margin: 0 0 1.2em; color: var(--tb-muted); }
.tb-prose h2,
.tb-prose h3 { margin: 1.9em 0 .6em; color: var(--tb-ink); }
.tb-prose ul,
.tb-prose ol { margin: 0 0 1.2em; padding-left: 1.15em; color: var(--tb-muted); }
.tb-prose li { margin: 0 0 .5em; }
.tb-prose strong { color: var(--tb-ink); }

/* ---------- 5. 通用排版标记 ---------- */
.tb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--tb-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--tb-teal);
}
.tb-eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tb-track);
}

.tb-vertnote {
  writing-mode: vertical-rl;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--tb-muted);
}

.tb-mono {
  font-family: var(--tb-mono);
  font-weight: 600;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.tb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--tb-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tb-teal);
}
.tb-badge--track { color: var(--tb-track); }
.tb-badge--deep { color: var(--tb-deep); }

.tb-link {
  color: var(--tb-teal);
  border-bottom: 1px solid rgba(14, 124, 111, .35);
  transition: border-color var(--tb-dur) var(--tb-ease), color var(--tb-dur) var(--tb-ease);
}
.tb-link:hover { color: var(--tb-deep); border-bottom-color: var(--tb-deep); }

/* ---------- 6. 按钮 ---------- */
.tb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--tb-teal);
  color: var(--tb-paper);
  font-family: var(--tb-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform var(--tb-dur) var(--tb-ease),
              background-color var(--tb-dur) var(--tb-ease),
              border-color var(--tb-dur) var(--tb-ease),
              box-shadow var(--tb-dur) var(--tb-ease);
}
.tb-btn:hover { transform: translateY(-2px); }
.tb-btn:active { transform: translateY(0); }

.tb-btn--solid { background: var(--tb-teal); color: var(--tb-paper); }
.tb-btn--solid:hover { background: var(--tb-peacock); }

.tb-btn--track {
  background: var(--tb-track);
  color: #FFF6F2;
  box-shadow: 0 12px 26px -18px rgba(244, 80, 42, .9);
}
.tb-btn--track:hover { background: #E0411C; }

.tb-btn--ghost {
  background: transparent;
  color: var(--tb-deep);
  border-color: rgba(18, 24, 27, .22);
}
.tb-btn--ghost:hover {
  background: rgba(18, 24, 27, .04);
  border-color: var(--tb-deep);
}

.tb-btn--glow {
  background: var(--tb-glow);
  color: var(--tb-deep);
}
.tb-btn--glow:hover {
  background: #63EFD8;
  box-shadow: 0 10px 26px -16px rgba(70, 227, 198, 1);
}

.tb-btn--sm { padding: 9px 18px; font-size: 14px; }
.tb-btn--xs { padding: 7px 15px; font-size: 12.5px; letter-spacing: .04em; }
.tb-btn--block { width: 100%; }

/* ---------- 7. 面包屑 ---------- */
.tb-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--tb-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--tb-muted);
}
.tb-crumbs li { display: flex; align-items: center; gap: 8px; }
.tb-crumbs li + li::before {
  content: "/";
  color: rgba(18, 24, 27, .26);
}
.tb-crumbs a { transition: color var(--tb-dur) var(--tb-ease); }
.tb-crumbs a:hover { color: var(--tb-teal); }
.tb-crumbs [aria-current="page"] { color: var(--tb-ink); }

/* ---------- 8. 卡片与媒体容器 ---------- */
.tb-card {
  position: relative;
  background: var(--tb-card);
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius);
  padding: clamp(20px, 2.4vw, 30px);
  transition: transform var(--tb-dur) var(--tb-ease),
              border-color var(--tb-dur) var(--tb-ease),
              box-shadow var(--tb-dur) var(--tb-ease);
}
.tb-card:hover {
  transform: translateY(-4px);
  border-color: var(--tb-peacock);
  box-shadow: 0 22px 44px -34px rgba(10, 46, 58, .8);
}
.tb-card--deep {
  background: var(--tb-deep);
  color: var(--tb-paper);
  border-color: transparent;
}
.tb-card--deep:hover { border-color: rgba(70, 227, 198, .5); }
.tb-card--glass {
  background: var(--tb-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: rgba(252, 249, 242, .72);
}
.tb-card--flush { padding: 0; overflow: hidden; }

.tb-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--tb-radius);
  background:
    linear-gradient(148deg, var(--tb-deep) 0%, #0C3B45 52%, var(--tb-teal) 100%);
}
.tb-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    100deg,
    rgba(70, 227, 198, .14) 0 1px,
    transparent 1px 24px
  );
  opacity: .55;
  pointer-events: none;
}
.tb-media__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tb-media--wide { aspect-ratio: 21 / 9; }
.tb-media--tall { aspect-ratio: 3 / 4; }
.tb-media--square { aspect-ratio: 1 / 1; }
.tb-media--paper {
  background: linear-gradient(148deg, var(--tb-paper) 0%, #E4DDD0 100%);
}
.tb-media--paper::after {
  background: repeating-linear-gradient(
    100deg,
    rgba(10, 46, 58, .08) 0 1px,
    transparent 1px 24px
  );
}

/* ---------- 9. 时间轴基础结构 ---------- */
.tb-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tb-timeline__row {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px dashed var(--tb-line);
}
.tb-timeline__row:last-child { border-bottom: 0; }
.tb-timeline__time {
  font-family: var(--tb-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--tb-muted);
}
.tb-timeline__label {
  min-width: 0;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tb-timeline__result {
  font-family: var(--tb-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--tb-deep);
  white-space: nowrap;
}
.tb-card--deep .tb-timeline__row { border-bottom-color: var(--tb-line-light-soft); }
.tb-card--deep .tb-timeline__time { color: var(--tb-glow); }
.tb-card--deep .tb-timeline__result { color: var(--tb-paper); }

/* ---------- 10. 头部 ---------- */
.tb-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--tb-paper);
  border-bottom: 1px solid var(--tb-line);
}

.tb-skip {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 120;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--tb-glow);
  color: var(--tb-deep);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform .2s var(--tb-ease);
}
.tb-skip:focus { transform: translateY(0); }

/* 上层信息条 */
.tb-header__top {
  height: var(--tb-topstrip-h);
  overflow: hidden;
  background: var(--tb-deep);
  color: var(--tb-paper);
  transition: height .34s var(--tb-ease);
}
.tb-header.is-condensed .tb-header__top { height: 0; }

.tb-header__topInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--tb-topstrip-h);
  font-size: 12.5px;
  line-height: 1;
}

.tb-header__tagline {
  flex: 0 1 auto;
  min-width: 0;
  color: var(--tb-on-dark);
  letter-spacing: .12em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tb-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  font-family: var(--tb-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tb-on-dark-soft);
  white-space: nowrap;
}
.tb-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tb-glow);
  box-shadow: 0 0 0 0 rgba(70, 227, 198, .5);
  animation: tb-breathe 3s var(--tb-ease) infinite;
}
@keyframes tb-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(70, 227, 198, .5); }
  50% { box-shadow: 0 0 0 6px rgba(70, 227, 198, 0); }
}
.tb-status__zone { color: var(--tb-glow); }
.tb-status__divider { color: rgba(243, 238, 228, .3); }
.tb-status__page { color: var(--tb-paper); }

.tb-header__tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.tb-header__consult {
  font-size: 12.5px;
  color: var(--tb-on-dark);
  border-bottom: 1px solid rgba(243, 238, 228, .32);
  padding-bottom: 1px;
  transition: color var(--tb-dur) var(--tb-ease),
              border-color var(--tb-dur) var(--tb-ease);
}
.tb-header__consult:hover {
  color: var(--tb-glow);
  border-bottom-color: var(--tb-glow);
}

/* 下层主导航带 */
.tb-header__bar { background: var(--tb-paper); }
.tb-header__barInner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  min-height: 74px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.tb-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.tb-lockup__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(148deg, var(--tb-deep) 0%, var(--tb-teal) 100%);
  overflow: hidden;
}
.tb-lockup__mark::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tb-track);
}
.tb-lockup__beam {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background: var(--tb-glow);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(70, 227, 198, .16);
}
.tb-lockup__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.tb-lockup__brand {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--tb-ink);
}
.tb-lockup__sub {
  margin-top: 4px;
  font-family: var(--tb-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--tb-muted);
}

.tb-nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.5vw, 20px);
  margin-left: auto;
}
.tb-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--tb-ink);
  transition: color var(--tb-dur) var(--tb-ease);
}
.tb-nav__num {
  font-family: var(--tb-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--tb-muted);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .22s var(--tb-ease), transform .22s var(--tb-ease);
}
.tb-nav__link:hover .tb-nav__num,
.tb-nav__link:focus-visible .tb-nav__num {
  opacity: 1;
  transform: translateY(0);
}
.tb-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--tb-peacock), var(--tb-glow));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--tb-ease);
}
.tb-nav__link:hover::after,
.tb-nav__link:focus-visible::after { transform: scaleX(.5); }
.tb-nav__link[aria-current="page"] { color: var(--tb-teal); }
.tb-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.tb-nav__link[aria-current="page"] .tb-nav__num {
  opacity: 1;
  transform: translateY(0);
  color: var(--tb-teal);
}

/* 移动端触发按钮 */
.tb-navtoggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 16px 9px 14px;
  border: 1px solid var(--tb-deep);
  border-radius: 999px;
  background: var(--tb-deep);
  color: var(--tb-paper);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--tb-dur) var(--tb-ease);
}
.tb-navtoggle:hover { background: #103C4A; }
.tb-navtoggle__box {
  display: grid;
  gap: 4px;
  width: 18px;
}
.tb-navtoggle__bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--tb-glow);
  transition: transform .28s var(--tb-ease);
}
.tb-navtoggle[aria-expanded="true"] .tb-navtoggle__bar:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}
.tb-navtoggle[aria-expanded="true"] .tb-navtoggle__bar:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

/* 全屏导航面板 */
.tb-navpanel {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  padding: 20px clamp(20px, 6vw, 44px) 36px;
  overflow-y: auto;
  background: var(--tb-deep);
  color: var(--tb-paper);
}
.tb-navpanel[hidden] { display: none; }

.tb-navpanel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tb-line-light);
}
.tb-navpanel__brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--tb-on-dark);
}
.tb-navpanel__close {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243, 238, 228, .28);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color var(--tb-dur) var(--tb-ease),
              background-color var(--tb-dur) var(--tb-ease);
}
.tb-navpanel__close:hover {
  border-color: var(--tb-glow);
  background: rgba(70, 227, 198, .1);
}
.tb-navpanel__close span::before,
.tb-navpanel__close span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--tb-paper);
}
.tb-navpanel__close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.tb-navpanel__close span::after { transform: translate(-50%, -50%) rotate(-45deg); }

.tb-navpanel__list {
  display: grid;
  gap: 0;
  margin: clamp(14px, 3vw, 28px) 0 0;
  padding: 0;
  list-style: none;
}
.tb-navpanel__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  font-size: clamp(21px, 6vw, 29px);
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--tb-paper);
  border-bottom: 1px solid var(--tb-line-light-soft);
  transition: color var(--tb-dur) var(--tb-ease);
}
.tb-navpanel__link:hover,
.tb-navpanel__link:focus-visible { color: var(--tb-glow); }
.tb-navpanel__link[aria-current="page"] { color: var(--tb-glow); }
.tb-navpanel__link[aria-current="page"]::after {
  content: "当前栏目";
  margin-left: auto;
  font-family: var(--tb-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--tb-on-dark-soft);
}
.tb-navpanel__num {
  font-family: var(--tb-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--tb-glow);
}
.tb-navpanel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: auto;
  padding-top: 28px;
}
.tb-navpanel__meta {
  font-family: var(--tb-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--tb-on-dark-soft);
}

/* 移动端底部快捷条 */
.tb-quickbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  background: var(--tb-deep);
  border-top: 1px solid var(--tb-line-light);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tb-quickbar__item {
  flex: 1 1 0;
  display: block;
  padding: 15px 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--tb-on-dark);
  border-right: 1px solid var(--tb-line-light-soft);
  transition: color var(--tb-dur) var(--tb-ease),
              background-color var(--tb-dur) var(--tb-ease);
}
.tb-quickbar__item:last-child { border-right: 0; }
.tb-quickbar__item:hover,
.tb-quickbar__item:focus-visible {
  color: var(--tb-glow);
  background: rgba(70, 227, 198, .08);
}

/* 右侧滚动进度轨 */
.tb-scrollrail {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 85;
  width: 4px;
  height: 100vh;
  background: rgba(18, 24, 27, .07);
  pointer-events: none;
}
.tb-scrollrail__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top center;
  background: linear-gradient(180deg, var(--tb-glow) 0%, var(--tb-peacock) 55%, var(--tb-track) 100%);
}

/* ---------- 11. 页脚 ---------- */
.tb-footer {
  position: relative;
  margin-top: var(--tb-section-space);
  padding: clamp(46px, 6vw, 76px) 0 32px;
  overflow: hidden;
  background: var(--tb-deep);
  color: var(--tb-paper);
}
.tb-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--tb-teal) 0%,
    var(--tb-glow) 34%,
    var(--tb-track) 72%,
    rgba(244, 80, 42, 0) 100%
  );
}
.tb-footer::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -30%;
  width: 46%;
  height: 90%;
  background: repeating-linear-gradient(
    100deg,
    rgba(70, 227, 198, .07) 0 1px,
    transparent 1px 26px
  );
  transform: rotate(-8deg);
  pointer-events: none;
}

.tb-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.15fr 1.3fr;
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(30px, 4vw, 50px);
  border-bottom: 1px solid var(--tb-line-light);
}

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

.tb-lockup--footer .tb-lockup__mark {
  background: linear-gradient(148deg, var(--tb-teal) 0%, var(--tb-peacock) 100%);
}
.tb-lockup--footer .tb-lockup__brand { color: var(--tb-paper); }
.tb-lockup--footer .tb-lockup__sub { color: rgba(243, 238, 228, .58); }

.tb-footer__desc {
  margin-top: 18px;
  max-width: 30em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--tb-on-dark);
}
.tb-footer__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--tb-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--tb-glow);
}
.tb-footer__note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tb-glow);
}

.tb-footer__title {
  margin: 0 0 16px;
  font-family: var(--tb-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--tb-glow);
}

.tb-footer__list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.7;
}
.tb-footer__list a {
  color: var(--tb-on-dark);
  transition: color var(--tb-dur) var(--tb-ease);
}
.tb-footer__list a:hover,
.tb-footer__list a:focus-visible { color: var(--tb-glow); }
.tb-footer__list--plain li {
  font-family: var(--tb-mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--tb-on-dark);
  word-break: break-word;
}
.tb-footer__list--plain li:last-child {
  font-family: var(--tb-sans);
  font-size: 14px;
  letter-spacing: .01em;
}

.tb-footer__tip {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--tb-on-dark-soft);
}

.tb-footer__base {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--tb-on-dark-soft);
}
.tb-footer__legal {
  font-family: var(--tb-mono);
  font-size: 12px;
  letter-spacing: .04em;
}
.tb-footer__legalList {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tb-footer__legalList a {
  color: var(--tb-on-dark);
  border-bottom: 1px solid transparent;
  transition: color var(--tb-dur) var(--tb-ease),
              border-color var(--tb-dur) var(--tb-ease);
}
.tb-footer__legalList a:hover {
  color: var(--tb-glow);
  border-bottom-color: var(--tb-glow);
}
.tb-footer__icp {
  margin-left: auto;
  font-family: var(--tb-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
}

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1080px) {
  .tb-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .tb-footer__col--brand { grid-column: span 3; }
}

@media (max-width: 960px) {
  body { padding-bottom: calc(var(--tb-quickbar-h) + env(safe-area-inset-bottom, 0px)); }

  .tb-header__tagline { display: none; }
  .tb-header__consult { display: none; }
  .tb-header__topInner { justify-content: space-between; }

  .tb-nav { display: none; }
  .tb-navtoggle { display: inline-flex; }

  .tb-header__barInner { min-height: 62px; }

  .tb-quickbar { display: flex; }
  .tb-scrollrail { display: none; }

  .tb-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tb-span-4 { grid-column: span 3; }
  .tb-span-6 { grid-column: span 6; }
  .tb-span-8 { grid-column: span 6; }
  .tb-span-12 { grid-column: span 6; }

  .tb-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
  }
  .tb-footer__col--brand { grid-column: span 2; }
  .tb-footer__icp { margin-left: 0; }
}

@media (max-width: 640px) {
  :root { --tb-topstrip-h: 36px; }

  body { font-size: 15.5px; }

  .tb-status__zone { display: none; }
  .tb-status__divider { display: none; }
  .tb-status { font-size: 10.5px; letter-spacing: .12em; }

  .tb-lockup__brand { font-size: 17px; }
  .tb-lockup__mark { width: 36px; height: 36px; border-radius: 11px; }
  .tb-lockup__sub { letter-spacing: .18em; font-size: 9.5px; }

  .tb-navtoggle__text { display: none; }
  .tb-navtoggle { padding: 10px 14px; }

  .tb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb-span-4,
  .tb-span-6,
  .tb-span-8,
  .tb-span-12 { grid-column: span 2; }

  .tb-footer__grid { grid-template-columns: 1fr; }
  .tb-footer__col--brand { grid-column: span 1; }
  .tb-footer__base { gap: 10px 18px; }

  .tb-timeline__row { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px; }
}

/* ---------- 13. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .tb-status__dot { animation: none; box-shadow: none; }
  .tb-card:hover { transform: none; }
  .tb-btn:hover { transform: none; }
}

/* ---------- 14. 打印 ---------- */
@media print {
  .tb-header,
  .tb-footer,
  .tb-quickbar,
  .tb-scrollrail { display: none !important; }
  body { padding-bottom: 0; background: #fff; color: #000; }
}
