/* Dark Horse — Gen Z Results Layer v3 (Standard Accessible Palette) */
:root {
  --dh-rz-card-bg: #171a25;
  --dh-rz-card-border: rgba(255, 255, 255, 0.08);
  --dh-rz-card-top-border: rgba(240, 192, 64, 0.52);
  --dh-rz-accent: #f0c040;
  --dh-rz-text: #f5efe2;
  --dh-rz-muted: #b8b2a4;
}

#app .dh-result-card {
  background: var(--dh-rz-card-bg) !important;
  border: 1px solid var(--dh-rz-card-border) !important;
  border-radius: 18px !important;
  padding: 18px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s ease, background 0.2s ease;
}

#app .dh-result-card[data-rank="1"] {
  background: #1b1f2d !important;
  border-color: var(--dh-rz-card-top-border) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(240, 192, 64, 0.14);
}

#app .dh-result-card h3 {
  color: var(--dh-rz-text);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 6px;
}

#app .dh-result-why {
  background: #131621;
  border-right: 3px solid var(--dh-rz-accent);
  border-radius: 10px;
  padding: 11px 13px;
  margin: 12px 0;
  color: #dcd6c8;
  font-size: 0.87rem;
  line-height: 1.85;
}

#app .dh-result-sparks-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

#app .dh-result-spark-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(240, 192, 64, 0.10);
  border: 1px solid rgba(240, 192, 64, 0.24);
  color: #f3dfb0;
  font-size: 0.77rem;
  line-height: 1.5;
}

#app .dh-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 7px 0;
  font-size: 0.81rem;
  color: var(--dh-rz-muted);
}

#app .dh-bar-track {
  flex: 1;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

#app .dh-bar-fill-m { background: #f0c040; height: 100%; border-radius: 999px; }
#app .dh-bar-fill-s { background: #56c7c1; height: 100%; border-radius: 999px; }
#app .dh-bar-fill-v { background: #c9a6ff; height: 100%; border-radius: 999px; }
