// 星妈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: 90rpx;
      // 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;

    // 藏馆内容 - 单列瀑布流
    .cangguan-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;
            width: 707rpx;
            height: 40rpx;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            display: block;
            max-width: 707rpx;
            word-break: keep-all;
          }
          
          .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%;
                object-fit: contain;
                background-color: #f8f9fa;
              }
              
              .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;
        margin-bottom: 20rpx;
        height: 80rpx;
        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;
          display: flex;
          flex-direction: column;
          align-items: center;
          // justify-content: center;

          &.active {

            .sub-tab-text {
              color: #1d1e25;
              font-weight: bold;
              margin-top: 20rpx;
            }

            .sub-tab-line{
              width: 32rpx;
              height: 6rpx;
              background-color: #d3a358;
              border-radius: 3rpx;
              margin-top: 16rpx;
            }
          }

          .sub-tab-text {
            margin-top: 20rpx;
            font-size: 28rpx;
            color: #a8a8a9;
            // transition: all 0.3s ease;
          }
          .sub-tab-line{
            width: 32rpx;
            height: 6rpx;
            background-color: #fff;
            border-radius: 3rpx;
          }
        }
      }

      .wodecangpin-content {
        // padding-left:12rpx;
        height: 72vh;
        width: 100%;
        overflow: visible;
        .waterfall-list-noval {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          height: 72vh;
          width: 100%;
          
          .noval-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            
            .noval-illustration {
              width: 280rpx;
              height: 240rpx;
              // margin-bottom: 40rpx;
              display: flex;
              align-items: center;
              justify-content: center;
              
              .noval-img {
                width: 280rpx;
                height: 240rpx;
              }
            }
            
            .noval-tip {
              font-size: 28rpx;
              color: #1d1e25;
              text-align: center;
              margin-bottom: 50rpx;
              line-height: 1.4;
            }
            
            .publish-btn {
              background-color: #d3a358;
              border-radius: 49rpx;
              // padding: 20rpx 40rpx;
              box-shadow: 0 4rpx 12rpx rgba(211, 163, 88, 0.3);
              width: 323rpx;
              height: 98rpx;
              display: flex;
              align-items: center;
              justify-content: center;
              .publish-text {
                color: #ffffff;
                font-size: 28rpx;
                // font-weight: bold;
              }
            }
          }
        }

        .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;
                border-radius: 16rpx 16rpx 0rpx 0rpx;
              }
  
              .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: #1d1e25;
                // line-height: 1.4;
                width: 320rpx;
                height: 40rpx;
                margin-bottom: 12rpx;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                display: block;
                max-width: 320rpx;
                word-break: keep-all;
              }

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

                .creator-info {
                  display: flex;
                  align-items: center;
                  gap: 6rpx;
                  .creator-avatar{
                    width: 40rpx;
                    height: 40rpx;
                    border-radius: 50%;
                    object-fit: contain;
                    background-color: #f8f9fa;
                  }

                  .creator-name {
                    font-size: 24rpx;
                    color: #6f6d67;
                  }

                }
              }
            }



          }
        }


      }

      .sub-tab-content{

        // padding-left:12rpx;
        height: 72vh;
        width: 100%;
        overflow: visible;
        .waterfall-list-noval2 {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          height: 72vh;
          width: 100%;
          
          .noval-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            
            .noval-illustration {
              width: 280rpx;
              height: 240rpx;
              // margin-bottom: 40rpx;
              display: flex;
              align-items: center;
              justify-content: center;
              
              .noval-img {
                width: 280rpx;
                height: 240rpx;
              }
            }
            
            .noval-tip {
              font-size: 28rpx;
              color: #1d1e25;
              text-align: center;
              margin-bottom: 50rpx;
              line-height: 1.4;
            }
            
          }
        }

        .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;
                border-radius: 16rpx 16rpx 0rpx 0rpx;
              }
  
              .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: #1d1e25;
                // line-height: 1.4;
                width: 320rpx;
                height: 40rpx;
                margin-bottom: 12rpx;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                display: block;
                max-width: 320rpx;
                word-break: keep-all;
              }

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

                .creator-info {
                  display: flex;
                  align-items: center;
                  gap: 6rpx;
                  .creator-avatar{
                    width: 40rpx;
                    height: 40rpx;
                    border-radius: 50%;
                    object-fit: contain;
                    background-color: #f8f9fa;
                  }

                  .creator-name {
                    font-size: 24rpx;
                    color: #6f6d67;
                  }

                }
              }
            }



          }
        }
      }
    }
  }

  // 底部导航
  .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;
      }
    }
  }
}




.grid-view {
  transition: none !important;
  animation: none !important;
}