/* Trader hub entry dialog (Fight / Leave) — must sit above Svelte HUD shell (z-index 300) */
#trader-dialog {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  pointer-events: auto;
  touch-action: manipulation;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

#trader-dialog .box {
  width: min(420px, calc(100vw - 32px));
  padding: 24px 22px;
  border-radius: 14px;
  border: 2px solid #c9a227;
  background: linear-gradient(165deg, #161a24 0%, #0a0e16 100%);
  box-shadow: 0 0 40px rgba(201, 162, 39, 0.35);
  color: #e0e6ed;
  text-align: center;
}

#trader-dialog h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: #ffd700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
}

#trader-dialog p {
  margin: 0 0 18px;
  color: #8a99a8;
  font-size: 0.95rem;
  line-height: 1.45;
}

#trader-dialog .row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

#trader-dialog .row button {
  min-width: 120px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.45);
  background: rgba(255, 215, 0, 0.12);
  color: #ffd700;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

#trader-dialog .row button:hover {
  background: #ffd700;
  color: #12151c;
}

#trader-dialog #trader-dialog-no {
  border-color: rgba(138, 153, 168, 0.45);
  background: rgba(138, 153, 168, 0.1);
  color: #c9d4e0;
}

#trader-dialog #trader-dialog-no:hover {
  background: rgba(138, 153, 168, 0.25);
  color: #fff;
  border-color: #c9d4e0;
}
