/* Outside ribbon: fill the existing phone stage, without changing its geometry.
   Height-led overscan keeps the PNG's hard top/bottom edges outside the stage.
   Anchor its central bend to the phone's right edge; the lower loop wraps left.
   Static translate is composition only. Approved breathing keyframes stay intact. */
.v112-phone-stage>.v117-phone-ribbon{
 position:absolute;inset:0;z-index:0;overflow:hidden;
 pointer-events:none;user-select:none;
}
.v112-phone-stage>.v117-phone-ribbon>img{
 position:absolute;display:block;max-width:none;width:auto;height:calc(100% + 32px);
 left:calc(50% + min(50% - 24px,170px));top:50%;translate:-47% 0;
 margin:0;opacity:1;transform:translate3d(0,-50%,0);transform-origin:50% 50%;
 pointer-events:none;animation:none;
}
/* The only change to an existing selector is stacking, not size, spacing or tilt. */
.v112-phone-stage>.v112-device{z-index:1}
@keyframes v117-ribbon-breathe{
 from{transform:translate3d(0,-50%,0) scale(1)}
 to{transform:translate3d(3px,calc(-50% - 4px),0) scale(1.025)}
}
@media(prefers-reduced-motion:no-preference){
 html.enhanced body:not(.motion-paused) .v117-phone-ribbon>img{
  animation:v117-ribbon-breathe 22s ease-in-out infinite alternate;
 }
}
@media(max-width:760px){
 .v112-phone-stage>.v117-phone-ribbon>img{left:calc(50% + min(50% - 12px,170px))}
}
@media(forced-colors:active),(prefers-contrast:more){.v112-phone-stage>.v117-phone-ribbon{display:none}}
