/* V5.2: corrective mobile layout overrides only; WebRTC and ringtone untouched. */
.tz-call-layer.tz-v51-ready .tz-call-card{isolation:isolate!important}
.tz-call-layer.tz-v51-ready .tz55-call-dock{position:absolute!important;left:50%!important;right:auto!important;top:auto!important;bottom:calc(300px + env(safe-area-inset-bottom,0px))!important;transform:translateX(-50%)!important;width:min(96vw,450px)!important;height:112px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-evenly!important;gap:0!important;padding:0 6px!important;background:none!important;box-shadow:none!important;overflow:visible!important;z-index:225!important}
.tz-call-layer.tz-v51-ready .tz55-call-dock button.tz50-primary-action,.tz-call-layer.tz-v51-ready .tz55-call-dock button.tz53-end-call{position:relative!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;float:none!important;transform:none!important;flex:0 0 clamp(54px,16vw,76px)!important;width:clamp(54px,16vw,76px)!important;height:clamp(54px,16vw,76px)!important;max-width:76px!important;max-height:76px!important;min-width:0!important;min-height:0!important;margin:0 0 20px!important;padding:0!important;border-radius:50%!important;font-size:0!important;line-height:0!important;text-align:center!important;color:transparent!important;white-space:nowrap!important;overflow:visible!important;box-sizing:border-box!important}
.tz-call-layer.tz-v51-ready .tz55-call-dock button.tz50-primary-action::after{content:attr(data-tz50-icon)!important;position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#fff!important;font-size:clamp(25px,7vw,35px)!important;line-height:1!important;pointer-events:none!important}
.tz-call-layer.tz-v51-ready .tz55-call-dock button.tz53-end-call{order:3!important;background:#ff1751!important;border:2px solid #ff1751!important;box-shadow:0 3px 12px #0006!important}
.tz-call-layer.tz-v51-ready .tz55-call-dock button.tz53-end-call::after{content:'☎'!important;transform:rotate(135deg)!important}
.tz-call-layer.tz-v51-ready .tz55-call-dock [data-mic]{order:1!important}.tz-call-layer.tz-v51-ready .tz55-call-dock [data-cam]{order:2!important}.tz-call-layer.tz-v51-ready .tz55-call-dock .tz-v49-speaker{order:4!important}
.tz-call-layer.tz-v51-ready .tz55-call-dock .tz50-action-label{position:absolute!important;top:calc(100% + 7px)!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;display:block!important;width:max-content!important;max-width:90px!important;font-size:12px!important;line-height:16px!important;color:#fff!important;text-align:center!important;text-indent:0!important;white-space:nowrap!important;z-index:2!important}
.tz-call-layer.tz-v51-ready .tz-v49-side-tools{right:8px!important;top:auto!important;bottom:calc(410px + env(safe-area-inset-bottom,0px))!important;gap:7px!important;z-index:210!important}
.tz-call-layer.tz-v51-ready .tz-v49-side-tools button{width:59px!important;height:63px!important;border-radius:17px!important;overflow:hidden!important}
.tz-call-layer.tz-v51-ready .tz-v49-side-tools button span{font-size:25px!important}.tz-call-layer.tz-v51-ready .tz-v49-side-tools button small{font-size:11px!important}
.tz-call-layer.tz-v51-ready .tz-v49-tray{height:215px!important;bottom:calc(77px + env(safe-area-inset-bottom,0px))!important;z-index:230!important}
.tz-call-layer.tz-v51-ready .tz54-call-nav{z-index:240!important}
.tz-call-layer.tz-v51-ready .tz-call-info{max-height:92px!important;overflow:hidden!important}
@media(max-height:750px){.tz-call-layer.tz-v51-ready .tz-v49-tray{height:170px!important}.tz-call-layer.tz-v51-ready .tz55-call-dock{bottom:calc(245px + env(safe-area-inset-bottom,0px))!important}.tz-call-layer.tz-v51-ready .tz-v49-side-tools{bottom:calc(330px + env(safe-area-inset-bottom,0px))!important}}
