@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('libs/fonts/chakra-petch-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('libs/fonts/chakra-petch-latin-700-normal.woff2') format('woff2');
}

:root {
  --bg-deep: #07090e;
  --bg-card: rgba(13, 17, 28, 0.88);
  --cyan-neon: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, 0.35);
  --crimson-neon: #ff2a5f;
  --crimson-glow: rgba(255, 42, 95, 0.35);
  --gold-accent: #ffd700;
  --gold-glow: rgba(255, 215, 0, 0.4);
  --text-primary: #ffffff;
  --text-muted: #8e9bb0;
  --border-subtle: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: transparent;
  color: var(--text-primary);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

#stage-wrapper {
  width: 1920px;
  height: 1080px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 60px;
  transform-origin: center center;
}

/* Header */
.battle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 15, 25, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px 28px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  background: var(--gold-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold-accent);
  animation: pulse-dot 2s infinite;
}

.brand-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.match-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px 20px;
}

.bet-pill .pill-value {
  color: var(--cyan-neon);
}

.prize-pill .pill-value {
  color: var(--gold-accent);
}

.pill-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  font-weight: 600;
}

.pill-value {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 8px 18px;
  border-radius: 30px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #00e676;
}

.status-pulse {
  width: 8px;
  height: 8px;
  background: #00e676;
  border-radius: 50%;
  box-shadow: 0 0 8px #00e676;
}

/* Battle Arena */
.battle-arena {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex: 1;
  margin: 30px 0;
  position: relative;
}

@property --electric-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* Player Cards */
.player-card {
  width: 620px;
  height: 720px;
  background: var(--bg-card);
  border-radius: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 32px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28), box-shadow 0.3s ease;
}

/* React-Bits ElectricBorder energy ring around Reigning King of the Hill */
.electric-border-ring {
  position: absolute;
  inset: -4px;
  border-radius: 26px;
  padding: 4px;
  background: conic-gradient(from var(--electric-angle), #ffd700, #00e5ff, #fff4b8, #ff9100, #ffd700);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  z-index: 25;
  transition: opacity 0.3s ease;
}

.player-card.koth-king-active .electric-border-ring {
  opacity: 1;
  animation: electricSpin 1.8s linear infinite;
}

.player-card.koth-king-active {
  box-shadow: 0 0 55px rgba(255, 215, 0, 0.55), inset 0 0 28px rgba(255, 215, 0, 0.14) !important;
}

@keyframes electricSpin {
  to { --electric-angle: 360deg; }
}

.corner-cyan {
  border: 2px solid var(--cyan-neon);
  box-shadow: 0 0 30px var(--cyan-glow), inset 0 0 20px rgba(0, 229, 255, 0.05);
}

.corner-crimson {
  border: 2px solid var(--crimson-neon);
  box-shadow: 0 0 30px var(--crimson-glow), inset 0 0 20px rgba(255, 42, 95, 0.05);
}

.corner-tag {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 5;
}

.mode-pill-badge {
  position: absolute;
  top: 18px;
  right: 170px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.45);
  color: var(--gold-accent);
  z-index: 5;
}

/* King of the Hill Throne Streak Meter */
.koth-throne-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.18), rgba(255, 145, 0, 0.08));
  border: 1px solid rgba(255, 215, 0, 0.5);
  border-radius: 12px;
  padding: 6px 12px;
  margin-top: 14px;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.25);
}

.koth-crown-label {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-accent);
  letter-spacing: 1px;
}

.koth-steps-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.koth-step {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
}

.koth-step.active {
  background: var(--gold-accent);
  color: #05080e;
  border-color: #fff;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
}

