/* CardVault Rookie Card feature
   Loaded after styles.css so this safely layers on top
   of the existing design without replacing it. */

.card-image-wrap {
  position: relative;
}

.card-rookie-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;

  width: 38px;
  height: 38px;
  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.94);
  border: 2px solid rgba(15, 35, 68, 0.92);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);

  color: #0f2344;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1;

  pointer-events: none;
}

/* Keeps the badge proportional on narrow phones. */
@media (max-width: 390px) {
  .card-rookie-badge {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
}


/* =========================================================
   IOS SAFARI CARD IMAGE LOAD RECOVERY
   Keeps the existing image sizing exactly the same.
   ========================================================= */

.card-image-wrap img.image-load-pending {
  opacity: 0.985;
}
