/* ============ welcome popup ============
   A small "corner toast-window" that orients first-time visitors and points at
   the demo. Standalone (see index.html) — same glass recipe as .window, but its
   own positioning + entrance so it can't slip behind the dock. */
.welcome-pop {
  position: fixed; z-index: 65; right: 24px; bottom: 22px;
  width: min(300px, calc(100vw - 32px));
  border-radius: var(--win-r);
  background: linear-gradient(rgba(255,255,255,.045), rgba(255,255,255,.01)), rgba(24, 28, 39, .66);
  -webkit-backdrop-filter: blur(34px) saturate(1.7);
  backdrop-filter: blur(34px) saturate(1.7);
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 34px 80px -20px rgba(2, 6, 16, .72), inset 0 1px 0 rgba(255,255,255,.09);
  overflow: hidden;
  opacity: 0; transform: translateY(14px) scale(.96); pointer-events: none;
  transition: opacity .32s ease, transform .32s cubic-bezier(.2,.8,.3,1);
}
@supports not (backdrop-filter: blur(1px)) { .welcome-pop { background: rgba(24, 28, 39, .97); } }
.welcome-pop.show { opacity: 1; transform: none; pointer-events: auto; }

.welcome-bar {
  display: flex; align-items: center;
  height: 38px; padding: 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.028);
  user-select: none; -webkit-user-select: none;
}
.welcome-tag {
  margin-left: 10px;
  font-size: 12.5px; font-weight: 600; color: var(--frost-70);
}
.welcome-close { cursor: pointer; border: 0; padding: 0; }

.welcome-body { padding: 16px 18px 18px; }
.welcome-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(160deg, var(--wall-crest), var(--accent));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.welcome-icon svg { width: 19px; height: 19px; color: #fff; fill: currentColor; }
.welcome-lead { margin-top: 10px; font-size: 14px; font-weight: 650; color: var(--frost); line-height: 1.35; }
.welcome-sub { margin-top: 6px; font-size: 12px; color: var(--frost-50); line-height: 1.5; }
.welcome-run { width: 100%; justify-content: center; margin-top: 14px; }
.welcome-hint {
  display: flex; align-items: center; gap: 5px;
  margin-top: 11px; font-size: 11px; color: var(--frost-35);
}
.welcome-hint svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }

/* small screens: lift above the dock, stay off the right edge strip */
@media (max-width: 900px) {
  .welcome-pop { right: 12px; bottom: 84px; width: min(320px, calc(100vw - 24px)); }
}
