/* DESKTOP — COMPOSITION MÉTÉO
   Complète /css/shared/mobile.css sans le modifier.
   Les !important nécessaires neutralisent les dimensions mobiles.
   Sections : géométrie, page, bulles, cadrans, graphes, légendes,
   mini-pluie, vent, infobulles, station, webcam et modules complémentaires.
*/

/* 1. GÉOMÉTRIE DES DESSINS — LECTURE PAR LES MOTEURS CANVAS */

:root {
  --chart-th-right: 22px;
  --chart-pressure-right: 22px;
  --chart-rain-right: 22px;
  --chart-wind-right: 22px;
  --chart-wind-direction-top: var(--chart-common-top);
  --chart-wind-bottom: var(--chart-common-bottom);
}

/* TYPOGRAPHIE UNIQUE DES TITRES BLEUS PC */
#desktopDashboard :is(
  .mobile-station-card-head,
  .mobile-station-chart-title,
  .mobile-temperature-humidity-chart-head,
  .mobile-pressure-chart-head,
  .mobile-rain-chart-head,
  .mobile-wind-chart-head,
  .mobile-wind-chart-title-text,
  .desktop-webcam-preview-title,
  .desktop-ephemerides-title,
  .desktop-arome-title,
  .desktop-vigilance-title,
  .desktop-air-quality-title
) {
  font-family: var(--font-ui)!important;
  font-size: 8px !important;
  font-weight: 500 !important;
  line-height: 10px !important;
  letter-spacing: .025em !important;
  color: var(--mobile-color-accent, #58b8f4) !important;
}

/* 2. PAGE, CASES ET REPÈRES DE COMPOSITION */

#desktopDashboard {
  margin: 0;
  padding: 12px 8px 16px;
  height: auto;
  min-height: 100vh;
  overflow: auto;
  background: #001f3f;
  font-family: var(--font-ui);
  --desktop-value-min: 20px;
  --desktop-value-reference: 22px;
  --desktop-value-max: 26px;
  --desktop-border-color: rgba(255,255,255,.14);
  --desktop-instruments-height: 100px;

  box-sizing: border-box;
}

#desktopDashboard #desktopDashboardViewport {
  position: relative;
  margin: 0 auto;
}

#desktopDashboard #testComposition {
  position: relative;
  isolation: isolate;
  margin: 0;
  transform-origin: top left;
}

#desktopDashboard .test-slot {
  position: absolute;
  box-sizing: border-box;
  border: 1px solid var(--desktop-border-color);
  border-radius: 0;
  background: transparent;
}

#desktopDashboard .test-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 100%;
  padding: 4px;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.55);
}

#desktopDashboard .test-placeholder small {
  font-size: 9px;
}

/* 2.1 EN-TÊTE — IDENTITÉ, ADMINISTRATION, DATE ET HEURE */

#desktopDashboard .desktop-site-header {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 3px 55px 3px 115px;
  font-family: var(--font-ui);
  color: var(--mobile-color-foreground, #fff);
  position: relative;
  gap: 6px;
}

#desktopDashboard .desktop-site-header > h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.12em;
}

#desktopDashboard .desktop-header-green-curve {
  position: absolute;
  left: 15px;
  top: calc(50% + 4px);
  width: auto;
  height: calc(100% - 4px);
  max-width: none;
  transform: translateY(-50%);
  object-fit: contain;
  pointer-events: none;
}


#desktopDashboard .desktop-site-header > p {
  display: block;
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  font-family: "Caveat", cursive;
  white-space: nowrap;
  transform: translateY(0px);
}

#desktopDashboard .desktop-current-conditions-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
  white-space: nowrap;
}

/* CONDITIONS ET VIGILANCE DESKTOP BEGIN */
#desktopDashboard .desktop-current-conditions-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: 0 15px;
  box-sizing: border-box;
  font-family: var(--font-ui);
  font-size: clamp(0.5rem, 0.65vw, 0.5625rem);
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
}

#desktopDashboard .desktop-vigilance-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

#desktopDashboard .desktop-vigilance-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#desktopDashboard .desktop-vigilance-summary:not([data-level]) .mobile-vigilance-dot {
  background-color: var(--mobile-color-foreground-40, rgba(255,255,255,.4));
}
#desktopDashboard .desktop-vigilance-summary .mobile-vigilance-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  position: relative;
  top: 1px;
  border-radius: 50%;
}

/* CONDITIONS ET VIGILANCE DESKTOP END */

#desktopDashboard .desktop-admin-button {
  width: 2rem;
  height: 2rem;
  padding: 0.3125rem;
}

#desktopDashboard .desktop-admin-button.is-admin-active::before {
  -webkit-mask-image: url("/desktop/icons/admin_mode_icon.svg");
  mask-image: url("/desktop/icons/admin_mode_icon.svg");
}

#desktopDashboard .desktop-admin-button:focus-visible {
  outline: 1px solid var(--mobile-color-accent, #58b8f4);
  outline-offset: 1px;
}

#desktopDashboard.mobile-admin-modal-open {
  overflow: hidden;
}

#desktopDashboard .desktop-header-actions {
  position: absolute;
  top: 50%;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
}

#desktopDashboard .desktop-header-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  white-space: nowrap;
}

