/* GHPHouse v2.12.0 profile Premium, Gallery and Exclusive Groups tabs. */
.profile-tabs {
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
}

.profile-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.profile-tab-badge.premium {
    color: #1a1102;
    background: linear-gradient(135deg, #ffe28a, #d8a52d);
    box-shadow: 0 0 18px rgba(230, 185, 68, .22);
}

.profile-tab-badge.gallery {
    background: linear-gradient(135deg, #ff6b91, #c20a43);
}

.profile-tab-badge.groups {
    color: #07140d;
    background: linear-gradient(135deg, #83e7aa, #2fa96c);
    box-shadow: 0 0 18px rgba(57, 193, 116, .2);
}

.profile-content-panel {
    color: #f7f4f5;
}

.profile-content-panel__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 45, 85, .2);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 45, 85, .12), transparent 26rem),
        linear-gradient(145deg, rgba(38, 15, 25, .96), rgba(15, 15, 21, .98));
    box-shadow: 0 22px 48px rgba(0, 0, 0, .28);
}

.profile-content-panel__head > div > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ff8ca5;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.profile-content-panel__head h2 {
    margin: 8px 0 6px;
    color: #fff;
    font-size: clamp(22px, 3vw, 30px);
}

.profile-content-panel__head p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    line-height: 1.55;
}

.profile-content-panel__head > a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 77, 112, .34);
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #b80b38, #ef174d);
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.profile-content-empty {
    min-height: 230px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed rgba(255, 255, 255, .13);
    border-radius: 20px;
    color: rgba(255, 255, 255, .56);
    background: rgba(255, 255, 255, .025);
    text-align: center;
}

.profile-content-empty.compact {
    min-height: 155px;
}

.profile-content-empty > i {
    margin-bottom: 5px;
    color: #ff6d8e;
    font-size: 27px;
}

.profile-content-empty strong {
    color: #fff;
    font-size: 16px;
}

.profile-content-empty span {
    font-size: 12px;
}

.profile-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr));
    gap: 17px;
}

.profile-premium-card {
    overflow: hidden;
    border: 1px solid rgba(230, 185, 68, .18);
    border-radius: 18px;
    background: linear-gradient(180deg, #1b171b, #101116);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .26);
}

.profile-premium-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    display: block;
    overflow: hidden;
    background: radial-gradient(circle at center, #4b1525, #161117 65%);
}

.profile-premium-card__media > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .24s ease;
}

.profile-premium-card:hover .profile-premium-card__media > img {
    transform: scale(1.035);
}

.profile-premium-card__media > span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ff9ab0;
    font-size: 25px;
}

.profile-premium-card__media > em {
    position: absolute;
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    padding: 6px 9px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    border-radius: 999px;
    color: #190f01;
    background: linear-gradient(135deg, #ffe28a, #d8a52d);
    font-size: 9px;
    font-style: normal;
    font-weight: 950;
    letter-spacing: .05em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.profile-premium-card__media > em.is-membership {
    color: #fff;
    background: linear-gradient(135deg, #b80b38, #ef174d);
}

.profile-premium-card__media > small {
    position: absolute;
    right: 9px;
    bottom: 9px;
    padding: 4px 7px;
    border-radius: 7px;
    color: #fff;
    background: rgba(0, 0, 0, .76);
    font-size: 10px;
}

.profile-premium-card__body {
    padding: 14px;
}

.profile-premium-card__body h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}

.profile-premium-card__body h3 a {
    color: #fff;
    text-decoration: none;
}

.profile-premium-card__body p {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .5);
    font-size: 11px;
}

.profile-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 12px;
}

.profile-gallery-item {
    position: relative;
    min-height: 185px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 17px;
    background: #151118;
    color: #fff;
}

.profile-gallery-item:nth-child(7n + 1) {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 382px;
}

.profile-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .25s ease;
}

.profile-gallery-item:hover img {
    transform: scale(1.04);
}

.profile-gallery-item > span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 28px 13px 12px;
    display: grid;
    gap: 3px;
    background: linear-gradient(transparent, rgba(4, 4, 7, .92));
}

.profile-gallery-item small {
    color: #ff8da5;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.profile-gallery-item strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-anchor-target {
    position: relative;
    top: -90px;
}

.profile-group-collection {
    margin-top: 18px;
    padding: 21px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(27, 22, 28, .95), rgba(13, 14, 19, .97));
}

.profile-group-collection__title {
    margin-bottom: 16px;
}

.profile-group-collection__title > div {
    display: flex;
    align-items: center;
    gap: 11px;
}

.profile-group-collection__title > div > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #f5d37a;
    background: rgba(230, 185, 68, .11);
}

.profile-group-collection__title span {
    display: grid;
    gap: 3px;
}

.profile-group-collection__title strong {
    color: #fff;
    font-size: 15px;
}

.profile-group-collection__title small {
    color: rgba(255, 255, 255, .48);
    font-size: 11px;
}

.profile-joined-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
    gap: 13px;
}

.profile-joined-group-card {
    padding: 17px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    border: 1px solid rgba(57, 193, 116, .2);
    border-radius: 16px;
    background: rgba(8, 20, 14, .34);
}

.profile-joined-group-card__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #79dfa2;
    background: rgba(57, 193, 116, .13);
}

.profile-joined-group-card small {
    color: #73d99d;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.profile-joined-group-card h3 {
    margin: 4px 0;
    color: #fff;
    font-size: 15px;
}

.profile-joined-group-card p {
    margin: 0;
    color: rgba(255, 255, 255, .5);
    font-size: 11px;
}

.profile-joined-group-card__footer {
    grid-column: 1 / -1;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.profile-joined-group-card__footer a {
    color: #fff;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
}

.profile-joined-group-card__footer span {
    color: rgba(255, 255, 255, .42);
    font-size: 9px;
}

@media (max-width: 1050px) {
    .profile-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .profile-content-panel__head {
        align-items: flex-start;
        flex-direction: column;
        padding: 19px 16px;
        border-radius: 18px;
    }

    .profile-content-panel__head > a {
        width: 100%;
    }

    .profile-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .profile-gallery-item,
    .profile-gallery-item:nth-child(7n + 1) {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 160px;
    }

    .profile-group-collection {
        padding: 16px 12px;
    }
}

@media (max-width: 430px) {
    .profile-tab {
        min-height: 50px;
        padding-inline: 16px;
        font-size: .76rem;
    }

    .profile-premium-grid {
        grid-template-columns: 1fr;
    }

    .profile-gallery-item,
    .profile-gallery-item:nth-child(7n + 1) {
        min-height: 138px;
    }

    .profile-joined-group-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-gallery-item img,
    .profile-premium-card__media > img {
        transition: none;
    }
}
