.rocket-home-bg{position:fixed;inset:0;z-index:-1;pointer-events:none;background:#f1d9b6 url('art/rocket-room-v1.webp') center/cover no-repeat}
.rocket-daydream{position:fixed;inset:0;z-index:0;pointer-events:none;background:linear-gradient(#9adcf4,#e3f6ee 80%,#f8ead4);opacity:0;transition:opacity .6s;overflow:hidden}
.rocket-daydream.visible{opacity:1}
.rocket-sun{position:absolute;right:9%;top:8%;font-size:clamp(100px,18vw,230px);color:#ffcf61;filter:drop-shadow(0 5px 0 #f6ad4d88);line-height:1}
.rocket-cloud{position:absolute;left:8%;top:32%;width:24%;height:8%;border-radius:50%;background:#ffffffe6;box-shadow:45px -24px 0 0 #ffffffe6,95px -4px 0 5px #ffffffe6}
.rocket-cloud.cloud-two{left:auto;right:15%;top:62%;width:18%;opacity:.85}
.rocket-papers i{position:absolute;left:calc(var(--i) * 5.5%);top:-5%;width:12px;height:20px;background:#f0a1a3;transform:rotate(calc(var(--i) * 27deg));animation:rocketPaper calc(3s + var(--i) * .08s) linear infinite;animation-delay:calc(var(--i) * -.3s)}
.rocket-papers i:nth-child(3n){background:#e8c765}.rocket-papers i:nth-child(3n+1){background:#86c7bc}
@keyframes rocketPaper{to{top:110%;transform:rotate(540deg)}}
body.rocket-motion-paused .rocket-papers i{animation-play-state:paused}
body.room-adventure.rocket-mission-active .story-world-backdrop{visibility:hidden}
body.room-adventure.rocket-mission-active #playScreen .story-window{display:none!important}
body.room-adventure.rocket-mission-active #playScreen .play-world{display:block!important;height:100%!important}
body.room-adventure.rocket-mission-active #gameBoard{height:100%!important;width:100%!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:7px 10px 0!important;gap:3px!important;overflow:visible!important;z-index:1}
body.room-adventure.rocket-mission-active #gameBoard .mini-heading{justify-content:flex-end;min-height:40px;z-index:4}
body.room-adventure.rocket-mission-active #gameBoard .mini-heading .eyebrow{display:none}
body.room-adventure.rocket-mission-active #gameBoard #feedback{position:absolute;bottom:0;left:0;right:0;pointer-events:none}
body.room-adventure.rocket-mission-active #roundBoard.rocket-mission{position:relative;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto auto;align-items:center;justify-items:center;justify-content:stretch;align-content:stretch;gap:4px!important;padding:0 2px 6px!important;overflow:visible!important}
body.room-adventure.rocket-mission-active #roundBoard>.rocket-title{font-size:clamp(29px,3.7vw,52px)!important;min-width:0!important;padding:8px 36px!important;line-height:1.1;margin:0!important;background:#fff9e9!important;color:#214f49;box-shadow:0 4px 0 #b69a7444;border-radius:48% 44% 45% 40%!important}
.rocket-world{width:100%;height:100%;position:relative;min-height:0;isolation:isolate}
.rocket-position{position:absolute;left:50%;bottom:15%;width:min(60vw,77vh,900px);aspect-ratio:4/3;transform:translate(-50%,calc(-1 * var(--lift,0px)));transition:transform .5s ease-out}
.rocket-craft{position:relative;display:block;width:100%;height:100%;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-height:0!important;touch-action:none;isolation:isolate;filter:drop-shadow(0 12px 5px #6648232b)}
.rocket-craft:disabled{opacity:1!important;cursor:default}
.rocket-crew{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}
.rocket-fin,.rocket-fin-slot{position:absolute!important;left:-4%;top:63%;width:18%;height:24%;padding:0!important;display:block;min-height:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:rotate(-5deg);z-index:3}
.rocket-fin svg,.rocket-fin-slot svg,.rocket-part svg{width:100%;height:100%;display:block;pointer-events:none;overflow:visible}
.rocket-fin-slot{opacity:.55;outline:4px dashed #fff9df!important;outline-offset:4px;cursor:pointer;filter:drop-shadow(0 0 8px #fff6ad)}
.rocket-fin-slot svg{filter:grayscale(.7);opacity:.6}
.rocket-part-tray{position:absolute;bottom:0;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:24px;padding:8px 18px;background:#fff5df85;border-radius:45px}
.rocket-mission button{font-family:Froople,'Trebuchet MS',sans-serif!important;color:#244f49;touch-action:none;user-select:none;-webkit-user-select:none}
.rocket-mission button:focus-visible{outline:4px solid #247fa4!important;outline-offset:5px}
.rocket-part{display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:center;width:124px;height:130px;padding:7px 12px!important;min-height:70px!important;background:#fff7e4!important;border:4px solid #fffc!important;border-radius:36%!important;box-shadow:0 6px 0 #b6906655!important;font-size:25px!important}
.rocket-part[aria-pressed=true]{outline:4px solid #ffe687;outline-offset:4px;transform:translateY(-4px)}
.rocket-part:disabled{opacity:.5;filter:saturate(.5)}
.rocket-part b{line-height:1.1}.rocket-status:empty{display:none}.rocket-status{font-size:21px;background:#fff8e8d9;border-radius:25px;padding:3px 18px;margin:0!important;color:#28574c}
body.room-adventure.rocket-mission-active .rocket-next,body.room-adventure.rocket-mission-active .rocket-launch{min-height:48px!important;padding:8px 30px!important;margin:0!important;font-size:27px!important;min-width:175px;background:#ffde7d!important;border:3px solid #fff!important;border-radius:999px!important}
.rocket-world[data-round="1"] .rocket-position{left:38%;bottom:8%;width:min(59vw,78vh,870px)}
.rocket-console{position:absolute;right:9%;bottom:10%;width:270px;height:335px;border:8px solid #bc9871;border-radius:20px 20px 30px 30px;background:repeating-linear-gradient(0deg,#d6b287 0 3px,#d9b88e 4px 8px);transform:rotate(2deg);box-shadow:7px 10px 0 #8f6e4c55;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:24px 1fr 1fr;gap:12px;padding:15px;z-index:4}
.rocket-console::before{content:'';position:absolute;top:-15px;left:15%;width:40%;height:27px;background:#e8d6adad;transform:rotate(-4deg)}
.rocket-lamps{grid-column:1/-1;display:flex;gap:14px;justify-content:center;align-items:center}
.rocket-lamps i{width:21px;height:21px;border:3px solid #fff5d8;border-radius:50%;background:#a3aa8b;box-shadow:inset 0 2px 2px #685e3a44}
.rocket-lamps i.lit{background:#ffe279;box-shadow:0 0 15px #fff09e}
.rocket-control{min-height:0!important;padding:5px!important;border:5px solid #fff7df!important;border-radius:30%!important;box-shadow:0 6px 0 #9b765655!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;font-size:30px!important}
.rocket-control span{font-size:37px;line-height:1.1}.rocket-on{background:#e2e8ba!important}.rocket-up{background:#d7e5eb!important;transform:translateY(var(--pull,0px));transition:transform .12s}.rocket-go{grid-column:1/-1;background:#ffd28a!important;flex-direction:row!important;gap:16px!important}
.rocket-control:disabled{opacity:.58!important;filter:saturate(.5)}.rocket-control-ready{outline:4px solid #ffecad;outline-offset:3px}
.rocket-paper-flame{position:absolute;left:-15%;top:72%;height:14%;width:24%;display:none;z-index:-1;transform:rotate(-6deg)}
.rocket-paper-flame i{position:absolute;right:0;top:10%;width:90%;height:22%;background:#f2bd61;transform:rotate(-8deg);border-radius:4px;box-shadow:0 2px 2px #b47a4355}
.rocket-paper-flame i:nth-child(2){top:38%;width:100%;background:#e99e94;transform:rotate(2deg)}.rocket-paper-flame i:nth-child(3){top:65%;width:80%;background:#a9cfba;transform:rotate(10deg)}
.rocket-powered .rocket-paper-flame{display:block;opacity:calc(.4 + var(--power) * .2)}
.rocket-world[data-round="2"] .rocket-position{bottom:19%;width:min(55vw,68vh,790px)}
.rocket-sound-track{position:absolute;bottom:0;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:34px;padding:10px 25px;touch-action:none;user-select:none}
.rocket-sound-track::before{content:'';position:absolute;left:12%;right:12%;top:50%;border-top:7px dashed #fff8dc;z-index:-1;filter:drop-shadow(0 2px 2px #876b4c55)}
.rocket-sound{width:98px;height:98px;min-height:0!important;border:5px solid #fff7df!important;border-radius:50%!important;background:#deead1!important;box-shadow:0 7px 0 #a6ad7c77!important;padding:5px!important;font-size:56px!important;position:relative;transition:transform .2s,background .2s}
.rocket-sound.sound-lit{background:#ffe79a!important;box-shadow:0 0 22px #ffe8a8,0 7px 0 #c1a05c77!important;transform:translateY(-5px)}
.rocket-flying .rocket-sound-track{opacity:.3}.rocket-flying .rocket-paper-flame{display:block;opacity:1}
@media(max-width:1000px){.rocket-position{width:min(66vw,74vh,800px)}.rocket-console{right:4%;width:230px;height:280px;padding:12px;gap:10px}.rocket-world[data-round="1"] .rocket-position{left:35%;width:62vw}.rocket-control{font-size:25px!important}.rocket-control span{font-size:30px}}
@media(max-width:700px) and (orientation:portrait){.rocket-home-bg{background-position:43% center}.rocket-position{width:83vw;bottom:24%}.rocket-part-tray{width:max-content;gap:12px;padding:8px 10px;bottom:2%}.rocket-part{width:88px;height:108px;font-size:24px!important;padding:6px!important;border-width:3px!important}.rocket-fin-slot{outline-width:3px!important;outline-offset:2px}body.room-adventure.rocket-mission-active #gameBoard{padding:3px 4px 0!important}body.room-adventure.rocket-mission-active #roundBoard>.rocket-title{font-size:31px!important;padding:10px 24px!important}.rocket-world[data-round="1"] .rocket-position{left:50%;bottom:39%;width:83vw}.rocket-console{right:auto;left:50%;transform:translateX(-50%) rotate(-2deg);bottom:1%;width:280px;height:175px;grid-template-columns:1fr 1fr 1fr;grid-template-rows:20px minmax(0,1fr);gap:10px;padding:9px 12px;border-width:6px}.rocket-lamps{grid-column:1/-1}.rocket-go{grid-column:auto;flex-direction:column!important;gap:0!important}.rocket-control{font-size:24px!important;border-width:3px!important}.rocket-control span{font-size:30px}.rocket-world[data-round="2"] .rocket-position{width:83vw;bottom:31%}.rocket-sound-track{gap:20px;padding:12px;bottom:3%}.rocket-sound{width:80px;height:80px;font-size:45px!important;border-width:4px!important}.rocket-title{max-width:95%}.rocket-sun{top:18%;right:3%;font-size:110px}.rocket-cloud{left:0;top:44%;width:24%;height:5%}}
@media(max-height:560px) and (orientation:landscape){body.room-adventure.rocket-mission-active #gameBoard .mini-heading{position:absolute;right:12px;top:0;width:auto;z-index:5}body.room-adventure.rocket-mission-active #roundBoard>.rocket-title{font-size:24px!important;padding:5px 25px!important}.rocket-position{width:48vw;bottom:3%;left:37%}.rocket-part-tray{left:auto;right:0;transform:none;top:6%;bottom:auto;flex-direction:column;gap:5px;padding:5px}.rocket-part{width:86px;height:75px;font-size:20px!important;padding:2px!important;border-width:2px!important}.rocket-world[data-round="1"] .rocket-position{width:50vw;left:35%;bottom:0}.rocket-console{right:5%;bottom:3%;height:200px;width:190px;border-width:5px;padding:8px;gap:7px}.rocket-control{font-size:22px!important;border-width:3px!important}.rocket-control span{font-size:26px}.rocket-world[data-round="2"] .rocket-position{width:45vw;bottom:0;left:30%}.rocket-sound-track{left:auto;right:0;bottom:10%;transform:none;gap:10px;padding:6px}.rocket-sound{width:64px;height:64px;font-size:36px!important;border-width:3px!important}body.room-adventure.rocket-mission-active .rocket-next,body.room-adventure.rocket-mission-active .rocket-launch{position:absolute;right:4%;bottom:0;font-size:20px!important;min-height:38px!important;padding:4px 20px!important;min-width:140px}.rocket-status{font-size:17px}}
@media(prefers-reduced-motion:reduce){.rocket-mission *, .rocket-daydream{animation:none!important;transition:none!important}.rocket-papers{display:none}}
