/* 木屿 H5 · 我的（会员空间）—— 忠实移植 profile.wxss（rpx → rem） */

.profile-top {
  position: relative;
  overflow: hidden;
  padding-bottom: 0.64rem;
  border-radius: 0 0 0.44rem 0.44rem;
  background: #20372c;
}

.profile-hero {
  position: relative;
  padding: 0.14rem 0.34rem 0;
}

.hero-orbit {
  position: absolute;
  border: 0.01rem solid rgba(246, 241, 232, 0.095);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit--one {
  top: -2.38rem;
  right: -1.9rem;
  width: 6.1rem;
  height: 6.1rem;
}

.hero-orbit--two {
  top: -0.94rem;
  right: -0.76rem;
  width: 3.56rem;
  height: 3.56rem;
}

.hero-glow {
  position: absolute;
  top: -1.12rem;
  right: -0.56rem;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 164, 119, 0.18) 0%, rgba(183, 164, 119, 0) 68%);
}

.profile-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.avatar-shell {
  position: relative;
  flex: none;
  width: 1.18rem;
  height: 1.18rem;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.18rem;
  height: 1.18rem;
  border: 0.01rem solid rgba(219, 199, 161, 0.45);
  border-radius: 50%;
  background: #f1eadb;
  color: #304237;
  font-size: 0.54rem;
  line-height: 1;
  box-shadow: 0 0.14rem 0.38rem rgba(7, 17, 11, 0.16);
}

.avatar-seal {
  position: absolute;
  right: -0.02rem;
  bottom: -0.02rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.38rem;
  height: 0.38rem;
  border: 0.02rem solid #20372c;
  border-radius: 50%;
  background: #b8a477;
  color: #20372c;
}

.avatar-seal .icon {
  width: 0.22rem;
  height: 0.22rem;
}

.profile-id {
  flex: 1;
  min-width: 0;
  padding-left: 0.24rem;
}

.greeting {
  display: block;
  color: rgba(246, 241, 232, 0.52);
  font-size: 0.19rem;
  letter-spacing: 0.02rem;
  line-height: 1.4;
}

.profile-name {
  display: block;
  margin-top: 0.03rem;
  color: #f8f2e6;
  font-size: 0.45rem;
  font-weight: 400;
  letter-spacing: 0.02rem;
  line-height: 1.25;
}

.profile-meta {
  display: block;
  margin-top: 0.07rem;
  color: rgba(246, 241, 232, 0.52);
  font-size: 0.18rem;
  letter-spacing: 0.005rem;
}

.edit-btn {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  height: 0.54rem;
  padding: 0 0.2rem;
  border: 0.01rem solid rgba(246, 241, 232, 0.16);
  border-radius: 9.99rem;
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.18rem;
  letter-spacing: 0.01rem;
  cursor: pointer;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  margin-top: 0.34rem;
  padding: 0.2rem 0;
  border: 0.01rem solid rgba(246, 241, 232, 0.08);
  border-radius: 0.22rem;
  background: rgba(255, 255, 255, 0.04);
}

.hero-stat {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.hero-stat-num {
  color: #f5ecdc;
  font-size: 0.32rem;
  letter-spacing: 0.01rem;
  line-height: 1;
}

.hero-stat-label {
  margin-top: 0.09rem;
  color: rgba(246, 241, 232, 0.48);
  font-size: 0.16rem;
  letter-spacing: 0.02rem;
}

.hero-stat-divider {
  width: 0.01rem;
  height: 0.28rem;
  background: rgba(246, 241, 232, 0.12);
}

.profile-content {
  position: relative;
  z-index: 4;
  padding: 0 0.24rem calc(2.1rem + env(safe-area-inset-bottom));
}

.member-card {
  position: relative;
  overflow: hidden;
  margin-top: -0.5rem;
  padding: 0.28rem 0.28rem 0.24rem;
  border: 0.01rem solid rgba(168, 138, 88, 0.28);
  border-radius: 0.28rem;
  background: #fbf5e9;
  box-shadow: 0 0.2rem 0.5rem rgba(35, 38, 29, 0.09);
}

.member-card::after {
  position: absolute;
  top: -1.12rem;
  right: -1rem;
  width: 3.1rem;
  height: 3.1rem;
  border: 0.01rem solid rgba(168, 138, 88, 0.13);
  border-radius: 50%;
  content: "";
}

.member-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.member-eyebrow {
  color: #a28b63;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.16rem;
  letter-spacing: 0.04rem;
}

.member-tier {
  display: block;
  margin-top: 0.08rem;
  color: #3a382f;
  font-size: 0.38rem;
  font-weight: 500;
  letter-spacing: 0.01rem;
  line-height: 1.2;
}

.member-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 0.84rem;
  height: 0.84rem;
  border: 0.01rem solid rgba(168, 138, 88, 0.4);
  border-radius: 50%;
  color: #927a4f;
  line-height: 1.3;
  transform: rotate(6deg);
}

.member-seal > span:first-child {
  font-size: 0.2rem;
  letter-spacing: 0.01rem;
}

.member-seal-en {
  font-size: 0.09rem !important;
  letter-spacing: 0.01rem;
}

.member-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.28rem;
  color: #817b6d;
  font-size: 0.17rem;
  letter-spacing: 0.005rem;
}

.member-track {
  overflow: hidden;
  height: 0.05rem;
  margin-top: 0.11rem;
  border-radius: 9.99rem;
  background: rgba(148, 127, 88, 0.15);
}

