.gototopSecond {
  position: fixed;
  bottom: 16px;
  right: 16px !important;
  left: auto !important;
  z-index: 2000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 22px;
  line-height: 48px;
  text-align: center;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: background 0.2s, border-color 0.2s;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.gototopSecond:hover,
.gototopSecond:focus {
  background: rgba(0, 0, 0, 0.85);
  border-color: #fff;
  outline: none;
}
.gototopSecond i {
  line-height: 1;
  pointer-events: none;
}
.gototopSecond:hover,
.gototopSecond:focus {
  background: #0070ba;
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}
.gototopSecond i {
  line-height: 0.8em;
  pointer-events: none;
}
/* Lazy Eye Games — standalone game page styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  /* position: fixed; */
  width: 100%;
  height: 100%;
  height: 100dvh;  /* dynamic viewport height — respects Safari iOS toolbar shrink/grow */
  overflow: hidden;
  background: #000;
  font-family: Arial, Helvetica, sans-serif;
}

#game-container {
  width: 100%;
  height: 100%;
}

#game-container canvas {
  display: block;
}

/* Ensure the Phaser canvas never gets clipped behind native browser chrome */
#game-container canvas {
  touch-action: none;        /* prevent browser scroll/zoom hijacking */
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
