/* =====================================================================
   HEMDOMANIA — RADIO   hm-radio.css
   ---------------------------------------------------------------------
   Eigene Datei, damit der Radioknopf auch auf Seiten funktioniert, die
   sonst nichts von HemdoMania-Bausteinen laden. Keine Regel fuer body
   oder html.
   ===================================================================== */

/* Das Fenster steht auf einer dunklen Seite und muss sich deutlich
   davon abheben. Deshalb: hellere Flaeche als der Seitenhintergrund,
   eine orangene Kante und eine farbige Kopfleiste. Ohne das
   verschwimmt es mit dem Hintergrund. */
.hr-fenster {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 701;

    width: min(320px, calc(100vw - 32px));
    overflow: hidden;

    background: #242424;                       /* heller als die Seite */
    border: 2px solid var(--hm-orange, #fc6e51);
    border-radius: 16px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, .6),
        0 18px 50px rgba(0, 0, 0, .75),
        0 0 30px rgba(252, 110, 81, .28);      /* leichter Schein */

    color: #fff;
    display: grid;
    gap: 0;

    animation: hrHoch 260ms cubic-bezier(.22,.61,.36,1);
}
.hr-fenster[hidden] { display: none; }

@keyframes hrHoch {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Kopfleiste in der Akzentfarbe — das ist der Teil, der auffaellt */
.hr-kopf {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    padding: 10px 8px 10px 14px;
    background: var(--hm-orange, #fc6e51);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.hr-zu {
    min-width: 36px; min-height: 32px;
    background: rgba(0, 0, 0, .18);
    border: 0; border-radius: 8px;
    color: #fff;
    font-size: 16px; cursor: pointer;
}
.hr-zu:hover { background: rgba(0, 0, 0, .35); }

.hr-titel {
    margin: 0;
    padding: 12px 14px 0;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;                            /* voll deckend, nicht grau */
    min-height: 20px;
    overflow-wrap: anywhere;
}

.hr-reihe {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
}

.hr-play {
    min-height: 44px;
    padding: 0 18px;
    background: var(--hm-orange, #fc6e51);
    border: 0; border-radius: 999px;
    color: #fff; font: inherit; font-size: 14px; font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(252, 110, 81, .35);
}
.hr-play:hover { background: #ff8a70; }
.hr-play:active { transform: scale(.97); }

.hr-laut {
    flex: 1;
    accent-color: var(--hm-orange, #fc6e51);
    background: transparent;
}

.hr-fuss {
    margin: 0;
    padding: 0 14px 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
}
.hr-fuss a { color: #ffb9a6; }                 /* hell genug auf #242424 */
.hr-fuss a:hover { color: #fff; }

@media (max-width: 599px) {
    /* Auf dem Handy nicht ueber die ganze Breite kleben, aber Abstand
       zum Rand halten. */
    .hr-fenster { left: 12px; right: 12px; width: auto; }
}
