@charset "UTF-8";
/* Hallmark · genre: atmospheric · component: forgemage-card · design-system: design.md · designed-as-app
 * Shared smithmage result card (search, find-forgemage, wishlist, reviews…). Forge voice:
 * Petrona name + Karla body, amber restraint (spec chips + star), purple secondary for the
 * verified badge, 16px card radius, amber-glow hover lift, instant amber focus ring.
 * Self-contained --fc-* tokens (no page scope — the card ships everywhere) themed via
 * Bootstrap's data-bs-theme. No anvil/glow theatrics: function carries it. */
[data-bs-theme=light] .forgemage-card, [data-bs-theme=light] .see-more-card {
  --fc-paper: #f0eee6;
  --fc-paper-2: #faf9f5;
  --fc-ink: #141413;
  --fc-ink-2: #6f6c62;
  --fc-rule: rgba(20, 20, 19, .10);
  --fc-accent: var(--main-orange-darker); /* amber on light — contrast for text/icons */
  --fc-accent-fill: var(--main-orange);
  --fc-accent-hover: #ffb949;
  --fc-accent-soft: rgba(245, 164, 44, .14);
  --fc-accent-ink: #1a1714;
  --fc-purple: var(--secondary-dark);
  --fc-purple-soft: var(--secondary-lightest);
  --fc-focus: rgba(245, 164, 44, .55);
  --fc-shadow: rgba(24, 24, 24, .14);
}
[data-bs-theme=light] .forgemage-card--skeleton {
  background-color: #fcfcfc;
  border: 1px solid #e0ded9;
}
[data-bs-theme=light] .forgemage-card--skeleton .forgemage-card__header {
  background: linear-gradient(110deg, #f7f7f5 8%, #fcfcfc 18%, #f7f7f5 33%);
  background-size: 200% 100%;
  animation: shine 1.5s linear infinite;
}

[data-bs-theme=dark] .forgemage-card, [data-bs-theme=dark] .see-more-card {
  --fc-paper: #251f19;
  --fc-paper-2: #2c2620;
  --fc-ink: #efe7d8;
  --fc-ink-2: #b3a892;
  --fc-rule: rgba(245, 164, 44, .16);
  --fc-accent: var(--main-orange);
  --fc-accent-fill: var(--main-orange);
  --fc-accent-hover: #ffb949;
  --fc-accent-soft: rgba(245, 164, 44, .16);
  --fc-accent-ink: #1a1714;
  --fc-purple: #9a7af0;
  --fc-purple-soft: rgba(154, 122, 240, .18);
  --fc-focus: rgba(245, 164, 44, .60);
  --fc-shadow: rgba(0, 0, 0, .45);
}
[data-bs-theme=dark] .forgemage-card--skeleton {
  background-color: var(--main-grey-light);
  border: 1px solid var(--main-grey-lighter-50);
}
[data-bs-theme=dark] .forgemage-card--skeleton .forgemage-card__header {
  background: linear-gradient(110deg, var(--main-grey-lighter-50) 8%, var(--main-grey-light) 18%, var(--main-grey-lighter-50) 33%);
  background-size: 200% 100%;
  animation: shine 1.5s linear infinite;
}

.forgemage-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid var(--fc-rule);
  background-color: var(--fc-paper);
  color: var(--fc-ink);
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
  /* Instant amber focus ring, never animated. */
}
.forgemage-card:focus-visible {
  outline: 3px solid var(--fc-focus);
  outline-offset: 2px;
}
.forgemage-card:hover {
  border-color: var(--fc-accent-soft);
  box-shadow: 0 6px 22px var(--fc-shadow), 0 0 0 1px var(--fc-accent-soft);
  transform: translateY(-2px);
}
.forgemage-card:active {
  transform: translateY(0);
}
.forgemage-card .badge {
  font-weight: 400;
}
.forgemage-card__reputation {
  margin: 0 0 16px;
}

.forgemage-card--skeleton .forgemage-card__actions, .forgemage-card--skeleton .forgemage-card__body, .forgemage-card--skeleton .forgemage-card__header > * {
  visibility: hidden;
}

@keyframes shine {
  to {
    background-position-x: -200%;
  }
}
.forgemage-reputation {
  display: flex;
  flex-flow: row wrap;
  gap: 8px;
}

/* Verified / premium — purple secondary (on-palette), soft-filled pill. */
.badge-verified {
  display: flex;
  align-items: center;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--fc-purple-soft);
  color: var(--fc-purple);
  border-radius: 6px;
  height: 20px;
  padding: 3px 6px 4px;
}
.badge-verified svg {
  margin-right: 3px;
}

.forgemage-card__link-without-style {
  text-decoration: none;
  color: var(--fc-ink);
}
.forgemage-card__link-without-style .forgemage-rating {
  color: var(--fc-ink);
}

.forgemage-card__header {
  flex-grow: 0;
  aspect-ratio: 3/2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  height: 223.0769230769px;
  z-index: 0;
  padding: 8px 12px;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  /* Warm scrim: the avatar photo settles into the card's paper along the bottom edge. */
}
.forgemage-card__header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  pointer-events: none;
  background: linear-gradient(to top, var(--fc-paper) 2%, transparent);
}

