/*!
 * EMPÍRICO TV — frontend v1.0.0
 * CSS original del snippet "EMPIRICO TV NO SIGNAL LAST" (ID 14), sin cambios de
 * diseño. Diferencias documentadas:
 *  - Se quitó el @import de Bebas Neue (la fuente se encola con wp_enqueue_style,
 *    igual que en el snippet; evita la descarga duplicada).
 *  - rgba(255,0,0,a) y #ff0000 usan la variable --etv-glow-rgb (por defecto 255,0,0)
 *    y el fondo del playlist --etv-pl-bg (por defecto .42): mismo resultado visual.
 *  - Al final: bloque "PLAYLIST — ALTURA FIJA + SCROLL INTERNO" (corrección P-7).
 */
html, body{
  margin:0;
  padding:0;
  overflow-x:hidden;
}

.empirico-tv-shortcode{
  --red:#ff1a1a;
  --etv-glow-rgb:255,0,0;
  --etv-pl-bg:.42;
  --white:#fff;
  --soft-white:rgba(255,255,255,.72);
  --font-display:"Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --font-ui:Arial, Helvetica, sans-serif;
}

.empirico-tv-shortcode *{
  box-sizing:border-box;
}

.empirico-stage{
  position:relative;
  width:100vw;
  max-width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:#000;
  overflow:hidden;
}

.empirico-picture{
  display:block;
  width:100%;
  line-height:0;
  user-select:none !important;
  -webkit-user-select:none !important;
  -webkit-user-drag:none !important;
  pointer-events:none !important;
}

.empirico-bg{
  display:block;
  width:100%;
  max-width:none;
  height:auto;
  user-select:none !important;
  -webkit-user-select:none !important;
  -webkit-user-drag:none !important;
  pointer-events:none !important;
}

/* =========================================================
   MENÚ / NAV CON ANCHOR LINKS (DESKTOP + MOBILE)
========================================================= */

body{
  padding-top:64px !important;
}

.empirico-site-nav,
.empirico-nav-mobile-overlay{
  color:#fff;
}

.empirico-site-nav a,
.empirico-nav-mobile-overlay a{
  color:inherit;
  text-decoration:none;
}

.empirico-site-nav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:10000;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:0 5%;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(var(--etv-glow-rgb),.25);
  box-shadow:0 0 24px rgba(var(--etv-glow-rgb),.12);
  transition:background .3s ease, box-shadow .3s ease;
}

.empirico-site-nav.is-scrolled{
  background:rgba(0,0,0,.85);
  box-shadow:0 4px 24px rgba(0,0,0,.6), 0 0 20px rgba(var(--etv-glow-rgb),.16);
}

.empirico-site-nav .nav-logo{
  flex:0 0 auto;
  font-family:var(--font-display);
  font-size:22px;
  letter-spacing:1px;
  color:#fff;
  text-decoration:none;
  text-transform:uppercase;
  line-height:1;
  white-space:nowrap;
}

.empirico-site-nav .nav-logo span{
  color:var(--red);
  text-shadow:0 0 8px rgba(var(--etv-glow-rgb),.6);
}

.empirico-site-nav .nav-links{
  display:flex;
  align-items:center;
  gap:28px;
}

.empirico-site-nav .nav-link{
  position:relative;
  color:rgba(255,255,255,.75);
  font-family:var(--font-ui);
  font-size:11px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
  text-decoration:none;
  padding:6px 2px;
  white-space:nowrap;
  transition:color .25s ease, text-shadow .25s ease;
}

.empirico-site-nav .nav-link::after{
  content:'';
  position:absolute;
  left:0;
  right:100%;
  bottom:0;
  height:2px;
  background:var(--red);
  box-shadow:0 0 8px rgba(var(--etv-glow-rgb),.7);
  transition:right .25s ease;
}

.empirico-site-nav .nav-link:hover,
.empirico-site-nav .nav-link.active{
  color:#fff;
  text-shadow:0 0 6px rgba(var(--etv-glow-rgb),.5);
}

.empirico-site-nav .nav-link:hover::after,
.empirico-site-nav .nav-link.active::after{
  right:0;
}

.empirico-nav-burger{
  all:unset;
  box-sizing:border-box !important;
  display:none;
  flex:0 0 auto !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  gap:5px !important;
  width:34px !important;
  height:34px !important;
  background:transparent !important;
  border:1px solid rgba(255,255,255,.25) !important;
  border-radius:0 !important;
  padding:0 !important;
  margin:0 !important;
  outline:none !important;
  box-shadow:none !important;
  cursor:pointer !important;
  -webkit-tap-highlight-color:transparent !important;
}

.empirico-nav-burger:hover,
.empirico-nav-burger:focus,
.empirico-nav-burger:focus-visible,
.empirico-nav-burger:active{
  background:rgba(var(--etv-glow-rgb),.14) !important;
  border-color:var(--red) !important;
  box-shadow:none !important;
  outline:none !important;
}

