/* All sizing is scoped to these two requested widgets. */
html body .prayer-panel.az-prayer-wood{position:relative;isolation:isolate;box-sizing:border-box!important;width:100%!important;max-width:440px!important;aspect-ratio:1142/1377;height:auto!important;min-height:0!important;margin:0 auto 18px!important;padding:0!important;border:0!important;border-radius:15px!important;background:url('/prayer-wood-live.png') center/100% 100% no-repeat!important;box-shadow:0 3px 8px #34201244!important;overflow:hidden!important;container-type:inline-size}
html body .az-prayer-wood *{box-sizing:border-box!important}
html body .az-prayer-wood .reference-prayer-meta{position:absolute!important;inset:0!important;display:block!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important;pointer-events:none}
html body .az-prayer-wood #emirateSelect{position:absolute!important;top:2%!important;left:27%!important;width:46%!important;height:9%!important;min-height:0!important;padding:0 6px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#49331c!important;font-size:6cqw!important;font-weight:700!important;text-align:center!important;pointer-events:auto}
html body .az-prayer-wood #emirateSelect option{background:#f7e1ad;color:#352210}
html body .az-prayer-wood #prayerHeading{display:none!important}
html body .az-prayer-wood #prayerDate{position:absolute!important;top:14.4%!important;left:7%!important;width:86%!important;height:6%!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:2.5cqw!important;line-height:1.4!important;margin:0!important;color:#f1dfb7!important;text-align:center!important}
html body .az-prayer-wood .prayer-grid{position:absolute!important;top:22.5%!important;left:1.05%!important;width:97.9%!important;height:28.4%!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:0!important;padding:0!important;margin:0!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none;direction:ltr;touch-action:pan-x pan-y;min-width:0!important}
html body .az-prayer-wood .prayer-grid::-webkit-scrollbar{display:none}
html body .az-prayer-wood .prayer-time{position:relative!important;flex:0 0 calc(100% / 3)!important;width:calc(100% / 3)!important;min-width:0!important;height:100%!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:7%!important;scroll-snap-align:start;scroll-snap-stop:always;padding:8% 0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;direction:rtl;color:#392515!important;overflow:hidden!important}
html body .az-prayer-wood .prayer-circle-surface{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
html body .az-prayer-wood .prayer-name{font-size:4.2cqw!important;font-weight:bold!important;line-height:1.5!important;color:#392515!important;white-space:nowrap!important}
html body .az-prayer-wood .prayer-clock{font-size:5cqw!important;font-weight:800!important;line-height:1.4!important;color:#392515!important;white-space:nowrap!important}
html body .az-prayer-wood .prayer-time.next .prayer-name{text-decoration:underline;text-decoration-color:#a06e2e;text-underline-offset:5px}
html body .az-prayer-wood .prayer-error{color:#382714;background:#f3dfa9;padding:12px;width:100%;direction:rtl}
html body .az-prayer-wood .next-prayer{position:absolute!important;top:61.5%!important;left:10%!important;width:80%!important;height:20%!important;min-height:0!important;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:10%!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#ead09a!important}
html body .az-prayer-wood .next-label,html body .az-prayer-wood .next-arrow,html body .az-prayer-wood .next-prayer:before{display:none!important}
html body .az-prayer-wood .next-prayer strong{font-size:7cqw!important;line-height:1.4!important;color:#ebca8a!important;text-shadow:1px 2px 1px #301e13}
html body .az-prayer-wood .prayer-countdown{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:7px!important;direction:ltr!important;margin:0!important;font-size:6cqw!important}
html body .az-prayer-wood .prayer-countdown>span{display:flex;flex-direction:column;align-items:center;gap:2px}
html body .az-prayer-wood .prayer-countdown b{display:block;min-width:1.7em;padding:2px 5px;border:1px solid #cba56b;border-radius:4px;background:linear-gradient(#4b3527,#f5e1bb 25%,#d9bb88 70%,#4b3527);color:#302318;font-size:6cqw!important;line-height:1.2!important;text-shadow:0 1px #fff2d0}
html body .az-prayer-wood .prayer-countdown small{font-size:2.4cqw!important;color:#e3c995!important;line-height:1.2!important}
html body .az-prayer-wood .az-prayer-method{position:absolute!important;top:85%!important;left:4%!important;width:92%!important;height:10%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:25px!important;background:none!important;box-shadow:none!important;color:transparent!important;font-size:0!important;display:block!important}
html body .az-prayer-wood .az-prayer-method:focus-visible{outline:3px solid #fff4c5;outline-offset:-6px}
/* Existing calendar calculations and month navigation are retained. */
html body dialog.az-calendar-wood{position:fixed;box-sizing:border-box!important;width:min(94vw,440px)!important;max-width:440px!important;height:auto!important;max-height:94dvh!important;aspect-ratio:1153/1364;padding:0!important;overflow:auto!important;border:0!important;border-radius:19px!important;background:url('/calendar-wood-live.png') center/100% 100% no-repeat!important;color:#efd69f!important;container-type:inline-size}
html body .az-calendar-wood header{position:absolute!important;top:0;left:0;width:100%;height:12%;margin:0!important;padding:0!important;background:none!important;border:0!important}
html body .az-calendar-wood header h2{display:none!important}
html body .az-calendar-wood header button{position:absolute;top:5px;left:5px;width:27px;height:27px;border:1px solid #d5b570;border-radius:50%;background:#50301c;color:#ffecbd;font-size:0!important;padding:0!important;min-height:0!important}
html body .az-calendar-wood header button:after{content:'×';font-size:20px}
html body .az-calendar-wood .calendar-controls{position:absolute!important;top:14.3%;left:4%;width:92%;height:10.7%;display:flex!important;flex-direction:row!important;justify-content:space-between!important;margin:0!important;gap:0!important}
html body .az-calendar-wood .calendar-controls button{width:24%;height:100%;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important;color:#f2d69c!important;font-size:4.1cqw!important;box-shadow:none!important}
html body .az-calendar-wood .calendar-controls button:nth-child(2){position:absolute;top:229%;right:35%;height:1px;width:30%;opacity:0}
html body .az-calendar-wood .calendar-month{position:absolute;top:16%;left:29%;width:42%;margin:0!important;padding:0!important;font-size:4cqw!important;color:#f2d69c!important;text-align:center;line-height:1.5!important}
html body .az-calendar-wood .calendar-week{visibility:hidden;position:absolute}
html body .az-calendar-wood .calendar-days{position:absolute!important;top:35.3%;left:3.8%;width:92.4%;height:55%;display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;grid-template-rows:repeat(5,minmax(0,1fr))!important;gap:0!important;margin:0!important;padding:0!important;direction:rtl}
html body .az-calendar-wood .calendar-day{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:2px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;color:#f0d49a!important;box-shadow:none!important}
html body .az-calendar-wood .calendar-day strong{font-size:4.5cqw!important;line-height:1.2!important;z-index:1}
html body .az-calendar-wood .calendar-day small{font-size:1.8cqw!important;line-height:1.2!important;color:#dbc293!important;z-index:1}
html body .az-calendar-wood .calendar-day.today:before{content:'';position:absolute;width:75%;aspect-ratio:1;border:2px solid #eed695;border-radius:50%;background:radial-gradient(at 40% 25%,#cc5a21,#8d1f08 75%);box-shadow:0 2px 4px #210e08}
html body .az-calendar-wood>.muted{position:absolute!important;bottom:2.1%;left:6%;width:88%;margin:0!important;padding:0!important;font-size:0!important;color:transparent!important}
@media(prefers-reduced-motion:reduce){html body .az-prayer-wood .prayer-grid{scroll-behavior:auto}}
html body .az-prayer-wood .prayer-time{gap:1%!important;padding:8% 0!important}
html body .az-prayer-wood .prayer-symbol{width:6cqw;height:7cqw;mix-blend-mode:multiply;overflow:hidden}
html body .az-calendar-wood .calendar-controls button:nth-child(2){display:none!important}
html body .az-prayer-wood .prayer-symbol{clip-path:ellipse(47% 48% at 50% 50%)}
html body .az-calendar-wood>.muted{font-size:2.1cqw!important;color:#efd69f!important;background:#51341f!important;line-height:1.5!important;bottom:2.2%!important}

/* Keep the calendar fixed-size and the next-prayer highlight on its ring only. */
html body .az-calendar-wood .az-font-tools{display:none!important}
html body .az-prayer-wood .prayer-time.next{background:transparent!important;border:0!important;box-shadow:none!important;color:#392515!important}
html body .az-prayer-wood .prayer-time.next .prayer-name{text-decoration:none!important}
html body .az-prayer-wood .prayer-time.next::before,html body .az-prayer-wood .prayer-time.next::after{content:none!important}
html body .az-prayer-wood .prayer-next-ring{fill:none;stroke:#d82b22;stroke-width:7;opacity:0;pointer-events:none}
html body .az-prayer-wood .prayer-time.next .prayer-next-ring{opacity:1;animation:az-next-ring-glow 2.2s ease-in-out infinite;filter:drop-shadow(0 0 4px #e63928)}
@keyframes az-next-ring-glow{0%,100%{stroke:#b6221a;opacity:.55;filter:drop-shadow(0 0 1px #d82b22)}50%{stroke:#ff4938;opacity:1;filter:drop-shadow(0 0 5px #ff3828)}}
@media(prefers-reduced-motion:reduce){html body .az-prayer-wood .prayer-time.next .prayer-next-ring{animation:none;opacity:1}}
/* Live weekday names replace the abbreviated lettering baked into the image. */
html body .az-calendar-wood .calendar-week{visibility:visible!important;position:absolute!important;top:26.6%!important;left:3.9%!important;width:92.2%!important;height:8.5%!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:0!important;direction:rtl;align-items:center;background:linear-gradient(100deg,#dfbf74,#f8e5a6 45%,#e7c77e);border-radius:5cqw 5cqw 0 0;color:#493015!important;box-sizing:border-box;z-index:2}
html body .az-calendar-wood .calendar-week span{display:flex;align-items:center;justify-content:center;min-width:0;padding:0;font-family:'Noto Naskh Arabic',serif;font-size:3.1cqw!important;font-weight:700;line-height:1.8;white-space:nowrap;overflow:visible}

/* City guidance stays inside the existing widget bounds. */
html body .az-prayer-wood .city-select-hint{position:absolute;top:1%;left:27%;width:46%;height:3.5%;display:flex;align-items:center;justify-content:center;gap:5px;color:#49331c;font-size:2.8cqw;line-height:1;pointer-events:auto;cursor:pointer;font-weight:700}
html body .az-prayer-wood #emirateSelect{top:4%!important;height:7%!important;font-size:5cqw!important}
html body .az-prayer-wood .prayer-time.next .prayer-next-ring{opacity:1;stroke:#d82b22;stroke-width:9}