.forgemage-card__header-top {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  width: 100%;
  row-gap: 8px;
  column-gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 1;
}

.availability {
  color: var(--fc-ink);
  align-items: center;
  box-sizing: border-box;
  text-align: center;
  display: block;
  font-weight: 600;
  border-radius: 12px;
  max-width: 100%;
  width: max-content;
  line-height: 1.25;
  height: 28px;
  font-size: 12px;
}

.availability-has-label {
  background-color: var(--fc-paper-2);
  border: 1px solid var(--fc-rule);
  padding: 4px 8px;
}

.availability__dot {
  display: inline-flex;
  position: relative;
  border-radius: 50%;
  margin-right: 6px;
  top: 3px;
  width: 15px;
  height: 15px;
}
.availability__dot:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #81b928;
  background-color: #81b928;
}

.forgemage-card__body {
  flex-grow: 1;
  margin-top: -1px;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  color: var(--fc-ink);
  padding: 12px;
  position: relative;
}

.forgemage-card__budget {
  position: absolute;
  top: -12px;
}

.forgemage-budget {
  display: inline-flex;
  box-shadow: 0 4px 12px 0 var(--fc-shadow);
  padding: 4px 8px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.25;
  border-radius: 12px;
  border: 0;
  color: var(--fc-accent-ink);
  background-color: var(--fc-accent-fill);
}
.forgemage-budget p {
  margin: 0;
}

.forgemage-headline {
  margin: 0;
  font-family: var(--font-heading), serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  text-overflow: ellipsis;
  overflow: hidden;
}

.forgemage-card__header-background-container {
  position: absolute;
  z-index: -1;
  top: -1px;
  left: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: calc(100% + 2px);
  height: 100%;
  font-family: var(--font-heading), serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--fc-accent);
  background-color: var(--fc-paper-2);
}
.forgemage-card__header-background-container img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  background-color: var(--fc-paper-2);
}

.results-grid-layout {
  display: grid;
  grid-template-rows: 1fr;
  grid-gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: ". . . . " "banner banner banner banner ";
}

.forgemage-card__identity {
  width: 100%;
}
.forgemage-card__identity:after {
  content: "";
  z-index: -1;
  position: absolute;
  bottom: 1px;
  left: -1px;
  width: calc(100% + 2px);
  height: 100px;
  opacity: 0.4;
  background: linear-gradient(0deg, black 60%, transparent);
}

.profile-name {
  font-family: var(--font-heading), serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--fc-ink);
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.profile-information {
  font-size: 14px;
  row-gap: 4px;
  column-gap: 12px;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  color: var(--fc-ink-2);
}

.player-location {
  font-weight: 600;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  font-size: 14px;
  line-height: 1.25;
  color: var(--fc-ink-2);
}

/* Amber rating star + value. */
.forgemage-rating .rating-stars .bi-star-fill {
  color: var(--fc-accent);
}

/* Favorite heart — paper chip, amber on hover, filled amber when favorited. */
.favorite-button {
  cursor: pointer;
  appearance: none;
  margin: 0;
  padding: 0;
  line-height: 1.15;
  color: var(--fc-ink-2);
  background-color: var(--fc-paper-2);
  border: 1px solid var(--fc-rule);
  transition: color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
  /* Favorited: wishlist.js swaps bi-heart → bi-heart-fill on the icon. */
}
.favorite-button span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  line-height: 1;
}
.favorite-button:hover {
  color: var(--fc-accent);
  border-color: var(--fc-accent-soft);
}
.favorite-button:active {
  transform: scale(0.92);
}
.favorite-button .bi-heart-fill {
  color: var(--fc-accent);
}

.forgemage-specs {
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  overflow: hidden;
  row-gap: 8px;
  column-gap: 8px;
  max-height: 60px;
}
.forgemage-specs .spec-tag {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  transition: none;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0 8px;
  min-height: 20px;
  color: var(--fc-accent);
  background: var(--fc-accent-soft);
  border: 1px solid transparent;
  align-items: center;
  position: relative;
  text-decoration: none;
  border-radius: 8px;
  box-sizing: border-box;
  outline: none;
  line-height: 2;
}

.forgemage__card-type {
  margin: 16px 0;
}

.forgemage-type {
  display: flex;
  flex-flow: row wrap;
  gap: 8px;
}

.badge-forgemage-type {
  vertical-align: middle;
  box-sizing: border-box;
  border-radius: 6px;
  height: 20px;
  padding: 3px 4px 4px;
  display: flex;
  align-items: center;
  width: auto;
  line-height: 1.05;
  white-space: nowrap;
}
.badge-forgemage-type.red {
  background-color: #fff3f3;
  color: #ff7370;
}

@media (prefers-reduced-motion: reduce) {
  .forgemage-card,
  .favorite-button {
    transition-duration: 0ms;
  }
  .forgemage-card:hover {
    transform: none;
  }
  .forgemage-card--skeleton .forgemage-card__header {
    animation: none;
  }
}

/*# sourceMappingURL=forgemage-card.output.css.map */
