/* =========================================================
   GLUB — TAREFA 1
   ========================================================= */
#tarefa1-tela{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;display:none;z-index:180;background:#111}
.tarefa1-fundo{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none;-webkit-user-drag:none;z-index:0}
.tarefa1-avatar{position:absolute;left:19%;bottom:27%;width:var(--glub-avatar-largura,12.8125%);height:var(--glub-avatar-altura,22.7777778%);display:flex;align-items:flex-end;justify-content:center;z-index:6;opacity:0;transform:translateY(35px) scale(.92);filter:drop-shadow(0 6px 4px rgba(0,0,0,.35));transition:opacity 300ms ease,transform 450ms cubic-bezier(.2,.8,.2,1);will-change:left,bottom,transform}
.tarefa1-avatar img{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;image-rendering:auto;pointer-events:none;image-rendering:auto;will-change:contents,transform}

.tarefa1-avatar-surgiu{opacity:1;transform:translateY(0) scale(1)}

/* O avatar permanece na camada de jogo (z-index 6), abaixo dos objetos
   de primeiro plano (z-index 7).
   Assim, ao caminhar por trás dela, somente a parte realmente coberta pelos
   pixels da rocha fica escondida; cabeça/chapéu podem aparecer acima do
   contorno, como no exemplo visual. */
.tarefa1-avatar-atras-rocha{
    pointer-events:none;
}
#tarefa1-voltar{position:absolute;left:1.5%;bottom:3%;width:48px;height:48px;border:0;border-radius:50%;background:rgba(255,255,255,.88);color:#174d7a;font:700 30px/48px Arial,sans-serif;z-index:10;cursor:pointer;touch-action:manipulation}
#tarefa1-voltar:active{transform:scale(.94)}


/* HUD da Atividade 1 */
.tarefa1-hud{position:absolute;inset:0;z-index:32;pointer-events:none}

/* Numeração global das etapas: componente permanente do HUD (1 a 14). */
.tarefa1-hud-numero-etapa{
    position:absolute;
    z-index:35;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font:900 clamp(18px,2.2vw,34px)/1 Arial,sans-serif;
    text-shadow:0 2px 2px rgba(0,0,0,.85);
    pointer-events:none;
    opacity:0;
    visibility:hidden;
}
.tarefa1-hud-numero-etapa.visivel{opacity:1;visibility:visible}


/* Placa GLUB no canto superior esquerdo */
/* Botões alinhados abaixo da placa, sem sobreposição */
.tarefa1-hud-controles{
    position:absolute;
    left:1.9%;
    top:21.5%;
    width:8.2%;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:0;
    pointer-events:auto;
}

.tarefa1-hud-botao{
    width:92px;
    max-width:100%;
    padding:0;
    border:0;
    background:transparent;
    cursor:pointer;
    line-height:0;
    transition:transform .15s ease,filter .15s ease;
}

.tarefa1-hud-botao img{
    width:100%;
    height:auto;
    display:block;
}

/* Aproxima os botões para que as cordinhas se encontrem. */
.tarefa1-hud-botao + .tarefa1-hud-botao{
    margin-top:-8px;
}

/* Distância específica entre SALVAR (2º) e VOLTAR (3º). */
.tarefa1-hud-botao:nth-child(3){
    margin-top:-2px;
}

.tarefa1-hud-botao:hover{transform:scale(1.04);filter:brightness(1.05)}
.tarefa1-hud-botao:active{transform:scale(.96)}

.tarefa1-hud-botao-pistas{
    margin-top:-5px!important;
    min-height:38px;
    padding:7px 8px;
    border:3px solid #5b2a0b;
    border-radius:8px;
    background:linear-gradient(#d58a32,#8e4718);
    color:#fff4c7;
    font:900 clamp(10px,1vw,15px)/1 Arial,sans-serif;
    letter-spacing:.5px;
    text-shadow:0 2px 1px #4a1e08;
    box-shadow:inset 0 0 0 2px #efb75d,0 2px 3px rgba(0,0,0,.35);
    line-height:1;
}
.tarefa1-hud-botao-pistas[aria-pressed="true"]{filter:brightness(1.18)}


/* Siri animado da Atividade 1 — à direita de PAUSA e abaixo da placa GLUB.
   Somente a animação visual foi inserida; disparos serão implementados depois. */
.tarefa1-atirador-siri{
    position:absolute;
    left:10.8%;
    top:22.5%;
    width:84px;
    height:116px;
    object-fit:contain;
    z-index:21;
    display:block;
    opacity:1;
    visibility:visible;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
    filter:drop-shadow(0 4px 3px rgba(0,0,0,.28));
    transition:opacity .28s ease, transform .28s ease;
}
.tarefa1-atirador-siri.tarefa1-atirador-siri-oculto{opacity:0;visibility:hidden;transform:translateY(-8px) scale(.92)}
.tarefa1-atirador-siri.tarefa1-atirador-siri-visivel{opacity:1;visibility:visible;transform:translateY(0) scale(1)}

/* O cronômetro/ampulheta do canto superior direito foi removido. */

/* Arma do aventureiro — estrela-do-mar */
.tarefa1-projetil-estrela{
    position:absolute;
    width:42px;
    height:42px;
    object-fit:contain;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
    z-index:8;
    filter:drop-shadow(0 2px 2px rgba(0,0,0,.25));
}



/* =========================================================
   MAR — movimento usando somente a água da própria atividade-1.png
   ========================================================= */
.tarefa1-mar-movimento,
.tarefa1-mar-brilho{
    position:absolute;
    left:8.97%;
    top:43.04%;
    width:81.94%;
    height:25.50%;
    object-fit:fill;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
    z-index:1;
    will-change:transform,filter;
}
.tarefa1-mar-movimento{
    opacity:.48;
    filter:url("#tarefa1-water-filter");
    animation:tarefa1-mar-onda-real 2.8s ease-in-out infinite;
    transform-origin:50% 55%;
}
.tarefa1-mar-brilho{
    opacity:.18;
    filter:saturate(1.12) brightness(1.08);
    animation:tarefa1-mar-brilho-real 2.1s ease-in-out infinite reverse;
    transform-origin:50% 60%;
}
@keyframes tarefa1-mar-onda-real{
    0%,100%{transform:translate3d(0,0,0) scale(1.002,1)}
    25%{transform:translate3d(-5px,1px,0) scale(1.006,1.004)}
    50%{transform:translate3d(3px,-1px,0) scale(1.004,1.008)}
    75%{transform:translate3d(-3px,1px,0) scale(1.006,1.003)}
}
@keyframes tarefa1-mar-brilho-real{
    0%,100%{transform:translate3d(0,0,0)}
    50%{transform:translate3d(8px,-2px,0) scale(1.01,1.005)}
}


/* Pier da Atividade 1 — sem reflexo; mesma camada da água (z-index 1). */
.tarefa1-pier{
    position:absolute;
    right:0;
    top:43%;
    width:27%;
    height:auto;
    z-index:1;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
}

/* =========================================================
   POLVUS — inimigo da primeira aventura
   ========================================================= */
.tarefa1-polvus{
    position:absolute;
    left:82%;
    bottom:32%;
    width:300px;
    height:200px;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:6;
    opacity:0;
    transform:translateX(90px) scale(.92);
    filter:drop-shadow(0 6px 4px rgba(0,0,0,.30));
    transition:opacity .35s ease, transform .55s cubic-bezier(.2,.8,.2,1);
    pointer-events:none;
    overflow:visible;
    will-change:transform,opacity;
}
.tarefa1-polvus img{
    width:260px;
    height:180px;
    object-fit:contain;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
    animation:polvus-float 1.8s ease-in-out infinite;
}

@keyframes polvus-float{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-7px);}
}
.tarefa1-polvus-surgiu{
    opacity:1;
    transform:translateX(0) scale(1);
}

