﻿/* One SVG surface supplies paper, portrait and typography in every context. */
.wanted.wanted {
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 2px;
  background: none;
  clip-path: none;
  overflow: visible;
  box-shadow: none;
}
.wanted.wanted .wanted-art {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  background: none;
  object-fit: contain;
  flex: none;
}
.wanted.wanted > .wanted-label,
.wanted.wanted > .card-name {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  font-size: 12px;
}
.wanted.wanted > .card-name::before,
.wanted.wanted::before {
  content: none;
}
.wanted.wanted .card-foot {
  display: none;
}
.poster .wanted.wanted {
  filter: none;
}
.wanted.wanted-reveal {
  width: min(240px, 100%);
  margin-inline: auto;
}
.secret-preview .wanted.wanted {
  width: min(240px, 65vw);
}
.in-match .game .board .wanted.wanted {
  padding: 0;
  gap: 0;
  border: 0;
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 0;
  overflow: visible;
  background: none;
}
.in-match .game .board .wanted.wanted .wanted-art {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  padding: 0;
  object-fit: contain;
  background: none;
}
.in-match .game .board .wanted.wanted > .card-name,
.in-match .game .board .wanted.wanted > .wanted-label {
  position: absolute;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  width: 1px;
}
.wanted.wanted.picked {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  box-shadow: 0 0 16px #ecc98644;
  transform: none;
}
.wanted.wanted:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px #04121e;
}
.wanted.wanted.discarded {
  opacity: 0.48;
  filter: grayscale(0.95);
  transform: scale(0.98);
  box-shadow: none;
}
.wanted.wanted.discarded::after,
.in-match .game .board .wanted.wanted.discarded::after {
  content: "╱";
  position: absolute;
  inset: auto 8% 10% auto;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: #772c27;
  color: #f3dfb8;
  border: 1px solid #f3dfb888;
  border-radius: 50%;
  font:
    700 22px/1 Georgia,
    serif;
  text-shadow: none;
  transform: none;
}
.in-match .private-character img.wanted-mini {
  width: 30px;
  height: 40px;
  object-fit: contain;
  border: 0;
  background: none;
}
@media (hover: hover) and (pointer: fine) {
  button.wanted.wanted:hover:not(:disabled) {
    background: none;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px #0004;
  }
  button.wanted.wanted.discarded:hover:not(:disabled) {
    transform: translateY(-2px) scale(0.98);
  }
}
@media (prefers-reduced-motion: reduce) {
  button.wanted.wanted:hover:not(:disabled) {
    transform: none;
  }
}
.hero .paper-mesh {
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (hover: hover) and (pointer: fine) {
  .hero[data-bounty-intro="settled"]
    .poster[data-paper-hover]:hover
    .paper-mesh {
    transform: perspective(900px) translateY(-6px)
      rotateX(var(--paper-rx, 2deg)) rotateY(var(--paper-ry, -2deg));
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .poster:hover .paper-mesh {
    transform: none;
  }
}
.in-match .game .board .wanted.wanted {
  width: min(100%, var(--wanted-board-width, 100%));
  height: auto;
  aspect-ratio: 3/4;
  justify-self: center;
  align-self: center;
}
