/* =============================================
   3AM DESIRE — Notifications Dashboard Styles
   ============================================= */

:root {
  --np:       #ff2d6b;
  --np-dim:   rgba(255,45,107,0.15);
  --bg:       #04020a;
  --bg2:      #080512;
  --bg3:      #0d0918;
  --border:   rgba(255,255,255,0.06);
  --border-p: rgba(255,45,107,0.2);
  --white:    #ffffff;
  --dim:      #8a8090;
  --faint:    #4a4050;
  --mono:     'Space Mono', monospace;
  --display:  'Bebas Neue', sans-serif;
  --body:     'Space Grotesk', sans-serif;
  --green:    #4ade80;
  --green-bg: rgba(74,222,128,0.08);
}

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

html { scroll-behavior: smooth; }

body.notif-body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Noise texture ──────────────────────────── */
.notif-noise {
  position: fixed; inset: 0; z-index: 999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── Background blobs ───────────────────────── */
.notif-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.nb-blob {
  position: absolute; border-radius: 50%; filter: blur(120px);
  animation: nbFloat 18s ease-in-out infinite;
}
.nb1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,45,107,0.05) 0%, transparent 70%);
  top: -150px; left: -150px; animation-delay: 0s;
}
.nb2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(80,0,200,0.06) 0%, transparent 70%);
  bottom: 0; right: -100px; animation-delay: -8s;
}
@keyframes nbFloat {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(30px,-40px); }
}

/* ═══════════════════════════════════════════════
   LOGIN GATE
   ═══════════════════════════════════════════════ */
.gate-wrap {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(4,2,10,0.97);
  backdrop-filter: blur(8px);
}

.gate-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 52px 48px;
  width: 100%; max-width: 480px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gate-card::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 300px; height: 1px;
  background: linear-gradient(to right, transparent, var(--np), transparent);
}

.gate-logo {
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.gate-3am    { color: var(--np); }
.gate-desire { color: var(--white); margin-left: 4px; }

.gate-divider {
  width: 40px; height: 1px;
  background: var(--border-p);
  margin: 0 auto 28px;
}

.gate-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,45,107,0.08);
  border: 1px solid var(--border-p);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--np);
  margin: 0 auto 20px;
}

.gate-title {
  font-family: var(--display);
  font-size: 2.2rem; letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.gate-sub {
  font-size: 0.85rem; color: var(--dim);
  line-height: 1.65; margin-bottom: 32px;
  max-width: 340px; margin-left: auto; margin-right: auto;
}

/* Who selector */
.gate-who {
  display: flex; gap: 14px; justify-content: center;
  margin-bottom: 28px;
}

.gate-who-btn {
  flex: 1; max-width: 180px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 20px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--body); font-size: 0.82rem;
  color: var(--dim);
  transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.25s;
  letter-spacing: 0.02em;
}

.gate-who-btn:hover {
  border-color: var(--border-p);
  background: rgba(255,45,107,0.04);
  color: var(--white);
  transform: translateY(-3px);
}

.gate-who-btn.selected {
  border-color: var(--np);
  background: rgba(255,45,107,0.08);
  color: var(--white);
  box-shadow: 0 0 20px rgba(255,45,107,0.12);
}

