/* Probability Observatory. One score, one physical height, one uninterrupted shaft. */
:root{--ascent-craft-x:68vw;--ascent-craft-y:48vh;--ascent-console:470px}
body{background:#102c38}
#pavilionWorld>svg{display:block}#pavilionWorld>canvas~svg{display:none}
.motion-switch{font:700 18px Arial,sans-serif;color:#c6ecd6}.motion-switch[aria-pressed="true"]{color:#f4d087;border-color:#f4d08788}
.wordmark{text-shadow:0 2px 7px #092430;background:#102e3b96;border-radius:12px;padding:7px 13px}
header{position:relative;z-index:4}
#home{isolation:isolate}
#home::before{content:'';position:absolute;z-index:-1;inset:-120px calc((100% - 100vw)/2) 0;pointer-events:none;mask-image:linear-gradient(#000 0%,#000 88%,transparent 100%);background:linear-gradient(90deg,#092b3aef 0%,#10313de8 30%,#10313d60 48%,transparent 59%)}
#home .home-help,#home .home-minor,#home .streak,#home .reset,#home .arrival-meta{text-shadow:0 1px 4px #062331}
.arrival-host::after{content:'YOUR OBSERVATORY CAPSULE';color:#e1d8b9a6;bottom:12%}
#game{position:relative;max-width:1180px;align-items:flex-start;gap:0;min-height:calc(100svh - 100px)}
#game>[data-journey]{width:min(var(--ascent-console),43vw)}
.journey{padding:8px 0 10px;width:100%}.journey-track{display:none}.journey-caption{display:flex;justify-content:space-between;gap:12px;color:#b9cebf;font-size:9px;letter-spacing:.06em}.journey-caption span:last-child{font-size:8px;color:#e0c68d}
#card{display:flex;flex-direction:column;gap:10px;width:min(var(--ascent-console),43vw);padding:16px 19px 18px;background:linear-gradient(150deg,#133442f2,#102f3eea);border:1px solid #bac39b36;border-radius:20px;box-shadow:0 20px 65px #031c2c44;isolation:isolate}
#card::after{display:none}
#card>.toprow{min-height:30px;font-size:10px;gap:8px;padding-bottom:10px}#hudScore{font-size:17px}
.q{padding:0;min-height:0}#q{font-size:24px;line-height:1.18;max-width:none}.cat{margin-bottom:7px;font-size:8px}
.event-scene,body[data-collection] .event-scene{border-radius:13px;box-shadow:0 10px 28px #011e2833;flex-shrink:0}
.scene-viewport{position:relative;width:100%;aspect-ratio:16/9;flex:none;overflow:hidden}
#eventScene .scene-art{width:100%;height:100%;max-height:none;min-height:0;aspect-ratio:auto}
#eventScene figcaption{min-height:29px;padding:6px 10px;font-size:8px;background:#102b38eb}
.live-scene{display:inline-flex;align-items:center;gap:5px;font-size:7px;letter-spacing:.1em;flex:none;color:#a6ddc7}.live-scene i{width:4px;height:4px;border-radius:50%;background:currentColor;box-shadow:0 0 8px #a6ddc7;animation:scene-live 2.2s ease-in-out infinite}@keyframes scene-live{50%{opacity:.5;box-shadow:0 0 3px #a6ddc7}}.calm .live-scene{visibility:hidden}
.dialwrap{display:none!important}
#timerBox{padding:0;width:100%}.timebulbs i{height:3px}.timerow{font-size:9px;margin-top:5px}.timerow b{font-size:10px}
.readout{min-height:0;gap:3px;padding:0;margin:0}.readout .flaps{--fs:24px}.chance{font-size:11px;min-height:0}
#controls{width:100%;padding:0;border:0;background:none;box-shadow:none}.ends{font-size:9px}.guess-format{margin-top:6px}.guess-format .pill{min-height:32px;font-size:11px;padding:5px 12px}.controls{margin-top:9px!important;gap:8px}.typed input{height:44px;font-size:18px;max-width:120px}.typed{font-size:12px}.lock{height:44px;min-height:44px;font-size:14px;padding:10px 22px;border-radius:11px}
.round-caption{font-size:9px;margin:0;line-height:1.4;text-align:center}#motionCue{font-size:9px;min-height:0;margin:0}
#ascentWindow{display:none}
#altitudeHUD{position:fixed;z-index:2;left:var(--ascent-craft-x);top:calc(var(--ascent-craft-y) + 205px);transform:translateX(-50%);text-align:center;pointer-events:none;white-space:nowrap;color:#f8e6be;text-shadow:0 2px 8px #071e2f,0 0 22px #071e2f;padding:10px 25px;background:radial-gradient(ellipse,#102e3dc2,transparent 72%)}
.altitude-label{display:block;font-size:9px;letter-spacing:.25em;color:#b7d7c8;margin-bottom:3px}#altitudeValue{font:500 48px/1.1 Georgia,serif;letter-spacing:-2px;font-variant-numeric:tabular-nums}.altitude-unit{font:18px Georgia,serif;margin-left:7px}.altitude-max{font-size:11px;color:#c1d0bf}#ascentStatus{display:block;margin-top:6px;font-size:10px;color:#c7d7c8}
#ascentReadout{padding:19px 0 11px;border-top:1px solid #bdcca332;text-align:left}.ascent-kicker{display:block;font-size:8px;color:#aad1bc;letter-spacing:.22em}#ascentDelta{display:block;margin-top:7px;font:400 64px/1.05 Georgia,serif;letter-spacing:-3px;color:#f8d795}#ascentSummary{font-size:12px;line-height:1.6;color:#c6d7c6;margin:9px 0 0}#ascentFallback{font-size:11px;margin-top:7px;color:#f0c68d}
body[data-phase="revealing"] #card,body[data-phase="feedback"] #card{background:linear-gradient(150deg,#123442e8,#102f3ee0)}
body[data-phase="revealing"] #eventScene,body[data-phase="feedback"] #eventScene,body[data-phase="revealing"] #timerBox,body[data-phase="revealing"] .readout,body[data-phase="feedback"] .readout{display:none!important}
body[data-phase="revealing"] #q,body[data-phase="feedback"] #q{font-size:21px}
body[data-phase="revealing"] #card{min-height:340px}.skip-reveal{align-self:flex-start;margin:8px 0;font-size:11px}
#result{padding:0;width:100%;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}#result>div{gap:12px!important}.verdict{border-bottom:1px solid #c4ccad24;padding-bottom:10px;min-height:30px}.tier,.tier.t0,.tier.t1{font-size:23px}.pts{font-size:23px}.pts::after{content:' pts';font:10px var(--body);color:#bcd0bc}.comparison b{font-size:19px}.comparison small{font-size:8px}.fact{font-size:12px;line-height:1.55;background:#09273766;padding:12px}.wait,.round-proof{font-size:11px;line-height:1.5}.evidence-label{font-size:9px}
#next{position:relative;bottom:auto;right:auto;width:100%;min-width:0;box-shadow:0 3px 0 #91784c;margin-top:3px;font-size:14px;min-height:44px}
#end{max-width:1180px;align-items:flex-start}#end>.card{width:min(560px,46vw);padding:24px;background:#133442ed}.finale-host{display:none}.endscore{font-family:Georgia,serif;letter-spacing:-4px;font-weight:400}.result-strip{height:85px}.result-bar b{height:calc(var(--points)*.55px + 3px)}
.keyboard-open #ascentWindow,.keyboard-open #altitudeHUD{display:none!important}
@media(min-width:701px) and (max-height:780px){:root{--ascent-console:420px}#card{gap:8px;padding:13px 16px}#q{font-size:22px}.readout .flaps{--fs:20px}#eventScene .scene-viewport{aspect-ratio:1.9}.round-caption{font-size:8px}#altitudeHUD{top:calc(var(--ascent-craft-y) + 185px)}}
@media(min-width:701px) and (max-width:950px){:root{--ascent-craft-x:73vw;--ascent-console:400px}#card,#game>[data-journey]{width:47vw}#q{font-size:22px}.typed input{max-width:100px}.lock{padding-inline:16px}#ascentStatus{font-size:9px}#altitudeValue{font-size:40px}}
@media(max-width:700px){
  :root{--ascent-craft-x:50vw;--ascent-craft-y:220px}
  body[data-view="home"]{--ascent-craft-y:350px}
  body{padding:12px 14px 24px}.hgroup{gap:7px}.ibtn{width:36px;height:36px}.wordmark{padding:6px 9px}
  #home{padding-top:14px;gap:10px}#home::before{inset:-100px calc((100% - 100vw)/2) 0;background:linear-gradient(#0c2c3ef2 0%,#10313dcc 21%,transparent 35%,transparent 49%,#10313de8 65%,#10313de8 100%)}
  #home .arrival-host{height:215px;flex-basis:215px}.arrival-host::after{bottom:9px;font-size:7px}
  #game{gap:0;padding:0;width:100%;min-height:0}#game>[data-journey]{width:100%}.journey{padding:8px 2px 6px}.journey-caption{font-size:8px}.journey-caption span:last-child{font-size:7px}
  #ascentWindow{display:block;height:239px;width:100%;flex:none;pointer-events:none}
  #altitudeHUD{left:auto;right:9px;top:101px;transform:none;text-align:right;padding:7px 9px;max-width:155px;white-space:normal;background:none}#altitudeValue{font-size:32px;letter-spacing:-1px}.altitude-label{font-size:7px;letter-spacing:.12em}.altitude-unit{font-size:13px;margin-left:4px}.altitude-max{font-size:8px}#ascentStatus{font-size:8px;line-height:1.4;max-width:120px;margin-top:4px}
  #card,body[data-phase] #card{width:100%;padding:12px;gap:8px;border-radius:17px;background:#123441}#card>.toprow{font-size:9px;min-height:26px;padding-bottom:7px}#hudScore{font-size:15px}#q{font-size:21px}.cat{font-size:8px;margin-bottom:5px}.q{padding:0}
  #eventScene figcaption{min-height:26px;font-size:8px}#eventScene .scene-viewport{aspect-ratio:2.35}.readout .flaps{display:none}.chance{font-size:10px}
  #controls{padding:0}.controls{margin-top:8px!important}.typed input{max-width:108px;font-size:17px}.lock{font-size:12px;padding-inline:18px}.guess-format .pill{min-height:32px;font-size:10px}.ends{font-size:8px}.round-caption{font-size:8px}
  body[data-phase="feedback"] #card{padding-bottom:14px}body[data-phase="revealing"] #card{min-height:260px}#ascentReadout{padding:12px 0 6px}#ascentDelta{font-size:46px;letter-spacing:-2px}#ascentSummary{font-size:11px;margin-top:6px}#ascentReadout .ascent-kicker{font-size:7px}
  #result{padding:0}#result>div{gap:10px!important}.tier,.tier.t0,.tier.t1{font-size:23px}.pts{font-size:24px}.comparison b{font-size:18px}.fact{font-size:11px;padding:10px}.wait,.round-proof{font-size:10px}.verdict{padding-bottom:8px}#next{font-size:13px}
  body[data-phase="feedback"] #ascentReadout{display:grid;grid-template-columns:auto 1fr;gap:4px 17px;align-items:center;padding:10px 0 4px}body[data-phase="feedback"] .ascent-kicker{grid-column:1/-1}body[data-phase="feedback"] #ascentDelta{font-size:39px;margin:0;white-space:nowrap}body[data-phase="feedback"] #ascentSummary{margin:0;font-size:10px;line-height:1.4}body[data-phase="feedback"] #ascentFallback{grid-column:1/-1}body[data-phase="feedback"] .verdict .pts{display:none}body[data-phase="feedback"] .verdict{min-height:23px;padding-bottom:7px}body[data-phase="feedback"] .tier{font-size:20px}
  #end{width:100%;padding-top:265px}#end>.card{width:100%;padding:18px}.endscore{font-size:68px}.keyboard-open #game{padding-top:0}.keyboard-open #card{width:100%}
}
@media(max-width:700px) and (max-height:719px){:root{--ascent-craft-y:170px}body[data-view="home"]{--ascent-craft-y:305px}#ascentWindow{height:180px}#altitudeHUD{top:86px}#home .arrival-host{height:170px;flex-basis:170px}#end{padding-top:185px}}
@media(max-width:350px){body{padding-inline:10px}.hgroup{gap:5px}.ibtn{width:33px;height:33px}#card{padding:10px}#q{font-size:19px}.typed input{max-width:94px}.lock{padding-inline:14px}.journey-caption span:last-child{font-size:6px}}
.calm .live-scene i{animation:none!important}
