/* PVZ: el juego ocupa siempre toda la ventana (o todo el iframe de la página que lo incrusta),
   también en pantalla completa y en móviles. Sin barra inferior de Unity. */
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #000; }
#unity-container { position: fixed; left: 0; top: 0; width: 100%; height: 100%; }
#unity-canvas { display: block; width: 100%; height: 100%; background: #231F20; touch-action: none; outline: none; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
#unity-loading-container { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: none; }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
#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-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none; font-family: Arial, sans-serif; }

/* Aviso para girar el móvil: el juego es horizontal. Solo en pantallas táctiles en vertical. */
#rotate-overlay { display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(8, 20, 8, 0.94); color: #f4f0d0; font-family: Arial, sans-serif; text-align: center; flex-direction: column; align-items: center; justify-content: center; gap: 18px; z-index: 10; }
#rotate-overlay .rotate-icon { width: 64px; height: 104px; border: 5px solid #f4f0d0; border-radius: 12px; animation: pvz-rotate 2.2s ease-in-out infinite; }
#rotate-overlay p { margin: 0 24px; font-size: 20px; line-height: 1.35; }
@keyframes pvz-rotate { 0%, 25% { transform: rotate(0deg); } 60%, 100% { transform: rotate(-90deg); } }
@media (orientation: portrait) and (pointer: coarse) { #rotate-overlay { display: flex; } }
