html, body { width: 100%; height: 100%; overflow: hidden }
body { padding: 0; margin: 0; background: #070d18 }
#unity-container { position: fixed; inset: 0; width: 100vw; height: 100vh; overflow: hidden }
#unity-container.unity-desktop { left: 0; top: 0; transform: none }
#unity-container.unity-mobile { position: fixed; width: 100%; height: 100% }
#unity-canvas { width: 100vw; height: 100vh; touch-action: none; outline: none; background: #231F20 }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none; z-index: 15 }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-footer { display: none }
.unity-mobile #unity-footer { display: none }
#unity-logo-title-footer { float:left; width: 102px; height: 38px; background: url('unity-logo-title-footer.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { cursor:pointer; float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

/* Welcome gate — requires a real click before Unity/HISPlayer load */
#givn-welcome {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(0, 229, 255, 0.14), transparent 55%),
    radial-gradient(ellipse at 50% 80%, rgba(212, 175, 55, 0.12), transparent 50%),
    linear-gradient(180deg, #070d18 0%, #0d1528 55%, #070d18 100%);
  text-align: center;
}
#givn-welcome-brand {
  margin: 0;
  font: 800 clamp(28px, 6vw, 54px) "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.18em;
  color: #d4af37;
  text-shadow: 0 0 28px rgba(212, 175, 55, 0.45);
}
#givn-welcome-sub {
  margin: 0;
  max-width: 28rem;
  font: 400 clamp(14px, 2.4vw, 18px) "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
  color: rgba(230, 240, 255, 0.82);
}
#givn-start-button {
  min-height: 64px;
  padding: 0 34px;
  border: 2px solid #ffe08a;
  background: linear-gradient(180deg, #ffd85b, #d99a13);
  color: #070604;
  font: 800 20px "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  box-shadow: 0 0 22px rgba(255, 198, 41, 0.7), inset 0 0 16px rgba(255, 255, 255, 0.28);
  cursor: pointer;
}
#givn-start-button:hover,
#givn-start-button:focus-visible {
  filter: brightness(1.06);
  outline: none;
}
#givn-start-button:active {
  transform: translateY(1px);
}
