/* esvyla-mobile-layout-52707.css */
/* 5.27.07: narrowly scoped iPhone timeline and project browser layout repair.
   Source editor gesture/clip position coordinates are intentionally unchanged. */
@media (max-width:620px){
  html body #proEditor .proTimeline,
  html body #proEditor .proTimelineScroll{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  html body #proEditor .proTimelineScroll{overscroll-behavior-x:contain!important}
  /* Keep the long time axis scrollable; centre only the empty-state message in the viewport. */
  html body #proEditor .proTimelineCanvas{box-sizing:border-box!important}
  html body #proEditor .proTimelineEmptyState{
    position:sticky!important;left:0!important;width:calc(100vw - 16px)!important;
    max-width:calc(100vw - 16px)!important;box-sizing:border-box!important;
    display:flex!important;flex-direction:column!important;align-items:center!important;
    justify-content:center!important;margin:0!important;text-align:center!important;
    overflow:hidden!important;padding:10px 16px!important;
  }
  html body #proEditor .proTimelineEmptyState b,
  html body #proEditor .proTimelineEmptyState span{max-width:100%!important;overflow-wrap:anywhere!important}
  html body #proEditor .proTimelineEmptyState span{font-size:10px!important;line-height:1.45!important;color:#91a0b6!important}
  html body #proEditor .proTimelineEmptyState b{font-size:13px!important}
  /* The library must scroll as one document instead of clipping its detail pane. */
  html body .proLibraryBack{padding:calc(8px + env(safe-area-inset-top,0px)) 8px calc(8px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important}
  html body .proLibraryModal{
    display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;
    height:100%!important;max-height:100%!important;min-height:0!important;
    overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch!important;box-sizing:border-box!important;
  }
  html body .proLibraryModal>header{position:sticky!important;top:0!important;z-index:11!important;flex:0 0 auto!important;background:#0b1119!important}
  html body .proLibraryModal .proLibraryTabs{position:relative!important;top:auto!important;z-index:2!important;flex:0 0 auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:10px!important}
  html body .proLibraryTabs>button{min-width:0!important;width:100%!important;min-height:42px!important;white-space:normal!important;font-size:11px!important;line-height:1.25!important}
  html body .proLibraryTabs .proNewSessionBtn{grid-column:1/-1!important}
  html body .proLibraryTabs label{grid-column:1/-1!important;width:100%!important;min-width:0!important;min-height:44px!important}
  html body .proLibraryTabs input{font-size:16px!important}
  html body .proLibraryLayout{display:flex!important;flex-direction:column!important;flex:0 0 auto!important;min-height:0!important;width:100%!important;overflow:visible!important}
  html body .proLibraryList{flex:0 0 auto!important;width:100%!important;max-height:32vh!important;min-height:100px!important;overflow-y:auto!important;overflow-x:hidden!important;box-sizing:border-box!important;border-right:0!important}
  html body .proLibraryRow{min-height:56px!important}
  html body .proLibraryRow b{font-size:12px!important}
  html body .proLibraryRow small{font-size:10px!important}
  html body .proLibraryPager{position:relative!important;bottom:auto!important;flex:0 0 auto!important;min-height:48px!important}
  html body .proLibraryPager span{font-size:11px!important}
  html body .proLibraryPreview{flex:0 0 auto!important;width:100%!important;min-width:0!important;min-height:200px!important;overflow:visible!important;box-sizing:border-box!important}
  html body .proLibraryProjectHead{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:14px 12px!important}
  html body .proLibraryProjectHead b{font-size:14px!important;overflow-wrap:anywhere!important}
  html body .proLibraryProjectHead span{font-size:10px!important;line-height:1.5!important}
  html body .proLibraryProjectActions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;gap:8px!important}
  html body .proLibraryProjectActions .proWide{width:100%!important;min-width:0!important;min-height:46px!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:12px!important;line-height:1.25!important}
  html body .proLibrarySceneStrip{width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important;overscroll-behavior-x:contain!important}
  html body .proLibraryScene{flex:0 0 min(73vw,260px)!important;min-height:58px!important;scroll-snap-align:start!important}
  html body .proLibraryScene b{font-size:11px!important}
  html body .proLibraryScene span{font-size:10px!important}
  html body .proLibraryPlayer{width:100%!important;max-width:100%!important;aspect-ratio:16/9!important}
  html body .proLibraryPreviewInfo{padding:12px!important}
  html body .proLibraryPreviewInfo b{font-size:13px!important}
  html body .proLibraryPreviewInfo span,html body .proLibraryPreviewInfo p{font-size:11px!important}
}

/* esvyla-mobile-studio-52710.css */
/* 5.27.10 mobile editing workspace: one final presentation layer.
   All timeline lengths/clip transforms remain owned by the editor JS. */
