/* ============================================================
   天博体育综合 · 全站共享样式 /assets/site.css
   视觉基调：深蓝数据宇宙 + 荧光绿信号 + 亮橙行动 + 框架式导航
   ============================================================ */

/* ---------- CSS 变量 ---------- */
:root {
  --tb-primary: #0A1F44;
  --tb-primary-light: #1B3A6B;
  --tb-accent: #FF6B35;
  --tb-accent-green: #39FF14;
  --tb-cream: #F5F0E6;
  --tb-white: #FFFFFF;
  --tb-muted: #B0C4DE;
  --tb-deep: #0D1B2A;
  --tb-orange-light: #FF8C42;
  --tb-green-light: #31D8A4;
  --tb-border: rgba(255, 255, 255, 0.1);
  --tb-border-strong: rgba(255, 255, 255, 0.22);
  --tb-header-h: 4.5rem;
  --tb-radius: 14px;
  --tb-radius-lg: 24px;
  --tb-radius-pill: 999px;
  --tb-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --tb-font-head: 'Archivo Black', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --tb-font-body: 'Inter', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --tb-font-data: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --tb-ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --tb-container: 1440px;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--tb-header-h);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--tb-font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tb-white);
  background:
    radial-gradient(ellipse 80% 55% at 85% -5%, rgba(27, 58, 107, 0.5), transparent 65%),
    radial-gradient(ellipse 60% 40% at 0% 35%, rgba(13, 27, 42, 0.45), transparent 70%),
    var(--tb-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tb-font-head);
  font-weight: 900;
  line-height: 1.15;
  color: var(--tb-white);
}

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

address {
  font-style: normal;
}

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

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

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

/* ---------- 无障碍与焦点 ---------- */
:focus-visible {
  outline: 3px solid var(--tb-accent-green);
  outline-offset: 3px;
  border-radius: 6px;
}

main[id="main-content"] {
  display: block;
  min-height: 70vh;
  padding-top: var(--tb-header-h);
}

/* ---------- 跳过链接 ---------- */
.tb-skip {
  position: fixed;
  top: -5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  background: var(--tb-accent-green);
  color: var(--tb-deep);
  font-family: var(--tb-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  padding: 0.75rem 1.5rem;
  border-radius: var(--tb-radius-pill);
  box-shadow: var(--tb-shadow);
  transition: top 0.3s var(--tb-ease);
}

.tb-skip:focus,
.tb-skip:focus-visible {
  top: 0.75rem;
}

/* ---------- 头部 · 框架式导航 ---------- */
.tb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    rgba(10, 31, 68, 0.92);
  background-size: 28px 28px, 28px 28px, auto;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tb-border);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.tb-header.is-scrolled {
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    rgba(10, 31, 68, 0.98);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.tb-header__progress {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--tb-accent) 0%, var(--tb-accent-green) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  will-change: transform;
}

.tb-header__inner {
  position: relative;
  max-width: var(--tb-container);
  height: var(--tb-header-h);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* 品牌 */
.tb-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  border-radius: 12px;
}

.tb-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--tb-accent) 0%, var(--tb-accent-green) 100%);
  color: var(--tb-primary);
  font-family: var(--tb-font-head);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 4px 18px rgba(255, 107, 53, 0.35);
}

.tb-brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.2;
}

.tb-brand__cn {
  font-family: var(--tb-font-head);
  font-weight: 900;
  font-size: 1rem;
  color: var(--tb-white);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tb-brand__en {
  font-family: var(--tb-font-data);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tb-muted);
}

/* 桌面导航 */
.tb-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tb-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  list-style: none;
  flex-wrap: nowrap;
}

.tb-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border-radius: var(--tb-radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--tb-muted);
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    color 0.25s var(--tb-ease),
    background 0.25s var(--tb-ease),
    border-color 0.25s var(--tb-ease);
}

.tb-nav__link:hover {
  color: var(--tb-white);
  background: rgba(255, 255, 255, 0.06);
}

.tb-nav__link[aria-current="page"] {
  color: var(--tb-primary);
  background: var(--tb-cream);
  border-color: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.tb-nav__extra {
  display: none;
}

/* 头部右侧动作区 */
.tb-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: auto;
}

.tb-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-pill);
  font-family: var(--tb-font-data);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--tb-muted);
  white-space: nowrap;
}

.tb-status__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--tb-accent-green);
  box-shadow:
    0 0 10px var(--tb-accent-green),
    0 0 3px var(--tb-accent-green);
  animation: tb-pulse 2.2s ease-in-out infinite;
}

@keyframes tb-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.82);
  }
}

.tb-arena {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.3rem;
  border-radius: var(--tb-radius-pill);
  background: var(--tb-accent);
  color: var(--tb-white);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background 0.25s var(--tb-ease),
    transform 0.25s var(--tb-ease),
    box-shadow 0.25s var(--tb-ease);
}

