/* v3 - Fondo derivado de la imagen adjunta, escudos libres y visor sin deformación. */
.la-pl-match{border-radius:18px!important}
.la-pl-top{height:188px!important}
.la-pl-team{
  overflow:hidden!important;
  isolation:isolate!important;
  background:linear-gradient(130deg,var(--la-team-bg,#14283c),var(--la-team-deep,#10171e))!important;
}
.la-pl-team::before{display:none!important;content:none!important}
.la-pl-team::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  clip-path:none!important;
  background-image:url("./assets/premier-pattern-from-upload.webp")!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center!important;
  background-color:transparent!important;
  mix-blend-mode:screen!important;
  opacity:.68!important;
  z-index:0!important;
  pointer-events:none!important;
}
.la-pl-team--home::after{background-position:27% center!important}
.la-pl-team--away::after{background-position:73% center!important}
.la-pl-team .la-pl-crest{
  display:grid!important;
  place-items:center!important;
  position:relative!important;z-index:2!important;
  width:80px!important;height:80px!important;
  min-width:0!important;min-height:0!important;
  padding:0!important;margin:0!important;
  border:0!important;outline:none!important;border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.la-pl-team .la-pl-crest img{
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;object-fit:contain!important;
  border:0!important;border-radius:0!important;background:none!important;
  box-shadow:none!important;filter:drop-shadow(0 3px 4px rgba(0,0,0,.35))!important;
}
.la-pl-team .la-pl-name{
  position:relative!important;z-index:2!important;
  color:var(--la-team-text,#fff)!important;
  text-align:center!important;line-height:1.17!important;
  text-shadow:0 2px 5px rgba(0,0,0,.28)!important;
  font-size:clamp(14px,2vw,20px)!important;
  font-weight:800!important;
  overflow-wrap:break-word!important;
}
.la-pl-score-lines{display:none!important}
.la-pl-vs{
  position:absolute!important;z-index:4!important;left:50%!important;
  top:50%!important;transform:translate(-50%,-50%)!important;
  width:64px!important;min-width:64px!important;height:46px!important;
  padding:0!important;clip-path:none!important;border-radius:14px!important;
  display:grid!important;place-items:center!important;
  font-size:18px!important;line-height:1!important;font-weight:900!important;
  color:#fff!important;background:#007db7!important;
  border:2px solid #67cbf3!important;
  box-shadow:0 9px 23px rgba(0,0,0,.4)!important;
}
.la-pl-story-ring{border-color:#51c9fa!important}
.la-pl-details{background:linear-gradient(150deg,#0c385b,#05233b)!important}

/* Cada historia ocupa un marco 9:16; la fotografía original conserva su proporción. */
.la-pl-stories-overlay{
  position:fixed!important;inset:0!important;
  width:100vw!important;height:100dvh!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
.la-pl-stories-shell{
  position:relative!important;
  display:flex!important;flex-direction:column!important;
  aspect-ratio:9/16!important;
  width:min(440px,92vw,calc(92dvh * 9 / 16))!important;
  height:auto!important;
  min-height:0!important;max-height:92dvh!important;
  background:#02060b!important;overflow:hidden!important;
}
.la-pl-story-stage{
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:1 1 auto!important;min-width:0!important;min-height:0!important;
  position:relative!important;overflow:hidden!important;
  background:#050b11!important;
  touch-action:pan-y!important;overscroll-behavior:contain!important;
}
.la-pl-story-backdrop{
  position:absolute!important;inset:-12%!important;
  width:124%!important;height:124%!important;
  max-width:none!important;max-height:none!important;
  display:block!important;object-fit:cover!important;
  object-position:center!important;
  filter:blur(25px) brightness(.28)!important;
  z-index:0!important;pointer-events:none!important;
}
.la-pl-story-stage .la-pl-story-image{
  display:block!important;position:relative!important;z-index:2!important;
  flex:0 1 auto!important;
  width:auto!important;height:auto!important;
  max-width:100%!important;max-height:100%!important;
  min-width:0!important;min-height:0!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;object-position:center!important;
  margin:auto!important;padding:0!important;
  transform:none!important;
}
.la-pl-story-stage>div.absolute{z-index:3!important}
.la-pl-story-tap{
  position:absolute!important;z-index:8!important;
  width:50%!important;top:60px!important;bottom:58px!important;
  background:none!important;border:none!important;
  -webkit-tap-highlight-color:transparent!important;
  touch-action:manipulation!important;
}
.la-pl-story-tap::after{
  display:grid;place-items:center;
  position:absolute;top:50%;transform:translateY(-50%);
  width:33px;height:33px;border-radius:50%;
  color:#fff;font:700 30px/1 sans-serif;
  background:rgba(2,12,20,.42);
  box-shadow:0 3px 16px rgba(0,0,0,.2);
  opacity:.4;transition:opacity .18s;
  pointer-events:none;
}
.la-pl-story-tap.prev::after{content:"‹";left:6px}
.la-pl-story-tap.next::after{content:"›";right:6px}
.la-pl-story-tap:hover::after,.la-pl-story-tap:focus-visible::after{opacity:.96}
.la-pl-story-topline{z-index:20!important}
.la-pl-story-topline button{width:40px!important;height:40px!important;min-width:40px!important}
.la-pl-story-footer{z-index:15!important}
@media(max-width:600px){
 .la-pl-top{height:165px!important}
 .la-pl-team{padding:11px 8px!important;gap:9px!important}
 .la-pl-team .la-pl-crest{width:64px!important;height:64px!important}
 .la-pl-team .la-pl-name{font-size:clamp(12px,3.45vw,16px)!important;max-width:100%!important}
 .la-pl-vs{width:50px!important;min-width:50px!important;height:42px!important;font-size:15px!important;border-radius:12px!important}
 .la-pl-stories-shell{
   width:100vw!important;height:100dvh!important;max-height:100dvh!important;
   aspect-ratio:auto!important;border-radius:0!important;
 }
 .la-pl-story-stage .la-pl-story-image{max-width:100vw!important;max-height:100%!important}
 .la-pl-story-tap::after{width:27px;height:27px;font-size:25px;opacity:.32}
 .la-pl-story-tap.prev::after{left:3px}
 .la-pl-story-tap.next::after{right:3px}
}
@media(max-width:360px){
 .la-pl-team .la-pl-crest{width:56px!important;height:56px!important}
 .la-pl-team .la-pl-name{font-size:12px!important}
}


/* v5 — panel inferior compacto + trama original con tintes del equipo.
   Se conserva la imagen de franjas, pero el blanco se convierte en
   variantes del color base gracias a soft-light, no a screen. */
.la-pl-team::after{
  background-image:url("./assets/premier-pattern-from-upload.webp")!important;
  background-color:transparent!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  filter:grayscale(1) contrast(1.14) brightness(.85)!important;
  mix-blend-mode:soft-light!important;
  opacity:1!important;
}
.la-pl-team--home::after{background-position:27% center!important}
.la-pl-team--away::after{background-position:73% center!important}

.la-pl-details{
  position:relative!important;
  isolation:isolate!important;
  height:auto!important;
  min-height:0!important;
  padding:12px 12px 13px!important;
  gap:3px!important;
  overflow:hidden!important;
  background:linear-gradient(150deg,#0a3455,#05243f)!important;
}
.la-pl-details::before{
  content:""!important;
  position:absolute!important;
  display:block!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background-image:url("./assets/premier-pattern-from-upload.webp")!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  filter:grayscale(1) contrast(1.08) brightness(.82)!important;
  mix-blend-mode:soft-light!important;
  opacity:.68!important;
}
.la-pl-details > *{
  position:relative!important;
  z-index:1!important;
}
.la-pl-details .la-pl-league,
.la-pl-details .la-pl-meta,
.la-pl-details .la-pl-album-title{
  line-height:1.22!important;
}
.la-pl-details .la-pl-story-trigger{
  margin:5px 0 0!important;
  padding:0 6px!important;
  min-height:0!important;
  gap:3px!important;
}
.la-pl-details .la-pl-story-ring{
  width:76px!important;
  height:76px!important;
  flex:0 0 76px!important;
}
.la-pl-details .la-pl-story-emblem .la-pl-story-emblem-logo{
  max-width:29px!important;
  max-height:37px!important;
  height:37px!important;
}
.la-pl-details .la-pl-story-trigger strong{
  line-height:1.1!important;
}
.la-pl-details .la-pl-story-trigger small{
  line-height:1.15!important;
}
@media(max-width:600px){
  .la-pl-details{
    min-height:0!important;
    padding:11px 10px 12px!important;
    gap:3px!important;
  }
  .la-pl-details .la-pl-story-ring{
    width:73px!important;
    height:73px!important;
    flex-basis:73px!important;
  }
  .la-pl-details .la-pl-story-emblem .la-pl-story-emblem-logo{
    max-width:27px!important;height:35px!important;max-height:35px!important;
  }
}


/* v7 · Negro grafito con franjas diferenciadas para All Boys.
   Sobre el negro liso, la textura plata se mezcla suavemente y queda
   en negro/gris oscuro, visible también en pantallas de celular. */
.la-pl-team.la-pl-team--all-boys{
  background:linear-gradient(125deg,#252930,#171b20)!important;
  color:#fff!important;
}
.la-pl-team.la-pl-team--all-boys::after{
  background-image:url("./assets/premier-pattern-from-upload.webp")!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  mix-blend-mode:screen!important;
  opacity:.31!important;
  filter:grayscale(1) contrast(1.12) brightness(.54)!important;
}
.la-pl-team.la-pl-team--all-boys .la-pl-name{color:#fff!important}
