.detail {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(100%, 0);
  max-width: 960px;
  width: fit-content;
  height: 100%;
  padding: 20px;
  display: flex;
  transition: all 0.5s ease-in-out;
  :global {
    .infoDetailBox {
      width: 100%;
      height: 100%;
      display: flex;
      .infoDetail {
        width: 0;
        min-width: 620px;
        flex: 1;
        height: 100%;
        background: url('../../../assets/img/infoDetailBox.png');
        background-size: 100% 100%;

        .scrollContainner {
          width: 100%;
          height: 96%;
          display: flex;
          flex-direction: column;
          gap: 20px;
          padding: 0 20px;
          margin: 20px 0;
          overflow-y: auto;
          &::-webkit-scrollbar {
            width: 0;
          }
          .title_img {
            width: 50%;
            height: 50px;
            & > img {
              height: 100%;
              object-fit: contain;
            }
          }
          .mainInfo {
            display: flex;
            align-items: center;
            width: 100%;
            height: 205px;
            gap: 16px;
            .right {
              width: 67%;
              height: 100%;
              display: flex;
              flex-direction: column;
              gap: 8px;
              .name {
                display: flex;
                align-items: center;
                gap: 10px;
                .Name {
                  font-weight: 500;
                  font-size: 16px;
                }
                .other {
                  align-self: end;
                }
              }
              .home,
              .sacrifice {
                height: fit-content;
                max-height: 36px;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                line-clamp: 2;
                overflow: hidden;
                text-overflow: ellipsis;
                line-height: 1.4em;
              }
              .tombAddress {
                height: fit-content;
                max-height: 36px;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                line-clamp: 2;
                overflow: hidden;
                text-overflow: ellipsis;
                line-height: 1.4em;
              }
            }
            .left {
              width: 20%;
              height: 100%;
              & > img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                border-radius: 10px;
              }
            }
          }
          .vr {
            width: 100%;
            height: 150px;
            position: relative;
            cursor: pointer;
            & > img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              border-radius: 10px;
            }
            .botvr {
              width: 44px;
              height: 22px;
              object-fit: contain;
              position: absolute;
              right: 5px;
              bottom: 6px;
            }
          }
          .content {
            width: 100%;
            height: fit-content;
            display: flex;
            flex-direction: column;
            gap: 10px;
            border-bottom: 2px dashed #9c543b;
            padding-bottom: 20px;
            .text {
              word-break: break-word;
            }
            .media {
              width: 100%;
              height: fit-content;
              display: flex;
              align-items: center;
              flex-wrap: wrap;
              gap: 3px;
              .videoContainer {
                width: 23%;
                height: 140px;
                position: relative;
                & > video {
                  width: 100%;
                  height: 140px;
                  object-fit: cover;
                  cursor: pointer;
                }
                .videoMask {
                  width: 100%;
                  height: 100%;
                  top: 0;
                  pointer-events: none;
                  position: absolute;
                  transition: all 0.3s ease-in-out;
                  & > img {
                    width: 30px;
                    height: 30px;
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                  }
                }
                &:hover {
                  .videoMask {
                    background-color: rgba(0, 0, 0, 0.5);
                  }
                }
              }
            }
          }
          .relation {
            width: 100%;
            height: fit-content;
            display: flex;
            flex-direction: column;
            gap: 10px;
            .title {
              width: 38%;
              height: 35px;
              & > img {
                width: 100%;
                height: 100%;
                object-fit: contain;
              }
            }
            .relationPic {
              height: 300px;
              width: 100%;
              background: url('../../../assets/img/relationBg.png');
              background-size: 100% 100%;
            }
          }
          .infoLabel {
            width: 100%;
            height: fit-content;
            display: flex;
            flex-direction: column;
            gap: 10px;
            div.title {
              display: flex;
              justify-content: space-between;
              align-items: center;
              width: 100%;
              height: 35px;

              padding: 0 5px;
              .name {
                width: 150px;
                font-size: 20px;
                font-weight: 600;
              }
              .label {
                width: 0;
                flex: 1;
                display: flex;
                align-items: center;
                gap: 5px;
                & > div {
                  width: 85px;
                  height: 25px;
                  text-align: center;
                  line-height: 25px;
                  border-radius: 10px;
                  background: linear-gradient(to bottom, #fcaf80, #b15013);
                  color: #f5eeed;
                  font-size: 11px;
                  font-weight: 600;
                }
              }
            }

            .media {
              width: 100%;
              height: fit-content;
              display: flex;
              align-items: center;
              flex-wrap: wrap;
              gap: 3px;
              video {
                width: 32%;
                height: 70px;
                object-fit: cover;
                cursor: pointer;
              }
            }
          }
        }
      }
      .infoDetailAdd {
        width: 300px;
        height: 65%;
        display: flex;
        justify-content: center;
        background: url('../../../assets/img/infoDetailAdd.png');
        background-size: 100% 100%;
        .scrollContainner {
          width: 100%;
          height: 93%;
          display: flex;
          flex-direction: column;
          gap: 10px;
          padding: 0 20px;
          margin: 10px 0;
          overflow-y: auto;
          &::-webkit-scrollbar {
            width: 0;
          }
          .title1 {
            width: 67%;
            height: 60px;
            & > img {
              width: 100%;
              height: 100%;
              object-fit: contain;
            }
          }
          .modelList {
            width: 100%;
            height: fit-content;
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            .model {
              width: 48%;
              height: 90px;
              display: flex;
              flex-direction: column;
              align-items: center;
              gap: 2px;
              & > img {
                width: 100%;
                height: 70px;
                object-fit: contain;
              }
              .txt {
                width: 100%;
                height: 18px;
                font-size: 13px;
                color: #3d2c14;
                display: flex;
                align-items: center;
                .dot {
                  width: 11px;
                  height: 11px;
                  background: #cb2a0e;
                  border-radius: 50%;
                  margin-right: 5px;
                }
              }
            }
          }
          .title2 {
            width: 67%;
            height: 60px;
            & > img {
              width: 100%;
              height: 100%;
              object-fit: contain;
            }
          }
          .introDetailBox {
            width: 100%;
            height: 100%;
            .ant-timeline-item-head {
              background: #cb2a0e;
              border: none;
              color: #cb2a0e;
            }
            .introDetail {
              display: flex;
              flex-direction: column;
              gap: 6px;
              color: #cb2a0e;
              .year {
                font-size: 18px;
                font-weight: 500;
              }
              & > div > img {
                width: 60%;
                object-fit: contain;
              }
            }
          }
        }
      }
    }

    .noInfoDetail {
      justify-content: end;
      .infoDetailAdd {
        display: none;
      }
    }
  }
}

.modelInfo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  :global {
    .content {
      width: 60%;
      height: 60%;
      background: url('../../../assets/img/modelInfoBg.png');
      background-size: 100% 100%;
      padding: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      & > img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
    .txtBox {
      padding: 20px;
      width: 65%;
      height: 20%;
      color: #fff;
      text-align: center;
      .title {
        font-size: 20px;
        font-weight: 600;
      }
      .txt {
        font-size: 18px;
      }
    }
    .close {
      cursor: pointer;
      position: absolute;
      top: 5%;
      right: 17%;
      width: 40px;
      height: 40px;
      background: url('../../../assets/img/close.png');
      background-size: 100% 100%;
    }
  }
}
