*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;font-family:-apple-system,"Inter","Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;background:#eceded;color:#fff}
#scene{position:fixed;inset:0}
.panel{position:absolute;background:rgba(28,28,30,.88);backdrop-filter:blur(12px);border-radius:14px;box-shadow:0 6px 24px rgba(0,0,0,.18);font-size:12px;border:1px solid rgba(255,255,255,.06)}
#title{top:14px;left:14px;padding:7px 12px;display:flex;gap:8px;align-items:center;border-radius:12px}
.logo{width:20px;height:20px;border-radius:6px;background:#fff;color:#111;font-weight:800;display:grid;place-items:center;font-size:12px}
.live{color:#bbb;font-size:11px}.live i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#22c55e;margin-right:4px}
.demo{font-size:9px;font-weight:700;background:#f59e0b;color:#111;border-radius:5px;padding:1px 5px}
#counters{top:14px;left:50%;transform:translateX(-50%);padding:6px 10px;display:flex;gap:6px;border-radius:12px;white-space:nowrap}
#counters span{padding:2px 8px;border-radius:8px;color:#ccc;font-size:11px}#counters b{font-size:15px;color:#fff;margin-right:3px}
#counters .on.wait{background:rgba(245,158,11,.25);color:#fbbf24}#counters .dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:4px}
#left{position:absolute;top:58px;left:14px;width:200px;display:flex;flex-direction:column;gap:8px;max-height:calc(100% - 230px);overflow:auto}
#left .panel{position:relative}
.ph{color:#aaa;font-size:11px;padding:10px 12px 4px;display:flex;justify-content:space-between}
#floorlist{padding:2px 6px 8px}
.fl{display:flex;align-items:center;gap:9px;padding:7px 6px;border-radius:9px;cursor:pointer}.fl:hover{background:rgba(255,255,255,.06)}
.fl.sel{background:rgba(255,255,255,.12)}.fl .n{width:22px;height:22px;border-radius:6px;background:#3a3a3c;display:grid;place-items:center;font-weight:700;font-size:11px}
.fl.sel .n{background:#fff;color:#111}.fl .nm{flex:1;font-weight:600}.fl .dots{font-size:7px;letter-spacing:1px;color:#22c55e}.fl .c{color:#999}
.ch{padding:10px 12px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:6px}.ch .car{margin-left:auto;color:#888}
.badge{background:#3a3a3c;border-radius:6px;padding:0 6px;font-size:10px;color:#ccc}.badge.amber{background:#f59e0b;color:#111}
.cb{display:none;padding:0 10px 10px}.coll.open .cb{display:block}
#waiting.has{background:rgba(70,50,20,.92)}
.it{display:flex;gap:8px;padding:6px 2px;align-items:flex-start}.it .ic{width:18px;height:18px;border-radius:5px;flex:none}
.it .t{font-weight:600}.it .s{color:#aaa;font-size:10.5px}.it .tm{margin-left:auto;color:#888;font-size:10px;white-space:nowrap}
.btn{background:#48484a;border-radius:6px;padding:2px 7px;font-size:10px;margin-left:auto;white-space:nowrap}
#right{position:absolute;top:50px;right:14px;width:200px;display:flex;flex-direction:column;gap:6px}#right .panel{position:relative}
#teamhead{padding:10px 12px;border-radius:14px}#teamhead .row{display:flex;justify-content:space-between}#teamhead .big{font-size:20px;font-weight:800}
#teamhead small{opacity:.75;font-size:10px}
#teamlist{padding:6px 8px}.tb{display:flex;gap:9px;padding:6px 4px;border-radius:8px;cursor:pointer}.tb:hover{background:rgba(255,255,255,.06)}
.tb .av{width:22px;height:22px;border-radius:7px;position:relative;flex:none}.tb .av i{position:absolute;right:-2px;bottom:-2px;width:8px;height:8px;border-radius:50%;border:2px solid #1c1c1e}
.tb .t{font-weight:600}.tb .s{color:#aaa;font-size:10.5px}
#activity{left:14px;bottom:14px;width:250px;padding-bottom:8px}#log div{padding:3px 12px;color:#ddd;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#log span{color:#888;margin-right:6px}
#zoom{right:50%;bottom:14px;transform:translateX(calc(50% + 120px));padding:4px;display:flex;gap:2px;border-radius:12px}
#zoom button{background:none;border:0;color:#fff;font-size:16px;width:28px;height:26px;cursor:pointer;border-radius:8px}#zoom button:hover{background:#3a3a3c}
.tag{background:#111;color:#fff;font-size:11px;font-weight:600;padding:3px 9px;border-radius:9px;white-space:nowrap;pointer-events:none;display:flex;align-items:center;gap:5px;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.tag i{width:6px;height:6px;border-radius:50%;display:inline-block}
.bubble{background:#fff;color:#111;font-size:10px;padding:2px 6px;border-radius:7px;margin-top:3px;text-align:center;white-space:nowrap}
#card{right:230px;bottom:70px;width:320px;padding:18px;border-radius:20px;transition:transform .25s,opacity .25s}#card.hidden{opacity:0;pointer-events:none;transform:translateY(20px)}
.grab{display:none}#cclose{position:absolute;top:12px;right:12px;width:28px;height:28px;border-radius:50%;border:0;background:#3a3a3c;color:#fff;font-size:16px;cursor:pointer}
.ch1{display:flex;gap:12px;align-items:center}.ch1 .av{width:40px;height:40px;border-radius:12px}.ch1 h2{margin:0;font-size:19px}.ch1 .sub{color:#aaa;font-size:12px}
.pill{display:inline-flex;align-items:center;gap:6px;background:#3a3a3c;padding:4px 10px;border-radius:12px;margin:14px 0 8px;font-size:11px}.pill i{width:7px;height:7px;border-radius:50%}
.task{font-size:14px;font-weight:700;margin-bottom:12px}.stats{display:flex;gap:8px}.stats div{flex:1;background:#2c2c2e;border-radius:12px;padding:10px}.stats b{font-size:20px;display:block}.stats span{color:#aaa;font-size:10px}
.steps{margin-top:12px;color:#ccc;font-size:11.5px}.steps div{padding:3px 0}.steps .d{color:#22c55e}.steps .c{color:#fbbf24}
.bar{height:8px;background:#3a3a3c;border-radius:5px;margin-top:6px;overflow:hidden}.bar i{display:block;height:100%;background:linear-gradient(90deg,#fff,#aaa);border-radius:5px}
.priv{margin-top:10px;color:#777;font-size:10px}
body.night{background:#1a1d24}
@media (max-width:760px){
 #left,#activity,#teamlist{display:none}
 #title b{display:none}#title .live{display:none}
 #counters{left:auto;right:14px;transform:none}
 #right{top:auto;bottom:auto;top:56px;left:14px;right:14px;width:auto;flex-direction:row;overflow-x:auto}
 #teamhead{display:none}
 #mfloors{display:flex}
 #zoom{right:14px;transform:none;bottom:20px}
 #card{left:0;right:0;bottom:0;width:auto;border-radius:22px 22px 0 0;padding:14px 20px 26px}
 #card.hidden{transform:translateY(100%)}
 .grab{display:block;width:40px;height:5px;background:#555;border-radius:3px;margin:0 auto 12px}
}
#mfloors{display:none;z-index:2;position:absolute;top:64px;left:10px;right:10px;gap:6px;overflow-x:auto;padding:2px}
#mfloors .mf{position:relative;flex:none;padding:7px 12px;border-radius:12px;display:flex;gap:7px;align-items:center;font-weight:600}
#mfloors .mf.sel{background:rgba(255,255,255,.9);color:#111}
@media (max-width:760px){#right{display:none}}
@media (max-width:760px){#mfloors{display:flex}#counters{left:52px;right:10px;justify-content:space-between;padding:6px}#counters span{padding:2px 4px;font-size:10px}#title{padding:7px}#title .demo{position:absolute;top:34px;left:2px}}
.demo.islive{background:#22c55e;color:#04210f}
