* {
  box-sizing: border-box;
}

html,
body,
.game-hub {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0) !important;
}

.game-hub {
  position: relative;
}

.game-hub-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(0, 0, 0, 0) !important;
  transition: opacity 180ms ease;
}

.game-hub-frame.is-active {
  opacity: 1;
  visibility: visible;
}

.game-hub-status {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 5;
  max-width: min(820px, 86vw);
  padding: 12px 18px;
  border: 1px solid rgba(242, 118, 34, 0.38);
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 12, 14, 0.9);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.38);
  font: 800 15px/1.2 Inter, Arial, sans-serif;
  letter-spacing: 0.025em;
  text-align: center;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease;
}

.game-hub-status.is-visible {
  opacity: 1;
  visibility: visible;
}

html[data-game-transparent="0"],
html[data-game-transparent="0"] body,
html[data-game-transparent="0"] .game-hub {
  background: linear-gradient(145deg, var(--game-secondary, #ff9a3c) 0%, var(--game-primary, #f27622) 52%, var(--game-background, #111114) 100%) !important;
  background-color: var(--game-background, #f27622) !important;
}
