html[data-nbk-theme="emerald"] {
  --primary-color:#a9c6b1; --secondary-color:#c7ad84; --accent-color:#c7ad84;
  --names-gold:#a9c6b1; --names-gold-light:#e2e5dc; --g-gold:#a9c6b1; --g-gold-light:#e2e5dc;
  --orn-gold:169,198,177; --nbk-theme-rgb:169,198,177; --nbk-theme-accent:#a9c6b1;
  --nbk-accent-rgb:199,173,132; --nbk-secondary-rgb:199,173,132; --nbk-companion-rgb:199,173,132; --nbk-companion-color:#c7ad84;
  --nbk-surface-rgb:18,29,24; --nbk-page-rgb:12,18,15; --nbk-elevated-rgb:30,44,35;
  --nbk-foreground:#f0ece3; --nbk-muted:#bdb9af;
}
html[data-nbk-theme="midnight"] {
  --primary-color:#b4c3df; --secondary-color:#c59e86; --accent-color:#c59e86;
  --names-gold:#b4c3df; --names-gold-light:#e4e3e9; --g-gold:#b4c3df; --g-gold-light:#e4e3e9;
  --orn-gold:180,195,223; --nbk-theme-rgb:180,195,223; --nbk-theme-accent:#b4c3df;
  --nbk-accent-rgb:197,158,134; --nbk-secondary-rgb:197,158,134; --nbk-companion-rgb:197,158,134; --nbk-companion-color:#c59e86;
  --nbk-surface-rgb:20,26,38; --nbk-page-rgb:12,17,26; --nbk-elevated-rgb:31,40,56;
  --nbk-foreground:#f0ece3; --nbk-muted:#bdb9af;
}
html[data-nbk-theme="ocean"] {
  --primary-color:#92c5c9; --secondary-color:#c9b58a; --accent-color:#c9b58a;
  --names-gold:#92c5c9; --names-gold-light:#e0e6e4; --g-gold:#92c5c9; --g-gold-light:#e0e6e4;
  --orn-gold:146,197,201; --nbk-theme-rgb:146,197,201; --nbk-theme-accent:#92c5c9;
  --nbk-accent-rgb:201,181,138; --nbk-secondary-rgb:201,181,138; --nbk-companion-rgb:201,181,138; --nbk-companion-color:#c9b58a;
  --nbk-surface-rgb:16,30,32; --nbk-page-rgb:10,20,22; --nbk-elevated-rgb:26,45,47;
  --nbk-foreground:#f0ece3; --nbk-muted:#bdb9af;
}
html[data-nbk-theme="rose"] {
  --primary-color:#d3adba; --secondary-color:#a6baa8; --accent-color:#a6baa8;
  --names-gold:#d3adba; --names-gold-light:#e8e0e4; --g-gold:#d3adba; --g-gold-light:#e8e0e4;
  --orn-gold:211,173,186; --nbk-theme-rgb:211,173,186; --nbk-theme-accent:#d3adba;
  --nbk-accent-rgb:166,186,168; --nbk-secondary-rgb:166,186,168; --nbk-companion-rgb:166,186,168; --nbk-companion-color:#a6baa8;
  --nbk-surface-rgb:32,24,28; --nbk-page-rgb:21,15,18; --nbk-elevated-rgb:48,35,40;
  --nbk-foreground:#f0ece3; --nbk-muted:#bdb9af;
}
html[data-nbk-theme="copper"] {
  --primary-color:#d6aa84; --secondary-color:#9eb2c2; --accent-color:#9eb2c2;
  --names-gold:#d6aa84; --names-gold-light:#e9e2d9; --g-gold:#d6aa84; --g-gold-light:#e9e2d9;
  --orn-gold:214,170,132; --nbk-theme-rgb:214,170,132; --nbk-theme-accent:#d6aa84;
  --nbk-accent-rgb:158,178,194; --nbk-secondary-rgb:158,178,194; --nbk-companion-rgb:158,178,194; --nbk-companion-color:#9eb2c2;
  --nbk-surface-rgb:33,26,21; --nbk-page-rgb:21,17,14; --nbk-elevated-rgb:49,38,29;
  --nbk-foreground:#f0ece3; --nbk-muted:#bdb9af;
}
html[data-nbk-theme] {
  --page-bg:rgb(var(--nbk-page-rgb));
  --text-light:var(--nbk-foreground); --text-color:var(--nbk-foreground); --light-color:var(--nbk-foreground);
  --text-muted:var(--nbk-muted); --muted-text:var(--nbk-muted);
  --neutral-border:rgba(var(--nbk-theme-rgb),.18);
  --card-bg:radial-gradient(ellipse at 100% 0%,rgba(var(--nbk-companion-rgb),.06),transparent 65%),linear-gradient(145deg,rgb(var(--nbk-elevated-rgb)),rgb(var(--nbk-surface-rgb)));
  --nbk-surface-low:rgb(var(--nbk-surface-rgb));
  --nbk-surface-high:rgb(var(--nbk-elevated-rgb));
  --nbk-artwork-glow:rgb(var(--nbk-elevated-rgb));
  --nbk-overlay-glow:rgb(var(--nbk-elevated-rgb));
}
/* Keep the original artwork in its original colours. Themes style components. */
html[data-nbk-theme] body {
  color:var(--nbk-foreground);
  background-color:#100e0b !important;
  background-image:var(--orn-url,url('/assets/images/bg-ornament.jpg')) !important;
  background-blend-mode:normal !important;
  background-size:var(--orn-size,1700px) auto !important;
  background-repeat:repeat !important;
  background-position:center top !important;
  background-attachment:scroll !important;
}
html[data-nbk-theme] :is(.nbk-site-topbar,.lockup) .word { color:var(--nbk-theme-accent); }
html[data-nbk-theme] .nbk-site-topbar .mark :is(.star-outline,.ring-inner,.ring-outer) { stroke:var(--nbk-theme-accent); }
html[data-nbk-theme] .lockup .mark .star-outline { stroke:var(--primary-color); }
html[data-nbk-theme] .mark stop { stop-color:var(--primary-color); }
html[data-nbk-theme] .mark stop:first-child { stop-color:var(--accent-color); }
html[data-nbk-theme] .mark stop:last-child { stop-color:var(--secondary-color); }
html[data-nbk-theme] :is(.login-btn.primary,.btn-primary,.save-cat-btn,.mode-tab.active,.billing-btn.active) {
  background:linear-gradient(120deg,rgba(var(--nbk-theme-rgb),.22),rgba(var(--nbk-companion-rgb),.15));
  color:var(--nbk-foreground); border-color:rgba(var(--nbk-theme-rgb),.32);
}
html[data-nbk-theme] :is(.login-btn.primary,.btn-primary,.save-cat-btn,.mode-tab.active,.billing-btn.active):hover {
  box-shadow:0 2px 12px rgba(0,0,0,.12);
}
html[data-nbk-theme] :is(.mark,.header-star,.star-icon,.ill-glyph) { filter:none !important; }
html[data-nbk-theme] :is(.plan-card,.card,.dhikr-box,.names-hero,.playlist-detail-hero,#quranPlaylistHero) {
  border-color:rgba(var(--nbk-theme-rgb),.24);
}
html[data-nbk-theme] :is(.ill-split,.plan-card,.discover,.tcard,.dcard,.leaf,.card,.dhikr-box,.names-hero,.chat-wrap,.playlist-detail-hero,.playlist-editor,.modal-content,.quran-lyrics-panel,.nasheed-lyrics-panel) {
  background-color:rgb(var(--nbk-surface-rgb));
  background-image:radial-gradient(ellipse at 100% 0%,rgba(var(--nbk-companion-rgb),.065),transparent 65%),linear-gradient(145deg,rgba(var(--nbk-elevated-rgb),.96),rgba(var(--nbk-surface-rgb),.98));
  border-color:rgba(var(--nbk-theme-rgb),.24);
  box-shadow:0 12px 32px rgba(0,0,0,.18),inset 0 1px rgba(var(--nbk-accent-rgb),.035);
}
html[data-nbk-theme] .ill-visual {
  background:radial-gradient(ellipse at 20% 10%,rgba(var(--nbk-theme-rgb),.15),transparent 70%),radial-gradient(ellipse at 95% 90%,rgba(var(--nbk-companion-rgb),.1),transparent 65%),rgb(var(--nbk-surface-rgb));
}
html[data-nbk-theme] :is(input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="search"],input[type="number"],textarea,select) {
  background-color:rgb(var(--nbk-page-rgb)); color:var(--nbk-foreground); border-color:rgba(var(--nbk-theme-rgb),.18);
}
html[data-nbk-theme] :is(input,textarea)::placeholder { color:var(--nbk-muted); opacity:.8; }

