/* v15 — شكل مقترح للشاشات الرئيسية: الرئيسية / الجلسات / القضايا */
/* شريط التنقل: كبسولات زجاجية والنشط ذهبي */
.av-nav { gap: 6px; padding: 4px 0 12px; scrollbar-width: none; }
.av-nav::-webkit-scrollbar { display: none; }
.av-nav button { border: 1px solid rgba(212,183,125,.22) !important; border-radius: 999px; padding: 7px 15px; background: rgba(255,255,255,.05); color: #c9d6e1; font-weight: 700; white-space: nowrap; transition: background .2s; }
.av-nav button.on { background: linear-gradient(135deg, #e5c88f, #c7a469); color: #142737 !important; border-color: transparent !important; box-shadow: 0 4px 14px rgba(199,164,105,.35); }

/* عناوين الأقسام: نقطة ذهبية وخط */
.av-section > h2, .av-bar h2 { position: relative; display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--av-navy); border: 0 !important; padding: 0 !important; }
.av-section > h2::before { content: ""; width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg); background: linear-gradient(135deg, #e5c88f, #b59152); flex: none; }
.av-section > h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--av-line), transparent); margin-inline-start: 6px; }
.av-bar h2::before { content: ""; width: 5px; height: 26px; border-radius: 3px; background: linear-gradient(180deg, #e5c88f, #b59152); }
.av-count { background: var(--av-navy); color: var(--av-gold-2); border-radius: 999px; padding: 1px 9px; font-size: 12px; }

/* الرئيسية: بطاقة ترحيب أخف وإحصائيات كحلية بأرقام ذهبية */
.av-hero { border: 1px solid rgba(212,183,125,.35); box-shadow: 0 14px 34px rgba(16,31,44,.28), inset 0 1px 0 rgba(255,255,255,.08); }
.av-hero-date { display: inline-block; flex: none; margin: 0 auto; padding: 5px 16px; border: 1px solid rgba(212,183,125,.5); border-radius: 999px; font-size: 14px; background: rgba(0,0,0,.18); }
.av-hero h1 { font-size: 27px; background: linear-gradient(90deg, #fff, #ecd9ae); -webkit-background-clip: text; background-clip: text; color: transparent; }
.av-hero-art { border-radius: 50%; border: 2px solid var(--av-gold); box-shadow: 0 0 0 6px rgba(212,183,125,.15), 0 8px 24px rgba(0,0,0,.35); background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.14), rgba(255,255,255,.02)); }
.av-stats { gap: 10px; }
.av-stats a { position: relative; overflow: hidden; background: linear-gradient(160deg, #1d3a54, #142737); border: 1px solid rgba(212,183,125,.3); border-radius: 18px; color: #fff; padding: 14px 12px 12px; box-shadow: 0 8px 20px rgba(16,31,44,.2); }
.av-stats a::after { content: ""; position: absolute; inset-inline-start: -20px; top: -20px; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle, rgba(212,183,125,.22), transparent 70%); }
.av-stats a b { font-size: 30px; font-weight: 900; color: #e5c88f; }
.av-stats a span { color: #b9c9d6; font-weight: 600; }
.av-stats a i { color: #c7a469; }
.av-stats a.accent { background: linear-gradient(135deg, #e5c88f, #c7a469); border-color: transparent; }
.av-stats a.accent b, .av-stats a.accent i { color: #142737; }
.av-stats a.accent span { color: #3b3118; }
.av-qa-btn { border-radius: 14px; border: 1px solid var(--av-line); font-weight: 800; }
.av-qa-btn.primary { background: linear-gradient(135deg, #1d3a54, #142737); color: #e5c88f; border-color: rgba(212,183,125,.4); }

/* سطر الجلسة: بطاقة زمنية، الوقت في مربع كحلي على اليمين */
.av-hline { display: grid !important; grid-template-columns: 84px 1fr; gap: 14px; align-items: stretch; padding: 10px !important; border-radius: 18px; position: relative; overflow: hidden; }
.av-hline .av-hl-side { order: -1; align-items: center; justify-content: center; flex-direction: column-reverse; gap: 4px; border-radius: 14px; padding: 10px 6px; text-align: center; background: linear-gradient(165deg, #1d3a54, #142737); color: #fff; }
.av-hline .av-time { color: #e5c88f; font-size: 15px; font-weight: 900; line-height: 1.3; direction: rtl; unicode-bidi: plaintext; }
.av-hline .av-date { color: #b9c9d6; font-size: 11.5px; font-weight: 600; }
.av-hl-main { justify-content: center; }
.av-hl-main b { font-size: 15.5px; font-weight: 800; }
.av-hline.is-today .av-hl-side { background: linear-gradient(165deg, #e5c88f, #c7a469); }
.av-hline.is-today .av-time { color: #142737; } .av-hline.is-today .av-date { color: #3b3118; }
.av-hline.is-past { opacity: .72; } .av-hline.is-past .av-hl-side { background: linear-gradient(165deg, #55626e, #3f4b56); } .av-hline.is-past .av-time { color: #d9dee3; }
.av-card-body .av-hline { box-shadow: none; }

/* القضايا: شريط حالة ملوّن، دائرة بحرف الموكل وسطر الجلسة القادمة */
.av-card { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--av-line); box-shadow: 0 6px 18px rgba(16,31,44,.07); }
.av-card::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 6px; background: var(--rail, #b8bfc6); }
.av-card.st-live { --rail: #1d9a75; } .av-card.st-held { --rail: #c7a469; } .av-card.st-done { --rail: #3f6aa6; } .av-card.st-over { --rail: #9aa3ab; }
.av-card-head { display: grid !important; grid-template-columns: 46px 1fr auto; column-gap: 12px; row-gap: 2px; align-items: center; padding-inline-start: 22px !important; }
.av-card-head::before { content: attr(data-init); grid-row: 1 / span 2; grid-column: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 19px; color: #e5c88f; background: linear-gradient(160deg, #1d3a54, #142737); border: 1.5px solid var(--av-gold); }
.av-card-head > b { grid-column: 2; font-size: 16px; font-weight: 900; }
.av-card-head > .av-badge { grid-column: 3; grid-row: 1; justify-self: end; }
.av-card-head > .av-sub { grid-column: 2 / span 2; grid-row: 2; font-size: 12.5px; }
.av-nextrow { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 7px 12px; border-radius: 12px; background: var(--av-gold-soft); color: #7a5c1c; font-size: 12.5px; font-weight: 700; }
.av-nextrow i { font-style: normal; }
.av-chips button, .av-filter button, .av-pill { border-radius: 999px; }

/* الوضع الداكن */
html[data-theme=dark] .av-section > h2, html[data-theme=dark] .av-bar h2 { color: #f1e6cd; }
html[data-theme=dark] .av-hline { background: #15202d; border-color: #26384b; }
html[data-theme=dark] .av-hl-main b { color: #f1e6cd; }
html[data-theme=dark] .av-card { background: #15202d; border-color: #26384b; }
html[data-theme=dark] .av-card-head > b { color: #f1e6cd; }
html[data-theme=dark] .av-nextrow { background: #2b2619; color: #e5c88f; }
html[data-theme=dark] .av-stats a { background: linear-gradient(160deg, #1d3a54, #142737); }
html[data-theme=dark] .av-stats a.accent { background: linear-gradient(135deg, #e5c88f, #c7a469); }
html[data-theme=dark] .av-qa-btn { background: #15202d; }
html[data-theme=dark] .av-qa-btn.primary { background: linear-gradient(135deg, #1d3a54, #142737); }
html[data-theme=dark] .av-count { background: #26384b; }
.av-nav button { padding: 6px 11px; font-size: 13px; }
.av-nav { gap: 5px; }
.av-card-head { direction: rtl; }
.av-nextrow { font-size: 12px; }
