/* ===== UNIVERSAL THEME OVERRIDES ===== */

html.dark-mode{
  --bg:#0f1720;
  --surface:#16202a;
  --surface-2:#132129;
  --surface-3:#15262d;
  --border:#223041;
  --border-2:#274139;
  --text:#e6edf3;
  --text-soft:#cbd5e1;
  --text-muted:#9fb0c2;
  --green:#6ee7b7;
  --green-strong:#2d7a46;
  --green-soft:#86efac;
  --warn-bg:#2a1f0f;
  --warn-border:#5c4a1a;
  --warn-text:#facc15;
}

html.light-mode{
  --bg:#f5f7f8;
  --surface:#ffffff;
  --surface-2:#fafafa;
  --surface-3:#eef5f1;
  --border:#dfe9e3;
  --border-2:#e5ece7;
  --text:#1f2a22;
  --text-soft:#43564b;
  --text-muted:#66776d;
  --green:#2d7a46;
  --green-strong:#2d7a46;
  --green-soft:#2d7a46;
  --warn-bg:#fff8ea;
  --warn-border:#f0dfb5;
  --warn-text:#7a5a08;
}

html.dark-mode body{
  background:var(--bg) !important;
  color:var(--text) !important;
}

html.light-mode body{
  background:var(--bg) !important;
  color:var(--text) !important;
}

html.dark-mode .container{
  background:transparent !important;
  box-shadow:none !important;
}

html.light-mode .container{
  background:#fff !important;
}

html.dark-mode h1,
html.dark-mode h2,
html.dark-mode h3,
html.dark-mode h4,
html.dark-mode .title,
html.dark-mode .category-title,
html.dark-mode .section h2{
  color:#fff !important;
}

html.dark-mode p,
html.dark-mode li,
html.dark-mode .subtitle,
html.dark-mode .small,
html.dark-mode .note,
html.dark-mode .category-intro,
html.dark-mode .ref,
html.dark-mode .label,
html.dark-mode .translit,
html.dark-mode .meaning,
html.dark-mode .when,
html.dark-mode .muted,
html.dark-mode .prayer-meta,
html.dark-mode .countdown-note,
html.dark-mode .wallet-note,
html.dark-mode .month-fajr,
html.dark-mode .month-maghrib,
html.dark-mode .surah-meta,
html.dark-mode .article p{
  color:var(--text-soft) !important;
}

html.dark-mode .meta-label{
  color:var(--text-muted) !important;
}

html.dark-mode .meta-value,
html.dark-mode .month-num,
html.dark-mode .prayer-name,
html.dark-mode .prayer-time,
html.dark-mode .big-location,
html.dark-mode .next-name{
  color:#fff !important;
}

html.dark-mode .block,
html.dark-mode .card,
html.dark-mode .panel,
html.dark-mode .quote,
html.dark-mode .empty,
html.dark-mode .article,
html.dark-mode .category-panel,
html.dark-mode .surah-card,
html.dark-mode .prayer-card,
html.dark-mode .toggle-row,
html.dark-mode .meta-item,
html.dark-mode .note-box,
html.dark-mode .jumuah-box,
html.dark-mode .month-day,
html.dark-mode .month-head,
html.dark-mode .wallet-support,
html.dark-mode .home-widget{
  background:var(--surface) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
  box-shadow:none !important;
}

html.dark-mode .prayer-card.active,
html.dark-mode .month-day.today{
  background:var(--surface-3) !important;
  border-color:var(--green-strong) !important;
  box-shadow:0 8px 20px rgba(45,122,70,0.10) !important;
}

html.dark-mode .wallet-warning{
  background:var(--warn-bg) !important;
  border:1px solid var(--warn-border) !important;
  color:var(--warn-text) !important;
}

html.dark-mode .wallet-badge,
html.dark-mode .badge,
html.dark-mode .chip,
html.dark-mode .quick-btn{
  background:var(--surface-3) !important;
  border:1px solid var(--border-2) !important;
  color:var(--green) !important;
}

html.dark-mode .quick-btn.active,
html.dark-mode .btn.primary,
html.dark-mode .copy-wallet-btn{
  background:var(--green-strong) !important;
  color:#fff !important;
  border-color:var(--green-strong) !important;
}

html.dark-mode .btn.secondary,
html.dark-mode .share-wallet-btn{
  background:var(--surface-3) !important;
  color:var(--green) !important;
  border:1px solid var(--border-2) !important;
}

html.dark-mode .wallet-address,
html.dark-mode .input,
html.dark-mode .select,
html.dark-mode .number,
html.dark-mode .search-input,
html.dark-mode .search-box input,
html.dark-mode .sec-box{
  background:var(--bg) !important;
  color:var(--text) !important;
  border:1px solid var(--border-2) !important;
  box-shadow:none !important;
}

html.dark-mode .article a,
html.dark-mode .link a,
html.dark-mode .footer a{
  color:var(--green) !important;
}

html.dark-mode strong{
  color:var(--green-soft) !important;
  font-weight:600 !important;
}

html.dark-mode .surah-link:hover .surah-card,
html.dark-mode .wallet-address:hover,
html.dark-mode .name-chip:hover{
  border-color:var(--green-strong) !important;
  box-shadow:0 8px 18px rgba(45,122,70,0.10) !important;
}

html.dark-mode .switch .slider{
  background:#32414e !important;
}

html.dark-mode .switch input:checked + .slider{
  background:var(--green-strong) !important;
}

html.dark-mode .slider:before{
  background:#fff !important;
}

html.dark-mode .wallet-qr{
  background:#fff !important;
}

html.dark-mode .dropdown-block,
html.dark-mode .dropdown-content,
html.dark-mode .name-chip{
  background:var(--surface-2) !important;
  border-color:var(--border) !important;
}

html.dark-mode .dropdown-block summary{
  background:var(--surface-3) !important;
  color:#fff !important;
}

html.dark-mode .name-chip.active{
  background:var(--surface-3) !important;
  border-color:var(--green-strong) !important;
}

@media (max-width:700px){
  html.dark-mode .quick-btn{
    background:var(--surface-3) !important;
    color:var(--green) !important;
    border-color:var(--border-2) !important;
    box-shadow:0 4px 10px rgba(0,0,0,0.12) !important;
  }
}

/* ===== EXTRA RU PAGE FIXES ===== */

html.dark-mode .dua-title,
html.dark-mode .prophet-dua-title,
html.dark-mode .item-title{
  color:#ffffff !important;
}

html.dark-mode .dua-source,
html.dark-mode .dua-ref,
html.dark-mode .source,
html.dark-mode .item-ref{
  color:#b8c7bf !important;
}

html.dark-mode .ayah-count,
html.dark-mode .surah-count,
html.dark-mode .surah-ayahs{
  color:#b8c7bf !important;
}

html.dark-mode .help-category,
html.dark-mode .help-card,
html.dark-mode .aid-card,
html.dark-mode .support-card{
  background:#16202a !important;
  border:1px solid #223041 !important;
  color:#e6edf3 !important;
}

html.dark-mode .help-category a,
html.dark-mode .tronscan-link,
html.dark-mode a[href*="tronscan"]{
  color:#6ee7b7 !important;
}

html.dark-mode .reset-btn,
html.dark-mode .qibla-reset,
html.dark-mode button[type="reset"]{
  background:#15262d !important;
  color:#e6edf3 !important;
  border:1px solid #274139 !important;
}

html.dark-mode .qibla-panel,
html.dark-mode .qibla-card,
html.dark-mode .qibla-box{
  background:#16202a !important;
  border:1px solid #223041 !important;
}

/* ===== V2 PAGE-SPECIFIC FIXES ===== */

/* ---------- prophets-duas ---------- */
html.dark-mode .hero-panel,
html.dark-mode .hero-stat{
  background:var(--surface) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
  box-shadow:none !important;
}

html.dark-mode .hero-stat-label,
html.dark-mode .dua-ref,
html.dark-mode .field-label{
  color:var(--text-muted) !important;
}

html.dark-mode .hero-stat-value,
html.dark-mode .dua-title,
html.dark-mode .dua-arabic{
  color:#ffffff !important;
}

html.dark-mode .dua-card{
  background:var(--surface-2) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
}

html.dark-mode .dua-translit{
  color:var(--text-soft) !important;
}

html.dark-mode .dua-meaning{
  color:#ffffff !important;
}

html.dark-mode .badge{
  background:var(--surface-3) !important;
  border:1px solid var(--border-2) !important;
  color:var(--green) !important;
}

/* ---------- quran ---------- */
html.dark-mode .surah-ayahs{
  color:var(--text-muted) !important;
}

html.dark-mode .surah-number{
  color:var(--green) !important;
}

html.dark-mode .surah-name{
  color:#ffffff !important;
}

html.dark-mode .surah-meta{
  color:var(--text-soft) !important;
}

html.dark-mode .search-input::placeholder{
  color:var(--text-muted) !important;
}

/* ---------- hidden-sadaqa ---------- */
html.dark-mode .intro,
html.dark-mode .verification,
html.dark-mode .transactions,
html.dark-mode .mobile-dropdown,
html.dark-mode .mobile-dropdown-title,
html.dark-mode .mobile-dropdown-content,
html.dark-mode .donation-dropdown,
html.dark-mode .donation-dropdown-content{
  background:var(--surface) !important;
  border-color:var(--border) !important;
  color:var(--text) !important;
  box-shadow:none !important;
}

html.dark-mode .quote{
  background:var(--surface) !important;
  border:1px solid var(--border) !important;
  color:#ffffff !important;
}

html.dark-mode .help-option-btn{
  background:var(--surface) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
}

html.dark-mode .help-option-btn:hover{
  background:var(--surface-3) !important;
  border-color:var(--green-strong) !important;
}

html.dark-mode .help-option-arrow{
  color:var(--green) !important;
}

html.dark-mode .verification a,
html.dark-mode .transactions a,
html.dark-mode .link a,
html.dark-mode a[href*="tronscan"]{
  color:var(--green) !important;
}

html.dark-mode .share-btn{
  background:var(--surface-3) !important;
  border:1px solid var(--border-2) !important;
  color:#ffffff !important;
}

html.dark-mode .install-btn{
  background:var(--green-strong) !important;
  color:#ffffff !important;
  border:1px solid var(--green-strong) !important;
}

/* ---------- qibla ---------- */
html.dark-mode .panel,
html.dark-mode .meta-item,
html.dark-mode .note-box,
html.dark-mode .step{
  background:var(--surface) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
  box-shadow:none !important;
}

html.dark-mode .meta-label{
  color:var(--text-muted) !important;
}

html.dark-mode .meta-value,
html.dark-mode .section-title{
  color:#ffffff !important;
}

html.dark-mode .btn{
  background:var(--surface-3) !important;
  color:#ffffff !important;
  border:1px solid var(--border-2) !important;
}

html.dark-mode .btn.primary{
  background:var(--green-strong) !important;
  color:#ffffff !important;
  border-color:var(--green-strong) !important;
}

html.dark-mode .btn.secondary{
  background:var(--surface-3) !important;
  color:var(--green) !important;
  border-color:var(--border-2) !important;
}

html.dark-mode #resetHeadingBtn{
  background:var(--surface-3) !important;
  color:#ffffff !important;
  border:1px solid var(--border-2) !important;
}

html.dark-mode .badge.warn{
  background:var(--surface-3) !important;
  border:1px solid var(--border-2) !important;
  color:var(--green) !important;
}

html.dark-mode .compass-base{
  background:radial-gradient(circle at center, #f8faf8 0%, #edf3ef 55%, #dfe8e2 100%) !important;
  border:1px solid #d9e3dd !important;
  box-shadow:inset 0 0 0 12px rgba(255,255,255,0.7), 0 14px 30px rgba(0,0,0,0.20) !important;
}

html.dark-mode .compass-ring{
  border-color:#bfd2c5 !important;
}

html.dark-mode .cardinal{
  color:#55685f !important;
}

html.dark-mode .precision-text{
  color:var(--text-soft) !important;
}
/* Quran cards — stronger borders in both modes */
html.dark-mode .surah-card{
  background:#111a22 !important;
  border:1.5px solid #2f4658 !important;
  box-shadow:0 0 0 1px rgba(90,130,110,0.10) !important;
}

html.dark-mode .surah-link:hover .surah-card{
  border-color:#6ee7b7 !important;
  box-shadow:
    0 0 0 1px rgba(110,231,183,0.22),
    0 10px 24px rgba(45,122,70,0.14) !important;
}

html.light-mode .surah-card{
  background:#ffffff !important;
  border:1.5px solid #d6e0da !important;
  box-shadow:0 0 0 1px rgba(31,42,34,0.03) !important;
}

html.light-mode .surah-link:hover .surah-card{
  border-color:#2d7a46 !important;
  box-shadow:
    0 0 0 1px rgba(45,122,70,0.12),
    0 10px 24px rgba(45,122,70,0.08) !important;
}
.surah-card{
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}


/* ===== QURAN SURAH PAGES FIX ===== */
/* Scoped to internal surah pages: audio panel + ayah cards */

html.dark-mode .master-audio-wrap{
  background:var(--surface) !important;
  border:1px solid var(--border) !important;
  box-shadow:none !important;
}

html.dark-mode .master-audio-title{
  color:#ffffff !important;
}

html.dark-mode .ayah-card{
  background:var(--surface) !important;
  border:1px solid var(--border) !important;
  box-shadow:none !important;
}

html.dark-mode .ayah-arabic{
  color:#ffffff !important;
}

html.dark-mode .ayah-translit{
  color:#b8c7d6 !important;
}

html.dark-mode .ayah-meaning{
  color:#e6edf3 !important;
}

html.dark-mode .loading{
  background:var(--surface) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
}

html.dark-mode .error{
  background:#2a1616 !important;
  border:1px solid #5a2a2a !important;
  color:#ffb4b4 !important;
}

html.dark-mode .intro{
  background:var(--surface-2) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
  box-shadow:none !important;
}

html.dark-mode .section h5,
html.dark-mode .section center{
  color:var(--text-soft) !important;
}

/* Mobile readability inside surah pages */
@media (max-width:700px){
  html.dark-mode .ayah-translit{
    color:#c3d2df !important;
  }

  html.dark-mode .ayah-meaning{
    color:#edf4fa !important;
  }
}

/* ===== QURAN SURAH PAGES — SCOPED FIX ===== */
/* Works only after body gets class="surah-page" via the PowerShell script */

html.dark-mode body.surah-page .master-audio-wrap{
  background:#d7dddb !important;
  border:1px solid #c7cfcb !important;
  box-shadow:none !important;
}

html.dark-mode body.surah-page .master-audio-title{
  color:#30483a !important;
}

html.dark-mode body.surah-page .ayah-card{
  background:#121c27 !important;
  border:1px solid rgba(214,224,232,0.42) !important;
  box-shadow:none !important;
}

html.dark-mode body.surah-page .ayah-toolbar{
  grid-template-columns:auto 1fr !important;
  align-items:start !important;
}

html.dark-mode body.surah-page .ayah-index{
  width:auto !important;
  min-width:unset !important;
  height:auto !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#d7904f !important;
  display:block !important;
  padding:0 !important;
  font-weight:500 !important;
  font-size:18px !important;
  line-height:1 !important;
  box-shadow:none !important;
}

html.dark-mode body.surah-page .play-btn{
  background:#2d7a46 !important;
  color:#ffffff !important;
  border:none !important;
}

html.dark-mode body.surah-page .play-btn.is-playing{
  background:#1f5e34 !important;
}

html.dark-mode body.surah-page .ayah-arabic{
  color:#ffffff !important;
}

html.dark-mode body.surah-page .ayah-translit{
  color:#80968d !important;
  opacity:1 !important;
}

html.dark-mode body.surah-page .ayah-meaning{
  color:#6f7f8d !important;
  opacity:1 !important;
}

html.dark-mode body.surah-page .loading{
  background:#16202a !important;
  border:1px solid #223041 !important;
  color:#e6edf3 !important;
}

html.dark-mode body.surah-page .error{
  background:#2a1616 !important;
  border:1px solid #5a2a2a !important;
  color:#ffb4b4 !important;
}

html.dark-mode body.surah-page .intro{
  background:#13202b !important;
  border:1px solid #1f2f3d !important;
  color:#edf4fa !important;
  box-shadow:none !important;
}

html.dark-mode body.surah-page .section h5,
html.dark-mode body.surah-page .section h5 center{
  color:#c3d2df !important;
}

@media (max-width:700px){
  html.dark-mode body.surah-page .ayah-index{
    font-size:16px !important;
  }

  html.dark-mode body.surah-page .ayah-translit{
    color:#80968d !important;
  }

  html.dark-mode body.surah-page .ayah-meaning{
    color:#5d6d7b !important;
  }
}

/* ===== PREMIUM LIGHT MODE SEPARATION LAYER ===== */
/* Light mode only. Dark mode selectors above are intentionally untouched. */

html.light-mode{
  --bg:#f1f5f3;
  --surface:#ffffff;
  --surface-2:#f8fbf9;
  --surface-3:#eef7f1;
  --surface-warm:#fffaf0;
  --surface-blue:#f3f8fc;
  --border:#cfded5;
  --border-strong:#b8cfc1;
  --border-gold:#d9c889;
  --text:#172019;
  --text-soft:#405248;
  --text-muted:#63746a;
  --green:#2d7a46;
  --green-strong:#24663a;
  --green-soft:#e8f5ec;
  --gold:#8d6b16;
  --shadow-soft:0 12px 28px rgba(18,34,24,0.075);
  --shadow-card:0 10px 22px rgba(18,34,24,0.065), inset 0 1px 0 rgba(255,255,255,0.92);
}

html.light-mode body,
body.light-mode{
  background:linear-gradient(180deg,#f3f7f5 0%,#edf3f0 100%) !important;
  color:var(--text) !important;
}

html.light-mode .container,
body.light-mode .container{
  background:linear-gradient(180deg,#ffffff 0%,#fbfdfc 100%) !important;
  color:var(--text) !important;
  border:1px solid rgba(184,207,193,0.72) !important;
  box-shadow:0 18px 42px rgba(18,34,24,0.085) !important;
}

html.light-mode h1,
html.light-mode h2,
html.light-mode h3,
html.light-mode h4,
html.light-mode h5,
html.light-mode h6,
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6{
  color:var(--text) !important;
}

html.light-mode p,
html.light-mode li,
html.light-mode .subtitle,
html.light-mode .small,
html.light-mode .note,
html.light-mode .tagline,
html.light-mode .category-intro,
html.light-mode .ref,
html.light-mode .label,
html.light-mode .translit,
html.light-mode .meaning,
html.light-mode .when,
html.light-mode .muted,
html.light-mode .prayer-meta,
html.light-mode .countdown-note,
html.light-mode .wallet-note,
html.light-mode .surah-meta,
html.light-mode .article p,
body.light-mode p,
body.light-mode .note{
  color:var(--text-soft) !important;
}

html.light-mode .section h2{
  border-left-color:var(--green) !important;
}

html.light-mode .block,
html.light-mode .card,
html.light-mode .box,
html.light-mode .panel,
html.light-mode .quote,
html.light-mode .empty,
html.light-mode .article,
html.light-mode .category-panel,
html.light-mode .surah-card,
html.light-mode .prayer-card,
html.light-mode .toggle-row,
html.light-mode .meta-item,
html.light-mode .note-box,
html.light-mode .jumuah-box,
html.light-mode .month-day,
html.light-mode .month-head,
html.light-mode .wallet-support,
html.light-mode .home-widget,
html.light-mode .intro,
html.light-mode .transactions,
html.light-mode .verification,
html.light-mode .mobile-dropdown,
html.light-mode .mobile-dropdown-title,
html.light-mode .mobile-dropdown-content,
html.light-mode .donation-dropdown,
html.light-mode .donation-dropdown-content,
html.light-mode .dropdown-block,
html.light-mode .dropdown-content,
html.light-mode .name-chip,
html.light-mode .help-category,
html.light-mode .help-card,
html.light-mode .aid-card,
html.light-mode .support-card,
html.light-mode .qibla-panel,
html.light-mode .qibla-card,
html.light-mode .qibla-box,
html.light-mode .hero-panel,
html.light-mode .hero-stat,
html.light-mode .dua-card,
html.light-mode .master-audio-wrap,
html.light-mode .ayah-card,
html.light-mode .loading,
body.light-mode .container .btn{
  background:linear-gradient(180deg,#ffffff 0%,#fbfdfc 100%) !important;
  border:1.5px solid var(--border) !important;
  color:var(--text) !important;
  box-shadow:var(--shadow-card) !important;
}

html.light-mode .card:hover,
html.light-mode .box:hover,
html.light-mode .panel:hover,
html.light-mode .surah-card:hover,
html.light-mode .prayer-card:hover,
html.light-mode .month-day:hover,
html.light-mode .name-chip:hover,
html.light-mode .help-card:hover,
html.light-mode .support-card:hover,
html.light-mode .dua-card:hover,
html.light-mode .ayah-card:hover,
body.light-mode .container .btn:hover{
  border-color:var(--border-strong) !important;
  box-shadow:0 14px 30px rgba(18,34,24,0.10), inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

html.light-mode .prayer-card.active,
html.light-mode .month-day.today,
html.light-mode .quick-btn.active,
html.light-mode .name-chip.active,
html.light-mode .surah-link:hover .surah-card{
  background:linear-gradient(135deg,#f0faf3 0%,#ffffff 55%,#fffaf0 100%) !important;
  border-color:var(--green) !important;
  box-shadow:0 0 0 1px rgba(45,122,70,0.13), 0 12px 26px rgba(45,122,70,0.10) !important;
}

html.light-mode .wallet-badge,
html.light-mode .badge,
html.light-mode .chip,
html.light-mode .quick-btn,
html.light-mode .help-option-btn,
html.light-mode .share-btn,
html.light-mode .btn.secondary,
html.light-mode .share-wallet-btn,
html.light-mode .reset-btn,
html.light-mode .qibla-reset,
html.light-mode button[type="reset"],
html.light-mode #resetHeadingBtn{
  background:linear-gradient(180deg,#ffffff 0%,#eef7f1 100%) !important;
  border:1.5px solid var(--border) !important;
  color:var(--green-strong) !important;
  box-shadow:0 8px 18px rgba(18,34,24,0.055) !important;
}

html.light-mode .btn.primary,
html.light-mode .copy-wallet-btn,
html.light-mode .install-btn,
html.light-mode button:not(.icon-btn):not(.home-prayer-share-btn):not(.share-close):not(.install-help-close),
body.light-mode .container .btn:not(.btn-disabled){
  border:1.5px solid rgba(45,122,70,0.22) !important;
  box-shadow:0 12px 26px rgba(45,122,70,0.12), inset 0 1px 0 rgba(255,255,255,0.26) !important;
}

html.light-mode input,
html.light-mode textarea,
html.light-mode select,
html.light-mode .input,
html.light-mode .select,
html.light-mode .number,
html.light-mode .search-input,
html.light-mode .search-box input,
html.light-mode .sec-box,
html.light-mode .wallet-address{
  background:#ffffff !important;
  color:var(--text) !important;
  border:1.5px solid var(--border-strong) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.95), 0 8px 18px rgba(18,34,24,0.045) !important;
}

html.light-mode input:focus,
html.light-mode textarea:focus,
html.light-mode select:focus,
html.light-mode .search-input:focus,
html.light-mode .search-box input:focus{
  outline:2px solid rgba(45,122,70,0.14) !important;
  border-color:var(--green) !important;
}

html.light-mode .wallet-warning,
html.light-mode .warning,
html.light-mode .error{
  background:linear-gradient(180deg,#fff8f4 0%,#fff1ec 100%) !important;
  border:1.5px solid #e6b9a7 !important;
  color:#7c2d12 !important;
  box-shadow:0 10px 22px rgba(124,45,18,0.07) !important;
}

html.light-mode .quote{
  background:linear-gradient(180deg,#f0faf3 0%,#ffffff 100%) !important;
  border:1.5px solid var(--border-strong) !important;
  color:var(--text) !important;
}

html.light-mode .donation-dropdown summary,
html.light-mode .dropdown-block summary{
  border-bottom:1px solid rgba(184,207,193,0.72) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.30) !important;
}

html.light-mode .article a,
html.light-mode .link a,
html.light-mode .footer a,
html.light-mode .verification a,
html.light-mode .transactions a,
html.light-mode a[href*="tronscan"]{
  color:var(--green-strong) !important;
}

html.light-mode strong{
  color:var(--green-strong) !important;
  font-weight:700 !important;
}

html.light-mode .meta-label,
html.light-mode .hero-stat-label,
html.light-mode .dua-ref,
html.light-mode .field-label,
html.light-mode .surah-ayahs{
  color:var(--text-muted) !important;
}

html.light-mode .meta-value,
html.light-mode .month-num,
html.light-mode .prayer-name,
html.light-mode .prayer-time,
html.light-mode .big-location,
html.light-mode .next-name,
html.light-mode .hero-stat-value,
html.light-mode .dua-title,
html.light-mode .dua-arabic,
html.light-mode .surah-name,
html.light-mode .section-title,
html.light-mode .ayah-arabic{
  color:var(--text) !important;
}

html.light-mode .ayah-translit{
  color:#4d6358 !important;
}

html.light-mode .ayah-meaning{
  color:#2e3e35 !important;
}

html.light-mode .play-btn,
html.light-mode .copy-btn,
html.light-mode .audio-btn{
  border:1.5px solid rgba(45,122,70,0.24) !important;
  box-shadow:0 8px 18px rgba(45,122,70,0.10) !important;
}

html.light-mode hr,
html.light-mode .divider{
  border-color:var(--border) !important;
  background:var(--border) !important;
}

html.light-mode table,
html.light-mode th,
html.light-mode td{
  border-color:var(--border) !important;
}

html.light-mode th{
  background:#eef7f1 !important;
  color:var(--text) !important;
}

@media (max-width:700px){
  html.light-mode .container{
    border-left:none !important;
    border-right:none !important;
    box-shadow:none !important;
  }

  html.light-mode .quick-btn,
  html.light-mode .card,
  html.light-mode .box,
  html.light-mode .panel,
  html.light-mode .surah-card,
  html.light-mode .prayer-card,
  html.light-mode .ayah-card{
    border-width:1.5px !important;
    box-shadow:0 8px 18px rgba(18,34,24,0.07) !important;
  }
}


/* ===== BARAKAWAY PREMIUM LIGHT MODE V3 — LIGHT ONLY ===== */
/* This layer intentionally targets only html.light-mode/body.light-mode. Dark mode is not touched. */

html.light-mode{
  --bw-light-bg-1:#f6f1e7;
  --bw-light-bg-2:#edf6ef;
  --bw-light-paper:#fffdf7;
  --bw-light-paper-2:#f8fcf8;
  --bw-light-green:#2d7a46;
  --bw-light-green-2:#e6f4ea;
  --bw-light-gold:#b88a1b;
  --bw-light-gold-2:#fff4d6;
  --bw-light-border:#b9d2c0;
  --bw-light-border-strong:#8fb69b;
  --bw-light-text:#142019;
  --bw-light-muted:#51645a;
  --bw-light-shadow:0 18px 42px rgba(41,70,48,.12);
  --bw-light-card-shadow:0 12px 30px rgba(41,70,48,.10), inset 0 1px 0 rgba(255,255,255,.96);
}

html.light-mode body,
body.light-mode{
  background:
    radial-gradient(circle at 50% -10%, rgba(255,244,214,.95) 0%, rgba(255,244,214,0) 34%),
    linear-gradient(180deg,var(--bw-light-bg-1) 0%,var(--bw-light-bg-2) 54%,#f7faf8 100%) !important;
  color:var(--bw-light-text) !important;
}

html.light-mode .container,
body.light-mode .container{
  background:linear-gradient(180deg,#fffefa 0%,#ffffff 46%,#f8fcf9 100%) !important;
  border:1.5px solid rgba(143,182,155,.58) !important;
  box-shadow:0 30px 80px rgba(33,58,41,.14), inset 0 1px 0 rgba(255,255,255,.98) !important;
}

html.light-mode .ramadan-bar,
html.premium-theme-emerald-quran .ramadan-bar{
  background:linear-gradient(
    180deg,
    rgba(12,48,31,.96) 0%,
    rgba(6,28,18,.99) 100%
  ) !important;

  border-bottom:1px solid rgba(110,231,183,.14) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 8px 24px rgba(0,0,0,.24) !important;
}

html.light-mode .desktop-theme-toggle-inner{
  background:linear-gradient(180deg,#ffffff 0%,#f6fbf7 100%) !important;
  border:1.5px solid rgba(143,182,155,.55) !important;
  box-shadow:0 10px 26px rgba(41,70,48,.13), inset 0 1px 0 rgba(255,255,255,.96) !important;
}

html.light-mode .desktop-theme-toggle .theme-toggle-label{
  color:#17341f !important;
}

html.light-mode .theme-switch{
  background:linear-gradient(135deg,#d6e5db 0%,#edf5ef 100%) !important;
  border:1px solid rgba(45,122,70,.18) !important;
  box-shadow:inset 0 1px 2px rgba(23,49,31,.10) !important;
}

html.light-mode .brand-prayer-hero,
html.light-mode .today-hub,
html.light-mode .about-project-card,
html.light-mode .donation-dropdown,
html.light-mode .intro,
html.light-mode .quote,
html.light-mode .transactions,
html.light-mode .verification,
html.light-mode .panel,
html.light-mode .block,
html.light-mode .card,
html.light-mode .article,
html.light-mode .category-panel,
html.light-mode .home-widget,
html.light-mode .note-box,
html.light-mode .jumuah-box,
html.light-mode .wallet-support{
  background:linear-gradient(145deg,#ffffff 0%,#fffdf8 46%,#eef8f2 100%) !important;
  border:1.5px solid rgba(143,182,155,.58) !important;
  box-shadow:var(--bw-light-shadow), inset 0 1px 0 rgba(255,255,255,.98) !important;
  color:var(--bw-light-text) !important;
}

html.light-mode .home-prayer-widget{
  background:
    linear-gradient(135deg,#fffefa 0%,#f4fbf6 48%,#e7f4eb 100%) !important;
  border:1.5px solid rgba(45,122,70,.30) !important;
  box-shadow:0 18px 42px rgba(45,122,70,.14), inset 0 1px 0 rgba(255,255,255,.98) !important;
}

html.light-mode .home-prayer-countdown{
  background:linear-gradient(180deg,#fff9e8 0%,#ecf8ef 100%) !important;
  border:1.5px solid rgba(184,138,27,.24) !important;
  color:#24663a !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.94) !important;
}

html.light-mode .today-action,
html.light-mode .premium-resource-card,
html.light-mode .surah-card,
html.light-mode .prayer-card,
html.light-mode .month-day,
html.light-mode .meta-item,
html.light-mode .toggle-row,
html.light-mode .dua-card,
html.light-mode .help-card,
html.light-mode .aid-card,
html.light-mode .support-card,
html.light-mode .name-chip,
html.light-mode .dropdown-block{
  background:linear-gradient(145deg,#ffffff 0%,#fffdf8 50%,#f0f8f2 100%) !important;
  border:1.5px solid rgba(143,182,155,.62) !important;
  box-shadow:var(--bw-light-card-shadow) !important;
  color:var(--bw-light-text) !important;
}

html.light-mode .today-action:nth-child(1),
html.light-mode .premium-resource-card:nth-child(1),
html.light-mode .app-menu-btn:nth-child(1){
  background:linear-gradient(135deg,#fff8e7 0%,#fffefa 44%,#edf8f1 100%) !important;
  border-color:rgba(184,138,27,.36) !important;
}

html.light-mode .today-action:nth-child(2),
html.light-mode .premium-resource-card:nth-child(2),
html.light-mode .app-menu-btn:nth-child(2){
  background:linear-gradient(135deg,#f5fbff 0%,#ffffff 44%,#edf7f1 100%) !important;
  border-color:rgba(73,154,222,.28) !important;
}

html.light-mode .today-action:nth-child(3),
html.light-mode .premium-resource-card:nth-child(3),
html.light-mode .app-menu-btn:nth-child(3){
  background:linear-gradient(135deg,#fffaf0 0%,#ffffff 44%,#f4f1fb 100%) !important;
  border-color:rgba(124,111,186,.28) !important;
}

html.light-mode .today-action:nth-child(4),
html.light-mode .premium-resource-card:nth-child(4),
html.light-mode .app-menu-btn:nth-child(4){
  background:linear-gradient(135deg,#fffafa 0%,#ffffff 44%,#eef8f2 100%) !important;
  border-color:rgba(45,122,70,.30) !important;
}

html.light-mode .today-action:hover,
html.light-mode .premium-resource-card:hover,
html.light-mode .app-menu-btn:hover,
html.light-mode .surah-link:hover .surah-card,
html.light-mode .prayer-card:hover{
  border-color:rgba(45,122,70,.48) !important;
  box-shadow:0 18px 42px rgba(45,122,70,.16), inset 0 1px 0 rgba(255,255,255,.98) !important;
}

html.light-mode .today-action-icon,
html.light-mode .premium-resource-icon,
html.light-mode .wallet-badge,
html.light-mode .badge,
html.light-mode .chip,
html.light-mode .quick-btn{
  background:linear-gradient(180deg,#fff6dc 0%,#eaf7ee 100%) !important;
  border:1px solid rgba(184,138,27,.24) !important;
  color:#24663a !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.94) !important;
}

html.light-mode .today-goal-action{
  background:linear-gradient(135deg,#ffffff 0%,#fff7f4 48%,#ffd9d9 100%) !important;
  border-color:rgba(210,68,68,.26) !important;
  box-shadow:0 14px 34px rgba(210,68,68,.12), inset 0 1px 0 rgba(255,255,255,.96) !important;
}

html.light-mode .today-goal-action.goal-done{
  background:linear-gradient(135deg,#f5fff7 0%,#ffffff 48%,#e3f5e9 100%) !important;
  border-color:rgba(45,122,70,.34) !important;
  box-shadow:0 14px 34px rgba(45,122,70,.12), inset 0 1px 0 rgba(255,255,255,.96) !important;
}

html.light-mode .support-project-btn,
html.light-mode .install-btn,
html.light-mode .btn.primary,
html.light-mode .copy-wallet-btn{
  background:linear-gradient(135deg,#2d7a46 0%,#3f9a5d 58%,#b88a1b 130%) !important;
  color:#ffffff !important;
  border:1.5px solid rgba(184,138,27,.26) !important;
  box-shadow:0 16px 34px rgba(45,122,70,.20), inset 0 1px 0 rgba(255,255,255,.22) !important;
}

html.light-mode .about-project-actions a,
html.light-mode .btn.secondary,
html.light-mode .share-wallet-btn,
html.light-mode .home-prayer-note{
  background:linear-gradient(135deg,#fff7df 0%,#eff8f2 100%) !important;
  color:#24663a !important;
  border:1.5px solid rgba(184,138,27,.26) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92) !important;
}

html.light-mode h1,
html.light-mode h2,
html.light-mode h3,
html.light-mode h4,
html.light-mode .title,
html.light-mode .today-hub-title,
html.light-mode .home-section-title h2,
html.light-mode .premium-resource-title,
html.light-mode .today-action-title,
html.light-mode .about-project-title,
html.light-mode .surah-name,
html.light-mode .dua-title{
  color:#122018 !important;
  text-shadow:0 1px 0 rgba(255,255,255,.82) !important;
}

html.light-mode p,
html.light-mode li,
html.light-mode .today-action-text,
html.light-mode .premium-resource-text,
html.light-mode .about-project-text,
html.light-mode .subtitle,
html.light-mode .small,
html.light-mode .note,
html.light-mode .muted,
html.light-mode .home-section-note{
  color:var(--bw-light-muted) !important;
}

html.light-mode .bottom-app-nav{
  background:linear-gradient(180deg,rgba(252,255,253,.94) 0%,rgba(232,246,238,.98) 100%) !important;
  border-top:1.5px solid rgba(45,122,70,.28) !important;
  box-shadow:0 -16px 38px rgba(41,70,48,.16), inset 0 1px 0 rgba(255,255,255,.96) !important;
}

html.light-mode .bottom-app-nav-item.active{
  background:linear-gradient(135deg,#2d7a46 0%,#4caf6a 100%) !important;
  color:#ffffff !important;
  box-shadow:0 10px 20px rgba(45,122,70,.20), inset 0 1px 0 rgba(255,255,255,.16) !important;
}

/* ===== BARAKAWAY PREMIUM SVG BOTTOM NAV — UNIVERSAL ===== */
body{padding-bottom:calc(92px + env(safe-area-inset-bottom)) !important;}
.bottom-app-nav{position:fixed;left:0;right:0;bottom:0;z-index:2100;min-height:82px;padding:9px max(12px,env(safe-area-inset-left)) calc(9px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:center;box-sizing:border-box;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);transition:background .25s ease,border-color .25s ease,box-shadow .25s ease;}
.bottom-app-nav::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(215,192,122,.45),rgba(102,198,128,.42),transparent);pointer-events:none;}
html.dark-mode .bottom-app-nav{background:linear-gradient(180deg,rgba(16,22,29,.72) 0%,rgba(13,18,24,.96) 100%);border-top:1px solid rgba(214,184,98,.16);box-shadow:0 -18px 44px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.035);}
html.light-mode .bottom-app-nav{background:linear-gradient(180deg,rgba(252,255,253,.94) 0%,rgba(232,246,238,.98) 100%) !important;border-top:1.5px solid rgba(45,122,70,.28) !important;box-shadow:0 -16px 38px rgba(41,70,48,.16),inset 0 1px 0 rgba(255,255,255,.96) !important;}
.bottom-app-nav-inner{position:relative;width:min(100%,560px);min-height:64px;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;gap:7px;padding:7px;border-radius:30px;box-sizing:border-box;transition:background .25s ease,border-color .25s ease,box-shadow .25s ease;}
html.dark-mode .bottom-app-nav-inner{background:linear-gradient(180deg,rgba(23,31,40,.92),rgba(17,24,31,.92));border:1px solid rgba(102,198,128,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 10px 28px rgba(0,0,0,.18);}
html.light-mode .bottom-app-nav-inner{background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(245,251,247,.96));border:1px solid rgba(143,182,155,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.96),0 10px 24px rgba(41,70,48,.09);}
.bottom-app-nav-item{min-width:0;min-height:52px;border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-decoration:none;font-size:11px;line-height:1;font-weight:900;letter-spacing:-.025em;-webkit-tap-highlight-color:transparent;user-select:none;transition:transform .18s ease,background .25s ease,color .25s ease,box-shadow .25s ease,border-color .25s ease,opacity .25s ease;border:1px solid transparent;}
.bottom-app-nav-item svg{width:22px;height:22px;display:block;stroke:currentColor;fill:none;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease,opacity .25s ease;}
.bottom-app-nav-item span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html.dark-mode .bottom-app-nav-item{color:#aebbb5;}
html.light-mode .bottom-app-nav-item{color:#51645a;}
.bottom-app-nav-item:hover{transform:translateY(-1px);}
.bottom-app-nav-item:active{transform:scale(.96);}
.bottom-app-nav-item.active{transform:translateY(-2px);}
.bottom-app-nav-item.active svg{transform:translateY(-1px) scale(1.04);}
html.dark-mode .bottom-app-nav-item.active{background:linear-gradient(135deg,rgba(215,192,122,.22),rgba(45,122,70,.28));color:#f4e4a8;border-color:rgba(215,192,122,.26);box-shadow:0 12px 24px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.05);}
html.light-mode .bottom-app-nav-item.active{background:linear-gradient(135deg,#2d7a46 0%,#4caf6a 100%) !important;color:#ffffff !important;border-color:rgba(45,122,70,.20);box-shadow:0 10px 20px rgba(45,122,70,.20),inset 0 1px 0 rgba(255,255,255,.16) !important;}
@media(min-width:701px){body{padding-bottom:calc(104px + env(safe-area-inset-bottom)) !important;}.bottom-app-nav{min-height:88px;padding-top:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom));}.bottom-app-nav-inner{width:min(100%,620px);min-height:68px;gap:9px;padding:8px;}.bottom-app-nav-item{min-height:54px;font-size:12px;}.bottom-app-nav-item svg{width:23px;height:23px;}}
@media(max-width:380px){.bottom-app-nav{padding-left:7px;padding-right:7px;}.bottom-app-nav-inner{gap:4px;padding:6px;border-radius:26px;}.bottom-app-nav-item{min-height:50px;border-radius:20px;font-size:10px;}.bottom-app-nav-item svg{width:20px;height:20px;}}

.bottom-app-nav svg,
.bottom-app-nav-icon svg{
  width:24px !important;
  height:24px !important;
  display:block !important;
  flex-shrink:0 !important;
}

.bottom-app-nav path{
  fill:currentColor !important;
}

.bottom-app-nav-item{
  overflow:hidden !important;
}

/* ===== BARAKAWAY FINAL PREMIUM THEMES V35 — SINGLE CLEAN LAYER ===== */
/* Old square/grid/oversized premium layers removed. This is the only global premium layer. */
html[class*="premium-theme-"]{
  --bw-premium-gold:#d8b35f;
  --bw-premium-gold-soft:#f7e6b7;
  --bw-premium-gold-dark:#3f2a0b;
  --bw-premium-radius:24px;
  --bw-premium-text:#f8ecd0;
  --bw-premium-text-soft:#ead6aa;
  --bw-premium-muted:#c7af79;
  --bw-premium-border:rgba(216,179,95,.48);
  --bw-premium-border-strong:rgba(247,230,183,.72);
  --bw-premium-page:linear-gradient(180deg,#0c0f13 0%,#151a20 52%,#0a0d10 100%);
  --bw-premium-surface:linear-gradient(145deg,#111820 0%,#1a222b 52%,#0d1118 100%);
  --bw-premium-surface-2:linear-gradient(145deg,#121a22 0%,#1f2a33 52%,#0d1118 100%);
  --bw-premium-button:linear-gradient(180deg,#f7e6b7 0%,#a6782a 100%);
  --bw-premium-button-text:#1f1404;
  --bw-premium-shadow:0 22px 58px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.20), inset 0 -18px 34px rgba(0,0,0,.12);
}

html.premium-theme-royal-gold{
  --bw-premium-text:#241707;
  --bw-premium-text-soft:#402a0d;
  --bw-premium-muted:#624316;
  --bw-premium-border:rgba(106,76,24,.38);
  --bw-premium-border-strong:rgba(83,56,16,.58);
  --bw-premium-page:radial-gradient(circle at 18% 0%,rgba(255,239,180,.38),transparent 30%),radial-gradient(circle at 82% 10%,rgba(255,255,255,.22),transparent 28%),linear-gradient(180deg,#b57c2e 0%,#e2bd70 50%,#a86e27 100%);
  --bw-premium-surface:radial-gradient(circle at 82% 12%,rgba(255,248,211,.52),transparent 32%),linear-gradient(145deg,#a36b25 0%,#d7a24b 52%,#ffe28c 100%);
  --bw-premium-surface-2:radial-gradient(circle at 82% 12%,rgba(255,248,211,.34),transparent 32%),linear-gradient(145deg,#b77b2f 0%,#e0b464 52%,#f6d98b 100%);
  --bw-premium-button:linear-gradient(180deg,#4d3410 0%,#1f1404 100%);
  --bw-premium-button-text:#fff0bd;
}

html.premium-theme-emerald-quran{
  --bw-premium-text:#fff0bd;
  --bw-premium-text-soft:#f1d99a;
  --bw-premium-muted:#c6ae75;
  --bw-premium-page:radial-gradient(circle at 16% 0%,rgba(116,242,168,.20),transparent 30%),radial-gradient(circle at 84% 8%,rgba(244,223,173,.12),transparent 30%),linear-gradient(180deg,#002515 0%,#005a35 50%,#001b12 100%);
  --bw-premium-surface:linear-gradient(135deg,rgba(0,20,13,.40),rgba(255,255,255,.05) 34%,rgba(150,255,203,.10) 68%,rgba(0,0,0,.20)),linear-gradient(145deg,#002918 0%,#00683d 54%,#12a965 100%);
  --bw-premium-surface-2:linear-gradient(135deg,rgba(0,20,13,.36),rgba(255,255,255,.04) 34%,rgba(150,255,203,.08) 68%,rgba(0,0,0,.18)),linear-gradient(145deg,#00331f 0%,#007346 54%,#1ebd72 100%);
}

html.premium-theme-violet-noor{
  --bw-premium-text:#fff0bd;
  --bw-premium-text-soft:#ead6aa;
  --bw-premium-muted:#c7af79;
  --bw-premium-page:radial-gradient(ellipse at 18% 0%,rgba(217,170,255,.22),transparent 32%),radial-gradient(ellipse at 86% 8%,rgba(244,223,173,.12),transparent 28%),linear-gradient(180deg,#150821 0%,#4c2381 50%,#12071d 100%);
  --bw-premium-surface:radial-gradient(ellipse at 18% 16%,rgba(255,218,255,.20),transparent 34%),radial-gradient(ellipse at 84% 28%,rgba(83,70,209,.32),transparent 38%),linear-gradient(145deg,#1b0b2a 0%,#57298a 52%,#8f52cf 100%);
  --bw-premium-surface-2:radial-gradient(ellipse at 18% 16%,rgba(255,218,255,.16),transparent 34%),radial-gradient(ellipse at 84% 28%,rgba(83,70,209,.28),transparent 38%),linear-gradient(145deg,#241034 0%,#63319a 52%,#9a61d6 100%);
}

html.premium-theme-rose-soft{
  --bw-premium-text:#4a1d31;
  --bw-premium-text-soft:#6a2b47;
  --bw-premium-muted:#7e3c58;
  --bw-premium-border:rgba(112,68,24,.35);
  --bw-premium-border-strong:rgba(84,52,20,.52);
  --bw-premium-page:radial-gradient(ellipse at 18% 0%,rgba(255,242,248,.34),transparent 32%),radial-gradient(ellipse at 86% 10%,rgba(216,179,95,.16),transparent 28%),linear-gradient(180deg,#c86d9b 0%,#f2a9cb 50%,#b65385 100%);
  --bw-premium-surface:radial-gradient(ellipse at 18% 16%,rgba(255,242,248,.38),transparent 32%),radial-gradient(ellipse at 82% 20%,rgba(255,155,204,.30),transparent 40%),linear-gradient(145deg,#c56092 0%,#ee9dc3 56%,#ffd1e4 100%);
  --bw-premium-surface-2:radial-gradient(ellipse at 18% 16%,rgba(255,242,248,.32),transparent 32%),linear-gradient(145deg,#d374a4 0%,#f3add0 56%,#ffdceb 100%);
  --bw-premium-button:linear-gradient(180deg,#5d2f11 0%,#2a1608 100%);
  --bw-premium-button-text:#fff0bd;
}

html.premium-theme-carbon-elite{
  --bw-premium-text:#f4dfad;
  --bw-premium-text-soft:#d8c38f;
  --bw-premium-muted:#aa986d;
  --bw-premium-page:radial-gradient(circle at 16% 0%,rgba(255,255,255,.08),transparent 28%),linear-gradient(180deg,#030405 0%,#11171d 52%,#030405 100%);
  --bw-premium-surface:linear-gradient(135deg,rgba(255,255,255,.07),rgba(0,0,0,0) 34%,rgba(255,255,255,.04) 68%,rgba(0,0,0,.28)),repeating-linear-gradient(45deg,rgba(255,255,255,.08) 0 5px,rgba(0,0,0,.16) 5px 10px),repeating-linear-gradient(-45deg,rgba(255,255,255,.055) 0 5px,rgba(0,0,0,.18) 5px 10px),linear-gradient(145deg,#050607 0%,#1c232a 52%,#48545e 100%);
  --bw-premium-surface-2:var(--bw-premium-surface);
}

html.premium-theme-children-soft{
  --bw-premium-text:#16364d;
  --bw-premium-text-soft:#274c66;
  --bw-premium-muted:#45677e;
  --bw-premium-border:rgba(130,91,38,.30);
  --bw-premium-border-strong:rgba(98,68,28,.46);
  --bw-premium-page:radial-gradient(circle at 18% 0%,rgba(255,255,255,.30),transparent 30%),radial-gradient(circle at 84% 10%,rgba(255,227,241,.20),transparent 28%),linear-gradient(180deg,#9bd2f2 0%,#d8eefc 50%,#8bc6ea 100%);
  --bw-premium-surface:linear-gradient(135deg,rgba(255,255,255,.24),rgba(255,231,241,.12)),linear-gradient(145deg,#bfe9ff 0%,#79bdeb 55%,#fff0f6 100%);
  --bw-premium-surface-2:linear-gradient(135deg,rgba(255,255,255,.22),rgba(255,231,241,.12)),linear-gradient(145deg,#c9eeff 0%,#8fd0f0 55%,#fff3f8 100%);
}

html.premium-theme-night-mosque{
  --bw-premium-text:#fff0bd;
  --bw-premium-text-soft:#ead6aa;
  --bw-premium-muted:#c7af79;
  --bw-premium-page:radial-gradient(circle at 86% 16%,rgba(255,255,255,.16),transparent 24%),linear-gradient(180deg,#050713 0%,#10184a 52%,#050713 100%);
  --bw-premium-surface:radial-gradient(circle at 18% 22%,rgba(255,255,255,.16),transparent 1.4px),radial-gradient(circle at 64% 12%,rgba(255,255,255,.28),transparent 1.8px),radial-gradient(circle at 82% 66%,rgba(255,255,255,.20),transparent 1.5px),linear-gradient(145deg,#07091f 0%,#10184a 55%,#1e3471 100%);
  --bw-premium-surface-2:var(--bw-premium-surface);
}

html.premium-theme-desert-sand{
  --bw-premium-text:#2a1a06;
  --bw-premium-text-soft:#4a310d;
  --bw-premium-muted:#6b4b18;
  --bw-premium-border:rgba(112,75,24,.36);
  --bw-premium-border-strong:rgba(84,54,16,.52);
  --bw-premium-page:radial-gradient(circle at 90% 12%,rgba(255,247,214,.26),transparent 30%),linear-gradient(180deg,#bd8c47 0%,#f1d192 52%,#b9833d 100%);
  --bw-premium-surface:radial-gradient(circle at 90% 12%,rgba(255,247,214,.24),transparent 30%),linear-gradient(145deg,#b98542 0%,#d8a862 55%,#f6dca6 100%);
  --bw-premium-surface-2:radial-gradient(circle at 90% 12%,rgba(255,247,214,.20),transparent 30%),linear-gradient(145deg,#c79752 0%,#e0b66f 55%,#f7dfaa 100%);
  --bw-premium-button:linear-gradient(180deg,#4d3410 0%,#1f1404 100%);
  --bw-premium-button-text:#fff0bd;
}

html[class*="premium-theme-"] body:not(.page-themes-pro),
html[class*="premium-theme-"] body:not(.page-themes-pro).dark-mode,
html[class*="premium-theme-"] body:not(.page-themes-pro).light-mode{
  background:var(--bw-premium-page) !important;
  color:var(--bw-premium-text) !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) h1,
html[class*="premium-theme-"] body:not(.page-themes-pro) h2,
html[class*="premium-theme-"] body:not(.page-themes-pro) h3,
html[class*="premium-theme-"] body:not(.page-themes-pro) h4,
html[class*="premium-theme-"] body:not(.page-themes-pro) h5,
html[class*="premium-theme-"] body:not(.page-themes-pro) h6,
html[class*="premium-theme-"] body:not(.page-themes-pro) .title,
html[class*="premium-theme-"] body:not(.page-themes-pro) .section-title,
html[class*="premium-theme-"] body:not(.page-themes-pro) .item-title,
html[class*="premium-theme-"] body:not(.page-themes-pro) .card-title{
  color:var(--bw-premium-text) !important;
  text-shadow:0 1px 0 rgba(255,255,255,.12), 0 8px 22px rgba(0,0,0,.20) !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) p,
html[class*="premium-theme-"] body:not(.page-themes-pro) li,
html[class*="premium-theme-"] body:not(.page-themes-pro) span,
html[class*="premium-theme-"] body:not(.page-themes-pro) .subtitle,
html[class*="premium-theme-"] body:not(.page-themes-pro) .note,
html[class*="premium-theme-"] body:not(.page-themes-pro) .muted,
html[class*="premium-theme-"] body:not(.page-themes-pro) .small,
html[class*="premium-theme-"] body:not(.page-themes-pro) .label,
html[class*="premium-theme-"] body:not(.page-themes-pro) .meta,
html[class*="premium-theme-"] body:not(.page-themes-pro) .surah-meta,
html[class*="premium-theme-"] body:not(.page-themes-pro) .prayer-meta,
html[class*="premium-theme-"] body:not(.page-themes-pro) .article p{
  color:var(--bw-premium-text-soft) !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) .container,
html[class*="premium-theme-"] body:not(.page-themes-pro) .page,
html[class*="premium-theme-"] body:not(.page-themes-pro) .panel,
html[class*="premium-theme-"] body:not(.page-themes-pro) .block,
html[class*="premium-theme-"] body:not(.page-themes-pro) .card,
html[class*="premium-theme-"] body:not(.page-themes-pro) .box,
html[class*="premium-theme-"] body:not(.page-themes-pro) .article,
html[class*="premium-theme-"] body:not(.page-themes-pro) .category-panel,
html[class*="premium-theme-"] body:not(.page-themes-pro) .home-widget,
html[class*="premium-theme-"] body:not(.page-themes-pro) .today-hub,
html[class*="premium-theme-"] body:not(.page-themes-pro) .today-action,
html[class*="premium-theme-"] body:not(.page-themes-pro) .premium-resource-card,
html[class*="premium-theme-"] body:not(.page-themes-pro) .surah-card,
html[class*="premium-theme-"] body:not(.page-themes-pro) .prayer-card,
html[class*="premium-theme-"] body:not(.page-themes-pro) .dua-card,
html[class*="premium-theme-"] body:not(.page-themes-pro) .ayah-card,
html[class*="premium-theme-"] body:not(.page-themes-pro) .note-box,
html[class*="premium-theme-"] body:not(.page-themes-pro) .dropdown-block,
html[class*="premium-theme-"] body:not(.page-themes-pro) .dropdown-content,
html[class*="premium-theme-"] body:not(.page-themes-pro) details,
html[class*="premium-theme-"] body:not(.page-themes-pro) summary{
  background:var(--bw-premium-surface) !important;
  border:1.5px solid var(--bw-premium-border) !important;
  color:var(--bw-premium-text) !important;
  box-shadow:var(--bw-premium-shadow) !important;
  backdrop-filter:blur(18px) saturate(130%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(130%) !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) .card:nth-child(even),
html[class*="premium-theme-"] body:not(.page-themes-pro) .block:nth-child(even),
html[class*="premium-theme-"] body:not(.page-themes-pro) .panel:nth-child(even),
html[class*="premium-theme-"] body:not(.page-themes-pro) .today-action:nth-child(even),
html[class*="premium-theme-"] body:not(.page-themes-pro) .premium-resource-card:nth-child(even){
  background:var(--bw-premium-surface-2) !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) a,
html[class*="premium-theme-"] body:not(.page-themes-pro) strong,
html[class*="premium-theme-"] body:not(.page-themes-pro) .badge,
html[class*="premium-theme-"] body:not(.page-themes-pro) .chip,
html[class*="premium-theme-"] body:not(.page-themes-pro) .meta-value{
  color:var(--bw-premium-text) !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) button,
html[class*="premium-theme-"] body:not(.page-themes-pro) .btn,
html[class*="premium-theme-"] body:not(.page-themes-pro) .quick-btn,
html[class*="premium-theme-"] body:not(.page-themes-pro) .copy-btn,
html[class*="premium-theme-"] body:not(.page-themes-pro) .install-btn,
html[class*="premium-theme-"] body:not(.page-themes-pro) .share-btn{
  background:var(--bw-premium-button) !important;
  color:var(--bw-premium-button-text) !important;
  border:1.5px solid var(--bw-premium-border-strong) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.28) !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) input,
html[class*="premium-theme-"] body:not(.page-themes-pro) textarea,
html[class*="premium-theme-"] body:not(.page-themes-pro) select,
html[class*="premium-theme-"] body:not(.page-themes-pro) .input,
html[class*="premium-theme-"] body:not(.page-themes-pro) .search-input,
html[class*="premium-theme-"] body:not(.page-themes-pro) .wallet-address{
  background:var(--bw-premium-surface-2) !important;
  color:var(--bw-premium-text) !important;
  -webkit-text-fill-color:var(--bw-premium-text) !important;
  border:1.5px solid var(--bw-premium-border) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16), 0 10px 24px rgba(0,0,0,.10) !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) input::placeholder,
html[class*="premium-theme-"] body:not(.page-themes-pro) textarea::placeholder{
  color:var(--bw-premium-muted) !important;
  opacity:1 !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) .bottom-nav,
html[class*="premium-theme-"] body:not(.page-themes-pro) .bottom-app-nav,
html[class*="premium-theme-"] body:not(.page-themes-pro) .bottom-app-nav-inner{
  background:linear-gradient(
    180deg,
    rgba(8,34,22,.96) 0%,
    rgba(4,22,14,.985) 100%
  ) !important;
  border:1.5px solid rgba(110,231,183,.18) !important;
  box-shadow:
    0 -12px 44px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
}



/* ===== BARAKAWAY ROYAL GOLD READABILITY V39 ===== */
/* Royal Gold only: readable premium typography, dark-gold text on gold surfaces, protected BarakaWay logo. */
html.premium-theme-royal-gold{
  --bw-premium-text:#241505;
  --bw-premium-text-strong:#150b02;
  --bw-premium-text-soft:#3b2608;
  --bw-premium-muted:#5e4214;
  --bw-premium-accent:#176b3f;
  --bw-premium-accent-soft:#2e8a57;
  --bw-premium-border:rgba(92,60,14,.34);
  --bw-premium-border-strong:rgba(58,36,8,.52);
  --bw-premium-gold:#d9aa53;
  --bw-premium-gold-soft:#ffe7a3;
  --bw-premium-gold-dark:#56340b;
  --bw-premium-page:
    radial-gradient(circle at 84% 6%,rgba(255,246,201,.62),transparent 26%),
    radial-gradient(circle at 8% 12%,rgba(111,66,13,.22),transparent 30%),
    linear-gradient(180deg,#b77a2c 0%,#e1b763 48%,#f2d18a 100%);
  --bw-premium-surface:
    radial-gradient(circle at 84% 12%,rgba(255,245,197,.58),transparent 28%),
    linear-gradient(145deg,#b77b2d 0%,#d7a24d 48%,#f6d98f 100%);
  --bw-premium-surface-2:
    radial-gradient(circle at 80% 14%,rgba(255,248,211,.42),transparent 30%),
    linear-gradient(145deg,#a96f27 0%,#cb9441 50%,#efd082 100%);
  --bw-premium-button:linear-gradient(180deg,#4b2e09 0%,#231304 100%);
  --bw-premium-button-text:#fff0bd;
  --bw-premium-shadow:0 22px 58px rgba(77,45,8,.26), inset 0 1px 0 rgba(255,255,255,.34), inset 0 -18px 34px rgba(80,45,6,.13);
}

html.premium-theme-royal-gold body:not(.page-themes-pro){
  background:var(--bw-premium-page) !important;
  color:var(--bw-premium-text) !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) h1,
html.premium-theme-royal-gold body:not(.page-themes-pro) h2,
html.premium-theme-royal-gold body:not(.page-themes-pro) h3,
html.premium-theme-royal-gold body:not(.page-themes-pro) h4,
html.premium-theme-royal-gold body:not(.page-themes-pro) h5,
html.premium-theme-royal-gold body:not(.page-themes-pro) h6,
html.premium-theme-royal-gold body:not(.page-themes-pro) .title,
html.premium-theme-royal-gold body:not(.page-themes-pro) .section-title,
html.premium-theme-royal-gold body:not(.page-themes-pro) .today-hub-title,
html.premium-theme-royal-gold body:not(.page-themes-pro) .item-title,
html.premium-theme-royal-gold body:not(.page-themes-pro) .card-title,
html.premium-theme-royal-gold body:not(.page-themes-pro) .prayer-name,
html.premium-theme-royal-gold body:not(.page-themes-pro) .next-name{
  color:var(--bw-premium-text-strong) !important;
  -webkit-text-fill-color:var(--bw-premium-text-strong) !important;
  text-shadow:0 1px 0 rgba(255,236,166,.38),0 10px 26px rgba(65,35,5,.18) !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) p,
html.premium-theme-royal-gold body:not(.page-themes-pro) li,
html.premium-theme-royal-gold body:not(.page-themes-pro) span,
html.premium-theme-royal-gold body:not(.page-themes-pro) .subtitle,
html.premium-theme-royal-gold body:not(.page-themes-pro) .tagline,
html.premium-theme-royal-gold body:not(.page-themes-pro) .note,
html.premium-theme-royal-gold body:not(.page-themes-pro) .muted,
html.premium-theme-royal-gold body:not(.page-themes-pro) .small,
html.premium-theme-royal-gold body:not(.page-themes-pro) .label,
html.premium-theme-royal-gold body:not(.page-themes-pro) .meta,
html.premium-theme-royal-gold body:not(.page-themes-pro) .surah-meta,
html.premium-theme-royal-gold body:not(.page-themes-pro) .prayer-meta,
html.premium-theme-royal-gold body:not(.page-themes-pro) .countdown-note,
html.premium-theme-royal-gold body:not(.page-themes-pro) .wallet-note,
html.premium-theme-royal-gold body:not(.page-themes-pro) .article p{
  color:var(--bw-premium-text-soft) !important;
  -webkit-text-fill-color:var(--bw-premium-text-soft) !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) .container,
html.premium-theme-royal-gold body:not(.page-themes-pro) .page,
html.premium-theme-royal-gold body:not(.page-themes-pro) main,
html.premium-theme-royal-gold body:not(.page-themes-pro) section,
html.premium-theme-royal-gold body:not(.page-themes-pro) article,
html.premium-theme-royal-gold body:not(.page-themes-pro) .panel,
html.premium-theme-royal-gold body:not(.page-themes-pro) .block,
html.premium-theme-royal-gold body:not(.page-themes-pro) .card,
html.premium-theme-royal-gold body:not(.page-themes-pro) .box,
html.premium-theme-royal-gold body:not(.page-themes-pro) .article,
html.premium-theme-royal-gold body:not(.page-themes-pro) .category-panel,
html.premium-theme-royal-gold body:not(.page-themes-pro) .home-widget,
html.premium-theme-royal-gold body:not(.page-themes-pro) .today-hub,
html.premium-theme-royal-gold body:not(.page-themes-pro) .today-action,
html.premium-theme-royal-gold body:not(.page-themes-pro) .premium-resource-card,
html.premium-theme-royal-gold body:not(.page-themes-pro) .surah-card,
html.premium-theme-royal-gold body:not(.page-themes-pro) .prayer-card,
html.premium-theme-royal-gold body:not(.page-themes-pro) .dua-card,
html.premium-theme-royal-gold body:not(.page-themes-pro) .ayah-card,
html.premium-theme-royal-gold body:not(.page-themes-pro) .note-box,
html.premium-theme-royal-gold body:not(.page-themes-pro) .dropdown-block,
html.premium-theme-royal-gold body:not(.page-themes-pro) .dropdown-content,
html.premium-theme-royal-gold body:not(.page-themes-pro) .mobile-dropdown,
html.premium-theme-royal-gold body:not(.page-themes-pro) .mobile-dropdown-content,
html.premium-theme-royal-gold body:not(.page-themes-pro) .donation-dropdown,
html.premium-theme-royal-gold body:not(.page-themes-pro) .donation-dropdown-content,
html.premium-theme-royal-gold body:not(.page-themes-pro) .wallet-support,
html.premium-theme-royal-gold body:not(.page-themes-pro) .meta-item,
html.premium-theme-royal-gold body:not(.page-themes-pro) .toggle-row,
html.premium-theme-royal-gold body:not(.page-themes-pro) .month-day,
html.premium-theme-royal-gold body:not(.page-themes-pro) .month-head,
html.premium-theme-royal-gold body:not(.page-themes-pro) .name-chip,
html.premium-theme-royal-gold body:not(.page-themes-pro) .sec-box,
html.premium-theme-royal-gold body:not(.page-themes-pro) .player-card,
html.premium-theme-royal-gold body:not(.page-themes-pro) .intro,
html.premium-theme-royal-gold body:not(.page-themes-pro) .quote,
html.premium-theme-royal-gold body:not(.page-themes-pro) .transactions,
html.premium-theme-royal-gold body:not(.page-themes-pro) .verification{
  background:var(--bw-premium-surface) !important;
  border:1.5px solid var(--bw-premium-border) !important;
  color:var(--bw-premium-text) !important;
  box-shadow:var(--bw-premium-shadow) !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) .today-action:nth-child(even),
html.premium-theme-royal-gold body:not(.page-themes-pro) .premium-resource-card:nth-child(even),
html.premium-theme-royal-gold body:not(.page-themes-pro) .card:nth-child(even),
html.premium-theme-royal-gold body:not(.page-themes-pro) .block:nth-child(even),
html.premium-theme-royal-gold body:not(.page-themes-pro) .panel:nth-child(even),
html.premium-theme-royal-gold body:not(.page-themes-pro) .box:nth-child(even){
  background:var(--bw-premium-surface-2) !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) a,
html.premium-theme-royal-gold body:not(.page-themes-pro) strong,
html.premium-theme-royal-gold body:not(.page-themes-pro) .badge,
html.premium-theme-royal-gold body:not(.page-themes-pro) .chip,
html.premium-theme-royal-gold body:not(.page-themes-pro) .meta-value,
html.premium-theme-royal-gold body:not(.page-themes-pro) .seconds-value,
html.premium-theme-royal-gold body:not(.page-themes-pro) .meaning,
html.premium-theme-royal-gold body:not(.page-themes-pro) .arabic,
html.premium-theme-royal-gold body:not(.page-themes-pro) .surah-number,
html.premium-theme-royal-gold body:not(.page-themes-pro) .help-option-arrow{
  color:var(--bw-premium-accent) !important;
  -webkit-text-fill-color:var(--bw-premium-accent) !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) .home-prayer-widget,
html.premium-theme-royal-gold body:not(.page-themes-pro) .next-prayer-card,
html.premium-theme-royal-gold body:not(.page-themes-pro) .alarm-card,
html.premium-theme-royal-gold body:not(.page-themes-pro) .home-prayer-card{
  background:linear-gradient(145deg,#101a22 0%,#142532 58%,#0b1118 100%) !important;
  border:1.5px solid rgba(255,225,147,.26) !important;
  box-shadow:0 22px 54px rgba(28,16,4,.34),inset 0 1px 0 rgba(255,255,255,.08) !important;
  color:#fff0bd !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) .home-prayer-widget h1,
html.premium-theme-royal-gold body:not(.page-themes-pro) .home-prayer-widget h2,
html.premium-theme-royal-gold body:not(.page-themes-pro) .home-prayer-widget h3,
html.premium-theme-royal-gold body:not(.page-themes-pro) .home-prayer-widget p,
html.premium-theme-royal-gold body:not(.page-themes-pro) .home-prayer-widget span,
html.premium-theme-royal-gold body:not(.page-themes-pro) .next-prayer-card h1,
html.premium-theme-royal-gold body:not(.page-themes-pro) .next-prayer-card h2,
html.premium-theme-royal-gold body:not(.page-themes-pro) .next-prayer-card h3,
html.premium-theme-royal-gold body:not(.page-themes-pro) .next-prayer-card p,
html.premium-theme-royal-gold body:not(.page-themes-pro) .next-prayer-card span,
html.premium-theme-royal-gold body:not(.page-themes-pro) .alarm-card,
html.premium-theme-royal-gold body:not(.page-themes-pro) .alarm-card *{
  color:#fff0bd !important;
  -webkit-text-fill-color:#fff0bd !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) .home-prayer-widget .prayer-name,
html.premium-theme-royal-gold body:not(.page-themes-pro) .home-prayer-widget .next-name,
html.premium-theme-royal-gold body:not(.page-themes-pro) .home-prayer-widget .countdown,
html.premium-theme-royal-gold body:not(.page-themes-pro) .home-prayer-widget .prayer-time{
  color:#79e6a0 !important;
  -webkit-text-fill-color:#79e6a0 !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) button:not(.brand-signature),
html.premium-theme-royal-gold body:not(.page-themes-pro) .btn,
html.premium-theme-royal-gold body:not(.page-themes-pro) .quick-btn,
html.premium-theme-royal-gold body:not(.page-themes-pro) .copy-btn,
html.premium-theme-royal-gold body:not(.page-themes-pro) .install-btn,
html.premium-theme-royal-gold body:not(.page-themes-pro) .share-btn,
html.premium-theme-royal-gold body:not(.page-themes-pro) .app-menu-btn{
  background:var(--bw-premium-button) !important;
  color:var(--bw-premium-button-text) !important;
  -webkit-text-fill-color:var(--bw-premium-button-text) !important;
  border:1.5px solid rgba(255,225,147,.42) !important;
  box-shadow:0 14px 34px rgba(39,20,2,.22),inset 0 1px 0 rgba(255,255,255,.18) !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) input,
html.premium-theme-royal-gold body:not(.page-themes-pro) textarea,
html.premium-theme-royal-gold body:not(.page-themes-pro) select,
html.premium-theme-royal-gold body:not(.page-themes-pro) .input,
html.premium-theme-royal-gold body:not(.page-themes-pro) .search-input,
html.premium-theme-royal-gold body:not(.page-themes-pro) .wallet-address{
  background:linear-gradient(180deg,#f5d98b 0%,#d39a43 100%) !important;
  color:var(--bw-premium-text-strong) !important;
  -webkit-text-fill-color:var(--bw-premium-text-strong) !important;
  border:1.5px solid var(--bw-premium-border-strong) !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) .bottom-nav,
html.premium-theme-royal-gold body:not(.page-themes-pro) .bottom-app-nav,
html.premium-theme-royal-gold body:not(.page-themes-pro) .bottom-app-nav-inner{
  background:linear-gradient(145deg,rgba(255,231,163,.78),rgba(182,121,43,.72)) !important;
  border:1.5px solid rgba(88,55,12,.34) !important;
  box-shadow:0 -12px 44px rgba(63,34,5,.25), inset 0 1px 0 rgba(255,255,255,.28) !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) .bottom-nav *,
html.premium-theme-royal-gold body:not(.page-themes-pro) .bottom-app-nav *,
html.premium-theme-royal-gold body:not(.page-themes-pro) .bottom-app-nav-inner *{
  color:var(--bw-premium-text-strong) !important;
  -webkit-text-fill-color:var(--bw-premium-text-strong) !important;
}

/* Protected logo: global premium theme must not turn BarakaWay into a button/card. */
html.premium-theme-royal-gold body:not(.page-themes-pro) .brand-signature,
html.premium-theme-royal-gold body:not(.page-themes-pro) button.brand-signature,
html.premium-theme-royal-gold body:not(.page-themes-pro) #brandInstallTrigger{
  background:none !important;
  border:none !important;
  box-shadow:none !important;
  padding:0 !important;
  margin-top:-2px !important;
  color:inherit !important;
  -webkit-text-fill-color:initial !important;
  text-shadow:none !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) .brand-signature .brand-letter-accent{
  color:#1b7a45 !important;
  -webkit-text-fill-color:#1b7a45 !important;
  text-shadow:0 8px 22px rgba(24,84,51,.18) !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) .brand-signature .brand-letter-main{
  color:#1c1204 !important;
  -webkit-text-fill-color:#1c1204 !important;
  text-shadow:0 8px 22px rgba(65,35,5,.16) !important;
}

/* ===== END BARAKAWAY ROYAL GOLD READABILITY V39 ===== */

/* === FORCE ORIGINAL FREE THEME PRAYER WIDGET === */

html[class*="premium-theme-"] .home-prayer-widget,
html[class*="premium-theme-"] .home-prayer-card,
html[class*="premium-theme-"] .next-prayer-card,
html[class*="premium-theme-"] .alarm-card{
  background:linear-gradient(135deg,#102235 0%,#173a2e 100%) !important;
  border:1.5px solid rgba(110,231,183,.22) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.28) !important;
  color:#ffffff !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

html[class*="premium-theme-"] .home-prayer-countdown{
  background:#173f1f !important;
  border:1.5px solid rgba(110,231,183,.18) !important;
  color:#ffffff !important;
  box-shadow:none !important;
}

html[class*="premium-theme-"] .home-prayer-widget h1,
html[class*="premium-theme-"] .home-prayer-widget h2,
html[class*="premium-theme-"] .home-prayer-widget h3,
html[class*="premium-theme-"] .home-prayer-widget p,
html[class*="premium-theme-"] .home-prayer-widget span,
html[class*="premium-theme-"] .next-prayer-card h1,
html[class*="premium-theme-"] .next-prayer-card h2,
html[class*="premium-theme-"] .next-prayer-card h3,
html[class*="premium-theme-"] .next-prayer-card p,
html[class*="premium-theme-"] .next-prayer-card span{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

html[class*="premium-theme-"] .home-prayer-widget .prayer-name,
html[class*="premium-theme-"] .home-prayer-widget .next-name,
html[class*="premium-theme-"] .home-prayer-widget .countdown,
html[class*="premium-theme-"] .home-prayer-widget .prayer-time{
  color:#6ee7b7 !important;
  -webkit-text-fill-color:#6ee7b7 !important;
}

/* ===== MANUAL THEME CONTRAST FIX ===== */

/* LIGHT THEMES */
html[data-premium-theme="royal-gold"],
html[data-premium-theme="rose-harmony"],
html[data-premium-theme="kids-theme"],
html[data-premium-theme="sand-classic"]{
  --text:#1a1a1a !important;
  --text-soft:#2c2c2c !important;
  --text-muted:#4a4a4a !important;
}

html[data-premium-theme="royal-gold"] body,
html[data-premium-theme="rose-harmony"] body,
html[data-premium-theme="kids-theme"] body,
html[data-premium-theme="sand-classic"] body,
html[data-premium-theme="royal-gold"] .card,
html[data-premium-theme="rose-harmony"] .card,
html[data-premium-theme="kids-theme"] .card,
html[data-premium-theme="sand-classic"] .card,
html[data-premium-theme="royal-gold"] .panel,
html[data-premium-theme="rose-harmony"] .panel,
html[data-premium-theme="kids-theme"] .panel,
html[data-premium-theme="sand-classic"] .panel,
html[data-premium-theme="royal-gold"] .section,
html[data-premium-theme="rose-harmony"] .section,
html[data-premium-theme="kids-theme"] .section,
html[data-premium-theme="sand-classic"] .section{
  color:#1a1a1a !important;
}

html[data-premium-theme="royal-gold"] h1,
html[data-premium-theme="royal-gold"] h2,
html[data-premium-theme="royal-gold"] h3,
html[data-premium-theme="rose-harmony"] h1,
html[data-premium-theme="rose-harmony"] h2,
html[data-premium-theme="rose-harmony"] h3,
html[data-premium-theme="kids-theme"] h1,
html[data-premium-theme="kids-theme"] h2,
html[data-premium-theme="kids-theme"] h3,
html[data-premium-theme="sand-classic"] h1,
html[data-premium-theme="sand-classic"] h2,
html[data-premium-theme="sand-classic"] h3,
html[data-premium-theme="royal-gold"] p,
html[data-premium-theme="rose-harmony"] p,
html[data-premium-theme="kids-theme"] p,
html[data-premium-theme="sand-classic"] p,
html[data-premium-theme="royal-gold"] span,
html[data-premium-theme="rose-harmony"] span,
html[data-premium-theme="kids-theme"] span,
html[data-premium-theme="sand-classic"] span,
html[data-premium-theme="royal-gold"] div,
html[data-premium-theme="rose-harmony"] div,
html[data-premium-theme="kids-theme"] div,
html[data-premium-theme="sand-classic"] div,
html[data-premium-theme="royal-gold"] label,
html[data-premium-theme="rose-harmony"] label,
html[data-premium-theme="kids-theme"] label,
html[data-premium-theme="sand-classic"] label{
  color:#1a1a1a !important;
}

/* DARK THEMES */
html[data-premium-theme="emerald-quran"],
html[data-premium-theme="violet-noor"],
html[data-premium-theme="carbon-elite"],
html[data-premium-theme="night-mosque"]{
  --text:#f5f5f5 !important;
  --text-soft:#e6e6e6 !important;
  --text-muted:#cfcfcf !important;
}

html[data-premium-theme="emerald-quran"] body,
html[data-premium-theme="violet-noor"] body,
html[data-premium-theme="carbon-elite"] body,
html[data-premium-theme="night-mosque"] body,
html[data-premium-theme="emerald-quran"] .card,
html[data-premium-theme="violet-noor"] .card,
html[data-premium-theme="carbon-elite"] .card,
html[data-premium-theme="night-mosque"] .card,
html[data-premium-theme="emerald-quran"] .panel,
html[data-premium-theme="violet-noor"] .panel,
html[data-premium-theme="carbon-elite"] .panel,
html[data-premium-theme="night-mosque"] .panel{
  color:#f5f5f5 !important;
}

html[data-premium-theme="emerald-quran"] h1,
html[data-premium-theme="emerald-quran"] h2,
html[data-premium-theme="emerald-quran"] h3,
html[data-premium-theme="violet-noor"] h1,
html[data-premium-theme="violet-noor"] h2,
html[data-premium-theme="violet-noor"] h3,
html[data-premium-theme="carbon-elite"] h1,
html[data-premium-theme="carbon-elite"] h2,
html[data-premium-theme="carbon-elite"] h3,
html[data-premium-theme="night-mosque"] h1,
html[data-premium-theme="night-mosque"] h2,
html[data-premium-theme="night-mosque"] h3,
html[data-premium-theme="emerald-quran"] p,
html[data-premium-theme="violet-noor"] p,
html[data-premium-theme="carbon-elite"] p,
html[data-premium-theme="night-mosque"] p,
html[data-premium-theme="emerald-quran"] span,
html[data-premium-theme="violet-noor"] span,
html[data-premium-theme="carbon-elite"] span,
html[data-premium-theme="night-mosque"] span,
html[data-premium-theme="emerald-quran"] div,
html[data-premium-theme="violet-noor"] div,
html[data-premium-theme="carbon-elite"] div,
html[data-premium-theme="night-mosque"] div,
html[data-premium-theme="emerald-quran"] label,
html[data-premium-theme="violet-noor"] label,
html[data-premium-theme="carbon-elite"] label,
html[data-premium-theme="night-mosque"] label{
  color:#f5f5f5 !important;
}

/* === Emerald Quran Premium Theme System === */
html.premium-theme-emerald-quran,
html.theme-emerald-quran,
html[data-premium-theme="emerald-quran"]{
  --bg:#03130f;
  --surface:rgba(5,34,26,.88);
  --surface-2:rgba(7,49,37,.82);
  --surface-3:rgba(9,74,55,.76);
  --card-bg:rgba(5,34,26,.88);
  --input-bg:rgba(3,24,19,.92);
  --border:rgba(95,255,190,.24);
  --border-2:rgba(95,255,190,.34);
  --text:#f2fff8;
  --text-soft:#ccefe1;
  --text-muted:#9fd7c2;
  --green:#46f0a8;
  --green-strong:#10a66f;
  --green-soft:#7dffd0;
  --gold:#d7f7dc;
  --shadow:0 24px 70px rgba(0,0,0,.42);
  --shadow-hover:0 28px 80px rgba(0,0,0,.48),0 0 0 1px rgba(95,255,190,.18);
  color-scheme:dark;
}

html.premium-theme-emerald-quran body,
html.theme-emerald-quran body,
body.premium-theme-emerald-quran,
body.bw-theme-emerald-quran,
body.theme-emerald-quran{
  background:
    radial-gradient(circle at 82% 8%,rgba(78,255,184,.24),transparent 28%),
    radial-gradient(circle at 18% 92%,rgba(2,110,76,.36),transparent 34%),
    linear-gradient(135deg,rgba(0,18,12,.62),rgba(0,40,28,.54)),
    url("theme-assets/emerald-quran-global.webp") center/cover fixed no-repeat !important;
  color:var(--text) !important;
}

html.premium-theme-emerald-quran body::before,
html.theme-emerald-quran body::before,
body.premium-theme-emerald-quran::before,
body.bw-theme-emerald-quran::before,
body.theme-emerald-quran::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(0,10,7,.42),transparent 48%,rgba(75,255,190,.10)),
    radial-gradient(circle at 50% 0%,rgba(120,255,205,.12),transparent 44%);
}

html.premium-theme-emerald-quran .container,
html.premium-theme-emerald-quran .content,
html.premium-theme-emerald-quran .page,
html.premium-theme-emerald-quran main,
html.premium-theme-emerald-quran section,
html.premium-theme-emerald-quran article,
html.theme-emerald-quran .container,
html.theme-emerald-quran .content,
html.theme-emerald-quran .page,
html.theme-emerald-quran main,
html.theme-emerald-quran section,
html.theme-emerald-quran article{
  background:rgba(3,18,14,.62) !important;
  color:var(--text) !important;
  border-color:rgba(95,255,190,.18) !important;
}

html.premium-theme-emerald-quran .card,
html.premium-theme-emerald-quran .box,
html.premium-theme-emerald-quran .panel,
html.premium-theme-emerald-quran .block,
html.premium-theme-emerald-quran .quote,
html.premium-theme-emerald-quran .empty,
html.premium-theme-emerald-quran .article,
html.premium-theme-emerald-quran .category-panel,
html.premium-theme-emerald-quran .surah-card,
html.premium-theme-emerald-quran .prayer-card,
html.premium-theme-emerald-quran .toggle-row,
html.premium-theme-emerald-quran .meta-item,
html.premium-theme-emerald-quran .note-box,
html.premium-theme-emerald-quran .jumuah-box,
html.premium-theme-emerald-quran .month-day,
html.premium-theme-emerald-quran .month-head,
html.premium-theme-emerald-quran .wallet-support,
html.premium-theme-emerald-quran .home-widget,
html.premium-theme-emerald-quran .dropdown-block,
html.premium-theme-emerald-quran .dropdown-content,
html.premium-theme-emerald-quran .player-card,
html.premium-theme-emerald-quran .sec-box,
html.premium-theme-emerald-quran .name-chip,
html.premium-theme-emerald-quran .wallet-box,
html.premium-theme-emerald-quran .transactions,
html.premium-theme-emerald-quran .intro,
html.premium-theme-emerald-quran .warning,
html.theme-emerald-quran .card,
html.theme-emerald-quran .box,
html.theme-emerald-quran .panel,
html.theme-emerald-quran .block,
html.theme-emerald-quran .quote,
html.theme-emerald-quran .empty,
html.theme-emerald-quran .article,
html.theme-emerald-quran .category-panel,
html.theme-emerald-quran .surah-card,
html.theme-emerald-quran .prayer-card,
html.theme-emerald-quran .toggle-row,
html.theme-emerald-quran .meta-item,
html.theme-emerald-quran .note-box,
html.theme-emerald-quran .jumuah-box,
html.theme-emerald-quran .month-day,
html.theme-emerald-quran .month-head,
html.theme-emerald-quran .wallet-support,
html.theme-emerald-quran .home-widget,
html.theme-emerald-quran .dropdown-block,
html.theme-emerald-quran .dropdown-content,
html.theme-emerald-quran .player-card,
html.theme-emerald-quran .sec-box,
html.theme-emerald-quran .name-chip,
html.theme-emerald-quran .wallet-box,
html.theme-emerald-quran .transactions,
html.theme-emerald-quran .intro,
html.theme-emerald-quran .warning{
  background:
    radial-gradient(circle at 92% 0%,rgba(86,255,190,.14),transparent 34%),
    linear-gradient(135deg,rgba(4,38,29,.90),rgba(3,21,17,.92)) !important;
  border:1px solid rgba(95,255,190,.22) !important;
  color:var(--text) !important;
  box-shadow:0 18px 44px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05) !important;
}

html.premium-theme-emerald-quran h1,
html.premium-theme-emerald-quran h2,
html.premium-theme-emerald-quran h3,
html.premium-theme-emerald-quran h4,
html.premium-theme-emerald-quran h5,
html.premium-theme-emerald-quran h6,
html.premium-theme-emerald-quran .title,
html.premium-theme-emerald-quran .category-title,
html.premium-theme-emerald-quran .section h2,
html.theme-emerald-quran h1,
html.theme-emerald-quran h2,
html.theme-emerald-quran h3,
html.theme-emerald-quran h4,
html.theme-emerald-quran h5,
html.theme-emerald-quran h6,
html.theme-emerald-quran .title,
html.theme-emerald-quran .category-title,
html.theme-emerald-quran .section h2{
  color:#ffffff !important;
  text-shadow:0 2px 12px rgba(0,0,0,.64),0 0 24px rgba(67,255,176,.16) !important;
}

html.premium-theme-emerald-quran p,
html.premium-theme-emerald-quran span,
html.premium-theme-emerald-quran li,
html.premium-theme-emerald-quran label,
html.premium-theme-emerald-quran small,
html.premium-theme-emerald-quran .small,
html.premium-theme-emerald-quran .manual-note,
html.premium-theme-emerald-quran .status,
html.premium-theme-emerald-quran .subtitle,
html.premium-theme-emerald-quran .tagline,
html.premium-theme-emerald-quran .note,
html.premium-theme-emerald-quran .category-intro,
html.premium-theme-emerald-quran .ref,
html.premium-theme-emerald-quran .translit,
html.premium-theme-emerald-quran .meaning,
html.premium-theme-emerald-quran .when,
html.premium-theme-emerald-quran .muted,
html.premium-theme-emerald-quran .prayer-meta,
html.premium-theme-emerald-quran .countdown-note,
html.premium-theme-emerald-quran .wallet-note,
html.premium-theme-emerald-quran .month-fajr,
html.premium-theme-emerald-quran .month-maghrib,
html.premium-theme-emerald-quran .surah-meta,
html.theme-emerald-quran p,
html.theme-emerald-quran span,
html.theme-emerald-quran li,
html.theme-emerald-quran label,
html.theme-emerald-quran small,
html.theme-emerald-quran .small,
html.theme-emerald-quran .manual-note,
html.theme-emerald-quran .status,
html.theme-emerald-quran .subtitle,
html.theme-emerald-quran .tagline,
html.theme-emerald-quran .note,
html.theme-emerald-quran .category-intro,
html.theme-emerald-quran .ref,
html.theme-emerald-quran .translit,
html.theme-emerald-quran .meaning,
html.theme-emerald-quran .when,
html.theme-emerald-quran .muted,
html.theme-emerald-quran .prayer-meta,
html.theme-emerald-quran .countdown-note,
html.theme-emerald-quran .wallet-note,
html.theme-emerald-quran .month-fajr,
html.theme-emerald-quran .month-maghrib,
html.theme-emerald-quran .surah-meta{
  color:var(--text-soft) !important;
}

html.premium-theme-emerald-quran a,
html.theme-emerald-quran a{
  color:#7dffd0 !important;
}

html.premium-theme-emerald-quran input,
html.premium-theme-emerald-quran textarea,
html.premium-theme-emerald-quran select,
html.theme-emerald-quran input,
html.theme-emerald-quran textarea,
html.theme-emerald-quran select{
  background:rgba(2,20,15,.86) !important;
  color:#f5fff9 !important;
  border:1px solid rgba(95,255,190,.28) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04) !important;
}

html.premium-theme-emerald-quran input::placeholder,
html.premium-theme-emerald-quran textarea::placeholder,
html.theme-emerald-quran input::placeholder,
html.theme-emerald-quran textarea::placeholder{
  color:rgba(204,239,225,.68) !important;
}

html.premium-theme-emerald-quran button,
html.premium-theme-emerald-quran .btn,
html.premium-theme-emerald-quran .quick-btn,
html.premium-theme-emerald-quran .quran-action,
html.premium-theme-emerald-quran .surah-action,
html.premium-theme-emerald-quran .copy-wallet-btn,
html.premium-theme-emerald-quran .share-wallet-btn,
html.theme-emerald-quran button,
html.theme-emerald-quran .btn,
html.theme-emerald-quran .quick-btn,
html.theme-emerald-quran .quran-action,
html.theme-emerald-quran .surah-action,
html.theme-emerald-quran .copy-wallet-btn,
html.theme-emerald-quran .share-wallet-btn{
  background:linear-gradient(135deg,rgba(20,166,111,.92),rgba(72,240,168,.42)) !important;
  border:1px solid rgba(125,255,208,.36) !important;
  color:#ffffff !important;
  box-shadow:0 12px 28px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.12) !important;
}

html.premium-theme-emerald-quran button:hover,
html.premium-theme-emerald-quran .btn:hover,
html.theme-emerald-quran button:hover,
html.theme-emerald-quran .btn:hover{
  filter:brightness(1.08);
}

html.premium-theme-emerald-quran .badge,
html.premium-theme-emerald-quran .chip,
html.premium-theme-emerald-quran .wallet-badge,
html.premium-theme-emerald-quran .meta-label,
html.premium-theme-emerald-quran .surah-number,
html.theme-emerald-quran .badge,
html.theme-emerald-quran .chip,
html.theme-emerald-quran .wallet-badge,
html.theme-emerald-quran .meta-label,
html.theme-emerald-quran .surah-number{
  color:#7dffd0 !important;
  background:rgba(11,92,64,.42) !important;
  border-color:rgba(125,255,208,.28) !important;
}

html.premium-theme-emerald-quran .quran-premium-hero,
html.theme-emerald-quran .quran-premium-hero{
  background:
    radial-gradient(circle at 86% 0%,rgba(86,255,190,.18),transparent 36%),
    linear-gradient(135deg,rgba(5,52,39,.86),rgba(3,24,18,.88)) !important;
  border-color:rgba(125,255,208,.26) !important;
}

html.premium-theme-emerald-quran .quran-premium-bismillah,
html.premium-theme-emerald-quran .surah-arabic,
html.premium-theme-emerald-quran .quran-share-arabic,
html.premium-theme-emerald-quran .quran-share-bismillah,
html.theme-emerald-quran .quran-premium-bismillah,
html.theme-emerald-quran .surah-arabic,
html.theme-emerald-quran .quran-share-arabic,
html.theme-emerald-quran .quran-share-bismillah{
  color:#b9ffe3 !important;
  text-shadow:0 0 24px rgba(72,240,168,.22) !important;
}

html.premium-theme-emerald-quran .surah-card::before,
html.theme-emerald-quran .surah-card::before{
  background:linear-gradient(180deg,#7dffd0,#10a66f) !important;
  opacity:.88 !important;
}

html.premium-theme-emerald-quran .prayer-card.active,
html.premium-theme-emerald-quran .month-day.today,
html.premium-theme-emerald-quran .quick-btn.active,
html.premium-theme-emerald-quran .quran-action.is-active,
html.premium-theme-emerald-quran .surah-action.is-active,
html.theme-emerald-quran .prayer-card.active,
html.theme-emerald-quran .month-day.today,
html.theme-emerald-quran .quick-btn.active,
html.theme-emerald-quran .quran-action.is-active,
html.theme-emerald-quran .surah-action.is-active{
  background:linear-gradient(135deg,#0ca46c,#48f0a8) !important;
  border-color:rgba(125,255,208,.52) !important;
  color:#ffffff !important;
  box-shadow:0 16px 36px rgba(0,0,0,.30),0 0 0 1px rgba(125,255,208,.20) !important;
}

html.premium-theme-emerald-quran .bottom-nav,
html.theme-emerald-quran .bottom-nav{
  background:rgba(3,18,14,.86) !important;
  border-color:rgba(95,255,190,.22) !important;
  box-shadow:0 18px 44px rgba(0,0,0,.42) !important;
}

html.premium-theme-emerald-quran .bottom-nav a.active,
html.premium-theme-emerald-quran .bottom-nav button.active,
html.theme-emerald-quran .bottom-nav a.active,
html.theme-emerald-quran .bottom-nav button.active{
  background:linear-gradient(135deg,rgba(16,166,111,.46),rgba(72,240,168,.18)) !important;
  color:#b9ffe3 !important;
}


/* === BarakaWay Brand Signature Original Lock === */
#brandInstallTrigger.brand-signature,
button#brandInstallTrigger.brand-signature,
.brand-signature{
  appearance:none !important;
  -webkit-appearance:none !important;
  display:inline-flex !important;
  align-items:baseline !important;
  justify-content:center !important;
  gap:0 !important;
  background:transparent !important;
  background-image:none !important;
  border:0 !important;
  box-shadow:none !important;
  outline:none !important;
  padding:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  width:auto !important;
  height:auto !important;
  border-radius:0 !important;
  cursor:default !important;
  font-family:inherit !important;
  font-weight:900 !important;
  letter-spacing:-0.045em !important;
  line-height:1 !important;
  color:#ffffff !important;
  text-shadow:0 2px 12px rgba(0,0,0,.45) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  filter:none !important;
}

#brandInstallTrigger.brand-signature:hover,
#brandInstallTrigger.brand-signature:focus,
#brandInstallTrigger.brand-signature:active,
button#brandInstallTrigger.brand-signature:hover,
button#brandInstallTrigger.brand-signature:focus,
button#brandInstallTrigger.brand-signature:active{
  background:transparent !important;
  background-image:none !important;
  border:0 !important;
  box-shadow:none !important;
  outline:none !important;
  transform:none !important;
  filter:none !important;
}

#brandInstallTrigger.brand-signature .brand-letter-accent,
.brand-signature .brand-letter-accent{
  color:#66c680 !important;
  background:transparent !important;
  text-shadow:0 2px 12px rgba(0,0,0,.45) !important;
}

#brandInstallTrigger.brand-signature .brand-letter-main,
.brand-signature .brand-letter-main{
  color:#ffffff !important;
  background:transparent !important;
  text-shadow:0 2px 12px rgba(0,0,0,.45) !important;
}


/* === Original Language Selector Preservation === */
html.premium-theme-emerald-quran .language-option,
html.premium-theme-emerald-quran .language-btn,
html.premium-theme-emerald-quran .lang-btn,
html.premium-theme-emerald-quran .lang-option,
html.theme-emerald-quran .language-option,
html.theme-emerald-quran .language-btn,
html.theme-emerald-quran .lang-btn,
html.theme-emerald-quran .lang-option,
body.premium-theme-emerald-quran .language-option,
body.premium-theme-emerald-quran .language-btn,
body.premium-theme-emerald-quran .lang-btn,
body.premium-theme-emerald-quran .lang-option,
body.theme-emerald-quran .language-option,
body.theme-emerald-quran .language-btn,
body.theme-emerald-quran .lang-btn,
body.theme-emerald-quran .lang-option{
  background:unset !important;
  background-image:unset !important;
  color:unset !important;
  border-color:unset !important;
  box-shadow:unset !important;
  filter:none !important;
}


/* === Emerald Glass Transparency Layer === */
html.premium-theme-emerald-quran .brand-prayer-hero,
html.theme-emerald-quran .brand-prayer-hero,
body.premium-theme-emerald-quran .brand-prayer-hero,
body.theme-emerald-quran .brand-prayer-hero,

html.premium-theme-emerald-quran .tahajjud-row,
html.theme-emerald-quran .tahajjud-row,
body.premium-theme-emerald-quran .tahajjud-row,
body.theme-emerald-quran .tahajjud-row,

html.premium-theme-emerald-quran .today-hub,
html.theme-emerald-quran .today-hub,
body.premium-theme-emerald-quran .today-hub,
body.theme-emerald-quran .today-hub,

html.premium-theme-emerald-quran .bottom-nav,
html.theme-emerald-quran .bottom-nav,
body.premium-theme-emerald-quran .bottom-nav,
body.theme-emerald-quran .bottom-nav{
  background:
    linear-gradient(
      135deg,
      rgba(3,18,14,.70),
      rgba(5,38,28,.70)
    ) !important;
  backdrop-filter:blur(10px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(10px) saturate(125%) !important;
}


/* === Emerald Action Button Text Inherits Icon Color === */
html.premium-theme-emerald-quran body:not(.page-themes-pro) button span,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .btn span,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quick-btn span,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .share-btn span,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quran-action span,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .action-btn span,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn span,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn span,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .feature-btn span,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .tools-btn span,
html.theme-emerald-quran body:not(.page-themes-pro) button span,
html.theme-emerald-quran body:not(.page-themes-pro) .btn span,
html.theme-emerald-quran body:not(.page-themes-pro) .quick-btn span,
html.theme-emerald-quran body:not(.page-themes-pro) .share-btn span,
html.theme-emerald-quran body:not(.page-themes-pro) .quran-action span,
html.theme-emerald-quran body:not(.page-themes-pro) .action-btn span,
html.theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn span,
html.theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn span,
html.theme-emerald-quran body:not(.page-themes-pro) .feature-btn span,
html.theme-emerald-quran body:not(.page-themes-pro) .tools-btn span{
  color:currentColor !important;
  -webkit-text-fill-color:currentColor !important;
  text-shadow:inherit !important;
}


/* === Emerald Action Active Glow — Quran Reference === */
html.premium-theme-emerald-quran body:not(.page-themes-pro) button.active:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.premium-theme-emerald-quran body:not(.page-themes-pro) button.is-active:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.premium-theme-emerald-quran body:not(.page-themes-pro) button.selected:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.premium-theme-emerald-quran body:not(.page-themes-pro) button.is-selected:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.premium-theme-emerald-quran body:not(.page-themes-pro) button[aria-pressed="true"]:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.premium-theme-emerald-quran body:not(.page-themes-pro) button[data-active="true"]:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.premium-theme-emerald-quran body:not(.page-themes-pro) button[data-selected="true"]:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quran-action.active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quran-action.is-active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quran-action.selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quran-action.is-selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quran-action[aria-pressed="true"],
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-action.active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-action.is-active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-action.selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-action.is-selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-action[aria-pressed="true"],
html.premium-theme-emerald-quran body:not(.page-themes-pro) .action-btn.active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .action-btn.is-active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .action-btn.selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .action-btn.is-selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .action-btn[aria-pressed="true"],
html.premium-theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn.active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn.is-active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn.selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn.is-selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn[aria-pressed="true"],
html.premium-theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn.active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn.is-active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn.selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn.is-selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn[aria-pressed="true"],
html.premium-theme-emerald-quran body:not(.page-themes-pro) .feature-btn.active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .feature-btn.is-active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .feature-btn.selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .feature-btn.is-selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .feature-btn[aria-pressed="true"],
html.premium-theme-emerald-quran body:not(.page-themes-pro) .tools-btn.active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .tools-btn.is-active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .tools-btn.selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .tools-btn.is-selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .tools-btn[aria-pressed="true"],
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quick-btn.active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quick-btn.is-active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quick-btn.selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quick-btn.is-selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quick-btn[aria-pressed="true"],
html.premium-theme-emerald-quran body:not(.page-themes-pro) .filter-btn.active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .filter-btn.is-active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .filter-btn.selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .filter-btn.is-selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .filter-btn[aria-pressed="true"],
html.premium-theme-emerald-quran body:not(.page-themes-pro) .category-btn.active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .category-btn.is-active,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .category-btn.selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .category-btn.is-selected,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .category-btn[aria-pressed="true"],
html.theme-emerald-quran body:not(.page-themes-pro) button.active:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.theme-emerald-quran body:not(.page-themes-pro) button.is-active:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.theme-emerald-quran body:not(.page-themes-pro) button.selected:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.theme-emerald-quran body:not(.page-themes-pro) button.is-selected:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.theme-emerald-quran body:not(.page-themes-pro) button[aria-pressed="true"]:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.theme-emerald-quran body:not(.page-themes-pro) button[data-active="true"]:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.theme-emerald-quran body:not(.page-themes-pro) button[data-selected="true"]:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.theme-emerald-quran body:not(.page-themes-pro) .quran-action.active,
html.theme-emerald-quran body:not(.page-themes-pro) .quran-action.is-active,
html.theme-emerald-quran body:not(.page-themes-pro) .quran-action.selected,
html.theme-emerald-quran body:not(.page-themes-pro) .quran-action.is-selected,
html.theme-emerald-quran body:not(.page-themes-pro) .quran-action[aria-pressed="true"],
html.theme-emerald-quran body:not(.page-themes-pro) .surah-action.active,
html.theme-emerald-quran body:not(.page-themes-pro) .surah-action.is-active,
html.theme-emerald-quran body:not(.page-themes-pro) .surah-action.selected,
html.theme-emerald-quran body:not(.page-themes-pro) .surah-action.is-selected,
html.theme-emerald-quran body:not(.page-themes-pro) .surah-action[aria-pressed="true"],
html.theme-emerald-quran body:not(.page-themes-pro) .action-btn.active,
html.theme-emerald-quran body:not(.page-themes-pro) .action-btn.is-active,
html.theme-emerald-quran body:not(.page-themes-pro) .action-btn.selected,
html.theme-emerald-quran body:not(.page-themes-pro) .action-btn.is-selected,
html.theme-emerald-quran body:not(.page-themes-pro) .action-btn[aria-pressed="true"],
html.theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn.active,
html.theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn.is-active,
html.theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn.selected,
html.theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn.is-selected,
html.theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn[aria-pressed="true"],
html.theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn.active,
html.theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn.is-active,
html.theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn.selected,
html.theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn.is-selected,
html.theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn[aria-pressed="true"],
html.theme-emerald-quran body:not(.page-themes-pro) .feature-btn.active,
html.theme-emerald-quran body:not(.page-themes-pro) .feature-btn.is-active,
html.theme-emerald-quran body:not(.page-themes-pro) .feature-btn.selected,
html.theme-emerald-quran body:not(.page-themes-pro) .feature-btn.is-selected,
html.theme-emerald-quran body:not(.page-themes-pro) .feature-btn[aria-pressed="true"],
html.theme-emerald-quran body:not(.page-themes-pro) .tools-btn.active,
html.theme-emerald-quran body:not(.page-themes-pro) .tools-btn.is-active,
html.theme-emerald-quran body:not(.page-themes-pro) .tools-btn.selected,
html.theme-emerald-quran body:not(.page-themes-pro) .tools-btn.is-selected,
html.theme-emerald-quran body:not(.page-themes-pro) .tools-btn[aria-pressed="true"],
html.theme-emerald-quran body:not(.page-themes-pro) .quick-btn.active,
html.theme-emerald-quran body:not(.page-themes-pro) .quick-btn.is-active,
html.theme-emerald-quran body:not(.page-themes-pro) .quick-btn.selected,
html.theme-emerald-quran body:not(.page-themes-pro) .quick-btn.is-selected,
html.theme-emerald-quran body:not(.page-themes-pro) .quick-btn[aria-pressed="true"],
html.theme-emerald-quran body:not(.page-themes-pro) .filter-btn.active,
html.theme-emerald-quran body:not(.page-themes-pro) .filter-btn.is-active,
html.theme-emerald-quran body:not(.page-themes-pro) .filter-btn.selected,
html.theme-emerald-quran body:not(.page-themes-pro) .filter-btn.is-selected,
html.theme-emerald-quran body:not(.page-themes-pro) .filter-btn[aria-pressed="true"],
html.theme-emerald-quran body:not(.page-themes-pro) .category-btn.active,
html.theme-emerald-quran body:not(.page-themes-pro) .category-btn.is-active,
html.theme-emerald-quran body:not(.page-themes-pro) .category-btn.selected,
html.theme-emerald-quran body:not(.page-themes-pro) .category-btn.is-selected,
html.theme-emerald-quran body:not(.page-themes-pro) .category-btn[aria-pressed="true"]{
  background:var(--bw-premium-button) !important;
  background-image:var(--bw-premium-button) !important;
  color:var(--bw-premium-button-text) !important;
  -webkit-text-fill-color:var(--bw-premium-button-text) !important;
  border:2px solid #63ffd0 !important;
  box-shadow:
    0 0 0 2px rgba(99,255,208,.26),
    0 0 24px rgba(99,255,208,.52),
    0 14px 34px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.30) !important;
  transform:none !important;
  filter:none !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(
  button.active,
  button.is-active,
  button.selected,
  button.is-selected,
  button[aria-pressed="true"],
  button[data-active="true"],
  button[data-selected="true"],
  .quran-action.active,
  .quran-action.is-active,
  .quran-action.selected,
  .quran-action.is-selected,
  .quran-action[aria-pressed="true"],
  .surah-action.active,
  .surah-action.is-active,
  .surah-action.selected,
  .surah-action.is-selected,
  .surah-action[aria-pressed="true"],
  .action-btn.active,
  .action-btn.is-active,
  .action-btn.selected,
  .action-btn.is-selected,
  .action-btn[aria-pressed="true"],
  .toolbar-btn.active,
  .toolbar-btn.is-active,
  .toolbar-btn.selected,
  .toolbar-btn.is-selected,
  .toolbar-btn[aria-pressed="true"],
  .menu-action-btn.active,
  .menu-action-btn.is-active,
  .menu-action-btn.selected,
  .menu-action-btn.is-selected,
  .menu-action-btn[aria-pressed="true"],
  .feature-btn.active,
  .feature-btn.is-active,
  .feature-btn.selected,
  .feature-btn.is-selected,
  .feature-btn[aria-pressed="true"],
  .tools-btn.active,
  .tools-btn.is-active,
  .tools-btn.selected,
  .tools-btn.is-selected,
  .tools-btn[aria-pressed="true"],
  .quick-btn.active,
  .quick-btn.is-active,
  .quick-btn.selected,
  .quick-btn.is-selected,
  .quick-btn[aria-pressed="true"],
  .filter-btn.active,
  .filter-btn.is-active,
  .filter-btn.selected,
  .filter-btn.is-selected,
  .filter-btn[aria-pressed="true"],
  .category-btn.active,
  .category-btn.is-active,
  .category-btn.selected,
  .category-btn.is-selected,
  .category-btn[aria-pressed="true"]
) :is(svg, i),
html.theme-emerald-quran body:not(.page-themes-pro) :is(
  button.active,
  button.is-active,
  button.selected,
  button.is-selected,
  button[aria-pressed="true"],
  button[data-active="true"],
  button[data-selected="true"],
  .quran-action.active,
  .quran-action.is-active,
  .quran-action.selected,
  .quran-action.is-selected,
  .quran-action[aria-pressed="true"],
  .surah-action.active,
  .surah-action.is-active,
  .surah-action.selected,
  .surah-action.is-selected,
  .surah-action[aria-pressed="true"],
  .action-btn.active,
  .action-btn.is-active,
  .action-btn.selected,
  .action-btn.is-selected,
  .action-btn[aria-pressed="true"],
  .toolbar-btn.active,
  .toolbar-btn.is-active,
  .toolbar-btn.selected,
  .toolbar-btn.is-selected,
  .toolbar-btn[aria-pressed="true"],
  .menu-action-btn.active,
  .menu-action-btn.is-active,
  .menu-action-btn.selected,
  .menu-action-btn.is-selected,
  .menu-action-btn[aria-pressed="true"],
  .feature-btn.active,
  .feature-btn.is-active,
  .feature-btn.selected,
  .feature-btn.is-selected,
  .feature-btn[aria-pressed="true"],
  .tools-btn.active,
  .tools-btn.is-active,
  .tools-btn.selected,
  .tools-btn.is-selected,
  .tools-btn[aria-pressed="true"],
  .quick-btn.active,
  .quick-btn.is-active,
  .quick-btn.selected,
  .quick-btn.is-selected,
  .quick-btn[aria-pressed="true"],
  .filter-btn.active,
  .filter-btn.is-active,
  .filter-btn.selected,
  .filter-btn.is-selected,
  .filter-btn[aria-pressed="true"],
  .category-btn.active,
  .category-btn.is-active,
  .category-btn.selected,
  .category-btn.is-selected,
  .category-btn[aria-pressed="true"]
) :is(svg, i){
  color:var(--bw-premium-button-text) !important;
  stroke:var(--bw-premium-button-text) !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(
  button.active,
  button.is-active,
  button.selected,
  button.is-selected,
  button[aria-pressed="true"],
  button[data-active="true"],
  button[data-selected="true"],
  .quran-action.active,
  .quran-action.is-active,
  .quran-action.selected,
  .quran-action.is-selected,
  .quran-action[aria-pressed="true"],
  .surah-action.active,
  .surah-action.is-active,
  .surah-action.selected,
  .surah-action.is-selected,
  .surah-action[aria-pressed="true"],
  .action-btn.active,
  .action-btn.is-active,
  .action-btn.selected,
  .action-btn.is-selected,
  .action-btn[aria-pressed="true"],
  .toolbar-btn.active,
  .toolbar-btn.is-active,
  .toolbar-btn.selected,
  .toolbar-btn.is-selected,
  .toolbar-btn[aria-pressed="true"],
  .menu-action-btn.active,
  .menu-action-btn.is-active,
  .menu-action-btn.selected,
  .menu-action-btn.is-selected,
  .menu-action-btn[aria-pressed="true"],
  .feature-btn.active,
  .feature-btn.is-active,
  .feature-btn.selected,
  .feature-btn.is-selected,
  .feature-btn[aria-pressed="true"],
  .tools-btn.active,
  .tools-btn.is-active,
  .tools-btn.selected,
  .tools-btn.is-selected,
  .tools-btn[aria-pressed="true"],
  .quick-btn.active,
  .quick-btn.is-active,
  .quick-btn.selected,
  .quick-btn.is-selected,
  .quick-btn[aria-pressed="true"],
  .filter-btn.active,
  .filter-btn.is-active,
  .filter-btn.selected,
  .filter-btn.is-selected,
  .filter-btn[aria-pressed="true"],
  .category-btn.active,
  .category-btn.is-active,
  .category-btn.selected,
  .category-btn.is-selected,
  .category-btn[aria-pressed="true"]
) span,
html.theme-emerald-quran body:not(.page-themes-pro) :is(
  button.active,
  button.is-active,
  button.selected,
  button.is-selected,
  button[aria-pressed="true"],
  button[data-active="true"],
  button[data-selected="true"],
  .quran-action.active,
  .quran-action.is-active,
  .quran-action.selected,
  .quran-action.is-selected,
  .quran-action[aria-pressed="true"],
  .surah-action.active,
  .surah-action.is-active,
  .surah-action.selected,
  .surah-action.is-selected,
  .surah-action[aria-pressed="true"],
  .action-btn.active,
  .action-btn.is-active,
  .action-btn.selected,
  .action-btn.is-selected,
  .action-btn[aria-pressed="true"],
  .toolbar-btn.active,
  .toolbar-btn.is-active,
  .toolbar-btn.selected,
  .toolbar-btn.is-selected,
  .toolbar-btn[aria-pressed="true"],
  .menu-action-btn.active,
  .menu-action-btn.is-active,
  .menu-action-btn.selected,
  .menu-action-btn.is-selected,
  .menu-action-btn[aria-pressed="true"],
  .feature-btn.active,
  .feature-btn.is-active,
  .feature-btn.selected,
  .feature-btn.is-selected,
  .feature-btn[aria-pressed="true"],
  .tools-btn.active,
  .tools-btn.is-active,
  .tools-btn.selected,
  .tools-btn.is-selected,
  .tools-btn[aria-pressed="true"],
  .quick-btn.active,
  .quick-btn.is-active,
  .quick-btn.selected,
  .quick-btn.is-selected,
  .quick-btn[aria-pressed="true"],
  .filter-btn.active,
  .filter-btn.is-active,
  .filter-btn.selected,
  .filter-btn.is-selected,
  .filter-btn[aria-pressed="true"],
  .category-btn.active,
  .category-btn.is-active,
  .category-btn.selected,
  .category-btn.is-selected,
  .category-btn[aria-pressed="true"]
) span{
  color:var(--bw-premium-button-text) !important;
  -webkit-text-fill-color:var(--bw-premium-button-text) !important;
}

/* Bottom navigation is not part of top/action menu glow. */
html.premium-theme-emerald-quran body:not(.page-themes-pro) .bottom-app-nav button,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .bottom-app-nav a,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .bottom-app-nav .bottom-app-nav-item,
html.theme-emerald-quran body:not(.page-themes-pro) .bottom-app-nav button,
html.theme-emerald-quran body:not(.page-themes-pro) .bottom-app-nav a,
html.theme-emerald-quran body:not(.page-themes-pro) .bottom-app-nav .bottom-app-nav-item{
  background:initial;
  background-image:initial;
}


/* === Universal Emerald Premium Button Glow === */
/* Quran-style emerald glow for all premium gold action buttons */

html.premium-theme-emerald-quran body:not(.page-themes-pro) button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.premium-theme-emerald-quran body:not(.page-themes-pro) .btn,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quick-btn,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .action-btn,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .feature-btn,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .tools-btn,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .filter-btn,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .category-btn,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quran-action,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-action,
html.theme-emerald-quran body:not(.page-themes-pro) button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
html.theme-emerald-quran body:not(.page-themes-pro) .btn,
html.theme-emerald-quran body:not(.page-themes-pro) .quick-btn,
html.theme-emerald-quran body:not(.page-themes-pro) .action-btn,
html.theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn,
html.theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn,
html.theme-emerald-quran body:not(.page-themes-pro) .feature-btn,
html.theme-emerald-quran body:not(.page-themes-pro) .tools-btn,
html.theme-emerald-quran body:not(.page-themes-pro) .filter-btn,
html.theme-emerald-quran body:not(.page-themes-pro) .category-btn,
html.theme-emerald-quran body:not(.page-themes-pro) .quran-action,
html.theme-emerald-quran body:not(.page-themes-pro) .surah-action{
  transition:
    border-color .22s ease,
    box-shadow .22s ease,
    transform .18s ease !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn):hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .btn:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quick-btn:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .action-btn:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .feature-btn:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .tools-btn:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .filter-btn:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .category-btn:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quran-action:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-action:hover,
html.theme-emerald-quran body:not(.page-themes-pro) button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn):hover,
html.theme-emerald-quran body:not(.page-themes-pro) .btn:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .quick-btn:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .action-btn:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .toolbar-btn:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .menu-action-btn:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .feature-btn:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .tools-btn:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .filter-btn:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .category-btn:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .quran-action:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .surah-action:hover{
  border-color:#63ffd0 !important;
  box-shadow:
    0 0 0 2px rgba(99,255,208,.22),
    0 0 22px rgba(99,255,208,.38),
    0 14px 34px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.30) !important;
  transform:translateY(-1px) !important;
}

/* keep bottom navigation unchanged */
html.premium-theme-emerald-quran body:not(.page-themes-pro) .bottom-app-nav *:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .bottom-app-nav *:hover{
  box-shadow:none !important;
}



/* ===== SOLID THEME BOTTOM NAV OUTER LAYER ===== */
.bottom-app-nav{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  opacity:1 !important;
}

html.dark-mode .bottom-app-nav{
  background:linear-gradient(180deg,#10161d 0%,#0d1218 100%) !important;
}

html.light-mode .bottom-app-nav,
body.light-mode .bottom-app-nav{
  background:linear-gradient(180deg,#fcfffd 0%,#e8f6ee 100%) !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) .bottom-app-nav{
  background:var(--bw-premium-surface) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  opacity:1 !important;
}

html.premium-theme-royal-gold body:not(.page-themes-pro) .bottom-app-nav{
  background:linear-gradient(145deg,#ffe7a3 0%,#b6792b 100%) !important;
}

/* ===== DARK SOLID PREMIUM BOTTOM NAV — FINAL OVERRIDE ===== */
/* Outer + inner bottom nav layer: fully opaque, darker per premium theme. */
.bottom-app-nav,
.bottom-app-nav-inner{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  opacity:1 !important;
}

html[class*="premium-theme-"]{
  --bw-bottom-nav-dark-solid:linear-gradient(180deg,#10161d 0%,#0d1218 100%);
  --bw-bottom-nav-dark-solid-inner:linear-gradient(180deg,#171f28 0%,#11181f 100%);
}

html.premium-theme-royal-gold{
  --bw-bottom-nav-dark-solid:linear-gradient(180deg,#4d3410 0%,#1f1404 100%);
  --bw-bottom-nav-dark-solid-inner:linear-gradient(180deg,#5a3c13 0%,#2a1a06 100%);
}

html.premium-theme-emerald-quran{
  --bw-bottom-nav-dark-solid:linear-gradient(180deg,#00331f 0%,#001b12 100%);
  --bw-bottom-nav-dark-solid-inner:linear-gradient(180deg,#004528 0%,#002515 100%);
}

html.premium-theme-violet-noor{
  --bw-bottom-nav-dark-solid:linear-gradient(180deg,#241034 0%,#12071d 100%);
  --bw-bottom-nav-dark-solid-inner:linear-gradient(180deg,#34174d 0%,#1b0b2a 100%);
}

html.premium-theme-rose-soft{
  --bw-bottom-nav-dark-solid:linear-gradient(180deg,#5a2842 0%,#301421 100%);
  --bw-bottom-nav-dark-solid-inner:linear-gradient(180deg,#6f3151 0%,#3a1828 100%);
}

html.premium-theme-carbon-elite{
  --bw-bottom-nav-dark-solid:linear-gradient(180deg,#11171d 0%,#030405 100%);
  --bw-bottom-nav-dark-solid-inner:linear-gradient(180deg,#1c232a 0%,#050607 100%);
}

html.premium-theme-children-soft{
  --bw-bottom-nav-dark-solid:linear-gradient(180deg,#21486a 0%,#10263d 100%);
  --bw-bottom-nav-dark-solid-inner:linear-gradient(180deg,#2a5d82 0%,#17344f 100%);
}

html.premium-theme-night-mosque{
  --bw-bottom-nav-dark-solid:linear-gradient(180deg,#10184a 0%,#050713 100%);
  --bw-bottom-nav-dark-solid-inner:linear-gradient(180deg,#1e3471 0%,#080d2a 100%);
}

html.premium-theme-desert-sand{
  --bw-bottom-nav-dark-solid:linear-gradient(180deg,#5f4725 0%,#2a1a06 100%);
  --bw-bottom-nav-dark-solid-inner:linear-gradient(180deg,#6f542d 0%,#362712 100%);
}

html[class*="premium-theme-"] body:not(.page-themes-pro) .bottom-app-nav{
  background:var(--bw-bottom-nav-dark-solid) !important;
  border-top:1.5px solid var(--bw-premium-border) !important;
  box-shadow:0 -18px 44px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  opacity:1 !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) .bottom-app-nav-inner{
  background:var(--bw-bottom-nav-dark-solid-inner) !important;
  border:1.5px solid var(--bw-premium-border) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 10px 28px rgba(0,0,0,.24) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  opacity:1 !important;
}


/* ===== EMERALD QURAN — GREEN 3D GLOW BORDERS FOR LARGE APP BLOCKS ===== */
html.premium-theme-emerald-quran{
  --bw-emerald-glow-border:rgba(99,255,208,.66);
  --bw-emerald-glow-border-soft:rgba(116,242,168,.34);
  --bw-emerald-glow-outer:rgba(99,255,208,.26);
  --bw-emerald-glow-deep:rgba(0,0,0,.32);
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) .container,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .brand-prayer-hero,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .home-prayer-widget,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .today-hub,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .about-project-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .donation-dropdown,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .intro,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quote,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .transactions,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .verification,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .panel,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .block,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .box,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .article,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .category-panel,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .home-widget,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .note-box,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .jumuah-box,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .wallet-support,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .today-action,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .premium-resource-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .prayer-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .dua-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .ayah-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .dropdown-block,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .dropdown-content,
html.premium-theme-emerald-quran body:not(.page-themes-pro) details,
html.premium-theme-emerald-quran body:not(.page-themes-pro) summary,
html.theme-emerald-quran body:not(.page-themes-pro) .container,
html.theme-emerald-quran body:not(.page-themes-pro) .brand-prayer-hero,
html.theme-emerald-quran body:not(.page-themes-pro) .home-prayer-widget,
html.theme-emerald-quran body:not(.page-themes-pro) .today-hub,
html.theme-emerald-quran body:not(.page-themes-pro) .about-project-card,
html.theme-emerald-quran body:not(.page-themes-pro) .donation-dropdown,
html.theme-emerald-quran body:not(.page-themes-pro) .intro,
html.theme-emerald-quran body:not(.page-themes-pro) .quote,
html.theme-emerald-quran body:not(.page-themes-pro) .transactions,
html.theme-emerald-quran body:not(.page-themes-pro) .verification,
html.theme-emerald-quran body:not(.page-themes-pro) .panel,
html.theme-emerald-quran body:not(.page-themes-pro) .block,
html.theme-emerald-quran body:not(.page-themes-pro) .card,
html.theme-emerald-quran body:not(.page-themes-pro) .box,
html.theme-emerald-quran body:not(.page-themes-pro) .article,
html.theme-emerald-quran body:not(.page-themes-pro) .category-panel,
html.theme-emerald-quran body:not(.page-themes-pro) .home-widget,
html.theme-emerald-quran body:not(.page-themes-pro) .note-box,
html.theme-emerald-quran body:not(.page-themes-pro) .jumuah-box,
html.theme-emerald-quran body:not(.page-themes-pro) .wallet-support,
html.theme-emerald-quran body:not(.page-themes-pro) .today-action,
html.theme-emerald-quran body:not(.page-themes-pro) .premium-resource-card,
html.theme-emerald-quran body:not(.page-themes-pro) .surah-card,
html.theme-emerald-quran body:not(.page-themes-pro) .prayer-card,
html.theme-emerald-quran body:not(.page-themes-pro) .dua-card,
html.theme-emerald-quran body:not(.page-themes-pro) .ayah-card,
html.theme-emerald-quran body:not(.page-themes-pro) .dropdown-block,
html.theme-emerald-quran body:not(.page-themes-pro) .dropdown-content,
html.theme-emerald-quran body:not(.page-themes-pro) details,
html.theme-emerald-quran body:not(.page-themes-pro) summary{
  border:1.6px solid var(--bw-emerald-glow-border) !important;
  box-shadow:
    0 0 0 1px var(--bw-emerald-glow-border-soft),
    0 0 18px rgba(99,255,208,.24),
    0 0 36px rgba(45,122,70,.22),
    0 18px 46px var(--bw-emerald-glow-deep),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -18px 34px rgba(0,0,0,.16) !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) .brand-prayer-hero,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .today-hub,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .home-prayer-widget,
html.theme-emerald-quran body:not(.page-themes-pro) .brand-prayer-hero,
html.theme-emerald-quran body:not(.page-themes-pro) .today-hub,
html.theme-emerald-quran body:not(.page-themes-pro) .home-prayer-widget{
  border-color:rgba(130,255,213,.78) !important;
  box-shadow:
    0 0 0 1px rgba(130,255,213,.38),
    0 0 24px rgba(99,255,208,.34),
    0 0 52px rgba(45,122,70,.28),
    0 24px 58px rgba(0,0,0,.36),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -22px 38px rgba(0,0,0,.18) !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) .today-action:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .premium-resource-card:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-card:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .prayer-card:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .dua-card:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .ayah-card:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .today-action:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .premium-resource-card:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .surah-card:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .prayer-card:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .dua-card:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .ayah-card:hover{
  border-color:#82ffd5 !important;
  box-shadow:
    0 0 0 2px rgba(130,255,213,.30),
    0 0 28px rgba(99,255,208,.42),
    0 20px 48px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.24) !important;
}



/* ===== EMERALD OUTER GLOW ONLY ===== */
html.premium-theme-emerald-quran body:not(.page-themes-pro) .container{
  border:2px solid rgba(120,255,180,.92) !important;
  box-shadow:
    0 0 18px rgba(80,255,160,.75),
    0 0 42px rgba(60,255,140,.55),
    0 0 90px rgba(20,255,120,.38),
    inset 0 0 0 1px rgba(220,255,235,.28) !important;
}

/* remove inner glow from all internal cards/panels */
html.premium-theme-emerald-quran body:not(.page-themes-pro) .panel,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .block,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .box,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .article,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .category-panel,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .home-widget,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .today-hub,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .today-action,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .premium-resource-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .prayer-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .dua-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .ayah-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .note-box,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .dropdown-block,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .dropdown-content,
html.premium-theme-emerald-quran body:not(.page-themes-pro) details,
html.premium-theme-emerald-quran body:not(.page-themes-pro) summary{
  box-shadow:none !important;
}


/* ===== INNER GREEN GLOW FIX ===== */
html.dark-mode .container,
html.dark-mode .brand-prayer-hero,
html.dark-mode .today-hub{
  box-shadow:
    inset 0 0 45px rgba(0,255,140,0.28),
    inset 0 0 90px rgba(0,255,140,0.16) !important;
  overflow:hidden !important;
}

/* ===== EMERALD QURAN — INSET THEME GLOW ONLY ===== */
/* Final override: theme glow must shine inward, not outside the container. */
html.premium-theme-emerald-quran body:not(.page-themes-pro) .container,
html.theme-emerald-quran body:not(.page-themes-pro) .container{
  border:2px solid rgba(99,255,208,.86) !important;
  box-shadow:
    inset 0 0 0 1px rgba(210,255,238,.26),
    inset 0 0 28px rgba(99,255,208,.72),
    inset 0 0 70px rgba(99,255,208,.42),
    inset 0 0 128px rgba(18,189,101,.26) !important;
  overflow:hidden !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) .brand-prayer-hero,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .home-prayer-widget,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .today-hub,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .today-action,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .premium-resource-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .prayer-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .dua-card,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .ayah-card,
html.theme-emerald-quran body:not(.page-themes-pro) .brand-prayer-hero,
html.theme-emerald-quran body:not(.page-themes-pro) .home-prayer-widget,
html.theme-emerald-quran body:not(.page-themes-pro) .today-hub,
html.theme-emerald-quran body:not(.page-themes-pro) .today-action,
html.theme-emerald-quran body:not(.page-themes-pro) .premium-resource-card,
html.theme-emerald-quran body:not(.page-themes-pro) .surah-card,
html.theme-emerald-quran body:not(.page-themes-pro) .prayer-card,
html.theme-emerald-quran body:not(.page-themes-pro) .dua-card,
html.theme-emerald-quran body:not(.page-themes-pro) .ayah-card{
  box-shadow:none !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) .today-action:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .premium-resource-card:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-card:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .prayer-card:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .dua-card:hover,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .ayah-card:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .today-action:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .premium-resource-card:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .surah-card:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .prayer-card:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .dua-card:hover,
html.theme-emerald-quran body:not(.page-themes-pro) .ayah-card:hover{
  box-shadow:none !important;
}




/* ===== BARAKAWAY PRO THEME SWITCH -> GLOW ON/OFF FINAL ===== */
/* Existing top switch is reused. In PRO: Light/Dark is disabled; switch controls only edge glow. */

html[class*="premium-theme-"]{
  --bw-pro-edge-glow:
    inset 0 0 38px rgba(110,231,183,.42),
    inset 0 0 88px rgba(110,231,183,.24),
    inset 0 0 150px rgba(110,231,183,.12);
}

/* PRO remains visually premium/dark even if old light-mode classes appear */
html[class*="premium-theme-"] body:not(.page-themes-pro),
html[class*="premium-theme-"].light-mode body:not(.page-themes-pro),
html[class*="premium-theme-"] body.light-mode:not(.page-themes-pro){
  background:var(--bw-premium-page) !important;
  color:var(--bw-premium-text) !important;
}

/* Glow On */
html[class*="premium-theme-"]:not(.bw-glow-off) body:not(.page-themes-pro) .container,
html[class*="premium-theme-"] body:not(.page-themes-pro):not(.bw-glow-off) .container{
  box-shadow:var(--bw-premium-shadow), var(--bw-pro-edge-glow) !important;
  transition:box-shadow .12s linear !important;
}

/* Glow Off */
html.bw-glow-off[class*="premium-theme-"] body:not(.page-themes-pro) .container,
html[class*="premium-theme-"] body.bw-glow-off:not(.page-themes-pro) .container{
  box-shadow:var(--bw-premium-shadow) !important;
}

/* Keep existing switch visible */
html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle,
html[class*="premium-theme-"] body:not(.page-themes-pro) .mobile-theme-toggle,
html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle,
html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-mode-toggle,
html[class*="premium-theme-"] body:not(.page-themes-pro) .mode-toggle{
  display:inline-flex !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
}

/* Existing switch shell */
html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle-inner,
html[class*="premium-theme-"] body:not(.page-themes-pro) .mobile-theme-toggle-inner,
html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle-inner{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  min-width:142px !important;
  min-height:40px !important;
  padding:7px 12px !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,rgba(8,34,22,.96),rgba(4,22,14,.985)) !important;
  border:1.5px solid rgba(110,231,183,.22) !important;
  box-shadow:0 10px 26px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05), inset 0 0 18px rgba(110,231,183,.14) !important;
}

/* JS sets label to Glow On / Glow Off */
html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle-label,
html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle-label,
html[class*="premium-theme-"] body:not(.page-themes-pro) .mobile-theme-toggle-label,
html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle .theme-toggle-label,
html[class*="premium-theme-"] body:not(.page-themes-pro) .mobile-theme-toggle .theme-toggle-label,
html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle .theme-toggle-label{
  font-size:12px !important;
  line-height:1 !important;
  font-weight:900 !important;
  color:#fff0bd !important;
  text-shadow:0 0 10px rgba(216,179,95,.30) !important;
  white-space:nowrap !important;
}

/* Disable old fake pseudo UI; keep real input/switch */
html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle::before,
html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle::after,
html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle::before,
html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle::after,
html[class*="premium-theme-"] body:not(.page-themes-pro) .mobile-theme-toggle::before,
html[class*="premium-theme-"] body:not(.page-themes-pro) .mobile-theme-toggle::after,
html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle-inner::before,
html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle-inner::after,
html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle-inner::before,
html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle-inner::after,
html[class*="premium-theme-"] body:not(.page-themes-pro) .mobile-theme-toggle-inner::before,
html[class*="premium-theme-"] body:not(.page-themes-pro) .mobile-theme-toggle-inner::after{
  content:none !important;
}

/* Glow On switch visual */
html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-switch,
html[class*="premium-theme-"] body:not(.page-themes-pro) .switch{
  background:linear-gradient(135deg,rgba(110,231,183,.92),rgba(45,122,70,.88)) !important;
  border:1px solid rgba(110,231,183,.34) !important;
  box-shadow:0 0 14px rgba(110,231,183,.26), inset 0 1px 2px rgba(0,0,0,.24) !important;
}

/* Glow Off switch visual */
html.bw-glow-off[class*="premium-theme-"] body:not(.page-themes-pro) .theme-switch,
html.bw-glow-off[class*="premium-theme-"] body:not(.page-themes-pro) .switch,
html[class*="premium-theme-"] body.bw-glow-off:not(.page-themes-pro) .theme-switch,
html[class*="premium-theme-"] body.bw-glow-off:not(.page-themes-pro) .switch{
  background:linear-gradient(135deg,#39443f,#202622) !important;
  border-color:rgba(255,255,255,.12) !important;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.44) !important;
}

@media(max-width:700px){
  html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle-inner,
  html[class*="premium-theme-"] body:not(.page-themes-pro) .mobile-theme-toggle-inner,
  html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle-inner{
    min-width:132px !important;
    min-height:38px !important;
    padding:6px 10px !important;
    gap:8px !important;
  }
  html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle-label,
  html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle-label,
  html[class*="premium-theme-"] body:not(.page-themes-pro) .mobile-theme-toggle-label{
    font-size:11px !important;
  }
}

/* ===== BARAKAWAY PRO EXISTING SWITCH -> GLOW ON/OFF FINAL ===== */
/* In PRO: Light/Dark is disabled. Existing switch controls only the inner edge glow. */

html[class*="premium-theme-"]{
  --bw-pro-edge-glow:
    inset 0 0 38px rgba(110,231,183,.42),
    inset 0 0 88px rgba(110,231,183,.24),
    inset 0 0 150px rgba(110,231,183,.12);
}

/* PRO stays premium/dark even if old classes are present */
html[class*="premium-theme-"] body:not(.page-themes-pro),
html[class*="premium-theme-"].light-mode body:not(.page-themes-pro),
html[class*="premium-theme-"] body.light-mode:not(.page-themes-pro){
  background:var(--bw-premium-page) !important;
  color:var(--bw-premium-text) !important;
}

/* Glow On */
html[class*="premium-theme-"]:not(.bw-glow-off) body:not(.page-themes-pro) .container,
html[class*="premium-theme-"] body:not(.page-themes-pro):not(.bw-glow-off) .container{
  box-shadow:var(--bw-premium-shadow), var(--bw-pro-edge-glow) !important;
  transition:box-shadow .12s linear !important;
}

/* Glow Off */
html.bw-glow-off[class*="premium-theme-"] body:not(.page-themes-pro) .container,
html[class*="premium-theme-"] body.bw-glow-off:not(.page-themes-pro) .container{
  box-shadow:var(--bw-premium-shadow) !important;
}

/* Existing switch remains visible and becomes Glow switch */
html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle,
html[class*="premium-theme-"] body:not(.page-themes-pro) .mobile-theme-toggle,
html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle,
html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle-center{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle-inner{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  min-width:142px !important;
  min-height:40px !important;
  padding:7px 12px !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,rgba(8,34,22,.96),rgba(4,22,14,.985)) !important;
  border:1.5px solid rgba(110,231,183,.22) !important;
  box-shadow:0 10px 26px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05), inset 0 0 18px rgba(110,231,183,.14) !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle-label{
  font-size:12px !important;
  line-height:1 !important;
  font-weight:900 !important;
  color:#fff0bd !important;
  text-shadow:0 0 10px rgba(216,179,95,.30) !important;
  white-space:nowrap !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-switch{
  background:linear-gradient(135deg,rgba(110,231,183,.92),rgba(45,122,70,.88)) !important;
  border:1px solid rgba(110,231,183,.34) !important;
  box-shadow:0 0 14px rgba(110,231,183,.26), inset 0 1px 2px rgba(0,0,0,.24) !important;
}

html.bw-glow-off[class*="premium-theme-"] body:not(.page-themes-pro) .theme-switch,
html[class*="premium-theme-"] body.bw-glow-off:not(.page-themes-pro) .theme-switch{
  background:linear-gradient(135deg,#39443f,#202622) !important;
  border-color:rgba(255,255,255,.12) !important;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.44) !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle::before,
html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle::after,
html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle::before,
html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle::after,
html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle-inner::before,
html[class*="premium-theme-"] body:not(.page-themes-pro) .desktop-theme-toggle-inner::after{
  content:none !important;
}

@media(max-width:700px){
  html[class*="premium-theme-"] body:not(.page-themes-pro) .theme-toggle-label{
    font-size:11px !important;
  }
}

/* ===== BARAKAWAY PRO GLOW SWITCH REAL KNOB FIX ===== */
/* Visual only. In PRO: checked/Glow On = knob right; unchecked/Glow Off = knob left. */

html[class*="premium-theme-"] body:not(.page-themes-pro) input.theme-switch::before{
  transition:left .25s ease, right .25s ease, transform .25s ease !important;
}

html[class*="premium-theme-"] body:not(.page-themes-pro) input.theme-switch:checked::before,
html[class*="premium-theme-"]:not(.bw-glow-off) body:not(.page-themes-pro) input.theme-switch::before,
html[class*="premium-theme-"] body:not(.page-themes-pro):not(.bw-glow-off) input.theme-switch::before{
  left:20px !important;
  right:auto !important;
  transform:none !important;
}

html.bw-glow-off[class*="premium-theme-"] body:not(.page-themes-pro) input.theme-switch::before,
html[class*="premium-theme-"] body.bw-glow-off:not(.page-themes-pro) input.theme-switch::before,
html[class*="premium-theme-"] body:not(.page-themes-pro) input.theme-switch:not(:checked)::before{
  left:3px !important;
  right:auto !important;
  transform:none !important;
}

/* ===== VIOLET NOOR FINAL GLOBAL PURPLE OVERRIDE ===== */
/*
  Final layer for violet-noor only.
  Applied to both theme-universal.css and theme.css.
*/

html.premium-theme-violet-noor,
html.theme-violet-noor,
body.premium-theme-violet-noor,
body.theme-violet-noor,
body.bw-theme-violet-noor{
  --bg:#16031f !important;
  --surface:#21072f !important;
  --surface-2:#2a0a3f !important;
  --surface-3:#351052 !important;
  --border:rgba(216,180,254,.36) !important;
  --border-2:rgba(216,180,254,.44) !important;
  --text:#fff7ff !important;
  --text-soft:#ead6ff !important;
  --text-muted:#c9a8e8 !important;
  --green:#d8b4fe !important;
  --green-strong:#7e22ce !important;
  --green-soft:#ead6ff !important;
  --bw-premium-text:#fff7ff !important;
  --bw-premium-text-soft:#ead6ff !important;
  --bw-premium-muted:#c9a8e8 !important;
  --bw-premium-border:rgba(216,180,254,.46) !important;
  --bw-premium-border-strong:rgba(233,213,255,.72) !important;
  --bw-premium-page:radial-gradient(circle at 50% -10%,rgba(168,85,247,.22),transparent 32%),linear-gradient(180deg,#16031f 0%,#2a0a3f 48%,#12031b 100%) !important;
  --bw-premium-surface:radial-gradient(circle at 85% 0%,rgba(216,180,254,.08),transparent 28%),linear-gradient(145deg,#170421 0%,#241032 55%,#301047 100%) !important;
  --bw-premium-surface-2:radial-gradient(circle at 90% 0%,rgba(216,180,254,.06),transparent 28%),linear-gradient(145deg,#16031f 0%,#21072f 55%,#2a0a3f 100%) !important;
  --bw-premium-button:linear-gradient(180deg,#6d28d9 0%,#351052 100%) !important;
  --bw-premium-button-text:#fff7ff !important;
  --bw-premium-glow:0 0 26px rgba(168,85,247,.32),0 0 74px rgba(126,34,206,.24) !important;
  --bw-premium-inner-glow:inset 0 0 46px rgba(216,180,254,.13) !important;
  --bw-pro-edge-glow:inset 0 0 38px rgba(216,180,254,.38),inset 0 0 88px rgba(168,85,247,.22),inset 0 0 150px rgba(126,34,206,.12) !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro),
html.theme-violet-noor body:not(.page-themes-pro),
body.premium-theme-violet-noor:not(.page-themes-pro),
body.theme-violet-noor:not(.page-themes-pro),
body.bw-theme-violet-noor:not(.page-themes-pro){
  background:radial-gradient(circle at 50% -10%,rgba(168,85,247,.22),transparent 32%),linear-gradient(180deg,#16031f 0%,#2a0a3f 48%,#12031b 100%) !important;
  color:#fff7ff !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article){
  background:radial-gradient(circle at top center,rgba(216,180,254,.10),transparent 32%),linear-gradient(180deg,#1a0525 0%,#2a0a3f 52%,#13031d 100%) !important;
  border-color:rgba(216,180,254,.42) !important;
  color:#fff7ff !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.dropdown-block,.dropdown-content,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.wallet-box,.wallet-support,.wallet-address,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.month-day,.month-head,.prayer-card,.toggle-row,.alarm-row,.reminder-row,.tahajjud-row,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn,.mobile-dropdown,.donation-dropdown,.donation-dropdown-content,.mobile-dropdown-content),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.dropdown-block,.dropdown-content,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.wallet-box,.wallet-support,.wallet-address,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.month-day,.month-head,.prayer-card,.toggle-row,.alarm-row,.reminder-row,.tahajjud-row,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn,.mobile-dropdown,.donation-dropdown,.donation-dropdown-content,.mobile-dropdown-content),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.dropdown-block,.dropdown-content,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.wallet-box,.wallet-support,.wallet-address,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.month-day,.month-head,.prayer-card,.toggle-row,.alarm-row,.reminder-row,.tahajjud-row,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn,.mobile-dropdown,.donation-dropdown,.donation-dropdown-content,.mobile-dropdown-content){
  background:radial-gradient(circle at 85% 0%,rgba(216,180,254,.06),transparent 26%),linear-gradient(145deg,#170421 0%,#241032 55%,#301047 100%) !important;
  border-color:rgba(216,180,254,.38) !important;
  color:#fff7ff !important;
  box-shadow:inset 0 0 22px rgba(216,180,254,.06),0 0 16px rgba(126,34,206,.08) !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) :is(.daily-card,.challenge-card,.task-card,.today-card,.action-card,.share-action,.help-option-btn,.quick-btn),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(.daily-card,.challenge-card,.task-card,.today-card,.action-card,.share-action,.help-option-btn,.quick-btn),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(.daily-card,.challenge-card,.task-card,.today-card,.action-card,.share-action,.help-option-btn,.quick-btn){
  background:radial-gradient(circle at 90% 0%,rgba(255,255,255,.07),transparent 28%),linear-gradient(145deg,#351052 0%,#5b1e82 56%,#7e22ce 100%) !important;
  border-color:rgba(216,180,254,.44) !important;
  color:#fff7ff !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number){
  background:linear-gradient(145deg,#230833,#351052) !important;
  border-color:rgba(216,180,254,.42) !important;
  color:#fff7ff !important;
  box-shadow:inset 0 0 14px rgba(216,180,254,.05) !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) :is(button:not(.theme-switch),.btn,.chip,.badge,.pill,.tag,.filter-btn,.tab,.tabs button,.wallet-badge,.install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,.play-btn,.reset-btn,.qibla-reset,.donation-dropdown summary,.mobile-dropdown-title,.progress-bar),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(button:not(.theme-switch),.btn,.chip,.badge,.pill,.tag,.filter-btn,.tab,.tabs button,.wallet-badge,.install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,.play-btn,.reset-btn,.qibla-reset,.donation-dropdown summary,.mobile-dropdown-title,.progress-bar),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(button:not(.theme-switch),.btn,.chip,.badge,.pill,.tag,.filter-btn,.tab,.tabs button,.wallet-badge,.install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,.play-btn,.reset-btn,.qibla-reset,.donation-dropdown summary,.mobile-dropdown-title,.progress-bar){
  background:linear-gradient(180deg,#6d28d9 0%,#351052 100%) !important;
  border-color:rgba(216,180,254,.46) !important;
  color:#fff7ff !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 10px 22px rgba(126,34,206,.16) !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) :is(.theme-toggle,.desktop-theme-toggle,.mobile-theme-toggle,.theme-toggle-inner,.desktop-theme-toggle-inner,.mobile-theme-toggle-inner),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(.theme-toggle,.desktop-theme-toggle,.mobile-theme-toggle,.theme-toggle-inner,.desktop-theme-toggle-inner,.mobile-theme-toggle-inner),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(.theme-toggle,.desktop-theme-toggle,.mobile-theme-toggle,.theme-toggle-inner,.desktop-theme-toggle-inner,.mobile-theme-toggle-inner){
  background:linear-gradient(180deg,#2a0a3f 0%,#15031f 100%) !important;
  border-color:rgba(216,180,254,.38) !important;
  color:#fff7ff !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) input.theme-switch,
body.premium-theme-violet-noor:not(.page-themes-pro) input.theme-switch,
body.bw-theme-violet-noor:not(.page-themes-pro) input.theme-switch{
  background:linear-gradient(135deg,#8b5cf6,#5b21b6) !important;
  border-color:rgba(216,180,254,.42) !important;
}

html.bw-glow-off.premium-theme-violet-noor body:not(.page-themes-pro) input.theme-switch,
html.premium-theme-violet-noor body.bw-glow-off:not(.page-themes-pro) input.theme-switch,
body.bw-glow-off.premium-theme-violet-noor:not(.page-themes-pro) input.theme-switch,
body.bw-glow-off.bw-theme-violet-noor:not(.page-themes-pro) input.theme-switch{
  background:linear-gradient(135deg,#352540,#1b1220) !important;
  border-color:rgba(255,255,255,.14) !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) :is(.icon,.card-icon,.task-icon,.share-icon,.surah-number,.ayah-index,[class*="icon"]),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(.icon,.card-icon,.task-icon,.share-icon,.surah-number,.ayah-index,[class*="icon"]),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(.icon,.card-icon,.task-icon,.share-icon,.surah-number,.ayah-index,[class*="icon"]){
  background:linear-gradient(145deg,#8b5cf6 0%,#4c1d95 100%) !important;
  border-color:rgba(216,180,254,.44) !important;
  color:#fff7ff !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) :is(a,strong,.accent,.brand-accent,.surah-number,.help-option-arrow,.link a,.footer a),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(a,strong,.accent,.brand-accent,.surah-number,.help-option-arrow,.link a,.footer a),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(a,strong,.accent,.brand-accent,.surah-number,.help-option-arrow,.link a,.footer a){
  color:#d8b4fe !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) *{
  border-color:rgba(216,180,254,.28);
}

/* ===== VIOLET NOOR REMAINING EMERALD TARGET FIX ===== */
/* Targeted cleanup only for remaining green blocks inside violet-noor. */

/* Home top hero / prayer wrapper / alarm row that still inherit emerald */
html.premium-theme-violet-noor body:not(.page-themes-pro) :is(
  [class*="hero"],[class*="Hero"],[class*="prayer"],[class*="Prayer"],[class*="namaz"],[class*="Namaz"],
  [class*="salah"],[class*="Salah"],[class*="alarm"],[class*="Alarm"],[class*="tahajjud"],[class*="Tahajjud"],
  [class*="reminder"],[class*="Reminder"],[class*="count"],[class*="Count"]
),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(
  [class*="hero"],[class*="Hero"],[class*="prayer"],[class*="Prayer"],[class*="namaz"],[class*="Namaz"],
  [class*="salah"],[class*="Salah"],[class*="alarm"],[class*="Alarm"],[class*="tahajjud"],[class*="Tahajjud"],
  [class*="reminder"],[class*="Reminder"],[class*="count"],[class*="Count"]
),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(
  [class*="hero"],[class*="Hero"],[class*="prayer"],[class*="Prayer"],[class*="namaz"],[class*="Namaz"],
  [class*="salah"],[class*="Salah"],[class*="alarm"],[class*="Alarm"],[class*="tahajjud"],[class*="Tahajjud"],
  [class*="reminder"],[class*="Reminder"],[class*="count"],[class*="Count"]
){
  background:
    radial-gradient(circle at 86% 0%,rgba(216,180,254,.07),transparent 28%),
    linear-gradient(145deg,#170421 0%,#241032 55%,#301047 100%) !important;
  border-color:rgba(216,180,254,.40) !important;
  color:#fff7ff !important;
  box-shadow:
    inset 0 0 24px rgba(216,180,254,.07),
    0 0 18px rgba(126,34,206,.10) !important;
}

/* Main first block on home page: structural fallback for classes not named hero/prayer */
html.premium-theme-violet-noor body:not(.page-themes-pro) .container > :is(div,section,article):first-child,
body.premium-theme-violet-noor:not(.page-themes-pro) .container > :is(div,section,article):first-child,
body.bw-theme-violet-noor:not(.page-themes-pro) .container > :is(div,section,article):first-child{
  background:
    radial-gradient(circle at 50% 0%,rgba(216,180,254,.10),transparent 34%),
    linear-gradient(145deg,#170421 0%,#241032 55%,#301047 100%) !important;
  border-color:rgba(216,180,254,.46) !important;
}

/* Duas list rows / accordion rows still green */
html.premium-theme-violet-noor body:not(.page-themes-pro) :is(
  [class*="dua"],[class*="Dua"],[class*="duas"],[class*="Duas"],
  [class*="accordion"],[class*="Accordion"],[class*="category"],[class*="Category"],
  [class*="section-row"],[class*="list-row"],[class*="listItem"],[class*="list-item"],
  details,summary
),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(
  [class*="dua"],[class*="Dua"],[class*="duas"],[class*="Duas"],
  [class*="accordion"],[class*="Accordion"],[class*="category"],[class*="Category"],
  [class*="section-row"],[class*="list-row"],[class*="listItem"],[class*="list-item"],
  details,summary
),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(
  [class*="dua"],[class*="Dua"],[class*="duas"],[class*="Duas"],
  [class*="accordion"],[class*="Accordion"],[class*="category"],[class*="Category"],
  [class*="section-row"],[class*="list-row"],[class*="listItem"],[class*="list-item"],
  details,summary
){
  background:
    radial-gradient(circle at 90% 0%,rgba(216,180,254,.06),transparent 28%),
    linear-gradient(145deg,#170421 0%,#21102d 58%,#2f1046 100%) !important;
  border-color:rgba(216,180,254,.42) !important;
  color:#fff7ff !important;
}

/* Number circles / badges in duas that are still green */
html.premium-theme-violet-noor body:not(.page-themes-pro) :is(
  [class*="num"],[class*="Num"],[class*="index"],[class*="Index"],[class*="counter"],[class*="Counter"],
  [class*="badge"],[class*="Badge"],[class*="circle"],[class*="Circle"]
),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(
  [class*="num"],[class*="Num"],[class*="index"],[class*="Index"],[class*="counter"],[class*="Counter"],
  [class*="badge"],[class*="Badge"],[class*="circle"],[class*="Circle"]
),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(
  [class*="num"],[class*="Num"],[class*="index"],[class*="Index"],[class*="counter"],[class*="Counter"],
  [class*="badge"],[class*="Badge"],[class*="circle"],[class*="Circle"]
){
  background:linear-gradient(145deg,#8b5cf6 0%,#4c1d95 100%) !important;
  border-color:rgba(216,180,254,.44) !important;
  color:#fff7ff !important;
}

/* Hidden sadaqa / support dark-green info panels */
html.premium-theme-violet-noor body:not(.page-themes-pro) :is(
  [class*="sadaqa"],[class*="Sadaqa"],[class*="sadaka"],[class*="Sadaka"],
  [class*="charity"],[class*="Charity"],[class*="donat"],[class*="Donat"],
  [class*="support"],[class*="Support"],[class*="wallet"],[class*="Wallet"],
  [class*="transparency"],[class*="Transparency"],[class*="public"],[class*="Public"]
),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(
  [class*="sadaqa"],[class*="Sadaqa"],[class*="sadaka"],[class*="Sadaka"],
  [class*="charity"],[class*="Charity"],[class*="donat"],[class*="Donat"],
  [class*="support"],[class*="Support"],[class*="wallet"],[class*="Wallet"],
  [class*="transparency"],[class*="Transparency"],[class*="public"],[class*="Public"]
),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(
  [class*="sadaqa"],[class*="Sadaqa"],[class*="sadaka"],[class*="Sadaka"],
  [class*="charity"],[class*="Charity"],[class*="donat"],[class*="Donat"],
  [class*="support"],[class*="Support"],[class*="wallet"],[class*="Wallet"],
  [class*="transparency"],[class*="Transparency"],[class*="public"],[class*="Public"]
){
  background:
    radial-gradient(circle at 90% 0%,rgba(216,180,254,.07),transparent 28%),
    linear-gradient(145deg,#1a0525 0%,#2b0b40 55%,#3d125c 100%) !important;
  border-color:rgba(216,180,254,.42) !important;
  color:#fff7ff !important;
}

/* Qibla specific green pills / coordinate panels */
html.premium-theme-violet-noor body:not(.page-themes-pro) :is(
  [class*="qibla"],[class*="Qibla"],[class*="compass"],[class*="Compass"],
  [class*="location"],[class*="Location"],[class*="coords"],[class*="Coords"],
  [class*="direction"],[class*="Direction"]
),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(
  [class*="qibla"],[class*="Qibla"],[class*="compass"],[class*="Compass"],
  [class*="location"],[class*="Location"],[class*="coords"],[class*="Coords"],
  [class*="direction"],[class*="Direction"]
),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(
  [class*="qibla"],[class*="Qibla"],[class*="compass"],[class*="Compass"],
  [class*="location"],[class*="Location"],[class*="coords"],[class*="Coords"],
  [class*="direction"],[class*="Direction"]
){
  background:
    radial-gradient(circle at 90% 0%,rgba(216,180,254,.06),transparent 28%),
    linear-gradient(145deg,#1a0525 0%,#2a0a3f 58%,#351052 100%) !important;
  border-color:rgba(216,180,254,.42) !important;
  color:#fff7ff !important;
}

/* Hard background cleanup for old emerald rgb values through CSS variables on violet scope */
html.premium-theme-violet-noor body:not(.page-themes-pro),
body.premium-theme-violet-noor:not(.page-themes-pro),
body.bw-theme-violet-noor:not(.page-themes-pro){
  --emerald:#d8b4fe !important;
  --emerald-strong:#7e22ce !important;
  --emerald-soft:#ead6ff !important;
  --islamic-green:#d8b4fe !important;
  --premium-green:#d8b4fe !important;
}

/* Preserve media/map/compass artwork from destructive broad rules */
html.premium-theme-violet-noor body:not(.page-themes-pro) :is(img,canvas,video,iframe,.leaflet-container,.leaflet-container *,#map,#map *,[class*="map"],[class*="Map"]){
  box-shadow:initial;
}

/* ===== VIOLET NOOR DROPDOWN GREEN CLEANUP ===== */
/* Scope only: violet-noor. Fixes remaining green dropdown / accordion menu surfaces. */

html.premium-theme-violet-noor body:not(.page-themes-pro) :is(details,summary,.dropdown,.dropdown-block,.dropdown-content,.dropdown-menu,.dropdown-panel,.dropdown-item,.mobile-dropdown,.mobile-dropdown-title,.mobile-dropdown-content,.donation-dropdown,.donation-dropdown-content,.accordion,.accordion-card,.accordion-item,.accordion-header,.accordion-content,.collapse,.collapse-panel,.expandable,.expandable-content,.faq-card,.faq-item,.faq-question,.faq-answer),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(details,summary,.dropdown,.dropdown-block,.dropdown-content,.dropdown-menu,.dropdown-panel,.dropdown-item,.mobile-dropdown,.mobile-dropdown-title,.mobile-dropdown-content,.donation-dropdown,.donation-dropdown-content,.accordion,.accordion-card,.accordion-item,.accordion-header,.accordion-content,.collapse,.collapse-panel,.expandable,.expandable-content,.faq-card,.faq-item,.faq-question,.faq-answer),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(details,summary,.dropdown,.dropdown-block,.dropdown-content,.dropdown-menu,.dropdown-panel,.dropdown-item,.mobile-dropdown,.mobile-dropdown-title,.mobile-dropdown-content,.donation-dropdown,.donation-dropdown-content,.accordion,.accordion-card,.accordion-item,.accordion-header,.accordion-content,.collapse,.collapse-panel,.expandable,.expandable-content,.faq-card,.faq-item,.faq-question,.faq-answer){
  background:radial-gradient(circle at 90% 0%,rgba(216,180,254,.06),transparent 28%),linear-gradient(145deg,#170421 0%,#241032 55%,#301047 100%) !important;
  border-color:rgba(216,180,254,.42) !important;
  color:#fff7ff !important;
  box-shadow:inset 0 0 20px rgba(216,180,254,.06),0 0 16px rgba(126,34,206,.08) !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) :is(details > summary,.accordion-header,.faq-question,.mobile-dropdown-title,.donation-dropdown summary,.dropdown-title,.dropdown-header,.collapse-title,.expandable-title),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(details > summary,.accordion-header,.faq-question,.mobile-dropdown-title,.donation-dropdown summary,.dropdown-title,.dropdown-header,.collapse-title,.expandable-title),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(details > summary,.accordion-header,.faq-question,.mobile-dropdown-title,.donation-dropdown summary,.dropdown-title,.dropdown-header,.collapse-title,.expandable-title){
  background:linear-gradient(145deg,#2a0a3f 0%,#3b1456 100%) !important;
  border-color:rgba(216,180,254,.38) !important;
  color:#fff7ff !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) :is(details .card,details .box,details .panel,.accordion-content .card,.accordion-content .box,.accordion-content .panel,.dropdown-content .card,.dropdown-content .box,.dropdown-content .panel,.donation-dropdown-content .card,.donation-dropdown-content .box,.donation-dropdown-content .panel,.mobile-dropdown-content .card,.mobile-dropdown-content .box,.mobile-dropdown-content .panel),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(details .card,details .box,details .panel,.accordion-content .card,.accordion-content .box,.accordion-content .panel,.dropdown-content .card,.dropdown-content .box,.dropdown-content .panel,.donation-dropdown-content .card,.donation-dropdown-content .box,.donation-dropdown-content .panel,.mobile-dropdown-content .card,.mobile-dropdown-content .box,.mobile-dropdown-content .panel),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(details .card,details .box,details .panel,.accordion-content .card,.accordion-content .box,.accordion-content .panel,.dropdown-content .card,.dropdown-content .box,.dropdown-content .panel,.donation-dropdown-content .card,.donation-dropdown-content .box,.donation-dropdown-content .panel,.mobile-dropdown-content .card,.mobile-dropdown-content .box,.mobile-dropdown-content .panel){
  background:linear-gradient(145deg,#1b0627 0%,#2a0a3f 100%) !important;
  border-color:rgba(216,180,254,.34) !important;
  color:#fff7ff !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) :is(.accordion-arrow,.dropdown-arrow,.collapse-arrow,.expand-arrow,.chevron,.arrow,.caret),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(.accordion-arrow,.dropdown-arrow,.collapse-arrow,.expand-arrow,.chevron,.arrow,.caret),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(.accordion-arrow,.dropdown-arrow,.collapse-arrow,.expand-arrow,.chevron,.arrow,.caret){
  color:#ead6ff !important;
  background:linear-gradient(145deg,#8b5cf6 0%,#4c1d95 100%) !important;
  border-color:rgba(216,180,254,.44) !important;
}

/* ===== ROSE SOFT FINAL GLOBAL PINK OVERRIDE ===== */
/* Final layer for rose-soft / Розовая гармония only. Other premium themes untouched. */

html.premium-theme-rose-soft,
html.theme-rose-soft,
body.premium-theme-rose-soft,
body.theme-rose-soft,
body.bw-theme-rose-soft{
  --bg:#1f0714 !important;
  --surface:#2a0a1b !important;
  --surface-2:#3a1026 !important;
  --surface-3:#511735 !important;
  --border:rgba(255,174,211,.34) !important;
  --border-2:rgba(255,190,222,.44) !important;
  --text:#fff7fb !important;
  --text-soft:#ffd7e8 !important;
  --text-muted:#e6a9c4 !important;
  --green:#ff9ac8 !important;
  --green-strong:#be185d !important;
  --green-soft:#ffd1e6 !important;
  --bw-premium-text:#fff7fb !important;
  --bw-premium-text-soft:#ffd7e8 !important;
  --bw-premium-muted:#e6a9c4 !important;
  --bw-premium-border:rgba(255,174,211,.46) !important;
  --bw-premium-border-strong:rgba(255,210,232,.72) !important;
  --bw-premium-page:radial-gradient(circle at 50% -10%,rgba(236,72,153,.24),transparent 32%),linear-gradient(180deg,#1f0714 0%,#3a1026 48%,#16040e 100%) !important;
  --bw-premium-surface:radial-gradient(circle at 85% 0%,rgba(255,210,232,.10),transparent 28%),linear-gradient(145deg,#240817 0%,#3a1026 55%,#641b43 100%) !important;
  --bw-premium-surface-2:radial-gradient(circle at 90% 0%,rgba(255,210,232,.07),transparent 28%),linear-gradient(145deg,#1f0714 0%,#2a0a1b 55%,#3a1026 100%) !important;
  --bw-premium-button:linear-gradient(180deg,#db2777 0%,#831843 100%) !important;
  --bw-premium-button-text:#fff7fb !important;
  --bw-premium-glow:0 0 26px rgba(236,72,153,.34),0 0 74px rgba(190,24,93,.26) !important;
  --bw-premium-inner-glow:inset 0 0 46px rgba(255,174,211,.14) !important;
  --bw-pro-edge-glow:inset 0 0 38px rgba(255,174,211,.38),inset 0 0 88px rgba(236,72,153,.24),inset 0 0 150px rgba(190,24,93,.13) !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro),
html.theme-rose-soft body:not(.page-themes-pro),
body.premium-theme-rose-soft:not(.page-themes-pro),
body.theme-rose-soft:not(.page-themes-pro),
body.bw-theme-rose-soft:not(.page-themes-pro){
  background:radial-gradient(circle at 50% -10%,rgba(236,72,153,.24),transparent 32%),linear-gradient(180deg,#1f0714 0%,#3a1026 48%,#16040e 100%) !important;
  color:#fff7fb !important;
}

html.premium-theme-rose-soft .ramadan-bar,
html.theme-rose-soft .ramadan-bar,
body.premium-theme-rose-soft .ramadan-bar,
body.theme-rose-soft .ramadan-bar,
body.bw-theme-rose-soft .ramadan-bar{
  background:linear-gradient(180deg,#be185d 0%,#4a0d2a 100%) !important;
  color:#fff7fb !important;
  border-color:rgba(255,174,211,.24) !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article){
  background:radial-gradient(circle at top center,rgba(255,174,211,.11),transparent 32%),linear-gradient(180deg,#240817 0%,#3a1026 52%,#1a0510 100%) !important;
  border-color:rgba(255,174,211,.42) !important;
  color:#fff7fb !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.dropdown-block,.dropdown-content,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.wallet-box,.wallet-support,.wallet-address,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.month-day,.month-head,.prayer-card,.toggle-row,.alarm-row,.reminder-row,.tahajjud-row,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn,.mobile-dropdown,.donation-dropdown,.donation-dropdown-content,.mobile-dropdown-content),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.dropdown-block,.dropdown-content,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.wallet-box,.wallet-support,.wallet-address,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.month-day,.month-head,.prayer-card,.toggle-row,.alarm-row,.reminder-row,.tahajjud-row,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn,.mobile-dropdown,.donation-dropdown,.donation-dropdown-content,.mobile-dropdown-content),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.dropdown-block,.dropdown-content,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.wallet-box,.wallet-support,.wallet-address,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.month-day,.month-head,.prayer-card,.toggle-row,.alarm-row,.reminder-row,.tahajjud-row,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn,.mobile-dropdown,.donation-dropdown,.donation-dropdown-content,.mobile-dropdown-content){
  background:radial-gradient(circle at 85% 0%,rgba(255,210,232,.07),transparent 26%),linear-gradient(145deg,#240817 0%,#331023 55%,#491431 100%) !important;
  border-color:rgba(255,174,211,.38) !important;
  color:#fff7fb !important;
  box-shadow:inset 0 0 22px rgba(255,174,211,.07),0 0 16px rgba(190,24,93,.10) !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) :is(.daily-card,.challenge-card,.task-card,.today-card,.action-card,.share-action,.help-option-btn,.quick-btn),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(.daily-card,.challenge-card,.task-card,.today-card,.action-card,.share-action,.help-option-btn,.quick-btn),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(.daily-card,.challenge-card,.task-card,.today-card,.action-card,.share-action,.help-option-btn,.quick-btn){
  background:radial-gradient(circle at 90% 0%,rgba(255,255,255,.08),transparent 28%),linear-gradient(145deg,#5b1738 0%,#9d174d 56%,#db2777 100%) !important;
  border-color:rgba(255,190,222,.46) !important;
  color:#fff7fb !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number){
  background:linear-gradient(145deg,#2a0a1b,#511735) !important;
  border-color:rgba(255,174,211,.42) !important;
  color:#fff7fb !important;
  box-shadow:inset 0 0 14px rgba(255,174,211,.06) !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) :is(button:not(.theme-switch),.btn,.chip,.badge,.pill,.tag,.filter-btn,.tab,.tabs button,.wallet-badge,.install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,.play-btn,.reset-btn,.qibla-reset,.donation-dropdown summary,.mobile-dropdown-title,.progress-bar),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(button:not(.theme-switch),.btn,.chip,.badge,.pill,.tag,.filter-btn,.tab,.tabs button,.wallet-badge,.install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,.play-btn,.reset-btn,.qibla-reset,.donation-dropdown summary,.mobile-dropdown-title,.progress-bar),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(button:not(.theme-switch),.btn,.chip,.badge,.pill,.tag,.filter-btn,.tab,.tabs button,.wallet-badge,.install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,.play-btn,.reset-btn,.qibla-reset,.donation-dropdown summary,.mobile-dropdown-title,.progress-bar){
  background:linear-gradient(180deg,#db2777 0%,#831843 100%) !important;
  border-color:rgba(255,174,211,.46) !important;
  color:#fff7fb !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 10px 22px rgba(190,24,93,.18) !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) :is(details,summary,.dropdown,.dropdown-block,.dropdown-content,.dropdown-menu,.dropdown-panel,.dropdown-item,.mobile-dropdown,.mobile-dropdown-title,.mobile-dropdown-content,.donation-dropdown,.donation-dropdown-content,.accordion,.accordion-card,.accordion-item,.accordion-header,.accordion-content,.collapse,.collapse-panel,.expandable,.expandable-content,.faq-card,.faq-item,.faq-question,.faq-answer),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(details,summary,.dropdown,.dropdown-block,.dropdown-content,.dropdown-menu,.dropdown-panel,.dropdown-item,.mobile-dropdown,.mobile-dropdown-title,.mobile-dropdown-content,.donation-dropdown,.donation-dropdown-content,.accordion,.accordion-card,.accordion-item,.accordion-header,.accordion-content,.collapse,.collapse-panel,.expandable,.expandable-content,.faq-card,.faq-item,.faq-question,.faq-answer),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(details,summary,.dropdown,.dropdown-block,.dropdown-content,.dropdown-menu,.dropdown-panel,.dropdown-item,.mobile-dropdown,.mobile-dropdown-title,.mobile-dropdown-content,.donation-dropdown,.donation-dropdown-content,.accordion,.accordion-card,.accordion-item,.accordion-header,.accordion-content,.collapse,.collapse-panel,.expandable,.expandable-content,.faq-card,.faq-item,.faq-question,.faq-answer){
  background:radial-gradient(circle at 90% 0%,rgba(255,210,232,.07),transparent 28%),linear-gradient(145deg,#240817 0%,#331023 55%,#491431 100%) !important;
  border-color:rgba(255,174,211,.42) !important;
  color:#fff7fb !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) :is(details > summary,.accordion-header,.faq-question,.mobile-dropdown-title,.donation-dropdown summary,.dropdown-title,.dropdown-header,.collapse-title,.expandable-title),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(details > summary,.accordion-header,.faq-question,.mobile-dropdown-title,.donation-dropdown summary,.dropdown-title,.dropdown-header,.collapse-title,.expandable-title),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(details > summary,.accordion-header,.faq-question,.mobile-dropdown-title,.donation-dropdown summary,.dropdown-title,.dropdown-header,.collapse-title,.expandable-title){
  background:linear-gradient(145deg,#511735 0%,#831843 100%) !important;
  border-color:rgba(255,174,211,.38) !important;
  color:#fff7fb !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) :is(.theme-toggle,.desktop-theme-toggle,.mobile-theme-toggle,.theme-toggle-inner,.desktop-theme-toggle-inner,.mobile-theme-toggle-inner),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(.theme-toggle,.desktop-theme-toggle,.mobile-theme-toggle,.theme-toggle-inner,.desktop-theme-toggle-inner,.mobile-theme-toggle-inner),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(.theme-toggle,.desktop-theme-toggle,.mobile-theme-toggle,.theme-toggle-inner,.desktop-theme-toggle-inner,.mobile-theme-toggle-inner){
  background:linear-gradient(180deg,#3a1026 0%,#1f0714 100%) !important;
  border-color:rgba(255,174,211,.38) !important;
  color:#fff7fb !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) input.theme-switch,
body.premium-theme-rose-soft:not(.page-themes-pro) input.theme-switch,
body.bw-theme-rose-soft:not(.page-themes-pro) input.theme-switch{
  background:linear-gradient(135deg,#f472b6,#be185d) !important;
  border-color:rgba(255,190,222,.46) !important;
}

html.bw-glow-off.premium-theme-rose-soft body:not(.page-themes-pro) input.theme-switch,
html.premium-theme-rose-soft body.bw-glow-off:not(.page-themes-pro) input.theme-switch,
body.bw-glow-off.premium-theme-rose-soft:not(.page-themes-pro) input.theme-switch,
body.bw-glow-off.bw-theme-rose-soft:not(.page-themes-pro) input.theme-switch{
  background:linear-gradient(135deg,#4a2434,#1f141b) !important;
  border-color:rgba(255,255,255,.14) !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) :is(.icon,.card-icon,.task-icon,.share-icon,.surah-number,.ayah-index,[class*="icon"]),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(.icon,.card-icon,.task-icon,.share-icon,.surah-number,.ayah-index,[class*="icon"]),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(.icon,.card-icon,.task-icon,.share-icon,.surah-number,.ayah-index,[class*="icon"]){
  background:linear-gradient(145deg,#f472b6 0%,#be185d 100%) !important;
  border-color:rgba(255,190,222,.46) !important;
  color:#fff7fb !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) :is(a,strong,.accent,.brand-accent,.surah-number,.help-option-arrow,.link a,.footer a),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(a,strong,.accent,.brand-accent,.surah-number,.help-option-arrow,.link a,.footer a),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(a,strong,.accent,.brand-accent,.surah-number,.help-option-arrow,.link a,.footer a){
  color:#ffb6d5 !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) :is(img,canvas,video,iframe,.leaflet-container,.leaflet-container *,#map,#map *,[class*="map"],[class*="Map"]){
  box-shadow:initial;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) *{
  border-color:rgba(255,174,211,.28);
}

/* ===== ROSE SOFT V3 HARD NO-EMERALD OVERRIDE ===== */
/*
  Hard final layer for rose-soft / Розовая гармония.
  Forces all remaining UI surfaces in this theme to dark-pink.
  Scope only: rose-soft. Other themes untouched.
*/

html.premium-theme-rose-soft,
html.theme-rose-soft,
body.premium-theme-rose-soft,
body.theme-rose-soft,
body.bw-theme-rose-soft{
  --green:#ff9ac8 !important;
  --green-strong:#be185d !important;
  --green-soft:#ffd1e6 !important;
  --emerald:#ff9ac8 !important;
  --emerald-strong:#be185d !important;
  --emerald-soft:#ffd1e6 !important;
  --islamic-green:#ff9ac8 !important;
  --premium-green:#ff9ac8 !important;
  --accent-green:#ff9ac8 !important;
  --theme-green:#ff9ac8 !important;

  --bg:#1f0714 !important;
  --surface:#2a0a1b !important;
  --surface-2:#3a1026 !important;
  --surface-3:#511735 !important;
  --border:rgba(255,174,211,.38) !important;
  --text:#fff7fb !important;
  --text-soft:#ffd7e8 !important;

  --bw-premium-page:
    radial-gradient(circle at top center,rgba(255,120,190,.20),transparent 30%),
    linear-gradient(180deg,#1f0714 0%,#4a0d2a 52%,#16040e 100%) !important;

  --bw-premium-surface:
    radial-gradient(circle at 85% 0%,rgba(255,210,232,.10),transparent 28%),
    linear-gradient(145deg,#240817 0%,#3a1026 55%,#641b43 100%) !important;

  --bw-premium-surface-2:
    radial-gradient(circle at 90% 0%,rgba(255,210,232,.08),transparent 28%),
    linear-gradient(145deg,#1f0714 0%,#2a0a1b 55%,#3a1026 100%) !important;

  --bw-premium-button:
    linear-gradient(180deg,#f43f8f 0%,#be185d 55%,#831843 100%) !important;

  --bw-premium-glow:
    0 0 28px rgba(236,72,153,.36),
    0 0 78px rgba(190,24,93,.28) !important;

  --bw-premium-inner-glow:
    inset 0 0 48px rgba(255,174,211,.15) !important;

  --bw-pro-edge-glow:
    inset 0 0 40px rgba(255,174,211,.38),
    inset 0 0 92px rgba(236,72,153,.24),
    inset 0 0 155px rgba(190,24,93,.14) !important;
}

/* Page base */
html.premium-theme-rose-soft body:not(.page-themes-pro),
html.theme-rose-soft body:not(.page-themes-pro),
body.premium-theme-rose-soft:not(.page-themes-pro),
body.theme-rose-soft:not(.page-themes-pro),
body.bw-theme-rose-soft:not(.page-themes-pro){
  background:
    radial-gradient(circle at top center,rgba(255,120,190,.20),transparent 30%),
    linear-gradient(180deg,#1f0714 0%,#4a0d2a 52%,#16040e 100%) !important;
  color:#fff7fb !important;
}

/* Hard override for all visible structural surfaces */
html.premium-theme-rose-soft body:not(.page-themes-pro) :is(
  div,section,article,main,aside,header,footer,nav,form,fieldset,details,summary,ul,ol,li
):not(.leaflet-container):not(.leaflet-pane):not(.leaflet-layer):not(.leaflet-tile-container):not(.leaflet-marker-pane):not(.leaflet-shadow-pane):not(.leaflet-overlay-pane):not(.leaflet-control-container):not(.leaflet-control):not(.leaflet-popup):not(.leaflet-popup-content-wrapper):not(.leaflet-popup-tip),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(
  div,section,article,main,aside,header,footer,nav,form,fieldset,details,summary,ul,ol,li
):not(.leaflet-container):not(.leaflet-pane):not(.leaflet-layer):not(.leaflet-tile-container):not(.leaflet-marker-pane):not(.leaflet-shadow-pane):not(.leaflet-overlay-pane):not(.leaflet-control-container):not(.leaflet-control):not(.leaflet-popup):not(.leaflet-popup-content-wrapper):not(.leaflet-popup-tip),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(
  div,section,article,main,aside,header,footer,nav,form,fieldset,details,summary,ul,ol,li
):not(.leaflet-container):not(.leaflet-pane):not(.leaflet-layer):not(.leaflet-tile-container):not(.leaflet-marker-pane):not(.leaflet-shadow-pane):not(.leaflet-overlay-pane):not(.leaflet-control-container):not(.leaflet-control):not(.leaflet-popup):not(.leaflet-popup-content-wrapper):not(.leaflet-popup-tip){
  background:
    radial-gradient(circle at 88% 0%,rgba(255,210,232,.075),transparent 28%),
    linear-gradient(145deg,#240817 0%,#331023 55%,#491431 100%) !important;
  border-color:rgba(255,174,211,.34) !important;
  color:#fff7fb !important;
}

/* Main containers slightly deeper */
html.premium-theme-rose-soft body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.content),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.content),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.content){
  background:
    radial-gradient(circle at top center,rgba(255,174,211,.12),transparent 34%),
    linear-gradient(180deg,#240817 0%,#3a1026 52%,#1a0510 100%) !important;
}

/* Hero / prayer / support / dropdown / menu cards */
html.premium-theme-rose-soft body:not(.page-themes-pro) :is(
  [class*="hero"],[class*="Hero"],[class*="prayer"],[class*="Prayer"],[class*="namaz"],[class*="Namaz"],
  [class*="salah"],[class*="Salah"],[class*="support"],[class*="Support"],[class*="donat"],[class*="Donat"],
  [class*="sadaqa"],[class*="Sadaqa"],[class*="sadaka"],[class*="Sadaka"],[class*="dropdown"],[class*="Dropdown"],
  [class*="accordion"],[class*="Accordion"],[class*="menu"],[class*="Menu"],[class*="quick"],[class*="Quick"],
  [class*="card"],[class*="Card"],[class*="panel"],[class*="Panel"],[class*="box"],[class*="Box"],[class*="widget"],[class*="Widget"],
  [class*="row"],[class*="Row"],[class*="item"],[class*="Item"],[class*="block"],[class*="Block"]
),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(
  [class*="hero"],[class*="Hero"],[class*="prayer"],[class*="Prayer"],[class*="namaz"],[class*="Namaz"],
  [class*="salah"],[class*="Salah"],[class*="support"],[class*="Support"],[class*="donat"],[class*="Donat"],
  [class*="sadaqa"],[class*="Sadaqa"],[class*="sadaka"],[class*="Sadaka"],[class*="dropdown"],[class*="Dropdown"],
  [class*="accordion"],[class*="Accordion"],[class*="menu"],[class*="Menu"],[class*="quick"],[class*="Quick"],
  [class*="card"],[class*="Card"],[class*="panel"],[class*="Panel"],[class*="box"],[class*="Box"],[class*="widget"],[class*="Widget"],
  [class*="row"],[class*="Row"],[class*="item"],[class*="Item"],[class*="block"],[class*="Block"]
),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(
  [class*="hero"],[class*="Hero"],[class*="prayer"],[class*="Prayer"],[class*="namaz"],[class*="Namaz"],
  [class*="salah"],[class*="Salah"],[class*="support"],[class*="Support"],[class*="donat"],[class*="Donat"],
  [class*="sadaqa"],[class*="Sadaqa"],[class*="sadaka"],[class*="Sadaka"],[class*="dropdown"],[class*="Dropdown"],
  [class*="accordion"],[class*="Accordion"],[class*="menu"],[class*="Menu"],[class*="quick"],[class*="Quick"],
  [class*="card"],[class*="Card"],[class*="panel"],[class*="Panel"],[class*="box"],[class*="Box"],[class*="widget"],[class*="Widget"],
  [class*="row"],[class*="Row"],[class*="item"],[class*="Item"],[class*="block"],[class*="Block"]
){
  background:
    radial-gradient(circle at 85% 0%,rgba(255,210,232,.09),transparent 26%),
    linear-gradient(145deg,#2a0918 0%,#4a0d2a 55%,#69173f 100%) !important;
  border-color:rgba(255,174,211,.40) !important;
  color:#fff7fb !important;
  box-shadow:
    inset 0 0 24px rgba(255,174,211,.08),
    0 0 18px rgba(190,24,93,.12) !important;
}

/* Buttons / pills / badges / active nav */
html.premium-theme-rose-soft body:not(.page-themes-pro) :is(
  button,a.btn,.btn,.chip,.badge,.pill,.tag,.tab,.filter-btn,.progress-bar,
  [class*="btn"],[class*="Btn"],[class*="button"],[class*="Button"],[class*="badge"],[class*="Badge"],[class*="pill"],[class*="Pill"],
  [class*="active"],[class*="Active"]
):not(.theme-switch),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(
  button,a.btn,.btn,.chip,.badge,.pill,.tag,.tab,.filter-btn,.progress-bar,
  [class*="btn"],[class*="Btn"],[class*="button"],[class*="Button"],[class*="badge"],[class*="Badge"],[class*="pill"],[class*="Pill"],
  [class*="active"],[class*="Active"]
):not(.theme-switch),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(
  button,a.btn,.btn,.chip,.badge,.pill,.tag,.tab,.filter-btn,.progress-bar,
  [class*="btn"],[class*="Btn"],[class*="button"],[class*="Button"],[class*="badge"],[class*="Badge"],[class*="pill"],[class*="Pill"],
  [class*="active"],[class*="Active"]
):not(.theme-switch){
  background:
    linear-gradient(180deg,#ff4fa1 0%,#be185d 55%,#831843 100%) !important;
  border-color:rgba(255,190,222,.46) !important;
  color:#fff7fb !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 10px 22px rgba(190,24,93,.18) !important;
}

/* Inputs */
html.premium-theme-rose-soft body:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select){
  background:linear-gradient(145deg,#2a0a1b,#511735) !important;
  border-color:rgba(255,174,211,.42) !important;
  color:#fff7fb !important;
}

/* Logo and text accents */
html.premium-theme-rose-soft body:not(.page-themes-pro) :is(h1 span,.brand-accent,.accent,strong,a,.logo span),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(h1 span,.brand-accent,.accent,strong,a,.logo span),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(h1 span,.brand-accent,.accent,strong,a,.logo span){
  color:#ffb6d5 !important;
  text-shadow:0 0 18px rgba(236,72,153,.22) !important;
}

/* Bottom nav */
html.premium-theme-rose-soft body:not(.page-themes-pro) :is(.bottom-nav,.bottom-bar,.bottom-navigation,.nav-shell,.mobile-nav,[class*="bottom"],[class*="Bottom"]),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(.bottom-nav,.bottom-bar,.bottom-navigation,.nav-shell,.mobile-nav,[class*="bottom"],[class*="Bottom"]),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(.bottom-nav,.bottom-bar,.bottom-navigation,.nav-shell,.mobile-nav,[class*="bottom"],[class*="Bottom"]){
  background:linear-gradient(180deg,#5a1738 0%,#3a1026 100%) !important;
  border-color:rgba(255,185,225,.34) !important;
}

/* Glow switch */
html.premium-theme-rose-soft body:not(.page-themes-pro) input.theme-switch,
body.premium-theme-rose-soft:not(.page-themes-pro) input.theme-switch,
body.bw-theme-rose-soft:not(.page-themes-pro) input.theme-switch{
  background:linear-gradient(135deg,#f472b6,#be185d) !important;
  border-color:rgba(255,190,222,.46) !important;
}

html.bw-glow-off.premium-theme-rose-soft body:not(.page-themes-pro) input.theme-switch,
html.premium-theme-rose-soft body.bw-glow-off:not(.page-themes-pro) input.theme-switch,
body.bw-glow-off.premium-theme-rose-soft:not(.page-themes-pro) input.theme-switch,
body.bw-glow-off.bw-theme-rose-soft:not(.page-themes-pro) input.theme-switch{
  background:linear-gradient(135deg,#4a2434,#1f141b) !important;
  border-color:rgba(255,255,255,.14) !important;
}

/* Keep real media/map/compass artwork from being painted */
html.premium-theme-rose-soft body:not(.page-themes-pro) :is(img,canvas,video,iframe,.leaflet-container,.leaflet-container *,#map,#map *,[class*="map"],[class*="Map"],[class*="compass"],[class*="Compass"]){
  background:initial;
}

/* ===== ROSE SOFT V4 GLOW STATE FIX ===== */
/*
  Fixes Glow On / Glow Off consistency for rose-soft only.
  Glow On: edge light is visible on all pages.
  Glow Off: edge light is fully removed on all pages.
  Does not change JS logic or other themes.
*/

html.premium-theme-rose-soft:not(.bw-glow-off),
html.theme-rose-soft:not(.bw-glow-off),
body.premium-theme-rose-soft:not(.bw-glow-off),
body.theme-rose-soft:not(.bw-glow-off),
body.bw-theme-rose-soft:not(.bw-glow-off){
  --bw-pro-edge-glow:
    inset 0 0 40px rgba(255,174,211,.42),
    inset 0 0 92px rgba(236,72,153,.28),
    inset 0 0 155px rgba(190,24,93,.16) !important;

  --bw-premium-inner-glow:
    inset 0 0 48px rgba(255,174,211,.16) !important;

  --bw-premium-glow:
    0 0 28px rgba(236,72,153,.38),
    0 0 78px rgba(190,24,93,.30) !important;
}

/* Main edge glow targets when Glow On */
html.premium-theme-rose-soft:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main),
html.theme-rose-soft:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main),
body.premium-theme-rose-soft:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main),
body.theme-rose-soft:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main),
body.bw-theme-rose-soft:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main){
  box-shadow:var(--bw-pro-edge-glow) !important;
}

/* Also support projects/pages where glow is placed on a dedicated wrapper */
html.premium-theme-rose-soft:not(.bw-glow-off) body:not(.page-themes-pro) :is(.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.premium-theme-rose-soft:not(.bw-glow-off):not(.page-themes-pro) :is(.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.bw-theme-rose-soft:not(.bw-glow-off):not(.page-themes-pro) :is(.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame){
  box-shadow:var(--bw-pro-edge-glow) !important;
}

/* Glow Off must remove the large illumination everywhere */
html.bw-glow-off.premium-theme-rose-soft,
html.bw-glow-off.theme-rose-soft,
html.premium-theme-rose-soft body.bw-glow-off,
html.theme-rose-soft body.bw-glow-off,
body.bw-glow-off.premium-theme-rose-soft,
body.bw-glow-off.theme-rose-soft,
body.bw-glow-off.bw-theme-rose-soft{
  --bw-pro-edge-glow:none !important;
  --bw-premium-inner-glow:none !important;
  --bw-premium-glow:none !important;
}

html.bw-glow-off.premium-theme-rose-soft body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html.bw-glow-off.theme-rose-soft body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html.premium-theme-rose-soft body.bw-glow-off:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html.theme-rose-soft body.bw-glow-off:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.bw-glow-off.premium-theme-rose-soft:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.bw-glow-off.bw-theme-rose-soft:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame){
  box-shadow:none !important;
}

/* Do not let old hard-pink layer create glow-like shadows when Glow Off */
html.bw-glow-off.premium-theme-rose-soft body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main) *,
html.premium-theme-rose-soft body.bw-glow-off:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main) *,
body.bw-glow-off.premium-theme-rose-soft:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main) *,
body.bw-glow-off.bw-theme-rose-soft:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main) *{
  box-shadow:inset 0 0 18px rgba(255,174,211,.04) !important;
}

/* Keep the Glow switch visual state itself */
html.premium-theme-rose-soft:not(.bw-glow-off) body:not(.page-themes-pro) input.theme-switch,
body.premium-theme-rose-soft:not(.bw-glow-off):not(.page-themes-pro) input.theme-switch,
body.bw-theme-rose-soft:not(.bw-glow-off):not(.page-themes-pro) input.theme-switch{
  background:linear-gradient(135deg,#f472b6,#be185d) !important;
  border-color:rgba(255,190,222,.46) !important;
}

html.bw-glow-off.premium-theme-rose-soft body:not(.page-themes-pro) input.theme-switch,
html.premium-theme-rose-soft body.bw-glow-off:not(.page-themes-pro) input.theme-switch,
body.bw-glow-off.premium-theme-rose-soft:not(.page-themes-pro) input.theme-switch,
body.bw-glow-off.bw-theme-rose-soft:not(.page-themes-pro) input.theme-switch{
  background:linear-gradient(135deg,#4a2434,#1f141b) !important;
  border-color:rgba(255,255,255,.14) !important;
}

/* ===== BARAKAWAY PRO GLOW ON/OFF FINAL THEME-COLOR FIX ===== */
/* All PRO themes. Glow color follows active theme. No white fallback. */

html.premium-theme-emerald-quran,body.premium-theme-emerald-quran,body.bw-theme-emerald-quran{
  --bw-pro-edge-glow:inset 0 0 40px rgba(110,231,183,.42),inset 0 0 92px rgba(110,231,183,.26),inset 0 0 155px rgba(45,122,70,.16) !important;
}
html.premium-theme-violet-noor,body.premium-theme-violet-noor,body.bw-theme-violet-noor{
  --bw-pro-edge-glow:inset 0 0 40px rgba(216,180,254,.40),inset 0 0 92px rgba(168,85,247,.25),inset 0 0 155px rgba(126,34,206,.15) !important;
}
html.premium-theme-rose-soft,body.premium-theme-rose-soft,body.bw-theme-rose-soft{
  --bw-pro-edge-glow:inset 0 0 40px rgba(255,174,211,.40),inset 0 0 92px rgba(236,72,153,.25),inset 0 0 155px rgba(190,24,93,.15) !important;
}
html.premium-theme-royal-gold,body.premium-theme-royal-gold,body.bw-theme-royal-gold{
  --bw-pro-edge-glow:inset 0 0 40px rgba(245,209,112,.40),inset 0 0 92px rgba(215,192,122,.25),inset 0 0 155px rgba(175,132,48,.15) !important;
}
html.premium-theme-carbon-elite,body.premium-theme-carbon-elite,body.bw-theme-carbon-elite{
  --bw-pro-edge-glow:inset 0 0 40px rgba(180,190,205,.30),inset 0 0 92px rgba(120,135,155,.20),inset 0 0 155px rgba(70,82,100,.13) !important;
}
html.premium-theme-night-mosque,body.premium-theme-night-mosque,body.bw-theme-night-mosque{
  --bw-pro-edge-glow:inset 0 0 40px rgba(125,211,252,.38),inset 0 0 92px rgba(56,189,248,.24),inset 0 0 155px rgba(37,99,235,.15) !important;
}
html.premium-theme-desert-sand,body.premium-theme-desert-sand,body.bw-theme-desert-sand{
  --bw-pro-edge-glow:inset 0 0 40px rgba(251,191,36,.36),inset 0 0 92px rgba(217,119,6,.22),inset 0 0 155px rgba(146,64,14,.14) !important;
}
html.premium-theme-children-soft,body.premium-theme-children-soft,body.bw-theme-children-soft{
  --bw-pro-edge-glow:inset 0 0 40px rgba(147,197,253,.34),inset 0 0 92px rgba(244,114,182,.20),inset 0 0 155px rgba(129,140,248,.14) !important;
}

/* Glow On */
html[class*="premium-theme-"]:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body[class*="premium-theme-"]:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body[class*="bw-theme-"]:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame){
  box-shadow:var(--bw-pro-edge-glow) !important;
}

/* Glow Off */
html.bw-glow-off[class*="premium-theme-"] body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html[class*="premium-theme-"] body.bw-glow-off:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.bw-glow-off[class*="premium-theme-"]:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.bw-glow-off[class*="bw-theme-"]:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame){
  box-shadow:none !important;
}

html.bw-glow-off[class*="premium-theme-"],
html[class*="premium-theme-"] body.bw-glow-off,
body.bw-glow-off[class*="premium-theme-"],
body.bw-glow-off[class*="bw-theme-"]{
  --bw-pro-edge-glow:none !important;
}

/* ===== CARBON ELITE FINAL GLOBAL CARBON OVERRIDE ===== */
/*
  Final layer for carbon-elite only.
  Matches Emerald/Violet/Rose premium-theme logic:
  variables, page, surfaces, cards, controls, bottom nav and glow follow the carbon palette.
*/

html.premium-theme-carbon-elite,
html.theme-carbon-elite,
body.premium-theme-carbon-elite,
body.theme-carbon-elite,
body.bw-theme-carbon-elite{
  --bg:#05070a !important;
  --surface:#10151b !important;
  --surface-2:#151c24 !important;
  --surface-3:#202934 !important;
  --border:rgba(197,208,224,.30) !important;
  --border-2:rgba(220,228,238,.42) !important;
  --text:#f7fbff !important;
  --text-soft:#d8e1ec !important;
  --text-muted:#9caabd !important;
  --green:#c8d3e2 !important;
  --green-strong:#657386 !important;
  --green-soft:#eef4fb !important;
  --bw-premium-text:#f7fbff !important;
  --bw-premium-text-soft:#d8e1ec !important;
  --bw-premium-muted:#9caabd !important;
  --bw-premium-border:rgba(197,208,224,.42) !important;
  --bw-premium-border-strong:rgba(236,242,249,.70) !important;
  --bw-premium-page:radial-gradient(circle at 50% -10%,rgba(197,208,224,.18),transparent 32%),linear-gradient(180deg,#05070a 0%,#151c24 48%,#030405 100%) !important;
  --bw-premium-surface:radial-gradient(circle at 88% 0%,rgba(236,242,249,.07),transparent 28%),linear-gradient(145deg,#0b0f14 0%,#151c24 55%,#202934 100%) !important;
  --bw-premium-surface-2:radial-gradient(circle at 90% 0%,rgba(236,242,249,.05),transparent 28%),linear-gradient(145deg,#070a0e 0%,#10151b 55%,#151c24 100%) !important;
  --bw-premium-button:linear-gradient(180deg,#4b5563 0%,#111827 100%) !important;
  --bw-premium-button-text:#f7fbff !important;
  --bw-premium-glow:0 0 26px rgba(197,208,224,.28),0 0 74px rgba(101,115,134,.22) !important;
  --bw-premium-inner-glow:inset 0 0 46px rgba(236,242,249,.10) !important;
  --bw-pro-edge-glow:inset 0 0 38px rgba(197,208,224,.34),inset 0 0 88px rgba(101,115,134,.22),inset 0 0 150px rgba(17,24,39,.18) !important;
}

html.premium-theme-carbon-elite body:not(.page-themes-pro),
html.theme-carbon-elite body:not(.page-themes-pro),
body.premium-theme-carbon-elite:not(.page-themes-pro),
body.theme-carbon-elite:not(.page-themes-pro),
body.bw-theme-carbon-elite:not(.page-themes-pro){
  background:radial-gradient(circle at 50% -10%,rgba(197,208,224,.18),transparent 32%),linear-gradient(180deg,#05070a 0%,#151c24 48%,#030405 100%) !important;
  color:#f7fbff !important;
}

html.premium-theme-carbon-elite body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.premium-theme-carbon-elite:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.bw-theme-carbon-elite:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article){
  background:radial-gradient(circle at top center,rgba(236,242,249,.08),transparent 32%),linear-gradient(180deg,#070a0e 0%,#151c24 52%,#030405 100%) !important;
  border-color:rgba(197,208,224,.36) !important;
  color:#f7fbff !important;
}

html.premium-theme-carbon-elite body:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.dropdown-block,.dropdown-content,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.wallet-box,.wallet-support,.wallet-address,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.month-day,.month-head,.prayer-card,.toggle-row,.alarm-row,.reminder-row,.tahajjud-row,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn,.mobile-dropdown,.donation-dropdown,.donation-dropdown-content,.mobile-dropdown-content),
body.premium-theme-carbon-elite:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.dropdown-block,.dropdown-content,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.wallet-box,.wallet-support,.wallet-address,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.month-day,.month-head,.prayer-card,.toggle-row,.alarm-row,.reminder-row,.tahajjud-row,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn,.mobile-dropdown,.donation-dropdown,.donation-dropdown-content,.mobile-dropdown-content),
body.bw-theme-carbon-elite:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.dropdown-block,.dropdown-content,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.wallet-box,.wallet-support,.wallet-address,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.month-day,.month-head,.prayer-card,.toggle-row,.alarm-row,.reminder-row,.tahajjud-row,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn,.mobile-dropdown,.donation-dropdown,.donation-dropdown-content,.mobile-dropdown-content){
  background:radial-gradient(circle at 86% 0%,rgba(236,242,249,.06),transparent 26%),linear-gradient(145deg,#0b0f14 0%,#151c24 55%,#202934 100%) !important;
  border-color:rgba(197,208,224,.34) !important;
  color:#f7fbff !important;
  box-shadow:inset 0 0 22px rgba(236,242,249,.05),0 0 16px rgba(101,115,134,.08) !important;
}

html.premium-theme-carbon-elite body:not(.page-themes-pro) :is(.daily-card,.challenge-card,.task-card,.today-card,.action-card,.share-action,.help-option-btn,.quick-btn),
body.premium-theme-carbon-elite:not(.page-themes-pro) :is(.daily-card,.challenge-card,.task-card,.today-card,.action-card,.share-action,.help-option-btn,.quick-btn),
body.bw-theme-carbon-elite:not(.page-themes-pro) :is(.daily-card,.challenge-card,.task-card,.today-card,.action-card,.share-action,.help-option-btn,.quick-btn){
  background:radial-gradient(circle at 90% 0%,rgba(255,255,255,.08),transparent 28%),linear-gradient(145deg,#202934 0%,#364250 56%,#566274 100%) !important;
  border-color:rgba(220,228,238,.44) !important;
  color:#f7fbff !important;
}

html.premium-theme-carbon-elite body:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.premium-theme-carbon-elite:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.bw-theme-carbon-elite:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number){
  background:linear-gradient(145deg,#080b0f,#151c24) !important;
  border-color:rgba(197,208,224,.38) !important;
  color:#f7fbff !important;
  box-shadow:inset 0 0 14px rgba(236,242,249,.05) !important;
}

html.premium-theme-carbon-elite body:not(.page-themes-pro) :is(button:not(.theme-switch),a.btn,.btn,.chip,.badge,.pill,.tag,.filter-btn,.tab,.tabs button,.wallet-badge,.install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,.play-btn,.reset-btn,.qibla-reset,.donation-dropdown summary,.mobile-dropdown-title,.progress-bar),
body.premium-theme-carbon-elite:not(.page-themes-pro) :is(button:not(.theme-switch),a.btn,.btn,.chip,.badge,.pill,.tag,.filter-btn,.tab,.tabs button,.wallet-badge,.install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,.play-btn,.reset-btn,.qibla-reset,.donation-dropdown summary,.mobile-dropdown-title,.progress-bar),
body.bw-theme-carbon-elite:not(.page-themes-pro) :is(button:not(.theme-switch),a.btn,.btn,.chip,.badge,.pill,.tag,.filter-btn,.tab,.tabs button,.wallet-badge,.install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,.play-btn,.reset-btn,.qibla-reset,.donation-dropdown summary,.mobile-dropdown-title,.progress-bar){
  background:linear-gradient(180deg,#4b5563 0%,#1f2937 55%,#111827 100%) !important;
  border-color:rgba(220,228,238,.44) !important;
  color:#f7fbff !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 10px 22px rgba(17,24,39,.22) !important;
}

html.premium-theme-carbon-elite body:not(.page-themes-pro) :is(h1,h2,h3,h4,h5,h6,.title,.category-title,.section h2,.brand-accent,.accent,strong,a,.logo span),
body.premium-theme-carbon-elite:not(.page-themes-pro) :is(h1,h2,h3,h4,h5,h6,.title,.category-title,.section h2,.brand-accent,.accent,strong,a,.logo span),
body.bw-theme-carbon-elite:not(.page-themes-pro) :is(h1,h2,h3,h4,h5,h6,.title,.category-title,.section h2,.brand-accent,.accent,strong,a,.logo span){
  color:#eef4fb !important;
  text-shadow:0 0 18px rgba(197,208,224,.18) !important;
}

html.premium-theme-carbon-elite body:not(.page-themes-pro) :is(p,span,li,label,small,.small,.manual-note,.status,.subtitle,.tagline,.note,.category-intro,.ref,.translit,.meaning,.when,.muted,.prayer-meta,.countdown-note,.wallet-note,.month-fajr,.month-maghrib,.surah-meta),
body.premium-theme-carbon-elite:not(.page-themes-pro) :is(p,span,li,label,small,.small,.manual-note,.status,.subtitle,.tagline,.note,.category-intro,.ref,.translit,.meaning,.when,.muted,.prayer-meta,.countdown-note,.wallet-note,.month-fajr,.month-maghrib,.surah-meta),
body.bw-theme-carbon-elite:not(.page-themes-pro) :is(p,span,li,label,small,.small,.manual-note,.status,.subtitle,.tagline,.note,.category-intro,.ref,.translit,.meaning,.when,.muted,.prayer-meta,.countdown-note,.wallet-note,.month-fajr,.month-maghrib,.surah-meta){
  color:#d8e1ec !important;
}

html.premium-theme-carbon-elite body:not(.page-themes-pro) :is(.bottom-nav,.bottom-bar,.bottom-navigation,.bottom-app-nav,.bottom-app-nav-inner,.nav-shell,.mobile-nav,[class*="bottom"],[class*="Bottom"]),
body.premium-theme-carbon-elite:not(.page-themes-pro) :is(.bottom-nav,.bottom-bar,.bottom-navigation,.bottom-app-nav,.bottom-app-nav-inner,.nav-shell,.mobile-nav,[class*="bottom"],[class*="Bottom"]),
body.bw-theme-carbon-elite:not(.page-themes-pro) :is(.bottom-nav,.bottom-bar,.bottom-navigation,.bottom-app-nav,.bottom-app-nav-inner,.nav-shell,.mobile-nav,[class*="bottom"],[class*="Bottom"]){
  background:linear-gradient(180deg,#151c24 0%,#05070a 100%) !important;
  border-color:rgba(197,208,224,.34) !important;
}

html.premium-theme-carbon-elite:not(.bw-glow-off),
html.theme-carbon-elite:not(.bw-glow-off),
body.premium-theme-carbon-elite:not(.bw-glow-off),
body.theme-carbon-elite:not(.bw-glow-off),
body.bw-theme-carbon-elite:not(.bw-glow-off){
  --bw-pro-edge-glow:inset 0 0 40px rgba(197,208,224,.38),inset 0 0 92px rgba(101,115,134,.26),inset 0 0 155px rgba(17,24,39,.18) !important;
  --bw-premium-inner-glow:inset 0 0 48px rgba(236,242,249,.12) !important;
  --bw-premium-glow:0 0 28px rgba(197,208,224,.30),0 0 78px rgba(101,115,134,.24) !important;
}

html.premium-theme-carbon-elite:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html.theme-carbon-elite:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.premium-theme-carbon-elite:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.theme-carbon-elite:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.bw-theme-carbon-elite:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame){
  box-shadow:var(--bw-pro-edge-glow) !important;
}

html.bw-glow-off.premium-theme-carbon-elite,
html.bw-glow-off.theme-carbon-elite,
html.premium-theme-carbon-elite body.bw-glow-off,
html.theme-carbon-elite body.bw-glow-off,
body.bw-glow-off.premium-theme-carbon-elite,
body.bw-glow-off.theme-carbon-elite,
body.bw-glow-off.bw-theme-carbon-elite{
  --bw-pro-edge-glow:none !important;
  --bw-premium-inner-glow:none !important;
  --bw-premium-glow:none !important;
}

html.bw-glow-off.premium-theme-carbon-elite body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html.bw-glow-off.theme-carbon-elite body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html.premium-theme-carbon-elite body.bw-glow-off:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html.theme-carbon-elite body.bw-glow-off:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.bw-glow-off.premium-theme-carbon-elite:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.bw-glow-off.bw-theme-carbon-elite:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame){
  box-shadow:none !important;
}

html.premium-theme-carbon-elite:not(.bw-glow-off) body:not(.page-themes-pro) input.theme-switch,
body.premium-theme-carbon-elite:not(.bw-glow-off):not(.page-themes-pro) input.theme-switch,
body.bw-theme-carbon-elite:not(.bw-glow-off):not(.page-themes-pro) input.theme-switch{
  background:linear-gradient(135deg,#d8e1ec,#657386) !important;
  border-color:rgba(220,228,238,.46) !important;
}

html.bw-glow-off.premium-theme-carbon-elite body:not(.page-themes-pro) input.theme-switch,
html.premium-theme-carbon-elite body.bw-glow-off:not(.page-themes-pro) input.theme-switch,
body.bw-glow-off.premium-theme-carbon-elite:not(.page-themes-pro) input.theme-switch,
body.bw-glow-off.bw-theme-carbon-elite:not(.page-themes-pro) input.theme-switch{
  background:linear-gradient(135deg,#202934,#05070a) !important;
  border-color:rgba(255,255,255,.14) !important;
}

html.premium-theme-carbon-elite body:not(.page-themes-pro) :is(img,canvas,video,iframe,.leaflet-container,.leaflet-container *,#map,#map *,[class*="map"],[class*="Map"],[class*="compass"],[class*="Compass"]){
  background:initial;
}

/* ===== VIOLET NOOR + CARBON ELITE — ACTION HOVER/ACTIVE GLOW ===== */
/* Desktop hover + mobile press/focus. Scoped only to carbon-elite and violet-noor. */
html.premium-theme-carbon-elite,html.theme-carbon-elite,body.premium-theme-carbon-elite,body.theme-carbon-elite,body.bw-theme-carbon-elite{
  --bw-theme-action-border:#d8e1ec !important;
  --bw-theme-action-border-soft:rgba(216,225,236,.30) !important;
  --bw-theme-action-glow:rgba(216,225,236,.48) !important;
  --bw-theme-action-glow-deep:rgba(101,115,134,.30) !important;
}
html.premium-theme-violet-noor,html.theme-violet-noor,body.premium-theme-violet-noor,body.theme-violet-noor,body.bw-theme-violet-noor{
  --bw-theme-action-border:#e9d5ff !important;
  --bw-theme-action-border-soft:rgba(233,213,255,.34) !important;
  --bw-theme-action-glow:rgba(168,85,247,.54) !important;
  --bw-theme-action-glow-deep:rgba(126,34,206,.34) !important;
}

html:is(.premium-theme-carbon-elite,.theme-carbon-elite,.premium-theme-violet-noor,.theme-violet-noor) body:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,.btn,.app-menu-btn,.quick-btn,.action-btn,.toolbar-btn,.menu-action-btn,.feature-btn,.tools-btn,.filter-btn,.category-btn,.quran-action,.surah-action,.share-btn,.install-btn,.copy-wallet-btn,.share-wallet-btn,.play-btn,.reset-btn,.qibla-reset,.help-option-btn,.round-share-btn,.donation-dropdown summary,.mobile-dropdown-title
),
body:is(.premium-theme-carbon-elite,.theme-carbon-elite,.bw-theme-carbon-elite,.premium-theme-violet-noor,.theme-violet-noor,.bw-theme-violet-noor):not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,.btn,.app-menu-btn,.quick-btn,.action-btn,.toolbar-btn,.menu-action-btn,.feature-btn,.tools-btn,.filter-btn,.category-btn,.quran-action,.surah-action,.share-btn,.install-btn,.copy-wallet-btn,.share-wallet-btn,.play-btn,.reset-btn,.qibla-reset,.help-option-btn,.round-share-btn,.donation-dropdown summary,.mobile-dropdown-title
){
  transition:border-color .22s ease, box-shadow .22s ease, transform .18s ease, filter .22s ease !important;
}

html:is(.premium-theme-carbon-elite,.theme-carbon-elite,.premium-theme-violet-noor,.theme-violet-noor):not(.bw-glow-off) body:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,.btn,.app-menu-btn,.quick-btn,.action-btn,.toolbar-btn,.menu-action-btn,.feature-btn,.tools-btn,.filter-btn,.category-btn,.quran-action,.surah-action,.share-btn,.install-btn,.copy-wallet-btn,.share-wallet-btn,.play-btn,.reset-btn,.qibla-reset,.help-option-btn,.round-share-btn,.donation-dropdown summary,.mobile-dropdown-title
):is(:hover,:focus-visible,:active,.active,.is-active,.selected,.is-selected,[aria-pressed="true"],[data-active="true"],[data-selected="true"]),
body:is(.premium-theme-carbon-elite,.theme-carbon-elite,.bw-theme-carbon-elite,.premium-theme-violet-noor,.theme-violet-noor,.bw-theme-violet-noor):not(.bw-glow-off):not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,.btn,.app-menu-btn,.quick-btn,.action-btn,.toolbar-btn,.menu-action-btn,.feature-btn,.tools-btn,.filter-btn,.category-btn,.quran-action,.surah-action,.share-btn,.install-btn,.copy-wallet-btn,.share-wallet-btn,.play-btn,.reset-btn,.qibla-reset,.help-option-btn,.round-share-btn,.donation-dropdown summary,.mobile-dropdown-title
):is(:hover,:focus-visible,:active,.active,.is-active,.selected,.is-selected,[aria-pressed="true"],[data-active="true"],[data-selected="true"]){
  border-color:var(--bw-theme-action-border) !important;
  box-shadow:
    0 0 0 2px var(--bw-theme-action-border-soft),
    0 0 24px var(--bw-theme-action-glow),
    0 0 48px var(--bw-theme-action-glow-deep),
    0 14px 34px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.28) !important;
  transform:translateY(-1px) !important;
  filter:saturate(1.06) brightness(1.04) !important;
}

html:is(.premium-theme-carbon-elite,.theme-carbon-elite,.premium-theme-violet-noor,.theme-violet-noor) body:not(.page-themes-pro) :is(.bottom-app-nav,.bottom-app-nav *) :is(:hover,:focus-visible,:active),
body:is(.premium-theme-carbon-elite,.theme-carbon-elite,.bw-theme-carbon-elite,.premium-theme-violet-noor,.theme-violet-noor,.bw-theme-violet-noor):not(.page-themes-pro) :is(.bottom-app-nav,.bottom-app-nav *) :is(:hover,:focus-visible,:active){
  box-shadow:none !important;
  filter:none !important;
}
/* ===== VIOLET NOOR BUTTON HOVER/PRESS GLOW — FINAL EMERALD/CARBON PARITY ===== */
/* Scope: violet-noor only. Purpose: make real buttons/CTA links glow purple on hover, focus and mobile press. */
html.premium-theme-violet-noor body:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
),
html.theme-violet-noor body:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
){
  transition:border-color .22s ease,box-shadow .22s ease,transform .18s ease,filter .22s ease !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
):is(:hover,:focus-visible,:active,.active,.is-active,.selected,.is-selected,[aria-pressed="true"],[data-active="true"],[data-selected="true"]),
html.theme-violet-noor body:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
):is(:hover,:focus-visible,:active,.active,.is-active,.selected,.is-selected,[aria-pressed="true"],[data-active="true"],[data-selected="true"]),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
):is(:hover,:focus-visible,:active,.active,.is-active,.selected,.is-selected,[aria-pressed="true"],[data-active="true"],[data-selected="true"]),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
):is(:hover,:focus-visible,:active,.active,.is-active,.selected,.is-selected,[aria-pressed="true"],[data-active="true"],[data-selected="true"]){
  border-color:#e9d5ff !important;
  box-shadow:
    0 0 0 2px rgba(233,213,255,.30),
    0 0 24px rgba(168,85,247,.58),
    0 0 52px rgba(126,34,206,.38),
    0 14px 34px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.30) !important;
  transform:translateY(-1px) !important;
  filter:saturate(1.08) brightness(1.05) !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) .bottom-app-nav :is(*,:hover,:focus-visible,:active),
html.theme-violet-noor body:not(.page-themes-pro) .bottom-app-nav :is(*,:hover,:focus-visible,:active),
body.premium-theme-violet-noor:not(.page-themes-pro) .bottom-app-nav :is(*,:hover,:focus-visible,:active),
body.bw-theme-violet-noor:not(.page-themes-pro) .bottom-app-nav :is(*,:hover,:focus-visible,:active){
  box-shadow:none !important;
  filter:none !important;
}

/* ===== ROSE SOFT BUTTON HOVER/PRESS GLOW — FINAL EMERALD/CARBON PARITY ===== */
/* Scope: rose-soft only. Purpose: make real buttons/CTA links glow pink on hover, focus and mobile press. */
html.premium-theme-rose-soft body:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
),
html.theme-rose-soft body:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
){
  transition:border-color .22s ease,box-shadow .22s ease,transform .18s ease,filter .22s ease !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
):is(:hover,:focus-visible,:active,.active,.is-active,.selected,.is-selected,[aria-pressed="true"],[data-active="true"],[data-selected="true"]),
html.theme-rose-soft body:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
):is(:hover,:focus-visible,:active,.active,.is-active,.selected,.is-selected,[aria-pressed="true"],[data-active="true"],[data-selected="true"]),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
):is(:hover,:focus-visible,:active,.active,.is-active,.selected,.is-selected,[aria-pressed="true"],[data-active="true"],[data-selected="true"]),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(
  button:not(.bottom-app-nav-item):not(.theme-switch):not(.theme-toggle):not(.language-option):not(.language-btn):not(.lang-btn),
  a.btn,
  .btn,
  .support-project-btn,
  .project-action-btn,
  .about-project-actions > *,
  .hero-actions > *,
  .page-actions > *,
  .support-actions > *,
  .project-actions > *,
  .action-btn,
  .action-button,
  .action-link,
  .favorite-btn,
  .favourite-btn,
  .fav-btn,
  .share-btn,
  .round-share-btn,
  .install-btn,
  .copy-wallet-btn,
  .share-wallet-btn,
  .quick-btn,
  .toolbar-btn,
  .menu-action-btn,
  .feature-btn,
  .tools-btn,
  .filter-btn,
  .category-btn,
  .quran-action,
  .surah-action,
  .play-btn,
  .reset-btn,
  .qibla-reset,
  .help-option-btn,
  .donation-dropdown summary,
  .mobile-dropdown-title,
  [role="button"]
):is(:hover,:focus-visible,:active,.active,.is-active,.selected,.is-selected,[aria-pressed="true"],[data-active="true"],[data-selected="true"]){
  border-color:#ffd2e8 !important;
  box-shadow:
    0 0 0 2px rgba(255,210,232,.30),
    0 0 24px rgba(236,72,153,.58),
    0 0 52px rgba(190,24,93,.38),
    0 14px 34px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.30) !important;
  transform:translateY(-1px) !important;
  filter:saturate(1.08) brightness(1.05) !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) .bottom-app-nav :is(*,:hover,:focus-visible,:active),
html.theme-rose-soft body:not(.page-themes-pro) .bottom-app-nav :is(*,:hover,:focus-visible,:active),
body.premium-theme-rose-soft:not(.page-themes-pro) .bottom-app-nav :is(*,:hover,:focus-visible,:active),
body.bw-theme-rose-soft:not(.page-themes-pro) .bottom-app-nav :is(*,:hover,:focus-visible,:active){
  box-shadow:none !important;
  filter:none !important;
}

/* ===== PREMIUM THEME BOTTOM NAV COLOR SYNC ===== */
/*
  Bottom navigation must follow the active PRO theme immediately.
  Scoped only to bottom-app-nav / bottom-nav, including themes-pro page.
*/

html[class*="premium-theme-"] :is(.bottom-app-nav,.bottom-nav),
body[class*="premium-theme-"] :is(.bottom-app-nav,.bottom-nav),
body[class*="bw-theme-"] :is(.bottom-app-nav,.bottom-nav){
  background:var(--bw-premium-page, var(--bw-premium-surface, var(--surface, #101820))) !important;
  border-top:1px solid var(--bw-premium-border, var(--border, rgba(255,255,255,.16))) !important;
  box-shadow:
    0 -18px 44px rgba(0,0,0,.36),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
}

html[class*="premium-theme-"] :is(.bottom-app-nav-inner),
body[class*="premium-theme-"] :is(.bottom-app-nav-inner),
body[class*="bw-theme-"] :is(.bottom-app-nav-inner){
  background:var(--bw-premium-surface, var(--surface, #101820)) !important;
  border:1px solid var(--bw-premium-border, var(--border, rgba(255,255,255,.16))) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 12px 30px rgba(0,0,0,.22) !important;
}

html[class*="premium-theme-"] :is(.bottom-app-nav-item,.bottom-nav a,.bottom-nav button),
body[class*="premium-theme-"] :is(.bottom-app-nav-item,.bottom-nav a,.bottom-nav button),
body[class*="bw-theme-"] :is(.bottom-app-nav-item,.bottom-nav a,.bottom-nav button){
  color:var(--bw-premium-text-soft, var(--text-soft, #dbeafe)) !important;
  -webkit-text-fill-color:var(--bw-premium-text-soft, var(--text-soft, #dbeafe)) !important;
  text-shadow:none !important;
}

html[class*="premium-theme-"] :is(.bottom-app-nav-item svg,.bottom-nav svg),
body[class*="premium-theme-"] :is(.bottom-app-nav-item svg,.bottom-nav svg),
body[class*="bw-theme-"] :is(.bottom-app-nav-item svg,.bottom-nav svg){
  color:inherit !important;
  stroke:currentColor !important;
  fill:none !important;
}

html[class*="premium-theme-"] :is(.bottom-app-nav-item.active,.bottom-nav a.active,.bottom-nav button.active),
body[class*="premium-theme-"] :is(.bottom-app-nav-item.active,.bottom-nav a.active,.bottom-nav button.active),
body[class*="bw-theme-"] :is(.bottom-app-nav-item.active,.bottom-nav a.active,.bottom-nav button.active){
  background:var(--bw-premium-button, var(--surface-3, #2563eb)) !important;
  border-color:var(--bw-premium-border-strong, var(--bw-premium-border, rgba(255,255,255,.24))) !important;
  color:var(--bw-premium-button-text, var(--bw-premium-text, #ffffff)) !important;
  -webkit-text-fill-color:var(--bw-premium-button-text, var(--bw-premium-text, #ffffff)) !important;
  box-shadow:
    0 12px 28px rgba(0,0,0,.24),
    0 0 0 1px color-mix(in srgb, var(--bw-premium-border-strong, rgba(255,255,255,.24)) 55%, transparent),
    inset 0 1px 0 rgba(255,255,255,.14) !important;
}

html[class*="premium-theme-"] :is(.bottom-app-nav-item:hover,.bottom-app-nav-item:focus-visible,.bottom-nav a:hover,.bottom-nav button:hover),
body[class*="premium-theme-"] :is(.bottom-app-nav-item:hover,.bottom-app-nav-item:focus-visible,.bottom-nav a:hover,.bottom-nav button:hover),
body[class*="bw-theme-"] :is(.bottom-app-nav-item:hover,.bottom-app-nav-item:focus-visible,.bottom-nav a:hover,.bottom-nav button:hover){
  border-color:var(--bw-premium-border-strong, var(--bw-premium-border, rgba(255,255,255,.24))) !important;
}

html[class*="premium-theme-"].bw-glow-off :is(.bottom-app-nav,.bottom-app-nav-inner,.bottom-app-nav-item,.bottom-nav,.bottom-nav a,.bottom-nav button),
html[class*="premium-theme-"] body.bw-glow-off :is(.bottom-app-nav,.bottom-app-nav-inner,.bottom-app-nav-item,.bottom-nav,.bottom-nav a,.bottom-nav button),
body[class*="premium-theme-"].bw-glow-off :is(.bottom-app-nav,.bottom-app-nav-inner,.bottom-app-nav-item,.bottom-nav,.bottom-nav a,.bottom-nav button),
body[class*="bw-theme-"].bw-glow-off :is(.bottom-app-nav,.bottom-app-nav-inner,.bottom-app-nav-item,.bottom-nav,.bottom-nav a,.bottom-nav button){
  box-shadow:none !important;
}

/* Exact flat blue bottom navigation for Night Mosque */
html.premium-theme-night-mosque,
html.theme-night-mosque,
body.premium-theme-night-mosque,
body.theme-night-mosque,
body.bw-theme-night-mosque{
  --bw-premium-page:#050b1f !important;
  --bw-premium-surface:#071331 !important;
  --bw-premium-surface-2:#0a1d46 !important;
  --bw-premium-button:linear-gradient(180deg,#2563eb 0%,#102a66 100%) !important;
  --bw-premium-button-text:#f3f8ff !important;
  --bw-premium-text:#f3f8ff !important;
  --bw-premium-text-soft:#dbeafe !important;
  --bw-premium-muted:#93c5fd !important;
  --bw-premium-border:rgba(96,165,250,.34) !important;
  --bw-premium-border-strong:rgba(191,219,254,.72) !important;
}

html.premium-theme-night-mosque :is(.bottom-app-nav,.bottom-nav),
html.theme-night-mosque :is(.bottom-app-nav,.bottom-nav),
body.premium-theme-night-mosque :is(.bottom-app-nav,.bottom-nav),
body.theme-night-mosque :is(.bottom-app-nav,.bottom-nav),
body.bw-theme-night-mosque :is(.bottom-app-nav,.bottom-nav){
  background:#050b1f !important;
  border-top-color:rgba(96,165,250,.30) !important;
}

html.premium-theme-night-mosque :is(.bottom-app-nav-inner),
html.theme-night-mosque :is(.bottom-app-nav-inner),
body.premium-theme-night-mosque :is(.bottom-app-nav-inner),
body.theme-night-mosque :is(.bottom-app-nav-inner),
body.bw-theme-night-mosque :is(.bottom-app-nav-inner){
  background:#071331 !important;
  border-color:rgba(96,165,250,.34) !important;
}

html.premium-theme-night-mosque :is(.bottom-app-nav-item.active,.bottom-nav a.active,.bottom-nav button.active),
html.theme-night-mosque :is(.bottom-app-nav-item.active,.bottom-nav a.active,.bottom-nav button.active),
body.premium-theme-night-mosque :is(.bottom-app-nav-item.active,.bottom-nav a.active,.bottom-nav button.active),
body.theme-night-mosque :is(.bottom-app-nav-item.active,.bottom-nav a.active,.bottom-nav button.active),
body.bw-theme-night-mosque :is(.bottom-app-nav-item.active,.bottom-nav a.active,.bottom-nav button.active){
  background:linear-gradient(180deg,#2563eb 0%,#102a66 100%) !important;
  border-color:rgba(191,219,254,.72) !important;
  color:#f3f8ff !important;
  -webkit-text-fill-color:#f3f8ff !important;
}

/* ===== BARAKAWAY PRO NEON EDGE GLOW ===== */
/*
  Glow On/Off inner edge glow.
  Uses each PRO theme color as a bright neon halo.
  Scoped outside themes-pro page.
*/

html.premium-theme-emerald-quran,
html.theme-emerald-quran,
body.premium-theme-emerald-quran,
body.theme-emerald-quran,
body.bw-theme-emerald-quran{
  --bw-pro-neon-color:0,132,78 !important;
  --bw-pro-edge-glow:
    inset 0 0 34px rgba(0,132,78,.70),
    inset 0 0 82px rgba(0,96,58,.52),
    inset 0 0 156px rgba(0,55,34,.38),
    0 0 28px rgba(0,132,78,.26) !important;
  --bw-premium-glow:
    0 0 30px rgba(0,132,78,.48),
    0 0 82px rgba(0,96,58,.34) !important;
  --bw-premium-inner-glow:
    inset 0 0 52px rgba(0,132,78,.28) !important;
}

html.premium-theme-violet-noor,
html.theme-violet-noor,
body.premium-theme-violet-noor,
body.theme-violet-noor,
body.bw-theme-violet-noor{
  --bw-pro-neon-color:216,180,254 !important;
  --bw-pro-edge-glow:
    inset 0 0 34px rgba(216,180,254,.64),
    inset 0 0 86px rgba(168,85,247,.44),
    inset 0 0 160px rgba(126,34,206,.30),
    0 0 30px rgba(216,180,254,.26) !important;
  --bw-premium-glow:
    0 0 30px rgba(216,180,254,.46),
    0 0 84px rgba(168,85,247,.32) !important;
  --bw-premium-inner-glow:
    inset 0 0 54px rgba(216,180,254,.23) !important;
}

html.premium-theme-rose-soft,
html.theme-rose-soft,
body.premium-theme-rose-soft,
body.theme-rose-soft,
body.bw-theme-rose-soft{
  --bw-pro-neon-color:255,184,214 !important;
  --bw-pro-edge-glow:
    inset 0 0 34px rgba(255,184,214,.66),
    inset 0 0 88px rgba(236,72,153,.44),
    inset 0 0 162px rgba(190,24,93,.30),
    0 0 30px rgba(255,184,214,.28) !important;
  --bw-premium-glow:
    0 0 30px rgba(255,184,214,.48),
    0 0 84px rgba(236,72,153,.32) !important;
  --bw-premium-inner-glow:
    inset 0 0 54px rgba(255,184,214,.24) !important;
}

html.premium-theme-carbon-elite,
html.theme-carbon-elite,
body.premium-theme-carbon-elite,
body.theme-carbon-elite,
body.bw-theme-carbon-elite{
  --bw-pro-neon-color:220,228,238 !important;
  --bw-pro-edge-glow:
    inset 0 0 32px rgba(220,228,238,.58),
    inset 0 0 80px rgba(148,163,184,.38),
    inset 0 0 150px rgba(71,85,105,.28),
    0 0 26px rgba(220,228,238,.22) !important;
  --bw-premium-glow:
    0 0 28px rgba(220,228,238,.38),
    0 0 76px rgba(148,163,184,.26) !important;
  --bw-premium-inner-glow:
    inset 0 0 50px rgba(220,228,238,.20) !important;
}

html.premium-theme-night-mosque,
html.theme-night-mosque,
body.premium-theme-night-mosque,
body.theme-night-mosque,
body.bw-theme-night-mosque{
  --bw-pro-neon-color:96,165,250 !important;
  --bw-pro-edge-glow:
    inset 0 0 34px rgba(96,165,250,.66),
    inset 0 0 88px rgba(37,99,235,.46),
    inset 0 0 164px rgba(30,64,175,.32),
    0 0 30px rgba(96,165,250,.28) !important;
  --bw-premium-glow:
    0 0 30px rgba(96,165,250,.48),
    0 0 84px rgba(37,99,235,.34) !important;
  --bw-premium-inner-glow:
    inset 0 0 54px rgba(96,165,250,.24) !important;
}

html.premium-theme-royal-gold,
html.theme-royal-gold,
body.premium-theme-royal-gold,
body.theme-royal-gold,
body.bw-theme-royal-gold{
  --bw-pro-neon-color:255,224,122 !important;
  --bw-pro-edge-glow:
    inset 0 0 34px rgba(255,224,122,.66),
    inset 0 0 88px rgba(215,192,122,.46),
    inset 0 0 164px rgba(175,132,48,.32),
    0 0 30px rgba(255,224,122,.28) !important;
  --bw-premium-glow:
    0 0 30px rgba(255,224,122,.48),
    0 0 84px rgba(215,192,122,.34) !important;
  --bw-premium-inner-glow:
    inset 0 0 54px rgba(255,224,122,.24) !important;
}

html.premium-theme-children-soft,
html.theme-children-soft,
body.premium-theme-children-soft,
body.theme-children-soft,
body.bw-theme-children-soft{
  --bw-pro-neon-color:125,211,252 !important;
  --bw-pro-edge-glow:
    inset 0 0 34px rgba(125,211,252,.66),
    inset 0 0 88px rgba(56,189,248,.46),
    inset 0 0 164px rgba(14,165,233,.30),
    0 0 30px rgba(125,211,252,.28) !important;
  --bw-premium-glow:
    0 0 30px rgba(125,211,252,.48),
    0 0 84px rgba(56,189,248,.34) !important;
  --bw-premium-inner-glow:
    inset 0 0 54px rgba(125,211,252,.24) !important;
}

html.premium-theme-desert-sand,
html.theme-desert-sand,
body.premium-theme-desert-sand,
body.theme-desert-sand,
body.bw-theme-desert-sand{
  --bw-pro-neon-color:246,220,166 !important;
  --bw-pro-edge-glow:
    inset 0 0 34px rgba(246,220,166,.66),
    inset 0 0 88px rgba(216,168,98,.46),
    inset 0 0 164px rgba(185,133,66,.32),
    0 0 30px rgba(246,220,166,.28) !important;
  --bw-premium-glow:
    0 0 30px rgba(246,220,166,.48),
    0 0 84px rgba(216,168,98,.34) !important;
  --bw-premium-inner-glow:
    inset 0 0 54px rgba(246,220,166,.24) !important;
}

html[class*="premium-theme-"]:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html[class*="theme-"]:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body[class*="premium-theme-"]:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body[class*="bw-theme-"]:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame){
  box-shadow:var(--bw-pro-edge-glow) !important;
}

html[class*="premium-theme-"]:not(.bw-glow-off) body:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.month-day,.month-head,.wallet-support,.wallet-address,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.prayer-card,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn):is(:hover,:focus-within,:active,.active,.is-active,.selected,.is-selected,[aria-current="true"],[data-active="true"],[data-selected="true"]),
body[class*="premium-theme-"]:not(.bw-glow-off):not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.month-day,.month-head,.wallet-support,.wallet-address,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.prayer-card,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn):is(:hover,:focus-within,:active,.active,.is-active,.selected,.is-selected,[aria-current="true"],[data-active="true"],[data-selected="true"]),
body[class*="bw-theme-"]:not(.bw-glow-off):not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.month-day,.month-head,.wallet-support,.wallet-address,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.prayer-card,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn):is(:hover,:focus-within,:active,.active,.is-active,.selected,.is-selected,[aria-current="true"],[data-active="true"],[data-selected="true"]){
  border-color:rgba(var(--bw-pro-neon-color),.86) !important;
  box-shadow:
    0 0 0 1px rgba(var(--bw-pro-neon-color),.34),
    0 0 24px rgba(var(--bw-pro-neon-color),.48),
    0 0 58px rgba(var(--bw-pro-neon-color),.28),
    0 14px 34px rgba(0,0,0,.26) !important;
}

html.bw-glow-off[class*="premium-theme-"],
html.bw-glow-off[class*="theme-"],
body.bw-glow-off[class*="premium-theme-"],
body.bw-glow-off[class*="bw-theme-"]{
  --bw-pro-edge-glow:none !important;
  --bw-premium-glow:none !important;
  --bw-premium-inner-glow:none !important;
}

/* ===== EMERALD QURAN FLAT DARK GREEN BACKGROUND ===== */
/*
  Scope only: emerald-quran / Изумрудный Коран.
  Removes vertical brightening / gradient wash from the main theme background.
*/

html.premium-theme-emerald-quran,
html.theme-emerald-quran,
body.premium-theme-emerald-quran,
body.theme-emerald-quran,
body.bw-theme-emerald-quran{
  --bg:#003d26 !important;
  --surface:#00472d !important;
  --surface-2:#005737 !important;
  --surface-3:#006842 !important;
  --bw-premium-page:#003d26 !important;
  --bw-premium-surface:#00472d !important;
  --bw-premium-surface-2:#005737 !important;
  --bw-premium-button:linear-gradient(180deg,#006842 0%,#00472d 100%) !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro),
html.theme-emerald-quran body:not(.page-themes-pro),
body.premium-theme-emerald-quran:not(.page-themes-pro),
body.theme-emerald-quran:not(.page-themes-pro),
body.bw-theme-emerald-quran:not(.page-themes-pro){
  background:#003d26 !important;
  color:#f3fff8 !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
html.theme-emerald-quran body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.theme-emerald-quran:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article){
  background:#003d26 !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.dropdown-block,.dropdown-content,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.wallet-box,.wallet-support,.wallet-address,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.month-day,.month-head,.prayer-card,.toggle-row,.alarm-row,.reminder-row,.tahajjud-row,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn,.mobile-dropdown,.donation-dropdown,.donation-dropdown-content,.mobile-dropdown-content),
html.theme-emerald-quran body:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.dropdown-block,.dropdown-content,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.wallet-box,.wallet-support,.wallet-address,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.month-day,.month-head,.prayer-card,.toggle-row,.alarm-row,.reminder-row,.tahajjud-row,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn,.mobile-dropdown,.donation-dropdown,.donation-dropdown-content,.mobile-dropdown-content),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.dropdown-block,.dropdown-content,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.wallet-box,.wallet-support,.wallet-address,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.month-day,.month-head,.prayer-card,.toggle-row,.alarm-row,.reminder-row,.tahajjud-row,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn,.mobile-dropdown,.donation-dropdown,.donation-dropdown-content,.mobile-dropdown-content),
body.theme-emerald-quran:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.dropdown-block,.dropdown-content,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.wallet-box,.wallet-support,.wallet-address,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.month-day,.month-head,.prayer-card,.toggle-row,.alarm-row,.reminder-row,.tahajjud-row,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn,.mobile-dropdown,.donation-dropdown,.donation-dropdown-content,.mobile-dropdown-content),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.dropdown-block,.dropdown-content,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.wallet-box,.wallet-support,.wallet-address,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.month-day,.month-head,.prayer-card,.toggle-row,.alarm-row,.reminder-row,.tahajjud-row,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn,.mobile-dropdown,.donation-dropdown,.donation-dropdown-content,.mobile-dropdown-content){
  background:#00472d !important;
}

/* ===== EMERALD QURAN BRIGHT DEEP NEON GLOW ===== */
/*
  Scope only: emerald-quran / Изумрудный Коран.
  Keeps the background dark green, but makes Glow On a stronger rich emerald neon.
*/

html.premium-theme-emerald-quran,
html.theme-emerald-quran,
body.premium-theme-emerald-quran,
body.theme-emerald-quran,
body.bw-theme-emerald-quran{
  --bw-pro-neon-color:0,255,140 !important;
  --bw-pro-edge-glow:
    inset 0 0 22px rgba(0,255,140,.78),
    inset 0 0 58px rgba(0,210,115,.68),
    inset 0 0 118px rgba(0,132,78,.54),
    inset 0 0 190px rgba(0,55,34,.48),
    0 0 28px rgba(0,255,140,.36),
    0 0 72px rgba(0,210,115,.28) !important;
  --bw-premium-glow:
    0 0 34px rgba(0,255,140,.66),
    0 0 92px rgba(0,210,115,.42),
    0 0 150px rgba(0,132,78,.26) !important;
  --bw-premium-inner-glow:
    inset 0 0 64px rgba(0,255,140,.34),
    inset 0 0 130px rgba(0,132,78,.24) !important;
}

html.premium-theme-emerald-quran:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html.theme-emerald-quran:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.premium-theme-emerald-quran:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.theme-emerald-quran:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.bw-theme-emerald-quran:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame){
  box-shadow:
    inset 0 0 22px rgba(0,255,140,.78),
    inset 0 0 58px rgba(0,210,115,.68),
    inset 0 0 118px rgba(0,132,78,.54),
    inset 0 0 190px rgba(0,55,34,.48),
    0 0 28px rgba(0,255,140,.36),
    0 0 72px rgba(0,210,115,.28) !important;
}

html.premium-theme-emerald-quran:not(.bw-glow-off) body:not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.month-day,.month-head,.wallet-support,.wallet-address,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.prayer-card,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn):is(:hover,:focus-within,:active,.active,.is-active,.selected,.is-selected,[aria-current="true"],[data-active="true"],[data-selected="true"]),
body.premium-theme-emerald-quran:not(.bw-glow-off):not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.month-day,.month-head,.wallet-support,.wallet-address,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.prayer-card,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn):is(:hover,:focus-within,:active,.active,.is-active,.selected,.is-selected,[aria-current="true"],[data-active="true"],[data-selected="true"]),
body.bw-theme-emerald-quran:not(.bw-glow-off):not(.page-themes-pro) :is(.card,.box,.panel,.block,.widget,.home-widget,.item,.row,.meta-item,.note-box,.jumuah-box,.month-day,.month-head,.wallet-support,.wallet-address,.name-chip,.surah-card,.ayah-card,.dua-card,.article-card,.category-card,.category-panel,.support-card,.help-card,.aid-card,.feature-card,.stats-card,.info-card,.content-card,.premium-card,.accordion-card,.accordion-item,.faq-card,.quote,.intro,.verification,.transactions,.warning,.search-box,.search-panel,.filter-panel,.form-panel,.form-card,.input-card,.toolbar,.tabs,.master-audio-wrap,.player-card,.sec-box,.prayer-card,.daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,.app-menu-btn):is(:hover,:focus-within,:active,.active,.is-active,.selected,.is-selected,[aria-current="true"],[data-active="true"],[data-selected="true"]){
  border-color:rgba(0,255,140,.94) !important;
  box-shadow:
    0 0 0 1px rgba(0,255,140,.48),
    0 0 26px rgba(0,255,140,.64),
    0 0 70px rgba(0,210,115,.38),
    0 14px 34px rgba(0,0,0,.28) !important;
}

/* ===== MULTI PRO THEMES BRIGHT PREMIUM NEON ===== */

/* Violet Noor */
html.premium-theme-violet-noor,
html.theme-violet-noor,
body.premium-theme-violet-noor,
body.theme-violet-noor,
body.bw-theme-violet-noor{
  --bw-pro-neon-color:210,110,255 !important;
  --bw-pro-edge-glow:
    inset 0 0 24px rgba(245,195,255,.98),
    inset 0 0 62px rgba(210,110,255,.92),
    inset 0 0 126px rgba(168,58,255,.82),
    inset 0 0 210px rgba(112,32,220,.66),
    inset 0 0 320px rgba(58,12,132,.54),
    0 0 38px rgba(245,195,255,.78),
    0 0 110px rgba(210,110,255,.64),
    0 0 220px rgba(168,58,255,.42) !important;

  --bw-premium-glow:
    0 0 44px rgba(245,195,255,.96),
    0 0 132px rgba(210,110,255,.86),
    0 0 260px rgba(168,58,255,.56) !important;

  --bw-premium-inner-glow:
    inset 0 0 78px rgba(245,195,255,.58),
    inset 0 0 180px rgba(168,58,255,.36) !important;
}

/* Rose Harmony */
html.premium-theme-rose-soft,
html.theme-rose-soft,
body.premium-theme-rose-soft,
body.theme-rose-soft,
body.bw-theme-rose-soft{
  --bw-pro-neon-color:255,132,196 !important;
  --bw-pro-edge-glow:
    inset 0 0 22px rgba(255,132,196,.82),
    inset 0 0 58px rgba(236,72,153,.70),
    inset 0 0 118px rgba(190,24,93,.54),
    inset 0 0 190px rgba(98,12,52,.46),
    0 0 28px rgba(255,132,196,.36),
    0 0 72px rgba(236,72,153,.30) !important;
}

/* Carbon Elite */
html.premium-theme-carbon-elite,
html.theme-carbon-elite,
body.premium-theme-carbon-elite,
body.theme-carbon-elite,
body.bw-theme-carbon-elite{
  --bw-pro-neon-color:212,228,255 !important;
  --bw-pro-edge-glow:
    inset 0 0 20px rgba(212,228,255,.76),
    inset 0 0 54px rgba(148,163,184,.62),
    inset 0 0 112px rgba(71,85,105,.48),
    inset 0 0 176px rgba(25,33,44,.42),
    0 0 24px rgba(212,228,255,.28),
    0 0 66px rgba(148,163,184,.22) !important;
}

/* Night Mosque */
html.premium-theme-night-mosque,
html.theme-night-mosque,
body.premium-theme-night-mosque,
body.theme-night-mosque,
body.bw-theme-night-mosque{
  --bw-pro-neon-color:88,160,255 !important;
  --bw-pro-edge-glow:
    inset 0 0 22px rgba(88,160,255,.82),
    inset 0 0 58px rgba(37,99,235,.72),
    inset 0 0 118px rgba(30,64,175,.58),
    inset 0 0 190px rgba(12,26,78,.46),
    0 0 28px rgba(88,160,255,.38),
    0 0 72px rgba(37,99,235,.32) !important;
}

/* ===== VIOLET NOOR PREMIUM DEEP NEON ===== */
/*
  Rebalanced premium violet neon:
  - darker purple base
  - stronger contrast
  - stronger outer bloom
  - cleaner inner neon edge
  - avoids interface overexposure
*/

html.premium-theme-violet-noor,
html.theme-violet-noor,
body.premium-theme-violet-noor,
body.theme-violet-noor,
body.bw-theme-violet-noor{
  --bg:#180022 !important;
  --surface:#22002f !important;
  --surface-2:#2c063e !important;
  --surface-3:#3a0d56 !important;

  --bw-premium-page:#180022 !important;
  --bw-premium-surface:#22002f !important;
  --bw-premium-surface-2:#2c063e !important;

  --bw-pro-neon-color:206,92,255 !important;

  --bw-pro-edge-glow:
    inset 0 0 16px rgba(248,210,255,.96),
    inset 0 0 42px rgba(222,128,255,.86),
    inset 0 0 96px rgba(176,52,255,.74),
    inset 0 0 168px rgba(116,24,210,.56),
    inset 0 0 260px rgba(58,10,116,.42),

    0 0 22px rgba(248,210,255,.54),
    0 0 64px rgba(222,128,255,.46),
    0 0 140px rgba(176,52,255,.32) !important;

  --bw-premium-glow:
    0 0 26px rgba(248,210,255,.66),
    0 0 82px rgba(222,128,255,.56),
    0 0 170px rgba(176,52,255,.34) !important;

  --bw-premium-inner-glow:
    inset 0 0 44px rgba(248,210,255,.34),
    inset 0 0 118px rgba(176,52,255,.24) !important;
}

/* darker premium base */
html.premium-theme-violet-noor body:not(.page-themes-pro),
html.theme-violet-noor body:not(.page-themes-pro),
body.premium-theme-violet-noor:not(.page-themes-pro),
body.theme-violet-noor:not(.page-themes-pro),
body.bw-theme-violet-noor:not(.page-themes-pro){
  background:#180022 !important;
}

html.premium-theme-violet-noor body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
html.theme-violet-noor body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.premium-theme-violet-noor:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.theme-violet-noor:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.bw-theme-violet-noor:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article){
  background:#180022 !important;
}

/* controlled premium bloom */
html.premium-theme-violet-noor:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html.theme-violet-noor:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.premium-theme-violet-noor:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.theme-violet-noor:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.bw-theme-violet-noor:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame){
  box-shadow:
    inset 0 0 16px rgba(248,210,255,.96),
    inset 0 0 42px rgba(222,128,255,.86),
    inset 0 0 96px rgba(176,52,255,.74),
    inset 0 0 168px rgba(116,24,210,.56),
    inset 0 0 260px rgba(58,10,116,.42),

    0 0 22px rgba(248,210,255,.54),
    0 0 64px rgba(222,128,255,.46),
    0 0 140px rgba(176,52,255,.32) !important;
}

/* ===== ROSE HARMONY PREMIUM DEEP NEON ===== */
/*
  Premium pink neon:
  - darker rose base
  - rich pink inner neon
  - stronger outer bloom
  - premium luxury glow without overexposure
*/

html.premium-theme-rose-soft,
html.theme-rose-soft,
body.premium-theme-rose-soft,
body.theme-rose-soft,
body.bw-theme-rose-soft{
  --bg:#2a0b1d !important;
  --surface:#381126 !important;
  --surface-2:#4a1832 !important;
  --surface-3:#642048 !important;

  --bw-premium-page:#2a0b1d !important;
  --bw-premium-surface:#381126 !important;
  --bw-premium-surface-2:#4a1832 !important;

  --bw-pro-neon-color:255,126,196 !important;

  --bw-pro-edge-glow:
    inset 0 0 16px rgba(255,214,236,.96),
    inset 0 0 42px rgba(255,148,210,.88),
    inset 0 0 96px rgba(255,92,176,.74),
    inset 0 0 168px rgba(220,38,120,.58),
    inset 0 0 260px rgba(108,12,52,.42),

    0 0 22px rgba(255,214,236,.56),
    0 0 64px rgba(255,148,210,.46),
    0 0 140px rgba(255,92,176,.32) !important;

  --bw-premium-glow:
    0 0 26px rgba(255,214,236,.68),
    0 0 82px rgba(255,148,210,.58),
    0 0 170px rgba(255,92,176,.36) !important;

  --bw-premium-inner-glow:
    inset 0 0 44px rgba(255,214,236,.34),
    inset 0 0 118px rgba(255,92,176,.24) !important;
}

/* darker premium base */
html.premium-theme-rose-soft body:not(.page-themes-pro),
html.theme-rose-soft body:not(.page-themes-pro),
body.premium-theme-rose-soft:not(.page-themes-pro),
body.theme-rose-soft:not(.page-themes-pro),
body.bw-theme-rose-soft:not(.page-themes-pro){
  background:#2a0b1d !important;
}

html.premium-theme-rose-soft body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
html.theme-rose-soft body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.premium-theme-rose-soft:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.theme-rose-soft:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.bw-theme-rose-soft:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article){
  background:#2a0b1d !important;
}

/* controlled premium bloom */
html.premium-theme-rose-soft:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html.theme-rose-soft:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.premium-theme-rose-soft:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.theme-rose-soft:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.bw-theme-rose-soft:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame){
  box-shadow:
    inset 0 0 16px rgba(255,214,236,.96),
    inset 0 0 42px rgba(255,148,210,.88),
    inset 0 0 96px rgba(255,92,176,.74),
    inset 0 0 168px rgba(220,38,120,.58),
    inset 0 0 260px rgba(108,12,52,.42),

    0 0 22px rgba(255,214,236,.56),
    0 0 64px rgba(255,148,210,.46),
    0 0 140px rgba(255,92,176,.32) !important;
}

/* ===== NIGHT MOSQUE PREMIUM DEEP NEON ===== */
/*
  Premium blue neon:
  - darker night blue base
  - rich blue inner neon
  - strong outer bloom
  - luxury premium glow without overexposure
*/

html.premium-theme-night-mosque,
html.theme-night-mosque,
body.premium-theme-night-mosque,
body.theme-night-mosque,
body.bw-theme-night-mosque{
  --bg:#061126 !important;
  --surface:#0a1834 !important;
  --surface-2:#10224a !important;
  --surface-3:#173064 !important;

  --bw-premium-page:#061126 !important;
  --bw-premium-surface:#0a1834 !important;
  --bw-premium-surface-2:#10224a !important;

  --bw-pro-neon-color:92,170,255 !important;

  --bw-pro-edge-glow:
    inset 0 0 16px rgba(214,236,255,.96),
    inset 0 0 42px rgba(126,192,255,.88),
    inset 0 0 96px rgba(72,132,255,.76),
    inset 0 0 168px rgba(38,88,220,.58),
    inset 0 0 260px rgba(8,28,96,.42),

    0 0 22px rgba(214,236,255,.56),
    0 0 64px rgba(126,192,255,.46),
    0 0 140px rgba(72,132,255,.34) !important;

  --bw-premium-glow:
    0 0 26px rgba(214,236,255,.68),
    0 0 82px rgba(126,192,255,.58),
    0 0 170px rgba(72,132,255,.38) !important;

  --bw-premium-inner-glow:
    inset 0 0 44px rgba(214,236,255,.34),
    inset 0 0 118px rgba(72,132,255,.24) !important;
}

/* darker premium base */
html.premium-theme-night-mosque body:not(.page-themes-pro),
html.theme-night-mosque body:not(.page-themes-pro),
body.premium-theme-night-mosque:not(.page-themes-pro),
body.theme-night-mosque:not(.page-themes-pro),
body.bw-theme-night-mosque:not(.page-themes-pro){
  background:#061126 !important;
}

html.premium-theme-night-mosque body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
html.theme-night-mosque body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.premium-theme-night-mosque:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.theme-night-mosque:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.bw-theme-night-mosque:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article){
  background:#061126 !important;
}

/* controlled premium bloom */
html.premium-theme-night-mosque:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html.theme-night-mosque:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.premium-theme-night-mosque:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.theme-night-mosque:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.bw-theme-night-mosque:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame){
  box-shadow:
    inset 0 0 16px rgba(214,236,255,.96),
    inset 0 0 42px rgba(126,192,255,.88),
    inset 0 0 96px rgba(72,132,255,.76),
    inset 0 0 168px rgba(38,88,220,.58),
    inset 0 0 260px rgba(8,28,96,.42),

    0 0 22px rgba(214,236,255,.56),
    0 0 64px rgba(126,192,255,.46),
    0 0 140px rgba(72,132,255,.34) !important;
}

/* ===== CARBON ELITE PREMIUM DEEP NEON ===== */
/*
  Premium carbon neon:
  - darker graphite base
  - cold silver-blue inner neon
  - strong outer bloom
  - luxury premium carbon glow without overexposure
*/

html.premium-theme-carbon-elite,
html.theme-carbon-elite,
body.premium-theme-carbon-elite,
body.theme-carbon-elite,
body.bw-theme-carbon-elite{
  --bg:#06080d !important;
  --surface:#10151d !important;
  --surface-2:#1a2230 !important;
  --surface-3:#243142 !important;

  --bw-premium-page:#06080d !important;
  --bw-premium-surface:#10151d !important;
  --bw-premium-surface-2:#1a2230 !important;

  --bw-pro-neon-color:210,228,255 !important;

  --bw-pro-edge-glow:
    inset 0 0 16px rgba(240,247,255,.96),
    inset 0 0 42px rgba(210,228,255,.88),
    inset 0 0 96px rgba(150,182,228,.74),
    inset 0 0 168px rgba(82,108,152,.56),
    inset 0 0 260px rgba(22,30,46,.44),

    0 0 22px rgba(240,247,255,.56),
    0 0 64px rgba(210,228,255,.44),
    0 0 140px rgba(150,182,228,.30) !important;

  --bw-premium-glow:
    0 0 26px rgba(240,247,255,.68),
    0 0 82px rgba(210,228,255,.56),
    0 0 170px rgba(150,182,228,.34) !important;

  --bw-premium-inner-glow:
    inset 0 0 44px rgba(240,247,255,.32),
    inset 0 0 118px rgba(150,182,228,.22) !important;
}

/* darker premium base */
html.premium-theme-carbon-elite body:not(.page-themes-pro),
html.theme-carbon-elite body:not(.page-themes-pro),
body.premium-theme-carbon-elite:not(.page-themes-pro),
body.theme-carbon-elite:not(.page-themes-pro),
body.bw-theme-carbon-elite:not(.page-themes-pro){
  background:#06080d !important;
}

html.premium-theme-carbon-elite body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
html.theme-carbon-elite body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.premium-theme-carbon-elite:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.theme-carbon-elite:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.bw-theme-carbon-elite:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article){
  background:#06080d !important;
}

/* controlled premium bloom */
html.premium-theme-carbon-elite:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html.theme-carbon-elite:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.premium-theme-carbon-elite:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.theme-carbon-elite:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.bw-theme-carbon-elite:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame){
  box-shadow:
    inset 0 0 16px rgba(240,247,255,.96),
    inset 0 0 42px rgba(210,228,255,.88),
    inset 0 0 96px rgba(150,182,228,.74),
    inset 0 0 168px rgba(82,108,152,.56),
    inset 0 0 260px rgba(22,30,46,.44),

    0 0 22px rgba(240,247,255,.56),
    0 0 64px rgba(210,228,255,.44),
    0 0 140px rgba(150,182,228,.30) !important;
}

/* ===== EMERALD QURAN PREMIUM DEEP NEON V2 ===== */
/*
  Stronger emerald premium neon:
  - darker emerald base
  - brighter emerald edge
  - deeper inner glow
  - stronger luxury bloom without UI overexposure
*/

html.premium-theme-emerald-quran,
html.theme-emerald-quran,
body.premium-theme-emerald-quran,
body.theme-emerald-quran,
body.bw-theme-emerald-quran{
  --bg:#022b1c !important;
  --surface:#033825 !important;
  --surface-2:#044932 !important;
  --surface-3:#056344 !important;

  --bw-premium-page:#022b1c !important;
  --bw-premium-surface:#033825 !important;
  --bw-premium-surface-2:#044932 !important;

  --bw-pro-neon-color:0,255,148 !important;

  --bw-pro-edge-glow:
    inset 0 0 16px rgba(205,255,232,.98),
    inset 0 0 42px rgba(92,255,180,.92),
    inset 0 0 96px rgba(0,255,148,.82),
    inset 0 0 168px rgba(0,182,104,.64),
    inset 0 0 260px rgba(0,76,46,.46),

    0 0 22px rgba(205,255,232,.60),
    0 0 64px rgba(92,255,180,.52),
    0 0 140px rgba(0,255,148,.38) !important;

  --bw-premium-glow:
    0 0 28px rgba(205,255,232,.72),
    0 0 88px rgba(92,255,180,.62),
    0 0 176px rgba(0,255,148,.42) !important;

  --bw-premium-inner-glow:
    inset 0 0 48px rgba(205,255,232,.38),
    inset 0 0 126px rgba(0,255,148,.28) !important;
}

/* darker emerald premium base */
html.premium-theme-emerald-quran body:not(.page-themes-pro),
html.theme-emerald-quran body:not(.page-themes-pro),
body.premium-theme-emerald-quran:not(.page-themes-pro),
body.theme-emerald-quran:not(.page-themes-pro),
body.bw-theme-emerald-quran:not(.page-themes-pro){
  background:#022b1c !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
html.theme-emerald-quran body:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.theme-emerald-quran:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.container,.content,.page,.page-wrap,.page-shell,.app-shell,main,section,article){
  background:#022b1c !important;
}

/* controlled emerald premium bloom */
html.premium-theme-emerald-quran:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
html.theme-emerald-quran:not(.bw-glow-off) body:not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.premium-theme-emerald-quran:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.theme-emerald-quran:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame),
body.bw-theme-emerald-quran:not(.bw-glow-off):not(.page-themes-pro) :is(.container,.page,.page-shell,.app-shell,main,.premium-glow,.pro-glow,.edge-glow,.glow-frame,.premium-frame,.pro-frame){
  box-shadow:
    inset 0 0 16px rgba(205,255,232,.98),
    inset 0 0 42px rgba(92,255,180,.92),
    inset 0 0 96px rgba(0,255,148,.82),
    inset 0 0 168px rgba(0,182,104,.64),
    inset 0 0 260px rgba(0,76,46,.46),

    0 0 22px rgba(205,255,232,.60),
    0 0 64px rgba(92,255,180,.52),
    0 0 140px rgba(0,255,148,.38) !important;
}

/* ===== EMERALD QURAN GLOBAL LIGHT TEXT FIX ===== */
/*
  Scope: Emerald Quran premium theme across the whole app.
  Forces readable light text everywhere, including buttons, cards, inputs, labels and navigation.
*/

html.premium-theme-emerald-quran,
html.theme-emerald-quran,
body.premium-theme-emerald-quran,
body.theme-emerald-quran,
body.bw-theme-emerald-quran{
  --text:#f4fff8 !important;
  --text-soft:#dfffee !important;
  --text-muted:#c7f7df !important;
  --bw-premium-text:#f4fff8 !important;
  --bw-premium-text-soft:#dfffee !important;
  --bw-premium-muted:#c7f7df !important;
  --bw-premium-button-text:#f4fff8 !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro),
html.theme-emerald-quran body:not(.page-themes-pro),
body.premium-theme-emerald-quran:not(.page-themes-pro),
body.theme-emerald-quran:not(.page-themes-pro),
body.bw-theme-emerald-quran:not(.page-themes-pro){
  color:#f4fff8 !important;
  -webkit-text-fill-color:#f4fff8 !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(
  h1,h2,h3,h4,h5,h6,
  p,span,li,label,small,strong,em,b,i,
  div,a,button,
  .btn,.chip,.badge,.pill,.tag,
  .title,.section-title,.category-title,.page-title,.hero-title,
  .subtitle,.tagline,.note,.small,.muted,.text-muted,.meta,.meta-label,.meta-value,
  .prayer-name,.prayer-time,.next-name,.big-location,
  .card,.box,.panel,.block,.widget,.home-widget,.item,.row,
  .daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,
  .dropdown-block,.dropdown-content,.mobile-dropdown,.mobile-dropdown-title,.mobile-dropdown-content,
  .donation-dropdown,.donation-dropdown-content,
  .wallet-box,.wallet-support,.wallet-address,.transactions,.verification,
  .surah-card,.ayah-card,.dua-card,.article-card,.category-card,.support-card,.help-card,.aid-card,
  .bottom-app-nav,.bottom-app-nav *,.bottom-nav,.bottom-nav *
),
html.theme-emerald-quran body:not(.page-themes-pro) :is(
  h1,h2,h3,h4,h5,h6,
  p,span,li,label,small,strong,em,b,i,
  div,a,button,
  .btn,.chip,.badge,.pill,.tag,
  .title,.section-title,.category-title,.page-title,.hero-title,
  .subtitle,.tagline,.note,.small,.muted,.text-muted,.meta,.meta-label,.meta-value,
  .prayer-name,.prayer-time,.next-name,.big-location,
  .card,.box,.panel,.block,.widget,.home-widget,.item,.row,
  .daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,
  .dropdown-block,.dropdown-content,.mobile-dropdown,.mobile-dropdown-title,.mobile-dropdown-content,
  .donation-dropdown,.donation-dropdown-content,
  .wallet-box,.wallet-support,.wallet-address,.transactions,.verification,
  .surah-card,.ayah-card,.dua-card,.article-card,.category-card,.support-card,.help-card,.aid-card,
  .bottom-app-nav,.bottom-app-nav *,.bottom-nav,.bottom-nav *
),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(
  h1,h2,h3,h4,h5,h6,
  p,span,li,label,small,strong,em,b,i,
  div,a,button,
  .btn,.chip,.badge,.pill,.tag,
  .title,.section-title,.category-title,.page-title,.hero-title,
  .subtitle,.tagline,.note,.small,.muted,.text-muted,.meta,.meta-label,.meta-value,
  .prayer-name,.prayer-time,.next-name,.big-location,
  .card,.box,.panel,.block,.widget,.home-widget,.item,.row,
  .daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,
  .dropdown-block,.dropdown-content,.mobile-dropdown,.mobile-dropdown-title,.mobile-dropdown-content,
  .donation-dropdown,.donation-dropdown-content,
  .wallet-box,.wallet-support,.wallet-address,.transactions,.verification,
  .surah-card,.ayah-card,.dua-card,.article-card,.category-card,.support-card,.help-card,.aid-card,
  .bottom-app-nav,.bottom-app-nav *,.bottom-nav,.bottom-nav *
),
body.theme-emerald-quran:not(.page-themes-pro) :is(
  h1,h2,h3,h4,h5,h6,
  p,span,li,label,small,strong,em,b,i,
  div,a,button,
  .btn,.chip,.badge,.pill,.tag,
  .title,.section-title,.category-title,.page-title,.hero-title,
  .subtitle,.tagline,.note,.small,.muted,.text-muted,.meta,.meta-label,.meta-value,
  .prayer-name,.prayer-time,.next-name,.big-location,
  .card,.box,.panel,.block,.widget,.home-widget,.item,.row,
  .daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,
  .dropdown-block,.dropdown-content,.mobile-dropdown,.mobile-dropdown-title,.mobile-dropdown-content,
  .donation-dropdown,.donation-dropdown-content,
  .wallet-box,.wallet-support,.wallet-address,.transactions,.verification,
  .surah-card,.ayah-card,.dua-card,.article-card,.category-card,.support-card,.help-card,.aid-card,
  .bottom-app-nav,.bottom-app-nav *,.bottom-nav,.bottom-nav *
),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(
  h1,h2,h3,h4,h5,h6,
  p,span,li,label,small,strong,em,b,i,
  div,a,button,
  .btn,.chip,.badge,.pill,.tag,
  .title,.section-title,.category-title,.page-title,.hero-title,
  .subtitle,.tagline,.note,.small,.muted,.text-muted,.meta,.meta-label,.meta-value,
  .prayer-name,.prayer-time,.next-name,.big-location,
  .card,.box,.panel,.block,.widget,.home-widget,.item,.row,
  .daily-card,.challenge-card,.task-card,.quick-card,.quick-link,.menu-card,
  .dropdown-block,.dropdown-content,.mobile-dropdown,.mobile-dropdown-title,.mobile-dropdown-content,
  .donation-dropdown,.donation-dropdown-content,
  .wallet-box,.wallet-support,.wallet-address,.transactions,.verification,
  .surah-card,.ayah-card,.dua-card,.article-card,.category-card,.support-card,.help-card,.aid-card,
  .bottom-app-nav,.bottom-app-nav *,.bottom-nav,.bottom-nav *
){
  color:#f4fff8 !important;
  -webkit-text-fill-color:#f4fff8 !important;
  text-shadow:0 2px 12px rgba(0,0,0,.42) !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
html.theme-emerald-quran body:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.theme-emerald-quran:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number){
  color:#f4fff8 !important;
  -webkit-text-fill-color:#f4fff8 !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) ::placeholder,
html.theme-emerald-quran body:not(.page-themes-pro) ::placeholder,
body.premium-theme-emerald-quran:not(.page-themes-pro) ::placeholder,
body.theme-emerald-quran:not(.page-themes-pro) ::placeholder,
body.bw-theme-emerald-quran:not(.page-themes-pro) ::placeholder{
  color:#c7f7df !important;
  -webkit-text-fill-color:#c7f7df !important;
  opacity:1 !important;
}

/* Preserve visual objects that are not text */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar){
  -webkit-text-fill-color:initial !important;
}

/* ===== EMERALD QURAN PREMIUM LIGHT TEXT PALETTE V10 ===== */
/*
  Scope: Emerald Quran premium theme across the app.
  Text is light, but not flat white:
  - titles: warm light gold
  - primary text: soft white
  - secondary/meta: pale mint
  - links/accent/icons: aqua-mint
  - buttons: warm gold text where appropriate
*/

html.premium-theme-emerald-quran,
html.theme-emerald-quran,
body.premium-theme-emerald-quran,
body.theme-emerald-quran,
body.bw-theme-emerald-quran{
  --text:#f7fff9 !important;
  --text-soft:#e8fff1 !important;
  --text-muted:#c8f4dc !important;
  --green:#7fffd0 !important;
  --green-strong:#20d890 !important;
  --green-soft:#caffdf !important;

  --bw-emerald-text:#f7fff9 !important;
  --bw-emerald-text-soft:#e8fff1 !important;
  --bw-emerald-muted:#c8f4dc !important;
  --bw-emerald-gold:#fff1b8 !important;
  --bw-emerald-gold-soft:#f8df91 !important;
  --bw-emerald-aqua:#9fffee !important;
  --bw-emerald-mint:#7fffd0 !important;

  --bw-premium-text:#f7fff9 !important;
  --bw-premium-text-soft:#e8fff1 !important;
  --bw-premium-muted:#c8f4dc !important;
  --bw-premium-button-text:#fff1b8 !important;
}

/* Base text */
html.premium-theme-emerald-quran body:not(.page-themes-pro),
html.theme-emerald-quran body:not(.page-themes-pro),
body.premium-theme-emerald-quran:not(.page-themes-pro),
body.theme-emerald-quran:not(.page-themes-pro),
body.bw-theme-emerald-quran:not(.page-themes-pro){
  color:#f7fff9 !important;
  -webkit-text-fill-color:#f7fff9 !important;
}

/* Titles / large headings: light warm gold */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(h1,h2,h3,.title,.page-title,.hero-title,.section-title,.category-title,.access-title),
html.theme-emerald-quran body:not(.page-themes-pro) :is(h1,h2,h3,.title,.page-title,.hero-title,.section-title,.category-title,.access-title),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(h1,h2,h3,.title,.page-title,.hero-title,.section-title,.category-title,.access-title),
body.theme-emerald-quran:not(.page-themes-pro) :is(h1,h2,h3,.title,.page-title,.hero-title,.section-title,.category-title,.access-title),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(h1,h2,h3,.title,.page-title,.hero-title,.section-title,.category-title,.access-title){
  color:#fff1b8 !important;
  -webkit-text-fill-color:#fff1b8 !important;
  text-shadow:0 2px 14px rgba(0,0,0,.48),0 0 18px rgba(255,241,184,.12) !important;
}

/* Important values and card titles: soft white */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(h4,h5,h6,.card-title,.item-title,.dua-title,.surah-name,.prayer-name,.next-name,.big-location,.meta-value,.prayer-time,.ayah-arabic),
html.theme-emerald-quran body:not(.page-themes-pro) :is(h4,h5,h6,.card-title,.item-title,.dua-title,.surah-name,.prayer-name,.next-name,.big-location,.meta-value,.prayer-time,.ayah-arabic),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(h4,h5,h6,.card-title,.item-title,.dua-title,.surah-name,.prayer-name,.next-name,.big-location,.meta-value,.prayer-time,.ayah-arabic),
body.theme-emerald-quran:not(.page-themes-pro) :is(h4,h5,h6,.card-title,.item-title,.dua-title,.surah-name,.prayer-name,.next-name,.big-location,.meta-value,.prayer-time,.ayah-arabic),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(h4,h5,h6,.card-title,.item-title,.dua-title,.surah-name,.prayer-name,.next-name,.big-location,.meta-value,.prayer-time,.ayah-arabic){
  color:#f7fff9 !important;
  -webkit-text-fill-color:#f7fff9 !important;
  text-shadow:0 2px 12px rgba(0,0,0,.44) !important;
}

/* Normal text: soft light */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(p,li,span,label,small,div,.subtitle,.tagline,.note,.small,.description,.text,.content-text,.ayah-meaning),
html.theme-emerald-quran body:not(.page-themes-pro) :is(p,li,span,label,small,div,.subtitle,.tagline,.note,.small,.description,.text,.content-text,.ayah-meaning),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(p,li,span,label,small,div,.subtitle,.tagline,.note,.small,.description,.text,.content-text,.ayah-meaning),
body.theme-emerald-quran:not(.page-themes-pro) :is(p,li,span,label,small,div,.subtitle,.tagline,.note,.small,.description,.text,.content-text,.ayah-meaning),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(p,li,span,label,small,div,.subtitle,.tagline,.note,.small,.description,.text,.content-text,.ayah-meaning){
  color:#e8fff1 !important;
  -webkit-text-fill-color:#e8fff1 !important;
}

/* Meta / secondary text: pale mint, still readable */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.muted,.text-muted,.meta,.meta-label,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,.countdown-note,.wallet-note,.field-label,.dua-ref,.source,.ref,.label,.translit,.ayah-translit),
html.theme-emerald-quran body:not(.page-themes-pro) :is(.muted,.text-muted,.meta,.meta-label,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,.countdown-note,.wallet-note,.field-label,.dua-ref,.source,.ref,.label,.translit,.ayah-translit),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.muted,.text-muted,.meta,.meta-label,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,.countdown-note,.wallet-note,.field-label,.dua-ref,.source,.ref,.label,.translit,.ayah-translit),
body.theme-emerald-quran:not(.page-themes-pro) :is(.muted,.text-muted,.meta,.meta-label,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,.countdown-note,.wallet-note,.field-label,.dua-ref,.source,.ref,.label,.translit,.ayah-translit),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.muted,.text-muted,.meta,.meta-label,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,.countdown-note,.wallet-note,.field-label,.dua-ref,.source,.ref,.label,.translit,.ayah-translit){
  color:#c8f4dc !important;
  -webkit-text-fill-color:#c8f4dc !important;
}

/* Links, accents, icons and active marks: aqua / mint */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(a,strong,.accent,.brand-accent,.surah-number,.ayah-index,.help-option-arrow,.link a,.footer a,.active,.is-active,.selected,.is-selected,[aria-current="true"]),
html.theme-emerald-quran body:not(.page-themes-pro) :is(a,strong,.accent,.brand-accent,.surah-number,.ayah-index,.help-option-arrow,.link a,.footer a,.active,.is-active,.selected,.is-selected,[aria-current="true"]),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(a,strong,.accent,.brand-accent,.surah-number,.ayah-index,.help-option-arrow,.link a,.footer a,.active,.is-active,.selected,.is-selected,[aria-current="true"]),
body.theme-emerald-quran:not(.page-themes-pro) :is(a,strong,.accent,.brand-accent,.surah-number,.ayah-index,.help-option-arrow,.link a,.footer a,.active,.is-active,.selected,.is-selected,[aria-current="true"]),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(a,strong,.accent,.brand-accent,.surah-number,.ayah-index,.help-option-arrow,.link a,.footer a,.active,.is-active,.selected,.is-selected,[aria-current="true"]){
  color:#9fffee !important;
  -webkit-text-fill-color:#9fffee !important;
  text-shadow:0 0 14px rgba(159,255,238,.18) !important;
}

/* Buttons / chips: light gold text, not black */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(button:not(.theme-switch),.btn,.chip,.badge,.pill,.tag,.filter-btn,.tab,.tabs button,.wallet-badge,.install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,.play-btn,.reset-btn,.qibla-reset,.quick-btn,.donation-dropdown summary,.mobile-dropdown-title,[role="button"]),
html.theme-emerald-quran body:not(.page-themes-pro) :is(button:not(.theme-switch),.btn,.chip,.badge,.pill,.tag,.filter-btn,.tab,.tabs button,.wallet-badge,.install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,.play-btn,.reset-btn,.qibla-reset,.quick-btn,.donation-dropdown summary,.mobile-dropdown-title,[role="button"]),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(button:not(.theme-switch),.btn,.chip,.badge,.pill,.tag,.filter-btn,.tab,.tabs button,.wallet-badge,.install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,.play-btn,.reset-btn,.qibla-reset,.quick-btn,.donation-dropdown summary,.mobile-dropdown-title,[role="button"]),
body.theme-emerald-quran:not(.page-themes-pro) :is(button:not(.theme-switch),.btn,.chip,.badge,.pill,.tag,.filter-btn,.tab,.tabs button,.wallet-badge,.install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,.play-btn,.reset-btn,.qibla-reset,.quick-btn,.donation-dropdown summary,.mobile-dropdown-title,[role="button"]),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(button:not(.theme-switch),.btn,.chip,.badge,.pill,.tag,.filter-btn,.tab,.tabs button,.wallet-badge,.install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,.play-btn,.reset-btn,.qibla-reset,.quick-btn,.donation-dropdown summary,.mobile-dropdown-title,[role="button"]){
  color:#fff1b8 !important;
  -webkit-text-fill-color:#fff1b8 !important;
  text-shadow:0 2px 12px rgba(0,0,0,.48) !important;
}

/* Inputs and placeholders */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
html.theme-emerald-quran body:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.theme-emerald-quran:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number){
  color:#f7fff9 !important;
  -webkit-text-fill-color:#f7fff9 !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) ::placeholder,
html.theme-emerald-quran body:not(.page-themes-pro) ::placeholder,
body.premium-theme-emerald-quran:not(.page-themes-pro) ::placeholder,
body.theme-emerald-quran:not(.page-themes-pro) ::placeholder,
body.bw-theme-emerald-quran:not(.page-themes-pro) ::placeholder{
  color:#d7ffe8 !important;
  -webkit-text-fill-color:#d7ffe8 !important;
  opacity:1 !important;
}

/* Bottom navigation: gold labels, mint active accents */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.bottom-app-nav,.bottom-nav) :is(span,label,small,div,a,button),
html.theme-emerald-quran body:not(.page-themes-pro) :is(.bottom-app-nav,.bottom-nav) :is(span,label,small,div,a,button),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.bottom-app-nav,.bottom-nav) :is(span,label,small,div,a,button),
body.theme-emerald-quran:not(.page-themes-pro) :is(.bottom-app-nav,.bottom-nav) :is(span,label,small,div,a,button),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.bottom-app-nav,.bottom-nav) :is(span,label,small,div,a,button){
  color:#fff1b8 !important;
  -webkit-text-fill-color:#fff1b8 !important;
}

/* Preserve non-text visual objects */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar){
  -webkit-text-fill-color:initial !important;
}

/* ===== EMERALD QURAN THREE-COLOR TEXT SYSTEM V11 ===== */
/*
  Scope: Emerald Quran premium theme across all app pages.
  Text hierarchy:
  1) light gold      — main titles, Arabic primary, important section names
  2) light aqua-blue — names, accents, labels, numbers, links, icons
  3) soft white      — descriptions, translations, body text
*/

html.premium-theme-emerald-quran,
html.theme-emerald-quran,
body.premium-theme-emerald-quran,
body.theme-emerald-quran,
body.bw-theme-emerald-quran{
  --bw-emerald-gold:#fff1b8 !important;
  --bw-emerald-gold-2:#f8df91 !important;
  --bw-emerald-aqua:#b8fff5 !important;
  --bw-emerald-aqua-2:#8df7ff !important;
  --bw-emerald-white:#f7fff9 !important;
  --bw-emerald-white-2:#e8fff1 !important;
  --bw-emerald-muted:#d8f8e6 !important;

  --text:#f7fff9 !important;
  --text-soft:#e8fff1 !important;
  --text-muted:#d8f8e6 !important;
  --green:#b8fff5 !important;
  --green-soft:#fff1b8 !important;
  --bw-premium-text:#f7fff9 !important;
  --bw-premium-text-soft:#e8fff1 !important;
  --bw-premium-muted:#d8f8e6 !important;
  --bw-premium-button-text:#fff1b8 !important;
}

/* Base body text: soft white */
html.premium-theme-emerald-quran body:not(.page-themes-pro),
html.theme-emerald-quran body:not(.page-themes-pro),
body.premium-theme-emerald-quran:not(.page-themes-pro),
body.theme-emerald-quran:not(.page-themes-pro),
body.bw-theme-emerald-quran:not(.page-themes-pro){
  color:#f7fff9 !important;
  -webkit-text-fill-color:#f7fff9 !important;
}

/* GOLD: page titles, section titles, major Islamic headings, Arabic primary text */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(
  h1,h2,.page-title,.hero-title,.section-title,.category-title,
  .dua-title,.article-title,.access-title,.big-title,
  .arabic,.ayah-arabic,.dua-arabic,.surah-arabic,
  [dir="rtl"],.rtl,.bismillah,.bismillah-text
),
html.theme-emerald-quran body:not(.page-themes-pro) :is(
  h1,h2,.page-title,.hero-title,.section-title,.category-title,
  .dua-title,.article-title,.access-title,.big-title,
  .arabic,.ayah-arabic,.dua-arabic,.surah-arabic,
  [dir="rtl"],.rtl,.bismillah,.bismillah-text
),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(
  h1,h2,.page-title,.hero-title,.section-title,.category-title,
  .dua-title,.article-title,.access-title,.big-title,
  .arabic,.ayah-arabic,.dua-arabic,.surah-arabic,
  [dir="rtl"],.rtl,.bismillah,.bismillah-text
),
body.theme-emerald-quran:not(.page-themes-pro) :is(
  h1,h2,.page-title,.hero-title,.section-title,.category-title,
  .dua-title,.article-title,.access-title,.big-title,
  .arabic,.ayah-arabic,.dua-arabic,.surah-arabic,
  [dir="rtl"],.rtl,.bismillah,.bismillah-text
),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(
  h1,h2,.page-title,.hero-title,.section-title,.category-title,
  .dua-title,.article-title,.access-title,.big-title,
  .arabic,.ayah-arabic,.dua-arabic,.surah-arabic,
  [dir="rtl"],.rtl,.bismillah,.bismillah-text
){
  color:#fff1b8 !important;
  -webkit-text-fill-color:#fff1b8 !important;
  text-shadow:0 2px 14px rgba(0,0,0,.50),0 0 18px rgba(255,241,184,.12) !important;
}

/* AQUA-BLUE: card/item names, surah names, numbers, labels, links, icons, active accents */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(
  h3,h4,h5,h6,
  .card-title,.item-title,.surah-name,.name,.title-small,
  .prayer-name,.next-name,.big-location,.meta-value,.prayer-time,
  .surah-number,.ayah-index,.month-num,.number,.count,.counter,
  .badge,.chip,.pill,.tag,.label,.field-label,.meta-label,
  a,strong,.accent,.brand-accent,.help-option-arrow,.link a,.footer a,
  .active,.is-active,.selected,.is-selected,[aria-current="true"],
  .icon,.card-icon,.task-icon,.share-icon,[class*="icon"]
),
html.theme-emerald-quran body:not(.page-themes-pro) :is(
  h3,h4,h5,h6,
  .card-title,.item-title,.surah-name,.name,.title-small,
  .prayer-name,.next-name,.big-location,.meta-value,.prayer-time,
  .surah-number,.ayah-index,.month-num,.number,.count,.counter,
  .badge,.chip,.pill,.tag,.label,.field-label,.meta-label,
  a,strong,.accent,.brand-accent,.help-option-arrow,.link a,.footer a,
  .active,.is-active,.selected,.is-selected,[aria-current="true"],
  .icon,.card-icon,.task-icon,.share-icon,[class*="icon"]
),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(
  h3,h4,h5,h6,
  .card-title,.item-title,.surah-name,.name,.title-small,
  .prayer-name,.next-name,.big-location,.meta-value,.prayer-time,
  .surah-number,.ayah-index,.month-num,.number,.count,.counter,
  .badge,.chip,.pill,.tag,.label,.field-label,.meta-label,
  a,strong,.accent,.brand-accent,.help-option-arrow,.link a,.footer a,
  .active,.is-active,.selected,.is-selected,[aria-current="true"],
  .icon,.card-icon,.task-icon,.share-icon,[class*="icon"]
),
body.theme-emerald-quran:not(.page-themes-pro) :is(
  h3,h4,h5,h6,
  .card-title,.item-title,.surah-name,.name,.title-small,
  .prayer-name,.next-name,.big-location,.meta-value,.prayer-time,
  .surah-number,.ayah-index,.month-num,.number,.count,.counter,
  .badge,.chip,.pill,.tag,.label,.field-label,.meta-label,
  a,strong,.accent,.brand-accent,.help-option-arrow,.link a,.footer a,
  .active,.is-active,.selected,.is-selected,[aria-current="true"],
  .icon,.card-icon,.task-icon,.share-icon,[class*="icon"]
),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(
  h3,h4,h5,h6,
  .card-title,.item-title,.surah-name,.name,.title-small,
  .prayer-name,.next-name,.big-location,.meta-value,.prayer-time,
  .surah-number,.ayah-index,.month-num,.number,.count,.counter,
  .badge,.chip,.pill,.tag,.label,.field-label,.meta-label,
  a,strong,.accent,.brand-accent,.help-option-arrow,.link a,.footer a,
  .active,.is-active,.selected,.is-selected,[aria-current="true"],
  .icon,.card-icon,.task-icon,.share-icon,[class*="icon"]
){
  color:#b8fff5 !important;
  -webkit-text-fill-color:#b8fff5 !important;
  text-shadow:0 2px 12px rgba(0,0,0,.42),0 0 14px rgba(184,255,245,.14) !important;
}

/* WHITE: descriptions, translations, body copy */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(
  p,li,span,small,em,b,i,div,
  .subtitle,.tagline,.note,.description,.text,.content-text,
  .meaning,.ayah-meaning,.dua-meaning,.translation,.trans,
  .article p,.card p,.item p,.support-card p,.help-card p,
  .daily-card p,.challenge-card p,.task-card p,.quick-card p,
  .jumuah-card p,.greeting-card p
),
html.theme-emerald-quran body:not(.page-themes-pro) :is(
  p,li,span,small,em,b,i,div,
  .subtitle,.tagline,.note,.description,.text,.content-text,
  .meaning,.ayah-meaning,.dua-meaning,.translation,.trans,
  .article p,.card p,.item p,.support-card p,.help-card p,
  .daily-card p,.challenge-card p,.task-card p,.quick-card p,
  .jumuah-card p,.greeting-card p
),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(
  p,li,span,small,em,b,i,div,
  .subtitle,.tagline,.note,.description,.text,.content-text,
  .meaning,.ayah-meaning,.dua-meaning,.translation,.trans,
  .article p,.card p,.item p,.support-card p,.help-card p,
  .daily-card p,.challenge-card p,.task-card p,.quick-card p,
  .jumuah-card p,.greeting-card p
),
body.theme-emerald-quran:not(.page-themes-pro) :is(
  p,li,span,small,em,b,i,div,
  .subtitle,.tagline,.note,.description,.text,.content-text,
  .meaning,.ayah-meaning,.dua-meaning,.translation,.trans,
  .article p,.card p,.item p,.support-card p,.help-card p,
  .daily-card p,.challenge-card p,.task-card p,.quick-card p,
  .jumuah-card p,.greeting-card p
),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(
  p,li,span,small,em,b,i,div,
  .subtitle,.tagline,.note,.description,.text,.content-text,
  .meaning,.ayah-meaning,.dua-meaning,.translation,.trans,
  .article p,.card p,.item p,.support-card p,.help-card p,
  .daily-card p,.challenge-card p,.task-card p,.quick-card p,
  .jumuah-card p,.greeting-card p
){
  color:#f7fff9 !important;
  -webkit-text-fill-color:#f7fff9 !important;
}

/* MUTED WHITE-GREEN: metadata, secondary explanations, transliteration */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(
  .muted,.text-muted,.meta,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,
  .countdown-note,.wallet-note,.dua-ref,.source,.ref,.translit,.ayah-translit,.dua-translit,
  .caption,.hint,.helper,.subtext
),
html.theme-emerald-quran body:not(.page-themes-pro) :is(
  .muted,.text-muted,.meta,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,
  .countdown-note,.wallet-note,.dua-ref,.source,.ref,.translit,.ayah-translit,.dua-translit,
  .caption,.hint,.helper,.subtext
),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(
  .muted,.text-muted,.meta,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,
  .countdown-note,.wallet-note,.dua-ref,.source,.ref,.translit,.ayah-translit,.dua-translit,
  .caption,.hint,.helper,.subtext
),
body.theme-emerald-quran:not(.page-themes-pro) :is(
  .muted,.text-muted,.meta,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,
  .countdown-note,.wallet-note,.dua-ref,.source,.ref,.translit,.ayah-translit,.dua-translit,
  .caption,.hint,.helper,.subtext
),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(
  .muted,.text-muted,.meta,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,
  .countdown-note,.wallet-note,.dua-ref,.source,.ref,.translit,.ayah-translit,.dua-translit,
  .caption,.hint,.helper,.subtext
){
  color:#d8f8e6 !important;
  -webkit-text-fill-color:#d8f8e6 !important;
}

/* Buttons: gold labels with aqua icons */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(
  button:not(.theme-switch),.btn,.quick-btn,.filter-btn,.tab,.tabs button,
  .install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,
  .play-btn,.reset-btn,.qibla-reset,.donation-dropdown summary,.mobile-dropdown-title,[role="button"]
),
html.theme-emerald-quran body:not(.page-themes-pro) :is(
  button:not(.theme-switch),.btn,.quick-btn,.filter-btn,.tab,.tabs button,
  .install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,
  .play-btn,.reset-btn,.qibla-reset,.donation-dropdown summary,.mobile-dropdown-title,[role="button"]
),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(
  button:not(.theme-switch),.btn,.quick-btn,.filter-btn,.tab,.tabs button,
  .install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,
  .play-btn,.reset-btn,.qibla-reset,.donation-dropdown summary,.mobile-dropdown-title,[role="button"]
),
body.theme-emerald-quran:not(.page-themes-pro) :is(
  button:not(.theme-switch),.btn,.quick-btn,.filter-btn,.tab,.tabs button,
  .install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,
  .play-btn,.reset-btn,.qibla-reset,.donation-dropdown summary,.mobile-dropdown-title,[role="button"]
),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(
  button:not(.theme-switch),.btn,.quick-btn,.filter-btn,.tab,.tabs button,
  .install-btn,.copy-wallet-btn,.share-wallet-btn,.share-btn,.round-share-btn,
  .play-btn,.reset-btn,.qibla-reset,.donation-dropdown summary,.mobile-dropdown-title,[role="button"]
){
  color:#fff1b8 !important;
  -webkit-text-fill-color:#fff1b8 !important;
}

/* Inputs */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
html.theme-emerald-quran body:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.theme-emerald-quran:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(input:not(.theme-switch),textarea,select,.input,.select,.search-input,.search-box input,.number){
  color:#f7fff9 !important;
  -webkit-text-fill-color:#f7fff9 !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) ::placeholder,
html.theme-emerald-quran body:not(.page-themes-pro) ::placeholder,
body.premium-theme-emerald-quran:not(.page-themes-pro) ::placeholder,
body.theme-emerald-quran:not(.page-themes-pro) ::placeholder,
body.bw-theme-emerald-quran:not(.page-themes-pro) ::placeholder{
  color:#d8f8e6 !important;
  -webkit-text-fill-color:#d8f8e6 !important;
  opacity:1 !important;
}

/* Bottom navigation: gold labels, aqua active/hover */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.bottom-app-nav,.bottom-nav) :is(span,label,small,div,a,button),
html.theme-emerald-quran body:not(.page-themes-pro) :is(.bottom-app-nav,.bottom-nav) :is(span,label,small,div,a,button),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.bottom-app-nav,.bottom-nav) :is(span,label,small,div,a,button),
body.theme-emerald-quran:not(.page-themes-pro) :is(.bottom-app-nav,.bottom-nav) :is(span,label,small,div,a,button),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.bottom-app-nav,.bottom-nav) :is(span,label,small,div,a,button){
  color:#fff1b8 !important;
  -webkit-text-fill-color:#fff1b8 !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.bottom-app-nav-item.active,.bottom-nav a.active,.bottom-nav button.active),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.bottom-app-nav-item.active,.bottom-nav a.active,.bottom-nav button.active),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.bottom-app-nav-item.active,.bottom-nav a.active,.bottom-nav button.active){
  color:#b8fff5 !important;
  -webkit-text-fill-color:#b8fff5 !important;
}

/* Keep SVG/image/progress visuals intact */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar){
  -webkit-text-fill-color:initial !important;
}

/* ===== EMERALD QURAN FINAL THREE-COLOR TEXT OVERRIDE V12 ===== */
/*
  Final override layer. Must stay at the very end of theme.css and theme-universal.css.
  Fixes broad earlier rules that made every text white.
*/

html.premium-theme-emerald-quran,
html.theme-emerald-quran,
body.premium-theme-emerald-quran,
body.theme-emerald-quran,
body.bw-theme-emerald-quran{
  --bw-emerald-gold:#fff1b8 !important;
  --bw-emerald-aqua:#b8fff5 !important;
  --bw-emerald-white:#f7fff9 !important;
  --bw-emerald-muted:#d8f8e6 !important;
}

/* 1) GOLD — page titles, main section titles, Arabic primary */
html.premium-theme-emerald-quran body:not(.page-themes-pro) h1,
html.premium-theme-emerald-quran body:not(.page-themes-pro) h2,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .page-title,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .hero-title,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .section-title,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .category-title,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .dua-title,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .article-title,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .arabic,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .ayah-arabic,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .dua-arabic,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-arabic,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .bismillah,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .bismillah-text,
html.theme-emerald-quran body:not(.page-themes-pro) h1,
html.theme-emerald-quran body:not(.page-themes-pro) h2,
html.theme-emerald-quran body:not(.page-themes-pro) .page-title,
html.theme-emerald-quran body:not(.page-themes-pro) .hero-title,
html.theme-emerald-quran body:not(.page-themes-pro) .section-title,
html.theme-emerald-quran body:not(.page-themes-pro) .category-title,
html.theme-emerald-quran body:not(.page-themes-pro) .dua-title,
html.theme-emerald-quran body:not(.page-themes-pro) .article-title,
html.theme-emerald-quran body:not(.page-themes-pro) .arabic,
html.theme-emerald-quran body:not(.page-themes-pro) .ayah-arabic,
html.theme-emerald-quran body:not(.page-themes-pro) .dua-arabic,
html.theme-emerald-quran body:not(.page-themes-pro) .surah-arabic,
html.theme-emerald-quran body:not(.page-themes-pro) .bismillah,
html.theme-emerald-quran body:not(.page-themes-pro) .bismillah-text,
body.premium-theme-emerald-quran:not(.page-themes-pro) h1,
body.premium-theme-emerald-quran:not(.page-themes-pro) h2,
body.premium-theme-emerald-quran:not(.page-themes-pro) .page-title,
body.premium-theme-emerald-quran:not(.page-themes-pro) .hero-title,
body.premium-theme-emerald-quran:not(.page-themes-pro) .section-title,
body.premium-theme-emerald-quran:not(.page-themes-pro) .category-title,
body.premium-theme-emerald-quran:not(.page-themes-pro) .dua-title,
body.premium-theme-emerald-quran:not(.page-themes-pro) .article-title,
body.premium-theme-emerald-quran:not(.page-themes-pro) .arabic,
body.premium-theme-emerald-quran:not(.page-themes-pro) .ayah-arabic,
body.premium-theme-emerald-quran:not(.page-themes-pro) .dua-arabic,
body.premium-theme-emerald-quran:not(.page-themes-pro) .surah-arabic,
body.premium-theme-emerald-quran:not(.page-themes-pro) .bismillah,
body.premium-theme-emerald-quran:not(.page-themes-pro) .bismillah-text,
body.bw-theme-emerald-quran:not(.page-themes-pro) h1,
body.bw-theme-emerald-quran:not(.page-themes-pro) h2,
body.bw-theme-emerald-quran:not(.page-themes-pro) .page-title,
body.bw-theme-emerald-quran:not(.page-themes-pro) .hero-title,
body.bw-theme-emerald-quran:not(.page-themes-pro) .section-title,
body.bw-theme-emerald-quran:not(.page-themes-pro) .category-title,
body.bw-theme-emerald-quran:not(.page-themes-pro) .dua-title,
body.bw-theme-emerald-quran:not(.page-themes-pro) .article-title,
body.bw-theme-emerald-quran:not(.page-themes-pro) .arabic,
body.bw-theme-emerald-quran:not(.page-themes-pro) .ayah-arabic,
body.bw-theme-emerald-quran:not(.page-themes-pro) .dua-arabic,
body.bw-theme-emerald-quran:not(.page-themes-pro) .surah-arabic,
body.bw-theme-emerald-quran:not(.page-themes-pro) .bismillah,
body.bw-theme-emerald-quran:not(.page-themes-pro) .bismillah-text{
  color:#fff1b8 !important;
  -webkit-text-fill-color:#fff1b8 !important;
  text-shadow:0 2px 14px rgba(0,0,0,.50),0 0 18px rgba(255,241,184,.14) !important;
}

/* 2) AQUA — card names, surah names, numbers, accents, labels */
html.premium-theme-emerald-quran body:not(.page-themes-pro) h3,
html.premium-theme-emerald-quran body:not(.page-themes-pro) h4,
html.premium-theme-emerald-quran body:not(.page-themes-pro) h5,
html.premium-theme-emerald-quran body:not(.page-themes-pro) h6,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .card-title,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .item-title,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-name,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .prayer-name,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .next-name,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-number,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .ayah-index,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .meta-value,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .prayer-time,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .badge,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .chip,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .pill,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .tag,
html.premium-theme-emerald-quran body:not(.page-themes-pro) a,
html.premium-theme-emerald-quran body:not(.page-themes-pro) strong,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .accent,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .brand-accent,
html.theme-emerald-quran body:not(.page-themes-pro) h3,
html.theme-emerald-quran body:not(.page-themes-pro) h4,
html.theme-emerald-quran body:not(.page-themes-pro) h5,
html.theme-emerald-quran body:not(.page-themes-pro) h6,
html.theme-emerald-quran body:not(.page-themes-pro) .card-title,
html.theme-emerald-quran body:not(.page-themes-pro) .item-title,
html.theme-emerald-quran body:not(.page-themes-pro) .surah-name,
html.theme-emerald-quran body:not(.page-themes-pro) .prayer-name,
html.theme-emerald-quran body:not(.page-themes-pro) .next-name,
html.theme-emerald-quran body:not(.page-themes-pro) .surah-number,
html.theme-emerald-quran body:not(.page-themes-pro) .ayah-index,
html.theme-emerald-quran body:not(.page-themes-pro) .meta-value,
html.theme-emerald-quran body:not(.page-themes-pro) .prayer-time,
html.theme-emerald-quran body:not(.page-themes-pro) .badge,
html.theme-emerald-quran body:not(.page-themes-pro) .chip,
html.theme-emerald-quran body:not(.page-themes-pro) .pill,
html.theme-emerald-quran body:not(.page-themes-pro) .tag,
html.theme-emerald-quran body:not(.page-themes-pro) a,
html.theme-emerald-quran body:not(.page-themes-pro) strong,
html.theme-emerald-quran body:not(.page-themes-pro) .accent,
html.theme-emerald-quran body:not(.page-themes-pro) .brand-accent,
body.premium-theme-emerald-quran:not(.page-themes-pro) h3,
body.premium-theme-emerald-quran:not(.page-themes-pro) h4,
body.premium-theme-emerald-quran:not(.page-themes-pro) h5,
body.premium-theme-emerald-quran:not(.page-themes-pro) h6,
body.premium-theme-emerald-quran:not(.page-themes-pro) .card-title,
body.premium-theme-emerald-quran:not(.page-themes-pro) .item-title,
body.premium-theme-emerald-quran:not(.page-themes-pro) .surah-name,
body.premium-theme-emerald-quran:not(.page-themes-pro) .prayer-name,
body.premium-theme-emerald-quran:not(.page-themes-pro) .next-name,
body.premium-theme-emerald-quran:not(.page-themes-pro) .surah-number,
body.premium-theme-emerald-quran:not(.page-themes-pro) .ayah-index,
body.premium-theme-emerald-quran:not(.page-themes-pro) .meta-value,
body.premium-theme-emerald-quran:not(.page-themes-pro) .prayer-time,
body.premium-theme-emerald-quran:not(.page-themes-pro) .badge,
body.premium-theme-emerald-quran:not(.page-themes-pro) .chip,
body.premium-theme-emerald-quran:not(.page-themes-pro) .pill,
body.premium-theme-emerald-quran:not(.page-themes-pro) .tag,
body.premium-theme-emerald-quran:not(.page-themes-pro) a,
body.premium-theme-emerald-quran:not(.page-themes-pro) strong,
body.premium-theme-emerald-quran:not(.page-themes-pro) .accent,
body.premium-theme-emerald-quran:not(.page-themes-pro) .brand-accent,
body.bw-theme-emerald-quran:not(.page-themes-pro) h3,
body.bw-theme-emerald-quran:not(.page-themes-pro) h4,
body.bw-theme-emerald-quran:not(.page-themes-pro) h5,
body.bw-theme-emerald-quran:not(.page-themes-pro) h6,
body.bw-theme-emerald-quran:not(.page-themes-pro) .card-title,
body.bw-theme-emerald-quran:not(.page-themes-pro) .item-title,
body.bw-theme-emerald-quran:not(.page-themes-pro) .surah-name,
body.bw-theme-emerald-quran:not(.page-themes-pro) .prayer-name,
body.bw-theme-emerald-quran:not(.page-themes-pro) .next-name,
body.bw-theme-emerald-quran:not(.page-themes-pro) .surah-number,
body.bw-theme-emerald-quran:not(.page-themes-pro) .ayah-index,
body.bw-theme-emerald-quran:not(.page-themes-pro) .meta-value,
body.bw-theme-emerald-quran:not(.page-themes-pro) .prayer-time,
body.bw-theme-emerald-quran:not(.page-themes-pro) .badge,
body.bw-theme-emerald-quran:not(.page-themes-pro) .chip,
body.bw-theme-emerald-quran:not(.page-themes-pro) .pill,
body.bw-theme-emerald-quran:not(.page-themes-pro) .tag,
body.bw-theme-emerald-quran:not(.page-themes-pro) a,
body.bw-theme-emerald-quran:not(.page-themes-pro) strong,
body.bw-theme-emerald-quran:not(.page-themes-pro) .accent,
body.bw-theme-emerald-quran:not(.page-themes-pro) .brand-accent{
  color:#b8fff5 !important;
  -webkit-text-fill-color:#b8fff5 !important;
  text-shadow:0 2px 12px rgba(0,0,0,.42),0 0 14px rgba(184,255,245,.16) !important;
}

/* 3) WHITE — body text / descriptions / translation */
html.premium-theme-emerald-quran body:not(.page-themes-pro) p,
html.premium-theme-emerald-quran body:not(.page-themes-pro) li,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .subtitle,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .tagline,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .description,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .text,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .content-text,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .meaning,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .ayah-meaning,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .dua-meaning,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .translation,
html.theme-emerald-quran body:not(.page-themes-pro) p,
html.theme-emerald-quran body:not(.page-themes-pro) li,
html.theme-emerald-quran body:not(.page-themes-pro) .subtitle,
html.theme-emerald-quran body:not(.page-themes-pro) .tagline,
html.theme-emerald-quran body:not(.page-themes-pro) .description,
html.theme-emerald-quran body:not(.page-themes-pro) .text,
html.theme-emerald-quran body:not(.page-themes-pro) .content-text,
html.theme-emerald-quran body:not(.page-themes-pro) .meaning,
html.theme-emerald-quran body:not(.page-themes-pro) .ayah-meaning,
html.theme-emerald-quran body:not(.page-themes-pro) .dua-meaning,
html.theme-emerald-quran body:not(.page-themes-pro) .translation,
body.premium-theme-emerald-quran:not(.page-themes-pro) p,
body.premium-theme-emerald-quran:not(.page-themes-pro) li,
body.premium-theme-emerald-quran:not(.page-themes-pro) .subtitle,
body.premium-theme-emerald-quran:not(.page-themes-pro) .tagline,
body.premium-theme-emerald-quran:not(.page-themes-pro) .description,
body.premium-theme-emerald-quran:not(.page-themes-pro) .text,
body.premium-theme-emerald-quran:not(.page-themes-pro) .content-text,
body.premium-theme-emerald-quran:not(.page-themes-pro) .meaning,
body.premium-theme-emerald-quran:not(.page-themes-pro) .ayah-meaning,
body.premium-theme-emerald-quran:not(.page-themes-pro) .dua-meaning,
body.premium-theme-emerald-quran:not(.page-themes-pro) .translation,
body.bw-theme-emerald-quran:not(.page-themes-pro) p,
body.bw-theme-emerald-quran:not(.page-themes-pro) li,
body.bw-theme-emerald-quran:not(.page-themes-pro) .subtitle,
body.bw-theme-emerald-quran:not(.page-themes-pro) .tagline,
body.bw-theme-emerald-quran:not(.page-themes-pro) .description,
body.bw-theme-emerald-quran:not(.page-themes-pro) .text,
body.bw-theme-emerald-quran:not(.page-themes-pro) .content-text,
body.bw-theme-emerald-quran:not(.page-themes-pro) .meaning,
body.bw-theme-emerald-quran:not(.page-themes-pro) .ayah-meaning,
body.bw-theme-emerald-quran:not(.page-themes-pro) .dua-meaning,
body.bw-theme-emerald-quran:not(.page-themes-pro) .translation{
  color:#f7fff9 !important;
  -webkit-text-fill-color:#f7fff9 !important;
}

/* MUTED — transliteration and metadata */
html.premium-theme-emerald-quran body:not(.page-themes-pro) .muted,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .text-muted,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .meta,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .prayer-meta,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-meta,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .ayah-count,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-count,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .surah-ayahs,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .translit,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .ayah-translit,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .dua-translit,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .ref,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .source,
body.premium-theme-emerald-quran:not(.page-themes-pro) .muted,
body.premium-theme-emerald-quran:not(.page-themes-pro) .text-muted,
body.premium-theme-emerald-quran:not(.page-themes-pro) .meta,
body.premium-theme-emerald-quran:not(.page-themes-pro) .prayer-meta,
body.premium-theme-emerald-quran:not(.page-themes-pro) .surah-meta,
body.premium-theme-emerald-quran:not(.page-themes-pro) .ayah-count,
body.premium-theme-emerald-quran:not(.page-themes-pro) .surah-count,
body.premium-theme-emerald-quran:not(.page-themes-pro) .surah-ayahs,
body.premium-theme-emerald-quran:not(.page-themes-pro) .translit,
body.premium-theme-emerald-quran:not(.page-themes-pro) .ayah-translit,
body.premium-theme-emerald-quran:not(.page-themes-pro) .dua-translit,
body.premium-theme-emerald-quran:not(.page-themes-pro) .ref,
body.premium-theme-emerald-quran:not(.page-themes-pro) .source,
body.bw-theme-emerald-quran:not(.page-themes-pro) .muted,
body.bw-theme-emerald-quran:not(.page-themes-pro) .text-muted,
body.bw-theme-emerald-quran:not(.page-themes-pro) .meta,
body.bw-theme-emerald-quran:not(.page-themes-pro) .prayer-meta,
body.bw-theme-emerald-quran:not(.page-themes-pro) .surah-meta,
body.bw-theme-emerald-quran:not(.page-themes-pro) .ayah-count,
body.bw-theme-emerald-quran:not(.page-themes-pro) .surah-count,
body.bw-theme-emerald-quran:not(.page-themes-pro) .surah-ayahs,
body.bw-theme-emerald-quran:not(.page-themes-pro) .translit,
body.bw-theme-emerald-quran:not(.page-themes-pro) .ayah-translit,
body.bw-theme-emerald-quran:not(.page-themes-pro) .dua-translit,
body.bw-theme-emerald-quran:not(.page-themes-pro) .ref,
body.bw-theme-emerald-quran:not(.page-themes-pro) .source{
  color:#d8f8e6 !important;
  -webkit-text-fill-color:#d8f8e6 !important;
}

/* Buttons: gold text */
html.premium-theme-emerald-quran body:not(.page-themes-pro) button:not(.theme-switch),
html.premium-theme-emerald-quran body:not(.page-themes-pro) .btn,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .quick-btn,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .filter-btn,
html.premium-theme-emerald-quran body:not(.page-themes-pro) .tab,
html.premium-theme-emerald-quran body:not(.page-themes-pro) [role="button"],
body.premium-theme-emerald-quran:not(.page-themes-pro) button:not(.theme-switch),
body.premium-theme-emerald-quran:not(.page-themes-pro) .btn,
body.premium-theme-emerald-quran:not(.page-themes-pro) .quick-btn,
body.premium-theme-emerald-quran:not(.page-themes-pro) .filter-btn,
body.premium-theme-emerald-quran:not(.page-themes-pro) .tab,
body.premium-theme-emerald-quran:not(.page-themes-pro) [role="button"],
body.bw-theme-emerald-quran:not(.page-themes-pro) button:not(.theme-switch),
body.bw-theme-emerald-quran:not(.page-themes-pro) .btn,
body.bw-theme-emerald-quran:not(.page-themes-pro) .quick-btn,
body.bw-theme-emerald-quran:not(.page-themes-pro) .filter-btn,
body.bw-theme-emerald-quran:not(.page-themes-pro) .tab,
body.bw-theme-emerald-quran:not(.page-themes-pro) [role="button"]{
  color:#fff1b8 !important;
  -webkit-text-fill-color:#fff1b8 !important;
}

/* Inputs */
html.premium-theme-emerald-quran body:not(.page-themes-pro) input:not(.theme-switch),
html.premium-theme-emerald-quran body:not(.page-themes-pro) textarea,
html.premium-theme-emerald-quran body:not(.page-themes-pro) select,
body.premium-theme-emerald-quran:not(.page-themes-pro) input:not(.theme-switch),
body.premium-theme-emerald-quran:not(.page-themes-pro) textarea,
body.premium-theme-emerald-quran:not(.page-themes-pro) select,
body.bw-theme-emerald-quran:not(.page-themes-pro) input:not(.theme-switch),
body.bw-theme-emerald-quran:not(.page-themes-pro) textarea,
body.bw-theme-emerald-quran:not(.page-themes-pro) select{
  color:#f7fff9 !important;
  -webkit-text-fill-color:#f7fff9 !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) ::placeholder,
body.premium-theme-emerald-quran:not(.page-themes-pro) ::placeholder,
body.bw-theme-emerald-quran:not(.page-themes-pro) ::placeholder{
  color:#d8f8e6 !important;
  -webkit-text-fill-color:#d8f8e6 !important;
  opacity:1 !important;
}

/* Bottom nav: gold labels */
html.premium-theme-emerald-quran body:not(.page-themes-pro) .bottom-app-nav *,
body.premium-theme-emerald-quran:not(.page-themes-pro) .bottom-app-nav *,
body.bw-theme-emerald-quran:not(.page-themes-pro) .bottom-app-nav *{
  color:#fff1b8 !important;
  -webkit-text-fill-color:#fff1b8 !important;
}

/* Preserve SVG/image visuals */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar){
  -webkit-text-fill-color:initial !important;
}

/* ===== EMERALD QURAN VISIBLE THREE-COLOR FINAL V13 ===== */
/*
  FINAL visible layer for Emerald Quran.
  This overrides previous broad white text rules and makes the 3-color system visible:
  gold = main headings / Arabic
  aqua = names / labels / numbers / accents
  white = descriptions / translations / body text
*/

html.premium-theme-emerald-quran,
html.theme-emerald-quran,
body.premium-theme-emerald-quran,
body.theme-emerald-quran,
body.bw-theme-emerald-quran{
  --bw-emerald-gold:#fff0b3 !important;
  --bw-emerald-aqua:#9fffee !important;
  --bw-emerald-white:#f5fff9 !important;
  --bw-emerald-muted:#d6f6e5 !important;
}

/* default readable white */
html.premium-theme-emerald-quran body:not(.page-themes-pro) *:not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon):not(img):not(canvas):not(video):not(iframe),
html.theme-emerald-quran body:not(.page-themes-pro) *:not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon):not(img):not(canvas):not(video):not(iframe),
body.premium-theme-emerald-quran:not(.page-themes-pro) *:not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon):not(img):not(canvas):not(video):not(iframe),
body.theme-emerald-quran:not(.page-themes-pro) *:not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon):not(img):not(canvas):not(video):not(iframe),
body.bw-theme-emerald-quran:not(.page-themes-pro) *:not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon):not(img):not(canvas):not(video):not(iframe){
  color:#f5fff9 !important;
  -webkit-text-fill-color:#f5fff9 !important;
}

/* GOLD — visible on page headings, main section titles, Arabic/Quran text */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(h1,h2,.page-title,.hero-title,.section-title,.category-title,.dua-title,.article-title,.big-title,.bismillah,.bismillah-text,[dir="rtl"],[lang="ar"],[class*="arab"],[class*="Arabic"],[class*="ayah-arabic"],[class*="dua-arabic"],[class*="surah-arabic"],[class*="quran-arabic"]),
html.theme-emerald-quran body:not(.page-themes-pro) :is(h1,h2,.page-title,.hero-title,.section-title,.category-title,.dua-title,.article-title,.big-title,.bismillah,.bismillah-text,[dir="rtl"],[lang="ar"],[class*="arab"],[class*="Arabic"],[class*="ayah-arabic"],[class*="dua-arabic"],[class*="surah-arabic"],[class*="quran-arabic"]),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(h1,h2,.page-title,.hero-title,.section-title,.category-title,.dua-title,.article-title,.big-title,.bismillah,.bismillah-text,[dir="rtl"],[lang="ar"],[class*="arab"],[class*="Arabic"],[class*="ayah-arabic"],[class*="dua-arabic"],[class*="surah-arabic"],[class*="quran-arabic"]),
body.theme-emerald-quran:not(.page-themes-pro) :is(h1,h2,.page-title,.hero-title,.section-title,.category-title,.dua-title,.article-title,.big-title,.bismillah,.bismillah-text,[dir="rtl"],[lang="ar"],[class*="arab"],[class*="Arabic"],[class*="ayah-arabic"],[class*="dua-arabic"],[class*="surah-arabic"],[class*="quran-arabic"]),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(h1,h2,.page-title,.hero-title,.section-title,.category-title,.dua-title,.article-title,.big-title,.bismillah,.bismillah-text,[dir="rtl"],[lang="ar"],[class*="arab"],[class*="Arabic"],[class*="ayah-arabic"],[class*="dua-arabic"],[class*="surah-arabic"],[class*="quran-arabic"]){
  color:#fff0b3 !important;
  -webkit-text-fill-color:#fff0b3 !important;
  text-shadow:0 2px 14px rgba(0,0,0,.52),0 0 18px rgba(255,240,179,.18) !important;
}

/* AQUA — card titles, names, numbers, labels, buttons text, links */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(h3,h4,h5,h6,.card-title,.item-title,.surah-name,.dua-name,.article-name,.name,.title,.title-small,[class*="title"]:not(.page-title):not(.hero-title):not(.section-title),.prayer-name,.next-name,.meta-value,.prayer-time,.surah-number,.ayah-index,.month-num,.number,.count,.counter,.badge,.chip,.pill,.tag,.label,.field-label,.meta-label,a,strong,.accent,.brand-accent,.active,.is-active,.selected,.is-selected,[aria-current="true"],button:not(.theme-switch),.btn,.quick-btn,.filter-btn,.tab,[role="button"]),
html.theme-emerald-quran body:not(.page-themes-pro) :is(h3,h4,h5,h6,.card-title,.item-title,.surah-name,.dua-name,.article-name,.name,.title,.title-small,[class*="title"]:not(.page-title):not(.hero-title):not(.section-title),.prayer-name,.next-name,.meta-value,.prayer-time,.surah-number,.ayah-index,.month-num,.number,.count,.counter,.badge,.chip,.pill,.tag,.label,.field-label,.meta-label,a,strong,.accent,.brand-accent,.active,.is-active,.selected,.is-selected,[aria-current="true"],button:not(.theme-switch),.btn,.quick-btn,.filter-btn,.tab,[role="button"]),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(h3,h4,h5,h6,.card-title,.item-title,.surah-name,.dua-name,.article-name,.name,.title,.title-small,[class*="title"]:not(.page-title):not(.hero-title):not(.section-title),.prayer-name,.next-name,.meta-value,.prayer-time,.surah-number,.ayah-index,.month-num,.number,.count,.counter,.badge,.chip,.pill,.tag,.label,.field-label,.meta-label,a,strong,.accent,.brand-accent,.active,.is-active,.selected,.is-selected,[aria-current="true"],button:not(.theme-switch),.btn,.quick-btn,.filter-btn,.tab,[role="button"]),
body.theme-emerald-quran:not(.page-themes-pro) :is(h3,h4,h5,h6,.card-title,.item-title,.surah-name,.dua-name,.article-name,.name,.title,.title-small,[class*="title"]:not(.page-title):not(.hero-title):not(.section-title),.prayer-name,.next-name,.meta-value,.prayer-time,.surah-number,.ayah-index,.month-num,.number,.count,.counter,.badge,.chip,.pill,.tag,.label,.field-label,.meta-label,a,strong,.accent,.brand-accent,.active,.is-active,.selected,.is-selected,[aria-current="true"],button:not(.theme-switch),.btn,.quick-btn,.filter-btn,.tab,[role="button"]),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(h3,h4,h5,h6,.card-title,.item-title,.surah-name,.dua-name,.article-name,.name,.title,.title-small,[class*="title"]:not(.page-title):not(.hero-title):not(.section-title),.prayer-name,.next-name,.meta-value,.prayer-time,.surah-number,.ayah-index,.month-num,.number,.count,.counter,.badge,.chip,.pill,.tag,.label,.field-label,.meta-label,a,strong,.accent,.brand-accent,.active,.is-active,.selected,.is-selected,[aria-current="true"],button:not(.theme-switch),.btn,.quick-btn,.filter-btn,.tab,[role="button"]){
  color:#9fffee !important;
  -webkit-text-fill-color:#9fffee !important;
  text-shadow:0 2px 12px rgba(0,0,0,.44),0 0 14px rgba(159,255,238,.18) !important;
}

/* WHITE — descriptions, translations, body content */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(p,li,.subtitle,.tagline,.description,.text,.content-text,.meaning,.ayah-meaning,.dua-meaning,.translation,.trans,.article p,.card p,.item p,.daily-card p,.challenge-card p,.task-card p,.quick-card p),
html.theme-emerald-quran body:not(.page-themes-pro) :is(p,li,.subtitle,.tagline,.description,.text,.content-text,.meaning,.ayah-meaning,.dua-meaning,.translation,.trans,.article p,.card p,.item p,.daily-card p,.challenge-card p,.task-card p,.quick-card p),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(p,li,.subtitle,.tagline,.description,.text,.content-text,.meaning,.ayah-meaning,.dua-meaning,.translation,.trans,.article p,.card p,.item p,.daily-card p,.challenge-card p,.task-card p,.quick-card p),
body.theme-emerald-quran:not(.page-themes-pro) :is(p,li,.subtitle,.tagline,.description,.text,.content-text,.meaning,.ayah-meaning,.dua-meaning,.translation,.trans,.article p,.card p,.item p,.daily-card p,.challenge-card p,.task-card p,.quick-card p),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(p,li,.subtitle,.tagline,.description,.text,.content-text,.meaning,.ayah-meaning,.dua-meaning,.translation,.trans,.article p,.card p,.item p,.daily-card p,.challenge-card p,.task-card p,.quick-card p){
  color:#f5fff9 !important;
  -webkit-text-fill-color:#f5fff9 !important;
}

/* MUTED — transliteration / secondary metadata */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.muted,.text-muted,.meta,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,.translit,.ayah-translit,.dua-translit,.ref,.source,.caption,.hint,.helper,.subtext),
html.theme-emerald-quran body:not(.page-themes-pro) :is(.muted,.text-muted,.meta,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,.translit,.ayah-translit,.dua-translit,.ref,.source,.caption,.hint,.helper,.subtext),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.muted,.text-muted,.meta,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,.translit,.ayah-translit,.dua-translit,.ref,.source,.caption,.hint,.helper,.subtext),
body.theme-emerald-quran:not(.page-themes-pro) :is(.muted,.text-muted,.meta,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,.translit,.ayah-translit,.dua-translit,.ref,.source,.caption,.hint,.helper,.subtext),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.muted,.text-muted,.meta,.prayer-meta,.surah-meta,.ayah-count,.surah-count,.surah-ayahs,.translit,.ayah-translit,.dua-translit,.ref,.source,.caption,.hint,.helper,.subtext){
  color:#d6f6e5 !important;
  -webkit-text-fill-color:#d6f6e5 !important;
}

/* Specific Quran cards override: make differences visible even if markup is simple */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.surah-card,.ayah-card,.dua-card) :is([dir="rtl"],[lang="ar"],[class*="arab"],[class*="Arabic"]),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.surah-card,.ayah-card,.dua-card) :is([dir="rtl"],[lang="ar"],[class*="arab"],[class*="Arabic"]),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.surah-card,.ayah-card,.dua-card) :is([dir="rtl"],[lang="ar"],[class*="arab"],[class*="Arabic"]){
  color:#fff0b3 !important;
  -webkit-text-fill-color:#fff0b3 !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.surah-card,.ayah-card,.dua-card) :is(h3,h4,.surah-name,.card-title,.item-title),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.surah-card,.ayah-card,.dua-card) :is(h3,h4,.surah-name,.card-title,.item-title),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.surah-card,.ayah-card,.dua-card) :is(h3,h4,.surah-name,.card-title,.item-title){
  color:#9fffee !important;
  -webkit-text-fill-color:#9fffee !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.surah-card,.ayah-card,.dua-card) :is(p,.meaning,.translation,.ayah-meaning,.dua-meaning),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.surah-card,.ayah-card,.dua-card) :is(p,.meaning,.translation,.ayah-meaning,.dua-meaning),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.surah-card,.ayah-card,.dua-card) :is(p,.meaning,.translation,.ayah-meaning,.dua-meaning){
  color:#f5fff9 !important;
  -webkit-text-fill-color:#f5fff9 !important;
}

/* Preserve visuals */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe,.preview-pill,.progress-bar){
  -webkit-text-fill-color:initial !important;
}

/* ===== EMERALD QURAN ARABIC GOLD TRANSLATION AQUA V14 ===== */
/*
  Final targeted layer for Emerald Quran.
  Arabic text = light gold.
  Transliteration = soft white.
  Translation / meaning / перевод = light sky-aqua.
*/

html.premium-theme-emerald-quran,
html.theme-emerald-quran,
body.premium-theme-emerald-quran,
body.theme-emerald-quran,
body.bw-theme-emerald-quran{
  --bw-emerald-gold:#fff0b3 !important;
  --bw-emerald-aqua:#aef7ff !important;
  --bw-emerald-white:#f5fff9 !important;
}

/* Arabic text: Quran ayahs, dua Arabic, RTL Arabic blocks */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(
  [dir="rtl"],
  [lang="ar"],
  .arabic,
  .ayah-arabic,
  .dua-arabic,
  .surah-arabic,
  .quran-arabic,
  .bismillah,
  .bismillah-text,
  [class*="arab"],
  [class*="Arabic"]
),
html.theme-emerald-quran body:not(.page-themes-pro) :is(
  [dir="rtl"],
  [lang="ar"],
  .arabic,
  .ayah-arabic,
  .dua-arabic,
  .surah-arabic,
  .quran-arabic,
  .bismillah,
  .bismillah-text,
  [class*="arab"],
  [class*="Arabic"]
),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(
  [dir="rtl"],
  [lang="ar"],
  .arabic,
  .ayah-arabic,
  .dua-arabic,
  .surah-arabic,
  .quran-arabic,
  .bismillah,
  .bismillah-text,
  [class*="arab"],
  [class*="Arabic"]
),
body.theme-emerald-quran:not(.page-themes-pro) :is(
  [dir="rtl"],
  [lang="ar"],
  .arabic,
  .ayah-arabic,
  .dua-arabic,
  .surah-arabic,
  .quran-arabic,
  .bismillah,
  .bismillah-text,
  [class*="arab"],
  [class*="Arabic"]
),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(
  [dir="rtl"],
  [lang="ar"],
  .arabic,
  .ayah-arabic,
  .dua-arabic,
  .surah-arabic,
  .quran-arabic,
  .bismillah,
  .bismillah-text,
  [class*="arab"],
  [class*="Arabic"]
){
  color:#fff0b3 !important;
  -webkit-text-fill-color:#fff0b3 !important;
  text-shadow:0 2px 14px rgba(0,0,0,.52),0 0 18px rgba(255,240,179,.18) !important;
}

/* Transliteration: keep white */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(
  .translit,
  .ayah-translit,
  .dua-translit,
  .transcription,
  .transcription-text,
  [class*="translit"],
  [class*="Translit"],
  [class*="transcription"]
),
html.theme-emerald-quran body:not(.page-themes-pro) :is(
  .translit,
  .ayah-translit,
  .dua-translit,
  .transcription,
  .transcription-text,
  [class*="translit"],
  [class*="Translit"],
  [class*="transcription"]
),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(
  .translit,
  .ayah-translit,
  .dua-translit,
  .transcription,
  .transcription-text,
  [class*="translit"],
  [class*="Translit"],
  [class*="transcription"]
),
body.theme-emerald-quran:not(.page-themes-pro) :is(
  .translit,
  .ayah-translit,
  .dua-translit,
  .transcription,
  .transcription-text,
  [class*="translit"],
  [class*="Translit"],
  [class*="transcription"]
),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(
  .translit,
  .ayah-translit,
  .dua-translit,
  .transcription,
  .transcription-text,
  [class*="translit"],
  [class*="Translit"],
  [class*="transcription"]
){
  color:#f5fff9 !important;
  -webkit-text-fill-color:#f5fff9 !important;
  text-shadow:0 2px 12px rgba(0,0,0,.42) !important;
}

/* Translation / meaning / Russian перевод: light sky-aqua */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(
  .meaning,
  .ayah-meaning,
  .dua-meaning,
  .translation,
  .translation-text,
  .translate,
  .translation-ru,
  .ru-translation,
  .item-translation,
  .card-translation,
  [class*="meaning"],
  [class*="Meaning"],
  [class*="translation"],
  [class*="Translation"],
  [class*="translate"]
),
html.theme-emerald-quran body:not(.page-themes-pro) :is(
  .meaning,
  .ayah-meaning,
  .dua-meaning,
  .translation,
  .translation-text,
  .translate,
  .translation-ru,
  .ru-translation,
  .item-translation,
  .card-translation,
  [class*="meaning"],
  [class*="Meaning"],
  [class*="translation"],
  [class*="Translation"],
  [class*="translate"]
),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(
  .meaning,
  .ayah-meaning,
  .dua-meaning,
  .translation,
  .translation-text,
  .translate,
  .translation-ru,
  .ru-translation,
  .item-translation,
  .card-translation,
  [class*="meaning"],
  [class*="Meaning"],
  [class*="translation"],
  [class*="Translation"],
  [class*="translate"]
),
body.theme-emerald-quran:not(.page-themes-pro) :is(
  .meaning,
  .ayah-meaning,
  .dua-meaning,
  .translation,
  .translation-text,
  .translate,
  .translation-ru,
  .ru-translation,
  .item-translation,
  .card-translation,
  [class*="meaning"],
  [class*="Meaning"],
  [class*="translation"],
  [class*="Translation"],
  [class*="translate"]
),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(
  .meaning,
  .ayah-meaning,
  .dua-meaning,
  .translation,
  .translation-text,
  .translate,
  .translation-ru,
  .ru-translation,
  .item-translation,
  .card-translation,
  [class*="meaning"],
  [class*="Meaning"],
  [class*="translation"],
  [class*="Translation"],
  [class*="translate"]
){
  color:#aef7ff !important;
  -webkit-text-fill-color:#aef7ff !important;
  text-shadow:0 2px 12px rgba(0,0,0,.44),0 0 14px rgba(174,247,255,.16) !important;
}

/* Headline labels "ПЕРЕВОД" stay aqua too */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.section-label,.block-label,.label):has(+ .meaning),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.section-label,.block-label,.label):has(+ .meaning),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.section-label,.block-label,.label):has(+ .meaning){
  color:#aef7ff !important;
  -webkit-text-fill-color:#aef7ff !important;
}

/* ===== EMERALD QURAN FINAL ARABIC / TRANSLIT / TRANSLATION COLORS V15 ===== */
/*
  Final layer for Emerald Quran PRO across all pages.
  Arabic text = light gold.
  Transliteration = soft white.
  Translation / Перевод = light sky-aqua.
  This layer is intentionally appended last to override older white/aqua rules.
*/

html.premium-theme-emerald-quran,
html.theme-emerald-quran,
body.premium-theme-emerald-quran,
body.theme-emerald-quran,
body.bw-theme-emerald-quran{
  --bw-emerald-arabic:#fff0b3 !important;
  --bw-emerald-translit:#f7fff9 !important;
  --bw-emerald-translation:#aef7ff !important;
}

/* 1. Arabic: explicit classes, RTL/lang Arabic, and common Quran/Dua Arabic naming */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(
  [dir="rtl"], [lang="ar"],
  .arabic, .arabic-text, .arabicText,
  .ayah-arabic, .ayahArabic,
  .dua-arabic, .duaArabic,
  .surah-arabic, .surahArabic,
  .quran-arabic, .quranArabic,
  .bismillah, .bismillah-text,
  [class*="arabic"], [class*="Arabic"],
  [class*="ayah-ar"], [class*="dua-ar"], [class*="surah-ar"]
),
html.theme-emerald-quran body:not(.page-themes-pro) :is(
  [dir="rtl"], [lang="ar"],
  .arabic, .arabic-text, .arabicText,
  .ayah-arabic, .ayahArabic,
  .dua-arabic, .duaArabic,
  .surah-arabic, .surahArabic,
  .quran-arabic, .quranArabic,
  .bismillah, .bismillah-text,
  [class*="arabic"], [class*="Arabic"],
  [class*="ayah-ar"], [class*="dua-ar"], [class*="surah-ar"]
),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(
  [dir="rtl"], [lang="ar"],
  .arabic, .arabic-text, .arabicText,
  .ayah-arabic, .ayahArabic,
  .dua-arabic, .duaArabic,
  .surah-arabic, .surahArabic,
  .quran-arabic, .quranArabic,
  .bismillah, .bismillah-text,
  [class*="arabic"], [class*="Arabic"],
  [class*="ayah-ar"], [class*="dua-ar"], [class*="surah-ar"]
),
body.theme-emerald-quran:not(.page-themes-pro) :is(
  [dir="rtl"], [lang="ar"],
  .arabic, .arabic-text, .arabicText,
  .ayah-arabic, .ayahArabic,
  .dua-arabic, .duaArabic,
  .surah-arabic, .surahArabic,
  .quran-arabic, .quranArabic,
  .bismillah, .bismillah-text,
  [class*="arabic"], [class*="Arabic"],
  [class*="ayah-ar"], [class*="dua-ar"], [class*="surah-ar"]
),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(
  [dir="rtl"], [lang="ar"],
  .arabic, .arabic-text, .arabicText,
  .ayah-arabic, .ayahArabic,
  .dua-arabic, .duaArabic,
  .surah-arabic, .surahArabic,
  .quran-arabic, .quranArabic,
  .bismillah, .bismillah-text,
  [class*="arabic"], [class*="Arabic"],
  [class*="ayah-ar"], [class*="dua-ar"], [class*="surah-ar"]
){
  color:var(--bw-emerald-arabic) !important;
  -webkit-text-fill-color:var(--bw-emerald-arabic) !important;
  text-shadow:0 2px 14px rgba(0,0,0,.52), 0 0 16px rgba(255,240,179,.16) !important;
}

/* 2. Transliteration: explicit classes */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(
  .translit, .transliteration, .transcription,
  .ayah-translit, .dua-translit,
  .translit-text, .transliteration-text, .transcription-text,
  [class*="translit"], [class*="Translit"],
  [class*="transliteration"], [class*="Transliteration"],
  [class*="transcription"], [class*="Transcription"]
),
html.theme-emerald-quran body:not(.page-themes-pro) :is(
  .translit, .transliteration, .transcription,
  .ayah-translit, .dua-translit,
  .translit-text, .transliteration-text, .transcription-text,
  [class*="translit"], [class*="Translit"],
  [class*="transliteration"], [class*="Transliteration"],
  [class*="transcription"], [class*="Transcription"]
),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(
  .translit, .transliteration, .transcription,
  .ayah-translit, .dua-translit,
  .translit-text, .transliteration-text, .transcription-text,
  [class*="translit"], [class*="Translit"],
  [class*="transliteration"], [class*="Transliteration"],
  [class*="transcription"], [class*="Transcription"]
),
body.theme-emerald-quran:not(.page-themes-pro) :is(
  .translit, .transliteration, .transcription,
  .ayah-translit, .dua-translit,
  .translit-text, .transliteration-text, .transcription-text,
  [class*="translit"], [class*="Translit"],
  [class*="transliteration"], [class*="Transliteration"],
  [class*="transcription"], [class*="Transcription"]
),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(
  .translit, .transliteration, .transcription,
  .ayah-translit, .dua-translit,
  .translit-text, .transliteration-text, .transcription-text,
  [class*="translit"], [class*="Translit"],
  [class*="transliteration"], [class*="Transliteration"],
  [class*="transcription"], [class*="Transcription"]
){
  color:var(--bw-emerald-translit) !important;
  -webkit-text-fill-color:var(--bw-emerald-translit) !important;
  text-shadow:0 2px 12px rgba(0,0,0,.42) !important;
}

/* 3. Translation / meaning: explicit classes */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(
  .meaning, .translation, .translate,
  .ayah-meaning, .dua-meaning,
  .meaning-text, .translation-text,
  .translation-ru, .ru-translation, .item-translation, .card-translation,
  [class*="meaning"], [class*="Meaning"],
  [class*="translation"], [class*="Translation"],
  [class*="translate"], [class*="Translate"]
),
html.theme-emerald-quran body:not(.page-themes-pro) :is(
  .meaning, .translation, .translate,
  .ayah-meaning, .dua-meaning,
  .meaning-text, .translation-text,
  .translation-ru, .ru-translation, .item-translation, .card-translation,
  [class*="meaning"], [class*="Meaning"],
  [class*="translation"], [class*="Translation"],
  [class*="translate"], [class*="Translate"]
),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(
  .meaning, .translation, .translate,
  .ayah-meaning, .dua-meaning,
  .meaning-text, .translation-text,
  .translation-ru, .ru-translation, .item-translation, .card-translation,
  [class*="meaning"], [class*="Meaning"],
  [class*="translation"], [class*="Translation"],
  [class*="translate"], [class*="Translate"]
),
body.theme-emerald-quran:not(.page-themes-pro) :is(
  .meaning, .translation, .translate,
  .ayah-meaning, .dua-meaning,
  .meaning-text, .translation-text,
  .translation-ru, .ru-translation, .item-translation, .card-translation,
  [class*="meaning"], [class*="Meaning"],
  [class*="translation"], [class*="Translation"],
  [class*="translate"], [class*="Translate"]
),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(
  .meaning, .translation, .translate,
  .ayah-meaning, .dua-meaning,
  .meaning-text, .translation-text,
  .translation-ru, .ru-translation, .item-translation, .card-translation,
  [class*="meaning"], [class*="Meaning"],
  [class*="translation"], [class*="Translation"],
  [class*="translate"], [class*="Translate"]
){
  color:var(--bw-emerald-translation) !important;
  -webkit-text-fill-color:var(--bw-emerald-translation) !important;
  text-shadow:0 2px 12px rgba(0,0,0,.44), 0 0 14px rgba(174,247,255,.16) !important;
}

/* 4. Azkar/dua pages often use label + next text markup without semantic classes.
   Use label text blocks and their immediate following content. */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.label,.field-label,.block-label,.section-label,.meta-label),
html.theme-emerald-quran body:not(.page-themes-pro) :is(.label,.field-label,.block-label,.section-label,.meta-label),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.label,.field-label,.block-label,.section-label,.meta-label),
body.theme-emerald-quran:not(.page-themes-pro) :is(.label,.field-label,.block-label,.section-label,.meta-label),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.label,.field-label,.block-label,.section-label,.meta-label){
  color:var(--bw-emerald-aqua) !important;
  -webkit-text-fill-color:var(--bw-emerald-aqua) !important;
}

/* 5. Last-resort page structural mappings for cards:
   - Large RTL children inside cards = gold
   - common last paragraph in ayah/dua cards = translation aqua
   This improves pages where classes are generic. */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.ayah-card,.dua-card,.azkar-card,.dhikr-card,.zikr-card,.card) [dir="rtl"],
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.ayah-card,.dua-card,.azkar-card,.dhikr-card,.zikr-card,.card) [dir="rtl"],
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.ayah-card,.dua-card,.azkar-card,.dhikr-card,.zikr-card,.card) [dir="rtl"]{
  color:var(--bw-emerald-arabic) !important;
  -webkit-text-fill-color:var(--bw-emerald-arabic) !important;
}

html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(.ayah-card,.dua-card,.azkar-card,.dhikr-card,.zikr-card) p:last-of-type,
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(.ayah-card,.dua-card,.azkar-card,.dhikr-card,.zikr-card) p:last-of-type,
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(.ayah-card,.dua-card,.azkar-card,.dhikr-card,.zikr-card) p:last-of-type{
  color:var(--bw-emerald-translation) !important;
  -webkit-text-fill-color:var(--bw-emerald-translation) !important;
}

/* Preserve non-text graphics */
html.premium-theme-emerald-quran body:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe),
body.premium-theme-emerald-quran:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe),
body.bw-theme-emerald-quran:not(.page-themes-pro) :is(svg,path,circle,rect,line,polyline,polygon,img,canvas,video,iframe){
  -webkit-text-fill-color:initial !important;
}

/* ===== QURAN DISPLAY OPTIONS STICKY TEXT BAR V16 ===== */
/*
  Applies globally on Quran/surah pages and all themes.
  Removes button-card look from Arabic / Transliteration / Translation switches.
  Keeps only inline text with checkmarks and makes the control row sticky while reading.
*/

.bw-quran-display-togglebar{
  position:sticky !important;
  top:0 !important;
  z-index:900 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:18px !important;
  width:100% !important;
  margin:10px auto 18px !important;
  padding:10px 8px !important;
  background:rgba(3,22,16,.82) !important;
  border:none !important;
  box-shadow:none !important;
  backdrop-filter:blur(14px) !important;
  -webkit-backdrop-filter:blur(14px) !important;
}

.bw-quran-display-togglebar,
.bw-quran-display-togglebar *{
  box-sizing:border-box !important;
}

.bw-quran-display-togglebar :is(label,button,.btn,.chip,.pill,.tab,[role="button"],.filter-btn,.quick-btn),
.bw-quran-display-togglebar .bw-quran-display-toggle{
  appearance:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  min-width:0 !important;
  width:auto !important;
  min-height:0 !important;
  height:auto !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  outline:none !important;
  color:var(--bw-premium-text,#f7fff9) !important;
  -webkit-text-fill-color:var(--bw-premium-text,#f7fff9) !important;
  font-size:13px !important;
  font-weight:900 !important;
  line-height:1.2 !important;
  letter-spacing:.01em !important;
  text-shadow:0 2px 10px rgba(0,0,0,.42) !important;
  white-space:nowrap !important;
}

.bw-quran-display-togglebar input[type="checkbox"]{
  appearance:none !important;
  -webkit-appearance:none !important;
  width:14px !important;
  height:14px !important;
  min-width:14px !important;
  min-height:14px !important;
  margin:0 !important;
  border:0 !important;
  border-radius:3px !important;
  background:transparent !important;
  box-shadow:none !important;
  display:inline-grid !important;
  place-items:center !important;
}

.bw-quran-display-togglebar input[type="checkbox"]::before{
  content:"✓" !important;
  display:block !important;
  color:var(--bw-emerald-aqua,#9fffee) !important;
  -webkit-text-fill-color:var(--bw-emerald-aqua,#9fffee) !important;
  font-size:14px !important;
  font-weight:950 !important;
  line-height:1 !important;
}

.bw-quran-display-togglebar input[type="checkbox"]:not(:checked)::before{
  opacity:.35 !important;
}

.bw-quran-display-togglebar .bw-quran-display-toggle:nth-child(1),
.bw-quran-display-togglebar [data-bw-display-type="arabic"]{
  order:1 !important;
}

.bw-quran-display-togglebar .bw-quran-display-toggle:nth-child(2),
.bw-quran-display-togglebar [data-bw-display-type="translit"]{
  order:2 !important;
}

.bw-quran-display-togglebar .bw-quran-display-toggle:nth-child(3),
.bw-quran-display-togglebar [data-bw-display-type="translation"]{
  order:3 !important;
}

/* Remove nested/legacy visual backgrounds inside this bar */
.bw-quran-display-togglebar :is(span,div){
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

/* Theme-specific readable text colors */
html.premium-theme-emerald-quran .bw-quran-display-togglebar,
body.premium-theme-emerald-quran .bw-quran-display-togglebar,
body.bw-theme-emerald-quran .bw-quran-display-togglebar{
  background:rgba(1,42,28,.78) !important;
}

html.premium-theme-violet-noor .bw-quran-display-togglebar,
body.premium-theme-violet-noor .bw-quran-display-togglebar,
body.bw-theme-violet-noor .bw-quran-display-togglebar{
  background:rgba(28,5,42,.78) !important;
}

html.premium-theme-rose-soft .bw-quran-display-togglebar,
body.premium-theme-rose-soft .bw-quran-display-togglebar,
body.bw-theme-rose-soft .bw-quran-display-togglebar{
  background:rgba(48,10,32,.76) !important;
}

html.premium-theme-night-mosque .bw-quran-display-togglebar,
body.premium-theme-night-mosque .bw-quran-display-togglebar,
body.bw-theme-night-mosque .bw-quran-display-togglebar{
  background:rgba(5,14,40,.78) !important;
}

html.premium-theme-carbon-elite .bw-quran-display-togglebar,
body.premium-theme-carbon-elite .bw-quran-display-togglebar,
body.bw-theme-carbon-elite .bw-quran-display-togglebar{
  background:rgba(8,10,14,.80) !important;
}

@media(max-width:700px){
  .bw-quran-display-togglebar{
    top:0 !important;
    gap:12px !important;
    padding:8px 6px !important;
    margin:8px auto 14px !important;
    overflow-x:auto !important;
    justify-content:center !important;
    scrollbar-width:none !important;
  }

  .bw-quran-display-togglebar::-webkit-scrollbar{
    display:none !important;
  }

  .bw-quran-display-togglebar :is(label,button,.btn,.chip,.pill,.tab,[role="button"],.filter-btn,.quick-btn),
  .bw-quran-display-togglebar .bw-quran-display-toggle{
    font-size:12px !important;
    gap:5px !important;
  }

  .bw-quran-display-togglebar input[type="checkbox"]{
    width:13px !important;
    height:13px !important;
    min-width:13px !important;
    min-height:13px !important;
  }
}

/* === Quran localhost parity fix: keep surah pages in the same clean layout as direct HTML === */
body[data-surah-page-key]{
  background:#f5f7f8 !important;
  color:#1f2a22 !important;
}

body[data-surah-page-key] .container{
  max-width:980px !important;
  margin:0 auto !important;
  background:#ffffff !important;
  color:#1f2a22 !important;
  padding:40px 28px 44px !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:0 6px 16px rgba(0,0,0,0.05) !important;
}

body[data-surah-page-key] .content-controls{
  position:sticky !important;
  top:0 !important;
  z-index:3200 !important;
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:nowrap !important;
  gap:14px !important;
  width:100% !important;
  max-width:760px !important;
  margin:0 auto 18px !important;
  padding:8px 10px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

body[data-surah-page-key] .content-controls::before,
body[data-surah-page-key] .content-controls::after{
  content:none !important;
  display:none !important;
}

body[data-surah-page-key] .content-toggle{
  flex:0 0 auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
  min-width:0 !important;
  width:auto !important;
  min-height:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#203126 !important;
  font-size:13px !important;
  font-weight:850 !important;
  line-height:1 !important;
  white-space:nowrap !important;
  -webkit-text-fill-color:#203126 !important;
}

body[data-surah-page-key] .content-toggle input{
  flex:0 0 auto !important;
  width:13px !important;
  height:13px !important;
  min-width:13px !important;
  min-height:13px !important;
  margin:0 !important;
  padding:0 !important;
  accent-color:#2d7a46 !important;
  filter:none !important;
}

body[data-surah-page-key] .content-toggle::before,
body[data-surah-page-key] .content-toggle::after{
  content:none !important;
  display:none !important;
}

@media(max-width:700px){
  body[data-surah-page-key] .content-controls{
    max-width:100% !important;
    gap:12px !important;
  }
  body[data-surah-page-key] .content-toggle{
    font-size:11px !important;
  }
}



/* === Quran Surah Light Parity Guard (RU/UZ and other language surah pages) === */
html.light-mode body[data-surah-page-key],
html.light-mode body[data-surah-page-key].light-mode{
  background:#f5f7f8 !important;
  color:#222 !important;
}
html.light-mode body[data-surah-page-key] .container{
  background:#ffffff !important;
  color:#222 !important;
}
html.light-mode body[data-surah-page-key] .content-controls{
  position:sticky !important;
  top:0 !important;
  z-index:3000 !important;
  max-width:760px !important;
  margin:0 auto 24px !important;
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:10px !important;
  padding:12px !important;
  border-radius:20px !important;
  border:1px solid rgba(181,138,54,.20) !important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,250,238,.94)) !important;
  box-shadow:0 12px 28px rgba(18,34,24,.10) !important;
  backdrop-filter:blur(14px) !important;
  -webkit-backdrop-filter:blur(14px) !important;
}
@media(max-width:700px){
  html.light-mode body[data-surah-page-key] .content-controls{
    grid-template-columns:1fr !important;
    gap:8px !important;
  }
}


/* ===== ADHKAR THEME PARITY FIX ===== */
/* Scoped only to adhkar pages that contain #layerControls. Keeps dark/light mode consistent across PWA, GitHub and localhost. */

html.dark-mode body:has(#layerControls),
body.dark-mode:has(#layerControls){
  background:
    radial-gradient(circle at 50% -10%,rgba(215,181,109,.18),transparent 36%),
    linear-gradient(180deg,var(--bg),var(--bg)) !important;
  color:var(--text) !important;
}

html.light-mode body:has(#layerControls),
body.light-mode:has(#layerControls){
  background:
    radial-gradient(circle at 50% -10%,rgba(215,181,109,.18),transparent 36%),
    linear-gradient(180deg,var(--bg),var(--bg)) !important;
  color:var(--text) !important;
}

html.dark-mode body:has(#layerControls) .container,
body.dark-mode:has(#layerControls) .container{
  background:linear-gradient(180deg,rgba(18,30,36,.98),rgba(12,22,27,.98)) !important;
  color:var(--text) !important;
  border:1px solid rgba(215,181,109,.18) !important;
  box-shadow:var(--shadow) !important;
}

html.light-mode body:has(#layerControls) .container,
body.light-mode:has(#layerControls) .container{
  background:linear-gradient(180deg,rgba(255,255,255,.76),rgba(255,255,255,.58)),var(--card) !important;
  color:var(--text) !important;
  border:1px solid rgba(215,181,109,.18) !important;
  box-shadow:var(--shadow) !important;
}

html.dark-mode body:has(#layerControls) .page-actions,
html.dark-mode body:has(#layerControls) .layer-controls,
body.dark-mode:has(#layerControls) .page-actions,
body.dark-mode:has(#layerControls) .layer-controls{
  background:linear-gradient(180deg,rgba(18,30,36,.98),rgba(18,30,36,.94)) !important;
  color:var(--text) !important;
}

html.light-mode body:has(#layerControls) .page-actions,
html.light-mode body:has(#layerControls) .layer-controls,
body.light-mode:has(#layerControls) .page-actions,
body.light-mode:has(#layerControls) .layer-controls{
  background:linear-gradient(180deg,rgba(255,254,249,.98),rgba(255,254,249,.94)) !important;
  color:var(--text) !important;
}

html.dark-mode body:has(#layerControls) .card,
html.dark-mode body:has(#layerControls) .panel,
body.dark-mode:has(#layerControls) .card,
body.dark-mode:has(#layerControls) .panel{
  background:radial-gradient(circle at 94% 0%,rgba(215,181,109,.12),transparent 35%),linear-gradient(180deg,var(--card),var(--card)) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
  box-shadow:var(--shadow2) !important;
}

html.light-mode body:has(#layerControls) .card,
html.light-mode body:has(#layerControls) .panel,
body.light-mode:has(#layerControls) .card,
body.light-mode:has(#layerControls) .panel{
  background:radial-gradient(circle at 94% 0%,rgba(215,181,109,.12),transparent 35%),linear-gradient(180deg,var(--card),var(--card)) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
  box-shadow:var(--shadow2) !important;
}

/* ===== BARAKAWAY LIGHT MODE TEXT CONTRAST FIX ===== */
/* Light mode only. Dark mode, premium themes, JS, navigation and layout are untouched. */

html.light-mode,
body.light-mode{
  --bw-light-text:#101814 !important;
  --bw-light-text-soft:#26382f !important;
  --bw-light-muted:#4a5f54 !important;
}

html.light-mode h1,
html.light-mode h2,
html.light-mode h3,
html.light-mode h4,
html.light-mode h5,
html.light-mode h6,
html.light-mode .title,
html.light-mode .section-title,
html.light-mode .category-title,
html.light-mode .today-hub-title,
html.light-mode .today-action-title,
html.light-mode .premium-resource-title,
html.light-mode .about-project-title,
html.light-mode .home-section-title h2,
html.light-mode .brand-letter-main,
html.light-mode .home-prayer-time,
html.light-mode .home-prayer-location,
html.light-mode .home-prayer-meta,
html.light-mode .next-name,
html.light-mode .prayer-name,
html.light-mode .big-location,
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6{
  color:#101814 !important;
  -webkit-text-fill-color:#101814 !important;
  text-shadow:none !important;
}

html.light-mode .brand-signature .brand-letter-main{
  color:#101814 !important;
  -webkit-text-fill-color:#101814 !important;
  text-shadow:none !important;
}

html.light-mode .brand-signature .brand-letter-accent{
  color:#2d7a46 !important;
  -webkit-text-fill-color:#2d7a46 !important;
}

html.light-mode p,
html.light-mode li,
html.light-mode .subtitle,
html.light-mode .small,
html.light-mode .note,
html.light-mode .tagline,
html.light-mode .category-intro,
html.light-mode .ref,
html.light-mode .label,
html.light-mode .muted,
html.light-mode .prayer-meta,
html.light-mode .countdown-note,
html.light-mode .wallet-note,
html.light-mode .surah-meta,
html.light-mode .article p,
html.light-mode .today-hub-subtitle,
html.light-mode .today-action-text,
html.light-mode .premium-resource-text,
html.light-mode .about-project-text,
html.light-mode .home-section-note,
html.light-mode .home-prayer-kicker,
html.light-mode .home-prayer-countdown-label,
body.light-mode p,
body.light-mode li,
body.light-mode .note{
  color:#26382f !important;
  -webkit-text-fill-color:#26382f !important;
}

html.light-mode .meta-label,
html.light-mode .hero-stat-label,
html.light-mode .dua-ref,
html.light-mode .field-label,
html.light-mode .surah-ayahs,
html.light-mode .home-prayer-note,
html.light-mode .today-ayah-task,
html.light-mode .today-ayah-ref{
  color:#4a5f54 !important;
  -webkit-text-fill-color:#4a5f54 !important;
}

html.light-mode .today-action-icon,
html.light-mode .premium-resource-icon,
html.light-mode .card-icon,
html.light-mode .task-icon{
  color:#17341f !important;
  -webkit-text-fill-color:#17341f !important;
}

html.light-mode .mobile-promo-line:not(.is-brand){
  background:none !important;
  -webkit-background-clip:initial !important;
  -webkit-text-fill-color:#101814 !important;
  color:#101814 !important;
}

@media(max-width:700px){
  html.light-mode h1,
  html.light-mode h2,
  html.light-mode h3,
  html.light-mode .title,
  html.light-mode .today-hub-title,
  html.light-mode .today-action-title,
  html.light-mode .brand-letter-main,
  html.light-mode .home-prayer-time{
    color:#101814 !important;
    -webkit-text-fill-color:#101814 !important;
    text-shadow:none !important;
  }

  html.light-mode p,
  html.light-mode .subtitle,
  html.light-mode .small,
  html.light-mode .note,
  html.light-mode .today-action-text,
  html.light-mode .premium-resource-text,
  html.light-mode .home-prayer-meta{
    color:#26382f !important;
    -webkit-text-fill-color:#26382f !important;
  }
}


/* ===== BarakaWay global Light/Dark synchronization hardening ===== */
html.light-mode{
  color-scheme:light !important;
  --bg:#f5f7f8 !important;
  --bg2:#eef4f0 !important;
  --surface:#ffffff !important;
  --surface-2:#f3f7f4 !important;
  --panel:#ffffff !important;
  --panel2:#f3f8f4 !important;
  --card:#ffffff !important;
  --card-bg:#ffffff !important;
  --input-bg:#ffffff !important;
  --text:#1f2a22 !important;
  --muted:#5f6f66 !important;
  --border:#dfe8e2 !important;
  --border2:#d8e6dc !important;
  --shadow:0 18px 44px rgba(34,60,43,.10) !important;
}
html.dark-mode{
  color-scheme:dark !important;
}
html.light-mode body{
  background:#f5f7f8 !important;
  color:#1f2a22 !important;
}
html.light-mode .bw-shell,
html.light-mode .container,
html.light-mode .content,
html.light-mode .page,
html.light-mode main,
html.light-mode section,
html.light-mode article{
  color:#1f2a22;
}
html.light-mode .hero,
html.light-mode .panel,
html.light-mode .card,
html.light-mode .box,
html.light-mode .case-card,
html.light-mode .content-card,
html.light-mode .moment-box,
html.light-mode .status-strip,
html.light-mode .empty,
html.light-mode .lang-hero,
html.light-mode .lang-card{
  background:#ffffff !important;
  color:#1f2a22 !important;
  border-color:#dfe8e2 !important;
  box-shadow:0 18px 44px rgba(34,60,43,.10) !important;
}
html.light-mode p,
html.light-mode span,
html.light-mode li,
html.light-mode label,
html.light-mode small,
html.light-mode .muted,
html.light-mode .subtitle,
html.light-mode .lead,
html.light-mode .note,
html.light-mode .strip-sub,
html.light-mode .case-card p,
html.light-mode .content-card p,
html.light-mode .content-card li{
  color:#5f6f66;
}
html.light-mode h1,
html.light-mode h2,
html.light-mode h3,
html.light-mode h4,
html.light-mode strong{
  color:#1f2a22;
}
html.light-mode input,
html.light-mode textarea,
html.light-mode select{
  background:#ffffff !important;
  color:#1f2a22 !important;
  border-color:#d7e2da !important;
}