.gate-who-orb {
  width: 48px; height: 48px; border-radius: 50%;
}
.gwo-silas { background: radial-gradient(circle at 35% 35%, #6a0025, #1e000a, #000); box-shadow: 0 0 16px rgba(255,45,107,0.3); }
.gwo-moon  { background: radial-gradient(circle at 35% 35%, #200050, #0a0018, #000); box-shadow: 0 0 16px rgba(130,50,255,0.3); }

/* PIN input */
.gate-pin-wrap {
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.gate-pin-wrap.active {
  opacity: 1; pointer-events: all;
}

.gate-pin-label {
  font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim);
  text-align: left;
}

.gate-pin-row {
  display: flex; gap: 8px;
}

.gate-pin-input {
  flex: 1; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px; padding: 12px 16px;
  color: var(--white); font-family: var(--mono);
  font-size: 1rem; letter-spacing: 0.2em;
  outline: none; transition: border-color 0.25s;
}
.gate-pin-input:focus { border-color: rgba(255,45,107,0.5); }
.gate-pin-input::placeholder { letter-spacing: 0.1em; color: var(--faint); }

.gate-pin-btn {
  width: 48px; height: 48px; border-radius: 6px;
  background: var(--np); border: none; cursor: pointer;
  color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.gate-pin-btn:hover { background: #ff4d82; transform: scale(1.05); }

.gate-pin-error {
  font-family: var(--mono); font-size: 0.65rem;
  color: var(--np); letter-spacing: 0.08em; min-height: 16px;
}

/* ═══════════════════════════════════════════════
   DASHBOARD LAYOUT
   ═══════════════════════════════════════════════ */
.dash-wrap {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* ── Header ─────────────────────────────────── */
.dash-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 0 32px;
  height: 64px;
  background: rgba(4,2,10,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.dash-logo a { text-decoration: none; }
.dash-logo .gate-3am    { font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.06em; color: var(--np); }
.dash-logo .gate-desire { font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.06em; color: var(--white); margin-left: 3px; }

.dash-header-center {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim);
}

.dash-unread-badge {
  background: var(--np); color: #fff;
  font-family: var(--mono); font-size: 0.58rem;
  font-weight: 700; letter-spacing: 0.06em;
  padding: 2px 7px; border-radius: 20px;
  min-width: 22px; text-align: center;
  animation: badgePop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes badgePop {
  from { transform: scale(0); } to { transform: scale(1); }
}

.dash-header-right {
  display: flex; align-items: center; gap: 12px;
}

.dash-user-chip {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.12em; color: var(--dim);
}

.duc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(74,222,128,0.8);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.4; }
}

.dash-refresh-btn,
.dash-logout-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px; padding: 8px 14px;
  color: var(--dim); font-family: var(--body); font-size: 0.78rem;
  cursor: pointer; display: flex; align-items: center; gap: 7px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.dash-refresh-btn:hover { border-color: var(--border-p); color: var(--white); background: rgba(255,45,107,0.06); }
.dash-logout-btn:hover  { border-color: rgba(255,255,255,0.12); color: var(--white); }

.dash-refresh-btn.spinning i { animation: spin 0.8s linear; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── Stats bar ──────────────────────────────── */
.dash-stats-bar {
  display: flex; align-items: center; gap: 0;
  padding: 0 32px;
  height: 64px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.dash-stat {
  display: flex; align-items: center; gap: 12px;
  padding: 0 28px; border-right: 1px solid var(--border);
  font-size: 0.9rem; color: var(--dim);
}
.dash-stat i { font-size: 1rem; color: var(--faint); }
.ds-num {
  display: block; font-family: var(--display);
  font-size: 1.4rem; letter-spacing: 0.04em; color: var(--white);
  line-height: 1;
}
.ds-label {
  font-family: var(--mono); font-size: 0.52rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint);
}

.dash-stat-action { margin-left: auto; }

.dash-mark-all-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px; padding: 8px 16px;
  color: var(--dim); font-family: var(--body); font-size: 0.78rem;
  cursor: pointer; display: flex; align-items: center; gap: 8px;
  transition: border-color 0.25s, color 0.25s;
}
.dash-mark-all-btn:hover { border-color: var(--border-p); color: var(--white); }

/* ── Filter tabs ────────────────────────────── */
.dash-filters {
  display: flex; gap: 4px;
  padding: 16px 32px 0;
}

.df-tab {
  background: none; border: 1px solid var(--border);
  border-radius: 4px; padding: 7px 18px;
  color: var(--dim); font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: all 0.25s;
}
.df-tab:hover { border-color: var(--border-p); color: var(--white); }
.df-tab.active {
  background: rgba(255,45,107,0.1);
  border-color: rgba(255,45,107,0.4);
  color: var(--np);
}

/* ── Feed ───────────────────────────────────── */
.dash-feed {
  flex: 1; padding: 24px 32px 48px;
}

/* Loading */
.dash-loading {
  display: flex; flex-direction: column; align-items: center;
  gap: 18px; padding: 80px 0; color: var(--dim);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.15em;
}
.dl-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--np);
  animation: spin 0.9s linear infinite;
}

/* Empty */
.dash-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; padding: 100px 0; text-align: center;
}
.de-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,45,107,0.06);
  border: 1px solid var(--border-p);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--np); opacity: 0.6;
}
.dash-empty h3 { font-family: var(--display); font-size: 1.8rem; letter-spacing: 0.05em; color: var(--dim); }
.dash-empty p  { font-size: 0.85rem; color: var(--faint); line-height: 1.6; max-width: 300px; }

