/* Calendario FCA. Limitado a esta pestaña; conserva los recursos de cada portal. */
#tab-competiciones .uar-fca-filters { width:100%; max-width:none; box-sizing:border-box; box-shadow:none; text-align:left; padding:20px; margin:20px 0; border:1px solid #dce3e9; border-radius:14px; background:#f8fafc; color:#263445; }
#tab-competiciones .uar-fca-modalities { border:0; padding:0; margin:0 0 20px; min-width:0; }
#tab-competiciones .uar-fca-modalities legend { font-size:13px; font-weight:700; padding:0; margin-bottom:10px; }
#tab-competiciones .uar-fca-chips { display:flex; flex-wrap:wrap; gap:8px; }
#tab-competiciones .uar-fca-filters button, #tab-competiciones .uar-fca-pagination button, #tab-competiciones .uar-fca-retry { width:auto; min-height:40px; margin:0; padding:8px 14px; border:1px solid #cbd5df; border-radius:8px; background:#fff; color:#263445; font:inherit; font-size:14px; line-height:1.35; cursor:pointer; box-shadow:none; text-transform:none; }
#tab-competiciones .uar-fca-chips button { display:inline-flex; align-items:center; justify-content:center; gap:7px; border-radius:24px; }
#tab-competiciones .uar-fca-chips button[aria-pressed="true"], #tab-competiciones .uar-fca-filters .uar-fca-apply { background:#263445; color:#fff; border-color:#263445; }
#tab-competiciones .uar-fca-dot { width:9px; height:9px; flex:0 0 9px; border-radius:50%; background:var(--fca-category,#64748b); }
#tab-competiciones .uar-fca-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr)); gap:14px; align-items:end; }
#tab-competiciones .uar-fca-fields label, #tab-competiciones .uar-fca-venue-field { display:flex; flex-direction:column; gap:7px; min-width:0; font-size:13px; font-weight:600; margin:0; text-align:left; color:#263445; }
#tab-competiciones .uar-fca-fields input, #tab-competiciones .uar-fca-fields select, #tab-competiciones .uar-fca-fields summary { width:100%; max-width:100%; min-width:0; min-height:44px; height:44px; margin:0; padding:10px 12px; border:1px solid #cbd5df; border-radius:8px; background-color:#fff; color:#263445; font:inherit; font-size:14px; line-height:22px; box-sizing:border-box; box-shadow:none; }
#tab-competiciones .uar-fca-fields summary { cursor:pointer; padding-right:28px; position:relative; list-style:none; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
#tab-competiciones .uar-fca-fields summary::-webkit-details-marker { display:none; }
#tab-competiciones .uar-fca-fields summary::after { content:'⌄'; position:absolute; right:10px; top:9px; }
#tab-competiciones .uar-fca-fields details { position:relative; margin:0; padding:0; border:0; }
#tab-competiciones .uar-fca-filter-actions { display:flex; gap:8px; }
#tab-competiciones .uar-fca-filter-actions button { min-height:44px; }
#tab-competiciones .uar-fca-venue-popup { position:absolute; z-index:30; top:calc(100% + 6px); right:0; width:max(100%,290px); max-width:calc(100vw - 48px); padding:12px; border:1px solid #cbd5df; border-radius:10px; background:#fff; box-shadow:0 8px 24px #172b4d26; box-sizing:border-box; }
#tab-competiciones .uar-fca-venue-options { max-height:240px; overflow-y:auto; overscroll-behavior:contain; margin-top:8px; }
#tab-competiciones .uar-fca-venue-options button { display:block; width:100%; border:0; text-align:left; border-radius:5px; white-space:normal; }
#tab-competiciones .uar-fca-venue-options button[aria-pressed="true"] { background:#e9eff5; font-weight:700; }
#tab-competiciones .uar-fca-filters button:hover, #tab-competiciones .uar-fca-pagination button:not(:disabled):hover, #tab-competiciones .uar-fca-retry:hover { border-color:#64748b; background:#e9eff5; color:#172b4d; }
#tab-competiciones .uar-fca-filters :focus-visible, #tab-competiciones .uar-fca-pagination :focus-visible, #tab-competiciones .uar-fca-event :focus-visible { outline:2px solid #2865a0; outline-offset:3px; }
#tab-competiciones .uar-fca-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:14px 0; font-size:13px; color:#526274; }
#tab-competiciones .uar-fca-toolbar p { margin:0; padding:0; border:0; background:none; box-shadow:none; text-align:left; }
#tab-competiciones .uar-fca-toolbar a { color:#375e83; flex-shrink:0; }
#tab-competiciones .uar-fca-month { display:flex; align-items:center; gap:15px; font-size:18px; font-weight:700; margin:26px 0 16px; color:inherit; text-transform:none; }
#tab-competiciones .uar-fca-month::after { content:''; height:1px; background:#dce3e9; flex:1; }
#tab-competiciones .uar-fca-event { display:flex; align-items:flex-start; gap:20px; padding:20px; margin:0 0 12px; border:1px solid #dce3e9; border-left:4px solid var(--fca-category,#64748b); border-radius:10px; background:#fff; color:#263445; text-align:left; }
#tab-competiciones .uar-fca-date-badge { display:flex; flex-direction:column; align-items:center; min-width:48px; flex:0 0 48px; padding-top:2px; text-transform:uppercase; font-size:12px; line-height:1.5; color:#526274; }
#tab-competiciones .uar-fca-day { font-size:30px; line-height:1.2; font-weight:700; color:#263445; }
#tab-competiciones .uar-fca-event-content { flex:1; min-width:0; }
#tab-competiciones .uar-fca-event h4 { font-size:17px; line-height:1.4; font-weight:700; margin:0 0 7px; padding:0; }
#tab-competiciones .uar-fca-event .uar-event-link { color:#263445; text-decoration:none; font:inherit; overflow-wrap:anywhere; }
#tab-competiciones .uar-fca-event .uar-event-link:hover { text-decoration:underline; }
#tab-competiciones .uar-fca-event p { margin:4px 0; padding:0; border:0; background:none; box-shadow:none; text-align:left; font-size:14px; line-height:1.5; color:#526274; overflow-wrap:anywhere; }
#tab-competiciones .uar-fca-tags { display:flex; flex-wrap:wrap; gap:7px; margin-top:10px; }
#tab-competiciones .uar-fca-tags span { padding:3px 8px; font-size:11px; font-weight:600; line-height:1.5; border:1px solid #dce3e9; border-radius:5px; color:#526274; }
#tab-competiciones .uar-fca-source { color:#526274; font-size:13px; white-space:nowrap; margin-top:4px; }
#tab-competiciones .uar-fca-pagination { display:flex; align-items:center; justify-content:center; gap:16px; margin:24px 0; font-size:14px; }
#tab-competiciones .uar-fca-pagination[hidden] { display:none; }
#tab-competiciones .uar-fca-pagination button:disabled { opacity:.45; cursor:default; }
#tab-competiciones .uar-fca-empty, #tab-competiciones .uar-fca-error { padding:24px; border:1px dashed #cbd5df; border-radius:10px; text-align:center; color:#526274; }
#tab-competiciones .uar-fca-error { border-color:#d9a9a9; background:#fff5f5; color:#813737; }
#tab-competiciones .uar-fca-hint { font-size:12px; line-height:1.4; font-weight:400; margin:8px 0 0; padding:0; border:0; background:none; box-shadow:none; text-align:left; color:#526274; }
#tab-competiciones .uar-fca-sr { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
@media (max-width:600px) {
    #tab-competiciones .uar-fca-filters { padding:14px; margin:14px 0; }
    #tab-competiciones .uar-fca-fields { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
    #tab-competiciones .uar-fca-keyword, #tab-competiciones .uar-fca-venue-field, #tab-competiciones .uar-fca-filter-actions { grid-column:1/-1; }
    #tab-competiciones .uar-fca-filter-actions button { flex:1; }
    #tab-competiciones .uar-fca-chips { gap:6px; }
    #tab-competiciones .uar-fca-chips button { min-height:38px; padding:7px 10px; font-size:12px; }
    #tab-competiciones .uar-fca-fields input, #tab-competiciones .uar-fca-fields select { font-size:16px; }
    #tab-competiciones .uar-fca-event { padding:14px 12px; gap:12px; flex-wrap:wrap; }
    #tab-competiciones .uar-fca-date-badge { min-width:38px; flex-basis:38px; }
    #tab-competiciones .uar-fca-event h4 { font-size:16px; }
    #tab-competiciones .uar-fca-source { flex:0 0 calc(100% - 50px); margin:0 0 0 50px; }
    #tab-competiciones .uar-fca-toolbar { flex-wrap:wrap; }
}
