﻿@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap");

:root {
  --bg-0: #f2f7ff;
  --bg-1: #eef8ff;
  --bg-2: #fdf8f0;
  --text: #12213d;
  --text-soft: #425a81;
  --text-muted: #6279a1;

  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-solid: #ffffff;
  --surface-dark: #091225;

  --line: rgba(20, 49, 96, 0.16);
  --line-strong: rgba(19, 61, 132, 0.28);

  --primary: #1358d7;
  --primary-strong: #0d44aa;
  --primary-glow: rgba(19, 88, 215, 0.34);
  --mint: #0ca59b;

  --danger: #d54459;
  --danger-strong: #b02d43;

  --shadow-soft: 0 14px 34px rgba(10, 28, 68, 0.12);
  --shadow-medium: 0 24px 58px rgba(9, 27, 65, 0.16);
  --shadow-hard: 0 24px 64px rgba(5, 21, 56, 0.24);

  --radius-xs: 10px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(1100px 700px at 10% 6%, #dbe8ff 0%, transparent 55%),
    radial-gradient(900px 540px at 90% 8%, #ffd9ad 0%, transparent 48%),
    radial-gradient(900px 620px at 45% 100%, #ccf7eb 0%, transparent 48%),
    linear-gradient(125deg, var(--bg-0) 0%, var(--bg-1) 52%, var(--bg-2) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(130deg, rgba(19, 88, 215, 0.08), transparent 34%, rgba(12, 165, 155, 0.08)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.11) 0 2px,
      rgba(255, 255, 255, 0) 2px 18px
    );
  opacity: 0.72;
}

body::after {
  background: radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.8), transparent 42%);
}

button,
input,
textarea {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button,
a,
input {
  transition: all 0.18s ease;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hidden {
  display: none !important;
}

.screen {
  min-height: 100vh;
}

.auth-card {
  width: min(520px, calc(100vw - 30px));
  margin: 54px auto;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.91), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 0% 0%, rgba(19, 88, 215, 0.08), transparent 35%);
  backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-medium);
  animation: rise 0.32s ease;
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(19, 88, 215, 0.24), transparent 36%, rgba(12, 165, 155, 0.2));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  padding: 1px;
}

.auth-card h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(34px, 4.1vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0b4ec7;
}

.auth-card p {
  margin: 10px 0 20px;
  color: var(--text-soft);
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.tab {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 650;
}

.tab:hover {
  border-color: rgba(19, 88, 215, 0.44);
  transform: translateY(-1px);
}

.tab.active {
  border-color: rgba(19, 88, 215, 0.45);
  color: var(--primary-strong);
  background: linear-gradient(145deg, rgba(19, 88, 215, 0.14), rgba(19, 88, 215, 0.07));
  box-shadow: inset 0 0 0 1px rgba(19, 88, 215, 0.1);
}

.auth-form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--text-soft);
  font-size: 14px;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

input:hover {
  border-color: rgba(19, 88, 215, 0.3);
}

input:focus {
  border-color: rgba(19, 88, 215, 0.56);
  box-shadow: 0 0 0 4px rgba(19, 88, 215, 0.12);
  outline: none;
}

button {
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  background: linear-gradient(135deg, #0f5ce1, #3a83ff);
  color: #ffffff;
  font-weight: 750;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 92, 225, 0.25);
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.025);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.64);
  color: var(--primary-strong);
  border-color: rgba(19, 88, 215, 0.34);
  box-shadow: 0 8px 18px rgba(19, 88, 215, 0.14);
}

.btn-ghost:hover {
  background: rgba(19, 88, 215, 0.1);
}

.danger {
  background: linear-gradient(135deg, var(--danger), #f16173);
  box-shadow: 0 10px 22px rgba(213, 68, 89, 0.28);
}

.danger:hover {
  box-shadow: 0 12px 24px rgba(213, 68, 89, 0.31);
}

.error-line {
  color: #b11d37;
  margin-top: 12px;
  min-height: 20px;
  font-weight: 600;
}

#app-screen {
  display: grid;
  grid-template-columns: 365px minmax(0, 1fr);
  min-height: 100vh;
  position: relative;
}

