/* Tutorial overlay */
#tutorial-overlay {
    position: absolute;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    display: none; /* Hidden by default, shown by JS when tutorial is active */
}

.tutorial-content {
    position: relative;
    width: 100%;
    height: 100%;
}

#tutorial-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tutorial-finger {
    position: absolute;
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: 201;
    transition: opacity 0.3s ease-out;
}

.tutorial-finger::before {
    content: '👆';
    font-size: 48px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Fade in/out synced with canvas drawing (0-45% visible) */
@keyframes tutorial-finger-fade {
    0%, 45% {
        opacity: 1;
    }
    50%, 60% {
        opacity: 0;
    }
    65%, 100% {
        opacity: 1;
    }
}
