/* 我的页面 */

page {
  background: #F7F3ED;
  height: 100vh;
  overflow: hidden;
}

.page-root {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.bg-layer {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: radial-gradient(ellipse at 30% 20%, rgba(201,169,98,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 70%, rgba(201,169,98,0.05) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.main-scroll {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  overflow-y: auto;
  padding-bottom: calc(140rpx + env(safe-area-inset-bottom));
}

.main-content {
  padding: 50rpx 36rpx 0;
}

/* 图标 */
.icon-dark {
  filter: brightness(0) saturate(100%) opacity(0.65);
}
.icon-color {
  filter: none;
}
.icon-size {
  width: 48rpx;
  height: 48rpx;
}
.icon-bg {
  background: rgba(201,169,98,0.08);
  border-radius: 22rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16rpx;
}

/* 头部 */
.hero {
  position: relative;
  margin-bottom: 60rpx;
}
.settings-icon {
  position: absolute;
  top: 0; right: 0;
  width: 56rpx; height: 56rpx;
  display: flex; align-items: center; justify-content: center;
}
.settings-icon .icon-dark {
  width: 44rpx; height: 44rpx;
}
.user-block {
  display: flex;
  align-items: center;
}
.avatar-outside {
  width: 128rpx;
  height: 128rpx;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,169,98,0.12), rgba(201,169,98,0.04));
  padding: 8rpx;
  margin-right: 28rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}
.nickname {
  font-size: 40rpx;
  font-weight: 700;
  color: #1A1A1A;
  display: block;
}
.uid {
  font-size: 26rpx;
  color: #999;
  margin-top: 8rpx;
  display: block;
}
.login-btn {
  margin-top: 36rpx;
  height: 88rpx;
  border-radius: 44rpx;
}

/* 分区 */
.section {
  margin-top: 48rpx;
}
.section-close {
  margin-top: 36rpx;
}

.title-line {
  margin-bottom: 24rpx;
  padding: 14rpx 24rpx;
  line-height: 1.2;
}
.gradient-bg {
  background: linear-gradient(to right, rgba(201,169,98,0.01), rgba(201,169,98,0.10));
}
.title-text {
  font-size: 34rpx;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: 1rpx;
}

/* 毛玻璃容器 */
.frosted-box {
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28rpx;
  padding: 36rpx 20rpx;
  box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.04), inset 0 1rpx 0 rgba(255,255,255,0.8);
  border: 1rpx solid rgba(255,255,255,0.5);
}

/* 订单行 */
.order-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.order-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}
.order-name {
  font-size: 26rpx;
  color: #333;
  margin-top: 14rpx;
  font-weight: 500;
}
.badge {
  position: absolute;
  top: -8rpx;
  right: 10rpx;
  background: #C5615E;
  color: #fff;
  font-size: 20rpx;
  min-width: 34rpx;
  height: 34rpx;
  border-radius: 17rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8rpx;
  font-weight: 600;
}

/* 更多服务 */
.service-row {
  display: flex;
  gap: 60rpx;
  justify-content: flex-start;
  padding: 8rpx 0;
}
.auth-service-row {
  gap: 80rpx;
}
.service-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 110rpx;
}
.service-name {
  font-size: 24rpx;
  color: #333;
  margin-top: 12rpx;
  font-weight: 500;
}
.icon-bg-sm {
  padding: 12rpx;
  border-radius: 18rpx;
}
.icon-size-sm {
  width: 40rpx;
  height: 40rpx;
}
.auth-tag {
  font-size: 20rpx;
  color: #bbb;
  margin-top: 4rpx;
}
.auth-tag-done {
  color: #C9A962;
  font-weight: 500;
}

/* 清除缓存 */
.clear-row {
  display: flex;
  align-items: center;
  padding: 20rpx 0;
}
.clear-word {
  flex: 1;
  font-size: 28rpx;
  color: #333;
  margin-left: 16rpx;
  font-weight: 500;
}
.arrow-right {
  width: 32rpx;
  height: 32rpx;
  opacity: 0.35;
  margin-left: 12rpx;
}

/* 底部 */
.footer {
  margin-top: 80rpx;
  padding-bottom: 20rpx;
  text-align: center;
  font-size: 24rpx;
  color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer .divider {
  margin: 0 12rpx;
  height: auto;
  background: none;
}
.coop {
  color: #C9A962;
  font-weight: 500;
}
