/* Family kit — the sign-in art draws itself once and stops (family rules 8, 9). Extracted from Madar's live pargar.css
 * (`.hm-draw`, `.hm-node`, keyframes `hmdraw` `hmnode` `lgsheet` `lgfade` `lgring`; the phone entrance; the reduced-motion
 * stop). Madar scoped them under `.mdr`; here they are unscoped, because the three apps have three root classes. It shares the
 * presentation, never the words (rule 9): each app keeps its own art line. Markup it expects, as in Madar's login.html:
 *   .login > .login-art (.lockup, .big > svg with .hm-draw and .hm-node, .foot) + .login-form
 * The stroke length 754 is the length of Madar's orbit circle; an app whose mark differs sets --hm-len on `.hm-draw`. */
.hm-draw { stroke-dasharray: var(--hm-len, 754); stroke-dashoffset: var(--hm-len, 754); animation: hmdraw 2.2s cubic-bezier(.5, .1, .2, 1) .2s forwards; }
@keyframes hmdraw { to { stroke-dashoffset: 0; } }
.hm-node { opacity: 0; animation: hmnode .45s ease forwards; }
@keyframes hmnode { to { opacity: 1; } }
@keyframes lgsheet { from { transform: translateY(100%); } }
@keyframes lgfade { from { opacity: 0; transform: translateY(10px); } }
@keyframes lgring { from { opacity: 0; transform: scale(.8); } }
/* The phone entrance: the mark centred and drawing in, the name fading up under it, the form a sheet rising from the bottom. */
@media (max-width: 860px) {
  .login-art .big::before { content: ""; position: absolute; inset: -20px; border-radius: 50%; border: 1px solid rgba(239, 230, 207, .14); pointer-events: none; animation: lgring 1.2s ease-out both; }
  .login-art .big .mk-glint { opacity: 0; animation: hmnode .4s ease 2.4s forwards; }
  .login-art .big .hm-draw { animation-duration: 1.4s; animation-delay: .1s; }
  .login-art .lockup { animation: lgfade .6s ease .35s both; }
  .login-form { animation: lgsheet .65s cubic-bezier(.2, .8, .2, 1) both; will-change: transform; }
}
@media (max-width: 860px) and (max-height: 720px) {
  .login-art .big::before { inset: -16px; }
}
@media (prefers-reduced-motion: reduce) {
  .login-art *, .login-art *::before, .login-art *::after, .login-form { animation: none !important; transition: none !important; }
  .hm-draw { stroke-dashoffset: 0; }
  .hm-node { opacity: 1; }
}
