:root {
  --app-stage-width: 100vw;
  --app-stage-height: 126.133333vw;
  --app-main-width: 94.666667vw;
  --app-gutter: 2.666667vw;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

html,
body {
  margin: 0;
  width: 100vw;
  min-height: var(--app-stage-height);
  overflow: hidden;
  background: #06244a;
  color: #eaf8ff;
  font-family: Inter, ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  touch-action: none;
}

.stage {
  width: var(--app-stage-width);
  height: var(--app-stage-height);
  position: relative;
  overflow: hidden;
  border-radius: 3.2vw;
  background:
    radial-gradient(circle at 78% 46%, rgba(0, 157, 255, 0.55), transparent 22%),
    linear-gradient(180deg, #082a55 0%, #031c3b 100%);
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: 3.2vw;
  border: 0.4vw solid rgba(145, 183, 201, 0.36);
  box-shadow:
    inset 0 0 0 0.533333vw rgba(1, 12, 28, 0.5),
    inset 0 1.466667vw 3.2vw rgba(255, 255, 255, 0.08),
    inset 0 -2.666667vw 4.8vw rgba(0, 0, 0, 0.24);
}

#gameCanvas,
#threeCanvas,
#guideCanvas {
  display: block;
  width: var(--app-stage-width);
  height: var(--app-stage-height);
}

#gameCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  touch-action: none;
}

#threeCanvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

#guideCanvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
