/* ===================================================================
   WARBAND VIEWER - Read-Only Vollansicht fÃ¼r Gegner-AufklÃ¤rung
   Mordheim Campaign Manager
   =================================================================== */

/* ===== FULLSCREEN OVERLAY ===== */
.wv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 15, 0.97);
  z-index: 20000;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  -webkit-overflow-scrolling: touch;
}

.wv-overlay.active {
  opacity: 1;
  visibility: visible;
}

.wv-overlay.active .wv-container {
  transform: translateY(0);
  opacity: 1;
}

.wv-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px 60px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
}

/* ===== TOP BAR ===== */
.wv-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.wv-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted, #888);
  font-size: 0.85rem;
}

.wv-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 4px;
  color: var(--color-gold, #d4af37);
  font-size: 0.75rem;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wv-close-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(139, 0, 0, 0.2);
  border: 1px solid rgba(139, 0, 0, 0.4);
  border-radius: 6px;
  color: #e8a0a0;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wv-close-btn:hover {
  background: rgba(139, 0, 0, 0.4);
  color: #fff;
}

/* ===== WARBAND HEADER ===== */
.wv-header {
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.wv-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.wv-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wv-header-info {
  flex: 1;
  min-width: 200px;
}

.wv-warband-name {
  font-family: 'UnifrakturMaguntia', 'Cinzel', serif;
  font-size: 2rem;
  color: var(--color-gold, #d4af37);
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.wv-warband-type {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--text-secondary, #aaa);
  margin-bottom: 6px;
}

.wv-warband-player {
  font-size: 0.85rem;
  color: var(--text-muted, #888);
}

.wv-warband-player span {
  color: var(--text-secondary, #aaa);
}

/* ===== STATS OVERVIEW GRID ===== */
.wv-overview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.wv-ov-stat {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
}

.wv-ov-stat-val {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-gold, #d4af37);
  font-family: 'Cinzel', serif;
}

.wv-ov-stat-lbl {
  font-size: 0.7rem;
  color: var(--text-muted, #888);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.wv-ov-stat.highlight {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.06);
}

.wv-ov-stat.wins .wv-ov-stat-val { color: #4ade80; }
.wv-ov-stat.losses .wv-ov-stat-val { color: #f87171; }

/* ===== SECTION HEADERS ===== */
.wv-section {
  margin-bottom: 24px;
}

.wv-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(139, 0, 0, 0.3);
}

.wv-section-icon {
  font-size: 1.2rem;
}

.wv-section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--color-gold, #d4af37);
  margin: 0;
}

.wv-section-count {
  font-size: 0.8rem;
  color: var(--text-muted, #888);
  margin-left: auto;
}

/* ===== CHARACTER CARDS ===== */
.wv-card {
  background: var(--bg-card, #252540);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.wv-card:hover {
  border-color: rgba(212, 175, 55, 0.2);
}

.wv-card.has-injury {
  border-left: 3px solid #ef4444;
}

.wv-card.is-leader {
  border-color: rgba(212, 175, 55, 0.35);
}

.wv-card.is-leader .wv-card-header {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
}

/* Card Header */
.wv-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
}

.wv-card-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.wv-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.wv-card-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary, #f0f0f0);
  display: flex;
  align-items: center;
  gap: 6px;
}

.wv-card-name .leader-crown {
  font-size: 0.9rem;
}

.wv-card-type {
  font-size: 0.8rem;
  color: var(--text-muted, #888);
}

.wv-card-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.wv-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.wv-badge-xp {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.wv-badge-cost {
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-gold, #d4af37);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.wv-badge-count {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary, #aaa);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 28px;
  text-align: center;
}

.wv-expand-icon {
  color: var(--text-muted, #888);
  font-size: 0.8rem;
  transition: transform 0.2s ease;
  margin-left: 8px;
}

.wv-card.expanded .wv-expand-icon {
  transform: rotate(180deg);
}

/* Stats Row */
.wv-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  padding: 0 16px 10px;
  font-size: 0.8rem;
  font-family: 'Courier New', monospace;
}

.wv-stat {
  padding: 3px 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-secondary, #aaa);
  white-space: nowrap;
}

.wv-stat.buffed {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
}

.wv-stat.nerfed {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

.wv-stat.armor {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.1);
}

/* Card Body (collapsible) */
.wv-card-body {
  padding: 0 16px 14px;
  display: none;
  animation: wvSlideDown 0.25s ease;
}

.wv-card.expanded .wv-card-body {
  display: block;
}

@keyframes wvSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Equipment */
.wv-equipment {
  margin-bottom: 10px;
}

.wv-field-label {
  font-size: 0.75rem;
  color: var(--text-muted, #888);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.wv-equip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.wv-equip-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text-secondary, #aaa);
  cursor: pointer;
  transition: all 0.15s ease;
}

.wv-equip-item:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.25);
  color: var(--text-primary, #f0f0f0);
}

.wv-equip-cost {
  font-size: 0.7rem;
  color: var(--color-gold, #d4af37);
  opacity: 0.7;
  margin-left: 2px;
}

.wv-equip-empty {
  font-size: 0.8rem;
  color: var(--text-muted, #666);
  font-style: italic;
}

/* Skills / Abilities Pills */
.wv-abilities {
  margin-bottom: 10px;
}

.wv-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.wv-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wv-pill:hover {
  filter: brightness(1.3);
  transform: translateY(-1px);
}

.wv-pill-skill {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
}

.wv-pill-spell {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #c4b5fd;
}

.wv-pill-mutation {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #86efac;
}

.wv-pill-sacred {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--color-gold, #d4af37);
}

.wv-pill-icon {
  font-size: 0.7rem;
}

/* Injuries */
.wv-injuries {
  margin-bottom: 10px;
}

.wv-injury-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.wv-injury-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 0.78rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

/* Special Rules */
.wv-special-rules,
.wv-field > .wv-rules-list {
  margin-bottom: 10px;
}

.wv-rules-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wv-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(139, 0, 0, 0.06);
  border: 1px solid rgba(139, 0, 0, 0.15);
  border-radius: 6px;
  font-size: 0.8rem;
  line-height: 1.4;
}

.wv-rule-name {
  font-weight: 600;
  color: var(--color-gold, #d4af37);
  white-space: nowrap;
  flex-shrink: 0;
}

.wv-rule-name::after {
  content: ':';
}

.wv-rule-desc {
  color: var(--text-secondary, #aaa);
  font-size: 0.78rem;
}

/* XP Track */
.wv-xp-track {
  margin-top: 8px;
}

.wv-xp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.wv-xp-label {
  font-size: 0.72rem;
  color: var(--text-muted, #888);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wv-xp-value {
  font-size: 0.72rem;
  color: var(--text-muted, #888);
}

.wv-xp-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.wv-xp-box {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wv-xp-box.filled {
  background: rgba(99, 102, 241, 0.4);
  border-color: rgba(99, 102, 241, 0.6);
}

.wv-xp-box.levelup {
  border-color: var(--color-gold, #d4af37);
}

.wv-xp-box.filled.levelup {
  background: var(--color-gold, #d4af37);
  border-color: var(--color-gold, #d4af37);
}

.wv-xp-box.start.filled {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.35);
}

/* Henchmen Members */
.wv-members {
  margin-top: 6px;
}

.wv-member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.wv-member-name {
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--text-muted, #888);
}

/* ===== HIRED SWORDS SECTION ===== */
.wv-card.hired-sword {
  border-color: rgba(168, 85, 247, 0.2);
}

.wv-card.hired-sword .wv-card-header {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.06), transparent);
}

.wv-badge-hired {
  background: rgba(168, 85, 247, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

/* ===== STASH SECTION ===== */
.wv-stash-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 0;
}

.wv-stash-item {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--text-secondary, #aaa);
}

/* ===== BATTLE RECORD ===== */
.wv-record-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 4px 12px;
  font-size: 0.85rem;
  padding: 8px 0;
}

.wv-record-date {
  color: var(--text-muted, #888);
  font-size: 0.8rem;
}

.wv-record-matchup {
  color: var(--text-secondary, #aaa);
}

.wv-record-result {
  font-weight: 600;
  text-align: right;
}

.wv-record-result.win { color: #4ade80; }
.wv-record-result.loss { color: #f87171; }
.wv-record-result.draw { color: #facc15; }

/* ===== EMPTY STATES ===== */
.wv-empty {
  text-align: center;
  padding: 20px;
  color: var(--text-muted, #666);
  font-style: italic;
  font-size: 0.85rem;
}

/* ===== THREAT INDICATOR ===== */
.wv-threat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.wv-threat.low {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: #4ade80;
}

.wv-threat.medium {
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.25);
  color: #facc15;
}

.wv-threat.high {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: #f87171;
}

.wv-threat.extreme {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #c4b5fd;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .wv-container {
    padding: 12px 10px 40px;
  }

  .wv-warband-name {
    font-size: 1.5rem;
  }

  .wv-overview-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .wv-header {
    padding: 16px;
  }

  .wv-stats-row {
    padding: 0 10px 8px;
  }

  .wv-card-header {
    padding: 10px 12px;
  }

  .wv-card-body {
    padding: 0 12px 12px;
  }

  .wv-xp-box {
    width: 8px;
    height: 8px;
  }

  .wv-topbar {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ===== FIELD WRAPPER ===== */
.wv-field {
  margin-bottom: 10px;
}

/* ===== FLOATING TOOLTIP ===== */
.wv-floating-tooltip {
  position: fixed;
  z-index: 30000;
  max-width: 380px;
  min-width: 220px;
  background: var(--bg-card, #252540);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: auto;
  overflow: hidden;
}

.wv-floating-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.wv-tooltip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.15), rgba(212, 175, 55, 0.08));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
}

.wv-tooltip-title {
  font-weight: 600;
  color: var(--text-primary, #f0f0f0);
  flex: 1;
}

.wv-tooltip-type {
  font-size: 0.7rem;
  color: var(--text-muted, #888);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 3px;
}

.wv-tooltip-body {
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary, #aaa);
}

.wv-tooltip-body strong {
  color: var(--color-gold, #d4af37);
}

/* ===== KEYBOARD HINT ===== */
.wv-key-hint {
  position: fixed;
  bottom: 16px;
  right: 16px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--text-muted, #888);
  pointer-events: none;
  z-index: 20001;
}

.wv-key-hint kbd {
  display: inline-block;
  padding: 1px 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.7rem;
  margin: 0 2px;
}

/* ===== PRINT SUPPORT ===== */
@media print {
  .wv-overlay {
    position: static;
    background: #fff;
    overflow: visible;
  }

  .wv-topbar,
  .wv-close-btn,
  .wv-key-hint {
    display: none;
  }

  .wv-card-body {
    display: block !important;
  }

  .wv-card {
    break-inside: avoid;
    border-color: #ccc;
  }

  .wv-warband-name,
  .wv-section-title {
    color: #000;
  }
}

/* ===================================================================
   BOUNTY INTEGRATION — WANTED Badges & Warband-Banner
   =================================================================== */

/* Warband-Level Bounty Banner */
.wv-bounty-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.15) 0%, rgba(42, 32, 32, 0.5) 50%, rgba(139, 0, 0, 0.1) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  margin-bottom: 20px;
  animation: wvBountyFade 0.5s ease-out;
}

@keyframes wvBountyFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wv-bounty-banner-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  animation: wvBountyPulse 2s ease-in-out infinite;
}

@keyframes wvBountyPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.wv-bounty-banner-text {
  flex: 1;
  min-width: 200px;
  font-size: 0.92rem;
  color: var(--text-primary, #e8e2d9);
  line-height: 1.4;
}

.wv-bounty-banner-text strong {
  color: #ef4444;
  font-family: 'Cinzel', serif;
  letter-spacing: 1.5px;
  font-size: 1rem;
}

.wv-bounty-banner-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}

.wv-bounty-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  font-size: 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.wv-bd-target {
  color: var(--color-gold, #c9a959);
  font-weight: 600;
}

.wv-bd-issuer {
  color: var(--text-muted, #888);
}

.wv-bd-reward {
  color: #4CAF50;
  font-weight: 600;
}

.wv-bounty-more {
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted, #888);
  font-style: italic;
}

/* WANTED Pill auf Hero-Cards */
.wv-wanted-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(139, 0, 0, 0.3));
  border: 1px solid rgba(220, 38, 38, 0.4);
  border-radius: 12px;
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-right: 6px;
  animation: wvWantedGlow 2.5s ease-in-out infinite;
}

@keyframes wvWantedGlow {
  0%, 100% { box-shadow: 0 0 4px rgba(220, 38, 38, 0.2); }
  50% { box-shadow: 0 0 12px rgba(220, 38, 38, 0.4), 0 0 4px rgba(212, 175, 55, 0.2); }
}

.wv-wanted-pill:hover {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.35), rgba(139, 0, 0, 0.45));
  border-color: #ef4444;
  transform: scale(1.05);
}

/* WANTED Card Highlight */
.wv-card.wv-wanted {
  border-color: rgba(220, 38, 38, 0.3) !important;
  box-shadow: inset 0 0 20px rgba(220, 38, 38, 0.05);
}

.wv-card.wv-wanted .wv-card-header {
  border-bottom-color: rgba(220, 38, 38, 0.2);
}

/* Bounty Tooltip (inside Viewer Overlay) */
.wv-bounty-tooltip {
  position: fixed;
  z-index: 30000;
  background: #1a1a1a;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  padding: 0;
  min-width: 240px;
  max-width: 360px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.wv-bt-header {
  padding: 10px 14px;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-gold, #c9a959);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(139, 0, 0, 0.1);
  border-radius: 10px 10px 0 0;
}

.wv-bt-list {
  padding: 8px 14px;
}

.wv-bt-item {
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--text-primary, #e8e2d9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wv-bt-item:last-child {
  border-bottom: none;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .wv-bounty-banner {
    flex-direction: column;
    text-align: center;
    padding: 12px;
  }
  .wv-bounty-banner-details {
    justify-content: center;
  }
  .wv-bounty-detail {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
}
