.wt-user-profile-main {
    background:
        radial-gradient(circle at 82% 0, rgba(224, 0, 122, .045), transparent 28rem),
        #f7f7f9;
}

body.wt-user-profile-route:not(.wt-chat-route-active) .btn--publish,
body:not(.wt-chat-route-active):has(.wt-user-profile-main) .btn--publish {
    display: none !important;
}

.wt-user-profile {
    width: 100%;
    color: var(--gray-900);
    font-family: 'DM Sans', sans-serif;
}

.wt-user-profile__hero,
.wt-user-profile__info-card,
.wt-user-profile__feed,
.wt-user-profile__ad-card {
    border: 1px solid var(--gray-200);
    background: var(--white);
    box-shadow: 0 1px 0 rgba(24, 24, 27, .02);
}

.wt-user-profile__hero {
    position: relative;
    z-index: 3;
    overflow: visible;
    border-radius: 18px;
}

.wt-user-profile__cover {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    height: auto;
    overflow: hidden;
    border-radius: 17px 17px 0 0;
    isolation: isolate;
    background:
        linear-gradient(125deg, rgba(255, 255, 255, .94), rgba(255, 237, 246, .88)),
        linear-gradient(135deg, #f5f5f6, #fff);
}

.wt-user-profile__cover.has-image {
    background-image:
        linear-gradient(180deg, rgba(20, 12, 17, .04), rgba(20, 12, 17, .2)),
        var(--profile-cover);
    background-position: center, var(--profile-cover-position, 50% 50%);
    background-size: cover;
}

.wt-user-profile__cover::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(rgba(224, 0, 122, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(224, 0, 122, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    content: '';
    mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.wt-user-profile__cover.has-image::before,
.wt-user-profile__cover.has-image .wt-user-profile__cover-orbit,
.wt-user-profile__cover.has-image .wt-user-profile__cover-mark {
    display: none;
}

.wt-user-profile__cover-orbit {
    position: absolute;
    border: 1px solid rgba(224, 0, 122, .15);
    border-radius: 50%;
}

.wt-user-profile__cover-orbit--one {
    top: -155px;
    right: -70px;
    width: 510px;
    height: 510px;
}

.wt-user-profile__cover-orbit--two {
    top: 34px;
    right: 112px;
    width: 300px;
    height: 300px;
    border-color: rgba(224, 0, 122, .1);
}

.wt-user-profile__cover-mark {
    position: absolute;
    top: 50%;
    right: clamp(64px, 10vw, 150px);
    color: rgba(224, 0, 122, .075);
    font: 800 clamp(7rem, 15vw, 13rem)/1 'Outfit', sans-serif;
    transform: translateY(-50%);
    user-select: none;
}

.wt-user-profile__cover-edit {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 999px;
    background: rgba(24, 24, 27, .72);
    box-shadow: 0 5px 18px rgba(24, 24, 27, .18);
    color: var(--white);
    font: 700 .78rem/1 'DM Sans', sans-serif;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background-color .18s ease, transform .18s ease;
}

.wt-user-profile__cover-edit:hover {
    background: rgba(24, 24, 27, .86);
    transform: translateY(-1px);
}

.wt-user-profile__cover-edit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.wt-user-profile__identity {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 156px minmax(220px, 1fr) auto;
    grid-template-areas:
        "avatar top actions"
        "avatar meta actions";
    align-items: center;
    column-gap: 24px;
    row-gap: 6px;
    padding: 20px 28px 22px;
}

.wt-user-profile__avatar-wrap {
    grid-area: avatar;
    position: relative;
    align-self: center;
    width: 156px;
    height: 156px;
    margin-top: 0;
    padding: 4px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 6px 20px rgba(24, 24, 27, .25);
}

.wt-user-profile__avatar-story {
    width: 100%;
    height: 100%;
}

.wt-user-profile__avatar-story:focus-visible {
    outline: 3px solid rgba(224, 0, 122, .28);
    outline-offset: 5px;
}

.wt-user-profile__avatar {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    object-fit: cover;
}

.wt-user-profile__avatar-edit {
    position: absolute;
    z-index: 3;
    right: 7px;
    bottom: 7px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--gray-900);
    box-shadow: 0 4px 12px rgba(24, 24, 27, .22);
    color: var(--white);
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}

.wt-user-profile__avatar-edit:hover {
    background: var(--fuchsia-600);
    transform: scale(1.04);
}

.wt-user-profile__avatar-edit svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.wt-user-profile__identity-top {
    grid-area: top;
    align-self: end;
    min-width: 0;
}

.wt-user-profile__identity-top h1 {
    overflow: hidden;
    margin: 0;
    color: var(--gray-900);
    font: 700 clamp(1.5rem, 2.3vw, 2.05rem)/1.14 'Outfit', sans-serif;
    letter-spacing: -.015em;
    text-overflow: ellipsis;
}

.wt-user-profile__follow-stats {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    color: var(--gray-600);
    font-size: .88rem;
    line-height: 1.3;
}

.wt-user-profile__follow-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: color .14s ease;
}

.wt-user-profile__follow-stat strong {
    color: var(--gray-900);
    font-weight: 700;
}

.wt-user-profile__follow-stat:hover,
.wt-user-profile__follow-stat:hover strong {
    color: var(--fuchsia-600);
}

.wt-user-profile__stat-sep {
    color: var(--gray-400);
    font-size: .8rem;
}

.wt-user-profile__identity-meta {
    grid-area: meta;
    align-self: start;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.wt-user-profile__bio {
    margin: 2px 0 0;
    color: var(--gray-700);
    font-size: .88rem;
    line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.wt-user-profile__badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.wt-user-profile__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: var(--gray-50, #f8f8fa);
    color: var(--gray-600);
    font: 600 .78rem/1 'DM Sans', sans-serif;
    text-decoration: none;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.wt-user-profile__badge svg {
    display: block;
    width: 15px;
    height: 15px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wt-user-profile__badge span {
    display: block;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wt-user-profile__badge--ad {
    border-color: #f3b8d6;
    background: linear-gradient(135deg, #fff5fa 0%, #ffe6f2 100%);
    color: #ad0054;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 1px 2px rgba(173, 0, 84, .06);
}

.wt-user-profile__badge--ad svg {
    color: #d6006c;
    transform: translateY(-.5px);
}

.wt-user-profile__badge--ad:hover {
    border-color: #e996c0;
    background: linear-gradient(135deg, #ffecf5 0%, #ffd9ec 100%);
    box-shadow: 0 3px 10px rgba(173, 0, 84, .12);
    transform: translateY(-1px);
}

.wt-user-profile__actions {
    grid-area: actions;
    position: relative;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.wt-user-profile__button,
.wt-user-profile__search-field {
    min-height: 40px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
}

.wt-user-profile__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 16px;
    color: var(--gray-800);
    font: 600 .84rem/1 'DM Sans', sans-serif;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}

.wt-user-profile__button svg {
    width: 17px;
    height: 17px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.85;
}

.wt-user-profile__button--primary {
    border-color: var(--gray-900);
    background: var(--gray-900);
    color: var(--white);
}

.wt-user-profile__button:hover:not(:disabled) {
    border-color: var(--gray-300);
    background: var(--gray-50, #f9f9fb);
    transform: translateY(-1px);
}

.wt-user-profile__button--primary:hover:not(:disabled) {
    border-color: var(--fuchsia-600);
    background: var(--fuchsia-600);
    color: var(--white);
}

.wt-user-profile__button--follow {
    border-color: var(--gray-300);
    background: var(--white);
    color: var(--gray-900);
}

.wt-user-profile__button--follow .wt-user-profile__follow-icon-check {
    display: none;
}

.wt-user-profile__button--follow.is-following {
    border-color: #f3c4da;
    background: #fff4f9;
    color: #b80058;
}

.wt-user-profile__button--follow.is-following .wt-user-profile__follow-icon-add {
    display: none;
}

.wt-user-profile__button--follow.is-following .wt-user-profile__follow-icon-check {
    display: block;
}

.wt-user-profile__button--follow.is-following:hover:not(:disabled) {
    border-color: #e69ec0;
    background: #ffe9f3;
}

.wt-user-profile__button--search[aria-expanded="true"] {
    border-color: var(--fuchsia-400);
    background: #fff5fa;
    color: var(--fuchsia-600);
}

.wt-user-profile__button--icon {
    width: 40px;
    min-width: 40px;
    padding: 0;
    color: var(--gray-700);
}

.wt-user-profile__button--icon:hover:not(:disabled) {
    color: var(--fuchsia-600);
}

.wt-user-profile__button:disabled {
    opacity: .65;
    cursor: wait;
}

.wt-user-profile__search-panel {
    position: absolute;
    z-index: 35;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 18px 44px rgba(24, 24, 27, .16);
}

.wt-user-profile__search-panel[hidden] {
    display: none;
}

.wt-user-profile__search-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0 8px 0 12px;
    color: var(--gray-400);
}

.wt-user-profile__search-field svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.wt-user-profile__search-field input,
.wt-user-profile__search-field input:focus,
.wt-user-profile__search-field input:focus-visible {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--gray-800);
    font: 400 .84rem/1 'DM Sans', sans-serif;
    outline: 0 !important;
    box-shadow: none;
}

.wt-user-profile__search-field:focus-within {
    border-color: var(--gray-300);
    color: var(--gray-600);
}

.wt-user-profile__search-close {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: none;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--gray-500);
    cursor: pointer;
}

.wt-user-profile__search-close:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.wt-user-profile__search-close svg {
    width: 15px;
    height: 15px;
}

.wt-user-profile__search-loader {
    width: 15px;
    height: 15px;
    flex: none;
    border: 2px solid var(--gray-200);
    border-top-color: var(--fuchsia-500);
    border-radius: 50%;
    animation: wt-profile-search-spin .65s linear infinite;
    pointer-events: none;
}

.wt-user-profile__search-loader[hidden],
.wt-user-profile__search-results[hidden] {
    display: none;
}

.wt-user-profile__search-results {
    margin-top: 6px;
    max-height: min(360px, 50vh);
    overflow-y: auto;
    padding-top: 4px;
    border-top: 1px solid var(--gray-100);
    color: var(--gray-800);
}

.wt-user-profile__search-results a {
    display: grid;
    gap: 3px;
    padding: 10px 11px;
    border-radius: 9px;
    color: inherit;
    text-decoration: none;
    transition: background-color .14s ease, color .14s ease;
}

.wt-user-profile__search-results a:hover,
.wt-user-profile__search-results a.is-active {
    background: rgba(224, 0, 122, .07);
    color: var(--fuchsia-700);
}

.wt-user-profile__search-results strong,
.wt-user-profile__search-results span,
.wt-user-profile__search-results small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wt-user-profile__search-results strong {
    color: var(--gray-900);
    font: 700 .86rem/1.25 'DM Sans', sans-serif;
}

.wt-user-profile__search-results span {
    color: var(--gray-600);
    font-size: .76rem;
    line-height: 1.35;
}

.wt-user-profile__search-results small {
    color: var(--fuchsia-600);
    font-size: .7rem;
}

.wt-user-profile__search-empty {
    margin: 0;
    padding: 15px 12px;
    color: var(--gray-500);
    font-size: .78rem;
    line-height: 1.4;
    text-align: center;
}

@keyframes wt-profile-search-spin {
    to { transform: rotate(360deg); }
}

.wt-user-profile__tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 28px;
    border-top: 1px solid var(--gray-200);
}

.wt-user-profile__tab-list {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.wt-user-profile__tab-list::-webkit-scrollbar {
    display: none;
}

.wt-user-profile__tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 48px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: var(--gray-600);
    white-space: nowrap;
    cursor: pointer;
    transition: color .15s ease;
}

.wt-user-profile__tab-list .wt-user-profile__tab {
    font: 600 .875rem/1 'DM Sans', sans-serif;
}

.wt-user-profile__tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wt-user-profile__tab-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.wt-user-profile__tab.is-active .wt-user-profile__tab-icon svg {
    stroke-width: 2.1;
}

.wt-user-profile__tab:hover {
    color: var(--gray-900);
}

.wt-user-profile__tab.is-active {
    color: var(--fuchsia-600);
    font-weight: 700;
}

.wt-user-profile__tab.is-active::after {
    position: absolute;
    right: 8px;
    bottom: 0;
    left: 8px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--fuchsia-600);
    content: '';
}

/* Tab states */
.wt-user-profile[data-active-tab="info"] .wt-user-profile__layout {
    grid-template-columns: minmax(0, 1fr);
}

.wt-user-profile[data-active-tab="info"] .wt-user-profile__aside {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.wt-user-profile[data-active-tab="info"] .wt-user-profile__feed {
    display: none;
}

.wt-user-profile[data-active-tab="followers"] .wt-user-profile__layout {
    display: none;
}

/* Followers / Following directory panel */
.wt-user-profile__follows-panel {
    margin-top: 22px;
    padding: 20px 22px 24px;
    border: 1px solid var(--gray-200);
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 1px 0 rgba(24, 24, 27, .02);
}

.wt-user-profile__follows-panel[hidden] {
    display: none;
}

.wt-user-profile__follows-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.wt-user-profile__follows-switcher {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--gray-200);
    border-radius: 11px;
    background: var(--gray-50, #f7f7f9);
    gap: 4px;
}

.wt-user-profile__follows-switcher button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--gray-600);
    font: 600 .84rem/1 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.wt-user-profile__follows-switcher button b {
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--gray-200);
    color: var(--gray-700);
    font-size: .72rem;
    font-weight: 700;
}

.wt-user-profile__follows-switcher button.is-active {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: 0 1px 4px rgba(24, 24, 27, .08);
}

.wt-user-profile__follows-switcher button.is-active b {
    background: rgba(224, 0, 122, .12);
    color: var(--fuchsia-600);
}

.wt-user-profile__follows-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.wt-user-profile__follow-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    transition: border-color .15s ease;
}

.wt-user-profile__follow-card:hover {
    border-color: var(--gray-300);
}

.wt-user-profile__follow-avatar {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
}

.wt-user-profile__follow-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.wt-user-profile__follow-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.wt-user-profile__follow-info strong {
    overflow: hidden;
    color: var(--gray-900);
    font: 700 .9rem/1.25 'DM Sans', sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wt-user-profile__follow-info:hover strong {
    color: var(--fuchsia-600);
}

.wt-user-profile__follow-info span {
    overflow: hidden;
    color: var(--gray-500);
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wt-user-profile__follow-card .wt-user-profile__button {
    min-height: 34px;
    padding: 0 12px;
    font-size: .78rem;
    border-radius: 8px;
}

.wt-user-profile__follows-sentinel {
    height: 1px;
}

.wt-user-profile__follows-status {
    margin: 0;
    color: var(--gray-500);
    font-size: .86rem;
    text-align: center;
}

.wt-user-profile__follows-status:not(:empty) {
    padding: 28px 12px;
}

.wt-user-profile__follows-status--sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0 !important;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.wt-user-profile__follow-card--placeholder {
    pointer-events: none;
    user-select: none;
}

.wt-user-profile__follow-card--placeholder:hover {
    border-color: var(--gray-200);
}

.wt-user-profile__follow-ph {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(135deg, #f1f1f4 0%, #f5ecf1 50%, #f1f1f4 100%);
}

.wt-user-profile__follow-ph::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-110%);
    background: linear-gradient(
        105deg,
        transparent 18%,
        rgba(255, 255, 255, .78) 48%,
        rgba(255, 224, 239, .36) 58%,
        transparent 82%
    );
    animation: wt-follow-ph-shimmer 1.55s cubic-bezier(.4, 0, .2, 1) infinite;
    animation-delay: calc(var(--follow-ph-index, 0) * 85ms);
}

.wt-user-profile__follow-ph--avatar {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.wt-user-profile__follow-ph-info {
    gap: 7px;
}

.wt-user-profile__follow-ph--name {
    width: var(--ph-w, 64%);
    max-width: 180px;
    height: 13px;
}

.wt-user-profile__follow-ph--handle {
    width: var(--ph-w, 40%);
    max-width: 120px;
    height: 10px;
}

.wt-user-profile__follow-ph--btn {
    flex: none;
    width: 80px;
    height: 34px;
    border-radius: 8px;
}

.wt-user-profile__follow-card--reveal {
    animation: wt-follow-card-reveal .22s ease-out both;
    animation-delay: calc(var(--follow-reveal-index, 0) * 28ms);
}

@keyframes wt-follow-ph-shimmer {
    0% {
        transform: translateX(-110%);
    }

    100% {
        transform: translateX(110%);
    }
}

@keyframes wt-follow-card-reveal {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wt-user-profile__follow-ph::after,
    .wt-user-profile__follow-card--reveal {
        animation: none;
    }

    .wt-user-profile__follow-ph::after {
        display: none;
    }
}

.wt-user-profile__follows-footer {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.wt-user-profile__follows-footer button[hidden] {
    display: none;
}

.wt-user-profile__mobile-toolbar {
    display: none;
}

.wt-user-profile__layout {
    display: grid;
    grid-template-columns: minmax(260px, 315px) minmax(0, 1fr);
    align-items: start;
    gap: 22px;
    margin-top: 22px;
}

.wt-user-profile__aside {
    display: grid;
    gap: 14px;
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.wt-user-profile__info-card,
.wt-user-profile__feed,
.wt-user-profile__ad-card {
    border-radius: 15px;
}

.wt-user-profile__info-card {
    padding: 22px;
}

.wt-user-profile__info-card h2,
.wt-user-profile__feed-heading h2 {
    margin: 0;
    color: var(--gray-900);
    font: 700 1.04rem/1.2 'Outfit', sans-serif;
}

.wt-user-profile__info-card dl {
    margin: 15px 0 0;
}

.wt-user-profile__info-card dl > div {
    display: grid;
    gap: 5px;
    padding: 13px 0;
    border-top: 1px solid var(--gray-100);
}

.wt-user-profile__info-card dt {
    color: var(--gray-500);
    font-size: .73rem;
    font-weight: 600;
}

.wt-user-profile__info-card dd {
    overflow-wrap: anywhere;
    color: var(--gray-800);
    font-size: .88rem;
    font-weight: 600;
}

.wt-user-profile__about {
    padding-top: 15px;
    border-top: 1px solid var(--gray-100);
}

.wt-user-profile__about h3 {
    color: var(--gray-700);
    font-size: .76rem;
    font-weight: 700;
}

.wt-user-profile__about p {
    margin-top: 6px;
    color: var(--gray-500);
    font-size: .8rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.wt-user-profile__ad-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: visible;
    padding: 16px;
    border-color: var(--gray-200);
    background: linear-gradient(160deg, #fff9fc 0%, var(--white) 62%);
    color: var(--gray-800);
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

@media (hover: hover) and (pointer: fine) {
    .wt-user-profile__ad-card:hover {
        border-color: #f0bfd6;
        box-shadow: 0 4px 14px rgba(248, 0, 116, .05);
        transform: translateY(-1px);
    }
}

.wt-user-profile__ad-card:focus-visible {
    outline: 2px solid rgba(248, 0, 116, .4);
    outline-offset: 2px;
}

.wt-user-profile__ad-head {
    display: flex;
    align-items: center;
}

.wt-user-profile__ad-badge {
    color: #ad396e;
    font: 700 .66rem/1 'DM Sans', sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.wt-user-profile__ad-stage {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 6px 0 4px;
}

.wt-user-profile__ad-photos {
    position: relative;
    z-index: 0;
    isolation: isolate;
    display: block;
    flex: none;
    width: 100%;
    max-width: 272px;
    height: 168px;
    margin: 0 auto;
    overflow: visible;
}

.wt-user-profile__ad-photos[data-count="1"] {
    width: 128px;
    max-width: 128px;
}

.wt-user-profile__ad-photos[data-count="2"] {
    width: 100%;
    max-width: 214px;
}

.wt-user-profile__ad-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 104px;
    height: 142px;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 11px;
    background: #fff5fa;
    box-shadow: 0 0 0 1px rgba(214, 146, 178, .32);
    transform: translate3d(-50%, -50%, 0);
    transform-origin: 50% 78%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s ease;
}

.wt-user-profile__ad-photos[data-count="1"] .wt-user-profile__ad-photo {
    width: 116px;
    height: 158px;
}

.wt-user-profile__ad-photo:nth-child(1) {
    z-index: 3;
    box-shadow: 0 0 0 1px rgba(248, 0, 116, .22), 0 3px 8px rgba(248, 0, 116, .06);
}

.wt-user-profile__ad-photo img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 9px;
    object-fit: cover;
    object-position: center 26%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: opacity .22s ease;
}

.wt-user-profile__ad-photo:not(:first-child) img {
    opacity: .88;
}

/* 2-card fan */
.wt-user-profile__ad-photos[data-count="2"] .wt-user-profile__ad-photo:nth-child(1) {
    transform: translate3d(-26%, -52%, 0) rotate(3deg);
}

.wt-user-profile__ad-photos[data-count="2"] .wt-user-profile__ad-photo:nth-child(2) {
    z-index: 2;
    transform: translate3d(-76%, -45%, 0) rotate(-6deg) scale(.93);
}

/* 3-card symmetric hand fan */
.wt-user-profile__ad-photos[data-count="3"] .wt-user-profile__ad-photo:nth-child(1) {
    transform: translate3d(-50%, -52%, 0);
}

.wt-user-profile__ad-photos[data-count="3"] .wt-user-profile__ad-photo:nth-child(2) {
    z-index: 2;
    transform: translate3d(-102%, -46%, 0) rotate(-5.5deg) scale(.93);
}

.wt-user-profile__ad-photos[data-count="3"] .wt-user-profile__ad-photo:nth-child(3) {
    z-index: 1;
    transform: translate3d(2%, -46%, 0) rotate(5.5deg) scale(.93);
}

/* Gentle fan spread on hover (desktop pointers only) */
@media (hover: hover) and (pointer: fine) {
    .wt-user-profile__ad-card:hover .wt-user-profile__ad-photo:not(:first-child) img {
        opacity: 1;
    }

    .wt-user-profile__ad-card:hover .wt-user-profile__ad-photos[data-count="1"] .wt-user-profile__ad-photo:nth-child(1) {
        transform: translate3d(-50%, -53%, 0) scale(1.03);
    }

    .wt-user-profile__ad-card:hover .wt-user-profile__ad-photos[data-count="2"] .wt-user-profile__ad-photo:nth-child(1) {
        transform: translate3d(-23%, -54%, 0) rotate(4.5deg) scale(1.02);
    }

    .wt-user-profile__ad-card:hover .wt-user-profile__ad-photos[data-count="2"] .wt-user-profile__ad-photo:nth-child(2) {
        transform: translate3d(-80%, -44%, 0) rotate(-8deg) scale(.93);
    }

    .wt-user-profile__ad-card:hover .wt-user-profile__ad-photos[data-count="3"] .wt-user-profile__ad-photo:nth-child(1) {
        transform: translate3d(-50%, -55%, 0) scale(1.03);
    }

    .wt-user-profile__ad-card:hover .wt-user-profile__ad-photos[data-count="3"] .wt-user-profile__ad-photo:nth-child(2) {
        transform: translate3d(-107%, -45%, 0) rotate(-7.5deg) scale(.93);
    }

    .wt-user-profile__ad-card:hover .wt-user-profile__ad-photos[data-count="3"] .wt-user-profile__ad-photo:nth-child(3) {
        transform: translate3d(7%, -45%, 0) rotate(7.5deg) scale(.93);
    }
}

.wt-user-profile__ad-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin: 4px auto;
    border-radius: 12px;
    background: #fde4ef;
    color: var(--fuchsia-600);
}

.wt-user-profile__ad-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.wt-user-profile__ad-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    color: var(--gray-800);
}

.wt-user-profile__ad-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.wt-user-profile__ad-copy strong {
    overflow: hidden;
    color: var(--gray-900);
    font: 700 .96rem/1.2 'Outfit', sans-serif;
    letter-spacing: -.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .16s ease;
}

.wt-user-profile__ad-card:hover .wt-user-profile__ad-copy strong {
    color: #b80058;
}

.wt-user-profile__ad-location {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 4px;
    color: var(--gray-500);
    font-size: .75rem;
    line-height: 1.3;
}

.wt-user-profile__ad-location svg {
    width: 13px;
    height: 13px;
    flex: none;
    fill: none;
    stroke: var(--fuchsia-600);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.wt-user-profile__ad-location span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wt-user-profile__ad-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 3px;
}

.wt-user-profile__ad-tag {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    overflow: hidden;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(248, 0, 116, .08);
    color: #931350;
    font: 600 .69rem/1.25 'Outfit', sans-serif;
    letter-spacing: .01em;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background-color .16s ease, color .16s ease;
}

.wt-user-profile__ad-card:hover .wt-user-profile__ad-tag {
    background: rgba(248, 0, 116, .12);
    color: #7d0c41;
}

.wt-user-profile__ad-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding-top: 11px;
    border-top: 1px solid #f2e6ec;
    color: var(--fuchsia-600);
    font: 700 .8rem/1 'Outfit', sans-serif;
}

.wt-user-profile__ad-link-arrow {
    display: grid;
    width: 24px;
    height: 24px;
    flex: none;
    place-items: center;
    border-radius: 50%;
    background: #fde8f2;
    color: var(--fuchsia-600);
    transition: background-color .16s ease, color .16s ease, transform .16s ease;
}

.wt-user-profile__ad-link-arrow svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.3;
}

.wt-user-profile__ad-card:hover .wt-user-profile__ad-link-arrow {
    background: var(--fuchsia-600);
    color: var(--white);
    transform: translateX(2px);
}

.wt-user-profile__feed {
    min-width: 0;
    padding: 18px;
}

/* Wall privacy modal */
.wt-social-dialog.wt-user-profile__wall-dialog {
    width: min(460px, calc(100vw - 24px));
    margin: auto;
    padding: 0;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: var(--white);
    color: var(--gray-900);
    box-shadow: 0 24px 60px rgba(24, 24, 27, .22);
    overflow: hidden;
}

.wt-social-dialog.wt-user-profile__wall-dialog::backdrop {
    background: rgba(15, 10, 14, .56);
    backdrop-filter: blur(4px);
}

.wt-social-dialog.wt-user-profile__wall-dialog > .wt-user-profile__wall-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding: 20px 22px 14px;
    border-bottom: 1px solid var(--gray-100);
}

.wt-social-dialog.wt-user-profile__wall-dialog > header h2 {
    margin: 0;
    color: var(--gray-900);
    font: 700 1.08rem/1.25 'Outfit', sans-serif;
}

.wt-social-dialog.wt-user-profile__wall-dialog > header p {
    margin: 4px 0 0;
    color: var(--gray-500);
    font-size: .82rem;
    line-height: 1.45;
}

.wt-social-dialog.wt-user-profile__wall-dialog > header .wt-user-profile__wall-dialog-close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.wt-social-dialog.wt-user-profile__wall-dialog > header .wt-user-profile__wall-dialog-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.wt-user-profile__wall-dialog-close svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
}

.wt-user-profile__wall-form {
    padding: 16px 22px 20px;
}

.wt-wall-policy-options {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.wt-wall-policy-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.wt-wall-policy-option:hover {
    border-color: var(--gray-300);
    background: var(--gray-50, #fafafa);
}

.wt-wall-policy-option:has(input:checked) {
    border-color: var(--fuchsia-500);
    background: #fff6fa;
    box-shadow: 0 0 0 1px rgba(224, 0, 122, .12);
}

.wt-wall-policy-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.wt-wall-policy-option__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 10px;
    background: var(--gray-100);
    color: var(--gray-700);
    transition: background-color .16s ease, color .16s ease;
}

.wt-wall-policy-option:has(input:checked) .wt-wall-policy-option__icon {
    background: rgba(224, 0, 122, .12);
    color: var(--fuchsia-600);
}

.wt-wall-policy-option__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wt-wall-policy-option__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.wt-wall-policy-option__copy strong {
    color: var(--gray-900);
    font: 700 .9rem/1.25 'DM Sans', sans-serif;
}

.wt-wall-policy-option__copy small {
    color: var(--gray-500);
    font-size: .77rem;
    line-height: 1.38;
}

.wt-wall-policy-option__radio {
    width: 18px;
    height: 18px;
    flex: none;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    background: var(--white);
    position: relative;
    transition: border-color .15s ease;
}

.wt-wall-policy-option:has(input:checked) .wt-wall-policy-option__radio {
    border-color: var(--fuchsia-600);
}

.wt-wall-policy-option:has(input:checked) .wt-wall-policy-option__radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--fuchsia-600);
}

.wt-wall-policy-option:has(input:focus-visible) {
    outline: 3px solid rgba(224, 0, 122, .22);
    outline-offset: 2px;
}

.wt-user-profile__wall-dialog-status {
    margin: 10px 0 0;
    min-height: 0;
    color: var(--gray-600);
    font-size: .8rem;
}

.wt-user-profile__wall-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.wt-user-profile__composer {
    margin-bottom: 18px;
}

.wt-user-profile__feed-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 1px 4px 14px;
}

