/* 389DG — signup legal viewer stays inside account workflow and remains touch-scrollable. */
#signupLegalModal382{z-index:820!important}
#signupLegalModal382 .signup-legal-card-382{
  width:min(96vw,900px)!important;
  height:min(92dvh,900px)!important;
  max-height:92dvh!important;
  padding:22px 18px 16px!important;
  display:grid!important;
  grid-template-rows:auto auto auto minmax(0,1fr)!important;
  overflow:hidden!important;
}
#signupLegalModal382 .signup-legal-help-382{font-size:.86rem;line-height:1.45;color:#eee4eb;margin:.1rem 34px .7rem 0}
#signupLegalModal382 .signup-legal-frame-382{
  width:100%;height:100%;min-height:0;
  border:1px solid rgba(255,255,255,.20);
  border-radius:12px;
  background:#b79a86;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-y pinch-zoom;
}
#joinModal .legal-agreement a{font-weight:900;text-decoration:underline;text-underline-offset:2px}
@media(max-width:760px){
  #signupLegalModal382{padding:6px!important;align-items:stretch!important;overflow:hidden!important}
  #signupLegalModal382 .signup-legal-card-382{width:100%!important;height:calc(100dvh - 12px)!important;max-height:calc(100dvh - 12px)!important;margin:0!important;padding:18px 10px 10px!important;overflow:hidden!important}
  #signupLegalModal382 .signup-legal-help-382{margin-right:36px;font-size:.82rem;line-height:1.45}
  #signupLegalModal382 .signup-legal-frame-382{border-radius:10px;touch-action:pan-y pinch-zoom}
}
