.section-trends {
  position: relative;
  width: 100%;
  background: linear-gradient(59.6deg, var(--cream) 24.59%, var(--cream-mid) 84.6%);
}

.section-trends__map {
  position: relative;
  width: 100%;
}

.section-trends__overview,
.section-trends__overview img {
  display: block;
  width: 100%;
  height: auto;
}

.section-trends__actions {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-trends__hotspot {
  position: absolute;
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  border-radius: 999px;
  -webkit-tap-highlight-color: transparent;
}

.section-trends__hotspot:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Desktop button positions measured from section-trends.png (2880×2721) */
.section-trends__hotspot--sleep {
  left: 11.6%;
  top: 54.1%;
  width: 12.4%;
  height: 4.1%;
}

.section-trends__hotspot--pollution {
  left: 52.6%;
  top: 54.1%;
  width: 12.4%;
  height: 4.1%;
}

.section-trends__hotspot--lifestyle {
  left: 11.6%;
  top: 85.3%;
  width: 12.4%;
  height: 4.1%;
}

.section-trends__hotspot--thinfat {
  left: 52.6%;
  top: 85.3%;
  width: 12.4%;
  height: 4.1%;
}

.section-trends__inline-detail {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px 24px;
}

.section-trends__inline-detail img {
  width: 100%;
  height: auto;
}

.trend-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 24px 16px;
}

.trend-modal[hidden] {
  display: none;
}

.trend-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 23, 0.75);
}

.trend-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  margin: auto 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.trend-modal__dialog img {
  width: 100%;
  height: auto;
}

.trend-modal__close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(23, 23, 23, 0.7);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

body.is-trend-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  /* Mobile button positions measured from section-trends-mobile.png (780×1940) */
  .section-trends__hotspot--sleep {
    left: 6.8%;
    top: 33.8%;
    width: 22%;
    height: 3%;
  }

  .section-trends__hotspot--pollution {
    left: 6.8%;
    top: 54.5%;
    width: 22%;
    height: 3%;
  }

  .section-trends__hotspot--lifestyle {
    left: 6.8%;
    top: 75.3%;
    width: 22%;
    height: 3%;
  }

  .section-trends__hotspot--thinfat {
    left: 6.8%;
    top: 92.7%;
    width: 22%;
    height: 3%;
  }
}
