/* aurora — полярные сияния (graph-* в weather-graph.css) */

.xras-weather-content .aurora-content .graph_title {
    color: #eeeeff;
}

.xras-weather-content .aurora-quick-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35em 0.5em;
    /* компенсация margin-bottom у .xras-weather-chrome — quick-links логически под крошками */
    margin: -1.25em 0 8px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.36);
    font-size: 13px;
    color: var(--weather-text-md, #c7c7c9);
}

.xras-weather-content .aurora-quick-links__label {
    color: var(--weather-text-md, #c7c7c9);
}

.xras-weather-content .aurora-quick-links a {
    color: var(--color-yellow, #ffd800);
    text-decoration: none;
}

.xras-weather-content .aurora-quick-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.xras-weather-content .aurora-quick-links__sep {
    color: var(--weather-text-md, #c7c7c9);
}

.xras-weather-content .aurora_location {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-left: 0;
    font-size: 16px;
    line-height: 1.4;
}

.xras-weather-content .aurora_location.selected {
    gap: 6px;
    margin-top: 8px;
    padding-left: 0;
}

.xras-weather-content .aurora_location.selected .aurora_location_value {
    min-width: 0;
    margin-left: 1ch;
}

.xras-weather-content .aurora_location_color {
    flex: 0 0 auto;
    display: inline-block;
    width: 30px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.36);
    border: 1px solid #444;
}

.xras-weather-content .aurora_location_color.green {
    background-color: var(--weather-green, #00ff00);
    border-color: var(--weather-green, #00ff00);
}

.xras-weather-content .aurora_location_color.yellow {
    background-color: var(--weather-yellow, #ffd800);
    border-color: var(--weather-yellow, #ffd800);
}

.xras-weather-content .aurora_location_color.orange {
    background-color: var(--weather-orange, #ff8000);
    border-color: var(--weather-orange, #ff8000);
}

.xras-weather-content .aurora_location_color.red {
    background-color: var(--weather-red, red);
    border-color: var(--weather-red, red);
}

.xras-weather-content .aurora_location_value {
    flex: 0 0 auto;
    min-width: 50px;
    color: #fff;
    font-weight: 600;
    text-align: right;
}

.xras-weather-content .aurora_location_name {
    flex: 1 1 auto;
    color: var(--weather-text-md, #c7c7c9);
}

.xras-weather-content .aurora_locations {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    max-width: 768px;
    margin-top: 15px;
    padding: 5px 0;
    border: 1px solid #fff;
}

.xras-weather-content .aurora_locations .aurora_location {
    width: 50%;
    margin-top: 0;
    padding: 5px 15px;
}

.xras-weather-content .aurora_locations .aurora_location:nth-child(2n) {
    border-left: 1px solid #666;
}

.xras-weather-content .aurora-video-area {
    max-width: 750px;
    padding: 0;
}

.xras-weather-content .aurora-video-area--plain {
    border: none;
    padding: 5px;
}

.xras-weather-content .aurora-video-area__link {
    display: block;
}

.xras-weather-content .aurora-video-area__video {
    display: block;
    width: 100%;
    max-width: 750px;
    height: auto;
}

.xras-weather-content .aurora-video-area + .graph_downloads,
.xras-weather-content .graph_image-area_750 + .graph_downloads {
    max-width: 750px;
    padding-right: 10px;
}

@media (max-width: 991.98px) {
    .xras-weather-content .aurora_location {
        font-size: 14px;
    }

    .xras-weather-content .aurora_locations .aurora_location {
        width: 100%;
    }

    .xras-weather-content .aurora_locations .aurora_location:nth-child(2n) {
        border-left: none;
    }
}

/* ── компактный вид ── */

.xras-weather-content [data-weather-compact-view].is-compact .aurora-quick-links {
    margin-bottom: 1.4em;
}

.xras-weather-content [data-weather-compact-view].is-compact .aurora-quick-links + .weather-compact-header {
    margin-top: 0;
}

.xras-weather-content [data-weather-compact-view].is-compact .graph-area:has(.aurora_location.selected) .aurora_location.selected {
    margin-top: 0;
}
