:root {
  --bg-dark: #0d1117;
  --bg-darker: #080c12;
  --card-bg: rgba(13, 21, 38, 0.95);
  --accent-primary: #3b82f6;
  --accent-secondary: #2563eb;
  --accent-glow: #3b82f6;
  --text-main: #e2e8f0;
  --text-dim: #6b8db5;
  --border-thin: rgba(59, 130, 246, 0.12);
  --radius: 12px;
  --green: #22c55e;
  --gold: #f59e0b;
  --red: #ef4444;
  --mono: 'Share Tech Mono', monospace;
  --display: 'Rajdhani', sans-serif;
  font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  color: var(--text-main);
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse at top, #0d1f3c 0%, #0d1117 50%, #080c12 100%);
  min-height: 100vh;
  line-height: 1.6;
  font-weight: 500;
}
.hidden { display: none !important; }
button { cursor: pointer; font: inherit; }
input, select, textarea {
  background: rgba(5, 8, 16, 0.8);
  border: 1px solid var(--border-thin);
  color: white;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
  font-size: 15px;
  width: 100%;
}
input:focus { border-color: var(--accent-primary); background: rgba(5, 8, 16, 0.95); }
input::placeholder { color: #4a5a72; }

/* ---------- Header ---------- */
.topbar {
  background: rgba(8, 12, 18, 0.97);
  backdrop-filter: blur(12px);
  padding: 0 40px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: 0; z-index: 1000;
}
.logo-otg { display: flex; align-items: center; }
.logo-text {
  font-family: 'Russo One', sans-serif;
  font-size: 1.5rem; letter-spacing: 2px; line-height: 1;
}
.logo-text .la { color: var(--accent-primary); }
.logo-text .lb { color: #ffffff; }
.header-center {
  display: flex; gap: 2px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 4px;
}
.nav-item {
  color: rgba(255,255,255,0.45); text-decoration: none;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  transition: all 0.2s ease; padding: 7px 13px; border-radius: 7px; border: 1px solid transparent;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-item.active { color: #fff; background: var(--accent-primary); box-shadow: 0 2px 12px rgba(59,130,246,0.5); }
.home-online {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.03);
  font-size: 13px; font-weight: 800; color: #fff;
}
.home-online i { font-size: 13px; color: rgba(255,255,255,0.4); }
.hstat-dot { width: 7px; height: 7px; border-radius: 50%; }
.hstat-dot.online { background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse-dot 1.8s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.7); } }

.home-logo {
  font-family: 'Russo One', sans-serif;
  line-height: 1; user-select: none;
}
.home-logo .la { color: var(--accent-primary); }
.home-logo .lb { color: #ffffff; }
.home-slogan {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; letter-spacing: 5px;
  color: rgba(255,255,255,0.35); text-transform: uppercase;
}
.home-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; letter-spacing: 3px;
  color: rgba(255,255,255,0.6); text-transform: uppercase;
}

/* ---------- Landing (cabe em 1 tela, sem rolagem) ---------- */
.landing { height: 100vh; display: flex; flex-direction: column; overflow: hidden; position: relative; }

.landing-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.landing-glow {
  position: absolute; z-index: 0; border-radius: 50%; filter: blur(80px); pointer-events: none;
  animation: glowFloat 10s ease-in-out infinite alternate;
}
.landing-glow.glow-1 { width: 480px; height: 480px; background: rgba(59,130,246,0.16); top: -120px; left: -80px; }
.landing-glow.glow-2 { width: 420px; height: 420px; background: rgba(37,99,235,0.14); bottom: -140px; right: -60px; animation-delay: 2s; }
@keyframes glowFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -20px) scale(1.08); }
}

.landing-main {
  position: relative; z-index: 2;
  flex: 1; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 70px; padding: 0 50px;
  max-width: 1300px; width: 100%; margin: 0 auto;
}
.landing-hero-col { flex: 1; max-width: 560px; text-align: left; }
.live-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--green);
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.25);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; text-transform: uppercase;
}
.landing-hero-col .home-logo {
  font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: 4px; margin-bottom: 10px; text-align: left;
  text-shadow: 0 0 40px rgba(59,130,246,0.35);
}
.landing-hero-col .home-slogan { text-align: left; margin-bottom: 14px; font-size: clamp(0.7rem, 1.4vw, 0.85rem); }
.landing-hero-col .home-tagline { text-align: left; font-size: clamp(0.8rem, 1.6vw, 1rem); }
.landing-hero-col .home-tagline-wrap { margin-bottom: 0; }

