/* 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,conic-gradient(from 210deg,var(--sky-fajr),var(--sky-dhuhr),var(--sky-asr),var(--sky-sunrise),var(--sky-maghrib),var(--sky-isha),var(--sky-fajr)) 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,conic-gradient(from 210deg,var(--sky-fajr),var(--sky-dhuhr),var(--sky-asr),var(--sky-sunrise),var(--sky-maghrib),var(--sky-isha),var(--sky-fajr)) 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)}
/* 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}
/* 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}

/* ===== SOLAT AXIS v3 (stay-app). Keep when re-synced =====
   Palette: white, near-black #222, hairlines #DDDDDD, one rose-red accent (#E31C5F text-safe, #FF385C brand mark).
   Type: Figtree. No search in the header (owner's rule). The next-prayer card takes the colours of the sky of the coming prayer. */
:root{
  --bg:#FFFFFF; --surface:#F7F7F7; --surface-2:#EBEBEB; --line:#DDDDDD;
  --text:#222222; --muted:#6A6A6A; --btn:#F7F7F7; --btn-text:#222222;
  --rausch:#FF385C; --primary:#E31C5F; --primary-hover:#C1134E; --primary-soft:#FFF0F3; --on-soft:#A00D3E; --on-primary:#FFFFFF; --focus:#222222;
  --header:#FFFFFF; --header-line:#EBEBEB; --menu:#FFFFFF; --shadow:0 6px 20px rgba(0,0,0,.12);
  --font:"Figtree","Noto Sans Arabic","Noto Sans SC",system-ui,sans-serif;
}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){
  --bg:#141414; --surface:#1F1F1F; --surface-2:#2B2B2B; --line:#3A3A3A;
  --text:#F5F5F5; --muted:#B5B5B5; --btn:#1F1F1F; --btn-text:#F5F5F5;
  --primary:#FF5A7A; --primary-hover:#FF7B95; --primary-soft:#3A1620; --on-soft:#FFD3DC; --on-primary:#1A0008; --focus:#F5F5F5;
  --header:#141414; --header-line:#2B2B2B; --menu:#1F1F1F; --shadow:0 6px 20px rgba(0,0,0,.55);
}}
:root[data-theme=dark]{
  --bg:#141414; --surface:#1F1F1F; --surface-2:#2B2B2B; --line:#3A3A3A;
  --text:#F5F5F5; --muted:#B5B5B5; --btn:#1F1F1F; --btn-text:#F5F5F5;
  --primary:#FF5A7A; --primary-hover:#FF7B95; --primary-soft:#3A1620; --on-soft:#FFD3DC; --on-primary:#1A0008; --focus:#F5F5F5;
  --header:#141414; --header-line:#2B2B2B; --menu:#1F1F1F; --shadow:0 6px 20px rgba(0,0,0,.55);
}
body .btn{border-radius:8px;font-weight:600}
body .btn-fill{background:var(--primary);color:var(--on-primary)}
body .btn-fill:hover{background:var(--primary-hover)}
body h1,body h2{letter-spacing:-.01em}
body :focus-visible{outline:2px solid var(--focus);outline-offset:2px}

/* ---- header ---- */
body .sa-top{position:sticky;top:0;z-index:50;height:84px;background:var(--header);border-bottom:1px solid var(--header-line);box-shadow:none}
body .sa-top .bar{height:84px;max-width:1280px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}
body .sa-top .brand{justify-self:start;gap:10px}
body .sa-top .brand img{border-radius:10px}
body .sa-top .brand span{font-size:21px;font-weight:800;letter-spacing:-.02em;color:var(--rausch)}
body .sa-tabs{justify-self:center;display:flex;gap:6px}
body .sa-tabs a{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;height:72px;justify-content:center;padding:0 14px;color:var(--muted);font-size:13px;font-weight:600;border-radius:12px;background:transparent}
body .sa-tabs a svg{color:var(--muted);transition:transform .2s}
body .sa-tabs a:hover{color:var(--text)}
body .sa-tabs a:hover svg{transform:scale(1.08);color:var(--text)}
body .sa-tabs a[aria-current]{color:var(--text)}
body .sa-tabs a[aria-current] svg{color:var(--rausch)}
body .sa-tabs a[aria-current]::after{content:"";position:absolute;bottom:4px;inset-inline:14px;height:2px;border-radius:2px;background:var(--text)}
body .sa-top .bar-end{justify-self:end;display:flex;align-items:center;gap:4px}
body .sa-host{display:inline-flex;align-items:center;height:44px;padding:0 14px;border-radius:999px;color:var(--text);font-weight:600;font-size:14px;white-space:nowrap}
body .sa-host:hover{background:var(--surface)}
body .sa-top .icon-btn{width:44px;height:44px;border-radius:50%;color:var(--text)}
body .sa-top .icon-btn:hover{background:var(--surface)}
body .sa-pill{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 6px 0 14px;border:1px solid var(--line);border-radius:999px;background:var(--bg);color:var(--text);cursor:pointer}
[dir=rtl] body .sa-pill{padding:0 14px 0 6px}
body .sa-pill:hover,body .sa-acct.open .sa-pill{box-shadow:0 2px 6px rgba(0,0,0,.18)}
body .sa-face{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;overflow:hidden;color:var(--muted);font-weight:700}
body .sa-face img{width:100%;height:100%;object-fit:cover}
body .sa-menu{min-width:240px;padding:8px 0;border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.18);border:0}
body .sa-menu a,body .sa-menu-btn{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 16px;border:0;background:transparent;color:var(--text);font:500 14px var(--font);text-align:start;cursor:pointer}
body .sa-menu a:hover,body .sa-menu-btn:hover{background:var(--surface)}
body .sa-menu .sa-strong{font-weight:700}
body .sa-menu hr{margin:8px 0;border:0;border-top:1px solid var(--line)}
body .sa-menu .menu-head{padding:8px 16px;color:var(--muted);font-size:13px}
body .sa-menu .sa-only-small{display:none}
@media (max-width:900px){
  body .sa-top,body .sa-top .bar{height:68px}
  body .sa-top .bar{display:flex;justify-content:space-between}
  body .sa-tabs,body .sa-host{display:none}
  body .sa-menu .sa-only-small{display:flex}
  body .sa-top .brand span{font-size:19px}
}

