/* Ezan Vakti 3 1.10.83: independent glass UI. Does not apply to design 2. */
body:has(.ev-app.ev-design-3):not(.wp-admin){margin:0!important;background:#041b31!important}
body:has(.ev-app.ev-design-3):not(.wp-admin) :is(.entry-header,.page-header,.post-title,.site-header,.site-footer){display:none!important}
body:has(.ev-app.ev-design-3):not(.wp-admin) :is(.entry-content,.post-content,.site-content,.site-main,.main,.content-area,.content-wrapper){max-width:none!important;width:100%!important;padding:0!important;margin:0!important;min-width:0!important}
html body .ev-app.ev-design-3:not(.ev-settings-open){
 isolation:isolate!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
 position:relative!important;width:100dvw!important;max-width:none!important;min-height:100svh!important;
 padding:calc(12px + env(safe-area-inset-top)) clamp(10px,3.2vw,22px) calc(68px + env(safe-area-inset-bottom))!important;
 margin:0 calc(50% - 50dvw)!important;overflow:hidden!important;border:0!important;border-radius:0!important;
 background:#041b31!important;color:white!important;font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open) *,
html body .ev-app.ev-design-3:not(.ev-settings-open) *::before,
html body .ev-app.ev-design-3:not(.ev-settings-open) *::after{box-sizing:border-box!important}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev2-scene{
 display:block!important;position:absolute!important;inset:0!important;z-index:-1!important;pointer-events:none!important;
 background:#063150 url('./ev3-istanbul.webp') center center/cover no-repeat!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev2-scene::before{
 content:''!important;position:absolute!important;inset:0!important;
 background:linear-gradient(180deg,rgba(0,22,46,.45),rgba(0,21,42,.08) 38%,rgba(0,24,41,.06) 62%,rgba(0,20,37,.70) 100%)!important;
}
/* Keep APK Create's existing banner: never reserve height for a disabled ad. */
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev2-banner-host{order:0!important;display:none!important;padding:0!important;margin:0!important;min-height:0!important}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev2-banner-host.ev2-has-banner{display:block!important;width:100%!important;margin:0 0 8px!important}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev2-banner-host #apk-create-native-banner-slot:not([data-apk-ad-ready="1"]){display:none!important}
/* Header: morning time is a plain text line where "Ezan Vakti 3" was. */
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev2-topbar{
 order:1!important;z-index:2!important;position:relative!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;
 width:100%!important;gap:5px!important;min-height:0!important;margin:0!important;padding:7px 2px 0!important;
 border:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;
}
html body .ev-app.ev-design-3 .ev2-location-icon{color:#ffd175!important;font-size:17px!important}
html body .ev-app.ev-design-3 .ev2-place-name{color:white!important;font-size:clamp(21px,6vw,30px)!important;font-weight:800!important;line-height:1.15!important;text-shadow:0 2px 8px #0018!important}
html body .ev-app.ev-design-3 .ev2-header-actions{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:clamp(4px,1.4vw,11px)!important}
html body .ev-app.ev-design-3 .ev2-header-icon{
 display:grid!important;place-items:center!important;flex:0 0 auto!important;width:clamp(38px,11vw,51px)!important;height:clamp(38px,11vw,51px)!important;
 padding:9px!important;border-radius:50%!important;border:1px solid rgba(237,247,255,.54)!important;background:rgba(5,28,49,.26)!important;
 color:#fff!important;box-shadow:none!important;text-decoration:none!important;
}
html body .ev-app.ev-design-3 .ev2-header-icon svg{width:100%!important;height:100%!important;stroke:currentColor!important;fill:none!important;stroke-width:1.9!important}
html body .ev-app.ev-design-3 .ev2-topbar .ev-morning-notice:not([hidden]){
 display:block!important;position:static!important;margin:9px 0 0 25px!important;padding:0!important;width:auto!important;max-width:100%!important;
 color:#e3eef6!important;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;
 font-size:clamp(12px,3.3vw,15px)!important;line-height:1.4!important;white-space:nowrap!important;text-align:left!important;
}
html body .ev-app.ev-design-3 .ev2-topbar .ev-morning-notice strong{color:#ffd17a!important;font-size:inherit!important;font-weight:800!important;margin:0 0 0 3px!important}
html body .ev-app.ev-design-3 .ev-morning-notice[hidden]{display:none!important}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev3-date-area{
 order:2!important;position:relative!important;z-index:2!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 gap:0!important;margin:10px 0 0!important;padding:0 0 0 27px!important;min-height:51px!important;background:none!important;color:#fff!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev3-date-area .ev-date{
 margin:0!important;padding:0!important;font-size:clamp(12px,3.5vw,16px)!important;font-weight:450!important;line-height:1.55!important;color:#e1ecf7!important;text-align:left!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev3-date-area .ev-hijri{
 margin:0!important;padding:0!important;font-size:clamp(11px,3.2vw,15px)!important;font-weight:400!important;line-height:1.45!important;color:#d5e3ef!important;text-align:left!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open)>:is(.ev-head,.ev-source,.ev-offline-info,.ev-assistant){display:none!important}
/* Single translucent countdown card: no upper moon/star. */
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-countdown{
 order:3!important;z-index:1!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;
 flex:0 0 auto!important;position:relative!important;width:100%!important;min-width:0!important;min-height:0!important;height:clamp(170px,24svh,213px)!important;
 margin:12px 0 0!important;padding:15px 11px!important;overflow:visible!important;
 border:1px solid rgba(232,242,255,.36)!important;border-radius:22px!important;
 background:rgba(4,29,54,.30)!important;box-shadow:inset 0 1px 0 #ffffff1a!important;
 color:#fff!important;text-align:center!important;backdrop-filter:blur(2px)!important;-webkit-backdrop-filter:blur(2px)!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-countdown::after,
html body .ev-app.ev-design-3:not(.ev-settings-open) .ev-next::before{display:none!important;content:none!important}
html body .ev-app.ev-design-3:not(.ev-settings-open) .ev-next{
 order:1!important;position:static!important;display:block!important;width:100%!important;min-width:0!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;
 color:#fff!important;font-size:clamp(18px,5vw,25px)!important;font-weight:500!important;line-height:1.3!important;text-align:center!important;
 text-shadow:0 2px 9px #0018!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open) .ev-clock{
 order:2!important;display:block!important;position:static!important;white-space:nowrap!important;min-width:0!important;width:100%!important;
 margin:6px 0!important;padding:0!important;border:0!important;background:none!important;
 color:#ffd17a!important;-webkit-text-fill-color:#ffd17a!important;font-size:clamp(40px,10.9vw,75px)!important;
 font-weight:430!important;line-height:1.2!important;letter-spacing:-.04em!important;font-variant-numeric:tabular-nums!important;text-align:center!important;
 text-shadow:0 2px 9px #001a2c55!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open) .ev-target{
 order:3!important;position:static!important;display:block!important;width:100%!important;
 margin:2px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;
 color:#fff!important;font-size:clamp(11px,3.4vw,16px)!important;line-height:1.45!important;text-align:center!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open) .ev-kerahat-countdown[hidden]{display:none!important}
html body .ev-app.ev-design-3:not(.ev-settings-open) .ev-kerahat-countdown:not([hidden]){
 display:block!important;order:4!important;align-self:center!important;width:auto!important;max-width:100%!important;
 margin:8px 0 0!important;padding:8px 0 0!important;border:0!important;border-top:1px solid #ffffff44!important;border-radius:0!important;
 box-shadow:none!important;background:transparent!important;color:#ffd17a!important;font-size:clamp(11px,3.1vw,14px)!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open) .ev-kerahat-title{font-size:inherit!important;color:#ffd17a!important;font-weight:700!important}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-permission-warning[hidden]{display:none!important}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-permission-warning:not([hidden]){order:4!important;z-index:3!important}
/* Six small, transparent, well-contrasted time tiles (not white cards). */
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-prayers{
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;order:5!important;flex:0 0 auto!important;z-index:2!important;
 align-items:stretch!important;gap:clamp(2px,.9vw,7px)!important;width:100%!important;min-height:0!important;max-height:none!important;
 margin:auto 0 10px!important;padding:0!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;background:transparent!important;background-color:transparent!important;color:#fff!important;backdrop-filter:none!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-prayers>.ev-prayer{
 display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:7px!important;
 min-width:0!important;min-height:67px!important;height:clamp(68px,19vw,94px)!important;max-height:95px!important;
 margin:0!important;padding:9px 1px!important;overflow:hidden!important;
 border:1px solid rgba(232,243,255,.37)!important;border-radius:clamp(12px,3.5vw,20px)!important;
 background:rgba(4,27,47,.35)!important;box-shadow:inset 0 1px #ffffff16!important;backdrop-filter:blur(3px)!important;
 color:#fff!important;text-align:center!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-prayers>.ev-prayer::before{display:none!important;content:none!important}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-prayers>.ev-prayer.active{
 border:1px solid #ffcc79!important;background:rgba(100,72,39,.32)!important;box-shadow:inset 0 0 0 1px #ffcc7970!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-prayers>.ev-prayer>span{
 display:block!important;width:100%!important;min-width:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 font-size:clamp(9px,2.65vw,13px)!important;font-weight:500!important;line-height:1.15!important;white-space:nowrap!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-prayers>.ev-prayer>strong{
 display:block!important;max-width:100%!important;color:white!important;-webkit-text-fill-color:#fff!important;
 font-size:clamp(10px,3.4vw,16px)!important;font-weight:780!important;line-height:1.2!important;
 font-variant-numeric:tabular-nums!important;letter-spacing:-.025em!important;white-space:nowrap!important;
}
/* Four uncolored round transparent controls; labels beneath each circle. */
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-tools.ev2-tools{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;order:6!important;z-index:2!important;
 flex:0 0 auto!important;gap:clamp(4px,2vw,16px)!important;align-items:start!important;width:100%!important;
 margin:8px 0 0!important;padding:0!important;background:transparent!important;border:0!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-tools.ev2-tools>button,
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-tools.ev2-tools>button:is(.ev2-tool-qibla,.ev2-tool-alarm,.ev2-tool-prayers,.ev2-tool-calendar){
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
 gap:7px!important;min-width:0!important;width:100%!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 background:transparent!important;background-color:transparent!important;background-image:none!important;
 color:#fff!important;text-align:center!important;font:inherit!important;cursor:pointer!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-tools.ev2-tools .ev2-tool-icon{
 display:grid!important;place-items:center!important;width:clamp(58px,19vw,90px)!important;height:clamp(58px,19vw,90px)!important;
 padding:clamp(13px,4vw,23px)!important;border:1.5px solid rgba(255,255,255,.64)!important;border-radius:50%!important;
 background:rgba(2,26,47,.28)!important;color:#fff!important;box-shadow:none!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-tools.ev2-tools svg{
 display:block!important;width:100%!important;height:100%!important;fill:none!important;stroke:#fff!important;stroke-width:1.9!important;
 stroke-linecap:round!important;stroke-linejoin:round!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-tools.ev2-tools .ev2-tool-name{
 display:block!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 font-size:clamp(11px,3vw,15px)!important;font-weight:550!important;line-height:1.2!important;white-space:nowrap!important;
 text-shadow:0 2px 7px #001c2bdd!important;
}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-tools.ev2-tools button:focus-visible{outline:2px solid #ffda95!important;outline-offset:4px!important;border-radius:12px!important}
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev2-feature-strip{display:none!important}
@media(max-width:360px){
 html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev2-topbar{padding-left:0!important;padding-right:0!important}
 html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-prayers>.ev-prayer{padding:7px 0!important}
 html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-prayers>.ev-prayer>span{font-size:9px!important}
 html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-prayers>.ev-prayer>strong{font-size:11px!important}
}
@media(max-height:720px){
 html body .ev-app.ev-design-3:not(.ev-settings-open){padding-bottom:calc(42px + env(safe-area-inset-bottom))!important}
 html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-countdown{min-height:0!important;height:164px!important;margin-top:7px!important;padding:8px!important}
 html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-prayers{margin-top:auto!important;margin-bottom:6px!important}
 html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-prayers>.ev-prayer{height:63px!important;min-height:63px!important}
 html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-tools.ev2-tools .ev2-tool-icon{width:58px!important;height:58px!important}
}

/* Native / AJAX visibility and settings transitions. */
html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-countdown[hidden],html body .ev-app.ev-design-3:not(.ev-settings-open)>.ev-prayers[hidden]{display:none!important}
html body .ev-app.ev-design-3.ev-settings-open>.ev3-date-area{display:none!important}

/* v1.11.50 — Ezan Vakti 3: keep the approved screen unchanged.
   Allow normal document scrolling when APK Create fills the existing
   below-buttons ad anchor; no placeholder and no additional controls.
   Exclude daylight design 4, which shares the design-3 HTML engine. */
html body .ev-app.ev-design-3:not(.ev-daylight-4):not(.ev-settings-open) {
  overflow:visible!important;
  height:auto!important;
  max-height:none!important;
}
html body .ev-app.ev-design-3:not(.ev-daylight-4):not(.ev-settings-open) > .ev-apk-ad-anchor[data-ev-ad-anchor="buttons_below"] {
  order:7!important;
  flex:0 0 auto!important;
}
