/* Real vs AI cards and the full-screen slider (website and studio). */
.vs { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vs-pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: 18px; overflow: hidden; background: #0d0d0f; cursor: pointer; }
.vs-side { position: relative; margin: 0; aspect-ratio: 9 / 16; background: #18181b; overflow: hidden; }
.vs-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-tag { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; font: 600 12px/1.2 inherit; font-family: inherit;
  color: #fff; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); letter-spacing: .02em; }
.vs-tag-ai { color: #111; background: #fff; }
.vs-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.vs-tags span { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid currentColor; opacity: .7; }
.vs-empty { display: grid; place-items: end center; padding: 16px 16px 26px; text-align: center; font-size: 13px; color: #a1a1aa; background: repeating-linear-gradient(135deg, #18181b 0 10px, #1d1d21 10px 20px); }
.vs-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; width: 54px; height: 54px; border-radius: 50%; border: 0;
  display: grid; place-items: center; color: #111; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); cursor: pointer; transition: opacity .2s, transform .2s; }
.vs-pair.on .vs-play { opacity: 0; }
.vs-pair.on:hover .vs-play, .vs-pair.on:focus-within .vs-play { opacity: .85; }
.vs-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.vs-wipe { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 7px 12px; border: 0; border-radius: 999px; font: 600 12px/1 inherit; font-family: inherit; color: #fff; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); cursor: pointer; }
.vs-wipe:hover { background: rgba(0, 0, 0, .8); }
.vs-meta { padding: 0 2px; }
.vs-title { font-weight: 600; }
.vs-sub { font-size: 14px; opacity: .65; margin-top: 2px; }
.vs-pair:focus-within { outline: 2px solid rgba(255, 255, 255, .5); outline-offset: 2px; }

.vs-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; }
.vs-stage { position: relative; height: min(82vh, 160vw); aspect-ratio: 9 / 16; max-width: 100%; border-radius: 18px; overflow: hidden; background: #000; touch-action: none; cursor: ew-resize; user-select: none; }
.vs-under, .vs-over { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vs-line { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .5); pointer-events: none; }
.vs-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0, 0, 0, .4); }
.vs-l { left: 12px; } .vs-r { left: auto; right: 12px; }
.vs-range { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; opacity: 0; height: 1px; }
.vs-range:focus-visible + * { outline: none; }
.vs-x { position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 0; font-size: 26px; line-height: 1; color: #fff; background: rgba(255, 255, 255, .12); cursor: pointer; }
.vs-hint { margin: 0; color: #a1a1aa; font-size: 13px; text-align: center; }
@media (prefers-reduced-motion: reduce) { .vs-play, .vs-wipe { transition: none; } }
.vs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
@media (max-width: 640px) { .vs-grid { grid-template-columns: 1fr; gap: 26px; } }
.gallery.vs-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
@media (max-width: 640px) { .gallery.vs-grid { grid-template-columns: 1fr; } }
/* Phones: no grey tap flash or text selection on the card; a spinner while the clips load. */
.vs-pair { -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.vs-v { pointer-events: none; }
.vs-pair.loading .vs-play { opacity: 1; }
.vs-pair.loading .vs-play svg { display: none; }
.vs-pair.loading .vs-play::after { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: vs-spin .8s linear infinite; }
@keyframes vs-spin { to { transform: rotate(360deg); } }
@media (hover: none) { .vs-pair.on:not(.loading) .vs-play { opacity: 0; } }
