.lobby-details { min-width: 0; }
.tv-connect-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.tv-connect-option .soft-btn { flex-shrink: 0; }
.tv-code-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.tv-code-line .text-btn { min-height: 36px; }
#watch-code { text-transform: uppercase; letter-spacing: .07em; }
.tv-lobby {
  width: min(880px, calc(100vw - 32px));
  max-height: 92vh;
}
.tv-lobby .dialog-body { padding: clamp(22px, 4vw, 42px); }
.tv-lobby .dialog-head h2 { font-size: clamp(38px, 4.3vw, 62px); }
.tv-lobby .lobby-layout {
  display: grid;
  grid-template-columns: minmax(195px, .9fr) minmax(255px, 1.1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
}
.tv-lobby .room-code { font-size: clamp(32px, 4vw, 54px); }
.tv-invite {
  display: grid;
  gap: 5px;
  justify-items: center;
  color: #e7ecd9;
  text-align: center;
}
.tv-invite[hidden] { display: none; }
.tv-qr { width: 100%; background: white; border-radius: 10px; overflow: hidden; }
.tv-qr svg { display: block; width: 100%; height: auto; }
.tv-invite strong { margin-top: 8px; font: 750 28px/1.1 var(--display); }
.tv-invite span { font-size: 15px; color: #c1c8b4; }
.tv-lobby .form-copy, .tv-lobby .room-list { font-size: 16px; }
.tv-lobby #copy-status:empty { display: none; }
@media (max-width: 590px) {
  .tv-lobby .lobby-layout { grid-template-columns: 1fr; gap: 16px; }
  .tv-qr { width: min(48vw, 195px); }
  .setup-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .setup-tabs button { min-height: 40px; }
}
