/* v230: one profile shell, presence pulse and call-bubble geometry. */
html:root body .spaces-top-panel > .spaces-top-limits { margin-top:.7rem!important; margin-bottom:.85rem!important; }
html:root body .spaces-top-panel > .spaces-top-search-panel { margin-bottom:.2rem!important; }

html:root body #mobile-profile-online > .mobile-profile-presence-dot::after,
html:root body #user-online-status .online-dot.is-online::after { content:none!important; display:none!important; animation:none!important; }
html:root body #mobile-profile-online > .mobile-profile-presence-dot {
  width:.875rem!important;height:.875rem!important;min-width:.875rem!important;flex:0 0 .875rem!important;
  display:grid!important;place-items:center!important;border:2px solid var(--mobile-profile-panel,#fff)!important;
  box-shadow:0 0 0 1px rgb(15 23 42/.06)!important;background:transparent!important;overflow:visible!important;
}
html:root body #mobile-profile-online .online-dot-core { width:.625rem;height:.625rem; }
html:root body #mobile-profile-online .is-online > .online-dot-core { background:#22c55e!important; }
html:root body #mobile-profile-online .is-online > .online-dot-pulse,
html:root body #user-online-status .is-online > .online-dot-pulse {
  position:absolute!important;inset:-.1875rem!important;border:0!important;border-radius:50%!important;
  background:rgb(74 222 128/.56)!important;animation:unified-online-pulse 1.8s cubic-bezier(.2,.65,.35,1) infinite!important;
}
html:root body #mobile-profile-online .is-offline > .online-dot-pulse { display:none!important; }
html:root body #mobile-profile-friends-list > button { box-sizing:border-box!important;border:2px solid color-mix(in srgb,var(--color-dynamic,#3775ca) 48%,var(--mobile-profile-panel,#fff))!important;border-radius:.85rem!important;background:var(--mobile-profile-soft,#edf2f8)!important;padding:2px!important;overflow:visible!important; }
html:root body #mobile-profile-friends-list > button img { border-radius:.65rem!important;box-shadow:none!important; }

html:root body #messages-root #messenger-message-stream .messenger-message.messenger-call-history,
html:root body #messages-root .messenger-message.messenger-call-history {
  display:flex!important;flex-direction:row!important;align-self:stretch!important;align-items:center!important;
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
  margin-left:0!important;margin-right:0!important;padding-left:.6rem!important;padding-right:.6rem!important;
}
html:root body #messages-root .messenger-message.messenger-call-history.is-outgoing { justify-content:flex-end!important; }
html:root body #messages-root .messenger-message.messenger-call-history.is-incoming { justify-content:flex-start!important; }
html:root body #messages-root .messenger-message.messenger-call-history.is-outgoing > .messenger-call-history-card { margin-left:auto!important;margin-right:0!important; }
html:root body #messages-root .messenger-message.messenger-call-history.is-incoming > .messenger-call-history-card { margin-left:0!important;margin-right:auto!important; }
html:root body.messages-route #messages-root .messenger-message.messenger-call-history > .messenger-call-history-card::after { content:none!important;display:none!important;clip-path:none!important; }
html:root body.messages-route #messages-root .messenger-message.messenger-call-history.has-tail > .messenger-call-history-card > svg.messenger-bubble-tail {
  display:block!important;position:absolute!important;inset:auto!important;bottom:0!important;width:.82rem!important;height:.98rem!important;
  overflow:visible!important;clip-path:none!important;border:0!important;filter:none!important;z-index:2!important;
  color:var(--message-shape-fill)!important;
}
html:root body.messages-route #messages-root .messenger-message.messenger-call-history.has-tail.is-outgoing > .messenger-call-history-card > svg.messenger-bubble-tail { right:-.4rem!important;left:auto!important;transform:none!important; }
html:root body.messages-route #messages-root .messenger-message.messenger-call-history.has-tail.is-incoming > .messenger-call-history-card > svg.messenger-bubble-tail { left:-.4rem!important;right:auto!important;transform:scaleX(-1)!important; }
html:root body #messages-root .messenger-call-history-card .messenger-bubble-tail-fill { fill:var(--message-shape-fill)!important;stroke:none!important; }