.wt-user-profile__eyebrow {
    margin: 0 0 3px;
    color: var(--fuchsia-600);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.wt-user-profile__search-status {
    min-height: 0;
    margin: 0 4px;
    color: var(--gray-500);
    font-size: .75rem;
}

.wt-user-profile__search-status:not(:empty) {
    min-height: 28px;
    padding-bottom: 10px;
}

.wt-user-profile__confessions {
    display: grid;
    gap: 14px;
}

.wt-user-profile__confessions > .confession[hidden] {
    display: none;
}

.wt-user-profile__empty,
.wt-user-profile__filter-empty,
.wt-user-profile--missing {
    text-align: center;
}

.wt-user-profile__empty,
.wt-user-profile__filter-empty {
    padding: 52px 24px;
    border: 1px dashed var(--gray-300);
    border-radius: 14px;
    background: var(--gray-50);
}

.wt-user-profile__empty > span,
.wt-user-profile__filter-empty > svg {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 13px;
    border-radius: 50%;
    background: var(--white);
    color: var(--fuchsia-500);
    box-shadow: var(--shadow-sm);
}

.wt-user-profile__empty svg,
.wt-user-profile__filter-empty > svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.wt-user-profile__empty h3,
.wt-user-profile__filter-empty h3 {
    margin: 0;
    color: var(--gray-800);
    font: 700 1rem/1.3 'Outfit', sans-serif;
}

.wt-user-profile__empty p,
.wt-user-profile__filter-empty p {
    margin: 5px 0 0;
    color: var(--gray-500);
    font-size: .8rem;
}

.wt-user-profile__empty a {
    display: inline-flex;
    margin-top: 15px;
    padding: 9px 14px;
    border-radius: 9px;
    background: var(--fuchsia-500);
    color: var(--white);
    font-size: .76rem;
    font-weight: 700;
}

.wt-user-profile__filter-empty[hidden] {
    display: none;
}

.wt-user-profile__limit-note {
    margin: 16px 0 0;
    color: var(--gray-400);
    font-size: .72rem;
    text-align: center;
}

.wt-user-profile--missing {
    max-width: 620px;
    margin: 8vh auto 0;
    padding: 64px 30px;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    background: var(--white);
}

.wt-user-profile--missing h1 {
    font: 700 1.7rem/1.2 'Outfit', sans-serif;
}

.wt-user-profile--missing p {
    margin-top: 8px;
    color: var(--gray-500);
}

.wt-user-profile--missing a {
    display: inline-flex;
    margin-top: 20px;
    color: var(--fuchsia-600);
    font-weight: 700;
}

.wt-user-profile :is(a, button):focus-visible {
    outline: 3px solid rgba(224, 0, 122, .22);
    outline-offset: 2px;
}

@media (max-width: 1050px) {
    .wt-user-profile__identity {
        grid-template-columns: 136px minmax(200px, 1fr);
        grid-template-areas:
            "avatar top"
            "avatar meta"
            "actions actions";
        row-gap: 10px;
    }

    .wt-user-profile__avatar-wrap {
        width: 136px;
        height: 136px;
        margin-top: 0;
    }

    .wt-user-profile__actions {
        justify-content: flex-start;
        flex-wrap: wrap;
        padding-top: 4px;
    }

    .wt-user-profile__search-panel {
        right: auto;
        left: 0;
    }

    .wt-user-profile__layout {
        grid-template-columns: 270px minmax(0, 1fr);
    }

    .wt-user-profile__ad-photos {
        width: 100%;
        max-width: 230px;
        height: 144px;
    }

    .wt-user-profile__ad-photos[data-count="1"] {
        width: 112px;
        max-width: 112px;
    }

    .wt-user-profile__ad-photos[data-count="2"] {
        width: 100%;
        max-width: 184px;
    }

    .wt-user-profile__ad-photo {
        width: 88px;
        height: 120px;
        border-radius: 10px;
    }

    .wt-user-profile__ad-photos[data-count="1"] .wt-user-profile__ad-photo {
        width: 100px;
        height: 136px;
    }
}

@media (max-width: 860px) {
    .wt-user-profile__layout {
        grid-template-columns: 1fr;
    }

    .wt-user-profile__aside {
        position: static;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .wt-user-profile__ad-card {
        align-self: stretch;
    }

    .wt-user-profile__ad-photos {
        width: 100%;
        max-width: 252px;
        height: 158px;
    }

    .wt-user-profile__ad-photos[data-count="1"] {
        width: 122px;
        max-width: 122px;
    }

    .wt-user-profile__ad-photos[data-count="2"] {
        width: 100%;
        max-width: 200px;
    }

    .wt-user-profile__ad-photo {
        width: 96px;
        height: 132px;
        border-radius: 11px;
    }

    .wt-user-profile__ad-photos[data-count="1"] .wt-user-profile__ad-photo {
        width: 108px;
        height: 148px;
    }

    .wt-user-profile__follows-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    [data-wt-route-view="user-profile"] .wt-social-nav {
        display: none;
    }

    .wt-user-profile-main {
        background: var(--white);
    }

    .wt-user-profile__hero,
    .wt-user-profile__info-card,
    .wt-user-profile__feed,
    .wt-user-profile__ad-card,
    .wt-user-profile__follows-panel {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .wt-user-profile__hero {
        border-top: 0;
    }

    .wt-user-profile__mobile-toolbar {
        position: absolute;
        z-index: 5;
        top: 12px;
        right: 13px;
        left: 13px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        pointer-events: none;
    }

    .wt-user-profile__mobile-tool {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, .7);
        border-radius: 50%;
        background: rgba(255, 255, 255, .88);
        box-shadow: 0 4px 16px rgba(24, 24, 27, .11);
        color: var(--gray-800);
        cursor: pointer;
        pointer-events: auto;
        backdrop-filter: blur(10px);
    }

    .wt-user-profile__mobile-tool svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2;
    }

    .wt-user-profile__cover {
        width: 100%;
        aspect-ratio: 3 / 1;
        height: auto;
        border-radius: 0;
    }

    .wt-user-profile__cover-edit {
        top: 12px;
        right: 12px;
        bottom: auto;
        min-height: 36px;
        padding: 0 12px;
        font-size: .7rem;
    }

    .wt-user-profile__cover::before {
        background-size: 32px 32px;
    }

    .wt-user-profile__cover-orbit--one {
        top: -80px;
        right: -115px;
        width: 330px;
        height: 330px;
    }

    .wt-user-profile__cover-orbit--two {
        top: 40px;
        right: 28px;
        width: 180px;
        height: 180px;
    }

    .wt-user-profile__cover-mark {
        right: 32px;
        font-size: 5rem;
    }

    /* Mobile wireframe structure: centered avatar -> name & follows -> 3 action buttons -> bio & badge -> tabs */
    .wt-user-profile__identity {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "avatar"
            "top"
            "actions"
            "meta";
        justify-items: center;
        text-align: center;
        column-gap: 0;
        row-gap: 12px;
        padding: 0 16px 18px;
    }

    .wt-user-profile__avatar-wrap {
        width: 108px;
        height: 108px;
        margin-top: -42px;
        padding: 4px;
    }

    .wt-user-profile__avatar-edit {
        right: 4px;
        bottom: 4px;
        width: 34px;
        height: 34px;
        border-width: 2px;
    }

    .wt-user-profile__avatar-edit svg {
        width: 16px;
        height: 16px;
    }

    .wt-user-profile__identity-top {
        width: 100%;
    }

    .wt-user-profile__identity-top h1 {
        font-size: 1.58rem;
    }

    .wt-user-profile__follow-stats {
        justify-content: center;
        margin-top: 5px;
        font-size: .86rem;
    }

    .wt-user-profile__actions {
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 8px;
        padding-top: 2px;
    }

    .wt-user-profile__actions > .wt-user-profile__button {
        flex: 1 1 0;
        min-width: 0;
        min-height: 40px;
        padding: 0 10px;
        font-size: .82rem;
        gap: 6px;
    }

    .wt-user-profile__actions > .wt-user-profile__button--icon {
        flex: 0 0 40px;
        width: 40px;
        padding: 0;
    }

    .wt-user-profile__search-panel {
        left: 0;
        right: 0;
        width: 100%;
    }

    .wt-user-profile__identity-meta {
        width: 100%;
        align-items: center;
        gap: 10px;
        margin-top: 2px;
    }

    .wt-user-profile__bio {
        max-width: 38ch;
        margin: 0;
        font-size: .88rem;
        text-align: center;
    }

    .wt-user-profile__badge-row {
        justify-content: center;
    }

    .wt-user-profile__tabs {
        gap: 0;
        padding: 0 4px;
        border-top-color: var(--gray-100);
        border-bottom: 1px solid var(--gray-200);
    }

    .wt-user-profile__tab-list {
        width: 100%;
        gap: 0;
        overflow-x: visible;
    }

    .wt-user-profile__tab {
        flex: 1 1 0;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        min-height: 50px;
        padding: 6px 6px 7px;
        color: var(--gray-500);
        letter-spacing: 0;
        -webkit-tap-highlight-color: transparent;
    }

    .wt-user-profile__tab-list .wt-user-profile__tab {
        font-size: .75rem;
    }

    .wt-user-profile__tab-icon svg {
        width: 19px;
        height: 19px;
    }

    .wt-user-profile__tab-label {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 1.15;
    }

    .wt-user-profile__tab.is-active::after {
        right: 20%;
        left: 20%;
        height: 2.5px;
        border-radius: 999px;
    }

    .wt-user-profile__follows-panel {
        margin-top: 0;
        border-top: 0;
        padding: 16px 14px 24px;
    }

    .wt-user-profile__follows-switcher {
        width: 100%;
    }

    .wt-user-profile__follows-switcher button {
        flex: 1;
        justify-content: center;
    }

    .wt-user-profile__layout {
        gap: 14px;
        margin-top: 12px;
    }

    .wt-user-profile[data-active-tab="all"] .wt-user-profile__layout {
        margin-top: 0;
    }

    .wt-user-profile[data-active-tab="all"] .wt-user-profile__aside {
        display: none;
    }

    .wt-user-profile__aside {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .wt-user-profile__info-card {
        padding: 19px 20px;
    }

    .wt-user-profile__info-card dl {
        margin-top: 12px;
    }

    .wt-user-profile__info-card dl > div {
        grid-template-columns: 116px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
    }

    .wt-user-profile__ad-card {
        margin: 0 14px;
        padding: 14px 16px;
        border: 1px solid var(--gray-200);
        border-radius: 15px;
    }

    .wt-user-profile__ad-photos {
        width: 100%;
        max-width: clamp(260px, 78vw, 356px);
        height: clamp(152px, 44vw, 198px);
    }

    .wt-user-profile__ad-photos[data-count="1"] {
        width: clamp(110px, 32vw, 144px);
        max-width: 100%;
    }

    .wt-user-profile__ad-photos[data-count="2"] {
        width: 100%;
        max-width: clamp(206px, 62vw, 276px);
    }

    .wt-user-profile__ad-photo,
    .wt-user-profile__ad-photos[data-count="1"] .wt-user-profile__ad-photo {
        width: clamp(96px, 28vw, 128px);
        height: clamp(134px, 39vw, 176px);
        border-radius: 12px;
    }

    .wt-user-profile__ad-photo img {
        border-radius: 10px;
    }

    .wt-user-profile__feed {
        padding: 17px 14px 24px;
    }

    .wt-user-profile__composer {
        margin-bottom: 15px;
    }

    .wt-user-profile__feed-heading {
        padding-right: 2px;
        padding-left: 2px;
    }

}

@media (max-width: 532px) {
    .wt-user-profile__actions > .wt-user-profile__button--search {
        flex: 0 0 40px;
        width: 40px;
        min-width: 40px;
        padding: 0;
        gap: 0;
    }

    .wt-user-profile__button--search > span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wt-user-profile *,
    .wt-user-profile *::before,
    .wt-user-profile *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
