/* KEDU_LIVE_TWO_WAY_V3: independent remote participant tiles, up to 25 visible */
.kl-panel .kl-stage{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:10px;position:relative;min-height:220px;padding:12px;box-sizing:border-box}
.kl-panel .kl-stage>video{display:block;flex:0 0 auto;width:100%;max-height:min(42vh,400px);min-height:160px;object-fit:contain;border-radius:16px;background:#061f19}
.kl-panel .kl-stage>span:not(.kl-participant-count){position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}
.kl-panel .kl-stage.kl-has-video>span:not(.kl-participant-count){display:none}
.kl-panel .kl-participant-count{display:block;position:absolute!important;top:20px!important;left:20px!important;transform:none!important;z-index:5;padding:7px 12px;border-radius:999px;background:rgba(2,36,29,.85);color:#f2fff8;font-size:13px;font-weight:700;line-height:1.25;white-space:nowrap;pointer-events:none}
.kl-panel .kl-remote-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:10px;width:100%;max-height:47vh;overflow-y:auto;overscroll-behavior:contain;align-content:start}
.kl-panel .kl-remote-tile{position:relative;min-height:138px;aspect-ratio:16/10;min-width:0;overflow:hidden;border-radius:16px;background:#06271f;border:1px solid rgba(207,252,228,.25)}
.kl-panel .kl-remote-tile video{display:block;width:100%;height:100%;object-fit:cover;background:#06271f}
.kl-panel .kl-remote-name{position:absolute;bottom:10px;left:10px;z-index:2;background:rgba(2,34,27,.80);color:#fff;padding:6px 10px;border-radius:999px;font-size:13px;font-weight:750;letter-spacing:.02em}
.kl-panel .kl-actions button[hidden],.kl-panel .kl-setup[hidden]{display:none!important}
@media(max-width:640px){.kl-panel .kl-stage{padding:8px;gap:8px}.kl-panel .kl-stage>video{min-height:120px;max-height:28vh}.kl-panel .kl-remote-gallery{grid-template-columns:repeat(2,minmax(0,1fr));max-height:40vh;gap:8px}.kl-panel .kl-remote-tile{min-height:96px;aspect-ratio:4/3;border-radius:12px}.kl-panel .kl-participant-count{top:14px!important;left:14px!important}}

/* KEDU_LIVE_COUNT_V4: numeric-only compact participant indicator */
.kl-panel .kl-participant-count{display:inline-flex!important;align-items:center;justify-content:center;min-width:38px;min-height:38px;padding:6px!important;box-sizing:border-box;border-radius:999px!important;font-variant-numeric:tabular-nums;font-size:15px!important;line-height:1!important}
