/* shell.css v2 */
:root {
  --dh-tab-h: 64px;
  --dh-safe-bottom: env(safe-area-inset-bottom, 0px);
}

body {
  padding-bottom: calc(var(--dh-tab-h) + var(--dh-safe-bottom) + 12px) !important;
}

html.dh-installed #dh-install-banner,
html.dh-installed #dh-install-home {
  display: none !important;
}

#dh-tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10000;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: calc(var(--dh-tab-h) + var(--dh-safe-bottom));
  padding-bottom: var(--dh-safe-bottom);
  background: rgba(10, 10, 16, 0.97);
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
#dh-tabbar button {
  flex: 1; border: none; background: transparent;
  color: #7a6a4a; font-family: inherit; font-size: 0.72rem;
  padding: 8px 4px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
#dh-tabbar button .ico { font-size: 1.3rem; }
#dh-tabbar button.active { color: #f0c040; }

.dh-home-wrap { padding: 6px 2px 28px; text-align: right; }

.dh-home-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 10px; margin-bottom: 16px;
}
.dh-greet { margin: 0; color: #e8e0d0; font-size: 1.05rem; }
.dh-greet b { color: #f0c040; }
.dh-date { margin: 4px 0 0; color: #6a6048; font-size: 0.78rem; }

.dh-chip {
  font-size: 0.72rem; padding: 6px 10px; border-radius: 999px;
  background: rgba(240,192,64,0.12); color: #d4af37;
  border: 1px solid rgba(240,192,64,0.3); white-space: nowrap;
}

.dh-quote-hero {
  background: linear-gradient(160deg, #1c1a28 0%, #121018 55%, #1a1510 100%);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 18px;
  padding: 16px 14px 14px;
  margin-bottom: 14px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.dh-quote-label {
  color: #f0c040; font-size: 0.9rem; font-weight: 700; margin-bottom: 4px;
}
.dh-quote-sub {
  color: #7a6a4a; font-size: 0.75rem; margin-bottom: 14px;
}
.dh-q-line {
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.dh-q-line:first-of-type { border-top: none; }
.dh-q-num {
  grid-row: 1 / span 2;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(240,192,64,0.15); color: #f0c040;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; margin-top: 2px;
}
.dh-q-line p {
  margin: 0; color: #ece4d4; font-size: 0.95rem; line-height: 1.9;
}
.dh-q-tag {
  font-size: 0.7rem; color: #8a7a55;
}
.dh-quote-foot {
  margin-top: 12px; font-size: 0.7rem; color: #5a5040; text-align: center;
}

.dh-fade-in {
  animation: dhFadeUp 0.45s ease both;
}
@keyframes dhFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dh-cta-card {
  background: #161622;
  border: 1px solid #2a2a3e;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.dh-cta-title {
  margin: 0 0 6px; color: #f0c040; font-size: 1.05rem; font-weight: 700;
}
.dh-cta-desc {
  margin: 0 0 14px; color: #a09070; font-size: 0.88rem; line-height: 1.7;
}
.dh-cta-main { width: 100%; }
.dh-cta-sec {
  width: 100%; margin-top: 8px;
  border-color: rgba(212,175,55,0.45) !important;
  color: #f0c040 !important;
}

.dh-mini-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.dh-mini {
  background: #12121c; border: 1px solid #2a2a3e; border-radius: 12px;
  padding: 14px 10px; color: #cbb98a; font-family: inherit; font-size: 0.85rem;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer;
}
.dh-mini span { font-size: 1.2rem; }

.dh-profile-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #8a7020);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; font-weight: 700; color: #111;
  margin: 0 auto 12px;
}
.dh-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0;
}
.dh-stat {
  background: #12121c; border-radius: 12px; padding: 12px; text-align: center;
  border: 1px solid #2a2a3e;
}
.dh-stat .n { font-size: 1.3rem; color: #f0c040; font-weight: 700; }
.dh-stat .l { font-size: 0.75rem; color: #8a7a55; margin-top: 4px; }

.dh-mini-one { grid-template-columns: 1fr; }
.dh-mini-one .dh-mini { flex-direction: row; justify-content: center; gap: 8px; padding: 14px; }

/* پروفایل غنی */
.dh-last-card {
  margin-top: 14px;
  background: #12121c;
  border: 1px solid rgba(212,175,55,0.28);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: right;
}
.dh-last-empty { border-style: dashed; opacity: 0.95; }
.dh-last-title {
  color: #f0c040;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.dh-last-meta {
  color: #7a6a4a;
  font-size: 0.75rem;
  margin-bottom: 10px;
}
.dh-last-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.dh-last-row:first-of-type { border-top: none; }
.dh-last-rank {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(240,192,64,0.15); color: #f0c040;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.dh-last-name {
  flex: 1; color: #e8e0d0; font-size: 0.9rem; line-height: 1.5;
}
.dh-last-score {
  color: #d4af37; font-size: 0.85rem; font-weight: 700; flex-shrink: 0;
}

/* محتوا محدود؛ تب‌بار تمام‌عرض */
.container, #app {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.btn, button.btn {
  min-height: 48px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0;
}
.card {
  border-radius: 16px;
}

.dh-brand { margin-bottom: 10px; }
.dh-brand-name { font-size: 1.35rem; font-weight: 800; color: #f0c040; }
.dh-brand-sub { margin-top: 4px; font-size: 0.78rem; color: #b0a080; line-height: 1.65; }
.dh-date { color: #c4b48a !important; font-size: 0.88rem !important; opacity: 1 !important; margin-top: 6px !important; }
.dh-greet { margin-top: 10px !important; }


/* ===== FIX v16: تب‌بار همیشه ۳ دکمه کامل ===== */
#dh-tabbar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-around !important;
  align-items: stretch !important;
  height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  z-index: 2147483000 !important;
  background: rgba(10, 10, 16, 0.98) !important;
  border-top: 1px solid rgba(212, 175, 55, 0.28) !important;
}
#dh-tabbar button {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}
#dh-install-banner {
  bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 2147482000 !important;
}

.dh-build-v{font-size:0.7rem;color:#8a7a55;font-weight:600;margin-right:6px;}


/* ========== UI Premium v21 — حس اپ آموزشی ========== */
:root {
  --dh-gold: #f0c040;
  --dh-gold-dim: #d4af37;
  --dh-bg: #0c0c12;
  --dh-card: #14141c;
  --dh-border: rgba(212, 175, 55, 0.28);
  --dh-text: #e8e0d0;
  --dh-muted: #8a7a55;
}

body {
  background: radial-gradient(ellipse at top, #16141f 0%, var(--dh-bg) 55%) !important;
  color: var(--dh-text);
}

#app, .container {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 14px;
  padding-right: 14px;
}

/* هدر پیشرفت */
.dh-progress-wrap, .dh-edu-header {
  background: rgba(20, 20, 28, 0.92);
  border: 1px solid var(--dh-border);
  border-radius: 16px;
  padding: 12px 14px 10px;
  margin: 8px 0 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.dh-progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.78rem;
  color: var(--dh-muted);
}
.dh-progress-labels .on {
  color: var(--dh-gold);
  font-weight: 700;
}
.dh-brand-mini {
  font-weight: 800;
  color: var(--dh-gold-dim);
  letter-spacing: 0.02em;
}
.dh-progress-track {
  height: 6px;
  background: #1e1e2a;
  border-radius: 99px;
  overflow: hidden;
}
.dh-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #b8962e, var(--dh-gold), #ffe08a);
  border-radius: 99px;
  transition: width 0.35s ease;
  box-shadow: 0 0 12px rgba(240,192,64,0.45);
}
.dh-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  gap: 4px;
}
.dh-step {
  flex: 1;
  text-align: center;
  font-size: 0.65rem;
  color: #5a5040;
}
.dh-step i {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto 5px;
  border-radius: 50%;
  background: #2a2a38;
  border: 1.5px solid #3a3a4a;
}
.dh-step.active { color: var(--dh-gold); font-weight: 700; }
.dh-step.active i {
  background: var(--dh-gold);
  border-color: var(--dh-gold);
  box-shadow: 0 0 10px rgba(240,192,64,0.6);
}
.dh-step.done { color: #a89050; }
.dh-step.done i {
  background: #a89050;
  border-color: #a89050;
}

/* کارت‌ها و دکمه‌ها */
.card {
  background: var(--dh-card) !important;
  border: 1px solid var(--dh-border) !important;
  border-radius: 18px !important;
  padding: 16px !important;
  box-shadow: 0 10px 32px rgba(0,0,0,0.28);
}
.btn, button.btn {
  min-height: 48px !important;
  border-radius: 14px !important;
  font-weight: 600 !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn-primary, button.btn-primary {
  background: linear-gradient(135deg, #d4af37, #f0c040) !important;
  color: #1a1408 !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(212,175,55,0.35);
}
.btn-primary:active, button.btn-primary:active {
  transform: scale(0.98);
}
.btn:not(.btn-primary) {
  background: #1a1a24 !important;
  border: 1px solid #333 !important;
  color: var(--dh-text) !important;
}

/* گزینه‌های قلمرو / مسیر */
.option {
  background: #12121a !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 16px !important;
  padding: 14px !important;
  transition: border-color 0.15s ease, transform 0.12s ease, background 0.15s ease;
}
.option.selected {
  border-color: var(--dh-gold) !important;
  background: rgba(240,192,64,0.08) !important;
  box-shadow: 0 0 0 1px rgba(240,192,64,0.25);
}
.option:active:not(.dh-path-done) {
  transform: scale(0.985);
}
.dh-path-done {
  opacity: 0.4 !important;
  pointer-events: none !important;
  filter: grayscale(0.75);
  border-color: #2a2a32 !important;
}
.dh-path-done strong { color: #777 !important; }

/* جرقه */
.dh-spark-chip {
  background: linear-gradient(135deg, rgba(240,192,64,0.12), rgba(20,20,28,0.9));
  border: 1px solid rgba(240,192,64,0.35);
  border-radius: 14px;
  padding: 10px 12px;
  margin: 8px 0 12px;
}
.dh-spark-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dh-gold);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.dh-spark-hint {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--dh-muted);
}
.dh-spark-bar {
  height: 5px;
  background: #1e1e2a;
  border-radius: 99px;
  overflow: hidden;
}
.dh-spark-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #d4af37, #f0c040);
  border-radius: 99px;
  transition: width 0.3s ease;
}

/* تب‌بار */
#dh-tabbar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
  z-index: 2147483000 !important;
  background: rgba(10, 10, 16, 0.97) !important;
  border-top: 1px solid rgba(212, 175, 55, 0.28) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
#dh-tabbar button.active {
  color: var(--dh-gold) !important;
}

/* عناوین */
h2 {
  letter-spacing: -0.01em;
}
.dh-stage-hint {
  color: var(--dh-muted) !important;
  font-size: 0.88rem !important;
  line-height: 1.7 !important;
}

/* نتایج */
.dh-motive-count {
  display: inline-block;
  margin: 8px 0 4px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(240,192,64,0.12);
  border: 1px solid rgba(240,192,64,0.35);
  color: var(--dh-gold);
}


/* ——— جذابیت v17: جرقه‌یاب + والدین ——— */
.dh-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 4px;
}
.dh-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(240,192,64,0.28);
  background: linear-gradient(160deg, rgba(26,26,46,0.95), rgba(14,14,22,0.98));
  color: var(--text-primary, #e0e0e0);
  text-align: right;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.dh-feature:active { transform: scale(0.98); }
.dh-feature:hover { border-color: rgba(240,192,64,0.55); }
.dh-f-ico { font-size: 1.15rem; }
.dh-f-t { font-weight: 700; font-size: 0.95rem; color: #f0c040; }
.dh-f-d { font-size: 0.75rem; color: #9a9080; }

.dh-back-link {
  background: none;
  border: none;
  color: #9a9080;
  font-size: 0.88rem;
  margin-bottom: 10px;
  cursor: pointer;
  padding: 6px 0;
  font-family: inherit;
}
.dh-spark-title, .dh-par-title {
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: #f0e6c8;
}
.dh-spark-desc, .dh-par-lead {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #b0a080;
  margin-bottom: 14px;
}
.dh-spark-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.dh-spark-time {
  min-width: 2rem;
  font-weight: 700;
  color: #f0c040;
  font-variant-numeric: tabular-nums;
}
.dh-spark-track {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.dh-spark-track i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #d4af37, #f0c040);
  border-radius: 99px;
  transition: width 0.35s linear;
}
.dh-spark-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dh-spark-card {
  text-align: right;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #14141e;
  color: #e0e0e0;
  font-size: 0.88rem;
  line-height: 1.65;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.dh-spark-card.on {
  border-color: rgba(240,192,64,0.65);
  background: rgba(240,192,64,0.12);
  box-shadow: 0 0 0 1px rgba(240,192,64,0.2);
}
.dh-spark-hint {
  margin-top: 10px;
  font-size: 0.75rem;
  color: #7a7368;
  text-align: center;
}
.dh-spark-result {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(240,192,64,0.25);
  background: #151520;
  line-height: 1.8;
}
.dh-spark-msg { margin-top: 10px; color: #c8c0b0; font-size: 0.92rem; }

.dh-par-card {
  margin: 12px 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #151520;
}
.dh-par-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #f0c040;
}
.dh-par-card p, .dh-par-list {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #c8c0b0;
}
.dh-par-card.warn {
  border-color: rgba(196,100,80,0.35);
  background: rgba(60,24,20,0.35);
}
.dh-par-card.warn h3 { color: #e09080; }
.dh-par-card.good {
  border-color: rgba(240,192,64,0.35);
  background: rgba(40,32,12,0.4);
}
.dh-par-list {
  padding-right: 18px;
  margin: 0;
}
.dh-par-list li { margin-bottom: 10px; }


/* v18 badges + stories */
.dh-feature-3 { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
@media (max-width: 380px) {
  .dh-feature-3 { grid-template-columns: 1fr; }
}
.dh-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}
.dh-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #12121a;
  opacity: 0.4;
  font-size: 0.68rem;
  color: #8a8478;
}
.dh-badge.on {
  opacity: 1;
  border-color: rgba(240,192,64,0.55);
  background: rgba(240,192,64,0.12);
  color: #f0c040;
}
.dh-badge-ico { font-size: 0.75rem; }
.dh-badge-new {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(240,192,64,0.15);
  border: 1px solid rgba(240,192,64,0.4);
  color: #f0e6c0;
  font-size: 0.88rem;
  line-height: 1.6;
}
.dh-story-list { display: flex; flex-direction: column; gap: 10px; }
.dh-story-card {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #151520;
}
.dh-story-card.featured {
  border-color: rgba(240,192,64,0.35);
  background: rgba(40,32,12,0.35);
}
.dh-story-tag {
  display: inline-block;
  font-size: 0.7rem;
  color: #f0c040;
  margin-bottom: 6px;
  opacity: 0.9;
}
.dh-story-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #f0e6c8;
}
.dh-story-card p {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #c8c0b0;
}
.dh-story-foot {
  margin-top: 12px;
  font-size: 0.75rem;
  color: #7a7368;
  text-align: center;
  line-height: 1.6;
}


/* داستان زنده اسب‌های سیاه */
.dh-story-live-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.dh-story-pill {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(240,192,64,0.15);
  border: 1px solid rgba(240,192,64,0.4);
  color: #f0c040;
}
.dh-story-count {
  font-size: 0.75rem;
  color: #8a8478;
  font-variant-numeric: tabular-nums;
}
.dh-story-today {
  font-size: 0.82rem;
  color: #9a9080;
  margin-bottom: 12px;
  line-height: 1.5;
}
.dh-story-hero {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(240,192,64,0.28);
  background: linear-gradient(165deg, rgba(40,32,12,0.45), rgba(18,18,28,0.98));
  margin-bottom: 12px;
}
.dh-story-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f0e6c8;
}
.dh-story-en {
  font-size: 0.8rem;
  color: #a09070;
  margin-top: 2px;
  direction: ltr;
  text-align: right;
}
.dh-story-role {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #f0c040;
}
.dh-story-lesson {
  margin: 12px 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e8e0d0;
  font-weight: 600;
}
.dh-story-body {
  font-size: 0.9rem;
  line-height: 1.85;
  color: #c8c0b0;
}
.dh-story-tip {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  line-height: 1.7;
  color: #d0c8b8;
}
.dh-story-actions {
  display: flex;
  gap: 8px;
}


/* سخن بزرگان */
.dh-feature-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dh-poem-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(240,192,64,0.22);
  background: linear-gradient(165deg, rgba(28,24,40,0.95), rgba(18,18,28,0.98));
  margin-bottom: 10px;
}
.dh-poem-label {
  display: inline-block;
  font-size: 0.7rem;
  color: #c0a860;
  margin-bottom: 8px;
}
.dh-poem-line {
  font-size: 1.05rem;
  line-height: 2;
  color: #f0e8d8;
  text-align: center;
  margin: 4px 0;
}
.dh-poem-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.dh-poem-poet {
  color: #f0c040;
  font-size: 0.88rem;
  font-weight: 600;
}
.dh-poem-tag {
  font-size: 0.72rem;
  color: #8a8478;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}
.dh-poem-live-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}


/* ===== Home v22 — ماکت حرفه‌ای ===== */
.dh-home-v22 { padding-bottom: 12px; }
.dh-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 8px;
}
.dh-top-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}
.dh-logo-title {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #f0c040;
  text-align: center;
}
.dh-logo-sub {
  font-size: 0.68rem;
  color: #8a8478;
  text-align: center;
  margin-top: 2px;
}
.dh-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, #2a2418, #121018);
  border: 1px solid rgba(240,192,64,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(240,192,64,0.15);
}
.dh-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #c8c0b0;
  font-size: 1rem;
  cursor: pointer;
}
.dh-hello { text-align: center; margin-bottom: 18px; }
.dh-hello-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #f5f0e6;
  margin: 0 0 6px;
  line-height: 1.4;
}
.dh-hello-sub {
  margin: 0;
  color: #9a9285;
  font-size: 0.9rem;
  line-height: 1.7;
}
.dh-hero-journey {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(40,34,22,0.95), rgba(18,16,28,0.98));
  border: 1px solid rgba(240,192,64,0.28);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35), inset 0 1px 0 rgba(240,192,64,0.08);
  margin-bottom: 12px;
}
.dh-hero-text { flex: 1; text-align: right; }
.dh-hero-text h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: #f0c040;
}
.dh-hero-text p {
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: #b0a890;
  line-height: 1.6;
}
.dh-hero-cta {
  width: auto !important;
  min-width: 120px;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  font-size: 0.95rem !important;
}
.dh-compass {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(240,192,64,0.12), transparent 70%);
  animation: dh-compass-soft 6s ease-in-out infinite;
}
@keyframes dh-compass-soft {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}
.dh-progress-card,
.dh-spark-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(22,20,32,0.92);
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 12px;
}
.dh-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.dh-progress-title { font-size: 0.95rem; color: #e8e0d0; font-weight: 600; }
.dh-progress-sub { font-size: 0.78rem; color: #8a8478; margin-top: 3px; }
.dh-progress-ico { opacity: 0.7; }
.dh-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.dh-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a227, #f0c040);
  transition: width 0.6s ease;
}
.dh-progress-pct {
  text-align: left;
  font-size: 0.8rem;
  color: #f0c040;
  margin-top: 6px;
  font-weight: 600;
}
.dh-spark-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.dh-spark-label { color: #c0a860; font-size: 0.85rem; font-weight: 600; }
.dh-spark-marks { color: rgba(240,192,64,0.45); font-size: 1.4rem; line-height: 1; }
.dh-spark-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #e8e2d6;
}
.dh-spark-author {
  margin-top: 10px;
  font-size: 0.78rem;
  color: #8a8478;
  text-align: left;
}
.dh-feature-soft .dh-feature {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}
.dh-chip-line { text-align: center; margin: 8px 0 0; }
#dh-tabbar button .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}
#dh-tabbar button .ico svg { display: block; }
#dh-tabbar button.active { color: #f0c040; }
#dh-tabbar button.active .ico { color: #f0c040; }

@media (prefers-reduced-motion: reduce) {
  .dh-compass { animation: none; }
}


/* ===== Home v23 fixes ===== */
.dh-topbar-clean { justify-content: center; }
.dh-topbar-clean .dh-top-brand { justify-content: center; }
.dh-hello-title {
  font-size: 1.55rem !important;
  font-weight: 700;
  color: #f5f0e6 !important;
  line-height: 1.45;
}
.dh-hello-sub {
  font-size: 1rem !important;
  color: #b0a890 !important;
  line-height: 1.8;
  margin-top: 6px;
}
.dh-date {
  margin-top: 10px !important;
  font-size: 0.92rem !important;
  color: #9a9285 !important;
  opacity: 1 !important;
}
.dh-hero-text h2 { font-size: 1.25rem !important; }
.dh-hero-text p { font-size: 0.95rem !important; line-height: 1.7; }
.dh-hero-cta { font-size: 1rem !important; padding: 12px 26px !important; }
.dh-progress-title { font-size: 1.05rem !important; }
.dh-progress-sub { font-size: 0.88rem !important; }
.dh-progress-pct-big {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f0c040;
}
.dh-messages-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(22,20,32,0.92);
  border: 1px solid rgba(240,192,64,0.18);
  margin-bottom: 14px;
  text-align: right;
}
.dh-messages-head { margin-bottom: 12px; }
.dh-messages-label {
  display: block;
  color: #f0c040;
  font-size: 1.05rem;
  font-weight: 700;
}
.dh-messages-sub {
  display: block;
  margin-top: 4px;
  color: #8a8478;
  font-size: 0.88rem;
}
.dh-q-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dh-q-line:last-of-type { border-bottom: none; }
.dh-q-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(240,192,64,0.15);
  color: #f0c040;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.dh-q-body p {
  margin: 0;
  font-size: 1rem !important;
  line-height: 1.85 !important;
  color: #e8e2d6 !important;
}
.dh-q-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #a09070;
}
.dh-quote-foot {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #6a6558;
  text-align: center;
}
.dh-f-t { font-size: 0.95rem !important; }
.dh-f-d { font-size: 0.78rem !important; }

