/* HOME OF HEROES — "DISCOVER YOUR HERO DNA" quiz widget
 *
 * Deliberately the same shape as the shared Trivia widget
 * (js/tier/trivia.css) so it reads as one more HQ quest, not a different
 * product — a card inside the HQ's own dialog, brand colour from --primary
 * (CLAUDE.md — never hardcode #ff0013). --hero-dna-color is the discovered
 * identity's OWN colour (content data, not a brand token — set per result
 * by hero-dna.js) and only ever accents the result stage.
 */

.tgv-hero-dna {
  margin: 0 auto;
  max-width: 560px;
  width: 100%;
}

.tgv-hero-dna-card {
  --hero-dna-color: var(--primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.tgv-hero-dna-card[data-hero-dna-stage="result"] {
  border-color: var(--hero-dna-color);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--hero-dna-color) inset;
}

.tgv-hero-dna-notice,
.tgv-hero-dna-note,
.tgv-hero-dna-loading {
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0 0 0.75rem;
}

.tgv-hero-dna-note.is-win {
  color: var(--primary);
  font-weight: 600;
  opacity: 1;
}

.tgv-hero-dna-progress {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 0 0 0.5rem;
}

.tgv-hero-dna-question {
  font-size: 1.15rem;
  line-height: 1.4;
  margin: 0 0 1.25rem;
}

.tgv-hero-dna-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tgv-hero-dna-option {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0.8rem 1rem;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tgv-hero-dna-option[disabled] {
  cursor: default;
}

.tgv-hero-dna-option.is-picked {
  border-color: var(--primary);
  background: rgba(255, 0, 19, 0.14);
}

@media (hover: hover) {
  .tgv-hero-dna-option:not([disabled]):hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
  }
}

.tgv-hero-dna-start {
  margin-top: 0.5rem;
}

/* Result stage — accented by the discovered identity's own colour. */
.tgv-hero-dna-result-name {
  font-size: 2.1rem;
  margin: 0 0 0.5rem;
  color: var(--hero-dna-color);
}

.tgv-hero-dna-tagline {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.85;
  margin: 0 0 1rem;
}

.tgv-hero-dna-description {
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.tgv-hero-dna-meta {
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
  opacity: 0.85;
  margin: 0 0 0.6rem;
}

.tgv-hero-dna-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}
