/* One-screen Pro offer. All artwork is supplied or already used by the app. */
#proModal{padding:0!important;background:#03132ded;overflow:hidden;z-index:1000}
#proModal *{box-sizing:border-box}
#proModal .compact-offer{width:min(100%,600px)!important;max-width:600px!important;height:100dvh;max-height:100dvh!important;margin:auto;padding: max(10px,env(safe-area-inset-top)) 14px max(7px,env(safe-area-inset-bottom))!important;border:0!important;border-radius:0!important;display:flex;flex-direction:column;gap:7px;overflow:auto!important;color:white;text-align:left;background:linear-gradient(180deg,#03133108,#031c4538 28%,#011634b8 64%,#011536e8),url('../assets/pro/retreat-background.webp') center/cover!important;box-shadow:0 0 60px #002858}
#proModal .compact-brand{display:flex;align-items:center;justify-content:center;gap:7px;min-height:32px;position:relative;padding:0 28px;font-size:14px;text-shadow:0 1px 5px #001233}
#proModal .compact-brand>img{width:25px;height:auto}
#proModal .compact-brand strong{white-space:nowrap}
#proModal .compact-brand strong span{color:#a1f4ff}
#proModal .pro-dismiss{position:absolute;left:0;top:0;width:32px;height:32px;min-height:32px;padding:0;border:1px solid #c4f4ffa6;border-radius:50%;background:#03235c66;color:white;font:28px/1 sans-serif;display:grid;place-items:center}
#proModal .compact-hero{flex:1 1 100px;min-height:100px;display:flex;flex-direction:column;justify-content:center;text-shadow:0 2px 9px #001741}
#proModal #proOfferTitle{font:850 clamp(26px,7.6vw,42px)/.99 inherit;font-family:inherit;font-size:clamp(26px,7.6vw,42px);font-weight:850;line-height:.99;letter-spacing:-.045em;margin:0 0 8px;color:white}
#proModal #proOfferTitle span{color:#8df6ff}
#proModal .compact-hero p{font-size:clamp(12px,3.3vw,16px);line-height:1.25;margin:0;font-weight:550;color:#fff;max-width:85%}
#proModal .compact-plans{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex-shrink:0}
#proModal .compact-plans button{position:relative;display:grid;grid-template-columns:28px 1fr;column-gap:6px;align-items:center;padding:9px 10px 7px;border:1px solid #73e8ff;border-radius:15px;background:linear-gradient(135deg,#083f85e8,#011d4fdf);color:white;font:inherit;text-align:left;cursor:pointer;min-height:112px}
#proModal .compact-plans img{width:25px;height:25px;object-fit:contain}
#proModal .compact-plan-name{font-weight:750;font-size:16px}
#proModal .compact-price{grid-column:1/-1;text-align:center;font-size:29px;line-height:1.12;letter-spacing:-.04em;margin-top:3px}
#proModal .compact-period{grid-column:1/-1;text-align:center;font-size:12px;color:#aaeaff}
#proModal .compact-plans small{grid-column:1/-1;font-size:9px;text-align:center;margin-top:3px;color:#e0faff}
#proModal .compact-plan-badge{position:absolute;right:6px;top:-8px;background:#ffe279;color:#152951;border-radius:7px;padding:2px 6px;font-size:9px;font-weight:750}
#proModal .compact-plans button[aria-pressed=true]{background:linear-gradient(135deg,#0878cce8,#0439a3ed);border:2px solid #c8ffff;padding:8px 9px 6px;box-shadow:0 0 12px #16d8ff,inset 0 0 15px #18ceff40}
#proModal .compact-checkout{width:100%;min-height:42px;flex-shrink:0;border:1px solid #d5ffff;border-radius:999px;background:linear-gradient(115deg,#16d9f3,#075bff 55%,#5228fc);box-shadow:0 0 12px #39dfff;color:#fff;font-family:inherit;font-weight:800;font-size:19px!important;display:flex;align-items:center;justify-content:center;position:relative;padding:6px 30px;margin:0}
#proModal .compact-checkout>span{position:absolute;right:17px;font-size:30px;font-weight:400;line-height:1}
#proModal .compact-billing-note{margin:0;min-height:23px;text-align:center;font-size:10px;line-height:1.15;color:#e8faff}
#proModal .compact-promises{display:flex;justify-content:space-between;gap:5px;font-size:10px;color:#f1fcff;margin:-4px 0 1px}
#proModal .compact-benefits{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,minmax(0,1fr));gap:7px;flex:1.7 0 210px;min-height:210px}
#proModal .compact-benefit{position:relative;isolation:isolate;overflow:hidden;min-width:0;padding:7px;border:1px solid #78eaff;border-radius:12px;text-align:left;color:#fff;font:inherit;background:linear-gradient(110deg,#032657ed,#074593b0);box-shadow:0 0 6px #17bfff4d;cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;gap:3px}
#proModal .compact-card-title{display:flex;align-items:center;gap:5px;position:relative;z-index:2}
#proModal .compact-card-title>img{width:27px;height:27px;object-fit:contain;flex-shrink:0}
#proModal .compact-card-title strong{font-size:12px;line-height:1.12;letter-spacing:-.02em}
#proModal .compact-card-title>span{margin-left:auto;font-size:22px;line-height:1}
#proModal .compact-card-copy{font-size:10px;line-height:1.2;max-width:90%;text-shadow:0 1px 4px #001c48;position:relative;z-index:2}
#proModal .compact-night{background:linear-gradient(90deg,#061650e8,#031b5666),url('../assets/pro/night.webp') center/cover}
#proModal .compact-calendar{background:linear-gradient(90deg,#061b66ed,#04266788),url('../assets/pro/calendar.webp') center/cover}
#proModal .compact-wins{background:linear-gradient(90deg,#061b66ed,#04266788),url('../assets/pro/small-wins.webp') center/cover}
#proModal .compact-programs{background:linear-gradient(90deg,#061b66ed,#04266788),url('../assets/pro/lake.webp') center/cover}
#proModal .compact-exercise-art{position:absolute;right:0;bottom:0;width:55%;height:100%;object-fit:contain;object-position:right bottom;z-index:0;opacity:.85}
#proModal .compact-exercise .compact-card-copy{max-width:53%}
#proModal .compact-benefit[aria-pressed=true]{border-color:#fff;box-shadow:0 0 9px #30e6ff,inset 0 0 10px #00bfff66}
#proModal .pro-secondary-btn{align-self:center;min-height:24px;margin:0;padding:2px 10px;background:transparent;border:0;color:#e1efff;font:11px/1.2 inherit;font-family:inherit;font-size:11px;text-decoration:underline;flex-shrink:0}
#proModal button:focus-visible{outline:2px solid white;outline-offset:2px}
@media(min-height:850px){#proModal .compact-offer{gap:10px;padding-inline:20px!important}#proModal .compact-benefits{flex-basis:255px}#proModal .compact-card-title strong{font-size:14px}#proModal .compact-card-copy{font-size:12px}#proModal .compact-plans button{min-height:130px}#proModal .compact-price{font-size:34px}}
@media(max-height:680px){#proModal .compact-offer{gap:5px}#proModal .compact-hero{min-height:90px}#proModal #proOfferTitle{font-size:27px;margin-bottom:5px}#proModal .compact-plans button{min-height:100px}#proModal .compact-price{font-size:27px}#proModal .compact-benefits{flex-basis:195px;min-height:195px;gap:5px}#proModal .compact-card-title>img{width:22px;height:22px}#proModal .compact-card-title strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){#proModal *{scroll-behavior:auto!important}}

#proModal .compact-checkout{background:linear-gradient(115deg,#16d9f3,#075bff 55%,#5228fc)!important;border-radius:999px!important;box-shadow:0 0 12px #39dfff!important}
#proModal .compact-routine-icons{display:flex;gap:4px;position:absolute;right:6px;bottom:5px;opacity:.85}
#proModal .compact-routine-icons img{width:23px;height:23px;object-fit:contain}
#proModal .compact-routines .compact-card-copy{max-width:63%;padding-bottom:2px}

/* Fit copy within the existing card footprint, including narrow mobile screens. */
#proModal .compact-plans{grid-template-columns:repeat(2,minmax(0,1fr))}
#proModal .compact-plans button{min-width:0}
#proModal .compact-benefit{justify-content:flex-start}
#proModal .compact-card-title{display:grid;grid-template-columns:20px minmax(0,1fr) 8px;gap:4px;flex-shrink:0}
#proModal .compact-card-title>img{width:20px;height:20px}
#proModal .compact-card-title strong{min-width:0;font-size:clamp(10px,2.75vw,13px);line-height:1.12;overflow-wrap:normal}
#proModal .compact-card-title>span{font-size:19px}
#proModal .compact-card-copy{font-size:clamp(10px,2.6vw,12px);line-height:1.2;max-width:100%;min-width:0}
#proModal .compact-exercise .compact-card-copy{max-width:64%}
#proModal .compact-exercise-art{width:44%;height:52%;object-fit:contain;object-position:right bottom}
#proModal .compact-routines .compact-card-copy{max-width:100%;padding-right:34px;padding-bottom:0}
#proModal .compact-routine-icons{right:5px;bottom:6px;gap:1px;flex-direction:column}
#proModal .compact-routine-icons img{width:16px;height:16px}

/* Full-card workout artwork with a readable text layer. */
#proModal .compact-exercise-art{inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:1}
#proModal .compact-exercise::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(2,18,57,.9),rgba(2,24,65,.65) 55%,rgba(2,24,65,.12))}
#proModal .compact-exercise .compact-card-copy{max-width:100%}
