/* Relic card styles */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.iconWrapper {
  position: relative;
  width: 20px;
  height: 20px;
}

.exhaustedIcon {
  filter: saturate(1.2) hue-rotate(-8deg) brightness(0.9) contrast(1.1);
}

.exhaustedX {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.textContainer {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.8);
}


/* Subtle artifact filigree top line */
.relicCard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0) 0%, rgba(251, 191, 36, 0.35) 50%, rgba(251, 191, 36, 0) 100%);
}

/* Tiny inset corner cuts to imply carved edges */
.relicCard::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 6px;
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(251, 191, 36, 0.4);
  border-right: 1px solid rgba(251, 191, 36, 0.4);
  border-top-right-radius: 4px;
  opacity: 0.5;
}
