html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #10131a;
  color: #f4f7fb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#unity-container {
  position: fixed;
  inset: 0;
}

.monetag-offer-anchor {
  position: fixed;
  z-index: 30;
  top: calc(env(safe-area-inset-top, 0px) + 112px);
  left: 50%;
  width: min(90vw, 320px);
  transform: translateX(-50%);
  pointer-events: none;
}

.monetag-offer-anchor.is-hidden {
  display: none;
}

#monetag-offer-slot,
.monetag-offer__button,
.monetag-offer__notice {
  pointer-events: auto;
}

.monetag-offer__button,
.monetag-offer__notice {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(19, 28, 38, 0.94);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.monetag-offer__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.monetag-offer__button:disabled {
  opacity: 0.7;
}

.monetag-offer__button.is-loading .monetag-offer__title::after {
  content: " ...";
}

.monetag-offer__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.monetag-offer__reward {
  color: #ffd45a;
  font-size: 13px;
  font-weight: 700;
}

.monetag-offer__notice {
  background: rgba(19, 28, 38, 0.82);
  color: #dce8f4;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

#unity-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #151b25 0%, #0d1118 100%);
}

#unity-loading-bar {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #39d98a 0%, #64d2ff 100%);
  transition: width 0.15s ease;
}

#unity-warning {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: grid;
  gap: 8px;
}

.unity-banner {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 13px;
  line-height: 1.4;
}
