/* Visual design from v0 applied to the existing home radio controls. */
/* ---------- Jetons partagés ---------- */
:is([data-home-radio-dock], [data-home-radio-queue]) {
  --hrd-bg: var(--lm-night);
  --hrd-surface: var(--lm-surface);
  --hrd-surface-2: #1C1C22;
  --hrd-line: rgba(244, 242, 248, 0.12);
  --hrd-line-strong: rgba(244, 242, 248, 0.26);
  --hrd-accent: var(--lm-action);
  --hrd-accent-hover: #D8BBFF;
  --hrd-text: var(--lm-text);
  --hrd-muted: #A9A6B2;
  --hrd-danger: #FF9E9E;
  --hrd-display: var(--lm-heading);
  --hrd-sans: var(--lm-text-font);
  --hrd-safe-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
  color: var(--hrd-text);
  font-family: var(--hrd-sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

:is([data-home-radio-dock], [data-home-radio-queue]) :is(*, *::before, *::after) {
  box-sizing: inherit;
}

:is([data-home-radio-dock], [data-home-radio-queue]) :is(p, h2, h3, ol, ul) {
  margin: 0;
}

:is([data-home-radio-dock], [data-home-radio-queue]) :is(button, input, output) {
  font: inherit;
  color: inherit;
}

:is([data-home-radio-dock], [data-home-radio-queue]) :is(button, a, input, [tabindex]):focus-visible {
  outline: 2px solid var(--hrd-text);
  outline-offset: 2px;
}

:is([data-home-radio-dock], [data-home-radio-queue]) svg {
  display: block;
  flex: none;
}

:is([data-home-radio-dock], [data-home-radio-queue]) .hr-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Curseurs (progression + volume) ---------- */
:is([data-home-radio-dock], [data-home-radio-queue]) .hr-range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  accent-color: var(--hrd-accent);
}

:is([data-home-radio-dock], [data-home-radio-queue]) .hr-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--hrd-accent) var(--p, 0%), var(--hrd-line-strong) var(--p, 0%));
}

:is([data-home-radio-dock], [data-home-radio-queue]) .hr-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: var(--hrd-text);
}

:is([data-home-radio-dock], [data-home-radio-queue]) .hr-range::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: var(--hrd-line-strong);
}

:is([data-home-radio-dock], [data-home-radio-queue]) .hr-range::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--hrd-accent);
}

:is([data-home-radio-dock], [data-home-radio-queue]) .hr-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--hrd-text);
}

/* =====================================================================
   BARRE FIXE
   ===================================================================== */
.player[data-home-radio-dock] {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 14;
  container: hrd / inline-size;
  padding-bottom: var(--hrd-safe-bottom);
  background: var(--hrd-surface);
  border-top: 1px solid var(--hrd-line);
  font-size: 14px;
  line-height: 1.35;
}

/* Filet lilas en haut de la barre pendant le direct */
[data-home-radio-dock]::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: 2px;
  background: var(--hrd-accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

[data-home-radio-dock][data-mode="radio"][data-playing="true"]::before {
  opacity: 1;
}

[data-home-radio-dock] .hrd-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  max-width: 1680px;
  margin-inline: auto;
  padding: 10px 12px;
}

/* ---------- Lecture / pause ---------- */
[data-home-radio-dock] .hrd-toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--hrd-accent);
  color: var(--hrd-bg);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

[data-home-radio-dock] .hrd-toggle:hover {
  background: var(--hrd-accent-hover);
}

[data-home-radio-dock] .hrd-toggle [data-icon] {
  display: block;
  width: 14px;
  height: 16px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateX(2px);
}

[data-home-radio-dock] .hrd-toggle[aria-pressed="true"] [data-icon] {
  width: 14px;
  height: 16px;
  clip-path: none;
  transform: none;
  background: linear-gradient(90deg, currentColor 0 36%, transparent 36% 64%, currentColor 64% 100%);
}

[data-home-radio-dock][data-state="connecting"] .hrd-toggle [data-icon] {
  width: 18px;
  height: 18px;
  clip-path: none;
  transform: none;
  background: none;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: hrd-spin 0.8s linear infinite;
}

[data-home-radio-dock][data-state="error"] .hrd-toggle {
  background: var(--hrd-text);
}

/* ---------- Stop ---------- */
[data-home-radio-dock] .hrd-stop {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1.5px solid var(--hrd-accent);
  border-radius: 50%;
  background: transparent;
  color: var(--hrd-accent);
  cursor: pointer;
}

[data-home-radio-dock] .hrd-stop span {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: currentColor;
}

[data-home-radio-dock] .hrd-stop:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ---------- Pochette ---------- */
[data-home-radio-dock] .hrd-cover {
  flex: none;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--hrd-surface-2);
}

