/* Dulce Bonito — glass flying notifications */
.dulcebonito-notify-host {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
  max-width: min(22rem, 90vw);
}

.dulcebonito-notify {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(201, 162, 126, 0.12));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #f5f0fa;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  transform: translateX(120%) scale(0.92);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.dulcebonito-notify.is-in {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.dulcebonito-notify.is-out {
  transform: translateX(110%) scale(0.95);
  opacity: 0;
}

.dulcebonito-notify--success {
  border-color: rgba(52, 211, 153, 0.35);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(201, 162, 126, 0.1));
}

.dulcebonito-notify--error {
  border-color: rgba(248, 113, 113, 0.4);
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.2), rgba(190, 74, 111, 0.12));
}

.dulcebonito-notify__icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
}

html[data-theme="light"] .dulcebonito-notify {
  color: #1a1024;
  border-color: rgba(26, 16, 36, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(246, 242, 250, 0.9));
  box-shadow: 0 12px 32px rgba(26, 16, 36, 0.12);
}

/* Right-click heart (max ~¼ inch) */
.dulcebonito-rc-heart {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 2px 6px rgba(190, 74, 111, 0.45));
}

.dulcebonito-rc-heart.is-pop {
  transform: translate(-50%, -50%) scale(1);
}

.dulcebonito-rc-heart__broken {
  display: none;
  font-size: 22px;
}

.dulcebonito-rc-heart.is-break .dulcebonito-rc-heart__whole {
  display: none;
}

.dulcebonito-rc-heart.is-break .dulcebonito-rc-heart__broken {
  display: block;
  animation: dulcebonito-heart-crack 0.35s ease;
}

@keyframes dulcebonito-heart-crack {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
  100% { transform: scale(0.6); opacity: 0; }
}

.dulcebonito-topbar-account {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.dulcebonito-topbar-account__hi {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dulcebonito-account-link__text {
  font-size: 0.82rem;
  font-weight: 600;
}

@media (min-width: 1101px) {
  .dulcebonito-account-link svg {
    display: none;
  }
}

@media (max-width: 1100px) {
  .dulcebonito-account-link {
    min-width: 2.35rem;
    min-height: 2.35rem;
    padding: 0.45rem;
  }

  .dulcebonito-account-link__text {
    display: none;
  }
}
