.users-restricted {
    text-align: center;
}

.users-quick-actions-card {
    padding: 18px;
}

.users-inline-actions--compact {
    margin-top: 6px;
    gap: 10px;
    grid-template-columns: 1fr;
}

.users-inline-actions--compact .users-button,
.users-inline-actions--compact .users-button--ghost {
    width: 100%;
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 16px;
}

.users-social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(126, 42, 34, 0.34);
    background:
        radial-gradient(circle at top left, rgba(146, 36, 29, 0.14), transparent 38%),
        linear-gradient(135deg, rgba(11, 13, 18, 0.96), rgba(26, 14, 17, 0.92));
    color: #f3e7e2;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.users-social-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 42%);
    pointer-events: none;
}

.users-social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(205, 83, 67, 0.48);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32), 0 0 28px rgba(122, 31, 24, 0.18);
    background:
        radial-gradient(circle at top left, rgba(170, 43, 35, 0.18), transparent 38%),
        linear-gradient(135deg, rgba(14, 16, 22, 0.98), rgba(39, 16, 19, 0.94));
}

.users-social-link__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.users-social-link__label {
    font-weight: 700;
    letter-spacing: 0.03em;
}

.users-social-link__hint {
    color: #a99792;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.users-social-link__icon {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(179, 68, 55, 0.28);
    background: rgba(10, 12, 16, 0.72);
    color: #ffb2a6;
    flex: 0 0 32px;
}

.users-social-link--telegram {
    border-color: rgba(67, 145, 196, 0.34);
}

.users-social-link--telegram .users-social-link__icon {
    color: #8fd8ff;
}

.users-social-link--instagram {
    border-color: rgba(181, 64, 126, 0.34);
}

.users-social-link--instagram .users-social-link__icon {
    color: #ff9fd1;
}

.users-social-link--youtube {
    border-color: rgba(193, 42, 42, 0.34);
}

.users-social-link--youtube .users-social-link__icon {
    color: #ff9c9c;
}

.users-social-link--tiktok {
    border-color: rgba(108, 176, 170, 0.3);
}

.users-social-link--tiktok .users-social-link__icon {
    color: #a4fff2;
}

.users-social-link--vk {
    border-color: rgba(82, 122, 191, 0.34);
}

.users-social-link--vk .users-social-link__icon {
    color: #9bbdff;
}

.users-social-link--whatsapp {
    border-color: rgba(58, 148, 95, 0.34);
}

.users-social-link--whatsapp .users-social-link__icon {
    color: #9ff0bf;
}

.users-public .users-hero__cover {
    min-height: 260px;
    overflow: hidden;
    border-radius: 26px 26px 0 0;
}

.users-public .users-hero {
    overflow: visible;
    border-color: rgba(130, 44, 36, 0.44);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.52),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.users-public .users-avatar--xl {
    overflow: hidden;
    width: 132px;
    height: 132px;
    font-size: 50px;
    border-radius: 34px;
    border: 2px solid rgba(185, 66, 54, 0.6);
    box-shadow:
        2px 3px 0 rgba(255, 255, 255, 0.09) inset,
        0 -2px 0 rgba(0, 0, 0, 0.5) inset,
        0 8px 18px rgba(0, 0, 0, 0.72),
        0 24px 56px rgba(0, 0, 0, 0.58),
        0 0 40px rgba(168, 46, 36, 0.38),
        0 0 0 5px rgba(60, 14, 10, 0.52);
}

.users-public .users-avatar--xl::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.14) 0%,
        transparent 48%,
        rgba(0, 0, 0, 0.18) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.users-public .users-avatar--xl::after {
    display: none;
}

.users-public .users-hero__inner {
    margin-top: -60px;
    gap: 20px;
    padding: 0 28px 28px;
}

.users-public .users-hero__body h1 {
    font-size: clamp(22px, 3.8vw, 38px);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.12;
    color: #fff8f5;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.users-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(190, 68, 54, 0.5), transparent);
    pointer-events: none;
}

.users-public .users-pill--accent {
    background: rgba(148, 110, 24, 0.24);
    border-color: rgba(210, 168, 52, 0.46);
    color: #f2d87a;
}

.users-public .users-public-grid {
    margin-top: 24px;
}

.users-public .users-facts li {
    padding: 11px 0;
    gap: 0;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.users-public .users-facts li:first-child {
    padding-top: 2px;
}

.users-public .users-facts span {
    font-size: 13px;
    letter-spacing: 0.01em;
}

.users-public .users-facts strong {
    font-size: 14px;
    font-weight: 700;
}

.users-public .users-rating strong {
    font-size: 36px;
    letter-spacing: -0.02em;
}

.users-button--fav {
    width: 100%;
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 16px;
    gap: 9px;
    background: linear-gradient(120deg, rgba(11,13,18,0.92), rgba(30,19,22,0.88));
    border: 1px solid rgba(153,52,42,0.35);
    color: #c4b8b5;
    transition: background 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, box-shadow 0.25s ease;
}

.users-button--fav:hover {
    background: linear-gradient(120deg, rgba(20,14,16,0.96), rgba(90,22,18,0.72));
    border-color: rgba(200,50,38,0.55);
    color: #f5efed;
    box-shadow: 0 0 18px rgba(200,40,30,0.18);
}

.users-button--fav-active {
    background: linear-gradient(120deg, rgba(80,16,14,0.72), rgba(140,28,22,0.55));
    border-color: rgba(220,60,46,0.5);
    color: #f87171;
}

.users-button--fav-active:hover {
    background: linear-gradient(120deg, rgba(20,10,10,0.92), rgba(60,14,12,0.88));
    border-color: rgba(180,40,30,0.4);
    color: #fca5a5;
    box-shadow: none;
}

@media (max-width: 920px) {
    .users-public .users-hero__cover {
        min-height: 180px;
    }

    .users-public .users-hero__inner {
        margin-top: -52px;
        padding: 0 16px 20px;
    }

    .users-public .users-avatar--xl {
        width: 108px;
        height: 108px;
        font-size: 42px;
    }
}