.join-card {
  position: relative; z-index: 2; overflow: hidden;
  width: 100%; max-width: 400px; flex-shrink: 0;
  background: var(--card-bg); border: 1px solid var(--border-thin); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,130,246,0.05);
}
.join-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), #8ab4ff, var(--accent-primary));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: 200% 0; } }

.join-tabs {
  display: flex; gap: 4px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 4px; margin-bottom: 18px;
}
.join-tab {
  flex: 1; background: transparent; border: none; color: rgba(255,255,255,0.5);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 12px;
  letter-spacing: 1px; text-transform: uppercase; padding: 9px 10px; border-radius: 7px;
  transition: all 0.2s;
}
.join-tab:hover { color: #fff; }
.join-tab.active { background: var(--accent-primary); color: #fff; box-shadow: 0 4px 14px rgba(59,130,246,0.4); }
.join-panel-body { display: flex; flex-direction: column; }
.form-group { margin-bottom: 10px; }

.input-icon-wrap { position: relative; }
.input-icon-wrap .input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 13px; opacity: 0.6; pointer-events: none;
}
.input-icon-wrap input { padding-left: 34px; }

.rec-submit-btn {
  position: relative; overflow: hidden;
  box-shadow: 0 6px 20px rgba(59,130,246,0.35);
}
.rec-submit-btn:hover { box-shadow: 0 8px 26px rgba(59,130,246,0.5); }

.landing-foot-strip {
  position: relative; z-index: 2;
  flex-shrink: 0; text-align: center; padding: 10px 0;
  font-size: 10px; color: rgba(255,255,255,0.2); letter-spacing: 0.5px;
}

@media (max-height: 720px) {
  .landing-main { gap: 40px; }
  .landing-hero-col .home-logo { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 4px; }
  .landing-hero-col .home-slogan { margin-bottom: 8px; }
  .join-card { padding: 16px 20px; }
  .form-group { margin-bottom: 6px; }
}

@media (max-width: 860px) {
  .landing { height: auto; overflow: auto; min-height: 100vh; }
  .landing-main { flex-direction: column; padding: 30px 24px; gap: 30px; }
  .landing-hero-col { text-align: center; max-width: 100%; }
  .landing-hero-col .home-logo, .landing-hero-col .home-slogan, .landing-hero-col .home-tagline { text-align: center; }
  .live-eyebrow { margin-left: auto; margin-right: auto; }
}
.form-group label {
  font-size: 11px; font-weight: 800; color: var(--accent-primary);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.check {
  display: flex; align-items: center; gap: 8px; color: var(--text-dim);
  font-size: 13px; font-weight: 600; margin-bottom: 14px;
}
.check input { width: auto; }

.rec-submit-btn {
  font-family: 'Barlow Condensed', sans-serif;
  padding: 13px 28px; font-size: 14px; font-weight: 800; letter-spacing: 1.5px;
  background: var(--accent-primary); color: #fff; border: none; border-radius: 8px;
  transition: all 0.2s; text-transform: uppercase;
}
.rec-submit-btn:hover { background: var(--accent-secondary); transform: translateY(-1px); }
.rec-submit-btn.wide { width: 100%; }
.rec-submit-btn.outline {
  background: transparent; border: 1px solid var(--accent-primary); color: var(--accent-primary);
}
.rec-submit-btn.outline:hover { background: rgba(59,130,246,0.1); }

.join-divider {
  display: flex; align-items: center; gap: 10px; margin: 18px 0;
  color: var(--text-dim); font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
}
.join-divider::before, .join-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-thin); }
.error { color: var(--red); margin-top: 14px; font-weight: 600; font-size: 13px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-darker); border-top: 1px solid rgba(255,255,255,0.05); padding: 40px 40px 24px; }
.footer-logo { font-family: 'Russo One', sans-serif; font-size: 1.4rem; letter-spacing: 2px; margin-bottom: 4px; }
.footer-logo .la { color: var(--accent-primary); }
.footer-logo .lb { color: #fff; }
.footer-tagline {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 3px; color: rgba(255,255,255,0.2); text-transform: uppercase;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 24px; padding-top: 20px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.2); letter-spacing: 0.5px; }

@media (max-width: 700px) {
  .topbar { padding: 0 16px; }
  .home-online span:not(.hstat-dot) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .join-card { padding: 26px 20px; }
}