.tb-arena:hover {
  background: var(--tb-orange-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.tb-arena__arrow {
  display: inline-block;
  transition: transform 0.25s var(--tb-ease);
}

.tb-arena:hover .tb-arena__arrow {
  transform: translateX(3px);
}

/* 移动导航按钮 */
.tb-nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 3rem;
  height: 3rem;
  padding: 0.4rem;
  border: 1px solid var(--tb-border);
  border-radius: 0.75rem;
  transition: border-color 0.25s ease;
}

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

.tb-nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--tb-white);
  border-radius: 2px;
  transition:
    transform 0.3s var(--tb-ease),
    opacity 0.3s var(--tb-ease);
}

.tb-nav-toggle__label {
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--tb-muted);
}

.tb-nav-toggle[aria-expanded="true"] .tb-nav-toggle__bar:nth-child(1),
.tb-nav-toggle.is-active .tb-nav-toggle__bar:nth-child(1) {
  transform: translateY(0.28rem) rotate(45deg);
}

.tb-nav-toggle[aria-expanded="true"] .tb-nav-toggle__bar:nth-child(2),
.tb-nav-toggle.is-active .tb-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.tb-nav-toggle[aria-expanded="true"] .tb-nav-toggle__bar:nth-child(3),
.tb-nav-toggle.is-active .tb-nav-toggle__bar:nth-child(3) {
  transform: translateY(-0.28rem) rotate(-45deg);
}

/* ---------- 移动端头部 ---------- */
@media (max-width: 1100px) {
  .tb-header__actions {
    display: none;
  }

  .tb-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .tb-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 1rem clamp(1rem, 4vw, 1.5rem) 1.5rem;
    background:
      linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
      rgba(10, 31, 68, 0.98);
    background-size: 28px 28px, 28px 28px, auto;
    border-bottom: 1px solid var(--tb-border);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition:
      opacity 0.3s var(--tb-ease),
      transform 0.3s var(--tb-ease),
      visibility 0s 0.3s;
  }

  .tb-nav[data-open] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 0.3s var(--tb-ease),
      transform 0.3s var(--tb-ease);
  }

  .tb-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .tb-nav__link {
    display: flex;
    width: 100%;
    padding: 0.8rem 1.25rem;
    font-size: 1rem;
  }

  .tb-nav__extra {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--tb-border);
  }

  .tb-nav__extra .tb-status {
    align-self: flex-start;
  }

  .tb-nav__extra .tb-arena {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  :root {
    --tb-header-h: 3.75rem;
  }

  .tb-header__inner {
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .tb-brand__en {
    display: none;
  }

  .tb-brand__mark {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.85rem;
    border-radius: 0.625rem;
  }

  .tb-brand__cn {
    font-size: 0.92rem;
  }

  .tb-nav-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .tb-status {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
  }
}

/* ---------- 页脚 ---------- */
.tb-footer {
  position: relative;
  overflow: hidden;
  background: var(--tb-deep);
  color: var(--tb-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tb-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tb-accent) 0%, var(--tb-accent-green) 50%, transparent 100%);
  opacity: 0.4;
}

.tb-footer::after {
  content: "TB";
  position: absolute;
  right: -1rem;
  bottom: -2.5rem;
  font-family: var(--tb-font-head);
  font-size: clamp(10rem, 25vw, 18rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  user-select: none;
}

.tb-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--tb-container);
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

.tb-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
}

.tb-footer__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--tb-font-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--tb-white);
  margin-bottom: 0.75rem;
}

.tb-footer__logo span {
  color: var(--tb-accent-green);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.tb-footer__desc {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--tb-muted);
  max-width: 42ch;
}

.tb-footer__trust {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--tb-font-data);
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(176, 196, 222, 0.75);
}

.tb-footer__title {
  font-family: var(--tb-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tb-white);
  margin-bottom: 1.25rem;
}

.tb-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.tb-footer__links a {
  color: var(--tb-muted);
  font-size: 0.93rem;
  transition:
    color 0.2s var(--tb-ease),
    padding-left 0.2s var(--tb-ease);
}

.tb-footer__links a:hover {
  color: var(--tb-accent);
  padding-left: 0.3rem;
}

.tb-footer__links--legal {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tb-footer__links--legal a {
  font-size: 0.85rem;
}

.tb-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.tb-footer__contact span,
.tb-footer__contact address {
  display: block;
  color: var(--tb-muted);
}

.tb-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--tb-font-data);
  font-size: 0.8rem;
  color: rgba(176, 196, 222, 0.7);
}

.tb-footer__copyright {
  color: rgba(176, 196, 222, 0.7);
}

.tb-footer__disclaimer {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(176, 196, 222, 0.55);
  max-width: 90ch;
}

@media (max-width: 900px) {
  .tb-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

@media (max-width: 600px) {
  .tb-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 通用布局 ---------- */
.tb-container {
  width: 100%;
  max-width: var(--tb-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.tb-section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.tb-section--tight {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.tb-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

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

.tb-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tb-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tb-grid--main-side {
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
}

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

  .tb-grid--main-side {
    grid-template-columns: 1fr;
  }
}

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

/* ---------- 章节手柄 / 标题 ---------- */
.tb-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: var(--tb-font-data);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tb-accent-green);
}

.tb-handle::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--tb-accent-green);
  border-radius: 2px;
}

