/* Viewport-bound Home and dedicated mosque page; never changes printed reader geometry. */
body:is(.is-home,.is-mosques){height:100dvh;min-height:0;margin:0;padding:0;display:flex;flex-direction:column;overflow:hidden}
body:is(.is-home,.is-mosques)>.top{flex:none}
body:is(.is-home,.is-mosques)>#main{flex:1;min-height:0;width:100%;max-width:none;margin:0;padding:16px 32px 20px;display:flex;flex-direction:column;overflow:hidden}
body.is-home .home-title{width:100%;max-width:1400px;margin:0 auto 16px;padding:0;min-height:52px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex:none}
body.is-home .home-title>div{min-width:0}.home-title h1{font-size:30px;letter-spacing:-.7px;margin:0 0 5px}.home-title p{font-size:13px;line-height:1.5;margin:0;color:var(--muted)}
.home-title .place-button{flex:none;max-width:220px;min-height:40px;padding:8px 13px}.home-title #place-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.is-home .home-layout{width:100%;max-width:1400px;flex:1;min-height:0;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(330px,.9fr);grid-template-rows:minmax(0,1fr) 76px;gap:16px 24px}
.home-layout>.home-prayer-card{grid-column:1;grid-row:1;min-height:0;min-width:0;border:1px solid var(--line);border-radius:20px;background:var(--surface);overflow:auto;display:flex;flex-direction:column;overscroll-behavior:contain}
.home-section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 24px;flex:none}.home-section-head h2{font-size:21px;font-weight:550;margin:0}.home-section-head>span{font-size:11px;color:var(--faint);text-align:end}
.home-prayer-card .sky-hero{border:0;border-radius:0;min-height:140px;flex:1;padding:22px 30px;margin:0;position:relative;background:linear-gradient(120deg,#17363d,#2b4b4c);display:flex;align-items:center;overflow:hidden}
.home-prayer-card .sky-hero[data-sky=dawn]{background:linear-gradient(120deg,#293b55,#425b64)}.home-prayer-card .sky-hero[data-sky=dusk]{background:linear-gradient(120deg,#3b3747,#5f5055)}
.home-prayer-card .hero-copy{position:relative;z-index:1;max-width:70%}.home-prayer-card .hero-copy>.eyebrow{font-size:11px;letter-spacing:1.1px;text-transform:none;color:#bdd4cd}
.home-prayer-card .hero-copy h2{font-size:27px;font-weight:500;line-height:1.25;margin:6px 0 3px}.home-prayer-card .hero-copy .hero-time{font-size:51px;line-height:1.15;letter-spacing:-1.5px;margin:0;font-weight:500}
.home-prayer-card .hero-copy #countdown{font-size:14px;margin:5px 0 0;color:#d2e5df}.home-prayer-card .hero-copy>p:not(.hero-time):not(#countdown){font-size:13px;line-height:1.5;margin:6px 0 0}.home-prayer-card .hero-estimate{font-size:11px!important;color:#e3cbae}
.home-prayer-card .hero-note{display:none}.home-mosque-art{position:absolute;inset-inline-end:7%;top:50%;transform:translateY(-50%);width:116px;height:116px;display:grid;place-items:center;color:#c0ddd0;opacity:.45}.home-mosque-art .mosque-symbol{width:100%;height:100%;stroke-width:.8}
.home-prayer-card .prayer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:7px 22px;margin:0;flex:none}
.home-prayer-card .prayer{min-height:63px;text-align:center;padding:9px 5px;position:relative;border:0;border-radius:0;background:transparent}
.home-prayer-card .prayer:nth-child(-n+3){border-bottom:1px solid var(--line)}.home-prayer-card .prayer>span{display:block;font-size:12px;color:var(--muted)}.home-prayer-card .prayer strong{display:block;font-size:24px;line-height:1.4;font-weight:500;letter-spacing:-.4px}
.home-prayer-card .prayer.next{color:#b9ddca;background:#24524619}.home-prayer-card .prayer.next>span{color:#a8d5bb}.home-prayer-card .prayer.next:before{content:none}
.prayer-estimate-note{flex:none;padding:8px 24px 0;margin:0;font-size:11px;line-height:1.4;color:#e3cbae}
.home-prayer-actions{display:flex;flex:none;padding:9px 24px 12px;gap:9px;margin:0}.home-prayer-actions button{flex:1;min-height:38px;padding:8px 16px;border-radius:10px;font-size:13px}
.home-prayer-card .prayer-method-button{width:100%;display:flex;justify-content:space-between;align-items:center;flex:none;min-height:44px;padding:10px 24px;font-size:13px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;color:var(--muted);text-align:start}.prayer-method-button svg{width:16px;height:16px;flex:none}
/* Keep any compatibility empty-state copy away from the card edge. */
.home-prayer-card .location-empty{padding:20px 26px}.home-prayer-card .location-empty p{margin:0 0 14px}.home-prayer-card .location-empty small{display:block;margin-top:14px;line-height:1.6}
#dialog .prayer-method{border:0;padding:0}#dialog .prayer-method>summary{display:none}#dialog .prayer-method p{font-size:15px;line-height:1.8;color:var(--muted);margin:0 0 15px}#dialog .prayer-method a{display:inline-flex;align-items:center;gap:8px;color:#acd1ba;line-height:1.7}#dialog .prayer-method a svg{width:16px;height:16px}#dialog .prayer-method p.source{font-size:12px;margin-top:15px}
.home-layout>.today-aside{grid-column:2;grid-row:1 / span 2;min-height:0;min-width:0;display:block;position:static}
.home-layout .continue-card{height:100%;padding:24px;border-radius:20px;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain;position:relative}
.continue-card .your-quran-heading{font-size:25px;font-weight:550;letter-spacing:-.4px;margin:0 0 20px;text-align:start}.home-layout .continue-card>.mini-book{position:static;font-size:37px;text-align:center;margin:0 0 18px;line-height:1.2}
.home-layout .continue-card>h3{font-size:20px;font-weight:500;margin:0 0 10px;line-height:1.4}.home-layout .continue-card .home-reading-position{display:grid;gap:5px;font-size:17px;line-height:1.5;margin:0 0 20px;color:var(--muted)}.home-reading-position>strong{font-size:22px;color:var(--ink);font-weight:500}.home-reading-position .date-dot{margin-inline:6px}
.home-layout .continue-card>a.primary{width:100%;min-height:46px;flex:none;font-size:15px;padding:10px 16px}.home-layout .home-quran-tools{margin-top:auto;padding-top:14px;gap:3px}.home-layout .home-quran-tool{min-height:62px;padding:10px 8px}.home-layout .home-quran-tool strong{font-size:16px}.home-layout .home-quran-tool small{font-size:12px}.home-layout .home-device-note{font-size:11px;margin:10px 0 0;line-height:1.5}
.home-mosque-preview{grid-column:1;grid-row:2;min-width:0;display:flex;align-items:center;gap:16px;padding:12px 22px;border:1px solid var(--line);border-radius:17px;background:var(--surface);color:var(--ink);text-decoration:none}
.mosque-preview-symbol{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:12px;background:#23483d;color:#c5e4d5}.mosque-preview-symbol svg{width:30px;height:30px}.home-mosque-preview>span:nth-child(2){min-width:0;display:grid;gap:4px}.home-mosque-preview strong{font-size:17px;font-weight:550}.home-mosque-preview small{font-size:12px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.home-mosque-preview>svg{margin-inline-start:auto;width:19px;height:19px;flex:none}
.home-mosques{padding:25px 27px}.home-mosques>header{display:flex;justify-content:space-between;gap:18px;align-items:center}.home-mosques header>.control-icon{width:26px;height:26px;color:#9cbfaf}.home-mosques h2{font-size:24px;font-weight:500;letter-spacing:-.3px;margin:5px 0 0}.home-mosques .eyebrow{font-size:10px;letter-spacing:1.5px;color:var(--faint)}
.mosques-intro,.my-mosque-preview{font-size:14px;line-height:1.8;color:var(--muted);margin:15px 0}.my-mosque-preview strong{color:var(--ink);font-weight:500}
.mosque-open{width:100%;min-height:50px;display:flex;align-items:center;gap:12px;justify-content:start;font-size:15px;border:1px solid #375f51;background:#1a3d3244;color:var(--ink);border-radius:12px;padding:12px 15px}.mosque-open svg{width:20px;height:20px}.mosque-open svg:last-child{margin-inline-start:auto;width:17px}.mosque-open[hidden]{display:none}
.mosque-panel{margin-top:18px}.mosque-panel[hidden]{display:none}.map-consent{background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:20px}.map-consent h3{font-size:20px;font-weight:500;margin:0 0 13px}.map-consent p{font-size:14px;line-height:1.8;color:var(--muted)}.map-consent p.source{font-size:12px}
.mosque-panel .row-actions{display:flex;gap:9px;flex-wrap:wrap}.mosque-panel button,.mosque-panel a{min-height:40px}.mosque-panel .row-actions>button,.mosque-panel .row-actions>a{font-size:13px;padding:9px 12px;border-radius:9px}
.mosque-panel progress{display:block;width:100%;height:8px;margin:20px 0;accent-color:#8ab4a0}.mosque-search-row{display:flex;align-items:center;gap:10px;margin:0 0 13px}.mosque-search-row .field{flex:1;min-width:0;margin:0}.mosque-search-row input{width:100%;min-height:48px;font-size:14px;border-radius:11px}.mosque-search-row>.icon-button{width:42px;height:42px;min-height:42px;padding:10px}
.mosque-map{width:100%;height:360px;background:#142c30;border-radius:14px;overflow:hidden;isolation:isolate}.mosque-map .leaflet-control-attribution{font-size:10px;color:#253432}.mosque-map .leaflet-control-attribution a{min-height:0;color:#1b5750}.mosque-map .leaflet-control-zoom a{min-height:30px;color:#163c35}
.map-network-note{font-size:11px;line-height:1.7;color:var(--faint);margin:8px 0 12px}.mosque-map-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding-bottom:14px}.mosque-map-actions>button{font-size:12px;padding:8px 10px;border-radius:8px}.mosque-map-actions .source{font-size:10px}.mosque-map-actions a{color:var(--muted);min-height:0}
.mosque-result-heading{font-size:13px;line-height:1.7;color:var(--muted);margin:17px 0 9px}.mosque-results{max-height:395px;overflow:auto;overscroll-behavior:contain}.mosque-result{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:72px;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:15px 3px;background:transparent;color:var(--ink);text-align:start}.mosque-result>span{min-width:0;display:grid;gap:5px}.mosque-result strong{font-size:16px;font-weight:500;line-height:1.6}.mosque-result small{font-size:12px;color:var(--muted);line-height:1.7}.mosque-result>svg{width:17px;height:17px;flex:none;color:var(--faint)}.mosque-result:hover{background:var(--surface2)}
.map-town-results button{width:100%;display:flex;gap:11px;align-items:center;text-align:start;padding:12px 8px;border:0;border-bottom:1px solid var(--line);border-radius:0;font-size:13px;color:var(--ink)}.map-town-results svg{width:19px;height:19px}.map-town-results>button>span{display:grid;gap:4px}.map-town-results small{font-size:11px;color:var(--muted)}.map-town-results:not(:empty){margin-bottom:14px}
.mosque-detail{border:1px solid #3d6352;border-radius:12px;padding:17px;margin-top:17px;background:#183c2f66}.mosque-detail h3{font-size:20px;line-height:1.5;font-weight:500;margin:6px 0 8px}.mosque-detail>p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 13px}.mosque-detail small{display:block;font-size:11px;line-height:1.7;color:var(--faint);margin-top:13px}.map-directions{display:inline-flex;align-items:center;gap:7px;background:#204736;color:#d6ebde;border:1px solid #466c58;text-decoration:none}.map-directions svg,.mosque-detail .row-actions a svg{width:14px;height:14px}

/* Dedicated map page: map and independently scrollable real results, no document scroll. */
.mosques-page{width:100%;max-width:1500px;flex:1;min-height:0;margin:0 auto;display:flex;flex-direction:column;gap:14px}.mosques-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none}.mosques-page-heading h1{font-size:30px;line-height:1.2;margin:0 0 5px}.mosques-page-heading p{font-size:13px;color:var(--muted);margin:0}.mosques-home-link{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);padding:10px 12px}.mosques-home-link svg{width:18px;height:18px}
.mosque-directory{padding:18px;flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.mosque-directory .mosque-panel{margin:0;min-height:0;flex:1;overflow:auto}.mosque-directory .mosque-panel:has(.mosque-map){display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);grid-template-rows:auto auto auto auto minmax(0,1fr) auto auto;column-gap:22px;overflow:hidden}
.mosque-directory .mosque-search-row{grid-column:2;grid-row:1;margin-bottom:10px}.mosque-directory .map-town-results{grid-column:2;grid-row:2;max-height:150px;overflow:auto}.mosque-directory .map-active-detail{grid-column:2;grid-row:3;max-height:230px;overflow:auto}.mosque-directory .mosque-result-heading{grid-column:2;grid-row:4;margin:8px 0}.mosque-directory .mosque-results{grid-column:2;grid-row:5 / span 3;min-height:0;max-height:none;overflow:auto}.mosque-directory .mosque-map{grid-column:1;grid-row:1 / span 5;height:100%;min-height:180px;border-radius:13px}.mosque-directory .map-network-note{grid-column:1;grid-row:6;margin:7px 0}.mosque-directory .mosque-map-actions{grid-column:1;grid-row:7;border:0;padding:0;gap:6px}.mosque-directory .mosque-detail{margin:0 0 8px}.mosque-directory .map-consent{max-width:650px;margin:24px auto}.mosque-directory .mosque-results>.mosque-result{display:flex;justify-content:space-between;text-align:start;width:100%}.mosque-directory .my-mosque-preview{margin:0 0 10px;font-size:12px}
.mosque-result strong,.mosque-detail h3,.home-reading-position strong{overflow-wrap:anywhere}
.mosque-map .mosque-marker{background:#173f3c;border:2px solid #d5e5dc;border-radius:12px 12px 12px 2px;box-shadow:0 2px 7px #0005;color:#eff8f1;display:grid;place-items:center}.mosque-marker .mosque-symbol{width:24px;height:24px;stroke-width:1.8}
.top>.home-primary-nav a[aria-current=page]{background:#23453d;color:#d9eee2}
@media(max-height:850px) and (min-width:761px){
 body:is(.is-home,.is-mosques)>#main{padding-top:10px;padding-bottom:14px}.home-title{margin-bottom:12px!important}.home-section-head{padding:13px 22px}.home-prayer-card .sky-hero{min-height:110px;padding:16px 26px}.home-prayer-card .hero-copy .hero-time{font-size:46px}.home-prayer-card .prayer{min-height:55px;padding:6px}.home-layout .continue-card{padding:20px 24px}.continue-card .your-quran-heading{margin-bottom:12px}.home-layout .continue-card>.mini-book{margin-bottom:12px;font-size:30px}.home-layout .continue-card .home-reading-position{margin-bottom:14px;gap:3px}.home-layout .home-quran-tool{min-height:53px;padding:7px}.home-layout .home-quran-tools{padding-top:10px}.home-layout .home-device-note{margin-top:7px}
}
@media(max-width:760px){
 body:is(.is-home,.is-mosques)>.top{grid-template-columns:auto minmax(0,1fr);gap:8px;padding:10px 12px;min-height:54px}
 body:is(.is-home,.is-mosques) .brand{gap:6px}body:is(.is-home,.is-mosques) .brand img{width:28px;height:28px}body:is(.is-home,.is-mosques) .brand>span{font-size:21px}
 body:is(.is-home,.is-mosques) .top>.home-primary-nav{grid-column:2;grid-row:1;justify-self:end;padding:2px;border-radius:11px;gap:0}
 body:is(.is-home,.is-mosques) .top>.home-primary-nav a{min-width:0;min-height:34px;font-size:12px;padding:6px 9px;border-radius:8px;white-space:nowrap}
 body:is(.is-home,.is-mosques)>#main{padding:8px 12px max(12px,env(safe-area-inset-bottom))}
 body.is-home .home-title{gap:10px;min-height:52px;margin-bottom:10px}.home-title h1{font-size:25px;margin-bottom:3px}.home-title p{font-size:11px;line-height:1.4}.home-title .place-button{max-width:135px;min-height:34px;font-size:11px;padding:6px 9px}.home-title .place-button svg{width:14px;height:14px}
 body.is-home .home-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1.12fr) minmax(0,1fr) 56px;gap:10px}
 .home-layout>.home-prayer-card{grid-column:1;grid-row:1;border-radius:15px}.home-layout>.today-aside{grid-column:1;grid-row:2}.home-mosque-preview{grid-column:1;grid-row:3;padding:7px 13px;gap:11px;border-radius:13px}.mosque-preview-symbol{width:35px;height:35px;border-radius:9px}.mosque-preview-symbol svg{width:26px;height:26px}.home-mosque-preview strong{font-size:15px}.home-mosque-preview small{font-size:11px}
 .home-section-head{padding:10px 17px}.home-section-head h2{font-size:16px}.home-section-head>span{font-size:9px}.home-prayer-card .sky-hero{min-height:88px;padding:11px 20px}.home-prayer-card .hero-copy>.eyebrow{font-size:9px}.home-prayer-card .hero-copy h2{font-size:21px;margin:3px 0}.home-prayer-card .hero-copy .hero-time{font-size:36px;line-height:1.1}.home-prayer-card .hero-copy #countdown{font-size:11px;margin:3px 0 0}.home-prayer-card .hero-copy>p:not(.hero-time):not(#countdown){font-size:11px;line-height:1.4}.home-mosque-art{width:75px;height:75px;inset-inline-end:7%}
 .home-prayer-card .prayer-grid{padding:3px 15px}.home-prayer-card .prayer{min-height:40px;padding:3px}.home-prayer-card .prayer>span{font-size:10px}.home-prayer-card .prayer strong{font-size:19px;line-height:1.25}.home-prayer-actions{padding:5px 17px 7px;gap:7px}.home-prayer-actions button{min-height:32px;font-size:11px;padding:6px 12px}.home-prayer-card .prayer-method-button{min-height:32px;font-size:11px;padding:7px 17px}.prayer-estimate-note{font-size:10px;padding:5px 17px 0}
 .home-layout .continue-card{padding:14px 17px;border-radius:15px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto minmax(0,1fr);column-gap:10px;align-content:start}.continue-card .your-quran-heading{grid-column:1;grid-row:1;font-size:21px;line-height:1.25;margin:0 0 6px}.home-layout .continue-card>.mini-book{position:static;grid-column:2;grid-row:1 / span 2;font-size:28px;margin:0;align-self:center;max-width:90px}.home-layout .continue-card>h3{display:none}.home-layout .continue-card .home-reading-position{grid-column:1;grid-row:2;font-size:13px;line-height:1.35;gap:2px;margin:0 0 9px}.home-reading-position>strong{font-size:18px}.home-reading-position>span:last-child{font-size:12px}.home-layout .continue-card>a.primary{grid-column:1 / -1;grid-row:3;min-height:36px;font-size:13px;padding:7px 12px}.home-layout .home-quran-tools{grid-column:1 / -1;grid-row:4;grid-template-columns:1fr 1fr;margin:9px 0 0;padding:6px 0 0;gap:8px;align-self:start}.home-layout .home-quran-tool{grid-template-columns:19px minmax(0,1fr);gap:7px;min-height:40px;padding:5px 2px}.home-layout .home-quran-tool>svg{width:18px;height:18px}.home-layout .home-quran-tool>svg:last-child,.home-layout .home-quran-tool small,.home-layout .home-device-note{display:none}.home-layout .home-quran-tool strong{font-size:12px;line-height:1.3}
 .mosques-page{gap:10px}.mosques-page-heading h1{font-size:25px}.mosques-page-heading p{font-size:11px}.mosques-home-link{font-size:12px;padding:8px}.mosque-directory{padding:10px;border-radius:15px}.mosque-directory .map-consent{padding:16px;margin:6px auto}.mosque-directory .map-consent h3{font-size:18px}.mosque-directory .map-consent p{font-size:13px;line-height:1.6}
 .mosque-directory .mosque-panel:has(.mosque-map){display:flex;flex-direction:column;overflow:auto;position:relative}.mosque-directory .mosque-search-row{flex:none;margin-bottom:8px}.mosque-directory .mosque-search-row input{min-height:40px}.mosque-directory .map-town-results{flex:none;max-height:100px}.mosque-directory .mosque-map{height:36%;flex:0 0 36%;min-height:155px}.mosque-directory .map-network-note{font-size:10px;line-height:1.4;flex:none;margin:6px 0}.mosque-directory .mosque-map-actions{flex:none}.mosque-directory .mosque-map-actions>button{font-size:10px;min-height:30px;padding:6px 8px}.mosque-directory .mosque-map-actions .source{font-size:9px}.mosque-directory .map-active-detail{flex:none;max-height:150px}.mosque-directory .mosque-result-heading{flex:none;font-size:12px;margin:8px 0 4px}.mosque-directory .mosque-results{flex:1;min-height:95px}.mosque-result{min-height:60px;padding:10px 3px}.mosque-result strong{font-size:14px}.mosque-result small{font-size:11px}.mosque-directory .mosque-detail h3{font-size:17px}
}
@media(max-width:370px){body:is(.is-home,.is-mosques) .brand>span{display:none}.home-title .place-button{max-width:108px}.home-layout .home-quran-tool strong{font-size:11px}.home-layout .continue-card>.mini-book{max-width:70px;font-size:24px}}
@media(max-height:760px) and (max-width:760px){.home-section-head{padding-block:7px}.home-prayer-card .sky-hero{min-height:73px;padding-block:8px}.home-prayer-card .hero-copy h2{font-size:19px}.home-prayer-card .hero-copy .hero-time{font-size:31px}.home-prayer-card .prayer{min-height:35px}.home-prayer-card .prayer strong{font-size:17px}.home-layout .continue-card{padding-block:11px}.home-layout .home-quran-tools{margin-top:7px;padding-top:4px}.home-layout .continue-card .home-reading-position{margin-bottom:7px}}

/* Reset inherited grid gaps/line boxes, rather than concealing overflow. */
body.is-home .home-title h1{font-size:30px}
.home-prayer-card .prayer{display:flex;flex-direction:column;justify-content:center;gap:0}
.home-prayer-card .prayer>span{line-height:1.35;margin:0;padding:0}
.home-prayer-card .prayer strong{margin:0;padding:0}
@media(max-width:760px){body.is-home .home-title h1{font-size:25px}body.is-home .home-layout{grid-template-rows:minmax(0,1.2fr) minmax(0,1fr) 56px}}
@media(max-height:760px) and (max-width:760px){.home-section-head{padding-block:6px}.home-prayer-card .prayer{padding-block:1px}.home-prayer-card .prayer>span{font-size:9px;line-height:1.3}}

/* Keep the entire next-prayer clock inside its own hero, even in short windows. */
.home-prayer-card .hero-copy{inset:auto;transform:none;padding:0;margin:0;width:76%;max-width:76%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 18px;align-items:center}
.home-prayer-card .hero-copy>.eyebrow{grid-column:1;grid-row:1;display:block;line-height:1.3;margin:0}
.home-prayer-card .hero-copy h2{grid-column:1;grid-row:2;margin:0;line-height:1.3}
.home-prayer-card .hero-copy .hero-time{grid-column:2;grid-row:1 / span 2;margin:0;line-height:1.15}
.home-prayer-card .hero-copy #countdown{grid-column:2;grid-row:3;margin:0;line-height:1.4;font-size:12px}
.home-prayer-card .hero-copy .hero-estimate{grid-column:1;grid-row:3;margin:0!important}
.home-prayer-card .hero-copy:not(:has(.hero-time)){display:block}.home-prayer-card .hero-copy:not(:has(.hero-time)) h2{margin-top:4px}
.home-prayer-card .prayer-grid{border:0;border-radius:0;position:static;transform:none;background:transparent}
@media(max-width:760px){
 body.is-home .home-title{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;min-height:48px}
 .home-title>div{display:contents}.home-title h1{grid-column:1;grid-row:1;margin:0}.home-title p{grid-column:1 / -1;grid-row:2}.home-title .place-button{grid-column:2;grid-row:1;max-width:165px}
 .home-prayer-card .hero-copy{width:74%;max-width:74%;column-gap:12px}.home-prayer-card .hero-copy #countdown{font-size:10px}.home-prayer-card .sky-hero:not(:has(.hero-time)){min-height:95px}
 .home-layout .continue-card>.mini-book{font-size:21px;max-width:none;width:118px;text-align:center;overflow:visible}
}
@media(max-width:370px){.home-layout .continue-card>.mini-book{font-size:17px;width:94px}.home-prayer-card .hero-copy{column-gap:8px}.home-prayer-card .hero-copy .hero-time{font-size:29px}}
@media(max-height:760px) and (max-width:760px){.home-prayer-card .sky-hero{min-height:68px}.home-prayer-card .sky-hero:not(:has(.hero-time)){min-height:85px}.home-prayer-card .prayer-method-button{line-height:1.3;padding-block:6px}.home-layout .home-quran-tools{min-height:0}.home-layout .home-quran-tool{min-height:36px}}

@media(max-width:760px){.home-prayer-card .hero-copy{width:calc(100% - 56px);max-width:calc(100% - 56px)}.home-mosque-art{width:54px;height:54px;inset-inline-end:12px}.home-prayer-card .hero-copy h2{overflow-wrap:anywhere}}
@media(max-width:370px){.home-mosque-art{display:none}.home-prayer-card .hero-copy{width:100%;max-width:100%}.home-layout .continue-card{padding-block:10px}}

@media(max-height:760px) and (max-width:760px){.home-prayer-actions{padding-top:4px;padding-bottom:6px}}

@media(max-width:760px){.home-layout .continue-card>.mini-book{font-size:18px}}
@media(max-width:370px){.home-layout .continue-card>.mini-book{font-size:15px}}

/* Home revision: information-first prayer display and four clear, readable sections. */
body.is-home .home-renewed{grid-template-columns:minmax(0,1.13fr) minmax(0,1fr);grid-template-rows:minmax(0,1.8fr) minmax(164px,1fr);gap:18px 22px}
.home-renewed>.home-prayer-card{grid-column:1;grid-row:1;border-radius:20px;background:#102724;display:flex;flex-direction:column}
.home-renewed .home-section-head{padding:17px 22px 10px}.home-renewed .home-section-head h2{font-size:24px}.home-renewed .home-section-head>span{font-size:12px}
.prayer-upcoming{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 22px 12px;padding:14px 18px;border:1px solid #45695a;border-radius:13px;background:#20443766;flex:none}
.prayer-next-caption{display:block;font-size:13px;line-height:1.4;color:#a9cbb9}.prayer-next-name{display:block;font-size:25px;font-weight:550;line-height:1.3;margin:3px 0}.prayer-upcoming p{font-size:14px;line-height:1.4;margin:0;color:var(--muted)}.prayer-next-time{font-size:45px;letter-spacing:-1px;font-weight:500;line-height:1.2;flex:none;color:#e6f1e9;font-variant-numeric:tabular-nums}.prayer-upcoming.needs-place{background:transparent;border-color:var(--line)}
.home-renewed .prayer-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;padding:0 22px;margin:0;border:0;overflow:visible}
.home-renewed .prayer{min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:8px 4px;border:1px solid #355048;border-radius:11px;background:#142f2b}
.home-renewed .prayer:nth-child(-n+3){border:1px solid #355048}.home-renewed .prayer>span{font-size:14px;line-height:1.3;color:var(--muted)}.home-renewed .prayer strong{font-size:29px;line-height:1.2;font-weight:500;letter-spacing:0;color:var(--ink);font-variant-numeric:tabular-nums}.home-renewed .prayer.next{background:#315b46;border-color:#89b99b}.home-renewed .prayer.next>span{color:#c6e5cd}.home-renewed .prayer.next strong{color:#f0fff1}
.home-renewed .home-prayer-actions{padding:12px 22px 16px;gap:8px;margin:0;display:flex}.home-renewed .home-prayer-actions button{min-height:38px;font-size:13px;padding:8px 10px;line-height:1.4}.home-renewed .home-prayer-actions .prayer-method-button{width:auto;flex:1;display:flex;gap:6px;justify-content:center;align-items:center;padding:8px 10px;border:1px solid var(--line);border-radius:10px;font-size:13px;background:transparent}.home-renewed .prayer-method-button svg{width:14px;height:14px}
.home-renewed>.today-aside{grid-column:2;grid-row:1;min-height:0}.home-renewed .continue-card{height:100%;display:flex;flex-direction:column;padding:22px;border-radius:20px;overflow:auto;gap:0}
.quran-card-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;margin-bottom:16px}.home-renewed .quran-card-heading h2{font-size:25px;line-height:1.3;margin:0}.quran-card-mark{font-family:Arabic,serif;font-size:21px;line-height:1.2;color:#bdd8cf;flex:none}
.home-renewed .home-reading-position{display:grid;gap:7px;margin:0 0 18px;font-size:17px;line-height:1.5}.home-renewed .home-reading-position>strong{font-size:27px;line-height:1.3}.home-renewed .continue-card>a.primary{font-size:16px;min-height:45px;padding:10px 15px;margin-top:auto}
.home-renewed .home-quran-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 0 0;margin:14px 0 0}.home-renewed .home-quran-tool{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;min-height:60px;padding:7px 5px}.home-renewed .home-quran-tool strong{font-size:16px;line-height:1.4}.home-renewed .home-quran-tool small{display:block;font-size:12px;line-height:1.4}.home-renewed .home-quran-tool svg{width:21px;height:21px}
.home-renewed>.home-mosque-preview{grid-column:1;grid-row:2;padding:22px;gap:20px;border-radius:20px}.home-renewed .home-mosque-preview .mosque-preview-symbol{width:62px;height:62px;border-radius:16px}.home-renewed .home-mosque-preview .mosque-preview-symbol svg{width:43px;height:43px}.home-renewed .home-mosque-preview strong{font-size:24px}.home-renewed .home-mosque-preview small{font-size:16px;line-height:1.6;white-space:normal}.home-renewed .home-mosque-preview>svg{width:24px;height:24px}
.home-podcasts{grid-column:2;grid-row:2;min-width:0;min-height:0;border:1px solid var(--line);border-radius:20px;background:var(--surface);padding:16px 20px;display:flex;flex-direction:column;overflow:hidden}
.home-podcasts>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;margin-bottom:6px}.home-podcasts>header>div{display:flex;align-items:center;gap:9px;min-width:0}.home-podcasts h2{font-size:21px;font-weight:550;line-height:1.4;margin:0}.home-podcasts>header svg{width:22px;height:22px;flex:none;color:#afd3bd}.home-podcasts>header>button{display:flex;align-items:center;gap:5px;font-size:14px;min-height:34px;padding:5px 8px;flex:none;border:0;background:transparent}.home-podcasts>header>button svg{width:15px;height:15px}
.podcast-heading-short,.podcast-preview-count{display:none}.podcast-home-body{min-height:0;flex:1;display:flex;flex-direction:column}.podcast-home-body>p{font-size:14px;line-height:1.5;color:var(--muted)}
.podcast-episode{display:flex;align-items:center;gap:8px;min-width:0;border-bottom:1px solid var(--line)}.podcast-episode>button:first-child{display:flex;align-items:center;gap:12px;text-align:start;padding:11px 3px;border:0;background:transparent;border-radius:8px;min-height:64px;flex:1;min-width:0;color:var(--ink)}.podcast-play-symbol{width:34px;height:34px;border:1px solid #416958;background:#214337;border-radius:50%;flex:none;display:grid;place-items:center}.podcast-play-symbol svg{width:16px;height:16px}.podcast-episode>button>span:last-child{min-width:0;display:grid;gap:4px}.podcast-episode strong{font-size:16px;font-weight:500;line-height:1.45;overflow-wrap:anywhere}.podcast-episode small{font-size:13px;line-height:1.4;color:var(--muted)}.podcast-home-body .podcast-episode>button{padding:6px 0;min-height:48px}.podcast-home-body .podcast-episode strong{font-size:14px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.podcast-home-body .podcast-episode small{font-size:12px}.podcast-home-body .podcast-episode:last-child{border:0}.podcast-episode.is-active{background:#284b3933}.podcast-save{width:40px;min-height:40px;font-size:23px;padding:4px;border:0;background:transparent;color:#c4dccc;flex:none}
.podcast-player{min-height:0}.podcast-now-title{font-size:15px;line-height:1.4;font-weight:500;margin:3px 0 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.podcast-transport{display:flex;align-items:center;gap:8px}.podcast-transport>button{display:grid;place-items:center;width:35px;min-height:35px;padding:6px;border-radius:50%;font-size:22px;flex:none}.podcast-transport svg{width:18px;height:18px}.podcast-transport .podcast-toggle{background:#315c46;border-color:#709b7d}.podcast-time{font-size:12px;color:var(--muted);white-space:nowrap;margin-inline-start:auto}.podcast-transport select{padding:5px 20px 5px 6px;font-size:12px;min-height:34px;width:64px}.podcast-player [data-podcast-seek]{width:100%;height:18px;accent-color:#a6ccad;margin:6px 0 0}.podcast-error{font-size:13px;line-height:1.5;color:#eac5b5;margin:6px 0}
#dialog:has(#podcast-library){width:min(1050px,94vw);max-width:1050px;max-height:90dvh}#podcast-library{display:flex;flex-direction:column;min-height:0}.podcast-disclosure,.podcast-network-note{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 15px}.podcast-network-note{font-size:12px;margin:12px 0 0}.podcast-filters{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:9px}.podcast-filters input,.podcast-filters select{min-width:0;width:100%;min-height:44px;font-size:14px;padding:9px 12px;border-radius:10px}.podcast-library-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:10px 0}.podcast-count{font-size:14px;color:var(--muted)}.podcast-library-tools button{min-height:36px;font-size:13px;padding:7px 11px}.podcast-results{max-height:45dvh;min-height:90px;overflow:auto;overscroll-behavior:contain}.podcast-library-player{position:sticky;bottom:0;background:var(--surface);padding-top:12px;border-top:1px solid var(--line)}.podcast-library-player .podcast-now-title{font-size:17px}.podcast-library-player .podcast-transport>button{width:42px;min-height:42px}.podcast-library-player .podcast-time{font-size:14px}
/* The chosen mosque card is NEVER an independently scrolling box. */
.mosque-directory .mosque-panel:has(.mosque-map){display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr) minmax(245px,.88fr);grid-template-rows:minmax(0,1fr);gap:20px;overflow:hidden}
.mosque-map-stage{min-width:0;min-height:0;display:flex;flex-direction:column}.mosque-directory .mosque-map-stage>.mosque-map{height:auto;flex:1;min-height:180px}.mosque-map-stage>.map-network-note{flex:none}.mosque-map-stage>.mosque-map-actions{flex:none}
.mosque-search-sidebar{min-width:0;min-height:0;display:flex;flex-direction:column}.mosque-search-sidebar>.mosque-search-row{flex:none}.mosque-search-sidebar>.map-town-results{flex:none;max-height:145px;overflow:auto}.mosque-directory .map-active-detail{max-height:none;overflow:visible;flex:none}.mosque-search-sidebar>.mosque-result-heading{flex:none}.mosque-search-sidebar>.mosque-results{min-height:80px;flex:1;max-height:none;overflow:auto}
.mosque-directory .mosque-detail{padding:17px;margin:0 0 10px}.mosque-directory .mosque-detail h3{font-size:21px;line-height:1.4}.mosque-directory .mosque-detail>p{font-size:14px;line-height:1.6}.mosque-directory .mosque-detail .row-actions{display:flex;flex-wrap:wrap;gap:8px}.mosque-directory .mosque-detail .row-actions>*{font-size:14px;min-height:42px;flex:1;padding:10px 12px;text-align:center}.mosque-directory .mosque-results strong{font-size:16px}
.mosque-timetable{min-width:0;align-self:start;border:1px solid #527663;border-radius:16px;background:#13332b;padding:18px;overflow:visible;max-height:none}.mosque-timetable header>.eyebrow{font-size:11px;letter-spacing:1.3px;color:#afcfba}.mosque-timetable h2{font-size:20px;line-height:1.4;font-weight:550;margin:5px 0 10px}.mosque-timetable h3{font-size:18px;font-weight:500;line-height:1.5;margin:0 0 9px;overflow-wrap:anywhere}.mosque-timetable p{font-size:13px;line-height:1.6;color:var(--muted)}.mosque-timetable .timetable-date{font-size:13px;line-height:1.4;margin:0 0 12px}.mosque-times-list{display:grid;gap:0}.mosque-time-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 9px;border-bottom:1px solid #416451;padding:7px 0;min-height:44px}.mosque-time-row>span{font-size:14px;line-height:1.4}.mosque-time-row>strong{font-size:25px;font-weight:500;line-height:1.2;font-variant-numeric:tabular-nums}.mosque-time-row>small{grid-column:1 / -1;text-align:end;font-size:12px;line-height:1.4;color:#b4cdbd}.mosque-time-row.is-next{color:#ccedcc}.mosque-time-row.is-next>strong{font-weight:650}.mosque-timetable .mosque-jumua{font-size:14px;color:#d8e9da;margin:12px 0 0}.mosque-timetable .timetable-zone{font-size:11px;margin:10px 0 0}.mosque-timetable .timetable-source{font-size:12px;line-height:1.5;margin:5px 0 10px}.mosque-timetable .timetable-stale{font-size:12px;color:#e1c5a7}.mosque-timetable button{font-size:13px;min-height:36px;width:100%;padding:8px 10px;border-radius:9px}.timetable-empty{min-height:70px}
@media(max-width:1150px){.mosque-directory .mosque-panel:has(.mosque-map){grid-template-columns:minmax(0,1.25fr) minmax(265px,1fr);grid-template-rows:minmax(0,1fr);overflow:auto}.mosque-timetable{grid-column:2;grid-row:2}.mosque-map-stage{grid-column:1;grid-row:1 / span 2;min-height:500px}.mosque-search-sidebar{grid-column:2;grid-row:1;min-height:280px}.mosque-search-sidebar>.mosque-results{max-height:230px;min-height:100px}}
@media(max-height:820px) and (min-width:761px){body.is-home .home-renewed{grid-template-rows:minmax(0,1.85fr) minmax(154px,1fr);gap:14px 20px}.home-renewed .home-section-head{padding:12px 18px 8px}.home-renewed .home-section-head h2{font-size:22px}.prayer-upcoming{padding:10px 14px;margin:0 18px 9px}.prayer-next-name{font-size:23px}.prayer-next-time{font-size:39px}.prayer-next-caption{font-size:12px}.prayer-upcoming p{font-size:13px}.home-renewed .prayer-grid{padding-inline:18px;gap:6px}.home-renewed .prayer{padding:6px 3px}.home-renewed .prayer strong{font-size:26px}.home-renewed .home-prayer-actions{padding:9px 18px 12px}.home-renewed .continue-card{padding:18px}.quran-card-heading{margin-bottom:10px}.home-renewed .home-reading-position{margin-bottom:12px;gap:4px}.home-renewed .home-reading-position>strong{font-size:24px}.home-renewed .home-quran-tools{padding-top:9px;margin-top:10px}.home-renewed .home-quran-tool{min-height:50px;padding-block:5px}.home-podcasts{padding:12px 16px}.home-podcasts h2{font-size:19px}.home-podcasts>header{margin-bottom:3px}.podcast-home-body .podcast-episode>button{min-height:44px;padding:4px 0}.podcast-home-body .podcast-episode strong{font-size:14px}.home-renewed .home-mosque-preview{padding:18px}.mosque-timetable{padding:14px}.mosque-timetable h2{font-size:19px}.mosque-time-row{padding-block:5px;min-height:40px}.mosque-time-row>strong{font-size:23px}}
@media(max-width:760px){
 body.is-home .home-renewed{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(210px,1.15fr) minmax(170px,1fr) minmax(120px,.7fr);gap:10px}
 .home-renewed>.home-prayer-card{grid-column:1 / -1;grid-row:1;border-radius:16px}.home-renewed>.today-aside{grid-column:1 / -1;grid-row:2}.home-renewed>.home-mosque-preview{grid-column:1;grid-row:3}.home-renewed>.home-podcasts{grid-column:2;grid-row:3}
 .home-renewed .home-section-head{padding:9px 15px 6px}.home-renewed .home-section-head h2{font-size:19px}.home-renewed .home-section-head>span{font-size:10px}.prayer-upcoming{margin:0 15px 7px;padding:8px 12px;gap:10px;border-radius:10px}.prayer-next-caption{font-size:11px}.prayer-next-name{font-size:21px;margin:2px 0}.prayer-next-time{font-size:32px}.prayer-upcoming p{font-size:12px}.home-renewed .prayer-grid{padding:0 15px;gap:5px}.home-renewed .prayer{padding:4px 3px;gap:2px;border-radius:8px}.home-renewed .prayer>span{font-size:12px}.home-renewed .prayer strong{font-size:23px}.home-renewed .home-prayer-actions{padding:7px 15px 10px;gap:6px}.home-renewed .home-prayer-actions button,.home-renewed .home-prayer-actions .prayer-method-button{font-size:12px;min-height:33px;padding:6px 8px;line-height:1.3}
 .home-renewed .continue-card{display:flex;padding:14px 16px;border-radius:16px;gap:0}.home-renewed .quran-card-heading{margin-bottom:7px}.home-renewed .quran-card-heading h2{font-size:22px}.quran-card-mark{font-size:15px}.home-renewed .home-reading-position{font-size:14px;line-height:1.4;margin:0 0 9px;gap:3px}.home-renewed .home-reading-position>strong{font-size:23px}.home-renewed .home-reading-position>span:last-child{font-size:14px}.home-renewed .continue-card>a.primary{min-height:36px;font-size:14px;padding:7px 12px}.home-renewed .home-quran-tools{padding:7px 0 0;margin:8px 0 0;gap:8px}.home-renewed .home-quran-tool{min-height:36px;padding:3px 0;grid-template-columns:19px minmax(0,1fr);gap:7px}.home-renewed .home-quran-tool strong{font-size:13px}.home-renewed .home-quran-tool small{display:none}.home-renewed .home-quran-tool svg{width:18px;height:18px}
 .home-renewed .home-mosque-preview{padding:12px;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:7px 8px;align-items:start;border-radius:15px}.home-renewed .home-mosque-preview .mosque-preview-symbol{width:28px;height:28px;border-radius:7px;grid-column:1;grid-row:1}.home-renewed .home-mosque-preview .mosque-preview-symbol svg{width:23px;height:23px}.home-renewed .home-mosque-preview>span:nth-child(2){display:contents}.home-renewed .home-mosque-preview strong{font-size:16px;line-height:1.5;grid-column:2;grid-row:1;overflow-wrap:anywhere}.home-renewed .home-mosque-preview small{font-size:13px;line-height:1.5;grid-column:1 / -1;grid-row:2;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.home-renewed .home-mosque-preview>svg{display:none}
 .home-podcasts{padding:12px;border-radius:15px;gap:5px}.home-podcasts>header{display:block;margin:0}.home-podcasts>header>div>svg,.podcast-heading-long{display:none}.podcast-heading-short{display:inline}.home-podcasts h2{font-size:17px;line-height:1.5}.home-podcasts>header>button{padding:3px 0;min-height:30px;font-size:13px}.podcast-home-body .podcast-episode{display:none}.podcast-preview-count{display:block!important;font-size:13px!important;line-height:1.5;margin:2px 0!important}.podcast-home-body .podcast-now-title{font-size:12px;line-height:1.3;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 4px}.podcast-home-body .podcast-transport{justify-content:flex-start}.podcast-home-body .podcast-transport>button:not(.podcast-toggle),.podcast-home-body .podcast-time,.podcast-home-body .podcast-transport>label,.podcast-home-body [data-podcast-seek]{display:none}.podcast-home-body .podcast-toggle{width:32px;min-height:32px}.podcast-home-body .podcast-error{font-size:11px;margin:2px 0;line-height:1.3}
 .podcast-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.podcast-filters input{grid-column:1 / -1}.podcast-filters input,.podcast-filters select{font-size:14px}.podcast-results{max-height:40dvh}.podcast-episode strong{font-size:15px}.podcast-episode small{font-size:12px}.podcast-disclosure{font-size:12px}.podcast-library-player .podcast-now-title{font-size:14px;white-space:normal}.podcast-library-player .podcast-time{font-size:12px}.podcast-library-player .podcast-transport{gap:5px}.podcast-library-player .podcast-transport>button{width:35px;min-height:35px}
 .mosque-directory .mosque-panel:has(.mosque-map){display:flex;flex-direction:column;overflow:auto;gap:15px}.mosque-map-stage{flex:none;min-height:260px;height:38dvh}.mosque-directory .mosque-map-stage>.mosque-map{min-height:180px}.mosque-search-sidebar{flex:none;min-height:170px;display:flex}.mosque-directory .map-active-detail{max-height:none;overflow:visible}.mosque-search-sidebar>.mosque-results{max-height:280px;min-height:90px}.mosque-timetable{flex:none;align-self:stretch;max-height:none;overflow:visible;padding:17px}.mosque-timetable h2{font-size:22px}.mosque-timetable h3{font-size:20px}.mosque-time-row{min-height:49px;padding-block:7px}.mosque-time-row>span{font-size:16px}.mosque-time-row>strong{font-size:27px}.mosque-time-row>small{font-size:14px}.mosque-directory .mosque-detail{font-size:15px}.mosque-directory .mosque-detail h3{font-size:21px}
}
@media(max-height:760px) and (max-width:760px){.home-renewed .home-section-head{padding-top:7px;padding-bottom:5px}.home-renewed .home-section-head h2{font-size:18px}.prayer-upcoming{padding:6px 10px;margin-bottom:5px}.prayer-next-name{font-size:19px}.prayer-next-time{font-size:29px}.prayer-next-caption{font-size:10px}.prayer-upcoming p{font-size:11px}.home-renewed .prayer>span{font-size:11px}.home-renewed .prayer strong{font-size:21px}.home-renewed .home-prayer-actions{padding-top:6px;padding-bottom:8px}.home-renewed .home-prayer-actions button,.home-renewed .home-prayer-actions .prayer-method-button{min-height:31px;font-size:11px}.home-renewed .continue-card{padding:11px 14px}.home-renewed .quran-card-heading{margin-bottom:5px}.home-renewed .quran-card-heading h2{font-size:20px}.home-renewed .home-reading-position{margin-bottom:7px;gap:2px}.home-renewed .home-reading-position>strong{font-size:21px}.home-renewed .home-quran-tools{margin-top:6px;padding-top:5px}.home-renewed .home-quran-tool{min-height:33px}.home-renewed .home-quran-tool strong{font-size:12px}}

@media(max-height:760px) and (max-width:760px){.home-renewed .continue-card{padding-top:10px;padding-bottom:10px}}
@media(max-height:820px) and (min-width:761px){
 .mosque-timetable h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0}
 .mosque-times-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .mosque-time-row{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center;border:1px solid #416451;border-radius:8px;padding:6px 3px;min-height:69px}
 .mosque-time-row>span{font-size:12px}.mosque-time-row>strong{font-size:23px}.mosque-time-row>small{font-size:11px;line-height:1.2;text-align:center}
 .mosque-timetable .timetable-date{margin-bottom:9px}.mosque-timetable .mosque-jumua{margin-top:8px;font-size:13px}.mosque-timetable .timetable-zone{margin-top:7px}.mosque-timetable .timetable-source{margin-bottom:7px}
}

.quran-card-mark{font-family:QuranCommon,Uthmanic; font-size:20px}.podcast-publisher-link{display:inline-block;font-size:13px;line-height:1.6;margin:3px 0 6px;color:#bad9c2}
@media(max-width:760px){.quran-card-mark{font-size:17px}}

.home-podcasts .podcast-player-compact{padding:9px 12px;display:grid;gap:6px}
.podcast-player-compact .podcast-current strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.4}
.podcast-compact-controls{display:flex;align-items:center;gap:9px;min-width:0}
.podcast-compact-controls button{min-width:31px;min-height:29px;padding:2px 6px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--accent-soft)}
.podcast-compact-controls .podcast-time{font-size:11px;white-space:nowrap}
.podcast-player-compact .podcast-error{font-size:11px;margin:0}
@media(max-width:760px) and (max-height:760px){
 .home-podcasts .podcast-preview-count{display:none}.home-podcasts .podcast-player-compact{padding:5px;gap:3px}
 .home-podcasts .podcast-player-compact .podcast-current{display:none}
 .home-podcasts .podcast-compact-controls{gap:4px}.home-podcasts .podcast-compact-controls .podcast-time{font-size:9px}
}

.home-podcasts .podcast-player-compact{margin:0}.home-podcasts .podcast-player-compact:has(.podcast-error) .podcast-compact-controls{display:none}