/* تب‌بار: فقط یک آیکون SVG */
#dh-tabbar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: none;
  border: none;
  color: #8a8478;
  font-family: inherit;
  font-size: 0.75rem;
  padding: 6px 8px;
}
#dh-tabbar button .ico {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 0 !important;
  line-height: 0 !important;
}
#dh-tabbar button .ico::before,
#dh-tabbar button .ico::after {
  content: none !important;
  display: none !important;
}
#dh-tabbar button .ico svg {
  display: block;
  width: 22px;
  height: 22px;
}
#dh-tabbar button .lbl {
  font-size: 0.78rem;
  line-height: 1.2;
}
#dh-tabbar button.active {
  color: #f0c040;
}


/* ===== v24: session + brand + larger feature text ===== */
.dh-topbar-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 14px;
}
.dh-top-brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.dh-brand-text { text-align: center; }
.dh-logo-title {
  font-size: 0.95rem !important;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #f0c040 !important;
}
.dh-logo-sub {
  font-size: 0.95rem !important;
  color: #e8e0d0 !important;
  font-weight: 600;
  margin-top: 2px;
}
.dh-system-tagline {
  margin: 10px 0 0;
  padding: 8px 14px;
  max-width: 92%;
  font-size: 0.92rem !important;
  line-height: 1.6;
  color: #c8b890 !important;
  background: rgba(240,192,64,0.08);
  border: 1px solid rgba(240,192,64,0.22);
  border-radius: 999px;
  text-align: center;
}
.dh-feature {
  padding: 14px 10px !important;
}
.dh-f-ico { font-size: 1.45rem !important; }
.dh-f-t {
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  color: #efe8dc !important;
}
.dh-f-d {
  font-size: 0.86rem !important;
  color: #a09888 !important;
  margin-top: 4px;
}
.dh-hero-secondary {
  display: block;
  width: auto;
  margin-top: 10px;
  font-size: 0.9rem !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: #b0a890 !important;
}
.dh-hello-title { font-size: 1.6rem !important; }
.dh-hello-sub { font-size: 1.02rem !important; }
.dh-date { font-size: 0.95rem !important; }


