.site-shell:has(.p2v-home){--p2v-page:var(--background);--p2v-surface:var(--surface);--p2v-surface-soft:var(--surface-elevated);--p2v-ink:var(--foreground);--p2v-muted:var(--muted-foreground);--p2v-line:var(--border);--p2v-control-line:var(--muted-foreground);--p2v-control-bg:var(--surface-elevated);--p2v-primary:var(--primary);--p2v-primary-hover:var(--primary-hover);--p2v-primary-soft:var(--primary-soft-bg);--p2v-primary-foreground:var(--primary-foreground);--p2v-success:var(--foreground);--p2v-success-soft:var(--surface-elevated);--p2v-danger:var(--foreground);--p2v-danger-soft:var(--surface-elevated);--p2v-player:var(--foreground);--p2v-player-ink:var(--surface);--p2v-player-muted:var(--border-strong);--p2v-shadow:0 2px 8px rgb(0 0 0/4%);background:var(--p2v-page);color:var(--p2v-ink);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;font-size:16px;line-height:1.5}html.dark .site-shell:has(.p2v-home){--p2v-control-bg:var(--background);--p2v-primary-foreground:var(--background);--p2v-player:var(--section-gallery);--p2v-player-ink:var(--foreground);--p2v-player-muted:var(--muted-foreground)}.site-shell:has(.p2v-home) .site-header{background:var(--p2v-surface);border-color:var(--p2v-line)}.site-shell:has(.p2v-home) .site-footer,.site-shell:has(.p2v-home) .site-nav{width:100%;max-width:1200px;padding-left:24px;padding-right:24px}.site-shell:has(.p2v-home) .site-nav{min-height:72px;gap:24px;padding-top:8px;padding-bottom:8px;font-size:14px}.site-shell:has(.p2v-home) .site-footer a,.site-shell:has(.p2v-home) .site-nav a{display:inline-flex;align-items:center;min-height:44px}.site-shell:has(.p2v-home) .site-nav>a:first-child{font-size:18px;font-weight:700;letter-spacing:-.4px}.site-shell:has(.p2v-home) .site-footer a:hover,.site-shell:has(.p2v-home) .site-nav a:hover{color:var(--p2v-primary)}.site-shell:has(.p2v-home) .site-main{width:100%;max-width:none;padding:0}.p2v-container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}.p2v-tool-band{padding:32px 0 40px;background:var(--section-alt)}.site-shell:has(.p2v-home) .site-footer{gap:24px;padding-top:16px;padding-bottom:24px;font-size:14px;color:var(--p2v-muted);border-color:var(--p2v-line)}.site-shell:has(.p2v-home) :is(button,a,summary,input,textarea):focus-visible{outline:3px solid var(--p2v-primary);outline-offset:3px}.p2v-home :is(button,a,summary){touch-action:manipulation}.p2v-home :is(button,summary){cursor:pointer}.p2v-home button:disabled{cursor:not-allowed}.p2v-home svg{flex-shrink:0;stroke-width:1.75}.p2v-hero{margin-bottom:24px}.p2v-hero h1{margin:0 0 8px;font-size:48px;line-height:1.15;font-weight:700;letter-spacing:-1.5px}.p2v-hero h1 span{color:var(--p2v-primary)}.p2v-hero>p{font-size:16px;color:var(--p2v-muted)}.p2v-home h2{font-size:28px;font-weight:600;line-height:1.3;letter-spacing:-.5px}.p2v-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:stretch;gap:32px;scroll-margin-top:16px}.p2v-form-panel,.p2v-result{border:1px solid var(--border-strong);border-radius:14px;overflow:hidden;box-shadow:var(--p2v-shadow)}.p2v-form-panel{min-width:0;background:var(--p2v-surface)}.p2v-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:12px 24px;border-bottom:1px solid var(--p2v-line)}.p2v-panel-header h2{font-size:18px;letter-spacing:0}.p2v-model-pill{padding:4px 8px;border-radius:4px;color:var(--p2v-primary-hover);background:var(--p2v-primary-soft);font-size:12px;font-weight:600;white-space:nowrap}.p2v-form{padding:20px 24px}.p2v-form>div:first-child{margin-bottom:16px}.p2v-field-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:14px;font-weight:600}.p2v-field-heading>span{color:var(--p2v-muted);font-size:13px;font-weight:400}.p2v-dropzone{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;width:100%;min-height:170px;border:2px dashed var(--p2v-control-line);border-radius:8px;transition:background .18s,border-color .18s}.p2v-dropzone.is-dragging,.p2v-dropzone:hover{border-color:var(--p2v-primary);background:var(--p2v-primary-soft)}.p2v-upload-icon{display:grid;place-items:center;width:40px;height:40px;margin-bottom:4px;border-radius:8px;background:var(--p2v-primary-soft);color:var(--p2v-primary)}.p2v-dropzone strong{font-size:14px;font-weight:600}.p2v-dropzone>span:last-child{color:var(--p2v-ink);font-size:13px}.p2v-dropzone .p2v-text-link{color:var(--p2v-primary-hover)}.p2v-text-link{display:inline-flex;align-items:center;gap:4px;color:var(--p2v-primary);text-decoration:underline;text-underline-offset:3px}.p2v-hint{color:var(--p2v-muted);line-height:1.5}.p2v-error,.p2v-hint{margin-top:8px;font-size:13px}.p2v-error{padding:8px 12px;border-radius:4px;border-left:3px solid var(--destructive);background:var(--p2v-danger-soft);color:var(--p2v-danger)}.p2v-error:empty{display:none}.p2v-home textarea{display:block;width:100%;max-height:320px;resize:vertical;border:1px solid var(--p2v-control-line);border-radius:8px;padding:14px;color:var(--p2v-ink);font-size:16px;line-height:1.5}.p2v-home textarea::placeholder{color:var(--p2v-ink)}.p2v-prompt-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.p2v-prompt-chips button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 10px;border:1px solid var(--p2v-control-line);border-radius:8px;background:var(--p2v-surface);color:var(--p2v-ink);font-size:14px;line-height:1.4}.p2v-prompt-chips button:hover:not(:disabled){background:var(--p2v-primary-soft);border-color:var(--p2v-primary);color:var(--p2v-primary-hover)}.p2v-generation-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding:8px 0;border-top:1px solid var(--p2v-line);color:var(--p2v-muted);font-size:13px}.p2v-generation-summary strong{font-weight:500;color:var(--p2v-ink)}.p2v-generation-summary strong>span{padding:0 4px;color:var(--p2v-muted)}.p2v-generate{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;padding:12px;border-radius:8px;background:var(--p2v-primary);color:var(--p2v-primary-foreground);font-size:16px;font-weight:600;transition:background .18s}.p2v-generate:hover:not(:disabled){background:var(--p2v-primary-hover)}.p2v-generation-note{margin:8px 0;text-align:center;color:var(--p2v-muted);font-size:13px}.p2v-draft-status{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;color:var(--p2v-muted);font-size:13px}.p2v-draft-status button,.p2v-draft-status>span{display:inline-flex;align-items:center;gap:6px}.p2v-draft-status button{min-height:44px;color:var(--p2v-primary)}.p2v-image-preview{border:1px solid var(--p2v-control-line);border-radius:8px;overflow:hidden;background:var(--p2v-surface-soft)}.p2v-image-preview img{display:block;width:100%;height:170px;object-fit:contain}.p2v-preview-toolbar{display:flex;align-items:center;gap:8px;padding:0 8px;border-top:1px solid var(--p2v-line);background:var(--p2v-surface);font-size:13px}.p2v-preview-toolbar>span{min-width:0;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.p2v-preview-toolbar button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:var(--p2v-primary);font-size:14px}.p2v-tabs{display:flex;gap:16px;padding:0 24px;border-bottom:1px solid var(--p2v-line)}.p2v-tabs button{min-height:48px;padding:8px 0;border-bottom:2px solid transparent;font-size:14px;color:var(--p2v-muted)}.p2v-tabs button[aria-selected=true]{color:var(--p2v-primary);border-color:var(--p2v-primary)}.p2v-video-panel{display:flex;flex:1;flex-direction:column;min-width:0}.p2v-video-panel .p2v-screen-content>svg{margin:0 auto 16px;color:var(--p2v-player-muted)}.p2v-history{padding:0 24px 16px}.p2v-history button{display:flex;width:100%;gap:12px;align-items:center;justify-content:space-between;min-height:44px;padding:8px;border-top:1px solid var(--p2v-line);font-size:13px}.p2v-history button[aria-pressed=true]{background:var(--p2v-primary-soft)}.p2v-history span{min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.p2v-history small{color:var(--p2v-muted);flex-shrink:0}.p2v-result{display:flex;flex-direction:column;min-width:0;background:var(--p2v-surface)}.p2v-status-tag{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.p2v-status-idle{color:var(--p2v-ink);background:var(--p2v-surface-soft)}.p2v-status-active{color:var(--p2v-primary-hover);background:var(--p2v-primary-soft)}.p2v-status-succeeded{color:var(--p2v-success);background:var(--p2v-success-soft)}.p2v-status-failed{color:var(--p2v-danger);background:var(--p2v-danger-soft)}.p2v-screen{position:relative;display:grid;place-items:center;flex:none;width:calc(100% - 48px);aspect-ratio:16/9;min-height:0;margin:20px 24px;border-radius:8px;overflow:hidden;color:var(--p2v-player-ink)}.p2v-screen,.p2v-screen.has-video{background:var(--p2v-player)}.p2v-screen video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.p2v-screen-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;padding:24px;text-align:center}.p2v-film-icon{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 16px;color:var(--p2v-muted)}.p2v-result:has(.p2v-status-active) .p2v-film-icon{color:var(--p2v-primary)}.p2v-result:has(.p2v-status-failed) .p2v-film-icon,.p2v-result:has(.p2v-status-failed) .p2v-screen h3{color:var(--foreground)}.p2v-screen h3{font-size:20px;font-weight:600;line-height:1.4}.p2v-screen p{margin-top:12px;color:var(--p2v-player-muted);font-size:16px;line-height:1.6}.p2v-screen .p2v-text-link{color:var(--p2v-player-ink)}.p2v-video-panel:has(.p2v-result-footer) .p2v-screen{margin-bottom:0}.p2v-result-footer{flex-wrap:wrap;justify-content:space-between;padding:16px 24px;color:var(--p2v-muted);font-size:13px}.p2v-result-footer,.p2v-result-footer>div{display:flex;align-items:center;gap:8px}.p2v-result-footer .lucide-check,.p2v-status-succeeded svg{color:var(--success)}.p2v-status-failed svg{color:var(--destructive)}.p2v-download,.p2v-retry{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--p2v-primary);font-size:14px;font-weight:500}.p2v-retry{align-self:flex-start;margin:0 24px 16px}.p2v-spin{animation:p2v-spin 1.5s linear infinite}@keyframes p2v-spin{to{transform:rotate(1turn)}}.p2v-faq,.p2v-how{padding:40px 0}.p2v-how{background:var(--section-base)}.p2v-how-layout{display:block}.p2v-how h2{font-size:24px;letter-spacing:-.3px}.p2v-how-intro{max-width:760px;margin:12px 0 28px;color:var(--p2v-muted);font-size:15px;line-height:1.6}.p2v-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;list-style:none;padding:0;margin:0}.p2v-steps li{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;font-size:15px;font-weight:500}.p2v-step-number{padding-top:2px;color:var(--p2v-muted);font-variant-numeric:tabular-nums;font-size:14px}.p2v-steps h3{font-size:16px;font-weight:600}.p2v-steps p{margin-top:8px;font-size:14px;font-weight:400;line-height:1.65;color:var(--p2v-muted)}.p2v-faq{background:var(--surface-elevated)}.p2v-faq .p2v-container{max-width:880px}.p2v-faq h2{margin-bottom:20px;font-size:24px}.p2v-faq-list{border-bottom:1px solid var(--p2v-line)}.p2v-faq details+details,.p2v-faq-list{border-top:1px solid var(--p2v-line)}.p2v-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;list-style:none;font-size:16px;font-weight:500}.p2v-faq summary::-webkit-details-marker{display:none}.p2v-faq summary span{font-size:24px;line-height:1;color:var(--p2v-primary)}.p2v-faq details[open] summary span{transform:rotate(45deg)}.p2v-faq details p{padding-bottom:20px;color:var(--p2v-ink);font-size:16px;line-height:1.7}@media (max-width:1023px){.p2v-how-layout{flex-direction:column;align-items:stretch;gap:20px}.p2v-workspace{grid-template-columns:minmax(0,1fr);gap:24px}}@media (max-width:767px){.p2v-container,.site-shell:has(.p2v-home) .site-footer,.site-shell:has(.p2v-home) .site-nav{padding-left:16px;padding-right:16px}.site-shell:has(.p2v-home) .site-nav{column-gap:16px;row-gap:0}.site-shell:has(.p2v-home) .site-nav>a:first-child{flex-basis:100%}.p2v-tool-band{padding:24px 0 32px}.p2v-hero h1{font-size:34px;letter-spacing:-.8px}.p2v-home h2{font-size:24px}.p2v-panel-header{padding:16px}.p2v-panel-header h2{font-size:18px}.p2v-form{padding:16px}.p2v-field-heading,.p2v-panel-header{flex-wrap:wrap}.p2v-screen{margin:16px;width:calc(100% - 32px);aspect-ratio:4/3}.p2v-screen-content{padding:16px}.p2v-screen h3{font-size:18px}.p2v-screen p{margin-top:8px;font-size:14px}.p2v-video-panel .p2v-screen-content>svg{margin-bottom:12px;width:24px;height:24px}.p2v-result-footer{padding:16px}.p2v-retry{margin-left:16px}.p2v-faq,.p2v-how{padding:32px 0}.p2v-how-layout{align-items:stretch;flex-direction:column;gap:20px}.p2v-steps{grid-template-columns:minmax(0,1fr);gap:24px}.p2v-steps li+li:before{display:none}.p2v-how h2{font-size:24px}}@media (prefers-reduced-motion:reduce){.site-shell:has(.p2v-home){scroll-behavior:auto}.p2v-spin{animation:none}.p2v-dropzone,.p2v-generate{transition:none}}.p2v-settings{border:0;padding:0;margin:16px 0 12px;min-width:0}.p2v-settings-toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.p2v-setting-audio,.p2v-setting-control{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:42px;border:1px solid var(--p2v-line);border-radius:8px;background:var(--p2v-control-bg);color:var(--p2v-ink);font-size:13px;font-weight:500}.p2v-setting-control{padding:0 10px}.p2v-setting-control>svg{flex-shrink:0;pointer-events:none;color:var(--p2v-muted)}.p2v-setting-control select{appearance:none;border:0;border-radius:0;outline:none;background:transparent;color:inherit;width:100%;min-width:0;padding:10px 0;font:inherit;cursor:pointer}.p2v-setting-control select option{background:var(--p2v-surface);color:var(--p2v-ink)}.p2v-setting-audio:focus-visible,.p2v-setting-control:focus-within{outline:2px solid var(--p2v-primary);outline-offset:2px}.p2v-setting-audio{cursor:pointer;padding:0 8px}.p2v-setting-audio[aria-pressed=true]{border-color:var(--p2v-primary)}.p2v-setting-audio:disabled,.p2v-settings:disabled .p2v-setting-control{opacity:.55}@media (max-width:640px){.p2v-settings-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}.p2v-form-panel .p2v-panel-header{min-height:64px}.p2v-model-pill{background:var(--p2v-surface-soft);color:var(--p2v-muted);border:1px solid var(--p2v-line);border-radius:6px;font-weight:500}.p2v-form{padding-top:24px;padding-bottom:24px}.p2v-form>div:first-child{margin-bottom:24px}.p2v-dropzone{min-height:150px;border-radius:12px;border-color:var(--border-strong);background:var(--p2v-control-bg);gap:6px}.p2v-upload-icon{width:44px;height:44px;border-radius:12px;background:var(--p2v-surface);color:var(--p2v-muted);border:1px solid var(--p2v-line)}.p2v-upload-browse{color:var(--p2v-primary-hover);font-weight:500}.p2v-dropzone>span:last-child{color:var(--p2v-muted)}.p2v-home textarea{border-color:var(--border-strong);border-radius:12px;min-height:120px;background:var(--p2v-control-bg);padding:16px}.p2v-home textarea::placeholder{color:var(--p2v-muted)}.p2v-settings{margin-top:20px;margin-bottom:20px}.p2v-setting-audio,.p2v-setting-control{min-height:64px;padding:23px 10px 5px;justify-content:flex-start;border-radius:10px;background:var(--p2v-surface);border-color:var(--border-strong);gap:5px}.p2v-setting-caption{position:absolute;left:10px;top:7px;color:var(--p2v-muted);font-size:12px;line-height:16px;font-weight:400}.p2v-setting-control select{padding:6px 0}.p2v-setting-audio>svg{color:var(--p2v-muted);flex-shrink:0}.p2v-setting-audio[aria-pressed=true]{background:var(--p2v-primary-soft)}.p2v-audio-switch{margin-left:auto;width:24px;height:14px;border-radius:10px;padding:2px;background:var(--muted-foreground);flex-shrink:0}.p2v-audio-switch>span{display:block;width:10px;height:10px;border-radius:50%;background:var(--p2v-surface);transition:transform .15s}.p2v-setting-audio[aria-pressed=true] .p2v-audio-switch{background:var(--p2v-primary)}.p2v-setting-audio[aria-pressed=true] .p2v-audio-switch>span{transform:translateX(10px)}.p2v-generate{min-height:50px;border-radius:10px}.p2v-generation-note{font-size:12px;line-height:1.5}@media (prefers-reduced-motion:reduce){.p2v-audio-switch>span{transition:none}}.p2v-intro-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:56px;align-items:start}.p2v-effect-link{display:inline-flex;align-items:center;gap:10px;margin-top:24px;min-height:44px;padding:10px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--foreground);font-size:14px;font-weight:600;text-decoration:none}.p2v-effect-link:hover{background:var(--surface-elevated)}.p2v-effect-link:focus-visible{outline:2px solid var(--ring);outline-offset:4px}.p2v-effect-link svg{flex-shrink:0}.p2v-intro-layout>.p2v-hero{margin:0;padding-top:48px}.p2v-intro-layout .p2v-hero h1{max-width:420px;margin-bottom:20px;text-wrap:balance}.p2v-intro-layout .p2v-hero>p{max-width:370px;font-size:18px;line-height:1.7}.p2v-intro-layout>.p2v-workspace{grid-template-columns:minmax(0,1fr);gap:24px;min-width:0}.p2v-intro-layout>:not(.p2v-hero):not(.p2v-workspace){grid-column:2}@media (max-width:900px){.p2v-intro-layout{grid-template-columns:minmax(0,1fr);gap:28px}.p2v-intro-layout>.p2v-hero{padding-top:0}.p2v-intro-layout .p2v-hero h1,.p2v-intro-layout .p2v-hero>p{max-width:640px}.p2v-intro-layout .p2v-hero>p{font-size:16px}.p2v-intro-layout>:not(.p2v-hero):not(.p2v-workspace){grid-column:1}}