/* Instagram profile design. Trigger logic lives unchanged in popup.js. */
#gfi-popup,#gfi-popup *{box-sizing:border-box}
#gfi-popup{display:none;position:fixed;inset:0;z-index:2147483646;direction:rtl;align-items:safe center;justify-content:center;padding:20px;overflow:auto;background:rgba(28,24,21,.64);backdrop-filter:blur(15px) saturate(.72);-webkit-backdrop-filter:blur(15px) saturate(.72)}
#gfi-popup.open{display:flex}
#gfi-popup [hidden]{display:none!important}
#gfi-popup button,#gfi-popup a{font-family:inherit;cursor:pointer;text-decoration:none;-webkit-tap-highlight-color:transparent}
#gfi-popup .exit-panel{container-type:inline-size;width:min(560px,calc(100vw - 40px),calc((100svh - 40px)*.9135));max-width:none;min-height:0;aspect-ratio:972/1064;padding:0;border:1px solid #ffffffdb;border-radius:24px;background:#f7f2ec var(--gfi-background) center/100% 100% no-repeat;position:relative;overflow:hidden;text-align:center;box-shadow:0 24px 75px #17110d55;transform:translateY(10px) scale(.98);transition:transform .25s ease;font-family:inherit}
#gfi-popup.open .exit-panel{transform:none}
#gfi-popup .exit-close{position:absolute;inset:3.2% auto auto 3.65%;width:8.25%;min-width:28px;height:auto;aspect-ratio:1;border:1px solid #d6c9bc;border-radius:50%;background:#eee8e1;box-shadow:inset 0 0 0 2px #fbf8f3,inset 0 0 0 3px #d6c9bc;display:grid;place-items:center;padding:0;color:#615c57;z-index:5;outline:none}
#gfi-popup .exit-close svg{width:42%;height:42%;stroke:currentColor;stroke-width:1.8;fill:none}
#gfi-popup .linen-brand{position:relative;width:100%;margin:5.4cqw auto 0;display:flex;align-items:center;flex-direction:column;color:#503d31;font-family:Georgia,serif;line-height:1.35;letter-spacing:.48cqw}
#gfi-popup .linen-brand strong{font-size:2.25cqw;font-weight:600}
#gfi-popup .linen-brand i{width:12.4%;height:1px;background:#bba894;margin:1.05cqw 0}
#gfi-popup .linen-brand span{font-size:1.5cqw;letter-spacing:.48cqw}
#gfi-popup .gfi-profile{display:flex;align-items:center;gap:3.2cqw;width:47%;margin:3.2cqw auto 0;text-align:left;font-family:Arial,sans-serif;color:#141414}
#gfi-popup .gfi-avatar{width:14.6cqw;aspect-ratio:1;flex:none;padding:.42cqw;background:conic-gradient(#c900ef,#c900ef,#ff075d,#ffa400,#ff075d,#c900ef);border-radius:50%}
#gfi-popup .gfi-avatar-inner{position:relative;width:100%;height:100%;border:.5cqw solid white;border-radius:50%;overflow:hidden;background:#ece3dc}
#gfi-popup .gfi-avatar img{display:block;width:100%;height:100%;object-fit:cover;max-width:none}
#gfi-popup .gfi-avatar-reference{display:block;width:100%;height:100%;border-radius:50%;background:url('profile-reference.png') 34.334334% 25.566849%/912.195122% auto no-repeat}
#gfi-popup .gfi-profile-copy{flex:1;min-width:0}
#gfi-popup .gfi-stats{display:flex;justify-content:space-between;gap:2.1cqw;margin:0 0 2cqw}
#gfi-popup .gfi-stats div{text-align:center;min-width:0}
#gfi-popup .gfi-stats strong{display:block;font-size:2.2cqw;line-height:1.2;font-weight:500}
#gfi-popup .gfi-stats span{display:block;font-size:1.55cqw;line-height:1.5}
#gfi-popup .gfi-username{display:block;font-size:2.2cqw;line-height:1.3;overflow-wrap:anywhere}
#gfi-popup .gfi-profile-name{display:block;font-size:1.8cqw;line-height:1.4;color:#686868}
#gfi-popup .exit-content{position:relative;width:100%;margin:3cqw 0 0;padding:0 0 14cqw;text-align:center}
#gfi-popup h2{max-width:none;margin:0 auto;padding:0 5%;color:#080a0b;font-size:5.9cqw;line-height:1.55;font-weight:700;overflow-wrap:anywhere}
#gfi-popup h2 span{display:block;margin-top:1.3cqw;font-size:5.45cqw;color:inherit;line-height:1.6;white-space:normal}
#gfi-popup .exit-content>p{width:76%;max-width:76%;margin:3.8cqw auto 5.3cqw;padding:0;color:#827b75;font-size:3.05cqw;line-height:1.85;font-weight:400;white-space:normal;overflow-wrap:anywhere;text-wrap:pretty}
#gfi-popup .instagram-cta{width:58.2%;min-height:11.5cqw;height:auto;margin:0 auto;padding:2.2cqw 3.55cqw;border:1px solid #fff9;border-radius:1.9cqw;background:linear-gradient(105deg,#ff8b22 0%,#ff334e 35%,#dc197a 62%,#7923ed 100%);color:#fff;display:flex;align-items:center;justify-content:center;gap:3cqw;direction:ltr;box-shadow:0 2.2cqw 4.3cqw #ec417c25;transform:none}
#gfi-popup .ig-badge{width:5.5cqw;height:5.5cqw;flex:none;border:0;padding:0;display:block;border-radius:0}
#gfi-popup .ig-badge svg,#gfi-popup .ig-badge img{width:100%;height:100%;object-fit:contain;display:block}
#gfi-popup .linen-button-rule{height:5.2cqw;width:1px;background:#fff9;flex:none}
#gfi-popup .cta-label{font-size:2.65cqw;line-height:1.5;font-weight:400;direction:rtl;white-space:normal;overflow-wrap:anywhere}
#gfi-popup .exit-stay{display:table;position:static;margin:3cqw auto 0;padding:0;border:0;border-bottom:1px solid #bba58f;border-radius:0;background:transparent;color:#8a725d;font-size:2.45cqw;line-height:1.6;font-weight:400}
#gfi-popup .linen-signature{position:absolute;bottom:12%;left:0;width:100%;display:flex;align-items:center;justify-content:center;gap:1.6cqw;color:#8a725d;font-size:1.9cqw;font-weight:700;line-height:1.5}
#gfi-popup .linen-signature i{width:6.8%;height:1px;background:#c2b09f}
#gfi-popup button:focus,#gfi-popup a:focus{outline:none}
#gfi-popup button:focus-visible,#gfi-popup a:focus-visible{outline:2px solid #80644e;outline-offset:3px}
#gfi-popup .exit-close:focus:not(:focus-visible){outline:none}
#gfi-popup[data-motion="0"] .exit-panel{transition:none}
@media(prefers-reduced-motion:reduce){#gfi-popup .exit-panel{transition:none}}

#gfi-popup .exit-close:focus-visible{outline:none;background:#dfd2c5}

/* Explicit square dimensions prevent Safari percentage-height oval rings. */
#gfi-popup .gfi-avatar{width:14.6cqw;height:14.6cqw;flex:0 0 14.6cqw;min-height:0;max-height:none;box-sizing:border-box}
#gfi-popup .gfi-avatar-inner{width:100%;height:100%;min-height:0;aspect-ratio:1;box-sizing:border-box}
#gfi-popup .gfi-avatar-inner>img{width:100%;height:100%;object-fit:cover;aspect-ratio:1;border-radius:50%}