/* روی v24 — فقط عنوان هویت، سلام+تاریخ، پیام بیشتر، فونت چهار آیکون */
.dh-identity-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.75;
  color: #f5f0e6;
}
.dh-greet-date {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: #a09888;
  line-height: 1.6;
}
.dh-msg-more {
  display: block;
  width: 100%;
  margin: 10px 0 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(240,192,64,0.3);
  background: rgba(240,192,64,0.07);
  color: #e0c878;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.dh-feature-soft .dh-f-t {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #f2ebe0 !important;
}
.dh-feature-soft .dh-f-d {
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #a8a090 !important;
}
.dh-feature-soft .dh-f-ico {
  font-size: 1.5rem !important;
}


/* آیکون اسب بالای DARK HORSE */
.dh-top-brand-center {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}
.dh-logo-mark {
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  overflow: hidden;
  border: 1px solid rgba(240,192,64,0.35);
  box-shadow: 0 4px 14px rgba(212,175,55,0.22);
  background: #0a0a0f;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.dh-logo-horse {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.dh-brand-text { text-align: center; }


/* ============================================================
   HOME UNIFIED — یک تم واحد نزدیک ماکت
   بولد فقط: سامانه هدایت تحصیلی
   نام کاربر: سبک
   ============================================================ */

.dh-mk2 {
  max-width: 400px;
  margin: 0 auto;
  padding: 8px 12px 32px;
  color: #e8e2d6;
  background: radial-gradient(ellipse 120% 70% at 50% -5%, rgba(212,175,55,0.06), transparent 50%);
}

/* Brand */
.dh-mk2-brand { text-align: center; }
.dh-mk2-logo-ring {
  width: 104px; height: 104px; margin: 0 auto 12px;
  border-radius: 28px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(255,224,138,0.3), transparent 65%);
  box-shadow: 0 0 48px rgba(212,175,55,0.3);
}
.dh-mk2-logo-ring img {
  width: 92px; height: 92px; object-fit: contain;
  border-radius: 22px;
  border: 1.5px solid rgba(246,217,122,0.45);
}
.dh-mk2-word {
  font-size: 1.6rem; font-weight: 800; letter-spacing: 0.16em;
  color: #F0D060;
  text-shadow: 0 0 24px rgba(240,208,96,0.45);
}
.dh-mk2-fa {
  margin-top: 10px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 1.05rem; color: #ddd5c5; font-weight: 600;
}
.dh-mk2-fa i {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

/* ★ بولد فقط سامانه */
.dh-mk2-sys {
  margin: 16px auto 0 !important;
  max-width: 320px;
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  line-height: 1.75 !important;
  color: #f4efe6 !important;
  text-align: center;
}
.dh-mk2-sub {
  margin: 6px 0 0 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #c9b888 !important;
  text-align: center;
}

/* نام کاربر — نه بولد */
.dh-mk2-hello { text-align: center; margin: 14px 0 16px; }
.dh-mk2-greet {
  margin: 0 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: #9a9285 !important;
}
.dh-mk2-date {
  margin: 4px 0 0 !important;
  font-size: 0.78rem !important;
  color: #6a6558 !important;
  font-weight: 400 !important;
}

/* Hero */
.dh-mk2-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 196px;
  margin-bottom: 14px;
  border: 1.5px solid rgba(246,217,122,0.48);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.5),
    0 0 40px rgba(212,175,55,0.15);
}
.dh-mk2-hero-bg {
  position: absolute; inset: 0;
  background-color: #10121c;
  background-size: cover !important;
  background-position: 70% center !important;
}
.dh-mk2-hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 75% 45%, rgba(246,217,122,0.18), transparent 60%);
  pointer-events: none;
}
.dh-mk2-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(4,4,10,0.92) 0%, rgba(4,4,10,0.6) 42%, rgba(4,4,10,0.15) 100%);
  pointer-events: none;
}
.dh-mk2-hero-body { position: relative; z-index: 2; padding: 20px 18px 18px; }
.dh-mk2-hero-top { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.dh-mk2-compass {
  width: 48px; height: 48px; flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(255,224,138,0.5));
}
.dh-mk2-compass img { width: 48px; height: 48px; object-fit: contain; }
.dh-mk2-hero-title {
  font-size: 1.3rem; font-weight: 800; color: #F6D97A;
  text-shadow: 0 0 14px rgba(246,217,122,0.3);
}
.dh-mk2-hero-sub {
  margin-top: 5px;
  font-size: 1rem;
  font-weight: 800;
  color: #F0C040;
  line-height: 1.65;
  text-shadow: 0 0 10px rgba(240,192,64,0.24);
}
.dh-mk2-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border: none; border-radius: 999px;
  background: linear-gradient(180deg, #FFE08A, #C9A227);
  color: #1a1206; font-family: inherit; font-size: 1.02rem; font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(212,175,55,0.4);
}
.dh-mk2-cta span { font-size: 1.15rem; }

