/* Release-only controls inherit the canonical product's fonts and colors. */
/* Keep the display at 440:956; never shorten its height independently.
 * Explicit inner dimensions avoid fractional border rounding at browser zoom. */
html.rd body .phone {
  position:fixed; left:50%; top:50%;
  width:462px !important; height:978px !important;
  min-width:0; min-height:0; max-width:none; max-height:none;
  box-sizing:border-box; padding:0; border:1px solid #292d3c;
  display:grid; place-items:center;
  border-radius:42px; margin:0; animation:none;
  transform:translate(-50%,-50%) scale(var(--web-device-scale,1)) !important;
  transform-origin:center center;
}
html.rd body .phone .screen { width:440px; height:956px; border-radius:33px; }
/* Native phones/tablets keep usable text size and follow browser toolbar and
 * keyboard height instead of putting a second scaled phone inside the device. */
@media (hover:none) and (pointer:coarse) {
  html.rd body .phone {
    position:relative; left:auto; top:auto; width:100% !important;
    height:100vh !important; height:100dvh !important;
    padding:0; border:0; border-radius:0; box-shadow:none;
    transform:none !important;
  }
  html.rd body { padding:0; }
  html.rd body .phone .screen { width:100%; height:100%; border-radius:0; }
}
#login-screen #login-code-field { display:block !important; }
#login-screen label[hidden], #login-screen #platform-real-login,
#login-screen .referral-login, #login-run-guide, #login-run-steps { display:none !important; }
#login-screen #login-password-field { display:block !important; }
#login-screen .login-input-wrap input { min-width:0; }
.web-password-toggle { border:0; background:transparent; color:var(--ink-2); min-width:48px; min-height:44px; cursor:pointer; font:inherit; font-size:13px; }
.web-password-toggle:focus-visible, #login-alt:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
.web-account-help { font-size:12px; line-height:1.6; color:var(--ink-2); margin:8px 2px 12px; }
.web-icp { display:block; text-align:center; font-size:12px; line-height:1.6; color:var(--ink-2); margin:14px 0; padding:8px; }
#login-alt { min-height:44px; }
#login-screen .login-field-label { font-size:12px; }
#security-body [hidden], #pwd-body [hidden], #delete-account-body [hidden] { display:none !important; }
