.out-of-credits-modal{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;justify-content:center;padding:16px}.out-of-credits-modal .modal-backdrop{position:absolute;inset:0;z-index:1;background:rgba(12,17,30,0.76);backdrop-filter:blur(7px)}.out-of-credits-modal .modal-content{position:relative;z-index:2;display:flex;width:min(360px,calc(100vw - 24px));min-height:min(610px,calc(100vh - 24px));max-height:calc(100vh - 24px);padding:0;flex-direction:column;overflow:hidden auto;border:1px solid rgba(255,255,255,0.72);border-radius:26px;background:#fff;box-shadow:0 34px 90px rgba(0,0,0,0.34);animation:upgrade-modal-arrive 560ms cubic-bezier(.2,.86,.25,1.08) both}.out-of-credits-modal .modal-content::before{content:"";position:absolute;inset:0 0 auto;z-index:5;height:5px;background:linear-gradient(90deg,#fa4028,#ff9a46,#ff5e62,#fa4028);background-size:300% auto;animation:upgrade-gradient 4s linear infinite}.upgrade-visual-proof{position:relative;flex:1 1 0;min-height:175px;max-height:260px;overflow:hidden;background:#d8dbe3;isolation:isolate}.upgrade-visual-proof img{display:block;width:100%;height:100%;object-fit:cover;animation:upgrade-image-settle 1.1s cubic-bezier(.2,.75,.2,1) both}.upgrade-visual-proof::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(10,16,31,0.38),transparent 50%);pointer-events:none}.upgrade-visual-proof::after{content:"";position:absolute;z-index:2;top:-20%;bottom:-20%;left:-45%;width:28%;transform:skewX(-16deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,0.34),transparent);animation:upgrade-light-sweep 1.15s 700ms cubic-bezier(.3,.7,.2,1) both;pointer-events:none}.out-of-credits-modal .modal-close-btn{position:absolute;z-index:6;top:17px;right:17px;display:grid;width:38px;height:38px;padding:0;place-items:center;border:1px solid rgba(255,255,255,0.4);border-radius:50%;background:rgba(11,18,34,0.62);color:#fff;cursor:pointer;font-size:22px;line-height:1;backdrop-filter:blur(10px);transition:transform 180ms ease,background 180ms ease}.out-of-credits-modal .modal-close-btn:hover{transform:rotate(6deg) scale(1.06);background:rgba(11,18,34,0.82);color:#fff}.upgrade-modal-copy{display:flex;flex:0 0 auto;flex-direction:column;justify-content:flex-start;gap:34px;padding:23px 24px 24px}.out-of-credits-modal .upgrade-context-label{display:inline-flex;width:fit-content;align-items:center;gap:8px;margin:0 0 10px;padding:8px 11px;border:1px solid #ffc9c4;border-radius:10px;background:#fff1f0;color:#d92d20;font-size:13px;font-weight:700;letter-spacing:0;animation:upgrade-warning-arrive 500ms 250ms ease both}.out-of-credits-modal .upgrade-context-label::before{content:"";width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#d92d20;box-shadow:0 0 0 0 rgba(217,45,32,0.55);animation:upgrade-danger-pulse 1.8s 700ms ease-out infinite}.out-of-credits-modal .modal-title{margin:0;color:#16213b;font-family:var(--font-family-base);font-size:28px;font-weight:700;line-height:1.14;letter-spacing:-0.04em;text-align:left}.out-of-credits-modal .modal-subtitle{margin:12px 0 0;color:#697086;font-size:14px;line-height:1.62;text-align:left}.out-of-credits-modal .modal-subtitle strong{color:#16213b}.out-of-credits-modal .modal-subtitle s{color:#9ca3af;text-decoration:line-through;margin-right:4px}.out-of-credits-modal .modal-subtitle strong{color:#16213b;font-weight:700}.out-of-credits-modal .modal-actions{display:flex;flex-direction:column;gap:0;margin:0}.out-of-credits-modal .btn-upgrade-pro{position:relative;display:flex;width:100%;min-height:60px;padding:14px 16px;align-items:center;justify-content:center;flex-direction:row;gap:11px;overflow:hidden;border:0;border-radius:13px;background:linear-gradient(90deg,#fa4028,#ff9a46,#ff5e62,#fa4028);background-size:300% auto;box-shadow:0 12px 25px rgba(255,94,98,0.25);color:#fff;cursor:pointer;font-family:var(--font-family-base);animation-name:upgrade-gradient,upgrade-cta-rise;animation-duration:4s,520ms;animation-delay:0s,520ms;animation-timing-function:linear,ease;animation-iteration-count:infinite,1;animation-fill-mode:none,both;transition:transform 220ms ease,box-shadow 220ms ease}.out-of-credits-modal .btn-upgrade-pro:hover{transform:translateY(-3px);box-shadow:0 17px 32px rgba(250,64,40,0.34);animation-duration:1s,520ms}.out-of-credits-modal .btn-title{font-size:15px;font-weight:700}.upgrade-cta-arrow{display:grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border-radius:50%;background:rgba(255,255,255,0.2);font-size:17px;transition:transform 220ms ease}.out-of-credits-modal .btn-upgrade-pro:hover .upgrade-cta-arrow{transform:translateX(3px)}.upgrade-secondary-row{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:26px}.out-of-credits-modal .btn-buy-credits{width:auto;min-height:auto;padding:0;border:0;background:transparent;color:#656d80;cursor:pointer;font-family:var(--font-family-base);font-size:15px;font-weight:500;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(101,109,128,0.35)}.out-of-credits-modal .btn-buy-credits:hover{border:0;background:transparent;color:#fa4028;text-decoration:underline;text-underline-offset:3px}.upgrade-secondary-dot{width:3px;height:3px;border-radius:50%;background:#c0c4ce}.upgrade-primary-sub{margin:18px 0 0;color:#656d80;font-size:12px;font-weight:500;line-height:1.45;text-align:center}.upgrade-deadline-note:not([hidden]){display:flex;align-items:center;justify-content:center;gap:7px;margin:0 0 11px;padding:10px 14px;border-radius:11px;background:#ffede9;color:#d8341f;font-size:13px;font-weight:700;line-height:1.35;text-align:center}.upgrade-deadline-note:not([hidden])::before{content:"";width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#d8341f;animation:upgrade-deadline-pulse 2.4s ease-out infinite}@keyframes upgrade-deadline-pulse{0%{box-shadow:0 0 0 0 rgba(216,52,31,0.5)}70%,100%{box-shadow:0 0 0 7px rgba(216,52,31,0)}}.generate-state-line{min-height:1.4em;margin:8px 0 0;color:#656d80;font-size:12px;line-height:1.4;text-align:center}body.upgrade-modal-open{overflow:hidden}@keyframes upgrade-gradient{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}@keyframes upgrade-modal-arrive{from{opacity:0;transform:translateY(24px) scale(0.955)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes upgrade-image-settle{from{transform:scale(1.07);filter:saturate(0.8)}to{transform:scale(1);filter:saturate(1)}}@keyframes upgrade-light-sweep{from{left:-45%;opacity:0}20%{opacity:1}to{left:125%;opacity:0}}@keyframes upgrade-danger-pulse{0%{box-shadow:0 0 0 0 rgba(217,45,32,0.55)}60%,100%{box-shadow:0 0 0 8px rgba(217,45,32,0)}}@keyframes upgrade-warning-arrive{0%{opacity:0;transform:translateY(-5px) scale(0.97)}70%{transform:translateY(0) scale(1.02)}100%{opacity:1;transform:translateY(0) scale(1)}}@keyframes upgrade-cta-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (max-width:560px){.out-of-credits-modal{padding:10px}.out-of-credits-modal .modal-content{width:min(100%,360px);min-height:min(610px,calc(100vh - 20px));max-height:calc(100vh - 20px);border-radius:21px}.upgrade-modal-copy{padding:22px}}@media (prefers-reduced-motion:reduce){.out-of-credits-modal *,.out-of-credits-modal *::before,.out-of-credits-modal *::after{animation-duration:1ms !important;animation-iteration-count:1 !important}}