/* Purchase presentation only; all rules stay within the purchase overlay. */
#ov-buy{padding:16px!important;align-items:center!important;justify-content:center!important;box-sizing:border-box}
#ov-buy>.modal{width:100%!important;max-width:640px!important;min-width:0!important;max-height:calc(100vh - 32px)!important;max-height:calc(100dvh - 32px)!important;margin:0!important;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden!important;border-radius:18px!important;animation:none!important}
#ov-buy .modal-handle-bar{display:none!important}
#ov-buy .modal-head{flex-shrink:0;padding:20px 24px 12px!important;gap:12px}
#ov-buy .modal-title{min-width:0;overflow-wrap:anywhere;line-height:1.4}
#ov-buy .modal-x{flex-shrink:0;min-width:44px;min-height:44px}
#ov-buy .modal-body{min-height:0;overflow-y:auto!important;overflow-x:hidden;padding:4px 24px 24px!important;overscroll-behavior:contain;overflow-wrap:anywhere}
#ov-buy .plan-card{width:100%;min-width:0;box-sizing:border-box}
#ov-buy .plan-name,#ov-buy .plan-price{overflow-wrap:anywhere}
#ov-buy #buy-price-breakdown{color:#334155!important;background:#f8fafc!important;border:1px solid #dbe3ef!important;border-radius:10px;padding:12px!important;font-size:14px!important;line-height:1.65!important}
#ov-buy .member-saving{color:#15803d!important}
#ov-buy .member-referral{min-width:0;box-sizing:border-box}
#ov-buy .ref-apply-content,#ov-buy .ref-apply-left,#ov-buy .ref-apply-right,#ov-buy .ref-form-wrapper,#ov-buy .ref-input-box{min-width:0;max-width:100%;box-sizing:border-box;flex-wrap:wrap}
#ov-buy .ref-home-input{min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:600px){#ov-buy .modal-head{padding:14px 16px 8px!important}#ov-buy .modal-body{padding:4px 16px 18px!important}#ov-buy>.modal{border-radius:14px!important}#ov-buy .ref-apply-content{flex-direction:column;align-items:stretch}#ov-buy .ref-apply-right{width:100%}}
@media(max-height:540px){#ov-buy .modal-head{padding-top:8px!important;padding-bottom:4px!important}#ov-buy .modal-body{padding-bottom:12px!important}}
