html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #1b1b1b;
  color: #788692;
  font-family: Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

#app {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 8px;
  background: #1b1b1b;
}

.player-button {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(120, 134, 146, 0.55);
  border-radius: 50%;
  background: #1b1b1b;
  color: #8996a0;
  cursor: pointer;
  display: grid;
  place-items: center;
  appearance: none;
  outline: none;
}

.player-hint {
    position: absolute;
    right: 6px;
    bottom: -10px;
    width: 90px;
    text-align: center;
    font-size: 8px;
}

.player-button:hover {
  transform: scale(1.035);
  border-color: rgba(137, 150, 160, 0.9);
}

.player-button:focus-visible {
  outline: 1px solid rgba(137, 150, 160, 0.9);
  outline-offset: 4px;
}

.record-ring {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(120, 134, 146, 0.22);
  border-radius: 50%;
}

.record-ring::after {
  width: 4px;
  height: 4px;
}

.player-icon {
  position: relative;
  z-index: 1;
  display: block;
}

.player-icon.play {
  margin-left: 2px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid currentColor;
}

.player-icon.pause {
  width: 8px;
  height: 11px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.player-button.is-playing .record-ring {
  animation: rotate-record 8s linear infinite;
}

.player-button.is-loading {
  opacity: 0.65;
  cursor: wait;
}

.player-hint {
  display: none;
}

@keyframes rotate-record {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .player-button,
  .player-button.is-playing .record-ring {
    transition: none;
    animation: none;
  }
}

