
/* Home celular independiente, construido a partir de las tarjetas y la tabla del monitor. */
#uc-mobile-v2{display:none}
/* La versión móvil actual utiliza un carrusel independiente (#uc-mobile-v2). */
@media (max-width:899px) {
  body:not(.playing):not(.uc-finished) #uc-mobile-v2 .um-card {
    border-radius:var(--uc-theme-border-radius-2193bb4a)!important;
    overflow:hidden!important;
    padding:var(--uc-theme-padding-fe346f18)!important}
  body:not(.playing):not(.uc-finished) #uc-mobile-v2 .um-card img {
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center!important;
    border-radius:inherit!important}}
@media(max-width:899px){
 body:not(.playing):not(.uc-finished) #uc-mobile-v2{display:flex!important;position:fixed!important;inset:0!important;z-index:9990!important;flex-direction:column!important;box-sizing:border-box!important;gap:var(--uc-theme-gap-5ae3aad3)!important;padding:var(--uc-theme-padding-d3d1b3c9)!important;overflow:hidden!important;background:var(--uc-theme-background-9657d979)!important;background-color:var(--uc-theme-background-color-eac343dd)!important;color:var(--uc-theme-color-d771dc16)!important;visibility:visible!important;opacity:1!important}
 body:not(.playing):not(.uc-finished) #uc-mobile-v2:before{content:'';position:absolute;inset:0;background-image:var(--uc-theme-background-image-5d465fa5);background-size:var(--uc-theme-background-size-14651d2d);background-position:var(--uc-theme-background-position-c2a30118);z-index:-1;pointer-events:none}
 #uc-mobile-v2 *{box-sizing:border-box}
 #uc-mobile-v2 .um-head{display:grid;grid-template-columns:43px minmax(0,1fr) 43px;gap:var(--uc-theme-gap-5ae3aad3);align-items:start;flex:0 0 auto}
 #uc-mobile-v2 .um-head>button{width:43px;height:43px;border:var(--uc-theme-border-4959a002);background:var(--uc-theme-background-3e63a9de);color:var(--uc-theme-color-f7c71b71);border-radius:var(--uc-theme-border-radius-fcdb0981);font-size:var(--uc-theme-font-size-37ad2d78);font-weight:var(--uc-theme-font-weight-c09efb0b);padding:var(--uc-theme-padding-fe346f18)}
 #uc-mobile-v2 .um-title{text-align:center;text-shadow:var(--uc-theme-text-shadow-5f419da0)}
 #uc-mobile-v2 .um-title strong{display:block;white-space:nowrap;font:var(--uc-theme-font-79dfc3f4);letter-spacing:var(--uc-theme-letter-spacing-9013b04c);color:var(--uc-theme-color-93350ba0)}
 #uc-mobile-v2 .um-title strong span{color:var(--uc-theme-color-6c4dc2f0)}
 #uc-mobile-v2 .um-title small{display:block;font:var(--uc-theme-font-fe7794e0);margin-top:5px;color:var(--uc-theme-color-93350ba0)}
 #uc-mobile-v2 .um-track{display:flex;flex:0 0 auto;width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;gap:var(--uc-theme-gap-1ec3c5c4);touch-action:pan-x}
 #uc-mobile-v2 .um-track::-webkit-scrollbar{display:none}
 #uc-mobile-v2 .um-card{flex:0 0 100%;width:100%;height:min(26dvh,175px);min-height:105px;display:block;border:var(--uc-theme-border-9ab68de8);border-radius:var(--uc-theme-border-radius-79b4eba5);overflow:hidden;background:var(--uc-theme-background-1a41c193);padding:var(--uc-theme-padding-fe346f18);scroll-snap-align:center;box-shadow:var(--uc-theme-box-shadow-db936738);position:relative}
 #uc-mobile-v2 .um-card img{display:block;width:100%;height:100%;object-fit:fill}
 #uc-mobile-v2 .um-dots{display:flex;gap:var(--uc-theme-gap-5ae3aad3);justify-content:center;flex:0 0 auto;padding:var(--uc-theme-padding-57db0a3b)}
 #uc-mobile-v2 .um-dots b{display:block;width:8px;height:8px;border-radius:var(--uc-theme-border-radius-a1a7c7d7);background:var(--uc-theme-background-acfc4214)}
 #uc-mobile-v2 .um-dots b.on{width:23px;background:var(--uc-theme-background-0c4ccd1b)}
 #uc-mobile-v2 .um-board{display:flex;flex-direction:column;flex:1 1 0;min-height:0;border:var(--uc-theme-border-4e7bba9d);border-radius:var(--uc-theme-border-radius-f96a545e);background:var(--uc-theme-background-fbb32e0d);padding:var(--uc-theme-padding-5884fc66);overflow:hidden;box-shadow:var(--uc-theme-box-shadow-6744c87d)}
 #uc-mobile-v2 .um-board>h2{font:var(--uc-theme-font-f7b0619f);color:var(--uc-theme-color-63f5bb93);text-align:center;margin:0 0 8px;flex:none}
 #uc-mobile-v2 #um-board-content{display:flex;flex:1 1 0;min-height:0;flex-direction:column}
 #uc-mobile-v2 .ac-paper{display:flex!important;position:static!important;inset:auto!important;transform:none!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;max-height:none!important;width:100%!important;height:auto!important;margin:0!important;padding:var(--uc-theme-padding-fe346f18)!important;background:var(--uc-theme-background-dd77378e)!important;border:var(--uc-theme-border-8fefc554)!important;box-shadow:var(--uc-theme-box-shadow-8c4bb2e8)!important;overflow:hidden!important;visibility:visible!important;opacity:1!important}
 #uc-mobile-v2 .ac-paper>h2{display:none!important}
 #uc-mobile-v2 .ac-tabs{display:flex!important;position:static!important;inset:auto!important;transform:none!important;width:100%!important;height:auto!important;flex:0 0 auto!important;gap:var(--uc-theme-gap-4890d1d3)!important;margin:0 0 8px!important}
 #uc-mobile-v2 .ac-tabs button{flex:1 1 0!important;min-width:0!important;font-size:var(--uc-theme-font-size-ce163964)!important;padding:var(--uc-theme-padding-aa7d7ec3)!important}
 #uc-mobile-v2 #ac-rows{display:block!important;position:static!important;inset:auto!important;transform:none!important;flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain!important;touch-action:pan-y!important;visibility:visible!important;opacity:1!important}
 #uc-mobile-v2 #ac-full{display:none!important}
 #uc-mobile-v2 .um-pop{position:absolute;top:calc(env(safe-area-inset-top) + 55px);z-index:10;background:var(--uc-theme-background-29b5de50);color:var(--uc-theme-color-d771dc16);border:var(--uc-theme-border-82191c1e);border-radius:var(--uc-theme-border-radius-32e2da45);padding:var(--uc-theme-padding-a8178974);width:min(300px,85vw);box-shadow:var(--uc-theme-box-shadow-43ae0936);max-height:70dvh;overflow-y:auto}
 #uc-mobile-v2 .um-pop[hidden]{display:none!important}
 #uc-mobile-v2 #um-menu-pop{left:12px}
 #uc-mobile-v2 #um-profile-pop{right:12px}
 #uc-mobile-v2 .um-pop button,#uc-mobile-v2 .um-pop input,#uc-mobile-v2 .um-pop select{display:block;width:100%;margin:6px 0;padding:var(--uc-theme-padding-a98505f1);border-radius:var(--uc-theme-border-radius-888074d3);min-height:38px;font-size:var(--uc-theme-font-size-32a0c1a3)}
 #uc-mobile-v2 .um-pop label{display:block;font-weight:var(--uc-theme-font-weight-ac5667cf);font-size:var(--uc-theme-font-size-c2b35169)}}

@media(max-width:899px){body:not(.playing):not(.uc-finished) #uc-mobile-v2{height:100dvh!important;max-height:100dvh!important;background-size:var(--uc-theme-background-size-2e8b3347)!important;background-position:var(--uc-theme-background-position-7753a580)!important;background-repeat:var(--uc-theme-background-repeat-c5d099d7)!important}}


/* Tarjetas ilustradas originales, deslizado horizontal y título incluido en fondo. */
@media(max-width:899px){
 body:not(.playing):not(.uc-finished) #uc-mobile-v2{
  gap:var(--uc-theme-gap-5ae3aad3)!important;
  background-image:var(--uc-theme-background-image-75081d73)!important}
 #uc-mobile-v2 .um-head{
  flex:0 0 15dvh!important;
  align-items:start!important;
  position:relative!important;
  z-index:2!important}
 #uc-mobile-v2 .um-title{display:block!important;visibility:hidden!important}
 #uc-mobile-v2 .um-track{
  flex:0 0 auto!important;
  width:100%!important;
  gap:var(--uc-theme-gap-1ec3c5c4)!important;
  scroll-padding-inline:0!important}
 #uc-mobile-v2 .um-card{
  flex:0 0 100%!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:3.4/1!important;
  background:var(--uc-theme-background-dd77378e)!important;
  border:var(--uc-theme-border-8fefc554)!important;
  border-radius:var(--uc-theme-border-radius-a650f311)!important;
  box-shadow:var(--uc-theme-box-shadow-8c4bb2e8)!important;
  overflow:visible!important;
  padding:var(--uc-theme-padding-fe346f18)!important}
 #uc-mobile-v2 .um-card img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  border:var(--uc-theme-border-8fefc554)!important}
 #uc-mobile-v2 .um-dots{padding:var(--uc-theme-padding-57db0a3b)!important}
 #uc-mobile-v2 .um-board{
  width:80%!important;max-width:80%!important;align-self:center!important;
  flex:0.98 1 0!important;min-height:0!important}
 body:not(.playing):not(.uc-finished) #uc-mobile-v2::after{
  content:"";display:block;flex:0.02 1 0;min-height:0;pointer-events:none}}


