/* the door, plainer than the error pages: the place's mark and name, lines to type on, words to press, hearts rising behind */
body.door-page { background: var(--bg); overflow: hidden; }
.hearts { position: fixed; inset: 0; pointer-events: none; overflow: hidden; contain: strict; }
.hearts svg { position: absolute; bottom: -48px; fill: currentColor; animation: rise var(--t) linear var(--d) infinite; will-change: transform; }
@keyframes rise {
  from { transform: translate3d(0, 0, 0) rotate(var(--r)); }
  50% { transform: translate3d(var(--sway), -58vh, 0) rotate(0deg); }
  to { transform: translate3d(0, calc(-100vh - 96px), 0) rotate(calc(var(--r) * -1)); }
}
.door { position: relative; z-index: 1; width: min(272px, 100%); gap: 6px; }
.who { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.who img { width: 30px; height: 30px; object-fit: contain; border-radius: 7px; }
.who b { color: var(--bright); font-weight: 400; font-size: 17px; }
.who i { color: var(--dim); font-style: normal; font-size: 17px; }
.door input { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 7px 1px; font-size: 14px; }
.door input:focus { border-color: var(--wave); }
.door input:-webkit-autofill { -webkit-text-fill-color: var(--bright); box-shadow: 0 0 0 40px var(--bg) inset; caret-color: var(--bright); }
.door button { align-self: flex-start; margin: 10px 0 0; padding: 2px 0; background: none; border: 0; border-bottom: 1px solid transparent; border-radius: 0; color: var(--bright); font-size: 14px; }
.door button:hover, .door button:focus-visible { border-bottom-color: var(--wave); outline: none; }
.door a { margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .hearts svg { animation: none; bottom: auto; top: var(--y); } }
