/* Destruitor Idle — HALLOWEEN (halloween.js; as datas sao do halloween_regras.js: 25/10 a 02/11, todo ano).
   TUDO aqui so vale com a classe "halloween" no <html> (o halloween.js poe e tira sozinho): fora da data nada disto existe.
   Os desenhos (teias, abobora, morcego, fantasma) sao SVG do halloween.js nas variaveis --hw-* (data: URI, nada de fora).
   Regras de ouro: enfeite nao recebe clique (pointer-events: none) e fica POR BAIXO do conteudo (fundo do proprio elemento
   ou z-index -1 dentro dele): nao tampa texto, botao nem numero. Animacao so de transform/opacity (.hw-a), parada com a
   aba escondida (.hw-pausa), o mapa lento (.quali-baixa), a janela sem foco (.sem-foco) e no prefers-reduced-motion.
   Especificidade: :where(html.halloween) nao pesa; as regras daqui empatam com as do app.css e ganham por virem depois
   (este arquivo e o ultimo <link>), e as dos modulos (mais especificas: a janela do evento, o inventario) continuam valendo. */

/* ---------------------------------------------------------------- o que so existe ligado */
.hw-cena, .hw-faixa, .hw-bt, .hw-dica { display: none; }

/* ---------------------------------------------------------------- a cena das telas de fora do jogo (entrar, personagens, info.html) */
html.halloween .hw-cena { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; contain: strict; }
html.halloween.hw-jogo .hw-cena { display: none; }
.hw-cena i, .hw-cena b, .hw-cena span { position: absolute; display: block; pointer-events: none; font-style: normal; }
.hw-cena svg { display: block; width: 100%; height: 100%; }
/* o brilho roxo de cima e o laranja de baixo, por cima do fogo */
.hw-cena::before { content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 42% at 8% 0%, rgba(139, 77, 255, .24), transparent 70%),
    radial-gradient(ellipse 50% 38% at 96% 4%, rgba(110, 50, 200, .18), transparent 70%),
    radial-gradient(ellipse 70% 30% at 50% 104%, rgba(255, 122, 26, .16), transparent 70%); }
/* as teias dos cantos de cima */
.hw-teia { top: 0; width: clamp(96px, 15vw, 200px); height: clamp(96px, 15vw, 200px); background: var(--hw-teia-forte-tl) 0 0 / 100% 100% no-repeat; opacity: .9; }
.hw-teia-tl { left: 0; }
.hw-teia-tr { right: 0; background-image: var(--hw-teia-forte-tr); }
/* a aranha descendo pelo fio, na teia da direita */
.hw-fio { right: clamp(44px, 7.4vw, 100px); top: -90px; width: 1px; height: 210px; background: linear-gradient(rgba(230, 225, 245, .55), rgba(230, 225, 245, .3));
  animation: hw-fio 7s ease-in-out infinite; will-change: transform; }
.hw-aranha { left: -11px; bottom: -19px; width: 22px; height: 22px; }
@keyframes hw-fio { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(34px); } }
/* os morcegos atravessando a tela (o voo) batendo as asas (a asa) */
.hw-voo { left: 0; top: 14%; width: 46px; height: 22px; animation: hw-voo-d 26s linear infinite; will-change: transform; }
.hw-voo2 { top: 30%; width: 34px; height: 16px; animation-duration: 34s; animation-delay: -12s; }
.hw-voo3 { top: 9%; width: 28px; height: 13px; animation-name: hw-voo-e; animation-duration: 30s; animation-delay: -5s; }
.hw-voo4 { top: 44%; width: 40px; height: 19px; animation-name: hw-voo-e; animation-duration: 38s; animation-delay: -24s; }
.hw-asa { inset: 0; animation: hw-asa .3s ease-in-out infinite alternate; }
.hw-voo3 .hw-asa, .hw-voo4 .hw-asa { animation-duration: .36s; }
@keyframes hw-asa { from { transform: scaleY(1); } to { transform: scaleY(.42); } }
@keyframes hw-voo-d {
  0% { transform: translate(-12vw, 0); } 25% { transform: translate(22vw, -4vh); } 50% { transform: translate(52vw, 3vh); }
  75% { transform: translate(80vw, -3vh); } 100% { transform: translate(112vw, 2vh); }
}
@keyframes hw-voo-e {
  0% { transform: translate(112vw, 0) scaleX(-1); } 30% { transform: translate(74vw, 4vh) scaleX(-1); } 60% { transform: translate(40vw, -3vh) scaleX(-1); }
  100% { transform: translate(-12vw, 2vh) scaleX(-1); }
}
/* o fantasma que aparece e some de vez em quando, na esquerda */
.hw-fant { left: 5%; top: 52%; width: 38px; height: 44px; opacity: 0; animation: hw-fant 18s ease-in-out infinite; will-change: transform, opacity; }
@keyframes hw-fant {
  0%, 55%, 100% { opacity: 0; transform: translate(0, 10px); } 65% { opacity: .55; transform: translate(10px, -6px); }
  80% { opacity: .45; transform: translate(22px, -18px); } 92% { opacity: 0; transform: translate(30px, -28px); }
}
/* as aboboras acesas nos cantos de baixo (o brilho da vela tremendo atras) */
.hw-canto { bottom: 0; width: 200px; height: 120px; }
.hw-canto-e { left: 0; }
.hw-canto-d { right: 0; }
.hw-ab { bottom: 4px; width: 78px; height: 71px; z-index: 0; }
.hw-ab svg { position: relative; z-index: 1; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
.hw-ab1 { left: 10px; }
.hw-ab2 { left: 80px; width: 52px; height: 47px; transform: rotate(6deg); }
.hw-ab3 { right: 12px; width: 86px; height: 78px; }
.hw-ab4 { right: 92px; width: 54px; height: 49px; transform: rotate(-7deg); }
.hw-ab5 { right: 40px; bottom: 70px; width: 40px; height: 36px; transform: rotate(4deg); }
.hw-luz { inset: -35% -30% -10%; z-index: 0; border-radius: 50%; background: radial-gradient(circle at 50% 58%, rgba(255, 186, 64, .5), rgba(255, 120, 30, .18) 45%, transparent 70%);
  animation: hw-luz 2.8s ease-in-out infinite alternate; will-change: opacity; }
.hw-ab2 .hw-luz { animation-duration: 2.1s; animation-delay: -.7s; }
.hw-ab3 .hw-luz { animation-duration: 3.3s; animation-delay: -1.4s; }
.hw-ab4 .hw-luz { animation-duration: 2.4s; animation-delay: -.3s; }
.hw-ab5 .hw-luz { animation-duration: 1.9s; animation-delay: -1s; }
@keyframes hw-luz { 0% { opacity: .55; } 40% { opacity: .9; } 55% { opacity: .7; } 100% { opacity: 1; } }
@media (max-width: 520px) {
  .hw-teia { width: 82px; height: 82px; }
  .hw-fio { right: 30px; height: 170px; }
  .hw-voo2, .hw-voo4, .hw-fant { display: none; }
  .hw-canto { transform: scale(.68); }
  .hw-canto-e { transform-origin: 0 100%; }
  .hw-canto-d { transform-origin: 100% 100%; }
}

/* ---------------------------------------------------------------- tela de entrar e de personagens */
/* o logo do dragao: o brilho laranja e roxo no lugar da brasa de sempre */
@media (prefers-reduced-motion: no-preference) {
  html.halloween .bg-world ~ #app .brand .logo { animation-name: hw-brasa; }
}
@keyframes hw-brasa {
  0%, 100% { filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6)) drop-shadow(0 0 14px rgba(255, 122, 26, .45)) drop-shadow(0 0 6px rgba(139, 77, 255, .2)); }
  50% { filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6)) drop-shadow(0 0 28px rgba(255, 130, 30, .55)) drop-shadow(0 0 24px rgba(139, 77, 255, .55)); }
}
/* duas aboboras dos lados do logo (so com espaco: no celular o logo ocupa a largura) */
@media (min-width: 700px) {
  html.halloween #app .brand { position: relative; }
  html.halloween #app .brand::before, html.halloween #app .brand::after { content: ''; position: absolute; top: 172px; width: 66px; height: 60px; pointer-events: none;
    background: var(--hw-abobora) center / contain no-repeat; filter: drop-shadow(0 0 12px rgba(255, 140, 40, .55)) drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
  html.halloween #app .brand::before { left: calc(50% - 296px); transform: rotate(-9deg); }
  html.halloween #app .brand::after { right: calc(50% - 290px); top: 186px; transform: rotate(8deg) scale(.82); }
}
/* a faixa "Evento de Halloween ate 02/11" (abre a explicacao do desafio) */
html.halloween .hw-faixa { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 440px; margin: 12px auto 0; padding: 8px 12px 8px 8px; border-radius: 12px; cursor: pointer;
  text-align: left; color: #fbe9d0; font: inherit;
  background: linear-gradient(100deg, rgba(64, 22, 98, .94), rgba(30, 14, 40, .94) 48%, rgba(112, 42, 8, .94));
  border: 1px solid rgba(255, 140, 50, .6); box-shadow: 0 6px 22px rgba(0, 0, 0, .42), 0 0 20px rgba(139, 77, 255, .28), inset 0 1px 0 rgba(255, 200, 120, .16); }
