* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "微软雅黑", sans-serif;
}

body {
  background-image: url('../image/user/user-back.png');
  background-repeat: no-repeat; /* 不重复平铺 */
  background-size: 100% 45%; /* 修改：水平自动伸缩，垂直填满 */
  background-color: #fff; /* 白色填充 */
  min-height: 100vh;
  padding-bottom: 60px; /* 给底部导航留空间 */
}

/* 顶部导航（和活动页保持一致） */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  color: #fff;
  font-size: 18px;
}
.header-close, .header-more {
  font-size: 22px;
  cursor: pointer;
}
.header-title {
  font-weight: 600;
}

/* 登录/注册区域 */
.user-login {
  display: flex;
  align-items: center;
  padding: 20px;
  margin: 15px;
}

.login-avatar {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.login-avatar .icon-user {
  font-size: 30px;
}

/* 头像图片样式 */
    .avatar-image {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
    }

.login-info {
  flex: 1;
}

.login-text {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 10px 0;
}

/* 开通会员横幅 */
.member-banner {
  background: linear-gradient(283deg, #FAE6C7 1%, #FFF8E0 97%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  margin: 0 15px 0px 15px; 
  border-radius: 10px;
  height: 60px;
}
.icon-vip {
  color: #ffc107;
  font-size: 18px;
  margin-right: 8px;
}
.banner-text {
  margin-left: 5px;
  font-size: 14px;
  color: #774500;
  flex: 1;
}
.vip-member-btn {
  margin-left: 15px;
  background: #E8AF27;
  border: none;
  border-radius: 5px;
  font-size: 12px;
  color: #ffffff;
  height: 20px;
  width: 60px;
}
.member-btn {
  background: linear-gradient(107deg, #F7E6AB 10%, #E8AF27 94%);
  border: none;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 14px;
  color: #774500;
  cursor: pointer;
  height: 30px;
  width: 90px;
}
.vip-icon-image {
  width: 20px;
  height: 20px;
}

/* 记录列表 */
.record-list {
  background: #fff;
  margin: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.record-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #f5f5f5;
}
.record-item:last-child {
  border-bottom: none;
}
.item-icon {
  font-size: 24px;
  width: 24px;
  height: 24px;
  margin-right: 10px;
}
.icon-answer { color: #4caf50; }
.icon-win { color: #ffc107; }
.icon-writeoff { color: #e91e63; }
.icon-answer::before { content: url('../image/user/answer-record.png'); }
.icon-win::before { content: url('../image/user/zhongjiang-record.png');}
.icon-writeoff::before { content: url('../image/user/hexiao-record.png');; }
.item-text {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.8);
  flex: 1;
  font-weight: normal;
}
.icon-arrow::before { content: url('../image/user/user-jiantou.png'); }

/* 底部导航（和活动页保持一致，“我的”选中） */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}
.nav-item {
  width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #666;
  text-decoration: none;
  font-size: 12px;
}
.nav-item.active {
  color: #00c9b7;
}
.nav-item span:first-child {
  font-size: 20px;
  margin-bottom: 3px;
}