#desktopDashboard .desktop-header-clock > div {
  position: static;
  display: block;
  margin: 0;
  text-align: right;
}

#desktopDashboard .desktop-header-clock .mobile-home-current-day {
  font-size: clamp(0.5rem, 0.65vw, 0.625rem);
  font-weight: 300;
  line-height: 1.2;
}

#desktopDashboard .desktop-header-clock .mobile-home-current-time {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 600;
  line-height: 1.2;
}

/* 3. BULLES — ENVELOPPE ET VALEURS COMMUNES */

#desktopDashboard .test-live > .mobile-station-card {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

#desktopDashboard .test-value > .mobile-station-card {
  --desktop-value-size: var(--desktop-value-reference);
  --desktop-unit-size: calc(var(--desktop-value-size) * 0.5454545455);
  --desktop-inline-gap: calc(var(--desktop-value-size) * 0.1363636364);
  --desktop-direction-size: calc(var(--desktop-value-size) * 0.7954545455);
  padding: 6px 7px !important;
  overflow: hidden;
}

@supports (container-type: inline-size) and (font-size: 1cqi) {
  #desktopDashboard .test-slot.test-value {
    container-type: inline-size;
  }

  #desktopDashboard .test-value > .mobile-station-card {
    --desktop-value-size: clamp( var(--desktop-value-min), calc(var(--desktop-value-reference) + (100cqi - 149px) * 0.05), var(--desktop-value-max) );
  }
}

#desktopDashboard .test-value .mobile-station-card-head {
  white-space: normal;
}

#desktopDashboard .test-slot.test-value .mobile-station-value,
#desktopDashboard .test-slot.test-value .mobile-station-value > span:first-child {
  position: static !important;
  transform: none !important;
  font-family: var(--mobile-font-display) !important;
  font-size: var(--desktop-value-size) !important;
  line-height: var(--desktop-value-size) !important;
}

#desktopDashboard .test-slot.test-value .mobile-station-value {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  height: var(--desktop-value-size) !important;
  min-height: var(--desktop-value-size) !important;
  padding: 0 !important;
}

#desktopDashboard .test-slot.test-value .mobile-station-value > span:first-child {
  display: block !important;
  flex: 0 0 auto !important;
  align-self: baseline !important;
  margin: 0 !important;
}

#desktopDashboard .test-value #mobilePressurePageTrendArrow {
  margin-left: calc(var(--desktop-value-size) * 0.2272727273) !important;
}

#desktopDashboard .test-slot.test-value .mobile-station-value > .mobile-station-unit:not(.mobile-wind-record-time) {
  font-size: var(--desktop-unit-size) !important;
  flex: 0 0 auto !important;
  font-family: var(--mobile-font-display) !important;
  line-height: var(--desktop-unit-size) !important;
  font-weight: 500 !important;
  align-self: baseline !important;
  position: static !important;
  transform: none !important;
  top: auto !important;
  bottom: auto !important;
}

/* 4. CADRANS — 5 PX LATÉRAUX, DIMENSIONS FOURNIES PAR LA CASE */

#desktopDashboard .test-gauge > .mobile-station-card {
  padding: 0 5px !important;
}

#desktopDashboard .test-gauge > .mobile-pressure-gauge-shell,
#desktopDashboard .test-gauge > .mobile-rain-gauge-row,
#desktopDashboard .test-gauge > .mobile-wind-page-gauge-card {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#desktopDashboard .test-gauge #mobile-temperature-gauge,
#desktopDashboard #mobile-pressure-gauge,
#desktopDashboard #mobile-rain-gauge,
#desktopDashboard #mobileWindPageDirectionGauge {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
}

#desktopDashboard .test-gauge #mobile-temperature-gauge {
  overflow: visible;
}

#desktopDashboard .test-gauge .mobile-rain-gauge-shell {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#desktopDashboard .test-gauge[data-slot-id="57"] {
  --desktop-gauge-unit: "°C";
}

#desktopDashboard .test-gauge[data-slot-id="85"] {
  --desktop-gauge-unit: "hPa";
}

#desktopDashboard .test-gauge[data-slot-id="38"] {
  --desktop-gauge-unit: "mm/h";
}

#desktopDashboard .test-gauge:is(
  [data-slot-id="57"],
  [data-slot-id="85"],
  [data-slot-id="38"]
) > .mobile-station-card {
  padding-bottom: 0.875rem !important;
}

#desktopDashboard .test-gauge:is(
  [data-slot-id="57"],
  [data-slot-id="85"],
  [data-slot-id="38"]
)::after {
  content: var(--desktop-gauge-unit);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.5625rem;
  font-weight: 400;
  line-height: 1;
  color: var(--mobile-color-foreground-80);
  pointer-events: none;
}

/* DATES DES RECORDS DE PRESSION PC */
#desktopDashboard .test-value .mobile-station-value.desktop-pressure-record-line {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
}

#desktopDashboard .test-value .mobile-station-value > .desktop-pressure-record-date {
  font-family: var(--mobile-font-display, "Barlow Condensed", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 12px !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  margin-left: auto !important;
  flex: 0 0 auto !important;
  color: rgba(255,255,255,.8) !important;
  text-align: right !important;
}

/* 5. GRAPHES — BARRE 20 PX, CARTE FLEXIBLE DANS LA CASE DE 200 PX */


