@font-face {
  font-family: Inter;
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('/fonts/Inter-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

/* Only the Anubis document uses body#top. Keep its error and no-JS paths visible. */
html:has(body#top) {
  display: block;
  height: auto;
  margin: 0;
  background: #05120f;
}
body#top {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  height: auto;
  width: 100%;
  margin: 0;
  padding: 32px 24px;
  background: #05120f;
  color: #e7f5ee;
  font: 400 14px/1.6 Inter, system-ui, sans-serif;
  text-align: center;
  color-scheme: dark;
}
body#top .owner-gate-brand {
  margin: 0 0 14px;
  color: #6ee7b7;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1.6px;
}
body#top .owner-gate-wait {
  margin: 0 0 24px;
  color: #9fb4a9;
  font-size: 14px;
}
body#top > main { width: min(300px, 100%); margin: 0; padding: 0; }
body#top main img,
body#top footer,
body#top details { display: none; }
body#top:has(#anubis-main):not(:has(#image[src*='/reject.webp'])) #title,
body#top:has(#anubis-main):not(:has(#image[src*='/reject.webp'])) #status { display: none; }
body#top:not(:has(#anubis-main)) .owner-gate-wait,
body#top:has(#image[src*='/reject.webp']) .owner-gate-wait,
body#top:has(#anubis-script-error[style*='block']) .owner-gate-wait,
body#top:has(noscript p) .owner-gate-wait { display: none; }
body#top #progress {
  width: min(180px, 100%);
  height: 3px;
  margin: 0;
  border: 0;
  border-radius: 3px;
  outline: none;
  background: #153226;
}
body#top .bar-inner { background: #34d399; border-radius: inherit; }
body#top #title { font-size: 19px; line-height: 1.4; margin: 4px 0 16px; }
body#top #status,
body#top #anubis-script-error,
body#top noscript { overflow-wrap: anywhere; }
body#top a { color: #6ee7b7; }
body#top a:focus-visible { outline: 2px solid #6ee7b7; outline-offset: 4px; }

/* Shared by the login and registration forms; the widget keeps its own document. */
iframe[data-mcaptcha-widget] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 52px;
  margin-inline: auto;
  border: 0;
  border-radius: 12px;
  background: #0c1511;
}
@media (prefers-reduced-motion: reduce) {
  body#top .bar-inner { transition: none; }
}
