
    .jrSizes{position:absolute;left:22px;top:20px;display:flex;gap:6px;padding:6px;border-radius:22px;background:rgba(255,250,240,.95);box-shadow:0 5px 0 rgba(0,0,0,.25);z-index:2}
    .jrSizes button{width:56px;height:56px;border-radius:16px;border:3px solid #d8cbb4;background:#fff;display:grid;place-items:center;cursor:pointer;padding:0;color:#3f7fb0}
    .jrSizes button i{width:var(--s);height:var(--s);border-radius:5px;background:currentColor}
    .jrSizes button[aria-pressed="true"]{border-color:currentColor;background:#eaf3fb;box-shadow:0 4px 0 rgba(0,0,0,.18)}
    .jrSizes.erase button{color:#6c6359}
    .jrPhases{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
    .jrPhase{min-width:58px;height:58px;border-radius:18px;border:3px solid #d8cbb4;background:#fff;color:#3b342f;display:grid;place-items:center;cursor:pointer;padding:0 8px;font:800 15px "Nunito","Trebuchet MS",sans-serif;line-height:1}
    .jrPhase b{font:800 26px "Baloo 2","Nunito",sans-serif;display:block}
    .jrPhase[aria-pressed="true"]{background:#e8a91c;border-color:#e8a91c;color:#3b2a05;box-shadow:0 4px 0 #a87510}
    .jrPhase.add{border-style:dashed;color:#3f9a35;border-color:#3f9a35}
    .jrPhase.drop{border-color:#e6b9bd;color:#c2414b;min-width:48px}
    .jrPhasePill{font-size:24px;padding:0 20px}
    .jrRecordRow{display:flex;align-items:center;gap:20px}
    .jrRecord{width:110px;height:110px;border-radius:50%;border:6px solid #fff;background:#c2414b;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 7px 0 #8c2a32;flex:none}
    .jrRecord.on{animation:jrPulse 1s infinite;background:#e0402a}
    @keyframes jrPulse{50%{transform:scale(1.08)}}
    .jrRecordInfo{display:grid;gap:10px}
    .jrRecordInfo>span{font-size:26px}
    .jrRecordButtons{display:flex;gap:10px}
    .jrRecordButtons .jrBtn:disabled{opacity:.4;cursor:default}
    .jrBtn.jrWide{width:auto;padding:0 18px;gap:6px;display:inline-flex;align-items:center;font-size:20px;font-weight:800}
    .jrSignRemove{color:#c2414b}
    #jrApp{position:fixed;inset:0;z-index:30;font-family:"Nunito","Trebuchet MS",system-ui,sans-serif;color:var(--dvj-ink);background:var(--dvj-bg)}
    #modeChooser[hidden],#jrApp[hidden],#jrApp [hidden]{display:none!important}
    body.jrMode{overflow:hidden}
    .jrDisplay{font-family:"Baloo 2","Nunito","Trebuchet MS",sans-serif;font-weight:800;line-height:1.05}
    /* 02/11/2026: a escolha de modo já nasce visível no HTML e fica no fluxo, logo abaixo do topo do site. */
    #modeChooser{display:grid;justify-items:center;align-content:start;padding:32px 16px 48px;min-height:calc(100vh - 72px)}
    .chooserInner{width:min(1100px,100%);display:grid;gap:26px;text-align:center}
    .chooserInner h1{margin:0;font-size:clamp(34px,5vw,56px)}
    .chooserCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
    .modeCard{display:grid;gap:12px;justify-items:center;padding:30px 24px;cursor:pointer;font:inherit}
    .modeCard:hover{transform:translateY(-3px)}
    .modeCard:focus-visible,#jrApp button:focus-visible,#jrApp a:focus-visible{outline:4px solid #2f6fd1;outline-offset:3px}
    .modeCard strong{font-size:clamp(28px,3.4vw,40px)}
    .modeCard .modeDesc{font-size:18px;max-width:30ch;line-height:1.4}
    .modeCard .modeBadge{display:grid;place-items:center;width:110px;height:110px;border-radius:32px;color:#fff;font-size:44px}
#jrApp .jrGo.jrCode{background:#6b3fd9!important;box-shadow:0 6px 0 #4a25a8!important;color:#fff!important}.jrBtn.jrCodeOn,.jrBtn.jrTo20,#jr-create .jrTop .jrBtn.jrCodeOn,#jr-create .jrTop .jrBtn.jrTo20{width:auto;padding:0 14px;font-size:15px;font-weight:800;color:#6b3fd9;border-color:#c9b6f2;white-space:nowrap}.jrBtn[hidden]{display:none}.jrGo.jrCode svg{width:40px;height:40px}
    .modeSwitch{display:inline-flex;align-items:center;text-decoration:none}
    #jrApp{display:block}
    .jrView{position:absolute;inset:0;display:flex;flex-direction:column}
    .jrBtn{display:grid;place-items:center;width:60px;height:60px;border-radius:20px;border:3px solid #d8cbb4;background:#fff;color:#5a5148;cursor:pointer;padding:0;flex:none}
    .jrBtn:disabled{opacity:.4;cursor:default}
    #jrApp .jrVoice[aria-pressed="false"]{background:#f3e3e4;border-color:#c2414b;color:#c2414b}
    .jrGo{display:inline-flex;align-items:center;gap:12px;min-height:64px;padding:0 32px 0 24px;border-radius:999px;border:0;background:#3f9a35;color:#fff;box-shadow:0 6px 0 #2b6d24;font-size:30px;cursor:pointer}
    .jrGo:active{transform:translateY(3px);box-shadow:0 3px 0 #2b6d24}
    .jrTop{display:flex;align-items:center;gap:14px;padding:12px 22px;background:#fffaf0;border-bottom:2px solid #e6dac6;min-height:84px;box-sizing:border-box}
    .jrTitle{display:flex;align-items:center;gap:12px;padding:6px 18px 6px 6px;border-radius:999px;background:#fff;border:3px solid #e6dac6;min-width:0}
    .jrTitle canvas{width:48px;height:48px;border-radius:50%;background:#e9f6e3}
    .jrTitle span{font-size:26px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .jrSpacer{flex:1}
    /* 19/11/2026 (plano de navegação, P4): voltar com o destino escrito. A seta é a mesma do topo de foco do site
       (focusBack em site-nav.js). Com ?volta=/caminho o primeiro botão é "Atividades" e o Início fica só com a casinha. */
    .jrLead{display:contents}
    .jrBackTo,#jr-create .jrTop .jrBtn.jrBack{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;box-sizing:border-box;width:auto;min-width:60px;white-space:nowrap}
    .jrBackTo{height:60px;padding:0 18px 0 12px;border-radius:20px;border:3px solid #3b342f;background:#fff;color:#3b342f;font-size:22px;line-height:1;text-decoration:none;box-shadow:0 4px 0 #3b342f;cursor:pointer}
    .jrBackTo:hover{background:#efe9ff}.jrBackTo:active{transform:translateY(3px);box-shadow:0 1px 0 #3b342f}
    .jrBackTo:focus-visible{outline:4px solid #2f6fd1;outline-offset:3px}
    .jrBackTo[hidden]{display:none}
    .jrBackTo svg,.jrBack svg{flex:none}
    .jrStart>.jrBackTo{align-self:flex-start;flex:none}
    #jr-create .jrTop .jrBtn.jrBack{padding:0;font-size:22px;color:#3b342f}
    #jr-create .jrBack .jrBackArrow,#jr-create .jrBack>span{display:none}
    /* O texto aparece quando cabe: telas largas (1500 px ou mais) e a primeira linha da barra de duas linhas. */
    @media(min-width:1500px),(min-width:561px) and (max-width:860px){#jrApp:not(.jrHasVolta) #jr-create .jrTop .jrBtn.jrBack{padding:0 16px 0 10px}#jrApp:not(.jrHasVolta) #jr-create .jrBack .jrBackArrow{display:block}#jrApp:not(.jrHasVolta) #jr-create .jrBack>span{display:inline}#jrApp:not(.jrHasVolta) #jr-create .jrBack .jrBackHome{display:none}}
    @media(max-width:1280px){#jr-create .jrBackTo,#jr-create .jrTop .jrBtn.jrBack{min-width:52px}#jr-create .jrBackTo{height:52px;border-radius:16px;font-size:20px;padding:0 14px 0 10px}}
    @media(min-width:861px) and (max-width:1499px),(max-width:560px){#jr-create .jrBackTo{padding:0}#jr-create .jrBackTo>span{display:none}}
    .jrSavedHead .jrFolderLink{text-decoration:none;box-sizing:border-box}
    /* Uma linha (acima de 860 px): quando os botões não cabem (aluno com conta, programação ligada, várias fases) a barra
       rola de lado em vez de cortar o Jogar e amassar o título; o Jogar fica preso na ponta direita, com um degradê do
       lado dele avisando que há mais. Quando tudo cabe, nada muda. */
    #jr-create .jrTop{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;-ms-overflow-style:none}
    #jr-create .jrTop::-webkit-scrollbar{display:none}
    #jr-create .jrTop>*:not(.jrSpacer),#jr-create .jrLead>*{flex:none}
    #jr-create .jrLead>.jrTitle{flex:0 1 auto;min-width:110px}
    @media(max-width:1100px){#jr-create .jrLead>.jrTitle{flex:none;min-width:0}}
    @media(min-width:861px){#jr-create .jrTop .jrGo[data-jr="play"]{position:sticky;right:0;z-index:1}#jr-create .jrTop[data-mais] .jrGo[data-jr="play"]{outline:14px solid var(--jr-top-bg,#fffaf0)}#jr-create .jrTop[data-mais~="fim"] .jrGo[data-jr="play"]::before{content:"";position:absolute;right:calc(100% + 14px);top:-14px;bottom:-14px;width:44px;background:linear-gradient(to right,transparent,var(--jr-top-bg,#fffaf0));pointer-events:none}#jr-create .jrTop[data-mais~="ini"]{-webkit-mask-image:linear-gradient(to right,transparent,#000 44px);mask-image:linear-gradient(to right,transparent,#000 44px)}}
    #modeChooser .chooserMine a{display:inline-flex;align-items:center;gap:8px;min-height:44px}
    .jrStart{overflow:auto;padding:28px 48px 32px;gap:22px}
    .jrStart h1{margin:0;font-size:clamp(34px,4vw,48px);display:flex;align-items:center;gap:16px}
    .jrStart h2{margin:0;display:flex;align-items:center;gap:12px;font-size:30px}
    .jrNum{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#fff;font-size:24px;flex:none}
    .jrWorlds{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
    .jrWorld{display:grid;justify-items:center;gap:10px;padding:22px 12px 16px;border-radius:26px;border:3px solid #e2d5bf;background:#fff;box-shadow:0 6px 0 #ddd0b9;cursor:pointer;font:inherit;color:#3b342f}
    .jrWorld[aria-pressed="true"]{border:5px solid #3f9a35;box-shadow:0 10px 0 #2b6d24}
    .jrWorld b{font-size:28px}
    .jrWorld.floresta{background:linear-gradient(#e6f6e7,#fff)}.jrWorld.doce{background:linear-gradient(#fde2eb,#fff)}.jrWorld.neve{background:linear-gradient(#e3f1fb,#fff)}.jrWorld.castelo{background:linear-gradient(#ebe7f0,#fff)}.jrWorld.faiscas{background:linear-gradient(#e9e2ff,#fff)}
    .jrHeroes{display:flex;gap:20px;flex-wrap:wrap}
    .jrHero{width:116px;height:116px;border-radius:50%;border:3px solid #e2d5bf;background:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
    .jrHero[aria-pressed="true"]{border:6px solid #3f9a35;background:#e9f6e3}
    .jrHero canvas{width:84px;height:84px}
    .jrStartActions{margin-top:auto;display:flex;justify-content:flex-end;gap:16px;flex-wrap:wrap}
    .jrSavedBox{display:grid;gap:12px}
    .jrSavedHead{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
    .jrSavedHead .jrSecondary{min-height:56px;font-size:20px;padding:0 22px}
    .jrSavedList{display:flex;gap:12px;overflow-x:auto;padding:4px 2px 8px}
    .jrSavedList:empty{display:none}
    .jrSavedCard{flex:none;width:210px;display:grid;gap:4px;text-align:left;padding:14px 16px;border-radius:22px;border:3px solid #d8cbb4;background:#fff;cursor:pointer;color:#3b342f;font:inherit;box-shadow:0 5px 0 #e6dac6}
    .jrSavedCard b{font-size:20px;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .jrSavedCard span{font-size:15px;color:#6c6359}
    .jrSavedCard.active{border-color:#3f9a35;box-shadow:0 5px 0 #2b6d24}
    .jrSaveState{font-size:16px;color:#2b6d24;white-space:nowrap}
    .jrSaveState.saving{color:#8a6a10}
    .jrSecondary{display:inline-flex;align-items:center;gap:10px;min-height:64px;padding:0 28px;border-radius:999px;border:3px solid #d8cbb4;background:#fff;color:#3b342f;font-size:24px;cursor:pointer}
    .jrBody{flex:1;min-height:0;display:flex;gap:18px;padding:16px 22px 14px}
    .jrRail{width:132px;display:flex;flex-direction:column;gap:10px;flex:none}
    .jrTool{flex:1;max-height:84px;min-height:64px;border-radius:22px;border:4px solid var(--c);background:#fff;color:var(--c);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer;padding:0}@media(max-height:860px){.jrRail{gap:6px}.jrRail .jrTool{min-height:46px;max-height:62px;border-radius:16px;border-width:3px}.jrRail .jrTool svg{width:26px;height:26px}.jrRail .jrTool span{font-size:14px}}
    .jrTool span{font-size:20px}
    .jrTool[aria-pressed="true"]{background:var(--c);color:#fff;box-shadow:0 5px 0 rgba(0,0,0,.22)}
    .jrStageWrap{flex:1;min-width:0;min-height:0;overflow:hidden;border-radius:26px;background:#3b342f;padding:10px;display:grid;place-items:center;position:relative}
    #jrStage{position:absolute;inset:10px;display:grid;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center}
    #jrStage canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;aspect-ratio:16/9;border-radius:16px;touch-action:none;cursor:crosshair;background:#fff}
    /* 24/10/2026: alvos de zoom do palco (pinça também funciona; botões para quem não pinça). */
    #stageZoom{position:absolute;top:20px;right:20px;z-index:3;display:none;flex-direction:column;gap:8px}
    #jr-create:not([hidden]) #stageZoom{display:flex}
    .szBtn{width:52px;height:52px;border-radius:16px;border:3px solid rgba(255,255,255,.92);background:rgba(59,52,47,.85);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 14px rgba(20,16,12,.35);touch-action:manipulation;-webkit-tap-highlight-color:transparent}
    .szBtn svg{width:26px;height:26px}.szBtn:active{transform:scale(.93)}
    @media(max-height:760px){#stageZoom{top:14px;right:14px;gap:6px}.szBtn{width:46px;height:46px;border-radius:14px}.szBtn svg{width:22px;height:22px}}
    .jrChips{position:absolute;right:88px;top:20px;display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:70%}
    .jrChip{display:flex;align-items:center;gap:6px;padding:6px 12px 6px 6px;border-radius:999px;background:rgba(255,250,240,.95);font-size:18px;color:#6c6359}
    .jrChip i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e2d5bf;color:#fff;font-style:normal;font-size:16px}
    .jrChip.done{color:#2b6d24}.jrChip.done i{background:#3f9a35}
    .jrGuide{position:absolute;left:26px;bottom:22px;display:flex;align-items:flex-end;gap:10px;max-width:calc(100% - 52px);transition:opacity .25s}
    .jrGuide.collapsed .jrBubble{display:none}
    .jrGuide.collapsed .jrMascot{cursor:pointer;pointer-events:auto;animation:jrMascotNudge 2.4s ease-in-out infinite}
    .jrGuide.collapsed .jrMascot::after{content:'?';position:absolute;right:-4px;top:-4px;width:24px;height:24px;border-radius:50%;background:#2f6fd1;color:#fff;font:900 15px/24px Lexend,system-ui,sans-serif;text-align:center;box-shadow:0 2px 0 #1f4b93}
    .jrMascot{position:relative}
    @keyframes jrMascotNudge{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
    @media(max-width:900px),(max-height:720px){.jrGuide{left:14px;bottom:12px;gap:6px}.jrGuide .jrBubble{padding:8px 10px 8px 12px;border-radius:16px 16px 16px 4px}.jrGuide .jrBubble span{font-size:15px}.jrGuide .jrSpeak{width:34px;height:34px}.jrGuide .jrSpeak svg{width:18px;height:18px}#jrGuide .jrMascot,#jrGuide .jrMascot.dvjMascot{width:52px;height:52px}#jrGuide .jrMascot.dvjMascot img{width:34px;margin:0}}
    .jrGuide{pointer-events:none}.jrGuide .jrSpeak{pointer-events:auto}
    .jrGuide.shake{animation:jrShake .5s}
    @keyframes jrShake{25%{transform:translateX(-8px)}75%{transform:translateX(8px)}}
    .jrMascot{width:64px;height:64px;border-radius:50%;background:#ffd75e;border:4px solid #fff;display:grid;place-items:center;color:#e58a14;flex:none;box-shadow:0 6px 16px rgba(0,0,0,.25)}
    .jrMascot svg{width:38px;height:38px}
    .jrBubble{display:flex;align-items:center;gap:12px;padding:12px 14px 12px 18px;border-radius:22px 22px 22px 6px;background:#fff;box-shadow:0 6px 16px rgba(0,0,0,.2)}
    .jrBubble span{font-size:24px}
    .jrSpeak{width:44px;height:44px;border-radius:50%;border:0;background:#2f6fd1;color:#fff;display:grid;place-items:center;cursor:pointer;flex:none}
    .jrSpeak svg{width:22px;height:22px}
    .jrTray{display:flex;align-items:center;gap:18px;padding:12px 22px 16px;background:#fffaf0;border-top:2px solid #e6dac6;overflow-x:auto}
    .jrGroup{display:flex;flex-direction:column;gap:6px}
    .jrGroup>span{font-size:18px;color:#6c6359}
    .jrRow{display:flex;gap:10px}
    .jrCard{width:92px;height:84px;border-radius:20px;border:3px solid #d8cbb4;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer;padding:0;color:#3b342f;font:inherit}
    .jrCard[aria-pressed="true"]{border:4px solid var(--c,#3f9a35);background:#f1f9ee}
    .jrCard canvas{width:44px;height:44px}
    .jrCard b{font-size:16px}
    .jrDivider{width:2px;align-self:stretch;background:#e6dac6;flex:none}
    .jrMini{width:110px;height:84px;border-radius:18px;border:3px solid #d8cbb4;display:grid;place-items:center;cursor:pointer;padding:0;font:inherit;color:#3b342f}
    .jrMini svg{width:40px;height:40px}
    .jrMini[aria-pressed="true"]{border:4px solid #3f9a35}
    .jrMini.floresta{background:#e6f6e7}.jrMini.doce{background:#fde2eb}.jrMini.neve{background:#e3f1fb}.jrMini.castelo{background:#ebe7f0}.jrMini.faiscas{background:#e9e2ff}
    .jrPlay{background:#2c2622}
    #jrPlayStage{position:absolute;inset:0}
    #jrPlayStage canvas{position:absolute;inset:0;width:100%;height:100%;max-width:none;aspect-ratio:auto;object-fit:contain;display:block;outline:none;border-radius:0;background:#2c2622}
    .jrHud{position:absolute;left:24px;top:20px;display:flex;gap:12px;align-items:center}
    .jrPill{display:flex;align-items:center;gap:10px;min-height:60px;padding:0 22px 0 10px;border-radius:999px;background:rgba(255,250,240,.95);box-shadow:0 5px 0 rgba(0,0,0,.25);font-size:30px}
    .jrCoin{width:30px;height:30px;margin:0 6px;border-radius:7px;background:#2f7fe0;border:3px solid #1d5fb4;transform:rotate(45deg);box-shadow:inset 6px 6px 0 rgba(255,255,255,.35)}
    .jrCorner{position:absolute;right:24px;top:20px;display:flex;gap:12px}
    .jrRound{width:64px;height:64px;border-radius:22px;border:0;background:rgba(255,250,240,.95);box-shadow:0 5px 0 rgba(0,0,0,.25);display:grid;place-items:center;color:#3b342f;cursor:pointer}
    .jrRound.stop{background:#c2414b;color:#fff;box-shadow:0 5px 0 #8c2a32}
    /* 02/11/2026: no celular em pé os quatro botões do canto cobriam o contador de joias. */
    @media(max-width:600px){.jrHud{left:12px;top:84px}.jrCorner{right:12px;top:16px;gap:8px}.jrRound{width:52px;height:52px;border-radius:18px}.jrPill{min-height:48px;font-size:22px;padding:0 16px 0 8px}}
    .jrStick{position:absolute;left:0;bottom:0;width:48%;height:62%;touch-action:none;user-select:none;-webkit-user-select:none;z-index:2}.jrStickBase{position:absolute;left:130px;top:calc(100% - 128px);width:156px;height:156px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.18),rgba(59,52,47,.42));border:5px solid rgba(255,255,255,.92);box-shadow:0 6px 0 rgba(0,0,0,.18);pointer-events:none}.jrStickKnob{position:absolute;left:50%;top:50%;width:70px;height:70px;margin:-35px 0 0 -35px;border-radius:50%;background:#fff;border:4px solid #3f9a35;box-shadow:0 5px 0 rgba(0,0,0,.25);transition:transform .12s}.jrStick.on .jrStickKnob{transition:none}.jrStick.on .jrStickBase{background:radial-gradient(circle,rgba(255,255,255,.28),rgba(59,52,47,.55))}.jrStickHint{position:absolute;left:130px;top:calc(100% - 232px);transform:translateX(-50%);padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.92);color:#3b342f;font-size:17px;white-space:nowrap;pointer-events:none}.jrStick.used .jrStickHint{display:none}
    .jrSignBtn{position:absolute;right:210px;bottom:46px;width:112px;height:112px;border-radius:50%;border:6px solid #fff;background:#2f6fd1;color:#fff;box-shadow:0 8px 0 #1f4b93;display:grid;grid-template-rows:auto auto;align-content:center;place-items:center;gap:0;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none;animation:jrSignPulse 1.1s ease-in-out infinite}
    .jrSignBtn svg{width:44px;height:44px}
    .jrSignBtn[hidden]{display:none}
    .jrSignBtn:active{transform:translateY(3px)}
    @keyframes jrSignPulse{0%,100%{box-shadow:0 8px 0 #1f4b93,0 0 0 0 rgba(47,111,209,.55)}50%{box-shadow:0 8px 0 #1f4b93,0 0 0 16px rgba(47,111,209,0)}}
    @media(max-width:900px){.jrSignBtn{right:170px;bottom:40px;width:92px;height:92px}.jrSignBtn svg{width:36px;height:36px}}
    .jrJump{border-radius:50%;display:grid;place-items:center;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none}
    
    .jrJump{position:absolute;right:40px;bottom:30px;width:148px;height:148px;border:6px solid #fff;background:#3f9a35;color:#fff;box-shadow:0 8px 0 #2b6d24;grid-template-rows:auto auto;align-content:center;gap:0}
    .jrJump span{font-size:26px}
    .jrJump.active{transform:translateY(3px)}
    .jrWin{position:absolute;inset:0;display:grid;place-items:center;background:rgba(44,38,34,.72);padding:20px}
    .jrWinCard{width:min(720px,100%);box-sizing:border-box;padding:30px 40px 36px;border-radius:36px;background:#fffaf0;box-shadow:0 14px 0 #c9b99c;display:grid;justify-items:center;gap:20px;text-align:center}
    .jrStars{display:flex;align-items:flex-end;gap:8px;margin-top:-80px;color:#ffc533}
    .jrStars svg{width:100px;height:100px;filter:drop-shadow(0 4px 0 #c98a10)}
    .jrStars svg:nth-child(2){width:136px;height:136px}
    .jrStars svg.off{color:#e2d5bf;filter:none}
    .jrWinCard h2{margin:0;font-size:clamp(40px,5vw,62px)}
    .jrWinActions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:100%}
    .jrWinActions button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 8px;border-radius:26px;border:0;color:#fff;font-size:24px;cursor:pointer}
    .jrWinActions .again{background:#3f9a35;box-shadow:0 6px 0 #2b6d24}.jrWinActions .improve{background:#3f7fb0;box-shadow:0 6px 0 #2b5b80}.jrWinActions .share{background:#e8a91c;color:#3b2a05;box-shadow:0 6px 0 #a87510}
    .jrNames{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
    .jrField{display:grid;gap:8px}
    .jrField span{font-size:22px}
    .jrField input{min-height:60px;border-radius:18px;border:3px solid #d8cbb4;background:#fff;padding:0 18px;font:700 24px "Nunito","Trebuchet MS",sans-serif;color:#3b342f;width:100%;box-sizing:border-box}
    .jrField input:focus{outline:4px solid #2f6fd1;outline-offset:2px;border-color:#2f6fd1}
    button.jrTitle{cursor:pointer;font:inherit;color:#3b342f;text-align:left}
    .jrTitleWords{display:grid;min-width:0}
    .jrTitleWords small{font-size:14px;color:#6c6359;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}
    .jrTitle>svg{width:24px;height:24px;color:#6c6359;flex:none}
    .jrMini.jrOwn,.jrCard.jrOwn{background:#fff;border-style:dashed;color:#2f6fd1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
    .jrMini.jrOwn b,.jrCard.jrOwn b{font-size:15px}
    .jrMini.jrOwn svg{width:30px;height:30px}
    .jrMini.jrOwn[aria-pressed="true"]{border-style:solid;padding:0;overflow:hidden}
    .jrMini img{width:100%;height:100%;object-fit:cover;display:block}
    .jrDialog{position:absolute;inset:0;z-index:5;display:grid;place-items:center;background:rgba(44,38,34,.6);padding:20px}
    .jrDialogCard{width:min(640px,100%);box-sizing:border-box;padding:28px;border-radius:30px;background:#fffaf0;box-shadow:0 12px 0 #c9b99c;display:grid;gap:18px}
    .jrDialogCard h2{margin:0;font-size:36px}
    .jrDialogHint{margin:0;font-size:20px;line-height:1.4;color:#5a5148}
    .jrPasteZone{display:grid;justify-items:center;gap:8px;padding:28px;border:4px dashed #9fb7d8;border-radius:24px;background:#eef4fc;color:#2f6fd1}
    .jrPasteZone span{font-size:22px}
    .jrPasteZone.over{background:#dbe9fb;border-color:#2f6fd1}
    .jrDialogActions{display:flex;justify-content:flex-end;gap:14px;flex-wrap:wrap}
    label.jrGo{cursor:pointer}
    @media(max-width:900px){.jrNames{grid-template-columns:1fr}.chooserCards{grid-template-columns:repeat(2,minmax(0,1fr))}.jrWorlds{grid-template-columns:repeat(3,minmax(0,1fr))}.jrStart{padding:20px}.jrRail{width:96px}.jrTool span{font-size:15px}.jrTitle span{font-size:20px}.jrGo{font-size:24px;padding:0 22px 0 16px}.jrBubble span{font-size:18px}.jrStickBase{left:104px;top:calc(100% - 100px);width:128px;height:128px}.jrStickKnob{width:58px;height:58px;margin:-29px 0 0 -29px}.jrStickHint{left:104px;top:calc(100% - 190px);font-size:15px}.jrJump{width:116px;height:116px}}
    @media(max-width:600px){.chooserCards{grid-template-columns:1fr}.jrTop{flex-wrap:wrap}.jrBody{flex-direction:column}.jrRail{width:auto;flex-direction:row;overflow-x:auto}.jrTool{min-width:84px;min-height:72px}}
    /* Chromebook (1366×768 com o navegador ≈ 1366×650) e tablet (1024×768, 768×1024): tudo cabe sem cortar. */
    #jr-create .jrPhases{flex-wrap:nowrap;flex:none}#jr-create .jrPhase{min-width:50px;height:50px;border-radius:15px}
    #jr-create .jrRail{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
    @media(max-width:1280px){#jr-create .jrTop{gap:10px;padding:8px 14px;min-height:0}#jr-create .jrTop .jrBtn{width:52px;height:52px;border-radius:16px}#jr-create .jrTop .jrGo{min-height:56px;font-size:24px;padding:0 20px 0 16px;gap:8px}#jr-create .jrGo.jrCode svg{width:32px;height:32px}#jr-create .jrTitle{max-width:230px;padding:4px 12px 4px 4px}#jr-create .jrTitle small{display:none}#jr-create .jrTitle span{font-size:20px}#jr-create .jrTitle canvas{width:42px;height:42px}#jr-create .jrIdeaBtn{min-height:48px;padding:0 12px}}
    @media(max-width:1100px){#jr-create .jrTitleWords,#jr-create .jrSaveState{display:none}#jr-create .jrTitle{padding:3px;max-width:none}#jr-create .jrIdeaBtn{font-size:15px;line-height:1.05}}
    /* ≤ 860 px: duas linhas. Voltar, título e Jogar ficam presos na primeira (posição absoluta em relação a #jr-create:
       a barra é quem rola e continua sem "position", então eles não rolam junto); o resto rola de lado na segunda, com a
       ponta que ainda tem botões desbotada (data-mais, posto pelo jrTopEdges). Os outros módulos continuam inserindo os
       botões deles direto em .jrTop. */
    @media(max-width:860px){#jr-create .jrTop{position:static;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding:76px 14px 10px;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 72px,100% calc(100% - 72px);mask-size:100% 72px,100% calc(100% - 72px);-webkit-mask-position:top,bottom;mask-position:top,bottom}#jr-create .jrTop::-webkit-scrollbar{display:none}#jr-create .jrTop>*{flex:none}#jr-create .jrTop .jrSpacer{display:none}#jr-create .jrLead{display:flex;align-items:center;gap:10px;position:absolute;left:14px;top:8px;z-index:1}#jr-create .jrTop .jrGo[data-jr="play"]{position:absolute;right:14px;top:8px;z-index:1}
      @media(max-width:560px){#jr-create .jrLead{gap:6px}#jr-create .jrTop .jrGo[data-jr="play"]{padding:0 14px 0 10px;font-size:22px}}
      #jr-create .jrTop[data-mais="fim"]{-webkit-mask-image:linear-gradient(#000,#000),linear-gradient(to left,transparent,#000 44px);mask-image:linear-gradient(#000,#000),linear-gradient(to left,transparent,#000 44px)}
      #jr-create .jrTop[data-mais="ini"]{-webkit-mask-image:linear-gradient(#000,#000),linear-gradient(to right,transparent,#000 44px);mask-image:linear-gradient(#000,#000),linear-gradient(to right,transparent,#000 44px)}
      #jr-create .jrTop[data-mais="ini fim"]{-webkit-mask-image:linear-gradient(#000,#000),linear-gradient(to right,transparent,#000 44px,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(#000,#000),linear-gradient(to right,transparent,#000 44px,#000 calc(100% - 44px),transparent)}}
    @media(max-height:760px){#jr-create .jrBody{padding:8px 14px;gap:12px}#jr-create .jrTray{padding:6px 14px 8px;gap:12px}#jr-create .jrCard{width:78px;height:66px;border-radius:16px}#jr-create .jrCard canvas{width:34px;height:34px}#jr-create .jrCard b{font-size:14px}#jr-create .jrMini{height:66px}#jr-create .jrGroup{gap:3px}#jr-create .jrGroup>span{font-size:14px}#jr-create .jrChip{font-size:15px;padding:4px 10px 4px 4px}#jr-create .jrChip i{width:22px;height:22px;font-size:13px}}
    @media(max-width:860px) and (orientation:portrait){#jr-create .jrBody{flex-direction:column}#jr-create .jrRail{width:auto;flex-direction:row;overflow-x:auto;overflow-y:hidden;flex:none;padding-bottom:4px}#jr-create .jrRail .jrTool{flex:none;min-width:92px;min-height:70px;max-height:none}#jr-create .jrStageWrap{min-height:300px}}
    @media(max-height:760px) and (min-width:1000px){#jr-create .jrRail{width:196px;display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:6px}#jr-create .jrRail .jrTool{min-height:58px;max-height:none}}
    /* 21/10/2026: ícones próprios dos mundos (folha /marca/mundos-icones.webp, ChatGPT + Sparkbot), no lugar dos desenhos e recortes antigos. */
    .jrWorld[data-world]>svg,.jrWorld[data-world]>.jrWorldArt,.jrMini[data-world]>svg,.jrMini[data-world]>.jrWorldArt{display:none!important}
    .jrWorld[data-world]::before,.jrMini[data-world]::before{content:"";clip-path:inset(9% 4% 2% 4%);display:block;flex:none;width:84px;height:84px;margin:0 auto 4px;background:url(/marca/mundos-icones.webp) no-repeat;background-size:400% 400%}
    .jrMini[data-world]::before{width:44px;height:44px;margin:0 auto}
    @media(max-width:560px){.jrWorld[data-world]::before{width:64px;height:64px}}
    .jrWorld[data-world="floresta"]::before,.jrMini[data-world="floresta"]::before{background-position:0.000% 0.000%}.jrWorld[data-world="doce"]::before,.jrMini[data-world="doce"]::before{background-position:33.333% 0.000%}.jrWorld[data-world="neve"]::before,.jrMini[data-world="neve"]::before{background-position:66.667% 0.000%}.jrWorld[data-world="castelo"]::before,.jrMini[data-world="castelo"]::before{background-position:100.000% 0.000%}.jrWorld[data-world="faiscas"]::before,.jrMini[data-world="faiscas"]::before{background-position:0.000% 33.333%}.jrWorld[data-world="natal"]::before,.jrMini[data-world="natal"]::before{background-position:33.333% 33.333%}.jrWorld[data-world="deserto"]::before,.jrMini[data-world="deserto"]::before{background-position:66.667% 33.333%}.jrWorld[data-world="fazenda"]::before,.jrMini[data-world="fazenda"]::before{background-position:100.000% 33.333%}.jrWorld[data-world="cidade"]::before,.jrMini[data-world="cidade"]::before{background-position:0.000% 66.667%}.jrWorld[data-world="florestaviva"]::before,.jrMini[data-world="florestaviva"]::before{background-position:33.333% 66.667%}.jrWorld[data-world="agua"]::before,.jrMini[data-world="agua"]::before{background-position:66.667% 66.667%}.jrWorld[data-world="poluicao"]::before,.jrMini[data-world="poluicao"]::before{background-position:100.000% 66.667%}.jrWorld[data-world="ar"]::before,.jrMini[data-world="ar"]::before{background-position:0.000% 100.000%}.jrWorld[data-world="praia"]::before,.jrMini[data-world="praia"]::before{background-position:33.333% 100.000%}.jrWorld[data-world="radiacao"]::before,.jrMini[data-world="radiacao"]::before{background-position:66.667% 100.000%}
    @media(prefers-reduced-motion:reduce){.modeCard:hover{transform:none}.jrGuide.shake{animation:none}}
