:root {
    --mini-profile-bg: #0b1020;
    --mini-profile-card: #10182b;
    --mini-profile-muted: #9aa4b2;
    --mini-profile-accent: #c084fc;
    --mini-profile-glass: rgba(255, 255, 255, 0.05);
    --mini-profile-radius: 14px;
    --mini-profile-transition: 0.3s ease;
    font-family: Inter, system-ui, sans-serif;
}

/* * {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--mini-profile-bg);
    color: #e6eef6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center
} */

/* overlay */
.mini-profile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100
}

.mini-profile-overlay.active {
    display: flex;
    animation: mini-profile-fadeIn 0.3s
}

@keyframes mini-profile-fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

/* profile card */
.mini-profile-card {
    background: var(--mini-profile-card);
    border-radius: var(--mini-profile-radius);
    width: 360px;
    max-width: 94%;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
    animation: mini-profile-slideUp 0.35s ease
}

@keyframes mini-profile-slideUp {
    from {
        transform: translateY(40px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.mini-profile-banner {
    height: 120px;
    overflow: hidden;
    position: relative
}

.mini-profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.mini-profile-avatar {
    position: absolute;
    top: -32px;
    left: 16px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--mini-profile-card);
    overflow: hidden
}

.mini-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.mini-profile-content {
    padding: 48px 16px 16px 16px;
    position: relative;
}

.mini-profile-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--mini-profile-accent);
    margin: 0
}

.mini-profile-sub {
    font-size: 13px;
    color: var(--mini-profile-muted);
    margin-top: 2px
}

.mini-profile-status {
    margin-top: 8px;
    padding: 6px 10px;
    background: var(--mini-profile-glass);
    border-radius: 10px;
    font-size: 13px;
    display: inline-block
}

.mini-profile-icons {
    margin-top: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.mini-profile-icons span {
    font-size: 18px
}

.mini-profile-info {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.4
}

.mini-profile-info a {
    color: #60a5fa;
    text-decoration: none
}

.mini-profile-playing {
    margin-top: 14px;
    padding: 10px;
    border-radius: 10px;
    background: #1a2235;
    font-size: 13px
}

.mini-profile-playing strong {
    display: block;
    color: #60a5fa
}

.mini-profile-badges {
    margin-top: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.mini-profile-badge {
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--mini-profile-glass);
    font-size: 12px;
    color: #e6eef6
}

.mini-profile-actions {
    margin-top: 16px;
    display: flex;
    gap: 8px
}

.mini-profile-btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    border: none
}

.mini-profile-btn.edit {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    color: #fff
}

/* mobile fullscreen */
@media(max-width:600px) {
    .mini-profile-card {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-width: none;
        animation: mini-profile-slideUpFull 0.35s ease
    }

    @keyframes mini-profile-slideUpFull {
        from {
            transform: translateY(100%);
            opacity: 0
        }

        to {
            transform: translateY(0);
            opacity: 1
        }
    }

    .mini-profile-banner {
        height: 160px
    }

    .mini-profile-content {
        padding: 64px 20px 20px 20px
    }

    .mini-profile-avatar {
        left: 20px;
        width: 100px;
        height: 100px;
        bottom: -40px
    }

    .mini-profile-name {
        font-size: 20px
    }
}