.av-pull-refresh-shell{display:none}
.av-pull-content{position:relative;min-height:100%;display:flow-root}
@media(max-width:700px){
 .av-pull-refresh-shell{display:block;position:relative;flex:0 0 0;min-height:0;height:0;z-index:2;--pull-offset:0px;--pull-progress:0;--pull-visible:0}
 .av-pull-refresh-shell .av-pull-refresh{position:absolute;top:0;left:50%;display:flex;align-items:center;justify-content:center;gap:11px;width:max-content;max-width:94%;height:56px;min-height:44px;padding:5px 15px;border:0;background:transparent;color:var(--desk-sub,#52675a);font:500 12px/1.4 system-ui;white-space:nowrap;opacity:var(--pull-visible);transform:translate3d(-50%,calc(var(--pull-offset) - 56px),0);transition:transform .26s cubic-bezier(.2,.7,.3,1),opacity .22s ease;pointer-events:none;cursor:pointer;touch-action:manipulation}
 .av-pull-refresh-shell[data-dragging=true] .av-pull-refresh{transition:none}
 .av-pull-refresh-shell[data-state=error] .av-pull-refresh{pointer-events:auto;color:#9b3434;opacity:1;transform:translate3d(-50%,0,0);background:var(--desk-paper,#f7faf8);border-radius:16px}
 .av-pull-refresh-shell[data-state=done] .av-pull-refresh{color:#247746}
 .av-pull-refresh-shell .av-pull-refresh:focus-visible{opacity:1;transform:translate3d(-50%,0,0);pointer-events:auto;background:var(--desk-paper,#f7faf8);border-radius:14px;outline:2px solid #478f69;outline-offset:-2px}
 .av-pull-orb{position:relative;display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--desk-paper,#fff);color:#367c56;box-shadow:0 3px 12px #214c3016,inset 0 0 0 1px #397d5520;transform:rotate(calc(var(--pull-progress)*180deg));transition:transform .22s ease}
 .av-pull-orb:before{content:'';position:absolute;inset:3px;border:2px solid transparent;border-top-color:currentColor;border-right-color:currentColor;border-radius:50%;opacity:var(--pull-progress)}
 .av-pull-mark{display:block;width:7px;height:7px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:translateY(-1px) rotate(45deg)}
 .av-pull-refresh-shell[data-dragging=true] .av-pull-orb{transition:none}
 .av-pull-refresh-shell[data-state=loading] .av-pull-orb{transform:none}
 .av-pull-refresh-shell[data-state=loading] .av-pull-orb:before{opacity:1;animation:av-pull-spin .7s linear infinite}
 .av-pull-refresh-shell[data-state=loading] .av-pull-mark{width:4px;height:4px;border:0;border-radius:50%;background:currentColor;transform:none;opacity:.45}
 .av-pull-refresh-shell[data-state=done] .av-pull-orb{transform:none;background:#e6f3e9;color:#247746;box-shadow:0 3px 12px #214c3016}
 .av-pull-refresh-shell[data-state=done] .av-pull-orb:before{opacity:0}
 .av-pull-refresh-shell[data-state=done] .av-pull-mark{width:6px;height:11px;transform:translateY(-2px) rotate(45deg)}
 .av-pull-refresh-shell[data-state=error] .av-pull-orb{color:#9b3434;transform:none}
 .av2-dialogs[data-pull-motion=true]>.av-pull-content,.multi-rows[data-pull-motion=true]>.av-pull-content{transform:translate3d(0,var(--pull-offset,0px),0);transition:transform .26s cubic-bezier(.2,.7,.3,1);will-change:transform}
 .av2-dialogs[data-pull-dragging=true]>.av-pull-content,.multi-rows[data-pull-dragging=true]>.av-pull-content{transition:none}
 .av2-dialogs,.multi-rows{overscroll-behavior-y:none;overflow-anchor:none}
}
@keyframes av-pull-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
 .av-pull-refresh-shell .av-pull-refresh,.av-pull-refresh-shell .av-pull-orb,.av2-dialogs[data-pull-motion=true]>.av-pull-content,.multi-rows[data-pull-motion=true]>.av-pull-content{transition:none}
 .av-pull-refresh-shell[data-state=loading] .av-pull-orb:before{animation:none}
}

/* Keep navigation available in account chats and installed iPhone mode. */
@media(max-width:1023px){
 html body .egb-shell:has(.egb-inbox-layout){--avito-nav-space:var(--avito-nav-height,calc(68px + env(safe-area-inset-bottom,0px)))}
 html body .egb-shell:has(.egb-inbox-layout) .egb-inbox-layout{padding-bottom:var(--avito-nav-space)}
 html:not([data-keyboard-open]) body .egb-shell:has(.egb-inbox-layout) .egb-mobile-nav{display:flex!important;transform:none}
 html body .egb-shell .egb-mobile-nav>*{min-width:0;flex:1 1 0}
 html[data-keyboard-open] body .egb-shell:has(.egb-inbox-layout){--avito-nav-space:0px}
 html[data-keyboard-open] body .egb-shell:has(.egb-inbox-layout) .egb-mobile-nav{display:none!important}
}
