/* ==========================================================================
   Dark Horse — Live Exploratory Journey System ("شهر رؤیاهای زنده")
   Designed for Gen-Z / Under-20 (14–19): Distinct 6-World Auras, Tactile 60fps
   Card Physics, Story Chapters, VS Split Duels & Shareable Identity Card
   ========================================================================== */

@keyframes dhSpringIn {
  0% { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.985); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes dhCardDeal {
  0% { opacity: 0.45; transform: translate3d(0, 14px, 0) scale(0.965); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes dhAuraPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.92; transform: scale(1.06); }
}

@keyframes dhMilestonePop {
  0% { opacity: 0; transform: translate3d(0, -8px, 0) scale(0.95); }
  65% { opacity: 1; transform: translate3d(0, 2px, 0) scale(1.015); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes dhOrbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---------- Splash Gateway ("دروازهٔ شهر رؤیاها") ---------- */
.dh-gateway-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 16px 18px;
  margin: 8px 0 14px;
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(110% 85% at 88% 12%, rgba(167, 139, 250, 0.18), transparent 58%),
    radial-gradient(95% 80% at 50% 100%, rgba(240, 192, 64, 0.12), transparent 62%),
    linear-gradient(165deg, #181c2b 0%, #111420 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
  text-align: center;
  animation: dhSpringIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dh-gateway-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(240, 192, 64, 0.12);
  border: 1px solid rgba(240, 192, 64, 0.32);
  color: #f5d472;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.dh-world-orbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 4px;
}

.dh-world-orb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f5efe2;
  background: rgba(14, 16, 23, 0.72);
  border: 1px solid var(--dh-world-border, rgba(255, 255, 255, 0.14));
  box-shadow: 0 4px 14px var(--dh-world-glow, rgba(0, 0, 0, 0.2));
}

.dh-world-orb svg {
  width: 14px;
  height: 14px;
  color: var(--dh-world, #f0c040);
  flex-shrink: 0;
}

.dh-act-roadmap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0 16px;
  text-align: right;
}

.dh-act-step {
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dh-act-step-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--dh-step-color, #f0c040);
  margin-bottom: 3px;
}

.dh-act-step-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f5efe2;
  line-height: 1.5;
}

.dh-act-step-sub {
  display: block;
  font-size: 0.75rem;
  color: #b8b2a4;
  line-height: 1.6;
  margin-top: 2px;
}

/* ---------- 6-World Living Route Cards (Realms / SubRealms / NarrowPaths) ---------- */
#app .option.dh-route-card.dh-world-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(125% 110% at 100% 0%, var(--dh-world-soft, rgba(240, 192, 64, 0.08)) 0%, rgba(23, 26, 37, 0) 62%),
    #171a25 !important;
  border: 1px solid var(--dh-world-border-muted, rgba(255, 255, 255, 0.11)) !important;
  padding: 16px 16px 15px 15px !important;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
  animation: dhSpringIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Luminous signature edge bar on right side (RTL start) */
#app .option.dh-route-card.dh-world-card::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 0;
  width: 3.5px;
  border-radius: 4px 0 0 4px;
  background: var(--dh-world, #f0c040);
  opacity: 0.72;
  box-shadow: 0 0 12px var(--dh-world-glow, rgba(240, 192, 64, 0.3));
  transition: opacity 0.2s ease, width 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

#app .option.dh-route-card.dh-world-card:hover:not(.disabled) {
  border-color: var(--dh-world-border, rgba(240, 192, 64, 0.5)) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38), 0 0 22px var(--dh-world-glow, rgba(240, 192, 64, 0.16)) !important;
}

#app .option.dh-route-card.dh-world-card:active:not(.disabled) {
  transform: scale(0.986) !important;
}

#app .option.dh-route-card.dh-world-card.selected {
  background:
    radial-gradient(130% 120% at 100% 0%, var(--dh-world-selected, rgba(240, 192, 64, 0.2)) 0%, rgba(32, 34, 47, 0.2) 68%),
    #20222f !important;
  border-color: var(--dh-world, rgba(240, 192, 64, 0.85)) !important;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.42),
    0 0 0 1px var(--dh-world-border, rgba(240, 192, 64, 0.4)),
    0 0 26px var(--dh-world-glow, rgba(240, 192, 64, 0.22)) !important;
}

