/* Arte de resultados: overrides aislados para no afectar el sitio */
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-results-art{width:82%!important;max-width:82%!important;margin:0 auto!important;padding:2px 0 0!important;gap:7px!important}
.sb-art-editor-modal .sb-art-preview.format-square .sb-results-heading{margin:0 0 5px!important;gap:1px!important}
.sb-art-editor-modal .sb-art-preview.format-square .sb-results-heading strong{font-size:20px!important;line-height:1!important;letter-spacing:.04em!important}
.sb-art-editor-modal .sb-art-preview.format-square .sb-results-heading span{font-size:8px!important;line-height:1!important;margin-top:3px!important;letter-spacing:.14em!important}
.sb-art-editor-modal .sb-art-preview.format-square .sb-results-list{display:flex!important;flex-direction:column!important;gap:6px!important;width:100%!important}
.sb-art-editor-modal .sb-art-preview.format-square .sb-result-row{width:100%!important;min-height:42px!important;height:42px!important;grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr)!important;padding:2px 7px!important;border-radius:11px!important;box-sizing:border-box!important}
.sb-art-editor-modal .sb-art-preview.format-square .sb-result-team{gap:5px!important;min-width:0!important}
.sb-art-editor-modal .sb-art-preview.format-square .sb-result-team strong{font-size:8.5px!important;line-height:1.05!important;letter-spacing:-.015em!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
.sb-art-editor-modal .sb-art-preview.format-square .sb-result-team .team-logo,.sb-art-editor-modal .sb-art-preview.format-square .sb-result-team img{width:29px!important;height:29px!important;max-width:29px!important;max-height:29px!important;flex:0 0 29px!important;object-fit:contain!important}
.sb-art-editor-modal .sb-art-preview.format-square .sb-result-score{width:52px!important;min-width:52px!important;height:30px!important;min-height:30px!important;padding:2px 4px!important;border-radius:10px!important}
.sb-art-editor-modal .sb-art-preview.format-square .sb-result-score b{font-size:14px!important;line-height:1!important}
.sb-art-editor-modal .sb-art-preview.format-square .sb-result-score small{font-size:5.5px!important;margin-top:1px!important}
.sb-art-editor-modal .sb-art-preview.format-square .sb-result-score em{top:-6px!important;padding:1px 4px!important;font-size:5px!important;line-height:1.15!important}
/* El pie publicitario conserva la reserva ya existente en styles.css. */


/* Arte compartido: publicidad, escudo lateral y fixture sin resultado */
.sb-art-editor-modal .sb-approved-brand{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding-left:62px!important;
  padding-right:62px!important;
}
.sb-art-editor-modal .sb-approved-brand .sb-art-tournament-logo-side{
  position:absolute!important;
  left:18px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:38px!important;
  height:38px!important;
  max-width:38px!important;
  max-height:38px!important;
  object-fit:contain!important;
  z-index:2!important;
}
.sb-art-editor-modal .sb-approved-brand .sb-art-brand-name{
  position:absolute!important;
  right:18px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  font-size:7px!important;
  font-weight:950!important;
  letter-spacing:.12em!important;
  white-space:nowrap!important;
}
.sb-art-editor-modal .sb-approved-brand .sb-art-tournament-title{
  min-width:0!important;
  text-align:center!important;
}
.sb-art-editor-modal .sb-result-score.no-result b{
  display:block!important;
  min-height:14px!important;
}
.sb-art-editor-modal .sb-result-score.no-result{
  background:#111!important;
}
/* La franja publicitaria usa una única geometría en todos los tipos de descarga. */
.sb-art-editor-modal .sb-unified-art-ad{
  box-sizing:border-box!important;
  overflow:hidden!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.94)!important;
}
.sb-art-editor-modal .sb-unified-art-ad .sb-art-ad-item{
  height:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.sb-art-editor-modal .sb-unified-art-ad .sb-art-ad-item img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
}


