.vf-portrait-perspective { width: 100%; perspective: 1000px; }
.vf-portrait { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; isolation: isolate; touch-action: pan-y; transform-style: preserve-3d; transform-origin: center; will-change: transform; }
.vf-portrait__base, .vf-portrait__overlay, .vf-portrait__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; user-select: none; }
.vf-portrait__base, .vf-portrait__overlay { object-fit: cover; }
.vf-portrait__base { z-index: 1; }
.vf-portrait__overlay { z-index: 2; }
.vf-portrait__canvas { z-index: 3; }
.vf-portrait[data-effect="soft"] .vf-portrait__overlay { will-change: mask-image; }
.vf-portrait.vf-portrait--canvas-ready .vf-portrait__overlay { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .vf-portrait { will-change: auto; } .vf-portrait__overlay { will-change: auto !important; } }
