.app-func-wrapper div,
.app-func-wrapper p,
.app-func-wrapper span,
.app-func-wrapper a {
  box-sizing: border-box;
}
.app-func-wrapper .line {
  width: 1px;
  background: #E8EBF3;
  height: 16px;
}
.app-func-wrapper .block {
  margin: 64px 0;
}
.app-func-wrapper .text-base {
  font-size: 14px;
  line-height: 20px;
}
.app-func-wrapper .text-xs {
  font-size: 16px;
  line-height: 24px;
}
.app-func-wrapper .text-2xs {
  font-size: 20px;
  line-height: 28px;
}
.app-func-wrapper .text-h1 {
  font-size: 40px;
  line-height: 50px;
}
.app-func-wrapper .text-secondary {
  color: #8C919E;
}
.app-func-wrapper .text-primary {
  color: #2f2f2f;
}
.app-func-wrapper .text-white {
  color: #fff;
}
.app-func-wrapper .text-link {
  color: #5697ff;
}
.app-func-wrapper .text-purple {
  color: #5c6eff;
}
.app-func-wrapper .text-error {
  color: #FF6966;
}
.app-func-wrapper .font-bold {
  font-weight: 700;
}
.app-func-wrapper .text-center {
  text-align: center;
}
.app-func-wrapper .mb-des {
  margin-bottom: 16px;
}
.app-func-wrapper .icon-text {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}
.app-func-wrapper .icon-text > a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-func-wrapper .search-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.app-func-wrapper .search-wrapper .input-func-wrapper {
  max-width: 540px;
  width: 100%;
  height: 72px;
  border-radius: 8px;
  border: 1px solid #5c6eff;
  background: #ffffff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.app-func-wrapper .search-wrapper .input-func-wrapper.error,
.app-func-wrapper .search-wrapper .input-func-wrapper.error-input,
.app-func-wrapper .search-wrapper .input-func-wrapper.error-network {
  border: 1px solid #ff6966;
}
.app-func-wrapper .search-wrapper .input-func-wrapper.error-input-empty {
  border: 1px solid #ff6966;
  animation: shake 0.5s ease-in-out;
}
.app-func-wrapper .search-wrapper .input-func-wrapper .input-wrapper {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  flex: 1;
  height: 100%;
  gap: 10px;
}
.app-func-wrapper .search-wrapper .input-func-wrapper .input-wrapper input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 16px;
  line-height: 24px;
  color: #2f2f2f;
  padding: 0;
  margin: 0;
}
.app-func-wrapper .search-wrapper .input-func-wrapper .input-wrapper input.error {
  color: #FF6966;
}
.app-func-wrapper .search-wrapper .input-func-wrapper .input-wrapper input::placeholder {
  color: #C9CCD4;
}
.app-func-wrapper .search-wrapper .input-func-wrapper .search-func {
  width: 115px;
  height: 100%;
  padding: 0px 10px;
  background: #f2f2f9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 10px;
  user-select: none;
}
.app-func-wrapper .search-wrapper .search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 180px;
  height: 72px;
  color: #fff;
  background: #5C6EFF;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
}
.app-func-wrapper .search-wrapper .search-btn:not(.loading):hover {
  background: linear-gradient(#4656d9, #4656d9), #5c6eff;
}
.app-func-wrapper .search-wrapper .search-btn:not(.loading):active {
  border: 2px solid #95a0ff;
  background: #5c6eff;
}
.app-func-wrapper .search-wrapper .search-btn.loading {
  opacity: 0.65;
  cursor: not-allowed;
}
.app-func-wrapper .spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}
.app-func-wrapper .icon-text-wrapper {
  display: none;
}
.app-func-wrapper .install-app-btn {
  padding: 12px 20px;
  border-radius: 8px;
  background: linear-gradient(90deg, #b946dc 0%, #f24995 48%, #ff7b48 100%);
  max-width: 300px;
  width: 100%;
  text-align: center;
}
.app-func-wrapper .error-scenario-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  width: 100%;
  max-width: 730px;
  margin: 0 auto;
  border-radius: 16px;
  margin-top: 16px;
  background: linear-gradient(90deg, #fbeeff 0%, #fdf0f6 50%, #fef4f0 100%);
}
.app-func-wrapper .error-scenario-box .error-scenario-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
}
.app-func-wrapper .error-scenario-box .error-scenario-text {
  margin-top: 8px;
  margin-bottom: 16px;
  line-height: 20px;
  text-align: center;
}
.app-func-wrapper .error-scenario-box .error-scenario-text .icon-favorite {
  display: inline-flex;
  align-items: center;
}
.app-func-wrapper .error-tip-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}
.app-func-wrapper .error-content {
  width: fit-content;
  max-width: 751px;
  padding: 10px;
  margin: 0 auto;
  background: rgba(255, 105, 102, 0.12);
  margin-top: 16px;
  border-radius: 8px;
}
.app-func-wrapper .app-search-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
.app-func-wrapper .app-search-container .app-search-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.app-func-wrapper .app-search-container .app-search-list .app-search-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 8px;
  overflow: hidden;
}
.app-func-wrapper .app-search-container .app-search-list .app-search-item .preview-container-wrapper {
  height: 240px;
}
.app-func-wrapper .app-search-container .app-search-item-rectangle {
  position: absolute;
  bottom: 0;
  z-index: 1;
  width: 100%;
  background: linear-gradient(1.31deg, #00000099 1.31%, #00000000 99.11%);
  height: 80px;
}
.app-func-wrapper .app-search-container .app-search-user {
  display: flex;
  margin-bottom: 32px;
  gap: 20px;
  position: relative;
}
.app-func-wrapper .app-search-container .app-search-user .app-search-user-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #dedede;
  position: relative;
}
.app-func-wrapper .app-search-container .app-search-user .app-search-user-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.app-func-wrapper .app-search-container .app-search-user .app-search-user-info .app-search-user-name {
  margin-bottom: 8px;
}
.app-func-wrapper .app-search-container .app-search-user .app-search-user-btn-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 48px;
  height: 48px;
  border-radius: 45.2px;
  background: #fff;
}
.app-func-wrapper .app-search-container .app-search-user .app-search-user-btn {
  width: 48px;
  height: 48px;
  border-radius: 45.2px;
}
.app-func-wrapper .image-preview-container {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f4fa;
  position: relative;
}
.app-func-wrapper .image-preview-container > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.app-func-wrapper .image-preview-container .image-preview-fullscreen {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 10;
}
.app-func-wrapper .image-preview-container .image-preview-modal {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-func-wrapper .image-preview-container .image-preview-modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  max-height: 80%;
}
.app-func-wrapper .image-preview-container .image-preview-close {
  color: #ccc;
  font-size: 40px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 25px;
  cursor: pointer;
}
.app-func-wrapper .image-preview-container .image-preview-close:hover,
.app-func-wrapper .image-preview-container .image-preview-close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.app-func-wrapper .video-preview-container {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.app-func-wrapper .access-download-btn {
  width: 100%;
  height: 54px;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  padding: 16px 0px;
  border-radius: 8px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: background 0.3s ease;
  background: linear-gradient(90deg, #b946dc 0%, #f24995 48%, #ff7b48 100%);
}
.app-func-wrapper .access-download-btn .download-success-icon {
  position: absolute;
  top: 0;
  right: 0;
}
.app-func-wrapper .access-download-btn .download-success-icon2 {
  position: absolute;
  bottom: 0;
  right: 0;
}
.app-func-wrapper .access-download-btn:not(.downloading):hover {
  background: linear-gradient(90deg, #b946dccc 0%, #f24995cc 48%, #ff7b48cc 100%);
}
.app-func-wrapper .access-download-btn:not(.downloading):active {
  background: linear-gradient(90deg, #9e25c3 0%, #d12371 48%, #e2541d 100%);
}
.app-func-wrapper .access-download-btn.downloading {
  background: linear-gradient(90deg, #b946dca6 0%, #f24995a6 48%, #ff7b48a6 100%);
  cursor: not-allowed;
}
.app-func-wrapper .access-download-btn.error,
.app-func-wrapper .access-download-btn.downloaded,
.app-func-wrapper .access-download-btn.imgDownloaded {
  background: linear-gradient(90deg, #b946dc 0%, #f24995 48%, #ff7b48 100%), #5c6eff;
}
@media screen and (max-width: 760px) {
  .app-func-wrapper .m-hidden {
    display: none;
  }
  .app-func-wrapper .block {
    padding: 0 20px;
    margin: 32px 0;
  }
  .app-func-wrapper .como {
    margin-bottom: 64px;
  }
  .app-func-wrapper .text-base {
    font-size: 12px;
    line-height: 16px;
  }
  .app-func-wrapper .text-h1 {
    font-size: 28px;
    line-height: 38px;
    letter-spacing: -1px;
  }
  .app-func-wrapper .text-xs {
    font-size: 14px;
    line-height: 20px;
  }
  .app-func-wrapper .text-2xs {
    font-size: 16px;
    line-height: 24px;
  }
  .app-func-wrapper .text-m-start {
    text-align: start;
  }
  .app-func-wrapper .icon-text {
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }
  .app-func-wrapper .icon-text > a {
    flex-direction: column;
  }
  .app-func-wrapper .search-wrapper {
    flex-direction: column;
    padding: 0 20px;
  }
  .app-func-wrapper .search-wrapper .search-btn {
    width: 100%;
    height: 54px;
  }
  .app-func-wrapper .search-wrapper .input-func-wrapper {
    height: 54px;
  }
  .app-func-wrapper .search-wrapper .input-func-wrapper .input-wrapper {
    padding: 15px 10px;
  }
  .app-func-wrapper .search-wrapper .input-func-wrapper .input-wrapper input {
    font-size: 14px;
    line-height: 20px;
  }
  .app-func-wrapper .search-wrapper .input-func-wrapper .search-func {
    width: 93px;
    padding: 0px 10px;
  }
  .app-func-wrapper .app-search-container .app-search-list {
    gap: 32px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .app-func-wrapper .app-search-container .app-search-user .app-search-user-btn-wrapper {
    width: 42px;
    height: 42px;
  }
  .app-func-wrapper .app-search-container .app-search-user .app-search-user-btn {
    width: 42px;
    height: 42px;
  }
  .app-func-wrapper .app-search-container .access-download-btn {
    height: 48px;
  }
  .app-func-wrapper .app-search-container .access-download-btn.error,
  .app-func-wrapper .app-search-container .access-download-btn.downloaded,
  .app-func-wrapper .app-search-container .access-download-btn.imgDownloaded {
    background: linear-gradient(90deg, #b946dc 0%, #f24995 48%, #ff7b48 100%), #5c6eff !important;
  }
  .app-func-wrapper .icon-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
  }
  .app-func-wrapper .icon-text-wrapper .icon-text-item {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .app-func-wrapper .error-scenario-wrapper,
  .app-func-wrapper .error-tip-wrapper,
  .app-func-wrapper .error-content-wrapper {
    padding: 0 20px;
  }
}
