.unified-game-shell {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  background: #050807;
}

body.has-unified-scene {
  overflow: hidden;
}

.unified-game-shell.is-open {
  display: block;
}

.unified-game-shell__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #050807;
}

.unified-game-shell__back {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  padding: 8px 13px;
  border: 1px solid rgba(207, 174, 107, 0.46);
  color: #ead7ae;
  background: rgba(9, 18, 18, 0.76);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 180ms ease, border-color 180ms ease, color 180ms ease;
}

.unified-game-shell__back:hover,
.unified-game-shell__back:focus-visible {
  border-color: rgba(239, 204, 132, 0.86);
  color: #fff0c9;
  opacity: 1;
  outline: 0;
}

.unified-game-shell__loading {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  margin: 0;
  color: rgba(225, 202, 157, 0.68);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.unified-game-shell__frame.is-ready + .unified-game-shell__loading {
  display: none;
}

@media (max-width: 640px) {
  .unified-game-shell__back {
    top: 10px;
    left: 10px;
    padding: 7px 10px;
    font-size: 0.72rem;
  }
}
