.tutorial-overlay {
    position: fixed;
    inset: 0;
    background: transparent; /* затемнение делаем через box-shadow у подсветки */
    z-index: 9000;
    pointer-events: all;
}

/* Выделенный элемент */
.tutorial-highlight {
    position: relative !important;
    z-index: 10001 !important;
    border-radius: 10px;
    pointer-events: none; /* чтобы клик всегда ловил overlay (следующий шаг) */
    /* 1) рамка, 2) затемнение всего экрана, 3) лёгкое свечение */
    box-shadow:
        0 0 0 4px #ffffff,
        0 0 0 9999px rgba(0, 0, 0, 0.65),
        0 0 40px rgba(255, 255, 255, 0.85);
}

/* Текст обучения */
.tutorial-tooltip {
    position: absolute;
    max-width: 290px;
    color: black;
    background: rgb(255 255 255 / 85%);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.3;
    z-index: 10002;
    pointer-events: none;
}

/* Блокировка прокрутки */
body.tutorial-stop-scroll {
    overflow: hidden !important;
    touch-action: none !important;
}

