.lobby-watch{position:fixed;left:16px;bottom:16px;z-index:11500;width:244px;background:linear-gradient(180deg,rgba(9,14,28,.96),rgba(15,23,42,.93));border:1px solid rgba(255,255,255,.12);border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.5);color:#e2e8f0;font-family:inherit;user-select:none;-webkit-user-select:none;overflow:hidden;transition:border-color .25s ease,box-shadow .25s ease}body.modal-open .lobby-watch,body.modal-open .lobby-watch-mini{z-index:9990}.lobby-watch.has-rooms{border-color:rgba(245,158,11,.9);animation:lwBreath 1.6s ease-in-out infinite}@keyframes lwBreath{0%,100%{box-shadow:0 0 10px rgba(245,158,11,.35),0 8px 28px rgba(0,0,0,.5)}50%{box-shadow:0 0 26px rgba(245,158,11,.85),0 8px 28px rgba(0,0,0,.5)}}.lw-header{display:flex;align-items:center;gap:7px;padding:8px 10px;cursor:grab;background:rgba(255,255,255,.045);border-bottom:1px solid rgba(255,255,255,.08);transition:background .2s ease}.lw-header:hover{background:rgba(255,255,255,.09)}.lw-header:active{cursor:grabbing}.lw-header::before{content:'≡';font-size:15px;line-height:1;color:#64748b;letter-spacing:-2px;margin-right:1px}.lw-drag-hint{font-size:10px;color:#64748b;letter-spacing:.5px;margin-left:2px;white-space:nowrap}.lw-title{font-size:13px;font-weight:700;letter-spacing:1px;white-space:nowrap}.lw-dot{width:9px;height:9px;border-radius:50%;background:#f43f5e;box-shadow:0 0 8px rgba(244,63,94,.9);display:none;animation:lwBlink 1s ease-in-out infinite}.lobby-watch.has-rooms .lw-dot{display:inline-block}@keyframes lwBlink{0%,100%{opacity:1}50%{opacity:.35}}.lw-btn{width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:6px;cursor:pointer;font-size:13px;line-height:1;color:#94a3b8;background:0 0;border:none;padding:0;font-family:inherit;transition:background .15s ease,color .15s ease}.lw-btn:hover{background:rgba(255,255,255,.12);color:#fff}.lw-close{margin-left:auto}.lw-body{padding:8px}.lw-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.lw-cell{position:relative;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 9px;border-radius:9px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);cursor:pointer;transition:transform .15s ease,background .2s ease,border-color .2s ease}.lw-cell:hover{background:rgba(255,255,255,.1);transform:translateY(-1px)}.lw-cell-name{font-size:12px;font-weight:600;color:#cbd5e1;white-space:nowrap}.lw-cell.lw-unknown .lw-cell-name{color:#475569}.lw-cell.has-rooms{border-color:rgba(239,68,68,.85);background:rgba(239,68,68,.13)}.lw-cell.has-rooms .lw-cell-name{color:#fff}.lw-badge-wrap{display:inline-flex;align-items:center;gap:4px}.lw-badge{display:none;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:700;line-height:19px;text-align:center;box-shadow:0 0 8px rgba(239,68,68,.8)}.lw-cell.has-rooms .lw-badge-wait{display:inline-flex;align-items:center;justify-content:center}.lw-badge-play{background:#3b82f6;box-shadow:0 0 8px rgba(59,130,246,.8)}.lw-cell.has-battles .lw-badge-play{display:inline-flex;align-items:center;justify-content:center}.lw-cell.has-battles:not(.has-rooms){border-color:rgba(59,130,246,.85);background:rgba(59,130,246,.13)}.lobby-watch-mini{position:fixed;left:16px;top:16px;z-index:11500;display:none;align-items:center;gap:7px;padding:9px 14px;border-radius:999px;background:linear-gradient(180deg,rgba(9,14,28,.96),rgba(15,23,42,.93));border:1px solid rgba(255,255,255,.16);box-shadow:0 6px 20px rgba(0,0,0,.45);color:#e2e8f0;font-size:13px;font-weight:700;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;transition:transform .15s ease,border-color .25s ease}.lobby-watch-mini:hover{transform:translateY(-1px)}.lobby-watch-mini:active{cursor:grabbing}.lobby-watch-mini::before{content:'≡';font-size:13px;line-height:1;color:#64748b;letter-spacing:-2px;opacity:.75}.lobby-watch-mini.has-rooms{border-color:rgba(245,158,11,.9);animation:lwBreath 1.6s ease-in-out infinite}.lw-mini-badge{display:none;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:700;line-height:19px;text-align:center}.lobby-watch-mini.has-rooms .lw-mini-badge{display:inline-flex;align-items:center;justify-content:center}.lw-mini-badge-play{background:#3b82f6}.lobby-watch-mini.has-battles .lw-mini-badge-play{display:inline-flex;align-items:center;justify-content:center}.lw-shout-wrap{margin-top:8px;padding:8px;border-radius:9px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}.lw-shout-head{display:flex;align-items:center;gap:6px;margin-bottom:6px}.lw-shout-title{font-size:11px;font-weight:700;color:#94a3b8;letter-spacing:.5px}.lw-shout-badge{min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#8b5cf6;color:#fff;font-size:10px;font-weight:700;line-height:17px;text-align:center;box-shadow:0 0 6px rgba(139,92,246,.7)}.lw-shout-feed{display:flex;flex-direction:column;gap:4px;max-height:204px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,0.55) transparent;padding-right:2px;margin-bottom:6px}.lw-shout-feed::-webkit-scrollbar{width:6px}.lw-shout-feed::-webkit-scrollbar-thumb{background:rgba(148,163,184,.5);border-radius:999px}.lw-shout-feed::-webkit-scrollbar-track{background:0 0}.lw-shout-item{display:flex;align-items:flex-start;gap:6px;font-size:11px;line-height:1.35;word-break:break-word}.lw-shout-nick{flex-shrink:0;font-weight:700;color:#a5b4fc;max-width:45%;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.lw-shout-text{flex:1 1 auto;min-width:0;color:#e2e8f0}.lw-shout-time{margin-left:auto;flex:0 0 auto;padding-left:4px;font-size:9px;line-height:1.35;color:#94a3b8;white-space:nowrap;font-variant-numeric:tabular-nums}.lw-shout-empty{font-size:11px;color:#64748b;text-align:center;padding:4px 0}.lw-shout-input-row{display:flex;gap:6px;align-items:center}.lw-shout-input{flex:1;min-width:0;height:28px;padding:0 8px;border-radius:7px;border:1px solid rgba(148,163,184,.25);background:rgba(30,41,59,.6);color:#f1f5f9;font-size:12px;outline:0}.lw-shout-input:focus{border-color:rgba(139,92,246,.7)}.lw-shout-input::placeholder{color:#64748b}.lw-shout-send{flex-shrink:0;height:28px;padding:0 10px;border-radius:7px;border:1px solid rgba(139,92,246,.6);background:rgba(139,92,246,.2);color:#ddd6fe;font-size:12px;font-weight:700;cursor:pointer}.lw-shout-send:hover{background:rgba(139,92,246,.35)}.lw-shout-send.cooldown{opacity:.55;pointer-events:none;font-variant-numeric:tabular-nums}.lw-shout-send{min-width:44px;text-align:center;font-variant-numeric:tabular-nums}.lw-shout-send:disabled{cursor:not-allowed}.lobby-watch-mini.has-shout{border-color:rgba(139,92,246,.9);animation:lwShoutPulse 1s ease-in-out 2}@keyframes lwShoutPulse{0%,100%{box-shadow:0 0 8px rgba(139,92,246,.4),0 6px 20px rgba(0,0,0,.45)}50%{box-shadow:0 0 22px rgba(139,92,246,.9),0 6px 20px rgba(0,0,0,.45)}}.lw-online{display:inline-flex;align-items:center;gap:3px;margin-left:6px;padding:1px 7px;border-radius:999px;background:rgba(56,189,248,.16);border:1px solid rgba(56,189,248,.45);color:#7dd3fc;font-size:11px;line-height:16px;white-space:nowrap}.lw-online b{color:#e0f2fe;font-weight:700}.lw-mini-online{margin-left:4px;color:#7dd3fc;font-size:11px;white-space:nowrap}@media (pointer:coarse){.lw-cell{min-height:46px}.lw-shout-input,.lw-shout-send{height:44px}.lw-shout-send{min-width:58px;font-size:13px}.lw-shout-input{font-size:13px}.lw-btn{width:30px;height:30px;font-size:15px}.lw-header{padding:10px}.lw-cell:hover{transform:none}}@media (max-width:480px){.lobby-watch{width:min(80vw,244px);left:max(8px,env(safe-area-inset-left,0px));bottom:max(8px,env(safe-area-inset-bottom,0px))}.lw-title{font-size:12px;letter-spacing:.5px}.lw-drag-hint{display:none}.lw-body{padding:6px}.lw-shout-feed{max-height:168px}.lw-shout-item{gap:4px}.lw-shout-time{font-size:9px;padding-left:2px}.lobby-watch-mini{max-width:78vw}}@media (max-height:420px){.lobby-watch{max-height:76vh;overflow-y:auto;overscroll-behavior:contain}}.lw-mini-badge.lw-mini-shout{background:#0ea5e9}.lobby-watch-mini .lw-mini-badge.lw-mini-shout{display:none}.lw-online-btn{background:0 0;border:1px solid rgba(148,163,184,.35);color:inherit;font:inherit;cursor:pointer;padding:2px 8px;border-radius:999px;transition:background .15s,border-color .15s}.lw-online-btn:hover{background:rgba(148,163,184,.16)}.lw-online-btn.is-active{background:rgba(96,165,250,.22);border-color:rgba(96,165,250,.6)}.lw-players-wrap{border-top:1px solid rgba(255,255,255,.1);padding:8px 10px 10px}.lw-players-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}.lw-players-title{font-size:12px;font-weight:700;color:#cbd5e1}.lw-players-count{font-size:11px;color:#94a3b8;background:rgba(148,163,184,.16);border-radius:999px;padding:1px 7px}.lw-players-sort{display:flex;gap:4px;margin-left:auto}.lw-sort-btn{font:inherit;font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid rgba(148,163,184,.3);background:0 0;color:#94a3b8;cursor:pointer}.lw-sort-btn.is-active{color:#dbeafe;border-color:rgba(96,165,250,.65);background:rgba(96,165,250,.2)}.lw-players-list{max-height:190px;overflow-y:auto;scrollbar-width:thin}.lw-player-item,.lw-player-legend{display:grid;grid-template-columns:20px minmax(0,1fr) 46px 40px;align-items:center;gap:6px;font-size:11px;padding:3px 2px}.lw-player-legend{color:#64748b;border-bottom:1px dashed rgba(148,163,184,.25);margin-bottom:2px}.lw-player-legend span:nth-child(3),.lw-player-legend span:nth-child(4){text-align:right}.lw-player-item+.lw-player-item{border-top:1px solid rgba(255,255,255,.05)}.lw-player-rank{color:#64748b;text-align:right}.lw-player-name{display:flex;align-items:center;gap:3px;min-width:0}.lw-player-nick{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lw-player-name .lw-player-status{flex:0 0 auto}.lw-player-name em{flex:0 0 auto}.lw-player-name{color:#e2e8f0}.lw-player-name em{font-style:normal;font-size:10px;color:#93c5fd}.lw-player-status{font-style:normal;font-size:10px;color:#fbbf24;margin-left:3px}.lw-player-elo{color:#a5b4fc;font-variant-numeric:tabular-nums;text-align:right}.lw-player-act{color:#34d399;font-variant-numeric:tabular-nums;text-align:right}.lw-player-item.is-me{background:rgba(96,165,250,.12);border-radius:6px}.lw-players-empty{font-size:11px;color:#64748b;padding:6px 2px;line-height:1.5}.lw-player-status::before{content:'·';margin-right:3px;opacity:.6}