/* ALGOLÍNEA SPORTS V3 · Portal deportivo segmentado
   The code reuses the existing feed IDs and scripts intact.
   Approved: Sport-Tech Luminoso, compact high-information layout. */
body.portal-app{background:#EDF5FC}
.portal-layout{display:grid;grid-template-columns:188px minmax(0,1fr) 390px;align-items:start;gap:14px;padding-top:14px;padding-bottom:18px;max-width:1540px}
.portal-layout > *{min-width:0}
.portal-side,.portal-right{min-width:0}
.portal-side-sticky{position:sticky;top:75px;background:#fff;border:1px solid #D8E6F2;border-radius:10px;padding:12px 9px;box-shadow:0 2px 11px #1E5D8810}
.portal-eyebrow{font-weight:800;font-size:9px;letter-spacing:.09em;color:#2076B4;margin:0 0 8px}
.portal-side-nav{display:flex;flex-direction:column;gap:2px}
.portal-side-label{font-size:9px;letter-spacing:.09em;color:#7390A7;font-weight:900;padding:12px 10px 4px}
.portal-side-nav a{display:flex;align-items:center;gap:8px;min-height:32px;padding:8px 10px;border-radius:6px;color:#2D5576;text-decoration:none;font-size:11px;font-weight:800}
.portal-side-nav a:hover{background:#EAF4FD;color:#126BB5}
.portal-side-nav a.active{background:#E1F0FF;color:#0D67B5}
.portal-nav-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#7FB5DE;flex:none}
.portal-side-nav a.active .portal-nav-dot{background:#E88837}
.portal-side-note{margin-top:14px;background:#EAF5FF;border-top:2px solid #3C91D2;border-radius:5px;padding:9px;display:grid;gap:5px}
.portal-side-note strong{font-size:9px;color:#15588B}
.portal-side-note span{font-size:9px;color:#537895;line-height:1.4}
.portal-center{display:flex;flex-direction:column;min-width:0;gap:12px}
.portal-center > .section,.portal-center > .hero,.portal-center > .local,.portal-center > .results{min-width:0;width:100%;margin:0;padding:0;background:none;border:none}
.portal-center > .section > .wrap,.portal-center > .hero > .wrap,.portal-right > .section > .wrap{width:100%;max-width:none}
.portal-center .hero{border:1px solid #D4E5F3;border-radius:10px;background:linear-gradient(113deg,#F3FAFF,#DDEFFC);overflow:hidden}
.portal-center .hero-main{display:grid;grid-template-columns:minmax(0,1fr) 150px;padding:13px 14px;gap:7px}
.portal-center .hero h1{font-size:clamp(29px,2.5vw,42px)}
.portal-center .hero .lead{font-size:10px;margin:8px 0 10px}
.portal-center .hero .hero-art{height:135px;border:none;box-shadow:none;background:transparent}
.portal-center .hero-art .art-copy{display:none}
.portal-center .hero-art .hero-logo{width:112px}
.portal-center .hero-art .ring,.portal-center .hero-art .art-cap,.portal-center .hero-art .art-foot{display:none}
.portal-center .hero .hero-bar{display:none}
.portal-feature{display:flex;gap:15px;align-items:center;justify-content:space-between;min-width:0;background:#fff;border:1px solid #D9E6F2;border-radius:10px;padding:14px 16px;box-shadow:0 3px 11px #175C8A0E}
.portal-feature-text{min-width:0;flex:1}
.portal-feature h2{font-size:clamp(19px,2.2vw,30px);line-height:1.04;color:#164771;margin:2px 0 7px}
.portal-feature p:not(.portal-eyebrow){font-size:10px;color:#5C7B97;line-height:1.5;margin:0 0 9px}
.portal-feature a{font-weight:900;font-size:10px;color:#146BB3}
.portal-feature-logo{width:86px;height:74px;object-fit:contain;flex:none}
.portal-quick-sports{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.portal-quick-sports a{display:flex;align-items:center;min-width:0;gap:6px;padding:8px;background:#fff;border:1px solid #D6E4F0;border-radius:8px;color:#214D72;text-decoration:none;font-size:10px}
.portal-quick-sports a:hover{border-color:#2B86CB;background:#F5FBFF}
.portal-quick-sports strong{flex:1;overflow-wrap:anywhere}
.portal-quick-icon{background:#E3F2FE;color:#156EB4;border-radius:5px;display:flex;align-items:center;justify-content:center;min-width:32px;min-height:29px;font-size:10px;font-weight:900}
.portal-quick-sports a>span:last-child{font-size:11px;color:#1680CA}
.portal-section-links{display:flex;gap:8px;flex-wrap:wrap}
.portal-section-links a,.portal-inline-links a{font-size:10px;font-weight:900;color:#1B72B5;text-decoration:none}
.portal-section-links a:hover,.portal-inline-links a:hover{text-decoration:underline}
.portal-center .section{border:1px solid #D8E5F1;background:#fff;border-radius:9px;padding:12px 14px}
.portal-center .section.local{background:#F2F9FF}
.portal-center .section .heading{gap:6px;margin-bottom:10px}
.portal-center .section h2{font-size:clamp(22px,2.2vw,30px)}
.portal-center .section .heading p:not(.kicker){font-size:10px;margin:4px 0 0}
.portal-center .heading>small,.portal-center .sticker{display:none}
.portal-center .filters{margin:0 0 9px}
.portal-center .cards{gap:8px}
.portal-center .empty{min-height:0;padding:12px 14px}
.portal-center .empty h3{font-size:18px}
.portal-center .empty:after{display:none}
.portal-center .empty p{max-width:520px}
.portal-center .disclaimer{font-size:9px;line-height:1.5;margin:8px 0 0}
.portal-right{position:sticky;top:74px;max-height:calc(100dvh - 85px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#B9D0E4 transparent;display:flex;flex-direction:column;gap:10px}
.portal-right > .section{width:100%;margin:0;padding:0;background:none;border:0}
.portal-right .leagues-heading{display:flex;align-items:center;margin:0 0 6px}
.portal-right .leagues-heading h2{font-size:24px}
.portal-right .leagues-heading p:not(.kicker),.portal-right .feed-indicator{display:none}
.portal-right .leagues-heading .kicker{font-size:8px;margin-bottom:5px}
.portal-right .sport-switcher{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px;margin:0 0 6px}
.portal-right .sport-switcher button,.portal-right .sport-switcher button:first-child{grid-column:auto!important;min-height:31px;padding:6px 3px;font-size:9px}
.portal-right .league-toolbar{display:flex;align-items:center;gap:4px;padding:6px}
.portal-right .league-views{display:flex;flex-wrap:wrap;gap:1px}
.portal-right .league-views button{font-size:9px;padding:6px 7px}
.portal-right .league-refresh{margin:0;font-size:9px;padding:6px}
.portal-right .score-row{display:block;padding:7px 10px;min-height:0}
.portal-right .score-row-meta{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:6px;margin-bottom:6px}
.portal-right .score-versus{display:grid;grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr);gap:5px}
.portal-right .score-team strong{font-size:10px;overflow-wrap:anywhere}
.portal-right .score-result strong{font-size:19px}
.portal-right .score-sport-label{display:none}
.portal-right .score-crest{width:23px;height:23px;flex-basis:23px}
.portal-right .club-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.portal-right .club-grid-item{gap:3px}
.portal-right .club-grid-item span:last-child{font-size:9px;line-height:1.2}
.portal-right .club-grid .score-crest{width:20px;height:20px;min-width:20px;flex-basis:20px}
.portal-right .league-table{font-size:10px;table-layout:auto}
.portal-right .league-table .compact-hide{display:none}
.portal-right .league-table th,.portal-right .league-table td{padding:5px 4px}
.portal-right .league-table-team{gap:5px}
.portal-right .league-table-team .score-crest{width:21px;height:21px;min-width:21px;flex-basis:21px}
.portal-right .league-credit p{font-size:9px;line-height:1.4}
.portal-right .score-credits{margin:5px 4px}
.portal-right .results-grid{display:block}
.portal-right .results h2{font-size:22px}
.portal-right .results-grid>div:first-child{padding:10px 13px}
.portal-right .results-feed{min-height:0;padding:10px 13px}
.portal-right-foot{display:flex;justify-content:flex-end;padding:1px 3px}
.portal-right-foot a{font-size:10px;color:#176DB2;font-weight:800}
.portal-page-intro{background:#fff;border:1px solid #D7E4F2;border-left:4px solid #2784C6;border-radius:9px;padding:17px 20px}
.portal-page-intro h1{font-size:clamp(32px,3.3vw,46px);line-height:1;color:#113B67;margin:0 0 7px}
.portal-page-intro h1 em{font-style:normal;color:#2185C6}
.portal-page-intro p:not(.portal-eyebrow){font-size:11px;color:#5A7B97;line-height:1.5;max-width:650px;margin:0 0 10px}
.portal-inline-links{display:flex;flex-wrap:wrap;gap:12px}
.portal-source-note{padding:10px 14px;border:1px solid #C8DFF1;background:#F1F8FF;border-radius:7px;color:#527390;font-size:10px}
.portal-source-note a{font-weight:800;color:#1372B8}
.portal-app .footer{margin-top:0}
@media(min-width:1500px){.portal-layout{grid-template-columns:200px minmax(0,1fr) 420px;gap:16px}}
@media(max-width:1230px){
 .portal-layout{grid-template-columns:152px minmax(0,1fr) 348px;gap:10px}
 .portal-side-nav a{font-size:10px;padding:7px}
 .portal-center .hero-main{grid-template-columns:1fr 105px}
 .portal-center .hero-art .hero-logo{width:90px}
 .portal-center .hero h1{font-size:32px}
 .portal-quick-sports a{font-size:9px;padding:6px}
 .portal-quick-icon{min-width:28px}
}
@media(max-width:1030px){
 .portal-layout{grid-template-columns:minmax(0,1fr) 340px;gap:10px}
 .portal-side{grid-column:1/-1}
 .portal-side-sticky{position:static;padding:7px 9px}
 .portal-side .portal-eyebrow,.portal-side-note,.portal-side-label{display:none}
 .portal-side-nav{display:flex;flex-direction:row;flex-wrap:wrap;gap:5px}
 .portal-side-nav a{min-height:28px;padding:6px 10px;background:#F4F9FE}
 .portal-side-nav a.active{background:#E0F0FF}
 .portal-center .hero-main{grid-template-columns:1fr 110px}
}
@media(max-width:780px){
 .portal-layout{display:flex;flex-direction:column;gap:8px;padding-top:9px}
 .portal-layout>.portal-side,.portal-layout>.portal-right{width:100%}
 .portal-side{order:1}
 .portal-side-sticky{padding:5px}
 .portal-side-nav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
 .portal-side-nav a{white-space:nowrap;flex:0 0 auto}
 .portal-center{display:contents}
 .portal-center > .hero,.portal-center > .portal-page-intro,.portal-center > .portal-feature{order:2;width:100%}
 .portal-center > .portal-quick-sports,.portal-center > .portal-section-links,.portal-center > .portal-source-note{order:3;width:100%}
 .portal-right{order:4;position:static;max-height:none;overflow:visible;width:100%}
 .portal-center > .section{order:5;width:100%}
 .portal-center .hero-main{grid-template-columns:minmax(0,1fr) 90px;padding:11px}
 .portal-center .hero h1{font-size:36px}
 .portal-center .hero-art .hero-logo{width:80px}
 .portal-center .hero .hero-art{height:100px;display:block!important}
 .portal-feature-logo{width:63px;height:58px}
 .portal-quick-sports{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 .portal-quick-sports a{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:3px;font-size:9px;padding:7px 3px}
 .portal-quick-sports a>span:last-child{display:none}
 .portal-quick-icon{min-width:34px}
 .portal-right .leagues-heading h2{font-size:23px}
 .portal-right .club-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .portal-right .league-table .compact-hide{display:none}
 .portal-right .leagues-section{padding:0}
 .portal-right .results{display:block}
 .portal-page-intro{padding:14px}
}
@media(max-width:450px){
 .portal-center .hero .hero-art{display:none!important}
 .portal-feature-logo{display:none}
 .portal-center .hero h1{font-size:32px}
 .portal-center .section{padding:10px}
 .portal-side-nav a{font-size:10px}
 .portal-right .league-views button{font-size:9px;padding:6px 4px}
 .portal-right .sport-switcher button{font-size:9px}
 .portal-right .club-grid-item span:last-child{font-size:9px}
}

/* Side navigation remains in view across a long desktop editorial feed. */
@media(min-width:1031px){
 .portal-side{position:sticky;top:74px}
 .portal-side-sticky{position:static}
}

/* v3.1 — single highlighted editorial, no duplicated hero or logos. */
.portal-center .portal-feature:first-child{border-top:3px solid #3184BF}
.portal-feature-image{display:block;object-fit:cover;width:132px;height:98px;border-radius:7px;flex:none;border:1px solid #D7E5F1}
.portal-feature-image[hidden]{display:none!important}
@media(max-width:450px){
 .portal-feature{padding:12px}
 .portal-feature h2{font-size:22px}
 .portal-feature-image{width:90px;height:72px}
}

/* v3.2 · results remain visible on mobile without a bulky empty block. */
@media(max-width:780px){
 .portal-right .results .results-grid>div:first-child{padding:8px 11px}
 .portal-right .results h2{font-size:20px}
 .portal-right .results .results-feed{padding:8px 11px}
 .portal-right .results .results-grid>div:first-child p:not(.kicker){font-size:10px}
}