.corner-cyan .corner-tag {
  color: var(--cyan-neon);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.corner-crimson .corner-tag {
  color: var(--crimson-neon);
  border: 1px solid rgba(255, 42, 95, 0.3);
}

/* Player Header */
.player-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.avatar-box {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
}

.corner-cyan .avatar-box {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 15px var(--cyan-glow);
}

.corner-crimson .avatar-box {
  border-color: var(--crimson-neon);
  box-shadow: 0 0 15px var(--crimson-glow);
}

.player-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.player-name {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  max-width: 380px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-status {
  font-size: 14px;
  color: var(--text-muted);
}

/* Slot Showcase with HoloCard & ReflectiveCard Foil Sheen (Exact 3:4 Portrait Slot Cover Ratio) */
.slot-display {
  width: 236px;
  height: 310px;
  aspect-ratio: 180 / 236;
  margin: 2px auto;
  background: rgba(5, 7, 12, 0.78);
  border-radius: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.corner-cyan .slot-display {
  border-color: rgba(0, 229, 255, 0.42);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 18px rgba(0, 229, 255, 0.16);
}

.corner-crimson .slot-display {
  border-color: rgba(255, 42, 95, 0.42);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 18px rgba(255, 42, 95, 0.16);
}

.slot-cover {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.holo-foil-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      transparent 20%,
      rgba(0, 229, 255, 0.14) 36%,
      rgba(255, 215, 0, 0.18) 48%,
      rgba(255, 42, 95, 0.14) 60%,
      transparent 76%
    );
  background-size: 240% 240%;
  mix-blend-mode: screen;
  animation: holoFoilSweep 6.5s ease-in-out infinite;
  z-index: 3;
}

@keyframes holoFoilSweep {
  0%, 100% { background-position: 0% 50%; opacity: 0.55; }
  50%      { background-position: 100% 50%; opacity: 0.9; }
}

.cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
}

.cover-icon {
  font-size: 42px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

.cover-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.8px;
}

.cover-provider {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.slot-real-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #070a12;
  z-index: 1;
}

.slot-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 10px 10px 7px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 14, 0.84) 48%, rgba(5, 8, 14, 0.96) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  text-align: center;
}

.slot-caption-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.slot-caption-provider {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

/* Score Gauge + WAAPI Secondary Ghost Impact Bar */
.score-gauge {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.gauge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.gauge-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1.5px;
}

.gauge-payout {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-accent);
}

.gauge-value {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 46px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 12px;
}

.mult-x {
  font-size: 28px;
  color: var(--gold-accent);
  margin-left: 4px;
}

.gauge-meter {
  position: relative;
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.ghost-meter-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.35), rgba(255, 255, 255, 0.75));
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.65);
  z-index: 1;
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform, opacity;
}

.meter-bar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  z-index: 2;
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.corner-cyan .meter-bar {
  background: linear-gradient(90deg, #0091ea, var(--cyan-neon));
  box-shadow: 0 0 10px var(--cyan-neon);
}

.corner-crimson .meter-bar {
  background: linear-gradient(90deg, #c2185b, var(--crimson-neon));
  box-shadow: 0 0 10px var(--crimson-neon);
}

/* Center VS */
.vs-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 10;
}

.vs-mode-pill {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--cyan-neon);
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.4);
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
}

.vs-koth-pill {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold-accent);
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.vs-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a233a 0%, #080c14 100%);
  border: 3px solid var(--gold-accent);
  box-shadow: 0 0 40px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: pulse-vs 2.5s infinite ease-in-out;
}

.vs-text {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold-accent);
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.vs-subtext {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-accent);
  background: rgba(255, 215, 0, 0.1);
  padding: 4px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Winner Ribbon */
.winner-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 215, 0, 0.15);
  border: 4px solid var(--gold-accent);
  border-radius: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(4px);
  z-index: 20;
  animation: winner-glow 1.5s infinite alternate;
}

.winner-ribbon.active {
  display: flex;
}

.ribbon-icon {
  font-size: 72px;
  animation: bounce-crown 1s infinite alternate;
}

.ribbon-text {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--gold-accent);
  letter-spacing: 4px;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.9);
}

/* Footer */
.battle-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 15, 25, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px 28px;
  backdrop-filter: blur(12px);
}

