/* meco style by bogege 10/18/2024 */
*,
::after,
::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

blockquote,
body,
button,
dd,
div,
dl,
dt,
form,
h1,
h2,
h3,
h4,
h5,
h6,
input,
legend,
li,
ol,
p,
td,
textarea,
th,
ul {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

a,
button,
input {
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
}

a {
  text-decoration: none;
}

a:active,
a:hover {
  outline: 0;
}

li {
  list-style: none;
}

body,
html {
  font-family: "Inter", "Apple Color Emoji", sans-serif !important;
  overscroll-behavior: none;
  /* 解决ios 10以上meta禁止双指放大无效的问题 */
  touch-action: pan-x pan-y;
  -webkit-user-scalable: none;
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  background: #FFFBF8;
}

@font-face {
  font-family: "Apple Color Emoji";
  src: url("../font/AppleColorEmoji.ttf");
  font-display: swap;
}

#top {
  width: 100%;
  margin-bottom: 12px;
  position: relative;
  z-index: 10;
  background-color: #FFFBF8;
}

#top .top-inner {
  width: 1132px;
  margin: 0 auto;
  height: 72px;
  line-height: 72px;
  position: relative;
}

#top .top-inner img {
  height: 40px;
  vertical-align: middle;
}

#top .top-inner #download-app {
  width: 276px;
  height: 54px;
  position: absolute;
  top: 9px;
  right: 0;
  text-align: center;
  line-height: 38px;
  background: linear-gradient(270deg, #FACC7E 0%, #AC51A0 100%);
  border-radius: 27px 27px 27px 27px;
  border: 6px solid #FFFFFF;
  font-weight: 900;
  font-size: 20px;
  color: #FFFFFF;
  cursor: pointer;
}

#top .top-inner #download-app img {
  height: 32px;
  vertical-align: middle;
  margin-right: 8px;
}

#download-app span {
  vertical-align: middle;
}

#list-main {
  width: 1200px;
  margin: 0 auto;
  height: calc(100vh - 84px);
  overflow-y: auto;
}

#list-main .banner-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 24px;
}

#list-main .container {
  padding: 40px 0;
}

#list-main .container .title {
  display: flex;
}

#list-main .container .title .title-icon {
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#list-main .container .title .title-icon img {
  width: 24px;
  height: 24px;
}

#list-main .container .title .title-text {
  flex: 1;
  padding-left: 20px;
  word-break: break-word;
  font-weight: 900;
  font-size: 48px;
  color: #141414;
}

#list-main .container .list-container {
  padding: 40px 0;
}

#list-main .container .list-container .tag-item {
  padding: 30px 20px;
  border-radius: 24px;
  border: 1px solid #858585;
  cursor: pointer;
  margin-bottom: 20px;
}

#list-main .container .list-container .tag-item:last-child {
  margin-bottom: 0;
}

#list-main .container .list-container .tag-item:hover {
  animation: upAndDown .3s linear;
  border: 1px solid #008055;
}

.pagination {
  text-align: center;
}

.pagination .pagination-inner {
  display: inline-block;
}

.pagination .pagi-item {
  float: left;
  display: inline-block;
  cursor: pointer;
}

.pagination .pagi-item:hover {
  opacity: 0.8;
}

.pagination .pagi-item.disabled {
  cursor: no-drop;
}

.pagination .pagi-item img {
  height: 32px;
}

.pagination .pagi-item.prev {
  margin-right: 40px;
}

@keyframes upAndDown {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateY(5px);
  }

  100% {
    transform: translateX(0);
  }
}

#list-main .container .list-container .tag-item .tag-name {
  font-weight: bold;
  font-size: 30px;
  color: #141414;
  margin-bottom: 12px;
}

#list-main .container .list-container .tag-item .tag-des {
  font-size: 20px;
  color: #858585;
}

/* detail css  */
.detail-nav {
  padding: 24px 12px;
  background: #ffffff;
  border-radius: 12px 12px 0px 0px;
}

.detail-nav img {
  height: 24px;
  cursor: pointer;
}

.detail-nav img:hover {
  opacity: 0.9;
}

#detail-main {
  width: 1200px;
  margin: 0 auto;
}


#detail-main .detail-main-top {
  border-bottom: 1px solid rgba(30, 30, 30, 0.1);
}


#detail-main .detail-main-tag {
  padding: 24px 12px 12px 12px;
  background: #ffffff;
}

#detail-main .detail-main-tag .tag-title {
  display: flex;
}

#detail-main .detail-main-tag .tag-title .tag-title-icon {
  width: 24px;
  display: flex;
  align-items: center;
}

#detail-main .detail-main-tag .tag-title .tag-title-icon img {
  width: 24px;
}

