/* desktop.css — wallpaper, desktop icons, marquee */

#wallpaper {
  position: absolute; inset: 0;
  overflow: hidden;
  background: #0b1e3d;
  z-index: 0;
}
.wp-blob {
  position: absolute;
  filter: blur(84px) saturate(1.3);
  opacity: 0.9;
  will-change: transform;
  border-radius: 50%;
  pointer-events: none;
}

.desktop-icon-layer {
  position: absolute; inset: 25px 0 96px 0;
  z-index: 1;
}
.desk-icon {
  position: absolute;
  width: 82px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 4px 2px 5px;
  border-radius: 7px;
  cursor: default;
}
.desk-icon-img { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35)); }
.desk-icon-img svg { width: 100%; height: 100%; }
.desk-icon-label {
  font-size: 12px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  text-align: center;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1.25;
  max-width: 80px;
  overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  word-break: break-word;
}
.desk-icon.selected .desk-icon-label {
  background: var(--accent);
  text-shadow: none;
}
.desk-icon.dragging { opacity: 0.75; z-index: 50; }
.desk-icon.renaming { z-index: 60; }
.desk-rename {
  width: 78px;
  font-size: 12px;
  text-align: center;
  border-radius: 4px;
  border: 1.5px solid var(--accent);
  padding: 1px 3px;
  outline: none;
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1f;
}
.desk-rename.shake { animation: rename-shake 0.28s ease; }
@keyframes rename-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.marquee {
  position: absolute;
  border: 0.5px solid rgba(255, 255, 255, 0.5);
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 2px;
  z-index: 40;
  pointer-events: none;
}

/* trash window bits */
.trash-body { background: var(--window-bg); }
.trash-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 0.5px solid var(--sep);
}
.trash-count { font-size: 12px; color: var(--text-secondary); }
.trash-list { flex: 1; padding: 6px 10px; }
.trash-row {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 8px; border-radius: 6px; font-size: 12.5px;
}
.trash-row:hover { background: var(--list-hover); }
.trash-icon { width: 22px; height: 18px; flex: 0 0 22px; }
.trash-icon svg { width: 100%; height: 100%; }
.trash-name { flex: 1; }
.trash-kind { color: var(--text-secondary); width: 130px; }
.trash-size { color: var(--text-secondary); width: 70px; text-align: right; }
.trash-restore { color: var(--accent); font-size: 12px; padding: 2px 8px; border-radius: 5px; }
.trash-restore:hover { background: var(--fill); }
.trash-empty { text-align: center; color: var(--text-tertiary); padding: 40px 0; font-size: 15px; }
