html, body {
            height: 100%;
            margin: 0;
            font-family: 'Verdana', sans-serif;
        }

        #map {
            height: 100vh;
            width: 100vw;
        }

        /* Cuadro estilo Pokémon */
        #mensaje-aventura {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background-color: beige;
            border: 6px solid #f0e68c; /* amarillo pálido */
            padding: 16px 24px;
            font-weight: bold;
            color: #000;
            z-index: 1000;
            box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.25);
            border-radius: 8px;
            text-align: center;
            max-width: 90vw;
        }
        
        .videogame-button {
            margin-top: 12px;
            padding: 4px 12px;
            font-weight: bold;
            background-color: #f0e68c;
            border: 2px solid #ccc;
            cursor: pointer;
            border-radius: 4px;
        }

        #panel-items {
            position: absolute;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: beige;
            border: 6px solid #f0e68c;
            padding: 12px 20px;
            font-weight: bold;
            color: #000;
            z-index: 1001;
            box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.25);
            border-radius: 8px;
            text-align: center;
            max-width: 90vw;
        }

        .items-grid {
            display: flex;
            gap: 12px;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            margin-top: 10px;
        }

        .item img {
            width: 48px;
            height: 48px;
            image-rendering: pixelated;
            border: 2px solid #ccc;
            background: #fff;
            border-radius: 4px;
        }
        
        /* Estilo para ítems no obtenidos (en gris) */
        .item img.grayscale {
            filter: grayscale(100%); /* Convierte la imagen a escala de grises */
            opacity: 0.6; /* Reduce un poco la opacidad */
        }

        /* Estilo para el icono de mostrar panel */
        #show-panel-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            z-index: 1002; /* Por encima de otros elementos */
            cursor: pointer;
            background-color: beige;
            border: 4px solid #f0e68c;
            border-radius: 50%;
            padding: 8px;
            box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.25);
            display: none; /* Oculto por defecto */
        }

        #show-panel-icon svg {
            display: block;
        }

        /* --- Estilos para Móviles --- */
        @media (max-width: 600px) {
            .item img {
                width: 36px;
                height: 36px;
            }

            #mensaje-aventura {
                font-size: 14px;
                padding: 10px 15px;
                bottom: 10px; /* Ajustar posición para pantallas pequeñas */
            }
        }