.global-modal {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .34s ease;
    /* iOS Safari: evita colar o cartão na barra inferior / home indicator */
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.global-modal.active {
    z-index: 2147483647;
    opacity: 1;
}
/* Fecho: mantém stacking até sumir; opacity anima no próprio root (transitionend no JS). */
.global-modal.active.modal-closing {
    z-index: 2147483647;
    opacity: 0;
    pointer-events: none;
}
.global-modal.active.modal-closing .global-modal-content {
    transform: translateY(10px) scale(0.99);
    transition: transform .34s ease, opacity .34s ease;
}
.global-modal-mask {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(12, 9, 30, .72);
    backdrop-filter: blur(7px);
}
.global-modal-content {
    position: relative;
    z-index: 2;
    width: min(94vw, 430px);
    max-height: min(90vh, 760px);
    max-height: min(90dvh, 760px);
    max-height: min(90svh, 760px);
    overflow: auto;
    overflow-x: hidden;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 26px;
    background: radial-gradient(circle at 0 0, rgba(148, 95, 253, .13), transparent 32%),
        radial-gradient(circle at 100% 0, rgba(255, 51, 102, .10), transparent 30%),
        linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
    padding: 18px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 24px 80px rgba(23, 16, 64, .32);
    transform: translateY(16px) scale(.98);
    transition: transform .34s ease, opacity .34s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 95, 253, .34) transparent;
    scrollbar-gutter: stable;
}
.global-modal-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.global-modal-content::-webkit-scrollbar-track {
    background: transparent;
}
.global-modal-content::-webkit-scrollbar-thumb {
    min-height: 46px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(148, 95, 253, .38), rgba(79, 113, 255, .32));
    background-clip: padding-box;
}
.global-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(148, 95, 253, .58), rgba(79, 113, 255, .50));
    background-clip: padding-box;
}
.global-modal-content::-webkit-scrollbar-corner {
    background: transparent;
}
.global-modal.active .global-modal-content {
    transform: translateY(0) scale(1);
}
.global-modal-content.extra-with-posts {
    width: min(94vw, 430px);
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f6f4ff;
    color: #7a6a9d;
    font-size: 24px;
    line-height: 34px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(88, 81, 219, .12);
}
.account-modal-title {
    text-align: center;
    margin: 0 42px 14px;
}
.account-modal-title:before {
    content: "";
    display: flex;
    width: 58px;
    height: 58px;
    margin: 0 auto 10px;
    border-radius: 20px;
    background: url("https://gramlikes.com.br/assets/img/icons/camera.svg") center/27px 27px no-repeat,
        linear-gradient(135deg, rgba(148, 95, 253, .16), rgba(255, 51, 102, .10));
    box-shadow: 0 14px 32px rgba(148, 95, 253, .16);
}
.account-modal-title h3 {
    margin: 0;
    color: #171327;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -.02em;
}
.account-modal-title p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 34px;
    margin: 10px auto 0;
    padding: 8px 12px;
    border: 1px solid rgba(148, 95, 253, .14);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(148, 95, 253, .12), rgba(255, 51, 102, .08));
    color: #5d36d6;
    font-size: 11px;
    font-weight: 950;
    line-height: 1.15;
    letter-spacing: .01em;
    box-shadow: 0 10px 24px rgba(148, 95, 253, .10);
    text-align: center;
}
.gl-instagram-user-card {
    padding: 16px;
    border: 1px solid rgba(148, 95, 253, .14);
    border-radius: 24px;
    background: radial-gradient(circle at 0 0, rgba(148, 95, 253, .12), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.90), rgba(250,247,255,.82));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.76), 0 14px 34px rgba(34,23,74,.08);
    text-align: left;
}
.gl-instagram-user-card__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(148, 95, 253, .10);
    color: #945ffd;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}
