/* auth-phone.css — login page on phones: dark hero + cream sheet. 20261015lg1
   Desktop (900px and up) is untouched: the hero wrapper is transparent there
   and .lg-new is hidden. */
.lg-new { display: none; }
@media (min-width: 900px) {
  .lg-hero { display: contents; }
  .lg-sheet { display: contents; }
}

@media (max-width: 899px) {
  html, body { background: #121517 !important; }
  body { display: block !important; min-height: 100vh; }
  .left-panel { display: none !important; }
  .mobile-logo { display: block !important; }
  .blob { display: none !important; }
  .right-panel {
    display: flex !important; flex-direction: column !important;
    min-height: 100vh !important; padding: 0 !important; margin: 0 !important; max-width: 100% !important; width: 100% !important;
    background: #121517 !important; align-items: stretch !important; justify-content: flex-start !important;
  }
  .form-wrap {
    max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important;
    display: flex; flex-direction: column; flex: 1; animation: none !important;
    background: transparent !important; border: none !important; box-shadow: none !important; border-radius: 0 !important;
  }
  /* hero */
  .lg-hero {
    flex: 0 0 auto; min-height: 44vh; padding: 76px 22px 22px !important;
    display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  }
  .lg-hero .mobile-logo { margin: 0 0 14px !important; display: block !important; }
  .lg-hero .mobile-logo img { height: 34px !important; }
  .lg-hero .mobile-welcome { display: block !important; margin: 0 !important; animation: none !important; }
  .lg-hero .mw-eyebrow { display: none !important; }
  .lg-hero .mw-heading {
    font-family: 'Bebas Neue', 'Arial Narrow', sans-serif !important; font-size: 50px !important; line-height: .95 !important;
    letter-spacing: 1.5px !important; color: #fff !important; margin: 0 0 10px !important; white-space: normal !important; font-weight: 400 !important;
  }
  .lg-hero .mw-heading span { color: #fff !important; }
  .lg-hero .mw-sub { color: #b7bdc3 !important; font-size: 13.5px !important; line-height: 1.45 !important; max-width: 340px !important; margin: 0 !important; font-weight: 400 !important; }
  /* sheet */
  .lg-sheet {
    flex: 1; background: #f2efe8; border-radius: 24px 24px 0 0; padding: 22px 22px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
    display: flex; flex-direction: column;
  }
  .lg-sheet .form-title, .lg-sheet .form-sub { display: none !important; }
  .lg-sheet label { font-size: 10px !important; letter-spacing: 1.2px !important; color: #6b6f73 !important; font-weight: 800 !important; }
  .lg-sheet .field { margin-bottom: 14px !important; }
  :root:not([data-theme="light"]) .lg-sheet .field input, [data-theme="dark"] .lg-sheet .field input, .lg-sheet .field input, .lg-sheet input {
    background: #fffefb !important; border: 1px solid #e4dfd4 !important; color: #121517 !important; font-weight: 600 !important;
    border-radius: 12px !important; padding: 14px 14px !important; font-size: 16px !important; -webkit-text-fill-color: #121517 !important;
  }
:root:not([data-theme="light"]) .lg-sheet .field input::placeholder, [data-theme="dark"] .lg-sheet .field input::placeholder, .lg-sheet input::placeholder { color: #9aa0a6 !important; font-weight: 400 !important; -webkit-text-fill-color: #9aa0a6 !important; }
:root:not([data-theme="light"]) .lg-sheet .field input:focus, [data-theme="dark"] .lg-sheet .field input:focus, .lg-sheet input:focus { border-color: #c9c3b6 !important; background: #fff !important; box-shadow: none !important; }
  .lg-sheet .pw-toggle { color: #6b6f73 !important; }
  .lg-sheet .btn-submit {
    background: #ba2e1b !important; color: #fff !important; border: none !important; border-radius: 12px !important;
    height: 52px !important; padding: 0 !important; font-size: 16px !important; font-weight: 800 !important; width: 100% !important; margin-top: 2px !important;
    box-shadow: none !important; background-image: none !important;
  }
  .lg-sheet .auth-below-submit { display: flex !important; justify-content: space-between !important; margin: 14px 0 0 !important; }
  .lg-sheet .auth-create-link { display: none !important; }
  .lg-sheet .auth-forgot-link { margin-left: auto !important; color: #99231a !important; font-weight: 700 !important; font-size: 13px !important; background: none !important; border: none !important; padding: 0 !important; }
  .lg-sheet .forgot-panel { margin-top: 12px !important; }
  .lg-sheet .forgot-panel input { font-size: 15px !important; }
  .lg-sheet .oauth-divider { margin: 16px 0 !important; color: #6b6f73 !important; }
  .lg-sheet .oauth-divider span { background: #f2efe8 !important; font-size: 10px !important; letter-spacing: 1.5px !important; text-transform: uppercase !important; font-weight: 800 !important; }
  .lg-sheet .oauth-divider::before, .lg-sheet .oauth-divider::after { background: #e4dfd4 !important; border-color: #e4dfd4 !important; }
  .lg-sheet .oauth-section { gap: 10px !important; }
  .lg-sheet .oauth-btn-host { background: #fffefb !important; border: 1px solid #e4dfd4 !important; border-radius: 12px !important; min-height: 50px !important; display: flex; align-items: center; justify-content: center; }
  .lg-sheet .oauth-btn-facebook { display: none !important; }
  .lg-sheet .form-footer { display: none !important; }
  .lg-new {
    display: block; margin-top: auto; padding-top: 22px; text-align: center; font-size: 13.5px; color: #6b6f73;
  }
  .lg-new a { color: #99231a; font-weight: 800; text-decoration: none; }
  .lg-sheet .alert { margin-bottom: 14px !important; }
}

/* phone on its side: hero left, sheet right, the sheet scrolls */
@media (max-width: 899px) and (orientation: landscape) and (max-height: 560px) {
  .right-panel { min-height: 100vh !important; }
  .form-wrap { flex-direction: row !important; min-height: 100vh; margin: 0 !important; }
  .right-panel { padding: 0 !important; }
  .lg-hero { flex: 0 0 42%; min-height: 0; padding: 18px 20px 20px !important; justify-content: center; }
  .lg-hero .mw-heading { font-size: 40px !important; }
  .lg-hero .mobile-logo img { height: 28px !important; }
  .lg-sheet { flex: 1; border-radius: 24px 0 0 24px; padding: 56px 20px 20px !important; overflow-y: auto; min-width: 0; }
  .lg-sheet .field { margin-bottom: 10px !important; }
  .lg-sheet input { padding: 11px 14px !important; font-size: 15px !important; }
  .lg-sheet .btn-submit { height: 46px !important; }
  .lg-sheet .oauth-divider { margin: 10px 0 !important; }
  .lg-new { padding-top: 14px; }
}
