[hidden]{display:none!important}
/* SPORLYT 7.9.12 — Correcciones compartidas por producción y /prueba/app/.
   No altera la estética de la landing ni el almacenamiento histórico. */

/* El selector de ámbito debe mostrar sus tres tarjetas al mismo nivel. */
#overlay .picker:has(.v780-scope-three),
#overlay .picker:has(.trial-scope-grid){
  width:min(1080px,calc(100vw - 32px))!important;
  max-width:min(1080px,calc(100vw - 32px))!important;
}
#overlay .v7-scope-featured.v780-scope-three,
#overlay .trial-scope-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:14px!important;
}
#overlay .v780-scope-three>.v7-scope-card,
#overlay .trial-scope-grid>.trial-scope-card{
  grid-column:auto!important;
  grid-row:auto!important;
  min-width:0!important;
  width:100%!important;
  height:100%!important;
  min-height:250px!important;
  justify-content:center!important;
  text-align:center!important;
  align-items:center!important;
}
#overlay .v780-scope-three .v7-scope-mark{
  margin-left:auto!important;
  margin-right:auto!important;
  display:grid!important;
  place-items:center!important;
}
#overlay .v780-scope-three>.v7-scope-card>span:last-child,
#overlay .trial-scope-grid>.trial-scope-card>p{min-width:0!important}
#overlay .trial-scope-card--clubs{align-content:center!important}
#overlay .trial-country-grid{width:100%!important}
@media(max-width:760px){
  #overlay .v7-scope-featured.v780-scope-three,
  #overlay .trial-scope-grid{grid-template-columns:1fr!important}
  #overlay .v780-scope-three>.v7-scope-card,
  #overlay .trial-scope-grid>.trial-scope-card{min-height:175px!important}
}

/* La barra flotante no debe tapar el informe generado. El informe tiene
   controles propios para editar y exportar. */