@media (max-width:620px){
  html,body{max-width:100%;overflow-x:clip}
  #proEditor, #proEditor .proWorkspace, #proEditor .proTimeline{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  #proEditor .proTimeline{overflow:hidden!important;border-top:1px solid #253147!important;border-radius:0!important}
  #proEditor .proTimelineScroll{width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:auto!important;overflow-y:auto!important;overscroll-behavior-x:contain!important;scrollbar-width:thin;scrollbar-color:#455570 transparent;-webkit-overflow-scrolling:touch!important}
  #proEditor .proTimelineCanvas{position:relative!important;min-width:100%!important;box-sizing:border-box!important}
  #proEditor .proTrack{box-sizing:border-box!important;min-height:30px!important}
  #proEditor .proTrack>header{box-sizing:border-box!important;overflow:hidden!important}
  #proEditor .proTrack .proMobileTrackName{min-width:0!important}
  #proEditor .proTrack .proMobileTrackName small{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  #proEditor .proLane{min-width:0!important}
  #proEditor .proClip{touch-action:pan-y!important;border-radius:7px!important}
  #proEditor .proClip.selected{outline:2px solid #b28aff!important;outline-offset:1px!important;z-index:5!important}
  #proEditor .proPlayhead{z-index:12!important;pointer-events:none!important}
  #proEditor .proTimelineEmptyState{width:calc(100vw - 18px)!important;max-width:calc(100vw - 18px)!important;min-height:94px!important;padding:16px!important;line-height:1.45!important;box-sizing:border-box!important}
  #proEditor .proMobileClipActions:not([hidden]){max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;scrollbar-width:none!important}
  #proEditor .proMobileClipActions[hidden]{display:none!important}
  /* Project browser: one scroll owner, no fixed pager covering project rows. */
  .proLibraryBack{inset:0!important;padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))!important;box-sizing:border-box!important}
  .proLibraryModal{height:100%!important;max-height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
  .proLibraryModal>header{position:sticky!important;top:0!important;z-index:20!important;background:#0b1119!important;min-height:62px!important}
  .proLibraryTabs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .proLibraryTabs button{min-width:0!important;min-height:44px!important;font-size:12px!important}
  .proLibraryTabs .proNewSessionBtn,.proLibraryTabs label{grid-column:1/-1!important}
  .proLibraryTabs input{font-size:16px!important;min-height:44px!important}
  .proLibraryLayout{display:flex!important;flex-direction:column!important;overflow:visible!important;min-height:0!important;height:auto!important}
  .proLibraryList{max-height:min(34dvh,340px)!important;min-height:120px!important;overflow-y:auto!important;flex:0 0 auto!important}
  .proLibraryRow{min-height:60px!important;grid-template-columns:48px minmax(0,1fr) 20px!important;padding:9px!important}
  .proLibraryRow b{font-size:13px!important;line-height:1.3!important}
  .proLibraryRow small{font-size:11px!important;line-height:1.4!important}
  .proLibraryPager{position:static!important;min-height:50px!important;flex:0 0 auto!important}
  .proLibraryPreview{display:block!important;overflow:visible!important;min-height:0!important;flex:0 0 auto!important}
  .proLibraryProjectHead{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  .proLibraryProjectHead b{font-size:16px!important;overflow-wrap:anywhere!important}
  .proLibraryProjectHead span{font-size:12px!important}
  .proLibraryProjectActions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;width:100%!important}
  .proLibraryProjectActions .proWide{min-height:48px!important;min-width:0!important;width:100%!important;font-size:13px!important;white-space:normal!important}
  .proLibrarySceneStrip{display:flex!important;max-width:100%!important;overflow-x:auto!important;scroll-snap-type:x proximity!important;overscroll-behavior-x:contain!important}
  .proLibraryScene{flex:0 0 min(72vw,255px)!important;scroll-snap-align:start!important;min-height:66px!important}
  .proLibraryScene b{font-size:12px!important}.proLibraryScene span{font-size:11px!important}
  .proLibraryPlayer{width:100%!important;max-width:100%!important;aspect-ratio:16/9!important}
  .proLibraryPreviewInfo{padding:14px!important}.proLibraryPreviewInfo b{font-size:14px!important}.proLibraryPreviewInfo p,.proLibraryPreviewInfo span{font-size:12px!important}
}

/* esvyla-mobile-studio-52712.css */
/* ESVYLA 5.27.12 — final phone layout authority: one tool rail, tightly fit track rows. */
@media(max-width:620px){
  html body #proEditor{--mobile-actions-h:0px!important;grid-template-rows:var(--mobile-header-h) minmax(0,1fr) var(--mobile-tools-h) 0px var(--mobile-splitter-h) var(--timeline-height) var(--mobile-nav-h)!important}
  html body #proEditor .proMobileQuickTools{grid-row:3!important;min-height:56px!important;height:56px!important;min-width:0!important;overflow-x:auto!important}
  html body #proEditor .proMobileQuickTools[hidden],html body #proEditor.mobileItemSelected .proMobileQuickTools{display:none!important}
  html body #proEditor .proMobileClipActions:not([hidden]){grid-row:3!important;height:56px!important;min-height:56px!important;width:100%!important;display:flex!important;align-items:center!important;padding:4px 8px!important;box-sizing:border-box!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important}
  html body #proEditor .proMobileClipActions[hidden]{display:none!important}
  html body #proEditor .proMobileClipActions button{min-height:44px!important;flex:0 0 67px!important}
  /* The ruler + actual visible tracks dictate the timeline's total height. */
  html body #proEditor:not([data-timeline-user-sized])>.proTimeline{height:var(--timeline-height)!important;min-height:0!important;max-height:var(--timeline-height)!important;grid-template-rows:minmax(0,1fr)!important;align-content:start!important;margin:0!important;padding:0!important}
  html body #proEditor:not([data-timeline-user-sized]) .proTimelineScroll{height:100%!important;min-height:0!important;max-height:100%!important;overflow-x:auto!important;overflow-y:hidden!important;margin:0!important;padding:0!important}
  html body #proEditor:not([data-timeline-user-sized]) .proTimelineCanvas{height:100%!important;min-height:0!important;max-height:100%!important;overflow-y:hidden!important;margin:0!important;box-sizing:border-box!important}
  html body #proEditor:not([data-timeline-user-sized]) #proTracks{min-height:0!important;max-height:none!important;margin:0!important;padding:0!important}
  html body #proEditor .proMonitorStage{contain:layout paint!important;overflow:hidden!important}
  html body #proEditor .proMonitor{max-width:100%!important;max-height:100%!important;overflow:hidden!important}
  html body #proEditor .proMonitor video{object-fit:contain!important}
}

/* esvyla-mobile-studio-52714.css */
/* 5.27.14 — a single, always-visible mobile toolbar. Edit appends contextual actions in-place. */
@media (max-width:620px) {
 html body #proEditor #proMobileQuickTools,
 html body #proEditor #proMobileQuickTools[hidden] { display:none!important; visibility:hidden!important; pointer-events:none!important; }
 html body #proEditor.mobileItemSelected #proMobileQuickTools { display:flex!important; visibility:visible!important; pointer-events:auto!important; grid-row:3!important; overflow-x:auto!important; overflow-y:hidden!important; white-space:nowrap!important; }
 html body #proEditor #proMobileClipActions,
 html body #proEditor.mobileItemSelected #proMobileClipActions:not([hidden]) { display:none!important; visibility:hidden!important; pointer-events:none!important; }
 html body #proEditor #proMobileQuickTools button[data-mobile-clip-action] {flex:0 0 62px!important; min-width:62px!important; display:grid!important; grid-template-rows:24px 13px!important; place-items:center!important; gap:1px!important; background:transparent!important; color:#d6dce6!important;}
 html body #proEditor #proMobileQuickTools button[data-mobile-clip-action].danger {color:#ff8099!important}
 html body #proEditor #proMobileQuickTools button[data-mobile-clip-action] b {font-size:18px!important;}
 html body #proEditor #proMobileQuickTools button[data-mobile-clip-action] span {font-size:8px!important;}
}

/* esvyla-mobile-fullscreen-52716.css */
/* 5.27.16: viewport fullscreen monitor, independent of editor grid. */
.esvylaFullscreenExit{display:none!important}
@media(max-width:620px){
  html.esvylaPhoneFullscreenActive,body.esvylaPhoneFullscreenActive{overflow:hidden!important;overscroll-behavior:none!important}
  body>.proMonitorShell.esvylaPhoneFullscreen{
    position:fixed!important;inset:0!important;z-index:2147483647!important;
    width:100vw!important;height:100vh!important;height:100dvh!important;
    max-width:none!important;max-height:none!important;margin:0!important;
    padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)!important;
    border:0!important;border-radius:0!important;background:#000!important;
    box-sizing:border-box!important;display:grid!important;
    grid-template-rows:minmax(0,1fr) auto!important;overflow:hidden!important;
    transform:none!important;contain:none!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .proMonitorStage{
    display:grid!important;place-items:center!important;position:relative!important;
    width:100%!important;height:100%!important;min-height:0!important;
    max-height:none!important;overflow:hidden!important;background:#000!important;
    padding:0!important;margin:0!important;transform:none!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .proMonitorStage #proMonitor{
    position:relative!important;max-width:100%!important;max-height:100%!important;
    margin:auto!important;overflow:hidden!important;background:#000!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .proPreviewDock{
    display:block!important;position:relative!important;inset:auto!important;
    transform:none!important;box-sizing:border-box!important;
    height:66px!important;min-height:66px!important;max-height:66px!important;
    width:100%!important;max-width:none!important;margin:0!important;
    padding:5px 12px!important;background:#080d14!important;
    visibility:visible!important;opacity:1!important;z-index:2!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .proTransport{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important}
  body>.proMonitorShell.esvylaPhoneFullscreen .esvylaFullscreenExit{
    display:grid!important;place-items:center!important;position:absolute!important;
    top:calc(env(safe-area-inset-top) + 12px)!important;right:12px!important;
    width:46px!important;height:46px!important;border-radius:12px!important;
    border:1px solid #657086!important;background:rgba(11,16,26,.85)!important;
    color:#fff!important;z-index:15!important;cursor:pointer!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .esvylaFullscreenExit[hidden]{display:none!important}
}

/* esvyla-mobile-professional-52717.css */
/* 5.27.17: mobile timeline stack tightening + professional fullscreen overlay. */
@media(max-width:620px){
  html body #proEditor #proTracks{
    display:block!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
  }
  html body #proEditor #proTracks .proTrack{
    display:grid!important;
    grid-template-columns:84px minmax(0,1fr)!important;
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    margin:0!important;
    padding:0!important;
    align-items:stretch!important;
    box-sizing:border-box!important;
  }
  html body #proEditor #proTracks .proTrack + .proTrack{margin-top:0!important}
  html body #proEditor #proTracks .proTrack>header{
    width:84px!important;
    min-width:84px!important;
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    padding:0 6px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  html body #proEditor #proTracks .proTrack>header b{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    line-height:1.05!important;
  }
  html body #proEditor #proTracks .proTrackButtons{gap:1px!important}
  html body #proEditor #proTracks .proTrackButtons button{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    min-height:18px!important;
    font-size:8px!important;
  }
  html body #proEditor #proTracks .proLane{
    position:relative!important;
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }
  html body #proEditor .proTimelineCanvas{
    min-height:0!important;
    padding-top:25px!important;
    padding-bottom:0!important;
    box-sizing:border-box!important;
  }
  html body #proEditor .proClip,
  html body #proEditor .proCaptionClip,
  html body #proEditor .proTransitionSlot{
    top:4px!important;
    height:30px!important;
  }
  html body #proEditor .proTimeline{
    min-height:0!important;
  }
  html body #proEditor .proTimelineScroll{
    overscroll-behavior:contain!important;
  }

  /* Fullscreen preview: occupy the browser viewport cleanly. */
  body>.proMonitorShell.esvylaPhoneFullscreen{
    position:fixed!important;
    inset:0!important;
    z-index:2147483647!important;
    width:100vw!important;
    height:100vh!important;
    height:100dvh!important;
    padding:0!important;
    margin:0!important;
    background:#000!important;
    display:block!important;
    overflow:hidden!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .proMonitorStage{
    position:absolute!important;
    inset:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:16px 10px calc(86px + env(safe-area-inset-bottom,0px))!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    background:#000!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen #proMobilePreviewPlay{
    display:none!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .proMonitor{
    position:relative!important;
    margin:0 auto!important;
    max-width:100%!important;
    max-height:100%!important;
    border-radius:14px!important;
    overflow:hidden!important;
    background:#000!important;
    box-shadow:0 24px 54px rgba(0,0,0,.46)!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .proPreviewDock{
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    height:auto!important;
    min-height:78px!important;
    margin:0!important;
    padding:6px 10px calc(10px + env(safe-area-inset-bottom,0px))!important;
    box-sizing:border-box!important;
    border:0!important;
    background:linear-gradient(180deg,rgba(0,0,0,0),rgba(4,7,12,.76) 18%,rgba(4,7,12,.97) 100%)!important;
    backdrop-filter:blur(8px)!important;
    overflow:visible!important;
    z-index:12!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .proPreviewDock .proPreviewSeek{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    width:100%!important;
    margin:0 0 8px!important;
    height:4px!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .proTransport{
    min-height:42px!important;
    display:grid!important;
    grid-template-columns:auto 1fr auto!important;
    align-items:center!important;
    gap:10px!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .proPreviewVolume{
    min-width:0!important;
    max-width:40vw!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .proPlayButtonMinimal{
    justify-self:end!important;
    min-width:48px!important;
    height:42px!important;
    border-radius:12px!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .proTransportToolsMinimal{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .proTransportToolsMinimal button{
    width:40px!important;
    height:40px!important;
    border-radius:11px!important;
  }
  body>.proMonitorShell.esvylaPhoneFullscreen .esvylaFullscreenExit{
    display:grid!important;
    place-items:center!important;
    position:absolute!important;
    top:calc(env(safe-area-inset-top,0px) + 10px)!important;
    right:12px!important;
    width:46px!important;
    height:46px!important;
    border-radius:14px!important;
    z-index:20!important;
    border:1px solid rgba(170,182,201,.48)!important;
    background:rgba(12,18,29,.88)!important;
    color:#fff!important;
    box-shadow:0 14px 40px rgba(0,0,0,.4)!important;
  }
}

/* esvyla-brand-52718.css */
/* Brand imagery uses crops of the user-supplied original PNG; no redraw or stylisation. */
.esvylaBrandWordmark{display:block!important;width:clamp(112px,13vw,176px)!important;height:auto!important;max-width:100%!important;object-fit:contain!important;filter:none!important}
.l484Brand:has(.esvylaBrandWordmark),.l484DrawerBrand:has(.esvylaBrandWordmark){display:flex;align-items:center;justify-content:flex-start;min-width:0}
.l484DrawerBrand .esvylaBrandWordmark{width:166px!important}
.esvylaBrandIcon{display:block;width:42px;height:42px;object-fit:contain;flex:none;border:0;border-radius:10px}
.authBootLogo .esvylaBrandIcon{width:42px;height:42px}
.authGateBrand .esvylaBrandIcon{width:42px;height:42px}
#creatorApp .esvylaSidebarBrand{min-height:48px;padding:0 4px 20px;overflow:hidden}
#creatorApp .esvylaSidebarBrand .esvylaBrandWordmark{width:175px!important;max-width:100%!important}
@media(max-width:820px){.l484Brand .esvylaBrandWordmark{width:124px!important}.l484DrawerBrand .esvylaBrandWordmark{width:155px!important}}

/* 5.27.19: preserve the entire original ESVYLA wordmark inside desktop sidebar. */
#creatorApp .sidebar .esvylaSidebarBrand{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  padding:4px 8px 16px!important;
  overflow:visible!important;
  gap:0!important;
}
#creatorApp .sidebar .esvylaSidebarBrand .esvylaBrandWordmark{
  display:block!important;
  flex:0 1 auto!important;
  width:100%!important;
  height:auto!important;
  min-width:0!important;
  max-width:100%!important;
  max-height:62px!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  margin:0 auto!important;
}

/* esvyla-native-pinch-52721.css */
/* ESVYLA 5.27.21 – native document pinch zoom across mobile/tablet.
   Browser owns multi-touch; draggable editing surfaces retain one-finger handlers. */
@media (hover:none), (pointer:coarse) {
  html,body,body *,body *::before,body *::after {
    touch-action:pan-x pan-y pinch-zoom!important;
  }
  /* Keep horizontal rails scrollable without intercepting two-finger zoom. */
  .sidebar nav,.mobileQuickNav,.proTimelineScroll,.proTimelineCanvas {
    touch-action:pan-x pan-y pinch-zoom!important;
  }
  /* Dedicated drag handles can keep one-finger pointer motion; browser still
     recognises two-finger pinch gestures over them. */
  #proEditor .proClip,#proEditor .proCaptionClip,
  #proEditor .proTimelineSplitter,#proEditor #proPlayhead,
  #proEditor .proDirectBox,#proEditor .proDirectBox *,
  .esvylaAssistantLauncher,.esvylaAssistantLauncher.userPositioned {
    touch-action:pinch-zoom!important;
  }
}

/* esvyla-mobile-landing-character-52722.css */
/* 5.27.22: mobile public hero spacing, assistant visibility and Character/Image parity. */
/* The assistant is an authenticated workspace tool, never a landing-page widget. */
html body:has(#authGate:not(.hidden)) #esvylaAssistantLauncher,
html body:has(#authGate:not(.hidden)) #esvylaAssistantPanel {display:none!important;visibility:hidden!important;pointer-events:none!important;}
@media(max-width:1024px){
  /* Mobile hero must follow its header, not start behind the menu button. */
  html body .authGate:not(.hidden) .l484Hero[data-cinematic-hero]{
    min-height:calc(100svh - 62px)!important;
    height:auto!important;
    padding:56px 0 64px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:flex-start!important;
  }
  html body .authGate:not(.hidden) .l484Hero[data-cinematic-hero] .l484HeroCopy{
    position:relative!important;
    top:auto!important;bottom:auto!important;
    left:auto!important;right:auto!important;
    width:calc(100% - 36px)!important;
    margin:0 auto!important;
    transform:none!important;
  }
  html body .authGate:not(.hidden) .l484Hero[data-cinematic-hero] .l484HeroImage{
    transform:none!important;
  }
}
/* The Character Pack cards share the exact media aspect and grid breakpoints of Images. */

/* esvyla-library-card-unified-52724.css */
/* ESVYLA 5.27.26: one authoritative card layout for Images and Characters. */
#imagesLibrary .imageLibrarySlide .creationArchiveGrid,
#characterLibrary .characterPackGrid.creationArchiveGrid,
html body .characterPackGrid.creationArchiveGrid {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;align-items:stretch!important;
}
#imagesLibrary .creationArchiveCard,
#characterLibrary .characterPackCard.creationArchiveCard {
  width:100%!important;min-width:0!important;min-height:0!important;
  display:flex!important;flex-direction:column!important;align-self:stretch!important;
  border-radius:14px!important;overflow:hidden!important;box-sizing:border-box!important;
}
#imagesLibrary .creationArchiveCard .creationArchiveMedia,
#characterLibrary .characterPackCard .characterPackThumb.creationArchiveMedia {
  position:relative!important;display:flex!important;align-items:center!important;
  justify-content:center!important;flex:0 0 auto!important;width:100%!important;
  height:auto!important;min-height:0!important;aspect-ratio:16/10!important;
  overflow:hidden!important;padding:0!important;box-sizing:border-box!important;background:#070b13!important;
}
#imagesLibrary .creationArchiveCard .creationArchiveMedia img,
html body #characterLibrary .characterPackCard .characterPackThumb.creationArchiveMedia img {
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center center!important;
  transform:none!important;filter:none!important;
}
#imagesLibrary .creationArchiveCard .creationArchiveInfo,
#characterLibrary .characterPackCard .characterPackInfo.creationArchiveInfo {
  width:100%!important;min-height:110px!important;flex:1 1 auto!important;
  display:flex!important;flex-direction:column!important;gap:6px!important;
  padding:12px!important;box-sizing:border-box!important;
}
#imagesLibrary .creationArchiveInfo h3,
#characterLibrary .characterPackInfo h3{margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#characterLibrary .characterPackInfo p{margin:0!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
#imagesLibrary .creationArchiveInfo .imageLibraryInlineActions,
#characterLibrary .characterPackInfo .imageLibraryInlineActions {margin-top:auto!important}
@media(max-width:900px){#imagesLibrary .imageLibrarySlide .creationArchiveGrid,#characterLibrary .characterPackGrid.creationArchiveGrid,html body .characterPackGrid.creationArchiveGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){#imagesLibrary .imageLibrarySlide .creationArchiveGrid,#characterLibrary .characterPackGrid.creationArchiveGrid,html body .characterPackGrid.creationArchiveGrid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}}

/* esvyla-library-metadata-52727.css */
/* ESVYLA 5.27.27 — same fixed card geometry and full-image fitting. */
#imagesLibrary .creationArchiveCard,
#characterLibrary .characterPackCard.creationArchiveCard{
  height: min(31vw, 370px)!important;
  min-height: 0!important;
  max-height: 370px!important;
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#imagesLibrary .creationArchiveCard .creationArchiveMedia,
#characterLibrary .characterPackCard .characterPackThumb.creationArchiveMedia{
  flex:1 1 auto!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  aspect-ratio:auto!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#060c16!important;
}
#imagesLibrary .creationArchiveMedia img,
html body #characterLibrary .characterPackThumb.creationArchiveMedia img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
}
#imagesLibrary .creationArchiveCard .creationArchiveInfo,
#characterLibrary .characterPackCard .characterPackInfo.creationArchiveInfo{
  flex:0 0 84px!important;
  min-height:84px!important;
  max-height:84px!important;
  gap:5px!important;
  overflow:hidden!important;
  padding:10px 12px!important;
}
#imagesLibrary .creationArchiveInfo h3,
#characterLibrary .characterPackInfo h3{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#imagesLibrary .esvylaCardMetadata,#characterLibrary .esvylaCardMetadata{
  display:block!important;white-space:nowrap!important;overflow:hidden!important;
  text-overflow:ellipsis!important;color:#aab5c6!important;font-size:10px!important;
}
/* Keep selected cards fixed; their actions scroll inside the information area. */
#imagesLibrary .creationArchiveCard .creationArchiveInfo,
#characterLibrary .characterPackCard .characterPackInfo.creationArchiveInfo{overflow-y:auto!important;overscroll-behavior:contain!important}
@media(max-width:900px){#imagesLibrary .creationArchiveCard,#characterLibrary .characterPackCard.creationArchiveCard{height:clamp(250px,46vw,370px)!important}}
@media(max-width:620px){#imagesLibrary .creationArchiveCard,#characterLibrary .characterPackCard.creationArchiveCard{height:340px!important}}

/* esvyla-library-preview-52728.css */
#imagesLibrary .creationArchiveCard,
#characterLibrary .characterPackCard.creationArchiveCard{
  display:grid!important;
  grid-template-rows:minmax(0,1fr) auto!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at top right, rgba(143,94,255,.14), transparent 34%),
    linear-gradient(180deg, rgba(10,17,29,.98), rgba(7,12,20,.98))!important;
}

#imagesLibrary .creationArchiveCard .creationArchiveMedia,
#characterLibrary .characterPackCard .characterPackThumb.creationArchiveMedia{
  position:relative!important;
  min-height:0!important;
  overflow:hidden!important;
  background:linear-gradient(180deg, rgba(14,22,37,.92), rgba(10,15,26,.92))!important;
  border-bottom:1px solid rgba(94,117,156,.18)!important;
}

