/* ═══════════════════════════════════════════
   ZConnect — Teams-like Dark Theme
   ═══════════════════════════════════════════ */
:root {
  --bg-base:       #1a1c2a;
  --bg-sidebar-l:  #111220;
  --bg-sidebar-r:  #1e2030;
  --bg-content:    #252736;
  --bg-input:      #1a1c2a;
  --bg-hover:      #2d3052;
  --bg-active:     #313460;
  --bg-msg-hover:  rgba(0,0,0,0.15);
  --accent:        #7c5cbf;
  --accent-h:      #6a4fad;
  --accent-light:  rgba(124,92,191,0.18);
  --danger:        #f23f43;
  --success:       #23a55a;
  --warn:          #f0b232;
  --text-1:        #e0e2f0;
  --text-2:        #9da3b4;
  --text-3:        #5c6070;
  --border:        rgba(255,255,255,0.06);
  --shadow:        0 8px 32px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-1);
  height: 100vh;
  overflow: hidden;
  font-size: 14px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-h); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ════════════════════════════════════════════
   APP SHELL
   ════════════════════════════════════════════ */
.app-shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ── Left narrow sidebar (project icons) ── */
.sidebar-projects {
  width: var(--sidebar-l-w);
  min-width: var(--sidebar-l-w);
  background: var(--bg-sidebar-l);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 6px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10;
}

.sidebar-projects .sp-logo {
  width: 46px; height: 46px;
  background: var(--accent);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: #fff;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-radius .2s;
}
.sidebar-projects .sp-logo:hover { border-radius: 50%; }

.sp-divider { width: 32px; height: 2px; background: var(--border); margin: 4px 0; border-radius: 1px; }

.sp-btn {
  width: 46px; height: 46px;
  background: var(--bg-sidebar-r);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-2);
  font-size: 13px; font-weight: 700;
  transition: all .2s;
  position: relative;
  overflow: hidden;
  border: none;
  text-decoration: none;
}
.sp-btn:hover { border-radius: 14px; color: #fff; background: var(--accent); }
.sp-btn.active { border-radius: 14px; background: var(--accent); color: #fff; }
.sp-btn .sp-badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--danger); color: #fff;
  font-size: 9px; border-radius: 50%; width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
}

.sp-tooltip {
  position: absolute; left: 72px; z-index: 100;
  background: #111; color: #fff; padding: 6px 10px;
  border-radius: 6px; font-size: 12px; white-space: nowrap;
  pointer-events: none; opacity: 0;
  transition: opacity .15s;
}
.sp-btn:hover .sp-tooltip { opacity: 1; }

/* ── Right channel sidebar ── */
.sidebar-channels {
  width: var(--sidebar-r-w);
  min-width: var(--sidebar-r-w);
  background: var(--bg-sidebar-r);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sc-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
  background: var(--bg-sidebar-r);
}
.sc-header h2 {
  font-size: 18px; font-weight: 800; color: var(--text-1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin: 0 0 4px 0;
}
.sc-header p { font-size: 12px; color: var(--text-3); margin: 0; font-weight: 400; }

.sc-body { flex: 1; overflow-y: auto; padding: 8px 0; }

.sc-section { margin-bottom: 4px; }
.sc-section-title {
  font-size: 11px; font-weight: 600; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .8px;
  padding: 6px 16px; display: flex; align-items: center;
  justify-content: space-between; cursor: pointer;
  user-select: none;
}
.sc-section-title:hover { color: var(--text-2); }
.sc-section-title .add-btn {
  font-size: 16px; line-height: 1; opacity: 0;
  transition: opacity .15s;
  background: none; border: none; color: var(--text-2); cursor: pointer;
  padding: 0 2px;
}
.sc-section-title:hover .add-btn { opacity: 1; }

.ch-item {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 16px; cursor: pointer; border-radius: 6px;
  margin: 1px 6px; color: var(--text-2);
  transition: background .12s, color .12s;
  text-decoration: none;
  position: relative;
}
.ch-item:hover { background: var(--bg-hover); color: var(--text-1); }
.ch-item.active { background: var(--bg-active); color: #fff; }
.ch-item .ch-icon { font-size: 15px; width: 18px; text-align: center; flex-shrink: 0; opacity: .7; }
.ch-item .ch-name { font-size: 13px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-item .ch-badge {
  background: var(--danger); color: #fff; font-size: 9px;
  border-radius: 50%; width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
}

/* Member in sidebar */
.sc-member {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 12px; margin: 1px 4px;
  border-radius: 6px; cursor: pointer;
  transition: background .12s;
  text-decoration: none; color: var(--text-2);
}
.sc-member:hover { background: var(--bg-hover); color: var(--text-1); }

/* ── User info bar at bottom of sidebar ── */
.sc-userbar {
  padding: 8px 12px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-sidebar-r);
}
.sc-userbar .ub-name { font-size: 13px; font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-userbar .ub-tag { font-size: 11px; color: var(--text-3); }

/* ── Main content ── */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-content);
}

/* ── Content top bar ── */
.content-header {
  height: 48px; min-height: 48px;
  display: flex; align-items: center;
  padding: 0 16px; gap: 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-content);
}
.content-header .ch-icon-lg { font-size: 18px; }
.content-header h3 { font-size: 15px; font-weight: 700; flex: 1; }
.content-header .header-actions { display: flex; gap: 6px; align-items: center; }

