.tool-hero--despawn { background: radial-gradient(ellipse at 82% 45%, #535239, transparent 58%), #1a2722; }
.despawn-tool { display: grid; gap: .9rem; }
.despawn-panel {
  min-width: 0;
  padding: clamp(.85rem, 3vw, 1.5rem);
  border: 1px solid #4d5d4d;
  border-radius: .85rem;
  background: #1b2820;
}
.despawn-panel h2 { margin: 0 0 .7rem; font-size: clamp(1.45rem, 5vw, 2.15rem); }
.despawn-panel h3 { margin: .75rem 0 .3rem; }
.despawn-panel p, .despawn-panel summary { color: #d2ddce; }
.despawn-panel .despawn-scan-hint { font-size: .9rem; margin: .45rem 0; }
.despawn-panel details { margin: .75rem 0; }
.despawn-panel summary { cursor: pointer; min-height: 36px; }
.despawn-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: .65rem; }
.despawn-fields label, [data-despawn-search-controls] label { display: grid; align-content: space-between; gap: .3rem; min-width: 0; }
.despawn-panel input, .despawn-panel select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .5rem .64rem;
  border: 1px solid #687e68;
  border-radius: .5rem;
  background: #152118;
  color: #f3f6e9;
  font: inherit;
}
.despawn-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
.despawn-actions a, .despawn-panel button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .68rem;
  border: 1px solid #576e58;
  border-radius: .5rem;
  background: #2a3a2d;
  color: #eff4e6;
  font: inherit;
}
.despawn-panel button { cursor: pointer; }
.despawn-panel button:disabled { opacity: .65; cursor: default; }
.despawn-panel [aria-pressed="true"] { border-color: #c4d891; background: #405732; }
.despawn-panel [hidden], .despawn-panel [role="status"]:empty, .despawn-list:empty { display: none; }
.despawn-panel [role="status"] { color: #ffdfaa; }
.despawn-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: .55rem; margin: .65rem 0 0; }
.despawn-metrics div { padding: .6rem .72rem; border: 1px solid #4d624f; border-radius: .55rem; background: #26382a; }
.despawn-metrics dt { color: #cddbc7; }
.despawn-metrics dd { margin: .15rem 0 0; }
.despawn-metrics output { color: #e1efb9; font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.despawn-metrics .despawn-late { color: #ffcb95; }
.despawn-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 315px), 1fr)); gap: .45rem; margin: .55rem 0; padding: 0; }
.despawn-list li { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center;
  gap: .48rem; padding: .45rem .55rem; border: 1px solid #4c5e50; border-radius: .5rem; background: #233328; }
.despawn-list a { display: flex; align-items: center; gap: .38rem; min-height: 44px; overflow-wrap: anywhere; }
.despawn-list img { flex: none; }
.despawn-list strong { color: #e0efb9; white-space: nowrap; }
.despawn-tool :focus-visible { outline: 2px solid #e2edb6; outline-offset: 2px; }
@media (max-width: 430px) {
  .despawn-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .despawn-list button { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .despawn-panel button, .despawn-actions a { transition: background-color .16s ease, border-color .16s ease; }
  .despawn-panel button:hover:not(:disabled), .despawn-actions a:hover { background: #3c5338; border-color: #b5c984; }
}
