html, body, #GameDiv, #Cocos3dGameContainer, #GameCanvas {
  width: 100%;
  height: 100%;
}

html {
  -ms-touch-action: none;
  touch-action: none;
  background: #1d1b2b;
}

body, canvas, div {
  display: block;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

body {
  position: fixed;
  inset: 0;
  padding: 0;
  border: 0;
  margin: 0;
  overflow: hidden;
  background: #1d1b2b;
  font-family: Helvetica, Arial, sans-serif;
}

#GameDiv, #Cocos3dGameContainer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

#GameCanvas {
  background: transparent;
}

#pt-splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #fff;
  background: radial-gradient(circle at 50% 45%, #45558a, #1d1b2b 68%);
  transition: opacity .18s ease;
}

#pt-splash.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.pt-splash-logo {
  font-size: clamp(34px, 7vmin, 76px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: .04em;
  text-shadow: 0 4px 12px #0008;
}

.pt-splash-loader {
  width: 34px;
  height: 34px;
  border: 4px solid #ffffff45;
  border-top-color: #fff;
  border-radius: 50%;
  animation: pt-spin .8s linear infinite;
}

@keyframes pt-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .pt-splash-loader { animation-duration: 1.6s; }
}