.sidebar {
  min-height: 100vh;
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.67)),
    radial-gradient(circle at 0 0, rgba(19, 88, 215, 0.12), transparent 34%);
  backdrop-filter: blur(12px) saturate(130%);
  border-right: 1px solid var(--line);
  box-shadow: 12px 0 38px rgba(11, 27, 67, 0.12);
  display: grid;
  grid-template-rows: auto auto auto auto auto minmax(0, 1fr);
  position: relative;
  z-index: 2;
}

.sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(19, 88, 215, 0.32), rgba(19, 88, 215, 0));
}

.brand {
  padding: 24px 18px 22px;
  font-family: "Sora", sans-serif;
  font-size: clamp(34px, 4vw, 42px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #0a4dc6;
  position: relative;
}

.brand::after {
  content: "messenger";
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(18, 33, 61, 0.48);
}

.profile-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.44);
}

#current-user-label {
  font-weight: 650;
  color: #203a62;
}

.sidebar-actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
}

.notify-panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 11px 16px;
  display: grid;
  gap: 8px;
  background: linear-gradient(125deg, rgba(19, 88, 215, 0.06), rgba(12, 165, 155, 0.06));
}

.notify-toggle {
  color: var(--text);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.notify-toggle input {
  margin: 0;
  accent-color: var(--mint);
}

.notify-status {
  font-size: 12px;
  color: var(--text-muted);
}

.list-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
}

.list {
  overflow: auto;
  padding: 0 12px 14px;
}

.list::-webkit-scrollbar,
.messages::-webkit-scrollbar,
.member-list::-webkit-scrollbar,
.modal-card::-webkit-scrollbar {
  width: 10px;
}

.list::-webkit-scrollbar-track,
.messages::-webkit-scrollbar-track,
.member-list::-webkit-scrollbar-track,
.modal-card::-webkit-scrollbar-track {
  background: transparent;
}

.list::-webkit-scrollbar-thumb,
.messages::-webkit-scrollbar-thumb,
.member-list::-webkit-scrollbar-thumb,
.modal-card::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(19, 88, 215, 0.28);
  background-clip: padding-box;
}

.list-item {
  width: 100%;
  text-align: left;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 255, 0.94));
  color: var(--text);
  padding: 12px;
  animation: rise 0.2s ease;
  box-shadow: 0 8px 18px rgba(8, 24, 60, 0.08);
  position: relative;
  overflow: hidden;
}

.list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(19, 88, 215, 0), rgba(19, 88, 215, 0));
}

.list-item:hover {
  transform: translateY(-1px);
  border-color: rgba(19, 88, 215, 0.38);
  box-shadow: 0 12px 24px rgba(10, 31, 78, 0.11);
}

.list-item.active {
  border-color: rgba(19, 88, 215, 0.45);
  box-shadow:
    0 0 0 1px rgba(19, 88, 215, 0.28),
    0 14px 26px rgba(11, 36, 88, 0.15);
}

.list-item.active::before {
  background: linear-gradient(to bottom, rgba(19, 88, 215, 0.9), rgba(12, 165, 155, 0.85));
}

.list-item-title {
  font-weight: 760;
}

.list-item-meta {
  margin-top: 5px;
  font-size: 13px;
  color: var(--text-muted);
}

.user-item {
  display: grid;
  gap: 8px;
}

.user-item button {
  width: fit-content;
}

.chat-panel {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.48), rgba(246, 251, 255, 0.6)),
    radial-gradient(circle at 55% -30%, rgba(19, 88, 215, 0.08), transparent 44%);
  position: relative;
}

.chat-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(19, 88, 215, 0.1) 0.75px, transparent 0.75px),
    radial-gradient(rgba(12, 165, 155, 0.09) 0.75px, transparent 0.75px);
  background-position: 0 0, 16px 16px;
  background-size: 32px 32px;
  opacity: 0.24;
}

