
:root{--navy:#061b3a;--navy2:#092b57;--blue:#0d8cff;--cyan:#10d1df;--red:#ff405c;--ink:#071a38;--muted:#7890ad;--bg:#f4f8fc}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:var(--bg)}a{text-decoration:none;color:inherit}
.wrap{max-width:1540px;margin:auto;padding:0 38px}.top{height:88px;background:#fff;display:flex;align-items:center;position:sticky;top:0;z-index:30;border-bottom:1px solid #e8eef6}.top .wrap{width:100%;display:flex;align-items:center}.logo{width:235px}.nav{display:flex;gap:40px;margin-left:60px;font-weight:800}.nav a:first-child{color:#087fff}.search{margin-left:auto;width:48px;height:48px;border-radius:16px;background:#f1f6fb;display:grid;place-items:center;font-size:21px}
.ticker{background:#061d40;color:#fff}.ticker .wrap{height:76px;display:flex;align-items:center;gap:22px}.live-now{font-weight:900;white-space:nowrap}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--red);box-shadow:0 0 0 7px #ff405c20;margin-right:10px}.tick{height:54px;padding:9px 18px;border-left:1px solid #274567;min-width:280px}.tick.active{border:1px solid #285a88;border-radius:12px;background:#0c315f}.flagmini{width:25px;height:17px;object-fit:cover;border-radius:3px;vertical-align:middle;margin-right:8px}.tick strong{font-size:17px}.tick small{display:block;color:#8fb0d4;margin-top:5px}.all{margin-left:auto;color:#16d7e9;font-weight:900;white-space:nowrap}
.hero{background:radial-gradient(circle at 48% 15%,#114982 0,#082c59 30%,#061b3a 72%);color:#fff;padding:58px 0 64px;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:48px 48px}.hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,2fr) minmax(360px,.9fr);gap:28px}
.score{border:1px solid #21629a;border-radius:28px;padding:32px;background:linear-gradient(145deg,#0b315e,#092650);box-shadow:0 28px 70px #00102e55}.scoretop{display:flex;justify-content:space-between;color:#26d4e6;font-weight:900;letter-spacing:1px}.teams{display:grid;grid-template-columns:1fr 110px 1fr;align-items:center;text-align:center;margin:22px 0}.teamflag{width:116px;height:76px;object-fit:cover;border-radius:14px;box-shadow:0 12px 30px #0005;border:2px solid #ffffff20}.team h4{margin:10px 0 5px;color:#a9c8ea}.bigscore{font-size:58px;font-weight:900;letter-spacing:-2px}.versus{font-weight:900;color:#7fa4cc}.livepill{display:block;width:max-content;margin:12px auto;background:var(--red);padding:8px 14px;border-radius:20px;font-size:12px}.situation{padding:19px;border:1px solid #2a5787;background:#123b6b;border-radius:18px;text-align:center;font-size:20px;font-weight:900}.situation small{display:block;font-size:13px;color:#86acd2;margin-top:7px;font-weight:500}.players{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.player{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid #255382;border-radius:17px;background:#07264d}.portrait{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:20px;background:linear-gradient(145deg,#0a7bd3,#14d1df);border:3px solid #ffffff14;box-shadow:0 8px 25px #00bde733}.player small{color:#789fc6;font-size:10px;font-weight:800}.player b{display:block;margin:4px 0}.player span{color:#24d7e7}.recent{display:flex;align-items:center;gap:10px;margin-top:16px}.balls{margin-left:auto;display:flex;gap:9px}.ball{width:36px;height:36px;border-radius:50%;background:#123f70;display:grid;place-items:center;font-weight:900}.ball.four{background:#158cff}.ball.six{background:#7547ed}.cta{display:block;text-align:center;margin-top:15px;padding:16px;border-radius:15px;background:linear-gradient(90deg,#118bff,#10d2df);font-weight:900}
.sidecard{background:#fff;color:var(--ink);border-radius:25px;padding:27px;margin-bottom:20px}.eyebrow{color:#0a89ef;font-weight:900;font-size:12px;letter-spacing:2px}.sidecard h2{font-size:28px;margin:9px 0 16px}.fixture{display:flex;align-items:center;gap:9px;border-top:1px solid #e3ebf4;padding:17px 0}.fixture img{width:27px;height:18px;object-fit:cover;border-radius:3px}.fixture .time{margin-left:auto;color:#8397b1;font-size:12px}.trend{border-top:1px solid #e4ebf3;padding:14px 0;font-weight:800}.trend span{color:#ccd8e6;font-size:22px;margin-right:14px}
.section{padding:70px 0}.headingrow{display:flex;align-items:end;justify-content:space-between}.section h2{font-size:38px;margin:8px 0}.sub{color:#7185a1}.filters{display:flex;gap:10px}.filter{padding:12px 19px;border:1px solid #d9e3ee;border-radius:14px;background:#fff;font-weight:800}.filter.on{background:#061d40;color:#fff}.matchcards,.seriescards,.statcards{display:grid;gap:18px;margin-top:28px}.matchcards{grid-template-columns:repeat(4,1fr)}.matchcard{background:#fff;border:1px solid #dbe5ef;border-radius:21px;padding:21px;min-height:205px}.matchcard.live{border-top:4px solid var(--red)}.matchteams{font-size:20px;font-weight:900;line-height:2}.matchteams img{width:28px;height:18px;object-fit:cover;margin-right:10px;vertical-align:middle;border-radius:3px}.seriessec,.statsec{background:#061d40;color:#fff}.seriescards{grid-template-columns:repeat(5,1fr)}.seriescard{min-height:235px;border:1px solid #235888;border-radius:24px;padding:25px;background:linear-gradient(145deg,#0e3a70,#092b56);position:relative;overflow:hidden}.seriescard:after{content:"";position:absolute;width:160px;height:160px;border:1px solid #1e6096;border-radius:50%;right:-70px;bottom:-70px}.seriesicon{width:56px;height:56px;border-radius:16px;background:linear-gradient(145deg,#0c8eff,#11d5df);display:grid;place-items:center;font-size:25px}.seriescard h3{font-size:23px;margin:25px 0 8px}.seriescard p{color:#8db3db}.seriescard a{color:#19d8e9;font-weight:900;font-size:13px}
.statsplit{display:grid;grid-template-columns:1.7fr 1fr;gap:25px}.whitecard{background:#fff;border:1px solid #dce6ef;border-radius:26px;padding:28px}.table{width:100%;border-collapse:collapse}.table td,.table th{padding:16px 10px;border-bottom:1px solid #e3ebf3;text-align:left}.table th{font-size:11px;color:#8da0b6}.badge{background:#eaf4ff;color:#0785ec;padding:8px;border-radius:10px;font-weight:900}.performer{display:flex;align-items:center;gap:13px;padding:16px 0;border-top:1px solid #e5ecf3}.performer .portrait{width:48px;height:48px;color:#fff}.performer .num{color:#cad6e2;font-size:22px;font-weight:900}.perfscore{margin-left:auto;font-size:21px;font-weight:900}
.statcards{grid-template-columns:repeat(4,1fr)}.statcard{border:1px solid #235888;border-radius:24px;padding:28px;background:linear-gradient(145deg,#0e3a70,#092b56);min-height:245px}.statcard h3{font-size:28px;margin:18px 0}.statcard p{color:#9bbce0;font-size:18px;line-height:1.5}.latestgrid{display:grid;grid-template-columns:2fr 1fr;gap:22px;margin-top:28px}.feature{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid #dce6ef;border-radius:25px;overflow:hidden}.featureart{min-height:330px;background:radial-gradient(circle at 75% 20%,#0d78ae,#082752 55%);display:grid;place-items:center;color:#168eff;font-size:48px;font-weight:900}.featuretext{padding:38px}.featuretext h3{font-size:30px}.story{background:#fff;border:1px solid #dce6ef;border-radius:20px;padding:25px;margin-bottom:15px}.footer{padding:45px 0 110px;border-top:1px solid #dbe4ee}.bottomnav{display:none}
@media(max-width:760px){
body{padding-bottom:74px}.wrap{padding:0 20px}.top{height:96px;position:relative}.logo{width:205px}.nav{display:none}.search{width:54px;height:54px}.ticker .wrap{overflow-x:auto;padding-right:0}.ticker .wrap::-webkit-scrollbar{display:none}.live-now,.all{display:none}.tick{min-width:270px}.hero{padding:28px 0 36px}.hero-grid{display:block}.hero-side{margin-top:22px}.score{padding:20px 16px;border-radius:25px}.scoretop{font-size:13px}.teams{grid-template-columns:1fr 60px 1fr;margin:18px 0}.teamflag{width:86px;height:57px}.bigscore{font-size:42px}.players{grid-template-columns:1fr 1fr}.player:nth-child(3){grid-column:1/-1}.player{padding:11px}.portrait{width:52px;height:52px}.situation{font-size:17px}.balls{gap:6px}.ball{width:32px;height:32px}.sidecard{padding:21px}.section{padding:50px 0}.section h2{font-size:34px}.headingrow{display:block}.filters{overflow-x:auto;margin-top:20px}.matchcards,.seriescards{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px}.matchcard{min-width:88%;scroll-snap-align:start}.seriescard{min-width:82%;scroll-snap-align:start}.statsplit{display:block}.whitecard{padding:20px;margin-bottom:18px;overflow:hidden}.table td,.table th{padding:14px 5px;font-size:13px}.statcards{grid-template-columns:1fr 1fr;gap:12px}.statcard{min-height:210px;padding:20px 16px}.statcard h3{font-size:21px}.statcard p{font-size:14px}.latestgrid{display:block}.feature{display:block}.featureart{min-height:240px;font-size:37px}.featuretext{padding:26px}.featuretext h3{font-size:25px}.story{margin-top:14px}.bottomnav{position:fixed;z-index:50;display:grid;grid-template-columns:repeat(5,1fr);bottom:0;left:0;right:0;height:74px;background:#fff;border-top:1px solid #dce5ef}.bottomnav a{display:grid;place-items:center;font-size:11px;color:#778ba4;font-weight:800}.bottomnav a:first-child{color:#0989ed}.footer{padding-bottom:40px}
}



/* CRICLIO CLEAN FINAL — ONE CONSOLIDATED OVERRIDE LAYER */
html{scroll-behavior:smooth}
#live,#matches,#series,#teams,#rankings,#stats,#news{scroll-margin-top:92px}

/* Header + locked original logo */
.top{height:78px}
.top .wrap{height:100%}
.top .logo{width:220px!important;height:62px!important;max-width:220px!important;object-fit:contain!important;object-position:left center!important}
.nav a{font-weight:800}

/* Compact frozen hero */
.hero{padding:12px 0 14px!important;min-height:0!important}
.hero-grid{grid-template-columns:minmax(0,2.08fr) minmax(340px,.92fr);gap:22px;align-items:start!important}
.score{padding:12px 20px!important;border-radius:24px;min-height:0!important;height:auto!important}
.teams{margin:4px 0 6px!important;grid-template-columns:1fr 72px 1fr}
.teamflag{width:62px!important;height:41px!important;border-radius:8px;object-fit:cover}
.team h4{margin:5px 0 2px;font-size:12px;letter-spacing:1.4px}
.bigscore{font-size:25px!important;line-height:1!important;font-weight:700!important;letter-spacing:-.25px!important}
.versus{font-size:16px}.livepill{margin:6px auto 0;padding:5px 10px}
.situation{padding:7px 12px!important;font-size:14px!important}
.situation small{margin-top:4px}
.players{gap:9px;margin-top:8px}
.player{padding:8px 11px;gap:10px}
.portrait{width:42px;height:42px}
.portrait.photo{overflow:hidden;padding:0;background:#dcecff;border:2px solid rgba(28,201,232,.55)}
.portrait.photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.recent{margin-top:5px!important}.ball{width:30px;height:30px}.cta{margin-top:5px!important;padding:8px!important}
.sidecard{padding:14px 18px!important;margin-bottom:9px!important}.sidecard h2{font-size:18px!important;margin:6px 0 10px!important}.fixture{padding:7px 0!important}.trend{padding:6px 0!important;font-size:12px!important;line-height:1.3!important;font-weight:700!important}.trend span{font-size:16px!important;margin-right:9px!important}

/* General density */
.section{padding:48px 0}
.section h2{font-size:32px;letter-spacing:-1px}
.whitecard{padding:22px 28px;border-radius:24px}
.table td,.table th{padding:11px 10px}
.performer{padding:10px 0;gap:11px}
.performer .num,.perfscore{font-size:18px}
.performer>div:nth-of-type(2){display:flex;flex-direction:column;gap:4px}
.performer>div:nth-of-type(2) small{display:block;font-size:9px;font-weight:800;letter-spacing:.8px;color:#8da0b6}
.performer>div:nth-of-type(2) b{display:block;font-size:14px;line-height:1.2}

/* Flags in table/cards */
.tableteam{display:inline-flex;align-items:center;gap:9px;vertical-align:middle}
.tableteam img{width:30px;height:20px;object-fit:cover;border-radius:4px}
.tableteam b{color:#087fe7;font-size:12px;min-width:28px}
.tableteam span{color:#071e3d}
.matchteams img,.fixture img{object-fit:cover}

/* Homepage Teams */
.teams-home{background:#fff;padding:44px 0}
.teams-home h2{margin:5px 0;font-size:32px}
.sectionlead{margin:0 0 20px;color:#6f86a1}
.teamstrip{display:grid;grid-template-columns:repeat(8,1fr);gap:10px}
.teamstrip a{min-height:92px;border:1px solid #dce6f1;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-decoration:none;color:#071e3d;font-size:12px;font-weight:800;background:#f8fbff}
.teamstrip img{width:38px;height:25px;object-fit:cover;border-radius:4px}

/* Footer — deliberately independent from old footer rules */
body .final-footer{display:block!important;background:#061d3b!important;color:#d7e5f4!important;padding:0!important;margin:0!important;min-height:0!important;height:auto!important}
body .final-footer .footer-main{max-width:1180px!important;margin:0 auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:28px!important;padding:24px 20px 18px!important}
body .final-footer .footer-brand{display:flex!important;align-items:center!important;gap:16px!important}
body .final-footer .footer-logo{display:block!important;width:180px!important;max-width:180px!important;height:55px!important;object-fit:contain!important}
body .final-footer .footer-brand p{margin:0!important;color:#91a8c1!important;font-size:12px!important;white-space:nowrap}
body .final-footer .footer-links{display:flex!important;gap:18px!important;flex-wrap:wrap!important;align-items:center!important}
body .final-footer a{color:#d7e5f4!important;text-decoration:none!important;font-size:12px!important;font-weight:700!important}
body .final-footer .footer-bottom{max-width:1180px!important;margin:0 auto!important;border-top:1px solid rgba(255,255,255,.09)!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:18px!important;padding:13px 20px 15px!important;color:#7992ad!important;font-size:11px!important}
body .final-footer .footer-bottom div{display:flex!important;gap:16px!important;flex-wrap:wrap!important}

/* Mobile */
@media(max-width:900px){.teamstrip{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){
 .top{height:72px}.top .logo{width:180px!important;height:54px!important}
 .hero{padding:16px 0 22px!important}.hero-grid{display:block}.score{padding:15px 13px}
 .teams{grid-template-columns:1fr 50px 1fr}.teamflag{width:52px!important;height:35px!important}
 .bigscore{font-size:33px!important}.situation{font-size:15px}.players{gap:7px}.player{padding:8px}
 .section{padding:36px 0}.whitecard{padding:17px}.tableteam{gap:6px}.tableteam img{width:25px;height:17px}.tableteam b{display:none}
 .teamstrip{grid-template-columns:repeat(4,1fr);gap:7px}.teamstrip a{min-height:78px;font-size:10px}.teamstrip img{width:31px;height:21px}
 body .final-footer .footer-main{display:block!important;padding:20px 20px 16px!important}
 body .final-footer .footer-brand{display:block!important}
 body .final-footer .footer-logo{width:165px!important;max-width:165px!important;height:50px!important}
 body .final-footer .footer-brand p{margin-top:6px!important;white-space:normal}
 body .final-footer .footer-links{margin-top:16px!important;gap:12px 16px!important}
 body .final-footer .footer-bottom{display:block!important}
 body .final-footer .footer-bottom div{margin-top:9px!important}
}

/* HOMEPAGE FROZEN — clickable brand logos */
.home-logo-link,.footer-logo-link{display:inline-flex;align-items:center;text-decoration:none;cursor:pointer}
.home-logo-link .logo,.footer-logo-link .footer-logo{display:block}


/* CRICLIO MOBILE UI FIX */
@media(max-width:760px){
body{padding-bottom:96px}
.ticker .wrap{height:82px;gap:10px;padding:10px 16px;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.tick{flex:0 0 auto;min-width:300px;height:62px;padding:9px 13px;border:1px solid #244d78;border-radius:14px;background:#082851;scroll-snap-align:start}
.tick.active{background:#0c315f}.tick strong{display:flex;align-items:center;white-space:nowrap;font-size:15px;line-height:20px}.tick small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px;font-size:11px}.flagmini{flex:0 0 auto;width:23px;height:15px;margin-right:6px}
.bottomnav{position:fixed;z-index:100;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));height:68px;padding:6px 8px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;background:rgba(255,255,255,.97);border:1px solid #dce7f2;border-radius:22px;box-shadow:0 12px 38px rgba(4,30,64,.18);overflow:hidden}
.bottomnav a{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#7b8da5;font-size:10px;line-height:1;font-weight:800;border-radius:15px}.bottomnav a.active{color:#0788ef;background:#edf7ff}.bottomnav svg{display:block;width:21px!important;height:21px!important;max-width:21px!important;max-height:21px!important;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bottomnav a:first-child svg{fill:currentColor;stroke:currentColor}.bottomnav span{display:block}.bottomnav .live-nav-icon{width:21px;height:21px;border:2px solid currentColor;border-radius:50%;position:relative}.bottomnav .live-nav-icon:before,.bottomnav .live-nav-icon:after{content:"";position:absolute;inset:3px;border:1.5px solid currentColor;border-top-color:transparent;border-bottom-color:transparent;border-radius:50%}.bottomnav .live-nav-icon i{position:absolute;width:5px;height:5px;left:6px;top:6px;border-radius:50%;background:currentColor}
}

/* === CRICLIO FINAL MOBILE UI === */
@media (max-width:767px){
html,body{overflow-x:hidden!important}
body{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}

/* TOP SCORE STRIP */
.ticker,.score-ticker,.live-ticker,.ticker-wrap{
 overflow-x:auto!important;overflow-y:hidden!important;
 -webkit-overflow-scrolling:touch;scrollbar-width:none
}
.ticker::-webkit-scrollbar,.score-ticker::-webkit-scrollbar,
.live-ticker::-webkit-scrollbar,.ticker-wrap::-webkit-scrollbar{display:none}
.ticker-track,.ticker .wrap,.ticker-inner,.ticker-list{
 display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;
 gap:10px!important;width:max-content!important;min-width:100%!important
}
.ticker-card,.ticker-item,.match-ticker,.ticker .match{
 flex:0 0 auto!important;min-width:290px!important;max-width:330px!important;
 min-height:68px!important;padding:10px 14px!important;overflow:hidden!important
}
.ticker-card *,.ticker-item *,.match-ticker *,.ticker .match *{white-space:nowrap!important}
.ticker-score,.ticker-teams,.ticker-main,.ticker-row,.mini-score,.scoreline,.score-line{
 display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
 gap:8px!important;white-space:nowrap!important
}

/* MODERN FLOATING MOBILE NAV */
.bottomnav{
 position:fixed!important;z-index:99999!important;
 left:12px!important;right:12px!important;
 bottom:calc(8px + env(safe-area-inset-bottom))!important;
 width:auto!important;height:70px!important;min-height:70px!important;
 padding:7px 8px!important;margin:0!important;
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 align-items:center!important;gap:2px!important;
 background:rgba(255,255,255,.97)!important;
 border:1px solid rgba(19,68,111,.10)!important;border-radius:22px!important;
 box-shadow:0 12px 35px rgba(0,31,67,.18)!important;
 backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;
 overflow:visible!important
}
.bottomnav a{
 min-width:0!important;height:55px!important;padding:5px 2px 4px!important;margin:0!important;
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;gap:4px!important;border-radius:15px!important;
 color:#718399!important;font-size:10.5px!important;line-height:1!important;
 font-weight:700!important;text-decoration:none!important;white-space:nowrap!important;
 overflow:hidden!important
}
.bottomnav a.active,.bottomnav a[aria-current="page"]{
 color:#087ee8!important;
 background:linear-gradient(180deg,rgba(14,150,255,.12),rgba(22,209,224,.06))!important
}
.bottomnav a svg,.bottomnav svg,.bottomnav a img,.bottomnav img{
 display:block!important;width:21px!important;height:21px!important;
 min-width:21px!important;min-height:21px!important;max-width:21px!important;max-height:21px!important;
 flex:0 0 21px!important;margin:0!important;padding:0!important;object-fit:contain!important
}
.bottomnav a svg{
 fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;
 stroke-linecap:round!important;stroke-linejoin:round!important
}
.bottomnav a span,.bottomnav .label,.bottomnav small{
 display:block!important;width:100%!important;max-width:100%!important;
 margin:0!important;padding:0!important;color:inherit!important;font:inherit!important;
 line-height:12px!important;text-align:center!important;overflow:hidden!important;
 text-overflow:ellipsis!important;white-space:nowrap!important
}
}
@media(min-width:768px){.bottomnav{display:none!important}}

/* CRICLIO DESKTOP HERO — COMFORTABLE HEIGHT */
@media (min-width:768px){
  .hero{
    padding:30px 0 38px!important;
  }
  .score{
    padding:24px 26px!important;
  }
  .teams{
    margin:14px 0 16px!important;
  }
  .situation{
    padding:13px 14px!important;
  }
  .players{
    margin-top:12px!important;
  }
  .cta{
    margin-top:11px!important;
    padding:12px!important;
  }
}