/* LITTLESITE · PARTS — notice's look: the short notice above the taskbar
   (notice.js shows it). */
/* A short notice above the taskbar (DesktopManager.notify) */
#notice {
  position: fixed;
  right: 16px;
  bottom: calc(var(--taskbar-height) + 12px);
  z-index: 100001;
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  background: var(--surface);
  border: 1px solid var(--success);
  color: var(--text-primary);
  font-size: 13px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#notice.shown { opacity: 1; transform: none; }
#notice.error { border-color: var(--error); }
.taskbar-top #notice { bottom: 16px; }

/* A game's toasts (notice.toast), stacked at the top right of the game's
   page: dark cards, white words; good, highlight and error in their colour.
   A game may style kinds of its own. */
.notifications {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 3000;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  max-width: min(320px, calc(100vw - 2rem));
}
.notification {
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  font-size: 0.95rem;
  line-height: 1.35;
  animation: notice-in 0.3s;
}
.notification.good { background: #1e8449; }
.notification.highlight { background: linear-gradient(135deg, #a0520d, #873600); }
.notification.error { background: #a93226; }
.notif-inner { display: flex; align-items: center; gap: 0.6rem; }
.notif-icon { font-size: 1.5rem; }
.notif-title { font-weight: bold; }
.notif-desc { font-size: 0.85rem; }
@keyframes notice-in {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
