/* Групповые звонки и трансляции (gcalls.js). Листы используют стили call-sheet из calls.css. */
body.gc-group #callAudioBtn,body.gc-group #callVideoBtn,body.gc-group #cmVideo{display:none!important}
#gcBtn.hidden{display:none!important}
#gcBar{display:flex;align-items:center;gap:10px;padding:8px 12px;background:var(--surface,#1e2530);border-bottom:1px solid rgba(127,127,127,.18);cursor:pointer}
#gcBar.hidden{display:none}
#gcBar .gb-t,#gcFloat .gf-t{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2}
#gcBar .gb-t b,#gcFloat .gf-t b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gcBar small,#gcFloat small{font-size:12px;opacity:.7}
.gb-dot{width:10px;height:10px;border-radius:50%;background:#e5484d;flex:none;animation:gcPulse 1.4s infinite}
.gb-dot.sched{background:#f5a524;animation:none}
@keyframes gcPulse{0%{box-shadow:0 0 0 0 rgba(229,72,77,.6)}70%{box-shadow:0 0 0 8px rgba(229,72,77,0)}100%{box-shadow:0 0 0 0 rgba(229,72,77,0)}}
.gb-go{border:0;border-radius:16px;padding:6px 14px;background:var(--accent,#3390ec);color:#fff;font-weight:600;cursor:pointer}
.gb-x{border:0;background:none;color:inherit;opacity:.6;font-size:16px;cursor:pointer;padding:4px 6px}
.call-sheet.gc-sheet{z-index:9500}
.gc-sheet .cs-chk{display:flex;gap:8px;align-items:flex-start;margin:10px 0 6px;font-size:14px}
.gc-sheet .field{width:100%;box-sizing:border-box;margin:6px 0}
.gc-sheet .hidden{display:none!important}
.gc-sheet .cs-act.col{flex-direction:column}
#gcScr{position:fixed;inset:0;z-index:9000;display:flex;flex-direction:column;background:#0f1419;color:#fff;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}
.gc-top{display:flex;align-items:center;gap:8px;padding:10px 12px}
.gc-h{flex:1;min-width:0;display:flex;flex-direction:column;text-align:center}
.gc-h b{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gc-h small{opacity:.7;font-size:12px}
.gc-ib{border:0;background:rgba(255,255,255,.08);color:#fff;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;cursor:pointer}
.gc-ib .ico,.gc-c .ico,.gf-b .ico{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gc-wait{flex:1;display:grid;place-items:center;opacity:.7}
.gc-grid{flex:1;display:grid;gap:8px;padding:8px;grid-template-columns:1fr;grid-auto-rows:1fr;min-height:0}
.gc-grid.n2{grid-template-columns:1fr 1fr}.gc-grid.n3,.gc-grid.n4{grid-template-columns:1fr 1fr}.gc-grid.n5,.gc-grid.n6{grid-template-columns:1fr 1fr 1fr}
@media (max-width:600px){.gc-grid.n2{grid-template-columns:1fr}.gc-grid.n5,.gc-grid.n6{grid-template-columns:1fr 1fr}}
.gc-tile{position:relative;border-radius:16px;background:#1c242e;display:grid;place-items:center;overflow:hidden;min-height:90px;outline:3px solid transparent;transition:outline-color .15s}
.gc-tile.talk{outline-color:#3ddc84;box-shadow:0 0 18px rgba(61,220,132,.45)}
.gc-tile.away{opacity:.5}
.gc-tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#000}
.gc-av{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;font-size:30px;font-weight:600;overflow:hidden;background:#2f3b48}
.gc-av img{width:100%;height:100%;object-fit:cover}
.gc-tile.talk .gc-av{box-shadow:0 0 0 4px #3ddc84}
.gc-nm{position:absolute;left:8px;bottom:8px;right:8px;font-size:13px;display:flex;align-items:center;gap:4px;text-shadow:0 1px 2px #000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gc-nm .ico{width:14px;height:14px;stroke:#ff6b6b;fill:none;stroke-width:2;flex:none}
.gc-role{position:absolute;top:8px;right:8px;border:0;border-radius:12px;padding:4px 10px;background:rgba(0,0,0,.55);color:#fff;font-size:12px;cursor:pointer}
.gc-ls{max-height:32vh;overflow:auto;padding:4px 12px}
.gc-lh{font-size:13px;opacity:.7;margin:4px 0 6px}
.gc-l{display:flex;align-items:center;gap:10px;padding:5px 0;position:relative}
.gc-l .gc-av{width:34px;height:34px;font-size:14px}.gc-l span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gc-l .gc-role{position:static}
.gc-hand .ico{width:18px;height:18px;stroke:#f5a524;fill:none;stroke-width:2}
.gc-ctl{display:flex;justify-content:center;gap:10px;padding:12px 8px 16px;flex-wrap:wrap}
.gc-c{border:0;background:rgba(255,255,255,.1);color:#fff;border-radius:18px;min-width:62px;padding:10px 8px 6px;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;font-size:11px}
.gc-c.on{background:rgba(255,255,255,.92);color:#0f1419}.gc-c.off{background:rgba(229,72,77,.25)}
.gc-c.big{min-width:76px}.gc-c.red{background:#e5484d}
#gcFloat{position:fixed;right:12px;bottom:84px;z-index:8900;display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:24px;background:#1c242e;color:#fff;box-shadow:0 6px 20px rgba(0,0,0,.35);max-width:min(92vw,360px);touch-action:none;cursor:grab;outline:2px solid transparent}
#gcFloat.talk{outline-color:#3ddc84}
.gf-b{border:0;background:rgba(255,255,255,.1);color:#fff;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;cursor:pointer;flex:none}
.gf-b.off{background:rgba(229,72,77,.35)}.gf-b.red{background:#e5484d}
.gc-audio{display:none}
/* 1.2: чат трансляции (сверху Premium, снизу остальные), глушилка, показ экрана */
.gc-chat{display:flex;flex-direction:column;gap:8px;margin:10px 12px 6px;min-height:0}
.gcc-blk{background:rgba(255,255,255,.06);border-radius:14px;padding:8px 10px}
.gcc-blk.prem{background:linear-gradient(135deg,rgba(250,204,21,.16),rgba(168,85,247,.14));border:1px solid rgba(250,204,21,.25)}
.gcc-h{font-size:12px;font-weight:700;opacity:.75;margin-bottom:4px}
.gcc-list{max-height:22vh;overflow-y:auto;display:flex;flex-direction:column;gap:3px;overscroll-behavior:contain}
.gcc-blk.prem .gcc-list{max-height:14vh}
.gcc-m{font-size:14px;line-height:1.35;word-break:break-word;animation:gccIn .18s ease-out}
.gcc-m b{font-weight:700;margin-right:4px}.gcc-m.host b{color:#f59e0b}.gcc-m.sys{opacity:.7;font-style:italic;font-size:13px}
.gcc-e{opacity:.5;font-size:13px}
.gcc-in{display:flex;gap:8px}.gcc-in input{flex:1;min-width:0;border:0;border-radius:20px;padding:10px 14px;background:rgba(255,255,255,.1);color:inherit;font-size:15px}
.gcc-in input:disabled{opacity:.6}.gcc-in button{border:0;border-radius:50%;width:40px;height:40px;background:#3b82f6;color:#fff;font-size:16px;cursor:pointer;transition:transform .1s}
.gcc-in button:active{transform:scale(.9)}
@keyframes gccIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.gc-mute{position:absolute;top:8px;left:8px;border:0;border-radius:50%;width:30px;height:30px;background:rgba(0,0,0,.55);color:#fff;display:grid;place-items:center;cursor:pointer}
.gc-mute .ico{width:16px;height:16px}
.gc-scr-badge{position:absolute;bottom:34px;left:8px;font-size:11px;padding:2px 8px;border-radius:10px;background:rgba(59,130,246,.85);color:#fff}
.gc-tile.v video{object-fit:contain;background:#000}
.gc-pick{max-height:45vh;overflow-y:auto}