/* Progress */
.dh-mk2-progress {
  display: flex; gap: 14px; align-items: center;
  padding: 16px; border-radius: 18px;
  background: linear-gradient(145deg, #18151f, #0e0c14);
  border: 1px solid rgba(212,175,55,0.12);
  margin-bottom: 14px;
}
.dh-mk2-ring { position: relative; width: 72px; height: 72px; flex-shrink: 0; }
.dh-mk2-ring svg { width: 100%; height: 100%; }
.dh-mk2-ring-val { filter: drop-shadow(0 0 5px rgba(212,175,55,0.5)); }
.dh-mk2-ring span {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 0.95rem; font-weight: 800; color: #F0C040;
}
.dh-mk2-prog-body { flex: 1; min-width: 0; }
.dh-mk2-prog-title { font-size: 1rem; font-weight: 700; color: #ebe4d8; margin-bottom: 10px; }
.dh-mk2-bar {
  height: 7px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden;
}
.dh-mk2-bar i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #A67C00, #F6D97A);
}
.dh-mk2-cont {
  margin-top: 10px; padding: 0; border: none; background: none;
  color: #F0C040; font-family: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer;
}

/* Quote */
.dh-mk2-quote {
  padding: 18px 16px; border-radius: 18px;
  background: linear-gradient(160deg, #16131c, #0c0b12);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 18px;
}
.dh-mk2-quote-top {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.dh-mk2-quote-label { flex: 1; font-size: 1.05rem; font-weight: 800; color: #ebe4d8; }
.dh-mk2-qq { font-size: 1.5rem; color: rgba(240,192,64,0.4); }
.dh-mk2-quote-text {
  margin: 0; font-size: 0.98rem; line-height: 1.95; color: #d4ccc0; text-align: right;
}
.dh-mk2-quote-by { margin-top: 12px; font-size: 0.82rem; color: #8a8478; text-align: left; }

/* Features */
.dh-mk2-sep {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 14px; font-size: 0.88rem; font-weight: 700; color: #b0a070;
}
.dh-mk2-sep i {
  width: 52px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
}
.dh-mk2-orb {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: radial-gradient(circle at 40% 30%, rgba(255,224,138,0.28), #121018 68%);
  border: 1px solid rgba(246,217,122,0.32);
  box-shadow: 0 0 18px rgba(212,175,55,0.18);
}
.dh-mk2-orb img { width: 24px; height: 24px; object-fit: contain; display: block; }
.dh-mk2-orb-m {
  background: radial-gradient(circle at 40% 30%, rgba(126,200,163,0.18), #121018 68%);
  border-color: rgba(126,200,163,0.32);
}
.dh-mk2-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 14px 16px; margin-bottom: 10px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(145deg, #18151f, #100e16);
  color: inherit; font-family: inherit; cursor: pointer; text-align: right;
}
.dh-mk2-row-hot {
  border-color: rgba(246,217,122,0.32);
  box-shadow: 0 0 24px rgba(212,175,55,0.1);
}
.dh-mk2-row-t { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.dh-mk2-row-t strong { font-size: 1.02rem; color: #f4efe6; font-weight: 800; }
.dh-mk2-row-t span { font-size: 0.8rem; color: #8a8478; line-height: 1.5; }
.dh-mk2-chev { display: flex; align-items: center; opacity: 0.85; }
.dh-mk2-chev img { width: 18px; height: 18px; }
.dh-mk2-duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px;
}
.dh-mk2-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 16px 14px; min-height: 128px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(160deg, #18151f, #100e16);
  color: inherit; font-family: inherit; cursor: pointer; text-align: right;
}
.dh-mk2-tile strong { font-size: 0.98rem; color: #f4efe6; font-weight: 800; }
.dh-mk2-tile span { font-size: 0.76rem; color: #8a8478; line-height: 1.5; }


/* ============================================================
   FIX FOCUSED — دستور کاربر
   1) بولد فقط سامانه
   2) کارت سفر طلایی درخشان
   3) چهار عنصر یک رنگ طلایی
   4) کیفیت بصری مثل لوگوی اسب
   ============================================================ */

/* 1) بولد */
.dh-mk2-sys {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #f7f2e8 !important;
  line-height: 1.75 !important;
}
.dh-mk2-sub {
  font-weight: 600 !important;
  color: #d4c49a !important;
}
.dh-mk2-greet {
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  color: #8a8478 !important;
}

/* 4) لوگو — درخشش قوی‌تر (مرجع کیفیت) */
.dh-mk2-logo-ring {
  background:
    radial-gradient(circle at 50% 35%, rgba(255,230,150,0.45), transparent 60%),
    radial-gradient(circle at 50% 80%, rgba(212,175,55,0.2), transparent 55%) !important;
  box-shadow:
    0 0 40px rgba(246,217,122,0.45),
    0 0 80px rgba(212,175,55,0.2) !important;
}
.dh-mk2-logo-ring img {
  border-color: rgba(246,217,122,0.65) !important;
  box-shadow: 0 0 24px rgba(212,175,55,0.35) !important;
}
.dh-mk2-word {
  color: #F6D97A !important;
  text-shadow:
    0 0 18px rgba(246,217,122,0.55),
    0 0 36px rgba(212,175,55,0.3) !important;
}

/* 2) کارت سفر — طلایی درخشان */
.dh-mk2-hero {
  border: 2px solid rgba(246,217,122,0.65) !important;
  box-shadow:
    0 0 0 1px rgba(255,224,138,0.2),
    0 12px 40px rgba(0,0,0,0.5),
    0 0 50px rgba(212,175,55,0.35),
    inset 0 0 60px rgba(246,217,122,0.06) !important;
}
.dh-mk2-hero-glow {
  background: radial-gradient(ellipse 80% 70% at 70% 40%,
    rgba(255,224,138,0.35),
    rgba(212,175,55,0.12) 45%,
    transparent 70%) !important;
}
.dh-mk2-hero-title {
  color: #FFE08A !important;
  text-shadow: 0 0 20px rgba(255,224,138,0.5) !important;
}
.dh-mk2-cta {
  background: linear-gradient(180deg, #FFE9A0 0%, #F0C040 45%, #C9A227 100%) !important;
  box-shadow:
    0 6px 24px rgba(212,175,55,0.55),
    0 0 30px rgba(246,217,122,0.3) !important;
}
.dh-mk2-compass {
  filter: drop-shadow(0 0 14px rgba(255,224,138,0.65)) !important;
}

/* 3) چهار عنصر — یک رنگ طلایی (نه سبز برای والدین) */
.dh-mk2-orb,
.dh-mk2-orb-m {
  background: radial-gradient(circle at 40% 30%,
    rgba(255,224,138,0.35),
    rgba(20,18,28,0.95) 68%) !important;
  border: 1.5px solid rgba(246,217,122,0.45) !important;
  box-shadow:
    0 0 22px rgba(212,175,55,0.28),
    0 0 8px rgba(246,217,122,0.15) !important;
}
.dh-mk2-row,
.dh-mk2-tile {
  border-color: rgba(212,175,55,0.18) !important;
  background: linear-gradient(145deg, #1a1722, #100e16) !important;
}
.dh-mk2-row-hot {
  border-color: rgba(246,217,122,0.4) !important;
  box-shadow: 0 0 28px rgba(212,175,55,0.18) !important;
}
.dh-mk2-row-t strong,
.dh-mk2-tile strong {
  color: #f4efe6 !important;
}
.dh-mk2-sep span { color: #c9b888 !important; }
.dh-mk2-sep i {
  background: linear-gradient(90deg, transparent, rgba(246,217,122,0.6), transparent) !important;
  box-shadow: 0 0 8px rgba(212,175,55,0.35) !important;
}

/* پیشرفت هم هم‌خانواده طلایی */
.dh-mk2-progress {
  border-color: rgba(212,175,55,0.2) !important;
}
.dh-mk2-ring-val {
  filter: drop-shadow(0 0 8px rgba(246,217,122,0.55)) !important;
}
.dh-mk2-quote {
  border-color: rgba(212,175,55,0.12) !important;
}

.dh-mk2-meta{display:flex;justify-content:space-between;align-items:center;padding:4px 2px 10px}
.dh-mk2-meta-name{font-size:.88rem!important;font-weight:500!important;color:#a8a090!important}
.dh-mk2-meta-date{font-size:.78rem!important;font-weight:400!important;color:#6a6558!important}
.dh-mk2-logo-ring{background:radial-gradient(circle at 50% 35%,rgba(255,236,170,.55),transparent 58%),radial-gradient(circle at 50% 70%,rgba(212,175,55,.25),transparent 60%)!important;box-shadow:0 0 36px rgba(246,217,122,.55),0 0 70px rgba(212,175,55,.28)!important}
.dh-mk2-logo-ring img{border:1.5px solid rgba(255,224,138,.7)!important;box-shadow:0 0 28px rgba(246,217,122,.4)!important}
.dh-mk2-word{color:#FFE08A!important;text-shadow:0 0 22px rgba(255,224,138,.55),0 0 40px rgba(212,175,55,.3)!important}
.dh-mk2-hero{min-height:180px!important;border:1.5px solid rgba(246,217,122,.55)!important;box-shadow:0 10px 32px rgba(0,0,0,.4),0 0 36px rgba(212,175,55,.22)!important;border-radius:18px!important}
.dh-mk2-hero-glow{display:none!important}
.dh-mk2-hero-shade{background:linear-gradient(100deg,rgba(8,8,14,.88) 0%,rgba(8,8,14,.55) 45%,rgba(8,8,14,.2) 100%)!important}
.dh-mk2-hero-title{color:#F6D97A!important;text-shadow:0 0 12px rgba(246,217,122,.35)!important}
.dh-mk2-cta{background:linear-gradient(180deg,#FFE08A,#D4AF37)!important;box-shadow:0 6px 20px rgba(212,175,55,.4)!important}
.dh-mk2-sys{font-weight:800!important;font-size:1.12rem!important;color:#f4efe6!important}
.dh-guide-ov{position:fixed;inset:0;z-index:10050;background:rgba(0,0,0,.72);display:flex;align-items:flex-end;justify-content:center;padding:12px;font-family:Vazirmatn,sans-serif}
.dh-guide-panel{width:100%;max-width:420px;max-height:88vh;overflow:auto;background:linear-gradient(165deg,#1a1722,#0e0c14);border:1px solid rgba(212,175,55,.35);border-radius:20px 20px 16px 16px;padding:20px 18px 18px;position:relative}
.dh-guide-x{position:absolute;top:12px;left:12px;width:36px;height:36px;border:none;border-radius:50%;background:rgba(255,255,255,.06);color:#c8c0b0;font-size:1.4rem;cursor:pointer}
.dh-guide-title{margin:0 0 14px;text-align:center;font-size:1.15rem;color:#F0C040;font-weight:800}
.dh-guide-body{text-align:right;color:#c8c0b0;font-size:.9rem;line-height:1.95}
.dh-guide-body h3{color:#F0C040;font-size:.95rem;margin:14px 0 6px}
.dh-guide-body ul{padding-right:18px;margin:8px 0}
.dh-g-quote{color:#F6D97A!important;font-weight:700;margin-bottom:4px}
.dh-g-src{font-size:.78rem;color:#7a7568;margin-bottom:12px}
.dh-g-note{margin-top:12px;padding:10px 12px;border-radius:10px;background:rgba(212,175,55,.08);border:1px solid rgba(212,175,55,.2);color:#d4c49a!important}
.dh-guide-dots{display:flex;justify-content:center;gap:8px;margin:16px 0 12px}
.dh-guide-dots span{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.15)}
.dh-guide-dots span.on{background:#D4AF37}
.dh-guide-actions{display:flex;gap:10px}
.dh-guide-btn{flex:1;padding:12px;border:none;border-radius:12px;background:linear-gradient(180deg,#F0C040,#D4AF37);color:#1a1206;font-family:inherit;font-weight:800;font-size:.95rem;cursor:pointer}
.dh-guide-btn.secondary{background:transparent;color:#c8c0b0;border:1px solid rgba(255,255,255,.15)}


/* ========== v54: متن طلایی ملایم + اصلاح راهنما + پنل سفر + متا ========== */

/* ۱) نوشته‌های سفید → طلایی ملایم مثل «بر اساس فردیت» */
:root {
  --text-primary: #d4c49a !important;
  --text-secondary: #c9b888 !important;
  --text-soft: #b8a878 !important;
}
body, #app, .dh-home-wrap, .dh-mk2 {
  color: #d4c49a !important;
}
/* صفحات سفر / کارت‌ها / نتایج */
#app p, #app span, #app div, #app li, #app label,
.card, .quote, .swipe-card, .btn:not(.btn-primary):not(.dh-mk2-cta):not(.dh-guide-btn) {
  color: inherit;
}
#app h1, #app h2, #app h3 {
  color: #e8d9a8 !important;
}
/* تب‌بار */
.dh-tabbar, .dh-tab, .dh-tab span {
  color: #c9b888 !important;
}
.dh-tab.active, .dh-tab.active span {
  color: #F0C040 !important;
}

/* ۴) نام و تاریخ — سمت چپ، ستونی */
.dh-mk2-meta {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  padding: 6px 4px 12px !important;
}
.dh-mk2-meta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
  direction: ltr;
}
.dh-mk2-meta-name {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #c9b888 !important;
  direction: rtl;
  text-align: left;
}
.dh-mk2-meta-date {
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  color: #a89870 !important;
  direction: rtl;
  text-align: left;
}

/* ۳) پنل سفر — هم‌رنگ با صفحه، فقط حاشیه طلایی ظریف */
.dh-mk2-hero {
  background: #121018 !important;
  border: 1px solid rgba(212,175,55,0.28) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35) !important;
  min-height: 168px !important;
}
.dh-mk2-hero-bg {
  opacity: 0.45 !important;
  filter: saturate(0.85) brightness(0.9);
}
.dh-mk2-hero-shade {
  background: linear-gradient(105deg,
    rgba(12,12,18,0.92) 0%,
    rgba(12,12,18,0.75) 50%,
    rgba(12,12,18,0.55) 100%) !important;
}
.dh-mk2-hero-title {
  color: #e8d9a8 !important;
  text-shadow: none !important;
}
.dh-mk2-hero-sub {
  color: #F0C040 !important;
  font-weight: 800 !important;
}
.dh-mk2-cta {
  background: linear-gradient(180deg, #E8C547, #D4AF37) !important;
  box-shadow: 0 4px 16px rgba(212,175,55,0.3) !important;
}

/* ۲) راهنما — بالای تب‌بار + دکمه‌ها همیشه قابل لمس */
.dh-guide-ov {
  z-index: 10080 !important;
  align-items: center !important;
  padding: 16px 12px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
}
.dh-guide-panel {
  max-height: min(78vh, 640px) !important;
  margin-bottom: 0 !important;
  padding-bottom: 20px !important;
  display: flex;
  flex-direction: column;
}
.dh-guide-body {
  flex: 1;
  overflow: auto;
  max-height: none;
  padding-bottom: 8px;
  color: #d4c49a !important;
}
.dh-guide-actions {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  padding-top: 8px;
  background: linear-gradient(180deg, transparent, #121018 20%);
}
.dh-guide-title {
  color: #e8d9a8 !important;
}
.dh-guide-btn {
  min-height: 48px;
}

/* بولد سامانه */
.dh-mk2-sys {
  color: #e8d9a8 !important;
  font-weight: 800 !important;
}
.dh-mk2-sub {
  color: #c9b888 !important;
}

/* override common whites in journey UI */
#app [style*="color:#e0e0e0"],
#app [style*="color: #e0e0e0"],
#app [style*="color:#fff"],
#app [style*="color:#ffffff"],
#app [style*="color:white"] {
  color: #d4c49a !important;
}

/* v55 */
/* حذف اثر متا از خانه */
.dh-mk2-meta { display: none !important; }

/* پروفایل: نام + تاریخ */
.dh-prof-head {
  text-align: center;
  padding: 8px 0 16px;
  margin-bottom: 8px;
}
.dh-prof-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e8d9a8 !important;
}
.dh-prof-date {
  margin-top: 4px;
  font-size: 0.85rem;
  color: #c9b888 !important;
  font-weight: 500;
}

/* دکمه شروع/ادامه سفر کوچک‌تر */
.dh-mk2-cta {
  padding: 9px 18px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  min-height: auto !important;
}
.dh-mk2-cta span {
  font-size: 0.95rem !important;
}

/* گزینه‌های سوالات راهبرد/ارزش — طلایی ملایم */
#app .btn {
  color: #d4c49a !important;
}
#app .btn-primary {
  color: #1a1206 !important;
}
#app .card p,
#app .card {
  color: #d4c49a !important;
}
#app h2 {
  color: #e8d9a8 !important;
}
#app .option {
  color: #d4c49a !important;
}
#app .option.selected {
  color: #F0C040 !important;
}

/* ========== v56: سلسله‌مراتب تایپو + پروفایل تک‌نام ==========
   الگوی لوکس (Apple/Spotify/Linear):
   - یک نام نمایشی زیر آواتار
   - زیرش متای کم‌رنگ (تاریخ / عضویت)
   سوال: روشن‌تر و بزرگ‌تر | گزینه: ملایم‌تر و کوچک‌تر
*/

.dh-prof-display-name {
  text-align: center !important;
  margin: 10px 0 0 !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #f0e6c8 !important;
  letter-spacing: -0.01em;
}
.dh-prof-date {
  text-align: center !important;
  margin: 6px 0 0 !important;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  color: #a89870 !important;
}
.dh-prof-head { display: none !important; } /* جلوگیری از تکرار */

/* --- سوالات: تمایز سوال vs گزینه --- */
/* متن سوال داخل کارت */
#app .card > p {
  font-size: 1.08rem !important;
  font-weight: 600 !important;
  line-height: 1.85 !important;
  color: #f0e6c8 !important; /* روشن‌تر از گزینه */
}
/* عنوان بخش (راهبرد n از m) */
#app > h2,
#app h2 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #e8d9a8 !important;
}
/* گزینه‌های دکمه سوالات */
#app .card .btn:not(.btn-primary) {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
  color: #c9b888 !important; /* ملایم‌تر */
  background: #16141e !important;
  border: 1px solid rgba(212,175,55,0.18) !important;
  text-align: right !important;
}
#app .card .btn:not(.btn-primary):active {
  border-color: rgba(240,192,64,0.45) !important;
  color: #e8d9a8 !important;
}
/* گزینه انتخاب‌شده — کمی برجسته‌تر */
#app .card .btn:not(.btn-primary)[style*="border:2px solid"],
#app .card .btn:not(.btn-primary)[style*="border: 2px solid"] {
  color: #f0e6c8 !important;
  border-color: #D4AF37 !important;
  background: rgba(212,175,55,0.08) !important;
}

/* گزینه‌های محله/مسیر (.option) */
#app .option {
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  color: #c9b888 !important;
}
#app .option.selected {
  color: #f0e6c8 !important;
  font-weight: 600 !important;
}

/* دکمه اصلی */
#app .btn-primary {
  color: #1a1206 !important;
  font-weight: 700 !important;
}


/* v57 on v56: تیتر سامانه یک خط + boot خانه */
.dh-mk2-sys {
  white-space: nowrap !important;
  font-size: 0.92rem !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.4 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 4px !important;
}
@media (min-width: 360px) {
  .dh-mk2-sys { font-size: 0.98rem !important; }
}
@media (min-width: 400px) {
  .dh-mk2-sys { font-size: 1.05rem !important; }
}


/* v58 — دارایی واقعی ماکت ارزیاب */
.dh-mk2-hero-bg {
  background-size: cover !important;
  background-position: center 40% !important;
  opacity: 1 !important;
  filter: none !important;
}
.dh-mk2-hero {
  min-height: 200px !important;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.35) !important;
  box-shadow: 0 12px 36px rgba(0,0,0,0.45), 0 0 28px rgba(212,175,55,0.12) !important;
}
.dh-mk2-hero-shade {
  background: linear-gradient(105deg,
    rgba(8,8,14,0.82) 0%,
    rgba(8,8,14,0.45) 48%,
    rgba(8,8,14,0.18) 100%) !important;
}

/* feature art از JPG ارزیاب */
.dh-mk2-feat {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(212,175,55,0.18);
  border: 1px solid rgba(246,217,122,0.25);
  background: #121018;
}
.dh-mk2-feat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dh-mk2-row-hot .dh-mk2-feat {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}
.dh-mk2-tile .dh-mk2-feat {
  width: 56px;
  height: 56px;
  margin: 0 auto 6px;
  border-radius: 14px;
}
.dh-mk2-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


/* ===== visual tune v59: خوانایی جوان‌پسند بدون تغییر هویت ===== */
body {
  background: #12121a !important;
  color: #e8e0d0;
}
.dh-fardiyat {
  color: #f0c040 !important;
  font-weight: 800 !important;
  font-size: 1.05em;
  letter-spacing: 0.02em;
}
.dh-mk2-sub {
  color: #d4c9a8 !important;
  font-weight: 600 !important;
}
.dh-mk2-sub .dh-fardiyat {
  color: #f0d060 !important;
  font-weight: 800 !important;
}

/* از صفحه سفر به بعد: متن بدنه کرم، نه طلا */
#app p {
  color: #e8e0d0;
}
#app .card > p {
  color: #e8e0d0 !important;
}
#app .card > p strong {
  color: #f0c040 !important;
}
#app h2 {
  color: #f0c040;
}
#app .dh-stage-hint,
#app .dh-progress-labels {
  color: #c9b896 !important;
}
/* طلا برای دکمه اصلی و جرقه می‌ماند */
#app .btn-primary {
  color: #0a0a0f !important;
}


/* نوار زنده فردیت — هدر خانه */
.dh-fardiyat-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  margin: 4px 12px 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(240,192,64,0.06), rgba(240,192,64,0.14), rgba(240,192,64,0.06));
  border: 1px solid rgba(240,192,64,0.28);
  box-shadow: 0 0 24px rgba(240,192,64,0.06);
}
.dh-fardiyat-ticker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #f0c040;
  box-shadow: 0 0 10px rgba(240,192,64,0.8);
  flex-shrink: 0;
  animation: dhPulseDot 1.8s ease-in-out infinite;
}
#dh-fardiyat-ticker-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #e8e0d0;
  text-align: center;
  transition: opacity .28s ease, transform .28s ease;
}
#dh-fardiyat-ticker-text .dh-fardiyat {
  color: #f0d060 !important;
  font-weight: 800 !important;
}
.dh-ticker-in { opacity: 1; transform: translateY(0); }
.dh-ticker-out { opacity: 0; transform: translateY(6px); }
@keyframes dhPulseDot {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}


/* بلوک سنجش — پایین خانه */
.dh-sanjesh-box {
  margin: 8px 12px 20px;
  padding: 16px 14px 14px;
  text-align: center;
  border-radius: 16px;
  background: rgba(18, 22, 32, 0.95);
  border: 1px solid rgba(201, 184, 150, 0.22);
}
.dh-sanjesh-title {
  margin: 0 0 8px !important;
  color: #e8e0d0 !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}
.dh-sanjesh-desc {
  margin: 0 0 12px !important;
  color: #c9b896 !important;
  font-size: 0.82rem !important;
  line-height: 1.75 !important;
}
.dh-sanjesh-link {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(240, 192, 64, 0.12);
  border: 1px solid rgba(240, 192, 64, 0.4);
  color: #f0c040 !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.dh-sanjesh-link:active {
  transform: scale(0.98);
}
.dh-sanjesh-note {
  margin: 10px 0 0 !important;
  color: #8a8270 !important;
  font-size: 0.72rem !important;
  line-height: 1.6 !important;
}


/* Homepage dual entry points: Harvard discovery and Sanjesh admission. */
.dh-home-sanjesh-entry {
  margin: 14px 0 18px;
  padding: 18px 16px;
  border: 1px solid rgba(240, 192, 64, 0.42);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(34, 31, 23, 0.98), rgba(18, 18, 28, 0.98));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  text-align: right;
}
.dh-home-entry-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.dh-home-entry-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(240, 192, 64, 0.38);
  border-radius: 13px;
  background: rgba(240, 192, 64, 0.1);
  font-size: 1.45rem;
}
.dh-home-entry-top h2 {
  margin: 0 0 5px;
  color: #f0c040;
  font-size: 1.05rem;
  line-height: 1.7;
}
.dh-home-entry-top p {
  margin: 0;
  color: #c9b896;
  font-size: 0.83rem;
  line-height: 1.85;
}
.dh-home-sanjesh-toggle {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(240, 192, 64, 0.4);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(240, 192, 64, 0.18), rgba(212, 175, 55, 0.08));
  color: #f5d777;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.dh-home-sanjesh-toggle:focus-visible {
  outline: 2px solid #f0c040;
  outline-offset: 3px;
}
.dh-home-sanjesh-panel[hidden] {
  display: none !important;
}
.dh-home-sanjesh-panel {
  margin-top: 10px;
}
.dh-home-sanjesh-mount {
  scroll-margin-top: 16px;
}
.dh-home-sanjesh-mount .dh-admission-chance-widget {
  margin: 10px 0 0;
}
.dh-home-sanjesh-mount .dh-admission-catalog-error {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(240, 192, 64, 0.3);
  border-radius: 12px;
  color: #c9b896;
  line-height: 1.9;
}
.dh-home-sanjesh-mount .dh-admission-catalog-retry {
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  border: 1px solid rgba(240, 192, 64, 0.4);
  border-radius: 10px;
  background: rgba(240, 192, 64, 0.12);
  color: #f0c040;
  font: inherit;
  cursor: pointer;
}

/* ===== Phase 2: City of Dreams Gen-Z Visual Polish (Mobile-First 360px) ===== */
body {
  background: radial-gradient(circle at 50% 0%, rgba(240, 192, 64, 0.05) 0%, rgba(14, 16, 23, 0) 44%), #0e1017 !important;
  color: #ece8df;
}

/* هدر پیشرفت و نوار جرقه — یکپارچه و خوانا */
.dh-progress-wrap,
.dh-edu-header {
  background: rgba(20, 23, 34, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 16px !important;
  padding: 12px 14px 10px !important;
  margin: 6px 0 12px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.dh-step {
  font-size: 0.68rem;
  color: #8f8a7e;
}
.dh-step i {
  background: #232736;
  border-color: rgba(255, 255, 255, 0.18);
}
.dh-step.done {
  color: #cbb06a;
}

#app .dh-spark-chip {
  display: block !important;
  width: 100%;
  background: #151824 !important;
  border: 1px solid rgba(240, 192, 64, 0.24) !important;
  border-radius: 14px !important;
  padding: 10px 14px !important;
  margin: 0 0 14px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}
#app .dh-spark-top {
  margin-bottom: 7px;
  font-size: 0.86rem;
  color: #f0c95c;
}
#app .dh-spark-hint {
  color: #b7b1a4;
  font-size: 0.76rem;
}