.chat-header,
.messages,
.composer,
.call-panel {
  position: relative;
  z-index: 1;
}

.chat-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px) saturate(120%);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chat-head-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.chat-head-main > div {
  min-width: 0;
}

.chat-header h2 {
  margin: 0 0 4px;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 2.2vw, 28px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.muted {
  color: var(--text-muted);
  font-size: 14px;
}

.call-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.messages {
  overflow: auto;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.message {
  max-width: min(76%, 760px);
  border: 1px solid rgba(20, 58, 126, 0.2);
  border-radius: 16px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px rgba(8, 28, 71, 0.08);
  animation: rise 0.18s ease;
  position: relative;
}

.message::after {
  content: "";
  position: absolute;
  left: -6px;
  bottom: 12px;
  width: 10px;
  height: 10px;
  border-radius: 0 0 10px 0;
  background: inherit;
  border-left: inherit;
  border-bottom: inherit;
  transform: rotate(45deg);
}

.message.mine {
  align-self: flex-end;
  background: linear-gradient(144deg, rgba(21, 97, 228, 0.18), rgba(14, 190, 169, 0.12));
  border-color: rgba(15, 92, 225, 0.38);
}

.message.mine::after {
  left: auto;
  right: -6px;
  border-left: none;
  border-bottom: none;
  border-right: inherit;
  border-top: inherit;
}

.message-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
  font-size: 12px;
  color: var(--text-muted);
}

.message-body {
  white-space: pre-wrap;
  word-break: break-word;
  color: #173056;
}

.message-attachment {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.attachment-meta {
  display: inline-block;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(19, 88, 215, 0.24);
  background: rgba(19, 88, 215, 0.09);
  color: #2d4f80;
  font-size: 12px;
}

.attachment-preview {
  max-width: min(100%, 470px);
  border: 1px solid rgba(20, 58, 126, 0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.attachment-preview img,
.attachment-preview video {
  width: 100%;
  display: block;
}

.message-attachment a {
  width: fit-content;
  color: var(--primary-strong);
  text-decoration: none;
  font-weight: 700;
}

.message-attachment a:hover {
  text-decoration: underline;
}

.composer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px) saturate(120%);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.composer-main {
  flex: 1;
  display: grid;
  gap: 6px;
}

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

#message-input {
  border-radius: 14px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.95);
}

.attachment-chip {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 4px 9px;
  font-size: 12px;
  color: var(--text-soft);
}

#attachment-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
}

.btn-chip {
  background: #e5eefb;
  color: #274b7e;
  border-radius: 999px;
  border: none;
  min-width: 22px;
  min-height: 22px;
  padding: 0;
  line-height: 1;
  box-shadow: none;
}

.btn-chip:hover {
  background: #cfe0f7;
  box-shadow: none;
  transform: none;
}

.call-panel {
  border-top: 1px solid var(--line);
  padding: 12px 16px 16px;
  background:
    linear-gradient(150deg, rgba(9, 19, 42, 0.96), rgba(12, 31, 64, 0.92)),
    radial-gradient(circle at 0% 0%, rgba(19, 88, 215, 0.46), transparent 34%);
  color: #ffffff;
  cursor: pointer;
}

.call-title {
  margin-bottom: 10px;
  color: rgba(224, 234, 255, 0.9);
  font-weight: 700;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.video-tile {
  min-height: 170px;
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(126, 170, 255, 0.36);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  background: #081020;
}

.video-tile video {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  display: block;
}

.video-tile.audio-only {
  background:
    radial-gradient(circle at 12% 10%, rgba(76, 161, 255, 0.44), transparent 45%),
    radial-gradient(circle at 88% 12%, rgba(0, 207, 189, 0.36), transparent 40%),
    #081020;
}

.video-tile.audio-only video {
  opacity: 0;
  pointer-events: none;
}

.video-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  border-radius: 7px;
  padding: 4px 8px;
  font-size: 12px;
  color: #f6f8ff;
  background: rgba(3, 10, 24, 0.58);
  border: 1px solid rgba(166, 196, 255, 0.25);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(8, 22, 47, 0.42);
  backdrop-filter: blur(4px);
  z-index: 80;
}

