/* —— Deck cards: Usuários, Banidos, Licenças, Registro —— */
#view-contas,
#view-vendas,
#view-chaves {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 4px 16px 32px;
}

:is(#view-contas, #view-vendas, #tabRcontas) .admin-panel,
:is(#view-chaves, #tabRkeys) .admin-panel {
  width: 100%;
  max-width: 1200px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  display: grid;
  align-content: start;
  gap: 0;
}

:is(#view-contas, #view-vendas, #tabRcontas) .admin-panel-head {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 44px;
}

:is(#view-contas, #view-vendas, #tabRcontas) .admin-panel-head .block-title {
  position: absolute;
  left: 4px;
  bottom: 0;
  margin: 0;
}

:is(#view-contas, #view-vendas, #tabRcontas) .admin-panel-tools {
  justify-content: center;
  width: 100%;
}

:is(#view-contas, #view-vendas, #tabRcontas) .admin-panel-head,
:is(#view-chaves, #tabRkeys) .admin-panel-head {
  margin-bottom: 16px;
  padding: 0 4px;
}

/* Base deck card (shared with Valores) */
:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan,
#view-banidos .vl-plan,
:is(#view-chaves, #tabRkeys) .vl-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(168deg, rgba(28, 28, 32, 0.98) 0%, rgba(12, 12, 14, 1) 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
  overflow: visible;
  transform: rotate(var(--vl-tilt, 0deg)) translateY(0);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  animation: vlPlanIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--vl-delay, 0ms);
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan.is-no-enter,
#view-banidos .vl-plan.is-no-enter,
:is(#view-chaves, #tabRkeys) .vl-plan.is-no-enter {
  animation: none !important;
}

@keyframes vlPlanIn {
  from {
    opacity: 0;
    transform: rotate(var(--vl-tilt, 0deg)) translateY(24px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: rotate(var(--vl-tilt, 0deg)) translateY(0) scale(1);
  }
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan-glow,
#view-banidos .vl-plan-glow,
:is(#view-chaves, #tabRkeys) .vl-plan-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  width: 140%;
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, var(--vl-glow, rgba(225, 6, 0, 0.12)) 0%, transparent 68%);
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.22s ease;
  border-radius: 18px;
  overflow: hidden;
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan-accent,
#view-banidos .vl-plan-accent,
:is(#view-chaves, #tabRkeys) .vl-plan-accent {
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--vl-accent, rgba(225, 6, 0, 0.4)) 50%, transparent);
  pointer-events: none;
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan:hover .vl-plan-glow,
#view-banidos .vl-plan:hover .vl-plan-glow,
:is(#view-chaves, #tabRkeys) .vl-plan:hover .vl-plan-glow {
  opacity: 1;
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan:hover,
#view-banidos .vl-plan:hover,
:is(#view-chaves, #tabRkeys) .vl-plan:hover {
  --vl-tilt: 0deg !important;
  transform: translateY(-8px) scale(1.03);
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5), 0 0 40px var(--vl-glow, rgba(225, 6, 0, 0.12));
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan-head,
#view-banidos .vl-plan-head,
:is(#view-chaves, #tabRkeys) .vl-plan-head {
  position: relative;
  z-index: 12;
  display: grid;
  gap: 10px;
  padding: 16px 16px 12px;
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan-row,
#view-banidos .vl-plan-row,
:is(#view-chaves, #tabRkeys) .vl-plan-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan-titles,
#view-banidos .vl-plan-titles,
:is(#view-chaves, #tabRkeys) .vl-plan-titles {
  display: grid;
  gap: 6px;
  min-width: 0;
  align-content: center;
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan-titles strong,
#view-banidos .vl-plan-titles strong,
:is(#view-chaves, #tabRkeys) .vl-plan-titles strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.25;
  word-break: break-word;
}

/* Nome do usuário — hierarquia clara */
:is(#view-contas, #view-vendas, #tabRcontas) .vl-user-badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background:
    linear-gradient(155deg, rgba(225, 6, 0, 0.35) 0%, rgba(225, 6, 0, 0.08) 55%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(225, 6, 0, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 18px rgba(0, 0, 0, 0.28);
  position: relative;
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-user-name {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* E-mail completo nos cards de clientes (sem cortar) */
#view-vendas .vl-user-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: none;
}
#view-vendas .vu-deck .vl-plan {
  width: min(100%, 380px);
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-user-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #cfcfcf;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.2;
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan-row {
  align-items: center;
}

/* Código da licença — mesma hierarquia dos usuários */
:is(#view-chaves, #tabRkeys) .vl-plan-row {
  align-items: center;
}

:is(#view-chaves, #tabRkeys) .vl-key-badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background:
    linear-gradient(155deg, rgba(225, 6, 0, 0.35) 0%, rgba(225, 6, 0, 0.08) 55%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(225, 6, 0, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 18px rgba(0, 0, 0, 0.28);
}

:is(#view-chaves, #tabRkeys) .vl-key-name {
  font-family: ui-monospace, Consolas, 'Cascadia Code', monospace;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  cursor: pointer;
  border-radius: 8px;
  padding: 2px 4px;
  margin: -2px -4px;
  transition: background 0.15s ease, color 0.15s ease;
}

:is(#view-chaves, #tabRkeys) .vl-key-name:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

:is(#view-chaves, #tabRkeys) .vl-key-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #cfcfcf;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.2;
  font-family: ui-monospace, Consolas, monospace;
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan-status,
#view-banidos .vl-plan-status,
:is(#view-chaves, #tabRkeys) .vl-plan-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #6ee7a0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.22);
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan .admin-card-menu-wrap,
#view-banidos .vl-plan .admin-card-menu-wrap,
:is(#view-chaves, #tabRkeys) .vl-plan .admin-card-menu-wrap {
  position: relative;
  z-index: 20;
  flex-shrink: 0;
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan .admin-card-menu,
#view-banidos .vl-plan .admin-card-menu,
:is(#view-chaves, #tabRkeys) .vl-plan .admin-card-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  z-index: 80;
  min-width: 168px;
  padding: 6px;
  display: grid;
  gap: 2px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141416;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.62);
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan .admin-card-menu button,
#view-banidos .vl-plan .admin-card-menu button,
:is(#view-chaves, #tabRkeys) .vl-plan .admin-card-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 8px;
  color: #eee;
  background: transparent;
  border: 0;
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan .admin-card-menu-btn,
#view-banidos .vl-plan .admin-card-menu-btn,
:is(#view-chaves, #tabRkeys) .vl-plan .admin-card-menu-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #aaa;
  font-size: 16px;
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan .admin-card-menu-btn:hover,
#view-banidos .vl-plan .admin-card-menu-btn:hover,
:is(#view-chaves, #tabRkeys) .vl-plan .admin-card-menu-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.vu-deck-wrap {
  position: relative;
  padding: 8px 0 12px;
  width: 100%;
  align-self: stretch;
}

.vu-deck {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 20px;
  padding: 8px 4px 16px;
  overflow: visible;
}

.vu-deck .vl-plan {
  width: min(100%, 300px);
  padding-bottom: 16px;
}

.admin-count-badge {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #ddd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.vl-deck-badge {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vl-deck-tag {
  font-size: 12px;
  color: #888;
  line-height: 1.3;
}

.vl-deck-tag.is-mono {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.vu-deck .vl-user-meta,
.vu-deck .vl-deck-meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 4px 16px 0;
}

.vu-deck .vl-user-meta > div,
.vu-deck .vl-deck-meta > div {
  display: grid;
  grid-template-columns: minmax(88px, 38%) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 12px;
}

.vu-deck .vl-user-meta dt,
.vu-deck .vl-deck-meta dt {
  margin: 0;
  color: #888;
  font-weight: 600;
  line-height: 1.4;
}

.vu-deck .vl-user-meta dd,
.vu-deck .vl-deck-meta dd {
  margin: 0;
  color: #e8e8e8;
  font-weight: 500;
  line-height: 1.45;
  word-break: break-word;
  text-align: right;
}

.vu-deck .vu-hwid,
.vu-deck .vu-copy {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  color: #c8c8c8;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 6px;
  margin: -4px -6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.vu-deck .vu-hwid:hover,
.vu-deck .vu-copy:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.vu-deck .vl-user-meta .is-warn dd,
.vu-deck .vl-deck-meta .is-warn dd {
  color: #fca5a5;
}

/* —— Usuários —— */
:is(#view-contas, #view-vendas, #tabRcontas) .vl-user--banned {
  --vl-glow: rgba(220, 38, 38, 0.22);
  --vl-accent: rgba(248, 113, 113, 0.9);
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-user--paused {
  --vl-glow: rgba(255, 180, 60, 0.2);
  --vl-accent: rgba(255, 200, 80, 0.9);
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-user--online {
  --vl-glow: rgba(34, 197, 94, 0.22);
  --vl-accent: rgba(74, 222, 128, 0.9);
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-user--expired {
  --vl-glow: rgba(120, 120, 130, 0.18);
  --vl-accent: rgba(160, 160, 170, 0.85);
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-user--active {
  --vl-glow: rgba(225, 6, 0, 0.18);
  --vl-accent: rgba(255, 90, 70, 0.9);
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-user--online .vl-deck-badge,
:is(#view-contas, #view-vendas, #tabRcontas) .vl-user--online .vl-user-badge {
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-user-badge .admin-avatar-dot {
  background: #4ade80;
  border-color: #141414;
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-user--banned .vl-deck-badge,
:is(#view-contas, #view-vendas, #tabRcontas) .vl-user--banned .vl-user-badge {
  border-color: rgba(248, 113, 113, 0.35);
  background: linear-gradient(145deg, rgba(127, 29, 29, 0.35) 0%, rgba(80, 20, 20, 0.2) 100%);
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan.vl-user.is-banned {
  border-color: rgba(220, 38, 38, 0.28);
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan.vl-user .vl-plan-status.is-banned {
  color: #fca5a5;
  background: rgba(127, 29, 29, 0.2);
  border-color: rgba(248, 113, 113, 0.28);
}

:is(#view-contas, #view-vendas, #tabRcontas) .vl-plan.vl-user .vl-plan-status.is-paused {
  color: #fcd34d;
  background: rgba(180, 120, 0, 0.15);
  border-color: rgba(251, 191, 36, 0.28);
}

/* —— Banidos —— intercept feed (único) —— */
#view-banidos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 18px 28px;
  margin: 0 auto;
}

#view-banidos.hidden {
  display: none !important;
}

#view-banidos .bx-shell {
  position: relative;
  width: min(100%, 860px);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 18px;
  padding: 18px 0 8px;
  isolation: isolate;
  box-sizing: border-box;
}

#view-banidos .bx-shell::before {
  content: "INTERCEPT";
  position: absolute;
  left: -4%;
  top: 42px;
  z-index: 0;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: clamp(64px, 14vw, 120px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

#view-banidos .bx-shell::after {
  content: "";
  position: absolute;
  inset: 0 -8%;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.012) 3px,
      rgba(255, 255, 255, 0.012) 4px
    );
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 88%);
}

#view-banidos .bx-cmd,
#view-banidos .bx-stream,
#view-banidos .bx-pager,
#view-banidos .bx-empty {
  position: relative;
  z-index: 1;
}

#view-banidos .bx-cmd {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 10px 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(225, 6, 0, 0.12), transparent 42%),
    rgba(10, 10, 12, 0.92);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

#view-banidos .bx-cmd-live {
  display: flex;
  align-items: center;
  gap: 10px;
}

#view-banidos .bx-cmd-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  animation: bxPulse 1.7s ease-out infinite;
}

@keyframes bxPulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

#view-banidos .bx-cmd-live strong {
  display: block;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #fff;
}

#view-banidos .bx-cmd-live span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #8f8f8f;
  letter-spacing: 0.04em;
}

#view-banidos .bx-cmd-readout {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 80, 80, 0.22);
  background: rgba(225, 6, 0, 0.08);
  min-width: 72px;
  text-align: center;
}

#view-banidos .bx-cmd-readout span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #fca5a5;
}

#view-banidos .bx-cmd-readout b {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  width: 100%;
  text-align: center;
}

#view-banidos .bx-cmd-search {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

#view-banidos .bx-cmd-search:focus-within {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

#view-banidos .bx-cmd-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #e8e8e8;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
}

#view-banidos .bx-cmd-sync {
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(8, 45, 55, 0.55);
  color: #67e8f9;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  transition: transform 0.2s ease, background 0.2s ease, filter 0.2s ease;
}

#view-banidos .bx-cmd-sync:hover {
  transform: translateY(-1px);
  background: rgba(8, 60, 72, 0.75);
  filter: brightness(1.08);
}

#view-banidos .bx-stream {
  position: relative;
  padding: 4px 0 8px;
}

#view-banidos .bx-spine {
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(225, 6, 0, 0.55), rgba(34, 211, 238, 0.15) 70%, transparent);
  border-radius: 999px;
  pointer-events: none;
}

#view-banidos .bx-feed {
  display: grid;
  gap: 14px;
}

#view-banidos .bx-hit {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0 12px;
  align-items: stretch;
  width: 100%;
  animation: bxHitIn 0.55s cubic-bezier(0.2, 0.9, 0.2, 1) both;
  animation-delay: var(--bx-delay, 0ms);
}

@keyframes bxHitIn {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

#view-banidos .bx-hit-node {
  position: relative;
  display: grid;
  place-items: start center;
  padding-top: 22px;
  z-index: 2;
}

#view-banidos .bx-hit-node i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0c0c0e;
  border: 2px solid #ef4444;
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.12);
}

#view-banidos .bx-hit:hover .bx-hit-node i {
  border-color: #67e8f9;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.14);
}

#view-banidos .bx-hit-panel {
  position: relative;
  min-width: 0;
  width: 100%;
  padding: 14px 16px;
  border-radius: 0 16px 16px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #e10600;
  background:
    linear-gradient(115deg, rgba(225, 6, 0, 0.1), transparent 38%),
    rgba(14, 14, 16, 0.94);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: border-color 0.2s ease, transform 0.22s ease, background 0.22s ease;
}

#view-banidos .bx-hit:hover .bx-hit-panel {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.28);
  border-left-color: #22d3ee;
  background:
    linear-gradient(115deg, rgba(34, 211, 238, 0.08), transparent 40%),
    rgba(14, 14, 16, 0.98);
}

#view-banidos .bx-hit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

#view-banidos .bx-hit-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

#view-banidos .bx-hit-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #7dd3fc;
}

