:root {
  --bg: #f4f5f8;
  --surface: #ffffff;
  --text: #1c2130;
  --muted: #687085;
  --line: #e2e5ec;
  --primary: #3156f5;
  --primary-ink: #ffffff;
  --primary-soft: #edf1ff;
  --ok: #1d8048;
  --warn: #9a5b00;
  --bad: #c22d2d;
  --warn-soft: #fff6e2;
  --radius: 12px;
  --stage: #15171c;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12141a;
    --surface: #1b1e26;
    --text: #e6e8ee;
    --muted: #979eb0;
    --line: #2b303b;
    --primary: #6a83ff;
    --primary-soft: #232a46;
    --ok: #4cc583;
    --warn: #f0b04a;
    --bad: #ff7070;
    --warn-soft: #2e2716;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 26px; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 18px; margin: 4px 0; }
.muted { color: var(--muted); margin: 0 0 4px; }
.desc { margin: 8px 0 0; }

/* --- Шапка --- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; color: var(--text); }
.brand span { color: var(--primary); }
.brand:hover { text-decoration: none; }
.me { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.me form { margin: 0; }
.tag { font-style: normal; font-size: 12px; padding: 1px 6px; border-radius: 6px; background: var(--primary-soft); color: var(--primary); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 24px; }

/* --- Общие элементы --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--muted); }
.btn.big { padding: 12px 22px; font-size: 16px; }
.btn:disabled { opacity: .6; cursor: progress; }
.link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; cursor: pointer; }
.link:hover { color: var(--text); }

.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}
.avatar.sm { width: 28px; height: 28px; font-size: 12px; }
.avatar.lg { width: 64px; height: 64px; font-size: 22px; }
.avatar.xl { width: 84px; height: 84px; font-size: 28px; }

.notice {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--warn-soft);
  border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
}
.back { display: inline-block; margin-bottom: 12px; color: var(--muted); }
.empty { color: var(--muted); }
.error { color: var(--bad); }
.error-box { padding: 10px 14px; border-radius: 9px; background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }

/* --- Вход --- */

.hero { margin: 24px 0 20px; }
.user-pick { display: grid; gap: 10px; max-width: 520px; }
.code-field { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.guest { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.guest .btn { justify-self: start; }
.code-field input { padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; }
.user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.user-card:hover { border-color: var(--primary); }
.user-card small { display: block; color: var(--muted); }

/* --- Список вебинаров --- */

.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card {
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.card h2 a { color: var(--text); }
.card-date { font-size: 13px; font-weight: 600; color: var(--primary); }
.card-date::first-letter { text-transform: uppercase; }
.card-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions form { margin: 0; }

/* --- Форма --- */

.form {
  display: grid;
  gap: 16px;
  max-width: 680px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form small { font-weight: 400; color: var(--muted); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-weight: 400;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--primary); outline-offset: -1px; }
.form button { justify-self: start; }
.parse-preview { display: grid; gap: 4px; font-size: 14px; margin-top: -8px; }
.parse-preview:empty { display: none; }
.parse-preview .ok { color: var(--ok); }
.parse-preview .warn { color: var(--warn); }
.parse-preview .bad { color: var(--bad); }
.access { margin: 0; font-size: 14px; color: var(--muted); }

/* --- Комната студента --- */

.wrap.wide { max-width: 1320px; }
.room-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.room-head h1 { margin-bottom: 2px; }
.room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  margin-top: 18px;
}
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--stage);
  overflow: hidden;
}
.player video { display: block; width: 100%; height: 100%; background: #000; }
.overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: #e9ebf1;
  background: var(--stage);
}
.overlay[hidden] { display: none; }
.overlay b { font-size: 20px; }
.overlay p { margin: 0 0 8px; max-width: 420px; color: #a3a9b8; }
.live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 3px 9px;
  border-radius: 6px;
  background: #e0353b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.live-badge[hidden] { display: none; }
.live-pill { margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: #e0353b; color: #fff; font-size: 11px; }

/* Свои кнопки плеера (звук, на весь экран) — в правом верхнем углу, чтобы не спорить с баннером внизу. */
.player-controls { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; gap: 8px; }
.pc-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
}
.pc-btn:hover { background: rgba(0, 0, 0, 0.78); }
.pc-btn svg { width: 22px; height: 22px; }

/* На весь экран разворачивается плеер вместе с баннером: видео на всю площадь, баннер — поверх его низа. */
.room-main:fullscreen { display: block; width: 100vw; height: 100vh; background: #000; }
.room-main:fullscreen .player { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.room-main:fullscreen .player video { object-fit: contain; }
.room-main:fullscreen .offer {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.room-main:fullscreen .offer-inner { padding-right: 52px; }
.room-main:fullscreen .offer-close { display: grid; }
.room-main:fullscreen.offer-dismissed .offer { display: none; }
.room-main:fullscreen.offer-dismissed .offer-reopen {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  color: #fff;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.offer-reopen-time { font-variant-numeric: tabular-nums; opacity: 0.9; }

/* --- Продающий баннер (у студента под видео и в предпросмотре у спикера) --- */

.room-main { position: relative; display: grid; gap: 12px; align-content: start; min-width: 0; }
/* Баннер не должен прятаться под краем окна: если не помещается — прилипает к низу экрана поверх видео. */
.room-main .offer { position: sticky; bottom: 12px; z-index: 5; }

.offer {
  --offer-bg: linear-gradient(135deg, #5b21b6 0%, #9333ea 48%, #db2777 100%);
  --offer-ink: #fff;
  --offer-muted: rgba(255, 255, 255, 0.84);
  --offer-chip: rgba(255, 255, 255, 0.18);
  --cd-bg: rgba(255, 255, 255, 0.14);
  --cd-line: rgba(255, 255, 255, 0.26);
  --cta-bg: #fff;
  --cta-ink: #6d28d9;
  position: relative;
  container-type: inline-size; /* раскладка зависит от ширины баннера, а не экрана */
  border-radius: 18px;
  background: var(--offer-bg);
  color: var(--offer-ink);
  box-shadow: 0 18px 40px -12px rgba(17, 24, 39, 0.45);
  overflow: hidden;
  isolation: isolate;
  animation: offer-in 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* Мягкий блик в углу — чтобы градиент не выглядел плоской заливкой. */
.offer::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -10%;
  z-index: -1;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}

/* Широкий баннер: [картинка] [текст и цена] [колонка действия: таймер над кнопкой]. */
.offer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; padding: 18px 22px; }
.offer-inner.has-image { grid-template-columns: 150px minmax(0, 1fr) auto; }
.offer-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }
.offer-body { display: grid; gap: 6px; min-width: 0; }
.offer-badge {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--offer-chip);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.offer-title { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.offer-text { margin: 0; color: var(--offer-muted); font-size: 15px; overflow-wrap: anywhere; }
.offer-prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; }
.offer-old { color: var(--offer-muted); font-size: 16px; }
.offer-price { font-size: 28px; font-weight: 800; line-height: 1.1; }

.offer-action { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 230px; }
.offer-countdown { display: flex; align-items: center; justify-content: center; gap: 6px; }
.cd-label { margin-right: 4px; font-size: 12px; line-height: 1.2; letter-spacing: 0.04em; text-transform: uppercase; color: var(--offer-muted); }
.cd-box {
  display: grid;
  justify-items: center;
  min-width: 50px;
  padding: 6px 8px 5px;
  border: 1px solid var(--cd-line);
  border-radius: 10px;
  background: var(--cd-bg);
  line-height: 1;
}
.cd-box b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cd-box small { margin-top: 3px; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--offer-muted); }
.cd-sep { padding-bottom: 12px; font-size: 20px; font-weight: 800; opacity: 0.6; }
.offer-cta {
  display: block;
  padding: 15px 24px;
  border-radius: 12px;
  background: var(--cta-bg);
  color: var(--cta-ink);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.35);
  animation: cta-pulse 2.4s ease-in-out infinite;
}
.offer-cta:hover { text-decoration: none; filter: brightness(1.06); }

/* Средняя ширина: картинка меньше, таймер и кнопка — строкой под текстом. */
@container (max-width: 720px) {
  .offer-inner { grid-template-columns: minmax(0, 1fr); }
  .offer-inner.has-image { grid-template-columns: 96px minmax(0, 1fr); }
  .offer-inner.has-image .offer-action { grid-column: 1 / -1; }
  .offer-action { flex-direction: row; align-items: center; min-width: 0; }
  .offer-countdown { flex: none; }
  .offer-cta { flex: 1; }
}
/* Узкий баннер (телефон): без картинки, всё в одну колонку. */
@container (max-width: 480px) {
  .offer-inner, .offer-inner.has-image { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; }
  .offer-image { display: none; }
  .offer-title { font-size: 19px; }
  .offer-text { font-size: 14px; }
  .offer-price { font-size: 24px; }
  .offer-action { flex-direction: column; align-items: stretch; }
}

.offer.theme-ocean { --offer-bg: linear-gradient(135deg, #0c4a6e 0%, #0284c7 52%, #22d3ee 100%); --cta-ink: #0369a1; }
.offer.theme-sunset { --offer-bg: linear-gradient(135deg, #9a3412 0%, #ea580c 48%, #f43f5e 100%); --cta-ink: #c2410c; }
.offer.theme-dark {
  --offer-bg: radial-gradient(120% 160% at 0% 0%, #1e293b 0%, #0b1120 62%);
  --offer-chip: rgba(34, 211, 238, 0.16);
  --cta-bg: linear-gradient(135deg, #22d3ee, #a78bfa);
  --cta-ink: #0b1120;
}
.offer.theme-light {
  --offer-bg: #fff;
  --offer-ink: #111827;
  --offer-muted: #4b5563;
  --offer-chip: #eef1ff;
  --cd-bg: #fef2f2;
  --cd-line: #fecaca;
  --cta-bg: #3156f5;
  --cta-ink: #fff;
  border: 1px solid #e5e7eb;
}
.offer.theme-light::before { display: none; }
.offer.theme-light .offer-badge { color: #3156f5; }
.offer.theme-light .cd-box b { color: #b91c1c; }

/* Крестик и кнопка «вернуть предложение» — только на весь экран, где баннер закрывает видео. */
.offer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: none;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  cursor: pointer;
}
.offer-close:hover { background: rgba(0, 0, 0, 0.5); }
.offer-close svg { width: 16px; height: 16px; }
.offer-reopen { display: none; }

@keyframes offer-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
@keyframes cta-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .offer, .offer-cta { animation: none; } }

/* --- Форма баннера в панели спикера --- */

.form.compact { max-width: none; margin-top: 10px; padding: 0; border: 0; background: none; gap: 12px; }
.banner-status { margin: 0; font-size: 14px; color: var(--muted); }
.banner-status.on { color: var(--ok); font-weight: 600; }
.banner-status.error { color: var(--bad); }
.offer-preview { display: grid; gap: 6px; margin-top: 4px; }
.form .theme-pick { display: flex; flex-wrap: wrap; gap: 14px; font-weight: 400; }
.form .theme-pick label { display: flex; align-items: center; gap: 6px; font-weight: 400; cursor: pointer; }
.form .theme-pick input {
  width: 26px;
  height: 26px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  appearance: none;
  background: var(--swatch);
  cursor: pointer;
}
.form .theme-pick input:checked { outline: 2px solid var(--primary); outline-offset: 2px; }
.swatch-violet { --swatch: linear-gradient(135deg, #5b21b6, #db2777); }
.swatch-ocean { --swatch: linear-gradient(135deg, #0c4a6e, #22d3ee); }
.swatch-sunset { --swatch: linear-gradient(135deg, #9a3412, #f43f5e); }
.swatch-dark { --swatch: linear-gradient(135deg, #1e293b, #0b1120); }
.swatch-light { --swatch: #fff; }
.swatch-custom { --swatch: conic-gradient(#f43f5e, #f59e0b, #22c55e, #06b6d4, #6366f1, #d946ef, #f43f5e); }
.form .custom-colors { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.form .custom-colors label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.form .custom-colors input { width: 44px; height: 32px; padding: 2px; cursor: pointer; }
.image-pick { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.form .image-pick input[type="file"] { width: auto; flex: 1 1 240px; }

/* --- Чат --- */

.chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
/* Высоту чата задаёт плеер: contain:size не даёт сообщениям растягивать строку сетки. */
.room .chat { contain: size; min-height: 420px; }
.chat-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 700; }
.chat-head small { font-weight: 400; color: var(--muted); }
.messages { flex: 1; min-height: 0; margin: 0; padding: 10px 14px; overflow-y: auto; list-style: none; }
.messages:empty::before { content: "Сообщений пока нет"; color: var(--muted); font-size: 14px; }
.messages.only-questions .msg:not(.question) { display: none; }
.msg { margin-bottom: 10px; padding: 6px 8px; border-radius: 8px; }
.msg-head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.msg-head span { color: var(--muted); white-space: nowrap; }
.msg p { margin: 2px 0 0; overflow-wrap: anywhere; }
.msg.question { background: var(--warn-soft); }
.msg.question.answered { background: transparent; opacity: .7; }
.msg.from-speaker b { color: var(--primary); }
.msg .link { margin-top: 4px; font-size: 13px; color: var(--primary); }
.chat-form { display: grid; gap: 6px; padding: 10px; border-top: 1px solid var(--line); }
.chat-row { display: flex; gap: 6px; }
.chat-row input {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.q-toggle, .q-filter { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 400; color: var(--muted); }
.q-filter { margin-left: auto; }

/* --- Копирование значений --- */

.copy-field { display: grid; gap: 4px; margin-top: 10px; }
.copy-label { font-size: 13px; color: var(--muted); }
.copy-row { display: flex; gap: 8px; align-items: center; }
.copy-row code {
  flex: 1;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-size: 13px;
  overflow-x: auto;
  white-space: nowrap;
}
.copy-hint { font-size: 13px; color: var(--warn); }
.notice .copy-field { margin-top: 8px; }

/* --- Панель спикера --- */

.status { padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.status.on { background: #e0353b; color: #fff; }
.status.off { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.speaker-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; margin-top: 18px; }
.speaker-side .card { margin-bottom: 16px; }
.steps { margin: 8px 0 0; padding-left: 20px; }
.steps li { margin-bottom: 4px; }
.small { font-size: 13px; margin-top: 12px; }
.viewers { margin: 8px 0 0; padding: 0; list-style: none; columns: 2; }
.viewers li { padding: 2px 0; }
.viewers:empty::before { content: "Пока никого"; color: var(--muted); }
.speaker-chat { height: calc(100vh - 190px); min-height: 520px; }

/* --- Окно вопросов (картинка в картинке или маленькое окно) --- */

body.qw { display: flex; flex-direction: column; height: 100vh; margin: 0; }
.qw-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.qw-count { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #e0353b; color: #fff; font-size: 13px; text-align: center; }
.qw-count:empty { display: none; }
.qw-sound { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.qw-list { flex: 1; margin: 0; padding: 10px 12px; overflow-y: auto; list-style: none; }
.qw-list:empty::before { content: "Новых вопросов нет"; color: var(--muted); }
.qw-item { margin-bottom: 10px; padding: 10px; border-radius: 10px; background: var(--warn-soft); }
.qw-head { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.qw-head span { color: var(--muted); }
.qw-item p { margin: 4px 0 8px; font-size: 16px; overflow-wrap: anywhere; }
.qw-item .btn { padding: 4px 10px; font-size: 13px; }

/* --- Узкие экраны --- */

@media (max-width: 960px) {
  .wrap { padding: 16px; }
  .topbar { padding: 10px 16px; }
  .me-name { display: none; }
  .room, .speaker-grid { grid-template-columns: minmax(0, 1fr); }
  .room .chat { height: 460px; }
  .overlay { padding-top: 48px; } /* чтобы плашка «В эфире» не наезжала на текст в маленьком плеере */
  .speaker-chat { height: 520px; }
  .room-head { flex-direction: column; }
  .form .row { grid-template-columns: 1fr; }
}
