/* ============================================================
   天博体育中心 · 共享样式 /assets/site.css
   导播台深色底 + 球场草绿强调 + 信号橙入口语义
   ============================================================ */

/* ---------- 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, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; }

/* ---------- tokens ---------- */
:root {
  --tb-deep: #0A1B2E;
  --tb-ink: #06121F;
  --tb-green: #2FA84F;
  --tb-green-lt: #6FD48A;
  --tb-orange: #FF7A1A;
  --tb-print: #D8452B;
  --tb-cream: #F2ECDF;
  --tb-brown: #1E1712;
  --tb-mist: #7C93AA;
  --tb-white: #F7FAFF;

  --tb-text: rgba(247, 250, 255, 0.88);
  --tb-line: rgba(124, 147, 170, 0.28);
  --tb-line-strong: rgba(124, 147, 170, 0.52);

  --tb-font-display: "Arial Narrow", "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
  --tb-font-heading: "Songti SC", "STSong", "Noto Serif SC", Georgia, "SimSun", serif;
  --tb-font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --tb-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  --tb-w: 1240px;
  --tb-gutter: 24px;
  --tb-bar-h: 72px;
  --tb-league-h: 46px;
  --tb-header-h: 118px;
  --tb-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- base ---------- */
body {
  background-color: var(--tb-deep);
  background-image:
    linear-gradient(rgba(247, 250, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 250, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  color: var(--tb-text);
  font-family: var(--tb-font-body);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  min-height: 100%;
}
#main-content { padding-top: var(--tb-header-h); }
a { text-decoration: none; }
a:hover { text-decoration: none; }

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

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

/* ---------- layout ---------- */
.tb-container {
  width: min(var(--tb-w), calc(100% - var(--tb-gutter) * 2));
  margin-inline: auto;
}
.tb-container--wide { --tb-w: 1440px; }
.tb-narrow { max-width: 640px; }
.tb-section { padding: 96px 0; position: relative; }
.tb-section--tight { padding: 56px 0; }
.tb-section--ink { background-color: var(--tb-ink); }
.tb-section--paper {
  background-color: var(--tb-cream);
  background-image: repeating-linear-gradient(135deg, rgba(30, 23, 18, 0.035) 0 1px, transparent 1px 8px);
  color: var(--tb-brown);
}
.tb-section--paper .tb-title,
.tb-section--paper .tb-lede,
.tb-section--paper .tb-accent { color: var(--tb-brown); }
.tb-section--paper .tb-prose { color: rgba(30, 23, 18, 0.9); }
.tb-section--paper .tb-eyebrow { color: var(--tb-print); }
.tb-section--paper .tb-muted,
.tb-section--paper .tb-item__meta { color: rgba(30, 23, 18, 0.62); }
.tb-section--paper .tb-rule { border-color: rgba(30, 23, 18, 0.18); }
.tb-section--paper .tb-item,
.tb-section--paper .tb-steps { border-color: rgba(30, 23, 18, 0.16); }
.tb-section--paper .tb-breadcrumb,
.tb-section--paper .tb-breadcrumb__link { color: rgba(30, 23, 18, 0.62); }
.tb-section--paper .tb-breadcrumb__current { color: var(--tb-brown); }
.tb-section--paper .tb-btn--ghost { border-color: rgba(30, 23, 18, 0.42); color: var(--tb-brown); }
.tb-section--paper .tb-panel { background-color: #FBF7EE; border-color: rgba(30, 23, 18, 0.16); }

.tb-split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.tb-split--48 { grid-template-columns: 4fr 8fr; }
.tb-grid { display: grid; gap: 32px; }
.tb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- typography ---------- */
.tb-eyebrow {
  font-family: var(--tb-font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--tb-green-lt);
  margin: 0 0 14px;
}
.tb-title {
  font-family: var(--tb-font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--tb-white);
  margin: 0 0 18px;
}
.tb-title--xl {
  font-size: clamp(40px, 8vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.tb-title--serif {
  font-family: var(--tb-font-heading);
  font-weight: 600;
  letter-spacing: 0;
  font-size: clamp(24px, 2.6vw, 34px);
}
.tb-lede {
  font-size: 17px;
  line-height: 1.85;
  color: var(--tb-text);
  max-width: 34em;
  margin: 0 0 24px;
}
.tb-prose { max-width: 34em; }
.tb-prose + .tb-prose { margin-top: 20px; }
.tb-prose ul { list-style: disc; padding-left: 1.3em; margin: 16px 0; }
.tb-prose li { margin: 6px 0; }
.tb-prose strong { color: var(--tb-white); }
.tb-muted { color: var(--tb-mist); font-size: 14px; }
.tb-accent { color: var(--tb-green-lt); }
.tb-num {
  font-family: var(--tb-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.tb-rule { border: 0; border-top: 1px solid var(--tb-line); margin: 32px 0; }

/* ---------- buttons ---------- */
.tb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--tb-line-strong);
  border-radius: 2px;
  color: var(--tb-white);
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.18s var(--tb-ease), color 0.18s var(--tb-ease), border-color 0.18s var(--tb-ease), transform 0.18s var(--tb-ease);
}
.tb-btn:hover { border-color: var(--tb-green-lt); color: var(--tb-green-lt); }
.tb-btn--primary {
  background-color: var(--tb-green);
  border-color: var(--tb-green);
  color: #04170B;
}
.tb-btn--primary:hover { background-color: var(--tb-green-lt); border-color: var(--tb-green-lt); color: #04170B; }
.tb-btn--orange { border-color: var(--tb-orange); color: var(--tb-orange); }
.tb-btn--orange:hover { background-color: var(--tb-orange); color: #1E1712; }
.tb-btn--ghost { border-color: var(--tb-line); color: var(--tb-text); }

/* ---------- tags / panels / stats / steps ---------- */
.tb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tb-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border: 1px solid var(--tb-line-strong);
  border-radius: 1px;
  color: var(--tb-mist);
}
.tb-tag--print { border-color: var(--tb-print); color: var(--tb-print); }
.tb-tag--green { border-color: var(--tb-green); color: var(--tb-green-lt); }
.tb-tag--orange { border-color: var(--tb-orange); color: var(--tb-orange); }

.tb-panel {
  background-color: rgba(6, 18, 31, 0.72);
  border: 1px solid var(--tb-line);
  border-left: 3px solid var(--tb-green);
  border-radius: 2px;
}
.tb-panel__title {
  font-family: var(--tb-font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.3;
  color: var(--tb-white);
  margin: 0;
}
.tb-panel__body { padding: 24px 26px; }

.tb-stat { display: grid; gap: 6px; }
.tb-stat__value {
  font-family: var(--tb-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--tb-white);
}
.tb-stat__label { font-size: 14px; color: var(--tb-mist); }

.tb-steps { border-left: 2px solid var(--tb-line); padding-left: 0; margin: 0; }
.tb-step { position: relative; padding: 0 0 28px 30px; }
.tb-step:last-child { padding-bottom: 0; }
.tb-step::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 8px;
  width: 12px;
  height: 12px;
  background-color: var(--tb-deep);
  border: 2px solid var(--tb-orange);
}
.tb-step__index {
  display: block;
  font-family: var(--tb-font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--tb-orange);
  margin-bottom: 6px;
}
.tb-step__body { margin: 0; max-width: 34em; }

/* ---------- breadcrumb ---------- */
.tb-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  font-family: var(--tb-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--tb-mist);
}
.tb-breadcrumb__link { color: var(--tb-mist); border-bottom: 1px solid transparent; }
.tb-breadcrumb__link:hover { color: var(--tb-green-lt); border-bottom-color: var(--tb-green-lt); }
.tb-breadcrumb__sep { color: rgba(124, 147, 170, 0.55); }
.tb-breadcrumb__current { color: var(--tb-white); }

/* ---------- media placeholders ---------- */
.tb-media {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(155deg, #10314F 0%, #0A1B2E 46%, #06121F 100%);
  border: 1px solid var(--tb-line);
  border-radius: 2px;
}
.tb-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 250, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 250, 255, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.tb-media::after {
  content: "";
  position: absolute;
  left: -18%;
  bottom: -34%;
  width: 68%;
  height: 68%;
  background-image: radial-gradient(closest-side, rgba(47, 168, 79, 0.24), rgba(47, 168, 79, 0));
  pointer-events: none;
}
.tb-media--16x9 { aspect-ratio: 16 / 9; }
.tb-media--21x9 { aspect-ratio: 21 / 9; }
.tb-media--4x5 { aspect-ratio: 4 / 5; }
.tb-media--1x1 { aspect-ratio: 1 / 1; }
.tb-media__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tb-figure { margin: 0; display: grid; gap: 10px; }
.tb-figure__cap {
  font-family: var(--tb-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--tb-mist);
}
.tb-figure__cap b { color: var(--tb-print); font-weight: 700; }

/* ---------- filter + item list ---------- */
.tb-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}
.tb-filter__btn {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--tb-text);
  border: 1px solid var(--tb-line);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.16s var(--tb-ease), color 0.16s var(--tb-ease), border-color 0.16s var(--tb-ease);
}
.tb-filter__btn:hover { border-color: var(--tb-green-lt); color: var(--tb-green-lt); }
.tb-filter__btn[aria-pressed="true"] {
  background-color: var(--tb-green);
  border-color: var(--tb-green);
  color: #04170B;
  font-weight: 700;
}
.tb-filter__meta {
  font-family: var(--tb-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--tb-mist);
  margin: 0 0 8px;
}
.tb-item-list { margin: 0; }
.tb-item { padding: 22px 0; border-bottom: 1px solid var(--tb-line); }
.tb-item[hidden] { display: none; }
.tb-item__title {
  font-family: var(--tb-font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.3;
  color: var(--tb-white);
  margin: 0 0 6px;
}
.tb-item__meta {
  font-family: var(--tb-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--tb-mist);
  margin: 0;
}
.tb-empty {
  padding: 24px 0;
  color: var(--tb-mist);
  font-size: 15px;
}

/* ---------- reveal ---------- */
html[data-js="on"] .tb-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.32s var(--tb-ease), transform 0.32s var(--tb-ease);
}
html[data-js="on"] .tb-reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   HEADER
   ============================================================ */
.tb-skip {
  position: fixed;
  left: 16px;
  top: -72px;
  z-index: 200;
  padding: 12px 20px;
  background-color: var(--tb-orange);
  color: #1E1712;
  font-weight: 700;
  border-radius: 2px;
  transition: top 0.2s var(--tb-ease);
}
.tb-skip:focus { top: 16px; }

.tb-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s var(--tb-ease), border-color 0.2s var(--tb-ease);
}
.tb-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(180deg, rgba(10, 27, 46, 0.94) 0%, rgba(10, 27, 46, 0.62) 58%, rgba(10, 27, 46, 0) 100%);
  pointer-events: none;
  transition: opacity 0.2s var(--tb-ease);
}
.tb-header[data-scrolled="true"] {
  background-color: var(--tb-ink);
  border-bottom-color: var(--tb-line);
}
.tb-header[data-scrolled="true"]::before { opacity: 0; }

.tb-bar { position: relative; z-index: 4; }
.tb-bar__inner {
  width: min(var(--tb-w), calc(100% - var(--tb-gutter) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--tb-bar-h);
}

.tb-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.tb-brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background-image: linear-gradient(150deg, var(--tb-green) 0%, #1B7A38 100%);
  color: #04170B;
  font-family: var(--tb-font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(247, 250, 255, 0.24);
}
.tb-brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.tb-brand__name {
  font-family: var(--tb-font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--tb-white);
}
.tb-brand__sub {
  font-family: var(--tb-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--tb-mist);
}

.tb-nav__list { display: flex; align-items: center; gap: 22px; }
.tb-nav { margin-left: auto; }
.tb-nav__link {
  position: relative;
  display: inline-block;
  padding: 18px 2px;
  font-size: 15px;
  color: var(--tb-text);
  transition: color 0.16s var(--tb-ease);
}
.tb-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 9px;
  height: 2px;
  background-color: var(--tb-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s var(--tb-ease);
}
.tb-nav__link:hover { color: var(--tb-white); }
.tb-nav__link:hover::after { transform: scaleX(1); }
.tb-nav__link[aria-current="page"] { color: var(--tb-green-lt); }
.tb-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.tb-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.tb-league-toggle,
.tb-login {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
  border: 1px solid var(--tb-line);
  border-radius: 2px;
  color: var(--tb-text);
  cursor: pointer;
  transition: border-color 0.16s var(--tb-ease), color 0.16s var(--tb-ease), background-color 0.16s var(--tb-ease);
}
.tb-league-toggle { display: none; border-color: var(--tb-orange); color: var(--tb-orange); }
.tb-login:hover,
.tb-league-toggle:hover { border-color: var(--tb-green-lt); color: var(--tb-green-lt); }
.tb-header[data-compact="true"] .tb-league-toggle { display: inline-flex; align-items: center; }

.tb-burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--tb-line);
  border-radius: 2px;
  cursor: pointer;
}
.tb-burger__bar {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background-color: var(--tb-white);
  transition: transform 0.18s var(--tb-ease), opacity 0.18s var(--tb-ease);
}
.tb-burger__bar:nth-child(1) { top: 15px; }
.tb-burger__bar:nth-child(2) { top: 21px; }
.tb-burger__bar:nth-child(3) { top: 27px; }
.tb-burger[aria-expanded="true"] .tb-burger__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.tb-burger[aria-expanded="true"] .tb-burger__bar:nth-child(2) { opacity: 0; }
.tb-burger[aria-expanded="true"] .tb-burger__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- league strip ---- */
.tb-league {
  position: relative;
  z-index: 3;
  overflow: hidden;
  max-height: var(--tb-league-h);
  opacity: 1;
  border-bottom: 1px solid var(--tb-line);
  transition: max-height 0.2s var(--tb-ease), opacity 0.2s var(--tb-ease), border-color 0.2s var(--tb-ease);
}
.tb-header[data-compact="true"] .tb-league[data-open="false"] {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}
.tb-header[data-compact="true"] .tb-league[data-open="true"] {
  max-height: var(--tb-league-h);
  opacity: 1;
  background-color: var(--tb-ink);
}
.tb-league__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(var(--tb-w), calc(100% - var(--tb-gutter) * 2));
  margin-inline: auto;
  height: var(--tb-league-h);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.tb-league__track::-webkit-scrollbar { display: none; }
.tb-league__track[data-dragging="true"] { cursor: grabbing; }
.tb-league__group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-right: 26px;
  border-right: 1px solid var(--tb-line);
}
.tb-league__group:last-child { border-right: 0; padding-right: 0; }
.tb-league__label {
  font-family: var(--tb-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--tb-mist);
  white-space: nowrap;
}
.tb-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 12px;
  font-size: 13px;
  color: var(--tb-text);
  border: 1px solid var(--tb-line);
  border-radius: 1px;
  white-space: nowrap;
  transition: border-color 0.16s var(--tb-ease), color 0.16s var(--tb-ease), background-color 0.16s var(--tb-ease);
}
.tb-chip:hover,
.tb-chip:focus-visible {
  border-color: var(--tb-green-lt);
  color: var(--tb-green-lt);
  background-color: rgba(47, 168, 79, 0.12);
}

/* ---- login / switch drawer ---- */
.tb-drawer {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  z-index: 5;
  background-color: var(--tb-ink);
  border-top: 1px solid var(--tb-line);
  border-bottom: 1px solid var(--tb-line);
  box-shadow: 0 24px 44px rgba(3, 9, 16, 0.55);
}
.tb-drawer[hidden] { display: none; }
.tb-drawer__inner {
  width: min(var(--tb-w), calc(100% - var(--tb-gutter) * 2));
  margin-inline: auto;
  padding: 26px 0 28px;
}
.tb-drawer__eyebrow {
  font-family: var(--tb-font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--tb-orange);
  margin: 0 0 8px;
}
.tb-drawer__title {
  font-family: var(--tb-font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--tb-white);
  margin: 0 0 20px;
}
.tb-drawer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.tb-drawer__col { border-left: 2px solid var(--tb-orange); padding-left: 16px; }
.tb-drawer__sub {
  font-family: var(--tb-font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--tb-green-lt);
  margin: 0 0 8px;
}
.tb-drawer__text { font-size: 15px; line-height: 1.8; color: var(--tb-text); margin: 0 0 14px; max-width: 34em; }
.tb-drawer__close {
  margin-top: 20px;
  padding: 6px 0;
  font-family: var(--tb-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--tb-mist);
  border-bottom: 1px solid var(--tb-line);
  cursor: pointer;
}
.tb-drawer__close:hover { color: var(--tb-green-lt); border-bottom-color: var(--tb-green-lt); }

/* ============================================================
   FOOTER
   ============================================================ */
.tb-footer {
  background-color: var(--tb-ink);
  border-top: 1px solid var(--tb-line);
  padding: 72px 0 34px;
  color: var(--tb-text);
}
.tb-footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--tb-line);
}
.tb-footer__brand { display: grid; gap: 16px; align-content: start; }
.tb-footer__line {
  font-family: var(--tb-font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.4;
  color: var(--tb-white);
  max-width: 22ch;
  margin: 0;
}
.tb-footer__note { font-size: 14px; color: var(--tb-mist); margin: 0; }
.tb-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.tb-footer__col-title {
  font-family: var(--tb-font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--tb-green-lt);
  margin: 0 0 14px;
}
.tb-footer__links { display: grid; gap: 10px; }
.tb-footer__link {
  font-size: 15px;
  color: var(--tb-text);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--tb-ease), border-color 0.16s var(--tb-ease);
}
.tb-footer__link:hover { color: var(--tb-green-lt); border-bottom-color: var(--tb-green-lt); }
.tb-footer__meta { display: grid; gap: 8px; padding-top: 26px; }
.tb-footer__contact { font-size: 14px; color: var(--tb-text); margin: 0; }
.tb-footer__addr { font-size: 14px; color: var(--tb-mist); margin: 0; }
.tb-footer__legal {
  font-family: var(--tb-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--tb-mist);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --tb-bar-h: 66px; --tb-league-h: 44px; --tb-header-h: 110px; }
  .tb-brand__sub { display: none; }
  .tb-nav__list { gap: 16px; }
  .tb-nav__link { font-size: 14px; }
  .tb-login, .tb-league-toggle { font-size: 12px; padding: 8px 12px; }
}

