/* APK-only standalone screen: the full document is the app canvas.
   A standard WordPress page intentionally keeps its normal theme gutters. */
html:has(body.ev-native-screen){margin:0!important;padding:0!important;max-width:100%;overflow-x:clip}
body.ev-native-screen{margin:0!important;padding:0!important;min-width:0!important;width:100%!important;max-width:100%!important;overflow-x:clip!important;background:#f4f8f8}
body.ev-native-screen,body.ev-native-screen *{box-sizing:border-box}
body.ev-native-screen>.ev-app,
body.ev-native-screen>.evsm,
body.ev-native-screen>.evsm-app-screen,
body.ev-native-screen>.evsm-account,
body.ev-native-screen>.evsp,
body.ev-native-screen>.evsm.evs-ref-directory{
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin-left:0!important;margin-right:0!important;margin-top:0!important;
    padding-left:0!important;padding-right:0!important;
    border-left:0!important;border-right:0!important;border-radius:0!important;
}
body.ev-native-screen>.ev-app{border:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important;min-height:100dvh}
body.ev-native-screen>.evsm{margin-bottom:0!important;min-height:100dvh}
body.ev-native-screen .ev-countdown{width:100%;max-width:100%;margin:0;border-radius:0}
body.ev-native-screen .ev-prayers,
body.ev-native-screen .ev-tools{width:100%;max-width:100%;margin-left:0;margin-right:0;grid-template-columns:repeat(3,minmax(0,1fr))}
body.ev-native-screen .ev-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
body.ev-native-screen .ev-prayers>*,body.ev-native-screen .ev-tools>*{min-width:0}
body.ev-native-screen .ev-panel{max-width:100%;margin-left:0;margin-right:0}
body.ev-native-screen img,body.ev-native-screen video,body.ev-native-screen iframe{max-width:100%}
/* Reserved only after a native ad has loaded: normal flow avoids overlap. */
body.ev-native-screen #apk-create-native-banner-slot{
    display:block;position:relative;width:100%;max-width:100%;
    box-sizing:border-box;overflow:hidden;min-width:0;margin:0;padding:0;
    background:transparent;pointer-events:none;contain:layout;
}
body.ev-native-screen .ev-prayers>#apk-create-native-banner-slot{grid-column:1/-1}
body.ev-native-screen .ev-settings-page{max-width:100%;width:100%}
@media(min-width:721px){
 body.ev-native-screen .ev-prayers{grid-template-columns:repeat(6,minmax(0,1fr))}
 body.ev-native-screen .ev-tools{grid-template-columns:repeat(4,minmax(0,1fr))}
}

body.ev-native-screen #apk-create-native-banner-slot:not([data-apk-ad-ready="1"]){height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}

/* v1.10.61: edge-to-edge app canvas; never expose WordPress theme gutters. */
html:has(body.ev-native-screen),body.ev-native-screen{
  margin:0!important;padding:0!important;width:100%!important;max-width:none!important;
  min-height:100%!important;background:#f4f8f8!important;overflow-x:clip!important;
}
body.ev-native-screen .ev-app,
body.ev-native-screen .evsm,
body.ev-native-screen .evsm-app-screen,
body.ev-native-screen .evsm-account,
body.ev-native-screen .evsp{
  margin:0!important;padding-left:0!important;padding-right:0!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  width:100%!important;max-width:none!important;min-width:0!important;
}
body.ev-native-screen .ev-app:not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4){padding-top:0!important;min-height:100dvh}
body.ev-native-screen .ev-app>.ev-countdown{margin:0!important;border-radius:0!important;width:100%!important;max-width:none!important}
body.ev-native-screen .ev-app>.ev-prayers,
body.ev-native-screen .ev-app>.ev-tools{width:100%!important;max-width:none!important;min-width:0!important}
body.ev-native-screen .ev-app>.ev-prayers>*{min-width:0}
body.ev-native-screen .ev-app>.ev-tools>*{min-width:0}
body.ev-native-screen .ev-app.ev-settings-open>.ev-panel{border-radius:0!important;margin:0!important}
body.ev-native-screen .ev-app>.ev-settings-page{width:100%!important;max-width:none!important;margin:0!important}


/* v1.10.62: Fix the personal settings view only. Older CSS reserved a
   112px fixed-savebar offset despite the bar being sticky/in-flow. This
   caused a large blank strip before the first tab on Android WebView.
   Layout and controls are scoped to the Ezan Vakti settings panel only. */