.gl-instagram-user-card strong {
    display: block;
    margin: 10px 0 10px;
    color: #171327;
    font-size: 18px;
    font-weight: 950;
    letter-spacing: -.03em;
    line-height: 1.15;
}
.gl-instagram-user-card__control {
    position: relative;
}
.gl-instagram-user-card__control:before {
    content: "@";
    position: absolute;
    left: 12px;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 9px;
    background: linear-gradient(135deg, #405de6 0%, #833ab4 34%, #c13584 58%, #fd1d1d 78%, #f77737 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(193, 53, 132, .22);
    transform: translateY(-50%);
    pointer-events: none;
}
.gl-instagram-user-card__control:after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 19px;
    background: linear-gradient(135deg, rgba(64, 93, 230, .28), rgba(193, 53, 132, .24), rgba(247, 119, 55, .20));
    opacity: .75;
    pointer-events: none;
}
.gl-instagram-user-card small {
    display: block;
    margin-top: 9px;
    color: #746d84;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
}
.accountName {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 18px;
    padding: 0 16px 0 48px;
    color: #171327;
    background: linear-gradient(180deg, #fff 0%, #fff9fc 100%);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(148, 95, 253, .08);
}
.accountName:focus {
    outline: 0;
    border-color: #945ffd;
    box-shadow: 0 0 0 4px rgba(148, 95, 253, .14);
}
.gl-instagram-card-loading-wrap {
    position: relative;
    isolation: isolate;
}
.gl-instagram-card-loading-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 20;
    border-radius: 18px;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.14) 35%, rgba(255,255,255,.62) 48%, rgba(255,255,255,.14) 61%, transparent 100%);
    transform: translateX(-120%);
    animation: glInstagramCardShine 1.05s ease-in-out infinite;
}
.gl-instagram-card-loading-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 21;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #405de6, #833ab4, #c13584, #fd1d1d, #f77737, #405de6);
    box-shadow: 0 10px 24px rgba(193, 53, 132, .30), 0 0 0 8px rgba(255,255,255,.72);
    animation: glCenteredInstagramSpin .78s linear infinite;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
    pointer-events: none;
}
.gl-instagram-card-loading {
    position: relative;
    pointer-events: none;
    opacity: .96;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(148, 95, 253, .18), 0 0 0 3px rgba(255, 51, 102, .08);
    transform: translateY(-1px);
}
.gl-instagram-card-loading::before {
    content: none;
}
.gl-instagram-card-loading::after {
    content: none;
}
.seguidores-pacotes-grid .pkg-offer-card .btn.btn-color,
body.home .section-7 .comprar-seguidores-barato .btn.btn-color {
    box-sizing: border-box !important;
}
.seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:hover,
.seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:focus,
.seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:focus-visible,
.seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:active,
body.home .section-7 .comprar-seguidores-barato .btn.btn-color:hover,
body.home .section-7 .comprar-seguidores-barato .btn.btn-color:focus,
body.home .section-7 .comprar-seguidores-barato .btn.btn-color:focus-visible,
body.home .section-7 .comprar-seguidores-barato .btn.btn-color:active {
    min-height: 112px !important;
    padding: 16px 9px 13px !important;
    transform: none !important;
}
.seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:hover::after,
.seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:focus::after,
.seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:focus-visible::after,
.seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:active::after,
body.home .section-7 .comprar-seguidores-barato .btn.btn-color:hover::after,
body.home .section-7 .comprar-seguidores-barato .btn.btn-color:focus::after,
body.home .section-7 .comprar-seguidores-barato .btn.btn-color:focus-visible::after,
body.home .section-7 .comprar-seguidores-barato .btn.btn-color:active::after {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
}
@media (max-width: 767px) {
    .seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:hover,
    .seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:focus,
    .seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:focus-visible,
    .seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:active,
    body.home .section-7 .comprar-seguidores-barato .btn.btn-color:hover,
    body.home .section-7 .comprar-seguidores-barato .btn.btn-color:focus,
    body.home .section-7 .comprar-seguidores-barato .btn.btn-color:focus-visible,
    body.home .section-7 .comprar-seguidores-barato .btn.btn-color:active {
        min-height: 92px !important;
        padding: 13px 6px 11px !important;
    }
}
@media (max-width: 359px) {
    .seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:hover,
    .seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:focus,
    .seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:focus-visible,
    .seguidores-pacotes-grid .pkg-offer-card .btn.btn-color:active,
    body.home .section-7 .comprar-seguidores-barato .btn.btn-color:hover,
    body.home .section-7 .comprar-seguidores-barato .btn.btn-color:focus,
    body.home .section-7 .comprar-seguidores-barato .btn.btn-color:focus-visible,
    body.home .section-7 .comprar-seguidores-barato .btn.btn-color:active {
        min-height: 88px !important;
        padding: 12px 5px 10px !important;
    }
}
.instagram-modal-notice {
    margin-top: 10px;
    color: #ff3366;
    font-weight: 700;
}

