/* ── TIMELINE HOVER CARD ── */

#thc {
  position: fixed;
  width: 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.13), 0 1px 4px rgba(15, 23, 42, 0.06);
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  overflow: hidden;
}

#thc.thc-visible {
  opacity: 1;
  pointer-events: auto;
}

.thc-inner {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
}

/* ── Header row ── */
.thc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.thc-title-block {
  flex: 1;
  min-width: 0;
}

.thc-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.4;
}

.thc-duration {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  color: #94A3B8;
  margin-top: 3px;
}

.thc-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid #F1F5F9;
}

/* ── Image ── */
.thc-img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  max-height: 130px;
  display: block;
}

/* ── Body text ── */
.thc-summary {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.thc-list {
  margin: 0;
  padding: 0 0 0 16px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  color: #475569;
  line-height: 1.65;
  list-style: disc;
}

.thc-list li {
  margin-bottom: 2px;
}

/* ── Section label (Results, etc.) ── */
.thc-section-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 2px;
}

/* ── Tool pills ── */
.thc-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.thc-tool {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  background: #F1F5F9;
  color: #475569;
  border-radius: 20px;
  padding: 3px 9px;
}
