/* The selected item and the target are the same visual object in the arena.
   Only the selected item keeps its remove button. */
.offer-panel .panel-pick,
.target-panel .panel-pick {
  position: relative;
  flex: 0 0 142px !important;
  width: 142px !important;
  height: 158px !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--rarity, #a339ff) !important;
  border-radius: 10px !important;
  background:
    radial-gradient(circle at 50% 44%, var(--rarity-soft, #a339ff38), transparent 70%),
    linear-gradient(150deg, #292a30, #17181d 72%) !important;
  box-shadow:
    0 0 0 1px var(--rarity, #a339ff),
    0 0 28px var(--rarity-soft, #a339ff38),
    inset 0 0 18px var(--rarity-soft, #a339ff38) !important;
}

.offer-panel .panel-pick::before,
.target-panel .panel-pick::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 88%;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--rarity, #a339ff) 0%, var(--rarity-soft, #a339ff38) 46%, transparent 78%);
  filter: blur(22px);
  opacity: .78;
  pointer-events: none;
  content: '';
  transform: translate(-50%, -50%);
}

.offer-panel .panel-pick img,
.target-panel .panel-pick img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: contain;
  filter: drop-shadow(0 14px 14px #000) !important;
}

.target-panel .panel-pick b { display: none !important; }
.offer-panel .panel-pick[data-remove] { cursor: pointer; }

@media (max-width: 820px) {
  .offer-panel .panel-pick,
  .target-panel .panel-pick {
    flex-basis: 112px !important;
    width: 112px !important;
    height: 128px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-panel .panel-pick,
  .target-panel .panel-pick { transition: none !important; }
}

/* The two preview slots are full-panel canvases. Do not inherit the old
   compact inventory-card dimensions here. */
.offer-panel #offer-items,
.target-panel #target-preview {
  display: flex !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
  width: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  gap: 0 !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  overflow: hidden !important;
}

.offer-panel #offer-items .panel-pick[data-remove],
.target-panel #target-preview .panel-pick {
  display: flex !important;
  flex: 1 1 100% !important;
  align-self: stretch !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  max-height: none !important;
  border-radius: 12px !important;
  align-items: center !important;
  justify-content: center !important;
}

.offer-panel #offer-items .panel-pick[data-remove] img,
.target-panel #target-preview .panel-pick img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Empty preview branding: icon first, then the same UPRUST wordmark used in
   the header, centered inside the full preview area. */
.offer-panel #offer-items .brand-placeholder,
.target-panel #target-preview .brand-placeholder {
  display: flex !important;
  flex: 1 1 100% !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  gap: 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  filter: none !important;
}

.offer-panel #offer-items .brand-placeholder img,
.target-panel #target-preview .brand-placeholder img {
  flex: 0 0 auto !important;
  width: 82px !important;
  height: 82px !important;
  filter: drop-shadow(0 0 22px #a339ff99) drop-shadow(0 12px 16px #0008) !important;
}

.brand-placeholder-word {
  color: #fff !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -1.2px !important;
  text-shadow: 0 0 18px #a339ff66 !important;
}

.brand-placeholder-word b {
  color: #c684ff !important;
}
