#plaza-room{position:fixed;left:18px;top:270px;z-index:25;width:min(345px,calc(100vw - 32px));color:#edf7f3;background:#12272ff5;border:1px solid #557b81;border-radius:14px;font:13px/1.45 system-ui;box-shadow:0 8px 30px #0005}
#plaza-room summary{cursor:pointer;padding:12px;font-weight:700;color:#81e0ca}.room-body{padding:0 12px 12px;max-height:55dvh;overflow:auto;overscroll-behavior:contain}.room-body p{margin:8px 0}.room-body small{display:block;color:#c3d0d0;margin:8px 0}.room-body button,.room-body input,.room-body select{font:inherit;border:1px solid #63858a;border-radius:7px;background:#203941;color:#fff;padding:8px;min-height:36px}.room-body button{cursor:pointer}.room-body button:disabled{opacity:.45;cursor:default}.room-body form{display:flex;gap:6px}.room-body input{width:0;flex:1;user-select:text;-webkit-user-select:text}.room-messages{max-height:160px;overflow:auto;overflow-wrap:anywhere}.room-actions{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.room-member{padding:8px 0;border-top:1px solid #496970;display:flex;gap:4px;flex-wrap:wrap}.room-member span{width:100%;overflow-wrap:anywhere}.room-member button{font-size:11px;padding:5px}.room-body label{display:grid;gap:5px}
.touch-controls,.touch-actions,.touch-btn,.touch-btn *{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none}.touch-btn{cursor:pointer}
@media(max-width:760px){#plaza-room{top:130px;left:12px;width:min(310px,calc(100vw - 24px))}.room-body{max-height:45dvh}#plaza-room summary{padding:9px}.room-body input{font-size:16px}}
/* Keep new controls reachable without stacking expanded panes over movement. */
#plaza-room[open]{z-index:180}#plaza-xr[open]{z-index:181}
body.avatar-open #plaza-room,body.avatar-open #plaza-xr{display:none}
@media(max-width:760px){
 .presence{top:110px!important;max-width:calc(100vw - 24px)!important;left:12px!important;right:12px;padding:6px!important;font-size:9px!important;line-height:1.3;max-height:58px;overflow:auto}
 .presence #onlineNames{display:none} .presence button{padding:3px;margin:0}
 #plaza-room{top:174px;width:calc(50vw - 18px);left:12px}#plaza-xr{top:174px!important;width:calc(50vw - 18px)!important;left:calc(50vw + 6px)!important}
 #plaza-room[open],#plaza-xr[open]{left:12px!important;width:calc(100vw - 24px)!important}
 #world-side{top:220px!important;max-height:calc(100dvh - 360px)!important}
 .room-body{max-height:calc(100dvh - 340px)}#plaza-xr .xr-body{max-height:calc(100dvh - 340px);overflow:auto}
 #plaza-status{display:none}.brand{max-width:100px!important;width:100px!important}.brand .title{font-size:11px!important}
 .gallery-portal{max-width:calc(100vw - 120px)!important}
}
