/* Reserve visible bottom rows instead of growing a zoomed authentication card. */
.loginShell.bttdBwpAuth>.loginPanel{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr) auto auto!important;
  align-content:stretch!important;
  align-items:start!important;
  justify-items:center!important;
  justify-content:stretch!important;
  box-sizing:border-box!important;
  gap:10px!important;
  padding-bottom:max(14px,env(safe-area-inset-bottom))!important;
  overflow:hidden!important;
}
.loginShell.bttdBwpAuth>.loginPanel>.loginBox.signinMode,
.loginShell.bttdBwpAuth>.loginPanel>.loginBox.signupMode{
  grid-row:1!important;
  align-self:end!important;
  flex:none!important;
  min-height:0!important;
  height:auto!important;
  max-height:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  scrollbar-width:thin;
}
.loginShell.bttdBwpAuth>.loginPanel>.loginBox .subscriptionLine{
  margin-top:10px!important;
}
/* A compact icon and two closely spaced lines, without empty grid lanes. */
.loginShell.bttdBwpAuth>.loginPanel>.panelAwsSecurity{
  grid-row:2!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-height:60px!important;
  height:auto!important;
  padding:10px 12px!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.loginShell.bttdBwpAuth>.loginPanel>.panelAwsSecurity>span{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
}
.loginShell.bttdBwpAuth>.loginPanel>.panelAwsSecurity>p{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:4px!important;
  min-width:0!important;
  margin:0!important;
  text-align:left!important;
}
.loginShell.bttdBwpAuth>.loginPanel>.panelAwsSecurity>p>strong{
  margin:0!important;
  font-size:12px!important;
  line-height:1.25!important;
  text-align:left!important;
}
.loginShell.bttdBwpAuth>.loginPanel>.panelAwsSecurity .awsSecurityCopy{
  width:auto!important;
  margin:0!important;
  font-size:clamp(7px,.6vw,9px)!important;
  line-height:1.3!important;
  text-align:left!important;
  white-space:nowrap!important;
}
.loginShell.bttdBwpAuth>.loginPanel>.siteLegalFooter{
  grid-row:3!important;
  align-self:end!important;
  height:auto!important;
  min-height:56px!important;
  max-height:none!important;
  margin:0!important;
  padding:9px 12px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
@media(max-width:820px){
  .loginShell.bttdBwpAuth>.loginPanel>.panelAwsSecurity .awsSecurityCopy{white-space:normal!important;font-size:9px!important}
}