#imagesLibrary .creationArchiveCard .creationArchiveMedia .esvylaPreviewBackdrop,
#characterLibrary .characterPackCard .characterPackThumb.creationArchiveMedia .esvylaPreviewBackdrop{
  position:absolute!important;
  inset:0!important;
  background-position:center!important;
  background-size:cover!important;
  filter:blur(18px) saturate(1.05)!important;
  transform:scale(1.12)!important;
  opacity:.55!important;
}

#imagesLibrary .creationArchiveCard .creationArchiveMedia::after,
#characterLibrary .characterPackCard .characterPackThumb.creationArchiveMedia::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(180deg, rgba(5,8,14,.06), rgba(5,8,14,.34))!important;
  pointer-events:none!important;
}

#imagesLibrary .creationArchiveCard .creationArchiveMedia .esvylaPreviewSurface,
#characterLibrary .characterPackCard .characterPackThumb.creationArchiveMedia .esvylaPreviewSurface{
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:transparent!important;
  box-shadow:none!important;
  z-index:1!important;
}

#imagesLibrary .creationArchiveCard .creationArchiveMedia .esvylaPreviewImage,
html body #characterLibrary .characterPackCard .characterPackThumb.creationArchiveMedia .esvylaPreviewImage{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:transparent!important;
}

#imagesLibrary .creationArchiveCard .creationArchiveInfo,
#characterLibrary .characterPackCard .characterPackInfo.creationArchiveInfo{
  position:relative!important;
  z-index:2!important;
  gap:10px!important;
  padding:12px 14px!important;
}

#imagesLibrary .esvylaCardMetadata,
#characterLibrary .esvylaCardMetadata{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#imagesLibrary .esvylaCardMetadata::before,
#characterLibrary .esvylaCardMetadata::before{
  content:""!important;
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  border-radius:6px!important;
  border:1px solid rgba(100,120,157,.42)!important;
  background:linear-gradient(180deg, rgba(18,27,44,.9), rgba(12,18,30,.9))!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)!important;
}

#imagesLibrary .imageLibraryInlineActions,
#characterLibrary .imageLibraryInlineActions{
  margin-top:2px!important;
}

#characterLibrary .characterPackThumb > span{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  z-index:2!important;
  margin:0!important;
  padding:5px 9px!important;
  border-radius:999px!important;
  border:1px solid rgba(94,117,156,.42)!important;
  background:rgba(7,11,18,.78)!important;
  backdrop-filter:blur(8px)!important;
  color:#dbe5fb!important;
  font-size:10px!important;
  line-height:1!important;
}

#characterLibrary .characterPackThumb .characterPackFallback{
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:14px!important;
  background:rgba(11,16,25,.68)!important;
  font-size:48px!important;
  color:#98a9d3!important;
  z-index:1!important;
}

@media (max-width: 900px){
  #imagesLibrary .creationArchiveCard .creationArchiveMedia .esvylaPreviewSurface,
  #characterLibrary .characterPackCard .characterPackThumb.creationArchiveMedia .esvylaPreviewSurface,
  #characterLibrary .characterPackThumb .characterPackFallback{inset:0!important}
}

@media (max-width: 620px){
  #imagesLibrary .creationArchiveCard .creationArchiveMedia .esvylaPreviewSurface,
  #characterLibrary .characterPackCard .characterPackThumb.creationArchiveMedia .esvylaPreviewSurface,
  #characterLibrary .characterPackThumb .characterPackFallback{inset:0!important}
}

/* The approved preview now uses every pixel of the image area: no framed inset. */
#imagesLibrary .creationArchiveCard .creationArchiveMedia .esvylaPreviewSurface,
#characterLibrary .characterPackCard .characterPackThumb.creationArchiveMedia .esvylaPreviewSurface{inset:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
#imagesLibrary .creationArchiveCard .creationArchiveMedia .esvylaPreviewImage,
html body #characterLibrary .characterPackCard .characterPackThumb.creationArchiveMedia .esvylaPreviewImage{object-fit:contain!important;width:100%!important;height:100%!important}

