*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;font:12px Tahoma,Arial,sans-serif;background:#d4d0c8;color:#111}body{overflow:hidden}button,input,select,textarea{font:12px Tahoma,Arial,sans-serif}button{border:1px solid #7f9db9;background:linear-gradient(#fff,#d9e8f5);min-height:24px;padding:2px 8px;cursor:pointer}button:active{background:#c6ddf1}input,select,textarea{border:1px solid #7f9db9;background:#fff;padding:3px}.hidden{display:none!important}.app-title,.xp-titlebar{height:27px;background:linear-gradient(#2184e8,#0054c7 55%,#003e9a);color:#fff;padding:5px 7px;border-bottom:1px solid #00306f;display:flex;align-items:center;justify-content:space-between}.app-title b,.xp-titlebar b{font-size:13px;text-shadow:1px 1px #003d86}.app-title button{height:20px;min-height:20px;padding:0 8px}.menubar{height:24px;background:#ece9d8;border-bottom:1px solid #9a9a9a;display:flex;align-items:center;gap:18px;padding:0 8px;color:#111}.menubar span{cursor:default}.statusbar{height:22px;display:flex;background:#ece9d8;padding:2px;border-top:1px solid #aaa}.statusbar span{border:1px inset #fff;padding:2px 6px;flex:1;white-space:nowrap;overflow:hidden}.statusbar span:last-child{text-align:right}.browser-shell,.room-shell{width:100vw;height:100dvh;display:grid;min-height:0;background:#ece9d8}.browser-shell{grid-template-rows:27px 24px 1fr 22px}.browser-main{min-height:0;display:grid;grid-template-columns:230px 1fr}.category-list{min-height:0;overflow:auto;background:#fff;border-right:1px solid #7f9db9}.pane-title{height:25px;padding:5px 7px;background:linear-gradient(#fff,#c9dff2);border-bottom:1px solid #7f9db9;font-weight:bold;color:#204f7d}.searchrow{display:flex;gap:4px;padding:6px}.searchrow input{min-width:0;flex:1}.category-title{background:#dbefff;color:#195791;font-weight:bold;padding:6px 8px;border-top:1px solid #aac7e0;border-bottom:1px solid #aac7e0}.cat,.side-link{display:block;width:100%;border:0;background:#fff;box-shadow:none;text-align:left;padding:6px 12px;color:#24557f}.cat:hover,.side-link:hover{background:#dceeff}.room-list-wrap{min-width:0;min-height:0;background:#fff;display:grid;grid-template-rows:26px 1fr}.list-head{display:grid;grid-template-columns:1fr 70px;padding:6px 8px;background:linear-gradient(#fff,#dbe7f1);border-bottom:1px solid #7f9db9;font-weight:bold}.room-list{overflow:auto}.roomItem{display:grid;grid-template-columns:18px minmax(0,1fr) 60px;gap:6px;align-items:center;min-height:31px;padding:4px 8px;border-bottom:1px solid #eee}.roomItem:hover{background:#dceeff}.roomIcon{width:14px;height:14px;background:#5cab40;border:1px solid #287021;color:#fff;font-size:9px;display:grid;place-items:center}.roomItem b{font-weight:normal;color:#245b8d}.roomItem small{display:block;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-shell{grid-template-rows:27px 24px 50px 24px 1fr 40px 22px}.room-header{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;background:linear-gradient(#3b4d5d,#1c2a36);color:#fff;padding:5px 8px}.room-badge{width:34px;height:34px;display:grid;place-items:center;background:#222;border:1px solid #777;font:bold 20px Georgia}.room-name{min-width:0;padding-left:7px}.room-name b,.room-name small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-name small{font-size:10px;color:#cfe2f2}.room-count{font-size:10px;color:#cfe2f2;padding-left:10px}.notice-strip{padding:5px 7px;background:#fffbd8;border-bottom:1px solid #c9b868;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-layout{min-height:0;display:grid;grid-template-columns:210px minmax(280px,1fr) 220px}.cam-pane,.chat-pane,.member-pane{min-height:0}.cam-pane{display:grid;grid-template-rows:25px 1fr 31px;border-right:1px solid #7f9db9;background:#dce4ea}.videoGrid{overflow:auto;padding:4px;display:grid;grid-template-columns:1fr;grid-auto-rows:145px;gap:4px}.tile{position:relative;background:#182129;border:2px ridge #b8c2cb;overflow:hidden;color:#fff}.tile video{width:100%;height:100%;display:block;object-fit:cover}.tile .avatar{height:100%;display:grid;place-items:center;font-size:32px;background:linear-gradient(#4d5964,#1f272e)}.tile .label{position:absolute;left:0;right:0;bottom:0;background:#000b;padding:3px 5px}.cam-tools{padding:4px}.chat-pane{display:grid;grid-template-rows:1fr 27px 34px;background:#fff}.chatlog{overflow:auto;padding:6px 8px;font:11px Verdana,Arial,sans-serif}.line{padding:2px 0}.line.sys{color:#777;font-style:italic}.formatbar{display:flex;gap:4px;align-items:center;padding:3px 5px;border-top:1px solid #aaa;border-bottom:1px solid #aaa;background:#ece9d8}.formatbar button{min-width:24px}.formatbar select{height:20px;padding:1px}.sendrow{display:grid;grid-template-columns:1fr 70px;gap:4px;padding:5px;background:#ece9d8}.member-pane{display:grid;grid-template-rows:25px 23px 1fr 28px;border-left:1px solid #7f9db9;background:#fff}.member-sub{padding:5px 7px;background:#f3f3f3;border-bottom:1px solid #bbb;display:flex;justify-content:space-between}.people-list{overflow:auto}.person{display:flex;align-items:center;min-height:22px;padding:3px 6px;border-bottom:1px solid #f3f3f3;cursor:pointer}.person:hover{background:#dceeff}.person.restricted{background:#ffecec}.presenceDot{width:10px;height:10px;border:1px solid #555;border-radius:50%;margin-right:5px}.green{background:#54c83c}.red{background:#e42121}.flags{margin-left:auto}.staffName{color:#e00000;font-weight:bold}.ownerName{color:#7c4c00;font-weight:bold}.modName{color:#124fb2;font-weight:bold}.member-foot{padding:7px;background:#ece9d8;border-top:1px solid #aaa;font-size:10px;color:#666}.voicebar{display:flex;align-items:center;gap:6px;padding:5px 7px;background:linear-gradient(#fff,#d0d0d0);border-top:1px solid #fff;border-bottom:1px solid #888}.talkbtn{min-width:150px;height:30px;font-weight:bold;background:linear-gradient(#fafffa,#c8ecc8);border-color:#438743;touch-action:none;user-select:none}.talkbtn.talking{background:linear-gradient(#ffefef,#f0aaaa);border-color:#b00000;color:#7b0000}.talkbtn.queued{background:linear-gradient(#fffbe8,#eadb8f);border-color:#9d7b00}.volume{display:flex;align-items:center;gap:4px}.volume input{width:110px}.voice-status{flex:1;text-align:center;color:#555}.modal{position:fixed;z-index:1000;inset:0;background:#294f7aa8;display:grid;place-items:center;padding:12px}.classic-dialog{background:#ece9d8;border:2px outset #fff;box-shadow:3px 4px 14px #0008}.loginCard{width:min(520px,96vw)}.dialogInner{display:grid;grid-template-columns:180px 1fr}.login-art{background:linear-gradient(#eef8ff,#c3dcef);border-right:1px solid #7f9db9;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#0d4e95}.bubble-logo{width:72px;height:54px;border-radius:28px;background:#1676d4;color:#fff;display:grid;place-items:center;letter-spacing:4px;margin-bottom:7px}.login-form,.dialogBody{padding:16px}.login-form label,.dialogBody label{display:block;margin:6px 0 2px;font-weight:bold}.login-form input,.dialogBody input,.dialogBody select,.dialogBody textarea{width:100%}.row{display:flex;gap:6px;margin-top:12px}.createDialog{width:min(430px,95vw)}.dialogBody textarea{height:70px}.context{position:fixed;z-index:1200;width:210px;background:#f2f2f2;border:1px solid #666;box-shadow:2px 3px 8px #0007;padding:2px}.context b{display:block;padding:6px;background:#0a5cbc;color:#fff}.context button{display:block;width:100%;border:0;box-shadow:none;background:transparent;text-align:left}.context button:hover{background:#0a5cbc;color:#fff}.context .danger{color:#9b0000}.adminDialog{width:min(1100px,97vw);height:min(760px,92vh);display:grid;grid-template-rows:27px 32px 1fr}.adminTitle button{height:20px;min-height:20px}.adminTabs{padding:4px 6px;border-bottom:1px solid #999}.adminBody{min-height:0;overflow:auto;padding:8px}.adminCreate{display:grid;grid-template-columns:1.2fr 1.2fr 1fr 1fr 58px auto;gap:5px;margin-bottom:8px}.tableWrap{overflow:auto;border:1px solid #999;background:#fff}table{width:100%;border-collapse:collapse;min-width:760px}th,td{padding:5px 6px;border:1px solid #ccc;text-align:left}th{background:#dbe9f5}.adminActions{display:flex;gap:3px;flex-wrap:wrap}.auditRows{font:11px Consolas,monospace;background:#fff;border:1px solid #999}.auditRow{padding:5px;border-bottom:1px solid #ddd}.auditRow b{color:#0a4f99}
@media(max-width:800px){body{overflow:hidden}.browser-main{grid-template-columns:1fr}.category-list{max-height:210px;border-right:0;border-bottom:1px solid #7f9db9}.browser-shell{grid-template-rows:27px 24px 1fr 22px}.room-shell{grid-template-rows:27px 24px 45px 24px 1fr auto 22px}.room-layout{display:flex;flex-direction:column;overflow:auto}.cam-pane{min-height:250px;max-height:42vh;border-right:0;border-bottom:1px solid #7f9db9}.videoGrid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:130px}.chat-pane{min-height:360px}.member-pane{min-height:260px;border-left:0;border-top:1px solid #7f9db9}.voicebar{flex-wrap:wrap;position:sticky;bottom:0;z-index:20}.talkbtn{flex:1 1 180px}.voice-status{order:10;flex-basis:100%}.room-count{display:none}.adminCreate{grid-template-columns:1fr 1fr}.dialogInner{grid-template-columns:1fr}.login-art{display:none}}@media(max-width:480px){.menubar{gap:10px;font-size:11px}.videoGrid{grid-template-columns:1fr}.cam-pane{max-height:55vh}.talkbtn{width:100%}.volume{display:none}.statusbar span:nth-child(2){display:none}}
