:root{--relove-plum:#5f244f;--relove-rose:#d43f7c;--relove-soft:#fff2f7;--relove-ink:#261c24}
.identity-page{background:linear-gradient(145deg,#2a172e 0,#642655 48%,#f3dbe6 130%)!important}
.identity-showcase{background:radial-gradient(circle at 24% 18%,rgba(255,255,255,.12),transparent 32%),linear-gradient(145deg,#241229,#6a2858 58%,#a92f69)!important}
.identity-brand strong,.identity-mobile-brand strong{letter-spacing:.12em!important}
.identity-brand em{font-style:normal!important;color:#ffd6e5!important}
.identity-main{background:#fffafd!important}
.identity-content{filter:drop-shadow(0 22px 55px rgba(54,23,46,.08))}
.auth-switch button.active,.identity-submit{background:linear-gradient(135deg,var(--relove-plum),var(--relove-rose))!important;border-color:var(--relove-plum)!important}
.auth-field:focus-within{border-color:#b8326f!important;box-shadow:0 0 0 3px rgba(184,50,111,.1)!important}
.identity-secondary,.identity-main a{color:#772858}
.device-cta{background:#fff!important;color:#672552!important}
.art-floating{border-color:rgba(255,255,255,.18)!important;background:rgba(255,255,255,.12)!important;backdrop-filter:blur(10px)}
.email-code-login{
 width:100%;min-height:54px;border:1px solid #dfd1db;border-radius:12px;background:#fff;
 display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;column-gap:10px;
 text-align:left;align-items:center;padding:8px 12px;cursor:pointer;color:#4f2a44;
 transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease
}
.email-code-login:hover{border-color:#b8326f;box-shadow:0 7px 22px rgba(86,37,70,.08);transform:translateY(-1px)}
.email-code-login>span{grid-row:1/3;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#fff0f6;color:#a52f69;font-size:16px}
.email-code-login b{font-size:12.5px;line-height:1.2}
.email-code-login small{font-size:10px;color:#8d7786}
.auth-code-field input{font-size:20px!important;letter-spacing:.18em!important;font-weight:750!important;text-align:center!important}

/* ===== v57 single secure auth flow ===== */
.relove-login .identity-content{width:min(100%,430px)!important}
.relove-auth-card{
  position:relative;
  padding:26px!important;
  border:1px solid #eadfe7!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 24px 70px rgba(54,24,47,.11)!important;
}
.auth-step-icon{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;margin-bottom:14px;
  background:linear-gradient(135deg,#fff0f6,#f2e8f2);
  color:#8a2b64;font-weight:900;font-size:17px;
  border:1px solid #ecdbe6
}
.relove-auth-card h1{font-size:28px!important;line-height:1.08!important;margin-bottom:9px!important}
.relove-auth-card .identity-subtitle{font-size:13px!important;line-height:1.55!important;margin-bottom:20px!important}
.relove-auth-card .auth-field{height:49px!important;border-radius:12px!important}
.relove-auth-card .auth-field input{font-size:15px!important}
.relove-auth-card .identity-submit{height:49px!important;border-radius:12px!important;margin-top:16px!important}
.relove-auth-card .auth-message{border-radius:11px!important;font-size:12px!important;line-height:1.5!important}
.continue-guest{
  display:block;margin-top:13px;padding-top:13px;border-top:1px solid #eee5eb;
  text-align:center;text-decoration:none;font-size:11px;font-weight:700;color:#772858!important
}
.auth-back{width:100%!important;margin-top:6px!important;text-align:center!important}
.passkey-panel{text-align:center;padding-top:4px}
.passkey-panel h2{font-size:20px;margin:9px 0 6px}
.passkey-panel p{font-size:12px;line-height:1.55;color:#7c6d77;margin:0 0 10px}
.passkey-mark{
  width:52px;height:52px;margin:0 auto;border-radius:17px;display:grid;place-items:center;
  background:linear-gradient(135deg,#eaf6f3,#fff1f6);color:#397b6b;font-size:22px
}

@media(max-width:760px){
  .relove-login{background:#fbf8fb!important}
  .relove-login .identity-main{
    min-height:100dvh!important;padding:14px 14px 24px!important;
    background:linear-gradient(180deg,#fff 0,#fbf7fa 100%)!important;
  }
  .relove-login .identity-mobile-brand{margin:0 0 22px!important}
  .relove-login .identity-content{width:100%!important;max-width:430px!important}
  .relove-login .welcome-chip{font-size:9px!important;margin-bottom:9px!important}
  .relove-auth-card{
    padding:18px 16px!important;
    border-radius:16px!important;
    box-shadow:0 12px 36px rgba(54,24,47,.07)!important;
  }
  .relove-auth-card h1{font-size:23px!important}
  .relove-auth-card .identity-subtitle{font-size:12px!important;margin-bottom:16px!important}
  .relove-auth-card .form-caption{font-size:10px!important;margin-bottom:5px!important}
  .relove-auth-card .auth-field{height:46px!important}
  .relove-auth-card .auth-field input{font-size:14px!important}
  .relove-auth-card .identity-submit{height:46px!important;font-size:12px!important}
  .relove-login .identity-bottom{font-size:9px!important;margin-top:14px!important}
}
.auth-form-row{margin-top:14px}
.auth-forgot{display:block;margin:9px 0 0 auto!important;color:#772858!important}
#recoveryRow{margin-bottom:14px}
.recovery-save{margin-top:4px!important}
.recovery-save p{margin:5px 0 10px;color:#6f7d75}
.recovery-save code{display:block;padding:10px 12px;border-radius:10px;background:#fff;border:1px dashed #d9c5d3;color:#5f244f;font-weight:800;font-size:11px;word-break:break-all}
.recovery-actions{display:grid;grid-template-columns:1fr;gap:7px;margin-top:10px}
.recovery-actions .identity-secondary,.recovery-actions .identity-submit{margin:0!important}
#authSwitch[hidden]{display:none!important}
@media(max-width:760px){
  .auth-switch{margin-bottom:18px!important}
  .auth-switch button{padding:10px 7px!important;font-size:12px!important}
}