/* FULBO · Mobile 3.56. Alcance limitado a fecha, tarjetas y perfil.
   No toca anchos de columnas de tablas ni semántica de partidos. */

/* Perfil: contraste real sobre el tema Retro y textos legibles. */
.profile-dialog #profileForm .v2-form-actions{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:10px!important;
 min-width:0;
 width:100%;
}
.profile-dialog #profileForm .v2-form-actions>button{
 box-sizing:border-box!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 min-width:0!important;
 width:100%!important;
 min-height:48px!important;
 padding:10px 12px!important;
 font-size:15px!important;
 font-weight:800!important;
 line-height:1.25!important;
 text-align:center!important;
 white-space:normal!important;
 overflow-wrap:normal!important;
 text-shadow:none!important;
}
.profile-dialog #profileForm .v2-form-actions>.primary-action{
 background:#2054b5!important;
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
 border:1px solid #163f91!important;
 box-shadow:0 2px 4px rgba(0,0,0,.16);
}
.profile-dialog #profileForm .v2-form-actions>.primary-action:is(:hover,:focus-visible){
 background:#174595!important;
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
}
html[data-visual="pcf5"] .profile-dialog #profileForm .v2-form-actions>.primary-action{
 background:#2054b5!important;
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
 text-shadow:none!important;
 -webkit-text-stroke:0!important;
 border:2px outset #a9c5fa!important;
}
html[data-visual="pcf5"] .profile-dialog #profileForm .v2-form-actions>.outline-button{
 color:#203759!important;
 -webkit-text-fill-color:#203759!important;
 text-shadow:none!important;
}

@media(max-width:760px){
 /* Controles legibles, sin quitarle espacio a la búsqueda. */
 #contextToolbar:not(.is-league) #contextControls .date-center,
 #contextToolbar:not(.is-league) #contextControls #dateLabel{
  font-size:clamp(12px,3.55vw,14px)!important;
  font-weight:850!important;
  line-height:1.15!important;
  letter-spacing:-.13px;
  white-space:nowrap!important;
 }
 #contextToolbar:not(.is-league) #contextControls .date-center{
  padding-inline:1px!important;
  gap:0!important;
 }
 #contextToolbar:not(.is-league) #contextControls .date-strip{
  min-height:44px!important;
 }
 #contextToolbar:not(.is-league) #contextControls .search-wrap input{
  min-height:44px!important;
  height:44px!important;
  font-size:14px!important;
  line-height:1.25!important;
 }
 /* Priorizar jerarquía: nombre de competición, hora y clubes. */
 .main-content.results-layout .league-card-head .league-card-title strong{
  font-size:clamp(14px,3.8vw,17px)!important;
  line-height:1.25!important;
 }
 .main-content.results-layout .league-card-head .league-card-title span{
  font-size:clamp(12px,3.3vw,13px)!important;
  line-height:1.3!important;
 }
 .main-content.results-layout .match-row{
  min-height:69px!important;
  height:auto!important;
 }
 .main-content.results-layout .match-row .team-label{
  font-size:clamp(12px,3.45vw,14px)!important;
  line-height:1.25!important;
  min-width:0;
  overflow-wrap:normal;
  word-break:normal;
 }
 .main-content.results-layout .match-row .match-when{
  font-size:clamp(12px,3.45vw,14px)!important;
  font-variant-numeric:tabular-nums;
 }
 .main-content.results-layout .match-row .match-when .period{
  font-size:10px!important;
  line-height:1.2!important;
 }
 .main-content.results-layout .match-row .score.scheduled{
  font-size:clamp(12px,3.35vw,14px)!important;
 }
 .main-content.results-layout .mobile-bar button,
 .mobile-bar button{
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.15!important;
 }
 /* Perfil: un botón primario ancho, sin el texto cortado o oscuro. */
 .profile-dialog .v2-feature-box{
  margin:14px 16px!important;
 }
 .profile-dialog .v2-feature-box p,
 .profile-dialog .profile-form :is(.profile-global-hint,.data-clarification){
  font-size:14px!important;
  line-height:1.5!important;
 }
 .profile-dialog .profile-form{
  padding:0 16px 20px!important;
  gap:13px!important;
 }
 .profile-dialog .profile-form label{
  font-size:15px!important;
  line-height:1.35!important;
 }
 .profile-dialog .profile-form input{
  font-size:16px!important;
  min-height:46px!important;
  line-height:1.35!important;
 }
 .profile-dialog .profile-form .club-choice{
  font-size:14px!important;
  line-height:1.45!important;
 }
 .profile-dialog #profileForm .v2-form-actions{
  grid-template-columns:minmax(0,1fr)!important;
  gap:9px!important;
 }
 .profile-dialog #profileForm .v2-form-actions>button{
  min-height:49px!important;
  font-size:16px!important;
  padding:11px 12px!important;
 }
 .profile-dialog .v2-form-status{font-size:14px!important}
}
@media(max-width:360px){
 #contextToolbar:not(.is-league) #contextControls #dateLabel{
  font-size:12px!important;
  letter-spacing:-.2px!important;
 }
 .main-content.results-layout .match-row .team-label{
  font-size:12px!important;
  line-height:1.2!important;
 }
 .main-content.results-layout .league-card-head .league-card-title strong{
  font-size:14px!important;
 }
}
