/* The corner sound button. Shown by public/tutorial-sound.js (body
   data-corner-sound) whenever no other sound button is on screen. It grows
   from its corner as the tutorial's volume rises (--cwl-corner-scale). */
.cwl-sound-corner {
  display: none;
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 9500;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(20, 14, 8, 0.8);
  color: #ffe9b0;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transform: scale(var(--cwl-corner-scale, 1));
  transform-origin: 0 100%;
  transition: transform 0.6s ease;
}

body[data-corner-sound] .cwl-sound-corner {
  display: flex;
}

.cwl-sound-corner.is-silent {
  opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
  .cwl-sound-corner {
    transition: none;
  }
}