/* Aviso perfil privado (modal Instagram — não depende do CSS do checkout) */
#instagram-canal-modal .gl-instagram-modal-private-notice {
    position: relative;
    margin-top: 14px;
    padding: 13px 14px 13px 42px;
    border: 1px solid rgba(255, 154, 0, 0.35);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.14), rgba(255, 152, 0, 0.08));
    box-shadow: 0 10px 26px rgba(255, 154, 0, 0.12);
    color: #5c4a2e;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}
#instagram-canal-modal .gl-instagram-modal-private-notice:before {
    content: "!";
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff9a00;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}
#instagram-canal-modal .gl-instagram-modal-private-notice > strong {
    display: block;
    margin-bottom: 4px;
    color: #3d3318;
    font-size: 14px;
    font-weight: 800;
}
#instagram-canal-modal .gl-instagram-modal-private-notice > span {
    display: block;
}
#instagram-canal-modal .gl-instagram-modal-private-notice > span strong {
    color: #2a240f;
    font-weight: 800;
}

#instagram-canal-modal .gl-instagram-modal-private-notice__retry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #945ffd, #4f71ff);
    box-shadow: 0 10px 24px rgba(79, 113, 255, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
#instagram-canal-modal .gl-instagram-modal-private-notice__retry:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(79, 113, 255, 0.28);
}
#instagram-canal-modal .gl-instagram-modal-private-notice__retry:disabled,
#instagram-canal-modal .gl-instagram-modal-private-notice__retry.loading {
    opacity: 0.72;
    pointer-events: none;
    cursor: default;
    transform: none;
}

