/* Keep the browser morph only for opening and closing the portfolio window. */
.portfolio-browser{animation:none!important}
#tourView:not(.browser-arrived):not(.browser-closing) .portfolio-browser{
  animation:browserOpen .48s var(--browser-ease) both!important
}
.browser-closing .portfolio-browser{
  animation:browserClose .32s cubic-bezier(.4,0,.8,.2) both!important
}

/* Internal browser actions should feel like browser actions, not window launches. */
.browser-tab{transition:background .15s ease,opacity .15s ease,transform .18s var(--polish-ease)!important}
.browser-tab.is-active{transform:translateY(0)}
.browser-newtab:active,.browser-tab-close:active{transform:scale(.92)}

@media(prefers-reduced-motion:reduce){
  #tourView:not(.browser-arrived):not(.browser-closing) .portfolio-browser,
  .browser-closing .portfolio-browser{animation:none!important}
}