.empirico-nav-burger span{
  display:block;
  width:18px;
  height:2px;
  background:#fff;
  transition:transform .3s ease, opacity .3s ease;
}

.empirico-nav-burger.is-active span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.empirico-nav-burger.is-active span:nth-child(2){opacity:0;}
.empirico-nav-burger.is-active span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.empirico-nav-mobile-overlay{
  display:none;
}

@media (max-width:767px){
  body{
    padding-top:56px !important;
  }

  .empirico-site-nav{
    height:56px;
    padding:0 4%;
  }

  .empirico-site-nav .nav-logo{
    font-size:18px;
  }

  .empirico-site-nav .nav-links{
    display:none;
  }

  .empirico-nav-burger{
    display:flex;
  }

  .empirico-nav-mobile-overlay{
    display:flex;
    position:fixed;
    top:56px;
    left:0;
    right:0;
    bottom:0;
    z-index:9998;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:22px 6%;
    background:rgba(0,0,0,.94);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    transform:translateX(100%);
    transition:transform .35s ease;
    overflow-y:auto;
  }

  .empirico-nav-mobile-overlay.is-open{
    transform:translateX(0);
  }

  .empirico-nav-mobile-overlay nav{
    display:flex;
    flex-direction:column;
    gap:10px;
  }

  .empirico-nav-mobile-overlay .nav-mobile-link{
    display:block;
    padding:16px 14px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(0,0,0,.5);
    color:rgba(255,255,255,.85);
    font-family:var(--font-ui);
    font-size:13px;
    font-weight:900;
    letter-spacing:1.4px;
    text-transform:uppercase;
    text-decoration:none;
    transition:.25s ease;
  }

  .empirico-nav-mobile-overlay .nav-mobile-link.active,
  .empirico-nav-mobile-overlay .nav-mobile-link:active{
    border-color:var(--red);
    background:rgba(var(--etv-glow-rgb),.13);
    color:#fff;
    box-shadow:0 0 12px rgba(var(--etv-glow-rgb),.22);
  }
}

/* =========================================================
   TEXTO IZQUIERDO DESKTOP / HORIZONTAL
========================================================= */

.empirico-left-text{
  position:absolute;
  left:8%;
  top:24%;
  z-index:8;
  max-width:280px;
  color:#fff;
  text-transform:uppercase;
  opacity:0;
  transform:translateX(-35px);
  animation:empiricoLeftIn .9s ease forwards;
  animation-delay:.25s;
}

.empirico-left-text span{
  color:var(--red);
  font-size:15px;
  font-weight:800;
  letter-spacing:.5px;
}

.empirico-left-text h1,
.empirico-left-text h2,
.empirico-coming-screen h3,
.coming-thumb{
  font-family:var(--font-display) !important;
  font-weight:400 !important;
}

.empirico-left-text h1{
  margin:8px 0 0;
  font-size:76px;
  line-height:.82;
  letter-spacing:-1px;
  color:#fff;
}

.empirico-left-text h2{
  margin:0 0 24px;
  font-size:40px;
  line-height:.88;
  letter-spacing:-.5px;
  color:#fff;
}

.empirico-left-text p{
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:15px;
  line-height:1.55;
  text-transform:none;
}

@keyframes empiricoLeftIn{
  from{opacity:0;transform:translateX(-35px);filter:blur(6px);}
  to{opacity:1;transform:translateX(0);filter:blur(0);}
}

/* =========================================================
   MONITOR / YOUTUBE DESKTOP
========================================================= */

.empirico-monitor-video{
  position:absolute;
  left:33.1%;
  top:30%;
  width:33.8%;
  height:35.5%;
  z-index:30;
  background:#000;
  overflow:hidden;
}

.empirico-monitor-video iframe{
  width:100%;
  height:100%;
  display:block;
  border:0 !important;
  margin-left:-0.1px;
  margin-top:-1.1px;
  transform:scale(1.03);
  transform-origin:center center;
}

/* =========================================================
   PANTALLA BEATS
========================================================= */

.empirico-coming-screen{
  position:absolute;
  inset:0;
  z-index:20;
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  background:radial-gradient(circle at center, rgba(var(--etv-glow-rgb),.16), rgba(0,0,0,.96) 68%), #000;
  color:#fff;
  pointer-events:none;
}

.empirico-coming-screen span{
  margin-bottom:10px;
  color:var(--red);
  font-size:11px;
  font-weight:800;
  letter-spacing:3px;
}

.empirico-coming-screen h3{
  margin:0;
  color:#fff;
  font-size:clamp(32px,4vw,70px);
  line-height:.9;
  letter-spacing:1px;
  text-shadow:0 0 10px rgba(var(--etv-glow-rgb),.45), 0 0 22px rgba(var(--etv-glow-rgb),.30);
}

