:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #eef5ff;
  background: #080d1b;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(ellipse at 50% 8%, #14284b 0, #0c152b 36%, #080d1b 72%); }
button, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; text-decoration: none; }

.topbar {
  height: 86px;
  width: min(1280px, calc(100% - 64px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ffffff12;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-emblem { width: 50px; height: 54px; display: block; flex: none; }
.brand-emblem img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 12px #08bcee4a); }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: .075em; white-space: nowrap; }
.brand-name strong { margin-left: 2px; color: #23a9ff; }

main { width: min(1280px, calc(100% - 64px)); margin: auto; }
.home { position: relative; isolation: isolate; min-height: calc(100vh - 86px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 0 100px; }
.home-glow { z-index: -1; position: absolute; width: 600px; height: 450px; max-width: 100vw; background: radial-gradient(ellipse, #1475d62b, transparent 66%); filter: blur(18px); }
.home-mark { width: 120px; height: 128px; object-fit: contain; margin-bottom: 30px; filter: drop-shadow(0 0 28px #08bcee65); }
.home-kicker { color: #51b7ff; font-size: 11px; font-weight: 800; letter-spacing: .22em; }
.home h1 { margin: 19px 0 12px; font-size: clamp(48px, 6vw, 82px); font-weight: 800; letter-spacing: -.065em; line-height: 1.07; }
.home h1 span { color: #3aaeff; }
.home p { max-width: 460px; margin: 0 0 31px; color: #a2b2ca; line-height: 1.6; font-size: 15px; }
.guest-form { display: flex; flex-direction: column; gap: 10px; width: min(360px, 100%); text-align: left; }
.guest-form label { color: #c9dcf2; font-size: 12px; font-weight: 700; }
.guest-form label span { color: #829ab6; font-weight: 500; }
.guest-form input { width: 100%; min-height: 44px; padding: 10px 13px; border: 1px solid #365777; border-radius: 10px; outline: 0; background: #111f36; color: #f1f8ff; font: inherit; font-size: 13px; }
.guest-form input::placeholder { color: #829ab6; }
.guest-form input:focus { border-color: #4bb9ff; box-shadow: 0 0 0 3px #42b8ff24; }
.guest-form .button { width: 100%; min-height: 46px; margin-top: 8px; }
.home .home-form { margin: 0 auto; }
.creator-account { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 16px; color: #a9c3df; font-size: 12px; }
.creator-account button { padding: 5px 9px; border: 1px solid #365777; border-radius: 8px; background: #112b48; color: #dbeeff; cursor: pointer; }
.moderation-overlay { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 16px; background: #030914c9; backdrop-filter: blur(5px); }
.moderation-dialog { width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 22px; border: 1px solid #41678b; border-radius: 17px; background: #102039; box-shadow: 0 24px 80px #000b; }
.moderation-head, .moderation-account, .moderation-member { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.moderation-head h2 { margin: 0; font-size: 19px; }
.moderation-head button { border: 0; background: transparent; color: #dbeeff; font-size: 27px; line-height: 1; }
.moderation-dialog > p { margin: 10px 0 20px; color: #a9c3df; font-size: 13px; line-height: 1.5; }
.moderation-dialog .guest-form { width: 100%; }
.moderation-account { margin-bottom: 14px; color: #a9c3df; font-size: 12px; }
.moderation-account button { padding: 7px 10px; border: 1px solid #365777; border-radius: 8px; background: #112b48; color: #dbeeff; }
.moderation-members { display: flex; flex-direction: column; gap: 8px; }
.moderation-member { flex-wrap: wrap; padding: 11px 12px; border: 1px solid #365777; border-radius: 10px; background: #142740; }
.moderation-member-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; }
.moderation-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.moderation-actions button { padding: 7px 9px; border: 1px solid #406487; border-radius: 8px; background: #1b3859; color: #e4f2ff; font-size: 11px; }
.moderation-actions .remove { border-color: #8e4250; background: #572b37; color: #ffdbe1; }
.person-status.is-blocked { color: #f0be83; }
.person-status.is-blocked::before { background: #f0be83; }
.connection-route { color: #a9c3df; font-size: 11px; font-weight: 700; white-space: nowrap; }
.connection-route.is-turn { color: #f0be83; }
.person-route { color: #a9c3df; font-size: 10px; white-space: nowrap; }
.person-route.is-turn { color: #f0be83; }
.home .home-discord-note { margin: 22px 0 0; font-size: 12px; }
.auth-gate .guest-join { margin-top: 18px; }

.button { border: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; font-weight: 700; transition: background .18s, transform .18s, border-color .18s; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button-primary { background: #208cff; color: white; box-shadow: 0 12px 30px #147de72c; }
.button-primary:hover:not(:disabled) { background: #49a6ff; }
.home-button { min-width: 198px; padding: 16px 18px; }
.home-button span { margin-left: 14px; font-size: 18px; line-height: 12px; }

.room { padding: 36px 0 32px; }

.stage { width: min(1100px, 100%); aspect-ratio: 16 / 9; min-height: 370px; margin: auto; position: relative; display: grid; place-items: center; background: #050a15; border: 1px solid #294262; border-radius: 20px; box-shadow: 0 25px 90px #0008, inset 0 1px #ffffff12; }
.stage::before { content: ""; pointer-events: none; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: radial-gradient(circle at 50% 45%, #12213a 0, #0c1528 38%, #080f1d 75%); }
.stage video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #02050a; border-radius: inherit; }
.stage-placeholder { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 24px; border-radius: inherit; background: radial-gradient(circle at 50% 44%, #172844 0, #0e192d 44%, #0a1222 88%); }
.stage-mark { width: 88px; height: 94px; object-fit: contain; filter: drop-shadow(0 0 25px #08bcee70); }
.stage-placeholder h1 { margin: 15px 0 6px; font-size: clamp(19px, 2.7vw, 25px); letter-spacing: -.035em; }
.stage-placeholder p { margin: 0; color: #8fa5c2; font-size: 13px; line-height: 1.5; }
.stage-button { min-width: 205px; padding: 15px 19px; margin-top: 25px; font-size: 13px; }
.button-play { font-size: 10px; }
.stage-resolution { position: absolute; z-index: 3; bottom: 16px; left: 16px; padding: 7px 10px; border-radius: 8px; color: #d6e9ff; background: #081225bd; border: 1px solid #a6d6ff36; font-size: 11px; pointer-events: none; }

.settings-wrap { position: relative; z-index: 30; margin-right: auto; }
.settings-trigger { white-space: nowrap; }
.broadcast-settings { position: absolute; left: 0; bottom: calc(100% + 14px); width: min(370px, calc(100vw - 32px)); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 18px; border: 1px solid #41678b; border-radius: 16px; background: #102039; box-shadow: 0 20px 60px #000b; color: #eaf4ff; }
.settings-head { display: flex; align-items: start; gap: 12px; justify-content: space-between; margin-bottom: 18px; }
.settings-head h2 { margin: 0; font-size: 15px; line-height: 1.3; }
.settings-head button { width: 24px; height: 24px; flex: none; padding: 0; border: 0; background: transparent; color: #a8bdd6; font-size: 22px; line-height: 1; }
.settings-head button:hover, .settings-head button:focus-visible { color: white; outline: 2px solid #75c7ff; border-radius: 4px; }
.settings-field { min-width: 0; margin: 0 0 17px; padding: 0; border: 0; }
.settings-field legend, .settings-field p { margin: 0 0 9px; padding: 0; color: #c9d8eb; font-size: 11px; font-weight: 750; }
.settings-mode, .settings-options { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.settings-mode legend { grid-column: 1 / -1; }
.settings-options { width: 100%; }
.settings-mode label, .settings-options label { min-width: 0; cursor: pointer; }
.settings-mode input, .settings-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.settings-mode label span, .settings-options label span { display: grid; place-items: center; min-height: 37px; padding: 7px 5px; border: 1px solid #355270; border-radius: 9px; background: #162943; color: #c5d8ec; font-size: 10px; font-weight: 700; text-align: center; white-space: nowrap; }
.settings-mode input:checked + span, .settings-options input:checked + span { border-color: #48baff; background: #143657; color: #fff; box-shadow: inset 0 0 0 1px #48baff57; }
.settings-mode input:focus-visible + span, .settings-options input:focus-visible + span { outline: 2px solid #8dd2ff; outline-offset: 2px; }
.settings-custom { margin: 0; padding: 0; border: 0; }
.settings-custom:disabled { opacity: .45; }
.settings-live-stats { display: flex; flex-direction: column; gap: 5px; margin: 4px 0 12px; padding: 11px 12px; border: 1px solid #32637c; border-radius: 10px; background: #133145; color: #aee3d5; font-size: 10px; line-height: 1.4; }
.settings-live-stats strong { color: #e1faf1; font-size: 11px; }
.settings-note { margin: 4px 0 14px; color: #97aec8; font-size: 10px; line-height: 1.5; }
.settings-save { width: 100%; min-height: 39px; }

.toolbar { width: min(950px, 100%); min-height: 65px; margin: 17px auto 0; padding: 10px 14px; display: flex; align-items: center; gap: 12px; background: #112038d9; border: 1px solid #2c4a6c; border-radius: 14px; box-shadow: 0 12px 38px #0005; }
.toolbar.idle { width: fit-content; min-height: 42px; padding: 9px 16px; border-radius: 999px; background: #112038b3; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.toolbar-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.quality-live { color: #9eb7d2; border-right: 1px solid #3b5472; padding-right: 14px; margin-right: 4px; font-size: 11px; white-space: nowrap; }
.button:focus-visible { outline: 2px solid #7cc9ff; outline-offset: 2px; }
.button-secondary { min-height: 38px; padding: 10px 15px; color: #d9eaff; background: #152943; border: 1px solid #305275; }
.button-secondary:hover:not(:disabled) { background: #1e3856; }
.button-danger { min-height: 38px; padding: 10px 15px; color: #ffc6cf; background: #5d263536; border: 1px solid #a8445d75; }
.button-danger:hover:not(:disabled) { background: #7c2c414f; }
.button-icon { width: 38px; min-height: 38px; margin-left: auto; color: #bdd5f0; background: #12223a; border: 1px solid #284566; font-size: 20px; }
.toolbar-actions + .button-icon { margin-left: 0; }
.audio-help { position: relative; display: inline-flex; align-items: center; flex: none; }
.audio-help[hidden], .audio-indicator[hidden] { display: none; }
.audio-help-trigger { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #466584; border-radius: 50%; color: #b9d4ee; background: #172940; font-size: 13px; font-weight: 800; cursor: pointer; }
.audio-help-trigger:hover, .audio-help-trigger:focus-visible { color: #fff; border-color: #74c9ff; outline: none; }
.audio-help-text { position: absolute; z-index: 50; right: 0; bottom: calc(100% + 12px); width: min(260px, calc(100vw - 36px)); padding: 12px 14px; border: 1px solid #3e668b; border-radius: 10px; background: #132840; color: #e0eeff; box-shadow: 0 12px 30px #0009; font-size: 11px; line-height: 1.45; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.audio-help:hover .audio-help-text, .audio-help:focus-within .audio-help-text, .audio-help.open .audio-help-text { opacity: 1; visibility: visible; transform: translateY(0); }
.audio-indicator { display: inline-flex; align-items: center; gap: 6px; flex: none; color: #9fe3c6; font-size: 11px; font-weight: 700; white-space: nowrap; }
.audio-indicator::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #49d89d; }
.audio-indicator[data-audio="off"] { color: #d1a778; }
.audio-indicator[data-audio="off"]::before { background: #d49754; }
.toast { position: fixed; z-index: 10; right: 22px; bottom: 22px; max-width: min(400px, calc(100vw - 44px)); padding: 12px 16px; border-radius: 10px; border: 1px solid #376188; background: #173251; color: #f1f8ff; font-size: 12px; box-shadow: 0 12px 34px #0008; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (min-width: 721px) {
  .stage { width: min(1100px, 100%, calc((100dvh - 245px) * 16 / 9)); }
}

@media (max-width: 720px) {
  .topbar, main { width: calc(100% - 32px); }
  .topbar { height: 70px; }
  .brand-emblem { width: 43px; height: 46px; }
  .brand-name { font-size: 13px; }
  .room { padding-top: 22px; }
  .stage { min-height: 350px; border-radius: 14px; }
  .toolbar { align-items: center; flex-wrap: wrap; padding: 12px; }
  .toolbar-actions { width: 100%; order: 2; margin-left: 0; justify-content: flex-end; }
  .button-icon { margin-left: auto; }
}

@media (max-width: 420px) {
  .home-mark { width: 102px; height: 109px; }
  .brand-name { font-size: 12px; }
  .quality-live { margin-right: auto; }
  .stage-placeholder p { max-width: 245px; }
}

/* Sala integrada ao Discord */
.topbar, main { width: min(1720px, calc(100% - 48px)); }
.auth-gate { min-height: calc(100dvh - 86px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.auth-gate img { width: 94px; height: 100px; object-fit: contain; filter: drop-shadow(0 0 24px #08bcee55); }
.auth-gate h1 { margin: 24px 0 8px; font-size: clamp(26px, 4vw, 38px); }
.auth-gate p { max-width: 400px; color: #a8bad0; line-height: 1.55; }
.auth-gate .button { margin-top: 18px; padding: 15px 22px; }
.live-layout { position: relative; padding: 26px 0 48px; }
.people-panel { position: absolute; top: 26px; left: 0; z-index: 2; width: 220px; padding: 14px 10px 11px; background: #101c31e8; border: 1px solid #2c415e; border-radius: 16px; box-shadow: 0 14px 45px #0003; }
.people-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 4px 9px; padding-bottom: 12px; border-bottom: 1px solid #ffffff17; }
.people-panel-top > div { min-width: 0; }
.people-toggle { flex: none; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #36577d; border-radius: 8px; background: #17304b; color: #d7edff; font-size: 20px; line-height: 1; cursor: pointer; }
.people-toggle:hover, .people-toggle:focus-visible { background: #1d5077; outline: 2px solid #75c7ff; outline-offset: 2px; }
.people-panel.is-collapsed { width: 56px; padding: 10px; }
.people-panel.is-collapsed .people-panel-top { justify-content: center; margin: 0; padding: 0; border: 0; }
.people-panel.is-collapsed .people-toggle { width: 34px; height: 34px; font-size: 18px; }
.people-panel h2 { margin: 0 0 3px; overflow: hidden; color: #f0f7ff; font-size: 16px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.people-subtitle { color: #91a9c5; font-size: 11px; font-weight: 600; }
.people-list { display: flex; flex-direction: column; gap: 3px; }
.person { display: flex; align-items: center; gap: 9px; min-height: 55px; padding: 7px 8px; border-radius: 10px; color: #e5f1ff; font-size: 12px; font-weight: 650; }
.person.away { color: #a2b4ca; }
.person.away .avatar { opacity: .58; filter: grayscale(.4); }
.person.actionable { width: 100%; border: 0; background: transparent; text-align: left; font-family: inherit; cursor: pointer; }
.person.actionable:hover, .person.actionable:focus-visible { background: #193657; outline: 1px solid #51adf0; }
.person.actionable.selected { background: #193b60; box-shadow: inset 3px 0 #4fb8ff; }
.person-details { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 4px; }
.person-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-status-line { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-width: 0; }
.person-status { display: inline-flex; align-items: center; gap: 5px; min-width: 0; color: #91a9c5; font-size: 10px; font-weight: 600; white-space: nowrap; }
.person-status::before { content: ''; width: 6px; height: 6px; flex: none; border-radius: 50%; background: #788ca4; }
.person-status.is-live { color: #ff9eaf; }
.person-status.is-live::before { background: #ff627f; box-shadow: 0 0 7px #ff627f88; }
.person-status.is-online::before { background: #55c6ae; }
.person-viewers { flex: none; color: #9fd4ff; font-size: 10px; font-weight: 700; }
.avatar { display: inline-flex; width: 32px; height: 32px; flex: none; border-radius: 50%; object-fit: cover; background: #25486b; }
.avatar-fallback { align-items: center; justify-content: center; color: #d8f0ff; font-size: 13px; font-weight: 800; }
.live-main { width: min(1260px, 100%); min-width: 0; margin: 0 auto; }
@media (min-width: 901px) {
  .live-layout.sidebar-collapsed .live-main { width: min(1540px, 100%); max-width: 1540px; }
}
.stream-grid { display: block; }
.stream-card { min-width: 0; overflow: hidden; background: #0d182b; border: 1px solid #304d6e; border-radius: 17px; box-shadow: 0 16px 48px #0005; }
.stream-card.with-toolbar { border-radius: 17px 17px 0 0; }
.stream-media { position: relative; aspect-ratio: 16 / 9; background: #030712; }
.stream-media video { display: block; width: 100%; height: 100%; object-fit: contain; }
.stream-media:fullscreen { width: 100vw; height: 100dvh; aspect-ratio: auto; background: #000; }
.stream-identity-overlay { position: absolute; z-index: 3; bottom: 16px; left: 16px; display: flex; align-items: center; gap: 9px; max-width: min(80%, 320px); padding: 7px 10px 7px 7px; border: 1px solid #a5c8e53d; border-radius: 10px; background: #081225d9; box-shadow: 0 8px 24px #0007; backdrop-filter: blur(12px); pointer-events: none; transform: translateX(0); opacity: 1; transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .3s ease; }
.stream-identity-overlay .avatar { width: 27px; height: 27px; }
.stream-overlay-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.stream-overlay-live { flex: none; padding: 5px 7px; border: 1px solid #a7465c6e; border-radius: 999px; background: #542330c9; color: #ff9aaa; font-size: 9px; font-weight: 800; letter-spacing: .045em; }
.stream-identity-overlay.is-idle { transform: translateX(calc(-100% - 20px)); opacity: 0; }
.stream-media:fullscreen .stream-identity-overlay { bottom: 24px; left: 24px; }
.fullscreen-button, .pip-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #496d90; border-radius: 9px; color: #f1f8ff; background: #17304b; font-size: 23px; line-height: 1; }
.fullscreen-button:hover, .fullscreen-button:focus-visible, .pip-button:hover:not(:disabled), .pip-button:focus-visible { background: #1d5077; outline: 2px solid #75c7ff; outline-offset: 2px; }
.pip-button[aria-pressed="true"] { border-color: #65bfff; background: #1d5077; }
.pip-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.stream-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; color: #8da7c7; font-size: 12px; text-align: center; pointer-events: none; }
.stream-card-foot { min-height: 58px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 8px 12px; }
.stream-card-foot .button { min-height: 35px; padding: 8px 12px; }
.stream-controls { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.volume-control { display: flex; align-items: center; gap: 6px; padding: 0 7px 0 2px; border: 1px solid #36577d; border-radius: 9px; background: #142640; }
.volume-button { width: 29px; height: 36px; padding: 0; border: 0; background: transparent; color: #d9eaff; font-size: 17px; }
.volume-button:focus-visible { outline: 2px solid #75c7ff; border-radius: 5px; }
.volume-control input { width: 90px; height: 24px; margin: 0; accent-color: #53b9ff; cursor: pointer; }
.empty-stage { width: 100%; max-width: none; min-height: 400px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 0; }
.empty-stage > * { position: relative; z-index: 1; }
.empty-stage h2 { margin: 17px 0 7px; font-size: 21px; }
.empty-stage p { margin: 0; color: #90a7c1; font-size: 12px; }
.live-main .toolbar { width: 100%; margin-top: 17px; justify-content: flex-end; min-height: 64px; flex-wrap: wrap; }
.live-main .toolbar.with-stream { min-height: 58px; margin-top: -1px; border-radius: 0 0 17px 17px; box-shadow: 0 16px 48px #0005; }
.live-main .toolbar.with-stream .stream-controls { margin-left: 0; }
.live-main .toolbar .button { min-height: 38px; padding: 10px 15px; }
.voice-warning { margin: 0 0 20px; padding: 15px 18px; color: #ffd8ad; background: #4e341f; border: 1px solid #a76c35; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.voice-warning strong { color: #fff1dc; }
.media-status { margin: 0 0 14px; padding: 11px 15px; color: #b9dfff; background: #18324d; border: 1px solid #3c688d; border-radius: 10px; font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  .stream-identity-overlay { transition: none; }
}

@media (min-width: 901px) and (max-width: 1767px) {
  .live-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: start; }
  .live-layout.sidebar-collapsed { grid-template-columns: 56px minmax(0, 1fr); }
  .people-panel { position: relative; top: auto; left: auto; width: 220px; }
  .live-main { width: 100%; max-width: 1260px; margin: 0; }
}
@media (max-width: 900px) {
  .topbar, main { width: calc(100% - 32px); }
  .live-layout { padding-top: 18px; }
  .people-panel { position: relative; top: auto; left: auto; width: 100%; margin-bottom: 18px; padding: 12px 14px; }
  .people-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 3px; }
  .empty-stage { min-height: 340px; }
}
@media (max-width: 620px) {
  .live-layout { padding-top: 18px; }
  .live-main .toolbar { justify-content: stretch; }
  .live-main .settings-wrap { width: 100%; }
  .live-main .settings-trigger { width: 100%; }
  .live-main .toolbar .button { flex: 1; }
  .volume-control input { width: 72px; }
}
@media (max-width: 620px), (max-height: 720px) {
  .broadcast-settings { position: fixed; top: 50%; left: 50%; bottom: auto; transform: translate(-50%, -50%); max-height: calc(100dvh - 24px); }
}