body:has(#scene-reports.active .sporlyt-report-editions) .floating-controls,
body.sporlyt-report-active .floating-controls{display:none!important}
#scene-reports .global-report-toolbar{position:relative!important;z-index:2!important}
#scene-reports .sporlyt-report-editions{position:relative!important;z-index:1!important;min-width:0!important}
#scene-reports .report-line-chart svg,
#scene-reports .report-line-chart{max-width:100%!important}
#scene-reports .report-line-chart svg{height:auto!important}
#scene-evolution .interactive-time-chart .chart-bar{shape-rendering:geometricPrecision}

/* Una exportación = exclusivamente las hojas del formato elegido. No deja
   al navegador partir una lámina panorámica en dos hojas A4 verticales. */
@media print {
  html:has(body[data-report-print-format]),
  body[data-report-print-format]{
    margin:0!important;padding:0!important;
    width:auto!important;height:auto!important;
    min-height:0!important;max-height:none!important;
    overflow:visible!important;background:#fff!important;
    -webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;
  }
  body[data-report-print-format] *{
    -webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;
  }
  body[data-report-print-format] > :not(#app){display:none!important}
  body[data-report-print-format] #app{
    display:block!important;position:static!important;
    width:auto!important;height:auto!important;
    margin:0!important;padding:0!important;
    overflow:visible!important;transform:none!important;
    background:transparent!important;
  }
  body[data-report-print-format] #app > :not(.main){display:none!important}
  body[data-report-print-format] #app>.main{
    position:static!important;display:block!important;
    width:auto!important;max-width:none!important;
    min-height:0!important;height:auto!important;
    margin:0!important;padding:0!important;
    overflow:visible!important;transform:none!important;
  }
  body[data-report-print-format] .main>.scene:not(#scene-reports){display:none!important}
  body[data-report-print-format] #scene-reports{
    display:block!important;position:static!important;
    width:auto!important;max-width:none!important;
    height:auto!important;margin:0!important;padding:0!important;
    overflow:visible!important;transform:none!important;
  }
  body[data-report-print-format] #scene-reports>.global-report-toolbar{display:none!important}
  body[data-report-print-format] #scene-reports>.sporlyt-report-editions,
  body[data-report-print-format] #scene-reports .sporlyt-global-report-book{
    display:block!important;
    width:auto!important;max-width:none!important;
    margin:0!important;padding:0!important;gap:0!important;
    overflow:visible!important;transform:none!important;
    background:transparent!important;box-shadow:none!important;
  }
  body[data-report-print-format] .report-edition{
    display:none!important;margin:0!important;padding:0!important;
    border:0!important;box-shadow:none!important;background:transparent!important;
  }
  body[data-report-print-format="desktop"] .report-edition[data-report-format="desktop"],
  body[data-report-print-format="mobile"] .report-edition[data-report-format="mobile"]{
    display:block!important;position:static!important;
    width:auto!important;max-width:none!important;
    height:auto!important;overflow:visible!important;
  }
  body[data-report-print-format] .report-edition-label{display:none!important}
  body[data-report-print-format] .report-edition .sporlyt-global-report-page{
    display:block!important;
    box-sizing:border-box!important;
    margin:0!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;
    padding:7mm 9mm!important;
    position:relative!important;transform:none!important;
    overflow:hidden!important;contain:none!important;
    break-inside:avoid!important;page-break-inside:avoid!important;
    break-before:auto!important;page-break-before:auto!important;
    break-after:page!important;page-break-after:always!important;
  }
  body[data-report-print-format] .report-edition .sporlyt-global-report-page:last-child{
    break-after:auto!important;page-break-after:auto!important;
  }
  body[data-report-print-format="desktop"] .report-edition .sporlyt-global-report-page{
    width:297mm!important;min-width:297mm!important;max-width:297mm!important;
    height:167.0625mm!important;min-height:167.0625mm!important;max-height:167.0625mm!important;
  }
  body[data-report-print-format="mobile"] .report-edition .sporlyt-global-report-page{
    width:167.0625mm!important;min-width:167.0625mm!important;max-width:167.0625mm!important;
    height:297mm!important;min-height:297mm!important;max-height:297mm!important;
  }
  /* Evitar títulos blancos sobre fondos blancos cuando la impresora no
     respeta gradientes de pantalla. */
  body[data-report-print-format] .report-theme-dark .sporlyt-global-report-page{
    background:#081626!important;color:#f1f8ff!important;
  }
  body[data-report-print-format] .report-theme-light .sporlyt-global-report-page{
    background:#f5f8fb!important;color:#102438!important;
  }
  body[data-report-print-format] .report-theme-light .sporlyt-global-report-page h1,
  body[data-report-print-format] .report-theme-light .sporlyt-global-report-page h2,
  body[data-report-print-format] .report-theme-light .sporlyt-global-report-page h3,
  body[data-report-print-format] .report-theme-light .sporlyt-report-cover h1,
  body[data-report-print-format] .report-theme-light .report-back-cover h2{
    color:#102438!important;text-shadow:none!important;
  }
  body[data-report-print-format] .report-theme-dark .sporlyt-report-cover h1,
  body[data-report-print-format] .report-theme-dark .report-back-cover h2{
    color:#f8fbff!important;text-shadow:none!important;
  }
  body[data-report-print-format] .sporlyt-report-watermark{display:none!important}
  body[data-report-print-format] .sporlyt-global-report-page svg{
    max-width:100%!important;overflow:hidden!important;
  }
  body[data-report-print-format] .report-line-chart{
    max-width:100%!important;min-width:0!important;
    break-inside:avoid!important;page-break-inside:avoid!important;
  }
}


/* SPORLYT 7.9.15 · Selector de ámbito: dos tarjetas iguales y tercera a todo el ancho.
   Este bloque vence la regla v7.9.12 que imponía tres columnas y reiniciaba grid-column. */
