/* Persistent combat stats on TCG cards when card art is shown (fallback text may be hidden). */
.tcg-stat-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 4px;
  padding: 4px 5px 3px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  pointer-events: none;
  font-weight: 800;
  font-size: 0.68rem;
  line-height: 1.1;
  border-radius: 0 0 inherit inherit;
}
.tcg-stat-overlay--top {
  inset: 0 0 auto 0;
  justify-content: flex-end;
  background: linear-gradient(rgba(0, 0, 0, 0.72), transparent);
  padding: 3px 5px 4px;
}
.tcg-stat-atk { color: #fde047; text-shadow: 0 1px 2px #000; }
.tcg-stat-def { color: #f87171; text-shadow: 0 1px 2px #000; }
.tcg-stat-pt { color: #fff; text-shadow: 0 1px 2px #000; background: rgba(0, 0, 0, 0.55); padding: 1px 4px; border-radius: 4px; }
.tcg-stat-meta { color: #e2e8f0; font-size: 0.6rem; text-shadow: 0 1px 2px #000; }
.tcg-stat-cost {
  color: #fff;
  background: rgba(59, 130, 246, 0.9);
  border-radius: 50%;
  min-width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
