/* Solo amplía la navegación inferior; conserva el resto del diseño. */
.mobile-tabs{justify-content:flex-start!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
.mobile-tabs::-webkit-scrollbar{display:none}
.mobile-tabs>a{flex:0 0 calc(100% / 5.25)!important;min-width:68px;scroll-snap-align:start;padding-inline:3px}
.mobile-tabs>a .access-icon{display:flex;align-items:center;justify-content:center}
.mobile-tabs>a .access-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mobile-tabs>a .access-label{font-size:clamp(9px,2.35vw,12px);line-height:1.35;white-space:nowrap;max-width:none}
.bottom-social-focus{outline:2px solid var(--red);outline-offset:8px;border-radius:8px}
@media(min-width:700px){.mobile-tabs>a{flex-basis:calc(100% / 5.25)!important}}
@media(prefers-reduced-motion:reduce){.mobile-tabs{scroll-behavior:auto}}

.mobile-tabs>a .access-label{display:block!important;background:none!important;border:0!important;box-shadow:none!important;outline:0!important;padding:0!important;border-radius:0!important;width:auto!important;height:auto!important;min-height:0!important;color:inherit}
/* Estados de transmisión: cuatro tarjetas pequeñas y uniformes. */
#en-vivo .compact-live-channels{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;max-width:420px;align-items:stretch}
#en-vivo .compact-live-channels>[data-live-channel]{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;margin:0;padding:10px 3px!important;border:1px solid var(--line,#dfe0e6);border-radius:12px!important;background:var(--surface,#fff);text-align:center;white-space:normal;box-sizing:border-box;text-decoration:none;color:var(--ink,#202124);font-size:12px;line-height:1.2}
#en-vivo .compact-live-channels .live-channel-icon{display:flex;align-items:center;justify-content:center;background:none;border:0;box-shadow:none;width:auto;height:auto;padding:0}
#en-vivo .compact-live-channels svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#en-vivo [data-live-channel=youtube] .live-channel-icon{color:#e00019}#en-vivo [data-live-channel=facebook] .live-channel-icon{color:#1768cf}
#en-vivo .live-channel-name{font-size:clamp(10px,2.7vw,12px);font-weight:600;line-height:1.25;white-space:nowrap}
#en-vivo .live-channel-state{display:flex;align-items:center;justify-content:center;gap:3px;font-size:clamp(9px,2.35vw,11px);line-height:1.25;color:var(--muted,#64666f);white-space:nowrap}
#en-vivo .live-channel-state:before{content:'';width:5px;height:5px;border-radius:50%;flex-shrink:0;background:#999ca5}
#en-vivo [data-channel-status=unknown] .live-channel-state:before{background:#d99a00}#en-vivo [data-channel-status=live] .live-channel-state:before{background:#d7102a}
#en-vivo .compact-live-channels>a:focus-visible{outline:2px solid var(--red,#c00);outline-offset:3px}

/* Barra de abajo flotante y delgada (estilo moderno). Solo teléfono y tableta. */
@media (max-width:1099px){
  html body nav.mobile-tabs.mobile-tabs{
    left:16px!important;right:16px!important;width:auto!important;max-width:560px;margin:0 auto!important;
    transform:none!important;bottom:calc(8px + var(--vd-bottom, env(safe-area-inset-bottom, 0px)))!important;
    border-radius:999px!important;padding:4px 6px!important;align-items:center!important;
    background:rgba(255,255,255,.6)!important;
    -webkit-backdrop-filter:blur(22px) saturate(180%)!important;backdrop-filter:blur(22px) saturate(180%)!important;
    box-shadow:0 8px 28px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.85)!important;
    border:1px solid rgba(255,255,255,.7)!important;
    transition:transform .3s ease,opacity .3s ease!important
  }
  html[data-theme=dark] body nav.mobile-tabs.mobile-tabs{
    background:rgba(32,32,34,.62)!important;border-color:rgba(255,255,255,.12)!important;
    box-shadow:0 8px 28px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.08)!important
  }
  html body nav.mobile-tabs.mobile-tabs>a{min-height:0!important;padding:5px 0!important;gap:2px!important;border-radius:999px!important}
  html body nav.mobile-tabs.mobile-tabs>a>span[data-icon],
  html body nav.mobile-tabs.mobile-tabs>a>.access-icon{
    border:0!important;box-shadow:none!important;background:none!important;width:auto!important;height:auto!important;padding:0!important
  }
  html body nav.mobile-tabs.mobile-tabs>a svg{width:22px!important;height:22px!important}
  html body nav.mobile-tabs.mobile-tabs>a vd-text,
  html body nav.mobile-tabs.mobile-tabs>a .access-label{font-size:10.5px!important;line-height:1.2!important}
  html.bars-hidden body nav.mobile-tabs.mobile-tabs{transform:translateY(calc(100% + 80px))!important;opacity:0}
  html body{padding-bottom:calc(84px + var(--vd-bottom, env(safe-area-inset-bottom, 0px)))!important}
  html body .oj-root{bottom:calc(80px + var(--vd-bottom, env(safe-area-inset-bottom, 0px)))!important}
}