[data-home-radio-dock][data-state="error"] .hrd-cover {
  filter: grayscale(1);
  opacity: 0.5;
}

/* ---------- Titre + artiste / station ---------- */
[data-home-radio-dock] .hrd-meta {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  gap: 3px;
}

[data-home-radio-dock] .hrd-title {
  overflow: hidden;
  font-family: var(--hrd-display) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.005em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

[data-home-radio-dock] .hrd-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 12.5px;
  color: var(--hrd-muted);
}

[data-home-radio-dock] .hrd-label {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

[data-home-radio-dock] .hrd-status {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hrd-text);
}

[data-home-radio-dock] .hrd-status:empty {
  display: none;
}

/* Badge En direct / Live : uniquement pendant la lecture du direct */
[data-home-radio-dock][data-mode="radio"][data-playing="true"] .hrd-status {
  padding: 4px 7px 4px 6px;
  border-radius: 4px;
  background: var(--hrd-accent);
  color: var(--hrd-bg);
}

[data-home-radio-dock][data-mode="radio"][data-playing="true"] .hrd-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

[data-home-radio-dock][data-mode="track"] .hrd-status {
  color: var(--hrd-accent);
}

[data-home-radio-dock][data-state="error"] .hrd-status,
[data-home-radio-dock][data-state="error"] .hrd-label {
  color: var(--hrd-danger);
}

/* ---------- Forme d’onde (direct, grands écrans) ---------- */
[data-home-radio-dock] .hrd-wave {
  display: none;
  flex: 0 1 clamp(120px, 14cqi, 220px);
  align-items: center;
  gap: 3px;
  height: 32px;
  overflow: hidden;
}

/* ---------- Replay : progression, temps, retour au direct ---------- */
[data-home-radio-dock] .hrd-replay {
  display: none;
  order: 10;
  flex: 1 0 100%;
  min-width: 0;
  align-items: center;
  column-gap: 12px;
}

[data-home-radio-dock][data-mode="track"] .hrd-replay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "progress progress"
    "time return";
}

[data-home-radio-dock] .hrd-progress {
  grid-area: progress;
}

[data-home-radio-dock] .hrd-time {
  grid-area: time;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--hrd-muted);
  white-space: nowrap;
}

[data-home-radio-dock] .hrd-return {
  grid-area: return;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--hrd-accent);
  border-radius: 999px;
  background: transparent;
  color: var(--hrd-accent);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

[data-home-radio-dock] .hrd-return::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

[data-home-radio-dock] .hrd-return:hover {
  background: var(--hrd-accent);
  color: var(--hrd-bg);
}

/* ---------- Boutons secondaires ---------- */
[data-home-radio-dock] .hrd-btn {
  flex: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid var(--hrd-line);
  border-radius: 8px;
  background: transparent;
  color: var(--hrd-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

[data-home-radio-dock] .hrd-btn:hover {
  border-color: var(--hrd-line-strong);
  background: var(--hrd-surface-2);
}

[data-home-radio-dock] .hrd-queue[aria-expanded="true"] {
  border-color: var(--hrd-accent);
  background: var(--hrd-accent);
  color: var(--hrd-bg);
}

/* Libellés visibles à partir de 560 px, sinon lus par les lecteurs d’écran */
[data-home-radio-dock] .hrd-btn-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Mini réactions (grands écrans) ---------- */
[data-home-radio-dock] .hrd-reactions {
  display: none;
  align-items: center;
  gap: 4px;
}

/* ---------- Points de rupture (largeur de la barre) ---------- */
@container hrd (max-width: 359.98px) {
  [data-home-radio-dock] .hrd-inner {
    gap: 8px;
    padding-inline: 10px;
  }

  [data-home-radio-dock] .hrd-cover {
    width: 36px;
    height: 36px;
  }

  [data-home-radio-dock] .hrd-title {
    font-size: 14px;
  }
}

@container hrd (min-width: 360px) {
  [data-home-radio-dock][data-mode="track"] .hrd-replay {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "progress time return";
  }
}

@container hrd (min-width: 560px) {
  [data-home-radio-dock] .hrd-inner {
    gap: 8px 12px;
    padding-inline: 16px;
  }

  [data-home-radio-dock] .hrd-btn {
    padding: 0 14px;
  }

  [data-home-radio-dock] .hrd-btn-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip-path: none;
  }
}

@container hrd (min-width: 900px) {
  [data-home-radio-dock] .hrd-inner {
    flex-wrap: nowrap;
    gap: 16px;
    padding: 12px 24px;
  }

  [data-home-radio-dock] .hrd-toggle {
    width: 48px;
    height: 48px;
  }

  [data-home-radio-dock] .hrd-cover {
    width: 52px;
    height: 52px;
  }

  [data-home-radio-dock] .hrd-title {
    font-size: 17px;
  }

  [data-home-radio-dock] .hrd-sub {
    font-size: 13px;
  }

  [data-home-radio-dock][data-mode="radio"] .hrd-wave {
    display: flex;
  }

  [data-home-radio-dock] .hrd-replay {
    order: 0;
    flex: 0 1 clamp(320px, 34cqi, 560px);
  }
}

@container hrd (min-width: 1180px) {
  [data-home-radio-dock] .hrd-reactions {
    display: flex;
  }

  [data-home-radio-dock] .hrd-inner {
    gap: 20px;
    padding-inline: 32px;
  }
}

/* ---------- Mouvement ---------- */
@keyframes hrd-spin {
  to { transform: rotate(1turn); }
}

@media (prefers-reduced-motion: reduce) {
  [data-home-radio-dock][data-state="connecting"] .hrd-toggle [data-icon] {
    animation: none;
  }

  :is([data-home-radio-dock], [data-home-radio-queue]) * {
    transition: none !important;
  }
}

@media (forced-colors: active) {
  [data-home-radio-dock] .hrd-toggle,
  [data-home-radio-dock] .hrd-status {
    border: 1px solid ButtonText;
  }
}

/* =====================================================================
   DIALOGUE PROGRAMME
   ===================================================================== */
#queue[data-home-radio-queue] {
  --hrq-offset: var(--home-dock-height);
  position: fixed;
  inset: auto 8px calc(var(--hrq-offset) + 8px) auto;
  z-index: 901;
  width: min(420px, calc(100% - 16px));
  max-width: none;
  max-height: calc(100% - var(--hrq-offset) - 24px);
  margin: 0;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--hrd-surface);
  border: 1px solid var(--hrd-line);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 1.4;
}

