.radar-layout {
    display: flex;
    gap: 40px;
    margin-top: 1rem;
    align-items: flex-start;
}

/* --- РАДАР --- */
.radar-box {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 2px solid var(--console-green);
    background: rgba(0, 255, 102, 0.05);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.1), inset 0 0 40px rgba(0, 255, 102, 0.05);
    overflow: hidden;
    flex-shrink: 0;
}

.radar-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background-image: 
        linear-gradient(var(--term-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--term-border) 1px, transparent 1px);
    background-size: 35px 35px;
    background-position: center center;
    opacity: 0.6;
}

.radar-crosshair {
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: var(--console-green);
    opacity: 0.4;
}

.radar-crosshair.vertical {
    top: 0; bottom: 0; left: 50%; right: auto;
    width: 1px; height: 100%;
}

.scanner {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 75%, rgba(0, 255, 102, 0.4) 100%);
    animation: scan 4s linear infinite;
    transform-origin: center;
}

@keyframes scan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.scanner {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 75%, rgba(0, 255, 102, 0.4) 100%);
    animation: scan 4s linear infinite;
    transform-origin: center;
}

@keyframes scan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- ТОЧКИ НА РАДАРЕ --- */
.radar-marker {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    /* Центрируем ВЕСЬ БЛОК (точку + текст) по координатам */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.radar-dot {
    width: 6px;
    height: 6px;
    background-color: var(--console-red);
    border-radius: 50%;
    /* Анимация применяется только к самой точке */
    animation: pulse-dot 1.5s infinite;
    flex-shrink: 0;
}

.radar-label {
    margin-left: 6px;
    font-size: 0.7rem;
    color: var(--console-green);
    text-shadow: 0 0 3px var(--bg-dark), 0 0 3px var(--bg-dark);
    font-family: var(--font-mono);
    white-space: nowrap;
}

@keyframes pulse-dot {
    0% { opacity: 0.3; transform: scale(0.8); box-shadow: 0 0 5px var(--console-red); }
    50% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 15px var(--console-red); }
    100% { opacity: 0.3; transform: scale(0.8); box-shadow: 0 0 5px var(--console-red); }
}