.nbk-feature-section {
  width:100%; box-sizing:border-box; margin:24px 0; padding:20px;
  border:1px solid rgba(var(--orn-gold,229,186,115),.2); border-radius:16px;
  background:rgba(255,255,255,.025); color:inherit;
}
.nbk-feature-section h2 { margin:0 0 10px; font:500 1.2rem 'Playfair Display',Georgia,serif; color:inherit; }
.nbk-feature-section p { font-size:.8rem; line-height:1.7; overflow-wrap:anywhere; }
.nbk-feature-section fieldset { margin:0; padding:0; border:0; min-width:0; }
.nbk-feature-section fieldset:disabled { opacity:.55; }
.nbk-feature-section fieldset:disabled .custom-select { pointer-events:none; }
.nbk-feature-section label { display:block; font-size:.76rem; margin:16px 0 6px; }
.nbk-feature-section :is(select,textarea,input[type="file"]) {
  width:100%; min-width:0; box-sizing:border-box; min-height:44px; padding:10px;
  border:1px solid rgba(var(--orn-gold,229,186,115),.25); border-radius:10px;
  background:#151815; color:#eee8dc; font:inherit; font-size:16px; color-scheme:dark;
}
.nbk-feature-section button { min-height:44px; margin:12px 8px 0 0; padding:10px 14px; border-radius:10px; cursor:pointer; }
.nbk-feature-section .nbk-retry-preferences {
  border:1px solid rgba(var(--orn-gold,229,186,115),.22); background:rgba(255,255,255,.04);
  color:inherit; font:inherit; font-size:.76rem;
}
.nbk-feature-lock { text-align:center; padding:24px 8px; }
.nbk-feature-lock svg { width:28px; height:28px; color:var(--primary-color,#e5ba73); }
.nbk-feature-lock p { max-width:34ch; margin:16px auto 20px; }
.nbk-feature-lock .login-btn, .nbk-dhikr-link { display:inline-block; width:auto; padding:10px 20px; text-decoration:none; }
.nbk-streak-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:20px 0; }
.nbk-streak-summary > div { padding:16px 10px; text-align:center; border:1px solid rgba(var(--orn-gold,229,186,115),.2); border-radius:12px; }
.nbk-streak-summary strong { display:block; font-size:2rem; color:var(--primary-color,#e5ba73); }
.nbk-streak-summary span { display:block; font-size:.72rem; line-height:1.5; }
.nbk-streak-week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px; margin:18px 0; }
.nbk-streak-day { display:grid; justify-items:center; gap:8px; padding:10px 2px; border:1px solid rgba(255,255,255,.1); border-radius:8px; font-size:.68rem; }
.nbk-streak-day.done { background:rgba(var(--orn-gold,229,186,115),.12); color:var(--primary-color,#e5ba73); }
.nbk-streak-day.today { border-color:var(--primary-color,#e5ba73); }
.nbk-feature-section [role="status"] { min-height:1.5em; margin:12px 0 0; font-size:.76rem; }
.nbk-feature-section [hidden] { display:none !important; }
.nbk-recommendation { padding:16px 0; border-top:1px solid rgba(var(--orn-gold,229,186,115),.15); }
.nbk-recommendation .nbk-message { white-space:pre-wrap; overflow-wrap:anywhere; }
.nbk-recommendation-actions { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 12px; }
.nbk-feature-section :is(.nbk-refresh-recommendations,.nbk-clear-history,.nbk-cancel-clear,.nbk-confirm-clear) {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px;
  margin:0; padding:10px 14px; border:1px solid rgba(var(--orn-gold,229,186,115),.24);
  border-radius:10px; background:rgba(255,255,255,.035); color:inherit; font:inherit; font-size:.74rem;
}
.nbk-feature-section :is(.nbk-refresh-recommendations,.nbk-clear-history,.nbk-cancel-clear):hover:not(:disabled) { background:rgba(var(--orn-gold,229,186,115),.09); border-color:var(--primary-color,#e5ba73); }
.nbk-feature-section .nbk-confirm-clear { background:var(--primary-color,#e5ba73); color:#141510; font-weight:500; }
.nbk-recommendation-actions button:disabled { opacity:.4; cursor:default; }
.nbk-history-confirm { margin:12px 0; padding:16px; border:1px solid rgba(var(--orn-gold,229,186,115),.25); border-radius:12px; background:rgba(var(--orn-gold,229,186,115),.045); }
.nbk-history-confirm p { margin:0 0 12px; }
.nbk-history-confirm button { margin:4px 6px 0 0 !important; }
.nbk-history-confirm button:disabled { opacity:.45; cursor:wait; }
.nbk-feature-section :is(.nbk-refresh-recommendations,.nbk-clear-history,.nbk-cancel-clear,.nbk-confirm-clear):focus-visible { outline:2px solid var(--primary-color,#e5ba73); outline-offset:3px; }
.nbk-priority { display:inline-block; padding:3px 8px; margin:0 6px; border-radius:20px; font-size:.7rem; background:rgba(var(--orn-gold,229,186,115),.14); color:var(--primary-color,#e5ba73); }
.nbk-review-container { width:min(900px,calc(100% - 32px)); margin:24px auto; }
html[data-dhikr-design="orbit"] .dhikr-box .dial {
  border-radius:50%; background:radial-gradient(circle,rgba(var(--orn-gold,229,186,115),.15),transparent 70%);
  box-shadow:0 0 0 5px rgba(var(--orn-gold,229,186,115),.08),0 0 0 12px rgba(var(--orn-gold,229,186,115),.035);
}
html[data-dhikr-design="orbit"] .dhikr-box .dial-guide { stroke-dasharray:2 5; stroke-width:2; }
html[data-dhikr-design="orbit"] .dhikr-box { border-radius:26px; }
html[data-dhikr-design="minimal"] .dhikr-box .dial svg { opacity:0; }
html[data-dhikr-design="minimal"] .dhikr-box .dial { border-radius:18px; background:rgba(255,255,255,.04); }
html[data-dhikr-design="minimal"] .dhikr-box .counter { font-variant-numeric:tabular-nums; font-size:2.4rem; }
html[data-dhikr-design="minimal"] .dhikr-box { box-shadow:none; border-radius:12px; }
/* Account settings use the account card itself, without a second boxed panel. */
:is(#plusPersonalization,#plusStreak) {
  margin:0; padding:0; border:0; background:none;
  --nbk-setting-accent:var(--primary-color,#e5ba73);
  --nbk-setting-muted:var(--text-muted,#aaa69c);
}
:is(#plusPersonalization,#plusStreak) .nbk-section-heading { margin-bottom:28px; }
:is(#plusPersonalization,#plusStreak) .nbk-eyebrow { display:block; margin-bottom:10px; color:var(--nbk-setting-accent); font-size:.59rem; font-weight:600; letter-spacing:.18em; }
:is(#plusPersonalization,#plusStreak) h2 { font-size:1.65rem; line-height:1.25; margin:0 0 9px; }
:is(#plusPersonalization,#plusStreak) .nbk-section-heading p { color:var(--nbk-setting-muted); margin:0; font-size:.76rem; }
#plusPersonalization .nbk-field-title { display:flex; justify-content:space-between; align-items:baseline; gap:8px; margin:26px 0 12px; font-size:.8rem; font-weight:500; }
#plusPersonalization .nbk-field-title:first-child { margin-top:0; }
#plusPersonalization .nbk-field-title > span { color:var(--nbk-setting-muted); font-size:.65rem; font-weight:400; }
.nbk-choice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
#plusPersonalization .nbk-choice { position:relative; display:block; margin:0; min-width:0; cursor:pointer; }
.nbk-choice input { position:absolute; width:1px; height:1px; opacity:0; }
.nbk-choice-face { position:relative; display:block; overflow:hidden; border:1px solid rgba(255,255,255,.11); border-radius:13px; background:rgba(255,255,255,.018); transition:border-color .18s,background .18s; }
.nbk-choice:hover .nbk-choice-face { border-color:var(--nbk-setting-accent); }
.nbk-choice input:checked + .nbk-choice-face { border-color:var(--nbk-setting-accent); background:rgba(var(--nbk-theme-rgb,229,186,115),.06); }
.nbk-choice input:focus-visible + .nbk-choice-face { outline:2px solid var(--nbk-setting-accent); outline-offset:3px; }
.nbk-choice-name { display:flex; align-items:center; justify-content:center; min-width:0; padding:10px 6px; font-size:.67rem; font-weight:500; }
.nbk-choice-tick { position:absolute; top:9px; right:9px; display:grid; place-items:center; width:16px; height:16px; border-radius:50%; background:var(--nbk-setting-accent); color:#121510; font-size:.6rem; opacity:0; }
.nbk-choice input:checked + .nbk-choice-face .nbk-choice-tick { opacity:1; }
.nbk-theme-preview { position:relative; display:block; height:146px; margin:0; overflow:hidden; background:var(--preview-page); color:#f0ece3; border-bottom:1px solid #ffffff12; }
.nbk-preview-gold { --swatch:#e5ba73; --swatch-companion:#a7b69b; --preview-page:#15130e; --preview-surface:#29271c; }
.nbk-preview-emerald { --swatch:#a9c6b1; --swatch-companion:#dfc18e; --preview-page:#101a15; --preview-surface:#1e3025; }
.nbk-preview-midnight { --swatch:#b4c3df; --swatch-companion:#d1ab90; --preview-page:#121925; --preview-surface:#253248; }
.nbk-preview-ocean { --swatch:#92c5c9; --swatch-companion:#deca9d; --preview-page:#0e1c1e; --preview-surface:#203b3e; }
.nbk-preview-rose { --swatch:#d3adba; --swatch-companion:#b4c8ae; --preview-page:#20171c; --preview-surface:#3c2c34; }
.nbk-preview-copper { --swatch:#d6aa84; --swatch-companion:#adc1d1; --preview-page:#211a15; --preview-surface:#3e3025; }
.nbk-theme-preview i { position:absolute; top:16px; left:16px; width:13px; height:13px; border:1px solid var(--swatch); border-radius:50%; }
.nbk-theme-preview i::after { content:''; position:absolute; inset:3px; border:1px solid var(--swatch-companion); transform:rotate(45deg); }
.nbk-theme-preview b { position:absolute; top:14px; left:37px; font:500 10px/18px Georgia,serif; letter-spacing:.02em; color:#f0ece3; }
.nbk-theme-preview .nbk-preview-title { position:absolute; top:47px; left:16px; font:500 25px/1.2 Georgia,serif; }
.nbk-preview-lines { position:absolute; left:16px; top:84px; width:44%; height:3px; background:#f0ece36b; border-radius:3px; }
.nbk-preview-lines::after { content:''; position:absolute; top:8px; width:70%; height:3px; background:#f0ece32e; border-radius:3px; }
.nbk-theme-preview em { position:absolute; right:15px; bottom:17px; width:46px; height:46px; border:1px solid color-mix(in srgb,var(--swatch) 35%,transparent); border-radius:14px; background:var(--preview-surface); }
.nbk-theme-preview em::before { content:''; position:absolute; inset:11px; border:1px solid var(--swatch-companion); border-radius:50%; }
.nbk-theme-preview em::after { content:''; position:absolute; top:17px; left:20px; border-left:7px solid var(--swatch); border-top:5px solid transparent; border-bottom:5px solid transparent; }
.nbk-counter-preview { position:relative; display:grid; place-items:center; height:87px; color:var(--nbk-setting-accent); }
.nbk-counter-preview b { display:grid; place-items:center; width:44px; height:44px; border:2px solid currentColor; border-radius:50%; font:500 1.1rem 'Poppins',sans-serif; }
.nbk-counter-classic b { border-left-color:rgba(255,255,255,.15); }
.nbk-counter-orbit::after { content:''; position:absolute; width:58px; height:58px; border:1px dotted currentColor; border-radius:50%; opacity:.5; }
.nbk-counter-orbit b { border-width:1px; box-shadow:0 0 16px rgba(var(--nbk-theme-rgb,229,186,115),.12); }
.nbk-counter-minimal b { border:0; border-bottom:1px solid currentColor; border-radius:0; width:46px; font-size:1.9rem; }
#plusPersonalization .nbk-save-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; margin-top:28px; padding-top:22px; border-top:1px solid rgba(255,255,255,.08); }
.nbk-save-row > span { font-size:.65rem; color:var(--nbk-setting-muted); }
#plusPersonalization .nbk-save-row button { display:inline-flex; align-items:center; justify-content:center; gap:16px; width:auto; margin:0; padding:11px 16px; font-size:.75rem; }
.nbk-streak-overview { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:6px 0 28px; }
.nbk-streak-main { display:flex; align-items:center; gap:16px; }
.nbk-streak-main > svg { width:42px; height:52px; color:var(--nbk-setting-accent); flex:none; }
.nbk-streak-main strong { display:block; font-size:3.6rem; line-height:1; font-weight:500; letter-spacing:-.05em; color:var(--nbk-setting-accent); font-variant-numeric:tabular-nums; }
.nbk-streak-main div > span { display:block; color:var(--nbk-setting-muted); font-size:.72rem; margin-top:8px; }
.nbk-streak-record { text-align:right; }
.nbk-streak-record > span { display:block; color:var(--nbk-setting-muted); font-size:.53rem; letter-spacing:.12em; margin-bottom:6px; }
.nbk-streak-record > strong { font-size:1.15rem; font-weight:500; }
.nbk-streak-record small { font-size:.68rem; color:var(--nbk-setting-muted); font-weight:400; }
.nbk-week-heading { display:flex; justify-content:space-between; gap:8px; padding-top:20px; border-top:1px solid rgba(255,255,255,.08); color:var(--nbk-setting-muted); font-size:.63rem; }
#accountDhikrToday { color:var(--nbk-setting-accent); }
#plusStreak .nbk-streak-week { gap:8px; margin:16px 0 22px; }
#plusStreak .nbk-streak-day { gap:10px; padding:0; border:0; background:none; font-size:.62rem; color:var(--nbk-setting-muted); }
#plusStreak .nbk-day-mark { display:grid; place-items:center; width:34px; height:34px; max-width:100%; box-sizing:border-box; border:1px solid rgba(255,255,255,.1); border-radius:50%; color:var(--nbk-setting-muted); font-size:.7rem; }
#plusStreak .nbk-streak-day.done .nbk-day-mark { background:var(--nbk-setting-accent); border-color:var(--nbk-setting-accent); color:#121510; }
#plusStreak .nbk-streak-day.today .nbk-day-mark { border-color:var(--nbk-setting-accent); box-shadow:0 0 0 3px rgba(var(--nbk-theme-rgb,229,186,115),.08); }
#plusStreak .nbk-streak-hint { margin:0 0 18px; font-size:.74rem; color:var(--nbk-setting-muted); }
#plusStreak .nbk-dhikr-link { display:inline-flex; align-items:center; justify-content:center; gap:22px; padding:11px 18px; font-size:.76rem; }
.nbk-timezone-settings { margin-top:26px; border-top:1px solid rgba(255,255,255,.08); }
.nbk-timezone-settings summary { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:52px; cursor:pointer; list-style:none; font-size:.73rem; color:var(--nbk-setting-muted); }
.nbk-timezone-settings summary::-webkit-details-marker { display:none; }
.nbk-timezone-settings summary span { display:flex; align-items:center; gap:10px; color:var(--text-light,#f8e7c7); }
.nbk-timezone-settings summary span::after { content:'+'; color:var(--nbk-setting-accent); font-size:1rem; }
.nbk-timezone-settings[open] summary span::after { content:'−'; }
#plusStreak .nbk-timezone-settings p { margin:0 0 12px; color:var(--nbk-setting-muted); font-size:.71rem; }
#plusStreak .nbk-secondary-save { width:auto; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.16); color:inherit; padding:9px 16px; font:inherit; font-size:.74rem; }
:is(#plusPersonalization,#plusStreak) [role="status"] { color:var(--nbk-setting-muted); font-size:.7rem; margin-top:16px; }
:is(#plusPersonalization,#plusStreak) [role="status"]:empty { display:none; }
@media(max-width:420px) {
  .nbk-choice-grid { gap:6px; }
  .nbk-choice-name { padding:9px 6px; font-size:.61rem; }
  .nbk-theme-preview { margin:0; height:140px; }
  .nbk-streak-main { gap:10px; }
  .nbk-streak-main > svg { width:30px; height:42px; }
  .nbk-streak-main strong { font-size:3rem; }
  #plusStreak .nbk-streak-week { gap:4px; }
  #plusStreak .nbk-day-mark { width:29px; height:29px; }
}
@media(prefers-reduced-motion:reduce) { .nbk-choice-face { transition:none; } }
.nbk-streak-freezes { margin:12px 0 18px; padding:12px 14px; border:1px solid rgba(var(--orn-gold,229,186,115),.2); border-radius:12px; color:var(--text-muted,var(--muted-text)); font-size:.75rem; line-height:1.8; }
.nbk-streak-day.frozen,.dhikr-series-day.frozen { color:#bdccd1; border-color:rgba(170,193,204,.45); background:rgba(135,170,187,.08); }
.dhikr-series-meta { flex-wrap:wrap; }
@media(max-width:768px) {
  .nbk-feature-section { padding:16px; }
}

/* Paired accents on neutral surfaces, rather than tinting every element alike. */
html[data-nbk-theme] :is(.ill-index,.navlist) { background:linear-gradient(145deg,rgba(var(--nbk-elevated-rgb),.97),rgba(var(--nbk-surface-rgb),.98)); }
html[data-nbk-theme] .ill-ring::before { border-color:rgba(var(--nbk-companion-rgb),.3); }
html[data-nbk-theme] :is(.tab-btn.active,.mode-tab.active,.billing-toggle button.active) { color:var(--nbk-companion-color); border-color:rgba(var(--nbk-companion-rgb),.45); }
html[data-nbk-theme] :is(.nbk-feature-section,.shared-recitations,.feature-board,.shared-recitation-upload-panel,.shared-recitation-own-panel) { background:radial-gradient(ellipse at 100% 0%,rgba(var(--nbk-companion-rgb),.06),transparent 60%),linear-gradient(145deg,rgb(var(--nbk-elevated-rgb)),rgb(var(--nbk-surface-rgb))); }
html[data-nbk-theme] .nbk-site-topbar .word,html[data-nbk-theme] .lockup .word { background-image:linear-gradient(110deg,var(--primary-color),var(--nbk-companion-color)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.nbk-choice-name:has(.nbk-palette-description) { flex-direction:column; gap:3px; }
.nbk-palette-description { font-size:.56rem; font-weight:400; line-height:1.5; color:var(--text-muted,#aaa69c); text-align:center; }

.nbk-recommendation-views{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0 12px;padding:5px;border:1px solid rgba(var(--orn-gold,229,186,115),.2);border-radius:12px;background:rgba(0,0,0,.14)}.nbk-recommendation-views button{flex:1;min-height:44px;padding:11px 16px;border:1px solid transparent;border-radius:9px;background:transparent;color:inherit;font:inherit;font-size:.78rem;cursor:pointer}.nbk-recommendation-views button[aria-pressed=true]{background:rgba(var(--orn-gold,229,186,115),.12);border-color:rgba(var(--orn-gold,229,186,115),.32);color:var(--primary-color,#e5ba73)}.nbk-recommendation-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;flex-wrap:wrap;font-size:.76rem}.nbk-feature-section :is(.nbk-clear-admin-history,.nbk-history-previous,.nbk-history-next){min-height:44px;padding:10px 14px;border:1px solid rgba(var(--orn-gold,229,186,115),.24);border-radius:10px;background:rgba(255,255,255,.035);color:inherit;font:inherit;font-size:.74rem;cursor:pointer}.nbk-feature-section :is(.nbk-clear-admin-history,.nbk-history-previous,.nbk-history-next):disabled{opacity:.4;cursor:default}.nbk-recommendation-views button:focus-visible,.nbk-feature-section :is(.nbk-clear-admin-history,.nbk-history-previous,.nbk-history-next):focus-visible{outline:2px solid var(--primary-color,#e5ba73);outline-offset:3px}

.nbk-mail-status{margin:14px 0;padding:13px 15px;border:1px solid rgba(var(--orn-gold,229,186,115),.18);border-radius:10px;background:rgba(0,0,0,.16);font-size:.76rem}.nbk-mail-status .nbk-mail-summary{margin:0 0 5px;font-weight:500;color:var(--primary-color,#e5ba73)}.nbk-mail-status small{display:block;color:var(--text-muted,#b6b1a6);line-height:1.7}.nbk-mail-status[data-mail-status=failed] .nbk-mail-summary{color:#e4a28a}.nbk-mail-status details{margin-top:10px}.nbk-mail-status summary{cursor:pointer}.nbk-mail-event{display:grid;gap:3px;margin:10px 0;padding-left:12px;border-left:2px solid rgba(var(--orn-gold,229,186,115),.3)}.nbk-mail-event span,.nbk-mail-status details>p{color:var(--text-muted,#b6b1a6);font-size:.72rem}.nbk-mail-event strong{font-weight:500}

.nbk-mail-status .nbk-mail-received{color:#bdd39f}.recommendation-mail-receipt[hidden],.recommendation-mail-receipt [hidden]{display:none!important}.recommendation-mail-receipt{scroll-margin-top:28px;border:1px solid rgba(var(--orn-gold,229,186,115),.35)!important;background:rgba(25,25,17,.94)!important}.recommendation-mail-receipt h2{font-family:'Playfair Display',Georgia,serif;font-size:28px;font-weight:500}.recommendation-mail-receipt [data-receipt-status]{color:var(--primary-color,#e5ba73);min-height:2em}.recommendation-mail-receipt .nbk-recommendation-actions :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 15px;border:1px solid rgba(var(--orn-gold,229,186,115),.3);border-radius:10px;color:inherit;background:rgba(255,255,255,.035);font:inherit;font-size:13px;text-decoration:none;cursor:pointer}.recommendation-mail-receipt [data-receipt-confirm]{background:var(--primary-color,#e5ba73)!important;color:#17150e!important}.recommendation-mail-receipt button:disabled{opacity:.5;cursor:wait}.recommendation-mail-receipt :is(a,button):focus-visible{outline:2px solid var(--primary-color,#e5ba73);outline-offset:3px}

.recommendations-page .recommendation-mail-receipt{width:100%;max-width:none;box-sizing:border-box;padding:26px;margin:0 0 24px;border-radius:22px}@media(max-width:600px){.recommendations-page .recommendation-mail-receipt{padding:20px}}

/* Readable palette cards, independent of the currently selected palette. */
#plusPersonalization .nbk-choice-grid:has(input[name="theme"]) { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
#plusPersonalization .nbk-choice:has(input[name="theme"]) .nbk-choice-face { border-radius:16px; background:#181611; border-color:#ffffff20; }
#plusPersonalization .nbk-choice:has(input[name="theme"]:checked) .nbk-choice-face { border-color:#e5ba73; box-shadow:0 0 0 1px #e5ba7340; }
#plusPersonalization .nbk-choice:has(input[name="theme"]) .nbk-choice-name { padding:14px 16px; min-height:58px; box-sizing:border-box; align-items:flex-start; justify-content:center; flex-direction:column; gap:4px; font-size:.82rem; color:#f0ece3; }
#plusPersonalization .nbk-choice:has(input[name="theme"]) .nbk-palette-description { color:#bdb9af; font-size:.66rem; text-align:left; }
#plusPersonalization .nbk-choice:has(input[name="theme"]) .nbk-choice-tick { top:13px; right:13px; width:21px; height:21px; background:#e5ba73; color:#181611; }
@media(max-width:600px) {
 #plusPersonalization .nbk-choice-grid:has(input[name="theme"]) { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 #plusPersonalization .nbk-choice:has(input[name="theme"]) .nbk-choice-name { padding:12px; font-size:.77rem; }
}