/* esvyla-image-pagination-52731.css */
#imagesLibrary .imageLibraryPage[hidden]{display:none!important}
#imagesLibrary .imageLibraryPage .creationArchiveGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#imagesLibrary .imageLibraryPaged{width:100%;min-width:0}
#imagesLibrary #imagesPaginationHost{margin-top:18px}
#imagesLibrary .projectsPagination{width:100%}
@media(max-width:900px){#imagesLibrary .imageLibraryPage .creationArchiveGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#imagesLibrary .imageLibraryPage .creationArchiveGrid{grid-template-columns:minmax(0,1fr);gap:12px}}

/* esvyla-recent-sidebar-52734.css */
/* Unified Recent Creations card proportions; horizontal navigation retained. */
#recentCreationsRail.kaiRecentRail{gap:14px!important;align-items:stretch!important;scroll-snap-type:x proximity!important}
#recentCreationsRail .kaiRecentCard{position:relative!important;flex:0 0 calc((100% - 28px)/3)!important;width:calc((100% - 28px)/3)!important;min-width:0!important;max-width:none!important;display:grid!important;grid-template-rows:auto 1fr!important;align-self:stretch!important;border:1px solid #233149!important;border-radius:14px!important;background:linear-gradient(180deg,#0b121d,#080e17)!important;overflow:hidden!important}
#recentCreationsRail .kaiRecentMedia{width:100%!important;height:auto!important;aspect-ratio:16/10!important;position:relative!important;overflow:hidden!important;background:#05080e!important}
#recentCreationsRail .kaiRecentMedia>img,#recentCreationsRail .kaiRecentMedia>video{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;display:block!important;background:transparent!important}
#recentCreationsRail .kaiRecentMedia>span{z-index:2!important;top:10px!important;left:10px!important}
#recentCreationsRail .kaiRecentInfo{position:relative!important;min-width:0!important;min-height:90px!important;padding:12px 14px!important;display:flex!important;flex-direction:column!important;gap:6px!important;justify-content:flex-start!important;background:rgba(5,11,19,.9)!important;border-top:1px solid #233149!important;overflow:hidden!important}
#recentCreationsRail .kaiRecentInfo>strong{font-size:12px!important;line-height:1.3!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#recentCreationsRail .kaiRecentInfo>small{font-size:9px!important;color:#8795ad!important;margin:0!important;white-space:nowrap!important}
#recentCreationsRail .kaiRecentCard .kaiRecentCardActions{display:none!important}
#recentCreationsRail .kaiRecentCard[aria-selected="true"] .kaiRecentCardActions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;position:absolute!important;bottom:8px!important;left:8px!important;right:8px!important;z-index:5!important}
#recentCreationsRail .kaiRecentCard[aria-selected="true"] .kaiRecentStamp{visibility:hidden!important}
#recentCreationsRail .kaiRecentCardActions button{width:100%!important;min-width:0!important;min-height:32px!important;padding:4px!important;font-size:9px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;border-radius:7px!important}
#recentCreationsRail .kaiRecentCard:focus-visible{outline:2px solid #9b72ff;outline-offset:-2px}
@media(max-width:900px){#recentCreationsRail .kaiRecentCard{flex-basis:calc((100% - 14px)/2)!important;width:calc((100% - 14px)/2)!important}}
@media(max-width:620px){#recentCreationsRail .kaiRecentCard{flex-basis:min(86vw,360px)!important;width:min(86vw,360px)!important}}
/* Desktop shares tablet's navigation spacing, with a persistent icon-only rail. */
@media(min-width:1367px) and (hover:hover){
  html body #sidebar.sidebar{width:264px!important;max-width:264px!important;box-sizing:border-box!important;transition:width .18s ease!important}
  html body #creatorApp .page{margin-left:264px!important;transition:margin-left .18s ease!important}
  html body #sidebar.sidebar .primaryNav button{min-height:44px!important;align-items:center!important}
  html body #sidebar.sidebar .esvylaDesktopCollapse{display:grid!important;place-items:center!important;position:absolute!important;right:8px!important;top:12px!important;width:32px!important;height:32px!important;z-index:5!important;border:1px solid #33405a!important;border-radius:9px!important;background:#101827!important;color:#e1e8ff!important;cursor:pointer!important}
  html body #creatorApp.esvylaDesktopCollapsed #sidebar.sidebar{width:74px!important;max-width:74px!important;padding-left:8px!important;padding-right:8px!important}
  html body #creatorApp.esvylaDesktopCollapsed .page{margin-left:74px!important}
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaSidebarBrand{height:58px!important;padding:4px!important;overflow:hidden!important;justify-content:center!important}
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaBrandWordmark{width:220px!important;min-width:220px!important;max-width:none!important;transform:scale(.18)!important;transform-origin:left center!important;margin-left:0!important}
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .sideNavLabel{font-size:0!important;line-height:0!important;height:10px!important;padding:0!important;margin:5px 0!important}
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .primaryNav button{width:54px!important;min-width:54px!important;height:48px!important;padding:10px 15px!important;gap:0!important;font-size:0!important;overflow:hidden!important;white-space:nowrap!important}
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .primaryNav button span{width:23px!important;min-width:23px!important;display:grid!important;place-items:center!important}
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .primaryNav button svg{width:20px!important;height:20px!important}
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .sidebarCreditsPurchase,
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .sideBottom{display:none!important}
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaDesktopCollapse{right:1px!important;top:1px!important;width:20px!important;height:20px!important;font-size:10px!important}
}
@media(max-width:1366px){#sidebar .esvylaDesktopCollapse{display:none!important}}

/* esvyla-selected-clean-footer-52736.css */
/* Consolidated library button presentation in esvyla-action-parity-52746.css. */
/* Thin icon-only desktop rail, with an expandable full navigation. */
@media(min-width:1367px) and (hover:hover){
 html body #creatorApp.esvylaDesktopCollapsed #sidebar.sidebar{
  width:52px!important;max-width:52px!important;min-width:52px!important;
  padding-left:3px!important;padding-right:3px!important;
 }
 html body #creatorApp.esvylaDesktopCollapsed .page{margin-left:52px!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar .primaryNav button{
  width:44px!important;min-width:44px!important;max-width:44px!important;
  height:44px!important;min-height:44px!important;padding:10px!important;
  margin-left:0!important;margin-right:0!important;border-radius:9px!important;
 }
 html body #creatorApp.esvylaDesktopCollapsed #sidebar .primaryNav button span{width:24px!important;min-width:24px!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar .sideNavLabel{height:6px!important;min-height:6px!important;margin:2px 0!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaSidebarBrand{height:50px!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaDesktopCollapse{right:0!important;top:0!important;width:20px!important;height:20px!important}
}

/* esvyla-recent-tablet-unified-52737.css */
/* 5.27.37 — matching library/Recent cards, unified tablet/desktop sidebar. */
#recentCreationsRail .kaiRecentCard{grid-template-rows:minmax(0,1fr) 91px!important;height:calc((100vw - 270px)/3 * .625 + 91px)!important;min-height:320px!important;max-height:440px!important;}
#recentCreationsRail .kaiRecentCard .kaiRecentMedia{height:100%!important;aspect-ratio:auto!important;min-height:0!important;border-radius:0!important;}
#recentCreationsRail .kaiRecentCard .kaiRecentMedia>span{display:none!important}
#recentCreationsRail .kaiRecentCard .kaiRecentInfo{height:91px!important;min-height:91px!important;max-height:91px!important;box-sizing:border-box!important;}
#recentCreationsRail .kaiRecentCardActions{display:none!important}
#recentCreationsRail .kaiRecentCard[aria-selected="true"] .kaiRecentCardActions{display:flex!important;position:relative!important;inset:auto!important;width:100%!important;justify-content:center!important;gap:4px!important}
#recentCreationsRail .kaiRecentCardActions button{min-height:32px!important;height:32px!important;flex:1 1 0!important;width:0!important;min-width:0!important;font-size:clamp(8px,.7vw,11px)!important}
#recentCreationsRail .kaiRecentCardActions button:disabled{opacity:.38!important;cursor:not-allowed!important}
@media(max-width:900px){#recentCreationsRail .kaiRecentCard{height:360px!important}}
@media(max-width:620px){#recentCreationsRail .kaiRecentCard{height:360px!important}}
/* Scroll remains functional; hide the visual scrollbar everywhere inside sidebar. */
html body #sidebar.sidebar{scrollbar-width:none!important;scrollbar-gutter:auto!important;-ms-overflow-style:none!important}
html body #sidebar.sidebar::-webkit-scrollbar,html body #sidebar.sidebar nav::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
html body #sidebar.sidebar nav{scrollbar-width:none!important;scrollbar-gutter:auto!important}
/* Tablet and desktop both use the same persistent icon-only collapsed rail. */
@media(min-width:761px){
 html body #creatorApp #sidebar.sidebar{transform:none!important;left:0!important;top:0!important;bottom:0!important;display:flex!important;visibility:visible!important;transition:width .18s ease!important;box-shadow:none!important;width:264px!important;max-width:264px!important;min-width:264px!important}
 html body #creatorApp .page{margin-left:264px!important;transition:margin-left .18s ease!important}
 html body #creatorApp #sidebar .esvylaDesktopCollapse{display:grid!important;place-items:center!important;position:absolute!important;right:8px!important;top:12px!important;width:32px!important;height:32px!important;z-index:55!important;border:1px solid #33405a!important;border-radius:9px!important;background:#101827!important;color:#e1e8ff!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar.sidebar{width:52px!important;min-width:52px!important;max-width:52px!important;padding:22px 3px!important}
 html body #creatorApp.esvylaDesktopCollapsed .page{margin-left:52px!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar .primaryNav button{width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;padding:10px!important;font-size:0!important;overflow:hidden!important;gap:0!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar .primaryNav button span{width:24px!important;min-width:24px!important;display:grid!important;place-items:center!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar .sideNavLabel{font-size:0!important;height:6px!important;min-height:6px!important;margin:2px 0!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar .sidebarCreditsPurchase,html body #creatorApp.esvylaDesktopCollapsed #sidebar .sideBottom{display:none!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaSidebarBrand{height:50px!important;padding:2px!important;overflow:hidden!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaBrandWordmark{width:220px!important;min-width:220px!important;transform:scale(.18)!important;transform-origin:left center!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaDesktopCollapse{right:0!important;top:0!important;width:20px!important;height:20px!important}
 html body #creatorApp .menu{display:none!important}
}

/* esvyla-ipad-actions-sidebar-52739.css */
/* Tablet sidebar branding and account rail; selected-card layout handled by v52746. */
#sidebar .esvylaRailLogo{display:none!important}
@media (min-width:761px){
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaBrandWordmark{display:none!important}
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaRailLogo{
    display:block!important;position:relative!important;width:34px!important;height:34px!important;
    min-width:34px!important;max-width:34px!important;object-fit:contain!important;
    margin:8px auto 0!important;transform:none!important;opacity:1!important;
  }
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaSidebarBrand{
    height:62px!important;min-height:62px!important;padding:0!important;overflow:visible!important;
  }
  /* Notifications ends the nav rail. Account stays separately accessible via avatar. */
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .primaryNav button[data-view="settings"]{display:none!important}
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .sideBottom{
    display:block!important;position:sticky!important;bottom:0!important;
    margin-top:auto!important;width:46px!important;min-width:0!important;
    padding:5px 2px 8px!important;background:#090f1b!important;
    z-index:65!important;overflow:visible!important;
  }
  html body #creatorApp.esvylaDesktopCollapsed #sidebar #profileMenu{
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:3px!important;min-height:40px!important;width:42px!important;
    border-radius:10px!important;cursor:pointer!important;
  }
  html body #creatorApp.esvylaDesktopCollapsed #sidebar #profileMenu .avatar{
    display:grid!important;place-items:center!important;min-width:30px!important;
    width:30px!important;height:30px!important;flex:0 0 30px!important;
  }
  html body #creatorApp.esvylaDesktopCollapsed #sidebar #profileMenu>div:not(.avatar),
  html body #creatorApp.esvylaDesktopCollapsed #sidebar #profileMenu .profileChevron{display:none!important}
  html body #creatorApp.esvylaDesktopCollapsed #sidebar #accountQuickMenu{
    position:fixed!important;left:55px!important;bottom:12px!important;z-index:21474820!important;
    width:min(280px,calc(100vw - 70px))!important;max-height:min(65vh,460px)!important;
    overflow:auto!important;
  }
}

/* esvyla-brand-consistency-52723.css */
/* 5.27.23 – share the same unmodified ESVYLA wordmark across public branding. */
.authBootLogo{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important;max-width:calc(100vw - 40px)!important}
.authBootLogo .esvylaBrandWordmark{display:block!important;width:min(158px,58vw)!important;height:auto!important;max-height:52px!important;object-fit:contain!important;filter:none!important;flex:none!important}
.authBootLogo .esvylaBootText{display:block;color:#b0a7c5;font-size:12px;letter-spacing:.04em;text-align:center}
.authGateBrand{display:flex!important;justify-content:flex-start!important;align-items:center!important;min-width:0!important}
.authGateBrand .esvylaBrandWordmark{display:block!important;width:min(156px,60vw)!important;max-width:100%!important;height:auto!important;max-height:50px!important;object-fit:contain!important;object-position:left center!important;flex:none!important;filter:none!important}

/* 5.27.26: public authentication and loading show the unboxed sidebar wordmark. */
.authGateBrand,.authBootLogo{background:transparent!important;background-image:none!important;box-shadow:none!important;border-radius:0!important}
.authGateBrand img.esvylaBrandWordmark,.authBootLogo img.esvylaBrandWordmark{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;mix-blend-mode:normal!important}

/* esvyla-metadata-only-52741.css */
/* Keep original fixed-size card; when idle its black footer contains metadata only. */
#imagesLibrary .creationArchiveCard:not([aria-selected="true"]) .creationArchiveInfo,
#characterLibrary .characterPackCard:not([aria-selected="true"]) .characterPackInfo.creationArchiveInfo{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
  overflow:hidden!important;box-sizing:border-box!important;
}
#imagesLibrary .creationArchiveCard:not([aria-selected="true"]) .creationArchiveInfo > span,
#imagesLibrary .creationArchiveCard:not([aria-selected="true"]) .creationArchiveInfo > h3,
#characterLibrary .characterPackCard:not([aria-selected="true"]) .characterPackInfo > span,
#characterLibrary .characterPackCard:not([aria-selected="true"]) .characterPackInfo > .characterPackTop,
#characterLibrary .characterPackCard:not([aria-selected="true"]) .characterPackInfo > .characterVoiceBadge{
  display:none!important;
}
#imagesLibrary .creationArchiveCard:not([aria-selected="true"]) .esvylaCardMetadata,
#characterLibrary .characterPackCard:not([aria-selected="true"]) .esvylaCardMetadata{
  display:block!important;min-height:0!important;margin:0!important;width:100%!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  font-size:12px!important;line-height:1.45!important;
}
#imagesLibrary .creationArchiveCard:not([aria-selected="true"]) .esvylaCardMetadata::before,
#characterLibrary .characterPackCard:not([aria-selected="true"]) .esvylaCardMetadata::before{display:none!important;content:none!important}
/* Selected state remains actions only in the same footer slot. */
#imagesLibrary .creationArchiveCard[aria-selected="true"] .esvylaCardMetadata,
#characterLibrary .characterPackCard[aria-selected="true"] .esvylaCardMetadata{display:none!important}

/* esvyla-character-center-52759.css */
/* Character library: name above timestamp, centred only in idle state. */
#characterLibrary .characterPackCard:not([aria-selected="true"]) .characterPackInfo.creationArchiveInfo {align-items:center!important;text-align:center!important;justify-content:center!important;gap:3px!important;}
#characterLibrary .characterPackCard:not([aria-selected="true"]) .characterPackInfo > .characterPackTop {display:flex!important;width:100%!important;justify-content:center!important;text-align:center!important;align-items:center!important;}
#characterLibrary .characterPackCard:not([aria-selected="true"]) .characterPackTop h3 {display:block!important;width:100%!important;flex:1!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-align:center!important;font-size:12px!important;margin:0!important;}
#characterLibrary .characterPackCard:not([aria-selected="true"]) .characterPackTop em {display:none!important;}
#characterLibrary .characterPackCard:not([aria-selected="true"]) .esvylaCardMetadata {text-align:center!important;width:100%!important;}

/* esvyla-action-parity-52746.css */
/* 5.27.46: Single authoritative action presentation, matches Recent Creations.
   No changes to card, preview, grid geometry, or image sizing. */
#imagesLibrary .creationArchiveCard .creationArchiveInfo,
#characterLibrary .characterPackCard .characterPackInfo.creationArchiveInfo{
  position:relative!important; overflow:hidden!important;
}
#imagesLibrary .creationArchiveCard[aria-selected="true"] .creationArchiveInfo > :not(.imageLibraryInlineActions),
#characterLibrary .characterPackCard[aria-selected="true"] .characterPackInfo.creationArchiveInfo > :not(.imageLibraryInlineActions){display:none!important}
#imagesLibrary .imageLibraryInlineActions[hidden],
#characterLibrary .imageLibraryInlineActions[hidden]{display:none!important}
#imagesLibrary .creationArchiveCard .imageLibraryInlineActions:not([hidden]),
#characterLibrary .characterPackCard .imageLibraryInlineActions:not([hidden]){
  position:absolute!important;inset:0!important;z-index:3!important;
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
  gap:5px!important;padding:6px!important;margin:0!important;
  width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  max-width:none!important;max-height:none!important;overflow:hidden!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  transform:none!important;transition:none!important;animation:none!important;
  align-content:stretch!important;justify-content:stretch!important;
}
#imagesLibrary .creationArchiveCard .imageLibraryInlineActions:not([hidden]) button,
#characterLibrary .characterPackCard .imageLibraryInlineActions:not([hidden]) button{
  position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  max-width:100%!important;max-height:100%!important;box-sizing:border-box!important;
  padding:2px 4px!important;margin:0!important;overflow:hidden!important;
  white-space:nowrap!important;text-overflow:ellipsis!important;
  font-size:clamp(9px,.8vw,12px)!important;line-height:1.1!important;
  transform:none!important;transition:none!important;animation:none!important;
}
#imagesLibrary .creationArchiveCard .imageLibraryInlineActions:not([hidden]) button * ,
#characterLibrary .characterPackCard .imageLibraryInlineActions:not([hidden]) button * {pointer-events:none}

/* esvyla-card-footer-stable-52747.css */
/* 5.27.47: Card actions occupy the existing metadata footer, never the image or the card flow.
   The markup for both libraries retains actions INSIDE .creationArchiveInfo. */
#imagesLibrary .creationArchiveCard,
#characterLibrary .characterPackCard.creationArchiveCard {
  position:relative!important;
  min-width:0!important;
  overflow:hidden!important;
  transform:none!important;
}
#imagesLibrary .creationArchiveCard .creationArchiveInfo,
#characterLibrary .characterPackCard .characterPackInfo.creationArchiveInfo {
  position:relative!important;
  box-sizing:border-box!important;
  flex:0 0 110px!important;
  height:110px!important;
  min-height:110px!important;
  max-height:110px!important;
  width:100%!important;
  overflow:hidden!important;
}
/* Hidden must win against old unconditional display:grid / display:flex declarations. */
#imagesLibrary .creationArchiveInfo .imageLibraryInlineActions[hidden],
#characterLibrary .characterPackInfo .imageLibraryInlineActions[hidden]{display:none!important}
/* Selected controls replace footer content visually, without changing its intrinsic size. */
#imagesLibrary .creationArchiveCard[aria-selected="true"] .creationArchiveInfo > :not(.imageLibraryInlineActions),
#characterLibrary .characterPackCard[aria-selected="true"] .characterPackInfo > :not(.imageLibraryInlineActions){display:none!important}
#imagesLibrary .creationArchiveInfo > .imageLibraryInlineActions:not([hidden]),
#characterLibrary .characterPackInfo > .imageLibraryInlineActions:not([hidden]){
  position:absolute!important;
  inset:0!important;
  z-index:3!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
  gap:5px!important;
  padding:7px!important;
  margin:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  overflow:hidden!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
  transition:none!important;
  animation:none!important;
  align-content:stretch!important;
  justify-content:stretch!important;
}
#imagesLibrary .creationArchiveInfo > .imageLibraryInlineActions:not([hidden]) button,
#characterLibrary .characterPackInfo > .imageLibraryInlineActions:not([hidden]) button{
  position:static!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:100%!important;
  padding:2px 4px!important;
  margin:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  font-size:clamp(9px,.8vw,12px)!important;
  line-height:1.1!important;
  transform:none!important;
  transition:none!important;
  animation:none!important;
}
#imagesLibrary .creationArchiveInfo > .imageLibraryInlineActions button *,
#characterLibrary .characterPackInfo > .imageLibraryInlineActions button *{pointer-events:none}

