/* MONSTERIDLE — Píer do Pescador (js/ui/pesca.js) */
.pesca-hud{position:fixed;left:50%;bottom:92px;transform:translateX(-50%);z-index:40;display:flex;flex-direction:column;gap:4px;
  background:var(--vidro);border:1px solid var(--linha);border-radius:14px;padding:8px 12px;box-shadow:0 8px 24px rgba(0,0,0,.45),inset 0 1px 0 var(--luz);
  backdrop-filter:blur(6px);max-width:min(760px,calc(100vw - 24px))}
.pesca-hud.oculto{display:none}
.pc-hud-linha{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center}
.pc-vara{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;background:none;border:0;padding:0;cursor:pointer}
.pc-vara img{width:38px;height:38px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 2px 2px rgba(0,0,0,.5))}
.pc-iscas{display:flex;gap:4px;max-width:100%}
.pc-isca{position:relative;width:44px;height:44px;border-radius:10px;border:1px solid var(--linha);background:#0b1220;cursor:pointer;display:flex;align-items:center;justify-content:center}
.pc-isca img{width:30px;height:30px;object-fit:contain;image-rendering:pixelated}
.pc-isca em{position:absolute;right:2px;bottom:0;font-style:normal;font-size:11px;font-weight:800;color:#fde047;text-shadow:0 1px 2px #000}
.pc-isca.on{border-color:var(--acc2);box-shadow:0 0 0 2px rgba(79,216,232,.35)}
.pc-isca.vazia img{opacity:.35}
.pc-acao{min-width:150px;height:44px;border-radius:12px;border:0;font-weight:900;font-size:15px;letter-spacing:.03em;cursor:pointer;
  background:linear-gradient(180deg,#4fd8e8,#2bb8cc);color:var(--sobre-acc);box-shadow:0 3px 0 #1a7f8d}
.pc-acao:disabled{opacity:.6;cursor:default}
.pc-acao.pc-esperando{background:linear-gradient(180deg,#334155,#1e293b);color:#cbd5e1;box-shadow:0 3px 0 #0f172a}
.pc-acao.pc-fisgou{background:linear-gradient(180deg,#fde047,#f59e0b);color:#1c1300;box-shadow:0 3px 0 #a16207;animation:pcPulso .35s ease-in-out infinite alternate}
@keyframes pcPulso{from{transform:scale(1)}to{transform:scale(1.07)}}
.pc-auto{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--txt2);cursor:pointer}
.pc-abrir img{width:18px;height:18px;vertical-align:middle;margin-right:2px}
.pc-hud-info{display:flex;align-items:center;justify-content:center;gap:10px;font-size:12.5px;color:var(--txt);text-align:center;flex-wrap:wrap}
.pc-hud-info small{color:var(--txt2)}
.pc-hud-info .pc-alerta{color:#fde047;font-weight:800}
.pc-ev{color:#fbbf24}
.pc-box{max-width:1100px}
/* altura FIXA: trocando Vara / Isca / Recordes a janela mudava de tamanho
   (crescia e encolhia com o conteúdo). Agora o miolo rola por dentro e ganha
   a mesma margem da Fazenda (antes o texto encostava nas bordas). */
.pf-pub-box.pc-box{height:min(780px,88vh)}
#pesca-conteudo{padding:6px 16px 14px;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}
.pc-evento{display:flex;align-items:center;gap:10px;background:rgba(8,20,34,.7);border:1px solid var(--linha);border-radius:12px;padding:8px 12px;margin-bottom:6px}
.pc-evento.on{border-color:#fbbf24;background:linear-gradient(90deg,rgba(251,191,36,.12),rgba(8,20,34,.7))}
.pc-evento>img{width:36px;height:36px;image-rendering:pixelated}
.pc-evento>div{display:flex;flex-direction:column;flex:1;min-width:0}
.pc-evento small{color:var(--txt2)}
.pc-evento>div.pc-ev-artes{display:flex;flex-direction:row;flex:none;gap:4px}
.pc-ev-artes img{width:44px;height:44px;object-fit:contain;image-rendering:pixelated}
.fz-ico-sec{width:20px;height:20px;object-fit:contain;image-rendering:pixelated}
.pc-equip{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px}
.pc-item img{width:40px;height:40px;object-fit:contain;image-rendering:pixelated}
.pc-item.tem{border-color:#34d399}
.pc-ok{color:#34d399 !important;font-weight:700}
.pc-q{font-style:normal;color:#fde047;margin-left:4px}
.pc-compra{display:flex;gap:4px;flex-wrap:wrap;margin-top:4px}
.pc-lago{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:6px}
.pc-peixe{display:flex;flex-direction:column;align-items:center;gap:1px;background:#0b1220;border:1px solid var(--linha);border-radius:10px;padding:4px;font-size:11px;text-align:center}
.pc-peixe img{width:44px;height:44px;object-fit:contain;image-rendering:pixelated}
.pc-peixe em{font-style:normal;color:var(--txt2);font-size:10.5px}
.pc-peixe i{font-style:normal;color:#fbbf24;font-size:10.5px}
.pc-peixe.bloq img{filter:grayscale(1) brightness(.5)}
.pc-hist{font-size:12px;color:var(--txt2);display:flex;flex-direction:column;gap:2px}
.pc-abas{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:6px}
.pc-abas .on{border-color:var(--acc2);color:var(--acc2)}
.pc-rk{display:flex;align-items:center;gap:8px;padding:4px 6px;border-bottom:1px solid rgba(31,67,86,.5)}
.pc-rk img{width:34px;height:34px;object-fit:contain;image-rendering:pixelated}
.pc-rk>span{display:flex;flex-direction:column;flex:1;min-width:0}
.pc-rk small{font-size:11px}
.pc-rk em{font-style:normal;font-weight:800;color:#fde047;white-space:nowrap}
.pc-pos{width:20px;text-align:center;color:var(--txt2)}
.pc-grupo{margin-bottom:8px}
.pc-grupo>small{font-weight:800;letter-spacing:.05em}
.loot-ico.pesca-ico{width:22px;height:22px;object-fit:contain;image-rendering:pixelated;background:none;border:0}
@media (max-width:700px){
  .pesca-hud{left:8px;right:8px;transform:none;bottom:calc(var(--nav-h, 64px) + 6px);padding:6px 8px;max-width:none}
  .pc-hud-linha{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:flex-start}
  .pc-vara{order:1}.pc-minis{order:2}.pc-abrir{order:3;padding:6px}.pc-iscas{order:5;flex:1 1 100%;min-width:0;overflow-x:auto;justify-content:flex-start}
  .pc-abrir span{display:none}
  .pc-abrir img{margin:0;width:22px;height:22px}
  .pc-acao{order:4;flex:1 1 auto;min-width:0}
  .pc-auto{order:6}
  .pc-hud-info{font-size:11.5px;gap:6px}
  .pc-hud-info .pc-ev{display:none}
  .pc-isca{width:40px;height:40px;flex:none}
}
/* equipamento: XP da vara, boia e isca artificial, abas e a escada */
.pc-xp{display:block;width:44px;height:5px;border-radius:3px;background:#0b1220;border:1px solid var(--linha);overflow:hidden}
.pc-xp i{display:block;height:100%;--cor:#34d399;--luz:#a7f3d0;--sombra:#059669}
.pc-xp.cheia i{background:linear-gradient(90deg,#fde047,#f59e0b)}
.pc-xp.grande{width:100%;height:9px;margin:4px 0 2px}
.pc-item .pc-xp{width:auto;align-self:stretch;min-width:200px;margin:4px 0}
.pc-up{position:absolute;top:-6px;right:-6px;width:18px;height:18px;border-radius:50%;background:#f59e0b;color:#1c1300;font-size:13px;line-height:18px;text-align:center;animation:pcPulso .5s ease-in-out infinite alternate}
.pc-minis{display:flex;gap:4px}
.pc-mini{position:relative;width:36px;height:36px;border-radius:9px;border:1px solid var(--linha);background:#0b1220;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--txt2);font-size:18px}
.pc-mini img{width:26px;height:26px;object-fit:contain;image-rendering:pixelated}
.pc-mini em{position:absolute;right:1px;bottom:-1px;font-style:normal;font-size:10px;font-weight:800;color:#fde047;text-shadow:0 1px 2px #000}
.pc-mini.pc-vazio{border-style:dashed;opacity:.75}
.pc-acao.pc-aviso{background:linear-gradient(180deg,#fef08a,#facc15);color:#1c1300;box-shadow:0 3px 0 #a16207}
.pc-abas-eq button{display:inline-flex;align-items:center;gap:4px}
.pc-abas-eq img{width:20px;height:20px;object-fit:contain;image-rendering:pixelated}
.pc-vara-atual{display:flex;align-items:center;gap:12px;background:rgba(8,20,34,.7);border:1px solid #34d399;border-radius:12px;padding:8px 12px;margin-bottom:6px}
.pc-vara-atual>img{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}
.pc-vara-atual>div{display:flex;flex-direction:column;flex:1;min-width:0}
.pc-vara-atual small{color:var(--txt2)}
.pc-troca{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#0b1220;border:1px solid var(--linha);border-radius:12px;padding:8px}
.pc-troca>img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated}
.pc-reqs{display:flex;flex-direction:column;gap:1px;flex:1;min-width:180px}
.pc-req{font-size:12px;color:#f87171}
.pc-req.ok{color:#34d399}
.pc-escada{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:6px}
.pc-degrau{width:40px;height:40px;border-radius:9px;border:1px solid var(--linha);background:#0b1220;display:flex;align-items:center;justify-content:center}
.pc-degrau img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated;filter:grayscale(1) brightness(.55)}
.pc-degrau.feito img,.pc-degrau.atual img{filter:none}
.pc-degrau.feito{border-color:#34d399}
.pc-degrau.atual{border-color:#fde047;box-shadow:0 0 0 2px rgba(253,224,71,.3)}
.pc-degrau.evento{margin-left:8px;border-color:#a855f7}
.pc-foco{display:flex;align-items:center;gap:2px;margin-top:3px}
.pc-foco img{width:24px;height:24px;object-fit:contain;image-rendering:pixelated}
.pc-foco small{color:#fde047 !important;font-weight:800}
.pc-so{color:#c4b5fd !important}
.pc-compra .on{border-color:var(--acc2);color:var(--acc2)}
@media (max-width:700px){
  .pc-mini{width:32px;height:32px}
  .pc-abas-eq button{font-size:11px;padding:4px 6px}
}
/* no Píer: some o HUD da hunt (pokémon ativo, golpes, itens, time e helper) */
body.no-pier #topo-poke, body.no-pier #lado-esq, body.no-pier #time-aneis{display:none !important}
/* Píer em duas cenas: HUD menor no mapa e o botão de voltar ao píer no lago */
.pesca-hud.pc-hud-mapa .pc-acao{min-width:170px}
.pc-voltar{white-space:nowrap}
@media (max-width:700px){ .pc-voltar{order:3;padding:6px} .pc-voltar span{display:none} }
/* nível de pesca: selo no HUD e no cabeçalho, trava na loja */
.pc-nivel{display:inline-flex;flex-direction:column;align-items:center;gap:2px;padding:3px 7px;border-radius:9px;border:1px solid var(--linha);background:#0b1220;cursor:help;vertical-align:middle}
.pc-nivel b{font-size:11px;font-weight:900;color:#4fd8e8;white-space:nowrap;letter-spacing:.02em}
.pc-nivel .pc-xp{width:52px;height:4px}
.fz-sec small .pc-nivel{margin-right:6px}
.pc-trava{color:#f59e0b !important;font-weight:700}
@media (max-width:700px){ .pc-nivel{order:0;padding:2px 5px} .pc-nivel .pc-xp{width:38px} }

/* ================= HUD do Píer com o tileset do Pedro (mockups/pesca/tileset-hud-pesca.png)
   Peças recortadas em assets/ui/pesca/hud/ (sem texto, para esticar em 9 partes com border-image) */
.pesca-hud{background:none !important;border-style:solid;border-color:transparent;border-radius:0;backdrop-filter:none;
  border-width:15px;border-image:url(../assets/ui/pesca/hud/hud-painel.png) 30 fill / 15px stretch !important;
  padding:0 4px;gap:7px;filter:drop-shadow(0 8px 18px rgba(0,0,0,.55));box-shadow:none}
.pc-hud-linha{gap:8px}
.pc-hud-slots{gap:6px}
/* slots: vara, iscas, boia, isca artificial */
.pc-vara,.pc-isca,.pc-mini{border-style:solid;border-color:transparent;background:none !important;border-radius:0;box-shadow:none !important;
  border-width:8px;border-image:url(../assets/ui/pesca/hud/hud-slot.png) 24 fill / 8px stretch !important}
.pc-vara{width:52px;height:52px;justify-content:center;padding:0}
.pc-vara img{width:34px;height:34px}
.pc-vara .pc-xp{position:absolute;left:2px;right:2px;bottom:-2px;width:auto;height:4px}
.pc-isca{width:52px;height:52px}
.pc-isca img{width:32px;height:32px}
.pc-isca em,.pc-mini em{right:-2px;bottom:-4px;font-size:12px;color:#fde047;text-shadow:0 1px 0 #000,0 0 3px #000}
.pc-isca.on,.pc-mini.on{border-image-source:url(../assets/ui/pesca/hud/hud-slot-on.png) !important}
.pc-isca.on{box-shadow:none !important}
.pc-mini{width:46px;height:46px;font-size:22px;color:#4fd8e8}
.pc-mini img{width:28px;height:28px}
.pc-mini.pc-vazio{opacity:1}
.pc-up{top:-4px;right:-4px}
/* selo de nível = chip "Pesca N" */
.pc-nivel{border-style:solid;border-color:transparent;background:none;border-radius:0;padding:0 4px;height:34px;justify-content:center;
  border-width:11px;border-image:url(../assets/ui/pesca/hud/hud-chip-on.png) 22 fill / 11px stretch !important}
.pc-nivel b{font-size:13px;color:#4fe3f0;text-shadow:0 0 6px rgba(79,227,240,.45)}
/* botão grande */
.pc-acao{border-style:solid;border-color:transparent;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:220px;height:48px;border-radius:0 !important;
  background:none !important;box-shadow:none !important;color:#eaf6ff;font-size:17px;font-weight:800;letter-spacing:.01em;text-shadow:0 1px 2px #000;
  border-width:14px;border-image:url(../assets/ui/pesca/hud/hud-botao.png) 30 fill / 14px stretch !important;padding:0 10px 0 0}
.pc-acao .pc-ico-acao{width:24px;height:22px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 1px 1px #000)}
.pc-acao:hover:not(:disabled){filter:brightness(1.15)}
.pc-acao.pc-esperando{color:#a9c7dc;filter:saturate(.6)}
.pc-acao.pc-fisgou,.pc-acao.pc-aviso{color:#1c1300;text-shadow:none;filter:sepia(1) saturate(5) hue-rotate(-12deg) brightness(1.15)}
/* "sozinho" = pílula com caixinha */
.pc-auto{border-style:solid;border-color:transparent;height:40px;padding:0 6px 0 2px;gap:10px;color:#dbeafe;font-size:14px;font-weight:600;
  border-width:11px;border-image:url(../assets/ui/pesca/hud/hud-pilula.png) 22 fill / 11px stretch !important}
.pc-auto input{appearance:none;-webkit-appearance:none;width:18px;height:18px;margin:0;border-radius:4px;border:1px solid #9cc3e0;
  background:linear-gradient(180deg,#f8fbff,#c9dbea);cursor:pointer;position:relative}
.pc-auto input:checked{background:linear-gradient(180deg,#4fe3f0,#1aa5c4);border-color:#7ff0ff}
.pc-auto input:checked::after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid #06222e;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
/* Píer e Equipamento & ranking */
.pesca-hud .pc-voltar,.pesca-hud .pc-abrir{background:none !important;border-style:solid !important;border-color:transparent !important;border-radius:0 !important;box-shadow:none !important;
  height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 6px !important;color:#cfeaff;font-weight:800;letter-spacing:.06em;text-transform:uppercase;font-size:12px}
.pesca-hud .pc-voltar{border-width:11px;border-image:url(../assets/ui/pesca/hud/hud-botao-p.png) 22 fill / 11px stretch !important}
.pesca-hud .pc-abrir{border-width:11px;border-image:url(../assets/ui/pesca/hud/hud-equip.png) 22 fill / 11px stretch !important;color:#7fe8ff}
.pesca-hud .pc-voltar img{width:16px;height:16px;object-fit:contain}
.pesca-hud .pc-abrir img{width:22px;height:20px;object-fit:contain;margin:0}
.pesca-hud .pc-voltar:hover,.pesca-hud .pc-abrir:hover{filter:brightness(1.18)}
/* barra de informação */
.pc-hud-info{flex-wrap:nowrap;border-style:solid;border-color:transparent;border-width:10px;border-image:url(../assets/ui/pesca/hud/hud-barra.png) 20 fill / 10px stretch !important;padding:0 6px;min-height:34px;font-size:13px;color:#e6f2fb}
.pc-hud-info .pc-ev{color:#fbbf24}
.pc-hud-info small{color:#7fd8f0}
@media (max-width:700px){
  .pesca-hud{padding:6px 6px 5px}
  .pc-hud-slots{flex-wrap:nowrap;overflow-x:auto}
  .pc-hud-acoes{flex-wrap:wrap}
  .pc-acao{min-width:0;flex:1 1 100%;order:0 !important}
  .pc-auto{order:1 !important}.pesca-hud .pc-voltar{order:2 !important}.pesca-hud .pc-abrir{order:3 !important}
  .pc-vara,.pc-isca{width:46px;height:46px}.pc-mini{width:42px;height:42px}
  .pc-hud-info{font-size:11.5px}
}
/* ================= celular (out/2026): o HUD do Píer era um bloco de 4 linhas
   que cobria um terço da tela (o "pescar aqui" e o próprio treinador ficavam
   embaixo dele). Agora: no mapa, UMA linha (nível · Ir pescar · Pescador);
   pescando, duas linhas finas (slots que rolam de lado · ações) e o aviso numa
   linha só. A câmera (Mapa.seguir) mede a altura real do HUD e sobe o treinador.
   Vale até 900px (tablet): entre 700 e 900 o HUD de PC quebrava em 4 linhas. */
@media (max-width:900px){
  /* logo acima do menu de baixo (Pokémon, Bolsa…): --nav-h é a altura REAL dele (UI.medirHud);
     com 68px fixos o HUD subia por cima dos botões quando a barra ficava mais alta */
  .pesca-hud{left:6px;right:6px;bottom:calc(var(--nav-h, 64px) + 6px);transform:none;max-width:none;gap:4px;padding:0 2px;border-width:10px;border-image-width:10px !important}
  .pc-hud-linha{flex-wrap:nowrap !important;gap:5px;justify-content:flex-start}
  .pesca-hud .pc-acao{order:0 !important;flex:1 1 auto !important;min-width:0 !important;height:42px;font-size:15px;gap:6px;border-width:11px;border-image-width:11px !important;white-space:nowrap;overflow:hidden}
  .pesca-hud .pc-acao .pc-ico-acao{width:20px;height:18px}
  .pesca-hud .pc-nivel{height:30px;border-width:9px;border-image-width:9px !important;flex:none}
  .pesca-hud .pc-nivel b{font-size:11.5px}
  .pesca-hud .pc-voltar,.pesca-hud .pc-abrir{height:42px;flex:none;padding:0 2px !important;border-width:10px !important;border-image-width:10px !important}
  .pesca-hud .pc-voltar span,.pesca-hud .pc-abrir span{display:none}
  /* no mapa: sem a barra de dica (o balão "pescar aqui" já diz onde ir) */
  .pesca-hud.pc-hud-mapa .pc-hud-info{display:none}
  .pesca-hud.pc-hud-mapa .pc-acao{min-width:0 !important}
  /* pescando: slots numa faixa que rola de lado */
  .pc-hud-slots{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding-bottom:2px}
  .pc-hud-slots::-webkit-scrollbar{display:none}
  .pc-hud-slots>*{flex:none}
  .pc-iscas{flex:none !important;overflow:visible}
  .pc-vara,.pc-isca{width:42px !important;height:42px !important;border-width:6px}
  .pc-vara img,.pc-isca img{width:26px;height:26px}
  .pc-mini{width:38px !important;height:38px !important;border-width:6px}
  .pc-mini img{width:22px;height:22px}
  .pc-auto{order:1 !important;height:42px;padding:0 2px;gap:4px;font-size:11px;flex:none;border-width:10px;border-image-width:10px !important}
  .pc-auto .pc-auto-txt{max-width:44px;line-height:1.05;white-space:normal}
  .pc-hud-info{min-height:24px;border-width:7px;border-image-width:7px !important;font-size:11px;gap:6px;flex-wrap:nowrap;overflow:hidden}
  .pc-hud-info>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  .pc-hud-info .pc-ev{display:none}
  .pc-hud-info small{flex:none}
}
/* ================= bolsinha da sessão (js/ui/pesca-sessao.js): o cesto no HUD e o painel ================= */
.pesca-hud .pc-cesto{position:relative;height:40px;display:inline-flex;align-items:center;padding:0 6px !important;background:none !important;box-shadow:none !important;
  border-style:solid !important;border-color:transparent !important;border-radius:0 !important;border-width:11px;border-image:url(../assets/ui/pesca/hud/hud-botao-p.png) 22 fill / 11px stretch !important}
.pesca-hud .pc-cesto img{width:24px;height:22px;object-fit:contain;image-rendering:pixelated;margin:0}
.pesca-hud .pc-cesto em{position:absolute;right:-8px;top:-10px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#f59e0b;color:#1c1300;font:800 11px/18px 'Segoe UI',sans-serif;font-style:normal;text-align:center}
.pesca-hud .pc-cesto.on{filter:brightness(1.25) drop-shadow(0 0 6px rgba(79,227,240,.6))}
/* a janela segue o Hunt Analyzer (css/hunt-analyzer.css, classes .ha-*) com a
   moldura das janelas do tema; arrasta pelo cabeçalho (js/ui/pesca-sessao.js) */
.pc-sessao{position:fixed;right:14px;bottom:230px;z-index:41;width:420px;max-height:min(620px,calc(100vh - 24px));
  display:flex;flex-direction:column;border-radius:14px;overflow:hidden;color:#e2e8f0;
  border:2px solid var(--mi-moldura,#2b8cff);background:linear-gradient(180deg,rgba(10,30,52,.97),rgba(6,18,32,.98));
  box-shadow:var(--mi-halo,0 0 0 transparent),0 14px 40px rgba(0,0,0,.6)}
.pc-sessao.oculto{display:none}
.pc-sessao.arrastando{opacity:.92;user-select:none}
.pcs-cab{flex:0 0 auto;display:flex;align-items:center;gap:10px;padding:8px 9px 8px 11px;cursor:move;touch-action:none;user-select:none;
  background:linear-gradient(180deg,rgba(21,67,115,.85),rgba(15,53,89,.65));border-bottom:1px solid rgba(108,196,255,.5);box-shadow:0 1px 0 rgba(43,140,255,.3)}
.pcs-cab .cab-ico{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center}
.pcs-cab .cab-ico img{width:26px;height:24px;object-fit:contain;image-rendering:pixelated}
.pcs-cab .cab-tit{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.pcs-cab .cab-tit b{font-size:14px;font-weight:900;letter-spacing:.6px;color:#fff;text-transform:uppercase}
.pcs-cab .cab-tit small{font-size:11px;color:#94a3b8}
.pcs-corpo{flex:1 1 auto;min-height:0;overflow-y:auto;padding:10px;gap:8px;max-width:none;margin:0}
/* o Hunt Analyzer é feito para a janela grande: aqui tudo um pouco menor */
.pcs-corpo .ha-cacando{padding:8px 10px;gap:10px}
.pcs-corpo .ha-ret.peq img{width:34px;height:34px}
.pcs-corpo .ha-cac-info b{font-size:16px}
.pcs-corpo .ha-tempo b{font-size:16px}
.pcs-corpo .ha-reset{width:30px;height:30px}
.pcs-corpo .ha-lucro b{font-size:30px}
.pcs-corpo .ha-stats{gap:6px}
.pcs-corpo .ha-stat{gap:7px;padding:7px 8px;min-width:0}
.pcs-corpo .ha-ico-stat{width:28px;height:28px;image-rendering:pixelated}
.pcs-corpo .ha-stat b,.pcs-corpo .ha-shiny b{font-size:14.5px;white-space:nowrap}
.pcs-corpo .ha-stat small,.pcs-corpo .ha-shiny small{font-size:10px}
.pcs-corpo .ha-bal > div{font-size:12.5px;padding:5px 0}
.pcs-corpo .ha-bal b{font-size:13.5px}
.pcs-corpo .ha-bal small{font-size:11.5px;font-weight:800}
.pcs-corpo .ha-bal .pcs-emo{flex:0 0 22px;display:inline-grid;place-items:center;font-size:16px;line-height:1}
.pcs-corpo .pcs-it{grid-template-columns:26px minmax(0,1fr) 44px 68px 34px;gap:6px;font-size:12.5px}
.pcs-it .ha-trilho{grid-column:2 / -1;height:6px;margin-top:-3px}
.pcs-it .ha-it-nome{font-weight:800}
.pcs-it .ha-it-ico img{image-rendering:pixelated}
.pcs-iscas{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:6px 10px;font-size:12px;color:#cbd5e1}
.pcs-iscas b{color:#e2e8f0}
.pcs-iscas img{width:18px;height:18px;object-fit:contain;image-rendering:pixelated;vertical-align:-4px;margin-right:3px}
@media (max-width:700px){
  .pesca-hud .pc-cesto{height:42px;flex:none;padding:0 2px !important;border-width:10px !important;border-image-width:10px !important}
  .pc-sessao{left:6px !important;right:6px !important;top:auto !important;width:auto;bottom:196px;max-height:calc(100vh - 300px)}
  .pcs-cab{cursor:default}
  .pcs-corpo{padding:8px}
  .pcs-corpo .ha-stats{grid-template-columns:repeat(3,1fr)}
}
/* tablet (701–900): a barra do chat e o menu de baixo do PC ainda estão lá — o HUD fica acima deles */
@media (min-width:701px) and (max-width:900px){
  .pesca-hud{bottom:96px;left:12px;right:12px}
}
/* ================= Píer online (js/ui/pesca-online.js): emotes e o menu de outro pescador ================= */
.pesca-hud .pc-emote{position:relative;height:40px;display:inline-flex;align-items:center;padding:0 6px !important;font-size:19px;line-height:1;background:none !important;box-shadow:none !important;
  border-style:solid !important;border-color:transparent !important;border-radius:0 !important;border-width:11px;border-image:url(../assets/ui/pesca/hud/hud-botao-p.png) 22 fill / 11px stretch !important}
.pesca-hud .pc-emote em{position:absolute;right:-8px;top:-10px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#22d3ee;color:#04222b;font:800 11px/18px 'Segoe UI',sans-serif;font-style:normal;text-align:center}
.pc-emotes-barra{position:fixed;z-index:60;display:flex;gap:4px;padding:6px;border-radius:12px;background:rgba(7,14,28,.95);border:1px solid rgba(56,189,248,.5);box-shadow:0 8px 22px rgba(0,0,0,.5)}
.pc-emotes-barra.oculto,.pc-menu-jog.oculto{display:none}
.pc-emotes-barra button,.pcm-emotes button{width:36px;height:36px;border-radius:9px;border:1px solid rgba(96,140,190,.35);background:#0b1220;font-size:19px;cursor:pointer;line-height:1}
.pc-emotes-barra button:hover,.pcm-emotes button:hover{border-color:#38bdf8;transform:scale(1.08)}
/* o menu em si é o do chat (.chat-popover-usuario, css/molduras.css); aqui só o que é do Píer */
#pc-menu-jogador{width:250px}
.pcm-ult{display:flex;align-items:center;gap:6px;font-size:12px;color:#dff1ff;background:rgba(15,30,52,.85);border:1px solid rgba(96,140,190,.28);border-radius:10px;padding:3px 8px 3px 4px}
.pcm-ult img{width:30px;height:30px;object-fit:contain;image-rendering:pixelated;flex:0 0 30px}
.pcm-emotes{display:flex;flex-wrap:nowrap;gap:3px;justify-content:center}
.pcm-emotes button{width:30px;height:30px;font-size:15px;flex:1 1 0;min-width:0}
@media (max-width:700px){
  .pesca-hud .pc-emote{height:42px;flex:none;padding:0 2px !important;border-width:10px !important;border-image-width:10px !important;font-size:17px}
}
/* ================= pesqueiros (Pesca.botaoPesqueiros / Pesca.alternarPesqueiros) ================= */
.pesca-hud .pc-pesqueiro{height:40px;display:inline-flex;align-items:center;gap:4px;padding:0 6px !important;font-size:16px;color:#cfeaff;font-weight:800;background:none !important;box-shadow:none !important;
  border-style:solid !important;border-color:transparent !important;border-radius:0 !important;border-width:11px;border-image:url(../assets/ui/pesca/hud/hud-botao-p.png) 22 fill / 11px stretch !important}
.pesca-hud .pc-pesqueiro span{font-size:11.5px;letter-spacing:.03em;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pc-pesqueiros{position:fixed;z-index:60;width:290px;display:flex;flex-direction:column;gap:5px;padding:8px;border-radius:12px;color:#e2e8f0;
  background:rgba(7,14,28,.96);border:1px solid rgba(56,189,248,.5);box-shadow:0 10px 26px rgba(0,0,0,.55)}
.pc-pesqueiros.oculto{display:none}
.pc-pesqueiros>b{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#7dd3fc;padding:0 2px}
.pc-pesqueiros button{display:flex;flex-direction:column;align-items:flex-start;gap:1px;text-align:left;padding:6px 8px;border-radius:9px;cursor:pointer;
  background:#0b1220;border:1px solid rgba(96,140,190,.35);color:#e2e8f0}
.pc-pesqueiros button:hover{border-color:#38bdf8}
.pc-pesqueiros button.on{border-color:#34d399;box-shadow:inset 0 0 0 1px rgba(52,211,153,.4)}
.pc-pesqueiros button b{font-size:13px}
.pc-pesqueiros button small{font-size:11px;color:#94a3b8}
@media (max-width:900px){
  .pesca-hud .pc-pesqueiro{height:42px;flex:none;padding:0 2px !important;border-width:10px !important;border-image-width:10px !important}
  .pesca-hud .pc-pesqueiro span{display:none}
}
@media (max-width:900px){
  /* "sozinho" em duas linhas miúdas: não rouba espaço do Lançar */
  .pc-auto .pc-auto-txt{display:inline-block;max-width:44px;font-size:10.5px;line-height:1.05;white-space:normal}
  /* no mapa do píer: Ir pescar numa linha só dele, os botões pequenos em cima */
  .pesca-hud.pc-hud-mapa .pc-hud-linha{flex-wrap:wrap !important;justify-content:center}
  .pesca-hud.pc-hud-mapa .pc-acao{order:9 !important;flex:1 1 100% !important}
}
/* ================= PC (out/2026): a barra de 3-4 linhas (640×172) tapava o meio
   da tela. Agora, como no celular: no mapa UMA linha (nível · Ir pescar ·
   pesqueiros · cesto · emotes · Pescador) e pescando DUAS linhas finas (slots e
   botões, depois as ações), com a dica numa linha só. Centralizada, sem largura fixa. */
@media (min-width:901px){
  .pesca-hud{bottom:86px;gap:3px;padding:0 2px;border-width:11px;border-image-width:11px !important;width:max-content;max-width:min(860px,calc(100vw - 24px))}
  .pc-hud-linha{flex-wrap:nowrap !important;gap:6px;justify-content:center}
  .pesca-hud .pc-acao{order:0 !important;min-width:150px;height:40px;font-size:15px;gap:8px;border-width:11px;border-image-width:11px !important;white-space:nowrap}
  .pesca-hud .pc-acao .pc-ico-acao{width:20px;height:18px}
  .pesca-hud .pc-nivel{height:30px;border-width:9px;border-image-width:9px !important}
  .pesca-hud .pc-voltar,.pesca-hud .pc-abrir,.pesca-hud .pc-pesqueiro,.pesca-hud .pc-cesto,.pesca-hud .pc-emote{height:38px;border-width:10px !important;border-image-width:10px !important}
  .pesca-hud .pc-voltar span,.pesca-hud .pc-abrir span{display:none}
  .pesca-hud .pc-pesqueiro span{max-width:110px}
  .pesca-hud.pc-hud-mapa .pc-hud-info{display:none}
  .pc-vara,.pc-isca{width:44px;height:44px;border-width:7px}
  .pc-vara img,.pc-isca img{width:28px;height:28px}
  .pc-mini{width:38px;height:38px}
  .pc-mini img{width:22px;height:22px}
  .pc-auto{height:38px;font-size:12px;gap:6px;border-width:10px;border-image-width:10px !important}
  .pc-hud-info{min-height:24px;border-width:7px;border-image-width:7px !important;font-size:12px;flex-wrap:nowrap;overflow:hidden}
  .pc-hud-info>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
}
.pc-pesqueiros button.pc-trancada{opacity:.6}
/* bolsinha: quantos de cada raridade do exemplar */
.pcs-rar{display:flex;flex-wrap:wrap;gap:3px 10px;font-size:11.5px;padding:6px 10px}
.pcs-rar b{font-weight:900}