#overlay .picker:has(.v7-scope-featured),
#overlay .picker:has(.trial-scope-grid){
  width:min(1120px,calc(100vw - 32px))!important;
  max-width:min(1120px,calc(100vw - 32px))!important;
  box-sizing:border-box!important;
}
#overlay .v7-scope-featured,
#overlay .v7-scope-featured.v780-scope-three,
#overlay .trial-scope-grid{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  align-items:stretch!important;
  gap:16px!important;
}
#overlay .v7-scope-featured>.v7-scope-card,
#overlay .trial-scope-grid>.trial-scope-card{
  grid-column:auto!important;
  grid-row:auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
  height:auto!important;
  min-height:252px!important;
  margin:0!important;
}
#overlay .v7-scope-featured>.v741-clubs-gateway,
#overlay .v7-scope-featured>.v741-club-entry,
#overlay .v7-scope-featured>#v741ClubToggle,
#overlay .trial-scope-grid>.trial-scope-card--clubs{
  grid-column:1/-1!important;
  grid-row:auto!important;
  min-height:220px!important;
}
/* Producción: centrar insignia, título y descripción como un único bloque. */
#overlay .v7-scope-featured>.v7-scope-card.featured{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  gap:8px!important;
  padding:24px 28px!important;
  text-align:center!important;
  color:#fff!important;
  position:relative!important;
  overflow:hidden!important;
  border:1px solid rgba(63,189,255,.36)!important;
  border-radius:17px!important;
  text-shadow:0 2px 12px rgba(0,0,0,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 15px 42px rgba(0,0,0,.16)!important;
}
#overlay .v7-scope-featured>.v7-scope-card.featured>*{position:relative;z-index:1}
#overlay .v7-scope-featured>.v7-scope-card.featured>.v7-scope-mark{
  width:60px!important;
  height:60px!important;
  flex:0 0 60px!important;
  margin:0 auto 4px!important;
  align-self:center!important;
  display:grid!important;
  place-items:center!important;
}
#overlay .v7-scope-featured>.v7-scope-card.featured>.v7-scope-mark.v73-conmebol-mark img{
  max-width:42px!important;max-height:42px!important;
}
#overlay .v7-scope-featured>.v7-scope-card.featured>span:last-child{
  display:flex!important;
  min-width:0!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  margin:0 auto!important;
}
#overlay .v7-scope-featured>.v7-scope-card.featured b{
  font-size:clamp(28px,2.9vw,37px)!important;
  line-height:1.12!important;
  letter-spacing:-.035em!important;
  max-width:100%!important;
}
#overlay .v7-scope-featured>.v7-scope-card.featured p{
  width:auto!important;
  max-width:440px!important;
  font-size:15px!important;
  line-height:1.5!important;
  margin:9px auto 0!important;
  color:rgba(240,250,255,.89)!important;
}
#overlay .v7-scope-featured>.v7-scope-card.featured:nth-child(3) p{max-width:580px!important}
#overlay .v7-scope-featured>[data-v7scope="leagues"]{
  background:linear-gradient(130deg,rgba(3,30,72,.58),rgba(4,34,74,.73)),url('assets/scope/ligas.webp') center 35%/cover no-repeat!important;
}
#overlay .v7-scope-featured>[data-v7scope="selections"]{
  background:linear-gradient(130deg,rgba(4,29,72,.58),rgba(4,31,72,.74)),url('assets/scope/selecciones.webp') center 32%/cover no-repeat!important;
}
#overlay .v7-scope-featured>#v741ClubToggle{
  background:linear-gradient(130deg,rgba(4,35,82,.54),rgba(4,32,70,.75)),url('assets/scope/clubes.webp') center 31%/cover no-repeat!important;
}
#overlay .v7-scope-featured>.v7-scope-card.featured:hover:not(:disabled){
  filter:brightness(1.12);border-color:#45dfff!important;
}
#overlay .v7-scope-featured>.v7-scope-card.featured:focus-visible,
#overlay .trial-scope-grid>.trial-scope-card:focus-visible{
  outline:3px solid #42dcff!important;outline-offset:3px!important;
}
#overlay .v7-scope-featured>.v7-scope-card.featured:disabled{
  filter:saturate(.6);opacity:.46!important;cursor:not-allowed!important;
}
/* /prueba/app/: misma grilla y las mismas tres imágenes, sin imágenes repetidas. */
#overlay .trial-scope-grid>.trial-scope-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:10px!important;
  padding:24px 28px!important;
  border-radius:17px!important;
  position:relative!important;
  overflow:hidden!important;
}
#overlay .trial-scope-grid>.trial-scope-card>*{position:relative;z-index:1}
#overlay .trial-scope-grid>.trial-scope-card b{
  font-size:clamp(28px,2.9vw,37px)!important;
  line-height:1.12!important;
  max-width:440px!important;
}
#overlay .trial-scope-grid>.trial-scope-card p{
  font-size:15px!important;
  line-height:1.5!important;
  max-width:440px!important;
  margin:0 auto!important;
  color:rgba(240,250,255,.9)!important;
}
#overlay .trial-scope-grid>.trial-scope-card--clubs p{max-width:580px!important}
#overlay .trial-scope-grid>.trial-scope-card::before{
  opacity:.88!important;
  transform:scale(1.04)!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}