/* esvyla-recent-image-parity-52748.css */
/* 5.27.48 — Recent Creations mirrors the Image Library card presentation.
   Scope exclusively to Recent Creations; preserve carousel and event handlers. */
#recentCreationsRail.kaiRecentRail{align-items:flex-start!important;gap:14px!important;}
#recentCreationsRail .kaiRecentCard{
  position:relative!important;flex:0 0 calc((100% - 28px)/3)!important;
  width:calc((100% - 28px)/3)!important;min-width:0!important;max-width:none!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  display:flex!important;flex-direction:column!important;grid-template-rows:none!important;
  border:1px solid #233149!important;border-radius:14px!important;
  overflow:hidden!important;box-sizing:border-box!important;transform:none!important;
  background:radial-gradient(circle at top right,rgba(143,94,255,.14),transparent 34%),linear-gradient(180deg,rgba(10,17,29,.98),rgba(7,12,20,.98))!important;
}
#recentCreationsRail .kaiRecentCard .kaiRecentMedia{
  position:relative!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:auto!important;aspect-ratio:16/10!important;min-height:0!important;max-height:none!important;
  overflow:hidden!important;border-radius:0!important;padding:0!important;
  background:linear-gradient(180deg,rgba(14,22,37,.92),rgba(10,15,26,.92))!important;
  border-bottom:1px solid rgba(94,117,156,.18)!important;
}
#recentCreationsRail .kaiRecentMedia .kaiRecentBackdrop{
  position:absolute!important;inset:-12%!important;width:124%!important;height:124%!important;
  object-fit:cover!important;filter:blur(18px) saturate(1.05)!important;
  opacity:.55!important;pointer-events:none!important;z-index:0!important;
}
#recentCreationsRail .kaiRecentMedia::after{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(180deg,rgba(5,8,14,.06),rgba(5,8,14,.34))!important;pointer-events:none!important;z-index:1!important;}
#recentCreationsRail .kaiRecentMedia > img:not(.kaiRecentBackdrop),
#recentCreationsRail .kaiRecentMedia > video{
  position:absolute!important;inset:0!important;z-index:2!important;
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;background:transparent!important;
  transform:none!important;filter:none!important;
}
#recentCreationsRail .kaiRecentMedia>span{display:none!important;}
#recentCreationsRail .kaiRecentCard .kaiRecentInfo{
  position:relative!important;flex:0 0 110px!important;display:flex!important;flex-direction:column!important;
  box-sizing:border-box!important;width:100%!important;height:110px!important;min-height:110px!important;max-height:110px!important;
  padding:12px 14px!important;gap:6px!important;overflow:hidden!important;
  background:rgba(5,11,19,.9)!important;border-top:0!important;
}
#recentCreationsRail .kaiRecentInfo > small:not(.kaiRecentStamp),
#recentCreationsRail .kaiRecentInfo > strong{display:none!important;}
#recentCreationsRail .kaiRecentInfo .kaiRecentStamp{
  display:block!important;min-height:0!important;margin:auto 0!important;width:100%!important;
  color:#8795ad!important;font-size:12px!important;line-height:1.45!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
#recentCreationsRail .kaiRecentCard[aria-selected="true"] .kaiRecentStamp{display:none!important;}
#recentCreationsRail .kaiRecentCard .kaiRecentCardActions{display:none!important;}
#recentCreationsRail .kaiRecentCard[aria-selected="true"] .kaiRecentCardActions{
  position:absolute!important;inset:0!important;z-index:5!important;
  box-sizing:border-box!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:5px!important;
  width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  margin:0!important;padding:7px!important;overflow:hidden!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
  transform:none!important;transition:none!important;animation:none!important;
}
#recentCreationsRail .kaiRecentCardActions button{
  position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;flex:none!important;width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;
  margin:0!important;padding:2px 4px!important;border-radius:8px!important;
  font-size:clamp(9px,.8vw,12px)!important;line-height:1.1!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  transform:none!important;transition:none!important;animation:none!important;
}
#recentCreationsRail .kaiRecentCardActions button:disabled{opacity:.38!important;cursor:not-allowed!important;}
@media(max-width:900px){#recentCreationsRail .kaiRecentCard{flex-basis:calc((100% - 14px)/2)!important;width:calc((100% - 14px)/2)!important;}}
@media(max-width:620px){#recentCreationsRail .kaiRecentCard{flex-basis:100%!important;width:100%!important;}}

/* esvyla-video-library-recent-parity-52790.css */
/* 5.27.90 — exact Recent Creations-style Video Library card geometry */
#projectsBody .esvylaVideoGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:start!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard{height:auto!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column!important;position:relative!important;border:1px solid #233149!important;border-radius:14px!important;background:linear-gradient(180deg,#0b121d,#080e17)!important;overflow:hidden!important;box-sizing:border-box!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .projectThumb{height:auto!important;min-height:0!important;max-height:none!important;width:100%!important;aspect-ratio:16/10!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;overflow:hidden!important;border-bottom:1px solid rgba(94,117,156,.18)!important;background:linear-gradient(180deg,#0e1625,#0a0f1a)!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .projectThumb img{width:100%!important;height:100%!important;position:absolute!important;inset:0!important;object-fit:contain!important;object-position:center!important;background:transparent!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .projectInfo{height:110px!important;min-height:110px!important;max-height:110px!important;width:100%!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;padding:12px 14px!important;gap:6px!important;position:relative!important;background:rgba(5,11,19,.9)!important;border:0!important;overflow:hidden!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .projectInfo>b{display:block!important;max-width:100%!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;color:#dce4ef!important;font-size:12px!important;text-align:center!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .projectInfo>span{max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#8795ad!important;font-size:11px!important;text-align:center!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .videoLibraryInlineActions[hidden]{display:none!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .videoLibraryInlineActions:not([hidden]){display:grid!important;position:absolute!important;inset:7px!important;z-index:4!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:5px!important;align-items:stretch!important;justify-content:stretch!important;padding:0!important;margin:0!important;background:transparent!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard[aria-selected="true"] .projectInfo>b,#projectsBody .esvylaVideoGrid .esvylaVideoCard[aria-selected="true"] .projectInfo>span{display:none!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .videoLibraryInlineActions button{width:100%!important;height:100%!important;min-width:0!important;min-height:32px!important;padding:3px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:clamp(9px,.8vw,12px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;border-radius:8px!important;cursor:pointer!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoPlayOverlay{position:absolute!important;z-index:3!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;width:54px!important;height:54px!important;border:0!important;border-radius:50%!important;background:rgba(70,48,54,.85)!important;color:white!important;font-size:25px!important;cursor:pointer!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoCoverEmpty{display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important;color:#78849d!important;font-size:12px!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoCoverEmpty span{font-size:29px!important;color:#b3a0e5!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .projectRecoveryTop{display:none!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard[aria-selected="true"]{border-color:#9864e5!important;box-shadow:0 0 0 2px rgba(146,92,241,.3)!important;}
@media(max-width:900px){#projectsBody .esvylaVideoGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){#projectsBody .esvylaVideoGrid{grid-template-columns:1fr!important}}

/* esvyla-video-library-recovery-52791.css */
/* Only unfinished Video Library cards expose their relevant recovery action when selected. */
#projectsBody .esvylaVideoCard .esvylaVideoRecovery[hidden]{display:none!important}
#projectsBody .esvylaVideoCard .esvylaVideoRecovery:not([hidden]){position:absolute!important;z-index:8!important;left:12px!important;right:12px!important;bottom:124px!important;display:flex!important;justify-content:center!important;pointer-events:auto!important}
#projectsBody .esvylaVideoCard .esvylaVideoRecovery .projectRecoveryTopBtn{flex:0 1 auto!important;width:auto!important;max-width:100%!important;height:36px!important;min-height:36px!important;padding:0 14px!important;border-radius:9px!important;font-size:12px!important;color:#fff!important;background:#301a54!important;border:1px solid #9463ec!important;z-index:9!important;cursor:pointer!important}
#projectsBody .esvylaVideoCard .esvylaVideoRecovery .projectRecoveryTopBtn:focus-visible{outline:2px solid white;outline-offset:2px}

/* esvyla-video-library-one-row-52795.css */
/* 5.27.95: one contextual recovery button centred ABOVE preview, four icon-only actions in one row. */
#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery:not([hidden]){position:relative!important;inset:auto!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;display:flex!important;order:-1!important;justify-content:center!important;align-items:center!important;width:100%!important;min-height:52px!important;padding:8px 10px!important;box-sizing:border-box!important;z-index:8!important;background:transparent!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery .projectRecoveryTopBtn{flex:0 1 auto!important;width:auto!important;max-width:100%!important;min-width:135px!important;height:36px!important;min-height:36px!important;padding:0 15px!important;display:flex!important;justify-content:center!important;align-items:center!important;font-size:12px!important;border-radius:10px!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery .projectStopTopBtn{background:rgba(96,24,42,.62)!important;border-color:#d75a7a!important;color:#ffb5c5!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .videoLibraryInlineActions:not([hidden]){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important;gap:6px!important;justify-content:space-evenly!important;align-items:center!important;inset:7px!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .videoLibraryInlineActions button{width:40px!important;max-width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;justify-self:center!important;align-self:center!important;flex:0 1 auto!important;padding:0!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .projectRecoveryTop{display:none!important;}

/* esvyla-video-library-visible-recovery-52796.css */
/* 5.27.96: recovery visible without card selection; selected cards show only Scenes if saved. */
#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery[hidden],
#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery button[hidden]{display:none!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery:not([hidden]){display:flex!important;order:-1!important;justify-content:center!important;align-items:center!important;min-height:52px!important;}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery .esvylaScenesTopBtn{background:#301a54!important;border:1px solid #9463ec!important;color:white!important;}

/* esvyla-video-library-image-parity-52797.css */
/* Video Library uses exactly the stable Image Library media + footer geometry.
   Selection swaps footer contents without changing the card's dimensions. */
#projectsBody .esvylaVideoGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:14px!important}
#projectsBody .esvylaVideoGrid .esvylaVideoCard{display:flex!important;flex-direction:column!important;align-self:stretch!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:hidden!important;box-sizing:border-box!important;border-radius:14px!important;position:relative!important;transform:none!important;transition:border-color .15s ease,box-shadow .15s ease!important}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .projectThumb{order:0!important;flex:0 0 auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/10!important;position:relative!important;box-sizing:border-box!important;overflow:hidden!important;background:#070b13!important;padding:0!important}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .projectThumb img,#projectsBody .esvylaVideoGrid .esvylaVideoCard .projectThumb video{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;position:absolute!important;inset:0!important;object-fit:contain!important;object-position:center center!important;filter:none!important;transform:none!important}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .projectInfo{order:1!important;position:relative!important;flex:0 0 110px!important;width:100%!important;height:110px!important;min-height:110px!important;max-height:110px!important;box-sizing:border-box!important;padding:12px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;background:#080e17!important}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .projectInfo>b,#projectsBody .esvylaVideoGrid .esvylaVideoCard .projectInfo>span{max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important}
#projectsBody .esvylaVideoGrid .esvylaVideoCard[aria-selected="true"] .projectInfo>b,#projectsBody .esvylaVideoGrid .esvylaVideoCard[aria-selected="true"] .projectInfo>span{display:none!important}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .videoLibraryInlineActions[hidden]{display:none!important}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .videoLibraryInlineActions:not([hidden]){position:absolute!important;inset:0!important;box-sizing:border-box!important;width:100%!important;height:100%!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:1fr!important;align-items:center!important;justify-items:center!important;gap:6px!important;padding:7px!important;margin:0!important;overflow:hidden!important}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .videoLibraryInlineActions button{display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;max-width:100%!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;flex:0 0 auto!important}
/* The top recovery/scenes control overlays the video preview, never inserts a row. */
#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery[hidden],#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery button[hidden]{display:none!important}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery:not([hidden]){position:absolute!important;order:0!important;top:9px!important;bottom:auto!important;left:8px!important;right:8px!important;z-index:8!important;width:auto!important;height:38px!important;min-height:0!important;max-height:38px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important;background:transparent!important;pointer-events:none!important}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery button:not([hidden]){pointer-events:auto!important;position:relative!important;top:auto!important;bottom:auto!important;max-height:36px!important}
#projectsBody .esvylaVideoGrid .esvylaVideoCard .esvylaVideoPlayOverlay{z-index:4!important}
@media(max-width:900px){#projectsBody .esvylaVideoGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){#projectsBody .esvylaVideoGrid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}}

#projectsBody .esvylaVideoGrid .esvylaVideoCard .projectThumb .esvylaVideoCardPreview{display:none!important;z-index:2!important;pointer-events:none!important;background:#070b13!important}
#projectsBody .esvylaVideoGrid .esvylaVideoCard[aria-selected="true"] .projectThumb .esvylaVideoCardPreview[src]{display:block!important}

/* esvyla-video-library-full-bleed-52798.css */
/* 5.27.98 — Videos only: full-bleed media and no empty card-header row. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb{padding:0!important;overflow:hidden!important;background:#070b13!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb img,
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb video,
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb .esvylaVideoCardPreview{width:100%!important;height:100%!important;inset:0!important;object-fit:cover!important;object-position:center center!important;max-width:none!important;max-height:none!important}
/* Top action overlays the preview without adding blank height above it. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery:not([hidden]){position:absolute!important;order:0!important;top:9px!important;left:8px!important;right:8px!important;bottom:auto!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;z-index:9!important;pointer-events:none!important;background:transparent!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery button:not([hidden]){pointer-events:auto!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery[hidden]{display:none!important}
.dynamicView .viewHeader.esvylaVideoLibraryHeader{margin-bottom:10px!important;padding-bottom:0!important}

/* esvyla-video-library-default-preview-52799.css */
/* Videos: actual video is edge-to-edge without selecting the card. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb .esvylaVideoCardPreview[src]{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;z-index:2!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb img{object-fit:cover!important}

/* esvyla-video-library-blur-parity-52800.css */
/* 5.28.00: default Image Library-style two-layer video, not crop-to-fill. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb{isolation:isolate!important;background:#141923!important;overflow:hidden!important}
/* Poster fallback is also duplicated in a blurred background via CSS, no black gutters. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb:has(>img)::before{content:"";position:absolute;inset:-22px;z-index:0;background-image:var(--esvyla-blur-poster);background-size:cover;background-position:center;filter:blur(23px) brightness(.78);transform:scale(1.08);pointer-events:none}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb > img{z-index:1!important;inset:8%!important;width:84%!important;height:84%!important;object-fit:contain!important;background:transparent!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb > video.esvylaVideoBlurMotion[src]{display:block!important;position:absolute!important;inset:-24px!important;width:calc(100% + 48px)!important;height:calc(100% + 48px)!important;object-fit:cover!important;filter:blur(24px) brightness(.7)!important;transform:scale(1.1)!important;z-index:2!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb > video.esvylaVideoCardPreview[src]{display:block!important;position:absolute!important;inset:7%!important;width:86%!important;height:86%!important;object-fit:contain!important;background:transparent!important;z-index:3!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .esvylaVideoPlayOverlay{z-index:5!important}
@media(prefers-reduced-motion:reduce){#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb > video.esvylaVideoBlurMotion{display:none!important}}

/* esvyla-collapsed-brand-icon-52749.css */
/* ESVYLA 5.27.49: collapsed sidebar uses the existing brand icon, never a squeezed wordmark. */
#creatorApp #sidebar .esvylaRailLogo{display:none!important}
@media(min-width:761px){
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaSidebarBrand{
    position:relative!important;box-sizing:border-box!important;display:flex!important;
    align-items:center!important;justify-content:center!important;
    height:62px!important;min-height:62px!important;padding:0!important;
    overflow:visible!important;
  }
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaSidebarBrand .esvylaBrandWordmark{display:none!important}
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaSidebarBrand .esvylaRailLogo{
    display:block!important;position:static!important;flex:0 0 auto!important;
    width:34px!important;height:34px!important;min-width:34px!important;
    max-width:34px!important;max-height:34px!important;
    object-fit:contain!important;margin:10px auto 0!important;padding:0!important;
    transform:none!important;filter:none!important;opacity:1!important;
  }
}

/* esvyla-sidebar-rail-isolation-52750.css */
/* 5.27.50: keep branding, navigable rail and account footer in independent zones. */
@media (min-width:761px){
  html body #creatorApp #sidebar.sidebar{
    display:flex!important;flex-direction:column!important;
    overflow:hidden!important;overflow-y:hidden!important;overflow-x:hidden!important;
    min-height:0!important;scrollbar-gutter:auto!important;
  }
  html body #creatorApp #sidebar .esvylaSidebarBrand{
    flex:0 0 auto!important;position:relative!important;
  }
  html body #creatorApp #sidebar .primaryNav{
    display:grid!important;flex:1 1 auto!important;min-height:0!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;align-content:start!important;
  }
  html body #creatorApp #sidebar .primaryNav::-webkit-scrollbar{display:none!important;width:0!important}
  html body #creatorApp #sidebar .sidebarCreditsPurchase{
    flex:0 0 auto!important;
  }
  html body #creatorApp #sidebar .sideBottom,
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .sideBottom{
    display:block!important;position:relative!important;bottom:auto!important;
    flex:0 0 auto!important;margin-top:0!important;
    z-index:70!important;background:#090f1b!important;
  }
  html body #creatorApp .page>header{display:flex!important;align-items:center!important}
  html body #creatorApp .page>header #esvylaDesktopCollapse{
    display:grid!important;place-items:center!important;flex:0 0 28px!important;
    position:static!important;inset:auto!important;
    width:28px!important;height:28px!important;margin:0 10px 0 0!important;
    padding:0!important;border:1px solid #33405a!important;border-radius:50%!important;
    background:#101827!important;color:#e1e8ff!important;font-size:17px!important;
    cursor:pointer!important;z-index:1!important;
  }
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaSidebarBrand .esvylaRailLogo{
    margin:0 auto!important;
  }
}
@media(max-width:760px){
 html body #creatorApp .page>header #esvylaDesktopCollapse{display:none!important}
}

