/* [2026-08-01] [CSS, Stitch-Bro, Avatar Cyber-HUD Integration, O(1)] - Organized by Gemini */

.avatar-container {
    position: relative;
    overflow: visible !important;
    z-index: 10;
    margin-top: 1rem;
    margin-bottom: 2.2rem;
}

.avatar-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    height: 260px;
    margin-top: -130px;
    margin-left: -130px;
    background: url('../stitch/avatar_hud.svg') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: -1;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}

.avatar-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 168px;
    height: 168px;
    margin-top: -84px;
    margin-left: -84px;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 204, 0.35);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.15), inset 0 0 15px rgba(255, 0, 60, 0.25);
    pointer-events: none;
    z-index: 1;
    transition: all 0.3s ease;
}

.avatar-container:hover::before {
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(0, 255, 204, 0.6)) drop-shadow(0 0 18px rgba(255, 0, 60, 0.45));
}

.avatar-container:hover::after {
    border-color: rgba(255, 0, 60, 0.65);
    box-shadow: 0 0 35px rgba(0, 255, 204, 0.4), inset 0 0 20px rgba(255, 0, 170, 0.45);
    transform: scale(1.02);
}

.cyber-avatar-wrapper {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 2.2rem auto;
    background: url('../stitch/avatar_hud.svg') no-repeat center center;
    background-size: contain;
}

.cyber-avatar-wrapper .avatar-container {
    margin: 0 !important;
    z-index: 2;
}

@media (max-width: 600px) {
    .avatar-container::before {
        width: 220px;
        height: 220px;
        margin-top: -110px;
        margin-left: -110px;
    }
    .avatar-container {
        margin-bottom: 1.5rem;
    }
    .cyber-avatar-wrapper {
        width: 220px;
        height: 220px;
    }
}
