/* Preserve the initial split before the interactive script is ready. */
.split__left { clip-path: inset(0 50% 0 0); }
.split__right { clip-path: inset(0 0 0 50%); }
.split__loading { display: none; }
.split[data-image-state="error"] .split__loading {
  position: absolute; inset: 0; z-index: 60; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: #1b191e; color: #bcb8c1; padding: 24px; text-align: center;
  font: 400 14px/1.5 Inter,system-ui,sans-serif;
}
.split__retry { border: 1px solid #776b7d; background: transparent; color: inherit; border-radius: 10px; padding: 10px 18px; min-height: 44px; cursor: pointer; }
.split__retry[hidden] { display: none; }
.split__retry:focus-visible { outline: 2px solid #ef99f0; outline-offset: 3px; }
body.light .split[data-image-state="error"] .split__loading { background: #f1eef3; color: #615967; }
