.painting-content {
  position: relative;
  background: url("../images/vip/vip-bg.png") no-repeat #F0F5FD;
  background-size: 100% 10rem;
  padding: 0.5rem 0 0.5rem;
}

.search-section {
  position: relative;
  display: flex;
  align-items: center;
}
.search-section .search-input {
  width: 100%;
  height: 0.8rem;
  border-radius: 0.125rem;
  border: 0.025rem solid #C5CBCF;
  padding: 0 1.875rem 0 0.25rem;
  font-size: 0.25rem;
  color: #333;
}
.search-section .search-input:focus {
  border-color: #007DFF;
  outline: none;
}
.search-section .search-input::placeholder {
  font-size: 0.2rem;
  color: #B8B8B8;
}
.search-section .search-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 1.625rem;
  height: 0.8rem;
  background: #007DFF;
  border-radius: 0rem 0.125rem 0.125rem 0rem;
  font-size: 0.25rem;
  color: #FFFFFF;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0.3rem -0.1rem 0;
}
.tag-list .tag-item {
  min-width: 0.9rem;
  height: 0.325rem;
  background: #FFFFFF;
  border-radius: 0.05rem;
  border: 0.0125rem solid #DEDEDE;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.1625rem;
  color: #999999;
  padding: 0.125rem;
  margin: 0.1rem;
}
.tag-list .tag-item.active {
  border-color: #007DFF;
  color: #007DFF;
}

.template-list {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.15rem;
}
.template-list .template-column {
  flex: 1;
}
.template-list .template-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 0.15rem;
  overflow: hidden;
  cursor: pointer;
  border-radius: 0.125rem;
}
.template-list .template-item .template-content {
  position: relative;
  background-color: #ccc;
}
.template-list .template-item .template-content .template-image {
  display: block;
  width: 100%;
  min-height: 2.5rem;
}
.template-list .template-item .template-content .template-mask {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  padding: 0.25rem 0.2rem;
  background: linear-gradient(180deg, rgba(250, 192, 141, 0) 0%, rgba(115, 85, 62, 0.6) 47%, #190D08 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.template-list .template-item .template-content .template-mask .template-title {
  font-size: 0.175rem;
  color: #fff;
  max-width: 1.5rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.template-list .template-item .template-content .template-mask .data-count {
  display: flex;
  align-items: center;
}
.template-list .template-item .template-content .template-mask .data-count .count-item {
  position: relative;
  font-size: 0.175rem;
  color: #FFFFFF;
  padding: 0.125rem;
}
.template-list .template-item .template-content .template-mask .data-count .count-item::before {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 0.0125rem;
  height: 0.125rem;
  background-color: rgba(255, 255, 255, 0.5);
}
.template-list .template-item .template-content .template-mask .data-count .count-item:last-child {
  padding-right: 0;
}
.template-list .template-item .template-content .template-mask .data-count .count-item:last-child::before {
  display: none;
}
.template-list .template-item .template-info {
  width: 100%;
  height: 0;
  transition: all 0.3s ease;
  background: linear-gradient(0deg, #190D08 0%, #190D08 100%);
  overflow: hidden;
}
.template-list .template-item .template-info .info-warp {
  padding: 0 0.2rem 0.275rem;
}
.template-list .template-item .template-info .template-title {
  font-size: 0.175rem;
  color: #C9C9C9;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.template-list .template-item .template-info .button-group {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-top: 0.3rem;
}
.template-list .template-item .template-info .button-group .button {
  flex: 1;
  height: 0.4rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.05rem;
  border: 0.0125rem solid rgba(255, 255, 255, 0.4);
  font-size: 0.1625rem;
  color: #B9B9B9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
}
.template-list .template-item .template-info .button-group .button:nth-child(2) {
  max-width: 1.375rem;
}
.template-list .template-item:hover .template-info {
  height: 1.25rem;
}

.ai-painting-layer {
  border-radius: 0.3rem;
  max-height: 90vh;
}
.ai-painting-layer .layui-layer-content {
  width: 100% !important;
  height: 100% !important;
}

.detail-layer-content {
  width: 100%;
  height: 100%;
}

.detail-container {
  width: 100%;
  height: 100%;
  display: flex;
  padding: 0.8rem;
}
.detail-container .preview-warp {
  flex: 1;
  height: 100%;
}
.detail-container .preview-warp .preview-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.3rem;
}
.detail-container .info-warp {
  position: relative;
  width: 3.75rem;
  height: 100%;
  flex-shrink: 1;
}
.detail-container .info-warp .user-info {
  display: flex;
  align-items: center;
}
.detail-container .info-warp .user-info .avatar {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  line-height: 1;
  border-radius: 50%;
  background-color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.25rem;
  color: #fff;
  margin-right: 0.2rem;
}
.detail-container .info-warp .user-info .info-text .user-name {
  font-size: 0.175rem;
  color: #666666;
}
.detail-container .info-warp .user-info .info-text .user-desc {
  font-size: 0.15rem;
  color: #999999;
  margin-top: 0.075rem;
}
.detail-container .info-warp .attr-warp {
  width: 100%;
  background: #F1F8FF;
  border-radius: 0.15rem;
  padding: 0.2rem;
  margin-top: 0.3rem;
}
.detail-container .info-warp .attr-warp .prompt {
  font-size: 0.175rem;
  color: #333333;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 16;
  overflow: hidden;
}
.detail-container .info-warp .attr-warp .attr-list {
  border-top: 0.0125rem solid #D7DCE2;
  margin-top: 0.2rem;
  padding-top: 0.2rem;
}
.detail-container .info-warp .attr-warp .attr-list .attr-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.15rem;
  color: #333333;
  padding: 0.1rem 0;
}
.detail-container .info-warp .button-group {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.detail-container .info-warp .button-group .ud-button {
  padding: 0.175rem 0.25rem;
  font-size: 0.175rem;
  border-radius: 0.05rem;
}
.detail-container .info-warp .button-group .ud-button.download {
  background: #F0F7FF;
  color: #007DFF;
}
.detail-container .info-warp .button-group .ud-button + .ud-button {
  margin-left: 0.15rem;
}

/*# sourceMappingURL=ai-painting.css.map */