/* ── Chat area ── */
.chat-area {
  flex: 1; overflow-y: auto;
  padding: 16px 0;
  display: flex; flex-direction: column;
}

.messages-list { display: flex; flex-direction: column; padding: 0 16px; gap: 1px; }

.day-divider {
  display: flex; align-items: center; gap: 8px;
  margin: 16px 0; color: var(--text-3); font-size: 11px;
}
.day-divider::before, .day-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.message-row {
  display: flex; gap: 12px; padding: 4px 8px; border-radius: 6px;
  transition: background .1s;
  align-items: flex-start;
}
.message-row:hover { background: var(--bg-msg-hover); }
.message-row.consecutive { padding-top: 1px; }

.msg-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 700; color: #fff;
  overflow: hidden; margin-top: 2px;
}
.msg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.msg-avatar-spacer { width: 36px; flex-shrink: 0; }

.msg-body { flex: 1; min-width: 0; }
.msg-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.msg-name { font-size: 13px; font-weight: 600; color: var(--text-1); }
.msg-time { font-size: 11px; color: var(--text-3); }
.msg-text { font-size: 14px; color: var(--text-1); line-height: 1.5; word-break: break-word; }
.msg-text.deleted { color: var(--text-3); font-style: italic; }

/* File attachment */
.msg-file {
  margin-top: 6px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border); display: inline-block; max-width: 400px;
}
.msg-file img { max-width: 400px; max-height: 300px; display: block; cursor: pointer; }
.msg-file-info {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--bg-sidebar-r);
}
.msg-file-icon { font-size: 28px; }
.msg-file-meta { flex: 1; }
.msg-file-name { font-size: 13px; font-weight: 600; color: var(--text-1); }
.msg-file-size { font-size: 11px; color: var(--text-3); }
.msg-file-dl {
  padding: 6px 12px; background: var(--accent); color: #fff;
  border-radius: 6px; font-size: 12px; text-decoration: none;
  transition: background .15s;
}
.msg-file-dl:hover { background: var(--accent-h); color: #fff; }

/* ── Chat input ── */
.chat-input-area {
  padding: 0 16px 16px;
}
.chat-input-wrap {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; flex-direction: column;
  transition: border-color .15s;
}
.chat-input-wrap:focus-within { border-color: var(--accent); }

.chat-input-toolbar {
  display: flex; gap: 4px; padding: 6px 10px 0;
}
.toolbar-btn {
  background: none; border: none; color: var(--text-3);
  font-size: 16px; cursor: pointer; padding: 4px 6px; border-radius: 4px;
  transition: color .15s, background .15s;
}
.toolbar-btn:hover { color: var(--text-1); background: var(--bg-hover); }

.chat-input-row {
  display: flex; align-items: flex-end; gap: 8px; padding: 6px 10px 10px;
}
.chat-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-1); font-size: 14px; resize: none;
  line-height: 1.5; max-height: 150px; overflow-y: auto;
  font-family: inherit;
}
.chat-input::placeholder { color: var(--text-3); }
.send-btn {
  width: 34px; height: 34px; background: var(--accent);
  border: none; border-radius: 8px; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: background .15s;
  flex-shrink: 0;
}
.send-btn:hover { background: var(--accent-h); }
.send-btn:disabled { background: var(--text-3); cursor: not-allowed; }

.typing-indicator { font-size: 11px; color: var(--text-3); padding: 2px 16px; height: 18px; }

