/*
Theme Name: Emisoras El Salvador
Theme URI: https://emisoraselsalvador.com/
Author: Radio Manager
Description: Tema inicial para la portada de emisoras sincronizadas por Radio Connector.
Version: 0.9.12
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: emisoras-sv
*/
:root{--bg:#222;--card:#303030;--border:#414141;--blue:#29b6f6;--text:#f5f5f5;--muted:#b7c0c7}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,Segoe UI,Arial,sans-serif;min-height:100vh;display:flex;flex-direction:column}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.site-header{background:#0d0d0d;border-bottom:1px solid #343434}.wrap{max-width:1160px;width:calc(100% - 36px);margin:auto}.header-inner{display:flex;align-items:center;gap:22px;min-height:72px}.brand{font-weight:800;font-size:22px;letter-spacing:-.6px;white-space:nowrap}.brand span{color:var(--blue)}.main-nav{display:flex;gap:22px;margin-left:auto;font-size:14px}.search-toggle{border:0;background:transparent;color:#fff;padding:10px;font-size:20px}.searchbar{padding:0 0 14px;display:none}.searchbar.active{display:block}.searchbar input{width:100%;padding:11px 14px;border-radius:7px;border:1px solid #666;background:#262626;color:white}.site-main{flex:1;padding:28px 0 65px}.page-title{font-size:clamp(24px,3vw,34px);line-height:1.2;margin:0 0 8px}.intro{color:var(--muted);margin:0 0 22px}.player{display:grid;grid-template-columns:140px minmax(0,1fr);gap:24px;align-items:center;padding:25px;background:#2d2d2d;border:1px solid #454545;border-radius:14px;margin:0 0 28px}.player-art{height:140px;width:140px;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:12px}.player-art img{width:100%;height:100%;object-fit:contain}.placeholder{color:#555;font-size:48px}.player-details{min-width:0}.player-kicker{color:var(--blue);font-size:12px;text-transform:uppercase;font-weight:700;letter-spacing:1px}.player h2{font-size:25px;margin:5px 0 4px;line-height:1.25}.player-sub{color:var(--muted);font-size:14px;margin:0 0 14px}.controls{display:flex;gap:13px;align-items:center;flex-wrap:wrap}.play-btn{background:var(--blue);color:#0b1b23;border:0;border-radius:999px;min-width:116px;padding:11px 19px;font-weight:750}.play-btn:disabled{opacity:.5;cursor:not-allowed}.vol{width:115px;accent-color:var(--blue)}.status{font-size:13px;color:#b7c0c7}.more{color:var(--blue);font-size:14px;margin-left:auto}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:26px 0 16px}.section-heading h2{font-size:21px;margin:0}.section-heading a{color:var(--blue);font-size:14px}.station-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.station-tile{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#303030;border:1px solid #424242;border-radius:10px;padding:13px;transition:border-color .15s,transform .15s;overflow:hidden}.station-tile:hover,.station-tile.active{border-color:var(--blue);transform:translateY(-1px)}.station-tile img{width:100%;height:100%;object-fit:contain}.station-fallback{font-weight:750;text-align:center;font-size:13px;color:#ddd}.content-block{background:#2c2c2c;border:1px solid #444;border-radius:10px;padding:22px;margin-top:30px}.content-block h2{margin-top:0}.empty{border:1px dashed #666;border-radius:10px;padding:28px;color:var(--muted)}.site-footer{margin-top:auto;background:#111;border-top:1px solid #343434;color:#aaa;padding:22px 0;font-size:13px}.footer-inner{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.footer-inner a{margin-left:15px}.mobile-player{display:none}.single-back{color:var(--blue);display:inline-block;margin-bottom:15px}.details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.details div{padding:13px;background:#333;border-radius:7px}.details small{display:block;color:#aaa}.detail-player{margin-bottom:20px}@media(max-width:850px){.station-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.main-nav{gap:12px}.brand{font-size:19px}}@media(max-width:600px){.header-inner{min-height:61px}.main-nav{display:none}.site-main{padding:20px 0 100px}.player{grid-template-columns:90px minmax(0,1fr);padding:14px;gap:13px}.player-art{width:90px;height:90px;padding:7px}.player h2{font-size:19px}.controls{gap:9px}.vol{width:90px}.more{margin-left:0}.station-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.station-tile{padding:8px}.details{grid-template-columns:1fr}.mobile-player{display:flex;position:fixed;bottom:0;left:0;right:0;background:#111;border-top:1px solid #555;padding:8px 16px;align-items:center;gap:10px;z-index:50}.mobile-player .mini-name{flex:1;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-player button{border:0;background:var(--blue);border-radius:8px;padding:7px 14px;font-weight:700}.footer-inner a{margin-left:0;margin-right:12px}}

/* v0.2: thumbnails preserve the original station logo proportions. */
.station-tile{position:relative;isolation:isolate;padding:14px;background:#fff;border:1px solid #4c4c4c;box-shadow:0 1px 3px rgba(0,0,0,.15)}
.station-tile img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;flex:0 0 auto}
.station-tile:hover,.station-tile.active{border-color:#29b6f6;box-shadow:0 0 0 2px rgba(41,182,246,.25)}
.station-fallback{color:#242424}
.player-art{background:#fff;overflow:hidden}
.player-art img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
@media(max-width:600px){.station-tile{padding:9px}}

.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* v0.5: full-width layout, inline ad placements, SEO copy and four-column footer */
.esv-ad{margin:22px auto 28px;max-width:100%;text-align:center;overflow:hidden;min-height:0}.esv-ad-desktop{display:block}.esv-ad-mobile{display:none}
.esv-explore{margin:32px 0}.esv-explore h2{font-size:23px;margin:0 0 14px}.esv-explore-links{display:flex;flex-wrap:wrap;gap:10px}.esv-explore-links a{display:inline-block;background:#343434;border:1px solid #515151;border-radius:7px;padding:9px 14px;color:#eee}.esv-explore-links a:hover{border-color:var(--blue);color:var(--blue)}
.esv-seo{max-width:970px;margin:36px 0 20px}.esv-seo h2{font-size:25px;margin:0 0 13px}.esv-seo h3{font-size:19px;margin:22px 0 8px}.esv-seo p{color:#c6cbd0;margin:0 0 14px}.esv-seo a{color:var(--blue)}
.site-footer{padding:34px 0 16px}.esv-footer-cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:28px}.esv-footer-cols strong{color:#fff;font-size:14px;display:block;margin-bottom:12px}.esv-footer-cols .esv-footer-brand{font-size:19px}.esv-footer-brand span{color:var(--blue)}.esv-footer-cols a{display:block;margin:8px 0;color:#b9c6ce}.esv-footer-cols p{max-width:350px;color:#b9c6ce;margin:0}.esv-footer-bottom{border-top:1px solid #333;margin-top:24px;padding-top:15px;color:#a3adb4}
@media(max-width:700px){.esv-ad-desktop{display:none}.esv-ad-mobile{display:block}.esv-footer-cols{grid-template-columns:1fr 1fr;gap:22px}.esv-footer-cols>div:first-child{grid-column:1/-1}.esv-seo h2{font-size:22px}}

/* v0.5.1: navigation and clearly marked ad previews */
.main-nav{gap:12px;font-size:12px;white-space:nowrap}.main-nav a{padding:8px 0}.mobile-nav{display:none}.esv-ad-demo{min-height:118px;border:1px dashed #687580;border-radius:10px;background:repeating-linear-gradient(135deg,#292e33,#292e33 14px,#30363b 14px,#30363b 28px);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:18px;color:#e2e7ec}.esv-ad-demo strong{font-size:18px}.esv-ad-demo small{color:#b4c0c9}.esv-demo-label{font-size:11px;letter-spacing:1.5px;color:#29b6f6;font-weight:800}.esv-ad-top{margin-top:0}.esv-seo{margin-top:30px}
@media(max-width:1050px){.main-nav{gap:8px;font-size:11px}.brand{font-size:18px}}
@media(max-width:850px){.main-nav{display:none}.mobile-nav{display:block;margin-left:auto;position:relative}.mobile-nav summary{cursor:pointer;list-style:none;border:1px solid #444;border-radius:7px;padding:7px 11px;font-size:13px}.mobile-nav-links{position:absolute;right:0;top:100%;min-width:195px;background:#171717;border:1px solid #444;border-radius:8px;z-index:80;padding:7px;box-shadow:0 10px 25px #0008}.mobile-nav-links a{display:block;padding:9px 11px;border-radius:5px}.mobile-nav-links a:hover{background:#303030}}
@media(max-width:600px){.esv-ad-demo{min-height:95px}.esv-ad-demo strong{font-size:15px}.brand{font-size:18px}}

/* v0.6: aligned search directory with a fixed-width left sidebar on desktop */
.esv-directory-heading{margin-bottom:24px}.esv-directory-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}.esv-filters,.esv-directory-results{min-width:0}.esv-filter-panel{background:#303030;border:1px solid #484848;border-radius:12px;overflow:hidden}.esv-filter-panel summary{font-size:17px;font-weight:700;padding:17px 18px;list-style:none;display:flex;align-items:center;justify-content:space-between}.esv-filter-panel summary::-webkit-details-marker{display:none}.esv-filter-chevron{display:none}.esv-filter-form{display:flex;flex-direction:column;gap:8px;padding:0 18px 20px}.esv-filter-form label{font-size:13px;color:#d1d7dc;font-weight:600;margin-top:10px}.esv-filter-form input,.esv-filter-form select{width:100%;height:43px;min-width:0;border:1px solid #626262;border-radius:7px;padding:0 11px;background:#252525;color:#fff;font:inherit;font-size:14px}.esv-filter-submit{height:43px;margin-top:16px;border:0;border-radius:7px;background:#29b6f6;color:#0b1b23;font-weight:750}.esv-clear-filters{text-align:center;font-size:13px;color:#b9c9d2;padding:5px}.esv-results-header{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.esv-results-header h2{font-size:20px;line-height:1.3;margin:0}.esv-results-header span{font-size:13px;color:#c3c9ce;white-space:nowrap}.esv-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.esv-results-grid .station-tile{width:100%;min-width:0;aspect-ratio:1/1}.esv-directory-results .esv-ad{margin:26px 0}.esv-pagination{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:26px 0}.esv-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:39px;min-height:39px;padding:8px 12px;border-radius:7px;background:#363636;border:1px solid #555;font-size:14px}.esv-pagination a[aria-current=page]{background:#29b6f6;color:#10202a;font-weight:800;border-color:#29b6f6}
@media(max-width:850px){.esv-directory-layout{grid-template-columns:225px minmax(0,1fr);gap:16px}.esv-results-grid{gap:11px}.esv-results-header{align-items:flex-start;flex-direction:column;gap:3px}}
@media(max-width:650px){.esv-directory-layout{display:block}.esv-filters{margin-bottom:20px}.esv-filter-panel summary{cursor:pointer;padding:13px 15px}.esv-filter-chevron{display:inline}.esv-filter-panel:not([open]) .esv-filter-form{display:none}.esv-filter-form{padding:0 15px 15px}.esv-results-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.esv-results-header{flex-direction:row;align-items:center;gap:8px}.esv-results-header h2{font-size:17px}.esv-results-header span{font-size:11px;white-space:normal;text-align:right}}

/* v0.6.1: consistent filter/result alignment and automatic filters */
.esv-directory-layout{align-items:start}
.esv-filter-panel summary,.esv-results-header{min-height:56px;box-sizing:border-box}
.esv-results-header{padding:0 2px;margin-bottom:12px}
.esv-filter-submit.esv-sr-only{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}
.esv-directory-results[aria-busy="true"]{opacity:.65;transition:opacity .15s}
@media(max-width:650px){.esv-filter-panel summary,.esv-results-header{min-height:48px}}

/* v0.6.2: encabezado alineado y publicidad sin duplicaciones en directorios */
.esv-directory-layout{align-items:start}
.esv-results-header{height:auto;min-height:56px;box-sizing:border-box;background:#303030;border:1px solid #484848;border-radius:12px;padding:0 18px;margin:0 0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.esv-results-header h2{margin:0;line-height:1.3}
.esv-results-grid{align-items:start}
@media(max-width:850px) and (min-width:651px){.esv-results-header{flex-direction:row;align-items:center;flex-wrap:wrap;padding:10px 14px}.esv-results-header span{white-space:normal}}
@media(max-width:650px){.esv-results-header{min-height:48px;padding:10px 12px;margin-bottom:12px}.esv-results-header h2{font-size:17px}}

/* v0.6.3: five consistent logo cards per row on desktop search/directory pages. */
@media (min-width:1051px){
  .esv-directory-layout{grid-template-columns:220px minmax(0,1fr);gap:20px}
  .esv-results-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
  .esv-results-grid .station-tile{padding:10px}
}
@media (min-width:851px) and (max-width:1050px){
  .esv-directory-layout{grid-template-columns:205px minmax(0,1fr);gap:16px}
  .esv-results-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
}
@media (min-width:651px) and (max-width:850px){
  .esv-results-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
}
@media (max-width:650px){
  .esv-results-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}

/* v0.6.4: stronger directory grid rules; fresh stylesheet version bypasses browser/CDN caches. */
@media (min-width:1100px){
  body .esv-directory-layout{grid-template-columns:220px minmax(0,1fr)}
  body .esv-directory-results .esv-results-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
}
@media (min-width:851px) and (max-width:1099px){
  body .esv-directory-results .esv-results-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (min-width:651px) and (max-width:850px){
  body .esv-directory-results .esv-results-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:650px){
  body .esv-directory-results .esv-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
body .esv-directory-results .esv-results-grid .station-tile{width:100%;min-width:0;max-width:none;aspect-ratio:1/1;padding:9px}
body .esv-directory-results .esv-results-grid .station-tile img{display:block;max-width:100%;max-height:100%;object-fit:contain}

/* v0.7: country-specific city, genre and frequency indexes */
.esv-breadcrumb{font-size:13px;color:#b9c5cd;margin:0 0 24px}.esv-breadcrumb a{color:#29b6f6}.esv-tax-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:22px 0 34px}.esv-tax-link{border:1px solid #4b4b4b;background:#303030;border-radius:9px;padding:17px;display:flex;flex-direction:column;gap:5px;min-width:0}.esv-tax-link strong{font-size:16px}.esv-tax-link span{font-size:12px;color:#b7c0c7}.esv-tax-link:hover{border-color:#29b6f6}.esv-tax-detail-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;align-items:start}.esv-tax-sidebar{background:#303030;border:1px solid #484848;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:2px;max-height:620px;overflow:auto}.esv-tax-sidebar h2{font-size:16px;margin:0 0 10px}.esv-tax-sidebar a{padding:8px;border-radius:5px;font-size:13px}.esv-tax-sidebar a:hover,.esv-tax-sidebar a[aria-current=page]{background:#424242;color:#29b6f6}.esv-tax-results{min-width:0}.esv-tax-results .esv-results-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.esv-tax-results .station-tile{width:100%;min-width:0;aspect-ratio:1/1;padding:9px}.esv-tax-seo{max-width:880px;margin:35px 0;color:#cbd0d4}.esv-tax-seo h2{font-size:21px;color:white}
@media(max-width:1099px){.esv-tax-results .esv-results-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.esv-tax-index{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.esv-tax-detail-layout{grid-template-columns:180px minmax(0,1fr);gap:14px}.esv-tax-results .esv-results-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.esv-tax-detail-layout{display:block}.esv-tax-sidebar{margin-bottom:18px;max-height:210px}.esv-tax-results .esv-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.esv-tax-index{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.7.1: functional browser-local favorites */
.esv-fav-card{position:relative;min-width:0;aspect-ratio:1/1}
.esv-fav-card>.station-tile{width:100%;height:100%;min-width:0;max-width:none;aspect-ratio:1/1}
.esv-fav-toggle{position:absolute;right:6px;top:6px;z-index:3;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;border:1px solid #d8dfe3;background:rgba(255,255,255,.95);color:#46606c;font-size:22px;line-height:1;box-shadow:0 1px 4px #0002}
.esv-fav-toggle:hover,.esv-fav-toggle.is-favorite{color:#0879b4;border-color:#29b6f6;background:#eefaff}
.esv-favorites-count{color:#b7c0c7;margin:0 0 16px;font-size:14px}
.esv-favorites-grid[hidden],.esv-favorites-grid .esv-fav-card[hidden],.esv-favorites-page .empty[hidden]{display:none!important}
.esv-favorites-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.esv-fav-browse{display:inline-block;margin-top:8px;background:#29b6f6;color:#10202a;padding:10px 16px;border-radius:7px;font-weight:700}
.esv-fav-browse:hover{color:#10202a;background:#72d2ff}
@media(max-width:1050px){.esv-favorites-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:850px){.esv-favorites-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.esv-favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.esv-fav-toggle{width:28px;height:28px;font-size:20px}}

.esv-single-favorite{display:flex;align-items:center;gap:10px;margin:10px 0 18px;color:#cbd2d7;font-size:13px}.esv-single-favorite .esv-fav-toggle{position:static}

/* Favorites: hidden cards must not be displayed by grid/flex selectors. */
.esv-favorites-grid[hidden], .esv-favorites-grid .esv-fav-card[hidden], .esv-favorites-page .empty[hidden] {display:none !important;}

/* v0.7.3: clearly visible favorites and sharing actions on every station card */
.esv-fav-card{position:relative!important;overflow:visible!important}
.esv-fav-card>.esv-fav-toggle,.esv-fav-card>.esv-share-toggle{position:absolute!important;top:7px!important;z-index:12!important;display:flex!important;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;padding:0;border-radius:50%;border:1px solid #79cdec;background:#102e42;color:#fff;font-size:22px;line-height:1;box-shadow:0 2px 8px #0007;cursor:pointer;opacity:1;visibility:visible}
.esv-fav-card>.esv-fav-toggle{right:7px!important;left:auto!important}
.esv-fav-card>.esv-share-toggle{left:7px!important;right:auto!important;font-size:20px}
.esv-fav-card>.esv-fav-toggle.is-favorite{background:#29b6f6;color:#09212e;border-color:#29b6f6}
.esv-fav-card>.esv-share-toggle:hover,.esv-fav-card>.esv-fav-toggle:hover{background:#29b6f6;color:#09212e}
.esv-share-detail{border:1px solid #29b6f6;border-radius:7px;background:transparent;color:#29b6f6;padding:7px 12px;font-size:13px;cursor:pointer;margin-left:auto}
.esv-share-detail:hover{background:#29b6f6;color:#0c1e28}
@media(max-width:600px){.esv-fav-card>.esv-fav-toggle,.esv-fav-card>.esv-share-toggle{width:29px;height:29px;min-width:29px;top:5px!important;font-size:19px}.esv-fav-card>.esv-fav-toggle{right:5px!important}.esv-fav-card>.esv-share-toggle{left:5px!important}.esv-single-favorite{flex-wrap:wrap}}

/* v0.7.4: identidad visual compartida */
.brand{display:flex;align-items:center;flex:0 1 300px;min-width:0}
.site-logo{display:block;width:100%;max-width:300px;height:auto;max-height:55px;object-fit:contain;object-position:left center}
.esv-footer-logo-link{display:inline-block;max-width:290px;margin-bottom:12px}
.esv-footer-logo{display:block;width:100%;height:auto;max-height:58px;object-fit:contain;object-position:left center}
@media(max-width:850px){.brand{flex-basis:235px}.site-logo{max-width:235px}}
@media(max-width:600px){.brand{flex-basis:230px}.site-logo{max-width:230px;max-height:43px}.esv-footer-logo{max-width:245px}}

/* v0.7.5: global compact header search */
.header-search-wrap{position:relative;height:0;z-index:100}.searchbar{display:none;position:absolute;right:0;top:8px;width:min(430px,100%);padding:12px;background:#1e1e1e;border:1px solid #484848;border-radius:9px;box-shadow:0 12px 30px #0009;gap:8px;align-items:center}.searchbar.active{display:flex}.searchbar input{min-width:0;flex:1;width:auto;margin:0;padding:10px 12px}.searchbar button{background:#29b6f6;color:#07151c;border:0;border-radius:6px;padding:10px 14px;font-weight:700}.search-toggle{color:#29b6f6}.screen-reader-text{position:absolute!important;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){.searchbar{right:0;left:0;width:100%;top:5px}}

.esv-submission-page{max-width:820px;margin:35px auto 60px}.esv-submission-form{display:grid;gap:16px;background:#303030;padding:25px;border-radius:12px}.esv-submission-form label{display:grid;gap:7px;color:#f5f5f5}.esv-submission-form input,.esv-submission-form textarea,.esv-submission-form select{width:100%;box-sizing:border-box;padding:12px;border-radius:7px;background:#171717;color:#fff;border:1px solid #666}.esv-submission-form button{padding:13px 24px;background:#29b6f6;border:0;border-radius:8px;font-weight:700;cursor:pointer;color:#111}.esv-form-message{padding:15px;background:#23453a;border-radius:8px}.esv-honeypot{position:absolute;left:-10000px}.esv-report-link a{color:#29b6f6}

/* Monitor público: únicamente estados verificados */
.esv-stream-state[data-status="online"]{color:#42d48a!important;font-weight:800}.esv-stream-state[data-status="offline"]{color:#ff5965!important;font-weight:800}.esv-stream-state[data-status="unknown"]{display:none!important}

/* v0.7.9 — rejilla de altavoz sin imágenes: bordes visibles al 45%, centros oscuros. */
body {
  background-color: #222222;
  background-image: radial-gradient(circle at 4px 4px,
    #151515 0 1.30px,
    rgba(150,150,150,.2475) 1.40px 1.82px,
    transparent 1.92px);
  background-size: 8px 8px;
  background-repeat: repeat;
}
/* No aplicar textura sobre controles, tarjetas, header ni footer. */
.site-header,.site-footer,.player,.station-tile,.content-block,.ad-slot,.adslot {background-image:none;}

/* v0.8.0: clean logo grids; actions only on the active player and station detail. */
.esv-fav-card>.esv-fav-toggle,.esv-fav-card>.esv-share-toggle{display:none!important}
.esv-player-actions{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:wrap;margin-top:13px;padding-top:12px;border-top:1px solid #444}
.esv-player-actions .esv-fav-toggle{position:static!important;display:inline-flex;align-items:center;gap:7px;width:auto;height:auto;min-width:0;border:0;background:transparent!important;box-shadow:none;color:#29b6f6;font-size:13px;padding:6px 3px;cursor:pointer}
.esv-player-actions .esv-heart{font-size:25px;color:#ff424d;line-height:1}
.esv-player-actions .esv-fav-toggle.is-favorite,.esv-player-actions .esv-fav-toggle.is-favorite .esv-fav-label{color:#ff424d}
.esv-player-actions .esv-share-detail{margin:0;border:0;padding:6px 3px;background:transparent!important;color:#29b6f6}
.esv-player-actions .more{margin:0;padding:6px 3px;color:#29b6f6}
@media(max-width:600px){.esv-player-actions{justify-content:space-between;gap:6px}.esv-player-actions .esv-fav-toggle,.esv-player-actions .esv-share-detail,.esv-player-actions .more{font-size:12px}}

/* v0.8.1: alinear el logo arriba en el reproductor movil */
@media (max-width:600px){
  .player{align-items:start;}
  .player-art{align-self:start;margin-top:0;}
  .player-details{align-self:start;}
}

/* v0.8.2: mobile player actions centered, live indicator with subtle pulse. */
@media (max-width:600px) {
  .esv-player-actions {
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    column-gap:17px;
    row-gap:4px;
    text-align:center;
  }
  .esv-player-actions .esv-fav-toggle,
  .esv-player-actions .esv-share-detail,
  .esv-player-actions .more {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    margin:0;
  }
}
/* Pulse only the small ONLINE dot, not the entire label. */
.esv-stream-state[data-status="online"] .esv-online-dot {
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:5px;
  border-radius:50%;
  background:#34c759;
  vertical-align:middle;
  box-shadow:0 0 0 0 rgba(52,199,89,.5);
  animation:esv-online-pulse 2.2s ease-out infinite;
}
@keyframes esv-online-pulse {
  0%,100% { box-shadow:0 0 0 0 rgba(52,199,89,.42); opacity:1; }
  55% { box-shadow:0 0 0 6px rgba(52,199,89,0); opacity:.8; }
}
@media (prefers-reduced-motion:reduce) {
  .esv-stream-state[data-status="online"] .esv-online-dot { animation:none; }
}
/* OFFLINE is calm gray and never pulses. */
.esv-stream-state[data-status="offline"] {color:#a3a3a3!important;}

/* v0.8.4: three actions remain on a single row on mobile */
@media(max-width:600px){
 .esv-player-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px!important;align-items:center;justify-items:center;padding:10px 0 0!important;flex-wrap:nowrap!important;}
 .esv-player-actions .esv-fav-toggle,.esv-player-actions .esv-share-detail,.esv-player-actions .more{display:inline-flex!important;white-space:nowrap!important;font-size:11px!important;line-height:1.25;padding:5px 1px!important;margin:0!important;min-width:0;justify-content:center;text-align:center;}
 .esv-player-actions .esv-heart{font-size:19px!important;}
}

/* v0.8.6 — Anuncio de 300x250 en la ficha, información compacta */
.esv-detail-hero{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:stretch;margin-bottom:22px}
.esv-detail-hero .detail-player{margin:0;min-width:0}
.esv-detail-ad{width:300px;min-height:250px;display:flex;align-items:center;justify-content:center}
.esv-detail-ad-demo{width:300px;height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;border:1px dashed #66717b;border-radius:9px;background:repeating-linear-gradient(135deg,#2b3238 0,#2b3238 10px,#313941 10px,#313941 20px);color:#d7e5ed}
.esv-detail-ad-demo span{font-size:11px;color:#29b6f6;font-weight:800;letter-spacing:1px}
.esv-detail-ad-demo strong{font-size:24px;color:#fff}
.esv-detail-ad-demo small{font-size:12px}
.esv-detail-ad:empty{display:none}
.esv-detail-hero:has(.esv-detail-ad:empty){grid-template-columns:1fr}
.esv-details-inline{grid-template-columns:repeat(3,minmax(0,1fr))}
.esv-details-inline>div{min-width:0;overflow-wrap:anywhere}
.esv-details-inline a{color:#29b6f6;text-decoration:none}
.esv-details-inline a:hover{text-decoration:underline}
@media(max-width:950px){.esv-detail-hero{grid-template-columns:1fr}.esv-detail-ad{display:none}}
@media(max-width:700px){.esv-details-inline{grid-template-columns:1fr}}

/* v0.8.7: actions in single-station player */
.detail-player .esv-player-actions .esv-report-action{color:#a3a3a3;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;}
.detail-player .esv-player-actions .esv-report-action:hover{color:#29b6f6;}
@media(max-width:600px){.detail-player .esv-player-actions{grid-template-columns:repeat(3,minmax(0,1fr));}.detail-player .esv-player-actions .esv-report-action{font-size:11px;justify-content:center;}}

/* v0.8.8: station details compact in one horizontal line on desktop */
#esv-station-details .esv-details-inline{display:flex;align-items:center;gap:14px;flex-wrap:nowrap;}
#esv-station-details .esv-details-inline>div{display:flex;align-items:baseline;gap:5px;flex:0 1 auto;min-width:0;padding:11px 13px;white-space:nowrap;overflow-wrap:normal;}
#esv-station-details .esv-details-inline strong{font-size:13px;font-weight:650;color:#cbd0d4;flex-shrink:0;}
#esv-station-details .esv-details-inline span,#esv-station-details .esv-details-inline a{font-size:14px;min-width:0;}
#esv-station-details .esv-details-inline a{color:#29b6f6;text-decoration:none;}
#esv-station-details .esv-details-inline a:hover{text-decoration:underline;}
@media(max-width:1050px){#esv-station-details .esv-details-inline{flex-wrap:wrap;}#esv-station-details .esv-details-inline>div{white-space:normal;overflow-wrap:anywhere;}}
@media(max-width:600px){#esv-station-details .esv-details-inline{display:grid;grid-template-columns:1fr;gap:8px;}#esv-station-details .esv-details-inline>div{display:flex;flex-wrap:wrap;}}

/* v0.9.1: datos sin cajas y ordenamiento accesible */
#esv-station-details h2{font-size:22px;line-height:1.3;margin:0 0 12px;}
#esv-station-details .esv-details-inline{display:flex;gap:12px 24px;flex-wrap:wrap;align-items:baseline;}
#esv-station-details .esv-details-inline>div{padding:0;background:transparent;border:0;border-radius:0;display:inline-flex;align-items:baseline;gap:5px;white-space:normal;}
#esv-station-details .esv-details-inline strong{font-size:14px;color:#f5f5f5;}
.esv-results-tools{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;}
.esv-results-tools label{font-size:13px;color:#c3c9ce;white-space:nowrap;}
.esv-results-tools select{height:38px;border:1px solid #626262;border-radius:7px;padding:0 8px;background:#252525;color:#fff;font-size:13px;max-width:190px;}
.esv-sort-note{font-size:12px;color:#aab2b9;margin:0 0 12px;}
@media(max-width:720px){.esv-results-header{align-items:flex-start;flex-direction:column;}.esv-results-tools{width:100%;justify-content:space-between;}#esv-station-details .esv-details-inline{display:flex;flex-direction:column;gap:9px;}}

/* v0.9.2: mismo anuncio 300x250 junto al reproductor de portada y fichas. */
@media(min-width:951px){.esv-home-player-ad{align-items:center}.esv-home-player-ad .player{margin:0;min-width:0}.esv-home-player-ad .esv-detail-ad{align-self:center}.esv-home-player-ad .esv-detail-ad-code{width:300px;max-width:100%;min-height:250px}}
@media(max-width:950px){.esv-home-player-ad .esv-detail-ad{display:none}.esv-home-player-ad{display:block}.esv-home-player-ad .player{margin-bottom:28px}}

/* Unverified stations retain a visible, neutral state instead of disappearing. */
.esv-stream-state[data-status="unknown"]{display:inline!important;color:#b8b8b8!important;font-weight:600}

/* v0.9.4 — logos grandes sin marco blanco; todas las cuadrículas */
body .station-tile,
body .esv-directory-results .esv-results-grid .station-tile,
body .esv-tax-results .esv-results-grid .station-tile,
body .esv-favorites-grid .station-tile {
  padding:0 !important;
  background:transparent !important;
  border:1px solid #646464 !important;
  border-radius:9px;
  box-shadow:none !important;
  overflow:hidden;
}
body .station-tile:hover,
body .station-tile.active {border-color:#29b6f6 !important;box-shadow:0 0 0 2px rgba(41,182,246,.22) !important;}
body .station-tile img,
body .esv-directory-results .esv-results-grid .station-tile img,
body .esv-tax-results .esv-results-grid .station-tile img,
body .esv-favorites-grid .station-tile img {
  display:block;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center;
  background:transparent;
  border:0;
  border-radius:8px;
}
/* El logo conserva su relación de aspecto; sin estirar ni cortar letras. */

/* v0.9.5: marco cuadrado continuo, sin bandas fuera del borde. */
body .station-tile, body .esv-directory-results .esv-results-grid .station-tile,
body .esv-tax-results .esv-results-grid .station-tile, body .esv-favorites-grid .station-tile {
  display:block !important; position:relative; aspect-ratio:1 / 1 !important;
  border:1px solid #666 !important; border-radius:5px !important;
  padding:0 !important; overflow:hidden !important; background:#252525 !important;
}
body .station-tile img, body .esv-directory-results .esv-results-grid .station-tile img,
body .esv-tax-results .esv-results-grid .station-tile img, body .esv-favorites-grid .station-tile img {
  display:block !important; width:100% !important; height:100% !important;
  object-fit:cover !important; object-position:center !important;
  border:0 !important; border-radius:0 !important;
}

/* v0.9.6: tarjetas 300x240 proporcionales, sin recorte de logos. */
body .station-tile,
body .esv-directory-results .esv-results-grid .station-tile,
body .esv-tax-results .esv-results-grid .station-tile,
body .esv-favorites-grid .station-tile {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:5 / 4 !important;
  padding:0 !important;
  border:1px solid #666 !important;
  border-radius:4px !important;
  overflow:hidden !important;
  background:#292929 !important;
}
body .station-tile img,
body .esv-directory-results .esv-results-grid .station-tile img,
body .esv-tax-results .esv-results-grid .station-tile img,
body .esv-favorites-grid .station-tile img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  border:0 !important;
  border-radius:0 !important;
}
body .esv-fav-card {aspect-ratio:5 / 4 !important;}
body .esv-fav-card > .station-tile {height:100% !important;}

/* v0.9.9: logo del reproductor sin marco blanco externo, formato 5:4. */
.player .player-art,
.detail-player .player-art {
  width: 140px;
  height: 112px;
  aspect-ratio: 5 / 4;
  padding: 0;
  margin: 0;
  background: #292929;
  border: 1px solid #626262;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}
.player .player-art img,
.detail-player .player-art img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: transparent;
}
@media (max-width: 600px) {
  .player .player-art,
  .detail-player .player-art {
    width: 90px;
    height: 72px;
  }
}

/* v0.9.10: ensure station artwork is visible on Android, including lazy-load edge cases. */
.station-tile img, .player-art img, .esv-fav-card img {
  visibility:visible !important; opacity:1 !important;
  content-visibility:visible !important;
}
@media(max-width:600px) {
  .station-tile img, .player-art img {display:block !important; opacity:1 !important;}
}

/* v0.9.11: compact mobile navigation: hamburger left, brand centered, search right. */
@media (max-width:850px){
 .header-inner{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:8px;}
 .header-inner .mobile-nav{grid-column:1;grid-row:1;margin:0;position:relative;justify-self:start;}
 .header-inner .brand{grid-column:2;grid-row:1;min-width:0;justify-self:center;max-width:100%;overflow:hidden;}
 .header-inner .brand .site-logo{display:block;max-width:100%;height:auto;width:auto;max-height:42px;object-fit:contain;}
 .header-inner .search-toggle{grid-column:3;grid-row:1;justify-self:end;}
 .mobile-nav summary{display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;color:#29b6f6;font-size:26px!important;line-height:1;list-style:none;}
 .mobile-nav summary::-webkit-details-marker{display:none;}
 .mobile-nav-links{left:0!important;right:auto!important;top:calc(100% + 8px)!important;}
}
@media(max-width:380px){.header-inner{gap:5px;grid-template-columns:38px minmax(0,1fr) 38px}.mobile-nav summary{width:38px;height:40px}.header-inner .search-toggle{padding:6px}}
