/* 通用样式 */
a {
    color: #888;
    text-decoration: none;
  }
body { font-family: '微软雅黑', sans-serif; background: #f8f8f8; margin: 0; }

/* 头部样式 */
.header-bar { background: #00c28e; color: #fff; height: 56px; display: flex; align-items: center; padding: 0 16px; position: sticky; top: 0; z-index: 10; }
.header-bar .back { font-size: 26px; margin-right: 10px; cursor: pointer; }
.header-bar .title { font-size: 20px; font-weight: bold; flex: 1; text-align: center; margin-right: 36px; }
.header-bg { background: #00c28e; padding-bottom: 0; }
.header { color: #fff; padding: 24px 0 12px 0; text-align: center; font-size: 22px; font-weight: bold; letter-spacing: 2px; }

/* 资料4的样式 */
.profile-main { background: #fff; border-radius: 18px; box-shadow: 0 2px 12px #eee; margin: 12px 8px 0 8px; padding: 18px 0 0 0; position: relative; }
.profile-top { display: flex; align-items: center; padding: 0 18px; min-width: 0; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: #ffeaea; border: 3px solid #fff; box-shadow: 0 2px 8px #f3bcbc44; flex-shrink: 0; object-fit: cover; margin-right: 10px; }
.profile-info { margin-left: 10px !important; flex: 1 1 0%; min-width: 0; }
.profile-info-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; flex-wrap: wrap; min-width: 0; padding: 0 8px; }
.profile-id-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-width: 0; }
.profile-id-label { font-size: 16px; font-weight: bold; color: #333; margin-right: 0; }
.profile-id-number { font-size: 16px; color: #333; font-weight: normal; }
.profile-tag-row { display: flex; align-items: center; margin-top: 4px; gap: 8px; }
.profile-nick-block { display: flex; flex-direction: column; align-items: flex-start; min-width: 100px; }
.profile-nick-line { display: flex; align-items: center; white-space: nowrap; }
.profile-nick, .profile-id { font-size: 17px; font-weight: bold; color: #222; margin-right: 2px; }
.profile-cert { margin-top: 2px; background: #00c28e; color: #fff; border-radius: 10px; font-size: 13px; padding: 2px 8px; display: inline-block; }
.profile-cert-meta { display: flex; align-items: center; gap: 14px; }
.profile-cert-meta span { display: flex; align-items: center; gap: 4px; }
.profile-cert-meta svg { width: 16px; height: 16px; }
.profile-cert-meta span:nth-child(1) span, .profile-cert-meta span:nth-child(2) span { font-size: 16px; }
.profile-cert-meta span:nth-child(1) svg { stroke: #ffc107; }
.profile-cert-meta span:nth-child(2) svg { stroke: #f44336; }
.profile-cert-meta span:nth-child(2) circle { fill: #fff; }
.profile-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 1; min-width: 0; max-width: 100%; overflow: hidden; }
.profile-like, .profile-hot { display: flex; align-items: center; font-size: 16px; }
.profile-like .icon-like { color: #ffb300; font-size: 18px; margin-right: 2px; }
.profile-like .like-num { color: #ffb300; font-size: 16px; font-weight: bold; }
.profile-hot .icon-hot { color: #00c28e; font-size: 18px; margin-right: 2px; }
.profile-hot .hot-num { color: #00c28e; font-size: 16px; font-weight: bold; }
.profile-hot .hot-label { color: #00c28e; font-size: 14px; margin-left: 2px; }
.profile-forward { background: #e8f4ff; color: #0099ff; border-radius: 22px; font-size: 18px; font-weight: bold; border: none; padding: 8px 20px; margin-left: auto; cursor: pointer; display: flex; align-items: center; box-shadow: none; white-space: nowrap; transition: background 0.2s; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.profile-forward .icon-forward { font-size: 20px; margin-right: 6px; color: #0099ff; }
.profile-forward:active { background: #d0eaff; }
.profile-btns { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 420px; margin: 18px auto 0 auto; gap: 0; }
.profile-btn.collect { display: flex; flex-direction: column; align-items: center; justify-content: center; border: none; background: none; color: #00c28e; font-size: 15px; font-weight: bold; width: 70px; min-width: 70px; box-shadow: none; padding: 0; }
.profile-btn.collect .star { font-size: 28px; margin-bottom: 2px; color: #00c28e; }
.profile-btn.unlock { display: flex; align-items: center; justify-content: center; border: 2px solid #00c28e; background: #fff; color: #00c28e; border-radius: 24px; font-size: 18px; font-weight: bold; height: 48px; flex: 1; margin: 0 12px; box-shadow: none; gap: 8px; }
.profile-btn.unlock .icon-unlock { font-size: 22px; color: #00c28e; }
.profile-btn.red { background: #00c28e; color: #fff; border: none; border-radius: 24px; font-size: 18px; font-weight: bold; height: 48px; flex: 1; margin-left: 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.profile-btn.red .icon-msg { font-size: 22px; }
.profile-btn.blue { background: #eaf6ff; color: #409eff; border: none; }
.profile-btns .star { color: #00c28e; font-size: 22px; margin-right: 6px; }
.profile-btns .msg { color: #fff; background: #00c28e; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-left: 8px; }
.section { background: #fff; border-radius: 12px; margin: 16px 8px 0 8px; padding: 16px 16px 0 16px; box-shadow: 0 2px 8px #f3bcbc22; }
.section-title { font-weight: bold; font-size: 16px; color: #00c28e; margin-bottom: 10px; display: flex; align-items: center; }
.section-title .tag { background: #ffeaea; color: #00c28e; border-radius: 8px; font-size: 13px; padding: 2px 8px; margin-left: 8px; }
.info-list { list-style: none; padding: 0; margin: 0; font-size: 15px; color: #222; display: flex; flex-wrap: wrap; }
.info-list li { width: 50%; margin-bottom: 8px; }
.info-list li b { font-weight: bold; }
.desc-box { background: #f8f8f8; border-radius: 8px; color: #666; font-size: 14px; padding: 10px 12px; margin: 10px 0 0 0; }
.mate-list { list-style: none; padding: 0; margin: 0; font-size: 15px; color: #222; display: flex; flex-wrap: wrap; }
.mate-list li { width: 50%; margin-bottom: 8px; }
.mate-list li b { font-weight: bold; }
.contact-box { background: none; border-radius: 0; margin: 0 0 0 0; padding: 0; box-shadow: none; display: block; }
.contact-row { display: flex; align-items: center; margin-top: 4px; min-height: 38px; }
.contact-label { font-size: 15px; color: #222; margin-right: 12px; font-weight: 400; line-height: 1.2; }
.contact-btn-pink { background: #ffe0e0; color: #222; border: none; border-radius: 16px; padding: 6px 22px; font-size: 16px; font-weight: bold; cursor: pointer; margin-left: 0; box-shadow: none; line-height: 1.2; }
.group-box { background: #fff; border-radius: 12px; margin: 18px 0 0 0; padding: 0 0 18px 0; box-shadow: none; }
.group-title-bar { display: flex; align-items: center; justify-content: flex-start; padding: 18px 18px 0 18px; }
.group-title-bar .red-bar { width: 4px; height: 22px; background: #00c28e; border-radius: 2px; margin-right: 8px; display: inline-block; }
.group-title-bar .title { margin-right: auto; }
.group-title-bar .more-btn { background: #ffeaea; color: #00c28e; border-radius: 16px; font-size: 15px; padding: 2px 18px; font-weight: bold; border: none; margin-left: 12px; box-shadow: none; }
.group-main { display: flex; align-items: center; padding: 10px 18px 0 18px; }
.group-avatar-wrap { position: relative; width: 54px; height: 54px; margin-right: 12px; }
.group-avatar-grid { width: 54px; height: 54px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 1px; border-radius: 10px; overflow: hidden; }
.group-avatar-grid img { width: 100%; height: 100%; object-fit: cover; }
.group-info { display: flex; align-items: center; }
.group-name { font-size: 16px; color: #222; font-weight: bold; margin-right: 8px; }
.group-label { background: #ffe0a0; color: #b88a00; border-radius: 8px; font-size: 13px; padding: 2px 8px; margin-right: 8px; font-weight: bold; }
.group-join-btn { background: #ffb300; color: #fff; border-radius: 16px; font-size: 15px; font-weight: bold; border: none; padding: 6px 18px; margin-left: 8px; box-shadow: none; cursor: pointer; }
.group-actions { display: flex; gap: 16px; margin: 18px 18px 0 18px; }
.group-action-btn { flex: 1; background: #fafbfc; border: 2px solid #ececec; border-radius: 12px; color: #888; font-size: 16px; font-weight: bold; display: flex; align-items: center; justify-content: center; height: 44px; cursor: pointer; box-shadow: none; }
.group-action-btn .icon { font-size: 22px; margin-right: 6px; }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; box-shadow: 0 -2px 16px #e8e8e8; display: flex; justify-content: space-around; align-items: center; padding: 6px 0 4px 0; z-index: 100; }
.bottom-bar-btn { display: flex; align-items: center; border-radius: 22px; font-size: 15px; font-weight: bold; padding: 0 14px; height: 40px; margin: 0 4px; box-shadow: none; border: none; background: none; cursor: pointer; transition: background 0.2s, color 0.2s; }
.home-btn { flex-direction: column; color: #222; font-size: 13px; padding: 0 4px; height: 40px; min-width: 44px; background: none; box-shadow: none; border: none; align-items: center; justify-content: center; }
.icon-home { font-size: 28px; margin-bottom: 0; color: #222; }
.home-btn .btn-label { font-size: 13px; color: #222; font-weight: normal; margin-top: -2px; }
.msg-btn { border: 2.5px solid #00c28e; color: #00c28e; background: #fff; font-size: 15px; font-weight: bold; display: flex; align-items: center; padding: 0 14px; height: 40px; }
.msg-btn .icon-msg { font-size: 22px; margin-right: 4px; color: #00c28e; }
.contact-btn { background: #00c28e; color: #fff; font-size: 15px; font-weight: bold; display: flex; align-items: center; padding: 0 14px; height: 40px; border: none; margin-left: 4px; }
.contact-btn .icon-phone { font-size: 22px; margin-right: 4px; color: #fff; }
.btn-label { font-size: 15px; font-weight: bold; line-height: 1; }
.profile-badge-row { margin-top: 6px; gap: 8px; }
.ribbon-badge { display: inline-flex; align-items: center; justify-content: center; background: #ff4d6b; color: #fff; font-size: 12px; font-weight: bold; padding: 2px 8px; border-radius: 3px; box-shadow: none; }
.ribbon-badge:before, .ribbon-badge:after { display: none; }
.like-icon { color: #ffb700; font-size: 16px; }
.like-count { color: #ff4d6b; font-weight: bold; font-size: 14px; margin-left: 2px; }
.hot-icon { color: #ff4d6b; font-size: 16px; }
.hot-count { color: #ff4d6b; font-weight: bold; font-size: 14px; margin-left: 2px; }
.profile-status-bar { display: flex; align-items: center; gap: 6px; margin-top: 6px; background: #ff4d6b; border-radius: 4px; padding: 3px 8px; max-width: 170px; }
.profile-status-bar span { color: white; font-size: 13px; font-weight: bold; }
.profile-status-bar .divider { width: 1px; height: 14px; background: rgba(255,255,255,0.3); margin: 0 4px; }
.count { color: white; font-weight: bold; font-size: 13px; margin-left: 2px; }

/* 资料2的样式 */
.main-btns-wrapper { background: #fff; border-radius: 18px; box-shadow: 0 2px 8px #f3bcbc44; margin: 20px 12px 16px 12px; padding: 12px 0; display: flex; justify-content: center; }
.main-btns { display: flex; gap: 12px; margin: 0; }
.main-btn { background: #fff; color: #00c28e; border: 2px solid #00c28e; border-radius: 22px; padding: 10px 36px; font-size: 17px; cursor: pointer; font-weight: bold; box-shadow: none; transition: background 0.2s, color 0.2s; }
.main-btn.active { background: linear-gradient(90deg,#00c28e,#ffb3b3); color: #fff; border: none; }
.card { background: #fff; margin: 12px 12px 0 12px; border-radius: 12px; box-shadow: 0 2px 8px #eee; padding: 16px; position: relative; }
.card-title { font-size: 18px; font-weight: bold; color: #00c28e; display: flex; align-items: center; }
.card-title .badge { background: #00c28e; color: #fff; border-radius: 8px; font-size: 13px; padding: 2px 8px; margin-left: 8px; }
.card-info { font-size: 15px; margin: 8px 0; color: #333; }
.card-desc { color: #666; font-size: 14px; margin: 8px 0; background: #f6f6f6; border-radius: 8px; padding: 8px; }
.card-btns { display: flex; justify-content: space-between; gap: 24px; margin-top: 20px; }
.card-btn { border-radius: 20px; padding: 8px 28px; font-size: 16px; font-weight: bold; cursor: pointer; border: 2px solid #00c28e; min-width: 110px; box-sizing: border-box; }
.card-btn:first-child { background: #fff; color: #00c28e; border: 2px solid #ffb3b3; }
.card-btn:first-child:hover { background: #fff0f0; }
.card-btn:last-child { background: #ff7b7b; color: #fff; border: 2px solid #ff7b7b; }
.card-btn:last-child:hover { background: #00c28e; }

/* 资料1的样式 */
.profile-card { background: #fff; margin: 20px 16px 0 16px; border-radius: 28px; box-shadow: 0 8px 32px #f3bcbc33; padding: 32px 0 24px 0; position: relative; }
.avatar-wrap { position: static; display: flex; flex-direction: column; align-items: center; margin-right: 18px; }
.avatar-edit-btn { margin-top: 8px; background: #ffb3b3; color: #00c28e; border: none; border-radius: 18px; padding: 4px 18px; font-size: 15px; font-weight: bold; box-shadow: 0 1px 4px #f3bcbc22; cursor: pointer; border: none; writing-mode: horizontal-tb; }
.profile-info h2 { margin: 0 0 8px 0; font-size: 24px; font-weight: bold; color: #222; }
.profile-stats-row { display: flex; gap: 0; margin-top: 0; }
.profile-stat { flex: 1; text-align: center; position: relative; }
.profile-stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 25%; height: 50%; width: 1px; background: #eee; }
.profile-stat-num { font-size: 20px; color: #444; font-weight: bold; }
.profile-stat-label { font-size: 15px; color: #bbb; margin-top: 2px; }
.profile-funcs { display: flex; justify-content: space-between; align-items: flex-end; margin: 38px 28px 0 28px; }
.func-item { flex: 1; text-align: center; }
.func-icon { width: 40px; height: 40px; background: #f6f6f6; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 4px auto; font-size: 22px; color: #bbb; }
.func-label { color: #222; font-size: 15px; }
.func-desc { color: #bbb; font-size: 13px; margin-top: 2px; }
.func-progress { display: flex; flex-direction: column; align-items: center; }
.progress-circle { width: 40px; height: 40px; position: relative; }
.progress-svg { transform: rotate(-90deg); }
.progress-text { color: #00c28e; font-size: 15px; font-weight: bold; position: absolute; left: 0; right: 0; top: 10px; text-align: center; }
.func-edit-link { color: #00c28e; font-size: 14px; text-decoration: none; margin-top: 4px; display: block; }
.section-title .edit-link { margin-left: auto; color: #409eff; font-size: 15px; text-decoration: none; }
.btn-row { display: flex; gap: 18px; margin: 28px 28px 0 28px; }
.btn { background: #fff; color: #409eff; border: 1.5px solid #409eff; border-radius: 22px; padding: 12px 0; font-size: 17px; cursor: pointer; width: 48%; font-weight: bold; box-shadow: none; transition: background 0.2s, color 0.2s; }
.btn:last-child { background: #00c28e; color: #fff; border: none; }
.btn:last-child:hover { background: #e64545; }
.btn:first-child:hover { background: #f0f8ff; }

/* 导航栏样式 */
.nav-bar { position: fixed; left: 0; right: 0; bottom: 0; height: 54px; background: #00c28e; border-top: 1px solid #eee; display: flex; justify-content: space-around; align-items: center; z-index: 10; }
.nav-item { text-align: center; color: #888; font-size: 13px; }
.nav-item.active { color: #00c28e; font-weight: bold; }
.nav-icon { display: block; font-size: 22px; margin-bottom: 0px; }
.nav-dot { position: absolute; right: 18px; top: 6px; width: 16px; height: 16px; background: #00c28e; color: #fff; border-radius: 50%; font-size: 12px; display: flex; align-items: center; justify-content: center; } 
.nav-bar a{
  color: #fff;
}