/* RD_MOBILE_READER_BAR_20261104 */
#rd-reader-bar{display:none}
@media screen and (max-width: 767px){
 #rdgGlobalHeader{position:fixed!important;top:0!important;left:0;right:0;width:100%;transform:none!important;z-index:10020!important}
 #rd-reader-bar{position:fixed;display:grid;grid-template-columns:minmax(0,1fr) 98px;gap:10px;top:var(--rd-reader-header-height,64px);left:0;right:0;z-index:10019;padding:8px 14px;background:#fff;color:#193b38;border-bottom:1px solid #d8e4df;box-sizing:border-box;min-height:70px}
 #rd-reader-bar label{display:flex;flex-direction:column;gap:3px;margin:0;font:600 11px/1.2 system-ui,sans-serif;min-width:0}
 #rd-reader-bar select{width:100%;min-width:0;height:40px;margin:0;padding:6px 24px 6px 10px;border:1px solid #c7d8d1;border-radius:7px;background:#f5f8f6;color:inherit;font:500 16px/1.3 system-ui,sans-serif;box-sizing:border-box}
 #rd-reader-bar select:focus-visible{outline:2px solid #27818b;outline-offset:2px}
 #rd-bar-status{position:absolute;top:100%;right:14px;padding:5px 9px;background:inherit;color:inherit;border:1px solid #c7d8d1;border-radius:0 0 6px 6px;font:12px/1.3 system-ui,sans-serif}
 #rd-bar-status:empty{display:none}
 html[data-theme=dark] #rd-reader-bar{background:#102627;color:#eef7f4;border-color:#34504c}
 html[data-theme=dark] #rd-reader-bar select{background:#183431;border-color:#46635c}
 #surah_detail_right_section{padding-top:calc(var(--rd-reader-header-height,64px) + 82px)!important;margin-top:0!important;margin-left:0!important;width:100%!important}
 #rd-mobile-surah-selector,.rd-mobile-surah-selector,.m2-reader-button,#rd-surah-edge-toggle,#surah_sidebar,#rd-mobile-surah-backdrop,.m2-reader-shade{display:none!important}
 .rd-reader-hero-v18,.heading_surah_section{position:static!important;top:auto!important}
 .list_ayat{scroll-margin-top:calc(var(--rd-reader-header-height,64px) + 90px)}
}

/* Header popovers must stay above reader selectors. */
@media(max-width:767.98px){
 html body header#rdgGlobalHeader.rdg-header.rdg-header{z-index:10020!important;overflow:visible!important}
 html body #rdgGlobalHeader #rdgMobileMoreMenuV3{z-index:10021!important}
}
@media(min-width:768px){
 .rd-reader-load-status:not([hidden]){position:fixed;top:90px;left:50%;transform:translateX(-50%);z-index:10010;padding:10px 18px;border-radius:8px;background:#183b3f;color:#fff;box-shadow:0 3px 14px #0003;pointer-events:none}
}
