/* KEDU_LIVE_GUEST_AND_STUDIO_V2 */
.kl-panel.kl-guest-connecting .kl-setup,.kl-panel.kl-guest-connecting .kl-actions{display:none!important}
.kl-panel.kl-guest-connecting .kl-stage{min-height:180px}
.kl-panel{width:min(96vw,1100px)!important;max-width:1100px!important;border-radius:28px!important;padding:22px!important;background:linear-gradient(180deg,#074a3d 0%,#04352c 100%)!important;box-shadow:0 28px 80px rgba(3,24,19,.42)!important;color:#fff!important}
.kl-panel header{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.kl-panel header a{font-size:clamp(20px,2vw,26px);font-weight:800;color:#ddfff3;text-decoration:none}
.kl-panel header strong{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border-radius:999px;background:#cf335a;color:#fff;font-size:18px}
.kl-panel .kl-close{margin-left:auto;width:56px;height:56px;border-radius:18px;border:0;background:#0da777;color:#fff;font-size:28px;cursor:pointer}
.kl-panel h1{margin:0;font-size:clamp(40px,4vw,64px);line-height:1.05;color:#fff}
.kl-panel .kl-status{margin:14px 0 18px;font-size:clamp(18px,1.5vw,22px);line-height:1.45;color:#daf8ee}
.kl-panel .kl-stage{position:relative;min-height:360px;border-radius:28px;background:radial-gradient(circle at 30% 30%,rgba(16,122,94,.32),rgba(1,31,25,.92)),#03261f;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid rgba(183,248,229,.08)}
.kl-panel .kl-stage::after{content:"Live preview";position:absolute;top:16px;left:16px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);backdrop-filter:blur(8px);font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:#dcfff2}
.kl-panel .kl-stage video{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.kl-panel .kl-stage span{font-size:22px;color:#c9f2e4}
.kl-panel .kl-setup{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.9fr);gap:16px;margin-top:18px;align-items:stretch}
.kl-panel .kl-setup > label{display:flex;flex-direction:column;gap:12px;padding:18px 20px;border-radius:24px;background:rgba(255,255,255,.08);border:1px solid rgba(183,248,229,.08);color:#e6fff6;font-weight:700}
.kl-panel .kl-setup input[type="text"],.kl-panel .kl-setup input:not([type]),.kl-panel .kl-setup input[maxlength]{width:100%;min-height:64px;border-radius:18px;border:1px solid #bde8da;background:#f6fcf9;color:#22453d;padding:0 20px;font-size:17px;box-sizing:border-box}
.kl-panel .kl-consent{display:flex!important;flex-direction:row!important;gap:14px;align-items:flex-start;justify-content:flex-start}
.kl-panel .kl-consent input{width:28px;height:28px;margin-top:2px;accent-color:#12b281;flex:0 0 auto}
.kl-panel .kl-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:18px;position:sticky;bottom:0;padding-top:10px;background:linear-gradient(180deg,rgba(4,53,44,0) 0%,rgba(4,53,44,.94) 24%,rgba(4,53,44,1) 100%)}
.kl-panel .kl-actions button{min-height:58px;padding:0 18px;border:0;border-radius:18px;background:linear-gradient(90deg,#10b981 0%,#0c8b6e 100%);color:#fff;font-size:16px;font-weight:800;box-shadow:0 14px 32px rgba(0,0,0,.18);cursor:pointer}
.kl-panel .kl-actions button:disabled{opacity:.6;cursor:not-allowed}
.kl-panel .kl-note{margin-top:14px;color:#d0eee4;font-size:15px}

.klx-link{cursor:pointer}
.klx-search{display:flex;gap:10px;align-items:center;padding:14px 16px;border-radius:18px;background:#f6fbf9;border:1px solid #d6eae2}
.klx-search input{flex:1;border:0;background:transparent;outline:none;font-size:16px;color:#173930}
.klx-selectbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0 6px}
.klx-person{display:grid;grid-template-columns:48px 1fr 24px;align-items:center;gap:14px;padding:14px 16px;border-radius:18px;border:1px solid #e2efe9;background:#fff}
.klx-person + .klx-person{margin-top:10px}
.klx-person small{display:block;color:#5c7c73;margin-top:4px}
.klx-person input{width:20px;height:20px;accent-color:#10b981}
.klx-content h3{margin:18px 0 10px}
.klx-invite .klx-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:12px;padding:8px 14px;border:1px solid #c5e4da;border-radius:12px;box-sizing:border-box;text-decoration:none}
.klx-invite .klx-primary{min-height:50px}
.klx-content #klx-message{font-size:14px;line-height:1.45;overflow-wrap:anywhere;margin:8px 0;padding:12px 14px;border-radius:12px}
.klx-content #klx-message.klx-error{background:#fff0f1;color:#9f2137}
.klx-content #klx-message.klx-ok{background:#edfdf7;color:#0f6b53}
@media(max-width:860px){
  .kl-panel{padding:18px!important;border-radius:22px!important}
  .kl-panel .kl-stage{min-height:260px}
  .kl-panel .kl-setup{grid-template-columns:1fr}
  .kl-panel .kl-actions{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .kl-panel{width:100vw!important;max-width:none!important;min-height:100dvh;border-radius:0!important;padding:18px 14px 24px!important}
  .kl-panel .kl-close{width:48px;height:48px;border-radius:16px}
  .kl-panel h1{font-size:clamp(34px,10vw,46px)}
  .kl-panel .kl-status{font-size:17px}
  .kl-panel .kl-stage{min-height:210px;border-radius:24px}
  .kl-panel .kl-stage span{font-size:18px}
  .kl-panel .kl-setup>label{padding:16px}
  .kl-panel .kl-actions{grid-template-columns:1fr;gap:12px}
  .klx-invite .klx-link{display:flex;width:100%}
}
