/* The ordinary mobile website keeps the PC entrance and PC workspace.
   /mobile remains the separate H5 application and does not load this file. */
@media (max-width:760px) {
  html body.workspace-readable.public-auth-open #mobileHome,
  html body.workspace-readable.public-auth-open.mobile-page-open #mobileDock.mobile-dock,
  html body.workspace-readable.public-auth-open #mobileDock.mobile-dock {
    display:none!important;
  }

  html body.workspace-readable.public-auth-open {
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:100dvh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    background:#edf5ff!important;
  }

  html body.workspace-readable.public-auth-open #authModal.mobile-app-page:not(.hidden) {
    position:fixed!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    max-width:none!important;
    height:100dvh!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#edf5ff!important;
  }

  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) > .auth-landing-shell {
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    overflow:hidden!important;
  }

  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .auth-story.login-site {
    position:relative!important;
    inset:auto!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    border:0!important;
    border-radius:0!important;
    background:linear-gradient(180deg,#f8fbff 0%,#eef6ff 54%,#e6f1ff 100%)!important;
    box-shadow:none!important;
    transform:none!important;
    -webkit-overflow-scrolling:touch;
  }

  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-header {
    position:sticky!important;
    z-index:12!important;
    top:0!important;
    inset-inline:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    width:100%!important;
    height:auto!important;
    min-height:calc(68px + env(safe-area-inset-top))!important;
    padding:calc(12px + env(safe-area-inset-top)) 18px 10px!important;
    background:rgba(248,252,255,.94)!important;
    box-shadow:0 1px 0 rgba(36,91,164,.08)!important;
    backdrop-filter:blur(14px)!important;
  }

  html body.workspace-readable.public-auth-open #authModal .login-site-brand {
    position:static!important;
    display:flex!important;
    width:auto!important;
    height:auto!important;
    align-items:center!important;
    gap:10px!important;
  }
  html body.workspace-readable.public-auth-open #authModal .login-site-brand strong {
    color:#0a3476!important;
    font-size:21px!important;
    line-height:1!important;
  }
  html body.workspace-readable.public-auth-open #authModal .login-site-brand i {
    width:1px!important;
    height:20px!important;
  }
  html body.workspace-readable.public-auth-open #authModal .login-site-brand span {
    color:#6b7f9c!important;
    font-size:10px!important;
  }
  html body.workspace-readable.public-auth-open #authModal .login-site-account {
    position:static!important;
    display:flex!important;
    width:auto!important;
    height:auto!important;
    align-items:center!important;
  }
  html body.workspace-readable.public-auth-open #authModal .login-site-account .auth-header-login {
    position:static!important;
    display:inline-flex!important;
    width:auto!important;
    min-width:88px!important;
    height:42px!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 15px!important;
    border:0!important;
    border-radius:999px!important;
    background:linear-gradient(135deg,#075ec8,#148de9)!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:850!important;
  }

  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-body {
    position:relative!important;
    inset:auto!important;
    display:flex!important;
    width:100%!important;
    height:auto!important;
    min-height:calc(100dvh - 68px - env(safe-area-inset-top))!important;
    flex-direction:column!important;
    padding:0 0 calc(20px + env(safe-area-inset-bottom))!important;
  }
  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-copy {
    position:relative!important;
    inset:auto!important;
    display:block!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    padding:34px 22px 18px!important;
    box-sizing:border-box!important;
  }
  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-kicker {
    position:static!important;
    margin:0 0 13px!important;
    color:#2576e6!important;
    font-size:10px!important;
    letter-spacing:.24em!important;
  }
  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-copy h1 {
    position:static!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    color:#061b50!important;
    font-size:clamp(38px,11vw,50px)!important;
    line-height:1.08!important;
    white-space:normal!important;
    transform:none!important;
  }
  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-copy h1 em {
    display:inline!important;
    color:#1377ef!important;
    transform:none!important;
  }
  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-description {
    position:static!important;
    max-width:350px!important;
    margin:20px 0 0!important;
    color:#38577f!important;
    font-size:15px!important;
    line-height:1.7!important;
  }
  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-actions {
    position:static!important;
    display:block!important;
    margin:22px 0 0!important;
  }
  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-actions .auth-landing-login {
    display:flex!important;
    width:100%!important;
    height:54px!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    border-radius:16px!important;
    font-size:17px!important;
  }
  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-features {
    position:static!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    height:auto!important;
    gap:8px!important;
    margin:20px 0 0!important;
    padding:0!important;
  }
  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-features > span {
    min-height:66px!important;
    padding:11px 10px!important;
    border-radius:15px!important;
  }
  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-stats {
    display:none!important;
  }
  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-visual {
    position:relative!important;
    inset:auto!important;
    display:block!important;
    width:auto!important;
    height:clamp(210px,31dvh,300px)!important;
    min-height:210px!important;
    margin:4px 18px 24px!important;
    flex:0 0 auto!important;
    border:1px solid rgba(255,255,255,.92)!important;
    border-radius:26px!important;
    background:url('/assets/auth/login-landing-clean-plate-v6.png') 66% center/cover no-repeat!important;
    box-shadow:0 22px 52px rgba(40,92,162,.16)!important;
    overflow:hidden!important;
  }
  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-visual > img,
  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-monitor-ui,
  html body.workspace-readable.public-auth-open #authModal:not(:has(#securityPanel:not(.hidden))) .login-site-float {
    display:none!important;
  }
}
