/* Axis theme: tokens, base, header, footer, shared components, prayer day line. Self-contained: no other theme's CSS is loaded. */
/* Google's own neutrals (read from google.com): white page, #DADCE0 lines, #F8F9FA buttons, colour used sparingly.
   Dark values follow Google's dark theme (#202124 page, #303134 boxes, #E8EAED text). */
:root{
  color-scheme:light dark;
  --bg:#FFFFFF; --surface:#F8F9FA; --surface-2:#F1F3F4; --line:#DADCE0;
  --text:#1F1F1F; --muted:#4D5156; --btn:#F8F9FA; --btn-text:#3C4043;
  --primary:#00695C; --primary-hover:#00564B; --primary-soft:#E6F2F0; --on-soft:#0B4F45; --on-primary:#FFFFFF; --focus:#0B57D0;
  --shadow:0 3px 10px rgba(31,31,31,.08); --header:#F0F4F9; --header-line:#DDE3EA;
  --blue:#1967D2; --blue-soft:#E8F0FE; --green:#137333; --green-soft:#E6F4EA;
  --amber:#B06000; --amber-soft:#FEF7E0; --red:#C5221F; --red-soft:#FCE8E6;
  /* the sky through the day, in Google's softer palette tones */
  --sky-fajr:#7986CB; --sky-sunrise:#F9AB00; --sky-dhuhr:#4285F4; --sky-asr:#12B5CB; --sky-maghrib:#FA903E; --sky-isha:#5C6BC0;
  /* text-safe versions of the sky colours (AA on the page and on the soft next-prayer tint); --sky-ink is how much of a sky colour a text mix keeps */
  --sky-fajr-text:#3F51B5; --sky-sunrise-text:#B06000; --sky-dhuhr-text:#1967D2; --sky-asr-text:#00796B; --sky-maghrib-text:#B3470F; --sky-isha-text:#3949AB; --sky-ink:50%;
  --menu:#FFFFFF;
  --font:"Noto Sans Arabic","Roboto",system-ui,sans-serif;
}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){
  --bg:#202124; --surface:#303134; --surface-2:#3C4043; --line:#5F6368;
  --text:#F1F3F4; --muted:#C4C7C5; --btn:#303134; --btn-text:#F1F3F4;
  --primary:#80CBC4; --primary-hover:#A7DBD5; --primary-soft:#2B3A38; --on-soft:#CDEDE7; --on-primary:#0B2B27; --focus:#8AB4F8;
  --shadow:0 1px 6px rgba(0,0,0,.28); --header:#2A2B2F; --header-line:#3C4043;
  --blue:#8AB4F8; --blue-soft:#283142; --green:#81C995; --green-soft:#263A2D; --amber:#FDD663; --amber-soft:#3B3524; --red:#F28B82; --red-soft:#3F2A28;
  --sky-fajr:#A0A8E8; --sky-sunrise:#FDD663; --sky-dhuhr:#8AB4F8; --sky-asr:#78D9EC; --sky-maghrib:#FCAD70; --sky-isha:#9FA8DA;
  --sky-fajr-text:#B8BEEC; --sky-sunrise-text:#F9DF8E; --sky-dhuhr-text:#A9C7F7; --sky-asr-text:#9CE1EE; --sky-maghrib-text:#F9C298; --sky-isha-text:#B8BEE2; --sky-ink:70%; --menu:#303134;
}}
:root[data-theme=dark]{color-scheme:dark;
  --bg:#202124; --surface:#303134; --surface-2:#3C4043; --line:#5F6368;
  --text:#F1F3F4; --muted:#C4C7C5; --btn:#303134; --btn-text:#F1F3F4;
  --primary:#80CBC4; --primary-hover:#A7DBD5; --primary-soft:#2B3A38; --on-soft:#CDEDE7; --on-primary:#0B2B27; --focus:#8AB4F8;
  --shadow:0 1px 6px rgba(0,0,0,.28); --header:#2A2B2F; --header-line:#3C4043;
  --blue:#8AB4F8; --blue-soft:#283142; --green:#81C995; --green-soft:#263A2D; --amber:#FDD663; --amber-soft:#3B3524; --red:#F28B82; --red-soft:#3F2A28;
  --sky-fajr:#A0A8E8; --sky-sunrise:#FDD663; --sky-dhuhr:#8AB4F8; --sky-asr:#78D9EC; --sky-maghrib:#FCAD70; --sky-isha:#9FA8DA;
  --sky-fajr-text:#B8BEEC; --sky-sunrise-text:#F9DF8E; --sky-dhuhr-text:#A9C7F7; --sky-asr-text:#9CE1EE; --sky-maghrib-text:#F9C298; --sky-isha-text:#B8BEE2; --sky-ink:70%; --menu:#303134;
}
:root[data-theme=light]{color-scheme:light}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) body{-webkit-font-smoothing:auto}:root:not([data-theme=light]) .nav a,:root:not([data-theme=light]) .dd-btn,:root:not([data-theme=light]) .chip,:root:not([data-theme=light]) .tool span,:root:not([data-theme=light]) .crow small{font-weight:500}}
:root[data-theme=dark] body{-webkit-font-smoothing:auto}
:root[data-theme=dark] .nav a,:root[data-theme=dark] .dd-btn,:root[data-theme=dark] .chip,:root[data-theme=dark] .tool span,:root[data-theme=dark] .crow small{font-weight:500}

.theme .sun{display:none}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .theme .sun{display:block}:root:not([data-theme=light]) .theme .moon{display:none}}
:root[data-theme=dark] .theme .sun{display:block}:root[data-theme=dark] .theme .moon{display:none}


*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;background:var(--bg);color:var(--text);font:450 16px/1.7 var(--font);text-rendering:optimizeLegibility;-webkit-font-smoothing:auto}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:8px}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px}

/* top bar */
.bar{display:flex;align-items:center;gap:8px;height:64px}
.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700;color:var(--text);letter-spacing:0;min-width:0;overflow:hidden}
.brand img{flex:0 0 36px;width:36px;height:36px;border-radius:50%;object-fit:cover}
.brand span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:480px){.bar>.brand span{display:none}}   /* phones: logo only, so the name never shows squeezed next to the sign-in button */
.nav{display:flex;gap:2px;margin-inline-start:16px}
.nav a{padding:8px 14px;border-radius:999px;color:var(--muted);font-weight:500;font-size:14px}
.nav a{transition:background-color .15s,color .15s}
.nav a:hover{background:color-mix(in srgb,var(--text) 8%,transparent);color:var(--text)}
.bar-end{margin-inline-start:auto;display:flex;align-items:center;gap:8px}
.lang{display:flex;border:1px solid var(--line);border-radius:999px;overflow:hidden}
.lang a{padding:6px 12px;font-size:13px;color:var(--muted)}
.lang a[aria-current]{background:var(--surface-2);color:var(--text);font-weight:500}
.lang a:focus-visible,.seg button:focus-visible,.seg a:focus-visible{outline-offset:-2px;border-radius:999px}
.btn{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 20px;border-radius:8px;font:500 14px var(--font);border:0;cursor:pointer}
.btn-fill{background:var(--primary);color:var(--on-primary)}
.btn-fill:hover{background:var(--primary-hover)}
.btn-tonal{background:var(--bg);color:var(--btn-text);border:1px solid var(--line)}
.btn-tonal:hover{border-color:var(--line);box-shadow:0 1px 1px rgba(0,0,0,.1)}
.btn-text{background:transparent;color:var(--primary);padding:0 12px}

