/* The approved result-side pack is shown only after verified insufficient credits. */
.mc-look-result-artwork{display:contents}
#mc-look-dialog.mc-photobooth.is-credit-offer[open]{
 display:block;width:min(1120px,calc(100vw - 48px));max-width:none;
 max-height:calc(100dvh - 48px);padding:0;overflow-y:auto;
 background:#101110;color:#f3f0e8;border:1px solid #454744;border-radius:12px;
}
#mc-look-dialog.is-credit-offer .mc-photobooth-header{
 display:flex;position:relative;align-items:center;gap:24px;
 margin:0 30px;padding:25px 48px 22px 0;border-bottom:1px solid #42433f;
}
#mc-look-dialog.is-credit-offer .mc-photobooth-brand{display:none}
#mc-look-dialog.is-credit-offer .mc-photobooth-header img{display:block;width:100px;height:auto;max-height:34px;object-fit:contain}
#mc-look-dialog.is-credit-offer .mc-photobooth-section{margin:0;font:500 11px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase}
#mc-look-dialog.is-credit-offer .mc-look-dialog-media,
#mc-look-dialog.mc-photobooth.is-credit-offer .mc-photobooth-heading{display:none}
#mc-look-dialog.is-credit-offer .mc-look-dialog-body{display:block;padding:28px 30px 26px;max-height:none;overflow:visible}
#mc-look-dialog.is-credit-offer .mc-look-result{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:36px;width:100%;margin:0;opacity:1}
#mc-look-dialog.is-credit-offer .mc-look-result-artwork{display:flex;flex-direction:column;min-width:0}
#mc-look-dialog.is-credit-offer .mc-look-result-heading{display:none}
#mc-look-dialog.is-credit-offer .mc-look-result-frame{height:clamp(230px,53dvh,560px);aspect-ratio:auto;margin:0;background:#151615;border:0}
#mc-look-dialog.is-credit-offer .mc-look-result-frame>img{object-fit:contain}
#mc-look-dialog.is-credit-offer .mc-look-result-actions{display:flex;flex-wrap:wrap;gap:18px;margin:14px 0 0}
#mc-look-dialog.is-credit-offer .mc-look-result-actions button{flex:0 1 auto;min-height:38px;padding:6px 0;background:transparent;border:0;border-radius:0;color:#eae7df;font:400 13px/1.4 'DM Sans',Arial,sans-serif;text-decoration:underline;text-underline-offset:5px}
#mc-look-dialog.is-credit-offer .mc-look-result-balance{text-align:left;margin:8px 0 0;color:#aaa99f}
#mc-look-dialog.is-credit-offer .mc-look-result-pack{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;margin:0;padding:10px 0;color:#f3f0e8;text-align:left}
#mc-look-dialog .mc-look-result-pack[hidden]{display:none!important}
#mc-look-dialog.is-credit-offer .mc-credit-overline{margin:0 0 24px;font:500 11px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:.22em}
#mc-look-dialog.is-credit-offer #mc-look-pack-title{margin:0;font:600 clamp(34px,4.2vw,60px)/1.03 'DM Sans',Arial,sans-serif;letter-spacing:-.055em;color:inherit;text-wrap:balance}
#mc-look-dialog.is-credit-offer .mc-credit-context{margin:20px 0 0;font:450 clamp(15px,1.8vw,21px)/1.4 'DM Sans',Arial,sans-serif}
#mc-look-dialog.is-credit-offer .mc-credit-terms{margin:22px 0 28px;font:400 15px/1.6 'DM Sans',Arial,sans-serif;color:#d2d0c8}
#mc-look-dialog.is-credit-offer .mc-credit-buy{display:block;box-sizing:border-box;width:100%;padding:18px 14px;min-height:54px;background:#eee9de;color:#141510;border:1px solid #eee9de;border-radius:3px;text-align:center;text-decoration:none;font:600 16px/1.3 'DM Sans',Arial,sans-serif}
#mc-look-dialog.is-credit-offer .mc-credit-buy:hover{background:#fffdf7}
#mc-look-dialog.is-credit-offer .mc-credit-plans{display:inline-flex;align-items:center;min-height:44px;margin-top:10px;color:#e8e5dd;font:400 14px/1.4 'DM Sans',Arial,sans-serif;text-decoration:underline;text-underline-offset:5px}
#mc-look-dialog.is-credit-offer :is(.mc-credit-buy,.mc-credit-plans):focus-visible{outline:2px solid #f3f0e8;outline-offset:5px}
#mc-look-dialog.is-credit-offer .mc-credit-estimate{margin:24px 0 0;padding-top:16px;border-top:1px solid #42433f;color:#b5b2aa;font:400 11px/1.6 'DM Sans',Arial,sans-serif}
@media(max-width:700px){
 #mc-look-dialog.mc-photobooth.is-credit-offer[open]{width:calc(100vw - 22px);max-height:calc(100dvh - 22px)}
 #mc-look-dialog.is-credit-offer .mc-photobooth-header{margin:0 18px;padding:20px 42px 18px 0;gap:16px}
 #mc-look-dialog.is-credit-offer .mc-photobooth-header img{width:78px;max-height:26px}
 #mc-look-dialog.is-credit-offer .mc-photobooth-section{font-size:9px;letter-spacing:.1em}
 #mc-look-dialog.is-credit-offer .mc-look-dialog-body{padding:18px}
 #mc-look-dialog.is-credit-offer .mc-look-result{grid-template-columns:minmax(0,1fr);gap:20px}
 #mc-look-dialog.is-credit-offer .mc-look-result-frame{height:clamp(145px,27dvh,270px)}
 #mc-look-dialog.is-credit-offer .mc-look-result-pack{padding:0}
 #mc-look-dialog.is-credit-offer .mc-credit-overline{margin-bottom:12px;font-size:10px}
 #mc-look-dialog.is-credit-offer #mc-look-pack-title{font-size:clamp(34px,9.5vw,46px)}
 #mc-look-dialog.is-credit-offer .mc-credit-context{margin-top:12px;font-size:16px}
 #mc-look-dialog.is-credit-offer .mc-credit-terms{margin:14px 0 18px;font-size:13px}
 #mc-look-dialog.is-credit-offer .mc-credit-estimate{margin-top:12px;padding-top:12px}
}
/* Override the shared phone photo-matte only in this approved offer state. */
@media(max-width:600px){
 #mc-look-dialog.mc-photobooth.is-credit-offer[open]{width:calc(100vw - 22px)!important;max-width:none!important;max-height:calc(100dvh - 22px)!important;background:#101110!important}
 #mc-look-dialog.is-credit-offer .mc-look-dialog-media{display:none!important}
 #mc-look-dialog.is-credit-offer .mc-look-dialog-body{padding:18px!important;gap:0!important}
 #mc-look-dialog.is-credit-offer .mc-look-result-frame{height:clamp(145px,25dvh,225px)!important;border:0!important;border-radius:3px!important}
}

