// 星妈Lab页面样式
.xingma-lab-container {
  // min-height: 100vh;
  background-color: #fff;
  position: relative;
  padding-bottom: 200rpx; // 为底部导航留出空间
  overflow: visible;
  // height: 100vh;


  // 第一层：顶部导航
  .top-navigation {
    display: flex;
    // align-items: center;
    // justify-content: space-between;
    height: 165rpx;
    background-color: #ffffff;
    position: sticky;
    z-index: 100;
    top: 0;
    overflow: visible;

    .nav-left {
      width: 60rpx;
      height: 60rpx;

      .back-btn {
        width: 60rpx;
        height: 60rpx;
        margin-top: 88rpx;
        margin-left: 30rpx;
      }
    }

    .nav-center {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;

      .nav-title {
        font-size: 36rpx;
        font-weight: bold;
        margin-top: 68rpx;
        color: #333333;
      }
    }

    .nav-right {
      width: 60rpx;
    }
  }

  // 第二层：内容区域
  .content-area {
    height: 78vh;
    overflow: visible;
    // flex: 1;

    // 藏馆内容 - 单列瀑布流
    .cangguang-content {
      position: relative;
      height: 78vh;
      // overflow: auto;
      // height:1624rpx;
      .banner_content{
        margin-top: 20rpx;
        margin-left: 22.5rpx;
        width: 705rpx;
        height: 151rpx;
        margin-bottom: 20rpx;
        .banner_img{
          border-radius: 16rpx;
          width: 100%;
          height: 100%;
        }
      }
      
      .item_cangguan{
        margin-left: 22rpx;
        width: 707rpx;
        height:auto;
        .item_cangguan_img{
          width: 100%;
          height: auto;
        }
        .item_cangguan_bottom{
          position: absolute;
          margin-top: -104rpx;
          width: 707rpx;
          height: 96rpx;
          .item_cangguan_bottom_bg{
            position: absolute;
            width: 100%;
            height: 96rpx;
            background-color: rgba(178, 124, 30, 0.45);
          }
          .item_logo{
            position: absolute;
            margin-top: 20rpx;
            width: 202rpx;
            height: 52rpx;
            left: 124rpx;
          }
          .title_line{
            position: absolute;
            margin-top: 32rpx;
            width: 1rpx;
            height: 34rpx;
            background-color: #ffffff;
            left: 50%;
            transform: translateX(-50%);
          }

          .nick_name_content{
            position: absolute;
            left: 385rpx;
            width: 200rpx;

            margin-top: 20rpx;
            .nick_name{
              position: absolute;
              font-size: 22rpx;
              font-weight: bold;
              color: #ffffff;
            }
            .user_num{
              margin-top: 30rpx;
              position: absolute;
              font-size: 18rpx;
              color: #ffffff;
            }
          }
        }
        
        .item_cangguan_text{
          width: 707rpx;
          margin-top: 25rpx;
          margin-bottom: 40rpx;
          
          .item_desc{
            font-size: 36rpx;
            color: #000;
            font-weight: 400;
          }
          
          .nicheng_shoucang_zhaungtai{
            position: relative;
            width: 100%;
            height: 48rpx;
            margin-top: 16rpx;
            .nicheng_shoucang_item{
              position: relative;
              width: 100%;
              height: 100%;
              
              .avatar_img{
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 48rpx;
                height: 48rpx;
                border-radius: 50%;
              }
              
              .nick_name_text{
                position: absolute;
                left: 50rpx;
                top: 50%;
                transform: translateY(-50%);
                font-size: 24rpx;
                color: #6f6d67;
                margin-left: 13rpx;
              }
              
              .shoucang_icon{
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 32rpx;
                height: 32rpx;
              }
              
              .shoucang_text{
                position: absolute;
                right: 40rpx;
                top: 50%;
                transform: translateY(-50%);
                font-size: 24rpx;
                color: #6f6d67;
              }
            }
          }
        }
      }
    }

    // 我的藏馆内容
    .wodecangguan-content {
      overflow: visible;
      height: 77.8vh;
      width: 100%;
      .sub-tab-container {
        display: flex;
        background-color: #ffffff;
        border-radius: 16rpx;
        margin-bottom: 20rpx;
        overflow: hidden;
        box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);

        .sub-tab-item {
          flex: 1;
          padding: 24rpx 0;
          text-align: center;
          position: relative;
          transition: all 0.3s ease;

          &.active {
            background-color: #ff6b35;

            .sub-tab-text {
              color: #ffffff;
              font-weight: bold;
            }
          }

          .sub-tab-text {
            font-size: 28rpx;
            color: #666666;
            transition: all 0.3s ease;
          }
        }
      }

      .wodecangpin-content {
        padding-left:12rpx;
        height: 72vh;
        width: 100%;
        overflow: visible;
        .waterfall-list1 {
          position: absolute;
          // display: grid;
          // flex-wrap: wrap;
          // grid-template-columns: 1fr 1fr;
          gap: 12rpx;
          // height: 1624rpx;
          // padding: 0 12rpx;

          height: 72vh;
          width:100%;

          .waterfall-item {
            background-color: #ffffff;
            // border-radius: 16rpx;
            overflow: hidden;
            box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.1);
            position: relative;
            width: 360rpx;
            height: auto;
            transition: transform 0.3s ease, box-shadow 0.3s ease;

            // &:active {
            //   transform: scale(0.98);
            //   box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.15);
            // }

            .item-up-content{
              position: relative;
              width: 100%;
              height: auto;
              .item-image {
                width: 100%;
                height: auto;
                background-color: #f0f0f0;
              }
  
              .item-num {
                position: absolute;
                background-color: #fde0a5;
                width: 212rpx;
                height: 44rpx;
                border-radius: 0rpx 12rpx 0rpx 0rpx;
                bottom: 8rpx;
                left: 0;
                .badge-num {
                  position: absolute;
                  color: #b27c1e;
                  font-size: 24rpx;
                  width: 100%;
                  text-align: center;
                  top: 50%;
                  transform: translateY(-50%);
                  line-height: 1;
                }
              }
              .item-badge {
                position: absolute;
                background-color: #d3a358;
                width: 114rpx;
                height: 48rpx;
                border-radius: 12rpx 0rpx;
                top: 0;
                left: 0;
  
                .badge-text {
                  position: absolute;
                  color: #ffffff;
                  font-size: 24rpx;
                  left: 10rpx;
                  top: 8rpx;
                }
              }
            }

            

            .item-info {
              padding: 16rpx;

              .item-title {
                font-size: 28rpx;
                font-weight: bold;
                color: #333333;
                line-height: 1.4;
                margin-bottom: 12rpx;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
              }

              .item-meta {
                display: flex;
                justify-content: space-between;
                align-items: center;

                .creator-info {
                  display: flex;
                  align-items: center;
                  gap: 6rpx;

                  .creator-name {
                    font-size: 22rpx;
                    color: #666666;
                  }

                  .star-icon {
                    font-size: 18rpx;
                    color: #ffd700;
                  }
                }
              }
            }



          }
        }


      }
    }
  }

  // 底部导航
  .bottom-navigation {
    position: fixed;
    bottom: 0;
    width: 750rpx;
    height: 180rpx;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
    z-index: 100;

    .bottom-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      // cursor: pointer;
      // transition: all 0.3s ease;

      // &:active {
      //   transform: scale(0.95);
      // }

      .bottom-nav-icon {
        width: 100rpx;
        height: 90rpx;
      }
    }

    // 第一个导航项的特殊样式
    .bottom-nav-item1 {
      display: flex;
      flex-direction: column;
      align-items: center;
      // cursor: pointer;
      // transition: all 0.3s ease;

      // &:active {
      //   transform: scale(0.95);
      // }

      .bottom-nav-icon1 {
        width: 100rpx;
        height: 90rpx;
      }
    }

    // 第二个导航项的特殊样式（发布按钮）
    .bottom-nav-item2 {
      margin-top: -100rpx;
      // display: flex;
      // flex-direction: column;
      // align-items: center;
      // cursor: pointer;
      // transition: all 0.3s ease;

      // &:active {
      //   transform: scale(0.95);
      // }

      .publish-icon {
        width: 130rpx;
        height: 152rpx;
      }
    }

    // 第三个导航项的特殊样式
    .bottom-nav-item3 {
      display: flex;
      flex-direction: column;
      align-items: center;
      // cursor: pointer;
      // transition: all 0.3s ease;

      // &:active {
      //   transform: scale(0.95);
      // }

      .bottom-nav-icon3 {
        width: 100rpx;
        height: 90rpx;
      }
    }
  }
}
