/* ===== Lote 3: iPad, jogo unificado, ata, relatório, prévia de MIDI ===== */

/* toque mais direto (sem esperar o "duplo toque" pra dar zoom) */
html { touch-action: manipulation; }

/* ---------- iPad / telas grandes: usa a largura em vez de uma coluna de celular ---------- */
.amb-open { display: inline-grid; place-items: center; text-decoration: none; }
@media (min-width: 700px) {
  #app { max-width: 880px; padding-bottom: calc(128px + var(--safe-b)); }
  .bottom-nav, .tray { max-width: 620px; }
  .scroll-track { right: calc(50% - 440px); } .to-top { right: calc(50% - 420px); }
  .shortcuts { grid-template-columns: repeat(6, 1fr); gap: 12px; padding-left: 20px; padding-right: 20px; }
  .sheet { max-width: 640px; }
  .toast { max-width: 520px; }
  .drawer { width: min(440px, 52vw); }
  .banner-wrap { padding-left: 24px; padding-right: 24px; }
  .pad-x { padding-left: 24px; padding-right: 24px; }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  /* listas longas em duas colunas (cada cartão continua inteiro) */
  :where(.ar-list, .sp-list, .sl-songs, .kit-list, .amb-links, .cl-list) { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
  .kx-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rg-host { margin: 0 16px; }
}
@media (min-width: 700px) and (pointer: coarse) {
  /* o que mais pesa no iPad: camadas enormes com mistura de cor e aquarelas se mexendo o tempo todo */
  #decor::after { mix-blend-mode: normal; opacity: .12; }
  .wash { animation: none !important; will-change: auto; }
  .fab::after { animation: none; }
  .sheet-back { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bottom-nav { -webkit-backdrop-filter: none; backdrop-filter: none; }
  #view > * { animation-duration: .2s; }
}
/* iPad em pé/deitado com o app instalado: respeita as bordas (barra de status e indicador de início) */
@media (display-mode: standalone) { .topwrap { padding-top: max(var(--safe-t), 6px); } }

/* ---------- jogo em tela cheia no iPad: o palco fica do tamanho de um celular, no meio ---------- */
@media (min-width: 700px) {
  body.rz-lock .rg-host > #jogos { width: min(100%, 560px); height: 100%; margin: 0 auto; }
  body.rz-lock .rg-host { display: flex; justify-content: center; background: #0d0b0d; }
}

/* ---------- jogo unificado (ritmo/melodia, 3-4-5 teclas) ---------- */
.rz-opts { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; align-items: center; }
.rz-opts .rz-lab { font: 700 12px var(--body); letter-spacing: .06em; text-transform: uppercase; color: #d9ccb6; min-width: 64px; }
.rz-opt { min-height: 44px; padding: 0 14px; border: 0; cursor: pointer; font: 700 15px var(--body); color: #f3eee4; background: #2a2424; box-shadow: inset 0 -3px 0 #4d4545; }
.rz-opt.on { background: #d92031; box-shadow: inset 0 -3px 0 #8f1122; }
.rz-opt small { display: block; font-weight: 400; font-size: 11px; color: inherit; opacity: .8; }
.rz-hint { margin: 2px 0 8px; font-size: 13px; color: #d9ccb6; }
/* prévia de áudio nas músicas importadas */
.bmr .rz-prev { flex: none; width: 48px; }
.rz-songrow { display: grid; grid-template-columns: 46px 1fr; gap: 4px; align-items: stretch; }
.rz-prev { border: 0; cursor: pointer; font: 700 18px var(--body); color: #f3eee4; background: #3a3434; box-shadow: inset 0 -3px 0 #4d4545; min-height: 48px; }
.rz-prev.on { background: #d92031; }
.rz-trim { display: grid; gap: 8px; padding: 10px; background: #2a2424; margin: 8px 0; }
.rz-trim label { display: grid; gap: 4px; font-size: 13px; color: #d9ccb6; }
.rz-trim input[type=range] { width: 100%; }

/* ---------- ata de reunião ---------- */
.ata-top { align-items: center; gap: 8px; margin: 4px 0 8px; flex-wrap: wrap; }
.ata-form { display: grid; gap: 10px; }
.ata-sec { display: grid; gap: 6px; }
.ata-sec textarea { min-height: 84px; }
.ata-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ata-item { padding: 10px; border: 1px dashed var(--line-strong); border-radius: 10px; display: grid; gap: 6px; }
.ata-out { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- relatório editável ---------- */
.rel-sec { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 8px; background: var(--card); }
.rel-sec.off { opacity: .55; }
.rel-head { display: flex; align-items: center; gap: 10px; }
.rel-head input[type=checkbox] { width: 24px; height: 24px; flex: none; accent-color: var(--accent); }
.rel-head input[type=text] { flex: 1; min-width: 0; font-weight: 700; }
.rel-sec textarea { min-height: 72px; width: 100%; }
.rel-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.rel-tbl th, .rel-tbl td { border: 1px solid var(--line-strong); padding: 6px 8px; text-align: left; vertical-align: top; }
.rel-tbl th { background: rgb(var(--ink-rgb) / .08); }
.rel-tbl td[contenteditable] { min-width: 60px; outline-offset: -2px; }

/* ---------- área do aluno ---------- */
.al-rank { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.al-rank li { display: grid; grid-template-columns: 38px 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; background: rgb(var(--ink-rgb) / .05); }
.al-rank li.me { background: color-mix(in srgb, var(--gold) 30%, transparent); font-weight: 700; }
.al-pos { font: 700 14px var(--type); } .al-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-card { text-decoration: none; display: block; }
.al-paul { display: flex; align-items: flex-end; gap: 8px; justify-content: center; }
.al-paul img { height: auto; mix-blend-mode: multiply; }
.al-bubble { margin: 0 0 30px; font: 700 16px/1.25 var(--hand); color: rgb(var(--ink-rgb)); text-align: left; }
.al-foot { display: grid; gap: 6px; padding: 18px 16px 8px; }
.al-social { display: flex; gap: 14px; justify-content: center; }
.al-soc { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid currentColor; color: var(--accent); text-decoration: none; background: var(--card); }
.al-soc:active { transform: scale(.94); }
select { min-height: 44px; }

/* entrada do aluno: sem o anel em volta do logo; parceiros em preto, sem fundo */
body.aluno .login-logo { box-shadow: none; }
.al-foot .partners { background: transparent; box-shadow: none; padding: 4px 0 0; margin: 12px 0 0; text-align: center; }
.al-foot .partners-label { color: rgb(var(--ink-rgb)); font-size: 18px; }
.al-foot .partners-img { max-width: 360px; }
.al-tiktok { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: #141212; text-decoration: none; font: 800 24px/1 var(--body); letter-spacing: -.02em; }

/* ---------- entrada do aluno: logo Robôterista, Paul animado, vitrine de jogos e redes em círculo ---------- */
.al-logo { margin: 0; justify-self: center; width: min(100%, 330px); }
.al-logo img { display: block; width: 100%; height: auto; }
.al-paul img.al-paul-img { width: 112px; height: auto; transform-origin: 50% 100%; animation: alDance 1.3s ease-in-out infinite; }
.al-bubble { margin: 0 0 40px; }
@keyframes alDance { 0%, 100% { transform: translateY(0) rotate(-3deg); } 25% { transform: translateY(-9px) rotate(2deg); } 50% { transform: translateY(0) rotate(3deg); } 75% { transform: translateY(-6px) rotate(-2deg); } }
.al-entry { display: grid; gap: 14px; align-content: start; padding-bottom: 40px; }
.al-games { display: grid; gap: 8px; padding: 6px 4px 0; }
.al-h { margin: 0; text-align: center; font: var(--dstyle) var(--dw) 22px/1.1 var(--display); color: rgb(var(--ink-rgb)); }
.al-gamegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; max-width: 420px; margin: 0 auto; width: 100%; }
.al-game { margin: 0; display: grid; justify-items: center; gap: 2px; animation: alFloat 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.55s); }
.al-game img { width: 76px; height: auto; }
.al-game figcaption { font: 700 12.5px/1.1 var(--body); text-align: center; color: rgb(var(--ink-rgb)); }
@keyframes alFloat { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-5px) rotate(1.5deg); } }
@media (min-width: 700px) { .al-game img { width: 96px; } .al-gamegrid { grid-template-columns: repeat(6, 1fr); max-width: 640px; } }
/* redes: círculos vermelhos, fáceis de tocar */
.al-social { gap: 16px; }
.al-soc { width: 56px; height: 56px; border: 0 !important; border-radius: 50% !important; background: var(--accent, #b5162b); color: #fff; box-shadow: 0 4px 0 rgb(0 0 0 / .28), 0 8px 14px -6px rgb(0 0 0 / .4); transition: transform .12s, box-shadow .12s; }
.al-soc:active { transform: translateY(3px); box-shadow: 0 1px 0 rgb(0 0 0 / .28); }
.al-soc svg { width: 28px; height: 28px; }
@media (prefers-reduced-motion: reduce) { .al-paul img.al-paul-img, .al-game { animation: none !important; } }

/* entrada: logo da escola (sem anel), Paul + Robôterista lado a lado e a frase embaixo */
.al-paul { display: flex; align-items: center; justify-content: center; gap: 12px; }
.al-robo { width: 52%; max-width: 210px; height: auto; }
.al-bubble { margin: 0; text-align: center; font: 700 17px/1.25 var(--hand); color: rgb(var(--ink-rgb)); }

/* entrada compacta: tudo (marca, Paul, nome, origem e botão) cabe na primeira tela do celular */
.al-entry .login-card { padding: 14px 18px 14px; gap: 8px; }
.al-brand { display: flex; align-items: center; justify-content: center; gap: 10px; }
.al-brand .login-logo { width: 76px; height: 76px; }
.al-brand .login-title { margin: 0; }
.al-brand .login-title img { width: 176px; height: auto; display: block; }
.al-hero { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 8px; }
.al-hero .al-paul-img { width: 96px; height: auto; }
.al-hero-txt { display: grid; gap: 2px; justify-items: start; }
.al-hero-txt .al-robo { width: 100%; max-width: 200px; }
.al-hero-txt .al-bubble { text-align: left; font-size: 14px; line-height: 1.2; }
.al-entry .field { gap: 2px; } .al-entry .field > span { font-size: 12px; }
.al-entry .field input, .al-entry .field select { min-height: 42px; }
.al-entry .form-err:empty { display: none; }
.al-entry .al-note { font-size: 11.5px; line-height: 1.25; }
.al-entry .btn.wide { min-height: 46px; }

/* versão enxuta: marca, Paul, formulário, jogos, redes e parceiros numa tela só */
.al-entry { gap: 8px; padding-bottom: 12px; }
.al-entry .login-card { padding: 10px 16px 10px; gap: 6px; }
.al-brand .login-logo { width: 52px; height: 52px; }
.al-brand .login-title img { width: 128px; }
.al-hero { grid-template-columns: 74px 1fr; gap: 6px; }
.al-hero .al-paul-img { width: 74px; }
.al-hero-txt .al-robo { max-width: 150px; }
.al-hero-txt .al-bubble { font-size: 12.5px; }
.al-entry .field input, .al-entry .field select { min-height: 38px; font-size: 15px; }
.al-entry .field > span { font-size: 11.5px; }
.al-entry .btn.wide { min-height: 42px; }
.al-entry .al-note { font-size: 10.5px; }
.al-games { gap: 2px; padding-top: 0; }
.al-h { font-size: 15px; }
.al-gamegrid { grid-template-columns: repeat(6, 1fr); gap: 2px 4px; max-width: 380px; }
.al-game img { width: 48px; }
.al-game figcaption { font-size: 9.5px; }
.al-foot { padding: 4px 16px 0; gap: 2px; }
.al-foot > .muted { font-size: 11px; margin: 0; }
.al-social { gap: 12px; }
.al-soc { width: 42px; height: 42px; box-shadow: 0 3px 0 rgb(0 0 0 / .28); }
.al-soc svg { width: 22px; height: 22px; }
.al-foot .partners { margin: 4px 0 0; padding: 0; }
.al-foot .partners-label { font-size: 13px; }
.al-foot .partners-img { max-width: 250px; }
.al-tiktok { margin-top: 2px; font-size: 18px; gap: 6px; } .al-tiktok svg { width: 22px; height: 22px; }
@media (min-width: 700px) { .al-game img { width: 72px; } .al-game figcaption { font-size: 12px; } .al-soc { width: 52px; height: 52px; } .al-foot .partners-img { max-width: 340px; } }

/* ainda mais enxuto: rótulos viram placeholder (continuam lidos por leitores de tela) */
.al-entry .field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.al-entry.login { padding-top: 10px; padding-bottom: 6px; gap: 4px; }
#app:has(.al-entry) { padding-bottom: 12px; }
.al-hero { grid-template-columns: 66px 1fr; } .al-hero .al-paul-img { width: 66px; }
.al-game img { width: 42px; }
.al-foot .partners-img { max-width: 230px; }
.al-foot .al-social { margin-top: 0; }
.al-entry.login { min-height: 0; }
.al-entry .al-note { font-size: 10px; }
#app:has(.al-entry) { min-height: 0; padding-bottom: 0; }
/* entrada sem moldura de cartão; parceiros logo abaixo do formulário, depois as redes */
.al-entry.login { gap: 10px; padding-top: 14px; }
.al-foot { gap: 6px; padding-top: 6px; }
.al-foot .partners-label { font-size: 15px; }
.al-foot .partners-img { max-width: 300px; }
.al-tiktok { font-size: 20px; margin-top: 4px; } .al-tiktok svg { width: 26px; height: 26px; }
.al-soc { width: 48px; height: 48px; } .al-soc svg { width: 24px; height: 24px; }
body.aluno:has(.al-entry) .wash.w2 { display: none; }
/* entrada: fundo decorativo só com as peças vermelhas e estrelas (o recorte preto atrapalhava os logos dos parceiros) */
html[data-theme="rabisco"] body.aluno:has(.al-entry) #decor::before { background:
  url(../assets/mural/star-ink.svg) left -18px top 120px / 64px no-repeat,
  url(../assets/mural/shard-red.svg) right -60px top 46% / 120px no-repeat,
  url(../assets/mural/star-red.svg) right 6px top 210px / 40px no-repeat; }

/* entrada final: cartão, vitrine de jogos, redes e parceiros com respiro; fundo sem o recorte preto */
.al-entry.login { gap: 20px; padding-top: 14px; padding-bottom: 20px; }
.al-games { gap: 6px; padding-top: 6px; }
.al-h { font-size: 17px; }
.al-gamegrid { grid-template-columns: repeat(3, 1fr); gap: 8px 6px; max-width: 360px; }
.al-game img { width: 64px; }
.al-game figcaption { font-size: 12px; }
.al-foot { gap: 8px; padding: 0 16px; }
.al-foot > .muted { font-size: 12px; }
.al-foot .partners { margin-top: 10px; }
.al-foot .partners-label { font-size: 15px; }
.al-foot .partners-img { max-width: 280px; }
.al-soc { width: 50px; height: 50px; } .al-soc svg { width: 24px; height: 24px; }
.al-tiktok { font-size: 20px; margin-top: 4px; } .al-tiktok svg { width: 26px; height: 26px; }
html[data-theme="rabisco"] body.aluno:has(.al-entry) #decor::before { background:
  url(../assets/mural/star-ink.svg) left -18px top 120px / 64px no-repeat,
  url(../assets/mural/shard-red.svg) right -60px top 300px / 110px no-repeat; }
@media (min-width: 700px) { .al-gamegrid { grid-template-columns: repeat(6, 1fr); max-width: 640px; } .al-game img { width: 80px; } }

/* entrada numa tela só (iPhone): jogos pequenos, "siga a Bea" em cima, logos dos parceiros numa linha só com "parceiros da Bea" embaixo */
.al-entry.login { gap: 8px; padding-top: 10px; padding-bottom: 8px; }
.al-games { gap: 2px; padding: 0; }
.al-h { font-size: 13px; }
.al-gamegrid { grid-template-columns: repeat(6, 1fr); gap: 0 2px; max-width: 340px; }
.al-game img { width: 40px; }
.al-game figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.al-foot { gap: 6px; padding: 0 10px; }
.al-foot > .muted { font-size: 12px; }
.al-social { gap: 12px; }
.al-soc { width: 40px; height: 40px; box-shadow: 0 3px 0 rgb(0 0 0 / .28); } .al-soc svg { width: 20px; height: 20px; }
.al-foot .partners { margin: 4px 0 0; display: grid; gap: 2px; justify-items: center; }
.al-logos { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; }
.al-logos .partners-img { flex: 0 1 262px; width: 262px; max-width: 70%; height: auto; }
.al-logos .al-tiktok { margin: 0; font-size: 14px; gap: 3px; flex: none; } .al-logos .al-tiktok svg { width: 20px; height: 20px; }
.al-foot .partners-label { font-size: 12px; }
@media (min-width: 700px) { .al-game img { width: 60px; } .al-gamegrid { max-width: 520px; } .al-logos .partners-img { flex-basis: 360px; width: 360px; } .al-logos .al-tiktok { font-size: 20px; } .al-logos .al-tiktok svg { width: 28px; height: 28px; } .al-soc { width: 48px; height: 48px; } }
.al-logos .partners-img { margin-right: -10px; }
.al-game img { width: 44px; }

/* ===== entrada: texto do Paul em letra de mão, 3 cartas sem nome e as opções de layout (?opcao=1|2|3) ===== */
.al-entry .al-top, .al-entry .al-brand2 { display: none; }
.al-hero { grid-template-columns: 76px 1fr; gap: 20px; }
.al-hero-txt { gap: 4px; padding-left: 4px; }
.al-hero-txt .al-bubble { font: 700 16px/1.2 var(--hand); color: rgb(var(--ink-rgb)); transform: rotate(-2deg); transform-origin: left center; padding-bottom: 9px; margin-left: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='8'%3E%3Cpath d='M1 5 Q8 0 15 5 T29 5 T43 5 T59 4' fill='none' stroke='%23b5162b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / auto 7px repeat-x; }
.al-gamegrid { grid-template-columns: repeat(3, auto); justify-content: center; gap: 0 22px; max-width: none; }
.al-game img { width: 54px; }

/* opção 1: Paul grande, marca da escola logo abaixo do cartão */
.al-entry[data-op="1"] .al-brand-in { display: none; }
.al-entry[data-op="1"] .al-brand2 { display: flex; order: 2; }
.al-entry[data-op="1"] .login-card { order: 1; }
.al-entry[data-op="1"] .al-games { order: 3; } .al-entry[data-op="1"] .al-foot { order: 4; }
.al-entry[data-op="1"] .al-hero { grid-template-columns: 104px 1fr; }
.al-entry[data-op="1"] .al-hero .al-paul-img { width: 104px; }
.al-entry[data-op="1"] .al-brand2 .login-logo { width: 44px; height: 44px; } .al-entry[data-op="1"] .al-brand2 .login-title img { width: 120px; }

/* opção 2: cabeçalho com a marca à esquerda e as redes à direita */
.al-entry[data-op="2"] .al-top { display: flex; align-items: center; justify-content: space-between; order: -1; padding: 0 4px; }
.al-entry[data-op="2"] .al-brand-in { display: none; }
.al-entry[data-op="2"] .al-top .login-logo { width: 40px; height: 40px; } .al-entry[data-op="2"] .al-top .login-title img { width: 112px; }
.al-entry[data-op="2"] .al-mini { gap: 8px; } .al-entry[data-op="2"] .al-mini .al-soc { width: 34px; height: 34px; } .al-entry[data-op="2"] .al-mini .al-soc svg { width: 17px; height: 17px; }
.al-entry[data-op="2"] .al-foot > .muted, .al-entry[data-op="2"] .al-foot > .al-social { display: none; }

/* opção 3: Paul à direita e a marca da escola como assinatura no rodapé */
.al-entry[data-op="3"] .al-brand-in { display: none; }
.al-entry[data-op="3"] .al-brand2 { display: flex; order: 5; }
.al-entry[data-op="3"] .al-brand2 .login-logo { width: 44px; height: 44px; } .al-entry[data-op="3"] .al-brand2 .login-title img { width: 120px; }
.al-entry[data-op="3"] .al-hero { grid-template-columns: 1fr 88px; }
.al-entry[data-op="3"] .al-hero .al-paul-img { order: 2; width: 88px; }
.al-entry[data-op="3"] .al-hero-txt { justify-items: end; text-align: right; padding: 0 0 0 4px; }
.al-entry[data-op="3"] .al-hero-txt .al-bubble { text-align: right; transform: rotate(2deg); transform-origin: right center; }
.al-entry[data-op="3"] .login-card { order: 0; } .al-entry[data-op="3"] .al-games { order: 2; } .al-entry[data-op="3"] .al-foot { order: 3; }
.al-hero-txt .al-bubble { font-family: 'Gochi Hand', var(--hand); font-weight: 400; font-size: 19px; line-height: 1.15; letter-spacing: .01em; }
.al-hero-txt .al-bubble { font-size: 15.5px; } .al-entry[data-op="1"] .al-hero-txt .al-bubble { font-size: 16px; }

/* ===== entrada final (opção 2): cabeçalho com marca + redes, cartão com Paul e formulário, parceiros embaixo ===== */
.al-entry .al-top { display: flex; align-items: center; justify-content: space-between; order: -1; padding: 0 4px; }
.al-entry .al-top .login-logo { width: 46px; height: 46px; } .al-entry .al-top .login-title img { width: 132px; }
.al-entry .al-top .al-mini { gap: 10px; } .al-entry .al-top .al-soc { width: 40px; height: 40px; } .al-entry .al-top .al-soc svg { width: 20px; height: 20px; }
.al-entry.login { gap: 14px; padding-top: 12px; padding-bottom: 10px; }
.al-entry .al-hero-txt .al-bubble { font-size: 17px; line-height: 1.12; padding-bottom: 8px; }
.al-entry .al-foot { padding: 6px 10px 0; }
.al-entry .al-foot .partners { display: grid; justify-items: center; gap: 4px; margin: 0; }
.al-entry .al-foot .partners-img { width: 280px; max-width: 86%; height: auto; margin: 0; }
.al-entry .al-foot .partners-label { font-size: 13px; }
@media (min-width: 700px) { .al-entry .al-top .al-soc { width: 48px; height: 48px; } .al-entry .al-foot .partners-img { width: 360px; } }
.al-entry .al-foot .partners-img { width: 330px; max-width: 94%; }
.al-entry.login { gap: 20px; }
.al-entry .al-foot .partners-label { font-size: 14px; }
/* Paul maior e animado na entrada */
.al-entry .al-hero { grid-template-columns: 118px 1fr; gap: 14px; }
.al-entry .al-hero .al-paul-img { width: 118px; height: auto; transform-origin: 50% 100%; animation: alDance 1.2s ease-in-out infinite; }
.al-entry .al-hero-txt .al-bubble { font-size: 17.5px; }
@media (prefers-reduced-motion: reduce) { .al-entry .al-hero .al-paul-img { animation: none !important; } }
/* Paul parado na entrada */
.al-entry .al-hero .al-paul-img, .al-paul img.al-paul-img { animation: none !important; transform: none; }

/* ===== Paul parado; os rabiscos em volta dele é que se mexem ===== */
.al-paulbox { position: relative; width: 118px; }
.al-paulbox .al-paul-img { display: block; width: 118px; height: auto; animation: none !important; }
.al-el { position: absolute; pointer-events: none; user-select: none; height: auto; }
.el-a { width: 30px; top: -6px; left: -12px; animation: alTwinkle 2.2s ease-in-out infinite; }
.el-b { width: 24px; top: 0; right: -12px; animation: alFloat 2.8s ease-in-out -.6s infinite; }
.el-c { width: 24px; bottom: 34px; left: -14px; animation: alPulse 1.6s ease-in-out -.3s infinite; }
.el-d { width: 22px; bottom: 6px; right: -10px; animation: alFlicker 2.4s steps(1, end) infinite; }
.el-e { width: 17px; top: 46%; right: -14px; animation: alTwinkle 1.9s ease-in-out -.9s infinite; }
.el-f { width: 20px; top: -10px; left: 48%; animation: alFloat 3.2s ease-in-out -1.4s infinite; }
@keyframes alTwinkle { 0%, 100% { transform: scale(.75) rotate(-8deg); opacity: .65; } 50% { transform: scale(1.15) rotate(10deg); opacity: 1; } }
@keyframes alFloat { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-7px) rotate(6deg); } }
@keyframes alPulse { 0%, 100% { transform: scale(.85); } 50% { transform: scale(1.2); } }
@keyframes alFlicker { 0%, 100% { opacity: 1; } 45% { opacity: .25; } 55% { opacity: 1; } 75% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .al-el { animation: none !important; } }
/* no app todo: o Paul não se mexe; os rabiscos em volta (e o brilho) é que ganham vida */
.rb .rb-img, .bn-paul, .bn-paul.hit { animation: none !important; }
.rb-fig { position: relative; }
.rb-fig::before, .rb-fig::after { content: ""; position: absolute; width: 20px; height: 20px; background: center / contain no-repeat; pointer-events: none; }
.rb-fig::before { top: -6px; left: -6px; background-image: url(../assets/paul/el/estrela-ouro.webp); animation: alTwinkle 2.2s ease-in-out infinite; }
.rb-fig::after { top: -2px; right: -4px; width: 18px; height: 18px; background-image: url(../assets/paul/el/nota-vermelha.webp); animation: alFloat 2.8s ease-in-out -.8s infinite; }
@media (prefers-reduced-motion: reduce) { .rb-fig::before, .rb-fig::after { animation: none !important; } }

/* Paul de reação (acertou/errou): parado; as estrelas, notas e raios em volta é que se mexem */
.fb-paul img, .fb-paul.win img, .fb-paul.great img, .fb-paul.lose img { animation: none !important; }
.fb-paul::before, .fb-paul::after { content: ""; position: absolute; background: center / contain no-repeat; pointer-events: none; }
.fb-paul::before { width: 26px; height: 26px; top: -14px; right: 2px; background-image: url(../assets/paul/el/estrela-ouro.webp); animation: alTwinkle 1.6s ease-in-out infinite; }
.fb-paul::after { width: 22px; height: 22px; top: -8px; right: 66px; background-image: url(../assets/paul/el/nota-vermelha.webp); animation: alFloat 1.9s ease-in-out -.5s infinite; }
.fb-paul.win::after, .fb-paul.great::after { background-image: url(../assets/paul/el/coracao.webp); animation-name: alPulse; }
.fb-paul.lose::before { background-image: url(../assets/paul/el/raio.webp); animation-name: alFlicker; }
.fb-paul.lose::after { background-image: url(../assets/paul/el/estrela-azul-p.webp); animation-name: alTwinkle; }
@media (prefers-reduced-motion: reduce) { .fb-paul::before, .fb-paul::after { animation: none !important; } }
/* cabeçalho de cada tela: Paul parado, rabiscos em volta animados (os do cabeçalho já mexiam) */
.bn-doodle.d1 { animation: dd-wiggle 2.2s ease-in-out infinite; }