/* esvyla-sidebar-header-auth-52751.css */
/* ESVYLA 5.27.51 — align sidebar's one separator with the actual page header. */
@media (min-width:761px) {
  html body #creatorApp #sidebar.sidebar {
    padding-top:0!important;
  }
  html body #creatorApp #sidebar .esvylaSidebarBrand,
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaSidebarBrand {
    box-sizing:border-box!important;
    flex:0 0 var(--esvyla-header-height,74px)!important;
    height:var(--esvyla-header-height,74px)!important;
    min-height:var(--esvyla-header-height,74px)!important;
    max-height:var(--esvyla-header-height,74px)!important;
    padding:8px 6px!important;
    margin:0!important;
    border:0!important;
    position:relative!important;
    overflow:hidden!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  /* The single full-width separator replaces the old inset divider. */
  html body #creatorApp #sidebar .esvylaSidebarBrand::after {
    content:""!important;
    display:block!important;
    position:absolute!important;
    bottom:0!important;
    height:1px!important;
    left:-14px!important;
    right:-14px!important;
    background:var(--stroke,#283144)!important;
    pointer-events:none!important;
  }
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaSidebarBrand::after {
    left:-3px!important;right:-3px!important;
  }
  html body #creatorApp #sidebar .esvylaSidebarBrand .esvylaBrandWordmark {
    width:100%!important;
    max-width:100%!important;
    max-height:calc(var(--esvyla-header-height,74px) - 18px)!important;
    object-fit:contain!important;
  }
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaSidebarBrand .esvylaRailLogo {
    width:34px!important;height:34px!important;min-width:34px!important;
    max-width:34px!important;max-height:34px!important;
    margin:0 auto!important;object-fit:contain!important;
  }
}
/* Auth lock must override any responsive sidebar display!important rule. */
html body #creatorApp.authLocked {display:none!important;visibility:hidden!important;}
html body #creatorApp.authLocked #sidebar {display:none!important;visibility:hidden!important;}
@media(min-width:761px){
  html body #creatorApp #sidebar.sidebar::after{
    content:""!important;display:block!important;position:absolute!important;
    left:0!important;right:0!important;top:calc(var(--esvyla-header-height,74px) - 1px)!important;
    width:100%!important;height:1px!important;background:var(--stroke,#283144)!important;
    z-index:4!important;pointer-events:none!important;
  }
  html body #creatorApp #sidebar .esvylaSidebarBrand::after{display:none!important}
}

/* esvyla-editor-header-52752.css */
/* 5.27.52: visual alignment only; existing navigation/editor behavior stays intact. */
@media(min-width:761px){
 html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaSidebarBrand .esvylaRailLogo{
   position:absolute!important;top:50%!important;left:50%!important;
   margin:0!important;transform:translate(-50%,-50%)!important;
   width:34px!important;height:34px!important;object-fit:contain!important;
 }
 html body #proEditor .proTop{position:relative!important;min-width:0!important}
 html body #proEditor .proTopActions.esvylaAlignedActions{
   position:absolute!important;box-sizing:border-box!important;
   left:var(--esvyla-editor-action-left)!important;right:8px!important;
   top:50%!important;transform:translateY(-50%)!important;
   width:auto!important;min-width:0!important;margin:0!important;
   display:flex!important;flex-wrap:nowrap!important;gap:6px!important;
   justify-content:flex-end!important;align-items:center!important;
 }
 html body #proEditor .proTopActions.esvylaAlignedActions>button{
   flex:1 1 0!important;width:auto!important;min-width:0!important;
   max-width:none!important;white-space:nowrap!important;
   padding-left:4px!important;padding-right:4px!important;
 }
 html body #proEditor .proTopActions.esvylaAlignedActions>#proImport{flex:1.3 1 0!important}
}
/* Keep the existing assistant gesture surface on top of the editor. */
html body:has(#proEditor:not([hidden])) #esvylaAssistantLauncher:not([hidden]){
  z-index:4100!important;touch-action:none!important;cursor:grab!important;
}
html body:has(#proEditor:not([hidden])) #esvylaAssistantLauncher.dragging{cursor:grabbing!important}

/* esvyla-assistant-layer-header-52766.css */
/* ESVYLA 5.27.65: approved tablet/desktop header and assistant overlay repair. */
/* The monitor and its transport use unusually high layers on iPad; the assistant must win. */
html body > #esvylaAssistantScrim.esvylaAssistantScrim{z-index:2147483100!important}
html body > #esvylaAssistantPanel.esvylaAssistantPanel{z-index:2147483101!important}
/* The assistant remains a fixed top-level overlay, not a child of the editor. */
html body > #esvylaAssistantPanel.esvylaAssistantPanel:not([hidden]){visibility:visible!important;pointer-events:auto!important}
@media (min-width:761px){
  /* Match the sidebar logo with the app header's centre line, nudging it up 3px. */
  html body #creatorApp #sidebar .esvylaSidebarBrand .esvylaRailLogo,
  html body #creatorApp #sidebar .esvylaSidebarBrand .esvylaBrandWordmark{position:relative!important;top:-3px!important}
  html body #creatorApp .page>header{margin-top:0!important;top:0!important}
}
@media (max-width:760px){
  html body #creatorApp #sidebar .esvylaSidebarBrand .esvylaRailLogo,
  html body #creatorApp #sidebar .esvylaSidebarBrand .esvylaBrandWordmark{position:relative!important;top:-3px!important}
}

/* ESVYLA 5.27.66 — resolve earlier conflicting top offsets with one final
   absolute-centering rule. Logo artwork is unchanged. */
@media (min-width:761px){
 html body #creatorApp.esvylaDesktopCollapsed #sidebar.sidebar .esvylaSidebarBrand{position:relative!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar.sidebar .esvylaSidebarBrand img.esvylaRailLogo{
  display:block!important;position:absolute!important;left:50%!important;
  top:calc(50% - 10px)!important;bottom:auto!important;right:auto!important;
  transform:translate(-50%,-50%)!important;margin:0!important;
  width:34px!important;height:34px!important;object-fit:contain!important;
 }
}
@media (max-width:760px){
 html body #creatorApp #sidebar .esvylaSidebarBrand img.esvylaRailLogo{
  transform:translateY(-7px)!important;
 }
}

/* esvyla-icon-final-center-52767.css */
/* 5.27.67: align ONLY the collapsed icon to the actual 74px sidebar header. */
@media (min-width:761px){
 html body #creatorApp.esvylaDesktopCollapsed #sidebar.sidebar .esvylaSidebarBrand{
  box-sizing:border-box!important;height:var(--esvyla-header-height,74px)!important;
  min-height:var(--esvyla-header-height,74px)!important;max-height:var(--esvyla-header-height,74px)!important;
  padding:0!important;position:relative!important;
 }
 html body #creatorApp.esvylaDesktopCollapsed #sidebar.sidebar .esvylaSidebarBrand img.esvylaRailLogo{
  display:block!important;position:absolute!important;left:50%!important;top:calc(50% - 10px)!important;
  bottom:auto!important;right:auto!important;margin:0!important;padding:0!important;
  transform:translate(-50%,-50%)!important;width:34px!important;height:34px!important;
  object-fit:contain!important;object-position:center!important;
 }
}

/* esvyla-icon-center-52772.css */
/* Align only the collapsed rail logo with the expand arrow centre. */
@media (min-width:761px){
 html body #creatorApp.esvylaDesktopCollapsed #sidebar.sidebar .esvylaSidebarBrand img.esvylaRailLogo{
  top:calc(50% - 20px)!important;left:50%!important;
  transform:translate(-50%,-50%)!important;
 }
}

/* esvyla-rail-project-browser-52753.css */
/* 5.27.53: constrain these two presentation issues without altering editor behaviour. */
@media (min-width:761px) {
  /* Brand artwork sits centrally in the visible header, clear of its divider. */
  html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaSidebarBrand .esvylaRailLogo {
    top:calc(50% - 13px)!important;
    transform:translate(-50%,-50%)!important;
  }
  /* Keep the project browser entirely to the right of the persistent navigation rail. */
  html body:has(#creatorApp.esvylaDesktopCollapsed:not(.authLocked)) .proLibraryBack {
    left:68px!important;right:0!important;width:auto!important;
  }
  html body:has(#creatorApp:not(.esvylaDesktopCollapsed):not(.authLocked)) .proLibraryBack {
    left:var(--esvyla-sidebar-expanded-width,264px)!important;right:0!important;width:auto!important;
  }
  html body .proLibraryBack {
    box-sizing:border-box!important;display:grid!important;place-items:center!important;
    padding:12px!important;
  }
  html body .proLibraryBack>.proLibraryModal {
    box-sizing:border-box!important;width:min(1040px,100%)!important;
    max-width:100%!important;min-width:0!important;
  }
}

