.robots__deco--draggable {
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.drag-clone {
  position: fixed;
  z-index: 99999;
  pointer-events: none;
  will-change: transform, left, top;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.drag-clone--returning {
  transition: left 0.3s ease, top 0.3s ease;
}

.drag-clone--dropping {
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
}

.robots__deco-wrap--hidden {
  visibility: hidden !important;
}

.poster__trash--drag-over .poster__trash-img--closed {
  opacity: 0;
}

.poster__trash--drag-over .poster__trash-img--open {
  opacity: 1;
}

@keyframes trashBounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.18); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.poster__trash--bounce {
  animation: trashBounce 0.35s ease;
}

.trash-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.trash-popup-overlay--visible {
  opacity: 1;
  visibility: visible;
}

.trash-popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 49.31vw;
  transform: scale(0.85);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.trash-popup-overlay--visible .trash-popup {
  transform: scale(1);
}

.trash-popup__card {
  position: relative;
  width: 100%;
  aspect-ratio: 710 / 307;
}

.trash-popup__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.trash-popup__text {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 7.71vw;
  text-align: center;
  color: var(--color-black);
  line-height: 0.55;
  padding: 0 8%;
}

.trash-popup__btn {
  position: relative;
  width: 18.47vw;
  aspect-ratio: 266 / 97;
  margin-top: 3.54vw;
  z-index: 1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.trash-popup__btn:active {
  transform: scale(0.96);
}

.trash-popup__btn-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.trash-popup__btn-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 6.67vw;
  color: var(--color-white);
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .trash-popup {
    width: 90vw;
  }

  .trash-popup__text {
    font-size: 15vw;
    line-height: 0.8;
  }

  .trash-popup__btn {
    width: 55vw;
    margin-top: 4vw;
  }

  .trash-popup__btn-text {
    font-size: 20vw;
  }
}