.ev-app.ev-settings-open > .ev-settings-page,
.ev-app.ev-settings-shortcode > .ev-settings-page,
.ev-app.ev-settings-open > [data-panel="settings"]{
  display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
  align-items:stretch!important;align-content:start!important;gap:0!important;
  position:relative!important;min-height:0!important;height:auto!important;
  margin:0!important;padding:0!important;width:100%!important;max-width:none!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:var(--ev-settings-bg,#f4f8f8)!important;
}
.ev-app.ev-settings-open .ev-settings-page > .ev-user-savebar{
  position:sticky!important;top:0!important;left:auto!important;right:auto!important;
  display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;justify-items:stretch!important;gap:8px 10px!important;
  flex:0 0 auto!important;width:100%!important;max-width:none!important;
  min-height:0!important;height:auto!important;margin:0!important;
  padding:12px max(12px,env(safe-area-inset-right)) 9px max(12px,env(safe-area-inset-left))!important;
  border-radius:0!important;z-index:30!important;
}
.ev-app.ev-settings-open .ev-user-savebar > .ev-user-back-button{grid-column:1;grid-row:1;min-width:0!important;white-space:nowrap;padding:10px 9px!important}
.ev-app.ev-settings-open .ev-user-savebar > strong{grid-column:2;grid-row:1;font-size:clamp(16px,4.3vw,21px)!important;min-width:0!important;white-space:nowrap;line-height:1.2!important}
.ev-app.ev-settings-open .ev-user-savebar > .ev-user-save-button{grid-column:3;grid-row:1;margin:0!important;padding:11px 13px!important;min-width:0!important;min-height:42px!important}
.ev-app.ev-settings-open .ev-user-savebar > .ev-user-save-info{grid-column:1/-1;grid-row:2;order:0!important;flex:initial!important;min-width:0!important;max-width:100%!important;font-size:12px!important;line-height:1.35!important;margin:0!important;padding:0 2px!important}
.ev-app.ev-settings-open .ev-settings-page > .ev-settings-tabs{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  flex:0 0 auto!important;position:relative!important;top:auto!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  margin:0!important;padding:9px 12px!important;border-radius:0!important;
  gap:6px!important;align-items:stretch!important;justify-content:stretch!important;
}
.ev-app.ev-settings-open .ev-settings-page > .ev-settings-tabs button{
  min-width:0!important;max-width:100%!important;min-height:43px!important;
  padding:8px 5px!important;font-size:clamp(12px,3.4vw,14px)!important;
  line-height:1.25!important;white-space:normal!important;overflow-wrap:break-word!important;
  text-align:center!important;
}
.ev-app.ev-settings-open .ev-settings-page > [data-panel="setup"],
.ev-app.ev-settings-open .ev-settings-page > .ev-settings-general{
  flex:0 0 auto!important;align-self:stretch!important;position:static!important;
  margin:0!important;max-width:none!important;min-height:0!important;height:auto!important;
  padding:12px max(12px,env(safe-area-inset-right)) 100px max(12px,env(safe-area-inset-left))!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
.ev-app.ev-settings-open .ev-settings-page > [data-panel="setup"][hidden],
.ev-app.ev-settings-open .ev-settings-page > .ev-settings-general[hidden]{display:none!important}
.ev-app.ev-settings-open .ev-settings-page > [data-panel="setup"] > h3{
  font-family:inherit!important;font-size:clamp(20px,5vw,25px)!important;
  font-weight:750!important;line-height:1.3!important;margin:0 0 10px!important;
  padding:0!important;
}
.ev-app.ev-settings-open .ev-settings-page > [data-panel="setup"] > p{
  font-size:clamp(14px,3.8vw,16px)!important;line-height:1.55!important;
  margin:0 0 14px!important;padding:0!important;
}
.ev-app.ev-settings-open .ev-settings-page .ev-permission{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  gap:3px 8px!important;align-items:center!important;
  margin:0!important;padding:13px 0!important;min-height:0!important;
}
.ev-app.ev-settings-open .ev-settings-page .ev-permission > span{grid-column:1;grid-row:1;min-width:0!important;max-width:100%;font-size:14px!important;line-height:1.4!important;overflow-wrap:anywhere}
.ev-app.ev-settings-open .ev-settings-page .ev-permission > small{grid-column:1;grid-row:2;font-size:12px!important;line-height:1.3!important}
.ev-app.ev-settings-open .ev-settings-page .ev-permission-actions{grid-column:2;grid-row:1/3;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;max-width:min(124px,35vw)!important}
.ev-app.ev-settings-open .ev-settings-page .ev-permission-actions button{width:100%!important;margin:0!important;min-width:0!important;padding:9px 7px!important;font-size:12px!important;line-height:1.3!important;white-space:normal!important}
.ev-app.ev-dark.ev-settings-open > .ev-settings-page{--ev-settings-bg:#141f22}
@media(max-width:360px){
 .ev-app.ev-settings-open .ev-settings-page > .ev-user-savebar{gap:6px!important;padding-inline:8px!important}
 .ev-app.ev-settings-open .ev-user-savebar > .ev-user-back-button{font-size:12px!important;padding:9px 6px!important}
 .ev-app.ev-settings-open .ev-user-savebar > .ev-user-save-button{font-size:13px!important;padding:9px 9px!important}
 .ev-app.ev-settings-open .ev-settings-page > [data-panel="setup"]{padding-inline:10px!important}
}

/* v1.10.63: native nested screen fallback */
body.ev-native-screen .ev-app:not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4){margin:0!important;padding:0 0 env(safe-area-inset-bottom,0px)!important;border:0!important;border-radius:0!important;width:100%!important;max-width:none!important}
body.ev-native-screen .ev-app:not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)>.ev-countdown{margin:0!important;border-radius:0!important;width:100%!important}


/* Ezan Vakti v1.10.64 / Ehliyethane Mobil v1.70
   Approved round-corner mockup, mobile home ONLY.  The page stays full-width;
   tiny optical insets belong to cards, not to the WordPress theme frame.
   No DOM, navigation, account, permission or advertisement behavior changes. */
@media screen and (max-width:1024px) {
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) {
    --ev-home-inset: clamp(6px,1.75vw,10px);
    width:100%!important;max-width:none!important;min-width:0!important;
    margin:0!important;
    padding:var(--ev-home-inset) var(--ev-home-inset) calc(96px + env(safe-area-inset-bottom,0px))!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;
    background:#f4f8f8!important;overflow-x:clip!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) > .ev-countdown {
    display:flex!important;flex-direction:column!important;justify-content:space-between!important;
    align-items:center!important;
    width:100%!important;max-width:none!important;min-width:0!important;
    min-height:clamp(265px,70vw,370px)!important;
    margin:0!important;padding:16px clamp(12px,4vw,26px) 22px!important;
    border:0!important;
    border-radius:clamp(25px,7.4vw,38px)!important;
    background-color:var(--ev-accent,#087d79)!important;
    box-shadow:none!important;overflow:hidden!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) .ev-countdown::after{
    right:-4%!important;top:5%!important;font-size:clamp(160px,56vw,245px)!important;
    opacity:.085!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) .ev-morning-notice:not([hidden]) {
    align-self:flex-start!important;flex:0 0 auto!important;
    padding:6px 12px!important;margin:0 0 10px!important;
    border-radius:999px!important;background:#ffffff1b!important;
    border:1px solid #ffffff55!important;font-size:clamp(11px,3vw,13px)!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) .ev-morning-notice strong {
    font-size:1.08em!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) .ev-countdown > .ev-date {
    margin:3px 0 7px!important;font-size:clamp(14px,3.9vw,18px)!important;
    line-height:1.35!important;opacity:1!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) .ev-countdown > .ev-hijri {
    margin:0 0 7px!important;font-size:clamp(12px,3.4vw,15px)!important;
    line-height:1.35!important;opacity:.87!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) .ev-countdown > .ev-next {
    margin:8px 0 3px!important;padding:0!important;
    color:#fff!important;font-family:Georgia, 'Times New Roman', serif!important;
    font-size:clamp(21px,5.5vw,30px)!important;font-weight:500!important;line-height:1.2!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) .ev-countdown > .ev-clock {
    margin:2px 0 8px!important;font-size:clamp(41px,11.6vw,69px)!important;
    line-height:1.13!important;letter-spacing:.01em!important;
    font-weight:300!important;white-space:nowrap!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) .ev-countdown > .ev-target {
    margin:8px 0 0!important;font-size:clamp(14px,3.8vw,19px)!important;
    line-height:1.4!important;opacity:.94!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) > .ev-permission-warning:not([hidden]) {
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    justify-content:center!important;gap:14px!important;
    margin:9px 0 0!important;padding:16px clamp(14px,5.5vw,24px)!important;
    min-height:0!important;width:100%!important;max-width:none!important;
    background:#fff1d7!important;color:#663d00!important;
    border:1px solid #dfb65c!important;border-radius:clamp(22px,6.5vw,32px)!important;
    animation:none!important;box-shadow:none!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) .ev-permission-warning-text {
    width:100%!important;min-width:0!important;
    font-size:clamp(14px,3.8vw,18px)!important;line-height:1.52!important;
    font-weight:700!important;animation:none!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) > .ev-permission-warning button {
    max-width:100%!important;min-height:44px!important;
    padding:10px 15px!important;margin:0!important;
    border-radius:17px!important;background:#fff!important;color:#1b5553!important;
    font-weight:700!important;white-space:normal!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) > .ev-prayers {
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;width:100%!important;max-width:none!important;min-width:0!important;
    margin:9px 0 0!important;padding:0!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) > .ev-prayers > .ev-prayer {
    display:flex!important;flex-direction:column!important;justify-content:center!important;
    align-items:center!important;min-width:0!important;min-height:90px!important;
    margin:0!important;padding:12px 3px!important;
    border-radius:clamp(17px,5.5vw,23px)!important;
    border:1px solid #deebea!important;background:#fff!important;
    box-shadow:none!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) > .ev-prayers > .ev-prayer.active {
    border-color:var(--ev-accent,#087d79)!important;background:#e1f3ed!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) .ev-prayer span {
    font-size:clamp(12px,3.25vw,16px)!important;line-height:1.35!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) .ev-prayer strong {
    margin-top:4px!important;font-size:clamp(20px,6vw,29px)!important;
    line-height:1.18!important;white-space:nowrap!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) > .ev-tools {
    width:100%!important;max-width:none!important;margin:12px 0!important;
    gap:8px!important;
  }
  /* Keep the selected menu structure, but ensure pill edges match the mockup.
     The middle highlighted item stays circular and interactive. */
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) #evs-mobile-menu.evs-mobile-nav {
    border-radius:999px!important;
    box-shadow:0 9px 28px #142d4e23!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) #evs-mobile-menu.evs-mobile-nav > :not(.evs-menu-accent):not(.evs-menu-panel) {
    border-radius:clamp(16px,5vw,24px)!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) #evs-mobile-menu.evs-mobile-nav > .evs-menu-accent {
    border-radius:50%!important;
  }
}
@media screen and (max-width:360px) {
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) > .ev-countdown {
    padding-inline:10px!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) > .ev-prayers {gap:6px!important;}
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) .ev-prayer strong{font-size:clamp(18px,6.1vw,23px)!important;}
}
@media screen and (max-width:420px) {
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) #evs-mobile-menu.evs-mobile-nav > :not(.evs-menu-accent):not(.evs-menu-panel) {
    font-size:clamp(10px,2.8vw,12px)!important;
    overflow-wrap:normal!important;
    white-space:nowrap!important;
  }
}


