#homePanel #homeLiveStageHomeAnchor {
  scroll-margin-top: 86px;
  padding: clamp(10px, 1.1vw, 18px);
  border: 1px solid #34434e;
  border-radius: 14px;
  background: linear-gradient(155deg, #181f25, #10161b 65%);
}
#homeLiveStageHomeAnchor > #tvWorld { display: none !important; }
#homePanel .home-player-header, #homePanel .home-channel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
#homePanel .home-player-header h2, #homePanel .home-channel-header h3 { margin: 0; line-height: 1; }
#homePanel .home-player-header h2 { font-size: clamp(21px, 2.4vw, 34px); }
.home-layout-controls, .home-source-controls, .home-rail-buttons { display: flex; gap: 5px; }
#homePanel :is(.home-layout-controls,#homeClose,.home-screen-top,.home-source-controls,.home-rail-buttons) button,
#homePanel #homeClose {
  border: 1px solid #394953;
  background: #1a232c;
  border-radius: 7px;
  padding: 6px 10px;
  color: #e8f8fa;
  cursor: pointer;
}
#homePanel .home-layout-controls button[aria-pressed="true"] { border-color: #62f0b4; background: #16352e; }
#homePanel #homeClose { margin-left: auto; border-color: #dd4552; background: #b92035; white-space: nowrap; }
.home-player-body { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(235px, 1fr); gap: 14px; align-items: start; }
#homeScreens { display: grid; gap: 8px; min-width: 0; }
#homeScreens[data-layout="4"] { grid-template-columns: repeat(2, minmax(0,1fr)); }
.home-screen { min-width: 0; border-radius: 9px; overflow: hidden; border: 1px solid #36454c; background: #11171e; }
.home-screen.is-selected { border-color: #63dcb5; }
.home-screen-top { display: flex; align-items: center; gap: 5px; padding: 4px 6px; min-width: 0; }
.home-screen-top strong { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#homePanel .home-screen-top button { padding: 2px 7px; }
.home-screen-media { aspect-ratio: 16 / 9; position: relative; background: #090d12; }
.home-screen-media iframe, .home-screen-media video, .home-add { width: 100%; height: 100%; display: block; border: 0; }
.home-screen:fullscreen { display: grid; grid-template-rows: auto minmax(0,1fr) auto auto; }
.home-screen:fullscreen .home-screen-media { aspect-ratio: auto; }
#homePanel .home-add {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  color: #dfe9f3;
  border: 0;
  background: radial-gradient(at center, #25313f, #141b23 78%);
  cursor: pointer;
}
.home-add span { font-size: clamp(22px, 5vw, 50px); line-height: 1; }
.home-add strong { font-size: clamp(12px, 1.4vw, 19px); }
.home-source-controls:not(:empty), .home-source-status:not(:empty) { padding: 5px 7px; margin: 0; font-size: 12px; }
.home-source-controls select { flex: 1; min-width: 0; color: #eef6fa; background: #15212a; }
.home-source-status:empty, #homeChannelSlot:empty { display: none; }
.home-channel-selector { background: #10151b; padding: 10px; border: 1px solid #2b363f; border-radius: 10px; min-width: 0; }
.home-channel-header { justify-content: space-between; flex-wrap: wrap; }
.home-channel-header h3 { font-size: clamp(19px, 1.8vw, 26px); }
#homePanel #homeChannelSearch { flex: 1; width: 100%; min-width: min(125px,100%); padding: 8px 10px; border: 1px solid #3c4a54; border-radius: 7px; background: #1b222b; color: #edf7fa; }
#homeChannelSlot { color: #7ee7c1; font-size: 12px; margin: -4px 0 7px; }
#homeChannelResults { display: grid; gap: 5px; max-height: clamp(236px, 27vw, 460px); overflow: auto; scrollbar-width: thin; }
#homePanel .home-channel-row {
  display: grid;
  grid-template-columns: clamp(40px, 7vw, 92px) minmax(0, 1fr) auto;
  gap: 10px;
  text-align: left;
  align-items: center;
  color: #f3f6fa;
  padding: 7px 10px;
  background: linear-gradient(115deg, #202830, #181d25);
  border: 1px solid #303b44;
  border-radius: 8px;
  cursor: pointer;
}
#homePanel .home-channel-row:is(:hover,:focus-visible), #homePanel .home-add:focus-visible { border-color: #57d9b7; background: #1b3636; }
.home-channel-logo { display: grid; place-items: center; width: 100%; height: 36px; font-weight: 800; color: #7be6c7; overflow: hidden; }
.home-channel-logo img { max-width: 100%; max-height: 36px; object-fit: contain; }
.home-channel-copy { display: grid; gap: 2px; min-width: 0; }
.home-channel-copy :is(strong,small) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-channel-copy small, .home-channel-empty { color: #aebdc9; font-size: 12px; }

#homePanel .front-approved-lower { display: grid; grid-template-columns: minmax(0, 1fr); }
#homePanel .home-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0, 1fr)); gap: 10px; }
#homePanel #frontDiscover .home-news-grid .wh-section { min-width: 0; border: 1px solid #303c46; border-radius: 11px; padding: 8px; background: #161f26; }
#homePanel #frontDiscover .home-news-grid .wh-section-head { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.home-news-grid .wh-section-head h3 { margin: 0; font-size: clamp(17px, 1.55vw, 23px); }
#homePanel .home-news-grid .wh-section-head .wh-button { margin-left: auto; white-space: nowrap; padding: 4px; background: transparent; border: 0; color: #8cf4ca; }
#homePanel .home-rail-buttons button { padding: 3px 7px; }
#homePanel #frontDiscover .home-news-grid .wh-grid {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
#homePanel #frontDiscover .home-news-grid .wh-card {
  display: flex;
  min-height: clamp(125px, 13vw, 195px);
  scroll-snap-align: start;
}
#homePanel #frontDiscover .home-news-grid .wh-empty { margin: 0; min-height: 125px; }
#homePanel #frontMusic { display: flex; align-items: center; gap: 10px; padding: 7px 10px; min-width: 0; }
#homePanel #frontMusic .compact-heading { flex: 0 0 auto; justify-content: start; margin: 0; gap: 7px; padding: 0; border: 0; }
#homePanel #frontMusicTitle { font-size: clamp(17px,1.7vw,23px); margin: 0; }
#homePanel #frontMusic .front-music-items { flex: 1; min-width: 0; display: flex; gap: 5px; overflow-x: auto; scrollbar-width: thin; align-items: center; }
#homePanel #frontMusic .front-music-items button {
  flex: 0 0 clamp(140px, 16vw, 207px);
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  text-align: left;
  padding: 4px 6px;
  color: #eef6fa;
  background: #101920;
  border: 1px solid #2d3c45;
  border-radius: 7px;
  cursor: pointer;
}
#homePanel #frontMusic .front-music-items button:hover { border-color: #70dbb8; }
#homePanel #frontMusic .front-music-items :is(button img) { position: static; width: 40px; height: 32px; object-fit: cover; border-radius: 4px; }
#homePanel #frontMusic .front-music-items button span { min-width: 0; }
#homePanel #frontMusic .front-music-items button :is(strong,small) { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
#homePanel #frontMusic .front-music-items p { margin: 0; font-size: 12px; }
@media(max-width: 1050px) {
  #homePanel #frontMusic { flex-wrap: wrap; }
  #homePanel #frontMusic .front-music-items { flex-basis: 100%; }
  #homePanel .home-news-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(265px, 47%); overflow-x: auto; scroll-snap-type: x proximity; }
  #homePanel .home-news-grid .wh-section { scroll-snap-align: start; }
}
@media(max-width: 670px) {
  .home-player-body { grid-template-columns: minmax(0, 1fr); }
  #homeChannelResults { max-height: 210px; }
  #homePanel .home-player-header { gap: 5px; flex-wrap: wrap; }
  #homePanel :is(.home-layout-controls,#homeClose) button, #homePanel #homeClose { padding-inline: 6px; }
  #homePanel .home-news-grid { grid-auto-columns: minmax(230px, 84%); }
  #homePanel #frontMusic .compact-heading { flex-wrap: wrap; flex-basis: 100%; }
}


#homePanel #homeChannelFamily {
  width:100%; margin:0 0 9px; padding:6px 9px; border-radius:7px;
  color:#edf7fa; background:#1b222b; border:1px solid #3c4a54;
}
#homePanel .home-channel-family { margin:5px 0 1px; padding:5px 7px; color:#7ee7c1; font-size:13px; }
#homePanel .home-channel-more { padding:8px; color:#edf7fa; background:#192630; border:1px solid #3c4a54; border-radius:7px; }
#homePanel .home-source-controls { flex-wrap:wrap; }

#homePanel #frontDiscover .home-news-grid .wh-section {
  display:grid;grid-template-rows:auto minmax(0,1fr);align-content:start;gap:7px;
}
#homePanel #frontDiscover .home-news-grid .wh-section .wh-section-head {
  box-sizing:border-box;min-height:44px;margin:0;padding:4px 0!important;
}
#homePanel #frontDiscover .home-news-grid .wh-section .wh-grid {margin:0;align-content:start}
#homePanel #frontDiscover .home-news-grid .wh-grid .wh-card {
  box-sizing:border-box;width:100%;height:auto;min-height:0;aspect-ratio:16/9;
}
#homePanel #frontDiscover .home-news-grid .wh-grid .wh-card:nth-of-type(n+4){display:flex}
#homePanel .home-section-links {
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;min-width:0;
}
#homePanel .home-section-card {
  display:grid;grid-template-columns:28px minmax(0,1fr);grid-auto-rows:auto;
  align-items:center;gap:3px 8px;padding:11px;text-align:left;min-width:0;
  border:1px solid #2d4652;border-radius:10px;background:#17242e;color:#eff7fa;cursor:pointer;
}
#homePanel .home-section-card:is(:hover,:focus-visible) {border-color:#70e6c5;background:#1c343d}
#homePanel .home-section-card .wtv-nav-icon {grid-row:span 2;justify-self:center;color:#80eacc}
#homePanel .home-section-card strong {min-width:0;font-size:16px;line-height:1.2}
#homePanel .home-section-card small {color:#a9c9cf;line-height:1.15}
@media(max-width:780px){#homePanel .home-section-links{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){#homePanel .home-section-links{grid-template-columns:repeat(2,minmax(0,1fr))}}

#homePanel :is(.front-agenda-rail,#frontMusicRows,#frontDiscover .home-news-grid .wh-grid) {scrollbar-width:none}
#homePanel :is(.front-agenda-rail,#frontMusicRows,#frontDiscover .home-news-grid .wh-grid)::-webkit-scrollbar{display:none}
#homePanel .front-agenda-row .home-rail-buttons button{padding:4px 7px;min-height:30px}
#homePanel .home-rail-buttons button:focus-visible{outline:2px solid #6af0c5}
@media(max-width:780px){
  #homePanel .home-news-grid {grid-template-columns:minmax(0,1fr);grid-auto-flow:row;grid-auto-columns:auto;overflow:visible}
}

/* Portada y barra de navegación */
body.home-iptv-mode header.world-header .brand h1{font-size:clamp(20px,2vw,30px);white-space:nowrap}
body.home-iptv-mode header.world-header nav.tabs {gap:clamp(5px,1vw,16px)!important;}
body.home-iptv-mode header.world-header nav.tabs .tab {
  position:relative;color:#f1f6f8!important;font-size:clamp(13px,1.03vw,19px)!important;
  font-weight:750;padding:9px 4px!important;border-radius:0!important;box-shadow:none;
}
body.home-iptv-mode header.world-header nav.tabs .tab.active {
  color:#4ff4c6!important;background:transparent!important;border-color:transparent!important;
}
body.home-iptv-mode header.world-header nav.tabs .tab.active::after{
  content:"";position:absolute;inset:auto 0 0;height:3px;border-radius:5px;background:#4ff4c6;
}
body.home-iptv-mode header.world-header nav.tabs .tab > span[aria-hidden="true"] {display:none}
body.home-iptv-mode header.world-header nav.tabs .tab[data-category="LIVE"]::before{
  content:"";width:7px;height:7px;border-radius:50%;background:#fb4f67;order:2;
}
#frontGlobalBanner #frontEditorialArt{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%;z-index:-2}
#frontGlobalBanner .front-hero:has(#frontEditorialArt:not([hidden]))::after{
  background:linear-gradient(0deg,#061016e8,#06101655 76%);
}
#frontGlobalBanner #frontRotation{
  display:block;inset:0;padding:0;
}
#frontGlobalBanner #frontRotation[hidden]{display:none}
#frontGlobalBanner #frontRotation :is(#frontFeaturedPrev,#frontFeaturedNext){
  position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;
  width:clamp(31px,4vw,53px);height:clamp(31px,4vw,53px);
  padding:0;border:1px solid #d6e5f44a;border-radius:50%;
  background:#101923e8;font-size:clamp(22px,2.7vw,36px);line-height:1;color:#fff;
}
#frontGlobalBanner #frontFeaturedPrev{left:clamp(5px,1.6vw,26px)}
#frontGlobalBanner #frontFeaturedNext{right:clamp(5px,1.6vw,26px)}
#frontGlobalBanner #frontFeaturedPause{position:absolute;right:10px;bottom:9px;}
#frontGlobalBanner .front-hero-dots{
  position:absolute;bottom:12px;left:50%;max-width:65%;transform:translateX(-50%);
  display:flex;gap:1px;
}
#frontGlobalBanner .front-hero-dots button{
  display:grid;place-items:center;width:20px;height:20px;padding:0;border:0;background:none;
}
#frontGlobalBanner .front-hero-dots button::before{content:"";width:9px;height:9px;border-radius:50%;background:#e8f5f987}
#frontGlobalBanner .front-hero-dots button[aria-pressed="true"]::before{background:#4ff4c6}
#homePanel .front-compact-premium h2{display:flex;align-items:center;gap:9px}
#homePanel .front-compact-premium h2 .wtv-nav-icon{color:#53f3c7;width:22px;height:22px;flex-basis:22px}
#homePanel #frontPremiumChannels{
  flex:1;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;border-left:1px solid #465562;padding-left:12px;
}
#homePanel #frontPremiumChannels::-webkit-scrollbar{display:none}
#homePanel #frontPremiumChannels button{min-width:clamp(53px,7vw,100px);min-height:38px}
#homePanel #frontPremiumChannels img{width:clamp(44px,6.8vw,94px);height:31px;object-fit:contain;background:#eff4f7;padding:3px 5px;border-radius:5px}
#homePanel #frontPremiumOpen{display:flex;gap:6px;align-items:center;background:transparent;color:#f4fafb;border:1px solid #34515b;white-space:nowrap}
#homePanel #frontPremiumOpen:hover{background:#1d3a42;border-color:#54e4bd}
#homePanel #frontPremiumOpen .wtv-nav-icon{color:#51edbf}
#homePanel .front-agenda-matchup{display:flex;gap:5px;align-items:center;min-width:0}
#homePanel .front-agenda-matchup strong{flex:1;min-width:0}
#homePanel .front-agenda-matchup img{width:23px;height:23px;flex:0 0 23px;object-fit:contain}
@media(max-width:630px){
  #homePanel .front-compact-premium #frontPremiumChannels{flex:1 0 100%;order:3;padding:0;border:0}
  #homePanel .front-compact-premium #frontPremiumOpen{margin-left:auto}
  #frontGlobalBanner .front-hero-content{padding-inline:23px}
  #frontGlobalBanner .front-hero-dots button{width:16px}
}