#desktopDashboard .test-graph {
  display: flex;
  flex-direction: column;
}

#desktopDashboard .test-graph > .mobile-graph-controls {
  position: relative;
  flex: 0 0 20px;
  height: 20px;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 2px 15px !important;
  box-sizing: border-box;
  grid-template-columns: auto minmax(0,1fr) auto !important;
  column-gap: 6px !important;
  transform: translateY(6px) !important;
}

#desktopDashboard .test-graph > .mobile-temperature-humidity-chart-card,
#desktopDashboard .test-graph > .mobile-pressure-chart-card,
#desktopDashboard .test-graph > .mobile-rain-chart-card,
#desktopDashboard .test-graph > .mobile-wind-chart-card {
  flex: 1 1 0;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}



#desktopDashboard .mobile-temperature-humidity-chart-head,
#desktopDashboard .mobile-pressure-chart-head,
#desktopDashboard .mobile-rain-chart-head,
#desktopDashboard .mobile-wind-chart-head {
  flex: 0 0 18px;
  height: 18px !important;
  padding: 0 15px !important;
  display: flex !important;
  align-items: center !important;
  transform: translateY(8px) !important;
}

#desktopDashboard .mobile-temperature-humidity-chart-head {
  position: relative;
  gap: 6px !important;
}

#desktopDashboard .mobile-pressure-chart-head,
#desktopDashboard .mobile-rain-chart-head,
#desktopDashboard .mobile-wind-chart-head {
  gap: 4px !important;
  white-space: nowrap !important;
}



#desktopDashboard .mobile-temperature-humidity-chart-wrap,
#desktopDashboard .mobile-pressure-chart-wrap,
#desktopDashboard .mobile-rain-chart-wrap,
#desktopDashboard .mobile-wind-chart-wrap {
  flex: 1 1 0;
  overflow: visible !important;
}





#desktopDashboard #mobileTemperatureHumidityChart {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* 6. LÉGENDES */

#desktopDashboard .mobile-temperature-range-legend:not([hidden]) {
  display: inline-flex !important;
  gap: 8px !important;
  margin-left: auto !important;
  font-size: 6.4px !important;
}

#desktopDashboard .mobile-temperature-range-legend[hidden] {
  display: none !important;
}

#desktopDashboard .mobile-wind-chart-title-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

#desktopDashboard .mobile-wind-chart-head .mobile-chart-inline-legend {
  display: inline-flex !important;
  flex-shrink: 0;
  gap: 5px !important;
  font-size: 6px !important;
  margin-left: auto !important;
}

/* 7. PLUIE — MINI GRAPHE DES HUIT DERNIÈRES HEURES */

#desktopDashboard .test-value .mobile-dashboard-rain-history-wrap {
  position: relative;
  flex: 1 1 0;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
}

#desktopDashboard #mobileDashboardRainChart {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* 8. VENT — RECORDS SUR UNE LIGNE ET HORODATAGES À DROITE */

#desktopDashboard .test-value .mobile-wind-record-value {
  justify-content: flex-start !important;
  gap: var(--desktop-inline-gap) !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

#desktopDashboard .test-value .mobile-wind-record-value > * {
  order: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  margin: 0 !important;
  min-width: 0 !important;
  align-self: baseline !important;
  position: static !important;
  transform: none !important;
  top: auto !important;
}

#desktopDashboard .test-value .mobile-wind-record-arrow-wrap {
  width: var(--desktop-direction-size) !important;
  height: var(--desktop-direction-size) !important;
  flex: 0 0 var(--desktop-direction-size) !important;
  align-self: flex-end !important;
  position: relative !important;
  top: calc(var(--desktop-value-size) * 0.0909090909) !important;
  left: 5px !important;
  margin: 0 !important;
}

#desktopDashboard .test-value .mobile-wind-record-datetime {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  gap: var(--desktop-inline-gap) !important;
  width: auto !important;
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
  align-self: baseline !important;
  position: static !important;
  transform: none !important;
  top: auto !important;
  margin: 0 0 0 auto !important;
}

#desktopDashboard .test-value :is(.mobile-wind-record-date,.mobile-wind-record-time) {
  font-family: var(--mobile-font-display) !important;
  font-size: var(--desktop-unit-size) !important;
  line-height: var(--desktop-unit-size) !important;
  font-weight: 400 !important;
  position: static !important;
  align-self: baseline !important;
  white-space: nowrap !important;
  width: auto !important;
  margin: 0 !important;
  transform: none !important;
}

#desktopDashboard .test-value .mobile-wind-record-value > .mobile-wind-record-time {
  margin-left: auto !important;
}

#desktopDashboard .test-value #desktopWindMeanDirection {
  margin-left: calc(var(--desktop-value-size) * 0.1818181818) !important;
  font-family: var(--font-ui) !important;
  font-size: calc(var(--desktop-value-size) * 0.7) !important;
  line-height: var(--desktop-value-size) !important;
  font-weight: 500 !important;
}

/* 9. TOOLTIPS — GRAPHES ET MINI GRAPHE */

#desktopDashboard .mobile-graph-period-tooltip,
#desktopDashboard .mobile-dashboard-rain-tooltip {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 8px !important;
  line-height: 1.1 !important;
  color: #ffffff;
}


