@media (min-width: 961px) and (min-height: 600px) {
  body.login-mode { overflow: hidden; }
  body.login-mode .login-grid { display: grid; grid-template-columns: minmax(0, 1fr) 520px; }
  body.login-mode .login-photo {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 60px;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: #065dde;
  }
  body.login-mode .login-photo::after {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .07), transparent 70%);
    content: "";
    pointer-events: none;
    transform: translate(-50%, -50%);
  }
  .login-brand-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 1;
    background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .login-brand-rings { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .login-brand-rings i {
    position: absolute;
    display: block;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .045);
    animation: loginFloatBreath 5.2s ease-in-out infinite;
    will-change: transform, opacity;
  }
  .login-brand-rings i:nth-child(1) { top: -60px; right: -60px; width: 200px; height: 200px; }
  .login-brand-rings i:nth-child(2) { bottom: 15%; left: -30px; width: 120px; height: 120px; animation-delay: -1.7s; }
  .login-brand-rings i:nth-child(3) { top: 30%; right: 10%; width: 80px; height: 80px; background: rgba(255, 255, 255, .035); animation-delay: -3.4s; }
  .login-brand-lockup { position: relative; z-index: 1; width: min(440px, 84%); text-align: center; }
  .login-brand-logo { width: 56px; height: 56px; margin: 0 auto 48px; color: #fff; }
  .login-brand-logo svg { display: block; width: 56px; height: 56px; }
  body.login-mode .login-brand-lockup h1 {
    margin: 0 0 28px;
    color: #fff;
    font-family: Inter, "PingFang SC", "Microsoft YaHei UI", sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
  }
  .login-brand-line { display: block; width: 40px; height: 2px; margin: 0 auto 28px; background: rgba(255, 255, 255, .3); }
  .login-brand-lockup p { max-width: 420px; margin: 0 auto; color: rgba(255, 255, 255, .82); font-size: 18px; font-weight: 300; line-height: 1.7; letter-spacing: 0; }
  body.login-mode .login-brand-foot { position: absolute; right: 0; bottom: 40px; left: 0; z-index: 1; margin: 0; color: rgba(255, 255, 255, .38); font-size: 12px; line-height: 1.5; text-align: center; letter-spacing: 0; }
  .login-auth-side { width: 520px; min-width: 520px; padding: 60px 72px; border-left: 0; }
  body.login-mode .login-auth-content { width: 100%; margin: 0; }
  .login-mobile-brand { display: none; }
  body.login-mode .login-welcome { margin-bottom: 48px; }
  body.login-mode .login-welcome h2 { font-size: 28px; }
  #login-form input { font-size: 15px; }
  body.login-mode .login-copyright { position: absolute; right: 72px; bottom: 40px; left: 72px; margin: 0; }
}

@keyframes loginFloatBreath {
  0%, 100% { opacity: .72; transform: scale(.94); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .login-brand-rings i { animation: none; }
}
