/**
 * Hogwarts Sorting Hat 2026
 * Created / made by Billy Hawkins
 * Contact: billy@soniq.org
 * https://soniq.org · https://soniqdesigns.com
 *
 * Copyright (c) 2026 Billy Hawkins / Soniq. All rights reserved.
 */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body.house {
  min-height: 100dvh;
  min-height: 100svh;
  background: var(--house, #1a120c);
  overflow: hidden;
}
.house-bleed {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100dvh;
  height: 100svh;
  overflow: hidden;
  background: var(--house, #1a120c);
  padding:
    env(safe-area-inset-top)
    env(safe-area-inset-right)
    env(safe-area-inset-bottom)
    env(safe-area-inset-left);
  animation: house-in 0.9s ease;
}
.house-crest {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  mix-blend-mode: normal;
  padding: 0.4rem;
}
@media (max-width: 480px) {
  .house-crest {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100dvh;
    padding: 0.3rem;
  }
}
@media (orientation: landscape) and (max-height: 520px) {
  .house-crest {
    width: auto;
    height: 100%;
    padding: 0.2rem 0.5rem;
  }
}
@keyframes house-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.missing {
  color: #f4e4b0;
  font-family: Georgia, serif;
  text-align: center;
  padding: 2rem;
}
