html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #15171c;
  color: #dbe0ed;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-user-select: none;
  user-select: none;
}

#mp-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

#mp-stage.mp-dragging {
  cursor: grabbing;
}

#mp-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

#mp-message {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  background: rgba(21, 23, 28, 0.85);
  border: 1px solid #343944;
  border-radius: 6px;
  pointer-events: none;
}

#mp-message.mp-hidden {
  display: none;
}

#mp-message.mp-error {
  border-color: #ff6b78;
  pointer-events: auto;
  -webkit-user-select: text;
  user-select: text;
}

#mp-title {
  position: absolute;
  left: 14px;
  top: 12px;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #dbe0ed;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

#mp-buttons {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 6px;
}

#mp-buttons button {
  font: inherit;
  font-size: 12px;
  color: #dbe0ed;
  background: rgba(32, 35, 43, 0.85);
  border: 1px solid #434957;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
}

#mp-buttons button:hover {
  border-color: #8a93a8;
}

#mp-buttons button.mp-on {
  border-color: #34e068;
  color: #34e068;
}

#mp-credit {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-size: 11px;
  color: #9ea6b8;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

#mp-credit:hover {
  color: #dbe0ed;
}