/* 10. INFOS STATION — ICÔNE, RELIEF ET PRÉVISIONS DANS LA CASE CENTRALE */

/* PC — FONDS INTERNES TRANSPARENTS */
#desktopDashboard .desktop-station-info,
#desktopDashboard .desktop-station-info .mobile-home-sky,
#desktopDashboard #mobileHomeForecast,
#desktopDashboard .mobile-graph-date-year {
  background: transparent !important;
}

#desktopDashboard .desktop-station-info {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  max-height: 100% !important;
  box-sizing: border-box;
}

#desktopDashboard .desktop-station-info .mobile-home-current-icon {
  top: 44px;
  left: 0px;
  right: auto;
  width: 64%;
  height: auto;
  aspect-ratio: 1;
}

#desktopDashboard .desktop-station-info .mobile-home-current-temperature-group {
  width: 74px;
  align-items: flex-start;
  right: 10px;
}

#desktopDashboard .desktop-station-info .mobile-home-current-temperature {
  width: max-content;
  align-self: flex-end;
  white-space: nowrap;
  text-align: right;
}
#desktopDashboard .desktop-station-info .mobile-home-current-condition {
  position: static;
  width: 100%;
  max-width: none;
  margin: 4px 0 0;
  text-align: left;
  align-self: auto;
  font-size: 0.60rem;
  line-height: 1.1;
}


#desktopDashboard .desktop-station-info .mobile-home-current-observations {
  position: static;
  transform: none;
  margin: 20px 0 0;
  align-items: flex-start;
  align-self: flex-end;
  width: max-content;
  font-size: 0.60rem;
}

/* Pictogrammes pluie et vent PC */
#desktopDashboard .desktop-station-info .mobile-home-current-observation-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}
#desktopDashboard .desktop-station-info .mobile-home-current-observation-icon > * {
  width: 13px !important;
  height: 13px !important;
}


#desktopDashboard .desktop-station-info .mobile-home-forecast {
  flex-basis: 106px;
  width: 100%;
}

#desktopDashboard .test-slot[data-slot-id="86"] {
  overflow: hidden;
}

#desktopDashboard .desktop-station-info .mobile-home-sky::before {
  inset: auto 0 var(--desktop-instruments-height);
  height: 80px;
}

#desktopDashboard .desktop-station-info .mobile-home-sky::after {
  bottom: var(--desktop-instruments-height);
}

#desktopDashboard .desktop-station-info img.mobile-current-icon--sunset {
  animation-name: desktop-sunset-descent;
}

@keyframes desktop-sunset-descent {
  from {
    transform: translateY(var(--mobile-sunset-start, 0%));
  }

  to {
    transform: translateY(var(--mobile-sunset-end, 82.8%));
  }
}

#desktopDashboard .desktop-station-instruments {
  position: absolute;
  inset: auto 5px 0;
  height: var(--desktop-instruments-height);
  box-sizing: border-box;
  border: 1px solid var(--desktop-border-color);
  border-radius: 0;
  background: transparent;
  pointer-events: none;
  z-index: 3;
}

/* 10A. CIEL NOCTURNE — ÉTOILES, PHASES LUNAIRES ET NUAGES */

/* Aucun pictogramme provisoire pendant la préparation des calques nocturnes. */
#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene-pending] .mobile-home-current-icon {
  visibility: hidden !important;
}

#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene] .mobile-home-current-icon,
#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene]::after {
  display: none !important;
}

#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene]::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: calc(100% - var(--desktop-instruments-height, 100px) - 30px);
  background: transparent url('/img/weather-backgrounds/night-stars.png') center 10px / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 20px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 20px), transparent 100%);
  opacity: 1;
  animation: none;
  z-index: -1;
  pointer-events: none;
}


/* Lune statique masquée avant le rendu astronomique */
#desktopDashboard .desktop-station-info .mobile-home-current-icon img[src*="/weather_sunny_n.png"] {
  visibility: hidden !important;
}

#desktopDashboard .desktop-station-info .weather-night-moon {
  position: absolute;
  top: 55px;
  left: 20px;
  width: 193px;
  height: 193px;
  z-index: -1;
  pointer-events: none;
}

#desktopDashboard .desktop-station-info .weather-night-clouds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: calc(100% - var(--desktop-instruments-height, 100px) - 30px);
  object-fit: fill;
  opacity: 1;
  -webkit-mask: none;
  mask: none;
  z-index: -1;
  pointer-events: none;
}

#desktopDashboard .desktop-station-info .weather-night-moon[hidden],
#desktopDashboard .desktop-station-info .weather-night-clouds[hidden],
#desktopDashboard .desktop-station-info .mobile-home-sky:not([data-night-scene]) .weather-night-moon {
  display: none !important;
}