/* Cards grid */
.dash-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

/* Individual notification card */
.notif-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 24px 22px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s;
  animation: cardIn 0.4s ease both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.notif-card:hover {
  border-color: rgba(255,45,107,0.25);
  transform: translateY(-3px);
  background: rgba(255,45,107,0.025);
}

/* Unread indicator — left border glow */
.notif-card.unread {
  border-left: 3px solid var(--np);
  background: rgba(255,45,107,0.03);
}
.notif-card.unread::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--np), rgba(255,45,107,0.3));
}

/* NEW pill */
.nc-new-pill {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,45,107,0.15);
  border: 1px solid rgba(255,45,107,0.4);
  border-radius: 20px; padding: 3px 10px;
  font-family: var(--mono); font-size: 0.52rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--np);
  display: flex; align-items: center; gap: 5px;
}
.nc-new-pill i { font-size: 0.45rem; animation: dotPulse 1.5s ease-in-out infinite; }

/* Card avatar + header */
.nc-top {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}

.nc-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1.1rem; color: var(--np);
  flex-shrink: 0;
}

.nc-name {
  font-family: var(--display); font-size: 1.15rem;
  letter-spacing: 0.04em; line-height: 1; margin-bottom: 4px;
}
.nc-role {
  font-family: var(--mono); font-size: 0.56rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--dim);
}

/* Details row */
.nc-details {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}

.nc-detail {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.75rem; color: var(--dim);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 4px; padding: 4px 10px;
}
.nc-detail i { font-size: 0.65rem; color: var(--faint); }

/* Service tags */
.nc-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px;
}
.nc-tag {
  font-family: var(--mono); font-size: 0.52rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 3px;
  background: rgba(255,45,107,0.07);
  border: 1px solid rgba(255,45,107,0.18);
  color: var(--np);
}

/* Preview text */
.nc-preview {
  font-size: 0.8rem; color: var(--dim); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card footer */
.nc-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border);
}

.nc-time {
  font-family: var(--mono); font-size: 0.56rem;
  letter-spacing: 0.1em; color: var(--faint);
}

.nc-open {
  font-family: var(--mono); font-size: 0.56rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dim); display: flex; align-items: center; gap: 5px;
  transition: color 0.2s;
}
.notif-card:hover .nc-open { color: var(--np); }

/* Read card dimming */
.notif-card.read-card {
  opacity: 0.55;
}
.notif-card.read-card:hover { opacity: 1; }

/* ═══════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════ */
.notif-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: overlayIn 0.25s ease both;
}
@keyframes overlayIn {
  from { opacity: 0; } to { opacity: 1; }
}

.notif-modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--np);
  border-radius: 10px;
  width: 100%; max-width: 640px;
  max-height: 88vh; overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.notif-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--dim); font-size: 0.9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.notif-modal-close:hover { background: rgba(255,45,107,0.15); color: var(--np); }

/* Modal header */
.nm-header {
  display: flex; align-items: center; gap: 18px;
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
}

.nm-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1.4rem; color: var(--np);
  flex-shrink: 0;
}

.nm-name {
  font-family: var(--display); font-size: 1.8rem; letter-spacing: 0.04em; line-height: 1;
  margin-bottom: 8px;
}

.nm-badges { display: flex; flex-wrap: wrap; gap: 6px; }

.nm-badge {
  font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 3px;
  background: rgba(255,45,107,0.07); border: 1px solid rgba(255,45,107,0.2); color: var(--np);
}

.nm-unread-tag {
  margin-left: auto; flex-shrink: 0;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.18em; color: var(--np);
  padding: 5px 12px; border-radius: 20px;
  background: rgba(255,45,107,0.1); border: 1px solid rgba(255,45,107,0.3);
}
.nm-unread-tag i { font-size: 0.45rem; animation: dotPulse 1.5s ease-in-out infinite; }

/* Modal body */
.nm-body { padding: 24px 28px; display: flex; flex-direction: column; gap: 20px; }

.nm-section-title {
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--np); margin-bottom: 10px;
}

