.charms-card {
  border: 1px solid #66756266;
  border-radius: 7px;
  padding: 16px;
  background: linear-gradient(145deg, #1c2f34, #162831);
  color: #d7d7bd;
  margin: 14px 0;
  min-width: 0;
}
.charms-kicker {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #b5ba91;
  margin: 0 0 5px;
}
.charms-heading {
  font-family: Georgia, serif;
  color: #e2d2a7;
  margin: 0 0 9px;
  font-size: 20px;
}
.charms-status {
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 14px;
  color: #b6c7b7;
}
.charms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 10px;
}
.charm-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: start;
  gap: 9px;
  padding: 12px;
  border: 1px solid #566e665e;
  background: #10232b88;
  border-radius: 5px;
  min-width: 0;
}
.charm-equipped {
  border-color: #d4b67e;
  background: #34403477;
}
.charm-locked {
  background: #12242c77;
}
.charm-locked .charm-icon {
  opacity: 0.55;
}
.charm-icon {
  display: block;
  align-self: start;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.charm-name {
  color: #e2d3ad;
  font-size: 14px;
  margin: 0 0 7px;
  font-family: Georgia, serif;
}
.charm-description,
.charm-detail,
.charm-reason {
  font-size: 11px;
  line-height: 1.6;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.charm-detail {
  color: #b7c7ac;
}
.charm-reason {
  color: #d4b58d;
}
.charm-button {
  grid-column: 1/-1;
  justify-self: stretch;
  white-space: normal;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #a58f66;
  border-radius: 4px;
  background: #35453b;
  color: #f0dfb5;
  font-size: 11px;
  cursor: pointer;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.charm-button:hover:enabled {
  background: #48573f;
}
.charm-button:focus-visible {
  outline: 2px solid #e5cd93;
  outline-offset: 3px;
}
.charm-button:disabled {
  opacity: 0.58;
  cursor: default;
}
.charm-remove {
  margin-top: 12px;
  min-width: 150px;
  background: #1c3136;
}
.charms-stat {
  color: #bac6b3;
  font-size: 11px;
  line-height: 1.6;
  margin: 12px 0 0;
}
@media (max-width: 480px) {
  .charms-card {
    padding: 12px;
  }
  .charms-grid {
    grid-template-columns: 1fr;
  }
  .charm-item {
    padding: 10px;
  }
  .charm-button {
    min-height: 44px;
  }
  .charm-remove {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .charms-card * {
    transition: none !important;
    animation: none !important;
  }
}
