.profile-page {
  padding-bottom: calc(1.48rem + env(safe-area-inset-bottom));
}

.profile-card {
  display: flex;
  align-items: center;
  height: 1.53rem;
  padding: 0 0.5rem;
  background: var(--surface);
}

.profile-avatar {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  object-fit: contain;
}

.profile-user {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.1rem;
  margin-left: 0.24rem;
}

.profile-nickname,
.profile-phone {
  margin: 0;
  letter-spacing: 0;
  white-space: nowrap;
}

.profile-nickname {
  color: var(--text);
  font-size: 0.4rem;
  font-weight: 600;
  line-height: 0.36rem;
}

.profile-phone {
  color: var(--muted);
  font-size: 0.26rem;
  font-weight: 400;
  line-height: 0.36rem;
}

.profile-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 1.2rem;
  margin-top: 0.24rem;
  padding: 0 0.4rem;
  background: var(--surface);
}

.profile-service-phone {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 0.31rem;
  font-weight: 600;
  line-height: 0.36rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-call {
  width: 2.24rem;
  height: 1rem;
  flex: 0 0 2.24rem;
  margin-left: 0.2rem;
}

.profile-call img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-menu {
  margin-top: 0.24rem;
  background: var(--surface);
}

.profile-menu-item {
  display: flex;
  width: 100%;
  height: 1.2rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.4rem;
  background: var(--surface);
}

.profile-menu-item + .profile-menu-item {
  border-top: 0.01rem solid var(--line);
}

.profile-menu-left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.16rem;
}

.profile-menu-icon {
  width: 0.64rem;
  height: 0.64rem;
  flex: 0 0 0.64rem;
  object-fit: contain;
}

.profile-menu-title {
  color: var(--text);
  font-size: 0.28rem;
  font-weight: 400;
  line-height: 0.36rem;
  white-space: nowrap;
}

.profile-chevron {
  width: 0.18rem;
  height: 0.18rem;
  flex: 0 0 0.18rem;
  margin-right: 0.28rem;
  border-top: 0.04rem solid var(--muted);
  border-right: 0.04rem solid var(--muted);
  transform: rotate(45deg);
}

.tabbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: flex;
  height: calc(1.48rem + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--surface);
}

.tabbar::before {
  content: "";
  position: absolute;
  top: -0.24rem;
  right: 0;
  left: 0;
  height: 0.24rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ebedf7);
}

.tab {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex: 1;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.4rem;
  font-weight: 600;
  line-height: 0.56rem;
  text-align: center;
}

.tab.active {
  color: var(--blue);
}