/* سرصفحه مرحله و شمارشگر انتخاب */
.dh-stage-head {
  margin: 2px 0 14px;
  text-align: center;
}
#app .dh-stage-title {
  margin: 4px 0 6px !important;
  font-size: 1.28rem !important;
  font-weight: 800;
  color: #f5efe2 !important;
  letter-spacing: -0.015em;
}
#app .dh-stage-head .dh-stage-hint {
  margin: 0 auto 10px !important;
  max-width: 42ch;
  color: #b8b3a6 !important;
  font-size: 0.85rem !important;
  line-height: 1.75 !important;
}
.dh-selection-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a9a497;
  font-size: 0.77rem;
  font-weight: 600;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.dh-selection-pill.has-selection {
  background: rgba(240, 192, 64, 0.12);
  border-color: rgba(240, 192, 64, 0.42);
  color: #f5d472;
}

/* شبکه تک‌ستونه موبایل‌اول برای کارت‌های مسیر (خوانایی کامل در ~360px تا 500px) */
#app .grid,
#app .dh-route-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
  margin: 12px 0 18px !important;
}

/* کارت مسیر (محله / گذر / مسیر باریک) — تمایز سطح، سلسله‌مراتب نجوا و متن، حالت‌های یکدست */
#app .option.dh-route-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  min-height: 76px;
  padding: 16px 16px 15px !important;
  background: #171a25 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.24);
  text-align: right;
  cursor: pointer;
  touch-action: manipulation;
}
@media (hover: hover) {
  #app .option.dh-route-card:hover:not(.disabled):not(.dh-path-done) {
    background: #1c202e !important;
    border-color: rgba(240, 192, 64, 0.36) !important;
  }
}
#app .option.dh-route-card:focus-visible {
  outline: 2px solid #f0c040 !important;
  outline-offset: 2px;
}

