/* ═══════════════════════════════════════════════════════════════════════
   channels — «القنوات العامة» (1.6، القدرة public_channels). المرجع: docs/DESIGN.md §١٠.
   «اكتشف القنوات» وروابط القنوات (screens/channels-discover.js)، «معلومات القناة» و«تعديل
   القناة» وأوراقهما وحقل @المعرّف (screens/channel-info.js)، وشريطا المعاينة والمشترك في
   المحادثة (chat-thread.js — عدّاد المشاهدات .th-m-views في thread.css §١٥).
   كل محدِّد يبدأ بـ.ch-؛ المكوّنات المشتركة (.list .item .av .btn .seg .pill .search …) من
   ui.css كما هي. الرموز وحدها، والخصائص المنطقية، و transform/opacity للحركة.
   ═══════════════════════════════════════════════════════════════════════ */

.ch-screen { display: flow-root; padding-bottom: 32px; }
.ch-screen.group .list-inset + .list-inset { margin-top: 20px; }
.ch-hspin {
  display: inline-block; width: 18px; height: 18px; border-radius: 50%; flex: none;
  border: 2px solid currentColor; border-top-color: transparent; animation: spin .8s linear infinite;
}
.ch-gone { padding-top: 24px; }
.ch-gone .empty-state { padding-top: 40px; }
.ch-gone-act { display: flex; justify-content: center; margin-top: -8px; padding-bottom: 24px; }