#app .option.dh-route-card.dh-world-card.selected::before {
  top: 0;
  bottom: 0;
  width: 4.5px;
  opacity: 1;
}

#app .option.dh-route-card.dh-world-card.selected .dh-route-check {
  background: var(--dh-world, #f0c040) !important;
  border-color: var(--dh-world, #f0c040) !important;
  color: #0e1017 !important;
  box-shadow: 0 0 12px var(--dh-world-glow, rgba(240, 192, 64, 0.4));
}

.dh-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.dh-dreamcity-invite {
  margin: 8px auto 12px;
  max-width: 425px;
  color: #efe9dc !important;
  font-size: 0.94rem !important;
  font-weight: 500;
  line-height: 1.9 !important;
}

.dh-realm-invite {
  margin: 0 auto 12px !important;
  max-width: 460px;
  padding: 10px 14px;
  border-radius: 13px;
  background: rgba(240, 192, 64, 0.07);
  border: 1px solid rgba(240, 192, 64, 0.24);
  color: #ece6d8 !important;
  font-size: 0.91rem !important;
  line-height: 1.88 !important;
  text-align: right !important;
}

.dh-world-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--dh-world, #f0c040);
  letter-spacing: -0.01em;
}

.dh-sigil-box {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dh-world-soft, rgba(240, 192, 64, 0.12));
  border: 1px solid var(--dh-world-border, rgba(240, 192, 64, 0.35));
  color: var(--dh-world, #f0c040);
  box-shadow: 0 3px 10px var(--dh-world-glow, rgba(0, 0, 0, 0.2));
  flex: 0 0 28px;
}

.dh-sigil-box svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
}

.dh-sigil-box--sm {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 7px;
  flex: 0 0 24px;
}

.dh-sigil-box--sm svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

#app .option.dh-route-card .dh-route-motto {
  color: #fbf6ea !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1.72 !important;
}

#app .option.dh-route-card .dh-route-desc {
  color: #e2dcd0 !important;
  font-size: 0.935rem !important;
  font-weight: 500 !important;
  line-height: 1.9 !important;
}

#app .option.dh-route-card.selected .dh-route-motto {
  color: #fff3cf !important;
}

#app .option.dh-route-card.selected .dh-route-desc {
  color: #efe9dc !important;
}

.dh-card-subcount {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #c8c2b4;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  white-space: nowrap;
}

.dh-order-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--dh-world, #f0c040);
  color: #0e1017;
}

/* ---------- Live Synergy Mirror Banner (Realms stage) ---------- */
.dh-synergy-card {
  position: relative;
  overflow: hidden;
  margin: 14px 0 6px;
  padding: 14px 15px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, var(--dh-syn-a, rgba(56, 189, 248, 0.16)), var(--dh-syn-b, rgba(167, 139, 250, 0.16))),
    #151824;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: right;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
  animation: dhMilestonePop 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dh-synergy-kicker {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 800;
  color: #f5d472;
  margin-bottom: 4px;
}

.dh-synergy-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff8eb;
  margin: 0 0 4px;
  line-height: 1.6;
}

.dh-synergy-desc {
  font-size: 0.82rem;
  color: #dcd6c8;
  margin: 0;
  line-height: 1.75;
}

/* ---------- Hierarchical District Group Headers (SubRealms & NarrowPaths) ---------- */
.dh-district-group {
  margin: 14px 0 18px;
}

.dh-district-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  margin-bottom: 10px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, transparent 0%, var(--dh-world-soft, rgba(240, 192, 64, 0.1)) 100%),
    #141722;
  border: 1px solid var(--dh-world-border, rgba(255, 255, 255, 0.12));
}

.dh-district-head-main {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.dh-district-head-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #f5efe2;
  line-height: 1.5;
}

.dh-district-head-sub {
  display: block;
  font-size: 0.74rem;
  color: #b8b2a4;
  font-weight: 500;
}

.dh-district-count {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--dh-world, #f0c040);
  white-space: nowrap;
}

/* ---------- Physical 3D Swipe Card Stack & Drag Stamps ---------- */
.dh-swipe-stage {
  position: relative;
  margin: 14px 0 22px;
  padding-bottom: 14px;
  perspective: 1000px;
}