/* Bombas lançadas pelo Polvus. Cada imagem mantém sua proporção original. */
/* Explosão visual quando a bala-estrela destrói uma bomba do Polvus. */
.tarefa1-explosao-bomba{
    position:absolute;
    width:18px;
    height:18px;
    border-radius:50%;
    pointer-events:none;
    z-index:12;
    transform:translate(-50%,-50%) scale(.2);
    background:radial-gradient(circle, #fff 0 18%, #ffd84a 19% 42%, #ff8a22 43% 68%, rgba(255,60,0,0) 69%);
    box-shadow:0 0 8px rgba(255,220,90,.95), 0 0 22px rgba(255,100,20,.75);
    animation:tarefa1-explosao-bomba .42s ease-out forwards;
}
.tarefa1-explosao-bomba::before,
.tarefa1-explosao-bomba::after{
    content:"";
    position:absolute;
    inset:-10px;
    border-radius:50%;
    border:4px solid rgba(255,190,55,.85);
    transform:scale(.25);
    animation:tarefa1-explosao-anel .42s ease-out forwards;
}
.tarefa1-explosao-bomba::after{
    inset:-4px;
    border-color:rgba(255,255,255,.9);
    animation-delay:.03s;
}
@keyframes tarefa1-explosao-bomba{
    0%{opacity:1;transform:translate(-50%,-50%) scale(.2);}
    35%{opacity:1;transform:translate(-50%,-50%) scale(1.35);}
    100%{opacity:0;transform:translate(-50%,-50%) scale(2.5);}
}
@keyframes tarefa1-explosao-anel{
    0%{opacity:1;transform:scale(.25);}
    100%{opacity:0;transform:scale(1.7);}
}

.tarefa1-bomba-polvus{
    position:absolute;
    width:auto;
    height:auto;
    max-width:none;
    max-height:none;
    object-fit:contain;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
    z-index:7;
    filter:drop-shadow(0 2px 2px rgba(0,0,0,.28));
    transform-origin:center center;
}

/* Estados visuais do Polvus ao ser atingido pelas estrelas. */
.tarefa1-polvus-ferido{animation:tarefa1-polvus-dano .22s ease;}
.tarefa1-polvus-derrotado{opacity:0 !important;transform:scale(.65) rotate(18deg) !important;transition:opacity .25s ease,transform .25s ease;}
@keyframes tarefa1-polvus-dano{0%,100%{filter:drop-shadow(0 6px 4px rgba(0,0,0,.30));}50%{filter:drop-shadow(0 0 14px rgba(255,255,255,.95));transform:scale(1.08);}}


/* Reação visual quando o jogador é atingido por uma bomba. */
.tarefa1-avatar-ferido{animation:tarefa1-avatar-dano .28s ease;}
@keyframes tarefa1-avatar-dano{0%,100%{filter:drop-shadow(0 6px 4px rgba(0,0,0,.35));}50%{filter:drop-shadow(0 0 15px rgba(255,70,70,.95));transform:translateY(-3px) scale(1.04);}}


/* Controles para telas sensíveis ao toque — equivalentes às setas e espaço. */
.tarefa1-controles-toque{
    position:absolute;
    left:2%;
    right:2%;
    bottom:3%;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:10px;
    z-index:25;
    pointer-events:auto;
    touch-action:none;
}
.tarefa1-controle-toque{
    width:62px;
    height:62px;
    border:2px solid rgba(255,255,255,.85);
    border-radius:16px;
    background:rgba(15,50,80,.72);
    color:#fff;
    font:700 30px/1 Arial,sans-serif;
    box-shadow:0 4px 10px rgba(0,0,0,.3);
    touch-action:none;
    user-select:none;
    -webkit-user-select:none;
}
.tarefa1-controle-toque:active{transform:scale(.94);}
@media (min-width:900px){.tarefa1-controles-toque{opacity:.72}.tarefa1-controle-toque{width:54px;height:54px;font-size:26px}}

/* Gleb: o Polvus permanece na luta por 2 minutos. */
.tarefa1-avatar-derrotado{
    animation:tarefa1-avatar-morre .35s ease forwards;
    pointer-events:none;
}
@keyframes tarefa1-avatar-morre{
    0%{opacity:1;transform:translateY(0) scale(1) rotate(0deg)}
    100%{opacity:0;transform:translateY(18px) scale(.82) rotate(-8deg)}
}


/* PAUSA — congela as animações visuais da Atividade 1 sem bloquear o botão PAUSA. */
body.glub-pausado #tarefa1-tela * {
    animation-play-state: paused !important;
}
body.glub-pausado #tarefa1-tela .tarefa1-hud,
body.glub-pausado #tarefa1-tela .tarefa1-hud * {
    animation-play-state: running !important;
}



