/* NOKOR REUNG v502 — compact MOVIE purchase confirmation only.
   Leave ABA KHQR, Wallet, Top-up, Series checkout and server flows unchanged.
   Highest specificity plus final stylesheet ordering overrides v490 modal defaults. */
html body #purchaseSuccessModal.nrp-v490 .nrp-checkout-dialog{
  width:min(520px,calc(100vw - 32px)) !important;
  max-width:520px !important;
  min-height:0 !important;
  max-height:min(560px,calc(100dvh - 26px)) !important;
  border-radius:18px !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-checkout-header{
  padding:12px 18px !important;
  gap:10px !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-checkout-header h2{
  font-size:16px !important;
  margin:2px 0 0 !important;
  line-height:1.45 !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-header-brand{
  gap:7px !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-header-brand img{
  width:22px !important;
  height:22px !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-dialog-scroll{
  flex:0 1 auto !important;
  max-height:calc(100dvh - 105px) !important;
  min-height:0 !important;
  overflow-y:auto !important;
  overscroll-behavior:contain !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-success-panel{
  min-height:0 !important;
  padding:21px 18px 15px !important;
  justify-content:flex-start !important;
  gap:0 !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-success-symbol{
  width:58px !important;
  height:58px !important;
  box-shadow:0 0 0 6px #5ebf9608 !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-success-symbol svg{
  width:28px !important;
  height:28px !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-success-panel h3{
  font-size:21px !important;
  line-height:1.55 !important;
  margin:9px 0 4px !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-success-panel>p{
  font-size:11px !important;
  line-height:1.6 !important;
  margin:0 !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-success-movie{
  max-width:100% !important;
  width:min(100%,334px) !important;
  padding:9px 11px !important;
  gap:10px !important;
  margin:14px 0 10px !important;
  border-radius:12px !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-success-movie>img{
  width:40px !important;
  height:56px !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-success-movie>div{
  gap:3px !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-success-extras{
  width:min(100%,334px) !important;
  margin:0 0 11px !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-success-panel .nrp-success-primary{
  min-width:198px !important;
  min-height:41px !important;
  padding:8px 16px !important;
  border-radius:11px !important;
  font-size:11px !important;
}
html body #purchaseSuccessModal.nrp-v490 .nrp-success-panel .nrp-text-button{
  padding:7px 10px 3px !important;
  margin:2px 0 0 !important;
}
@media(max-width:680px){
  html body #purchaseSuccessModal.nrp-v490 .nrp-checkout-dialog{
    width:calc(100vw - 24px) !important;
    max-width:410px !important;
    max-height:calc(100dvh - 28px - env(safe-area-inset-bottom,0px)) !important;
    border-radius:16px !important;
  }
  html body #purchaseSuccessModal.nrp-v490 .nrp-checkout-header{
    padding:10px 13px !important;
  }
  html body #purchaseSuccessModal.nrp-v490 .nrp-success-panel{
    padding:15px 13px 12px !important;
  }
  html body #purchaseSuccessModal.nrp-v490 .nrp-success-symbol{
    width:50px !important;
    height:50px !important;
  }
  html body #purchaseSuccessModal.nrp-v490 .nrp-success-symbol svg{
    width:24px !important;
    height:24px !important;
  }
  html body #purchaseSuccessModal.nrp-v490 .nrp-success-panel h3{
    font-size:18px !important;
    margin:8px 0 3px !important;
  }
  html body #purchaseSuccessModal.nrp-v490 .nrp-success-movie{
    margin:12px 0 9px !important;
    padding:8px 9px !important;
  }
  html body #purchaseSuccessModal.nrp-v490 .nrp-success-extras{
    margin-bottom:9px !important;
  }
}
@media(max-height:620px){
  html body #purchaseSuccessModal.nrp-v490 .nrp-checkout-dialog{
    max-height:calc(100dvh - 16px) !important;
  }
  html body #purchaseSuccessModal.nrp-v490 .nrp-dialog-scroll{
    max-height:calc(100dvh - 82px) !important;
  }
  html body #purchaseSuccessModal.nrp-v490 .nrp-success-panel{
    padding-top:12px !important;
    padding-bottom:10px !important;
  }
}