/* CIEL COUVERT NOCTURNE — rendu validé sur la page de test */
#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene="overcast"] {
  background: transparent !important;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene="overcast"]::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 30px 0 auto !important;
  width: 100% !important;
  height: calc(100% - var(--desktop-instruments-height, 100px) - 30px) !important;
  background: transparent url('/img/weather-backgrounds/overcast-night.png?v=a869845588ef') center top / 110% 110% no-repeat !important;
  -webkit-mask: radial-gradient(
    ellipse 50% 50% at 50% 50%,
    #000 15%,
    rgba(0,0,0,.95) 30%,
    rgba(0,0,0,.75) 45%,
    rgba(0,0,0,.45) 60%,
    rgba(0,0,0,.18) 75%,
    rgba(0,0,0,.04) 90%,
    transparent 100%
  ) !important;
  mask: radial-gradient(
    ellipse 50% 50% at 50% 50%,
    #000 15%,
    rgba(0,0,0,.95) 30%,
    rgba(0,0,0,.75) 45%,
    rgba(0,0,0,.45) 60%,
    rgba(0,0,0,.18) 75%,
    rgba(0,0,0,.04) 90%,
    transparent 100%
  ) !important;
  opacity: 1 !important;
  animation: none !important;
  z-index: -1 !important;
  pointer-events: none;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene="overcast"] .weather-night-moon {
  display: none !important;
}

/* MDS_NIGHT_RAIN_CSS_CLEAN_V1 */
#desktopDashboard .desktop-station-info .weather-scene-rain[hidden] {
  display: none !important;
}

/* CIEL NUAGEUX NOCTURNE BEGIN */
/* Petites étoiles intégrées au PNG ; champ principal désactivé, Lune indépendante. */
#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene="mostly"]::before {
  display: none !important;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene="mostly"] .weather-night-moon {
  top:77px !important;
  left:42px !important;
  width:150px !important;
  height:150px !important;
  z-index:-1 !important;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene="mostly"]::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 0 auto !important;
  width: 100% !important;
  height: calc(100% - var(--desktop-instruments-height, 100px) - 20px) !important;
  background: transparent url('/img/weather-backgrounds/night-clouds-mostly-moonlit.png?v=9b7c43b7cb10')
              center 50px / 100% auto no-repeat !important;
  -webkit-mask: none !important;
  mask: none !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none;
  z-index: 0 !important;
}
/* CIEL NUAGEUX NOCTURNE END */

/* METEO DAY SCENES BEGIN — réglages validés sur les pages de test */
#desktopDashboard .desktop-station-info .mobile-home-sky[data-day-scene] {
  background: transparent !important;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-day-scene] .mobile-home-current-icon {
  display: none !important;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-day-scene="few"] {
  --day-sun-top: 55px;
  --day-sun-left: 20px;
  --day-sun-size: 193px;
  --day-cloud-image: url('/img/weather-backgrounds/day-clouds-few.png?v=569f5130bedd');
  --day-cloud-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221536%22%20height%3D%221024%22%20viewBox%3D%220%200%201536%201024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M0%200H700V550H1536V1024H0Z%22%2F%3E%3C%2Fsvg%3E") center 50px / 100% auto no-repeat;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-day-scene="partial"],
#desktopDashboard .desktop-station-info .mobile-home-sky[data-day-scene="mostly"] {
  --day-sun-top: 77px;
  --day-sun-left: 42px;
  --day-sun-size: 150px;
  --day-cloud-mask: none;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-day-scene="partial"] {
  --day-cloud-image: url('/img/weather-backgrounds/day-clouds-partial.png?v=06601795a926');
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-day-scene="mostly"] {
  --day-cloud-image: url('/img/weather-backgrounds/day-clouds-mostly.png?v=9cc2012ed5ae');
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-day-scene]::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: var(--day-sun-top) auto auto var(--day-sun-left) !important;
  width: var(--day-sun-size) !important;
  height: var(--day-sun-size) !important;
  background: transparent url('/img/weather-realistic/weather_sunny.png?v=f2e1f6ebd78c') center / contain no-repeat !important;
  -webkit-mask: none !important;
  mask: none !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
  pointer-events: none;
  z-index: -1 !important;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-day-scene]::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 0 auto !important;
  width: 100% !important;
  height: calc(100% - var(--desktop-instruments-height, 100px) - 20px) !important;
  background: transparent var(--day-cloud-image) center 50px / 100% auto no-repeat !important;
  -webkit-mask: var(--day-cloud-mask) !important;
  mask: var(--day-cloud-mask) !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none;
  z-index: 0 !important;
}
/* ORAGE DIURNE BEGIN — position validée : 69px, 0deg, 105% */
#desktopDashboard .desktop-station-info .mobile-home-sky[data-day-scene="storm"]::before {
  inset: 69px 0 auto !important;
  width: 100% !important;
  height: calc(100% - var(--desktop-instruments-height, 100px) - 30px) !important;
  background: transparent url('/img/weather-backgrounds/thunderstorm.png?v=a4ea62a2d555') center top / 105% auto no-repeat !important;
  transform: none !important;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-day-scene="storm"]::after {
  display: none !important;
}
/* ORAGE DIURNE END */
/* METEO DAY SCENES END */

/* WEBCAM DANS LA COMPOSITION BEGIN */

#desktopDashboard .desktop-webcam-preview {
  display: grid;
  place-items: center;
  overflow: hidden;

  padding-top: 18px;
}

#desktopDashboard .desktop-webcam-preview-title {
  position: absolute;
  top: 5px;
  left: 8px;
  margin: 0;
}

#desktopDashboard .desktop-webcam-preview > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  pointer-events: none;
}

#desktopDashboard .desktop-webcam-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

