/* V151: Viewed Instagram stories no longer show the two-color outline. */
.dy-v15-stories .dy151-story-seen .dy-v15-ring{background:transparent!important;padding:3px!important}
.dy-v15-stories .dy151-story-seen .dy-v15-ring>span{border-color:transparent!important}
/* Increase the home gesture tap area without changing the visible bar. */
#phone > #gesture{height:23px!important;bottom:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;touch-action:manipulation!important}
#phone > #gesture::after{content:'';position:absolute;left:50%;bottom:9px;transform:translateX(-50%);width:116px;height:5px;border-radius:6px;background:#fff;box-shadow:0 1px 3px #0002;pointer-events:none}
#phone:has(.app-screen:not(.hidden)) > #gesture::after{background:#7779;box-shadow:none}
#phone:has(.v4-clock) > #gesture::after,#phone:has(.v4-youtube) > #gesture::after{background:#fff}
/* Raise only the failed-send retry glyph, leaving the button and X in place. */
.v32-msg.mine .v32-msg-meta .dy24-fail-icon::before{position:relative!important;top:-1px!important}
/* Avoid layout jumps on iOS Safari during app changes. */
@media(max-width:500px){html,body{width:100%;overflow:hidden} .phone{height:100dvh;max-height:100dvh} .app-screen,.app-content{min-height:0} .app-content{-webkit-overflow-scrolling:touch;overscroll-behavior:contain} .dy-v15-feed img{max-width:100%}}
