        /* 主容器 */
        #user_name_gui {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 6px 14px 6px 10px;
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-full);
            box-shadow: var(--shadow-sm);
            cursor: default;
            transition: all 0.25s ease;
            font-size: 14px;
            font-weight: 580;
            color: var(--text-primary);
            user-select: none;
        }

        #user_name_gui:hover {
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
            transform: translateY(-1px);
        }

        /* 圆形头像 */
        .avatar-wrapper {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: background 0.3s;
            /* 允许子元素溢出（皇冠会超出圆形） */
            overflow: visible;
        }

        /* 用户图标的外层容器，用于皇冠定位 */
        .user-icon-wrap {
            position: relative;
            /* 皇冠的定位基准 */
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }

        /* 用户图标 */
        .user-icon-wrap i.fa-user {
            font-size: 22px;
            line-height: 1;
        }

        /* 皇冠 —— 相对于 .user-icon-wrap 定位，戴在图标头上 */
        .crown-badge {
            position: absolute;
            top: -13px;
            /* 调整此值使皇冠底部刚好贴在图标头顶 */
            left: 50%;
            transform: translateX(-49%);
            /* 微调水平居中 */
            font-size: 17px;
            color: var(--crown-color);
            filter: drop-shadow(0 2px 5px rgba(251, 191, 36, 0.6));
            line-height: 1;
            pointer-events: none;
        }

        /* 未登录图标 */
        .avatar-wrapper i.fa-sign-in-alt {
            font-size: 20px;
            line-height: 1;
        }

        /* 状态配色 */
        .status-normal .avatar-wrapper {
            background: var(--avatar-bg-normal);
        }

        .status-normal .user-icon-wrap i.fa-user {
            color: var(--icon-color-normal);
        }

        .status-vip .avatar-wrapper {
            background: var(--avatar-bg-vip);
        }

        .status-vip .user-icon-wrap i.fa-user {
            color: var(--icon-color-vip);
        }

        .status-guest .avatar-wrapper {
            background: var(--avatar-bg-guest);
        }

        .status-guest .avatar-wrapper i.fa-sign-in-alt {
            color: var(--icon-color-guest);
        }

        /* 文字 */
        .user-label {
            max-width: 130px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-weight: 510;
            letter-spacing: 0.015em;
        }

        .status-guest .user-label {
            color: var(--text-secondary);
            font-weight: 390;
        }

        /* 小屏适配 */
        @media (max-width: 440px) {
            #user_name_gui {
                padding: 4px 10px 4px 8px;
                font-size: 12px;
            }

            .avatar-wrapper {
                width: 36px;
                height: 36px;
            }

            .user-icon-wrap i.fa-user {
                font-size: 18px;
            }

            .crown-badge {
                font-size: 14px;
                top: -10px;
            }

            .avatar-wrapper i.fa-sign-in-alt {
                font-size: 16px;
            }
        }