/* =========================================================
   ROCHA SÓLIDA — CANTO INFERIOR ESQUERDO
   A rocha fica em camada frontal para o avatar aparecer atrás dela.
   A colisão é calculada em JS usando a parte visível do sprite.
   ========================================================= */
.tarefa1-rochas-polvo-azul{
    position:absolute;
    left:1%;
    bottom:6%;
    width:210px;
    height:auto;
    z-index:7;
    pointer-events:none;
    user-select:none;
    -webkit-user-select:none;
    -webkit-user-drag:none;
}
.tarefa1-rocha-principal{
    display:block;
    width:100%;
    height:auto;
    object-fit:contain;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
}

.tarefa1-vegetacao-primeiro-plano{
    position:absolute;
    left:0;
    bottom:0;
    width:auto;
    height:100%;
    object-fit:contain;
    object-position:left bottom;
    z-index:7;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
}

/* Pedra + baú fixos do cenário, no canto inferior direito.
   Este elemento é primeiro plano; o baú animado pós-Polvus continua
   na camada de jogo junto do avatar, Polvus e coroa animada. */
.tarefa1-pedra-bau-primeiro-plano{
    position:absolute;
    right:0;
    bottom:0;
    width:37.6%;
    height:auto;
    z-index:7;
    pointer-events:none;
    user-select:none;
    -webkit-user-select:none;
    -webkit-user-drag:none;
}

/* =========================================================
   LINHA INVISÍVEL DO HUD
   O elemento não aparece na tela; serve somente como barreira lógica.
   ========================================================= */
.tarefa1-barreira-hud{
    position:absolute;
    box-sizing:border-box;
    border:0 solid transparent;
    pointer-events:none;
    z-index:19;
    background:transparent;
}

/* =========================================================
   HUD — MOEDAS / COROAS / TEMPO / TESOUROS
   ========================================================= */
.tarefa1-hud-estatisticas{
    position:absolute;
    top:1.8%;
    left:18.2%;
    right:auto;
    display:flex;
    align-items:center;
    gap:7px;
    pointer-events:none;
    z-index:25;
}

.tarefa1-hud-estatistica{
    min-width:70px;
    height:62px;
    padding:4px 8px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    box-sizing:border-box;
    border-radius:13px;
    background:rgba(20,35,42,.72);
    border:2px solid rgba(255,255,255,.68);
    box-shadow:0 3px 8px rgba(0,0,0,.28);
}
.tarefa1-hud-estatistica.moedas{
    min-width:90px;
}

.tarefa1-hud-estatistica-icone{
    width:auto;
    height:42px;
    max-width:44px;
    object-fit:contain;
    display:block;
}

.tarefa1-hud-estatistica-valor{
    min-width:24px;
    color:#fff;
    font:800 20px/1 Arial,sans-serif;
    text-align:center;
    text-shadow:0 2px 2px rgba(0,0,0,.55);
}

.tarefa1-hud-estatistica.tempo{
    min-width:128px;
}
.tarefa1-hud-estatistica.mapas-vocalicos{
    min-width:92px;
    background:linear-gradient(rgba(107,65,24,.92),rgba(58,34,15,.92));
    border-color:rgba(255,220,128,.88);
}
.tarefa1-hud-estatistica.mapas-vocalicos .tarefa1-hud-estatistica-icone{
    width:46px !important;
    height:44px !important;
    object-fit:contain;
}
.tarefa1-hud-estatistica.mapas-vocalicos .tarefa1-hud-estatistica-valor{
    min-width:36px;
}

.tarefa1-hud-estatistica.vidas{
    min-width:74px;
}


body.glub-pausado .tarefa1-hud-estatistica{
    filter:saturate(.78);
}

/* HUD FIXO — somente os ícones internos mudam de frame. */
.tarefa1-hud-estatistica {
    position: relative;
    flex: 0 0 auto;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    will-change: auto !important;
    overflow: hidden;
}
.tarefa1-hud-estatistica-icone {
    flex: 0 0 44px;
    width: 44px !important;
    height: 42px !important;
    transform: none !important;
    transition: none !important;
}
.tarefa1-hud-estatistica-valor {
    flex: 0 0 auto;
    transform: none !important;
    transition: none !important;
}




/* =========================================================
   PLACAR RESERVADO — ACERTOS / ERROS
   ========================================================= */
