.yw-recovery-auth .ywa-panel{display:block!important}
.yw-recovery-auth .yw-recovery-form label{display:block;margin:0 0 20px;font-weight:400}
.yw-recovery-auth .yw-recovery-form input{display:block;width:100%;box-sizing:border-box;margin-top:8px;min-height:48px;padding:10px 14px;border:1px solid #ddd;border-radius:10px;font:inherit}
.yw-recovery-auth .yw-recovery-form button{width:100%;min-height:48px;border:0;border-radius:10px;background:#e41a91;color:#fff;font:inherit;cursor:pointer}
.yw-recovery-auth .yw-recovery-back{margin-top:18px;text-align:center}
.yw-recovery-auth .yw-recovery-notice{padding:12px 14px;border:1px solid currentColor;border-radius:10px;font-size:13px}
@media(max-width:650px){
 body:has(.yw-recovery-auth) .yw-recovery-auth .ywa-panel{display:block!important}
 body:has(.yw-recovery-auth) .yw-recovery-auth .yw-recovery-form label{color:#fff!important;font-weight:400!important}
 body:has(.yw-recovery-auth) .yw-recovery-auth .yw-recovery-form input{background:transparent!important;border:1.5px solid #fff!important;color:#fff!important;font-weight:400!important}
 body:has(.yw-recovery-auth) .yw-recovery-auth .yw-recovery-form button{background:#fff!important;color:#161616!important;font-weight:400!important}
 body:has(.yw-recovery-auth) .yw-recovery-auth .yw-recovery-back a{color:#fff!important}
 body:has(.yw-recovery-auth) .yw-recovery-auth .ywa-panel>h3{font-size:26px!important;font-weight:400!important}
 body:has(.yw-recovery-auth) .yw-recovery-auth .ywa-panel>p{font-size:13px!important}
}

/* 3.1.91: recovery-only layout; preserve the global login and desktop layout. */
.yw-recovery-auth .yw-recovery-notice{font-weight:400;line-height:1.6}
.yw-recovery-auth .yw-recovery-done{margin-top:22px}
@media(max-width:650px){
 body:has(.yw-recovery-auth) .ywh-main{padding:0!important;margin:0!important}
 body:has(.yw-recovery-auth) .yw-recovery-auth{min-height:calc(100svh - 78px)!important;padding:30px 24px 42px!important;align-items:flex-start!important}
 body:has(.yw-recovery-auth) .yw-recovery-auth .ywa-auth-content{margin:0 auto!important;padding:28px 24px!important}
 body:has(.yw-recovery-auth) .yw-recovery-auth .ywa-panel>p.yw-recovery-notice{margin:12px 0 22px!important;padding:14px!important;border:1px solid rgba(255,255,255,.9)!important;border-radius:12px!important;font-size:13px!important;line-height:1.6!important}
 body:has(.yw-recovery-auth) .yw-recovery-auth .yw-recovery-back{margin:16px 0 0!important;text-align:center!important}
 body:has(.yw-recovery-auth) .yw-recovery-auth .yw-recovery-back a{display:inline-block!important;font-size:14px!important;line-height:1.5!important}
}

/* 3.1.92: visual polish for recovery pages only. No changes to form behavior. */
.yw-recovery-auth .yw-recovery-notice{
  box-sizing:border-box;
  border:1px solid rgba(255,255,255,.88);
  border-radius:12px;
  background:rgba(255,255,255,.075);
  font-weight:400;
}
@media screen and (max-width:650px){
  /* Keep one continuous gradient throughout the recovery viewport. */
  body:has(.yw-recovery-auth),
  body:has(.yw-recovery-auth) .ywh-main{
    background:#d71486!important;
  }
  body:has(.yw-recovery-auth) .yw-recovery-auth{
    background:radial-gradient(ellipse at 92% 10%,rgba(255,177,221,.28),transparent 42%),radial-gradient(ellipse at 5% 100%,rgba(255,120,200,.35),transparent 48%),linear-gradient(140deg,#c30c79,#ef2697 52%,#d71486)!important;
    background-repeat:no-repeat!important;
    background-size:100% 100%!important;
    min-height:calc(100svh - 78px)!important;
    padding-bottom:64px!important;
  }
  body:has(.yw-recovery-auth) .yw-recovery-auth .ywa-auth-content{
    padding-bottom:48px!important;
  }
  body:has(.yw-recovery-auth) .yw-recovery-auth .ywa-panel>p.yw-recovery-notice{
    background:rgba(255,255,255,.075)!important;
    border-color:rgba(255,255,255,.88)!important;
  }
  body:has(.yw-recovery-auth) .yw-recovery-auth .yw-recovery-back{
    margin-top:22px!important;
    margin-bottom:0!important;
  }
}

/* v3.1.93: one gradient canvas for the complete recovery page.
   Previously the outer site and inner auth used independent gradients,
   leaving a visible horizontal band below the card on tall screens. */
@media screen and (max-width:650px) {
  body:has(.yw-recovery-auth) .ywh-site {
    display:flex!important;
    flex-direction:column!important;
    min-height:100svh!important;
    background:linear-gradient(140deg,#c30c79 0%,#ef2697 52%,#d71486 100%)!important;
    background-repeat:no-repeat!important;
    background-size:100% 100%!important;
  }
  body:has(.yw-recovery-auth) .ywh-header {
    flex:0 0 auto!important;
  }
  body:has(.yw-recovery-auth) .ywh-main {
    display:flex!important;
    flex:1 0 auto!important;
    flex-direction:column!important;
    min-height:0!important;
    background:transparent!important;
  }
  body:has(.yw-recovery-auth) .yw-recovery-auth {
    display:flex!important;
    flex:1 0 auto!important;
    min-height:0!important;
    margin:0!important;
    padding:30px 24px 64px!important;
    background:transparent!important;
    background-image:none!important;
  }
  body:has(.yw-recovery-auth) .ywh-footer {
    display:none!important;
  }
}

/* v3.1.94: center the recovery card in the available mobile viewport. */
@media screen and (max-width:650px){
 body:has(.yw-recovery-auth) .yw-recovery-auth{
   box-sizing:border-box!important;
   width:100%!important;
   flex:1 0 auto!important;
   min-height:calc(100svh - 78px)!important;
   display:flex!important;
   flex-direction:column!important;
   align-items:center!important;
   justify-content:center!important;
   padding:24px!important;
 }
 body:has(.yw-recovery-auth) .yw-recovery-auth .ywa-auth-content{
   box-sizing:border-box!important;
   width:100%!important;
   max-width:440px!important;
   margin:auto!important;
 }
}
