.schedule-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 8px 0 4px;
    padding: 8px 12px;
    border: 1px solid #294d6b;
    background: linear-gradient(90deg, #050d16, #0b2034 55%, #050d16);
    box-shadow: inset 0 1px rgba(255, 255, 255, .05);
    color: #b5c9da;
    font: 700 10px 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.schedule-legend-title {
    color: #6fd8ff;
    letter-spacing: .12em;
}

.schedule-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.legend-swatch {
    width: 28px;
    height: 12px;
    border: 1px solid;
    box-shadow: inset 0 0 5px rgba(255, 255, 255, .2), 0 1px 3px #000;
}

.editor-pin-swatch {
    border-color: #f2cf55;
    background: linear-gradient(145deg, rgba(153, 112, 20, .97), rgba(72, 48, 7, .98));
}

.ranked-swatch {
    border-color: #d8e0e7;
    background: linear-gradient(145deg, rgba(119, 134, 146, .97), rgba(45, 55, 64, .98));
}

.no-pins-message {
    margin: 8px 0 20px;
    padding: 9px 12px;
    border-left: 3px solid #5ed8ff;
    background: rgba(7, 26, 49, .7);
    color: #b5c9da;
    font-size: 13px;
    line-height: 1.4;
}

.no-pins-message[hidden] {
    display: none;
}

@media (max-width: 520px) {
    .schedule-legend-title {
        width: 100%;
    }
}
