.universe-offer{display:flex;justify-content:flex-end;margin-top:12px}.universe-offer[hidden],.universe-game [hidden],.universe-score-actions [hidden]{display:none!important}.universe-launch{position:relative;display:inline-flex;align-items:center;gap:11px;padding:10px 16px;border:1px solid #9b7cc56b;border-radius:9px;background:#101b17;color:#c3efd2;font:700 10px Arial,sans-serif;letter-spacing:.1em;min-height:44px;cursor:pointer;isolation:isolate}.universe-launch svg{width:30px;height:25px;stroke:#a0eab5;fill:#101b17;stroke-width:1.7}.universe-launch:before{content:'';position:absolute;z-index:-1;left:6px;top:-5px;width:45px;height:45px;border:2px solid #9b77c5;border-radius:50%;box-shadow:0 0 15px #9a64f755,inset 0 0 12px #6fff8e33;opacity:0}.universe-launch.is-arriving:before{animation:universe-arrive 1.5s ease both}.universe-launch.is-arriving svg{animation:universe-emerge 1.4s ease both}.universe-launch:hover{border-color:#b3eebc;background:#17271e}.universe-confirm{max-width:560px}.universe-confirm-body{padding:22px 24px}.universe-confirm-body>p:first-child{font-size:22px;color:#ddf3e5;margin:0 0 15px}.universe-copy{color:#a2baad;font-size:13px;line-height:1.7}.universe-confirm-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.universe-primary,.universe-secondary{border-radius:8px;padding:12px 16px;min-height:44px;font:700 12px Arial,sans-serif;border:1px solid #7fa78b;color:#bcdac6;background:#101e17;cursor:pointer}.universe-primary{background:#9eeaaf;color:#102519;border-color:#b0f2be}.universe-primary:hover{background:#b5ffc5}.universe-secondary:hover{border-color:#bc9ede}.universe-primary:disabled{opacity:.5;cursor:wait}.universe-game{margin:auto;width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;padding:0;border:0;background:#060d13;color:#d4e9de;overflow:hidden}.universe-game::backdrop{background:#03070b}.universe-game-shell{height:100%;display:flex;flex-direction:column;max-width:1600px;margin:auto}.universe-toolbar{padding:12px 22px;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#101b1c;border-bottom:1px solid #86b39933}.universe-toolbar .mini-label{font-size:8px;letter-spacing:.14em;margin:0 0 7px}.universe-toolbar h2{font-size:16px;letter-spacing:.1em;margin:0}.universe-toolbar-actions{display:flex;gap:8px;align-items:center}.universe-toolbar-actions>button,.universe-audio summary{padding:10px 12px;min-height:42px;border:1px solid #56746566;color:#b7d2c4;background:#102019;border-radius:7px;font-size:11px;cursor:pointer}.universe-audio{position:relative}.universe-audio[open]{position:relative}.universe-audio label,.universe-audio input,.universe-audio>button{display:block;position:absolute;right:0;z-index:5;width:190px;background:#14261e;border:1px solid #7cac8d;padding:11px;color:#b7d2c4}.universe-audio label{top:48px;font-size:11px}.universe-audio input{top:83px;height:38px}.universe-audio>button{top:121px;font-size:11px;cursor:pointer}.universe-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:#080e18}.universe-stage canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;aspect-ratio:16/9;image-rendering:pixelated;outline-offset:-3px;touch-action:none}.universe-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:22px;background:#040c15ca;backdrop-filter:blur(4px);z-index:3;text-align:center}.universe-overlay>div{max-width:530px}.universe-overlay h3{font-size:clamp(22px,4vw,34px);letter-spacing:-.03em;margin:12px 0}.universe-overlay p{font-size:13px;color:#aec6b9;line-height:1.7}.universe-overlay button{margin:6px}.universe-controls{display:flex;gap:20px;align-items:center;justify-content:space-between;min-height:78px;background:#101b1c;border-top:1px solid #6d9b7e33;padding:10px 20px;touch-action:none}.universe-direction,.universe-action{display:flex;gap:8px}.universe-controls button{width:49px;height:49px;border-radius:10px;background:#172b24;border:1px solid #77a48a66;color:#d0e7d8;font-size:17px;touch-action:none;user-select:none;-webkit-user-select:none}.universe-controls button.is-held{background:#91d8a5;color:#0c1c12}.universe-controls .universe-jump{background:#96ddb0;color:#11251a;font-size:26px}.universe-keyboard{font-size:10px;color:#829f90;line-height:1.9;margin:0}.universe-keyboard>span:first-child{color:#b2ceb9}.universe-orientation{display:none}.universe-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.universe-score-canvas{width:180px;max-width:100%;height:auto;display:block;margin:auto;border-radius:8px}.universe-score-actions{display:flex;gap:10px;flex-wrap:wrap}.universe-score-actions button{flex:1;min-width:150px}.universe-game,.universe-confirm,.universe-launch,.universe-controls *{box-sizing:border-box}@keyframes universe-arrive{0%{transform:scale(.1) rotate(-45deg);opacity:0}30%,65%{transform:scale(1.25) rotate(30deg);opacity:1}100%{transform:scale(.2) rotate(80deg);opacity:0}}@keyframes universe-emerge{0%,15%{transform:scale(.1);opacity:0}60%{transform:scale(1.2);opacity:1}100%{transform:scale(1);opacity:1}}
@media(max-width:700px){.universe-toolbar{padding:8px 10px;min-height:55px}.universe-toolbar h2{font-size:12px}.universe-toolbar .mini-label{font-size:7px}.universe-toolbar-actions{gap:4px}.universe-toolbar-actions>button,.universe-audio summary{font-size:10px;padding:8px}.universe-controls{padding:8px 10px;gap:10px;min-height:64px}.universe-controls button{width:42px;height:44px}.universe-direction,.universe-action{gap:5px}.universe-keyboard{display:none}.universe-confirm-body{padding:18px}.universe-offer{justify-content:center}.universe-confirm-actions>*{flex:1}.universe-overlay{padding:12px}.universe-overlay h3{font-size:23px}.universe-overlay p{font-size:11px}.universe-overlay button{min-height:40px;font-size:11px;padding:9px 12px}}
@media(orientation:portrait) and (max-width:700px){.universe-stage{align-items:center}.universe-orientation{display:inline}.universe-keyboard{display:none}.universe-toolbar-actions>button{min-width:44px}.universe-overlay>div{max-width:330px}.universe-overlay h3{font-size:23px}}
@media(prefers-reduced-motion:reduce){.universe-launch,.universe-launch:before,.universe-launch svg{animation:none!important;transition:none!important}}
.universe-launch.is-arriving:after{content:"";position:absolute;left:25px;top:21px;width:3px;height:3px;background:#afffc2;box-shadow:18px -18px #a57aee,-19px -13px #98ffc2,23px 9px #9178d9,-24px 14px #aeedc2,3px -25px #cf9efa;animation:universe-sparks 1.5s ease both;pointer-events:none}@keyframes universe-sparks{0%{opacity:0;transform:scale(.1) rotate(0)}40%{opacity:1;transform:scale(1.2) rotate(25deg)}100%{opacity:0;transform:scale(1.8) rotate(60deg)}}@media(max-height:500px){.universe-toolbar{min-height:46px;padding:5px 12px}.universe-toolbar h2{font-size:12px}.universe-toolbar .mini-label{font-size:7px;margin-bottom:4px}.universe-toolbar-actions>button,.universe-audio summary{min-height:34px;padding:7px 10px}.universe-controls{min-height:54px;padding:5px 12px}.universe-controls button{height:40px;width:44px}.universe-keyboard{display:none}}@media(orientation:portrait) and (max-width:700px){.universe-stage:after{content:"Na horizontal você vê mais.";position:absolute;bottom:14px;left:0;right:0;text-align:center;font:11px Arial;color:#96bba7;pointer-events:none}}@media(prefers-reduced-motion:reduce){.universe-launch:after{animation:none!important;display:none}}
.universe-launch:not(.is-arriving) svg{animation:universe-float 4s ease-in-out infinite}.universe-game[open]{animation:universe-crossing .48s cubic-bezier(.16,1,.3,1) both}@keyframes universe-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes universe-crossing{0%{opacity:0;clip-path:ellipse(4% 35% at 50% 50%);filter:brightness(1.7)}70%{opacity:1;filter:brightness(1.12)}100%{opacity:1;clip-path:ellipse(110% 110% at 50% 50%);filter:brightness(1)}}@media(prefers-reduced-motion:reduce){.universe-game[open]{animation:none!important}}

/* Controles amplos para toque em telas de celular. */
@media(max-width:900px){.universe-controls{gap:8px;padding:7px 12px}.universe-direction{flex:1;gap:6px;max-width:42%}.universe-direction button{flex:1;min-width:64px;width:auto;height:58px;border-radius:16px;font-size:23px}.universe-action{flex:1;justify-content:flex-end;align-items:center;gap:6px}.universe-action button{width:58px;height:58px;border-radius:50%;font-size:10px;font-weight:800}.universe-action [data-game-key=down],.universe-action [data-game-key=skate]{width:42px;height:42px;font-size:10px}.universe-action .universe-jump{font-size:11px;width:64px;height:64px}.universe-keyboard{display:none}}
@media(orientation:portrait) and (max-width:700px){.universe-stage:after{content:"Vire o celular para jogar melhor ↻";font-size:13px;color:#d4f4df;bottom:14px}}
@media(max-height:500px) and (orientation:landscape){.universe-controls{min-height:70px}.universe-direction button,.universe-action button{height:56px}.universe-action .universe-jump{height:60px}}
@media(max-height:500px) and (orientation:landscape){.universe-game-shell{position:relative}.universe-controls{position:absolute;z-index:2;left:0;right:0;bottom:0;background:transparent;border:0;pointer-events:none}.universe-controls button{pointer-events:auto;opacity:.9;box-shadow:0 3px 15px #0008}.universe-stage canvas{max-width:100%;max-height:100%}}

.game-melissa{display:block;width:90px;height:90px;object-fit:cover;object-position:50% 22%;margin:0 auto 8px;border:2px solid #8fffb0;border-radius:50%;box-shadow:0 0 28px #79ffa355}.game-melissa[hidden]{display:none!important}@media(max-height:500px){.game-melissa{width:58px;height:58px}}
.universe-controls [data-game-key=action],.universe-controls [data-game-key=jump]{width:68px;min-width:68px;font-size:11px;font-weight:700}
@media(max-width:650px){.universe-controls [data-game-key=action]{width:56px;min-width:56px}.universe-controls [data-game-key=jump]{width:64px;min-width:64px}}
/* Botões mais fáceis de distinguir e tocar. */
.universe-controls button{border-radius:50%}
@media(max-width:900px){
 .universe-controls{gap:12px;padding:8px 14px}
 .universe-direction{display:flex;flex:none;gap:12px;max-width:none;align-items:flex-end}
 .universe-direction button{flex:none;width:68px;min-width:68px;height:68px;border-radius:50%}
 .universe-action{display:grid;flex:none;grid-template-columns:repeat(2,66px);gap:9px;align-items:center}
 .universe-action button,.universe-action [data-game-key=down],.universe-action [data-game-key=skate],.universe-controls [data-game-key=action],.universe-controls [data-game-key=jump]{width:66px;min-width:66px;height:66px;border-radius:50%;font-size:11px}
}
@media(orientation:portrait) and (max-width:700px){.universe-stage:after{bottom:calc(2 * clamp(60px,min(10vw,20dvh),88px) + 38px)}}
.universe-cover{width:100%;aspect-ratio:6.2/1;overflow:hidden;background:#100b1b;flex:none}.universe-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
@media(max-width:380px){
 .universe-controls{gap:8px;padding:8px}
 .universe-direction{gap:8px}
 .universe-direction button{width:55px;min-width:55px;height:55px}
 .universe-action{grid-template-columns:repeat(2,55px);gap:8px}
 .universe-action button,.universe-action [data-game-key=down],.universe-action [data-game-key=skate],.universe-controls [data-game-key=action],.universe-controls [data-game-key=jump]{width:55px;min-width:55px;height:55px;font-size:10px}
}

/* Controles de toque: áreas grandes, separadas e ao alcance dos polegares. */
@media(max-width:900px),(pointer:coarse){
 .universe-game-shell{position:relative}
 .universe-controls{--touch-size:clamp(60px,min(10vw,20dvh),88px);--touch-gap:clamp(10px,1.6vw,16px);position:absolute;z-index:2;left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));padding:0;min-height:0;gap:var(--touch-gap);border:0;background:none;pointer-events:none;flex-direction:row;justify-content:space-between;align-items:end}
 .universe-direction{display:flex;flex:none;gap:var(--touch-gap);max-width:none;align-items:end}
 .universe-action{display:grid;flex:none;grid-template-columns:repeat(2,var(--touch-size));gap:var(--touch-gap);align-items:center}
 .universe-controls .universe-direction button,.universe-controls .universe-action button,.universe-controls .universe-action [data-game-key=down],.universe-controls .universe-action [data-game-key=skate],.universe-controls .universe-action [data-game-key=action],.universe-controls .universe-action [data-game-key=jump]{box-sizing:border-box;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;width:var(--touch-size);min-width:var(--touch-size);height:var(--touch-size);min-height:var(--touch-size);padding:0;border-radius:50%;border:2px solid rgba(166,255,191,.65);background:rgba(12,33,24,.72);color:#edfff1;box-shadow:0 4px 16px #0009,inset 0 1px 3px #d5ffe52a;backdrop-filter:blur(5px);font-size:clamp(11px,1.8vw,14px);font-weight:800;transition:background .08s,border-color .08s,transform .08s}
 .universe-controls .universe-direction button{font-size:clamp(22px,3vw,30px)}
 .universe-controls .universe-action [data-game-key=jump]{background:rgba(73,177,105,.82);color:#071b0d}
 .universe-controls button.is-held,.universe-controls button:active{background:#baffc7!important;color:#102519!important;border-color:#fff!important;transform:scale(.94)}
}