/* header, menus, drawer and search overlay */
.topbar{position:sticky;top:0;z-index:50;background:var(--header);border-bottom:1px solid var(--header-line);transition:background-color .2s,box-shadow .2s}
.topbar.scrolled{background:color-mix(in srgb,var(--header) 82%,transparent);-webkit-backdrop-filter:saturate(160%) blur(14px);backdrop-filter:saturate(160%) blur(14px);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.topbar .wrap{max-width:1320px}
.topbar .icon-btn:hover,.topbar .nav>a:hover,.topbar .dd>.dd-btn:hover{background:color-mix(in srgb,var(--text) 9%,transparent)}
.brand,.btn,.nav a,.dd-btn{white-space:nowrap}
.nav{flex-wrap:nowrap;margin-inline-start:12px}
.nav a{padding:8px 12px}
.bar-end{gap:2px}
.btn-signin{margin-inline-start:8px}
.topbar.scrolled{border-bottom-color:var(--line)}
/* Google-style state layer: a see-through tint of the text colour, visible in light and dark */
.icon-btn{display:grid!important;place-items:center;width:40px;height:40px;padding:0!important;border-radius:50%!important;border:0;background:transparent;color:var(--muted);cursor:pointer;flex:0 0 40px;transition:background-color .15s,color .15s}
.icon-btn svg{display:block}
.icon-btn[hidden]{display:none!important}
.icon-btn:hover,.dd.open>.icon-btn{background:color-mix(in srgb,var(--text) 10%,transparent);color:var(--text)}
.icon-btn:active{background:color-mix(in srgb,var(--text) 16%,transparent)}
.dd{position:relative}
.dd-btn{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;font:500 14px var(--font);color:var(--muted);padding:8px 14px;border-radius:999px;cursor:pointer}
.dd-btn{transition:background-color .15s,color .15s}
.dd-btn:hover,.dd.open>.dd-btn{background:color-mix(in srgb,var(--text) 8%,transparent);color:var(--text)}
.icon-btn.dd-btn{padding:0}
.menu{display:none;position:absolute;top:calc(100% + 6px);inset-inline-start:0;min-width:200px;padding:8px 0;background:var(--menu);border-radius:12px;box-shadow:0 2px 6px rgba(0,0,0,.15),0 8px 24px rgba(0,0,0,.12);z-index:60}
.bar-end .menu{inset-inline-start:auto;inset-inline-end:0}
.dd.open>.menu{display:block}
.menu a{display:block;padding:10px 18px;font-size:15px;font-weight:500;color:var(--text)}
.menu a:hover{background:color-mix(in srgb,var(--text) 8%,transparent)}
.menu a:focus-visible{outline-offset:-2px;border-radius:0}
.menu a[aria-current]{background:var(--surface-2);font-weight:500}
.menu-lang{min-width:190px}
.only-mobile{display:none!important}
/* mobile drawer: Material 3 modal navigation sheet in the Google app style (account card, next prayer, shortcut tiles) */
.scrim{position:fixed;inset:0;background:rgba(0,0,0,.32);z-index:70;opacity:0;transition:opacity .25s cubic-bezier(.2,0,0,1)}
.scrim.open{opacity:1}
.drawer{position:fixed;top:0;bottom:0;inset-inline-start:0;width:min(360px,85vw);max-width:none;background:var(--surface);color:var(--text);z-index:80;
  display:flex;flex-direction:column;padding:0 12px max(16px,env(safe-area-inset-bottom));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  border-start-end-radius:28px;border-end-end-radius:28px;box-shadow:0 8px 28px rgba(0,0,0,.22);
  transform:translateX(-100%);opacity:0;transition:transform .25s cubic-bezier(.2,0,0,1),opacity .25s cubic-bezier(.2,0,0,1);
  /* drawer-only tokens: raised card colour and the tile colours (strong tone + soft circle) */
  --axd-card:var(--bg);
  --axd-blue:var(--blue);--axd-blue-soft:var(--blue-soft);--axd-green:var(--green);--axd-green-soft:var(--green-soft);
  --axd-amber:var(--amber);--axd-amber-soft:var(--amber-soft);--axd-red:var(--red);--axd-red-soft:var(--red-soft);
  --axd-isha:var(--sky-isha-text);--axd-isha-soft:color-mix(in srgb,var(--sky-isha) 16%,var(--bg));
  --axd-maghrib:var(--sky-maghrib-text);--axd-maghrib-soft:color-mix(in srgb,var(--sky-maghrib) 18%,var(--bg))}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .drawer{--axd-card:color-mix(in srgb,var(--text) 6%,var(--surface));
  --axd-isha-soft:color-mix(in srgb,var(--sky-isha) 22%,var(--surface));--axd-maghrib-soft:color-mix(in srgb,var(--sky-maghrib) 20%,var(--surface))}}
:root[data-theme=dark] .drawer{--axd-card:color-mix(in srgb,var(--text) 6%,var(--surface));
  --axd-isha-soft:color-mix(in srgb,var(--sky-isha) 22%,var(--surface));--axd-maghrib-soft:color-mix(in srgb,var(--sky-maghrib) 20%,var(--surface))}
[dir=rtl] .drawer{transform:translateX(100%)}
.drawer.open,[dir=rtl] .drawer.open{transform:none;opacity:1}
.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:64px;padding-inline:12px 0;flex:0 0 auto}
.drawer-head .brand{font-size:18px;font-weight:600;min-height:44px;border-radius:22px;padding-inline:4px 8px}
.drawer-head .brand img{flex-basis:32px;width:32px;height:32px}
.drawer-head .brand:focus-visible{outline-offset:-2px}

/* account card: centred like Google's account sheet, avatar inside a ring of the day's sky colours */
.axd-acct{display:flex;flex-direction:column;align-items:center;gap:12px;margin:0 0 8px;padding:20px 16px 16px;border-radius:24px;background:var(--axd-card);text-align:center;flex:0 0 auto}
.axd-acct-row{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;max-width:100%}
.axd-avatar{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;border:3px solid transparent;box-shadow:inset 0 0 0 2px var(--axd-card);
  background:linear-gradient(var(--primary),var(--primary)) padding-box,linear-gradient(var(--sd-sand),var(--sd-sand)) border-box;
  color:var(--on-primary);font:600 24px var(--font)}
.axd-avatar-empty{background:linear-gradient(var(--surface-2),var(--surface-2)) padding-box,linear-gradient(var(--sd-sand),var(--sd-sand)) border-box;color:var(--muted)}
.axd-acct-txt{display:flex;flex-direction:column;min-width:0;max-width:100%}
.axd-acct-txt b{font-weight:600;font-size:17px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.axd-acct-txt small{color:var(--muted);font-size:13px;line-height:1.5}
.axd-acct-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.axd-pill{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;border-radius:999px;font:500 14px/1.2 var(--font);text-align:center;
  -webkit-tap-highlight-color:transparent;transition:background-color .15s,box-shadow .15s}
.axd-pill:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:999px}
.axd-pill-tonal{background:var(--primary-soft);color:var(--on-soft)}
.axd-pill-tonal:hover,.axd-pill-tonal[aria-current]{background:color-mix(in srgb,var(--on-soft) 10%,var(--primary-soft))}
.axd-pill-fill{background:var(--primary);color:var(--on-primary)}
.axd-pill-fill:hover{background:var(--primary-hover);box-shadow:0 1px 3px rgba(0,0,0,.18)}
.axd-pill-text{color:var(--primary)}
.axd-pill-text:hover{background:color-mix(in srgb,var(--primary) 9%,transparent)}

/* live next prayer: tinted with that prayer's sky colour (--nc / --nt set by core.js) */
.axd-next{--nc:var(--primary);--nt:var(--primary);display:flex;align-items:center;gap:12px;min-height:76px;margin:0 0 8px;padding-block:12px;padding-inline:12px 8px;border-radius:24px;flex:0 0 auto;
  background:radial-gradient(120% 160% at 100% 0%,color-mix(in srgb,var(--nc) 26%,transparent),transparent 62%),color-mix(in srgb,var(--nc) 10%,var(--axd-card));
  color:var(--text);-webkit-tap-highlight-color:transparent;transition:transform .15s cubic-bezier(.2,0,0,1)}
