/* Home layout corrections — scoped to the homepage only. */
.up-home-hero, .up-home-live, .up-home-v3 {box-sizing:border-box;max-width:100%;min-width:0;}
.up-home-hero *, .up-home-live *, .up-home-v3 *, .up-home-hero *::before, .up-home-hero *::after, .up-home-v3 *::before, .up-home-v3 *::after {box-sizing:border-box;}
.up-home-hero {overflow:hidden;isolation:isolate;}
.up-home-hero .hero-inner {width:min(1180px,calc(100% - 40px));max-width:1180px;margin-inline:auto;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center;}
.up-home-hero .hero-copy, .up-home-hero .hero-showcase {min-width:0;max-width:100%;}
.up-home-hero .hero-copy h1 {font-size:clamp(36px,4.6vw,70px);line-height:1.08;overflow-wrap:break-word;}
.up-home-hero .hero-copy p {max-width:60ch;line-height:1.7;}
.up-home-hero .hero-actions {display:flex;flex-wrap:wrap;gap:12px;}
.up-home-hero .hero-mini-facts {display:flex;flex-wrap:wrap;gap:14px;}
.up-home-hero .showcase-card {max-width:100%;min-width:0;}
.up-home-hero .showcase-media img {max-width:100%;display:block;}
.up-home-hero .hero-stats-strip {width:min(1180px,calc(100% - 40px));max-width:1180px;margin-inline:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.up-home-hero .hero-stats-strip > div {min-width:0;}
.up-home-live .live-status-shell {width:min(1180px,calc(100% - 40px));max-width:1180px;margin-inline:auto;min-width:0;}
.up-home-live .live-status-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.up-home-live .live-stat-card {min-width:0;}
.up-home-v3 {width:100%;overflow:clip;}
.up-home-v3 > section {max-width:1180px;width:calc(100% - 40px);margin-left:auto;margin-right:auto;min-width:0;}
.up-home-v3 .feature-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.up-home-v3 .feature-card, .up-home-v3 .content-card {min-width:0;height:auto;}
.up-home-v3 .content-grid-2 {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch;}
.up-home-v3 h2,.up-home-v3 h3 {overflow-wrap:break-word;line-height:1.22;}
.up-home-v3 p,.up-home-v3 li {overflow-wrap:break-word;line-height:1.65;}
.up-home-v3 .up-sponsor-section {padding:35px 0 72px;margin-top:30px;margin-bottom:20px;}
.up-home-v3 .up-sponsor-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));align-items:stretch;gap:18px;}
.up-home-v3 .up-sponsor-empty {grid-column:1/-1;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;gap:10px;min-height:230px;padding:32px 20px;border:1px dashed rgba(110,168,255,.4);border-radius:22px;background:linear-gradient(145deg,rgba(31,55,88,.7),rgba(12,22,37,.65));}
.up-home-v3 .up-sponsor-empty-icon {font-size:30px;color:#78b6ff;}
.up-home-v3 .up-sponsor-empty h3 {color:#fff;font-size:clamp(20px,3vw,28px);margin:0;}
.up-home-v3 .up-sponsor-empty p {color:#adbed4;margin:0;}
.up-home-v3 .up-sponsor-empty a {display:inline-flex;align-items:center;gap:10px;margin-top:8px;padding:12px 20px;border-radius:12px;color:white;background:#196cce;text-decoration:none;font-weight:700;}
.up-home-v3 .up-sponsor-empty a:hover {background:#267ee9;}
@media(max-width:1050px){.up-home-live .live-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.up-home-hero .floating-chip{display:none;}}
@media(max-width:800px){.up-home-hero .hero-inner{grid-template-columns:minmax(0,1fr);padding-block:44px;}.up-home-hero .hero-showcase{width:100%;}.up-home-hero .hero-stats-strip{grid-template-columns:1fr;}.up-home-v3 .feature-grid{grid-template-columns:1fr;}.up-home-v3 .content-grid-2{grid-template-columns:1fr;}.up-home-live .live-status-head{flex-direction:column;align-items:flex-start;gap:15px;}}
@media(max-width:520px){.up-home-hero .hero-inner,.up-home-hero .hero-stats-strip,.up-home-live .live-status-shell{width:calc(100% - 28px);}.up-home-v3 > section{width:calc(100% - 28px);}.up-home-live .live-status-grid{grid-template-columns:1fr;}.up-home-v3 .up-sponsor-section{padding-block:24px 44px;}.up-home-hero .hero-copy h1{font-size:clamp(32px,10vw,45px);}.up-home-v3 .up-sponsor-card{min-height:145px;}}
@media(prefers-reduced-motion:reduce){.up-home-v3 *, .up-home-hero * {scroll-behavior:auto!important;}}

/* V4 stability overrides */
.up-home-v3{display:block!important;max-width:none!important;overflow-x:clip}
.up-home-v3 > section{position:relative;box-sizing:border-box;clear:both;float:none!important;min-height:0;height:auto!important;margin-block:clamp(26px,4vw,58px)!important}
.up-home-v3 .feature-grid,.up-home-v3 .content-grid-2{align-items:stretch!important}
.up-home-v3 .feature-card{min-height:0!important;transform:none;isolation:isolate}
.up-home-v3 .up-sponsor-section{display:block!important;visibility:visible!important;opacity:1!important;overflow:visible!important}
.up-home-v3 .up-sponsor-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),320px))!important;gap:18px;justify-content:center;width:100%;min-width:0}
.up-home-v3 .up-sponsor-card{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0;max-width:100%;word-break:break-word}
.up-home-v3 .up-sponsor-card img{max-width:100%;max-height:110px;width:auto;height:auto;object-fit:contain}
.up-home-v3 .up-sponsor-empty{width:100%;min-width:0}
@media(max-width:680px){.up-home-v3 .up-sponsor-grid{grid-template-columns:minmax(0,1fr)!important}.up-home-v3 > section{width:calc(100% - 30px)}}
