.empty-stage-welcome { display: none; }

@media (min-width: 601px) {
  .studio:not(.phone-preview-layout):has(#videoCanvas.project-empty) .preview-viewport,
  .studio:not(.phone-preview-layout):has(#videoCanvas.project-empty) .preview-dock {
    visibility: hidden;
  }

  .studio:not(.phone-preview-layout):has(#videoCanvas.project-empty) .empty-stage-welcome {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    pointer-events: none;
  }

  .empty-stage-welcome-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 3vw, 48px);
    width: min(640px, 100%);
    min-height: 220px;
    padding: 18px 12px;
    direction: rtl;
    pointer-events: auto;
  }
  .empty-stage-welcome-art {
    flex: 0 0 auto;
    height: clamp(190px, 34vh, 300px);
    aspect-ratio: 9 / 16;
    display: grid;
    place-items: center;
    border: 1px solid rgba(162, 129, 255, .28);
    border-radius: 8px;
    background: radial-gradient(circle at 60% 42%, rgba(125,86,237,.28), transparent 68%), linear-gradient(155deg, #171227, #261433);
    box-shadow: 0 14px 36px rgba(0,0,0,.28);
  }
  .empty-stage-welcome-art svg { width: 56px; height: 56px; fill: none; stroke: #c5afff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .empty-stage-welcome-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
  .empty-stage-welcome-copy h2 { margin: 0 0 7px; font-size: clamp(21px, 2vw, 29px); line-height: 1.2; color: #f7f3ff; }
  .empty-stage-welcome-copy p { margin: 0 0 19px; color: #a19cac; font-size: 12px; line-height: 1.6; }
  .empty-stage-welcome-copy button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 39px;
    padding: 8px 16px;
    border: 1px solid #a278f0;
    border-radius: 9px;
    background: linear-gradient(110deg, #6d4dde, #9460e8);
    color: white;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(94,65,199,.2);
  }
  .empty-stage-welcome-copy button:hover { filter: brightness(1.12); }
  .empty-stage-welcome-copy button:focus-visible { outline: 2px solid #e2d0ff; outline-offset: 3px; }
  .empty-stage-welcome-copy button span { font-size: 18px; line-height: 1; }
  html[dir="ltr"] .empty-stage-welcome-inner { direction: ltr; }
}

@media (min-width: 601px) and (max-width: 1200px) {
  .empty-stage-welcome-inner { gap: 14px; padding: 8px 0; }
  .empty-stage-welcome-art { height: clamp(170px, 30vh, 245px); }
  .empty-stage-welcome-art svg { width: 46px; height: 46px; }
  .empty-stage-welcome-copy h2 { font-size: 20px; }
}
