.motion-home-stage{width:100%;max-width:1440px;margin:0 auto;padding:0 24px 40px}.motion-home-hero{width:100%;max-width:none;margin:0;padding:32px 0 28px;text-align:center}.motion-home-hero h1{max-width:100%;margin-inline:auto;font-size:clamp(2.5rem,4.4vw,3.5rem);font-weight:650;line-height:1.12;letter-spacing:-.045em;text-wrap:balance}.motion-home-hero .motion-hero-description{max-width:42rem;margin:20px auto 0;font-size:17px;line-height:1.6;text-wrap:pretty}.motion-hero-identity{max-width:40rem;margin:14px auto 0;font-size:14px;line-height:1.5;color:var(--muted-foreground);text-wrap:pretty}@media (min-width:768px){[data-motion-page=HiggsfieldGenjutsuMotionTransferPage] .motion-home-hero h1{max-width:none;font-size:clamp(1.75rem,3.5vw,3.125rem);white-space:nowrap;text-wrap:nowrap}}.motion-eyebrow{margin-bottom:24px;font-size:12px;font-weight:600;letter-spacing:.13em;text-transform:uppercase}.motion-hero-description{max-width:460px;margin-top:24px;font-size:15px;line-height:1.8;color:var(--muted-foreground)}.motion-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:30px}.motion-primary-link{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:48px;padding:12px 20px;border-radius:8px;background:var(--motion-highlight);color:var(--motion-highlight-ink);font-weight:600;font-size:14px;transition:background .16s}.motion-primary-link:hover{background:#d4eb67}.motion-text-link{display:inline-flex;align-items:center;gap:6px;min-height:40px;font-size:12px;font-weight:500;color:var(--muted-foreground)}.motion-text-link:hover{color:var(--foreground)}.motion-hero-tags{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:28px;font-size:10px;color:var(--muted-foreground)}.motion-hero-tags span{border-top:1px solid var(--border);padding-top:9px}.motion-landing-nav-link{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:550;color:var(--muted-foreground);white-space:nowrap}.motion-landing-nav-link:hover{background:var(--secondary);color:var(--foreground)}.motion-home-trends{overflow:hidden;padding-block:56px}.motion-home-trends-frame{width:100%;max-width:1440px;margin:0 auto;padding-inline:24px}.motion-trends-heading h2{font-size:clamp(28px,3vw,38px);font-weight:650;letter-spacing:-.03em}.motion-trends-heading p{margin-top:12px;color:var(--muted-foreground);max-width:640px;line-height:1.7}.motion-trends-carousel{--trend-height:270px;position:relative;margin-top:28px}.motion-trends-controls{position:absolute;inset:0 -20px auto;top:calc(var(--trend-height) / 2 - 21px);z-index:2;display:flex;justify-content:space-between;pointer-events:none}.motion-trends-controls button{pointer-events:auto;box-shadow:0 2px 12px rgb(0 0 0/12%);display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--border);border-radius:50%;background:var(--card);cursor:pointer}.motion-trends-controls button:disabled{opacity:.35;cursor:default}.motion-trend-card a:focus-visible,.motion-trends-controls button:focus-visible{outline:2px solid var(--foreground);outline-offset:3px}.motion-trends-rail{display:flex;align-items:flex-start;gap:18px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:4px;padding:4px 4px 16px;list-style:none;scrollbar-width:thin;scrollbar-color:var(--border) transparent}.motion-trend-card{flex:0 0 calc(var(--trend-height) * var(--trend-ratio));min-width:0;scroll-snap-align:start}.motion-trend-card a{display:block;height:100%;overflow:hidden;border:1px solid var(--border);border-radius:20px;background:var(--card);transition:border-color .15s}.motion-trend-card a:hover{border-color:var(--foreground)}.motion-trend-cover{aspect-ratio:var(--trend-ratio)}.motion-trend-cover video{display:block;width:100%;height:100%;object-fit:cover}.motion-trend-copy{padding:10px 12px}.motion-trend-copy h3{display:flex;min-height:40px;align-items:center;justify-content:space-between;gap:8px;font-weight:650;font-size:14px;line-height:1.4}@media (max-width:640px){.motion-home-trends{padding-block:40px}.motion-trends-carousel{--trend-height:300px}.motion-trends-controls{left:-12px;right:-12px}.motion-trends-controls button{width:36px;height:36px}.motion-trends-rail{gap:14px}.motion-trend-card{flex-basis:min(calc(var(--trend-height) * var(--trend-ratio)),82%)}}.motion-home-workspace{width:100%;padding:28px 32px 48px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--muted)}.motion-home-workspace>div{max-width:1360px;margin-inline:auto}.motion-home-stage .motion-home-workspace{padding:0;border:0;background:transparent}.motion-home-stage .motion-home-workspace>div{max-width:none;margin:0}.motion-home-stage .motion-input-panel{padding:14px 14px 12px}.motion-home-stage .motion-upload-zone{min-height:76px}.motion-studio-heading{margin-bottom:16px}.motion-studio-heading h2{font-size:30px;font-weight:600;line-height:1.2;letter-spacing:-.045em}.motion-studio-heading p{margin-top:6px;color:var(--muted-foreground);font-size:13px}.motion-input-panel,.motion-template-panel{min-width:0;padding:24px;border:1px solid var(--border);border-radius:12px;background:var(--card)}.motion-input-panel{display:flex;flex-direction:column}.motion-input-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:14px;font-weight:600}.motion-input-symbol{align-items:center;gap:5px;font-size:11px}.motion-field,.motion-input-symbol{display:flex;color:var(--muted-foreground)}.motion-field{flex-direction:column;gap:8px;font-size:12px}.motion-fixed-model strong{color:var(--foreground);font-size:14px;font-weight:650}.motion-fixed-model p{margin:0;line-height:1.4}.motion-field select{width:100%;height:42px;padding:0 12px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);font-size:12px}.motion-media-slot{position:relative;min-width:0;margin-bottom:12px}.motion-upload-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:84px;padding:12px 10px;border:1px dashed #bdc5b8;border-radius:8px;background:var(--background);color:var(--foreground);font-size:13px;text-align:center;cursor:pointer;transition:border-color .16s,background .16s}.motion-upload-zone>svg{margin-bottom:5px;stroke-width:1.5}.motion-media-slot:focus-within .motion-upload-zone,.motion-upload-zone:hover{border-color:var(--ring);background:color-mix(in srgb,var(--accent) 14%,var(--card))}.motion-upload-zone:disabled{cursor:wait;opacity:.6}.motion-slot-filled{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--background)}.motion-remove,.motion-replace{position:absolute;top:8px;display:flex;align-items:center;gap:5px;padding:7px;border:1px solid var(--border);border-radius:6px;background:var(--card);font-size:11px;cursor:pointer}.motion-replace{right:8px;padding-inline:9px}.motion-remove{left:8px}.motion-settings-trigger{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-height:40px;padding:10px 0;color:var(--muted-foreground);font-size:11px;cursor:pointer}.motion-settings-label{margin-right:auto;font-size:12px;color:var(--foreground)}.motion-task-switch{padding:4px;border:1px solid var(--border);border-radius:8px;background:var(--muted)}.motion-task-choice{padding:10px 6px;border-radius:5px;color:var(--muted-foreground);font-size:11px;cursor:pointer}.motion-task-choice[aria-pressed=true]{background:var(--foreground);color:var(--background)}.motion-task-choice:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.motion-task-choice:disabled{cursor:wait}.motion-settings{display:grid;gap:14px;padding:16px;margin:4px 0 12px;border:1px solid var(--border);border-radius:8px;background:var(--background)}.motion-settings textarea{width:100%;padding:10px;resize:vertical;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);font-size:13px}.motion-consent{margin:10px 0 0;color:var(--muted-foreground);font-size:11px;line-height:18px}.motion-consent a{text-decoration:underline;text-underline-offset:3px}.motion-generate{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;padding:12px 16px;border:1px solid transparent;border-radius:7px;background:var(--motion-highlight);color:var(--motion-highlight-ink);font-size:14px;font-weight:650;cursor:pointer;transition:background .16s}.motion-generate:hover:not(:disabled){background:#d4eb67}.motion-generate:disabled{background:var(--motion-highlight);color:var(--motion-highlight-ink);opacity:.55;cursor:not-allowed}a.motion-generate{text-decoration:none}.motion-template-panel{container-type:inline-size;background:transparent;border-color:transparent;padding:0}.motion-template-filters{display:flex;flex-wrap:wrap;gap:4px;padding:0 0 10px;scrollbar-width:thin}.motion-template-filters button{flex:0 0 auto;min-height:28px;padding:4px 10px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--muted-foreground);font-size:11px;white-space:nowrap;cursor:pointer}.motion-template-filters button:hover{border-color:var(--border);color:var(--foreground)}.motion-template-filters button[aria-pressed=true]{background:var(--foreground);color:var(--background)}.motion-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:start}.motion-template-row{grid-column:1/-1;display:flex;align-items:start;gap:8px}.motion-template-row>div{min-width:0}.motion-template{min-width:0;text-align:left;cursor:pointer}.motion-template,.motion-template-media{position:relative;display:block;width:100%}.motion-template-media{overflow:hidden;aspect-ratio:9/16;border:1px solid transparent;border-radius:10px;background:var(--motion-media);box-shadow:0 10px 24px rgb(20 28 18/.08);transition:border-color .16s,transform .16s,box-shadow .16s}.motion-template:has(:focus-visible) .motion-template-media,.motion-template:hover .motion-template-media{transform:translateY(-2px);box-shadow:0 16px 32px rgb(20 28 18/.14)}.motion-template[data-selected=true] .motion-template-media{border-color:var(--ring);outline:2px solid var(--ring);outline-offset:2px;box-shadow:0 0 0 4px color-mix(in srgb,var(--motion-highlight) 55%,transparent)}.motion-template video{width:100%;height:100%;display:block;object-fit:contain}.motion-template-play{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgb(15 19 15/.65);color:white}.motion-template[data-selected=true] .motion-template-play{background:var(--motion-highlight);color:var(--motion-highlight-ink)}.motion-template-caption{position:absolute;inset:auto 0 0;display:grid;gap:2px;padding:28px 10px 10px;border-radius:0 0 10px 10px;background:linear-gradient(transparent,rgb(8 12 8/.78));color:white;font-size:12px;font-weight:600;letter-spacing:-.02em;opacity:0;transition:opacity .16s;pointer-events:none}.motion-template:has(:focus-visible) .motion-template-caption{opacity:1}.motion-template-regenerate{display:flex;justify-content:center;align-items:center;gap:7px;min-height:36px;width:100%;border-radius:7px;background:var(--motion-highlight);color:var(--motion-highlight-ink);font-size:13px;font-weight:650;cursor:pointer;pointer-events:none}.motion-template:has(:focus-visible) .motion-template-regenerate{pointer-events:auto}.motion-template-regenerate:disabled{opacity:.55;cursor:not-allowed}.motion-template-media:focus-visible,.motion-template-preview-close:focus-visible,.motion-template-regenerate:focus-visible{outline:2px solid var(--ring);outline-offset:2px}a.motion-template-regenerate{text-decoration:none}.motion-template-dialog{width:calc(100vw - 48px);max-width:1100px;height:min(78dvh,760px);max-height:calc(100dvh - 48px);grid-template-columns:minmax(0,1fr) 340px;gap:0;padding:0;overflow:hidden;border-radius:18px;background:var(--background)}.motion-template-preview-media{display:flex;min-height:0;min-width:0;background:#080b09}.motion-template-preview-media video{width:100%;height:100%;min-height:0;object-fit:contain}.motion-template-preview-details{display:flex;flex-direction:column;gap:22px;min-height:0;padding:32px 24px 24px;overflow-y:auto}.motion-template-preview-details h2{padding-right:22px;line-height:1.4}.motion-template-preview-model,.motion-template-preview-prompt{display:grid;gap:10px;font-size:13px}.motion-template-preview-model>span,.motion-template-preview-prompt>label{color:var(--muted-foreground)}.motion-template-preview-model strong{font-size:15px;font-weight:600}.motion-template-preview-prompt{flex:1;grid-template-rows:auto minmax(140px,1fr)}.motion-template-preview-prompt textarea{width:100%;min-height:140px;padding:14px;resize:none;border:1px solid var(--border);border-radius:10px;background:var(--muted);font-size:13px;line-height:1.65}.motion-template-preview-details>p{font-size:12px;line-height:1.6}.motion-template-preview-details .motion-generate{flex-shrink:0}.motion-template-no-prompt{flex:1;color:var(--muted-foreground)}.motion-template-preview-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--background);cursor:pointer}@media (hover:hover){.motion-template:hover .motion-template-caption{opacity:1}.motion-template:hover .motion-template-regenerate{pointer-events:auto}}@container (min-width: 560px){.motion-template-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:767px){.motion-template-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);height:calc(100dvh - 40px);max-height:calc(100dvh - 40px);grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,35%) minmax(0,1fr);border-radius:14px}.motion-template-preview-details{padding:18px;gap:14px}.motion-template-preview-prompt{grid-template-rows:auto minmax(100px,1fr)}.motion-template-preview-prompt textarea{min-height:100px}}.motion-image-list{display:grid;gap:8px;margin-bottom:12px}.motion-image-chip{grid-template-columns:48px minmax(0,1fr) auto auto;align-items:center;min-width:0;border:1px solid var(--border);border-radius:8px;padding:8px 10px;font-size:12px}.motion-image-chip,.motion-image-scroll{display:grid;gap:8px}.motion-image-thumbnail{width:48px;height:56px;object-fit:contain;border-radius:4px;background:var(--muted)}.motion-image-chip .motion-remove,.motion-image-chip .motion-replace{position:static}.motion-image-index{font-variant-numeric:tabular-nums;color:var(--muted-foreground)}.motion-template-hint{color:var(--muted-foreground);font-size:10px;font-weight:400;opacity:0;transition:opacity .16s}.motion-template:focus-within .motion-template-hint,.motion-template:hover .motion-template-hint,.motion-template[data-selected=true] .motion-template-hint{opacity:1}.motion-generate:focus-visible,.motion-primary-link:focus-visible,.motion-settings-trigger:focus-visible,.motion-task-link:focus-visible,.motion-template-filters button:focus-visible,.motion-template:focus-visible,.motion-text-link:focus-visible,.motion-upload-zone:focus-visible{outline:2px solid var(--ring);outline-offset:4px}.motion-photo-guide{width:calc(100vw - 2rem);max-width:512px;max-height:calc(100dvh - 2rem);overflow-y:auto;border-radius:12px;gap:16px}:is(html[data-site=motiontransfer],html[data-site=reference2video]) .motion-credit-offer{border-radius:24px;background:var(--background);color:var(--foreground)}:is(html[data-site=motiontransfer],html[data-site=reference2video]) .motion-credit-offer-header{position:relative;flex:none;padding:22px 68px 4px 24px;text-align:left}:is(html[data-site=motiontransfer],html[data-site=reference2video]) .motion-credit-offer-title{font-size:22px;font-weight:650;letter-spacing:-.03em;line-height:1.25}:is(html[data-site=motiontransfer],html[data-site=reference2video]) .motion-credit-offer-description{margin-top:4px;font-size:14px;line-height:1.45}:is(html[data-site=motiontransfer],html[data-site=reference2video]) .motion-credit-offer-body{min-width:0;min-height:0;flex:1 1 auto;overflow:auto;overscroll-behavior:contain;padding:8px 16px 20px}:is(html[data-site=motiontransfer],html[data-site=reference2video]) .motion-credit-offer-footer{display:flex;flex:none;justify-content:center;padding:0 16px 14px;background:transparent}:is(html[data-site=motiontransfer],html[data-site=reference2video]) .motion-credit-offer-continue{min-height:44px;padding:0 8px;border:0;background:transparent;color:var(--muted-foreground);font-size:14px;font-weight:500;text-decoration:underline;text-underline-offset:3px}:is(html[data-site=motiontransfer],html[data-site=reference2video]) .motion-credit-offer-close,:is(html[data-site=motiontransfer],html[data-site=reference2video]) .motion-credit-offer>[data-slot=dialog-close]{position:absolute;top:12px;right:12px;display:grid;width:44px;height:44px;place-items:center;border:0;border-radius:999px;background:transparent;color:var(--foreground);font-size:22px;line-height:1}@media (max-width:639px){:is(html[data-site=motiontransfer],html[data-site=reference2video]) .motion-credit-offer{top:0;left:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;translate:0;border-radius:0}}.motion-image-preview-trigger{display:block;overflow:hidden;cursor:zoom-in}.motion-image-preview-trigger img{width:100%;height:100%;object-fit:contain}.motion-image-preview-trigger:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.motion-image-preview-dialog{width:calc(100vw - 24px);max-width:1000px;max-height:calc(100dvh - 32px);padding:18px;gap:14px;grid-template-rows:auto minmax(0,1fr);background:var(--background)}.motion-image-preview-full{display:block;width:100%;height:min(76dvh,900px);min-height:0;object-fit:contain;border-radius:8px;background:var(--muted)}@media (max-width:1199px){.motion-home-stage{padding:0 24px 36px}.motion-home-hero{padding:32px 0 28px}.motion-home-workspace{padding-inline:24px}.motion-home-stage .motion-home-workspace{padding:0}.motion-home-stage .motion-input-panel{padding:14px 12px 10px}}@media (max-width:767px){.motion-home-stage{padding:0 20px 28px}.motion-home-hero{padding:36px 0 32px}.motion-home-hero h1{max-width:22ch;font-size:clamp(2rem,8.4vw,2.5rem)}.motion-home-hero .motion-hero-description{margin-top:16px;font-size:15px;line-height:1.55}.motion-hero-identity{margin-top:12px;font-size:13px}.motion-hero-description{font-size:14px}.motion-eyebrow{margin-bottom:16px}.motion-home-workspace{padding:20px 16px 32px}.motion-home-stage .motion-home-workspace{padding:0}.motion-studio-heading{margin-bottom:20px}.motion-studio-heading h2{font-size:26px}.motion-studio-heading p{font-size:12px;line-height:1.6}.motion-input-panel{padding:18px}.motion-home-stage .motion-input-panel{padding:12px}.motion-input-heading{margin-bottom:16px}.motion-upload-zone{min-height:128px}.motion-home-stage .motion-upload-zone{min-height:120px}.motion-template-filters button{padding-inline:11px}.motion-home-trends-frame{padding-inline:20px}}@media (max-width:480px){.motion-photo-guide{padding:20px;gap:12px}}@media (prefers-reduced-motion:reduce){.motion-generate,.motion-primary-link,.motion-template video,.motion-template-hint,.motion-upload-zone{transition:none}.motion-template:hover video{transform:none}}