.funding-page {
  padding: 1.25rem 0 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Верхняя панель */
.funding-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.25rem;
  border-radius: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Компактный таймер обратного отсчета */
.funding-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: .5rem;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  font-size: .84rem;
  font-family: monospace;
  color: var(--cyan, #00E5FF);
  font-weight: 700;
}

/* Таблицы */
.funding-table-wrap {
  overflow-x: auto;
  width: 100%;
}
.funding-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
}
.funding-table th {
  padding: .65rem .85rem;
  font-size: .75rem;
  color: var(--text-muted, #8B93A7);
  font-weight: 700;
  border-bottom: 1px solid var(--border, #1F2635);
  white-space: nowrap;
}
.funding-table td {
  padding: .65rem .85rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  white-space: nowrap;
}
.funding-table tr:hover {
  background: rgba(255,255,255,0.025);
}

.table-panel-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  font-weight: 800;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border, #1F2635);
}

/* Тепловая карта фандинга */
.funding-heatmap-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: 100%;
  min-height: 260px;
}
.funding-heatmap-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  border-radius: 4px;
  text-decoration: none;
  transition: transform .12s ease, filter .15s ease;
  overflow: hidden;
  box-sizing: border-box;
  text-align: center;
}
.funding-heatmap-tile:hover {
  transform: scale(1.03);
  filter: brightness(1.2);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.funding-heatmap-tile .h-sym {
  font-weight: 800;
  font-family: monospace;
  line-height: 1.1;
  color: var(--text-primary, #FFFFFF);
}
.funding-heatmap-tile .h-val {
  font-weight: 700;
  font-family: monospace;
  line-height: 1.1;
  margin-top: 3px;
}

/* Ссылка-тикер */
.ticker-pill-link {
  color: var(--cyan, #00E5FF);
  text-decoration: none;
  font-weight: 700;
  font-family: monospace;
  padding: 1px 5px;
  background: rgba(0, 229, 255, 0.08);
  border-radius: 4px;
  display: inline-block;
  transition: all .15s ease;
}
.ticker-pill-link:hover {
  background: rgba(0, 229, 255, 0.22);
  color: #fff;
}

/* Поддержка светлой темы */
[data-bs-theme="light"] {
  --text-primary: #0F172A;
  --text-muted: #64748B;
}
[data-bs-theme="light"] .funding-page h1,
[data-bs-theme="light"] .funding-page h2 {
  color: #0F172A !important;
}
[data-bs-theme="light"] .funding-table td {
  color: #0F172A;
}
[data-bs-theme="light"] .funding-heatmap-tile .h-sym {
  color: #0F172A !important;
}