/* v12.10.317 - ten-product mobile pages and a continuous paper surface. */
@media (max-width:700px){
  html.m2-pager-portaled body:not(.m2-editor) .m2-book{
    display:flex!important;
    flex-direction:column!important;
    width:min(480px,100%)!important;
    height:auto!important;
    min-height:calc(100dvh - var(--m2-pager-clearance,86px) - 128px)!important;
    margin-bottom:0!important;
  }

  html.m2-pager-portaled body:not(.m2-editor) .m2-page[data-m2-card-count]{
    flex:1 0 auto!important;
    width:100%!important;
    height:auto!important;
    min-height:calc(100dvh - var(--m2-pager-clearance,86px) - 128px)!important;
    margin-bottom:0!important;
    overflow:hidden!important;
    background-color:var(--paper,#f4e7b8)!important;
  }

  html body:not(.m2-editor) .m2-page[data-m2-card-count] .m2-card-list{
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }

  html body:not(.m2-editor) .m2-page[data-m2-card-count] .m2-card{
    flex:0 0 auto!important;
  }
}
