.motion-editor{--lime:#c4ff35;--line:#383b33;max-width:1440px;margin:auto;padding:12px clamp(16px,3vw,48px) 32px;color:#f6f7f2;background:#080908;color-scheme:dark}.motion-editor *{box-sizing:border-box}.motion-editor [hidden]{display:none!important}.motion-editor .return,.motion-editor .browse,.motion-editor #save-result{color:var(--lime);text-decoration:underline;text-underline-offset:4px}.motion-editor h1{font-size:clamp(2.7rem,6vw,5rem);line-height:1;margin:24px 0 8px;letter-spacing:-.055em}.motion-editor .lead{color:#c4c7bc;margin:0 0 26px}.motion-editor .workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,320px);gap:clamp(18px,3vw,42px)}.motion-editor .stage{background:#151713;display:grid;place-items:center;position:relative;height:min(65svh,calc(100svh - 183px));border:1px solid var(--line);border-radius:18px;overflow:hidden}.motion-editor canvas{width:100%;height:100%;min-height:0;min-width:0;object-fit:contain}.motion-editor .timeline,.motion-editor .effects{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.motion-editor .timeline{margin:12px 0 24px}.motion-editor .timeline input{flex:1;min-width:50px}.motion-editor output{font:13px monospace}.motion-editor button,.motion-editor select{border:1px solid var(--line);background:#191c16;color:#f6f7f2;border-radius:20px;padding:10px 17px;font:inherit;cursor:pointer}.motion-editor button[aria-pressed=true],.motion-editor button.primary{color:#141804;background:var(--lime);border-color:var(--lime);font-weight:700}.motion-editor button:disabled{opacity:.45;cursor:default}.motion-editor :focus-visible{outline:3px solid var(--lime);outline-offset:3px}.motion-editor input{accent-color:var(--lime);max-width:100%}.motion-editor h2{font-size:1.3rem;margin:0 0 14px}.motion-editor aside{background:#141610;border:1px solid var(--line);border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:12px;align-self:start}.motion-editor aside label{margin-top:4px;color:#d4d7cd;font-size:.9rem}.motion-editor #status{font-size:.9rem;color:#d1d5c8;margin:8px 0}.motion-editor #rights{margin:8px 0 0;border-top:1px solid var(--line);font-size:.85rem;overflow-wrap:anywhere}.motion-editor #rights p{color:#c8cbbf}.motion-editor .effects button{margin:0}.motion-editor #save-result{align-self:center}@media(max-width:760px){.motion-editor .workspace{grid-template-columns:minmax(0,1fr)}.motion-editor .stage{height:min(110vw,61svh,calc(100svh - 160px))}.motion-editor{padding:10px 14px 24px}.motion-editor .effects{gap:6px}.motion-editor .effects button{padding:9px 12px}}

body.asset-site { margin:0; background:#080908; }
.motion-editor .editor-heading {
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center;
  gap:3px 12px; margin-bottom:12px;
}
.motion-editor .editor-heading h1 {
  grid-column:1; grid-row:1; margin:0; font-size:clamp(1.45rem,2.25vw,2rem);
  letter-spacing:-.045em; line-height:1.2;
}
.motion-editor .editor-heading .lead {
  grid-column:1; grid-row:2; margin:0; font-size:.9rem;
  overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
}
.motion-editor .editor-heading .return { grid-column:2; grid-row:1 / 3; font-size:.875rem; }
.motion-editor .stage > canvas, .motion-editor .stage > img {
  position:absolute; inset:0; width:100%; height:100%; object-fit:contain;
}
.motion-editor #initial-photo { z-index:1; }
.motion-editor #rights h3 { margin:10px 0 4px; font-size:.9rem; }
.motion-editor #rights pixogenix-credit:not(:defined) {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
}
