/* Keep the overlay transparent for OBS */
html,
body {
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-primary, #f5f5f5);
}

#twitch-header.th-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md, 16px) var(--space-lg, 24px);
  background: radial-gradient(circle at top left, #151026, #05040a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  box-sizing: border-box;
}

.th-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs, 4px);
}

.th-handle {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.th-tagline {
  font-size: 0.85rem;
  color: var(--text-muted, #9a9aaf);
}

.th-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm, 8px);
}

.th-link {
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(
    120deg,
    rgba(247, 37, 133, 0.18),
    rgba(114, 9, 183, 0.18)
  );
  backdrop-filter: blur(6px);
}

.th-link-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* Responsive: stack on narrow layouts */
@media (max-width: 640px) {
  #twitch-header.th-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm, 8px);
  }

  .th-right {
    justify-content: flex-start;
  }
}
