.vt-select-trigger{text-align:left;align-items:center;gap:10px;min-width:0;display:flex}.vt-select-trigger:focus-visible{outline:2px solid color-mix(in oklch, var(--brand) 60%, transparent);outline-offset:1px}.vt-select-trigger:disabled{cursor:not-allowed;opacity:.6}.vt-select-trigger>svg{color:var(--muted-foreground);flex-shrink:0;margin-left:auto;transition:transform .15s}.vt-select-trigger[data-popup-open]>svg{transform:rotate(180deg)}.vt-select-trigger.is-rich{min-height:64px}.vt-select-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.vt-select-title{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:19px;overflow:hidden}.vt-select-hint{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:16px;overflow:hidden}.vt-select-icon{object-fit:cover;width:24px;height:18px;box-shadow:0 0 0 1px color-mix(in oklch, var(--foreground) 12%, transparent);border-radius:3px;flex-shrink:0}.vt-select-image{object-fit:cover;border-radius:5px;flex-shrink:0;width:68px;height:42px}.vt-select-popup{width:max(var(--anchor-width), 220px);border-radius:10px;gap:6px;max-width:calc(100vw - 32px);padding:6px}.vt-select-search{border:1px solid var(--input);background:var(--muted);color:var(--muted-foreground);border-radius:7px;align-items:center;gap:8px;padding:0 10px;display:flex}.vt-select-search input{width:100%;min-width:0;height:36px;color:var(--foreground);font:inherit;background:0 0;border:0;outline:none;font-size:13px}.vt-select-search input::-webkit-search-cancel-button{display:none}.vt-select-search:focus-within{border-color:color-mix(in oklch, var(--brand) 55%, transparent)}.vt-select-list{overscroll-behavior:contain;outline:none;max-height:min(320px,50vh);overflow-y:auto}.vt-select-option{cursor:pointer;border-radius:6px;align-items:center;gap:10px;min-height:38px;padding:7px 10px;display:flex}.vt-select-option.is-active{background:color-mix(in oklch, var(--foreground) 7%, transparent)}.vt-select-option[aria-selected=true]{color:var(--brand)}.vt-select-option .vt-select-title{font-weight:400}.vt-select-option[aria-selected=true] .vt-select-title{font-weight:500}.vt-select-check{flex-shrink:0;margin-left:auto}.vt-select-empty{color:var(--muted-foreground);text-align:center;padding:14px 10px;font-size:13px}.vt-compress-panel{text-align:left;margin-top:12px}.vt-task-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.vt-task-actions button{border:1px solid var(--border);background:var(--background);min-height:36px;color:var(--foreground);border-radius:8px;padding:7px 14px;font-size:13px;font-weight:500}.vt-task-actions button:first-child{border-color:var(--brand);background:var(--brand);color:var(--primary-foreground)}.vt-task-actions button:only-child{border-color:var(--border);background:var(--background);color:var(--foreground)}.vt-task-result--transparent video{background-color:#f4f4f5;background-image:linear-gradient(45deg,#d4d4d8 25%,#0000 25%),linear-gradient(-45deg,#d4d4d8 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#d4d4d8 75%),linear-gradient(-45deg,#0000 75%,#d4d4d8 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px}.vt-task-result--transparent p{color:var(--muted-foreground);font-size:12px}.ia-model-field,.ia-parameter{min-width:0}.ia-model-trigger,.ia-parameter-trigger{background:var(--muted);width:100%;min-width:0;color:var(--foreground);cursor:pointer;border:1px solid #0000;border-radius:9px;align-items:center;transition:border-color .15s,background-color .15s;display:flex}.ia-model-trigger{text-align:left;gap:12px;min-height:68px;padding:12px}.ia-model-trigger>svg,.ia-parameter-trigger>svg{color:var(--muted-foreground);flex-shrink:0}.ia-model-trigger:hover,.ia-parameter-trigger:hover,.ia-model-trigger[data-popup-open],.ia-parameter-trigger[data-popup-open]{border-color:color-mix(in oklch, var(--foreground) 22%, transparent)}.ia-model-trigger:focus-visible,.ia-parameter-trigger:focus-visible{outline:2px solid var(--highlight);outline-offset:3px}.ia-choice:has(input:focus-visible){outline:2px solid var(--highlight);outline-offset:3px}.ia-model-icon{background:color-mix(in oklch, var(--foreground) 6%, transparent);width:34px;height:34px;color:var(--foreground);border-radius:9px;flex-shrink:0;place-items:center;display:grid;overflow:hidden}.ia-model-icon img{object-fit:contain;width:100%;height:100%}.ia-choice-copy{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.ia-choice-label{overflow-wrap:anywhere;font-size:13px;font-weight:600;line-height:19px}.ia-choice-hint,.ia-popover-hint{color:var(--muted-foreground);overflow-wrap:anywhere;margin:0;font-size:11px;font-weight:400;line-height:16px}.ia-model-popover,.ia-parameter-popover{max-width:calc(100vw - 32px);max-height:min(440px, var(--available-height,65vh));overscroll-behavior:contain;padding:10px;overflow-y:auto}.ia-model-popover{width:max(320px, var(--anchor-width,320px))}.ia-parameter-popover{width:200px}.ia-popover-title{padding:4px 8px 7px;font-size:13px;font-weight:600;line-height:20px}.ia-choice-list{border:0;flex-direction:column;gap:4px;min-width:0;margin:0;padding:0;display:flex}.ia-choice{cursor:pointer;border-radius:7px;align-items:center;gap:10px;min-height:42px;padding:10px;display:flex;position:relative}.ia-choice:hover{background:var(--muted)}.ia-choice.is-selected{background:color-mix(in oklch, var(--highlight) 10%, transparent)}.ia-choice-input{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.ia-choice-check{color:var(--highlight);opacity:0;flex-shrink:0}.ia-choice.is-selected .ia-choice-check{opacity:1}.ia-parameter-trigger{justify-content:center;gap:7px;min-height:42px;padding:9px 8px;font-size:13px;font-weight:500;line-height:20px}.ia-parameter-trigger span{overflow-wrap:anywhere;min-width:0}@media (prefers-reduced-motion:reduce){.ia-model-trigger,.ia-parameter-trigger{transition:none}}.animation-demo,.animation-demo-examples,.animation-player{width:100%;min-width:0}.animation-demo{max-width:960px}.animation-demo-tabs,.animation-demo-view{flex-wrap:wrap;gap:5px;display:flex}.animation-demo-tabs{margin-bottom:16px}.animation-demo-view{border:1px solid var(--border);background:var(--card);border-radius:11px;width:fit-content;margin-bottom:12px;padding:4px}.animation-demo-tabs button,.animation-demo-view button,.animation-demo-play-button{min-height:36px;color:var(--muted-foreground);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:12px;font-weight:500;line-height:18px;transition:background-color .15s,color .15s,border-color .15s;display:inline-flex}.animation-demo-tabs button{border-color:var(--border)}.animation-demo-tabs button:hover,.animation-demo-view button:hover,.animation-demo-play-button:not(:disabled):hover{color:var(--foreground);background:var(--accent)}.animation-demo-tabs button[aria-pressed=true],.animation-demo-view button[aria-pressed=true]{border-color:color-mix(in oklch, var(--brand) 28%, transparent);color:var(--highlight);background:color-mix(in oklch, var(--brand) 10%, var(--card))}.animation-demo-tabs button:focus-visible,.animation-demo-view button:focus-visible,.animation-demo-play-button:focus-visible,.animation-demo-playback input:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.animation-demo-stage{isolation:isolate;aspect-ratio:16/9;border:1px solid var(--border);background:var(--muted);border-radius:16px;width:100%;min-width:0;position:relative;overflow:hidden}.animation-demo-stage>img{object-fit:cover;transform-origin:50%;width:100%;height:100%;display:block}.animation-demo-stage-label{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0e0f12b8;border:1px solid #ffffff2e;border-radius:7px;max-width:calc(100% - 28px);padding:6px 10px;font-size:11px;font-weight:500;line-height:16px;position:absolute;top:14px;left:14px}.animation-demo-playback{align-items:center;gap:12px;margin-top:12px;display:flex}.animation-demo-play-button{border-color:var(--border);min-width:86px;color:var(--foreground);background:var(--card);flex:none}.animation-demo-play-button:disabled,.animation-demo-playback input:disabled{cursor:not-allowed;opacity:.5}.animation-demo-playback input{width:100%;min-width:0;height:24px;accent-color:var(--brand);cursor:pointer;border-radius:4px;flex:auto;margin:0}.animation-demo-time{color:var(--muted-foreground);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-size:11px;line-height:18px}.animation-demo-source{border:1px solid var(--border);background:var(--card);border-radius:12px;grid-template-columns:130px minmax(0,1fr);gap:16px;margin-top:20px;padding:14px;display:grid}.animation-demo-source-image{min-width:0}.animation-demo-source-image img{aspect-ratio:16/9;object-fit:cover;border-radius:7px;width:100%;height:auto;display:block}.animation-demo-source-image>span,.animation-demo-prompt>span,.animation-demo-example-prompt>span{color:var(--muted-foreground);font-size:11px;font-weight:500;line-height:18px;display:block}.animation-demo-source-image>span{margin-top:6px}.animation-demo-prompt{min-width:0}.animation-demo-prompt>p,.animation-demo-example-prompt>p{color:var(--foreground);overflow-wrap:anywhere;margin:6px 0 0;font-size:13px;line-height:22px}.animation-demo .animation-demo-note,.animation-demo-examples .animation-demo-note,.animation-player .animation-demo-reduced-note{max-width:640px;color:var(--muted-foreground);text-align:center;text-wrap:pretty;margin:14px auto 0;font-size:11px;line-height:18px}.animation-demo-examples-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.animation-demo-example{border:1px solid var(--border);background:var(--card);border-radius:22px;min-width:0;padding:14px}.animation-demo-example-copy{padding:20px 10px 10px}.animation-demo-example-copy>h3{color:var(--foreground);letter-spacing:-.02em;margin:0 0 8px;font-size:19px;font-weight:600;line-height:27px}.animation-demo-example-copy>p{color:var(--muted-foreground);text-wrap:pretty;margin:0;font-size:14px;line-height:24px}.animation-demo-example-prompt{border-top:1px solid var(--border);margin-top:16px;padding-top:14px}@media (width<=760px){.animation-demo-examples-grid{grid-template-columns:minmax(0,1fr);gap:18px}.animation-demo-tabs button,.animation-demo-view button,.animation-demo-play-button{min-height:40px}.animation-demo-stage{border-radius:12px}.animation-demo-stage-label{padding:4px 7px;font-size:10px;top:10px;left:10px}.animation-demo-source{grid-template-columns:96px minmax(0,1fr);gap:12px;padding:12px}.animation-demo-playback{gap:8px}.animation-demo-play-button{min-width:0;padding:8px 10px}.animation-demo-example{padding:12px}}@media (width<=360px){.animation-demo-source{grid-template-columns:minmax(0,1fr)}.animation-demo-source-image{max-width:130px}}@media (prefers-reduced-motion:reduce){.animation-demo-tabs button,.animation-demo-view button,.animation-demo-play-button{transition:none}.animation-demo-stage>img{transform:none!important}}.animation-prompt-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin-bottom:10px;display:flex}.animation-prompt-heading .vt-field-label{margin:0}.animation-prompt-editor{min-width:0;position:relative}.animation-prompt-editor .vt-textarea{min-height:170px;padding-bottom:54px}.animation-prompt-footer{inset-inline:12px;justify-content:space-between;align-items:center;gap:10px;display:flex;position:absolute;bottom:12px}.animation-prompt-helper-trigger{max-width:calc(100% - 70px);min-height:27px;color:var(--foreground);background:var(--accent);font:inherit;cursor:pointer;border:0;border-radius:5px;justify-content:center;align-items:center;gap:6px;padding:4px 8px;font-size:11px;line-height:17px;display:inline-flex}.animation-prompt-helper-trigger svg{flex-shrink:0}.animation-prompt-count{color:var(--muted-foreground);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:10px;line-height:18px}.animation-prompt-helper{max-height:min(640px,100dvh - 32px);padding:24px;overflow-y:auto}.animation-prompt-helper [data-slot=dialog-header]{padding-inline-end:24px}.animation-prompt-helper [data-slot=dialog-description]{line-height:1.6}.animation-prompt-helper-close{width:30px;height:30px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;display:grid;position:absolute;top:13px;right:13px}.animation-prompt-helper-options{border:0;flex-wrap:wrap;gap:8px;min-width:0;margin:0;padding:0;display:flex}.animation-prompt-helper-option{border:1px solid var(--border);background:var(--muted);cursor:pointer;border-radius:8px;align-items:center;gap:7px;padding:9px 12px;font-size:12px;line-height:18px;display:inline-flex}.animation-prompt-helper-option:has(input:checked){border-color:var(--brand);background:color-mix(in oklch, var(--brand) 10%, var(--muted))}.animation-prompt-helper-option input{accent-color:var(--brand)}.animation-prompt-helper-preview{border:1px solid var(--border);color:var(--foreground);background:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:10px;margin:0;padding:16px;font-size:13px;line-height:1.75}.animation-prompt-helper-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.animation-prompt-helper-actions button{border:1px solid var(--border);min-height:38px;font:inherit;cursor:pointer;border-radius:8px;padding:8px 16px;font-size:13px}.animation-prompt-helper-cancel{color:var(--foreground);background:var(--muted)}.animation-prompt-helper-actions .animation-prompt-helper-apply{border-color:var(--primary);color:var(--primary-foreground);background:var(--primary)}.animation-prompt-helper-actions button:disabled{cursor:not-allowed;opacity:.5}.animation-prompt-helper-trigger:hover,.animation-prompt-helper-close:hover,.animation-prompt-helper-cancel:hover{background:color-mix(in oklch, var(--foreground) 12%, var(--muted))}.animation-prompt-helper button:focus-visible,.animation-prompt-helper-trigger:focus-visible{outline:2px solid var(--ring);outline-offset:3px}.animation-prompt-helper-option:has(input:focus-visible){outline:2px solid var(--ring);outline-offset:3px}.upscaler-page{width:100%;color:var(--foreground);overflow:clip}.upscaler-page-topbar{max-width:1920px;color:var(--muted-foreground);justify-content:space-between;gap:16px;margin:0 auto;padding:18px 28px;font-size:12px;display:flex}.upscaler-page-topbar a{align-items:center;gap:8px;display:inline-flex}.upscaler-page-topbar a:hover{color:var(--highlight)}.upscaler-editor{max-width:1920px;margin:0 auto;padding:0 24px 40px;scroll-margin-top:80px;overflow:clip}.upscaler-tool-nav{padding:0}.upscaler-tool-nav-label{color:var(--muted-foreground);margin:0 0 14px;font-size:12px;font-weight:500}.upscaler-tool-nav-list{flex-direction:column;gap:4px;display:flex}.upscaler-tool-nav-card{min-width:0;min-height:52px;color:var(--muted-foreground);background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;padding:7px 8px;transition:border-color .2s,color .2s;display:flex;position:relative;overflow:clip}.upscaler-tool-nav-card img{object-fit:cover;border-radius:6px;flex:0 0 64px;width:64px;height:36px;display:block}.upscaler-tool-nav-title{overflow-wrap:anywhere;font-size:11px;font-weight:500;line-height:16px;display:block}.upscaler-tool-nav-card:hover,.upscaler-tool-nav-card[aria-current=page]{color:var(--foreground);background:var(--muted)}.upscaler-tool-nav-card[aria-current=page]{background:color-mix(in oklch, var(--primary) 15%, var(--card))}.upscaler-tool-nav-card[aria-current=page]:before{content:"";background:var(--primary);border-radius:0 3px 3px 0;width:3px;position:absolute;inset:7px auto 7px 0}.upscaler-tool-nav-card:focus-visible,.upscaler-page a:focus-visible,.upscaler-page summary:focus-visible,.upscaler-table-scroll:focus-visible{outline:2px solid var(--highlight);outline-offset:3px}.upscaler-article{max-width:1184px;margin:0 auto;padding:40px 32px 80px}.upscaler-article h2{letter-spacing:-.035em;text-wrap:balance;margin:0;font-size:clamp(26px,3vw,38px);font-weight:600;line-height:1.2}.upscaler-article h3{letter-spacing:-.015em;font-size:18px;font-weight:600;line-height:1.4}.upscaler-article p{color:var(--muted-foreground);font-size:15px;line-height:1.85}.upscaler-eyebrow{letter-spacing:.13em;text-transform:uppercase;margin-bottom:18px;font-weight:600;color:var(--highlight)!important;font-size:11px!important}.upscaler-intro{border-top:1px solid var(--border);grid-template-columns:1fr 1.1fr;gap:76px;padding:72px 0;scroll-margin-top:100px;display:grid}.upscaler-intro h2{max-width:420px}#upscaler-explained{scroll-margin-top:100px}.upscaler-intro-copy>p:first-child{margin:0}.upscaler-insight{align-items:flex-start;gap:10px;margin-top:20px;display:flex;font-size:13px!important}.upscaler-insight svg{color:var(--highlight);flex-shrink:0;margin-top:4px}.upscaler-section{padding:64px 0}.upscaler-section-heading{text-align:center;max-width:740px;margin:0 auto 34px}.upscaler-section-heading>p{max-width:650px;margin:16px auto 0}.upscaler-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:0;list-style:none;display:grid}.upscaler-steps li{border:1px solid var(--border);background:var(--card);border-radius:18px;padding:28px}.upscaler-step-number{color:var(--highlight);letter-spacing:-.06em;opacity:.8;margin-bottom:30px;font-size:36px;font-weight:500;line-height:1;display:block}.upscaler-steps h3{margin:0 0 12px}.upscaler-steps p,.upscaler-quality-grid p{margin:0;font-size:14px}.upscaler-table-scroll{border:1px solid var(--border);border-radius:18px;overflow-x:auto}.upscaler-resolution-table{text-align:left;border-collapse:collapse;width:100%;min-width:580px;font-size:14px}.upscaler-resolution-table th,.upscaler-resolution-table td{border-bottom:1px solid var(--border);padding:20px 24px}.upscaler-resolution-table thead{background:var(--muted);color:var(--muted-foreground);font-size:12px}.upscaler-resolution-table tbody th{color:var(--foreground);white-space:nowrap;font-weight:600}.upscaler-resolution-table tbody td{color:var(--muted-foreground);line-height:1.7}.upscaler-resolution-table tbody td:nth-child(2){color:var(--foreground);font-variant-numeric:tabular-nums;white-space:nowrap}.upscaler-resolution-table tr:last-child>*{border-bottom:0}.upscaler-table-note{margin:14px 0 0;font-size:12px!important}.upscaler-quality-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;margin-top:44px;display:grid}.upscaler-quality-icon{border:1px solid var(--border);width:46px;height:46px;color:var(--highlight);background:var(--card);border-radius:13px;place-items:center;display:grid}.upscaler-quality-grid h3{margin:22px 0 12px}.upscaler-faq{border-top:1px solid var(--border);grid-template-columns:.75fr 1.25fr;gap:76px;margin-top:48px;display:grid}.upscaler-faq .upscaler-section-heading{text-align:left}.upscaler-faq details{border-bottom:1px solid var(--border)}.upscaler-faq summary{cursor:pointer;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;font-size:16px;font-weight:500;line-height:1.6;list-style:none;display:flex}.upscaler-faq summary::-webkit-details-marker{display:none}.upscaler-faq summary svg{color:var(--muted-foreground);flex-shrink:0;transition:transform .2s}.upscaler-faq details[open] summary svg{transform:rotate(180deg)}.upscaler-faq details p{margin:0;padding:0 26px 24px 0;font-size:14px}.upscaler-guide{border:1px solid var(--border);background:var(--card);border-radius:20px;justify-content:space-between;align-items:center;gap:48px;margin:40px 0 64px;padding:36px;display:flex}.upscaler-guide>div{max-width:680px}.upscaler-guide h2{font-size:27px}.upscaler-guide p{margin:12px 0 0;font-size:14px}.upscaler-guide .upscaler-eyebrow{margin:0 0 14px}.upscaler-guide-link{color:var(--highlight);flex-shrink:0;align-items:center;gap:10px;font-size:14px;font-weight:500;display:inline-flex}.upscaler-bottom-cta{text-align:center;padding:56px 20px 20px}.upscaler-bottom-cta p{max-width:570px;margin:18px auto 26px}.upscaler-bottom-cta a{background:var(--brand);color:var(--brand-foreground);border-radius:12px;justify-content:center;align-items:center;gap:12px;padding:14px 22px;font-size:14px;font-weight:600;display:inline-flex}@media (width<=1100px){.upscaler-intro,.upscaler-faq{gap:40px}}@media (width<=760px){.upscaler-page-topbar{padding:16px;font-size:11px}.upscaler-editor{padding:0 12px 24px}.upscaler-tool-nav{padding:12px 8px}.upscaler-tool-nav-label{margin-bottom:10px}.upscaler-tool-nav-list{scrollbar-width:none;flex-direction:row;gap:10px;padding:2px 1px 6px;overflow-x:auto}.upscaler-tool-nav-list::-webkit-scrollbar{display:none}.upscaler-tool-nav-card{flex:0 0 186px}.upscaler-article{padding:10px 20px 48px}.upscaler-intro,.upscaler-faq{grid-template-columns:1fr;gap:24px;padding:42px 0}.upscaler-section{padding:40px 0}.upscaler-section-heading{text-align:left;margin-bottom:24px}.upscaler-section-heading>p{margin-top:12px}.upscaler-steps,.upscaler-quality-grid{grid-template-columns:1fr;gap:16px}.upscaler-steps li{padding:24px}.upscaler-step-number{margin-bottom:20px;font-size:30px}.upscaler-quality-grid{gap:30px;margin-top:26px}.upscaler-quality-grid h3{margin-top:14px}.upscaler-faq{margin-top:26px}.upscaler-faq .upscaler-section-heading{margin-bottom:0}.upscaler-faq summary{font-size:15px}.upscaler-guide{flex-direction:column;align-items:flex-start;gap:22px;margin:24px 0;padding:26px}.upscaler-guide h2{font-size:24px}.upscaler-bottom-cta{padding:38px 0 0}}@media (prefers-reduced-motion:reduce){.upscaler-tool-nav-card,.upscaler-faq summary svg{transition:none}}.background-article{max-width:1280px}.background-article [id]{scroll-margin-top:100px}.background-examples-section{padding-top:24px}.background-formats-section .upscaler-resolution-table tbody th,.background-formats-section .upscaler-resolution-table tbody td:nth-child(2){white-space:normal}.background-formats-section .upscaler-resolution-table th:first-child{width:20%}.background-formats-section .upscaler-resolution-table th:nth-child(2){width:26%}.background-article a:focus-visible,.background-article summary:focus-visible{outline:2px solid var(--highlight);outline-offset:3px}.vt-workspace{color:var(--foreground);grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;display:grid}.vt-settings-panel,.vt-preview-panel{border:1px solid var(--border);background:var(--card);border-radius:16px;min-width:0}.vt-settings-panel{padding:22px}.vt-panel-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.vt-panel-heading h2{align-items:center;gap:9px;margin:0;font-size:14px;font-weight:600;line-height:20px;display:flex}.vt-reset{min-height:32px;color:var(--muted-foreground);cursor:pointer;align-items:center;gap:5px;font-size:12px;display:inline-flex}.vt-reset:hover{color:var(--highlight)}.vt-field-label{margin-bottom:10px;font-size:14px;font-weight:500;line-height:20px;display:block}.vt-fields{flex-direction:column;gap:24px;display:flex}.vt-field{border:0;min-width:0;padding:0}.vt-options:has(>.vt-option:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}.vt-field-hint{color:var(--muted-foreground);margin:8px 0 0;font-size:11px;line-height:17px}.vt-upload-field{margin-bottom:26px}.vt-file-input{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.vt-upload-area{border:1px dashed var(--input);background:color-mix(in oklch, var(--muted) 60%, transparent);border-radius:12px;transition:border-color .2s,background .2s}.vt-upload-area:hover,.vt-upload-area.is-dragging{border-color:var(--brand);background:color-mix(in oklch, var(--brand) 5%, var(--card))}.vt-upload-trigger{cursor:pointer;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:100%;min-height:188px;padding:24px 12px;display:flex}.vt-upload-icon{border:1px solid var(--border);background:var(--card);width:48px;height:48px;color:var(--muted-foreground);border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.vt-drop-title{font-size:13px;font-weight:500;line-height:20px}.vt-browse{color:var(--highlight);font-size:12px;line-height:16px}.vt-local-note{color:var(--muted-foreground);align-items:flex-start;gap:5px;margin:5px 0 0;font-size:11px;line-height:17px;display:flex}.vt-local-note svg{flex-shrink:0;margin-top:2px}.vt-selected-file{align-items:center;gap:12px;padding:18px 14px;display:flex}.vt-selected-file>div{flex:1;min-width:0}.vt-selected-file .vt-upload-icon{border-radius:9px;width:40px;height:44px}.vt-file-name{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;display:block;overflow:hidden}.vt-file-size{color:var(--muted-foreground);margin-top:5px;font-size:11px;display:block}.vt-file-ready{color:var(--highlight);flex-shrink:0}.vt-file-actions{border-top:1px solid var(--border);display:flex}.vt-file-actions button{min-height:42px;color:var(--muted-foreground);cursor:pointer;flex:1;justify-content:center;align-items:center;gap:6px;font-size:12px;display:inline-flex}.vt-file-actions button+button{border-left:1px solid var(--border)}.vt-file-actions button:hover{color:var(--highlight)}.vt-error{border:1px solid color-mix(in oklch, var(--destructive) 25%, transparent);background:color-mix(in oklch, var(--destructive) 7%, transparent);color:var(--destructive);border-radius:8px;align-items:flex-start;gap:7px;margin-top:12px;padding:10px 11px;font-size:12px;line-height:18px;display:flex}.vt-error svg{flex-shrink:0;margin-top:1px}.vt-select-wrap{position:relative}.vt-select-wrap>svg{pointer-events:none;color:var(--muted-foreground);position:absolute;top:50%;right:12px;transform:translateY(-50%)}.vt-select,.vt-textarea{border:1px solid var(--input);background:var(--muted);width:100%;color:var(--foreground);font:inherit;border-radius:9px;font-size:13px}.vt-select{appearance:none;cursor:pointer;min-height:44px;padding:10px 34px 10px 13px}.vt-select option{background:var(--popover);color:var(--foreground)}.vt-textarea-wrap{position:relative}.vt-textarea{resize:vertical;min-height:124px;padding:12px 13px 30px;line-height:20px;display:block}.vt-textarea::placeholder{color:var(--muted-foreground)}.vt-character-count{color:var(--muted-foreground);pointer-events:none;font-size:10px;position:absolute;bottom:10px;right:12px}.vt-options{grid-template-columns:repeat(auto-fit,minmax(58px,1fr));gap:7px;display:grid}.vt-option{border:1.5px solid color-mix(in oklch, var(--foreground) 45%, var(--card));background:var(--muted);min-height:42px;color:var(--muted-foreground);cursor:pointer;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:10px 5px;transition:color .2s,border-color .2s,background .2s;display:flex;position:relative}.vt-option:hover:not(.is-disabled){border-color:color-mix(in oklch, var(--brand) 55%, var(--input))}.vt-option.is-selected{border-color:var(--primary);background:color-mix(in oklch, var(--primary) 20%, transparent);color:var(--foreground);font-weight:600}.vt-option.is-selected .vt-option-label{font-weight:600}.vt-option.is-disabled,.vt-select-option.is-disabled{opacity:.55;cursor:not-allowed}.vt-option.is-disabled .vt-option-input{cursor:not-allowed}.vt-option-input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.vt-option-label{text-align:center;font-size:12px;font-weight:500;line-height:17px}.vt-option-hint{color:var(--muted-foreground);text-align:center;font-size:10px;line-height:14px}.vt-option-meta,.vt-option-reason{color:var(--muted-foreground);text-align:center;font-size:11px;line-height:16px}.vt-options--cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.vt-card-option{justify-content:flex-start;align-items:flex-start;gap:8px;padding:14px 10px}.vt-card-option .vt-option-label{text-align:left;max-width:calc(100% - 18px)}.vt-card-option :is(.vt-option-hint,.vt-option-meta,.vt-option-reason){text-align:left;overflow-wrap:anywhere}.vt-card-option .vt-option-meta{color:var(--foreground);margin-top:auto}.vt-card-check{color:var(--foreground);position:absolute;top:14px;right:8px}.vt-options:has(.vt-aspect-icon){grid-template-columns:repeat(4,minmax(0,1fr))}.vt-aspect-icon{justify-content:center;align-items:center;width:30px;height:30px;display:flex}.vt-aspect-icon span{border:1.5px solid;border-radius:2px;max-width:28px;height:23px;display:block}.vt-options--styles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.vt-options--styles .vt-option{border-radius:10px;justify-content:flex-start;gap:8px;padding:4px 4px 9px}.vt-style-image{aspect-ratio:4/3;border-radius:6px;width:100%;display:block;position:relative;overflow:hidden}.vt-style-image img{object-fit:cover;width:100%;height:100%;transition:transform .3s;display:block}.vt-option:hover .vt-style-image img{transform:scale(1.04)}.vt-style-check{background:var(--brand);color:#fff;opacity:0;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;display:flex;position:absolute;bottom:5px;right:5px}.vt-option.is-selected .vt-style-check{opacity:1}.vt-field--switch{justify-content:space-between;align-items:center;gap:16px;display:flex}.vt-field--switch .vt-field-label{cursor:pointer;margin-bottom:0}.vt-field--switch .vt-field-hint{margin-top:4px}.vt-switch{border:1px solid var(--input);background:var(--accent);appearance:none;cursor:pointer;border-radius:20px;flex-shrink:0;width:36px;height:21px;margin:0;transition:background .2s;position:relative}.vt-switch:after{background:var(--muted-foreground);content:"";border-radius:50%;width:13px;height:13px;transition:transform .2s,background .2s;position:absolute;top:3px;left:3px}.vt-switch:checked{border-color:var(--brand);background:var(--brand)}.vt-switch:checked:after{background:#fff;transform:translate(15px)}.vt-advanced{border-top:1px solid var(--border);margin-top:24px}.vt-advanced summary{cursor:pointer;justify-content:space-between;align-items:center;min-height:50px;font-size:13px;list-style:none;display:flex}.vt-advanced summary::-webkit-details-marker{display:none}.vt-advanced[open] summary svg{transform:rotate(180deg)}.vt-advanced .vt-fields{padding:4px 0 5px}.vt-submit-area{border-top:1px solid var(--border);margin-top:28px;padding-top:20px}.vt-generate{background:var(--brand);width:100%;min-height:46px;color:var(--brand-foreground);cursor:pointer;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:9px;padding:10px 18px;font-size:14px;font-weight:600;transition:filter .2s;display:flex}.vt-generate:hover:not(:disabled){filter:brightness(1.08)}.vt-generate:disabled{background:var(--muted);color:var(--muted-foreground);border-color:var(--border);cursor:not-allowed}.vt-demo-notice{color:var(--muted-foreground);align-items:flex-start;gap:7px;margin:12px 0 0;font-size:11px;line-height:17px;display:flex}.vt-demo-notice svg{flex-shrink:0;margin-top:2px}.vt-preview-panel{overflow:hidden}.vt-preview-heading{margin:0;padding:22px 24px}.vt-preview-badge{border:1px solid var(--border);background:var(--muted);color:var(--muted-foreground);border-radius:6px;padding:4px 9px;font-size:11px;line-height:16px}.vt-preview-stage{justify-content:center;align-items:center;min-height:280px;padding:0 24px 24px;display:flex}.vt-preview-frame{border:1px solid var(--border);background:#0a0a0a;border-radius:12px;width:100%;max-height:500px;position:relative;overflow:hidden}.vt-preview-media,.vt-preview-example{object-fit:contain;width:100%;height:100%;display:block}.vt-preview-example,.vt-preview-frame--crop .vt-preview-media{object-fit:cover}.vt-preview-stage--reframe{background-image:radial-gradient(color-mix(in oklch, var(--muted-foreground) 17%, transparent) .6px, transparent .6px);background-size:14px 14px;min-height:410px;padding-top:12px}.vt-crop-guides{pointer-events:none;position:absolute;inset:0}.vt-crop-guides:before,.vt-crop-guides:after{content:"";background:#ffffff47;width:1px;position:absolute;top:0;bottom:0}.vt-crop-guides:before{left:33.333%}.vt-crop-guides:after{left:66.666%}.vt-crop-guides span{background:#ffffff47;height:1px;position:absolute;left:0;right:0}.vt-crop-guides span:first-child{top:33.333%}.vt-crop-guides span:last-child{top:66.666%}.vt-preview-caption{border-top:1px solid var(--border);align-items:center;gap:11px;padding:18px 24px;display:flex}.vt-caption-icon{border:1px solid var(--border);width:36px;height:36px;color:var(--muted-foreground);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.vt-preview-caption>div{flex:1;min-width:0}.vt-preview-caption p{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:13px;font-weight:500;line-height:20px;overflow:hidden}.vt-preview-caption div>span{color:var(--muted-foreground);margin-top:2px;font-size:11px;line-height:17px;display:block}.vt-ratio-badge{color:var(--muted-foreground);flex-shrink:0;font-size:12px}.vt-loading{color:var(--muted-foreground);flex-shrink:0;animation:1s linear infinite vt-spin}@keyframes vt-spin{to{transform:rotate(360deg)}}.vt-summary-dialog{max-height:calc(100dvh - 40px);padding:24px;overflow-y:auto}.vt-summary-dialog [data-slot=dialog-footer]{margin:4px -24px -24px}.vt-summary-icon{border:1px solid color-mix(in oklch, var(--brand) 25%, transparent);width:44px;height:44px;color:var(--highlight);background:color-mix(in oklch, var(--brand) 10%, transparent);border-radius:12px;justify-content:center;align-items:center;margin-bottom:5px;display:flex}.vt-summary-dialog [data-slot=dialog-title]{font-size:18px;line-height:26px}.vt-summary-dialog [data-slot=dialog-description]{line-height:22px}.vt-summary-file{border:1px solid var(--border);background:var(--muted);border-radius:10px;align-items:center;gap:12px;padding:13px;display:flex}.vt-summary-file>svg{color:var(--muted-foreground);flex-shrink:0}.vt-summary-file div{min-width:0}.vt-summary-file span{color:var(--muted-foreground);font-size:11px}.vt-summary-file p{overflow-wrap:anywhere;margin-top:3px;font-size:13px}.vt-summary-settings{flex-direction:column;margin:0;display:flex}.vt-summary-settings>div{border-bottom:1px solid var(--border);grid-template-columns:1fr 1.2fr;gap:20px;padding:10px 0;font-size:12px;line-height:19px;display:grid}.vt-summary-settings>div:last-child{border-bottom:none}.vt-summary-settings dt{color:var(--muted-foreground)}.vt-summary-settings dd{overflow-wrap:anywhere;text-align:right;white-space:pre-wrap;margin:0}.vt-summary-toggle{width:15px;height:15px;accent-color:var(--brand)}.vt-summary-close{border:1px solid var(--input);background:var(--card);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:9px 16px;font-size:13px;display:inline-flex}.vt-summary-close:hover{background:var(--accent)}.vt-workspace :is(button,input,textarea,select,summary):focus-visible,.vt-summary-close:focus-visible{outline:2px solid var(--brand);outline-offset:3px}@media (width>=1024px){.vt-workspace{grid-template-columns:360px minmax(0,1fr);gap:24px}.vt-preview-panel{position:sticky;top:90px}.vt-preview-stage{min-height:400px}.vt-preview-stage--reframe{min-height:510px}}@media (width<=639px){.vt-options--cards{grid-template-columns:1fr}.vt-settings-panel,.vt-preview-heading{padding:18px}.vt-preview-stage{min-height:200px;padding:0 14px 18px}.vt-preview-stage--reframe{min-height:350px;padding-top:12px}.vt-preview-caption{padding:15px 18px}.vt-summary-dialog{padding:20px}.vt-summary-dialog [data-slot=dialog-footer]{margin-bottom:-20px;margin-left:-20px;margin-right:-20px}}@media (prefers-reduced-motion:reduce){.vt-workspace *,.vt-workspace :after{transition:none!important;animation:none!important}.vt-option:hover .vt-style-image img{transform:none}}.vt-preview-frame--fit{width:fit-content;max-width:100%;margin-inline:auto}.vt-preview-frame--fit .vt-preview-media{width:auto;max-width:100%;height:auto;max-height:var(--vt-preview-media-max-height,500px)}.vt-workspace--upscaler{--vt-preview-media-max-height:max(320px, calc(100svh - 340px));grid-template-columns:228px 440px minmax(0,1fr);grid-template-areas:"navigation settings preview";align-items:stretch;gap:0;width:100%;max-width:1920px;min-height:min(840px,100svh - 112px);margin-inline:auto}.vt-workspace--upscaler>.vt-workspace-navigation{border:1px solid var(--border);background:var(--card);border-right:0;border-radius:20px 0 0 20px;grid-area:navigation;min-width:0;padding:20px 12px}.vt-workspace--upscaler>.vt-settings-panel{--vt-panel-padding:24px;--vt-panel-background:var(--card);padding:var(--vt-panel-padding);background:var(--vt-panel-background);border-radius:0 20px 20px 0;flex-direction:column;grid-area:settings;padding-bottom:0;display:flex;overflow:clip}.vt-workspace--upscaler .vt-settings-panel>.vt-panel-heading{justify-content:flex-end;margin-bottom:8px}.vt-workspace--upscaler .vt-reset{text-align:right;flex-shrink:0;max-width:96px;font-size:10px;line-height:14px}.vt-workspace--upscaler .vt-reset svg{flex-shrink:0}.vt-workspace--upscaler .vt-fields--before-upload,.vt-workspace--upscaler .vt-upload-field{margin-bottom:22px}.vt-workspace--upscaler .vt-fields{gap:18px}.vt-workspace--upscaler .vt-upload-area{background:color-mix(in oklch, var(--foreground) 5%, var(--card));border-style:solid;border-color:#0000;border-radius:9px}.vt-workspace--upscaler .vt-upload-area:hover,.vt-workspace--upscaler .vt-upload-area.is-dragging{border-color:var(--brand);background:color-mix(in oklch, var(--brand) 7%, var(--card))}.vt-workspace--upscaler .vt-upload-trigger{gap:10px;min-height:180px;padding:24px 12px}.vt-workspace--upscaler .vt-upload-trigger .vt-upload-icon{background:0 0;border:0;width:42px;height:42px}.vt-workspace--upscaler .vt-drop-title{max-width:240px;font-size:12px;line-height:19px}.vt-workspace--upscaler .vt-options{background:color-mix(in oklch, var(--foreground) 5%, var(--card));border-radius:9px;gap:4px;padding:4px}.vt-workspace--upscaler .vt-option{border-color:color-mix(in oklch, var(--foreground) 55%, var(--card));background:0 0;border-radius:6px;min-height:50px;padding:10px 3px}.vt-workspace--upscaler .vt-option.is-selected{border:1.5px solid var(--primary);background:color-mix(in oklch, var(--primary) 20%, var(--card));color:var(--foreground);font-weight:600}.vt-workspace--upscaler .vt-option-label{font-size:12px}.vt-option.is-selected :is(.vt-option-hint,.vt-option-meta,.vt-option-reason){color:var(--foreground)}.vt-option:has(.vt-option-input:focus-visible){outline:2px solid var(--primary);outline-offset:3px}.vt-workspace--upscaler .vt-options--cards{background:0 0;gap:8px;padding:0}.vt-workspace--upscaler .vt-card-option{padding:14px 10px}.vt-workspace--upscaler .vt-select{background:color-mix(in oklch, var(--foreground) 5%, var(--card));border-color:#0000;border-radius:7px;min-height:56px}.vt-workspace--upscaler .vt-select-wrap--rich .vt-select{color:#0000;min-height:64px}.vt-workspace--upscaler .vt-select-wrap--rich .vt-select option{color:var(--foreground)}.vt-workspace--upscaler .vt-select-presentation{pointer-events:none;align-items:center;gap:11px;min-width:0;display:flex;position:absolute;inset:0 34px 0 12px}.vt-workspace--upscaler .vt-select-presentation img{object-fit:cover;border-radius:5px;flex-shrink:0;width:68px;height:42px}.vt-workspace--upscaler .vt-select-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.vt-workspace--upscaler .vt-select-title{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:19px;overflow:hidden}.vt-workspace--upscaler .vt-select-hint{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:16px;overflow:hidden}.vt-workspace--upscaler .vt-submit-area{z-index:2;margin-top:auto;margin-inline:calc(-1 * var(--vt-panel-padding));padding:16px var(--vt-panel-padding) max(16px, env(safe-area-inset-bottom));border-top:1px solid var(--border);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background:var(--vt-panel-background);box-shadow:0 -8px 20px color-mix(in oklch, var(--foreground) 5%, transparent);position:sticky;bottom:0}.vt-workspace--upscaler .vt-settings-panel>.vt-fields,.vt-workspace--upscaler .vt-advanced{margin-bottom:20px}@media (width>=1001px){.vt-workspace--upscaler>.vt-preview-panel{--vt-preview-top:81px;top:var(--vt-preview-top);min-height:calc(100svh - var(--vt-preview-top) - 16px);justify-content:safe center;align-self:start;padding-block:32px;position:sticky}}.vt-workspace--tool-upscaler .vt-preview-heading{padding-bottom:24px}.vt-workspace--tool-upscaler .vt-preview-heading h1{font-size:28px;font-weight:600}.upscaler-cost-summary{overflow-wrap:anywhere;gap:6px;margin-bottom:12px;font-size:12px;line-height:1.6;display:grid}.upscaler-cost-summary p{margin:0}.upscaler-cost-note,.upscaler-cost-details{color:var(--muted-foreground)}.upscaler-cost-summary a{color:var(--highlight);text-decoration:underline}.upscaler-cost-details summary{cursor:pointer;width:fit-content}.upscaler-cost-details p{margin-top:8px}.upscaler-standard-options{grid-template-rows:0fr;transition:grid-template-rows .18s;display:grid}.upscaler-standard-options.is-open{grid-template-rows:1fr}.upscaler-standard-options>div{overflow:hidden}.upscaler-standard-options-inner{border-left:2px solid var(--border);gap:16px;margin-left:4px;padding-left:14px;display:grid}.upscaler-standard-options h2{margin:0;font-size:12px;font-weight:600}.upscaler-standard-options:not(.is-open) .upscaler-standard-options-inner{visibility:hidden}.upscaler-result-comparison{width:100%}.upscaler-result-tabs{gap:6px;margin-bottom:10px;display:flex}.upscaler-result-tabs button{border:1px solid var(--border);cursor:pointer;border-radius:7px;padding:8px 16px;font-size:13px}.upscaler-result-tabs button[aria-selected=true]{border-color:var(--primary);background:color-mix(in oklch, var(--primary) 20%, var(--card));font-weight:600}.vt-workspace--tool-upscaler .vt-task-result{width:100%}.vt-workspace--tool-upscaler .vt-task-actions{flex-direction:column;gap:8px;width:100%;display:flex}.vt-workspace--tool-upscaler .upscaler-full-action,.vt-workspace--tool-upscaler .upscaler-download-primary{border:1px solid var(--primary);background:var(--primary);width:100%;min-height:44px;color:var(--primary-foreground);cursor:pointer;border-radius:8px;justify-content:center;padding:10px 16px;font-weight:600;display:flex}.vt-workspace--tool-upscaler .upscaler-download-secondary{border:1px solid var(--primary);color:var(--foreground);background:0 0}.vt-workspace--tool-upscaler .vt-generate:not(:disabled){background:var(--primary);color:var(--primary-foreground)}.dark .vt-workspace--tool-upscaler :is(.upscaler-full-action,.upscaler-download-primary,.vt-generate:not(:disabled)){color:var(--background)}.upscaler-full-action:disabled{opacity:.6;cursor:wait}.upscaler-result-balance{color:var(--muted-foreground);font-size:12px}.upscaler-explore-below{justify-content:center;padding:0 20px 32px;display:flex}.upscaler-explore-below a{color:var(--muted-foreground);align-items:center;gap:8px;font-size:13px;display:inline-flex}@media (prefers-reduced-motion:reduce){.upscaler-standard-options{transition:none}}.vt-workspace--upscaler>.vt-preview-panel{background:0 0;border:0;border-radius:0;flex-direction:column;grid-area:preview;justify-content:center;align-items:center;padding:52px 40px;display:flex;position:static;overflow:visible}.vt-workspace--upscaler .vt-preview-heading{text-align:center;flex-direction:column;gap:12px;width:100%;max-width:960px;padding:0 0 28px}.vt-workspace--upscaler .vt-preview-heading h1{letter-spacing:-.04em;margin:0;font-size:clamp(28px,2.7vw,40px);font-weight:600;line-height:1.2}.vt-workspace--upscaler .vt-preview-stage{width:100%;max-width:960px;min-height:0;padding:0}.vt-workspace--upscaler .vt-preview-frame{border:0;border-radius:16px;max-width:960px;max-height:none}.vt-workspace--upscaler .vt-preview-caption{text-align:center;border:0;width:100%;max-width:960px;padding:18px 0 0}.vt-workspace--upscaler .vt-caption-icon{display:none}.vt-processing-notice{color:var(--muted-foreground);margin-top:12px;font-size:12px;line-height:1.6}.vt-processing-notice a,.vt-task-error button{color:var(--brand);text-underline-offset:3px;text-decoration:underline}.vt-processing-output{width:100%;max-width:960px}.vt-task-history{gap:8px;margin-bottom:16px;font-size:13px;display:grid}.vt-task-history .vt-select-trigger{border:1px solid var(--border);background:var(--card);width:100%;min-width:0;min-height:42px;color:var(--foreground);border-radius:8px;padding:8px 12px}.vt-task-status,.vt-task-error{border:1px solid var(--border);background:var(--card);overflow-wrap:anywhere;border-radius:12px;align-items:flex-start;gap:12px;margin-bottom:18px;padding:16px;font-size:13px;line-height:1.6;display:flex}.vt-task-status svg{flex-shrink:0;margin-top:2px}.vt-task-status p{color:var(--muted-foreground);margin-top:4px}.vt-task-status.is-error,.vt-task-error{border-color:color-mix(in oklch, var(--destructive) 40%, var(--border))}.vt-task-error{flex-direction:column}.vt-task-result{justify-items:start;gap:14px;margin-bottom:28px;display:grid}.vt-task-result video{background:#000;border-radius:12px;width:100%;max-height:560px}.vt-task-result a{background:var(--brand);min-height:42px;color:var(--primary-foreground);border-radius:8px;align-items:center;gap:8px;padding:9px 16px;font-size:13px;font-weight:500;display:inline-flex}.vt-workspace--upscaler .vt-preview-caption div>span{max-width:550px;margin:5px auto 0;font-size:12px;line-height:19px}.vt-workspace--upscaler:not(:has(>.vt-workspace-navigation)){grid-template-columns:440px minmax(0,1fr);grid-template-areas:"settings preview"}.vt-workspace--upscaler:not(:has(>.vt-workspace-navigation))>.vt-settings-panel{border-radius:20px}@media (width<=1200px){.vt-workspace--upscaler{grid-template-columns:220px 380px minmax(0,1fr)}.vt-workspace--upscaler>.vt-settings-panel{--vt-panel-padding:20px}.vt-workspace--upscaler>.vt-preview-panel{padding-inline:24px}.vt-workspace--upscaler:not(:has(>.vt-workspace-navigation)){grid-template-columns:380px minmax(0,1fr)}}@media (width<=1000px){.vt-workspace--upscaler{grid-template-columns:220px minmax(0,1fr);grid-template-areas:"navigation settings""navigation preview";min-height:0}.vt-workspace--upscaler>.vt-workspace-navigation{border-radius:20px 0 0 20px}.vt-workspace--upscaler>.vt-settings-panel{border-radius:0 20px 20px 0}.vt-workspace--upscaler>.vt-preview-panel{padding:40px 20px}.vt-workspace--upscaler .vt-submit-area{margin-top:auto}.vt-workspace--upscaler:not(:has(>.vt-workspace-navigation)){grid-template-columns:minmax(0,1fr);grid-template-areas:"settings""preview"}}@media (width<=760px){.vt-workspace--upscaler{grid-template-columns:minmax(0,1fr);grid-template-areas:"navigation""settings""preview";gap:14px}.vt-workspace--upscaler>.vt-workspace-navigation{background:0 0;border:0;border-radius:0;padding:0}.vt-workspace--upscaler>.vt-settings-panel{--vt-panel-padding:22px;border-radius:16px}.vt-workspace--upscaler>.vt-preview-panel{padding:24px 0 30px}.vt-workspace--upscaler .vt-preview-heading{padding-bottom:22px}.vt-workspace--upscaler .vt-preview-frame{border-radius:12px}}.animation-page .vt-preview-description{max-width:580px;color:var(--muted-foreground);text-wrap:pretty;margin:0;font-size:14px;line-height:1.7}.animation-page .vt-workspace--upscaler>.vt-preview-panel{align-self:start;position:sticky;top:70px}.animation-page .vt-upload-trigger{min-height:150px;padding-block:16px}.animation-page .vt-fields--before-upload,.animation-page .vt-upload-field{margin-bottom:20px}.animation-parameter-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.animation-cost{color:var(--muted-foreground);font-variant-numeric:tabular-nums;margin:-6px 0 0;font-size:12px;line-height:18px}.animation-results{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;margin-bottom:28px;display:grid}.animation-results .vt-task-result{margin-bottom:0}.animation-clip-failed{border:1px solid color-mix(in oklch, var(--destructive) 40%, var(--border));color:var(--muted-foreground);border-radius:12px;align-self:start;margin:0;padding:16px;font-size:13px;line-height:1.6}.animation-audio-row{background:color-mix(in oklch, var(--foreground) 5%, var(--card));border-radius:8px;padding:10px 12px}.animation-page .vt-advanced{background:color-mix(in oklch, var(--foreground) 5%, var(--card));border:0;border-radius:8px;padding:0}.animation-page .vt-advanced>summary{padding:12px}.animation-page .vt-advanced>.vt-fields{padding:0 12px 12px}.animation-prompt-samples{color:var(--muted-foreground);flex-wrap:wrap;align-items:center;gap:6px;margin-top:9px;font-size:11px;display:flex}.animation-prompt-samples button{border:1px solid var(--border);min-height:32px;color:var(--foreground);background:var(--background);font:inherit;cursor:pointer;border-radius:6px;padding:5px 9px}.animation-prompt-samples button:hover{border-color:var(--brand);color:var(--highlight)}.animation-prompt-samples button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}@media (width<=1000px){.animation-page .vt-workspace--upscaler>.vt-preview-panel{position:static}}.subtitle-demo,.subtitle-demo-examples{width:100%;min-width:0}.subtitle-demo{max-width:960px}.subtitle-demo-toolbar{flex-wrap:wrap;gap:12px;margin-bottom:16px;display:flex}.subtitle-demo-cases{border:1px solid var(--border);background:var(--card);border-radius:11px;flex-wrap:wrap;gap:4px;min-width:0;padding:4px;display:inline-flex}.subtitle-demo-cases button,.subtitle-demo-view-controls button{min-height:36px;color:var(--muted-foreground);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:8px 11px;font-size:12px;font-weight:500;line-height:18px;transition:background-color .15s,color .15s,border-color .15s;display:inline-flex}.subtitle-demo-cases button:hover,.subtitle-demo-view-controls button:hover{color:var(--foreground);background:var(--accent)}.subtitle-demo-cases button[aria-pressed=true],.subtitle-demo-view-controls button[aria-pressed=true]{border-color:color-mix(in oklch, var(--brand) 28%, transparent);color:var(--highlight);background:color-mix(in oklch, var(--brand) 10%, var(--card))}.subtitle-demo-cases button:focus-visible,.subtitle-demo-view-controls button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.subtitle-demo-cases button svg{flex-shrink:0}.subtitle-demo-comparison{width:100%;min-width:0;margin:0}.subtitle-demo-stage{aspect-ratio:16/9;isolation:isolate;border:1px solid var(--border);background:var(--muted);border-radius:16px;width:100%;position:relative;overflow:hidden;container-type:inline-size}.subtitle-demo-image{object-fit:cover;object-position:center;-webkit-user-select:none;user-select:none;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.subtitle-demo-before-layer{clip-path:inset(0 calc(100% - var(--subtitle-demo-position)) 0 0);pointer-events:none;position:absolute;inset:0;overflow:hidden}.subtitle-demo-caption-overlay{color:#fff;text-align:center;text-shadow:0 1px 2px #00000059;justify-content:center;font-size:clamp(10px,2.3cqw,22px);font-weight:600;line-height:1.45;display:flex;position:absolute;bottom:8%;left:8%;right:8%}.subtitle-demo-caption-overlay>span{text-wrap:balance;background:#0a0c10c2;border-radius:.2em;max-width:100%;padding:.28em .6em}.subtitle-demo-badge{z-index:1;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none;background:#0e0f12ab;border:1px solid #ffffff26;border-radius:7px;max-width:calc(50% - 24px);padding:6px 10px;font-size:11px;font-weight:500;line-height:16px;position:absolute;top:14px}.subtitle-demo-badge--before{left:14px}.subtitle-demo-badge--after{text-align:right;right:14px}.subtitle-demo-slider{z-index:3;appearance:none;cursor:ew-resize;touch-action:pan-y;background:0 0;border:0;outline:none;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}.subtitle-demo-slider::-webkit-slider-runnable-track{background:0 0;height:100%}.subtitle-demo-slider::-webkit-slider-thumb{appearance:none;background:0 0;border:0;width:1px;height:100%}.subtitle-demo-slider::-moz-range-track{background:0 0;height:100%}.subtitle-demo-slider::-moz-range-thumb{background:0 0;border:0;border-radius:0;width:1px;height:100%}.subtitle-demo-divider{z-index:2;inset-block:0;left:var(--subtitle-demo-position);pointer-events:none;background:#fff;width:2px;position:absolute;transform:translate(-50%);box-shadow:0 0 12px #0000004d}.subtitle-demo-handle{color:#171717;background:#fff;border:1px solid #fff9;border-radius:50%;place-items:center;width:40px;height:40px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 16px #0003}.subtitle-demo-slider:focus-visible+.subtitle-demo-divider{background:var(--brand)}.subtitle-demo-slider:focus-visible+.subtitle-demo-divider .subtitle-demo-handle{outline:3px solid var(--brand);outline-offset:3px}.subtitle-demo-comparison-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;margin-top:10px;display:flex}.subtitle-demo-hint{color:var(--muted-foreground);align-items:center;gap:7px;font-size:12px;line-height:18px;display:flex}.subtitle-demo-hint svg{flex-shrink:0}.subtitle-demo-view-controls{flex-wrap:wrap;gap:4px;display:flex}.subtitle-demo-view-controls button{min-height:32px;padding:5px 9px;font-size:11px}.subtitle-demo .subtitle-demo-note,.subtitle-demo-examples .subtitle-demo-note{max-width:620px;color:var(--muted-foreground);text-align:center;text-wrap:pretty;margin:12px auto 0;font-size:11px;line-height:18px}.subtitle-demo-examples-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.subtitle-demo-example{border:1px solid var(--border);background:var(--card);border-radius:22px;min-width:0;padding:12px}.subtitle-demo-example-copy{padding:22px 14px 16px}.subtitle-demo-example-copy h3{color:var(--foreground);letter-spacing:-.02em;margin:0 0 8px;font-size:19px;font-weight:600;line-height:27px}.subtitle-demo-example-copy p{color:var(--muted-foreground);text-wrap:pretty;margin:0;font-size:14px;line-height:24px}.subtitle-demo-examples>.subtitle-demo-note{margin-top:18px}@media (width<=760px){.subtitle-demo-examples-grid{grid-template-columns:minmax(0,1fr);gap:18px}.subtitle-demo-cases button,.subtitle-demo-view-controls button{min-height:40px}.subtitle-demo-badge{padding:4px 7px;font-size:10px;top:10px}.subtitle-demo-badge--before{left:10px}.subtitle-demo-badge--after{right:10px}.subtitle-demo-handle{width:34px;height:34px}}@media (prefers-reduced-motion:reduce){.subtitle-demo-cases button,.subtitle-demo-view-controls button{transition:none}}.subtitle-page .vt-field--segmented .vt-options{grid-template-columns:repeat(2,minmax(0,1fr))}.subtitle-page .vt-field--segmented .vt-option{justify-content:flex-start;align-items:flex-start;gap:6px;min-height:92px;padding:14px 12px}.subtitle-page .vt-option-label,.subtitle-page .vt-option-hint{text-align:left}.subtitle-page .vt-option-hint{font-size:11px;line-height:17px}.subtitle-page .vt-advanced{margin-top:0}.subtitle-page .vt-advanced>summary{background:var(--muted);border-radius:8px;padding:12px}.subtitle-page .vt-advanced[open]>summary{margin-bottom:18px}.subtitle-region-preview{text-align:center;width:100%;min-width:0}.subtitle-caption-base-video{object-fit:contain;background:#090909;border-radius:12px;width:100%;max-height:480px;margin:16px 0;display:block}.subtitle-editor-download-toggle{color:var(--muted-foreground);align-items:center;gap:8px;margin:12px 0;font-size:12px;display:flex}.subtitle-editor-download-toggle input{accent-color:var(--primary)}.subtitle-region-stage{background:#090909;border-radius:12px;max-width:100%;margin:auto;position:relative;overflow:hidden}.subtitle-region-stage video{width:100%;height:auto;display:block}.subtitle-region-overlay{pointer-events:none;position:absolute;inset:0}.subtitle-region-overlay.is-drawing{pointer-events:auto;cursor:crosshair;touch-action:none}.subtitle-region-overlay svg{width:100%;height:100%;overflow:visible}.subtitle-region-overlay rect{fill:#fa792322;stroke:#fa7923;stroke-width:.35px;vector-effect:non-scaling-stroke}.subtitle-region-settings,.subtitle-caption-editor,.subtitle-derive-panel{text-align:left;width:100%;min-width:0;margin-top:20px}.subtitle-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.subtitle-help{color:var(--muted-foreground);margin:10px 0;font-size:12px;line-height:1.65}.subtitle-price{color:var(--foreground);margin:10px 0;font-size:13px;line-height:1.6}.subtitle-region-settings button,.subtitle-caption-editor button,.subtitle-derive-panel button{border:1px solid var(--border);background:var(--muted);max-width:100%;color:var(--foreground);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:9px 12px;font-size:12px;display:inline-flex}.subtitle-region-settings button:disabled,.subtitle-caption-editor button:disabled,.subtitle-derive-panel button:disabled{opacity:.45;cursor:not-allowed}.subtitle-region-settings button:hover:not(:disabled),.subtitle-caption-editor button:hover:not(:disabled),.subtitle-derive-panel button:hover:not(:disabled){border-color:var(--primary)}.subtitle-region-list,.subtitle-time-ranges,.subtitle-burn-settings{border:1px solid var(--border);border-radius:10px;min-width:0;margin:18px 0 0;padding:12px}.subtitle-region-list legend,.subtitle-time-ranges legend,.subtitle-burn-settings legend{padding:0 5px;font-size:13px}.subtitle-region-row{border-bottom:1px solid var(--border);grid-template-columns:1fr 1fr;gap:8px;margin:10px 0;padding-bottom:10px;display:grid}.subtitle-region-row strong{grid-column:1/-1;font-size:12px}.subtitle-range-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:8px;margin-bottom:10px;display:grid}.subtitle-region-row label,.subtitle-range-row label,.subtitle-style-grid label,.subtitle-cue-row label{min-width:0;color:var(--muted-foreground);flex-direction:column;gap:5px;font-size:11px;display:flex}.subtitle-region-row input,.subtitle-range-row input,.subtitle-style-grid select,.subtitle-cue-row input,.subtitle-cue-row textarea{border:1px solid var(--border);background:var(--background);width:100%;min-width:0;color:var(--foreground);border-radius:7px;padding:8px;font-size:12px}.subtitle-cue-row textarea{resize:vertical;line-height:1.6}.subtitle-editor-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.subtitle-editor-heading h2{margin:0;font-size:18px;font-weight:600}.subtitle-editor-heading p{color:var(--muted-foreground);margin:4px 0;font-size:12px}.subtitle-cue-list{overscroll-behavior:contain;gap:12px;max-height:650px;margin:16px 0;display:grid;overflow-y:auto}.subtitle-cue-row{border:1px solid var(--border);border-radius:10px;grid-template-columns:24px minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:8px;padding:12px;display:grid}.subtitle-cue-number{color:var(--muted-foreground);padding-bottom:9px;font-size:12px}.subtitle-cue-text{grid-area:2/1/auto/-1}.subtitle-editor-pagination{color:var(--muted-foreground);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.subtitle-style-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.subtitle-style-grid input[type=color]{background:var(--background);border:1px solid var(--border);border-radius:7px;width:100%;height:35px;padding:3px}.subtitle-extract-empty{text-align:left;background:linear-gradient(145deg, var(--muted), var(--background));border-radius:12px;align-content:center;justify-items:start;min-height:320px;padding:32px;display:grid}.subtitle-extract-empty h2{margin:0 0 14px;font-size:24px;font-weight:600}.subtitle-extract-empty p{max-width:440px;color:var(--muted-foreground);font-size:14px;line-height:1.7}.subtitle-extract-empty pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;margin:18px 0;font:13px/1.7 monospace}.subtitle-extract-empty span{color:var(--primary);letter-spacing:.12em;font-size:13px}.subtitle-extraction-guide{max-width:1120px;margin:70px auto;padding:0 24px}.subtitle-extraction-guide>h2{margin-bottom:18px;font-size:clamp(24px,3vw,36px);font-weight:600}.subtitle-extraction-guide>p{color:var(--muted-foreground);max-width:750px;line-height:1.8}.subtitle-extraction-guide>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:30px 0;display:grid}.subtitle-extraction-guide h3,.subtitle-derive-panel h3{margin-bottom:10px;font-size:16px;font-weight:600}.subtitle-extraction-guide article p{color:var(--muted-foreground);font-size:14px;line-height:1.8}.subtitle-extraction-guide>a{color:var(--primary);text-decoration:underline}@media (width<=640px){.subtitle-extraction-guide>div{grid-template-columns:1fr;gap:14px}.subtitle-extract-empty{min-height:260px;padding:22px}.subtitle-region-settings{margin-top:14px}.subtitle-caption-editor{padding:0}.subtitle-cue-row{gap:6px;padding:9px}}.bg-demo,.bg-demo-examples{width:100%;min-width:0}.bg-demo{max-width:960px}.bg-demo-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.bg-demo-cases,.bg-demo-backgrounds{flex-wrap:wrap;gap:4px;min-width:0;display:inline-flex}.bg-demo-cases{border:1px solid var(--border);background:var(--card);border-radius:11px;padding:4px}.bg-demo-toolbar button{min-height:36px;color:var(--muted-foreground);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:8px 11px;font-size:12px;font-weight:500;line-height:18px;transition:background-color .15s,color .15s,border-color .15s;display:inline-flex}.bg-demo-toolbar button:hover{color:var(--foreground);background:var(--accent)}.bg-demo-toolbar button[aria-pressed=true]{border-color:color-mix(in oklch, var(--brand) 28%, transparent);color:var(--highlight);background:color-mix(in oklch, var(--brand) 10%, var(--card))}.bg-demo-toolbar button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.bg-demo-toolbar button svg{flex-shrink:0}.bg-demo-swatch{border:1px solid color-mix(in oklch, var(--foreground) 20%, transparent);border-radius:4px;flex-shrink:0;width:17px;height:17px;display:block}.bg-demo-swatch--transparent,.bg-demo-scene--transparent{background-color:var(--card);background-image:conic-gradient(color-mix(in oklch, var(--foreground) 13%, var(--card)) 25%, transparent 0 50%, color-mix(in oklch, var(--foreground) 13%, var(--card)) 0 75%, transparent 0);background-size:24px 24px}.bg-demo-swatch--transparent{background-size:8px 8px}.bg-demo-swatch--studio,.bg-demo-scene--studio{background:#e9ddd0}.bg-demo-comparison{width:100%;min-width:0;margin:0}.bg-demo-stage{aspect-ratio:16/9;isolation:isolate;border:1px solid var(--border);background:var(--muted);border-radius:16px;width:100%;position:relative;overflow:hidden}.bg-demo-scene{position:absolute;inset:0;overflow:hidden}.bg-demo-room,.bg-demo-subject{-webkit-user-select:none;user-select:none;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.bg-demo-room{object-fit:cover}.bg-demo-subject{object-fit:contain;object-position:center bottom}.bg-demo-stage--product .bg-demo-subject{object-position:center;width:84%;height:80%;inset:10% 8%}.bg-demo-scene--after{clip-path:inset(0 0 0 var(--bg-demo-position))}.bg-demo-badge{z-index:1;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none;background:#0e0f12ab;border:1px solid #ffffff26;border-radius:7px;max-width:calc(50% - 24px);padding:6px 10px;font-size:11px;font-weight:500;line-height:16px;position:absolute;top:14px}.bg-demo-badge--before{left:14px}.bg-demo-badge--after{text-align:right;right:14px}.bg-demo-slider{z-index:3;appearance:none;cursor:ew-resize;touch-action:pan-y;background:0 0;border:0;outline:none;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}.bg-demo-slider::-webkit-slider-runnable-track{background:0 0;height:100%}.bg-demo-slider::-webkit-slider-thumb{appearance:none;background:0 0;border:0;width:1px;height:100%}.bg-demo-slider::-moz-range-track{background:0 0;height:100%}.bg-demo-slider::-moz-range-thumb{background:0 0;border:0;border-radius:0;width:1px;height:100%}.bg-demo-divider{z-index:2;inset-block:0;left:var(--bg-demo-position);pointer-events:none;background:#fff;width:2px;position:absolute;transform:translate(-50%);box-shadow:0 0 12px #0000004d}.bg-demo-handle{color:#171717;background:#fff;border:1px solid #fff9;border-radius:50%;place-items:center;width:40px;height:40px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 16px #0003}.bg-demo-slider:focus-visible+.bg-demo-divider{background:var(--brand)}.bg-demo-slider:focus-visible+.bg-demo-divider .bg-demo-handle{outline:3px solid var(--brand);outline-offset:3px}.bg-demo-comparison-caption{color:var(--muted-foreground);text-align:center;justify-content:center;align-items:center;gap:7px;margin-top:12px;font-size:12px;line-height:18px;display:flex}.bg-demo-comparison-caption svg{flex-shrink:0}.bg-demo-note{max-width:620px;color:var(--muted-foreground);text-align:center;text-wrap:pretty;margin:10px auto 0;font-size:11px;line-height:18px}.bg-demo-examples-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.bg-demo-example{border:1px solid var(--border);background:var(--card);border-radius:22px;min-width:0;padding:12px}.bg-demo-example-copy{padding:22px 14px 16px}.bg-demo-example-copy h3{color:var(--foreground);letter-spacing:-.02em;margin:0 0 8px;font-size:19px;font-weight:600;line-height:27px}.bg-demo-example-copy p{color:var(--muted-foreground);text-wrap:pretty;margin:0;font-size:14px;line-height:24px}.bg-demo-examples>.bg-demo-note{margin-top:18px}@media (width<=760px){.bg-demo-examples-grid{grid-template-columns:minmax(0,1fr);gap:18px}.bg-demo-toolbar{gap:8px}.bg-demo-toolbar button{min-height:40px}.bg-demo-badge{padding:4px 7px;font-size:10px;top:10px}.bg-demo-badge--before{left:10px}.bg-demo-badge--after{right:10px}.bg-demo-handle{width:34px;height:34px}}@media (prefers-reduced-motion:reduce){.bg-demo-toolbar button{transition:none}}.compare-video{width:min(100%, var(--compare-video-width,760px));margin:0 auto}.compare-video-stage{border:1px solid var(--border);-webkit-user-select:none;user-select:none;background:#000;border-radius:14px;position:relative;overflow:clip}.compare-video-media,.compare-video-after{width:100%;height:100%;position:absolute;inset:0}.compare-video-media{object-fit:cover;display:block}.compare-video-labels-above{color:var(--muted-foreground);justify-content:space-between;padding:0 4px 8px;font-size:12px;font-weight:500;display:flex}.compare-video-label{z-index:1;color:#fff;pointer-events:none;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0000009e;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:600;position:absolute;top:12px}.compare-video-label--before{left:12px}.compare-video-label--after{right:12px}.compare-video-divider{pointer-events:none;background:#fff;width:2px;position:absolute;inset-block:0;transform:translate(-50%);box-shadow:0 0 12px #00000080}.compare-video-handle{color:#171717;background:#fff;border-radius:999px;place-items:center;width:36px;height:36px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 10px #0000004d}.compare-video-input{z-index:2;opacity:0;cursor:ew-resize;touch-action:pan-y;width:100%;height:100%;margin:0;position:absolute;inset:0}.compare-video-stage:has(.compare-video-input:focus-visible){outline:3px solid var(--primary);outline-offset:4px}.compare-video figcaption{color:var(--muted-foreground);text-align:center;padding-top:12px;font-size:12px;line-height:1.6}.lip-sync-estimate{color:var(--foreground);margin:12px 0;font-size:13px;line-height:1.7}.lip-sync-guide{max-width:1120px;margin:0 auto;padding:60px 24px}.lip-sync-guide-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:30px 0 50px;display:grid}.lip-sync-guide-grid h3{margin-bottom:12px;font-size:17px;font-weight:600}.lip-sync-guide-grid p,.lip-sync-faq p{color:var(--muted-foreground);font-size:14px;line-height:1.8}.lip-sync-faq h2{margin-bottom:16px;font-size:24px;font-weight:600}.lip-sync-faq details{border-bottom:1px solid var(--border);padding:16px 0}.lip-sync-faq summary{cursor:pointer;font-size:15px}.lip-sync-guide>a{color:var(--primary);margin-top:28px;text-decoration:underline;display:inline-block}.vt-transcript-review{border:1px solid var(--border);border-radius:10px;width:100%;min-width:0;padding:14px}.vt-transcript-review summary{cursor:pointer;font-size:13px}.vt-transcript-review ol{max-height:440px;margin:16px 0 0;padding-left:20px;overflow-y:auto}.vt-transcript-review li{margin-bottom:16px}.vt-transcript-review p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;font-size:13px;line-height:1.7}.vt-transcript-review small{color:var(--muted-foreground);font-size:11px}@media (width<=640px){.lip-sync-guide-grid{grid-template-columns:1fr;gap:18px}.lip-sync-guide{padding:42px 20px}}.voice-picker-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.voice-picker-heading .vt-field-label{margin-bottom:10px}.voice-picker-samples{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.voice-picker-languages{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.voice-picker-languages button{border:1px solid var(--border);min-height:30px;color:var(--muted-foreground);cursor:pointer;background:0 0;border-radius:999px;padding:4px 12px;font-size:12px;transition:color .15s,border-color .15s,background .15s}.voice-picker-languages button:hover{color:var(--foreground)}.voice-picker-languages button.is-selected{border-color:var(--primary);background:var(--primary);color:var(--primary-foreground);font-weight:500}.voice-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.voice-picker-card{border:1px solid var(--border);border-radius:12px;align-items:center;gap:6px;min-width:0;padding:6px 6px 6px 12px;transition:border-color .15s,background .15s;display:flex}.voice-picker-card:hover{border-color:color-mix(in oklch, var(--primary) 45%, var(--border))}.voice-picker-card.is-selected{border-color:var(--primary);background:color-mix(in oklch, var(--primary) 12%, transparent)}.voice-picker-select{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;padding:2px 0}.voice-picker-name{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;display:block;overflow:hidden}.voice-picker-detail{color:var(--muted-foreground);font-size:11px;display:block}.voice-picker-play{width:32px;height:32px;color:var(--primary);cursor:pointer;background:0 0;border:0;border-radius:999px;flex-shrink:0;place-items:center;display:grid}.voice-picker-play:hover{background:color-mix(in oklch, var(--primary) 14%, transparent)}.voice-picker-select:focus-visible,.voice-picker-play:focus-visible,.voice-picker-languages button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.reframe-preview{text-align:left;width:100%;min-width:0;max-width:1040px}.reframe-preview-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.reframe-preview-views{border:1px solid var(--border);background:var(--card);border-radius:11px;gap:4px;padding:4px;display:flex}.reframe-preview button,.reframe-example-tabs button{min-height:36px;color:var(--muted-foreground);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:12px;font-weight:500;line-height:18px;transition:color .15s,background-color .15s,border-color .15s;display:inline-flex}.reframe-preview button:not(:disabled):hover,.reframe-example-tabs button:hover{color:var(--foreground);background:var(--accent)}.reframe-preview button[aria-pressed=true],.reframe-example-tabs button[aria-pressed=true]{border-color:color-mix(in oklch, var(--brand) 30%, transparent);color:var(--highlight);background:color-mix(in oklch, var(--brand) 10%, var(--card))}.reframe-preview button:focus-visible,.reframe-preview input:focus-visible,.reframe-example-tabs button:focus-visible,.reframe-bounds-toggle input:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.reframe-ratio-badge{border:1px solid var(--border);color:var(--muted-foreground);font-variant-numeric:tabular-nums;border-radius:7px;flex-shrink:0;padding:7px 10px;font-size:12px;line-height:18px}.reframe-stage-wrap,.reframe-example-stage-wrap{justify-content:center;align-items:center;width:100%;display:flex}.reframe-expansion-stage,.reframe-example-stage{isolation:isolate;outline:1px solid var(--border);outline-offset:-1px;background:#111214;border-radius:14px;flex-shrink:0;position:relative;overflow:hidden}.reframe-expansion-stage[data-expansion=true]{background-color:color-mix(in oklch, var(--foreground) 5%, var(--background));background-image:repeating-linear-gradient(135deg, transparent, transparent 10px, color-mix(in oklch, var(--foreground) 6%, transparent) 10px, color-mix(in oklch, var(--foreground) 6%, transparent) 11px)}.reframe-original-window{background:#0b0c0d;position:absolute;overflow:hidden}.reframe-original-window>video{object-fit:contain;width:100%;height:100%;display:block}.reframe-original-window>img,.reframe-example-stage>img{object-fit:fill;-webkit-user-select:none;user-select:none;max-width:none;max-height:none;display:block;position:absolute}.reframe-original-window[data-outlined=true]:after{border:2px solid color-mix(in oklch, var(--brand) 80%, white);content:"";pointer-events:none;position:absolute;inset:0}.reframe-area-label,.reframe-example-bounds>span{color:#fff;pointer-events:none;background:#000000a6;border:1px solid #ffffff2e;border-radius:5px;max-width:calc(100% - 20px);padding:5px 8px;font-size:10px;font-weight:500;line-height:16px;position:absolute;top:10px;left:10px}.reframe-expansion-label{color:var(--muted-foreground);text-align:center;pointer-events:none;flex-direction:column;align-items:center;gap:7px;font-size:11px;font-weight:500;line-height:17px;display:flex;position:absolute;transform:translate(-50%,-50%)}.reframe-expansion-label svg{color:var(--highlight);flex-shrink:0}.reframe-preview-status{color:#eee;text-align:center;background:#090a0bd1;place-items:center;padding:24px;font-size:13px;line-height:22px;display:grid;position:absolute;inset:0}.reframe-video-playback{align-items:center;gap:10px;margin-top:12px;display:flex}.reframe-video-playback button{color:var(--foreground);flex-shrink:0;padding:8px}.reframe-video-playback input{width:100%;min-width:0;height:24px;accent-color:var(--brand);cursor:pointer;border-radius:4px;flex:1;margin:0}.reframe-video-time{color:var(--muted-foreground);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:11px}.reframe-preview input:disabled,.reframe-preview button:disabled{cursor:not-allowed;opacity:.4}.reframe-expansion-info{border:1px solid var(--border);background:var(--card);border-radius:12px;margin-top:18px;padding:16px 18px}.reframe-expansion-legend{flex-wrap:wrap;gap:10px 24px;display:flex}.reframe-expansion-legend>span{color:var(--muted-foreground);align-items:center;gap:7px;font-size:11px;line-height:18px;display:inline-flex}.reframe-expansion-legend i{border:1px solid var(--border);border-radius:3px;width:12px;height:12px}.reframe-expansion-legend .reframe-legend-original{border-color:var(--brand);background:color-mix(in oklch, var(--brand) 15%, transparent)}.reframe-legend-expansion{background:repeating-linear-gradient(135deg, transparent, transparent 2px, var(--muted-foreground) 2px, var(--muted-foreground) 3px)}.reframe-preserve-note{color:var(--foreground);align-items:flex-start;gap:8px;margin:14px 0 0;font-size:12px;line-height:20px;display:flex}.reframe-preserve-note>svg{color:var(--highlight);flex-shrink:0;margin-top:2px}.reframe-preview-dimensions{border-top:1px solid var(--border);flex-wrap:wrap;gap:10px 24px;margin-top:14px;padding-top:12px;display:flex}.reframe-preview-dimensions>span{color:var(--muted-foreground);flex-wrap:wrap;gap:8px;font-size:11px;line-height:18px;display:flex}.reframe-preview-dimensions strong{color:var(--foreground);font-variant-numeric:tabular-nums;font-weight:500}.reframe-preview .reframe-preview-note,.reframe-examples .reframe-illustration-note{max-width:760px;color:var(--muted-foreground);text-align:center;margin:12px auto 0;font-size:11px;line-height:18px}.reframe-examples{width:100%;min-width:0}.reframe-examples-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px;display:grid}.reframe-example-card{border:1px solid var(--border);background:var(--card);border-radius:20px;min-width:0;padding:22px}.reframe-example-ratio{color:var(--highlight);font-variant-numeric:tabular-nums;align-items:center;gap:9px;margin-bottom:12px;font-size:12px;font-weight:500;display:inline-flex}.reframe-example-copy>h3{letter-spacing:-.02em;color:var(--foreground);margin:0 0 8px;font-size:20px;line-height:28px}.reframe-example-copy>p{color:var(--muted-foreground);text-wrap:pretty;margin:0 0 20px;font-size:14px;line-height:24px}.reframe-example-tabs{width:fit-content;max-width:100%;margin-bottom:18px}.reframe-example-stage-wrap{background:color-mix(in oklch, var(--foreground) 3%, var(--background));border-radius:12px;min-height:300px;padding:16px 0}.reframe-example-bounds{box-sizing:border-box;pointer-events:none;border:2px dashed #fff;position:absolute;box-shadow:0 0 0 1px #00000040}.reframe-bounds-toggle{width:fit-content;color:var(--muted-foreground);cursor:pointer;align-items:center;gap:8px;margin:16px 0 0;font-size:12px;line-height:20px;display:flex}.reframe-bounds-toggle input{width:15px;height:15px;accent-color:var(--brand);margin:0}.reframe-bounds-toggle:has(input:disabled){opacity:.45;cursor:not-allowed}@media (width<=760px){.reframe-examples-grid{grid-template-columns:minmax(0,1fr);gap:18px}.reframe-expansion-stage,.reframe-example-stage{border-radius:10px}.reframe-expansion-info{padding:12px}.reframe-preview-toolbar{gap:8px}.reframe-preview-views{min-width:0}.reframe-preview-views button{padding:7px 9px;font-size:11px}.reframe-preview-views button>svg{flex-shrink:0}.reframe-ratio-badge{padding:6px 8px;font-size:11px}.reframe-example-card{padding:16px}.reframe-video-playback{gap:6px}.reframe-area-label,.reframe-example-bounds>span{padding:3px 5px;font-size:9px;top:6px;left:6px}.reframe-example-stage-wrap{min-height:230px}}@media (prefers-reduced-motion:reduce){.reframe-preview button,.reframe-example-tabs button{transition:none}}.reframe-page .vt-preview-description{max-width:620px;color:var(--muted-foreground);margin:0;font-size:14px;line-height:1.7}.reframe-page .vt-workspace--upscaler>.vt-preview-panel{align-self:start;padding-top:45px;position:sticky;top:70px}.reframe-page .vt-option{min-height:94px}.reframe-page .vt-option-hint{background:color-mix(in oklch, var(--foreground) 4%, transparent);border-radius:3px;width:100%;padding:3px 4px;font-size:10px}.reframe-samples{margin:-4px 0 26px}.reframe-samples>p{color:var(--muted-foreground);margin:0 0 9px;font-size:12px}.reframe-samples>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.reframe-samples button{border:1px solid var(--border);background:var(--muted);min-width:0;color:var(--foreground);cursor:pointer;text-align:left;border-radius:9px;padding:0;overflow:hidden}.reframe-samples img{aspect-ratio:16/9;object-fit:cover;width:100%;height:auto}.reframe-samples span{padding:7px 9px;font-size:11px;display:block}.reframe-samples button:hover,.reframe-samples button[aria-pressed=true]{border-color:var(--brand)}.reframe-samples button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}@media (width<=1000px){.reframe-page .vt-workspace--upscaler>.vt-preview-panel{position:static}}.vts-picker,.vts-gallery{border:0;min-width:0;margin:0;padding:0}.vts-legend{width:100%;margin-bottom:8px;padding:0}.vts-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.vts-label{color:var(--foreground);font-size:12px;font-weight:600;line-height:18px}.vts-view-all{min-height:44px;color:var(--muted-foreground);text-align:right;cursor:pointer;border-radius:5px;justify-content:flex-end;align-items:center;gap:3px;margin-block:-10px;padding:0 2px 0 8px;font-size:11px;line-height:16px;display:inline-flex}.vts-view-all:hover{color:var(--foreground)}.vts-thumbnails{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.vts-card{background:color-mix(in oklch, var(--foreground) 4%, var(--card));cursor:pointer;border:1px solid #0000;border-radius:9px;flex-direction:column;gap:7px;min-width:0;min-height:44px;padding:4px 4px 7px;transition:border-color .15s,background-color .15s;display:flex;position:relative}.vts-card:hover{border-color:color-mix(in oklch, var(--foreground) 24%, transparent)}.vts-card.is-selected{border-color:var(--brand);background:color-mix(in oklch, var(--brand) 9%, var(--card))}.vts-radio{z-index:1;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.vts-view-all:focus-visible,.vts-dialog-close:focus-visible,.vts-cancel:focus-visible,.vts-apply:focus-visible,.vts-search-clear:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.vts-card:has(.vts-radio:focus-visible){outline:2px solid var(--brand);outline-offset:3px}.vts-image{aspect-ratio:1;background:var(--muted);border-radius:6px;display:block;position:relative;overflow:hidden}.vts-image img{object-fit:cover;width:100%;height:100%;display:block}.vts-image-fallback{width:100%;height:100%;color:var(--muted-foreground);justify-content:center;align-items:center;display:flex}.vts-check{color:#fff;background:#00000047;border:1px solid #fffc;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;display:flex;position:absolute;top:5px;right:5px}.vts-card.is-selected .vts-check{border-color:var(--brand);background:var(--brand);color:var(--brand-foreground)}.vts-caption{color:var(--foreground);text-align:center;overflow-wrap:anywhere;font-size:11px;font-weight:500;line-height:16px}.vts-hint,.vts-card-hint{color:var(--muted-foreground);margin-top:8px;font-size:11px;line-height:17px}.vts-dialog[data-slot=dialog-content]{flex-direction:column;gap:18px;width:min(1120px,100vw - 32px);max-width:1120px;max-height:calc(100svh - 48px);padding:24px;display:flex;overflow:hidden}.vts-dialog-header{flex-shrink:0;padding-right:40px}.vts-dialog-title{font-size:21px;font-weight:600;line-height:28px}.vts-dialog-close{width:44px;height:44px;color:var(--muted-foreground);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;display:flex;position:absolute;top:14px;right:14px}.vts-dialog-close:hover,.vts-cancel:hover,.vts-search-clear:hover{background:var(--muted);color:var(--foreground)}.vts-toolbar{flex-shrink:0;justify-content:space-between;align-items:center;gap:14px;display:flex}.vts-search{border:1px solid var(--border);background:var(--background);min-width:0;max-width:460px;min-height:44px;color:var(--muted-foreground);border-radius:8px;flex:1;align-items:center;gap:10px;padding-left:12px;display:flex}.vts-search:focus-within{border-color:var(--brand);outline:2px solid color-mix(in oklch, var(--brand) 25%, transparent);outline-offset:1px}.vts-search>svg{flex-shrink:0}.vts-search input{width:100%;min-width:0;min-height:42px;color:var(--foreground);background:0 0;outline:none;padding-right:10px;font-size:13px;line-height:20px}.vts-search input::placeholder{color:var(--muted-foreground)}.vts-search input::-webkit-search-cancel-button{display:none}.vts-search-clear{cursor:pointer;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:42px;min-height:42px;display:flex}.vts-result-count{color:var(--muted-foreground);margin:0;font-size:12px;line-height:18px}.vts-gallery-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;max-height:560px;margin:-4px;padding:4px;overflow-y:auto}.vts-gallery{grid-template-columns:repeat(6,minmax(0,1fr));align-items:start;gap:12px;display:grid}.vts-empty{min-height:200px;color:var(--muted-foreground);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;margin:0;padding:24px;font-size:14px;line-height:22px;display:flex}.vts-card--large{border-color:var(--border);border-radius:12px;gap:10px;padding:6px 6px 12px}.vts-card--large .vts-image{aspect-ratio:3/4;border-radius:8px}.vts-card--large .vts-caption{font-size:13px;line-height:19px}.vts-card--large .vts-check{width:22px;height:22px;top:8px;right:8px}.vts-card-hint{text-align:center;margin:0}.vts-dialog-footer{border-top:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;padding-top:16px;display:flex}.vts-selection{color:var(--muted-foreground);flex-wrap:wrap;gap:4px 8px;margin:10px 0 0;font-size:11px;line-height:17px;display:flex}.vts-selection strong{color:var(--foreground);font-weight:500}.vts-draft-selection{min-width:0;margin:0;font-size:12px;line-height:18px}.vts-dialog-actions{flex-shrink:0;gap:10px;margin-left:auto;display:flex}.vts-cancel,.vts-apply{border:1px solid var(--border);min-height:44px;color:var(--foreground);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 18px;font-size:13px;font-weight:500;line-height:20px;display:inline-flex}.vts-apply{border-color:var(--brand);background:var(--brand);color:var(--brand-foreground)}.vts-apply:hover{filter:brightness(.94)}.vts-apply:disabled{opacity:.5;cursor:not-allowed}@media (width<=1100px){.vts-gallery{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (width<=800px){.vts-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=560px){.vts-dialog[data-slot=dialog-content]{gap:14px;width:calc(100vw - 24px);max-height:calc(100svh - 24px);padding:16px}.vts-dialog-title{font-size:19px;line-height:25px}.vts-dialog-close{top:8px;right:8px}.vts-toolbar{flex-direction:column;align-items:stretch;gap:8px}.vts-search{max-width:none}.vts-result-count{font-size:11px}.vts-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.vts-card--large .vts-image{aspect-ratio:1}.vts-dialog-footer{flex-direction:column;align-items:stretch;padding-top:12px}.vts-dialog-actions{width:100%;margin:0}.vts-dialog-actions>*{flex:1}}@media (prefers-reduced-motion:reduce){.vts-card{transition:none}}.restyle-page .vt-preview-description{max-width:560px;color:var(--muted-foreground);text-wrap:pretty;margin:0;font-size:14px;line-height:1.7}.restyle-page .vt-preview-panel{align-self:start;position:sticky;top:76px}.vtr-demo{width:100%;max-width:960px;margin:0}.vtr-demo-frame{aspect-ratio:16/10;border:1px solid var(--border);background:var(--muted);border-radius:16px;position:relative;overflow:hidden}.vtr-demo-frame>img{object-fit:cover;width:100%;height:100%;display:block}.vtr-demo-overlay{color:#fff;background:linear-gradient(#0000,#000000bf);justify-content:space-between;align-items:center;gap:12px;padding:38px 20px 18px;font-size:13px;display:flex;position:absolute;inset:auto 0 0}.vtr-demo-overlay>span:first-child{align-items:center;gap:8px;font-weight:600;display:inline-flex}.vtr-demo-overlay>span:last-child{font-variant-numeric:tabular-nums}.vtr-demo figcaption,.vtr-example-note{color:var(--muted-foreground);margin:12px 0 0;font-size:12px;line-height:1.7}.vtr-selection{border:1px solid var(--border);background:var(--card);border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;width:100%;max-width:960px;margin-top:24px;padding:16px;display:flex}.vtr-selection>img{object-fit:cover;border-radius:7px;width:72px;height:56px}.vtr-selection-copy{flex:1;min-width:120px}.vtr-selection-label{color:var(--muted-foreground);font-size:10px;display:block}.vtr-selection strong{margin-top:3px;font-size:13px;display:block}.vtr-selection-copy p{color:var(--muted-foreground);margin-top:4px;font-size:11px;line-height:1.6}.vtr-scope{background:color-mix(in oklch, var(--brand) 10%, var(--card));color:var(--highlight);border-radius:6px;align-items:center;gap:6px;padding:6px 9px;font-size:11px;line-height:1.5;display:inline-flex}.vtr-selection-note{border-top:1px solid var(--border);color:var(--muted-foreground);flex-basis:100%;margin:0;padding-top:10px;font-size:11px;line-height:1.6}.vtr-examples{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;display:grid}.vtr-examples article{border:1px solid var(--border);background:var(--card);border-radius:14px;overflow:hidden}.vtr-examples img{aspect-ratio:16/10;object-fit:cover;width:100%;height:auto;display:block}.vtr-examples article>div{padding:18px}.vtr-examples h3{margin:0;font-size:16px}.vtr-examples article p{color:var(--muted-foreground);margin-top:8px;font-size:13px;line-height:1.7}@media (width<=1000px){.restyle-page .vt-preview-panel{position:static}.vtr-examples{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=480px){.vtr-examples{grid-template-columns:minmax(0,1fr)}.vtr-demo-overlay{padding-inline:14px}.vtr-selection{padding:12px}}.translator-demo,.translator-demo-examples{width:100%;min-width:0}.translator-demo{max-width:960px}.translator-demo-toolbar{flex-wrap:wrap;margin-bottom:16px;display:flex}.translator-demo-tabs{border:1px solid var(--border);background:var(--card);border-radius:11px;flex-wrap:wrap;gap:4px;min-width:0;padding:4px;display:inline-flex}.translator-demo-tabs button,.translator-demo-language-options button{min-height:36px;color:var(--muted-foreground);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;padding:8px 12px;font-size:12px;font-weight:500;line-height:18px;transition:background-color .15s,color .15s,border-color .15s;display:inline-flex}.translator-demo-tabs button:hover,.translator-demo-language-options button:hover{color:var(--foreground);background:var(--accent)}.translator-demo-tabs button[aria-pressed=true],.translator-demo-language-options button[aria-pressed=true]{border-color:color-mix(in oklch, var(--brand) 28%, transparent);color:var(--highlight);background:color-mix(in oklch, var(--brand) 10%, var(--card))}.translator-demo-tabs button:focus-visible,.translator-demo-language-options button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.translator-demo-scene{aspect-ratio:16/9;isolation:isolate;border:1px solid var(--border);background:var(--muted);border-radius:16px;width:100%;min-width:0;margin:0;position:relative;overflow:hidden;container-type:inline-size}.translator-demo-scene>img{object-fit:cover;object-position:center;width:100%;height:100%;display:block;position:absolute;inset:0}.translator-demo-language-badge{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0e0f12b8;border:1px solid #ffffff2e;border-radius:7px;align-items:center;gap:7px;max-width:calc(100% - 28px);padding:6px 10px;font-size:11px;font-weight:500;line-height:16px;display:inline-flex;position:absolute;top:14px;left:14px}.translator-demo-language-badge svg{flex-shrink:0}.translator-demo-caption{color:#fff;text-align:center;text-shadow:0 1px 2px #0000004d;justify-content:center;font-size:clamp(11px,2.3cqw,22px);font-weight:500;line-height:1.5;display:flex;position:absolute;bottom:7%;left:6%;right:6%}.translator-demo-caption>span{text-wrap:balance;overflow-wrap:anywhere;background:#0a0c10cc;border-radius:.25em;max-width:100%;padding:.3em .7em}.translator-demo-text-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.translator-demo-text-card{border:1px solid var(--border);background:var(--card);border-radius:12px;min-width:0;padding:16px 18px}.translator-demo-text-card--translated{border-color:color-mix(in oklch, var(--brand) 26%, var(--border));background:color-mix(in oklch, var(--brand) 4%, var(--card))}.translator-demo-text-heading{color:var(--muted-foreground);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;font-size:11px;line-height:16px;display:flex}.translator-demo-text-heading>span:first-child{color:var(--foreground);font-weight:600}.translator-demo-text-card--translated .translator-demo-text-heading>span:first-child{color:var(--highlight)}.translator-demo-text-card p{color:var(--foreground);overflow-wrap:anywhere;margin:10px 0 0;font-size:14px;line-height:1.7}.translator-demo .translator-demo-note,.translator-demo-examples .translator-demo-note{max-width:640px;color:var(--muted-foreground);text-align:center;text-wrap:pretty;margin:14px auto 0;font-size:11px;line-height:18px}.translator-demo-examples-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.translator-demo-example{border:1px solid var(--border);background:var(--card);border-radius:22px;min-width:0;padding:12px}.translator-demo-example-copy{padding:16px 14px}.translator-demo-language-options{flex-wrap:wrap;gap:5px;margin-bottom:20px;display:flex}.translator-demo-language-options button{border-color:var(--border);font-size:11px}.translator-demo-example-copy h3{color:var(--foreground);letter-spacing:-.02em;margin:0 0 8px;font-size:19px;font-weight:600;line-height:27px}.translator-demo-example-copy p{color:var(--muted-foreground);text-wrap:pretty;margin:0;font-size:14px;line-height:24px}.translator-demo-examples>.translator-demo-note{margin-top:18px}@media (width<=760px){.translator-demo-text-grid,.translator-demo-examples-grid{grid-template-columns:minmax(0,1fr)}.translator-demo-examples-grid{gap:18px}.translator-demo-tabs button,.translator-demo-language-options button{min-height:40px}.translator-demo-scene{border-radius:12px}.translator-demo-language-badge{padding:4px 7px;font-size:10px;top:10px;left:10px}.translator-demo-text-card{padding:14px 16px}}@media (prefers-reduced-motion:reduce){.translator-demo-tabs button,.translator-demo-language-options button{transition:none}}
