/* Prepared shared styling; keep the controls compact and responsive. */
.bio7-joy-player {
  color: inherit;
  display: block;
  margin: 0.5rem 0 0.7rem;
  max-width: 100%;
}

.bio7-joy-player__controls {
  align-items: center;
  background: color-mix(in srgb, currentColor 4%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 0.65rem;
  box-sizing: border-box;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 2.35rem minmax(2.5rem, 1fr) 3.25rem 3.55rem;
  height: 54px;
  padding: 0.35rem 0.5rem;
  width: 100%;
}

.bio7-joy-player button {
  align-items: center;
  background: transparent;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 0.45rem;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  justify-content: center;
  min-height: 2rem;
  min-width: 2rem;
  padding: 0.2rem 0.45rem;
}

.bio7-joy-player button:focus-visible,
.bio7-joy-player input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.bio7-joy-player__play { font-size: 0.9rem !important; }
.bio7-joy-player__seek { accent-color: #43824c; margin: 0; min-width: 2.5rem; width: 100%; }
.bio7-joy-player__time { font-size: 0.72rem; font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap; }
.bio7-joy-player__speed { font-size: 0.78rem !important; white-space: nowrap; }
.bio7-joy-player__credit { font-size: 0.68rem; line-height: 1.3; margin: 0.2rem 0.25rem 0; opacity: 0.76; }
.bio7-joy-player__credit a { color: inherit; text-decoration: underline; text-underline-offset: 0.12em; }

@media (max-width: 390px) {
  .bio7-joy-player__controls {
    gap: 0.35rem;
    grid-template-columns: 2.15rem minmax(2rem, 1fr) 2.9rem 3.15rem;
    padding-inline: 0.35rem;
  }
  .bio7-joy-player__time { font-size: 0.66rem; }
  .bio7-joy-player__speed { font-size: 0.72rem !important; }
}

@media (prefers-color-scheme: dark) {
  .bio7-joy-player__controls { background: color-mix(in srgb, currentColor 7%, transparent); }
}
