/* Compact club directory and one clear path to an official standings table. */
body:is([data-route="clubes"],[data-route="clasificaciones"]) .dashboard{grid-template-columns:minmax(0,1fr)}
body:is([data-route="clubes"],[data-route="clasificaciones"]) .rail{display:none}
.directory-controls{padding:14px 16px;margin:18px 0 12px}
.directory-main-filters{display:grid;grid-template-columns:minmax(180px,1.15fr) minmax(180px,1fr) minmax(165px,.85fr);gap:12px;align-items:end}
.directory-controls .catalog-filter,.standings-selector .catalog-filter{min-width:0;gap:6px}
.directory-controls .catalog-filter>span,.standings-selector .catalog-filter>span{font-size:11px;color:var(--muted);font-weight:500}
.directory-controls select,.standings-selector select{width:100%;max-width:100%;height:38px;min-width:0;font-size:12px;padding:0 10px;background:var(--inset);border:1px solid var(--line-strong);border-radius:6px;color:var(--text)}
.directory-search>div{display:flex;align-items:center;gap:8px;border:1px solid var(--line-strong);background:var(--inset);border-radius:6px;height:38px;padding:0 10px}
.directory-search .icon{width:15px;flex-shrink:0;color:var(--muted)}
.directory-search input{width:100%;min-width:0;border:0;background:transparent;color:var(--text);font-size:12px;padding:0;outline:none}
.directory-search>div:focus-within{outline:2px solid var(--brand);outline-offset:2px}
.directory-advanced{margin-top:12px;font-size:11px;color:var(--muted)}
.directory-advanced summary{cursor:pointer;width:fit-content;padding:3px 0;color:var(--text-2)}
.directory-advanced>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
.directory-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 14px;font-size:11px;color:var(--muted)}
.directory-meta strong{color:var(--text);font-variant-numeric:tabular-nums}
.directory-meta .text-link{font-size:11px;gap:5px}
.directory-club-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:10px;align-items:stretch}
.directory-club-grid>.score-club-card{max-width:420px;min-width:0;padding:13px 14px 10px;gap:0;position:relative;display:flex;flex-direction:column;border-radius:8px}
.directory-club-identity{display:flex;align-items:center;gap:10px;width:100%;min-height:42px}
.directory-club-identity>.team-badge{width:38px;height:38px;min-width:38px;flex-shrink:0;padding:3px;border-radius:5px;background:var(--surface-2);clip-path:none}
.directory-club-identity>.team-badge img{width:100%;height:100%;object-fit:contain}
.directory-club-identity>div{flex:1;min-width:0}
.directory-club-identity h3{font-size:13px;font-weight:650;line-height:1.35;margin:0}
.directory-club-identity h3 button{text-align:left;color:var(--text);padding:0;line-height:inherit;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.directory-club-identity h3 button:hover{color:var(--brand)}
.directory-club-identity p{font-size:10px;line-height:1.5;color:var(--muted);margin:3px 0 0}
.directory-club-identity .star-button{position:static;width:25px;height:29px;flex-shrink:0;padding:4px;margin-left:2px}
.directory-club-identity .star-button .icon{width:16px;height:16px}
.directory-club-summary{display:flex;align-items:baseline;gap:8px;margin:12px 0 10px;width:100%;font-size:10px;line-height:1.6;color:var(--muted)}
.directory-club-summary>span:first-child{white-space:nowrap;color:var(--text-2);font-weight:600}
.directory-categories{min-width:0;flex:1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.directory-pending{font-size:10px!important;line-height:1.5;margin-bottom:8px}
.directory-club-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:9px;margin-top:auto;width:100%}
.directory-club-actions .text-link{font-size:11px;gap:4px;padding:0;min-height:28px}
.directory-club-actions .club-primary-button{width:auto;min-height:28px;padding:4px 8px;font-size:10px;border-radius:5px;gap:5px;background:var(--surface-2);border:1px solid var(--line-strong);color:var(--text-2)}
.directory-club-actions .club-primary-button:hover{border-color:var(--brand);color:var(--brand)}
.directory-club-actions .icon{width:13px;height:13px}
.standings-selector{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.42fr);gap:12px;margin:14px 0}
.standings-selector>.catalog-filter:only-child{grid-column:1/-1}
.standings-panel{overflow:hidden;padding:0;margin-top:0}
.standings-panel .table-heading{display:flex;align-items:center;gap:11px;padding:16px 18px;border-bottom:1px solid var(--line)}
.standings-panel .table-heading>div{flex:1;min-width:0}
.standings-panel .table-heading h3{font-size:14px;line-height:1.4;margin:0;overflow-wrap:anywhere}
.standings-panel .table-heading p{font-size:10px;line-height:1.6;margin:5px 0 0;color:var(--muted)}
.standings-panel .score-competition-logo{width:34px;height:34px;min-width:34px;border-radius:6px;padding:3px;flex-shrink:0}
.standings-phase{display:block;color:var(--text-2);font-size:10px;margin-top:4px;line-height:1.5}
.standings-status{font-size:10px;padding:5px 8px;border:1px solid var(--line);border-radius:5px;white-space:nowrap;color:var(--muted);background:var(--inset)}
.standings-status.delayed{color:var(--warn)}
.standings-panel .table-scroll{width:100%;overflow-x:auto}
.standings-panel .standings-table{min-width:650px;font-variant-numeric:tabular-nums}
.standings-panel .standings-table th{font-size:10px;padding:11px 10px;text-align:center;background:var(--surface-2)}
.standings-panel .standings-table td{padding:10px;font-size:12px;text-align:center;border-color:var(--line)}
.standings-panel .standings-table :is(th,td):nth-child(2){text-align:left;min-width:180px;max-width:300px}
.standings-panel .standings-table .mini-team{display:flex;font-size:12px;line-height:1.4;gap:9px;min-width:0}
.standings-panel .standings-table .mini-team>.team-badge{width:24px;height:24px;flex-shrink:0}
.standings-panel .standings-points{font-weight:750;color:var(--text);background:color-mix(in srgb,var(--brand) 7%,var(--surface))}
.standings-panel .table-info{padding:12px 18px;gap:12px;font-size:10px;line-height:1.6;align-items:center;background:var(--surface-2);color:var(--muted)}
.standings-panel .table-info .text-link{font-size:10px;white-space:nowrap}
.standings-empty{padding:26px 18px}
.standings-empty h3{font-size:14px;margin:0 0 8px;line-height:1.5}
.standings-empty p{font-size:12px;line-height:1.7;color:var(--muted);max-width:700px;margin:0 0 17px}
.standings-empty>div{display:flex;flex-wrap:wrap;gap:10px}
.standings-empty .button-secondary{font-size:11px;min-height:34px;padding:8px 11px}
.standings-legend{font-size:10px;line-height:1.8;color:var(--muted);margin:14px 0 0}
.standings-scroll-hint{display:none}
@media(max-width:720px){
 .directory-controls{padding:12px;margin:14px 0 10px}
 .directory-main-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .directory-search{grid-column:1/-1}
 .directory-controls select,.standings-selector select{font-size:11px;height:40px}
 .directory-advanced>div{grid-template-columns:repeat(2,minmax(0,1fr))}
 .directory-club-grid{gap:9px}
 .standings-selector{grid-template-columns:minmax(0,1fr);gap:11px}
 .standings-panel .table-heading{padding:13px 12px;gap:9px;flex-wrap:wrap}
 .standings-panel .table-heading>div{flex-basis:calc(100% - 50px)}
 .standings-panel .table-heading h3{font-size:13px}
 .standings-status{margin-left:43px}
 .standings-panel .standings-table{min-width:590px}
 .standings-panel .standings-table :is(th,td):nth-child(2){min-width:165px;max-width:205px;position:sticky;left:0;z-index:1;background:var(--surface)}
 .standings-panel .standings-table th:nth-child(2){background:var(--surface-2)}
 .standings-panel .standings-table .mini-team{font-size:11px}
 .standings-panel .standings-table td{padding:10px 8px;font-size:11px}
 .standings-panel .table-info{align-items:flex-start;padding:12px;flex-direction:column;gap:5px}
 .standings-empty{padding:20px 14px}
 .standings-scroll-hint{display:block;margin:0;padding:8px 12px;font-size:10px;line-height:1.5;color:var(--muted);border-bottom:1px solid var(--line)}
}