/* ---------- Sala ---------- */
.room, .toasts {
  --r-bg: #0b0f17;
  --r-panel: #111827;
  --r-raised: #172033;
  --r-line: #1e293b;
  --r-text: #e2e8f0;
  --r-dim: #6b8db5;
  --r-accent: #3b82f6;
  --r-accent-text: #60a5fa;
  --r-accent-ink: #ffffff;
  --r-ok: #22c55e;
  --r-danger: #f87171;
  --r-tile: #0d1424;
}
.room {
  height: 100vh; height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--r-bg); color: var(--r-text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400; line-height: 1.4;
}
:where(.room button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.room button:focus-visible, .room input:focus-visible { outline: 2px solid var(--r-accent); outline-offset: 2px; }
.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Topo */
.room-header {
  height: 56px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 20px; border-bottom: 1px solid var(--r-line);
}
.rh-left, .rh-right { display: flex; align-items: center; gap: 8px; min-width: 0; }
.room-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: .5px; margin-right: 4px; }
.code-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(59,130,246,.35); background: rgba(59,130,246,.1); color: var(--r-accent-text);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 1.5px;
}
.code-chip:hover { background: rgba(59,130,246,.18); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--r-line); background: var(--r-panel); color: var(--r-text);
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
button.pill:hover { background: var(--r-raised); border-color: #2b3a55; }
.pill.icon-only { width: 34px; padding: 0; justify-content: center; position: relative; }
.pill.on { color: var(--r-accent-text); border-color: rgba(59,130,246,.4); }
.pill-muted { color: var(--r-dim); }
.pill-danger { color: var(--r-danger); border-color: rgba(248,113,113,.4); }
button.pill-danger:hover { background: rgba(248,113,113,.1); border-color: var(--r-danger); }
.pill-ok { color: var(--r-ok); border-color: rgba(34,197,94,.4); background: rgba(34,197,94,.08); }
.pill-ok.off { color: var(--r-danger); border-color: rgba(248,113,113,.4); background: rgba(248,113,113,.08); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
#chatToggleBtn.unread::after { content: ''; position: absolute; top: 5px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--r-accent); }

/* Estrutura */
.room-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 296px minmax(0, 1fr) 320px; }
.room.chat-closed .room-main { grid-template-columns: 296px minmax(0, 1fr); }
.room.chat-closed .chat { display: none; }

/* Lateral */
.side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--r-line); }
.side-scroll { flex: 1; overflow-y: auto; padding: 20px 16px; }
.code-card {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px; margin-bottom: 22px;
  border: 1px solid var(--r-line); border-radius: 12px; background: var(--r-panel);
}
.code-label { display: block; font-size: 12px; color: var(--r-dim); margin-bottom: 4px; }
.code-big { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: 2px; color: var(--r-accent-text); line-height: 1; }
.code-actions { display: flex; gap: 2px; }
.side-title { font-size: 12px; font-weight: 600; color: var(--r-dim); margin: 0 0 8px 6px; }
.side-title span { color: var(--r-text); margin-left: 4px; }
.people-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.person { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; }
.person:hover { background: var(--r-panel); }
.person-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-name .you { color: var(--r-dim); font-weight: 400; }
.badges { display: flex; align-items: center; gap: 6px; color: var(--r-accent-text); }
.badges .ic { width: 14px; height: 14px; }
.live-tag { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--r-ok); color: #052e12; }
.kick-btn { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: var(--r-dim); opacity: 0; }
.person:hover .kick-btn, .kick-btn:focus-visible { opacity: 1; }
.kick-btn:hover { color: var(--r-danger); background: rgba(248,113,113,.1); }
@media (hover: none) { .kick-btn { opacity: 1; } }

.avatar {
  display: grid; place-items: center; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: #172554; color: var(--r-accent-text); font-size: 11px; font-weight: 700;
}
.avatar-xl {
  width: clamp(110px, 24vmin, 220px); height: clamp(110px, 24vmin, 220px);
  background: #1e293b; color: #fff; font-size: clamp(32px, 6vmin, 54px);
}

