/* Desktop icons + selection */
#desktop-icons { z-index: 1; }
.desk-icon {
  position: absolute;
  width: 92px;
  padding: 6px 4px 5px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border-radius: var(--r-item);
  border: 1px solid transparent;
}
.desk-icon .di-img { width: 52px; height: 52px; display: grid; place-items: center; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); }
.desk-icon .di-label {
  max-width: 88px;
  font-size: var(--fs-small);
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .85), 0 0 5px rgba(0, 0, 0, .55);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  border-radius: 3px;
  padding: 1px 4px;
}
.desk-icon:hover { background: rgba(255, 255, 255, .12); }
.desk-icon.selected { background: var(--accent-tint); border-color: rgba(255, 255, 255, .35); }
.desk-icon.selected .di-label { background: var(--accent); text-shadow: none; }
.desk-icon.dragging { opacity: .75; z-index: 10; }

/* dark surfaces behind desktop text when wallpaper is light */
#wallpaper.light-wallpaper ~ #desktop-icons .desk-icon .di-label {
  color: #fff;
}
