/* ==========================================================================
   ASTE Tactical Radar HUD (In-Room 28x28m Spatial Overhead Micro-Map)
   ========================================================================== */
.tactical-radar-frame {
    position: fixed;
    top: 65px;
    right: 20px;
    z-index: 40;
    width: 216px;
    background: rgba(10, 16, 28, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 245, 160, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 245, 160, 0.15);
    overflow: hidden;
    transition: all 0.2s ease;
}

.radar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.radar-title-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.radar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.radar-dot.green {
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

.radar-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.radar-scale {
    font-size: 9px;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    background: rgba(0, 210, 255, 0.1);
    padding: 1px 4px;
    border-radius: 3px;
}

.radar-body {
    position: relative;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#tactical-radar-canvas {
    border-radius: 8px;
    border: 1px solid rgba(0, 245, 160, 0.2);
    display: block;
    width: 200px;
    height: 200px;
}

.radar-compass-n {
    position: absolute;
    top: 12px;
    left: 14px;
    font-size: 9px;
    font-family: var(--font-mono);
    font-weight: 800;
    color: var(--accent-green);
    text-shadow: 0 0 6px var(--accent-green);
    pointer-events: none;
}

.radar-telemetry-strip {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-top: 6px;
    padding: 0 4px;
}

.radar-legend {
    display: flex;
    justify-content: space-around;
    padding: 6px 8px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 9px;
    color: var(--text-muted);
}

.leg-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.leg-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.leg-dot.green { background: #00f5a0; box-shadow: 0 0 4px #00f5a0; }
.leg-dot.yellow { background: #ffd166; box-shadow: 0 0 4px #ffd166; }
.leg-dot.blue { background: #00d2ff; box-shadow: 0 0 4px #00d2ff; }
.leg-dot.purple { background: #ff007f; box-shadow: 0 0 4px #ff007f; }
