.meteoalps-promo {
  position: fixed;
  z-index: 4200;
  top: max(72px, calc(env(safe-area-inset-top) + 58px));
  left: 50%;
  width: min(680px, calc(100vw - 24px));
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto 38px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(14, 22, 29, 0.94);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.46);
  color: #f6f8fb;
  font-family: Arial, Helvetica, sans-serif;
  backdrop-filter: blur(18px) saturate(135%);
  transform: translateX(-50%);
  animation: meteoalps-promo-in 240ms ease-out both;
}

.meteoalps-promo[hidden] {
  display: none;
}

.meteoalps-promo__logo {
  width: 54px;
  height: 54px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 16px rgba(1, 9, 24, 0.38);
}

.meteoalps-promo__copy {
  min-width: 0;
}

.meteoalps-promo__copy strong,
.meteoalps-promo__copy span {
  display: block;
}

.meteoalps-promo__copy strong {
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.meteoalps-promo__copy span {
  color: #bdc9d4;
  font-size: 0.79rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.meteoalps-promo__action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid #66dfc2;
  border-radius: 8px;
  background: #66dfc2;
  color: #071713;
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.meteoalps-promo__close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #f6f8fb;
  cursor: pointer;
  font: 700 22px/1 Arial, Helvetica, sans-serif;
}

.meteoalps-promo__action:hover,
.meteoalps-promo__close:hover {
  filter: brightness(0.96);
}

.meteoalps-promo__action:focus-visible,
.meteoalps-promo__close:focus-visible {
  outline: 3px solid rgba(102, 223, 194, 0.45);
  outline-offset: 2px;
}

#menuDropdown .meteoalps-link {
  color: #82e8cf;
  font-weight: 700;
}

@keyframes meteoalps-promo-in {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 620px) {
  .meteoalps-promo {
    top: max(66px, calc(env(safe-area-inset-top) + 54px));
    width: calc(100vw - 16px);
    grid-template-columns: 46px minmax(0, 1fr) 36px;
    gap: 9px;
    padding: 10px;
  }

  .meteoalps-promo__logo {
    width: 46px;
    height: 46px;
  }

  .meteoalps-promo__action {
    grid-column: 1 / 4;
    grid-row: 2;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }

  .meteoalps-promo__close {
    grid-column: 3;
    grid-row: 1;
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .meteoalps-promo {
    animation: none;
  }
}
