:root {
  background: #05000d;
  color: #fff;
  font-family: system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100dvh;
  overflow: hidden;
}

.page {
  display: grid;
  min-height: 100dvh;
  place-items: center;
}

.banner-wrap {
  position: relative;
  width: min(100vw, calc(100dvh * 922 / 1638));
  aspect-ratio: 922 / 1638;
  container-type: inline-size;
}

.banner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.open-eob {
  position: absolute;
  top: 59.55%;
  left: 38.7%;
  display: grid;
  width: 22.6%;
  height: 3.8%;
  place-items: center;
  border-radius: 999px;
  background: #4c2095;
  color: #fff200;
  font-size: clamp(12px, 3cqi, 28px);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.open-eob:hover {
  filter: brightness(1.08);
}

.open-eob:active {
  transform: scale(0.97);
}

.open-eob[aria-disabled="true"] {
  left: 35%;
  width: 30%;
  cursor: wait;
  font-size: clamp(10px, 2.7cqi, 25px);
  letter-spacing: -0.02em;
  filter: saturate(0.65);
}

.open-eob:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.connection-help {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 16px;
  z-index: 1;
  width: fit-content;
  max-width: calc(100vw - 32px);
  margin: 0 auto;
  padding: 10px 14px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  background: rgb(10 2 27 / 82%);
  box-shadow: 0 4px 18px rgb(0 0 0 / 28%);
  color: #fff;
  font-size: clamp(12px, 3.5vw, 15px);
  text-align: center;
  backdrop-filter: blur(8px);
}

.connection-frame {
  position: fixed;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