.tb-handle__num {
  color: var(--tb-accent);
  font-weight: 700;
}

.tb-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.1;
  color: var(--tb-white);
  margin-bottom: 1rem;
}

.tb-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--tb-muted);
  max-width: 62ch;
}

/* ---------- 按钮 ---------- */
.tb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--tb-radius-pill);
  font-family: var(--tb-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background 0.25s var(--tb-ease),
    color 0.25s var(--tb-ease),
    border-color 0.25s var(--tb-ease),
    transform 0.25s var(--tb-ease),
    box-shadow 0.25s var(--tb-ease);
}

.tb-btn--accent {
  background: var(--tb-accent);
  color: var(--tb-white);
}

.tb-btn--accent:hover {
  background: var(--tb-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 107, 53, 0.35);
}

.tb-btn--green {
  background: var(--tb-accent-green);
  color: var(--tb-deep);
}

.tb-btn--green:hover {
  background: var(--tb-green-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(57, 255, 20, 0.25);
}

.tb-btn--ghost {
  background: transparent;
  border-color: var(--tb-border-strong);
  color: var(--tb-white);
}

.tb-btn--ghost:hover {
  border-color: var(--tb-accent);
  color: var(--tb-accent);
}

/* ---------- 筛选胶囊 ---------- */
.tb-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--tb-border-strong);
  border-radius: var(--tb-radius-pill);
  background: transparent;
  font-family: var(--tb-font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--tb-muted);
  text-decoration: none;
  transition:
    background 0.25s var(--tb-ease),
    color 0.25s var(--tb-ease),
    border-color 0.25s var(--tb-ease);
}

.tb-chip:hover {
  border-color: var(--tb-accent);
  color: var(--tb-accent);
}

.tb-chip[aria-pressed="true"],
.tb-chip.is-active {
  background: var(--tb-accent);
  border-color: var(--tb-accent);
  color: var(--tb-white);
}

/* ---------- 卡片 ---------- */
.tb-card {
  background: var(--tb-cream);
  color: var(--tb-deep);
  border-radius: var(--tb-radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--tb-shadow);
}

.tb-card--dark {
  background: var(--tb-primary-light);
  color: var(--tb-white);
}

.tb-card--outline {
  background: transparent;
  border: 1px solid var(--tb-border);
  color: var(--tb-white);
  box-shadow: none;
}

.tb-card a {
  color: var(--tb-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 数据 ---------- */
.tb-data {
  font-family: var(--tb-font-data);
  font-variant-numeric: tabular-nums;
}

.tb-stat {
  font-family: var(--tb-font-data);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--tb-accent);
  font-variant-numeric: tabular-nums;
}

.tb-stat--green {
  color: var(--tb-accent-green);
}

.tb-stat__unit {
  font-size: 0.45em;
  color: var(--tb-muted);
  margin-left: 0.25em;
}

.tb-data-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--tb-border);
  font-family: var(--tb-font-data);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.tb-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tb-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--tb-muted);
}

.tb-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.6rem;
  height: 2px;
  background: var(--tb-accent-green);
  border-radius: 2px;
}

/* ---------- 面包屑 ---------- */
.tb-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  list-style: none;
  font-size: 0.88rem;
  color: var(--tb-muted);
}

.tb-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tb-breadcrumb li + li::before {
  content: "/";
  font-family: var(--tb-font-data);
  color: var(--tb-accent);
}

.tb-breadcrumb a {
  color: var(--tb-muted);
  transition: color 0.2s ease;
}

.tb-breadcrumb a:hover {
  color: var(--tb-accent);
}

.tb-breadcrumb li[aria-current="page"] {
  color: var(--tb-white);
  font-weight: 600;
}

/* ---------- 媒体容器 ---------- */
.tb-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--tb-radius-lg);
  background:
    linear-gradient(135deg, var(--tb-primary-light) 0%, var(--tb-primary) 100%);
}

.tb-media--16x9 { aspect-ratio: 16 / 9; }
.tb-media--21x9 { aspect-ratio: 21 / 9; }
.tb-media--2x1 { aspect-ratio: 2 / 1; }
.tb-media--4x3 { aspect-ratio: 4 / 3; }
.tb-media--3x4 { aspect-ratio: 3 / 4; }
.tb-media--1x1 { aspect-ratio: 1 / 1; }

.tb-media__item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tb-media__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-family: var(--tb-font-data);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--tb-muted);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 10px),
    linear-gradient(135deg, var(--tb-primary-light), var(--tb-primary));
}

/* ---------- 滚动显现 ---------- */
.tb-reveal {
  will-change: opacity, transform;
}

html.is-js .tb-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--tb-ease),
    transform 0.7s var(--tb-ease);
}

html.is-js .tb-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 减少动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .tb-reveal,
  html.is-js .tb-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .tb-status__dot {
    animation: none !important;
  }
}
