/* ريّا v67 — قصص الأنبياء by presenter (segmented tabs), standalone كتب مفيدة, larger orbit with 10 sections. Soft surfaces, no strokes. */
.a67-tabs{display:flex;gap:6px;padding:5px;margin:0 0 14px;border-radius:18px;background:var(--k-tone-s,rgba(127,127,127,.1));overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.a67-tabs::-webkit-scrollbar{display:none}
.a67-tab{flex:1 0 auto;min-width:0;display:flex;flex-direction:column;align-items:center;gap:1px;font:inherit;color:inherit;background:transparent;border:0;border-radius:14px;padding:9px 12px;cursor:pointer;transition:background .25s,box-shadow .25s,color .25s}
.a67-tab b{font-weight:600;font-size:14px;white-space:nowrap}
.a67-tab small{font-size:11.5px;opacity:.7;white-space:nowrap}
.a67-tab.on{background:var(--card);box-shadow:var(--r66-s);color:var(--k-tone)}
.a67-tab:focus-visible{outline:2px solid var(--k-tone);outline-offset:1px}
.a67-who{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;margin:0 2px 12px}
.a67-who b{font-family:var(--h65,inherit);font-weight:600;font-size:17px}
.a67-who small{font-size:12.5px;opacity:.8}
.a67-who a{color:var(--k-tone);text-decoration:none;display:inline-flex;align-items:center;gap:3px}
.a67-who .ico{width:13px;height:13px}
.a67-x{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding:14px 16px;border-radius:16px;background:var(--card);box-shadow:var(--r66-s);color:inherit;text-decoration:none;font-weight:600;font-size:14px}
.a67-x .ico{width:16px;height:16px;color:var(--k-tone);flex:none}
@media(max-width:400px){.a67-tab{padding:8px 9px}.a67-tab b{font-size:13px}}
/* ---- orbit: ~15% larger, 10 sections ---- */
.h64-ring{--D:345px}
.h64-n b{font-size:11.5px}
@media(max-width:380px){.hx.h65 .h64-ring,.h64-ring{--D:min(310px,calc(100vw - 50px))}}
@media(max-width:359px){.h64-ring{--D:300px}}
@media(min-width:600px) and (max-width:1023px){.h64-ring{--D:390px}}
@media(min-width:381px) and (max-width:1023px){.hx.h65 .h64-orbit .h64-ring{--D:min(345px,calc(100vw - 44px))}}
@media(min-width:1024px){.hx.h65 .h64-orbit .h64-ring{--D:345px}}
@media(min-width:1024px) and (max-width:1199px){.hx.h65 .h64-orbit .h64-ring{--D:330px}}
/* ---- orbit motion (v67): calm continuous turn, staggered entrance, breathing centre, counter-turning dotted track ---- */
.h64-spin{animation:h64r 75s linear infinite}
.h64-nb{animation:h64r 75s linear infinite reverse}
.h64-ic,.h64-n b{animation:a67in .7s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 55ms + 120ms)}
@keyframes a67in{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
.h64-ic{will-change:transform;transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s cubic-bezier(.2,.8,.2,1),background .35s,color .35s}
.h64-n:hover .h64-ic,.h64-n:focus-visible .h64-ic{transform:translateY(-3px) scale(1.08);box-shadow:0 12px 22px -10px color-mix(in srgb,var(--k-tone) 55%,rgba(0,0,0,.4))!important}
.h64-n:active .h64-ic{transform:scale(.93);transition-duration:.12s}
.hx.h65 .h64-ring .h64-tr.t2{display:block;width:calc(var(--R) * 2 - 92px);height:calc(var(--R) * 2 - 92px);border:1.5px dotted color-mix(in srgb,var(--k-tone) 38%,transparent)!important;opacity:.55;animation:h64r 140s linear infinite reverse}
.h64-core{isolation:isolate}
.h64-core::before{content:"";position:absolute;inset:-14px;border-radius:50%;z-index:-1;background:radial-gradient(circle,color-mix(in srgb,var(--k-tone) 30%,transparent) 0%,transparent 68%);animation:a67br 5.5s cubic-bezier(.45,0,.55,1) infinite;will-change:transform,opacity;pointer-events:none}
@keyframes a67br{0%,100%{opacity:.35;transform:scale(.92)}50%{opacity:.9;transform:scale(1.06)}}
.h64-core{overflow:visible}
.h64-core::after{content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.38) 48%,transparent 66%) no-repeat;background-size:250% 100%;background-position:120% 0;mix-blend-mode:soft-light;animation:a67sh 8s cubic-bezier(.45,0,.55,1) infinite}
@keyframes a67sh{0%,55%{background-position:120% 0}100%{background-position:-40% 0}}
.h64-ring.still .h64-core::before,.h64-ring.still .h64-core::after,.h64-ring.still .h64-ic,.h64-ring.still .h64-n b{animation:none!important}
@media (prefers-reduced-motion:reduce){.h64-spin,.h64-nb,.h64-tr,.h64-ic,.h64-n b,.h64-core::before,.h64-core::after{animation:none!important}.h64-ic{transition:none}}
/* ---- section header banners (v67): icon on top, title and subtitle centred, larger title — one rule for every banner ---- */
.ph-hero.sx-band{flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:10px!important;padding:20px 16px 18px!important}
.ph-hero.sx-band .sx-m{width:56px!important}
.ph-hero.sx-band .hb-t{width:100%;min-width:0;display:flex;flex-direction:column;align-items:center}
.ph-hero.sx-band h2{font-size:clamp(24px,6.4vw,30px)!important;line-height:1.35;text-wrap:balance}
.ph-hero.sx-band p{line-height:1.7;text-wrap:balance}
.ph-hero:not(.sx-band){align-items:center;text-align:center}
.kids-hero .hb-row{flex-direction:column;text-align:center;gap:10px}
.kids-hero .hb-row .sx-m{width:56px}
@media (min-width:1024px){.ph-hero.sx-band h2{font-size:clamp(28px,1.3vw + 12px,44px)!important}.ph-hero.sx-band .sx-m{width:clamp(56px,4vw,84px)!important}}
/* ---- السيرة: third tab ---- */
.sira-tabs a{padding:11px 6px}
@media(max-width:420px){.sira-tabs{gap:4px;padding:4px}.sira-tabs a{flex-direction:column;gap:3px;font-size:13.5px;padding:9px 4px}.sira-tabs .ico{width:18px;height:18px}}
.a67in .a66-top{margin-top:2px}
.a67-src{margin-top:18px;background:var(--card);border-radius:22px;padding:16px;box-shadow:var(--r66-s)}
.a67-src .a66-b{box-shadow:none;background:var(--k-tone-s,rgba(127,127,127,.08))}
.a66-b em,.a66-b small{line-height:1.7}
/* ---- قصص الأنبياء: clean episode list (number, title, play) instead of large cards ---- */
.a67in .a66-grid,.a67in ~ * .a66-grid,#a67Sr .a66-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:8px}
#a67Sr .a66-c{flex-direction:row;align-items:center;gap:12px;padding:8px;border-radius:14px}
#a67Sr .a66-c .a66-th{width:112px}
#a67Sr .a66-c:hover,#a67Sr .a66-c:focus-visible{transform:none;background:var(--k-tone-s)}
#a67Sr .a66-ct{padding:0;gap:4px;flex:1}
#a67Sr .a66-ct b{font-size:15px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#a67Sr .a66-ct small{font-size:12.5px}
@media (max-width:420px){#a67Sr .a66-grid{grid-template-columns:1fr}#a67Sr .a66-c .a66-th{width:104px}#a67Sr .a66-ct b{font-size:14.5px}}
.a67-tab{flex:1 1 0}
.a67-tab b{overflow:hidden;text-overflow:ellipsis;max-width:100%}
#hcTime,.cd-time,.h62-cd b{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}
/* ---- القرّاء (v67): one refined panel, tidy grid of rounded-square portraits, play on hover/tap only ---- */
.hx.h65 .h64-rec.h64-rec{background:var(--card)!important;border-radius:24px!important;padding:20px 16px 18px!important;box-shadow:var(--r66-s)!important}
.hx.h65 .h64-rec .hx-head{justify-content:center!important;text-align:center;margin-bottom:16px!important}
.hx.h65 .h64-rec .hx-head>div{width:100%}
.hx.h65 .h64-rec .hx-head h2{font-size:22px}
.hx.h65 .h64-rec .hx-head .hx-more,.hx.h65 .h64-rec .r8-nav{display:none!important}
.hx.h65 .h64-rec .hx-rrow.hx-rrow{display:grid!important;grid-auto-flow:row!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-columns:auto!important;gap:16px 12px!important;overflow:visible!important;padding:0!important;scroll-snap-type:none!important}
.hx.h65 .h64-rec .hx-rcard:nth-child(n+7){display:none!important}
.hx.h65 .h64-rec .hx-rcard.hx-rcard{background:transparent!important;box-shadow:none!important;padding:0!important;border-radius:0!important;min-width:0!important}
.hx.h65 .h64-rec .hx-av.hx-av{width:100%!important;height:auto!important;aspect-ratio:1;border-radius:18px!important;box-shadow:none!important;margin:0 0 8px!important;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s cubic-bezier(.2,.8,.2,1)}
.hx.h65 .h64-rec .hx-av img{border-radius:18px!important}
.hx.h65 .h64-rec .hx-rlink b{font-size:13.5px!important;line-height:1.6!important}
.hx.h65 .h64-rec .hx-rlink small{display:none!important}
.hx.h65 .h64-rec .hx-rcard:hover .hx-av,.hx.h65 .h64-rec .hx-rcard:focus-within .hx-av{transform:translateY(-3px);box-shadow:0 0 0 1px color-mix(in srgb,var(--k-gold,#b08d3c) 75%,transparent),0 12px 22px -12px rgba(0,0,0,.35)!important}
.hx.h65 .h64-rec .hx-rcard:active .hx-av{transform:scale(.97)}
.hx.h65 .h64-rec .hx-rplay.hx-rplay{top:auto!important;bottom:auto!important;inset-inline-start:auto!important;inset-inline-end:8px;top:8px!important;opacity:0;transform:scale(.85);transition:opacity .25s,transform .25s cubic-bezier(.2,.8,.2,1)}
.hx.h65 .h64-rec .hx-rcard:hover .hx-rplay,.hx.h65 .h64-rec .hx-rcard:focus-within .hx-rplay,.hx.h65 .h64-rec .hx-rcard.a67t .hx-rplay{opacity:1;transform:none}
@media (hover:none){.hx.h65 .h64-rec .hx-rplay.hx-rplay{opacity:.92;transform:scale(.9)}}
.a67-allr{display:flex;justify-content:center;margin-top:16px}
.a67-allr a{display:inline-flex;align-items:center;gap:6px;padding:9px 18px;border-radius:99px;background:var(--k-tone-s);color:var(--k-tone);font-weight:600;font-size:14px;text-decoration:none}
.a67-allr .ico{width:15px;height:15px}
@media (min-width:1024px){.hx.h65 .h64-rec .hx-rrow.hx-rrow{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:18px!important}.hx.h65 .h64-rec .hx-rlink b{font-size:14.5px!important}}
@media (prefers-reduced-motion:reduce){.hx.h65 .h64-rec .hx-av,.hx.h65 .h64-rec .hx-rplay{transition:none}}
.hx.h65 .h64-rec .hx-head h2,.hx.h65 .h64-rec .hx-head p{text-align:center!important;width:100%}
.a67-rm{margin-top:12px}
#pNextT{font-variant-numeric:tabular-nums}