#view-banidos .bx-hit-when {
  display: inline;
  padding: 0;
  text-align: left;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  line-height: 1.35;
  color: #6f6f6f;
  word-break: break-word;
}

#view-banidos .bx-hit-flag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fca5a5;
  padding: 3px 8px;
  border: 1px solid rgba(255, 90, 70, 0.3);
  background: rgba(225, 6, 0, 0.12);
}

#view-banidos .bx-hit-name {
  margin: 0;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#view-banidos .bx-hit-reason {
  margin: 8px 0 0;
  color: #b0b0b0;
  font-size: 13px;
  line-height: 1.45;
  max-width: 52ch;
}

#view-banidos .bx-hit-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

#view-banidos .bx-hit-hwid {
  display: inline-grid;
  gap: 2px;
  text-align: left;
  max-width: min(100%, 280px);
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

#view-banidos .bx-hit-hwid span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #666;
}

#view-banidos .bx-hit-hwid code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  color: #cfcfcf;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#view-banidos .bx-hit-hwid:not(.is-empty):hover code { color: #67e8f9; }
#view-banidos .bx-hit-hwid.is-empty { cursor: default; opacity: 0.55; }

#view-banidos .bx-hit-free {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.4);
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.2), rgba(6, 78, 59, 0.35));
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#view-banidos .bx-hit-free i {
  font-style: normal;
  font-size: 14px;
  line-height: 1;
}

