.enci { box-sizing: border-box; font-family: "Gilroy-Regular", sans-serif; color: #d8d2cf; }
.enci *, .enci *:before, .enci *:after { box-sizing: border-box; }
.enci button { font-family: inherit; cursor: pointer; }
.enci input, .enci select { font-family: "Gilroy-Regular", sans-serif; }

.enci-barra { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 12px; }
.enci-busca { flex: 1 1 280px; min-width: 0; }
.enci-busca input {
  width: 100%; height: 44px; padding: 0 16px; border-radius: 10px; color: #f1ebe2; font-size: 15px;
  background: #0e0b0d; border: 1px solid rgba(255, 222, 174, .25); outline: none;
}
.enci-busca input:focus { border-color: #ffb83c; }
.enci-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.enci-cats button, .enci-tipos button, .enci-seg button {
  height: 36px; padding: 0 14px; border-radius: 10px; font-size: 14px; color: #cfc6b5;
  background: #141113; border: 1px solid rgba(255, 222, 174, .3);
}
.enci-cats button { height: 44px; padding: 0 18px; font-family: "Gilroy-Semibold", sans-serif; }
.enci-cats button:hover, .enci-tipos button:hover, .enci-seg button:hover:not([disabled]) { background: #533f36; color: #ffedbe; }
.enci-cats button.ativo, .enci-tipos button.ativo, .enci-seg button.ativo {
  background: #3a2c22; color: #ffb83c; border-color: #ffb83c;
}
.enci-tipos { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.enci-tipos button { height: 32px; padding: 0 12px; font-size: 13px; }

.enci-filtros { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; margin-bottom: 18px; font-size: 13px; color: #a2968a; }
.enci-filtros label { display: flex; flex-direction: column; gap: 4px; }
.enci-filtros select, .enci-filtros input[type=number], .enci-sim select {
  height: 36px; padding: 0 10px; border-radius: 8px; color: #f1ebe2; font-size: 14px;
  background: #0e0b0d; border: 1px solid rgba(255, 222, 174, .25);
}
.enci-filtros input[type=number] { width: 76px; }
.enci-filtros .enci-check { flex-direction: row; align-items: center; gap: 8px; height: 36px; color: #cfc6b5; font-size: 14px; }
.enci-check input { width: 16px; height: 16px; accent-color: #ffb83c; }
.enci-conta { margin-left: auto; height: 36px; line-height: 36px; color: #ffb83c; font-family: "Gilroy-Semibold", sans-serif; }

.enci-corpo { display: flex; gap: 20px; align-items: flex-start; }
.enci-lista {
  flex: 1 1 auto; min-width: 0; display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); align-content: start;
}
.enci-card {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 10px 12px;
  text-align: left; background: #141113; border: 1px solid rgba(36, 35, 40, .9); border-radius: 12px; color: #d8d2cf;
}
.enci-card:hover { background: #1e1719; border-color: rgba(255, 222, 174, .3); }
.enci-card.sel { border-color: #ffb83c; background: #241b17; }
.enci-ic, .enci-ic-g {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 8px; background: #0b090a; border: 1px solid #2c2420;
}
.enci-ic img { max-width: 44px; max-height: 44px; image-rendering: pixelated; }
.enci-ic.sem, .enci-ic-g.sem { font-size: 10px; color: #a2968a; }
.enci-card-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.enci-card-t b { font-family: "Gilroy-Semibold", sans-serif; font-weight: normal; font-size: 14px; color: #ffedbe; line-height: 1.2; }
.enci-card-t small { font-size: 12px; color: #a2968a; }
.enci-tier {
  font-style: normal; font-size: 11px; font-family: "Gilroy-Bold", sans-serif; color: #ffb83c;
  border: 1px solid rgba(255, 184, 60, .5); border-radius: 6px; padding: 1px 6px;
}
.enci-card .enci-tier { position: absolute; top: 8px; right: 8px; }
.enci-tier.enci-chefe { color: #ff6c23; border-color: rgba(255, 108, 35, .55); }
.enci-card .enci-card-t { padding-right: 44px; }
.enci-chefes { margin: 0; font-size: 14px; line-height: 20px; color: #ffedbe; }
.enci-nada { grid-column: 1 / -1; padding: 30px; text-align: center; color: #a2968a; }

.enci-ficha {
  position: sticky; top: 80px; flex: 0 0 410px; width: 410px; max-height: calc(100vh - 100px); overflow-y: auto;
  background: #141113; border: 1px solid rgba(255, 222, 174, .18); border-radius: 15px; padding: 18px;
  scrollbar-width: thin; scrollbar-color: #533f36 transparent;
}
.enci-vazio { padding: 40px 10px; text-align: center; color: #a2968a; font-size: 14px; line-height: 21px; }
.enci-fechar { display: none; }
.enci-topo { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.enci-ic-g { width: 96px; height: 96px; }
.enci-ic-g img { max-width: 88px; max-height: 88px; image-rendering: pixelated; }
.enci-topo h3 { margin: 0 0 4px; font-family: "beaufort-for-lol-bold", serif; font-size: 22px; line-height: 1.15; font-weight: normal; }
.enci-topo p { margin: 0; font-size: 13px; color: #a2968a; }
.enci-topo .enci-rarnome { margin-top: 4px; font-family: "Gilroy-Semibold", sans-serif; }
.enci-topo .enci-mixnome { margin-top: 4px; color: #7fb069; }

.enci-sim { display: flex; flex-direction: column; gap: 12px; padding: 14px 0; border-top: 1px solid #2c2420; border-bottom: 1px solid #2c2420; }
.enci-grupo { display: flex; flex-direction: column; gap: 6px; }
.enci-rot { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #a2968a; }
.enci-rot b { color: #ffb83c; font-size: 14px; letter-spacing: 0; }
.enci-rar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.enci-rar button {
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 8px; border-radius: 8px; font-size: 13px;
  color: var(--rc); background: #0e0b0d; border: 1px solid #2c2420;
}
.enci-rar button img { width: 20px; height: 20px; object-fit: contain; }
.enci-rar button.ativo { border-color: var(--rc); background: #241b17; }
.enci-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.enci-seg button { flex: 1 1 auto; }
.enci-seg button[disabled] { opacity: .35; cursor: not-allowed; }
.enci-sim select { width: 100%; }
.enci-sim input[type=range] { width: 100%; accent-color: #ffb83c; }
.enci-mat { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; font-size: 13px; color: #cfc6b5; }
.enci-mat span { display: inline-flex; align-items: center; gap: 4px; }
.enci-mat img { width: 22px; height: 22px; image-rendering: pixelated; }
.enci-mat b { color: #ffedbe; font-weight: normal; }
.enci-mixatt { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: #a2968a; }
.enci-mixatt b { color: #7fb069; font-weight: normal; }

.enci-tip { padding-top: 14px; }
.enci-tip ul { list-style: none; margin: 0; padding: 0; }
.enci-tip li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; padding: 5px 0; border-bottom: 1px dashed rgba(255, 222, 174, .08); font-size: 14px; }
.enci-tip li span { color: #c9bcab; }
.enci-tip li b { color: #f1ebe2; font-weight: normal; font-family: "Gilroy-Semibold", sans-serif; text-align: right; }
.enci-tip li b i { font-style: normal; color: #a2968a; font-family: "Gilroy-Regular", sans-serif; font-size: 12px; }
.enci-tip li small { flex-basis: 100%; text-align: right; font-size: 11px; color: #8a7f74; }
.enci-tip li.up b { color: #7fb069; }
.enci-spec, .enci-req { margin-top: 14px; }
.enci-spec > span, .enci-req > span { display: block; margin-bottom: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #ffb83c; }
.enci-spec li b { color: #f3c868; }
.enci-notas { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid #2c2420; font-size: 12px; line-height: 18px; color: #a2968a; }
.enci-notas li + li { margin-top: 6px; }
.enci-rodape { margin: 20px 0 0; font-size: 12px; color: #8a7f74; }

@media (max-width: 1100px) {
  .enci-ficha { flex-basis: 360px; width: 360px; }
}
body > .enci-ficha { box-sizing: border-box; font-family: "Gilroy-Regular", sans-serif; color: #d8d2cf; }
body > .enci-ficha *, body > .enci-ficha *:before, body > .enci-ficha *:after { box-sizing: border-box; }
body > .enci-ficha button { font-family: inherit; cursor: pointer; }
body > .enci-ficha select { font-family: "Gilroy-Regular", sans-serif; }
@media (max-width: 900px) {
  .enci-corpo { display: block; }
  .enci-lista { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .enci-ficha {
    display: none; position: fixed; inset: 0; top: 0; width: auto; max-width: none; max-height: none; height: 100%;
    border-radius: 0; border: 0; z-index: 2147483000; padding: 16px 16px 40px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .enci-ficha.aberta { display: block; }
  .enci-fechar {
    display: block; position: sticky; top: 0; margin: -6px -6px 0 auto; width: 40px; height: 40px; border-radius: 10px;
    font-size: 26px; line-height: 36px; color: #ffedbe; background: #241b17; border: 1px solid rgba(255, 222, 174, .3); z-index: 2;
  }
  body.enci-trava { overflow: hidden; }
  .enci-conta { margin-left: 0; }
}
@media (max-width: 520px) {
  .enci-lista { grid-template-columns: 1fr; }
  .enci-cats { width: 100%; }
  .enci-tipos { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .enci-tipos::-webkit-scrollbar { display: none; }
  .enci-tipos button { flex: 0 0 auto; }
  .enci-cats button { flex: 1 1 calc(50% - 6px); }
  .enci-filtros label { flex: 1 1 calc(50% - 16px); }
  .enci-filtros select, .enci-filtros input[type=number] { width: 100%; }
  .enci-rar { grid-template-columns: repeat(2, 1fr); }
  .enci-topo h3 { font-size: 19px; }
  .enci-ic-g { width: 76px; height: 76px; }
  .enci-ic-g img { max-width: 70px; max-height: 70px; }
}
