.trends-page.trends-workspace.pinterest-photo-studio{--pinterest-upload-reserved:42.5rem;display:grid;flex:none;grid-template-rows:auto minmax(0,1fr);block-size:100cqh;padding-block-end:12px}.trends-workspace.live-photo-workspace.video-face-swap.pinterest-photo-studio .trends-studio{grid-template:"form" minmax(0,auto) "output" minmax(11.25rem,1fr) /minmax(0,1fr);min-block-size:0}.trends-workspace.live-photo-workspace.video-face-swap.pinterest-photo-studio .trends-form{gap:10px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--workspace-line) transparent}.trends-workspace.pinterest-photo-studio .trends-studio .trends-result{border-radius:0 0 17px 17px;border-top:1px solid var(--workspace-line)}.pinterest-photo-studio .video-face-swap-upload-grid{--pinterest-tile-width:clamp(6.5rem,calc((100cqh - var(--pinterest-upload-reserved)) * 9 / 16),10.5rem);flex:none;align-self:center;inline-size:min(100%,calc(2 * var(--pinterest-tile-width) + 10px))}.pinterest-photo-link>label,.pinterest-photo-upload-title{display:block;margin:0 0 5px;font-size:.83rem;font-weight:650}.pinterest-photo-studio .video-face-swap-upload-grid .live-photo-upload{aspect-ratio:9/16;max-block-size:none}.pinterest-photo-studio .video-face-swap-portrait [data-has-photo] img{-o-object-fit:contain;object-fit:contain}.pinterest-photo-link-row{display:flex;gap:7px}.pinterest-photo-link-input{display:flex;flex:1;min-width:0;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--workspace-line);border-radius:8px;background:var(--trends-surface)}.pinterest-photo-link-input svg{flex:none;color:var(--trends-muted)}.pinterest-photo-link-input input{width:100%;min-width:0;padding:8px 0;background:transparent;color:var(--trends-text);outline:none;font-size:1rem}.pinterest-photo-link-input:focus-within{outline:2px solid var(--trends-accent);outline-offset:1px}.pinterest-photo-link-row button{min-height:42px;padding:0 12px;border:1px solid var(--workspace-line);border-radius:8px;background:var(--trends-tint);color:var(--trends-text);font-size:.82rem;font-weight:650}.pinterest-photo-link-row button:disabled{opacity:.55}.pinterest-photo-studio .pinterest-photo-setting{margin:0}.pinterest-photo-setting .trends-quality-tabs{margin-top:5px}.pinterest-photo-result{position:relative;container-type:size;display:grid;min-block-size:0;place-items:center}.pinterest-photo-demo img,.pinterest-photo-result>.pinterest-photo-preview{position:absolute;inset:0;inline-size:100%;block-size:100%;border-radius:12px;-o-object-fit:contain;object-fit:contain}.pinterest-photo-studio .pinterest-photo-result .pinterest-photo-demo{--pinterest-demo-photo-width:clamp(1px,calc((100cqh - 24px) * 9 / 16),15.5rem);width:min(100%,max(11rem,calc(2 * var(--pinterest-demo-photo-width) + var(--video-face-swap-example-gap))))}.pinterest-photo-demo .trends-player-frame{width:min(100%,var(--pinterest-demo-photo-width));margin-inline:auto;border-radius:12px;background:var(--trends-surface)}.pinterest-photo-demo .video-face-swap-source-caption{margin-top:5px;line-height:1.15}.pinterest-photo-result .trends-run-overlay{border-radius:12px}.pinterest-photo-preview-caption{margin-block-start:0}.pinterest-photo-actions button.trends-download{min-block-size:36px}.pinterest-photo-studio .live-photo-tab-panel[data-state=active]{overflow:auto;scrollbar-width:thin}@container trends-workspace (width < 680px){.trends-workspace.live-photo-workspace.video-face-swap.pinterest-photo-studio .trends-studio{grid-template-rows:minmax(0,auto) minmax(10.25rem,1fr)}.trends-workspace.live-photo-workspace.video-face-swap.pinterest-photo-studio .trends-form{gap:4px;padding-block:8px}.pinterest-photo-studio .video-face-swap-upload-grid{--pinterest-tile-width:clamp(5.375rem,calc((100cqh - var(--pinterest-upload-reserved)) * 9 / 16),10.5rem)}.pinterest-photo-studio .video-face-swap-upload-grid .live-photo-upload-icon svg{padding:7px;transform:translateY(-6px)}.pinterest-photo-link-row button{min-height:37px}.pinterest-photo-link-input input{padding-block:6px}.pinterest-photo-setting legend{line-height:1.25}.pinterest-photo-setting .trends-quality-tabs{margin-top:3px;padding:3px}.pinterest-photo-setting .trends-quality-option{min-height:30px}.trends-workspace.pinterest-photo-studio .trends-form-footer{gap:6px;padding-top:5px}.trends-workspace.live-photo-workspace.video-face-swap.pinterest-photo-studio .trends-studio[data-expanded-output]{grid-template-rows:minmax(0,auto) minmax(clamp(7rem,34cqh,18rem),1fr)}.trends-workspace.live-photo-workspace.pinterest-photo-studio .trends-studio-heading{flex-wrap:nowrap;margin-bottom:8px}.trends-workspace.live-photo-workspace.pinterest-photo-studio .trends-studio-heading h1{flex:1 1 auto;font-size:1.25rem;line-height:1.25}.pinterest-photo-studio .trends-studio-nav a{min-height:30px;white-space:nowrap}.pinterest-photo-studio .live-photo-tabs .live-photo-tab-list{flex-basis:34px;margin:8px 12px 0}.pinterest-photo-studio .live-photo-tabs .live-photo-tab-panel{padding:8px 12px}.pinterest-photo-demo .video-face-swap-source-caption{font-size:.6875rem}}@container trends-workspace (min-width: 680px){.trends-workspace.live-photo-workspace.video-face-swap.pinterest-photo-studio .trends-studio{--pinterest-upload-reserved:35.5rem;grid-template:"form output" minmax(0,1fr) /clamp(19rem,42cqi,24.375rem) minmax(0,1fr)}.trends-workspace.pinterest-photo-studio .trends-studio .trends-result{border-top:0;border-inline-start:1px solid var(--workspace-line);border-radius:0 17px 17px 0}}