/* A native-looking profile inside the illustration. Its entire surface is visible
   by default; only the illustrative activity changes after the hero is drawn. */
.business{width:83%;max-width:360px;padding:0;background:transparent;color:var(--ink);border-radius:0;box-shadow:none;transform:none}
.ig-window{--ig-bg:#fff;--ig-ink:#171717;--ig-muted:#686868;--ig-line:#dbdbdb;--ig-button:#efefef;--ig-blue:#0064e0;position:relative;overflow:hidden;background:var(--ig-bg);color:var(--ig-ink);border:1px solid var(--ig-line);border-radius:12px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.35;font-synthesis:weight;isolation:isolate}
[data-theme="dark"] .ig-window{--ig-bg:#121212;--ig-ink:#f5f5f5;--ig-muted:#b0b0b0;--ig-line:#363636;--ig-button:#363636;--ig-blue:#78aaff}
.ig-window svg{display:block;flex-shrink:0;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ig-window strong{font-weight:600}
.ig-topbar{display:flex;align-items:center;gap:12px;padding:12px 13px 10px}
.ig-topbar>strong{font-size:16px;letter-spacing:-.015em}
.ig-top-actions{display:flex;gap:13px;margin-left:auto}
.ig-top-actions svg{width:18px;height:18px}
.ig-overview{display:flex;align-items:center;gap:17px;padding:7px 16px 9px}
.ig-story-ring{flex-shrink:0;width:67px;height:67px;padding:3px;border-radius:50%;background:linear-gradient(35deg,#ffd776,#fa723b 28%,#d62976 60%,#8b3bd3)}
.business{--ig-avatar:url('assets/profiles/tessa-avatar.jpg');--ig-tile-one:url('assets/profiles/tessa-1.jpg');--ig-tile-two:url('assets/profiles/tessa-2.jpg');--ig-tile-three:url('assets/profiles/tessa-3.jpg')}
.business[data-profile="0"]{--ig-avatar:url('assets/profiles/maya-avatar.jpg');--ig-tile-one:url('assets/profiles/maya-1.jpg');--ig-tile-two:url('assets/profiles/maya-2.jpg');--ig-tile-three:url('assets/profiles/maya-3.jpg')}
.business[data-profile="2"]{--ig-avatar:url('assets/profiles/camille-avatar.jpg');--ig-tile-one:url('assets/profiles/camille-1.jpg');--ig-tile-two:url('assets/profiles/camille-2.jpg');--ig-tile-three:url('assets/profiles/camille-3.jpg')}
.ig-photo{position:relative;overflow:hidden;isolation:isolate;background-image:var(--ig-avatar);background-repeat:no-repeat;background-size:cover;background-position:center;background-color:#b8ac9a}
.ig-photo-one{background-image:var(--ig-tile-one)}
.ig-photo-two{background-image:var(--ig-tile-two)}
.ig-photo-three{background-image:var(--ig-tile-three)}
.ig-photo-previous{position:absolute;inset:0;pointer-events:none;background-size:cover;background-position:center;border-radius:inherit}
.ig-photo>.ig-post-format,.ig-photo>.ig-post-heart,.ig-photo>.ig-like-count{z-index:1}
.ig-avatar{width:100%;height:100%;border:3px solid var(--ig-bg);border-radius:50%;background-origin:border-box}
.ig-stats{display:flex;flex:1;justify-content:space-between;gap:9px;font-variant-numeric:tabular-nums}
.ig-stats>div{display:flex;flex-direction:column;align-items:center;gap:1px}
.ig-stats strong{font-size:15px;line-height:1.2}
.ig-stats>div>span{font-size:11px}
.ig-follower-count{display:grid}
.ig-follower-count>span{grid-area:1/1}
.ig-bio{display:flex;flex-direction:column;align-items:flex-start;padding:0 16px 9px;line-height:1.4;font-size:11px}
.ig-bio>strong{font-size:12px}
.ig-category{color:var(--ig-muted)}
.ig-bio-link{position:relative;display:flex;align-items:center;gap:4px;font-weight:600;color:var(--ig-blue);margin-top:2px}
.ig-bio-link svg{width:12px;height:12px}
.ig-link-focus{position:absolute;inset:-3px -5px;border-radius:4px;background:var(--ig-blue);opacity:0;pointer-events:none}
.ig-actions{display:flex;gap:5px;padding:0 12px 10px;font-size:12px;font-weight:600}
.ig-actions>span{display:flex;align-items:center;justify-content:center;height:29px;border-radius:6px;background:var(--ig-button)}
.ig-actions .ig-follow{position:relative;flex:1;background:#0064e0;color:#fff}
.ig-follow-label,.ig-following-label{display:flex;align-items:center;justify-content:center;gap:3px;position:absolute;inset:0}
.ig-following-label{opacity:0;border-radius:6px;background:var(--ig-button);color:var(--ig-ink)}
.ig-following-label svg{width:13px;height:13px}
.ig-message{flex:1}.ig-actions .ig-discover{width:31px}.ig-discover svg{width:16px;height:16px}
.ig-tabs{display:flex;height:35px;justify-content:space-around;border-bottom:1px solid var(--ig-line);color:var(--ig-muted)}
.ig-tabs>span{display:grid;place-items:center;width:33.333%}
.ig-tabs .ig-tab-current{border-bottom:1.5px solid var(--ig-ink);color:var(--ig-ink)}
.ig-tabs svg{width:20px;height:20px;stroke-width:1.5}
.ig-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
.ig-post{position:relative;aspect-ratio:3/4;overflow:hidden}

.ig-post .ig-post-format{position:absolute;right:7px;top:7px;width:15px;height:15px;color:#fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5));stroke-width:2}
.ig-post-heart{position:absolute;inset:0;display:grid;place-items:center;color:#fff;opacity:0}
.ig-post-heart svg{fill:currentColor;stroke:none;width:46px;height:46px;filter:drop-shadow(0 2px 5px rgba(0,0,0,.18))}
.ig-like-count{position:absolute;bottom:9px;left:9px;display:flex;align-items:center;gap:4px;color:white;font-size:10px;font-weight:600;opacity:0;text-shadow:0 1px 3px rgba(0,0,0,.8)}
.ig-like-count svg{width:12px;height:12px;fill:currentColor;stroke:none}
.ig-bottomnav{height:38px;display:flex;align-items:center;justify-content:space-around;border-top:1px solid var(--ig-line)}
.ig-bottomnav svg{width:19px;height:19px}.ig-bottomnav>svg:first-child{fill:var(--ig-ink)}
.ig-mini-avatar{display:block;width:20px;height:20px;border-radius:50%;flex-shrink:0}
.ig-bottomnav{position:relative}
.ig-activity-icon{position:relative;display:block;width:19px;height:19px}
.ig-activity-icon>svg{width:19px;height:19px}
.ig-activity-icon>i{position:absolute;left:7px;bottom:-6px;width:4px;height:4px;border-radius:50%;background:#ed4956}
.ig-activity-bubble{position:absolute;left:50%;bottom:calc(100% + 17px);width:max-content;translate:-50% 0;display:flex;align-items:center;gap:12px;padding:9px 12px;color:#fff;background:#d92945;border-radius:7px;font-size:12px;line-height:1;opacity:0;transform-origin:50% 100%;pointer-events:none}
.ig-activity-bubble::after{content:"";position:absolute;bottom:-5px;left:calc(50% - 5px);width:10px;height:10px;background:inherit;transform:rotate(45deg)}
.ig-activity-bubble>span{display:flex;align-items:center;gap:5px;font-variant-numeric:tabular-nums}
.ig-activity-bubble b{font-weight:600;min-width:1ch}
.ig-activity-bubble svg{width:14px;height:14px;fill:currentColor;stroke:currentColor;stroke-width:1.2}
.ig-post-comments{display:flex;align-items:center;gap:4px;margin-left:4px}
.ig-post-comments svg{fill:none;stroke:currentColor;stroke-width:2}
.ig-like-count{left:7px;right:5px;gap:3px}
.ig-like-count b{font-size:10px}
.collaboration figcaption{position:static;margin:0 0 18px;font-size:18px;line-height:1.4}
.collaboration figcaption strong{font-size:22px}
.ig-stats>div{position:relative}
.ig-follower-count{min-width:7ch;text-align:center}
.ig-like-count{opacity:1;font-size:12px}
.ig-like-count b{font-weight:600;font-variant-numeric:tabular-nums}
.ig-profile-content{position:relative}
.ig-owned{position:absolute;inset:0;background:var(--ig-bg);transform:translateY(110%);border-top:1px solid var(--ig-line)}
.ig-owned-address{display:flex;align-items:center;justify-content:space-between;height:30px;padding:0 13px;color:var(--ig-muted);font-size:10px;border-bottom:1px solid var(--ig-line)}
.ig-owned-address svg{width:13px;height:13px}
.ig-checkout{display:flex;flex-direction:column;height:calc(100% - 30px);padding:14px}
.ig-order-product{display:flex;align-items:center;gap:12px;min-height:54px}
.ig-program-photo{display:block;width:54px;height:54px;flex-shrink:0;border-radius:4px}
.ig-order-product strong{display:block;font-family:Neue,sans-serif;font-weight:600;font-size:18px;line-height:1.05;letter-spacing:-.015em}
.ig-order-product small{display:block;margin-top:5px;font-size:10px;color:var(--ig-muted)}
.ig-checkout-action{position:relative;height:32px;flex-shrink:0;margin-top:14px;border-radius:6px;overflow:hidden;background:var(--fill);color:var(--onFill);font-size:11px;font-weight:600}
.ig-purchase-label,.ig-paid-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:6px}
.ig-purchase-label svg,.ig-paid-label svg{width:15px;height:15px}
.ig-paid-label{opacity:0;background:var(--highlight);color:var(--chipInk)}
.ig-payment{display:flex;flex:1;gap:8px;align-items:center;min-height:58px;margin-top:12px;opacity:0}
.ig-payment-check{display:grid;place-items:center;width:29px;height:29px;flex-shrink:0;border-radius:50%;background:var(--highlight);color:var(--chipInk)}
.ig-payment-check svg{width:17px;height:17px}
.ig-payment>div{display:flex;flex:1;flex-direction:column;gap:3px}
.ig-payment>div>strong{font-size:11px}
.ig-payment>div>span{font-size:9px;color:var(--ig-muted)}
.ig-payment>div b{font-weight:400}
.ig-payment-amount{font-size:21px;letter-spacing:-.025em}
.ig-order-summary{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--ig-line);padding-top:8px;margin-top:10px;font-size:10px;color:var(--ig-muted)}
.ig-order-summary>strong{font-size:12px;color:var(--ig-ink);font-variant-numeric:tabular-nums}
.business[data-phase="sale"] .ig-payment-amount{color:var(--ig-blue)}
@media(max-width:1050px) and (min-width:761px){.business{width:96%}.ig-overview{gap:12px;padding-inline:12px}.ig-stats{gap:7px}}
@media(max-width:760px){.business{width:94%}.collaboration figcaption{margin-bottom:15px;font-size:16px}.collaboration figcaption strong{font-size:20px}}
@media(max-width:380px){.ig-overview{gap:9px;padding-inline:12px}.ig-stats strong{font-size:13px}.ig-stats>div>span{font-size:10px}.ig-checkout{padding-inline:12px}.ig-order-product strong{font-size:17px}}

/* Three supplied personas, one stable Instagram surface. Each persona has its own generated portrait and three photographs. */
.ig-profile-bio{min-height:2.8em}
.ig-like-count{flex-wrap:wrap;row-gap:3px}
.ig-post-comments{margin-left:0}
.ig-profile-controls{display:flex;justify-content:center;gap:2px;margin-top:7px}
.ig-profile-controls[hidden]{display:none}
.ig-profile-controls button{display:grid;place-items:center;width:36px;height:30px;padding:0;background:transparent;border:0;border-radius:6px;color:var(--ink2)}
.ig-profile-controls button>span{display:block;width:6px;height:6px;border-radius:50%;background:currentColor;transition:background 200ms,transform 200ms}
.ig-profile-controls button[aria-pressed="true"]{color:var(--accentText)}
.ig-profile-controls button[aria-pressed="true"]>span{transform:scale(1.35)}
.ig-profile-controls button:focus-visible{outline:2px solid var(--accentText);outline-offset:1px}
.ig-disclosure{text-align:center;font-family:NeueText,sans-serif;font-size:11px;line-height:1.5;color:var(--ink2);margin:0 auto;max-width:34ch}
.ig-order-product strong{font-size:17px;line-height:1.18}
@media(prefers-reduced-motion:reduce){.ig-profile-controls button>span{transition:none}}

/* Swipe the existing profile surface; preserve normal vertical page scrolling. */
.business{touch-action:pan-y}
.ig-profile-controls button{min-width:44px;min-height:44px;touch-action:manipulation}

/* The first pass is a real horizontal profile carousel, not a text-only fade. */
.ig-previous-profile{position:absolute;inset:0;z-index:4;pointer-events:none;background:var(--ig-bg)}
.ig-profile{background:var(--ig-bg)}
