body.auth-replay { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; margin: 0; background: #fff; }
.auth-brand { position: absolute; top: 22px; left: 28px; right: 28px; z-index: 3; display: flex; align-items: center; gap: 16px; }
.auth-brand a { display: inline-flex; align-items: center; flex: none; gap: 10px; color: #111; font-size: 20px; font-weight: 700; line-height: 28px; text-decoration: none; }
.auth-brand .header-logo { width: 28px; height: 28px; }
.auth-brand > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-left: 1px solid #ddd; padding-left: 16px; color: #8a8a8a; font-size: 14px; font-weight: 500; }
.auth-media { position: relative; grid-column: 1; grid-row: 1; min-height: 100svh; min-width: 0; overflow: hidden; background: #eeeef0; }
#auth-replay { position: absolute; inset: 0 -10% 0 -8%; pointer-events: none; }
#auth-replay canvas { display: block; }
body.auth-replay > .container { grid-column: 2; grid-row: 1; min-width: 0; padding: 100px 48px 60px; }
.auth-replay .login-wrapper { max-width: 440px; }
@media (max-width: 899px) {
  body.auth-replay { display: flex; flex-direction: column; }
  .auth-brand { top: 18px; left: 24px; right: 24px; }
  body.auth-replay > .container { order: 0; flex: none; padding: 100px 24px 16px; }
  .auth-media { order: 1; flex: 1 0 320px; min-height: 320px; }
  #auth-replay { inset: -60px -16% -60px; }
}

.auth-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, transparent 72%, #fff),
    linear-gradient(#fff, transparent 40%, transparent 85%, #fff); }
@media (max-width: 899px) {
  .auth-media::after {
    background: linear-gradient(#fff, transparent 35%, transparent 80%, #fff); }
}

.auth-replay .login-header { text-align: left; }
.auth-replay .login-header { margin-bottom: 40px; }
.auth-replay .login-header h2 { margin: 0; font-size: 46px; line-height: 1.2; font-weight: 700; text-transform: lowercase; }
.auth-replay .login-box { padding: 0; border: 0; background: transparent; }
@media (max-width: 520px) {
  .auth-replay .login-header h2 { font-size: 40px; }
}
