:root {
  color-scheme: dark;
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  height: 100%;
  overflow: hidden;
  font-family: 'Rock 3D', sans-serif;
  background: #f2f0ff;
  color: #111;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  width: min(100%, 1080px);
}

.header-row h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
}

.controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.controls select,
.controls button {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  min-height: 40px;
  padding: 0.65rem 0.95rem;
  border-radius: 0.85rem;
  cursor: pointer;
  touch-action: manipulation;
}

.controls select {
  min-width: 110px;
  background: #fff;
  color: #111;
}

.controls button {
  background: #2f2b75;
  color: #fff;
}

.controls button:active,
.controls select:active {
  transform: scale(0.98);
}

#trash-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-content: center;
  align-items: center;
  width: min(100%, 1080px);
  max-height: calc(100vh - 9.5rem);
  overflow: hidden;
  position: relative;
}

.trash {
  width: clamp(140px, 28vw, 200px);
  height: auto;
  touch-action: manipulation;
  cursor: pointer;
  transition: transform 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.trash:active,
.trash:hover {
  transform: scale(1.03);
}