/* ---- home ---- */
.sa-hero{padding:44px 0 6px;text-align:center}
.sa-hero h1{margin:0 auto 10px;max-width:20ch;font-size:clamp(30px,4.6vw,48px);line-height:1.08;font-weight:800}
.sa-tag{margin:0 0 26px;color:var(--muted);font-size:17px}
.sa .search-wrap{max-width:860px;margin:0 auto}
.sa .sa-search{display:flex;align-items:center;height:68px;padding:0 9px;border:1px solid var(--line);border-radius:999px;background:var(--bg);box-shadow:0 3px 12px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.08);text-align:start}
.sa-field{flex:1 1 0;min-width:0;display:flex;flex-direction:column;justify-content:center;height:66px;padding:0 24px;border-radius:999px;cursor:pointer}
.sa-field:hover{background:var(--surface)}
.sa-field+.sa-field{border-inline-start:1px solid var(--line)}
.sa-field span{font-size:12px;font-weight:800;color:var(--text)}
.sa-field :is(input,select){border:0;outline:0;background:transparent;color:var(--text);font:500 15px var(--font);padding:0;min-width:0;appearance:none;cursor:pointer}
.sa-field input{cursor:text}
.sa-field input::placeholder{color:var(--muted)}
.sa-near{display:flex;align-items:center;gap:8px;height:66px;padding:0 18px;border-inline-start:1px solid var(--line);color:var(--text);font-weight:700;font-size:14px;white-space:nowrap;border-radius:999px}
.sa-near:hover{background:var(--surface)}
.sa-go{display:inline-flex;align-items:center;gap:8px;height:50px;padding:0 20px;border:0;border-radius:999px;background:linear-gradient(90deg,#E61E4D,#E31C5F 50%,#D70466);color:#fff;font:700 15px var(--font);cursor:pointer}
.sa-go:hover{background:#D70466}
.sa-cats{display:flex;justify-content:center;gap:clamp(20px,3vw,44px);margin:34px 0 0;padding:0 4px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.sa-cats::-webkit-scrollbar{display:none}
.sa-cats a{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 2px 14px;border-bottom:2px solid transparent;color:var(--muted);font-size:13px;font-weight:600}
.sa-cats a svg{color:var(--text);opacity:.75}
.sa-cats a:hover{color:var(--text);border-bottom-color:var(--line)}
.sa-cats a:hover svg{opacity:1}

/* next prayer: the sky of the coming prayer */
.sa-sky{--sky:linear-gradient(120deg,#0E5FA8,#3E95D8 55%,#9CCDF2);position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:28px;align-items:center;max-width:none;margin:32px 0 0;padding:30px 32px;border:0;border-radius:24px;background:var(--sky);color:#fff;overflow:hidden}
.sa-sky:has(.is-next[data-k=fajr]){--sky:linear-gradient(120deg,#23255E,#5B4FB4 55%,#B07DB8)}
.sa-sky:has(.is-next[data-k=dhuhr]){--sky:linear-gradient(120deg,#0E5FA8,#2F86CF 55%,#6FB4E8)}
.sa-sky:has(.is-next[data-k=asr]){--sky:linear-gradient(120deg,#8A4B08,#C27414 55%,#E39A2E)}
.sa-sky:has(.is-next[data-k=maghrib]){--sky:linear-gradient(120deg,#5A1F4F,#B23A48 55%,#E5673A)}
.sa-sky:has(.is-next[data-k=isha]){--sky:linear-gradient(120deg,#08132B,#14305F 55%,#2E4F8F)}
.sa-sky .day-label{margin:0 0 6px;font-size:15px;font-weight:700;color:rgba(255,255,255,.88)}
.sa-sky .day-next{margin:0;font-size:clamp(30px,4vw,42px);line-height:1.1;font-weight:800;color:#fff}
.sa-sky .day-next span{color:#fff!important}
.sa-sky-place{display:flex;align-items:center;gap:6px;margin:12px 0 18px;font-size:15px;color:rgba(255,255,255,.9)}
.sa-sky-place .day-place{color:inherit}
.sa-sky-loc{height:42px;padding:0 18px;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:transparent;color:#fff;font:700 14px var(--font);cursor:pointer}
.sa-sky-loc:hover{background:rgba(255,255,255,.14)}
.sa-sky .sa-sky-acts{gap:10px}
.sa-sky .seg{border-color:rgba(255,255,255,.7);background:rgba(255,255,255,.12)}
.sa-sky .seg button{height:40px;color:#fff;font-weight:700}
.sa-sky .seg button + button{border-inline-start-color:rgba(255,255,255,.5)}
.sa-sky .seg button.on{background:#fff;color:#222}
.sa-sky .seg button:focus-visible{outline:2px solid #fff}
.sa-sky .day-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0}
.sa-sky .day-grid.is-combined{grid-template-columns:repeat(3,minmax(0,1fr))}
.sa-sky .day-grid>div{display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 4px;border:1px solid rgba(255,255,255,.35);border-radius:14px;background:rgba(255,255,255,.1);text-align:center}
.sa-sky .day-grid>div b{font-size:13px;font-weight:700;color:#fff}
.sa-sky .day-grid>div small{font:700 18px var(--font);color:#fff}
.sa-sky .day-grid>div.is-next{background:#fff;border-color:#fff}
.sa-sky .day-grid>div.is-next :is(b,small){color:#222}
.sa-sky .asr-sw{margin-top:14px;color:#fff}
.sa-sky .asr-sw :is(.asr-sw-lbl,.asr-sw-help){color:rgba(255,255,255,.9)}
.sa-sky .asr-sw .mn-btn{background:rgba(255,255,255,.16);border-color:transparent;color:#fff}
.sa-sky-line{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);margin:0}

/* rows of places */
.sa-row{margin:44px 0 0}
.sa-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.sa-row-head h2{margin:0;font-size:22px;font-weight:800}
.sa-row-head h2 a{display:inline-flex;align-items:center;gap:8px;color:var(--text)}
.sa-row-head h2 a:hover{text-decoration:underline}
.sa-arrows{display:flex;gap:8px}
.sa-arrows button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:var(--bg);color:var(--text);cursor:pointer}
.sa-arrows button:hover{box-shadow:0 2px 6px rgba(0,0,0,.15)}
.sa-strip{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 4 * 18px) / 5);gap:18px;margin:0;padding:0 0 6px;list-style:none;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth}
.sa-strip::-webkit-scrollbar{display:none}
.sa-strip li{scroll-snap-align:start;min-width:0}
.sa-tile{display:flex;flex-direction:column;gap:2px;color:var(--text)}
.sa-pic{position:relative;display:grid;place-items:center;aspect-ratio:20/19;margin:0 0 10px;border-radius:16px;background:var(--soft);color:var(--c)}
.sa-tile:hover .sa-pic{filter:brightness(.96)}
.sa-badge{position:absolute;top:12px;inset-inline-start:12px;padding:5px 11px;border-radius:999px;background:#fff;color:#222;font-size:12px;font-weight:800;box-shadow:0 1px 4px rgba(0,0,0,.18)}
.sa-tile-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}
.sa-tile-top b{font-size:15px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sa-rate{flex:0 0 auto;font-size:14px}
.sa-tile small{color:var(--muted);font-size:14px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sa-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0;padding:0;list-style:none}
.sa-tools a{display:flex;flex-direction:column;gap:4px;color:var(--text)}
.sa-tool-art{display:grid;place-items:center;aspect-ratio:16/10;margin:0 0 10px;border-radius:16px;background:var(--soft);color:var(--c)}
.sa-tools a:hover .sa-tool-art{filter:brightness(.96)}
.sa-tools b{font-size:16px;font-weight:700}
.sa-tools small{color:var(--muted);font-size:14px}
.sa-trust{margin:56px 0 0;padding:40px 0 0;border-top:1px solid var(--line)}
.sa-trust h2{margin:0 0 24px;font-size:26px;font-weight:800}
.sa-trust ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:0;padding:0;list-style:none}
.sa-trust li{display:flex;flex-direction:column;gap:6px}
.sa-trust-ic{display:grid;place-items:center;width:52px;height:52px;margin-bottom:6px;border-radius:14px;background:var(--primary-soft);color:var(--primary)}
.sa-trust b{font-size:17px;font-weight:700}
.sa-trust small{color:var(--muted);font-size:15px;line-height:1.6}
.sa-cta{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;margin:56px 0 0;padding:44px 48px;border-radius:24px;background:linear-gradient(120deg,#D70466,#E31C5F 45%,#FF385C);color:#fff;overflow:hidden}
.sa-cta h2{margin:0 0 8px;font-size:clamp(24px,3vw,34px);font-weight:800;color:#fff;max-width:18ch}
.sa-cta p{margin:0 0 22px;font-size:16px;color:rgba(255,255,255,.92);max-width:46ch}
.sa-cta-btn{display:inline-flex;align-items:center;height:48px;padding:0 24px;border-radius:10px;background:#fff;color:#222;font-weight:800}
.sa-cta-btn:hover{background:#F7F7F7}
.sa-cta-art{flex:0 0 auto;color:rgba(255,255,255,.35)}
@media (max-width:900px){
  .sa-strip{grid-auto-columns:calc((100% - 2 * 14px) / 2.4);gap:14px}
  .sa-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sa-trust ul{grid-template-columns:minmax(0,1fr);gap:22px}
  .sa-sky{grid-template-columns:minmax(0,1fr);gap:18px;padding:24px 20px}
  .sa-sky .day-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sa-cta{padding:32px 24px}
  .sa-cta-art{display:none}
}
@media (max-width:640px){
  .sa-hero{padding:26px 0 4px}
  .sa .sa-search{flex-wrap:wrap;height:auto;padding:8px;border-radius:24px;gap:4px}
  .sa-field{flex:1 1 100%;height:56px;padding:0 16px;border-radius:16px}
  .sa-field+.sa-field{border-inline-start:0;border-top:1px solid var(--line)}
  .sa-near{flex:1 1 auto;height:48px;border-inline-start:0;justify-content:center;border:1px solid var(--line)}
  .sa-go{flex:1 1 auto;justify-content:center;height:48px}
  .sa-cats{justify-content:flex-start}
  .sa-arrows{display:none}
  .sa-strip{grid-auto-columns:calc((100% - 14px) / 1.6)}
}
@media (prefers-reduced-motion:reduce){.sa-strip{scroll-behavior:auto}.sa-tabs a svg{transition:none}}

/* ---- footer ---- */
body .sa-foot{margin-top:64px;padding:0;background:var(--surface);border-top:1px solid var(--header-line);color:var(--text)}
body .sa-foot>.wrap{display:block;max-width:1280px;padding-top:40px}
.sa-insp{padding:44px 0 0;border-bottom:1px solid var(--line)}
.sa-insp .wrap{max-width:1280px}
.sa-insp h2{margin:0 0 14px;font-size:22px;font-weight:800}
.sa-insp-tabs{display:flex;flex-wrap:wrap;gap:0 4px;border-bottom:1px solid var(--line)}
.sa-insp-tabs input{position:absolute;opacity:0;width:1px;height:1px}
.sa-insp-tabs label{padding:10px 12px 12px;border-bottom:2px solid transparent;color:var(--muted);font-weight:700;font-size:14px;cursor:pointer}
.sa-insp-tabs label:hover{color:var(--text)}
.sa-insp-tabs input:checked+label{color:var(--text);border-bottom-color:var(--text)}
.sa-insp-tabs input:focus-visible+label{outline:2px solid var(--focus);outline-offset:-2px;border-radius:6px}
.sa-insp-panel{display:none;flex-basis:100%;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 18px;margin:0;padding:24px 0 34px;list-style:none}
#saInsp0:checked~.sa-insp-panel[data-for=saInsp0],#saInsp1:checked~.sa-insp-panel[data-for=saInsp1],#saInsp2:checked~.sa-insp-panel[data-for=saInsp2],
#saInsp3:checked~.sa-insp-panel[data-for=saInsp3],#saInsp4:checked~.sa-insp-panel[data-for=saInsp4]{display:grid}
.sa-insp-panel a{display:flex;flex-direction:column;color:var(--text)}
.sa-insp-panel a:hover b{text-decoration:underline}
.sa-insp-panel b{font-size:14px;font-weight:700}
.sa-insp-panel small{color:var(--muted);font-size:14px}
.sa-foot-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-bottom:36px}
body .sa-foot .sa-foot-cols nav{display:block!important;margin:0;padding:0}
.sa-foot-cols h2{margin:0 0 14px;font-size:15px;font-weight:800}
body .sa-foot .sa-foot-cols ul{display:grid!important;gap:12px;margin:0;padding:0;list-style:none}
body .sa-foot .sa-foot-cols a{display:inline;padding:0;height:auto;color:var(--text);font-size:14px}
.sa-foot-cols a:hover{text-decoration:underline}
.sa-foot-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:22px 0 26px;border-top:1px solid var(--line);font-size:14px}
.sa-foot-bottom nav{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px}
body .sa-foot .sa-foot-bottom a{padding:0;height:auto;color:var(--text)}
.sa-foot-bottom a:hover{text-decoration:underline}
.sa-foot-lang{display:inline-flex;align-items:center;gap:6px;font-weight:700}
@media (max-width:900px){.sa-insp-panel{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.sa-insp-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.sa-foot-cols{grid-template-columns:minmax(0,1fr);gap:0}body .sa-foot .sa-foot-cols nav{padding:18px 0!important;border-bottom:1px solid var(--line)}body .sa-foot .sa-foot-cols nav:last-child{border-bottom:0}body .sa-foot .sa-foot-cols ul{grid-template-columns:repeat(2,minmax(0,1fr))}.sa-foot-bottom{flex-direction:column;align-items:flex-start}}
/* ===== end SOLAT AXIS v3 ===== */
/* tiles: a faint eight-point star lattice over the type colour, so the cards are not flat squares; the where field is the widest */
.sa-pic{background:radial-gradient(circle at 28% 22%,rgba(255,255,255,.55),transparent 62%),var(--soft);overflow:hidden}
.sa-pic::before{content:"";position:absolute;inset:0;opacity:.55;background-size:56px 56px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2756%27 height=%2756%27 viewBox=%270 0 56 56%27%3E%3Cg fill=%27none%27 stroke=%27%23000%27 stroke-opacity=%27.07%27 stroke-width=%271.2%27%3E%3Cpath d=%27M28 6 34 22 50 28 34 34 28 50 22 34 6 28 22 22Z%27/%3E%3Crect x=%2716%27 y=%2716%27 width=%2724%27 height=%2724%27 transform=%27rotate(45 28 28)%27/%3E%3C/g%3E%3C/svg%3E")}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .sa-pic::before{filter:invert(1)}}
:root[data-theme=dark] .sa-pic::before{filter:invert(1)}
.sa-pic>svg,.sa-pic>.sa-badge{position:relative}
.sa-strip li:nth-child(3n+2) .sa-pic::before{background-size:44px 44px}
.sa-strip li:nth-child(3n) .sa-pic::before{background-size:68px 68px;transform:rotate(12deg) scale(1.3)}
.sa-f-where{flex:2 1 0}
body .sa-menu [hidden]{display:none!important}
/* accent = the Solat logo blue instead of rose-red (chosen by the owner); same places, same contrast */
:root{--rausch:#1E6FBF;--primary:#1A5BA8;--primary-hover:#134A8C;--primary-soft:#E8F1FB;--on-soft:#0F3E73;--on-primary:#FFFFFF}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--rausch:#7EB6F0;--primary:#7EB6F0;--primary-hover:#A3CBF5;--primary-soft:#15283D;--on-soft:#D3E6FA;--on-primary:#06213B}}
:root[data-theme=dark]{--rausch:#7EB6F0;--primary:#7EB6F0;--primary-hover:#A3CBF5;--primary-soft:#15283D;--on-soft:#D3E6FA;--on-primary:#06213B}
.sa-go{background:linear-gradient(90deg,#2E7BC4,#1A5BA8 50%,#123F7A)}
.sa-go:hover{background:#123F7A}
.sa-cta{background:linear-gradient(120deg,#0F3466,#1A5BA8 50%,#2E7BC4)}

/* search bar v2: equal segments with a label over each value, short dividers, a round button (a full bar on phones) */
.sa .sa-search{height:68px;padding:0 8px 0 0;gap:0}
[dir=rtl] .sa .sa-search{padding:0 0 0 8px}
.sa .sa-field{position:relative;height:66px;padding:0 24px;justify-content:center;gap:2px}
.sa .sa-field+.sa-field{border-inline-start:0}
.sa .sa-field+.sa-field::before{content:"";position:absolute;inset-inline-start:0;top:18px;bottom:18px;width:1px;background:var(--line)}
.sa .sa-field:hover::before,.sa .sa-field:hover+.sa-field::before{opacity:0}
.sa .sa-f-where{flex:1.6 1 0}
.sa .sa-f-what{flex:1.1 1 0}
.sa .sa-f-near{flex:1 1 0;color:var(--text)}
.sa .sa-field>span{font-size:12px;font-weight:800;letter-spacing:.01em}
.sa .sa-field :is(input,select),.sa .sa-f-near em{font:500 15px var(--font);color:var(--muted);font-style:normal}
.sa .sa-field input{color:var(--text)}
.sa .sa-f-near em{display:flex;align-items:center;gap:6px;white-space:nowrap}
.sa .sa-go{flex:0 0 52px;width:52px;height:52px;padding:0;justify-content:center;border-radius:50%}
.sa .sa-go-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:640px){
  .sa .sa-search{flex-direction:column;align-items:stretch;height:auto;padding:6px;border-radius:24px}
  .sa .sa-field{flex:none;height:58px;padding:0 18px;border-radius:16px}
  .sa .sa-field+.sa-field::before{inset-inline:18px;top:0;bottom:auto;width:auto;height:1px}
  .sa .sa-go{flex:none;width:auto;height:50px;margin-top:6px;border-radius:14px;gap:8px}
  .sa .sa-go-t{position:static;width:auto;height:auto;overflow:visible;clip:auto}
}
.sa .sa-field :is(input,select){height:22px;line-height:22px;margin:0}
.sa .sa-field>span{line-height:16px}
.sa .sa-go,.sa .sa-go svg{color:#fff;stroke:#fff}
.sa .sa-field :is(input,select){flex:none!important;height:22px!important}
@media (max-width:640px){.sa .sa-field{border-radius:0!important;box-shadow:none!important;border:0!important}}
/* the Asr menu inside the sky card: the card no longer clips it, the open list uses normal menu colours, the button text stays inside the button */
.sa-sky{overflow:visible}
.sa-sky .asr-sw{position:relative;z-index:5}
.sa-sky .asr-sw .mn-btn{max-width:100%;min-width:0;overflow:hidden}
.sa-sky .asr-sw .mn-btn .mn-txt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.sa-sky .mn-pop{color:var(--text);background:var(--menu);z-index:60;min-width:min(320px,86vw);max-width:min(420px,92vw)}
.sa-sky .mn-pop :is(li,span,b,small,[role=option]){color:var(--text)}
.sa-sky .mn-pop [role=option]{white-space:normal;line-height:1.35}

/* ===== SOLAT AXIS v3 group 2: places, place, city, country. Keep when re-synced ===== */
/* shared: the picture tile with the star lattice (destination cards, listing cards, city place cards) */
:is(.sa-dest-pic,.sa-card-pic,.sa-grid-rows .row-ic){position:relative;display:grid;place-items:center;aspect-ratio:4/3;border-radius:14px;overflow:hidden;
  background:radial-gradient(circle at 28% 22%,rgba(255,255,255,.55),transparent 62%),var(--soft,var(--surface));color:var(--c,var(--text))}
:is(.sa-dest-pic,.sa-card-pic,.sa-grid-rows .row-ic)::before{content:"";position:absolute;inset:0;opacity:.55;background-size:56px 56px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2756%27 height=%2756%27 viewBox=%270 0 56 56%27%3E%3Cg fill=%27none%27 stroke=%27%23000%27 stroke-opacity=%27.07%27 stroke-width=%271.2%27%3E%3Cpath d=%27M28 6 34 22 50 28 34 34 28 50 22 34 6 28 22 22Z%27/%3E%3Crect x=%2716%27 y=%2716%27 width=%2724%27 height=%2724%27 transform=%27rotate(45 28 28)%27/%3E%3C/g%3E%3C/svg%3E")}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) :is(.sa-dest-pic,.sa-card-pic,.sa-grid-rows .row-ic)::before{filter:invert(1)}}
:root[data-theme=dark] :is(.sa-dest-pic,.sa-card-pic,.sa-grid-rows .row-ic)::before{filter:invert(1)}
:is(.sa-dest-pic,.sa-card-pic)>*{position:relative}

/* page heads on these pages: big, plain, no box */
body .pl-page .pl-head,body .sa-city .page-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;margin:8px 0 22px;padding:0;border:0;background:transparent}
body :is(.pl-page,.sa-city,.pl) h1{font-size:clamp(26px,3.2vw,34px);font-weight:800;line-height:1.15;margin:0 0 6px}
body :is(.pl-page,.sa-city,.pl) .page-sub{color:var(--muted);font-size:15px}

/* filters: one pill search and outline pill menus */
body .pl-form .pl-search{max-width:680px;height:56px;border:1px solid var(--line);border-radius:999px;box-shadow:0 3px 12px rgba(0,0,0,.08);background:var(--bg);padding:0 6px 0 20px}
[dir=rtl] body .pl-form .pl-search{padding:0 20px 0 6px}
body .pl-form .pl-search .btn{height:44px;border-radius:999px}
body .pl-filters{gap:8px;margin:14px 0 22px}
body .pl-filters .mn-btn{height:40px;border:1px solid var(--line);border-radius:999px;background:var(--bg);font-weight:600}
body .pl-filters .mn-btn:hover{border-color:var(--text)}

/* countries and cities: destination cards */
body .pl-page .pl-grid,body .sa-dests{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:26px 18px!important;margin:0;padding:0;list-style:none}
body .pl-page .sa-dest{display:flex!important;flex-direction:column;align-items:stretch!important;justify-content:flex-start!important;gap:4px!important;aspect-ratio:auto!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;text-align:start!important;color:var(--text)}
.sa-dest{display:flex;flex-direction:column;gap:4px;color:var(--text)}
.sa-dest-pic{margin:0 0 8px}
.sa-dest-pic img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;box-shadow:none!important}
.sa-dest-ini{font-size:72px;font-weight:800;line-height:1;opacity:.6}
.sa-dest:hover .sa-dest-pic{filter:brightness(.95)}
.sa-dest-name{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.sa-dest-name b{font-size:16px;font-weight:700}
.sa-dest-n{flex:0 0 auto;color:var(--muted);font-size:14px}
.sa-dest-sub{display:flex;flex-wrap:wrap;gap:2px 10px;color:var(--muted);font-size:13px}

/* results: listing cards beside a map that stays in view, pins as name pills */
body .pl-body.has-map{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:28px;align-items:start}
body .pl-body.has-map .pl-listcol{order:1}
body .pl-body.has-map .pl-mapcol{order:2;position:sticky;top:100px}
body .pl-body.has-map .pl-map{height:calc(100vh - 130px);min-height:420px;border-radius:16px;border:0;overflow:hidden}
.sa-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px;margin:0;padding:0;list-style:none}
body .pl-body:not(.has-map) .sa-cards{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.sa-card{display:flex;flex-direction:column;gap:2px;color:var(--text)}
.sa-card:hover .sa-card-pic{filter:brightness(.95)}
.sa-card-pic{margin:0 0 8px}
.sa-card-pic .sa-badge{position:absolute;top:12px;inset-inline-start:12px}
.sa-card-txt{display:flex;flex-direction:column;gap:1px;min-width:0}
.sa-card-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.sa-card-top b{font-size:15px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sa-card small{color:var(--muted);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sa-card-am{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px;color:var(--muted)}
.sa-card-auto{font-size:12px;color:var(--muted)}
.sa-pin{background:none!important;border:0!important}
.sa-pin-t{display:inline-block;transform:translate(-50%,-50%);padding:5px 11px;border-radius:999px;background:#fff;color:#222;font:800 12px var(--font);white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,.28);cursor:pointer}
.sa-pin:hover .sa-pin-t,.sa-pin:focus .sa-pin-t{background:#222;color:#fff;transform:translate(-50%,-50%) scale(1.06)}
body .pl-pager{display:flex;justify-content:center;gap:6px;margin:30px 0 0}
body .pl-pager .pl-pg{min-width:40px;height:40px;border-radius:999px;border:0}
body .pl-pager .pl-pg.on{background:var(--text);color:var(--bg)}

/* place page: listing layout */
body .pl .pl-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 24px;margin:8px 0 18px;padding:0;border:0;background:transparent}
body .pl .pl-head>*:not(.pl-actions){grid-column:1}
body .pl .pl-head .pl-actions{grid-column:2;grid-row:1 / span 4;align-self:end;display:flex;gap:4px;margin:0;padding:0;overflow:visible}
body .pl .pl-act{flex-direction:row;gap:8px;padding:8px 12px;border-radius:8px;font-weight:700;font-size:14px;text-decoration:underline;text-underline-offset:3px}
body .pl .pl-act:hover{background:var(--surface)}
body .pl .pl-act .pl-act-ic{width:auto;height:auto;border:0!important;background:transparent!important;color:var(--text)!important}
body .pl .pl-head :is(.pl-act-main,a.pl-act[href^="/qibla"],a.pl-act[href^="tel:"],a.pl-act[target="_blank"]){display:none}
body .pl .pl-badges{display:flex;flex-wrap:wrap;gap:6px}
body .pl .pl-type,body .pl .pl-pill{border-radius:999px}
.sa-mosaic{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:8px;height:380px;margin:0 0 34px;border-radius:18px;overflow:hidden}
.sa-mosaic>span{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:14px;text-align:center;
  background:radial-gradient(circle at 28% 22%,rgba(255,255,255,.55),transparent 62%),var(--soft);color:var(--c);overflow:hidden}
.sa-mosaic>span::before{content:"";position:absolute;inset:0;opacity:.5;background-size:56px 56px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2756%27 height=%2756%27 viewBox=%270 0 56 56%27%3E%3Cg fill=%27none%27 stroke=%27%23000%27 stroke-opacity=%27.07%27 stroke-width=%271.2%27%3E%3Cpath d=%27M28 6 34 22 50 28 34 34 28 50 22 34 6 28 22 22Z%27/%3E%3Crect x=%2716%27 y=%2716%27 width=%2724%27 height=%2724%27 transform=%27rotate(45 28 28)%27/%3E%3C/g%3E%3C/svg%3E")}
.sa-mosaic>span>*{position:relative}
.sa-mo-big{grid-row:1 / span 2}
.sa-mo-big b{font-size:22px;font-weight:800;color:var(--text)}
.sa-mo b{font-size:18px;font-weight:800;color:var(--text)}
.sa-mo small{font-size:13px;color:var(--muted)}
.sa-mo:nth-child(3),.sa-mo:nth-child(5){filter:saturate(.75) brightness(1.03)}
body .pl .pl-split{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:64px;align-items:start}
body .pl .pl-side{position:sticky;top:100px;display:grid;gap:16px}
.sa-over{padding:0 0 24px!important;border:0!important;border-bottom:1px solid var(--line)!important}
.sa-over h2{margin:0 0 4px!important;font-size:22px!important}
.sa-over-sub{margin:0 0 16px;color:var(--muted)}
.sa-over-badge{display:flex;align-items:center;gap:14px}
.sa-over-badge>span:last-child{display:flex;flex-direction:column}
.sa-over-badge small{color:var(--muted)}
.sa-over-ic{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--primary-soft);color:var(--primary)}
body .pl .sa-book{padding:22px!important;border:1px solid var(--line);border-radius:18px;box-shadow:0 6px 18px rgba(0,0,0,.12)!important}
body .pl .sa-book #plTimesSec{margin:0;padding:0!important;border:0!important}
body .pl .sa-book #plTimesSec>h2{font-size:20px!important;margin:0 0 12px}
body .pl .sa-book .pl-day{--sky:linear-gradient(120deg,#0E5FA8,#2F86CF 55%,#6FB4E8);padding:18px;border:0;border-radius:14px;background:var(--sky);color:#fff}
body .pl .sa-book .pl-day:has(.is-next[data-k=fajr]){--sky:linear-gradient(120deg,#23255E,#5B4FB4 55%,#B07DB8)}
body .pl .sa-book .pl-day:has(.is-next[data-k=asr]){--sky:linear-gradient(120deg,#8A4B08,#C27414 55%,#E39A2E)}
body .pl .sa-book .pl-day:has(.is-next[data-k=maghrib]){--sky:linear-gradient(120deg,#5A1F4F,#B23A48 55%,#E5673A)}
body .pl .sa-book .pl-day:has(.is-next[data-k=isha]){--sky:linear-gradient(120deg,#08132B,#14305F 55%,#2E4F8F)}
body .pl .sa-book .pl-day :is(.day-next,.day-next span,.day-meta,.day-meta span){color:#fff!important}
body .pl .sa-book .pl-day .day-next{font-size:24px;font-weight:800}
body .pl .sa-book .pl-day .day-top{flex-direction:column;align-items:flex-start;gap:10px}
body .pl .sa-book .pl-day .seg{background:rgba(255,255,255,.18)}
body .pl .sa-book .pl-day .seg button{color:#fff}
body .pl .sa-book .pl-day .seg button.on{background:#fff;color:#222}
body .pl .sa-book .pl-day .line{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
body .pl .sa-book .pl-day .day-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:14px 0 0}
body .pl .sa-book .pl-day .day-grid>div{display:flex;flex-direction:column;align-items:center;padding:10px 4px;border:1px solid rgba(255,255,255,.35);border-radius:12px;background:rgba(255,255,255,.1);color:#fff}
body .pl .sa-book .pl-day .day-grid>div :is(b,small){color:#fff}
body .pl .sa-book .pl-day .day-grid>div small{font-weight:800;font-size:16px}
body .pl .sa-book .pl-day .day-grid>div.is-next{background:#fff}
body .pl .sa-book .pl-day .day-grid>div.is-next :is(b,small){color:#222}
body .pl .sa-book .pl-day .asr-sw :is(.asr-sw-lbl,.asr-sw-help){color:rgba(255,255,255,.9)}
body .pl .sa-book .pl-day .asr-sw .mn-btn{background:rgba(255,255,255,.18);color:#fff;border-color:transparent}
body .pl .sa-book .mn-pop{color:var(--text)}
body .pl .sa-book .pl-tt{margin-top:12px;border:0;padding:0}
body .pl .sa-book .pl-tt-head .btn{width:100%;justify-content:center}
.sa-book-acts{display:grid;gap:10px;margin-top:16px}
.sa-book-go{display:flex;align-items:center;justify-content:center;gap:10px;height:50px;border:0;border-radius:10px;background:linear-gradient(90deg,#2E7BC4,#1A5BA8 50%,#123F7A);color:#fff;font:800 16px var(--font);cursor:pointer}
.sa-book-go:hover{background:#123F7A}
.sa-book-row{display:flex;gap:8px}
.sa-book-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;height:44px;border:1px solid var(--text);border-radius:10px;color:var(--text);font-weight:700;font-size:14px}
.sa-book-btn:hover{background:var(--surface)}

/* city page */
body .sa-city .page-head{display:block}
.sa-about{margin:0 0 24px;padding:0 0 22px;border-bottom:1px solid var(--line)}
.sa-about h2{margin:0 0 10px;font-size:22px}
.sa-more summary{display:inline-block;margin-top:8px;font-weight:700;text-decoration:underline;cursor:pointer;list-style:none}
.sa-more summary::-webkit-details-marker{display:none}
.sa-more[open] summary{display:none}
body .sa-city .sa-sky-city{display:block;margin:0 0 30px;padding:26px 28px}
body .sa-city .sa-sky-city .day-top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px}
body .sa-city .sa-sky-city :is(.day-meta,.day-meta span){color:rgba(255,255,255,.9)!important}
body .sa-city .sa-sky-city .day-actions{display:flex;gap:8px;align-items:center}
body .sa-city .sa-sky-city .seg{background:rgba(255,255,255,.18)}
body .sa-city .sa-sky-city .seg button{color:#fff}
body .sa-city .sa-sky-city .seg button.on{background:#fff;color:#222}
body .sa-city .sa-sky-city .day-actions .btn{background:#fff;color:#222;border:0}
body .sa-city .sa-sky-city .day-grid{margin-top:18px}
body .sa-city .sa-sky-city .line{position:absolute!important}
.sa-grid-rows{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px!important}
.sa-grid-rows>li+li .row{border-top:0!important}
body .sa-grid-rows .row{display:flex!important;flex-direction:column;align-items:stretch;gap:8px;padding:0!important;background:transparent!important}
body .sa-grid-rows .row:hover{background:transparent!important}
body .sa-grid-rows .row:hover .row-ic{filter:brightness(.95)}
body .sa-grid-rows .row-ic{width:100%!important;height:auto!important;flex:none!important;border-radius:14px!important}
body .sa-grid-rows .row-ic svg{width:40px;height:40px}
body .sa-grid-rows .row-go{display:none}
body .sa-grid-rows .row-txt b{font-size:15px}
body .sa-city .split{grid-template-columns:minmax(0,1fr) 340px;gap:48px}

@media (max-width:900px){
  body .pl-body.has-map{grid-template-columns:minmax(0,1fr)}
  body .pl-body.has-map .pl-mapcol{position:static;order:0}
  body .pl-body.has-map .pl-map{height:300px;min-height:0}
  body .pl .pl-split,body .sa-city .split{grid-template-columns:minmax(0,1fr);gap:28px}
  body .pl .pl-side{position:static}
  .sa-mosaic{height:240px;grid-template-columns:2fr 1fr}
  .sa-mosaic>.sa-mo:nth-child(n+4){display:none}
  .sa-grid-rows{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .sa-cards{grid-template-columns:minmax(0,1fr)}
  body .pl .pl-head{grid-template-columns:minmax(0,1fr)}
  body .pl .pl-head .pl-actions{grid-column:1;grid-row:auto}
  .sa-mosaic{height:200px;margin-bottom:24px}
  body .pl-page .pl-grid,body .sa-dests{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px!important}
}
/* ===== end group 2 ===== */
/* group 2 fixes: listing cards win over the base row layout; place main column sections are plain blocks split by lines; header tab without a box */
body .sa-cards .sa-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important}
body .sa-cards .sa-card-pic{width:100%}
body .sa-cards>li{border:0!important;padding:0!important}
body .pl .split-main>.pl-sec:not(.pl-rx-card){margin:0!important;padding:28px 0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body .pl .split-main>.pl-sec:not(.pl-rx-card)>:is(h2.pl-h2,.sect-head):first-child{margin:0 0 14px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;font-size:22px!important}
body .pl .split-main>.sa-over{padding-top:0!important}
body .pl .pl-rx-card{margin:28px 0!important;padding:24px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--surface)!important}
body .pl .pl-side>.pl-card:not(.sa-book){border:1px solid var(--line);border-radius:16px;box-shadow:none}
body .pl .pl-side>.pl-card:not(.pl-cta)>h2:first-child{margin:0 0 12px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;font-size:18px!important}
body .sa-tabs a[aria-current],body .sa-tabs a:hover{background:transparent!important}
/* phones: the prayer card comes right after the picture mosaic, before the long main column */
@media (max-width:900px){body .pl .pl-split{display:flex;flex-direction:column}body .pl .pl-side{display:contents}body .pl .sa-book{order:-1}body .pl .pl-side>.pl-card:not(.sa-book){order:2}}
body .sa-city .sa-sky-city .line{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;margin:0!important;padding:0!important}
/* Asr menu inside the prayer cards (place side card, city and home sky cards): the button and its list stay inside the card width */
:is(.sa-book,.sa-sky) .asr-sw{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0}
:is(.sa-book,.sa-sky) .asr-sw .mn-wrap{position:relative;flex:1 1 220px;min-width:0;max-width:100%}
:is(.sa-book,.sa-sky) .asr-sw .mn-btn{width:100%;max-width:100%;min-width:0;justify-content:space-between;overflow:hidden}
:is(.sa-book,.sa-sky) .asr-sw .mn-btn .mn-txt{flex:1 1 auto;min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start}
:is(.sa-book,.sa-sky) .asr-sw .mn-pop{left:0;right:0;width:auto;min-width:0;max-width:none}
.sa-book .asr-sw .mn-wrap{flex-basis:100%}
.sa-book .pl-day{overflow:visible}

/* prayer times in the main column of the place page (owner): the same sky card, six times in one row */
body .pl .sa-times-main .pl-day{--sky:linear-gradient(120deg,#0E5FA8,#2F86CF 55%,#6FB4E8);padding:18px;border:0;border-radius:14px;background:var(--sky);color:#fff}
body .pl .sa-times-main .pl-day:has(.is-next[data-k=fajr]){--sky:linear-gradient(120deg,#23255E,#5B4FB4 55%,#B07DB8)}
body .pl .sa-times-main .pl-day:has(.is-next[data-k=asr]){--sky:linear-gradient(120deg,#8A4B08,#C27414 55%,#E39A2E)}
body .pl .sa-times-main .pl-day:has(.is-next[data-k=maghrib]){--sky:linear-gradient(120deg,#5A1F4F,#B23A48 55%,#E5673A)}
body .pl .sa-times-main .pl-day:has(.is-next[data-k=isha]){--sky:linear-gradient(120deg,#08132B,#14305F 55%,#2E4F8F)}
body .pl .sa-times-main .pl-day :is(.day-next,.day-next span,.day-meta,.day-meta span){color:#fff!important}
body .pl .sa-times-main .pl-day .day-next{font-size:24px;font-weight:800}
body .pl .sa-times-main .pl-day .day-top{flex-direction:column;align-items:flex-start;gap:10px}
body .pl .sa-times-main .pl-day .seg{background:rgba(255,255,255,.18)}
body .pl .sa-times-main .pl-day .seg button{color:#fff}
body .pl .sa-times-main .pl-day .seg button.on{background:#fff;color:#222}
body .pl .sa-times-main .pl-day .line{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
body .pl .sa-times-main .pl-day .day-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:14px 0 0}
body .pl .sa-times-main .pl-day .day-grid>div{display:flex;flex-direction:column;align-items:center;padding:10px 4px;border:1px solid rgba(255,255,255,.35);border-radius:12px;background:rgba(255,255,255,.1);color:#fff}
body .pl .sa-times-main .pl-day .day-grid>div :is(b,small){color:#fff}
body .pl .sa-times-main .pl-day .day-grid>div small{font-weight:800;font-size:16px}
body .pl .sa-times-main .pl-day .day-grid>div.is-next{background:#fff}
body .pl .sa-times-main .pl-day .day-grid>div.is-next :is(b,small){color:#222}
body .pl .sa-times-main .pl-day .asr-sw :is(.asr-sw-lbl,.asr-sw-help){color:rgba(255,255,255,.9)}
body .pl .sa-times-main .pl-day .asr-sw .mn-btn{background:rgba(255,255,255,.18);color:#fff;border-color:transparent}
body .pl .sa-times-main .mn-pop{color:var(--text)}
body .pl .sa-times-main .pl-tt{margin-top:12px;border:0;padding:0}
body .pl .sa-times-main .pl-tt-head .btn{width:100%;justify-content:center}
body .pl .sa-times-main{padding:28px 0!important}
body .pl .sa-times-main>h2{font-size:22px!important;margin:0 0 14px!important}
body .pl .sa-times-main .pl-day{padding:22px 24px}
body .pl .sa-times-main .pl-day .day-top{flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center}
body .pl .sa-times-main .pl-day .day-next{font-size:28px}
body .pl .sa-times-main .pl-day .day-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
body .pl .sa-times-main .pl-tt-head .btn{width:auto}
body .pl .sa-times-main .asr-sw .mn-wrap{flex:0 1 360px}
body .pl .sa-book{padding:20px!important}
body .pl .sa-book .sa-book-acts{margin-top:0}
@media (max-width:640px){body .pl .sa-times-main .pl-day .day-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body .pl .sa-times-main .pl-day{padding:18px}}
.sa-times-main .asr-sw{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0}
.sa-times-main .asr-sw .mn-wrap{position:relative;min-width:0;max-width:100%}
.sa-times-main .asr-sw .mn-btn{width:100%;max-width:100%;min-width:0;justify-content:space-between;overflow:hidden}
.sa-times-main .asr-sw .mn-btn .mn-txt{flex:1 1 auto;min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start}
.sa-times-main .asr-sw .mn-pop{left:0;right:0;width:auto;min-width:0;max-width:none}
.sa-times-main .pl-day{overflow:visible}
@media (max-width:900px){body .pl .pl-split>*,body .pl .pl-side>*{min-width:0;width:100%;box-sizing:border-box}body .pl .split-main{min-width:0;width:100%}body .pl .sa-book{order:-1;align-self:stretch}}
/* owner: Directions and Qibla sit with Save and Share in the title row (same underlined text buttons); the side actions card goes */
body .pl .pl-head :is(.pl-act-main,a.pl-act[href^="/qibla"]){display:inline-flex}
body .pl .pl-head .pl-act-main .pl-act-ic{background:transparent!important;border:0!important;color:var(--text)!important}
body .pl .pl-head .pl-act{white-space:nowrap}
body .pl .pl-head .pl-actions{flex-wrap:wrap;justify-content:flex-end}
body .pl .sa-book{display:none!important}
@media (max-width:640px){body .pl .pl-head .pl-actions{justify-content:flex-start;gap:0}body .pl .pl-head .pl-act{padding:8px 10px}}
@media (max-width:640px){body .pl .pl-head .pl-act{padding:8px 6px;font-size:13px;gap:5px}body .pl .pl-head .pl-actions{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}}

/* ===== SOLAT AXIS v3 group 3: prayer times, qibla, Ramadan, halal, events. Keep when re-synced ===== */
/* shared plain heads and white cards for these pages */
body :is(.pr-head,.qb-head,.rm-head) h1{font-size:clamp(26px,3.2vw,34px);font-weight:800;margin:0 0 6px}
body :is(.pr-head,.qb-head,.rm-head){border:0;background:transparent;padding:0;margin:8px 0 22px}
body :is(.pr-search,.qb-search) :is(input,.mn-btn){height:48px;border-radius:999px!important}
body .wrap.page :is(.pr-settings,.pr-qibla,.qb-card,.qb-how,.rm-today,.rm-daily,.rm-cal,.rm-l10,.rm-sw,.ev-card){border:1px solid var(--line);border-radius:18px;box-shadow:none;background:var(--bg)}

/* prayer page: the next prayer as a sky banner, the six times as date-picker tiles (the coming one filled dark) */
.sa-sky-pr{--sky:linear-gradient(120deg,#0E5FA8,#2F86CF 55%,#6FB4E8);display:block!important;max-width:none!important;margin:0 0 16px!important;padding:26px 28px!important;border:0!important;border-radius:22px!important;background:var(--sky)!important;color:#fff}
.sa-sky-pr:has(.is-next[data-k=fajr]){--sky:linear-gradient(120deg,#23255E,#5B4FB4 55%,#B07DB8)}
.sa-sky-pr:has(.is-next[data-k=asr]){--sky:linear-gradient(120deg,#8A4B08,#C27414 55%,#E39A2E)}
.sa-sky-pr:has(.is-next[data-k=maghrib]){--sky:linear-gradient(120deg,#5A1F4F,#B23A48 55%,#E5673A)}
.sa-sky-pr:has(.is-next[data-k=isha]){--sky:linear-gradient(120deg,#08132B,#14305F 55%,#2E4F8F)}
.sa-sky-pr :is(.day-label,.day-meta,.day-meta span,.day-place){color:rgba(255,255,255,.9)!important}
.sa-sky-pr .day-next,.sa-sky-pr .day-next span{color:#fff!important;font-size:clamp(28px,3.6vw,40px);font-weight:800}
.sa-sky-pr .day-top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px}
.sa-sky-pr .seg{background:rgba(255,255,255,.18)}
.sa-sky-pr .seg button{color:#fff}
.sa-sky-pr .seg button.on{background:#fff;color:#222}
.sa-sky-pr :is(.line,.day-grid){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;margin:0!important}
.sa-sky-pr .asr-sw{margin-top:16px}
.sa-sky-pr .asr-sw :is(.asr-sw-lbl,.asr-sw-help){color:rgba(255,255,255,.9)}
.sa-sky-pr .asr-sw .mn-btn{background:rgba(255,255,255,.18);border-color:transparent;color:#fff}
.sa-sky-pr .mn-pop{color:var(--text)}
.sa-sky-pr .asr-sw .mn-wrap{position:relative;flex:0 1 360px;min-width:0;max-width:100%}
.sa-sky-pr .asr-sw .mn-btn .mn-txt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
body .ptiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 34px;padding:0;list-style:none}
body .ptile{display:flex;flex-direction:column;align-items:center;gap:2px;padding:18px 8px;border:1px solid var(--line);border-radius:16px;background:var(--bg);box-shadow:none}
body .ptile-name{font-size:14px;font-weight:700;color:var(--muted)}
body .ptile-time{font-size:26px;font-weight:800;color:var(--text)}
body .ptile-left{font-size:12px;color:var(--muted)}
body .ptile.next{background:var(--text)!important;border-color:var(--text)!important;box-shadow:0 8px 20px rgba(0,0,0,.18)!important}
body .ptile.next :is(.ptile-name,.ptile-time,.ptile-left){color:var(--bg)!important}
body .pr-fast .clist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
body .pr-fast .clist .crow{display:flex;justify-content:space-between;align-items:center;padding:14px 0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important}
body .pr-month table,body .rm-table-wrap table{border-collapse:separate;border-spacing:0;width:100%;border:1px solid var(--line);border-radius:14px;overflow:hidden}
body :is(.pr-month,.rm-table-wrap) th{background:var(--surface);font-size:13px;font-weight:700;color:var(--muted)}
body :is(.pr-month,.rm-table-wrap) :is(th,td){padding:12px 10px;border-bottom:1px solid var(--line)}
body :is(.pr-month,.rm-table-wrap) tr:last-child td{border-bottom:0}
body :is(.pr-month,.rm-table-wrap) tr:is(.is-today,.today,[aria-current]) td{background:var(--primary-soft);font-weight:700}

/* qibla: the compass in a soft round stage, the map beside it, numbers as small tiles, the steps as a numbered path */
body .qb-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch}
body .qb-card{padding:22px!important}
body .qb-compass{display:grid;place-items:center;padding:26px;border-radius:50%;background:radial-gradient(circle,var(--bg) 55%,var(--primary-soft) 56%,var(--bg) 72%)}
body .qb-read{text-align:center}
body .qb-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
body .qb-stat{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
body .qb-steps{counter-reset:qs;display:grid;gap:0;margin:0;padding:0;list-style:none}
body .qb-steps>li{counter-increment:qs;position:relative;padding:14px 0 14px 48px;border-bottom:1px solid var(--line)}
[dir=rtl] body .qb-steps>li{padding:14px 48px 14px 0}
body .qb-steps>li::before{content:counter(qs);position:absolute;inset-inline-start:0;top:12px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--text);color:var(--bg);font-weight:800;font-size:14px}

/* Ramadan: the countdown as a night-sky card, today's suhoor and iftar as two big tiles, countdowns as date cards */
body .rm-top{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;align-items:stretch}
body .rm-ring-card{border:0!important;border-radius:22px!important;background:linear-gradient(140deg,#08132B,#14305F 55%,#2E4F8F)!important;color:#fff!important}
body .rm-ring-card :is(h2,p,span,b,small,div){color:#fff!important}
body .rm-ring-card .rm-ring-track{stroke:rgba(255,255,255,.18)!important}
body .rm-ring-card .rm-ring-prog{stroke:#F6C453!important}
body .rm-si-box{border:1px solid var(--line);border-radius:16px;background:var(--surface)}
body .rm-sect{margin-top:34px}
body .rm-fasts .row{border:1px solid var(--line)!important;border-radius:14px!important;margin-bottom:8px}

/* halal: the city's places as listing cards, the index as columns of city links */
body .hl-country{padding:18px 0;border-bottom:1px solid var(--line)}
body .hl-country h2{display:flex;align-items:center;gap:10px;font-size:20px}
body .hl-country .clist{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:4px 18px}
body .hl-country .clist .crow{display:flex;justify-content:space-between;padding:8px 0!important;border:0!important;background:transparent!important}
body .hl-country .clist .crow:hover b{text-decoration:underline}

/* events: the date as a calendar block, each event a card row, filters as outline pills */
body .ev-rows{display:grid;gap:12px}
body .ev-rows .row{display:flex;align-items:flex-start;gap:18px;padding:16px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--bg)!important}
body .ev-rows>li+li .row{border-top:1px solid var(--line)!important}
body .ev-rows .row:hover{box-shadow:var(--shadow)}
body .date-tile{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex:0 0 68px;width:68px;padding:0 0 8px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--bg)}
body .date-tile small{order:-1;display:block;width:100%;padding:4px 0;background:var(--primary);color:var(--on-primary)!important;font-size:11px;font-weight:800;text-align:center}
body .date-tile b{font-size:26px;font-weight:800;line-height:1.2;margin-top:6px}
body .ev-hero{border:0!important;background:transparent!important;padding:0!important}
body .ev-rsvp{position:sticky;top:100px;box-shadow:0 6px 18px rgba(0,0,0,.12)!important}

@media (max-width:900px){
  body .ptiles{grid-template-columns:repeat(3,minmax(0,1fr))}
  body .qb-grid,body .rm-top{grid-template-columns:minmax(0,1fr)}
  body .pr-fast .clist{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){.sa-sky-pr{padding:20px!important}}
/* ===== end group 3 ===== */
/* Ramadan: the label on the night card readable, the prayer card white like the rest */
body .rm-ring-card :is(.pill,.chip,.badge,[class*=pill],[class*=tag]){background:rgba(255,255,255,.16)!important;color:#fff!important;border-color:transparent!important}
body .rm .day,body .wrap.page.rm .day{background:var(--bg);border:1px solid var(--line);border-radius:18px}
body .rm-ring-card .rm-phase{background:rgba(255,255,255,.16)!important;color:#fff!important;border:0!important}

/* ===== SOLAT AXIS v3 group 4: about, blog, FAQ, contact, legal, search, compare, stories, reviews, 404, add a place, sign in. Keep when re-synced ===== */
/* plain heads everywhere (no boxed heroes) */
body .wrap.page>:is(.ab-hero,.fq-hero,.ct-hero,.lg-hero,.ap-head,.st-head,.cp-head){background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:8px 0 0!important;margin:8px 0 26px!important}
body .wrap.page>:is(.ab-hero,.fq-hero,.ct-hero,.lg-hero,.ap-head,.st-head,.cp-head)::before{display:none!important}
body .wrap.page :is(.ab-hero,.ct-hero,.lg-hero,.ap-head,.st-head,.cp-head) h1{font-size:clamp(28px,3.4vw,40px);font-weight:800;line-height:1.12}
body :is(.lg-hero-ic,.ct-hero-ic){width:52px;height:52px;border-radius:50%;background:var(--primary-soft)!important;color:var(--primary)!important;border:0!important}

/* about: a statement head, the numbers as a quiet band, sections split by lines, flags as small tiles */
body .ab .ab-hero-top{display:flex;align-items:center;gap:18px}
body .ab .ab-mark{width:64px;height:64px;flex:0 0 64px;border-radius:16px;overflow:hidden;background:#fff;border:1px solid var(--line)}
body .ab .ab-mark img{width:100%;height:100%;object-fit:contain}
body .ab .ab-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:26px 0 0;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);list-style:none}
body .ab .ab-stats li{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:0 18px;border:0!important;background:transparent!important;border-inline-start:1px solid var(--line)!important;border-radius:0!important}
body .ab .ab-stats li:first-child{border-inline-start:0!important;padding-inline-start:0}
body .ab .ab-stat-ic{display:none}
body .ab .ab-stats b{font-size:32px;font-weight:800}
body .ab :is(.ab-card,.ab-net){border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;padding:30px 0!important;box-shadow:none!important}
body .ab .ab-card h2,body .ab .ab-net h2{font-size:24px;font-weight:800}
body .ab .ab-flags a{border-radius:12px;background:var(--surface)}
body .ab .ab-cta{border:0!important;border-radius:22px!important;background:linear-gradient(120deg,#0F3466,#1A5BA8 50%,#2E7BC4)!important;color:#fff!important;padding:30px!important}
body .ab .ab-cta :is(h2,h3,p,a:not(.btn)){color:#fff!important}
body .ab .ab-cta .btn-fill{background:#fff!important;color:#222!important}
body .ab .ab-cta .btn-tonal{background:rgba(255,255,255,.16)!important;color:#fff!important}

/* blog: a magazine grid, the newest story twice as wide */
body .bl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 20px}
body .bl-grid>li:first-child{grid-column:span 2}
body .bl-grid>li:first-child .bl-cover{aspect-ratio:16/8}
body .bl-grid>li:first-child .bl-title{font-size:24px}
body .bl-card{border:0!important;background:transparent!important;box-shadow:none!important}
body .bl-cover{aspect-ratio:4/3;border-radius:14px;overflow:hidden}
body .bl-cover.bl-ph{background:radial-gradient(circle at 28% 22%,rgba(255,255,255,.55),transparent 62%),var(--primary-soft);color:var(--primary)}
body .bl-body{padding:12px 0 0!important}
body .bl-title{font-weight:800}
body .post{max-width:740px;margin:0 auto}
body .post h1{font-size:clamp(30px,4vw,44px);font-weight:800;line-height:1.12}
body .post-cover{border-radius:18px;overflow:hidden}
body .post-body{font-size:18px;line-height:1.85}

/* FAQ: a help centre, centred greeting with a big search, topics as underlined tabs, questions as a plain list */
body .fq .fq-hero{text-align:center}
body .fq .fq-hero h1{font-size:clamp(30px,4vw,44px);font-weight:800}
body .fq .fq-hero .fq-hero-ic{display:none}
body .fq .fq-search{max-width:680px;margin:18px auto 0}
body .fq .fq-search :is(input,.search){height:60px;border-radius:999px;box-shadow:0 3px 12px rgba(0,0,0,.1);border:1px solid var(--line)}
body .fq .fq-body{display:block}
body .fq .fq-cats{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;gap:4px;margin:0 0 26px;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;overflow-x:auto;position:static}
body .fq .fq-cats-t{display:none}
body .fq .fq-cats .chip{height:auto;padding:12px 14px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);font-weight:700;white-space:nowrap}
body .fq .fq-cats .chip:is(.on,[aria-current]){color:var(--text);border-bottom-color:var(--text);background:transparent}
body .fq .fq-cats .chip small,body .fq .fq-cats .fq-cat-ic{display:none}
body .fq .fq-sec{border:0;padding:0;margin:0 0 26px}
body .fq .fq-sec-head{border:0;padding:0;margin:0 0 8px}
body .fq .fq-sec-head h2{font-size:22px;font-weight:800}
body .fq .fq-item{border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important}
body .fq .fq-item summary{padding:18px 4px;font-size:16px}
body .fq .fq-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
body .fq .fq-cta{border:1px solid var(--line)!important;border-radius:18px!important;background:var(--surface)!important}

/* contact: the form as one large card with a soft shadow, help beside it */
body .ct .ct-main{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:28px;align-items:start}
body .ct .fm-card,body .ct .ct-main>section:first-child{border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:0 6px 18px rgba(0,0,0,.08)!important;padding:28px!important}
body .ct .ct-card{border:1px solid var(--line)!important;border-radius:18px!important}

/* legal: content in plain sections, the contents list as a quiet sticky column */
body .lg .lg-sec{border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;padding:26px 0!important;background:transparent!important}
body .lg .lg-toc{border:0!important;background:transparent!important;padding:0!important}

/* search, compare, stories, reviews */
body .sr-form .search{height:56px;border-radius:999px;box-shadow:0 3px 12px rgba(0,0,0,.08)}
body :is(.cp-table,.cp-ai,.cp-mapcard){border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:none!important}
body .st-card{border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:none!important}
body .rv-summary{display:flex;align-items:center;gap:20px;padding:0 0 22px;border-bottom:1px solid var(--line)}
body .rv-summary :is(.rv-avg,b:first-child){font-size:48px;font-weight:800;line-height:1}
body .rv-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 40px;margin:24px 0 0;padding:0;list-style:none}

/* 404: a big plain message */
body .e4 .page-head h1{font-size:clamp(44px,7vw,80px);font-weight:800;letter-spacing:-.03em}
body .e4 .e4-search .search{height:58px;border-radius:999px;box-shadow:0 3px 12px rgba(0,0,0,.1)}

/* add a place: a host-style flow, a thin progress bar, big questions, choices as tiles, the buttons in a bottom bar */
body .ap-steps{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 30px;padding:0;list-style:none;counter-reset:none}
body .ap-steps>li{display:flex!important;flex-direction:column;gap:8px;padding:0!important;border:0!important;background:transparent!important;font-size:13px;font-weight:700;color:var(--muted)}
body .ap-steps>li::before{content:"";display:block;height:6px;border-radius:999px;background:var(--surface-2)}
body .ap-steps>li:is(.on,.done,[aria-current]){color:var(--text)}
body .ap-steps>li:is(.on,.done,[aria-current])::before{background:var(--text)}
body .ap-steps .n{display:none}
body .ap-card{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
body .ap-card h2{font-size:clamp(24px,3vw,32px);font-weight:800}
body .ap .fm-chips .chip,body .ap .fm-chips label{min-height:64px;border-radius:14px;padding:12px 16px;font-size:15px}
body .ap .ap-actions{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;margin-top:24px;padding:16px 0;border-top:1px solid var(--line);background:var(--bg)}
body .ap .ap-actions .btn-fill{background:var(--text);color:var(--bg);height:48px;padding:0 28px}
body .ap .ap-actions .btn-tonal,body .ap .ap-actions .btn-text{background:transparent;text-decoration:underline;font-weight:700}

/* sign in / sign up: one centred card with a title bar, joined fields, a wide blue button */
body .au .au-stage{display:grid;place-items:center;padding:20px 0 40px}
body .au .au-card{width:min(568px,100%);padding:0 0 28px!important;border:1px solid var(--line)!important;border-radius:14px!important;box-shadow:0 8px 28px rgba(0,0,0,.14)!important;overflow:hidden}
body .au .au-mark{display:none}
body .au .au-title{margin:0;padding:18px 24px;border-bottom:1px solid var(--line);font-size:16px;font-weight:800;text-align:center}
body .au .au-sub{padding:22px 24px 0;font-size:22px;font-weight:800;color:var(--text)}
body .au :is(.au-form,.au-actions,.au-oauth,.au-or,.au-under,.au-alert){margin-inline:24px}
body .au .au-input{height:58px;border:1px solid #B0B0B0;border-radius:10px;font-size:16px}
body .au .au-actions .btn-fill{width:100%;height:50px;border-radius:10px;background:linear-gradient(90deg,#2E7BC4,#1A5BA8 50%,#123F7A);font-size:16px;font-weight:800}
body .au .au-sso{height:50px;border:1px solid var(--text);border-radius:10px;font-weight:700}

@media (max-width:900px){
  body .bl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body .ct .ct-main{grid-template-columns:minmax(0,1fr)}
  body .rv-list,body .fq .fq-side{grid-template-columns:minmax(0,1fr)}
  body .ab .ab-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}
  body .ab .ab-stats li:nth-child(3){border-inline-start:0!important;padding-inline-start:0}
}
@media (max-width:640px){
  body .bl-grid{grid-template-columns:minmax(0,1fr)}
  body .bl-grid>li:first-child{grid-column:auto}
  body .fq .fq-cats{justify-content:flex-start}
  body .au .au-card{border:0!important;box-shadow:none!important}
}
/* ===== end group 4 ===== */
/* add a place: the progress bar sits on the step buttons (forms.js marks the button with aria-current / done) */
body .ap-steps>li::before{display:none!important}
body .ap-steps>li>button{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;padding:0;border:0;background:transparent;color:var(--muted);font:700 13px var(--font);cursor:pointer;text-align:start}
body .ap-steps>li>button::before{content:"";display:block;width:100%;height:6px;border-radius:999px;background:var(--surface-2)}
body .ap-steps>li>button:is([aria-current],.done){color:var(--text)}
body .ap-steps>li>button:is([aria-current],.done)::before{background:var(--text)}
body .ap-steps>li>button .n{display:none}
/* FAQ: tabs start at the edge (no clipped first tab), the help box after the questions */
body .fq .fq-body{display:flex!important;flex-direction:column}
body .fq .fq-side{order:3;position:static!important}
body .fq .fq-list{order:2}
body .fq .fq-cats{justify-content:safe center}
@media (max-width:900px){body .fq .fq-cats{justify-content:flex-start}}
/* FAQ order: topic tabs, questions (full width), then the help box */
body .fq .fq-side{display:contents!important}
body .fq .fq-cats{order:1;width:100%}
body .fq .fq-list{order:2;width:100%;max-width:none}
body .fq .fq-cta{order:3;margin-top:24px;max-width:none}
body .fq .fq-body>*{min-width:0}
body .fq .fq-search .search{width:100%}
body .fq .fq-search :is(input,.search) input,body .fq .fq-search .search input{border:0!important;box-shadow:none!important;height:auto!important}
body .fq .fq-search input{background:transparent}
@media (max-width:480px){body .ap-steps button:not([aria-current=step]) .t{display:block!important;font-size:12px}body .ap-steps li{flex:1!important}}

/* ===== SOLAT AXIS v3 group 5: own layouts for the remaining pages. Keep when re-synced ===== */
/* legal (privacy, terms): split head with an "at a glance" card, numbered rows that open and close, help cards */
.sl-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:40px;align-items:start;margin:10px 0 36px}
.sl-kicker{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;padding:6px 12px;border-radius:999px;background:var(--primary-soft);color:var(--on-soft);font-size:13px;font-weight:700}
.sl-head h1{margin:0 0 10px;font-size:clamp(32px,4.4vw,52px);font-weight:800;line-height:1.05;letter-spacing:-.02em}
.sl-date{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:14px;margin:0 0 14px}
.sl-intro{font-size:17px;line-height:1.75;max-width:60ch}
.sl-acts{display:flex;gap:18px;margin-top:16px}
.sl-link{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:none;color:var(--text);font:700 15px var(--font);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
body .lg .sl-glance{position:sticky!important;top:100px;padding:22px!important;border:1px solid var(--line)!important;border-radius:20px!important;background:var(--surface)!important;box-shadow:none!important}
.sl-glance-t{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-weight:800}
.sl-glance ol{display:grid;gap:2px;margin:0;padding:0;list-style:none;counter-reset:none}
.sl-glance a{display:flex;align-items:center;gap:12px;padding:8px 6px;border-radius:10px;color:var(--text);font-size:14px}
.sl-glance a:hover,.sl-glance a.on{background:var(--bg)}
.sl-n{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:var(--bg);border:1px solid var(--line);font-size:12px;font-weight:800}
.sl-body{max-width:860px}
.sl-sec{border-top:1px solid var(--line)}
.sl-sec:last-child{border-bottom:1px solid var(--line)}
.sl-sec summary{display:flex;align-items:center;gap:18px;padding:22px 4px;cursor:pointer;list-style:none}
.sl-sec summary::-webkit-details-marker{display:none}
.sl-sec summary .sl-n{flex:0 0 auto;width:auto;height:auto;border:0;background:none;font-size:28px;font-weight:800;color:var(--primary)}
.sl-sec summary h2{flex:1;margin:0;font-size:20px;font-weight:800}
.sl-chev{width:12px;height:12px;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(45deg);transition:transform .2s}
.sl-sec[open] .sl-chev{transform:rotate(-135deg)}
.sl-sec .lg-text{padding:0 4px 26px 64px;font-size:16px;line-height:1.8}
[dir=rtl] .sl-sec .lg-text{padding:0 64px 26px 4px}
.sl-help{margin:48px 0 0}
.sl-help h2{font-size:24px;font-weight:800;margin:0 0 16px}
.sl-help-cards,.sa-faq-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sl-help-card,.sa-faq-card{display:flex;flex-direction:column;gap:6px;padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--bg);color:var(--text)}
a.sl-help-card:hover,a.sa-faq-card:hover{box-shadow:var(--shadow)}
.sl-help-ic,.sa-faq-ic{display:grid;place-items:center;width:48px;height:48px;margin-bottom:6px;border-radius:14px;background:var(--primary-soft);color:var(--primary)}
.sl-help-card b,.sa-faq-card b{font-size:17px}
.sl-help-card small,.sa-faq-card small{color:var(--muted);font-size:14px;line-height:1.55}

/* FAQ: topic cards grid, questions, three closing cards */
body .fq nav.sa-topics{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin:0 0 34px;padding:0;border:0!important;background:transparent;overflow:visible}
body .fq .sa-topics .chip{display:flex!important;flex-direction:column;align-items:flex-start;gap:8px;height:auto!important;padding:18px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--bg)!important;color:var(--text)!important;white-space:normal;text-align:start}
body .fq .sa-topics .chip:hover{box-shadow:var(--shadow)}
body .fq .sa-topics .chip:is(.on,[aria-current]){border-color:var(--text)!important;box-shadow:0 0 0 1px var(--text) inset}
body .fq .sa-topics .fq-cat-ic{display:grid!important;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--primary-soft);color:var(--primary)}
body .fq .sa-topics .fq-cat-l{font-size:15px;font-weight:800}
body .fq .sa-topics small{display:block!important;color:var(--muted)}
body .fq .sa-faq-body{display:block!important}
.sa-faq-end{margin:44px 0 0}
.sa-faq-end h2{font-size:24px;font-weight:800;margin:0 0 16px}
.sa-faq-acts{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px}
.sa-faq-mail{color:var(--text);font-size:14px;text-decoration:underline}

/* about: statement head with the numbers in a column, bands, flag wall, three-column grids, closing banner */
body .ab .sa-ab-hero{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);gap:40px;align-items:center;margin:12px 0 40px!important}
body .ab .sa-ab-hero h1{font-size:clamp(36px,5vw,60px)!important;line-height:1.02}
body .ab .sa-ab-hero .ab-lead{font-size:19px;line-height:1.6;max-width:44ch}
body .ab .sa-ab-hero .ab-stats{grid-template-columns:minmax(0,1fr)!important;gap:0;margin:0!important;padding:0!important;border:0!important}
body .ab .sa-ab-hero .ab-stats li{flex-direction:row!important;align-items:baseline!important;justify-content:space-between;padding:16px 0!important;border:0!important;border-bottom:1px solid var(--line)!important}
body .ab .sa-ab-hero .ab-stats li:first-child{border-top:1px solid var(--line)!important}
body .ab .sa-ab-hero .ab-stat-txt{display:flex;width:100%;align-items:baseline;justify-content:space-between;gap:12px}
.sa-ab{display:grid;gap:0}
body .ab .sa-ab-bands{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
body .ab .sa-ab-bands .ab-mv{display:grid;grid-template-columns:72px minmax(0,1fr);gap:4px 20px;padding:26px;border-radius:20px;background:var(--surface)}
body .ab .sa-ab-bands .ab-mv:nth-child(2){background:var(--primary-soft)}
body .ab .sa-ab-bands .ab-mv .ab-ic{grid-row:1 / span 2;width:72px;height:72px;border-radius:20px}
body .ab .sa-ab-bands .ab-mv h3{font-size:20px;margin:0}
body .ab .sa-ab-wall .ab-flags{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))!important;gap:10px!important}
.sa-ab-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 40px}
body .ab .sa-ab-grid .ab-values,body .ab .sa-ab-grid .ab-feats{grid-template-columns:minmax(0,1fr)!important}
.sa-ab-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 40px}
body .ab .sa-ab-join{margin-top:36px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
body .ab .sa-ab-join h2{flex-basis:100%;font-size:28px!important}

/* contact: ways to reach us on top, the form centred */
body .ct .sa-ways{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 28px}
body .ct .sa-ways>*{margin:0!important;height:100%;border:1px solid var(--line)!important;border-radius:18px!important;padding:22px!important;background:var(--bg)!important}
body .ct .sa-ways .ct-info-card{grid-column:span 1}
body .ct .sa-ct-solo{display:block!important;max-width:760px;margin:0 auto}
body .ct .sa-ct-solo .ct-main{display:block!important}

/* 404: centred, the main pages as a row of tiles, cities as a strip */
body .e4 .sa-e4-head{text-align:center;display:flex;flex-direction:column;align-items:center}
.sa-e4-art{display:grid;place-items:center;width:160px;height:160px;margin:0 0 6px;border-radius:50%;background:var(--primary-soft);color:var(--primary);animation:saSpin 14s linear infinite}
@keyframes saSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.sa-e4-art{animation:none}}
body .e4 .e4-search{max-width:640px;margin:0 auto 34px}
body .e4 .sa-e4-stack{display:block!important}
body .e4 .sa-e4-stack .rows{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
body .e4 .sa-e4-stack .rows .row{flex-direction:column!important;align-items:flex-start!important;gap:8px;height:100%;padding:18px!important;border:1px solid var(--line)!important;border-radius:16px!important}
body .e4 .sa-e4-stack .row-go{display:none}
body .e4 .sa-e4-stack .split-side{position:static!important;margin-top:26px}
body .e4 .sa-e4-stack .split-side .card{border:0;padding:0;background:transparent}

/* qibla: compass hero wide, map full width at the end */
body .sa-qb-hero{display:block!important}
body .sa-qb-hero .qb-card{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 40px;align-items:center;padding:34px!important;border-radius:26px!important;background:linear-gradient(140deg,var(--surface),var(--primary-soft))!important;border:0!important}
body .sa-qb-hero .qb-card>h2{grid-column:1 / -1}
.sa-qb-map{margin-top:26px}
body .sa-qb-map .qb-card{border-radius:22px!important}

/* blog post: a wide title band, a narrow reading column */
body .sa-post>.page-head{max-width:none;margin:0 calc(50% - 50vw) 34px;padding:56px max(16px,calc(50vw - 380px)) 40px;background:var(--surface);text-align:center}
body .sa-post>.page-head .post-meta{justify-content:center}
body .sa-post{max-width:720px}

/* sign-in pages: a sky picture panel beside the card */
body .au .sa-au{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;align-items:stretch;max-width:1080px;margin:10px auto 40px;padding:0!important;border:1px solid var(--line);border-radius:24px;overflow:hidden}
.sa-au-art{display:flex;flex-direction:column;justify-content:flex-end;gap:10px;padding:40px;min-height:520px;background:linear-gradient(160deg,#08132B,#14305F 45%,#5B4FB4 75%,#E5673A);color:#fff}
.sa-au-logo img{border-radius:14px;background:#fff}
.sa-au-t{margin:0;font-size:32px;font-weight:800}
.sa-au-d{margin:0;font-size:16px;line-height:1.6;color:rgba(255,255,255,.9);max-width:36ch}
.sa-au-art ul{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:0;list-style:none}
.sa-au-art li{padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.16);font-size:13px;font-weight:700}
body .au .sa-au .au-card{width:100%!important;border:0!important;border-radius:0!important;box-shadow:none!important;align-self:center}

/* events: a grid of cards, the date on top like a ticket */
body .sa-ev .ev-rows{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body .sa-ev .ev-rows .row{flex-direction:column!important;align-items:stretch!important;gap:12px;height:100%}
body .sa-ev .ev-rows .date-tile{flex:none;width:100%;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;padding:0 0 0 0;border-radius:12px}
body .sa-ev .ev-rows .date-tile small{order:2;width:auto;background:none;color:var(--muted)!important;padding:0}
body .sa-ev .ev-rows .date-tile b{margin:0;padding:10px 16px;background:var(--primary);color:var(--on-primary);font-size:24px}
body .sa-ev .ev-rows .row-go{display:none}
/* Ramadan: one wide night banner with today's two times inside, then the rest */
body .sa-rm .rm-top{grid-template-columns:minmax(0,1fr)!important}
body .sa-rm .rm-ring-card{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:10px 40px;align-items:center;padding:34px!important}
body .sa-rm .rm-ring-card>:not(.rm-ring){grid-column:2}
body .sa-rm .rm-ring{grid-row:1 / span 4}
/* stories and reviews: two-column story cards and review cards */
body .sa-st .st-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body .sa-rv .split{grid-template-columns:minmax(0,1fr) 360px}
/* account and form pages: a narrow centred column with a soft card */
body .sa-acct,body .sa-form{max-width:880px}
body :is(.sa-acct,.sa-form) :is(.card,.fm-card,.acc-card){border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:0 6px 18px rgba(0,0,0,.06)!important}

@media (max-width:900px){
  .sl-head,body .ab .sa-ab-hero,.sa-ab-grid,.sa-ab-pair,body .sa-qb-hero .qb-card,body .au .sa-au{grid-template-columns:minmax(0,1fr)!important}
  body .lg .sl-glance{position:static!important}
  .sl-help-cards,.sa-faq-cards,body .ct .sa-ways{grid-template-columns:minmax(0,1fr)}
  body .e4 .sa-e4-stack .rows{grid-template-columns:repeat(2,minmax(0,1fr))}
  body .sa-ev .ev-rows,body .sa-st .st-list{grid-template-columns:minmax(0,1fr)}
  body .sa-rv .split{grid-template-columns:minmax(0,1fr)}
  .sa-au-art{min-height:220px;padding:28px}
  body .sa-rm .rm-ring-card{grid-template-columns:minmax(0,1fr)}
  body .sa-rm .rm-ring-card>:not(.rm-ring){grid-column:1}
  body .sa-rm .rm-ring{grid-row:auto}
}
@media (max-width:640px){.sl-sec .lg-text{padding:0 4px 22px}[dir=rtl] .sl-sec .lg-text{padding:0 4px 22px}body .fq nav.sa-topics{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* ===== end group 5 ===== */
/* group 5 fixes: one number per item in the legal list; the sign-in split keeps the picture beside the card */
.sl-glance li::before,.sl-glance a::before{content:none!important;display:none!important}
body .au .sa-au>:not(.sa-au-art):not(.au-card){grid-column:1 / -1}
body .au .sa-au{grid-template-rows:auto 1fr}
body .au .sa-au>.crumbs{padding:14px 24px 0;margin:0}
body .au .sa-au>.sa-au-art{grid-row:1 / span 3;grid-column:1}
body .au .sa-au>.au-card{grid-column:2}
@media (max-width:900px){body .au .sa-au>.sa-au-art,body .au .sa-au>.au-card{grid-column:1;grid-row:auto}}
/* sign-in split (the stage wraps the picture and the page) */
.au-stage.sa-au{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:1120px;margin:16px auto 40px;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--bg)}
.au-stage.sa-au>.sa-au-art{grid-column:1;grid-row:1}
.au-stage.sa-au>.wrap.page.au{grid-column:2;grid-row:1;max-width:none;width:auto;margin:0;padding:24px 32px 32px}
.au-stage.sa-au .au-card{width:100%!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.au-stage.sa-au .au-stage{padding:0}
@media (max-width:900px){.au-stage.sa-au{grid-template-columns:minmax(0,1fr);border:0;border-radius:0;margin:0}.au-stage.sa-au>.wrap.page.au{grid-column:1;grid-row:2;padding:16px}.au-stage.sa-au>.sa-au-art{min-height:0}}
/* a section opened from the address or the list lands below the sticky header */
.sl-sec{scroll-margin-top:100px}
/* legal: "On this page" as a side column next to the sections, staying in view while reading */
.sl-head{grid-template-columns:minmax(0,1fr)!important;max-width:860px}
.sl-wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px;align-items:start}
.sl-wrap .sl-body{max-width:none;min-width:0}
body .lg .sl-wrap .sl-glance{position:sticky!important;top:100px;max-height:calc(100vh - 120px);overflow:auto}
@media (max-width:900px){.sl-wrap{grid-template-columns:minmax(0,1fr)}.sl-wrap .sl-glance{order:-1;position:static!important;max-height:none}}
/* contact: the three ways-to-reach-us cards stay in place (the base side column was sticky) */
body .ct .sa-ways{position:static!important;top:auto!important}

/* ===== SOLAT AXIS Ramadan, own layout. Keep when re-synced ===== */
/* night banner: countdown on the start side, today's suhoor and iftar with the day's figures on the end side */
body .sa-rm .sa-rm-hero{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:0;margin:8px 0 0;border-radius:28px;overflow:hidden;
  background:radial-gradient(circle at 18% 20%,rgba(246,196,83,.18),transparent 40%),linear-gradient(140deg,#060D1F,#0E2147 50%,#1D3F7A);color:#fff}
body .sa-rm .sa-rm-count{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:34px 28px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:center}
body .sa-rm .sa-rm-count :is(h2,p,span,b,small){color:#fff!important}
body .sa-rm .sa-rm-count .rm-hero{font-size:22px;font-weight:800;margin:0}
body .sa-rm .sa-rm-count .rm-phase{padding:5px 14px;border-radius:999px;background:rgba(246,196,83,.18)!important;color:#F6C453!important;font-size:13px;font-weight:800}
body .sa-rm .sa-rm-count .rm-ring{width:200px;height:200px}
body .sa-rm .sa-rm-count .rm-ring-track{stroke:rgba(255,255,255,.14)!important}
body .sa-rm .sa-rm-count .rm-ring-prog{stroke:#F6C453!important}
body .sa-rm .sa-rm-count .rm-ring-in b{font-size:52px;font-weight:800}
body .sa-rm .sa-rm-today{padding:30px!important;border:0!important;border-radius:0!important;border-inline-start:1px solid rgba(255,255,255,.12)!important;background:rgba(255,255,255,.04)!important;box-shadow:none!important;color:#fff}
body .sa-rm .sa-rm-today :is(h2,p,span,dt,small,b,dd,div){color:#fff}
body .sa-rm .sa-rm-today h2{font-size:15px;font-weight:700;opacity:.85;margin:0 0 12px}
body .sa-rm .sa-rm-today .rm-si{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body .sa-rm .sa-rm-today .rm-si-box{padding:18px!important;border:1px solid rgba(255,255,255,.18)!important;border-top:3px solid var(--c)!important;border-radius:18px!important;background:rgba(255,255,255,.07)!important}
body .sa-rm .sa-rm-today .rm-si-time{font-size:44px;font-weight:800;line-height:1.1}
body .sa-rm .sa-rm-today .rm-si-sub{opacity:.8}
body .sa-rm .sa-rm-today .rm-count{margin:14px 0 8px;font-weight:700;color:#F6C453!important}
body .sa-rm .sa-rm-today .rm-share{background:rgba(255,255,255,.14)!important;color:#fff!important;border:0!important;border-radius:999px}
body .sa-rm .sa-rm-today .rm-prog-bar{background:rgba(255,255,255,.16)}
body .sa-rm .sa-rm-today .rm-prog-bar>div{background:#F6C453}
body .sa-rm .sa-rm-today .rm-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:18px 0 0;border-top:1px solid rgba(255,255,255,.14)}
body .sa-rm .sa-rm-today .rm-stats div{padding:14px 10px 0;background:transparent!important;border-radius:0}
body .sa-rm .sa-rm-today .rm-stats div+div{border-inline-start:1px solid rgba(255,255,255,.14)}
body .sa-rm .sa-rm-today .rm-stats dt{opacity:.75;font-size:12px}
body .sa-rm .sa-rm-today .rm-stats dd{font-size:18px;font-weight:800}

/* section bar under the banner, stays in view */
body .sa-rm .sa-rm-bar{position:sticky;top:84px;z-index:20;display:flex;gap:6px;margin:26px 0 0;padding:10px 0;border-bottom:1px solid var(--line);background:var(--bg);overflow-x:auto;scrollbar-width:none}
body .sa-rm .sa-rm-bar a{flex:0 0 auto;padding:8px 14px;border-radius:999px;color:var(--text);font-weight:700;font-size:14px}
body .sa-rm .sa-rm-bar a:hover{background:var(--surface)}

/* body: main column and a side column that stays in view */
body .sa-rm .sa-rm-body{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:44px;align-items:start;margin-top:10px}
body .sa-rm .sa-rm-main>*,body .sa-rm .sa-rm-side>*{scroll-margin-top:150px}
body .sa-rm .sa-rm-main>.rm-sect,body .sa-rm .sa-rm-main>.card{margin:0;padding:30px 0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body .sa-rm .sa-rm-main h2{font-size:24px;font-weight:800}
body .sa-rm .sa-rm-side{position:sticky;top:150px;display:grid;gap:16px;max-height:calc(100vh - 170px);overflow:auto;padding-bottom:4px;scrollbar-width:thin}
body .sa-rm .sa-rm-side>*{margin:0!important;padding:20px!important;border:1px solid var(--line)!important;border-radius:20px!important;background:var(--bg)!important;box-shadow:none!important}
body .sa-rm .sa-rm-side h2{font-size:18px!important;font-weight:800;margin:0 0 12px!important}
body .sa-rm .sa-rm-cd .rm-cd{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
body .sa-rm .sa-rm-cd .rm-cd-item{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:0 10px;padding:12px 0;border:0;border-bottom:1px solid var(--line);border-radius:0}
body .sa-rm .sa-rm-cd .rm-cd-item:last-child{border-bottom:0}
body .sa-rm .sa-rm-cd .rm-cd-item span{color:var(--text);font-weight:700}
body .sa-rm .sa-rm-cd .rm-cd-item b{grid-row:1 / span 2;grid-column:2;font-size:22px;color:var(--primary)}
body .sa-rm .sa-rm-cd .rm-cd-item small{font-size:12px}
body .sa-rm .sa-rm-day .day-next{font-size:20px}
body .sa-rm .sa-rm-day .line{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
body .sa-rm .sa-rm-day .day-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:12px}
body .sa-rm .sa-rm-day .day-grid>div{padding:8px 4px;border:1px solid var(--line);border-radius:10px;text-align:center}
body .sa-rm .sa-rm-day .day-grid>div.is-next{background:var(--text);border-color:var(--text)}
body .sa-rm .sa-rm-day .day-grid>div.is-next :is(b,small){color:var(--bg)}
body .sa-rm .sa-rm-day .asr-sw .mn-wrap{flex:1 1 100%;min-width:0}
body .sa-rm .sa-rm-day .asr-sw .mn-btn{width:100%;overflow:hidden}
body .sa-rm .rm-daily-text{margin:0;font-size:15px;line-height:1.7}
/* timetable and guide in the main column */
body .sa-rm .rm-table-wrap table{border:1px solid var(--line);border-radius:16px;overflow:hidden}
body .sa-rm .rm-tabs button[aria-selected=true]{color:var(--text);border-bottom-color:var(--text)}
body .sa-rm .rm-panel{border:0!important;padding:8px 0!important;background:transparent!important}
body .sa-rm .rm-fasts .row{border:1px solid var(--line)!important;border-radius:14px!important}
body .sa-rm .rm-next{border:1px solid var(--line)!important;border-radius:18px!important;padding:20px!important}

@media (max-width:960px){
  body .sa-rm .sa-rm-hero{grid-template-columns:minmax(0,1fr)}
  body .sa-rm .sa-rm-today{border-inline-start:0!important;border-top:1px solid rgba(255,255,255,.12)!important}
  body .sa-rm .sa-rm-body{grid-template-columns:minmax(0,1fr);gap:0}
  body .sa-rm .sa-rm-side{position:static;max-height:none;overflow:visible;order:-1;margin-top:20px}
  body .sa-rm .sa-rm-today .rm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  body .sa-rm .sa-rm-today .rm-stats div:nth-child(3){border-inline-start:0}
}
@media (max-width:560px){body .sa-rm .sa-rm-today .rm-si-time{font-size:34px}body .sa-rm .sa-rm-count .rm-ring{width:170px;height:170px}}
/* ===== end Ramadan ===== */
/* Ramadan fixes: columns fit the page, the wide timetable scrolls inside its box, side cards never cut their content */
body .sa-rm .sa-rm-body{grid-template-columns:minmax(0,1fr) 300px;gap:32px}
body .sa-rm .sa-rm-main,body .sa-rm .sa-rm-side{min-width:0}
body .sa-rm .rm-table-wrap{overflow-x:auto;max-width:100%}
body .sa-rm .sa-rm-side{overflow-x:hidden}
body .sa-rm .sa-rm-side>*{min-width:0;max-width:100%;box-sizing:border-box}
body .sa-rm .sa-rm-day .day-top{flex-wrap:wrap;gap:10px}
body .sa-rm .sa-rm-day .day-grid>div{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}
body .sa-rm .sa-rm-day .day-grid>div b{font-size:12px}
body .sa-rm .sa-rm-day .day-grid>div small{font-size:15px;font-weight:800}
body .sa-rm .sa-rm-cd .rm-cd-item b{white-space:nowrap}
/* Ramadan side column: no inner scroll bar, it moves with the page (it is taller than the screen) */
body .sa-rm .sa-rm-side{position:static!important;max-height:none!important;overflow:visible!important}

/* ===== SOLAT AXIS qibla, own layout. Keep when re-synced ===== */
/* the stage: a night sky with stars, the title and city search on top, the big compass with the angle beside it */
body .sa-qb-stage{position:relative;margin:8px 0 0;padding:30px 34px 40px;border-radius:30px;overflow:hidden;color:#fff;
  background:radial-gradient(1px 1px at 12% 22%,#fff8,transparent),radial-gradient(1px 1px at 34% 70%,#fff6,transparent),radial-gradient(1.5px 1.5px at 62% 18%,#fff9,transparent),
  radial-gradient(1px 1px at 82% 58%,#fff7,transparent),radial-gradient(1px 1px at 90% 12%,#fff6,transparent),radial-gradient(circle at 50% 120%,rgba(246,196,83,.28),transparent 55%),
  linear-gradient(160deg,#050B1C,#0C1C3E 55%,#173468)}
body .sa-qb-stage .sa-qb-top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px}
body .sa-qb-stage h1{margin:0;color:#fff;font-size:clamp(28px,3.4vw,40px);font-weight:800}
body .sa-qb-stage .day-meta{display:flex;align-items:center;gap:6px;margin:6px 0 0;color:rgba(255,255,255,.85)!important}
body .sa-qb-stage .day-meta span{color:inherit!important}
body .sa-qb-stage .qb-find{display:flex;gap:8px;align-items:center}
body .sa-qb-stage .qb-search{background:#fff;border-radius:999px;color:#222}
body .sa-qb-stage .qb-search input{color:#222}
body .sa-qb-stage #qbLoc{background:rgba(255,255,255,.14);color:#fff;border:0;border-radius:999px}
body .sa-qb-stage .qb-drop{color:var(--text)}
.sa-qb-centre{display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px 56px;align-items:center;margin-top:30px}
body .sa-qb-stage .qb-compass{width:min(380px,74vw);aspect-ratio:1;padding:0;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.08) 0 62%,rgba(255,255,255,.03) 63% 100%);box-shadow:0 0 0 1px rgba(255,255,255,.12),0 0 80px rgba(246,196,83,.15)}
body .sa-qb-stage .qb-dial,body .sa-qb-stage .qb-dial svg{width:100%;height:100%}
body .sa-qb-stage .qb-ring{fill:none;stroke:rgba(255,255,255,.25)}
body .sa-qb-stage .qb-tick{stroke:rgba(255,255,255,.35)}
body .sa-qb-stage .qb-tick-major{stroke:rgba(255,255,255,.8)}
body .sa-qb-stage .qb-letter{fill:rgba(255,255,255,.75);font-weight:700}
body .sa-qb-stage .qb-letter-n{fill:#F6C453}
body .sa-qb-stage .qb-needle{fill:#F6C453}
body .sa-qb-stage .qb-tail{fill:rgba(255,255,255,.35)}
body .sa-qb-stage .qb-hub{fill:#fff}
body .sa-qb-stage .qb-mark{fill:#F6C453}
body .sa-qb-stage .qb-kaaba{fill:#111}
body .sa-qb-stage .qb-kaaba-band{fill:#F6C453}
.sa-qb-side{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
body .sa-qb-stage .qb-read{text-align:start}
body .sa-qb-stage .qb-deg{margin:0;font-size:clamp(64px,9vw,112px);font-weight:800;line-height:.95;color:#fff;letter-spacing:-.03em}
body .sa-qb-stage .qb-deg-sub{margin:6px 0 0;font-size:18px;color:rgba(255,255,255,.85)}
body .sa-qb-stage .qb-hint{margin:6px 0 0;max-width:40ch;color:rgba(255,255,255,.8);font-size:15px;line-height:1.6}
body .sa-qb-stage .qb-sensor{height:48px;padding:0 22px;border-radius:999px;background:#F6C453!important;color:#1B1B1B!important;font-weight:800}
body .sa-qb-stage .qb-mecca{color:#F6C453}
body .sa-qb-stage.qb-on .qb-compass{box-shadow:0 0 0 2px #F6C453,0 0 90px rgba(246,196,83,.35)}
/* facts */
.sa-qb-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:22px 0 0;border:1px solid var(--line);border-radius:20px;overflow:hidden}
body .sa-qb-facts .qb-stat{margin:0;padding:18px 20px;border:0!important;border-radius:0!important;background:var(--bg)!important}
body .sa-qb-facts .qb-stat+.qb-stat{border-inline-start:1px solid var(--line)!important}
body .sa-qb-facts .qb-stat small{display:block;color:var(--muted);font-size:13px}
body .sa-qb-facts .qb-stat b{font-size:20px;font-weight:800}
/* map beside the steps */
.sa-qb-duo{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;margin:22px 0 0;align-items:stretch}
body .sa-qb-duo .qb-card,body .sa-qb-duo .qb-how{margin:0;padding:22px!important;border:1px solid var(--line)!important;border-radius:20px!important;background:var(--bg)!important;box-shadow:none!important}
body .sa-qb-duo .qb-map{height:360px;border-radius:14px;overflow:hidden}
body .sa-qb-duo .qb-how .qb-list{counter-reset:qh;list-style:none;margin:0;padding:0;display:grid;gap:0}
body .sa-qb-duo .qb-how .qb-list li{counter-increment:qh;position:relative;padding:14px 0 14px 46px;border-bottom:1px solid var(--line);line-height:1.6}
[dir=rtl] body .sa-qb-duo .qb-how .qb-list li{padding:14px 46px 14px 0}
body .sa-qb-duo .qb-how .qb-list li:last-child{border-bottom:0}
body .sa-qb-duo .qb-how .qb-list li::before{content:counter(qh);position:absolute;inset-inline-start:0;top:12px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--text);color:var(--bg);font-weight:800;font-size:13px}
/* guide as cards */
body .sa-qb-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:30px}
body .sa-qb-guide .qb-sec{margin:0;padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--bg)}
body .sa-qb-guide .qb-sec:nth-child(2),body .sa-qb-guide .qb-faq{grid-column:1 / -1}
body .sa-qb-guide .qb-sec h2{font-size:22px;font-weight:800}
body .sa-qb-guide .qb-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
body .sa-qb-guide .qb-steps>li{padding:52px 16px 16px!important;border:1px solid var(--line)!important;border-radius:16px;background:var(--surface)}
body .sa-qb-guide .qb-steps>li::before{top:14px!important;inset-inline-start:16px!important}
body .sa-qb-guide .qb-steps>li b{display:block;margin-bottom:4px}
@media (max-width:900px){
  .sa-qb-centre{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center}
  .sa-qb-side{align-items:center}
  body .sa-qb-stage .qb-read{text-align:center}
  .sa-qb-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  body .sa-qb-facts .qb-stat:nth-child(3){border-inline-start:0!important}
  body .sa-qb-facts .qb-stat:nth-child(n+3){border-top:1px solid var(--line)!important}
  .sa-qb-duo,body .sa-qb-guide{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:560px){body .sa-qb-stage{padding:22px 18px 30px;border-radius:22px}body .sa-qb-stage .qb-find{width:100%}body .sa-qb-stage .qb-search{flex:1}}
/* ===== end qibla ===== */
body .sa-qb-stage #qbCompassTitle{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body .sa-qb-stage~.page-desc{margin:18px 0 0;color:var(--muted);font-size:16px;max-width:70ch}

/* ===== SOLAT AXIS compare, three simple steps. Keep when re-synced ===== */
body .wrap.page .cp-head{margin-bottom:10px!important}
.sa-cp-step{margin:26px 0 0;padding:26px 0 0;border-top:1px solid var(--line)}
.sa-cp-step-h{display:flex;align-items:center;gap:14px;margin:0 0 18px}
.sa-cp-n{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:var(--text);color:var(--bg);font-size:18px;font-weight:800}
.sa-cp-step-h h2{margin:0;font-size:22px;font-weight:800}
/* step 1: your card and Makkah stacked, the map beside them */
.sa-cp-where{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:18px;align-items:stretch}
body .sa-cp-me{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px}
body .sa-cp-step .cp-card{margin:0;padding:20px!important;border:1px solid var(--line)!important;border-radius:20px!important;background:var(--bg)!important;box-shadow:none!important}
body .sa-cp-step .cp-user{border:2px solid var(--text)!important}
body .sa-cp-step .cp-user .cp-locate{width:100%;justify-content:center;height:48px;border-radius:12px}
body .sa-cp-step .cp-mecca{background:var(--surface)!important}
body .sa-cp-step .cp-mecca .cp-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body .sa-cp-step .cp-name{font-size:19px;font-weight:800}
body .sa-cp-1 .cp-mapcard{position:relative;margin:0;padding:0;border:0;border-radius:20px;overflow:hidden;min-height:380px}
body .sa-cp-1 .cp-map{height:100%!important;min-height:380px;border-radius:20px}
body .sa-cp-1 .cp-legend{position:absolute;bottom:12px;inset-inline-start:12px;z-index:500;display:flex;gap:12px;margin:0;padding:8px 14px;border-radius:999px;background:var(--bg);box-shadow:var(--shadow);list-style:none;font-size:13px}
body .sa-cp-1 .cp-qibla{position:absolute;top:12px;inset-inline-end:12px;z-index:500;display:flex;align-items:center;gap:10px;padding:8px 14px;border-radius:16px;background:var(--bg);box-shadow:var(--shadow)}
/* step 2: three slots in a row, each a dashed "add" card until filled */
body .sa-cp-slots{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px}
body .sa-cp-slots .cp-slot{min-height:200px}
body .sa-cp-slots .cp-slot:has(.cp-filled[hidden]){border:2px dashed var(--line)!important;background:var(--surface)!important}
body .sa-cp-slots .cp-find input{width:100%;height:46px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:var(--bg);color:var(--text)}
body .sa-cp-slots .cp-near-btn{margin-top:10px;width:100%;justify-content:center;border-radius:999px}
body .sa-cp-slots .cp-slotn{margin-inline-start:auto;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--bg);border:1px solid var(--line);font-weight:800;font-size:13px}
body .sa-cp-slots .cp-res,body .sa-cp-slots .cp-near{margin:8px 0 0;padding:6px;border:1px solid var(--line);border-radius:14px;background:var(--menu,var(--bg));list-style:none;max-height:240px;overflow:auto}
/* step 3: the table and the smart comparison */
body .sa-cp-3 .cp-table,body .sa-cp-3 .cp-ai{margin:0 0 14px;padding:22px!important;border:1px solid var(--line)!important;border-radius:20px!important;box-shadow:none!important}
body .sa-cp-3 .cp-table h2,body .sa-cp-3 .cp-ai h2{font-size:18px;font-weight:800}
body .sa-cp-3 table{width:100%;border-collapse:separate;border-spacing:0}
body .sa-cp-3 :is(th,td){padding:12px 10px;border-bottom:1px solid var(--line);text-align:start}
body .sa-cp-3 th{color:var(--muted);font-size:13px;font-weight:700}
body .sa-cp-3 .cp-ai{background:linear-gradient(120deg,var(--primary-soft),var(--bg))!important}
@media (max-width:900px){
  .sa-cp-where{grid-template-columns:minmax(0,1fr)}
  body .sa-cp-1 .cp-mapcard,body .sa-cp-1 .cp-map{min-height:300px}
  body .sa-cp-slots{grid-template-columns:minmax(0,1fr)!important}
  body .sa-cp-step .cp-mecca .cp-facts{grid-template-columns:minmax(0,1fr)}
}
/* ===== end compare ===== */
body .sa-cp-step .cp-mecca .cp-facts{grid-template-columns:minmax(0,1fr)!important;gap:0}
body .sa-cp-step .cp-mecca .cp-facts>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
body .sa-cp-step .cp-mecca .cp-facts>div:last-child{border-bottom:0}
body .sa-cp-step .cp-mecca .cp-facts dd{margin:0;font-weight:700}
@media (max-width:900px){body .sa-cp-slots .cp-slot{min-height:0}}
/* ===== SOLAT AXIS account pages (profile, saved, notifications, activity, security). Keep when re-synced =====
   The account sections as tabs across the top (not a side menu); on the profile, an identity card on the side with the numbers. */
body .sa-acct .acc-layout{display:block!important}
body .sa-acct .acc-nav{position:sticky;top:84px;z-index:20;display:flex!important;flex-direction:row!important;gap:2px;margin:0 0 26px;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--bg);overflow-x:auto;scrollbar-width:none}
body .sa-acct .acc-nav::-webkit-scrollbar{display:none}
body .sa-acct .acc-nav a{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:14px 14px 12px;border:0;border-bottom:2px solid transparent;border-radius:0!important;background:transparent!important;color:var(--muted);font-weight:700;font-size:14px;white-space:nowrap}
body .sa-acct .acc-nav a:hover{color:var(--text)}
body .sa-acct .acc-nav a[aria-current]{color:var(--text);border-bottom-color:var(--text)}
body .sa-acct .acc-main{max-width:none}
body .sa-acct .acc-main>*{border:1px solid var(--line);border-radius:20px;box-shadow:none}
/* profile: identity card + numbers on the side, the tabs and the panel beside them */
body .wrap.page.sa-acct:has(.acc-hero){display:grid;grid-template-columns:320px minmax(0,1fr);gap:0 40px;align-items:start;max-width:1120px}
body .wrap.page.sa-acct:has(.acc-hero)>.crumbs{grid-column:1 / -1}
body .wrap.page.sa-acct:has(.acc-hero)>.acc-hero{grid-column:1;grid-row:2;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center;gap:12px;margin:0!important;padding:28px 22px!important;border:0!important;border-radius:24px!important;background:var(--bg)!important;box-shadow:0 6px 24px rgba(0,0,0,.12)!important}
body .wrap.page.sa-acct:has(.acc-hero)>.acc-hero h1{font-size:28px!important}
body .wrap.page.sa-acct:has(.acc-hero)>.acc-hero :is(.acc-badges,.chips,ul){justify-content:center}
body .wrap.page.sa-acct:has(.acc-hero)>.acc-stats{grid-column:1;grid-row:3;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0;margin:16px 0 0;padding:6px 20px;border:1px solid var(--line);border-radius:20px;list-style:none}
body .wrap.page.sa-acct:has(.acc-hero)>.acc-stats>li{display:flex!important;flex-direction:row-reverse!important;justify-content:space-between;align-items:baseline;padding:12px 0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important}
body .wrap.page.sa-acct:has(.acc-hero)>.acc-stats>li:last-child{border-bottom:0!important}
body .wrap.page.sa-acct:has(.acc-hero)>.acc-layout{grid-column:2;grid-row:2 / span 3}
@media (max-width:900px){
  body .wrap.page.sa-acct:has(.acc-hero){grid-template-columns:minmax(0,1fr)}
  body .wrap.page.sa-acct:has(.acc-hero)>:is(.acc-hero,.acc-stats,.acc-layout){grid-column:1;grid-row:auto}
  body .wrap.page.sa-acct:has(.acc-hero)>.acc-layout{margin-top:20px}
}
/* ===== end account pages ===== */
body .wrap.page.sa-acct:has(.acc-hero)>.acc-stats>li{display:block!important;flex-direction:row!important}
body .wrap.page.sa-acct:has(.acc-hero)>.acc-stats a{display:flex!important;flex-direction:row-reverse!important;justify-content:space-between!important;align-items:center!important;width:100%;padding:4px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--text)}
body .wrap.page.sa-acct:has(.acc-hero)>.acc-stats a b{font-size:22px;font-weight:800}
body .wrap.page.sa-acct:has(.acc-hero)>.acc-stats a span{color:var(--muted);font-weight:600}
body .wrap.page.sa-acct:has(.acc-hero)>.acc-stats a:hover span{color:var(--text);text-decoration:underline}



/* 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}
/* legal pages on phones: the "on this page" list is a plain list at the top, it never sticks over the text */
@media (max-width:900px){body .lg .sl-wrap .sl-glance{position:static!important;top:auto!important;max-height:none!important;overflow:visible!important}}
/* place/city tiles on phones: the count goes under the name, so long names never run into it */
@media (max-width:600px){
  body .sa-dest-name{flex-direction:column;align-items:flex-start;gap:0}
  body .sa-dest-name b{font-size:15px;line-height:1.3;overflow-wrap:break-word}
  body .sa-dest-n{font-size:13px}
  body .sa-dest-sub{gap:0 8px;font-size:12.5px;line-height:1.5}
}

/* ===== 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)}
/* shared social profile icons in the footer (axis_social_icons), only when a link is saved */
.ax-social{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.sa-foot .sa-foot-bottom .ax-social a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;color:var(--text);transition:background-color .15s}.sa-foot .sa-foot-bottom .ax-social a:hover{background:color-mix(in srgb,var(--text) 8%,transparent);text-decoration:none}.ax-social a:focus-visible{outline:2px solid var(--text);outline-offset:2px}

/* ===== NUSANTARA PALETTE (preview theme): night sea, batik brown, mosque-board gold. Light = cream batik cloth. ===== */
:root,:root[data-theme=light]{--bg:#F6F1E4;--surface:#EFE6D2;--surface-2:#E6DAC0;--line:#D6C7A6;--text:#1B2440;--muted:#575B6B;--btn:#EFE6D2;--btn-text:#1B2440;--primary:#8A5A2B;--primary-hover:#6F4720;--primary-soft:#F0E1C9;--on-soft:#5B3A17;--on-primary:#FFF8EC;--header:#F6F1E4;--header-line:#D6C7A6;--menu:#FFFBF2;--nu-gold:#A87708;--nu-sea:#0E1B33;--nu-jade:#2FA58A;--font:"Plus Jakarta Sans","Noto Sans SC","Noto Sans Arabic",system-ui,sans-serif}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#0E1B33;--surface:#16284A;--surface-2:#1E335C;--line:#2C4470;--text:#EFE6D2;--muted:#B9B2A0;--btn:#16284A;--btn-text:#EFE6D2;--primary:#E8B931;--primary-hover:#F2CB55;--primary-soft:#2A3350;--on-soft:#F6E2A6;--on-primary:#0E1B33;--header:#0E1B33;--header-line:#1E335C;--menu:#16284A;--nu-gold:#E8B931;--nu-sea:#0E1B33;--nu-jade:#2FA58A}}
:root[data-theme=dark]{--bg:#0E1B33;--surface:#16284A;--surface-2:#1E335C;--line:#2C4470;--text:#EFE6D2;--muted:#B9B2A0;--btn:#16284A;--btn-text:#EFE6D2;--primary:#E8B931;--primary-hover:#F2CB55;--primary-soft:#2A3350;--on-soft:#F6E2A6;--on-primary:#0E1B33;--header:#0E1B33;--header-line:#1E335C;--menu:#16284A;--nu-gold:#E8B931;--nu-sea:#0E1B33;--nu-jade:#2FA58A}

/* ===== NUSANTARA HEADER: call-to-prayer strip, text tabs, gold add-a-place, batik edge ===== */
.nu-strip{background:#08142A;color:#EFE6D2;font-size:13px;border-bottom:1px solid rgba(232,185,49,.25)}
:root[data-theme=light] .nu-strip{background:#16284A}
.nu-strip-in{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px}
.nu-strip-txt{display:flex;align-items:baseline;gap:8px;min-width:0;overflow:hidden;white-space:nowrap;color:inherit;text-decoration:none}
.nu-strip-txt:hover .nu-s-city{text-decoration:underline}
.nu-s-label{color:#B9B2A0}
.nu-s-pr{color:#E8B931;font-weight:700}
.nu-s-city{font-variant-numeric:tabular-nums;font-weight:600;overflow:hidden;text-overflow:ellipsis}
.nu-s-in{color:#B9B2A0}
.nu-s-live{color:#7CF0CF;font-weight:700}
.nu-strip-seg{display:inline-flex;flex:none;border:1px solid rgba(232,185,49,.35);border-radius:999px;padding:2px}
.nu-strip-seg button{height:22px;padding:0 10px;border:0;border-radius:999px;background:transparent;color:#B9B2A0;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.nu-strip-seg button.on{background:#E8B931;color:#0E1B33}
.nu-top{position:relative;border-bottom:0!important}
.nu-top::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:6px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' viewBox='0 0 16 6'%3E%3Cpath d='M0 0h16v1.2H0z' fill='%23B8862F' opacity='.6'/%3E%3Cpath d='M8 1.2c-1.6 0-2.6 1.4-2.6 2.4S6.4 6 8 6s2.6-1.4 2.6-2.4S9.6 1.2 8 1.2z' fill='none' stroke='%23B8862F' stroke-width='.8' opacity='.7'/%3E%3C/svg%3E") repeat-x}
.nu-top .sa-tabs a svg{display:none}
.nu-top .sa-tabs a{padding:8px 12px;border-radius:10px;font-size:15px;font-weight:600}
.nu-top .sa-tabs a span{font-size:inherit}
.nu-top .sa-tabs a[aria-current=page]{color:var(--nu-gold);background:color-mix(in srgb,var(--nu-gold) 12%,transparent)}
.nu-top .sa-tabs a[aria-current=page]::after{display:none}
.nu-top .sa-host{padding:8px 14px;border-radius:999px;background:var(--nu-gold);color:var(--nu-sea);font-weight:700}
.nu-top .sa-host:hover{filter:brightness(1.08)}
@media (max-width:640px){.nu-s-label,.nu-s-in{display:none}.nu-strip{font-size:12.5px}}

/* 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}
}

/* ===== NUSANTARA HEADER v2: a mosque board on top, links and the call-to-prayer wave under it (no pill menu, no host button) ===== */
.nu-board-bar{background:linear-gradient(#07122A,#0B1A36);color:#EFE6D2;border-bottom:1px solid rgba(232,185,49,.3)}
.nu-bb{display:flex;align-items:center;gap:20px;min-height:64px}
.nu-bb-brand{display:flex;align-items:center;gap:10px;flex:none;color:#FFF3C4;text-decoration:none;font-weight:800;font-size:19px;letter-spacing:-.01em}
.nu-bb-brand img{border-radius:10px;background:#fff}
.nu-bb-board{display:flex;align-items:center;gap:14px;flex:1;min-width:0;justify-content:center;color:inherit;text-decoration:none}
.nu-bb-city{font-size:13px;font-weight:700;color:#B9B2A0;white-space:nowrap}
.nu-bb-times{display:flex;gap:4px}
.nu-bb-t{display:flex;flex-direction:column;align-items:center;min-width:64px;padding:5px 8px;border-radius:8px;background:rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px rgba(232,185,49,.18)}
.nu-bb-t small{font-size:10.5px;font-weight:700;color:#B9B2A0}
.nu-bb-t b{font-size:19px;line-height:1.15;font-weight:800;color:#E8B931;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.nu-bb-t.is-next{background:#E8B931;box-shadow:0 0 18px rgba(232,185,49,.45)}
.nu-bb-t.is-next small,.nu-bb-t.is-next b{color:#0E1B33}
.nu-bb-board:hover .nu-bb-city{color:#FFF3C4;text-decoration:underline}
.nu-bb-seg{flex:none}
/* second row: links left, the wave in the middle, plain icon actions right */
.nu-top{background:var(--bg)!important;box-shadow:none!important}
.nu-top .bar{min-height:50px!important;gap:16px}
.nu-top .brand{display:none!important}
.nu-top .sa-tabs{justify-content:flex-start!important;flex:none;margin:0!important;position:static!important;transform:none!important}
.nu-top .nu-wave-mini{flex:1;min-width:0;display:flex;align-items:baseline;justify-content:flex-end;gap:8px;overflow:hidden;white-space:nowrap;font-size:13px;color:var(--text);text-decoration:none}
.nu-top .nu-wave-mini .nu-s-label,.nu-top .nu-wave-mini .nu-s-in{color:var(--muted)}
.nu-top .nu-wave-mini .nu-s-pr{color:var(--nu-gold);font-weight:700}
.nu-top .nu-wave-mini .nu-s-city{font-weight:600;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis}
.nu-top .nu-wave-mini .nu-s-live{color:var(--nu-jade);font-weight:700}
.nu-top .sa-host{padding:6px 12px!important;border-radius:8px!important;background:transparent!important;color:var(--nu-gold)!important;border:1px solid color-mix(in srgb,var(--nu-gold) 55%,transparent)!important;font-weight:700}
.nu-top .sa-host{display:none!important}   /* add a place is already in the page and the menu (owner 2026-11-21) */
.nu-top .sa-pill{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;gap:0!important;min-width:0!important}
.nu-top .sa-pill>svg{display:none}
.nu-top .sa-face{width:34px;height:34px;border-radius:50%;box-shadow:0 0 0 2px color-mix(in srgb,var(--nu-gold) 60%,transparent)}
.nu-strip{display:none!important}
@media (max-width:1180px){.nu-bb-city{display:none}.nu-bb-t{min-width:54px;padding:4px 6px}.nu-bb-t b{font-size:17px}}
@media (max-width:980px){.nu-top .nu-wave-mini .nu-s-label,.nu-top .nu-wave-mini .nu-s-in{display:none}}
@media (max-width:860px){
  .nu-bb{gap:10px;min-height:54px}
  .nu-bb-brand span{display:none}
  .nu-bb-times{gap:2px}
  .nu-bb-t{min-width:0;flex:1;padding:3px 2px}
  .nu-bb-t small{font-size:9.5px}
  .nu-bb-t b{font-size:14px}
  .nu-bb-t[data-k=sunrise]{display:none}
  .nu-bb-board{justify-content:stretch}
  .nu-bb-times{flex:1}
  .nu-top .nu-wave-mini{display:none}
  .nu-top .sa-pill>svg{display:block}
}
@media (max-width:420px){.nu-bb-seg button{padding:0 7px;font-size:11px}}

/* language: a pill with the current language, not a globe (owner 2026-11-21) */
.nu-top .nu-lang-btn{width:auto!important;height:34px!important;padding:0 12px!important;gap:6px;display:inline-flex!important;align-items:center;border-radius:999px!important;border:1px solid color-mix(in srgb,var(--nu-gold) 55%,transparent)!important;background:color-mix(in srgb,var(--nu-gold) 8%,transparent)!important;color:var(--text)!important}
.nu-top .nu-lang-btn:hover,.nu-top .nu-lang-btn[aria-expanded=true]{background:var(--nu-gold)!important;color:var(--nu-sea)!important;border-color:var(--nu-gold)!important}
.nu-lang-code{font-size:13px;font-weight:800;letter-spacing:.04em}
.nu-lang-chev{transition:transform .15s}
.nu-lang-btn[aria-expanded=true] .nu-lang-chev{transform:rotate(180deg)}
.nu-top #ddLang{min-width:190px;padding:6px;border-radius:14px;border:1px solid color-mix(in srgb,var(--nu-gold) 35%,transparent)}
.nu-top #ddLang a{border-radius:10px;padding:10px 12px;font-weight:600}
.nu-top #ddLang a[aria-current=true]{background:color-mix(in srgb,var(--nu-gold) 16%,transparent);color:var(--nu-gold)}
.nu-top #ddLang a[aria-current=true]::after{content:"✓";float:right;font-weight:800}
@media (prefers-reduced-motion:reduce){.nu-lang-chev{transition:none}}
