/* FACTORYRACING V11.83 · Pestaña de la ficha unida al cuerpo blanco.
   Solo afecta a fichas (data-fr169-ficha). No modifica #topbar, medios o ADMIN.
   El hero sigue midiendo 100svh, incluida su imagen/vídeo de fondo. */
body[data-fr169-ficha="1"] .fr169-detail > .fr169-hero.fr-detail-hero {
  height:100svh!important;
  min-height:100svh!important;
}
/* El menú nace exactamente en la unión hero/cuerpo: sin la separación de
   14px que dejaba V11.82 y sin un margen negativo bajo la barra. */
body[data-fr169-ficha="1"] .fr169-detail > .fr169-section-nav.fr177-tabs {
  --fr183-tabs-h:76px;
  box-sizing:border-box!important;
  width:min(1180px,calc(100% - 48px))!important;
  height:var(--fr183-tabs-h)!important;
  min-height:var(--fr183-tabs-h)!important;
  margin:calc(-1 * var(--fr183-tabs-h)) auto 0!important;
  padding:5px 9px 0!important;
  position:relative!important;
  z-index:22!important;
  background:#fff!important;
  border:0!important;
  border-radius:20px 20px 0 0!important;
  box-shadow:0 -9px 26px -20px rgba(0,0,0,.32)!important;
  overflow:hidden!important;
}
body[data-fr169-ficha="1"] .fr169-detail > .fr177-tabs .fr169-section-links a {
  min-height:0!important;
  height:100%!important;
  padding:5px 9px!important;
  gap:9px!important;
  border-radius:8px 8px 0 0!important;
}
/* Los rótulos mantienen exactamente su tamaño y peso de la V11.82.
   Iconografía nueva: trazos mejor definidos y mayor contraste. */
body[data-fr169-ficha="1"] .fr169-detail > .fr177-tabs .fr169-section-links a svg {
  width:23px!important;
  height:23px!important;
  flex:0 0 23px!important;
  stroke-width:2!important;
  opacity:1!important;
}
body[data-fr169-ficha="1"] .fr169-detail > .fr177-tabs .fr169-section-links a::before {
  top:16px!important;
  bottom:16px!important;
}
body[data-fr169-ficha="1"] .fr169-detail > .fr169-body {
  position:relative!important;
  z-index:0!important;
  margin-top:0!important;
  background:#fff!important;
}
@media(max-width:1030px){
  body[data-fr169-ficha="1"] .fr169-detail > .fr177-tabs .fr169-section-links a {
    padding:4px 5px!important;
  }
}
@media(max-width:700px){
  body[data-fr169-ficha="1"] .fr169-detail > .fr169-section-nav.fr177-tabs {
    --fr183-tabs-h:92px;
    width:calc(100% - 24px)!important;
    padding:4px 6px 0!important;
    border-radius:17px 17px 0 0!important;
  }
  body[data-fr169-ficha="1"] .fr169-detail > .fr177-tabs .fr169-section-name {
    padding:4px 7px 5px!important;
  }
  body[data-fr169-ficha="1"] .fr169-detail > .fr177-tabs .fr169-section-links a {
    min-height:0!important;
    height:100%!important;
    padding:5px 2px 3px!important;
    gap:4px!important;
  }
  body[data-fr169-ficha="1"] .fr169-detail > .fr177-tabs .fr169-section-links a svg {
    width:22px!important;
    height:22px!important;
    flex:0 0 22px!important;
  }
  body[data-fr169-ficha="1"] .fr169-detail > .fr177-tabs .fr169-section-links a::before {
    top:10px!important;
    bottom:10px!important;
  }
}