html.halloween .hw-faixa:hover, html.halloween .hw-faixa:focus-visible { border-color: #ffb347; box-shadow: 0 6px 22px rgba(0, 0, 0, .42), 0 0 26px rgba(255, 140, 40, .4); outline: none; }
.hw-faixa-ab { flex: none; width: 42px; height: 38px; transform-origin: 50% 90%; animation: hw-balanca 3.4s ease-in-out infinite; }
.hw-faixa-ab svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 6px rgba(255, 150, 40, .6)); }
.hw-faixa-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.hw-faixa-t b { color: #ffb347; font-size: 14.5px; letter-spacing: .02em; }
.hw-faixa-t small { color: #dccbec; font-size: 12px; }
.hw-faixa-seta { flex: none; font-size: 24px; line-height: 1; color: #ffb347; }
@keyframes hw-balanca { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
/* abas Entrar / Criar conta, o cartao do formulario e a faixa "Hoje no Destruitor": teias no fundo, borda laranja e roxa */
html.halloween:not(.hw-jogo) #app .tabs { border-color: rgba(255, 122, 26, .38);
  background-image: var(--hw-teia-tl), var(--hw-teia-tr); background-position: 0 0, 100% 0; background-size: 22px 22px; background-repeat: no-repeat; }
html.halloween:not(.hw-jogo) #app .tabs button.on { box-shadow: inset 0 -2px 0 #ff7a1a; }
html.halloween:not(.hw-jogo) #app .card { border-color: rgba(139, 77, 255, .42);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 24px -6px rgba(139, 77, 255, .5), inset 0 1px 0 rgba(255, 140, 50, .12);
  background-image: var(--hw-teia-tr), var(--hw-teia-bl); background-position: 100% 0, 0 100%; background-size: 34px 34px, 28px 28px; background-repeat: no-repeat; }
html.halloween .brand .atividade { position: relative; border-color: rgba(255, 122, 26, .5);
  background: var(--hw-teia-tl) 0 0 / 24px 24px no-repeat, var(--hw-teia-tr) 100% 0 / 24px 24px no-repeat, linear-gradient(180deg, rgba(50, 22, 56, .88), rgba(22, 14, 28, .9));
  box-shadow: 0 6px 22px rgba(0, 0, 0, .35), 0 0 18px -4px rgba(139, 77, 255, .45); }
html.halloween .brand .atividade::after { content: ''; position: absolute; right: 14px; top: -11px; width: 30px; height: 14px; pointer-events: none;
  background: var(--hw-morcego) center / contain no-repeat; }

/* ---------------------------------------------------------------- no jogo: a barra de cima */
:where(html.halloween) .g-top {
  background: linear-gradient(90deg, rgba(44, 18, 66, .97), #0d1019f2 34%, #0d1019f2 66%, rgba(62, 26, 8, .96));
  border-bottom-color: rgba(255, 122, 26, .55); box-shadow: 0 1px 0 rgba(139, 77, 255, .35), 0 5px 14px -7px rgba(255, 122, 26, .6); }
/* as teias nos dois cantos, por baixo do que esta na barra (z-index -1 dentro dela) */
:where(html.halloween) .g-top::before, :where(html.halloween) .g-top::after { content: ''; position: absolute; top: 0; width: 34px; height: 34px; z-index: -1; pointer-events: none;
  background: var(--hw-teia-tl) 0 0 / 100% 100% no-repeat; }
:where(html.halloween) .g-top::before { left: 0; }
:where(html.halloween) .g-top::after { right: 0; background-image: var(--hw-teia-tr); }
:where(html.halloween) .g-pill { border-color: #3b2c4e; }
:where(html.halloween) .g .g-icons button:hover { border-color: #ff9a3c; }
/* os menus que descem da barra de cima e os que sobem da de baixo */
:where(html.halloween) .g-gmenu, :where(html.halloween) .c-gmenu { border-color: #4a2f63; border-top-color: rgba(255, 122, 26, .65);
  background: var(--hw-teia-br) 100% 100% / 30px 30px no-repeat, var(--hw-teia-bl) 0 100% / 22px 22px no-repeat, #130f1cf7;
  box-shadow: 0 12px 30px #000c, 0 0 18px -6px rgba(139, 77, 255, .55); }
:where(html.halloween) .g .g-gmenu button:hover { background: #241733; border-color: #4a2f63; }

/* o botao do desafio (depois da Loja): abobora, laranja e roxo, com o brilho pulsando */
html.halloween .g .hw-bt { display: inline-flex; align-items: center; gap: 6px; position: relative; flex: none; height: 34px; padding: 0 12px 0 6px; border-radius: 8px; cursor: pointer;
  font: 800 13px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .03em; color: #fff3e0; text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
  background: linear-gradient(135deg, #7a2fd0, #4b1b86 46%, #c2521a); border: 1px solid #ff9a3c; box-shadow: 0 0 0 1px #2a0f45, 0 2px 12px rgba(255, 122, 26, .4); }
html.halloween .g .hw-bt:hover, html.halloween .g .hw-bt:focus-visible { border-color: #ffd08a; box-shadow: 0 0 0 1px #2a0f45, 0 0 18px rgba(255, 150, 50, .7); outline: none; }
.hw-bt-ab { display: block; width: 27px; height: 25px; transform-origin: 50% 90%; animation: hw-pula 4s ease-in-out infinite; }
.hw-bt-ab svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 4px rgba(255, 190, 70, .8)); }
.hw-bt-t { display: none; white-space: nowrap; }
html.halloween .g .hw-bt { padding: 0 7px; }
/* o nome "Halloween" no botao so com espaco na barra (a barra de cima ja vem cheia ate ~1.300 px); entre 1.281 e 1.360 px
   o "no mundo" do contador sai durante o evento (fica no title), para o botao caber sem empurrar os menus para fora */
@media (min-width: 1600px) { html.halloween .g .hw-bt { padding: 0 12px 0 6px; } .hw-bt-t { display: inline; } }
@media (min-width: 1281px) and (max-width: 1360px) { html.halloween .g-online .hide-m { display: none; } }
.hw-bt-luz { position: absolute; inset: -3px; border-radius: 10px; border: 2px solid rgba(255, 176, 74, .9); opacity: 0; pointer-events: none;
  animation: hw-pulso 2.6s ease-out infinite; will-change: transform, opacity; }
@keyframes hw-pulso { 0% { opacity: .85; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.22, 1.4); } }
@keyframes hw-pula { 0%, 78%, 100% { transform: translateY(0) rotate(0); } 84% { transform: translateY(-3px) rotate(-8deg); } 90% { transform: translateY(0) rotate(6deg); } 95% { transform: rotate(-3deg); } }
/* celular: a barra de cima nao tem espaco; o botao fica redondo, embaixo dela, na direita (como o PvP na esquerda) */
@media (max-width: 759px) {
  html.halloween .g .hw-bt { position: fixed; top: calc(50px + env(safe-area-inset-top, 0px)); right: 8px; z-index: 7; width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; }
  html.halloween .g .hw-bt-luz { border-radius: 50%; }
  .hw-bt-t { display: none; }
  .hw-bt-ab { width: 30px; height: 28px; }
}

/* o balao da 1a vez apontando para o botao (some sozinho em 20 s) */
html.halloween .hw-dica { display: flex; position: absolute; z-index: 12; width: min(310px, calc(100vw - 12px)); gap: 10px; padding: 11px 12px; border-radius: 12px;
  color: #f6ead8; font-size: 13px; line-height: 1.4; background: linear-gradient(160deg, #2b1342f7, #160d1ff7 60%, #3a1a08f7);
  border: 1px solid #ff9a3c; box-shadow: 0 12px 32px rgba(0, 0, 0, .7), 0 0 22px rgba(139, 77, 255, .45); animation: hw-entra .35s ease-out; }
.hw-dica::before { content: ''; position: absolute; top: -7px; left: calc(var(--hw-ponta, 50%) - 6px); width: 12px; height: 12px; background: #2b1342;
  border-left: 1px solid #ff9a3c; border-top: 1px solid #ff9a3c; transform: rotate(45deg); }
.hw-dica-ab { flex: none; width: 44px; height: 40px; }
.hw-dica-ab svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 8px rgba(255, 150, 40, .7)); }
.hw-dica-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hw-dica-t b { color: #ffb347; font-size: 14px; }
.hw-dica-bs { display: flex; gap: 6px; margin-top: 4px; }
.g .hw-dica button { padding: 6px 12px; border-radius: 6px; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.g .hw-dica .hw-dica-ver { color: #1d0d03; background: linear-gradient(#ffb04a, #e0661c); border: 1px solid #8a3a0c; }
.g .hw-dica .hw-dica-x { color: #d9c9ea; background: rgba(0, 0, 0, .3); border: 1px solid #4a2f63; }
@keyframes hw-entra { from { transform: translateY(-8px); } to { transform: none; } } /* (sem opacity: aparece mesmo se a aba nao desenhar o quadro) */

/* ---------------------------------------------------------------- no jogo: a barra de baixo */
:where(html.halloween) .g-dock { border-color: rgba(139, 77, 255, .5);
  background: var(--hw-teia-tl) 0 0 / 26px 26px no-repeat, var(--hw-teia-tr) 100% 0 / 26px 26px no-repeat, linear-gradient(180deg, rgba(32, 16, 42, .95), #0d1019f0 58%);
  box-shadow: 0 8px 24px #0009, 0 0 0 1px rgba(255, 122, 26, .14), 0 0 24px -6px rgba(139, 77, 255, .6); }
:where(html.halloween) .g .cb { border-color: #4b3a62; }
:where(html.halloween) .g .cb:hover { border-color: #ff9a3c; }
:where(html.halloween) .g .cb.gold { background: linear-gradient(#ffb04a, #e0661c); border-color: #8a3a0c; color: #1d0d03; }
/* duas aboboras sentadas nos cantos de cima da barra (por baixo dos botoes: z-index -1 dentro dela); so no PC */
@media (min-width: 760px) {
  :where(html.halloween) .g-bottom::before, :where(html.halloween) .g-bottom::after { content: ''; position: absolute; top: 9px; width: 30px; height: 27px; z-index: -1; pointer-events: none;
    background: var(--hw-abobora) center / contain no-repeat; filter: drop-shadow(0 0 6px rgba(255, 140, 40, .55)); }
  :where(html.halloween) .g-bottom::before { left: 8px; transform: rotate(-6deg); }
  :where(html.halloween) .g-bottom::after { right: 8px; width: 24px; height: 22px; top: 14px; transform: rotate(7deg); }
}

/* ---------------------------------------------------------------- no jogo: as janelas (molduras e titulos) */
:where(html.halloween) .win { background: var(--hw-teia-bl) 0 100% / 26px 26px no-repeat, var(--hw-teia-br) 100% 100% / 26px 26px no-repeat, #10131df0; }
:where(html.halloween) .win:not(.cheia) { border-color: #4a2f63; box-shadow: 0 8px 24px #0009, 0 0 16px -4px rgba(139, 77, 255, .5); }
:where(html.halloween) .win-h { background: linear-gradient(90deg, #2a173a, #171b29 55%, #2e1b0e); border-bottom-color: rgba(255, 122, 26, .42); }
/* uma aboborinha antes do titulo */
:where(html.halloween) .win-h > b::before, :where(html.halloween) .modal-h > b:first-child::before { content: ''; display: inline-block; width: 13px; height: 12px; margin: 0 6px -1px 0;
  background: var(--hw-abobora) center / contain no-repeat; }
/* as janelas grandes */
:where(html.halloween) .modal { border-color: #4a2f63; box-shadow: 0 20px 60px #000c, 0 0 30px -6px rgba(139, 77, 255, .55);
  background: var(--hw-teia-bl) 0 100% / 34px 34px no-repeat, var(--hw-teia-br) 100% 100% / 34px 34px no-repeat, #10131d; }
:where(html.halloween) .modal-h { border-bottom-color: rgba(255, 122, 26, .42);
  background: var(--hw-teia-tr) 100% 0 / 16px 16px no-repeat, linear-gradient(90deg, #2a173a, #151a29 52%, #2e1b0e); }
/* celular: o menu (hamburguer) da barra de cima */
@media (max-width: 759px) {
  :where(html.halloween) .g-icons { border-color: #4a2f63; border-top-color: rgba(255, 122, 26, .65);
    background: var(--hw-teia-br) 100% 100% / 34px 34px no-repeat, #130f1cf7; }
}

/* ---------------------------------------------------------------- a janela "Desafio de Halloween" (e a secao do info.html) */
.g .win.hw-win, .win.hw-win.hw-solta { z-index: 6; width: 560px; max-width: calc(100vw - 16px); max-height: calc(100vh - 110px); display: flex; flex-direction: column; overflow: hidden;
  font-size: 13.5px; line-height: 1.4; color: #f3e6d0; border: 1px solid #ff8a2a; border-radius: 12px;
  background: radial-gradient(ellipse 80% 160px at 50% 0, rgba(139, 77, 255, .2), transparent 70%), var(--hw-teia-bl) 0 100% / 36px 36px no-repeat,
    var(--hw-teia-br) 100% 100% / 36px 36px no-repeat, linear-gradient(180deg, #1b1026f8, #110c17f8);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .8), 0 0 28px rgba(139, 77, 255, .38), 0 0 0 1px #2a0f45; animation: hw-entra .25s ease-out; }
.win.hw-win.hw-solta { position: fixed; z-index: 40; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.hw-win .hw-h { position: relative; display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 7px 8px 7px 10px; cursor: move; overflow: hidden;
  background: linear-gradient(90deg, #40196a, #22132f 46%, #5c2508); border-bottom: 1px solid #ff8a2a; border-radius: 11px 11px 0 0; }
.hw-win.min .hw-h { border-bottom: 0; border-radius: 11px; }
.hw-win.min .hw-b { display: none; }
.hw-h-ab { flex: none; width: 36px; height: 33px; font-style: normal; }
.hw-h-ab svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 8px rgba(255, 160, 50, .75)); }
.hw-h-tt { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hw-win .hw-h .hw-h-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 800; letter-spacing: .03em; color: #ffcf86;
  text-shadow: 0 1px 2px #000, 0 0 12px rgba(255, 140, 40, .55); }
.hw-win .hw-h .hw-h-t::before { content: none; }
.hw-cd { flex: none; font-style: normal; font-size: 12px; font-weight: 700; color: #fff4e4; padding: 3px 9px; border-radius: 99px; white-space: nowrap;
  background: rgba(0, 0, 0, .38); border: 1px solid rgba(255, 170, 80, .55); font-variant-numeric: tabular-nums; }
.hw-cd[hidden] { display: none; }
.hw-h-mo { flex: none; width: 30px; height: 14px; font-style: normal; opacity: .95; }
.hw-h-mo svg { display: block; width: 100%; height: 100%; }
.hw-h-mo1 { margin-left: auto; animation: hw-asa .34s ease-in-out infinite alternate; }
.hw-h-mo2 { width: 22px; height: 11px; margin-top: -14px; animation: hw-asa .28s ease-in-out infinite alternate; }
.hw-win .hw-h .hw-hbs { flex: none; display: flex; gap: 4px; margin-left: 4px; }
.hw-win .hw-h .hw-hbs button { width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border-radius: 6px; cursor: pointer; font: 700 13px/1 system-ui, sans-serif;
  color: #ffdcae; background: rgba(0, 0, 0, .32); border: 1px solid rgba(255, 170, 80, .45); }
.hw-win .hw-h .hw-hbs button:hover, .hw-win .hw-h .hw-hbs button:focus-visible { color: #fff; border-color: #ffd08a; background: rgba(255, 140, 40, .25); outline: none; }
.hw-win .hw-b { flex: 1 1 auto; min-height: 0; max-height: none; resize: none; overflow-y: auto; overscroll-behavior: contain; padding: 12px 14px 14px;
  display: flex; flex-direction: column; gap: 12px; }

/* as almas: a barra grande e o estado */
.hw-st { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 10px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(139, 77, 255, .35); }
.hw-almas { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.hw-al { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #cdb6ef; }
.hw-num { font-size: 13px; color: #d8c9b0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hw-num b { font-size: 22px; color: #ffb347; text-shadow: 0 0 10px rgba(255, 140, 40, .45); }
.hw-barra { position: relative; height: 22px; margin: 2px 16px 2px 0; border-radius: 11px; background: #0b0811; border: 1px solid #5a3a78; box-shadow: inset 0 2px 6px #000c; }
.hw-barra > i { display: block; height: 100%; min-width: 14px; border-radius: 11px; background: linear-gradient(90deg, #6a2fd0, #b04ad8 34%, #ff7a1a 74%, #ffc35a);
  box-shadow: 0 0 12px rgba(255, 140, 40, .55), inset 0 1px 0 rgba(255, 255, 255, .25); transition: width .6s ease; }
.hw-barra.cheia > i { background: linear-gradient(90deg, #ff7a1a, #ffc35a); }
.hw-barra-ab { position: absolute; right: -17px; top: 50%; width: 34px; height: 31px; transform: translateY(-50%); pointer-events: none; }
.hw-barra-ab svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 7px rgba(255, 170, 60, .85)); }
.hw-linha { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.hw-linha b { font-size: 15.5px; color: #fff1dc; }
.hw-linha b.hw-ok { color: #8dffa8; }
.hw-linha b.hw-sem { color: #ffcf6a; }
.hw-linha small, .hw-st small { color: #a99bb8; font-size: 11.5px; }
.hw-intro, .hw-carrega { margin: 0; font-size: 14px; color: #f6e6cf; }
.hw-fora b { font-size: 16px; color: #ffb347; }
.hw-fora p { margin: 0; color: #e0d2bd; }

/* a arma da vocacao em destaque e as outras menores */
.hw-arma { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 10px;
  background: radial-gradient(circle at 70px 50%, rgba(255, 140, 40, .28), transparent 130px), linear-gradient(135deg, rgba(74, 30, 116, .6), rgba(25, 14, 32, .6));
  border: 1px solid rgba(255, 140, 50, .5); }
.hw-arma.ganhou { border-color: #7dff9a; box-shadow: 0 0 18px -4px rgba(125, 255, 154, .5); }
.hw-slot { display: grid; place-items: center; flex: none; border-radius: 8px; background: #0b0910; border: 1px solid #4a3360; box-shadow: inset 0 0 12px rgba(139, 77, 255, .25); }
.hw-slot img { display: block; image-rendering: pixelated; }
/* sem o desenho da arma (id novo ainda sem sprite): o quadro vazio com a abobora apagada no lugar */
.hw-slot.hw-falta { background: var(--hw-abobora) center / 52% auto no-repeat, #0b0910; }
.hw-slot.hw-falta::after { content: ''; display: block; width: 1px; height: 1px; }
.hw-grande { width: 140px; height: 140px; border-color: #ff9a3c; box-shadow: 0 0 22px rgba(255, 140, 40, .45), inset 0 0 18px rgba(255, 140, 40, .28); }
.hw-grande img { width: 128px; height: 128px; filter: drop-shadow(0 0 6px rgba(255, 170, 60, .55)); }
.hw-med { width: 72px; height: 72px; }
.hw-med img, .hw-peq img { width: 64px; height: 64px; }
.hw-peq { width: 70px; height: 70px; opacity: .92; }
.hw-arma-t { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hw-arma-t small { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffb347; }
.hw-arma-t b { font-size: 18px; color: #ffe2b0; line-height: 1.2; }
.hw-tipo { font-size: 12px; color: #cdb6ef; }
.hw-arma-t p { margin: 4px 0 0; font-size: 13px; color: #eadfcc; }
.hw-outras { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hw-outras > small, .hw-sec h4 { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffb347; }
.hw-outras > div { display: flex; gap: 8px; flex-wrap: wrap; }
.hw-todas { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.hw-uma { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 6px; border-radius: 8px; text-align: center; background: rgba(0, 0, 0, .25); border: 1px solid #3a2a50; }
.hw-uma b { font-size: 12.5px; color: #ffe2b0; line-height: 1.2; }
.hw-uma small { font-size: 11px; color: #cdb6ef; }

/* como participar (3 passos) e o "Ir cacar" */
.hw-sec h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.hw-sec h4::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 140, 50, .55), transparent); }
.hw-passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hw-passos li { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(139, 77, 255, .28); font-size: 13.5px; color: #f3e6d0; }
.hw-passos li i { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-weight: 800; font-size: 13px; color: #1d0d03;
  background: radial-gradient(circle at 35% 30%, #ffd08a, #ff7a1a 60%, #b0440e); box-shadow: 0 0 8px rgba(255, 140, 40, .5); }
.hw-semins { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; color: #cdb6ef; }
.hw-win .hw-cacar { padding: 9px 20px; border-radius: 8px; cursor: pointer; font: 800 13px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: #1d0d03; background: linear-gradient(#ffb04a, #e0661c); border: 1px solid #8a3a0c; box-shadow: 0 3px 12px rgba(255, 122, 26, .45); }
.hw-win .hw-cacar:hover, .hw-win .hw-cacar:focus-visible { background: linear-gradient(#ffc56a, #f07a28); outline: none; }

/* as dificuldades com os monstros */
.hw-tiers { display: grid; gap: 8px; }
.hw-tier { padding: 8px; border-radius: 8px; background: rgba(0, 0, 0, .26); border: 1px solid rgba(125, 255, 154, .35); }
.hw-t-medio { border-color: rgba(255, 170, 60, .48); }
.hw-t-dificil { border-color: rgba(200, 120, 255, .55); }
.hw-tier-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.hw-tier-h b { font-size: 13.5px; color: #8dffa8; }
.hw-t-medio .hw-tier-h b { color: #ffb347; }
.hw-t-dificil .hw-tier-h b { color: #d29bff; }
.hw-pts { flex: none; font-size: 12px; font-weight: 700; color: #f3e6d0; padding: 1px 9px; border-radius: 99px; background: rgba(255, 255, 255, .08); white-space: nowrap; }
.hw-mons { display: flex; flex-wrap: wrap; gap: 4px; }
.hw-mon { display: inline-flex; align-items: center; gap: 4px; min-height: 26px; padding: 2px 8px; border-radius: 6px; background: #0e0a14; border: 1px solid #2f2440; font-size: 12px; color: #e9dcc8; }
.hw-mon canvas { width: 28px; height: 28px; margin: -2px 0 -2px -6px; image-rendering: pixelated; }
/* no jogo o monstro e um botao que leva a caçada dele (halloween.js irMonstro) */
.hw-monir { margin: -2px 0 8px; font-size: 12px; color: #ffb347; }
.hw-win .hw-mon-ir { font: inherit; font-size: 12px; cursor: pointer; text-align: left; transition: border-color .12s, background .12s; }
.hw-win .hw-mon-ir::after { content: '›'; margin-left: 2px; font-weight: 800; color: #ff9a3c; }
.hw-win .hw-mon-ir:hover, .hw-win .hw-mon-ir:focus-visible { border-color: #ff9a3c; background: #22140c; color: #fff1dc; outline: none; }
.hw-win .hw-mon-ir:active { transform: translateY(1px); }
@media (max-width: 759px) { .hw-win .hw-mon-ir { min-height: 34px; } }
.hw-letras { margin: 0; font-size: 11.5px; color: #9d8fae; }

/* celular: na largura da tela, por cima da barra de baixo como as outras janelas (o --wy e o arrastar para cima/baixo) */
@media (max-width: 759px) {
  .g .win.hw-win, .win.hw-win.hw-solta { z-index: 9; border-radius: 10px; max-height: calc(100vh - var(--wy, 56px) - 6px); max-height: calc(100dvh - var(--wy, 56px) - 6px); }
  .win.hw-win.hw-solta { z-index: 40; }
  .hw-win .hw-h { padding-top: 10px; }
  .hw-win .hw-h .hw-hbs button { width: 36px; height: 32px; font-size: 15px; }
  .hw-h-mo2 { display: none; }
  .hw-win .hw-b { padding: 10px 10px 12px; gap: 10px; }
  .hw-grande { width: 108px; height: 108px; }
  .hw-grande img { width: 96px; height: 96px; }
  .hw-arma { gap: 10px; padding: 10px; }
  .hw-arma-t b { font-size: 16px; }
  .hw-peq { width: 58px; height: 58px; }
  .hw-peq img { width: 48px; height: 48px; image-rendering: auto; }
}
@media (max-width: 480px) {
  .hw-h-tt { flex-direction: column; align-items: flex-start; gap: 2px; }
}
@media (max-width: 420px) {
  .hw-h-mo { display: none; }
  .hw-win .hw-h .hw-h-t { font-size: 14px; }
  .hw-h-ab { width: 30px; height: 27px; }
  .hw-cd { font-size: 11px; padding: 2px 7px; }
}

/* ---------------------------------------------------------------- info.html */
html.halloween main > header { position: relative; }
html.halloween main > header .logo { filter: drop-shadow(0 8px 30px #000c) drop-shadow(0 0 20px rgba(255, 122, 26, .45)) drop-shadow(0 0 16px rgba(139, 77, 255, .45)); }
@media (min-width: 700px) {
  html.halloween main > header::before, html.halloween main > header::after { content: ''; position: absolute; top: 120px; width: 60px; height: 55px; pointer-events: none;
    background: var(--hw-abobora) center / contain no-repeat; filter: drop-shadow(0 0 12px rgba(255, 140, 40, .55)); }
  html.halloween main > header::before { left: calc(50% - 220px); transform: rotate(-9deg); }
  html.halloween main > header::after { right: calc(50% - 214px); top: 132px; transform: rotate(8deg) scale(.8); }
}
html.halloween main > section { background-image: var(--hw-teia-tr); background-position: 100% 0; background-size: 34px 34px; background-repeat: no-repeat; }
html.halloween main > section.hw-info { display: flex; flex-direction: column; gap: 14px; border-color: rgba(255, 140, 50, .65);
  background: var(--hw-teia-tl) 0 0 / 46px 46px no-repeat, var(--hw-teia-tr) 100% 0 / 46px 46px no-repeat,
    linear-gradient(160deg, rgba(50, 20, 76, .94), rgba(18, 16, 24, .93) 52%, rgba(62, 24, 6, .92));
  box-shadow: 0 20px 60px #000a, 0 0 30px rgba(139, 77, 255, .32); }
.hw-info h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: #ffb347; }
.hw-info-ab { flex: none; width: 44px; height: 40px; }
.hw-info-ab svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 8px rgba(255, 150, 40, .7)); }
.hw-info .hw-info-data { margin: -8px 0 0; color: #dccbec; font-weight: 600; }
.hw-info .hw-sec h4 { font-size: 12.5px; }
.hw-info .hw-mon { font-size: 13px; }

/* ---------------------------------------------------------------- movimento: parado quando nao precisa */
html.hw-pausa .hw-a, html.quali-baixa .hw-a, html.sem-foco .hw-a, html.hw-pausa .hw-faixa-ab, html.hw-pausa .hw-bt-ab,
html.quali-baixa .hw-bt-ab, html.sem-foco .hw-bt-ab, html.hw-pausa.halloween .bg-world ~ #app .brand .logo { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .hw-a, .hw-faixa-ab, .hw-bt-ab, .hw-win, .hw-dica { animation: none !important; }
  .hw-voo, .hw-fant { display: none !important; }
  .hw-luz { opacity: .8; }
  .hw-barra > i { transition: none; }
}

/* ---------------------------------------------------------------- a Ceia dos Esquecidos (halloween_historia.js): as abas
   Historia, Passe e Bonus da janela, o contador do botao ("2/6") e o ponto de "tem coisa para pegar" */
html.halloween .g .hw-bt-n { position: absolute; right: -6px; bottom: -6px; min-width: 22px; padding: 2px 4px; border-radius: 9px; font: 800 10px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #ffe9c2; background: #2a0f45; border: 1px solid #ff9a3c; text-align: center; pointer-events: none; }
html.halloween .g .hw-bt-n.al { background: #c2521a; color: #fff; box-shadow: 0 0 8px rgba(255, 140, 40, .9); }
.hh-abas { display: flex; gap: 4px; margin: -4px 0 0; padding: 0 0 8px; border-bottom: 1px solid rgba(139, 77, 255, .35); position: sticky; top: -12px; z-index: 2;
  background: linear-gradient(180deg, #1b1026, #1b1026f0); }
.hh-aba { position: relative; flex: 1 1 0; min-width: 0; padding: 8px 4px; border-radius: 8px; cursor: pointer; font: 800 12.5px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: .04em; color: #d9c8ec; background: rgba(0, 0, 0, .3); border: 1px solid #4a2d66; }
.hh-aba:hover, .hh-aba:focus-visible { border-color: #ff9a3c; outline: none; color: #fff; }
.hh-aba.on { color: #2a1206; background: linear-gradient(#ffb85a, #e9701e); border-color: #ffd08a; }
.hh-ponto { position: absolute; top: 3px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: #ff7a1a; box-shadow: 0 0 6px #ff9a3c; }
.hh-sec { display: flex; flex-direction: column; gap: 10px; color: #e9def5; font-size: 13px; line-height: 1.4; }
.hh-sec h5 { margin: 4px 0 0; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffb347; }
.hh-carrega, .hh-fora { margin: 8px 0; color: #cdbfe0; text-align: center; }
.hh-nota { margin: 0; color: #a99bb8; font-size: 11.5px; }
.hh-titulo b { display: block; font-size: 17px; color: #ffcf86; letter-spacing: .03em; }
.hh-titulo p { margin: 3px 0 0; color: #cdbfe0; font-size: 12.5px; }
.hh-linha { display: flex; align-items: center; justify-content: space-between; padding: 8px 4px; border-radius: 10px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(139, 77, 255, .3); }
.hh-fio { flex: 1 1 auto; height: 2px; min-width: 4px; background: linear-gradient(90deg, #5a3a78, #ff9a3c80); }
.hh-no { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 58px; padding: 4px 2px; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px solid transparent; color: #cdbfe0; font: 700 10.5px/1.1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.hh-no:disabled { cursor: default; opacity: .55; }
.hh-no.ver { border-color: #ff9a3c; background: rgba(255, 140, 40, .12); }
.hh-no.agora .hh-no-rt { box-shadow: 0 0 0 2px #ff9a3c, 0 0 12px rgba(255, 140, 40, .8); }
.hh-no-rt { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #3a2350, #160e1e); border: 1px solid #5a3a78; overflow: hidden; }
.hh-no-rt b { font-size: 18px; color: #7a6390; }
.hh-no .hh-ok { position: absolute; top: 0; right: 4px; color: #7ee07a; font-style: normal; font-weight: 900; font-size: 13px; text-shadow: 0 0 4px #000; }
.hh-rt { display: block; image-rendering: pixelated; }
.hh-cartao { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 10px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 154, 60, .45); }
.hh-cartao.feito { border-color: rgba(126, 224, 122, .4); }
.hh-cartao.hh-tranca b { color: #ffcf86; }
.hh-cartao.hh-tranca p { margin: 0; color: #cdbfe0; }
.hh-cab { display: flex; gap: 10px; align-items: flex-start; }
.hh-cab > canvas { flex: none; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #3a2350, #160e1e); border: 1px solid #5a3a78; }
.hh-cab small { display: block; color: #ffb347; font-weight: 700; font-size: 11px; letter-spacing: .04em; }
.hh-cab b { display: block; font-size: 15.5px; color: #fff3e0; }
.hh-cab p { margin: 2px 0 0; color: #dccbec; }
.hh-premio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 12px; }
.hh-premio span { color: #a99bb8; text-transform: uppercase; letter-spacing: .1em; font-size: 10.5px; font-weight: 800; }
.hh-premio b { color: #ffcf86; }
.hh-premio small { color: #a99bb8; }
.hh-ver-conversa { align-self: flex-start; padding: 5px 10px; border-radius: 7px; cursor: pointer; font: 700 12px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #e9def5; background: rgba(139, 77, 255, .18); border: 1px solid #5a3a78; }
.hh-ver-conversa:hover, .hh-ver-conversa:focus-visible { border-color: #ff9a3c; outline: none; }
.hh-conversa { display: flex; flex-direction: column; gap: 6px; }
.hh-fala { display: flex; gap: 8px; align-items: flex-end; }
.hh-fala p, .hh-concl p { margin: 0; padding: 7px 10px; border-radius: 10px; max-width: 86%; }
.hh-fala b, .hh-concl b { display: block; font-size: 11px; color: #ffb347; letter-spacing: .03em; }
.hh-npc p, .hh-concl p { background: #241634; border: 1px solid #4a2d66; border-bottom-left-radius: 2px; }
.hh-voce { justify-content: flex-end; }
.hh-voce p { background: #2e1b0e; border: 1px solid #7a4a1c; border-bottom-right-radius: 2px; }
.hh-voce b { color: #ffd08a; }
.hh-fala canvas, .hh-concl canvas { flex: none; border-radius: 50%; background: #160e1e; border: 1px solid #4a2d66; }
.hh-concl { display: flex; gap: 8px; align-items: flex-end; }
.hh-entregue { margin: 0; color: #7ee07a; font-weight: 800; }
.hh-tarefas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hh-tarefa { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 8px; background: rgba(0, 0, 0, .3); border: 1px solid #3a2a4a; min-width: 0; }
.hh-tarefa > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hh-tarefa span { font-size: 11.5px; color: #cdbfe0; }
.hh-tarefa b { font-size: 14px; color: #fff3e0; }
.hh-ic { flex: none; width: 32px; height: 32px; image-rendering: pixelated; }
.hh-ic-abate { display: grid; place-items: center; font-size: 20px; color: #ffb347; }
.hh-barra { height: 8px; border-radius: 4px; background: #0b0811; border: 1px solid #4a2d66; overflow: hidden; }
.hh-barra > i { display: block; height: 100%; background: linear-gradient(90deg, #6a2fd0, #ff7a1a); transition: width .4s; }
.hh-lembra { margin: 0; color: #ffd8a8; font-style: italic; }
.hh-cacadas > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hh-cac { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 8px; font: 600 12px/1.1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #e9def5; background: rgba(0, 0, 0, .32); border: 1px solid #4a2d66; }
button.hh-cac { cursor: pointer; }
button.hh-cac:hover, button.hh-cac:focus-visible { border-color: #ff9a3c; outline: none; }
.hh-cac b { color: #fff3e0; }
.hh-papel { padding: 1px 5px; border-radius: 5px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.hh-comeco { background: #2c3a24; color: #b6e08a; }
.hh-forte { background: #4a1f10; color: #ffb37a; }
.hh-chance { color: #a99bb8; font-size: 11px; }
.hh-mons { margin: 0; color: #8f80a3; font-size: 11px; }
.hh-acao { display: flex; justify-content: flex-end; }
.hh-bt { padding: 9px 16px; border-radius: 8px; cursor: pointer; font: 800 13px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .05em;
  color: #cdbfe0; background: #2a2236; border: 1px solid #4a3a5a; }
.hh-bt:disabled { cursor: default; opacity: .7; }
.hh-bt.hh-bt-ok { color: #2a1206; background: linear-gradient(#ffb85a, #e9701e); border-color: #ffd08a; box-shadow: 0 0 12px rgba(255, 140, 40, .5); }
.hh-bt.hh-bt-ok:hover:not(:disabled), .hh-bt.hh-bt-ok:focus-visible { background: linear-gradient(#ffc56a, #f07a28); outline: none; }
.hh-fim { padding: 8px 12px; border-radius: 8px; color: #7ee07a; background: rgba(40, 80, 40, .25); border: 1px solid rgba(126, 224, 122, .4); font-weight: 700; }
.hh-passe-topo { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(139, 77, 255, .35); }
.hh-nivel small { display: block; color: #a99bb8; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.hh-nivel b { font-size: 26px; color: #ffcf86; }
.hh-nivel b span { font-size: 13px; color: #a99bb8; }
.hh-passe-barras { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hh-passe-barras > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 12px; }
.hh-passe-barras .hh-barra { grid-column: 1 / -1; }
.hh-passe-barras span { color: #cdbfe0; }
.hh-b-dia > i { background: linear-gradient(90deg, #2f8a6a, #7ee0b0); }
.hh-missoes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.hh-missoes li { display: grid; grid-template-columns: 1fr auto auto; gap: 3px 10px; align-items: center; padding: 7px 10px; border-radius: 8px; background: rgba(0, 0, 0, .28); border: 1px solid #3a2a4a; }
.hh-missoes li .hh-barra { grid-column: 1 / -1; height: 5px; }
.hh-missoes li.feita { border-color: rgba(126, 224, 122, .45); }
.hh-missoes li.feita .hh-m-t { color: #b8e8b4; }
.hh-m-v { color: #a99bb8; font-size: 11.5px; }
.hh-m-p { color: #ffcf86; }
.hh-missoes li.feita .hh-m-p::before { content: "✓ "; color: #7ee07a; }
.hh-notas { margin: 0; padding: 0 0 0 16px; color: #a99bb8; font-size: 11.5px; }
.hh-premios { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.hh-pr { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px 7px; border-radius: 8px; text-align: center;
  background: rgba(0, 0, 0, .3); border: 1px solid #3a2a4a; opacity: .7; }
.hh-pr small { position: absolute; top: 3px; left: 5px; color: #8f80a3; font-weight: 800; font-size: 10.5px; }
.hh-pr.pode { opacity: 1; border-color: #ff9a3c; box-shadow: 0 0 10px rgba(255, 140, 40, .4); }
.hh-pr.tem { opacity: 1; border-color: rgba(126, 224, 122, .45); }
.hh-pr.conta { background: linear-gradient(180deg, rgba(139, 77, 255, .2), rgba(0, 0, 0, .3)); }
.hh-pr-ic { display: grid; place-items: center; width: 40px; height: 40px; }
.hh-pr-t { font-size: 10.5px; line-height: 1.2; color: #e9def5; }
.hh-pr .hh-ok { position: absolute; top: 2px; right: 5px; color: #7ee07a; font-style: normal; font-weight: 900; }
.hh-bonus-l { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hh-bonus { display: flex; flex-direction: column; gap: 4px; padding: 12px 10px; border-radius: 10px; text-align: center; background: rgba(0, 0, 0, .3); border: 1px solid #3a2a4a; }
.hh-bonus b { font-size: 24px; color: #8f80a3; }
.hh-bonus span { font-weight: 800; color: #cdbfe0; font-size: 12.5px; }
.hh-bonus p { margin: 0; color: #a99bb8; font-size: 11.5px; }
.hh-bonus.on { border-color: #ff9a3c; box-shadow: 0 0 12px rgba(255, 140, 40, .35); }
.hh-bonus.on b { color: #ffcf86; }
.hh-b-forja.on { background: radial-gradient(ellipse at 50% 0, rgba(255, 110, 30, .35), rgba(0, 0, 0, .3) 70%); }
@media (max-width: 560px) {
  .hh-tarefas, .hh-bonus-l { grid-template-columns: 1fr; }
  .hh-passe-topo { grid-template-columns: auto 1fr; }
  .hh-passe-topo .hh-bt { grid-column: 1 / -1; }
  .hh-no { width: 44px; }
  .hh-no-rt { width: 34px; height: 34px; }
  .hh-no-rt canvas { width: 32px; height: 32px; }
}
