/* Approved invitation/podium, scoped to home so gameplay and ranking keep their layout. */
.entry-brandtext,.footer-books-home{display:none}
body.screen-fit.is-home{height:auto;min-height:100dvh;overflow-x:clip;overflow-y:auto;background:#1c0a3b;background-image:radial-gradient(ellipse at 75% 37%,#61229e88,transparent 54%),radial-gradient(ellipse at 0% 100%,#792c9244,transparent 55%);font-family:Inter,Arial,sans-serif;font-weight:400}
body.screen-fit.is-home::before{content:'';position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px);background-size:52px 52px}
body.screen-fit.is-home .shell{position:relative;height:auto;min-height:100dvh;max-width:1440px;padding:env(safe-area-inset-top,0px) 40px env(safe-area-inset-bottom,0px)}
body.screen-fit.is-home .topbar{height:78px;min-height:78px;padding:0;gap:20px;border-bottom:1px solid #ffffff20}
body.screen-fit.is-home .brand img{height:57px;width:auto}
body.screen-fit.is-home .entry-brandtext{display:block;font:400 16px/1.5 Inter,Arial,sans-serif;color:#d9c6ec}
.entry-brandtext strong,.entry-brandtext span{display:block}
.entry-brandtext strong{color:white;font-weight:700}
body.screen-fit.is-home .event-lockup{margin-left:auto;padding:0;border:0}
body.screen-fit.is-home .event-lockup .event-logo{height:65px;max-height:none;width:130px;object-fit:contain}
body.screen-fit.is-home .icon-button{width:44px;height:44px;min-height:44px;min-width:44px;flex:0 0 44px}
body.screen-fit.is-home main{flex:1 0 auto;overflow:visible;padding:0;min-height:0}
body.screen-fit.is-home main>.screen-view{height:auto;min-height:0}
body.screen-fit.is-home .entry-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:40px;align-items:center;padding:25px 0 22px;text-align:left}
body.screen-fit.is-home .entry-hero :where(h1,h2,h3,p,span,strong,b,label,button){overflow-wrap:normal;word-break:normal;hyphens:none}
.entry-intro,.home-prizes{min-width:0}
body.screen-fit.is-home .entry-eyebrow{color:#ffca53;text-transform:uppercase;letter-spacing:1.6px;font:700 16px/1.5 Inter,Arial,sans-serif;display:flex;align-items:center;gap:8px}
.entry-eyebrow::before{content:'';flex:none;width:7px;height:7px;background:#ffbd2e;border-radius:50%;box-shadow:0 0 15px #ffbd2e}
body.screen-fit.is-home h1.entry-title{font:400 clamp(44px,4.7vw,68px)/1.04 'Luckiest Guy',Arial,sans-serif!important;letter-spacing:.2px;margin:20px 0 16px;text-shadow:0 4px 0 #100323;text-align:left;text-wrap:balance;color:white}
.entry-title span{color:#ffbe2e;display:block}
body.screen-fit.is-home .entry-lead{font:400 16px/1.5 Inter,Arial,sans-serif;color:#e2d6ee;margin:0;max-width:460px}
body.screen-fit.is-home .entry-how{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:18px 0;color:#ddcdeb;font:400 16px/1.5 Inter,Arial,sans-serif}
.entry-how strong{color:white;font-weight:700}
.entry-how i{font-style:normal;width:1px;height:24px;background:#ffffff25;margin:0 7px}
.entry-clock{width:23px;height:23px;flex:none;border:2px solid #ffca53;border-radius:50%;position:relative}
.entry-clock::before{content:'';position:absolute;width:6px;height:7px;left:9px;top:3px;border-left:2px solid #ffca53;border-bottom:2px solid #ffca53}
body.screen-fit.is-home .entry-form{padding:20px;background:#ffffff08;border:1px solid #ffffff29;border-radius:18px;max-width:450px;text-align:left;box-shadow:none;color:white}
body.screen-fit.is-home .entry-form .name-label{text-align:left;display:block;font:700 16px/1.5 Inter,Arial,sans-serif;margin:0 0 10px}
body.screen-fit.is-home .entry-form input{background:#16072f;border:1px solid #82649a;width:100%;height:48px;min-height:48px;border-radius:9px;padding:0 52px 0 14px;color:white;font:400 16px/1.4 Inter,Arial,sans-serif;text-align:left}
.entry-form input::placeholder{color:#bba5ce}
body.screen-fit.is-home .entry-form .keyboard-toggle{height:48px;min-height:48px;border-radius:9px;background:transparent;border:1px solid #82649a;color:#e9dff2;top:0;right:0}
body.screen-fit.is-home .entry-form .primary{margin-top:12px;width:100%;min-height:57px;border:0;border-radius:9px;background:linear-gradient(100deg,#ffd463,#ffb526);box-shadow:0 5px 0 #ac6211,0 12px 28px #ffb52620;display:flex;align-items:center;justify-content:space-between;padding:14px 18px;color:#280e49;font:400 22px/1.2 'Luckiest Guy',Arial,sans-serif!important;cursor:pointer;gap:14px;text-align:left}
body.screen-fit.is-home .entry-form .primary .arrow{font:400 28px/1 Arial,sans-serif!important;position:static;inset:auto;transform:none;flex:none}
body.screen-fit.is-home .entry-form .primary .start-label{flex:1;min-width:0;font:inherit!important}
body.screen-fit.is-home .entry-form .closed-message{font:400 16px/1.5 Inter,Arial,sans-serif;overflow-wrap:anywhere}
body.screen-fit.is-home .entry-form .name-error{font:400 16px/1.5 Inter,Arial,sans-serif;color:#ffb8c8}
body.screen-fit.is-home .entry-links{display:flex;gap:25px;margin:0;padding-top:19px;justify-content:center;max-width:450px}
body.screen-fit.is-home .entry-links button{color:#e9dff2;background:none;border:0;border-radius:4px;font:400 16px/1.4 Inter,Arial,sans-serif!important;text-decoration:underline;text-underline-offset:4px;cursor:pointer;padding:8px;min-height:44px}
body.screen-fit.is-home .home-prizes{align-self:stretch;display:flex;flex-direction:column;justify-content:center;margin:0;padding:0;background:none;border:0;box-shadow:none;gap:0}
.entry-hero .prizeheader{text-align:center}
body.screen-fit.is-home .prizeheader h2{font:400 30px/1.2 'Luckiest Guy',Arial,sans-serif!important;margin:0 0 6px;letter-spacing:normal}
.entry-hero .prizeheader p{margin:0;color:#cdb8e0;font:400 16px/1.5 Inter,Arial,sans-serif}
.entry-hero .podium{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.32fr) minmax(0,1fr);gap:10px;align-items:end;margin-top:28px}
.entry-hero .prize{background:linear-gradient(160deg,#52316f,#2c164c);border:1px solid #a584bb55;border-radius:16px;text-align:center;padding:16px 9px 20px;position:relative;min-height:239px;min-width:0}
.entry-hero .prize.first{background:linear-gradient(150deg,#64385a,#392145 75%);border:2px solid #ffc54e;min-height:292px;box-shadow:0 0 50px #ffb52612}
.entry-hero .rank{font:400 27px/1.2 'Luckiest Guy',Arial,sans-serif;color:#eadcf2}
.entry-hero .first .rank{color:#ffcf61;font-size:33px}
.entry-hero .flag{position:absolute;left:50%;transform:translateX(-50%);top:-18px;white-space:nowrap;background:#ffc54e;color:#2c1142;font:700 16px/1.25 Inter,Arial,sans-serif;letter-spacing:.4px;padding:7px 13px;border-radius:20px}
.entry-hero .prize svg{display:block;width:100%;height:112px;margin:6px auto 12px;filter:drop-shadow(0 10px 8px #16072366)}
.entry-hero .first svg{height:137px}
body.screen-fit.is-home .prize h3{font:700 16px/1.35 Inter,Arial,sans-serif!important;letter-spacing:normal;margin:0}
body.screen-fit.is-home .first h3{color:#ffdc89;font-size:20px!important}
.entry-hero .bonus{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:16px;padding:16px 10px;border:1px solid #b896d34a;border-radius:12px;background:#ffffff08}
.entry-hero .bonus strong{font:400 25px/1.2 'Luckiest Guy',Arial,sans-serif;color:#ffcd64;white-space:nowrap}
.entry-hero .bonus p{margin:0;font:400 16px/1.4 Inter,Arial,sans-serif}
.entry-hero .bonus b{color:#ffcf61;font-weight:700}
.entry-hero .announcement{font:400 16px/1.6 Inter,Arial,sans-serif;color:#c6b0d7;text-align:center;margin:13px 0 0}
body.screen-fit.is-home footer{border-top:1px solid #ffffff20;padding:16px 0;display:flex;justify-content:space-between;gap:15px;color:#b9a2ce;font:400 16px/1.6 Inter,Arial,sans-serif;margin:0;min-height:0;flex:0 0 auto}
body.screen-fit.is-home footer>span{display:block;max-width:55%}
body.screen-fit.is-home footer .footer-books-home{display:block;color:#dcc7ef;font:400 16px/1.6 Inter,Arial,sans-serif!important;text-decoration:underline;text-underline-offset:4px;min-height:44px;max-width:45%;padding:6px 0}
body.screen-fit.is-home footer :is(.footer-books-default,#review-button){display:none}
body.screen-fit.is-home :is(button:focus-visible,input:focus-visible,a:focus-visible){outline:3px solid #fff;outline-offset:4px}
@media(min-width:1400px){body.screen-fit.is-home .entry-hero{padding:55px 0;gap:65px}.entry-hero .prize{min-height:280px}.entry-hero .prize.first{min-height:335px}.entry-hero .prize svg{height:140px}.entry-hero .first svg{height:166px}}
@media(max-width:800px){
 body.screen-fit.is-home .shell{padding-left:20px;padding-right:20px}
 body.screen-fit.is-home .topbar{height:76px;min-height:76px;gap:12px}
 body.screen-fit.is-home .brand img{height:54px;width:auto}
 body.screen-fit.is-home .event-lockup .event-logo{height:54px;width:100px}
 body.screen-fit.is-home .entry-brandtext{display:none}
 body.screen-fit.is-home .entry-hero{grid-template-columns:minmax(0,1fr);padding:25px 0;gap:22px}
 .entry-intro{display:contents}
 body.screen-fit.is-home .entry-eyebrow{justify-content:center;text-align:center;grid-row:1;font-size:16px}
 body.screen-fit.is-home h1.entry-title{font-size:clamp(38px,10vw,52px)!important;text-align:center;margin:0;grid-row:2}
 body.screen-fit.is-home .entry-lead{text-align:center;font-size:16px;max-width:none;grid-row:3}
 body.screen-fit.is-home .entry-how{justify-content:center;text-align:center;margin:0;grid-row:4;gap:8px}
 .entry-how i{margin:0 3px}
 body.screen-fit.is-home .home-prizes{grid-row:5}
 body.screen-fit.is-home .entry-form{grid-row:6;max-width:none;width:100%}
 body.screen-fit.is-home .entry-links{grid-row:7;max-width:none;padding:0}
 body.screen-fit.is-home .prizeheader h2{font-size:25px!important}
 .entry-hero .podium{gap:7px;margin-top:48px}
 .entry-hero .prize{min-height:216px;padding:14px 6px}
 .entry-hero .prize.first{min-height:250px}
 .entry-hero .prize svg{height:78px}.entry-hero .first svg{height:100px}
 body.screen-fit.is-home .prize h3{font-size:16px!important}.entry-hero .first h3{font-size:16px!important}
 .entry-hero .rank{font-size:23px}.entry-hero .first .rank{font-size:27px}
 .entry-hero .flag{white-space:normal;width:max-content;max-width:100%;font-size:16px;padding:6px 8px;top:-40px;line-height:1.1}
 .entry-hero .bonus{padding:12px 9px;gap:12px}.entry-hero .bonus strong{font-size:23px}
 body.screen-fit.is-home footer{font-size:16px;line-height:1.6;flex-direction:column;text-align:center;gap:6px}
 body.screen-fit.is-home footer>span,body.screen-fit.is-home footer .footer-books-home{max-width:100%}
}
@media(max-width:480px){body.screen-fit.is-home .entry-form .keyboard-characters{grid-template-columns:repeat(auto-fit,minmax(44px,1fr))}.entry-how i{display:none}.entry-how>span:last-child{width:100%}.entry-hero .bonus{flex-wrap:wrap;text-align:center}}
@media(prefers-reduced-motion:reduce){body.screen-fit.is-home *,body.screen-fit.is-home *::before{animation:none!important;transition:none!important;scroll-behavior:auto}}

/* The keyboard follows the actual form width on tall kiosks and narrow phones. */
body.screen-fit.is-home .entry-form .keyboard-characters{grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:2px}
@media(min-width:801px){.entry-hero .prize.first{padding-top:24px}}

@media(max-width:360px){.entry-hero .prize:not(.first){padding-inline:2px}}