.side-bottom { padding: 12px; border-top: 1px solid var(--r-line); display: flex; flex-direction: column; gap: 8px; }
.controls { display: flex; justify-content: center; gap: 10px; padding: 4px 0 6px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--r-raised); color: var(--r-text); }
.icon-btn:hover { background: #1f2b42; }
.icon-btn.active { background: var(--r-accent); color: var(--r-accent-ink); }
.icon-btn.sm { width: 30px; height: 30px; border-radius: 8px; background: transparent; color: var(--r-dim); }
.icon-btn.sm:hover { background: var(--r-raised); color: var(--r-text); }
.me-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--r-panel); font-size: 14px; font-weight: 600; }
.me-card .avatar { background: #1e293b; color: #fff; }
.me-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leave-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 14px; border-radius: 10px; background: var(--r-panel); }
.leave-status { display: flex; align-items: center; gap: 8px; color: var(--r-ok); font-size: 13px; font-weight: 600; }
.leave-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #ef5350; color: #fff; }
.leave-btn:hover { background: #e53935; }

/* Palco */
.stage-wrap { min-width: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; }
.stage-wrap.has-strip .tile { width: min(100%, calc((100dvh - 56px - 48px - 56px) * 16 / 9)); }
.screen-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.screen-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px;
  border-radius: 999px; border: 1px solid var(--r-line); background: var(--r-panel);
  font-size: 13px; font-weight: 600;
}
.screen-chip:hover { background: var(--r-raised); }
.screen-chip.active { border-color: var(--r-accent); background: rgba(59,130,246,.14); color: var(--r-accent-text); }
button.live-tag:hover { filter: brightness(1.15); }
.tile {
  position: relative; overflow: hidden;
  width: min(100%, calc((100dvh - 56px - 48px) * 16 / 9)); aspect-ratio: 16 / 9; max-height: 100%;
  border: 1px solid var(--r-line); border-radius: 14px; background: var(--r-tile);
}
.tile:fullscreen { width: 100%; border: 0; border-radius: 0; }
.tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tile canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; cursor: crosshair; touch-action: none; }
.tile-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 20px; text-align: center; }
.tile-empty:has(#placeholder.hidden) { display: none; }
.placeholder { color: var(--r-dim); font-size: 14px; }
.tile-label { position: absolute; left: 10px; bottom: 10px; z-index: 3; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.72); font-size: 12px; font-weight: 600; }
.board-tools { position: absolute; top: 10px; right: 10px; z-index: 3; }

/* Chat */
.chat { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--r-line); background: var(--r-bg); }
.chat-head { padding: 16px 16px 10px; font-size: 13px; font-weight: 600; color: var(--r-dim); }
.chat-messages { flex: 1; overflow-y: auto; padding: 0 16px 12px; display: flex; flex-direction: column; gap: 8px; }
.chat-messages .msg { font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.chat-messages .msg strong { color: var(--r-accent-text); font-weight: 600; }
.chat-messages .system { color: var(--r-dim); font-size: 12px; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--r-line); }
.room .chat-form input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--r-line); background: var(--r-panel); font-size: 14px; }
.room .chat-form input:focus { border-color: var(--r-accent); }
.chat-form button:hover, .icon-btn.active:hover { background: #2563eb; }
.chat-form button { padding: 0 14px; border-radius: 10px; background: var(--r-accent); color: var(--r-accent-ink); font-weight: 700; font-size: 13px; }

/* Avisos */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: 360px;
  padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(34,197,94,.45);
  background: #0f172a; color: var(--r-text); font: 500 14px system-ui, -apple-system, 'Segoe UI', sans-serif;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  animation: toast-in .2s ease-out; transition: opacity .3s, transform .3s;
}
.toast .ic { color: var(--r-ok); }
.toast.error { border-color: rgba(248,113,113,.45); background: #1f1111; }
.toast.error .ic { color: var(--r-danger); }
.toast.out { opacity: 0; transform: translateY(6px); }
.room:not(.chat-closed):not(.hidden) ~ .toasts { right: 340px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; transition: none; } }

/* Telas menores */
@media (max-width: 1100px) {
  .room .room-main, .room.chat-closed .room-main { grid-template-columns: 260px minmax(0, 1fr); }
  .room:not(.chat-closed):not(.hidden) ~ .toasts { right: 360px; }
  .chat { position: fixed; top: 56px; right: 0; bottom: 0; width: min(340px, 100%); z-index: 20; box-shadow: -12px 0 32px rgba(0,0,0,.5); }
}
@media (max-width: 760px) {
  .room { height: auto; min-height: 100dvh; }
  .room .room-main, .room.chat-closed .room-main { grid-template-columns: 1fr; }
  .room-header { padding: 0 12px; }
  .room-title { display: none; }
  .pill-text { display: none; }
  .pill { padding: 0 10px; }
  .stage-wrap { order: -1; padding: 12px; }
  .tile { width: 100%; }
  .side { border-right: 0; border-top: 1px solid var(--r-line); }
  .toasts, .room:not(.chat-closed):not(.hidden) ~ .toasts { left: 12px; right: 12px; bottom: 12px; align-items: stretch; }
  .toast { min-width: 0; max-width: none; }
}
