/* Lamtuna - visual-only skin for cloned private call windows. No JS. */
@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@500;600;700&display=swap');
/* Match only the two actual call window structures; never the private chat or live panel. */
:is(div.bgg:has(> .uzer):has(> .callvideoaccept),div.bgg:has(> .uzer):has(> .hangupwbrtc)) {
  position:fixed!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;
  transform:translate(-50%,-50%)!important;margin:0!important;width:min(88vw,340px)!important;
  max-width:340px!important;min-width:0!important;min-height:0!important;height:390px!important;
  max-height:calc(100dvh - 24px)!important;box-sizing:border-box!important;padding:24px 16px!important;
  background:#fff!important;border:1px solid #e9edf3!important;border-radius:24px!important;
  box-shadow:0 20px 65px rgba(0,0,0,.28)!important;z-index:99999!important;
  text-align:center!important;direction:rtl!important;font-family:'El Messiri',Tahoma,sans-serif!important;
}
:is(div.bgg:has(> .uzer):has(> .callvideoaccept),div.bgg:has(> .uzer):has(> .hangupwbrtc)) > .uzer {
  position:static!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;
  display:block!important;background:transparent!important;
}
:is(div.bgg:has(> .uzer):has(> .callvideoaccept),div.bgg:has(> .uzer):has(> .hangupwbrtc)) > .uzer > .uzr {
  display:flex!important;flex-direction:column!important;align-items:center!important;
  width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;
  float:none!important;border:0!important;background:transparent!important;text-align:center!important;
}
:is(div.bgg:has(> .uzer):has(> .callvideoaccept),div.bgg:has(> .uzer):has(> .hangupwbrtc)) > .uzer > .uzr > .u-pic {
  display:block!important;float:none!important;flex:none!important;order:0!important;
  width:120px!important;height:120px!important;min-width:120px!important;min-height:120px!important;
  max-width:120px!important;max-height:120px!important;margin:6px auto 16px!important;padding:0!important;
  border:5px solid #36d98e!important;border-radius:50%!important;object-fit:cover!important;
  background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;
  box-shadow:0 0 0 5px rgba(54,217,142,.13)!important;
}
:is(div.bgg:has(> .uzer):has(> .callvideoaccept),div.bgg:has(> .uzer):has(> .hangupwbrtc)) > .uzer > .uzr > div {
  display:block!important;float:none!important;width:100%!important;height:auto!important;
  max-width:100%!important;margin:0!important;padding:0!important;text-align:center!important;
}
:is(div.bgg:has(> .uzer):has(> .callvideoaccept),div.bgg:has(> .uzer):has(> .hangupwbrtc)) > .uzer > .uzr > div > div,
:is(div.bgg:has(> .uzer):has(> .callvideoaccept),div.bgg:has(> .uzer):has(> .hangupwbrtc)) > .uzer > .uzr > div > div > div {
  display:block!important;float:none!important;width:100%!important;max-width:100%!important;
  margin:0!important;padding:0!important;text-align:center!important;
}
:is(div.bgg:has(> .uzer):has(> .callvideoaccept),div.bgg:has(> .uzer):has(> .hangupwbrtc)) .u-topic {
  display:block!important;float:none!important;width:100%!important;max-width:100%!important;
  margin:0!important;padding:0!important;background:transparent!important;color:#1e293b!important;
  font-size:19px!important;font-weight:700!important;line-height:1.7!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
/* Incoming: native accept/deny elements retain their existing event handlers. */
div.bgg:has(> .uzer):has(> .callvideoaccept)::after {
  content:'يريد التحدث معك...';position:absolute;top:240px;left:8px;right:8px;
  color:#7b8496;font-size:18px;font-weight:700;pointer-events:none;
}
div.bgg:has(> .uzer):has(> .callvideoaccept) > .callvideoaccept,
div.bgg:has(> .uzer):has(> .callvideoaccept) > .callvideodeny {
  position:absolute!important;bottom:28px!important;top:auto!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:74px!important;height:74px!important;padding:0!important;margin:0!important;
  border:0!important;border-radius:50%!important;color:#fff!important;
  font-size:0!important;box-shadow:0 8px 18px rgba(0,0,0,.13)!important;
}
div.bgg:has(> .uzer):has(> .callvideoaccept) > .callvideoaccept {right:calc(50% + 28px)!important;background:#08c95c!important;}
div.bgg:has(> .uzer):has(> .callvideoaccept) > .callvideodeny {left:calc(50% + 28px)!important;background:#fb3046!important;}
div.bgg:has(> .uzer):has(> .callvideoaccept) > :is(.callvideoaccept,.callvideodeny)::before {
  font-family:FontAwesome!important;font-size:28px!important;line-height:1!important;
}
div.bgg:has(> .uzer):has(> .callvideoaccept) > .callvideoaccept::before {content:'\f095'!important;}
div.bgg:has(> .uzer):has(> .callvideoaccept) > .callvideodeny::before {content:'\f095'!important;transform:rotate(135deg);}
/* Connected call controls. */
div.bgg:has(> .uzer):has(> .hangupwbrtc) > .statecall {
  position:absolute!important;top:239px!important;left:12px!important;right:12px!important;
  width:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;
  color:#7b8496!important;font-size:17px!important;font-weight:700!important;float:none!important;
}
div.bgg:has(> .uzer):has(> .hangupwbrtc) > :is(.hangupwbrtc,.mutemic,.vloumemic) {
  position:absolute!important;bottom:26px!important;top:auto!important;float:none!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:62px!important;height:62px!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:50%!important;background:#304764!important;color:#fff!important;
  font-size:22px!important;box-shadow:0 7px 16px rgba(0,0,0,.13)!important;
}
div.bgg:has(> .uzer):has(> .hangupwbrtc) > .hangupwbrtc {
  right:calc(50% - 31px)!important;background:#fb3046!important;font-size:0!important;
}
div.bgg:has(> .uzer):has(> .hangupwbrtc) > .hangupwbrtc::before {
  content:'\f095'!important;font-family:FontAwesome!important;font-size:25px!important;transform:rotate(135deg);
}
div.bgg:has(> .uzer):has(> .hangupwbrtc) > .mutemic {right:calc(50% + 51px)!important;}
div.bgg:has(> .uzer):has(> .hangupwbrtc) > .vloumemic {left:calc(50% + 51px)!important;}
@media(max-height:460px){
  :is(div.bgg:has(> .uzer):has(> .callvideoaccept),div.bgg:has(> .uzer):has(> .hangupwbrtc)){height:315px!important;}
  :is(div.bgg:has(> .uzer):has(> .callvideoaccept),div.bgg:has(> .uzer):has(> .hangupwbrtc)) > .uzer > .uzr > .u-pic {width:80px!important;height:80px!important;min-width:80px!important;min-height:80px!important;max-width:80px!important;max-height:80px!important;}
  div.bgg:has(> .uzer):has(> .callvideoaccept)::after,div.bgg:has(> .uzer):has(> .hangupwbrtc) > .statecall{top:198px!important;}
  div.bgg:has(> .uzer):has(> .callvideoaccept) > :is(.callvideoaccept,.callvideodeny),div.bgg:has(> .uzer):has(> .hangupwbrtc) > :is(.hangupwbrtc,.mutemic,.vloumemic){bottom:12px!important;}
}