/* Editor exclusivo de Partidos / Fecha: layout sin superposiciones */
.sb-art-editor-modal .sb-round-art-content{
  position:absolute!important;
  inset:0!important;
  padding:70px 24px 18px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:center!important;
  overflow:hidden!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-round-results-art{
  flex:0 1 auto!important;
  width:82%!important;
  max-width:82%!important;
  min-height:0!important;
  margin:0 auto!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-standings-ad{
  position:static!important;
  left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
  flex:0 0 52px!important;
  width:82%!important;
  height:52px!important;min-height:52px!important;
  margin:10px auto 0!important;
  padding:4px 6px!important;
  box-sizing:border-box!important;
  z-index:auto!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-results-heading{
  margin:0 0 10px!important;
  text-align:center!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-results-heading strong{
  display:block!important;
  max-width:100%!important;
  font-size:22px!important;
  line-height:.95!important;
  overflow-wrap:anywhere!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-results-heading span{
  display:block!important;
  margin-top:5px!important;
  font-size:8px!important;
  line-height:1!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-score.scheduled{
  background:rgba(255,255,255,.96)!important;
  color:#111827!important;
  border:1px solid rgba(17,24,39,.15)!important;
  box-shadow:none!important;
  min-height:34px!important;
  height:34px!important;
  padding:3px 4px!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-score.scheduled .sb-scheduled-date{
  display:block!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:950!important;
  white-space:nowrap!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-score.scheduled .sb-scheduled-time{
  display:block!important;
  margin-top:3px!important;
  font-size:7px!important;
  line-height:1!important;
  font-weight:850!important;
  white-space:nowrap!important;
  color:#374151!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-score.scheduled em{
  color:#fff!important;
}
/* En Fecha, la marca superior solo aloja logo lateral / Sin Barrera; el texto editable vive en el contenido. */
.sb-art-editor-modal .sb-art-preview:has(.sb-round-art-content) .sb-approved-brand{
  justify-content:flex-start!important;
}


/* Fecha v2: cabecera despejada, filas más finas y programación compacta */
.sb-art-editor-modal .sb-art-preview:has(.sb-round-art-content) .sb-approved-brand{
  top:14px!important;
  left:24px!important;
  right:24px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  box-sizing:border-box!important;
}
.sb-art-editor-modal .sb-art-preview:has(.sb-round-art-content) .sb-approved-brand .sb-art-tournament-logo-side{
  position:static!important;
  transform:none!important;
  width:30px!important;height:30px!important;
  max-width:30px!important;max-height:30px!important;
  margin:0!important;flex:0 0 30px!important;
}
.sb-art-editor-modal .sb-art-preview:has(.sb-round-art-content) .sb-approved-brand .sb-art-brand-name{
  position:static!important;
  transform:none!important;
  margin:0!important;
  font-size:7px!important;
  line-height:1.1!important;
  letter-spacing:.13em!important;
  text-align:right!important;
  flex:0 0 auto!important;
}
.sb-art-editor-modal .sb-round-art-content{
  padding-top:52px!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-results-heading{
  margin:0 0 7px!important;
  padding:0 46px!important;
  box-sizing:border-box!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-results-heading strong{
  font-size:19px!important;
  line-height:.95!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-results-heading span{
  margin-top:4px!important;
  font-size:7px!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-results-list{
  gap:4px!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-row{
  min-height:38px!important;
  height:38px!important;
  border-radius:10px!important;
  padding:1px 7px!important;
  grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr)!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-team{
  gap:5px!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-team strong{
  font-size:10px!important;
  line-height:1!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-team .team-logo,
.sb-art-editor-modal .sb-round-art-content .sb-result-team img{
  width:31px!important;height:31px!important;
  max-width:31px!important;max-height:31px!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-score{
  min-width:50px!important;
  min-height:31px!important;
  height:31px!important;
  border-radius:10px!important;
  padding:2px 3px!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-score b{
  font-size:16px!important;
  line-height:1!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-score em{
  top:-5px!important;
  font-size:5px!important;
  line-height:10px!important;
  min-height:10px!important;
  padding:0 6px!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-score.scheduled{
  min-width:50px!important;
  min-height:29px!important;
  height:29px!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid rgba(17,24,39,.13)!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-score.scheduled .sb-scheduled-date{
  font-size:7px!important;
  line-height:1!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-score.scheduled .sb-scheduled-time{
  margin-top:2px!important;
  font-size:6px!important;
  line-height:1!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-result-score.scheduled .sb-scheduled-date:only-child{
  font-size:14px!important;
}
.sb-art-editor-modal .sb-round-art-content .sb-standings-ad{
  margin-top:8px!important;
}


/* Fecha v3 — escala vertical final. Selectores deliberadamente más específicos
   que las reglas format-square anteriores. Solo afecta Partidos > Fecha. */
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-round-results-art{
  width:80%!important;
  max-width:80%!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-results-list{
  gap:3px!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-result-row{
  min-height:34px!important;
  height:34px!important;
  padding:1px 6px!important;
  border-radius:9px!important;
  grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr)!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-result-team{
  gap:4px!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-result-team strong{
  font-size:7.5px!important;
  line-height:.98!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-result-team .team-logo,
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-result-team img{
  width:25px!important;
  height:25px!important;
  max-width:25px!important;
  max-height:25px!important;
  flex:0 0 25px!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-result-score{
  width:46px!important;
  min-width:46px!important;
  height:26px!important;
  min-height:26px!important;
  padding:1px 3px!important;
  border-radius:9px!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-result-score b{
  font-size:12px!important;
  line-height:1!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-result-score em{
  top:-5px!important;
  min-height:8px!important;
  line-height:8px!important;
  padding:0 5px!important;
  font-size:4.5px!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-result-score.scheduled{
  width:46px!important;
  min-width:46px!important;
  height:25px!important;
  min-height:25px!important;
  padding:2px!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-result-score.scheduled .sb-scheduled-date{
  font-size:6px!important;
  line-height:1!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-result-score.scheduled .sb-scheduled-time{
  margin-top:1px!important;
  font-size:5px!important;
  line-height:1!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-result-score.scheduled .sb-scheduled-date:only-child{
  font-size:10px!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-results-heading{
  margin-bottom:6px!important;
}


/* Fecha v4 — publicidad unificada con el resto de descargas.
   No participa del flujo de partidos: tiene una reserva propia al pie. */
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content{
  padding-bottom:72px!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-standings-ad.sb-unified-art-ad{
  position:absolute!important;
  left:10%!important;
  right:10%!important;
  bottom:16px!important;
  width:80%!important;
  max-width:80%!important;
  height:52px!important;
  min-height:52px!important;
  max-height:52px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  align-items:stretch!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 5px 16px rgba(0,0,0,.16)!important;
  z-index:6!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-standings-ad.sb-unified-art-ad .sb-art-ad-item{
  width:100%!important;
  height:52px!important;
  min-height:52px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  border:0!important;
  border-radius:12px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-standings-ad.sb-unified-art-ad .sb-art-ad-item img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  padding:6px!important;
  box-sizing:border-box!important;
  object-fit:contain!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}


/* Fecha v5 — filas alineadas con publicidad + cabecera balanceada.
   Conserva la altura aprobada de las filas. */
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-round-results-art{
  width:80%!important;
  max-width:80%!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-results-list,
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-result-row{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.sb-art-editor-modal .sb-art-preview.format-square:has(.sb-round-art-content) .sb-approved-brand{
  top:15px!important;
  left:10%!important;
  right:10%!important;
  width:80%!important;
  height:34px!important;
  min-height:34px!important;
  padding:0 6px!important;
  display:grid!important;
  grid-template-columns:34px 1fr 68px!important;
  align-items:center!important;
  column-gap:8px!important;
  box-sizing:border-box!important;
}
.sb-art-editor-modal .sb-art-preview.format-square:has(.sb-round-art-content) .sb-approved-brand .sb-art-tournament-logo-side{
  position:static!important;
  transform:none!important;
  grid-column:1!important;
  justify-self:center!important;
  width:30px!important;
  height:30px!important;
  max-width:30px!important;
  max-height:30px!important;
  margin:0!important;
  object-fit:contain!important;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.25))!important;
}
.sb-art-editor-modal .sb-art-preview.format-square:has(.sb-round-art-content) .sb-approved-brand .sb-art-brand-name{
  position:static!important;
  transform:none!important;
  grid-column:3!important;
  justify-self:end!important;
  margin:0!important;
  padding:4px 6px!important;
  border-radius:6px!important;
  background:rgba(0,0,0,.28)!important;
  font-size:6px!important;
  line-height:1.05!important;
  letter-spacing:.11em!important;
  text-align:center!important;
  white-space:nowrap!important;
  text-shadow:0 1px 2px rgba(0,0,0,.5)!important;
}


/* Fecha v6 — ancho REAL idéntico entre partidos y publicidad.
   El 80% anterior se aplicaba dentro de un contenedor ya reducido (80% de 80%).
   La lista pasa a usar el mismo sistema de coordenadas del banner: 10% / 80%. */
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-round-results-art{
  width:100%!important;
  max-width:100%!important;
  padding-left:10%!important;
  padding-right:10%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-round-results-art .sb-results-list{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-round-art-content .sb-round-results-art .sb-result-row{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}


/* Fecha v7 — una sola referencia horizontal.
   sb-art-content ya nace con inset lateral en el layout base; para este arte
   lo llevamos al lienzo completo y filas/publicidad comparten 10%/80%. */
.sb-art-editor-modal .sb-art-preview.format-square .sb-art-content.sb-round-art-content{
  left:0!important;
  right:0!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-art-content.sb-round-art-content .sb-round-results-art{
  position:relative!important;
  width:80%!important;
  max-width:80%!important;
  padding-left:0!important;
  padding-right:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-art-content.sb-round-art-content .sb-results-list,
.sb-art-editor-modal .sb-art-preview.format-square .sb-art-content.sb-round-art-content .sb-result-row{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-art-content.sb-round-art-content .sb-standings-ad.sb-unified-art-ad{
  left:10%!important;
  right:auto!important;
  width:80%!important;
  max-width:80%!important;
  box-sizing:border-box!important;
}


/* Fecha v8 — corrección sobre ancho efectivo observado en preview.
   La publicidad absoluta y el bloque de resultados resuelven % contra cajas
   distintas. Compensamos únicamente el bloque de filas: 90% de su containing
   block equivale al ancho visual 80% de la banda publicitaria. */
.sb-art-editor-modal .sb-art-preview.format-square .sb-art-content.sb-round-art-content .sb-round-results-art{
  width:90%!important;
  max-width:90%!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.sb-art-editor-modal .sb-art-preview.format-square .sb-art-content.sb-round-art-content .sb-results-list{
  width:100%!important;
  max-width:100%!important;
}
