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

body {
  background: #151f3a;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#game-wrap {
  position: relative;
}

#game {
  display: block;
  background: #16213e;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

body.is-mobile #left-panel {
  display: none !important;
}

body.is-mobile #game-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.is-mobile #game {
  box-shadow: none;
  border-radius: 0;
}

/* Developer UI — hidden entirely when PRODUCTION is true (js/env.js) */
body.is-production #left-panel,
body.is-production #dev-json-panel,
body.is-production #seed-picker-overlay,
body.is-production #level-picker-overlay {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.is-production #dev-json-panel.visible {
  display: none !important;
}

