/* The start-up banner while a cloud machine is made ready (progress_panel.html #startup-banner, app-status-startup.js). */
/* minmax(0, 1fr) and min-width: 0: the text wraps beside the icon on a phone instead of widening the panel. */
.startup-banner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; margin: 8px 0 18px; padding: 20px;
  border: 1px solid var(--line-strong, rgba(0, 0, 0, .18)); border-radius: 18px; color: var(--ink);
  background: linear-gradient(135deg, var(--surface-2), var(--surface)); box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
.startup-banner > * { min-width: 0; }
/* Going out (app-status-startup.js showStartupBanner): seven seconds of fade, the box shrinking with it from the height
   the script measured, so the rest of the panel rises instead of jumping when the banner finally goes. */
.startup-banner.startup-leaving { opacity: 0; margin: 0; padding-top: 0; padding-bottom: 0; border-width: 0; box-shadow: none;
  overflow: hidden; pointer-events: none;
  transition: opacity 7s linear, max-height 7s ease-in, margin 7s ease-in, padding 7s ease-in, border-width 7s ease-in; }
@media (prefers-reduced-motion: reduce) { .startup-banner.startup-leaving { transition: opacity 7s linear; } }
.startup-cloud { color: var(--violet); flex: none; animation: startup-float 3.2s ease-in-out infinite; }
.startup-title { margin: 0 0 8px; font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.startup-copy p { margin: 0 0 10px; font-size: .95rem; color: var(--ink-dim); overflow-wrap: anywhere; }
.startup-copy .startup-status { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-weight: 700; color: var(--violet); }
.startup-copy .startup-long { margin: 12px 0 0; }
.startup-dots { display: inline-flex; gap: 5px; flex: none; }
.startup-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); animation: startup-dot 1.2s ease-in-out infinite; }
.startup-dots i:nth-child(2) { animation-delay: .2s; }
.startup-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes startup-dot { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }
@keyframes startup-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .startup-cloud, .startup-dots i { animation: none; } .startup-dots i { opacity: .7; } }
@media (max-width: 480px) { .startup-banner { grid-template-columns: minmax(0, 1fr); padding: 16px; } .startup-cloud { width: 52px; height: 36px; } }

/* While it shows, the bar, the checklist and the film's own screen are not on the panel: nothing says the film is under way. */
#progress.starting > :not(.album-summary):not(#startup-banner):not(.ingest-why):not(.waiting-area) { display: none; }