.dh-swipe-stack-back {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  border-radius: 20px;
  background: #141722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.dh-swipe-stack-back--1 {
  transform: translate3d(0, 7px, 0) scale(0.968);
  opacity: 0.78;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.dh-swipe-stack-back--2 {
  transform: translate3d(0, 14px, 0) scale(0.935);
  opacity: 0.45;
  z-index: 0;
}

#app #dh-swipe-card {
  position: relative;
  z-index: 2;
  margin: 0 !important;
  border-radius: 20px !important;
  padding: 22px 18px 20px !important;
  background:
    radial-gradient(125% 95% at 50% 0%, var(--dh-world-soft, rgba(240, 192, 64, 0.13)) 0%, rgba(23, 26, 37, 0) 64%),
    #171a25 !important;
  border: 1.5px solid var(--dh-world-border, rgba(240, 192, 64, 0.32)) !important;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.48),
    0 0 28px var(--dh-world-glow, rgba(240, 192, 64, 0.14)) !important;
  touch-action: pan-y;
  will-change: transform;
  cursor: grab;
}

#app #dh-swipe-card.is-dragging {
  cursor: grabbing;
  transition: none !important;
}

#app #dh-swipe-card.dh-deal-anim {
  animation: dhCardDeal 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dh-swipe-stamp {
  position: absolute;
  top: 16px;
  z-index: 5;
  padding: 5px 13px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.dh-swipe-stamp--like {
  right: 16px;
  transform: rotate(8deg);
  color: #34d399;
  background: rgba(16, 40, 32, 0.92);
  border: 2px solid #34d399;
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.35);
}

.dh-swipe-stamp--skip {
  left: 16px;
  transform: rotate(-8deg);
  color: #fb7185;
  background: rgba(42, 18, 26, 0.92);
  border: 2px solid #fb7185;
  box-shadow: 0 0 18px rgba(251, 113, 133, 0.3);
}

.dh-swipe-world-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--dh-world, #f0c040);
  background: var(--dh-world-soft, rgba(240, 192, 64, 0.12));
  border: 1px solid var(--dh-world-border, rgba(240, 192, 64, 0.32));
  margin-bottom: 8px;
}

.dh-swipe-world-pill svg {
  width: 14px;
  height: 14px;
}

.dh-gesture-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.74rem;
  color: #9e988a;
  padding: 0 4px;
  margin-bottom: 10px;
}

.dh-spark-action-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 10px;
  width: 100%;
  margin: 6px 0 4px;
}

#app .dh-spark-action-row #dh-btn-heart {
  margin: 0 !important;
  min-height: 52px;
  border-radius: 14px;
  font-size: 0.96rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f5d061 0%, #f0c040 55%, #d4af37 100%) !important;
  color: #12100a !important;
  box-shadow: 0 8px 22px rgba(240, 192, 64, 0.32) !important;
}

#app .dh-spark-action-row #dh-btn-skip {
  margin: 0 !important;
  min-height: 52px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.045) !important;
  color: #d6d1c4 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

/* Live World Energy Mix Bar + Milestone Celebration */
.dh-world-mix-card {
  padding: 10px 13px;
  margin: 8px 0 10px;
  border-radius: 14px;
  background: #141722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: right;
}

.dh-world-mix-bar {
  display: flex;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: #222636;
  gap: 2px;
  margin: 7px 0 6px;
}

.dh-world-mix-seg {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.dh-world-mix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.73rem;
  color: #c8c2b4;
}

.dh-milestone-banner {
  padding: 11px 14px;
  margin: 8px 0 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.16), rgba(240, 192, 64, 0.16));
  border: 1px solid rgba(240, 192, 64, 0.45);
  color: #fff6df;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
  animation: dhMilestonePop 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---------- Strategies: 5 Chapters + Letter Badges + Live Thinking Mirror ---------- */
.dh-chapter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 13px;
  margin: 6px 0 10px;
  border-radius: 13px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.1), rgba(167, 139, 250, 0.12));
  border: 1px solid rgba(167, 139, 250, 0.28);
  font-size: 0.8rem;
}

.dh-chapter-title {
  font-weight: 800;
  color: #e9ddff;
}

.dh-chapter-steps {
  display: inline-flex;
  gap: 4px;
}

