// 750px 设计稿，px 值供 Taro pxtransform 处理
// 独立使用时请在消费方配置 esnextModules: ['@icos-react/chat-mobile']

.welcome {
  padding: 48px 32px 0;
}

.header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(84, 113, 246, 0.35);
}

.greeting {
  font-family: 'PingFang SC', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #131313;
  letter-spacing: -1.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.subtitle {
  font-size: 28px;
  color: #000;
  line-height: 1.6;
  margin: 0 0 60px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;

  &:active {
    opacity: 0.8;
  }
}

.cardIconWrap {
  position: absolute;
  right: 20px;
  top: 32px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cardIconImg {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.cardTitle {
  font-family: 'PingFang SC', sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: #131313;
  letter-spacing: -0.9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cardDesc {
  font-size: 26px;
  color: #979797;
  line-height: 38px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
