:root {
  --bg: #0e1116;
  --panel: #171b22;
  --line: #2a303b;
  --text: #e8e6e3;
  --muted: #9aa3ad;
  --accent: #ffb400;
  --hp: #3ddc6a;
  --hp-enemy: #ff5a4f;
  --ki: #3fa9ff;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 14px/1.4 system-ui, "Segoe UI", sans-serif; }
button, select, input { font: inherit; color: inherit; }
button { background: #232a35; border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; cursor: pointer; }
button:hover { border-color: var(--accent); }
select, input:not([type]) { background: #11151b; border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; }
code { color: var(--accent); }

.topbar { display: flex; gap: 16px; align-items: center; padding: 8px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.topbar a { color: var(--accent); text-decoration: none; }
.hint { color: var(--muted); font-size: 12px; }

/* ---------- visualizador ---------- */
.viewer-main { display: grid; grid-template-columns: 240px 1fr 320px; gap: 12px; padding: 12px; height: calc(100% - 42px); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 8px; overflow: auto; }
.panel label { display: flex; flex-direction: column; gap: 4px; }
.panel label:has(input[type=checkbox]) { flex-direction: row; align-items: center; }
#clip { flex: 1; min-height: 200px; }
.stage-wrap { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.stage-wrap canvas { width: 100%; background: radial-gradient(#243044, #0b0e13); border-radius: 8px; border: 1px solid var(--line); }
.controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.controls label { display: flex; gap: 6px; align-items: center; }
#seek { flex: 1; min-width: 120px; }
.scripts ol { margin: 0; padding-left: 0; list-style: none; font-size: 12px; }
.scripts li { padding: 4px 6px; border-radius: 4px; border-left: 3px solid transparent; word-break: break-word; }
.scripts li.on { background: #2b2410; border-left-color: var(--accent); }
.scripts h3 { margin: 6px 0 0; font-size: 14px; }

/* ---------- batalha ---------- */
.battle { display: flex; align-items: center; justify-content: center; overflow: hidden; height: 100dvh; }
.game { position: relative; width: min(100vw, calc(100vh * 1450 / 750)); width: min(100vw, calc(100dvh * 1450 / 750)); aspect-ratio: 1450 / 750; background: #000; overflow: hidden; }
.game canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.game video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; pointer-events: none; }
.hud { position: absolute; inset: 0; pointer-events: none; font-size: clamp(10px, 1.4vw, 16px); }
.hud * { pointer-events: auto; }
.cards { position: absolute; bottom: 3%; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; height: 19%; }
.card { flex: none; height: 100%; position: relative; aspect-ratio: 1; border: 2px solid #6b5a2a; border-radius: 6px; overflow: hidden; background: #20242c; cursor: pointer; transition: transform .15s; }
.card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card .bars { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.55); padding: 3px; }
.bar { height: 6px; background: #000a; border-radius: 3px; overflow: hidden; margin-top: 2px; }
.bar i { display: block; height: 100%; background: var(--hp); transition: width .2s; }
.bar.ki i { background: var(--ki); }
.card.ready { border-color: var(--accent); box-shadow: 0 0 12px var(--accent); transform: translateY(-6%); }
.card.ready::after { content: "SUPREMO!"; position: absolute; top: 4px; left: 0; right: 0; text-align: center; font-weight: 800; color: var(--accent); text-shadow: 0 0 4px #000, 0 0 8px #000; font-size: .8em; }
.card.dead { filter: grayscale(1) brightness(.5); cursor: default; }
.card.queued { outline: 3px solid #fff; }
.topinfo { position: absolute; top: 2%; left: 2%; right: 2%; display: flex; justify-content: space-between; align-items: flex-start; }
.teambar { width: 34%; }
.teambar .name { font-weight: 700; text-shadow: 0 1px 3px #000; }
.teambar .bar { height: 10px; }
.teambar.enemy { text-align: right; }
.teambar.enemy .bar i { background: var(--hp-enemy); margin-left: auto; }
.menu { display: flex; gap: 8px; }
.menu a { text-decoration: none; }
.side-btns { position: absolute; right: 2%; bottom: 4%; display: flex; flex-direction: column; gap: 8px; }
.side-btns button.on { border-color: var(--accent); color: var(--accent); }
.overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: safe center; overflow-y: auto; padding: 12px 0; gap: 16px; background: rgba(0,0,0,.6); text-align: center; }
.overlay h1 { font-size: 3.5em; margin: 0; color: var(--accent); text-shadow: 0 0 20px #f60; letter-spacing: 2px; }
.overlay .pick { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; max-width: 90%; }
.overlay .team { background: #0009; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.overlay .team h3 { margin: 0 0 6px; }
.overlay .opts { display: grid; grid-template-columns: repeat(4, 64px); gap: 6px; }
.overlay .opt { width: 64px; height: 64px; border: 2px solid #333; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: .5; }
.overlay .opt.sel { opacity: 1; border-color: var(--accent); }
.overlay .opt img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.big { font-size: 1.3em; padding: 10px 28px; background: var(--accent); color: #000; font-weight: 800; border: 0; }
.dmg-log { position: absolute; left: 1.5%; bottom: 20%; font-size: .8em; color: var(--muted); max-width: 28%; text-shadow: 0 1px 2px #000; }
@media (max-width: 800px) {
  .viewer-main { grid-template-columns: 1fr; height: auto; }
}

/* opções de Supremo no menu */
.overlay .eso { margin-top: 8px; text-align: left; font-size: 12px; max-width: 290px; }
.overlay .eso-topo { display: flex; gap: 6px; align-items: center; font-weight: 700; margin-bottom: 4px; }
.overlay .eso-topo button { font-size: 11px; padding: 2px 8px; }
.overlay .eso-heroi { border-top: 1px solid var(--line); padding: 4px 0; display: flex; flex-direction: column; gap: 2px; }
.overlay .eso-heroi label { display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.overlay .eso-heroi select { font-size: 11px; max-width: 120px; }

/* catálogo com todos os lutadores */
.overlay .team { cursor: pointer; min-width: 230px; }
.overlay .team.ativo { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.overlay .escalados { display: flex; gap: 6px; justify-content: center; min-height: 64px; }
.overlay .catalogo { background: #0009; border: 1px solid var(--line); border-radius: 8px; padding: 8px; width: min(92%, 640px); }
.overlay .busca { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; font-size: 12px; }
.overlay .busca input#busca { flex: 1; min-width: 160px; padding: 5px 8px; }
.overlay #grade { grid-template-columns: repeat(auto-fill, 64px); justify-content: center; max-height: 220px; overflow-y: auto; }
.overlay .opt span { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 10px; padding: 2px; text-align: center; color: #ddd; background: #223; }

/* ---------- celular ---------- */
/* o menu usa a tela inteira (a luta continua 16:9) */
.overlay { position: fixed; z-index: 10; background: rgba(0,0,0,.85); font-size: 14px; }
.overlay h1 { font-size: 2.6em; }
@media (max-width: 700px) {
  .overlay { justify-content: flex-start; padding: 16px 10px 24px; gap: 10px; }
  .overlay h1 { font-size: 2em; }
  .overlay .pick { flex-direction: column; align-items: stretch; width: 100%; max-width: 100%; gap: 10px; }
  .overlay .team { min-width: 0; }
  .overlay .eso { max-width: 100%; }
  .overlay .catalogo { width: 100%; }
  .overlay #grade { grid-template-columns: repeat(auto-fill, 56px); max-height: 40vh; }
  .overlay #grade .opt, .overlay .escalados .opt { width: 56px; height: 56px; }
  .overlay .eso-heroi select { max-width: 45vw; }
}
/* celular em pé durante a luta: sugere deitar */
.girar { display: none; }
@media (orientation: portrait) and (max-width: 700px) {
  .girar { display: block; position: fixed; left: 0; right: 0; bottom: 12px; text-align: center; color: var(--muted); font-size: 13px; }
}

/* modo história: seletor de modo e formação inimiga (2 fileiras x 3 colunas) */
.overlay .modos { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.overlay .modos button.on { border-color: var(--accent); color: var(--accent); }
.overlay .modos input { width: 64px; margin-left: 6px; }
.overlay .historia { cursor: default; text-align: left; max-width: 460px; }
.overlay .hsel { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.overlay .hsel select { max-width: 100%; }
.overlay .onda { margin-top: 6px; }
.overlay .formacao { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.overlay .vaga { display: grid; grid-template-columns: 40px 1fr; column-gap: 6px; align-items: center; font-size: 11px;
  background: #0006; border: 1px solid var(--line); border-radius: 6px; padding: 3px; min-height: 46px; }
.overlay .vaga img { grid-row: span 3; width: 40px; height: 40px; object-fit: cover; object-position: top; border-radius: 4px; }
.overlay .vaga b { font-size: 12px; }
.overlay .vaga span { color: var(--muted); }
.overlay .vaga.vazia { background: transparent; border-style: dashed; opacity: .35; }
.overlay .vaga.chefe { border-color: #ff5a4f; box-shadow: 0 0 0 1px #ff5a4f55; }

/* ficha do seu time (nível e atributos copiados do jogo) */
.overlay .fichas { margin-top: 8px; text-align: left; font-size: 12px; }
.overlay .fichas table { border-collapse: collapse; width: 100%; }
.overlay .fichas th { color: var(--muted); font-weight: 600; text-align: left; padding: 2px 3px; }
.overlay .fichas td { padding: 2px 3px; white-space: nowrap; }
.overlay .fichas input { width: 58px; font-size: 11px; padding: 2px 4px; }
.overlay .fichas td:nth-child(3) input { width: 40px; }

/* ---------- telas do jogo (csb do APK, js/ui.js) ---------- */
@font-face { font-family: "JogoPT"; src: url("../ui/fonts/fontblock1.ttf"); }
@font-face { font-family: "JogoTitulo"; src: url("../ui/fonts/BRITANNICBOLD.TTF"); }
.ui-host { position: absolute; inset: 0; pointer-events: none; }
.ui-host .cc-raiz { transform-origin: 0 100%; top: auto !important; }
.cc { position: absolute; background-size: 100% 100%; background-repeat: no-repeat; box-sizing: border-box; }
.cc[hidden] { display: none !important; }
.cc-texto { position: absolute; inset: 0; display: flex; align-items: center; white-space: nowrap;
  color: #fff; font-family: "JogoPT", system-ui, sans-serif; text-shadow: none; pointer-events: none; }
.cc-raiz { position: absolute; }
.cc-Button, .cc[data-nome^="FighterButton_"] { pointer-events: auto; cursor: pointer; }
.cc-Button:hover { filter: brightness(1.15); }
.cc-Button.ligado:hover { filter: none; }
.cartao { position: absolute; inset: 0; background-size: 100% 100%; overflow: hidden; }
.cartao img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: cover; }
.cartao img.meio { object-position: top; }
.cartao i { position: absolute; inset: 0; background-size: 100% 100%; }
.retrato-fila { position: absolute; left: 50%; top: 50%; width: 98px; height: 94px; transform: translate(-50%, -50%);
  background: center / auto no-repeat; pointer-events: none;
  -webkit-mask: url("../ui/img/battleSceneUi/longzhu/pic_fight_touxiangdi_zhezhao.png") center / 100% 100% no-repeat;
  mask: url("../ui/img/battleSceneUi/longzhu/pic_fight_touxiangdi_zhezhao.png") center / 100% 100% no-repeat; }
/* supremo pronto / em espera: selos Spine do APK (seloHud em index.html), sem brilho próprio */
.cc[data-nome^="FighterButton_"].morto { filter: grayscale(1) brightness(.5); }
@keyframes pulsar { to { filter: drop-shadow(0 0 18px #ff9d00) brightness(1.15); } }

/* ---------- tela Implantar (js/escalacao.js) ---------- */
.tela-jogo { position: absolute; inset: 0; z-index: 5; overflow: clip; background: #000 center / cover no-repeat;
  user-select: none; -webkit-user-select: none; touch-action: none; }
.tela-jogo[hidden] { display: none; }
.tela-jogo > canvas.fundo { position: absolute; inset: 0; width: 100%; height: 100%; }
.tela-jogo .palco { position: absolute; left: 0; top: 0; width: 1450px; height: 750px; transform-origin: 0 0; }
.tela-jogo .palco > .cc-raiz { left: 0; bottom: 0; }
.tela-jogo canvas.boneco { position: absolute; top: auto; right: auto; pointer-events: none; }
/* o painel das vagas cobre a 1ª coluna da lista: deixa o toque passar (a vaga é achada pela geometria) */
.tela-jogo [data-nome="main_panels"] { pointer-events: none; }
.tela-jogo .alvo-vaga { position: absolute; left: 17px; bottom: 10px; width: 140px; height: 230px; cursor: grab; }
.tela-jogo .cc[data-nome^="seat"].sobre [data-nome="blue"],
.tela-jogo .cc[data-nome^="seat"].sobre [data-nome="canAdd"] { filter: brightness(1.6) drop-shadow(0 0 8px #7dff9a); }
.tela-jogo [data-nome="canAdd"], .tela-jogo [data-nome="blue"] { cursor: pointer; }
.lista-herois { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; display: grid;
  grid-template-columns: repeat(4, 120px); grid-auto-rows: 138px; align-content: start; scrollbar-width: none;
  /* Escalacao trata rolagem vertical e arraste lateral; o navegador não deve cancelar o gesto nesta área rolável. */
  touch-action: none; }
.lista-herois::-webkit-scrollbar { display: none; }
.cel-heroi { position: relative; width: 110px; height: 128px; cursor: pointer; }
.cel-heroi[hidden] { display: none; }
.cel-heroi [data-nome="headBox"] { overflow: hidden; }
.cel-heroi [data-nome="headBox"] img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cel-heroi [data-nome="headBox"] img.meio { object-position: top; }
.cel-heroi .cc-texto { font-size: 20px; }
.fantasma-arraste { position: fixed; width: 72px; height: 72px; transform: translate(-50%, -50%); pointer-events: none;
  z-index: 50; border-radius: 8px; opacity: .85; box-shadow: 0 0 12px #000; }
.barra-topo [data-nome="btn_back"] { cursor: pointer; }
/* controles da recriação no lugar da barra de recursos do jogo (moldura frame_txt_top_common.png) */
.controles-topo { position: absolute; left: 640px; top: 8px; width: 620px; display: flex; flex-wrap: wrap; gap: 6px 8px;
  align-items: center; font: 17px "JogoPT", system-ui, sans-serif; color: #fff; text-shadow: 0 1px 2px #000; }
.controles-topo button, .ficha-jogo button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
.controles-topo .caixa-topo { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; text-decoration: none;
  color: #fff; background: url("../ui/img/common/frame_txt_top_common.png") 0 0 / 100% 100% no-repeat; }
.controles-topo .caixa-topo span { color: #ffe37a; }
.controles-topo .caixa-topo b { min-width: 28px; text-align: center; }
.controles-topo .caixa-topo button { width: 24px; height: 24px; line-height: 22px; border-radius: 4px; font-weight: 700;
  background: linear-gradient(#ffe25a, #f0a400); color: #5a2c00; text-shadow: none; }
.controles-topo .caixa-topo.som { opacity: .7; }
.controles-topo .caixa-topo.som.on { opacity: 1; }
.controles-topo .cena b { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.controles-topo .abas.time { position: absolute; left: -620px; top: 680px; }   /* canto de baixo à esquerda da Implantar */
.controles-topo .abas:first-child .aba { width: 118px; height: 38px; font-size: 16px !important; }
/* abas no estilo do Filtro (Pic_BuZhen_BiqoQian_Huidi/Huangdi) */
.aba { width: 125px; height: 44px; background: url("../ui/img/embattle/atlas/Pic_BuZhen_BiqoQian_Huidi.png") 0 0 / 100% 100% no-repeat !important;
  color: #c9c9c9 !important; font: 17px "JogoPT", system-ui, sans-serif !important; }
.aba.on { background-image: url("../ui/img/embattle/atlas/Pic_BuZhen_BiqoQian_Huangdi.png") !important; color: #fff !important; }
.abas { display: flex; gap: 4px; }
/* ficha do lutador escalado (painel pic_common_tipsdi.png, como o Filtro) */
.ficha-jogo { position: absolute; inset: 0; z-index: 20; background: rgba(0,0,0,.45); font: 18px "JogoPT", system-ui, sans-serif;
  color: #fff; text-shadow: 0 1px 2px #000; }
.ficha-jogo[hidden] { display: none; }
.ficha-jogo .janela { position: absolute; left: 400px; top: 70px; width: 650px; min-height: 420px; padding: 34px 44px 30px;
  border: 16px solid transparent; border-image: url("../ui/img/common/pic_common_tipsdi.png") 16 fill / 16px stretch;
  display: flex; flex-direction: column; gap: 12px; }
.ficha-jogo .titulo { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 24px; }
.ficha-jogo .titulo i { width: 123px; height: 16px; background: url("../ui/img/common/pic_common_title_fengezhuangshi.png") 0 0 / 100% 100%; }
.ficha-jogo .titulo i:last-child { transform: scaleX(-1); }
.ficha-jogo .linha { display: flex; align-items: center; gap: 8px; }
.ficha-jogo .linha > button { width: 30px; height: 30px; border-radius: 5px; font-weight: 700; background: linear-gradient(#ffe25a, #f0a400);
  color: #5a2c00; text-shadow: none; }
.ficha-jogo .linha b { min-width: 34px; text-align: center; }
.ficha-jogo .attr { margin-left: auto; color: #ffe37a; font-size: 16px; }
.ficha-jogo .opcao span { color: #ffe37a; }
.ficha-jogo .graus { display: flex; gap: 4px; margin-top: 4px; }
.ficha-jogo .graus .aba { width: 130px; height: 40px; font-size: 15px !important; }
.ficha-jogo .opcao p, .ficha-jogo .vazio { margin: 4px 0 0; font-size: 14px; color: #ddd; min-height: 18px; }
.ficha-jogo .botoes { display: flex; justify-content: center; gap: 40px; margin-top: auto; }
.btn-azul, .btn-amarelo { width: 181px; height: 61px; font-size: 26px !important; background: url("../ui/img/common/Btn_Common_Blue.png") 0 0 / 100% 100% no-repeat !important; }
.btn-amarelo { background-image: url("../ui/img/common/Btn_Common_Yellow.png") !important; }
.tela-jogo [data-nome="herotype"], .tela-jogo [data-nome="herotype"] *, .tela-jogo [data-nome="imgIndex"] { pointer-events: none; }
.cel-heroi .sem-foto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  font: 17px/1.1 "JogoPT", system-ui, sans-serif; color: #fff; text-shadow: 0 1px 2px #000; padding: 6px; }
/* imagens 9-slice do csb (Scale9) que o ui.js estica: moldura inteira com border-image */
.tela-jogo [data-nome="panContent"] > [data-nome="imgBg"] { background: none !important;
  border: 16px solid transparent; border-image: url("../ui/img/common/pic_common_tipsdi.png") 16 fill / 16px stretch; }
/* ---------- modo história (js/historia.js) ---------- */
.mapa-rolo { position: absolute; left: 0; bottom: 0; width: 1450px; height: 750px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.mapa-rolo::-webkit-scrollbar { display: none; }
.mapa-rolo > .cc-raiz { position: relative !important; height: 750px; }
.ponto-fase { cursor: pointer; }
.ponto-fase:hover { filter: brightness(1.15); }
.ponto-fase [data-nome="panBossIcon"] { overflow: hidden; border-radius: 6px; }
.ponto-fase [data-nome="panBossIcon"] img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ponto-fase .cc-texto { font-size: 26px !important; }
.nome-capitulo { position: absolute; left: 700px; top: 22px; font: 24px "JogoPT", system-ui, sans-serif; color: #fff;
  text-shadow: 0 0 3px #000, 0 2px 3px #000; white-space: nowrap; }
.tela-jogo .bloqueado { cursor: default; }
.tela-jogo .cc-Button.bloqueado:hover { filter: none; }
.tela-jogo [data-nome="imgMask"].mascara { filter: brightness(0) opacity(.55); }
.chefe-fase { position: absolute; left: 380px; bottom: 0; transform: translateX(-50%); height: 690px; pointer-events: none; }
.estrelas-fim { display: flex; gap: 10px; margin: -6px 0 16px; }
.estrelas-fim i { width: 56px; height: 53px; background: url("../ui/img/common/pic_common_start_00.png") 0 0 / 100% 100%; }
.estrelas-fim i.on { background-image: url("../ui/img/common/pic_common_start.png"); }
.sobreposto, .sobreposto .cc { pointer-events: none; }
.sobreposto .cc-Button, .sobreposto .cc-Button * { pointer-events: auto; }
/* ---------- página inicial (js/inicio.js) ---------- */
.tela-inicio > canvas.papel { position: absolute; inset: 0; width: 100%; height: 100%; top: 0; }
.tela-inicio [data-nome="btnPlayerIcon"] { overflow: visible; }
.controles-topo.inicio { left: 470px; right: auto; top: 10px; width: auto; justify-content: flex-start; }   /* entre o painel do jogador e a barra de recursos: abaixo dela cobria a seta btnActivityList */
/* ---------- telas dos menus (js/telas.js, js/menus/*.js) ---------- */
.aviso-tela { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); z-index: 30; padding: 10px 26px;
  background: rgba(0, 0, 0, .75); border: 1px solid #b98a2a; border-radius: 6px; color: #fff;
  font: clamp(12px, 1.6vw, 18px) "JogoPT", system-ui, sans-serif; pointer-events: none; }
.item-jogo [data-nome="ivIcon"] { overflow: hidden; border-radius: 8px; }
.item-jogo [data-nome="ivIcon"] img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.item-jogo .sem-foto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  font: 16px/1.1 "JogoPT", system-ui, sans-serif; color: #fff; text-shadow: 0 1px 2px #000; padding: 6px; }
.item-jogo .cc-texto { text-shadow: 0 0 2px #000, 0 0 3px #000; }
/* Tarefa */
.lista-tarefas { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.lista-tarefas::-webkit-scrollbar { display: none; }
.cel-tarefa { position: relative; width: 1244px; height: 137px; }
.folga-tarefas { height: 120px; }
.cel-tarefa .cinza { filter: grayscale(1) brightness(.5); }
.texto-quebra > .cc-texto { white-space: normal; align-items: flex-start; line-height: 1.2; }
.cc-Button.brilho { filter: drop-shadow(0 0 8px #ffd54a); }
.campo-jogo { width: 100%; height: 100%; border: 0; background: transparent; outline: none; padding: 0 4px;
  font-family: "JogoPT", system-ui, sans-serif; pointer-events: auto; }
.campo-jogo::placeholder { color: rgba(49, 49, 49, .6); }
#tela { z-index: 6; }
.camada-popup { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); z-index: 30; isolation: isolate; }
.camada-popup > .cc-raiz { left: 0; bottom: 0; }
.rolo-vertical { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.centro > .cc-texto { justify-content: center; text-align: center; }
/* Desafio (js/menus/desafio.js): ScrollView/ListView horizontais do csb */
.rolo-horizontal { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.rolo-horizontal::-webkit-scrollbar { display: none; }
.fila-premios { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 5px; }
.fila-premios.esquerda { justify-content: flex-start; gap: 12px; }
.fila-premios > .item-jogo { flex: none; }
.pilha-abas { position: absolute; inset: 0; display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: none; }
.fila-pontos { position: absolute; inset: 0; display: flex; }
/* Guerreiro (js/menus/guerreiro.js): TableView de 5 colunas com heroManageTemp 200x270 */
.grade-guerreiros { display: grid; grid-template-columns: repeat(5, 200px); column-gap: 7.5px; row-gap: 3px; align-content: start; }
.cel-guerreiro { position: relative; width: 200px; height: 270px; cursor: pointer; }
.cel-guerreiro:hover { filter: brightness(1.1); }
/* Ficha do guerreiro (js/menus/ficha.js) */
.lista-ficha { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cel-ficha { flex: none; width: 110px; height: 110px; cursor: pointer; background-size: 100% 100%, 88% 88%, 100% 100%;
  background-position: center; background-repeat: no-repeat; opacity: .75; }
.cel-ficha.on { opacity: 1; filter: drop-shadow(0 0 8px #ffd54a); }
.fila-habilidades { position: absolute; inset: 0; display: flex; gap: 0; }
.descricao-despertar { overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.descricao-despertar::-webkit-scrollbar { display: none; }
.rotulo-super-despertar > .cc-texto { white-space: pre-line; font-size: 16px !important; line-height: 1.05; justify-content: center; text-align: center; }
.texto-quebra > .cc-texto { white-space: pre-line; overflow-wrap: anywhere; }   /* Cocos quebra palavra longa no meio quando não cabe */

/* Tabela de combos do time (js/tabelaCombos.js): extra da recriação, no tom das janelas do jogo */
/* Tabela de Combos (js/tabelaCombos.js): tela própria com as peças da janela de combos do jogo (ChaseInfoUI) */
.tc-camada { display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .72); z-index: 50; }
.tc-janela { position: relative; width: 1250px; max-height: 690px; display: flex; flex-direction: column; color: #fff;
  font-family: "JogoPT", system-ui, sans-serif; border: 22px solid transparent; box-sizing: border-box;
  border-image: url("../ui/img/common/pic_common_tipsdi.png") 22 fill / 22px stretch; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .7)); }
/* o fundo nativo é translúcido: um plano escuro por trás mantém a leitura sobre a Implantar */
.tc-janela::before { content: ""; position: absolute; inset: -14px; z-index: -1; background: rgba(9, 13, 30, .9); }
.tc-titulo { position: relative; height: 54px; flex: none; margin: -4px 0 4px -6px;
  background: url("../ui/img/common/pic_common_titledi.png") left center / 520px 54px no-repeat; }
.tc-titulo span { position: absolute; left: 34px; top: 7px; font-size: 32px; font-style: italic; color: #fff;
  -webkit-text-stroke: 5px #16224f; paint-order: stroke fill; letter-spacing: .5px; }
.tc-fechar { position: absolute; right: -34px; top: -40px; width: 147px; height: 79px; border: 0; padding: 0; cursor: pointer;
  background: url("../ui/img/common_dialogs/pic_common_tanchuang_cha.png") center / contain no-repeat; transform: scale(.8); }
.tc-fechar:hover { filter: brightness(1.15); } .tc-fechar:active { transform: scale(.74); }
.tc-corpo { overflow-y: auto; padding: 0 10px 8px 4px; scrollbar-width: thin; scrollbar-color: #4a5fa8 transparent; }
.tc-corpo h3 { margin: 12px 0 6px -4px; padding: 6px 0 8px 26px; height: 45px; box-sizing: border-box; font-size: 23px; font-weight: normal; color: #ffe27a;
  -webkit-text-stroke: 4px #1a1408; paint-order: stroke fill; background: url("../ui/img/common/pic_common_titledi.png") left center / 359px 45px no-repeat; }
.tc-corpo h3 small { margin-left: 14px; font-size: 18px; color: #fff; -webkit-text-stroke: 3px #1a1408; paint-order: stroke fill; }
.tc-tab { width: 100%; border-collapse: collapse; }
.tc-tab th { padding: 4px 10px 6px; text-align: left; font-size: 19px; font-weight: normal; color: #ffd24a;
  -webkit-text-stroke: 3px #1a1408; paint-order: stroke fill; border-bottom: 2px solid rgba(255, 210, 74, .45); }
.tc-tab td { padding: 7px 10px; vertical-align: middle; font-size: 18px;
  background: url("../ui/img/common/pic_common_tips_fengexian.png") left bottom / 100% 2px no-repeat; }
.tc-tab tr:nth-child(even) td { background-color: rgba(255, 255, 255, .035); }
.tc-quem { display: flex; align-items: center; gap: 12px; min-width: 200px; }
.tc-quem b { font-size: 20px; font-weight: normal; -webkit-text-stroke: 3px #000; paint-order: stroke fill; }
.tc-cartao { position: relative; flex: none; display: inline-block; width: 64px; height: 64px;
  background-size: 100% 100%, 88% 88%, 100% 100%; background-position: center; background-repeat: no-repeat; }
.tc-cartao i { position: absolute; left: 2px; bottom: 0; font-style: normal; font-size: 17px; color: #fff; -webkit-text-stroke: 3px #000; paint-order: stroke fill; }
.tc-cartao.tc-mini { width: 54px; height: 54px; } .tc-cartao.tc-mini i { display: none; }
.tc-chip { display: inline-block; padding: 1px 14px 3px; transform: skewX(-12deg); border: 2px solid #10131f; border-radius: 4px;
  background: linear-gradient(#ffffff55, #ffffff00 45%), var(--c); box-shadow: 0 2px 0 #0008; }
.tc-chip b { display: inline-block; transform: skewX(12deg); font-size: 17px; font-weight: normal; color: #fff; white-space: nowrap;
  -webkit-text-stroke: 3px #10131f; paint-order: stroke fill; }
.tc-nada { color: #8d99c2; font-size: 17px; }
.tc-seta { display: flex; align-items: center; gap: 8px; margin: 3px 0; }
.tc-seta small { color: #ffd24a; -webkit-text-stroke: 3px #1a1408; paint-order: stroke fill; }
.tc-flecha { flex: none; display: inline-block; width: 20px; height: 30px;
  background: url("../ui/img/common/pic_common_FanYe_JianTou_2.png") center / contain no-repeat; }
.tc-corrente { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.tc-elo { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; min-width: 108px; padding: 9px 6px 10px; box-sizing: border-box;
  background: url("../ui/img/chaseInfo/atlas/Pic_BuZhen_ZDXQ_DIKuang.png") center / 100% 100% no-repeat; }
.tc-elo small { font-size: 14px; color: #ffe9b0; -webkit-text-stroke: 3px #1a1408; paint-order: stroke fill; white-space: nowrap; }
.tc-ini { filter: brightness(1.25) saturate(1.2); }
.tc-num { text-align: center; white-space: nowrap; }
.tc-num b { display: block; font-size: 34px; font-weight: normal; color: #ffd24a; -webkit-text-stroke: 5px #5a2a00; paint-order: stroke fill; line-height: 1; }
.tc-num small { font-size: 14px; color: #fff; -webkit-text-stroke: 3px #1a1408; paint-order: stroke fill; }
.tc-nota { margin: 14px 4px 0; padding: 10px 14px; color: #dfe6ff; font: 16px/1.35 system-ui, sans-serif; background: rgba(0, 0, 0, .28); border-left: 4px solid #ffd24a; }
.tc-vazio { color: #ffb3a8; }
/* Combos do guerreiro na tela de habilidades da Implantar (js/menus/combosHeroi.js), com as peças da Tabela de Combos */
.ch-abas { position: absolute; left: 468px; top: 92px; display: flex; gap: 8px; z-index: 6; }
.ch-abas button { width: 150px; height: 46px; border: 0; padding: 0 0 4px; cursor: pointer; font: 21px "JogoPT", system-ui, sans-serif; color: #fff;
  -webkit-text-stroke: 4px #5a2a00; paint-order: stroke fill; filter: grayscale(.85) brightness(.7);
  background: url("../ui/img/common/pic_common_titledi.png") center / 100% 100% no-repeat; }
.ch-abas button.ligada { filter: none; color: #ffe27a; }
.ch-painel { display: none; position: absolute; left: 462px; top: 142px; width: 478px; height: 598px; z-index: 5; color: #fff;
  font-family: "JogoPT", system-ui, sans-serif; border: 18px solid transparent; box-sizing: border-box;
  border-image: url("../ui/img/common/pic_common_tipsdi.png") 22 fill / 18px stretch; }
/* fundo translúcido, como as janelas de detalhe do jogo: a tela de trás continua aparecendo (pedido do usuário) */
.ch-painel::before { content: ""; position: absolute; inset: -10px; z-index: -1; background: rgba(9, 13, 30, .42); }
.ver-combos .ch-painel { display: block; }
.so-habilidades.ver-combos [data-nome="contentView_panel"] { visibility: hidden; }
.so-habilidades:not(.ver-combos) [data-nome="contentView_panel"] { margin-bottom: -46px; }
.ch-corpo { position: absolute; inset: 0; overflow-y: auto; padding: 0 6px 6px 2px; scrollbar-width: thin; scrollbar-color: #4a5fa8 transparent; }
.ch-corpo h3 { margin: 10px 0 6px -4px; padding: 5px 0 8px 22px; height: 40px; box-sizing: border-box; font-size: 20px; font-weight: normal; color: #ffe27a;
  -webkit-text-stroke: 4px #1a1408; paint-order: stroke fill; white-space: nowrap;
  background: url("../ui/img/common/pic_common_titledi.png") left center / 330px 40px no-repeat; }
.ch-corpo h3:first-child { margin-top: 0; }
.ch-corpo h3 small { margin-left: 10px; font-size: 15px; color: #fff; -webkit-text-stroke: 3px #1a1408; paint-order: stroke fill; }
.ch-linha { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 6px 2px; }
.ch-linha small { font-size: 15px; color: #ffd24a; -webkit-text-stroke: 3px #1a1408; paint-order: stroke fill; }
.ch-linha s { width: 10px; } .ch-linha .tc-chip b, .ch-rotulo .tc-chip b { font-size: 15px; }
.ch-grupo { margin: 4px 0 10px; }
.ch-rotulo { display: flex; align-items: center; gap: 8px; margin: 2px 2px 6px; font-size: 15px; color: #dfe6ff; }
.ch-rotulo small { margin-left: auto; padding: 0 8px; font-size: 14px; color: #ffd24a; background: rgba(0, 0, 0, .35); border-radius: 9px; }
.ch-cartoes { display: flex; flex-wrap: wrap; gap: 5px; }
.ch-cartao { cursor: pointer; } .ch-cartao:hover { filter: brightness(1.2); }
.ch-cartao em { position: absolute; left: 0; right: 0; bottom: -1px; text-align: center; font: normal 11px "JogoPT", system-ui, sans-serif; color: #fff;
  -webkit-text-stroke: 3px #000; paint-order: stroke fill; white-space: nowrap; }
.ch-cartao.tc-mini i { display: block; }
.ch-time { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 8px 6px 8px 4px;
  background: url("../ui/img/chaseInfo/atlas/Pic_BuZhen_ZDXQ_DIKuang.png") center / 100% 100% no-repeat; }
.ch-time-info { flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
.ch-time-info b { font-size: 32px; font-weight: normal; color: #ffd24a; -webkit-text-stroke: 5px #5a2a00; paint-order: stroke fill; }
.ch-time-info small { font-size: 12px; color: #fff; -webkit-text-stroke: 3px #1a1408; paint-order: stroke fill; }
.ch-vagas { display: flex; gap: 4px; }
.ch-eu { outline: 3px solid #ffe27a; outline-offset: -1px; }
.ch-livre { width: 54px; height: 54px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
  color: #c9b08a; border: 2px dashed rgba(255, 226, 122, .45); background: rgba(0, 0, 0, .25); }
.ch-painel .tc-nota { margin: 10px 2px 0; font-size: 14px; }
.ch-painel .tc-nada { font-size: 15px; }
/* botão Combo da ficha (arte própria enviada pelo usuário) e a janela de combos aberta por ele */
.btn-combo { cursor: pointer; pointer-events: auto; }
.ch-camada { display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .35); z-index: 50; }
.ch-camada .ch-painel { display: block; position: relative; left: auto; top: auto; width: 540px; height: 640px; margin-top: 20px; }
.ch-camada .tc-fechar { right: auto; top: 30px; left: calc(50% + 215px); }
.tc-botao { position: absolute; cursor: pointer; width: 150px; height: 50px; border: 0; padding: 0 0 3px;
  background: url("../ui/img/common/Btn_Common_Yellow_Small.png") center / 100% 100% no-repeat; color: #fff;
  font: 19px/1 "JogoPT", system-ui, sans-serif; text-shadow: -1px 0 #7a3a00, 1px 0 #7a3a00, 0 -1px #7a3a00, 0 2px #7a3a00; }
.tc-botao:active { transform: scale(.95); }


/* ficha em modo "habilidades" (Implantar -> Habilidades): sem abas, botões laterais, PC, nível e atributos */
.so-habilidades [data-nome="strengthen_panel"], .so-habilidades [data-nome="heroSwap"],
.so-habilidades [data-nome="btnRebirth"], .so-habilidades [data-nome="btnGloryRank"],
.so-habilidades [data-nome="btnBond"], .so-habilidades [data-nome="btnEquip"], .so-habilidades [data-nome="btnSkin"],
.so-habilidades [data-nome="btnEightGates"], .so-habilidades [data-nome="imgCombatBg"],
.so-habilidades [data-nome="imgCombat"], .so-habilidades [data-nome="labCombat"],
.so-habilidades [data-nome="info_panel"], .so-habilidades [data-nome="attr_panel"],
.so-habilidades [data-nome="rightImg"] { display: none !important; }

/* título escrito da Implantar no #time ("Sistema Combos"), no lugar da imagem Tittle_BuZhen */
.titulo-texto { background-image: none !important; width: auto !important; white-space: nowrap; color: #fff6c8;
  font: italic 40px/61px "JogoTitulo", "JogoPT", sans-serif; letter-spacing: 1px;
  background: linear-gradient(#fffbe8 30%, #ffd23a 70%) text !important; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 0 0 #1b2350) drop-shadow(-2px 0 0 #1b2350) drop-shadow(0 2px 0 #1b2350) drop-shadow(0 -2px 0 #1b2350); }

.so-habilidades [data-nome="heroList_panel"], .so-habilidades [data-nome="pic_up"], .so-habilidades [data-nome="pic_down"],
.so-habilidades [data-nome="leftImg"] { display: none !important; }
.cel-heroi.escolhido::after { content: ""; position: absolute; left: 3px; bottom: 25px; width: 104px; height: 104px;
  border: 4px solid #ffd000; border-radius: 10px; box-shadow: 0 0 12px #ffd000; pointer-events: none; }
.so-habilidades [data-nome="btnLeft"], .so-habilidades [data-nome="btnRight"] { display: none !important; }
.busca-nome { width: 100%; height: 100%; box-sizing: border-box; padding: 0 12px; border-radius: 19px; border: 2px solid #6f86c7;
  background: rgba(10, 16, 36, .85); font-family: "JogoPT", system-ui, sans-serif; outline: none; }
.busca-nome::placeholder { color: #8e9bc6; }

/* drops da vitória (fim da luta) */
.premios-fim { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: min(90vw, 640px); margin: 4px auto 12px; }
.premio-fim { position: relative; width: 80px; height: 80px; }

/* texto da carta (MailPanel svText) */
.texto-carta { position: absolute; inset: 0; overflow-y: auto; padding: 6px 10px; font: 24px/1.35 "JogoPT", system-ui, sans-serif; color: #391300; white-space: pre-wrap; pointer-events: auto; }


/* Loja (ShopUI): colunas de 2 mercadorias rolando na horizontal; moeda da loja no canto de cima */
.rolo-loja { position: absolute; inset: 0; display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; pointer-events: auto; scrollbar-width: none; }
.coluna-loja { flex: none; display: flex; flex-direction: column; }
.moeda-loja { position: absolute; right: 30px; top: 18px; display: flex; align-items: center; gap: 8px; padding: 4px 18px 4px 8px;
  background: rgba(10, 16, 36, .85); border: 2px solid #3d5a8a; border-radius: 22px; color: #fff; font: 26px "JogoPT", system-ui, sans-serif; }
.moeda-loja i { width: 40px; height: 40px; background: center / contain no-repeat; }
/* nome da mercadoria: setStringSizeOnAddEllipsis(nome, 170) */
.rolo-loja [data-nome="goodsname"] > .cc-texto { justify-content: center; }
.rolo-loja [data-nome="goodsname"] > .cc-texto { display: block; left: 50%; right: auto; width: 170px; margin-left: -85px;
  overflow: hidden; text-overflow: ellipsis; text-align: center; line-height: 31px; }

/* ---------- chat (ChatPanel / aba Mensagem dos Amigos / resumo da tela principal) ---------- */
.chat-lista { overflow-y: auto; overflow-x: hidden; }
.chat-coluna { display: flex; flex-direction: column; gap: 14px; padding: 10px 8px; }
.chat-data { align-self: center; min-width: 120px; padding: 3px 16px; text-align: center; color: #fff; font-size: 20px;
  background: center / 100% 100% no-repeat; }
.chat-msg { display: flex; align-items: flex-start; gap: 10px; }
.chat-eu { flex-direction: row-reverse; }
.chat-avatar { position: relative; flex: none; }
.chat-corpo { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.chat-eu .chat-corpo { align-items: flex-end; }
.chat-nome { display: flex; align-items: center; gap: 6px; color: #ffe38a; font-size: 20px; }
.chat-eu .chat-nome { flex-direction: row-reverse; }
.chat-selo { display: inline-block; flex: none; width: 66px; height: 30px; background: center / contain no-repeat; }
.chat-bolha { padding: 10px 18px; color: #fefefe; font-size: 21px; line-height: 1.25; white-space: pre-wrap;
  overflow-wrap: anywhere; border: 22px solid transparent; border-image-slice: 22 fill; border-image-width: 22px;
  border-image-repeat: stretch; margin: -12px -8px; }
.chat-sistema .chat-bolha { color: #ffb85c; }
.chat-link { cursor: pointer; text-decoration: underline; color: #fc9121; }
.chat-ponto { position: absolute; right: 2px; top: 2px; width: 23px; height: 23px; background: center / contain no-repeat;
  pointer-events: none; }
.chat-ponto[hidden] { display: none; }
.chat-resumo { position: absolute; inset: 4px 40px 4px 8px; overflow: hidden; display: flex; flex-direction: column;
  justify-content: flex-end; gap: 2px; font-size: 19px; line-height: 1.2; color: #fff; text-shadow: 0 0 2px #000; cursor: pointer; }
.chat-resumo > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-resumo b { font-weight: normal; }
.chat-claro .chat-bolha { color: rgb(49, 49, 49); }
.chat-claro .chat-nome { color: rgb(120, 70, 20); }
/* emojis do chat (EmojiBar.csb) */
.emoji-chat { display: inline-block; vertical-align: middle; margin: -4px 1px; }
.barra-emojis { z-index: 5; }
.barra-emojis[hidden] { display: none; }
.emojis-paginas { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.emojis-paginas::-webkit-scrollbar { display: none; }
.emojis-pagina { flex: none; width: 100%; height: 100%; display: grid; grid-template-columns: repeat(4, 120px);
  grid-template-rows: repeat(2, 120px); scroll-snap-align: start; }
.emojis-celula { border: 0; padding: 0; cursor: pointer; background: transparent center / 90px 90px no-repeat; }
.emojis-celula:active { transform: scale(.92); }
/* registro da Doação da Aliança (listView do ClubTechnologyContribute) */
.doacao-registro { padding: 4px 6px; font-size: 18px; line-height: 1.3; }
/* regras da Construção da Aliança (lableList do ClubTechnology) */
.construcao-regra { padding: 3px 12px; font-size: 22px; line-height: 1.3; color: #fff; text-shadow: 0 0 2px #000; }

/* evento pronto para resgatar (huodongkelingquzhuangtai1 do jogo): brilho pulsando */
.pronto-brilho { animation: pronto-brilho 1.2s ease-in-out infinite; border-radius: 12px; }
@keyframes pronto-brilho { 0%, 100% { box-shadow: 0 0 6px 2px rgba(255, 220, 80, .55); } 50% { box-shadow: 0 0 18px 6px rgba(255, 220, 80, .95); } }

/* diálogo da história: retrato aparecendo (FadeIn 0,3 s) */
@keyframes dialogo-surge { to { opacity: 1; } }
.camada-dialogo .cc-texto { white-space: nowrap; }

/* showClickTipByType (AreaViewPropsMediator): aviso embaixo de um recurso, descendo e subindo 10 px sem parar */
.dica-recurso { animation: dica-recurso 1s linear infinite; }   /* MoveBy (0,-10) + MoveBy (0,10), sem parar */
.dica-recurso [data-nome="labClickTip"] > .cc-texto { font-weight: bold;
  text-shadow: -2px 0 0 #8a3e0c, 2px 0 0 #8a3e0c, 0 -2px 0 #8a3e0c, 0 2px 0 #8a3e0c, -1px -1px 0 #8a3e0c, 1px 1px 0 #8a3e0c, -1px 1px 0 #8a3e0c, 1px -1px 0 #8a3e0c; }
/* playeEnterViewAnim do Recrutar: o main entra da direita e o painel das abas recua 60 e volta */
@keyframes entra-da-direita { from { transform: translateX(var(--larg, 1450px)); } to { transform: none; } }
@keyframes abas-recuo { 0% { transform: none; } 50% { transform: translateX(-60px); } 100% { transform: none; } }
@keyframes dica-recurso { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
.sem-quebra > .cc-texto { white-space: nowrap; overflow: visible; }

/* resultado do Recrutar (HeroRecruitResultMediator / HeroPreviewMediator) */
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes carta-sobe { from { transform: translateY(500px); } to { transform: none; } }
@keyframes escala-meio { from { transform: scale(.5); } to { transform: none; } }
@keyframes selo-cai { 0%, 50% { transform: scale(4); } 100% { transform: none; } }
.resultado-recrutar { z-index: 30; }
/* Apoio (DaoChangPanel.playEnterAni): MoveBy −315 e depois +15, a partir de 300 px à direita */
@keyframes apoio-entra { 0% { transform: translateX(300px); } 70% { transform: translateX(-15px); } 100% { transform: none; } }
.cel-ficha2 { flex: none; position: relative; width: 113px; height: 113px; cursor: pointer; }
.cel-ficha2 > * { transform: scale(.9); transform-origin: 0 100%; }
.danmaku-alianca { position: absolute; left: 0; bottom: 650px; z-index: 30; white-space: nowrap; pointer-events: none;
  font: 22px "JogoPT", system-ui, sans-serif; color: #fff; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; }
/* createSmallRewardsAni (prêmios pequenos que sobem e somem) */
@keyframes premio-sobe { 0% { transform: translateY(40px); opacity: 0; } 20% { transform: translateY(0); opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(-80px); opacity: 0; } }
/* PvP Tático (regra própria): painel da vez na luta, composto com recursos nativos de battleSceneUi */
.cc[data-nome^="FighterButton_"].vez [data-nome="iconPanel"] { filter: drop-shadow(0 0 12px #6cf); outline: 4px solid #8df; }
.tatico-painel { position: absolute; inset: 0; pointer-events: none; z-index: 30; }
.tatico-acao { position: absolute; bottom: 200px; width: 110px; height: 114px; background: center / 100% 100% no-repeat;
  pointer-events: auto; cursor: pointer; }
.tatico-acao > i { position: absolute; left: 15px; top: 17px; width: 80px; height: 80px; background: center / 100% 100% no-repeat;
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.tatico-acao > b { position: absolute; left: -15px; top: -14px; width: 140px; height: 142px; background: center / 100% 100% no-repeat;
  opacity: 0; transition: opacity .15s; }
.tatico-acao.escolhida > b, .tatico-acao:hover > b { opacity: 1; }
.tatico-acao > span { position: absolute; left: -20px; right: -20px; bottom: -26px; height: 30px; text-align: center; font: 22px "JogoPT", sans-serif;
  color: #fff; -webkit-text-stroke: 1px #000; paint-order: stroke; text-shadow: 0 2px 2px #000; background: center / contain no-repeat; }
.tatico-acao.bloqueada { cursor: default; }
.tatico-acao.bloqueada > i { filter: grayscale(1) brightness(.55); }
.tatico-acao > u { position: absolute; left: 42px; top: 38px; width: 26px; height: 30px; background: center / 100% 100% no-repeat;
  text-decoration: none; font: 22px "JogoPT", sans-serif; color: #fff; -webkit-text-stroke: 1px #000; display: flex; align-items: flex-end;
  justify-content: flex-end; padding-right: 0; transform: translate(10px, 8px); }
.tatico-alvo { position: absolute; width: 60px; height: 60px; background: center / contain no-repeat; pointer-events: auto; cursor: pointer;
  z-index: 31; animation: tatico-seta .6s infinite alternate ease-in-out; transform: rotate(90deg); }
@keyframes tatico-seta { from { translate: 0 0; } to { translate: 0 -14px; } }
.tatico-marca { position: absolute; inset: 0; pointer-events: none; }
.tatico-marca.banido { filter: grayscale(1) brightness(.5); }
.tatico-marca > .cadeado { position: absolute; right: 4px; top: 4px; width: 26px; height: 30px; background: center / 100% 100% no-repeat; }
.tatico-marca > .brilho { position: absolute; left: -16%; top: -16%; width: 132%; height: 132%; background: center / 100% 100% no-repeat; }
.tatico-escolhivel { cursor: pointer; animation: pulsar .8s infinite alternate; }
.tatico-rotulo { position: absolute; white-space: nowrap; font-family: "JogoPT", sans-serif; color: #fff; -webkit-text-stroke: 1px #000;
  paint-order: stroke; text-shadow: 0 2px 3px #000; pointer-events: none; }
.tatico-nome-cartao { inset: -6px -30px; display: flex; align-items: center; justify-content: center; font: italic 38px "JogoTitulo", "JogoPT", sans-serif;
  -webkit-text-stroke: 2px #000; letter-spacing: 1px; }
