/* Local browser layout — frame hole aligned to canvas (HD only) */

#sidebar,
#rightbar {
  display: none;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

#webgl,
canvas {
  touch-action: none;
}

.main {
  width: 100%;
}

#c1 {
  display: block;
  margin: 0 auto;
  padding: 0;
  height: auto;
}

#c2 {
  display: block;
  height: auto;
  vertical-align: initial;
}

/* Stage sized to frame asset; canvas inset into transparent hole */
#game-stage {
  position: relative;
  width: 1401px;
  height: 1077px;
  margin: 0 auto;
  overflow: visible;
}

#c3 {
  position: absolute !important;
  left: 216px;
  top: 141px;
  width: 1024px !important;
  margin: 0;
  line-height: 0;
  z-index: 1;
}

#game-stage #c5 {
  position: absolute;
  top: 0;
  left: 0;
  width: 1401px;
  height: 1077px;
  pointer-events: none;
  z-index: 10;
}

#game-stage #c5 img {
  display: block;
  width: 1401px;
  height: 1077px;
  max-width: none;
}

canvas {
  display: block !important;
  position: relative;
  bottom: 0 !important;
  width: 1024px !important;
  height: 768px !important;
}

#user-bar {
  bottom: 0;
  margin-bottom: -68px;
}

#footer,
#resolution-bar {
  display: none;
}