#overlay .trial-scope-grid>.trial-scope-card:nth-child(1)::before{
  background-image:url('assets/scope/ligas.webp')!important;background-position:center 35%!important;
}
#overlay .trial-scope-grid>.trial-scope-card:nth-child(2)::before{
  background-image:url('assets/scope/selecciones.webp')!important;background-position:center 32%!important;
}
#overlay .trial-scope-grid>.trial-scope-card--clubs::before{
  background-image:url('assets/scope/clubes.webp')!important;background-position:center 31%!important;
}
#overlay .trial-scope-grid>.trial-scope-card::after{
  background:linear-gradient(145deg,rgba(3,30,72,.47),rgba(3,25,56,.72))!important;
  pointer-events:none!important;
}
#overlay .trial-scope-grid .trial-country-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  width:min(360px,100%)!important;
  max-width:100%!important;
  margin:8px auto 0!important;
}
#overlay .trial-scope-grid .trial-country-grid button{
  min-height:48px!important;font-size:13px!important;position:relative;z-index:2;
}
/* En móviles, el contenido no se recorta: una tarjeta por fila. */
@media(max-width:760px){
  #overlay .v7-scope-featured,
  #overlay .v7-scope-featured.v780-scope-three,
  #overlay .trial-scope-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
  }
  #overlay .v7-scope-featured>.v7-scope-card,
  #overlay .trial-scope-grid>.trial-scope-card{
    grid-column:1/-1!important;
    min-height:190px!important;
  }
  #overlay .v7-scope-featured>#v741ClubToggle,
  #overlay .trial-scope-grid>.trial-scope-card--clubs{
    grid-column:1/-1!important;
    min-height:215px!important;
  }
  #overlay .v7-scope-featured>.v7-scope-card.featured,
  #overlay .trial-scope-grid>.trial-scope-card{padding:22px 18px!important}
  #overlay .v7-scope-featured>.v7-scope-card.featured b,
  #overlay .trial-scope-grid>.trial-scope-card b{font-size:clamp(25px,6vw,32px)!important}
  #overlay .v7-scope-featured>.v7-scope-card.featured p,
  #overlay .trial-scope-grid>.trial-scope-card p{font-size:14px!important}
}


/* SPORLYT 7.9.16 · Selector de ámbito con fotos provistas por el usuario.
   Sin insignias/etiquetas: foto + título + descripción. */
#overlay .v7-scope-featured>.v7-scope-card.featured>.v7-scope-mark,
#overlay .v7-scope-featured>.v7-scope-card.featured small,
#overlay .trial-scope-grid>.trial-scope-card__kicker{
  display:none!important;
}
#overlay .v7-scope-featured>.v7-scope-card.featured,
#overlay .trial-scope-grid>.trial-scope-card{
  gap:8px!important;
}
#overlay .v7-scope-featured>.v7-scope-card.featured>span:last-child{
  width:100%!important;
}
#overlay .v7-scope-featured>[data-v7scope="leagues"]{
  background:linear-gradient(135deg,rgba(3,25,61,.58),rgba(3,26,61,.76)),url('assets/scope/ligas.webp') center 50%/cover no-repeat!important;
}
#overlay .v7-scope-featured>[data-v7scope="selections"]{
  background:linear-gradient(135deg,rgba(3,25,61,.58),rgba(3,26,61,.76)),url('assets/scope/selecciones.webp') center 48%/cover no-repeat!important;
}
#overlay .v7-scope-featured>#v741ClubToggle{
  background:linear-gradient(135deg,rgba(3,25,61,.56),rgba(3,26,61,.76)),url('assets/scope/clubes.webp') center 50%/cover no-repeat!important;
}
#overlay .trial-scope-grid>.trial-scope-card::before{
  opacity:1!important;
  transform:scale(1.015)!important;
}
#overlay .trial-scope-grid>.trial-scope-card:nth-child(1)::before{
  background-image:url('assets/scope/ligas.webp')!important;
  background-position:center 50%!important;
}
#overlay .trial-scope-grid>.trial-scope-card:nth-child(2)::before{
  background-image:url('assets/scope/selecciones.webp')!important;
  background-position:center 48%!important;
}
#overlay .trial-scope-grid>.trial-scope-card--clubs::before{
  background-image:url('assets/scope/clubes.webp')!important;
  background-position:center 50%!important;
}
#overlay .trial-scope-grid>.trial-scope-card::after{
  background:linear-gradient(135deg,rgba(3,25,61,.55),rgba(3,24,56,.76))!important;
}
/* 7.10 · rótulo histórico único + control de entidad compacto */
@media (min-width:901px){
  .floating-controls .club-control-stack{width:max-content!important;max-width:min(340px,32vw)!important;align-items:stretch!important}
  .floating-controls .club-control-stack #clubBtn{width:auto!important;min-width:0!important;max-width:340px!important}
  .floating-controls .club-control-stack #clubBtn .copy strong{max-width:250px!important}
  .floating-controls .club-historical-meta{align-self:flex-start!important;width:max-content!important;max-width:100%!important}
}