.member-fill {
  width: 48%;
  height: 100%;
  border-radius: 9.99rem;
  background: linear-gradient(90deg, #b79c6c, #8d7853);
}

.member-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.22rem;
  padding-top: 0.18rem;
  border-top: 0.01rem solid rgba(148, 127, 88, 0.12);
}

.member-note {
  color: #9c917c;
  font-size: 0.16rem;
  letter-spacing: 0.005rem;
}

.benefit-link {
  display: flex;
  align-items: center;
  color: #5b5547;
  font-size: 0.18rem;
  letter-spacing: 0.005rem;
  cursor: pointer;
}

.benefit-link .icon {
  width: 0.2rem;
  height: 0.2rem;
  margin-left: 0.03rem;
}

.profile-order-card {
  margin-top: 0.2rem;
  padding: 0.25rem 0.22rem 0.26rem;
  border: 0.01rem solid rgba(36, 38, 31, 0.06);
  border-radius: 0.28rem;
  background: #fffcf6;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 0.04rem;
}

.card-title {
  display: block;
  color: #30332b;
  font-size: 0.27rem;
  font-weight: 500;
  letter-spacing: 0.005rem;
}

.card-note {
  display: block;
  margin-top: 0.05rem;
  color: #aaa294;
  font-size: 0.16rem;
  letter-spacing: 0.005rem;
}

.card-more {
  display: flex;
  align-items: center;
  padding-top: 0.05rem;
  color: #969083;
  font-size: 0.18rem;
  cursor: pointer;
}

.card-more .icon {
  width: 0.2rem;
  height: 0.2rem;
  margin-left: 0.02rem;
}

.order-grid {
  display: flex;
  align-items: flex-start;
  margin-top: 0.28rem;
}

.order-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.order-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: #eef1e7;
  color: #405446;
}

.order-icon-wrap .icon {
  width: 0.32rem;
  height: 0.32rem;
}

.order-badge {
  position: absolute;
  top: -0.04rem;
  right: -0.02rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0.27rem;
  height: 0.27rem;
  padding: 0 0.06rem;
  border: 0.02rem solid #fffcf6;
  border-radius: 9.99rem;
  background: #b05f40;
  color: #fffaf1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.14rem;
  line-height: 1;
}

.order-label {
  margin-top: 0.12rem;
  color: #696357;
  font-size: 0.19rem;
  letter-spacing: 0.01rem;
}

.collection-section {
  margin-top: 0.34rem;
  padding: 0 0.04rem;
}

.collection-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.collection-item {
  width: calc(33.33% - 0.08rem);
  margin-bottom: 0.18rem;
  cursor: pointer;
}

.collection-media {
  overflow: hidden;
  width: 100%;
  height: 2.1rem;
  border-radius: 0.22rem;
}

.collection-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-name {
  display: block;
  overflow: hidden;
  margin-top: 0.11rem;
  color: #3e4038;
  font-size: 0.21rem;
  letter-spacing: 0.005rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.collection-price {
  display: block;
  margin-top: 0.03rem;
  color: #8e7a5d;
  font-size: 0.2rem;
}

.collection-empty {
  padding: 0.4rem 0;
  color: #a29b8d;
  font-size: 0.21rem;
  letter-spacing: 0.01rem;
}

.service-card {
  margin-top: 0.34rem;
  padding: 0.04rem 0.22rem;
  border: 0.01rem solid rgba(36, 38, 31, 0.06);
  border-radius: 0.28rem;
  background: #fffcf6;
}

.service-row {
  display: flex;
  align-items: center;
  height: 0.98rem;
  border-bottom: 0.01rem solid rgba(36, 38, 31, 0.07);
  cursor: pointer;
}

.service-row:last-child {
  border-bottom: none;
}

.service-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.54rem;
  height: 0.54rem;
  border-radius: 0.16rem;
  background: #f2eee4;
  color: #59634f;
}

.service-icon-wrap .icon {
  width: 0.27rem;
  height: 0.27rem;
}

.service-label {
  flex: 1;
  margin-left: 0.18rem;
  color: #42453c;
  font-size: 0.23rem;
  letter-spacing: 0.005rem;
}

.service-hint {
  color: #aca598;
  font-size: 0.16rem;
  letter-spacing: 0.005rem;
}

.service-arrow {
  width: 0.21rem;
  height: 0.21rem;
  margin-left: 0.09rem;
  color: #b3ac9f;
}

.profile-quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.54rem 0 0.24rem;
}

.quote-mark {
  height: 0.34rem;
  color: #baa77f;
  font-size: 0.52rem;
  line-height: 0.8;
}

.quote-text {
  margin-top: 0.08rem;
  color: #5b594e;
  font-size: 0.3rem;
  letter-spacing: 0.01rem;
  line-height: 1.65;
  text-align: center;
}

.quote-text span {
  display: block;
}

.quote-line {
  width: 0.24rem;
  height: 0.01rem;
  margin: 0.18rem 0 0.12rem;
  background: rgba(36, 38, 31, 0.2);
}

.quote-sign {
  color: #a69b86;
  font-size: 0.15rem;
  letter-spacing: 0.03rem;
}

.profile-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #a29b8d;
  font-size: 0.16rem;
  letter-spacing: 0.01rem;
}

.profile-version {
  margin-top: 0.08rem;
  color: #b9b2a5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.12rem;
  letter-spacing: 0.02rem;
}