[dir=rtl] .axd-next{background:radial-gradient(120% 160% at 0% 0%,color-mix(in srgb,var(--nc) 26%,transparent),transparent 62%),color-mix(in srgb,var(--nc) 10%,var(--axd-card))}
.axd-next:active{transform:scale(.98)}
.axd-next:focus-visible{outline:2px solid var(--focus);outline-offset:-2px;border-radius:24px}
.axd-next-dot{flex:0 0 44px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--nt);color:var(--bg)}
.axd-next-txt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;line-height:1.35}
.axd-next-txt small{font-size:12px;font-weight:500;color:var(--muted)}
.axd-next-txt b{font-size:19px;font-weight:600;color:var(--nt)}
.axd-next-meta{display:flex;align-items:center;min-width:0;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.axd-next-city{min-width:0;overflow:hidden;text-overflow:ellipsis}
.axd-next-city:not(:empty)::before{content:"";display:inline-block;width:3px;height:3px;border-radius:50%;background:currentColor;margin-inline:7px;vertical-align:middle}
.axd-next-go{flex:0 0 auto;display:grid;place-items:center;color:var(--muted);transform:rotate(-90deg)}
[dir=rtl] .axd-next-go{transform:rotate(90deg)}

/* shortcut tiles: 3 x 2 rounded squares, a soft coloured circle per tool */
.drawer-nav{display:flex;flex-direction:column;flex:0 0 auto}
.axd-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 4px;padding:0;list-style:none}
.axd-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:92px;padding:10px 4px;border-radius:20px;border:1px solid transparent;
  background:var(--axd-card);color:var(--text);text-align:center;-webkit-tap-highlight-color:transparent;transition:background-color .15s,border-color .15s,transform .15s cubic-bezier(.2,0,0,1)}
.axd-tile:hover{background:color-mix(in srgb,var(--text) 5%,var(--axd-card))}
.axd-tile:active{transform:scale(.96)}
.axd-tile:focus-visible{outline:2px solid var(--focus);outline-offset:-2px;border-radius:20px}
.axd-tile-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--ts);color:var(--tc);transition:background-color .15s,color .15s}
.axd-tile-label{font-size:12.5px;font-weight:500;line-height:1.3;max-width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.axd-tile[aria-current=page]{background:var(--ts);border-color:color-mix(in srgb,var(--tc) 45%,transparent)}
.axd-tile[aria-current=page] .axd-tile-ic{background:var(--tc);color:var(--bg)}
.axd-tile[aria-current=page] .axd-tile-label{color:var(--tc);font-weight:600}

/* compact list rows (account, More) */
.drawer-item{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding-inline:16px 20px;border:0;border-radius:24px;background:transparent;
  color:var(--text);font:500 15px/1.3 var(--font);text-align:start;cursor:pointer;position:relative;-webkit-tap-highlight-color:transparent;transition:background-color .15s}
.drawer-item>svg{flex:0 0 24px;color:var(--muted)}
.drawer-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drawer-item:hover{background:color-mix(in srgb,var(--text) 8%,transparent)}
.drawer-item:active{background:color-mix(in srgb,var(--text) 12%,transparent)}
.drawer-item:focus-visible{outline:2px solid var(--focus);outline-offset:-2px;border-radius:24px}
.drawer-item[aria-current=page]{background:var(--primary-soft);color:var(--on-soft);font-weight:600}
.drawer-item[aria-current=page]>svg{color:var(--on-soft)}
.drawer-item[aria-current=page]:hover{background:color-mix(in srgb,var(--on-soft) 8%,var(--primary-soft))}
.drawer-item[aria-current=page]:active{background:color-mix(in srgb,var(--on-soft) 12%,var(--primary-soft))}
[dir=rtl] .drawer .flip>svg{transform:scaleX(-1)}
.drawer-sec{margin:0;padding:14px 16px 4px;font-size:13px;font-weight:500;line-height:1.4;color:var(--muted)}
.axd-badge{flex:0 0 auto;display:grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:12px;background:var(--primary);color:var(--on-primary);font:600 12px/1 var(--font);font-variant-numeric:tabular-nums}
.drawer-chev{flex:0 0 auto;display:grid;place-items:center;color:var(--muted);transition:transform .2s cubic-bezier(.2,0,0,1)}
.axd-more-btn{margin-top:8px;color:var(--muted);font-weight:600}
.axd-more-btn::before{content:"";position:absolute;top:-4px;inset-inline:16px;border-top:1px solid var(--line)}
.axd-more-btn[aria-expanded=true]{color:var(--text)}
.axd-more-btn[aria-expanded=true] .drawer-chev,.axd-chip[aria-expanded=true] .drawer-chev{transform:rotate(180deg)}
.axd-more{display:flex;flex-direction:column}
.axd-more:not([hidden]),.axd-langs:not([hidden]){animation:axd-in .2s cubic-bezier(.2,0,0,1)}
@keyframes axd-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

/* bottom: language and light/dark pills side by side, then Google-style small legal links */
.drawer-foot{margin-top:auto;padding-top:16px;display:flex;flex-direction:column;flex:0 0 auto}
/* the pills sit side by side and wrap to two rows when a long label would not fit (Tamil, Bengali) */
.axd-pills{display:flex;flex-wrap:wrap;gap:8px}
.axd-chip{flex:1 1 auto;min-width:0;max-width:100%;display:flex;align-items:center;gap:6px;min-height:44px;padding-inline:12px 10px;border:1px solid var(--line);border-radius:999px;background:var(--axd-card);
  color:var(--text);font:500 14px/1.2 var(--font);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .15s}
.axd-chip:hover{background:color-mix(in srgb,var(--text) 6%,var(--axd-card))}
.axd-chip:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:999px}
.axd-chip>svg{flex:0 0 20px;color:var(--muted)}
.axd-chip>span:not([class]){flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start}
.drawer-switch{flex:0 0 34px;width:34px;height:20px;border-radius:10px;border:2px solid var(--muted);background:var(--surface-2);position:relative;transition:background-color .2s,border-color .2s}
.drawer-switch::after{content:"";position:absolute;top:50%;inset-inline-start:3px;width:10px;height:10px;margin-top:-5px;border-radius:50%;background:var(--muted);
  transition:inset-inline-start .2s cubic-bezier(.2,0,0,1),width .2s,height .2s,margin .2s,background-color .2s}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .drawer-switch{background:var(--primary);border-color:var(--primary)}
  :root:not([data-theme=light]) .drawer-switch::after{inset-inline-start:15px;width:14px;height:14px;margin-top:-7px;background:var(--on-primary)}}
:root[data-theme=dark] .drawer-switch{background:var(--primary);border-color:var(--primary)}
:root[data-theme=dark] .drawer-switch::after{inset-inline-start:15px;width:14px;height:14px;margin-top:-7px;background:var(--on-primary)}
.axd-langs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}
.axd-langs a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 10px;border-radius:14px;background:var(--axd-card);font-size:14px;font-weight:500;
  -webkit-tap-highlight-color:transparent;transition:background-color .15s}
