/* TESSIRVE Theme 5.17.321 — Final por ascenso: partido real #383593.
   Borde interior visible incluso con overflow:hidden en las filas.
   Sin cambios de alto/ancho/posición; no afecta ningún otro partido. */
body.tessirve-theme .ms-home-today .ms-match-groups a.ms-compact-match.tsv321-ascenso-silver,
body.tessirve-theme .ms-home-today .ms-match-groups a.ms-compact-match[data-ms-live-match="383593"],
body.tessirve-theme .ms-home-today .ms-match-groups a.ms-compact-match[href*="-383593/"],
body.tessirve-theme .ms-home-today .ms-match-groups .ms-compact-match.tsv321-ascenso-silver {
  position:relative!important;
  border-color:#98a7b9!important;
  border-radius:9px!important;
  /* Plata dentro de la propia fila; no depende de sombras externas recortadas. */
  box-shadow: inset 0 0 0 3px #adb9c8,
              inset 0 4px 0 #f5f8fc,
              inset 0 -4px 0 #6e7d91,
              inset 4px 0 0 #dde4ee,
              inset -4px 0 0 #8c9aad!important;
}
body.tessirve-theme .ms-home-today .ms-match-groups a.ms-compact-match.tsv321-ascenso-silver:is(:hover,:focus-visible),
body.tessirve-theme .ms-home-today .ms-match-groups a.ms-compact-match[data-ms-live-match="383593"]:is(:hover,:focus-visible) {
  box-shadow: inset 0 0 0 3px #aab8c9,
              inset 0 4px 0 #ffffff,
              inset 0 -4px 0 #64768c,
              inset 4px 0 0 #e0e9f5,
              inset -4px 0 0 #7c8ba1!important;
}
/* Ficha individual: misma identidad visual, sin agrandar cabecera. */
body.tessirve-theme .ms-match-detail[data-ms-live-single="383593"] > .ms-match-hero,
body.tessirve-theme .ms-match-detail.tsv321-ascenso-detail > .ms-match-hero {
  border-color:#a8b6c6!important;
  outline:2px solid #a1aec0!important;
  outline-offset:1px!important;
  box-shadow: inset 0 0 0 2px rgba(245,249,253,.6),
              0 0 0 3px rgba(115,131,152,.20)!important;
}
html[data-tessirve-color-mode="dark"] body.tessirve-theme .ms-home-today .ms-match-groups a.ms-compact-match.tsv321-ascenso-silver,
html[data-tessirve-color-mode="dark"] body.tessirve-theme .ms-home-today .ms-match-groups a.ms-compact-match[data-ms-live-match="383593"] {
  border-color:#9ba9bd!important;
  box-shadow: inset 0 0 0 3px #96a6ba,
              inset 0 4px 0 #e4eaf2,
              inset 0 -4px 0 #617186,
              inset 4px 0 0 #b8c6d8,
              inset -4px 0 0 #687e94!important;
}
@media(max-width:680px){
  body.tessirve-theme .ms-home-today .ms-match-groups a.ms-compact-match.tsv321-ascenso-silver,
  body.tessirve-theme .ms-home-today .ms-match-groups a.ms-compact-match[data-ms-live-match="383593"] {
    border-radius:8px!important;
    box-shadow:inset 0 0 0 2px #b3c0d0,
               inset 0 3px 0 #eef3fa,
               inset 0 -3px 0 #738398!important;
  }
}