#homePanel .home-channel-row .home-channel-copy{grid-column:2}
#homePanel .home-channel-row > span:last-child{grid-column:3}
#homePanel .home-channel-row .home-channel-logo:empty{visibility:hidden}

#animePanel .anime-audio-es{padding:clamp(12px,2vw,22px);border:1px solid #2e4456;border-radius:14px;background:#141e29}
#animePanel .anime-audio-es[hidden]{display:none}
.anime-audio-es header,.anime-audio-es form{display:flex;align-items:center;flex-wrap:wrap;gap:10px;justify-content:space-between}
.anime-audio-es h2{margin:0}
.anime-audio-es a{color:#8bffe0}
.anime-audio-es-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:8px;margin:14px 0}
.anime-audio-es-cards a{display:grid;gap:5px;padding:13px;border:1px solid #385564;border-radius:8px;background:#101925;text-decoration:none}
.anime-audio-es-cards small{color:#bdd2dc}
.anime-audio-es details{padding-top:9px;border-top:1px solid #385564}
.anime-audio-es form{justify-content:flex-start;margin-top:10px}
.anime-audio-es form label{display:grid;gap:5px}
.anime-audio-es form input,.anime-audio-es form button{padding:7px 9px;background:#111a23;color:#f3faff;border:1px solid #415e71;border-radius:6px}

#worldTvTopBanner{display:none!important}
#frontGlobalBanner{
  width:min(1760px,calc(100% - clamp(24px,4vw,72px)));
  margin:14px auto 9px;
}
#frontGlobalBanner .front-highlight{margin:0;overflow:hidden;background:#07131d}
#frontGlobalBanner .front-hero{
  display:grid;justify-items:start;text-align:left;min-height:clamp(250px,29vw,410px);
  padding:30px clamp(38px,6vw,100px) 50px;
}
#frontGlobalBanner .front-hero::after,
#frontGlobalBanner .front-hero:has(#frontEditorialArt:not([hidden]))::after{
  background:linear-gradient(90deg,#07121a 0%,#07121af5 23%,#07121aba 45%,#07121a38 72%,#07121a18);
}
#frontGlobalBanner #frontEditorialArt{left:auto;width:72%;object-position:center 37%}
#frontGlobalBanner .front-hero-content{
  width:min(53%,650px);padding:0;justify-items:start;text-align:left;position:static;
}
#frontGlobalBanner .front-match-kicker{justify-content:start;font-size:clamp(12px,1.2vw,17px)}
#frontGlobalBanner #frontFeaturedTitle{
  color:white;margin:0;line-height:1.02;max-width:22ch;font-size:clamp(23px,3.1vw,54px);
  overflow-wrap:anywhere;text-shadow:0 2px 12px #070e17;
}
#frontGlobalBanner .front-faceoff:not([hidden]){
  position:absolute;right:7%;top:48%;transform:translateY(-50%);width:40%;gap:9px;
}
#frontGlobalBanner .front-team{justify-items:center;text-align:center;font-size:clamp(11px,1.35vw,22px)}
#frontGlobalBanner .front-team img{width:clamp(42px,9vw,105px);height:clamp(42px,9vw,105px)}
#frontGlobalBanner .front-score{font-size:clamp(20px,3.1vw,60px)}
#frontGlobalBanner [hidden]{display:none!important}
#frontGlobalBanner .front-hero-dots{left:clamp(38px,6vw,100px);transform:none}
#animeAudioEsPlayer{margin-block:12px;scroll-margin:90px}
#animeAudioEsPlayer iframe{display:block;width:100%;aspect-ratio:16/9;background:#040810;border:1px solid #385564;border-radius:8px}
#animePanel .anime-audio-es-cards button{display:grid;gap:5px;padding:13px;border:1px solid #385564;border-radius:8px;background:#101925;color:#eef7fa;text-align:left;cursor:pointer}
#animePanel .anime-audio-es-cards button:hover{border-color:#51efbe}
@media(max-width:650px){
  #frontGlobalBanner .front-hero{padding:22px 37px 47px;min-height:265px}
  #frontGlobalBanner .front-hero-content{width:100%;padding:0}
  #frontGlobalBanner #frontEditorialArt{width:85%}
  #frontGlobalBanner .front-faceoff:not([hidden]){position:static;transform:none;width:min(97%,260px);order:2}
  #frontGlobalBanner .front-team span{display:none}
  #frontGlobalBanner .front-team img{width:35px;height:35px}
  #frontGlobalBanner .front-hero-dots{left:32px}
}