/* App: cabecera de vidrio liquido (como la app de la liga). Arriba mas oscuro, abajo mas transparente; lo de atras se ve borroso. */
@media (max-width:1099px){
  html.vd-app body .site-header.site-header{
    background:linear-gradient(color-mix(in srgb,var(--bg) 92%,transparent),color-mix(in srgb,var(--bg) 45%,transparent))!important;
    -webkit-backdrop-filter:blur(24px) saturate(160%)!important;backdrop-filter:blur(24px) saturate(160%)!important;
    border-bottom:1px solid color-mix(in srgb,var(--ink) 10%,transparent)!important;box-shadow:none!important
  }
  html.vd-app #vd-app-top{background:transparent!important;transition:background .25s}
  html.vd-app.bars-hidden #vd-app-top{
    background:color-mix(in srgb,var(--bg) 80%,transparent)!important;
    -webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%)
  }
}

/* App: en "Nuestro trabajo" (galeria abierta) los botones Volver y Cerrar bajan debajo de la hora para poder tocarlos. */
html.vd-app .vdc-bar{padding-top:calc(12px + var(--vd-top,0px))!important}

/* App: todas las ventanas que se abren encima (foto grande, videos, panel, avisos) respetan la hora arriba y la barra del telefono abajo. */
html.vd-app{--vd-safe-t:max(env(safe-area-inset-top,0px),var(--vd-top,0px));--vd-safe-b:max(env(safe-area-inset-bottom,0px),var(--vd-bottom,0px))}
html.vd-app .vdc-lb{background:#000!important}
html.vd-app .vdc-lb img{max-height:calc(100vh - var(--vd-safe-t) - var(--vd-safe-b) - 150px)!important}
html.vd-app .vdc-lb .x,html.vd-app .vdf-pl .x,html.vd-app .vdt-pl .x{
  top:calc(10px + var(--vd-safe-t))!important;right:14px!important;width:42px!important;height:42px!important;
  background:rgba(40,40,44,.72)!important;-webkit-backdrop-filter:blur(14px)!important;backdrop-filter:blur(14px)!important;
  border:1px solid rgba(255,255,255,.18)!important;font-size:17px!important;z-index:5!important}
html.vd-app .vdc-lb p{bottom:calc(22px + var(--vd-safe-b))!important}
html.vd-app .vdp-head{padding-top:calc(12px + var(--vd-safe-t))!important}
html.vd-app .vda-panel{top:calc(70px + var(--vd-safe-t))!important}
html.vd-app .vda-bars{top:calc(10px + var(--vd-safe-t))!important}
html.vd-app .vda-top{top:calc(22px + var(--vd-safe-t))!important}
html.vd-app .vda-act{bottom:calc(22px + var(--vd-safe-b))!important}
html.vd-app .vda-cap{bottom:calc(88px + var(--vd-safe-b))!important}
/* Foto grande y videos: flechita blanca para volver, arriba a la izquierda (como Instagram), en vez de la X. */
html.vd-app .vdc-lb .x,html.vd-app .vdf-pl .x,html.vd-app .vdt-pl .x{
  left:6px!important;right:auto!important;top:calc(4px + var(--vd-safe-t))!important;width:48px!important;height:48px!important;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4 7 12l8 8'/%3E%3C/svg%3E") center/26px 26px no-repeat!important;
  border:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;font-size:0!important;color:transparent!important;
  filter:drop-shadow(0 1px 3px rgba(0,0,0,.6))}
/* "Nuestro trabajo": una sola fila con la flechita para volver y las categorias (sin Volver, titulo ni X). */
html.vd-app .vdc-bar{flex-wrap:nowrap!important;align-items:center!important;gap:4px!important;padding-left:6px!important;padding-bottom:10px!important}
html.vd-app .vdc-bar .vdc-title,html.vd-app .vdc-bar .vdc-x{display:none!important}
html.vd-app .vdc-bar .vdc-back{flex:none!important;width:42px!important;height:42px!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;box-shadow:none!important;font-size:0!important;color:transparent!important;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151517' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4 7 12l8 8'/%3E%3C/svg%3E") center/24px 24px no-repeat!important}
html.vd-app[data-theme=dark] .vdc-bar .vdc-back{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4 7 12l8 8'/%3E%3C/svg%3E")!important}
html.vd-app .vdc-bar .vdc-chips{flex:1 1 auto!important;min-width:0!important;width:auto!important;margin:0!important}