.footer-hint {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hint-cmd {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-accent);
  background: rgba(255, 215, 0, 0.12);
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.hint-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-fairness {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.fairness-dot {
  width: 6px;
  height: 6px;
  background: #00e676;
  border-radius: 50%;
}

/* Victory Celebration Modal */
.victory-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 14, 0.85);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.victory-modal.active {
  display: flex;
}

.modal-card {
  background: radial-gradient(circle, #1a233a 0%, #0d121f 100%);
  border: 3px solid var(--gold-accent);
  border-radius: 28px;
  padding: 60px 80px;
  text-align: center;
  box-shadow: 0 0 60px var(--gold-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transform: scale(0.9);
  animation: modal-enter 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

.modal-chips-row {
  font-size: 54px;
  letter-spacing: 12px;
  animation: bounce-crown 1.2s ease-in-out infinite alternate;
}

.modal-subtitle {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 20px;
  letter-spacing: 6px;
  color: var(--gold-accent);
  font-weight: 700;
  text-shadow: 0 0 12px var(--gold-glow);
}

.modal-winner {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 72px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 35px rgba(255, 215, 0, 0.8), 0 0 60px rgba(0, 229, 255, 0.4);
}

.modal-stat {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 28px;
  color: var(--cyan-neon);
  font-weight: 700;
}

.modal-slot-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 22px;
  color: var(--gold-accent);
  background: rgba(255, 215, 0, 0.12);
  padding: 8px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  letter-spacing: 1px;
}

/* Animations */
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

@keyframes pulse-vs {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px var(--gold-glow); }
  50% { transform: scale(1.06); box-shadow: 0 0 60px var(--gold-accent); }
}

@keyframes winner-glow {
  0% { box-shadow: inset 0 0 20px var(--gold-glow); }
  100% { box-shadow: inset 0 0 50px var(--gold-accent); }
}

@keyframes bounce-crown {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

@keyframes modal-enter {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ============================================================================
 * SPINS PROFIT / LOSS & DYNAMIC TELEMETRY GAUGE STATES
 * ============================================================================ */
.gauge-value.pnl-positive {
  color: #53fc18;
  text-shadow: 0 0 22px rgba(83, 252, 24, 0.55);
}

.gauge-value.pnl-negative {
  color: #ff2a5f;
  text-shadow: 0 0 22px rgba(255, 42, 95, 0.55);
}

.gauge-value.pnl-neutral {
  color: #f8fafc;
}

/* ============================================================================
 * 🔫 WANTED QUICK-DRAW (VS OUTLAW DUEL PRE-CELEBRATION STAGE — 60 FPS GPU)
 * ============================================================================ */
.wanted-quickdraw-stage {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 110px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transition: opacity 0.22s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.22s;
  will-change: transform, opacity;
}

.wanted-quickdraw-stage.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.wqd-backdrop-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(28, 12, 8, 0.84) 0%, rgba(7, 8, 12, 0.96) 78%),
    repeating-linear-gradient(-45deg, rgba(255, 184, 0, 0.03) 0px, rgba(255, 184, 0, 0.03) 14px, transparent 14px, transparent 28px);
  border-top: 4px solid #ffd700;
  border-bottom: 4px solid #ff2a5f;
}

.wqd-diagonal-slash {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 50%;
  width: 6px;
  background: linear-gradient(180deg, #00f2ff 0%, #ffd700 50%, #ff2a5f 100%);
  box-shadow: 0 0 32px #ffd700;
  transform: translateX(-50%) rotate(14deg);
  z-index: 2;
}

.wqd-outlaw-panel {
  position: relative;
  z-index: 4;
  width: 620px;
  background: linear-gradient(160deg, rgba(16, 20, 32, 0.96) 0%, rgba(9, 11, 18, 0.98) 100%);
  border: 2px solid rgba(0, 242, 255, 0.48);
  border-radius: 22px;
  padding: 34px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), inset 0 0 32px rgba(0, 242, 255, 0.12);
  transform: translateX(-80px);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.28s ease, filter 0.28s ease;
  will-change: transform, opacity;
}

.wqd-outlaw-right {
  border-color: rgba(255, 42, 95, 0.52);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), inset 0 0 32px rgba(255, 42, 95, 0.14);
  transform: translateX(80px);
}

.wanted-quickdraw-stage.active .wqd-outlaw-panel {
  transform: translateX(0);
  opacity: 1;
}

.wqd-outlaw-panel.wqd-victor {
  border-color: #ffd700;
  box-shadow: 0 0 55px rgba(255, 215, 0, 0.65), inset 0 0 40px rgba(83, 252, 24, 0.22);
  transform: scale(1.05);
}

.wqd-outlaw-panel.wqd-outgunned {
  opacity: 0.42;
  filter: grayscale(0.85);
  transform: scale(0.95);
}

.wqd-corner-badge {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #00f2ff;
  background: rgba(0, 242, 255, 0.12);
  border: 1px solid rgba(0, 242, 255, 0.4);
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.wqd-badge-red {
  color: #ff2a5f;
  background: rgba(255, 42, 95, 0.14);
  border-color: rgba(255, 42, 95, 0.45);
}

.wqd-gunfighter-silhouette {
  position: relative;
  width: 195px;
  height: 195px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 10px;
}

.wqd-outlaw-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.75));
}

