/* ==================== HEATMAP ГОРЯЧИХ СТРОК ==================== */

.editor-line-numbers .line-number.heatmap {
    position: relative;
    background: linear-gradient(
            90deg,
            rgba(255, 80, 80, calc(var(--heat-intensity) * 0.55)) 0%,
            rgba(255, 165, 0, calc(var(--heat-intensity) * 0.35)) 40%,
            transparent 100%
    );
    transition: background 0.3s ease;
}

.editor-line-numbers .line-number.heatmap::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: calc(var(--heat-intensity) * 4px);
    background-color: #ff5050;
    opacity: calc(var(--heat-intensity) * 0.8);
    border-radius: 0 2px 2px 0;
    pointer-events: none;
}

body.light-theme .editor-line-numbers .line-number.heatmap {
    background: linear-gradient(
            90deg,
            rgba(200, 0, 0, calc(var(--heat-intensity) * 0.35)) 0%,
            rgba(200, 120, 0, calc(var(--heat-intensity) * 0.2)) 40%,
            transparent 100%
    );
}

body.light-theme .editor-line-numbers .line-number.heatmap::after {
    background-color: #c00;
    opacity: calc(var(--heat-intensity) * 0.6);
}