/* MONSTERIDLE — Helper: Captura / Captura da shiny / Descarte automático
   (js/ui/helper-tela.js). As chaves liga/desliga (.hp-sw/.hp-chave) vêm de
   css/helper-perfil.css. */

.hpx-grade{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0;align-items:stretch}
.hpx{display:flex;flex-direction:column;gap:8px}
.hpx-cab{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hpx-cab .hp-sec{margin:0;font-size:12px;letter-spacing:1px;color:#e2e8f0;font-weight:800}
.hpx-pilula{font-size:10px;padding:2px 9px;border-radius:99px;border:1px solid #d4a72c;color:#fcd34d;letter-spacing:.5px;white-space:nowrap}
.hpx-sub{font-size:12px;color:var(--txt2,#94a3b8);margin:0}
.hpx-nota{font-size:11.5px;color:var(--txt2,#94a3b8);line-height:1.5;margin:0}
.hpx-nota b{color:#e2e8f0}
.hpx-trava{font-size:12px;color:#fcd34d;line-height:1.5;margin:2px 0 0}
.hpx-trava > span{margin-right:6px}

/* grade de bolas */
.hpx-bolas{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px}
.hpx-bolas.desligada{opacity:.45;filter:grayscale(.6)}
.hpx-bola{display:flex;flex-direction:column;align-items:center;gap:2px;padding:9px 6px 8px;min-height:104px;border-radius:10px;cursor:pointer;
  background:linear-gradient(180deg,rgba(15,23,42,.9),rgba(2,6,23,.85));border:1px solid rgba(148,163,184,.28);color:#e2e8f0;
  font:inherit;text-align:center;transition:border-color .15s, box-shadow .15s, transform .1s}
.hpx-bola:hover{border-color:rgba(250,204,21,.6);transform:translateY(-1px)}
.hpx-bola.sel{border:1.5px solid #facc15;background:linear-gradient(180deg,rgba(113,86,8,.45),rgba(30,22,4,.75));
  box-shadow:0 0 12px rgba(250,204,21,.35),inset 0 0 10px rgba(250,204,21,.18)}
.hpx-bola.sel b{color:#fde68a}
.hpx-bola.vazia{opacity:.55}
.hpx-bola.vazia.sel{opacity:.8}
.hpx-bola-ico{width:36px;height:36px;display:grid;place-items:center}
.hpx-bola-ico img{width:34px;height:34px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 2px 3px rgba(0,0,0,.6))}
.hpx-bola b{font-size:11.5px;font-weight:800;letter-spacing:.3px;line-height:1.2}
.hpx-bola small{font-size:11px;color:#cbd5e1}
.hpx-bola em{font-style:normal;font-size:10.5px;letter-spacing:.3px;color:#4ade80;font-variant-numeric:tabular-nums}
.hpx-bola.vazia em{color:#f87171}
.hpx-bola-vazia{font-size:26px;color:#64748b}

.hpx-voltar{align-self:flex-start;background:none;border:1px solid #d4a72c;color:#fcd34d;border-radius:8px;padding:5px 12px;font-size:11.5px;cursor:pointer}
.hpx-voltar:hover:not(:disabled){background:rgba(250,204,21,.12)}
.hpx-voltar:disabled{opacity:.4;cursor:default}

/* campos do descarte */
.hpx-campo{display:flex;align-items:center;gap:10px}
.hpx-campo label{flex:0 0 auto;min-width:110px;font-size:12.5px;color:#cbd5e1}
.hpx-campo select,.hpx-campo input{flex:1;min-width:0;height:38px;padding:0 12px;border-radius:9px;
  background:rgba(2,6,23,.75);border:1px solid rgba(148,163,184,.35);color:#f1f5f9;font:inherit;font-size:13.5px;font-weight:700}
.hpx-campo input{font-variant-numeric:tabular-nums}
.hpx-campo select:focus,.hpx-campo input:focus{outline:none;border-color:#facc15;box-shadow:0 0 0 2px rgba(250,204,21,.2)}
.hpx-max{flex:0 0 auto;font-size:12.5px;color:var(--txt2,#94a3b8);font-weight:700}
.hpx .off{opacity:.45;pointer-events:none}

@media (max-width:1100px){ .hpx-grade{grid-template-columns:1fr 1fr} .hpx-grade > .hpx:last-child{grid-column:1 / -1} }
@media (max-width:700px){ .hpx-grade{grid-template-columns:1fr} .hpx-campo label{min-width:92px} }