.empirico-coming-screen p{
  margin:10px 0 0;
  color:rgba(255,255,255,.65);
  font-size:12px;
  letter-spacing:3px;
}

.empirico-monitor-video.coming-active iframe{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

.empirico-monitor-video.coming-active .empirico-coming-screen{
  display:flex !important;
}

.empirico-audio-player{
  position:relative;
  z-index:40;
  width:72%;
  max-width:330px;
  margin-top:14px;
  pointer-events:auto;
}

.empirico-audio-player audio{
  display:block;
  width:100%;
  height:32px;
  filter:drop-shadow(0 0 14px rgba(var(--etv-glow-rgb),.28));
}

/* =========================================================
   PANTALLA "SIN SEÑAL" (TV VIEJA) AL CARGAR
========================================================= */

.empirico-tv-static{
  position:absolute;
  inset:0;
  z-index:45;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#050505;
  opacity:1;
  transition:opacity .3s ease;
  pointer-events:none;
}

.empirico-tv-static.is-fading{
  opacity:0;
}

.empirico-tv-static.is-hidden{
  display:none;
}

.tv-static-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:.5;
  filter:contrast(1.2) brightness(.85);
  image-rendering:pixelated;
  image-rendering:crisp-edges;
  animation:empiricoStaticJitter .12s steps(2,end) infinite;
}

.tv-static-scanlines{
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,.4) 0,
    rgba(0,0,0,.4) 1px,
    transparent 2px,
    transparent 3px
  );
  mix-blend-mode:multiply;
}

.tv-static-vignette{
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,.8) 100%);
}

.tv-static-label{
  position:relative;
  z-index:2;
  text-align:center;
  animation:empiricoStaticTextBlink 1s steps(1,end) infinite;
}

.tv-static-label strong{
  display:block;
  font-family:var(--font-display);
  font-size:24px;
  font-weight:400;
  letter-spacing:3px;
  text-transform:uppercase;
  color:#eaeaea;
  text-shadow:0 0 6px rgba(var(--etv-glow-rgb),.55), 0 0 16px rgba(0,0,0,.85);
}

.tv-static-label span{
  display:block;
  margin-top:6px;
  font-family:var(--font-ui);
  font-size:9px;
  letter-spacing:2.4px;
  color:rgba(255,255,255,.55);
}

@keyframes empiricoStaticJitter{
  0%{transform:translate(0,0);}
  50%{transform:translate(-1px,1px);}
  100%{transform:translate(1px,-1px);}
}

@keyframes empiricoStaticTextBlink{
  0%,60%{opacity:1;}
  61%,100%{opacity:.4;}
}

/* =========================================================
   BOX DERECHO / PLAYLIST
========================================================= */

.empirico-playlist-box{
  position:absolute;
  right:5.2%;
  top:43%;
  transform:translateY(-50%);
  z-index:25;
  width:17.6%;
  height:auto;
  min-height:0;
  max-height:70%;
  padding:11px;
  overflow-y:auto;
  border:1px solid rgba(var(--etv-glow-rgb),.28);
  background:rgba(0,0,0,var(--etv-pl-bg));
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  box-shadow:0 0 28px rgba(var(--etv-glow-rgb),.18);
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.empirico-playlist-box::-webkit-scrollbar{display:none;}

.empirico-playlist-box.initial-in{
  opacity:0;
  animation:empiricoPlaylistInitialIn .8s ease forwards;
  animation-delay:.45s;
}

.empirico-playlist-box.animate{animation:empiricoPlaylistIn .7s ease forwards;}

@keyframes empiricoPlaylistInitialIn{
  from{opacity:0;transform:translate(35px,-50%);filter:blur(6px);}
  to{opacity:1;transform:translate(0,-50%);filter:blur(0);}
}

@keyframes empiricoPlaylistIn{
  from{opacity:0;transform:translate(35px,-50%);filter:blur(6px);}
  to{opacity:1;transform:translate(0,-50%);filter:blur(0);}
}

.playlist-title{margin:0 0 9px;}

.playlist-title span{
  color:var(--red);
  font-size:11.5px;
  font-weight:800;
  letter-spacing:1.7px;
  line-height:1;
}

.playlist-card{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) 12px;
  gap:9px;
  align-items:center;
  width:100%;
  min-height:0;
  margin-top:9px;
  padding:9px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.45);
  cursor:pointer;
  transition:.25s ease;
}

.playlist-card.active,
.playlist-card:hover{
  border-color:var(--red);
  background:rgba(var(--etv-glow-rgb),.08);
  box-shadow:0 0 18px rgba(var(--etv-glow-rgb),.28);
}

.playlist-card img{
  display:block;
  width:52px;
  min-width:52px;
  height:36px;
  object-fit:cover;
  filter:saturate(.8) contrast(1.15);
}

