/* Track actions share the hero surface. Keep the native buttons and handlers. */
#cue-detail .cue-player .row::before {
  grid-row: 1 / 3;
}

#cue-detail .cue-player .tools {
  display: flex;
  justify-self: start;
  align-self: end;
  width: max-content;
  max-width: calc(100% + 24px);
  margin: 0 0 0 -24px;
  padding: 6px 12px;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-start;
  border: 0;
  border-radius: 0 8px 0 10px;
  background: #34363a;
  position: relative;
}

#cue-detail .cue-player .tools .ico {
  display: grid !important;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  opacity: 1;
  color: #f4f4f5;
  border-radius: 4px;
}

#cue-detail .cue-player .tools .ico:hover,
#cue-detail .cue-player .tools .ico.on,
#cue-detail .cue-player .tools .ico.set {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

#cue-detail .cue-player .tools .ico:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
}

#cue-detail .cue-player .tools .ico:disabled {
  opacity: .38;
  background: none;
}

#cue-detail .cue-player .tools .ico .n {
  color: #c6c7ca;
}

/* A current-track marker conveys voice evidence; playback adds no accent. */
#cue-detail .cue-player .meta .vox {
  color: #d3d4d6;
  border-color: #686b70;
}

@media (max-width: 600px) {
  #cue-detail .cue-player .tools {
    display: grid;
    grid-template-columns: repeat(4, 44px);
    max-width: calc(100% + 18px);
    margin-left: -18px;
    padding: 6px 10px;
    gap: 2px;
  }
}