#view-banidos .bx-hit-free:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.22);
}

#view-banidos .bx-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 48px 20px;
  text-align: center;
  border-radius: 16px;
  border: 1px dashed rgba(34, 211, 238, 0.25);
  background: rgba(8, 30, 36, 0.35);
}

#view-banidos .bx-empty.hidden { display: none !important; }

#view-banidos .bx-empty-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #67e8f9;
  margin-bottom: 4px;
}

#view-banidos .bx-empty strong { color: #ddd; font-size: 15px; }
#view-banidos .bx-empty p { margin: 0; color: #777; font-size: 13px; }

#view-banidos .bx-pager {
  justify-content: center;
}

#view-banidos .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  #view-banidos .bx-cmd {
    grid-template-columns: 1fr auto;
  }
  #view-banidos .bx-cmd-search {
    grid-column: 1 / -1;
  }
  #view-banidos .bx-spine { left: 11px; }
  #view-banidos .bx-hit {
    grid-template-columns: 24px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  #view-banidos .bx-hit,
  #view-banidos .bx-cmd-dot {
    animation: none !important;
  }
  #view-banidos .bx-hit:hover .bx-hit-panel,
  #view-banidos .bx-hit-free:hover,
  #view-banidos .bx-cmd-sync:hover {
    transform: none;
  }
}

