/* NOPH v79 — Profile refinement.
   Mobile dark: remove the clipped ambient glow behind the profile heading.
   Light: bring profile actions into NOPH's consistent violet + restrained red palette. */

@media (max-width: 959px) {
  body:not(.light) .page.auth-page .auth-story::before {
    content: none !important;
    display: none !important;
    background: none !important;
  }
}

body.light .page.auth-page .auth-card .auth-form button.auth-secondary {
  background: linear-gradient(115deg, #9361ed 0%, #7e50db 55%, #7149d0 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #865fda !important;
  border-radius: 13px !important;
  box-shadow: 0 9px 20px rgba(103, 67, 185, .15), inset 0 1px 0 rgba(255,255,255,.22) !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease, filter .18s ease, transform .18s ease;
}
body.light .page.auth-page .auth-card .auth-form button.auth-secondary:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(103, 67, 185, .23) !important;
}
body.light .page.auth-page .auth-card button.signout-btn {
  background: #fbecef !important;
  color: #a52d49 !important;
  -webkit-text-fill-color: #a52d49 !important;
  border: 1px solid #e9b8c4 !important;
  border-radius: 13px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82) !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
body.light .page.auth-page .auth-card button.signout-btn .ic {
  color: currentColor !important;
  stroke: currentColor !important;
}
body.light .page.auth-page .auth-card button.signout-btn:hover:not(:disabled) {
  background: #f7dfe6 !important;
  border-color: #d99aaa !important;
  color: #8e2441 !important;
  -webkit-text-fill-color: #8e2441 !important;
}
body.light .page.auth-page .auth-card button:is(.auth-secondary,.signout-btn):focus-visible {
  outline: 3px solid #4d91d0 !important;
  outline-offset: 3px !important;
}
body.light .page.auth-page .auth-card button:is(.auth-secondary,.signout-btn):disabled {
  opacity: .62 !important;
  cursor: wait;
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  body.light .page.auth-page .auth-card button:is(.auth-secondary,.signout-btn) {
    transition: none !important;
  }
}