#desktopDashboard .desktop-webcam-open:focus-visible {
  outline: 2px solid var(--mobile-color-accent, #58b8f4);
  outline-offset: -3px;
}

#desktopDashboard .desktop-webcam-covered {
  visibility: hidden !important;
  pointer-events: none !important;
}

#desktopDashboard .desktop-webcam-panel {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border: 1px solid var(--desktop-border-color);
  border-radius: 0;
  background: #001f3f;
  color: #fff;
  z-index: 50;
}

#desktopDashboard .desktop-webcam-panel[hidden] {
  display: none;
}

#desktopDashboard .desktop-webcam-toolbar {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  display: flex;
  padding: 0;
  border: 0;
}

#desktopDashboard .desktop-webcam-toolbar > button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ff5050;
  font: 400 28px/1 Arial, sans-serif;
  cursor: pointer;
  transition: background-color .2s ease;
}

@media (hover: hover) {
  #desktopDashboard .desktop-webcam-toolbar > button:hover {
    background: rgba(88,184,244,.25);
  }
}

#desktopDashboard .desktop-webcam-panel > iframe {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
}

/* DIAGRAMME CLIMATIQUE DESKTOP BEGIN */

#desktopDashboard .desktop-climate-diagram {
  width: 100%;
  height: 100%;
  padding: 6px 8px;
  box-sizing: border-box;
}

#desktopDashboard .desktop-climate-diagram > .mobile-station-chart-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

#desktopDashboard .desktop-climate-diagram .mobile-station-chart-head {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
}



#desktopDashboard .desktop-climate-diagram .mobile-dashboard-year-temp-chart-wrap {
  position: relative;
  flex: 1 1 0;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#desktopDashboard #mobileDashboardYearTempChart {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

#desktopDashboard .desktop-climate-diagram .mobile-dashboard-year-temp-legend {
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 7px;
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(0.375rem, 0.5vw, 0.4375rem);
  line-height: 1.2;
}

/* DIAGRAMME CLIMATIQUE DESKTOP END */

/* EPHEMERIDES DESKTOP BEGIN */

#desktopDashboard .desktop-ephemerides {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  height: 100%;
  padding: 6px 8px;
  box-sizing: border-box;
  font-family: var(--font-ui);
}

#desktopDashboard .desktop-ephemerides-title {
  flex: 0 0 auto;
  margin: 0;
}

#desktopDashboard .desktop-ephemerides .sun-moon-phases {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 4px;
  flex: 1 1 0;
  min-height: 0;
  padding: 0;
}

#desktopDashboard .desktop-ephemerides .celestial-block {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#desktopDashboard .desktop-ephemerides .celestial-separator {
  display: none;
}

#desktopDashboard .desktop-ephemerides .celestial-heading {
  flex: 0 0 auto;
  margin: 0;
  gap: 5px;
  font-size: clamp(0.5rem, 0.65vw, 0.5625rem);
  line-height: 1.2;
}

#desktopDashboard .desktop-ephemerides .celestial-dial {
  flex: 1 1 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

#desktopDashboard .desktop-ephemerides .celestial-moon-details {
  margin: 0;
  padding: 0;
  font-size: clamp(0.4375rem, 0.6vw, 0.5rem);
  line-height: 1.35;
}

#desktopDashboard .desktop-ephemerides .moon-location-note {
  width: auto;
  margin: 4px 0 0;
  font-size: 0.4375rem;
  line-height: 1.3;
}

#desktopDashboard .desktop-ephemerides .celestial-moon-symbol {
  background-color: transparent;
  background-size: 124% 124%;
  background-position: center;
  background-repeat: no-repeat;
}

#desktopDashboard .desktop-ephemerides #moonDirectionStatus {
  transform: translateY(-8px);
}

/* EPHEMERIDES DESKTOP END */




/* AROME — BANDEAU PC */
#desktopDashboard .desktop-arome-banner {
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;
}

#desktopDashboard .desktop-arome-banner .weather-banner {
  width: 100%;
  height: calc(100% - 16px);
  background: transparent;
}

#desktopDashboard .desktop-arome-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 1240px;
}

#desktopDashboard .desktop-arome-banner .weather-city {
  height: 88px;
}

#desktopDashboard .desktop-arome-banner .weather-city-name {
  font-size: .625rem;
}

#desktopDashboard .desktop-arome-banner .weather-period {
  width: 76px;
  height: 84px;
  padding: 6px;
  grid-template-columns: minmax(0,1fr) 26px;
  row-gap: 4px;
  box-sizing: border-box;
}

#desktopDashboard .desktop-arome-banner .weather-period-label,
#desktopDashboard .desktop-arome-banner .weather-feels-like,
#desktopDashboard .desktop-arome-banner .weather-rain {
  font-size: .5rem;
}

#desktopDashboard .desktop-arome-banner .weather-temperature {
  font-size: .875rem;
}

#desktopDashboard .desktop-arome-banner .weather-icon,
#desktopDashboard .desktop-arome-banner .weather-icon :is(img,svg,.meteocon) {
  width: 26px;
  height: 26px;
  max-width: 26px;
  max-height: 26px;
}

#desktopDashboard .desktop-arome-title {
  height: 16px;
  box-sizing: border-box;
  margin: 0;
  padding: 3px 8px 0;
}

