/* gossnip: extra styles for the log-in page (/login/), on top of /_app/app.css (.card-page, .card, .form, .f, .pw). */

/* The error line keeps its place in the page while empty (app.css hides an empty .err), so a screen
   reader is already watching it when it fills. The negative margin takes back the form's 16px gap. */
#login-err:empty{display:block;margin-top:-16px}

/* Show/Hide: the pressed state is drawn too, not only spelled out */
.pw-t[aria-pressed="true"]{background:var(--tint)}
.pw-t[aria-pressed="true"]:hover{background:#d0dcff}
.pw-t[aria-pressed="true"]:active{background:#bfd0ff}

/* a 320px phone: the card uses the whole width */
@media (max-width:360px){
  .card-page{padding:16px 8px}
}
