/* Shared espresso surfaces. Weather scales and active-layer accents keep their meaning. */
:root:root{
  --panel:rgba(38,28,23,.94);
  --border:rgba(215,182,157,.22);
  --text:#f7f1eb;
  --muted:#c4b2a4;
  --drawer-bg:rgba(31,23,19,.965);
  --drawer-line:rgba(215,182,157,.17);
  --drawer-soft:#c4b2a4;
  --drawer-bright:#faf4ee;
}
body .weather-panel.modern-weather-panel{
  background:linear-gradient(180deg,rgba(51,37,30,.975),var(--drawer-bg));
  border-color:var(--border);
  box-shadow:0 24px 70px rgba(15,8,3,.46),0 2px 10px rgba(0,0,0,.22);
  scrollbar-color:#80634e transparent;
}
body .weather-panel.modern-weather-panel>.panel-heading{
  background:linear-gradient(180deg,rgba(51,37,30,.99),rgba(42,31,25,.96));
}
body .weather-panel.modern-weather-panel::-webkit-scrollbar-thumb{background-color:#80634e}
body .modern-weather-panel .label{color:var(--text)}
body .modern-weather-panel .badge{color:var(--muted)}
body .freshness-panel{background:var(--panel);border-color:var(--border)}
body .weather-panel select,
body .modern-weather-panel select{
  background:rgba(22,15,11,.55);
  color:var(--text);
}
body select option{background:#2d211b;color:var(--text)}
body .modern-weather-panel .segmented-control{background:rgba(22,15,11,.38)}
body .modern-weather-panel .segmented-control button{color:var(--muted)}
body .category-tab{color:#e0d0c3}
body .category-tab.layer-active{color:var(--accent)}
body .category-tab[aria-expanded=true]{color:#fff}
body .country-search{
  background:rgba(38,28,23,.80);
  border-color:var(--border);
  color:var(--text);
}
body .country-search input::placeholder,
body .country-search-status,
body .country-search-results span{color:var(--muted)}
body .country-search button{background:#3b2b22;border-color:var(--border);color:var(--text)}
body .country-search-results,
body .forecast-search-results{background:#2d211b;border-color:var(--border)}
body .country-search-results li:hover,
body .country-search-results li[aria-selected=true],
body .forecast-search-results li:hover,
body .forecast-search-results li[aria-selected=true]{background:#503a2d}
body .forecast-search-row input{background:#211813;border-color:var(--border);color:var(--text)}
body .clear-layers-tooltip{background:#30221b;color:var(--text)}
body .leaflet-popup-content-wrapper,
body .leaflet-popup-tip{background:#2b201a;color:var(--text)}
body .leaflet-popup-content .rain-popup-readings>div,
body .leaflet-popup-content .cyclone-readings>div{background:#413027}
body .leaflet-popup-content .rain-popup-readings>div.selected{background:#503b2e}
body .forecast-hours th{background:#33261e}
/* Keep the requested half transparency for the forecast popup. */
body .forecast-point-popup .leaflet-popup-content-wrapper,
body .forecast-point-popup .leaflet-popup-tip{background:rgba(43,32,26,.5)}
body .forecast-point-popup .forecast-popup-details{background:rgba(54,37,26,.44)}
body .leaflet-control-zoom a{background:rgba(43,32,26,.92)!important;color:var(--text)!important}
body .leaflet-control-zoom a:hover{background:#503a2d!important}
body .leaflet-control-attribution{background:rgba(43,32,26,.8)!important;color:var(--muted)!important}