.axd-langs a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.axd-langs a:hover{background:color-mix(in srgb,var(--text) 6%,var(--axd-card))}
.axd-langs a:focus-visible{outline-offset:-2px;border-radius:14px}
.axd-langs a[aria-current]{background:var(--primary-soft);color:var(--on-soft);font-weight:600}
.axd-legal{display:flex;justify-content:center;flex-wrap:wrap;gap:4px;margin-top:8px}
.axd-legal a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:8px;font-size:13px;color:var(--muted)}
.axd-legal a:hover,.axd-legal a[aria-current]{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.axd-copy{margin:0;padding:0 8px;text-align:center;font-size:12px;line-height:1.5;color:var(--muted)}
@media (prefers-reduced-motion:reduce){.drawer,.scrim,.drawer-chev,.drawer-switch,.drawer-switch::after,.axd-tile,.axd-next,.axd-tile-ic{transition:none!important}
  .axd-more:not([hidden]),.axd-langs:not([hidden]){animation:none}.axd-tile:active,.axd-next:active{transform:none}}
.search-ov{position:fixed;inset:0;z-index:90;background:rgba(32,33,36,.45);display:flex;justify-content:center;align-items:flex-start;padding:72px 16px 16px}
.search-ov[hidden],.drawer[hidden],.scrim[hidden]{display:none}
.search-panel{width:100%;max-width:640px;background:var(--menu);border-radius:24px;box-shadow:0 8px 28px rgba(0,0,0,.25);overflow:hidden}
.search-row{display:flex;align-items:center;gap:10px;padding:6px 8px 6px 18px;border-bottom:1px solid var(--line);color:var(--muted)}
[dir=rtl] .search-row{padding:6px 18px 6px 8px}
.search-row:focus-within{box-shadow:inset 0 -2px 0 var(--focus)}
.search-row input{flex:1;height:48px;border:0;outline:0;background:transparent;color:var(--text);font:400 16px var(--font)}
input[type=search]::-webkit-search-cancel-button{display:none}

.search-results{max-height:60vh;overflow-y:auto;padding:6px 0}
.search-results a{display:flex;flex-direction:column;padding:10px 20px}
.search-results a:hover,.search-results a:focus{background:color-mix(in srgb,var(--text) 8%,transparent)}
.search-results a:focus-visible{outline:2px solid var(--focus);outline-offset:-2px;border-radius:0}
.search-results small{color:var(--muted);font-size:14px}
.search-results p{margin:0;padding:14px 20px;color:var(--muted)}


/* header alignment: brand stands apart, every menu item shares one height, font and baseline */
.bar{align-items:center}
.nav{display:flex;align-items:center;gap:4px;margin-inline-start:28px}
.nav>a,.nav .dd>.dd-btn{display:inline-flex;align-items:center;gap:4px;height:40px;padding:0 14px;border-radius:999px;font:550 15px/1 var(--font);color:var(--muted)}
.nav .dd>.dd-btn svg{width:18px;height:18px;margin-top:1px}

/* inner-page building blocks shared by every page: breadcrumb, page title, two-column split, cards, list rows */
.page{padding-top:20px}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:14px;color:var(--muted)}
.crumbs a{padding:4px 8px;border-radius:8px}
.crumbs a:hover{background:color-mix(in srgb,var(--text) 8%,transparent);color:var(--text)}
.crumbs [aria-current]{color:var(--text);font-weight:600;padding:4px 8px}
.page-head{margin:18px 0 6px}
.page-head h1{font-size:clamp(30px,5vw,42px);font-weight:700;margin:0;line-height:1.25}
.page-sub{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:8px 0 0;color:var(--muted);font-size:16px}
.page-sub img{border-radius:3px;box-shadow:0 0 0 1px var(--line)}
.page-sub .sep{width:4px;height:4px;border-radius:50%;background:var(--muted)}
.page .day{max-width:none;margin:22px 0 0}
.split{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;margin-top:8px;align-items:start}
.split h2{font-size:22px;font-weight:600;margin:32px 0 14px}
.split-side{position:sticky;top:84px;display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:32px}
.card{border:1px solid var(--line);border-radius:20px;padding:20px;background:var(--bg)}
.card h2{margin:0 0 14px;font-size:18px}
.card-note{color:var(--muted);font-size:15px;margin:12px 0 16px}
.chips-start{justify-content:flex-start;margin:0 0 12px}
.chip small{color:var(--muted);font:500 13px "Roboto",var(--font);margin-inline-start:2px}
.chip.on{background:var(--primary-soft);border-color:transparent;color:var(--on-soft)}
.chip.on small{color:var(--on-soft)}
.rows{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.row{display:flex;align-items:center;gap:14px;padding:12px 8px;border-bottom:1px solid var(--line);border-radius:0}
.row:hover{background:var(--surface)}
.row-ic{flex:0 0 40px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--c)}
.row-txt{flex:1;min-width:0;display:flex;flex-direction:column}
.row-txt b{font-weight:600;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row-txt small{color:var(--muted);font-size:14px}
.row-go{color:var(--muted);flex:0 0 18px}
@media (max-width:900px){.split{grid-template-columns:minmax(0,1fr)}.split-side{position:static;margin-top:0}}

/* phones: labels on the line would overlap, so the line keeps its dots and a 6-cell grid below holds names and times */
.day-grid{display:none}
@media (max-width:680px){
  .day .line .pt b,.day .line .pt small{display:none}
  .day .line{height:44px}
  .day-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin-top:4px;text-align:center;min-height:52px}
  .day-grid div{padding:6px 0;border-radius:10px}
  .day-grid b{display:block;font-size:13px;font-weight:600}
  .day-grid small{font:500 13px "Roboto",var(--font);color:var(--muted)}
  .day-grid .is-next{background:color-mix(in srgb,var(--c) 16%,transparent)}
  .day-grid .is-next b{color:color-mix(in srgb,var(--c) var(--sky-ink),var(--text))}
}
/* search hero */
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:18px}
.chip{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 16px;border:1px solid var(--line);border-radius:8px;font-size:15px;font-weight:500;color:var(--btn-text)}
.chip:hover{background:var(--surface)}