/* Responsive application chrome, consolidated for all analytical modules. */
.legal-footer{position:static!important;clear:both;margin:24px 20px 105px;text-align:center;line-height:1.6;z-index:auto!important}
.csv-error{padding:12px;color:#ffb4a8;border:1px solid #ad493a;border-radius:8px}
.role-help{font-size:12px;color:#a9c8dc;line-height:1.5}
@media(max-width:900px){
 .floating-controls{left:8px!important;right:8px!important;width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;display:grid!important;grid-template-columns:40px 40px minmax(0,1fr) minmax(0,1fr)!important;gap:6px!important;transform:none!important;justify-content:stretch!important}
 .floating-controls>*{position:static!important;transform:none!important;min-width:0!important;max-width:100%!important;width:100%!important;margin:0!important;box-sizing:border-box!important}
 .floating-controls .float-btn{min-width:0!important;width:100%!important;padding:5px!important;min-height:54px!important;height:54px!important;overflow:hidden!important}
 .floating-controls #themeBtn,.floating-controls #mediaBtn{width:40px!important;min-width:40px!important}
 .floating-controls .club-control-stack{display:flex!important;flex-direction:column!important;justify-content:flex-end!important;gap:0!important;height:54px!important}
 .floating-controls .club-historical-meta{display:none!important}
 .floating-controls .copy{display:block!important;min-width:0!important;overflow:hidden!important}
 .floating-controls .copy strong{font-size:10px!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.1!important}
 .floating-controls .copy small{font-size:7px!important;display:block!important}
 .floating-controls svg{flex-shrink:0;width:18px!important;height:18px!important}
 .floating-controls #reportBuilderBtn .copy{flex:1 1 auto!important;width:auto!important}
 .floating-controls #reportBuilderBtn .copy strong{font-size:11px!important;white-space:nowrap!important;overflow-wrap:normal!important}
 .floating-controls .report-launch__icon{width:18px!important;height:18px!important;padding:0!important;margin:0!important;flex:0 0 18px!important}
 .floating-controls #reportBuilderBtn .report-launch__icon .ui-icon{width:18px!important;height:18px!important}
 .topbar{scrollbar-width:thin!important;scrollbar-color:#1da9c4 transparent!important}
 .topbar{padding-bottom:22px!important}
 .topbar::after{content:'Desliza para ver todas las opciones →';display:block;position:absolute;left:12px;bottom:3px;color:#9dc7d7;font-size:9px;white-space:nowrap}
 .legal-footer{margin-bottom:100px!important;font-size:11px!important}
}
@media print{*,*::before,*::after{animation:none!important;transition:none!important}.scene{opacity:1!important;transform:none!important}.legal-footer{display:none!important}}

.report-period-summary{display:grid;gap:5px;font-size:11px;line-height:1.4;color:#b8d5e4;margin:12px 0}.report-cohort-note{font-size:10px!important;line-height:1.5;color:#a9c4d4;margin-top:18px}.report-format-mobile .report-cohort-note{font-size:12px!important}.report-period-summary span{display:block}

.sporlyt-report-cover__date{text-transform:none!important}
@media(max-width:900px){.floating-controls #reportBuilderBtn{width:100%!important;max-width:100%!important;min-width:0!important;height:54px!important;min-height:54px!important;max-height:54px!important;transform:none!important;padding:4px!important;box-sizing:border-box!important}.floating-controls{grid-template-rows:54px!important;align-items:stretch!important}}
