/* jawna-fawz-comfort-defaults: warm, readable defaults; saved themes stay in charge. */
:root{font-size:112.5%}
:root[data-theme="light"][data-tint="gold"]{
  --j-bg:#faf3e8;--j-surface:#fffaf3;--j-surface-2:#f2e9db;--j-elevated:#fffaf3;
  --j-label:#231d17;--j-label-2:#5e5248;--j-label-3:#75695d;
  --j-separator:rgba(90,70,45,.2);--j-separator-opaque:#dccbb2;
  --j-tint:#8a6233;--j-tint-2:#6a4a24;--j-on-tint:#fffaf3;
  --j-gold:#8a6233;--j-material:rgba(250,243,232,.84);--j-material-thick:rgba(250,243,232,.94);
  --j-tabbar-bg:rgba(250,243,232,.9);--j-hero-1:#795322;--j-hero-2:#3f2b17;
}
:root{--j-fs-footnote:.8125rem;--j-fs-caption:.75rem;--j-fs-caption2:.722rem}
:root[data-qtheme="sepia"]{--s-bg:#f2e9db;--s-cell:#fffaf3;--s-ink:#231d17;--s-ink2:#5e5248;--s-sep:rgba(90,70,45,.2);--s-fill:rgba(90,70,45,.08);--s-seg:#fffaf3;--s-page:#faf3e8;--s-pcell:#fffaf3}
.j-btn,.j-row,.j-nav__btn,.j-icon-btn,.x-btn,.hud-btn{min-height:44px}
.j-icon-btn,.x-btn,.hud-btn{min-width:44px}
.j-row{min-height:52px}
.j-tabbar a,.app-tabs a{min-height:48px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--j-tint,var(--accent,#86551f));outline-offset:3px}
/* Keep Quran controls large without changing the page's printed line metrics. */
body .rp-head .rp-x{width:44px;height:44px}
body .rp-q{font-size:18px;min-height:48px}
body .rp-pick{min-height:64px}
body .rp-pick b{font-size:18px;line-height:1.45}
body .rp-pick small{font-size:14px;line-height:1.4}
body .rp-pin{width:44px;height:44px}
body .sheet-actions button{min-height:64px;font-size:16px}
body .sheet-tafsir{font-size:max(21px,calc(var(--qsize,32px) * .66));line-height:2}
body .sheet-tafsir-name{font-size:17px}
#settings .seg2 button,#settings .seg3 button{min-height:44px;font-size:16px;white-space:normal;line-height:1.35}
#settings .ig-label{font-size:16px}
#settings .as-play{min-width:44px;min-height:44px}
#settings .ig-row:has(>.dots){flex-wrap:wrap}
#settings .ig-row>.dots{flex:1 1 100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:4px;margin-inline-start:0}
#settings .dots button{width:44px;height:44px;justify-self:center}
#settings .st-track{min-height:44px}
@media(max-width:480px){
  #settings .as-row,#settings .ig-row:has(.fonts){flex-wrap:wrap}
  #settings .as-row>.ig-label,#settings .ig-row:has(.fonts)>.ig-label{flex:1 1 calc(100% - 44px);min-width:0;max-width:none;white-space:normal;overflow:visible;text-overflow:clip}
  #settings .as-row>.as-steps{flex:1 1 calc(100% - 64px)}
  #settings .ig-row>.fonts{flex-basis:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;margin-inline-start:0}
  #settings .fonts button{overflow-wrap:normal}
}
@media (orientation:landscape) and (max-height:500px){.j-tabbar a,.app-tabs a{min-height:44px}}

/* jawna-fawz-lhr-a11y: exact reported prose and small-text contrast contexts. */
.j-section-footer a,.j-row__sub a,.t-note a,.wc-how__card p a{ text-decoration-line:underline;text-underline-offset:.15em;text-decoration-thickness:.08em }
.day.today small{color:var(--j-on-tint)}
.ev-day{background:color-mix(in srgb,var(--c) 65%,#000);color:#fff}
.dl-card.is-other{opacity:1}
.tag.s{color:color-mix(in srgb,var(--j-blue) 85%,var(--j-label) 15%)}
/* fawz-colorsb: palette B */
/* jawna-fawz-polish24: Quran «أسود» theme = true black incl. its sheets; with the app on Black, the Quran night theme and auto-in-dark are black too */
:root[data-qtheme="black"],:root[data-oled][data-qtheme="night"]{--paper:#000000;--card:#111111;--line:#262626;--s-bg:#0e0e0e;--s-cell:#171717;--s-page:#000000;--s-pcell:#111111;--s-sep:rgba(255,255,255,.14);--s-fill:rgba(118,118,128,.22)}
@media (prefers-color-scheme:dark){:root[data-own-theme][data-oled]:not([data-qtheme]){--paper:#000000;--card:#111111;--line:#262626;--s-bg:#0e0e0e;--s-cell:#171717;--s-page:#000000;--s-pcell:#111111;--s-sep:rgba(255,255,255,.14);--s-fill:rgba(118,118,128,.22)}}
:root[data-saver] :not([class*="spin"]),:root[data-saver] :not([class*="spin"])::before,:root[data-saver] :not([class*="spin"])::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
:root[data-saver] *{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}

/* jawna-fawz-nograd: no green/brown gradient cards. Hero cards = normal card of the current theme; gold stays for accents. */
:root:root:root:root{--j-hero-1:var(--j-surface);--j-hero-2:var(--j-surface);--j-hero-ink:var(--j-label);--j-hero-ink-2:var(--j-label-2);--j-shadow-hero:var(--j-shadow-1)}
.hero,.cal-hero,.hj-hero,.z-hero,.today-card,.t-hero,.h-hero,.p-hero,.intro-card,.hp-hero,.read__icon,.next__ic,.m-card.is-first .c-arrow,.w-pick__badge,.finish-ic,.mic-ex__icon{--j-gold-bright:var(--j-gold)}
:root .hero,:root .cal-hero,:root .hj-hero,:root .z-hero,:root .today-card,:root .t-hero,:root .h-hero,:root .p-hero,:root .intro-card,:root .hp-hero{background:var(--j-surface)!important;box-shadow:var(--j-shadow-1)!important;color:var(--j-label)}
.read__icon,.next__ic,.m-card.is-first .c-arrow,.w-pick__badge,.finish-ic,.mic-ex__icon{background:var(--j-fill-3)!important;box-shadow:none!important}
.hero::after,.z-hero::after,.cal-hero::after,.hj-hero::after{box-shadow:none!important}
.hero__place,.p-hero__place,.cal-hero__next,.z-badge,.t-next,.t-next__in,.h-hero__badge,.a-hero__icon,.p-hero__btn,.hero__times li.is-next,.hj-hero .j-seg,.intro-card .j-btn--secondary,.intro-card__x,.today-card__flame:not(.lit){background:color-mix(in srgb,var(--j-label) 8%,transparent)!important;box-shadow:none!important}
.today-card__flame:not(.lit){color:var(--j-label-3)!important}
.hero__count-num,.z-hero__amount bdi,.cal-hero__hijri,.hj-hero__count{color:var(--j-label)!important}
.hero__arc .base,.hero__arc .horizon,.hj-ring__track,.ring-bg,.p-qibla__ring{stroke:color-mix(in srgb,var(--j-label) 16%,transparent)!important}
.hero__arc .tick{stroke:color-mix(in srgb,var(--j-label) 40%,transparent)!important;fill:var(--j-surface)!important}
.hero__arc .tick.past{fill:var(--j-gold)!important}
.hero__arc .tick.next{fill:var(--j-surface)!important;stroke:var(--j-gold)!important}
.hero__arc .done{stroke:var(--j-gold)!important}
.hero__arc .sun{fill:var(--j-gold)!important}
.hero__arc .sun-glow{display:none}
.z-hero__meter,.p-hero__bar{background:color-mix(in srgb,var(--j-label) 8%,transparent)!important}
.z-hero__actions,.hj-hero__foot,.p-hero__prog{border-top-color:color-mix(in srgb,var(--j-label) 16%,transparent)!important}
.hj-hero .j-seg::before{background:var(--j-surface)!important}
.hj-hero .j-seg>button[aria-checked="true"]{color:var(--j-label)}
.hj-hero .j-seg>button+button::after{background:color-mix(in srgb,var(--j-label) 16%,transparent)}
.hero__glow,.p-hero__glow,.hero__star,.p-hero__star{opacity:.1}
/* widgets page: preview card of the dark style follows the app dark / black */
.wg[data-theme=dark]{background:linear-gradient(180deg,#1c1c1e,#111111)}
:root[data-oled] .wg[data-theme=dark]{background:#111111}
/* jawna-fawz-navigation25: keep the outgoing page opaque until the next page is painted. */
@view-transition{navigation:auto}
::view-transition{background:var(--paper,var(--j-bg,#faf6ed))}
::view-transition-image-pair(root){isolation:isolate}
::view-transition-old(root){animation:none;opacity:1;mix-blend-mode:normal}
::view-transition-new(root){animation:fawz-page-in25 .18s ease-out both;mix-blend-mode:normal}
@keyframes fawz-page-in25{from{opacity:0}to{opacity:1}}
.j-tabbar,.app-tabs{view-transition-name:fawz-tabs}
.jt-preview .j-tabbar,.j-tabbar--static{view-transition-name:none}
::view-transition-group(fawz-tabs){animation:none}
::view-transition-old(fawz-tabs),::view-transition-new(fawz-tabs){animation:none;mix-blend-mode:normal}
.j-main>:is(.j-section,.j-card,.j-tiles,.today-card,.qm-card):not(.j-rise){animation:none}

:root[data-saver]::view-transition-old(root),:root[data-saver]::view-transition-new(root){animation:none}

/* jawna-fawz-tab-art25: original raster miniatures; translated names stay available to assistive tech. */
:is(.j-tabbar,.app-tabs) a{position:relative;justify-content:center;gap:0;min-height:52px;padding-block:3px}
:is(.j-tabbar,.app-tabs) a>.fz-tab-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0!important;box-sizing:border-box}
:is(.j-tabbar,.app-tabs) .fz-tab-art{display:block;width:40px;height:40px;object-fit:contain;flex:none;opacity:.72;transition:transform .16s ease-out,opacity .16s ease-out}
:is(.j-tabbar,.app-tabs) .fz-tab-salawat{display:grid!important;place-items:center;width:42px;height:40px;font-family:'Amiri','Noto Naskh Arabic','Geeza Pro','Traditional Arabic',serif;font-size:31px;line-height:1;color:var(--j-label,var(--ink,#594a38));opacity:.72;flex:none;transition:transform .16s ease-out,opacity .16s ease-out}
:is(.j-tabbar,.app-tabs) a[aria-current="page"] :is(.fz-tab-art,.fz-tab-salawat){opacity:1;transform:scale(1.08)}
:is(.j-tabbar,.app-tabs) a[aria-current="page"]::after{content:"";position:absolute;bottom:1px;left:calc(50% - 9px);width:18px;height:3px;border-radius:3px;background:var(--j-tint,var(--tint-ink,#946412))}
:is(.j-tabbar,.app-tabs) a:active :is(.fz-tab-art,.fz-tab-salawat){transform:scale(.92)}

@media(max-width:767px){:is(.j-tabbar,.app-tabs)[data-tden]{grid-template-columns:repeat(var(--tn),minmax(44px,1fr))!important;overflow-x:auto;overscroll-behavior-x:contain}}
@media(min-width:768px) and (min-height:600px){.j-tabbar a[aria-current="page"]::after{bottom:4px}.j-tabbar .fz-tab-art{width:42px;height:42px}}

/* jawna-fawz-theme1: one app-wide palette (Settings > المظهر). html[data-pal] on app pages; the Quran page uses data-qtheme. */
:root:root:root[data-pal="white"]{color-scheme:light;--j-bg:#f4f5f3;--j-surface:#ffffff;--j-surface-2:#ecedea;--j-elevated:#ffffff;--j-label:#141414;--j-label-2:#595959;--j-label-3:#6d6d6d;--j-separator:rgba(20,20,20,0.16);--j-separator-opaque:#dcdcdc;--j-tint:#22784e;--j-tint-2:#1a603e;--j-on-tint:#ffffff;--j-gold:#85601f;--j-gold-bright:#85601f;--j-green:#1d7534;--j-fill:rgba(20,20,20,0.14);--j-fill-2:rgba(20,20,20,0.11);--j-fill-3:rgba(20,20,20,0.08);--j-highlight:rgba(20,20,20,0.07);--j-material:rgba(244,245,243,0.84);--j-material-thick:rgba(244,245,243,0.94);--j-tabbar-bg:rgba(244,245,243,0.9)}
:root:root:root[data-pal="paper"]{color-scheme:light;--j-bg:#f7f8f2;--j-surface:#ffffff;--j-surface-2:#eef1e8;--j-elevated:#ffffff;--j-label:#183c32;--j-label-2:#4b5e52;--j-label-3:#617469;--j-separator:rgba(24,60,50,0.16);--j-separator-opaque:#d6ddd1;--j-tint:#23714b;--j-tint-2:#1b5a3b;--j-on-tint:#ffffff;--j-gold:#85601f;--j-gold-bright:#85601f;--j-green:#1d7534;--j-fill:rgba(24,60,50,0.14);--j-fill-2:rgba(24,60,50,0.11);--j-fill-3:rgba(24,60,50,0.08);--j-highlight:rgba(24,60,50,0.07);--j-material:rgba(247,248,242,0.84);--j-material-thick:rgba(247,248,242,0.94);--j-tabbar-bg:rgba(247,248,242,0.9)}
:root:root:root[data-pal="sepia"]{color-scheme:light;--j-bg:#faf3e8;--j-surface:#fffaf3;--j-surface-2:#f2e9db;--j-elevated:#fffaf3;--j-label:#231d17;--j-label-2:#5e5248;--j-label-3:#73675b;--j-separator:rgba(35,29,23,0.16);--j-separator-opaque:#dccbb2;--j-tint:#835c2f;--j-tint-2:#6a4a24;--j-on-tint:#fffaf3;--j-gold:#835c2f;--j-gold-bright:#835c2f;--j-green:#1d7534;--j-fill:rgba(35,29,23,0.14);--j-fill-2:rgba(35,29,23,0.11);--j-fill-3:rgba(35,29,23,0.08);--j-highlight:rgba(35,29,23,0.07);--j-material:rgba(250,243,232,0.84);--j-material-thick:rgba(250,243,232,0.94);--j-tabbar-bg:rgba(250,243,232,0.9)}
:root:root:root[data-pal="mint"]{color-scheme:light;--j-bg:#e9f4ee;--j-surface:#f7fbf9;--j-surface-2:#dcebe2;--j-elevated:#f7fbf9;--j-label:#173a2a;--j-label-2:#425d4d;--j-label-3:#597262;--j-separator:rgba(23,58,42,0.16);--j-separator-opaque:#c8ddd0;--j-tint:#196946;--j-tint-2:#135537;--j-on-tint:#ffffff;--j-gold:#7d5a1d;--j-gold-bright:#7d5a1d;--j-green:#1d7534;--j-fill:rgba(23,58,42,0.14);--j-fill-2:rgba(23,58,42,0.11);--j-fill-3:rgba(23,58,42,0.08);--j-highlight:rgba(23,58,42,0.07);--j-material:rgba(233,244,238,0.84);--j-material-thick:rgba(233,244,238,0.94);--j-tabbar-bg:rgba(233,244,238,0.9)}
:root:root:root[data-pal="rose"]{color-scheme:light;--j-bg:#f8eeee;--j-surface:#fdf8f7;--j-surface-2:#f0e2e2;--j-elevated:#fdf8f7;--j-label:#3d2326;--j-label-2:#6b4c4f;--j-label-3:#836467;--j-separator:rgba(61,35,38,0.16);--j-separator-opaque:#e6d2d2;--j-tint:#93404f;--j-tint-2:#7a3341;--j-on-tint:#ffffff;--j-gold:#80601f;--j-gold-bright:#80601f;--j-green:#1d7534;--j-fill:rgba(61,35,38,0.14);--j-fill-2:rgba(61,35,38,0.11);--j-fill-3:rgba(61,35,38,0.08);--j-highlight:rgba(61,35,38,0.07);--j-material:rgba(248,238,238,0.84);--j-material-thick:rgba(248,238,238,0.94);--j-tabbar-bg:rgba(248,238,238,0.9)}
:root:root:root[data-pal="lavender"]{color-scheme:light;--j-bg:#f1eff8;--j-surface:#faf9fd;--j-surface-2:#e7e4f2;--j-elevated:#faf9fd;--j-label:#2a2440;--j-label-2:#585071;--j-label-3:#6e6789;--j-separator:rgba(42,36,64,0.16);--j-separator-opaque:#dad5ec;--j-tint:#5848b4;--j-tint-2:#473a96;--j-on-tint:#ffffff;--j-gold:#7d5c1d;--j-gold-bright:#7d5c1d;--j-green:#1d7534;--j-fill:rgba(42,36,64,0.14);--j-fill-2:rgba(42,36,64,0.11);--j-fill-3:rgba(42,36,64,0.08);--j-highlight:rgba(42,36,64,0.07);--j-material:rgba(241,239,248,0.84);--j-material-thick:rgba(241,239,248,0.94);--j-tabbar-bg:rgba(241,239,248,0.9)}
:root:root:root[data-pal="night"]{color-scheme:dark;--j-bg:#1c1c1e;--j-surface:#2c2c2e;--j-surface-2:#3a3a3c;--j-elevated:#2c2c2e;--j-label:#f2f2f2;--j-label-2:#bfbfc2;--j-label-3:#949499;--j-separator:rgba(242,242,242,0.2);--j-separator-opaque:#3d3d40;--j-tint:#5cc98f;--j-tint-2:#4ab37c;--j-on-tint:#1c1c1e;--j-gold:#e3bd6b;--j-gold-bright:#e3bd6b;--j-fill:rgba(242,242,242,0.16);--j-fill-2:rgba(242,242,242,0.13);--j-fill-3:rgba(242,242,242,0.1);--j-highlight:rgba(242,242,242,0.1);--j-material:rgba(28,28,30,0.84);--j-material-thick:rgba(28,28,30,0.94);--j-tabbar-bg:rgba(28,28,30,0.9)}
:root:root:root[data-pal="black"]{color-scheme:dark;--j-bg:#000000;--j-surface:#111111;--j-surface-2:#1a1a1a;--j-elevated:#141414;--j-label:#e8e8e8;--j-label-2:#a1a1a6;--j-label-3:#8a8a8f;--j-separator:rgba(232,232,232,0.2);--j-separator-opaque:#262626;--j-tint:#5cc98f;--j-tint-2:#4ab37c;--j-on-tint:#000000;--j-gold:#e3bd6b;--j-gold-bright:#e3bd6b;--j-fill:rgba(232,232,232,0.16);--j-fill-2:rgba(232,232,232,0.13);--j-fill-3:rgba(232,232,232,0.1);--j-highlight:rgba(232,232,232,0.1);--j-material:rgba(0,0,0,0.84);--j-material-thick:rgba(0,0,0,0.94);--j-tabbar-bg:rgba(0,0,0,0.9)}
:root:root:root[data-pal="navy"]{color-scheme:dark;--j-bg:#0f1a2b;--j-surface:#18263b;--j-surface-2:#213149;--j-elevated:#1c2b42;--j-label:#e6ecf5;--j-label-2:#aab5c8;--j-label-3:#8a97ac;--j-separator:rgba(230,236,245,0.2);--j-separator-opaque:#2a3a53;--j-tint:#d4b06a;--j-tint-2:#c09a52;--j-on-tint:#0f1a2b;--j-gold:#d4b06a;--j-gold-bright:#d4b06a;--j-fill:rgba(230,236,245,0.16);--j-fill-2:rgba(230,236,245,0.13);--j-fill-3:rgba(230,236,245,0.1);--j-highlight:rgba(230,236,245,0.1);--j-material:rgba(15,26,43,0.84);--j-material-thick:rgba(15,26,43,0.94);--j-tabbar-bg:rgba(15,26,43,0.9)}
:root:root:root[data-pal="emerald"]{color-scheme:dark;--j-bg:#0f2a22;--j-surface:#173a30;--j-surface-2:#1f473b;--j-elevated:#1a4035;--j-label:#e6f2ea;--j-label-2:#afccbd;--j-label-3:#8dad9d;--j-separator:rgba(230,242,234,0.2);--j-separator-opaque:#264d40;--j-tint:#d4b06a;--j-tint-2:#c09a52;--j-on-tint:#0f2a22;--j-gold:#d4b06a;--j-gold-bright:#d4b06a;--j-fill:rgba(230,242,234,0.16);--j-fill-2:rgba(230,242,234,0.13);--j-fill-3:rgba(230,242,234,0.1);--j-highlight:rgba(230,242,234,0.1);--j-material:rgba(15,42,34,0.84);--j-material-thick:rgba(15,42,34,0.94);--j-tabbar-bg:rgba(15,42,34,0.9)}
:root:root:root[data-pal="dusk"]{color-scheme:dark;--j-bg:#1f1a14;--j-surface:#2a241c;--j-surface-2:#363024;--j-elevated:#2e271e;--j-label:#eadfc8;--j-label-2:#bcb095;--j-label-3:#9b8f76;--j-separator:rgba(234,223,200,0.2);--j-separator-opaque:#3e3529;--j-tint:#d1a85e;--j-tint-2:#bb924a;--j-on-tint:#1f1a14;--j-gold:#d1a85e;--j-gold-bright:#d1a85e;--j-fill:rgba(234,223,200,0.16);--j-fill-2:rgba(234,223,200,0.13);--j-fill-3:rgba(234,223,200,0.1);--j-highlight:rgba(234,223,200,0.1);--j-material:rgba(31,26,20,0.84);--j-material-thick:rgba(31,26,20,0.94);--j-tabbar-bg:rgba(31,26,20,0.9)}
:root:root[data-pal="navy"] .j-seg::before,:root:root[data-pal="navy"] .h-tabs::before,:root:root[data-pal="navy"] .h-seg button[aria-checked="true"],:root:root[data-pal="navy"] .hp-mini-seg button[aria-pressed="true"],:root:root[data-pal="navy"] .seg button[aria-selected="true"],:root:root[data-pal="navy"] .p-switch a[aria-current="page"],:root:root[data-pal="emerald"] .j-seg::before,:root:root[data-pal="emerald"] .h-tabs::before,:root:root[data-pal="emerald"] .h-seg button[aria-checked="true"],:root:root[data-pal="emerald"] .hp-mini-seg button[aria-pressed="true"],:root:root[data-pal="emerald"] .seg button[aria-selected="true"],:root:root[data-pal="emerald"] .p-switch a[aria-current="page"],:root:root[data-pal="dusk"] .j-seg::before,:root:root[data-pal="dusk"] .h-tabs::before,:root:root[data-pal="dusk"] .h-seg button[aria-checked="true"],:root:root[data-pal="dusk"] .hp-mini-seg button[aria-pressed="true"],:root:root[data-pal="dusk"] .seg button[aria-selected="true"],:root:root[data-pal="dusk"] .p-switch a[aria-current="page"]{background:color-mix(in srgb,var(--j-label) 24%,var(--j-surface))}
@media (prefers-color-scheme:light){:root:not([data-pal]):not([data-theme]){--j-label-2:#636366;--j-label-3:#6d6d72;--j-gold:#85601f;--j-green:#1d7534}}
@media (prefers-color-scheme:dark){:root:not([data-pal]):not([data-theme]){--j-label-2:#bdbdc2;--j-fill:rgba(120,120,128,.3)}}
:root[data-pal] body{background:var(--j-bg)}
:root .qm-live__t{color:var(--j-green)}

/* One opaque page swap: nested entrance fades made the whole page disappear. */
::view-transition-new(root),::view-transition-old(root),::view-transition-group(root){animation:none!important;opacity:1;mix-blend-mode:normal}
:root .j-rise,:root .j-fade,:root .view,:root .h-list.h-anim>.h-card{animation:none!important;opacity:1;transform:none}
/* A 140px minimum height plus aspect-ratio gave grid cards a 155px minimum width on 320px phones. */
#cats .cat{width:100%;min-width:0;max-width:100%}

/* jawna-mutawwa-web28 */
/* fawz-settab: 6 tabs in the static bar too (no 5-column flash before JawnaTabs) */
:is(.j-tabbar,.app-tabs)[data-tn]{grid-template-columns:repeat(var(--tn),minmax(0,1fr))}
@media(min-width:768px){:is(.j-tabbar,.app-tabs)[data-tn]{grid-template-columns:repeat(var(--tn),minmax(0,112px));justify-content:center}}

/* fawz-smoothtab: tab/page change = no fade. The view transition showed the new page from its first half-built frame (black in dark mode); native tabs switch at once. */
@view-transition{navigation:none}
.j-main>:is(.j-section,.j-card,.j-tiles,.today-card,.qm-card):not(.j-rise){animation:none}

/* jawna-fawz-tablook: tab bar style. No attribute / both = icons + words (default); icons = icons only (old look); words = words only */
html[data-tablook=both] :is(.j-tabbar,.app-tabs):not([data-tden="3"]) a>.fz-tab-label,html[data-tablook=words] :is(.j-tabbar,.app-tabs) a>.fz-tab-label{position:static!important;width:auto!important;height:auto!important;margin:0!important;padding:0 1px!important;clip:auto!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%;line-height:1.2;font-weight:600}
html[data-tablook=both] :is(.j-tabbar,.app-tabs):not([data-tden="3"]) a{gap:2px!important}
html[data-tablook=both] :is(.j-tabbar,.app-tabs):not([data-tden="3"]) a>.fz-tab-label{font-size:10px!important}
html[data-tablook=both] :is(.j-tabbar,.app-tabs):not([data-tden="3"]) .fz-tab-art{width:30px!important;height:30px!important}
html[data-tablook=both] :is(.j-tabbar,.app-tabs):not([data-tden="3"]) .fz-tab-salawat{width:32px!important;height:30px!important;font-size:24px!important}
html[data-tablook=words] :is(.j-tabbar,.app-tabs) :is(.fz-tab-art,.fz-tab-salawat){display:none!important}
html[data-tablook=words] :is(.j-tabbar,.app-tabs) a>.fz-tab-label{font-size:13px!important;font-weight:700}
html[data-tablook=words] :is(.j-tabbar,.app-tabs)[data-tden] a>.fz-tab-label{font-size:12px!important}
html[data-tablook=words] :is(.j-tabbar,.app-tabs)[data-tden="3"]{grid-template-columns:repeat(var(--tn),minmax(max-content,1fr))!important}
html[data-tablook=words] :is(.j-tabbar,.app-tabs)[data-tden="3"] a{padding-inline:8px!important}
html[data-tablook=both] :is(.j-tabbar,.app-tabs):not([data-tden="3"]) a,html[data-tablook=words] :is(.j-tabbar,.app-tabs) a{padding-top:1px!important;padding-bottom:5px!important}
html[data-tablook=both] :is(.j-tabbar,.app-tabs):not([data-tden="3"]) a[aria-current="page"]::after,html[data-tablook=words] :is(.j-tabbar,.app-tabs) a[aria-current="page"]::after{bottom:-2px!important}
@media (min-width:768px),(orientation:landscape) and (max-height:500px){html[data-tablook=both] :is(.j-tabbar,.app-tabs):not([data-tden="3"]) a{gap:6px!important}html[data-tablook=both] :is(.j-tabbar,.app-tabs):not([data-tden="3"]) a>.fz-tab-label{font-size:12px!important}}

/* jawna-fawz-tablookdef: icons + words only when chosen (new onboarding); no choice = icons only */

/* jawna-fawz-solidbars: solid bars (nothing shows through) + the tab bar height everyone measures from = the real 52 px tab */
:root:root{--j-tabbar-h:52px}
html:not(.t-photo-on) .j-tabbar:not(.j-tabbar--static){background:var(--j-bg)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.j-nav::before{background:var(--j-bg)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
/* fawz-fontcolor: app text size (Settings > المظهر) - the 6-column prayer strip grows less so names and times still fit */
html[data-fz]:not([data-text-large]) .p-times.p-strip .j-row__title{font-size:calc(clamp(13px, 3.15vw, 15px) * min(var(--fz,1), 1))}
html[data-fz]:not([data-text-large]) .p-times.p-strip .j-row__sub{font-size:calc(10.5px * min(var(--fz,1), 1.15))}
html[data-fz]:not([data-text-large]) .p-times.p-strip .p-time__at{font-size:calc(16px * min(var(--fz,1), 1.1))}
/* hadith card head + home date row: wrap to a second line instead of breaking words / running off screen */
:is(.h-head,.p-top,.h-acts,.p-acts){flex-wrap:wrap!important}
.h-head>.h-title{flex-basis:7em;overflow-wrap:break-word} /* fawz500b9: read check + bookmark stay on the title line (9em pushed them to a new row) */

/* Fawz 28: shared large-text layout. At the default size these rules are inactive.
   Let labels grow; let actions wrap; keep a clock and its suffix together. */
html[data-text-large] :is(.j-row,.j-nav__bar,.j-nav__lead,.j-nav__trail,.j-sheet__head){min-width:0}
html[data-text-large] .j-row{flex-wrap:wrap;gap:10px 12px;height:auto}
html[data-text-large] .j-row__body{min-width:0!important;flex:1 1 8ch}
html[data-text-large] :is(.j-row__title,.j-row__sub,.j-row__value){white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;max-width:100%;min-width:0}
html[data-text-large] .j-row__value{flex:0 1 auto}
html[data-text-large] .j-btn{height:auto;white-space:normal;overflow-wrap:normal;max-width:100%}
html[data-text-large] .j-seg{grid-auto-flow:unset;grid-template-columns:repeat(var(--n,2),minmax(0,1fr));height:auto}
html[data-text-large] :is(.j-row__body,.j-card,.j-section,.j-sheet__body)>:is(select,input:not([type=checkbox]):not([type=range])){max-width:100%;min-width:0}
html[data-text-large] :is(.j-sheet__title,.j-nav__title){white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25;overflow-wrap:anywhere}
html[data-text-large] :is(.j-grid,.j-tiles){grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr))}
html[data-text-large] :is(.hero,.p-times,.preview,.wg,.mn) bdi{white-space:nowrap}
/* Prayer strips share the same density problem as previews: enough room for each
   name and its complete time, using deliberate horizontal scrolling. */
html[data-text-large] :is(.hero__times,.preview:has(>div>bdi),.p-strip){display:flex!important;overflow-x:auto;overscroll-behavior-inline:contain;gap:12px;max-width:100%;padding-bottom:10px;scroll-snap-type:x proximity}
html[data-text-large] :is(.hero__times>li,.preview>div:has(bdi),.p-strip>li){flex:0 0 auto;min-width:5.5ch;padding-inline:10px;scroll-snap-align:start}
html[data-text-large] :is(.hero__times b,.hero__times bdi,.preview b,.preview bdi){white-space:nowrap}
html[data-text-large] :is(.hero__top,.hero__main,.hero__name){flex-wrap:wrap;min-width:0;gap:12px}
html[data-text-large] .hero__count{max-width:100%}
html[data-text-large] :is(.hero__at,.hero__count-num){white-space:nowrap}
/* Headers use the same shrinkable tracks as sheets; their measured height feeds
   the common spacer, so a wrapped title never covers the first card. */
html[data-text-large] .j-nav__bar{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);height:auto;min-height:44px;gap:6px}
html[data-text-large] .j-back{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-width:0}
html[data-text-large] .j-back>span{min-width:0}
html[data-text-large] .j-sheet__head{grid-template-columns:minmax(0,1fr) minmax(0,3fr) minmax(0,1fr)}
html[data-text-large] .h-navmid{overflow:visible;max-width:100%}
html[data-text-large] .h-navmid>*{grid-area:auto;white-space:normal;max-height:none;overflow:visible;-webkit-line-clamp:unset;line-clamp:none}
html[data-text-large] .j-nav.no-large:not(.is-under) .h-navtitle{display:none}
html[data-text-large] .j-nav.is-under .h-sub--bar{display:none}
html[data-text-large] .qm-count{height:auto;min-height:44px;white-space:normal;overflow:visible}
html[data-text-large] .qm-count>span{min-width:0;overflow-wrap:anywhere}
/* Fixed-size widget previews use their existing fit logic; labels and complete
   clocks must participate in measuring the required height. */
html[data-text-large] :is(.wg,.mn) :is(.row,.r,.prow){flex-wrap:wrap;min-width:0;gap:8px}
html[data-text-large] :is(.wg,.mn) :is(.five,.col6){display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}
html[data-text-large] :is(.wg,.mn) :is(.five,.col6)>*{min-width:4ch}
html[data-text-large] :is(.wg,.mn) :is(.at,.t,.htime,.iq,.cd){white-space:nowrap}
html[data-text-large] .j-nav__bar :is(.h-sub--bar,.j-nav__title){max-height:none!important;white-space:normal!important;overflow:visible!important;-webkit-line-clamp:unset!important;line-clamp:none!important}
html[data-text-large] :is(.rp-pick small,.rp-pick b){white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
/* Reader settings reuse the same flexible row contract. */
html[data-text-large] :is(.ig-row,.rp-pick,.rp-r){min-width:0;height:auto;flex-wrap:wrap;gap:10px}
html[data-text-large] .ig-label{min-width:0;flex:1 1 8ch;white-space:normal;overflow-wrap:anywhere}
html[data-text-large] .ig-row>:is(.seg2,.seg3,.fonts,.dots){max-width:100%;flex-wrap:wrap}
html[data-text-large] :is(.rp-pick,.tx-ch) :is(small,b){white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
html[data-text-large] .rp-pick{flex:1 1 8ch}
html[data-text-large] :is(.hs-pick,.ms-pick){overflow-x:auto;gap:12px;max-width:100%}
html[data-text-large] :is(.hs-pick,.ms-pick)>button{flex:0 0 auto;min-width:6ch;overflow:visible;white-space:normal}
html[data-text-large] :is(.hs-pick,.ms-pick) small{white-space:normal}
html[data-text-large] #settings .ig-row>.ig-label{min-width:0!important;max-width:100%;flex:1 1 8ch!important;white-space:normal!important}
html[data-text-large] :is(.tiles b,.tiles small,.hud-title,.hud-sub,.qf-val,.ig-val){white-space:normal!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset;line-clamp:none;max-height:none;overflow-wrap:anywhere}
html[data-text-large] .j-row>select{width:100%;max-width:100%;min-width:0;flex:1 1 100%}
html[data-text-large] .hud-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px}
html[data-text-large] .hud-mid{grid-column:1/-1;grid-row:1;max-width:100%}
html[data-text-large] .hud-group{grid-row:2;min-width:0;flex-wrap:wrap}
html[data-text-large] .qtb-box{top:var(--fawz-hud-h,130px);max-height:70dvh;overflow-y:auto;width:min(360px,calc(100vw - 20px))}
html[data-text-large] .qtb-row>span{white-space:normal;overflow:visible!important;text-overflow:clip;display:block!important;-webkit-line-clamp:unset!important;line-clamp:none;min-width:0;overflow-wrap:anywhere}
html[data-text-large] #reciter-name{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;min-width:0}
html[data-text-large] .player{border-radius:24px}
/* At large app text, preview cards grow with their contents instead of clipping
   a fixed pixel canvas. The native size captions remain below each preview. */
html[data-text-large] .wc-cell{width:100%;min-width:0}
html[data-text-large] .wc-fit{width:100%!important;height:auto!important}
html[data-text-large] .wc-fit>div{position:relative!important;transform:none!important;width:100%}
html[data-text-large] .wc-fit :is(.wg,.mn){width:100%!important;height:auto!important;min-height:158px;overflow:visible}
html[data-text-large] :is(.wg,.mn)>.in{position:relative;inset:auto;width:100%;height:auto;min-height:158px;transform:none;overflow-wrap:anywhere}
html[data-text-large] :is(.wg,.mn) :is(.body,.huge,.wx-body,.sub,.pill,.city){white-space:normal;overflow:visible;text-overflow:clip;max-height:none;overflow-wrap:anywhere;min-width:0}
html[data-text-large] :is(.wg,.mn) .in>*{min-width:0;max-width:100%}
html[data-text-large] :is(.wg,.mn) .grow{min-width:0}
html[data-text-large] .sheet-head h2{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
html[data-text-large] .p-strip .j-row__title{font-size:var(--j-fs-body)}
html[data-text-large] .p-strip .p-time__at{font-size:var(--j-fs-body);white-space:nowrap}
html[data-text-large] .p-strip .j-row__sub{font-size:var(--j-fs-caption)}
html[data-text-large] :is([class$="__name"],[class$="__val"],[class$="__val"]>span){white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;min-width:0}
html[data-text-large] .t-next{flex-wrap:wrap;gap:12px;min-width:0}
html[data-text-large] .t-next__t{flex:1 1 8ch;min-width:0;max-width:100%}
html[data-text-large] .t-next__t small{white-space:normal;overflow:visible;text-overflow:clip}
html[data-text-large] .t-next__in{max-width:100%;white-space:normal;overflow-wrap:anywhere}
html[data-text-large] .wx-checkgrid{grid-template-columns:repeat(auto-fit,minmax(min(100%,8ch),1fr));gap:10px}
html[data-text-large] .wx-checkgrid>span{white-space:normal;overflow-wrap:anywhere;min-width:0}
html[data-text-large] .j-nav__bar{width:100%;max-width:100%;box-sizing:border-box}
html[data-text-large] :is([class$="__hd"],[class$="__top"]){flex-wrap:wrap;min-width:0;gap:10px}
html[data-text-large],html[data-text-large] body{overflow-x:clip;max-width:100%;min-width:0}
html[data-text-large] :is(.wg,.mn)>.in{zoom:var(--k,1);width:100%}



html[data-text-large] .mn .htime{font-size:clamp(1rem,12vw,2rem)}

/* Give navigation words a full row at accessibility sizes. */
html[data-text-large] .j-nav__bar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"lead trail" "title title";gap:2px 10px}
html[data-text-large] .j-nav__lead{grid-area:lead}
html[data-text-large] .j-nav__trail{grid-area:trail}
html[data-text-large] .j-nav__bar>:is(.j-nav__title,.h-navmid){grid-area:title;max-width:100%;width:100%;margin-inline:0!important}
html[data-text-large] .j-back{white-space:nowrap;overflow-wrap:normal}
html[data-text-large] .j-nav__title{overflow-wrap:normal}
html[data-text-large] .mn .huge{font-size:clamp(1rem,12vw,2rem)}
html[data-text-large] .wc-apply{flex-wrap:wrap;gap:8px}
html[data-text-large] .wc-apply .j-btn{flex:1 1 12ch;white-space:normal;overflow-wrap:normal}
html[data-text-large] .wc-main{padding-bottom:calc(var(--fawz-apply-h,180px) + var(--j-safe-b,0px) + 16px)}

/* fawz29: shared Quick mode. One flag controls CSS motion, effects and page slides. */
html[data-quick],html[data-quick] *,html[data-quick] *::before,html[data-quick] *::after{
  animation:none!important;transition:none!important;scroll-behavior:auto!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;filter:none!important;
  box-shadow:none!important;text-shadow:none!important;view-transition-name:none!important;
  background-attachment:scroll!important;
}
html[data-quick]::view-transition-old(root),html[data-quick]::view-transition-new(root){animation:none!important}
html[data-quick] #fawz-snap{display:none!important}

/* fawzlong1: short controls keep whole words, including at large text sizes.
   Equal segment tracks preserve the existing sliding selection indicator. */
:is(.j-seg,.h-seg,.ad-tabs,.h-tabs,.hp-mini-seg,.seg,.seg2,.seg3){min-width:0;max-width:100%;flex-shrink:0}
:is(.j-seg,.h-seg,.ad-tabs,.h-tabs,.hp-mini-seg,.seg,.seg2,.seg3)>button{min-width:0;white-space:nowrap;overflow-wrap:normal;word-break:normal;overflow:hidden;text-overflow:ellipsis}
.j-chip{white-space:nowrap;overflow-wrap:normal}
:is(.j-row,.p-ctl__row,.controls,.ig-row):has(>:is(.j-seg,.h-seg,.ad-tabs,.h-tabs,.hp-mini-seg,.seg,.seg2,.seg3)){flex-wrap:wrap}
:is(.j-row,.p-ctl__row,.controls,.ig-row)>:is(.j-seg,.h-seg){flex:1 0 auto;width:max-content;max-width:100%}
/* Match the existing selected chip, in every saved Fawz palette. */
:is(.hero__btn,.p-hero__btn,.h-hero__btn,.a-hero__btn).is-primary{background:var(--j-tint)!important;color:var(--j-on-tint)!important}
/* The home summary keeps its compact grid. Full names in the prayer timetable can wrap. */
html .hero__times b{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal;max-width:100%}
/* A notice action moves down before its text is squeezed beside it. A word
   wider than the entire remaining card may use the final break-word fallback. */
.j-notice{flex-wrap:wrap}
.j-notice>div{flex:1 1 min-content;min-width:0;max-width:100%;overflow-wrap:break-word}
:is(.j-card,.j-notice,.ad-qt,.cat) :is(b,strong){overflow-wrap:break-word}

/* Art-card captions keep their bottom inset and grow the existing tile only
   when large text needs more height than its preferred aspect ratio. */
html[data-text-large] .cat:not(.is-hero){display:grid;grid-template-columns:minmax(0,1fr);aspect-ratio:auto;min-height:140px}
html[data-text-large] .cat:not(.is-hero)>b{position:relative;inset:auto;grid-area:1/1;align-self:end;min-width:0;padding:0 14px 12px 12px}
html[data-text-large] .cat.is-hero{display:flex;align-items:flex-end}
html[data-text-large] .cat.is-hero .cat__txt{position:relative;inset:auto;flex:1;min-width:0;margin:0 18px 16px 48%}

html[data-text-large] .cat:not(.is-hero)::before{content:"";display:block;position:static;inset:auto;width:auto;aspect-ratio:auto;grid-area:1/1;padding-top:90%;border-radius:0;background:none}

/* artcolors 24 Nov (owner: "colors / art trash"): richer palettes + real card depth, token level for every page. */
:root:root:root[data-pal="emerald"]{--j-bg:#0a211a;--j-surface:#12392d;--j-surface-2:#1a4738;--j-elevated:#16402f;--j-label:#eef6f0;--j-label-2:#b7d1c2;--j-label-3:#93b3a3;--j-separator:rgba(226,194,125,.16);--j-separator-opaque:#245242;--j-tint:#e0bd74;--j-tint-2:#c9a157;--j-on-tint:#0a211a;--j-gold:#e0bd74;--j-gold-bright:#ecd08f;--j-material:rgba(10,33,26,.84);--j-material-thick:rgba(10,33,26,.94);--j-tabbar-bg:rgba(10,33,26,.9);--art-glow:#1f6a50;--art-line:rgba(226,194,125,.24)}
:root:root:root[data-pal="navy"]{--j-bg:#0c1626;--j-surface:#16243a;--j-surface-2:#1f3049;--art-glow:#1d3a63;--art-line:rgba(170,195,235,.16)}
:root:root:root[data-pal="black"]{--art-glow:#14241e;--art-line:rgba(255,255,255,.09)}
:root:root:root:is([data-pal="night"],[data-pal="dusk"]){--art-glow:transparent;--art-line:rgba(255,255,255,.08)}
:root:root:root:is([data-pal="emerald"],[data-pal="navy"],[data-pal="black"],[data-pal="night"],[data-pal="dusk"]){--j-shadow-1:inset 0 1px 0 rgba(255,255,255,.05),0 0 0 1px var(--art-line),0 10px 26px -14px rgba(0,0,0,.7);--j-shadow-2:inset 0 1px 0 rgba(255,255,255,.06),0 0 0 1px var(--art-line),0 16px 34px -14px rgba(0,0,0,.75)}
:root:root:root:is([data-pal="white"],[data-pal="rose"],[data-pal="sepia"]){--j-shadow-1:0 1px 2px rgba(0,0,0,.05),0 6px 18px -10px rgba(0,0,0,.16);--j-shadow-2:0 2px 4px rgba(0,0,0,.05),0 12px 28px -12px rgba(0,0,0,.2)}
:root:root:is([data-pal="emerald"],[data-pal="navy"],[data-pal="black"]) body{background:radial-gradient(140% 60% at 50% -14%,var(--art-glow) 0%,transparent 66%) no-repeat,var(--j-bg)}
:root:root:is([data-pal="emerald"],[data-pal="navy"],[data-pal="black"],[data-pal="night"],[data-pal="dusk"]) :is(.j-card,.j-list){background-image:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.015) 38%,rgba(0,0,0,.14))}
:root:root[data-pal="emerald"] .j-seg::before,:root:root[data-pal="emerald"] .seg button[aria-selected="true"],:root:root[data-pal="emerald"] .h-seg button[aria-checked="true"]{background:linear-gradient(180deg,color-mix(in srgb,var(--j-gold) 30%,var(--j-surface)),color-mix(in srgb,var(--j-gold) 18%,var(--j-surface)));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--j-gold) 40%,transparent)}
/* fawz500b28: Quran Page settings: Script choices on one line (en 'Simple', ar 'الرسم العثماني' wrapped/cut); 7 ayah colors in one row (7th dropped alone) */
#settings .sp-row .seg2 button{font-size:14px;white-space:nowrap;padding-inline:4px}
#settings .ig-row>.dots{grid-template-columns:repeat(7,minmax(0,1fr));gap:0}#settings .dots button{width:min(44px,100%)}
@media (max-width:430px){body .rp-pick b{font-size:16.5px;line-height:1.35}} /* fawz500b28: reciter names 2 lines max on phones ('Abdul / Rahman Al- / Sudais' took 3) */
/* fawz500b48: big text: row names keep whole words ("Curren / cy" split mid-word) and a name + value + arrow row stays one row (the arrow fell alone onto a 2nd line); the value wraps at its own spaces */
html[data-text-large] .j-row>.j-row__body{min-width:auto!important}
html[data-text-large] :is(.j-row__title,.j-row__sub){overflow-wrap:break-word}
html[data-text-large] .j-row:has(>.j-row__value):has(>.j-row__chev){flex-wrap:nowrap;column-gap:8px}
html[data-text-large] .j-row:has(>.j-row__chev)>.j-row__value{min-width:auto;overflow-wrap:break-word;text-align:end}
html[data-text-large] .p-times.p-strip .j-row__body{flex:none} /* fawz500b48: big text: Prayer strip names sat 50px above their icons (row-name width rule made the name box 6ch tall in the column tile), icons now line up with the next prayer's */
/* fawz500b49: big text in other languages (fr/de/...): i18n/ui-layout.css sets .j-row__body{flex-basis:auto} with a stronger selector, so
   the row name took the whole line and the arrow / switch / tick name fell onto their own lines; value rows (language, currency) squeezed
   the name to one word a line or ran off the screen. Name gets a small base again; a long value drops under the name with its arrow. */
html[data-text-large]:not([lang="ar"]):not([lang="en"]) .j-row:not(:has(>.j-row__value))>.j-row__body{flex:1 1 8ch}
html[data-text-large]:not([lang="ar"]):not([lang="en"]) .j-row:has(>.j-row__value):has(>.j-row__chev){flex-wrap:wrap}
html[data-text-large]:not([lang="ar"]):not([lang="en"]) :is(.j-row,#r-lang):has(>.j-row__value):has(>.j-row__chev)>.j-row__body{flex:1 1 calc(100% - 56px)}
html[data-text-large]:not([lang="ar"]):not([lang="en"]) .j-row:has(>.j-row__chev)>.j-row__value{margin-inline-start:auto;max-width:calc(100% - 40px)}
html[data-text-large]:not([lang="ar"]):not([lang="en"]) .p-times.p-strip .j-row__body{flex:none}
html[data-text-large]:not([lang="ar"]):not([lang="en"]) .j-row:has(>.j-switch){flex-wrap:nowrap}
html[data-text-large]:not([lang="ar"]):not([lang="en"]) .j-row:has(>.j-switch)>.j-row__body{min-width:0!important}
html[data-text-large]:not([lang="ar"]):not([lang="en"]) :is(.j-row__title,.j-row__sub){hyphens:auto}
/* fawz500b49: big text: Hajj Steps/Duas/Ihram/Packing tabs stayed at 13px (hajj.css caps them at 3.8vw) */
html[data-text-large] .j-seg.tabs:has(>button:nth-child(4))>button{font-size:min(var(--j-fs-subhead,var(--j-fs-body)),4.6vw);text-overflow:clip;white-space:normal;overflow-wrap:normal;min-height:44px}
html[data-text-large] .alarm-tabs>button{min-width:0;white-space:normal;overflow-wrap:normal}
/* fawz500b49: big text in other languages: the one-row Hadith bar (hadith.css b40) squeezed '15 916 hadiths authentiques' into a 37px column over the icons; use the English big-text 2-row bar */
html[data-text-large]:not([lang="ar"]):not([lang="en"]) .j-nav__bar:has(#fl-lib){grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px auto;grid-template-areas:"lead trail" "title title"}
html[data-text-large]:not([lang="ar"]):not([lang="en"]) .j-nav__bar:has(#fl-lib)>.j-nav__lead{grid-area:lead}
html[data-text-large]:not([lang="ar"]):not([lang="en"]) .j-nav__bar:has(#fl-lib)>.h-navmid{grid-area:title}
html[data-text-large]:not([lang="ar"]):not([lang="en"]) .j-nav__bar:has(#fl-lib)>.j-nav__trail{grid-area:trail}
html[data-text-large]:not([lang="ar"]):not([lang="en"]) .j-nav:has(#fl-lib){height:auto}
/* fawz500b49: big text: Reminders 'Benachrichtigungen' ran out of its card */
html[data-text-large] :is(.perm__text,.perm__title){min-width:0;overflow-wrap:break-word;hyphens:auto}
/* fawz500b49: big text: a 2-line grade ('Rapporté par Al-Bukhari et Muslim') pushed the read tick onto an empty line of its own above the title */
html[data-text-large] .h-card .h-head>.h-grade{max-width:calc(100% - 40px)}
/* pfnat27: sheet close ring drawn inside the button (3px outside ring hit the tab bar under it) */
.x-btn:focus-visible,.j-icon-btn:focus-visible{outline-offset:-3px}
