/* Welcome part (): the one-time card over the first screen. Colours, corners and fonts all
   come from the shell's variables, so every design profile and dark mode carry over. */
.welcome-card {
  position: absolute; left: 10px; right: 10px; top: 10px;
  z-index: 4;
  display: flex; align-items: flex-start; gap: 4px;
  padding: 14px 6px 14px 16px;
  background: var(--surface); color: var(--text);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius, 14px);
  box-shadow: var(--shadow);
  animation: welcome-in .28s ease-out both;
}
.welcome-text { flex: 1; min-width: 0; display: grid; gap: 4px; }
.welcome-hi { font-family: var(--font-head, inherit); font-size: 20px; font-weight: 700; line-height: 1.2; }
.welcome-line { font-size: 16px; line-height: 1.35; }
.welcome-note { margin-top: 2px; }
.welcome-go { justify-self: start; margin-top: 8px; min-height: var(--tap, 48px); }
.welcome-x {
  width: 40px; height: 40px; margin: -6px 0 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted);
  display: inline-grid; place-items: center; flex: none;
}
.welcome-x:active { background: var(--surface-2); }
.welcome-x svg.ico { width: 20px; height: 20px; }
/* one card at a time: the shell's install card waits until the welcome has gone */
html.welcome-open .install-card { display: none !important; }
@keyframes welcome-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .welcome-card { animation: none; } }
