/* The world is the game screen. Controls float above an extended camera track. */
body{min-height:100svh;display:grid;grid-template-rows:62px 54px minmax(520px,1fr) 34px}
.site-header{height:62px;padding:0 28px;background:#081321;z-index:6}
.brand{font-size:26px}.brand small{font-size:8px;line-height:2}.brand>svg{height:27px}
.game-tabs{height:54px;padding:0 22%;z-index:6;background:#0b1827}.game-tab{font-size:14px;gap:9px}.game-tab small{display:none}.tab-icon{font-size:23px;width:20px}
main{display:block;position:relative;height:auto;min-height:520px;max-height:none;isolation:isolate}
.world{position:absolute;inset:0;height:100%;width:100%;--travel-time:3000ms;background:#162d4a}
.scenery{inset:0 auto 0 0;width:400%;height:100%;background-repeat:repeat-x;background-size:auto 115%;background-position:left 62%;transition:transform var(--travel-time) cubic-bezier(.23,.72,.28,1);will-change:transform;z-index:-3}
.scenery:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fda78312 0%,transparent 22%,#739be126 40%,#7361bd27 62%,#ba5ba532 85%,#7ce5cc30)}
.scene-vignette{background:linear-gradient(180deg,#06122570 0%,#06122510 45%,#0612250a 68%,#061225e0 100%);pointer-events:none}
.foreground{position:absolute;left:0;bottom:-10px;width:400%;height:18%;z-index:1;pointer-events:none;opacity:.55;transition:transform var(--travel-time) cubic-bezier(.23,.72,.28,1);background:repeating-linear-gradient(105deg,transparent 0 90px,#102b32 91px 98px,transparent 99px 195px),linear-gradient(0deg,#0b263d,transparent 65%);clip-path:polygon(0 56%,2% 48%,3% 62%,5% 27%,6% 57%,8% 39%,10% 64%,12% 51%,14% 66%,16% 34%,18% 60%,20% 52%,23% 75%,25% 41%,27% 59%,30% 44%,33% 72%,35% 56%,38% 66%,40% 51%,45% 69%,48% 45%,52% 72%,56% 57%,59% 71%,62% 39%,66% 61%,70% 53%,74% 71%,79% 57%,83% 76%,87% 53%,91% 72%,96% 58%,100% 75%,100% 100%,0 100%)}
.scene-top{top:auto;bottom:105px;left:28px;right:28px;font-size:11px;letter-spacing:1.4px}.scene-top>span:last-child{font-size:10px}.scene-top>span:first-child:before{display:none}
.scene-title{left:8%;top:22%;max-width:360px}.scene-title h1{font-size:clamp(44px,5vw,72px)!important}.scene-title p{font-size:12px}.scene-description{font-size:16px;max-width:310px}
body:not([data-phase=home]) .scene-title{opacity:0;pointer-events:none}
.actor,body[data-game=rocket] .actor,body[data-game=valorant] .actor,body[data-game=rewind] .actor{transition:left var(--travel-time) cubic-bezier(.23,.72,.28,1),top var(--travel-time) cubic-bezier(.23,.72,.28,1);z-index:3;width:180px}
body[data-game=rocket] .actor{width:220px}body[data-game=valorant] .actor{width:125px}body[data-game=rewind] .actor{width:100px}
.actor:before{content:'';position:absolute;left:50%;top:50%;width:150px;height:150px;border:2px solid var(--reward-color,var(--accent));border-radius:50%;transform:translate(-50%,-50%) scale(.3);opacity:0;pointer-events:none}
.actor:after{content:'';position:absolute;right:70%;top:50%;width:0;height:28px;transform-origin:right center;background:linear-gradient(90deg,transparent,var(--accent));filter:blur(5px);opacity:0;z-index:-1}
.traveling .actor:before{animation:arrival-ring var(--travel-time) ease-out}
.traveling .actor:after{animation:wind-trail var(--travel-time) ease-in-out}
.traveling .actor-visual{animation:glider-surge var(--travel-time) cubic-bezier(.2,.7,.2,1)}
body[data-game=rocket].traveling .actor-visual{animation:octane-surge var(--travel-time) ease-in-out;filter:drop-shadow(0 0 22px #ffae5877)}
body[data-game=rocket] .actor:after{right:auto;left:23%;top:70%;transform:rotate(-60deg);background:linear-gradient(90deg,transparent,#ffbd56);height:40px}
body[data-game=valorant].traveling .actor-visual{animation:shadow-surge var(--travel-time) ease-in-out;filter:drop-shadow(-35px 0 8px #6e70e177) drop-shadow(-65px 0 12px #6ed9ff44)}
body[data-game=rewind].traveling .actor-visual{animation:time-surge var(--travel-time) ease-in-out}
.gain{font-size:30px;top:10%;z-index:5}.gain.pop{animation:gain 3.8s ease forwards}
.particles{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.particles i{position:absolute;left:105%;top:var(--py);height:2px;width:var(--length);background:linear-gradient(90deg,transparent,var(--reward-color));opacity:0;animation:pass-by .9s var(--delay) linear infinite;box-shadow:0 0 8px color-mix(in srgb,var(--reward-color) 50%,transparent)}
body[data-game=rocket] .particles i{left:calc(var(--py));top:-10%;width:2px;height:var(--length);animation-name:fall-by}
body[data-game=valorant] .particles i{height:4px;background:linear-gradient(90deg,transparent,#b6acff)}
body[data-game=rewind] .particles i{height:5px;width:5px;box-shadow:12px 0 #c394ff55,-15px 0 #b5eeff55}
.reward-title{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);z-index:4;text-align:center;pointer-events:none;opacity:0;white-space:nowrap;text-shadow:0 3px 20px #061324,0 1px 5px #061324}
.reward-title span{display:block;color:var(--reward-color,var(--accent));font-size:12px;letter-spacing:4px}.reward-title strong{display:block;font:800 clamp(32px,4.8vw,65px)/1.2 var(--cond);letter-spacing:3px;color:white}.reward-title small{display:block;font-size:14px;color:#e0edf8;letter-spacing:1px;margin-top:9px}
.traveling .reward-title{animation:reward-reveal var(--travel-time) ease both}
.world-hud{bottom:24px;left:28px;right:28px;z-index:4;align-items:center}.world-hud .eyebrow{font-size:11px}.score strong{font-size:47px}.score>span{font-size:24px}.hud-caption{font-size:11px}.world-hud-right .zone{font-size:19px}.mini-tally{margin-top:8px}.mini-tally span{width:25px;height:4px}
.world-bottom{display:none}.journey-strip{left:calc(50% - 200px);right:auto;width:400px;bottom:27px;z-index:4}.journey-meta{font-size:10px;letter-spacing:1px}.journey-track{height:4px;border-radius:4px;overflow:visible}.journey-track i{transition:width var(--travel-time) ease}.journey-track>span{transition:left var(--travel-time) ease}
body[data-game=rocket] .journey-strip{display:block}
.landmarks{position:absolute;left:0;bottom:0;width:400%;height:100%;z-index:0;pointer-events:none;transition:transform var(--travel-time) cubic-bezier(.23,.72,.28,1)}
.landmark{position:absolute;width:100px;color:#edf6f1a0;font:500 14px var(--cond);letter-spacing:1px;text-align:center}.landmark span{background:#0a182e99;border:1px solid #b5cce844;padding:7px 10px;display:inline-block;border-radius:3px}.landmark i{display:block;height:25px;border-left:2px solid #c6e4ff55;margin-left:50%}
body[data-game=rocket] .scenery{width:100%;height:400%;background-size:100% 100%;background-repeat:no-repeat;background-position:center;bottom:auto}
body[data-game=rocket] .landmarks{height:400%;width:100%;bottom:0}
body[data-game=rocket] .landmark{text-align:left;border-top:1px dashed #ffffff50;width:160px;padding-top:7px}body[data-game=rocket] .landmark i{display:none}
body[data-game=rocket] .foreground{background:radial-gradient(ellipse at 15% 80%,#d7eaff99 0 8%,transparent 9%),radial-gradient(ellipse at 65% 10%,#d7eaff66 0 12%,transparent 13%);clip-path:none;bottom:80%;width:100%;height:80%;opacity:.3}
body[data-game=valorant] .scenery{background-size:auto 110%;background-position:left 70%}body[data-game=valorant] .foreground{background:repeating-linear-gradient(90deg,#071628 0 12px,transparent 13px 95px);height:16%;clip-path:polygon(0 45%,100% 45%,100% 100%,0 100%)}
.altitude-line{display:none}.milestone-toast{top:57%;font-size:19px;z-index:5}.milestone-toast.show{animation:milestone 3s ease}
.game-panel{position:absolute;left:50%;top:20px;transform:translateX(-50%);width:min(740px,calc(100% - 40px));max-height:calc(100% - 180px);padding:14px 24px 16px;border:1px solid #b1c7e12b;border-radius:14px;background:#091628e8;box-shadow:0 15px 45px #030d2544;backdrop-filter:blur(12px);overflow:auto;z-index:5;transition:opacity .25s}
.panel-top{padding-bottom:9px;border-color:#a9c5e51c;gap:20px}.panel-top .eyebrow,.panel-top>span:last-child{font-size:11px}.mode-controls{margin-top:9px}.mode-controls button,.mode-controls .chapter-change{font-size:12px;padding:4px 12px}.game-content{min-height:0;flex:initial;display:block;padding:14px 0 0}
.round-top{margin-bottom:7px}.round-dots{gap:8px}.round-dots span{height:6px;width:20px;border-radius:2px}.timer{font-size:24px}.timer-track{margin-bottom:11px}.question .eyebrow{font-size:11px;letter-spacing:1.1px}.question h2{font-size:clamp(24px,2.1vw,31px);line-height:1.12;margin:7px 0 8px;white-space:normal}.scope{font-size:12px;line-height:1.5;margin-bottom:10px}.type-label{font-size:10px;margin-bottom:12px;padding:3px 7px;border:0;background:#a6c3e30a}
#answerForm{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:0 12px;align-items:start}#answerForm>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#answerForm>input[type=text]{grid-column:1;grid-row:1;margin:0;min-height:49px;padding:12px 15px;background:#081222c9}#answerForm>.primary{grid-column:2;grid-row:1;min-height:47px;padding:12px 14px;font-size:17px}#answerForm>.error{grid-column:1/-1;grid-row:2;margin:6px 0 0;min-height:0;font-size:12px}#answerForm>.error:empty{display:none}#suggestions{grid-column:1/-1;grid-row:3;margin:10px 0 0;display:flex;flex-direction:row;flex-wrap:wrap}#suggestions button{flex:1;min-width:150px}#skip{display:block;margin:10px auto 0;font-size:12px;padding:3px 5px}.score-guide{display:none}
.game-content h2{white-space:normal}.result-badge{font-size:11px;letter-spacing:1.5px}.result-name{font-size:31px!important;line-height:1.1!important;margin:7px 0!important;display:inline-block;width:70%}.result-value{font-size:42px;line-height:1.1;display:inline-block;margin:0 0 10px;width:30%;text-align:right}.result-value small{display:block;font-size:13px;margin-top:4px;margin-left:0;line-height:1.5}.explanation{font-size:12px;line-height:1.6;margin-bottom:9px}.review{padding:9px 0 0}.review summary{font-size:12px}.game-content>.primary#next{width:auto;display:block;margin:12px 0 0 auto!important;min-width:175px;min-height:40px;font-size:16px;padding:9px 16px}.review[open]{max-height:225px;overflow:auto}.answers{font-size:14px}.answers>span:nth-child(2n){font-size:12px}.source-link{font-size:12px}.source-note{font-size:13px}
.traveling .game-panel{background:#091628bd}.traveling .game-content>.explanation,.traveling .review{opacity:.35}.traveling #next{background:#5e7180;box-shadow:none;color:white;cursor:wait}
.year-title{font-size:32px!important;margin:7px 0!important}.year-scope{font-size:12px;margin-bottom:12px;padding:5px 9px}.year-picker{grid-column:1;grid-row:1}.year-picker input{font-size:29px;min-height:49px;padding:7px}.year-picker button{width:36px;min-height:47px}#yearRange{grid-column:1/-1;grid-row:4;margin:12px 0 6px}.year-bounds{grid-column:1/-1;grid-row:5;margin:0;font-size:11px}.year-result{display:inline-flex;width:60%;padding:8px 0;margin:0 0 8px;vertical-align:middle}.year-result span{font-size:10px}.year-result strong{font-size:26px}.year-result+.result-value{width:40%;vertical-align:middle}.year-result~.explanation{margin:0 0 8px}
body[data-phase=home] .game-panel{left:auto;right:7%;top:50%;transform:translateY(-50%);width:440px;max-height:calc(100% - 50px);padding:20px 28px 24px}.game-emblem{display:none}body[data-phase=home] .game-content>.eyebrow{font-size:11px;color:var(--accent);line-height:1.5}body[data-phase=home] .game-content h2{font-size:40px;margin:12px 0}body[data-phase=home] .intro{font-size:15px;line-height:1.7;margin-bottom:18px}.chapter-label{font-size:11px}.chapter-label small{font-size:10px}.chapter-choice{font-size:12px}.chapter-caption{font-size:12px;line-height:1.5}.info-row{margin-bottom:18px;padding-top:12px}.info-row strong{font-size:24px}.info-row span{font-size:10px}.tiny{font-size:12px;margin-top:14px}.primary{min-height:48px;font-size:18px}
body[data-phase=complete] .game-panel{max-height:calc(100% - 145px);width:min(580px,calc(100% - 40px));top:25px}.final-score{font-size:50px;margin:0}.final-score small{font-size:22px}.final-distance{font-size:15px;color:#b9d1df;margin:4px 0 0}.results-list{margin:12px 0}.result-row{padding:7px 0;font-size:13px}.result-row small{font-size:11px}.next-games button{font-size:12px}
footer{height:34px;min-height:34px;padding:5px 28px;font-size:10px;background:#081321;z-index:5}footer button{font-size:11px}footer>span{max-width:60%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}footer>div{gap:15px}
@keyframes pass-by{0%{transform:translateX(0);opacity:0}15%,75%{opacity:.7}100%{transform:translateX(-130vw);opacity:0}}
@keyframes fall-by{0%{transform:translateY(0);opacity:0}15%,75%{opacity:.7}100%{transform:translateY(100vh);opacity:0}}
@keyframes glider-surge{0%{transform:rotate(0)}18%{transform:rotate(-12deg) translateY(-20px) scale(1.08)}65%{transform:rotate(5deg) translateY(-9px)}100%{transform:rotate(0)}}
@keyframes octane-surge{0%{transform:rotate(0)}25%{transform:rotate(-26deg) scale(1.13)}70%{transform:rotate(8deg) translateY(-10px)}100%{transform:rotate(0)}}
@keyframes shadow-surge{0%{opacity:1;transform:scale(1)}18%{opacity:.25;transform:scaleX(.7) translateY(-15px)}45%{opacity:.6;transform:scaleX(.85)}80%{opacity:1;transform:scale(1.12)}100%{transform:scale(1)}}
@keyframes time-surge{0%{transform:rotate(0)}30%{transform:rotate(180deg) scale(.7);filter:brightness(2)}80%{transform:rotate(360deg) scale(1.2)}100%{transform:rotate(360deg)}}
@keyframes wind-trail{0%,100%{opacity:0;width:0}18%,65%{opacity:.7;width:220px}}
@keyframes arrival-ring{0%,65%{opacity:0;transform:translate(-50%,-50%) scale(.3)}75%{opacity:.9}100%{opacity:0;transform:translate(-50%,-50%) scale(2.7)}}
@keyframes reward-reveal{0%,100%{opacity:0;transform:translate(-50%,-40%) scale(.9)}16%,72%{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media(min-width:1600px){.game-panel{padding:16px 28px;width:760px}body[data-phase=home] .game-panel{right:13%;width:470px}.scene-title{left:12%}.actor{width:210px}}
@media(max-width:1000px){.game-tabs{padding:0 12%}.scene-title{left:5%;max-width:280px}.scene-title h1{font-size:49px!important}.scene-description{font-size:14px;max-width:240px}body[data-phase=home] .game-panel{right:4%;width:410px}.journey-strip{width:300px;left:calc(50% - 150px)}.world-hud .hud-caption{display:none}.score strong{font-size:38px}.world-hud-right .zone{font-size:16px}}
@media(max-width:780px){body{grid-template-rows:54px 52px minmax(620px,1fr) 34px}.site-header{height:54px;padding:0 16px}.brand{font-size:23px}.brand small{font-size:7px}.brand>svg{width:17px;height:24px}.icon-btn{width:29px;height:29px}.game-tabs{height:52px;padding:0 8px}.game-tab{flex-direction:row;font-size:11px;gap:5px}.game-tab .tab-icon{font-size:19px}.game-tab>.val-icon{font-size:16px}.game-tab small{display:none}main{min-height:620px}.world{height:100%}.game-panel{top:12px;width:calc(100% - 24px);padding:11px 15px 13px;border-radius:11px;max-height:calc(100% - 175px)}.panel-top{padding-bottom:8px}.panel-top .eyebrow,.panel-top>span:last-child{font-size:10px}.game-content{padding-top:10px}.game-content h2{font-size:29px}.question h2{font-size:23px;line-height:1.18}.scope{font-size:12px;line-height:1.5}.question .eyebrow{font-size:10px}.type-label{font-size:9px;margin-bottom:9px}.round-top{margin-bottom:4px}.timer{font-size:22px}.round-dots span{width:16px}.timer-track{margin-bottom:9px}#answerForm{grid-template-columns:minmax(0,1fr) 108px;gap:0 9px}#answerForm>.primary{font-size:15px;padding:12px 8px}#answerForm>input[type=text]{font-size:16px;padding:12px 10px}#skip{font-size:11px}.mode-controls button,.mode-controls .chapter-change{font-size:11px}.scene-title{display:none}.scene-top{bottom:111px;left:18px;right:18px;font-size:9px}.scene-top>span:last-child{display:none}.world-hud{bottom:53px;left:18px;right:18px}.world-hud .eyebrow{font-size:9px}.score strong{font-size:35px}.score>span{font-size:20px}.world-hud-right .zone{font-size:14px}.mini-tally span{width:18px}.journey-strip,body[data-game=rocket] .journey-strip{left:18px;right:18px;width:auto;bottom:21px}.journey-meta{font-size:8px}.actor,body[data-game=rocket] .actor{width:155px}body[data-game=valorant] .actor{width:100px}body[data-game=rewind] .actor{width:90px}.reward-title{top:56%}.reward-title strong{font-size:35px;letter-spacing:1px}.reward-title span{font-size:10px;letter-spacing:2px}.reward-title small{font-size:11px;letter-spacing:0}.milestone-toast{top:64%;font-size:16px;white-space:nowrap}.landmark{font-size:11px}.landmark span{padding:5px 8px}.result-name{font-size:25px!important;width:65%}.result-value{font-size:34px;width:35%}.result-value small{font-size:11px}.explanation{font-size:12px}.game-content>.primary#next{min-width:145px;font-size:15px}.year-title{font-size:28px!important}.year-scope{font-size:11px}.year-result strong{font-size:23px}.year-picker{gap:5px}.year-picker button{width:26px;font-size:20px}.year-picker input{font-size:27px;min-width:0}.time-orb{transform:scale(.75)}body[data-phase=home] .game-panel{left:50%;right:auto;top:16px;transform:translateX(-50%);width:calc(100% - 32px);padding:17px 20px 20px;max-height:calc(100% - 160px)}body[data-phase=home] .game-content h2{font-size:32px}body[data-phase=home] .intro{font-size:14px;line-height:1.6}.chapter-choice{font-size:11px;padding:8px 3px;min-height:40px}.chapter-label{font-size:10px}.chapter-label small{font-size:9px}.chapter-grid{margin-bottom:15px}.chapter-caption{font-size:11px;margin-bottom:13px}.info-row strong{font-size:22px}.info-row span{font-size:9px}.tiny{font-size:11px;line-height:1.5;margin-top:12px}body[data-phase=complete] .game-panel{top:12px;max-height:calc(100% - 160px);padding:15px 18px;width:calc(100% - 24px)}.final-score{font-size:44px}.final-score small{font-size:18px}.final-distance{font-size:13px}.results-list{margin:10px 0}.result-row{font-size:12px}.next-games button{padding:8px 3px}.secondary{min-height:38px;font-size:12px}footer{height:34px;min-height:34px;padding:7px 12px;display:block;text-align:center}footer>span{display:none}footer>div{justify-content:center;gap:14px}footer button{font-size:10px}#resetClock{font-size:9px}.score-guide{display:none}}
@media(max-width:370px){.game-tab{font-size:10px}.game-tab .tab-icon{display:none}.game-panel{padding:10px 12px}.question h2{font-size:21px}.scope{font-size:11px}#answerForm{grid-template-columns:minmax(0,1fr) 100px}.chapter-choice{font-size:10px}.brand small{display:none}body[data-phase=home] .intro{font-size:13px}.reward-title strong{font-size:30px}}
@media(prefers-reduced-motion:reduce){.particles,.reward-title{display:none!important}.actor,.scenery,.foreground,.landmarks{transition:none!important}.traveling .game-content>.explanation,.traveling .review{opacity:1}}

.scene-top{display:none}.world.no-motion .scenery,.world.no-motion .actor,.world.no-motion .foreground,.world.no-motion .landmarks{transition:none!important}body[data-phase=home][data-game=rocket] .actor{left:42%!important}.world-hud{z-index:4}.result-name{vertical-align:middle}.result-value{vertical-align:middle}

.game-panel{min-height:0}.reward-title{top:58%}.traveling .game-content>.explanation,.traveling .game-content>.review{display:none}.traveling .result-name{width:65%}.traveling .result-value{width:35%}
@media(max-width:780px){.game-panel{min-height:0}.reward-title{top:59%}}

body[data-game=fortnite] .actor{width:155px}body:not([data-phase=home]) .mode-controls{position:absolute;right:88px;top:8px;margin:0}body:not([data-phase=home]) .mode-controls #dailyMode,body:not([data-phase=home]) .mode-controls #freeMode{display:none}body:not([data-phase=home]) .mode-controls .chapter-change{font-size:11px;padding:2px 8px}
@media(max-width:780px){body[data-game=fortnite] .actor{width:135px}body:not([data-phase=home]) .mode-controls{right:64px;top:9px}body:not([data-phase=home]) .mode-controls .chapter-change{font-size:10px;padding:0 6px}body[data-game=fortnite] .panel-top .eyebrow{max-width:45%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

.milestone-toast{top:auto;bottom:120px;font-size:16px}.reward-title span{text-transform:uppercase}
@media(max-width:780px){.milestone-toast{top:auto;bottom:135px;font-size:14px}}
