
/* v68 - back to phone mockup, with safer captcha fit */
.v65-layout{
  width:min(1160px,calc(100vw - 48px))!important;
  grid-template-columns:minmax(0,650px) 350px!important;
  gap:44px!important;
  justify-content:center!important;
}
.v65-phone-area{
  justify-content:center!important;
}
.v65-phone{
  width:min(350px,30vw,calc((100svh - 34px)*.5131579))!important;
  max-width:350px!important;
}

/* Keep phone form compact but readable */
.v65-phone-content{
  padding:2px 22px 9px!important;
}
.v65-phone-brand img{width:46px!important;height:46px!important}
.v65-phone-brand{margin-bottom:5px!important}
.v65-phone-brand strong{font-size:14px!important}
.v65-welcome h2{font-size:22px!important;margin:5px 0 2px!important}
.v65-welcome p{font-size:7.5px!important;margin-bottom:4px!important}
.v65-secure-row{padding:4px 7px!important;margin-bottom:4px!important}
.v65-form{gap:3px!important}
.v65-form label{gap:2px!important;font-size:6.8px!important}
.v65-input{min-height:33px!important}
.v65-captcha-row{
  grid-template-columns:minmax(0,1fr) 42px!important;
  gap:6px!important;
}
.v65-captcha-box{
  height:39px!important;
  overflow:hidden!important;
}
.v65-captcha-box img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
}
.v65-captcha-row>button{min-width:42px!important}
.v65-submit{min-height:34px!important;margin-top:1px!important}
.v65-security{margin-top:3px!important;font-size:5.8px!important}
.v65-homebar{margin-top:2px!important;height:3px!important}

/* At large effective viewport (often zoomed out), don't enlarge phone/form */
@media(min-width:1500px){
  .v65-layout{
    width:1120px!important;
    grid-template-columns:650px 340px!important;
    gap:42px!important;
  }
  .v65-phone{width:340px!important}
}

/* Laptop */
@media(max-width:1100px) and (min-width:821px){
  .v65-layout{
    width:min(950px,calc(100vw - 30px))!important;
    grid-template-columns:minmax(0,1fr) 320px!important;
    gap:24px!important;
  }
  .v65-phone{
    width:min(320px,32vw,calc((100svh - 24px)*.5131579))!important;
  }
}

/* Short laptop screens */
@media(max-height:720px) and (min-width:821px){
  .v65-phone{
    width:min(300px,30vw,calc((100svh - 14px)*.5131579))!important;
  }
  .v65-phone-content{padding:1px 18px 5px!important}
  .v65-phone-brand img{width:38px!important;height:38px!important}
  .v65-phone-brand strong{font-size:12px!important}
  .v65-phone-brand small{font-size:7px!important}
  .v65-welcome>span{font-size:5.8px!important}
  .v65-welcome h2{font-size:18px!important}
  .v65-welcome p{font-size:6.4px!important}
  .v65-secure-row{font-size:5.8px!important}
  .v65-input{min-height:29px!important}
  .v65-captcha-box{height:34px!important}
  .v65-submit{min-height:30px!important}
  .v65-security{font-size:5.2px!important}
}

@media(max-width:820px){
  .v65-layout{
    width:min(680px,calc(100vw - 24px))!important;
    grid-template-columns:1fr!important;
    gap:28px!important;
  }
  .v65-phone-area{justify-content:center!important}
  .v65-phone{
    width:min(350px,92vw)!important;
    max-width:none!important;
  }
}
