/* ALGOLÍNEA SPORTS — SPORT-TECH LUMINOSO v2
   Direction approved 2026-11-01. Compact editorial sports portal.
   Original logo retained, unchanged. */
:root{
 color-scheme:light;
 --bg:#F2F8FD;--surface:#FFFFFF;--line:#D9E6F2;
 --text:#163A5F;--muted:#5C7793;--blue:#176FC2;--light:#2B83C9;
 --orange:#E87631;--width:1440px;
}
html{scrollbar-color:#B2C8DA #EEF5FA;scroll-padding-top:78px}
body{background:#F2F8FD;color:var(--text)}
a:focus-visible,button:focus-visible{outline-color:#EA8A40}
.wrap{width:min(var(--width),calc(100% - 36px))}
.header{background:#FDFEFFEF;border-bottom:1px solid #D7E5F1;box-shadow:0 4px 16px #193E6312}
.header.scrolled{box-shadow:0 6px 22px #173B621D}
.header-inner{height:62px;gap:13px}
.brand{gap:9px}
.brand img{width:49px;height:45px;object-fit:contain}
.brand strong{font-size:23px;color:#102D50}
.brand em{color:#176EB9}
.brand small{color:#537798;letter-spacing:.13em;font-size:8px}
.nav{gap:15px}
.nav a{padding:21px 0;font-size:11px;color:#365E81}
.nav a:hover,.nav a.active{color:#0D62B0}
.nav a.active:after{background:#E8772E;height:3px}
.menu{background:#EFF7FF;border-color:#C6DBEE}
.menu span{background:#176DAE}
.hero{background:linear-gradient(111deg,#ECF6FF 0%,#F9FCFF 67%,#E9F3FB 100%);border-color:#DDE9F4}
.hero:before{background-image:linear-gradient(90deg,#408AC707 1px,transparent 1px),linear-gradient(#408AC707 1px,transparent 1px);background-size:54px 54px}
.hero-main{grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr);align-items:center;min-height:0;gap:23px;padding:19px 0}
.hero .eyebrow,.kicker{color:#2678B6;letter-spacing:.12em;font-size:9px}
.hero .eyebrow{margin:0 0 10px}
.pulse{width:7px;height:7px;background:#F28B36;box-shadow:0 0 0 4px #F28B3624}
.hero h1{font-size:clamp(43px,4.1vw,61px);line-height:.94;color:#102F55}
.hero h1 .intro-line{color:#234E78;font-size:.42em;margin-bottom:6px}
.hero h1 .intro-line em{color:#1D7DC3}
.hero h1 .statement{color:#1578C6}
.hero h1 .statement i{color:#0D2B53}
.hero .lead{color:#4F6F8C;line-height:1.6;font-size:12px;max-width:610px;margin:13px 0 16px}
.actions{gap:8px}
.btn{min-height:38px;border-radius:6px;font-size:11px;padding:10px 13px;gap:12px}
.primary{color:white;background:#146FC1}
.primary:hover{background:#0C5DAB}
.secondary{color:#215B8F;background:#FFFFFF;border:1px solid #BBD4EA}
.secondary:hover{color:#0B4678;background:#F0F7FF}
.hero .sports{margin:13px 0 0;color:#527491;font-size:9px}
.hero-art,.hero .hero-art{height:220px;max-width:none;background:radial-gradient(circle at 27% 50%,#D2E5F9,#EEF6FD 62%),linear-gradient(140deg,#DAECFC,#F9FDFF);border:1px solid #C9DBEC;border-radius:12px;box-shadow:0 8px 25px #29537614}
.hero-art .gridlines{background-image:linear-gradient(90deg,#386F9F0C 1px,transparent 1px),linear-gradient(#386F9F0C 1px,transparent 1px)}
.hero-art .ring{border-color:#276DA345}
.hero-art .r1{width:166px;height:166px}
.hero-art .r2{width:214px;height:165px}
.hero-art .hero-logo{width:122px;filter:drop-shadow(0 6px 6px #4A6B8D25)}
.hero-art .art-copy{top:31%}
.hero-art .art-copy strong{font-size:clamp(22px,2.35vw,34px);color:#153F70;line-height:.92}
.hero-art .art-copy em{color:#1E87CF}
.hero-art .art-cap{color:#315F85;font-size:8px}
.hero-art .art-foot{color:#63819B}
.hero .hero-bar{color:#54748F;padding:0 0 10px}
.hero-bar div{background:linear-gradient(90deg,#A8C9E5,transparent)}
.section,.leagues-section{padding:31px 0}
.heading{gap:18px;margin-bottom:17px}
.kicker{margin:0 0 7px}
h2,.section h2,.leagues-heading h2{font-size:clamp(31px,3.2vw,43px);color:#133B66;line-height:.97}
h2 em,.leagues-heading h2 em{color:#177EC6}
.heading p:not(.kicker),.results-grid>div>p:not(.kicker){color:#57738E;font-size:11px;line-height:1.5;margin:7px 0 0}
.leagues-section{background:#EDF5FC;border:0;border-bottom:1px solid #DBE8F4}
.leagues-heading{align-items:center;gap:14px;margin-bottom:13px}
.leagues-heading p:not(.kicker){color:#567997;line-height:1.5;margin:6px 0 0;font-size:11px}
.feed-indicator{color:#4883AD;font-size:9px}
.sport-switcher{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;margin:0 0 9px;padding:4px;background:#DDEBF7;border:1px solid #C8DBEC;border-radius:10px}
.sport-switcher button{background:transparent;border-radius:6px;color:#315E85;font-size:10px;padding:10px 4px;white-space:normal;line-height:1.25;min-height:36px;flex:none}
.sport-switcher button:hover{color:#0C5C9E;background:#F8FBFF}
.sport-switcher button.selected{color:#FFF;background:#176DBB;box-shadow:0 2px 7px #0C579F23}
.league-dashboard{background:#FFFFFF;border:1px solid #D1E0EE;border-radius:10px;box-shadow:0 4px 17px #416A8912}
.league-toolbar{padding:6px 11px;background:#F7FAFE;border-bottom:1px solid #DCE7F1;gap:8px}
.league-views{gap:4px}
.league-views button{border-radius:5px;color:#426987;background:transparent;font-size:10px;padding:8px 10px}
.league-views button.selected{background:#DDEEFF;color:#115B9D}
.league-views button:hover{background:#ECF5FD;color:#0F65A5}
.league-refresh{border-color:#B8CFE4;background:#FFF;color:#1B6CAC;border-radius:6px;padding:7px 11px;font-size:10px}
.league-refresh:hover{background:#EBF5FE;border-color:#78AED6}
.league-feed{min-height:0}
.league-placeholder{padding:22px 12px;color:#57758D;font-size:12px}
.score-row{grid-template-columns:160px minmax(0,1fr) 80px;gap:10px;padding:7px 13px;min-height:44px;border-color:#E4EDF5;background:#FFF}
.score-row:hover{background:#F3F9FE}
.score-row-meta{gap:2px}
.score-date{color:#346A99;font-size:10px}
.score-small-status{color:#667F99;font-size:9px}
.score-versus{grid-template-columns:minmax(0,1fr) 60px minmax(0,1fr)}
.score-team strong{font-size:11px;color:#1D405E}
.score-result{color:#103D6E;min-height:27px}
.score-result strong{font-size:20px}
.score-vs{color:#2873B4;border-color:#C7DCEC;font-size:12px}
.score-sport-label{color:#6886A2;font-size:9px}
.league-feed-context{background:#EAF5FE;border-color:#2183CB;color:#215D90}
.league-table{font-size:11px}
.league-table th,.league-table td{padding:7px 5px;border-color:#E3EDF6}
.league-table th{background:#EAF4FD;color:#416B8A;font-size:10px}
.league-table td{color:#244A6D}
.league-table th:last-child,.league-table td:last-child{color:#1367AE}
.league-credit{padding:8px 13px;border-color:#E4EDF5}
.league-credit p{color:#62809C;font-size:9px}
.league-credit a{color:#1B6CAD}
.league-empty-link a{color:#116DBD}
.other-sport-title{color:#1B4B77;font-size:20px}
.other-sport-link a{color:#176FC1}
.local{background:#E7F2FC;border-color:#D1E3F2}
.local h2 em{color:#E87A31}
.sticker{width:84px;height:84px;border-color:#7FAAD1;color:#1A598D}
.sticker strong{font-size:21px}
.sticker small{color:#527B98}
.filters{gap:5px;margin-bottom:12px}
.filters button,.local .filters button{color:#42617D;background:#FFFFFF;border:1px solid #CBDCEC;border-radius:6px;padding:8px 11px;font-size:10px}
.filters button:hover{color:#1C70AD;border-color:#87B5DB}
.filters button.selected,.local .filters button.selected{color:white;background:#1772BB;border-color:#1772BB}
.cards{gap:10px}
.empty{min-height:104px;background:#FFFFFF;border:1px dashed #A9C9E5;border-radius:8px;padding:17px 18px}
.empty:after{font-size:100px;bottom:-26px;right:15px;color:#D9EAF74D}
.empty small,.results-feed small{color:#5B89B1;top:12px;right:16px}
.empty h3,.results-feed h3{font-size:21px;color:#1D4A76;line-height:1.12;margin:0 0 7px}
.empty p,.results-feed p{color:#52718C;font-size:11px;line-height:1.5}
.card{background:#FFFFFF;border-color:#D5E3F0;border-radius:9px}
.card:hover{border-color:#8AB9DF}
.card-inner{padding:15px;gap:7px}
.card h3{font-size:23px;color:#173F69}
.card p{color:#58728D;font-size:11px;line-height:1.55}
.card-meta{color:#51718F;font-size:9px}
.tag{color:#155C94;background:#DFEEFA}
.big-value{color:#116CB6}
.card-end{padding-top:9px}
.card-end a,.share{color:#216EA9}
.share{background:#ECF5FD;border-color:#B9D6EB}
.results{background:#F7FBFF;border-color:#D8E7F5}
.results-grid{gap:25px}
.results-feed{min-height:118px;background:#FFFFFF;border:1px solid #D5E4F2;padding:36px 18px 17px;border-radius:8px}
.textlink{color:#1B70B3;margin-top:12px}
.footer{background:#DFEFFA;padding:22px 0;border-top:1px solid #C9DDEC}
.footer-brand{color:#173E6B;font-size:23px}
.footer p{color:#577894}
.footer nav a{color:#315D81;font-size:11px}
.footer nav a:hover{color:#0A6CA8}
.score-credits{color:#63839E;font-size:9px;margin:7px auto}
.score-credits summary{color:#43759D}
.score-credits a{color:#1672B7}
.provider-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 14px;color:#20476D;background:#EFF7FE;border-bottom:1px solid #DCE9F4;font-size:11px}
.provider-heading a{font-size:10px;color:#176EAE;text-decoration:underline}
.provider-footer{font-size:9px;color:#6C859C;padding:5px 12px;margin:0}
.provider-loading{color:#50718D;padding:14px 12px;font-size:11px;margin:0}
.rotascore-panel[hidden],#league-feed[hidden],.league-credit[hidden]{display:none!important}
.rotascore-panel .rotascore-widget{display:block;min-height:48px;width:100%;background:#FFFFFF}
@media(max-width:1100px){
 .sport-switcher{grid-template-columns:repeat(4,minmax(0,1fr))}
 .score-row{grid-template-columns:120px minmax(0,1fr)}
}
@media(max-width:880px){
 .header-inner{height:60px}
 .nav{background:#FFFFFF;border-color:#D7E5F1}
 .nav a{color:#315F81}
 .nav a:hover,.nav a.active{color:#126DB8}
 .menu{display:flex}
 .hero-main{grid-template-columns:1fr 260px;gap:12px;padding:17px 0}
 .hero .hero-art{height:190px}
 .hero-art .art-copy strong{font-size:23px}
 .section,.leagues-section{padding:24px 0}
}
@media(max-width:660px){
 .wrap{width:calc(100% - 22px)}
 .header-inner{height:54px}
 .brand img{width:41px;height:39px}
 .brand strong{font-size:20px}
 .brand small{font-size:7px}
 .nav{top:54px;max-height:calc(100dvh - 54px)}
 .hero-main{grid-template-columns:1fr;gap:9px;padding:13px 0}
 .hero h1{font-size:clamp(41px,11vw,55px)}
 .hero .hero-art{height:140px}
 .hero-art .ring{left:21%}
 .hero-art .hero-logo{left:21%;width:83px}
 .hero-art .r1{width:116px;height:116px}
 .hero-art .r2{width:160px;height:116px}
 .hero-art .art-copy{left:43%;top:28%}
 .hero-art .art-copy strong{font-size:28px}
 .hero .lead{font-size:11px;line-height:1.45;margin:9px 0 11px}
 .hero .sports{margin-top:8px}
 .hero .btn{min-height:35px;padding:9px 11px}
 .actions{display:flex;flex-wrap:wrap;gap:6px}
 .actions .btn{width:auto}
 .hero-bar{display:none}
 .section,.leagues-section{padding:19px 0}
 .leagues-heading{margin-bottom:8px}
 .leagues-heading h2,.section h2{font-size:34px}
 .leagues-heading p:not(.kicker){font-size:10px}
 .sport-switcher{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px}
 .sport-switcher button{padding:7px 2px;min-height:31px;font-size:9px}
 .league-toolbar{display:flex;gap:5px;align-items:center;padding:6px}
 .league-views{display:flex;gap:2px;flex-wrap:wrap}
 .league-views button{font-size:9px;padding:7px 6px}
 .league-refresh{display:inline-flex;align-items:center;width:auto;margin:0;font-size:9px;padding:6px}
 .score-row{padding:8px 9px}
 .score-team strong{font-size:10px}
 .score-date{font-size:9px}
 .league-table th,.league-table td{padding:5px 3px;font-size:10px}
 .empty{min-height:86px;padding:13px}
 .empty h3{font-size:18px}
 .empty p{font-size:10px}
 .empty:after{font-size:75px}
 .cards{grid-template-columns:1fr}
 .footer-grid{gap:12px}
 .provider-heading{padding:8px 10px}
}
@media(max-width:380px){
 .sport-switcher{grid-template-columns:repeat(3,minmax(0,1fr))}
 .hero-art .art-copy strong{font-size:23px}
 .provider-heading{display:block}
 .provider-heading a{display:inline-block;margin-top:3px}
}

/* v2.1 — verified badge URLs with explicit visual fallback if CDN fails */
.score-crest,.score-image-fallback{width:27px;height:27px;min-width:27px;max-width:27px;flex:0 0 27px;display:inline-flex;object-fit:contain;align-items:center;justify-content:center}
.score-image-fallback{border:1px solid #B6CCE1;border-radius:6px;background:#DFEBF5;color:#4C6F91;font-size:9px;font-weight:900}
.league-table-team .score-crest,.league-table-team .score-image-fallback{width:24px;height:24px;min-width:24px;max-width:24px;flex-basis:24px}
@media(max-width:650px){
 .score-crest,.score-image-fallback{width:23px;height:23px;min-width:23px;max-width:23px;flex-basis:23px}
 .league-table-team .score-crest,.league-table-team .score-image-fallback{width:21px;height:21px;min-width:21px;max-width:21px;flex-basis:21px}
}

/* v2.2 — phone-first density: scores start higher, all sport filters in two rows */
@media(max-width:660px){
 .hero-main{padding:11px 0 13px;gap:0}
 .hero .hero-art{display:none!important}
 .hero .eyebrow{margin:0 0 7px;font-size:8px}
 .hero h1{font-size:clamp(38px,9.5vw,46px)}
 .hero .lead{margin:6px 0 10px;font-size:10px;line-height:1.4}
 .hero .sports{margin-top:7px}
 .sport-switcher{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
 .sport-switcher button:first-child{grid-column:auto!important}
 .sport-switcher button{padding:8px 3px;min-height:33px;font-size:9px}
 .league-views{display:flex;flex-wrap:nowrap;gap:1px}
 .league-views button{padding:7px 5px;font-size:9px;white-space:nowrap}
 .league-toolbar{padding:6px 8px}
 .league-refresh{margin:0;min-width:0;font-size:9px;padding:6px 5px}
}
@media(max-width:370px){
 .league-views button{font-size:8px;padding:7px 3px}
 .league-refresh{font-size:8px;padding:6px 3px}
}

/* v2.3 — complete verified club roster displayed during standings API downtime */
.club-directory{padding:10px 12px 12px;border-top:1px solid #DCE8F2;background:#F9FCFF}
.club-directory-heading{margin:0 0 8px;color:#4A6B88;font-size:10px;line-height:1.4}
.club-directory-heading strong{color:#E47E38;font-weight:900}
.club-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:6px 10px}
.club-grid-item{display:flex;align-items:center;gap:5px;min-width:0}
.club-grid-item .score-crest,.club-grid-item .score-image-fallback{width:23px;height:23px;min-width:23px;max-width:23px;flex-basis:23px}
.club-grid-item span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#2C5277;font-weight:800}
@media(max-width:1100px){.club-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:660px){
 .club-directory{padding:8px}
 .club-directory-heading{font-size:9px}
 .club-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 5px}
 .club-grid-item{gap:3px}
 .club-grid-item .score-crest,.club-grid-item .score-image-fallback{width:20px;height:20px;min-width:20px;max-width:20px;flex-basis:20px}
 .club-grid-item span:last-child{font-size:8px}
}

/* v2.3.1 — every Liga MX club remains legible on narrow phones */
.club-grid-item span:last-child{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.15}
@media(max-width:660px){.club-grid-item span:last-child{font-size:9px}}
