.ci-pulse-public-profile {
    padding: 22px 18px 34px;
    overflow-anchor: auto;
}

.ci-pulse-shell--profile {
    overflow-x: clip;
    overflow-y: visible;
}

@media (max-width: 980px) {
    body.ci-pulse-standalone-page .ci-pulse-shell--profile {
        overflow-y: auto;
    }
}

.ci-pulse-shell--profile .ci-pulse-topbar {
    background: #050507;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.ci-pulse-public-profile-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: 14px 0 24px;
}

.ci-pulse-public-profile-avatar {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: center;
    width: auto;
    height: auto;
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.ci-pulse-public-profile-avatar .ci-pulse-avatar-ring {
    --ci-pulse-avatar-ring-size: 100px;
    --ci-pulse-avatar-ring-width: 3px;
    flex-shrink: 0;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.ci-pulse-public-profile-avatar .ci-pulse-avatar-ring--admin {
    box-shadow: 0 0 12px rgba(176, 57, 148, 0.18);
}

.ci-pulse-public-profile-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ci-pulse-public-profile-main {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.ci-pulse-public-profile-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
}

.ci-pulse-public-profile-name h1 {
    margin: 0;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ci-pulse-public-profile-name .ci-pulse-verified {
    flex: 0 0 auto;
    margin-left: 0;
    transform: none;
}

.ci-pulse-public-profile-name .ci-pulse-svg-icon {
    --ci-pulse-icon-size: 18px;
}

.ci-pulse-public-profile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, max-content));
    gap: 8px 36px;
    align-items: start;
    color: rgba(246, 247, 251, 0.68);
    font-size: 12px;
    font-weight: 720;
    line-height: 1.1;
}

@media (min-width: 992px) {
    .ci-pulse-public-profile-stats {
        gap: 8px 48px;
    }
}

.ci-pulse-public-profile-stats > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-width: 0;
}

.ci-pulse-public-profile-stats strong {
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}

.ci-pulse-public-profile-stat-label {
    display: block;
    max-width: 100%;
    color: rgba(246, 247, 251, 0.68);
    font-size: 12px;
    font-weight: 720;
    line-height: 1.15;
    white-space: nowrap;
}

.ci-pulse-public-profile-bio {
    display: grid;
    gap: 10px;
    max-width: 100%;
}

.ci-pulse-public-profile-bio [hidden] {
    display: none !important;
}

.ci-pulse-public-profile-bio-view {
    display: grid;
    gap: 10px;
}

.ci-pulse-public-profile-bio-text {
    margin: 0;
    color: rgba(246, 247, 251, 0.88);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.ci-pulse-public-profile-bio-empty {
    margin: 0;
    color: rgba(246, 247, 251, 0.52);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
}

.ci-pulse-public-profile-bio-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-height: 30px;
    padding: 0 12px;
    color: rgba(246, 247, 251, 0.9);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 780;
    line-height: 1;
    cursor: pointer;
}

.ci-pulse-public-profile-bio-add:hover,
.ci-pulse-public-profile-bio-add:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.ci-pulse-public-profile-bio-form {
    display: grid;
    gap: 8px;
}

.ci-pulse-public-profile-bio-form textarea {
    width: 100%;
    min-height: 84px;
    padding: 10px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    resize: vertical;
}

.ci-pulse-public-profile-bio-form textarea:focus {
    outline: 2px solid rgba(36, 147, 255, 0.72);
    outline-offset: 1px;
}

.ci-pulse-public-profile-bio-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: rgba(246, 247, 251, 0.56);
    font-size: 12px;
    font-weight: 700;
}

.ci-pulse-public-profile-bio-form-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ci-pulse-public-profile-bio-cancel,
.ci-pulse-public-profile-bio-save {
    min-height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 780;
    cursor: pointer;
}

.ci-pulse-public-profile-bio-cancel {
    color: rgba(246, 247, 251, 0.82);
    background: rgba(255, 255, 255, 0.08);
}

.ci-pulse-public-profile-bio-save {
    color: #ffffff;
    background: #6710c2;
}

.ci-pulse-public-profile-bio-form.is-saving .ci-pulse-public-profile-bio-save {
    opacity: 0.72;
    pointer-events: none;
}

.ci-pulse-public-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.ci-pulse-public-profile-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 780;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

button.ci-pulse-public-profile-edit {
    font: inherit;
}

.ci-pulse-public-profile-edit:hover,
.ci-pulse-public-profile-edit:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.ci-pulse-public-profile-tabs {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 -18px 12px;
    padding: 0 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    scrollbar-width: none;
}

.ci-pulse-public-profile-tabs::-webkit-scrollbar {
    display: none;
}