.playlist-card h4{
  margin:0;
  color:#fff;
  font-size:12px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.playlist-card p{
  margin:4px 0 0;
  color:rgba(255,255,255,.68);
  font-size:9px;
  line-height:1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.playlist-card strong{
  color:#777;
  font-size:20px;
  line-height:1;
  text-align:right;
}

/* =========================================================
   BEATS ZONE
========================================================= */

.empirico-playlist-box.is-beats-box{
  right:3.7%;
  top:45%;
  width:20.8%;
  max-height:64%;
  padding:10px;
}

.empirico-playlist-box.is-beats-box .playlist-title span{
  font-size:11px;
  letter-spacing:1.45px;
}

.empirico-playlist-box.is-beats-box .playlist-card.beat-card{
  grid-template-columns:46px minmax(0,1fr);
  gap:8px;
  padding:8px;
  margin-top:8px;
}

.coming-thumb{
  display:flex;
  align-items:center;
  justify-content:center;
  width:46px;
  min-width:46px;
  height:33px;
  border:1px solid rgba(var(--etv-glow-rgb),.32);
  background:radial-gradient(circle at center, rgba(var(--etv-glow-rgb),.20), rgba(0,0,0,.85)), #050505;
  color:#fff;
  font-size:10px;
  line-height:.9;
  letter-spacing:.4px;
  text-align:center;
  text-shadow:0 0 8px rgba(var(--etv-glow-rgb),.45);
}

.beat-info{
  min-width:0;
  width:100%;
  overflow:hidden;
}

.empirico-playlist-box.is-beats-box .playlist-card h4{
  font-size:10.8px;
}

.empirico-playlist-box.is-beats-box .playlist-card p{
  font-size:8.2px;
  margin-top:3px;
}

.beat-action-row{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:nowrap;
  gap:5px;
  width:100%;
  margin-top:6px;
  overflow:visible;
}

.empirico-stage .beat-control-btn,
.empirico-stage .beat-download-btn{
  all:unset;
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:20px !important;
  min-height:20px !important;
  max-height:20px !important;
  padding:0 6px !important;
  border:1px solid rgba(var(--etv-glow-rgb),.55) !important;
  background:rgba(var(--etv-glow-rgb),.12) !important;
  color:#fff !important;
  font-family:var(--font-ui) !important;
  font-size:6.8px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.18px !important;
  text-transform:uppercase !important;
  text-decoration:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
  cursor:pointer !important;
  white-space:nowrap !important;
  appearance:none !important;
  -webkit-appearance:none !important;
}

.empirico-stage .beat-control-btn{width:42px !important;min-width:42px !important;}
.empirico-stage .beat-download-btn{width:76px !important;min-width:76px !important;}

.empirico-stage .beat-control-btn:hover,
.empirico-stage .beat-download-btn:hover{
  background:rgba(var(--etv-glow-rgb),.32) !important;
  box-shadow:0 0 10px rgba(var(--etv-glow-rgb),.24) !important;
}

.empirico-stage .beat-control-btn.is-playing{
  background:rgba(var(--etv-glow-rgb),.36) !important;
  border-color:rgba(var(--etv-glow-rgb),.85) !important;
}

/* =========================================================
   BOTONES DEL DESK
========================================================= */

.empirico-desk-tabs{
  position:absolute;
  inset:0;
  z-index:80;
  pointer-events:none;
}

.desk-btn{
  position:absolute;
  pointer-events:auto;
  min-width:0;
  padding:0;
  background:none !important;
  border:none !important;
  box-shadow:none !important;
  outline:none !important;
  color:rgba(255,255,255,.88) !important;
  font-size:7px;
  line-height:1;
  font-weight:900;
  letter-spacing:.45px;
  text-align:center;
  text-transform:uppercase;
  text-shadow:0 0 4px rgba(255,255,255,.35), 0 0 8px rgba(var(--etv-glow-rgb),.35);
  cursor:pointer;
}

.desk-btn.active{
  color:#fff !important;
  text-shadow:0 0 6px rgb(var(--etv-glow-rgb)), 0 0 12px rgb(var(--etv-glow-rgb)), 0 0 20px rgb(var(--etv-glow-rgb)) !important;
}

.desk-videos{left:62.3%;top:82.1%;width:2.5%;height:1.5%;}
.desk-sessions{left:66.5%;top:82%;width:3.3%;height:1.5%;}
.desk-live{left:71.8%;top:82.2%;width:2.1%;height:1.5%;}

.empirico-mobile-mode-select{display:none;}

/* =========================================================
   ELEMENTOR EDITOR BASE
========================================================= */

body.elementor-editor-active .empirico-tv-shortcode .empirico-stage,
body.elementor-editor-preview .empirico-tv-shortcode .empirico-stage,
.elementor-editor-active .empirico-tv-shortcode .empirico-stage,
.elementor-editor-preview .empirico-tv-shortcode .empirico-stage{
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

body.elementor-editor-active .empirico-tv-shortcode .empirico-bg,
body.elementor-editor-preview .empirico-tv-shortcode .empirico-bg,
.elementor-editor-active .empirico-tv-shortcode .empirico-bg,
.elementor-editor-preview .empirico-tv-shortcode .empirico-bg{
  width:100% !important;
  max-width:100% !important;
}

/* =========================================================
   HORIZONTAL / IPHONE PRO MAX / TABLET LANDSCAPE
========================================================= */

@media (min-width:768px) and (max-width:950px) and (orientation:landscape){
  .empirico-left-text{left:5.3%;top:26.5%;max-width:210px;}
  .empirico-left-text span{font-size:11px;letter-spacing:.4px;}
  .empirico-left-text h1{font-size:49px;line-height:.82;}
  .empirico-left-text h2{font-size:25px;line-height:.88;margin-bottom:14px;}
  .empirico-left-text p{font-size:11.5px;line-height:1.35;max-width:200px;}

  .empirico-monitor-video{left:32.5%;top:30.1%;width:36%;height:36.5%;}
  .empirico-monitor-video iframe{transform:scale(1.025);margin:0;}

  .empirico-playlist-box{
    right:1.8%;
    top:45%;
    width:23.8%;
    max-height:66%;
    padding:8px;
  }

  .playlist-title span{font-size:9.6px;letter-spacing:1.25px;}

  .playlist-card{
    display:flex;
    grid-template-columns:none;
    align-items:center;
    gap:0;
    min-height:48px;
    padding:7px 9px;
    margin-top:8px;
    overflow:hidden;
  }

  .playlist-card img{
    flex:0 0 54px;
    width:54px;
    min-width:54px;
    max-width:54px;
    height:34px;
    margin:0 13px 0 0;
  }

  .playlist-card > div{flex:1 1 auto;min-width:0;width:auto;overflow:hidden;}
  .playlist-card h4{font-size:9.8px;}
  .playlist-card p{font-size:7.1px;margin-top:3px;}
  .playlist-card strong{flex:0 0 12px;width:12px;min-width:12px;margin-left:8px;font-size:17px;}

  .empirico-playlist-box.is-beats-box{
    right:1%;
    width:25.6%;
    max-height:66%;
    padding:8px;
  }

  .empirico-playlist-box.is-beats-box .playlist-card.beat-card{
    display:grid;
    grid-template-columns:37px minmax(0,1fr);
    gap:6px;
    padding:6px;
    margin-top:7px;
  }

  .empirico-playlist-box.is-beats-box .coming-thumb{width:37px;min-width:37px;height:26px;font-size:8px;}
  .empirico-playlist-box.is-beats-box .playlist-card h4{font-size:8.5px;}
  .empirico-playlist-box.is-beats-box .playlist-card p{font-size:6.5px;}
  .empirico-stage .beat-control-btn{width:32px !important;min-width:32px !important;height:16px !important;min-height:16px !important;max-height:16px !important;font-size:5.25px !important;padding:0 4px !important;}
  .empirico-stage .beat-download-btn{width:68px !important;min-width:68px !important;height:16px !important;min-height:16px !important;max-height:16px !important;font-size:5.25px !important;padding:0 4px !important;}

  .desk-btn{font-size:5.2px;letter-spacing:.18px;}
  .desk-videos{left:62%;top:82.25%;width:2.45%;height:1.25%;}
  .desk-sessions{left:66.2%;top:82.25%;width:3.25%;height:1.25%;}
  .desk-live{left:71.7%;top:82.25%;width:2.15%;height:1.25%;}
}

/* Cuando Elementor agranda el preview horizontal */
@media (min-width:951px) and (max-width:1280px) and (orientation:landscape){
  .empirico-left-text{left:6.1%;top:27%;max-width:230px;}
  .empirico-left-text span{font-size:11px;letter-spacing:.45px;}
  .empirico-left-text h1{font-size:54px;line-height:.82;}
  .empirico-left-text h2{font-size:28px;line-height:.88;margin-bottom:15px;}
  .empirico-left-text p{font-size:12.2px;line-height:1.35;max-width:220px;}

  .empirico-playlist-box:not(.is-beats-box){
    right:3.5%;
    top:45%;
    width:20.6%;
    max-height:65%;
    padding:9px;
  }

  .empirico-playlist-box:not(.is-beats-box) .playlist-card{
    display:flex;
    grid-template-columns:none;
    align-items:center;
    gap:0;
    min-height:48px;
    padding:7px 9px;
    margin-top:8px;
    overflow:hidden;
  }

  .empirico-playlist-box:not(.is-beats-box) .playlist-card img{
    flex:0 0 54px;
    width:54px;
    min-width:54px;
    max-width:54px;
    height:34px;
    margin:0 13px 0 0;
  }

  .empirico-playlist-box:not(.is-beats-box) .playlist-card > div{flex:1 1 auto;min-width:0;overflow:hidden;}
  .empirico-playlist-box:not(.is-beats-box) .playlist-card h4{font-size:9.8px;}
  .empirico-playlist-box:not(.is-beats-box) .playlist-card p{font-size:7.1px;margin-top:3px;}
  .empirico-playlist-box:not(.is-beats-box) .playlist-card strong{flex:0 0 12px;width:12px;min-width:12px;margin-left:8px;font-size:17px;}

  .empirico-playlist-box.is-beats-box{right:2.8%;top:45%;width:22%;max-height:63%;padding:8px;}

  .desk-btn{font-size:5px;letter-spacing:.12px;}
}

/* =========================================================
   MOBILE VERTICAL LIMPIO
   Este es el ÚNICO bloque que controla el monitor en portrait.
   Ajuste rápido: cambia solo estas variables.
========================================================= */

@media (max-width:767px) and (orientation:portrait){
  .empirico-tv-shortcode{
    --mobile-monitor-left:20.4vw;
    --mobile-monitor-top:17vw;
    --mobile-monitor-width:59.5vw;
    --mobile-monitor-height:34vw;
    --mobile-hero-crop-top:20vw;
  }

  .empirico-stage{
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    height:auto;
    min-height:0;
    overflow:visible;
    padding-bottom:36px;
    background:#000;
    box-shadow:0 45px 55px rgba(0,0,0,.95), 0 90px 95px rgba(0,0,0,.75);
    overflow-anchor:none;
  }

  body.elementor-editor-active .empirico-tv-shortcode .empirico-stage,
  body.elementor-editor-preview .empirico-tv-shortcode .empirico-stage,
  .elementor-editor-active .empirico-tv-shortcode .empirico-stage,
  .elementor-editor-preview .empirico-tv-shortcode .empirico-stage{
    width:100%;
    max-width:100%;
    margin-left:0;
    margin-right:0;
  }

  .empirico-picture{
    position:relative;
    display:block;
    width:100%;
    height:auto;
    overflow:hidden;
  }

  .empirico-bg{
    display:block;
    width:100%;
    height:auto;
    object-fit:contain;
    object-position:center top;
    margin-top:calc(-1 * var(--mobile-hero-crop-top));
  }

  .empirico-left-text{display:none !important;}

  .empirico-monitor-video{
    position:absolute;
    left:var(--mobile-monitor-left);
    top:var(--mobile-monitor-top);
    width:var(--mobile-monitor-width);
    height:var(--mobile-monitor-height);
    transform:none;
    z-index:30;
    background:#000;
    overflow:hidden;
  }

  .empirico-monitor-video iframe{
    width:100%;
    height:100%;
    display:block;
    border:0 !important;
    margin:0;
    transform:scale(1.01);
    transform-origin:center center;
  }

  .empirico-desk-tabs{display:none !important;}

  .empirico-playlist-box,
  .empirico-playlist-box.is-beats-box{
    display:block;
    position:relative;
    left:auto;
    right:auto;
    top:auto;
    bottom:auto;
    transform:none !important;
    width:88%;
    max-width:430px;
    height:auto;
    min-height:0;
    max-height:none;
    margin:24px auto 0;
    padding:16px;
    overflow:visible;
    z-index:60;
    overflow-anchor:none;
  }

  .empirico-mobile-mode-select{
    display:block;
    width:100%;
    margin:0 0 14px;
  }

  .empirico-mobile-mode-select label{
    display:block;
    margin:0 0 8px;
    color:var(--red);
    font-size:10px;
    font-weight:900;
    letter-spacing:1.6px;
    text-transform:uppercase;
    line-height:1;
  }

  /* =========================================
     BOTONES DE COLECCIÓN — SOLO MOBILE
  ========================================= */

  .empirico-mobile-mode-buttons{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    width:100%;
    gap:5px;
  }

  .empirico-stage .empirico-mobile-mode-btn{
    all:unset;
    box-sizing:border-box !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-width:0 !important;
    height:38px !important;
    padding:0 4px !important;
    border:1px solid rgba(255,255,255,.22) !important;
    background:rgba(0,0,0,.72) !important;
    color:rgba(255,255,255,.78) !important;
    font-family:var(--font-ui) !important;
    font-size:8.5px !important;
    font-weight:900 !important;
    line-height:1 !important;
    letter-spacing:.15px !important;
    text-transform:uppercase !important;
    text-align:center !important;
    white-space:nowrap !important;
    cursor:pointer !important;
    border-radius:0 !important;
    transition:background .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease !important;
  }

  .empirico-stage .empirico-mobile-mode-btn.active{
    border-color:var(--red) !important;
    background:rgba(var(--etv-glow-rgb),.13) !important;
    color:#fff !important;
    box-shadow:0 0 12px rgba(var(--etv-glow-rgb),.22),inset 0 0 8px rgba(var(--etv-glow-rgb),.08) !important;
  }

  .empirico-stage .empirico-mobile-mode-btn:active{
    background:rgba(var(--etv-glow-rgb),.22) !important;
  }

  .playlist-title span,
  .empirico-playlist-box.is-beats-box .playlist-title span{font-size:14px;letter-spacing:1.8px;}

  .playlist-card,
  .empirico-playlist-box.is-beats-box .playlist-card.beat-card{
    display:grid;
    grid-template-columns:82px minmax(0,1fr) 16px;
    gap:12px;
    padding:10px;
    margin-top:10px;
  }

  .empirico-playlist-box.is-beats-box .playlist-card.beat-card{grid-template-columns:70px minmax(0,1fr);}

  .playlist-card img{width:82px;height:52px;}
  .coming-thumb{width:70px;min-width:70px;height:50px;font-size:15px;}
  .playlist-card h4,.empirico-playlist-box.is-beats-box .playlist-card h4{font-size:16px;}
  .playlist-card p,.empirico-playlist-box.is-beats-box .playlist-card p{font-size:11px;line-height:1.1;margin-top:5px;}
  .playlist-card strong{font-size:24px;}

  .beat-action-row{flex-wrap:wrap;gap:7px;margin-top:9px;}
  .empirico-stage .beat-control-btn,.empirico-stage .beat-download-btn{height:26px !important;min-height:26px !important;max-height:26px !important;font-size:8px !important;padding:0 9px !important;}
  .empirico-stage .beat-control-btn{width:56px !important;min-width:56px !important;}
  .empirico-stage .beat-download-btn{width:92px !important;min-width:92px !important;}

  .empirico-coming-screen span{font-size:8px;letter-spacing:2px;margin-bottom:5px;}
  .empirico-coming-screen h3{font-size:28px;}
  .empirico-coming-screen p{font-size:8px;letter-spacing:2px;margin-top:6px;}
  .empirico-audio-player{width:86%;margin-top:8px;}
  .empirico-audio-player audio{height:30px;}
}


/* =========================================================
   MOBILE VERTICAL - BOX DEBAJO DE LA IMAGEN
========================================================= */

@media (max-width:767px) and (orientation:portrait){

  .empirico-tv-shortcode .empirico-picture{
    height:auto !important;
  }

  .empirico-tv-shortcode .empirico-bg{
    width:100% !important;
    height:auto !important;
    display:block !important;
    object-fit:contain !important;
    object-position:center top !important;
  }

  .empirico-tv-shortcode .empirico-stage{
    padding-bottom:0 !important;
  }

}

/* =========================================================
   PLAYLIST — ALTURA FIJA + SCROLL INTERNO (EMPÍRICO TV 1.0.0)
   ---------------------------------------------------------
   Corrección P-7. El recuadro (.empirico-playlist-box) tiene una altura
   exterior FIJA, igual en Videos, Sesiones y Beats, calculada con las
   medidas reales de la playlist de Sesiones (5 filas) en cada breakpoint:

     alto = borde 2px + padding×2 + encabezado + separación
            + filas × alto de card + (filas − 1) × margen entre cards

   El encabezado (.empirico-playlist-head: selector móvil + título) queda
   fijo y solo se desplaza .empirico-playlist-scroll. La posición del
   recuadro (top/right/width/translate), el monitor y los controles no cambian.
   Filas visibles: --etv-pl-rows (escritorio, 5) y --etv-pl-rows-m (móvil, 4.5),
   definidas en el atributo style del shortcode desde Apariencia.
========================================================= */

.empirico-tv-shortcode{
  --etv-pl-rows:5;
  --etv-pl-rows-m:4.5;
  --etv-sb:4px;
  --etv-pl-gap:9px;
  /* Escritorio: padding 11 · título 24 · card 55.6 · margen 9  => 371px con 5 filas */
  --etv-pl-h:calc(2px + 22px + 24px + 9px + var(--etv-pl-rows) * 55.6px + (var(--etv-pl-rows) - 1) * 9px);
}

.empirico-tv-shortcode .empirico-playlist-box{
  --etv-bp:11px;
  display:flex;
  flex-direction:column;
  height:var(--etv-pl-h);
  min-height:0;
  overflow:hidden;
}

.empirico-tv-shortcode .empirico-playlist-box.is-beats-box{
  --etv-bp:10px;
  max-height:70%;
}

.empirico-tv-shortcode .empirico-playlist-head{
  flex:0 0 auto;
  min-width:0;
}

.empirico-tv-shortcode .empirico-playlist-head .playlist-title{
  margin:0;
  font-size:16px;
  line-height:1.5;
}

.empirico-tv-shortcode .empirico-playlist-scroll{
  flex:1 1 auto;
  min-height:0;
  margin:0 calc(-1 * var(--etv-bp)) calc(-1 * var(--etv-bp));
  padding:0 calc(var(--etv-bp) - var(--etv-sb)) var(--etv-bp) var(--etv-bp);
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  -webkit-overflow-scrolling:touch;
}

.empirico-tv-shortcode .empirico-playlist-scroll > .playlist-card:first-child{
  margin-top:var(--etv-pl-gap);
}

/* Barra roja, delgada y discreta (Chrome, Edge, Safari) */
.empirico-tv-shortcode .empirico-playlist-scroll::-webkit-scrollbar{
  display:block;
  width:var(--etv-sb);
}

.empirico-tv-shortcode .empirico-playlist-scroll::-webkit-scrollbar-track{
  background:transparent;
}

.empirico-tv-shortcode .empirico-playlist-scroll::-webkit-scrollbar-thumb{
  background:rgba(var(--etv-glow-rgb),.55);
  border-radius:0;
}

.empirico-tv-shortcode .empirico-playlist-scroll:hover::-webkit-scrollbar-thumb{
  background:rgba(var(--etv-glow-rgb),.85);
}

/* Firefox */
@supports (-moz-appearance:none){
  .empirico-tv-shortcode .empirico-playlist-scroll{
    scrollbar-width:thin;
    scrollbar-color:rgba(var(--etv-glow-rgb),.6) transparent;
  }
}

.empirico-tv-shortcode .empirico-playlist-scroll:focus{
  outline:none;
}

.empirico-tv-shortcode .empirico-playlist-scroll:focus-visible{
  outline:1px solid rgba(var(--etv-glow-rgb),.55);
  outline-offset:-1px;
}

/* Horizontal 768–950 (padding 8 · card 49.6 · margen 8 · tope 66%) */
@media (min-width:768px) and (max-width:950px) and (orientation:landscape){
  .empirico-tv-shortcode{
    --etv-pl-h:calc(2px + 16px + 24px + 9px + var(--etv-pl-rows) * 49.6px + (var(--etv-pl-rows) - 1) * 8px);
  }

  .empirico-tv-shortcode .empirico-playlist-box,
  .empirico-tv-shortcode .empirico-playlist-box.is-beats-box{
    --etv-bp:8px;
    max-height:66%;
  }
}

/* Horizontal 951–1280 (padding 9 · card 49.6 · margen 8 · tope 65%) */
@media (min-width:951px) and (max-width:1280px) and (orientation:landscape){
  .empirico-tv-shortcode{
    --etv-pl-h:calc(2px + 18px + 24px + 9px + var(--etv-pl-rows) * 49.6px + (var(--etv-pl-rows) - 1) * 8px);
  }

  .empirico-tv-shortcode .empirico-playlist-box{
    --etv-bp:9px;
  }

  .empirico-tv-shortcode .empirico-playlist-box.is-beats-box{
    --etv-bp:8px;
    max-height:65%;
  }
}

/* Móvil vertical: 4,5 cards visibles, selector y título siempre visibles.
   Selector 56 + 14 · título 24 · separación 10 · card 73.6 · margen 10 · padding 16 */
@media (max-width:767px) and (orientation:portrait){
  .empirico-tv-shortcode{
    --etv-pl-gap:10px;
    --etv-pl-h:calc(2px + 32px + 56px + 14px + 24px + 10px + var(--etv-pl-rows-m) * 73.6px + (var(--etv-pl-rows-m) - 1) * 10px);
  }

  .empirico-tv-shortcode .empirico-playlist-box,
  .empirico-tv-shortcode .empirico-playlist-box.is-beats-box{
    --etv-bp:16px;
    display:flex;
    height:var(--etv-pl-h);
    max-height:82vh;
    overflow:hidden;
  }

  .empirico-tv-shortcode .empirico-playlist-scroll{
    margin:0 calc(-1 * var(--etv-bp)) calc(-1 * var(--etv-bp));
    padding:0 var(--etv-bp) var(--etv-bp);
    scrollbar-gutter:auto;
    /* Al llegar al final de la lista, el gesto continúa desplazando la página. */
    overscroll-behavior-y:auto;
  }

  .empirico-tv-shortcode .empirico-playlist-scroll::-webkit-scrollbar{
    width:3px;
  }
}

@supports (height:1svh){
  @media (max-width:767px) and (orientation:portrait){
    .empirico-tv-shortcode .empirico-playlist-box,
    .empirico-tv-shortcode .empirico-playlist-box.is-beats-box{
      max-height:82svh;
    }
  }
}
