#sitIsland,
#teaChoices,
#musicCabinet,
#breezeSend,
#breezeBanner,
#teaProgress {
  position: fixed;
  z-index: 21;
  background: #fff9e9e6;
  color: #654f41;
  border: 1px solid #fffdf4;
  box-shadow: 0 5px 24px #503d291f;
  backdrop-filter: blur(12px);
  border-radius: 24px;
}
#sitIsland,
#teaChoices,
#musicCabinet,
#breezeSend,
#breezeBanner {
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
#sitIsland,
#breezeSend {
  bottom: max(26px, env(safe-area-inset-bottom));
}
#sitIsland {
  padding: 5px;
}
#sitIsland button,
#teaChoices button,
#autoCrank,
#breezeSend {
  padding: 10px 12px;
  font: 500 13px system-ui;
  border-radius: 20px;
}
#sitIsland button:hover,
#teaChoices button:hover,
#autoCrank[aria-pressed="true"] {
  background: #eddec3;
}
#musicCabinet,
#teaChoices {
  bottom: 84px;
  padding: 9px;
}
#musicCabinet:not([hidden]) {
  display: grid;
  justify-items: center;
}
#crank {
  touch-action: none;
  width: 102px;
  background: transparent;
}
#crank svg {
  display: block;
  width: 100%;
}
#teaProgress {
  right: 18px;
  bottom: 24px;
  opacity: 0.8;
  padding: 5px 9px;
  display: flex;
  align-items: center;
  font-size: 12px;
}
#teaProgress[hidden] {
  display: none;
}
#backgroundAudio {
  display: inline;
  width: auto;
  margin: 0 0.4em 0 0;
}
#breezeBanner {
  top: 12%;
  padding: 12px 20px;
  animation: breeze-banner 5s both;
}
#breezeSend {
  animation: chime-breath 3s ease-in-out infinite;
}
.sanctuary-seated #breezeSend {
  bottom: 84px;
}
.sanctuary-seated:has(#musicCabinet:not([hidden])) #breezeSend {
  bottom: 252px;
}
.sanctuary-seated:has(#teaChoices:not([hidden])) #breezeSend {
  bottom: 150px;
}
.sanctuary-seated footer {
  visibility: hidden;
}
body.sit-drift
  :is(
    header,
    footer,
    nav,
    aside,
    #contextActions,
    #joystick,
    .place-label,
    #sitIsland,
    #breezeSend,
    .touch-pad,
    #firstGuide,
    .pet-card,
    #miniMap
  ) {
  opacity: 0.1;
  transition: opacity 0.6s;
}
body.photo-mode
  :is(
    #sitIsland,
    #teaProgress,
    #musicCabinet,
    #teaChoices,
    #breezeSend,
    #breezeBanner
  ) {
  visibility: hidden;
}
@keyframes breeze-banner {
  0%,
  100% {
    opacity: 0;
  }
  18%,
  70% {
    opacity: 1;
  }
}
@keyframes chime-breath {
  50% {
    box-shadow: 0 0 22px #fff2c899;
  }
}
@media (prefers-reduced-motion: reduce) {
  #breezeSend {
    animation: none;
  }
}

#musicCabinet {
  left: clamp(90px, 20vw, 280px);
}
@media (max-width: 540px) {
  #musicCabinet {
    left: 85px;
  }
}

.private-box-note {
  position: fixed;
  pointer-events: none;
  color: #fff3d7;
  text-shadow: 0 1px 5px #927753;
  font-size: 18px;
  transform: translate(-50%, -100%);
}

#breezeMap {
  display: none;
  position: fixed;
  top: 150px;
  right: 22px;
  width: 160px;
  height: 120px;
  border-radius: 18px;
  box-shadow: 0 4px 18px #574b3720;
  pointer-events: auto;
}
.breeze-prelude:not(.photo-mode):not(.sit-drift) #breezeMap {
  display: block;
}
body
  :is(
    header,
    footer,
    nav,
    aside,
    .place-label,
    #sitIsland,
    #breezeSend,
    .touch-pad,
    #firstGuide,
    .pet-card
  ) {
  transition: opacity 0.6s;
}
