@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800&display=swap');
:root{--navy:#043558;--navy2:#022941;--gold:#e5a832;--ink:#0b2940;--muted:#6c7d88;--line:#dfe5e8;--paper:#f5f7f8;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Montserrat,Arial,sans-serif;overflow-x:hidden}button,a{font:inherit}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.wrap{width:min(1180px,calc(100% - 44px));margin:auto}.display{font-family:'Barlow Condensed','Roboto Condensed',Arial Narrow,sans-serif;text-transform:uppercase}.section-title{display:flex;align-items:center;gap:14px;font:800 clamp(30px,3.1vw,43px)/1 'Barlow Condensed','Roboto Condensed',sans-serif;text-transform:uppercase;color:var(--navy);margin:0}.section-title:after{content:"";height:2px;width:42px;background:var(--gold)}.tiny-link{font-size:11px;font-weight:800;text-transform:uppercase;color:var(--navy);display:inline-flex;align-items:center;gap:7px}.tiny-link:hover{color:#b77b11}.gold{color:var(--gold)}
/* top bar */
.topbar{height:32px;background:var(--navy2);color:#fff;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.03em}.topbar .wrap{height:100%;display:flex;align-items:center;justify-content:space-between}.topbar-group{display:flex;align-items:center;gap:7px}.topbar svg{width:13px;height:13px;stroke:var(--gold);fill:none;stroke-width:2}.social{display:flex;align-items:center;gap:11px}.social a{opacity:.9}.social a:hover{opacity:1;color:var(--gold)}
/* navbar */
.navbar{height:92px;background:#fff;border-bottom:1px solid #e7ecef;position:relative;z-index:30}.navrow{height:100%;display:grid;grid-template-columns:165px 1fr 190px;align-items:center;gap:22px}.brand{align-self:stretch;display:flex;align-items:center;position:relative}.brand img{height:104px;width:128px;object-fit:contain;position:absolute;top:4px;left:0;z-index:4}.navlinks{display:flex;align-items:center;justify-content:center;gap:29px;height:100%;font-size:11px;font-weight:800;text-transform:uppercase}.navlinks a{height:100%;display:flex;align-items:center;position:relative}.navlinks a:after{content:"";position:absolute;bottom:20px;left:50%;transform:translateX(-50%);width:0;height:2px;background:var(--gold);transition:.2s}.navlinks a:hover:after,.navlinks a.active:after{width:24px}.cta{border:0;background:var(--gold);color:#173148;padding:16px 19px;font-weight:900;text-transform:uppercase;font-size:11px;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:54px}.cta:hover{filter:brightness(.96)}.hamb{display:none;width:44px;height:44px;border:1px solid var(--line);background:#fff;cursor:pointer}.hamb span{display:block;width:20px;height:2px;background:var(--navy);margin:4px auto}
/* hero */
.hero{position:relative;background:linear-gradient(90deg,#043558 0%,#07395c 48%,#062f4d 100%);color:#fff;min-height:600px;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background:url('assets/pattern-play.png') left center/620px auto no-repeat;opacity:.085;z-index:1}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,43,72,.98) 0%,rgba(3,43,72,.91) 27%,rgba(3,43,72,.62) 43%,rgba(3,43,72,.23) 61%,rgba(2,30,50,.10) 82%,rgba(2,30,50,.20) 100%);pointer-events:none;z-index:2}.hero-photo{position:absolute;right:0;top:0;width:72%;height:100%;object-fit:cover;object-position:center top;opacity:1;z-index:0;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.25) 12%,#000 35%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.25) 12%,#000 35%,#000 100%)}.hero-photo-shade{display:none}.hero .wrap{position:relative;z-index:3;min-height:600px;padding-top:102px;padding-bottom:148px}.hero-copy{max-width:505px}.hero h1{margin:0;font:900 clamp(55px,5.6vw,87px)/.88 'Barlow Condensed','Roboto Condensed',sans-serif;text-transform:uppercase;letter-spacing:-.02em}.hero h1 span{display:block;color:var(--gold)}.hero p{font-size:14px;line-height:1.65;max-width:470px;margin:22px 0 27px;color:#f1f5f7}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{border:1px solid rgba(255,255,255,.52);background:transparent;color:#fff;min-height:46px;padding:0 20px;display:inline-flex;align-items:center;gap:12px;font-size:11px;font-weight:900;text-transform:uppercase;cursor:pointer}.btn.primary{background:var(--gold);border-color:var(--gold);color:#153047}.btn:hover{transform:translateY(-1px)}
.next-match{position:absolute;z-index:4;left:50%;bottom:24px;transform:translateX(-50%);width:min(1120px,calc(100% - 56px));min-height:120px;border:1px solid rgba(255,255,255,.55);background:rgba(3,42,69,.87);backdrop-filter:blur(5px);display:grid;grid-template-columns:180px 1fr 180px;align-items:stretch;border-radius:11px;overflow:hidden}.next-label{display:flex;align-items:center;gap:14px;padding:18px 24px;border-right:1px solid rgba(255,255,255,.18);font-size:10px;font-weight:800;text-transform:uppercase}.next-label svg{width:30px;height:30px;stroke:white;fill:none;stroke-width:1.5}.versus{display:grid;grid-template-columns:1fr 190px 1fr;align-items:center}.club-feature{display:flex;align-items:center;justify-content:center;gap:12px;font:800 20px/1 'Barlow Condensed','Roboto Condensed',sans-serif;text-transform:uppercase;text-align:center}.club-feature img{width:72px;height:72px;object-fit:contain;background:#fff;border-radius:50%;padding:3px}.club-feature.right{flex-direction:row-reverse}.versus-center{text-align:center;border-left:1px solid rgba(255,255,255,.13);border-right:1px solid rgba(255,255,255,.13);align-self:stretch;display:flex;flex-direction:column;justify-content:center}.vs{font:900 40px/.9 'Barlow Condensed','Roboto Condensed',sans-serif;color:var(--gold)}.date{font:700 14px/1.2 'Barlow Condensed','Roboto Condensed',sans-serif;text-transform:uppercase;margin-top:6px}.meta{font-size:10px;line-height:1.55;color:#d4e0e7}.next-action{display:flex;align-items:center;justify-content:center;padding:18px;border-left:1px solid rgba(255,255,255,.18)}
/* pattern white sections — restored original approved treatment */
.patterned{position:relative;overflow:hidden}
.patterned:before,.patterned:after{content:"";position:absolute;pointer-events:none;background:url('assets/pattern-play.png') center/contain no-repeat;opacity:.035;width:330px;height:330px}
.patterned:before{left:-95px;top:-80px;transform:rotate(-10deg)}
.patterned:after{right:-105px;bottom:-90px;transform:rotate(20deg)}
.patterned>.wrap{position:relative;z-index:1}

/* teams */
.teams{padding:48px 0 40px;background:#fff}.teams .section-title{justify-content:center}.teams .section-title:before{content:"";height:2px;width:42px;background:var(--gold)}.team-row{display:flex;justify-content:flex-start;gap:20px;margin-top:32px;overflow-x:auto;overflow-y:hidden;padding:2px 2px 14px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:rgba(4,53,88,.28) transparent;-webkit-overflow-scrolling:touch}.team-row::-webkit-scrollbar{height:5px}.team-row::-webkit-scrollbar-track{background:transparent}.team-row::-webkit-scrollbar-thumb{background:rgba(4,53,88,.25);border-radius:999px}.team-card{flex:0 0 74px;text-align:center;scroll-snap-align:start}.team-card img{width:62px;height:62px;object-fit:contain;margin:auto;background:#fff}.team-card span{display:block;margin-top:7px;font:700 11px/1.05 'Barlow Condensed','Roboto Condensed',sans-serif;text-transform:uppercase;color:#12344d}.fallback-badge{width:62px;height:62px;margin:auto;border:2px solid #d7a62e;border-radius:50%;display:grid;place-items:center;font:900 24px 'Barlow Condensed';color:var(--navy)}
/* lists */
.results-zone{background:#f7f8f8;padding:46px 0 52px;border-top:1px solid #edf0f1;border-bottom:1px solid #e8edef}.dual{display:grid;grid-template-columns:1fr 1fr;gap:40px}.panel-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.match-list{background:#fff;border:1px solid #dde3e6}.list-row{min-height:69px;display:grid;align-items:center;border-bottom:1px solid #edf0f1;padding:9px 12px;gap:8px}.list-row:last-child{border-bottom:0}.fixture-row{grid-template-columns:52px minmax(0,1fr) 24px minmax(0,1fr) 88px 16px}.result-row{grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr) 66px 16px}.datebox{font:800 13px/1 'Barlow Condensed','Roboto Condensed';text-transform:uppercase;color:var(--navy);text-align:center;border-right:1px solid #edf0f1;padding-right:8px}.datebox b{font-size:22px}.mini-club{display:flex;align-items:center;gap:8px;min-width:0;font:800 12px/1 'Barlow Condensed','Roboto Condensed';text-transform:uppercase;color:#15364f}.mini-club.right{justify-content:flex-end;text-align:right}.mini-club img{width:34px;height:34px;object-fit:contain;flex:0 0 34px}.mini-club span{overflow:hidden;text-overflow:ellipsis}.vs-mini{text-align:center;font:800 13px 'Barlow Condensed';color:#b27c1b}.time{font:700 9px/1.4 Montserrat;text-transform:uppercase;color:#5f7380;text-align:right}.score{font:900 29px/1 'Barlow Condensed';text-align:center;color:var(--navy)}.score em{font-style:normal;color:var(--gold)}.chev{font-size:22px;color:#5f7380;text-align:center}.extra-results[hidden]{display:none}.more-bar{display:flex;justify-content:flex-end;margin-top:10px}
/* youtube */
.youtube{background:linear-gradient(90deg,rgba(3,43,73,.98),rgba(4,53,88,.96));color:#fff;position:relative;overflow:hidden;padding:48px 0}.youtube:before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(0,18,32,.30),transparent 55%);pointer-events:none}.youtube:after{content:"";position:absolute;right:-110px;top:-150px;width:520px;height:520px;border:38px solid rgba(255,255,255,.035);border-radius:50%;pointer-events:none}.yt-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:42px;align-items:center;position:relative;z-index:2}.yt-embed{position:relative;aspect-ratio:16/9;border:1px solid rgba(229,168,50,.55);border-radius:8px;overflow:hidden;background:#001d30;box-shadow:0 16px 35px rgba(0,18,32,.22)}.yt-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.yt-copy .label{font-size:11px;font-weight:900;text-transform:uppercase;color:var(--gold);letter-spacing:.04em}.yt-copy h2{margin:8px 0 12px;font:900 clamp(34px,4vw,56px)/.95 'Barlow Condensed','Roboto Condensed';text-transform:uppercase}.yt-copy p{margin:0 0 22px;font-size:13px;line-height:1.7;color:#d6e2e8;max-width:480px}.yt-copy .cta{min-height:45px}
/* gallery */
.gallery{padding:44px 0 48px;background:#fff}.gallery-head{display:flex;justify-content:space-between;align-items:end}.gallery-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:20px;position:relative}.gallery-item{aspect-ratio:1.42;border:1px solid #dbe1e4;border-radius:3px;overflow:hidden;background:#eee}.gallery-item img{width:100%;height:100%;object-fit:cover}.gallery-nav{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:1px solid #cbd5da;background:#fff;color:var(--navy);display:grid;place-items:center;font-size:22px;cursor:pointer;z-index:3}.gallery-nav.prev{left:-20px}.gallery-nav.next{right:-20px}
/* values */
.values{padding:37px 0 50px;background:#fff}.values .section-title{justify-content:center}.values .section-title:before{content:"";height:2px;width:42px;background:var(--gold)}.values-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:0;margin-top:34px}.value{text-align:center;padding:0 18px;min-height:170px;border-right:1px solid #e5eaed}.value:last-child{border-right:0}.value svg{width:48px;height:48px;stroke:var(--navy);fill:none;stroke-width:1.6;margin:auto}.value h3{font:800 17px/1 'Barlow Condensed','Roboto Condensed';text-transform:uppercase;color:var(--navy);margin:12px 0 7px}.value p{font-size:10px;line-height:1.55;color:#5f7380;margin:0}
/* footer */
.footer{background:linear-gradient(90deg,#032944,#043558);color:#fff;padding:44px 0 18px;position:relative;overflow:hidden}.footer:after{content:"";position:absolute;right:-85px;bottom:-120px;width:310px;height:310px;border:28px solid rgba(255,255,255,.035);border-radius:50%}.footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:56px;position:relative;z-index:2}.footer-logo{width:132px;height:105px;object-fit:contain;background:transparent}.footer p,.footer a{font-size:12px;line-height:1.75;color:#d1dde3}.footer h4{font:800 16px 'Barlow Condensed';text-transform:uppercase;margin:0 0 9px;color:#fff}.footer a{display:block}.copyright{border-top:1px solid rgba(255,255,255,.14);margin-top:28px;padding-top:16px;display:flex;justify-content:space-between;color:#8fa5b3;font-size:9px;position:relative;z-index:2}
/* modal */
.modal{position:fixed;inset:0;background:rgba(0,25,42,.76);z-index:100;display:none;place-items:center;padding:20px}.modal.open{display:grid}.modal-box{width:min(560px,100%);background:#fff;padding:28px;border-top:6px solid var(--gold);box-shadow:0 24px 70px rgba(0,0,0,.3)}.modal-top{display:flex;justify-content:space-between;gap:20px}.modal h3{font:900 34px/1 'Barlow Condensed';text-transform:uppercase;margin:0;color:var(--navy)}.close{border:0;background:transparent;font-size:28px;cursor:pointer;color:var(--navy)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:10px;font-weight:800;text-transform:uppercase;color:var(--navy)}.field input,.field select{border:1px solid #d9e1e5;padding:12px;font:inherit;font-size:13px;background:#fff}.form-actions{display:flex;justify-content:flex-end;margin-top:18px}.notice{font-size:10px;color:#758995;margin-top:10px}
/* responsive */
@media(max-width:980px){.navrow{grid-template-columns:135px 1fr auto}.brand img{width:106px;height:92px}.navlinks{gap:17px}.next-match{grid-template-columns:135px 1fr 145px}.versus{grid-template-columns:1fr 145px 1fr}.team-row{justify-content:flex-start;overflow-x:auto;scrollbar-width:none}.dual{gap:20px}.values-grid{grid-template-columns:repeat(3,1fr);row-gap:28px}.value:nth-child(3){border-right:0}}
@media(max-width:760px){.topbar{display:none}.navbar{height:78px}.navrow{grid-template-columns:110px 1fr auto}.brand img{height:78px;width:96px;top:0}.navlinks,.navrow>.cta{display:none}.hamb{display:block;justify-self:end}.navlinks.mobile-open{display:flex;position:absolute;left:0;right:0;top:78px;height:auto;background:#fff;flex-direction:column;gap:0;align-items:stretch;padding:10px 22px 18px;border-top:1px solid var(--line);box-shadow:0 14px 30px rgba(0,40,65,.15)}.navlinks.mobile-open a{height:auto;padding:12px 0}.navlinks.mobile-open a:after{display:none}.hero{min-height:auto}.hero-photo{width:100%;height:360px;top:0;opacity:1;-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.55) 0%,#000 34%,#000 100%);mask-image:linear-gradient(90deg,rgba(0,0,0,.55) 0%,#000 34%,#000 100%)}.hero-photo-shade{display:none}.hero .wrap{min-height:665px;padding-top:67px;padding-bottom:210px}.hero-copy{max-width:350px}.hero h1{font-size:57px}.hero p{font-size:12px;max-width:310px}.next-match{bottom:20px;width:calc(100% - 28px);grid-template-columns:1fr;border-radius:8px}.next-label,.next-action{display:none}.versus{grid-template-columns:1fr 110px 1fr}.club-feature{font-size:15px;flex-direction:column;gap:5px}.club-feature.right{flex-direction:column}.club-feature img{width:55px;height:55px}.date{font-size:12px}.meta{font-size:9px}.teams{padding:35px 0}.team-row{gap:15px}.results-zone{padding:36px 0}.dual{grid-template-columns:1fr;gap:34px}.yt-grid{grid-template-columns:1fr;gap:24px}.yt-copy{order:-1}.gallery-strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}.gallery-item{min-width:72%;scroll-snap-align:start}.gallery-nav{display:none}.values-grid{grid-template-columns:1fr 1fr}.value:nth-child(2n){border-right:0}.footer-grid{grid-template-columns:1fr 1fr;gap:28px}.copyright{flex-direction:column;gap:8px}.section-title{font-size:29px}.fixture-row{grid-template-columns:44px minmax(0,1fr) 20px minmax(0,1fr) 72px 12px}.result-row{grid-template-columns:minmax(0,1fr) 45px minmax(0,1fr) 48px 12px}.mini-club{font-size:10px}.mini-club img{width:29px;height:29px;flex-basis:29px}.score{font-size:25px}.time{font-size:8px}}
@media(max-width:480px){.wrap{width:min(100% - 26px,1180px)}.hero-photo{height:330px;object-position:58% top}.hero-photo-shade{height:330px}.hero .wrap{padding-top:54px;min-height:640px}.hero h1{font-size:50px}.hero-actions{gap:8px}.btn{padding:0 13px;font-size:10px}.versus{grid-template-columns:1fr 92px 1fr}.club-feature img{width:48px;height:48px}.team-card{flex-basis:62px}.team-card img,.fallback-badge{width:54px;height:54px}.panel-head{align-items:center}.tiny-link{font-size:9px}.value{padding:0 12px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}}

/* ===== V3 requested refinements ===== */
.brand img{height:112px;width:136px;object-fit:contain;top:-2px}
.pre-cta{position:relative;min-height:60px;padding:0 16px 0 20px;border:0;border-radius:3px;
  background:linear-gradient(135deg,#f4c14b 0%,#e5a832 58%,#c98a1b 100%);color:#102d43;
  box-shadow:0 8px 20px rgba(157,105,13,.18);clip-path:polygon(7% 0,100% 0,93% 100%,0 100%);
  overflow:hidden;gap:12px;text-align:left}
.pre-cta:before{content:"";position:absolute;inset:-40% auto -40% -24%;width:36%;transform:rotate(18deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent);transition:transform .45s ease}
.pre-cta:hover:before{transform:translateX(360%) rotate(18deg)}
.pre-cta-copy{display:grid;line-height:1.02;text-transform:uppercase}
.pre-cta-copy small{font:700 8px/1 Montserrat;letter-spacing:.08em;opacity:.75;margin-bottom:3px}
.pre-cta-copy strong{font:900 14px/.95 'Barlow Condensed',sans-serif;letter-spacing:.025em}
.pre-cta-copy span{font:900 12px/.95 'Barlow Condensed',sans-serif;margin-top:3px}
.pre-cta-icon{width:30px;height:30px;border:1px solid rgba(4,53,88,.28);border-radius:50%;display:grid;place-items:center;
  font-weight:900;font-size:17px;background:rgba(255,255,255,.18)}
.hero-pre{background:linear-gradient(135deg,#efb638,#d9961a)!important;border-color:#e5a832!important;color:#0d2e45!important;
  padding:0 18px 0 20px;min-width:218px;justify-content:space-between;box-shadow:0 9px 22px rgba(0,0,0,.14)}
.hero-pre span{display:grid;text-align:left;line-height:1}.hero-pre small{font-size:8px;letter-spacing:.08em;margin-bottom:4px}
.hero-pre strong{font:900 15px/1 'Barlow Condensed',sans-serif}.hero-pre b{width:29px;height:29px;border:1px solid rgba(4,53,88,.34);border-radius:50%;display:grid;place-items:center}

/* exact approved hero artwork supplied by user */
.hero{background:#032d4a}
.hero:before,.hero:after{display:none}
.hero-photo{inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;opacity:1;
  -webkit-mask-image:none;mask-image:none}
.hero-copy{position:relative;text-shadow:0 2px 12px rgba(0,25,45,.22)}
.hero p{color:#f5f8fa}

/* preserve team-logo transparency; never add discs/backgrounds */
.team-card img,.mini-club img{background:transparent!important;border-radius:0!important;padding:0!important}
.team-row{padding-left:8px;padding-right:8px}
.team-card{flex-basis:80px}
.team-card img{width:66px;height:66px}
.club-feature img{background:rgba(255,255,255,.95);border-radius:50%;padding:4px}

/* upcoming fixtures */
.fixture-row{grid-template-columns:92px minmax(0,1fr) 28px minmax(0,1fr);min-height:82px;padding:10px 14px;gap:11px}
.datebox-fixture{align-self:stretch;border-right:1px solid #e6ebee;padding:6px 12px 6px 2px;display:grid;place-content:center;text-align:center}
.datebox-fixture .weekday{font:800 10px/1 Montserrat;letter-spacing:.08em;color:#738793;margin-bottom:4px}
.datebox-fixture strong{font:900 19px/.95 'Barlow Condensed',sans-serif;color:var(--navy);white-space:nowrap}
.datebox-fixture .kickoff{display:block;margin-top:7px;padding-top:6px;border-top:1px solid #e8edf0;
  font:800 10px/1 Montserrat;color:#b67d17;letter-spacing:.025em}
.fixture-row .mini-club{font-size:13px;gap:10px}
.fixture-row .mini-club img{width:43px;height:43px;flex-basis:43px}
.fixture-row .vs-mini{font-size:14px}

/* uniform result color */
.score,.score em{color:var(--navy)!important}
.result-row .mini-club img{width:38px;height:38px;flex-basis:38px}

/* YouTube: hosted embed + graceful local preview */
.yt-embed{background:#021f34}
.yt-fallback{position:absolute;inset:0;overflow:hidden}
.yt-fallback>img{width:100%;height:100%;object-fit:cover;filter:saturate(.82) brightness(.62)}
.yt-fallback-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,28,47,.86),rgba(1,28,47,.28))}
.yt-fallback-content{position:absolute;inset:auto 26px 24px 26px;display:grid;justify-items:start;gap:8px}
.yt-pill{background:#e62117;color:#fff;padding:5px 9px;border-radius:3px;font-size:10px;font-weight:900;text-transform:uppercase}
.yt-fallback-content strong{font:900 28px/1 'Barlow Condensed',sans-serif;text-transform:uppercase}
.yt-fallback-note{font-size:10px;line-height:1.45;color:#d6e3e9;max-width:430px}
.yt-fallback-content a{display:inline-flex;padding:9px 12px;background:var(--gold);color:#102f45;font-size:10px;font-weight:900;text-transform:uppercase}

/* footer with brand identity instead of flat blue */
.footer{background:
  linear-gradient(100deg,rgba(2,38,63,.98),rgba(4,53,88,.94)),
  url('assets/pattern-field.png') right 18% center/500px auto no-repeat;
  isolation:isolate}
.footer:before{content:"";position:absolute;left:-115px;bottom:-135px;width:390px;height:390px;
  background:url('assets/pattern-play.png') center/contain no-repeat;opacity:.055;transform:rotate(-12deg);z-index:0}
.footer:after{content:"";position:absolute;right:-30px;top:-42px;width:330px;height:190px;border:0;border-radius:0;
  background:url('assets/pattern-dots.png') center/contain no-repeat;opacity:.07;z-index:0}
.footer-deco{position:absolute;pointer-events:none;z-index:0}
.footer-deco-left{left:34%;top:28px;width:120px;height:120px;border:18px solid rgba(229,168,50,.045);border-radius:50%}
.footer-deco-right{right:7%;bottom:-58px;width:170px;height:170px;border:22px solid rgba(255,255,255,.035);border-radius:50%}
.footer .wrap{position:relative;z-index:2}

@media(max-width:980px){
  .brand img{width:115px;height:100px}
  .fixture-row{grid-template-columns:84px minmax(0,1fr) 24px minmax(0,1fr)}
}
@media(max-width:760px){
  .brand img{height:84px;width:103px;top:-3px}
  .hero-photo{height:100%;object-position:58% center}
  .fixture-row{grid-template-columns:78px minmax(0,1fr) 20px minmax(0,1fr)}
  .fixture-row .mini-club{font-size:11px}
  .fixture-row .mini-club img{width:37px;height:37px;flex-basis:37px}
  .datebox-fixture strong{font-size:17px}
}
@media(max-width:480px){
  .fixture-row{grid-template-columns:72px minmax(0,1fr) 18px minmax(0,1fr);padding-left:10px;padding-right:10px}
  .fixture-row .mini-club{font-size:10px}
  .fixture-row .mini-club img{width:34px;height:34px;flex-basis:34px}
  .datebox-fixture{padding-right:8px}.datebox-fixture strong{font-size:16px}.datebox-fixture .kickoff{font-size:9px}
}

/* ===== V4 refinements ===== */
/* header uses clean blue-letter logo; source artwork itself is not redrawn */
.brand img{height:112px;width:136px;object-fit:contain;top:-2px}

/* make the featured match a true 50/50 overlap between hero and white section */
.hero{overflow:visible;z-index:2}
.next-match{
  bottom:-70px;
  min-height:140px;
  border:1px solid rgba(229,168,50,.72);
  background:
    linear-gradient(112deg,rgba(2,39,65,.98) 0%,rgba(4,53,88,.96) 48%,rgba(2,41,68,.98) 100%);
  box-shadow:0 24px 48px rgba(2,38,62,.28),0 5px 12px rgba(2,38,62,.16);
  border-radius:14px;
  overflow:hidden;
}
.next-match:before{
  content:"";position:absolute;left:0;right:0;top:0;height:4px;
  background:linear-gradient(90deg,transparent 0%,var(--gold) 18%,#f2c45f 50%,var(--gold) 82%,transparent 100%);
  z-index:3
}
.next-match:after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(circle at 50% 50%,rgba(229,168,50,.09),transparent 30%),
    url('assets/pattern-dots.png') right 4% center/170px auto no-repeat;
  opacity:.8
}
.next-match>*{position:relative;z-index:2}
.next-label{
  padding:22px 25px;
  background:linear-gradient(135deg,rgba(1,30,50,.78),rgba(4,53,88,.28));
}
.next-label svg{width:34px;height:34px;stroke:var(--gold)}
.next-label span{font:900 13px/1.05 'Barlow Condensed',sans-serif;letter-spacing:.05em}
.versus{grid-template-columns:1fr 210px 1fr}
.club-feature{font-size:22px;gap:14px}
.club-feature img{
  width:84px;height:84px;object-fit:contain;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.13);
  border-radius:12px!important;padding:6px!important
}
.club-feature img[src*="omega-original"],
.club-feature img[src*="muchachos-original"],
.club-feature img[src*="hogar-canario-original"]{
  padding:0!important;background:transparent!important;border:0!important;border-radius:0!important
}
.versus-center{background:rgba(1,30,50,.18)}
.vs{
  width:62px;height:62px;border-radius:50%;margin:0 auto 7px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#f1c45a,var(--gold));
  color:#092d47;font-size:34px;
  box-shadow:0 0 0 5px rgba(229,168,50,.10),0 8px 22px rgba(0,0,0,.16)
}
.date{font-size:15px;letter-spacing:.02em}
.meta{font-size:10px;color:#e2ebef}
.next-action{padding:20px}
.next-action .btn{
  border-color:rgba(229,168,50,.65);
  background:rgba(229,168,50,.10);
  min-height:50px
}
.next-action .btn:hover{background:var(--gold);color:var(--navy)}
.teams{padding-top:122px}

/* Original team artwork exceptions requested by the user */
.team-card img[src*="muchachos-original"],
.team-card img[src*="omega-original"],
.team-card img[src*="hogar-canario-original"],
.mini-club img[src*="muchachos-original"],
.mini-club img[src*="omega-original"],
.mini-club img[src*="hogar-canario-original"]{
  object-fit:contain!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important
}

/* Gallery: dynamic horizontal feed, 5 visible on desktop and touch-scroll on smaller screens */
.gallery{padding-top:48px}
.gallery-eyebrow{
  color:var(--gold);font:800 10px/1 Montserrat,sans-serif;
  text-transform:uppercase;letter-spacing:.11em;margin-bottom:9px
}
.gallery-strip{
  display:flex;
  gap:8px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
  padding:2px 0 10px;
  margin-top:20px;
  position:relative
}
.gallery-strip::-webkit-scrollbar{display:none}
.gallery-item{
  flex:0 0 calc((100% - 32px)/5);
  aspect-ratio:1.42;
  scroll-snap-align:start;
  border-radius:4px;
  border:1px solid #dbe1e4;
  overflow:hidden;
  background:#eef1f2
}
.gallery-item img{width:100%;height:100%;object-fit:cover}
.gallery-nav{position:sticky;flex:0 0 38px;align-self:center;top:auto;transform:none;z-index:5}
.gallery-nav.prev{left:0;order:-1}
.gallery-nav.next{right:0;order:999}
.gallery-feed-note{
  margin:8px 0 0;
  color:#84949e;font-size:9px;line-height:1.5;
  text-align:right
}

@media(max-width:980px){
  .next-match{bottom:-66px;min-height:132px}
  .versus{grid-template-columns:1fr 175px 1fr}
  .club-feature{font-size:18px}.club-feature img{width:72px;height:72px}
  .teams{padding-top:112px}
  .gallery-item{flex-basis:calc((100% - 24px)/4)}
}
@media(max-width:760px){
  .hero{overflow:visible}
  .hero .wrap{padding-bottom:205px}
  .next-match{bottom:-72px;width:calc(100% - 28px);min-height:144px}
  .versus{grid-template-columns:1fr 108px 1fr}
  .club-feature{font-size:15px}.club-feature img{width:58px;height:58px}
  .vs{width:50px;height:50px;font-size:27px}
  .date{font-size:11px}.meta{font-size:8px}
  .teams{padding-top:118px}
  .gallery-item{flex-basis:72%}
  .gallery-feed-note{text-align:left}
}
@media(max-width:480px){
  .next-match{bottom:-68px;min-height:136px}
  .teams{padding-top:112px}
}


/* ===== V5 refinements ===== */
/* Featured match: narrower centerpiece with external tabs */
.next-match-shell{
  position:absolute;z-index:5;left:50%;bottom:-72px;transform:translateX(-50%);
  width:min(940px,calc(100% - 70px));
}
.next-match-shell .next-match{
  position:relative;left:auto;bottom:auto;transform:none;width:100%;min-height:128px;
  display:block;border-radius:15px;overflow:hidden;
  border:1px solid rgba(229,168,50,.66);
  box-shadow:0 22px 44px rgba(2,38,62,.28),0 5px 12px rgba(2,38,62,.15)
}
.next-match-shell .next-match:before{height:3px}
.next-match-shell .versus{min-height:128px;grid-template-columns:1fr 205px 1fr}
.next-kicker{
  position:absolute;left:26px;top:-22px;z-index:8;
  background:linear-gradient(135deg,#f2c35a,var(--gold));color:var(--navy);
  padding:10px 22px 9px;border-radius:8px 8px 4px 4px;
  box-shadow:0 8px 18px rgba(0,0,0,.14);
  font:900 12px/1 'Barlow Condensed','Roboto Condensed',sans-serif;
  letter-spacing:.08em;text-transform:uppercase
}
.next-calendar-pill{
  position:absolute;left:50%;bottom:-20px;transform:translateX(-50%);z-index:8;
  min-width:190px;text-align:center;padding:9px 22px 8px;
  background:#eef2f4;color:#31546a;border:1px solid #dbe2e6;border-radius:4px 4px 9px 9px;
  box-shadow:0 8px 18px rgba(0,32,54,.12);
  font:800 11px/1 'Barlow Condensed','Roboto Condensed',sans-serif;text-transform:uppercase;letter-spacing:.07em
}
.next-calendar-pill:hover{background:#fff;color:var(--navy)}
.next-calendar-pill span{margin-left:8px;color:var(--gold);font-size:14px}
.teams{padding-top:128px}

/* Team scroller cues */
.team-carousel{position:relative;margin-top:30px;padding:0 30px}
.team-carousel .team-row{margin-top:0;padding-left:2px;padding-right:2px}
.team-scroll-btn{
  position:absolute;top:30px;z-index:5;width:28px;height:28px;border-radius:50%;
  border:1px solid #e2e7ea;background:rgba(248,250,251,.95);color:#a8b2b8;
  display:grid;place-items:center;font-size:20px;line-height:1;cursor:pointer;
  box-shadow:0 4px 10px rgba(7,41,62,.06);transition:.2s ease
}
.team-scroll-btn:hover{color:var(--navy);border-color:#ccd6dc;background:#fff}
.team-scroll-btn.prev{left:-2px}.team-scroll-btn.next{right:-2px}

/* Gallery lightbox */
.gallery-item{cursor:zoom-in;transition:transform .18s ease,box-shadow .18s ease;padding:0;font:inherit;color:inherit}
.gallery-item:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(2,38,62,.12)}
.lightbox{
  position:fixed;inset:0;z-index:1000;background:rgba(1,20,33,.93);
  display:none;align-items:center;justify-content:center;padding:36px 70px;
  backdrop-filter:blur(6px)
}
.lightbox.open{display:flex}
.lightbox-figure{margin:0;max-width:min(1180px,90vw);max-height:88vh;display:flex;flex-direction:column;align-items:center}
.lightbox-figure img{max-width:100%;max-height:80vh;object-fit:contain;border-radius:6px;box-shadow:0 20px 65px rgba(0,0,0,.42)}
.lightbox-figure figcaption{color:#dce7ed;margin-top:12px;font-size:12px;text-align:center}
.lightbox-close,.lightbox-nav{position:absolute;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.08);color:#fff;cursor:pointer}
.lightbox-close{top:22px;right:26px;width:42px;height:42px;border-radius:50%;font-size:27px}
.lightbox-nav{top:50%;transform:translateY(-50%);width:46px;height:58px;border-radius:8px;font-size:31px}
.lightbox-nav.prev{left:20px}.lightbox-nav.next{right:20px}
.lightbox-close:hover,.lightbox-nav:hover{background:rgba(255,255,255,.16)}
body.lightbox-open{overflow:hidden}

@media(max-width:980px){
  .next-match-shell{width:min(860px,calc(100% - 46px));bottom:-70px}
  .next-match-shell .versus{grid-template-columns:1fr 170px 1fr}
}
@media(max-width:760px){
  .next-match-shell{width:calc(100% - 28px);bottom:-72px}
  .next-match-shell .next-match{min-height:138px}
  .next-match-shell .versus{min-height:138px;grid-template-columns:1fr 108px 1fr}
  .next-kicker{left:16px;top:-18px;padding:8px 16px 7px;font-size:10px}
  .next-calendar-pill{bottom:-18px;min-width:165px;padding:8px 16px 7px;font-size:10px}
  .teams{padding-top:125px}
  .team-carousel{padding:0 26px}
  .team-scroll-btn{top:25px;width:26px;height:26px;font-size:18px}
  .lightbox{padding:54px 14px 24px}
  .lightbox-nav{width:36px;height:48px;font-size:25px;background:rgba(1,20,33,.58)}
  .lightbox-nav.prev{left:8px}.lightbox-nav.next{right:8px}
  .lightbox-close{top:12px;right:14px}
  .lightbox-figure img{max-height:76vh}
}


/* ===== V6 refinements ===== */
/* Slim sponsor band */
.sponsor-strip{
  height:54px;background:#fbfcfc;border-bottom:1px solid #e7ecef;
  position:relative;z-index:32
}
.sponsor-row{height:100%;display:flex;align-items:center;gap:22px}
.sponsor-label{
  flex:0 0 auto;color:#81919b;font:800 9px/1 Montserrat,sans-serif;
  text-transform:uppercase;letter-spacing:.12em
}
.sponsor-logos{
  min-width:0;flex:1;height:100%;display:flex;align-items:center;justify-content:center;
  gap:24px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none
}
.sponsor-logos::-webkit-scrollbar{display:none}
.sponsor-logo{
  flex:0 0 auto;height:38px;min-width:82px;max-width:128px;
  display:flex;align-items:center;justify-content:center;padding:3px 7px;
  border-radius:4px;background:#fff
}
.sponsor-logo.dark{background:#05080a}
.sponsor-logo.wide{max-width:145px}
.sponsor-logo img{display:block;max-width:100%;max-height:32px;width:auto;height:auto;object-fit:contain}

/* Navigation with Mi Perfil */
.navrow{grid-template-columns:145px minmax(0,1fr) auto 185px;gap:12px}
.navlinks{gap:18px;font-size:10px;white-space:nowrap}
.profile-btn{
  min-height:44px;padding:0 14px;border:1px solid #d6e0e5;background:#fff;color:var(--navy);
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  font-size:10px;font-weight:900;text-transform:uppercase;cursor:pointer
}
.profile-btn:hover{border-color:var(--gold);background:#fffaf0}
.profile-icon{color:var(--gold);font-size:13px}
.profile-mobile{display:none}

/* Featured next match — all-blue gradient, larger text and centered tabs */
.next-match-shell{
  bottom:-82px;width:min(900px,calc(100% - 76px))
}
.next-match-shell .next-match{
  min-height:164px;
  background:linear-gradient(120deg,#063d63 0%,#043558 52%,#022f4f 100%);
  border-color:rgba(229,168,50,.78);
  box-shadow:0 23px 48px rgba(2,45,74,.27),0 6px 14px rgba(2,45,74,.16)
}
.next-match-shell .next-match:after{
  background:
    radial-gradient(circle at 50% 50%,rgba(255,255,255,.035),transparent 34%),
    url('assets/pattern-dots.png') right 4% center/170px auto no-repeat;
  opacity:.72
}
.next-match-shell .versus{
  min-height:164px;grid-template-columns:1fr 220px 1fr
}
.next-kicker{
  left:50%;top:-21px;transform:translateX(-50%);
  padding:10px 24px 9px;border-radius:7px;
  font-size:12px;white-space:nowrap
}
.next-calendar-pill{
  left:50%;bottom:-20px;transform:translateX(-50%);
  min-width:205px;padding:9px 24px 8px;
  background:#f1f4f5;color:#405f72;border-color:#d9e0e4;
  border-radius:7px
}
.next-calendar-pill span{color:#80919b}
.next-match-shell .club-feature{
  font-size:26px;gap:16px;padding:12px 18px
}
.next-match-shell .club-feature img{
  width:90px;height:90px
}
.next-match-shell .versus-center{
  background:linear-gradient(180deg,rgba(2,48,80,.24),rgba(7,65,105,.12));
  border-color:rgba(255,255,255,.12)
}
.next-match-shell .vs{font-size:36px}
.next-match-shell .date{font-size:18px;line-height:1.08;margin-top:8px}
.next-match-shell .meta{font-size:12px;line-height:1.55;margin-top:5px;color:#e6eff4}
.teams{padding-top:148px}

/* Footer: all translucent circular elements are white */
.footer-deco-left{border-color:rgba(255,255,255,.045)!important}

/* Scorers */
.scorers{
  padding:54px 0 58px;background:#fff;border-bottom:1px solid #e8edef;
  position:relative;overflow:hidden
}
.scorers:before{
  content:"";position:absolute;right:-100px;top:-95px;width:330px;height:330px;
  background:url('assets/pattern-play.png') center/contain no-repeat;opacity:.03;transform:rotate(14deg)
}
.scorers .wrap{position:relative;z-index:2}
.scorers-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}
.scorers-eyebrow{
  margin-bottom:8px;color:var(--gold);font:900 10px/1 Montserrat,sans-serif;
  text-transform:uppercase;letter-spacing:.12em
}
.scorers-top-label{
  padding:8px 15px;background:#f1f4f5;color:#72848f;border:1px solid #e1e6e9;
  font:800 10px/1 Montserrat,sans-serif;text-transform:uppercase;letter-spacing:.08em
}
.scorers-board{
  max-width:980px;margin:26px auto 0;display:grid;gap:8px
}
.scorer-row{
  min-height:82px;display:grid;grid-template-columns:58px 66px minmax(0,1fr) 92px;
  align-items:center;gap:10px;padding:8px 13px 8px 18px;background:#fff;
  border:1px solid #dde4e8;
  clip-path:polygon(1.1% 0,100% 0,98.9% 100%,0 100%);
  box-shadow:0 5px 15px rgba(4,53,88,.045)
}
.scorer-row.leader{
  border-color:rgba(229,168,50,.72);
  background:linear-gradient(90deg,#fff 0%,#fff 78%,#fffaf0 100%)
}
.scorer-rank{
  color:#9aa8b0;text-align:center;
  font:900 23px/1 'Barlow Condensed','Roboto Condensed',sans-serif
}
.scorer-row.leader .scorer-rank{color:var(--gold)}
.scorer-logo{width:54px;height:54px;object-fit:contain;background:transparent}
.scorer-player{min-width:0;display:grid;gap:3px}
.scorer-player strong{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:var(--navy);font:900 24px/.95 'Barlow Condensed','Roboto Condensed',sans-serif;
  text-transform:uppercase
}
.scorer-player span{
  color:#6d7e88;font:800 12px/1.1 Montserrat,sans-serif;text-transform:uppercase
}
.scorer-goals{
  align-self:stretch;display:grid;place-content:center;text-align:center;background:#edf1f3;color:var(--navy);
  clip-path:polygon(8% 0,100% 0,92% 100%,0 100%)
}
.scorer-row.leader .scorer-goals{
  background:linear-gradient(135deg,#efb638,var(--gold));color:#14334a
}
.scorer-goals strong{font:900 34px/.85 'Barlow Condensed','Roboto Condensed',sans-serif}
.scorer-goals span{font:800 8px/1 Montserrat,sans-serif;text-transform:uppercase;letter-spacing:.08em;margin-top:5px}

/* Profile button placeholder */
@media(min-width:761px){
  .pre-cta{min-width:175px}
}
@media(max-width:1100px){
  .navrow{grid-template-columns:125px minmax(0,1fr) auto 170px}
  .navlinks{gap:12px;font-size:9.5px}
  .profile-btn{padding:0 10px}
}
@media(max-width:980px){
  .sponsor-logos{justify-content:flex-start}
  .next-match-shell{width:min(840px,calc(100% - 48px));bottom:-78px}
  .next-match-shell .versus{grid-template-columns:1fr 185px 1fr}
  .next-match-shell .club-feature{font-size:22px}
  .next-match-shell .club-feature img{width:78px;height:78px}
  .next-match-shell .date{font-size:16px}
  .next-match-shell .meta{font-size:11px}
}
@media(max-width:760px){
  .sponsor-strip{height:46px}
  .sponsor-row{gap:12px}
  .sponsor-label{display:none}
  .sponsor-logos{justify-content:flex-start;gap:15px}
  .sponsor-logo{height:34px;min-width:72px;max-width:112px;padding:2px 6px}
  .sponsor-logo img{max-height:28px}
  .profile-btn{display:none}
  .profile-mobile{
    width:100%;border:1px solid #dbe3e7;background:#f8fafb;color:var(--navy);
    min-height:44px;margin-top:6px;padding:0 12px;align-items:center;justify-content:center;gap:7px;
    font-size:11px;font-weight:900;text-transform:uppercase;cursor:pointer
  }
  .navlinks.mobile-open .profile-mobile{display:flex}
  .next-match-shell{width:calc(100% - 28px);bottom:-74px}
  .next-match-shell .next-match{min-height:148px}
  .next-match-shell .versus{min-height:148px;grid-template-columns:1fr 104px 1fr}
  .next-kicker{top:-18px;padding:8px 18px 7px;font-size:10px}
  .next-calendar-pill{bottom:-18px;min-width:175px;padding:8px 17px 7px;font-size:10px}
  .next-match-shell .club-feature{font-size:17px;gap:6px;padding:10px 5px}
  .next-match-shell .club-feature img{width:60px;height:60px}
  .next-match-shell .vs{width:52px;height:52px;font-size:29px}
  .next-match-shell .date{font-size:13px}
  .next-match-shell .meta{font-size:9px}
  .teams{padding-top:128px}
  .scorers{padding:42px 0 46px}
  .scorers-head{align-items:center}
  .scorers-board{margin-top:20px;gap:7px}
  .scorer-row{grid-template-columns:36px 48px minmax(0,1fr) 62px;min-height:70px;padding:7px 8px 7px 10px;gap:7px}
  .scorer-logo{width:42px;height:42px}
  .scorer-player strong{font-size:18px}
  .scorer-player span{font-size:9px}
  .scorer-rank{font-size:19px}
  .scorer-goals strong{font-size:27px}
  .scorer-goals span{font-size:7px}
}
@media(max-width:420px){
  .next-match-shell .club-feature{font-size:15px}
  .next-match-shell .club-feature img{width:54px;height:54px}
  .next-match-shell .versus{grid-template-columns:1fr 94px 1fr}
  .next-match-shell .date{font-size:12px}
  .scorers-top-label{display:none}
  .scorer-player strong{font-size:16px}
}

/* ===== V7 corrections requested ===== */
/* 1) Próximo partido: one continuous blue gradient, without a center split */
.next-match-shell .next-match{
  background:linear-gradient(118deg,#073f64 0%,#06466e 28%,#043b60 55%,#033453 78%,#022e4c 100%) !important;
}
.next-match-shell .versus-center{
  background:transparent !important;
  border-left:0 !important;
  border-right:0 !important;
}

/* 2) Sponsor logos: never place black backgrounds behind transparent artwork */
.sponsor-logo,
.sponsor-logo.dark,
.sponsor-logo.wide{
  background:transparent !important;
}
.sponsor-logo img{
  background:transparent !important;
}

/* 3) Mobile header: keep the hamburger pinned to the far right */
@media(max-width:760px){
  .navrow{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center;
    gap:10px;
  }
  .brand{min-width:0;}
  .hamb{
    grid-column:2;
    justify-self:end !important;
    align-self:center;
    margin-left:auto;
    position:relative;
    z-index:10;
  }
}


/* ===== V8 visibility + transparency corrections ===== */
/* Header logo: tightly-cropped transparent blue version so it remains visible on white */
.brand img{
  display:block !important;
  opacity:1 !important;
  visibility:visible !important;
  object-fit:contain !important;
}
@media(max-width:760px){
  .brand{display:flex !important;align-items:center !important;min-height:78px !important;}
  .brand img{position:relative !important;top:auto !important;left:auto !important;width:112px !important;height:74px !important;}
  .navrow{grid-template-columns:minmax(120px,1fr) auto !important;}
}

/* Sponsors: use their cleaned transparent assets directly on white, no cards/background blocks */
.sponsor-logo,.sponsor-logo.dark,.sponsor-logo.wide{background:transparent !important;border:0 !important;box-shadow:none !important;}
.sponsor-logo img{background:transparent !important;max-height:48px;object-fit:contain;}
.sponsor-logo:first-child img{max-height:52px;}

/* Featured match: a single uninterrupted blue gradient; no darker center panel */
.next-match-shell .next-match{
  background:linear-gradient(100deg,#0a527d 0%,#07476f 34%,#043f65 66%,#043558 100%) !important;
}
.next-match-shell .next-match:after{
  background:url('assets/pattern-dots.png') right 4% center/170px auto no-repeat !important;
  opacity:.18 !important;
}
.next-match-shell .versus-center{background:transparent !important;border:0 !important;}
.next-match-shell .versus{background:transparent !important;}
.next-match-shell .club-feature{background:transparent !important;}
.next-match-shell .club-feature img{background:rgba(255,255,255,.08)!important;}
.next-match-shell .club-feature img[src*="omega-original-transparent"],
.next-match-shell .club-feature img[src*="muchachos-original"],
.next-match-shell .club-feature img[src*="hogar-canario-original"]{
  background:transparent !important;border:0 !important;padding:0 !important;border-radius:0 !important;
}


/* ===== V9 corrections: sponsors, hero arrows, featured match ===== */
/* Sponsor band: compact and never cropped on mobile */
.sponsor-strip{height:48px!important;overflow:hidden!important;background:#fff!important;}
.sponsor-row{gap:10px!important;}
.sponsor-label{display:none!important;}
.sponsor-logos{
  gap:12px!important;justify-content:center!important;overflow-x:auto!important;overflow-y:hidden!important;
  padding:0 4px!important;scrollbar-width:none!important;
}
.sponsor-logo,.sponsor-logo.dark,.sponsor-logo.wide{
  flex:0 0 88px!important;min-width:88px!important;max-width:88px!important;height:42px!important;
  padding:3px 5px!important;background:#fff!important;overflow:visible!important;border-radius:0!important;
}
.sponsor-logo img,.sponsor-logo:first-child img{
  max-width:78px!important;max-height:28px!important;width:auto!important;height:auto!important;
  object-fit:contain!important;object-position:center!important;background:transparent!important;
}
@media(max-width:760px){
  .sponsor-strip{height:46px!important;}
  .sponsor-logos{justify-content:flex-start!important;gap:8px!important;padding:0 8px!important;}
  .sponsor-logo,.sponsor-logo.dark,.sponsor-logo.wide{flex-basis:72px!important;min-width:72px!important;max-width:72px!important;height:40px!important;padding:2px 4px!important;}
  .sponsor-logo img,.sponsor-logo:first-child img{max-width:64px!important;max-height:25px!important;}
}
/* Both hero CTAs use the exact same arrow treatment */
.hero-actions .btn b{font-family:Arial,sans-serif!important;font-size:18px!important;font-weight:500!important;line-height:1!important;}
/* Featured match: force one continuous gradient on every inner layer and no image backgrounds */
.next-match-shell .next-match,
.next-match-shell .versus,
.next-match-shell .versus-center,
.next-match-shell .club-feature,
.next-match-shell .club-feature.right{
  background:linear-gradient(105deg,#0b527d 0%,#074b74 30%,#064469 58%,#043558 100%)!important;
}
.next-match-shell .next-match:before{background:transparent!important;}
.next-match-shell .next-match:after{background:none!important;opacity:0!important;}
.next-match-shell .versus-center{border:0!important;}
.next-match-shell .club-feature img,
.next-match-shell .club-feature img[src]{
  background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;
}
/* Keep text layers above a single background */
.next-match-shell .versus>*{position:relative;z-index:1;}
/* Mi Perfil is a real link */
.profile-btn{text-decoration:none!important;}


/* Tabla de clasificación */
.standings{padding:78px 0;background:#eef2f4}.standings-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:22px}.standings-eyebrow{font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;color:#e8a91d;margin-bottom:6px}.standings-note{font-size:12px;color:#788994;text-align:right}.standings-wrap{overflow-x:auto;border-radius:18px;box-shadow:0 12px 34px rgba(0,39,61,.10);background:#fff}.standings-table{width:100%;min-width:790px;border-collapse:collapse;color:#073b59}.standings-table th{background:#073f61;color:#fff;padding:14px 10px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;text-align:center}.standings-table th:nth-child(2){text-align:left}.standings-table td{padding:11px 10px;border-bottom:1px solid #d9e1e5;text-align:center;font-weight:800}.standings-table td.team{text-align:left;display:flex;align-items:center;gap:10px;min-width:220px}.standings-table td.team img{width:34px;height:34px;object-fit:contain}.standings-table tr.top4 td:first-child,.standings-table tr.top4 td.points{background:#f2b32a;color:#073b59}.standings-table tr.zone2 td:first-child{background:#a8bbc7;color:#fff}.standings-table tr:last-child td{border-bottom:0}.standings-legend{display:flex;gap:18px;flex-wrap:wrap;margin-top:14px;font-size:12px;color:#647681}.standings-legend span{display:flex;align-items:center;gap:7px}.standings-legend i{width:14px;height:14px;border-radius:3px;display:inline-block}.standings-legend .gold{background:#f2b32a}.standings-legend .blue{background:#a8bbc7}@media(max-width:700px){.standings{padding:54px 0}.standings-head{align-items:flex-start;flex-direction:column}.standings-note{text-align:left}.standings-table th,.standings-table td{padding:10px 8px;font-size:12px}}

/* V10: visual uniformity for sponsor strip */
.sponsor-strip{height:58px!important;background:#fff!important;overflow:hidden!important}
.sponsor-logos{display:flex!important;align-items:center!important;gap:14px!important;overflow-x:auto!important;padding:5px 8px!important}
.sponsor-logo,.sponsor-logo.dark,.sponsor-logo.wide{flex:0 0 126px!important;width:126px!important;min-width:126px!important;max-width:126px!important;height:46px!important;padding:3px 8px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;border:0!important;box-shadow:none!important;overflow:hidden!important}
.sponsor-logo img,.sponsor-logo:first-child img{width:100%!important;height:100%!important;max-width:108px!important;max-height:38px!important;object-fit:contain!important;object-position:center!important;background:transparent!important}
.sponsor-bhiomed{gap:5px!important;flex-direction:row!important}
.sponsor-bhiomed img{width:29px!important;height:38px!important;max-width:29px!important;object-fit:contain!important}
.sponsor-bhiomed span{font-family:Arial,sans-serif;font-size:11px;font-weight:800;letter-spacing:.5px;color:#073d61;white-space:nowrap}
@media(max-width:700px){.sponsor-strip{height:52px!important}.sponsor-logos{gap:7px!important;padding:4px 6px!important}.sponsor-logo,.sponsor-logo.dark,.sponsor-logo.wide{flex-basis:94px!important;width:94px!important;min-width:94px!important;max-width:94px!important;height:42px!important;padding:3px 5px!important}.sponsor-logo img,.sponsor-logo:first-child img{max-width:82px!important;max-height:34px!important}.sponsor-bhiomed img{width:24px!important;max-width:24px!important;height:32px!important}.sponsor-bhiomed span{font-size:9px!important;letter-spacing:.2px!important}}

/* Final home readability adjustments */
/* Desktop header logo: keep the full crest inside the navbar without clipping */
@media(min-width:761px){
  .navbar{overflow:visible!important;}
  .brand{overflow:visible!important;align-items:center!important;}
  .brand img{position:relative!important;top:auto!important;left:auto!important;width:124px!important;height:86px!important;max-height:86px!important;object-fit:contain!important;}
}
/* Calendar + latest results: slightly larger, easier-to-read typography */
.fixture-row .mini-club,.result-row .mini-club{font-size:14px!important;}
.fixture-row .vs-mini{font-size:15px!important;}
.datebox-fixture .weekday{font-size:11px!important;}
.datebox-fixture strong{font-size:20px!important;}
.datebox-fixture .kickoff{font-size:11px!important;}
.result-row .time{font-size:10px!important;}
.result-row .score{font-size:30px!important;}
/* Featured next match: modest typography increase only */
.next-match-shell .club-feature{font-size:27px!important;}
.next-match-shell .date{font-size:19px!important;}
.next-match-shell .meta{font-size:13px!important;}
@media(max-width:760px){
  .fixture-row .mini-club,.result-row .mini-club{font-size:11px!important;}
  .datebox-fixture .weekday{font-size:10px!important;}
  .datebox-fixture strong{font-size:18px!important;}
  .datebox-fixture .kickoff{font-size:10px!important;}
  .result-row .time{font-size:9px!important;}
  .result-row .score{font-size:27px!important;}
  .next-match-shell .club-feature{font-size:16px!important;}
  .next-match-shell .date{font-size:13px!important;}
  .next-match-shell .meta{font-size:10px!important;}
}

/* V12: continuous sponsor carousel, right-to-left */
.sponsor-strip{overflow:hidden!important;}
.sponsor-row{max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important;}
.sponsor-logos{
  position:relative!important;
  width:100%!important;
  overflow:hidden!important;
  padding:5px 0!important;
  display:block!important;
  scrollbar-width:none!important;
}
.sponsor-track{
  display:flex;
  align-items:center;
  width:max-content;
  will-change:transform;
  animation:ligaSponsorMarquee 24s linear infinite;
}
.sponsor-set{
  display:flex;
  align-items:center;
  gap:14px;
  flex:0 0 auto;
  padding-right:14px;
}
@keyframes ligaSponsorMarquee{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}
@media(max-width:700px){
  .sponsor-track{animation-duration:18s;}
  .sponsor-set{gap:9px;padding-right:9px;}
}
@media(prefers-reduced-motion: reduce){
  .sponsor-track{animation:none;transform:none;}
  .sponsor-logos{overflow-x:auto!important;}
}

.hero-photo{object-position:center top!important}.home-empty{padding:28px;text-align:center;color:#758995;font-size:13px;border:1px dashed #d1dce2;border-radius:12px;background:rgba(255,255,255,.75);width:100%}.lc-cat-tabs{display:flex;gap:7px;justify-content:center;margin:0 0 18px}.lc-cat-tabs button{border:1px solid #d6e0e5;border-radius:999px;background:#fff;color:#073e63;padding:7px 14px;font-weight:800;cursor:pointer}.lc-cat-tabs button.active{background:#073e63;color:#fff}.roster-modal{position:fixed;inset:0;background:rgba(3,28,45,.78);z-index:999;display:none;align-items:center;justify-content:center;padding:18px}.roster-modal.open{display:flex}.roster-box{width:min(920px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:20px}.roster-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.roster-player{border:1px solid #dce4e9;border-radius:12px;padding:12px;display:grid;grid-template-columns:68px 1fr;gap:10px;align-items:center}.roster-player img{width:68px;height:68px;object-fit:cover;border-radius:9px;background:#eef3f6}.roster-player b{display:block;color:#073e63}.roster-player small{display:block;color:#758995;margin-top:3px}.roster-special{display:inline-block;background:#fff0c8;color:#805d00;padding:3px 6px;border-radius:999px;font-size:9px;font-weight:800;margin-top:5px}.team-card span{display:none!important}.team-card{cursor:pointer}.team-card img{max-width:100%;max-height:90px}.scorer-photo{width:48px;height:48px;object-fit:cover;border-radius:50%;background:#eef3f6}.section-note-private{font-size:11px;color:#758995}.reprogrammed-tag{font-size:8px;background:#fff1ca;color:#825f00;padding:4px 6px;border-radius:999px;font-weight:900}@media(max-width:700px){.roster-grid{grid-template-columns:1fr}.hero-photo{object-position:62% top!important}}

html:not(.lc-data-loaded) .sponsor-strip,html:not(.lc-data-loaded) .next-match-shell,html:not(.lc-data-loaded) #equipos .team-carousel,html:not(.lc-data-loaded) #calendario .match-list,html:not(.lc-data-loaded) #resultados .match-list,html:not(.lc-data-loaded) #goleadores .scorers-board,html:not(.lc-data-loaded) #clasificacion .standings-wrap,html:not(.lc-data-loaded) #galeria .gallery-strip{visibility:hidden}

.standings-table th{padding:11px 8px;font-size:11px}.standings-table td{padding:9px 8px;font-size:11px}.standings-table td.team img{width:31px;height:31px}.home-cat-chip{display:inline-flex;align-items:center;justify-content:center;background:#073e63;color:#fff;border-radius:999px;padding:3px 7px;font-size:8px;font-weight:900;letter-spacing:.05em;line-height:1;white-space:nowrap}.datebox .home-cat-chip{margin:0 auto 3px}.gallery-item{position:relative}.gallery-item .home-cat-chip{position:absolute;left:7px;top:7px;z-index:2;background:rgba(7,62,99,.92);font-size:9px;padding:5px 8px}.teams .lc-cat-tabs{margin-top:16px;margin-bottom:4px}
@media(max-width:700px){.standings{padding:42px 0}.standings-wrap{border-radius:12px}.standings-table{min-width:640px}.standings-table th{padding:8px 5px;font-size:9px}.standings-table td{padding:7px 5px;font-size:9.5px;font-weight:700}.standings-table td.team{min-width:165px;gap:6px}.standings-table td.team img{width:26px;height:26px}.standings-legend{font-size:10px;margin-top:10px}.standings-note{font-size:10px}.standings-eyebrow{font-size:10px}.standings .section-title{font-size:27px}}

/* V31: logos without containers + varied white-section graphics */
.team-card{border:0!important;background:transparent!important;padding:0!important;appearance:none;-webkit-appearance:none;box-shadow:none!important}
.team-card img{border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important}
/* White-section graphics restored to original approved treatment */
.lc-match-tabs{display:flex;gap:7px;margin:0 0 14px;justify-content:flex-start}
.lc-match-tabs button,.next-cat-tabs button{border:1px solid #d6e0e5;border-radius:999px;background:#fff;color:#073e63;padding:7px 15px;font-weight:900;cursor:pointer;font-family:Montserrat,sans-serif}
.lc-match-tabs button.active{background:#073e63;color:#fff;border-color:#073e63}
.next-cat-tabs{display:flex;justify-content:center;gap:7px;position:absolute;left:50%;top:-28px;transform:translateX(-50%);z-index:8;white-space:nowrap}
.next-cat-tabs button{background:#f2f4f5;color:#073e63;border:1px solid rgba(4,53,88,.15);box-shadow:0 5px 15px rgba(4,53,88,.12);font-family:'Barlow Condensed',sans-serif;font-size:13px;letter-spacing:.05em;text-transform:uppercase;padding:9px 16px}
.next-cat-tabs button.active{background:var(--gold);border-color:var(--gold);color:#073e63}
.next-match-shell{position:relative}
@media(max-width:760px){.next-cat-tabs{top:-25px;gap:5px}.next-cat-tabs button{font-size:11px;padding:8px 11px}.lc-match-tabs{justify-content:center}}

.roster-player-v36{align-items:start}.roster-fields-v36{display:grid;gap:3px}.roster-fields-v36 small{margin:0!important;min-height:16px}.roster-fields-v36 strong{color:#073e63}.roster-photo-empty{width:68px;height:68px;border-radius:9px;background:#f3f6f8;border:1px dashed #d7e0e5}
@media(max-width:700px){.roster-box{padding:16px}.roster-player-v36{grid-template-columns:58px 1fr}.roster-player-v36 img,.roster-photo-empty{width:58px;height:58px}}

.global-category-bar{background:#fff;border-bottom:1px solid #e3e9ec;position:relative;z-index:29}
.global-category-inner{width:min(1180px,calc(100% - 44px));margin:auto;display:flex;justify-content:center;align-items:center;gap:8px;padding:9px 0}
.global-category-label{font:800 11px/1 Montserrat,sans-serif;text-transform:uppercase;color:#758995;margin-right:5px}
.global-category-btn{border:1px solid #cfdbe1;border-radius:999px;background:#fff;color:#073e63;font-weight:900;padding:8px 18px;cursor:pointer;min-width:72px}
.global-category-btn.active{background:#073e63;color:#fff;border-color:#073e63;box-shadow:0 3px 10px rgba(7,62,99,.18)}
/* Section-level category tabs are controlled by the global selector and hidden from users */
.lc-cat-tabs,.lc-match-tabs,.next-cat-tabs{display:none!important}
@media(max-width:760px){
  .global-category-inner{width:100%;padding:8px 14px}
  .global-category-label{font-size:9px}
  .global-category-btn{padding:8px 16px;min-width:68px}
}

.global-category-bar{display:none!important}
.global-cat-top{display:flex;gap:5px;align-items:center;margin-left:auto;margin-right:8px;flex:0 0 auto}
.global-cat-top .global-category-btn{padding:7px 12px;min-width:54px;font-size:12px}
@media(max-width:900px){
  .global-cat-top{order:2;margin-left:auto;margin-right:6px}
  .global-cat-top .global-category-btn{padding:7px 10px;min-width:48px}
  .pre-cta{display:none!important}
}

/* Pre-inscripción vuelve a ocupar el extremo superior derecho del menú */
.navrow{position:relative}
.pre-cta{margin-left:auto!important;flex:0 0 auto}
.global-cat-top{display:none!important}

/* Selector único global debajo del menú */
.category-selector-strip{
  position:relative;
  z-index:28;
  background:#fff;
  border-top:1px solid rgba(7,62,99,.06);
  border-bottom:1px solid #dfe7eb;
  box-shadow:0 5px 16px rgba(7,62,99,.06);
}
.category-selector-inner{
  width:min(1180px,calc(100% - 44px));
  min-height:66px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
}
.category-selector-title{
  color:#718693;
  font:800 10px/1 Montserrat,sans-serif;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.category-selector-buttons{
  display:flex;
  align-items:center;
  gap:8px;
  padding:5px;
  background:#f1f5f7;
  border:1px solid #e0e8ec;
  border-radius:999px;
}
.category-selector-buttons .global-category-btn{
  min-width:82px;
  height:39px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#0a4669;
  font:900 20px/1 'Barlow Condensed','Roboto Condensed',sans-serif;
  cursor:pointer;
  transition:.2s ease;
  box-shadow:none;
}
.category-selector-buttons .global-category-btn.active{
  background:#073e63;
  color:#fff;
  box-shadow:0 5px 13px rgba(7,62,99,.22);
}
.category-selector-buttons .global-category-btn:not(.active):hover{
  background:#fff;
}

/* La viñeta amarilla aprobada vuelve al bloque de Próximo partido */
.next-match-shell{overflow:visible!important}
.next-top-pill{
  position:absolute;
  z-index:12;
  left:50%;
  top:-24px;
  transform:translateX(-50%);
  min-width:245px;
  min-height:49px;
  padding:0 28px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#f4bf40,#efaa20);
  color:#073e63;
  box-shadow:0 7px 18px rgba(7,45,70,.18);
  font:900 18px/1 'Barlow Condensed','Roboto Condensed',sans-serif;
  text-transform:uppercase;
  letter-spacing:.045em;
  white-space:nowrap;
}
.next-top-pill:after{
  content:"";
  position:absolute;
  inset:auto 24px -4px;
  height:4px;
  border-radius:999px;
  background:rgba(255,255,255,.28);
}

/* No vuelven a aparecer tabs internas por sección */
.next-cat-tabs,.lc-cat-tabs,.lc-match-tabs{display:none!important}

@media(max-width:900px){
  .category-selector-inner{min-height:58px;gap:12px}
  .category-selector-title{font-size:8px}
  .category-selector-buttons .global-category-btn{min-width:68px;height:36px;font-size:18px}

  /* El CTA se mantiene en el header sin desplazar el hamburguesa */
  .pre-cta{
    display:flex!important;
    min-width:0!important;
    min-height:44px!important;
    padding:0 9px 0 11px!important;
    margin-left:auto!important;
  }
  .pre-cta-copy small{display:none}
  .pre-cta-copy strong{font-size:11px!important}
  .pre-cta-copy span{font-size:9px!important}
  .pre-cta-icon{width:25px!important;height:25px!important;margin-left:7px}
  .hamb{margin-left:5px}
}
@media(max-width:600px){
  .category-selector-inner{
    width:100%;
    min-height:58px;
    padding:7px 14px;
    justify-content:space-between;
  }
  .category-selector-title{max-width:120px;line-height:1.25}
  .category-selector-buttons{padding:4px}
  .category-selector-buttons .global-category-btn{min-width:64px;height:34px;font-size:17px}
  .next-top-pill{
    top:-20px;
    min-width:190px;
    min-height:42px;
    padding:0 22px;
    font-size:15px;
    border-radius:12px;
  }
  .pre-cta-copy strong{font-size:10px!important}
  .pre-cta-copy span{font-size:8px!important}
}

.result-row[data-result-match]{cursor:pointer}.result-row[data-result-match]:hover{background:#f7fafb}
.match-detail-score{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid #e2e8eb}
.match-detail-team{text-align:center;color:#073e63;font-weight:900}.match-detail-team img{width:64px;height:64px;object-fit:contain;display:block;margin:0 auto 7px}.match-detail-score strong{font:900 34px/1 'Barlow Condensed';color:#073e63}
.match-detail-list{margin-top:16px}.match-detail-list h4{color:#073e63;margin:12px 0 8px}.match-detail-line{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #edf1f3;font-size:12px;color:#637681}.match-detail-line b{color:#073e63}

/* Selector global +40/+45: limpio, centrado y sin recortes debajo del menú */
.category-selector-strip{
  overflow:visible!important;
  position:relative!important;
  z-index:26!important;
}
.category-selector-inner{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:10px 18px!important;
  min-height:68px!important;
  overflow:visible!important;
}
.category-selector-title{
  flex:0 0 auto!important;
  max-width:150px!important;
  font-size:13px!important;
  line-height:1.15!important;
}
.category-selector-buttons{
  flex:0 0 auto!important;
  display:flex!important;
  gap:8px!important;
  overflow:visible!important;
}
.category-selector-buttons .global-category-btn{
  min-width:78px!important;
  height:42px!important;
  padding:0 18px!important;
  font-size:20px!important;
  line-height:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
@media(max-width:760px){
  .category-selector-inner{
    width:100%!important;
    padding:10px 16px!important;
  }
  .category-selector-title{
    max-width:135px!important;
    font-size:12px!important;
  }
  .category-selector-buttons .global-category-btn{
    min-width:72px!important;
    height:40px!important;
    padding:0 15px!important;
    font-size:19px!important;
  }
}
/* Evitar que el hamburguesa tape el botón +45 */
@media(max-width:900px){
  .hamb{position:relative!important;z-index:30!important;flex:0 0 auto!important}
  .category-selector-strip{padding-right:0!important}
}

/* Franja de categoría: texto a la izquierda, selector realmente centrado */
.category-selector-strip{
  position:relative!important;
  z-index:26!important;
  overflow:visible!important;
  background:#fff!important;
}
.category-selector-inner{
  position:relative!important;
  width:min(1180px,calc(100% - 44px))!important;
  min-height:68px!important;
  margin:0 auto!important;
  padding:10px 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  overflow:visible!important;
}
.category-selector-title{
  position:relative!important;
  z-index:2!important;
  flex:0 0 auto!important;
  max-width:160px!important;
  font-size:13px!important;
  line-height:1.15!important;
}
.category-selector-buttons{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:5px!important;
  margin:0!important;
  background:#f1f5f7!important;
  border:1px solid #e0e8ec!important;
  border-radius:999px!important;
  overflow:visible!important;
}
.category-selector-buttons .global-category-btn{
  min-width:78px!important;
  height:42px!important;
  padding:0 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  font-size:20px!important;
  line-height:1!important;
}

/* Mobile header: brand + preinscripción + hamburguesa en UNA sola fila */
@media(max-width:760px){
  .navbar{height:78px!important}
  .navrow{
    display:grid!important;
    grid-template-columns:minmax(105px,1fr) auto auto!important;
    align-items:center!important;
    gap:6px!important;
  }
  .brand{
    grid-column:1!important;
    min-width:0!important;
  }
  .pre-cta{
    grid-column:2!important;
    display:flex!important;
    margin:0!important;
    min-width:0!important;
    min-height:42px!important;
    padding:0 8px 0 10px!important;
  }
  .hamb{
    grid-column:3!important;
    display:block!important;
    justify-self:end!important;
    margin:0!important;
    position:relative!important;
    z-index:31!important;
  }
  .profile-btn{display:none!important}

  .category-selector-inner{
    width:100%!important;
    min-height:60px!important;
    padding:8px 14px!important;
  }
  .category-selector-title{
    max-width:118px!important;
    font-size:11px!important;
    line-height:1.2!important;
  }
  .category-selector-buttons{
    gap:5px!important;
    padding:4px!important;
  }
  .category-selector-buttons .global-category-btn{
    min-width:58px!important;
    height:34px!important;
    padding:0 10px!important;
    font-size:17px!important;
  }
}
@media(max-width:390px){
  .category-selector-title{
    max-width:100px!important;
    font-size:10px!important;
  }
  .category-selector-buttons .global-category-btn{
    min-width:54px!important;
    height:32px!important;
    font-size:16px!important;
  }
}

/* Escritorio: texto + selector juntos y centrados */
@media(min-width:761px){
  .category-selector-inner{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:18px!important;
    width:min(1180px,calc(100% - 44px))!important;
    margin:0 auto!important;
    padding:10px 18px!important;
  }
  .category-selector-title{
    position:static!important;
    max-width:none!important;
    white-space:nowrap!important;
    font-size:12px!important;
    line-height:1!important;
    margin:0!important;
  }
  .category-selector-buttons{
    position:static!important;
    transform:none!important;
    margin:0!important;
  }
}

/* Móvil: conserva texto a la izquierda y botones compactos centrados en su zona */
@media(max-width:760px){
  .category-selector-inner{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
  }
  .category-selector-title{
    position:static!important;
    max-width:118px!important;
    white-space:normal!important;
  }
  .category-selector-buttons{
    position:static!important;
    transform:none!important;
    margin:0 auto!important;
  }
  .category-selector-buttons .global-category-btn{
    min-width:56px!important;
    height:32px!important;
    padding:0 9px!important;
    font-size:16px!important;
  }
}

/* Próximo partido: VS más pequeño y con separación de la viñeta */
.next-match .versus-center{
  padding-top:18px!important;
}
.next-match .vs{
  font-size:28px!important;
  line-height:1!important;
  margin-top:4px!important;
}
@media(max-width:760px){
  .next-match .versus-center{padding-top:14px!important}
  .next-match .vs{font-size:24px!important}
}

/* Próximo partido: un solo fondo continuo, sin bloques por columna */
.next-match-shell .next-match{
  min-height:182px!important;
  background:linear-gradient(105deg,#0b527d 0%,#084a72 45%,#043558 100%)!important;
  border:2px solid rgba(225,171,55,.72)!important;
  overflow:hidden!important;
}
.next-match-shell .next-match:before,
.next-match-shell .next-match:after{
  background:none!important;
  opacity:0!important;
}
.next-match-shell .versus,
.next-match-shell .versus-center,
.next-match-shell .club-feature,
.next-match-shell .club-feature.right{
  background:transparent!important;
}
.next-match-shell .versus{
  min-height:182px!important;
  grid-template-columns:1fr 230px 1fr!important;
}
.next-match-shell .versus-center{
  min-width:0!important;
  padding:34px 8px 32px!important;
  overflow:visible!important;
  justify-content:center!important;
}
.next-match-shell .vs{
  width:56px!important;
  height:56px!important;
  margin:0 auto 4px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:50%!important;
  font-size:28px!important;
  line-height:1!important;
}
.next-match-shell .date{margin-top:2px!important}
.next-match-shell .meta{
  margin-top:7px!important;
  line-height:1.45!important;
  white-space:normal!important;
  overflow:visible!important;
}
.next-calendar-pill{
  bottom:-22px!important;
  z-index:20!important;
}

@media(max-width:760px){
  .next-match-shell .next-match{min-height:188px!important}
  .next-match-shell .versus{
    min-height:188px!important;
    grid-template-columns:minmax(0,1fr) 136px minmax(0,1fr)!important;
  }
  .next-match-shell .club-feature{
    padding:12px 4px 24px!important;
    font-size:16px!important;
  }
  .next-match-shell .club-feature img{
    width:58px!important;
    height:58px!important;
  }
  .next-match-shell .versus-center{
    padding:38px 3px 36px!important;
  }
  .next-match-shell .vs{
    width:52px!important;
    height:52px!important;
    font-size:25px!important;
    margin-bottom:5px!important;
  }
  .next-match-shell .date{
    font-size:13px!important;
    line-height:1.12!important;
  }
  .next-match-shell .meta{
    font-size:10px!important;
    line-height:1.35!important;
    margin-top:6px!important;
  }
  .next-calendar-pill{bottom:-20px!important}
}

@media(max-width:390px){
  .next-match-shell .versus{
    grid-template-columns:minmax(0,1fr) 128px minmax(0,1fr)!important;
  }
  .next-match-shell .club-feature{font-size:15px!important}
  .next-match-shell .club-feature img{
    width:54px!important;
    height:54px!important;
  }
  .next-match-shell .meta{font-size:9.5px!important}
}

@media(max-width:760px){
  /* El botón resaltado de Mi perfil DEBE existir dentro del menú hamburguesa */
  .navlinks .profile-btn,
  .mobile-menu .profile-btn,
  nav .profile-btn{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-height:50px!important;
    margin:8px 0 0!important;
    padding:0 16px!important;
    border:1px solid #d8e1e6!important;
    background:#fff!important;
    color:#073e63!important;
    font-weight:900!important;
    text-transform:uppercase!important;
  }

  /* Si existe una versión de escritorio fuera del menú desplegable, no duplicarla */
  .navrow > .profile-btn{
    display:none!important;
  }
}

/* Mobile profile item is independent from desktop profile CTA */
.mobile-profile-link{display:none!important}

@media(max-width:760px){
  /* Desktop profile CTA must not render in mobile header */
  .navrow > .profile-btn,
  .profile-btn.desktop-profile,
  .desktop-profile-btn{
    display:none!important;
  }

  /* Dedicated item inside hamburger menu */
  .mobile-profile-link{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:12px!important;
    width:100%!important;
    min-height:58px!important;
    padding:0 18px!important;
    margin-top:8px!important;
    text-decoration:none!important;
    color:#073e63!important;
    background:#fff!important;
    border:0!important;
    box-shadow:none!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.02em!important;
  }

  .mobile-profile-dot{
    width:18px!important;
    height:18px!important;
    flex:0 0 18px!important;
    border-radius:50%!important;
    background:#efb228!important;
    box-shadow:0 0 0 3px rgba(239,178,40,.16)!important;
  }

  .mobile-profile-text{
    display:block!important;
    text-align:center!important;
    font-size:16px!important;
    line-height:1!important;
  }
}

/* Desktop: never show the mobile hamburger-specific profile item */
@media(min-width:761px){
  .mobile-profile-link{display:none!important}
}

@media(max-width:760px){
  .mobile-profile-link{
    width:calc(100% - 84px)!important;
    max-width:360px!important;
    min-height:64px!important;
    margin:22px auto 10px!important;
    padding:0 22px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:14px!important;
    border:1.5px solid #d9e0e4!important;
    border-radius:2px!important;
    background:#fff!important;
    box-sizing:border-box!important;
    text-decoration:none!important;
  }
  .mobile-profile-dot{
    width:18px!important;
    height:18px!important;
    flex:0 0 18px!important;
    border-radius:50%!important;
    background:#efb228!important;
    box-shadow:0 0 0 4px rgba(239,178,40,.16)!important;
  }
  .mobile-profile-text{
    color:#073e63!important;
    font-weight:900!important;
    text-align:center!important;
    line-height:1!important;
  }
}

@media(max-width:760px){
  .mobile-profile-link{
    width:calc(100% - 86px)!important;
    max-width:none!important;
    min-height:50px!important;
    margin:18px 43px 8px!important;
    padding:0 16px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    border:1px solid #d7e0e5!important;
    border-radius:1px!important;
    background:#fff!important;
    box-sizing:border-box!important;
    text-decoration:none!important;
  }

  .mobile-profile-dot{
    width:14px!important;
    height:14px!important;
    flex:0 0 14px!important;
    border-radius:50%!important;
    background:#efb228!important;
    box-shadow:0 0 0 3px rgba(239,178,40,.13)!important;
  }

  .mobile-profile-text{
    color:#073e63!important;
    font-size:13px!important;
    line-height:1!important;
    font-weight:900!important;
    letter-spacing:.015em!important;
    text-align:center!important;
  }
}

@media(max-width:760px){
  .mobile-profile-link{
    /* mismo eje izquierdo visual que los enlaces del menú */
    width:calc(100% - 48px)!important;
    max-width:none!important;
    min-height:48px!important;
    margin:18px 24px 8px!important;
    padding:0 22px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    border:1px solid #d7e0e5!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }
  .mobile-profile-dot{
    width:13px!important;
    height:13px!important;
    flex:0 0 13px!important;
  }
  .mobile-profile-text{
    font-size:13px!important;
    line-height:1!important;
    font-weight:900!important;
    text-align:left!important;
    white-space:nowrap!important;
  }
}

@media(max-width:760px){
  .navlinks.mobile-open .mobile-profile-link{
    width:100%!important;
    max-width:none!important;
    min-height:48px!important;
    margin:18px 0 8px!important;
    padding:0 18px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    box-sizing:border-box!important;
    border:1px solid #d7e0e5!important;
    background:#fff!important;
  }
  .navlinks.mobile-open .mobile-profile-dot{
    width:13px!important;
    height:13px!important;
    flex:0 0 13px!important;
  }
  .navlinks.mobile-open .mobile-profile-text{
    font-size:13px!important;
    line-height:1!important;
    font-weight:900!important;
    text-align:center!important;
    white-space:nowrap!important;
  }
}

.calendar-modal-v64{position:fixed;inset:0;z-index:1200;background:rgba(3,28,45,.78);display:none;align-items:center;justify-content:center;padding:18px}
.calendar-modal-v64.open{display:flex}
.calendar-modal-box-v64{position:relative;width:min(920px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:24px}
.calendar-modal-close-v64{position:absolute;right:14px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:#eef3f6;color:#073e63;font-size:24px;cursor:pointer}
.calendar-modal-kicker-v64{font:900 11px/1 Montserrat,sans-serif;letter-spacing:.08em;color:#e5a920;text-transform:uppercase;margin-bottom:6px}
.calendar-modal-box-v64 h2{margin:0 45px 18px 0;color:#073e63;font:900 32px/1 "Barlow Condensed",sans-serif;text-transform:uppercase}
.calendar-round-v64{margin:0 0 20px;border:1px solid #dce5ea;border-radius:12px;overflow:hidden}
.calendar-round-title-v64{padding:10px 14px;background:#073e63;color:#fff;font:900 15px/1.2 "Barlow Condensed",sans-serif;text-transform:uppercase}
.calendar-round-v64 .fixture-row{border-bottom:1px solid #edf1f3}
.calendar-round-v64 .fixture-row:last-child{border-bottom:0}
@media(max-width:700px){
  .calendar-modal-v64{padding:10px}
  .calendar-modal-box-v64{padding:18px 12px;border-radius:13px}
  .calendar-modal-box-v64 h2{font-size:27px}
  .calendar-round-v64 .fixture-row{grid-template-columns:58px 1fr 28px 1fr!important}
}

.calendar-fixture-v66{
  border-bottom:1px solid #edf1f3;
  background:#fff;
}
.calendar-fixture-v66:last-child{border-bottom:0}
.calendar-fixture-v66 .fixture-row{border-bottom:0!important}
.calendar-venue-v66{
  padding:0 14px 10px 84px;
  color:#6f7f89;
  font:600 11px/1.35 Montserrat,sans-serif;
  letter-spacing:.01em;
}
@media(max-width:700px){
  .calendar-venue-v66{
    padding:0 10px 9px 68px;
    font-size:10px;
    line-height:1.35;
  }
}

/* V93 · Banner más corto y Próximo partido apenas montado sobre el borde inferior. */

.hero{
  position:relative!important;
  overflow:visible!important;
}

.next-match-shell{
  position:absolute!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  margin-top:0!important;
  z-index:10!important;
}

/* Escritorio */
@media (min-width:761px){
  .hero{
    height:390px!important;
    min-height:390px!important;
    max-height:390px!important;
    overflow:visible!important;
  }
  .hero .wrap{
    height:100%!important;
    min-height:0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    transform:translateY(2px)!important;
  }

  /* Solo una superposición leve */
  .next-match-shell{
    bottom:-146px!important;
  }
}

/* Móvil / tablet */
@media (max-width:760px){
  .hero{
    height:500px!important;
    min-height:500px!important;
    max-height:500px!important;
    overflow:visible!important;
  }
  .hero .wrap{
    height:100%!important;
    min-height:0!important;
    padding:0 24px 78px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    transform:translateY(2px)!important;
    box-sizing:border-box!important;
  }

  .next-match-shell{
    bottom:-142px!important;
  }
}

/* Teléfonos estrechos */
@media (max-width:480px){
  .hero{
    height:480px!important;
    min-height:480px!important;
    max-height:480px!important;
  }
  .hero .wrap{
    height:100%!important;
    min-height:0!important;
    padding:0 24px 80px!important;
    justify-content:center!important;
    transform:translateY(0)!important;
    box-sizing:border-box!important;
  }
  .next-match-shell{
    bottom:-138px!important;
  }
}

/* V96 · Margen prudencial entre Próximo partido y Equipos participantes */
.teams{
  padding-top:190px!important;
}

@media (max-width:980px){
  .teams{
    padding-top:180px!important;
  }
}

@media (max-width:760px){
  .teams{
    padding-top:170px!important;
  }
}

@media (max-width:480px){
  .teams{
    padding-top:165px!important;
  }
}

/* V98 · Un poco más de aire antes de Equipos participantes */
.teams{
  padding-top:205px!important;
}

@media (max-width:980px){
  .teams{
    padding-top:195px!important;
  }
}

@media (max-width:760px){
  .teams{
    padding-top:188px!important;
  }
}

@media (max-width:480px){
  .teams{
    padding-top:182px!important;
  }
}

/* V100
   1) Escritorio: Próximo partido baja para no invadir los botones del banner.
   2) Equipos participantes: más aire después del bloque Próximo partido.
   3) Móvil conserva la posición aprobada del bloque Próximo partido. */

/* SOLO escritorio */
@media (min-width:761px){
  .next-match-shell{
    bottom:-182px!important;
  }
  .teams{
    padding-top:250px!important;
  }
}

/* Tablet/móvil: NO modificar posición de Próximo partido;
   únicamente aumentar separación antes de Equipos participantes. */
@media (max-width:760px){
  .teams{
    padding-top:215px!important;
  }
}

@media (max-width:480px){
  .teams{
    padding-top:208px!important;
  }
}

#resultDetailModalV46{
  z-index:1400!important;
}
#resultDetailModalV46 .roster-box{
  max-height:calc(100vh - 32px);
  overflow:auto;
}

.match-detail-section-v111{margin-top:18px}
.match-detail-section-v111>h4{margin:0 0 8px}
.match-detail-split-v111{
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid #e3e9ed;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}
.match-detail-team-side-v111{
  min-width:0;
  padding:10px 12px;
}
.match-detail-team-side-v111+.match-detail-team-side-v111{
  border-left:1px solid #dbe3e8;
}
.match-detail-team-side-title-v111{
  margin-bottom:6px;
  color:#0a486f;
  font:900 10px/1.25 Montserrat,sans-serif;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.match-detail-team-side-v111 .match-detail-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:7px 0;
  border-bottom:1px solid #edf1f3;
}
.match-detail-team-side-v111 .match-detail-line:last-child{border-bottom:0}
.match-detail-team-side-v111 .match-detail-line b{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
.match-detail-team-side-v111 .match-detail-line span{
  flex:0 0 auto;
  white-space:nowrap;
}
.match-detail-side-empty-v111{
  padding:8px 0;
  color:#8799a3;
  font-size:10px;
}
@media(max-width:520px){
  .match-detail-team-side-v111{padding:9px 8px}
  .match-detail-team-side-title-v111{font-size:9px}
  .match-detail-team-side-v111 .match-detail-line{
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
  }
}

#fullGalleryModalV121{position:fixed;inset:0;z-index:10020;background:rgba(3,31,49,.82);display:none;align-items:center;justify-content:center;padding:18px}
#fullGalleryModalV121.open{display:flex}
.full-gallery-box-v121{background:#fff;width:min(1100px,100%);max-height:90vh;border-radius:24px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 24px 70px rgba(0,0,0,.28)}
.full-gallery-head-v121{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid #e6edf1}
.full-gallery-head-v121 h2{margin:0;color:#073e63;font-size:clamp(25px,4vw,42px);line-height:1}
.full-gallery-close-v121{border:0;border-radius:50%;width:48px;height:48px;background:#eef3f5;color:#073e63;font-size:28px;cursor:pointer;flex:0 0 auto}
.full-gallery-grid-v121{padding:24px;overflow-y:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;align-items:start}
.full-gallery-item-v121{box-sizing:border-box;border:1px solid #dfe7eb;padding:10px;margin:0;background:#fff;border-radius:14px;overflow:hidden;aspect-ratio:4/3;cursor:pointer;display:flex;align-items:center;justify-content:center;min-width:0}
.full-gallery-item-v121 img{box-sizing:border-box;width:100%;height:100%;object-fit:cover;display:block;border-radius:9px;background:#eef2f4}
.full-gallery-empty-v121{grid-column:1/-1;padding:45px 20px;text-align:center;color:#758995}
@media(max-width:980px){.full-gallery-grid-v121{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}@media(max-width:760px){.full-gallery-grid-v121{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px}.full-gallery-head-v121{padding:17px}.full-gallery-box-v121{max-height:92vh;border-radius:20px}}

/* V126: fixed independent Finder-style thumbnails. Each item owns its grid cell. */
.full-gallery-grid-v121{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))!important;gap:18px 16px!important;align-items:start!important;align-content:start!important;padding:22px!important}
.full-gallery-item-v121{width:100%!important;height:112px!important;aspect-ratio:auto!important;padding:8px!important;margin:0!important;border:1px solid #dfe7eb!important;border-radius:10px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;position:relative!important;min-width:0!important;min-height:0!important}
.full-gallery-item-v121 img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;border-radius:5px!important;background:#f4f7f8!important;position:static!important;margin:0!important}
.full-gallery-item-v121.is-broken{display:none!important}
@media(max-width:760px){.full-gallery-grid-v121{grid-template-columns:repeat(auto-fill,minmax(86px,1fr))!important;gap:14px 12px!important;padding:14px!important}.full-gallery-item-v121{height:96px!important;padding:6px!important}}