/* Base de posicionamiento del carrusel; el mazo superpuesto se define debajo. */
@media(max-width:899px){
 #uc-mobile-v2 .um-track{position:relative!important;display:block!important;width:100%!important;height:clamp(85px,14dvh,140px)!important;flex:0 0 auto!important;scroll-snap-type:none!important;scroll-padding:0!important;gap:var(--uc-theme-gap-a7a34265)!important}
 #uc-mobile-v2 .um-card{position:absolute!important;top:50%!important;display:block!important;margin:0!important;padding:var(--uc-theme-padding-fe346f18)!important;flex:none!important;min-height:0!important;height:auto!important;transform:translate(-50%,-50%)!important;box-shadow:var(--uc-theme-box-shadow-8c4bb2e8)!important;cursor:pointer!important}
 #uc-mobile-v2 .um-card[data-position=left]{transform-origin:center!important}
 #uc-mobile-v2 .um-card[data-position=right]{transform-origin:center!important}
 #uc-mobile-v2 .um-card img{object-fit:contain!important;pointer-events:none!important}
 #uc-mobile-v2 .um-dots{padding:var(--uc-theme-padding-fe346f18)!important}}

/* UbiCancha: mazo superpuesto en celular. Laterales detrás de la central. */
@media(max-width:899px){
 #uc-mobile-v2 .um-track{isolation:isolate!important;overflow:hidden!important;touch-action:pan-y!important}
 #uc-mobile-v2 .um-card{left:50%!important;width:78%!important;aspect-ratio:1939/513!important;transform-origin:center center!important;transition:var(--uc-theme-transition-3d8cd17e)!important;will-change:transform!important}
 #uc-mobile-v2 .um-card[data-position=center]{left:50%!important;width:78%!important;transform:translate(-50%,-50%) scale(1)!important;z-index:3!important;opacity:1!important}
 #uc-mobile-v2 .um-card[data-position=left]{left:50%!important;width:78%!important;transform:translate(calc(-50% - 18%),-50%) scale(.88)!important;z-index:1!important;opacity:1!important}
 #uc-mobile-v2 .um-card[data-position=right]{left:50%!important;width:78%!important;transform:translate(calc(-50% + 18%),-50%) scale(.88)!important;z-index:2!important;opacity:1!important}
 /* Todas las tarjetas son opacas, incluida la ilustración central. */
 #uc-mobile-v2 .um-card[data-position=center] img{opacity:1!important}
 #uc-mobile-v2 .um-card[data-position=left] img,#uc-mobile-v2 .um-card[data-position=right] img{opacity:1!important}}
@media(prefers-reduced-motion:reduce){#uc-mobile-v2 .um-card{transition:var(--uc-theme-transition-65553e3e)!important}}

/* Indicador de modos destacado: sólo portada móvil. */
@media(max-width:899px){
 body:not(.playing):not(.uc-finished) #uc-mobile-v2 .um-dots{
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:var(--uc-theme-gap-acc6516b)!important;padding:var(--uc-theme-padding-bf77d7db)!important;min-height:23px!important;
  flex:0 0 auto!important}
 body:not(.playing):not(.uc-finished) #uc-mobile-v2 .um-dots b{
  width:15px!important;height:15px!important;border-radius:var(--uc-theme-border-radius-7568ccff)!important;
  background:var(--uc-theme-background-90734185)!important;opacity:var(--uc-theme-opacity-3d59b340)!important;border:var(--uc-theme-border-e744c56c)!important;
  box-shadow:var(--uc-theme-box-shadow-4801e894)!important;transition:var(--uc-theme-transition-972d9c39)!important}
 body:not(.playing):not(.uc-finished) #uc-mobile-v2 .um-dots b.on{
  width:43px!important;height:16px!important;background:var(--uc-theme-background-6835e4e3)!important;opacity:1!important;
  border-color:var(--uc-theme-border-color-0c7bfd47)!important;box-shadow:var(--uc-theme-box-shadow-38094826)!important}
 body:not(.playing):not(.uc-finished) #uc-mobile-v2 .um-dots::after{
  content:none!important;display:none!important;position:absolute;
  margin-top:40px;font-size:var(--uc-theme-font-size-7f0868ab);font-weight:var(--uc-theme-font-weight-68085f0d);letter-spacing:var(--uc-theme-letter-spacing-e67665fc);
  color:var(--uc-theme-color-1ecbf572);text-shadow:var(--uc-theme-text-shadow-75e987b1);
  pointer-events:none}
 body:not(.playing):not(.uc-finished) #uc-mobile-v2 .um-dots{margin-bottom:9px!important}}

