@font-face {
  font-family: Geist;
  src: url("../assets/fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/geist-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --blue: #0077ff;
  --text: #f5f8ff;
  --muted: #8799b2;
  --pad: clamp(22px, 4vw, 64px);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #050b16;
  color: var(--text);
}
body {
  font-family: Geist, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
#world {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  display: block;
}
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 59% 41%,
    transparent 30%,
    rgba(0, 3, 9, 0.36) 100%
  );
}
.vignette:after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.06) 4px
  );
  opacity: 0.24;
}
.topbar {
  position: fixed;
  z-index: 12;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: max(22px, env(safe-area-inset-top))
    max(var(--pad), env(safe-area-inset-right)) 16px
    max(var(--pad), env(safe-area-inset-left));
}
.brand-logo {
  display: block;
  object-fit: contain;
  width: clamp(145px, 13vw, 192px);
  height: auto;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #a6c9ff16;
  border-radius: 50px;
  background: #080f1c85;
  color: #b6c4d7;
  backdrop-filter: blur(12px);
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.icon-button:hover {
  background: #11243bc4;
  border-color: #76baff50;
}
.icon-button:focus-visible {
  outline: 2px solid #69b8ff;
  outline-offset: 4px;
}
.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.legal-footer {
  position: fixed;
  z-index: 30;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(1100px, calc(100vw - 32px));
  text-align: center;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.45;
  color: #6e7782;
  pointer-events: none;
}
.fallback-note {
  position: fixed;
  top: 45%;
  left: 24px;
  right: 24px;
  text-align: center;
  color: #b5c7dc;
  font-size: 14px;
}
@media (max-width: 700px) {
  :root {
    --pad: 18px;
  }
  .topbar {
    padding: max(15px, env(safe-area-inset-top))
      max(18px, env(safe-area-inset-right)) 10px
      max(18px, env(safe-area-inset-left));
  }
  .brand-logo {
    width: 145px;
  }
  .legal-footer {
    font-size: 9px;
    line-height: 1.5;
  }
}
@media (max-height: 480px) {
  .topbar {
    padding: 10px 22px 6px;
  }
  .brand-logo {
    width: 130px;
  }
  .legal-footer {
    bottom: 7px;
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

[hidden] {
  display: none !important;
}