#detail-main .detail-main-tag .tag-title .tag-title-text {
  flex: 1;
  font-weight: bold;
  font-size: 24px;
  color: #1E1E1E;
  padding-left: 8px;
  word-break: break-all;
}

#detail-main .detail-main-tag .tag-des {
  font-size: 12px;
  color: #141414;
  padding: 8px 0 12px 0;
}

#detail-main .detail-main-tag .tag-count {
  font-size: 12px;
  color: #858585;
}

#detail-main .detail-wrap {
  height: calc(100vh - 84px - 76px);
  overflow-y: auto;
}

#detail-main .moments-item {
  width: 100%;
  padding: 0 12px;
  margin-bottom: 10px;
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  cursor: pointer;
}

#detail-main .moments-item .moments-item-inner {
  padding: 24px 0;
}

#detail-main .moments-item .time {
  font-weight: 500;
  font-size: 14px;
  color: #9e9e9e;
  height: 24px;
  line-height: 24px;
  position: relative;
}

#detail-main .moments-item .user-info {
  display: flex;
  position: relative;
}

#detail-main .moments-item .user-info .avatar {
  width: 60px;
  height: 60px;
  overflow: hidden;
}

#detail-main .moments-item .user-info .avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

#detail-main .moments-item .user-info .info {
  flex: 1;
  padding: 0 8px;
  align-items: center;
  display: flex;
  max-width: calc(100% - 60px);
}

#detail-main .moments-item .user-info .info .info-inner {
  width: 100%;
  overflow: hidden;
}

#detail-main .moments-item .user-info .info .info-inner .name {
  width: 100%;

  line-height: 28px;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

#detail-main .moments-item .user-info .info .info-inner .name>div:first-child {
  max-width: calc(100% - 30px);
  font-weight: 600;
  font-size: 20px;
  color: #1e1e1e;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#detail-main .moments-item .user-info .info .info-inner .name>div:nth-child(2) {
  width: 26px;
  margin-left: 4px;
}

#detail-main .moments-item .user-info .info .info-inner .name>div:nth-child(2) .verified {
  height: 18px;
  vertical-align: middle;
}

#detail-main .moments-item .user-info .info .info-inner .time {
  font-weight: 400;
  font-size: 14px;
  color: #9e9e9e;
  line-height: 18px;
}

#detail-main .moments-item .moment-content {
  padding: 0 0 4px 0;
}

#detail-main .moments-item .moment-content .moment-content-text {
  font-weight: 500;
  font-size: 18px;
  color: #1e1e1e;
  line-height: 24px;
  word-break: break-all;
  padding: 12px 0;
}

#detail-main .moments-item .moment-content .moment-content-images {
  padding: 12px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  max-width: 400px;
}

#detail-main .moments-item .moment-content .moment-content-images .video-container {
  position: relative;
  display: inline-block;
}

#detail-main .moments-item .moment-content .moment-content-images .video-container .play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-15px) translateY(-15px);
  font-size: 30px;
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  cursor: pointer;
}


#detail-main .moments-item .moment-content .moment-content-images.four-layout {
  max-width: 240px;
}

#detail-main .moments-item .moment-content .moment-content-images img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  margin: 0 8px 8px 0;
  border-radius: 12px;
  cursor: pointer;
}

#detail-main .moments-item .moment-content .moment-content-images.one-layout img {
  width: 160px;
  height: 160px;
}

#detail-main .moments-item .moment-content .moment-content-images img.active {
  width: 160px;
  height: 160px;
}

#detail-main .moments-item .moment-content .moment-content-images .video-container {
  position: relative;
}

#detail-main .moments-item .moment-content .moment-content-images .video-container span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-15px) translateY(-15px);
  font-size: 30px;
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  cursor: pointer;
}

#detail-main .moments-item .moment-meta {
  display: flex;
}

#detail-main .moments-item .moment-meta .location {
  flex: 1;
  font-weight: 500;
  font-size: 14px;
  color: #1e1e1e;
  line-height: 24px;
  max-width: calc(100% - 160px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#detail-main .moments-item .moment-meta .actions {
  text-align: right;
  font-weight: 500;
  font-size: 14px;
  color: rgba(30, 30, 30, 0.5);
  width: 160px;
}

#detail-main .moments-item .moment-meta .actions div {
  display: inline-block;
  line-height: 24px;
}

#detail-main .moments-item .moment-meta .actions div:first-child {
  padding-right: 12px;
  display: inline-block;
}

#detail-main .moments-item .moment-meta .actions img {
  height: 24px;
  margin-right: 6px;
  float: left;
}

#img-preview {
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
  overflow: hidden;
  display: none;
}

