:root{--bg:#f2f7f5;--surface:#fff;--ink:#10211e;--muted:#63736e;--brand:#073f36;--brand2:#0d6f5c;--accent:#12a080;--line:#d9e6e1;--soft:#eaf4f0;--gold:#b38a4b;--shadow:0 22px 60px rgba(7,63,54,.09)}
*{box-sizing:border-box}html{scrollbar-gutter:stable}body{margin:0;min-height:100vh;background:radial-gradient(circle at 10% 10%,rgba(18,160,128,.07),transparent 28%),var(--bg);color:var(--ink);font-family:Inter,"Segoe UI",Tahoma,Arial,sans-serif;line-height:1.55}button,input,select{font:inherit}.shell{width:min(1180px,calc(100% - 36px));margin-inline:auto}
.topbar{background:var(--brand);color:#fff;border-bottom:1px solid rgba(255,255,255,.1)}.nav{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:950;font-size:20px;text-decoration:none}.brand span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.1)}
.languages{display:flex;gap:8px}.languages button{border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.08);color:#fff;padding:7px 13px;cursor:pointer}.languages button.active{background:var(--accent);border-color:var(--accent)}
.hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(135deg,#073f36,#0a5749 62%,#0d6f5c);padding:62px 0 92px}.hero:after{content:"";position:absolute;width:420px;height:420px;border:70px solid rgba(255,255,255,.04);border-radius:50%;right:-180px;bottom:-250px}.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:48px;align-items:end}.eyebrow{margin:0 0 8px;color:var(--gold);font-size:12px;font-weight:950;letter-spacing:.14em}.hero h1{max-width:780px;margin:0;font-size:clamp(38px,5vw,66px);line-height:1.05;letter-spacing:-.035em}.hero p{max-width:720px;font-size:19px;color:rgba(255,255,255,.82)}.badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.badges span{padding:8px 12px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.07);font-size:13px;font-weight:750}.hero-stat{padding:25px;border:1px solid rgba(255,255,255,.16);border-radius:24px;background:rgba(255,255,255,.08);display:flex;flex-direction:column}.hero-stat strong{font-size:58px;line-height:1}.hero-stat span,.hero-stat small{color:rgba(255,255,255,.72)}
.page{margin-top:-48px;padding-bottom:52px;position:relative;z-index:2}.search-card,.directory-card,.count-card,.info-card,.prayer-panel,.profile-hero,.profile-card{border:1px solid var(--line);background:var(--surface);border-radius:22px;box-shadow:var(--shadow)}.search-card{padding:18px}.search-grid{display:grid;grid-template-columns:250px minmax(280px,1fr) 132px;gap:14px;align-items:end}.search-grid label{display:grid;gap:7px;font-weight:850}input,select{width:100%;min-height:54px;border:1px solid #cbdad4;border-radius:13px;background:#fff;color:var(--ink);padding:0 15px;outline:none}input:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 4px rgba(18,160,128,.12)}.search-btn,.primary-btn{min-height:54px;border:0;border-radius:13px;background:var(--brand);color:#fff;padding:0 20px;font-weight:900;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.search-btn:hover,.primary-btn:hover{background:var(--brand2)}
.layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;margin-top:18px;align-items:start}.sidebar{display:grid;gap:18px}.count-card{padding:24px;display:flex;gap:16px;align-items:center;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff}.count-card>span{width:62px;height:62px;display:grid;place-items:center;border-radius:18px;background:rgba(255,255,255,.11);font-size:26px}.count-card small,.count-card strong{display:block}.count-card strong{font-size:38px}.info-card,.directory-card,.prayer-panel,.profile-card{padding:24px}.info-card p:last-child{color:var(--muted)}
.section-head,.selected-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.section-head h2,.selected-head h2{margin:0;font-size:29px}.secondary-btn{border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--brand);padding:9px 13px;font-weight:850;cursor:pointer}.secondary-btn:hover{background:var(--soft)}
.mosque-list{display:grid;gap:10px;margin-top:16px}.mosque-item{width:100%;border:1px solid var(--line);border-radius:16px;background:#fff;padding:15px;display:flex;align-items:center;gap:14px;text-align:start;cursor:pointer}.mosque-item:hover{background:#f8fbfa}.mosque-item.active{border-color:var(--accent);box-shadow:0 0 0 3px rgba(18,160,128,.11)}.mosque-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:var(--soft)}.mosque-text{min-width:0;flex:1}.mosque-text strong,.mosque-text small{display:block}.mosque-text strong{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mosque-text small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.view-pill{border:1px solid var(--line);border-radius:999px;padding:7px 11px;color:var(--brand);font-size:12px;font-weight:900}
.empty{padding:32px 20px;border:1px dashed #bcd0c8;border-radius:17px;color:var(--muted);text-align:center}.prayer-panel{margin-top:18px}.selected-head p:last-child{color:var(--muted)}.selected-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.prayer-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:20px}.prayer-grid article{min-height:128px;padding:16px;border:1px solid var(--line);border-radius:17px;background:#fbfdfc;display:flex;flex-direction:column;justify-content:space-between}.prayer-grid article.next{border-color:var(--accent);background:#eaf8f3}.prayer-symbol{color:var(--accent);font-size:22px}.prayer-grid small{color:var(--muted);font-weight:800}.prayer-grid strong{font-size:28px;font-variant-numeric:tabular-nums;direction:ltr;text-align:start}.qr-note{margin-top:18px;padding:15px 17px;border:1px solid #cfe3dc;border-radius:15px;background:#edf8f4;color:var(--brand);display:flex;gap:12px}.qr-note p{margin:0}
footer{border-top:1px solid var(--line);background:#fff}.footer-row{min-height:76px;display:flex;justify-content:space-between;align-items:center;color:var(--muted)}.footer-row a{color:var(--brand);font-weight:850}.back-link{color:rgba(255,255,255,.82);text-decoration:none}.profile-page{padding:32px 0 58px}.profile-hero{padding:32px;display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(135deg,#fff,#f4fbf8)}.profile-hero h1{margin:0;font-size:clamp(34px,5vw,58px)}.profile-hero p{color:var(--muted)}.phone-pill{display:inline-flex;padding:8px 12px;border-radius:999px;background:var(--soft);color:var(--brand);font-size:13px;font-weight:900}.profile-card{margin-top:18px}
@media(max-width:980px){.hero-grid{grid-template-columns:1fr}.hero-stat{max-width:280px}.search-grid{grid-template-columns:1fr 1fr}.search-btn{grid-column:1/-1}.layout{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr 1fr}.prayer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.shell{width:min(100% - 24px,1180px)}.nav{padding:16px 0;align-items:flex-start;flex-direction:column}.hero{padding:42px 0 78px}.hero h1{font-size:42px}.search-grid,.sidebar{grid-template-columns:1fr}.section-head,.selected-head,.profile-hero{flex-direction:column}.prayer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.view-pill{display:none}.footer-row{align-items:flex-start;flex-direction:column;justify-content:center}}
@media(max-width:420px){.prayer-grid{grid-template-columns:1fr}}