/* LIENS SOURCES — TRANSITION DU TEXTE UNIQUEMENT */
#desktopDashboard .desktop-vigilance .vigilance-title-source a,
#desktopDashboard .desktop-air-quality .air-source a .air-source-text {
  transition: opacity .2s ease;
}

#desktopDashboard .desktop-vigilance .vigilance-title-source a:is(:hover, :active, :focus-visible),
#desktopDashboard .desktop-air-quality .air-source a:is(:hover, :active, :focus-visible) .air-source-text {
  opacity: .8;
}

/* VIGILANCE — CADRE PC ; CONTENU STYLÉ PAR LA FEUILLE PORTRAIT COMMUNE */
#desktopDashboard .desktop-vigilance {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--mobile-color-foreground-40) transparent;
  font-family: var(--font-ui);
}

#desktopDashboard .desktop-vigilance .vigilance-wrap {
  padding: 6px 10px 10px;
}

#desktopDashboard .desktop-vigilance-title {
  margin: 0 0 18px;
}

#desktopDashboard .desktop-vigilance .vigilance-title-source {
  display: inline !important;
  margin: 0 0 0 4px !important;
  font-size: .5rem !important;
}

#desktopDashboard .desktop-vigilance .vigilance-title-source a {
  text-decoration: none !important;
}

#desktopDashboard .desktop-vigilance .vigilance-color-legend {
  grid-template-columns: minmax(0, 1fr);
}

/* VIGILANCE PC — DÉPARTEMENTS COMPACTS */
#desktopDashboard .desktop-vigilance :is(
  .vigilance-phenomenon-card,
  .vigilance-neighbor-item
) {
  min-height: 27px;
}

#desktopDashboard .desktop-vigilance .vigilance-neighbor-item {
  height: 27px;
  padding: 0 6px;
  align-items: center;
  gap: 4px;
}

#desktopDashboard .desktop-vigilance .vigilance-neighbor-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 0;
}

#desktopDashboard .desktop-vigilance .vigilance-neighbor-content {
  flex: 1 1 auto;
  min-width: 0;
}

#desktopDashboard .desktop-vigilance .vigilance-neighbor-name {
  margin: 0 0 1px;
  font-size: .55rem;
  line-height: 1.1;
}

#desktopDashboard .desktop-vigilance .vigilance-neighbor-detail {
  margin: 0;
  font-size: .5rem;
  line-height: 1.1;
}

/* VIGILANCE PC — DIMENSIONS ET LISIBILITÉ */

#desktopDashboard .desktop-vigilance .vigilance-badge {
  height: 20px;
  padding: 0 5px;
  gap: 3px;
  font-size: 8px;
  line-height: 1;
}


#desktopDashboard .desktop-vigilance .vigilance-period-link {
  height: 24px !important;
  min-height: 0 !important;
  padding: 0 5px !important;
  font-size: .525rem !important;
  line-height: 1 !important;
}

#desktopDashboard .desktop-vigilance .vigilance-phenomenon-name {
  font-size: .55rem !important;
}

#desktopDashboard .desktop-vigilance .vigilance-map-wrap svg {
  width: 112% !important;
  max-width: none !important;
  height: auto !important;
  margin-left: -6% !important;
}

#desktopDashboard .desktop-vigilance :is(
  .vigilance-bulletin-heading,
  .vigilance-bulletin-title,
  .vigilance-bulletin-content,
  .vigilance-bulletin-empty,
  .vigilance-bulletin-date,
  .vigilance-bulletin-section-title,
  .vigilance-bulletin-group-title
) {
  font-size: .5625rem !important;
  line-height: 1.2 !important;
}

/* QUALITÉ DE L'AIR — CADRAN COMMUN, CADRE PC */
#desktopDashboard .desktop-air-quality {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 6px 8px;
  box-sizing: border-box;
  font-family: var(--font-ui);
}

#desktopDashboard .desktop-air-quality-title {
  flex: 0 0 auto;
  margin: 0 0 6px;
}

#desktopDashboard .desktop-air-quality #air-quality-module {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

#desktopDashboard .desktop-air-quality .air-source {
  position: static;
  flex: 0 0 auto;
  width: 100%;
}

#desktopDashboard .desktop-air-quality .air-source a {
  font-size: .5rem;
  opacity: 1;
  transition: none;
}

#desktopDashboard .desktop-air-quality .air-main-row {
  flex: 1 1 auto;
  height: auto;
  padding: 0;
}

#desktopDashboard .desktop-air-quality .air-container {
  transform: translateY(30px) scale(.8);
}

#desktopDashboard .desktop-air-quality .air-center :is(.air-center-title, .air-center-subtitle) {
  font-size: .5rem;
}

/* Légende du cadran : taille, largeur et positions */
#desktopDashboard #air-quality-module .air-ring-legend-item {
  font-size: 8px;
}

#desktopDashboard .desktop-air-quality .air-ring-legend-label {
  width: 3.75rem;
}

#desktopDashboard #air-quality-module .legend-3 {
  --dot-x: 40%;
  --dot-y: 14%;
}

#desktopDashboard #air-quality-module .legend-4 {
  --dot-x: 60%;
  --dot-y: 14%;
}