/* Acercar el conjunto a la tabla sin alterar el flujo ni escalar tarjetas.
   +36px: deja los controles a ~4px de la tabla; +60px la invadiría.
   Sólo los controles se reducen un 20%, incluidos flechas, punto y separación. */
@media(max-width:899px){
 body:not(.playing):not(.uc-finished) #uc-mobile-v2 .um-track{
  transform:translateY(43px)!important}
 body:not(.playing):not(.uc-finished) #uc-mobile-v2 .um-dots{
  transform:translateY(18px) scale(.8)!important}}

/* Tabla móvil: filas más compactas para mostrar más jugadores sin cambiar el resto de la portada. */
@media (max-width:899px){
 #uc-mobile-v2 #ac-rows .ac-line{
  font-size:var(--uc-theme-font-size-c2b35169)!important;
  line-height:var(--uc-theme-line-height-80735a09)!important;
  min-height:25px!important;
  padding:var(--uc-theme-padding-c8f51d0a)!important;
  gap:var(--uc-theme-gap-9ecc83b6)!important}
 #uc-mobile-v2 #ac-rows .ac-line .ac-name,
 #uc-mobile-v2 #ac-rows .ac-line .ac-value,
 #uc-mobile-v2 #ac-rows .ac-line .ac-num{
  font-size:var(--uc-theme-font-size-c2b35169)!important;
  line-height:var(--uc-theme-line-height-80735a09)!important}
 #uc-mobile-v2 #ac-rows .ac-line .ac-crest img{
  width:20px!important;height:20px!important;object-fit:contain!important}
 #uc-mobile-v2 #ac-rows .ac-line .ac-star{font-size:var(--uc-theme-font-size-c2b35169)!important}
 #uc-mobile-v2 #ac-rows .ac-line .ac-stars{margin-top:1px!important}}