.modal-card {
  width: min(560px, 100%);
  max-height: 88vh;
  overflow: auto;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.95)),
    radial-gradient(circle at 100% 0%, rgba(19, 88, 215, 0.08), transparent 40%);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 16px;
  box-shadow: var(--shadow-hard);
}

.modal-card h3 {
  margin: 0 0 12px;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
}

.participants-title {
  margin: 8px 0;
  font-size: 14px;
  color: var(--text-soft);
}

.member-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px;
  max-height: 280px;
  overflow: auto;
  display: grid;
  gap: 6px;
  background: rgba(247, 251, 255, 0.9);
}

.member-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.mobile-only {
  display: none;
}

.sidebar-backdrop {
  display: none;
}

.toast-host {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: min(368px, calc(100vw - 24px));
  display: grid;
  gap: 10px;
  pointer-events: none;
  z-index: 90;
}

.toast {
  pointer-events: auto;
  border: 1px solid rgba(20, 58, 126, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px rgba(9, 28, 69, 0.2);
  padding: 10px 12px;
  display: grid;
  gap: 7px;
  animation: toast-in 0.2s ease;
}

.toast-clickable {
  cursor: pointer;
}

.toast-clickable:hover {
  box-shadow: 0 16px 32px rgba(9, 28, 69, 0.24);
}

.toast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.toast-title {
  font-weight: 800;
  font-size: 14px;
}

.toast-close {
  border: none;
  border-radius: 999px;
  min-width: 22px;
  min-height: 22px;
  padding: 0;
  line-height: 1;
  color: #0d3c88;
  background: rgba(13, 60, 136, 0.1);
  box-shadow: none;
  transform: none;
}

.toast-close:hover {
  background: rgba(13, 60, 136, 0.2);
  box-shadow: none;
  transform: none;
}

.toast-body {
  color: var(--text-soft);
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-word;
}

.toast-kind-message {
  border-color: rgba(19, 88, 215, 0.36);
}

.toast-kind-call {
  border-color: rgba(12, 165, 155, 0.42);
}

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

@keyframes toast-in {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  #app-screen {
    grid-template-columns: 1fr;
    min-height: 100dvh;
  }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(90vw, 365px);
    min-height: 100dvh;
    max-height: 100dvh;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    z-index: 30;
    box-shadow: 20px 0 42px rgba(8, 24, 58, 0.34);
  }

  #app-screen.sidebar-open .sidebar {
    transform: translateX(0);
  }

  #app-screen.sidebar-open .sidebar-backdrop {
    display: block;
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(6, 15, 33, 0.44);
    backdrop-filter: blur(2px);
  }

  .mobile-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .chat-panel {
    min-height: 100dvh;
  }

  .message {
    max-width: 95%;
  }

  .composer {
    align-items: stretch;
    flex-direction: column;
  }

  .composer-actions {
    justify-content: flex-end;
  }

  #attachment-name {
    max-width: 220px;
  }

  .toast-host {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: min(368px, calc(100vw - 14px));
  }
}

@media (max-width: 680px) {
  .auth-card {
    margin: 24px auto;
    border-radius: 18px;
    padding: 18px;
  }

  .brand {
    font-size: 33px;
  }

  .chat-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }

  .call-actions {
    justify-content: flex-start;
  }

  .call-actions button {
    flex: 1 1 30%;
    min-width: 0;
  }

  .messages {
    padding: 12px;
    gap: 8px;
  }

  .message {
    max-width: 100%;
    border-radius: 14px;
  }

  .message::after {
    display: none;
  }

  .composer {
    position: sticky;
    bottom: 0;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }

  .composer-actions {
    width: 100%;
    justify-content: stretch;
  }

  .composer-actions button {
    flex: 1 1 50%;
  }

  .call-panel {
    padding: 10px 12px 12px;
  }

  .video-grid {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }

  .video-tile,
  .video-tile video {
    min-height: 122px;
  }

  .modal {
    padding: 10px;
  }
}
