/*
Theme Name: EstanislaoDelacruz
Theme URI: https://example.com/
Author: Estanislao
Description: Tema de video limpio y moderno inspirado en portales de video con navegación lateral, grids compactos, Shorts, actores, categorías, subida de videos y publicidad configurable.
Version: 8.1.6
Text Domain: estanislaodelacruz
*/
:root{
  --bg:#0f0f10; --panel:#18181a; --panel2:#202023; --line:#2b2b2f;
  --text:#f2f2f3; --muted:#9f9fa6; --accent:#ff2d78; --accent2:#ff5c99;
  --good:#2ecc71; --radius:12px; --sidebar:220px; --header:58px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.edc-header{position:sticky;top:0;z-index:50;height:var(--header);display:flex;align-items:center;gap:16px;padding:8px 14px;background:#161617;border-bottom:1px solid #252527}
.edc-logo{font-weight:800;font-size:22px;letter-spacing:-.5px;white-space:nowrap}
.edc-logo span{color:var(--accent)}
.edc-search{flex:1;max-width:980px;margin:auto;position:relative}
.edc-search input{width:100%;height:40px;border:0;border-radius:8px;background:#f5f5f5;color:#111;padding:0 44px 0 14px;outline:none}
.edc-search button{position:absolute;right:0;top:0;width:44px;height:40px;border:0;background:transparent;cursor:pointer}
.edc-header-actions{display:flex;gap:8px;align-items:center;white-space:nowrap}
.edc-btn{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:8px;background:#232326;border:1px solid #303034;font-size:13px;font-weight:700}
.edc-btn:hover{background:#2d2d31}
.edc-btn-accent{background:var(--accent);border-color:var(--accent)}
.edc-layout{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:calc(100vh - var(--header))}
.edc-sidebar{position:sticky;top:var(--header);height:calc(100vh - var(--header));overflow:auto;background:#1a1a1c;border-right:1px solid #29292c;padding:12px 0}
.edc-side-title{padding:8px 16px 6px;color:#c9c9ce;font-size:12px;font-weight:800;text-transform:uppercase}
.edc-side-link{display:flex;align-items:center;gap:11px;padding:10px 16px;color:#e5e5e7;font-size:14px;font-weight:650}
.edc-side-link:hover,.edc-side-link.active{background:#262629;color:#fff}
.edc-side-link .ico{width:22px;text-align:center;font-size:17px}
.edc-side-sep{height:1px;background:#2b2b2e;margin:8px 0}
.edc-main{min-width:0;padding:14px 18px 40px}
.edc-hero-ad{display:flex;align-items:center;gap:12px;min-height:64px;border:1px solid #29292c;background:#171719;border-radius:8px;padding:8px 12px;margin-bottom:14px}
.edc-hero-ad img{width:54px;height:54px;border-radius:8px;object-fit:cover}
.edc-section{margin:0 0 22px}
.edc-section-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 10px}
.edc-section-title{font-size:18px;font-weight:800}
.edc-section-sub{color:var(--muted);font-size:12px;margin-top:2px}
.edc-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.edc-grid-compact{grid-template-columns:repeat(8,minmax(0,1fr))}
.edc-card{min-width:0}
.edc-thumb{position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#222}
.edc-thumb.portrait{aspect-ratio:4/5}
.edc-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .2s}
.edc-card:hover .edc-thumb img{transform:scale(1.03)}
.edc-badge{position:absolute;right:5px;bottom:5px;padding:2px 5px;border-radius:4px;background:rgba(0,0,0,.78);font-size:10px;font-weight:800}
.edc-hd{left:5px;right:auto;background:rgba(255,45,120,.95)}
.edc-card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:7px 2px 3px;font-size:13px;line-height:1.25;font-weight:760}
.edc-meta{color:var(--muted);font-size:11px;margin:2px}
.edc-meta strong{color:var(--good)}
.edc-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);overflow-x:auto;gap:10px;padding-bottom:4px;scrollbar-width:thin}
.edc-strip .edc-thumb{aspect-ratio:4/5}
.edc-content-box{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:18px}
.edc-player-wrap{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px}
.edc-player{background:#000;border-radius:12px;overflow:hidden;aspect-ratio:16/9}
.edc-player video,.edc-player iframe{width:100%;height:100%;border:0}
.edc-ads{display:grid;gap:12px}
.edc-ad-box{min-height:250px;background:#18181a;border:1px dashed #3b3b40;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#6e6e74;font-size:12px;text-align:center;padding:12px}
.edc-tax-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.edc-tax-card{background:#171719;border:1px solid #29292c;border-radius:12px;overflow:hidden}
.edc-tax-card img{width:100%;aspect-ratio:4/5;object-fit:cover}
.edc-tax-card .body{padding:10px 11px}
.edc-tax-card h3{font-size:15px;margin:0 0 4px}
.edc-form{display:grid;gap:12px;max-width:820px}
.edc-form input,.edc-form textarea,.edc-form select{width:100%;background:#111114;border:1px solid #303036;color:#fff;border-radius:8px;padding:11px}
.edc-form button{width:max-content}
.edc-mobile-menu{display:none}
.edc-pagination{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px}
.edc-pagination .page-numbers{background:#232326;padding:8px 11px;border-radius:7px}
.edc-pagination .current{background:var(--accent)}
@media(max-width:1400px){.edc-grid{grid-template-columns:repeat(5,1fr)}.edc-grid-compact{grid-template-columns:repeat(6,1fr)}}
@media(max-width:1100px){.edc-grid{grid-template-columns:repeat(4,1fr)}.edc-grid-compact{grid-template-columns:repeat(5,1fr)}.edc-player-wrap{grid-template-columns:1fr}.edc-ads{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){
  :root{--sidebar:0px}
  .edc-layout{display:block}
  .edc-sidebar{position:fixed;left:-260px;top:var(--header);width:240px;z-index:70;transition:left .2s;box-shadow:10px 0 30px rgba(0,0,0,.35)}
  body.edc-menu-open .edc-sidebar{left:0}
  .edc-mobile-menu{display:inline-flex}
  .edc-header{gap:8px}.edc-logo{font-size:18px}.edc-header-actions .hide-mobile{display:none}
  .edc-main{padding:12px}
  .edc-grid,.edc-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .edc-tax-grid{grid-template-columns:repeat(2,1fr)}
  .edc-ads{grid-template-columns:1fr}
}


/* =========================================================
   v7.0.1 - Anuncios visibles y responsive en móvil
   ========================================================= */

/* Cualquier creativo debe respetar el ancho disponible */
.edc-hero-ad,
.edc-ad-box,
.edc-ads{
  max-width:100%;
}

.edc-hero-ad iframe,
.edc-hero-ad img,
.edc-hero-ad video,
.edc-hero-ad ins,
.edc-hero-ad object,
.edc-hero-ad embed,
.edc-ad-box iframe,
.edc-ad-box img,
.edc-ad-box video,
.edc-ad-box ins,
.edc-ad-box object,
.edc-ad-box embed{
  max-width:100% !important;
}

/* Centrar códigos publicitarios de tamaño fijo */
.edc-hero-ad > *,
.edc-ad-box > *{
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Evitar que un iframe de publicidad se corte */
.edc-ad-box{
  overflow:visible !important;
}

@media(max-width:820px){

  /* Banner superior visible en teléfonos */
  .edc-hero-ad{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    width:100% !important;
    min-height:60px;
    margin:0 0 14px !important;
    padding:8px !important;
    align-items:center !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    overflow:visible !important;
  }

  /* Los tres anuncios del reproductor bajan debajo del video */
  .edc-player-wrap{
    display:grid !important;
    grid-template-columns:1fr !important;
    width:100% !important;
    overflow:visible !important;
  }

  .edc-ads{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
    width:100% !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  .edc-ad-box{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    width:100% !important;
    max-width:100% !important;
    min-height:250px !important;
    padding:8px !important;
    margin:0 auto !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:visible !important;
  }

  /*
   * Creativos comunes 300x250 / 320x50 / 336x280:
   * nunca salen de la pantalla.
   */
  .edc-ad-box iframe,
  .edc-hero-ad iframe{
    display:block !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .edc-ad-box img,
  .edc-hero-ad img{
    width:auto !important;
    height:auto !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .edc-ad-box ins,
  .edc-hero-ad ins{
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}

/* Teléfonos pequeños */
@media(max-width:480px){
  .edc-main{
    overflow-x:hidden;
  }

  .edc-ad-box,
  .edc-hero-ad{
    max-width:calc(100vw - 24px) !important;
  }
}


/* v7.0.2 - integración de categorías/etiquetas/contenido actual */
.edc-tags-cloud{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.edc-tags-cloud a{background:#202023;border:1px solid #303036;border-radius:999px;padding:8px 12px;font-size:13px}
.edc-tags-cloud a:hover{border-color:var(--accent);color:#fff}
.edc-tags-cloud small{color:var(--muted);margin-left:4px}
.edc-short-player{max-width:420px;margin:0 auto;background:#000;border-radius:12px;overflow:hidden;aspect-ratio:9/16}
.edc-short-player video{width:100%;height:100%;object-fit:contain;background:#000}


/* =========================================================
   v8.0.0 FINAL CONTROL TOTAL
   ========================================================= */
body{background:var(--bg);color:var(--text)}
.edc-layout{grid-template-columns:var(--sidebar) minmax(0,1fr)}
.edc-sidebar{background:var(--panel)}
.edc-side-link{font-size:var(--edc-side-font)}
.edc-grid{gap:var(--edc-gap)}
.edc-topnav{background:#121214;border-bottom:1px solid #252527;position:sticky;top:var(--header);z-index:45}
.edc-top-menu{list-style:none;margin:0;padding:0 14px;display:flex;align-items:center;gap:4px;min-height:42px;overflow-x:auto}
.edc-top-menu li{margin:0}
.edc-top-menu a{display:block;padding:10px 12px;font-size:14px;font-weight:750;white-space:nowrap}
.edc-top-menu a:hover{color:var(--accent)}

.edc-top-layout{display:grid;grid-template-columns:minmax(0,1fr) var(--edc-home-ad-w);gap:18px;align-items:center}
.edc-top-layout.no-ad{grid-template-columns:1fr}
.edc-top-grid{grid-template-columns:repeat(var(--top-cols),minmax(0,1fr))}
.edc-home-ad{width:var(--edc-home-ad-w);height:var(--edc-home-ad-h);max-width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;margin:auto;background:#171719;border:1px solid #29292c;border-radius:10px}
.edc-home-ad iframe,.edc-home-ad img,.edc-home-ad video,.edc-home-ad ins{max-width:100%!important;max-height:100%!important;margin:auto!important}
.edc-section-more{font-size:12px;color:var(--accent);font-weight:800}
.edc-side-custom{list-style:none;margin:0;padding:0}.edc-side-custom li{list-style:none}.edc-side-custom a{display:flex;align-items:center;gap:10px;padding:10px 16px;font-size:var(--edc-side-font)}
.edc-side-widget{padding:8px 12px}
.edc-video-tools{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.edc-hd-button{background:var(--accent);border-color:var(--accent)}
.edc-entry-content{line-height:1.65;margin-top:14px}
.edc-tax-row{margin-top:10px;color:var(--muted);font-size:13px}.edc-tax-row a{color:#fff}
.edc-below-video-ad{display:flex;align-items:center;justify-content:center;margin:12px 0;max-width:100%;overflow:visible}
.edc-below-video-ad iframe,.edc-below-video-ad img,.edc-below-video-ad ins{max-width:100%!important}
.edc-like.is-liked{background:var(--good);border-color:var(--good)}
.edc-empty-player{height:100%;display:grid;place-items:center;color:#777}
.edc-success{border-color:var(--good);color:#dff8e8}
.edc-error{background:#441e1e;border:1px solid #993636;padding:10px;border-radius:8px;margin-bottom:12px}
.edc-auth-box{max-width:520px;margin:20px auto}
.edc-auth-box input{width:100%;background:#111114;border:1px solid #303036;color:#fff;border-radius:8px;padding:11px}
.edc-profile{max-width:900px;margin:auto}.edc-profile-head{display:flex;align-items:center;gap:14px}.edc-profile-head img{border-radius:50%}
.edc-profile-actions{display:flex;gap:8px;margin:14px 0}
.edc-my-videos{display:grid;gap:8px}.edc-my-videos>div{display:flex;justify-content:space-between;background:#111114;border:1px solid #303036;padding:10px;border-radius:8px}.edc-my-videos small{color:var(--muted)}
.edc-tax-desc{font-size:12px;color:var(--muted);margin:6px 0 0}

/* TikTok Shorts */
.edc-shorts-feed{height:calc(100vh - var(--header) - 10px);overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;max-width:620px;margin:0 auto}
.edc-shorts-feed::-webkit-scrollbar{display:none}
.edc-tiktok-short{height:calc(100vh - var(--header) - 10px);scroll-snap-align:start;display:grid;place-items:center;padding:8px 0}
.edc-tiktok-stage{position:relative;height:100%;max-height:860px;aspect-ratio:9/16;max-width:100%;background:#000;border-radius:16px;overflow:hidden}
.edc-tiktok-stage video,.edc-tiktok-stage>img{width:100%;height:100%;object-fit:contain;background:#000}
.edc-short-overlay{position:absolute;inset:0;pointer-events:none;background:linear-gradient(transparent 55%,rgba(0,0,0,.65))}
.edc-short-caption{position:absolute;left:14px;right:82px;bottom:22px;pointer-events:auto}.edc-short-caption h2{font-size:15px;margin:0 0 6px}.edc-short-caption div{font-size:12px}
.edc-short-actions{position:absolute;right:10px;bottom:22px;display:flex;flex-direction:column;gap:14px;align-items:center;pointer-events:auto}
.edc-short-action{border:0;background:transparent;color:#fff;font-size:24px;display:grid;justify-items:center;gap:2px;cursor:pointer;text-shadow:0 1px 4px #000}
.edc-short-action small{font-size:10px}
.edc-short-profile{position:relative;width:50px;height:50px;border:2px solid #fff;border-radius:50%;display:block}
.edc-short-profile img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.edc-short-profile b{position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:var(--accent);font-size:14px}
.edc-short-single{max-width:620px;margin:auto}

/* Ads responsive */
.edc-ad-box,.edc-below-video-ad,.edc-home-ad{max-width:100%}
.edc-ad-box iframe,.edc-ad-box img,.edc-ad-box ins,.edc-below-video-ad iframe,.edc-below-video-ad img,.edc-home-ad iframe,.edc-home-ad img{max-width:100%!important}

@media(max-width:1200px){
  .edc-top-layout{grid-template-columns:1fr}
  .edc-home-ad{width:min(100%,var(--edc-home-ad-w));height:auto;min-height:250px}
}
@media(max-width:820px){
  .edc-topnav{top:var(--header)}
  .edc-top-menu{padding:0 8px}
  .edc-header{height:auto;min-height:var(--header);flex-wrap:wrap}
  .edc-search{order:3;flex-basis:100%;max-width:none}
  .edc-header-actions{margin-left:auto}
  .edc-layout{display:block}
  .edc-sidebar{top:0;height:100vh;padding-top:68px}
  .edc-main{padding:10px}
  .edc-top-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .edc-grid,.edc-grid-compact{grid-template-columns:1fr}
  .edc-thumb{aspect-ratio:16/9}
  .edc-player-wrap{grid-template-columns:1fr}
  .edc-ads{grid-template-columns:1fr}
  .edc-home-ad{min-height:250px}
  .edc-tax-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .edc-shorts-feed{height:calc(100vh - 110px)}
  .edc-tiktok-short{height:calc(100vh - 110px)}
  .edc-tiktok-stage{width:min(100%,430px);height:100%}
}
@media(max-width:520px){
  .edc-header-actions .hide-mobile{display:none}
  .edc-btn{padding:8px 9px;font-size:12px}
  .edc-top-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .edc-tax-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .edc-tax-card .body{padding:8px}
  .edc-player{border-radius:8px}
}


/* v8.0.1 — Shorts de la HOME más compactos.
   No modifica la página TikTok de Shorts. */
.edc-strip .edc-card{
  flex:0 0 150px;
  max-width:150px;
}
.edc-strip .edc-card .edc-thumb.portrait{
  width:100%;
  aspect-ratio:9/14;
  max-height:235px;
}
.edc-strip .edc-card .edc-card-title{
  font-size:13px;
  line-height:1.25;
}

@media (max-width:820px){
  .edc-strip .edc-card{
    flex-basis:125px;
    max-width:125px;
  }
  .edc-strip .edc-card .edc-thumb.portrait{
    max-height:195px;
  }
}
@media (max-width:520px){
  .edc-strip{
    gap:8px;
  }
  .edc-strip .edc-card{
    flex-basis:112px;
    max-width:112px;
  }
  .edc-strip .edc-card .edc-thumb.portrait{
    max-height:174px;
  }
  .edc-strip .edc-card .edc-card-title{
    font-size:12px;
  }
}

/* v8.0.2 — menú hamburguesa blanco en móvil */
@media (max-width:820px){
  #edcMobileMenu,.edc-mobile-menu{
    color:#fff !important;
    border-color:rgba(255,255,255,.55) !important;
    background:rgba(255,255,255,.06) !important;
    font-size:25px !important;
    line-height:1 !important;
    font-weight:900 !important;
  }
  #edcMobileMenu:hover,.edc-mobile-menu:hover{
    color:#fff !important;
    border-color:#fff !important;
  }
}


/* v8.1 Homepage Widget + anuncios adicionales */
.edc-homepage-builder{margin-bottom:18px}
.edc-home-widget{margin-bottom:22px}
.edc-widget-banner-layout{display:grid;grid-template-columns:minmax(0,1fr) var(--edc-home-ad-w);gap:18px;align-items:center}
.edc-widget-ad{width:var(--edc-home-ad-w);height:var(--edc-home-ad-h);max-width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#171719;border:1px solid #29292c;border-radius:10px}
.edc-widget-ad iframe,.edc-widget-ad img,.edc-widget-ad ins,.edc-widget-ad video{max-width:100%!important;max-height:100%!important;margin:auto!important}
.edc-widget-ad-below{width:100%;height:auto;min-height:90px;margin-top:12px}
.edc-wide-ad{width:100%;max-width:100%;display:flex;align-items:center;justify-content:center;overflow:visible;margin:12px auto}
.edc-wide-ad iframe,.edc-wide-ad img,.edc-wide-ad ins,.edc-wide-ad video{max-width:100%!important;margin:auto!important}
.edc-header-ad{padding:8px 12px;background:#111;border-bottom:1px solid #29292c}
.edc-between-home-ad{margin:18px 0}
.edc-footer-ad{padding:12px;background:#111;border-top:1px solid #29292c}
.edc-side-ad{padding:10px;overflow:hidden}.edc-side-ad iframe,.edc-side-ad img,.edc-side-ad ins{max-width:100%!important}
@media(max-width:1200px){.edc-widget-banner-layout{grid-template-columns:1fr}.edc-widget-ad{width:min(100%,var(--edc-home-ad-w));height:auto;min-height:250px}}
@media(max-width:820px){.edc-widget-banner-layout{grid-template-columns:1fr}.edc-widget-ad{width:100%;height:auto;min-height:250px}}


/* =========================================================
   v8.1.4 Reproductor profesional
   ========================================================= */
.edc-player-pro{position:relative;overflow:hidden;background:#000}
.edc-player-pro video{width:100%;height:100%;display:block;object-fit:contain;background:#000}
.edc-player-topbadges{
  position:absolute;
  top:10px;
  left:10px;
  display:flex;
  gap:7px;
  z-index:4;
  pointer-events:none;
}
.edc-player-badge{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:4px 8px;
  background:rgba(0,0,0,.72);
  border:1px solid rgba(255,255,255,.28);
  border-radius:5px;
  color:#fff;
  font-size:12px;
  font-weight:800;
  backdrop-filter:blur(3px);
}
.edc-player-hd{
  background:var(--accent);
  border-color:var(--accent);
}
.edc-inplayer-ad{
  position:absolute;
  left:50%;
  bottom:54px;
  transform:translateX(-50%);
  z-index:8;
  width:min(90%,520px);
  min-height:90px;
  display:flex;
  justify-content:center;
  align-items:center;
  background:rgba(0,0,0,.78);
  border:1px solid rgba(255,255,255,.26);
  border-radius:8px;
  padding:10px;
  box-sizing:border-box;
}
.edc-inplayer-ad-content{
  max-width:100%;
  overflow:hidden;
  text-align:center;
}
.edc-inplayer-ad iframe,
.edc-inplayer-ad img,
.edc-inplayer-ad ins,
.edc-inplayer-ad video{
  max-width:100%!important;
  max-height:220px!important;
}
.edc-inplayer-close{
  position:absolute;
  right:-8px;
  top:-8px;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border:2px solid #fff;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  z-index:9;
}
.edc-video-tools{margin-top:9px}

@media(max-width:820px){
  .edc-player-topbadges{top:7px;left:7px}
  .edc-player-badge{font-size:11px;min-height:24px}
  .edc-inplayer-ad{
    bottom:48px;
    width:calc(100% - 24px);
    min-height:70px;
  }
}


/* =========================================================
   v8.1.5 Taxonomías profesionales debajo del video
   ========================================================= */
.edc-video-taxonomies{
  display:grid;
  gap:12px;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.08);
}
.edc-tax-group{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  border-radius:12px;
  padding:12px;
  background:linear-gradient(135deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
}
.edc-tax-group:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  border-radius:12px 0 0 12px;
}
.edc-tax-heading{
  display:flex;
  align-items:center;
  gap:7px;
  margin-bottom:9px;
  font-size:13px;
  letter-spacing:.1px;
}
.edc-tax-heading-icon{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:7px;
  font-size:13px;
  font-weight:900;
}
.edc-tax-chips{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.edc-tax-chip{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:12px;
  font-weight:750;
  line-height:1;
  transition:transform .16s ease,filter .16s ease,border-color .16s ease;
}
.edc-tax-chip:hover{
  transform:translateY(-1px);
  filter:brightness(1.09);
}

/* Categorías: azul */
.edc-tax-categories:before{background:#2f80ed}
.edc-tax-categories .edc-tax-heading-icon{
  color:#dcecff;
  background:rgba(47,128,237,.20);
  border:1px solid rgba(47,128,237,.35);
}
.edc-tax-categories .edc-tax-chip{
  color:#dcecff;
  background:rgba(47,128,237,.13);
  border-color:rgba(47,128,237,.28);
}

/* Actores: dorado/naranja */
.edc-tax-actors:before{background:#f2a900}
.edc-tax-actors .edc-tax-heading-icon{
  color:#fff0bd;
  background:rgba(242,169,0,.19);
  border:1px solid rgba(242,169,0,.34);
}
.edc-tax-actors .edc-tax-chip{
  color:#fff0bd;
  background:rgba(242,169,0,.12);
  border-color:rgba(242,169,0,.27);
}

/* Etiquetas: rosa/magenta, alineado con el tema */
.edc-tax-tags:before{background:var(--accent)}
.edc-tax-tags .edc-tax-heading-icon{
  color:#ffdbea;
  background:color-mix(in srgb,var(--accent) 20%,transparent);
  border:1px solid color-mix(in srgb,var(--accent) 38%,transparent);
}
.edc-tax-tags .edc-tax-chip{
  color:#ffe0ed;
  background:color-mix(in srgb,var(--accent) 13%,transparent);
  border-color:color-mix(in srgb,var(--accent) 28%,transparent);
}

/* Fallback para navegadores sin color-mix */
@supports not (background:color-mix(in srgb,#fff 50%,#000)){
  .edc-tax-tags .edc-tax-heading-icon{background:rgba(255,45,120,.20);border-color:rgba(255,45,120,.38)}
  .edc-tax-tags .edc-tax-chip{background:rgba(255,45,120,.13);border-color:rgba(255,45,120,.28)}
}

@media(max-width:820px){
  .edc-video-taxonomies{gap:10px;margin-top:14px}
  .edc-tax-group{padding:10px;border-radius:10px}
  .edc-tax-chip{font-size:11px;min-height:28px;padding:6px 9px}
}


/* =========================================================
   v8.1.6 — Reproductor moderno profesional
   ========================================================= */
.edc-modern-player{
  position:relative;
  background:#000;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 14px 44px rgba(0,0,0,.34);
  user-select:none;
}
.edc-modern-player video{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  background:#000;
}
.edc-modern-player:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:36%;
  pointer-events:none;
  background:linear-gradient(transparent,rgba(0,0,0,.64));
  opacity:1;
  transition:opacity .2s ease;
}
.edc-modern-player.edc-controls-hidden:after{opacity:0}

.edc-player-topbar{
  position:absolute;
  z-index:5;
  top:0;left:0;right:0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:14px 15px 35px;
  background:linear-gradient(rgba(0,0,0,.62),transparent);
  pointer-events:none;
  transition:opacity .2s ease;
}
.edc-player-title{
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:13px;
  font-weight:750;
  color:#fff;
  text-shadow:0 1px 4px rgba(0,0,0,.75);
}
.edc-player-topbadges{
  position:static!important;
  flex:0 0 auto;
}

.edc-big-play{
  position:absolute;
  z-index:7;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  width:76px;height:76px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
  background:rgba(12,12,14,.68);
  color:#fff;
  backdrop-filter:blur(8px);
  box-shadow:0 12px 40px rgba(0,0,0,.35);
  cursor:pointer;
  transition:transform .18s ease,background .18s ease,opacity .18s ease;
}
.edc-big-play span{
  margin-left:4px;
  font-size:30px;
  line-height:1;
}
.edc-big-play:hover{
  transform:translate(-50%,-50%) scale(1.07);
  background:var(--accent);
}
.edc-modern-player.is-playing .edc-big-play{
  opacity:0;
  pointer-events:none;
}

.edc-modern-controls{
  position:absolute;
  z-index:10;
  left:0;right:0;bottom:0;
  padding:0 13px 11px;
  color:#fff;
  transition:opacity .2s ease,transform .2s ease;
}
.edc-modern-player.edc-controls-hidden .edc-modern-controls,
.edc-modern-player.edc-controls-hidden .edc-player-topbar{
  opacity:0;
  transform:translateY(5px);
  pointer-events:none;
}

.edc-progress-wrap{
  position:relative;
  height:18px;
  display:flex;
  align-items:center;
  margin-bottom:2px;
  cursor:pointer;
}
.edc-progress-wrap:before{
  content:"";
  position:absolute;
  left:0;right:0;
  height:4px;
  border-radius:999px;
  background:rgba(255,255,255,.24);
}
.edc-progress-buffered,
.edc-progress-played{
  position:absolute;
  left:0;
  height:4px;
  width:0;
  border-radius:999px;
  pointer-events:none;
}
.edc-progress-buffered{background:rgba(255,255,255,.42)}
.edc-progress-played{background:var(--accent)}
.edc-progress-input{
  position:absolute;
  inset:0;
  width:100%;
  height:18px;
  margin:0;
  opacity:0;
  cursor:pointer;
}
.edc-progress-wrap:hover .edc-progress-played,
.edc-progress-wrap:hover:before,
.edc-progress-wrap:hover .edc-progress-buffered{
  height:6px;
}

.edc-controls-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.edc-controls-left,.edc-controls-right{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
}
.edc-control-btn{
  width:36px;height:34px;
  padding:0;
  display:grid;
  place-items:center;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#fff;
  font-size:18px;
  cursor:pointer;
  transition:background .15s ease,transform .15s ease;
}
.edc-control-btn:hover{
  background:rgba(255,255,255,.14);
}
.edc-control-btn:active{transform:scale(.94)}
.edc-text-control{
  width:auto;
  padding:0 9px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.6px;
  border:1px solid rgba(255,255,255,.22);
}
.edc-text-control.is-trailer{
  background:var(--accent);
  border-color:var(--accent);
}
.edc-volume{
  width:80px;
  accent-color:var(--accent);
  cursor:pointer;
}
.edc-time{
  font-size:11px;
  font-weight:650;
  white-space:nowrap;
  color:#eee;
  text-shadow:0 1px 3px #000;
}
.edc-speed-select{
  height:31px;
  padding:0 5px;
  border:0;
  border-radius:7px;
  background:rgba(20,20,22,.78);
  color:#fff;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
  outline:none;
}
.edc-speed-select option{background:#171719;color:#fff}

.edc-player-loading{
  position:absolute;
  z-index:8;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  width:46px;height:46px;
  display:none;
  place-items:center;
  pointer-events:none;
}
.edc-player-loading.is-visible{display:grid}
.edc-player-loading span{
  width:32px;height:32px;
  border:3px solid rgba(255,255,255,.28);
  border-top-color:#fff;
  border-radius:50%;
  animation:edcSpin .75s linear infinite;
}
@keyframes edcSpin{to{transform:rotate(360deg)}}

/* El anuncio interno queda por encima del video pero detrás de controles críticos */
.edc-modern-player .edc-inplayer-ad{
  z-index:8;
  bottom:72px;
}

@media(max-width:820px){
  .edc-modern-player{border-radius:9px}
  .edc-big-play{width:62px;height:62px}
  .edc-big-play span{font-size:25px}
  .edc-modern-controls{padding:0 8px 8px}
  .edc-control-btn{width:32px;height:32px;font-size:16px}
  .edc-volume{display:none}
  .edc-time{font-size:10px}
  .edc-speed-wrap{display:none}
  .edc-player-title{font-size:12px}
  .edc-modern-player .edc-inplayer-ad{bottom:64px}
}
@media(max-width:480px){
  .edc-controls-left,.edc-controls-right{gap:2px}
  .edc-control-btn{width:30px}
  .edc-text-control{padding:0 6px;font-size:9px}
  .edc-time{max-width:90px;overflow:hidden}
}
