/* moment beta — shared, independent theme and intention carousels */
body.beta-page .beta-journey-image:has(> .moment-themes-carousel) {
  position: relative;
}
body.beta-page .beta-journey-image > .moment-themes-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  isolation: isolate;
}
body.beta-page .moment-themes-carousel .moment-themes-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
}
body.beta-page .moment-themes-carousel .moment-theme-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: auto;
  max-width: calc(100% - 88px);
  height: 370px;
  max-height: calc(100% - 56px);
  padding: 0;
  box-sizing: border-box;
  object-fit: contain;
  border-radius: 20px;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s ease, visibility .4s ease;
}
body.beta-page .moment-themes-carousel .moment-theme-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
body.beta-page .moment-themes-carousel .moment-theme-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0 0 3px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(18,18,24,.8);
  color: white;
  font-family: inherit;
  font-size: 23px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .2s ease, border-color .2s ease;
}
body.beta-page .moment-themes-carousel .moment-theme-prev { left: 10px; right: auto; }
body.beta-page .moment-themes-carousel .moment-theme-next { right: 10px; left: auto; }
body.beta-page .moment-themes-carousel .moment-theme-arrow:hover {
  background: rgba(65,42,91,.95);
  border-color: rgba(255,255,255,.65);
}
body.beta-page .moment-themes-carousel .moment-theme-arrow:focus-visible,
body.beta-page .moment-themes-carousel .moment-theme-dot:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}
body.beta-page .moment-themes-carousel .moment-theme-dots {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(18,18,24,.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
body.beta-page .moment-themes-carousel .moment-theme-dot {
  display: block;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
body.beta-page .moment-themes-carousel .moment-theme-dot.is-active {
  width: 17px;
  background: white;
}
@media (max-width: 600px) {
  body.beta-page .moment-themes-carousel .moment-theme-slide {
    max-width: calc(100% - 76px);
    max-height: calc(100% - 40px);
  }
  body.beta-page .moment-themes-carousel .moment-theme-arrow { width: 30px; height: 30px; font-size: 21px; }
  body.beta-page .moment-themes-carousel .moment-theme-prev { left: 6px; }
  body.beta-page .moment-themes-carousel .moment-theme-next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  body.beta-page .moment-themes-carousel .moment-theme-slide,
  body.beta-page .moment-themes-carousel .moment-theme-dot { transition: none; }
}