.dh-chapter-pip {
  width: 16px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
}

.dh-chapter-pip.is-done {
  background: #a78bfa;
}

.dh-chapter-pip.is-now {
  background: #f0c040;
  width: 24px;
}

.dh-opt-letter {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #c8c2b4;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  transition: all 0.18s ease;
}

#app .dh-answer-option.selected .dh-opt-letter {
  background: #f0c040;
  border-color: #f0c040;
  color: #0e1017;
}

.dh-q-card {
  animation: dhSpringIn 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dh-live-mirror {
  padding: 12px 14px;
  margin: 10px 0 12px;
  border-radius: 15px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(167, 139, 250, 0.16), transparent 65%),
    #141722;
  border: 1px solid rgba(167, 139, 250, 0.3);
  text-align: right;
}

.dh-live-mirror.is-checkpoint {
  border-color: rgba(240, 192, 64, 0.55);
  box-shadow: 0 8px 24px rgba(240, 192, 64, 0.14);
  animation: dhMilestonePop 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dh-live-mirror-kicker {
  font-size: 0.73rem;
  font-weight: 800;
  color: #c4b5fd;
  margin-bottom: 3px;
}

.dh-live-mirror.is-checkpoint .dh-live-mirror-kicker {
  color: #f5d472;
}

.dh-live-mirror-main {
  font-size: 0.88rem;
  font-weight: 800;
  color: #f5efe2;
  line-height: 1.65;
}

/* ---------- Values: Dramatic Split Duel Arena ("دوراهی ارزش‌ها") ---------- */
.dh-duel-arena {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 14px 0 6px;
}

@media (min-width: 440px) {
  .dh-duel-arena {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

.dh-duel-vs {
  position: relative;
  z-index: 3;
  justify-self: center;
  align-self: center;
  margin: -8px auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 900;
  color: #f5efe2;
  background: linear-gradient(145deg, #24283b, #141722);
  border: 1.5px solid rgba(240, 192, 64, 0.5);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

@media (min-width: 440px) {
  .dh-duel-vs {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
}

#app .dh-duel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  text-align: right;
  min-height: 148px;
  padding: 16px 15px !important;
  border-radius: 18px !important;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#app .dh-duel-card--a {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(251, 191, 36, 0.14), transparent 65%),
    #181b28 !important;
  border: 1.5px solid rgba(251, 191, 36, 0.34) !important;
}

#app .dh-duel-card--b {
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(56, 189, 248, 0.15), transparent 65%),
    #181b28 !important;
  border: 1.5px solid rgba(56, 189, 248, 0.34) !important;
}

#app .dh-duel-card:hover {
  transform: translateY(-2px);
}

#app .dh-duel-card:active {
  transform: scale(0.985);
}

#app .dh-duel-card--a.selected {
  background:
    radial-gradient(130% 110% at 100% 0%, rgba(251, 191, 36, 0.26), transparent 70%),
    #212434 !important;
  border-color: #fbbf24 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.44), 0 0 24px rgba(251, 191, 36, 0.25) !important;
}

#app .dh-duel-card--b.selected {
  background:
    radial-gradient(130% 110% at 0% 0%, rgba(56, 189, 248, 0.26), transparent 70%),
    #212434 !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.44), 0 0 24px rgba(56, 189, 248, 0.25) !important;
}

.dh-duel-pole-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-bottom: 10px;
}

.dh-duel-pole-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.dh-duel-card--a .dh-duel-pole-tag {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.dh-duel-card--b .dh-duel-pole-tag {
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.dh-duel-body {
  font-size: 0.93rem;
  font-weight: 600;
  color: #f5efe2;
  line-height: 1.85;
  margin: 0;
}

/* ---------- Choice Snapshot & Luxury Gold Primary CTAs & Story Identity Card ---------- */
.dh-choice-modes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 16px 0;
}

#app .dh-choice-mode-card {
  width: 100%;
  display: block;
  margin: 0 !important;
  text-align: right;
  padding: 18px 18px !important;
  border-radius: 18px !important;
  cursor: pointer;
  border: 1.5px solid #fbe38e !important;
  background: linear-gradient(135deg, #f8da72 0%, #f0c040 52%, #cfa125 100%) !important;
  color: #141108 !important;
  font-family: inherit;
  box-shadow: 0 12px 30px rgba(240, 192, 64, 0.34), inset 0 1px 0 rgba(255, 250, 224, 0.55) !important;
  transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

#app .dh-choice-mode-card--alt {
  border-color: #ffe8a3 !important;
  background: linear-gradient(135deg, #f5d259 0%, #e7b532 54%, #c7951c 100%) !important;
}

#app .dh-choice-mode-card:hover:not(:disabled):not([aria-disabled="true"]) {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 16px 36px rgba(240, 192, 64, 0.45), inset 0 1px 0 rgba(255, 252, 232, 0.72) !important;
}

#app .dh-choice-mode-card:active:not(:disabled):not([aria-disabled="true"]) {
  transform: scale(0.986);
}

