/* Common finishing layer for Quran and Nasheeds. Keep the existing page ornament. */
:is(body.quran-refreshed,body.nasheed-refreshed){--listen-ink:#eeeade;--listen-muted:#b7beaf;--listen-line:#c0c8ab29;--listen-gold:#dfc18b;--listen-sage:#b2c7a2}
body.quran-refreshed .player-panel,body.nasheed-refreshed #main-player{border-color:var(--listen-line);background:linear-gradient(145deg,#2c281ef5,#1a251df5);box-shadow:0 16px 40px #0002}
body.quran-refreshed .qrf-playing-title,body.nasheed-refreshed #main-track-title{color:var(--listen-ink);letter-spacing:-.02em;line-height:1.3}
body.quran-refreshed .qrf-playing-artist,body.nasheed-refreshed .nsf-playing-artist{color:var(--listen-muted);font-size:13px;line-height:1.7}
body.quran-refreshed .qrf-cover,body.nasheed-refreshed #mp-art{border:1px solid #e6dac51a;border-radius:16px}
body.quran-refreshed .qrf-seek,body.nasheed-refreshed .nsf-seek{min-height:30px;touch-action:pan-y}
.listening-mini-seek{display:none}
body.quran-refreshed .surah-badge-ayat{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:#b5d0a3;border:1px solid #a3bf8f44;border-radius:6px;background:#a3bf8f0c;padding:3px 7px;font:400 11px/1.5 Poppins,sans-serif}
body.nasheed-refreshed #searchInput::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
@media(max-width:820px){
 body.nasheed-refreshed .nsf-workspace{padding-inline:16px}
 body.quran-refreshed .player-wrap{padding-inline:16px}
 body.nasheed-refreshed .nsf-tab-row,body.quran-refreshed #browseTabs{margin-bottom:16px}
 body.nasheed-refreshed .search-inner,body.quran-refreshed .qrf-search{border-radius:15px;background:#11170f80;border-color:var(--listen-line)}
 body.nasheed-refreshed .nsf-filters,body.quran-refreshed .qrf-filters{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;padding:3px 0 9px}
 body.nasheed-refreshed .nsf-filters button,body.quran-refreshed .qrf-filters button{flex:0 0 auto;white-space:nowrap;min-height:44px;padding:10px 15px;border:1px solid #bbc6a622;border-radius:13px;background:#c3c9ac08;color:#c7cbbd;font-size:12px;line-height:1.5;box-shadow:none}
 body.nasheed-refreshed .nsf-filters button[aria-pressed=true],body.quran-refreshed .qrf-filters button[aria-pressed=true]{border-color:#b2c7a258;background:#a6be8c1a;color:#e3ead8}
 body.nasheed-refreshed #playlist .track,body.quran-refreshed #surahList:not(.quran-playlist-grid-view)>.surah-row{padding:17px 11px;gap:6px 12px}
 body.nasheed-refreshed #playlist .track-title,body.quran-refreshed .qrf-row-name{font-size:20px;line-height:1.45;letter-spacing:-.015em}
 body.nasheed-refreshed #playlist .nsf-track-meta,body.quran-refreshed .qrf-row-meta{font-size:12px;line-height:1.7;margin-top:6px;gap:6px 9px}
 body.nasheed-refreshed .nsf-meta-artist{font-size:13px;color:#bcc6b2}
 body.nasheed-refreshed .nsf-meta-category{color:#99aa8e}
 body.nasheed-refreshed #playlist .track-menu-btn,body.quran-refreshed #surahList:not(.quran-playlist-grid-view) .surah-menu-btn{border:1px solid #bbc5a516;background:#aabd9908;border-radius:50%;color:#b8c3ac}
 body.nasheed-refreshed .nsf-mini,body.quran-refreshed .qrf-mini{box-sizing:border-box;left:12px;right:12px;min-height:84px;max-width:calc(100% - 24px);padding:9px 11px 21px;gap:8px;border-radius:20px;border-color:#b5c49e55;background:linear-gradient(110deg,#2b291ffb,#1a281ffb);box-shadow:0 12px 34px #0007}
 body.nasheed-refreshed .nsf-mini-open strong,body.quran-refreshed .qrf-mini-text strong{font:500 16px/1.5 Poppins,sans-serif;letter-spacing:-.02em;color:#f0ebdd}
 body.nasheed-refreshed .nsf-mini-open small,body.quran-refreshed .qrf-mini-text small{font:400 11px/1.6 Poppins,sans-serif;color:#b1bda5}
 body.quran-refreshed .qrf-mini-art{width:34px;height:34px;border:0;background:transparent;font-size:26px;opacity:.75}
 body.nasheed-refreshed .nsf-mini .nsf-mini-play,body.quran-refreshed .qrf-mini .qrf-mini-play{background:#dfc18b;color:#1c2319;border-radius:50%;padding:11px}
 body.nasheed-refreshed .nsf-mini .nsf-mini-next,body.quran-refreshed .qrf-mini .qrf-mini-next{color:#c2cdb5}
 body.nasheed-refreshed .nsf-mini .listening-mini-seek,body.quran-refreshed .qrf-mini .listening-mini-seek{display:block;position:absolute;left:14px;bottom:0;width:calc(100% - 28px);height:20px;min-height:20px;margin:0;padding:0;border:0;appearance:none;background:transparent;accent-color:#dfc18b;cursor:pointer;touch-action:pan-y}
 .listening-mini-seek::-webkit-slider-runnable-track{height:3px;border-radius:9px;background:linear-gradient(to right,#dfc18b var(--mini-progress,0%),#d8ddbf24 var(--mini-progress,0%))}
 .listening-mini-seek::-webkit-slider-thumb{appearance:none;width:9px;height:9px;margin-top:-3px;border:0;border-radius:50%;background:#e4c995}
 .listening-mini-seek::-moz-range-track{height:3px;border-radius:9px;background:#d8ddbf24}.listening-mini-seek::-moz-range-progress{height:3px;background:#dfc18b}.listening-mini-seek::-moz-range-thumb{width:9px;height:9px;border:0;border-radius:50%;background:#e4c995}
 .listening-mini-seek:disabled{opacity:.3;cursor:default}
 body.nasheed-refreshed #toggleQueue,body.quran-refreshed #queueToggleBtn{bottom:calc(var(--nbk-mobile-nav-space,0px) + 108px)}
 body.nasheed-refreshed .nsf-player-dialog,body.quran-refreshed .qrf-player-dialog{box-sizing:border-box;border-color:#aebe9a50;background:linear-gradient(145deg,#25271e,#161e17);border-radius:24px;padding:16px;overflow:auto;scrollbar-width:thin;scrollbar-color:#7b8b68 transparent}
 body.nasheed-refreshed .nsf-player-close,body.quran-refreshed .qrf-player-close{position:sticky;top:0;z-index:30;min-height:44px;padding:10px 16px;margin:0 0 16px auto;border:1px solid var(--listen-line);border-radius:13px;background:#232c21;color:#d9e0cc;font:400 13px/1.6 Poppins,sans-serif}
 body.nasheed-refreshed .nsf-player-dialog #main-player,body.quran-refreshed .qrf-player-dialog .player-panel{padding:18px 16px;border-radius:19px;background:#161d1566;border-color:#c0c8ab20;box-shadow:none}
 body.nasheed-refreshed .nsf-player-dialog #main-track-title,body.quran-refreshed .qrf-player-dialog .qrf-playing-title{font-size:clamp(26px,7vw,32px);line-height:1.35;overflow-wrap:anywhere}
 body.nasheed-refreshed .nsf-player-dialog #main-controls,body.quran-refreshed .qrf-player-dialog .transport-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) 60px repeat(2,minmax(0,1fr));align-items:center;justify-items:center;gap:4px;width:100%;max-width:360px;min-width:0;margin:14px auto}
 body.nasheed-refreshed .nsf-player-dialog #main-controls .ctrl-side,body.quran-refreshed .qrf-player-dialog .transport-row>.ctrl-btn{width:44px;height:44px;min-width:44px;min-height:44px;padding:11px;box-sizing:border-box;border:0;border-radius:13px;background:transparent;color:#b9c5ac;transform:none}
 body.nasheed-refreshed .nsf-player-dialog #main-controls .ctrl-side svg,body.quran-refreshed .qrf-player-dialog .transport-row>.ctrl-btn svg{width:21px;height:21px}
 body.nasheed-refreshed .nsf-player-dialog #main-play-btn,body.quran-refreshed .qrf-player-dialog #playPauseBtn{width:60px;height:60px;min-width:60px;min-height:60px;border-radius:50%;border:0;background:#dfc18b;color:#1b2419;box-shadow:0 6px 22px #dfc18b14}
 body.nasheed-refreshed .nsf-player-dialog .nsf-player-links button,body.quran-refreshed .qrf-player-dialog .qrf-player-links button{min-height:44px;font-size:12px}
}
