/* addusr.css — favorites UI pieces not covered by custom-style.css (.tool-card-hig) */

/* ===== My Favorites: Add button ===== */
.user-add-btn {
  vertical-align: middle;
}

/* ===== Emoji picker (modal) ===== */
.emoji-picker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.emoji-opt {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  user-select: none;
}

.emoji-opt.selected {
  border-color: rgba(0, 123, 255, 0.55);
  background: rgba(0, 123, 255, 0.08);
}

/* ===== Toast ===== */
.user-toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  z-index: 2000;
  transition: transform 0.25s ease;
  pointer-events: none;
  white-space: nowrap;
}

.user-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ===== Private favorites tiles (addusr.js buildCard): delete control + emoji logo ===== */
.url-body--tool-hig.user-site-card {
  position: relative;
}

.url-body--tool-hig.user-site-card .user-delete {
  position: absolute;
  top: 14px;
  right: 14px;
  left: auto;
  z-index: 4;
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #9ca3af;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.url-body--tool-hig.user-site-card .user-delete:hover {
  color: #ef4444;
  background: #fff;
}

.user-site-card .tool-card-hig-logo .user-emoji {
  font-size: 34px;
  line-height: 1;
}

.io-black-mode .url-body--tool-hig.user-site-card .user-delete {
  background: rgba(44, 44, 46, 0.95);
  color: rgba(235, 235, 245, 0.55);
}

.io-black-mode .url-body--tool-hig.user-site-card .user-delete:hover {
  color: #fca5a5;
}

/* ===== Nav login ===== */
.nav-login-trigger {
  white-space: nowrap;
}
.nav-login-trigger:hover {
  text-decoration: none;
}
