/* Prototype v3の瓶と再生中の装飾を維持します。 */
.stage {
  height: 218px;
  display: grid;
  place-items: center;
  position: relative;
}
.halo {
  position: absolute;
  width: 198px;
  height: 198px;
  border: 1px solid rgba(39, 48, 45, 0.11);
  border-radius: 50%;
}
.halo.two {
  width: 164px;
  height: 164px;
  border-style: dashed;
  opacity: 0.66;
}
.halo.three {
  width: 128px;
  height: 128px;
  opacity: 0.48;
}
.bottle {
  width: 122px;
  height: 151px;
  overflow: hidden;
  position: relative;
  border-radius: 48% 48% 43% 43%/40% 40% 55% 55%;
  border: 1px solid rgba(65, 78, 72, 0.24);
  background:
    linear-gradient(
      153deg,
      rgba(255, 255, 255, 0.82),
      rgba(255, 255, 255, 0.08) 36%,
      rgba(93, 111, 104, 0.1)
    ),
    rgba(214, 220, 213, 0.45);
  box-shadow:
    inset 12px 0 27px rgba(255, 255, 255, 0.56),
    inset -10px -18px 30px rgba(83, 97, 88, 0.12),
    0 24px 36px rgba(72, 79, 73, 0.13);
}
.bottle:before {
  content: "";
  position: absolute;
  width: 42px;
  height: 15px;
  top: -8px;
  left: 39px;
  border-radius: 4px 4px 9px 9px;
  background: rgba(233, 232, 226, 0.94);
  border: 1px solid rgba(65, 78, 72, 0.2);
  z-index: 4;
}
.bottle:after {
  content: "";
  position: absolute;
  inset: 11px 16px auto 15px;
  height: 66%;
  border-radius: 50%;
  border-left: 1px solid rgba(255, 255, 255, 0.57);
  transform: rotate(4deg);
  pointer-events: none;
}
.liquid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bubble {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  left: 31px;
  top: 83px;
  box-shadow:
    45px 17px 0 1px rgba(255, 255, 255, 0.43),
    32px 56px 0 -2px rgba(255, 255, 255, 0.35);
  z-index: 2;
}
.orb {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 3px 8px rgba(39, 48, 45, 0.13);
  transition: opacity 0.25s;
}
.o1 {
  background: var(--clay);
  transform: translate(-88px, -51px);
}
.o2 {
  background: var(--wood);
  transform: translate(83px, -61px);
}
.o3 {
  background: var(--air);
  transform: translate(94px, 56px);
}
.o4 {
  background: var(--tone);
  transform: translate(-85px, 69px);
}
.play-main {
  position: absolute;
  right: 4px;
  bottom: 12px;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #f8f6f0;
  box-shadow: 0 16px 29px rgba(39, 48, 45, 0.25);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
}
.play-main svg {
  width: 21px;
  height: 21px;
  margin-left: 3px;
}
.play-main .pause-lines {
  display: none;
}
.playing .play-main .play-triangle {
  display: none;
}
.playing .play-main .pause-lines {
  display: block;
}
.playing .halo {
  animation: breathe 3.2s ease-in-out infinite;
}
.playing .halo.two {
  animation-delay: 0.55s;
}
.playing .halo.three {
  animation-delay: 1.05s;
}
@keyframes breathe {
  50% {
    transform: scale(1.045);
    opacity: 1;
  }
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.58;
  }
}
.time-block {
  position: absolute;
  left: 4px;
  bottom: 24px;
}
.time-block strong {
  display: block;
  font:
    20px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.audio-state {
  position: absolute;
  left: 4px;
  bottom: 3px;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
