/* FULBO 3.21 — Contrastes accesibles y formularios compactos en todos los estilos.
   Reglas deliberadamente acotadas: no cambian tablas, calendarios ni navegación. */
.clubs-directory-page .clubs-search-layout{display:block!important}
.clubs-directory-page .clubs-search-wrap{width:100%;min-width:0;max-width:100%}
.clubs-directory-page .clubs-search-wrap input{width:100%;min-width:0}
.directory-progress{
 margin:10px 0;color:var(--muted);font-size:12px;line-height:1.5;
 text-align:center;font-weight:600
}
.profile-form .profile-global-hint{
 margin:0;padding:9px 12px;border-radius:9px;background:var(--panel2);
 color:var(--ink);font-size:12px;line-height:1.55
}
.profile-dialog .profile-club-results{
 max-height:min(360px,43dvh);overflow-y:auto;overscroll-behavior:contain
}
/* Una sola búsqueda de club, tanto en móvil como en escritorio. */
.profile-dialog #profileClubSearch{width:100%;min-width:0}
#authDialog .fulbo-auth-tabs{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:8px!important;width:100%;min-width:0
}
#authDialog .fulbo-auth-tabs button{min-width:0;min-height:42px}
#authDialog .auth-magic-link{
 display:block;width:100%;border:0;background:transparent;
 color:var(--accent);font:600 12px/1.5 'DM Sans',sans-serif;
 padding:8px 4px;cursor:pointer;text-decoration:underline;
 text-underline-offset:3px;overflow-wrap:anywhere
}
#authDialog .auth-magic-link:hover,
#authDialog .auth-magic-link:focus-visible{filter:brightness(1.15)}
#authDialog .auth-magic-link[aria-pressed="true"]{text-decoration-thickness:2px}
#authDialog .fulbo-social-actions{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 gap:9px!important;width:100%;min-width:0;justify-items:center
}
#authDialog .google-signin-slot,
#authDialog .google-native-signin{
 width:100%!important;min-width:0!important;max-width:100%;
 margin-inline:auto;overflow:visible!important;box-sizing:border-box
}
#authDialog .google-native-signin{min-height:44px;display:flex;align-items:center;justify-content:center}
#authDialog .google-native-signin iframe{
 max-width:100%!important;display:block;margin:auto
}
#authDialog .google-signin-slot>.fulbo-social-button,
#authDialog .fulbo-social-actions>.fulbo-social-button{
 width:100%!important;max-width:100%;min-width:0!important;
 min-height:44px!important;justify-content:center
}
#authDialog{max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}
#authDialog .auth-form{min-width:0;max-width:100%;box-sizing:border-box}
#authDialog .auth-form input{min-width:0;max-width:100%;box-sizing:border-box}
#authDialog .fulbo-social-note{max-width:100%;overflow-wrap:anywhere}
/* La tribuna no puede utilizar tipografía clara sobre paneles claros en Retro. */
html[data-visual="pcf5"] .v2-feature-box{
 background:linear-gradient(145deg,#f7faff,#dfe8f7)!important;
 border:1px solid #8298bb!important;color:#203453!important;
 box-shadow:2px 3px 0 #a2afc5!important
}
html[data-visual="pcf5"] .v2-feature-box :is(.section-kicker,h3,p,strong,small){
 color:#203453!important;text-shadow:none!important
}
html[data-visual="pcf5"] .v2-feature-box strong{color:#174e8c!important}
html[data-visual="pcf5"] .v2-feature-box .primary-action{
 background:#234eab!important;color:#fff!important;border:1px solid #142f76!important
}
html[data-visual="pcf5"] .v2-feature-box .primary-action:hover{
 background:#183d90!important
}
/* Destacados Retro: fondo y texto de la misma paleta que las tablas del sitio. */
html[data-visual="pcf5"] #featuredDialog{
 background:#e8eef9!important;border:2px solid #738db5!important;
 color:#182b4c!important;box-shadow:4px 5px 0 #7d93b5,0 20px 42px #0b1b3b77!important;
 color-scheme:light
}
html[data-visual="pcf5"] #featuredDialog :is(.auth-head,.auth-head strong,.auth-form p,.featured-search-label,.featured-search-count,.featured-choice,.featured-choice span,.featured-no-results,.fulbo-auth-feedback){
 color:#182b4c!important;text-shadow:none!important
}
html[data-visual="pcf5"] #featuredDialog .featured-choice{
 background:#f7faff!important;border:1px solid #849bc0!important;
 color:#182b4c!important
}
html[data-visual="pcf5"] #featuredDialog .featured-choice:has(input:checked){
 background:#d3e2f8!important;border-color:#285aa7!important
}
html[data-visual="pcf5"] #featuredDialog :is(.featured-search-wrap input,.featured-search-wrap input::placeholder){
 color:#233a62!important
}
html[data-visual="pcf5"] #featuredDialog .featured-search-wrap input{
 background:#fff!important;border:1px solid #849bc0!important;color:#182b4c!important
}
html[data-visual="pcf5"] #featuredDialog .auth-close{
 color:#172b4b!important;background:#d2def0!important
}
html[data-visual="pcf5"] #featuredDialog #featuredSubmit{
 color:#fff!important;background:#2858a9!important;border:1px solid #183b80!important
}
html[data-visual="pcf5"] #featuredDialog .featured-choices{
 background:transparent!important;scrollbar-color:#8aa1c9 #edf3fb
}
html[data-visual="pcf5"] #featuredDialog .featured-choice input{
 accent-color:#214d9d;color-scheme:light
}
html[data-visual="pcf5"] #featuredDialog .featured-choice .league-name{
 color:#182b4c!important
}
/* La misma familia de azules en la cuenta, sin contrastes invertidos. */
html[data-visual="pcf5"] .profile-dialog .profile-global-hint,
html[data-visual="pcf5"] .profile-dialog .data-clarification{
 color:#233d62!important;background:#e9f0fb!important
}
html[data-visual="pcf5"] #authDialog .auth-magic-link{
 color:#1e448a!important
}
@media(max-width:520px){
 #authDialog{width:calc(100vw - 24px)!important;max-width:430px!important}
 #authDialog .auth-form{padding:19px 18px!important;gap:10px!important}
 #authDialog .auth-head{font-size:18px}
 #authDialog .fulbo-social-auth{margin:7px 0!important;padding:8px 0 0!important}
 #authDialog .fulbo-social-actions{gap:7px!important}
 #authDialog .google-native-signin{min-height:42px}
 .clubs-directory-page .clubs-search-layout{width:100%;min-width:0}
 .profile-dialog .profile-club-results{max-height:38dvh}
}
@media(prefers-reduced-motion:reduce){
 #authDialog .auth-magic-link{transition:none}
}