@media (max-width: 900px) {
  :root { --tb-bar-h: 60px; --tb-league-h: 42px; --tb-header-h: 102px; --tb-gutter: 16px; }
  .tb-burger { display: block; }
  .tb-league__track { gap: 18px; }
  .tb-league__group { padding-right: 18px; gap: 8px; }
  .tb-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    margin: 0;
    padding: 6px 16px 26px;
    background-color: var(--tb-ink);
    border-top: 1px solid var(--tb-line);
    max-height: calc(100vh - var(--tb-header-h));
    max-height: calc(100dvh - var(--tb-header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    box-shadow: 0 26px 50px rgba(3, 9, 16, 0.6);
    transition: opacity 0.18s var(--tb-ease), transform 0.18s var(--tb-ease), visibility 0.18s linear;
  }
  .tb-nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
  .tb-nav__list { flex-direction: column; gap: 0; counter-reset: tb-nav; }
  .tb-nav__item { counter-increment: tb-nav; border-bottom: 1px solid var(--tb-line); }
  .tb-nav__item:last-child { border-bottom: 0; }
  .tb-nav__link { display: block; padding: 16px 8px 16px 48px; font-size: 17px; }
  .tb-nav__link::before {
    content: counter(tb-nav, decimal-leading-zero);
    position: absolute;
    left: 8px;
    top: 21px;
    font-family: var(--tb-font-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--tb-mist);
  }
  .tb-nav__link::after { display: none; }
  .tb-nav__link[aria-current="page"] { color: var(--tb-green-lt); box-shadow: inset 3px 0 0 var(--tb-green); }
  .tb-drawer__grid { grid-template-columns: 1fr; gap: 20px; }
  .tb-footer { padding: 56px 0 28px; }
  .tb-footer__top { grid-template-columns: 1fr; gap: 34px; }
  .tb-section { padding: 64px 0; }
  .tb-split, .tb-split--48 { grid-template-columns: 1fr; gap: 32px; }
  .tb-grid--2, .tb-grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --tb-bar-h: 58px; --tb-league-h: 40px; --tb-header-h: 98px; }
  body { font-size: 16px; }
  .tb-brand__mark { width: 36px; height: 36px; font-size: 16px; }
  .tb-brand__name { font-size: 17px; }
  .tb-footer__cols { grid-template-columns: 1fr; gap: 26px; }
  .tb-title--xl { font-size: clamp(34px, 11vw, 52px); }
}

/* ---------- 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;
  }
  html[data-js="on"] .tb-reveal { opacity: 1; transform: none; }
}