/* ═══ ١. «اكتشف القنوات» ═════════════════════════════════════════════ */
.ch-discover { padding-bottom: 24px; }
.ch-dis-body { min-height: 40vh; }
.ch-create-list { background: none; --sep-inset: 78px; margin-top: 2px; }
.ch-create { min-height: 64px; }
.ch-create-ic {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-fg);
}
.ch-create-ic .icon-svg { width: 24px; height: 24px; }
.ch-create .item-sub { color: var(--fg-3); font-size: var(--fz-sm); }
.ch-sec { padding-top: 14px; font-variant-numeric: tabular-nums; }
.ch-list { background: none; --sep-inset: 78px; }
.ch-row { align-items: center; min-height: 76px; contain-intrinsic-size: auto 76px; }
.ch-row-b { gap: 1px; }
.ch-l2 { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: var(--fz-sm); color: var(--fg-2); }
/* @المعرّف لاتيني في سطر عربي: القصّ على العنصر اللاتيني نفسه (DESIGN §٦) */
.ch-handle { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.ch-dot { flex: none; color: var(--fg-3); }
.ch-n { flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--fg-3); }
.ch-desc {
  display: block; min-width: 0; font-size: var(--fz-sm); line-height: 1.45; color: var(--fg-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; unicode-bidi: plaintext; text-align: start;
}
.ch-row .item-title mark.hl, .ch-desc mark.hl, .ch-handle mark.hl { border-radius: 3px; }
.ch-joined { flex: none; }
.ch-joined.ch-pop { animation: ch-pop var(--dur-2) var(--ease-spring) backwards; }
/* قناة جديدة تدخل مكانها، والبقية تنزلق (FLIP في JS)؛ والتي ذهبت تتلاشى */
.ch-row.ch-enter { animation: ch-enter var(--dur-3) var(--ease-spring) backwards; }
.ch-row.ch-gone-row { opacity: 0; transition: opacity var(--dur-2) var(--ease); pointer-events: none; }
.ch-more { display: grid; place-items: center; height: 56px; color: var(--fg-3); }
@keyframes ch-enter { from { transform: translateY(-6px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ch-pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }

/* «اكتشف القنوات» في قائمة المحادثات (شريحة «القنوات»): زرّ الفراغ، وصفّ أخير تحت القنوات */
.ch-discover-cta.item { min-height: 64px; color: var(--accent); }
.ch-discover-cta .item-title { color: var(--accent); }
.ch-cta-ic {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.ch-cta-ic .icon-svg { width: 24px; height: 24px; }
.ch-cta-wrap { display: flex; justify-content: center; margin-top: -10px; padding-bottom: 32px; }

/* ═══ ٢. المعاينة: «انضمام» لاصق في أسفل المحادثة (chat-thread.js) ═══════ */
.th-dock.ch-dock-join { padding: 0; background: var(--bg-elev); }
.ch-joinbar {
  display: flex; align-items: stretch; width: 100%;
  background: var(--bg-elev); border-top: 1px solid var(--sep); padding-bottom: var(--safe-b);
}
.ch-joinbar.ch-in { animation: ch-bar-in var(--dur-2) var(--ease) backwards; }
.ch-joinbar.ch-out { transform: translateY(100%); opacity: 0; transition: transform var(--dur-2) var(--ease-in), opacity var(--dur-2) var(--ease); pointer-events: none; }
.ch-join-btn {
  flex: 1; min-width: 0; height: 52px; border: 0; background: none; color: var(--accent);
  font-size: var(--fz-base); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background-color var(--dur-1);
}
.ch-join-btn:active:not(:disabled) { background: var(--bg-2); }
.ch-join-btn:disabled { color: var(--fg-3); }
.ch-join-btn .ch-hspin, .ch-busy .ch-hspin { width: 20px; height: 20px; }
@keyframes ch-bar-in { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
/* التفاعلات في المعاينة تُرى ولا تُلمس */
.th-preview .th-rx-chip { pointer-events: none; }

/* شريط المشترك (عضو لا ينشر) — 1.6.1: الشريط المسطّح نفسه الذي كان «انضمام» (52px بعرض الشاشة)، وفيه «كتم» /
   «إلغاء الكتم» وحده كتيليجرام؛ بعد الانضمام تتبدّل الكلمة في مكانها (.ch-swap) ولا يظهر مكوّن آخر. */
.ch-subbar .ch-mute .icon-svg, .ch-subbar .ch-ro .icon-svg { width: 20px; height: 20px; }
.ch-mute[aria-pressed="true"] { color: var(--fg-2); }
.ch-ro { color: var(--fg-2); font-weight: 600; }
.ch-ro .icon-svg { color: var(--fg-3); }
.ch-subbar.ch-swap .ch-join-btn > * { animation: ch-swap-in var(--dur-2) var(--ease) backwards; }
@keyframes ch-swap-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ch-subbar.ch-in, .th-composer.ch-in { animation: ch-bar-in var(--dur-2) var(--ease) backwards; }

/* ═══ ٣. «معلومات القناة» ════════════════════════════════════════════ */
.ch-info { display: flex; flex-direction: column; }
.ch-hero {
  --h: 210; --ch-glow: 22%;
  position: relative; display: grid; justify-items: center; text-align: center; padding: 22px 24px 14px;
  background:
    linear-gradient(to bottom, var(--bg-group), transparent 64px),
    radial-gradient(85% 70% at 50% 42%, color-mix(in srgb, hsl(var(--h) 75% 58%) var(--ch-glow), transparent), transparent 74%);
}
body[data-theme="dark"] .ch-hero { --ch-glow: 18%; }
body[data-theme="oled"] .ch-hero { --ch-glow: 14%; }
.ch-hero-av { display: grid; animation: ch-pop var(--dur-3) var(--ease-spring) backwards; }
.ch-hero-av .av { box-shadow: 0 0 0 4px var(--bg-group); }
.ch-hero-name {
  margin-top: 14px; max-width: 100%; font-size: var(--fz-2xl); font-weight: 800; line-height: 1.3; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.ch-hero-sub { margin-top: 2px; min-height: 22px; font-size: var(--fz-md); color: var(--fg-2); font-variant-numeric: tabular-nums; }
.ch-hero-skel { gap: 12px; }
.ch-av-skel { width: 112px; height: 112px; border-radius: 50%; }
.ch-name-skel { width: 160px; height: 18px; border-radius: 9px; }

.ch-acts { display: flex; justify-content: center; gap: 8px; padding: 4px 16px 6px; }
.ch-act {
  flex: 0 0 72px; min-width: 0; display: grid; justify-items: center; gap: 6px; padding: 4px 0 2px;
  border: 0; border-radius: var(--r-md); background: none; color: var(--fg-2);
  font-size: var(--fz-sm); font-weight: 700; line-height: 1.3;
}
.ch-act-ic {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-elev); color: var(--accent);
  transition: transform var(--dur-1) var(--ease), background-color var(--dur-2), color var(--dur-2);
}
.ch-act-ic .icon-svg { width: 24px; height: 24px; }
.ch-act:active .ch-act-ic { transform: scale(.92); background: var(--accent-soft); }
.ch-act[aria-pressed="true"] .ch-act-ic { background: var(--accent-soft); }
.ch-act-primary { color: var(--accent); }
.ch-act-primary .ch-act-ic { background: var(--accent); color: var(--accent-fg); }
.ch-act-primary:active .ch-act-ic { background: var(--accent-press); }
.ch-act-t { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-act.ch-busy { opacity: .6; pointer-events: none; }

.ch-rows { margin-top: 16px; }
.ch-info-rows { margin-top: 12px; }
.ch-irow { align-items: center; }
.ch-irow .item-body { gap: 2px; }
.ch-v { font-size: var(--fz-base); line-height: 1.5; overflow-wrap: anywhere; }
.ch-v-handle, .ch-v-link { justify-self: start; max-width: 100%; color: var(--accent); font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: ltr; unicode-bidi: isolate; }
.ch-v-link { font-weight: 500; font-size: var(--fz-md); }
.ch-v-desc { white-space: pre-line; unicode-bidi: plaintext; text-align: start; }
.ch-l { font-size: var(--fz-sm); color: var(--fg-3); line-height: 1.35; }
.ch-irow-ic { width: 20px; height: 20px; color: var(--fg-3); }
.ch-trow { min-height: 52px; }
.ch-trail { flex-direction: row; align-items: center; gap: 6px; }
.ch-trail .item-value { font-size: var(--fz-md); color: var(--fg-3); }
.ch-danger .ch-drow { min-height: 52px; color: var(--danger); }
.ch-danger .ch-drow .item-title { color: var(--danger); font-weight: 700; }
.ch-danger .item-lead .icon-svg { width: 22px; height: 22px; color: var(--danger); }
/* غير العضو: «انضمام» لاصق في أسفل الشاشة — والإشعار العائم فوقه لا عليه (1.6.1) */
.ch-joinbar-screen { position: sticky; bottom: 0; z-index: 2; margin-top: auto; }
.ch-info.ch-has-join { padding-bottom: 0; }
.ch-info.ch-has-join > .list-inset:last-of-type { margin-bottom: 24px; }
body:has(.ch-info.ch-has-join) #toast-host { --toast-lift: calc(52px + var(--safe-b)); }

/* ═══ ٤. «تعديل القناة» ══════════════════════════════════════════════ */
/* الصورة (1.6.1): زرّ .pf-av من «تعديل الملف الشخصي» بكاميرته ودوّاره، و«إضافة صورة»/«تغيير الصورة» تحته */
.ch-edit-hero { display: grid; justify-items: center; gap: 4px; padding: 22px 24px 2px; }
.ch-edit-hero .pf-av-link { margin-top: 2px; }

/* «قناة جديدة» (chat-new.js): الدائرة أول النموذج زرّ صورتها — كاميرا، ثم الصورة نفسها، ودوّار وهي تُرفع */
.chats-room-ic.ch-new-av { position: relative; padding: 0; border: 0; overflow: hidden; cursor: pointer;
  transition: transform var(--dur-1) var(--ease); }
.chats-room-ic.ch-new-av:active { transform: scale(.94); }
.ch-new-av-slot { display: grid; place-items: center; width: 100%; height: 100%; }
.ch-new-av-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ch-new-av.busy::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--scrim); }
.ch-new-av.busy::before {
  content: ""; position: absolute; z-index: 1; width: 22px; height: 22px; border-radius: 50%; inset: 0; margin: auto;
  border: 2.5px solid var(--accent-fg); border-top-color: transparent; animation: spin .8s linear infinite;
}
.ch-field { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px; transition: box-shadow var(--dur-1); }
.ch-field:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent); }
.ch-field.ch-bad { box-shadow: inset 0 0 0 1.5px var(--danger); }
.ch-input {
  flex: 1; min-width: 0; height: 52px; padding: 0; margin: 0; border: 0; outline: none; background: none;
  color: var(--fg); font: inherit; font-size: var(--fz-base);
}
.ch-input::placeholder { color: var(--fg-3); }
textarea.ch-input { height: auto; min-height: 78px; padding: 14px 0; resize: none; line-height: 1.5; overflow: hidden; }
.ch-desc-field { align-items: flex-end; }
.ch-count { flex: none; padding-bottom: 14px; font-size: var(--fz-sm); font-weight: 700; color: var(--fg-3); transition: color var(--dur-2); }
.ch-count.warn { color: var(--warning); }
.ch-note.bad { color: var(--danger); font-weight: 700; }
.ch-type-wrap { padding-inline: 16px; }
.ch-type button:disabled { opacity: .55; }
.ch-type-note { min-height: calc(8px + 1.6em); }
.ch-type-lock { color: var(--warning); font-weight: 700; padding-top: 4px; }
.ch-handle-sec[hidden] { display: none; }
.ch-hbox { padding-inline: 14px 12px; }

/* حقل @المعرّف: «@» ثابتة ثم الإدخال من اليسار، وأيقونة الحال في طرفه، وسطر الحال تحته */
.ch-hfield { display: flex; align-items: center; gap: 4px; width: 100%; min-height: 52px; direction: ltr; }
.ch-hat { flex: none; font-size: var(--fz-base); font-weight: 700; color: var(--fg-3); }
.ch-hfield:focus-within .ch-hat { color: var(--accent); }
.ch-hinput {
  flex: 1; min-width: 0; height: 50px; padding: 0; margin: 0; border: 0; outline: none; background: none;
  color: var(--fg); font: inherit; font-size: var(--fz-base); direction: ltr; text-align: left;
}
.ch-hinput::placeholder { color: var(--fg-3); }
.ch-hinput:disabled { color: var(--fg-3); }
.ch-hicon { flex: none; width: 22px; height: 22px; display: grid; place-items: center; color: var(--fg-3); }
.ch-hicon .icon-svg { width: 20px; height: 20px; }
.ch-hicon .icon-svg svg { stroke-width: 2.4; }
.ch-hicon > * { animation: ch-pop var(--dur-2) var(--ease-spring) backwards; }
.ch-hicon .ch-hspin { width: 16px; height: 16px; }
.ch-hfield[data-state="ok"] .ch-hicon, .ch-hfield[data-state="current"] .ch-hicon { color: var(--success); }
.ch-hfield[data-state="bad"] .ch-hicon { color: var(--danger); }
.ch-hbox:has(.ch-hfield[data-state="bad"]) { box-shadow: inset 0 0 0 1.5px var(--danger); }
.ch-hst {
  min-height: calc(8px + 1.6em); padding: 8px 32px 0; font-size: var(--fz-sm); line-height: 1.6; color: var(--fg-3);
  transition: color var(--dur-2);
}
.ch-hst[data-state="ok"] { color: var(--success); font-weight: 700; }
.ch-hst[data-state="bad"] { color: var(--danger); font-weight: 700; }
.ch-hst[data-state="current"] { color: var(--fg-2); font-weight: 700; }
/* الحقل نفسه في «قناة جديدة» (chat-new.js): بإطار الحقل العادي */
.ch-hwrap-new .ch-hfield {
  min-height: 46px; padding-inline: 12px 10px; border-radius: var(--r-md);
  border: 1.5px solid var(--sep); background: var(--bg-elev);
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.ch-hwrap-new .ch-hinput { height: 43px; }
.ch-hwrap-new .ch-hfield:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.ch-hwrap-new .ch-hfield[data-state="bad"] { border-color: var(--danger); }
.ch-hwrap-new .ch-hst { padding: 2px 4px 0; min-height: 1.6em; }
.ch-new-type { display: grid; gap: 6px; }
.ch-new-type .seg { margin-top: 2px; }
.ch-new-note { padding-inline: 4px; font-size: var(--fz-sm); color: var(--fg-3); line-height: 1.55; }
.ch-new-count { justify-self: end; margin-top: -6px; padding-inline: 4px; font-size: var(--fz-xs); font-weight: 700; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.ch-new-count.warn { color: var(--warning); }

/* «حفظ» في رأس التعديل: زرّ نصّي بلون المستخدم (الغلاف يبنيه .icon-btn) */
.icon-btn.ch-hdr-txt {
  width: auto; min-width: 42px; padding: 0 14px; border-radius: 21px;
  color: var(--accent); font-size: var(--fz-base); font-weight: 800; white-space: nowrap;
  transition: background-color var(--dur-1), color var(--dur-2), opacity var(--dur-2);
}
.icon-btn.ch-hdr-txt:disabled { color: var(--fg-3); opacity: .55; }
.icon-btn.ch-hdr-txt.busy { pointer-events: none; }

.ch-shake { animation: ch-shake 360ms var(--ease); }
@keyframes ch-shake {
  20% { transform: translateX(-6px); } 40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); } 80% { transform: translateX(2px); }
}

/* ═══ ٥. أوراق: المشتركون، المشاركة، رابط الدعوة ═══════════════════════ */
.ch-members { display: flex; flex-direction: column; min-height: 100%; }
.ch-members .sheet-title { margin-bottom: 10px; }
.ch-mtabs { flex: none; margin-bottom: 10px; }
.ch-mtabs button { font-variant-numeric: tabular-nums; }
.ch-msearch { flex: none; margin-bottom: 10px; }
.ch-members #ch-add { flex: none; margin-bottom: 6px; }
.ch-mlist { flex: 1; margin-inline: -16px; background: none; --sep-inset: 64px; }
.ch-mem { min-height: 58px; }
.ch-mem-tags { flex: none; display: flex; gap: 4px; }
.ch-mem-h { color: var(--fg-3); font-size: var(--fz-sm); }
.ch-me { color: var(--fg-3); font-weight: 500; }
.ch-alone { padding: 12px 16px 0; }
/* «المُزالون» (1.6.1) */
.ch-bans .sheet-sub { margin-bottom: 8px; }
.ch-ban { min-height: 58px; }
.ch-unban { white-space: nowrap; }
.ch-add-sheet .pick-foot .btn .badge { background: var(--accent-fg); color: var(--accent); }

.ch-linkbox {
  display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: var(--r-md); background: var(--bg-2);
}
.ch-link-ic { flex: none; display: grid; color: var(--accent); }
.ch-link-ic .icon-svg { width: 20px; height: 20px; }
.ch-link-t { flex: 1; min-width: 0; font-size: var(--fz-md); font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; text-align: left; }
.ch-inv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.ch-inv-menu { margin-top: 8px; }
.ch-inv-none { display: grid; justify-items: center; gap: 6px; padding: 18px 0 6px; color: var(--fg-3); font-weight: 700; }
.ch-inv-none .icon-svg { width: 36px; height: 36px; }

/* ═══ ٦. روابط القنوات: بطاقة الدعوة، ولا قناة بهذا المعرّف ═══════════════ */
.ch-link-wait { display: grid; place-items: center; min-height: 50vh; color: var(--fg-3); }
.ch-link-wait .ch-hspin { width: 28px; height: 28px; }
.ch-invite { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 40px 24px 24px; }
.ch-invite-av { display: grid; margin-bottom: 10px; animation: ch-pop var(--dur-3) var(--ease-spring) backwards; }
.ch-invite-name { max-width: 100%; font-size: var(--fz-2xl); font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.ch-invite-sub { font-size: var(--fz-md); color: var(--fg-2); font-variant-numeric: tabular-nums; }
.ch-invite-desc {
  max-width: 36ch; margin-top: 8px; font-size: var(--fz-md); color: var(--fg-2); line-height: 1.6;
  unicode-bidi: plaintext; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.ch-invite-acts { display: grid; gap: 8px; width: 100%; max-width: 360px; margin-top: 24px; }
.ch-invite-acts .btn.ch-busy { opacity: .7; }

/* روابط القنوات و@المعرّفات في الرسائل (1.6.1، chat-thread.js): تُلمس فتفتح داخل التطبيق */
.th-mention-chip.th-handle { cursor: pointer; border-radius: 4px; transition: background-color var(--dur-1); }
.th-mention-chip.th-handle:active { background: var(--accent-soft); }
.th-mention-chip.th-handle:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* تقليل الحركة: لا دخول ولا انزلاق */
body.reduce-motion .ch-row.ch-enter, body.reduce-motion .ch-joinbar.ch-in, body.reduce-motion .ch-subbar.ch-in,
body.reduce-motion .ch-joined.ch-pop, body.reduce-motion .ch-hero-av, body.reduce-motion .ch-invite-av,
body.reduce-motion .ch-subbar.ch-swap .ch-join-btn > * { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .ch-row.ch-enter, .ch-joinbar.ch-in, .ch-subbar.ch-in, .ch-joined.ch-pop, .ch-hero-av, .ch-invite-av,
  .ch-subbar.ch-swap .ch-join-btn > * { animation: none; }
  .ch-joinbar.ch-out { transition: none; }
}

/* البحث داخل المعاينة: شريط التنقّل مكان «انضمام» بحواشي الصندوق المعتادة */
.th-dock.ch-dock-join.th-searching { padding: 6px 8px calc(8px + var(--safe-b)); background: var(--bar-bg); }

/* 1.12 — «مميّزة» (القدرة featured_channels): وسم ذهبي هادئ بلون العلامة (#C9A227) في «اكتشف القنوات» ومعلوماتها */
.ch-feat {
  display: inline-flex; align-items: center; flex: none; height: 20px; padding: 0 8px; margin-inline-start: 6px;
  border-radius: 10px; font-size: var(--fz-xs); font-weight: 700; line-height: 1; white-space: nowrap;
  color: #8A6D0B; background: color-mix(in srgb, #C9A227 18%, transparent);
}
body[data-theme="dark"] .ch-feat, body[data-theme="oled"] .ch-feat { color: #E3C55E; background: color-mix(in srgb, #C9A227 22%, transparent); }
.ch-feat-hero { margin: 8px 0 0; }
.ch-sec-feat { display: flex; align-items: center; gap: 6px; color: #8A6D0B; }
body[data-theme="dark"] .ch-sec-feat, body[data-theme="oled"] .ch-sec-feat { color: #E3C55E; }
.ch-sec-feat .icon-svg { width: 16px; height: 16px; }
.ch-adm-row.ch-busy { opacity: .6; pointer-events: none; }

/* ── 1.14 «قناة للبالغين (18+)» (القدرة adult_channels — channel-info.js · _adultRow، channels-discover.js) ──
   مربّع «18+» نصّاً مكان الأيقونة في صفّ المفتاح، وحبّة «18+» حمراء هادئة تحت اسم القناة وبعده في «اكتشف». */
.ch-adult-tile b { font-size: 11px; font-weight: 800; letter-spacing: -.02em; direction: ltr; }
.ch-adult-chip, .ch-adult {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 10px; direction: ltr;
  font-size: var(--fz-xs); font-weight: 800; color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent);
}
.ch-adult-chip { margin: 8px 0 0; }
.ch-adult { margin-inline-start: 6px; flex: none; }
.ch-adult-note { margin-top: 6px; }