#img-preview .back-mask {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.5;
  z-index: 100;
}

#img-preview .img-preview-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  align-items: center;
  display: flex;
  justify-content: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

#img-preview .img-preview-wrap #img-url {
  max-height: 100%;
  max-width: 100%;
  position: relative;
  z-index: 101;
}

#img-preview .img-preview-wrap #video-url {
  width: auto;
  height: auto;
  max-height: 80vh;
  max-width: 100%;
  z-index: 101;
}

#img-preview .close-preview {
  position: absolute;
  right: 40px;
  top: 40px;
  height: 44px;
  width: 44px;
  line-height: 44px;
  text-align: center;
  font-size: 24px;
  color: #fff;
  background-color: #606206;
  border-radius: 50%;
  opacity: 0.8;
  z-index: 101;
  cursor: pointer;
}

#img-preview .close-preview:hover {
  opacity: 0.6;
}

.no-data {
  height: calc(100vh - 280px);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-data .no-data-inner {
  text-align: center;
}

.no-data img {
  width: 200px;
}

.no-data .intro {
  font-size: 14px;
  color: #858585;
  line-height: 16px;
  text-align: center;
  margin: 24px 0;
  padding: 0 12px;
}

#page-not-found {
  width: 100%;
  min-height: 100%;
  padding: 30px 15px;
  text-align: center;
  display: flex;
  align-items: center;
}

#page-not-found .page-not-found-inner {
  max-width: 1040px;
  margin: 0 auto;
}

#page-not-found .page-not-found-inner h1 {
  font-weight: 900;
  font-size: 36px;
  color: #1e1e1e;
  line-height: 48px;
  margin-bottom: 14px;
  padding: 0 15px;
}

#page-not-found .page-not-found-inner p {
  font-weight: 500;
  font-size: 18px;
  color: #1e1e1e;
  line-height: 23px;
}

#page-not-found .page-not-found-inner p .page-not-found-link {
  color: #833879;
  cursor: pointer;
}

/* media 常规样式优化 */
@media screen and (max-width: 1200px) {
  #top {
    margin-bottom: 0;
  }

  #top .top-inner {
    width: 100%;
    height: 54px;
    line-height: 54px;
  }

  #top .top-inner img.logo {
    display: none;
  }

  #top .top-inner #download-app {
    width: 100%;
    top: 0;
    border-radius: 0;
    border: none;
    line-height: 54px;
  }

  #top .top-inner #download-app img {
    vertical-align: top;
    margin-top: 11px;
  }

  #top .top-inner #download-app span {
    vertical-align: unset;
  }

  #list-main {
    width: 100%;
    height: calc(100vh - 54px);
  }

  #list-main .banner-img img {
    height: 94px;
    border-radius: 0;
  }

  #list-main .container {
    padding: 20px 12px;
  }

  #list-main .container .title .title-text {
    font-size: 24px;
  }

  #list-main .container .list-container {
    padding: 20px 0;
  }

  #list-main .container .list-container .tag-item {
    padding: 12px;
    border-radius: 12px;
  }

  #list-main .container .list-container .tag-item:hover {
    animation: none;
  }

  #list-main .container .list-container .tag-item .tag-name {
    font-size: 18px;
    margin-bottom: 4px;
  }

  #list-main .container .list-container .tag-item .tag-des {
    font-size: 14px;
  }

  #detail-main {
    width: 100%;
    height: calc(100vh - 54px);
  }

  .detail-nav {
    padding: 10px 12px;
    background: transparent;
  }

  #detail-main .detail-main-tag {
    padding: 0 12px 12px 12px;
    background: transparent;
  }

  #detail-main .detail-main-top {
    border-bottom: none;
  }

  #detail-main .detail-wrap {
    padding: 0 12px;
    height: calc(100vh - 54px - 48px);
  }

  #detail-main .moments-item .moment-content .moment-content-images img {
    width: calc((100% - 16px) / 3);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  #detail-main .moments-item .moment-content .moment-content-images.one-layout {
    max-width: calc(((100vw - 48px) / 3) * 3);
  }

  #detail-main .moments-item .moment-content .moment-content-images img:nth-child(3n) {
    margin-right: 0;
  }

  #detail-main .moments-item .moment-content .moment-content-images.four-layout {
    max-width: 400px;
  }

  #detail-main .moments-item .moment-content .moment-content-images.four-layout img:nth-child(3n) {
    margin: 0 8px 8px 0;
  }

  .no-data {
    height: calc(100vh - 156px);
  }
}

@media screen and (min-width: 450px) and (max-width: 1200px) {
  #list-main .banner-img img {
    height: calc(100% / 4);
    border-radius: 0;
  }
}