.quran-wide-list{display:grid;gap:12px}.request-wide{display:block;position:relative;clear:both;margin-bottom:14px}.request-wide .request-tile{height:auto;box-sizing:border-box;float:none}.request-wide+.card{margin-top:14px}.request-wide .grow{min-width:0;line-height:1.6}.request-wide .art{flex-shrink:0}body[data-route="settings"] .request-wide{margin-bottom:16px}body[data-route="settings"] .settings-card{clear:both}
body[data-route="dhikr"] #view,body[data-route="ruqyah"] #view{padding-bottom:calc(var(--nav-height,90px) + 100px)}
body[data-route="dhikr"] #view>.reader-actions,body[data-route="ruqyah"] #view>.reader-actions{position:fixed;bottom:var(--nav-height,calc(78px + env(safe-area-inset-bottom)));left:50%;transform:translateX(-50%);width:min(500px,100%);box-sizing:border-box;margin:0;padding:10px 18px 12px;background:#F5FBFC;border-top:1px solid #C9ECE9;box-shadow:0 -5px 18px #0756640b;z-index:29;display:grid;grid-template-columns:1fr 1fr;gap:12px}
body[data-route="dhikr"] #view>.reader-actions>*,body[data-route="ruqyah"] #view>.reader-actions>*{margin:0;min-height:46px;display:flex;align-items:center;justify-content:center;font-size:.95rem;padding:9px 12px}
body[data-route="dhikr"] #mini,body[data-route="ruqyah"] #mini{bottom:calc(var(--nav-height,90px) + 72px)}
body[data-route="dhikr"] .reading-landscape{display:none}body[data-route="dhikr"] .reader-count{margin-top:0}
body[data-route="qibla"] #view{height:calc(100dvh - var(--nav-height,90px));min-height:0;display:flex;flex-direction:column;padding:16px 18px 12px;box-sizing:border-box}body[data-route="qibla"] .page-head{margin:0 0 10px;flex-shrink:0}body[data-route="qibla"] .page-head h1{font-size:1.45rem}
.qibla-compact{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px}.qibla-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#075664;font-size:.82rem}.qibla-caption strong{font-size:1.1rem}.qibla-dial-space{flex:1;display:grid;place-items:center;min-height:0}.qibla-compact .compass-dial{width:min(53vw,32dvh,245px);height:min(53vw,32dvh,245px);margin:16px auto;outline-width:8px;border-width:4px}.qibla-compact .direction{font-size:1rem}.qibla-compact .direction.north{top:14px}.qibla-compact .direction.south{bottom:14px}.qibla-compact .direction.east{right:15px}.qibla-compact .direction.west{left:15px}.qibla-compact .dial-pointer{inset:24px;font-size:3.8rem}.qibla-compact .compass-center .icon{width:28px;height:28px}.qibla-instructions{text-align:center;background:#F5FBFC;padding:13px;border-radius:18px;flex-shrink:0}.qibla-instructions h2{font-size:1rem;margin:0 0 6px}.qibla-instructions p{font-size:.8rem;margin:6px 0}.qibla-instructions .primary{padding:10px;margin:10px 0 0;font-size:.9rem}.qibla-instructions .note{font-size:.72rem;line-height:1.5;margin-bottom:0}
.kahf-mode-switch{display:flex;align-items:center;justify-content:center;gap:9px;margin-bottom:18px}.kahf-reader-label{display:block;font-size:.9rem;margin-bottom:12px}.kahf-reader-label select{margin-top:7px}body[data-route="kahf"] .audio-mast{padding:10px 0}body[data-route="kahf"] .audio-mast h1{font-size:1.65rem}body[data-route="kahf"] .audio-mast .portrait{width:90px;height:90px}
@media(min-width:750px){body[data-route="qibla"] #view{height:calc(100dvh - var(--nav-height,90px) - 48px)}}
@media(max-height:580px){.qibla-compact .compass-dial{width:150px;height:150px;margin:9px}.qibla-instructions{padding:9px}.qibla-instructions h2{font-size:.9rem}}
.prayer-table#prayer-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;border-radius:18px}
body #prayer-list .prayer-row{padding:14px 10px 0;gap:6px;border:1px solid #dfedef;border-radius:13px;background:#f9fdff;overflow:hidden}
body #prayer-list .prayer-row.active{background:#e4f5f4;border-color:#279BA2;box-shadow:none}
body #prayer-list .prayer-row .prayer-symbol{width:27px;height:27px;margin-bottom:2px}
body #prayer-list .prayer-row strong{font-size:.875rem;font-weight:400}
body #prayer-list .prayer-row .time{font-size:1.05rem;font-weight:700;white-space:nowrap}
body #prayer-list .prayer-row .bell-button,body #prayer-list .sunrise-note{width:100%;height:40px;min-height:40px;margin:4px 0 0;border-top:1px solid #cde4e5;border-radius:0;background:transparent}
body #prayer-list .prayer-row .bell-button .icon{width:17px;height:17px}
body .prayer-hero-v5.unified-hero{padding:17px 18px;background:linear-gradient(110deg,#e4f5f5,#f5fbfc);border:1px solid #c6e5e6;border-radius:18px}
body .prayer-hero-v5.unified-hero .hero-line{min-height:0;gap:14px}
body .prayer-hero-v5.unified-hero .hero-line>div:first-child{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
body .prayer-hero-v5.unified-hero #next-name{font-size:1.5rem;margin:2px 0;color:#075664}
body .prayer-hero-v5.unified-hero .countdown{font-size:1.45rem;line-height:1.5;margin:0;letter-spacing:0}
body .prayer-hero-v5.unified-hero .time-labels{width:155px;max-width:100%;font-size:.75rem}
body .prayer-hero-v5.unified-hero .hero-line .art.clean-art{width:100px;height:100px;flex-basis:100px}
body .prayer-hero-v5.unified-hero .progress{margin-top:12px;height:5px}
.radio-selector{margin-bottom:8px}.radio-selector>.muted{font-size:.8rem;min-width:45px}
.radio-picker-sheet{max-height:75dvh;overflow-y:auto}.radio-picker-sheet .search{position:sticky;top:0;background:#f5fbfc;z-index:1}
.radio-picker-sheet .tile{margin:0;border:0;border-bottom:1px solid #d4e8ed;border-radius:0;box-shadow:none;background:transparent}
.sunrise-note{display:grid;place-items:center;min-height:44px;font-size:.75rem;color:#597582}
body .unified-hero{padding:12px 14px;border-radius:16px;box-shadow:none;min-height:0}
body .unified-hero .hero-line{gap:12px;min-height:100px}
body .unified-hero .hero-line .art.clean-art{width:82px;height:82px;flex-basis:82px}
body .unified-hero .hero-line h2{font-size:1.25rem;margin:0 0 4px}
body .unified-hero .hero-line .primary{margin-top:8px;padding:8px 12px}
body .prayer-hero-v5 .hero-line>div:first-child{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;align-items:center;flex:1}
body .prayer-hero-v5 .hero-line small{font-size:.8rem}
body .prayer-hero-v5 #next-name{margin:0;font-size:1.25rem}
body .prayer-hero-v5 .countdown{grid-column:1/-1;font-size:1.35rem;margin:2px 0 0;width:max-content}
body .prayer-hero-v5 .time-labels{grid-column:1/-1;max-width:150px;margin:0}
body .prayer-hero-v5 .progress{margin:8px 0 0;height:5px}
body .ramadan-card{padding:14px 16px;margin-top:18px;min-height:0;border-radius:16px;background:#F5FBFC;border:1px solid #bce2e0;box-shadow:none;gap:10px}
body .ramadan-card>div{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;flex:1}
body .ramadan-card .eyebrow,body .ramadan-card small{grid-column:1/-1;font-size:.75rem}
body .ramadan-card h2{font-size:1.15rem;margin:0}
body .ramadan-card .ramadan-count{font-size:.8rem;white-space:nowrap;margin:0}
body .ramadan-card .ramadan-count strong{font-size:1.4rem}
body .ramadan-card .art.clean-art{width:60px;height:60px;flex:0 0 60px}
body .ramadan-card+.note{font-size:.75rem;margin:6px 4px 12px}
body .card,body .tile,body .visual-tile{box-shadow:0 3px 10px #07566406}
body[data-route="radio"] .audio-mast{margin:12px 0 16px}
body[data-route="radio"] .audio-mast .portrait.large{width:96px;height:96px;margin:16px auto}
body[data-route="radio"] .audio-mast h1{font-size:1.35rem;margin-top:15px}
body[data-route="radio"] .audio-mast p{font-size:.9rem}
#prayer-list .prayer-row{display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;min-height:0;margin:0;padding:10px 1px 4px;border:1px solid #d9e9eb;border-radius:12px;background:#f5fbfc}
#prayer-list .prayer-row.active{background:#d5f0ed;border-color:#178994;box-shadow:inset 0 0 0 1px #17899422}
#prayer-list .prayer-row strong{flex:none;font-size:.875rem;line-height:1.6}
#prayer-list .prayer-symbol,#prayer-list .prayer-symbol .icon{width:23px;height:23px}
#prayer-list .prayer-row .time{min-width:0;font-size:.875rem;line-height:1.5;white-space:normal;direction:rtl}
#prayer-list .prayer-row .bell-button{margin:1px 0 0;min-width:44px;width:44px;min-height:44px;height:44px;background:transparent;border-radius:10px}
#prayer-list .prayer-row .bell-button:hover{background:#c9ece9}
#prayer-list .bell-button .icon{width:18px;height:18px}
#prayer-list>p,#prayer-list>a{grid-column:1/-1}

/* Compact sizing across all tabs, without scaling the viewport or touch targets. */
:root{--reading:1rem}
body{font-size:16px}
#view{padding:18px 14px 108px}
h1,.page-head h1{font-size:1.4rem}
h2,.section-head h2{font-size:1.05rem}
h3{font-size:1rem}
.page-head{margin:0 0 18px;min-height:40px}
.page-head>.icon{width:25px;height:25px}
.section-head{margin:20px 2px 9px}
.card{padding:14px;border-radius:16px;margin-bottom:11px}
.tile{padding:11px;gap:10px;min-height:62px;border-radius:14px;margin:8px 0}
.tile strong,.visual-tile strong,.illustrated-card strong{font-size:.9rem}
.tile small{font-size:.8rem}
.badge-icon{width:38px;height:38px}
.badge-icon .icon{width:23px;height:23px}
.request-grid,.visual-grid,.category-grid,.prayer-gallery,.quran-wide-list,.grid{gap:8px}
.request-grid .request-tile,.category-grid .tile{min-height:68px;padding:9px;gap:7px}
.request-grid .request-tile strong{font-size:.875rem}
.request-wide>.tile{min-height:64px}
.request-wide{margin-bottom:10px}
.request-grid .tile .art.clean-art,.request-wide .art.clean-art,.tile .art.clean-art{width:44px;height:44px;flex:0 0 44px}
.visual-tile,.learning-grid .visual-tile{min-height:108px;padding:8px;border-radius:15px}
.visual-tile .art.clean-art,.prayer-gallery .art.clean-art{width:72px;height:72px;margin-bottom:7px}
.learning-grid .art.clean-art{width:64px!important;height:64px}
.illustrated-card>div{padding:10px 6px}
.unified-hero{padding:14px;border-radius:16px;margin-bottom:14px}
.hero-line .art.clean-art{width:90px;height:90px;flex-basis:90px}
.hero-line h2{font-size:1.45rem;margin:4px 0 7px}
.prayer-hero-v5 .countdown{font-size:1.4rem}
.prayer-hero-v5 .progress{margin-top:12px;height:6px}
.primary,.secondary{font-size:.9rem;padding:9px 12px;min-height:44px;border-radius:12px;margin-top:10px}
.large-row{min-height:64px;padding:12px;margin:9px 0}
.joined-list{padding:0 12px}.joined-list .tile{padding:12px 0}
.explanation{padding:16px 14px}.reader-body{font-size:var(--reading);line-height:1.95}
.explanation>.reader-body>p:not(:last-child){padding-bottom:15px;margin-bottom:15px}
.dhikr-card{padding:20px 14px 16px;min-height:220px}
.dhikr-text .reader-body,.short-hadith .reader-body,.daily-hadith .reader-body{font-size:1.05rem;line-height:2}
.dhikr-notes{margin-top:18px;padding-top:12px}
.small-intro{margin:10px 0 16px}.small-intro h2{font-size:1.25rem}
.small-intro>.art.clean-art{width:85px;height:85px}
.video-tile{min-height:58px;padding:9px 10px}
.ramadan-card{padding:14px;min-height:115px;margin-top:18px}
.ramadan-card h2{font-size:1.15rem}.ramadan-count strong{font-size:1.55rem}
.ramadan-card .art.clean-art{width:85px;height:85px;flex-basis:85px}
.ward-welcome{padding:18px 12px}.ward-welcome>.art{max-width:210px;margin:15px auto 20px}
.ward-welcome h2,.setup-intro h2{font-size:1.25rem}
.setup-intro>.art{width:135px;max-height:125px;margin:8px auto 16px}
.plan-option>label{font-size:1rem}.range-line{padding:11px 0}
.audio-mast{margin:16px 0 20px}.audio-mast h1{font-size:1.5rem;margin-top:20px}
.audio-mast p{font-size:1rem}.portrait.large{width:125px;height:125px;margin:20px auto}
.audio-mast .art{width:155px}.play-main{width:62px;height:62px}
.onboarding-v5 h1{font-size:1.4rem}.onboarding-v5>.art.clean-art{width:125px;height:125px}
.tafsir-heading h2{font-size:1.4rem}.tafsir-ayah{font-size:1.35rem}
#nav a{font-size:.75rem;padding:8px 2px;gap:4px}#nav a .icon{width:23px;height:23px}
