/* The standalone route reuses the prototype modal-box outside a dialog. */
.user-login-card { width: 100%; scale: 1; transform: none; opacity: 1; max-height: none; }
.bookmark-control { display: contents; }
.login-link { text-decoration: none; }

/* Account menu form preserves the migrated prototype button row. */
.user-account-logout { display: contents; }
.menu li > .user-account-logout { padding: 0; background: none; }
.user-account-logout > button { display: flex; width: 100%; text-align: left; cursor: pointer; }
.user-account-logout > button:hover { background: var(--color-base-200); }
.user-account-logout > button:focus-visible { outline: 2px solid var(--color-base-content); outline-offset: -2px; }
.login-success-copy { text-wrap: balance; }
.login-recovery { border-top: 1px solid var(--color-base-300); padding-top: 20px; }

/* R17 (D725): Pinterest-style list footer at the guest page limit. The fade
   covers the bottom of the last loaded cards without blocking their clicks. */
#home-more.has-guest-gate > :not(.guest-gate) { display: none; }
.guest-gate { position: relative; padding: 2.5rem 0 1rem; }
.guest-gate-fade { position: absolute; left: 0; right: 0; bottom: 100%; z-index: 20; height: 14rem; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--color-base-100) 92%); }
.guest-gate-body { display: flex; flex-direction: column; gap: 1.5rem; align-items: stretch; text-align: center; max-width: 64rem; margin: 0 auto; }
.guest-gate-actions { display: flex; flex-direction: column; gap: .5rem; width: 100%; max-width: 22rem; margin: 0 auto; }
@media (min-width: 768px) {
  .guest-gate-body { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; padding: 0 2.5rem; }
  .guest-gate-actions { margin: 0; }
}