/* FOOTER PC — CONTENU COMMUN AVEC LE MOBILE */
#desktopDashboard .desktop-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "social brand links" "social text links";
  align-items: center;
  column-gap: 18px;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 3px 10px;
  border: 0;
  box-sizing: border-box;
}

#desktopDashboard .desktop-footer .mobile-footer-socials {
  grid-area: social;
  justify-self: start;
}

#desktopDashboard .desktop-footer .mobile-footer-brand {
  grid-area: brand;
}

#desktopDashboard .desktop-footer .mobile-footer-text {
  grid-area: text;
  max-width: none;
}

#desktopDashboard .desktop-footer .mobile-footer-links {
  grid-area: links;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

#desktopDashboard .desktop-footer :is(
  .mobile-footer-socials,
  .mobile-footer-brand,
  .mobile-footer-text
) {
  margin: 0;
}

#desktopDashboard .desktop-footer :is(a,button) {
  transition: opacity .2s ease;
}

#desktopDashboard .desktop-footer :is(a,button):is(:hover,:focus-visible) {
  opacity: .8;
}

/* FOOTER — PAGES INTÉGRÉES ENTRE L'EN-TÊTE ET LE PIED DE PAGE */
#desktopDashboard .desktop-footer-page-panel {
  position: absolute;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  border: 1px solid var(--desktop-border-color);
  box-sizing: border-box;
  background: #001f3f;
}

#desktopDashboard .desktop-footer-page-panel[hidden] {
  display: none;
}

#desktopDashboard .desktop-footer-page-covered {
  visibility: hidden;
}

#desktopDashboard .desktop-footer-page-toolbar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 36px;
  padding: 4px 12px;
  box-sizing: border-box;
}

#desktopDashboard .desktop-footer-page-toolbar h2 {
  display: none;
}

#desktopDashboard .desktop-footer-page-toolbar button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mobile-color-red, #ff5050);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: opacity .2s ease;
}

#desktopDashboard .desktop-footer-page-toolbar button:is(:hover,:focus-visible) {
  opacity: .7;
}

#desktopDashboard .desktop-footer-page-panel iframe {
  display: block;
  flex: 1 1 0;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #001f3f;
}

/* METEO SNOW SCENE BEGIN */
#desktopDashboard .desktop-station-info .mobile-home-sky[data-snow-scene] .mobile-home-current-icon {
  display: none !important;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-snow-scene]::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 0 auto !important;
  width: 100%;
  height: calc(100% - var(--desktop-instruments-height, 100px) - 30px) !important;
  background: transparent url('/img/weather-backgrounds/snow.png?v=54a2c6a1a105') center top / 100% 100% no-repeat !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 20px), transparent 100%) !important;
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 20px), transparent 100%) !important;
  opacity: 1 !important;
  animation: none !important;
  z-index: -1 !important;
  pointer-events: none;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-snow-scene]::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 65px auto auto 10px !important;
  width: 193px !important;
  height: 193px !important;
  background: transparent url('/img/weather-backgrounds/snowflake.svg?v=7bc608bc9921') center / contain no-repeat !important;
  -webkit-mask: none !important;
  mask: none !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
  border: none !important;
  box-shadow: none !important;
  z-index: -1 !important;
  pointer-events: none;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-snow-scene] .weather-night-moon,
#desktopDashboard .desktop-station-info .mobile-home-sky[data-snow-scene] .weather-night-clouds {
  display: none !important;
}
/* METEO SNOW SCENE END */


/* MDS_OBSERVED_NIGHT_RAIN_V2 BEGIN */
#desktopDashboard .desktop-station-info .mobile-home-sky[data-observed-night-rain="1"] {
  background: transparent !important;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-observed-night-rain="1"]::before,
#desktopDashboard .desktop-station-info .mobile-home-sky[data-observed-night-rain="1"]::after,
#desktopDashboard .desktop-station-info .mobile-home-sky[data-observed-night-rain="1"] .weather-night-moon,
#desktopDashboard .desktop-station-info .mobile-home-sky[data-observed-night-rain="1"] .weather-night-clouds {
  display: none !important;
  background: none !important;
  animation: none !important;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-observed-night-rain="1"] .weather-scene-rain {
  position: absolute;
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  clip-path: none;
  -webkit-mask: none;
  mask: none;
  opacity: 1;
  filter: none;
  pointer-events: none;
  z-index: -2;
}
/* MDS_OBSERVED_NIGHT_RAIN_V2 END */


/* MDS_STORM_DAY_NIGHT_V1 BEGIN */
#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene="storm"] {
  background: transparent !important;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene="storm"]::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 69px 0 auto !important;
  width: 100% !important;
  height: calc(100% - var(--desktop-instruments-height, 100px) - 30px) !important;
  background: transparent url('/img/weather-backgrounds/thunderstorm.png?v=a4ea62a2d555') center top / 105% auto no-repeat !important;
  -webkit-mask: none !important;
  mask: none !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
  pointer-events: none;
  z-index: -1 !important;
}
#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene="storm"]::after,
#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene="storm"] .weather-night-moon,
#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene="storm"] .weather-night-clouds,
#desktopDashboard .desktop-station-info .mobile-home-sky[data-night-scene="storm"] .weather-scene-rain {
  display: none !important;
}
/* MDS_STORM_DAY_NIGHT_V1 END */