.nm-info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}

.nm-info-item {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border); border-radius: 6px; padding: 12px 16px;
}
.nm-info-item label {
  display: block; font-family: var(--mono); font-size: 0.52rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 5px;
}
.nm-info-item span {
  font-size: 0.88rem; color: var(--white); line-height: 1.4;
}
.nm-info-item a { color: var(--np); text-decoration: none; }
.nm-info-item a:hover { text-decoration: underline; }

.nm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.nm-service-tag {
  font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.1em;
  padding: 5px 12px; border-radius: 4px;
  background: rgba(255,45,107,0.07); border: 1px solid rgba(255,45,107,0.2); color: var(--np);
}

.nm-text-block {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 6px; padding: 16px 18px;
  font-size: 0.88rem; color: var(--dim); line-height: 1.75;
  white-space: pre-wrap;
}

/* Modal footer */
.nm-footer {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 20px 28px 24px;
  border-top: 1px solid var(--border);
}

.nm-email-btn, .nm-read-btn, .nm-dismiss-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 6px;
  font-family: var(--body); font-size: 0.8rem;
  cursor: pointer; transition: all 0.25s; text-decoration: none;
}

.nm-email-btn {
  background: rgba(255,45,107,0.1); border: 1px solid rgba(255,45,107,0.3); color: var(--np);
}
.nm-email-btn:hover { background: rgba(255,45,107,0.2); }

.nm-read-btn {
  background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.25); color: var(--green);
}
.nm-read-btn:hover { background: rgba(74,222,128,0.16); }

.nm-dismiss-btn {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border); color: var(--dim);
  margin-left: auto;
}
.nm-dismiss-btn:hover { border-color: rgba(255,255,255,0.12); color: var(--white); }

/* ── Audio call sidebar btn ─────────────────── */
.csh-audio-btn {
  width: 34px; height: 34px; border-radius: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--dim); font-size: 0.85rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.csh-audio-btn:hover {
  background: rgba(255,45,107,0.12);
  border-color: rgba(255,45,107,0.3);
  color: var(--np);
}

/* ── Audio call modal button (notification modal) ── */
.nm-audio-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 6px;
  background: rgba(255,45,107,0.07);
  border: 1px solid rgba(255,45,107,0.2); color: var(--np);
  font-family: var(--body); font-size: 0.8rem; cursor: pointer;
  transition: all 0.25s;
}
.nm-audio-btn:hover { background: rgba(255,45,107,0.16); }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 768px) {
  .dash-header { padding: 0 16px; }
  .dash-header-center { display: none; }
  .dash-stats-bar { padding: 0 16px; overflow-x: auto; }
  .dash-filters { padding: 12px 16px 0; }
  .dash-feed { padding: 16px 16px 40px; }
  .dash-cards { grid-template-columns: 1fr; }
  .nm-info-grid { grid-template-columns: 1fr; }
  .gate-card { padding: 36px 24px; }
  .gate-who { flex-direction: column; align-items: center; }
  .gate-who-btn { max-width: 260px; flex-direction: row; width: 100%; }
}

/* ==============================================
   DASHBOARD BODY — two-panel layout
   ============================================== */
.dash-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
}

.dash-notif-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: flex 0.35s ease;
  min-width: 0;
}

/* Chat toggle button in header */
.dash-chat-toggle-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 6px;
  background: rgba(255,45,107,0.08);
  border: 1px solid rgba(255,45,107,0.25);
  color: var(--np); font-family: var(--body); font-size: 0.78rem;
  cursor: pointer; transition: all 0.25s; position: relative;
}
.dash-chat-toggle-btn:hover {
  background: rgba(255,45,107,0.16);
  border-color: rgba(255,45,107,0.45);
}
.dash-chat-toggle-btn.active {
  background: rgba(255,45,107,0.15);
  border-color: var(--np);
  box-shadow: 0 0 16px rgba(255,45,107,0.2);
}

.dct-badge {
  background: var(--np); color: #fff;
  font-family: var(--mono); font-size: 0.52rem;
  font-weight: 700; padding: 1px 6px; border-radius: 10px;
  min-width: 18px; text-align: center;
}