/* v1.10.65 / theme v1.71 – robust edge-to-edge mobile Ezan Vakti landing.
   The rounded cards remain oval; only the *outer WordPress wrappers* lose gutters.
   No changes to settings, profiles, sub-pages, ads or the native Android bars. */
@media screen and (max-width:1024px) {
  html:has(body .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)),
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)) {
    box-sizing:border-box!important; margin:0!important; padding:0!important;
    width:100%!important;max-width:100%!important;overflow-x:clip!important;
    background:#f4f8f8!important;
  }
  /* Reset the ancestry, including block themes and page builders. An ancestor
     matches only when it actually contains this home screen. */
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4))
    :is(div,section,main,article):has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4)):not(.ev-app) {
    box-sizing:border-box!important; min-width:0!important; width:100%!important;
    max-width:none!important;margin:0!important;padding:0!important;
    border:0!important;box-shadow:none!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4))
    .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) {
    box-sizing:border-box!important;
    --ev-home-inset:6px!important;
    width:100vw!important; max-width:100vw!important;
    min-width:0!important; margin:0 calc(50% - 50vw)!important;
    padding:6px 6px calc(96px + env(safe-area-inset-bottom,0px))!important;
    border:0!important;border-radius:0!important;
    box-shadow:none!important;background:#f4f8f8!important;
  }
  /* Keep the user-approved rounded cards, even after older fullbleed resets. */
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4))
    .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) > .ev-countdown {
    width:100%!important;max-width:100%!important;margin:0!important;
    border-radius:clamp(25px,7.4vw,38px)!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4))
    .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) > .ev-permission-warning:not([hidden]) {
    width:100%!important;max-width:100%!important;margin:9px 0 0!important;
    border-radius:clamp(22px,6.5vw,32px)!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4))
    .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) > .ev-prayers {
    width:100%!important;max-width:100%!important;margin:9px 0 0!important;
  }
  body:has(.ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4))
    .ev-app:not(.ev-settings-open):not(.ev-settings-shortcode):not(.ev-design-2):not(.ev-design-3):not(.ev-design-4) > .ev-prayers > .ev-prayer {
    border-radius:clamp(17px,5.5vw,23px)!important;
  }
}

