/* Pull-to-refresh on the phone feed (v1). Only ever mounted by pull-refresh-v1.js inside the
   native app, so the open web, the desktop shell and every other page stay untouched. */

.mtv-pull {
  position: fixed;
  top: 0;
  left: 50%;
  width: 38px;
  height: 38px;
  margin-left: -19px;
  z-index: 1700;
  pointer-events: none;
  transform: translateY(-46px);
  transition: transform .18s var(--mtv-ease, ease);
  will-change: transform;
}

.mtv-pull.is-dragging { transition: none; }

.mtv-pull__mark {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff url('/brand/mtv-mark-intro.jpg') center / 26px no-repeat;
  box-shadow: 0 3px 12px rgba(9, 34, 56, .16);
  opacity: 0;
  transition: opacity .16s ease;
}

.mtv-pull.is-open .mtv-pull__mark { opacity: 1; }

.mtv-pull.is-refreshing .mtv-pull__mark { animation: mtv-pull-spin .85s linear infinite; }

@keyframes mtv-pull-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
