/* =========================================================
   MIS PARTIDOS · EMPTY STATE + DISPONIBLES POR LIGA
   ========================================================= */

.mp-empty-state-root{
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 26px 0 20px 0;
  box-sizing: border-box;
}

.mp-empty-hero{
  width: min(980px, 100%);
  margin: 0 auto 22px auto;
  padding: 10px 16px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.mp-empty-hero-img{
  height: 132px;
  width: auto;
  max-width: min(240px, 70vw);
  object-fit: contain;
  display: block;
  margin: 0 0 10px 0;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.28));
}

.mp-empty-hero-title{
  font-size: 22px;
  font-weight: 800;
  line-height: 1.05;
  color: rgba(255,255,255,0.96);
  margin: 0 0 10px 0;
  letter-spacing: .1px;
}

.mp-empty-hero-text{
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255,255,255,0.82);
  margin: 0;
  max-width: 880px;
}

.mp-empty-hero-text strong{
  color: rgba(255,255,255,0.96);
  font-weight: 800;
}

.mp-empty-cta-wrap{
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.mp-empty-cta-inline-text{
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255,255,255,0.82);
}

/* =========================================================
   BOTÓN CTA A RUTAS
   Inspirado en navpill, pero independiente
   ========================================================= */

.mp-empty-rutas-btn{
  appearance: none;
  -webkit-appearance: none;
  border-radius: 9999px;
  height: 34px;
  line-height: 34px;
  padding: 0 14px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;

  background: transparent;
  color: #eaeaea;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);

  transform: translateY(0);
  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;

  cursor: pointer;
  text-decoration: none;
  user-select: none;
  outline: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;

  white-space: nowrap;
  vertical-align: middle;
}

.mp-empty-rutas-btn img{
  height: 18px;
  width: 18px;
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  flex: 0 0 auto;
}

.mp-empty-rutas-btn:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.20);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}

.mp-empty-rutas-btn:focus-visible{
  border-color: #5FFF92;
  box-shadow:
    0 0 0 1px rgba(95,255,146,.28) inset,
    0 0 0 3px rgba(95,255,146,.10),
    0 8px 22px rgba(0,0,0,.28);
}

.mp-empty-rutas-btn.is-active,
.mp-empty-rutas-btn--primary{
  background: transparent;
  color: #5FFF92;
  border-color: #5FFF92;
  box-shadow:
    0 0 0 1px rgba(95,255,146,.25) inset,
    0 8px 22px rgba(0,0,0,.28);
  transform: translateY(-1px);
}

.mp-empty-rutas-btn.is-active:hover,
.mp-empty-rutas-btn--primary:hover{
  box-shadow:
    0 0 0 1px rgba(95,255,146,.45) inset,
    0 10px 26px rgba(0,0,0,.32);
}

/* =========================================================
   PANEL DISPONIBLES POR LIGA
   ========================================================= */

.mp-empty-pref-root{
  width: min(1400px, 100%);
  margin: 8px auto 0 auto;
  text-align: center;
  box-sizing: border-box;
  padding: 0 10px;
}

.mp-empty-pref-main-title{
  font-size: 14px;
  font-weight: 800;
  color: rgba(255,255,255,0.94);
  margin: 0 0 12px 0;
  text-align: center;
  width: 100%;
  letter-spacing: .15px;
}

.mp-empty-pref-ages-wrap{
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.mp-empty-pref-age-card{
  border-radius: 18px;
  padding: 10px 12px 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02);
  overflow: hidden;
}

.mp-empty-pref-age-header{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  padding: 0 2px 0;
  width: 100%;
  text-align: center;
}

.mp-empty-pref-age-header-left{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mp-empty-pref-age-icon{
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

.mp-empty-pref-age-title{
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,0.96);
  line-height: 1;
  letter-spacing: .2px;
  text-align: center;
}

.mp-empty-pref-leagues-track{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 10px 12px;
  width: 100%;
  min-width: 0;
  overflow: visible;
  padding: 2px 2px 4px;
}

.mp-empty-pref-league-col{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex: 0 0 auto;
  min-width: max-content;
  text-align: center;
}

.mp-empty-pref-league-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02);
  white-space: nowrap;
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.mp-empty-pref-league-icon{
  width: 15px;
  height: 15px;
  object-fit: contain;
  flex: 0 0 auto;
}

.mp-empty-pref-count-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  width: fit-content;
  text-align: center;
}

.mis-partidos-pref-empty-fallback{
  margin-top: 14px;
  color: rgba(255,255,255,0.70);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 992px){
  .mp-empty-state-root{
    padding-top: 20px;
  }

  .mp-empty-hero{
    padding: 6px 14px 0 14px;
    margin-bottom: 18px;
  }

  .mp-empty-hero-img{
    height: 108px;
    max-width: min(220px, 72vw);
    margin-bottom: 8px;
  }

  .mp-empty-hero-title{
    font-size: 20px;
  }

  .mp-empty-hero-text{
    font-size: 14px;
  }

  .mp-empty-pref-root{
    padding: 0 6px;
  }

  .mp-empty-pref-age-card{
    padding: 10px 8px 10px;
  }

  .mp-empty-pref-leagues-track{
    gap: 8px 10px;
  }
}

@media (max-width: 640px){
  .mp-empty-state-root{
    padding-top: 16px;
  }

  .mp-empty-hero{
    width: 100%;
    padding: 4px 10px 0 10px;
    margin-bottom: 16px;
  }

  .mp-empty-hero-img{
    height: 92px;
    max-width: min(180px, 70vw);
  }

  .mp-empty-hero-title{
    font-size: 18px;
    margin-bottom: 8px;
  }

  .mp-empty-hero-text{
    font-size: 13px;
  }

  .mp-empty-cta-wrap{
    flex-direction: column;
    gap: 8px;
  }

  .mp-empty-rutas-btn{
    height: 32px;
    line-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  .mp-empty-pref-main-title{
    font-size: 13px;
    margin-bottom: 10px;
  }

  .mp-empty-pref-age-title{
    font-size: 12px;
  }

  .mp-empty-pref-league-pill{
    font-size: 11px;
    min-height: 28px;
    padding: 4px 10px;
  }

  .mp-empty-pref-count-pill{
    font-size: 11px;
    min-height: 22px;
    padding: 3px 9px;
  }
}