
/* the + menu in the message box, private-channel locks and event icons */
.plus-menu { position: fixed; z-index: 9000; min-width: 240px; max-width: 300px; padding: 6px; background: var(--bg-1, var(--bg-2)); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.45); display: none; }
.plus-menu.open { display: block; }
.plus-menu .pm-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 32px; padding: 6px 8px; border: 0; border-radius: 5px; background: transparent; color: var(--text); font: inherit; font-size: 14px; text-align: start; cursor: pointer; }
.plus-menu .pm-item:hover, .plus-menu .pm-item:focus-visible { background: var(--accent); color: var(--on-accent, #fff); outline: 0; }
.plus-menu .pm-item svg { width: 16px; height: 16px; flex: none; }
.plus-menu .pm-item span.t { flex: 1; min-width: 0; }
.plus-menu .pm-badge { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--bg-4, rgba(255,255,255,.12)); color: var(--bright); }
.plus-menu .pm-item:hover .pm-badge { background: rgba(0,0,0,.25); color: inherit; }
.plus-menu .pm-item[disabled] { opacity: .45; cursor: not-allowed; }
.plus-menu .pm-item[disabled]:hover { background: transparent; color: var(--text); }
.plus-menu .pm-sep { height: 1px; margin: 4px 6px; background: var(--border); }
.plus-menu .pm-h { padding: 4px 8px 2px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.plus-menu .pm-back svg { transform: scaleX(-1); }
:root[dir="rtl"] .plus-menu .pm-chev svg { transform: scaleX(-1); } :root[dir="rtl"] .plus-menu .pm-back svg { transform: none; }


.perm-row.p3 { margin: 0; border: 0; border-radius: 6px; padding: 9px 10px; border-inline-start: 3px solid transparent; background: transparent; }
.rd-warn { display: inline-flex; margin-inline-start: 6px; color: var(--yellow, #f0b232); vertical-align: -2px; } .rd-warn svg { width: 13px; height: 13px; }
.ch-ic.priv { position: relative; }
.ch-ic .ch-lock { position: absolute; inset-inline-end: -5px; bottom: -5px; width: 13px; height: 13px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-1, var(--bg-2)); color: var(--muted); }
.ch-ic .ch-lock svg { width: 10px; height: 10px; stroke-width: 2.6; }
.ch-ic.priv { color: var(--bright); margin-inline-end: 8px; }
/* the lock sits fully outside the # at its lower corner, never on top of it; the row text always starts at the row's start edge (right in Arabic) */
.ch-ic .ch-lock { inset-inline-end: -8px; bottom: -4px; width: 11px; height: 11px; background: transparent; color: var(--bright); opacity: .9; }
.ch-ic .ch-lock svg { width: 11px; height: 11px; stroke-width: 2.4; }
.channel-item { text-align: start; }
.channel-item > span:first-child { flex: 1 1 auto; justify-content: flex-start; text-align: start; }
.channel-item > span:first-child > .ch-ic { margin-inline-end: 0; }
.channel-item > span:first-child > .ch-ic.priv { margin-inline-end: 8px; }
/* live counters never wrap or change the row height: fixed-width digits, no shrink, name truncates instead */
.channel-item { flex-wrap: nowrap; }
.channel-item .vc-time { flex: 0 0 auto; white-space: nowrap; min-width: 6ch; text-align: end; font-variant-numeric: tabular-nums; line-height: 1; }
.channel-item > span:first-child > [data-notr] { flex: 0 1 auto; white-space: nowrap; }
.channel-item .vc-tools { flex: 0 0 auto; white-space: nowrap; }
.voice-timer-badge, .badge, .mention-badge, .badge-viewers, .vs-view, .dmc-time, .vc-status .ic { white-space: nowrap; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.voice-timer-badge { display: inline-block; min-width: 5ch; text-align: center; }
.ev-ic { display: inline-flex; vertical-align: -3px; color: var(--accent); } .ev-ic svg { width: 14px; height: 14px; }
.btn .ev-ic { color: inherit; margin-inline-end: 5px; vertical-align: -2px; }
.ev-row { display: flex; align-items: center; gap: 6px; margin: 4px 0; font-size: 12px; color: var(--muted); }
.ev-card { margin: 10px 0; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-2); overflow: hidden; }
.ev-card .ev-row { background: none; border: 0; padding: 0; margin: 0; font-size: 13px; }
.ev-card .ev-cover { display: block; width: 100%; height: 120px; object-fit: cover; }
.ev-body { padding: 12px 14px 12px; display: flex; flex-direction: column; gap: 6px; }
.ev-when { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .03em; color: var(--accent); }
.ev-live { font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--red, #f23f43); color: #fff; letter-spacing: .04em; }
.ev-rep { margin-inline-start: auto; color: var(--muted); }
.ev-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: var(--bright); }
.ev-title .ev-ic { color: var(--muted); }
.ev-desc { font-size: 13px; color: var(--text); line-height: 1.4; }
.ev-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.ev-people { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); min-width: 0; }
.ev-faces { display: inline-flex; } .ev-face { display: inline-flex; margin-inline-end: -6px; border: 2px solid var(--bg-2); border-radius: 50%; overflow: hidden; } .ev-faces:not(:empty) { margin-inline-end: 6px; }
.ev-btns { display: flex; gap: 6px; }
.ev-btns .btn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.ev-btns .btn .ev-ic { margin: 0; }
.ev-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 10px; color: var(--muted); text-align: center; } .ev-empty b { color: var(--bright); } .ev-empty .ev-ic svg { width: 36px; height: 36px; }



