/* Floating Lobby sits inside CloudMooo, not above other applications. */
.lobby-pane{position:fixed;z-index:60;right:18px;bottom:18px;width:min(370px,calc(100vw - 20px));height:min(570px,calc(100dvh - 36px));min-height:0;flex:none;border:1px solid var(--border-strong);border-radius:14px;overflow:hidden;background:var(--bg-main);box-shadow:var(--shadow-lg)}
.lobby-pane .lobby-header{height:54px;min-height:54px;padding:0 9px;gap:5px;background:var(--bg-elevated)}
.lobby-pane #lobby-menu{display:none}.lobby-pane .lobby-headline strong{font-size:13px}.lobby-pane .lobby-headline span{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lobby-window-btn{width:32px;height:34px;font-size:20px;flex:none}.lobby-pane #lobby-members-toggle{font-size:11px;white-space:nowrap;padding:5px 7px}
.lobby-pane .lobby-intro{margin:6px 10px 0;padding:5px 8px;font-size:10px;line-height:1.4}.lobby-pane .lobby-intro summary{cursor:pointer}.lobby-pane .lobby-intro p{margin:6px 0 0}.lobby-pane .lobby-status:empty{display:none}.lobby-pane .lobby-status{padding:3px 10px}.lobby-pane .lobby-scroll{padding:6px 10px}.lobby-pane .lobby-message{max-width:94%;margin:8px 0}.lobby-pane .lobby-message.self{margin-left:auto}.lobby-pane .lobby-bubble{font-size:12px;padding:7px 10px}.lobby-pane .lobby-message-name{font-size:11px}.lobby-pane .lobby-compose{padding:7px 9px}.lobby-pane .lobby-compose input{font-size:16px;min-height:40px}.lobby-pane .lobby-compose .btn{min-height:40px;padding:7px 10px}.lobby-pane .lobby-file-compose{padding:5px 9px 0;gap:5px}.lobby-pane .lobby-file-selected{font-size:10px;min-width:0;flex-basis:110px}
.lobby-pane .lobby-members{display:none;position:absolute;right:0;top:0;bottom:0;z-index:2;width:min(260px,85%);box-shadow:var(--shadow-lg);border-left:1px solid var(--border-strong)}.lobby-pane .lobby-members.open{display:block}.lobby-pane .lobby-members header button{display:inline-flex}
.lobby-launcher{position:fixed;z-index:60;right:18px;bottom:18px;width:56px;height:56px;display:grid;place-items:center;background:var(--accent);color:#fff;border:2px solid var(--bg-elevated);border-radius:50%;box-shadow:var(--shadow-lg);touch-action:none;user-select:none;cursor:grab}.lobby-launcher:active{cursor:grabbing}.lobby-launcher svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.lobby-float-unread{position:absolute;right:-4px;top:-4px;min-width:21px;height:21px;display:grid;place-items:center;padding:0 4px;background:#c92b3d;color:#fff;border:2px solid var(--bg-elevated);border-radius:20px;font-size:10px;font-weight:800;line-height:1}
.lobby-launcher:focus-visible,.lobby-window-btn:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
@media(max-width:1024px){.lobby-launcher{right:14px;bottom:108px}.lobby-pane{right:12px;bottom:max(12px,env(safe-area-inset-bottom));height:min(500px,62dvh);width:min(355px,calc(100vw - 24px))}}
@media(max-width:700px){.lobby-pane{left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));width:auto;height:min(480px,60dvh)}}
@media(max-height:500px){.lobby-pane{height:calc(100dvh - 24px)}.lobby-pane .lobby-headline span{display:none}.lobby-pane .lobby-intro:not([open]){margin-top:2px}.lobby-pane .lobby-header{height:42px;min-height:42px}}