/* ── Members sidebar (right) ── */
.members-panel {
  width: 220px; min-width: 220px;
  background: var(--bg-sidebar-r);
  overflow-y: auto; padding: 16px 0;
  border-left: 1px solid var(--border);
}
.members-panel h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--text-3); padding: 0 16px 8px; font-weight: 600; }

/* ════════════════════════════════════════════
   AVATAR
   ════════════════════════════════════════════ */
.avatar {
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; flex-shrink: 0; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-24 { width: 24px; height: 24px; font-size: 10px; }
.avatar-32 { width: 32px; height: 32px; font-size: 13px; }
.avatar-36 { width: 36px; height: 36px; font-size: 14px; }
.avatar-48 { width: 48px; height: 48px; font-size: 18px; }
.avatar-64 { width: 64px; height: 64px; font-size: 24px; }
.avatar-80 { width: 80px; height: 80px; font-size: 30px; }

.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--bg-sidebar-r);
  position: absolute; bottom: 0; right: 0;
}
.avatar-wrap { position: relative; display: inline-flex; }

/* ════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════ */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; border: none; cursor: pointer; font-size: 13px; font-weight: 500; transition: all .15s; font-family: inherit; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-h); }
.btn-secondary { background: var(--bg-hover); color: var(--text-1); }
.btn-secondary:hover { background: var(--bg-active); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #d63031; }
.btn-ghost { background: none; color: var(--text-2); }
.btn-ghost:hover { background: var(--bg-hover); color: var(--text-1); }
.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 6px; }
.btn-icon { padding: 7px; border-radius: 8px; }

/* ════════════════════════════════════════════
   MODALS
   ════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-sidebar-r); border-radius: 16px;
  padding: 24px; min-width: 400px; max-width: 560px; width: 90%;
  box-shadow: var(--shadow);
  transform: scale(.95); transition: transform .2s;
}
.modal-backdrop.open .modal { transform: scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--text-3); font-size: 20px; cursor: pointer; padding: 4px; border-radius: 4px; }
.modal-close:hover { color: var(--text-1); background: var(--bg-hover); }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }

/* ════════════════════════════════════════════
   FORMS
   ════════════════════════════════════════════ */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.form-control {
  width: 100%; background: var(--bg-input); border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 12px 14px; color: var(--text-1);
  font-size: 14px; font-family: inherit; outline: none;
  transition: all .2s;
}
.form-control:hover { border-color: rgba(255,255,255,0.18); }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,92,191,0.2); background: rgba(124,92,191,0.05); }
.form-control::placeholder { color: var(--text-3); opacity: 0.7; }
textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control { cursor: pointer; }
.form-hint { font-size: 11px; color: var(--text-3); margin-top: 4px; }

/* ════════════════════════════════════════════
   AUTH PAGES
   ════════════════════════════════════════════ */
.auth-page {
  min-height: 100vh; background: var(--bg-base);
  display: flex; align-items: center; justify-content: center;
  overflow-y: auto;
}
.auth-card {
  background: var(--bg-sidebar-r); border-radius: 20px;
  padding: 48px; width: 420px; max-width: 95vw;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo .logo-icon {
  width: 56px; height: 56px; background: var(--accent);
  border-radius: 16px; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900; color: #fff;
}
.auth-logo h1 { font-size: 22px; font-weight: 800; }
.auth-logo p { color: var(--text-3); font-size: 13px; margin-top: 4px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-3); }

/* ════════════════════════════════════════════
   DASHBOARD
   ════════════════════════════════════════════ */
.dashboard-content {
  flex: 1; overflow-y: auto; padding: 32px;
  background: var(--bg-content);
}
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

.project-card {
  background: var(--bg-sidebar-r); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  text-decoration: none; display: block;
}
.project-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.project-card-banner { height: 60px; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.project-card-body { padding: 14px; }
.project-card-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.project-card-body p { font-size: 12px; color: var(--text-3); line-height: 1.4; }
.project-card-footer { padding: 10px 14px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--text-3); }

.create-card {
  background: var(--bg-sidebar-r); border-radius: 12px;
  border: 2px dashed var(--border); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px; gap: 8px; color: var(--text-3);
  transition: border-color .15s, color .15s;
  min-height: 160px;
}
.create-card:hover { border-color: var(--accent); color: var(--accent); }
.create-card .plus { font-size: 36px; }

/* ════════════════════════════════════════════
   CALL ROOM
   ════════════════════════════════════════════ */
.call-page {
  display: flex; flex-direction: column; height: 100vh;
  background: #0d0e1a; color: #fff; overflow: hidden;
}

