/* Bounty Board. Loads last (after surprise.css / cotd.css) so its rules win ties. */

.bounty-head .row { align-items: center; }
#bountyMyOpen { margin-left: auto; }
.bounty-head, .bounty-filters { margin-bottom: 12px; }

.bounty-filters { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.bounty-filters label { display: flex; gap: 8px; align-items: center; }

.bounty-list { display: grid; gap: 12px; margin-top: 12px; }

.bounty-card {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.bounty-want .card { width: 100%; border-radius: 8px; } /* keep rarity ring concentric on small faces */
.bounty-want .cf { border-radius: 4px; }
.bounty-want-missing {
  width: 100%; aspect-ratio: 5/7; border: 1px dashed var(--line); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 10px; text-align: center;
}

.bounty-want-label {
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: #f5b942;
  margin-bottom: 4px;
}
.bounty-cardname { font-size: 1.15rem; font-weight: 700; }
.bounty-req { margin: 6px 0; font-weight: 600; color: #ffd97a; }

.bounty-offer { display: flex; flex-direction: column; gap: 4px; }
.bounty-offer-line { display: block; }
.bounty-actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }

/* claim confirm: what goes each way */
.bounty-tradebox {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px; margin: 12px 0;
}
.bounty-trade-arrow { font-size: 1.6rem; color: #f5b942; }

@media (max-width: 720px) {
  .bounty-card { grid-template-columns: 84px 1fr; }
  .bounty-offer { grid-column: 1 / -1; }
  .bounty-tradebox { grid-template-columns: 1fr; text-align: center; }
  .bounty-trade-arrow { transform: rotate(90deg); }
}

/* Cancel/claim modal buttons sit in a .row — the global .btn.danger margin-top
   misaligns them, so neutralize it there. */
.row .btn.danger { margin-top: 0; }

/* Offer cards as clickable faces (board + claim modal) */
.bounty-offerfaces { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.bounty-offerfaces .bounty-want { width: 104px; flex: none; }
/* Composer review step: the YOU GET face takes the same 104px slot as
   the offer faces — unconstrained it filled its whole grid column. */
.bounty-tradebox .bounty-want { width: 104px; flex: none; }

/* Any-number claim chooser (migration 141): serial radio rows in the
   claim confirm. Same inline-radio width fix as .bounty-form — site CSS
   forces label.inline inputs to 70px wide. */
.claim-serial-pick { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; margin: 4px 0 12px; }
.claim-serial-pick label.inline input[type=radio] { width: 16px; height: 16px; margin: 0; flex: none; }
