.addon-app{position:relative;display:flex;flex-direction:column;height:100svh;min-height:0;padding:max(clamp(10px,2.4svh,20px),env(safe-area-inset-top)) 20px max(clamp(10px,2.3svh,19px),env(safe-area-inset-bottom));background:radial-gradient(ellipse at 50% 35%,#2d567048,transparent 58%),linear-gradient(180deg,#06172e,#071124 60%,#040a17);overflow:hidden}
.addon-app:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.5;background:radial-gradient(circle at 14% 17%,#e5eaff80 0 1px,transparent 2px),radial-gradient(circle at 88% 30%,#e5eaff88 0 1px,transparent 2px),radial-gradient(circle at 7% 63%,#e5eaff66 0 1px,transparent 2px),radial-gradient(circle at 93% 75%,#e5eaff77 0 1px,transparent 2px),radial-gradient(circle at 80% 9%,#e5eaff55 0 1px,transparent 2px)}
.addon-app>*{position:relative;z-index:1}
.addon-progress{display:flex;justify-content:space-between;margin:0 -3px clamp(8px,2svh,19px);flex-shrink:0}
.addon-progress span{position:relative;flex:1;text-align:center;display:flex;flex-direction:column;align-items:center;gap:clamp(4px,.8svh,7px);font-size:10px;line-height:14px;color:#8f9fb7}
.addon-progress i{display:grid;place-items:center;width:23px;height:23px;border:1px solid #8290a6;border-radius:50%;font-style:normal;font-size:13px;background:#071327}
.addon-progress span:not(:last-child):after{content:"";position:absolute;top:11px;left:calc(50% + 12px);width:calc(100% - 24px);height:1px;background:#8191a04d}
.addon-progress .addon-progress-done{color:#dce5f2}.addon-progress-done i{background:#e9e9e3;color:#17243a;border-color:#e9e9e3}
.addon-progress .addon-progress-current{color:#f8e3ae}.addon-progress-current i{border-color:#ead090;box-shadow:0 0 16px #e9ca7025}.addon-progress-current i:after{content:"";width:7px;height:7px;border-radius:50%;background:#ead090}
.addon-header{padding:0;text-align:center;flex-shrink:0}
.addon-eyebrow{color:#dac28b;letter-spacing:1.8px;font-size:10px;line-height:15px;font-weight:600;margin-bottom:11px}
.addon-header h1,.addon-complete h1{font-size:clamp(24px,4.3svh,36px);line-height:1.12;letter-spacing:-.4px;font-weight:400}
.addon-header h1 em,.addon-complete h1 em{font-size:inherit;line-height:inherit;color:#ffe2a0;text-shadow:0 0 25px #edc77525}
.addon-subtitle{font-size:clamp(13px,1.7svh,14px);line-height:clamp(17px,2.5svh,21px);color:#c1cddf;max-width:348px;margin:clamp(6px,1.4svh,14px) auto 0}
.addon-art{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;container-type:size;margin:clamp(8px,1.4svh,12px) -10px}
.addon-gallery{width:min(100cqw,100cqh,390px);aspect-ratio:1;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:clamp(8px,1.2svh,10px)}

.app-frame{position:relative;min-width:0;min-height:0;padding:0;box-shadow:none;filter:drop-shadow(0 5px 7px #0004);background:none;aspect-ratio:1}
.app-frame img{position:absolute;display:block;max-width:none}
.frame-photo{object-fit:cover}
.app-frame .frame-overlay{inset:0;width:100%;height:100%;object-fit:contain}
.app-quote{position:relative;min-width:0;min-height:0;overflow:hidden;border-radius:16px;filter:drop-shadow(0 5px 9px #0004)}
.app-quote img{display:block;width:100%;height:100%;object-fit:contain}
.quote-gallery{width:min(100cqw,calc(100cqh * 450/472),390px);aspect-ratio:450/472}
.addon-footer{flex-shrink:0}.addon-price{display:flex;align-items:center;justify-content:space-between;padding:clamp(8px,1.5svh,13px) 16px;border-radius:15px;background:#c5d6f00a;border:1px solid #b8c9de1f;margin-bottom:clamp(8px,1.5svh,13px);color:#c4d0e1;font-size:13px;line-height:20px}.addon-price strong{font-size:22px;line-height:26px;font-weight:600;color:#ffe6ac}
.addon-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.addon-skip{height:clamp(44px,6.5svh,55px);display:flex;align-items:center;justify-content:center;border-radius:18px;background:#24354c85;color:#dce4f0;border:1px solid #a2b9d522;font-size:17px;font-weight:500}.addon-buy{height:clamp(44px,6.5svh,55px);font-size:17px;border-radius:18px}.addon-actions>button{min-width:0;padding:0;font-size:17px}.addon-skip:hover{background:#324761aa}.addon-skip:disabled{opacity:.55;cursor:wait}
.addon-payment-note{text-align:center;font-family:Arial,sans-serif;color:#94a5bf;font-size:11px;line-height:15px;max-width:330px;margin:clamp(6px,1.4svh,12px) auto 0}
.addon-status{flex-shrink:0;text-align:center;color:#ffdf9d;font-size:13px;line-height:19px;padding-top:10px}

.addon-bundle{width:min(92cqw,calc((100cqh - 28px) * 1.2121),396px);flex-shrink:0;display:flex;flex-direction:column;gap:8px;align-items:center}
.bundle-products{display:grid;grid-template-columns:1fr 1fr;gap:16px;width:100%}
.bundle-product{min-width:0;text-align:center}
.bundle-group-gallery{position:relative;width:100%;aspect-ratio:1/1.65}
.bundle-group-gallery>*{position:absolute;left:6%;top:8%;width:88%;height:auto;aspect-ratio:1;filter:drop-shadow(0 4px 7px #0007)}
.bundle-group-gallery>.app-quote{aspect-ratio:450/472;border-radius:11px}
.bundle-group-gallery>:nth-child(1){transform:translate(-6%,-5%);z-index:1}
.bundle-group-gallery>:nth-child(2){z-index:3}
.bundle-group-gallery>:nth-child(3){transform:translate(6%,5%);z-index:2}
.bundle-caption{font-size:11px;line-height:17px;color:#93a7c1;text-align:center}
.addon-complete{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px 9px;gap:20px}.addon-complete-logo{display:block;width:clamp(72px,12svh,104px);height:auto;aspect-ratio:1;border-radius:23%;box-shadow:0 0 30px #e9ca7020;object-fit:contain}.addon-complete .addon-eyebrow{margin:0}.addon-complete p:not(.addon-eyebrow){font-size:15px;line-height:23px;color:#c2cfe2;max-width:300px}.addon-complete .continue{margin-top:14px;text-decoration:none;font-size:17px}

@media(max-width:374px){.addon-app{padding-inline:17px}.addon-eyebrow{font-size:9px;letter-spacing:1.3px}.addon-actions{gap:9px}}.addon-app[data-bundle-layout=fan] .bundle-group-gallery>*{left:50%;top:auto;bottom:24%;width:82%;transform-origin:50% 100%}
.addon-app[data-bundle-layout=fan] .bundle-group-gallery>[data-fan-slot="0"]{left:46%;bottom:47%;transform:translateX(-50%) rotate(-7deg);z-index:1}
.addon-app[data-bundle-layout=fan] .bundle-group-gallery>[data-fan-slot="1"]{left:50%;bottom:2%;width:92%;transform:translateX(-50%);z-index:3}
.addon-app[data-bundle-layout=fan] .bundle-group-gallery>[data-fan-slot="2"]{left:54%;bottom:31%;transform:translateX(-50%) rotate(7deg);z-index:2}

.addon-app:is([data-stage=quotes],[data-stage=bundle]) .addon-header h1{font-size:clamp(24px,4svh,32px)}


.bundle-exit-dialog{width:min(340px,calc(100% - 32px));max-height:calc(100svh - 32px);margin:auto;padding:30px 24px 20px;border:1px solid #b89c5759;border-radius:24px;color:#eef3fc;background:radial-gradient(ellipse at top,#203047,#0a1528 75%);box-shadow:0 20px 70px #0009;text-align:center}
.bundle-exit-dialog::backdrop{background:#020714b8;backdrop-filter:blur(5px)}
.bundle-exit-dismiss{position:absolute;right:5px;top:2px;width:44px;height:44px;background:transparent;color:#acb9cf;font-size:26px}
.bundle-exit-dialog h2{font:400 32px/1.15 'Tiro Bangla',Georgia,serif;color:#ffe2a0;margin:6px 0 15px}
.bundle-exit-dialog p{font-size:14px;line-height:21px;color:#c6d2e5;margin:0 0 22px}
.bundle-exit-dialog strong{color:#ffe2a0;white-space:nowrap}
.bundle-exit-actions{display:grid;gap:10px}
.bundle-exit-actions .continue{height:50px;font-size:17px;border-radius:16px}
.bundle-exit-skip{min-height:44px;background:#28395070;border:1px solid #91a5c52a;border-radius:16px;font-size:15px;color:#dce4f0}

.addon-card-panel{width:min(100%,460px);margin:20px auto;padding:20px;border:1px solid #ffffff30;border-radius:20px;background:#0b1930}.addon-card-panel button{margin-top:14px;width:100%}.addon-complete a[aria-disabled="true"]{opacity:.65}

/* Size the artwork to the space left after the offer and purchase controls. */
.addon-app{height:100svh;min-height:0;overflow-x:clip}
.addon-art{flex:1 1 0;container-type:size;margin-block:clamp(10px,2svh,20px);min-height:0}
.addon-gallery{width:min(100cqw,calc(100cqh / 1.08),460px);flex-shrink:0;gap:6px}
.photo-gallery .app-frame{transform:scale(1.08)}
.quote-gallery{width:min(100cqw,calc(100cqh * 450 / 472),460px)}
.addon-bundle{width:min(100cqw,calc((100cqh - 28px) * 1.2121),460px)}
.addon-app:has(.addon-card-panel:not([hidden])){height:auto;min-height:100svh;overflow-y:visible}
.addon-app:has(.addon-card-panel:not([hidden])) .addon-art{flex:0 0 240px}
.bundle-exit-dismiss{border:0;border-radius:50%;padding:0;appearance:none;display:grid;place-items:center;box-shadow:none}
.bundle-exit-dismiss:focus{outline:none}
.bundle-exit-dismiss:focus-visible{outline:2px solid #ffdf8d;outline-offset:-5px;border-radius:50%}