.call-header {
  height: 52px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.3);
}
.call-header .call-title { font-size: 14px; font-weight: 600; }

.call-videos {
  flex: 1; overflow: hidden; padding: 12px;
  display: grid; gap: 8px; align-content: start;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.call-videos.solo { grid-template-columns: 1fr; align-content: center; }
.call-videos.pair { grid-template-columns: 1fr 1fr; }

.video-tile {
  position: relative; background: #1a1c30;
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 16/9;
}
.video-tile video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.video-tile .tile-label {
  position: absolute; bottom: 8px; left: 10px;
  background: rgba(0,0,0,.6); padding: 3px 8px;
  border-radius: 4px; font-size: 12px; font-weight: 600;
}
.video-tile .tile-controls {
  position: absolute; top: 8px; right: 8px; display: flex; gap: 4px;
}
.tile-mic-off, .tile-cam-off {
  background: rgba(0,0,0,.6); border-radius: 50%;
  width: 24px; height: 24px; display: none;
  align-items: center; justify-content: center;
  font-size: 11px;
}
.video-tile.muted .tile-mic-off { display: flex; }
.video-tile.cam-off .tile-cam-off { display: flex; }

.video-tile .tile-avatar {
  position: absolute; inset: 0;
  display: none; align-items: center; justify-content: center;
  background: #1a1c30;
}
.video-tile.cam-off .tile-avatar { display: flex; }
.video-tile.cam-off video { display: none; }

.screen-share-tile { grid-column: 1/-1; aspect-ratio: 16/9; }

.call-bar {
  height: 72px; background: rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 0 20px;
}

.call-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; border: none; color: #fff;
  background: rgba(255,255,255,.12); transition: all .15s;
}
.call-btn:hover { background: rgba(255,255,255,.22); transform: scale(1.05); }
.call-btn.active { background: var(--accent); }
.call-btn.off { background: rgba(255,255,255,.08); opacity: .6; }
.call-btn.end-call { background: var(--danger); width: 56px; height: 56px; font-size: 20px; }
.call-btn.end-call:hover { background: #c0392b; }

.call-timer { font-size: 13px; color: rgba(255,255,255,.5); min-width: 60px; text-align: center; }

/* ════════════════════════════════════════════
   TOASTS / ALERTS
   ════════════════════════════════════════════ */
.toast-container {
  position: fixed; bottom: 20px; right: 20px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  background: var(--bg-sidebar-r); border-radius: 10px;
  padding: 12px 16px; min-width: 260px; max-width: 360px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
  border-left: 3px solid var(--accent);
  animation: slideIn .2s ease;
}
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
.toast.warn { border-color: var(--warn); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ════════════════════════════════════════════
   MISC UTILS
   ════════════════════════════════════════════ */
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.flex-1 { flex: 1; }
.text-muted { color: var(--text-3); }
.text-sm { font-size: 12px; }
.fw-bold { font-weight: 700; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.p-16 { padding: 16px; }
.badge { padding: 2px 7px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-accent { background: var(--accent-light); color: var(--accent); }
.badge-success { background: rgba(35,165,90,.15); color: var(--success); }
.badge-danger { background: rgba(242,63,67,.15); color: var(--danger); }

/* ═══ Alert messages ═══ */
.messages { list-style: none; padding: 0; margin-bottom: 16px; }
.messages li {
  padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 6px;
  background: rgba(242,63,67,.15); color: #ff6b6b; border: 1px solid rgba(242,63,67,.3);
}
.messages li.success { background: rgba(35,165,90,.15); color: #2ecc71; border-color: rgba(35,165,90,.3); }

/* ═══ Profile page ═══ */
.profile-header {
  background: var(--bg-sidebar-r); border-radius: 12px;
  padding: 24px; display: flex; gap: 20px; align-items: flex-start;
  margin-bottom: 20px;
}
.profile-info h2 { font-size: 22px; font-weight: 800; }
.profile-info p { color: var(--text-3); font-size: 13px; margin-top: 4px; }

/* ═══ Responsive ═══ */
@media (max-width: 768px) {
  :root { --sidebar-r-w: 200px; }
  .members-panel { display: none; }
  .sidebar-projects { width: 52px; min-width: 52px; }
  .sp-btn { width: 38px; height: 38px; }
}
@media (max-width: 560px) {
  .sidebar-channels { display: none; }
  .auth-card { padding: 24px 16px; }
}