/* Paid onboarding after an explicit Generate click. A local photo is never charged. */
#mc-look-prepay[hidden]{display:none!important}
#mc-look-dialog.mc-photobooth.is-prepay-offer:not(.is-result-view) .mc-photobooth-heading,
#mc-look-dialog.mc-photobooth.is-prepay-offer:not(.is-result-view) .mc-look-dialog-actions,
#mc-look-dialog.mc-photobooth.is-prepay-offer:not(.is-result-view) .mc-look-footer,
#mc-look-dialog.mc-photobooth.is-prepay-offer:not(.is-result-view) #mc-look-description,
#mc-look-dialog.mc-photobooth.is-prepay-offer:not(.is-result-view) #mc-look-campaign-offer{display:none!important}
#mc-look-dialog.mc-photobooth.is-prepay-offer:not(.is-result-view) .mc-look-dialog-body{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin;overscroll-behavior:contain}
#mc-look-dialog.mc-photobooth.is-prepay-offer:not(.is-result-view) #mc-look-dropzone{flex:0 0 auto!important;height:clamp(95px,16dvh,150px)!important;min-height:95px!important}
#mc-look-dialog.mc-photobooth.is-prepay-offer:not(.is-result-view) .mc-look-prepay{display:block;flex:0 0 auto;margin:12px 0 0;padding:19px 20px;background:#191c1f;border:1px solid #545c61;border-radius:5px;color:#f2eee6;text-align:left}
#mc-look-dialog .mc-prepay-eyebrow{margin:0 0 9px;font:500 10px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:.16em;color:#b9c0c5}
#mc-look-dialog #mc-look-prepay-title{margin:0 0 13px;font:600 clamp(27px,3.8vw,39px)/1.1 'DM Sans',Arial,sans-serif;letter-spacing:-.05em}
#mc-look-dialog .mc-prepay-lede{margin:0 0 12px;font:400 18px/1.4 'DM Sans',Arial,sans-serif}
#mc-look-dialog .mc-prepay-example,#mc-look-dialog .mc-prepay-terms{margin:0 0 10px;font:400 12px/1.5 'DM Sans',Arial,sans-serif;color:#c9cdd0}
#mc-look-dialog .mc-prepay-buy{display:block;box-sizing:border-box;margin:15px 0 0;min-height:48px;padding:14px 9px;background:#f2f1ec;border:1px solid #f2f1ec;border-radius:3px;color:#101215;text-align:center;text-decoration:none;font:600 14px/1.4 'DM Sans',Arial,sans-serif}
#mc-look-dialog .mc-prepay-buy:hover{background:white}
#mc-look-dialog #mc-look-prepay-back{display:block;margin:8px auto 0;padding:9px 5px;border:0;background:transparent;color:#d1d6d8;text-decoration:underline;text-underline-offset:4px;font:400 12px/1.4 'DM Sans',Arial,sans-serif;cursor:pointer}
#mc-look-dialog :is(.mc-prepay-buy,#mc-look-prepay-back):focus-visible{outline:2px solid #f2f1ec;outline-offset:3px}
@media(max-width:600px){
 #mc-look-dialog.mc-photobooth.is-prepay-offer:not(.is-result-view) .mc-look-dialog-media{height:90px!important}
 #mc-look-dialog.mc-photobooth.is-prepay-offer:not(.is-result-view) #mc-look-dropzone{height:95px!important;min-height:95px!important}
 #mc-look-dialog.mc-photobooth.is-prepay-offer:not(.is-result-view) .mc-look-prepay{padding:15px 14px;margin:10px 0 0}
 #mc-look-dialog #mc-look-prepay-title{font-size:27px}
 #mc-look-dialog .mc-prepay-lede{font-size:16px}
}