.ins-info-container {
    margin-top: 14px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .36s ease, transform .36s ease;
}
.ins-info-container.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.instagram-profile-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(34, 197, 94, .18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(34, 197, 94, .10), rgba(148, 95, 253, .08));
    box-shadow: 0 12px 28px rgba(34, 197, 94, .08);
    opacity: 0;
    transform: translateY(8px) scale(.98);
    transition: opacity .34s ease, transform .34s ease;
}
.instagram-profile-success.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.instagram-profile-success__icon {
    position: relative;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: linear-gradient(135deg, #22c55e, #945ffd);
    box-shadow: 0 10px 24px rgba(34, 197, 94, .20);
}
.instagram-profile-success__icon::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 8px;
    width: 9px;
    height: 15px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
.instagram-profile-success__icon::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: inherit;
    border: 1px solid rgba(34, 197, 94, .24);
    animation: glProfileSuccessPulse 1.45s ease-out 1;
}
.instagram-profile-success strong {
    display: block;
    color: #171327;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.1;
}
.instagram-profile-success small {
    display: block;
    margin-top: 3px;
    color: #746d84;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.25;
}
.ins-profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8f5ff, #fff5fa);
    border: 1px solid #f0eafd;
    box-shadow: 0 12px 30px rgba(148, 95, 253, .09);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .34s ease, transform .34s ease;
}
.ins-profile-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.instagram-change-user-btn {
    margin-left: auto;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(148, 95, 253, .16);
    border-radius: 999px;
    background: #fff;
    color: #945ffd;
    cursor: pointer;
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(34,23,74,.06);
}
.instagram-change-user-btn:hover {
    transform: translateY(-1px);
}
.ins-profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee9ff;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(148, 95, 253, .18);
}
.ins-profile-username {
    display: block;
    color: #171327;
    font-size: 14px;
    line-height: 1.2;
}
.ins-profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    margin-top: 4px;
    color: #6f6780;
    font-size: 10.5px;
    line-height: 1.3;
}
.gl-modal-profile {
    --gl-profile-purple: #945ffd;
    --gl-profile-purple-dark: #5d36d6;
    --gl-profile-orange: #f77737;
    --gl-profile-ink: #20173a;
    --gl-profile-muted: #6a6378;
    --gl-profile-green: #0aa06e;
    font-family: "Nunito", sans-serif;
}
.gl-modal-profile .gl-checkout-profile__card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-areas:
        "avatar identity"
        "avatar stats"
        "avatar stats";
    align-items: center;
    column-gap: 14px;
    row-gap: 8px;
    margin-top: 0;
    padding: 12px;
    border: 1px solid rgba(148, 95, 253, .16);
    border-radius: 18px;
    background: radial-gradient(circle at 8% 0, rgba(148, 95, 253, .10), transparent 34%),
        radial-gradient(circle at 94% 0, rgba(247, 119, 55, .08), transparent 32%),
        linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
    box-shadow: 0 12px 28px rgba(34, 23, 74, .07);
    text-align: left;
    overflow: hidden;
}
.gl-modal-profile .gl-checkout-profile__top {
    display: contents;
}
.gl-modal-profile .gl-checkout-profile__avatar-wrap {
    grid-area: avatar;
    width: 62px;
    height: 62px;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f77737, #e3316b 45%, #945ffd);
    box-shadow: 0 10px 20px rgba(148, 95, 253, .16);
}
.gl-modal-profile .gl-checkout-profile__avatar {
    display: block;
    width: 100%;
    height: 100%;
    border: 3px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: #f4f4fa;
    box-shadow: none;
}
.gl-modal-profile .gl-checkout-profile__identity {
    grid-area: identity;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    align-self: end;
}
.gl-modal-profile .gl-checkout-profile__name {
    display: none;
    color: var(--gl-profile-ink);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gl-modal-profile .gl-checkout-profile__username {
    display: block;
    min-width: 0;
    color: var(--gl-profile-ink);
    font-size: 14px;
    font-weight: 950;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gl-modal-profile .gl-checkout-profile__bio {
    display: none !important;
    max-width: 100%;
    margin-top: 5px;
    color: var(--gl-profile-muted);
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: pre-line;
}
.gl-modal-profile .gl-checkout-profile__badge {
    display: none !important;
}
.gl-modal-profile .gl-checkout-profile__badge[hidden],
.gl-modal-profile .gl-checkout-profile__followers-boost[hidden] {
    display: none !important;
}
.gl-modal-profile .gl-checkout-profile__stats {
    grid-area: stats;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: start;
    gap: 8px;
    margin-top: 0;
}
.gl-modal-profile .gl-checkout-profile__stats div {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
    overflow: hidden;
}
.gl-modal-profile .gl-checkout-profile__stats strong {
    display: block;
    color: var(--gl-profile-ink);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: -.02em;
    line-height: 1.1;
}
.gl-modal-profile .gl-checkout-profile__stats span {
    display: block;
    margin-top: 1px;
    color: var(--gl-profile-muted);
    font-size: 10px;
    font-weight: 850;
    line-height: 1.05;
    text-transform: lowercase;
}
.gl-modal-profile .gl-checkout-profile__actions {
    grid-area: identity;
    display: flex;
    align-self: end;
    justify-content: flex-end;
    margin-top: 0;
    margin-left: auto;
}
.gl-modal-profile .gl-checkout-profile__change-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    min-height: 24px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 95, 253, .10);
    color: var(--gl-profile-purple-dark);
    cursor: pointer;
    font-size: 9.5px;
    font-weight: 900;
    box-shadow: none;
    white-space: nowrap;
}
.post-container {
    margin-top: 14px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .38s ease, transform .38s ease;
}
.post-container.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.title-post-like {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 9px;
    color: #171327;
    font-size: 13px;
    font-weight: 900;
}
.instagram-post-tips {
    color: #ff3366;
    font-style: normal;
    font-size: 12px;
}
.post-list-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}
.pending-ins-posts-morelink {
    display: none;
    margin: 12px 0 0;
    text-align: center;
}
.pending-ins-posts-morelink .load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(148, 95, 253, .18);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(148,95,253,.10), rgba(255,51,102,.08));
    color: #945ffd;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(148, 95, 253, .10);
}
.pending-ins-posts-morelink .load-more.loading {
    opacity: .7;
    pointer-events: none;
}
.img-container {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 13px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, #f4f1fb, #ece8f7);
    box-shadow: inset 0 0 0 1px rgba(148, 95, 253, .08);
    opacity: 0;
    transform: translateY(10px) scale(.97);
    transition: opacity .34s ease var(--gl-post-delay, 0ms), transform .34s ease var(--gl-post-delay, 0ms), box-shadow .2s ease;
}
.img-container.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.img-container img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #eee;
}
.img-container.is-loading::before,
.img-container.is-error::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, #eee9ff 8%, #f8f6ff 18%, #eee9ff 33%);
    background-size: 200% 100%;
    animation: glPhotoShimmer 1.1s linear infinite;
}
.img-container.is-error::after {
    content: "Imagem indisponível";
    position: absolute;
    inset: auto 8px 8px;
    color: #7a6a9d;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}
.img-container .marklove {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid #ff3366;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(148, 95, 253, .72), rgba(255, 51, 102, .72));
    color: #fff;
    opacity: 0;
    transition: opacity .2s ease;
}
.img-container.selected .marklove {
    opacity: 1;
}
.img-container .marklove i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent;
    position: relative;
}
.img-container .marklove i::before {
    content: "✓";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff3366;
    font-weight: 900;
}
.img-container .marklove p {
    margin: 7px 0 0;
    font-weight: 900;
    font-size: 13px;
}
.img-container .marklove.marklove--views {
    border-color: #4f71ff;
    background: linear-gradient(135deg, rgba(79, 113, 255, .76), rgba(148, 95, 253, .72));
}
.img-container .marklove.marklove--views i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,.18);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.2 12s3.6-6.2 9.8-6.2S21.8 12 21.8 12 18.2 18.2 12 18.2 2.2 12 2.2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3.1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26px 26px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.20), 0 8px 18px rgba(28,48,145,.24);
}
.img-container .marklove.marklove--views i::before {
    content: "";
    display: none;
}
.img-container .marklove.marklove--views i::after {
    content: "";
    display: none;
}
.account-btnzone {
    margin-top: 16px;
    text-align: center;
    flex-shrink: 0;
}
.account-btnzone .button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 35px !important;
    background: linear-gradient(90deg, #945ffd, #ff3366);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(148, 95, 253, .28);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, filter .18s ease;
}
.account-btnzone .button:hover:not(.loading):not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(148, 95, 253, .34);
}
.account-btnzone .button:active:not(.loading):not(:disabled) {
    transform: translateY(0);
}
.account-btnzone .button.loading {
    opacity: .94;
    filter: saturate(1.06);
    pointer-events: none;
}
.account-btnzone .button.loading::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .38);
    border-top-color: #fff;
    box-shadow: 0 0 0 4px rgba(255,255,255,.08);
    animation: glModalButtonSpin .72s linear infinite;
}
.account-btnzone .button.loading::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    transform: translateX(-120%);
    animation: glModalButtonSweep 1.1s ease-in-out infinite;
}
.account-btnzone .button:disabled {
    cursor: wait;
}
@media (max-width: 560px) {
    .global-modal-content {
        width: calc(100vw - 14px);
        max-height: calc(100vh - 28px);
        max-height: calc(100dvh - 28px);
        max-height: calc(100svh - 28px);
        padding: 16px 12px max(22px, calc(14px + env(safe-area-inset-bottom, 0px)));
        border-radius: 18px;
        scrollbar-gutter: auto;
    }
    .global-modal-content::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    .post-list-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .img-container {
        border-radius: 10px;
    }
    .img-container .marklove {
        border-radius: 10px;
    }
    .account-modal-title {
        margin-left: 38px;
        margin-right: 38px;
    }
    /* Barra do Safari costuma “comer” o rodapé quando env(safe-area) vem 0 no browser */
    #instagram-canal-modal .account-btnzone {
        padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
    }
}

@keyframes glPhotoShimmer {
    to { background-position-x: -200%; }
}

@keyframes glModalButtonSpin {
    to { transform: rotate(360deg); }
}

@keyframes glCenteredInstagramSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes glInstagramCardShine {
    0% { transform: translateX(-120%); }
    58%, 100% { transform: translateX(120%); }
}

@keyframes glModalButtonSweep {
    to { transform: translateX(120%); }
}

@keyframes glProfileSuccessPulse {
    0% { opacity: .55; transform: scale(.86); }
    100% { opacity: 0; transform: scale(1.35); }
}

@media (prefers-reduced-motion: reduce) {
    .ins-info-container,
    .instagram-profile-success,
    .ins-profile-card,
    .post-container,
    .img-container,
    .account-btnzone .button {
        transition: none !important;
    }
    .account-btnzone .button.loading::before,
    .account-btnzone .button.loading::after,
    .instagram-profile-success__icon::after {
        animation: none !important;
    }
}
