/* FV63 adaptation: keep the approved moon-gate image and move only its water. */
.hero-media {
  overflow: hidden;
}

.hero-media > img,
.hero-ripple {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-ripple {
  z-index: 1;
  display: block;
  pointer-events: none;
  opacity: 1;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* The sound control lives in the sticky header so it never covers the LINE CTA. */
.saku-sound[hidden] {
  display: none !important;
}

.saku-sound {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #d9c08b;
  background: rgba(17, 16, 36, .32);
  border: 1px solid rgba(217, 192, 139, .46);
  border-radius: 50%;
  cursor: pointer;
  appearance: none;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.saku-sound:hover {
  color: #f1ddae;
  border-color: rgba(241, 221, 174, .8);
}

.saku-sound:active {
  transform: scale(.96);
}

.saku-sound:focus-visible {
  outline: 2px solid #f4eddf;
  outline-offset: 3px;
}

.saku-sound.is-on {
  color: #17162a;
  background: #d9c08b;
  border-color: #ecd8a8;
}

.world-v1 .site-header .mini-cta {
  color: #17162a;
}

.world-v1 .site-footer .copyright {
  color: rgba(244, 237, 223, .74);
}

.saku-sound__icon {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.saku-sound__ring,
.saku-sound__moon,
.saku-sound__bell,
.saku-sound__wave {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.saku-sound__ring {
  opacity: .28;
}

.saku-sound__moon {
  fill: currentColor;
  fill-opacity: .12;
}

.saku-sound__bell {
  stroke-width: 1.35;
}

.saku-sound__wave {
  opacity: 0;
  transform: translateX(-2px);
  transform-origin: center;
  transition: opacity .25s ease, transform .25s ease;
}

.saku-sound.is-on .saku-sound__wave {
  opacity: 1;
  transform: translateX(0);
}

.saku-sound__hint,
.saku-sound__bubble {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 2;
  width: max-content;
  max-width: min(220px, 72vw);
  padding: .45rem .65rem;
  color: #f4eddf;
  background: rgba(17, 16, 36, .96);
  border: 1px solid rgba(217, 192, 139, .36);
  font-family: var(--free-body, sans-serif);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .04em;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity .2s ease, transform .2s ease;
}

.saku-sound:hover .saku-sound__hint,
.saku-sound:focus-visible .saku-sound__hint,
.saku-sound.is-fail .saku-sound__bubble {
  opacity: 1;
  transform: translateY(0);
}

.saku-sound__hint--on,
.saku-sound.is-on .saku-sound__hint--off,
.saku-sound.is-fail .saku-sound__hint {
  display: none;
}

.saku-sound.is-on .saku-sound__hint--on {
  display: block;
}

.saku-sound__bubble {
  display: none;
  width: 210px;
}

.saku-sound.is-fail .saku-sound__bubble {
  display: block;
}

@media (max-width: 560px) {
  .world-v1 .nav {
    gap: .5rem;
  }

  .saku-sound {
    width: 44px;
    height: 44px;
  }

  .saku-sound__hint {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ripple {
    display: none;
  }

  .saku-sound,
  .saku-sound__wave,
  .saku-sound__hint,
  .saku-sound__bubble {
    transition: none;
  }
}