.ci-pulse-public-profile-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0;
    color: rgba(246, 247, 251, 0.62);
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    font-size: 13px;
    font-weight: 820;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.ci-pulse-public-profile-tabs button.is-active {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.ci-pulse-public-profile-tabs button:focus-visible {
    color: #ffffff;
    outline: 2px solid rgba(36, 147, 255, 0.72);
    outline-offset: 3px;
}

.ci-pulse-public-profile-tabs button b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    color: rgba(246, 247, 251, 0.78);
    background: rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.ci-pulse-public-profile-tabs button.is-active b {
    color: #050507;
    background: #ffffff;
}

.ci-pulse-public-profile-tabs .ci-pulse-svg-icon {
    --ci-pulse-icon-size: 17px;
}

.ci-pulse-public-profile-panel[hidden] {
    display: none !important;
}

.ci-pulse-public-profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.ci-pulse-public-profile-tile {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    color: #ffffff;
    background: #111216;
    border-radius: 8px;
    isolation: isolate;
    text-decoration: none;
    transform: translateZ(0);
}

.ci-pulse-public-profile-tile:hover,
.ci-pulse-public-profile-tile:focus-visible {
    color: #ffffff;
    outline: 2px solid rgba(36, 147, 255, 0.76);
    outline-offset: -2px;
}

.ci-pulse-public-profile-tile img,
.ci-pulse-public-profile-tile video {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ci-pulse-public-profile-tile--text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background:
        linear-gradient(150deg, rgba(36, 147, 255, 0.28), rgba(18, 18, 24, 0.96) 50%, rgba(255, 45, 109, 0.2)),
        #101015;
}

.ci-pulse-public-profile-text {
    position: relative;
    z-index: 2;
    display: -webkit-box;
    overflow: hidden;
    color: rgba(246, 247, 251, 0.92);
    font-size: 14px;
    font-weight: 820;
    line-height: 1.22;
    text-align: left;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
}

.ci-pulse-public-profile-tile--social {
    background: linear-gradient(135deg, #5f55ea 0%, #8f63ff 100%);
}

.ci-pulse-public-profile-tile--social-instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 45%, #fcb045 100%);
}

.ci-pulse-public-profile-tile--social-tiktok {
    background: linear-gradient(135deg, #0f0f10 0%, #25f4ee 52%, #fe2c55 100%);
}

.ci-pulse-public-profile-social {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 14px;
    text-align: center;
}

.ci-pulse-public-profile-social-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.ci-pulse-public-profile-social strong {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.ci-pulse-profile-ads {
    margin: 0 0 18px;
}

.ci-pulse-public-profile-media-icon {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 3;
    display: grid;
    place-items: center;
    color: #ffffff;
    filter: drop-shadow(0 1px 7px rgba(0, 0, 0, 0.7));
}

.ci-pulse-public-profile-media-icon .ci-pulse-svg-icon {
    --ci-pulse-icon-size: 19px;
}

.ci-pulse-public-profile-media-icon .ci-pulse-svg-icon :where(path, rect, circle, line, polyline) {
    fill: none !important;
    stroke: #ffffff !important;
}

.ci-pulse-public-profile-share-icon {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 3;
    display: grid;
    place-items: center;
    color: #ffffff;
    filter: drop-shadow(0 1px 7px rgba(0, 0, 0, 0.7));
}

.ci-pulse-public-profile-share-icon .ci-pulse-svg-icon {
    --ci-pulse-icon-size: 18px;
}

.ci-pulse-public-profile-tile-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 38%, rgba(0, 0, 0, 0.76) 100%);
    pointer-events: none;
}

.ci-pulse-public-profile-tile-views {
    position: absolute;
    right: 9px;
    bottom: 9px;
    left: 9px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 1px 7px rgba(0, 0, 0, 0.82);
}

.ci-pulse-public-profile-tile-views .ci-pulse-svg-icon {
    --ci-pulse-icon-size: 15px;
}

.ci-pulse-public-profile-empty {
    margin-top: 16px;
}

@media (max-width: 767px) {
    .ci-pulse-public-profile {
        padding: 18px 12px calc(96px + env(safe-area-inset-bottom));
    }

    .ci-pulse-public-profile-head {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 16px;
        align-items: start;
        padding-top: 6px;
        padding-bottom: 20px;
    }

    .ci-pulse-public-profile-avatar .ci-pulse-avatar-ring {
        --ci-pulse-avatar-ring-size: 72px;
        --ci-pulse-avatar-ring-width: 2.5px;
    }

    .ci-pulse-public-profile-avatar {
        min-width: 0;
    }

    .ci-pulse-public-profile-name h1 {
        font-size: 20px;
    }

    .ci-pulse-public-profile-name .ci-pulse-svg-icon {
        --ci-pulse-icon-size: 16px;
    }

    .ci-pulse-public-profile-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px 10px;
    }

    .ci-pulse-public-profile-stats strong {
        font-size: 15px;
    }

    .ci-pulse-public-profile-stat-label {
        font-size: 11px;
    }

    .ci-pulse-public-profile-tabs {
        gap: 13px;
        margin-right: -12px;
        margin-left: -12px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .ci-pulse-public-profile-tabs button {
        min-height: 40px;
        gap: 6px;
        font-size: 12px;
    }

    .ci-pulse-public-profile-tabs button b {
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 10px;
    }

    .ci-pulse-public-profile-grid {
        gap: 4px;
    }

    .ci-pulse-public-profile-tile {
        border-radius: 6px;
    }

    .ci-pulse-public-profile-text {
        font-size: 12px;
        -webkit-line-clamp: 6;
    }

    .ci-pulse-public-profile-tile-views {
        right: 7px;
        bottom: 7px;
        left: 7px;
        font-size: 11px;
    }

    .ci-pulse-public-profile-media-icon {
        top: 7px;
        right: 7px;
    }

    .ci-pulse-public-profile-share-icon {
        top: 7px;
        left: 7px;
    }
}
