.game-fullscreen-toggle {
  display: none;
}

@media (max-width: 900px), (pointer: coarse) {
  .game-fullscreen-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #ffffff55;
    border-radius: 10px;
    background: #242033;
    color: white;
    font: 24px/1 system-ui, sans-serif;
    cursor: pointer;
    touch-action: manipulation;
  }

  .game-fullscreen-toggle.corner {
    position: absolute;
    z-index: 3;
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
  }
}

.game-view-active [data-hide-in-game-view] {
  display: none !important;
}
