/* Hechos de Tango - Radio Player */
.hdt-radio-player {
    --hdt-primary: #003550;
    --hdt-gray-100: #f2f4f5;
    --hdt-gray-200: #e1e6e9;
    --hdt-gray-500: #aeb8be;
    --hdt-gray-700: #53636c;
    width: 100%;
    max-width: 560px;
    margin: 20px auto;
    color: #fff;
    font-family: inherit;
    background: var(--hdt-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 25, 40, .16);
    line-height: 1.45;
}
.hdt-radio-player *,
.hdt-radio-player *::before,
.hdt-radio-player *::after { box-sizing: border-box; }
.hdt-player-main { padding: 24px; }
.hdt-player-header { display: flex; align-items: center; gap: 15px; min-width: 0; }
.hdt-logo { display: block; width: 92px; max-width: 26%; height: 58px; object-fit: contain; object-position: left center; }
.hdt-logo-placeholder { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 12px; font-size: 22px; font-weight: 800; }
.hdt-brand { min-width: 0; flex: 1; }
.hdt-brand-name { font-size: 17px; font-weight: 800; letter-spacing: .08em; line-height: 1.2; }
.hdt-tagline { margin-top: 5px; color: rgba(255,255,255,.68); font-size: 12px; }
.hdt-live-indicator { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 6px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 30px; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.hdt-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #48d597; box-shadow: 0 0 0 3px rgba(72,213,151,.13); }
.hdt-track-panel { display: flex; align-items: center; gap: 16px; margin-top: 25px; padding: 17px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(0,0,0,.13); }
.hdt-track-art { position: relative; display: grid; place-items: center; width: 76px; height: 76px; flex: 0 0 76px; overflow: hidden; border-radius: 9px; background: rgba(255,255,255,.1); }
.hdt-album-art { display: none; width: 100%; height: 100%; object-fit: cover; }
.hdt-album-art.hdt-image-visible { display: block; }
.hdt-art-placeholder { color: rgba(255,255,255,.7); font-size: 37px; line-height: 1; }
.hdt-track-art:has(.hdt-album-art.hdt-image-visible) .hdt-art-placeholder { display: none; }
.hdt-track-info { min-width: 0; flex: 1; }
.hdt-eyebrow { margin-bottom: 6px; color: rgba(255,255,255,.58); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.hdt-track-artist { overflow: hidden; color: #fff; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.hdt-track-title { overflow: hidden; margin-top: 3px; color: rgba(255,255,255,.78); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.hdt-track-fallback { display: none; }
.hdt-controls { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.hdt-play-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; padding: 0 21px; border: 0; border-radius: 30px; background: #fff; color: var(--hdt-primary); cursor: pointer; font: inherit; font-size: 11px; font-weight: 900; letter-spacing: .06em; transition: transform .15s ease, background .15s ease; }
.hdt-play-button:hover { transform: translateY(-1px); background: #edf2f4; }
.hdt-play-button:focus-visible, .hdt-donation-button:focus-visible, .hdt-volume:focus-visible { outline: 3px solid #b9d9e8; outline-offset: 3px; }
.hdt-play-symbol { font-size: 15px; }
.hdt-volume-control { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 70px; }
.hdt-volume-icon { color: rgba(255,255,255,.8); font-size: 20px; }
.hdt-volume { width: 100%; accent-color: #fff; cursor: pointer; }
.hdt-player-message { min-height: 18px; margin-top: 10px; color: rgba(255,255,255,.62); font-size: 11px; }
.hdt-player-message.hdt-error { color: #ffd2d2; }
.hdt-recent { margin-top: 22px; padding: 17px; border: 1px solid #dfe5e8; border-radius: 12px; background: #edf1f3; color: #263943; }
.hdt-recent-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; color: #003550; font-size: 12px; font-weight: 800; letter-spacing: .025em; }
.hdt-recent-heading-mark { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #dce5e9; color: #003550; font-size: 15px; }
.hdt-recent-list { color: #344750; font-size: 11px; }
.hdt-recent-list table { width: 100%; border-collapse: collapse; color: inherit; }
.hdt-recent-list tr { border-bottom: 1px solid #d9e1e5; }
.hdt-recent-list tr:last-child { border-bottom: 0; }
.hdt-recent-list td, .hdt-recent-list th { padding: 8px 5px; text-align: left; }
.hdt-recent-list a { color: #003550; text-decoration: none; }
.hdt-recent-list a:hover { text-decoration: underline; }
.hdt-recent-list ul, .hdt-recent-list ol { margin: 0; padding-left: 20px; }
.hdt-recent-list li { padding: 5px 0; }
.hdt-donation { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 16px; padding: 17px; border-radius: 12px; background: #eef2f4; color: var(--hdt-primary); }
.hdt-donation-copy { min-width: 0; flex: 1; }
.hdt-donation-title { color: var(--hdt-primary); font-size: 13px; font-weight: 800; }
.hdt-donation-copy p { margin: 5px 0 0; color: #52636c; font-size: 11px; line-height: 1.55; }
.hdt-donation-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; min-height: 42px; padding: 0 14px; border: 0; border-radius: 24px; background: var(--hdt-primary); color: #fff !important; font-size: 11px; font-weight: 800; text-decoration: none !important; transition: transform .15s ease, background .15s ease; }
.hdt-donation-button:hover { transform: translateY(-1px); background: #064966; color: #fff !important; }
.hdt-player-footer { padding: 10px 20px; background: rgba(0,0,0,.16); color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.hdt-radio-player [hidden] { display: none !important; }

@media (max-width: 480px) {
    .hdt-player-main { padding: 18px; }
    .hdt-logo { width: 70px; height: 50px; }
    .hdt-brand-name { font-size: 14px; }
    .hdt-tagline { font-size: 10px; }
    .hdt-live-indicator { padding: 5px 7px; font-size: 8px; }
    .hdt-track-panel { gap: 12px; padding: 12px; }
    .hdt-track-art { width: 62px; height: 62px; flex-basis: 62px; }
    .hdt-track-artist { font-size: 13px; }
    .hdt-track-title { font-size: 11px; }
    .hdt-controls { gap: 13px; }
    .hdt-donation { align-items: stretch; flex-direction: column; gap: 12px; }
    .hdt-donation-button { align-self: flex-start; }
    .hdt-play-button { min-height: 44px; padding: 0 14px; font-size: 10px; }
}