/* ── Modal extra buttons ── */
.nm-chat-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 6px;
  background: rgba(255,45,107,0.08);
  border: 1px solid rgba(255,45,107,0.25); color: var(--np);
  font-family: var(--body); font-size: 0.8rem; cursor: pointer;
  transition: all 0.25s;
}
.nm-chat-btn:hover { background: rgba(255,45,107,0.18); }

.nm-video-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 6px;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.25); color: var(--green);
  font-family: var(--body); font-size: 0.8rem; cursor: pointer;
  transition: all 0.25s;
}
.nm-video-btn:hover { background: rgba(74,222,128,0.18); }

/* ==============================================
   CHAT SIDEBAR
   ============================================== */
.chat-sidebar {
  width: 0;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  transition: width 0.35s cubic-bezier(0.16,1,0.3,1);
}

.chat-sidebar.open {
  width: 380px;
}

/* ── Sidebar header ── */
.chat-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: rgba(255,255,255,0.02);
  min-width: 380px;
}

.csh-left {
  display: flex; align-items: center; gap: 12px;
}

.csh-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(74,222,128,0.8);
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}

.csh-room-name {
  font-family: var(--body); font-size: 0.9rem;
  font-weight: 600; color: var(--white); line-height: 1;
  margin-bottom: 3px; white-space: nowrap;
}

.csh-room-sub {
  font-family: var(--mono); font-size: 0.52rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
  white-space: nowrap;
}

.csh-actions {
  display: flex; align-items: center; gap: 8px;
}

.csh-video-btn, .csh-close-btn {
  width: 34px; height: 34px; border-radius: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--dim); font-size: 0.85rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.csh-video-btn:hover { background: rgba(74,222,128,0.12); border-color: rgba(74,222,128,0.3); color: var(--green); }
.csh-close-btn:hover { background: rgba(255,45,107,0.12); border-color: rgba(255,45,107,0.3); color: var(--np); }

/* ── Room tabs ── */
.chat-room-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto; flex-shrink: 0;
  min-width: 380px;
  scrollbar-width: none;
}
.chat-room-tabs::-webkit-scrollbar { display: none; }

.crt-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; white-space: nowrap;
  background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--dim); font-family: var(--body); font-size: 0.78rem;
  cursor: pointer; transition: all 0.2s; position: relative;
}
.crt-tab:hover { color: var(--white); background: rgba(255,255,255,0.03); }
.crt-tab.active {
  color: var(--np); border-bottom-color: var(--np);
  background: rgba(255,45,107,0.04);
}

.crt-orb {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
}
.crt-collective {
  background: radial-gradient(circle at 35% 35%, #3a0015, #0a0005, #000);
  box-shadow: 0 0 8px rgba(255,45,107,0.35);
}

.crt-unread {
  background: var(--np); color: #fff;
  font-family: var(--mono); font-size: 0.5rem;
  padding: 1px 5px; border-radius: 8px;
  font-weight: 700;
}

/* ── Messages area ── */
.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 2px;
  scroll-behavior: smooth; min-width: 380px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

.chat-msg-loading {
  display: flex; align-items: center; justify-content: center;
  padding: 40px; flex: 1;
}

/* Date divider */
.chat-date-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 12px 0 8px;
}
.chat-date-divider span {
  font-family: var(--mono); font-size: 0.52rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint); white-space: nowrap;
}
.chat-date-divider::before,
.chat-date-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* Message bubble */
.chat-msg {
  display: flex; flex-direction: column;
  max-width: 82%; animation: msgIn 0.25s ease both;
  margin-bottom: 6px;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-msg.mine  { align-self: flex-end; align-items: flex-end; }
.chat-msg.theirs { align-self: flex-start; align-items: flex-start; }
.chat-msg.system { align-self: center; max-width: 90%; }

.chat-msg-sender {
  font-family: var(--mono); font-size: 0.52rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 4px; padding: 0 4px;
}
.chat-msg.mine .chat-msg-sender { color: rgba(255,45,107,0.6); }

.chat-msg-bubble {
  padding: 10px 14px; border-radius: 12px;
  font-size: 0.88rem; line-height: 1.6; word-break: break-word;
  position: relative;
}

.chat-msg.mine .chat-msg-bubble {
  background: rgba(255,45,107,0.15);
  border: 1px solid rgba(255,45,107,0.25);
  border-bottom-right-radius: 4px;
  color: var(--white);
}

.chat-msg.theirs .chat-msg-bubble {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--white);
}

