/* Escopo exclusivo de Clicar e Segurar. */
body[data-active-module="holdPlay"] .trainer .stage-strip,body[data-active-module="holdPlay"] .trainer .prompt-zone,body[data-active-module="holdPlay"] .trainer .feedback {display:none!important}
body[data-active-module="holdPlay"] .trainer {grid-template-rows:minmax(0,1fr)!important}
body[data-active-module="holdPlay"] .hp-workspace {display:block;width:100%;height:100%;max-width:none;min-height:0;padding:0;margin:0}
.hp-hub{height:100%;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:16px;padding:16px;box-sizing:border-box}
.hp-card{border:0;border-radius:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#445664;font:inherit;font-weight:800;cursor:pointer;min-height:0;padding:12px}
.hp-card svg{height:80%;max-width:100%;min-height:0}.hp-card strong{font-size:clamp(15px,1.6vw,23px)}
.hp-game{width:100%;height:100%;display:grid;grid-template-columns:minmax(0,3fr) minmax(160px,1fr);align-items:center;overflow:hidden;position:relative}
.hp-scene{width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center}.hp-scene>svg{width:100%;height:100%;max-height:94dvh}
.hp-action{display:flex;justify-content:center;padding:24px}
.hp-press{width:clamp(120px,17vw,210px);aspect-ratio:1;max-width:100%;border:8px solid #ffffffb0;border-radius:50%;background:linear-gradient(155deg,#a6ceba,#80b39f);box-shadow:inset 0 3px 0 #e4f2e680,inset 0 -4px 0 #6ba38f55,0 8px 0 #659582,0 14px 22px #526d6320;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;cursor:pointer;transition:transform .1s,box-shadow .1s}
.hp-press svg{display:block;width:100%;height:100%;pointer-events:none}.hp-press[aria-pressed="true"]{transform:translateY(3px) scale(.98);background:linear-gradient(155deg,#96c2ad,#79ac98);box-shadow:inset 0 2px 5px #58857025,0 4px 0 #659582,0 7px 12px #526d6318}.hp-press:disabled{opacity:.65}
.hp-next{font:800 38px inherit;font-size:40px;border:0;background:#83bca9;color:white;box-shadow:0 7px #609883;cursor:pointer;animation:hp-appear .25s ease-out}
.hp-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.training-fullscreen[data-active-module="holdPlay"][data-hold-play-view="game"] .session-panel,body.training-fullscreen[data-active-module="holdPlay"][data-hold-play-view="game"] .training-back-button{display:none!important}
body.training-fullscreen[data-active-module="holdPlay"][data-hold-play-view="game"] :is(.app-shell,main,#view-treino.is-active){width:100%;max-width:none;height:100dvh;min-height:0;margin:0;padding:0;overflow:hidden;box-sizing:border-box}
body.training-fullscreen[data-active-module="holdPlay"][data-hold-play-view="game"] #view-treino.is-active{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0}
body.training-fullscreen[data-active-module="holdPlay"][data-hold-play-view="game"] .trainer{width:100%;height:100%;min-height:0;padding:0;margin:0;border:0;border-radius:0;box-shadow:none}
body.training-fullscreen[data-active-module="holdPlay"][data-hold-play-view="game"] .topbar{position:fixed;inset:0 0 auto auto;width:0;height:0;min-height:0;padding:0;border:0;background:transparent;overflow:visible;pointer-events:none;z-index:110}
body.training-fullscreen[data-active-module="holdPlay"][data-hold-play-view="game"] .topbar :is(.app-home-button,.navigation-menu-button,.tabs,.voice-settings){display:none!important}
body.training-fullscreen[data-active-module="holdPlay"][data-hold-play-view="game"] .top-controls{position:fixed;inset:8px 8px auto auto;display:flex!important;opacity:1;visibility:visible;transform:none;width:auto;padding:0;border:0;background:transparent;box-shadow:none;pointer-events:auto}
body.training-fullscreen[data-active-module="holdPlay"][data-hold-play-view="game"] .utility-actions{display:flex!important;gap:8px}
@media(orientation:portrait){.hp-game{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 180px}.hp-action{padding:12px}.hp-press{width:140px}}
@media(prefers-reduced-motion:reduce){.hp-game *{animation:none!important;transition:none!important}}
.hp-next{font-family:inherit;font-weight:800}

/* Animações das cenas: o painter controla o progresso; o CSS dá vida enquanto segura e ao concluir. */
.hp-game svg *{transform-box:view-box}
.hp-spark{opacity:0;transform-box:fill-box!important;transform-origin:center}
.hp-game.is-complete .hp-spark{animation:hp-spark 1.6s var(--delay) ease-in-out infinite}
@keyframes hp-spark{0%{opacity:0;scale:0;rotate:-45deg}35%{opacity:1;scale:1.15;rotate:0deg}60%{scale:.85}100%{opacity:0;scale:.3;rotate:30deg}}
/* Copo */
.hp-game .hp-wave{animation:hp-wave 2.6s linear infinite}.hp-game .hp-wave-back{animation-duration:3.4s;animation-direction:reverse}
.hp-wave-amp{transform-box:fill-box!important;transform-origin:center bottom;scale:1 .45;transition:scale .5s ease-out}
.hp-game.is-pressing .hp-wave-amp{scale:1 1;transition-duration:.25s}
@keyframes hp-wave{to{translate:-60px 0}}
[data-part="stream"]{transition:opacity .15s}
.hp-game.is-pressing .hp-stream-shine{animation:hp-stream .35s linear infinite}
@keyframes hp-stream{to{stroke-dashoffset:-38}}
.hp-bubble,.hp-drop{opacity:0;transform-box:fill-box!important}
.hp-game.is-pressing .hp-bubble{animation:hp-bubble 1.3s var(--delay) ease-in infinite}
@keyframes hp-bubble{0%{opacity:0;translate:0 0}20%{opacity:.9}100%{opacity:0;translate:4px -60px}}
.hp-game.is-pressing .hp-drop{animation:hp-drop .55s var(--delay) ease-out infinite}
@keyframes hp-drop{0%{opacity:1;translate:0 0;scale:1}100%{opacity:0;translate:var(--dx) var(--dy);scale:.4}}
/* Balão */
.hp-game [data-part="pump"]{transition:translate .3s ease-out}
.hp-game.is-pressing [data-part="pump"]{animation:hp-pump .65s ease-in-out infinite alternate}
@keyframes hp-pump{to{translate:0 24px}}
.hp-air{opacity:0;transition:opacity .2s}
.hp-game.is-pressing .hp-air{opacity:1;animation:hp-air .65s linear infinite}
@keyframes hp-air{to{stroke-dashoffset:47}}
.hp-balloon-wobble{transform-origin:383px 385px}
.hp-game.is-pressing .hp-balloon-wobble{animation:hp-breathe .65s ease-in-out infinite alternate}
@keyframes hp-breathe{from{scale:.97 1.02}to{scale:1.03 .98}}
.hp-game.is-complete .hp-balloon-wobble{animation:hp-pop-in .45s ease-out,hp-sway 2.4s .45s ease-in-out infinite}
@keyframes hp-pop-in{40%{scale:1.08 .94}70%{scale:.97 1.04}}
@keyframes hp-sway{0%,100%{rotate:-3deg}50%{rotate:3deg}}
/* Luz */
.hp-mote{transform-box:fill-box!important}
.hp-game .hp-mote{animation:hp-mote 4s var(--delay) ease-in-out infinite alternate}
@keyframes hp-mote{from{translate:-6px 8px}to{translate:8px -14px}}
.hp-rays{opacity:0}
.hp-game[data-activity="light"].is-complete .hp-rays{animation:hp-rays 1.2s ease-in-out infinite alternate}
@keyframes hp-rays{from{opacity:.35}to{opacity:1}}
.hp-game[data-activity="light"].is-complete [data-part="glow"]{animation:hp-glow 1.2s ease-in-out infinite alternate;transform-origin:241px 200px}
@keyframes hp-glow{to{scale:1.12}}
/* Peso */
.hp-eyes-strain,.hp-mouth-strain,.hp-sweat{opacity:0}
.hp-game[data-activity="weight"].is-pressing :is(.hp-eyes-strain,.hp-mouth-strain){opacity:1}
.hp-game[data-activity="weight"].is-pressing :is(.hp-eyes,[data-part="mouth"]){opacity:0}
.hp-game[data-activity="weight"].is-pressing .hp-lifter{animation:hp-effort .11s linear infinite alternate}
@keyframes hp-effort{from{translate:-1.5px 0}to{translate:1.5px 0}}
.hp-game[data-activity="weight"].is-pressing .hp-sweat{animation:hp-sweat 1.1s ease-in infinite}
@keyframes hp-sweat{0%{opacity:0;translate:0 0}25%{opacity:1}100%{opacity:0;translate:4px 42px}}
.hp-game[data-activity="weight"].is-complete .hp-lifter{animation:hp-cheer .5s ease-out 3 alternate}
@keyframes hp-cheer{to{translate:0 -14px}}

.hp-game.has-help:not(.is-pressing):not(.is-complete) .hp-press{animation:hp-hint 1.8s ease-in-out infinite}
@keyframes hp-hint{50%{box-shadow:0 10px 0 #609883,0 0 0 15px #83bca930}}
@media(prefers-reduced-motion:reduce){.hp-game.has-help .hp-press{animation:none!important}}
@keyframes hp-appear{from{opacity:0;scale:.9}to{opacity:1;scale:1}}
/* Embalagens de suco: em repouso ficam mais em pé; ao segurar, inclinam para despejar. */
.hp-pourer{rotate:-16deg;transition:rotate .35s ease-out}
.hp-game.is-pressing .hp-pourer{rotate:0deg;transition-duration:.2s}
/* Refazer fica logo abaixo de Continuar, menor e secundário. */
.hp-game.is-complete .hp-action{flex-direction:column;align-items:center;gap:32px}
.hp-redo{font-family:inherit;font-weight:800;font-size:clamp(18px,2vw,24px);align-items:center;gap:10px;border:3px solid #83bca9;background:#ffffffd9;color:#4f8f79;box-shadow:0 5px #83bca955;cursor:pointer;animation:hp-appear .25s .1s ease-out both}
.hp-redo:active{transform:translateY(3px);box-shadow:0 2px #83bca955}
/* Fogueira */
.hp-game .hp-star{animation:hp-twinkle 2.2s var(--delay) ease-in-out infinite alternate}
@keyframes hp-twinkle{from{opacity:.25}to{opacity:1}}
.hp-flame{transform-box:fill-box!important;transform-origin:center bottom}
.hp-game .hp-flame-a{animation:hp-flicker .5s ease-in-out infinite alternate}
.hp-game .hp-flame-b{animation:hp-flicker .38s .1s ease-in-out infinite alternate-reverse}
.hp-game .hp-flame-c{animation:hp-flicker .3s .05s ease-in-out infinite alternate}
@keyframes hp-flicker{from{transform:scale(.94,1.04) skewX(-3deg)}to{transform:scale(1.05,.95) skewX(3deg)}}
.hp-smoke,.hp-ember{transform-box:fill-box!important}
.hp-game .hp-smoke{animation:hp-smoke 1.8s var(--delay) ease-out infinite}
@keyframes hp-smoke{0%{opacity:0;translate:0 0;scale:.6}30%{opacity:.8}100%{opacity:0;translate:18px -140px;scale:1.8}}
.hp-game .hp-ember{animation:hp-ember 1.7s var(--delay) ease-out infinite}
@keyframes hp-ember{0%{opacity:0;translate:0 40px}20%{opacity:1}100%{opacity:0;translate:var(--dx) -180px}}
.hp-game[data-activity="campfire"].is-complete [data-part="fire-glow"]{animation:hp-fire-pulse 1.1s ease-in-out infinite alternate;transform-origin:470px 440px}
@keyframes hp-fire-pulse{to{scale:1.08;opacity:.85}}
/* Árvore */
.hp-game .hp-sun-rays{transform-origin:650px 110px;animation:hp-spin 14s linear infinite}
@keyframes hp-spin{to{rotate:360deg}}
.hp-can{transform-origin:670px 300px;transition:rotate .3s ease-out}
.hp-game[data-activity="tree"].is-pressing .hp-can{rotate:-22deg}
[data-part="drops"]{transition:opacity .2s}
.hp-game[data-activity="tree"].is-pressing [data-part="drops"]{opacity:1!important}
.hp-rain{transform-box:fill-box!important}
.hp-game .hp-rain{animation:hp-rain .6s var(--delay) ease-in infinite}
@keyframes hp-rain{0%{opacity:0;translate:0 0}15%{opacity:1}100%{opacity:0;translate:-58px 196px}}
.hp-canopy-sway{transform-origin:400px 120px}
.hp-game[data-activity="tree"].is-complete .hp-canopy-sway{animation:hp-tree-sway 2.6s ease-in-out infinite}
@keyframes hp-tree-sway{0%,100%{rotate:-1.5deg}50%{rotate:1.5deg}}
.hp-fruit{transform-box:fill-box!important;transform-origin:center;scale:0}
.hp-game.is-complete .hp-fruit{animation:hp-fruit-pop .45s var(--delay) cubic-bezier(.3,1.6,.5,1) forwards}
@keyframes hp-fruit-pop{to{scale:1}}
/* 6 brincadeiras: 3 × 2 na horizontal, 2 × 3 em pé. */
.hp-hub{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(orientation:portrait){.hp-hub{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.hp-game.is-complete .hp-fruit{scale:1}}
/* Cenas com chão: o chão continua além do desenho, sem corte reto na lateral. */
.hp-game:is([data-activity="campfire"],[data-activity="tree"]) .hp-scene>svg{overflow:visible}
.hp-game:is([data-activity="campfire"],[data-activity="tree"]){overflow:hidden}
.hp-card[data-activity="campfire"] strong{color:#fff3e4}
.hp-card:is([data-activity="campfire"],[data-activity="tree"]){overflow:hidden}
/* Botões só com ícone: seta para seguir e seta em círculo para refazer. */
.hp-next,.hp-redo{display:grid;place-items:center;padding:0;line-height:0}
/* Os dois botões com o mesmo tamanho e um espaço entre eles. */
.hp-next,.hp-redo{width:clamp(96px,11vw,128px);height:clamp(96px,11vw,128px);border-radius:32px;box-sizing:border-box}
.hp-next svg,.hp-redo svg{width:56%;height:56%}
@media(orientation:portrait){.hp-game.is-complete .hp-action{flex-direction:row;gap:32px}}
