.inventory-removal-dialog {
  margin: auto;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  box-sizing: border-box;
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--border, #526070);
  border-radius: 16px;
  background: var(--inv-surface, var(--bg-card, #fff));
  color: var(--throne-text-primary, var(--text, #0f172a));
  box-shadow: 0 20px 70px #0006;
}
.inventory-removal-dialog::backdrop { background: #0009; }
.inventory-removal-dialog h2 { margin: 0 0 16px; font-size: 1.25rem; }
.inventory-removal-dialog p { line-height: 1.5; overflow-wrap: anywhere; }
.inventory-removal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.inventory-removal-actions button { min-height: 44px; padding: 10px 14px; border: 1px solid var(--border, #526070); border-radius: 8px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.inventory-removal-actions button.inventory-removal-danger { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.inventory-removal-actions button:disabled { opacity: .55; cursor: default; }
.inventory-removal-actions button:focus-visible { outline: 3px solid var(--accent, #60a5fa); outline-offset: 3px; }
.inventory-removal-dialog [hidden] { display: none !important; }
#inventoryRemovalError { padding: 12px; border: 1px solid #dc2626; border-radius: 8px; }
@media (max-width: 480px) {
  .inventory-removal-dialog { padding: 18px; }
  .inventory-removal-actions { flex-direction: column; }
  .inventory-removal-actions button { width: 100%; }
}