.chat-msg.system .chat-msg-bubble {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--faint);
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.1em; text-align: center;
  padding: 6px 16px;
}

.chat-msg-time {
  font-family: var(--mono); font-size: 0.5rem;
  letter-spacing: 0.08em; color: var(--faint);
  margin-top: 3px; padding: 0 4px;
}

/* ── Typing indicator ── */
.chat-typing {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 16px; flex-shrink: 0;
  font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 0.1em; color: var(--faint);
  min-width: 380px;
}

.typing-dots {
  display: flex; gap: 3px; align-items: center;
}
.typing-dots span {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--faint); display: block;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%,80%,100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* ── Input bar ── */
.chat-input-bar {
  display: flex; align-items: flex-end; gap: 8px;
  padding: 12px 14px; border-top: 1px solid var(--border);
  flex-shrink: 0; background: rgba(255,255,255,0.02);
  min-width: 380px;
}

.chat-input-wrap {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  transition: border-color 0.25s;
}
.chat-input-wrap:focus-within { border-color: rgba(255,45,107,0.4); }

.chat-input {
  width: 100%; background: none; border: none; outline: none;
  color: var(--white); font-family: var(--body); font-size: 0.9rem;
  padding: 10px 14px; resize: none; line-height: 1.5;
  max-height: 120px; overflow-y: auto;
}
.chat-input::placeholder { color: var(--faint); }

.chat-send-btn {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: var(--np); border: none; color: #fff;
  font-size: 0.85rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
}
.chat-send-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.chat-send-btn:not(:disabled):hover { background: #ff4d82; transform: scale(1.08); }
.chat-send-btn:not(:disabled):active { transform: scale(0.96); }

/* ==============================================
   VIDEO CALL MODAL
   ============================================== */
.video-modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: overlayIn 0.25s ease both;
}

.video-modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--green);
  border-radius: 12px;
  width: 100%; max-width: 900px;
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: modalIn 0.3s cubic-bezier(0.16,1,0.3,1) both;
}

/* Video header */
.vm-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.vm-title-wrap {
  display: flex; align-items: center; gap: 10px;
}

.vm-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff4040;
  box-shadow: 0 0 8px rgba(255,64,64,0.8);
  animation: dotPulse 1s ease-in-out infinite;
}

.vm-title {
  font-family: var(--body); font-weight: 600; font-size: 0.9rem;
  color: var(--white);
}

.vm-room-tag {
  font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint);
  padding: 3px 10px; border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}

.vm-controls {
  display: flex; align-items: center; gap: 10px;
}

.vm-pip-btn {
  width: 34px; height: 34px; border-radius: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--dim); cursor: pointer; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.vm-pip-btn:hover { border-color: rgba(255,255,255,0.15); color: var(--white); }

.vm-end-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 6px;
  background: rgba(255,64,64,0.15); border: 1px solid rgba(255,64,64,0.3);
  color: #ff6060; font-family: var(--body); font-size: 0.8rem;
  cursor: pointer; transition: all 0.2s;
}
.vm-end-btn:hover { background: rgba(255,64,64,0.28); border-color: rgba(255,64,64,0.5); color: #fff; }

/* Jitsi wrapper */
.vm-jitsi-wrap {
  width: 100%; height: 520px; position: relative;
  background: #000;
}

.vm-connecting {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em;
  color: var(--dim);
}
.vm-connect-sub {
  font-size: 0.6rem; color: var(--faint); max-width: 320px; text-align: center; line-height: 1.6;
}

#vmJitsiWrap iframe {
  width: 100%; height: 100%; border: none; display: block;
}

/* Share bar */
.vm-share-bar {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}

.vm-share-label {
  font-family: var(--mono); font-size: 0.56rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}

.vm-share-row {
  display: flex; gap: 8px;
}

.vm-share-input {
  flex: 1; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 9px 14px; color: var(--dim);
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.06em; outline: none;
}

.vm-copy-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 6px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--dim); font-family: var(--body); font-size: 0.78rem;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.vm-copy-btn:hover { border-color: var(--border-p); color: var(--np); }
.vm-copy-btn.copied { border-color: rgba(74,222,128,0.4); color: var(--green); }