[data-home-radio-queue]:not([open]) {
  display: none;
}

#queue[data-home-radio-queue]::backdrop {
  background: rgba(10, 10, 12, 0.6);
}

[data-home-radio-queue] .hrq-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 12px 12px 20px;
  background: var(--hrd-surface);
  border-bottom: 1px solid var(--hrd-line);
}

[data-home-radio-queue] .hrq-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hrd-accent);
}

[data-home-radio-queue] .hrq-title {
  margin-top: 4px;
  font-family: var(--hrd-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

[data-home-radio-queue] .hrq-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hrd-line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

[data-home-radio-queue] .hrq-close:hover {
  background: var(--hrd-surface-2);
}

[data-home-radio-queue] .hrq-section {
  padding: 16px 20px;
  border-bottom: 1px solid var(--hrd-line);
}

[data-home-radio-queue] .hrq-h {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hrd-muted);
}

/* En ce moment */
[data-home-radio-queue] .hrq-now {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

[data-home-radio-queue] .hrq-now-cover {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--hrd-surface-2);
}

[data-home-radio-queue] .hrq-now-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

[data-home-radio-queue] .hrq-now-title {
  font-family: var(--hrd-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

[data-home-radio-queue] .hrq-now-sub,
[data-home-radio-queue] .hrq-item-sub {
  font-size: 13px;
  color: var(--hrd-muted);
}

/* Listes : à suivre + replays */
[data-home-radio-queue] .hrq-list {
  display: grid;
  padding: 0;
  list-style: none;
}

[data-home-radio-queue] .hrq-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--hrd-line);
}

[data-home-radio-queue] .hrq-item:first-child {
  border-top: 0;
  padding-top: 0;
}

[data-home-radio-queue] .hrq-time {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--hrd-accent);
}

[data-home-radio-queue] .hrq-item-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

[data-home-radio-queue] .hrq-item-title {
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Volume */
[data-home-radio-queue] .hrq-volume {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 3.5em;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  border-bottom: 1px solid var(--hrd-line);
}

[data-home-radio-queue] .hrq-volume-label {
  font-size: 13px;
  font-weight: 600;
}

[data-home-radio-queue] .hrq-volume-value {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--hrd-muted);
  text-align: right;
}

/* Liens */
[data-home-radio-queue] .hrq-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 8px;
  padding: 14px 20px 18px;
}