#app .dh-choice-mode-card:focus-visible {
  outline: 2px solid #fff8eb;
  outline-offset: 3px;
}

.dh-choice-kicker {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #f8da72;
  background: rgba(14, 16, 23, 0.88);
  border: 1px solid rgba(255, 248, 220, 0.22);
  margin-bottom: 8px;
}

.dh-choice-title {
  font-size: 1.08rem;
  font-weight: 900;
  color: #120f07;
  line-height: 1.6;
  margin-bottom: 5px;
}

.dh-choice-sub {
  font-size: 0.86rem;
  font-weight: 600;
  color: #26200f;
  line-height: 1.75;
}

#app .dh-choice-mode-card:disabled,
#app .dh-choice-mode-card[aria-disabled="true"] {
  background: #222634 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.13) !important;
  color: #8e8a7f !important;
  box-shadow: none !important;
  opacity: 0.62 !important;
  cursor: not-allowed !important;
  transform: none !important;
  filter: none !important;
}

#app .dh-choice-mode-card:disabled .dh-choice-kicker,
#app .dh-choice-mode-card[aria-disabled="true"] .dh-choice-kicker {
  color: #9e9a8f;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

#app .dh-choice-mode-card:disabled .dh-choice-title,
#app .dh-choice-mode-card[aria-disabled="true"] .dh-choice-title {
  color: #a6a296;
}

#app .dh-choice-mode-card:disabled .dh-choice-sub,
#app .dh-choice-mode-card[aria-disabled="true"] .dh-choice-sub {
  color: #858176;
}

.dh-reveal-orb {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 2.5px solid rgba(240, 192, 64, 0.22);
  border-top-color: #f0c040;
  border-right-color: #38bdf8;
  animation: dhOrbitSpin 0.95s linear infinite;
}

.dh-story-id-card {
  position: relative;
  overflow: hidden;
  padding: 20px 18px;
  margin: 14px 0 18px;
  border-radius: 22px;
  background:
    radial-gradient(125% 95% at 100% 0%, var(--dh-id-a, rgba(240, 192, 64, 0.22)), transparent 60%),
    radial-gradient(120% 95% at 0% 100%, var(--dh-id-b, rgba(56, 189, 248, 0.18)), transparent 62%),
    linear-gradient(165deg, #1a1e2e 0%, #111420 100%);
  border: 1.5px solid rgba(240, 192, 64, 0.42);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
  text-align: right;
  animation: dhSpringIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dh-story-id-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.dh-story-id-brand {
  font-size: 0.74rem;
  font-weight: 800;
  color: #f5d472;
  letter-spacing: 0.02em;
}

.dh-story-id-match {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff8eb;
  line-height: 1.55;
  margin: 4px 0 10px;
}

.dh-story-id-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 14px;
}

.dh-story-id-pill {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f5efe2;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.dh-story-share-btn {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 13px;
  border: 1px solid rgba(240, 192, 64, 0.48);
  background: rgba(240, 192, 64, 0.14);
  color: #fff6df;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.dh-story-share-btn:hover {
  background: rgba(240, 192, 64, 0.24);
}

@media (prefers-reduced-motion: reduce) {
  .dh-gateway-hero,
  #app .option.dh-route-card.dh-world-card,
  #app #dh-swipe-card.dh-deal-anim,
  .dh-q-card,
  .dh-synergy-card,
  .dh-milestone-banner,
  .dh-story-id-card {
    animation: none !important;
    transition: none !important;
  }
}