html:root body #vmesta-call-layer.is-ended .vmesta-call-card { overflow:hidden!important;isolation:isolate;contain:paint;border-radius:1.6rem!important; }
html:root body #vmesta-call-layer.is-ended .vmesta-call-card::before { display:none!important; }
html:root body #vmesta-call-layer.is-ended .vmesta-call-hangup-handset { filter:none!important;will-change:transform,opacity;animation:vmesta-handset-settle-v230 .95s cubic-bezier(.18,.82,.22,1) both!important; }
html:root body #vmesta-call-layer.is-ended .vmesta-call-hangup-cradle { animation:vmesta-cradle-ready .2s .55s ease both!important; }
html:root body #vmesta-call-layer.is-ended .vmesta-call-hangup-impact { animation:vmesta-call-impact .25s .75s ease-out both!important; }
html:root body #vmesta-call-layer.is-ended .vmesta-call-radio-wave { animation:vmesta-call-wave .8s ease-out both!important; }
@keyframes vmesta-handset-settle-v230 { 0% { opacity:0;transform:translate3d(0,-.9rem,0) rotate(-12deg); } 20% { opacity:1; } 75% { transform:translate3d(0,.12rem,0) rotate(2deg); } 100% { opacity:1;transform:translate3d(0,0,0) rotate(0); } }

html:root body #signals-journal [data-signal-grid="gifts"] { display:block!important; }
html:root body #signals-journal .signal-gifts-panel { min-width:0;border-radius:1.1rem;background:var(--theme-surface-panel,var(--adaptive-panel-bg,#fff));padding:.8rem; }
html:root body #signals-journal .signal-gifts-panel .gift-center-tabs { position:static!important;display:flex;gap:.55rem;padding:0 0 .8rem; }
html:root body #signals-journal .signal-gifts-panel .gift-center-tabs button { min-height:2.5rem;display:flex;align-items:center;gap:.4rem;padding:.55rem .85rem;border-radius:.85rem; }
html:root body #signals-journal .signal-gifts-panel .gift-center-tabs svg { width:1.2rem;height:1.2rem; }
html:root body #signals-journal .signal-gifts-content { min-height:12rem; }
html:root body #signals-journal .gift-history-item { width:100%;box-sizing:border-box; }
@media(max-width:767px) {
  html:root body.mobile-profile-main-route #vmesta-cover-skeleton .vmesta-cover-skeleton-copy,
  html:root body.mobile-profile-main-route #vmesta-cover-skeleton .vmesta-cover-skeleton-inner::before,
  html.vmesta-initial-loading[data-vmesta-boot-view="profile"] body #vmesta-cover-skeleton .vmesta-cover-skeleton-copy,
  html.vmesta-initial-loading[data-vmesta-boot-view="profile"] body #vmesta-cover-skeleton .vmesta-cover-skeleton-inner::before { display:none!important; }
  html:not(.vmesta-initial-loading) body.mobile-profile-main-route #vmesta-cover-skeleton { display:none!important; }
  html:root body.mobile-profile-main-route.space-route #cover-section #user-info-group,
  html:root body.mobile-profile-main-route.space-route #mobile-cover-avatar { display:none!important; }
  html:root body #mobile-profile-friends-list > button { height:auto!important;aspect-ratio:1; }
}
@media(prefers-reduced-motion:reduce) {
  html:root body #mobile-profile-online .online-dot-pulse,
  html:root body #user-online-status .online-dot-pulse,
  html:root body #vmesta-call-layer.is-ended :is(.vmesta-call-hangup-handset,.vmesta-call-hangup-cradle,.vmesta-call-hangup-impact,.vmesta-call-radio-wave) { animation:none!important; }
}