/* Ezan Vakti 2 owns its own full-width sunset layout and must not inherit
   the classic teal card / three-column prayer grid reset. */
body.ev-native-screen:has(.ev-app.ev-design-2:not(.ev-settings-open)){background:#070911!important}


/* v1.11.21 — Ezan Vakti 1, reference six-column navy prayer strip. */
.ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers,
body:has(.ev-app[data-ev-template="1"]) .ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers {
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  align-items:stretch!important;
  justify-items:stretch!important;
  gap:0!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:12px 0 0!important;
  padding:clamp(13px,2.4vw,25px) clamp(3px,1.2vw,16px)!important;
  border:1px solid rgba(242,231,212,.22)!important;
  border-radius:clamp(26px,6vw,52px)!important;
  background:#07172c!important;background-image:linear-gradient(120deg,#11223a,#061427 72%)!important;
  box-shadow:0 12px 24px rgba(2,14,31,.22),inset 0 1px 0 rgba(255,255,255,.08)!important;
  color:#fff!important;
  overflow:hidden!important;
}
.ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer,
.ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer.active,
body:has(.ev-app[data-ev-template="1"]) .ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer,
.ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer.active,
body:has(.ev-app[data-ev-template="1"]) .ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer.active {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  gap:clamp(5px,.8vw,13px)!important;
  min-width:0!important;width:100%!important;max-width:100%!important;
  min-height:clamp(82px,13vw,158px)!important;height:auto!important;
  padding:clamp(5px,1vw,13px) 1px!important;
  margin:0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  box-shadow:none!important;
  overflow:hidden!important;
  text-align:center!important;
  color:#fff!important;
}
body:has(.ev-app[data-ev-template="1"]) .ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer.active {
  box-shadow:inset 0 -2px 0 rgba(241,202,126,.7)!important;
}
.ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer .ev1-prayer-icon,
body:has(.ev-app[data-ev-template="1"]) .ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer .ev1-prayer-icon {
  display:flex!important;flex:0 0 auto!important;
  width:clamp(21px,4vw,44px)!important;height:clamp(21px,4vw,44px)!important;
  align-items:center!important;justify-content:center!important;
  margin:0!important;padding:0!important;
  color:#edc776!important;-webkit-text-fill-color:#edc776!important;
}
.ev-app[data-ev-template="1"] .ev1-prayer-icon svg,
body:has(.ev-app[data-ev-template="1"]) .ev-app[data-ev-template="1"] .ev1-prayer-icon svg {
  display:block!important;width:100%!important;height:100%!important;
  fill:none;stroke:currentColor;overflow:visible;
}
.ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer > span:not(.ev1-prayer-icon),
body:has(.ev-app[data-ev-template="1"]) .ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer > span:not(.ev1-prayer-icon) {
  display:block!important;width:100%!important;min-width:0!important;
  font-size:clamp(9px,2.7vw,19px)!important;line-height:1.13!important;
  font-weight:650!important;letter-spacing:-.025em!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;
  text-align:center!important;margin:0!important;
}
.ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer > strong,
body:has(.ev-app[data-ev-template="1"]) .ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer > strong {
  display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
  font-size:clamp(12px,3.55vw,31px)!important;line-height:1.18!important;
  font-weight:790!important;font-variant-numeric:tabular-nums!important;
  letter-spacing:-.05em!important;white-space:nowrap!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  text-align:center!important;margin:0!important;
}
@media(max-width:350px){
 .ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer > strong,
body:has(.ev-app[data-ev-template="1"]) .ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer > strong {font-size:11.5px!important;letter-spacing:-.07em!important;}
 .ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer > span:not(.ev1-prayer-icon),
body:has(.ev-app[data-ev-template="1"]) .ev-app[data-ev-template="1"]:not(.ev-settings-open):not(.ev-settings-shortcode) > .ev-prayers > .ev-prayer > span:not(.ev1-prayer-icon) {font-size:9px!important;}
}

/* 1.11.42: Android WebView stability; keep existing translucent colors/layout.
   Avoid expensive per-second backdrop re-composition on live prayer cards. */
body.ev-native-screen .ev-app.ev-design-2 .ev-prayer,
body.ev-native-screen .ev-app.ev-design-3 .ev-prayer,
body.ev-native-screen .ev-app.ev-daylight-4 .ev-prayer {
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