.tarefa1-hud-placar{
    position:absolute;
    top:1.8%;
    right:1.2%;
    display:flex;
    gap:6px;
    align-items:stretch;
    pointer-events:none;
    z-index:26;
}
.tarefa1-hud-placar-item{
    width:88px;
    min-height:56px;
    padding:5px 8px 4px;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    border:2px solid rgba(255,255,255,.72);
    background:linear-gradient(#8a4b1e,#4f2813);
    box-shadow:0 3px 8px rgba(0,0,0,.30);
    color:#fff;
    text-shadow:0 2px 2px rgba(0,0,0,.65);
}
.tarefa1-hud-placar-rotulo{
    font:800 12px/1 Arial,sans-serif;
    letter-spacing:.4px;
    margin-bottom:4px;
}
.tarefa1-hud-placar-item strong{
    font:900 22px/1 Arial,sans-serif;
}
.tarefa1-hud-placar-item.acertos strong{color:#9ff0b1;}
.tarefa1-hud-placar-item.erros strong{color:#ff9d9d;}

@media (max-width:900px){
    .tarefa1-hud-estatisticas{left:16.5%;gap:4px;}
    .tarefa1-hud-estatistica{min-width:58px;padding:3px 5px;}
    .tarefa1-hud-estatistica.tempo{min-width:105px;}
    .tarefa1-hud-placar-item{width:72px;}
    .tarefa1-hud-placar-rotulo{font-size:10px;}
}

/* =========================================================
   MAPA VOCÁLICO — A INICIAL / COLETÁVEL DA ATIVIDADE 1
   Flutua acima do baú de moedas no canto inferior direito.
   ========================================================= */
.tarefa1-mapa-vogal-inicial{
    position:absolute;
    right:2.4%;
    bottom:21.5%;
    width:118px;
    height:auto;
    z-index:7; /* mesma camada visual das plantas/pedras e do baú */
    opacity:0;
    transform:translateY(8px) scale(.82);
    pointer-events:none;
    user-select:none;
    filter:drop-shadow(0 6px 6px rgba(0,0,0,.30));
    transition:opacity .30s ease,transform .38s cubic-bezier(.2,.8,.2,1);
}
.tarefa1-mapa-vogal-inicial img{
    display:block;
    width:100%;
    height:auto;
    object-fit:contain;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
}
.tarefa1-mapa-vogal-inicial-visivel{
    opacity:1;
    transform:translateY(0) scale(1);
    animation:tarefa1-mapa-vogal-flutuar 1.8s ease-in-out infinite;
}
.tarefa1-mapa-vogal-inicial-coletado{
    pointer-events:none;
    animation:tarefa1-mapa-vogal-coleta .38s ease-out forwards !important;
}
@keyframes tarefa1-mapa-vogal-flutuar{
    0%,100%{margin-bottom:0}
    50%{margin-bottom:8px}
}
@keyframes tarefa1-mapa-vogal-coleta{
    0%{opacity:1;transform:translateY(0) scale(1)}
    45%{opacity:1;transform:translateY(-10px) scale(1.12)}
    100%{opacity:0;transform:translateY(-30px) scale(.62)}
}

/* =========================================================
   SEQUÊNCIA PÓS-POLVUS — COROA / TESOURO / VOGAIS A E O
   ========================================================= */

.tarefa1-coroa-polvus{
    position:absolute;
    width:110px;
    height:90px;
    display:flex;
    align-items:center;
    justify-content:center;
    transform:translate(-50%,50%) scale(.45);
    opacity:0;
    z-index:6;
    pointer-events:none;
    touch-action:none;
    filter:drop-shadow(0 5px 4px rgba(0,0,0,.30));
    transition:opacity .25s ease,transform .42s cubic-bezier(.2,.8,.2,1);
}
.tarefa1-coroa-polvus img{
    width:100%;
    height:100%;
    object-fit:contain;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
}
.tarefa1-coroa-polvus-surgiu{
    opacity:1;
    transform:translate(-50%,50%) scale(1);
}
.tarefa1-coroa-polvus-coletada{
    animation:tarefa1-coroa-coleta .36s ease-out forwards;
}
@keyframes tarefa1-coroa-coleta{
    0%{opacity:1;transform:translate(-50%,50%) scale(1)}
    45%{opacity:1;transform:translate(-50%,40%) scale(1.16)}
    100%{opacity:0;transform:translate(-50%,20%) scale(.65)}
}

.tarefa1-tesouro-polvus{
    position:absolute;
    width:124px;
    height:88px;
    display:flex;
    align-items:center;
    justify-content:center;
    transform:translate(-50%,0) scale(.75);
    opacity:0;
    z-index:7; /* mesma camada de pedra-bau */
    cursor:pointer;
    touch-action:manipulation;
    filter:drop-shadow(0 7px 5px rgba(0,0,0,.34));
    transition:opacity .35s ease,transform .35s cubic-bezier(.2,.8,.2,1);
}
.tarefa1-tesouro-polvus img{
    width:110px;
    height:auto;
    object-fit:contain;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
}
.tarefa1-tesouro-polvus-surgiu{
    opacity:1;
    transform:translate(-50%,0) scale(1);
    animation:tarefa1-tesouro-flutuar 1.7s ease-in-out infinite;
}
.tarefa1-tesouro-coletado{
    animation:tarefa1-tesouro-coleta .35s ease-out forwards;
    pointer-events:none;
}
@keyframes tarefa1-tesouro-flutuar{
    0%,100%{margin-top:0}
    50%{margin-top:-7px}
}
@keyframes tarefa1-tesouro-coleta{
    0%{opacity:1;transform:translate(-50%,0) scale(1)}
    45%{opacity:1;transform:translate(-50%,-10px) scale(1.12)}
    100%{opacity:0;transform:translate(-50%,-30px) scale(.72)}
}

/* Efeito mágico do baú: inicia 2 s após o toque e então o baú desaparece. */
.tarefa1-bau-desaparecendo-magico{
    animation:tarefa1-bau-magico .48s ease-out forwards;
}
.tarefa1-bau-magia{
    position:absolute;
    inset:-28px;
    pointer-events:none;
    opacity:0;
    z-index:3;
}
.tarefa1-bau-desaparecendo-magico .tarefa1-bau-magia{
    opacity:1;
}
.tarefa1-bau-magia span{
    position:absolute;
    left:50%;
    top:50%;
    font-size:22px;
    opacity:0;
    transform:translate(-50%,-50%) scale(.5);
    animation:none;
}
.tarefa1-bau-desaparecendo-magico .tarefa1-bau-magia span{
    animation:tarefa1-particula-magica .48s ease-out forwards;
    animation-delay:calc(var(--particula) * 35ms);
}
@keyframes tarefa1-bau-magico{
    0%{opacity:1;transform:translate(-50%,0) scale(1);filter:brightness(1)}
    45%{opacity:1;transform:translate(-50%,-6px) scale(1.08);filter:brightness(1.8)}
    100%{opacity:0;transform:translate(-50%,-18px) scale(.55);filter:brightness(2.4)}
}
@keyframes tarefa1-particula-magica{
    0%{opacity:0;transform:translate(-50%,-50%) scale(.4) rotate(0deg)}
    25%{opacity:1}
    100%{opacity:0;transform:translate(calc(-50% + (var(--particula) - 2.5) * 32px),calc(-50% - 28px - var(--particula) * 5px)) scale(1.15) rotate(90deg)}
}

/* Três vogais suspensas no centro da tela após a coleta do tesouro. */
.tarefa1-vogais-aeo{
    position:absolute;
    left:50%;
    top:23%;
    transform:translate(-50%,-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:36px;
    z-index:30;
    pointer-events:auto;
}
.tarefa1-vogal-aeo{
    width:92px;
    height:92px;
    min-width:92px;
    min-height:92px;
    padding:0;
    pointer-events:auto;
    touch-action:none;
    border:0;
    background:transparent;
    cursor:pointer;
    opacity:0;
    transform:translateY(28px) scale(.78);
    filter:drop-shadow(0 7px 5px rgba(0,0,0,.28));
    transition:transform .18s ease,filter .18s ease;
    animation:tarefa1-vogal-entrada .48s cubic-bezier(.2,.8,.2,1) forwards,
              tarefa1-vogal-suspensa 2.0s ease-in-out .48s infinite;
}
.tarefa1-vogal-aeo img{
    width:92px;
    height:92px;
    object-fit:contain;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
}
.tarefa1-vogal-aeo:hover{
    transform:scale(1.08);
    filter:drop-shadow(0 10px 8px rgba(0,0,0,.35));
}
.tarefa1-vogal-aeo:active{
    transform:scale(.94);
}
.tarefa1-vogal-aeo-tocada{
    filter:drop-shadow(0 0 12px rgba(255,255,255,.95));
}
@keyframes tarefa1-vogal-entrada{
    from{opacity:0;transform:translateY(28px) scale(.78)}
    to{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes tarefa1-vogal-suspensa{
    0%,100%{margin-top:0}
    50%{margin-top:-10px}
}


/* Gaivotas animadas da Atividade 1 — mesmo princípio de voo contínuo do Menu. */
.tarefa1-gaivotas-layer{position:absolute;inset:0;overflow:hidden;z-index:1;pointer-events:none}
.tarefa1-gaivotas{position:absolute;height:auto;display:block;pointer-events:none;user-select:none;-webkit-user-drag:none;will-change:left,transform}
/* O navio faz parte do próprio fundo. Esta máscara recompõe apenas sua área
   acima da camada das gaivotas. Avatar/Polvus (z6), plantas/objetos (z7+) e
   bandeira permanecem naturalmente acima das gaivotas. */
.tarefa1-navio-pirateiro{
    position:absolute;
    left:22.5%;
    top:26%;
    width:15%;
    height:auto;
    z-index:2;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
}
/* Recorte transparente da lateral direita: fica acima das gaivotas para
   que elas passem por trás da bandeira pirata, sem mudar seu voo. */
.tarefa1-bandeira-mascara-gaivotas{
    position:absolute;
    right:0;
    top:0;
    width:22%;
    height:63.5%;
    object-fit:fill;
    z-index:3;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
}
.tarefa1-gaivotas-direita{top:26%;left:-22%;width:6.5%;animation:tarefa1VoarDireita 32s linear infinite}
.tarefa1-gaivotas-esquerda{top:31%;left:108%;width:5.5%;animation:tarefa1VoarEsquerda 38s linear infinite;animation-delay:-18s}
@keyframes tarefa1VoarDireita{from{left:-22%}to{left:108%}}
@keyframes tarefa1VoarEsquerda{from{left:108%}to{left:-22%}}


/* Placa SVG da Atividade 1 — abaixo do botão SAIR, na camada 7 (plantas/pedras). */
.tarefa1-placa-comando{
    position:absolute;
    left:0.4%;
    right:auto;
    top:69%;
    bottom:auto;
    width: 285px;px;
    max-width:22%;
    height:auto;
    aspect-ratio:320/155;
    transform:translateY(8px) scale(.96);
    transform-origin:top left;
    opacity:0;
    visibility:hidden;
    z-index:7;
    pointer-events:none;
    transition:opacity .28s ease,transform .28s ease;
    filter:drop-shadow(0 5px 5px rgba(0,0,0,.26));
}
.tarefa1-placa-comando.tarefa1-placa-comando-visivel{
    opacity:1 !important;
    visibility:visible !important;
    transform:translateY(0) scale(1);
}
.tarefa1-placa-comando > img{
    width:100% !important;
    height:auto !important;
    display:block !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
}
.tarefa1-placa-altofalante{
    position:absolute;
    left:83.1%;
    top:19.4%;
    width:13.2%;
    height:25.8%;
    padding:0;
    border:0;
    border-radius:50%;
    background:transparent;
    cursor:pointer;
    pointer-events:auto;
    touch-action:manipulation;
}
.tarefa1-placa-altofalante:hover{background:rgba(255,255,255,.16)}
.tarefa1-placa-altofalante:focus-visible{outline:3px solid #fff;outline-offset:2px}
.tarefa1-placa-altofalante:active{transform:scale(.91)}


/* Primeira mensagem secreta da Atividade 1 — acerola. */
.tarefa1-concha-siri{
    position:absolute;width:72px;height:72px;object-fit:contain;z-index:22;
    pointer-events:none;user-select:none;-webkit-user-drag:none;
    transform:translateY(0) rotate(0deg);transition:transform .78s cubic-bezier(.18,.72,.28,1);
    filter:drop-shadow(0 4px 4px rgba(0,0,0,.3));
}
.tarefa1-concha-siri.disparada{transform:translateY(var(--concha-distancia-y)) rotate(540deg)}

/* Pista única da Atividade 1: centralizada na linha inferior da tela. */
.tarefa1-pista-acerola{
    position:absolute;
    left:50%;
    bottom:6px;
    top:auto;
    width:min(760px,59.4%);
    aspect-ratio:1704/837;
    height:auto;
    z-index:31;
    opacity:0;
    transform:translate(-50%,8px);
    transition:opacity .25s ease,transform .25s ease;
    pointer-events:none;
}
.tarefa1-pista-acerola.visivel{opacity:1;transform:translate(-50%,0)}
.tarefa1-pista-base{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}

/* Imagem da mensagem secreta no quadrilátero vazado da direita. */
.tarefa1-pista-objeto{
    position:absolute;left:73.45%;top:47.3%;width:16.95%;height:32.0%;
    object-fit:contain;pointer-events:none;
}

/* Frase secreta no retângulo vazado central. */
.tarefa1-pista-frase{
    position:absolute;left:19.55%;top:49.0%;width:53.35%;height:13.4%;
    display:flex;align-items:center;justify-content:center;padding:0 1.5%;box-sizing:border-box;
    font:800 clamp(12px,1.35vw,20px)/1.12 Arial,sans-serif;
    color:#fff;text-align:center;text-shadow:0 2px 2px rgba(0,0,0,.9);pointer-events:none;
}

/* Alto-falantes exatamente nos dois círculos vazados da pista. */
.tarefa1-pista-som-frase,.tarefa1-pista-som-palavra{
    position:absolute;width:7.2%;aspect-ratio:1/1;height:auto;border:0;border-radius:50%;padding:0;
    display:flex;align-items:center;justify-content:center;
    background:transparent;color:#fff;font-size:clamp(18px,2.4vw,34px);line-height:1;
    cursor:pointer;pointer-events:auto;text-shadow:0 2px 2px rgba(0,0,0,.9);touch-action:manipulation;
}
.tarefa1-pista-som-frase{left:11.45%;top:48.4%}
.tarefa1-pista-som-palavra{left:65.45%;top:63.55%}
.tarefa1-pista-som-frase:active,.tarefa1-pista-som-palavra:active{transform:scale(.9)}
\n\n/* ===== Refinamento da placa PISTAS — 24/09/2026 ===== */\n/* Número da etapa: o JS ancora o componente do HUD sobre o quadrado ao lado de ATIVIDADE. */\n.tarefa1-hud-numero-etapa{\n    font-size:clamp(20px,2.05vw,31px);\n    line-height:1;\n    transform:translate(1px,-1px);\n}\n\n/* Frase perfeitamente centralizada vertical e horizontalmente no retângulo vazado. */\n.tarefa1-pista-frase{\n    left:20.1%; top:48.05%; width:52.45%; height:14.7%;\n    padding:0 1.8%;\n    display:flex; align-items:center; justify-content:center;\n    line-height:1.15;\n}\n\n/* Os três botões são áreas circulares transparentes sobre os círculos desenhados na PNG. */\n.tarefa1-pista-som-comando,.tarefa1-pista-som-frase,.tarefa1-pista-som-palavra{\n    position:absolute; width:7.05%; aspect-ratio:1/1; height:auto;\n    border:0; border-radius:50%; padding:0; margin:0;\n    display:flex; align-items:center; justify-content:center;\n    background:transparent; color:#fff;\n    font-size:clamp(17px,2.25vw,32px); line-height:1;\n    cursor:pointer; pointer-events:auto; touch-action:manipulation;\n    text-shadow:0 2px 2px rgba(0,0,0,.9);\n    transform:translate(-50%,-50%);\n}\n/* comando geral: círculo grande do canto superior direito */\n.tarefa1-pista-som-comando{left:87.05%;top:35.65%;width:8.15%}\n/* pista falada: círculo à esquerda do retângulo branco */\n.tarefa1-pista-som-frase{left:13.05%;top:55.55%}\n/* palavra incompleta: círculo inferior, antes da imagem */\n.tarefa1-pista-som-palavra{left:67.55%;top:68.65%}\n.tarefa1-pista-som-comando:active,.tarefa1-pista-som-frase:active,.tarefa1-pista-som-palavra:active{transform:translate(-50%,-50%) scale(.9)}\n\n/* Chamada visual do botão PISTAS quando há uma nova ajuda disponível. */\n@keyframes tarefa1-pistas-chamar{\n    0%,100%{transform:scale(1);filter:brightness(1);box-shadow:inset 0 0 0 2px #efb75d,0 2px 3px rgba(0,0,0,.35),0 0 0 rgba(255,225,80,0)}\n    50%{transform:scale(1.09);filter:brightness(1.35);box-shadow:inset 0 0 0 2px #fff2a0,0 2px 3px rgba(0,0,0,.35),0 0 16px 6px rgba(255,225,80,.9)}\n}\n.tarefa1-hud-botao-pistas.tarefa1-hud-botao-pistas-alerta{\n    animation:tarefa1-pistas-chamar .9s ease-in-out infinite;\n}\n\n\n/* Feedback da lógica pedagógica / salvar */\n.tarefa1-vogais-aeo-destruidas{opacity:0!important;transform:scale(.72)!important;transition:opacity .35s ease,transform .35s ease;pointer-events:none!important}\n.tarefa1-hud-botao.tarefa1-salvo-ok{filter:drop-shadow(0 0 9px #fff) drop-shadow(0 0 12px #38d66b);transform:scale(1.08)}\n

/* ===== Ajuste fino da placa de pistas — sequência inicial ===== */
.tarefa1-pista-frase{
 left:21.0%!important;top:49.2%!important;width:50.7%!important;height:13.0%!important;
 padding:0 1.4%!important;font-size:clamp(12px,1.28vw,19px)!important;line-height:1.08!important;
}
.tarefa1-pista-som-comando{left:87.0%!important;top:35.2%!important;width:7.7%!important}
.tarefa1-pista-som-frase{left:13.0%!important;top:55.0%!important;width:6.65%!important}
.tarefa1-pista-som-palavra{left:67.0%!important;top:68.0%!important;width:6.65%!important}

/* Parte final da Atividade 1 — escolhas por sílaba final */
.tarefa1-silabas-finais{position:absolute;left:50%;top:55%;transform:translate(-50%,-50%) scale(.96);z-index:86;width:min(72%,860px);padding:18px 22px 22px;border-radius:22px;background:rgba(255,248,218,.94);box-shadow:0 10px 28px rgba(0,0,0,.28);opacity:0;transition:opacity .22s ease,transform .22s ease}
.tarefa1-silabas-finais.visivel{opacity:1;transform:translate(-50%,-50%) scale(1)}
.tarefa1-silabas-finais-repetir{display:block;margin:0 auto 12px;border:0;border-radius:50%;width:54px;height:54px;font-size:30px;cursor:pointer;background:#fff3b0;box-shadow:0 3px 9px rgba(0,0,0,.2)}
.tarefa1-silabas-finais-escolhas{display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap}
.tarefa1-silaba-final-figura{width:190px;height:190px;padding:8px;border:4px solid transparent;border-radius:18px;background:rgba(255,255,255,.9);cursor:pointer;transition:transform .14s ease,border-color .14s ease}
.tarefa1-silaba-final-figura:hover{transform:scale(1.04)}
.tarefa1-silaba-final-figura img{width:100%;height:100%;object-fit:contain;pointer-events:none}
.tarefa1-silaba-final-figura.correta{border-color:#36a852;transform:scale(1.07)}
.tarefa1-silaba-final-figura.errada{border-color:#d83b3b;animation:tarefa1ErroFinal .22s linear 2}
@keyframes tarefa1ErroFinal{0%,100%{transform:translateX(0)}50%{transform:translateX(8px)}}


/* ===== Sílabas finais: mesma mecânica visual das vogais — 26/09/2026 ===== */
.tarefa1-cavalo-marinho-silaba-final{
    position:absolute;width:72px;height:72px;object-fit:contain;z-index:32;
    pointer-events:none;user-select:none;-webkit-user-drag:none;
    transform:translateY(0) rotate(0deg);
    transition:transform .82s cubic-bezier(.18,.72,.28,1);
    filter:drop-shadow(0 4px 4px rgba(0,0,0,.3));
}
.tarefa1-cavalo-marinho-silaba-final.disparado{transform:translateY(var(--cavalo-distancia-y)) rotate(360deg)}
.tarefa1-silabas-finais-suspensas{
    position:absolute;left:50%;top:25%;transform:translate(-50%,-50%);
    display:flex;align-items:center;justify-content:center;gap:38px;
    z-index:30;pointer-events:auto;
}
.tarefa1-silaba-final-figura-suspensa{
    width:142px;height:142px;min-width:142px;min-height:142px;padding:5px;
    border:0;border-radius:18px;background:transparent;box-shadow:none;appearance:none;cursor:pointer;
    pointer-events:auto;touch-action:none;opacity:0;
    transform:translateY(28px) scale(.78);
    filter:drop-shadow(0 7px 5px rgba(0,0,0,.28));
    transition:filter .18s ease;
    animation:tarefa1-figura-final-entrada .48s cubic-bezier(.2,.8,.2,1) forwards,
              tarefa1-figura-final-suspensa 2.2s ease-in-out .48s infinite;
}
.tarefa1-silaba-final-figura-suspensa img{width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}
.tarefa1-silaba-final-figura-suspensa:hover{filter:drop-shadow(0 10px 8px rgba(0,0,0,.38)) drop-shadow(0 0 8px rgba(255,255,255,.7))}
.tarefa1-silaba-final-figura-suspensa:active{scale:.94}
.tarefa1-silaba-final-figura-suspensa.errada{animation:tarefa1ErroFinal .22s linear 2,tarefa1-figura-final-suspensa 2.2s ease-in-out infinite}
.tarefa1-silabas-finais-destruidas{opacity:0!important;transform:translate(-50%,-50%) scale(.72)!important;transition:opacity .35s ease,transform .35s ease;pointer-events:none!important}
@keyframes tarefa1-figura-final-entrada{from{opacity:0;transform:translateY(28px) scale(.78)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes tarefa1-figura-final-suspensa{0%,100%{margin-top:0}50%{margin-top:-12px}}
.tarefa1-pista-silaba-final .tarefa1-pista-frase{font-size:clamp(11px,1.18vw,18px)!important}


/* ===== Placa PISTAS alinhada ao exemplo fornecido — 26/09/2026 ===== */
.tarefa1-pista-frase{
    left:20.53%!important; top:51.09%!important; width:50.18%!important; height:10.22%!important;
    padding:0 1.2%!important; box-sizing:border-box!important;
    display:flex!important; align-items:center!important; justify-content:center!important;
    text-align:center!important;
}
.tarefa1-pista-objeto{
    left:72.63%!important; top:49.27%!important; width:15.09%!important; height:28.47%!important;
    object-fit:contain!important;
}
.tarefa1-pista-som-comando,.tarefa1-pista-som-frase,.tarefa1-pista-som-palavra{
    width:8.77%!important; aspect-ratio:1/1!important; height:auto!important;
    padding:0!important; overflow:visible!important; background:transparent!important;
    transform:translate(-50%,-50%)!important;
    text-shadow:none!important;
}
.tarefa1-pista-som-comando{left:85.44%!important;top:36.50%!important}
.tarefa1-pista-som-frase{left:15.61%!important;top:55.84%!important}
.tarefa1-pista-som-palavra{left:66.84%!important;top:72.26%!important}
.tarefa1-pista-som-comando img,.tarefa1-pista-som-frase img,.tarefa1-pista-som-palavra img{
    display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none;
}
.tarefa1-pista-som-comando:active,.tarefa1-pista-som-frase:active,.tarefa1-pista-som-palavra:active{
    transform:translate(-50%,-50%) scale(.92)!important;
}
.tarefa1-hud-numero-etapa{background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important}

/* ===== Placa PISTAS: coordenadas 100% locais ao gabarito pistas_vazias_exemplo.png =====
   Gabarito nativo: 570 x 274 px. Todos os percentuais abaixo são relativos à própria placa. */
.tarefa1-pista-acerola{
    container-type:inline-size;
}
.tarefa1-pista-numero-local{
    position:absolute!important;
    left:65.26%!important;       /* centro x=372/570 */
    top:18.25%!important;        /* centro y=50/274 */
    width:8.77%!important;       /* 50/570 */
    height:auto!important;
    aspect-ratio:1/1!important;
    object-fit:contain!important;
    transform:translate(-50%,-50%)!important;
    pointer-events:none!important;
    user-select:none!important;
    -webkit-user-drag:none!important;
    z-index:4!important;
}
/* Centros copiados visualmente do exemplo de 570x274. */
.tarefa1-pista-som-comando{
    left:85.79%!important;       /* centro ~489/570 */
    top:36.50%!important;        /* centro ~100/274 */
    width:8.77%!important;
}
.tarefa1-pista-som-frase{
    left:15.79%!important;       /* centro ~90/570 */
    top:56.57%!important;        /* centro ~155/274 */
    width:8.77%!important;
}
.tarefa1-pista-som-palavra{
    left:66.84%!important;       /* centro ~381/570 */
    top:71.53%!important;        /* centro ~196/274 */
    width:8.77%!important;
}
/* Área útil do texto: somente o retângulo horizontal do exemplo. */
.tarefa1-pista-frase{
    left:20.53%!important;       /* x ~117 */
    top:50.73%!important;        /* y ~139 */
    width:50.18%!important;      /* ~286 px */
    height:10.22%!important;     /* ~28 px */
    padding:0 1.15%!important;
    margin:0!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    text-align:center!important;
    line-height:1.05!important;
}
/* Área útil da figura à direita, sem invadir AF da sílaba nem moldura. */
.tarefa1-pista-objeto{
    left:72.28%!important;       /* x ~412 */
    top:50.36%!important;        /* y ~138 */
    width:15.44%!important;      /* ~88 px */
    height:28.83%!important;     /* ~79 px */
    object-fit:contain!important;
    object-position:center center!important;
    margin:0!important;
    transform:none!important;
}
/* O número antigo do HUD não deve competir com o número local da placa. */
.tarefa1-hud-numero-etapa,
.tarefa1-hud-numero-etapa.visivel{
    opacity:0!important;
    visibility:hidden!important;
}

/* ===== CORRECAO LOCAL DA PLACA PISTAS — 27/09/2026 =====
   O AF de comando pertence ao circulo superior direito da propria placa.
   Escopo propositalmente restrito ao componente da placa. */
.tarefa1-pista-acerola{
    position:absolute!important;
}
.tarefa1-pista-acerola > .tarefa1-pista-som-comando{
    position:absolute!important;
    left:85.8%!important;
    top:35.2%!important;
    right:auto!important;
    bottom:auto!important;
    width:8.1%!important;
    height:auto!important;
    aspect-ratio:1/1!important;
    margin:0!important;
    padding:0!important;
    transform:translate(-50%,-50%)!important;
    z-index:8!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:0!important;
    border-radius:50%!important;
    background:transparent!important;
    overflow:visible!important;
    pointer-events:auto!important;
}
.tarefa1-pista-acerola > .tarefa1-pista-som-comando > img{
    position:static!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    pointer-events:none!important;
}
.tarefa1-pista-acerola > .tarefa1-pista-som-comando:active{
    transform:translate(-50%,-50%) scale(.92)!important;
}

/* =========================================================
   SAÍDA DA ATIVIDADE 1 → ATIVIDADE 2
   A placa/seta aparece somente após a conclusão da Atividade 1.
   ========================================================= */
.tarefa1-seta-saida{
    position:absolute;
    right:0%;
    bottom:34%;
    width:138px;
    height:78px;
    padding:0;
    border:0;
    background:transparent;
    cursor:pointer;
    z-index:9;
    touch-action:manipulation;
    animation:tarefa1SetaSaidaPulso 1.05s ease-in-out infinite;
    filter:drop-shadow(0 5px 4px rgba(0,0,0,.38));
}
.tarefa1-seta-saida img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none;-webkit-user-drag:none}
.tarefa1-seta-saida span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding-bottom:5px;color:#fff3c4;font:900 55px/1 Arial,sans-serif;text-shadow:0 3px 1px #5b2c0b,2px 0 1px #5b2c0b,-2px 0 1px #5b2c0b;pointer-events:none}
.tarefa1-seta-saida-ativada{animation:none;filter:drop-shadow(0 0 9px rgba(255,235,120,.95)) drop-shadow(0 5px 4px rgba(0,0,0,.38))}
@keyframes tarefa1SetaSaidaPulso{0%,100%{transform:translateX(0) scale(1)}50%{transform:translateX(8px) scale(1.04)}}

/* =========================================================
   AJUSTE DE LAYOUT — 06/10/2026
   1) HUD lateral mais próximo do limite esquerdo.
   2) Siri totalmente visível no canto inferior direito.
   3) Botão de retorno ao treino à direita da estrela.
   ========================================================= */
.tarefa1-hud-controles{
    left:.35%!important;
}

/* O Siri permanece acima dos controles inferiores, sem ser cortado. */
.tarefa1-atirador-siri{
    left:auto!important;
    top:auto!important;
    right:1.2%!important;
    bottom:12.5%!important;
    width:105px!important;
    height:105px!important;
}

/* Reserva, no extremo direito, o espaço do botão de retorno. */
.tarefa1-controles-toque{
    right:calc(2% + 64px)!important;
}

/* Mesmo botão funcional já existente: agora fica imediatamente à direita da estrela. */
#tarefa1-voltar{
    left:auto!important;
    right:2%!important;
    bottom:3%!important;
    width:54px!important;
    height:54px!important;
    line-height:54px!important;
    z-index:26!important;
}

/* =========================================================
   SIRI LANÇADOR — orientação de disparo
   A arte original aponta as garras para a direita. Durante a
   fase em que o Siri aparece para lançar a concha ou o
   cavalo-marinho, o conjunto é girado 90° no sentido anti-
   horário, deixando as garras apontadas verticalmente para cima.
   ========================================================= */
.tarefa1-atirador-siri{
    transform-origin:50% 50%!important;
}
.tarefa1-atirador-siri.tarefa1-atirador-siri-visivel{
    transform:rotate(-90deg) scale(1)!important;
}
.tarefa1-atirador-siri.tarefa1-atirador-siri-oculto{
    transform:rotate(-90deg) translateY(-8px) scale(.92)!important;
}

/* Placa de madeira A sempre visível na atividade 1. */
#tarefa1-tela .tarefa1-seta-saida{display:block!important;right:2%;bottom:30%;width:138px;height:85px;z-index:950;animation:none;pointer-events:auto;opacity:1}
#tarefa1-tela .tarefa1-seta-saida img{object-fit:contain}
#tarefa1-tela .tarefa1-seta-saida:not(.tarefa1-seta-saida-ativada){filter:brightness(.85)}

/* GLUB: seta flutuante, acessível e acima dos objetos do cenário. */
@keyframes glubSetaFlutuar {0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
#tarefa1-tela .tarefa1-seta-saida{
  display:block!important;animation:glubSetaFlutuar 2.6s ease-in-out infinite!important;
  z-index:950!important;pointer-events:auto!important;touch-action:manipulation;
}
#tarefa1-tela .tarefa1-seta-saida img{pointer-events:none}

/* Recorte circular das figuras finais: elimina resíduos externos. */
#tarefa1-tela .tarefa1-silaba-final-figura-suspensa {
    background: transparent !important; box-shadow: none !important;
    border: 0 !important; filter: none !important;
}
.tarefa1-silaba-final-figura-suspensa img {
    background: transparent !important; box-shadow: none !important;
    clip-path: circle(48% at 50% 50%);
}
