/* Sunucu / kanal bildirim ayarlari penceresi (notify-settings.js) */
.ns-modal { width: min(480px, calc(100vw - 2rem)); }
.ns-modal .modal-body { display: flex; flex-direction: column; gap: 0.75rem; }
.ns-modal .settings-label { margin: 0.35rem 0 -0.25rem; }
.ns-server { color: var(--text-muted); font-weight: 500; font-size: 0.85em; margin-left: 0.25rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 12em; }
.ns-modal .toggle-row input[type="radio"] { accent-color: var(--primary); width: 1.05rem; height: 1.05rem; flex: none; cursor: pointer; }
.ns-modal .toggle-row select { width: auto; min-width: 9rem; }

.ns-rooms {
    display: flex; flex-direction: column;
    background: var(--bg-dark); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.ns-room { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.75rem; }
.ns-room + .ns-room { border-top: 1px solid var(--border); }
.ns-room-name { flex: 1; min-width: 0; font-weight: 600; font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ns-room-level { width: auto; flex: none; max-width: 11rem; }
.ns-room-mute { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--text-muted); cursor: pointer; flex: none; }
.ns-room-del { flex: none; }
.ns-empty { padding: 0.8rem 0.95rem; color: var(--text-muted); font-size: 0.82rem; }
.ns-add { align-self: flex-start; width: auto; }

@media (max-width: 520px) {
    .ns-room { flex-wrap: wrap; }
    .ns-room-name { flex-basis: 100%; }
    .ns-room-level { flex: 1 1 0; min-width: 0; max-width: none; }
}
