/* Selected dark widget and compact audio reference. Material tokens live in light-theme.css. */
header>.site-nav{background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;gap:8px;padding:0;border-radius:0;min-height:64px}
header>.site-nav .nav-icon-button{border:1px solid var(--glass-edge);border-radius:18px;background:linear-gradient(165deg,var(--glass-sheen),transparent 62%),var(--glass-fill);box-shadow:inset 0 1px 0 var(--glass-sheen);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);height:64px;min-height:64px;padding:8px 4px;gap:4px}
header>.site-nav .nav-icon-button::before{content:none}
header>.site-nav .nav-icon-button.active,body.dark header>.site-nav .nav-icon-button.active{background:var(--glass-fill);border-color:var(--line)}
.nav-selection{border-radius:14px;border-color:var(--glass-edge);background:var(--nav-selection-fill);box-shadow:inset 0 1px 0 var(--glass-sheen)}
header>.site-nav .nav-icon-button>.nav-symbol{width:24px;height:24px;flex-basis:24px;color:var(--ink)}
header>.site-nav .nav-icon-button>span{font-size:12px;line-height:1.5;font-weight:700}
.card,dialog,.floating-menu,body.dark .card,#tasbih .tasbih-card,#qibla .qibla-card,body.dark #tasbih .tasbih-card,body.dark #qibla .qibla-card{border-radius:24px;background:linear-gradient(165deg,var(--glass-sheen),transparent 50%),var(--glass-fill);box-shadow:inset 0 1px 0 var(--glass-sheen),0 12px 32px #00000018;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
input:not([type=checkbox]):not([type=range]),.choice-trigger,select{border-radius:16px}
.primary,body.dark .primary,#tasbih .tasbih-panel .counter,#qibla .compass-actions button{border-radius:16px;box-shadow:inset 0 1px 0 var(--glass-sheen)}
/* One live surface: location at left, next prayer at right, all six times below. */
.prayer-overview{position:relative;isolation:isolate;display:grid;direction:ltr;grid-template-columns:minmax(0,1fr) minmax(0,2.4fr) minmax(0,1fr);grid-template-areas:"place scene upcoming" "times times times";grid-template-rows:minmax(190px,auto) auto;gap:8px 14px;overflow:hidden;min-width:0;padding:10px 14px 10px;border:1px solid var(--line);border-radius:32px;background:var(--surface-solid);box-shadow:inset 0 1px 0 var(--glass-sheen),0 20px 48px #00000022;margin:20px 0}
.prayer-overview .hero,body.dark .prayer-overview .hero{display:contents;border:0;background:transparent;box-shadow:none}
.prayer-overview .hero-picture{grid-area:scene;position:relative;inset:auto;z-index:0;display:flex;align-items:flex-end;justify-content:center;align-self:end;pointer-events:none;background:transparent;min-width:0;min-height:0;height:auto}
.prayer-overview .hero-picture img{width:100%;height:auto;object-fit:contain;object-position:center top;position:static;filter:none;opacity:1;mask-image:none}
.prayer-overview .hero-picture img[hidden]{display:none}
.prayer-overview .hero-picture::after{display:none}
.prayer-overview .location{grid-area:place;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;margin:0;padding:4px 12px;min-height:0;z-index:1;direction:ltr;text-align:left}
.prayer-overview .location-identity{gap:7px;align-items:flex-start;width:100%}
.prayer-overview #cityLabel{font-size:28px;line-height:1.5;font-weight:800}
.prayer-overview .location-date{text-align:left;direction:rtl;min-width:0;flex:none}
.prayer-overview .location-date #gregorianDate,.prayer-overview .location-date #dateLabel{font-size:15px;line-height:1.8;font-weight:700;margin:0;color:var(--ink);overflow-wrap:anywhere}
.prayer-overview .location #locate{background:#fff;color:#000;border-color:var(--line);font-size:12px;min-height:36px;padding:3px 10px;border-radius:12px}
.prayer-overview .hero-info{grid-area:upcoming;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;gap:10px;direction:rtl;text-align:right;padding:0 12px;min-width:0;border-inline-end:1px solid var(--divider);z-index:1}
.prayer-overview .hero-prayer>span{display:block;font-size:16px;font-weight:600;color:var(--ink)}
.prayer-overview .hero-prayer{width:100%;text-align:right}.prayer-overview .hero-prayer-time{width:100%;justify-content:flex-start;direction:rtl;flex-direction:row}
.prayer-overview #nextName{font-size:42px;margin:0;line-height:1.5;color:var(--ink)}
.prayer-overview .hero-timer{width:100%;gap:6px;text-align:right;align-items:flex-start;direction:rtl}
.prayer-overview .hero-timer small{font-size:15px;color:var(--ink);margin:0;line-height:1.7}
.prayer-overview .hero #countdown{font-size:38px;line-height:1.35;font-weight:800;letter-spacing:-.7px;color:var(--ink);white-space:nowrap}
.prayer-overview #prayers{grid-area:times;position:relative;z-index:1;direction:rtl;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;padding:8px;margin:0;border:1px solid var(--glass-edge);border-radius:24px;background:var(--input-fill);min-width:0;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.prayer-overview .prayer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:78px;padding:6px 4px;border:0;border-inline-start:1px solid var(--divider);border-radius:0;background:transparent;box-shadow:none;color:var(--ink)}
.prayer-overview .prayer:first-child{border-inline-start:0}
.prayer-overview .prayer .prayer-icon{display:none}
.prayer-overview .prayer span{font-size:16px;line-height:1.6;font-weight:700;color:var(--ink);white-space:nowrap}
.prayer-overview .prayer strong{font-size:28px;line-height:1.4;color:var(--ink);margin:0}
.prayer-overview .prayers .prayer.active,body.dark .prayer-overview .prayers .prayer.active{border:1px solid #3C4248;border-radius:22px;background:linear-gradient(145deg,#1C2026,#121519);box-shadow:inset 0 1px 0 rgba(255,255,255,.035);color:var(--ink)}
/* Compact player: heading and metadata above a single live transport/timeline. */
#mushaf .legacy-play-action{display:none}
#mushaf .recitation-player{display:grid;direction:ltr;grid-template-columns:auto minmax(0,1fr) 44px;grid-template-rows:auto auto;align-items:center;gap:12px 14px;padding:16px 18px;margin:18px 0 0;border:1px solid var(--glass-edge);border-radius:24px;background:linear-gradient(170deg,var(--glass-sheen),transparent 65%),var(--input-fill);box-shadow:inset 0 1px 0 var(--glass-sheen);backdrop-filter:none;-webkit-backdrop-filter:none}
.recitation-caption{grid-row:1;grid-column:1/-1;direction:rtl;text-align:start;min-width:0}
.recitation-caption>strong{display:block;font-size:18px;line-height:1.5;color:var(--ink)}
#mushaf .recitation-caption .quran-track{font-size:14px;line-height:1.8;margin:2px 0 0;color:var(--ink);font-weight:600;overflow-wrap:anywhere}
.recitation-timeline{display:contents}
#mushaf .recitation-player #qSeek{grid-row:2;grid-column:2;min-width:0;width:100%;height:28px;direction:ltr;--gold:var(--progress-fill);--line:var(--progress-track)}
.recitation-times{grid-row:2;grid-column:1;display:flex;flex-direction:column;gap:0;min-width:42px;font-size:12px;line-height:1.5;align-items:flex-start;color:var(--ink);font-variant-numeric:tabular-nums}
#mushaf #qTransport{grid-row:2;grid-column:3;display:grid;place-items:center;align-self:center;width:44px;height:44px;padding:11px;border-radius:50%;border:1px solid var(--line);background:linear-gradient(160deg,var(--glass-sheen),transparent),var(--control-fill);box-shadow:inset 0 1px 0 var(--glass-sheen);color:var(--control-ink)}
#mushaf #qTransport svg{display:block;width:21px;height:21px;fill:currentColor}
#mushaf #qStop{grid-row:3;grid-column:1/-1;justify-self:end;min-height:36px;height:36px;font-size:12px;padding:4px 12px}
#mushaf #qStop:disabled{display:none}
#mushaf #qPlay[hidden]{display:none}
#mushaf .quran-play-options{margin-top:10px;gap:12px}
#mushaf .mushaf-toolbar{background:linear-gradient(165deg,var(--glass-sheen),transparent 65%),var(--glass-fill)}
@media (max-width:760px){
 header>.site-nav{gap:4px;min-height:0;inset:auto 6px 6px;height:var(--mobile-nav-height);grid-template-rows:56px;padding:4px 3px calc(4px + var(--nav-safe-bottom));border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 header>.site-nav .nav-icon-button{border:1px solid var(--glass-edge);border-radius:14px;height:56px;min-height:0;padding:5px 0;gap:4px;grid-template-rows:24px 16px}
 header>.site-nav .nav-icon-button>span{font-size:10px}
 .nav-selection{border-radius:11px}
 .prayer-overview{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"place upcoming" "scene scene" "times times";grid-template-rows:minmax(166px,auto) auto auto;padding:16px 8px 10px;gap:14px 4px;border-radius:26px;margin:16px 0}
 .prayer-overview .location{padding:0 6px;gap:10px}
 .prayer-overview #cityLabel{font-size:21px}
 .prayer-overview .location-date #gregorianDate,.prayer-overview .location-date #dateLabel{font-size:11px;line-height:1.8}
 .prayer-overview .location #locate{font-size:10px;min-height:36px;padding:3px 6px;gap:3px}
 .prayer-overview .hero-info{padding:0 5px;gap:10px}
 .prayer-overview .hero-prayer>span,.prayer-overview .hero-timer small{font-size:12px}
 .prayer-overview #nextName{font-size:31px}
 .prayer-overview .hero #countdown{font-size:27px;letter-spacing:-.8px}
 .prayer-overview #prayers{padding:5px 2px;border-radius:20px}
 .prayer-overview .prayer{min-height:66px;padding:4px 1px;gap:5px}
 .prayer-overview .prayer span{font-size:11px}
 .prayer-overview .prayer strong{font-size:18px}
 .prayer-overview .prayers .prayer.active,body.dark .prayer-overview .prayers .prayer.active{border-radius:15px}
 #mushaf .recitation-player{padding:13px 12px;gap:10px 8px;border-radius:20px}
 .recitation-caption>strong{font-size:16px}
 #mushaf .recitation-caption .quran-track{font-size:12px}
}
@media (max-width:360px){.prayer-overview .hero #countdown{font-size:24px}.prayer-overview #cityLabel{font-size:19px}.prayer-overview .prayer strong{font-size:16px}.prayer-overview .prayer span{font-size:10px}}
@media (prefers-reduced-transparency:reduce){header>.site-nav .nav-icon-button,.card,.prayer-overview,#mushaf .mushaf-toolbar,#mushaf .recitation-player{background:var(--surface-solid)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}

.prayer-overview .location-city{display:flex;direction:ltr;align-items:center;gap:10px}.prayer-overview .city-pin{width:24px;height:28px;object-fit:contain;flex:none}body.dark .prayer-overview .city-pin{filter:invert(1)}

.prayer-overview .hero .hero-prayer>span,.prayer-overview .hero .hero-timer small,.prayer-overview .location-date #gregorianDate,.prayer-overview .location-date #dateLabel,#mushaf .recitation-caption .quran-track{color:var(--caption-ink)}
.prayer-overview .prayer[data-prayer=sunrise] span{color:var(--caption-ink)}
.prayer-overview .next-prayer-icon{width:28px;height:28px;object-fit:contain;filter:none;flex:none}body.dark .prayer-overview .next-prayer-icon{filter:invert(77%) sepia(92%) saturate(1700%) hue-rotate(355deg)}

.prayer-overview .hero-prayer-time{flex-direction:row;justify-content:flex-start}

/* Selected media styling; playback controls remain exclusively inside Mushaf. */
#mushaf .reference-player{background:linear-gradient(170deg,var(--media-top),transparent 75%),var(--media-fill);border-color:var(--media-edge);border-radius:24px;margin:12px 0 0;padding:14px 18px;gap:10px 12px;box-shadow:inset 0 1px 0 var(--glass-sheen)}
#mushaf .recitation-caption>strong{font-size:20px}
#mushaf .recitation-caption .quran-track{color:var(--caption-ink);font-size:15px;line-height:1.8}
#mushaf #qTransport{background:linear-gradient(160deg,var(--media-top),transparent),var(--media-fill);border-color:var(--media-edge);color:var(--ink)}
#mushaf .recitation-player #qSeek{--gold:var(--progress-fill);--line:var(--media-track)}
#mushaf .recitation-times{flex-direction:row;gap:3px;align-items:center;font-size:12px;white-space:nowrap}
#qDuration::before{content:" / "}
#qSeek::-webkit-slider-runnable-track{height:4px}
#qSeek::-webkit-slider-thumb{width:18px;height:18px;margin-top:-7px;border:0}
#qSeek::-moz-range-track{height:4px}#qSeek::-moz-range-progress{height:4px}#qSeek::-moz-range-thumb{width:18px;height:18px;border:0}
@media (max-width:760px){#mushaf .reference-player{padding:12px 10px;gap:8px}#mushaf .recitation-caption>strong{font-size:17px}#mushaf .recitation-caption .quran-track{font-size:13px}}
@media (prefers-reduced-transparency:reduce){#mushaf .reference-player{background:var(--surface-solid)!important}}

#mushaf #qAudioStatus{grid-row:3;grid-column:1/3;margin:0;font-size:12px;line-height:1.6;color:var(--caption-ink)}
#mushaf #qAudioStatus:empty{display:none}
#mushaf #qStop{grid-row:3;grid-column:3;min-height:36px;height:36px;min-width:44px;padding:4px 8px;font-size:11px}

/* Keep the large city label; white dates use a smaller, naturally wrapping hierarchy. */
.prayer-overview{--place-font:28px;--date-font:18px;background:var(--surface-solid)}
.prayer-overview #cityLabel{font-family:SalatiCairo,Tahoma,Arial,sans-serif;font-size:var(--place-font);font-weight:800;line-height:1.5;color:#FFFFFF;opacity:1;overflow-wrap:anywhere;white-space:normal}
.prayer-overview .location-date #gregorianDate,.prayer-overview .location-date #dateLabel{font-family:SalatiCairo,Tahoma,Arial,sans-serif;font-size:var(--date-font);font-weight:700;line-height:1.65;color:#FFFFFF;opacity:1;overflow-wrap:normal;word-break:normal;white-space:normal;text-wrap:pretty;hyphens:none}
.prayer-overview .location-date p+p{margin-top:3px}
.prayer-overview .location-date{width:100%;min-width:0;text-align:left;align-self:flex-start}.prayer-overview .location-date p{margin:0}
.prayer-overview .hero-info .next-prayer-icon{display:none!important}
.prayer-overview .hero-timer{gap:0}.prayer-overview .hero #countdown{color:#FFFFFF}
.prayer-overview .location #locate{background:var(--control-fill);color:#FFFFFF;border-color:var(--line)}
#mushaf #qStop:disabled{display:inline-flex;opacity:1}
@media(max-width:760px){.prayer-overview{--place-font:21px;--date-font:14px}}
@media(max-width:360px){.prayer-overview{--place-font:19px}}

/* Display the original photo without opacity masks or drop shadows. */
.prayer-overview .hero-picture{align-self:stretch;height:100%;min-height:190px;overflow:hidden}
.prayer-overview .hero-picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;mask:none;-webkit-mask:none;filter:none;box-shadow:none}
@media(max-width:760px){.prayer-overview .hero-picture{height:auto;min-height:0;aspect-ratio:1120/322}}

/* Every action, including formerly text-only actions, shares the approved material. */
button{background-color:var(--card);border-color:var(--glass-edge);box-shadow:inset 0 1px 0 var(--glass-sheen)}
button:not(:disabled){color:#FFFFFF}button:disabled{color:var(--control-disabled-ink);opacity:1}
body.dark button{color:#FFFFFF;background-color:var(--card);border:1px solid var(--glass-edge)}
body.dark #tasbih .tasbih-reset,body.dark #settings .adjust-reset{color:#FFFFFF;background:var(--control-fill);border:1px solid var(--line)}
body.dark button:disabled{color:var(--control-disabled-ink);opacity:1}

/* Reference media: compact header, original stop control, fine timeline, small visual play disc. */
#mushaf .reference-player{--media-edge:rgba(255,255,255,.34);--media-track:rgba(255,255,255,.3);--line:var(--media-edge);width:100%;max-width:none;padding:12px 16px;gap:8px 12px}
#mushaf .reference-player .recitation-caption{grid-column:2/-1}
#mushaf .reference-player #qStop{grid-row:1;grid-column:1;justify-self:start;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:4px;font-size:11px;border-radius:12px}
#mushaf .reference-player #qTransport{position:relative;isolation:isolate;width:44px;height:44px;padding:0;border:0;background:transparent;box-shadow:none}
#mushaf .reference-player #qTransport::before{content:"";position:absolute;inset:4px;z-index:-1;border:1px solid var(--media-edge);border-radius:50%;background:linear-gradient(160deg,var(--media-top),transparent),var(--media-fill);box-shadow:inset 0 1px 0 var(--glass-sheen)}
#mushaf .reference-player #qTransport svg{width:16px;height:16px}
#mushaf .reference-player #qAudioStatus{grid-column:1/-1}
@media(max-width:760px){#mushaf .reference-player{width:calc(100% + 16px);margin-inline:-8px;padding:12px 10px;gap:8px}}

/* Keep first-party hyperlinks in the explicit palette, including visited citations. */
a:any-link{color:var(--ink)}

/* Blue belongs only to Quran playback/stop. Other actions are charcoal. */
body.dark :is(#qPlay,#qStop):not(:disabled){border-color:var(--action-edge);background:var(--action-fill);color:#FFFFFF;box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}
body.dark :is(#qPlay,#qStop):hover:not(:disabled){background:var(--action-hover)}
body.dark :is(#qPlay,#qStop):active:not(:disabled){background:var(--action-pressed)}
body.dark button:disabled{color:var(--control-disabled-ink);background:var(--control-disabled);border-color:var(--control-edge);box-shadow:none;background-image:none}
body.dark :is(#audioEnable,#duaToggle,#silentAdhanToggle),
body.dark #settings .announcement-settings input.compact-switch{
 border:1px solid var(--control-edge);background:#040509;box-shadow:none;
}
body.dark :is(#audioEnable,#duaToggle,#silentAdhanToggle)[aria-checked=true],
body.dark #settings .announcement-settings input.compact-switch:checked{border-color:#FFFFFF;background:linear-gradient(150deg,rgba(255,255,255,.18),rgba(255,255,255,.06)),var(--control-fill)}
body.dark .prayer-switches input[type=checkbox],body.dark .quran-play-options input[type=checkbox]{border-color:var(--control-edge)}
body.dark .prayer-switches input[type=checkbox]:checked,body.dark .quran-play-options input[type=checkbox]:checked{border-color:#FFFFFF;background:linear-gradient(150deg,rgba(255,255,255,.18),rgba(255,255,255,.06)),var(--control-fill)}
body.dark .quran-play-options input[type=checkbox]::before{background:#FFFFFF}
body.dark header>.site-nav .nav-icon-button.active{background:var(--glass-fill);border-color:var(--glass-edge)}
#mushaf .reference-player #qTransport::before{background:linear-gradient(160deg,rgba(255,255,255,.1),transparent 70%),var(--control-fill);border-color:var(--control-edge)}
#mushaf .reference-player #qTransport:hover::before{background:linear-gradient(160deg,rgba(255,255,255,.16),transparent 70%),var(--control-hover)}
#mushaf .reference-player #qTransport:active::before{background:linear-gradient(160deg,rgba(255,255,255,.065),transparent 68%),var(--control-pressed)}
body.dark #settings .adjust-reset{padding:7px 12px;min-width:96px;white-space:nowrap}
/* Selectors and list rows are navigation/selection surfaces, not blue action buttons. */
body.dark :is(.choice-trigger,.choice-option,.voice-option,[role=option]){
 background:var(--input-fill);border-color:var(--glass-edge);color:#FFFFFF;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
body.dark :is(.choice-option[aria-selected=true],.voice-option[aria-pressed=true],[role=option][aria-selected=true]){
 background:var(--selected);border-color:rgba(255,255,255,.46);
}
body.dark :is(.choice-trigger,.choice-option,.voice-option,[role=option]):hover:not(:disabled){
 border-color:#FFFFFF;
}
body.dark :is(.choice-trigger,.choice-option,.voice-option,[role=option]):disabled{
 background:var(--input-fill);border-color:var(--glass-edge);color:rgba(255,255,255,.65);box-shadow:none;
}
/* The existing Kaaba geometry uses white faces/bands on deep charcoal, without colored shading. */
#qibla .kaaba-icon path{fill:#FFFFFF;stroke:none}
#qibla .kaaba-icon path:nth-child(-n+3){fill:#040509;stroke:#FFFFFF;stroke-width:1.8;stroke-linejoin:round}
#qibla .qibla-card .kaaba-icon{filter:none}
#qibla .qibla-card .compass{border-color:rgba(255,255,255,.46);box-shadow:inset 0 0 0 10px #040509,0 0 0 1px rgba(255,255,255,.08)}
#qibla .qibla-card .compass::after{border-color:rgba(255,255,255,.32)}
#qibla .qibla-card .cardinal,#qibla .qibla-card .north,#qibla .qibla-reading p{color:#FFFFFF}
#qibla .qibla-card .qibla-ray{background:#FFFFFF}

/* One supplied reference material for every selection menu, on phone and desktop. */
body.dark dialog.choice-sheet,body.dark dialog.voice-sheet{
 inset:0;margin:auto;width:min(560px,calc(100% - 24px));max-width:560px;max-height:calc(100dvh - 24px);
 padding:14px 16px 18px;border:1px solid rgba(255,255,255,.25);border-radius:28px;
 background:linear-gradient(150deg,rgba(255,255,255,.035),transparent 60%),#0B0E13;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 24px 70px rgba(0,0,0,.65);overflow:hidden;
}
body.dark dialog.choice-sheet[open],body.dark dialog.voice-sheet[open]{display:flex;flex-direction:column}
.choice-sheet .sheet-handle,.voice-sheet .sheet-handle{width:48px;height:5px;border-radius:999px;margin:0 auto 18px;background:rgba(255,255,255,.28);flex:none}
.choice-sheet .choice-heading,.voice-sheet .voice-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:18px;flex:none;padding:0 3px;margin:0 0 16px}
.choice-heading>div,.voice-sheet-header>div{min-width:0}
.choice-sheet .choice-heading small,.voice-sheet-header small{display:block;margin:0 0 2px;font-size:13px;font-weight:600;color:rgba(255,255,255,.65)}
.choice-sheet .choice-heading h2,.voice-sheet .voice-sheet-header h2{font-size:25px;line-height:1.6;margin:0;color:#FFFFFF}
body.dark dialog.choice-sheet .choice-close,body.dark dialog.voice-sheet #voicePickerClose{
 display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;min-width:44px;padding:0;
 border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(255,255,255,.055);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);color:#FFFFFF;font-size:27px;line-height:1;
}
.choice-search-wrap{margin-bottom:12px;flex:none}
body.dark dialog.choice-sheet .choice-search-wrap input,body.dark dialog.voice-sheet .choice-search-wrap input,body.dark dialog.uniform-menu input.menu-search{
 width:100%;height:50px;min-height:50px;border:1px solid rgba(255,255,255,.35);border-radius:17px;background-color:transparent;
 background-image:url('icons/magnifying-glass.svg');background-position:left 14px center;background-repeat:no-repeat;background-size:23px;
 padding:9px 14px 9px 48px;color:#FFFFFF;font-size:16px;direction:inherit;text-align:start;
}
.choice-sheet input::placeholder,.voice-sheet input::placeholder{color:rgba(255,255,255,.6)}
body.dark dialog.choice-sheet .choice-search-wrap input:dir(ltr),body.dark dialog.voice-sheet .choice-search-wrap input:dir(ltr),body.dark dialog.uniform-menu input.menu-search:dir(ltr){background-position:right 14px center;padding:9px 48px 9px 14px}
#choiceList,#locationOptions,#voicePickerList{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:auto;overscroll-behavior:contain;padding:1px 1px 3px}
body.dark :is(dialog.choice-sheet,dialog.voice-sheet) :is(.choice-option,.voice-option){
 display:flex;align-items:center;gap:12px;min-height:62px;width:100%;flex:none;padding:9px 12px;border:1px solid rgba(255,255,255,.24);border-radius:18px;
 background:linear-gradient(150deg,rgba(255,255,255,.035),transparent 70%),#0B0E13;box-shadow:none;color:#FFFFFF;text-align:start;
}
body.dark :is(dialog.choice-sheet,dialog.voice-sheet) :is(.choice-option[aria-selected=true],.choice-option[aria-checked=true],.voice-option[aria-pressed=true]){
 background:#15181D;border-color:#3C4248;
}
body.dark :is(dialog.choice-sheet,dialog.voice-sheet) :is(.choice-option,.voice-option):hover:not(:disabled){border-color:rgba(255,255,255,.6)}
.choice-sheet .choice-badge,.voice-sheet .voice-symbol{width:38px;height:38px;flex:0 0 38px;padding:8px;border:0;border-radius:12px;background:rgba(255,255,255,.065);color:#FFFFFF;font-size:17px;display:grid;place-items:center}
.choice-badge img{width:22px;height:22px;display:block}.choice-sheet .choice-option-text,.voice-sheet .voice-name{font-size:17px;font-weight:700;line-height:1.5}
.choice-sheet .choice-option-detail,.voice-sheet .voice-choice-note{font-size:11px;line-height:1.5;color:rgba(255,255,255,.7);margin-top:2px}
.choice-sheet .choice-mark,.voice-sheet .voice-check{flex:0 0 22px;width:22px;height:24px;color:#FFFFFF;font-size:24px;border:0;background:transparent}
body.dark .voice-option .voice-check{color:transparent}body.dark .voice-option[aria-pressed=true] .voice-check{color:#FFFFFF;background:transparent;border:0}
.voice-sheet .voice-choice-note{display:none}
body.dark .uniform-menu .floating-menu{position:static;width:100%;max-height:none;min-height:0;display:flex;flex-direction:column;gap:8px;padding:0;overflow:auto;border:0;box-shadow:none;background:transparent;backdrop-filter:none}
.uniform-menu .compact-select-options{display:flex;flex-direction:column;gap:8px;padding:1px;overflow:auto;min-height:0}
.uniform-menu input.menu-search{flex:none;margin:0 0 4px}
.uniform-menu .choice-option[aria-selected=true]::after{content:none}
body.dark dialog.choice-sheet .location-back{background:transparent;border-color:rgba(255,255,255,.25);box-shadow:none;color:#FFFFFF}
@media(max-width:600px){body.dark dialog.choice-sheet,body.dark dialog.voice-sheet{inset:0;margin:auto;width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:25px;padding:14px 13px 16px;border-bottom:1px solid rgba(255,255,255,.25)}}

body.dark dialog.choice-sheet input[type=search]:focus-visible,body.dark dialog.voice-sheet input[type=search]:focus-visible{border-color:rgba(255,255,255,.55);outline:0;box-shadow:none}

/* One calm field border; no outer white ring or focus glow on text-entry controls. */
body.dark input:not([type=checkbox]):not([type=range]):focus-visible,body.dark textarea:focus-visible,body.dark select:focus-visible{border-color:rgba(255,255,255,.55);outline:0;box-shadow:none}

/* Footer actions need a real layout gap; inline HTML whitespace is not spacing. */
footer>div{display:flex;align-items:center;justify-content:center;column-gap:18px;row-gap:14px;flex-wrap:wrap;max-width:100%;padding:6px 0}
footer>div>button{margin:0;flex:0 1 auto;max-width:100%}

/* Keyboard focus stays on the existing frame: no second ring or luminous halo. */
body.dark :is(button,a,input,select,textarea):focus-visible,
body.dark header>.site-nav .nav-icon-button:focus-visible,
body.dark #settings .announcement-settings input.compact-switch:focus-visible,
body.dark :is(#audioEnable,#duaToggle,#silentAdhanToggle):focus-visible{
 --action-edge:rgba(255,255,255,.65);--control-edge:rgba(255,255,255,.65);--glass-edge:rgba(255,255,255,.65);outline:0;border-color:rgba(255,255,255,.65);
}
body.dark dialog.choice-sheet :is(.choice-option,.choice-close):focus-visible,
body.dark dialog.voice-sheet :is(.voice-option,#voicePickerClose):focus-visible{outline:0;box-shadow:none;border-color:rgba(255,255,255,.55)}

/* Exact reference material is independent from the blue action palette. */
header>.site-nav{border:1px solid rgba(255,255,255,.1);border-radius:26px;padding:6px;background:rgba(4,5,9,.78);gap:8px;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
header>.site-nav .nav-icon-button,body.dark header>.site-nav .nav-icon-button.active{border:1px solid rgba(255,255,255,.14);background:linear-gradient(160deg,rgba(255,255,255,.065),transparent 67%),#040509;box-shadow:inset 0 1px 0 rgba(255,255,255,.035);border-radius:20px}
header>.site-nav .nav-selection{border:0;background:rgba(255,255,255,.035);box-shadow:none}
#mushaf .reference-player{--media-edge:rgba(255,255,255,.14);background:linear-gradient(170deg,rgba(255,255,255,.065),transparent 75%),#040509;border:1px solid var(--media-edge);border-radius:24px;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
#mushaf .reference-player #qTransport::before{border-color:rgba(255,255,255,.25);background:linear-gradient(160deg,rgba(255,255,255,.065),transparent 72%),#040509;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
#mushaf .reference-player #qTransport:hover::before{background:linear-gradient(160deg,rgba(255,255,255,.12),transparent 72%),#040509}
#mushaf .reference-player #qTransport:active::before{background:#040509}
@media(max-width:760px){header>.site-nav{border:1px solid rgba(255,255,255,.1);border-radius:21px;padding:3px 4px calc(3px + var(--nav-safe-bottom));gap:4px;background:rgba(4,5,9,.9);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}header>.site-nav .nav-icon-button,body.dark header>.site-nav .nav-icon-button.active{border-radius:16px}}

body.dark header>.site-nav .nav-icon-button:focus-visible{border-color:rgba(255,255,255,.65);outline:0}

/* Switch positions stay charcoal; brighter grayscale differentiates ON and OFF. */
body.dark :is(#audioEnable,#duaToggle,#silentAdhanToggle),body.dark #settings .announcement-settings input.compact-switch,
body.dark .prayer-switches input[type=checkbox],body.dark .quran-play-options input[type=checkbox]{background:var(--action-off);border:1px solid var(--action-edge);box-shadow:none}
body.dark :is(#audioEnable,#duaToggle,#silentAdhanToggle)[aria-checked=true],body.dark #settings .announcement-settings input.compact-switch:checked,
body.dark .prayer-switches input[type=checkbox]:checked,body.dark .quran-play-options input[type=checkbox]:checked{background:var(--action-fill);border-color:var(--action-edge);box-shadow:none}
body.dark :is(#audioEnable,#duaToggle,#silentAdhanToggle) .toggle-thumb,body.dark .prayer-switches input::after,body.dark .quran-play-options input::before{background:#FFFFFF}
body.dark :is(#qPlay,#qStop):disabled{background:var(--action-off);border-color:var(--action-edge);color:rgba(255,255,255,.6)}
#mushaf .reference-player #qTransport::before{background:var(--action-fill);border-color:var(--action-edge);box-shadow:none}
#mushaf .reference-player #qTransport:hover::before{background:var(--action-hover)}
#mushaf .reference-player #qTransport:active::before{background:var(--action-pressed)}

#mushaf .reference-player #qTransport:disabled::before{background:var(--action-off)}
#qFollowToggle{accent-color:#FFFFFF}

body.dark #tasbih .tasbih-panel .counter:focus-visible{outline:0;border-color:rgba(255,255,255,.65)}

body.dark #audioEnable.audio-toggle:not(.is-on),body.dark :is(#duaToggle,#silentAdhanToggle)[aria-checked=false]{background:var(--action-off);border-color:var(--action-edge);box-shadow:none}
body.dark #audioEnable.audio-toggle.is-on,body.dark :is(#duaToggle,#silentAdhanToggle)[aria-checked=true]{background:var(--action-fill);border-color:var(--action-edge);box-shadow:none}

body.dark #mushaf :is(#qPlay,#qStop):not(:disabled){background:var(--action-fill);border-color:var(--action-edge);color:#FFFFFF}
body.dark #mushaf :is(#qPlay,#qStop):hover:not(:disabled){background:var(--action-hover)}
body.dark #mushaf :is(#qPlay,#qStop):active:not(:disabled){background:var(--action-pressed)}
body.dark #mushaf :is(#qPlay,#qStop):disabled{background:var(--action-off);border-color:var(--action-edge);color:rgba(255,255,255,.6)}

/* Final reference alignment: quiet charcoal frames, dark blue audio controls. */
footer>div>button{border-radius:14px;padding:10px 18px}
body.dark :is(dialog.choice-sheet,dialog.voice-sheet) :is(.choice-mark,.voice-check){display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;font-size:0;line-height:0;border:0;box-shadow:none;border-radius:0;background-color:transparent;background-image:none}
body.dark :is(dialog.choice-sheet,dialog.voice-sheet) .choice-mark:not(:empty),body.dark dialog.voice-sheet .voice-option[aria-pressed=true] .voice-check{background-image:url('icons/check.svg');background-repeat:no-repeat;background-position:center;background-size:21px 21px}
body.dark #mushaf .reference-player #qStop{grid-row:1;grid-column:1;width:44px;height:44px;min-width:44px;padding:10px;border-radius:50%;display:grid;place-items:center}
body.dark #mushaf .reference-player #qStop:disabled{display:none}
#mushaf .reference-player #qStop img{width:18px;height:18px;display:block}
#mushaf .reference-player .recitation-caption{grid-column:1/-1}
#mushaf .reference-player:has(#qStop:not(:disabled)) .recitation-caption{grid-column:2/-1}
#mushaf .reference-player .recitation-times{min-width:32px}
#mushaf .reference-player #qDuration{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#mushaf .reference-player #qDuration::before{content:none}
#mushaf .reference-player{padding:14px 18px;gap:8px 12px}
body.dark #mushaf .mushaf-sheet .quran-surah-title{min-height:52px;padding:10px 18px;margin:12px 0 16px;border:1px solid #32383F;border-radius:16px;background:#15181D;box-shadow:inset 0 1px 0 rgba(255,255,255,.035);font-size:20px;line-height:1.6}
body.dark #mushaf #qSurahPickerOpen{border:1px solid #32383F;border-radius:16px;background:#15181D;min-height:58px;padding:10px 16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
@media(max-width:760px){#mushaf .reference-player{padding:12px 10px;gap:8px}footer>div{column-gap:14px;row-gap:14px}body.dark #mushaf .mushaf-sheet .quran-surah-title{font-size:18px}}



/* Salati 2026-10-31: exact screenshot charcoal (#0B0E13/#040509).
   Only the recitation play/pause and stop buttons may use blue. */
:root,body,body.dark{
 --bg:#0B0E13;--page-glow:#0B0E13;--card:#040509;
 --glass-fill:rgba(4,5,9,.88);--surface-solid:#040509;
 --media-fill:#040509;--media-top:rgba(255,255,255,.06);
 --media-edge:#32383F;--media-track:#32383F;
 --control-fill:#040509;--control-hover:#111318;
 --control-disabled:#040509;--control-pressed:#080A0F;
 --switch-off:#040509;--input-fill:#040509;
 --instrument-surface:#040509;--reading-surface:#040509;
 --action-fill:#2563EB;--action-hover:#1D4ED8;
 --action-pressed:#1E40AF;--action-off:#0B2347;
}
body,body.dark{background:#0B0E13;color:#FFFFFF;color-scheme:dark}
/* Match screenshot shapes and icon weight without blue overlays. */
body.dark header>.site-nav .nav-icon-button,
body.dark header>.site-nav .nav-icon-button.active{
 background:linear-gradient(160deg,rgba(255,255,255,.065),transparent 67%),#040509;
 border:1px solid rgba(255,255,255,.14);color:#FFFFFF;
}
body.dark header>.site-nav .nav-icon-button .nav-symbol{color:#FFFFFF;opacity:1;filter:none}
body.dark #mushaf .mushaf-emblem{width:52px;height:52px;opacity:1;filter:none;object-fit:contain}
body.dark #mushaf .reference-player{
 background:linear-gradient(170deg,rgba(255,255,255,.065),transparent 75%),#040509;
 border-color:rgba(255,255,255,.14);
}
body.dark #mushaf .recitation-caption,
body.dark #mushaf .recitation-caption .quran-track{opacity:1;color:#FFFFFF}
/* All other controls: charcoal/white, including ON/OFF switches. */
body.dark :is(#previewFajrPhrase,#previewAdhan,#previewDua,#audioStop,#audioResume,#qFollowTransport):not(:disabled),
body.dark :is(#tasbih .tasbih-reset,#settings .adjust-reset){
 background:var(--control-fill);border:1px solid var(--control-edge);
 color:#FFFFFF;box-shadow:none;
}
body.dark :is(#previewFajrPhrase,#previewAdhan,#previewDua,#audioStop,#audioResume,#qFollowTransport):hover:not(:disabled){
 background:var(--control-hover);border-color:var(--control-edge);
}
body.dark :is(#audioEnable,#duaToggle,#silentAdhanToggle),
body.dark #settings .announcement-settings input.compact-switch,
body.dark .prayer-switches input[type=checkbox],
body.dark .quran-play-options input[type=checkbox]{
 background:#040509;border:1px solid var(--control-edge);box-shadow:none;
}
body.dark :is(#audioEnable,#duaToggle,#silentAdhanToggle)[aria-checked=true],
body.dark #settings .announcement-settings input.compact-switch:checked,
body.dark .prayer-switches input[type=checkbox]:checked,
body.dark .quran-play-options input[type=checkbox]:checked{
 background:#32383F;border-color:#FFFFFF;box-shadow:none;
}
body.dark #audioEnable.audio-toggle:not(.is-on),
body.dark :is(#duaToggle,#silentAdhanToggle)[aria-checked=false]{
 background:#040509;border-color:var(--control-edge);box-shadow:none;
}
body.dark #qFollowToggle{accent-color:#FFFFFF}
/* Only Quran play/pause and stop are blue, with clear white icons. */
body.dark #mushaf .reference-player #qTransport{
 color:#FFFFFF;opacity:1;filter:none;
}
body.dark #mushaf .reference-player #qTransport::before{
 background:#2563EB;border:1px solid #3B82F6;box-shadow:none;
}
body.dark #mushaf .reference-player #qTransport:hover:not(:disabled)::before{
 background:#1D4ED8;border-color:#3B82F6;
}
body.dark #mushaf .reference-player #qTransport:active:not(:disabled)::before{
 background:#1E40AF;
}
body.dark #mushaf .reference-player #qTransport:disabled::before{
 background:#0B2347;border-color:#3B82F6;
}
body.dark #mushaf .reference-player #qStop:not(:disabled){
 background:#2563EB;border:1px solid #3B82F6;color:#FFFFFF;
 border-radius:50%;box-shadow:none;
}
body.dark #mushaf .reference-player #qStop:hover:not(:disabled){
 background:#1D4ED8;
}
body.dark #mushaf .reference-player #qStop:disabled{
 display:none;background:#040509;border-color:var(--glass-edge);
}
body.dark #mushaf .reference-player #qStop img{opacity:1;filter:none}
body.dark #mushaf :is(.quran-surah-title,#qSurahPickerOpen){
 background:#15181D;border-color:#32383F;color:#FFFFFF;
}


/* Resolve higher-specificity historic rules for the sound toggles/follow button. */
body.dark #audioEnable.audio-toggle.is-on{
 background:#32383F;border:1px solid #FFFFFF;box-shadow:none;
}
body.dark #mushaf #qFollowTransport:not(:disabled),
body.dark #mushaf #qFollowTransport:hover:not(:disabled),
body.dark #mushaf #qFollowTransport:active:not(:disabled){
 background:#040509;border-color:var(--control-edge);
 color:#FFFFFF;box-shadow:none;
}

/* Idle audio-stop must never retain a blue disabled fill. */
body.dark #audioStop:disabled{background:var(--control-disabled);border-color:var(--control-edge);color:var(--control-disabled-ink)}


/* Full interface contrast audit, 2026-10-31.
   The screenshot's #0B0E13 page and #040509 cards remain unchanged.
   White is used for readable labels/icons; BLUE IS RESERVED FOR QURAN PLAY/STOP. */
:root,body,body.dark{
 --muted:#FFFFFF;
 --instrument-secondary:#FFFFFF;
 --control-disabled-ink:#FFFFFF;
 --caption-ink:#FFFFFF;
 --glass-frame:#15181D;
 --media-edge:rgba(255,255,255,.25);
 --media-track:rgba(255,255,255,.55);
 --progress-track:rgba(255,255,255,.55);
 --progress-fill:#FFFFFF;
 --reciting-fill:rgba(255,255,255,.14);
 --reading-surface:#040509;
 --input-fill:#040509;
 --switch-off:#040509;
 --action-fill:#2563EB;
}
body.dark :is(
 .note,.eyebrow,.time-context,.calculation-context,.time-source a,
 .mushaf-heading p,.mushaf-pagination span,.mushaf-credit a,
 .recitation-times,.quran-track,#qAudioStatus,.quran-current-verse,
 .prayer span,.prayer-overview .location-date p,.hero small,
 .qibla-reading p,.compass-mode,.qibla-help summary,.qibla-card .cardinal,
 .qibla-card .north,.tasbih-total,.tasbih-guide summary,
 .choice-heading small,.voice-sheet-header small,.choice-option-detail,
 .voice-choice-note,.city-directory-grid span,.city-page p,
 .city-page caption,.city-page th,.city-page td,
 .location-sheet .note,#worldCityStatus,#audioPreference,
 .volume-control output,.floating-menu .choice-option-detail,
 footer small
){color:#FFFFFF;opacity:1}
body.dark :is(.mushaf-emblem,.mushaf-book,.nav-symbol,.prayer-icon,.next-prayer-icon,
 .volume-slider svg,#voicePickerOpen svg,.location-icon){opacity:1}
body.dark input::placeholder,
body.dark textarea::placeholder,
body.dark .choice-sheet input::placeholder,
body.dark .voice-sheet input::placeholder{color:#FFFFFF;opacity:1}
body.dark :is(button,input,select,.choice-trigger,.choice-option,.adhkar-reset):disabled,
body.dark #city:disabled,
body.dark #settings .announcement-settings input.compact-switch:disabled{
 opacity:1!important;color:#FFFFFF;-webkit-text-fill-color:#FFFFFF;
}
/* Activated states are deep charcoal, not washed gray or blue. */
body.dark :is(#audioEnable,#duaToggle,#silentAdhanToggle)[aria-checked=true],
body.dark #settings .announcement-settings input.compact-switch:checked,
body.dark .prayer-switches input[type=checkbox]:checked,
body.dark .quran-play-options input[type=checkbox]:checked,
body.dark #audioEnable.audio-toggle.is-on{
 background:#15181D;border-color:rgba(255,255,255,.86);box-shadow:none;
}
body.dark :is(#audioEnable,#duaToggle,#silentAdhanToggle)[aria-checked=false],
body.dark #audioEnable.audio-toggle:not(.is-on),
body.dark #settings .announcement-settings input.compact-switch:not(:checked),
body.dark .prayer-switches input[type=checkbox]:not(:checked),
body.dark .quran-play-options input[type=checkbox]:not(:checked){
 background:#040509;border-color:rgba(255,255,255,.4);box-shadow:none;
}
/* One neutral visual family for the hero, cards, nav, dialogs and inputs. */
body.dark .prayer-overview .location #locate,
body.dark #settings .location #locate{
 background:#040509;border:1px solid rgba(255,255,255,.28);
 box-shadow:none;color:#FFFFFF;
}
body.dark :is(.choice-trigger,.choice-option,.voice-option,select,input:not([type=checkbox]):not([type=range]),textarea){
 color:#FFFFFF;border-color:rgba(255,255,255,.26);
}
body.dark .mushaf-sheet .quran-surah-title,
body.dark #mushaf #qSurahPickerOpen{
 color:#FFFFFF;background:#15181D;border-color:rgba(255,255,255,.27);
}
body.dark #qibla .qibla-card :is(.cardinal,.north,#bearing,#headingValue,#compassStatus){
 color:#FFFFFF;opacity:1;
}
/* Do not allow CSS hover/focus/disabled states to fade the only blue controls. */
body.dark #mushaf .reference-player :is(#qTransport,#qStop){
 opacity:1;color:#FFFFFF;filter:none;
}
body.dark #mushaf .reference-player #qTransport::before{
 background:#2563EB;border-color:#3B82F6;
}
body.dark #mushaf .reference-player #qTransport:hover:not(:disabled)::before{background:#1D4ED8}
body.dark #mushaf .reference-player #qTransport:active:not(:disabled)::before{background:#1E40AF}
body.dark #mushaf .reference-player #qTransport:disabled::before{background:#0B2347}
body.dark #mushaf .reference-player #qStop:not(:disabled){background:#2563EB;border-color:#3B82F6;color:#FFFFFF}
body.dark #mushaf .reference-player #qStop:hover:not(:disabled){background:#1D4ED8}


/* Browser-verified: disabled prayer toggles keep the exact reference charcoal,
   rather than reverting to a washed-out UA/legacy track color. */
body.dark #settings .prayer-switches input[type=checkbox]:not(:checked),
body.dark #settings .announcement-settings input.compact-switch:not(:checked),
body.dark #mushaf .quran-play-options input[type=checkbox]:not(:checked){
 background:#040509!important;border-color:rgba(255,255,255,.4);
}
body.dark #settings .prayer-switches input[type=checkbox]:checked,
body.dark #settings .announcement-settings input.compact-switch:checked,
body.dark #mushaf .quran-play-options input[type=checkbox]:checked{
 background:#15181D!important;border-color:rgba(255,255,255,.86);
}


/* Explicit input targeting survives disabled/checked native form styling. */
body.dark input[data-audio-prayer]:not(:checked),
body.dark input[data-audio-prayer]:disabled:not(:checked){
 background-color:#040509!important;background-image:none!important;
}
body.dark input[data-audio-prayer]:checked,
body.dark input[data-audio-prayer]:disabled:checked{
 background-color:#15181D!important;background-image:none!important;
}


/* No intermediate gray frames on toggle state changes. Exact screenshot colors
   apply immediately even when the setting is disabled. */
body.dark #settings .prayer-switches input[type=checkbox],
body.dark #settings .announcement-settings input.compact-switch,
body.dark #mushaf .quran-play-options input[type=checkbox],
body.dark :is(#audioEnable,#duaToggle,#silentAdhanToggle){
 transition:none!important;animation:none!important;
}

/* Active settings switches use the approved blue action color. */
body.dark #settings .prayer-switches input[type=checkbox]:checked,
body.dark #settings .announcement-settings input.compact-switch:checked,
body.dark #mushaf .quran-play-options input[type=checkbox]:checked,
body.dark input[data-audio-prayer]:checked,
body.dark :is(#audioEnable,#duaToggle,#silentAdhanToggle)[aria-checked=true] {
  background:#2563EB!important;
  background-color:#2563EB!important;
  border-color:#3B82F6!important;
  box-shadow:none!important;
}
body.dark #settings .prayer-switches input[type=checkbox]:checked::after,
body.dark #settings .announcement-settings input.compact-switch:checked::before,
body.dark #mushaf .quran-play-options input[type=checkbox]:checked::before,
body.dark :is(#audioEnable,#duaToggle,#silentAdhanToggle)[aria-checked=true] .toggle-thumb {
  background:#FFFFFF!important;
}

/* Exact user screenshot: matte charcoal reading UI; never tint the Quran golden. */
body.dark #mushaf .mushaf-sheet,
body.dark #mushaf .quran-reading-page {
 background:#121820!important; color:#FFFFFF!important;
 border-color:rgba(255,255,255,.18)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
body.dark #mushaf :is(.quran-surah-title,.mushaf-page-head,.reading-page-heading,.mushaf-page-number,.reading-page-number) {
 color:#FFFFFF!important; border-color:rgba(255,255,255,.20)!important;
}
body.dark #mushaf .mushaf-sheet .quran-surah-title,
body.dark #mushaf .quran-reading-page .quran-surah-title {
 background:#1A222C!important; box-shadow:none!important;
}
body.dark #mushaf :is(.mushaf-verses,.quran-text) {color:#FFFFFF!important;text-shadow:none;}
body.dark #mushaf .mushaf-credit a {color:#FFFFFF!important;}
