/* v116: restore full-screen upright phone gameplay for Sakura and Singapore.
   These selectors touch neither story cards nor Guilin, and do not affect landscape. */
@media (orientation:portrait) {
  body.amba-sakura-portrait-play #shell > #game,
  #singaporeRoot.sg-portrait-continue > #singaporeCanvas {
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
  }
  /* Only conceal the source landscape canvas AFTER the first portrait draw. */
  body.amba-sakura-portrait-play.amba-sakura-portrait-ready #shell > #game,
  #singaporeRoot.sg-portrait-continue.sg-v110-portrait-ready > #singaporeCanvas{
    opacity:0!important;
  }
  body.amba-sakura-portrait-play.amba-sakura-portrait-ready #shell > #ambaSakuraPortraitView,
  #singaporeRoot.sg-portrait-continue.sg-v110-portrait-ready > #ambaSingaporePortraitView {
    position:absolute!important;
    inset:0!important;
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:fill!important;
    pointer-events:none!important;
    z-index:1!important;
  }
  body.amba-sakura-portrait-play #shell .rotate-tip {display:none!important;}
}
