.home-promotion {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  /* Let the protruding mascot render above the cookie-preferences control (10000). */
  z-index: 10001;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color: #fff;
  background: #0565ff;
}

.home-promotion[hidden],
.home-promotion [hidden] {
  display: none;
}

.home-promotion__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 6px 48px;
}

.home-promotion__artwork {
  flex: 0 0 auto;
  align-self: flex-end;
  width: 96px;
  height: 96px;
  margin-top: -56px;
  object-fit: contain;
  transform: translateY(18px) scaleX(-1);
}

.home-promotion__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  flex: 0 1 auto;
  min-width: 0;
}

.home-promotion h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(17px, 1.15vw, 20px);
  font-weight: 400;
  line-height: 1.2;
}

.home-promotion h2 strong {
  font-weight: 800;
}

.home-promotion__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 6px 20px;
  color: #fff;
  background: #141644;
  border: 0;
  border-radius: 6px;
  font-size: clamp(17px, 1.15vw, 20px);
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.home-promotion__action svg {
  flex-shrink: 0;
}

.home-promotion__action:hover,
.home-promotion__action:active,
.home-promotion__action:focus-visible {
  transform: none;
  filter: none;
  box-shadow: none !important;
}

.home-promotion__action:hover,
.home-promotion__action:active {
  color: #fff;
  background: #252960;
}

.home-promotion__action:focus-visible {
  color: #fff;
  background: #141644;
  outline: 3px solid #fff;
  outline-offset: 4px;
}

/* Keep footer content and cookie controls above the visible bottom ribbon. */
body:has(.home-promotion:not([hidden])) {
  padding-bottom: var(--home-promotion-height, 52px);
}

body:has(.home-promotion:not([hidden])):has(.vs-audience-choices) {
  padding-bottom: calc(var(--home-promotion-height, 52px) + 40px);
}

body:has(.home-promotion:not([hidden])) .vs-audience-choices {
  bottom: var(--home-promotion-height, 52px);
  padding-bottom: 0;
}

@media (max-width: 767px) {
  .home-promotion__inner {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 6px 20px;
  }

  .home-promotion__artwork {
    align-self: center;
    width: 70px;
    height: 70px;
    margin-top: -30px;
    transform: translateY(6px) scaleX(-1);
  }

  .home-promotion__copy {
    flex-basis: calc(100% - 82px);
    gap: 4px;
  }

  .home-promotion h2 {
    font-size: 17px;
  }

  .home-promotion__action {
    width: 100%;
    padding: 6px 18px;
    font-size: 17px;
    text-align: center;
  }
}
