/* Zenkai Idle — interface. Azul-noite + laranja de aura. */
:root {
  --fundo: #10151f; --caixa: #161d2e; --caixa2: #1e2740; --borda: #2c3858; --linha: #34416a;
  --ambar: #ff9a3b; --ambar2: #ffd166; --texto: #e9eef7; --fraco: #9aa7c2; --verde: #5fd47c; --vermelho: #ff5a4a; --azul: #58a8ff;
  --r0: #c9d3df; --r1: #5fd47c; --r2: #58a8ff; --r3: #c07cff; --r4: #ffb92e;
  --px: "Fredoka", "Trebuchet MS", sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--fundo); color: var(--texto); font: 600 14px/1.35 Nunito, "Segoe UI", system-ui, sans-serif; user-select: none; -webkit-user-select: none; touch-action: none; }
[hidden] { display: none !important; }
#tela { position: fixed; inset: 0; width: 100%; height: 100%; display: block; image-rendering: pixelated; cursor: pointer; }
img.ic { image-rendering: pixelated; width: 32px; height: 32px; object-fit: contain; vertical-align: middle; }
img.ic.p { width: 18px; height: 18px; }
img.ic.g { width: 48px; height: 48px; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h2, h3, .px { font-family: var(--px); font-weight: 700; letter-spacing: .3px; }
h2 { margin: 0; font-size: 22px; color: var(--ambar2); }
h3 { margin: 14px 0 6px; font-size: 15px; color: var(--ambar); text-transform: uppercase; }
small, .fraco { color: var(--fraco); }
.caixa { background: var(--caixa); border: 2px solid var(--borda); border-radius: 6px; box-shadow: 0 3px 0 #0a0e17, inset 0 0 0 1px rgba(255,255,255,.03); }
.bt { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 5px 12px; border-radius: 5px; background: var(--caixa2); border: 2px solid var(--linha); font-family: var(--px); font-size: 14px; box-shadow: 0 2px 0 #0a0e17; transition: transform .05s, filter .1s; }
.bt:hover { filter: brightness(1.2); } .bt:active { transform: translateY(2px); box-shadow: none; }
.bt.ouro { background: #7a4a12; border-color: var(--ambar); color: #fff3d6; }
.bt.verde { background: #1f5a33; border-color: var(--verde); }
.bt.perigo { background: #5a1f1f; border-color: var(--vermelho); }
.bt:disabled, .bt.off { opacity: .45; filter: grayscale(.6); cursor: default; }
.bt.mini { min-height: 26px; padding: 2px 8px; font-size: 12px; }
.linha { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.entre { justify-content: space-between; }
.cresce { flex: 1; }

/* ---------- HUD ---------- */
#hud > * { position: fixed; z-index: 5; }
#ficha { top: max(8px, env(safe-area-inset-top)); left: 8px; display: flex; gap: 8px; padding: 6px; width: 270px; }
.retrato { position: relative; width: 60px; height: 68px; background: #0d1220; border: 2px solid var(--ambar); border-radius: 5px; overflow: hidden; flex: none; }
.retrato img { position: absolute; left: 50%; top: 2px; transform: translateX(-50%); image-rendering: pixelated; height: 128px; }
.retrato b { position: absolute; right: 0; bottom: 0; background: var(--ambar); color: #20160a; font-family: var(--px); font-size: 13px; padding: 0 5px; border-radius: 4px 0 0 0; }
.fichaDir { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.linhaNome { display: flex; justify-content: space-between; font-family: var(--px); font-size: 14px; }
.linhaNome span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#hPoder { color: var(--ambar2); }
.barra { position: relative; height: 13px; background: #0a0e17; border-radius: 3px; overflow: hidden; border: 1px solid #000; }
.barra i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; transition: width .15s; }
.barra span { position: absolute; inset: 0; text-align: center; font: 700 10px/12px var(--px); text-shadow: 0 1px 0 #000, 1px 0 0 #000, -1px 0 0 #000; }
.barra.vida i { background: linear-gradient(#ff7a6a, #d93a2f); } .barra.mana i { background: linear-gradient(#6ab5ff, #2f6fd9); }
.barra.xp { height: 9px; } .barra.xp i { background: linear-gradient(var(--ambar2), var(--ambar)); } .barra.xp span { font-size: 8px; line-height: 8px; }
.barra.grande { height: 18px; } .barra.grande span { font-size: 12px; line-height: 17px; }
.barra.prog i { background: linear-gradient(#8fe3a5, #2f9d55); }
.bens { display: flex; gap: 10px; font-family: var(--px); font-size: 13px; } .bens span { display: flex; align-items: center; gap: 3px; }

#topo { top: max(8px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; width: min(560px, calc(100vw - 580px)); min-width: 330px; }
#lugar { padding: 6px 10px; width: 100%; text-align: center; }
#lugar .nome { font-family: var(--px); font-size: 17px; color: var(--ambar2); }
#lugar .areas { display: flex; gap: 4px; margin-top: 5px; }
#lugar .areas button { flex: 1; padding: 3px 2px; border-radius: 4px; background: var(--caixa2); border: 2px solid var(--linha); font-family: var(--px); font-size: 12px; line-height: 1.15; }
#lugar .areas button.on { border-color: var(--ambar); background: #4a3414; color: #fff3d6; }
#lugar .areas button small { display: block; font-size: 10px; }
#lugar .areas button.alto small { color: #ff9a8a; }
#lugar .baixo { display: flex; gap: 6px; align-items: center; margin-top: 6px; }
#lugar .baixo .barra { flex: 1; }
#chefeBarra { width: 100%; padding: 5px 10px; text-align: center; border-color: var(--vermelho); }
#chefeNome { font-family: var(--px); color: #ffb3a8; }

#missao { top: 108px; left: 8px; width: 270px; padding: 6px 9px; cursor: pointer; font-size: 12.5px; }
#missao .t { font-family: var(--px); color: var(--ambar); font-size: 12px; text-transform: uppercase; display: flex; justify-content: space-between; }
#missao.pronta { border-color: var(--ambar2); animation: pulsa 1s infinite; }
#metasHud { position: absolute; left: 8px; width: 270px; padding: 6px 9px; cursor: pointer; font-size: 12px; z-index: 5; }
#metasHud .t { font-family: var(--px); color: #9fd8ff; font-size: 12px; text-transform: uppercase; display: flex; justify-content: space-between; }
#metasHud ul { margin: 4px 0 0; padding-left: 16px; } #metasHud li { margin-bottom: 2px; }
@media (max-width: 900px) { #metasHud { width: 210px; font-size: 11px; } }
#missao .barra { height: 7px; margin-top: 4px; }
@keyframes pulsa { 50% { box-shadow: 0 0 0 3px rgba(255,215,114,.35), 0 3px 0 #0a0e17; } }

#avisos { left: 8px; bottom: 150px; width: 300px; display: flex; flex-direction: column-reverse; gap: 3px; pointer-events: none; }
#avisos div { background: rgba(16,21,31,.82); border-left: 3px solid var(--ambar); padding: 3px 8px; border-radius: 3px; font-size: 12.5px; animation: entra .2s; }
#avisos div.sai { opacity: 0; transition: opacity .6s; }
@keyframes entra { from { transform: translateX(-20px); opacity: 0; } }
#central { top: 26%; left: 50%; transform: translateX(-50%); text-align: center; pointer-events: none; font-family: var(--px); }
#central div { font-size: 34px; color: var(--ambar2); text-shadow: 0 3px 0 #000, 0 0 18px rgba(240,169,59,.7); animation: sobe 2.4s forwards; white-space: nowrap; }
#central div small { display: block; font-size: 16px; color: #fff; }
@keyframes sobe { 0% { transform: scale(.4); opacity: 0; } 12% { transform: scale(1.1); opacity: 1; } 20% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-20px); } }

#barraHab { bottom: max(10px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; gap: 6px; align-items: flex-end; }
.hab { position: relative; width: 54px; height: 54px; border-radius: 6px; background: #0d1220; border: 2px solid var(--linha); box-shadow: 0 3px 0 #0a0e17; overflow: hidden; }
.hab img { width: 100%; height: 100%; image-rendering: pixelated; padding: 3px; }
.hab .rec { position: absolute; inset: 0; background: rgba(6,8,16,.78); transform-origin: bottom; pointer-events: none; }
.hab .seg { position: absolute; inset: 0; display: grid; place-items: center; font: 700 17px var(--px); text-shadow: 0 2px 0 #000; pointer-events: none; }
.hab .tecla { position: absolute; left: 2px; top: 0; font: 700 11px var(--px); color: var(--fraco); text-shadow: 0 1px 0 #000; }
.hab .auto { position: absolute; right: 2px; top: 1px; font: 700 9px var(--px); color: #20160a; background: var(--ambar); border-radius: 2px; padding: 0 3px; }
.hab .qtd { position: absolute; right: 3px; bottom: 0; font: 700 12px var(--px); text-shadow: 0 1px 0 #000, 1px 0 0 #000; }
.hab.fechada { filter: grayscale(1) brightness(.5); } .hab.semMana img { filter: saturate(.3) brightness(.7) hue-rotate(180deg); }
.hab.ativa { border-color: var(--ambar2); box-shadow: 0 0 10px var(--ambar); }
.hab.pocao { width: 44px; height: 44px; }
#btAuto { width: 62px; height: 54px; border-radius: 6px; font-family: var(--px); font-size: 15px; background: var(--caixa2); border: 2px solid var(--linha); box-shadow: 0 3px 0 #0a0e17; line-height: 1.05; }
#btAuto.on { background: #1f5a33; border-color: var(--verde); color: #d8ffe2; }
#btAuto small { display: block; font-size: 10px; color: inherit; opacity: .8; }

#menu { right: 8px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 5px; }
#menu button { position: relative; min-width: 74px; height: 38px; padding: 0 8px; border-radius: 6px; background: var(--caixa); border: 2px solid var(--borda); font-family: var(--px); font-size: 13px; box-shadow: 0 3px 0 #0a0e17; }
#menu button:hover { border-color: var(--ambar); }
.pt { position: absolute; top: -5px; right: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--vermelho); border: 2px solid #10151f; animation: pulsa 1s infinite; }

/* ---------- painéis ---------- */
#veu { position: fixed; inset: 0; z-index: 20; background: rgba(6,8,16,.55); display: grid; place-items: center; padding: 10px; touch-action: auto; }
#painel { width: min(760px, 100%); max-height: min(640px, calc(100dvh - 20px)); display: flex; flex-direction: column; border-color: var(--ambar); }
#painel.largo { width: min(1080px, 100%); max-height: min(720px, calc(100dvh - 20px)); }
#painel > header { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 2px solid var(--borda); background: #121829; border-radius: 4px 4px 0 0; }
#painel > header .x { width: 32px; height: 32px; border-radius: 5px; background: var(--caixa2); border: 2px solid var(--linha); font: 700 16px var(--px); }
#painel > .corpo { padding: 10px 12px 14px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
.colunas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cartao { background: var(--caixa2); border: 2px solid var(--linha); border-radius: 6px; padding: 8px 10px; }
.cartao.sel { border-color: var(--ambar); }

.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 5px; }
.item { position: relative; aspect-ratio: 1; border-radius: 5px; background: #0d1220; border: 2px solid var(--linha); display: grid; place-items: center; }
.item img { width: 78%; height: 78%; image-rendering: pixelated; object-fit: contain; }
.item .enc { position: absolute; left: 2px; top: 0; font: 700 11px var(--px); color: var(--ambar2); text-shadow: 0 1px 0 #000; }
.item .nv { position: absolute; right: 3px; bottom: 0; font: 700 10px var(--px); font-style: normal; color: #dfe6f5; text-shadow: 0 1px 0 #000; }
.item .up { position: absolute; right: 1px; top: -2px; color: var(--verde); font-size: 12px; text-shadow: 0 1px 0 #000; }
.item .cad { position: absolute; left: 2px; bottom: 0; font-size: 10px; color: var(--ambar); }
.item.sel { outline: 2px solid #fff; outline-offset: 1px; }
.item.vazio { opacity: .5; font: 700 10px var(--px); color: var(--fraco); }
.item.alto img { filter: grayscale(.8) brightness(.6); }
.r0 { border-color: #4a556b; } .r1 { border-color: var(--r1); } .r2 { border-color: var(--r2); } .r3 { border-color: var(--r3); box-shadow: inset 0 0 8px rgba(192,124,255,.5); } .r4 { border-color: var(--r4); box-shadow: inset 0 0 10px rgba(255,185,46,.6); }
.c0 { color: var(--r0); } .c1 { color: var(--r1); } .c2 { color: var(--r2); } .c3 { color: var(--r3); } .c4 { color: var(--r4); }
.detalhe .nomeItem { font-family: var(--px); font-size: 17px; }
.detalhe ul { list-style: none; margin: 6px 0; padding: 0; } .detalhe li { display: flex; justify-content: space-between; gap: 10px; }
.detalhe li.bonus { color: #9fe0ff; } .mais { color: var(--verde); } .menos { color: #ff8f7a; }
.equipados { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 8px; }
.equipados .item { aspect-ratio: auto; min-height: 58px; flex-direction: column; }
.equipados .item small { font: 700 9px var(--px); position: absolute; top: 1px; right: 3px; }

.stats { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; font-size: 13.5px; } .stats b { text-align: right; font-family: var(--px); }
.attr { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 6px; padding: 4px 0; border-bottom: 1px solid var(--borda); }
.attr b { font-family: var(--px); font-size: 17px; min-width: 40px; text-align: right; } .attr small { display: block; }

.talentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tal { text-align: left; padding: 7px 9px; border-radius: 6px; background: var(--caixa2); border: 2px solid var(--linha); min-height: 82px; }
.tal b { font-family: var(--px); display: flex; justify-content: space-between; gap: 6px; } .tal small { display: block; margin-top: 3px; line-height: 1.25; }
.tal.pode { border-color: var(--ambar); } .tal.cheio { border-color: var(--verde); } .tal.travado { opacity: .45; }
.talLinha { grid-column: 1/-1; font: 700 11px var(--px); color: var(--fraco); text-transform: uppercase; border-top: 1px dashed var(--linha); padding-top: 5px; }
.tal.final { grid-column: 1/-1; text-align: center; min-height: 0; }
.tal .custo { color: var(--fraco); font-size: 11px; } .tal.travado .custo { color: #ff9a8a; }
.ramos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.ramo { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 8px; border: 2px dashed var(--linha); }
.ramo.seguindo { border-style: solid; border-color: var(--ambar); } .ramo.fechado { opacity: .5; }
.ramo .tal { min-height: 0; } .par { display: flex; flex-direction: column; gap: 4px; border-left: 3px solid #8a6cff; padding-left: 5px; } .par .ou { color: #b9a6ff; font: 700 10px var(--px); text-transform: uppercase; }
.missTopo { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 12px; border-radius: 8px; background: linear-gradient(90deg, #2a1d4a, #14203a); border: 2px solid #5b4a9a; } .missTopo small { display: block; max-width: 520px; }
.missNums { display: flex; gap: 8px; } .missNums span { background: #0d1220; border: 1px solid var(--linha); border-radius: 6px; padding: 4px 9px; font-size: 12px; } .missNums b { font-family: var(--px); color: var(--ambar2); font-size: 15px; }
.missVagas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.missVaga { position: relative; min-height: 118px; padding: 9px; border-radius: 8px; border: 2px solid var(--ambar); display: flex; flex-direction: column; gap: 6px; background: linear-gradient(rgba(10,14,23,.78), rgba(10,14,23,.9)), var(--fundo) center/96px; image-rendering: pixelated; }
.missVaga.vazia { border: 2px dashed var(--linha); background: #0d1220; align-items: center; justify-content: center; text-align: center; color: var(--fraco); }
.rostos { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; } .rostos small { margin-left: 4px; color: #8af0d0; }
.rosto { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ambar2); background: #0d1220; display: grid; place-items: center; overflow: hidden; } .rosto img { max-width: 30px; max-height: 30px; image-rendering: pixelated; }
.rosto.vazio { border-style: dashed; border-color: var(--linha); color: var(--fraco); font-family: var(--px); }
.missLista { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.missao { position: relative; overflow: hidden; padding: 10px; border-radius: 8px; border: 2px solid var(--linha); display: flex; flex-direction: column; gap: 6px; background: linear-gradient(90deg, rgba(10,14,23,.92) 55%, rgba(10,14,23,.55)), var(--fundo) center/96px; image-rendering: pixelated; }
.missao.fora { opacity: .6; } .missao .bt { margin-top: auto; } .missProp { position: absolute; right: -6px; bottom: -4px; height: 92px; opacity: .85; pointer-events: none; image-rendering: pixelated; }
.missCab { display: flex; justify-content: space-between; gap: 6px; align-items: flex-start; position: relative; } .chipH { background: #4a3414; border: 1px solid var(--ambar); border-radius: 10px; padding: 0 7px; font: 700 12px var(--px); color: var(--ambar2); white-space: nowrap; }
@media (max-width: 700px) { .missVagas { grid-template-columns: 1fr; } .missVaga { min-height: 0; } }
.premiosR { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 5px; margin-top: 6px; }
.premiosR span { display: flex; gap: 6px; align-items: center; padding: 4px 7px; border-radius: 5px; background: #0d1220; border: 1px solid var(--linha); opacity: .55; font-size: 12.5px; } .premiosR span.tem { opacity: 1; border-color: var(--verde); } .premiosR b { font-family: var(--px); color: var(--ambar2); }
@media (max-width: 700px) { .ramos { grid-template-columns: 1fr; } }

.lumes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 7px; }
.lumeC { text-align: center; padding: 6px 4px; border-radius: 6px; background: var(--caixa2); border: 2px solid var(--linha); }
.lumeC .fig { height: 62px; display: grid; place-items: center; } .lumeC img { image-rendering: pixelated; max-height: 60px; max-width: 96px; }
.lumeC.nao img { filter: brightness(0) opacity(.45); } .lumeC.ativo { border-color: var(--ambar2); background: #3a2c14; } .lumeC.sel { outline: 2px solid #8af0d0; outline-offset: 1px; }
.lumeC b { font: 700 12px var(--px); display: block; } .lumeC .est { color: var(--ambar2); letter-spacing: 1px; font-size: 12px; } .lumeC small { display: block; font-size: 11px; line-height: 1.2; }

.zona { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; padding: 8px; margin-bottom: 7px; }
.zona .fa { height: 66px; display: grid; place-items: center; } .zona .fa img { image-rendering: pixelated; height: 66px; }
.zona.fechada { opacity: .5; } .zona .nomeZ { font-family: var(--px); font-size: 16px; color: var(--ambar2); }
.zona .areasZ { display: flex; gap: 5px; margin-top: 5px; flex-wrap: wrap; }
.abas { display: flex; gap: 5px; margin-bottom: 10px; flex-wrap: wrap; } .abas .bt.on { border-color: var(--ambar); background: #4a3414; }

.missaoL { padding: 5px 8px; border-left: 3px solid var(--linha); margin-bottom: 4px; } .missaoL.feita { opacity: .5; text-decoration: line-through; } .missaoL.atual { border-color: var(--ambar); background: var(--caixa2); border-radius: 0 5px 5px 0; }
.premio { display: inline-flex; gap: 8px; align-items: center; font-family: var(--px); font-size: 13px; } .premio span { display: inline-flex; align-items: center; gap: 2px; }
.chance { font: 700 26px var(--px); color: var(--ambar2); }
textarea, input[type=text], input[type=password] { width: 100%; background: #0a0e17; color: var(--texto); border: 2px solid var(--linha); border-radius: 5px; padding: 8px; font: inherit; user-select: text; -webkit-user-select: text; }
select { background: #0a0e17; color: var(--texto); border: 2px solid var(--linha); border-radius: 5px; padding: 5px; font: inherit; }
.opcao { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--borda); }
.chave { width: 46px; height: 26px; border-radius: 13px; background: #0a0e17; border: 2px solid var(--linha); position: relative; flex: none; }
.chave::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--fraco); transition: .15s; }
.chave.on { background: #1f5a33; border-color: var(--verde); } .chave.on::after { left: 22px; background: #fff; }

/* ---------- tela de título ---------- */
#titulo { position: fixed; inset: 0; z-index: 30; background: #0b1020 center/cover no-repeat; image-rendering: pixelated; display: grid; place-items: center; padding: 14px; overflow-y: auto; touch-action: auto; }
#titulo::before { content: ''; position: fixed; inset: 0; background: linear-gradient(rgba(8,11,22,.35), rgba(8,11,22,.88)); }
#titulo .dentro { position: relative; width: min(820px, 100%); text-align: center; }
#titulo h1 { font: 700 clamp(44px, 9vw, 84px)/1 var(--px); margin: 0; color: var(--ambar2); text-shadow: 0 5px 0 #7a4a12, 0 9px 0 #0a0e17, 0 0 40px rgba(240,169,59,.6); letter-spacing: 2px; }
#titulo .sub { font-family: var(--px); font-size: 17px; color: #d9e6f2; margin: 8px 0 22px; text-shadow: 0 2px 0 #000; }
.vagas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vaga { padding: 12px 8px; min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: rgba(22,29,46,.92); }
.vaga:hover { border-color: var(--ambar); }
.vaga img { image-rendering: pixelated; height: 128px; } .vaga b { font-family: var(--px); font-size: 17px; }
.classes { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 12px 0; }
.classe { padding: 10px 8px; background: rgba(22,29,46,.92); text-align: center; } .classe.sel { border-color: var(--ambar2); background: #3a2c14; }
.classe img { image-rendering: pixelated; height: 128px; } .classe b { font-family: var(--px); font-size: 18px; display: block; } .classe small { display: block; line-height: 1.25; }
.contaBox, .contaForm { margin: 14px auto 0; max-width: 420px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; background: rgba(10,14,23,.78); border: 2px solid var(--linha); border-radius: 8px; padding: 10px 12px; color: #d9e6f2; text-shadow: none; }
.contaForm { flex-direction: column; align-items: stretch; text-align: center; }
.contaForm input { max-width: none !important; width: 100%; font-family: inherit !important; font-size: 16px !important; }
.contaMsg { min-height: 1.2em; font-size: 13px; color: #8af0d0; } .contaMsg.erro { color: #ff8a7a; }
#titulo input { max-width: 300px; text-align: center; font-family: var(--px); font-size: 18px; }
.rodape { margin-top: 16px; font-size: 12px; color: var(--fraco); text-shadow: 0 1px 0 #000; }

/* ---------- telas estreitas (celular em pé) ---------- */
@media (max-width: 900px) {
  #topo { top: 88px; left: 8px; right: 8px; transform: none; width: auto; min-width: 0; }
  #ficha { width: 232px; }
  #missao { top: auto; bottom: 122px; left: 8px; width: min(250px, 62vw); font-size: 12px; }
  #avisos { bottom: 190px; width: 240px; }
  #menu { top: max(8px, env(safe-area-inset-top)); transform: none; right: 6px; gap: 3px; }
  #menu button { min-width: 64px; height: 30px; font-size: 12px; }
  #barraHab { gap: 4px; bottom: max(8px, env(safe-area-inset-bottom)); }
  .hab { width: 48px; height: 48px; } .hab.pocao { width: 40px; height: 40px; } #btAuto { width: 52px; height: 48px; font-size: 13px; }
  .colunas { grid-template-columns: 1fr; } .talentos { gap: 5px; } .tal { padding: 5px 6px; } .tal small { font-size: 11px; }
  #painel, #painel.largo { max-height: calc(100dvh - 20px); } .vagas, .classes { gap: 6px; } .vaga { min-height: 150px; } .vaga img, .classe img { height: 96px; }
  #central div { font-size: 24px; }
}
@media (max-width: 900px) and (min-height: 0px) { #topo { top: 104px; right: 78px; } #menu button { min-width: 62px; } #ficha { width: calc(100vw - 86px); max-width: 300px; } }

.ritmo { font: 400 12px var(--px); color: var(--fraco); white-space: nowrap; }
span.ic.fb { display: inline-grid; place-items: center; width: 32px; height: 32px; font-size: 22px; line-height: 1; vertical-align: middle; }
span.ic.fb.p { width: 18px; height: 18px; font-size: 13px; } span.ic.fb.g { width: 48px; height: 48px; font-size: 32px; }
.hab span.ic.fb { width: 100%; height: 100%; font-size: 26px; } .item span.ic.fb { width: 78%; height: 78%; font-size: 24px; }

/* ---------- conversa ---------- */
#chat { left: 8px; bottom: max(10px, env(safe-area-inset-bottom)); width: 320px; font-size: 12.5px; touch-action: auto; }
#chatTopo { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
#chatTopo button { font: 400 13px var(--px); padding: 2px 8px; border-radius: 4px; background: var(--caixa); border: 2px solid var(--borda); }
#chatOn { font: 400 12px var(--px); color: var(--fraco); flex: 1; text-shadow: 0 1px 0 #000; }
#chatOn.on { color: #8fe3a5; }
#chatLog { background: rgba(16,21,31,.62); border-radius: 5px; padding: 4px 7px; height: 88px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; cursor: pointer; }
#chatLog div { overflow-wrap: anywhere; line-height: 1.3; text-shadow: 0 1px 0 #000; }
#chatLog b { color: #bfe9ff; font-weight: 800; } #chatLog .l b { color: #b6f25a; } #chatLog .s { color: var(--ambar2); } #chatLog .eu b { color: #fff; }
#chatForm { display: none; gap: 4px; margin-top: 4px; } #chatForm input { padding: 5px 8px; }
#chat.fechado #chatCanal, #chat.fechado #chatX { display: none; }
#chat.aberto #chatLog { height: 190px; overflow-y: auto; justify-content: flex-start; background: rgba(16,21,31,.92); border: 2px solid var(--borda); cursor: default; touch-action: pan-y; user-select: text; -webkit-user-select: text; }
#chat.aberto #chatForm { display: flex; }
.rankL { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 8px; align-items: center; padding: 4px 8px; border-bottom: 1px solid var(--borda); font-size: 13.5px; }
.rankL .pos { font: 400 16px var(--px); color: var(--ambar2); } .rankL small { display: block; } .rankL b { font-family: var(--px); font-weight: 400; }
.rankL:nth-child(1) .pos { font-size: 22px; }
.conq { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 6px 8px; border-bottom: 1px solid var(--borda); } .conq.feita { opacity: .55; } .conq .barra { height: 7px; grid-column: 1/-1; }
.codigo { font: 400 15px var(--px); background: #0a0e17; border: 2px dashed var(--linha); border-radius: 5px; padding: 8px; user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  #chat { bottom: 64px; width: min(250px, 62vw); } #chat.fechado #chatLog { height: 34px; } #chat.fechado #chatTopo { display: none; }
  #chat.aberto { bottom: 64px; width: calc(100vw - 16px); z-index: 12; }
  #missao { bottom: 106px; } #avisos { bottom: 176px; }
}

/* ---------- Zenkai ---------- */
.hab.zen { border-color: #7a4a12; } .hab.zen .zb { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(rgba(255,154,59,.15), rgba(255,154,59,.75)); pointer-events: none; transition: height .15s; mix-blend-mode: screen; }
.hab.zen.cheia { border-color: var(--ambar2); animation: pulsa 0.7s infinite; } .hab.zen.ativa { border-color: #fff; box-shadow: 0 0 14px var(--ambar); } .hab.zen.ativa .zb { background: linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,.8)); }
/* ---------- Caçadas ---------- */
.chip { background: #0d1220; border: 2px solid var(--linha); border-radius: 5px; padding: 3px 10px; font-family: var(--px); }
.difs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; margin-bottom: 10px; }
.dif { text-align: left; padding: 6px 10px; border-radius: 6px; background: var(--caixa2); border: 2px solid var(--linha); } .dif b { font: 400 16px var(--px); display: block; } .dif small { font-size: 11px; }
.dif.on { border-color: var(--azul); background: #16284a; } .dif.on b { color: #9fd0ff; } .dif.fechada { opacity: .5; }
.cacadas { display: grid; grid-template-columns: 1.55fr 1fr; gap: 12px; align-items: start; }
.portalL { display: grid; grid-template-columns: 150px 1fr; gap: 8px; align-items: center; padding: 10px; margin-bottom: 8px; border-radius: 8px; border: 2px solid var(--linha); background-size: 256px; image-rendering: pixelated; }
.portalL.fechada { filter: grayscale(.9) brightness(.6); }
.pInfo { text-align: center; image-rendering: auto; } .pInfo img { height: 54px; image-rendering: pixelated; display: block; margin: 0 auto 2px; } .pInfo b { font: 400 15px/1.1 var(--px); display: block; } .pInfo small { color: #9fd0ff; display: block; }
.chaveC { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; padding: 1px 6px; border-radius: 4px; background: rgba(60,40,10,.85); border: 1px solid #a8741f; color: var(--ambar2); font: 400 12px var(--px); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chaveC.dom { border-color: var(--verde); color: #b8f5c8; background: rgba(16,50,28,.85); }
.nos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; position: relative; image-rendering: auto; }
.nos::before { content: ''; position: absolute; left: 12%; right: 12%; top: 34px; border-top: 2px dashed rgba(120,170,255,.45); }
.no { position: relative; text-align: center; padding: 0; } .no b { display: inline-block; font: 400 13px var(--px); background: #0a0e17; border: 1px solid var(--linha); border-radius: 4px; padding: 0 5px; margin-top: -8px; position: relative; }
.no small { display: block; font-size: 11px; line-height: 1.15; color: var(--texto); text-shadow: 0 1px 0 #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.no.alto b { color: #ff9a8a; border-color: #7a2f2f; }
.bola { position: relative; display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto; border-radius: 50%; background: radial-gradient(#1c2740, #0b1020); border: 2px solid #4a78c9; }
.bola img { max-width: 52px; max-height: 52px; image-rendering: pixelated; }
.no.sel .bola { border-color: #fff; box-shadow: 0 0 0 3px var(--azul), 0 0 14px var(--azul); } .no:disabled { opacity: .6; }
.bola .estrela { position: absolute; right: -4px; top: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--r4); color: #20160a; font: normal 13px/20px sans-serif; }
.bola .aqui { position: absolute; left: -2px; top: -2px; color: var(--verde); font: normal 13px sans-serif; text-shadow: 0 0 4px #000; }
.bola.raro { border-color: var(--r4); box-shadow: inset 0 0 12px rgba(255,185,46,.6); } .bola.chefe { border-color: var(--vermelho); }
.cacaDet { background: var(--caixa2); border: 2px solid var(--linha); border-radius: 8px; padding: 10px; position: sticky; top: 0; }
.previa { position: relative; height: 150px; border-radius: 6px; background-size: 192px; image-rendering: pixelated; overflow: hidden; border: 2px solid #0a0e17; }
.previa .pv1 { position: absolute; left: 22%; bottom: 14px; height: 84px; image-rendering: pixelated; } .previa .pv2 { position: absolute; right: 6%; bottom: 10px; height: 118px; image-rendering: pixelated; filter: brightness(.75); transform: scaleX(-1); }
.previa .tags { position: absolute; left: 6px; top: 6px; display: flex; gap: 5px; } .previa .tags i, .tagChefe { font: normal 400 12px var(--px); background: rgba(10,14,23,.85); border: 1px solid var(--azul); color: #9fd0ff; border-radius: 4px; padding: 1px 6px; }
.previa .tags i.rec { border-color: var(--r4); color: var(--r4); } .tagChefe { position: absolute; right: 6px; bottom: 6px; border-color: var(--vermelho); color: #ff9a8a; }
.bt.entrar { width: 100%; margin: 10px 0; min-height: 44px; font-size: 18px; background: linear-gradient(#2b63b8, #1b3f7a); border-color: #7fb4ff; color: #fff; }
.quad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; } .quad > div { background: #121829; border: 1px solid var(--linha); border-radius: 5px; padding: 4px 7px; } .quad b { font: 400 16px var(--px); display: block; } .quad small { font-size: 11px; }
.quem { display: flex; gap: 12px; } .quem > div { text-align: center; } .quem .bola { width: 60px; height: 60px; } .quem .bola img { max-width: 48px; max-height: 48px; }
/* ---------- Estrelas do Desejo ---------- */
.estrelas { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; max-width: 520px; margin: 8px auto; }
.est7 { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #0d1220; border: 2px solid var(--linha); } .est7 img, .est7 span { filter: grayscale(1) brightness(.35); max-width: 76%; height: auto; }
.est7.tem { border-color: var(--r4); box-shadow: 0 0 12px rgba(255,185,46,.6); } .est7.tem img, .est7.tem span { filter: none; } .est7 b { position: absolute; right: 2px; bottom: -2px; font: 400 13px var(--px); color: var(--ambar2); text-shadow: 0 1px 0 #000; }
@media (max-width: 900px) {
  .cacadas { grid-template-columns: 1fr; } .cacaDet { order: -1; position: static; } .previa { height: 110px; } .previa .pv1 { height: 64px; } .previa .pv2 { height: 90px; }
  .portalL { grid-template-columns: 1fr; padding: 8px 6px; } .pInfo { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; text-align: left; } .pInfo img { height: 30px; margin: 0; } .pInfo small { display: inline; }
  .bola { width: 56px; height: 56px; } .bola img { max-width: 44px; max-height: 44px; } .nos::before { top: 28px; } .quad b { font-size: 14px; }
}
.cacadas > *, .portalL > *, .nos > * { min-width: 0; } #painel > .corpo { overflow-x: hidden; }
@media (max-width: 900px) { .ritmo { display: none; } .difs { grid-template-columns: repeat(2, 1fr); } .quem .bola { width: 52px; height: 52px; } }
@media (max-width: 900px) { .cacaDet .extra { display: none; } .previa { height: 96px; } }

.bola .bus { position: absolute; left: -6px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; background: #20160a; border: 1px solid var(--r4); display: grid; place-items: center; animation: pulsa 1s infinite; } .bola .bus img, .bola .bus span { width: 16px; height: 16px; font-size: 12px; }

/* Esferas de Ki e Radar de Combate */
.esf { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; font: 700 10px var(--px); font-style: normal; color: #10131f; vertical-align: -3px; background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--c) 45%, color-mix(in srgb, var(--c) 55%, #000) 100%); box-shadow: 0 0 5px var(--c); }
.esf.vazia { background: #0d1120; box-shadow: inset 0 0 0 2px var(--linha); }
.barrinha { height: 4px; background: #0d1120; border-radius: 2px; margin-top: 4px; overflow: hidden; } .barrinha i { display: block; height: 100%; background: #8af0d0; }

/* Arsenal */
.arsenal { display: grid; grid-template-columns: minmax(64px, auto) repeat(5, 1fr); gap: 5px; align-items: center; margin-top: 8px; } .arsenal b { font: 700 12px var(--px); }
.arsenal .cel { display: grid; place-items: center; height: 34px; border-radius: 6px; border: 2px solid color-mix(in srgb, var(--c) 35%, transparent); color: color-mix(in srgb, var(--c) 55%, transparent); font: 700 11px var(--px); background: #0d1120; }
.arsenal .cel.feito { background: color-mix(in srgb, var(--c) 30%, #0d1120); border-color: var(--c); color: #fff; } .arsenal .cel.pronto { border-color: var(--c); color: var(--c); cursor: pointer; box-shadow: 0 0 8px var(--c); }

/* ---------- Árvore de talentos (1.4.0) ---------- */
.tTopo { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; background: linear-gradient(90deg, #22163e, #101827); border: 2px solid #5b4a9a; }
.tPts { display: flex; align-items: center; gap: 8px; } .tPts b { font: 700 40px var(--px); color: #ffd772; line-height: 1; } .tPts small { color: #cdbfff; letter-spacing: 1px; line-height: 1.1; }
.tInfo { flex: 1; min-width: 0; } .tInfo small { display: block; }
.rIc { width: 28px; height: 28px; border: 2px solid var(--linha); border-radius: 5px; display: grid; place-items: center; opacity: .45; } .rIc.on { opacity: 1; border-color: var(--ambar2); } .rIc img { width: 22px; height: 22px; }
.tAbas { display: flex; gap: 4px; margin: 10px 0 0; border-bottom: 2px solid var(--linha); flex-wrap: wrap; }
.tAba { display: flex; align-items: center; gap: 6px; padding: 7px 12px; font: 700 13px var(--px); color: var(--fraco); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tAba.on { color: #fff; border-bottom-color: var(--ambar2); } .tAba b { background: #0d1220; border: 1px solid var(--linha); border-radius: 4px; padding: 0 6px; font-size: 12px; color: var(--ambar2); }
.tCorpo { display: grid; grid-template-columns: 1fr 290px; gap: 10px; margin-top: 8px; align-items: start; }
.tArvore { position: relative; border-radius: 8px; background: radial-gradient(ellipse at 50% 30%, #1b1430, #0a0e17 70%); border: 2px solid var(--linha); overflow: hidden; min-width: 0; }
.tArvore svg { position: absolute; inset: 0; width: 100%; height: 100%; } .tArvore line { stroke: #3a3f55; stroke-width: 3; vector-effect: non-scaling-stroke; } .tArvore line.on { stroke: #e7b54a; }
.tNo { position: absolute; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #10141f; border: 3px solid #3a3f55; display: grid; place-items: center; filter: grayscale(.85) brightness(.7); transition: transform .08s; z-index: 2; }
.tNo img { width: 34px; height: 34px; image-rendering: pixelated; } .tNo:hover { transform: scale(1.08); }
.tNo i { position: absolute; bottom: -11px; left: 50%; transform: translateX(-50%); font: 700 10.5px var(--px); font-style: normal; background: #0a0e17; border: 1px solid #3a3f55; border-radius: 4px; padding: 0 5px; white-space: nowrap; color: var(--fraco); }
.tNo.grande { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .tNo.grande img { width: 42px; height: 42px; }
.tNo.pode { filter: none; border-color: var(--ambar); box-shadow: 0 0 0 0 rgba(255,190,70,.6); animation: tPulsa 1.6s infinite; } .tNo.pode i { color: var(--ambar2); border-color: var(--ambar); }
.tNo.parcial { filter: none; border-color: #c9a245; } .tNo.parcial i { color: #ffd772; }
.tNo.cheio { filter: none; border-color: #ffd772; background: radial-gradient(#4a3510, #1d1508); box-shadow: 0 0 12px rgba(255,200,80,.45); } .tNo.cheio i { background: #ffd772; color: #2a1d05; border-color: #ffd772; }
.tNo.bloq { opacity: .55; } .tNo.sel { outline: 3px solid #b9a6ff; outline-offset: 3px; }
@keyframes tPulsa { 0% { box-shadow: 0 0 0 0 rgba(255,190,70,.55); } 70% { box-shadow: 0 0 0 10px rgba(255,190,70,0); } 100% { box-shadow: 0 0 0 0 rgba(255,190,70,0); } }
.tOu { position: absolute; border: 2px solid rgba(201,162,69,.45); border-radius: 6px; z-index: 1; pointer-events: none; }
.tOu span { position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); font: 700 9.5px var(--px); background: #1d1508; border: 1px solid #c9a245; color: #ffd772; padding: 0 6px; border-radius: 3px; white-space: nowrap; }
.tOu b { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: #10141f; border: 2px solid #c9a245; font: 700 10px var(--px); color: #ffd772; display: grid; place-items: center; }
.tRamo { position: absolute; transform: translateX(-50%); font: 700 11px var(--px); letter-spacing: 1px; text-transform: uppercase; color: #b9a6ff; white-space: nowrap; z-index: 2; } .tRamo.seg { color: #ffd772; } .tRamo.fech { color: #6b6f80; }
.tDet { padding: 12px; border-radius: 8px; background: #0d1220; border: 2px solid var(--linha); position: sticky; top: 0; } .tCab { color: #b9a6ff; letter-spacing: 1px; } .tNome { display: block; font-size: 20px; }
.tIcoG { width: 72px; height: 72px; flex: none; border: 2px solid var(--ambar); border-radius: 8px; display: grid; place-items: center; background: #1d1508; } .tIcoG img { width: 56px; height: 56px; image-rendering: pixelated; }
@media (max-width: 860px) { .tCorpo { grid-template-columns: 1fr; } .tDet { position: static; order: -1; } .tNo { width: 44px; height: 44px; margin: -22px 0 0 -22px; } .tNo img { width: 28px; height: 28px; } .tNo.grande { width: 50px; height: 50px; margin: -25px 0 0 -25px; } .tTopo { flex-wrap: wrap; } }

/* ---------- Mochila (1.4.0): guerreiro | mochila | detalhe ---------- */
.mochila3 { display: grid; grid-template-columns: minmax(250px, 300px) 1fr minmax(240px, 290px); gap: 12px; align-items: start; }
.mEquip { display: grid; grid-template-columns: auto 1fr auto; gap: 6px; padding: 8px; border-radius: 8px; background: #0d1220; border: 2px solid var(--linha); }
.slotsCol { display: flex; flex-direction: column; gap: 5px; }
.slotE { display: flex; flex-direction: column; align-items: center; gap: 1px; } .slotE small { font-size: 10.5px; color: var(--fraco); } .slotE b { font: 700 11px var(--px); color: var(--ambar2); }
.slotE .item { width: 52px; height: 52px; }
.mHeroi { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 3px; } .mHeroi img { height: 112px; image-rendering: pixelated; }
.mPoder { width: 100%; margin-top: 6px; padding: 5px; border-radius: 6px; background: linear-gradient(#3a2a10, #22180a); border: 2px solid var(--ambar); } .mPoder small { display: block; font: 700 11px var(--px); letter-spacing: 1px; color: var(--ambar2); } .mPoder b { font: 700 24px var(--px); color: #ffd772; }
.mStats { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; font: 600 12.5px var(--px); }
.mBolsa { min-width: 0; } .mBolsa .barrinha { margin-top: 4px; } .limpeza { margin-top: 10px; } .limpeza summary { cursor: pointer; color: var(--fraco); font-family: var(--px); }
.mLado { position: sticky; top: 0; } .mVazio { padding: 22px 10px; text-align: center; border: 2px dashed var(--linha); border-radius: 8px; color: var(--fraco); }
.mDet { padding: 10px; border-radius: 8px; background: #0d1220; border: 2px solid var(--linha); } .mDet .nomeItem { font-size: 17px; } .mDet > .linha > .item { width: 56px; height: 56px; flex: none; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; } .et { font-size: 12px; padding: 1px 8px; border-radius: 5px; border: 1px solid var(--linha); background: #141b2c; } .et.verde { border-color: var(--verde); color: #8fe3a5; }
.mPoderItem { display: flex; align-items: baseline; gap: 8px; padding: 6px 9px; border-radius: 6px; border: 2px solid #6b5520; background: #1d170b; } .mPoderItem b { font: 700 20px var(--px); color: #ffd772; margin-left: auto; } .mPoderItem em { font-style: normal; font: 700 13px var(--px); }
.detalhe.sem { margin: 6px 0; } .detalhe.sem > small:first-of-type { display: none; }
@media (max-width: 980px) { .mochila3 { grid-template-columns: 1fr; } .mLado { position: static; order: -1; } .mLado:has(.mVazio) { display: none; } }
.missao .bt, .missao .premio, .missao .rostos { position: relative; z-index: 1; } .missProp { opacity: .55; }

/* ---------- Desmontar (1.5.0) ---------- */
.dTopo { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; background: linear-gradient(90deg, #1d2a44, #101827); border: 2px solid #3e5a8a; } .dTopo > img { width: 56px; height: 56px; } .dTopo small { display: block; }
.dCorpo { display: grid; grid-template-columns: 200px 1fr; gap: 10px; margin-top: 10px; align-items: start; }
.dLado { display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 8px; background: #0d1220; border: 2px solid var(--linha); } .dTit { color: #b9a6ff; letter-spacing: 1px; margin-top: 6px; }
.dFiltro { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 5px; background: #141b2c; border: 2px solid var(--linha); font: 700 12.5px var(--px); color: var(--c, #d9e6f2); } .dFiltro.on { border-color: var(--ambar2); background: #2a2010; } .dFiltro b { color: var(--fraco); }
.dLinhas { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; max-height: 52vh; overflow-y: auto; }
.dLinha { display: flex; align-items: center; gap: 9px; padding: 5px 9px; border-radius: 6px; background: #0d1220; border: 2px solid transparent; text-align: left; } .dLinha:hover { border-color: var(--linha); } .dLinha.on { border-color: #ff6aa8; background: #2a1222; } .dLinha.trava { opacity: .5; cursor: default; }
.dLinha > img.ic { width: 34px; height: 34px; } .dValor { display: flex; align-items: center; gap: 3px; } .dValor small { display: inline-flex !important; align-items: center; } .dLinha small { display: block; color: var(--fraco); } .dValor { font: 700 13px var(--px); white-space: nowrap; }
.dCaixa { width: 20px; height: 20px; border-radius: 4px; border: 2px solid var(--linha); display: grid; place-items: center; font-weight: 800; color: #ff6aa8; flex: none; } .dLinha.on .dCaixa { border-color: #ff6aa8; }
.dRodape { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: #141b2c; border: 2px solid var(--linha); } .dRodape small { display: block; }
.dRodape .bt.perigo { min-width: 170px; font-size: 16px; background: linear-gradient(#ff5c9a, #c2306c); border-color: #ff8ab8; color: #fff; } .dRodape .bt[disabled] { opacity: .45; }
@media (max-width: 760px) { .dCorpo { grid-template-columns: 1fr; } .dLado { flex-direction: row; flex-wrap: wrap; } .dTit { width: 100%; } .dFiltro { flex: 1 1 40%; } }

/* ---------- Oficina em abas (1.5.1) ---------- */
.fAbas { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 10px; }
.fAba { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border-radius: 7px; background: #0d1220; border: 2px solid var(--linha); font: 700 12.5px var(--px); color: var(--fraco); letter-spacing: .5px; }
.fAba img.ic { width: 28px; height: 28px; } .fAba.on { color: #fff; border-color: var(--ambar2); background: linear-gradient(#3a2a10, #1d1508); box-shadow: 0 3px 0 #0a0e17; }
.fMats { flex-wrap: wrap; justify-content: flex-end; max-width: 240px; } .fMats span { background: #0d1220; border: 1px solid var(--linha); border-radius: 5px; padding: 1px 6px; }
.fCorpo { display: grid; grid-template-columns: 1fr minmax(260px, 330px); gap: 12px; margin-top: 10px; align-items: start; }
.fAcao { padding: 12px; border-radius: 8px; background: #0d1220; border: 2px solid var(--linha); position: sticky; top: 0; } .fAcao > .linha > .item { width: 56px; height: 56px; flex: none; }
.fGrande { display: flex; align-items: center; justify-content: space-around; gap: 8px; padding: 10px; border-radius: 7px; background: #1d1508; border: 2px solid #6b5520; text-align: center; } .fGrande b { font-size: 20px; } .fGrande small { display: block; } .fGrande .chance { font: 700 22px var(--px); color: #8fe3a5; }
.fGrande .item { width: 48px; height: 48px; }
.fCusto { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; } .fCusto span { display: inline-flex; align-items: center; gap: 4px; background: #141b2c; border: 1px solid var(--linha); border-radius: 5px; padding: 3px 8px; font: 600 13px var(--px); }
.fBotao { width: 100%; font-size: 17px; min-height: 42px; }
@media (max-width: 760px) { .fAbas { grid-template-columns: repeat(3, 1fr); } .fCorpo { grid-template-columns: 1fr; } .fAcao { position: static; order: -1; } .dTopo { flex-wrap: wrap; } .fMats { max-width: none; justify-content: flex-start; } }

/* ---------- Loja VIP (1.6.0) ---------- */
.lojaGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.lojaCard { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 10px; background: #0d1220; border: 2px solid var(--linha); }
.vipCard { border-color: #e7b54a; background: linear-gradient(160deg, #2b200a, #0d1220 55%); box-shadow: 0 0 18px rgba(231,181,74,.18); }
.lojaTopo { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; } .lojaTopo b { font-size: 20px; color: #ffd772; }
.lojaPreco { font: 700 22px var(--px); color: #fff; text-align: right; } .lojaPreco small { display: block; font-size: 11px; color: var(--fraco); }
.lojaBen { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; } .lojaBen li { display: flex; align-items: center; gap: 8px; } .lojaBen img.ic { width: 22px; height: 22px; }
.lojaNota { color: var(--fraco); } .lojaCard .fBotao { margin-top: auto; }
.pixBox { margin-top: 10px; border-color: #5fd47c; }
.vipN { color: #ffd772; } .seloVip { font: 700 9.5px var(--px); background: #e7b54a; color: #2a1d05; border-radius: 3px; padding: 0 4px; vertical-align: 1px; }

/* ---------- Mercado e Grupo (1.8.0) ---------- */
.mLista { display: flex; flex-direction: column; gap: 4px; max-height: 56vh; overflow-y: auto; }
.mLinha { display: flex; align-items: center; gap: 9px; padding: 6px 9px; border-radius: 6px; background: #0d1220; border: 1px solid var(--linha); } .mLinha small { display: block; color: var(--fraco); } .mLinha .item { width: 40px; height: 40px; flex: none; }
.mLinha > img.ic { width: 32px; height: 32px; } .mVend { min-width: 80px; text-align: right; } .mPreco { font-family: var(--px); color: #ffd772; white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; }
.gMembro { padding: 4px 0; border-top: 1px solid var(--linha); } .gMembro img { height: 30px; vertical-align: middle; image-rendering: pixelated; }
@media (max-width: 700px) { .mVend { display: none; } }

#btSair { position: fixed; right: calc(50% + 330px); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 40; font-size: 15px; min-height: 40px; padding: 6px 16px; }
@media (max-width: 900px) { #btSair { right: auto; left: 50%; transform: translateX(-50%); bottom: calc(78px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- 1.11.1: HUD mais limpo (etapa 1) ---------- */
:root { --z-hud: 5; --z-chat: 12; --z-sair: 15; --z-painel: 20; --z-titulo: 30; }
#btSair { z-index: var(--z-sair); }
.barra.xp { height: 11px; } .barra.xp span { font-size: 10px; line-height: 11px; }
.hab .auto { font-size: 10px; } .item .nv { font-size: 11px; } .equipados .item small { font-size: 11px; }
:focus-visible { outline: 2px solid var(--ambar2); outline-offset: 3px; }
#chat.fechado #chatLog { height: 46px; }
@media (max-width: 900px) {
  #menu { gap: 4px; } #menu button { min-height: 40px; height: auto; }
}
/* celular comum (360-480px): técnicas em cima, poções/Zenkai/AUTO embaixo */
@media (max-width: 480px) {
  #barraHab { flex-wrap: wrap; justify-content: center; align-items: center; width: 222px; gap: 6px; }
  .hab { width: 48px; height: 48px; } .hab.pocao { width: 44px; height: 44px; order: 2; } .hab.zen { order: 2; } #btAuto { order: 3; width: 56px; height: 48px; }
  #chat, #chat.aberto { bottom: calc(118px + env(safe-area-inset-bottom, 0px)); }
  #missao { bottom: calc(166px + env(safe-area-inset-bottom, 0px)); } #avisos { bottom: calc(236px + env(safe-area-inset-bottom, 0px)); }
  #btSair { bottom: calc(118px + env(safe-area-inset-bottom, 0px)); left: auto; right: 8px; transform: none; }
}
.presTrilha { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
@media (max-width: 700px) { .presTrilha { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.presDia { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; border: 1px solid var(--borda); border-radius: 4px; padding: 3px 2px 4px; background: rgba(10,14,23,.6); min-height: 0; }
.presDia > b { align-self: flex-start; font: 700 10px var(--px); color: var(--sutil, var(--fraco)); line-height: 1; }
.presDia .pdIc { width: 26px; height: 26px; display: grid; place-items: center; } .presDia .pdIc .ic { width: 26px; height: 26px; font-size: 18px; }
.presDia .pdQ { font: 700 11px var(--px); font-variant-numeric: tabular-nums; line-height: 1; } .presDia .pdQ i { font-style: normal; color: var(--ambar2); margin-left: 1px; }
.presDia.marco { border-color: var(--ambar); background: rgba(232,150,79,.12); } .presDia.marco > b { color: var(--ambar2); }
.presDia.feito { opacity: .4; } .presDia.feito::after { content: '✓'; position: absolute; right: 3px; top: 0; font-size: 11px; color: #7ee08a; font-weight: 800; }
.presDia.hoje { border-color: var(--ambar2); box-shadow: 0 0 0 1px var(--ambar2) inset; opacity: 1; }
.lojaPreco s { display: block; font-size: 13px; color: var(--fraco); text-decoration-thickness: 2px; text-decoration-color: #ff6b78; }
.lojaQtd { display: flex; align-items: center; gap: 5px; margin: 8px 0 2px; } .lojaQtd small { margin-left: auto; color: var(--fraco); } .lojaQtd .bt.on { border-color: var(--ambar2); color: var(--ambar2); }

/* ---------- 1.13.0: paleta própria grafite + cobre, bordas finas, um destaque só ---------- */
:root {
  --fundo: #0d1318; --caixa: #141c23; --caixa2: #1b262f; --borda: #2a3741; --linha: #3a4a55;
  --ambar: #e8964f; --ambar2: #f5c08a; --texto: #edf1ef; --fraco: #a3b1b6; --sutil: #7d8f96;
  --verde: #6fcf97; --vermelho: #e8736b; --azul: #6fa8d6;
  --cobre-fundo: #3a2a1d; --sombra: 0 10px 28px #00000073;
}
.caixa { border-width: 1px; border-radius: 6px; box-shadow: var(--sombra), inset 0 1px 0 #ffffff0a; background: rgba(20,28,35,.94); }
.bt { border-width: 1px; border-radius: 4px; box-shadow: none; }
.bt:hover { filter: none; background: #22303a; border-color: var(--linha); } .bt:active { transform: translateY(1px); }
.bt.ouro { background: var(--ambar); border-color: var(--ambar); color: #1f150c; } .bt.ouro:hover { background: var(--ambar2); }
.bt.verde { background: #1d3a2b; border-color: #3f8a62; } .bt.perigo { background: #3a1d1d; border-color: #8a4040; }
.bt.on, .abas .bt.on { background: var(--cobre-fundo); border-color: var(--ambar); color: var(--ambar2); }
.cartao { border-width: 1px !important; box-shadow: none !important; border-radius: 4px; }
.item { border-width: 1px; border-radius: 4px; box-shadow: none; }
#menu button { border-width: 1px; border-radius: 4px; box-shadow: var(--sombra); background: rgba(20,28,35,.94); }
#menu button:hover { border-color: var(--ambar); }
.hab { border-width: 1px; border-radius: 4px; box-shadow: var(--sombra); }
#painel > header h2 { color: var(--texto); }
h3 { font-size: 12px; letter-spacing: .1em; color: var(--ambar); border-bottom: 1px solid var(--borda); padding-bottom: 4px; }
.px, b, .lojaPreco, #hOuro, #hBrasa, #hDiam, #hEss { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* bônus ativos na ficha */
.buffs { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; } .buffs:empty { display: none; }
.bf { font-size: 10.5px; padding: 1px 6px; border-radius: 3px; border: 1px solid var(--borda); background: rgba(13,19,24,.85); white-space: nowrap; }
.bf b { font-variant-numeric: tabular-nums; margin-left: 3px; color: var(--texto); }
.bf.xp { border-color: #e8964f88; color: var(--ambar2); } .bf.vip { border-color: #f5c08a88; color: #ffd98a; } .bf.dia { border-color: #6fcfb088; color: #8af0d0; }

/* menu em cartões */
.menuGrade { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.menuCard { position: relative; display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px; min-height: 64px; border: 1px solid var(--borda); border-radius: 4px; background: var(--caixa2); }
.menuCard:hover { border-color: var(--ambar); } .menuCard b { display: block; font-family: var(--px); font-size: 15px; } .menuCard small { display: block; font-size: 12px; line-height: 1.3; }
.menuCard .ic { width: 36px; height: 36px; flex: none; } .menuCard .pt { position: absolute; right: 6px; top: 6px; }
.menuCard.loja { border-color: #e8964f66; background: linear-gradient(90deg, #2a1f16, var(--caixa2)); }
.mBusca { width: 100%; margin-top: 8px; min-height: 40px; padding: 6px 10px; border-radius: 4px; border: 1px solid var(--borda); background: var(--fundo); color: var(--texto); font: inherit; user-select: text; -webkit-user-select: text; }
.mBusca:focus { border-color: var(--ambar); outline: none; }
#menu .btMenu { border-color: var(--ambar); }
/* celular: só o botão Menu na lateral */
@media (max-width: 480px) { #menu button:not(.btMenu) { display: none; } #topo { right: 8px; } }
@media (max-width: 900px) { #topo { top: 128px; } }

/* 1.18.0: raridades Mítico e Divino */
:root { --r5: #ff5a7a; --r6: #3ff0ff; }
.r5 { border-color: var(--r5); box-shadow: inset 0 0 10px rgba(255,90,122,.55); } .r6 { border-color: var(--r6); box-shadow: inset 0 0 12px rgba(63,240,255,.6), 0 0 6px rgba(63,240,255,.4); }
.c5 { color: var(--r5); } .c6 { color: var(--r6); }

/* ranking: pódio com tronos */
.rankCl .bt { gap: 4px; } .rkIc { width: 20px; height: 20px; image-rendering: pixelated; object-fit: contain; }
.podio { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 10px; align-items: end; margin: 10px 0 14px; }
.pod { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 8px 6px 10px; border-radius: 6px; border: 1px solid var(--borda); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.25)); min-width: 0; }
.pod b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--px); }
.pod.p1 { border-color: #e8b54f; background: linear-gradient(180deg, rgba(232,181,79,.22), rgba(0,0,0,.3)); } .pod.p2 { border-color: #b9c6d6; background: linear-gradient(180deg, rgba(185,198,214,.16), rgba(0,0,0,.3)); } .pod.p3 { border-color: #c98a55; background: linear-gradient(180deg, rgba(201,138,85,.16), rgba(0,0,0,.3)); }
.pod.vazio { border-style: dashed; opacity: .3; min-height: 120px; }
.podCena { position: relative; width: 100%; height: 150px; display: flex; align-items: flex-end; justify-content: center; } .pod.p1 .podCena { height: 175px; }
.podTrono { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; image-rendering: pixelated; opacity: .95; }
.podHeroi { position: relative; height: 84px; image-rendering: pixelated; margin-bottom: 12px; filter: drop-shadow(0 4px 4px rgba(0,0,0,.6)); } .pod.p1 .podHeroi { height: 98px; }
.podN { position: absolute; top: 4px; left: 6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--px); color: #1a120a; background: #b9c6d6; } .pod.p1 .podN { background: #f5c451; } .pod.p3 .podN { background: #d4935c; }
.podT { color: var(--ambar2) !important; font-style: italic; } .podV { font-size: 13px; color: var(--texto); }
.rankEu { position: sticky; bottom: 0; margin-top: 8px; padding: 8px 12px; border: 1px solid var(--ambar); border-radius: 6px; background: var(--cobre-fundo); }
@media (max-width: 600px) { .podCena { height: 110px; } .pod.p1 .podCena { height: 130px; } .podHeroi { height: 60px; } .pod.p1 .podHeroi { height: 70px; } }

/* rank marcial */
.rkTopo { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--rc); border-radius: 6px; background: linear-gradient(90deg, color-mix(in srgb, var(--rc) 22%, transparent), rgba(0,0,0,.2)); margin-top: 6px; }
.rkTopo small { display: block; letter-spacing: .15em; font-size: 10px; } .rkTopo b { display: block; font: 700 24px var(--px); color: var(--rc); } .rkTopo span { color: var(--fraco); font-size: 12px; }
.rkBonus { font: 700 13px var(--px); color: var(--texto); text-align: right; }
.rkEscada { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; margin-top: 10px; }
.rkDegrau { position: relative; text-align: center; padding: 8px 4px; border: 1px solid var(--borda); border-radius: 4px; background: rgba(0,0,0,.25); opacity: .55; }
.rkDegrau b { display: block; font: 700 12px var(--px); color: var(--rc); } .rkDegrau small { font-size: 10px; } .rkNum { display: block; font: 700 18px var(--px); color: var(--rc); opacity: .8; }
.rkDegrau.feito { opacity: .85; } .rkDegrau.eu { opacity: 1; border-color: var(--rc); box-shadow: 0 0 0 1px var(--rc) inset, 0 0 12px color-mix(in srgb, var(--rc) 40%, transparent); } .rkDegrau.prox { opacity: .9; border-style: dashed; border-color: var(--rc); }
/* Oficina: seções vestidas / outras */
.ofSec { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 6px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.08); font: 700 12px/1 inherit; letter-spacing: 1.5px; text-transform: uppercase; color: #c9b8ff; }
.ofSec b { background: rgba(255,255,255,.08); border-radius: 6px; padding: 3px 7px; color: #fff; font-size: 11px; }

/* Mercado 1.24: vitrine em cartões com categorias */
.mAbas { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 10px; }
.mAba { background: none; border: 0; border-bottom: 2px solid transparent; color: #aab; padding: 8px 12px; font: inherit; font-weight: 700; display: flex; gap: 6px; align-items: center; cursor: pointer; }
.mAba.on { color: #fff; border-color: #9b6bff; background: linear-gradient(transparent, rgba(155,107,255,.14)); }
.mCorpo { display: grid; grid-template-columns: 170px 1fr; gap: 12px; }
.mCats { display: flex; flex-direction: column; gap: 3px; }
.mRot { font-size: 10px; letter-spacing: 1.5px; color: #8a8fa8; font-weight: 700; margin: 2px 4px; }
.mCat { display: flex; gap: 8px; align-items: center; background: none; border: 1px solid transparent; border-radius: 6px; color: #cfd3e6; padding: 7px 8px; font: inherit; text-align: left; cursor: pointer; }
.mCat:hover { background: rgba(255,255,255,.04); }
.mCat.on { border-color: #9b6bff; background: rgba(155,107,255,.14); color: #fff; font-weight: 700; }
.mDiam { font-size: 16px; width: 20px; text-align: center; }
.mDiam.grande { font-size: 30px; width: auto; }
.mBusca2 { display: flex; gap: 6px; margin-bottom: 8px; }
.mBusca2 input { flex: 1; }
.mFiltro { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.mChip { display: flex; gap: 5px; align-items: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 6px; color: #cfd3e6; padding: 4px 9px; font: inherit; font-size: 12px; cursor: pointer; }
.mChip img { height: 18px; image-rendering: pixelated; }
.mChip.on { border-color: #9b6bff; background: rgba(155,107,255,.18); color: #fff; }
.mGrade { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 10px; }
.mCard { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; padding: 12px 10px 8px; border: 1px solid var(--rc); border-radius: 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 22%, transparent), rgba(10,12,20,.6) 70%); box-shadow: inset 0 2px 0 var(--rc); }
.mCard .mNv { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.15); border-radius: 4px; padding: 1px 6px; font-size: 11px; font-weight: 700; }
.mIc { min-height: 58px; display: flex; align-items: center; justify-content: center; }
.mIc .item { transform: scale(1.5); margin: 8px; }
.mTags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; min-height: 22px; }
.mTag { font-size: 11px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1); border-radius: 4px; padding: 2px 6px; }
.mPe { display: flex; gap: 6px; align-items: center; justify-content: space-between; width: 100%; border-top: 1px solid rgba(255,255,255,.08); padding-top: 6px; margin-top: auto; }
.mPe .mPreco { color: #ffd772; font-size: 14px; display: flex; gap: 3px; align-items: center; }
.mCard .mVend { display: flex; justify-content: space-between; width: 100%; font-size: 11px; color: #8a8fa8; }
.mPags { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 10px; }
@media (max-width: 620px) {
  .mCorpo { grid-template-columns: 1fr; }
  .mCats { flex-direction: row; overflow-x: auto; }
  .mCats .mRot { display: none; }
  .mCat { white-space: nowrap; }
  .mGrade { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* 1.25 Fonte do Ki */
.fonteKi { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.fBanner { position: relative; height: 270px; border: 1px solid #3c5a4a; border-radius: 10px; overflow: hidden; background: #0b0a1e; }
.fCeu { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 110%, rgba(150,90,255,.35), transparent 60%), radial-gradient(ellipse at 20% 0%, rgba(60,120,255,.25), transparent 50%), linear-gradient(#0d0b26, #15102e); }
.fEstrelas { position: absolute; inset: -50%; background-image: radial-gradient(2px 2px at 20px 30px, #fff, transparent), radial-gradient(2px 2px at 140px 80px, #ffd772, transparent), radial-gradient(1px 1px at 90px 140px, #fff, transparent), radial-gradient(2px 2px at 200px 20px, #8fe0ff, transparent), radial-gradient(1px 1px at 60px 190px, #c59bff, transparent); background-size: 230px 220px; animation: fEstr 60s linear infinite; opacity: .8; }
@keyframes fEstr { to { transform: translateY(220px); } }
.fBacia { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); height: 120px; image-rendering: pixelated; filter: drop-shadow(0 0 18px rgba(120,180,255,.45)); animation: fBoia 4s ease-in-out infinite; }
.fCristal { position: absolute; left: 50%; top: 6px; height: 60px; image-rendering: pixelated; transform: translateX(-50%); filter: drop-shadow(0 0 14px rgba(190,140,255,.9)); animation: fCris 3s ease-in-out infinite; }
@keyframes fBoia { 50% { transform: translate(-50%, -5px); } }
@keyframes fCris { 0%, 100% { transform: translate(-50%, 0) rotate(-3deg); } 50% { transform: translate(-50%, -10px) rotate(3deg); } }
.fRaio { position: absolute; left: 50%; top: 62px; width: 4px; height: 70px; margin-left: -2px; background: linear-gradient(#c59bff, rgba(197,155,255,0)); opacity: .7; animation: fPisca 1.4s ease-in-out infinite; }
.fonteKi:not(.ativa) .fRaio { opacity: .25; }
@keyframes fPisca { 50% { opacity: .3; } }
.fPill { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border: 1px solid #ffd772; border-radius: 999px; background: rgba(0,0,0,.55); color: #ffe9a8; font-weight: 800; font-size: 12px; letter-spacing: 1px; }
.fPill b { margin-left: 6px; font-variant-numeric: tabular-nums; }
.fPill.fechadaP { border-color: #6a7cff; color: #b9c4ff; }
.fPremio { position: absolute; top: 44px; left: 10px; padding: 8px 14px; border: 1px solid #3fae6a; border-radius: 6px; background: rgba(10,40,25,.75); text-align: center; }
.fPremio small { display: block; font-size: 10px; color: #8af0b0; letter-spacing: 1px; }
.fPremio b { display: block; font-size: 30px; color: #b6ffb0; line-height: 1; text-shadow: 0 0 10px rgba(120,255,150,.6); }
.fPremio b span { font-size: 18px; color: #fff; }
.fAnel { position: absolute; top: 30px; right: 14px; width: 92px; height: 92px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(#141030 58%, transparent 60%), conic-gradient(#ffd772 calc(var(--p) * 1%), rgba(255,255,255,.12) 0); box-shadow: 0 0 18px rgba(255,215,114,.35); }
.fAnel b { font-size: 20px; color: #fff; }
.fAnel small { font-size: 7px; letter-spacing: .5px; color: #aab; max-width: 60px; }
.fTitulo { position: absolute; left: 0; right: 0; bottom: 64px; text-align: center; font: 900 30px/1 Impact, 'Segoe UI Black', sans-serif; letter-spacing: 2px; color: #fff; text-shadow: 0 3px 0 #2a1b5a, 0 0 18px rgba(197,155,255,.8); }
.fChips { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.fChips span { display: flex; align-items: center; gap: 4px; padding: 2px 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(0,0,0,.55); font-size: 12px; font-weight: 700; }
.fComo { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); padding: 3px 14px; border: 1px solid #c9973a; border-radius: 999px; background: #2a2010; color: #ffd772; font: 800 11px/1.4 inherit; letter-spacing: 1px; cursor: pointer; }
.fComoTxt { font-size: 13px; }
.fAtivo { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid #3c6a4f; border-radius: 8px; background: linear-gradient(90deg, rgba(40,90,60,.35), rgba(20,20,30,.6)); }
.fAtivo b { color: #b6ffb0; }
.fAtivo small { display: block; color: #aab; }
.fJoia { font-size: 28px; color: #7dff9b; text-shadow: 0 0 12px #7dff9b; animation: fPisca 1.6s infinite; }
.fRest { padding: 6px 14px; border: 1px solid #c9973a; border-radius: 6px; background: rgba(0,0,0,.45); text-align: center; }
.fRest small { display: block; font-size: 9px; color: #c9b089; letter-spacing: 1px; }
.fRest b { font: 900 28px/1 'Segoe UI Black', sans-serif; color: #ffd772; font-variant-numeric: tabular-nums; }
.fDuas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fFonte { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 8px; }
.fFonte.ouro { border: 1px solid #a8822e; background: linear-gradient(180deg, rgba(90,65,20,.35), rgba(15,13,20,.7)); }
.fFonte.diam { border: 1px solid #3a86b8; background: linear-gradient(180deg, rgba(20,60,95,.35), rgba(15,13,20,.7)); }
.fNome { display: flex; gap: 6px; align-items: center; }
.ouro .fNome { color: #ffd772; } .diam .fNome { color: #8fe0ff; }
.fEstado { font-size: 11px; padding: 2px 8px; border: 1px solid rgba(255,255,255,.15); border-radius: 4px; background: rgba(0,0,0,.4); }
.fMeio { display: flex; gap: 12px; align-items: flex-start; }
.fTubo { position: relative; width: 74px; height: 120px; border-radius: 14px 14px 22px 22px; border: 2px solid rgba(255,255,255,.25); background: rgba(0,0,0,.45); overflow: hidden; flex: none; }
.fTubo i { position: absolute; left: 0; right: 0; bottom: 0; transition: height .6s; }
.fTubo.ouro i { background: linear-gradient(90deg, #b8801c, #ffd772 45%, #c8901e); box-shadow: 0 0 16px #ffd772; }
.fTubo.diam i { background: linear-gradient(90deg, #1a5aa8, #6fd0ff 45%, #2266b8); box-shadow: 0 0 16px #6fd0ff; }
.fTubo i::before { content: ''; position: absolute; left: 0; right: 0; top: -4px; height: 8px; background: rgba(255,255,255,.5); border-radius: 50%; animation: fOnda 1.8s ease-in-out infinite; }
@keyframes fOnda { 50% { transform: scaleX(.8) translateY(2px); } }
.fTubo b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; text-shadow: 0 2px 4px #000; }
.fValor { font: 900 26px/1.1 'Segoe UI Black', sans-serif; }
.ouro .fValor { color: #ffd772; } .diam .fValor { color: #8fe0ff; }
.fOk { color: #7dff9b; font-weight: 700; font-size: 13px; margin: 4px 0; }
.fMinha { margin-top: 6px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; background: rgba(0,0,0,.3); display: flex; flex-direction: column; }
.fFechada { padding: 8px 10px; border: 1px dashed rgba(255,255,255,.18); border-radius: 6px; font-size: 12px; color: #aab; }
.fDoar { gap: 5px; flex-wrap: wrap; }
.bt.azul { background: #1f5f9a; border-color: #4fa8e8; color: #fff; }
.fTopo { border-top: 1px solid rgba(255,255,255,.08); padding-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.fDoador { position: relative; display: flex; gap: 8px; align-items: center; padding: 5px 8px; border-radius: 4px; background: rgba(0,0,0,.3); overflow: hidden; }
.fDoador::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: rgba(255,255,255,.07); }
.fDoador b { flex: 1; position: relative; } .fDoador span { position: relative; font-weight: 700; }
.ouro .fDoador span:last-child { color: #ffd772; } .diam .fDoador span:last-child { color: #8fe0ff; }
.fMed { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; color: #1a1408; }
.fMed.m1 { background: #ffd772; } .fMed.m2 { background: #cfd6e6; } .fMed.m3 { background: #d0925a; } .fMed.m4 { background: #4a5068; color: #fff; }
@media (max-width: 620px) {
  .fDuas { grid-template-columns: 1fr; }
  .fBanner { height: 250px; }
  .fPremio { top: 40px; padding: 5px 9px; } .fPremio b { font-size: 22px; }
  .fAnel { width: 70px; height: 70px; } .fAnel b { font-size: 15px; }
  .fTitulo { font-size: 24px; }
}

.fCanvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.fBanner { height: auto; aspect-ratio: 480 / 200; min-height: 230px; }
.fTitulo { bottom: 56px; font-size: 28px; }

/* 1.25: barra de rolagem fina e temática (âmbar com brilho) */
* { scrollbar-width: thin; scrollbar-color: #c9772a rgba(10,12,20,.6); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(10,12,20,.65); border-left: 1px solid rgba(255,255,255,.05); border-radius: 8px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--ambar2), var(--ambar) 55%, #b4521c); border-radius: 8px; border: 2px solid rgba(10,12,20,.65); box-shadow: 0 0 6px rgba(255,154,59,.6); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #ffe39a, var(--ambar2)); }
::-webkit-scrollbar-button { display: none; height: 0; }
::-webkit-scrollbar-corner { background: transparent; }

/* 1.26: peças de outra classe e fusão */
.item.outraCl { filter: saturate(.55) brightness(.85); }
.item.outraCl::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,60,80,.12) 0 4px, transparent 4px 8px); pointer-events: none; border-radius: inherit; }
.item .clIc { position: absolute; left: 1px; bottom: 1px; height: 14px; image-rendering: pixelated; filter: drop-shadow(0 0 1px #000); }
.item.marcada { outline: 2px solid var(--ambar2); box-shadow: 0 0 8px var(--ambar); }
.fusaoMarc { display: flex; gap: 6px; margin: 6px 0; }
.fusaoMarc .item.vazio { display: flex; align-items: center; justify-content: center; color: #8a8fa8; font-size: 20px; }
.fusaoCand { max-height: 210px; overflow-y: auto; }

/* 1.27: efeito da Oficina e comparação de peças */
.fAcao { position: sticky; overflow: visible; }
.fAcao.fxOk { animation: fxOk .8s ease-out; }
@keyframes fxOk { 0% { box-shadow: 0 0 0 0 var(--fx), inset 0 0 0 0 var(--fx); border-color: var(--fx); } 25% { box-shadow: 0 0 34px 6px var(--fx), inset 0 0 40px -6px var(--fx); border-color: var(--fx); } 100% { box-shadow: 0 0 0 0 transparent, inset 0 0 0 0 transparent; } }
.fAcao.fxOk .item, .fAcao.fxOk .fGrande { animation: fxPulo .5s ease-out; }
@keyframes fxPulo { 30% { transform: scale(1.18); filter: brightness(1.8) drop-shadow(0 0 10px var(--fx)); } 100% { transform: scale(1); } }
.fAcao.fxFalha { animation: fxTreme .45s; }
@keyframes fxTreme { 0%, 100% { transform: translateX(0); } 15% { transform: translateX(-8px) rotate(-.6deg); } 30% { transform: translateX(7px) rotate(.5deg); } 45% { transform: translateX(-5px); } 60% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.fAcao.fxFalha::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(rgba(255,60,60,.35), transparent 70%); animation: fxSome .5s forwards; pointer-events: none; }
@keyframes fxSome { to { opacity: 0; } }
.faisca { position: absolute; top: 40%; width: 4px; height: 4px; border-radius: 1px; pointer-events: none; box-shadow: 0 0 6px currentColor; animation: fxFaisca .9s ease-out forwards; z-index: 5; }
@keyframes fxFaisca { 0% { transform: translate(0, 0) scale(1.4); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(.3); opacity: 0; } }
.cmp { margin: 6px 0; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; overflow: hidden; }
.cmpCab, .cmpL, .cmpTot { display: grid; grid-template-columns: minmax(0,1fr) auto auto auto; gap: 8px; font-size: 13px; align-items: center; padding: 4px 8px; font-variant-numeric: tabular-nums; }
.cmpCab { background: rgba(255,255,255,.04); } .cmpCab small { text-align: right; color: var(--fraco); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.cmpL:nth-child(odd) { background: rgba(255,255,255,.02); }
.cmpL .cmpV { text-align: right; color: var(--fraco); } .cmpL b { text-align: right; }
.cmpD { text-align: right; font-weight: 800; font-size: 12px; min-width: 44px; white-space: nowrap; color: var(--fraco); }
.cmpD.mais, .cmpTot.mais span:last-child { color: #5fd47c; } .cmpD.menos, .cmpTot.menos span:last-child { color: #ff6b6b; }
.cmpTot { grid-template-columns: minmax(0,1fr) auto auto; border-top: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.25); font-weight: 700; }
.cmpTot span:last-child { text-align: right; font-weight: 900; }
@media (prefers-reduced-motion: reduce) { .fAcao.fxOk, .fAcao.fxFalha, .faisca { animation: none !important; } }

/* selo grande no meio do painel da Oficina (troca as faíscas) */
.fxSelo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 6; }
.fxSelo b { position: relative; font: 900 46px/1 Impact, 'Segoe UI Black', sans-serif; letter-spacing: 2px; color: #fff; -webkit-text-stroke: 2px #000; animation: fxSeloIn 1.1s cubic-bezier(.2,1.6,.4,1) forwards; }
.fxSelo.ok b { text-shadow: 0 0 18px var(--fx), 0 0 40px var(--fx), 0 4px 0 #000; }
.fxSelo.falha b { color: #ff6b6b; text-shadow: 0 0 16px #ff3040, 0 4px 0 #000; }
.fxRaios { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: repeating-conic-gradient(var(--fx) 0 8deg, transparent 8deg 24deg); -webkit-mask: radial-gradient(transparent 22%, #000 24%, transparent 70%); mask: radial-gradient(transparent 22%, #000 24%, transparent 70%); animation: fxRaios 1.1s ease-out forwards; opacity: .8; }
@keyframes fxSeloIn { 0% { transform: scale(2.4); opacity: 0; } 18% { transform: scale(1); opacity: 1; } 75% { transform: scale(1); opacity: 1; } 100% { transform: scale(.9) translateY(-14px); opacity: 0; } }
@keyframes fxRaios { 0% { transform: scale(.3) rotate(0); opacity: 0; } 20% { opacity: .85; } 100% { transform: scale(1.3) rotate(60deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fxSelo b, .fxRaios { animation-duration: .01s; } }

/* ======== 1.28 Mochila nova (rollback: backups/zenkai-antes-mochila-*.tgz) ======== */
/* células: cantos cortados, brilho da raridade por baixo, sobe ao passar o mouse */
.item { --rcor: #4a556b; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); border-radius: 0; background: linear-gradient(180deg, #121828 0%, #0b0f1a 60%, color-mix(in srgb, var(--rcor) 30%, #0b0f1a) 100%); border-color: color-mix(in srgb, var(--rcor) 80%, #000); transition: transform .12s, filter .12s; }
.item.r1 { --rcor: var(--r1); } .item.r2 { --rcor: var(--r2); } .item.r3 { --rcor: var(--r3); } .item.r4 { --rcor: var(--r4); } .item.r5 { --rcor: #ff5a7a; } .item.r6 { --rcor: #3ff0ff; }
.item::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(transparent, color-mix(in srgb, var(--rcor) 45%, transparent)); pointer-events: none; }
.item.r5::before, .item.r6::before { animation: rBrilho 2.4s ease-in-out infinite; }
@keyframes rBrilho { 50% { opacity: .45; } }
button.item:hover { transform: translateY(-1px); filter: brightness(1.18); }
.item.sel { outline: none; box-shadow: inset 0 0 0 2px #fff, inset 0 0 12px var(--rcor); }
.item .up { right: 2px; top: 1px; font-size: 13px; color: #5fff8a; text-shadow: 0 0 4px #1aff6a, 0 1px 0 #000; animation: upSobe 1.4s ease-in-out infinite; }
@keyframes upSobe { 50% { transform: translateY(-2px); } }
.item.marcada { outline: none; box-shadow: inset 0 0 0 2px var(--ambar2), inset 0 0 14px var(--ambar); }
.item.marcada::after { content: '✓'; position: absolute; top: 1px; right: 4px; font-weight: 900; color: var(--ambar2); text-shadow: 0 1px 0 #000; }
/* capacidade em blocos */
.mCap small { color: var(--fraco); font-weight: 700; }
.capBar { height: 8px; margin-top: 4px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 7px, transparent 7px 9px); border-radius: 2px; overflow: hidden; }
.capBar i { display: block; height: 100%; background: repeating-linear-gradient(90deg, #6fe8b8 0 7px, transparent 7px 9px); transition: width .25s; }
.mCap.alerta .capBar i { background: repeating-linear-gradient(90deg, #ffc46b 0 7px, transparent 7px 9px); } .mCap.alerta small { color: #ffc46b; }
.mCap.cheia .capBar i { background: repeating-linear-gradient(90deg, #ff6b78 0 7px, transparent 7px 9px); } .mCap.cheia small { color: #ff6b78; animation: rBrilho 1s infinite; }
.bt.on { background: #3a2c12; border-color: var(--ambar); color: var(--ambar2); }
/* barra da seleção múltipla */
.mSelBar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; padding: 8px 10px; border: 1px solid var(--ambar); border-radius: 6px; background: linear-gradient(90deg, rgba(255,154,59,.14), rgba(13,18,32,.9)); }
.mSelBar span { display: flex; align-items: center; gap: 3px; font-weight: 700; }
/* prévia do Equipar melhores */
.mochila3 { position: relative; }
.mPrevFundo { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(4,6,12,.7); padding: 16px; }
.mPrev { width: min(460px, 100%); max-height: 85vh; overflow-y: auto; padding: 14px; border: 1px solid var(--ambar); border-radius: 8px; background: #0d1220; box-shadow: 0 0 40px rgba(255,154,59,.25); animation: prevIn .18s ease-out; }
@keyframes prevIn { from { transform: scale(.94); opacity: 0; } }
.mPrev h3 { margin: 0 0 8px; color: var(--ambar2); }
.mPrevTot { display: flex; justify-content: space-between; padding: 8px 10px; margin-bottom: 8px; border-radius: 6px; background: rgba(95,212,124,.1); border: 1px solid rgba(95,212,124,.35); font-weight: 700; }
.mPrevL { display: grid; grid-template-columns: 64px 44px auto 44px 1fr; gap: 8px; align-items: center; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.mPrevL .item { width: 44px; height: 44px; } .mPrevL b { text-align: right; } .mPrevL small { color: var(--fraco); }
/* palco do guerreiro */
.palco { position: relative; width: 150px; height: 140px; display: flex; align-items: flex-end; justify-content: center; }
.palco img { position: relative; z-index: 2; height: 112px; image-rendering: pixelated; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--ambar) 45%, transparent)); }
.pChao { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: linear-gradient(rgba(255,154,59,.18) 1px, transparent 1px) 0 0 / 100% 8px, linear-gradient(90deg, rgba(255,154,59,.18) 1px, transparent 1px) 0 0 / 12px 100%; transform: perspective(120px) rotateX(55deg); -webkit-mask: radial-gradient(ellipse at 50% 60%, #000 30%, transparent 72%); mask: radial-gradient(ellipse at 50% 60%, #000 30%, transparent 72%); }
.pAnel { position: absolute; left: 50%; bottom: 2px; width: 120px; height: 30px; margin-left: -60px; border-radius: 50%; border: 2px solid transparent; z-index: 1; }
.pAnel.a1 { border-top-color: var(--ambar2); border-bottom-color: var(--ambar); box-shadow: 0 0 10px rgba(255,154,59,.4); animation: pGira 16s linear infinite; }
.pAnel.a2 { width: 92px; height: 22px; margin-left: -46px; bottom: 6px; border-left-color: #8fe0ff; border-right-color: #8fe0ff; animation: pGira 7s linear infinite reverse; }
@keyframes pGira { to { transform: rotate(360deg); } }
.pFeixe { position: absolute; left: 50%; bottom: 10px; width: 70px; height: 120px; margin-left: -35px; background: linear-gradient(transparent, rgba(255,200,110,.18)); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); animation: pFeixe 3.2s ease-in-out infinite; z-index: 1; }
@keyframes pFeixe { 50% { opacity: .6; } }
/* conjunto da classe */
.mConj { grid-column: 1 / -1; margin-top: 8px; padding: 8px 10px; border: 1px solid color-mix(in srgb, var(--cc) 55%, transparent); border-radius: 6px; background: linear-gradient(180deg, color-mix(in srgb, var(--cc) 12%, transparent), rgba(0,0,0,.2)); }
.mConj .px { color: var(--cc); font-size: 13px; } .cjN { font-weight: 900; }
.cjPips { display: flex; gap: 4px; margin: 6px 0; } .cjPips i { flex: 1; height: 6px; border-radius: 2px; background: rgba(255,255,255,.1); } .cjPips i.on { background: var(--cc); box-shadow: 0 0 6px var(--cc); }
.cjT { display: flex; justify-content: space-between; gap: 6px; padding: 3px 0; opacity: .45; font-size: 12px; } .cjT.on { opacity: 1; } .cjT.on span { color: var(--cc); font-weight: 700; }
.cjDica { display: block; margin-top: 4px; color: var(--fraco); font-size: 11px; }
.mEquip { grid-template-rows: auto auto; }
/* detalhe: botão fechar só no celular; no celular vira janela por baixo */
.mDet { position: relative; } .mDetX { display: none; }
@media (max-width: 980px) {
  .mochila3.comSel .mLado { display: block; position: sticky; top: 0; z-index: 5; animation: sheetUp .2s ease-out; }
  .mochila3.comSel .mDet { box-shadow: 0 8px 30px rgba(0,0,0,.6); max-height: 70vh; overflow-y: auto; }
  .mochila3.comSel .mDet { border-color: var(--ambar); }
  .mDetX { display: block; position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border-radius: 6px; border: 1px solid var(--linha); background: #1a2134; color: #fff; font-size: 16px; z-index: 2; }
  .mDet .bt { min-height: 42px; }
  @keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .pAnel, .pFeixe, .item .up, .item.r5::before, .item.r6::before { animation: none; } }
.mEsq { min-width: 0; } .mConj { grid-column: auto; }

/* 1.29: selo da classe no detalhe da peça */
.clChip { --cc: #9aa7c2; display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; padding: 6px 10px 6px 6px; border: 1px solid color-mix(in srgb, var(--cc) 60%, transparent); border-radius: 6px; background: linear-gradient(90deg, color-mix(in srgb, var(--cc) 22%, transparent), rgba(0,0,0,.25) 70%); }
.clRet { width: 38px; height: 38px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 50%; border: 2px solid var(--cc); background: radial-gradient(color-mix(in srgb, var(--cc) 35%, #0b0f1a), #0b0f1a 70%); box-shadow: 0 0 10px color-mix(in srgb, var(--cc) 50%, transparent); color: var(--cc); font-size: 18px; }
.clRet img { height: 56px; margin-top: 18px; image-rendering: pixelated; }
.clChip small { display: block; font-size: 9px; letter-spacing: 1.5px; color: var(--fraco); }
.clChip b { display: block; color: var(--cc); font-size: 15px; }
.clChip em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(95,212,124,.15); color: #5fd47c; border: 1px solid rgba(95,212,124,.4); white-space: nowrap; }
.clChip.fora { filter: saturate(.75); } .clChip.fora em { background: rgba(255,90,90,.12); color: #ff7a7a; border-color: rgba(255,90,90,.4); }
.clChip.todas { --cc: #ffd772; }

/* ======== 1.30 pacote visual (rollback: backups/zenkai-antes-pacote-visual-*.tgz) ======== */
/* 1. alvos de toque confortáveis */
@media (pointer: coarse) {
  .bt.mini { min-height: 38px; padding-left: 10px; padding-right: 10px; }
  #painel > header .x { width: 44px; height: 44px; }
  .abas .bt, .abas button { min-height: 40px; }
  #chatTopo button { min-height: 40px; min-width: 40px; }
}
/* 2. HUD legível: rótulo em cada barra e texto com contraste */
.barra span { text-shadow: 0 1px 0 #000, 0 0 3px #000, 1px 0 0 #000, -1px 0 0 #000; font-variant-numeric: tabular-nums; }
#ficha .barra.vida span::before { content: 'VIDA '; opacity: .75; font-size: .85em; letter-spacing: .5px; }
#ficha .barra.mana span::before { content: 'KI '; opacity: .75; font-size: .85em; letter-spacing: .5px; }
#ficha .barra.xp span::before { content: 'XP '; opacity: .75; font-size: .85em; letter-spacing: .5px; }
/* 3. vida baixa */
#ficha.perigo { border-color: #ff4a4a; box-shadow: 0 0 0 1px #ff4a4a inset, 0 0 16px rgba(255,60,60,.45); animation: fichaPerigo 1.1s ease-in-out infinite; }
#ficha.perigo::after { content: 'VIDA BAIXA'; position: absolute; right: 8px; top: -9px; padding: 1px 7px; border-radius: 3px; background: #c62828; color: #fff; font: 800 10px sans-serif; letter-spacing: 1px; }
#ficha { position: fixed; }
@keyframes fichaPerigo { 50% { box-shadow: 0 0 0 1px #ff4a4a inset, 0 0 4px rgba(255,60,60,.2); } }
/* 5. brilho ao subir de nível */
.subiu { animation: subiu .7s ease-out; }
@keyframes subiu { 0% { filter: brightness(1); } 25% { filter: brightness(2.2) drop-shadow(0 0 10px #ffd772); transform: scale(1.12); } 100% { filter: brightness(1); transform: scale(1); } }
/* 7. painel abrindo suave */
#painel.abre { animation: painelAbre .17s ease-out; }
@keyframes painelAbre { from { opacity: 0; transform: translateY(6px) scale(.985); } }
/* 4. login */
.senhaCx { position: relative; } .senhaCx input { width: 100%; padding-right: 44px; }
.verSenha { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 32px; border: 0; border-radius: 4px; background: transparent; font-size: 16px; opacity: .55; cursor: pointer; }
.verSenha.on { opacity: 1; }
.campoErro { border-color: #ff5a4a !important; box-shadow: 0 0 0 2px rgba(255,90,74,.35); }
/* 8. avisos agrupados */
#avisos .av { --ac: var(--ambar); display: flex; align-items: center; gap: 7px; padding: 5px 9px 5px 6px; border-left: 3px solid var(--ac); background: linear-gradient(90deg, color-mix(in srgb, var(--ac) 18%, rgba(14,18,28,.92)), rgba(14,18,28,.88)); box-shadow: 0 4px 12px rgba(0,0,0,.35); animation: avEntra .22s ease-out; font-size: 13px; }
#avisos .av.erro { --ac: #ff5a4a; } #avisos .av.atencao { --ac: #ffc46b; } #avisos .av.ok { --ac: #5fd47c; }
.avIc { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 900; background: var(--ac); color: #111; }
.av > span { flex: 1; min-width: 0; }
.avN { flex: none; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 11px; }
.av.pula .avN { animation: avPula .25s; }
@keyframes avEntra { from { opacity: 0; transform: translateX(-14px); } }
@keyframes avPula { 50% { transform: scale(1.35); } }
/* 11. barra do chefe com mais presença */
#chefeBarra { box-shadow: 0 0 18px rgba(255,60,60,.3); }
#chefeNome { font-weight: 800; letter-spacing: 1px; text-shadow: 0 1px 0 #000; }
@media (prefers-reduced-motion: reduce) { #ficha.perigo, .subiu, #painel.abre, #avisos .av, .av.pula .avN { animation: none; } }

/* ======== 1.31 HUD novo e menu Mundo em grupos (rollback: backups/zenkai-antes-hud-menu-*.tgz) ======== */
#ficha { flex-direction: column; gap: 6px; width: 290px; padding: 8px; background: linear-gradient(180deg, rgba(24,30,46,.96), rgba(14,18,28,.96)); }
.hTopo { display: flex; align-items: center; gap: 8px; }
.hTopo .retrato { width: 48px; height: 52px; }
.hTopo .retrato img { height: 100px; }
.fId { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fId #hNome { font: 700 15px var(--px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fId small { font-size: 10px; letter-spacing: 1.5px; font-weight: 800; }
.fNivel { display: flex; flex-direction: column; align-items: center; padding: 3px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 5px; background: rgba(0,0,0,.3); }
.fNivel small { font-size: 8px; letter-spacing: 1.5px; color: var(--fraco); } .fNivel b { font: 800 20px/1 var(--px); color: #e9d6ff; }
.fRecolher { width: 24px; height: 40px; border: 1px solid rgba(255,255,255,.12); border-radius: 4px; background: rgba(0,0,0,.3); color: var(--fraco); font-size: 14px; cursor: pointer; }
#ficha .fichaDir { gap: 5px; }
#ficha .barra.xp { height: 13px; } #ficha .barra.xp i { background: linear-gradient(90deg, #8a5cff, #c59bff); } #ficha .barra.xp span { font-size: 9.5px; line-height: 12px; }
.fFalta { font-size: 9.5px; letter-spacing: .5px; color: var(--fraco); margin-top: -2px; } .fFalta.trav { color: #ffd772; }
.fPoder { display: flex; align-items: baseline; justify-content: space-between; padding: 4px 0 1px; border-top: 1px solid rgba(255,255,255,.07); }
.fPoder small { font-size: 9.5px; letter-spacing: 1.5px; color: var(--fraco); } .fPoder b { font: 800 21px var(--px); color: #ffd772; text-shadow: 0 0 10px rgba(255,200,90,.35); }
#hPoder { color: #ffd772; }
#ficha .barra.vida, #ficha .barra.mana { height: 15px; } #ficha .barra.vida span, #ficha .barra.mana span { line-height: 14px; font-size: 10.5px; }
.fRank, .fComp { display: flex; align-items: center; gap: 8px; width: 100%; padding: 4px 8px 4px 4px; border: 1px solid rgba(255,255,255,.1); border-radius: 5px; background: rgba(0,0,0,.25); text-align: left; color: inherit; font: inherit; }
.fRank { cursor: pointer; } .fRank:hover { background: rgba(255,255,255,.05); }
.fRank i { --rc: #fff; flex: none; width: 26px; height: 26px; display: grid; place-items: center; font: 800 12px var(--px); font-style: normal; color: var(--rc); border: 2px solid var(--rc); border-radius: 50%; box-shadow: 0 0 8px color-mix(in srgb, var(--rc) 50%, transparent); }
.fRank span, .fComp span { flex: 1; min-width: 0; display: flex; flex-direction: column; } .fRank small, .fComp small { font-size: 8.5px; letter-spacing: 1.2px; color: var(--fraco); }
.fRank b, .fComp b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fRank em, .fComp em { font-style: normal; font-weight: 800; font-size: 12px; color: #5fd47c; text-align: right; display: flex; flex-direction: column; }
.fRank em small, .fComp em small { color: var(--fraco); }
.fRank.pronto { border-color: #ffd772; animation: pulsa 1.2s infinite; } .fRank.pronto em small { color: #ffd772; }
.fComp img { width: 26px; height: 26px; object-fit: contain; image-rendering: pixelated; }
.fComp em { color: #8fe0ff; }
#ficha .bens { justify-content: space-between; padding-top: 4px; border-top: 1px solid rgba(255,255,255,.07); }
/* recolhida: só o topo, as barras de vida/ki */
#ficha.recolhida { width: 210px; } #ficha.recolhida .fFalta, #ficha.recolhida .fPoder, #ficha.recolhida .fRank, #ficha.recolhida .fComp, #ficha.recolhida .bens, #ficha.recolhida .barra.xp, #ficha.recolhida .fNivel { display: none; }
#ficha.recolhida .fRecolher { transform: scaleX(-1); }
/* buffs: cartões debaixo da ficha */
#hBuffs { position: fixed; z-index: 5; left: 8px; display: flex; flex-direction: column; gap: 4px; width: 290px; }
#hBuffs .bf { display: flex; align-items: center; gap: 6px; padding: 5px 10px; font-size: 12px; font-weight: 700; border-radius: 5px; background: linear-gradient(90deg, rgba(40,32,14,.92), rgba(14,18,28,.92)); }
#hBuffs .bf b { margin-left: auto; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.12); font-size: 12.5px; }
#hBuffs .bf small { opacity: .7; font-weight: 600; }
#hBuffs .bf.xp { background: linear-gradient(90deg, rgba(20,48,30,.92), rgba(14,18,28,.92)); color: #9cffb0; border-color: #3fae6a88; }
#hBuffs .bf.dia { background: linear-gradient(90deg, rgba(14,40,40,.92), rgba(14,18,28,.92)); }
#hBuffs:empty { display: none; }
@media (max-width: 900px) { #ficha, #hBuffs { width: min(270px, calc(100vw - 86px)); } #ficha .fPoder b { font-size: 17px; } #hBuffs .bf { padding: 3px 8px; font-size: 11px; } }
/* menu Mundo em grupos */
.mGrupos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px; margin-bottom: 10px; }
.mGrupo { padding: 5px 6px 6px; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; background: rgba(0,0,0,.2); }
.mGrupo.on { border-color: color-mix(in srgb, var(--ambar) 60%, transparent); }
.mGrupo > small { display: block; margin: 0 0 4px 2px; font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fraco); font-weight: 800; }
.mGrupo > div { display: flex; flex-wrap: wrap; gap: 4px; }
@media (max-width: 900px) { #ficha .fFalta, #ficha .fComp { display: none; } #ficha { gap: 4px; padding: 6px; } #ficha .fRank { padding: 2px 6px 2px 3px; } #ficha .fRank i { width: 20px; height: 20px; font-size: 10px; } }

/* 1.32 menu único: cartões de todas as telas */
.menuCard { position: relative; }
.menuCard .pt { position: absolute; top: 6px; right: 6px; }

/* ======== 1.33 Grupo novo: acampamento (rollback: backups/zenkai-antes-grupo-*.tgz) ======== */
.acBanner { position: relative; height: 230px; border: 1px solid #5a4630; border-radius: 8px; overflow: hidden; background: #0b0d22; }
.acFundo { position: absolute; inset: 0; background: url(../img/ui/acampamento.png) center 62% / cover no-repeat; image-rendering: pixelated; }
.acLuz { position: absolute; left: 50%; bottom: 8%; width: 360px; height: 200px; margin-left: -180px; background: radial-gradient(ellipse at 50% 80%, rgba(255,150,60,.42), transparent 65%); animation: acLuz 2.2s ease-in-out infinite; pointer-events: none; }
@keyframes acLuz { 50% { opacity: .75; transform: scale(.96); } }
.acFogo { position: absolute; left: 50%; bottom: 12%; width: 56px; height: 56px; margin-left: -28px; background: url(../img/ui/fogueira-1.png) center bottom / contain no-repeat; image-rendering: pixelated; animation: acFogo .6s steps(1) infinite; z-index: 2; }
@keyframes acFogo { 0% { background-image: url(../img/ui/fogueira-1.png); } 25% { background-image: url(../img/ui/fogueira-2.png); } 50% { background-image: url(../img/ui/fogueira-3.png); } 75% { background-image: url(../img/ui/fogueira-4.png); } }
.acFaiscas i { position: absolute; left: 50%; bottom: 26%; width: 2px; height: 2px; background: #ffcf6a; box-shadow: 0 0 4px #ff9a3b; animation: acFaisca 2.4s linear infinite; z-index: 2; }
.acFaiscas i:nth-child(2) { margin-left: 8px; animation-delay: .4s; } .acFaiscas i:nth-child(3) { margin-left: -9px; animation-delay: .9s; } .acFaiscas i:nth-child(4) { margin-left: 4px; animation-delay: 1.3s; } .acFaiscas i:nth-child(5) { margin-left: -4px; animation-delay: 1.8s; } .acFaiscas i:nth-child(6) { margin-left: 12px; animation-delay: 2.1s; }
@keyframes acFaisca { 0% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(14px, -110px); opacity: 0; } }
.acBoneco { position: absolute; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; animation: acRespira 2.6s ease-in-out infinite; animation-delay: var(--d); }
.acBoneco img { height: 96px; image-rendering: pixelated; filter: drop-shadow(0 0 6px rgba(255,150,60,.35)) drop-shadow(0 3px 0 rgba(0,0,0,.5)); }
.acBoneco span { margin-top: -2px; padding: 1px 6px; border-radius: 3px; background: rgba(0,0,0,.55); font-size: 11px; font-weight: 700; white-space: nowrap; }
.acBoneco.off img { filter: grayscale(.8) brightness(.6); }
.acCoroa { font-style: normal; color: #ffd772; font-size: 18px; text-shadow: 0 0 6px #ffb84a, 0 1px 0 #000; animation: acCoroa 1.8s ease-in-out infinite; }
@keyframes acRespira { 50% { transform: translateX(-50%) translateY(-2px); } }
@keyframes acCoroa { 50% { transform: translateY(-3px); } }
.acTit { position: absolute; left: 14px; top: 12px; z-index: 4; display: flex; flex-direction: column; }
.acTit b { font-size: 24px; color: #fff; text-shadow: 0 3px 0 #000, 0 0 14px rgba(255,160,70,.5); line-height: 1.05; } .acTit small { color: #e6d6c2; text-shadow: 0 1px 0 #000; }
.acCont { position: absolute; right: 12px; top: 12px; z-index: 4; padding: 6px 12px; border: 1px solid #c9973a; border-radius: 6px; background: rgba(10,8,20,.75); text-align: center; }
.acCont b { font: 800 26px/1 var(--px); } .acCont b small { font-size: 14px; color: var(--fraco); } .acCont > small { display: block; font-size: 9px; letter-spacing: 1.5px; color: var(--fraco); }
.gPips { display: inline-flex; gap: 2px; } .gPips i { width: 6px; height: 12px; border-radius: 2px 2px 1px 1px; background: rgba(255,255,255,.15); } .gPips i.on { background: #ffb84a; box-shadow: 0 0 5px #ff9a3b; }
.gChips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.gChip { padding: 3px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(0,0,0,.3); font-size: 12px; font-weight: 700; } .gChip small { color: var(--fraco); font-weight: 600; } .gChip.verde { color: #7dffa0; border-color: #3fae6a88; }
.gComo { padding: 5px 14px; border: 1px solid #c9973a; border-radius: 999px; background: #2a2010; color: #ffd772; font: 800 11px inherit; letter-spacing: 1px; cursor: pointer; }
.gComoTxt { font-size: 13px; margin-bottom: 8px; }
.gAbas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; background: rgba(0,0,0,.25); }
.gAba { padding: 9px 6px; border: 0; border-radius: 999px; background: none; color: var(--fraco); font: 800 12px inherit; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; }
.gAba.on { color: #fff; background: linear-gradient(90deg, #6a3a12, #a8641e); box-shadow: 0 0 12px rgba(255,154,59,.35), inset 0 0 0 1px #ffb84a; }
.gAba.tem:not(.on) { color: var(--ambar2); }
.gCorpo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 10px; }
.gSecTit { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 11px; letter-spacing: 1.5px; color: var(--fraco); font-weight: 800; }
.gGrade { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.gCard { --cc: #888; position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 6px 10px; padding: 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: linear-gradient(160deg, color-mix(in srgb, var(--cc) 12%, rgba(14,18,28,.95)), rgba(14,18,28,.95) 60%); }
.gCard.lider { border-color: #c9973a; box-shadow: 0 0 0 1px #c9973a33 inset; }
.gCard.off { opacity: .6; }
.gRet { position: relative; width: 64px; height: 64px; overflow: hidden; border: 2px solid var(--cc); border-radius: 6px; background: radial-gradient(color-mix(in srgb, var(--cc) 30%, #0b0f1a), #0b0f1a 75%); }
.gRet img { position: absolute; left: 50%; top: 2px; transform: translateX(-50%); height: 120px; image-rendering: pixelated; }
.gRet.peq { width: 42px; height: 42px; } .gRet.peq img { height: 82px; }
.gOn { position: absolute; top: 3px; right: 3px; width: 8px; height: 8px; border-radius: 50%; background: #5fd47c; box-shadow: 0 0 5px #5fd47c; } .gCard.off .gOn { background: #6b7286; box-shadow: none; }
.gInfo { min-width: 0; display: flex; flex-direction: column; gap: 2px; } .gInfo b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .gInfo small { font-size: 11px; font-weight: 700; }
.gNv { align-self: flex-start; padding: 1px 8px; border-radius: 4px; background: #ffc83a; color: #2a1a04; font-weight: 800; font-size: 11px; }
.gTags { display: flex; gap: 4px; flex-wrap: wrap; } .gTags .t { font-style: normal; font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 3px; border: 1px solid rgba(255,255,255,.18); }
.gTags .t.lider { color: #ffd772; border-color: #c9973a; } .gTags .t.voce { color: #c59bff; border-color: #8a5cff; }
.gVida { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: 11px; } .gVida > span { color: #ff6b78; } .gVida div { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; } .gVida i { display: block; height: 100%; background: linear-gradient(90deg, #3fae6a, #7dffa0); } .gVida small { color: var(--fraco); font-variant-numeric: tabular-nums; }
.gOnde { grid-column: 1 / -1; font-size: 11.5px; color: #e9b36a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gTirar { position: absolute; right: 8px; top: 8px; }
.gCard.vaga { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 120px; border: 1px dashed rgba(255,255,255,.18); background: rgba(0,0,0,.15); color: var(--fraco); cursor: pointer; font: inherit; }
.gCard.vaga:hover { border-color: var(--ambar); color: var(--ambar2); }
.gVagaN { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px dashed currentColor; font-weight: 800; }
.gLado { display: flex; flex-direction: column; gap: 8px; }
.gBox { padding: 10px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(14,18,28,.85); display: flex; flex-direction: column; gap: 4px; }
.gRot { font-size: 10px; letter-spacing: 1.5px; color: var(--fraco); font-weight: 800; }
.gGrande { font: 800 34px/1 var(--px); color: #ffc83a; text-shadow: 0 0 12px rgba(255,190,60,.35); }
.gBon { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 13px; } .gBon b { color: #7dffa0; }
.gAchar { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; margin-top: 8px; }
.gPessoa { --cc: #888; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.1); border-left: 3px solid var(--cc); border-radius: 8px; background: rgba(14,18,28,.9); }
.gPessoa b { display: block; } .gPessoa small { font-size: 11px; font-weight: 700; }
.gPessoa.conv { --cc: var(--ambar); } .gEnv { font-size: 22px; }
@media (max-width: 760px) { .gCorpo { grid-template-columns: 1fr; } .acBanner { height: 190px; } .acBoneco img { height: 72px; } .acTit b { font-size: 18px; } .gAba { font-size: 10.5px; padding: 8px 2px; } }
@media (prefers-reduced-motion: reduce) { .acLuz, .acFogo, .acFaiscas i, .acBoneco, .acCoroa { animation: none; } }

/* ======== 1.34 Clã novo (rollback: backups/zenkai-antes-cla-*.tgz) ======== */
#hBuffs .bf.fonte { background: linear-gradient(90deg, rgba(60,30,90,.92), rgba(14,18,28,.92)); color: #d9b8ff; border-color: #8a5cff88; }
.brasao { width: 44px; height: 44px; object-fit: contain; image-rendering: pixelated; flex: none; filter: drop-shadow(0 2px 0 rgba(0,0,0,.5)); }
.brasao.grande { width: 92px; height: 92px; filter: drop-shadow(0 0 10px rgba(255,180,80,.35)) drop-shadow(0 3px 0 #000); }
.brasao.moldura { padding: 4px; border: 2px solid #c9973a; border-radius: 10px; background: rgba(0,0,0,.35); }
.brasao.luz { padding: 4px; border: 2px solid #7dffc0; border-radius: 10px; background: rgba(0,0,0,.35); box-shadow: 0 0 16px rgba(125,255,190,.45); }
.icCla { width: 22px; height: 22px; object-fit: contain; image-rendering: pixelated; vertical-align: middle; flex: none; }
.clRot { font-size: 10px; letter-spacing: 1.5px; color: var(--fraco); font-weight: 800; }
.clBanner { position: relative; min-height: 150px; border: 1px solid #6a4a22; border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.clFundo { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,20,.92) 0%, rgba(8,10,20,.7) 45%, rgba(8,10,20,.25) 100%), url(../img/cla/banner.png) center 55% / cover no-repeat; image-rendering: pixelated; }
.clInfo { position: relative; display: flex; gap: 16px; align-items: center; padding: 16px 18px; }
.clInfo > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.clNome { font-size: 26px; color: #fff; text-shadow: 0 3px 0 #000, 0 0 14px rgba(255,170,70,.45); }
.clInfo span { color: #d8cdbd; font-size: 13px; text-shadow: 0 1px 0 #000; }
.clXp { margin-top: 6px; max-width: 420px; } .clXp small { color: #e6d6c2; font-size: 11px; }
.clBarra { height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; } .clBarra.grande { height: 11px; border: 1px solid #000; }
.clBarra i { display: block; height: 100%; background: linear-gradient(90deg, #c9772a, #ffd772); box-shadow: 0 0 8px rgba(255,200,90,.5); transition: width .4s; }
.clStats { display: flex; gap: 8px; margin-left: auto; }
.clStats > div { min-width: 74px; padding: 8px 10px; text-align: center; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(0,0,0,.45); }
.clStats b { display: block; font: 800 20px var(--px); } .clStats b small { font-size: 12px; color: var(--fraco); } .clStats > div > small { font-size: 9px; letter-spacing: 1.2px; color: var(--fraco); }
.clStats .verde, .clChips .verde { color: #7dffa0; } .clStats .ouro { color: #ffd772; } .jade { color: #6fe8b8; }
.clAbas { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; margin-bottom: 10px; }
.clAba { position: relative; flex: 1; min-width: 92px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 6px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(14,18,28,.9); color: var(--fraco); font: 800 11px inherit; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.clAba .icCla { width: 28px; height: 28px; opacity: .7; } .clAba.on { color: #fff; border-color: #ffb84a; background: linear-gradient(180deg, rgba(120,70,20,.6), rgba(14,18,28,.95)); box-shadow: 0 0 12px rgba(255,154,59,.3); } .clAba.on .icCla { opacity: 1; }
.clN { position: absolute; top: 4px; right: 6px; min-width: 16px; padding: 0 4px; border-radius: 8px; background: #e0453a; color: #fff; font-style: normal; font-size: 10px; }
.clGrade3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.clBox { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: linear-gradient(180deg, rgba(24,30,46,.95), rgba(14,18,28,.95)); }
.clBoxTit { display: flex; align-items: center; gap: 8px; } .clBoxTit b { font-size: 12.5px; letter-spacing: 1.5px; } .clBoxTit small { margin-left: auto; color: var(--fraco); }
.clVer { margin-top: auto; width: 100%; }
.clMissoes { display: flex; flex-direction: column; gap: 8px; } .clMissoes.grande .clMissao { padding: 12px; } .clMissoes.grande .icCla { width: 40px; height: 40px; }
.clMissao { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: rgba(0,0,0,.25); }
.clMissao .icCla { width: 30px; height: 30px; } .clMissao small { color: var(--fraco); font-size: 11px; } .clMissao .clBarra { margin-top: 4px; }
.clMissao.feita { border-color: #3fae6a88; } .clMissao.feita .clBarra i { background: linear-gradient(90deg, #3fae6a, #7dffa0); }
.clOk { color: #7dffa0; font-weight: 800; font-size: 12px; white-space: nowrap; }
.clGrande b { display: block; font: 800 34px/1 var(--px); color: #ffd772; } .clGrande small { color: var(--fraco); }
.clLinhas > div { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 13px; } .clLinhas span { display: flex; align-items: center; gap: 5px; }
.clLog { display: flex; flex-direction: column; } .clLog > div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 12.5px; } .clLog small { color: var(--fraco); white-space: nowrap; }
.clLog.grande > div { padding: 8px 10px; border: 1px solid rgba(255,255,255,.06); border-radius: 6px; margin-bottom: 4px; background: rgba(0,0,0,.2); border-left: 3px solid #6b7286; }
.clLog .t-missao, .clLog .t-nivel { border-left-color: #ffd772 !important; } .clLog .t-entrada { border-left-color: #5fd47c !important; } .clLog .t-saida { border-left-color: #ff6b6b !important; } .clLog .t-doacao { border-left-color: #ffb84a !important; }
.clComo { margin-top: 10px; padding: 10px 12px; border: 1px dashed rgba(255,255,255,.15); border-radius: 8px; font-size: 12.5px; color: #cfd3e6; }
.clMembros { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; }
.clMembro { --cc: #888; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.1); border-left: 3px solid var(--cc); border-radius: 8px; background: rgba(14,18,28,.92); }
.clMembro.off { opacity: .65; } .clMembro.eu { border-color: #8a5cff; } .clMembro .voce { color: #c59bff; font-size: 10px; }
.clMembro small { color: var(--fraco); font-size: 11.5px; }
.clCargo { display: inline-flex; align-items: center; gap: 3px; font-weight: 800; } .clCargo .icCla { width: 16px; height: 16px; } .clCargo.lider { color: #ffd772; } .clCargo.vice { color: #8fe0ff; }
.clContrib { text-align: right; } .clContrib b { display: block; font: 800 18px var(--px); color: #ffd772; } .clContrib small { font-size: 9.5px; }
.clAcoes { flex-basis: 100%; display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.clCarteira { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 10px; border: 1px solid #3fae6a88; border-radius: 10px; background: linear-gradient(90deg, rgba(20,60,45,.6), rgba(14,18,28,.9)); }
.clCarteira .icCla { width: 40px; height: 40px; } .clCarteira b { display: block; font: 800 26px var(--px); } .clCarteira small.cresce { color: var(--fraco); font-size: 12px; }
.clLoja { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.clOferta { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; text-align: center; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: linear-gradient(180deg, rgba(30,36,54,.95), rgba(14,18,28,.95)); }
.clOfIc { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(rgba(255,200,90,.25), transparent 70%); } .clOfIc .ic { width: 40px; height: 40px; }
.clOferta small { color: var(--fraco); } .clOferta .bt { width: 100%; display: flex; align-items: center; justify-content: center; gap: 4px; } .clOferta.trava { opacity: .55; }
.clLista { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.clCard { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(14,18,28,.92); }
.clCard .brasao { width: 56px; height: 56px; } .clCard b { font-size: 16px; } .clCard > .cresce > small { display: block; color: var(--fraco); font-size: 12px; }
.clChips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; } .clChips span { padding: 1px 7px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; font-size: 11px; font-weight: 700; } .clChips .ambar { color: #ffc46b; } .clChips .menos { color: #ff6b6b; }
.clForm { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(14,18,28,.92); }
.clForm label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; }
.clBrasoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; margin-top: 4px; }
.clBr { padding: 4px; border: 2px solid transparent; border-radius: 8px; background: rgba(0,0,0,.3); cursor: pointer; } .clBr.on { border-color: #ffb84a; box-shadow: 0 0 10px rgba(255,170,70,.4); } .clBr .brasao { width: 44px; height: 44px; }
@media (max-width: 760px) { .clInfo { flex-wrap: wrap; } .clStats { margin-left: 0; width: 100%; } .clStats > div { flex: 1; } .brasao.grande { width: 64px; height: 64px; } .clNome { font-size: 20px; } .clMembros { grid-template-columns: 1fr; } }
.clMembro > .cresce { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .clMembro > .cresce > b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ======== 1.35 Perfil (rollback: backups/zenkai-antes-perfil-*.tgz) ======== */
.pfCard { position: relative; min-height: 190px; border: 1px solid color-mix(in srgb, var(--cc) 55%, #000); border-radius: 12px; overflow: hidden; box-shadow: 0 0 18px color-mix(in srgb, var(--cc) 25%, transparent); }
.pfFundo { position: absolute; inset: 0; background-size: cover; background-position: center 55%; image-rendering: pixelated; }
.pfInfo { position: relative; display: flex; gap: 18px; align-items: center; padding: 18px 20px; flex-wrap: wrap; }
.pfTxt { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.pfNome { font: 800 26px var(--px); color: #fff; text-shadow: 0 3px 0 #000, 0 0 14px color-mix(in srgb, var(--cc) 60%, transparent); }
.pfTit { color: var(--ambar2); font-size: 13px; text-shadow: 0 1px 0 #000; }
.pfLinha { display: flex; gap: 6px; flex-wrap: wrap; } .pfLinha span { padding: 1px 8px; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.14); font-size: 12px; font-weight: 800; } .pfLinha .ouro { color: #ffd772; }
.pfCla { display: flex; align-items: center; gap: 6px; color: #e6dccb; font-size: 13px; text-shadow: 0 1px 0 #000; } .pfCla .brasao { width: 26px; height: 26px; }
.pfBio { max-width: 420px; margin-top: 2px; padding: 6px 10px; border-left: 3px solid var(--cc); border-radius: 0 6px 6px 0; background: rgba(0,0,0,.5); color: #f0ece4; font-style: italic; font-size: 13px; overflow-wrap: anywhere; }
.pfStats { display: grid; grid-template-columns: repeat(2, minmax(84px, 1fr)); gap: 6px; }
.pfStats > div { padding: 7px 10px; text-align: center; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(0,0,0,.5); }
.pfStats b { display: block; font: 800 17px var(--px); color: #fff; } .pfStats b.ouro { color: #ffd772; } .pfStats small { font-size: 9.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--fraco); }
.pfMini { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 0; } .pfMini span { flex: 1; min-width: 110px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: rgba(14,18,28,.9); font-size: 12px; color: var(--fraco); display: flex; justify-content: space-between; } .pfMini b { color: #fff; }
/* moldura do retrato */
.pfMold { --b1: #6b4a2a; --b2: #3a2614; position: relative; flex: none; width: 116px; height: 116px; display: grid; place-items: center; border-radius: 14px; padding: 4px; background: linear-gradient(135deg, var(--b1), var(--b2)); box-shadow: 0 4px 0 #000, inset 0 0 0 2px rgba(0,0,0,.5); }
.pfMold img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; border-radius: 10px; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--cc, #888) 35%, #10141f), #0a0d16 75%); }
.pfNv { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); padding: 0 8px; border-radius: 999px; background: #0c0f18; border: 2px solid var(--b1); font: 800 13px var(--px); color: #fff; }
.pfMold.m-bronze { --b1: #d48a4a; --b2: #6e3d1a; }
.pfMold.m-prata { --b1: #eef3f8; --b2: #7d8a99; box-shadow: 0 4px 0 #000, 0 0 10px rgba(220,235,255,.35); }
.pfMold.m-ouro { --b1: #ffe08a; --b2: #a86d12; box-shadow: 0 4px 0 #000, 0 0 16px rgba(255,200,80,.5); }
.pfMold.m-jade { --b1: #7dffc0; --b2: #136b4c; animation: pfPulso 2.4s ease-in-out infinite; --gl: rgba(110,255,190,.55); }
.pfMold.m-chama { --b1: #ffcf4a; --b2: #c2271a; background: linear-gradient(0deg, #c2271a, #ff7a1a, #ffcf4a, #ff7a1a, #c2271a); background-size: 100% 300%; animation: pfFogo 1.6s linear infinite, pfPulso 1.6s ease-in-out infinite; --gl: rgba(255,120,40,.6); }
.pfMold.m-astral { --b1: #c59bff; --b2: #3b1d7a; background: conic-gradient(from var(--ang, 0deg), #6a3cff, #3fd6ff, #c59bff, #ff7ad9, #6a3cff); animation: pfGira 4s linear infinite, pfPulso 3s ease-in-out infinite; --gl: rgba(170,120,255,.6); }
.pfMold.m-real { --b1: #ffe08a; --b2: #8a1020; background: linear-gradient(120deg, #8a1020 0%, #ffd772 30%, #fff6c8 40%, #ffd772 50%, #8a1020 80%); background-size: 250% 100%; animation: pfBrilho 3s linear infinite; box-shadow: 0 4px 0 #000, 0 0 20px rgba(255,210,100,.55); }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes pfGira { to { --ang: 360deg; } }
@keyframes pfFogo { to { background-position: 0 300%; } }
@keyframes pfBrilho { to { background-position: -250% 0; } }
@keyframes pfPulso { 50% { box-shadow: 0 4px 0 #000, 0 0 22px var(--gl); } }
body.semTremor .pfMold, body.leve .pfMold { animation: none !important; }
/* edição */
.pfEd { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.pfEd label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; } .pfEd .linha input { flex: 1; min-width: 0; }
.pfGrade { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; } .pfGrade.mold { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
.pfOp { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 6px 8px; border: 2px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(14,18,28,.92); color: #fff; cursor: pointer; font: inherit; }
.pfOp:hover:not([disabled]) { border-color: #ffb84a88; } .pfOp.on { border-color: #ffb84a; box-shadow: 0 0 12px rgba(255,170,70,.4); }
.pfOp b { font-size: 12.5px; } .pfOp small { font-size: 10.5px; color: var(--fraco); } .pfOp.on small { color: #7dffa0; }
.pfOp.trava { opacity: .5; cursor: not-allowed; } .pfOp.trava .pfPrevF { filter: grayscale(1) brightness(.6); }
.pfPrevF { display: block; width: 100%; aspect-ratio: 2 / 1; border-radius: 6px; background-size: cover; background-position: center; image-rendering: pixelated; }
.pfMold.mini { width: 62px; height: 62px; border-radius: 10px; padding: 3px; } .pfMold.mini img { border-radius: 7px; }
@media (max-width: 760px) { .pfInfo { padding: 14px; gap: 12px; } .pfMold { width: 88px; height: 88px; } .pfNome { font-size: 20px; } .pfStats { width: 100%; grid-template-columns: repeat(4, 1fr); } .pfStats b { font-size: 14px; } }
.equipados.pfEquip { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 72px)); gap: 6px; } .pfEquip .item { width: auto; height: auto; aspect-ratio: 1; }
.pfMold.mini { box-sizing: border-box; overflow: hidden; } .pfMold.mini img { width: 54px; height: 54px; } .pfGrade.mold .pfOp { min-height: 118px; }

/* ======== 1.36 Entrada animada (rollback: backups/zenkai-antes-entrada-loja-*.tgz) ======== */
#cena { position: fixed; inset: 0; z-index: 29; overflow: hidden; background: #120c2a; pointer-events: none; }
#cena[hidden] { display: none; }
#titulo.animado { background: transparent !important; }
#titulo.animado::before { background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(8,10,24,.55), rgba(8,10,24,0) 70%), linear-gradient(rgba(8,11,22,0) 55%, rgba(8,11,22,.55)); }
.cCamada { position: absolute; left: -3%; right: -3%; background-repeat: no-repeat; image-rendering: pixelated; will-change: transform; }
.cCeu { inset: -4% -4%; background: url(../img/entrada/ceu.png) center 70% / cover; animation: cRespira 26s ease-in-out infinite alternate; }
.cSol { position: absolute; left: 50%; top: 58%; width: 46vmin; height: 46vmin; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,240,190,.75) 0%, rgba(255,170,90,.35) 30%, rgba(255,120,80,0) 70%); mix-blend-mode: screen; animation: cSolP 5s ease-in-out infinite; }
.cRaios { position: absolute; left: 50%; top: 58%; width: 190vmax; height: 190vmax; transform: translate(-50%, -50%); background: repeating-conic-gradient(from 0deg, rgba(255,220,150,.10) 0deg 5deg, rgba(255,220,150,0) 5deg 17deg); -webkit-mask: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 18%, transparent 45%); mask: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 18%, transparent 45%); animation: cGira 90s linear infinite; mix-blend-mode: screen; }
.cNuv { height: 34%; background: url(../img/entrada/nuvens.png) 0 0 / auto 100% repeat-x; }
.cNuv.n1 { top: 8%; opacity: .55; animation: cNuvem 140s linear infinite; }
.cNuv.n2 { top: 38%; height: 26%; opacity: .8; animation: cNuvem 80s linear infinite reverse; filter: brightness(1.1); }
.cMont { bottom: 14%; height: 62%; background: url(../img/entrada/montanhas.png) center bottom / cover; }
.cPart { position: absolute; inset: 0; width: 100%; height: 100%; }
.cPenh { bottom: -2%; height: 46%; background: url(../img/entrada/penhasco.png) center bottom / cover; }
.cHerois { position: absolute; left: 50%; bottom: var(--chao, 30%); transform: translateX(-50%); display: flex; align-items: flex-end; gap: clamp(4px, 2vw, 34px); }
.cHeroi { position: relative; width: clamp(64px, 11vmin, 132px); pointer-events: auto; cursor: pointer; animation: cBob 3.2s ease-in-out infinite; animation-delay: calc(var(--d) * -1); transition: filter .3s, transform .3s, opacity .3s; }
.cHeroi img { position: relative; display: block; width: 100%; image-rendering: pixelated; filter: drop-shadow(0 0 6px rgba(var(--au), .65)) drop-shadow(0 3px 0 rgba(0,0,0,.6)); }
.cHeroi:nth-child(3) { width: clamp(76px, 13.5vmin, 160px); }
.cAura { position: absolute; left: 50%; bottom: 4%; width: 150%; height: 120%; transform: translateX(-50%); border-radius: 50% 50% 45% 45%; background: radial-gradient(ellipse at 50% 70%, rgba(var(--au), .55), rgba(var(--au), .15) 45%, transparent 70%); filter: blur(2px); animation: cAura 1.8s ease-in-out infinite; animation-delay: var(--d); }
.cAura::before, .cAura::after { content: ''; position: absolute; left: 50%; bottom: 10%; width: 8%; height: 70%; background: linear-gradient(transparent, rgba(var(--au), .8), transparent); border-radius: 4px; transform-origin: 50% 100%; animation: cChama 1.1s ease-in-out infinite; }
.cAura::before { margin-left: -28%; animation-delay: -.4s; } .cAura::after { margin-left: 22%; animation-delay: -.8s; }
.cSombra { position: absolute; left: 50%; bottom: -4px; width: 70%; height: 10px; transform: translateX(-50%); background: radial-gradient(rgba(0,0,0,.55), transparent 70%); animation: cSom 3.2s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
.cHeroi.pulo img { animation: cPulo .55s cubic-bezier(.3,1.6,.5,1); }
#cena[data-modo="login"] .cHeroi { opacity: .45; filter: saturate(.6); }
#cena[data-modo="sel"] .cHeroi:not(.sel) { opacity: .35; filter: grayscale(.7) brightness(.7); }
#cena[data-modo="sel"] .cHeroi.sel { transform: scale(1.25); z-index: 2; } #cena[data-modo="sel"] .cHeroi.sel .cAura { animation-duration: .9s; width: 190%; }
.cVinheta { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(4,4,14,.65)); }
@keyframes cRespira { to { transform: scale(1.06) translateY(-1%); } }
@keyframes cSolP { 50% { opacity: .75; transform: translate(-50%, -50%) scale(1.08); } }
@keyframes cGira { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes cNuvem { to { background-position: -200vw 0; } }
@keyframes cBob { 50% { transform: translateY(-5px); } }
@keyframes cSom { 50% { transform: translateX(-50%) scaleX(.85); opacity: .7; } }
@keyframes cAura { 50% { opacity: .7; transform: translateX(-50%) scale(1.06, 1.12); } }
@keyframes cChama { 0%, 100% { transform: scaleY(.6); opacity: .3; } 50% { transform: scaleY(1.1); opacity: .9; } }
@keyframes cPulo { 40% { transform: translateY(-26px) scale(1.06); } }
#titulo .logo { position: relative; display: grid; place-items: center; margin: 0 auto 0; width: min(440px, 92%); animation: cLogoIn 1s cubic-bezier(.2,1.4,.4,1) both; }
#titulo .logoEmb { grid-area: 1 / 1; width: 100%; image-rendering: pixelated; filter: drop-shadow(0 6px 0 rgba(0,0,0,.5)) drop-shadow(0 0 22px rgba(255,190,90,.35)); }
#titulo .logo h1 { grid-area: 1 / 1; position: relative; z-index: 1; background: linear-gradient(100deg, #ffcf5a 0%, #fff3c4 20%, #ffb43a 35%, #ffcf5a 60%, #fff6d8 72%, #ffb43a 85%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 4px 0 #6a3a0c) drop-shadow(0 8px 0 #0a0e17) drop-shadow(0 0 18px rgba(255,180,70,.5)); animation: cBrilhoLogo 5s linear infinite; font-size: clamp(24px, 5vw, 44px); margin-top: 3%; line-height: 1; letter-spacing: 3px; }
@keyframes cBrilhoLogo { to { background-position: -300% 0; } }
@keyframes cLogoIn { from { opacity: 0; transform: translateY(-30px) scale(.9); } }
#titulo .sub { animation: cLogoIn 1s .25s both; letter-spacing: 1px; }
#titulo .dentro > :not(.logo):not(.sub) { animation: cSobe .7s .4s both; }
@keyframes cSobe { from { opacity: 0; transform: translateY(18px); } }
#titulo.animado { place-items: start center; padding-top: 2vh; }
#titulo.animado .dentro { width: min(720px, 100%); margin-bottom: calc(var(--chaoV, 200px) + 150px); }
#titulo.animado .sub { margin: 2px 0 12px; }
#titulo.animado .vaga { min-height: 0; padding: 8px; } #titulo.animado .vaga img { height: 84px; }
#titulo.animado .rodape { text-shadow: 0 1px 0 #000; }
#titulo.animado .caixa, #titulo.animado .contaBox, #titulo.animado .contaForm { background: linear-gradient(180deg, rgba(20,22,44,.82), rgba(10,12,26,.9)); border: 1px solid rgba(255,210,140,.28); backdrop-filter: blur(4px); box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.vaga.cheia { position: relative; overflow: hidden; border-color: color-mix(in srgb, var(--cc) 55%, transparent) !important; transition: transform .2s, box-shadow .2s; }
.vaga.cheia::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--cc) 30%, transparent), transparent 65%); opacity: .7; transition: opacity .2s; }
.vaga.cheia:hover { transform: translateY(-4px); box-shadow: 0 0 22px color-mix(in srgb, var(--cc) 45%, transparent), 0 8px 24px rgba(0,0,0,.5) !important; } .vaga.cheia:hover::before { opacity: 1; }
.vaga.cheia > * { position: relative; }
.vPed { display: block; position: relative; } .vPed::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 70%; height: 10px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(color-mix(in srgb, var(--cc) 60%, transparent), transparent 70%); z-index: -1; }
.vaga.cheia img { animation: cBob 3s ease-in-out infinite; }
@media (max-width: 700px) { .cPenh { height: 34%; } .cMont { bottom: 10%; height: 50%; } #titulo.animado .dentro { margin-bottom: 120px; } }
@media (prefers-reduced-motion: reduce) { #cena *, #titulo .logo h1 { animation: none !important; } }

/* ======== 1.36 Loja nova ======== */
.ljBanner { position: relative; display: flex; align-items: center; gap: 12px; min-height: 150px; padding: 16px 18px; margin-bottom: 12px; border: 1px solid #7a5a22; border-radius: 12px; overflow: hidden; box-shadow: 0 0 22px rgba(80,200,255,.12); }
.ljFundo { position: absolute; inset: -3%; background: linear-gradient(90deg, rgba(6,8,20,.94) 0%, rgba(6,8,20,.7) 42%, rgba(6,8,20,.15) 100%), url(../img/loja/banner.png) center 55% / cover; image-rendering: pixelated; animation: cRespira 18s ease-in-out infinite alternate; }
.ljEst { position: absolute; width: 4px; height: 4px; background: #bff6ff; box-shadow: 0 0 6px 2px rgba(120,230,255,.8); transform: rotate(45deg); animation: ljPisca 2.4s ease-in-out infinite; opacity: 0; }
.ljEst:nth-of-type(1) { left: 52%; top: 22%; } .ljEst:nth-of-type(2) { left: 64%; top: 60%; animation-delay: -.5s; } .ljEst:nth-of-type(3) { left: 74%; top: 30%; animation-delay: -1.1s; } .ljEst:nth-of-type(4) { left: 86%; top: 70%; animation-delay: -1.7s; } .ljEst:nth-of-type(5) { left: 92%; top: 18%; animation-delay: -.9s; }
.ljEst:nth-of-type(6) { left: 58%; top: 80%; animation-delay: -2s; background: #ffe9a8; box-shadow: 0 0 6px 2px rgba(255,210,100,.8); } .ljEst:nth-of-type(7) { left: 80%; top: 46%; animation-delay: -.3s; background: #ffe9a8; box-shadow: 0 0 6px 2px rgba(255,210,100,.8); } .ljEst:nth-of-type(8) { left: 69%; top: 12%; animation-delay: -1.4s; } .ljEst:nth-of-type(9) { left: 96%; top: 52%; animation-delay: -2.2s; }
@keyframes ljPisca { 0%, 100% { opacity: 0; transform: rotate(45deg) scale(.4); } 50% { opacity: 1; transform: rotate(45deg) scale(1.3); } }
.ljBInfo { position: relative; display: flex; flex-direction: column; gap: 4px; max-width: 460px; } .ljBInfo > small:last-child { color: #d6d0c4; text-shadow: 0 1px 0 #000; }
.ljSaldo { display: flex; align-items: center; gap: 8px; } .ljSaldo img { width: 54px; height: 54px; image-rendering: pixelated; animation: cBob 2.6s ease-in-out infinite; filter: drop-shadow(0 0 10px rgba(120,230,255,.6)); }
.ljSaldo b { font: 800 40px/1 var(--px); color: #bff6ff; text-shadow: 0 3px 0 #000, 0 0 16px rgba(120,230,255,.6); } .ljSaldo span { font: 700 14px var(--px); color: #8fd8ff; align-self: flex-end; margin-bottom: 4px; }
.ljVipSelo { position: relative; margin-left: auto; display: flex; flex-direction: column; align-items: center; padding: 8px 14px; border: 1px solid #ffd77288; border-radius: 10px; background: rgba(40,26,6,.7); } .ljVipSelo img { width: 46px; height: 46px; image-rendering: pixelated; } .ljVipSelo b { color: #ffd772; } .ljVipSelo small { color: var(--fraco); }
.ljArte { position: relative; display: grid; place-items: center; height: 96px; margin: -4px -4px 0; border-radius: 8px; background: radial-gradient(ellipse at 50% 60%, rgba(255,200,100,.18), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.04), transparent); overflow: hidden; }
.ljArte img { position: relative; width: 80px; height: 80px; object-fit: contain; image-rendering: pixelated; animation: cBob 3s ease-in-out infinite; filter: drop-shadow(0 4px 0 rgba(0,0,0,.5)); transition: transform .25s; }
.ljBrilho { position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 60%, rgba(255,220,150,.10) 0deg 8deg, transparent 8deg 24deg); animation: cGiraL 30s linear infinite; -webkit-mask: radial-gradient(circle at 50% 60%, #000, transparent 70%); mask: radial-gradient(circle at 50% 60%, #000, transparent 70%); }
@keyframes cGiraL { to { transform: rotate(360deg); } }
.lojaCard { position: relative; background: linear-gradient(180deg, #161c30, #0d1220 60%); border: 1px solid rgba(255,255,255,.1); transition: transform .2s, border-color .2s, box-shadow .2s; }
.lojaCard:hover { transform: translateY(-3px); border-color: #ffb84a88; box-shadow: 0 8px 22px rgba(0,0,0,.45), 0 0 14px rgba(255,170,70,.18); } .lojaCard:hover .ljArte img { transform: scale(1.12); }
.lojaCard.ljK-vip30 { border-color: #ffd77288; background: linear-gradient(180deg, #2a2210, #0d1220 65%); } .ljK-vip30 .ljArte { background: radial-gradient(ellipse at 50% 60%, rgba(255,215,110,.35), transparent 70%); }
.lojaCard.ljK-sombra { border-color: #b04cff66; background: linear-gradient(180deg, #221433, #0d1220 65%); } .ljK-sombra .ljArte { background: radial-gradient(ellipse at 50% 60%, rgba(176,76,255,.3), transparent 70%); }
.lojaCard.ljK-boost .ljArte { background: radial-gradient(ellipse at 50% 60%, rgba(200,140,255,.3), transparent 70%); }
.ljPix { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.ljPack { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 10px; border: 1px solid rgba(120,220,255,.25); border-radius: 12px; background: linear-gradient(180deg, #13243a, #0c1220 70%); text-align: center; transition: transform .2s, box-shadow .2s; }
.ljPack:hover { transform: translateY(-3px); box-shadow: 0 0 18px rgba(120,220,255,.25); }
.ljPack .ljArte { width: 100%; height: calc(76px + var(--i) * 8px); background: radial-gradient(ellipse at 50% 60%, rgba(120,230,255,.25), transparent 70%); } .ljPack .ljArte img { width: calc(56px + var(--i) * 8px); height: calc(56px + var(--i) * 8px); }
.ljQtd { font: 800 28px/1 var(--px); color: #bff6ff; text-shadow: 0 2px 0 #000, 0 0 12px rgba(120,230,255,.5); } .ljPack > small { color: #8fb8d0; margin-bottom: 6px; } .ljPack .fBotao { width: 100%; margin-top: auto; font-size: 16px; }
.ljPack.melhor { border-color: #ffd772; box-shadow: 0 0 16px rgba(255,210,100,.3); } .ljFita { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 2px 10px; border-radius: 999px; background: linear-gradient(90deg, #ff9a3b, #ffd772); color: #2a1600; font: 800 10.5px var(--px); letter-spacing: .5px; white-space: nowrap; box-shadow: 0 2px 0 #000; z-index: 1; }
@media (max-width: 700px) { .ljSaldo b { font-size: 30px; } .ljVipSelo { margin-left: 0; } .ljBanner { flex-wrap: wrap; } .ljPix { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .cHerois { gap: 1vw; } .cHeroi { width: 16vw; } .cHeroi:nth-child(3) { width: 19vw; } }

/* ======== 1.37 Chaves do chefe (rollback: backups/zenkai-antes-chaves-*.tgz) ======== */
.mChaves { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; padding: 10px; border: 1px solid #c9973a66; border-radius: 10px; background: linear-gradient(180deg, rgba(50,36,12,.6), rgba(14,18,28,.92)); }
.mChave { display: flex; align-items: center; gap: 8px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: rgba(0,0,0,.25); }
.mChave.aqui { border-color: #ffd772; box-shadow: 0 0 10px rgba(255,210,100,.25); } .mChave small { display: block; color: var(--fraco); font-size: 11px; } .mChave .ic { width: 26px; height: 26px; }
.chaveInfo { display: flex; align-items: center; gap: 5px; color: #e6d6b0; } .chaveInfo b { color: #ffd772; }
.vipEt { background: linear-gradient(90deg, #ffb43a, #ffd772); color: #2a1600; font-weight: 800; font-size: 10px; padding: 0 6px; border-radius: 999px; }
.opcao.off { opacity: .6; }

/* ======== 1.38 HUD compacto no celular (rollback: backups/zenkai-antes-hud-celular-*.tgz) ======== */
@media (max-width: 700px) {
  body:not(.hudCheio) #ficha { display: grid; grid-template-columns: 50px 1fr; column-gap: 7px; row-gap: 0; align-items: center; width: 196px !important; max-width: none; padding: 5px 7px 5px 5px; border-radius: 10px; }
  body:not(.hudCheio) #ficha .hTopo { display: contents; }
  body:not(.hudCheio) #ficha .retrato { grid-column: 1; grid-row: 1; width: 50px; height: 50px; }
  body:not(.hudCheio) #ficha .fId, body:not(.hudCheio) #ficha .fNivel, body:not(.hudCheio) #ficha .fRecolher,
  body:not(.hudCheio) #ficha .fFalta, body:not(.hudCheio) #ficha .fPoder, body:not(.hudCheio) #ficha .fRank, body:not(.hudCheio) #ficha .fComp, body:not(.hudCheio) #ficha .bens { display: none !important; }
  body:not(.hudCheio) #ficha .fichaDir { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  body:not(.hudCheio) #ficha .barra { height: 13px; border-radius: 4px; } body:not(.hudCheio) #ficha .barra span { font-size: 9px; line-height: 13px; letter-spacing: 0; }
  body:not(.hudCheio) #ficha .barra.xp { order: 3; height: 6px; } body:not(.hudCheio) #ficha .barra.xp span { display: none; }
  body:not(.hudCheio) #ficha .barra.vida { order: 1; } body:not(.hudCheio) #ficha .barra.mana { order: 2; }
  /* buffs: chips pequenos em linha */
  body:not(.hudCheio) #hBuffs { flex-direction: row; flex-wrap: wrap; width: calc(100vw - 110px); gap: 4px; }
  body:not(.hudCheio) #hBuffs .bf { padding: 2px 7px; font-size: 10.5px; border-radius: 999px; min-height: 0; display: inline-flex; gap: 4px; align-items: center; }
  body:not(.hudCheio) #hBuffs .bf small { display: none; }
  /* quadro do lugar: fino */
  body:not(.hudCheio) #topo { left: 8px; right: 8px; }
  body:not(.hudCheio) #lugar { padding: 5px 8px; font-size: 12px; }
  body:not(.hudCheio) #lugar .nome { font-size: 13px; } body:not(.hudCheio) #lugar > small, body:not(.hudCheio) #lugar .ritmo, body:not(.hudCheio) #lugar .chaveInfo { display: none; }
  body:not(.hudCheio) #lugar .baixo { gap: 4px; margin-top: 3px; flex-wrap: nowrap; justify-content: center; } body:not(.hudCheio) #lugar .baixo .bt { min-height: 30px; padding: 3px 8px; font-size: 11.5px; }
  /* técnicas: duas colunas na lateral direita (1-4 e Q, E, Z, AUTO) */
  body:not(.hudCheio) #barraHab { left: auto !important; right: 6px; transform: none !important; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); gap: 6px; justify-content: end; align-items: end; }
  body:not(.hudCheio) .hab { width: 46px; height: 46px; } body:not(.hudCheio) .hab[data-hab] { width: 56px; height: 56px; order: 5 !important; } body:not(.hudCheio) .hab.zen { order: 1 !important; } body:not(.hudCheio) #btAuto { width: 46px; height: 46px; order: 2 !important; font-size: 10px; } body:not(.hudCheio) .hab.pocao { width: 46px; height: 46px; order: 9 !important; }
  /* caderno: pílula pequena no canto */
  body:not(.hudCheio) #missao { top: 62px !important; left: auto !important; right: 8px !important; width: auto; max-width: 150px; bottom: auto !important; padding: 4px 8px; font-size: 11px; border-radius: 8px; }
  body:not(.hudCheio) #missao .barra, body:not(.hudCheio) #missao .barrinha { height: 4px; }
  /* conversa: vira um botão redondo; aberta, ocupa a parte de baixo */
  body:not(.hudCheio) #chat.fechado { left: 8px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); width: auto; background: none; border: 0; box-shadow: none; }
  body:not(.hudCheio) #chat.fechado #chatLog, body:not(.hudCheio) #chat.fechado #chatForm, body:not(.hudCheio) #chat.fechado #chatCanal, body:not(.hudCheio) #chat.fechado #chatX, body:not(.hudCheio) #chat.fechado #chatOn { display: none !important; }
  body:not(.hudCheio) #chat.fechado #chatTopo { padding: 0; background: none; border: 0; }
  body:not(.hudCheio) #chat.fechado #chatBt { width: 46px; height: 46px; border-radius: 50%; font-size: 0; background: rgba(14,18,28,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9c8ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E") center / 24px no-repeat; border: 1px solid rgba(180,150,255,.45); box-shadow: 0 3px 0 rgba(0,0,0,.5); }
  body:not(.hudCheio) #chat.aberto { left: 6px; right: 6px; z-index: 40; width: auto; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  body:not(.hudCheio) #btSair { bottom: calc(136px + env(safe-area-inset-bottom, 0px)); right: 62px !important; left: auto !important; transform: none !important; font-size: 13px; min-height: 34px; padding: 4px 12px; }
  body:not(.hudCheio) #avisos { bottom: calc(136px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 700px) {
  body:not(.hudCheio) #chat.fechado #chatTopo { display: flex !important; }
  body:not(.hudCheio) #chat.fechado #chatBt { display: block !important; flex: none; }
  body:not(.hudCheio) #btSair { right: auto !important; left: 8px !important; bottom: calc(116px + env(safe-area-inset-bottom, 0px)); }
  body:not(.hudCheio) #missao { left: 62px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); max-width: calc(100vw - 180px); }
  body:not(.hudCheio) #btSair { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}

/* ======== 1.39 Armazém de Aliados (rollback: backups/zenkai-antes-aliados-*.tgz) ======== */
.aliTags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.aliCls, .aliAf { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 4px; border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, #0c1220); color: var(--c); font: 700 12px var(--px); }
.aliCls img, .aliAf img, .aliMini img { width: 22px; height: 22px; image-rendering: pixelated; }
.aliPil { display: flex; align-items: center; gap: 10px; } .aliPil > img { width: 52px; height: 52px; image-rendering: pixelated; animation: cBob 2.6s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(255,190,90,.5)); }
.aliClsL { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px; margin: 8px 0; } .aliClsL > div { display: grid; grid-template-columns: 30px 1fr; column-gap: 6px; align-items: center; padding: 6px; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); border-radius: 8px; } .aliClsL img { grid-row: span 2; width: 30px; image-rendering: pixelated; } .aliClsL b { color: var(--c); }
.aliAfT { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; } .aliAfL { display: grid; grid-template-columns: 26px 1fr auto; gap: 6px; align-items: center; } .aliAfL img { width: 26px; image-rendering: pixelated; } .aliAfL b { color: var(--c); }
.aliGrade { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.aliEx { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 6px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius: 10px; background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%), #0f1424; text-align: center; }
.aliEx.on { box-shadow: 0 0 0 2px #7dffa0 inset; } .aliUso { color: #7dffa0; font-weight: 700; }
.aliMob { height: 52px; image-rendering: pixelated; animation: cBob 3s ease-in-out infinite; }
.aliMini { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; } .aliMini img { width: 18px; height: 18px; }
.aliEx.af2 { box-shadow: 0 0 10px color-mix(in srgb, var(--c) 35%, transparent); } .aliEx.af3, .aliEx.af4 { box-shadow: 0 0 16px color-mix(in srgb, var(--c) 55%, transparent); animation: aliBrilho 2.4s ease-in-out infinite; }
@keyframes aliBrilho { 50% { box-shadow: 0 0 26px color-mix(in srgb, var(--c) 80%, transparent); } }
/* 1.40 fusão de aliados */
.aliEscadas { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; max-height: 260px; overflow: auto; }
.aliEsc { display: grid; grid-template-columns: 30px minmax(90px, 1fr) auto; gap: 6px; align-items: center; } .aliEsc > img { width: 30px; height: 30px; object-fit: contain; image-rendering: pixelated; }
.aliDegraus { display: flex; align-items: center; gap: 3px; } .aliDegraus i { opacity: .4; font-style: normal; width: 18px; text-align: center; } .aliDegraus .bt { padding: 0 5px; min-height: 22px; }
.aliDegraus .dg { min-width: 26px; padding: 2px 4px; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); border-radius: 6px; text-align: center; font: 700 12px var(--px); color: color-mix(in srgb, var(--c) 45%, #555); }
.aliDegraus .dg.tem { color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); border-color: var(--c); }
.aliEst { font: 700 11px var(--px); letter-spacing: .5px; text-transform: uppercase; }
/* 1.41 painel dos aliados + técnica */
.aliBanner { position: relative; display: flex; align-items: center; min-height: 120px; padding: 14px 16px; margin-bottom: 10px; border: 1px solid #3a6a7a; border-radius: 12px; overflow: hidden; box-shadow: 0 0 22px rgba(120,230,255,.12); }
.aliBFundo { position: absolute; inset: -3%; background: linear-gradient(90deg, rgba(6,10,20,.94) 0%, rgba(6,10,20,.65) 45%, rgba(6,10,20,.1) 100%), url(../img/aliado/banner.png) center 55% / cover; image-rendering: pixelated; animation: cRespira 18s ease-in-out infinite alternate; }
.aliBInfo { position: relative; display: flex; flex-direction: column; gap: 4px; max-width: 560px; }
.aliBTit { font: 800 24px/1 var(--px); color: #bff6ff; text-shadow: 0 3px 0 #000, 0 0 14px rgba(120,230,255,.5); } .aliBInfo > small { color: #d6d0c4; text-shadow: 0 1px 0 #000; }
.aliBChips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; } .aliBChips span { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(8,12,24,.8); border: 1px solid rgba(255,255,255,.14); font: 700 11.5px var(--px); } .aliBChips img { width: 18px; height: 18px; image-rendering: pixelated; }
.aliTec { display: flex; gap: 8px; align-items: center; margin-top: 6px; padding: 6px 8px; border: 1px dashed rgba(255,255,255,.18); border-radius: 8px; opacity: .65; filter: grayscale(.6); }
.aliTec.on { opacity: 1; filter: none; border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); box-shadow: 0 0 12px color-mix(in srgb, var(--c) 25%, transparent); }
.aliTec img { width: 40px; height: 40px; image-rendering: pixelated; } .aliTec b { color: var(--c); }
@media (max-width: 700px) { .aliBTit { font-size: 19px; } .aliBanner { min-height: 100px; } }

/* ======== 1.42 prévia (dica) de itens e aliados ======== */
#dica { position: fixed; z-index: 9999; pointer-events: none; width: max-content; max-width: min(300px, calc(100vw - 12px)); background: rgba(12,15,24,.97); border: 1px solid rgba(255,215,114,.45); border-radius: 10px; padding: 9px 11px; box-shadow: 0 8px 24px rgba(0,0,0,.6); font-size: 12.5px; color: #e9e4f5; }
#dica .detalhe { margin: 0; } #dica ul { list-style: none; margin: 6px 0; padding: 0; }
#dica li { display: flex; justify-content: space-between; gap: 14px; padding: 1px 0; } #dica li.bonus { color: #8af0d0; }
#dica small { display: block; opacity: .85; }
#dica .dTopo { display: flex; gap: 8px; align-items: center; } #dica .dTopo img { width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; } #dica .dTopo b { font-size: 14px; }
#dica .dTec { display: flex; gap: 6px; align-items: center; margin-top: 6px; opacity: .55; } #dica .dTec.on { opacity: 1; } #dica .dTec img { width: 24px; height: 24px; image-rendering: pixelated; }
#dica .dVest { color: #7dff9f; margin-top: 4px; }
#dica .cmp { margin-top: 6px; }

/* ======== 1.44 aliados individuais: time de 3, ficha com Potencial ======== */
.aliSlots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0; }
.aliSlot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px; min-height: 104px; border-radius: 10px; background: rgba(20,24,36,.85); border: 2px solid var(--c, #3a4256); color: inherit; cursor: pointer; text-align: center; }
.aliSlot img { height: 52px; image-rendering: pixelated; filter: drop-shadow(0 0 6px var(--a, transparent)); }
.aliSlot b { font-size: 13px; } .aliSlot small { font-size: 11px; }
.aliSlot.sel { box-shadow: 0 0 0 2px #fff6, 0 0 14px var(--c); }
.aliSlot i { position: absolute; top: 4px; right: 6px; font-style: normal; font-size: 10px; opacity: .6; }
.aliSlot.vazio { border-style: dashed; justify-content: center; opacity: .8; } .aliSlot.vazio b { font-size: 26px; }
.aliSlot.fechado { justify-content: center; opacity: .5; border-style: dashed; cursor: default; }
.aliFicha { border-left: 3px solid var(--c); }
.aliCab { display: flex; gap: 10px; align-items: center; }
.aliFig { width: 84px; height: 76px; display: grid; place-items: center; border-radius: 10px; background: radial-gradient(circle, color-mix(in srgb, var(--a) 30%, transparent), transparent 70%); }
.aliFig img { max-width: 84px; max-height: 72px; image-rendering: pixelated; }
.aliNome { font-size: 17px; }
.potBox, .proxBox { margin-top: 10px; padding: 10px; border-radius: 10px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.08); }
.potTopo { display: flex; align-items: center; gap: 8px; justify-content: space-between; } .potTopo .px { letter-spacing: 2px; opacity: .85; }
.ajuda { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #3b2f66; color: #e5dcff; font-size: 11px; cursor: help; }
.potTot { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 8px; } .potTot > b { font-size: 34px; line-height: 1; } .potTot > small { opacity: .6; }
.potFx { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); font-size: 12px; font-weight: 700; margin-left: 6px; } .potFx img { width: 16px; height: 16px; }
.potBarra { position: relative; display: flex; height: 10px; border-radius: 3px; overflow: visible; margin: 18px 0 6px; }
.potBarra > i { height: 100%; } .potBarra > i:first-child { border-radius: 3px 0 0 3px; } .potBarra > i:last-of-type { border-radius: 0 3px 3px 0; }
.potBarra > b { position: absolute; top: -4px; width: 2px; height: 18px; background: #fff; transform: translateX(-1px); }
.potBarra > b span { position: absolute; bottom: 19px; left: 50%; transform: translateX(-50%); font-size: 11px; }
.potLeg { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11px; opacity: .8; margin-bottom: 8px; }
.potLeg span i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--c); margin-right: 3px; } .potLeg span.on { color: var(--c); font-weight: 700; opacity: 1; }
.notas { display: grid; grid-template-columns: auto 1fr auto auto; gap: 7px 10px; align-items: center; font-size: 13px; }
.notaB { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; } .notaB i { display: block; height: 100%; background: linear-gradient(90deg, #7a4dff, #c59bff); }
.notas em { font-style: normal; font-size: 11px; padding: 2px 6px; border-radius: 5px; border: 1px solid #5fd47c55; color: #7dff9f; text-align: center; white-space: nowrap; }
.notas em.menos { color: #ff7a6a; border-color: #ff7a6a55; } .notas em:not(.mais):not(.menos) { color: #aab; border-color: #aab3; }
.proxL { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: 13px; } .proxL em { font-style: normal; }
.mais { color: #7dff9f; } .menos { color: #ff7a6a; }
.proxB { margin: 6px 0; padding-left: 18px; color: #7dff9f; font-size: 12.5px; }
.forcaG { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 6px; }
.forcaG > div { padding: 7px 9px; border-radius: 8px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.07); } .forcaG span { display: block; font-size: 11px; opacity: .7; } .forcaG b { font-size: 16px; }
.forcaG .forcaP { grid-column: 1 / -1; border-color: #7a4dff88; background: rgba(122,77,255,.12); }
button.aliEx { color: inherit; font: inherit; cursor: pointer; text-align: center; }
.aliFus { font-size: 10.5px; opacity: .65; } .aliFus.pode { color: #ffd772; opacity: 1; font-weight: 700; }
@media (max-width: 700px) { .aliSlot img { height: 40px; } .aliSlot { min-height: 88px; } .notas { grid-template-columns: auto 1fr auto; } .notas em { grid-column: 1 / -1; justify-self: end; margin-top: -4px; } }

/* ======== 1.44.1 inspecionar aliado (janela por cima do Armazém) ======== */
.aliModalFundo { position: fixed; inset: 0; z-index: 60; background: rgba(4,6,12,.72); display: grid; place-items: start center; padding: 26px 12px; overflow-y: auto; }
.aliModalCx { position: relative; width: min(720px, 100%); }
.aliModalX { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 8px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 18px; cursor: pointer; }
.aliFicha.modal { margin: 0; padding: 16px; border: 1px solid #a24bff55; border-left: 1px solid #a24bff55; box-shadow: 0 10px 40px rgba(0,0,0,.6), 0 0 0 1px #ff5a7a22; background: #14111f; }
.aliCab2 { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.08); }
.aliCab2 .aliFig { width: 110px; height: 110px; flex: none; background: radial-gradient(circle, color-mix(in srgb, var(--a) 25%, #0000), #0003 70%); }
.aliCab2 .aliFig img { max-width: 100px; max-height: 100px; }
.aliTags2 { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0 8px; }
.tg { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 5px; border: 1px solid var(--c); color: var(--c); font-size: 12px; font-weight: 700; background: color-mix(in srgb, var(--c) 12%, transparent); }
.tg img { width: 16px; height: 16px; image-rendering: pixelated; } .tg.cheio { background: color-mix(in srgb, var(--c) 28%, transparent); }
.tgN { font-size: 12.5px; opacity: .85; }
.aliBar { display: flex; align-items: center; gap: 8px; margin-top: 4px; } .aliBar > span { width: 22px; font-size: 11px; opacity: .8; text-align: center; }
.bb { position: relative; flex: 1; height: 15px; border-radius: 3px; background: #0d0f18; border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.bb i { position: absolute; inset: 0 auto 0 0; } .bb.vida i { background: linear-gradient(90deg, #c0304e, #ff5a7a); } .bb.xp i { background: linear-gradient(90deg, #5b3dd6, #8f6bff); }
.bb b { position: relative; display: block; text-align: center; font-size: 10.5px; line-height: 15px; letter-spacing: .5px; }
.aliAcoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 4px; }
.aliAcoes .bt { min-height: 42px; font-weight: 700; }
.bt.roxo { background: linear-gradient(180deg, #8b4dff, #6a2fe0); border-color: #a77bff; color: #fff; }
.aliHr { border: 0; border-top: 1px solid rgba(255,255,255,.08); margin: 14px 0; }
.secT { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; } .secT .px { letter-spacing: 2.5px; opacity: .9; }
.chipN { padding: 0 6px; border-radius: 4px; background: rgba(255,255,255,.1); font-size: 11px; letter-spacing: 0; }
.aliFicha .forcaG { grid-template-columns: repeat(3, 1fr); } .aliFicha .forcaG .forcaP { grid-column: auto; }
.aliMoch { margin-top: 8px; } .aliMoch summary { cursor: pointer; font-weight: 700; }
@media (max-width: 700px) { .aliModalFundo { padding: 8px 6px; } .aliCab2 .aliFig { width: 76px; height: 76px; } .aliCab2 .aliFig img { max-width: 70px; max-height: 70px; } .aliAcoes { grid-template-columns: 1fr 1fr; } .aliAcoes .bt:last-child { grid-column: 1 / -1; } .aliFicha .forcaG { grid-template-columns: repeat(2, 1fr); } }
.aliAviso { margin: 8px 0; padding: 9px 12px; border-radius: 8px; border: 1px solid #c98a2a; background: rgba(201,138,42,.12); color: #ffcf7a; font-size: 13px; }
.aliPips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; } .aliPips i { width: 22px; height: 8px; border-radius: 3px; background: #2c2840; } .aliPips i.on { background: #8b4dff; }
.item.vazio.fechado { opacity: .45; font-size: 11px; text-align: center; line-height: 1.3; }

/* 1.50: lista do grupo ao vivo + barra do alvo focado */
#hBuffs .gvTopo { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border-radius: 5px; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #ffd772; background: linear-gradient(90deg, rgba(48,30,10,.94), rgba(14,18,28,.92)); border: 1px solid rgba(255,215,114,.35); }
#hBuffs .gvTopo b { font-size: 13px; color: #fff3c4; }
#hBuffs .gvL { padding: 5px 9px 6px; border-radius: 5px; background: rgba(12,16,26,.9); border: 1px solid rgba(255,255,255,.08); }
#hBuffs .gvL.off { opacity: .55; } #hBuffs .gvL.caiu .gvV i { background: #555; }
#hBuffs .gvN { display: flex; align-items: center; gap: 6px; font-size: 12px; } #hBuffs .gvN b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; }
#hBuffs .gvN em { font-style: normal; font-size: 9px; font-weight: 900; padding: 1px 5px; border-radius: 3px; color: var(--pc); border: 1px solid var(--pc); }
#hBuffs .gvN small { margin-left: auto; opacity: .8; }
#hBuffs .gvV { position: relative; height: 6px; margin: 4px 0 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
#hBuffs .gvV i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #3ec46d, #7dff9b); }
#hBuffs .gvV s { position: absolute; inset: 0 auto 0 0; background: rgba(255,243,160,.75); text-decoration: none; }
#hBuffs .gvI { display: flex; justify-content: space-between; gap: 6px; font-size: 10px; opacity: .85; }
#chefeBarra.foco { border-color: rgba(255,255,255,.18); box-shadow: none; }
#chefeBarra.foco .barra.vida i { background: linear-gradient(90deg, #c94a4a, #ff7a6a); }

/* 1.50.1: no celular, a lista do grupo vira uma colunazinha no canto esquerdo (só nome, papel e vida) */
#hBuffs .gvBox { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 900px) {
  #hBuffs .gvBox { position: fixed; left: 4px; top: 46%; width: 112px; gap: 3px; z-index: 5; pointer-events: none; }
  #hBuffs .gvTopo { padding: 2px 6px; font-size: 9px; } #hBuffs .gvTopo span { display: none; } #hBuffs .gvTopo b { font-size: 10px; } #hBuffs .gvTopo b::after { content: ' /h'; font-weight: 400; opacity: .7; }
  #hBuffs .gvL { padding: 3px 5px 4px; background: rgba(12,16,26,.78); }
  #hBuffs .gvN { gap: 4px; font-size: 10px; } #hBuffs .gvN b { max-width: 62px; } #hBuffs .gvN small { display: none; }
  #hBuffs .gvN em { font-size: 0; width: 7px; height: 7px; padding: 0; border-radius: 50%; background: var(--pc); border: 0; flex: none; }
  #hBuffs .gvV { height: 4px; margin: 2px 0 0; } #hBuffs .gvI { display: none; }
}

/* 1.55.1: celular — faixa do portal numa linha só e barra do alvo fina */
@media (max-width: 600px) {
  #lugar { display: flex; align-items: center; gap: 6px; padding: 4px 8px; text-align: left; }
  #lugar > small { display: none; }
  #lugar .nome { flex: 1; min-width: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #lugar .nome small { font-size: 10px; }
  #lugar .baixo { margin-top: 0; gap: 4px; flex: none; }
  #lugar .baixo [data-v="mapa"], #lugar .baixo [data-a="vila"] { display: none; }
  #lugar .baixo .bt.mini { padding: 3px 7px; font-size: 11px; }
  #chefeBarra { display: flex; align-items: center; gap: 6px; padding: 3px 8px; }
  #chefeNome { flex: 0 1 45%; min-width: 0; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
  #chefeBarra .barra { flex: 1; margin: 0; height: 14px; }
  #chefeBarra .barra span { font-size: 10px; line-height: 14px; }
}

/* 1.56.1: painel não estoura a largura do celular (Fonte do Ki cortada) */
#painel, #painel > .corpo { min-width: 0; max-width: 100%; }
#painel > .corpo { overflow-x: hidden; }
.fonteKi, .fonteKi > *, .fFonte, .fMeio > .cresce, .fAtivo > .cresce { min-width: 0; }
.fDuas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fonteKi small, .fFechada { overflow-wrap: anywhere; }
@media (max-width: 620px) {
  .fDuas { grid-template-columns: minmax(0, 1fr); }
  .fAtivo { flex-wrap: wrap; } .fRest { width: 100%; }
  .fChips { padding: 0 6px; } .fTitulo { font-size: 22px; white-space: nowrap; }
  .fMeio { gap: 8px; }
}

/* 1.57: Relatório da Caçada */
.rel { display: flex; flex-direction: column; gap: 10px; }
.rel .ic { width: 34px; height: 34px; image-rendering: pixelated; flex: none; }
.rel .ic.p { width: 20px; height: 20px; }
.rGrade4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rKpi { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; border: 1px solid; min-width: 0; }
.rKpi b { display: block; font: 900 22px/1.1 var(--px); white-space: nowrap; }
.rKpi small { font-size: 10px; letter-spacing: 1px; opacity: .75; }
.rKpi.t { border-color: #5b4a9a; background: linear-gradient(135deg, rgba(70,50,130,.35), rgba(15,15,30,.7)); } .rKpi.t b { color: #c9b6ff; }
.rKpi.o { border-color: #8a6a2a; background: linear-gradient(135deg, rgba(110,80,20,.35), rgba(20,15,10,.7)); } .rKpi.o b { color: #ffd772; }
.rKpi.x { border-color: #2f7a55; background: linear-gradient(135deg, rgba(30,100,60,.35), rgba(10,20,15,.7)); } .rKpi.x b { color: #8af0b0; }
.rKpi.a { border-color: #8a3a4a; background: linear-gradient(135deg, rgba(120,30,50,.35), rgba(20,10,15,.7)); } .rKpi.a b { color: #ffa0b0; }
.rCaixa { padding: 10px 12px; border-radius: 8px; border: 1px solid var(--linha); background: rgba(13,18,32,.75); min-width: 0; }
.rCaixa h4 { margin: 0 0 8px; display: flex; align-items: center; gap: 6px; font: 700 14px var(--px); letter-spacing: .5px; }
.rNivel { display: flex; align-items: center; gap: 10px; } .rNivel b { font: 900 18px var(--px); color: #8fe0ff; }
.rBarra { height: 9px; border-radius: 5px; background: rgba(255,255,255,.08); overflow: hidden; margin: 4px 0; }
.rBarra i { display: block; height: 100%; border-radius: 5px; background: repeating-linear-gradient(45deg, rgba(255,255,255,.18) 0 6px, transparent 6px 12px), var(--c, #3ec46d); }
.rBarra.x i { --c: linear-gradient(90deg, #3ec46d, #7dffb0); } .rBarra.o i { --c: linear-gradient(90deg, #c9973a, #ffd772); } .rBarra.g i { --c: linear-gradient(90deg, #a83a4a, #ff7a8a); }
.rOuro { display: flex; gap: 10px; align-items: center; } .rOuro b.ok { color: #ffd772; } .rOuro b.ruim { color: #ff8a9a; } .rOuro small { font-size: 11px; letter-spacing: 1px; opacity: .8; }
.rSaldo { padding: 10px 12px; border: 1px solid #2f7a55; border-radius: 6px; background: rgba(30,100,60,.25); text-align: center; flex: none; }
.rSaldo small { display: block; font-size: 10px; letter-spacing: 1px; opacity: .8; } .rSaldo b { font: 900 20px var(--px); color: #7dffb0; } .rSaldo.neg { border-color: #8a3a4a; background: rgba(120,30,50,.25); } .rSaldo.neg b { color: #ff8a9a; }
.rGrade3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.rTot { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border: 1px solid var(--linha); border-radius: 6px; background: rgba(0,0,0,.25); min-width: 0; text-align: center; }
.rTot b { font: 900 17px var(--px); white-space: nowrap; } .rTot small { font-size: 9px; letter-spacing: 1px; opacity: .75; }
.rQt { margin-left: auto; padding: 0 8px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; }
.rItem { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; background: rgba(0,0,0,.25); margin-top: 5px; min-width: 0; }
.rItem b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rItem span { font: 700 14px var(--px); color: #ffd772; }
@media (min-width: 700px) { .rGrade4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .rKpi b { font-size: 18px; } .rel .ic { width: 28px; height: 28px; } .rTot b { font-size: 15px; } .rSaldo b { font-size: 17px; } }

/* 1.59: Fenda Vermelha */
.fendaBt { animation: fendaPisca 1s ease-in-out infinite; }
@keyframes fendaPisca { 50% { box-shadow: 0 0 14px rgba(255,60,40,.9); filter: brightness(1.25); } }
.pfMold.m-fenda { --b1: #ff5a4a; --b2: #3a0006; background: linear-gradient(0deg, #3a0006, #a8141e, #ff5a4a, #a8141e, #3a0006); background-size: 100% 300%; animation: pfFogo 1.2s linear infinite, pfPulso 1.2s ease-in-out infinite; --gl: rgba(255,40,30,.75); }

/* 1.62.1: olho da senha alinhado (sem moldura de botão), caixa igual às outras */
.senhaCx { display: block; width: 100%; }
.senhaCx input { display: block; width: 100%; margin: 0; box-sizing: border-box; }
.contaForm .verSenha, .verSenha { right: 6px; width: 34px; height: 30px; min-height: 0; padding: 0; margin: 0; border: 0 !important; box-shadow: none !important; background: transparent !important; display: grid; place-items: center; line-height: 1; filter: grayscale(1); }
.contaForm .verSenha:hover, .verSenha.on { opacity: 1; filter: none; }

/* 1.63: guia em cartões */
.gCard { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; max-width: 620px; margin: 0 auto; }
.gArte { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 2px solid #c9973a; box-shadow: 0 6px 0 #000, 0 0 24px rgba(255,180,80,.25); background: radial-gradient(circle at 50% 60%, #6a3cff55, #10151f 70%); }
.gArte img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; display: block; }
.gArte.semArte img { display: none; }
.gNum { position: absolute; top: 8px; right: 8px; padding: 2px 9px; border-radius: 999px; background: rgba(0,0,0,.6); font: 800 12px var(--px); color: #ffd772; }
.gTit { margin: 4px 0 0; font: 900 24px var(--px); color: #ffd772; text-shadow: 0 2px 0 #000; }
.gTxt { margin: 0; font-size: 15px; line-height: 1.45; max-width: 520px; }
.gDica { padding: 7px 12px; border-radius: 8px; background: rgba(95,212,124,.12); border: 1px solid rgba(95,212,124,.4); font-size: 13px; color: #b9f5c9; }
.gPontos { display: flex; gap: 7px; margin-top: 2px; }
.gPontos i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); cursor: pointer; transition: .2s; }
.gPontos i.on { background: #ffd772; width: 26px; border-radius: 6px; }
.gBotoes { display: flex; gap: 10px; justify-content: center; width: 100%; }
.gBotoes .bt { min-width: 130px; }
@keyframes gEntra { from { opacity: 0; transform: scale(1.04); } }
@media (max-width: 600px) { .gTit { font-size: 20px; } .gTxt { font-size: 14px; } .gBotoes .bt { min-width: 0; flex: 1; } }

/* 1.65 potencial do item */
.potBox{margin:8px 0;padding:8px;border:1px solid #2a3550;border-radius:8px;background:#0e1424;display:flex;flex-direction:column;gap:3px}
.potCab{display:flex;justify-content:space-between;align-items:center}
.potBar{height:6px;border-radius:4px;background:#232c40;overflow:hidden}.potBar i{display:block;height:100%}
.potDica{opacity:.6}
.detalhe li.bonus{display:flex;justify-content:space-between;gap:6px}.potL{opacity:.9;white-space:nowrap}
.fusaoTipo{margin:6px 0}.fusaoTipo .linha{flex-wrap:wrap;gap:4px}

.podeVir{margin:8px 0;padding:8px;border:1px solid #2a3550;border-radius:8px;background:#0e1424}
.podeVir summary{cursor:pointer;font-weight:700;margin-bottom:4px}
.pvL{display:grid;grid-template-columns:1fr auto 56px;gap:8px;align-items:center;padding:3px 4px;font-size:.92em}
.pvL b{color:#f3ead7}.pvL.atual{background:#1a2438;border-radius:4px}.pvL em{font-style:normal;font-size:.75em;padding:0 4px;border-radius:3px;background:#c99a2e;color:#1a1206}
.pvC{position:relative;text-align:right}.pvC i{position:absolute;left:0;bottom:-2px;height:2px;background:#e8b84a}

/* 1.68 papéis e tática */
.gTags .t.papel.tanque{color:#ffb070;border-color:#ff8a4a}.gTags .t.papel.suporte{color:#9dffb5;border-color:#3fbf6a}.gTags .t.papel.dano{color:#ff9aa6;border-color:#d04a5a}
.gPapeis{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;justify-content:center}.gPapeis .bt.on,.gTaticas .bt.on{background:var(--ambar,#e8a33a);color:#1a1206}
.gTaticas{display:flex;flex-direction:column;gap:4px;margin:6px 0}

#btAutoCfg{width:34px;height:54px;border-radius:6px;background:var(--caixa2);border:2px solid var(--linha);box-shadow:0 3px 0 #0a0e17;font-size:18px;margin-left:4px;cursor:pointer;color:inherit}

/* 1.78.1: janela Confirmar / Cancelar */
#confBox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
#confBox[hidden] { display: none; }
#confBox .confCaixa { position: static; max-width: 380px; width: 100%; padding: 16px; text-align: center; font-size: 15px; }
#confBox .confCaixa p { margin: 0 0 14px; line-height: 1.45; }

/* 1.87.1: atributos  −10 −1 [valor] +1 +10 */
.attrCtl{display:flex;align-items:center;gap:4px;flex-shrink:0}.attrCtl .attrVal{min-width:52px;text-align:center;font-size:17px;display:flex;flex-direction:column;align-items:center;line-height:1.05}.attrCtl .attrVal small{font-size:11px}
.attr { grid-template-columns: 1fr auto; } .attr .attrCtl b.attrVal { text-align: center; min-width: 52px; }
@media (max-width: 520px) { .attr { grid-template-columns: 1fr; } .attrCtl { justify-content: flex-end; } }

/* 1.89: medidor de FPS */
#medFps{position:fixed;right:calc(4px + env(safe-area-inset-right,0px));top:calc(2px + env(safe-area-inset-top,0px));z-index:9998;display:flex;gap:10px;font:600 12px/1 ui-monospace,Consolas,monospace;background:rgba(10,12,18,.78);color:#cfd6e4;padding:5px 9px;border-radius:6px;pointer-events:none;white-space:nowrap}

/* 1.95: menu do jogador */
#menuJog{position:fixed;z-index:9997;min-width:210px;background:#1a1d27;border:1px solid #3a4560;border-radius:10px;padding:8px;box-shadow:0 8px 24px rgba(0,0,0,.5);display:flex;flex-direction:column;gap:2px}
#menuJog[hidden]{display:none}
#menuJog .mjNome{font-weight:700;font-size:15px;color:#fff;padding:2px 6px}#menuJog .mjOn{color:#5fd47c;padding:0 6px 4px}
#menuJog button{background:none;border:0;color:#e6e9f2;text-align:left;padding:7px 8px;border-radius:6px;font:inherit;cursor:pointer}#menuJog button:hover{background:#2a3042}
#menuJog button.perigo{color:#ff6b6b}#menuJog hr{border:0;border-top:1px solid #2e3548;margin:3px 0;width:100%}
#chatLog .w{color:#f0d8ff}

/* 1.96: aba Amigos */
.amCaixa { background: #0d1120; border: 1px solid #262c44; border-radius: 8px; padding: 12px; margin-bottom: 10px; }
.amAdd { border-color: color-mix(in srgb, var(--ambar) 55%, transparent); background: linear-gradient(color-mix(in srgb, var(--ambar) 14%, #0d1120), #0d1120); }
.amTit { font-weight: 800; letter-spacing: 1px; font-size: 13px; color: #c9cede; margin-bottom: 8px; }
.amTit.roxo { color: var(--ambar2); }
.amNum { background: #e0484a; color: #fff; border-radius: 10px; padding: 0 7px; margin-left: 6px; font-size: 12px; }
.amLinhaAdd { gap: 8px; flex-wrap: nowrap; }
.amLinhaAdd input { flex: 1; min-width: 0; background: #070a14; border: 1px solid #2c3350; color: #fff; border-radius: 6px; padding: 9px 12px; font-size: 15px; }
.amItem { display: flex; align-items: center; gap: 8px; padding: 8px; margin-top: 6px; background: #121729; border-radius: 6px; }
.amItem.off .amRet img { filter: grayscale(1) brightness(.75); }
.amItem .cresce { flex: 1; min-width: 0; } .amItem .cresce b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amItem small { color: #9aa0b4; }
.amOn { color: #5fd47c; } .amOff { color: #8a8f9c; }
.amRet { position: relative; width: 44px; height: 44px; flex: none; border: 2px solid var(--cc); border-radius: 8px; overflow: hidden; background: radial-gradient(color-mix(in srgb, var(--cc) 30%, #0b0f1a), #0b0f1a 75%); }
.amRet img { position: absolute; left: 50%; top: 2px; transform: translateX(-50%); height: 86px; image-rendering: pixelated; }
.amRet i { position: absolute; right: 2px; bottom: 2px; width: 10px; height: 10px; border-radius: 50%; background: #6b7080; border: 2px solid #0d1120; }
.amRet.on i { background: #3fdc6e; }
.amBt { flex: none; min-width: 36px; height: 36px; padding: 0 8px; background: #161b2e; border: 1px solid #2c3350; color: #dfe3ef; border-radius: 6px; cursor: pointer; font-size: 15px; }
.amBt:hover:not(:disabled) { background: #222a45; } .amBt:disabled { opacity: .35; cursor: default; }
.amBt.perigo { background: #5a1c22; border-color: #c0444c; font-size: 12px; }
.amCaixa summary { cursor: pointer; } .amAjuda p { color: #9aa0b4; margin: 6px 0 0; font-size: 13px; }
@media (max-width: 480px) { .amItem { flex-wrap: wrap; } .amItem .cresce { flex-basis: calc(100% - 56px); } }
/* 1.96.3: retrato do perfil = rosto + parte da roupa, cortado dentro da moldura; nível fica por cima */
.pfMold { box-sizing: border-box; }
.pfRosto { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 10px; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--cc, #888) 35%, #10141f), #0a0d16 75%); }
.pfRosto img { position: absolute; left: 50%; top: 6%; transform: translateX(-50%); width: auto !important; height: 155% !important; max-width: none; object-fit: unset; border-radius: 0; background: none; image-rendering: pixelated; }
.pfRosto.pdRosto img { top: 0; width: 100% !important; height: 100% !important; object-fit: contain; }
.retrato img.pdRetrato { top: 0; width: 100%; height: 100%; object-fit: contain; }
.pfMold .pfNv { z-index: 2; }

/* 1.97: polimento visual (análise do Codex) */
/* 2: topo compacto */
#lugar { padding: 4px 10px; } #lugar .nome { font-size: 15px; } #lugar .baixo { margin-top: 4px; } #lugar .baixo .bt.mini { padding: 2px 8px; }
#chefeBarra { padding: 3px 10px; } #chefeBarra.foco { opacity: .92; }
/* 5: menu lateral com ícones e grupos */
#menu .mIc { width: 20px !important; height: 20px !important; max-height: 20px; object-fit: contain; image-rendering: pixelated; flex: none; align-self: center; }
#menu button { display: flex; align-items: center; gap: 6px; justify-content: flex-start; }
#menu button.btMenu { justify-content: center; border-color: var(--ambar); }
#menu button.grp { margin-top: 7px; }
@media (max-width: 900px) { #menu .mIc { width: 16px; height: 16px; } #menu button.grp { margin-top: 4px; } }
/* 6 e 7: paleta, bordas e números iguais em todo o HUD */
.caixa { border-width: 1px; box-shadow: 0 6px 18px #0000005c, inset 0 1px 0 #ffffff0d; }
.barra span, .qtd, .seg, #ritmo, #tChefe { font-variant-numeric: tabular-nums; letter-spacing: .2px; }
.barra span { text-shadow: 0 1px 0 #000; -webkit-text-stroke: 0; }
#lugar .nome, #chefeNome { letter-spacing: .4px; }
/* 9: barra de baixo separada em grupos */
.hab.sepE { margin-left: 10px; }
.hab .tecla { background: #0009; border-radius: 0 0 4px 0; padding: 0 3px; left: 0; }
.hab .qtd { background: #0009; border-radius: 4px 0 0 0; padding: 0 3px; right: 0; }
/* 10: buffs e conversa mais discretos */
#hBuffs > * { padding-block: 2px; font-size: 12px; }
#chatLog .s { opacity: .7; font-size: 12px; }

/* 1.98: Caçada Ausente e Gastos de Ouro */
.ausOps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ausBt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 10px 12px; height: auto; }
.ausBt small { font-size: 12px; opacity: .85; } .ausCusto { margin-top: 4px; font: 800 15px var(--px); }
@media (max-width: 520px) { .ausOps { grid-template-columns: 1fr; } }
.ouroCard { margin-bottom: 8px; } .ouroCard .ic { width: 36px; height: 36px; flex: none; } .ouroCard .bt { flex: none; white-space: nowrap; }
.ausBt.ouro, .ausBt.ouro small { color: #2a1600; } .ausBt.ouro small { opacity: 1; font-weight: 600; } .ausBt.azul small { opacity: 1; }

/* 2.0: meta principal no HUD */
#hBuffs .bf.meta { background: linear-gradient(90deg, rgba(70,48,10,.94), rgba(14,18,28,.92)); color: #ffd772; border: 1px solid #ffb13b77; }
#hBuffs .bf.meta .metaT { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
#hBuffs .bf.meta.pronta { animation: metaPisca 1.2s ease-in-out infinite; }
@keyframes metaPisca { 50% { box-shadow: 0 0 10px #ffb13b; } }

/* 2.1: Conselho do Mestre e gasto de pêssego */
.consTopo { text-align: center; margin-bottom: 10px; } .consTopo b { display: block; font-size: 17px; color: #ffb13b; } .consTopo small { opacity: .8; }
.cons { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 7px; border-radius: 8px; border-left: 4px solid var(--cc); background: linear-gradient(90deg, color-mix(in srgb, var(--cc) 18%, transparent), rgba(14,18,28,.6)); animation: consEntra .35s ease-out both; }
.cons:nth-child(3) { animation-delay: .08s; } .cons:nth-child(4) { animation-delay: .16s; } .cons:nth-child(5) { animation-delay: .24s; } .cons:nth-child(6) { animation-delay: .32s; }
.cons .ic { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 0 6px var(--cc)); } .cons b { display: block; color: var(--cc); } .cons small { display: block; opacity: .85; }
@keyframes consEntra { from { opacity: 0; transform: translateX(-14px); } }
.rPoc { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; opacity: .9; } .rPoc span { flex: 1; }

/* 2.2: bônus recolhíveis, rótulo dos tempos, Vila no menu */
#hBuffs .bf .tr { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .3px; padding: 1px 5px; border-radius: 3px; background: rgba(140,200,255,.16); color: #a9d4ff; text-transform: uppercase; white-space: nowrap; }
#hBuffs .bf .tr.cc { background: rgba(120,255,160,.15); color: #9cffb0; }
#hBuffs .bf.bonTopo { background: linear-gradient(90deg, rgba(48,36,10,.95), rgba(14,18,28,.92)); color: #ffd772; border: 1px solid #ffb13b55; letter-spacing: .5px; }
#hBuffs .bf.bonTopo .xpEf { margin-left: auto; font-weight: 800; color: #9cffb0; } #hBuffs .bf.bonTopo b { margin-left: 6px; }
#hBuffs .bf.bonTopo.fechado { opacity: .85; }
.menuCard.vila { border-color: #ffb13b66; background: linear-gradient(90deg, #2c2410, var(--caixa2)); }

/* 2.3: golpe da espécie */
.aliGolpe { border-left: 3px solid var(--c); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 16%, transparent), transparent); }
.aliGolpe img { image-rendering: pixelated; filter: drop-shadow(0 0 5px var(--c)); } .aliGolpe b { color: var(--c); }

/* 2.4: primeiro Aliado */
.paTopo { text-align: center; margin-bottom: 10px; } .paTopo b { display: block; font-size: 20px; color: #ffd772; } .paTopo small { opacity: .8; }
.paImg { width: 110px; height: 110px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(255,215,114,.35), transparent 70%); animation: paBrilho 2s ease-in-out infinite; }
.paImg img { width: 84px; height: 84px; image-rendering: pixelated; animation: paPula 1.4s ease-in-out infinite; }
@keyframes paBrilho { 50% { box-shadow: 0 0 30px rgba(255,177,59,.45); } } @keyframes paPula { 50% { transform: translateY(-6px); } }
.paPt { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; margin-top: 6px; border-radius: 8px; background: rgba(255,255,255,.04); } .paPt > span { font-size: 20px; width: 26px; flex: none; text-align: center; } .paPt > div { flex: 1; min-width: 0; } .paPt b { display: block; color: #ffd772; } .paPt small { opacity: .85; }

/* 2.5: especialização */
.tEspec { padding: 8px 12px; margin-bottom: 8px; border-radius: 8px; border-left: 4px solid var(--pc); background: linear-gradient(90deg, color-mix(in srgb, var(--pc) 18%, transparent), rgba(14,18,28,.5)); }
.tEspec > b { display: block; color: var(--pc); font-size: 15px; } .tEspec small { opacity: .9; }
.t.papel { border-color: var(--pc) !important; color: var(--pc) !important; }

/* 2.6: builds da classe e Status 1/2 */
.bldCard { margin-bottom: 8px; padding: 10px 12px; } .bldCard.sua { border-color: var(--ambar2); box-shadow: 0 0 0 1px #ffb13b44 inset; }
.bldSua { font-size: 10px; color: var(--ambar2); margin-left: 6px; letter-spacing: .5px; }
.bldPesos { display: flex; flex-wrap: wrap; gap: 5px; } .bldPesos span { font: 700 11px var(--px); padding: 3px 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 4px; background: rgba(255,255,255,.04); letter-spacing: .5px; } .bldPesos b { color: var(--ambar2); }
.stSlots { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.stSlot { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 14px; border-radius: 7px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); color: inherit; cursor: pointer; font: inherit; }
.stSlot b { font: 800 13px var(--px); letter-spacing: .5px; } .stSlot small { font-size: 11px; opacity: .8; }
.stSlot.on { border-color: var(--ambar2); background: linear-gradient(90deg, #3a2a0e, rgba(14,18,28,.6)); cursor: default; } .stSlot.on small { color: #9cffb0; opacity: 1; }
.stSlot.fechado { border-style: dashed; } .stSlot.fechado small { color: var(--ambar2); }
.stInfo { flex: 1 1 200px; font-size: 11.5px; opacity: .75; }

/* 2.6.1: procurar por papel */
.gPapF { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0; } .gPapF .bt { border-color: color-mix(in srgb, var(--pc, #888) 55%, transparent); } .gPapF .bt.on { background: color-mix(in srgb, var(--pc, #ffb13b) 30%, transparent); color: #fff; }
.gPapF .bt.falta { box-shadow: 0 0 0 1px var(--pc) inset, 0 0 8px color-mix(in srgb, var(--pc) 50%, transparent); } .gPapF small { opacity: .7; margin-left: 3px; }
.gFalta { display: block; margin-bottom: 6px; } .gPessoa .t.papel { font-style: normal; font: 700 10px var(--px); padding: 2px 6px; border: 1px solid var(--pc); color: var(--pc); border-radius: 4px; white-space: nowrap; }

/* 2.7: Novidades */
.novTopo { text-align: center; margin-bottom: 12px; } .novTopo b { display: block; font-size: 20px; color: #ffd772; letter-spacing: 1px; } .novTopo small { opacity: .8; }
.novSec { padding: 10px 14px; margin-bottom: 8px; border-radius: 8px; border-left: 4px solid var(--nc); background: linear-gradient(90deg, color-mix(in srgb, var(--nc) 14%, transparent), rgba(14,18,28,.5)); animation: consEntra .4s ease-out both; }
.novSec h4 { margin: 0 0 4px; color: var(--nc); font-size: 15px; } .novSec ul { margin: 0; padding-left: 18px; } .novSec li { margin: 3px 0; font-size: 13px; line-height: 1.4; }

/* 2.8: HUD estilo Leveling — aliado vivo, time com recarga, alvo, mochila */
#hComp.fComp { flex-direction: column; align-items: stretch; gap: 4px; cursor: pointer; }
.fComp .acTopo { display: flex; align-items: center; gap: 8px; }
.fComp .acVida { display: block; height: 4px; margin-top: 2px; border-radius: 2px; background: rgba(0,0,0,.5); overflow: hidden; } .fComp .acVida i { display: block; height: 100%; background: linear-gradient(90deg,#2fa84f,#7dff9b); transition: width .2s; }
.acTime { display: flex; gap: 5px; }
.acChip { position: relative; width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--cc); background: rgba(0,0,0,.35); overflow: hidden; display: grid; place-items: center; }
.acChip img { width: 24px; height: 24px; object-fit: contain; image-rendering: pixelated; }
.acChip .acCd { position: absolute; inset: 0; background: conic-gradient(rgba(5,8,14,.72) calc(var(--cd,0) * 360deg), transparent 0); }
.acChip.pronto { box-shadow: 0 0 6px var(--cc); } .acChip.caido { filter: grayscale(1) brightness(.6); }
.fBolsa { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px; border: 1px solid rgba(255,255,255,.12); border-radius: 4px; background: rgba(0,0,0,.25); color: inherit; font: inherit; cursor: pointer; } .fBolsa.cheia { border-color: #ff7a5a; color: #ffb3a0; }
#hAlvo { position: fixed; left: 8px; width: 290px; box-sizing: border-box; padding: 6px 8px; z-index: 5; pointer-events: none; }
#hAlvo .alTopo { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 12.5px; } #hAlvo .alTopo b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#hAlvo .alTopo em { font-style: normal; font-size: 11px; color: var(--fraco); } #hAlvo .alTopo em.forte { color: #ff8f7a; }
#hAlvo[data-tipo=raro] b { color: #ffd23e; } #hAlvo[data-tipo=mini] b { color: #ff8a6a; } #hAlvo[data-tipo=elite] b { color: #cfdcf2; } #hAlvo[data-tipo=chefe] b { color: #ff6a5a; }
#hAlvo .alBar { position: relative; margin-top: 3px; } #hAlvo .alBar s { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(255,220,160,.55); }
#hAlvo .alBar i { position: relative; }
.alFx { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; } .alFx:empty { display: none; }
.alChip { font-size: 10.5px; padding: 1px 6px; border-radius: 3px; background: rgba(0,0,0,.4); border: 1px solid rgba(125,255,155,.4); } .alChip.mau { border-color: rgba(255,90,70,.6); color: #ffb3a0; }

/* 2.7.1: lobby entrando */
.vaga.entrando { animation: metaPisca 1s ease-in-out infinite; pointer-events: none; }
#ficha .bens { gap: 6px; } #ficha .bens > * { white-space: nowrap; } .fBolsa { padding: 0 4px; font-size: 12px; }

/* 2.8 etapa 2: barra de categorias, gaveta, cartão da caçada, técnicas em arco */
#catBar, #gaveta, #hCaca { display: none; }
@media (min-width: 901px) {
  #menu { display: none !important; }
  #catBar { position: fixed; z-index: 6; top: max(8px, env(safe-area-inset-top)); right: 8px; display: flex; gap: 4px; padding: 4px; border-radius: 8px; background: linear-gradient(180deg, rgba(24,30,46,.95), rgba(14,18,28,.95)); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 4px 14px rgba(0,0,0,.4); }
  .catBt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 62px; padding: 5px 6px 4px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: inherit; font: 700 10.5px var(--px); cursor: pointer; }
  .catBt .ic, .catBt img { width: 26px; height: 26px; image-rendering: pixelated; transition: transform .15s, filter .15s; }
  .catBt:hover, .catBt.on { background: rgba(255,215,114,.08); border-color: rgba(255,215,114,.45); } .catBt:hover img, .catBt.on img { transform: translateY(-2px) scale(1.08); filter: drop-shadow(0 0 6px rgba(255,215,114,.6)); }
  .catBt.menuBt { font-size: 18px; border-left: 1px solid rgba(255,255,255,.1); border-radius: 0 6px 6px 0; } .catBt.menuBt span { font-size: 10.5px; }
  .catN { position: absolute; top: 1px; right: 4px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; background: #e2453a; color: #fff; font: 800 10px sans-serif; display: grid; place-items: center; box-shadow: 0 0 6px #e2453a; }
  #gaveta { display: block; position: fixed; z-index: 7; width: 430px; max-height: 70vh; overflow: auto; padding: 10px; border-radius: 8px; background: linear-gradient(180deg, rgba(26,32,48,.98), rgba(14,18,28,.98)); border: 1px solid rgba(255,215,114,.35); box-shadow: 0 10px 30px rgba(0,0,0,.55); animation: consEntra .18s ease-out both; }
  #gaveta[hidden] { display: none; }
  .gvCab { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); } .gvCab img, .gvCab .ic { width: 34px; height: 34px; image-rendering: pixelated; }
  .gvCab span { flex: 1; display: flex; flex-direction: column; } .gvCab b { font: 800 15px var(--px); color: #ffd772; } .gvCab small { opacity: .75; }
  .gvCab em { font-style: normal; font-size: 11px; color: #ffb3a8; } .gvCab em b { color: #ff6a5a; font-size: 14px; margin-right: 3px; }
  .gvGrade { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .gvGrade .menuCard { margin: 0; }
  #hCaca { display: flex; flex-direction: column; gap: 3px; position: fixed; z-index: 5; right: 8px; bottom: max(10px, env(safe-area-inset-bottom)); width: 210px; padding: 7px 10px; text-align: left; color: inherit; font: inherit; cursor: pointer; border: 1px solid rgba(95,212,124,.4); background: linear-gradient(180deg, rgba(20,34,28,.95), rgba(14,18,28,.95)); }
  #hCaca[hidden] { display: none; }
  #hCaca .ccTopo { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 1px; } #hCaca .ccTopo span { margin-left: auto; font-family: var(--px); color: #cfe8ff; }
  #hCaca .ccPonto { width: 7px; height: 7px; border-radius: 50%; background: #5fd47c; box-shadow: 0 0 6px #5fd47c; animation: metaPisca 1.4s ease-in-out infinite; }
  #hCaca .ccL { display: flex; justify-content: space-between; font: 700 12.5px var(--px); } #hCaca .ccL span { display: flex; align-items: center; gap: 3px; } #hCaca .ccXp { color: #9cffb0; }
  #hCaca small { opacity: .85; font-size: 11px; } #hCaca small b { color: #ffd772; }
  #barraHab .hab[data-hab] { transform: translateY(var(--arco, 0)); }
}
@media (min-width: 901px) {
  #topo { left: 310px; right: calc(var(--catW, 470px) + 16px); transform: none; width: auto; min-width: 0; }
  #topo > * { max-width: 100%; }
  #medFps { top: auto !important; bottom: 4px; right: 230px !important; }
  .catBt { min-width: 54px; padding: 4px 4px 3px; font-size: 10px; } .catBt img, .catBt .ic { width: 24px; height: 24px; }
}
@media (min-width: 901px) {
  #gaveta { background: #141a28; }
  #gaveta .menuCard { background: #1c2333; min-height: 56px; padding: 8px; }
  #gaveta .menuCard:hover { border-color: var(--ambar); background: #232b3e; }
  #medFps { top: 62px !important; bottom: auto; right: 8px !important; }
}
/* 2.8: quadro do lugar enxuto */
.lgSub { font-size: 11.5px; }
.lgBaixo { gap: 6px; justify-content: center; flex-wrap: wrap; }
@media (min-width: 901px) { .lgBaixo .ritmo { display: none; } }

/* 2.8.1: especialidade da caçada */
.espC { display: block; font-style: normal; font-size: 10px; font-weight: 700; white-space: nowrap; }
.nome .espC { display: inline; font-size: 13px; cursor: help; }
.espDet { margin: 6px 0; padding: 6px 8px; border-left: 3px solid var(--c); background: rgba(0,0,0,.25); border-radius: 4px; }
.espDet b { color: var(--c); } .espDet small { display: block; }

/* 2.9: HUD nova (desktop) — menu no topo centralizado, caçada + grupo na direita, bônus em grade, Caderno/Metas recolhíveis */
#hGrupo { display: none; }
@media (min-width: 901px) {
  #catBar { right: auto; left: 50%; transform: translateX(-50%); gap: 6px; padding: 5px 8px; border-color: rgba(255,215,114,.35); }
  .catBt { min-width: 66px; padding: 5px 6px 4px; font-size: 11px; } .catBt img, .catBt .ic { width: 30px; height: 30px; }
  #topo { left: auto; right: 8px; width: 340px; min-width: 0; transform: none; }
  #hGrupo { display: block; position: fixed; z-index: 5; right: 8px; width: 340px; }
  #hGrupo[hidden], #hGrupo:empty { display: none; }
  .bonGrade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .bonGrade .bf { flex-direction: column; justify-content: center; gap: 1px; padding: 5px 3px; text-align: center; font-size: 10.5px; line-height: 1.15; min-height: 46px; }
  .bonGrade .bf small, .bonGrade .bf .tr { display: none; }
  .bonGrade .bf b { margin: 0; padding: 0; border: 0; font-size: 11px; }
  .cadFechado #missao, .cadFechado #metasHud { display: none !important; }
  #hBuffs .cadBt { width: max-content; border-color: rgba(255,215,114,.45); color: #ffd772; }
}
@media (min-width: 901px) { #medFps { top: auto !important; bottom: 4px; left: 50% !important; right: auto !important; transform: translateX(-50%); } }
/* 2.9: cartões do grupo (direita) */
#hGrupo .gpBox { display: flex; flex-direction: column; gap: 6px; }
#hGrupo .gpTopo { display: flex; align-items: center; gap: 8px; padding: 7px 10px; cursor: pointer; border-radius: 7px; background: linear-gradient(180deg, rgba(34,26,46,.96), rgba(16,14,26,.96)); border: 1px solid rgba(255,215,114,.3); }
#hGrupo .gpTopo img, #hGrupo .gpTopo .ic { width: 26px; height: 26px; image-rendering: pixelated; }
#hGrupo .gpTopo span { flex: 1; display: flex; flex-direction: column; } #hGrupo .gpTopo b { font: 800 13px var(--px); color: #e9dcff; letter-spacing: .04em; } #hGrupo .gpTopo small { color: #ffd772; font-weight: 700; font-size: 11.5px; }
#hGrupo .gpTopo i { font-style: normal; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; }
#hGrupo .gpL { padding: 8px 10px 7px; border-radius: 7px; background: linear-gradient(180deg, rgba(24,22,38,.95), rgba(12,12,22,.95)); border: 1px solid rgba(255,255,255,.08); border-left: 3px solid var(--cc); }
#hGrupo .gpL.off { opacity: .5; } #hGrupo .gpL.caiu .gpV i { background: #555; }
#hGrupo .gpN { display: flex; align-items: center; gap: 8px; } #hGrupo .gpN img, #hGrupo .gpN .ic { width: 28px; height: 28px; image-rendering: pixelated; flex: none; }
#hGrupo .gpN > span { flex: 1; min-width: 0; display: flex; flex-direction: column; } #hGrupo .gpN > span b { font: 800 13.5px var(--px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #hGrupo .gpN small { font-size: 10.5px; opacity: .8; } #hGrupo .gpN em { font-style: normal; font-weight: 800; }
#hGrupo .gpD { display: flex; flex-direction: column; align-items: flex-end; } #hGrupo .gpD b { font: 800 13px var(--px); color: #fff3c4; } #hGrupo .gpD small { font-size: 10.5px; opacity: .7; }
#hGrupo .gpV { position: relative; height: 15px; margin-top: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
#hGrupo .gpV i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #c8283a, #ff5a6a); } #hGrupo .gpV s { position: absolute; inset: 0 auto 0 0; background: rgba(255,243,160,.55); text-decoration: none; }
#hGrupo .gpV span { position: relative; display: block; padding-left: 6px; font: 700 10.5px/15px var(--px); text-shadow: 0 1px 2px #000; }
#hGrupo .gpI { display: flex; justify-content: space-between; margin-top: 4px; font-size: 10.5px; opacity: .8; }
#hGrupo .gpP { height: 3px; margin-top: 4px; border-radius: 2px; background: rgba(255,255,255,.06); overflow: hidden; } #hGrupo .gpP i { display: block; height: 100%; background: var(--cc); }
/* 2.9: ajustes — sem arco nas técnicas, cartão de pessoa do grupo sem vazar, meta some (fica no Caderno) */
@media (min-width: 901px) { #barraHab .hab[data-hab] { transform: none !important; } #hBuffs .bf.meta { display: none; } }
.gAchar { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gPessoa { flex-wrap: wrap; min-width: 0; overflow: hidden; } .gPessoa .cresce { flex: 1 1 90px; min-width: 0; } .gPessoa .cresce b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gPessoa .bt.mini { flex: none; margin-left: auto; }
/* 2.9: cartões do grupo mais compactos */
@media (min-width: 901px) {
  #hGrupo { width: 280px; } #hGrupo .gpBox { gap: 4px; }
  #hGrupo .gpTopo { padding: 5px 8px; } #hGrupo .gpTopo b { font-size: 11.5px; } #hGrupo .gpTopo small { font-size: 10.5px; }
  #hGrupo .gpL { padding: 5px 8px 5px; }
  #hGrupo .gpN { gap: 6px; } #hGrupo .gpN img, #hGrupo .gpN .ic { width: 22px; height: 22px; }
  #hGrupo .gpN > span b { font-size: 12px; } #hGrupo .gpN small, #hGrupo .gpD small { font-size: 9.5px; } #hGrupo .gpD b { font-size: 11.5px; }
  #hGrupo .gpV { height: 12px; margin-top: 4px; } #hGrupo .gpV span { font-size: 9.5px; line-height: 12px; }
  #hGrupo .gpI { margin-top: 2px; font-size: 9.5px; } #hGrupo .gpP { margin-top: 3px; height: 2px; }
}
/* 2.11: painel Mundo mostra só a categoria aberta */
.mAbas { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; margin-bottom: 10px; border-radius: 8px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,215,114,.25); }
.mAbas > small { font: 800 11px var(--px); letter-spacing: .12em; text-transform: uppercase; color: #ffd772; }
.mAbas > div { display: flex; flex-wrap: wrap; gap: 5px; }
.mAbas .bt.mini.on { background: linear-gradient(180deg, #ffd772, #e0a630); color: #241a06; border-color: #ffd772; }
.admTab { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 12px; } .admTab th, .admTab td { padding: 4px 6px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: right; } .admTab th:first-child, .admTab td:first-child { text-align: left; } .admTab th { color: #ffd772; }
.ctBloco { padding: 8px 10px; margin-bottom: 10px; border-radius: 8px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,215,114,.2); } .ctBloco h3 { margin-top: 0; }
/* 2.11: próximos passos ao voltar */
.voltaL { display: flex; flex-direction: column; gap: 6px; }
.voltaBt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; text-align: left; color: inherit; font: inherit; cursor: pointer; border-radius: 7px; border: 1px solid rgba(255,215,114,.3); background: linear-gradient(90deg, rgba(48,36,12,.6), rgba(14,18,28,.8)); }
.voltaBt:hover { border-color: #ffd772; } .voltaBt img, .voltaBt .ic { width: 28px; height: 28px; image-rendering: pixelated; }
.voltaBt span { flex: 1; display: flex; flex-direction: column; } .voltaBt b { color: #ffd772; } .voltaBt small { opacity: .8; } .voltaBt i { font-style: normal; font-size: 20px; color: #ffd772; }

/* 2.13: Ateliê */
.atSec { margin-top: 12px; }
.atSec > .linha small, .atSec > small { color: #9fb0c8; }
.atGrade { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin-top: 6px; }
.atItem { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 6px; border-radius: 10px; background: linear-gradient(180deg, #1d2436, #141a28); border: 1px solid #2c3650; text-align: center; }
.atItem.on { border-color: #ffd772; box-shadow: 0 0 10px rgba(255,215,114,.25); }
.atItem.largo { grid-column: span 2; }
.atItem > b { font-size: 14px; text-shadow: 0 1px 0 #000, 0 0 6px currentColor; }
.atItem small { color: #b8c4d8; font-size: 11px; }
.atItem .bt { width: 100%; }
.atItem .pfPrevF { display: block; width: 100%; aspect-ratio: 2 / 1; border-radius: 6px; background-size: cover; image-rendering: pixelated; }
.atItem .pfMold.mini { width: 58px; height: 58px; }
.atTit { color: #ffe08a; font-size: 13px; }
.atVitrine { display: flex; gap: 12px; align-items: center; border-color: #ffd772; background: linear-gradient(120deg, #2a2010, #141a28 60%); }
.atVitrine .pfMold { width: 84px; height: 84px; }
.atVitrine .cresce { display: flex; flex-direction: column; gap: 3px; }
.atRastro { position: relative; display: block; width: 64px; height: 26px; }
.atRastro i { position: absolute; bottom: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); animation: atSobe 1.2s ease-out infinite; }
.atRastro i:nth-child(1) { left: 6px; } .atRastro i:nth-child(2) { left: 20px; animation-delay: .3s; } .atRastro i:nth-child(3) { left: 34px; animation-delay: .6s; } .atRastro i:nth-child(4) { left: 48px; animation-delay: .9s; }
.atRastro.r-petala i { border-radius: 60% 0; } .atRastro.r-estrela i { border-radius: 1px; transform: rotate(45deg); width: 5px; height: 5px; }
@keyframes atSobe { 0% { transform: translateY(0) scale(1); opacity: 1; } 100% { transform: translateY(-14px) scale(.4); opacity: 0; } }
/* molduras do Ateliê e da vitrine */
.pfMold.m-cobre { --b1: #f0a070; --b2: #7a3a1a; box-shadow: 0 4px 0 #000, 0 0 10px rgba(240,140,90,.4); }
.pfMold.m-safira { --b1: #8fd0ff; --b2: #1a3a8a; box-shadow: 0 4px 0 #000, 0 0 14px rgba(90,160,255,.55); }
.pfMold.m-imperial { background: linear-gradient(135deg, #fff2b0, #d4a020 30%, #6a1a8a 60%, #d4a020 85%, #fff2b0); background-size: 200% 200%; animation: pfBrilho 4s linear infinite; box-shadow: 0 4px 0 #000, 0 0 18px rgba(200,140,255,.5); }
.pfMold.m-eclipse { background: conic-gradient(from var(--ang, 0deg), #000, #ff6a1a, #000 40%, #ffcf4a, #000 80%); animation: pfGira 5s linear infinite; box-shadow: 0 4px 0 #000, 0 0 18px rgba(255,120,40,.55); }
.pfMold.m-aurora { background: linear-gradient(90deg, #3fffc0, #3fa0ff, #c070ff, #3fffc0); background-size: 300% 100%; animation: pfBrilho 3.5s linear infinite; box-shadow: 0 4px 0 #000, 0 0 18px rgba(80,255,200,.45); }
.pfMold.m-tempestade { --b1: #e8f4ff; --b2: #2a3a6a; animation: pfPulso 1.1s ease-in-out infinite; --gl: rgba(160,200,255,.75); }
.pfMold.m-sakura { background: linear-gradient(135deg, #ffd6ec, #ff7ac0 50%, #ffd6ec); background-size: 200% 200%; animation: pfBrilho 5s linear infinite; box-shadow: 0 4px 0 #000, 0 0 14px rgba(255,140,200,.55); }

/* 2.14: nome do lugar pisca ao entrar; celular sem quadro da vila, sem metas por cima da vida, barra: config | técnicas | poções */
#lugarFlash { position: fixed; left: 0; right: 0; top: 28%; z-index: 30; text-align: center; pointer-events: none; font-family: var(--px); font-size: clamp(22px, 7vw, 40px); color: var(--ambar2); text-shadow: 0 3px 0 #000, 0 0 14px rgba(255,190,80,.6); opacity: 0; }
#lugarFlash.vai { animation: lugarPisca 2.6s ease-out forwards; }
@keyframes lugarPisca { 0% { opacity: 0; transform: scale(.9); } 12%, 24%, 36% { opacity: 1; transform: scale(1); } 18%, 30% { opacity: .35; } 75% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 900px) {
  body:not(.hudCheio) #lugar.soNome { display: none; }
  body:not(.hudCheio) #metasHud { display: none !important; }
  body:not(.hudCheio) #barraHab { left: 60px !important; right: 6px; width: auto; grid-auto-flow: row; grid-template-columns: auto 1fr auto auto auto 1fr auto; grid-template-rows: auto auto; justify-content: stretch; }
  body:not(.hudCheio) #barraHab > * { order: 0 !important; }
  body:not(.hudCheio) #btAutoCfg { grid-column: 1; grid-row: 1; width: 46px; height: 46px; margin: 0 !important; }
  body:not(.hudCheio) #btAuto { grid-column: 1; grid-row: 2; margin: 0 !important; }
  body:not(.hudCheio) #barraHab > :nth-child(2) { grid-column: 3; grid-row: 1; }
  body:not(.hudCheio) #barraHab > :nth-child(3) { grid-column: 4; grid-row: 1; }
  body:not(.hudCheio) #barraHab > :nth-child(4) { grid-column: 5; grid-row: 1; }
  body:not(.hudCheio) #barraHab > :nth-child(5) { grid-column: 3; grid-row: 2; }
  body:not(.hudCheio) #barraHab .hab.zen { grid-column: 4; grid-row: 2; }
  body:not(.hudCheio) #barraHab .hab.pocao[data-v="mana"] { grid-column: 7; grid-row: 1; }
  body:not(.hudCheio) #barraHab .hab.pocao[data-v="vida"] { grid-column: 7; grid-row: 2; }
  body:not(.hudCheio) #barraHab .hab[data-hab] { width: 52px; height: 52px; }
}

/* 2.13.2: personagem não escapa da moldura */
.pfMold { overflow: hidden; } .pfMold img { min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; box-sizing: border-box; }

/* 2.14: garantia da chave */
.chaveGar { position: relative; margin-top: 4px; height: 14px; border-radius: 7px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,215,114,.35); overflow: hidden; font-size: 10px; line-height: 14px; text-align: center; }
.chaveGar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #7a5a14, #ffd772); opacity: .55; }
.chaveGar span { position: relative; z-index: 1; color: #fff3d6; }
.chaveGar { flex: 1 0 100%; width: 100%; }
#lugar { flex-wrap: wrap; }
@media (max-width: 900px) { body.novato:not(.hudCheio) #missao { display: block !important; top: auto !important; bottom: calc(118px + env(safe-area-inset-bottom, 0px)) !important; left: 8px !important; right: auto !important; max-width: min(210px, 56vw); padding: 4px 8px; font-size: 11px; } }
/* 2.14: celular enxuto — só o botão do chefe no topo; caderno e meta saem (ficam no Menu) */
@media (max-width: 900px) {
  body:not(.hudCheio) #missao, body:not(.hudCheio) #hBuffs .bf.meta { display: none !important; }
  body:not(.hudCheio) #lugar { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; justify-content: flex-end; }
  body:not(.hudCheio) #lugar > .nome, body:not(.hudCheio) #lugar > small, body:not(.hudCheio) #lugar .lgSub, body:not(.hudCheio) #lugar .chaveGar,
  body:not(.hudCheio) #lugar .lgBaixo [data-a="abrir"][data-v="mapa"], body:not(.hudCheio) #lugar .lgBaixo [data-a="vila"], body:not(.hudCheio) #lugar .ritmo { display: none !important; }
  body:not(.hudCheio) #lugar .lgBaixo { margin: 0 0 0 auto; width: auto; }
}

/* 2.16 indicação */
.indLinha { display: flex; gap: 6px; align-items: center; margin: 6px 0; flex-wrap: wrap; } .indLinha .codigo { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.indCod { font-family: var(--px); font-size: 20px; letter-spacing: 2px; color: #ffd772; border: 1px dashed #b8902e; padding: 2px 10px; border-radius: 6px; }
.indStats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0; } .indStats > div { background: rgba(0,0,0,.3); border: 1px solid var(--linha); border-radius: 8px; padding: 6px; display: flex; flex-direction: column; }
.indStats b { font-size: 18px; }

#inInd::placeholder { text-transform: none; }

/* 2.16.1 polimento: avisos centrais quebram linha; barra cabe em 320px */
#central, #central * { white-space: normal !important; max-width: calc(100vw - 24px); overflow-wrap: anywhere; }
@media (max-width: 370px) {
  body:not(.hudCheio) #barraHab { gap: 4px !important; left: 54px !important; }
  body:not(.hudCheio) #barraHab .hab, body:not(.hudCheio) #btAuto, body:not(.hudCheio) #btAutoCfg { width: 40px !important; height: 40px !important; }
  body:not(.hudCheio) #barraHab .hab[data-hab] { width: 44px !important; height: 44px !important; }
}

/* 2.18 Devorador */
.devCartao{display:flex;gap:16px;align-items:flex-start}.devRetrato{width:110px;image-rendering:pixelated;filter:drop-shadow(0 0 14px #45dccc55)}
.devRank{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.devRank ol{padding-left:22px;font-size:12px;overflow-wrap:anywhere}.devPapel{width:28px;vertical-align:middle;image-rendering:pixelated;margin-right:6px}
.devAbertura{text-align:center}.devBauAnim{height:130px;position:relative}.devBauAnim img{position:absolute;width:120px;height:120px;object-fit:contain;image-rendering:pixelated;left:calc(50% - 60px);opacity:0}
.devBauAnim img:nth-child(1){animation:devFechado .7s steps(2,end)}.devBauAnim img:nth-child(2){animation:devMeio .6s .7s steps(2,end)}.devBauAnim img:nth-child(3){animation:devAberto .5s 1.3s forwards}
.devRevelado{animation:devRevela 1.8s both}@keyframes devFechado{0%,100%{opacity:1;transform:rotate(-4deg)}50%{transform:rotate(4deg)}}@keyframes devMeio{0%,100%{opacity:1;transform:scale(1.08)}}@keyframes devAberto{to{opacity:1;filter:drop-shadow(0 0 18px #ffd772)}}@keyframes devRevela{0%,85%{opacity:0}100%{opacity:1}}
@media(max-width:600px){.devCartao{display:block}.devRetrato{float:right;width:80px}.devRank{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.devBauAnim img{animation:none;opacity:0}.devBauAnim img:nth-child(3){opacity:1}.devRevelado{animation:none}}
/* 2.19: retratos do torneio, com espaço para toque em telas pequenas. */
.tnRivais {display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;margin:10px 0}
.tnRivais .cartao {display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;min-width:0}
.tnRivais img {object-fit:contain;image-rendering:pixelated}
/* 2.20: guia da 1ª caçada */
.guiaPulso { animation: guiaPulso 1.1s ease-in-out infinite; box-shadow: 0 0 0 0 rgba(255,210,62,.8); }
@keyframes guiaPulso { 0%,100% { box-shadow: 0 0 0 0 rgba(255,210,62,.8); transform: scale(1); } 50% { box-shadow: 0 0 0 10px rgba(255,210,62,0); transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .guiaPulso { animation: none; outline: 3px solid #ffd23e; } }

/* 2.21: troca direta · 2.21.2 visual */
.trGrade { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .trGrade { grid-template-columns: 1fr; } }
.trCol { padding: 10px; border-radius: 10px; background: linear-gradient(180deg, rgba(255,215,114,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,215,114,.22); display: flex; flex-direction: column; gap: 8px; }
.trCol.ok { border-color: #4fd6a8; box-shadow: 0 0 0 1px #4fd6a8 inset, 0 0 14px rgba(79,214,168,.25); }
.trCab { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .trCab b { color: #ffd772; } .trOk { color: #8af0d0; font-size: 12px; }
.trSlots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.trSlot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; text-align: center; }
.trSlot > small { font-size: 10px; line-height: 1.15; opacity: .85; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.trSlot .item { width: 100%; aspect-ratio: 1; }
.trSlot .trIco { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); }
.trSlot.vazio .trIco { border-style: dashed; background: rgba(0,0,0,.15); }
.trSlot .trIco .ic, .trSlot .trIco img { width: 60%; height: auto; image-rendering: pixelated; }
.trN { position: absolute; right: 3px; bottom: 1px; font-size: 11px; color: #fff; text-shadow: 0 1px 0 #000, 0 0 3px #000; font-variant-numeric: tabular-nums; }
.trX { position: absolute; top: -6px; right: -4px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #ff8a7a; background: #3a1512; color: #ffb0a6; font-size: 11px; line-height: 1; cursor: pointer; padding: 0; }
.trOuro { display: flex; align-items: center; gap: 6px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.08); font-variant-numeric: tabular-nums; }
.trLista { display: flex; flex-direction: column; gap: 4px; }
.trLin { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; background: rgba(255,255,255,.035); }
.trLin .trIco { width: 32px; height: 32px; flex: none; display: grid; place-items: center; } .trLin .trIco .ic, .trLin .trIco img { width: 28px; height: 28px; image-rendering: pixelated; margin: 0; }
.trNome { flex: 1; min-width: 0; display: flex; flex-direction: column; } .trNome small { opacity: .6; font-size: 11px; }
.trQtd { width: 84px; flex: none; padding: 6px 8px; border-radius: 6px; border: 1px solid rgba(255,215,114,.3); background: #10141f; color: #f3ead7; font: inherit; font-variant-numeric: tabular-nums; }
.trQtd:focus { outline: none; border-color: #ffd772; box-shadow: 0 0 0 2px rgba(255,215,114,.25); }
.trQtd::placeholder { color: #6f7688; }
.trPecas { max-height: 260px; overflow-y: auto; padding: 2px; }

/* 2.22.2 polimento celular (primeiros 30 min) */
#missao .t { flex-wrap: wrap; gap: 0 8px; } #missao .t > span { white-space: nowrap; }
@media (max-width: 860px) { .tInfo { flex: 1 1 100%; order: 3; } }
@media (max-width: 700px) { body:not(.hudCheio) #btSair { width: 46px; padding: 4px 2px; font-size: 11px; white-space: nowrap; overflow: hidden; } }
.gCard .gTxt { min-height: 7.5em; }
/* 2.23.3: ☰ Menu mostra quantas coisas pedem atenção */
.pt.ptN { width: auto; min-width: 18px; height: 18px; padding: 0 4px; top: -8px; right: -6px; border-radius: 9px; font: 700 11px/14px system-ui, sans-serif; color: #fff; text-align: center; font-style: normal; }
