
.uc-wrap { max-width: 1000px; margin: 0 auto; padding-bottom: 60px; background: #f4f5f7; }

.uc-header-bg { background: linear-gradient(135deg, #FF0036, #FF5E62); height: 160px; padding: 20px 20px 0; border-radius: 0 0 20px 20px; color: #fff; position: relative; }

.uc-user-info { display: flex; align-items: center; }

.uc-avatar-wrap { position: relative; width: 72px; height: 72px; margin-right: 15px; cursor: pointer; }

.uc-avatar { width: 100%; height: 100%; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; border: 2px solid rgba(255,255,255,0.6); overflow: hidden; transition: all 0.2s; }

.uc-avatar img { width: 100%; height: 100%; object-fit: cover; }

.uc-avatar:hover { border-color: #fff; transform: scale(1.05); }

.uc-avatar-edit { 

    position: absolute; 

    bottom: -2px; /* 位置上移 */

    right: -4px;  /* 位置右移，更贴合 */

    color: #fff; 

    font-weight: bold; 

    font-size: 10px; /* 字号减小 */

    padding: 1px 6px; /* 内边距减小 */

    border-radius: 8px; /* 圆角减小 */

    white-space: nowrap; 

    box-shadow: 0 1px 3px rgba(0,0,0,0.2); 

    border: 1.5px solid #fff; 

    cursor: pointer; 

    z-index: 10; 

    width: auto !important;

    height: auto !important;

    display: inline-block !important;

    line-height: 1.2;

}

.uc-meta { flex: 1; }

.uc-nickname-row { display: flex; align-items: center; gap: 8px; }

.uc-nickname-row span:first-child { font-size: 20px; font-weight: bold; }

.uc-uid { font-size: 12px; background: rgba(0,0,0,0.15); padding: 2px 6px; border-radius: 4px; }

.uc-mobile { font-size: 13px; opacity: 0.8; margin-top: 4px; }

.uc-edit-btn { background: transparent; border: 1px solid rgba(255,255,255,0.6); color: #fff; padding: 4px 10px; border-radius: 12px; font-size: 12px; cursor: pointer; }



.uc-asset-card { background: #fff; border-radius: 12px; margin: -40px 15px 20px; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); position: relative; z-index: 2; }

.uc-asset-main { display: flex; justify-content: space-between; text-align: center; margin-bottom: 15px; }

.uc-asset-item { flex: 1; }

.uc-asset-item .val { font-size: 28px; font-weight: bold; color: #1F2937; margin-bottom: 4px; }

.uc-asset-item .val.text-red { color: #FF0036; }

.uc-asset-item .lbl { font-size: 13px; color: #6B7280; }

.uc-asset-actions { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #F3F4F6; padding-top: 15px; }

.btn-withdraw { background: #FF0036; color: #fff; border: none; padding: 8px 24px; border-radius: 20px; font-size: 14px; font-weight: bold; cursor: pointer; }

.today-tip { font-size: 12px; color: #F59E0B; }



.uc-grid { display: flex; background: #fff; border-radius: 12px; margin: 0 15px 20px; padding: 20px 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); justify-content: space-around; }

.uc-grid-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #374151; font-size: 13px; }

.uc-grid-item .icon { font-size: 24px; margin-bottom: 8px; width: 44px; height: 44px; background: #F9FAFB; border-radius: 12px; display: flex; align-items: center; justify-content: center; }



.uc-tabs { display: flex; margin: 0 15px 10px; border-bottom: 1px solid #E5E7EB; }

.uc-tab { padding: 10px 20px; font-size: 15px; color: #6B7280; cursor: pointer; position: relative; }

.uc-tab.active { color: #FF0036; font-weight: bold; }

.uc-tab.active::after { content: ''; position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%); width: 20px; height: 3px; background: #FF0036; border-radius: 2px; }



.uc-list-wrap { 

    background: #fff; 

    border-radius: 12px; 

    margin: 0 15px; 

    padding: 10px; 

    min-height: 400px; /* 增加最小高度，防止内容为空时页面高度大幅收缩 */

    position: relative;

}

.uc-table { width: 100%; border-collapse: collapse; text-align: left; }

.uc-table th { padding: 12px 8px; font-size: 13px; color: #9CA3AF; font-weight: normal; border-bottom: 1px solid #F3F4F6; }

.uc-table td { padding: 14px 8px; font-size: 14px; color: #374151; border-bottom: 1px solid #F3F4F6; }

.empty-tip { text-align: center; color: #9CA3AF; padding: 30px !important; font-size: 14px; }



/* 弹窗内表单样式 */

.uc-form-group { margin-bottom: 15px; }

.uc-form-group label { display: block; font-size: 13px; color: #4B5563; margin-bottom: 6px; }

.uc-form-group input { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #D1D5DB; border-radius: 6px; outline: none; font-size: 14px; }

.uc-form-group input:focus { border-color: #FF0036; }


/* 强制覆盖原生输入框样式 */

.uc-form-group input, 

#modal-form-body input { 

    width: 100% !important; 

    box-sizing: border-box !important; 

    padding: 12px !important; 

    border: 1px solid #D1D5DB !important; 

    border-radius: 8px !important; 

    outline: none !important; 

    font-size: 14px !important;

    background: #F9FAFB !important;

    transition: all 0.2s !important;

}

.uc-form-group input:focus,

#modal-form-body input:focus { 

    border-color: #FF0036 !important; 

    background: #FFF !important;

    box-shadow: 0 0 0 3px rgba(255, 0, 54, 0.1) !important;

}




/* 胶囊状态标签 */

.uc-badge {

    display: inline-block;

    padding: 4px 12px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 500;

    text-align: center;

    letter-spacing: 0.5px;

}

.badge-warning { background: #FEF3C7; color: #D97706; }

.badge-success { background: #D1FAE5; color: #059669; }

.badge-primary { background: #DBEAFE; color: #2563EB; }

.badge-danger { background: #FEE2E2; color: #DC2626; }



/* 表格行悬浮美化 */

.uc-table tbody tr {

    transition: background-color 0.2s ease;

}

.uc-table tbody tr:hover {

    background-color: #F9FAFB;

}

/* 表头文字稍微加深，增加层次感 */

.uc-table th {

    font-weight: 600;

    color: #6B7280;

}




/* 防止 Tab 切换时高度塌陷导致的底部闪现 */

.uc-panel {

    min-height: 380px;

}




/* 个人中心局部防抖 (双重保险) */

#app {

    min-height: calc(100vh - 200px);

}

