.bubblepop-video {
    display: none;
}

.bubblepop-container {
    position: relative;
    background-color: black;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#canvas {
    background: black;
}

#canvas.no-hand {
    cursor: default; /* Show default cursor when no hand is detected */
}

#score-display {
    position: absolute;
    top: 20px;
    left: 20px;
    margin-top: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #00f0ff; /* Cyan to match guide's h3 */
    font-family: sans-serif;
    z-index: 50; /* Above canvas, below loading */
}

.bubblepop-guide {
    position: absolute;
    top: 30px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px;
    border-radius: 8px;
    max-height: 80%;
    overflow-y: auto;
    font-family: sans-serif;
    font-size: 14px;
    z-index: 50;
    pointer-events: none;
    color: #ececed;
    text-align: left;
}

.bubblepop-guide h3 {
    margin-top: 0;
    font-size: 16px;
    color: #00f0ff;
}

.bubblepop-loading {
    position: absolute;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loading-text {
    margin-top: 20px;
    color: white;
    font-size: 18px;
    font-family: monospace;
    text-align: center;
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}