.guest-tutorial-canvas {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 45;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guest-tutorial-canvas.is-visible {
    opacity: 1;
}

.guest-tutorial-pointer-hidden {
    display: none;
}

.guest-tutorial-rect {
    position: fixed;
    z-index: 44;
    border: 2px solid rgba(139, 92, 246, 0.85);
    border-radius: 16px;
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.35);
    pointer-events: none;
    animation: guest-tutorial-pulse-highlight 1.5s ease-in-out infinite;
    transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.guest-tutorial-rect.is-static {
    animation: none;
    box-shadow: 0 0 20px 6px rgba(139, 92, 246, 0.45);
}

.guest-tutorial-tooltip {
    position: fixed;
    z-index: 46;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.7);
    background: rgba(15, 23, 42, 0.95);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    animation: guest-tutorial-icon-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    pointer-events: none;
}

.guest-tutorial-tooltip-icon {
    font-size: 16px;
    line-height: 1;
}

@keyframes guest-tutorial-pulse-highlight {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }
    50% {
        transform: scale(1.01);
        box-shadow: 0 0 20px 6px rgba(139, 92, 246, 0.55);
    }
}

@keyframes guest-tutorial-icon-pop {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.08) rotate(4deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.guest-tutorial-path-animated {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: guest-tutorial-draw-line 1.2s ease-out forwards;
}

@keyframes guest-tutorial-draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .guest-tutorial-rect {
        animation: none;
    }

    .guest-tutorial-path-animated {
        animation: none;
        stroke-dashoffset: 0;
    }

    .guest-tutorial-tooltip {
        animation: none;
    }
}
