/* pp-app-feel.css -- makes ProfilePro feel like an app (it is still a website).
   - Page changes crossfade quickly instead of flashing white, and the top bar and bottom bar stay put
     while the page behind them changes (cross-document view transitions; browsers without them just navigate as before).
   - When opened from the home screen: no grey tap flash, no press-and-hold menu or text highlight on buttons and
     bars, no double-tap zoom delay. Post text, inputs and anything you may want to copy stay selectable. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.14s;animation-timing-function:ease-out}
.app-bottom-nav{view-transition-name:pp-bottom-nav}
header.app-nav{view-transition-name:pp-top-nav}
::view-transition-group(pp-bottom-nav),::view-transition-group(pp-top-nav){animation-duration:0s}
::view-transition-old(pp-bottom-nav),::view-transition-new(pp-bottom-nav),
::view-transition-old(pp-top-nav),::view-transition-new(pp-top-nav){animation:none;mix-blend-mode:normal}
::view-transition-old(pp-bottom-nav),::view-transition-old(pp-top-nav){display:none}
@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}
@media (display-mode:standalone){
  html{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}
  a,button,[role="button"],[role="tab"],[role="menuitem"],summary,label,select{-webkit-touch-callout:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
  button,[role="button"],[role="tab"],[role="menuitem"],.app-nav,.app-bottom-nav,.app-more-drawer,.app-sidebar,.abn-link,.pp-sheet,nav{-webkit-user-select:none;user-select:none}
  img,svg{-webkit-user-drag:none;-webkit-touch-callout:none}
  input,textarea,[contenteditable="true"],.comm-post-text,.comm-iv-caption{-webkit-user-select:text;user-select:text}
}
