/* ===== soul-bag.css — Bolsa de almas e fusao (orbit dots) =====
   Gerado por tools/split-css-modules.mjs (Fase B-CSS). Nao editar a divisao manualmente sem
   reconferir a cascata. Ver VaultBrain/Brain/Padroes/Padroes CSS.md ===== */

/* ── BOLSA DE ALMAS ── */
.sb-filter-btn {
  background: linear-gradient(180deg, rgba(var(--purple-rgb), 0.14) 0%, rgba(100, 40, 180, 0.1) 100%);
  border: 1.5px solid rgba(var(--purple-rgb), 0.25);
  border-radius: var(--radius-2xl);
  color: var(--text2);
  font-family: 'Righteous', cursive;
  font-size: 10px;
  padding: 7px 12px; /* era 5px 11px — min-height 36px para tap target mobile */
  min-height: 36px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(var(--white-rgb), 0.07),
    0 2px 4px rgba(var(--black-rgb), 0.3);
  text-shadow: 0 1px 2px rgba(var(--black-rgb), 0.5);
}
.sb-filter-btn:active {
  transform: scale(0.93);
}
.sb-filter-active {
  background: linear-gradient(
    180deg,
    rgba(200, 140, 255, 0.38) 0%,
    rgba(120, 50, 210, 0.28) 100%
  ) !important;
  border-color: #c080ff !important;
  border-bottom-color: #8040cc !important;
  color: #e8c8ff !important;
  box-shadow:
    0 0 10px rgba(var(--purple-rgb), 0.45),
    inset 0 1px 0 rgba(var(--white-rgb), 0.18),
    inset 0 -1px 0 rgba(var(--black-rgb), 0.25) !important;
  text-shadow: 0 0 8px rgba(200, 150, 255, 0.8) !important;
}
#soul-bag-modal.open {
  display: flex;
}

/* ── SOUL BAG MODAL REDESIGN ── */
#soul-bag-modal {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(80, 20, 120, 0.55) 0%, rgba(10, 2, 20, 0.98) 55%),
    linear-gradient(180deg, #120820 0%, #0a0214 100%);
}
#soul-bag-modal::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 30% at 50% 0%, rgba(var(--purple-rgb), 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 20% at 20% 100%, rgba(100, 40, 200, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: var(--z-base);
}
#soul-bag-modal > * {
  position: relative;
  z-index: var(--z-content);
}

/* Header da bolsa */
#soul-bag-header-inner {
  background: linear-gradient(
    180deg,
    rgba(90, 30, 140, 0.95) 0%,
    rgba(55, 15, 90, 0.92) 40%,
    rgba(30, 8, 55, 0.98) 100%
  );
  border-bottom: 2px solid rgba(var(--purple-rgb), 0.6);
  box-shadow:
    0 4px 20px rgba(var(--black-rgb), 0.6),
    0 1px 0 rgba(var(--white-rgb), 0.06) inset,
    0 0 30px rgba(140, 60, 220, 0.15);
}

/* Título da bolsa */
#soul-bag-title-text {
  font-family: 'Righteous', cursive;
  font-size: 15px;
  line-height: 1.1;
  color: #e8c8ff;
  letter-spacing: 1.5px;
  text-shadow:
    0 0 14px rgba(200, 130, 255, 0.75),
    0 0 30px rgba(var(--purple-rgb), 0.4),
    0 2px 4px rgba(var(--black-rgb), 0.8);
  filter: drop-shadow(0 0 6px rgba(var(--purple-rgb), 0.5));
}

/* Lista da bolsa */
#soul-bag-list {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(60, 15, 100, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(18, 5, 35, 0.99) 0%, rgba(8, 2, 18, 0.99) 100%);
  box-shadow: inset 0 4px 12px rgba(var(--black-rgb), 0.4);
}

/* Barra de filtros */
#soul-bag-filter-bar {
  background: linear-gradient(180deg, rgba(25, 8, 45, 0.98) 0%, rgba(18, 5, 32, 0.98) 100%);
  border-bottom: 1px solid rgba(var(--purple-rgb), 0.2);
  box-shadow:
    0 2px 8px rgba(var(--black-rgb), 0.4),
    inset 0 1px 0 rgba(var(--white-rgb), 0.03);
}

/* Footer da bolsa */
#soul-bag-footer {
  background: linear-gradient(180deg, rgba(18, 5, 35, 0.97) 0%, rgba(12, 3, 24, 0.99) 100%);
  border-top: 1px solid rgba(var(--purple-rgb), 0.22);
  box-shadow:
    0 -4px 16px rgba(var(--black-rgb), 0.5),
    inset 0 1px 0 rgba(var(--white-rgb), 0.03);
}

