/* Reference-matched entrance only. Sports, account, data, and saved-pick flows stay intact. */
/* The interactive entrance replaces the old timed standalone/PWA brand overlay. */
.gkiq-launch{display:none!important}
body.gk-sport-selecting{background:#030303!important}
/* Full available width: no portrait-sized main wrapper or black tablet side gutters. */
body.gk-sport-selecting main{max-width:none!important;width:100%;margin:0;padding:0!important}
body.gk-sport-selecting #gkSportHome{background:#030303!important}
body.gk-sport-selecting #gkSportHome .gk-home-content{max-width:900px;margin:0 auto}
/* Shortcuts stay below the immersive entrance, never over its actions. */
body.gk-sport-selecting #gkSportHome .gk-home-bottom{position:static;max-width:900px;margin:0 auto;padding:10px 12px max(12px,env(safe-area-inset-bottom));background:#090909!important}
body.gk-sport-selecting #gkSportHome .kls-startup-splash{
 position:relative;isolation:isolate;min-height:0!important;
 background:linear-gradient(180deg,#0001,#0000 65%,#0006),var(--kls-king-legacy-stadium, url('/king-legacy-stadium.webp')) center/cover no-repeat!important;
 border:0;
}
.kls-startup-test{position:absolute;top:max(12px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));z-index:1;font:600 9px/1.2 system-ui,sans-serif;letter-spacing:.14em;color:#d1c5ba;text-shadow:0 1px 4px #000}
/* Natural flow prevents clipped actions on short screens, landscape, or text zoom. */
.kls-startup-content{position:relative;display:flex;align-items:center;flex-direction:column;gap:clamp(10px,2vh,20px);max-width:680px;margin:0 auto;min-height:100vh;min-height:100svh;min-height:100dvh;padding:max(22px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));box-sizing:border-box}
.kls-startup-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.kls-startup-crest{display:block;flex:none;width:min(84vw,480px);max-width:100%;height:clamp(180px,40vh,440px);height:clamp(180px,40svh,440px);object-fit:contain;filter:drop-shadow(0 8px 16px #0008)}
.kls-startup-leagues{display:flex;flex:none;align-items:center;justify-content:center;gap:26px;filter:drop-shadow(0 3px 6px #000)}
.kls-startup-leagues img{width:52px;height:clamp(44px,7vh,62px);object-fit:contain}
.kls-startup-leagues>span{height:42px;width:1px;background:linear-gradient(transparent,#a6a6a6,transparent)}
.kls-startup-tagline{display:flex;flex:none;flex-direction:column;gap:8px;margin:0;text-align:center;color:#fff;font:800 clamp(12px,1.8vh,16px)/1.15 system-ui,sans-serif;letter-spacing:.32em;text-transform:uppercase;text-shadow:0 2px 6px #000}
.kls-startup-tagline span{padding-left:.32em}
.kls-startup-actions{width:min(340px,100%);display:flex;flex:none;flex-direction:column;gap:12px;margin-top:auto;padding-top:18px}
#gkSportHome .kls-startup-actions button{display:block;width:100%;min-height:52px;padding:13px 18px;border-radius:10px;font:750 16px/1.3 system-ui,sans-serif;letter-spacing:.01em;color:#fff;box-shadow:0 5px 18px #0008;transition:none}
#gkSportHome .kls-startup-primary{background:linear-gradient(180deg,#dc222b,#b80f18);border:1px solid #e13c42}
#gkSportHome .kls-startup-primary:hover{background:linear-gradient(180deg,#ed3038,#cd1721)}
#gkSportHome .kls-startup-signin{background:#030303d9;border:1px solid #929292}
#gkSportHome .kls-startup-signin:hover{background:#202020;border-color:#fff}
#gkSportHome .kls-startup-actions button:focus-visible{outline:3px solid #f4cf73;outline-offset:4px}
/* Account remains in normal flow above the splash when Sign In opens it. */
body.gk-sport-selecting #gkAccountPanel{max-width:680px;margin:12px auto;padding:18px;scroll-margin-top:12px}
@media(max-width:359px){.kls-startup-leagues{gap:20px}.kls-startup-tagline{font-size:12px;gap:8px}}
@media(prefers-reduced-motion:reduce){#gkSportHome .kls-startup-actions button{transition:none}}

/* Crown X-Ray feature, using the existing entrance artwork and sport chooser. */
#gkSportHome .kls-startup-xray{flex:none;width:min(480px,100%);box-sizing:border-box;padding:16px 20px;border:1px solid #e3c36e;border-radius:14px;background:linear-gradient(125deg,#0e1822ed,#05090deb);box-shadow:0 8px 28px #0008;text-align:center;color:#f4f5f8}
#gkSportHome .kls-startup-xray h2{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 7px;color:#f3d178;font:850 clamp(22px,4.5vw,29px)/1.2 system-ui,sans-serif;letter-spacing:.035em}
#gkSportHome .kls-startup-xray h2 svg{flex:none;width:29px;height:29px}
#gkSportHome .kls-startup-xray p{margin:0;font:650 14px/1.5 system-ui,sans-serif;color:#eef1f6}
#gkSportHome .kls-startup-xray small{display:block;margin-top:4px;font:500 12px/1.5 system-ui,sans-serif;color:#bac6d4}
#gkSportHome .kls-startup-xray button{display:block;width:min(290px,100%);min-height:46px;margin:13px auto 0;padding:10px 14px;border:1px solid #efd17f;border-radius:9px;background:#080e17;color:#f5d786;font:750 14px/1.3 system-ui,sans-serif}
#gkSportHome .kls-startup-xray button:hover{background:#253041;border-color:#ffe9ae}
#gkSportHome .kls-startup-xray button:focus-visible{outline:3px solid #ffe7a5;outline-offset:4px}
@media(max-height:900px){.kls-startup-content{gap:10px}.kls-startup-crest{height:clamp(150px,30vh,340px);height:clamp(150px,30svh,340px)}.kls-startup-actions{padding-top:8px}.kls-startup-tagline{gap:6px}.kls-startup-leagues img{height:48px}}
@media(max-width:420px){#gkSportHome .kls-startup-xray{padding:14px 12px}#gkSportHome .kls-startup-xray h2{gap:9px}#gkSportHome .kls-startup-xray p{font-size:13px}#gkSportHome .kls-startup-xray small{font-size:11px}}


/* Sport chooser: two distinct arenas with generous touch targets. */
#gkHomeSportDialog.gk-home-sport-dialog{width:min(680px,calc(100vw - 28px));max-width:680px;padding:30px;border:1px solid #bd995b;border-radius:22px;background:#0c1220;box-shadow:0 28px 100px #000b;color:#f6f7fb}
#gkHomeSportDialog::backdrop{background:#02050bd9;backdrop-filter:blur(12px)}
#gkHomeSportDialog .gk-home-dialog-kicker{margin:4px 44px 15px 0;color:#edcb86;letter-spacing:.17em;font-size:11px}
#gkHomeSportDialog #gkHomeDialogTitle{font-size:42px;line-height:1.05;margin:0 0 10px}
#gkHomeSportDialog #gkHomeDialogCopy{font-size:14px;color:#becbe0;margin-bottom:25px}
#gkHomeSportDialog #gkHomeDialogClose{width:44px;height:44px;top:14px;right:14px;background:#202d43;color:#e0e8f5}
#gkHomeSportDialog .gk-home-dialog-sports{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#gkHomeSportDialog .gk-home-dialog-sports button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-width:0;min-height:240px;padding:24px 12px;border-radius:15px;border:1px solid #a55158;background:linear-gradient(180deg,#111c2b44,#0c1324f5),var(--kls-gk-arena-nfl, url('./gk-arena-nfl.webp')) center/cover;color:#fff;box-shadow:inset 0 -35px 50px #070b16}
#gkHomeSportDialog .gk-home-dialog-sports button:last-child{border-color:#4380be;background-image:linear-gradient(180deg,#111c2b44,#0c1324f5),var(--kls-gk-arena-nba, url('./gk-arena-nba.webp'))}
#gkHomeSportDialog .gk-home-dialog-sports img{width:68px;height:72px;object-fit:contain;filter:drop-shadow(0 4px 6px #0009)}
#gkHomeSportDialog .gk-home-dialog-sports strong{font-size:46px;line-height:1;font-family:GKArena,'Arial Narrow',sans-serif;letter-spacing:.04em}
#gkHomeSportDialog .gk-home-dialog-sports svg{width:24px;height:24px;margin:0;color:#efd391}
#gkHomeSportDialog .gk-home-dialog-sports button::after{content:'FOOTBALL INTELLIGENCE';font:650 10px/1.4 system-ui,sans-serif;letter-spacing:.08em;color:#d4dfef;text-align:center}
#gkHomeSportDialog .gk-home-dialog-sports button[data-home-choice="nba"]::after{content:'NBA INTELLIGENCE'}
#gkHomeSportDialog .gk-home-dialog-sports button:hover{border-color:#f3ce83}
#gkHomeSportDialog button:focus-visible{outline:3px solid #f3ce83;outline-offset:4px}
@media(max-width:500px){#gkHomeSportDialog.gk-home-sport-dialog{padding:24px 18px}#gkHomeSportDialog #gkHomeDialogTitle{font-size:34px}#gkHomeSportDialog .gk-home-dialog-sports{gap:10px}#gkHomeSportDialog .gk-home-dialog-sports button{min-height:200px;padding:20px 8px;gap:12px}#gkHomeSportDialog .gk-home-dialog-sports img{width:52px;height:60px}#gkHomeSportDialog .gk-home-dialog-sports strong{font-size:36px}#gkHomeSportDialog .gk-home-dialog-sports button::after{font-size:9px;letter-spacing:0}}


#gkSportHome .kls-startup-guide{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 12px;border:1px solid #c6a45d;border-radius:10px;background:#0d1b2be8;color:#f6d68e;font:700 14px/1.5 system-ui,sans-serif;text-align:center;text-decoration:none}#gkSportHome .kls-startup-guide:focus-visible{outline:3px solid #f4cf73;outline-offset:4px}