[data-home-radio-queue] .hrq-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--hrd-line);
  border-radius: 8px;
  color: var(--hrd-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

[data-home-radio-queue] .hrq-link:hover {
  border-color: var(--hrd-line-strong);
  background: var(--hrd-surface-2);
}

[data-home-radio-queue] .hrq-link--accent {
  border-color: var(--hrd-accent);
  color: var(--hrd-accent);
}

html:has(.editorial-home [data-home-radio-dock]) {
  --home-dock-height: calc(76px + env(safe-area-inset-bottom, 0px));
  scroll-padding-bottom: calc(var(--home-dock-height) + 1.25rem);
}

.editorial-home {
  padding-bottom: var(--home-dock-height);
}

:is([data-home-radio-dock], [data-home-radio-queue]) [hidden] {
  display: none !important;
}

[data-home-radio-dock] .hrd-media {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
  min-width: 0;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

[data-home-radio-dock] .hrd-media:hover .hrd-title {
  color: var(--hrd-accent);
}

[data-home-radio-dock] .hrd-wave > svg {
  width: 100%;
  height: 100%;
}

[data-home-radio-dock][data-state="error"] .hrd-status {
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

#queue[data-home-radio-queue] .hrq-item {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
}

#queue[data-home-radio-queue] .hrq-item img {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

#queue[data-home-radio-queue] .hrq-list li:last-child {
  border-bottom: 0;
}

[data-home-radio-queue] .hrq-note,
[data-home-radio-queue] .radio-track-credit {
  padding: .6rem 1.25rem;
  color: var(--hrd-muted);
}

/* =====================================================================
   PLAY + STOP (colonne centrale) ET LECTEUR AGRANDI
   ===================================================================== */
[data-home-radio-dock] .hrd-transport {
  flex: none;
  grid-area: 1 / 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

@container hrd (max-width: 400px) {
  [data-home-radio-dock] .hrd-transport { gap: 6px; }
  [data-home-radio-dock] .hrd-stop { width: 32px; height: 32px; }
}

[data-home-radio-dock] .hrd-media { cursor: pointer; }

html:not(#lmd1):not(#lmd2):not(#lmd3) [data-home-radio-dock][data-expanded="true"] { z-index: 2147482000; }

[data-home-radio-dock] .hrd-sheet {
  position: absolute;
  left: 12px;
  bottom: calc(100% + 10px);
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(380px, calc(100% - 24px));
  max-height: calc(100dvh - 100px - env(safe-area-inset-top, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 18px 20px;
  border: 1px solid var(--gl-line, var(--hrd-line));
  border-radius: 16px;
  background: rgb(16 16 20 / 97%);
  box-shadow: 0 24px 64px rgb(0 0 0 / 65%);
  text-align: center;
}

@container hrd (max-width: 559.98px) {
  [data-home-radio-dock] .hrd-sheet { left: 8px; width: calc(100% - 16px); }
}

[data-home-radio-dock] .hrd-sheet-close {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -8px -8px -18px 0;
  padding: 0;
  border: 1px solid var(--gl-line, var(--hrd-line));
  border-radius: 50%;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

[data-home-radio-dock] .hrd-sheet-cover {
  display: block;
  width: min(240px, 34dvh, 70%);
  aspect-ratio: 1;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  background: var(--hrd-surface-2);
}

[data-home-radio-dock] .hrd-sheet-onair {
  color: var(--gl-taxi, var(--hrd-accent));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

[data-home-radio-dock] .hrd-sheet-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

[data-home-radio-dock] .hrd-sheet-show {
  color: var(--gl-muted, var(--hrd-muted));
  font-size: 15px;
  overflow-wrap: anywhere;
}

[data-home-radio-dock] .hrd-sheet-transport {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

[data-home-radio-dock] .hrd-sheet-toggle {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gl-taxi, var(--hrd-accent));
  color: var(--gl-ink, #0d0d0d);
  cursor: pointer;
}

[data-home-radio-dock] .hrd-sheet-toggle span {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-block: 12px solid transparent;
  border-left: 19px solid currentColor;
}

[data-home-radio-dock] .hrd-sheet-toggle[aria-pressed="true"] {
  background: var(--gl-violet, var(--hrd-accent));
  color: #fff;
}

[data-home-radio-dock] .hrd-sheet-toggle[aria-pressed="true"] span {
  width: 18px;
  height: 22px;
  margin: 0;
  border: 0;
  border-inline: 6px solid currentColor;
}

[data-home-radio-dock] .hrd-sheet-stop {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid var(--gl-taxi, var(--hrd-accent));
  border-radius: 50%;
  background: transparent;
  color: var(--gl-taxi, var(--hrd-accent));
  cursor: pointer;
}

[data-home-radio-dock] .hrd-sheet-stop span {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: currentColor;
}

[data-home-radio-dock] .hrd-sheet-stop:disabled { opacity: .35; cursor: default; }

[data-home-radio-dock] :is(.hrd-sheet-live, .hrd-sheet-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--gl-line-strong, var(--hrd-line-strong));
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

[data-home-radio-dock] :is(.hrd-sheet-live, .hrd-sheet-link, .hrd-sheet-close):hover {
  border-color: var(--gl-taxi, var(--hrd-accent));
  color: var(--gl-taxi, var(--hrd-accent));
}

[data-home-radio-dock] .hrd-sheet-volume {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  font-size: 13px;
  font-weight: 600;
}

[data-home-radio-dock] .hrd-sheet-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding-top: 6px;
  border-top: 1px solid var(--gl-line, var(--hrd-line));
}
