/* Walkman: sizing + transport key states */
.walkman {
  display: block;
  width: 100%;
  max-width: 608px;
  height: auto;
  overflow: visible; /* lets the focus ring on the keys show above the top edge */
}

.walkman .wm-key {
  cursor: pointer;
  transition: transform 120ms ease-out;
  -webkit-tap-highlight-color: transparent;
}

/* Latched (active) key sinks into the body */
.walkman .wm-key[aria-pressed="true"] {
  transform: translateY(6px);
}

.walkman .wm-key:active {
  transform: translateY(8px);
}

.walkman .wm-key:focus {
  outline: none;
}

.walkman .wm-key:focus-visible {
  outline: 2px solid #87e6d8;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .walkman .wm-key {
    transition: none;
  }
}