/* Botao equipar todos - relevo */
#btn-equip-all {
  background: linear-gradient(
    180deg,
    rgba(200, 140, 255, 0.28) 0%,
    rgba(130, 60, 210, 0.22) 50%,
    rgba(90, 30, 160, 0.18) 100%
  );
  border-top: 1.5px solid rgba(220, 170, 255, 0.5);
  border-left: 1.5px solid rgba(200, 140, 255, 0.35);
  border-right: 1.5px solid rgba(130, 60, 180, 0.3);
  border-bottom: 1.5px solid rgba(80, 20, 130, 0.4);
  color: #b89ac8;
  font-family: 'Righteous', cursive;
  font-size: 10px;
  padding: 6px 13px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: center;
  box-shadow:
    0 0 14px rgba(var(--purple-rgb), 0.28),
    inset 0 1px 0 rgba(var(--white-rgb), 0.15),
    inset 0 -1px 0 rgba(var(--black-rgb), 0.3);
  text-shadow:
    0 0 6px rgba(180, 130, 220, 0.35),
    0 1px 2px rgba(var(--black-rgb), 0.6);
  transition: all 0.15s;
}
#btn-equip-all:active {
  transform: scale(0.96);
}

/* Botão limpar bolsa - relevo */
#btn-clear-bag {
  background: linear-gradient(180deg, rgba(255, 80, 110, 0.14) 0%, rgba(180, 30, 60, 0.1) 100%);
  border-top: 1.5px solid rgba(255, 120, 140, 0.35);
  border-left: 1.5px solid rgba(255, 100, 120, 0.25);
  border-right: 1.5px solid rgba(180, 40, 70, 0.2);
  border-bottom: 1.5px solid rgba(130, 20, 45, 0.3);
  color: #ff8ca0;
  font-family: 'Righteous', cursive;
  font-size: 11px;
  padding: 8px 14px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(var(--white-rgb), 0.08),
    inset 0 -1px 0 rgba(var(--black-rgb), 0.25);
  transition: all 0.15s;
}
#btn-clear-bag:active {
  transform: scale(0.96);
}

/* Botão fechar */
#soul-bag-close-btn {
  background: linear-gradient(180deg, rgba(200, 140, 255, 0.22) 0%, rgba(120, 50, 180, 0.15) 100%);
  border-top: 1.5px solid rgba(220, 170, 255, 0.35);
  border-left: 1.5px solid rgba(200, 140, 255, 0.25);
  border-right: 1.5px solid rgba(120, 50, 160, 0.2);
  border-bottom: 1.5px solid rgba(80, 20, 120, 0.3);
  color: #d4aaff;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(var(--white-rgb), 0.12),
    inset 0 -1px 0 rgba(var(--black-rgb), 0.3),
    0 2px 8px rgba(var(--black-rgb), 0.4);
  text-shadow: 0 0 8px rgba(200, 130, 255, 0.5);
  transition: all 0.15s;
}
#soul-bag-close-btn:active {
  transform: scale(0.93);
}
.orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: var(--radius-circle);
  background: #fff;
  box-shadow:
    0 0 4px 2px rgba(255, 220, 80, 1),
    0 0 10px rgba(255, 160, 40, 0.9),
    0 0 18px rgba(255, 120, 20, 0.6),
    0 0 30px rgba(255, 80, 0, 0.3);
  pointer-events: none;
}

.orbit-dot-1 {
  animation: orbitDot1 5s linear infinite;
}
.orbit-dot-2 {
  animation: orbitDot2 5s linear infinite;
}
.orbit-trail {
  background: rgba(255, 180, 40, 0);
  box-shadow: none;
  width: 4px;
  height: 4px;
}
.orbit-dot-1-t1 {
  animation: orbitDot1 5s linear infinite;
  animation-delay: -0.3s;
  opacity: 0.5;
  width: 4px;
  height: 4px;
  box-shadow:
    0 0 5px 2px rgba(255, 160, 40, 0.6),
    0 0 10px rgba(255, 120, 20, 0.4);
}
.orbit-dot-1-t2 {
  animation: orbitDot1 5s linear infinite;
  animation-delay: -0.6s;
  opacity: 0.25;
  width: 3px;
  height: 3px;
  box-shadow: 0 0 4px rgba(255, 120, 20, 0.4);
}
.orbit-dot-2-t1 {
  animation: orbitDot2 5s linear infinite;
  animation-delay: -0.3s;
  opacity: 0.5;
  width: 4px;
  height: 4px;
  box-shadow:
    0 0 5px 2px rgba(255, 160, 40, 0.6),
    0 0 10px rgba(255, 120, 20, 0.4);
}
.orbit-dot-2-t2 {
  animation: orbitDot2 5s linear infinite;
  animation-delay: -0.6s;
  opacity: 0.25;
  width: 3px;
  height: 3px;
  box-shadow: 0 0 4px rgba(255, 120, 20, 0.4);
}
#sbv-fusion:not(.sb-filter-active) .orbit-ring {
  display: none;
}
#sbv-fusion.sb-filter-active {
  border-color: rgba(255, 150, 40, 0.5) !important;
  box-shadow: 0 0 6px rgba(255, 150, 40, 0.3) !important;
  background: transparent !important;
}
#sbv-fusion {
  background: transparent;
}
