/* One quiet room, one cardboard toy, one action at a time. */
body.room-adventure.rocket-mission-active #roundBoard.rocket-mission{grid-template-rows:auto minmax(0,1fr) auto!important;gap:4px!important}
body.room-adventure.rocket-mission-active #roundBoard>.rocket-title{font-size:clamp(29px,3.7vw,49px)!important}
.rocket-home-bg{background-position:center;filter:blur(3px)}
.rocket-world{--power:0}
.rocket-world::before{content:'';position:absolute;left:50%;bottom:17%;width:40%;height:6%;translate:-50% 0;background:radial-gradient(ellipse,#ffe0a36b,transparent 70%);border-radius:50%;pointer-events:none}
.rocket-position,.rocket-world[data-round="1"] .rocket-position,.rocket-world[data-round="2"] .rocket-position{left:50%;bottom:22%;width:min(37vw,33dvh,480px);aspect-ratio:3/4}
.rocket-crew{object-fit:contain;object-position:center}
.rocket-fin,.rocket-fin-slot{left:-6%;top:62%;width:24%;height:24%;transform:rotate(0deg)}
.rocket-fin-slot{outline:0!important;filter:drop-shadow(0 0 6px #fff7b5);opacity:.75;border:3px dashed #fff7ca!important;clip-path:polygon(100% 0,100% 100%,0 100%)}
.rocket-fin-slot svg{opacity:.25}
.rocket-part-tray{bottom:0;background:none;border-radius:0;padding:8px;gap:24px}
.rocket-part{width:112px;height:118px;border-radius:28%!important;font-size:24px!important}
.rocket-part:disabled{opacity:.3}
.rocket-world[data-round="1"] .rocket-position{left:39%;bottom:12%;width:min(38vw,35dvh,500px)}
.rocket-world[data-round="1"]::before{left:39%;bottom:8%}
.rocket-fuel-port{position:absolute;left:35%;top:66%;width:23%;height:16%;padding:0!important;min-width:44px;min-height:44px;border:3px dashed #fff8cf!important;border-radius:50%!important;background:#a2d8e5b3!important;box-shadow:0 0 18px #fff4a899!important;z-index:5;font-size:35px!important;color:#346c80!important}
.rocket-fuel-port.drop-near{background:#ffe99ddd!important;scale:1.12}
.rocket-fuel-lights{position:absolute;left:33%;top:60%;width:36%;display:flex;justify-content:center;gap:9px;z-index:5}
.rocket-fuel-lights i{width:15px;height:15px;flex:none;border:2px solid #fff3cc;border-radius:50%;background:#937657;box-shadow:0 1px 3px #54371a55}
.rocket-fuel-lights i.lit{background:#ffe796;box-shadow:0 0 12px #ffed9e}
.rocket-bubble-field{position:absolute;left:66%;right:5%;top:27%;bottom:11%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;gap:14px}
.rocket-bubble{position:relative;width:clamp(72px,8vw,100px);aspect-ratio:1;height:auto;min-height:64px!important;padding:3px!important;border:3px solid #fffdf3!important;border-radius:50%!important;background:radial-gradient(circle at 29% 23%,#ffffffec,#bce9f093 32%,#73bed971 68%,#bce4edc2)!important;color:#285865!important;box-shadow:inset 3px 4px 9px #fff,0 5px 0 #619ebc55,0 8px 20px #6d9eae30!important;font-size:clamp(40px,4vw,58px)!important;animation:rocketBubbleFloat 3.8s ease-in-out infinite alternate;animation-delay:calc(var(--bubble-index)*-.9s);touch-action:none}
.rocket-bubble::before{content:'';position:absolute;left:18%;top:13%;width:19%;height:12%;rotate:-35deg;border-radius:50%;background:#fff9;pointer-events:none}
.rocket-bubble:nth-child(2){background:radial-gradient(circle at 29% 23%,#fff,#e7dcf5ab 34%,#b89bd385 70%,#ebdef8c9)!important;color:#68518b!important}
.rocket-bubble:nth-child(3){background:radial-gradient(circle at 29% 23%,#fff,#e6efc6ab 34%,#b8cb8685 70%,#ebf5d2c9)!important;color:#557945!important}
.rocket-bubble.selected{outline:4px solid #ffdf82!important;outline-offset:5px;animation-play-state:paused}
.touch-drag-ghost.rocket-bubble{animation:none!important}
@keyframes rocketBubbleFloat{from{translate:-9px -4px}to{translate:10px 7px}}
body.rocket-motion-paused .rocket-bubble{animation-play-state:paused!important}
.rocket-sound-track{gap:30px;bottom:1%;padding:10px 20px}
.rocket-sound{width:86px;height:86px;font-size:51px!important}
.rocket-sound-track::after{content:'';position:absolute;left:50%;bottom:82%;height:50px;width:4px;background:linear-gradient(#fff4ad,transparent);opacity:0;pointer-events:none;z-index:-1}
.rocket-sound-track:has(.sound-lit)::after{opacity:.9;box-shadow:0 0 14px #ffe893}
.rocket-paper-flame,.rocket-flying .rocket-paper-flame{left:36%;top:88%;width:30%;height:23%;transform:rotate(90deg);z-index:-1}
.rocket-engine-glow,.rocket-flying .rocket-engine-glow{left:27%;top:83%;width:47%;height:30%;background:radial-gradient(ellipse at 50% 0,#fff6b9,#ffd06866 42%,transparent 72%);transform-origin:center top}
.rocket-flying .rocket-sound-track{opacity:0;pointer-events:none}
@media(max-width:700px) and (orientation:portrait){.rocket-position,.rocket-world[data-round="2"] .rocket-position{left:50%;bottom:27%;width:min(68vw,37dvh)}.rocket-part-tray{bottom:2%;gap:12px}.rocket-part{width:88px;height:101px;font-size:22px!important}.rocket-world[data-round="1"] .rocket-position{left:39%;bottom:20%;width:min(67vw,38dvh)}.rocket-bubble-field{left:74%;right:0;top:25%;bottom:12%;gap:20px}.rocket-bubble{width:64px;min-height:64px!important;font-size:39px!important}.rocket-fuel-port{font-size:26px!important}.rocket-fuel-lights{gap:6px}.rocket-fuel-lights i{width:12px;height:12px}.rocket-sound-track{gap:18px;bottom:3%}.rocket-sound{width:76px;height:76px;font-size:43px!important}.rocket-world::before{bottom:24%;width:65%}}
@media(max-height:540px) and (orientation:landscape){.rocket-position,.rocket-world[data-round="2"] .rocket-position{left:43%;bottom:0;width:29dvh}.rocket-world[data-round="1"] .rocket-position{left:40%;bottom:0;width:34dvh}.rocket-part-tray{left:79%;right:auto;top:3%;bottom:auto;gap:5px}.rocket-part{width:75px;height:66px;font-size:18px!important}.rocket-bubble-field{left:67%;right:2%;top:8%;bottom:8%;flex-direction:row;gap:10px}.rocket-bubble{width:61px;min-height:61px!important;font-size:34px!important}.rocket-sound-track{left:76%;right:auto;bottom:23%;gap:10px;transform:translateX(-50%)}.rocket-sound{width:58px;height:58px;font-size:33px!important}.rocket-fuel-lights{gap:4px}.rocket-fuel-lights i{width:10px;height:10px}.rocket-fuel-port{font-size:24px!important}}
@media(prefers-reduced-motion:reduce){.rocket-bubble{animation:none!important}}
@media(min-width:701px) and (min-height:541px){body.room-adventure.rocket-mission-active #gameBoard .mini-heading{position:absolute;right:12px;top:4px;width:auto}.rocket-position,.rocket-world[data-round="2"] .rocket-position{width:min(37vw,40dvh,480px)}.rocket-world[data-round="1"] .rocket-position{width:min(38vw,40dvh,500px)}}
.rocket-fuel-flight{position:fixed!important;z-index:35;pointer-events:none!important;animation:none!important;translate:0 0!important;margin:0!important}.rocket-fin-slot svg path{stroke:#fff8cf!important;stroke-width:6px!important;stroke-dasharray:8 5;fill:#fff2ba40!important}.rocket-fin-slot svg{opacity:.8!important}
body.room-adventure.rocket-mission-active #playScreen{overflow:hidden!important}@media(max-height:540px) and (orientation:landscape){.rocket-position,.rocket-world[data-round="2"] .rocket-position{width:40dvh}.rocket-world[data-round="1"] .rocket-position{width:42dvh}}
body.reduce-motion :is(.rocket-bubble,.rocket-mission *,.rocket-daydream *){animation:none!important;transition:none!important}body.reduce-motion :is(.rocket-sky-stars,.rocket-speed-lines,.rocket-papers){display:none!important}
/* A visible empty fin socket, rather than a faint cream silhouette. */
.rocket-fin-slot{clip-path:none!important;border:0!important;background:none!important;opacity:1!important;outline:0!important;overflow:visible!important;animation:finTargetPulse 1.8s ease-in-out infinite alternate;filter:drop-shadow(0 0 5px #ffffff)}
.rocket-fin-slot svg{opacity:1!important;filter:none!important;overflow:visible}
.rocket-fin-slot .fin-target-shape{fill:#6bd5e4;stroke:#075c71;stroke-width:7;stroke-linejoin:round}
.rocket-fin-slot .fin-target-stitch{fill:none;stroke:#fffdf1;stroke-width:4;stroke-dasharray:9 6;stroke-linejoin:round}
.rocket-fin-selected .rocket-fin-slot .fin-target-shape{fill:#8feaf1;stroke:#087580}
.rocket-fin-slot.drop-near .fin-target-shape{fill:#ffe18a;stroke:#876122}
.rocket-fin-guide{position:absolute;inset:0;z-index:9;pointer-events:none}
.rocket-fin-guide[hidden]{display:none!important}
.rocket-fin-guide svg{width:100%;height:100%;display:block;overflow:visible}
.fin-guide-under,.fin-guide-line{fill:none;stroke-linecap:round;stroke-linejoin:round}
.fin-guide-under{stroke:#fffdf1;stroke-width:12}
.fin-guide-line{stroke:#087c88;stroke-width:5;stroke-dasharray:11 11;animation:finGuideFlow 2s linear infinite}
@keyframes finTargetPulse{from{scale:.98;filter:drop-shadow(0 0 3px #fff9c2)}to{scale:1.06;filter:drop-shadow(0 0 13px #75e5eb)}}
@keyframes finGuideFlow{to{stroke-dashoffset:-44}}
body.rocket-motion-paused :is(.rocket-fin-slot,.fin-guide-line){animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.rocket-fin-slot,.fin-guide-line{animation:none!important}}
body.reduce-motion :is(.rocket-fin-slot,.fin-guide-line){animation:none!important}

.rocket-fin-slot[hidden]{display:none!important}