.dh-route-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
#app .option.dh-route-card .dh-route-motto {
  flex: 1 1 auto;
  margin: 0 !important;
  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 {
  display: block;
  margin: 0;
  color: #e2dcd0 !important;
  font-size: 0.935rem !important;
  font-weight: 500 !important;
  line-height: 1.9 !important;
}

/* نشانگر انتخاب هندسی تمیز (بدون ایموجی) */
.dh-route-check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.dh-route-check::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 7px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #14141b;
  border-bottom: 2px solid #14141b;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}

/* حالت انتخاب‌شده (selected) — یکدست در هر ۳ سطح */
#app .option.dh-route-card.selected {
  background: #20222f !important;
  border-color: rgba(240, 192, 64, 0.82) !important;
  box-shadow: 0 0 0 1px rgba(240, 192, 64, 0.2), 0 8px 22px rgba(0, 0, 0, 0.34) !important;
  transform: none;
}
#app .option.dh-route-card.selected .dh-route-motto {
  color: #fff3cf !important;
}
#app .option.dh-route-card.selected .dh-route-desc {
  color: #efe9dc !important;
}
#app .option.dh-route-card.selected .dh-route-check {
  background: #f0c040;
  border-color: #f0c040;
}
#app .option.dh-route-card.selected .dh-route-check::after {
  transform: rotate(45deg) scale(1);
}

/* حالت انجام‌شده / غیرفعال (disabled & dh-path-done) — خوانا و یکدست */
#app .option.dh-route-card.disabled,
#app .option.dh-route-card.dh-path-done {
  background: #13151e !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  opacity: 0.66 !important;
  filter: none !important;
  box-shadow: none !important;
  pointer-events: none !important;
  cursor: default;
}
#app .option.dh-route-card.disabled .dh-route-motto,
#app .option.dh-route-card.dh-path-done .dh-route-motto {
  color: #9397a5 !important;
}
#app .option.dh-route-card.disabled .dh-route-desc,
#app .option.dh-route-card.dh-path-done .dh-route-desc {
  color: #7f8492 !important;
}
.dh-route-badge {
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0a4b2;
  font-size: 0.72rem;
  font-weight: 600;
}

/* نوار دکمه‌های پایین مراحل مسیر */
.dh-stage-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 8px;
}
.dh-stage-actions .btn {
  width: 100%;
  margin: 0 !important;
  min-height: 48px !important;
  touch-action: manipulation;
}
@media (min-width: 440px) {
  .dh-stage-actions {
    flex-direction: row-reverse;
  }
  .dh-stage-actions .btn-primary {
    flex: 1.65 1 0;
  }
  .dh-stage-actions .btn:not(.btn-primary) {
    flex: 1 1 0;
  }
}

/* هماهنگی بصری کارت سوایپ جرقه با زبان جدید */
#app .swipe-card {
  background: #171a25 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
}
#app .swipe-card #dh-swipe-text {
  color: #f5efe2 !important;
  font-size: 1.05rem !important;
  line-height: 1.92 !important;
}
#app .swipe-card .btn-skip {
  background: #1e2230 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #c8c3b7 !important;
}


/* ===== Phase 3: Unified Standard Palette, Seamless Stage Navigation & Exact Resume ===== */
:root {
  --dh-std-canvas: #0e1017;
  --dh-std-surface-1: #151824;
  --dh-std-surface-2: #171a25;
  --dh-std-surface-hover: #1c202e;
  --dh-std-surface-selected: #20222f;
  --dh-std-border: rgba(255, 255, 255, 0.09);
  --dh-std-border-accent: rgba(240, 192, 64, 0.45);
  --dh-std-text-strong: #f5efe2;
  --dh-std-text-body: #d6d1c4;
  --dh-std-text-muted: #b8b2a4;
  --dh-std-accent: #f0c040;
}

/* ۱) دکمه «صفحه اول» و نوار مراحل تعاملی در هدر چسبان */
#app .dh-progress-wrap.dh-edu-header {
  background: rgba(18, 21, 31, 0.94) !important;
  border: 1px solid var(--dh-std-border) !important;
  border-radius: 16px !important;
  padding: 10px 12px 9px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

#app .dh-home-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(240, 192, 64, 0.10);
  border: 1px solid rgba(240, 192, 64, 0.34);
  color: var(--dh-std-text-strong);
  border-radius: 999px;
  padding: 4px 11px;
  font-family: inherit;
  font-size: 0.77rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}
#app .dh-home-chip:hover {
  background: rgba(240, 192, 64, 0.18);
  border-color: rgba(240, 192, 64, 0.65);
}

#app .dh-stage-nav {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 6px !important;
  margin-top: 9px !important;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
#app .dh-stage-nav::-webkit-scrollbar {
  display: none;
}

#app .dh-stage-pill {
  appearance: none;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141722;
  color: #a9a497 !important;
  font-family: inherit;
  font-size: 0.75rem !important;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
