:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#183044;background:#f5f7f8;font-synthesis:none;text-rendering:optimizeLegibility}
*{box-sizing:border-box}body{margin:0;min-height:100vh}.site-header{height:76px;padding:0 clamp(20px,6vw,88px);display:flex;align-items:center;justify-content:space-between;background:#102a43;color:#fff}.brand{display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border:1px solid #7fd1b9;border-radius:50%;font-family:Georgia,serif;font-size:27px;color:#9de3ce}.brand strong,.brand small{display:block;letter-spacing:.12em}.brand strong{font-size:15px}.brand small{font-size:9px;color:#b7c8d5;margin-top:3px}.header-note{font-size:13px;color:#c7d5df}
main{max-width:1180px;margin:0 auto;padding:0 24px}.hero{padding:74px 0 58px;max-width:720px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.19em;color:#32856f;margin:0 0 13px}.hero h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(40px,7vw,66px);letter-spacing:-.04em;line-height:1.02;margin:0;color:#102a43}.hero-copy{font-size:16px;color:#607586;line-height:1.6;margin:18px 0 26px}.search{display:flex;align-items:center;max-width:520px;height:52px;padding:0 16px;background:#fff;border:1px solid #dce4e8;border-radius:8px;color:#32856f}.search input{width:100%;border:0;outline:0;font:inherit;color:#183044;background:transparent}.search input::placeholder{color:#9aabb5}.search span:last-child{font-size:27px}.catalogue{padding:12px 0 80px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.section-heading h2{font-family:Georgia,serif;font-size:34px;font-weight:500;margin:0;color:#102a43}.count{font-size:12px;color:#6e8290}.status{padding:14px 16px;border-radius:7px;background:#eaf1f1;color:#58717d;font-size:13px;margin-bottom:18px}.station-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}.station-card{display:block;width:100%;text-align:left;padding:20px;background:#fff;border:1px solid #e1e8eb;border-radius:9px;color:#183044;transition:transform .15s,border-color .15s}.station-card:hover{transform:translateY(-2px);border-color:#8fc9b9}.station-card h3{margin:0 0 8px;font-size:16px;font-weight:650}.station-card p{margin:0;color:#718592;font-size:12px;line-height:1.5}.station-card .station-meta{margin-top:16px;color:#32856f;font-size:11px;font-weight:700;letter-spacing:.04em}.empty{grid-column:1/-1;padding:24px;color:#6e8290;background:#fff;border-radius:8px}footer{display:flex;justify-content:space-between;gap:16px;padding:25px clamp(20px,6vw,88px);background:#102a43;color:#b7c8d5;font-size:11px}footer span:first-child{font-weight:800;letter-spacing:.16em;color:#9de3ce}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){.site-header{height:66px}.header-note{display:none}.hero{padding:55px 0 42px}.hero-copy{font-size:14px}.section-heading h2{font-size:29px}footer{flex-direction:column}}

.station-card{cursor:pointer;font:inherit}.station-card:focus-visible,.endpoint-choice:focus-visible,.play-button:focus-visible,.stop-button:focus-visible,.close-button:focus-visible{outline:3px solid #32856f;outline-offset:3px}
.station-detail{margin:0 0 70px;padding:clamp(20px,4vw,34px);background:#fff;border:1px solid #dfe8e9;border-radius:12px;box-shadow:0 12px 35px rgba(16,42,67,.07);scroll-margin-top:20px}
.detail-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.detail-top h2{margin:0;color:#102a43;font:500 clamp(28px,4vw,38px) Georgia,serif}.detail-description{color:#718592;font-size:13px;line-height:1.6;white-space:pre-line;max-width:850px}
.close-button{border:0;background:#eef3f3;color:#183044;border-radius:50%;width:38px;height:38px;font-size:25px;cursor:pointer}
.signal-area{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:24px 0}.signal-group{padding:16px;background:#f6f9f9;border:1px solid #e5ecec;border-radius:9px}.signal-title{margin:0 0 5px;font-size:15px}.signal-region{margin:0 0 12px;color:#718592;font-size:12px}.endpoint-choice{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;margin-top:8px;padding:12px;border:1px solid #dce6e6;border-radius:7px;background:#fff;text-align:left;cursor:pointer;color:#183044}.endpoint-choice.selected{border-color:#32856f;background:#edf7f3}.endpoint-role{font-size:12px;font-weight:700}.endpoint-format{font-size:10px;color:#718592;text-align:right}.no-endpoints{color:#718592;font-size:13px}
.player-message{padding:12px 14px;background:#f0f5f4;border-radius:7px;color:#526d77;font-size:13px}.player-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.play-button,.stop-button{border:0;border-radius:7px;padding:13px 19px;font:600 13px inherit;cursor:pointer}.play-button{background:#14765f;color:#fff}.stop-button{background:#e9eff0;color:#183044}.play-button:disabled,.stop-button:disabled{opacity:.45;cursor:not-allowed}.player-state{font-size:12px;color:#32856f;font-weight:700}.station-website{display:inline-block;margin-top:18px;color:#14765f;font-size:13px;text-decoration:none}.station-website:hover{text-decoration:underline}

.filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:16px}.filters label{display:grid;gap:6px;color:#617785;font-size:11px;font-weight:650}.filters select{min-width:190px;height:42px;padding:0 12px;border:1px solid #dce4e8;border-radius:7px;background:#fff;color:#183044;font:inherit}.clear-filters{height:42px;padding:0 14px;border:1px solid #dce4e8;border-radius:7px;background:#fff;color:#526d77;cursor:pointer}
.station-card{padding:18px}.station-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.station-title-row h3{margin:0 0 8px}.favorite-button{flex:none;border:0;background:transparent;color:#b27b1d;font-size:24px;line-height:1;cursor:pointer;padding:2px 5px}.open-station{margin-top:14px;padding:9px 12px;border:0;border-radius:6px;background:#edf5f2;color:#176b58;font-size:12px;font-weight:700;cursor:pointer}
.persistent-player{position:fixed;z-index:20;left:0;right:0;bottom:0;min-height:72px;padding:10px clamp(16px,5vw,64px);display:flex;justify-content:space-between;align-items:center;gap:16px;background:#102a43;color:#fff;box-shadow:0 -6px 24px rgba(16,42,67,.18)}.persistent-track{display:flex;align-items:center;gap:12px;min-width:0}.persistent-track strong,.persistent-track small{display:block;max-width:min(65vw,420px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.persistent-track strong{font-size:13px}.persistent-track small{margin-top:4px;color:#b7c8d5;font-size:11px}.live-dot{width:9px;height:9px;flex:none;border-radius:50%;background:#78c7ae}.persistent-controls{display:flex;gap:8px}.persistent-controls button{width:40px;height:40px;border:1px solid #456174;border-radius:50%;background:#1c4058;color:#fff;font-size:15px;cursor:pointer}.persistent-controls button:disabled{opacity:.4;cursor:not-allowed}body{padding-bottom:82px}
@media(max-width:600px){.filters{display:grid;grid-template-columns:1fr 1fr}.filters label select{min-width:0;width:100%}.clear-filters{grid-column:1/-1}.persistent-player{min-height:68px}.persistent-track strong,.persistent-track small{max-width:62vw}}

.station-card{cursor:default}.station-title-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:12px}.station-title-box{min-width:0}.station-title-box h3{overflow-wrap:anywhere}.station-logo{width:50px;height:50px;display:grid;place-items:center;position:relative;overflow:hidden;border-radius:10px;background:#eaf2ef;border:1px solid #dce8e3}.logo-fallback{font-size:14px;font-weight:800;letter-spacing:.04em;color:#176b58}.station-logo-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;padding:5px}.station-card .station-meta{margin-top:12px}

/* Identidad corporativa Tunera v0.1.5 */
:root{--tunera-cyan:#02B7E2;--tunera-ink:#565D67;--tunera-cyan-dark:#009fc8;--tunera-pale:#e8f9fd;color:var(--tunera-ink);background:#f7fafb}
.site-header{background:#fff;color:var(--tunera-ink);border-bottom:1px solid #e6eef1;min-height:82px;height:auto;padding-top:10px;padding-bottom:10px}
.brand{min-width:0}.brand-logo{display:block;width:190px;max-width:55vw;height:60px;object-fit:contain;object-position:left center}
.header-note{color:var(--tunera-ink);font-weight:600}
.hero h1,.section-heading h2,.detail-top h2{color:var(--tunera-ink)}
.eyebrow,.station-card .station-meta,.player-state{color:var(--tunera-cyan-dark)}
.search{color:var(--tunera-cyan);border-color:#cceef6}.search:focus-within{border-color:var(--tunera-cyan);box-shadow:0 0 0 3px rgba(2,183,226,.12)}
.station-card:hover{border-color:var(--tunera-cyan)}
.station-logo{background:var(--tunera-pale);border-color:#cceef6;border-radius:12px}
.logo-fallback{color:var(--tunera-cyan-dark)}
.open-station{background:var(--tunera-pale);color:#007fa2}.open-station:hover{background:#d5f4fc}
.play-button{background:var(--tunera-cyan);color:#fff}.play-button:hover{background:var(--tunera-cyan-dark)}
.endpoint-choice.selected{border-color:var(--tunera-cyan);background:var(--tunera-pale)}
.persistent-player{background:#fff;color:var(--tunera-ink);border-top:3px solid var(--tunera-cyan);box-shadow:0 -5px 24px rgba(35,65,78,.12)}
.persistent-track small{color:#71808c}.live-dot{background:var(--tunera-cyan)}
.persistent-controls button{border-color:#cceef6;background:var(--tunera-pale);color:#007fa2}
footer{background:var(--tunera-ink);color:#e5e8eb}footer span:first-child{color:var(--tunera-cyan)}
@media(max-width:600px){.site-header{min-height:68px}.brand-logo{height:48px;width:155px}}

/* Ajustes visuales solicitados: tema oscuro, filtros legibles y logotipos ampliados (v0.1.6) */
:root{
  color-scheme:dark;
  --tunera-bg:#151a20;
  --tunera-panel:#202830;
  --tunera-panel-raised:#27323c;
  --tunera-border:#394651;
  --tunera-text:#edf3f6;
  --tunera-muted:#aab8c2;
  background:var(--tunera-bg);
  color:var(--tunera-text);
}
html,body{background:var(--tunera-bg);color:var(--tunera-text)}
.site-header{background:#10151a;color:var(--tunera-text);border-bottom:1px solid var(--tunera-border)}
.header-note{color:var(--tunera-muted)}
.hero h1,.section-heading h2,.detail-top h2{color:var(--tunera-text)}
.hero-copy,.count{color:var(--tunera-muted)}
.eyebrow{color:var(--tunera-cyan)}
.search{background:var(--tunera-panel);border-color:var(--tunera-border);color:var(--tunera-cyan)}
.search input{color:var(--tunera-text)}
.search input::placeholder{color:#8999a5}
.filters{align-items:stretch;gap:14px}
.filters label{flex:1 1 230px;min-width:0;width:100%;color:var(--tunera-muted)}
.filters label span{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.filters label select{display:block;width:100%;min-width:0;max-width:100%;height:auto;min-height:46px;padding:9px 34px 9px 12px;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;background-color:var(--tunera-panel);border:1px solid var(--tunera-border);color:var(--tunera-text);line-height:1.35;font-size:14px}
.filters select option{background:#202830;color:#edf3f6;white-space:normal}
.clear-filters{min-height:46px;height:auto;align-self:end;background:var(--tunera-panel);border-color:var(--tunera-border);color:var(--tunera-text)}
.status{background:#202830;color:var(--tunera-muted);border:1px solid var(--tunera-border)}
.station-card{background:var(--tunera-panel);border-color:var(--tunera-border);color:var(--tunera-text)}
.station-card:hover{background:var(--tunera-panel-raised);border-color:var(--tunera-cyan)}
.station-card p,.station-card .station-meta{color:var(--tunera-muted)}
.station-card .station-meta{color:var(--tunera-cyan)}
.station-logo{width:65px;height:65px;background:#fff;border:1px solid var(--tunera-border);border-radius:13px}
.station-logo-img{padding:4px;background:#fff}
.station-title-row{grid-template-columns:70px minmax(0,1fr) auto;gap:13px}
.logo-fallback{color:var(--tunera-cyan-dark)}
.open-station{background:#123846;color:#75ddf6}
.open-station:hover{background:#17495a}
.empty{background:var(--tunera-panel);color:var(--tunera-muted)}
.station-detail{background:var(--tunera-panel);border-color:var(--tunera-border);box-shadow:0 12px 35px rgba(0,0,0,.24)}
.detail-description{color:var(--tunera-muted)}
.close-button,.stop-button{background:var(--tunera-panel-raised);color:var(--tunera-text)}
.signal-group{background:#192129;border-color:var(--tunera-border)}
.signal-region,.endpoint-format{color:var(--tunera-muted)}
.endpoint-choice{background:var(--tunera-panel);border-color:var(--tunera-border);color:var(--tunera-text)}
.endpoint-choice.selected{background:#123846;border-color:var(--tunera-cyan)}
.player-message{background:#192d36;color:#c5eaf2}
.station-website{color:#65d8f3}
.persistent-player{background:#10151a;color:var(--tunera-text);border-top:2px solid var(--tunera-cyan);box-shadow:0 -6px 24px rgba(0,0,0,.35)}
.persistent-track small{color:var(--tunera-muted)}
.persistent-controls button{background:#202d36;border-color:#40515e;color:#eafaff}
footer{background:#10151a;color:var(--tunera-muted);border-top:1px solid var(--tunera-border)}
footer span:first-child{color:var(--tunera-cyan)}
:focus-visible{outline-color:var(--tunera-cyan)!important}
@media(max-width:600px){
  .filters{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  .filters label{width:100%;min-width:0}
  .filters label select{width:100%;min-width:0;font-size:14px}
  .clear-filters{grid-column:1/-1;width:100%}
  .station-logo{width:65px;height:65px}
  .station-title-row{grid-template-columns:70px minmax(0,1fr) auto}
}


/* Tunera v0.1.7: filtros completos, ficha integrada y navegación de tarjeta */
:root{color-scheme:dark;--tunera-bg:#151a20;--tunera-panel:#202830;--tunera-panel-raised:#29343e;--tunera-text:#edf3f6;--tunera-muted:#aab8c2;--tunera-border:#3b4853;--tunera-cyan:#02b7e2;--tunera-cyan-dark:#02b7e2;background:var(--tunera-bg);color:var(--tunera-text)}
body{background:var(--tunera-bg);color:var(--tunera-text)}
.site-header{background:#10151a;border-bottom:1px solid var(--tunera-border);color:var(--tunera-text)}
.hero h1,.section-heading h2,.detail-top h2{color:var(--tunera-text)}
.hero-copy,.count,.detail-description{color:var(--tunera-muted)}
.filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px;width:100%;max-width:100%}
.filters label{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;width:100%;color:var(--tunera-muted)}
.filters label span{white-space:normal;overflow-wrap:anywhere}
.filters label select{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:48px;padding:8px 34px 8px 12px;border:1px solid var(--tunera-border);border-radius:8px;background:#202830;color:var(--tunera-text);font:500 14px/1.35 inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.filters select option{background:#202830;color:#edf3f6}
.clear-filters{height:48px;background:#202830;color:var(--tunera-text);border-color:var(--tunera-border);white-space:nowrap}
.station-card{cursor:pointer;background:var(--tunera-panel);border-color:var(--tunera-border);color:var(--tunera-text)}
.station-card:focus-visible{outline:3px solid var(--tunera-cyan);outline-offset:3px}
.station-card .station-meta{color:var(--tunera-cyan);letter-spacing:.02em}
.station-card p{color:var(--tunera-muted)}
.station-detail{background:var(--tunera-panel);border-color:var(--tunera-border)}
.detail-heading{display:flex;align-items:center;gap:16px;min-width:0}
.detail-logo{width:84px;height:84px;flex:none;object-fit:contain;background:#fff;border-radius:12px;padding:5px;border:1px solid var(--tunera-border)}
.detail-heading>div{min-width:0}
.signal-group{background:#192129;border-color:var(--tunera-border)}
.endpoint-choice{background:#202830;color:var(--tunera-text);border-color:var(--tunera-border)}
.endpoint-choice.selected{background:#123846;border-color:var(--tunera-cyan)}
.play-button{background:var(--tunera-cyan);color:#08141a}
.player-message{background:#192d36;color:#c5eaf2}
.station-website{color:#65d8f3}
@media(max-width:700px){.filters{grid-template-columns:minmax(0,1fr)}.filters label select{height:50px;font-size:15px}.clear-filters{width:100%}.detail-logo{width:72px;height:72px}.detail-heading{gap:12px}}


/* Tunera PWA v0.1.8 — player editorial, selectores de categorías y tipografía */
:root{font-family:"Open Sans",Arial,sans-serif;--tunera-cyan:#02b7e2;--tunera-ink:#565d67}
body,button,input,select{font-family:"Open Sans",Arial,sans-serif}
.hero{max-width:980px;padding-top:58px;padding-bottom:38px}
.hero h1{font:700 clamp(27px,4.2vw,44px)/1.18 "Open Sans",Arial,sans-serif;letter-spacing:-.025em;max-width:900px}
.hero .eyebrow{font-size:14px;font-weight:700;letter-spacing:.02em;text-transform:none;margin-bottom:12px}
.category-chips{display:flex;gap:6px;align-items:center;overflow-x:auto;overscroll-behavior-x:contain;padding:8px 0 14px;margin-top:12px;scrollbar-width:thin}
.category-chip{flex:0 0 auto;min-height:42px;padding:0 22px;border:1px solid transparent;border-radius:6px;background:#28122f;color:#fff;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.category-chip:hover{background:#3b1745;border-color:rgba(2,183,226,.45)}
.category-chip.active{background:#160d1d;border-color:var(--tunera-cyan);color:#fff;box-shadow:inset 0 -3px 0 var(--tunera-cyan)}
.filters{display:grid;grid-template-columns:minmax(220px,360px) auto;align-items:end;gap:12px;max-width:100%}
.filters label{display:grid;gap:7px;font-size:12px;font-weight:700;color:var(--tunera-muted)}
.filters label select{height:48px;min-height:48px;padding:0 42px 0 14px;border:1px solid var(--tunera-border);border-radius:7px;background:#202830;color:var(--tunera-text);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clear-filters{height:48px;padding:0 18px;border-radius:7px;background:#202830;color:var(--tunera-text);border:1px solid var(--tunera-border)}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.station-detail{padding:clamp(20px,4vw,38px);background:linear-gradient(145deg,#202830,#171f26);border:1px solid #3b4853;border-radius:18px}
.detail-heading{gap:20px}
.detail-logo{width:104px;height:104px;border-radius:16px;padding:7px;background:#fff;border:0;box-shadow:0 8px 24px rgba(0,0,0,.28)}
.detail-top h2{font:700 clamp(25px,3.5vw,36px)/1.2 "Open Sans",Arial,sans-serif}
.signal-area{display:grid;grid-template-columns:1fr;gap:9px;margin:22px 0 16px}
.signal-group{padding:12px 14px;border-radius:12px;background:#182129;border:1px solid #35434e}
.signal-title{font-size:13px;font-weight:700;color:#edf3f6;margin:0 0 8px}
.signal-region{font-size:11px;color:var(--tunera-muted);margin:0 0 6px}
.endpoint-choice{display:flex;justify-content:flex-start;align-items:center;gap:18px;width:100%;min-height:48px;margin:0;padding:9px 12px;border:1px solid transparent;border-radius:8px;background:#202a33;color:var(--tunera-text);text-align:left}
.endpoint-choice+.endpoint-choice{margin-top:7px}
.endpoint-choice:hover{border-color:#54717f}
.endpoint-choice.selected{background:#103746;border-color:var(--tunera-cyan);box-shadow:0 0 0 1px rgba(2,183,226,.12)}
.endpoint-format{font-size:12px;font-weight:600;color:#d3e0e6;letter-spacing:.01em;text-align:left}
.signal-wave{height:22px;min-width:66px;display:flex;align-items:center;justify-content:center;gap:3px;color:var(--tunera-cyan)}
.signal-wave i{display:block;width:3px;height:5px;border-radius:3px;background:currentColor;opacity:.72;transform-origin:center;animation:signalPulse 900ms ease-in-out infinite;animation-play-state:paused}
.signal-wave i:nth-child(2n){animation-delay:100ms}.signal-wave i:nth-child(3n){animation-delay:220ms}.signal-wave i:nth-child(4n){animation-delay:330ms}.signal-wave.active i{animation-play-state:running}
@keyframes signalPulse{0%,100%{height:4px;opacity:.5}50%{height:18px;opacity:1}}
.now-playing{display:grid;grid-template-columns:112px minmax(0,1fr) 130px;align-items:center;gap:20px;margin:20px 0 16px;padding:18px;border:1px solid #35434e;border-radius:16px;background:linear-gradient(120deg,#17232c,#111a21);min-height:148px}
.artwork-frame{width:112px;height:112px;overflow:hidden;border-radius:10px;background:#0c151b;border:1px solid #3b4a55;display:grid;place-items:center}
.artwork-frame img{width:100%;height:100%;object-fit:cover}
.artwork-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;height:100%;background:radial-gradient(circle at 50% 40%,#16475a,#0c1820 70%);color:var(--tunera-cyan)}
.artwork-placeholder span{font-size:46px;line-height:1}.artwork-placeholder small{font-size:8px;font-weight:800;letter-spacing:.16em;color:#b8d8e2}
.track-copy{min-width:0}.track-kicker{margin:0 0 6px;color:var(--tunera-cyan);font-size:9px;font-weight:800;letter-spacing:.15em}
.track-copy h3{margin:0;color:#fff;font-size:clamp(16px,2.2vw,21px);font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.track-copy>p:not(.track-kicker){margin:5px 0 0;color:#d4e0e5;font-size:13px}.track-copy .track-source{font-size:10px!important;color:#91a5af!important;line-height:1.45}
.player-equalizer{height:54px;display:flex;align-items:center;justify-content:center;gap:4px;opacity:.38;color:var(--tunera-cyan)}
.player-equalizer i{display:block;width:4px;height:9px;border-radius:4px;background:currentColor;animation:signalPulse 850ms ease-in-out infinite;animation-play-state:paused}
.player-equalizer i:nth-child(2n){animation-delay:90ms}.player-equalizer i:nth-child(3n){animation-delay:180ms}.player-equalizer i:nth-child(4n){animation-delay:270ms}
.now-playing.is-playing .player-equalizer{opacity:1}.now-playing.is-playing .player-equalizer i{animation-play-state:running}
.player-message{margin:12px 0;background:#172c36;border:1px solid #2b4b59;color:#bcebf5;border-radius:8px}
.player-controls{gap:12px}.play-button,.stop-button{min-height:46px;padding:0 22px;border-radius:8px;font:700 13px "Open Sans",Arial,sans-serif}
.play-button{background:var(--tunera-cyan);color:#06151b;box-shadow:0 5px 16px rgba(2,183,226,.16)}.play-button:hover{background:#39c9ed}
.stop-button{background:#2b3741;color:#edf3f6;border:1px solid #46545f}
.player-state{margin-left:auto;color:#aab8c2;font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.persistent-player{min-height:82px;padding:10px clamp(14px,4vw,54px);background:#0e141a;border-top:2px solid var(--tunera-cyan)}
.persistent-logo{width:46px;height:46px;flex:none;object-fit:contain;border-radius:8px;background:#fff;padding:3px}
.persistent-logo.has-artwork{object-fit:cover;background:transparent;padding:0;border-radius:8px}
.persistent-track{gap:10px}.live-dot{width:7px;height:7px}.persistent-controls button{width:44px;height:44px;border-radius:12px;background:#1c303b;border-color:#36505d}
.site-footer{display:block;padding:42px clamp(20px,7vw,100px) 110px;background:#10151a;color:#d7e0e5;border-top:1px solid #35434e}
.site-footer>div{max-width:1000px;margin:0 auto}.site-footer h2{margin:0 0 14px;color:#fff;font-size:clamp(20px,3vw,28px);font-weight:700}.site-footer p{max-width:960px;margin:0;color:#b5c2ca;font-size:14px;line-height:1.8}.site-footer p strong{color:#fff}.site-footer>small{display:block;max-width:1000px;margin:25px auto 0;color:#71808a;font-size:10px}
@media(max-width:760px){.hero{padding-top:38px}.hero h1{font-size:clamp(25px,6vw,34px)}.category-chips{margin-right:-24px;padding-right:24px}.category-chip{min-height:40px;padding:0 16px;font-size:11px}.filters{grid-template-columns:minmax(0,1fr) auto}.filters label{grid-column:1/-1}.clear-filters{grid-column:1/-1;width:100%}.now-playing{grid-template-columns:82px minmax(0,1fr);gap:13px;padding:13px}.artwork-frame{width:82px;height:82px}.player-equalizer{display:none}.detail-logo{width:84px;height:84px}.player-state{margin-left:0}.persistent-logo{width:38px;height:38px}}
@media(max-width:430px){.filters{grid-template-columns:minmax(0,1fr)}.now-playing{grid-template-columns:72px minmax(0,1fr)}.artwork-frame{width:72px;height:72px}.artwork-placeholder span{font-size:34px}.detail-heading{align-items:center}}


/* Tunera PWA v0.1.9 — ajustes de legibilidad y reproductor */
.hero{padding-top:34px;padding-bottom:28px}
.hero h1{max-width:900px;margin-bottom:0.35em}
.hero-search-row{display:flex;align-items:center;width:100%;margin:22px 0 16px}
.hero-search-row .search{width:min(100%,460px);max-width:460px;min-height:48px;margin:0}
.hero-search-row .search input{min-width:0;width:100%;font-size:14px}
.category-chips{
  display:flex;flex-wrap:wrap;overflow:visible;gap:8px;
  align-items:stretch;margin:10px 0 18px;padding:0;
  scrollbar-width:none
}
.category-chips::-webkit-scrollbar{display:none}
.category-chip{
  flex:0 1 auto;min-width:74px;max-width:100%;
  min-height:42px;height:auto;padding:10px 16px;
  display:inline-flex;align-items:center;justify-content:center;
  white-space:normal;overflow-wrap:anywhere;word-break:normal;
  text-align:center;line-height:1.25;font-size:11px;
}
.filters{grid-template-columns:minmax(220px,360px) minmax(160px,1fr);gap:12px;align-items:end}
.filters label{min-width:0}
.filters label select{
  width:100%;min-width:0;max-width:100%;height:48px;
  padding:0 38px 0 14px;white-space:normal;overflow:visible;
  text-overflow:clip;line-height:1.25
}
.clear-filters{min-width:160px}
.now-playing{
  grid-template-columns:132px minmax(0,1fr) 150px;
  min-height:166px;padding:20px 22px;gap:22px;
  border-radius:18px;
  box-shadow:0 12px 30px rgba(0,0,0,.18)
}
.artwork-frame{width:132px;height:132px;border-radius:12px}
.track-copy h3{font-size:clamp(17px,2vw,23px)}
.track-copy>p:not(.track-kicker){font-size:14px}
.player-equalizer{gap:5px;height:62px}
.player-equalizer i{width:5px}
.signal-wave{opacity:.55}
.signal-wave.active{opacity:1}
.signal-wave i{animation-play-state:paused!important}
.signal-wave.active i{animation-play-state:running!important}
.now-playing .player-equalizer i{animation-play-state:paused!important}
.now-playing.is-playing .player-equalizer i{animation-play-state:running!important}
@media(max-width:760px){
  .hero{padding-top:28px}
  .hero-search-row{margin:17px 0 14px}
  .category-chips{gap:7px}
  .category-chip{min-width:65px;padding:9px 12px;font-size:10px}
  .filters{grid-template-columns:minmax(0,1fr)}
  .filters label,.clear-filters{grid-column:1/-1;width:100%}
  .now-playing{grid-template-columns:88px minmax(0,1fr);gap:14px;padding:14px}
  .artwork-frame{width:88px;height:88px}
  .player-equalizer{display:none}
}
@media(max-width:430px){
  .hero h1{font-size:clamp(25px,7vw,32px)}
  .hero-search-row .search{width:100%;max-width:100%}
  .category-chip{min-width:0;flex:1 1 calc(50% - 7px);max-width:calc(50% - 7px)}
  .now-playing{grid-template-columns:74px minmax(0,1fr)}
  .artwork-frame{width:74px;height:74px}
}


/* Tunera PWA v0.1.10 — filtros taxonómicos y ficha */
.hero{max-width:1120px;padding-top:36px;padding-bottom:30px}
.hero h1{max-width:900px}
.category-chips{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;overflow:visible;margin:16px 0 14px;padding:0}
.category-chip{width:100%;min-width:0;min-height:46px;padding:8px 7px;white-space:normal;line-height:1.2;text-align:center;font-size:clamp(9px,.85vw,12px);overflow-wrap:normal}
.filters{display:grid;grid-template-columns:minmax(230px,1fr) minmax(220px,.8fr) minmax(140px,.55fr);gap:12px;align-items:end}
.filters .search{width:100%;max-width:none;min-width:0;height:48px}
.filters .search input{min-width:0;width:100%}
.filters .island-control{min-width:0;width:100%;display:grid;gap:7px}
.filters .island-control span{display:block;color:var(--tunera-muted);font-size:11px;font-weight:800;letter-spacing:.08em}
.filters .island-control select{width:100%;min-width:0;height:48px;min-height:48px;padding:0 38px 0 12px;white-space:normal;overflow:visible;text-overflow:clip}
.filters .clear-filters{width:100%;height:48px;white-space:nowrap}
.section-heading h2{font-family:"Playfair Display",Georgia,serif;font-size:clamp(32px,4vw,42px);font-weight:500;letter-spacing:-.02em}
.station-contacts{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin-top:18px;padding:14px 16px;border-top:1px solid var(--tunera-border);color:var(--tunera-muted)}
.contacts-title{width:100%;margin:0;color:var(--tunera-text);font-size:13px;font-weight:700}
.contact-link{color:var(--tunera-cyan);font-size:13px;text-decoration:none;overflow-wrap:anywhere}
.contact-link:hover{text-decoration:underline}
.persistent-controls button span{display:inline-block;font-size:0;line-height:1}
.persistent-controls button[aria-label="Reproducir o pausar"] span{font-size:16px}
@media(max-width:760px){
 .category-chips{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .category-chip{font-size:11px;min-height:42px}
 .filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}
 .filters .search{grid-column:1/-1}
 .filters .island-control{grid-column:1/2}
 .filters .clear-filters{grid-column:2/3}
}
@media(max-width:430px){
 .filters{grid-template-columns:1fr}
 .filters .search,.filters .island-control,.filters .clear-filters{grid-column:1}
}

/* Tunera PWA v0.1.11 — ajustes finos */
.hero-search-row{display:grid;grid-template-columns:minmax(220px,460px) minmax(220px,1fr) auto;gap:12px;align-items:center;width:100%;margin:14px 0 18px}
.hero-search-row .search{position:relative;display:flex;align-items:center;box-sizing:border-box;width:100%;max-width:460px;min-width:0;height:48px;margin:0;padding:0 42px 0 14px;border:1px solid var(--tunera-border);border-radius:10px;background:var(--tunera-panel)}
.hero-search-row .search input{box-sizing:border-box;width:100%;min-width:0;height:100%;padding:0;border:0;outline:0;background:transparent;color:var(--tunera-text)}
.hero-search-row .search .search-icon{position:absolute;right:14px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:20px;height:20px;font-size:22px;line-height:1;color:var(--tunera-cyan);pointer-events:none}
.hero-search-row .island-control{display:block;min-width:0;width:100%}
.hero-search-row .island-control>span{display:none!important}
.hero-search-row .island-control select{box-sizing:border-box;width:100%;height:48px;min-height:48px;padding:0 38px 0 14px;border:1px solid var(--tunera-border);border-radius:10px;background:var(--tunera-panel);color:var(--tunera-text);font-size:14px}
.hero-search-row .clear-filters{width:auto;min-width:130px;height:48px;margin:0;padding:0 18px;border-radius:10px;white-space:nowrap}
.filters{display:block!important;width:100%;margin:0}
.category-chip{border:1px solid transparent!important;box-shadow:0 3px 10px rgba(0,0,0,.28)!important;outline:0!important}
.category-chip.active{border:1px solid transparent!important;box-shadow:0 4px 13px rgba(2,183,226,.24),0 2px 7px rgba(0,0,0,.28)!important}
.category-chip:focus,.category-chip:focus-visible{outline:0!important;border-color:transparent!important}
.section-heading h2{font-family:"Open Sans",Arial,sans-serif!important;font-weight:700!important;letter-spacing:0!important}
@media(max-width:760px){.hero-search-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}.hero-search-row .search{grid-column:1/-1;max-width:none}.hero-search-row .island-control{grid-column:1}.hero-search-row .clear-filters{grid-column:2;width:100%;min-width:0}}
@media(max-width:430px){.hero-search-row{grid-template-columns:minmax(0,1fr)}.hero-search-row .search,.hero-search-row .island-control,.hero-search-row .clear-filters{grid-column:1;width:100%}}


/* Tunera v0.1.12: footer legal, navigation and station social placeholders */
#persistent-player{display:none!important}
body{padding-bottom:82px}
.site-footer{margin:46px 0 0;padding:26px 24px 104px;background:#102a43;color:#dce8ef;text-align:center}
.site-footer .footer-copyright{margin:0 0 10px;font-size:13px}
.site-footer .footer-copyright strong{color:#fff}
.footer-legal{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 11px;font-size:12px;line-height:1.7}
.footer-legal a{color:#fff;text-decoration:none}
.footer-legal a:hover{text-decoration:underline}
.bottom-nav{position:fixed;z-index:1000;left:0;right:0;bottom:0;min-height:70px;padding:8px max(12px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;background:rgba(16,42,67,.97);border-top:1px solid rgba(255,255,255,.12);box-shadow:0 -5px 22px rgba(0,0,0,.16);backdrop-filter:blur(12px)}
.bottom-nav a{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#dce8ef;text-decoration:none;font-size:9px;font-weight:700;letter-spacing:.025em;text-align:center;line-height:1.15}
.bottom-nav a:hover,.bottom-nav a:focus-visible{color:#02b7e2}
.bottom-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.station-social{display:flex;align-items:center;gap:12px;margin:18px 0 4px;padding-top:14px;border-top:1px solid rgba(128,150,165,.2)}
.station-social-label{margin-right:3px;color:#9aabb5;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.social-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#eaf4f7;color:#183044}
.social-icon svg{width:18px;height:18px;fill:currentColor;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.social-icon.instagram svg{fill:none}.social-icon.instagram .social-fill{fill:currentColor;stroke:none}
@media(max-width:560px){body{padding-bottom:76px}.site-footer{padding-left:16px;padding-right:16px}.footer-legal{gap:5px 8px;font-size:11px}.bottom-nav{min-height:66px}.bottom-nav a{font-size:8px}.bottom-nav svg{width:19px;height:19px}}


/* Tunera v0.1.13: tema oscuro estable desde el primer renderizado */
:root{color-scheme:dark!important;--tunera-bg:#151a20;--tunera-panel:#202830;--tunera-panel-raised:#29343e;--tunera-text:#edf3f6;--tunera-muted:#aab8c2;--tunera-border:#3b4853;--tunera-cyan:#02b7e2;--tunera-cyan-dark:#02b7e2;background:#151a20!important;color:#edf3f6!important}
html,body{background:#151a20!important;color:#edf3f6!important;min-height:100%;}
body{margin:0;background-color:#151a20!important}
.site-header{background:#10151a!important;color:#edf3f6!important}
.hero h1,.section-heading h2,.detail-top h2{color:#edf3f6!important}
.station-card,.station-detail{background:#202830;color:#edf3f6}
.station-card p,.hero-copy,.count,.detail-description{color:#aab8c2}

/* Tunera v0.1.14: tarjetas compactas, metadatos isla-categoría y faldón */
.station-card{display:flex;flex-direction:column;justify-content:space-between;min-height:146px;padding:18px;background:#202830!important;border:1px solid #3b4853!important;border-radius:10px;color:#edf3f6!important;cursor:pointer}
.station-title-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0}
.station-logo{width:64px;height:64px}
.station-logo-img{width:64px;height:64px;object-fit:contain;background:#fff;border-radius:11px;padding:4px}
.station-title-box{min-width:0}
.station-title-box h3{margin:0;color:#f2f6f8;font-size:16px;line-height:1.35;font-weight:750;overflow-wrap:anywhere}
.favorite-button{align-self:center;color:#f5a623!important;font-size:25px;line-height:1;background:transparent!important;border:0!important;padding:5px;cursor:pointer}
.station-meta{margin:12px 0 0!important;color:#f3c94b!important;font-size:12px!important;font-weight:650;letter-spacing:.01em;line-height:1.35}
.persistent-player{display:none!important}
.site-footer{margin:0!important;padding:18px 16px 16px!important;background:#080b0e!important;color:#d7e0e5!important;border:0!important;text-align:center}
.footer-copyright{margin:0 auto 7px!important;text-align:center!important;color:#e4e9ec!important;font-size:12px!important;line-height:1.5}
.footer-copyright strong{color:#fff}
.footer-legal{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:5px 9px;margin:0 auto!important;text-align:center;font-size:11px;line-height:1.5}
.footer-legal a{color:#b8c7d0;text-decoration:none}
.footer-legal a:hover{color:#02b7e2}
.bottom-nav{margin:0!important;border-top:1px solid #20272d!important}
@media(max-width:700px){
 .station-card{min-height:132px;padding:14px}
 .station-title-row{grid-template-columns:58px minmax(0,1fr) auto;gap:11px}
 .station-logo,.station-logo-img{width:58px;height:58px}
 .station-title-box h3{font-size:15px}
 .station-meta{font-size:11px!important}
 .site-footer{padding:15px 10px 13px!important}
 .footer-legal{gap:4px 7px;font-size:10px}
}


/* Tunera v0.1.15: categorías basadas en la taxonomía original y encabezado en línea */
.section-heading{align-items:center!important;margin-bottom:20px!important}
.catalogue-heading{min-width:0}
.section-heading h2#catalogue-title{display:flex!important;align-items:baseline!important;gap:10px!important;margin:0!important;font-family:"Open Sans",Arial,sans-serif!important;font-size:clamp(22px,2.4vw,27px)!important;font-weight:700!important;line-height:1.2!important;letter-spacing:-.025em!important;color:var(--tunera-cyan)!important}
.catalogue-heading-label,.catalogue-heading-name{display:inline!important;color:var(--tunera-cyan)!important;font:inherit!important}
.count{align-self:center!important;white-space:nowrap!important;color:#aab8c2!important;font-size:12px!important}
#category-chips{position:relative;z-index:2;pointer-events:auto!important}
#category-chips .category-chip{position:relative;z-index:3;pointer-events:auto!important;touch-action:manipulation}
@media(max-width:560px){.section-heading h2#catalogue-title{gap:7px!important;font-size:clamp(19px,5vw,23px)!important}.count{font-size:11px!important}}


/* Tunera v0.1.16 — reproductor individual y unión faldón/menú */
.station-detail{padding:clamp(20px,3.2vw,34px);background:#202830;border:1px solid #3b4853;border-radius:18px}
.detail-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.detail-heading{display:grid;grid-template-columns:132px minmax(0,1fr) minmax(100px,160px);align-items:center;gap:22px;width:100%;min-width:0;padding:18px 22px;background:linear-gradient(110deg,#111b23,#101820);border:1px solid #35434e;border-radius:16px}
.detail-heading-copy{min-width:0}
.detail-heading .eyebrow{margin:0 0 12px;color:#02b7e2}
.detail-heading .detail-logo{width:132px;height:132px;object-fit:contain;background:#fff;border:1px solid #3b4853;border-radius:14px;padding:5px}
.detail-heading .player-equalizer{display:flex;opacity:.55;justify-content:center}
.detail-heading .player-equalizer i{width:5px;height:8px}
.detail-heading .detail-description{margin:9px 0 0;color:#b7c8d5;font-size:13px}
.player-message{min-height:44px;display:flex;align-items:center;padding:10px 14px;font-size:13px}
.player-controls{display:flex;align-items:center;gap:12px;min-height:52px}
.station-website{display:inline-block;margin-top:18px}
.station-social{justify-content:flex-end;margin-top:16px;padding:12px 0 0;border-top:1px solid rgba(128,150,165,.2)}
.player-metadata-hidden{display:none!important}
.site-footer{margin:0!important;padding:18px 16px 0!important;background:#080b0e!important}
.bottom-nav{margin:0!important;padding-top:8px!important;border-top:0!important;box-shadow:none!important}
@media(max-width:700px){.detail-heading{grid-template-columns:78px minmax(0,1fr);gap:13px;padding:13px}.detail-heading .detail-logo{width:78px;height:78px}.detail-heading .player-equalizer{grid-column:1/-1;justify-content:flex-end;height:20px}.detail-heading .detail-heading-copy .eyebrow{font-size:8px}.detail-heading .detail-heading-copy h2{font-size:22px}.station-social{justify-content:flex-start}}

.detail-heading.is-playing .player-equalizer{opacity:1}.detail-heading.is-playing .player-equalizer i{animation-play-state:running}


/* v0.1.17: web oficial y redes sociales en una única fila real */
.station-links-row{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;min-width:0;margin-top:18px;padding:8px 0;border-top:1px solid rgba(128,150,165,.2);border-bottom:1px solid rgba(128,150,165,.2)}
.station-links-row .station-website{display:inline-flex;align-items:center;flex:1 1 auto;min-width:0;margin:0!important;line-height:1.3}
.station-links-row .station-social{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:12px;margin:0!important;padding:0!important;border:0!important;white-space:nowrap}
.station-links-row .station-social-label{margin-right:3px}
.station-links-row #station-website[hidden]{display:none!important}
@media(max-width:520px){.station-links-row{gap:10px}.station-links-row .station-social{gap:7px}.station-links-row .social-icon{width:29px;height:29px}.station-links-row .station-social-label{font-size:10px}.station-links-row .station-website{font-size:11px}}


/* Tunera v0.1.18: faldón continuo, compartir emisora y textos de disponibilidad */
.site-footer{display:block!important;margin:0!important;padding:18px 16px 26px!important;background:#080b0e!important;border:0!important}
.bottom-nav{display:flex!important;margin:0!important;padding:0!important;border:0!important;border-top:0!important;background:#102a43!important}
.site-footer+.bottom-nav{margin-top:0!important}
body{padding-bottom:0!important}
#catalogue-title{text-transform:uppercase!important}
.catalogue-heading-label,.catalogue-heading-name{text-transform:uppercase!important}
.station-social{gap:10px!important}
.station-share-wrap{position:relative;display:inline-flex;align-items:center}
.station-share-button{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid #40515d;border-radius:16px;background:#17232c;color:#dcebf1;font:600 11px "Open Sans",Arial,sans-serif;cursor:pointer;white-space:nowrap}
.station-share-button:hover{border-color:#02b7e2;color:#02b7e2}
.station-share-menu{position:absolute;z-index:30;right:0;bottom:calc(100% + 8px);display:flex;flex-direction:column;min-width:150px;padding:6px;background:#101820;border:1px solid #40515d;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.station-share-menu[hidden]{display:none!important}
.station-share-menu a,.station-share-menu button{display:block;padding:9px 10px;border:0;background:transparent;color:#e5edf1;text-align:left;text-decoration:none;font:500 12px "Open Sans",Arial,sans-serif;cursor:pointer}
.station-share-menu a:hover,.station-share-menu button:hover{background:#20313d;color:#02b7e2}
.no-endpoints{display:none!important}
@media(max-width:560px){.site-footer{padding:16px 10px 22px!important}.station-social{gap:7px!important}.station-share-button span{display:none}.station-share-button{width:31px;height:31px;justify-content:center;padding:0}.station-share-menu{right:-80px}}


/* Tunera v0.1.19: cabecera centrada, categorías en menú superior y pie restaurado */
.site-header{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;min-height:112px!important;padding:12px clamp(18px,3vw,48px)!important;background:#10151a!important}
.site-header .brand{grid-column:2;grid-row:1;justify-self:center;min-width:0}
.site-header .brand-logo{width:228px!important;height:72px!important;max-width:60vw!important;object-position:center!important}
.header-note{display:none!important}
.header-category-nav{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;justify-content:flex-end;gap:clamp(5px,.8vw,13px);flex-wrap:wrap;max-width:100%;}
.header-category-button{appearance:none;border:1px solid transparent;background:transparent;color:#dce8ef;padding:8px 7px;border-radius:7px;font:700 10px/1.2 "Open Sans",Arial,sans-serif;letter-spacing:.025em;white-space:nowrap;cursor:pointer}
.header-category-button:hover,.header-category-button.active{color:#02b7e2;border-color:rgba(2,183,226,.38);background:rgba(2,183,226,.08)}
#category-chips{display:none!important}
.hero-search-row{margin-top:20px!important}
.player-controls{border:0!important;border-bottom:0!important;box-shadow:none!important}
.player-controls:after,.player-controls:before{display:none!important;content:none!important}
.player-controls .player-state{margin-left:auto}
.site-footer{display:block!important;visibility:visible!important;min-height:76px!important;margin:0!important;padding:20px 16px 24px!important;background:#080b0e!important;color:#d7e0e5!important;border:0!important;text-align:center!important}
.site-footer .footer-copyright,.site-footer .footer-legal{display:flex!important;visibility:visible!important;opacity:1!important}
.site-footer .footer-copyright{justify-content:center!important}
.footer-legal{justify-content:center!important}
.bottom-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:center!important;justify-content:stretch!important;width:100%!important;min-height:74px!important;padding:8px max(12px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom))!important;background:#102a43!important}
.bottom-nav a{width:100%;min-width:0;align-items:center!important;justify-content:center!important;text-align:center!important}
@media(max-width:1100px){.site-header{grid-template-columns:1fr!important;gap:8px!important;padding:10px 14px!important}.site-header .brand{grid-column:1;grid-row:1;justify-self:center}.header-category-nav{grid-column:1;grid-row:2;justify-self:center;justify-content:center;width:100%;gap:3px}.header-category-button{font-size:9px;padding:7px 5px}}
@media(max-width:560px){.site-header .brand-logo{width:204px!important;height:64px!important}.header-category-nav{overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;padding:2px 0 6px}.header-category-button{flex:0 0 auto}.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}.bottom-nav a{font-size:8px!important}.site-footer{padding:16px 10px 20px!important}}


/* Tunera v0.1.20: reproductor limpio, cuatro categorías y navegación amarilla */
.station-links-row{border-top:0!important;margin-top:8px!important}
.player-controls{border:0!important;border-bottom:0!important;box-shadow:none!important}
.player-controls::before,.player-controls::after{display:none!important;content:none!important}
.endpoint-format:empty{display:none!important}
.bottom-nav a,.bottom-nav a:visited{color:#f2cf58!important}
.bottom-nav a:hover,.bottom-nav a:focus-visible{color:#ffe58a!important}
.header-category-button{color:#f2cf58!important}
.header-category-button:hover,.header-category-button.active{color:#ffe58a!important;border-color:rgba(242,207,88,.45)!important;background:rgba(242,207,88,.08)!important}


/* Tunera v0.1.21: cabecera equilibrada, faldón legal visible y navegación blanca */
.site-header{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:space-between!important;gap:24px!important;width:100%!important;
  min-height:112px!important;height:auto!important;padding:12px clamp(20px,4vw,64px)!important;
}
.site-header .brand{display:flex!important;flex:0 1 auto!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important;margin:0!important}
.site-header .brand-logo{display:block!important;width:228px!important;height:76px!important;max-width:35vw!important;object-fit:contain!important;object-position:left center!important}
.header-category-nav{display:flex!important;flex:0 1 auto!important;align-items:center!important;justify-content:flex-end!important;gap:clamp(8px,1.2vw,18px)!important;width:auto!important;max-width:70%!important;margin:0!important;overflow:visible!important;flex-wrap:wrap!important}
.header-category-button{font-size:11px!important;padding:9px 10px!important}
.site-footer{
  display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;
  width:100%!important;height:auto!important;min-height:88px!important;max-height:none!important;
  overflow:visible!important;margin:0!important;padding:20px 16px 22px!important;
  background:#080b0e!important;color:#f0f3f5!important;text-align:center!important;
  border:0!important;line-height:1.5!important;z-index:1!important;
}
.site-footer .footer-copyright{
  display:block!important;visibility:visible!important;opacity:1!important;
  margin:0 auto 8px!important;padding:0!important;color:#f0f3f5!important;
  font:600 13px/1.5 "Open Sans",Arial,sans-serif!important;text-align:center!important;
}
.site-footer .footer-copyright strong{color:#fff!important}
.site-footer .footer-legal{
  display:flex!important;visibility:visible!important;opacity:1!important;
  justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;
  gap:5px 10px!important;margin:0 auto!important;padding:0!important;
  color:#e3e9ed!important;font:400 11px/1.6 "Open Sans",Arial,sans-serif!important;text-align:center!important;
}
.site-footer .footer-legal a{display:inline!important;color:#e3e9ed!important;text-decoration:none!important}
.site-footer .footer-legal a:hover{color:#fff!important;text-decoration:underline!important}
.bottom-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:1000!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:center!important;justify-content:stretch!important;width:100%!important;min-height:74px!important;margin:0!important;padding:8px max(12px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom))!important;background:#102a43!important;border:0!important;box-shadow:none!important}
.bottom-nav a,.bottom-nav a:visited,.bottom-nav a:hover,.bottom-nav a:focus-visible{color:#fff!important}
.bottom-nav svg{stroke:#fff!important}
@media(max-width:760px){
 .site-header{flex-direction:column!important;justify-content:center!important;gap:8px!important;min-height:0!important;padding:12px 14px!important}
 .site-header .brand{justify-content:center!important}
 .site-header .brand-logo{width:204px!important;height:64px!important;max-width:70vw!important;object-position:center!important}
 .header-category-nav{justify-content:center!important;max-width:100%!important;width:100%!important;gap:3px!important;flex-wrap:nowrap!important;overflow-x:auto!important;padding:2px 0 5px!important}
 .header-category-button{flex:0 0 auto!important;font-size:9px!important;padding:7px 8px!important}
}


/* Tunera v0.1.23: faldón legal fijo visible y navegación inferior amarilla */
:root{
  --tunera-bottom-nav-height: 74px;
  --tunera-footer-height: 76px;
}
html,body{min-height:100%;margin:0}
body{
  padding-bottom:calc(var(--tunera-bottom-nav-height) + var(--tunera-footer-height) + 18px + env(safe-area-inset-bottom))!important;
}
.site-footer{
  display:flex!important;visibility:visible!important;opacity:1!important;
  position:fixed!important;left:0!important;right:0!important;
  bottom:calc(var(--tunera-bottom-nav-height) + env(safe-area-inset-bottom))!important;
  z-index:999!important;box-sizing:border-box!important;
  width:100%!important;min-height:var(--tunera-footer-height)!important;height:auto!important;
  max-height:none!important;overflow:visible!important;
  margin:0!important;padding:10px 16px!important;
  flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:5px!important;background:#080808!important;color:#f2f2f2!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  text-align:center!important;line-height:1.35!important;
}
.site-footer .footer-copyright{
  display:block!important;visibility:visible!important;opacity:1!important;
  margin:0!important;padding:0!important;color:#f2f2f2!important;
  font:600 12px/1.35 "Open Sans",Arial,sans-serif!important;text-align:center!important;
}
.site-footer .footer-copyright strong{color:#fff!important}
.site-footer .footer-legal{
  display:flex!important;visibility:visible!important;opacity:1!important;
  flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;
  gap:2px 9px!important;margin:0!important;padding:0!important;
  color:#f2f2f2!important;font:400 10px/1.4 "Open Sans",Arial,sans-serif!important;
  text-align:center!important;
}
.site-footer .footer-legal a,
.site-footer .footer-legal a:visited{color:#f2f2f2!important;text-decoration:none!important}
.site-footer .footer-legal a:hover,
.site-footer .footer-legal a:focus-visible{color:#f2cf58!important;text-decoration:underline!important}
.bottom-nav{
  position:fixed!important;left:0!important;right:0!important;bottom:0!important;
  z-index:1000!important;box-sizing:border-box!important;
  min-height:var(--tunera-bottom-nav-height)!important;height:auto!important;
  padding:8px max(12px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom))!important;
  background:#102a43!important;border:0!important;margin:0!important;
}
.bottom-nav a,
.bottom-nav a:visited,
.bottom-nav a:hover,
.bottom-nav a:focus-visible{
  color:#f2cf58!important;
}
.bottom-nav a span{color:#f2cf58!important}
.bottom-nav svg{stroke:#f2cf58!important}
.bottom-nav a:hover span,
.bottom-nav a:focus-visible span{color:#ffe58a!important}
@media(max-width:760px){
  :root{--tunera-footer-height:88px}
  .site-footer{padding:9px 8px!important;gap:4px!important}
  .site-footer .footer-copyright{font-size:11px!important}
  .site-footer .footer-legal{font-size:9px!important;gap:2px 6px!important}
  .bottom-nav{min-height:74px!important}
  .bottom-nav a,.bottom-nav a span{font-size:8px!important}
}


/* Tunera v0.1.24: faldon legal en flujo normal, despues del directorio */
:root{
  --tunera-bottom-nav-height:74px;
}
html,body{min-height:100%;height:auto!important;overflow-x:hidden!important;overflow-y:auto!important}
body{
  padding-bottom:calc(var(--tunera-bottom-nav-height) + env(safe-area-inset-bottom))!important;
}
main{height:auto!important;min-height:0!important;overflow:visible!important}
.catalogue,.station-grid{height:auto!important;max-height:none!important;overflow:visible!important}
.site-footer{
  display:flex!important;visibility:visible!important;opacity:1!important;
  position:relative!important;inset:auto!important;bottom:auto!important;left:auto!important;right:auto!important;
  z-index:auto!important;box-sizing:border-box!important;width:100%!important;
  min-height:76px!important;height:auto!important;max-height:none!important;
  overflow:visible!important;margin:0!important;padding:18px 16px!important;
  flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:5px!important;background:#080808!important;color:#f2f2f2!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  text-align:center!important;line-height:1.35!important;
}
.site-footer .footer-copyright{display:block!important;margin:0!important;padding:0!important;color:#f2f2f2!important;text-align:center!important}
.site-footer .footer-legal{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:3px 9px!important;margin:0!important;padding:0!important;text-align:center!important}
.bottom-nav{
  position:fixed!important;left:0!important;right:0!important;bottom:0!important;
  z-index:1000!important;box-sizing:border-box!important;
  min-height:var(--tunera-bottom-nav-height)!important;height:auto!important;
  margin:0!important;padding:8px max(12px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom))!important;
  background:#102a43!important;border:0!important;
}
.bottom-nav a,.bottom-nav a:visited,.bottom-nav a:hover,.bottom-nav a:focus-visible,
.bottom-nav a span{color:#f2cf58!important}
.bottom-nav svg{stroke:#f2cf58!important}
.bottom-nav a:hover span,.bottom-nav a:focus-visible span{color:#ffe58a!important}
@media(max-width:760px){
  :root{--tunera-bottom-nav-height:74px}
  body{padding-bottom:calc(74px + env(safe-area-inset-bottom))!important}
  .site-footer{min-height:0!important;padding:16px 10px!important;gap:5px!important}
  .site-footer .footer-copyright{font-size:11px!important}
  .site-footer .footer-legal{font-size:9px!important;gap:3px 6px!important}
  .bottom-nav{min-height:74px!important}
  .bottom-nav a,.bottom-nav a span{font-size:8px!important}
}

/* Tunera: reducir el tamaño del encabezado DIRECTORIO / EMISORAS */
.section-heading h2#catalogue-title {
  font-size: clamp(18px, 2vw, 22px) !important;
}

@media (max-width: 560px) {
  .section-heading h2#catalogue-title {
    font-size: clamp(16px, 4vw, 19px) !important;
  }
}


/* Tunera v0.1.26: acceso al directorio de emisoras favoritas */
.section-heading{gap:12px;flex-wrap:wrap;align-items:center}
.favorites-toggle{flex:0 0 auto;min-height:38px;padding:0 15px;border:1px solid rgba(2,183,226,.55);border-radius:7px;background:#102a43;color:#f2cf58;font:800 11px/1 "Open Sans",Arial,sans-serif;letter-spacing:.04em;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.favorites-toggle:hover{background:#173d5a;border-color:#02B7E2}
.favorites-toggle.active{background:#02B7E2;border-color:#02B7E2;color:#102a43}
.favorites-toggle:focus-visible{outline:2px solid #f2cf58;outline-offset:3px}
@media(max-width:560px){.section-heading{align-items:center;gap:8px}.favorites-toggle{min-height:36px;padding:0 11px;font-size:10px}.section-heading .count{margin-left:auto}}


/* Tunera v0.1.27: botón flotante para volver rápidamente a la cabecera */
.back-to-top{position:fixed;right:18px;bottom:calc(var(--tunera-bottom-nav-height) + 18px + env(safe-area-inset-bottom));z-index:1100;width:48px;height:48px;display:grid;place-items:center;padding:0;border:2px solid #f2cf58;border-radius:50%;background:#102a43;color:#f2cf58;box-shadow:0 3px 12px rgba(0,0,0,.32);cursor:pointer;opacity:1;transform:translateY(0);transition:opacity .2s,transform .2s,background .2s}
.back-to-top[hidden]{display:none!important}
.back-to-top svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.back-to-top:hover,.back-to-top:focus-visible{background:#02B7E2;color:#102a43;outline:2px solid #f2cf58;outline-offset:3px}
@media(max-width:760px){.back-to-top{right:14px;width:44px;height:44px;bottom:calc(74px + 14px + env(safe-area-inset-bottom))}}


/* v0.1.27 — Cabecera centrada: logo arriba y menú debajo */
.site-header{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  padding:18px 16px 14px!important;
  text-align:center!important;
}
.site-header .brand{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
.site-header .brand-logo{
  display:block!important;
  width:min(280px,44vw)!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
}
.header-category-nav{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 auto!important;
  gap:clamp(6px,1.4vw,18px)!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
  padding:0!important;
}
.header-category-button{
  flex:0 0 auto!important;
}
@media(max-width:560px){
  .site-header{gap:8px!important;padding:12px 10px 10px!important}
  .site-header .brand-logo{width:min(220px,47vw)!important;height:auto!important;max-width:100%!important}
  .header-category-nav{justify-content:center!important;gap:4px 7px!important;flex-wrap:wrap!important;overflow:visible!important;padding:0 2px!important}
  .header-category-button{font-size:9px!important;padding:7px 7px!important}
}


/* v0.1.29 — logotipo horizontal en PC y vertical en móviles */
.site-header .brand{
  width:fit-content!important;
  max-width:100%!important;
  flex:0 1 auto!important;
}
.site-header .brand-picture{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
}
.site-header .brand-logo{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
}
/* En pantallas grandes, el logo ocupa exactamente el ancho del menú */
.site-header .header-category-nav{
  width:max-content!important;
  max-width:100%!important;
}
/* En móvil se conserva el tamaño compacto actual del logotipo */
@media(max-width:700px){
  .site-header .brand{width:110px!important}
  .site-header .brand-picture{width:110px!important}
  .site-header .brand-logo{width:110px!important;height:auto!important}
  .site-header .header-category-nav{
    width:100%!important;
    max-width:100%!important;
    justify-content:center!important;
    flex-wrap:wrap!important;
  }
}


/* v0.1.30 — En PC, el logotipo horizontal iguala exactamente el ancho de las cuatro categorías */
@media(min-width:701px){
  .site-header .brand{width:var(--tunera-header-menu-width, max-content)!important;max-width:calc(100vw - 32px)!important;flex:0 1 auto!important}
  .site-header .brand-picture,.site-header .brand-logo{width:100%!important;max-width:100%!important;height:auto!important}
  .site-header .header-category-nav{display:flex!important;flex-wrap:nowrap!important;width:max-content!important;max-width:calc(100vw - 32px)!important;justify-content:center!important}
}


/* v0.1.31 — filtros compactos en cabecera móvil; escritorio sin cambios */
.mobile-filter-toggle,
.mobile-filter-panel{display:none}

@media(max-width:700px){
  .site-header{
    position:relative!important;
    z-index:40!important;
    display:grid!important;
    grid-template-columns:34px 96px minmax(0,1fr)!important;
    align-items:center!important;
    justify-content:stretch!important;
    gap:5px!important;
    width:100%!important;
    min-height:68px!important;
    height:auto!important;
    padding:8px 8px!important;
    text-align:left!important;
  }
  .mobile-filter-toggle{
    display:inline-grid!important;
    grid-column:1!important;
    grid-row:1!important;
    place-items:center!important;
    width:34px!important;
    height:34px!important;
    padding:0!important;
    border:1px solid #3b4b57!important;
    border-radius:9px!important;
    background:#202830!important;
    color:#edf3f6!important;
    cursor:pointer!important;
  }
  .mobile-filter-toggle svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mobile-filter-toggle[aria-expanded="true"]{border-color:#02b7e2!important;color:#02b7e2!important}
  .site-header .brand{
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:96px!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
  }
  .site-header .brand-picture{display:block!important;width:100%!important;max-width:100%!important}
  .site-header .brand-logo{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:54px!important;
    object-fit:contain!important;
    object-position:center!important;
  }
  .site-header .header-category-nav{
    grid-column:3!important;
    grid-row:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:2px 0!important;
    gap:1px!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
  }
  .site-header .header-category-nav::-webkit-scrollbar{display:none}
  .header-category-button{
    flex:0 0 auto!important;
    padding:6px 2px!important;
    font-size:7.2px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
  }
  .mobile-filter-panel:not([hidden]){
    position:absolute!important;
    top:calc(100% + 5px)!important;
    left:10px!important;
    right:10px!important;
    z-index:60!important;
    display:block!important;
    padding:12px!important;
    border:1px solid #3b4b57!important;
    border-radius:12px!important;
    background:#171f26!important;
    box-shadow:0 12px 32px rgba(0,0,0,.42)!important;
  }
  .mobile-filter-panel[hidden]{display:none!important}
  .mobile-filter-panel .hero-search-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:stretch!important;
    gap:10px!important;
    width:100%!important;
    margin:0!important;
  }
  .mobile-filter-panel .hero-search-row .search,
  .mobile-filter-panel .hero-search-row .island-control,
  .mobile-filter-panel .hero-search-row .clear-filters{
    grid-column:1!important;
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:46px!important;
    height:46px!important;
    margin:0!important;
  }
  .mobile-filter-panel .hero-search-row .island-control select{width:100%!important;height:46px!important;min-height:46px!important}
  .mobile-filter-panel .hero-search-row .clear-filters{justify-content:center!important}
  .hero{padding-top:28px!important}
}

@media(max-width:380px){
  .site-header{grid-template-columns:32px 84px minmax(0,1fr)!important;gap:4px!important;padding-left:6px!important;padding-right:6px!important}
  .mobile-filter-toggle{width:32px!important;height:32px!important}
  .site-header .brand{width:84px!important}
  .header-category-button{font-size:6.8px!important;padding-left:1px!important;padding-right:1px!important}
  .mobile-filter-panel:not([hidden]){left:8px!important;right:8px!important}
}


/* Tunera v0.1.32 — catálogo móvil en dos columnas y tarjetas centradas */
@media(max-width:700px){
  /* Logotipo de cabecera ligeramente mayor; solo afecta a móviles */
  .site-header{grid-template-columns:38px 124px minmax(0,1fr)!important}
  .site-header .brand{width:124px!important}
  .site-header .brand-picture{width:100%!important}
  .site-header .brand-logo{max-height:62px!important}

  /* Dos emisoras por fila, con logotipo, nombre y ubicación centrados */
  #stations.station-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:10px!important;
  }
  #stations .station-card{
    position:relative!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"logo" "title" "meta"!important;
    grid-template-rows:auto auto 1fr!important;
    align-content:start!important;
    justify-items:stretch!important;
    gap:8px!important;
    min-width:0!important;
    min-height:184px!important;
    height:100%!important;
    padding:13px 9px 12px!important;
    text-align:center!important;
  }
  #stations .station-title-row{display:contents!important}
  #stations .station-logo{
    grid-area:logo!important;
    justify-self:center!important;
    align-self:start!important;
    width:74px!important;
    height:74px!important;
    margin:0 auto!important;
    border-radius:11px!important;
  }
  #stations .station-logo-img{
    width:100%!important;
    height:100%!important;
    padding:4px!important;
    object-fit:contain!important;
  }
  #stations .station-title-box{
    grid-area:title!important;
    min-width:0!important;
    width:100%!important;
    align-self:center!important;
    text-align:center!important;
  }
  #stations .station-title-box h3{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    margin:0!important;
    color:#f2f6f8!important;
    font-size:13px!important;
    line-height:1.3!important;
    font-weight:750!important;
    overflow-wrap:anywhere!important;
  }
  #stations .station-meta{
    grid-area:meta!important;
    align-self:start!important;
    width:100%!important;
    margin:0!important;
    padding-top:2px!important;
    color:#f3c94b!important;
    font-size:10px!important;
    line-height:1.35!important;
    font-weight:650!important;
    text-align:center!important;
    overflow-wrap:anywhere!important;
  }
  #stations .favorite-button{
    position:absolute!important;
    z-index:2!important;
    top:7px!important;
    right:7px!important;
    display:grid!important;
    place-items:center!important;
    width:30px!important;
    height:30px!important;
    margin:0!important;
    padding:0!important;
    border-radius:50%!important;
    background:rgba(16,21,26,.88)!important;
    color:#f5b638!important;
    font-size:23px!important;
    line-height:1!important;
  }
  #stations .empty{grid-column:1/-1!important}
}

@media(max-width:380px){
  .site-header{grid-template-columns:36px 108px minmax(0,1fr)!important}
  .site-header .brand{width:108px!important}
  .site-header .brand-logo{max-height:58px!important}
  #stations.station-grid{gap:8px!important}
  #stations .station-card{min-height:176px!important;padding:11px 7px 10px!important}
  #stations .station-logo{width:68px!important;height:68px!important}
  #stations .station-title-box h3{font-size:12px!important}
  #stations .station-meta{font-size:9.5px!important}
}


/* Tunera v0.1.33 — logos de emisoras mayores y tarjetas con márgenes equilibrados */
@media(max-width:700px){
  #stations .station-card{
    grid-template-rows:auto auto auto!important;
    align-content:start!important;
    height:auto!important;
    min-height:0!important;
    padding:12px 9px!important;
  }
  #stations .station-logo{
    width:82px!important;
    height:82px!important;
  }
  #stations .station-logo-img{
    width:100%!important;
    height:100%!important;
  }
}
@media(max-width:380px){
  #stations .station-card{padding:11px 7px!important}
  #stations .station-logo{width:76px!important;height:76px!important}
}


/* Tunera v0.1.34 — navegación inferior, botón volver arriba e instrucciones de instalación */
.bottom-nav{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
.bottom-nav a,
.bottom-nav a:visited,
.bottom-nav a:hover,
.bottom-nav a:focus-visible,
.bottom-nav button,
.bottom-nav button:hover,
.bottom-nav button:focus-visible{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  min-width:0!important;
  width:100%!important;
  min-height:48px!important;
  padding:2px 1px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff!important;
  text-decoration:none!important;
  font:700 8px/1.15 "Open Sans",Arial,sans-serif!important;
  letter-spacing:.015em!important;
  text-align:center!important;
  cursor:pointer!important;
  -webkit-tap-highlight-color:transparent;
}
.bottom-nav a span,
.bottom-nav button span{color:#fff!important}
.bottom-nav svg{width:20px!important;height:20px!important;fill:none!important;stroke:#fff!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.bottom-nav a:active,
.bottom-nav button:active,
.bottom-nav a:active span,
.bottom-nav button:active span{color:#f2cf58!important}
.bottom-nav a:active svg,
.bottom-nav button:active svg{stroke:#f2cf58!important}
.bottom-nav a:focus-visible,
.bottom-nav button:focus-visible{outline:2px solid #f2cf58!important;outline-offset:-2px!important}
@media(max-width:380px){
  .bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))!important;padding-left:5px!important;padding-right:5px!important}
  .bottom-nav a,.bottom-nav button{font-size:7px!important;gap:3px!important}
  .bottom-nav svg{width:18px!important;height:18px!important}
}

/* El botón de volver arriba queda limpio: un solo círculo, sin fondo azul ni halo exterior. */
.back-to-top{
  border:2px solid #f2cf58!important;
  background:transparent!important;
  color:#f2cf58!important;
  box-shadow:none!important;
  outline:none!important;
  -webkit-tap-highlight-color:transparent;
}
.back-to-top:hover,
.back-to-top:focus-visible{
  border-color:#f2cf58!important;
  background:transparent!important;
  color:#f2cf58!important;
  box-shadow:none!important;
  outline:none!important;
}
.back-to-top:active{
  border-color:#fff!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
  outline:none!important;
}

/* Ventana de ayuda para instalar Tunera como aplicación. */
.install-help-dialog{
  box-sizing:border-box;
  width:min(560px,calc(100vw - 24px));
  max-width:560px;
  max-height:calc(100vh - 24px);
  max-height:calc(100dvh - 24px);
  margin:auto;
  padding:0;
  overflow:hidden;
  border:1px solid rgba(242,207,88,.55);
  border-radius:18px;
  background:#151e26;
  color:#edf3f6;
  box-shadow:0 22px 70px rgba(0,0,0,.58);
}
.install-help-dialog::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(3px)}
.install-help-content{
  box-sizing:border-box;
  position:relative;
  max-height:calc(100vh - 26px);
  max-height:calc(100dvh - 26px);
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:clamp(14px,3vh,24px) 24px calc(14px + env(safe-area-inset-bottom));
}
.install-help-close{position:absolute;top:10px;right:12px;width:38px;height:38px;border:0;border-radius:50%;background:#26343f;color:#fff;font-size:27px;line-height:1;cursor:pointer}
.install-help-eyebrow{margin:0 42px 7px 0;color:#f2cf58;font-size:10px;font-weight:800;letter-spacing:.13em}
.install-help-content h2{margin:0 38px 10px 0;color:#f2cf58;font-size:clamp(22px,5vw,29px);line-height:1.2}
.install-help-intro{margin:0 0 18px;color:#cbd5dc;font-size:14px;line-height:1.6}
.install-help-section{margin:13px 0;padding:15px 16px;border:1px solid #344450;border-radius:12px;background:#1b2832}
.install-help-section h3{margin:0 0 8px;color:#f2cf58;font-size:16px}
.install-help-section ol{margin:0;padding-left:21px;color:#e2e9ed;font-size:13px;line-height:1.65}
.install-help-section li+li{margin-top:4px}
.install-help-section strong{color:#fff}
.install-help-note{margin:9px 0 0;color:#b9c7d0;font-size:12px;line-height:1.5}
.native-install-button,.install-help-done{display:block;width:100%;min-height:44px;margin:12px 0 0;padding:10px 16px;border:1px solid #f2cf58;border-radius:9px;background:#f2cf58;color:#17212a;font:800 13px "Open Sans",Arial,sans-serif;cursor:pointer}
.install-help-done{margin-top:16px;background:transparent;color:#f2cf58}
.install-help-status{margin:8px 0 0;color:#f2cf58;font-size:12px;text-align:center}
@media(max-width:420px){
  .install-help-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);border-radius:14px}
  .install-help-content{max-height:calc(100vh - 22px);max-height:calc(100dvh - 22px);padding:15px 14px calc(12px + env(safe-area-inset-bottom))}
  .install-help-section{margin:9px 0;padding:10px}
  .install-help-section ol{font-size:12px;line-height:1.5}
  .install-help-intro{margin-bottom:10px;font-size:13px;line-height:1.45}
  .install-help-content h2{font-size:clamp(20px,5vw,25px);margin-bottom:8px}
}
@media(max-height:700px){
  .install-help-content{padding-top:12px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
  .install-help-eyebrow{margin-bottom:4px}
  .install-help-content h2{font-size:21px;line-height:1.15;margin-bottom:6px}
  .install-help-intro{margin-bottom:8px;font-size:12px;line-height:1.4}
  .install-help-section{margin:7px 0;padding:9px 11px}
  .install-help-section h3{font-size:14px;margin-bottom:5px}
  .install-help-section ol{font-size:11px;line-height:1.4}
  .install-help-note{font-size:11px;line-height:1.35;margin-top:5px}
  .native-install-button,.install-help-done{min-height:38px;margin-top:8px;padding:8px 12px}
}


/* Tunera PWA v0.1.37 — espacios reservados para publicidad */
.ad-banner,
.ad-midpoint,
.ad-midpoint-slot{
  box-sizing:border-box;
}
.ad-banner-top{
  width:100%;
  max-width:980px;
  margin:0 auto 34px;
  padding:0;
}
.ad-label{
  display:block;
  margin:0 0 5px;
  color:#87939a;
  font-size:9px;
  line-height:1.2;
  font-weight:600;
  letter-spacing:.12em;
  text-align:center;
}
.ad-reservation{
  box-sizing:border-box;
  border:1px dashed rgba(143,157,166,.42);
  border-radius:5px;
  background:rgba(128,145,155,.035);
}
.ad-reservation-top{
  width:100%;
  height:200px;
  min-height:200px;
}
.ad-midpoint{
  grid-column:1/-1!important;
  width:100%;
  margin:18px 0 22px;
  padding:0;
  align-self:stretch;
}
.ad-midpoint-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,300px));
  justify-content:center;
  align-items:start;
  gap:24px;
  width:100%;
}
.ad-midpoint-slot{
  display:block;
  width:100%;
  min-width:0;
}
.ad-reservation-square{
  width:100%;
  aspect-ratio:6/5;
  max-height:250px;
  min-height:0;
}
@media(max-width:700px){
  .ad-banner-top{
    width:100%;
    margin:0 auto 26px;
  }
  .ad-reservation-top{
    height:240px;
    min-height:240px;
  }
  .ad-midpoint{
    margin:14px 0 18px;
  }
  .ad-midpoint-grid{
    grid-template-columns:minmax(0,min(300px,100%));
    justify-content:center;
    gap:0;
  }
  .ad-midpoint-slot{
    width:100%;
    max-width:300px;
    margin:0 auto;
  }
  .ad-midpoint-slot:nth-child(n+2){
    display:none;
  }
}

/* Creatividades servidas por el gestor de campañas Tunera */
.ad-reservation-live{border:0;background:transparent;overflow:hidden}
.ad-live-link{display:flex;width:100%;height:100%;align-items:center;justify-content:center;text-decoration:none}
.ad-live-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border:0}
.ad-live-image-banner{object-fit:contain}
.ad-midpoint-slot-mobile{display:none}
@media(max-width:700px){
  .ad-midpoint-grid .ad-midpoint-slot:nth-child(-n+3){display:none}
  .ad-midpoint-grid .ad-midpoint-slot-mobile{display:block;width:100%;max-width:300px;margin:0 auto}
}


/* Tunera v0.1.39 — ocultar espacios sin creatividad y ajustar banner responsive */
.ad-banner-top[hidden],
.ad-midpoint[hidden],
.ad-midpoint-slot[hidden]{
  display:none!important;
}
.ad-banner-top{
  margin:0 auto 18px!important;
}
.ad-reservation-top{
  width:100%;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  border:0!important;
  background:transparent!important;
}
.ad-banner-top .ad-live-link{
  display:block;
  width:100%;
  height:auto!important;
}
.ad-banner-top .ad-live-image-banner{
  display:block;
  width:100%;
  height:auto!important;
  max-height:none!important;
  object-fit:contain;
}
@media(max-width:700px){
  .ad-banner-top{
    margin:0 auto 14px!important;
    padding:0!important;
  }
  .ad-banner-top .ad-label{
    margin-bottom:4px!important;
  }
  .ad-midpoint{
    margin:12px 0 14px!important;
    padding:0!important;
  }
  .ad-midpoint-grid{
    gap:0!important;
  }
  /* Si no hay creatividad para el formato móvil, no reservar hueco. */
  .ad-midpoint:not(:has(.ad-midpoint-slot-mobile:not([hidden]))){
    display:none!important;
  }
}
@media(min-width:701px){
  /* Si no hay creatividad de escritorio, no reservar hueco. */
  .ad-midpoint:not(:has(.ad-midpoint-slot:not(.ad-midpoint-slot-mobile):not([hidden]))){
    display:none!important;
  }
}


/* Tunera v0.1.40 — ajustes de interacción y alineación de cabecera */
.back-to-top:hover,
.back-to-top:focus-visible,
.back-to-top:active {
  border-color:#fff!important;
  color:#fff!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:none!important;
}
.bottom-nav a:hover,
.bottom-nav a:focus-visible,
.bottom-nav a:active {
  color:#f2cf58!important;
}
.bottom-nav a:hover svg,
.bottom-nav a:focus-visible svg,
.bottom-nav a:active svg {
  stroke:currentColor!important;
}

/* Cabecera de escritorio: marca centrada respecto al menú de categorías. */
@media(min-width:701px){
  .site-header{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
  }
  .site-header .brand{
    align-self:center!important;
    justify-content:center!important;
    margin-inline:auto!important;
  }
  .site-header .brand-logo{
    object-position:center!important;
  }
  .site-header .header-category-nav{
    align-self:center!important;
    justify-content:center!important;
    margin-inline:auto!important;
  }
}

/* Cabecera móvil: filtros, marca y categorías permanecen en una línea. */
@media(max-width:700px){
  .site-header{
    display:grid!important;
    grid-template-columns:40px minmax(132px, 1fr) minmax(0, 1.45fr)!important;
    grid-template-rows:1fr!important;
    align-items:center!important;
    justify-content:stretch!important;
    column-gap:7px!important;
    row-gap:0!important;
    min-height:76px!important;
    height:auto!important;
    padding:8px 9px!important;
  }
  .site-header .mobile-filter-toggle{
    grid-column:1!important;
    grid-row:1!important;
    justify-self:start!important;
    width:40px!important;
    height:40px!important;
  }
  .site-header .brand{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:center!important;
    align-self:center!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
  .site-header .brand-picture{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
  }
  .site-header .brand-logo{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:66px!important;
    object-fit:contain!important;
    object-position:center!important;
  }
  .site-header .header-category-nav{
    grid-column:3!important;
    grid-row:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    gap:3px!important;
    margin:0!important;
    padding:3px 0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch;
  }
  .site-header .header-category-nav::-webkit-scrollbar{display:none!important}
  .site-header .header-category-button{
    flex:0 0 auto!important;
    padding:7px 5px!important;
    font-size:clamp(7px,2vw,9px)!important;
    line-height:1.1!important;
    white-space:nowrap!important;
  }
}
@media(max-width:380px){
  .site-header{
    grid-template-columns:36px minmax(116px,1fr) minmax(0,1.4fr)!important;
    column-gap:5px!important;
    padding-left:7px!important;
    padding-right:7px!important;
  }
  .site-header .mobile-filter-toggle{width:32px!important;height:32px!important}
  .site-header .brand-logo{max-height:58px!important}
  .site-header .header-category-button{padding-left:4px!important;padding-right:4px!important;font-size:7px!important}
}

/* Botón de retorno en páginas informativas */
.info-back{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  margin:0 0 22px!important;
  padding:8px 15px!important;
  border:1px solid #f2cf58!important;
  border-radius:9px!important;
  background:rgba(242,207,88,.08)!important;
  color:#f2cf58!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-decoration:none!important;
  transition:color .16s ease,border-color .16s ease,background .16s ease!important;
  -webkit-tap-highlight-color:transparent;
}
.info-back:hover,
.info-back:focus-visible,
.info-back:active{
  color:#fff!important;
  border-color:#fff!important;
  background:rgba(255,255,255,.08)!important;
  outline:none!important;
}

/* Tunera v0.1.45 - fondo corporativo global */
html{
  min-height:100%;
  background:#160d1d url('/assets/SliderDiapo_3.jpg') center top / cover fixed no-repeat;
}
body{
  min-height:100vh;
  background:transparent!important;
}
@media(max-width:760px){
  html{background-attachment:scroll;background-position:center top;background-size:auto 100vh}
}


/* Corrección solicitada: fondo azul a pantalla completa y seis elementos
   con el ancho exacto del menú superior de categorías, solo en escritorio. */
@media (min-width:701px){
  .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    width:100%!important;
    left:0!important;
    right:0!important;
    box-sizing:border-box!important;
    padding-left:max(0px,calc((100vw - var(--tunera-directory-width, 0px))/2))!important;
    padding-right:max(0px,calc((100vw - var(--tunera-directory-width, 0px))/2))!important;
    background:#102a43!important;
  }
  .bottom-nav>a,
  .bottom-nav>button{
    min-width:0!important;
    width:100%!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
}


/* Tunera v0.1.47 — fondo uniforme y claro para la fila de tres anuncios del reproductor */
.ad-midpoint,
.ad-midpoint-grid,
.ad-midpoint-slot,
.ad-midpoint .ad-reservation{
  background-color:#f2f5f6!important;
}
.ad-midpoint .ad-reservation{border-color:rgba(143,157,166,.32)!important}
/* Contactos alineados con el enlace de la web oficial en la ficha del reproductor */
.station-links-row .station-contacts{
  display:flex;flex:0 1 auto;align-items:center;gap:8px 16px;
  margin:0!important;padding:0!important;border:0!important;
  background:transparent!important;min-width:0;
}
.station-links-row .contact-link{font-size:12px;line-height:1.35;white-space:normal}
@media(max-width:700px){
  .station-links-row{flex-wrap:wrap;align-items:flex-start}
  .station-links-row .station-contacts{flex:1 1 100%;order:2}
  .station-links-row .station-website{flex:1 1 100%;order:1}
  .station-links-row .station-social{order:3}
}

.station-links-row .station-contacts[hidden]{display:none!important}


/* TUNERA 0.1.65 — ajustes visuales conservados sobre el código de producción */
:root{--tunera-blue:#102a43;--tunera-white:#fff;--tunera-yellow:#f2cf58}
.bottom-nav{
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
 align-items:stretch!important;justify-content:stretch!important;gap:0!important;
 width:100%!important;box-sizing:border-box!important;
 background:var(--tunera-blue)!important;border:0!important;border-radius:0!important;
 padding:7px max(6px,calc((100vw - 1180px)/2)) calc(7px + env(safe-area-inset-bottom))!important;
}
.bottom-nav>a,.bottom-nav>button{
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 width:100%!important;min-width:0!important;max-width:none!important;min-height:58px!important;
 margin:0!important;padding:5px 2px!important;gap:4px!important;box-sizing:border-box!important;
 color:var(--tunera-white)!important;background:transparent!important;border:0!important;border-radius:0!important;
 font:700 9px/1.15 "Open Sans",Arial,sans-serif!important;text-align:center!important;text-decoration:none!important;
}
.bottom-nav>a span,.bottom-nav>button span{color:inherit!important}
.bottom-nav>a svg,.bottom-nav>button svg{width:21px!important;height:21px!important;flex:0 0 auto!important;stroke:currentColor!important}
.bottom-nav>a:hover,.bottom-nav>button:hover,.bottom-nav>a:focus-visible,.bottom-nav>button:focus-visible,.bottom-nav>a:active,.bottom-nav>button:active{
 color:var(--tunera-yellow)!important;background:rgba(255,255,255,.055)!important;outline-color:var(--tunera-yellow)!important
}
.bottom-nav>a:hover span,.bottom-nav>button:hover span,.bottom-nav>a:active span,.bottom-nav>button:active span{color:var(--tunera-yellow)!important}
.bottom-nav>a:hover svg,.bottom-nav>button:hover svg,.bottom-nav>a:active svg,.bottom-nav>button:active svg{stroke:var(--tunera-yellow)!important}
@media(max-width:760px){
 .bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))!important;padding-left:3px!important;padding-right:3px!important}
 .bottom-nav>a,.bottom-nav>button{font-size:clamp(6px,1.8vw,9px)!important;padding-left:1px!important;padding-right:1px!important}
 .bottom-nav>a svg,.bottom-nav>button svg{width:19px!important;height:19px!important}
}
/* Azul uniforme en los tres espacios publicitarios intercalados en el directorio. */
.ad-midpoint,.ad-midpoint-grid,.ad-midpoint-slot,.ad-reservation-square,
.home-ad-row,.home-ad-grid,.home-ad-slot,.home-ad-reservation,
.player-ad-row,.player-ad-grid,.player-ad-slot,.player-ad-reservation{
 background-color:var(--tunera-blue)!important;
}
.ad-midpoint,.home-ad-row,.player-ad-row{box-sizing:border-box!important;padding:12px!important;border:0!important;border-radius:8px!important}
.ad-midpoint>.ad-label,.home-ad-row>.ad-label,.player-ad-row>.ad-label{color:#fff!important}
.ad-midpoint-grid,.home-ad-grid,.player-ad-grid{gap:12px!important}
.ad-midpoint-slot,.home-ad-slot,.player-ad-slot{border:1px solid rgba(255,255,255,.16)!important;border-radius:6px!important;overflow:hidden!important}
.ad-reservation-square,.home-ad-reservation,.player-ad-reservation{border:1px solid rgba(255,255,255,.18)!important;border-radius:6px!important}
@media(max-width:760px){.home-ad-grid,.ad-midpoint-grid,.player-ad-grid{grid-template-columns:minmax(0,1fr)!important}}


/* TUNERA v0.1.66 — separación del pie, cabecera y anuncios del reproductor */

/* Más aire entre el texto institucional final y la franja legal negra. */
.info-tagline{
  display:block!important;
  margin:12px auto 42px!important;
  padding-bottom:0!important;
}
body>main:has(.info-tagline){
  padding-bottom:24px!important;
}
@media(max-width:700px){
  .info-tagline{margin-bottom:32px!important}
  body>main:has(.info-tagline){padding-bottom:18px!important}
}

/* Escritorio: logotipo un 10% más ancho que el menú superior;
   los dos siguen centrados en el mismo eje. */
@media(min-width:701px){
  .site-header{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .site-header .brand{
    width:var(--tunera-header-menu-width, max-content)!important;
    align-self:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .site-header .brand-picture,
  .site-header .brand-logo{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    object-fit:contain!important;
    object-position:center!important;
  }
  .site-header .header-category-nav{
    align-self:center!important;
    justify-content:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

/* La fila de tres anuncios del reproductor usa azul marino,
   algo más oscuro que la superficie general del reproductor. */
.ad-midpoint{
  background:#091b2a!important;
}
.ad-midpoint .ad-midpoint-grid,
.ad-midpoint .ad-midpoint-slot,
.ad-midpoint .ad-reservation-square{
  background:#091b2a!important;
}
.ad-midpoint .ad-midpoint-slot{
  border-color:rgba(255,255,255,.16)!important;
}


/* TUNERA v0.1.67 — mostrar las campañas player_unique_1/2/3 dentro del reproductor */
.player-ad-row{
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:18px 0 4px!important;
  padding:12px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:9px!important;
  background:#091b2a!important;
}
.player-ad-row[hidden]{display:none!important}
.player-ad-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:12px!important;
}
.player-ad-slot{
  min-width:0!important;
  padding:7px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:6px!important;
  background:#091b2a!important;
  text-align:center!important;
}
.player-ad-slot[hidden]{display:none!important}
.player-ad-slot .ad-label{
  display:block!important;
  margin:0 0 6px!important;
  color:#cbd9e5!important;
  font-size:9px!important;
  letter-spacing:.12em!important;
  text-align:center!important;
}
.player-ad-reservation{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:72px!important;
  overflow:hidden!important;
  background:#091b2a!important;
}
.player-ad-reservation .ad-live-link{
  display:block!important;
  width:100%!important;
  line-height:0!important;
}
.player-ad-reservation .ad-live-image-player{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  max-height:150px!important;
  object-fit:contain!important;
  margin:0 auto!important;
}
@media(max-width:700px){
  .player-ad-row{margin:14px 0 4px!important;padding:9px!important}
  .player-ad-grid{grid-template-columns:1fr!important;gap:8px!important}
  .player-ad-reservation{min-height:54px!important}
  .player-ad-reservation .ad-live-image-player{max-height:120px!important}
}


/* TUNERA v0.1.68 — fila publicitaria sin marcos y con un único rótulo */
.player-ad-row{
  background:#091b2a!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:10px 0 0!important;
}
.player-ad-row .player-ad-heading{
  display:block!important;
  width:100%!important;
  margin:0 0 9px!important;
  padding:0!important;
  color:#dce8f2!important;
  font-size:9px!important;
  font-weight:700!important;
  letter-spacing:.14em!important;
  line-height:1.2!important;
  text-align:center!important;
}
.player-ad-grid,
.player-ad-slot,
.player-ad-reservation,
.player-ad-slot .ad-reservation{
  background:#091b2a!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}
.player-ad-grid{
  gap:0!important;
}
.player-ad-slot{
  padding:0 8px!important;
}
.player-ad-reservation{
  min-height:72px!important;
  padding:0!important;
}
@media(max-width:700px){
  .player-ad-row{padding:9px 0 0!important}
  .player-ad-heading{margin-bottom:7px!important}
  .player-ad-grid{gap:0!important}
  .player-ad-slot{padding:0 6px!important}
}


/* TUNERA v0.1.69 — mismo espacio inferior que superior en la fila publicitaria */
.player-ad-row{
  padding:10px 0!important;
}
@media(max-width:700px){
  .player-ad-row{
    padding:9px 0!important;
  }
}


/* TUNERA v0.1.70 — anuncios responsive, ocupan el ancho disponible con márgenes y separación */
.player-ad-row{
  box-sizing:border-box!important;
  width:100%!important;
  padding:12px clamp(12px,1.6vw,22px)!important;
  background:#091b2a!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.player-ad-row .player-ad-heading{
  margin:0 0 clamp(10px,1.2vw,16px)!important;
  text-align:center!important;
}
.player-ad-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:clamp(10px,1.4vw,20px)!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.player-ad-slot{
  display:flex!important;
  align-items:stretch!important;
  justify-content:center!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:#091b2a!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.player-ad-reservation{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:clamp(110px,14vw,220px)!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#091b2a!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.player-ad-reservation .ad-live-link{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
}
.player-ad-reservation .ad-live-image-player{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:clamp(110px,18vw,260px)!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center!important;
}
@media(max-width:900px) and (min-width:701px){
  .player-ad-grid{gap:12px!important}
  .player-ad-row{padding:12px!important}
  .player-ad-reservation{min-height:130px!important}
  .player-ad-reservation .ad-live-image-player{max-height:190px!important}
}
@media(max-width:700px){
  .player-ad-row{padding:10px 12px!important}
  .player-ad-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
  }
  .player-ad-slot{width:100%!important}
  .player-ad-reservation{
    min-height:72px!important;
    width:100%!important;
  }
  .player-ad-reservation .ad-live-image-player{
    width:100%!important;
    max-height:180px!important;
  }
}


/* TUNERA v0.1.71 — margen inferior de anuncios igual al superior */
.player-ad-row{
  padding-top:12px!important;
  padding-bottom:12px!important;
}
@media(max-width:900px) and (min-width:701px){
  .player-ad-row{padding-top:12px!important;padding-bottom:12px!important}
}
@media(max-width:700px){
  .player-ad-row{padding-top:10px!important;padding-bottom:10px!important}
}


/* TUNERA v0.1.72 — ajustes solicitados */
@media(max-width:700px){
  #play-button{
    position:relative!important;
    width:48px!important;
    min-width:48px!important;
    height:46px!important;
    min-height:46px!important;
    padding:0!important;
    overflow:hidden!important;
    color:transparent!important;
    font-size:0!important;
    line-height:0!important;
  }
  #play-button::before{
    content:"▶";
    display:block;
    color:#fff!important;
    font-family:Arial,sans-serif!important;
    font-size:23px!important;
    font-weight:700!important;
    line-height:1!important;
    text-align:center!important;
  }
  #play-button:disabled::before{color:rgba(255,255,255,.55)!important}
}
/* En PC se añaden 10 px al margen inferior de la fila de anuncios:
   22 px inferior frente a 12 px superior. */
@media(min-width:701px){
  .player-ad-row{padding-top:12px!important;padding-bottom:22px!important}
}


/* TUNERA v0.1.74 — gestor de cookies como modal real, nunca como contenido al final */
#tunera-cookie-consent{
  position:relative!important;
  z-index:2147483000!important;
}
#tunera-cookie-consent .tc-overlay{
  position:fixed!important;
  inset:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  padding:20px!important;
  overflow-y:auto!important;
  background:rgba(3,10,18,.78)!important;
  backdrop-filter:blur(5px)!important;
  -webkit-backdrop-filter:blur(5px)!important;
  z-index:2147483000!important;
}
#tunera-cookie-consent .tc-overlay[hidden]{
  display:none!important;
}
#tunera-cookie-consent .tc-dialog{
  position:relative!important;
  display:block!important;
  width:min(100%,560px)!important;
  max-height:calc(100vh - 40px)!important;
  max-height:calc(100dvh - 40px)!important;
  overflow-y:auto!important;
  box-sizing:border-box!important;
  margin:auto!important;
  padding:24px!important;
  color:#f4f7fb!important;
  background:#102a3a!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:14px!important;
  box-shadow:0 22px 70px rgba(0,0,0,.55)!important;
  font:14px/1.5 "Open Sans",Arial,sans-serif!important;
}
#tunera-cookie-consent .tc-heading h2{
  margin:0 0 5px!important;
  color:#fff!important;
  font-size:23px!important;
}
#tunera-cookie-consent .tc-brand{display:block!important;color:#19c3e6!important;font-weight:700!important}
#tunera-cookie-consent .tc-content p{margin:12px 0!important;color:#e1eaf2!important}
#tunera-cookie-consent .tc-settings{display:grid!important;gap:12px!important;margin:18px 0!important}
#tunera-cookie-consent .tc-category{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;
  padding:12px!important;background:#1d3544!important;border-radius:8px!important
}
#tunera-cookie-consent .tc-category strong{display:block!important;color:#fff!important}
#tunera-cookie-consent .tc-category small{display:block!important;color:#c7d5df!important}
#tunera-cookie-consent .tc-category input{flex:0 0 auto!important;width:18px!important;height:18px!important}
#tunera-cookie-consent .tc-actions{display:flex!important;flex-wrap:wrap!important;gap:9px!important;margin:18px 0 8px!important}
#tunera-cookie-consent .tc-btn{
  min-height:40px!important;padding:9px 14px!important;border:0!important;border-radius:7px!important;
  font:700 13px "Open Sans",Arial,sans-serif!important;cursor:pointer!important
}
#tunera-cookie-consent .tc-primary{background:#08b8dc!important;color:#06212b!important}
#tunera-cookie-consent .tc-secondary{background:#334b5b!important;color:#fff!important}
#tunera-cookie-consent .tc-tertiary{background:transparent!important;color:#fff!important;border:1px solid #668092!important}
#tunera-cookie-consent .tc-links{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;margin-top:16px!important}
#tunera-cookie-consent .tc-links a{color:#8fe7f7!important;text-decoration:underline!important}
body.tunera-consent-open{overflow:hidden!important}
@media(max-width:600px){
  #tunera-cookie-consent .tc-overlay{padding:12px!important}
  #tunera-cookie-consent .tc-dialog{padding:18px!important;max-height:calc(100dvh - 24px)!important}
  #tunera-cookie-consent .tc-heading h2{font-size:20px!important}
  #tunera-cookie-consent .tc-actions{flex-direction:column!important}
  #tunera-cookie-consent .tc-btn{width:100%!important}
}


/* Tunera: control de volumen del reproductor */
.volume-control{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:0 10px;
  border:1px solid #40515e;
  border-radius:9px;
  background:#202d36;
  color:#edf3f6;
}
.volume-mute{
  width:30px;
  height:32px;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font-size:17px;
  cursor:pointer;
}
.volume-control input[type="range"]{
  width:clamp(85px,12vw,145px);
  accent-color:var(--tunera-cyan,#02B7E2);
  cursor:pointer;
}
.volume-control output{
  min-width:35px;
  color:#d4e0e5;
  font-size:11px;
  font-weight:700;
  text-align:right;
}
.volume-control button:focus-visible,
.volume-control input:focus-visible{
  outline:2px solid var(--tunera-cyan,#02B7E2);
  outline-offset:3px;
}
@media(max-width:560px){
  .player-controls{gap:9px}
  .volume-control{
    order:3;
    flex:1 1 170px;
    max-width:230px;
  }
  .volume-control input[type="range"]{
    width:100%;
    min-width:60px;
  }
  .player-controls .player-state{
    order:4;
    flex:1 1 auto;
  }
}


/* Historial de las cinco canciones más recientes */
.now-playing{display:block;grid-template-columns:minmax(0,1fr);min-height:0;padding:20px 24px}
.recent-tracks{width:100%;min-width:0}
.recent-tracks .track-kicker{margin:0 0 12px;color:var(--tunera-cyan);font-size:12px;font-weight:800;letter-spacing:.08em}
.recent-tracks-list{display:flex;flex-direction:column;gap:0;margin:0;padding:0;list-style:none}
.recent-track{padding:9px 0;border-top:1px solid rgba(145,165,175,.18);color:#e5edf1;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.recent-track:first-child{border-top:0;color:#fff;font-weight:700}
.recent-track-empty{padding:8px 0;color:#91a5af;font-size:13px}
@media(max-width:760px){.now-playing{padding:16px}.recent-track{font-size:13px;padding:9px 0}}
@media(max-width:700px){
  #play-button{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    color:transparent!important;
  }
}


/* v0.1.83: velo ajustado al logotipo y popup en toda la tarjeta */
#stations .station-card.has-no-stream .station-logo{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate;
  border:0!important;
  background:transparent!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
#stations .station-card.has-no-stream .station-logo-img{
  border-radius:11px!important;
  box-shadow:none!important;
}
#stations .station-card.has-no-stream .station-logo::after{
  content:none!important;
  display:none!important;
}
#stations .station-card.has-no-stream{position:relative}
#stations .station-card.has-no-stream::after{
  content:attr(data-no-stream-message);
  position:absolute;
  left:50%;
  top:10px;
  transform:translate(-50%,-6px);
  z-index:30;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:5px;
  background:#000;
  color:#fff;
  font-size:11px;
  font-weight:600;
  line-height:1.25;
  white-space:nowrap;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .12s ease,transform .12s ease,visibility .12s ease;
}
#stations .station-card.has-no-stream:hover::after,
#stations .station-card.has-no-stream:focus-visible::after{
  opacity:1;visibility:visible;transform:translate(-50%,0);
}

/* Tunera SEO v0.1.91 — Generalista visible label + compact single-row mobile header */
@media(max-width:700px){
  .site-header{
    grid-template-columns:34px 96px minmax(0,1fr)!important;
    gap:5px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  .site-header .brand{width:96px!important}
  .site-header .header-category-nav{
    justify-content:flex-start!important;
    gap:1px!important;
    overflow-x:hidden!important;
  }
  .site-header .header-category-button{
    flex:0 1 auto!important;
    min-width:0!important;
    padding:6px 2px!important;
    font-size:7.2px!important;
    letter-spacing:0!important;
  }
}
@media(max-width:380px){
  .site-header{grid-template-columns:32px 84px minmax(0,1fr)!important;gap:4px!important;padding-left:6px!important;padding-right:6px!important}
  .site-header .brand{width:84px!important}
  .site-header .header-category-button{font-size:6.8px!important;padding-left:1px!important;padding-right:1px!important}
}

/* Tunera v0.1.93 — remove 40% logo veil; darken only La Candela and SOSRadio */
#stations .station-card[data-station-slug="la-candela"] .station-logo-img,
#stations .station-card[data-station-slug="sosradio"] .station-logo-img{
  filter:brightness(.68) contrast(1.05)!important;
}
#stations .station-card.has-no-stream .station-logo::after{
  content:none!important;
  display:none!important;
}

/* Tunera v0.1.94 — hard override: no dimming veil on logos of stations without stream */
#stations .station-card.has-no-stream .station-logo,
#stations .station-card.has-no-stream .station-logo-img,
#stations .station-card.has-no-stream .station-logo img {
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
}
#stations .station-card.has-no-stream .station-logo::before,
#stations .station-card.has-no-stream .station-logo::after,
#stations .station-card.has-no-stream .station-logo-img::before,
#stations .station-card.has-no-stream .station-logo-img::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  opacity: 0 !important;
}
#stations .station-card.has-no-stream .station-logo {
  background: transparent !important;
  box-shadow: none !important;
}
/* Tunera — recuperar imagen de cabecera en escritorio */
@media (min-width: 701px) {
  .site-header {
    background-color: #102a43 !important;
    background-image: url('/assets/brand/cab_bckground.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
  }
}
