html,body,#root{height:100%;margin:0}body{-webkit-tap-highlight-color:transparent}.login-wrap{place-items:center;min-height:100%;padding:16px;display:grid}.login-card{width:100%;max-width:380px}.login-head{align-items:center;gap:12px;margin-bottom:24px;display:flex}.brand{align-items:center;gap:10px;height:64px;padding:0 20px;font-size:16px;font-weight:600;display:flex}.header{z-index:10;padding:0 16px;padding-top:env(safe-area-inset-top);height:calc(64px + env(safe-area-inset-top));justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.content{padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom))}@media (width>=992px){.content{padding:24px}}.toolbar{flex-wrap:wrap;justify-content:space-between;gap:12px;margin-bottom:16px;display:flex}.mini-thumb,.big-thumb{background:#0c0a09;overflow:hidden}.mini-thumb{border-radius:4px;width:36px;height:78px}.big-thumb{aspect-ratio:9/19.5;border-radius:8px}.mini-thumb img,.big-thumb img{object-fit:cover;width:100%;height:100%;display:block}.mini-thumb.off img,.big-thumb.off img{filter:grayscale();opacity:.4}.toolbar2{border-top:1px dashed #80808040;margin-bottom:12px;padding:8px 0 12px}.wall{-webkit-user-select:none;user-select:none;gap:10px;display:grid}.tile{background:#80808014;border:2px solid #0000;border-radius:10px;min-width:0;padding:4px}.tile.sel{border-color:#1677ff}.tile.sync{border-style:dashed;border-color:#52c41a}.tile-screen{aspect-ratio:9/19.5;cursor:pointer;background:#0c0a09;border-radius:7px;position:relative;overflow:hidden}.tile-screen img,.tile-screen video{object-fit:contain;width:100%;height:100%;display:block;position:absolute;inset:0}.tile-screen video{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.tile.direct .tile-screen video{touch-action:none}.tile-screen video.hidden{opacity:0}.tile.off img{filter:grayscale();opacity:.35}.tile.master{border-color:#f5222d;box-shadow:0 0 0 3px #f5222d}.tile-sync.follow{cursor:pointer}.tile-sync.follow:hover:after{content:" → 设为主控"}.tile-sync.master{background:#f5222d;padding:1px 8px;font-size:13px;font-weight:700}.tile-sync{z-index:2;color:#fff;background:#52c41a;border-radius:4px;padding:0 6px;font-size:11px;position:absolute;top:4px;right:6px}.tile-off{color:#a8a29e;pointer-events:none;place-items:center;font-size:13px;display:grid;position:absolute;inset:0}.tile-bar{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:6px;align-items:center;gap:4px;min-width:0;padding:4px 2px 0;font-size:12.5px;display:flex}.tile.sel .tile-bar{color:#fff;background:#1677ff}.tile.sel .tile-bar .tile-no{color:#1677ff;background:#fff}.tile.sel .tile-bar .ant-btn{color:#fff}.tile-no{cursor:pointer;color:#fff;background:#1677ff;border-radius:4px;flex:none;place-items:center;min-width:20px;height:18px;padding:0 4px;font-size:11px;display:inline-grid}.tile-no:hover{background:#4096ff}.tile-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.tile-batt{flex:none;font-size:11px;font-weight:600}.viewer-mask{z-index:999;background:#0000008c;place-items:center;display:grid;position:fixed;inset:0}.viewer{color:#e7e5e4;background:#0c0a09;border-radius:12px;flex-direction:column;width:calc(47vh - 1.8px);max-width:96vw;height:calc(100vh - 32px);display:flex;overflow:hidden;box-shadow:0 12px 40px #00000080}.vbar{padding:calc(6px + env(safe-area-inset-top)) 8px 6px;align-items:center;gap:6px;display:flex}.vquality .ant-select-content,.vquality .ant-select-selection-item,.vquality .ant-select-arrow{color:#d6d3d1!important}.vbar .title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;font-weight:600;overflow:hidden}.vbtn.ant-btn{color:#d6d3d1}.vbody{flex:1;min-height:0;display:flex}.stage{flex:1;min-width:0;position:relative}.stage video{object-fit:contain;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;width:100%;height:100%;display:block}.vtools{flex-direction:column;flex:none;align-items:center;gap:2px;width:44px;padding:4px 0;display:flex;overflow-y:auto}.vtools button{color:#d6d3d1;cursor:pointer;background:0 0;border:0;border-radius:8px;width:36px;height:34px;font-size:17px}.vtools button:hover{background:#292524}.vtools button.active{color:#fff;background:#1677ff}.loading{color:#a8a29e;pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.typebar{flex-direction:column;gap:6px;padding:8px;display:flex}.typebar .chips{margin:0}.phrase.ant-tag{cursor:pointer;color:#e7e5e4;background:#292524;border-color:#3a3532}.keys{padding:4px 8px calc(6px + env(safe-area-inset-bottom));justify-content:space-around;display:flex}.keys button{color:#d6d3d1;cursor:pointer;background:0 0;border:0;border-radius:10px;width:56px;height:44px;font-size:22px}.keys button:active,.keys button.active{background:#292524}.vback,.keys .kmore{display:none}@media (width<=767px){.viewer-mask{background:#0c0a09}.viewer{width:100vw;max-width:none;height:100%;box-shadow:none;border-radius:0}.vtools,.vclose{display:none}.vback{display:inline-flex}.keys .kmore{display:inline-block}}.chips{flex-wrap:wrap;gap:6px;margin:10px 0 0;display:flex}.chips .ant-tag{margin:0}.out{white-space:pre-wrap;word-break:break-all;background:#8080801a;border-radius:4px;max-height:160px;margin:6px 0 0;padding:6px 8px;font-size:12px;overflow:auto}.content.focus{padding:8px}.content.focus>.ant-card>.ant-card-body{padding:10px}.focus-exit.ant-btn{z-index:900;opacity:.75;position:fixed;bottom:16px;right:16px}.focus-exit.ant-btn:hover{opacity:1}.marquee{z-index:800;pointer-events:none;background:#1677ff1f;border:1px solid #1677ff;position:fixed}.set-row{border-bottom:1px solid #80808026;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.set-row:last-child{border-bottom:0}@media (width<=767px){.content>.ant-card>.ant-card-body{padding:12px}.toolbar .ant-input-search{width:140px!important}.toolbar>.ant-space:first-child .ant-select{width:96px!important}.keys-row{display:none!important}.toolbar2{justify-content:flex-end;padding-top:4px}}