#app .dh-stage-pill i {
  width: 6px !important;
  height: 6px !important;
  flex: 0 0 6px;
}
#app .dh-stage-pill.is-unlocked:hover {
  background: var(--dh-std-surface-hover);
  color: var(--dh-std-text-strong) !important;
  border-color: rgba(240, 192, 64, 0.35);
}
#app .dh-stage-pill.done {
  color: #d6d1c4 !important;
  border-color: rgba(212, 175, 55, 0.28);
}
#app .dh-stage-pill.active {
  background: var(--dh-std-surface-selected) !important;
  border-color: rgba(240, 192, 64, 0.8) !important;
  color: #fff6df !important;
  font-weight: 700;
}
#app .dh-stage-pill.is-locked {
  opacity: 0.56;
}
#app .dh-pill-count {
  font-style: normal;
  font-size: 0.69rem;
  font-weight: 700;
  color: var(--dh-std-accent);
  background: rgba(240, 192, 64, 0.12);
  padding: 1px 6px;
  border-radius: 999px;
}

/* ۲) مسیر راهنمای زمینه (Breadcrumb) در گذرها / مسیرهای باریک / خرده‌انگیزه‌ها */
#app .dh-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px 12px;
  margin: 0 0 12px;
  background: var(--dh-std-surface-1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: 0.78rem;
}
#app .dh-crumb-link {
  appearance: none;
  background: none;
  border: none;
  padding: 2px 4px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dh-std-accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#app .dh-crumb-sep {
  color: #7d8292;
  font-size: 0.85rem;
}
#app .dh-crumb-cur {
  color: var(--dh-std-text-strong);
  font-weight: 700;
}

/* ۴) کارت‌های استاندارد، نوار شماره سؤالات و گزینه‌های راهبرد/ارزش */
#app .card.dh-surface-card {
  background: var(--dh-std-surface-2) !important;
  border: 1px solid var(--dh-std-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

#app .dh-q-jumper-wrap {
  background: var(--dh-std-surface-1);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 9px 11px;
  margin: 0 0 12px;
}
#app .dh-q-jumper-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--dh-std-text-muted);
  margin-bottom: 7px;
}
#app .dh-q-jumper {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
#app .dh-q-jumper::-webkit-scrollbar {
  display: none;
}
#app .dh-q-dot {
  appearance: none;
  flex: 0 0 auto;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #131621;
  color: #9e9a8e;
  font-family: inherit;
  font-size: 0.77rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
#app .dh-q-dot.is-answered {
  background: rgba(240, 192, 64, 0.13);
  border-color: rgba(240, 192, 64, 0.36);
  color: #f3dfb0;
}
#app .dh-q-dot.is-current {
  background: var(--dh-std-accent) !important;
  border-color: var(--dh-std-accent) !important;
  color: #12131a !important;
}

#app .dh-q-prompt {
  color: var(--dh-std-text-strong) !important;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.9;
  margin: 4px 0 16px;
}
#app .dh-answer-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
#app .dh-answer-option {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: right;
  padding: 13px 15px;
  border-radius: 14px;
  background: #131621;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--dh-std-text-body);
  font-family: inherit;
  font-size: 0.91rem;
  font-weight: 500;
  line-height: 1.8;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
#app .dh-answer-option:hover {
  background: var(--dh-std-surface-hover);
  border-color: rgba(240, 192, 64, 0.35);
  color: var(--dh-std-text-strong);
}
#app .dh-answer-option.selected {
  background: var(--dh-std-surface-selected);
  border-color: rgba(240, 192, 64, 0.82);
  color: #fff6df;
  font-weight: 600;
}
#app .dh-answer-option.selected .dh-route-check {
  background: var(--dh-std-accent);
  border-color: var(--dh-std-accent);
}
#app .dh-answer-option.selected .dh-route-check::after {
  transform: rotate(45deg) scale(1);
}
#app .dh-q-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}
#app .dh-q-nav .btn {
  flex: 1 1 130px;
  min-height: 46px;
}

/* ۵) کشوی جرقه‌های انتخاب‌شده و نشان انتخاب */
#app .dh-picked-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(240, 192, 64, 0.14);
  border: 1px solid rgba(240, 192, 64, 0.42);
  color: var(--dh-std-accent);
  font-size: 0.76rem;
  font-weight: 700;
}
#app .dh-liked-drawer {
  margin-top: 12px;
  background: var(--dh-std-surface-1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 14px;
}
#app .dh-liked-drawer summary {
  cursor: pointer;
  color: var(--dh-std-text-body);
  font-size: 0.84rem;
  font-weight: 700;
  list-style-position: inside;
}
#app .dh-liked-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 10px;
  max-height: 240px;
  overflow-y: auto;
}
#app .dh-liked-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #12151f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--dh-std-text-body);
  font-size: 0.82rem;
  line-height: 1.7;
}
#app .dh-liked-rm {
  appearance: none;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--dh-std-text-muted);
  border-radius: 8px;
  padding: 3px 9px;
  font-family: inherit;
  font-size: 0.74rem;
  cursor: pointer;
}

/* ۶) استانداردسازی کنتراست متن‌های کم‌نور قدیمی در سراسر اپ (WCAG AA+) */
.dh-quote-foot,
.dh-sanjesh-note,
.dh-story-foot,
.dh-par-lead,
.dh-last-meta,
.dh-spark-desc {
  color: var(--dh-std-text-muted) !important;
}

/* ۷) حذف قطعی نمایش بلوک قدیمی پیشرفت/آخرین فعالیت در خانه (بنر #dh-active-place-banner مستقل و فعال می‌ماند) */
.dh-mk2-progress {
  display: none !important;
}

/* ۸) کادر فشردهٔ ۲۸×۲۸ نشان محله‌ها و دکمه‌های طلایی مجلل مرحلهٔ انتخاب نهایی */
.dh-sigil-box {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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 .dh-choice-mode-card {
  width: 100%;
  display: block;
  margin: 0 !important;
  text-align: right;
  padding: 18px 18px !important;
  border-radius: 18px !important;
  border: 1.5px solid #fbe38e !important;
  background: linear-gradient(135deg, #f8da72 0%, #f0c040 52%, #cfa125 100%) !important;
  color: #141108 !important;
  box-shadow: 0 12px 30px rgba(240, 192, 64, 0.34), inset 0 1px 0 rgba(255, 250, 224, 0.55) !important;
}
#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;
}

/* =========================================================================
/* =========================================================================
   Phase 4 Luxury Edition: Regal Dark-Gold Crest + Interactive Deep Modules +
   Modern Daily Wisdom Card + 100% Native App Feel (iOS / Android PWA)
   ========================================================================= */

html, body {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  overflow-x: clip !important;
  overscroll-behavior-x: none !important;
  touch-action: pan-y pinch-zoom;
  background: radial-gradient(ellipse at 50% -6%, rgba(240, 192, 64, 0.11) 0%, rgba(14, 16, 23, 0) 48%), #0e1017 !important;
  -webkit-font-smoothing: antialiased;
}

#app,
.container,
.dh-home-wrap,
.dh-mk2 {
  width: 100% !important;
  max-width: min(480px, 100%) !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow-x: clip !important;
}

.dh-home-wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@keyframes dhNativeViewIn {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dh-view-enter {
  animation: dhNativeViewIn 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ۱) هدر مجلل و باشکوه برند اسب سیاه (بدون دکمه نصب/پروفایل در بالا) */
.dh-regal-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: -2px 0 10px;
  padding: 10px 12px 12px;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 12%, rgba(240, 192, 64, 0.12) 0%, rgba(17, 19, 29, 0.45) 62%, transparent 100%);
}
.dh-regal-crest {
  position: relative;
  width: 82px;
  height: 82px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff0b8 0%, #d4af37 38%, #8f6e18 68%, #ffe18c 100%);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(240, 192, 64, 0.24),
    inset 0 1px 1px rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}
.dh-regal-crest-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #1c1f2e 0%, #0d0f17 85%);
  border: 1px solid rgba(255, 224, 138, 0.28);
  padding: 5px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.dh-regal-crest-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.dh-regal-en {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  padding-inline-start: 0.28em;
  color: #e4c164 !important;
  text-transform: uppercase;
  max-width: 100%;
}
.dh-regal-fa-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 3px;
}
.dh-regal-fa-row i {
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 192, 64, 0.65), transparent);
}
.dh-regal-fa {
  margin: 0 !important;
  font-size: 1.24rem !important;
  font-weight: 900 !important;
  color: #fcf7ea !important;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-shadow: 0 2px 14px rgba(240, 192, 64, 0.16);
}
.dh-regal-tagline {
  margin: 4px 0 0 !important;
  font-size: 0.78rem !important;
  color: #b9b2a2 !important;
  line-height: 1.5 !important;
}

/* نوار الهام زنده زیر هدر مجلل */
.dh-mk2 .dh-fardiyat-ticker {
  min-height: 38px;
  margin: 0 0 12px !important;
  padding: 7px 12px !important;
  border-radius: 13px !important;
  background: linear-gradient(90deg, rgba(240, 192, 64, 0.05), rgba(240, 192, 64, 0.12), rgba(240, 192, 64, 0.05)) !important;
  border: 1px solid rgba(240, 192, 64, 0.24) !important;
}
.dh-mk2 #dh-fardiyat-ticker-text {
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
}

/* ۲) کارت Hero سفر اکتشافی (فقط نشان ۲۳۰ رشته و شاخه + دکمه استاندارد ۵۲ پیکسلی) */
.dh-mk2 .dh-mk2-hero {
  position: relative;
  min-height: 204px !important;
  margin-bottom: 13px !important;
  padding: 18px 16px 16px !important;
  border-radius: 22px !important;
  border: 1.5px solid rgba(246, 217, 122, 0.55) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 32px rgba(212, 175, 55, 0.16) !important;
}
.dh-mk2 .dh-mk2-hero-bg {
  opacity: 1 !important;
  filter: none !important;
  background-size: cover !important;
  background-position: center 42% !important;
}
.dh-mk2 .dh-mk2-hero-shade {
  background: linear-gradient(105deg, rgba(10, 12, 19, 0.16) 0%, rgba(10, 12, 19, 0.36) 46%, rgba(10, 12, 19, 0.62) 100%) !important;
}
.dh-mk2 .dh-mk2-hero-title {
  color: #FFF0BE !important;
  text-shadow: 0 2px 12px rgba(6, 8, 15, 0.86), 0 0 18px rgba(246, 217, 122, 0.24) !important;
}
.dh-mk2 .dh-mk2-hero-sub {
  text-shadow: 0 2px 10px rgba(6, 8, 15, 0.88), 0 1px 3px rgba(0, 0, 0, 0.72) !important;
}
.dh-mk2 .dh-mk2-hero-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dh-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dh-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(14, 16, 23, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(246, 217, 122, 0.36);
  color: #f4ebd4 !important;
  font-size: 0.76rem;
  font-weight: 800;
}
.dh-mk2 .dh-mk2-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 13px 22px !important;
  border-radius: 15px !important;
  font-size: 1.02rem !important;
  font-weight: 900 !important;
  color: #151107 !important;
  background: linear-gradient(180deg, #ffe799 0%, #f0c040 50%, #cfa024 100%) !important;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
  touch-action: manipulation;
  transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.16s ease !important;
}
.dh-mk2 .dh-mk2-cta:active {
  transform: scale(0.975) !important;
}