/* day timeline: the one distinctive element */
.day{max-width:880px;margin:36px auto 0;background:var(--surface);border-radius:24px;padding:24px 28px 30px}
.day-top{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.day-label{font-size:15px;font-weight:500;color:var(--muted);margin:0}
.day-next{font-size:28px;font-weight:500;margin:2px 0 0}
.day-next span{color:var(--primary)}
.day-place{font-size:15px;color:var(--muted)}
.line{position:relative;height:84px;margin-top:22px}
.line::before,.line .past{content:"";position:absolute;inset-inline:0;top:21px;height:6px;border-radius:3px;
  background:linear-gradient(to right,var(--sky-fajr),var(--sky-sunrise) 18%,var(--sky-dhuhr) 45%,var(--sky-asr) 65%,var(--sky-maghrib) 82%,var(--sky-isha))}
[dir=rtl] .line::before,[dir=rtl] .line .past{background:linear-gradient(to left,var(--sky-fajr),var(--sky-sunrise) 18%,var(--sky-dhuhr) 45%,var(--sky-asr) 65%,var(--sky-maghrib) 82%,var(--sky-isha))}
.line[style*="--grad"]::before,.line[style*="--grad"] .past{background:var(--grad)}
.line::before{opacity:.25}
.line .past{clip-path:inset(0 100% 0 0)}
.pt{position:absolute;top:0;transform:translateX(-50%);text-align:center;width:72px;--c:var(--line)}
[dir=rtl] .pt{transform:translateX(50%)}
.pt i{display:block;width:14px;height:14px;margin:17px auto 8px;border-radius:50%;background:var(--surface);border:3px solid var(--c)}
.pt.done i{background:var(--c)}
.pt.next i{width:20px;height:20px;margin-top:14px;box-shadow:0 0 0 6px color-mix(in srgb,var(--c) 22%,transparent)}
.pt.next b{color:color-mix(in srgb,var(--c) var(--sky-ink),var(--text))}
.pt b{display:block;font-size:15px;font-weight:600}
.pt small{font:500 14px "Roboto",var(--font);color:var(--muted)}
.now{position:absolute;top:12px;width:2px;height:24px;background:var(--text);border-radius:1px}
.now span{position:absolute;top:-22px;transform:translateX(-50%);font-size:13px;font-weight:500;color:var(--muted);white-space:nowrap}
[dir=rtl] .now span{transform:translateX(50%)}

/* tools + countries */
section h2{font-size:22px;font-weight:600;margin:56px 0 16px}

/* footer matches the header bar: same tone, hairline on top */
footer{margin-top:72px;background:var(--header);border-top:1px solid var(--header-line);color:var(--muted);font-size:15px;font-weight:500}
footer .wrap{max-width:1320px}
footer nav a{padding:6px 10px;border-radius:999px;transition:background-color .15s,color .15s}
footer nav a:hover{background:color-mix(in srgb,var(--text) 9%,transparent);color:var(--text)}
footer .wrap{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center;padding-top:18px;padding-bottom:18px}
footer nav{display:flex;flex-wrap:wrap;gap:4px 12px;margin-inline-start:auto}
@media (max-width:560px){footer nav{margin-inline-start:0;width:100%}}
footer a:hover{color:var(--text)}

@media (max-width:860px){
  .nav{display:none}
  .only-mobile{display:grid!important}
  .hide-mobile{display:none!important}}
@media (max-width:680px){
  .pt{width:52px}.pt b{font-size:13px}
  .pt small{font-size:12px}}
@media (max-width:560px){
  .day{padding:20px 16px 26px;border-radius:22px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* shared blocks added for inner pages: section head, segmented switch, badges, date tile, meta lines */
.sect-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.sect-head h2{margin-bottom:14px}
.page-desc{max-width:72ch;color:var(--muted);font-size:16px;margin:12px 0 0}
.day-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:2px 0 0;color:var(--muted);font-size:15px}
.day-meta .sep,.page-sub .sep{width:4px;height:4px;border-radius:50%;background:var(--muted)}
.day-meta span:empty,.day-meta span:empty + .sep{display:none}
.day-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:var(--bg)}
.seg button{border:0;background:transparent;color:var(--muted);font:550 14px var(--font);padding:0 16px;height:36px;cursor:pointer}
.seg button + button{border-inline-start:1px solid var(--line)}
.seg button.on{background:var(--primary-soft);color:var(--on-soft)}
.badge-ok{flex:0 0 auto;font-size:12px;font-weight:600;color:var(--green);background:var(--green-soft);padding:3px 10px;border-radius:999px}
.date-tile{flex:0 0 52px;height:52px;border-radius:12px;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1}
.date-tile b{font:600 18px "Roboto",var(--font)}
.date-tile small{font:500 11px "Roboto",var(--font);color:var(--muted)}
.card-meta{font-size:14px;color:var(--muted);margin:0 0 14px}
.more{display:flex;justify-content:center;margin-top:18px}
.more[hidden]{display:none}

/* shell pieces of the live theme */
/* footer always at the bottom: body is a column and main takes the free height */
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.ax-main{display:block;flex:1 0 auto;min-height:60vh}
.skip{position:absolute;inset-inline-start:8px;top:-60px;z-index:200;background:var(--primary);color:var(--on-primary);padding:10px 16px;border-radius:8px}
.skip:focus{top:8px}
.nav>a[aria-current]{color:var(--text);background:color-mix(in srgb,var(--text) 8%,transparent)}
.avatar{display:grid!important;place-items:center;width:36px;height:36px;padding:0!important;border-radius:50%!important;border:0;cursor:pointer;background:var(--primary);color:var(--on-primary);font:600 15px var(--font)}
.menu-head{margin:0;padding:8px 18px 10px;font-weight:600;color:var(--text);border-bottom:1px solid var(--line);margin-bottom:6px}
.consent{position:fixed;inset-inline:16px;bottom:16px;z-index:65;max-width:560px;margin-inline:auto;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:20px;padding:16px 20px;box-shadow:0 8px 28px rgba(0,0,0,.18)}
.consent p{margin:0 0 12px;font-size:15px}
.consent a{color:var(--primary);text-decoration:underline}
.consent-btns{display:flex;gap:8px;justify-content:flex-end}
/* lists of countries / cities (home and country pages) */
.clist{display:grid;grid-template-columns:repeat(3,1fr);gap:0 24px;border-top:1px solid var(--line)}
@media (max-width:860px){.clist{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.clist{grid-template-columns:1fr}}
.crow{display:flex;align-items:center;gap:12px;padding:12px 4px;border-bottom:1px solid var(--line)}
.crow:hover b{color:var(--primary)}
.crow img{width:28px;height:20px;border-radius:3px;object-fit:cover;box-shadow:0 0 0 1px var(--line)}
.crow b{font-weight:600;flex:1;font-size:16px}
.crow small{color:var(--muted);font:500 15px "Roboto",var(--font)}
/* language-suggestion card (parts/langcard.php): top corner on desktop, top of the screen on phones */
.langcard{position:fixed;top:84px;inset-inline-end:24px;z-index:66;width:380px;max-width:calc(100vw - 24px);box-sizing:border-box;background:var(--menu,var(--bg));color:var(--text);border:1px solid var(--line);border-radius:20px;padding:20px 20px 14px;box-shadow:var(--shadow);font:400 14px/1.5 var(--font);animation:langIn .32s cubic-bezier(.2,0,0,1)}
@keyframes langIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
.langcard-h{display:flex;gap:14px;align-items:flex-start}
.langcard-ic{flex:0 0 48px;width:48px;height:48px;border-radius:50%;object-fit:cover;background:#fff;border:1px solid var(--line)}
.langcard-t{font-size:16px;font-weight:500;margin:2px 0}
.langcard-s{font-size:13px;color:var(--muted)}
.langcard-ac{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
@media (max-width:600px){.langcard{top:max(12px,env(safe-area-inset-top));inset-inline:12px;width:auto;max-width:none;z-index:100}}
@media (prefers-reduced-motion:reduce){.langcard{animation:none}}

/* profile photo inside the round avatar buttons (top bar, phone menu button, drawer card) */
.avatar img,.axd-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.avatar-menu{width:32px;height:32px;font-size:14px;pointer-events:none}
.axd-avatar:has(img){padding:0;overflow:hidden}
/* phones: the sign-in button stays in the top bar, compact, next to search, language and dark mode (logo and name stay too) */
@media (max-width:560px){
  .btn-signin{display:inline-flex;height:34px;padding:0 12px;border-radius:17px;font-size:13px;margin-inline-start:4px;white-space:nowrap}}

/* very small phones (about 360px): tighter bar so the logo is never cut */
@media (max-width:380px){.bar{gap:2px}.bar>.brand{min-width:36px;flex:0 0 auto}.btn-signin{padding:0 10px;font-size:12px}.bar-end .icon-btn{width:36px}}

/* dropdown menu over a native select (core.js, select[data-menu]); without JS the native select shows */
.mn-wrap{position:relative}
.mn-wrap.is-enh > select{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none}
.mn-wrap.is-enh > select ~ svg:not(.mn-chev){display:none}
.mn-btn{display:flex;align-items:center;gap:8px;text-align:start;cursor:pointer}
.mn-btn.fm-input{display:flex}
.mn-btn .mn-txt{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mn-btn.fm-input.is-ph .mn-txt{color:var(--muted)}
.mn-btn .mn-chev{flex:0 0 18px;color:var(--muted);transition:transform .15s}
.mn-btn[aria-expanded=true] .mn-chev{transform:rotate(180deg)}
.mn-btn.fm-input[aria-expanded=true]{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}
.mn-btn.chip{display:inline-flex;gap:6px;padding-inline-end:10px;background:var(--bg);font-family:inherit;white-space:nowrap}
.mn-btn.chip .mn-txt{flex:0 1 auto;max-width:200px}
.mn-btn.chip.on{background:var(--primary-soft);border-color:transparent;color:var(--on-soft)}
.mn-btn.chip.on .mn-chev{color:var(--on-soft)}
.mn-pop{position:absolute;inset-inline-start:0;top:calc(100% + 4px);z-index:30;min-width:100%;width:max-content;max-width:min(340px,calc(100vw - 24px));padding:8px 0;
  border-radius:8px;background:var(--menu,var(--bg));box-shadow:var(--shadow);border:1px solid var(--line)}
.mn-pop.up{top:auto;bottom:calc(100% + 4px)}
.mn-pop.end{inset-inline-start:auto;inset-inline-end:0}
.mn-pop[hidden]{display:none}
.mn-q{display:block;width:calc(100% - 16px);min-width:220px;margin:0 8px 8px;height:40px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font:400 15px var(--font)}
.mn-q:focus{outline:0;border-color:var(--primary)}
.mn-list{list-style:none;margin:0;padding:0;outline:0}
.mn-list.is-long{max-height:320px;overflow-y:auto;scrollbar-width:thin}
.mn-list li{display:flex;align-items:center;gap:10px;min-height:40px;padding:6px 16px;cursor:pointer;font-size:15px;line-height:1.4;color:var(--text)}
.mn-list li[hidden]{display:none}
.mn-list .mn-t{flex:1;min-width:0}
.mn-list small{color:var(--muted);font:500 13px "Roboto",var(--font)}
.mn-dot{flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:var(--c)}
.mn-list .mn-ck{flex:0 0 18px;visibility:hidden;color:var(--primary)}
.mn-list li.on{background:color-mix(in srgb,var(--text) 8%,transparent)}
.mn-list li[aria-selected=true]{background:var(--primary-soft);color:var(--on-soft);font-weight:500}
.mn-list li[aria-selected=true] .mn-ck{visibility:visible}
.mn-list li[aria-selected=true] small{color:var(--on-soft)}
.mn-list li[aria-selected=true].on{background:color-mix(in srgb,var(--primary) 18%,var(--bg))}
.fm-select .mn-btn svg,.fm-select .mn-pop svg{position:static;margin:0;inset:auto}
/* Asr switch (parts/asr.php): label, chip menu, one help line */
.asr-sw{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap;margin-top:16px}
.asr-sw[hidden]{display:none}
.asr-sw-lbl{font-size:15px;font-weight:500;color:var(--muted)}
.asr-sw-sel{display:inline-flex}
.asr-sw-sel > select{height:36px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font:500 15px var(--font);padding:0 10px}
.asr-sw-help{flex-basis:100%;color:var(--muted);font-size:13px}
.asr-sw .mn-btn.chip .mn-txt{max-width:min(340px,62vw)}

/* phones: top-bar dropdowns (language) open as a panel under the bar, inside the screen, scrolling when long */
@media (max-width:860px){
  .topbar .bar-end .menu{position:fixed;top:64px;inset-inline:12px;width:auto;min-width:0;max-width:none;max-height:calc(100vh - 88px);overflow-y:auto}
}
/* the language suggestion card never covers an open top-bar menu */
body:has(.topbar .dd.open) .langcard{display:none}

/* Verified badge: text dark enough to read at 12px (contrast 6.3:1 on the soft green); dark mode keeps the light green (6.2:1) */
.badge-ok{color:#0D652D}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .badge-ok{color:var(--green)}}
:root[data-theme=dark] .badge-ok{color:var(--green)}
body .badge-ok{color:var(--on-soft)!important}

/* About: one column in this order: the main cards, the sister sites, then "Join our community" last; every card the same box */
body .ab .ab-body{display:flex!important;flex-direction:column;gap:12px}
body .ab .ab-side{display:contents!important}
body .ab .ab-main{order:1;gap:12px}
body .ab .ab-net{order:2;margin:0}
body .ab .ab-cta{order:3}
body .ab :is(.ab-card,.ab-cta,.ab-net){border:1px solid var(--line)!important;border-radius:12px!important;background:var(--bg)!important;color:var(--text)!important;padding:18px!important;box-shadow:none!important}
body .ab .ab-cta :is(h2,h3,p){color:var(--text)!important}
body .ab .ab-cta .btn-tonal{background:var(--btn)!important;color:var(--btn-text)!important}
body .ab .ab-body>*,body .ab .ab-net,body .ab .ab-cta{width:100%;max-width:none!important;box-sizing:border-box;align-self:stretch}
/* About end: sister sites and "Join our community" as two equal boxes side by side (stacked on phones) */
body .ab .ab-body{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px;align-items:stretch}
body .ab .ab-main{grid-column:1/-1}
body .ab .ab-net,body .ab .ab-cta{grid-column:auto;height:100%;display:flex;flex-direction:column}
body .ab .ab-net ul{grid-template-columns:minmax(0,1fr)}
body .ab .ab-cta .ab-cta-acts,body .ab .ab-cta>div:last-child{margin-top:auto}
@media (max-width:760px){body .ab .ab-body{grid-template-columns:minmax(0,1fr)!important}}
/* Privacy / Terms / Contact head: the ring spans empty grid rows, so their gaps left a tall empty box; no row gap */
body .ax-main :is(.lg-hero,.ct-hero){row-gap:0!important}
/* Privacy / Terms "On this page": a compact box like the other boxes, links in columns instead of one tall list */
body .ax-main .lg-toc{padding:18px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--bg)!important;max-height:none!important;overflow:visible!important}
body .ax-main .lg-toc-title{padding:0!important;margin:0 0 10px!important}
body .ax-main .lg-toc ol{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))!important;gap:2px 16px!important}
body .ax-main .lg-toc a{padding:6px 8px!important;font-size:14px}
body .ax-main .lg-toc a.on{background:transparent!important;font-weight:400!important;color:var(--muted)!important}
body .ax-main .lg-toc a.on::before{background:var(--surface-2)!important;color:var(--text)!important}
body .ax-main .lg-toc a::before{background:var(--surface-2)!important;color:var(--text)!important}
@media (max-width:760px){body .ax-main .lg-toc ol{grid-template-columns:minmax(0,1fr)!important}body .ax-main .lg-toc a{padding:5px 4px!important}}
/* Privacy / Terms on computers: "On this page" back as a side column that stays in view while reading (owner asked) */
@media (min-width:901px){
  body .ax-main .lg-grid.has-toc{grid-template-columns:250px minmax(0,1fr)!important;gap:16px!important;align-items:start}
  body .ax-main .lg-toc{position:sticky!important;top:20px!important;width:auto!important;max-height:calc(100vh - 40px)!important;overflow:auto!important}
  body .ax-main .lg-toc ol{grid-template-columns:minmax(0,1fr)!important}
  body .ax-main .lg-toc a.on{background:var(--surface)!important;color:var(--text)!important;font-weight:600!important}
  body .ax-main .lg-toc a.on::before{background:var(--text)!important;color:var(--bg)!important}
}
/* Contrast: "Near me" sits on the grey search field (#EFEFEF / #262626), so it needs a deeper blue in light and a lighter one in dark (5:1+) */
/* flags keep their natural shape inside their small box (flagcdn images are not all 3:2) */
body img[src*="flagcdn.com"]{object-fit:cover;object-position:center}
/* Contrast: the "auto-checked" pill: grey text on the grey pill was 4.1:1 */
body .pl-auto{color:var(--text)!important}
/* Contrast: the grey (--muted) is #5E5E5E in light so it passes 4.5:1 on the grey pills and tiles too, not only on white */
/* Places: country tiles grow with their content (a fixed 5:4 shape pushed the flag and counts outside the tile on phones) */
body .pl-page .pl-tile{aspect-ratio:auto!important;min-height:150px;justify-content:center;padding:16px 10px!important}
@media (max-width:760px){
  body .pl-page .pl-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body .pl-page .pl-tile{min-height:132px}
  body .pl-page .pl-tile-top img{width:52px;height:36px}
  /* city / country head: the circle beside the name and numbers, the description under them across the full width */
}
/* Qibla FAQ: the same open/close rows as the FAQ page (one size, a chevron, a soft background when open) */
body .qb-faq details{position:relative;margin:0!important;padding:0!important;border:0!important;border-radius:14px!important;background:transparent!important}
body .qb-faq details+details::before{content:"";position:absolute;inset-block-start:-1px;inset-inline:12px;height:1px;background:var(--line)}
body .qb-faq details[open],body .qb-faq details[open]+details::before{background:var(--surface)!important}
body .qb-faq details[open]+details::before{opacity:0}
body .qb-faq summary{display:flex!important;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:12px!important;margin:0;cursor:pointer;list-style:none;border:0!important;border-radius:14px!important;font-size:16px!important;font-weight:500!important;line-height:1.55;color:var(--text);text-align:start;background:transparent}
body .qb-faq summary::-webkit-details-marker{display:none}
body .qb-faq summary::marker{content:""}
body .qb-faq summary::after{content:"";flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:var(--surface-2) no-repeat center/18px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23888%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m6 9 6 6 6-6%27/%3E%3C/svg%3E");transition:transform .2s}
body .qb-faq details[open] summary::after{transform:rotate(180deg)}
body .qb-faq summary:hover{background:var(--surface)!important}
body .qb-faq details[open] summary{color:var(--primary)}
body .qb-faq details p{margin:0!important;padding:0 12px 18px!important;font-size:15px!important;line-height:1.85;color:var(--text)!important}
@media (prefers-reduced-motion:reduce){body .qb-faq summary::after{transition:none}}

/* day line: a label too close to the one before drops a row (set by core.js), and the line keeps room for it */
.pt.pt-lo b{margin-top:52px}
.line.has-lo{margin-bottom:52px}






/* past prayers: no fading (it pushed the text under the contrast limit); a dashed edge marks them instead */
body .ptile.done{opacity:1!important;border-style:dashed!important}

/* ===== places filter bar on phones: every filter takes an equal share of the row before and after core.js turns it into a chip, so the rows never change (no layout shift, in any language). Keep when re-synced ===== */
@media (max-width:760px){
  body .pl-bar{flex-wrap:wrap}
  body .pl-bar .pl-sel{flex:1 1 0;min-width:0;max-width:none}
  body .pl-bar .pl-sel select{width:100%;max-width:none;height:36px;padding-inline:10px;border-radius:999px;font-size:14px;text-overflow:ellipsis}
  body .pl-bar .pl-sel .mn-btn.chip{width:100%;min-width:0;justify-content:space-between}
  body .pl-bar .pl-sel .mn-btn.chip .mn-txt{flex:1 1 auto;max-width:none}
  body .pl-bar .pl-clear{flex:1 0 100%;justify-content:flex-start}
}
/* ===== end places filter bar ===== */

/* footer: links to the sister sites */
.ax-footer .ax-net{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 14px;width:100%;margin:10px 0 0;font-size:13px}
.ax-footer .ax-net-t{color:var(--muted);font-weight:600}
.ax-footer .ax-net a{color:var(--muted)}
.ax-footer .ax-net a:hover{color:var(--text)}

/* today's times: calculation method and date line */
.day-src{margin:8px 0 0;font-size:12.5px;line-height:1.5;color:var(--muted)}

/* page heads: the logo circle spans 8 grid rows so heads of any length fit beside it, but every empty row also added a row gap
   (about 96px of blank space under short heads such as Ramadan, Qibla, Prayer). No row gaps, a margin between the real lines instead. */
/* shared social profile icons in the footer (axis_social_icons), only when a link is saved */
.ax-social{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 10px;margin:0;padding:0;list-style:none}.ax-social a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;color:var(--muted)}.ax-social a:hover{color:var(--text)}.ax-social a:focus-visible{outline:2px solid var(--text);outline-offset:2px;border-radius:8px}

/* ===== SUNDIAL PALETTE (preview theme): sandstone of the Mughal mosques by day, dusk sky and violet shadow by night ===== */
:root,:root[data-theme=light]{
  --bg:#F7EFE3; --surface:#FFF9F0; --surface-2:#EFE2CF; --line:#DCC8AE;
  --text:#2A1C17; --muted:#6B5546; --btn:#EFE2CF; --btn-text:#2A1C17;
  --primary:#9C4A22; --primary-hover:#7F3A18; --primary-soft:#F3DCC5; --on-soft:#6A2E12; --on-primary:#FFF9F0; --focus:#6B3F8C;
  --shadow:0 4px 14px rgba(74,43,34,.10); --header:#F7EFE3; --header-line:#DCC8AE; --menu:#FFF9F0;
  --sky-fajr:#8C7BB8; --sky-sunrise:#E3A73F; --sky-dhuhr:#D9B26A; --sky-asr:#C8743F; --sky-maghrib:#B9463F; --sky-isha:#5B5690;
  --sky-fajr-text:#5B4A8E; --sky-sunrise-text:#875500; --sky-dhuhr-text:#7A5A12; --sky-asr-text:#9C4A22; --sky-maghrib-text:#9E3530; --sky-isha-text:#4A4580;
  --blue:#3F5F8A; --blue-soft:#E3E8F1; --green:#2F6B4F; --green-soft:#E1ECE3; --amber:#94600F; --amber-soft:#F6E7C8; --red:#A3362E; --red-soft:#F5DEDA;
  --sd-sand:#C8814A; --sd-sand-2:#E2B47E; --sd-shade:#5B4A6B; --sd-sky1:#F6D9B4; --sd-sky2:#FBEEDC; --sd-ground:#E6D2B5; --sd-sun:#D98A2B;
}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){
  --bg:#1A1416; --surface:#241B1C; --surface-2:#33261F; --line:#4A3A30;
  --text:#F3E6D3; --muted:#C9B49C; --btn:#33261F; --btn-text:#F3E6D3;
  --primary:#E0A15A; --primary-hover:#EDB676; --primary-soft:#3D2C22; --on-soft:#F6D7AE; --on-primary:#1A1416; --focus:#F2C38B;
  --shadow:0 4px 14px rgba(0,0,0,.45); --header:#1A1416; --header-line:#33261F; --menu:#241B1C;
  --sky-fajr:#A99BD6; --sky-sunrise:#F0C060; --sky-dhuhr:#EBCB8F; --sky-asr:#E39A5E; --sky-maghrib:#E07A6E; --sky-isha:#8E88C8;
  --sky-fajr-text:#C3B8E8; --sky-sunrise-text:#F5D48A; --sky-dhuhr-text:#F0D9A8; --sky-asr-text:#F0B583; --sky-maghrib-text:#F0A399; --sky-isha-text:#B9B4E3;
  --blue:#9DB4D8; --blue-soft:#2A2C36; --green:#9CC8A8; --green-soft:#24302A; --amber:#F0C670; --amber-soft:#3A2F1E; --red:#F0A098; --red-soft:#3A2522;
  --sd-sky1:#2B1F33; --sd-sky2:#6E3B36; --sd-ground:#3A2A22; --sd-shade:#9A86B2; --sd-sun:#F0B060;
}}
:root[data-theme=dark]{
  --bg:#1A1416; --surface:#241B1C; --surface-2:#33261F; --line:#4A3A30;
  --text:#F3E6D3; --muted:#C9B49C; --btn:#33261F; --btn-text:#F3E6D3;
  --primary:#E0A15A; --primary-hover:#EDB676; --primary-soft:#3D2C22; --on-soft:#F6D7AE; --on-primary:#1A1416; --focus:#F2C38B;
  --shadow:0 4px 14px rgba(0,0,0,.45); --header:#1A1416; --header-line:#33261F; --menu:#241B1C;
  --sky-fajr:#A99BD6; --sky-sunrise:#F0C060; --sky-dhuhr:#EBCB8F; --sky-asr:#E39A5E; --sky-maghrib:#E07A6E; --sky-isha:#8E88C8;
  --sky-fajr-text:#C3B8E8; --sky-sunrise-text:#F5D48A; --sky-dhuhr-text:#F0D9A8; --sky-asr-text:#F0B583; --sky-maghrib-text:#F0A399; --sky-isha-text:#B9B4E3;
  --blue:#9DB4D8; --blue-soft:#2A2C36; --green:#9CC8A8; --green-soft:#24302A; --amber:#F0C670; --amber-soft:#3A2F1E; --red:#F0A098; --red-soft:#3A2522;
  --sd-sky1:#2B1F33; --sd-sky2:#6E3B36; --sd-ground:#3A2A22; --sd-shade:#9A86B2; --sd-sun:#F0B060;
}
:root{--font:"Noto Sans","Noto Sans Arabic",system-ui,sans-serif;--sd-head:"Noto Serif","Noto Sans Arabic",serif;--sd-num:"Noto Serif",serif}
html:lang(ur){--sd-head:"Noto Nastaliq Urdu","Noto Sans Arabic",serif}
body .ax-main :is(h1,h2,h3){font-family:var(--sd-head);font-weight:700;letter-spacing:0}
html:lang(ur) body .ax-main :is(h1,h2,h3){font-weight:700;line-height:1.9}
body .btn-fill{background:var(--primary)!important;color:var(--on-primary)!important;border-radius:999px}
body .btn-fill:hover{background:var(--primary-hover)!important}
:root:not(#sd) body .search .btn-text{color:var(--primary)!important}

/* ===== SUNDIAL HEADER: text tabs, and the shadow ruler as the bottom edge of the bar (sd.js) ===== */
body .sd-top{position:relative;border-bottom:0;background:var(--header)}
.sd-ruler{position:absolute;inset-inline:0;bottom:-6px;height:6px;z-index:2;background:var(--surface-2)}
.sd-ruler-fill{position:absolute;inset-block:0;inset-inline-start:0;width:0;background:var(--sd-shade);transition:width 1s}
.sd-ruler.is-night .sd-ruler-fill{width:0!important}
.sd-ruler s{position:absolute;top:-3px;width:2px;height:12px;background:var(--sd-sand)}
.sd-ruler .sd-r2{width:3px;background:var(--primary)}
@media (prefers-reduced-motion:reduce){.sd-ruler-fill{transition:none}}
body .sd-top .nav svg{display:none}
body .sd-top .nav>a,body .sd-top .nav .dd>.dd-btn{position:relative;padding:8px 12px;border-radius:8px;font-size:15px;font-weight:600;color:var(--muted);background:transparent}
body .sd-top .nav>a:hover,body .sd-top .nav .dd>.dd-btn:hover{color:var(--text);background:color-mix(in srgb,var(--sd-sand) 12%,transparent)}
body .sd-top .nav>a[aria-current]{color:var(--text)}
body .sd-top .nav>a[aria-current]::after{content:"";position:absolute;inset-inline:12px;bottom:0;height:3px;border-radius:3px;background:var(--sd-sand)}
body .sd-top .nav>a span,body .sd-top .nav .dd-btn span{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:nowrap}
body .sd-top .brand img{display:block;flex:0 0 32px;width:32px;height:32px}
body .sd-top .brand span{color:var(--primary);font-family:var(--sd-head);font-size:22px;font-weight:700}
html:lang(ur) body .sd-top .brand span{line-height:1.6}
/* flags keep their natural shape inside their small box */
body img[src*="flagcdn.com"]{object-fit:cover;object-position:center}
body .ax-main{padding-top:14px}

/* ===== SUNDIAL shadow gauge next to Asr (sd.js): the shadow past the noon shadow, ticks at 1 and 2 object lengths ===== */
.sd-gauge{position:relative;display:block;width:100%;max-width:84px;height:6px;margin:6px auto 0;border-radius:3px;background:color-mix(in srgb,var(--sd-shade) 22%,transparent);overflow:visible}
.sd-gauge i{position:absolute;inset-block:0;inset-inline-start:0;border-radius:3px;background:var(--sd-shade);transition:width .6s}
.sd-gauge s{position:absolute;top:-3px;width:2px;height:12px;border-radius:1px;background:var(--muted)}
.sd-gauge .sd-g1{inset-inline-start:40%}
.sd-gauge .sd-g2{inset-inline-start:80%;background:var(--primary)}
.sd-gauge.is-past1 i{background:var(--sd-sand)}
.sd-gauge.is-past2 i{background:var(--primary)}
@media (prefers-reduced-motion:reduce){.sd-gauge i{transition:none}}

/* small fixes in this theme: the count on a selected chip keeps the chip's text colour, the prayer settings card fits a 360px phone */
body .chip.on small,body .chip[aria-current] small{color:inherit;opacity:.85}
body .ax-main .pr-settings{grid-template-columns:minmax(0,1fr)!important}
body .ax-main .pr-settings>*,body .ax-main .pr-settings .pr-row{min-width:0;max-width:100%}
body .ax-main .pr-settings .pr-row{flex-wrap:wrap}

/* city and country head: a plain title block, the flag small and inline, counts as one line */
.sd-cityhead h1{margin:0}
.sd-ccline{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:8px 0 0;color:var(--muted);font-size:15px}
.sd-ccline img{border-radius:3px}
.sd-ccline .sep{opacity:.6}
.sd-cityhead .page-desc{max-width:72ch}

/* ===== SUNDIAL shape language: the Mughal pointed (ogee) arch as the top edge of panels and cards, plain colour fill ===== */
:root{--sd-arch:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V31C0 19 17 15 33 11C42 9 47 5 50 0C53 5 58 9 67 11C83 15 100 19 100 31V40Z'/%3E%3C/svg%3E")}
.sd-arch,body .ax-main .day{position:relative;overflow:visible!important;margin-top:46px;border:0!important;border-radius:0 0 18px 18px!important;background:var(--surface)!important;box-shadow:none!important}
.sd-arch::before,body .ax-main .day::before{content:"";position:absolute;inset-inline:0;bottom:100%;height:44px;background:var(--surface);pointer-events:none;
  -webkit-mask:var(--sd-arch) center/100% 100% no-repeat;mask:var(--sd-arch) center/100% 100% no-repeat}
.sd-arch-sm{position:relative;margin-top:14px;border-top-left-radius:0!important;border-top-right-radius:0!important;border-top:0!important}
.sd-arch-sm::before{content:"";position:absolute;inset-inline:-1px;bottom:100%;height:14px;background:var(--line);
  -webkit-mask:var(--sd-arch) center/100% 100% no-repeat;mask:var(--sd-arch) center/100% 100% no-repeat}
.sd-arch-sm::after{content:"";position:absolute;inset-inline:0;bottom:calc(100% - 1px);height:13px;background:var(--surface);
  -webkit-mask:var(--sd-arch) center/100% 100% no-repeat;mask:var(--sd-arch) center/100% 100% no-repeat}
/* section headings: a small arch outline before the title */
body .ax-main :is(.sd-sec,.card,.split-main section,.split-side section)>h2::before,body .ax-main .sd-home .sd-sec>h2::before{content:"";display:inline-block;width:.62em;height:.86em;margin-inline-end:.4em;vertical-align:-.06em;background:var(--sd-sand);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 28'%3E%3Cpath d='M1.5 27V14C1.5 8 7 6 10 1.5C13 6 18.5 8 18.5 14V27' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 28'%3E%3Cpath d='M1.5 27V14C1.5 8 7 6 10 1.5C13 6 18.5 8 18.5 14V27' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E") center/contain no-repeat}

/* ===== SUNDIAL face (sd.js): today's times as points on a sundial plate. The dotted line and the tile grid stay for core.js, hidden ===== */
.day.sd-has-face #line,.day.sd-has-face .day-grid{display:none!important}
.sd-face{margin:6px 0 4px}
.sd-face-svg{display:block;width:100%;max-width:560px;height:auto;margin:0 auto}
.sd-f-plate{fill:var(--bg);stroke:var(--sd-sand);stroke-width:2}
.sd-f-hour{stroke:var(--line);stroke-width:1.2}
.sd-f-noon{stroke:var(--sd-sand);stroke-width:1.6}
.sd-f-shadow{stroke:var(--sd-shade);stroke-width:7;stroke-linecap:round;opacity:.9}
.sd-f-gnomon{fill:var(--text)}
.sd-f-mark{fill:var(--surface);stroke:var(--muted);stroke-width:2}
.sd-f-asr1{stroke:var(--sd-sand);fill:var(--sd-sand)}
.sd-f-asr2{stroke:var(--primary);fill:var(--primary)}
.sd-f-mark.is-next{fill:var(--primary);stroke:var(--text)}
.sd-f-label{fill:var(--muted);font:500 17px var(--font)}
.sd-f-big{fill:var(--text);font:700 30px var(--sd-head)}
.sd-f-bigt{fill:var(--primary);font:600 40px var(--sd-num);font-variant-numeric:oldstyle-nums}
.sd-f-lead{stroke:var(--line);stroke-width:1}
@media (max-width:600px){.sd-f-label{font-size:21px}.sd-face-svg{max-width:none}}
.sd-f-time{font-family:var(--sd-num);font-variant-numeric:oldstyle-nums;font-weight:600;fill:var(--text)}

/* numbers in the theme's own style: serif with old-style figures */
.sd-nums b,.sd-geo b,.sd-ccline span{font-family:var(--sd-num);font-variant-numeric:oldstyle-nums proportional-nums}

/* prayer page: the six times as plain typographic rows instead of tiles */
body .ax-main .ptiles{display:block!important;margin:0;padding:0;border-top:1px solid var(--line)}
body .ax-main .ptile{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:2px 16px;min-height:0!important;padding:12px 4px!important;
  border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:start!important}
body .ax-main .ptile .ptile-time{grid-column:2;grid-row:1;font-family:var(--sd-num);font-variant-numeric:oldstyle-nums;font-size:22px}
body .ax-main .ptile .ptile-left,body .ax-main .ptile .ptile-note{grid-column:1 / -1;color:var(--muted)}
body .ax-main .ptile.is-next,body .ax-main .ptile.next{background:color-mix(in srgb,var(--sd-shade) 12%,transparent)!important}
body .ax-main .ptile .sd-gauge{grid-column:1 / -1;margin:4px 0 0}


/* cookie banner: one short row at the bottom on phones, never a box over a quarter of the screen (owner 2026-11-21) */
@media (max-width:640px){
  body .consent{inset-inline:0!important;bottom:0!important;max-width:none!important;margin:0!important;border-radius:0!important;border-inline:0!important;border-bottom:0!important;padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important;display:flex!important;align-items:center;gap:10px}
  body .consent[hidden]{display:none!important}
  body .consent p{margin:0!important;flex:1;font-size:12.5px!important;line-height:1.4}
  body .consent-btns{flex:0 0 auto;gap:6px!important}
  body .consent-btns .btn{min-height:34px!important;padding:5px 11px!important;font-size:12.5px!important}
}
