.profile-detail__hero {
    background:
        linear-gradient(115deg, rgba(8, 8, 10, 0.92) 12%, rgba(12, 18, 20, 0.72) 48%, rgba(8, 8, 10, 0.9) 100%),
        radial-gradient(ellipse at 72% 38%, rgba(106, 174, 184, 0.2), transparent 55%),
        linear-gradient(145deg, #1a1f20, #0d0d0f);
}

.profile-detail__avatar-mark {
    padding: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.profile-detail__avatar-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-detail__bio {
    margin: 0;
    color: var(--np-table-text);
    font-size: 0.98rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.profile-detail__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: 0.75rem;
}

.profile-detail__stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.65rem;
    background: rgba(0, 0, 0, 0.22);
}

.profile-detail__stat span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--np-muted, #8d9295);
}

.profile-detail__stat strong {
    font-size: 1.05rem;
    color: #fff;
}

.profile-detail__stat.is-accent strong {
    color: var(--np-accent);
}

.profile-detail__rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--np-accent);
}

.profile-detail__rank-badge i {
    font-size: 0.75rem;
}

.profile-detail__filter {
    max-width: 16rem;
    margin-bottom: 1rem;
}

.profile-detail__filter .form-select {
    background-color: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.profile-detail__wallet {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.profile-detail__wallet strong {
    font-size: 1.35rem;
    color: var(--np-accent);
}

.profile-detail__wallet small {
    color: var(--np-muted, #8d9295);
}

.profile-detail__alert {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(188, 31, 36, 0.35);
    background: rgba(188, 31, 36, 0.1);
    color: #fff;
    font-size: 0.9rem;
}

.profile-detail__private {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--np-table-text);
}

.profile-detail__private p {
    margin: 0;
}

.profile-page-shell {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 100%;
    margin-top: 0.25rem;
}

.profile-page-shell__nav {
    flex: 0 0 auto;
    position: sticky;
    top: 5.5rem;
    z-index: 2;
}

.profile-page-shell__main {
    flex: 1;
    min-width: 0;
}

.profile-page-shell .vyzva-detail__layout {
    margin-top: 0;
}

.profile-page-shell nav.profile-nav {
    margin-top: 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.25);
}

.profile-page-shell nav.profile-nav a.profile-link,
.profile-page-shell nav.profile-nav a.profile-link-danger,
.profile-page-shell nav.profile-nav a.profile-link-admin {
    width: 100%;
    max-width: 13.5rem;
    box-sizing: border-box;
}

.profile-bets-section {
    scroll-margin-top: 5.5rem;
}

@media (max-width: 991.98px) {
    .profile-page-shell {
        flex-direction: column;
    }

    .profile-page-shell__nav {
        width: 100%;
        position: static;
    }

    .profile-page-shell nav.profile-nav {
        min-width: 0;
    }

    .profile-page-shell nav.profile-nav a.profile-link,
    .profile-page-shell nav.profile-nav a.profile-link-danger,
    .profile-page-shell nav.profile-nav a.profile-link-admin {
        max-width: none;
    }
}