/* esvyla-coming-soon-52774.css */
/* ESVYLA Coming Soon: isolated, optional public landing view. */
#esvylaSoon[hidden]{display:none!important}#authGate:has(#esvylaSoon:not([hidden])) #landing48{display:none!important}
.esvylaSoon{position:relative;isolation:isolate;display:grid;place-items:center;min-height:100dvh;min-height:100vh;padding:96px 22px 80px;box-sizing:border-box;overflow:hidden;background:radial-gradient(ellipse at 87% 15%,rgba(104,217,244,.75),transparent 38%),radial-gradient(ellipse at 75% 70%,rgba(97,54,248,.84),transparent 49%),radial-gradient(ellipse at 43% 0%,rgba(241,57,128,.8),transparent 53%),linear-gradient(130deg,#100548 1%,#201068 46%,#090c31 100%);color:#fff;text-align:center}
.esvylaSoon:before,.esvylaSoon:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none}.esvylaSoon:before{background:radial-gradient(ellipse at 80% 6%,rgba(255,207,144,.8),transparent 32%);mix-blend-mode:screen}.esvylaSoon:after{background:linear-gradient(0deg,rgba(7,9,33,.63),transparent 48%)}
.esvylaSoonContent{width:min(100%,810px);position:relative;z-index:1}.esvylaSoonLogo{display:block;width:min(210px,54vw);height:auto;max-height:85px;object-fit:contain;margin:0 auto 28px}.esvylaSoonEyebrow{display:block;font-size:11px;letter-spacing:.38em;color:#d5c9ff;font-weight:700;margin-bottom:14px}.esvylaSoon h1{margin:0 0 16px;font-size:clamp(29px,4.2vw,53px);font-weight:750;letter-spacing:.17em;line-height:1.22;color:#fff}.esvylaSoonContent>p:not(.esvylaSoonFeedback){font-size:clamp(14px,1.4vw,17px);line-height:1.7;color:#e0e4ff;max-width:630px;margin:0 auto 28px}.esvylaSoonClock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(9px,2vw,24px);margin:36px auto 32px;max-width:690px}.esvylaSoonUnit{min-width:0;border:1px solid rgba(255,255,255,.3);border-radius:17px;overflow:hidden;box-shadow:0 16px 30px rgba(8,5,40,.35);background:linear-gradient(135deg,rgba(96,61,215,.5),rgba(104,189,255,.28));backdrop-filter:blur(17px)}.esvylaSoonUnit strong{display:grid;place-items:center;height:112px;font-size:clamp(32px,5vw,62px);font-weight:350;font-variant-numeric:tabular-nums}.esvylaSoonUnit span{display:block;background:rgba(252,252,255,.96);color:#5a519a;padding:10px 1px;font-weight:650;font-size:11px;letter-spacing:.12em}.esvylaSoonContent>.esvylaSoonJoin{margin-bottom:13px!important}.esvylaSoonForm{display:flex;width:min(100%,460px);margin:0 auto;border:1px solid rgba(255,255,255,.3);border-radius:12px;overflow:hidden;background:rgba(8,5,52,.63);box-shadow:0 10px 28px rgba(13,6,38,.25)}.esvylaSoonForm input{border:0;background:transparent;color:#fff;outline:none;font-size:14px;min-width:0;flex:1;padding:15px}.esvylaSoonForm input::placeholder{color:#c2bee6}.esvylaSoonForm button{border:0;background:linear-gradient(110deg,#c64be5,#7057ed);color:#fff;font-weight:750;padding:12px 22px;cursor:pointer}.esvylaSoonFeedback{min-height:24px!important;margin:12px auto!important;color:#fff!important;font-size:13px!important}.esvylaSoonSignin{background:none;border:0;color:#c8d2ff;text-decoration:underline;text-underline-offset:4px;cursor:pointer;font-size:12px;padding:12px}.esvylaSoon button:focus-visible,.esvylaSoon input:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:520px){.esvylaSoon{padding:76px 16px 40px}.esvylaSoon h1{letter-spacing:.09em}.esvylaSoonClock{gap:7px;margin:26px auto}.esvylaSoonUnit{border-radius:10px}.esvylaSoonUnit strong{height:73px;font-size:32px}.esvylaSoonUnit span{font-size:9px;padding:9px 0}.esvylaSoonForm button{padding:11px 12px}}
#landing48[hidden]{display:none!important}

/* 5.27.78: Countdowns are never rendered on an authenticated studio surface,
   including while auth restoration and public API requests race each other. */
html.esvylaAuthenticated #authGate,
#authGate.hidden {display:none!important}
body:not(.authReady) #esvylaSoon,
html.esvylaAuthenticated #esvylaSoon,
#authGate.hidden #esvylaSoon {display:none!important}

/* esvyla-video-library-debug-52801.css */
/* Videos only — remove inherited header/panel gap, preserving other pages. */
.dynamicView .viewHeader.esvylaVideoLibraryHeader{margin:0!important;padding:0!important;min-height:0!important}
#projectsBody.esvylaVideoFullBleed{margin-top:0!important;padding-top:0!important;min-height:0!important}
#projectsBody.esvylaVideoFullBleed>.esvylaVideoGrid{margin-top:0!important;padding-top:0!important}
/* Both copies of the same video; blurred video fills the entire card; sharp video keeps aspect ratio. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb{position:relative!important;overflow:hidden!important;isolation:isolate!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb>video.esvylaVideoBlurMotion[src]{display:block!important;position:absolute!important;inset:-26px!important;width:calc(100% + 52px)!important;height:calc(100% + 52px)!important;object-fit:cover!important;filter:blur(24px) brightness(.73)!important;z-index:2!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb>video.esvylaVideoCardPreview[src]{display:block!important;position:absolute!important;inset:7%!important;width:86%!important;height:86%!important;object-fit:contain!important;z-index:3!important;pointer-events:none!important}

/* esvyla-video-library-layout-fix-52802.css */
/* 5.28.02: Video Library-only mobile and desktop corrections. */
/* The page itself was creating the large space above the heading. */
main:has(#dynamicView .esvylaVideoLibraryHeader){padding-top:10px!important}
#dynamicView:has(.esvylaVideoLibraryHeader){padding-top:0!important}
#dynamicView .viewHeader.esvylaVideoLibraryHeader{margin:0 0 5px!important;padding:0!important;min-height:0!important}
#dynamicView .viewHeader.esvylaVideoLibraryHeader p{margin-bottom:0!important}
#projectsBody.esvylaVideoFullBleed{padding-top:10px!important;margin-top:0!important}
/* Return Recovery/Scenes to a dedicated row ABOVE the preview. No overlay. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery:not([hidden]){
position:relative!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
order:-1!important;display:flex!important;flex:0 0 52px!important;align-items:center!important;justify-content:center!important;
width:100%!important;height:52px!important;min-height:52px!important;max-height:52px!important;
padding:8px 10px!important;margin:0!important;background:#101722!important;
pointer-events:auto!important;z-index:1!important;box-sizing:border-box!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery[hidden],
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery button[hidden]{display:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .esvylaVideoRecovery button:not([hidden]){
position:static!important;pointer-events:auto!important;max-height:36px!important}
/* The empty-media poster is displayed cleanly and never produces a fake broken-video border. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb>img[data-esvyla-image-broken="true"]{display:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb>.esvylaVideoCoverEmpty{z-index:1!important;inset:0!important}
/* Keep the sharp original at natural ratio above the moving, blurred duplicate. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb>video.esvylaVideoCardPreview[src]{object-fit:contain!important;background:transparent!important}

/* esvyla-video-library-stable-fast-52803.css */
/* 5.28.03: stable selection geometry; scope all changes to Videos. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard{
  height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;
  transform:none!important;scale:1!important;transition:border-color .15s ease,box-shadow .15s ease!important;
  grid-row:auto!important;align-self:stretch!important;contain:layout style!important;
}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard:is(:hover,:focus,:focus-within,[aria-selected="true"],.projectSelected){
  transform:none!important;scale:1!important;min-height:0!important;max-height:none!important;
}
/* Always reserve the same 52px control row, including when actions switch on selection.
   Visibility rather than display prevents the thumbnail from jumping or expanding. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard>.esvylaVideoRecovery,
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard>.esvylaVideoRecovery[hidden]{
  display:flex!important;position:relative!important;order:-1!important;flex:0 0 52px!important;
  height:52px!important;min-height:52px!important;max-height:52px!important;
  width:100%!important;box-sizing:border-box!important;
  align-items:center!important;justify-content:center!important;overflow:hidden!important;
  background:#101722!important;padding:8px 10px!important;margin:0!important;
}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard>.esvylaVideoRecovery[hidden]{visibility:hidden!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard>.esvylaVideoRecovery:not([hidden]){visibility:visible!important;pointer-events:auto!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard>.projectThumb{
  order:0!important;flex:0 0 auto!important;aspect-ratio:16/10!important;min-height:0!important;
}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard>.projectInfo{
  order:1!important;flex:0 0 110px!important;height:110px!important;min-height:110px!important;max-height:110px!important;
}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .videoLibraryInlineActions:not([hidden]){
  position:absolute!important;inset:7px!important;height:auto!important;
}
/* Preserve the two-layer sharp/blur effect; avoid reflow during metadata loading. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb>video{contain:paint!important}

/* esvyla-video-library-controls-52804.css */
/* 5.28.04 — single play control, stable video previews and functioning view toolbar. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoCoverEmpty span{display:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCoverEmpty{display:flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;color:#8b98ae!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .projectThumb:has(video.esvylaVideoCardPreview[src]) .esvylaVideoCoverEmpty{display:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoPlayOverlay{width:48px!important;height:48px!important;z-index:6!important}
#dynamicView .esvylaVideoLibraryHeader .esvylaVideosToolbar{display:flex;align-items:center;gap:8px;flex-shrink:0;margin-left:auto}
#dynamicView .esvylaVideosToolbar select,#dynamicView .esvylaVideoLayoutBtn{height:40px;background:#0d1421;color:#d6dded;border:1px solid #27354c;border-radius:10px;font:inherit;padding:0 12px}
#dynamicView .esvylaVideoLayoutBtn{min-width:43px;padding:0 10px;cursor:pointer;font-size:20px}
#dynamicView .esvylaVideoLayoutBtn[aria-pressed="true"]{background:#392265;border-color:#9357ee;color:#fff}
#projectsBody .esvylaVideoGrid.esvylaVideosList{grid-template-columns:1fr!important}
#projectsBody .esvylaVideoGrid.esvylaVideosList .esvylaVideoCard{flex-direction:row!important;align-items:stretch!important;max-height:220px!important}
#projectsBody .esvylaVideoGrid.esvylaVideosList .esvylaVideoCard .projectThumb{flex:0 0 35%!important;width:35%!important;aspect-ratio:auto!important;height:220px!important}
#projectsBody .esvylaVideoGrid.esvylaVideosList .esvylaVideoCard .projectInfo{flex:1 1 auto!important;max-height:220px!important;height:220px!important;min-height:0!important}
#projectsBody .esvylaVideoGrid.esvylaVideosList .esvylaVideoCard>.esvylaVideoRecovery{flex:0 0 130px!important;width:130px!important;height:220px!important;max-height:220px!important;order:0!important}
@media(max-width:650px){#dynamicView .viewHeader.esvylaVideoLibraryHeader{flex-wrap:wrap!important}#dynamicView .esvylaVideoLibraryHeader .esvylaVideosToolbar{margin-left:0!important;width:100%;justify-content:flex-end}#projectsBody .esvylaVideoGrid.esvylaVideosList .esvylaVideoCard>.esvylaVideoRecovery{display:none!important}#projectsBody .esvylaVideoGrid.esvylaVideosList .esvylaVideoCard .projectThumb{flex:0 0 43%!important;width:43%!important}}

/* esvyla-video-library-interaction-performance-52805.css */
/* 5.28.05 – isolated Video Library: stable grid/list geometry and complete click surface */
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard{position:relative!important;cursor:pointer!important;box-sizing:border-box!important;overflow:hidden!important;min-width:0!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb,
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectInfo{pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard button,
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard a,
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .videoLibraryInlineActions{pointer-events:auto!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid.esvylaVideosList{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid.esvylaVideosList>.esvylaVideoCard{display:grid!important;grid-template-columns:minmax(150px,32%) minmax(0,1fr)!important;grid-template-rows:42px minmax(0,1fr)!important;height:210px!important;max-height:210px!important;min-height:210px!important;width:100%!important;max-width:100%!important;transform:none!important;align-items:stretch!important;contain:layout style!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid.esvylaVideosList>.esvylaVideoCard>.esvylaVideoRecovery,
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid.esvylaVideosList>.esvylaVideoCard>.esvylaVideoRecovery[hidden]{grid-column:1/-1!important;grid-row:1!important;position:relative!important;order:0!important;flex:none!important;width:100%!important;height:42px!important;min-height:42px!important;max-height:42px!important;display:flex!important;visibility:visible!important;align-items:center!important;justify-content:flex-start!important;padding:3px 12px!important;box-sizing:border-box!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid.esvylaVideosList>.esvylaVideoCard>.esvylaVideoRecovery[hidden]{visibility:hidden!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid.esvylaVideosList>.esvylaVideoCard>.projectThumb{grid-column:1!important;grid-row:2!important;order:0!important;flex:none!important;width:100%!important;height:168px!important;min-height:0!important;max-height:168px!important;aspect-ratio:auto!important;overflow:hidden!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid.esvylaVideosList>.esvylaVideoCard>.projectInfo{grid-column:2!important;grid-row:2!important;order:0!important;flex:none!important;width:100%!important;height:168px!important;min-height:0!important;max-height:168px!important;padding:16px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;overflow:hidden!important;box-sizing:border-box!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid.esvylaVideosList>.esvylaVideoCard>.projectInfo>*{max-width:100%!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid.esvylaVideosList .videoLibraryInlineActions:not([hidden]){position:relative!important;inset:auto!important;max-width:100%!important;flex-wrap:wrap!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid .esvylaVideoCard .projectThumb>.esvylaVideoBlurMotion{display:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb::before{pointer-events:none!important}
@media(max-width:650px){#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid.esvylaVideosList>.esvylaVideoCard{grid-template-columns:42% minmax(0,1fr)!important;height:180px!important;min-height:180px!important;max-height:180px!important}#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid.esvylaVideosList>.esvylaVideoCard>.projectThumb,#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid.esvylaVideosList>.esvylaVideoCard>.projectInfo{height:138px!important;max-height:138px!important}#projectsBody.esvylaVideoFullBleed .esvylaVideoGrid.esvylaVideosList>.esvylaVideoCard>.projectInfo{padding:10px!important}}

/* esvyla-video-library-blur-logo-52807.css */
/* 5.28.07: restore the same-video full-bleed blur + sharp centred preview. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb{position:relative!important;isolation:isolate!important;overflow:hidden!important;background:#141923!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb::before{content:""!important;display:block!important;position:absolute!important;inset:-30px!important;z-index:0!important;background-image:var(--esvyla-blur-poster,none)!important;background-position:center!important;background-size:cover!important;filter:blur(24px) brightness(.70)!important;transform:scale(1.09)!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb>img{position:absolute!important;display:block!important;inset:8%!important;width:84%!important;height:84%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;filter:none!important;transform:none!important;z-index:1!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb>video.esvylaVideoCardPreview[src]{position:absolute!important;display:block!important;inset:8%!important;width:84%!important;height:84%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;background:transparent!important;filter:none!important;transform:none!important;z-index:3!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb>video.esvylaVideoBlurMotion{display:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb>.esvylaVideoPlayOverlay{z-index:5!important}
/* Align both wide and collapsed logo at the mathematical centre of the sidebar header. */
html body #creatorApp #sidebar .esvylaSidebarBrand{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}
html body #creatorApp #sidebar .esvylaSidebarBrand>img.esvylaBrandWordmark{display:block;position:relative!important;inset:auto!important;transform:none!important;margin:auto!important;width:auto!important;max-width:calc(100% - 12px)!important;max-height:calc(var(--esvyla-header-height,74px) - 20px)!important;object-fit:contain!important;object-position:center center!important}
html body #creatorApp.esvylaDesktopCollapsed #sidebar .esvylaSidebarBrand>img.esvylaRailLogo{position:relative!important;inset:auto!important;transform:none!important;margin:auto!important;width:34px!important;height:34px!important;object-fit:contain!important;object-position:center center!important}

/* esvyla-video-library-live-blur-52808.css */
/* 5.28.08: regression fix — video-derived, full-bleed blurred duplicate even when no poster exists. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb{position:relative!important;isolation:isolate!important;overflow:hidden!important;background:#141923!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb>video.esvylaVideoBlurMotion[src]{display:block!important;position:absolute!important;inset:-25px!important;width:calc(100% + 50px)!important;height:calc(100% + 50px)!important;max-width:none!important;max-height:none!important;object-fit:cover!important;filter:blur(22px) brightness(.72)!important;transform:scale(1.08)!important;z-index:2!important;opacity:1!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb>video.esvylaVideoCardPreview[src]{display:block!important;position:absolute!important;inset:7%!important;width:86%!important;height:86%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;z-index:3!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb>img{z-index:1!important;object-fit:contain!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb>.esvylaVideoPlayOverlay{z-index:5!important}
@media(prefers-reduced-motion:reduce){#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb>video.esvylaVideoBlurMotion{filter:blur(22px) brightness(.72)!important}}

/* esvyla-video-library-performance-52809.css */
/* Video Library performance: use the real preview poster as a blurred backdrop when available.
   Do not decode a second video unless the card has no poster. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb:has(>img)::before{
  content:""!important;display:block!important;position:absolute!important;inset:-26px!important;
  background-image:var(--esvyla-blur-poster,none)!important;background-position:center!important;
  background-size:cover!important;filter:blur(22px) brightness(.72)!important;
  transform:scale(1.08)!important;pointer-events:none!important;z-index:2!important;
}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb:has(>img)>video.esvylaVideoCardPreview[src]{z-index:3!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb:has(>img)>video.esvylaVideoBlurMotion{display:none!important}

/* esvyla-video-library-blur-scroll-52810.css */
/* 5.28.10: blur parity for every playable Video Library card, including broken posters. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb{position:relative!important;isolation:isolate!important;overflow:hidden!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb::before{content:""!important;position:absolute!important;inset:-26px!important;background-image:var(--esvyla-blur-poster,none)!important;background-position:center!important;background-size:cover!important;filter:blur(24px) brightness(.7)!important;transform:scale(1.08)!important;z-index:2!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb.esvylaPosterFailed::before{background-image:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb.esvylaPosterFailed>img{display:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb.esvylaPosterFailed>video.esvylaVideoBlurMotion[src],
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb:not(:has(>img))>video.esvylaVideoBlurMotion[src]{display:block!important;position:absolute!important;inset:-26px!important;width:calc(100% + 52px)!important;height:calc(100% + 52px)!important;max-width:none!important;max-height:none!important;object-fit:cover!important;filter:blur(24px) brightness(.7)!important;transform:scale(1.08)!important;z-index:2!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb>video.esvylaVideoCardPreview[src]{display:block!important;position:absolute!important;inset:8%!important;width:84%!important;height:84%!important;object-fit:contain!important;z-index:4!important;pointer-events:none!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb>img{z-index:3!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb>.esvylaVideoPlayOverlay{z-index:6!important}
/* Scroll only when content exceeds the available space; do not disable access to overflow. */
.inboxShell{min-height:0!important;height:auto!important;overflow:clip!important}
.inboxThreadList{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:auto!important}
.inboxMessages{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:auto!important}
.inboxConnectStrip,.inboxFilterRow{overflow-x:auto!important;overflow-y:hidden!important}
/* Avoid empty scroll rails on short settings/placeholder pages without interfering with app/editor scrolling. */
#esvylaSoon{overflow-y:auto!important;overflow-x:hidden!important}
#dynamicView[data-view="settings"],#dynamicView[data-view="inbox"]{overflow-y:auto!important;overflow-x:hidden!important}

/* esvyla-interface-performance-52811.css */
/* ESVYLA 5.28.11: isolated sidebar alignment and scroll responsiveness.
   Preserve editor scroll panes and floating mobile quick access. */
@media (min-width:761px){
  html body #creatorApp.esvylaDesktopCollapsed #sidebar.sidebar .esvylaSidebarBrand{
    position:relative!important;display:flex!important;justify-content:center!important;
    align-items:center!important;padding:0!important;min-width:0!important;
  }
  html body #creatorApp.esvylaDesktopCollapsed #sidebar.sidebar .esvylaSidebarBrand > img.esvylaRailLogo{
    position:static!important;top:auto!important;bottom:auto!important;
    left:auto!important;right:auto!important;inset:auto!important;
    transform:none!important;margin:0 auto!important;padding:0!important;
    flex:0 0 34px!important;width:34px!important;height:34px!important;
    max-width:34px!important;max-height:34px!important;
    object-fit:contain!important;object-position:center!important;
    transform:translateY(-3px)!important;
  }
}
/* Automatic overflow without a scrollbar track reserved for short sections. */
#creatorApp #dynamicView, #creatorApp .inboxThreadList,
#creatorApp .inboxMessages, #creatorApp .primaryNav{
 scrollbar-gutter:auto!important;-webkit-overflow-scrolling:touch;
}
#creatorApp #dynamicView{overscroll-behavior-y:auto;overflow-x:clip}
#creatorApp .inboxThreadList,#creatorApp .inboxMessages{overscroll-behavior-y:contain}
/* Do not allow heavy card shadows to bleed horizontally and cause a phantom scroll. */
#projectsBody .esvylaVideoGrid,#projectsBody .esvylaVideoCard{min-width:0}
/* Prefer immediate native scrolling to global animated scroll, on iPad and Mac. */
@media (prefers-reduced-motion: reduce){
  #creatorApp #dynamicView,#creatorApp .inboxMessages,#creatorApp .inboxThreadList{scroll-behavior:auto!important}
}

/* esvyla-preview-stability-icon-52813.css */
/* 5.28.13 — final collapsed icon alignment: compensate for previous vertical drift. */
@media(min-width:761px){
 html body #creatorApp.esvylaDesktopCollapsed #sidebar.sidebar .esvylaSidebarBrand{position:relative!important;padding:0!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar.sidebar .esvylaSidebarBrand>img.esvylaRailLogo{
  position:absolute!important;display:block!important;left:50%!important;top:calc(50% - 15px)!important;right:auto!important;bottom:auto!important;
  width:34px!important;height:34px!important;margin:0!important;transform:translate(-50%,-50%)!important;object-fit:contain!important;
 }
}
/* Stable visual: keep a persistent poster as the preview's backing while switching playback. */
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb{background-color:#141923!important;isolation:isolate!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb>video.esvylaVideoCardPreview:not([data-preview-ready="yes"]){opacity:0!important}
#projectsBody.esvylaVideoFullBleed .esvylaVideoCard .projectThumb>video.esvylaVideoCardPreview[data-preview-ready="yes"]{opacity:1!important;transition:none!important}

/* esvyla-official-logo-52822.css */
/* Official supplied brand artwork — all logo slots. Do not crop the mark. */
.esvylaBrandWordmark{object-fit:contain!important;object-position:center!important}
#creatorApp #sidebar .esvylaSidebarBrand{overflow:visible!important;clip-path:none!important}
#creatorApp #sidebar .esvylaSidebarBrand .esvylaRailLogo{object-fit:contain!important;object-position:center!important;clip-path:none!important}

/* esvyla-landing-scroll-52823.css */
/* Landing-only native scroll: keep browser momentum and do not intercept vertical gestures. */
html:has(#landing48:not([hidden])):not(.esvylaProEditorActive),
body:has(#landing48:not([hidden])):not(:has(#creatorApp:not([hidden]))) {
  scroll-behavior:auto!important;
  overscroll-behavior-y:auto!important;
  touch-action:pan-y pinch-zoom!important;
  -webkit-overflow-scrolling:touch;
}
#landing48:not([hidden]) {
  touch-action:pan-y pinch-zoom!important;
  overscroll-behavior-y:auto!important;
  scroll-behavior:auto!important;
  overflow-x:clip;
}
#landing48:not([hidden]) :is(section,article,.l481BelowFold) {
  overscroll-behavior-y:auto;
}
/* Preserve deliberate horizontal swipes; allow natural vertical page gestures. */
#landing48:not([hidden]) :is(.l526ShowcaseTrack,.l47CreditGrid.l511CreditPacks) {
  touch-action:pan-x pan-y pinch-zoom!important;
  scroll-behavior:auto!important;
}

/* esvyla-legal-links-52824.css */
.esvylaLegalLink{color:inherit;text-decoration:none;cursor:pointer}.esvylaLegalLink:hover,.esvylaLegalLink:focus-visible{color:#c5afff;text-decoration:underline;outline-offset:3px}

/* esvyla-mobile-generation-stability-52825.css */
/* 5.28.25: image results fit above the fixed mobile dock; no page-wide scroll lock. */
@media(max-width:760px){
 html body .esvylaImageResult{box-sizing:border-box!important;inset:0!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;overflow:hidden!important;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) calc(var(--esvyla-quick-height,90px) + env(safe-area-inset-bottom) + 10px) max(8px,env(safe-area-inset-left))!important;}
 html body .esvylaImageResult>div{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding:14px!important;border-radius:14px!important;}
 html body .esvylaImageResult h2{flex:0 0 auto!important;margin:0 38px 4px 0!important;font-size:clamp(16px,4vw,22px)!important;line-height:1.25!important;overflow-wrap:anywhere!important;}
 html body .esvylaImageResult img{display:block!important;flex:1 1 auto!important;min-height:0!important;max-height:calc(100% - 140px)!important;max-width:100%!important;object-fit:contain!important;}
 html body .esvylaImageResult section{flex:0 0 auto!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:4px 0 0!important;}
 html body .esvylaImageResult section>*{flex:1 1 110px!important;min-height:44px!important;}
 html body .esvylaImageResult [data-close-result]{position:sticky!important;align-self:flex-end!important;top:0!important;z-index:2!important;flex:0 0 32px!important;}
 #creatorApp #generateStage,#creatorApp #storyStage{min-width:0!important;max-width:100%!important;overflow-x:clip!important;}
 #creatorApp #generationSceneList{overscroll-behavior:contain;touch-action:pan-y;}
}