/* ۳) کارت انتخاب رشته با منطق سنجش — بلافاصله زیر سفر اکتشافی */
.dh-mk2 .dh-home-sanjesh-entry {
  margin: 0 0 14px !important;
  padding: 16px 16px 15px !important;
  border-radius: 20px !important;
  background: linear-gradient(155deg, #191d2c 0%, #121520 100%) !important;
  border: 1px solid rgba(240, 192, 64, 0.34) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32) !important;
}

/* ۴) کارت تعاملی «پیام روزانه» در جایگاه استاندارد اپ‌های مدرن جهان (Calm / Stoic) */
.dh-daily-wisdom {
  margin: 0 0 18px !important;
  padding: 16px 16px 14px !important;
  border-radius: 20px !important;
  background: radial-gradient(circle at 100% 0%, rgba(240, 192, 64, 0.1) 0%, transparent 55%), linear-gradient(160deg, #181b28 0%, #12141e 100%) !important;
  border: 1px solid rgba(240, 192, 64, 0.28) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28) !important;
}
.dh-daily-date {
  font-size: 0.71rem;
  font-weight: 700;
  color: #b9b09d !important;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dh-daily-text-wrap {
  min-height: 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.dh-daily-text-wrap.is-fading {
  opacity: 0.28;
  transform: translateY(4px);
}
.dh-daily-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dh-daily-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: block;
  transition: all 0.18s ease;
}
.dh-daily-dots i.on {
  width: 16px;
  border-radius: 99px;
  background: #f0c040;
}
.dh-daily-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
}
.dh-daily-actions .dh-quote-share-btn {
  width: 100%;
  min-width: 0;
  padding: 6px 6px;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ۵) کارت‌های مدرن، متقارن و کاملاً مهارشده بخش‌های اصیل اپ (صفر سرریز افقی) */
.dh-mk2-duo {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
}
.dh-mk2-row,
.dh-mk2-tile,
.dh-home-sanjesh-toggle {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  touch-action: manipulation;
  transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.18s ease, box-shadow 0.18s ease !important;
}
.dh-mk2-row:active,
.dh-mk2-tile:active,
.dh-home-sanjesh-toggle:active {
  transform: scale(0.975) !important;
}
.dh-mk2 .dh-mk2-row-hot {
  width: 100% !important;
  overflow: hidden !important;
  padding: 15px 14px !important;
  border-radius: 20px !important;
  background: radial-gradient(circle at 0% 0%, rgba(240, 192, 64, 0.13) 0%, transparent 58%), linear-gradient(155deg, #1a1d2c 0%, #121520 100%) !important;
  border: 1px solid rgba(240, 192, 64, 0.38) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3) !important;
}
.dh-mk2 .dh-mk2-row-t,
.dh-mk2 .dh-mk2-hero-top > div,
.dh-mk2 .dh-home-entry-top > div {
  min-width: 0 !important;
  max-width: 100% !important;
}
.dh-mk2 .dh-mk2-tile {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  width: 100% !important;
  overflow: hidden !important;
  padding: 15px 11px 14px !important;
  border-radius: 19px !important;
  background: linear-gradient(160deg, #191c2a 0%, #12141e 100%) !important;
  border: 1px solid rgba(240, 192, 64, 0.22) !important;
}
.dh-mk2 .dh-mk2-tile .dh-mk2-feat,
.dh-mk2 .dh-mk2-tile .dh-mk2-orb {
  margin: 0 auto 6px !important;
  flex-shrink: 0;
}
.dh-mk2 .dh-mk2-tile strong,
.dh-mk2 .dh-mk2-tile span {
  max-width: 100% !important;
  overflow-wrap: anywhere;
}
.dh-tile-live-pill {
  display: block;
  margin: 0 auto 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(240, 192, 64, 0.11);
  border: 1px solid rgba(240, 192, 64, 0.28);
  color: #f3d77d !important;
  font-size: 0.68rem;
  font-weight: 700;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dh-mk2 .dh-sanjesh-box {
  margin: 8px 0 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.dh-bento-pill {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(240, 192, 64, 0.16);
  border: 1px solid rgba(240, 192, 64, 0.4);
  color: #ffe08a !important;
  font-size: 0.68rem;
  font-weight: 800;
  vertical-align: middle;
}
.dh-mk2-quote-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.dh-mk2-quote-foot .dh-mk2-quote-by {
  margin-top: 0 !important;
}
.dh-quote-share-btn {
  appearance: none;
  min-height: 34px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(240, 192, 64, 0.3);
  background: rgba(240, 192, 64, 0.08);
  color: #f0c040 !important;
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.12s ease, background 0.15s ease;
}
.dh-quote-share-btn.is-saved {
  background: rgba(240, 192, 64, 0.22);
  border-color: rgba(240, 192, 64, 0.6);
  color: #fff2c2 !important;
}
.dh-quote-share-btn:active {
  transform: scale(0.95);
}

/* استایل مشترک تعاملی زیرصفحه‌های داستان‌ها، سخن بزرگان، والدین و راهنما */
.dh-mod-strip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  touch-action: pan-x pan-y;
  padding: 2px 1px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.dh-mod-strip::-webkit-scrollbar { display: none; }
.dh-mod-chip {
  appearance: none;
  flex: 0 0 auto;
  min-height: 35px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #171a26;
  color: #cfc9ba !important;
  font-family: inherit;
  font-size: 0.77rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.15s ease;
}
.dh-mod-chip.is-active {
  background: linear-gradient(135deg, rgba(240, 192, 64, 0.24), rgba(212, 175, 55, 0.14));
  border-color: rgba(240, 192, 64, 0.65);
  color: #ffe597 !important;
}
.dh-mod-reflect {
  margin: 14px 0 12px;
  padding: 13px 13px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(240, 192, 64, 0.22);
  text-align: right;
}
.dh-mod-reflect-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #f5df96;
  margin-bottom: 9px;
}
.dh-mod-reflect-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.dh-mod-pill {
  appearance: none;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1a1d2b;
  color: #e4ded0 !important;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.dh-mod-pill.is-active {
  border-color: #f0c040;
  background: rgba(240, 192, 64, 0.16);
  color: #ffe494 !important;
}
.dh-mod-reflect-ans {
  margin: 10px 0 0 !important;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(240, 192, 64, 0.1);
  color: #f7eed6 !important;
  font-size: 0.81rem !important;
  line-height: 1.75 !important;
}
.dh-sc-box {
  padding: 10px 12px;
  border-radius: 13px;
  font-size: 0.82rem;
  line-height: 1.8;
  margin-bottom: 8px;
}
.dh-sc-box--bad {
  background: rgba(255, 110, 95, 0.08);
  border: 1px solid rgba(255, 120, 105, 0.25);
  color: #ebd4d1;
}
.dh-sc-box--good {
  background: rgba(240, 192, 64, 0.09);
  border: 1px solid rgba(240, 192, 64, 0.34);
  color: #f6eed9;
}
.dh-pact-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dh-pact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.83rem;
  line-height: 1.75;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dh-pact-item.is-checked {
  background: rgba(240, 192, 64, 0.11);
  border-color: rgba(240, 192, 64, 0.48);
}
.dh-pact-box {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 7px;
  border: 1.5px solid rgba(240, 192, 64, 0.55);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 900;
  color: #151208;
  background: transparent;
}
.dh-pact-item.is-checked .dh-pact-box {
  background: #f0c040;
}

/* ۶) تب‌بار شیشه‌ای مدرن با نشانگر کپسولی فعال (Native Floating Glass Tabbar) */
#dh-tabbar {
  background: rgba(14, 16, 24, 0.92) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  border-top: 1px solid rgba(240, 192, 64, 0.2) !important;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.42) !important;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
}
#dh-tabbar button {
  position: relative;
  padding: 6px 8px !important;
  border-radius: 14px !important;
  transition: transform 0.13s cubic-bezier(0.22, 1, 0.36, 1), color 0.16s ease !important;
}
#dh-tabbar button:active {
  transform: scale(0.93);
}
#dh-tabbar button .ico {
  width: 44px;
  height: 28px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
#dh-tabbar button.active .ico {
  background: rgba(240, 192, 64, 0.16);
  box-shadow: 0 0 14px rgba(240, 192, 64, 0.18);
  transform: translateY(-1px);
}
#dh-tabbar button.active .lbl {
  font-weight: 800;
}

/* ۷) Bottom Sheet کشویی نیتیو + Toast شیشه‌ای اپ (جایگزین alert مرورگر) */
.dh-sheet-ov {
  position: fixed;
  inset: 0;
  z-index: 10090;
  background: rgba(5, 7, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  animation: dhFadeBackdrop 0.18s ease;
}
@keyframes dhFadeBackdrop {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes dhSlideUpSheet {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.dh-sheet-panel {
  width: 100%;
  max-width: 500px;
  max-height: 86vh;
  overflow-y: auto;
  background: linear-gradient(170deg, #1b1e2c 0%, #11131d 100%);
  border-top: 1px solid rgba(240, 192, 64, 0.38);
  border-radius: 24px 24px 0 0;
  padding: 10px 20px calc(22px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.55);
  text-align: right;
  color: #f5efe2;
  animation: dhSlideUpSheet 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  transition: transform 0.18s ease;
}
.dh-sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  margin: 4px auto 16px;
}
.dh-sheet-title {
  margin: 0 0 8px !important;
  font-size: 1.14rem !important;
  font-weight: 900 !important;
  color: #ffe08a !important;
}
.dh-sheet-desc {
  margin: 0 0 14px !important;
  font-size: 0.9rem !important;
  line-height: 1.85 !important;
  color: #d6d1c4 !important;
}
.dh-sheet-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.dh-sheet-chip {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(240, 192, 64, 0.11);
  border: 1px solid rgba(240, 192, 64, 0.3);
  color: #f4e6bf !important;
  font-size: 0.78rem;
  font-weight: 700;
}

.dh-native-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  max-width: calc(100% - 32px);
  box-sizing: border-box;
  transform: translateY(14px);
  z-index: 10120;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(22, 25, 38, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(240, 192, 64, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.48);
  color: #fff6db !important;
  font-family: Vazirmatn, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.dh-native-toast.is-open {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .dh-view-enter,
  .dh-sheet-ov,
  .dh-sheet-panel {
    animation: none !important;
  }
}




