:root{
  --sa-50:#f3fcf6;--sa-100:#dff6e7;--sa-500:#25935f;--sa-600:#1b8354;--sa-700:#166a45;--sa-800:#14573a;--sa-900:#104631;
  --n-25:#fcfcfd;--n-50:#f9fafb;--n-100:#f3f4f6;--n-200:#e5e7eb;--n-300:#d2d6db;--n-400:#9da4ae;--n-500:#6c727e;--n-600:#4d5761;--n-700:#384250;--n-800:#1f2a37;--n-900:#111927;
  --red:#d92d20;--bg:var(--n-50);--card:#fff;--text:var(--n-900);--muted:var(--n-600);--line:var(--n-200);--accent:var(--sa-700);
  --fs:16px;
}
:root[data-contrast="1"]{--muted:var(--n-800);--line:var(--n-500);--accent:var(--sa-900)}
*{box-sizing:border-box;margin:0;padding:0}
html{font-size:var(--fs)}
body{font-family:"IBM Plex Sans Arabic",system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.6}
a{color:inherit}
button,select,input{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--sa-500);outline-offset:2px;border-radius:4px}
.wrap{max-width:1240px;margin-inline:auto;padding-inline:16px}
.skip{position:absolute;inset-inline-start:-999px;top:8px;background:#fff;padding:8px 12px;z-index:10}
.skip:focus{inset-inline-start:8px}
svg{width:20px;height:20px;flex:none}

/* الختم الرقمي */
.gov{background:var(--n-100);font-size:13px;color:var(--n-700)}
.gov-in{display:flex;gap:8px;align-items:center;min-height:36px;flex-wrap:wrap}
.flag{width:20px;height:14px}
.how{background:none;border:0;color:#067647;font-weight:600;display:inline-flex;align-items:center;gap:2px;cursor:pointer;min-height:32px}
.how svg{width:16px;height:16px}
.how[aria-expanded="true"] svg{transform:rotate(180deg)}
.how-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;padding-block:12px 16px}
.how-panel[hidden]{display:none}
.how-panel .it{display:flex;gap:10px}.how-panel .it svg{color:#067647;margin-top:3px}
.how-panel b{display:block;color:var(--n-900);font-weight:600}.how-panel em{font-style:normal;color:#067647}

/* الرأس */
.hdr{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}
.hdr-in{display:flex;align-items:center;gap:20px;min-height:72px}
.brand{display:flex;gap:8px;align-items:center}
.brand{gap:14px}
.brand img{height:62px;width:62px;object-fit:contain}
.nav{display:flex;gap:4px;flex:1;overflow-x:auto;scrollbar-width:none}
.nav a{text-decoration:none;padding:10px 14px;border-radius:6px;font-weight:500;color:var(--n-700);white-space:nowrap;min-height:44px;display:flex;align-items:center}
.nav a[aria-current="page"]{color:var(--sa-700);background:var(--sa-50)}
.langsw{display:inline-flex;gap:6px;align-items:center;font-weight:600;color:var(--n-500);white-space:nowrap}
@media(max-width:1020px){.hdr-in{flex-wrap:wrap;gap:8px;padding-block:8px}.nav{order:3;flex-basis:100%}.brand img{height:52px;width:52px}.hdr-end{margin-inline-start:auto}}

.proto-note{margin-top:16px;background:#fffaeb;border:1px solid #fedf89;color:#7a2e0e;border-radius:8px;padding:10px 14px;font-size:14px}
main{padding-block:24px 56px;min-height:60vh}
main:focus{outline:none}
h1{font-size:28px;line-height:1.3;margin-bottom:6px}
.lead{color:var(--muted);margin-bottom:20px}
.card{background:var(--card);border:1px solid var(--line);border-radius:12px}
.pad{padding:16px}
.muted{color:var(--muted)}
.small{font-size:14px}
.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.grid2{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px}
.grid-side{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px}
@media(max-width:960px){.grid2,.grid-side{grid-template-columns:1fr}}

.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:16px;overflow-x:auto}
.tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:10px 14px;font-weight:600;color:var(--muted);cursor:pointer;min-height:44px;white-space:nowrap}
.tabs button[aria-selected="true"]{color:var(--sa-700);border-color:var(--sa-600)}

.field{display:flex;flex-direction:column;gap:4px;font-size:14px;font-weight:500;min-width:200px;flex:1}
select,input[type=search]{border:1px solid var(--n-300);border-radius:6px;padding:9px 12px;background:#fff;min-height:44px;width:100%}
.btn{display:inline-flex;align-items:center;gap:8px;background:var(--sa-600);color:#fff;border:0;border-radius:6px;padding:10px 16px;font-weight:600;cursor:pointer;min-height:44px;text-decoration:none}
.btn.sec{background:#fff;color:var(--n-800);border:1px solid var(--n-300)}
.btn:disabled{opacity:.5;cursor:default}

.player{position:relative;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}
.player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.live{display:inline-flex;align-items:center;gap:6px;background:var(--red);color:#fff;font-size:12px;font-weight:700;padding:2px 8px;border-radius:4px}
.live:before{content:"";width:6px;height:6px;border-radius:50%;background:#fff}

.list{list-style:none}
.list li{display:flex;gap:12px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--n-100)}
.list li:last-child{border-bottom:0}
.list li.now{background:var(--sa-50)}
.time{font-variant-numeric:tabular-nums;font-weight:600;width:56px}
.tag{display:inline-block;font-size:12px;padding:1px 8px;border-radius:999px;background:var(--n-100);color:var(--n-700)}
.tag.g{background:var(--sa-50);color:var(--sa-800)}

.vgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.vcard{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;text-align:start;cursor:pointer;padding:0;display:flex;flex-direction:column}
.vcard img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:var(--n-200)}
.vcard .b{padding:10px 12px;display:flex;flex-direction:column;gap:4px}
.vcard .t{font-weight:600;font-size:15px;line-height:1.5}
.vcard:hover{border-color:var(--sa-500)}

.ayah{padding:16px 0;border-bottom:1px solid var(--n-100)}
.ayah .ar{font-family:"Amiri Quran","Amiri",serif;font-size:26px;line-height:2.2}
.ayah .tr{margin-top:6px;color:var(--n-700)}
.mk{display:inline-grid;place-items:center;min-width:32px;height:32px;padding:0 4px;font-size:13px;font-family:"IBM Plex Sans Arabic";border:1.5px solid var(--sa-500);border-radius:50%;color:var(--sa-700);vertical-align:middle;margin-inline:6px}
audio{width:100%;margin-top:8px}

.tree{list-style:none;font-size:15px}
.tree ul{list-style:none;padding-inline-start:14px;border-inline-start:1px solid var(--line);margin-inline-start:10px}
.tree button{background:none;border:0;width:100%;text-align:start;padding:8px 10px;border-radius:6px;cursor:pointer;display:flex;justify-content:space-between;gap:8px;min-height:40px}
.tree button:hover{background:var(--n-100)}
.tree button[aria-current="true"]{background:var(--sa-50);color:var(--sa-800);font-weight:600}
.count{font-size:12px;color:var(--muted)}
.hlist button{background:none;border:0;border-bottom:1px solid var(--n-100);width:100%;text-align:start;padding:12px 14px;cursor:pointer;min-height:48px}
.hlist button:hover,.hlist button[aria-current="true"]{background:var(--sa-50)}
.hadeeth{font-size:19px;line-height:2}
.sec-h{font-weight:700;margin:18px 0 6px}
.pager{display:flex;gap:8px;justify-content:center;padding:12px}
.state{padding:24px;text-align:center;color:var(--muted)}
.err{color:#b42318}

/* التذييل الموحد */
.dfoot{background:#074d31;color:#fff;padding-top:40px}
.dfoot .cols{display:grid;grid-template-columns:repeat(3,1fr) 1.3fr;gap:28px}
.dfoot h2{font-size:16px;margin-bottom:12px}
.dfoot .cols a{display:block;color:#fff;text-decoration:none;font-size:14px;margin-bottom:6px;padding-block:3px;min-height:24px}
.dfoot .cols a[href]:hover{text-decoration:underline}
.dfoot .icons{display:flex;gap:10px;margin-bottom:20px}
.dfoot .icons a,.dfoot .icons button{width:44px;height:44px;border:1px solid rgba(255,255,255,.4);border-radius:8px;display:grid;place-items:center;background:none;color:#fff;cursor:pointer;margin:0}
.dfoot .icons button[aria-pressed="true"]{background:rgba(255,255,255,.2)}
.dfoot .legal{margin-top:28px;border-top:1px solid rgba(255,255,255,.25);padding:20px 0 28px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:14px}
.dfoot .legal a{margin-inline-end:16px;font-weight:600}
.dfoot .legal p{margin-top:6px;opacity:.95}
.dfoot .lg{display:flex;gap:12px}
.dfoot .lg{align-items:center;gap:28px}
.dfoot .lg img{height:54px;width:auto;filter:brightness(0) invert(1);opacity:.95}
@media(max-width:760px){.dfoot .cols{grid-template-columns:1fr 1fr}.dfoot .cols>div:last-child{grid-column:1/-1}.dfoot .legal{flex-direction:column;text-align:center}}

/* إضافات: الرأس، البحث، التلفاز */
.hdr-end{display:flex;gap:8px;align-items:center}
.ico{width:44px;height:44px;border:1px solid var(--n-300);border-radius:6px;display:grid;place-items:center;background:#fff;color:var(--n-800);cursor:pointer}
.ico[aria-current="page"]{border-color:var(--sa-600);color:var(--sa-700)}
.ico[hidden]{display:none}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.langsw select{border:1px solid var(--n-300);border-radius:6px;min-height:44px;padding:6px 8px;width:auto;max-width:170px;font-weight:600;color:var(--n-800);background:#fff}
.langsw{color:var(--n-700)}
.h3{font-size:17px;font-weight:700}
.notice{margin-top:12px;background:#fffaeb;border:1px solid #fedf89;border-radius:8px;padding:12px 14px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.ayah.hl{background:#fffaeb;border-radius:8px;padding-inline:10px}
.sgroup{margin-bottom:16px}
.sgroup .list a{text-decoration:none;display:block}
.sgroup .list a:hover{text-decoration:underline}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.chip{border:1px solid var(--n-300);border-radius:999px;padding:8px 14px;background:#fff;cursor:pointer;min-height:40px}
.chip:hover{border-color:var(--sa-600)}
@media(max-width:760px){.hdr-end{margin-inline-start:auto}.langsw select{max-width:120px}}

body.tv{background:#05110c;color:#fff}
body.tv .gov,body.tv .hdr,body.tv .proto-note,body.tv .dfoot{display:none}
body.tv main{max-width:none;padding:32px 48px}
.tv-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
.tv-logo{height:64px;width:64px;background:#fff;border-radius:12px;padding:4px}
.tv-hint{color:#c7d2cc;font-size:18px}
.tv-player{width:min(100%,calc((100vh - 400px) * 1.778));margin-inline:auto}
body.tv main{padding:20px 48px}
.tv-top{margin-bottom:12px}
.tv-now{margin:10px 0;font-size:26px}
.tv-now{text-align:center;font-size:30px;margin:16px 0}
.tv-row{display:flex;gap:20px;overflow-x:auto;padding:12px 4px 24px;scroll-snap-type:x mandatory}
.tv-item{flex:0 0 280px;background:rgba(255,255,255,.08);border:3px solid transparent;border-radius:14px;color:#fff;padding:0;overflow:hidden;text-align:start;cursor:pointer;scroll-snap-align:center;font-size:18px}
.tv-item img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.tv-item span{display:block;padding:12px 14px;line-height:1.5}
.tv-card:focus-visible,.tv-item:focus{outline:none;border-color:#fff;transform:scale(1.05);background:rgba(255,255,255,.16)}
body.tv .btn.sec{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.6);font-size:18px}
@media(max-width:520px){.nav{display:grid;grid-template-columns:1fr 1fr;overflow:visible}.nav a{justify-content:center}.hdr-end{gap:6px}.langsw select{max-width:110px}}

/* الترجمة الرسمية، والمصحف، والدروس */
.trbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
.chip.on{background:var(--sa-600);border-color:var(--sa-600);color:#fff}
a.chip{text-decoration:none;display:inline-flex;align-items:center}
.mitem{background:none;border:0;width:100%;text-align:start;display:flex;gap:12px;align-items:center;padding:10px 14px;cursor:pointer;min-height:44px;border-bottom:1px solid var(--n-100)}
.mitem:hover{background:var(--n-100)}
.mitem[aria-current="true"]{background:var(--sa-50);color:var(--sa-800);font-weight:600}
.check-l{display:inline-flex;gap:8px;align-items:center;min-height:44px;cursor:pointer}
.check-l input{width:20px;height:20px;accent-color:var(--sa-600)}

/* تحسينات تجربة الاستخدام */
.vcard .tr-tag{align-self:flex-start;margin-top:2px}
.more-f{margin-top:8px;padding-inline:0;min-height:40px}
.proto-note{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
.proto-note[hidden]{display:none}
.note-x{background:none;border:0;font-size:22px;line-height:1;color:#7a2e0e;cursor:pointer;min-width:32px;min-height:32px;border-radius:6px}
.note-x:hover{background:rgba(0,0,0,.06)}
[id$="player"]{scroll-margin-top:96px}
@media(min-width:1600px){.wrap{max-width:1440px}}
.btn.ghost{background:none;color:var(--sa-700);border:0;font-weight:600}
.btn.ghost:hover{text-decoration:underline}
@media(max-width:520px){.nav{grid-template-columns:repeat(2,minmax(0,1fr))}.nav a{white-space:normal;text-align:center;line-height:1.3;padding:8px 6px}}

/* اختيار اللغة */
button.langsw{border:1px solid var(--n-300);border-radius:6px;min-height:44px;padding:6px 12px;background:#fff;cursor:pointer;font-weight:600;color:var(--n-800);max-width:200px}
button.langsw span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#langDlg{border:0;border-radius:14px;padding:0;width:min(760px,calc(100vw - 24px));max-height:calc(100vh - 32px);box-shadow:0 24px 60px rgba(16,24,40,.25)}
#langDlg::backdrop{background:rgba(12,17,27,.55)}
.dlg-in{padding:20px;display:flex;flex-direction:column;gap:8px}
.lang-grid{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;max-height:46vh;overflow:auto;padding:4px;margin-top:8px}
.lang-item{width:100%;text-align:start;background:#fff;border:1px solid var(--line);border-radius:8px;padding:8px 10px;cursor:pointer;display:flex;flex-direction:column;gap:2px;min-height:52px}
.lang-item:hover{border-color:var(--sa-500)}
.lang-item[aria-current="true"]{border-color:var(--sa-600);background:var(--sa-50)}
.toast{position:fixed;inset-inline:16px;bottom:16px;margin-inline:auto;max-width:560px;background:var(--n-900);color:#fff;border-radius:10px;padding:12px 14px;display:flex;gap:12px;align-items:center;justify-content:space-between;z-index:20;box-shadow:0 12px 30px rgba(0,0,0,.25)}
.toast[hidden]{display:none}
.toast .btn.ghost{color:#9ee0bd}
.toast .note-x{color:#fff}
.subbar{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin-top:12px;padding:10px 12px;border:1px dashed var(--n-300);border-radius:8px}
#langDlg{max-width:none;margin:auto;inset:0;overflow:auto}
.lang-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));max-height:40vh}
@media(max-width:520px){.dlg-in{padding:16px}.lang-item{min-height:48px;padding:6px 8px}}

/* الجوال: شريط تنقل سفلي مثل التطبيقات، ورأس مختصر */
.nav-ico{display:none}
.nav-m{display:none!important}
@media(max-width:760px){
  .nav{position:fixed;inset:auto 0 0 0;z-index:15;background:#fff;border-top:1px solid var(--line);display:grid!important;grid-template-columns:repeat(4,1fr);gap:0;padding:4px 4px calc(4px + env(safe-area-inset-bottom));order:0;flex-basis:auto;box-shadow:0 -6px 16px rgba(16,24,40,.06)}
  .nav a,.nav-m{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:56px;padding:4px 2px;font-size:12px;line-height:1.2;text-align:center;white-space:normal;border-radius:8px;background:none}
  .nav a[aria-current="page"]{color:var(--sa-700);background:var(--sa-50)}
  .nav-ico{display:block;width:24px;height:24px}
  body{padding-bottom:72px}
  .hdr-end a[data-r="search"]{display:none}
  .hdr-in{flex-wrap:nowrap;min-height:64px}
  .brand img{height:50px;width:50px}
  body.tv .nav{display:none!important}
}
@media(max-width:760px){.row .field{min-width:calc(50% - 6px)}.row .field[style*="flex:2"],.row .field[style*="flex:4"]{min-width:100%}}

/* شعار القناة بدل اسمها في التبويب وتحت المشغّل والتلفاز */
.tabs .ch-tab{padding:6px 18px;min-height:80px}
.ch-tab img{height:68px;width:68px;object-fit:contain;opacity:.75;filter:grayscale(.3);transition:opacity .15s}
.ch-tab[aria-selected="true"] img{filter:none}
.ch-tab[aria-selected="true"] img,.ch-tab:hover img{opacity:1}
.ch-logo{height:52px;width:52px;object-fit:contain}
.tv-item{position:relative}
.tv-ch{position:absolute;top:8px;inset-inline-start:8px;width:56px!important;height:56px;aspect-ratio:auto!important;background:#fff;border-radius:10px;padding:4px}

/* ===== واجهة أفخم ===== */
:root{--ink:#0b1712;--stage:#061a12}
body{font-feature-settings:"ss01"}
h1{font-size:34px;letter-spacing:-.3px}
.lead{font-size:17px}
/* الرأس زجاجي */
.hdr{background:rgba(255,255,255,.86);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px)}
.nav a{border-radius:999px;padding-inline:16px}
/* مسرح البث */
main.wrap{max-width:none;padding-inline:0}
main>*:not(.stage){max-width:1240px;margin-inline:auto;padding-inline:16px}
@media(min-width:1600px){main>*:not(.stage){max-width:1440px}}
main>h1:first-child,main>.stage+*{margin-top:8px}
.stage{background:radial-gradient(120% 90% at 50% 0%,#2d7a57 0%,#1f6446 50%,#17543a 100%);color:#fff;margin-top:-24px;padding:40px 16px 36px;position:relative;overflow:hidden}
.stage:before{content:"";position:absolute;inset:0;opacity:.06;background:repeating-linear-gradient(45deg,#fff 0 1px,transparent 1px 26px),repeating-linear-gradient(-45deg,#fff 0 1px,transparent 1px 26px);pointer-events:none}
.stage-in{position:relative;max-width:1180px;margin-inline:auto}
.stage-top{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.stage h1{color:#fff;margin:0}
.stage-lead{color:#b9d2c5;margin-top:4px}
.stage-muted{color:#9fb8ab}
.seg{display:inline-flex;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:4px;gap:4px}
.seg button{background:none;border:0;color:#d7e6de;font-weight:600;padding:10px 20px;border-radius:999px;cursor:pointer;min-height:44px}
.seg button[aria-selected="true"]{background:#fff;color:var(--sa-800)}
.stage-player{box-shadow:0 30px 80px rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.08);border-radius:16px}
.stage-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0 8px}
.stage-btn{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);color:#fff}
.stage-btn:hover{background:rgba(255,255,255,.18)}
.stage-note{margin-top:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:12px;padding:12px 14px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.sec{padding-block:32px 8px}
.sec-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px}
.sec-head h2{font-size:22px}
.link-more{color:var(--sa-700);font-weight:600;text-decoration:none}
.link-more:hover{text-decoration:underline}
/* بطاقات */
.vcard{border-radius:14px;transition:transform .15s ease,box-shadow .15s ease,border-color .15s}
.vcard:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(16,24,40,.10);border-color:var(--n-300)}
.vcard .thumb{position:relative;display:block}
.vcard .dur{position:absolute;inset-inline-end:8px;bottom:8px;background:rgba(0,0,0,.72);color:#fff;font-size:12px;font-weight:600;padding:2px 8px;border-radius:6px}
.card{border-radius:14px}
/* تذييل فاتح بشعارات ملوّنة (كما في منصة حرمين وخيار Light في كود المنصات) */
.dfoot{background:#fff;color:var(--n-800);border-top:1px solid var(--line)}
.dfoot h2{color:var(--sa-800)}
.dfoot .cols a{color:var(--n-700)}
.dfoot .icons a,.dfoot .icons button{border-color:var(--n-300);color:var(--n-800)}
.dfoot .icons button[aria-pressed="true"]{background:var(--sa-50)}
.dfoot .legal{border-top-color:var(--line)}
.dfoot .lg img{height:64px;filter:none;opacity:1}
@media(max-width:760px){.stage{padding:24px 12px 24px}h1{font-size:28px}.seg{width:100%}.seg button{flex:1;padding:10px 8px}.stage-top{align-items:stretch}}
body.tv main>*{max-width:none!important}
@media(max-width:760px){.hdr{backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff}}

/* عنوان المسرح: مباشر + اسم القناة في الأعلى */
.stage-h{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.stage-h .live{font-size:14px}
.stage-lead{color:#e2eee8}
.stage-muted{color:#d5e6dd}
.stage:before{opacity:.07}
.live[hidden]{display:none}

/* العد التنازلي للصلاة القادمة (قناة بلا بث عام) */
.cd .cd-main{display:flex;align-items:baseline;gap:6px 14px;flex-wrap:wrap}
.cd .cd-k{color:#d5e6dd;font-size:14px}
.cd .cd-n{font-size:20px}
.cd .cd-at{font-weight:400;font-size:14px;color:#d5e6dd}
.cd .cd-t{font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:1px}

/* ===== خيارات خلفية مسرح البث ===== */
/* ضبابي: صورة المادة المعروضة نفسها مكبّرة ومضبّبة تحت طبقة داكنة */
.stage.bg-blur{background:#0e1512}
.stage.bg-blur:before{opacity:1;inset:-40px;background:var(--bgimg,none) center/cover no-repeat;filter:blur(40px) saturate(1.2);transform:scale(1.1)}
.stage.bg-blur:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,14,11,.55),rgba(8,14,11,.78));pointer-events:none}
.stage.bg-blur .stage-in{z-index:1}
/* فحمي محايد */
.stage.bg-charcoal{background:linear-gradient(180deg,#1c2126 0%,#14181b 100%)}
.stage.bg-charcoal:before{display:none}
/* الفاتحان */
.stage.bg-light{background:#f3f5f4;border-bottom:1px solid var(--line)}
.stage.bg-marble{background:radial-gradient(90% 70% at 85% 0%,#ffffff 0%,#f1f4f2 55%,#e7ece9 100%);border-bottom:1px solid var(--line)}
.stage.bg-light:before,.stage.bg-marble:before{background:repeating-linear-gradient(45deg,#14573a 0 1px,transparent 1px 26px),repeating-linear-gradient(-45deg,#14573a 0 1px,transparent 1px 26px);opacity:.035}
.stage.bg-light:before{display:none}
.stage.bg-light,.stage.bg-marble{color:var(--n-900)}
.stage.bg-light h1,.stage.bg-marble h1{color:var(--n-900)}
.stage.bg-light .stage-lead,.stage.bg-marble .stage-lead,.stage.bg-light .cd-k,.stage.bg-marble .cd-k,.stage.bg-light .cd-at,.stage.bg-marble .cd-at{color:var(--n-600)}
.stage.bg-light .seg,.stage.bg-marble .seg{background:#fff;border-color:var(--line)}
.stage.bg-light .seg button,.stage.bg-marble .seg button{color:var(--n-700)}
.stage.bg-light .seg button[aria-selected="true"],.stage.bg-marble .seg button[aria-selected="true"]{background:var(--sa-700);color:#fff}
.stage.bg-light .stage-note,.stage.bg-marble .stage-note{background:#fff;border-color:var(--line)}
.stage.bg-light .stage-player,.stage.bg-marble .stage-player{box-shadow:0 18px 50px rgba(16,24,40,.16)}
.cd .cd-go{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.cd .cd-go .cd-k{font-size:12px;max-width:260px}
.live.rec{background:rgba(255,255,255,.18);color:#fff}
.stage.bg-light .live.rec,.stage.bg-marble .live.rec{background:var(--n-200);color:var(--n-800)}
.live.rec:before{display:none}
