/* Раздел «Погода» (Vue). */
.section-title { font-size: 26px; font-weight: 700; margin: 0 0 18px; }
.weather-empty { font-size: 15px; }
.muted { color: #8a94a2; }

/* Вкладки городов */
.weather-cities { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.weather-city-tab {
    padding: 7px 14px; border: 1px solid #dce1e6; border-radius: 20px;
    background: #fff; color: #2b3138; font-size: 14px; cursor: pointer; transition: .15s;
}
.weather-city-tab:hover { border-color: #40b1e9; }
.weather-city-tab.__active { background: #40b1e9; border-color: #40b1e9; color: #fff; }

/* Текущая погода */
.weather-now {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    background: #f6f8fa; border: 1px solid #e6eaee; border-radius: 12px; padding: 18px 22px; margin-bottom: 18px;
}
.weather-now_icon { flex: 0 0 auto; }
.weather-now_main { min-width: 140px; }
.weather-now_temp { font-size: 42px; font-weight: 700; line-height: 1; }
.weather-now_cond { font-size: 15px; font-weight: 600; margin-top: 4px; }
.weather-now_params { list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 14px; color: #5a6672; text-align: right; }
.weather-now_params li { padding: 2px 0; }

/* Переключатель Кратко/Подробно */
.weather-modes { display: inline-flex; border: 1px solid #dce1e6; border-radius: 8px; overflow: hidden; margin-bottom: 18px; }
.weather-mode { padding: 8px 18px; background: #fff; border: 0; border-right: 1px solid #dce1e6; font-size: 14px; cursor: pointer; color: #2b3138; }
.weather-mode:last-child { border-right: 0; }
.weather-mode.__active { background: #eef6fb; color: #1b7fb0; font-weight: 600; }

/* Кратко */
.weather-brief_row { display: grid; grid-template-columns: 1fr 120px 48px 2fr; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid #eef1f4; }
.weather-brief_date { font-weight: 600; }
.weather-brief_temp { font-size: 17px; font-weight: 700; }
.weather-brief_icon { justify-self: center; }

/* Подробно */
.weather-day { margin-bottom: 22px; }
.weather-day_title { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.weather-part {
    display: grid; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 8px;
    grid-template-columns: 90px 70px 44px minmax(140px, 1.4fr) 120px 70px 120px;
}
.weather-part:nth-child(odd) { background: #f7f9fb; }
.weather-part_temp { font-size: 18px; font-weight: 700; }
.weather-part_icon { justify-self: center; }
.weather-part_wind, .weather-part_hum, .weather-part_pres { font-size: 13px; color: #5a6672; }

.weather-attr { font-size: 12px; margin-top: 16px; }
.weather-attr a, .weather-brief_row a { color: #40b1e9; }

/* Компактный виджет */
.weather-widget_row { display: flex; align-items: center; gap: 8px; }
.weather-widget_temp { font-size: 24px; font-weight: 700; }
.weather-widget_city { font-weight: 600; }
.weather-widget_cond { color: #8a94a2; font-size: 12px; }
.weather-widget_more { display: inline-block; margin-top: 6px; font-size: 12px; color: #40b1e9; }

/* Адаптив */
@media (max-width: 640px) {
    .weather-now_params { margin-left: 0; text-align: left; width: 100%; }
    .weather-brief_row { grid-template-columns: 1fr 90px 40px; }
    .weather-brief_cond { display: none; }
    .weather-part { grid-template-columns: 80px 64px 40px 1fr; }
    .weather-part_wind, .weather-part_hum, .weather-part_pres { display: none; }
}

/* Ночной режим */
.night-mode .weather-city-tab { background: #242a30; border-color: #343b42; color: #d7dbdf; }
.night-mode .weather-city-tab.__active { background: #2d7fa8; border-color: #2d7fa8; color: #fff; }
.night-mode .weather-now { background: #242a30; border-color: #343b42; }
.night-mode .weather-now_params { color: #aab4bf; }
.night-mode .weather-modes { border-color: #343b42; }
.night-mode .weather-mode { background: #242a30; color: #d7dbdf; border-color: #343b42; }
.night-mode .weather-mode.__active { background: #1b3240; color: #cde8f6; }
.night-mode .weather-brief_row { border-bottom-color: #2c333a; }
.night-mode .weather-part:nth-child(odd) { background: #232930; }
.night-mode .weather-part_wind, .night-mode .weather-part_hum, .night-mode .weather-part_pres { color: #aab4bf; }
.night-mode .section-title { color: #e6eaee; }
