@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#f7f8f3;--panel:#fff;--text:#263a30;--muted:#7a857c;--line:#e5e9df;--soft:#ecf0e6;--green:#294b3c;--accent:#dae6be;--gold:#e5d7a2;--shadow:0 10px 40px #233b2c05;--side:#eef1e7;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',Arial,sans-serif;font-size:14px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0;background:none}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a5b88c;outline-offset:4px}button:disabled{opacity:.5;cursor:wait}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.app-shell{display:flex;min-height:100vh}.sidebar{width:244px;flex-shrink:0;background:var(--side);padding:44px 27px 30px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-family:Manrope,Arial,sans-serif;font-weight:750;font-size:27px;letter-spacing:-1.1px}.brand-symbol{width:40px;height:40px;border-radius:14px;background:var(--green);color:var(--accent);display:grid;place-items:center}.brand-symbol svg{width:24px;height:24px}.brand-dot{color:#89986d}.sidebar-label{font-size:8px;letter-spacing:2px;color:var(--muted);margin:22px 0 48px}.desktop-nav{display:grid;gap:9px}.nav-item{padding:13px 14px;text-align:left;display:flex;align-items:center;gap:12px;color:var(--muted);border-radius:10px;font-size:13px;font-weight:550}.nav-item.active{background:#dfe7d3;color:var(--green)}.nav-item:hover{background:#e4e9dd}.nav-dot{height:5px;width:5px;border-radius:50%;background:var(--green);margin-left:auto}.sidebar-bottom{margin-top:auto;padding:20px 10px 0}.side-message{font-family:Manrope,Arial,sans-serif;font-size:21px;font-weight:600;line-height:1.55;letter-spacing:-.5px}.side-line{display:block;width:30px;height:1px;background:#b4c2a6;margin:22px 0}.sidebar-bottom p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:25px}.text-button{font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:15px;padding:7px 0;color:var(--green)}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.sidebar-bottom .text-button{font-size:10px;gap:6px}main{margin-left:244px;flex:1;width:calc(100% - 244px);max-width:none;min-width:0;padding:0 56px 24px}.topbar{height:105px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:9px;letter-spacing:2px}.top-actions{display:flex;align-items:center;gap:20px}.live-clock{font-size:12px;letter-spacing:.5px;font-variant-numeric:tabular-nums}.icon-button{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:transparent}.icon-button:hover{background:var(--soft)}.icon-button svg{width:19px;height:19px}.mobile-settings{display:none}.page-heading{display:flex;align-items:center;justify-content:space-between;padding:37px 0 22px}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.8px;color:var(--muted)}h1{font-family:Manrope,Arial,sans-serif;letter-spacing:-2.5px;font-size:52px;font-weight:650;line-height:1.25;margin:6px 0 3px}.city-period{color:#a8b692}.page-heading p{font-size:13px;color:var(--muted);margin:0}.city-switch{border:1px solid var(--line);background:var(--panel);padding:12px 14px 12px 12px;border-radius:10px;display:flex;gap:10px;align-items:center;font-weight:550;font-size:12px;box-shadow:var(--shadow)}.city-switch:hover{border-color:#9aad87}.city-switch>svg{width:18px;height:18px}.city-switch svg.small{width:14px;height:14px;margin-left:10px}.view-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:28px}.view-tabs button{padding:12px 4px;position:relative;color:var(--muted);font-size:13px}.view-tabs button.active{color:var(--green);font-weight:650}.view-tabs button.active:after{content:'';height:2px;background:var(--green);position:absolute;bottom:-1px;left:0;right:0}.today-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(295px,1fr);gap:26px}.next-card{background:var(--green);border-radius:18px;min-height:386px;color:#f0f3e7;padding:26px 30px 0;position:relative;overflow:hidden}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;z-index:1}.small-caps{font-size:9px;letter-spacing:2px;display:flex;align-items:center;gap:8px;color:#d9e3cc}.pulse-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px #dce7c313}.card-date{font-size:10px;color:#c5d2c0}.next-prayer{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;margin-top:30px}.next-prayer h2{font-family:Manrope,Arial,sans-serif;font-size:40px;font-weight:550;letter-spacing:-1.6px;margin:0;line-height:1.1}.next-arabic{font-size:19px;color:#bccab5;margin-top:9px;display:block}.next-time{font-family:Manrope,Arial,sans-serif;font-size:39px;letter-spacing:-1.6px;font-weight:450;font-variant-numeric:tabular-nums}.countdown-area{position:relative;z-index:1;margin:26px 0 74px}.countdown-label{font-size:11px;color:#bccbb5}.countdown{display:flex;gap:10px;margin-top:10px;align-items:center;color:var(--gold);width:215px;font-family:Manrope,Arial,sans-serif;font-size:35px;letter-spacing:-1px;font-weight:500;font-variant-numeric:tabular-nums}.countdown span{min-width:50px}.countdown i{font-style:normal;font-size:25px;opacity:.45;margin-top:-3px}.countdown-units{display:flex;color:#b5c4ab;font-size:8px;letter-spacing:.5px;width:215px;gap:30px}.countdown-units span{min-width:49px}.hero-art{position:absolute;bottom:36px;right:-28px;width:350px;height:170px;opacity:.25;pointer-events:none;color:#c6d5ba}.hero-art svg{width:100%;height:100%;stroke-width:.85}.hero-footer{height:47px;border-top:1px solid #dbe7c220;display:flex;align-items:center;gap:6px;font-size:10px;position:absolute;bottom:0;left:30px;right:30px;color:#c5d1ba}.hero-footer svg{width:13px;height:13px}.hero-zone{margin-left:auto;font-size:9px;letter-spacing:.4px}.small-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.info-card{display:flex;align-items:center;gap:15px;padding:19px 21px;border-radius:12px;border:1px solid var(--line);background:var(--panel)}.info-card>svg{color:#98a77b;width:27px;height:27px}.info-card span{display:block;font-size:10px;color:var(--muted)}.info-card strong{font-family:Manrope,Arial,sans-serif;font-size:22px;font-weight:550;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.saved-note{display:flex;align-items:flex-start;gap:12px;margin:24px 5px}.check-circle{height:25px;width:25px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:#719055;flex-shrink:0;margin-top:1px}.check-circle svg{height:13px;width:13px}.saved-note strong{font-size:11px;font-weight:600}.saved-note p{font-size:10px;color:var(--muted);margin:4px 0 0}.prayers-card{border:1px solid var(--line);background:var(--panel);border-radius:18px;padding:25px 24px 0;box-shadow:var(--shadow)}.prayers-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.prayers-heading h2{font-family:Manrope,Arial,sans-serif;font-weight:650;letter-spacing:-.6px;font-size:22px;margin:4px 0 0}.prayers-heading>svg{color:#a5b28e;width:20px;height:20px}.prayers-heading .eyebrow{font-size:8px;letter-spacing:1.8px}.date-nav{display:flex;align-items:center;justify-content:space-between;background:var(--bg);border-radius:9px;height:39px;margin-bottom:14px}.date-nav .icon-button{width:28px;height:28px}.date-nav svg{width:13px;height:13px}.prev svg{transform:rotate(180deg)}.date-label{font-size:10px;font-weight:550}.prayer-row{display:flex;align-items:center;padding:15px 10px;gap:13px;border-bottom:1px solid var(--line);position:relative;min-height:65px}.prayer-row:last-child{border-bottom:0}.prayer-row>svg{width:22px;height:22px;color:#8b9b78}.prayer-row .prayer-meta{flex:1;min-width:0}.prayer-row .prayer-name{display:block;font-size:13px;font-weight:600}.prayer-row .prayer-sv{font-size:9px;color:var(--muted)}.prayer-time{font-family:Manrope,Arial,sans-serif;font-size:21px;letter-spacing:-.6px;font-weight:600;font-variant-numeric:tabular-nums}.prayer-row.is-next{background:var(--soft);border:1px solid #d4dfc4;border-radius:9px;margin:4px -4px;padding:13px}.prayer-row.is-next .prayer-time{color:var(--green)}.next-badge{background:#d6e2c6;border-radius:4px;font-size:7px;font-weight:600;padding:3px 5px;margin-left:6px;vertical-align:2px;letter-spacing:.6px}.prayer-row.sunrise{opacity:.7}.daily-footnote{border-top:1px solid var(--line);padding:16px 0;display:flex;justify-content:center;align-items:center;gap:6px;font-size:8px;color:var(--muted);margin-top:15px}.tiny-dot{width:4px;height:4px;background:#a6b58e;border-radius:50%}.return-today{display:block;text-align:center;width:100%;font-size:10px;color:var(--green);padding:10px}.source-note{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:19px 22px;gap:20px;margin-top:3px}.source-note>div{display:flex;align-items:flex-start;gap:13px}.source-symbol{border:1px solid #a3b18e;color:#899a71;font-family:serif;font-size:12px;font-style:italic;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;margin-top:3px}.source-note p{margin:0;font-size:10px}.source-note strong{display:block;font-size:11px;font-weight:600;margin-bottom:4px}.source-note p span{display:block;color:var(--muted);line-height:1.7}.source-note .text-button{white-space:nowrap;font-size:11px}.page-footer{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:var(--muted);padding:27px 0 0}.footer-separator{padding:0 8px;color:#bcc6b0}.page-footer .text-button{font-size:10px;color:var(--muted)}.month-panel{border:1px solid var(--line);background:var(--panel);border-radius:18px;padding:27px}.month-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.month-heading h2{font-family:Manrope,Arial,sans-serif;font-size:26px;font-weight:600;letter-spacing:-1px;margin:5px 0}.month-actions{display:flex;align-items:center;gap:12px}.month-hint{font-size:11px;color:var(--muted);margin-bottom:21px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:560px;font-variant-numeric:tabular-nums;text-align:right;font-size:12px}th{font-size:9px;font-weight:550;color:var(--muted);padding:13px 12px;border-bottom:1px solid var(--line);background:var(--bg)}th:first-child,td:first-child{text-align:left}td{padding:11px 12px;border-bottom:1px solid var(--line)}td:first-child button{font-weight:550;padding:0;color:inherit;text-align:left}tr.is-today td{background:var(--soft);color:var(--green);font-weight:650}tbody tr:hover td{background:var(--soft)}.month-panel+.source-note{margin-top:23px}#month-view{margin-bottom:24px}.mobile-nav{display:none}dialog{border:1px solid var(--line);background:var(--panel);color:var(--text);padding:29px;border-radius:20px;width:480px;max-width:calc(100% - 28px);max-height:calc(100dvh - 50px);box-shadow:0 30px 100px #14271e30}dialog::backdrop{background:#18332665;backdrop-filter:blur(4px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.dialog-header h2{font-family:Manrope,Arial,sans-serif;letter-spacing:-1px;font-size:25px;line-height:1.3;margin:7px 0 0;font-weight:650}.dialog-intro{color:var(--muted);font-size:12px;line-height:1.8;margin:18px 0}.search-box{border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:12px;padding:13px 14px;background:var(--bg)}.search-box svg{width:18px;height:18px;color:var(--muted)}.search-box input{border:0;background:none;color:var(--text);outline:none;width:100%;font-size:12px}.location-button{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--green);padding:13px 0}.location-button svg{width:16px;height:16px}.city-list{max-height:330px;overflow-y:auto;margin:6px -4px}.city-option{display:flex;align-items:center;justify-content:space-between;text-align:left;width:100%;padding:11px 13px;border-radius:9px}.city-option:hover,.city-option.selected{background:var(--soft)}.city-option strong{font-size:13px;font-weight:600}.city-option small{display:block;color:var(--muted);font-size:10px}.city-option svg{width:16px;height:16px;color:#6d8855}.city-empty{color:var(--muted);font-size:12px;padding:18px}.dialog-bottom{font-size:10px;color:var(--muted);margin:20px 0 0;line-height:1.8}.settings-notice{background:var(--soft);padding:15px 17px;border-radius:10px;margin:23px 0;color:var(--text)}.settings-notice strong{font-size:12px;font-weight:600}.settings-notice p{font-size:11px;color:var(--muted);line-height:1.7;margin:7px 0}.settings-notice a{font-size:10px;color:var(--green);text-underline-offset:3px}.field-label{display:block;font-size:12px;font-weight:600;margin:17px 0 8px}select{width:100%;border:1px solid var(--line);border-radius:9px;padding:12px;background:var(--bg);color:var(--text);font-size:11px}.field-help{font-size:10px;line-height:1.7;color:var(--muted);margin:10px 0}.adjustment-heading{display:flex;align-items:center;justify-content:space-between;margin-top:25px;gap:10px}.adjustment-heading h3{font-size:12px;font-weight:600;margin:0}.adjustment-heading .text-button{font-size:10px}.offset-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}.offset-grid label{font-size:10px;color:var(--muted)}.offset-grid input{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font-size:13px}.settings-actions{margin-top:25px}.primary-button{display:flex;align-items:center;justify-content:center;gap:20px;border-radius:10px;background:var(--green);color:#f2f5e8;font-size:12px;font-weight:550;padding:14px;width:100%}.primary-button svg{height:16px;width:16px}.install-step{border-top:1px solid var(--line);padding:19px 0}.install-step strong{font-size:12px}.install-step p{font-size:12px;color:var(--muted);line-height:1.8;margin:8px 0 0}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,12px);background:var(--green);color:#f4f7eb;padding:13px 20px;border-radius:10px;box-shadow:0 6px 30px #0002;z-index:100;font-size:12px;max-width:90%;text-align:center;opacity:0;visibility:hidden;transition:.2s}.toast.visible{opacity:1;visibility:visible;transform:translate(-50%,0)}.noscript{padding:25px;background:#fff4de;text-align:center}
body.dark{--bg:#17251e;--panel:#203128;--text:#e1e8d9;--muted:#9caa99;--line:#334439;--soft:#2f4230;--green:#325541;--side:#1c2c22;color-scheme:dark}body.dark .text-button,body.dark .view-tabs button.active,body.dark .city-option svg{color:#ccdcad}body.dark .nav-item.active{background:#344a30;color:#d8e5c5}body.dark .nav-item:hover{background:#293d2d}body.dark .next-badge{background:#516c3d;color:#e0ebcd}body.dark .prayer-row.is-next .prayer-time{color:#dbe7c4}body.dark .view-tabs button.active:after{background:#c4d4a4}
@media(min-width:1550px){main{margin-left:260px;width:calc(100% - 260px);padding-left:clamp(32px,3vw,72px);padding-right:clamp(32px,3vw,72px)}.sidebar{width:260px}.today-grid{grid-template-columns:minmax(0,1.5fr) minmax(340px,1fr)}}
@media(max-width:1200px){.sidebar{width:210px;padding:35px 20px}.brand{font-size:25px}main{margin-left:210px;width:calc(100% - 210px);padding:0 32px 25px}.today-grid{gap:18px;grid-template-columns:minmax(0,1.25fr) minmax(285px,1fr)}.next-card{padding:24px;min-height:385px}.hero-footer{left:24px;right:24px}.next-prayer h2{font-size:35px}.next-time{font-size:34px}.info-card{padding:17px 16px;gap:10px}.card-date{font-size:9px}.prayers-card{padding:24px 20px 0}.next-card .small-caps{font-size:8px;letter-spacing:1.4px}}
@media(max-width:980px){.sidebar{width:175px;padding:32px 14px}.brand{font-size:22px;gap:8px}.brand-symbol{width:32px;height:32px;border-radius:11px}.sidebar-label{font-size:6px;letter-spacing:1.5px}.nav-item{font-size:11px;gap:9px;padding:12px 9px}.sidebar-bottom{padding:10px 5px}.side-message{font-size:19px}main{margin-left:175px;width:calc(100% - 175px);padding:0 25px 25px}.topbar{height:85px}.today-grid{grid-template-columns:1fr}.left-column{display:contents}.next-card{grid-row:1;min-height:340px}.countdown-area{margin-bottom:70px}.prayers-card{grid-row:3}.small-cards{grid-row:2;margin-top:0}.saved-note{grid-row:4;margin:6px 5px 20px}.next-prayer h2{font-size:40px}.next-time{font-size:40px}.countdown-area{margin-top:25px}.hero-art{width:400px;height:185px;right:0}.prayer-row{padding:13px;min-height:61px}.prayers-heading{margin-bottom:12px}.daily-footnote{margin-top:8px}.source-note{margin-top:0}.source-note .text-button{font-size:10px}}
@media(max-width:700px){body{font-size:13px}.sidebar{display:none}main{margin:0;width:100%;padding:0 21px 115px}.topbar{height:67px;font-size:8px;letter-spacing:1.2px}.top-actions{gap:8px}.live-clock{font-size:11px}.mobile-settings{display:inline-flex}.page-heading{padding:28px 0 20px}.eyebrow{font-size:8px;letter-spacing:1.6px}h1{font-size:43px;letter-spacing:-2px;margin-top:7px}.page-heading p{font-size:11px}.city-switch{font-size:11px;padding:10px;gap:6px}.city-switch svg.small{margin-left:1px}.city-switch>svg{width:15px;height:15px}.view-tabs{gap:24px;margin-bottom:21px}.view-tabs button{font-size:12px;padding:11px 1px}.next-card{min-height:342px;border-radius:15px;padding:23px}.card-date{font-size:9px}.next-prayer{margin-top:27px}.next-prayer h2{font-size:40px}.next-time{font-size:37px}.countdown-area{margin-top:24px}.countdown{font-size:32px}.hero-art{width:300px;height:145px;right:-20px;bottom:45px;opacity:.23}.hero-footer{left:23px;right:23px}.info-card{padding:16px 17px;border-radius:11px}.info-card strong{font-size:22px}.info-card>svg{height:24px;width:24px}.today-grid{gap:16px}.small-cards{gap:12px}.saved-note strong{font-size:11px}.saved-note p{font-size:10px;line-height:1.6}.prayers-card{padding:22px 20px 0;border-radius:15px}.prayers-heading h2{font-size:22px}.prayer-row{min-height:66px;padding:14px 10px;gap:16px}.prayer-row .prayer-name{font-size:14px}.prayer-row .prayer-sv{font-size:10px}.prayer-time{font-size:23px}.next-badge{font-size:7px}.date-label{font-size:11px}.date-nav{height:42px}.source-note{padding:17px;align-items:flex-start;flex-direction:column;gap:9px}.source-note .text-button{margin-left:30px;font-size:10px;padding:0}.source-note p span{font-size:10px}.page-footer{font-size:8px;gap:10px;padding-top:22px}.page-footer .text-button{font-size:9px}.mobile-nav{display:flex;position:fixed;z-index:10;bottom:0;left:0;right:0;justify-content:space-around;background:var(--panel);border-top:1px solid var(--line);padding:11px 8px calc(10px + env(safe-area-inset-bottom))}.mobile-nav button{min-width:60px;display:flex;align-items:center;flex-direction:column;gap:5px;color:var(--muted);font-size:9px}.mobile-nav button.active{color:var(--text);font-weight:650}.mobile-nav button.active svg{color:#769353}.mobile-nav svg{height:20px;width:20px}.month-panel{padding:20px 16px;border-radius:15px}.month-heading{align-items:flex-start;flex-direction:column;gap:8px}.month-heading h2{font-size:24px}.month-actions{justify-content:space-between;width:100%}.month-hint{font-size:10px;margin-top:13px}.month-actions .text-button{font-size:10px}th{padding:12px 8px}td{padding:12px 8px}dialog{padding:23px;border-radius:17px;max-height:calc(100dvh - 35px)}.dialog-header h2{font-size:23px}.dialog-intro{font-size:11px}.city-list{max-height:42dvh}.toast{bottom:90px}.offset-grid{gap:10px}.settings-notice{margin-top:20px}.dialog-bottom{font-size:9px}}
.language-select{width:72px;padding:7px 6px;font-size:10px;letter-spacing:0;border-radius:7px;background:var(--panel);color:var(--text)}.page-heading>div{min-width:0}h1{overflow-wrap:anywhere}.city-switch{flex-shrink:0;margin-left:16px}.hero-zone{max-width:62%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#hero-city{max-width:36%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){.topbar>span{max-width:95px;line-height:1.6;font-size:7px;letter-spacing:.8px}.top-actions{gap:4px}.language-select{width:62px;font-size:9px}.top-actions .icon-button{width:30px;height:32px}}
.site-footer{margin-top:34px;padding-top:22px;border-top:1px solid var(--line);color:var(--muted);font-size:10px;line-height:1.8}.footer-details p{margin:0 0 3px}.footer-details strong{font-weight:550}.footer-details .text-button{color:var(--muted);font-size:10px;padding:4px 0;gap:8px}.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;padding-top:15px;border-top:1px solid var(--line)}.copyright{white-space:nowrap;letter-spacing:.15px}.footer-bottom .text-button{color:var(--muted);font-size:10px}.footer-divider{padding:0 3px}
@media(max-width:700px){.site-footer{margin-top:27px;padding-top:18px;font-size:9px}.footer-details .text-button{font-size:9px}.footer-bottom{margin-top:15px;padding-top:12px}.footer-bottom .text-button{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Flexible page width and touch-friendly layouts. */
.app-shell{min-height:100dvh}main{display:flex;flex-direction:column;min-height:100dvh}.sidebar{overflow-y:auto}.topbar{flex-shrink:0}.top-actions{flex-shrink:0}.today-grid>*,.small-cards>*,.info-card>div{min-width:0}.table-wrap{max-width:100%}.site-footer{margin-top:auto}.footer-details{padding-top:28px}.site-footer{border-top:0;padding-top:0}.footer-details{border-top:1px solid var(--line)}#today-view,#month-view{margin-bottom:28px}.date-label{text-align:center;min-width:0}.prayer-time{white-space:nowrap}.city-option>div{min-width:0;overflow-wrap:anywhere}.search-box input,.offset-grid input{min-width:0}.footer-bottom{flex-wrap:wrap}.next-prayer{gap:16px}
@media(min-width:1550px){.next-card{min-height:420px}.next-prayer h2,.next-time{font-size:clamp(40px,2.6vw,64px)}.countdown-area{margin-top:36px}.hero-art{width:45%;height:220px;right:0}.info-card{padding:24px}.prayers-card{padding-top:30px}.prayer-row{min-height:72px}}
@media(max-width:700px){main{padding:0 max(16px,env(safe-area-inset-right)) calc(100px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.topbar{gap:8px}.topbar>span{flex:1;min-width:0}.top-actions{gap:3px}.language-select{width:74px;min-height:44px;font-size:16px;padding:8px 4px}.top-actions .icon-button{width:36px;height:44px}.live-clock{font-size:11px}.city-switch{min-height:44px;margin-left:12px}.page-heading{align-items:flex-start;gap:4px}.page-heading h1{font-size:clamp(32px,9vw,43px)}.page-heading>div{flex:1}.view-tabs button{min-height:44px}.next-prayer h2{font-size:clamp(30px,9vw,40px)}.next-time{font-size:clamp(29px,8.5vw,37px)}.next-card{padding:22px 20px}.hero-footer{left:20px;right:20px}.small-caps{letter-spacing:1px}.card-date{white-space:nowrap}.info-card{padding:16px 12px;gap:10px}.info-card strong{font-size:21px}.prayers-card{padding:22px 16px 0}.date-nav{height:48px}.date-nav .icon-button{width:44px;height:44px}.prayer-row{gap:12px}.mobile-nav button{min-height:44px;flex:1;min-width:0}.mobile-nav{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}.search-box input,dialog select,.offset-grid input{font-size:16px}.location-button,.city-option,.text-button{min-height:44px}.city-list{overscroll-behavior:contain}.site-footer{margin-top:auto;font-size:11px}.footer-details .text-button,.footer-bottom .text-button{font-size:11px}.footer-details{padding-top:20px}.footer-bottom{gap:8px 16px}.toast{bottom:calc(95px + env(safe-area-inset-bottom))}.month-panel{padding:20px 12px}.month-actions{gap:4px}.month-actions .icon-button{width:44px;height:44px}.table-wrap{overscroll-behavior-x:contain}dialog{padding:20px;max-width:calc(100% - 24px)}.dialog-header{gap:8px}.dialog-header .icon-button{width:44px;height:44px;flex-shrink:0}}
@media(max-width:360px){.topbar>span{display:none}.top-actions{width:100%;justify-content:space-between}.small-cards{gap:10px}.info-card{padding:14px 10px;gap:8px}.info-card>svg{width:20px;height:20px}.info-card strong{font-size:20px}.next-card{padding-left:16px;padding-right:16px}.hero-footer{left:16px;right:16px}.card-top{gap:6px}.next-card .small-caps{font-size:7px}.prayer-row{padding-left:6px;padding-right:6px;gap:9px}.prayer-row.is-next{padding-left:10px;padding-right:10px}.next-badge{margin-left:3px;letter-spacing:0}}

.duaa-card{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:28px 32px;margin:0 0 32px;min-width:0}.duaa-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.duaa-heading h2{font-family:Manrope,Arial,sans-serif;font-weight:650;font-size:23px;letter-spacing:-.5px;margin:5px 0 0}.duaa-heading time{font-size:12px;color:var(--muted);text-align:right}.duaa-arabic{font-family:'Traditional Arabic','Noto Naskh Arabic','Geeza Pro',serif;font-size:clamp(28px,2.2vw,38px);line-height:2.1;text-align:right;margin:22px 0 16px;overflow-wrap:anywhere}.duaa-translation{font-size:15px;line-height:1.9;max-width:85ch;margin:0 0 20px}.duaa-bottom{display:flex;align-items:center;gap:12px 24px;justify-content:space-between;flex-wrap:wrap;font-size:11px;color:var(--muted)}.duaa-bottom a{font-weight:600;text-underline-offset:4px;display:inline-flex;align-items:center;min-height:44px}.duaa-note{font-size:11px;color:var(--muted);margin:8px 0 0;line-height:1.8}
@media(max-width:700px){.duaa-card{padding:22px 20px;border-radius:15px;margin-bottom:28px}.duaa-heading{align-items:flex-start}.duaa-heading h2{font-size:22px}.duaa-heading .eyebrow{font-size:7px;letter-spacing:1px}.duaa-heading time{font-size:11px;max-width:90px}.duaa-arabic{font-size:29px;line-height:2.1}.duaa-translation{font-size:14px}.duaa-bottom{gap:0 12px}}

.duaa-credit{font-size:10px;color:var(--muted);margin:12px 0 0}.duaa-credit a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:3px}.duaa-arabic{margin-bottom:20px}

.notification-panel{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:14px;border:1px solid var(--line);border-radius:12px;padding:16px 20px;background:var(--panel);margin-bottom:24px}.notification-panel strong{font-size:13px}.notification-panel p{margin:4px 0 0;font-size:11px;color:var(--muted);line-height:1.7}.notification-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.notification-actions .city-switch{margin-left:0;min-height:44px}.notification-actions .text-button{min-height:44px;white-space:nowrap}@media(max-width:980px){.notification-panel{align-items:flex-start;flex-direction:column;gap:10px}.notification-actions{flex-wrap:wrap;gap:8px 16px}.notification-panel{padding:16px}}

#settings-dialog>.notification-panel{margin:24px 0 0;flex-direction:column;align-items:flex-start;gap:12px;background:var(--bg);padding:16px}#settings-dialog .notification-actions{flex-wrap:wrap;gap:8px 16px}

/* Keep notification text and actions in separate rows inside the dialog. */
#settings-dialog .notification-panel{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;gap:14px;margin:24px 0 0;padding:16px;background:var(--bg)}#settings-dialog .notification-panel>div{min-width:0;width:100%}#settings-dialog .notification-panel p{font-size:12px;line-height:1.7;overflow-wrap:break-word}#settings-dialog .notification-actions{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:6px}#settings-dialog .notification-actions button{width:100%;min-width:0;max-width:100%;margin:0;justify-content:center;white-space:normal;text-align:center;min-height:44px}body.dark .settings-notice a{color:#ccdcad}
