.radar-section {
    padding: 54px 0 18px
}

.market-radar {
    display: grid;
    grid-template-columns: repeat(7, minmax(150px, 1fr));
    gap: 9px
}

.radar-lane {
    min-width: 0;
    background: #0d100e;
    border: 1px solid var(--line);
    padding: 15px;
    position: relative;
    overflow: hidden
}

.radar-lane::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: var(--model-color);
    opacity: .8
}

.radar-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px
}

.radar-head i {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--model-color);
    box-shadow: 0 0 12px var(--model-color)
}

.radar-head strong {
    font: 10px var(--mono);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.radar-mode {
    margin-left: auto;
    padding: 3px 5px;
    font: 700 7px var(--mono);
    letter-spacing: .1em
}

.radar-mode.live {
    background: #f5a623;
    color: #171006
}

.radar-mode.paper {
    background: var(--red);
    color: #180707
}

.radar-status {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font: 8px var(--mono);
    margin-bottom: 12px
}

.radar-markets {
    display: grid;
    gap: 6px;
    max-height: 210px;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.market-radar {
    scrollbar-width: none;
    -ms-overflow-style: none
}

.radar-markets::-webkit-scrollbar,
.market-radar::-webkit-scrollbar {
    display: none
}

.radar-market {
    border: 1px solid #282e29;
    background: #121613;
    padding: 8px;
    animation: radar-in .35s ease-out both
}

.radar-market.eligible {
    border-color: var(--model-color);
    box-shadow: inset 0 0 18px color-mix(in srgb, var(--model-color) 9%, transparent)
}

.radar-market header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font: 9px var(--mono)
}

.radar-market header b {
    color: var(--model-color)
}

.radar-market p {
    color: var(--muted);
    font: 8px/1.4 var(--mono);
    margin: 5px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.radar-empty {
    color: var(--muted);
    font: 9px/1.5 var(--mono);
    padding: 13px 2px
}

.radar-pulse {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--model-color);
    animation: radar-pulse 1.6s infinite
}

@keyframes radar-pulse {
    50% {
        opacity: .25;
        transform: scale(.65)
    }
}

@keyframes radar-in {
    from {
        opacity: 0;
        transform: translateY(4px)
    }
}

@media(max-width:1100px) {
    .market-radar {
        grid-template-columns: repeat(4, 1fr)
    }
}

@media(max-width:700px) {
    .market-radar {
        display: flex;
        overflow: auto;
        scroll-snap-type: x mandatory
    }

    .radar-lane {
        min-width: 220px;
        scroll-snap-align: start
    }
}

@media(prefers-reduced-motion:reduce) {

    .radar-market,
    .radar-pulse {
        animation: none
    }
}