/* Contraste de datos y explicaciones de las tablas en celular. */
@media (max-width:899px){
 #uc-mobile-v2 #ac-rows .ac-line .ac-value,
 #uc-mobile-v2 #ac-rows .ac-line .ac-num,
 #uc-mobile-v2 #ac-rows .ac-line .ac-name{
  color:var(--uc-theme-color-d771dc16)!important}
 #uc-mobile-v2 .ac-info{
  color:var(--uc-theme-color-40ca7912)!important;
  font-weight:var(--uc-theme-font-weight-68085f0d)!important;
  text-shadow:var(--uc-theme-text-shadow-1fb4467e)!important}}

/* Evita que se vea una tarjeta detrás de otra a través de los píxeles alfa del WebP. */
@media (max-width:899px){
 #uc-mobile-v2 .um-card[data-position=center],
 #uc-mobile-v2 .um-card[data-position=left],
 #uc-mobile-v2 .um-card[data-position=right]{
  background:var(--uc-theme-background-e057f2ef)!important;
  opacity:1!important}
 #uc-mobile-v2 .um-card[data-position=center] img,
 #uc-mobile-v2 .um-card[data-position=left] img,
 #uc-mobile-v2 .um-card[data-position=right] img{
  background:var(--uc-theme-background-e057f2ef)!important;
  opacity:1!important}}

/* Bordes redondeados consistentes en todas las posiciones del carrusel.
   Sobrescribe el border-radius:0 y overflow:visible de reglas anteriores. */
@media (max-width:899px){
 #uc-mobile-v2 .um-card,
 #uc-mobile-v2 .um-card[data-position=center],
 #uc-mobile-v2 .um-card[data-position=left],
 #uc-mobile-v2 .um-card[data-position=right]{
  border-radius:var(--uc-theme-border-radius-79b4eba5)!important;
  overflow:hidden!important;
  -webkit-clip-path:inset(0 round 15px)!important;
  clip-path:inset(0 round 15px)!important}
 #uc-mobile-v2 .um-card img{
  border-radius:inherit!important}}

/* Explicaciones uniformes para las tres clasificaciones, en celular. */
@media(max-width:899px){
 #uc-mobile-v2 #uc-ranking-explanation{
  display:block!important;position:static!important;inset:auto!important;
  flex:0 0 auto!important;margin:0 0 7px!important;padding:var(--uc-theme-padding-19435104)!important;
  color:var(--uc-theme-color-40ca7912)!important;text-align:center!important;
  font:var(--uc-theme-font-a0d46104)!important;
  text-shadow:var(--uc-theme-text-shadow-1fb4467e)!important}}
