/* رَيّا v68 */
/* player: big play, speed, resume */
#player .pl-main.pl-big68,#player #plPlay{width:56px;height:56px;min-width:56px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 8px 20px -10px rgba(0,0,0,.45)}
#player #plPlay .ico{width:28px;height:28px}
#player #plPrev,#player #plNext{min-width:44px;min-height:44px}
.pl-rate68{min-width:40px;min-height:30px;font:600 13px/1 var(--ui,system-ui);font-variant-numeric:tabular-nums;border:1px solid color-mix(in srgb,currentColor 22%,transparent)!important;border-radius:999px!important;padding:0 8px!important;white-space:nowrap}
#plRecB.pl-rec68 span{font-weight:700}
.res68{display:flex;align-items:center;gap:8px;padding:6px 10px;margin:0 0 6px;border-radius:12px;background:color-mix(in srgb,var(--gold,#b08d3c) 14%,transparent);font-size:13px;line-height:1.7}
.res68-t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.res68-go{border:0;border-radius:999px;padding:6px 14px;min-height:34px;font:700 13px var(--ui,system-ui);background:var(--gold,#b08d3c);color:#fff;cursor:pointer}
.res68-x{border:0;background:none;color:inherit;font-size:20px;line-height:1;min-width:34px;min-height:34px;cursor:pointer;opacity:.7}
/* language button */
.icon-btn.lang68 b{font:700 13px/1 var(--ui,system-ui);letter-spacing:.02em}
.icon-btn.lang68 b[lang=ar]{font-size:16px}
/* install card */
.inst68{display:flex;align-items:center;gap:12px;padding:12px 14px;margin:12px 0;border-radius:16px;background:var(--card,rgba(255,255,255,.06));border:1px solid color-mix(in srgb,var(--gold,#b08d3c) 35%,transparent)}
.inst68[hidden]{display:none}
.inst68 img{width:48px;height:48px;border-radius:12px;flex:none}
.inst68-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.7}
.inst68-t b{font-size:15px}.inst68-t small{font-size:12.5px;opacity:.8}
.inst68-go{white-space:nowrap;min-height:40px}
.inst68-x{border:0;background:none;color:inherit;font-size:20px;min-width:36px;min-height:36px;opacity:.6;cursor:pointer}
@media(max-width:400px){.inst68{flex-wrap:wrap}.inst68-t{flex-basis:calc(100% - 110px)}.inst68-go{flex:1}}
/* iOS guide */
.ig68 h3{margin:0 0 4px}
.ig68-l{list-style:none;padding:0;margin:12px 0 14px;display:flex;flex-direction:column;gap:12px}
.ig68-s{display:flex;gap:10px;align-items:flex-start}
.ig68-n{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--gold,#b08d3c);color:#fff;font-weight:700}
.ig68-b{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;line-height:1.7}
.ig68-b small{opacity:.8}
.ig68-ill{margin-top:6px;border-radius:14px;padding:10px;background:color-mix(in srgb,currentColor 6%,transparent)}
.ig68-phone{direction:ltr;border-radius:12px;overflow:hidden;background:#f4f4f6;color:#222;box-shadow:0 1px 0 rgba(0,0,0,.08)}
.ig68-url{font:12px/2.2 system-ui;text-align:center;background:#e9e9ee;margin:6px;border-radius:8px}
.ig68-bar{display:flex;justify-content:space-around;align-items:center;padding:8px 6px 10px;color:#2f6fed}
.ig68-bar i{width:18px;height:4px;border-radius:2px;background:#c7c7cc}
.ig68-hl{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:rgba(47,111,237,.14);outline:2px solid #2f6fed;animation:ig68p 1.6s ease-in-out infinite}
.ig68-hl .ico{width:24px;height:24px}
@keyframes ig68p{50%{transform:scale(1.08)}}
@media (prefers-reduced-motion:reduce){.ig68-hl{animation:none}}
.ig68-menu{border-radius:12px;background:#fff;color:#222;overflow:hidden;box-shadow:0 1px 0 rgba(0,0,0,.08)}
.ig68-row{display:flex;justify-content:space-between;align-items:center;padding:9px 12px;font-size:13.5px;border-bottom:1px solid #eee}
.ig68-row:last-child{border:0}.ig68-row i{width:16px;height:16px;border-radius:4px;background:#d1d1d6}
.ig68-row.on{background:rgba(47,111,237,.12);font-weight:700;color:#1d4fc4}.ig68-row .ico{width:20px;height:20px}
.ig68-home{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:12px;padding:10px 14px;background:linear-gradient(135deg,#25445a,#16313f);color:#fff}
.ig68-app{display:flex;flex-direction:column;align-items:center;gap:4px}.ig68-app img{border-radius:12px;width:54px;height:54px}.ig68-app small{font-size:12px}
.ig68-add{font-weight:700;color:#6aa7ff}
/* offline */
.off68{position:fixed;inset-inline:12px;z-index:60;margin:0 auto;max-width:560px;display:flex;align-items:center;gap:10px;padding:8px 14px;border-radius:14px;font-size:13px;line-height:1.7;background:color-mix(in srgb,var(--bg,#0f1a17) 88%,var(--gold,#b08d3c));color:inherit;border:1px solid color-mix(in srgb,var(--gold,#b08d3c) 40%,transparent);box-shadow:0 10px 26px -14px rgba(0,0,0,.5)}
.off68[hidden]{display:none}
.off68 i{flex:none;width:8px;height:8px;border-radius:50%;background:var(--gold,#b08d3c)}
.net68{text-align:center;padding:40px 18px;max-width:520px;margin:0 auto;line-height:1.8}
.net68 .ico{width:54px;height:54px;opacity:.7}
.net68 h2{margin:10px 0 6px}
.net68 .row{gap:10px;margin-top:14px}
/* reader language toggle + translation */
.qtr68{display:inline-flex;border-radius:999px;padding:2px;gap:2px;background:color-mix(in srgb,currentColor 9%,transparent);flex:none}
.qtr68 button{border:0;background:none;color:inherit;font:600 12.5px/1 var(--ui,system-ui);padding:7px 10px;min-height:32px;border-radius:999px;cursor:pointer;white-space:nowrap}
.qtr68 button.on{background:var(--gold,#b08d3c);color:#fff}
.tr68{display:none}
body.qtr-both .qtext .ayah{display:block;margin-top:14px}
body.qtr-both .tr68,body.qtr-en .tr68{display:block;direction:ltr;text-align:left;font:400 16px/1.75 Georgia,"Times New Roman",serif;margin:4px 0 6px;padding-inline-start:0;opacity:.95}
.tr68 b{font:600 12px/1 var(--ui,system-ui);opacity:.6;margin-inline-end:6px}
body.qtr-en .qtext .ayah{display:none}
body.qtr-en .qtext,body.qtr-both .qtext{text-align:start}
.tr68src{direction:ltr;text-align:left;font-size:12px;opacity:.65;margin:10px 0 4px}
body.qtr-en .mp-pane,body.qtr-both .mp-pane{overflow-y:auto}
/* English layout: content in Arabic stays right-to-left */
html.en68 .qtext,html.en68 .basmala,html.en68 .surah-head,html.en68 .dtext,html.en68 .ayah-box,html.en68 .hx-ayah,html.en68 .ayah-day,html.en68 .h62-dt,html.en68 .mp-track{direction:rtl}
html.en68 .mp-view{direction:rtl}
html.en68 body{font-family:var(--ui),system-ui,-apple-system,"Segoe UI",sans-serif}
/* orbit: the «كل الأقسام» pill under the ring is gone (owner, 11:49); the «المزيد» link in the section head stays */
.h64-more{display:none!important}
/* settings card */
.set68 h3{margin:0 0 8px}
.seg68{display:inline-flex;gap:4px;padding:3px;border-radius:999px;background:color-mix(in srgb,currentColor 8%,transparent)}
.seg68 button{border:0;background:none;color:inherit;padding:8px 16px;min-height:38px;border-radius:999px;font:600 14px var(--ui,system-ui);cursor:pointer}
.seg68 button.on{background:var(--gold,#b08d3c);color:#fff}
/* Arabic reading comfort */
.card p,.note,.li small,.muted.small{line-height:1.7}
/* phones: the Ramadan countdown sits right under the prayer countdown (order only, no reflow) */
@media(max-width:1023px){#app .hx .h62-rm.h63-rm{order:2!important;margin-top:0;min-height:64px}#app .hx .hx-hero{order:3!important}}
body.qtr-both .tr68,body.qtr-en .tr68{text-align-last:left}
/* phones: the three-way toggle collapses to one button that cycles عربي → English → الاتنين */
.qtr68c{display:none}
@media(max-width:700px){.reader-bar .qtr68{display:none}.qtr68c{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:36px;padding:0 10px;border-radius:999px;border:1px solid color-mix(in srgb,var(--gold,#b08d3c) 55%,transparent);background:color-mix(in srgb,var(--gold,#b08d3c) 14%,transparent);color:inherit;font:700 12.5px/1 var(--ui,system-ui);white-space:nowrap;cursor:pointer;flex:none}}
.mp-foot .qtr68c{margin-inline:6px}
@media(max-width:700px){.mp-foot .mp-info{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
/* small phones (and longer English labels): the reader bar keeps every button on screen */
@media(max-width:420px){.mp-bar .nb-mp span,.mp-bar .mp-lbl{display:none}.mp-bar{gap:4px}.mp-bar .chips .chip{padding-inline:9px}}
@media(max-width:370px){.mp-bar #fMinus,.mp-bar #fPlus{padding-inline:6px}}
.mp-bar .title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 1 auto}
@media(max-width:420px){html.en68 .mp-bar .title{max-width:84px}html.en68 .mp-bar .chips .chip{padding-inline:7px;font-size:12px}}
/* fix (found in v68 testing, also in v67): the route fade-in kept a transform on #app with fill "both", which turns the
   full-screen mushaf (position:fixed) into a 46px strip when it is opened from inside the app. The fade still plays; it
   just does not keep a transform afterwards, and the reader drops it entirely. */
.pm-route-in{animation-fill-mode:backwards!important}
body.mp-on #app{animation:none!important;transform:none!important}
