.tsa-snapshot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.tsa-snapshot-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tsa-snapshot-button {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: #f3f4f6;
  padding: 6px 10px;
  cursor: pointer;
  color: #111827;
}

.tsa-snapshot-button:hover {
  background: #e5e7eb;
}

.tsa-snapshot-button:active {
  background: #d1d5db;
}

.tsa-snapshot-button:disabled {
  opacity: 0.6;
  cursor: default;
}

.tsa-snapshot-status {
  margin-left: auto;
  font-size: 13px;
}

.tsa-snapshot-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.tsa-snapshot-item {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tsa-snapshot-thumb {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f7f7f7;
}

.tsa-snapshot-meta {
  font-size: 12px;
  opacity: 0.85;
  word-break: break-all;
}

.tsa-snapshot-trash {
  border-color: rgba(185, 28, 28, 0.35);
  background: #fee2e2;
  color: #7f1d1d;
}
