/* ========== JET CARDS 2.0 — trading cards oficiais ========== */
body.cards-mode {
  --jc-bg: #05040a;
  --jc-card: rgba(18, 14, 28, 0.92);
  --jc-border: rgba(167, 139, 250, 0.22);
  --jc-text: #f8fafc;
  --jc-muted: #a1a1aa;
  --jc-gold: #fbbf24;
  --jc-purple: #c084fc;
  --jc-blue: #60a5fa;
  background:
    radial-gradient(900px 500px at 12% -8%, rgba(124, 58, 237, 0.18), transparent),
    radial-gradient(700px 400px at 92% 8%, rgba(251, 191, 36, 0.07), transparent),
    var(--jc-bg) !important;
  color: var(--jc-text);
  min-height: 100vh;
}
body.cards-mode .jc-hide,
body.cards-mode header.jc-hide,
body.cards-mode .hero.jc-hide,
body.cards-mode footer.jc-hide { display: none !important; }
body.cards-mode main.jc-hide-official > [id^="view-"] { display: none !important; }

#cardsShell { position: relative; z-index: 5; min-height: 100vh; }
#cardsShell.hidden { display: none !important; }

.jc-app { max-width: 1100px; margin: 0 auto; padding: 14px 14px 48px; }
.jc-header {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding-bottom: 12px; border-bottom: 1px solid var(--jc-border); margin-bottom: 10px;
}
.jc-logo {
  font-weight: 900; font-size: 1.3rem; letter-spacing: 0.1em;
  background: linear-gradient(90deg, #c084fc, #fbbf24, #60a5fa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.jc-powered { font-size: 0.68rem; color: var(--jc-muted); letter-spacing: 0.04em; }
.jc-header-user { flex: 1; font-weight: 600; color: var(--jc-purple); font-size: 0.9rem; }

.jc-nav { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.jc-nav-btn {
  background: rgba(255,255,255,0.04); border: 1px solid var(--jc-border); color: var(--jc-muted);
  padding: 7px 11px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 0.78rem;
}
.jc-nav-btn.active {
  background: linear-gradient(135deg, rgba(168,85,247,0.35), rgba(251,191,36,0.12));
  color: #fff; border-color: rgba(192,132,252,0.5);
}
.jc-btn {
  border: 1px solid var(--jc-border); background: rgba(255,255,255,0.06); color: var(--jc-text);
  padding: 8px 14px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 0.84rem;
}
.jc-btn.primary { background: linear-gradient(135deg, #7c3aed, #b45309); border: none; color: #fff; }
.jc-btn.ghost { background: transparent; }
.jc-btn.sm { padding: 5px 10px; font-size: 0.76rem; }
.jc-input {
  background: rgba(0,0,0,0.35); border: 1px solid var(--jc-border); color: var(--jc-text);
  padding: 10px 12px; border-radius: 10px; width: 100%; max-width: 320px; box-sizing: border-box;
}
.jc-title { font-size: 1.55rem; font-weight: 800; margin: 4px 0; }
.jc-kicker { font-size: 0.72rem; color: var(--jc-purple); text-transform: uppercase; letter-spacing: 0.08em; }
.jc-hint { font-size: 0.78rem; color: var(--jc-muted); }
.jc-section { margin-top: 20px; }
.jc-section-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.jc-section-head h2 { margin: 0; font-size: 1.05rem; }
.jc-album-progress { margin: 2px 0 0; font-size: 0.95rem; font-weight: 700; color: var(--jc-gold); }

.jc-kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin: 14px 0; }
.jc-kpi { background: var(--jc-card); border: 1px solid var(--jc-border); border-radius: 12px; padding: 11px; }
.jc-kpi-label { font-size: 0.65rem; color: var(--jc-muted); text-transform: uppercase; }
.jc-kpi-value { font-size: 1.3rem; font-weight: 800; margin-top: 2px; }
.jc-kpi-value small { font-size: 0.75rem; color: var(--jc-muted); font-weight: 600; }
.jc-kpi-value.gold { color: var(--jc-gold); }

.jc-grid, .tc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 14px;
}

/* ===== TRADING CARD ===== */
.tc-card {
  position: relative;
  aspect-ratio: 2.5 / 3.5;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
}
.tc-card.small { max-width: 120px; }
.tc-frame {
  position: relative;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #64748b;
  background: #1e293b;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
.tc-card.rarity-common .tc-frame {
  border-color: #94a3b8;
  background: linear-gradient(160deg, #334155, #1e293b);
}
.tc-card.rarity-rare .tc-frame {
  border-color: #3b82f6;
  background: linear-gradient(160deg, #1e3a5f, #0f172a);
  box-shadow: 0 0 20px rgba(59,130,246,0.25), 0 8px 24px rgba(0,0,0,0.4);
}
.tc-card.rarity-epic .tc-frame {
  border-color: #a855f7;
  background: linear-gradient(160deg, #3b0764, #1a0a2e);
  box-shadow: 0 0 28px rgba(168,85,247,0.3), 0 8px 24px rgba(0,0,0,0.45);
}
.tc-card.rarity-legend .tc-frame {
  border-color: #fbbf24;
  background: linear-gradient(160deg, #78350f, #1c1008 60%, #0c0a09);
  box-shadow: 0 0 32px rgba(251,191,36,0.35), 0 8px 28px rgba(0,0,0,0.5);
}
.tc-shine {
  pointer-events: none;
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(125deg, transparent 40%, rgba(255,255,255,0.07) 50%, transparent 60%);
}
.tc-card.rarity-rare .tc-shine { background: linear-gradient(125deg, transparent 35%, rgba(96,165,250,0.12) 50%, transparent 65%); }
.tc-card.rarity-epic .tc-shine { background: linear-gradient(125deg, transparent 30%, rgba(192,132,252,0.15) 50%, transparent 70%); }
.tc-card.rarity-legend .tc-shine {
  background: linear-gradient(125deg, transparent 25%, rgba(251,191,36,0.18) 48%, transparent 72%);
  animation: tc-legend-pulse 3s ease-in-out infinite;
}
@keyframes tc-legend-pulse {
  0%,100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.tc-holo-overlay {
  pointer-events: none;
  position: absolute; inset: 0; z-index: 4;
  background: linear-gradient(105deg,
    transparent 0%,
    rgba(255,0,128,0.08) 20%,
    rgba(0,255,255,0.1) 40%,
    rgba(255,255,0,0.08) 60%,
    transparent 80%);
  mix-blend-mode: color-dodge;
  animation: tc-holo 4s linear infinite;
  background-size: 200% 200%;
}
@keyframes tc-holo {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.tc-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 7px; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.04em;
  z-index: 2; position: relative;
  background: rgba(0,0,0,0.45);
}
.tc-num { color: #e2e8f0; font-variant-numeric: tabular-nums; }
.tc-rare { color: #cbd5e1; }
.tc-card.rarity-rare .tc-rare { color: #93c5fd; }
.tc-card.rarity-epic .tc-rare { color: #d8b4fe; }
.tc-card.rarity-legend .tc-rare { color: #fde68a; }
.tc-edition {
  position: relative; z-index: 2;
  text-align: center; font-size: 0.55rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 2px 4px; background: rgba(0,0,0,0.5); color: #fbbf24; text-transform: uppercase;
}
.tc-art {
  flex: 1; min-height: 0; position: relative; z-index: 1;
  background: #0a0810; display: flex; align-items: center; justify-content: center;
}
.tc-art img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tc-initials { font-weight: 900; font-size: 1.6rem; color: #3f3f46; }
.tc-bottom {
  position: relative; z-index: 2;
  padding: 6px 8px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.tc-name-row { display: flex; align-items: center; gap: 5px; }
.tc-crest { width: 14px; height: 14px; object-fit: contain; flex-shrink: 0; }
.tc-name {
  font-weight: 800; font-size: 0.78rem; line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tc-sub { font-size: 0.62rem; color: #a1a1aa; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-meta {
  display: flex; justify-content: space-between; margin-top: 4px;
  font-size: 0.58rem; font-weight: 700; color: #cbd5e1; letter-spacing: 0.03em;
}
.tc-count {
  position: absolute; bottom: 6px; right: 6px; z-index: 5;
  background: rgba(0,0,0,0.75); border: 1px solid rgba(251,191,36,0.5);
  color: #fbbf24; font-size: 0.65rem; font-weight: 800;
  padding: 2px 6px; border-radius: 999px;
}
.tc-card.selected .tc-frame { outline: 2px solid #fbbf24; }
.tc-card.locked .tc-frame {
  border-color: #3f3f46; background: #18181b; filter: grayscale(0.3);
}
.tc-silhouette { font-size: 2.5rem; color: #27272a; font-weight: 900; }
.locked-art { background: #09090b !important; }

.tc-back .tc-frame {
  align-items: center; justify-content: center;
  background: linear-gradient(160deg, #1e1b4b, #312e81);
  border-color: #6366f1;
}
.tc-back-logo { font-weight: 900; font-size: 1.8rem; letter-spacing: 0.2em; }
.tc-back-sub { font-size: 0.65rem; letter-spacing: 0.25em; color: #a5b4fc; margin-top: 4px; }

/* Pack stage */
.jc-pack-list { display: flex; flex-direction: column; gap: 8px; }
.jc-pack-item {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  background: var(--jc-card); border-radius: 12px; border: 1px solid var(--jc-border);
}
.jc-pack-visual { font-size: 1.5rem; }
.jc-pack-title { font-weight: 700; }
.jc-pack-meta { font-size: 0.72rem; color: var(--jc-muted); }
.jc-pack-stage { margin-top: 18px; text-align: center; }
.jc-pack-stage.hidden { display: none; }
.jc-pack-box { font-size: 3rem; display: inline-block; transition: 0.4s; }
.jc-pack-box.opening { animation: jc-shake 0.45s ease-in-out 2; }
.jc-pack-box.opened { transform: scale(0.4); opacity: 0.25; }
@keyframes jc-shake {
  0%,100%{transform:rotate(0)} 25%{transform:rotate(-10deg) scale(1.08)} 75%{transform:rotate(10deg) scale(1.08)}
}
.jc-reveal-focus { margin: 16px auto; max-width: 280px; min-height: 120px; }
.jc-reveal-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  max-width: 480px; margin: 0 auto;
}
.jc-tease {
  position: relative; height: 180px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 2px solid #64748b;
}
.jc-tease.rarity-rare { border-color: #3b82f6; box-shadow: 0 0 40px rgba(59,130,246,0.4); }
.jc-tease.rarity-epic { border-color: #a855f7; box-shadow: 0 0 50px rgba(168,85,247,0.5); }
.jc-tease.rarity-legend {
  border-color: #fbbf24; box-shadow: 0 0 60px rgba(251,191,36,0.55);
  animation: jc-legend-flash 0.8s ease;
}
@keyframes jc-legend-flash {
  0% { filter: brightness(2); }
  100% { filter: brightness(1); }
}
.jc-tease-glow {
  position: absolute; inset: -20%; 
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 60%);
}
.jc-tease.rarity-rare .jc-tease-glow { background: radial-gradient(circle, rgba(59,130,246,0.35), transparent 65%); }
.jc-tease.rarity-epic .jc-tease-glow { background: radial-gradient(circle, rgba(168,85,247,0.4), transparent 65%); }
.jc-tease.rarity-legend .jc-tease-glow { background: radial-gradient(circle, rgba(251,191,36,0.45), transparent 65%); }
.jc-tease-label {
  position: relative; z-index: 2; font-weight: 900; font-size: 1.1rem; letter-spacing: 0.12em;
}
.jc-reveal-one { animation: jc-card-in 0.45s ease; }
.jc-reveal-one.new-discovery { animation: jc-card-in 0.45s ease, jc-new-pulse 1.2s ease; }
@keyframes jc-card-in {
  from { transform: scale(0.85) rotateY(20deg); opacity: 0; }
  to { transform: scale(1) rotateY(0); opacity: 1; }
}
@keyframes jc-new-pulse {
  0%,100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 16px rgba(251,191,36,0.8)); }
}
.jc-new-badge {
  display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #b45309); font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.06em;
}
.jc-new-sub { font-size: 0.8rem; color: var(--jc-gold); margin-top: 8px; }
.jc-reveal-done { margin-top: 14px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.jc-reveal-done.hidden { display: none; }

.jc-showcase-row { display: flex; flex-wrap: wrap; gap: 10px; }
.jc-showcase-slot {
  min-width: 110px; border-radius: 12px; border: 1px dashed var(--jc-border);
  padding: 4px; cursor: pointer;
}
.jc-showcase-slot.picking { border-color: var(--jc-gold); box-shadow: 0 0 12px rgba(251,191,36,0.3); }
.jc-slot-empty {
  display: flex; align-items: center; justify-content: center; min-height: 140px;
  color: var(--jc-muted); font-size: 0.78rem;
}
.jc-offers { display: grid; gap: 12px; }
.jc-offer {
  background: var(--jc-card); border: 1px solid var(--jc-border); border-radius: 14px; padding: 14px;
}
.jc-offer-text { color: var(--jc-muted); font-size: 0.88rem; }
.jc-login {
  max-width: 380px; margin: 36px auto; padding: 22px; text-align: center;
  background: var(--jc-card); border-radius: 16px; border: 1px solid var(--jc-border);
}
.jc-login .jc-input { margin: 12px 0; }
.jc-actions-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.jc-npc-vitrine {
  margin-bottom: 14px; padding: 12px; border-radius: 12px;
  border: 1px solid var(--jc-border); background: rgba(0,0,0,0.22);
}
.jc-human-vitrine {
  border-color: rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.08);
}
.jc-npc-head { margin-bottom: 8px; font-size: 0.88rem; }
.jc-hall-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 8px 0 10px;
  color: var(--jc-gold, #fbbf24);
  letter-spacing: 0.02em;
}
.jc-redeem { max-width: 380px; }
.jc-entry-btn {
  background: linear-gradient(135deg, #7c3aed, #b45309) !important;
  color: #fff !important; border: none !important; font-weight: 700 !important;
  padding: 6px 12px !important; border-radius: 8px !important; cursor: pointer;
}

/* Modal detalhe + viewer 3D */
.jc-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.78); display: flex; align-items: center; justify-content: center;
  padding: 16px; backdrop-filter: blur(6px);
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.jc-modal {
  position: relative; background: #120f1c; border: 1px solid var(--jc-border);
  border-radius: 18px; padding: 20px; max-width: 520px; width: 100%;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; max-height: 90vh; overflow: auto;
  box-sizing: border-box;
}
.jc-modal-close {
  position: absolute; top: 8px; right: 12px; background: transparent; border: none;
  color: #fff; font-size: 1.4rem; cursor: pointer;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.jc-modal-card { max-width: 220px; margin: 0 auto; }
.jc-modal-card .tc-card { max-width: 220px; width: 100%; }
.jc-modal-info h2 { margin: 0 0 4px; font-size: 1.2rem; }
.jc-modal-ed { color: var(--jc-gold); font-size: 0.85rem; font-weight: 700; }
.jc-desc { font-size: 0.85rem; color: var(--jc-muted); margin-top: 8px; }
.jc-achievements { margin-top: 12px; }
.jc-achievements h3 { font-size: 0.85rem; margin: 0 0 6px; }
.jc-achievements ul { margin: 0; padding-left: 18px; font-size: 0.82rem; color: var(--jc-muted); }

@media (max-width: 640px) {
  .jc-modal,
  .jc-modal-viewer {
    grid-template-columns: 1fr;
    padding: 16px 14px 20px;
    max-height: 94vh;
    gap: 14px;
    align-items: center;
  }
  .jc-modal-card {
    max-width: min(78vw, 280px);
    width: 100%;
  }
  .jc-modal-card .tc-card {
    max-width: min(78vw, 280px);
  }
  .jc-modal-close {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }
  .tc-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
  .jc-reveal-row { grid-template-columns: 1fr; max-width: 200px; }
}

/* ========== Batch open (gacha burst) ========== */
.jc-batch-stage {
  position: relative;
  margin-top: 12px;
  padding: 18px 14px 20px;
  border-radius: 18px;
  border: 1px solid var(--jc-border, rgba(255,255,255,0.1));
  background: radial-gradient(ellipse at 50% 30%, rgba(124,58,237,0.18), transparent 55%),
              rgba(0,0,0,0.35);
  overflow: hidden;
  min-height: 220px;
}
.jc-batch-stage.rarity-legend {
  background: radial-gradient(ellipse at 50% 20%, rgba(251,191,36,0.22), transparent 50%),
              rgba(0,0,0,0.4);
  border-color: rgba(251,191,36,0.35);
}
.jc-batch-stage.rarity-epic {
  background: radial-gradient(ellipse at 50% 20%, rgba(168,85,247,0.2), transparent 50%),
              rgba(0,0,0,0.35);
  border-color: rgba(168,85,247,0.3);
}
.jc-batch-skip {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
}
.jc-batch-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 200px;
  text-align: center;
}
.jc-batch-packs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  max-width: 280px;
}
.jc-batch-pack-icon {
  font-size: 1.6rem;
  display: inline-block;
  animation: jc-batch-float 1.2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.06s);
}
@keyframes jc-batch-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.jc-batch-packs.shaking .jc-batch-pack-icon {
  animation: jc-batch-shake 0.35s ease-in-out infinite;
}
@keyframes jc-batch-shake {
  0%, 100% { transform: rotate(0) scale(1); }
  25% { transform: rotate(-12deg) scale(1.1); }
  75% { transform: rotate(12deg) scale(1.1); }
}
.jc-batch-charge-ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #a855f7;
  border-right-color: #fbbf24;
  animation: jc-batch-spin 0.9s linear infinite;
  margin-top: 4px;
}
@keyframes jc-batch-spin { to { transform: rotate(360deg); } }
.jc-batch-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.jc-batch-title-burst {
  font-size: 1.6rem;
  background: linear-gradient(90deg, #a855f7, #fbbf24, #a855f7);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: jc-batch-shine 0.8s linear infinite;
}
@keyframes jc-batch-shine {
  to { background-position: 200% center; }
}
.jc-batch-bar {
  width: min(240px, 80%);
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.jc-batch-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #7c3aed, #fbbf24);
  transition: width 1s ease;
  box-shadow: 0 0 12px rgba(168,85,247,0.5);
}
.jc-batch-phase-burst {
  position: relative;
}
.jc-batch-burst-flash {
  position: absolute;
  inset: 20% 25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.55), transparent 70%);
  animation: jc-batch-flash 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes jc-batch-flash {
  0% { transform: scale(0.2); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}
.jc-batch-particles {
  position: relative;
  width: 160px;
  height: 160px;
}
.jc-batch-particle {
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 8px #a855f7;
  animation: jc-batch-particle 0.7s ease-out forwards;
  animation-delay: calc(var(--i, 0) * 0.02s);
  transform: rotate(calc(var(--i, 0) * 20deg)) translateY(0);
  opacity: 0;
}
@keyframes jc-batch-particle {
  0% { opacity: 1; transform: rotate(calc(var(--i, 0) * 20deg)) translateY(0) scale(1); }
  100% { opacity: 0; transform: rotate(calc(var(--i, 0) * 20deg)) translateY(-70px) scale(0.3); }
}
.jc-batch-phase-tease {
  position: relative;
  min-height: 220px;
}
.jc-batch-tease-glow {
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
  animation: jc-batch-pulse 1.1s ease-in-out infinite;
}
.jc-batch-phase-tease.rarity-legend .jc-batch-tease-glow {
  background: #fbbf24;
}
.jc-batch-phase-tease.rarity-epic .jc-batch-tease-glow {
  background: #a855f7;
}
.jc-batch-phase-tease.rarity-rare .jc-batch-tease-glow {
  background: #3b82f6;
}
.jc-batch-phase-tease.rarity-common .jc-batch-tease-glow {
  background: #94a3b8;
}
@keyframes jc-batch-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0.7; }
}
.jc-batch-tease-badge {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.25);
  animation: jc-batch-badge-in 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.jc-batch-phase-tease.rarity-legend .jc-batch-tease-badge {
  color: #fbbf24;
  border-color: rgba(251,191,36,0.6);
  box-shadow: 0 0 40px rgba(251,191,36,0.35);
  text-shadow: 0 0 20px rgba(251,191,36,0.5);
}
.jc-batch-phase-tease.rarity-epic .jc-batch-tease-badge {
  color: #e9d5ff;
  border-color: rgba(168,85,247,0.55);
  box-shadow: 0 0 36px rgba(168,85,247,0.35);
}
.jc-batch-phase-tease.rarity-rare .jc-batch-tease-badge {
  color: #93c5fd;
  border-color: rgba(59,130,246,0.5);
}
@keyframes jc-batch-badge-in {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.jc-batch-tease-sub {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--jc-muted, #94a3b8);
  font-size: 0.9rem;
}
.jc-batch-done-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
}
.jc-batch-kpis { margin-bottom: 14px; }
.jc-batch-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-height: 48vh;
  overflow: auto;
  padding: 4px;
}
.jc-batch-card-wrap {
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  animation: jc-batch-card-in 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--delay, 0s);
}
.jc-batch-card-wrap.is-new {
  filter: drop-shadow(0 0 8px rgba(251,191,36,0.45));
}
@keyframes jc-batch-card-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========== Tilt 3D + glare ========== */
.tc-card.tc-tilt {
  perspective: 900px;
}
.tc-card.tc-tilt .tc-frame {
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
  will-change: transform;
}
.tc-glare {
  position: absolute; inset: 0; z-index: 4;
  pointer-events: none; opacity: 0;
  transition: opacity 0.15s ease;
  mix-blend-mode: soft-light;
  border-radius: inherit;
}

/* ========== Molduras por edição ========== */
.tc-card.ed-mvp .tc-frame {
  border-color: #fbbf24;
  box-shadow: 0 0 0 1px rgba(251,191,36,0.35), 0 8px 24px rgba(251,191,36,0.12);
}
.tc-card.ed-champion .tc-frame {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56,189,248,0.35), 0 8px 24px rgba(56,189,248,0.12);
}
.tc-card.ed-finals .tc-frame {
  border-color: #f472b6;
  box-shadow: 0 0 0 1px rgba(244,114,182,0.35), 0 8px 24px rgba(244,114,182,0.12);
}
.tc-card.ed-allstar .tc-frame {
  border-color: #a78bfa;
  box-shadow: 0 0 0 1px rgba(167,139,250,0.35);
}
.tc-card.ed-icon .tc-frame {
  border-color: #facc15;
  box-shadow: 0 0 18px rgba(250,204,21,0.25);
}
.tc-card.ed-commemorative .tc-frame {
  border-color: #34d399;
  box-shadow: 0 0 0 1px rgba(52,211,153,0.3);
}
.tc-card.ed-breakout .tc-frame { border-color: #fb923c; }
.tc-card.ed-rivalry .tc-frame { border-color: #ef4444; }

.tc-edition.ed-badge-mvp { color: #fbbf24; }
.tc-edition.ed-badge-champion { color: #38bdf8; }
.tc-edition.ed-badge-finals { color: #f472b6; }
.tc-edition.ed-badge-icon { color: #facc15; }
.tc-edition.ed-badge-commemorative { color: #34d399; }

.jc-inv-filters select {
  background: var(--jc-card, #1a1625);
  color: inherit;
  border: 1px solid var(--jc-border, rgba(255,255,255,0.12));
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.78rem;
}

/* ========== Vitrine edit: sticky save + filters ========== */
.jc-vitrine-sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 0 12px;
  margin: -4px 0 8px;
  background: linear-gradient(180deg, rgba(12,10,18,0.98) 60%, rgba(12,10,18,0.85) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--jc-border, rgba(255,255,255,0.08));
}
.jc-vitrine-sticky .jc-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.jc-vit-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
  align-items: center;
}
.jc-filter-search {
  max-width: 100%;
  flex: 1 1 160px;
  min-width: 140px;
  padding: 8px 10px !important;
}
.jc-vitrine-save-bottom {
  position: sticky;
  bottom: 8px;
  margin-top: 16px;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  background: linear-gradient(0deg, rgba(12,10,18,0.95), transparent);
}
.jc-hall-section {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid var(--jc-border, rgba(255,255,255,0.08));
}
.jc-hall-subtitle {
  font-size: 0.9rem;
  margin: 12px 0 8px;
  color: var(--jc-muted, #a1a1aa);
}

@media (max-width: 720px) {
  .jc-vitrine-sticky .jc-section-head {
    flex-direction: column;
    align-items: stretch;
  }
  .jc-vitrine-sticky .jc-btn.primary {
    width: 100%;
    min-height: 44px;
  }
  .jc-vit-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .jc-vit-filters select,
  .jc-vit-filters .jc-input,
  .jc-filter-search {
    width: 100%;
    max-width: none;
    font-size: 16px; /* evita zoom iOS */
    min-height: 44px;
  }
}

/* Pity Legend */
.jc-pity-bar {
  margin: 10px 0 14px;
  padding: 10px 12px;
  background: var(--jc-card);
  border: 1px solid var(--jc-border);
  border-radius: 12px;
}
.jc-pity-label {
  font-size: 0.78rem;
  color: var(--jc-muted);
  margin-bottom: 6px;
}
.jc-pity-label strong {
  color: var(--jc-gold, #fbbf24);
  font-weight: 800;
}
.jc-pity-track {
  height: 8px;
  background: rgba(251, 191, 36, 0.12);
  border-radius: 999px;
  overflow: hidden;
}
.jc-pity-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 999px;
  transition: width 0.35s ease;
}
