/* Adesivos decorativos nas margens: não recebem cliques nem entram na leitura. */
section:has(>.corner-doodles),.games-page{position:relative;isolation:isolate}
.corner-doodles{position:absolute;inset:0;pointer-events:none;z-index:-1;overflow:clip;border-radius:inherit}
.doodle{position:absolute;width:68px;height:auto;opacity:.72;filter:drop-shadow(0 0 12px #fd7eaa20);animation:doodle-float 8s ease-in-out infinite}
.doodle-stars{left:5px;top:22px;rotate:-14deg}
.doodle-spiral{right:5px;top:16px;rotate:13deg;animation-delay:-3s}
.doodle-heart{right:8px;bottom:12px;rotate:-17deg;width:56px;animation-delay:-5s}
#inicio .doodle-stars{top:22px;width:52px}
#inicio .doodle-spiral{top:auto;bottom:6px;right:15px;width:78px}
#inicio .doodle-heart{right:auto;left:8px;bottom:4px;width:48px}
#lives .doodle-stars{left:4px;top:8px;width:50px}
#lives .doodle-heart{right:7px;bottom:6px}
#portfolio .doodle-stars{width:65px;top:10px}
#portfolio .doodle-spiral{top:8px;width:63px}
#comissoes .doodle-stars{top:8px;left:auto;right:7px;width:52px}
#comissoes .doodle-spiral{top:auto;bottom:7px;right:auto;left:8px;width:42px}
#comissoes .doodle-heart{display:none}
#apoie .doodle-stars{left:8%;top:48px;width:96px}
#apoie .doodle-heart{right:9%;bottom:50px;width:84px}
#apoie .doodle-spiral{right:5%;top:22px;width:70px}
.games-page>.corner-doodles .doodle-stars{left:auto;right:15px;top:115px;width:85px}
.games-page>.corner-doodles .doodle-spiral{right:7px;top:auto;bottom:28px;width:55px}
.games-page>.corner-doodles .doodle-heart{right:130px;top:140px;bottom:auto;width:47px}
@keyframes doodle-float{0%,100%{translate:0 0}50%{translate:0 -7px}}
@media(min-width:1450px){#inicio .doodle-stars,#lives .doodle-stars,#portfolio .doodle-stars{width:32px;left:0}#portfolio .doodle-spiral,#lives .doodle-spiral{width:32px;right:0}}
@media(max-width:680px){.doodle{opacity:.55;width:34px}.doodle-stars{left:0;top:8px}.doodle-spiral{right:0;top:6px;width:32px}.doodle-heart{width:30px;right:0;bottom:3px}#inicio .doodle-stars{width:26px;top:7px;left:1px}#inicio .doodle-spiral{width:45px;bottom:0;right:0}#inicio .doodle-heart{width:28px;left:0}#lives .doodle-stars,#portfolio .doodle-stars{width:29px;left:0;top:4px}#portfolio .doodle-spiral{width:32px}#lives .doodle-heart{width:27px;bottom:0;right:0}#comissoes .doodle-stars{width:27px;right:0;top:0}#comissoes .doodle-spiral{width:24px;left:0;bottom:0}#apoie .doodle-stars{left:1%;top:22px;width:43px}#apoie .doodle-heart{right:1%;bottom:18px;width:40px}#apoie .doodle-spiral{display:none}.games-page>.corner-doodles .doodle-stars{width:40px;right:0;top:92px}.games-page>.corner-doodles .doodle-heart{display:none}.games-page>.corner-doodles .doodle-spiral{width:30px;right:0;bottom:4px}}
@media(prefers-reduced-motion:reduce){.doodle{animation:none;translate:none}}
/* Faixas cheias de desenhos, ao longo das duas laterais. */
.decorated-main{position:relative;isolation:isolate}
.decorated-main::before,.decorated-main::after,.games-page::before,.games-page::after{content:"";position:absolute;top:0;bottom:0;width:min(4vw,58px);background:url('/assets/doodle-border.svg') top center / 100% auto repeat-y;pointer-events:none;z-index:2;opacity:.87}
.decorated-main::before,.games-page::before{left:0}
.decorated-main::after,.games-page::after{right:0;background-position:center -205px;transform:scaleX(-1)}
.games-page::before,.games-page::after{top:100px;bottom:10px;width:20px;opacity:.75}
.doodle{opacity:.9}
@media(max-width:680px){.decorated-main::before,.decorated-main::after{width:18px;opacity:.73}.games-page::before,.games-page::after{width:11px;opacity:.6}.doodle{opacity:.72}}

body{isolation:isolate}
.universe-cosmos{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse at 0% 30%,#65428324,transparent 45%),radial-gradient(ellipse at 100% 75%,#fd7eaa14,transparent 40%)}.cosmic-stars{position:absolute;inset:0;background-image:radial-gradient(circle,#eddfff80 1px,transparent 1.7px),radial-gradient(circle,#fd7eaa55 .8px,transparent 1.5px),radial-gradient(circle,#eddfff44 .7px,transparent 1.3px);background-size:173px 193px,271px 227px,113px 137px;background-position:23px 61px,94px 17px,3px 40px;opacity:.4}.cosmic-planet,.cosmic-star{position:absolute;opacity:.4}.cosmic-planet{width:clamp(65px,9vw,140px);animation:cosmic-drift 16s ease-in-out infinite}.planet-one{left:1.5%;top:25%;rotate:-8deg}.planet-two{right:1%;top:70%;width:clamp(55px,7vw,105px);rotate:20deg;animation-delay:-8s}.cosmic-star{width:28px;animation:cosmic-twinkle 7s ease-in-out infinite}.star-1{left:5%;top:13%;width:35px}.star-2{right:6%;top:18%;animation-delay:-2s}.star-3{left:3%;top:58%;width:22px;animation-delay:-5s}.star-4{right:3%;top:44%;width:40px;animation-delay:-3s}.star-5{left:7%;bottom:10%;animation-delay:-1s}.star-6{right:9%;bottom:8%;width:18px;animation-delay:-4s}.universe-story-copy{background:linear-gradient(90deg,#18141ceb,#18141c80);border-radius:16px;padding:10px 0}.shooting-star{position:absolute;top:0;left:0;width:180px;height:2px;background:linear-gradient(90deg,transparent,#fd7eaa88,#fff3ff);border-radius:50%;opacity:0;transform-origin:right center;animation:cosmic-shoot 18s linear infinite 3s}.shooting-star::after{content:'';position:absolute;right:-2px;top:-2px;width:6px;height:6px;border-radius:50%;background:#fff3ff;box-shadow:0 0 14px #fd7eaa}@keyframes cosmic-drift{0%,100%{translate:0 0}50%{translate:0 -12px}}@keyframes cosmic-twinkle{0%,100%{opacity:.2}50%{opacity:.5}}@keyframes cosmic-shoot{0%,74%{opacity:0;transform:translate(-200px,10vh) rotate(24deg)}75%{opacity:.6;transform:translate(-200px,10vh) rotate(24deg)}85%{opacity:.5;transform:translate(calc(100vw + 200px),calc(10vh + 44.523vw + 178.092px)) rotate(24deg)}86%,100%{opacity:0;transform:translate(calc(100vw + 200px),calc(10vh + 44.523vw + 178.092px)) rotate(24deg)}}@media(max-width:750px){.cosmic-planet{opacity:.22}.cosmic-star{opacity:.25}.star-3,.star-5,.star-6{display:none}.cosmic-stars{opacity:.25}.shooting-star{width:95px}.universe-story-copy{background:#18141cdd;padding:10px}.planet-one{left:-18px}.planet-two{right:-15px}}@media(prefers-reduced-motion:reduce){.cosmic-planet,.cosmic-star{animation:none}.shooting-star{display:none}}

.admin-header>div{display:flex;align-items:center;gap:18px}.admin-header form{margin:0}.admin-header form button{padding:8px 14px}

.meteor-right{animation:meteor-from-right 18s linear infinite 9s}.meteor-left-steep{animation:meteor-from-left-steep 18s linear infinite 15s}@keyframes meteor-from-right{0%,74%{opacity:0;transform:translate(calc(100vw + 200px),5vh) rotate(150deg)}75%{opacity:.6;transform:translate(calc(100vw + 200px),5vh) rotate(150deg)}85%{opacity:.5;transform:translate(-200px,calc(5vh + 57.735vw + 230.94px)) rotate(150deg)}86%,100%{opacity:0;transform:translate(-200px,calc(5vh + 57.735vw + 230.94px)) rotate(150deg)}}@keyframes meteor-from-left-steep{0%,74%{opacity:0;transform:translate(-200px,-10vh) rotate(38deg)}75%{opacity:.6;transform:translate(-200px,-10vh) rotate(38deg)}85%{opacity:.5;transform:translate(calc(100vw + 200px),calc(-10vh + 78.129vw + 312.516px)) rotate(38deg)}86%,100%{opacity:0;transform:translate(calc(100vw + 200px),calc(-10vh + 78.129vw + 312.516px)) rotate(38deg)}}

.universe-story-copy{padding:28px;box-sizing:border-box}.universe-story-copy h2{margin-top:0}.faq-question{font-weight:800;color:#f6f1fc}@media(max-width:750px){.universe-story-copy{padding:20px;width:100%}}

/* Mesmas faixas da home, sempre nas bordas externas da página. */
body{position:relative;min-height:100vh}.decorated-main::before,.decorated-main::after,.games-page::before,.games-page::after{content:none}body::before,body::after{content:"";position:absolute;top:72px;bottom:0;width:min(4vw,58px);background:url('/assets/doodle-border.svg') top center / 100% auto repeat-y;pointer-events:none;z-index:2;opacity:.87}body::before{left:0}body::after{right:0;background-position:center -205px;transform:scaleX(-1)}@media(max-width:680px){body::before,body::after{width:12px;opacity:.6}}