/* ==============================================
   AUDIO CALL MODAL
   ============================================== */
.audio-modal-overlay {
  position: fixed; inset: 0; z-index: 310;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: overlayIn 0.25s ease both;
}

.audio-modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--np);
  border-radius: 20px;
  width: 100%; max-width: 440px;
  padding: 28px 28px 24px;
  display: flex; flex-direction: column; align-items: center;
  gap: 0;
  position: relative;
  overflow: hidden;
  animation: modalIn 0.35s cubic-bezier(0.16,1,0.3,1) both;
}

/* Ambient glow behind avatar */
.audio-modal::before {
  content: '';
  position: absolute;
  top: 60px; left: 50%; transform: translateX(-50%);
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,45,107,0.08) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  animation: amGlowPulse 3s ease-in-out infinite;
}
@keyframes amGlowPulse {
  0%,100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  50% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

/* Header */
.am-header {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 32px;
}
.am-title-wrap {
  display: flex; align-items: center; gap: 8px;
}
.am-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--np);
  box-shadow: 0 0 8px rgba(255,45,107,0.9);
  animation: dotPulse 1.2s ease-in-out infinite;
}
.am-live-dot.connected {
  background: var(--green);
  box-shadow: 0 0 8px rgba(74,222,128,0.9);
}
.am-title {
  font-family: var(--body); font-weight: 600; font-size: 0.85rem;
  color: var(--dim); letter-spacing: 0.03em;
}
.am-timer {
  font-family: var(--mono); font-size: 0.78rem;
  letter-spacing: 0.18em; color: var(--faint);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 12px;
  transition: color 0.4s;
}
.am-timer.running { color: var(--green); border-color: rgba(74,222,128,0.25); }

/* Centre — avatar + pulse rings */
.am-center {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; margin-bottom: 28px; position: relative;
}

.am-pulse-rings {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.am-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,45,107,0.3);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.am-ring-1 { width: 100px; height: 100px; animation: ringPulse 2.4s ease-out infinite 0s; }
.am-ring-2 { width: 140px; height: 140px; animation: ringPulse 2.4s ease-out infinite 0.6s; }
.am-ring-3 { width: 180px; height: 180px; animation: ringPulse 2.4s ease-out infinite 1.2s; }

@keyframes ringPulse {
  0%   { transform: translate(-50%,-50%) scale(0.85); opacity: 0.7; }
  70%  { opacity: 0.15; }
  100% { transform: translate(-50%,-50%) scale(1.25); opacity: 0; }
}

.am-ring.connected {
  border-color: rgba(74,222,128,0.35);
}

/* Avatar */
.am-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3a0020, #0e0008, #000);
  border: 2px solid rgba(255,45,107,0.35);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 2rem; color: var(--np);
  position: relative; z-index: 1;
  box-shadow: 0 0 30px rgba(255,45,107,0.2), 0 0 60px rgba(255,45,107,0.08);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.am-avatar.connected {
  border-color: rgba(74,222,128,0.5);
  box-shadow: 0 0 30px rgba(74,222,128,0.2), 0 0 60px rgba(74,222,128,0.08);
}

.am-name {
  font-family: var(--display); font-size: 1.7rem;
  letter-spacing: 0.04em; color: var(--white); line-height: 1;
}

.am-status {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--faint);
}
.am-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--faint);
  transition: background 0.4s, box-shadow 0.4s;
}
.am-status-dot.active {
  background: var(--green);
  box-shadow: 0 0 6px rgba(74,222,128,0.8);
  animation: dotPulse 1.5s ease-in-out infinite;
}
.am-status-dot.calling {
  background: var(--np);
  box-shadow: 0 0 6px rgba(255,45,107,0.8);
  animation: dotPulse 0.8s ease-in-out infinite;
}

/* Audio visualiser bars */
.am-visualiser {
  display: flex; align-items: center; gap: 3px;
  height: 36px; margin-bottom: 24px;
  opacity: 0; transition: opacity 0.4s;
}
.am-visualiser.active { opacity: 1; }

