/* Keep the modal frame separate from its one scrollable panel. */
.mw-site .checkout-dialog.lm-checkout[open]{
 position:fixed;inset:auto 0 auto;top:var(--lm-viewport-top,0px);
 display:flex;align-items:center;justify-content:center;
 width:100%;max-width:none;height:var(--lm-viewport-height,100dvh);max-height:none;
 margin:0;padding:12px;border:0;border-radius:0;overflow:hidden;
 background:transparent;box-shadow:none;
}
.mw-site .checkout-dialog.lm-checkout::backdrop{background:#0b0e0df5;backdrop-filter:none}
.mw-site .lm-checkout .checkout-layout{
 width:min(810px,100%);max-height:100%;min-height:0;
 overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
 background:#111713;border-radius:16px;scroll-padding-top:64px;
}
.mw-site .lm-checkout .checkout-topbar{flex-shrink:0;top:0}
body.lm-checkout-open{overscroll-behavior:none}
body.lm-checkout-open .lm-sticky{visibility:hidden;pointer-events:none}
@media(max-width:760px){
 .mw-site .checkout-dialog.lm-checkout[open]{padding:0}
 .mw-site .lm-checkout .checkout-layout{width:100%;height:100%;border-radius:0;padding-bottom:env(safe-area-inset-bottom,0px)}
 .mw-site .lm-checkout .checkout-topbar{padding-top:env(safe-area-inset-top,0px);height:calc(60px + env(safe-area-inset-top,0px))}
}
@media(max-width:650px){
 .lm-root[data-view="result"] .lm-sticky{
  top:var(--lm-viewport-bottom,100dvh);bottom:auto;transform:translateY(-100%);
 }
}
