.card {
  background-color: var(--bg-surface);
  background-image: var(--texture-surface), var(--texture-speckle);
  background-size:
    256px 256px,
    128px 128px;
  background-repeat: repeat, repeat;
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  border-radius: 4px;
  padding: 1rem;
  cursor: pointer;
  box-shadow:
    0 4px 12px rgba(var(--shadow-rgb), 0.5),
    0 1px 4px rgba(var(--shadow-rgb), 0.3),
    inset 0 1px 0 rgba(var(--gold-rgb), 0.06);
  transition:
    border-color 0.15s,
    transform 0.1s,
    box-shadow 0.15s;
}

.card:hover {
  border-color: rgba(var(--gold-rgb), 0.5);
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(var(--shadow-rgb), 0.6),
    0 2px 6px rgba(var(--shadow-rgb), 0.4),
    inset 0 1px 0 rgba(var(--gold-rgb), 0.1),
    0 0 15px rgba(var(--gold-rgb), 0.05);
}

.cardHeader {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.name {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.level {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.meta {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 0.75rem;
}

.hpAcRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.ac {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
}

.acLabel {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
}

.acValue {
  font-size: 1.1rem;
  color: var(--ac);
}

.gearSummary {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-align: right;
  margin-top: 0.5rem;
}

.xp {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: right;
}
