* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: never;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #161311;
  user-select: none;
  -webkit-user-select: none;
}

#mc-viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-image: url("assets/bg_clean.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#mc-viewport.screen-details {
  background-image: url("assets/bg_multiplayer.png");
}

#mc-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  pointer-events: none;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

#mc-viewport.screen-details #mc-bg-overlay {
  display: block;
}

#mc-canvas {
  position: absolute;
  display: block;
  pointer-events: none;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.mc-controls-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mc-controls-layer[hidden] {
  display: none !important;
}

.mc-screen-title,
.mc-field-label {
  position: absolute;
  color: transparent;
  font-family: monospace;
  font-weight: normal;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  overflow: hidden;
}

.mc-edit-box {
  position: absolute;
  pointer-events: auto;
  background: transparent;
  border: none;
}

.mc-edit-box[hidden],
.mc-field-label[hidden] {
  display: none !important;
}

.mc-edit-box input {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  color: transparent;
  caret-color: transparent;
  font-family: monospace;
  font-size: 16px;
  cursor: text;
  padding: 0;
  margin: 0;
}

.mc-edit-box input::selection {
  background: transparent;
  color: transparent;
}

.mc-button {
  position: absolute;
  pointer-events: auto;
  display: block;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  color: transparent;
  font-family: monospace;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.mc-button:disabled {
  cursor: default;
}

.mc-interactive-region {
  position: absolute;
  pointer-events: auto;
  background: transparent;
}

.mc-discord-link {
  position: absolute;
  pointer-events: auto;
  display: block;
  color: transparent;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

.mc-button:focus,
.mc-button:focus-visible,
.mc-edit-box input:focus,
.mc-edit-box input:focus-visible,
.mc-discord-link:focus,
.mc-discord-link:focus-visible {
  outline: none;
  box-shadow: none;
}
