/* 5.19.495: Sin CSS legado de segunda tabla. Mantiene identidad de Reserva. */
/* 5.19.490: la ficha de Reserva conserva ID y datos deportivos propios.
   Solo las siglas y los sufijos visuales usan la identidad del club mayor. */
/* 5.19.491: Reserva visible y coherente en todo el sitio.
   - Siglas [R] más pequeñas, grises y realmente centradas.
   - En la ficha del club, la palabra Reserva se distingue siempre. */
.ms-reserve-team-name,.ms-r490-team-name{align-items:center!important;vertical-align:middle!important}
.ms-reserve-team-name .ms-reserve-suffix,
.ms-compact-team-name .ms-reserve-suffix,
.ms-r490-team-name .ms-reserve-suffix {
  color:#8792a0!important;font-size:.68em!important;font-weight:650!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  vertical-align:middle!important;line-height:1!important;position:relative;top:0!important;
  transform:translateY(-.10em)!important;flex-shrink:0;margin-left:.20em;white-space:nowrap;
}
.ms-compact-team-name .ms-reserve-base{display:inline}
.ms-r490-reserve-code{display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;color:#8792a0!important;font-size:.62em!important;font-weight:700!important;line-height:1!important;margin-left:.20em;position:relative;top:0!important;transform:translateY(-.10em)!important;white-space:nowrap}
html[data-tessirve-color-mode="dark"] :is(.ms-reserve-suffix,.ms-r490-reserve-code){color:#bcc5d0!important}
body .ms-team-profile-reserva .ms-team-hero .ms-team-identity-copy .ms-reserva-profile-subtitle{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:.42rem!important;flex-wrap:wrap!important;
}
body .ms-team-profile-reserva .ms-team-hero .ms-team-identity-copy .ms-reserva-profile-subtitle .ms-reserva-word{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;
  padding:.16rem .54rem .18rem!important;border-radius:999px!important;border:1.5px solid rgba(17,24,39,.88)!important;
  background:rgba(255,255,255,.18)!important;color:#fff!important;font-weight:900!important;letter-spacing:.04em!important;text-transform:uppercase!important;
  text-shadow:-1px 0 rgba(17,24,39,.92),0 1px rgba(17,24,39,.92),1px 0 rgba(17,24,39,.92),0 -1px rgba(17,24,39,.92)!important;
  box-shadow:0 1px 4px rgba(0,0,0,.16)!important;
}
html[data-tessirve-color-mode="dark"] body .ms-team-profile-reserva .ms-team-hero .ms-team-identity-copy .ms-reserva-profile-subtitle .ms-reserva-word{
  border-color:rgba(255,255,255,.92)!important;background:rgba(255,255,255,.10)!important;color:#fff!important;
  text-shadow:-1px 0 rgba(0,0,0,.84),0 1px rgba(0,0,0,.84),1px 0 rgba(0,0,0,.84),0 -1px rgba(0,0,0,.84)!important;
}
/* 5.19.492: el nombre institucional ocupa su propia línea debajo de la placa Reserva. */
body .ms-team-profile-reserva .ms-team-hero .ms-team-identity-copy p.ms-reserva-profile-subtitle{
 display:flex!important;justify-content:center!important;align-items:center!important;margin:.3rem 0 .25rem!important;
}
body .ms-team-profile-reserva .ms-team-hero .ms-team-identity-copy p.ms-reserva-institutional{
 display:block!important;font-size:clamp(.72rem,2.45vw,.91rem)!important;line-height:1.3!important;
 text-align:center!important;letter-spacing:0!important;opacity:.9!important;margin:.04rem auto .65rem!important;
 max-width:100%!important;overflow-wrap:break-word!important;font-weight:500!important;
 color:var(--ms-hero-muted,rgba(255,255,255,.85))!important;
}
body .ms-team-profile-reserva .ms-team-hero .ms-team-identity-copy p.ms-reserva-profile-subtitle .ms-reserva-word{margin:0!important}

/* 5.19.532 — El tema libera la entrada del ranking con display:contents en
 * móvil. El acordeón completo debe ocupar la segunda fila de la tarjeta;
 * ubicar sólo su lista de años no lo saca de la columna del puesto. */
.ms-history-modal .ms-history-modal-content.is-ranking.is-proyeccion-ranking .ms-history-title-years{
 box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
}
.ms-history-modal .ms-history-modal-content.is-ranking.is-proyeccion-ranking .ms-history-title-year{
 box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
 white-space:normal!important;overflow-wrap:anywhere;text-align:center;
}
@media(max-width:640px){
 .ms-history-modal .ms-history-modal-content.is-ranking.is-proyeccion-ranking .ms-history-ranking-entry{
  display:contents!important;
 }
 .ms-history-modal .ms-history-modal-content.is-ranking.is-proyeccion-ranking .ms-history-ranking-pos{
  grid-column:1!important;grid-row:1!important;align-self:center!important;
 }
 .ms-history-modal .ms-history-modal-content.is-ranking.is-proyeccion-ranking .ms-history-ranking-club{
  grid-column:2!important;grid-row:1!important;align-self:center!important;min-width:0!important;
 }
 .ms-history-modal .ms-history-modal-content.is-ranking.is-proyeccion-ranking .ms-history-ranking-titles{
  grid-column:3!important;grid-row:1!important;align-self:center!important;
 }
 .ms-history-modal .ms-history-modal-content.is-ranking.is-proyeccion-ranking .ms-history-title-details{
  box-sizing:border-box!important;grid-column:1 / -1!important;grid-row:2!important;
  justify-self:stretch!important;width:100%!important;min-width:0!important;max-width:100%!important;
  margin:0!important;padding:0!important;
 }
 .ms-history-modal .ms-history-modal-content.is-ranking.is-proyeccion-ranking .ms-history-title-details .ms-history-title-years{
  display:flex!important;flex-flow:row wrap!important;align-items:center!important;
  justify-content:flex-start!important;gap:5px!important;
  box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;
  margin:6px 0 0!important;padding:0!important;
 }
 .ms-history-modal .ms-history-modal-content.is-ranking.is-proyeccion-ranking .ms-history-title-details .ms-history-title-year{
  flex:0 1 auto!important;min-width:0!important;max-width:100%!important;
  white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.2!important;
 }
}