.am-bar {
  width: 3px; border-radius: 2px;
  background: linear-gradient(to top, rgba(255,45,107,0.6), rgba(255,45,107,0.15));
  height: 8px;
  animation: barBounce 0.8s ease-in-out infinite;
  transform-origin: bottom;
}
.am-bar:nth-child(1)  { animation-delay: 0.00s; }
.am-bar:nth-child(2)  { animation-delay: 0.06s; }
.am-bar:nth-child(3)  { animation-delay: 0.12s; }
.am-bar:nth-child(4)  { animation-delay: 0.18s; }
.am-bar:nth-child(5)  { animation-delay: 0.24s; }
.am-bar:nth-child(6)  { animation-delay: 0.30s; }
.am-bar:nth-child(7)  { animation-delay: 0.36s; }
.am-bar:nth-child(8)  { animation-delay: 0.42s; }
.am-bar:nth-child(9)  { animation-delay: 0.48s; }
.am-bar:nth-child(10) { animation-delay: 0.42s; }
.am-bar:nth-child(11) { animation-delay: 0.36s; }
.am-bar:nth-child(12) { animation-delay: 0.30s; }
.am-bar:nth-child(13) { animation-delay: 0.24s; }
.am-bar:nth-child(14) { animation-delay: 0.18s; }
.am-bar:nth-child(15) { animation-delay: 0.12s; }
.am-bar:nth-child(16) { animation-delay: 0.06s; }
.am-bar:nth-child(17) { animation-delay: 0.00s; }
.am-bar:nth-child(18) { animation-delay: 0.06s; }
.am-bar:nth-child(19) { animation-delay: 0.12s; }
.am-bar:nth-child(20) { animation-delay: 0.18s; }

@keyframes barBounce {
  0%, 100% { height: 6px; }
  50% { height: var(--h, 22px); }
}

/* Controls */
.am-controls {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 24px;
}

.am-ctrl-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 50%;
  width: 60px; height: 60px; cursor: pointer;
  color: var(--dim); font-size: 1rem;
  transition: all 0.25s;
  justify-content: center;
}
.am-ctrl-btn span {
  font-family: var(--mono); font-size: 0.42rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  position: absolute; bottom: -18px;
  color: var(--faint); white-space: nowrap;
}
.am-ctrl-btn { position: relative; }

.am-ctrl-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}

/* Muted state */
.am-ctrl-btn.muted {
  background: rgba(255,45,107,0.12);
  border-color: rgba(255,45,107,0.35);
  color: var(--np);
}

/* End call button */
.am-end-btn {
  width: 68px; height: 68px;
  background: rgba(255,60,60,0.15) !important;
  border-color: rgba(255,60,60,0.35) !important;
  color: #ff6060 !important;
  font-size: 1.1rem !important;
}
.am-end-btn:hover {
  background: rgba(255,60,60,0.3) !important;
  border-color: rgba(255,60,60,0.6) !important;
  color: #fff !important;
  transform: scale(1.06);
}

/* Speaker active */
.am-ctrl-btn.speaker-on {
  background: rgba(74,222,128,0.1);
  border-color: rgba(74,222,128,0.3);
  color: var(--green);
}

/* Share bar */
.am-share-bar {
  width: 100%; padding-top: 18px;
  border-top: 1px solid var(--border);
}
.am-share-label {
  font-family: var(--mono); font-size: 0.54rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 8px;
  display: flex; align-items: center; gap: 7px;
}
.am-share-row {
  display: flex; gap: 8px;
}

/* ==============================================
   RESPONSIVE UPDATES
   ============================================== */
@media (max-width: 900px) {
  .chat-sidebar.open { width: 320px; }
  .chat-sidebar-header,
  .chat-room-tabs,
  .chat-messages,
  .chat-typing,
  .chat-input-bar { min-width: 320px; }
}

@media (max-width: 768px) {
  .chat-sidebar.open {
    position: fixed; inset: 64px 0 0 0;
    width: 100% !important; z-index: 20;
  }
  .chat-sidebar-header,
  .chat-room-tabs,
  .chat-messages,
  .chat-typing,
  .chat-input-bar { min-width: 0; }
  .vm-jitsi-wrap { height: 340px; }
  .dash-chat-toggle-btn span:not(.dct-badge) { display: none; }
  .nm-footer { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .video-modal { border-radius: 8px; }
  .vm-jitsi-wrap { height: 260px; }
  .vm-share-bar { padding: 10px 14px; }
}