/* —— Licenças —— */
:is(#view-chaves, #tabRkeys) .vl-key--available {
  --vl-glow: rgba(34, 197, 94, 0.22);
  --vl-accent: rgba(74, 222, 128, 0.9);
}

:is(#view-chaves, #tabRkeys) .vl-key--used {
  --vl-glow: rgba(225, 6, 0, 0.18);
  --vl-accent: rgba(255, 90, 70, 0.9);
}

:is(#view-chaves, #tabRkeys) .vl-key--expired {
  --vl-glow: rgba(120, 120, 130, 0.18);
  --vl-accent: rgba(160, 160, 170, 0.85);
}

:is(#view-chaves, #tabRkeys) .vl-key--available .vl-deck-badge,
:is(#view-chaves, #tabRkeys) .vl-key--available .vl-key-badge {
  border-color: rgba(74, 222, 128, 0.4);
  background:
    linear-gradient(155deg, rgba(34, 197, 94, 0.35) 0%, rgba(34, 197, 94, 0.08) 55%, rgba(255, 255, 255, 0.04) 100%);
}

:is(#view-chaves, #tabRkeys) .vl-key--used .vl-deck-badge,
:is(#view-chaves, #tabRkeys) .vl-key--used .vl-key-badge {
  border-color: rgba(255, 90, 70, 0.4);
  background:
    linear-gradient(155deg, rgba(225, 6, 0, 0.35) 0%, rgba(225, 6, 0, 0.08) 55%, rgba(255, 255, 255, 0.04) 100%);
}

:is(#view-chaves, #tabRkeys) .vl-key--expired .vl-deck-badge,
:is(#view-chaves, #tabRkeys) .vl-key--expired .vl-key-badge {
  border-color: rgba(160, 160, 170, 0.35);
  background:
    linear-gradient(155deg, rgba(120, 120, 130, 0.28) 0%, rgba(80, 80, 90, 0.1) 55%, rgba(255, 255, 255, 0.03) 100%);
  opacity: 0.9;
}

:is(#view-chaves, #tabRkeys) .vl-plan .vl-plan-status.is-expired {
  color: #a1a1aa;
  background: rgba(80, 80, 90, 0.2);
  border-color: rgba(160, 160, 170, 0.25);
}

:is(#view-chaves, #tabRkeys) .vl-plan .vl-plan-status.is-available {
  color: #6ee7a0;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(74, 222, 128, 0.22);
}

:is(#view-chaves, #tabRkeys) .vl-plan .vl-plan-status.is-used {
  color: #fca5a5;
  background: rgba(225, 6, 0, 0.12);
  border-color: rgba(255, 90, 70, 0.28);
}

:is(#view-contas, #view-vendas, #tabRcontas) .admin-pager,
#view-banidos .admin-pager,
:is(#view-chaves, #tabRkeys) .admin-pager {
  justify-content: center;
  margin-top: 8px;
}

:is(#view-contas, #view-vendas, #tabRcontas) .empty,
#view-banidos .empty,
:is(#view-chaves, #tabRkeys) .empty {
  width: 100%;
  max-width: 520px;
  margin: 12px auto 0;
  padding: 28px 20px;
  text-align: center;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 720px) {
  .vu-deck {
    flex-direction: column;
    align-items: center;
  }

  .vu-deck .vl-plan {
    width: 100%;
    max-width: 360px;
    --vl-tilt: 0deg !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(#view-contas, #view-vendas, #tabRcontas) .vl-plan,
  #view-banidos .vl-plan,
  :is(#view-chaves, #tabRkeys) .vl-plan {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
