.start-template-frame { position: relative; isolation: isolate; }
.start-template-frame .start-try-on-result { position: absolute; inset: 0; opacity: 0; }
.start-template-frame.has-try-on-result .start-try-on-result { opacity: 1; }
/* Opaque ivory beneath soft, broad highlights: never expose the image swap. */
.start-curtain { position: absolute; inset: 0; z-index: 2; transform: translateX(-101%); background-color: #e8e3dd; background-image: linear-gradient(104deg, transparent 4%, rgba(255,255,255,.75) 19%, rgba(170,157,144,.14) 32%, transparent 45%, rgba(255,255,255,.68) 61%, rgba(168,156,146,.15) 77%, rgba(255,255,255,.52) 94%), linear-gradient(24deg, rgba(192,178,164,.22), rgba(255,255,255,.45) 55%, transparent); }
.start-generation-ui { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 13px; padding: 12px; opacity: 0; color: #302925; text-align: center; font-size: clamp(10px, 2.9vw, 16px); }
.start-generation-sparkle { width: clamp(32px, 10vw, 48px); height: auto; color: #e93e6b; }
.start-generation-track { width: 84%; height: 7px; border: 1px solid rgba(255,255,255,.92); background: rgba(110,93,79,.14); border-radius: 20px; overflow: hidden; }
.start-generation-fill { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left center; background: #e93e6b; border-radius: inherit; }
.start-preview-pill { position: absolute; z-index: 4; left: 9px; top: 10px; padding: 7px 10px; border-radius: 30px; background: rgba(255,255,255,.93); box-shadow: 0 2px 10px rgba(42,32,25,.045); font-size: clamp(9px, 2.65vw, 13px); font-weight: 600; color: #11100f; opacity: 0; }
.start-template-frame.is-preview-complete .start-curtain { transform: translateX(101%); }
.start-template-frame.is-preview-complete .start-generation-ui { opacity: 0; }
.start-template-frame.is-preview-complete .start-preview-pill { opacity: 1; }