.wqd-muzzle-flash {
  fill: #ffd700;
  opacity: 0;
  transform-origin: center;
  transform: scale(0.2);
}

.wqd-muzzle-flash.firing {
  animation: wqd-flash-pop 0.34s ease-out forwards;
}

.wqd-bullet-hole {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd700 0%, #ff2a5f 42%, #05070b 65%, transparent 72%);
  box-shadow: 0 0 28px #ffd700;
  opacity: 0;
  transform: scale(0);
}

.wqd-bullet-hole.impact {
  animation: wqd-bullet-slam 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

.wqd-player-name {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.wqd-slot-name {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 16px;
}

.wqd-metric-stamp {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 56px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #ffd700;
  text-shadow: 0 0 28px rgba(255, 215, 0, 0.65);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 14px;
  padding: 10px 28px;
  min-width: 280px;
  margin-bottom: 14px;
}

.wqd-metric-stamp.pnl-positive {
  color: #53fc18;
  border-color: rgba(83, 252, 24, 0.55);
  text-shadow: 0 0 28px rgba(83, 252, 24, 0.65);
}

.wqd-metric-stamp.pnl-negative {
  color: #ff2a5f;
  border-color: rgba(255, 42, 95, 0.55);
  text-shadow: 0 0 28px rgba(255, 42, 95, 0.65);
}

.wqd-status-tag {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 3px;
  padding: 6px 20px;
  border-radius: 8px;
  background: rgba(255, 215, 0, 0.14);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.wqd-victor .wqd-status-tag {
  background: #53fc18;
  color: #041208;
  border-color: #53fc18;
  box-shadow: 0 0 22px rgba(83, 252, 24, 0.7);
}

.wqd-outgunned .wqd-status-tag {
  background: rgba(255, 42, 95, 0.2);
  color: #ff2a5f;
  border-color: rgba(255, 42, 95, 0.45);
}

/* Center Wanted VS Crest */
.wqd-vs-emblem {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wqd-vs-shield {
  width: 250px;
  height: 280px;
  background: linear-gradient(180deg, #2b1208 0%, #120604 100%);
  border: 4px solid #ffd700;
  border-radius: 26px;
  box-shadow: 0 0 65px rgba(255, 215, 0, 0.75), inset 0 0 35px rgba(255, 42, 95, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transform: scale(0.5);
  animation: wqd-vs-slam 0.42s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

.wqd-vs-top-tag,
.wqd-vs-bottom-tag {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #ffd700;
}

.wqd-vs-letters {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 112px;
  font-weight: 900;
  line-height: 0.92;
  background: linear-gradient(180deg, #fffbeb 0%, #ffd700 48%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.9));
}

@keyframes wqd-vs-slam {
  0% { transform: scale(2.4) rotate(-8deg); opacity: 0; }
  70% { transform: scale(0.94) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes wqd-flash-pop {
  0% { opacity: 1; transform: scale(0.4); }
  45% { opacity: 1; transform: scale(2.6); }
  100% { opacity: 0; transform: scale(3.2); }
}

@keyframes wqd-bullet-slam {
  0% { opacity: 0; transform: scale(2.5); }
  60% { opacity: 1; transform: scale(0.9); }
  100% { opacity: 0.92; transform: scale(1); }
}
