:root {
  --bg: #151f2b;
  --bg2: #0f1620;
  --panel: #1a2433;
  --bubble: #1e2a3a;
  --line: rgba(255,255,255,.08);
  --text: #e8eef6;
  --muted: #8b9bb0;
  --accent: #2f80ed;
  --accent2: #56b6ff;
  --danger: #e74c3c;
  --ok: #2ecc71;
  --font: "Segoe UI", Roboto, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body, #app { height: 100%; margin: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}
button { font: inherit; cursor: pointer; color: inherit; background: none; border: 0; }
input, select, textarea { font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; width: 100%; outline: none; }
input:focus, select:focus { border-color: var(--accent); }

.gate {
  min-height: 100%; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(1200px 600px at 50% -10%, #1e3a5f 0%, var(--bg) 55%);
}
.gate-card {
  width: min(420px, 100%); background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 28px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.gate-card h1 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.02em; }
.gate-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tabs button { flex: 1; padding: 10px; border-radius: 999px; background: var(--bg2); color: var(--muted); font-weight: 700; }
.tabs button.on { background: var(--accent); color: #fff; }
.gate .row { display: flex; gap: 8px; margin: 10px 0; }
.gate .row button { flex: 1; padding: 10px; border-radius: 12px; background: var(--bg2); font-weight: 700; }
.gate .row button.on { background: #243447; outline: 1px solid var(--accent); }
.btn-primary { width: 100%; margin-top: 12px; padding: 13px; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 800; }
.err { color: #ff8f8f; font-size: 13px; font-weight: 700; text-align: center; margin-top: 10px; }

.shell { height: 100%; display: flex; flex-direction: column; position: relative; background: var(--bg); }

.top {
  height: 52px; display: flex; align-items: center; gap: 8px;
  padding: 0 10px 0 14px; border-bottom: 1px solid var(--line); background: rgba(15,22,32,.92);
  backdrop-filter: blur(8px); z-index: 5;
}
.top .room-title { flex: 1; text-align: center; font-weight: 800; font-size: 16px; }
.top .ico {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: var(--muted); position: relative;
}
.top .ico em {
  position: absolute; bottom: 2px; left: 0; right: 0; text-align: center;
  font-style: normal; font-size: 10px; font-weight: 800; color: var(--text);
}
.badge {
  position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 800;
  display: grid; place-items: center;
}

.stage { flex: 1; min-height: 0; display: flex; position: relative; }
.chat {
  flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative;
  background:
    linear-gradient(rgba(21,31,43,.88), rgba(21,31,43,.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1.2'%3E%3Ccircle cx='20' cy='24' r='8'/%3E%3Crect x='50' y='18' width='18' height='14' rx='3'/%3E%3Cpath d='M90 20h20l6 10-6 10H90z'/%3E%3Cpath d='M20 70c8 0 12 8 12 14s-4 14-12 14-12-8-12-14 4-14 12-14z'/%3E%3Cpath d='M70 70h24v18H70z'/%3E%3Cpath d='M110 78c10-8 24-2 24 10 0 10-8 16-18 16'/%3E%3C/g%3E%3C/svg%3E");
}

.log { flex: 1; overflow: auto; padding: 14px 12px 90px; display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; gap: 10px; align-items: flex-start; max-width: 920px; }
.msg .ava {
  width: 36px; height: 36px; border-radius: 50%; background: #2a3b52; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #cfe3ff;
}
.msg .body { min-width: 0; flex: 1; }
.msg .nick { font-weight: 800; font-size: 13px; margin-bottom: 3px; }
.msg .nick[data-uid], .msg .ava[data-uid], .person[data-uid], .person .name[data-uid] { cursor: pointer; }
.msg .nick[data-uid]:hover { color: var(--accent2); }
.msg .bubble {
  display: inline-block; max-width: min(100%, 520px); background: var(--bubble);
  border-radius: 14px; padding: 8px 10px 6px; position: relative;
}
.msg .quote {
  background: rgba(0,0,0,.25); border-left: 3px solid var(--accent2);
  border-radius: 8px; padding: 6px 8px; margin-bottom: 6px; font-size: 12px; color: #c5d4e6;
}
.msg .quote b { display: block; color: var(--accent2); font-size: 11px; }
.msg .txt { white-space: pre-wrap; word-break: break-word; font-size: 14px; line-height: 1.35; }
.msg .meta { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.msg .time { font-size: 11px; color: var(--muted); }
.msg .reply-btn { font-size: 11px; color: var(--accent2); font-weight: 700; }
.sys {
  align-self: center; background: rgba(255,255,255,.08); color: #d7e3f2;
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; margin: 4px 0;
}

.fabs {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 4;
}
.fab {
  width: 44px; height: 44px; border-radius: 14px; background: rgba(26,36,51,.92);
  border: 1px solid var(--line); display: grid; place-items: center; position: relative;
  color: var(--muted); backdrop-filter: blur(6px);
}
.fab strong {
  position: absolute; bottom: 3px; font-size: 10px; font-weight: 800; color: var(--text);
}
.fab.primary { background: var(--accent); color: #fff; border-color: transparent; }

.composer {
  border-top: 1px solid var(--line); background: rgba(15,22,32,.96); padding: 8px 10px 12px; z-index: 5;
}
.chips { display: flex; gap: 8px; overflow: auto; padding: 4px 2px 8px; }
.chip {
  flex: none; display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px;
  border-radius: 999px; background: rgba(255,255,255,.06); font-size: 12px; font-weight: 700;
}
.chip i { width: 22px; height: 22px; border-radius: 50%; background: #31495f; display: grid; place-items: center; font-size: 10px; font-style: normal; }
.tools { display: flex; gap: 8px; overflow: auto; padding-bottom: 8px; }
.tool {
  flex: none; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.06);
  font-size: 12px; font-weight: 700; color: var(--muted);
}
.reply-bar {
  display: flex; align-items: center; gap: 10px; background: rgba(47,128,237,.12);
  border-left: 3px solid var(--accent); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px;
}
.reply-bar div { flex: 1; min-width: 0; }
.reply-bar strong { display: block; font-size: 12px; color: var(--accent2); }
.reply-bar span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.compose-row { display: flex; align-items: center; gap: 8px; }
.compose-row .field {
  flex: 1; display: flex; align-items: center; gap: 4px; background: var(--bg2);
  border: 1px solid var(--line); border-radius: 18px; padding: 4px 8px;
}
.compose-row input { border: 0; background: transparent; padding: 8px 6px; }
.act { width: 34px; height: 34px; border-radius: 10px; color: var(--muted); display: grid; place-items: center; }
.send {
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 18px; flex: none;
}
.send:disabled { opacity: .4; }

.drawer {
  position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 40;
  display: flex; justify-content: flex-end;
  pointer-events: auto;
}
#drawer-root:empty { pointer-events: none; }
.drawer.left { justify-content: flex-start; }
.panel {
  width: min(360px, 92vw); height: 100%; background: var(--panel); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.drawer.left .panel { border-left: 0; border-right: 1px solid var(--line); }
.panel-head {
  display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid var(--line);
  font-weight: 800;
}
.panel-body { flex: 1; overflow: auto; padding: 12px; }
.menu-item {
  width: 100%; text-align: left; padding: 14px 12px; border-radius: 12px; font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.menu-item:hover { background: rgba(255,255,255,.04); }
.room-card {
  width: 100%; display: flex; gap: 12px; align-items: center; text-align: left;
  padding: 12px; border-radius: 14px; margin-bottom: 8px; background: rgba(255,255,255,.04);
}
.room-card.on { outline: 1px solid var(--accent); background: rgba(47,128,237,.12); }
.room-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.room-card .meta { flex: 1; min-width: 0; }
.room-card .name { font-weight: 800; }
.room-card .topic { color: var(--muted); font-size: 12px; margin-top: 2px; }
.person {
  display: flex; gap: 10px; align-items: center; padding: 10px 8px; border-radius: 12px;
}
.person:hover { background: rgba(255,255,255,.04); }
.person .ava { width: 40px; height: 40px; border-radius: 50%; background: #2a3b52; display: grid; place-items: center; font-weight: 800; }
.person .name { font-weight: 800; font-size: 14px; }
.person .sub { color: var(--muted); font-size: 12px; }
.pref { margin-bottom: 14px; }
.pref label { display: block; color: var(--accent2); font-weight: 800; font-size: 14px; margin-bottom: 4px; }
.pref small { display: block; color: var(--muted); margin-bottom: 8px; }
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%);
  background: #111827; border: 1px solid var(--line); padding: 10px 14px; border-radius: 999px;
  font-weight: 700; font-size: 13px; z-index: 50; box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.empty {
  flex: 1; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 24px;
}
.empty-hint { color: var(--muted); padding: 20px; text-align: center; font-size: 13px; }
textarea { resize: vertical; min-height: 72px; }

/* Profil kartı */
.profile-card-backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(0,0,0,.55); display: grid; place-items: center; padding: 20px;
}
.profile-card {
  width: min(360px, 100%); background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 22px 18px 18px; position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.45); text-align: center;
}
.profile-close {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px;
  border-radius: 10px; color: var(--muted); font-size: 16px;
}
.profile-close:hover { background: rgba(255,255,255,.06); color: var(--text); }
.profile-ava {
  width: 72px; height: 72px; border-radius: 50%; margin: 4px auto 12px;
  background: #2a3b52; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: #cfe3ff;
  position: relative;
}
.profile-ava.lg { width: 96px; height: 96px; font-size: 28px; }
.profile-ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.gender-badge {
  position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: #3a4a5e; font-size: 12px; display: grid; place-items: center; border: 2px solid var(--panel);
}
.gender-badge.m { background: #2f80ed; color: #fff; }
.gender-badge.f { background: #e84393; color: #fff; }
.profile-status-top { color: var(--muted); font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.profile-nick { font-size: 20px; font-weight: 800; }
.profile-meta { color: var(--muted); font-size: 13px; margin-top: 4px; font-weight: 700; }
.profile-bio {
  margin: 12px 0 16px; color: #c5d4e6; font-size: 13px; line-height: 1.4;
  background: rgba(255,255,255,.04); border-radius: 12px; padding: 10px 12px;
}
.profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.profile-actions.dual { grid-template-columns: 1fr 1fr; }
.profile-actions.quad { grid-template-columns: repeat(4, 1fr); gap: 4px; }
.profile-actions.quad .pc-btn { font-size: 10px; padding: 10px 4px; }
.pc-btn {
  padding: 10px 8px; border-radius: 12px; background: rgba(255,255,255,.06);
  font-weight: 800; font-size: 12px; color: var(--text);
}
.pc-btn:hover { background: rgba(255,255,255,.1); }
.pc-btn:disabled { opacity: .45; cursor: default; }
.pc-btn.accent { background: var(--accent); color: #fff; }
.pc-btn.danger { background: rgba(231,76,60,.18); color: #ff9b92; }
.profile-actions .btn-primary { grid-column: 1 / -1; margin-top: 0; }
.profile-rooms {
  margin-top: 14px; text-align: left; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.profile-rooms .rooms-head {
  display: flex; justify-content: space-between; padding: 10px 12px;
  font-weight: 800; font-size: 13px; border-bottom: 1px solid var(--line);
}
.profile-rooms .room-jump {
  display: block; width: 100%; text-align: left; padding: 10px 12px;
  border-bottom: 1px solid var(--line); font-weight: 700; font-size: 13px;
}
.profile-rooms .room-jump:last-child { border-bottom: 0; }
.profile-rooms .room-jump:hover { background: rgba(255,255,255,.04); }
.profile-more { display: grid; gap: 8px; margin-top: 12px; }

.profile-hub { text-align: center; padding: 8px 0 4px; }
.hub-btn {
  display: flex; align-items: center; justify-content: center; width: 100%;
  margin: 8px 0; padding: 13px 14px; border-radius: 999px;
  border: 1px solid var(--line); font-weight: 800; font-size: 14px;
}
.hub-btn:hover { background: rgba(255,255,255,.05); }
.back-link {
  display: inline-flex; align-items: center; gap: 4px; margin-bottom: 12px;
  color: var(--muted); font-weight: 800; font-size: 13px;
}
.back-link:hover { color: var(--text); }

.avatar-row {
  display: flex; align-items: center; gap: 14px; margin-top: 8px;
}
.avatar-row .profile-ava { margin: 0; flex: none; }
.avatar-actions { flex: 1; min-width: 0; }
.avatar-actions small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.35; }

.notes-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.notes-tab {
  flex: 1; padding: 9px 6px; border-radius: 10px; background: var(--bg2);
  color: var(--muted); font-weight: 800; font-size: 12px;
}
.notes-tab.on { background: var(--accent); color: #fff; }

.people-tabs { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.people-tabs .tool {
  flex: 1; min-width: 0; padding: 8px 6px; border-radius: 10px; background: var(--bg2);
  color: var(--muted); font-weight: 800; font-size: 11px;
}
.people-tabs .tool.on, .tool.on { background: var(--accent); color: #fff; }
.people-tabs.sub .tool { flex: 1; }

.yetki-box {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
}
.yetki-note { color: var(--muted); font-size: 12px; margin-bottom: 10px; line-height: 1.4; }
.yetki-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px;
}
.yetki-card b { display: block; font-size: 14px; }
.yetki-card small { color: var(--muted); font-size: 12px; }
.yetki-card span { color: var(--accent2); font-weight: 800; font-size: 12px; white-space: nowrap; }

.role-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.role-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; }
.role-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }

.admin-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
}
.admin-tabs .tool.on { background: var(--accent); color: #fff; }
.admin-form {
  display: flex; flex-direction: column; gap: 8px;
  padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
}
.admin-form .check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.admin-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.admin-row.col { flex-direction: column; align-items: stretch; gap: 8px; }
.admin-row .grow { flex: 1; min-width: 0; }
.admin-row .grow b { display: block; font-size: 13px; }
.admin-row .grow small { color: var(--muted); font-size: 11px; display: block; margin-top: 2px; }
.admin-row .tool.danger { background: var(--danger); color: #fff; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.row-actions select {
  flex: 1; min-width: 120px; background: var(--bg2); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 13px;
}

.owner-bar {
  color: var(--muted); font-size: 12px; font-weight: 700; padding: 0 4px 8px;
}
.emoji-panel {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px;
  padding: 8px; margin-bottom: 8px; background: var(--bg2); border-radius: 12px;
  border: 1px solid var(--line); max-height: 140px; overflow: auto;
}
.emoji-btn { font-size: 20px; padding: 4px; border-radius: 8px; }
.emoji-btn:hover { background: rgba(255,255,255,.08); }
.song-box {
  display: flex; gap: 8px; align-items: center; margin-bottom: 8px;
}
.song-box input { flex: 1; }
.act.rec { color: #ff6b6b; animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.msg-media img {
  max-width: min(240px, 70vw); max-height: 220px; border-radius: 12px; display: block;
}
.msg-audio { width: min(240px, 70vw); margin: 4px 0; }
.txt.song { color: var(--accent2); font-weight: 700; }
.tools .tool.on { background: var(--accent); color: #fff; }
.chip i, .chip .ava, .person .ava, .msg .ava {
  overflow: hidden;
}
.chip i img, .person .ava img, .msg .ava img, .dm-item .ava img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block;
}
.msg .ava, .person .ava, .dm-item .ava, .chip i {
  display: grid; place-items: center;
}

html[data-theme="light"] {
  --bg: #eef2f7;
  --bg2: #ffffff;
  --panel: #f7f9fc;
  --bubble: #e8eef6;
  --line: rgba(15,22,32,.12);
  --text: #152033;
  --muted: #5b6b80;
}
html[data-theme="light"] body { background: var(--bg); color: var(--text); }
html[data-theme="light"] .chat {
  background: linear-gradient(rgba(238,242,247,.92), rgba(238,242,247,.96));
}
html[data-theme="light"] .top { background: rgba(255,255,255,.92); }
html[data-theme="light"] .compose { background: rgba(255,255,255,.96); }

/* Özel mesajlar */
.dm-list { display: flex; flex-direction: column; gap: 4px; }
.dm-item {
  width: 100%; display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 10px 8px; border-radius: 12px;
}
.dm-item:hover { background: rgba(255,255,255,.04); }
.dm-item .ava {
  width: 40px; height: 40px; border-radius: 50%; background: #2a3b52; flex: none;
  display: grid; place-items: center; font-weight: 800;
}
.dm-item .meta { flex: 1; min-width: 0; }
.dm-item .name { font-weight: 800; font-size: 14px; }
.dm-item .preview {
  color: var(--muted); font-size: 12px; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dm-item .time { font-size: 11px; color: var(--muted); flex: none; }
.dm-chat {
  height: 100%; min-height: 0; display: flex; flex-direction: column; flex: 1;
}
.panel-body:has(.dm-chat) { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.dm-log {
  flex: 1; overflow: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px;
}
.dm-bubble {
  align-self: flex-start; max-width: 85%; background: var(--bubble);
  border-radius: 14px 14px 14px 4px; padding: 8px 10px 6px;
}
.dm-bubble.mine {
  align-self: flex-end; background: rgba(47,128,237,.28);
  border-radius: 14px 14px 4px 14px;
}
.dm-bubble .txt { font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.dm-bubble .time { display: block; text-align: right; font-size: 10px; color: var(--muted); margin-top: 4px; }
.dm-compose {
  display: flex; gap: 8px; align-items: center; padding: 10px 12px 14px;
  border-top: 1px solid var(--line); background: rgba(15,22,32,.96);
}
.dm-compose input { flex: 1; border-radius: 18px; }
.dm-compose .send { width: 44px; height: 44px; }

/* Bildirimler */
.note-item {
  padding: 10px 12px; border-radius: 12px; margin-bottom: 8px;
  background: rgba(255,255,255,.04); border-left: 3px solid transparent;
}
.note-item.unread { border-left-color: var(--accent); background: rgba(47,128,237,.1); }
.note-item .name { font-weight: 800; font-size: 13px; }
.note-item .sub { color: var(--muted); font-size: 12px; margin-top: 4px; }
.note-item .time { color: var(--muted); font-size: 11px; margin-top: 6px; }
.note-row .accept-btn { margin-left: auto; background: var(--ok); color: #0b1a12; }

/* Arama overlay */
.call-overlay {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(8,12,18,.72); display: grid; place-items: center; padding: 20px;
}
.call-card {
  width: min(320px, 100%); background: var(--panel); border: 1px solid var(--line);
  border-radius: 22px; padding: 28px 20px 22px; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.call-kind { color: var(--accent2); font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.call-card .ava.big {
  width: 80px; height: 80px; border-radius: 50%; margin: 16px auto 12px;
  background: #2a3b52; display: grid; place-items: center; font-weight: 800; font-size: 26px; color: #cfe3ff;
}
.call-nick { font-size: 22px; font-weight: 800; }
.call-sub { color: var(--muted); margin-top: 4px; font-size: 14px; }
.call-actions { display: flex; gap: 12px; margin-top: 22px; }
.call-reject, .call-accept {
  flex: 1; padding: 14px; border-radius: 14px; font-weight: 800; font-size: 14px;
}
.call-reject { background: rgba(231,76,60,.2); color: #ff9b92; }
.call-accept { background: var(--ok); color: #0b1a12; }

#overlay-root:empty { pointer-events: none; }

@media (min-width: 900px) {
  .shell { flex-direction: row; }
  .side {
    width: 340px; border-right: 1px solid var(--line); background: var(--panel);
    display: flex; flex-direction: column;
  }
  .mobile-only { display: none !important; }
  .fabs { right: 18px; }
  .drawer {
    position: fixed;
    inset: 0;
    z-index: 40;
  }
  .panel { width: min(420px, 92vw); }
}
@media (max-width: 899px) {
  .desk-only { display: none !important; }
}
