.xonix-flight {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.xonix-companion {
  position: fixed;
  left: 22px;
  bottom: 24px;
  width: 240px;
  height: 150px;
  z-index: 3;
  pointer-events: none;
  border: 1px solid #30e7ff60;
  border-radius: 16px;
  background: radial-gradient(ellipse at center, #103451f2, #061023f2);
  box-shadow:
    0 12px 35px #0007,
    0 0 24px #30e7ff18;
}

.xonix-companion.is-inline {
  visibility: hidden;
}

@media (max-width: 900px) {
  .xonix-companion {
    left: 12px;
    bottom: 76px;
    width: 156px;
    height: 102px;
  }
}

body > header,
body > main,
body > footer {
  position: relative;
  z-index: 1;
}

.xonix-arena {
  position: relative;
  height: clamp(210px, 25vw, 300px);
  margin: 36px 0 0;
  scroll-margin-top: 180px;
  overflow: hidden;
  border: 1px solid #30e7ff40;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 120%, #123556, #061023 70%);
  box-shadow:
    inset 0 0 65px #30e7ff08,
    0 18px 60px #0003;
}

.xonix-arena canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .xonix-flight {
    display: none;
  }
}
