@font-face{font-family:"Nunito Sans Local";src:url("../assets/fonts/nunito-sans-variable.woff2") format("woff2");font-style:normal;font-weight:200 1000;font-display:swap}
@font-face{font-family:"Fraunces Local";src:url("../assets/fonts/fraunces-variable.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
:root{--ink:#102a43;--muted:#5a7185;--line:#d9e4e7;--coral:#ff6c69;--yellow:#ffc857;--teal:#0b8da4;--font-ui:"Nunito Sans Local","Segoe UI",sans-serif;--font-display:"Fraunces Local",Georgia,serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}html,body{margin:0;min-height:100%}body{color:var(--ink);background:radial-gradient(circle at 92% 8%,rgba(60,174,196,.1),transparent 26%),linear-gradient(180deg,#f5faf9 0%,#fbfcf7 58%,#f2f8f6 100%);font-family:var(--font-ui)}button{font:inherit;color:inherit}.page{width:min(1460px,calc(100% - 40px));margin:auto}
.topbar{position:sticky;top:0;z-index:50;width:100vw;margin:0 calc(50% - 50vw);padding:12px max(24px,calc((100vw - 1460px)/2));display:flex;align-items:center;justify-content:space-between;color:#fff;background:linear-gradient(135deg,#102a43,#08233a);box-shadow:0 7px 24px rgba(16,42,67,.16)}.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-size:1.18rem;font-weight:900;letter-spacing:-.03em}.brand-logo{display:block;width:46px;height:46px;object-fit:contain;border-radius:14px;filter:drop-shadow(0 3px 7px rgba(0,0,0,.2))}.nav,.footer-links{display:flex;align-items:center;gap:4px}.nav a,.footer-links a{padding:9px 12px;color:rgba(255,255,255,.88);border-radius:9px;text-decoration:none;font-weight:750;font-size:.86rem}.nav a:hover{color:#fff;background:rgba(255,255,255,.1)}.nav .pill{color:#fff;border-bottom:3px solid var(--coral);border-radius:8px 8px 2px 2px}.instagram-nav{display:none!important}.mobile-nav-toggle{display:none}.mobile-menu{display:none}
.play-layout,.primary-game-column,.desktop-sidebar,.game-section,.game-frame{min-width:0}.play-layout{width:100%;margin:12px auto 82px}.primary-game-column{display:flex;flex-direction:column;gap:10px}.game-section{margin:0;scroll-margin-top:90px}.page-game-toolbar{min-height:44px;padding:0 16px;display:flex;align-items:center;border:1px solid var(--line);border-bottom:0;border-radius:20px 20px 0 0;background:#fff}.page-game-toolbar>div{display:flex;align-items:center;gap:8px;color:#68808a;font-size:.72rem}.page-game-toolbar strong{color:#102d3a;font-size:.82rem}.game-status-dot{width:8px;height:8px;border-radius:50%;background:#27c79a;box-shadow:0 0 0 4px rgba(39,199,154,.12)}.game-frame{position:relative;overflow:hidden;padding:12px;border:1px solid var(--line);border-radius:0 0 24px 24px;background:radial-gradient(circle at 12% 8%,rgba(107,224,209,.18),transparent 28%),radial-gradient(circle at 88% 5%,rgba(255,215,74,.12),transparent 25%),linear-gradient(150deg,#102a43 0%,#0d3545 52%,#153f4b 100%);box-shadow:0 28px 70px rgba(21,52,64,.16)}.game-wrap{width:100%;margin:auto;color:#fff}
.game-card{min-height:520px;position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:linear-gradient(150deg,rgba(18,63,83,.72),rgba(7,34,51,.82));box-shadow:0 25px 55px rgba(0,0,0,.22)}.game-toolbar{height:58px;padding:0 22px;display:flex;align-items:center;gap:33px;background:rgba(5,31,47,.65);border-bottom:1px solid rgba(255,255,255,.1)}.game-toolbar>div{display:flex;flex-direction:column}.game-toolbar small{color:#8db0bf;font-size:8px;font-weight:900;letter-spacing:1px}.game-toolbar strong{font-size:17px}.game-toolbar .toolbar-actions{margin-left:auto;flex-direction:row;gap:7px}.toolbar-actions button{width:32px;height:32px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.05);color:#fff;cursor:pointer;font-weight:900}.toolbar-actions button[aria-pressed=false]{opacity:.45}.status{min-height:34px;padding:13px 12px 2px;color:#cce1e7;text-align:center;font-size:13px}.board{min-height:350px;padding:18px 20px 10px;display:flex;align-items:center;justify-content:center;align-content:center;gap:clamp(9px,1.7vw,21px);flex-wrap:wrap}.tube{border:0;background:transparent;padding:19px 3px 0;cursor:pointer;position:relative;transition:transform .2s ease;border-radius:25px}.tube:disabled{opacity:1;cursor:default}.tube.selected{transform:none}.tube.selected .glass{filter:drop-shadow(0 0 9px #ffc857);border-color:#ffe29a}.glass{width:clamp(53px,5.3vw,64px);height:205px;display:flex;flex-direction:column-reverse;align-items:center;padding:9px 5px 11px;position:relative;gap:2px;border:3px solid #b8d4df;border-top:0;border-radius:0 0 28px 28px;background:linear-gradient(90deg,#ffffff0b,#ffffff20 35%,#ffffff08);box-shadow:inset 7px 0 10px #ffffff0c}.glass:before{content:"";position:absolute;left:-7px;right:-7px;top:-5px;height:11px;border:3px solid #b8d4df;border-radius:50%}.ball{width:clamp(42px,4.2vw,47px);aspect-ratio:1;border-radius:50%;flex:0 0 auto;display:grid;place-items:center;color:#ffffffdc;font-size:18px;font-weight:900;background:radial-gradient(circle at 34% 25%,#ffffffbf 0 5%,var(--ball) 25% 66%,var(--ball-shadow) 100%);box-shadow:inset -5px -7px 9px #00000018,0 4px 4px #07192465;transition:transform .2s ease,filter .2s ease}.ball.is-selected{transform:translateY(-31px) scale(1.07);filter:drop-shadow(0 7px 7px #071924aa);z-index:3}.tube-number{position:absolute;left:50%;bottom:-21px;transform:translateX(-50%);color:#718f9e;font-size:9px;font-weight:800}.tube.valid-target:not(.selected)::after,.tube.invalid-target:not(.selected)::after{position:absolute;top:-23px;left:50%;transform:translateX(-50%);font-size:25px;font-weight:900;line-height:1;z-index:4;text-shadow:0 2px 5px #061924}.tube.valid-target:not(.selected)::after{content:"✓";color:#72e991}.tube.invalid-target:not(.selected)::after{content:"×";color:#ff6572}.tube.rejected{animation:reject .32s ease}@keyframes reject{25%{transform:translateX(-7px)}50%{transform:translateX(7px)}75%{transform:translateX(-4px)}}.moving-ball{position:fixed!important;margin:0!important;z-index:9999!important;pointer-events:none;transition:none!important;animation:none!important}.tube-complete .glass{animation:completeTube .55s ease}@keyframes completeTube{40%{filter:drop-shadow(0 0 14px #ffc857);transform:translateY(-5px)}}.board[aria-busy=true]{cursor:wait}.tubes-2{gap:72px}.tubes-3{gap:55px}.hint-from .glass{animation:hintPulse .8s infinite alternate}.hint-to:after{content:"↓";position:absolute;left:50%;top:-7px;transform:translateX(-50%);color:var(--yellow);font-size:24px}@keyframes hintPulse{to{filter:drop-shadow(0 0 9px var(--yellow))}}.game-actions{display:flex;justify-content:center;gap:9px;padding:9px 15px 17px}.game-actions button{border:1px solid #ffffff25;background:#ffffff0c;color:#dcebf0;padding:10px 15px;border-radius:11px;font-size:12px;font-weight:800;cursor:pointer}.game-actions button:disabled{opacity:.35;cursor:default}.game-actions .restart{background:var(--coral);border-color:var(--coral);color:#fff}.win-panel{position:absolute;inset:58px 0 0;display:grid;place-content:center;text-align:center;background:#09283aed;color:#fff;z-index:4}.win-panel[hidden]{display:none}.win-stars{color:var(--yellow);letter-spacing:7px;font-size:25px}.win-panel h2{margin:10px 0 5px;font-size:32px}.win-panel p{color:#a9c7d1}.win-panel button{border:0;border-radius:13px;background:var(--coral);color:#fff;font-weight:900;padding:13px 22px;cursor:pointer}.mobile-game-note{margin:10px 8px 0;color:#a9bdc7;font-size:.7rem;line-height:1.45;text-align:center}
.desktop-ad,.desktop-sidebar{display:none}.section{padding:clamp(48px,7vw,88px) 0;border-top:1px solid rgba(16,42,67,.08)}.section-title{max-width:810px;margin-bottom:32px}.section-kicker{display:block;margin-bottom:9px;color:#087d94;font-size:.78rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.section-title h2{margin:0;font-family:Georgia,serif;font-size:clamp(2.2rem,4.5vw,3.65rem);line-height:1.05;letter-spacing:-.04em}.section-title p,.feature p{color:var(--muted);line-height:1.65}.features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.feature{padding:25px;border:1px solid #dce6df;border-radius:22px;background:#fff;box-shadow:0 10px 26px rgba(16,42,67,.06)}.feature-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;color:#087d94;background:#e3f5f8;font-family:Georgia,serif;font-size:1.1rem;font-weight:900}.feature h3{margin:16px 0 8px}.feature p{margin:0}.studio-footer{width:100vw;margin:0 calc(50% - 50vw);padding:48px max(24px,calc((100vw - 1460px)/2));display:grid;grid-template-columns:1fr auto;gap:32px;color:#fff;background:#102a43}.studio-footer strong{font-family:Georgia,serif;font-size:1.5rem}.studio-footer p{margin:5px 0 0;color:rgba(255,255,255,.68)}.studio-footer a{color:#fff}.footer-links{max-width:560px;justify-content:flex-end}
@media(min-width:1100px){.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:24px}.desktop-ad{display:grid;place-items:center;position:relative;overflow:hidden;border:1px dashed #bfd0d5;border-radius:16px;color:#78909a;background:linear-gradient(135deg,#f7fafb,#edf3f4)}.desktop-ad>span,.sidebar-ad-card .ad-label{position:absolute;top:8px;left:10px;color:#91a4ab;font-size:.53rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.ad-slot{width:100%;height:100%}.desktop-ad-below-game{width:min(970px,100%);height:90px;margin:0 auto}.desktop-sidebar{display:flex;flex-direction:column;gap:16px}.sidebar-card{padding:20px;border:1px solid var(--line);border-radius:18px;color:#546d77;background:#fff;box-shadow:0 12px 30px rgba(21,52,64,.07)}.sidebar-card h2{margin:0 0 10px;color:#102d3a;font-size:1.18rem;letter-spacing:-.025em}.sidebar-card p{margin:0;font-size:.79rem;line-height:1.58}.sidebar-kicker{margin-bottom:8px!important;color:#0b8da4!important;font-size:.58rem!important;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.sidebar-ad-card{display:grid;place-items:center;position:relative;height:250px;padding:0;overflow:hidden;border-style:dashed;background:linear-gradient(135deg,#f7fafb,#edf3f4)}.sidebar-details{padding:0;overflow:hidden}.sidebar-details summary{position:relative;padding:18px 46px 18px 20px;color:#102d3a;font-size:.9rem;font-weight:900;cursor:pointer;list-style:none}.sidebar-details summary::-webkit-details-marker{display:none}.sidebar-details summary:after{content:'⌄';position:absolute;top:50%;right:20px;transform:translateY(-55%);color:#0b8da4;font-size:1.25rem}.sidebar-details[open] summary:after{transform:translateY(-45%) rotate(180deg)}.sidebar-details>div{padding:0 20px 18px}.sidebar-details>div p+p{margin-top:7px}.sidebar-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:13px}.sidebar-title-row h2{margin:0}.sidebar-title-row>a{color:#087d94;font-size:.58rem;font-weight:900;text-decoration:none}.related-games-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.related-game-card{min-width:0;overflow:hidden;border:1px solid #d8e6e9;border-radius:12px;color:#173744;background:#f7fafb;text-decoration:none;transition:.16s}.related-game-card:hover{transform:translateY(-2px);border-color:#65cad9;box-shadow:0 9px 20px rgba(18,74,91,.12)}.related-game-card>img{display:block;width:100%;height:68px;object-fit:cover}.related-game-card>span{display:block;padding:8px 7px 9px;overflow:hidden;font-size:.58rem;font-weight:900;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:1099px){.page{width:min(100% - 32px,1240px)}.play-layout{margin:18px auto 64px}}
@media(max-width:760px){.page{width:min(100% - 16px,1240px)}.topbar{padding:9px 12px}.brand{font-size:1.05rem}.brand-logo{width:42px;height:42px}.mobile-nav-toggle{display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.35);border-radius:13px;color:#fff;background:rgba(255,255,255,.08);font-size:1.35rem}.nav{display:none}.mobile-menu{position:absolute;top:100%;left:0;right:0;grid-template-columns:1fr;gap:3px;padding:10px;border:1px solid #d9e4dd;border-radius:0 0 18px 18px;background:#fff;box-shadow:0 15px 28px rgba(16,42,67,.18)}.mobile-menu:not([hidden]){display:grid}.mobile-menu a{color:#102a43;padding:12px 13px;text-decoration:none;font-weight:750}.mobile-menu a:first-child{color:#087d94;background:#e8f7f9;border-radius:9px}.mobile-menu a:last-child{color:#fff;background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);border-radius:9px;text-align:center}.play-layout{width:100vw;margin:0 calc(50% - 50vw) 42px}.page-game-toolbar{display:none}.game-frame{padding:7px 5px 10px;border-left:0;border-right:0;border-radius:0}.game-card{min-height:calc(100svh - 122px);border-radius:18px}.game-toolbar{height:52px;padding:0 13px;gap:17px}.game-toolbar strong{font-size:14px}.toolbar-actions{gap:4px!important}.toolbar-actions button{width:29px;height:29px}.status{padding-top:10px;font-size:11px}.board{min-height:calc(100svh - 276px);padding:12px 6px 7px;gap:14px 7px}.glass{width:49px;height:178px;padding:7px 4px 9px;border-width:2px;border-radius:0 0 23px 23px}.glass:before{border-width:2px;left:-5px;right:-5px}.ball{width:39px;font-size:14px}.tubes-10 .glass{width:43px;height:157px}.tubes-10 .ball{width:34px;font-size:12px}.tube{padding-top:16px}.ball.is-selected{transform:translateY(-23px) scale(1.05)}.game-actions{padding-bottom:13px}.game-actions button{padding:9px 10px;font-size:10px}.features{grid-template-columns:1fr}.section{padding:46px 5px}.section-title h2{font-size:2.3rem}.studio-footer{grid-template-columns:1fr;padding:38px 20px}.footer-links{justify-content:flex-start;flex-wrap:wrap}.tubes-2{gap:48px}.tubes-3{gap:30px}}

/* ==========================================================
   Organizaê! 2.2 — reconstrução visual interna
   ========================================================== */
.game-card{
  isolation:isolate;
  background:
    radial-gradient(circle at 18% 12%,rgba(96,217,255,.14),transparent 25%),
    radial-gradient(circle at 84% 5%,rgba(255,200,87,.1),transparent 22%),
    linear-gradient(155deg,#113d52 0%,#092b40 54%,#071f31 100%);
}
.game-card::before{
  content:"";position:absolute;inset:58px 0 0;z-index:-1;pointer-events:none;opacity:.3;
  background-image:radial-gradient(circle,rgba(255,255,255,.36) 0 1px,transparent 1.6px);
  background-size:31px 31px;
  mask-image:linear-gradient(to bottom,#000,transparent 78%);
}
.game-toolbar{gap:18px;background:linear-gradient(90deg,rgba(4,26,42,.88),rgba(9,43,59,.76));backdrop-filter:blur(8px)}
.campaign-hud{min-width:210px!important;display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:5px 13px}
.campaign-hud>div{grid-row:1/3;display:flex;flex-direction:column}.campaign-hud strong{display:flex;align-items:baseline;gap:2px}.campaign-hud em{color:#7093a3;font-size:10px;font-style:normal}
.campaign-progress{grid-column:2;width:100%;height:6px;overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:99px;background:rgba(255,255,255,.08);box-shadow:inset 0 1px 3px rgba(0,0,0,.35)}
.campaign-progress i{display:block;width:10%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ff6c69,#ffc857);box-shadow:0 0 12px rgba(255,200,87,.5);transition:width .35s ease}
.hud-stat{min-width:70px}.toolbar-actions{margin-left:auto!important}
.status{width:max-content;max-width:calc(100% - 28px);min-height:30px;margin:10px auto 0;padding:7px 15px;border:1px solid rgba(168,225,235,.12);border-radius:999px;background:rgba(4,25,39,.48);box-shadow:0 7px 20px rgba(0,0,0,.12);line-height:1.25}
.board{min-height:378px;padding:10px 12px 7px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:5px;overflow:hidden}
.tube-row{position:relative;display:flex;align-items:flex-end;justify-content:center;gap:clamp(7px,1.35vw,17px);min-width:0;padding:0 18px 28px}
.tube-row::before{content:"";position:absolute;left:2%;right:2%;bottom:22px;height:13px;border:1px solid rgba(197,239,245,.2);border-radius:6px;background:linear-gradient(180deg,#7c9ca6 0%,#385d69 28%,#173d4b 52%,#092a3a 100%);box-shadow:0 8px 14px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.34)}
.tube-row::after{content:"";position:absolute;left:5%;right:5%;bottom:13px;height:12px;border-radius:50%;background:rgba(0,0,0,.34);filter:blur(7px)}
.tube{z-index:1;flex:0 0 auto;padding:13px 2px 0;overflow:visible}
.tube::before{content:"";position:absolute;left:14%;right:14%;bottom:13px;height:10px;border-radius:50%;background:rgba(0,0,0,.55);filter:blur(5px);transition:.2s}
.tube.selected::before{transform:scale(.86);opacity:.55}
.tutorial-ball .glass::after,.tutorial-target .glass::after{position:absolute;left:50%;z-index:7;transform:translateX(-50%);font-size:28px;line-height:1;filter:drop-shadow(0 4px 4px rgba(0,0,0,.35));pointer-events:none;animation:tutorialPoint .72s ease-in-out infinite alternate}
.tutorial-ball .glass::after{content:"👇";bottom:42px}
.tutorial-target .glass::after{content:"👇";top:-35px}
@keyframes tutorialPoint{to{transform:translate(-50%,5px)}}
.glass{width:68px;height:198px;isolation:isolate;display:flex;flex-direction:column-reverse;align-items:center;gap:2px;padding:16px 9px 12px;border:0;border-radius:0;background:none;box-shadow:none;filter:drop-shadow(0 8px 9px rgba(0,0,0,.25))}
.glass::before{display:none}.test-tube-svg{position:absolute;inset:0;z-index:2;width:100%;height:100%;overflow:visible;pointer-events:none}.test-tube-body,.test-tube-rim,.test-tube-shine{vector-effect:non-scaling-stroke}
.ball{position:relative;z-index:1;width:43px;border:1px solid rgba(255,255,255,.38);font-size:16px;text-shadow:0 2px 2px rgba(0,0,0,.25);background:radial-gradient(circle at 29% 22%,#fff 0 4%,rgba(255,255,255,.92) 5% 9%,transparent 10%),radial-gradient(circle at 37% 31%,rgba(255,255,255,.48),transparent 23%),radial-gradient(circle at 50% 44%,var(--ball) 0 56%,var(--ball-shadow) 78% 100%);box-shadow:inset -7px -9px 12px rgba(0,0,0,.2),inset 3px 4px 7px rgba(255,255,255,.26),0 5px 5px rgba(0,0,0,.34),0 1px 0 rgba(255,255,255,.45)}
.ball::before{content:"";position:absolute;inset:4px;border-radius:50%;border-top:1px solid rgba(255,255,255,.3);transform:rotate(-24deg);pointer-events:none}
.ball.is-selected{transform:translateY(-28px) scale(1.08);filter:drop-shadow(0 10px 8px rgba(0,0,0,.5)) drop-shadow(0 0 7px rgba(255,215,110,.72))}
.ball-landed{animation:ballLanded .5s cubic-bezier(.2,.8,.2,1)}
@keyframes ballLanded{0%{transform:scale(1.12,.78) translateY(3px)}38%{transform:scale(.94,1.08) translateY(-8px)}68%{transform:scale(1.04,.96) translateY(1px)}100%{transform:scale(1)}}
.moving-ball{filter:drop-shadow(0 12px 9px rgba(0,0,0,.42)) drop-shadow(0 0 8px rgba(255,255,255,.2))}
.entering-ball{position:absolute!important;z-index:1!important;margin:0!important;pointer-events:none;transition:none!important;animation:none!important;filter:drop-shadow(0 7px 6px rgba(0,0,0,.35))}
.tube-number{z-index:4;bottom:-17px;padding:2px 5px;border-radius:99px;color:#aac4ce;background:#0a2a3a;font-size:8px;box-shadow:0 2px 5px rgba(0,0,0,.28)}
.compact-stage .glass{width:88px;height:255px;padding:22px 12px 15px}.compact-stage .ball{width:55px;font-size:20px}.compact-stage .tube-row{gap:72px}.compact-stage{min-height:355px}
.multi-row-stage{min-height:405px;gap:0}.multi-row-stage .tube-row{padding-bottom:24px}.multi-row-stage .glass{width:52px;height:152px;padding:11px 7px 9px}.multi-row-stage .ball{width:33px;font-size:11px}.multi-row-stage .tube{padding-top:5px}.multi-row-stage .tube-row::before{bottom:19px;height:10px}.multi-row-stage .tube-row::after{bottom:11px}.multi-row-stage .tube-number{bottom:-14px}
.mega-stage{min-height:405px;gap:0;padding-top:3px}.mega-stage .tube-row{gap:clamp(12px,2.2vw,28px);padding:0 12px 14px}.mega-stage .glass{width:38px;height:118px;padding:7px 6px 6px}.mega-stage .ball{width:22px;font-size:7px}.mega-stage .tube{padding:2px 2px 0}.mega-stage .tube-row::before{bottom:11px;height:7px}.mega-stage .tube-row::after{bottom:5px;height:8px}.mega-stage .tube-number{bottom:-10px;font-size:7px}.mega-stage .ball.is-selected{transform:translateY(-15px) scale(1.06)}
.game-actions{position:relative;margin:2px 15px 0;padding:10px 0 15px;border-top:1px solid rgba(255,255,255,.08)}
.game-actions button{min-width:104px;border-color:rgba(255,255,255,.14);background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.035));box-shadow:0 5px 13px rgba(0,0,0,.15);transition:transform .14s,background .14s,box-shadow .14s}.game-actions button:hover:not(:disabled){transform:translateY(-2px);background:rgba(255,255,255,.14);box-shadow:0 8px 17px rgba(0,0,0,.22)}.game-actions .restart{background:rgba(255,108,105,.13);border-color:rgba(255,108,105,.46);color:#ffb6b4}
.win-panel{inset:58px 0 0;overflow:hidden;padding:28px;background:radial-gradient(circle at 50% 38%,rgba(39,181,165,.2),transparent 35%),linear-gradient(160deg,rgba(5,28,43,.96),rgba(8,43,55,.98));backdrop-filter:blur(8px)}
.win-panel::before,.win-panel::after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:#ffc857;box-shadow:72px 31px #ff6c69,145px -18px #5fd39a,218px 38px #4c8dff,286px -9px #ffc857,360px 44px #f06de0,-64px 43px #4c8dff;animation:winParticles 2.7s ease-in-out infinite alternate}
.win-panel::before{top:22%;left:11%}.win-panel::after{right:13%;bottom:24%;transform:rotate(165deg);animation-delay:-1.2s}
@keyframes winParticles{to{transform:translateY(-17px) rotate(18deg);opacity:.45}}
.win-glow{position:absolute;left:50%;top:46%;width:260px;height:260px;transform:translate(-50%,-50%);border-radius:50%;border:1px solid rgba(255,255,255,.09);box-shadow:0 0 80px rgba(39,181,165,.18),inset 0 0 55px rgba(255,200,87,.06)}
.win-stars{position:relative;z-index:1;min-height:43px;color:#ffc857;font-size:34px;letter-spacing:8px;text-shadow:0 4px 14px rgba(255,200,87,.38);animation:starsIn .55s cubic-bezier(.2,.9,.25,1.3)}
@keyframes starsIn{from{opacity:0;transform:translateY(12px) scale(.75)}}
.win-rating{position:relative;z-index:1;margin:7px 0 1px!important;color:#72e3d2!important;font-size:10px!important;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.win-panel h2{position:relative;z-index:1;margin:5px 0 10px;font-size:34px}.win-details{position:relative;z-index:1;margin:0!important;color:#d3e6eb!important;font-weight:800}.win-best{position:relative;z-index:1;min-height:19px;margin:8px 0 17px!important;color:#ffc857!important;font-size:11px}.win-actions{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:8px}.win-panel button{min-width:190px;box-shadow:0 10px 26px rgba(255,108,105,.25)}.win-panel button.secondary{padding:9px 18px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);box-shadow:none;color:#bed4da;font-size:11px}
@media(max-width:760px){
  .game-toolbar{gap:9px}.campaign-hud{min-width:150px!important;grid-template-columns:auto 1fr;gap:3px 8px}.campaign-progress{height:5px}.hud-stat{min-width:48px}.game-toolbar small{font-size:7px}.game-toolbar strong{font-size:13px}
  .status{margin-top:7px;padding:6px 11px;font-size:10px}.board{min-height:calc(100svh - 272px);padding:7px 3px 2px}
  .tube-row{gap:5px;padding:0 5px 24px}.compact-stage .tube-row{gap:46px}.compact-stage .glass{width:74px;height:214px;padding:18px 10px 13px}.compact-stage .ball{width:47px;font-size:17px}.compact-stage{min-height:300px}
  .single-row-stage .glass{width:57px;height:166px;padding:13px 8px 10px}.single-row-stage .ball{width:36px;font-size:12px}
  .multi-row-stage{min-height:347px}.multi-row-stage .glass{width:44px;height:129px;padding:9px 6px 8px}.multi-row-stage .ball{width:28px;font-size:9px}.multi-row-stage .tube-row{padding-bottom:20px}.multi-row-stage .tube-row::before{bottom:16px}.multi-row-stage .tube-row::after{bottom:8px}
  .mega-stage{min-height:330px;padding-top:1px}.mega-stage .tube-row{gap:10px;padding:0 3px 11px}.mega-stage .glass{width:34px;height:102px;padding:6px 5px 5px}.mega-stage .ball{width:19px;font-size:6px}.mega-stage .tube-row::before{bottom:8px;height:6px}.mega-stage .tube-row::after{bottom:3px;height:6px}.mega-stage .tube-number{bottom:-9px;font-size:6px}.mega-stage .ball.is-selected{transform:translateY(-13px) scale(1.05)}
  .game-actions{margin:0 8px;padding:8px 0 10px}.game-actions button{min-width:0}.win-panel{inset:52px 0 0;padding:18px}.win-stars{font-size:29px}.win-panel h2{font-size:28px}.win-actions{gap:7px}
}

/* Organizaê! 3.5 — proporção física entre recipiente, bocal e bolas */
.glass{width:64px;height:128px;padding:12px 10px 10px;gap:2px}
.ball{width:22px;font-size:10px}
.compact-stage{min-height:300px}.compact-stage .glass{width:78px;height:156px;padding:14px 12px 12px}.compact-stage .ball{width:27px;font-size:12px}.compact-stage .tube-row{gap:76px}
.single-row-stage .glass{width:64px;height:128px;padding:12px 10px 10px}.single-row-stage .ball{width:22px;font-size:10px}
.multi-row-stage{min-height:330px}.multi-row-stage .glass{width:52px;height:104px;padding:10px 8px 8px}.multi-row-stage .ball{width:17px;font-size:8px}.multi-row-stage .tube-row{padding-bottom:21px}
.mega-stage{min-height:330px}.mega-stage .glass{width:44px;height:88px;padding:8px 6px 7px}.mega-stage .ball{width:14px;font-size:7px}.mega-stage .tube{min-width:50px}.mega-stage .tube-row{padding-bottom:17px}
.tube-row::before{height:34px}.tube::before{bottom:20px}.multi-row-stage .tube-row::before{bottom:8px;height:27px}.multi-row-stage .tube-row::after{bottom:5px}.mega-stage .tube-row::before{bottom:6px;height:23px}.mega-stage .tube-row::after{bottom:3px}.mega-stage .tube::before{bottom:13px}
.ball.is-selected{transform:translateY(-20px) scale(1.06)}.multi-row-stage .ball.is-selected{transform:translateY(-15px) scale(1.06)}.mega-stage .ball.is-selected{transform:translateY(-12px) scale(1.06)}

@media(min-width:1100px) and (max-height:820px){
  .compact-stage .glass{width:70px;height:140px;padding:13px 11px 11px}.compact-stage .ball{width:24px;font-size:11px}
  .multi-row-stage .glass{width:48px;height:96px;padding:9px 7px 7px}.multi-row-stage .ball{width:16px;font-size:7px}
  .mega-stage .glass{width:40px;height:80px;padding:7px 6px 6px}.mega-stage .ball{width:12px;font-size:6px}
}

@media(max-width:760px){
  .compact-stage{min-height:260px}.compact-stage .glass{width:70px;height:140px;padding:13px 11px 11px}.compact-stage .ball{width:24px;font-size:11px}.compact-stage .tube-row{gap:50px}
  .single-row-stage .glass{width:58px;height:116px;padding:11px 9px 9px}.single-row-stage .ball{width:20px;font-size:9px}
  .multi-row-stage{min-height:300px}.multi-row-stage .glass{width:48px;height:96px;padding:9px 7px 7px}.multi-row-stage .ball{width:16px;font-size:7px}
  .mega-stage{min-height:315px}.mega-stage .tube-row{min-height:101px}.mega-stage .tube{min-width:48px;min-height:92px}.mega-stage .glass{width:40px;height:80px;padding:7px 6px 6px}.mega-stage .ball{width:12px;font-size:6px}
}

/* 3.7 final overrides: centered tubes and illustrated child-friendly balls. */
.glass{width:64px;height:128px;padding:8px 11px 7px;gap:0;top:7px}
.ball{width:27px;font-size:11px;border:0;color:#fff;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.42),transparent 25%),linear-gradient(145deg,var(--ball),var(--ball-shadow));box-shadow:0 3px 0 rgba(72,40,58,.24),0 5px 8px rgba(64,48,48,.24),inset 2px 3px 4px rgba(255,255,255,.2);text-shadow:0 2px 2px rgba(65,34,55,.28)}
.ball::before{display:none}.ball::after{content:"";position:absolute;inset:-2px;z-index:2;border-radius:50%;background:url("../assets/game-art/cute-ball-overlay.webp") center/100% 100% no-repeat;pointer-events:none}
.test-tube-art{object-position:center}.tube-number{left:50%;margin-left:0;transform:translateX(-50%)}
.compact-stage .glass{width:78px;height:156px;padding:10px 13px 9px;top:7px}.compact-stage .ball{width:34px;font-size:14px}
.single-row-stage .glass{width:64px;height:128px;padding:8px 11px 7px;top:7px}.single-row-stage .ball{width:27px;font-size:11px}
.multi-row-stage .glass{width:52px;height:104px;padding:7px 9px 6px;top:6px}.multi-row-stage .ball{width:22px;font-size:9px}
.mega-stage .glass{width:44px;height:88px;padding:6px 8px 5px;top:5px}.mega-stage .ball{width:18px;font-size:8px}
.tube-number{bottom:-18px}.multi-row-stage .tube-number{bottom:-15px}.mega-stage .tube-number{bottom:-11px}
.ball.is-selected{transform:translateY(-24px) scale(1.06)}.multi-row-stage .ball.is-selected{transform:translateY(-19px) scale(1.06)}.mega-stage .ball.is-selected{transform:translateY(-16px) scale(1.06)}

@media(min-width:1100px) and (max-height:820px){
  .compact-stage .glass{width:70px;height:140px;padding:9px 12px 8px}.compact-stage .ball{width:30px;font-size:12px}
  .multi-row-stage .glass{width:48px;height:96px;padding:6px 8px 5px}.multi-row-stage .ball{width:20px;font-size:8px}
  .mega-stage .glass{width:40px;height:80px;padding:5px 7px 4px}.mega-stage .ball{width:16px;font-size:7px}
}

@media(max-width:760px){
  .compact-stage .glass{width:70px;height:140px;padding:9px 12px 8px;top:6px}.compact-stage .ball{width:30px;font-size:12px}
  .single-row-stage .glass{width:58px;height:116px;padding:7px 10px 6px;top:6px}.single-row-stage .ball{width:24px;font-size:10px}
  .multi-row-stage .glass{width:48px;height:96px;padding:6px 8px 5px;top:5px}.multi-row-stage .ball{width:20px;font-size:8px}
  .mega-stage .glass{width:40px;height:80px;padding:5px 7px 4px;top:4px}.mega-stage .ball{width:16px;font-size:7px}
}

/* Organizaê! 3.4 — cenário e peças ilustradas */
.game-card{border:3px solid #50bfd0;background:#f7e9c9 url("../assets/game-art/playroom-background.webp") center/cover no-repeat;box-shadow:0 18px 42px rgba(14,83,103,.3)}
.game-toolbar{position:relative;z-index:5;border-bottom:2px solid rgba(255,255,255,.38);background:linear-gradient(180deg,rgba(8,111,137,.96),rgba(5,81,107,.96));box-shadow:0 5px 14px rgba(8,63,82,.22)}
.game-toolbar small{color:#bff6f6}.campaign-progress{border-color:rgba(255,255,255,.32);background:rgba(1,52,72,.32)}.campaign-progress i{background:linear-gradient(90deg,#ff776f,#ffd25d,#69ddbc)}
.status{position:relative;z-index:4;border:2px solid rgba(255,255,255,.85);color:#16495d;background:rgba(255,249,226,.94);box-shadow:0 7px 18px rgba(82,72,35,.16);font-weight:850}
.board{position:relative}.board::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.38),transparent 58%);z-index:0}
.tube-row{z-index:1}.tube-row::before{left:0;right:0;bottom:2px;height:42px;border:0;border-radius:0;background:url("../assets/game-art/wooden-shelf.webp") center bottom/100% 100% no-repeat;box-shadow:none}.tube-row::after{left:7%;right:7%;bottom:1px;height:14px;background:rgba(78,47,18,.23);filter:blur(7px)}
.tube::before{bottom:25px;background:rgba(77,43,17,.3);filter:blur(6px)}
.glass{overflow:visible;filter:drop-shadow(0 8px 8px rgba(23,90,110,.25))}.test-tube-svg{display:none}.test-tube-art{position:absolute;inset:0;z-index:2;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}.ball{position:relative;z-index:1;border:2px solid rgba(255,255,255,.72);box-shadow:inset -5px -7px 9px rgba(75,30,35,.18),inset 3px 4px 7px rgba(255,255,255,.25),0 4px 5px rgba(55,59,48,.28)}
.tube.selected .test-tube-art{filter:drop-shadow(0 0 9px #ffb51b) drop-shadow(0 0 4px #fff)}.tube-number{z-index:4;min-width:20px;padding:2px 5px;border:1px solid rgba(255,255,255,.75);border-radius:99px;color:#14536a;background:rgba(255,248,218,.93);box-shadow:0 2px 5px rgba(72,50,20,.16);font-weight:950}
.game-actions{position:relative;z-index:4}.game-actions button{border:2px solid rgba(255,255,255,.82);color:#174b5d;background:linear-gradient(180deg,#fff9df,#f2dfaa);box-shadow:0 5px 0 #c79542,0 8px 15px rgba(74,53,20,.17);text-shadow:none}.game-actions button:hover:not(:disabled){transform:translateY(-2px);background:#fff4c8;box-shadow:0 7px 0 #c79542,0 10px 17px rgba(74,53,20,.2)}.game-actions .restart{border-color:#fff;color:#fff;background:linear-gradient(180deg,#ff837d,#e8525c);box-shadow:0 5px 0 #a92d3b,0 8px 15px rgba(93,34,39,.2)}
.mobile-game-note{color:#205b6e;font-weight:750}.win-panel{background:rgba(5,74,96,.94) url("../assets/game-art/playroom-background.webp") center/cover no-repeat;background-blend-mode:multiply}.win-panel::before,.win-panel::after{width:12px;height:12px;background:#ffd25d;box-shadow:72px 31px #ff776f,145px -18px #69ddbc,218px 38px #4c8dff,286px -9px #ffd25d,360px 44px #f06de0,-64px 43px #4c8dff}

@media(max-width:760px){
  .game-card{border-left:0;border-right:0;border-radius:17px}.tube-row::before{height:32px}.tube-row::after{bottom:0}.tube::before{bottom:19px}
  .mega-stage .tube-row::before{height:25px}.mega-stage .tube::before{bottom:13px}.mega-stage .tube-number{bottom:-7px}
}
@media(prefers-reduced-motion:reduce){.ball,.tube,.campaign-progress i,.win-stars,.win-panel::before,.win-panel::after{animation:none!important;transition:none!important}}

/* ==========================================================
   Organizaê! 2.4 — identidade visual e tipografia local
   ========================================================== */
.brand{gap:12px;letter-spacing:0}.brand-logo{width:50px;height:50px;border-radius:15px;filter:drop-shadow(0 5px 10px rgba(0,0,0,.28))}.brand-copy{display:flex;flex-direction:column;line-height:1}.brand-copy strong{font-family:var(--font-display);font-size:1.42rem;font-weight:760;letter-spacing:-.04em}.brand-copy small{margin-top:5px;color:#7fe7f5;font-family:var(--font-ui);font-size:.51rem;font-weight:900;letter-spacing:.2em}
.page-game-toolbar{min-height:54px;justify-content:space-between;padding:0 13px 0 10px}.game-title-lockup{gap:9px!important}.game-title-lockup>img{width:36px;height:36px;flex:0 0 36px;border-radius:11px;filter:drop-shadow(0 3px 6px rgba(16,42,67,.2))}.game-title-lockup>span{display:flex;flex-direction:column;gap:1px}.game-title-lockup strong{font-family:var(--font-display);font-size:1rem!important;font-weight:730;letter-spacing:-.035em}.game-title-lockup small{color:#78909a;font-size:.61rem;font-weight:750}.game-live-status{display:flex;align-items:center;gap:8px;color:#607b84;font-size:.61rem;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.game-live-status .game-status-dot{display:block}
.game-frame::before{content:"";position:absolute;top:18px;right:24px;width:230px;height:230px;pointer-events:none;background:url("../assets/organizae-logo-v4.png") center/contain no-repeat;opacity:.022;filter:grayscale(1)}
.game-toolbar small,.campaign-hud em,.tube-number,.win-rating,.sidebar-kicker{font-family:var(--font-ui)}
.win-panel h2,.section-title h2,.studio-footer strong{font-family:var(--font-display);font-weight:720}.section-title h2{letter-spacing:-.045em}.feature h3{font-family:var(--font-display);font-size:1.22rem;font-weight:680;letter-spacing:-.025em}
.sidebar-brand-signature{display:flex;align-items:center;gap:11px;margin:-3px 0 17px;padding-bottom:15px;border-bottom:1px solid #e7eff1}.sidebar-brand-signature>img{width:55px;height:55px;flex:0 0 55px;border-radius:16px;filter:drop-shadow(0 5px 9px rgba(16,42,67,.17))}.sidebar-brand-signature>span{display:flex;flex-direction:column}.sidebar-brand-signature strong{color:#102d3a;font-family:var(--font-display);font-size:1.25rem;font-weight:730;line-height:1;letter-spacing:-.04em}.sidebar-brand-signature small{margin-top:6px;color:#0b8da4;font-size:.48rem;font-weight:950;letter-spacing:.17em}.sidebar-brand-signature+.sidebar-kicker{margin-top:0}
.footer-lockup{display:flex;align-items:center;gap:16px}.footer-lockup>img{width:72px;height:72px;flex:0 0 72px;border-radius:21px;filter:drop-shadow(0 7px 14px rgba(0,0,0,.28))}.footer-lockup>div>strong{font-size:1.75rem;letter-spacing:-.035em}
@media(max-width:760px){.brand-logo{width:44px;height:44px}.brand-copy strong{font-size:1.22rem}.brand-copy small{font-size:.43rem;margin-top:4px}.page-game-toolbar{display:none}.game-frame::before{width:160px;height:160px;right:10px}.footer-lockup{align-items:flex-start}.footer-lockup>img{width:58px;height:58px;flex-basis:58px}.footer-lockup>div>strong{font-size:1.45rem}}
@media(max-width:390px){.brand-copy small{display:none}.brand-copy strong{font-size:1.16rem}.topbar{padding-left:9px;padding-right:9px}.brand{gap:8px}.brand-logo{width:40px;height:40px}.mobile-nav-toggle{width:41px;height:41px}}

/* ==========================================================
   Organizaê! 2.5 — jogo fixo e coluna lateral independente
   ========================================================== */
@media(min-width:1100px){
  html,body{height:100%;overflow:hidden}
  body{display:flex;flex-direction:column}
  .topbar{position:relative;top:auto;flex:0 0 74px;width:100%;height:74px;margin:0}
  .page{flex:1;min-height:0;height:auto;overflow:hidden;display:flex;flex-direction:column}
  main{flex:1;min-height:0;overflow:hidden}
  .play-layout{height:100%;margin:0 auto;padding:12px 0;align-items:stretch}
  .primary-game-column{height:100%;min-height:0;overflow:hidden}
  .game-section{flex:1;min-height:0;display:flex;flex-direction:column}
  .page-game-toolbar{flex:0 0 54px}
  .game-frame{flex:1;min-height:0;display:flex;padding:0;border:0;border-radius:22px;background:transparent;box-shadow:none}
  .game-wrap{height:100%;min-height:0;display:flex;flex-direction:column}
  .game-card{flex:1;min-height:0;display:flex;flex-direction:column}
  .game-toolbar,.status,.game-actions{flex:0 0 auto}
  .board{flex:1;min-height:0}
  .mobile-game-note{flex:0 0 auto}
  .desktop-ad-below-game{flex:0 0 90px}
  .desktop-sidebar{height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 7px 28px 0}
  .desktop-sidebar>*{flex:0 0 auto}
  .desktop-sidebar .sidebar-ad-card{height:250px;min-height:250px;flex-basis:250px}
  .desktop-sidebar .sidebar-details{min-height:56px}
  .desktop-sidebar .sidebar-details summary{min-height:56px;display:flex;align-items:center}
  .desktop-sidebar .related-games{min-height:max-content}
  .desktop-sidebar:focus-visible{outline:2px solid #0b8da4;outline-offset:3px;border-radius:18px}
  .desktop-sidebar::-webkit-scrollbar{width:9px}.desktop-sidebar::-webkit-scrollbar-track{border-radius:99px;background:rgba(16,42,67,.055)}.desktop-sidebar::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:99px;background:#9cb4bb;background-clip:padding-box}.desktop-sidebar::-webkit-scrollbar-thumb:hover{background:#708e98;background-clip:padding-box}
  .studio-footer{display:none}
}
@media(min-width:1100px) and (max-height:820px){
  .play-layout{padding-top:8px;padding-bottom:8px}.page-game-toolbar{flex-basis:46px;min-height:46px}.game-title-lockup>img{width:32px;height:32px;flex-basis:32px}
  .game-toolbar{height:50px}.status{margin-top:6px;padding-top:5px;padding-bottom:5px}.game-actions{padding-top:7px;padding-bottom:9px}.mobile-game-note{margin-top:5px}
  .compact-stage{min-height:0}.compact-stage .glass{width:76px;height:220px;padding:18px 11px 13px}.compact-stage .ball{width:48px;font-size:17px}
  .multi-row-stage{min-height:0}.multi-row-stage .glass{width:46px;height:134px;padding:9px 6px 8px}.multi-row-stage .ball{width:29px;font-size:9px}.multi-row-stage .tube-row{padding-bottom:20px}
  .mega-stage{min-height:0}.mega-stage .glass{width:34px;height:102px;padding:6px 5px 5px}.mega-stage .ball{width:19px;font-size:6px}.mega-stage .tube-row{padding-bottom:11px}
}

/* Organizaê! 3.3 — campanha persistente e fases avançadas legíveis */
.game-actions{flex-wrap:wrap}.level-panel{position:absolute;inset:58px 0 0;z-index:8;display:grid;place-items:center;padding:20px;background:rgba(3,20,31,.82);backdrop-filter:blur(8px)}
.level-panel[hidden]{display:none}.level-panel>section{width:min(560px,100%);max-height:100%;overflow:auto;padding:22px;border:1px solid rgba(173,229,238,.2);border-radius:22px;background:linear-gradient(155deg,#103d50,#082b3d);box-shadow:0 24px 60px rgba(0,0,0,.38)}
.level-panel header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px}.level-panel header small{color:#72e3d2;font-size:9px;font-weight:900;letter-spacing:.16em}.level-panel h2{margin:3px 0 0;font-family:var(--font-display);font-size:27px}.level-panel header button{width:38px;height:38px;border:1px solid rgba(255,255,255,.2);border-radius:50%;color:#fff;background:rgba(255,255,255,.08);font-size:24px;cursor:pointer}.level-panel>section>p{margin:17px 0 0;color:#9fc0ca;font-size:11px;text-align:center}
.level-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.level-grid button{min-height:68px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(255,255,255,.15);border-radius:13px;color:#eaf8fa;background:rgba(255,255,255,.07);cursor:pointer}.level-grid button:hover:not(:disabled),.level-grid button.current{border-color:#72e3d2;background:rgba(114,227,210,.15)}.level-grid button:disabled{opacity:.37;cursor:not-allowed}.level-grid strong{font-size:18px}.level-grid span{font-size:8px;color:#ffc857;white-space:nowrap}

@media(max-width:760px){
  .game-actions{gap:6px}.game-actions button{min-width:calc(50% - 6px);min-height:42px;font-size:11px}
  .mega-stage{min-height:360px;justify-content:flex-start;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;padding:5px 2px 8px}
  .mega-stage .tube-row{min-height:126px;gap:4px;padding:0 1px 13px}
  .mega-stage .tube{min-width:48px;min-height:118px;padding:3px 3px 0}
  .mega-stage .glass{width:42px;height:122px;padding:7px 6px 6px}
  .mega-stage .ball{width:25px;font-size:10px}
  .mega-stage .tube-number{bottom:-10px;font-size:9px}
  .mega-stage .ball.is-selected{transform:translateY(-15px) scale(1.05)}
  .level-panel{inset:52px 0 0;padding:10px}.level-panel>section{padding:17px 12px}.level-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.level-grid button{min-height:61px}
}

/* 3.7 final overrides: centered tubes and illustrated child-friendly balls. */
.glass{width:64px;height:128px;padding:8px 11px 7px;gap:0;top:7px}
.ball{width:27px;font-size:11px;border:0;color:#fff;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.42),transparent 25%),linear-gradient(145deg,var(--ball),var(--ball-shadow));box-shadow:0 3px 0 rgba(72,40,58,.24),0 5px 8px rgba(64,48,48,.24),inset 2px 3px 4px rgba(255,255,255,.2);text-shadow:0 2px 2px rgba(65,34,55,.28)}
.ball::before{display:none}.ball::after{content:"";position:absolute;inset:-2px;z-index:2;border-radius:50%;background:url("../assets/game-art/cute-ball-overlay.webp") center/100% 100% no-repeat;pointer-events:none}
.test-tube-art{object-position:center}.tube-number{left:50%;margin-left:0;transform:translateX(-50%)}
.compact-stage{min-height:300px}.compact-stage .glass{width:78px;height:156px;padding:10px 13px 9px;top:7px}.compact-stage .ball{width:34px;font-size:14px}.compact-stage .tube-row{gap:76px}
.single-row-stage .glass{width:64px;height:128px;padding:8px 11px 7px;top:7px}.single-row-stage .ball{width:27px;font-size:11px}
.multi-row-stage{min-height:330px}.multi-row-stage .glass{width:52px;height:104px;padding:7px 9px 6px;top:6px}.multi-row-stage .ball{width:22px;font-size:9px}.multi-row-stage .tube-row{padding-bottom:21px}
.mega-stage{min-height:330px}.mega-stage .glass{width:44px;height:88px;padding:6px 8px 5px;top:5px}.mega-stage .ball{width:18px;font-size:8px}.mega-stage .tube{min-width:50px}.mega-stage .tube-row{padding-bottom:17px}
.tube-row::before{height:34px}.tube::before{bottom:20px}.multi-row-stage .tube-row::before{bottom:8px;height:27px}.multi-row-stage .tube-row::after{bottom:5px}.mega-stage .tube-row::before{bottom:6px;height:23px}.mega-stage .tube-row::after{bottom:3px}.mega-stage .tube::before{bottom:13px}
.ball.is-selected{transform:translateY(-20px) scale(1.06)}.multi-row-stage .ball.is-selected{transform:translateY(-15px) scale(1.06)}.mega-stage .ball.is-selected{transform:translateY(-12px) scale(1.06)}

@media(min-width:1100px) and (max-height:820px){
  .compact-stage{min-height:0}.compact-stage .glass{width:70px;height:140px;padding:9px 12px 8px}.compact-stage .ball{width:30px;font-size:12px}
  .multi-row-stage{min-height:0}.multi-row-stage .glass{width:48px;height:96px;padding:6px 8px 5px}.multi-row-stage .ball{width:20px;font-size:8px}
  .mega-stage{min-height:0}.mega-stage .glass{width:40px;height:80px;padding:5px 7px 4px}.mega-stage .ball{width:16px;font-size:7px}
}

@media(max-width:760px){
  .compact-stage{min-height:260px}.compact-stage .glass{width:70px;height:140px;padding:9px 12px 8px;top:6px}.compact-stage .ball{width:30px;font-size:12px}.compact-stage .tube-row{gap:50px}
  .single-row-stage .glass{width:58px;height:116px;padding:7px 10px 6px;top:6px}.single-row-stage .ball{width:24px;font-size:10px}
  .multi-row-stage{min-height:300px}.multi-row-stage .glass{width:48px;height:96px;padding:6px 8px 5px;top:5px}.multi-row-stage .ball{width:20px;font-size:8px}
  .mega-stage{min-height:315px}.mega-stage .tube-row{min-height:101px}.mega-stage .tube{min-width:48px;min-height:92px}.mega-stage .glass{width:40px;height:80px;padding:5px 7px 4px;top:4px}.mega-stage .ball{width:16px;font-size:7px}
}

/* Organizaê! 3.9 — layout exclusivo para celulares na horizontal. */
@media(orientation:landscape) and (max-width:1099px) and (max-height:600px){
  html,body{height:100%;overflow:hidden}
  body{display:flex;flex-direction:column}
  .page{flex:1;min-height:0;width:100%;height:auto;display:flex;flex-direction:column;overflow:hidden}
  .topbar{position:relative;flex:0 0 48px;width:100%;height:48px;margin:0;padding:4px 12px}
  .brand{gap:8px}.brand-logo{width:38px;height:38px;border-radius:11px}.brand-copy strong{font-size:1.08rem}.brand-copy small{display:none}
  .mobile-nav-toggle{width:38px;height:38px;border-radius:11px}.nav{display:none}.mobile-nav-toggle{display:grid;place-items:center}
  .mobile-menu{position:absolute;top:100%;left:0;right:0;z-index:60;grid-template-columns:1fr;gap:3px;padding:8px;border:1px solid #d9e4dd;border-radius:0 0 14px 14px;background:#fff;box-shadow:0 12px 24px rgba(16,42,67,.2)}.mobile-menu:not([hidden]){display:grid}.mobile-menu a{padding:9px 12px;color:#102a43;text-decoration:none;font-size:.78rem;font-weight:800}.mobile-menu a:first-child{color:#087d94;background:#e8f7f9;border-radius:8px}.mobile-menu a:last-child{color:#fff;background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);border-radius:8px;text-align:center}
  main{flex:1;min-height:0;overflow:hidden}
  .play-layout{width:100%;height:100%;margin:0;padding:0}
  .primary-game-column,.game-section,.game-frame,.game-wrap{height:100%;min-height:0}
  .primary-game-column{gap:0}.page-game-toolbar,.desktop-ad-below-game,.mobile-game-note,.studio-footer{display:none}
  .game-frame{display:flex;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
  .game-card{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;border-left:0;border-right:0;border-radius:0}
  .game-toolbar{flex:0 0 46px;height:46px;padding:0 10px;gap:8px}.campaign-hud{min-width:132px!important;gap:2px 7px}.campaign-progress{height:4px}.hud-stat{min-width:42px}.game-toolbar small{font-size:6px}.game-toolbar strong{font-size:12px}.toolbar-actions button{width:28px;height:28px}
  .status{flex:0 0 auto;min-height:25px;margin:4px auto 0;padding:4px 10px;font-size:9px}
  .board,.compact-stage,.single-row-stage,.multi-row-stage,.mega-stage{flex:1;min-height:0;overflow:hidden;padding:1px 4px 0;gap:0;justify-content:center}
  .tube-row,.mega-stage .tube-row{flex:1;min-height:0;gap:clamp(4px,1.4vw,12px);padding:0 2px 10px}
  .compact-stage .tube-row{gap:54px}
  .compact-stage .glass{width:62px;height:124px;padding:7px 10px 6px;top:4px}.compact-stage .ball{width:26px;font-size:11px}
  .single-row-stage .glass{width:54px;height:108px;padding:6px 9px 5px;top:4px}.single-row-stage .ball{width:22px;font-size:9px}
  .multi-row-stage .glass,.mega-stage .glass{width:42px;height:84px;padding:5px 7px 4px;top:3px}.multi-row-stage .ball,.mega-stage .ball{width:17px;font-size:7px}
  .multi-row-stage .tube,.mega-stage .tube{min-width:42px;min-height:0;padding:1px 1px 0}
  .tube-row::before,.multi-row-stage .tube-row::before,.mega-stage .tube-row::before{bottom:0;height:22px}.tube-row::after,.multi-row-stage .tube-row::after,.mega-stage .tube-row::after{bottom:0;height:7px}
  .tube::before,.multi-row-stage .tube::before,.mega-stage .tube::before{bottom:11px}.tube-number,.multi-row-stage .tube-number,.mega-stage .tube-number{bottom:-5px;font-size:7px}
  .ball.is-selected,.multi-row-stage .ball.is-selected,.mega-stage .ball.is-selected{transform:translateY(-12px) scale(1.05)}
  .game-actions{flex:0 0 44px;flex-wrap:nowrap;gap:5px;margin:0 7px;padding:4px 0 7px}.game-actions button{min-width:0;min-height:31px;padding:5px 9px;font-size:9px;white-space:nowrap}
  .win-panel{inset:46px 0 0;padding:10px}.win-stars{min-height:28px;font-size:24px}.win-rating{margin-top:2px!important}.win-panel h2{margin:2px 0 4px;font-size:25px}.win-best{margin:4px 0 7px!important}.win-actions{flex-direction:row;justify-content:center}.win-panel button{min-width:150px;padding:9px 15px}
  .level-panel{inset:46px 0 0;padding:7px}.level-panel>section{width:min(650px,100%);padding:10px 12px}.level-panel header{margin-bottom:8px}.level-panel h2{font-size:21px}.level-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.level-grid button{min-height:45px}
}
@media(orientation:landscape) and (max-width:1099px) and (max-height:340px){
  .topbar{flex-basis:42px;height:42px}.brand-logo{width:34px;height:34px}.mobile-nav-toggle{width:34px;height:34px}
  .game-toolbar{flex-basis:40px;height:40px}.status{min-height:21px;margin-top:2px;padding:3px 9px}
  .multi-row-stage .glass,.mega-stage .glass{width:37px;height:74px;padding:4px 6px 3px}.multi-row-stage .ball,.mega-stage .ball{width:15px;font-size:6px}
  .multi-row-stage .tube,.mega-stage .tube{min-width:38px}.game-actions{flex-basis:38px;padding:2px 0 5px}.game-actions button{min-height:28px;padding:4px 7px;font-size:8px}
}

/* Organizaê! 4.9 — seção “Outros jogos” da Prova Infinita 5.8. */
@media(min-width:1100px){
  .related-games{padding:20px}
  .related-games .sidebar-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:13px}
  .related-games .sidebar-title-row h2{margin:0}
  .related-games .sidebar-title-row>a{color:#087d94;font-size:.66rem;font-weight:900;text-decoration:none}
  .related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .related-card{overflow:hidden;border:1px solid #d8e6e9;border-radius:12px;color:#173744;background:#f7fafb;text-decoration:none;transition:.16s}
  .related-card:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(18,74,91,.12)}
  .related-card img{display:block;width:100%;height:68px;object-fit:cover}
  .related-card span{display:block;padding:8px 7px 9px;overflow:hidden;font-size:.62rem;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
}

/* ==========================================================
   Organizaê! 5.0 — estrutura editorial da Prova Infinita
   com a identidade cromática do Organizaê!
   ========================================================== */
.nav a.active{color:rgba(255,255,255,.88);background:transparent}
.cj-section{width:min(1120px,calc(100% - 40px));margin:0 auto 72px;scroll-margin-top:90px}
.cj-section>h2{margin:0 0 26px;text-align:center;font-family:var(--font-display);font-size:2rem;letter-spacing:-.035em}
.cj-section .features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.cj-section .features article,.cj-section .note{padding:24px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(16,42,67,.08)}
.cj-section .features span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#fff;background:linear-gradient(145deg,#0b8da4,#08657c);box-shadow:0 5px 12px rgba(11,141,164,.25);font-size:18px;font-weight:950}
.cj-section .features h3{margin:12px 0 7px;font-family:var(--font-display);font-size:1.2rem}
.cj-section .features p,.cj-section .note p{margin:0;color:var(--muted);line-height:1.58}
.cj-section .note{text-align:center}
.cj-section .note .eyebrow{margin:0 0 7px;color:var(--teal);font-size:.72rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase}
.cj-section .note h2{margin:0 0 10px;font-family:var(--font-display);font-size:2rem;letter-spacing:-.035em}
.cj-section .note>p:not(.eyebrow){max-width:740px;margin:0 auto 20px}
.section-button{display:inline-block;padding:12px 20px;border-radius:999px;color:#fff;background:var(--coral);font-weight:900;text-decoration:none;box-shadow:0 7px 16px rgba(255,108,105,.25)}
.site-footer{width:100vw;margin:0 calc(50% - 50vw);padding:34px max(24px,calc((100vw - 1120px)/2));display:flex;justify-content:space-between;gap:30px;color:#dcecf3;background:linear-gradient(135deg,#102a43,#08233a)}
.site-footer p{margin:7px 0;color:rgba(255,255,255,.72);font-size:.82rem}.site-footer a{color:#fff}.site-footer nav{display:flex;flex-wrap:wrap;align-content:start;gap:14px}.site-footer nav a{text-decoration:none;font-size:.82rem;font-weight:800}

@media(min-width:1100px){
  html,body{height:auto;overflow:visible}
  body{display:block}
  .topbar{position:sticky;top:0;height:74px;min-height:74px}
  .page{height:auto;min-height:0;overflow:visible;display:block}
  main{overflow:visible}
  .play-layout{height:auto;margin:0 auto 76px;padding:12px 0;align-items:start}
  .primary-game-column{position:sticky;top:86px;height:auto;overflow:visible}
  .game-section{display:block}
  .game-frame{height:calc(100vh - 200px);min-height:560px;max-height:760px}
  .game-wrap,.game-card{height:100%}
  .desktop-sidebar{height:auto;overflow:visible;padding:0 7px 28px 0}
  .site-footer{display:flex}
}

@media(max-width:1099px){
  .cj-section .features{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .mobile-menu>.game-link{color:#fff;background:var(--coral);border-radius:9px;text-align:center}
  .mobile-menu>.how-link,.mobile-menu>.about-link{color:#315369;background:#f4f8f9;border-radius:9px;text-align:center}
  .mobile-menu>.catalog-link{color:#087d94;background:#e8f7f9;border-radius:9px;text-align:center}
  .mobile-menu>.follow-link{color:#fff;background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045)}
  .cj-section{width:calc(100% - 24px);margin-bottom:46px;scroll-margin-top:76px}
  .cj-section .features{grid-template-columns:1fr}
  .cj-section .note h2,.cj-section>h2{font-size:1.7rem}
  .site-footer{display:block;padding:28px 20px}.site-footer nav{margin-top:22px}
}

@media(orientation:landscape) and (max-width:1099px) and (max-height:600px){
  html,body{height:auto;overflow-x:hidden;overflow-y:auto}
  body{display:block}
  .page{display:block;height:auto;overflow:visible}
  main{height:calc(100dvh - 48px);min-height:292px;overflow:hidden}
  .play-layout{height:100%;margin:0;padding:0}
  .site-footer{display:flex}
  .cj-section{margin-top:42px}
}

/* Foco acessível: toque não deixa o retângulo nativo, mas teclado continua visível. */
.tube:focus-visible{outline:3px solid #ffd25d;outline-offset:3px;box-shadow:0 0 0 3px rgba(11,141,164,.55)}
@media(hover:none) and (pointer:coarse){
  .tube{-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}
  .tube:focus:not(:focus-visible){outline:0;box-shadow:none}
}

/* Organizaê! 4.5 — compartilhamento no menu mobile. */
.mobile-share{display:none}
@media(max-width:760px),(orientation:landscape) and (max-width:1099px) and (max-height:600px){
  .mobile-menu>.catalog-link{color:#087d94;background:#e8f7f9;border-radius:9px}
  .mobile-menu>.follow-link{color:#fff;background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);border-radius:9px;text-align:center}
  .mobile-share{display:block}
  .mobile-share-toggle{width:100%;padding:10px 12px;border:0;border-radius:9px;color:#315369;background:#f4f8f9;font-size:.8rem;font-weight:900;cursor:pointer}
  .mobile-share-toggle[aria-expanded="true"]{color:#fff;background:#0b8da4}
  .share-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 3px 2px}
  .share-choices[hidden]{display:none}
  .mobile-menu .share-choices>.share-choice{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 7px;border:1px solid #dce9ed;border-radius:11px;color:#26475b;background:#f7fafb;text-align:center}
  .mobile-menu .share-choices>.share-choice:hover{color:#26475b;background:#eef6f8}
  .share-choice svg{width:20px;height:20px;flex:0 0 20px;fill:currentColor}
  .share-choice.whatsapp svg{color:#19a968}.share-choice.telegram svg{color:#248bc1}
}

/* ==========================================================
   Organizaê! 4.7 — regras responsivas finais consolidadas
   Estas regras são a única fonte de dimensões das fases 11–15
   no mobile, evitando novas sobreposições entre versões antigas.
   ========================================================== */
@media(max-width:760px){
  .mega-stage{min-height:340px;padding-top:2px}
  .mega-stage .tube-row{min-height:111px;gap:8px;padding:0 2px 13px}
  .mega-stage .tube{min-width:52px;min-height:103px;padding:3px 2px 0}
  .mega-stage .glass{width:48px;height:96px;padding:6px 8px 5px;top:4px}
  .mega-stage .ball{width:20px;font-size:9px}
  .mega-stage .tube-number{bottom:-10px;font-size:8px}
  .mega-stage .ball.is-selected{transform:translateY(-16px) scale(1.05)}
}

@media(orientation:landscape) and (max-width:1099px) and (max-height:600px){
  .mega-stage .tube-row{gap:clamp(4px,1.25vw,10px);padding-inline:2px}
  .mega-stage .tube{min-width:46px;min-height:0}
  .mega-stage .glass{width:46px;height:92px;padding:6px 8px 5px;top:3px}
  .mega-stage .ball{width:20px;font-size:9px}
  .mega-stage .tube-number{font-size:8px}
}

@media(orientation:landscape) and (max-width:1099px) and (max-height:340px){
  .mega-stage .tube{min-width:42px}
  .mega-stage .glass{width:42px;height:84px;padding:5px 7px 4px}
  .mega-stage .ball{width:18px;font-size:8px}
}

/* Organizaê! 5.1 — navegação coerente com a identidade do jogo. */
@media(min-width:1100px){
  .nav a.active{color:rgba(255,255,255,.88);background:transparent}
  .nav a.active:hover{color:#fff;background:rgba(255,255,255,.1)}
}

@media(max-width:760px),(orientation:landscape) and (max-width:1099px) and (max-height:600px){
  .mobile-menu{gap:7px;padding:10px;background:#f8fcfc}
  .mobile-menu>.mobile-share,.mobile-menu>.follow-link,.mobile-menu>.catalog-link{width:100%;margin:0}
  .mobile-share-toggle,.mobile-menu>.follow-link,.mobile-menu>.catalog-link{
    min-height:46px;padding:8px 14px;border:0;border-radius:11px;
    display:flex;align-items:center;justify-content:center;
    font-family:var(--font-ui);font-size:.82rem;font-weight:900;line-height:1.2;
    letter-spacing:0;text-align:center;text-transform:none
  }
  .mobile-share-toggle{color:#075f73;background:#dff5f7}
  .mobile-share-toggle[aria-expanded="true"]{color:#fff;background:#087d94}
  .mobile-menu>.follow-link{color:#fff;background:#0b8da4}
  .mobile-menu>a.catalog-link{color:#fff;background:#102a43}
  .mobile-menu>.follow-link:hover,.mobile-menu>.catalog-link:hover{color:#fff}
  .mobile-menu .share-choices>.share-choice{font-family:var(--font-ui);font-size:.78rem;font-weight:850}
}

/* Organizaê! 5.7 — acabamento e alinhamento exclusivos do HUD no PC. */
@media(min-width:1100px){
  .game-card{
    background:
      linear-gradient(#0b7185 0 58px,transparent 58px),
      #f7e9c9 url("../assets/game-art/playroom-background.webp") center/cover no-repeat;
  }
  .campaign-hud>div,.hud-stat{align-items:center;text-align:center}
}

/* Organizaê! 5.8 — HUD exclusivo do mobile em orientação vertical. */
@media(orientation:portrait) and (max-width:760px){
  .game-toolbar{
    height:58px;
    padding:0 8px;
    display:grid;
    grid-template-columns:minmax(100px,1fr) 66px 42px 62px;
    align-items:center;
    gap:5px;
  }
  .campaign-hud{
    min-width:0!important;
    grid-template-columns:auto minmax(30px,1fr);
    gap:3px 7px;
  }
  .campaign-hud>div{min-width:48px}
  .campaign-progress{min-width:0}
  .hud-stat{
    min-width:0;
    align-items:center;
    text-align:center;
  }
  .game-toolbar small{
    font-size:6.5px;
    letter-spacing:.45px;
    white-space:nowrap;
  }
  .game-toolbar strong{font-size:13px;line-height:1.1}
  .game-toolbar .toolbar-actions{
    width:62px;
    margin-left:0!important;
    justify-content:space-between;
    gap:4px!important;
  }
  .toolbar-actions button{flex:0 0 29px}
}

/* Organizaê! 5.9 — HUD exclusivo do mobile em orientação horizontal. */
@media(orientation:landscape) and (max-width:1099px) and (max-height:600px){
  .game-toolbar{
    padding-inline:10px;
    display:grid;
    grid-template-columns:minmax(155px,220px) 86px 64px minmax(62px,1fr);
    align-items:center;
    gap:8px;
  }
  .campaign-hud{
    min-width:0!important;
    grid-template-columns:74px minmax(70px,1fr);
    gap:2px 8px;
  }
  .campaign-hud>div,.hud-stat{
    min-width:0;
    align-items:center;
    text-align:center;
  }
  .campaign-progress{min-width:0;height:5px}
  .game-toolbar small{
    font-size:7px;
    letter-spacing:.55px;
    white-space:nowrap;
  }
  .game-toolbar strong{font-size:13px;line-height:1.1}
  .game-toolbar .toolbar-actions{
    width:62px;
    margin-left:0!important;
    justify-self:end;
    justify-content:space-between;
    gap:4px!important;
  }
  .toolbar-actions button{flex:0 0 28px}
}

/* Organizaê! 6.2 — impede excedente horizontal dos elementos full-bleed no PC. */
@media(min-width:1100px){
  html,body{max-width:100%;overflow-x:hidden;overflow-x:clip}
}

.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
