@charset "UTF-8";
/* 注意：此文件版本号是固定的，改动后需要同步更新 letterOrientationV2_src.js 加载此css的版本 */

@keyframes frame {
  from {
    bottom: 0;
  }
  to {
    bottom: 24px;
  }
}

.GuidePopup-layout {
  position: relative;
}

.letterOrientationGuidePopupWrapper {
  --color-text-1: #262933;
  --color-text-2: #2E384D;
  --color-neutral-2: #F2F7FF;
  --color-brand-1: #2354E6;
  --color-text-3: #8E949E;
  --color-cmpt-2: #EBEDF2;
  --color-icon-6: #FFFFFF;
  --color-text-4: #ACB2BF;
  --color-icon-1: #262933;
  --color-icon-3: #70798C;
  --color-bg-4: rgba(0, 0, 0, 0.8);
  --color-brand-3: #2354E6;
  --color-cmpt-16: #FFFFFF;
  --color-icon-4: #D0D4DB;
}

.classic-dark .letterOrientationGuidePopupWrapper {
  --color-text-1: #FAFAFA;
  --color-text-2: #ACB2BF;
  --color-neutral-2: #0F172F;
  --color-brand-1: #266FFF;
  --color-text-3: #8C8C8C;
  --color-cmpt-2: #323642;
  --color-icon-6: #FAFAFA;
  --color-text-4: #5C6270;
  --color-icon-1: #FFFFFF;
  --color-icon-3: #7E8494;
  --color-bg-4: rgba(0, 0, 0, 0.8);
  --color-brand-3: #3388FF;
  --color-cmpt-16: #1A1A1A;
  --color-icon-4: #6D6D6D;
}

.letterOrientationGuidePopupWrapper {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: frame 0.3s linear;
  position: fixed;
  right: 24px;
  bottom: 24px;
  border-radius: 8px;
}

html[lang='ar'] .letterOrientationGuidePopupWrapper {
  right: unset;
  left: 20px;
}

.letterOrientationGuidePopupWrapper .posterWarper,
.letterOrientationGuidePopupWrapper .posterWarper img {
  border-radius: 8px;
  object-fit: cover;
  position: relative;
  cursor: pointer;
}

/* 海报模式图片宽高 start */
.letterOrientationGuidePopupWrapper .poster-3-4 {
  width: 340px;
  height: 454px;
}
/* 海报模式图片宽高 end */

.letterOrientation-close {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  border-radius: 50%;
  cursor: pointer;
}

html[lang='ar'] .letterOrientation-close {
  right: unset;
  left: 16px;
}

.letterOrientation-h5-close {
  display: none;
}

/* 图文 */
.GuidePopup-new-wrapper {
  --image-text-width: 384px;

  width: var(--image-text-width);
  padding: 24px var(--image-text-padding);
  background-color: var(--color-cmpt-16);
  border-radius: 8px;
  box-shadow: 0px 7px 20px 0px rgba(13, 31, 66, 0.07);
  box-sizing: border-box;
}

body.classic-dark .GuidePopup-new-wrapper {
  box-shadow: 0px 7px 20px 0px rgba(0, 0, 0, 0.30);
}

.GuidePopup-new-wrapper .text-ellipsis {
  word-break: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.GuidePopup-new-wrapper .GuidePopup-new-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text-1);
  line-height: 28.8px;
  margin-bottom: 24px;
  max-width: calc(100% - 18px);
}

.GuidePopup-new-wrapper .GuidePopup-new-content .text-ellipsis {
  -webkit-line-clamp: 2;
}

.GuidePopup-new-wrapper .GuidePopup-new-title,
.GuidePopup-new-wrapper .GuidePopup-new-content {
  position: relative;
  cursor: pointer;
}

.GuidePopup-main-content {
  margin: 16px 4px 0 0;
  padding: 0 20px 0 24px;
  max-height: 214px;
  overflow-y: scroll;
}

.GuidePopup-main-content::-webkit-scrollbar {
  display: none;
}

.GuidePopup-main-content .title {
  font-size: 24px;
  font-weight: 500;
  line-height: 28.8px;
  color: var(--color-text-1);
  white-space: normal;
  word-break: break-word;
  cursor: pointer;
}

.GuidePopup-main-content .info {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: var(--color-text-2);
  white-space: normal;
  word-break: break-word;
  cursor: pointer;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.GuidePopup-new-content .GuidePopup-new-image {
  width: 100%;
  height: 216px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.letterOrientation-new-close {
  width: 20px;
  height: 20px;
  background-color: transparent;
  position: absolute;
  cursor: pointer;
}

html[lang='ar'] .letterOrientation-new-close {
  left: 16px;
  right: unset;
}

/* 站内信弹窗通知 开关 start */
.popup_letter_switch_box {
  padding: 24px 0;
  margin-inline-start: 24px;
  --switch-width: 32px;
  --switch-height: 16px;
  width: 327px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

#popup_letter_toggle {
  display: none;
}

.popup_letter_label {
  position: relative;
  display: inline-block;
  width: var(--switch-width);
  height: var(--switch-height);
  line-height: var(--switch-height);
  border-radius: var(--switch-height);
  background-color: var(--color-icon-4);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.popup_letter_label::after {
  content: '';
  position: absolute;
  top: 1.3px;
  left: 1.3px;
  width: 13.4px;
  height: 13.4px;
  background-color: var(--color-icon-6);
  border-radius: 50%;
  transition: left 0.3s ease;
}

#popup_letter_toggle:checked + .popup_letter_label {
  background-color: var(--color-brand-1);
}

#popup_letter_toggle:checked + .popup_letter_label::after {
  left: calc(100% - 14.6px);
}

.popup_letter_switch_box span {
  color: var(--color-text-3);
  margin-left: 8px;
  font-size: 14px;
  font-weight: 400;
}

html[lang='ar'] .popup_letter_switch_box span {
  margin-left: unset;
  margin-right: 8px;
}
/* 站内信弹窗通知 开关 end */

@media screen and (max-width: 1680px) {
  /* 海报模式图片宽高 start */
  .letterOrientationGuidePopupWrapper .poster-3-4 {
    width: 298px;
    height: 397px;
  }
  /* 海报模式图片宽高 end */
}

@media screen and (max-width: 1440px) {
  /* 海报模式图片宽高 start */
  .letterOrientationGuidePopupWrapper .poster-3-4 {
    width: 254px;
    height: 339px;
  }
  /* 海报模式图片宽高 end */
}

@media screen and (max-width: 991.9px) {
  .letterOrientationGuidePopupWrapper {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: var(--color-bg-4);
  }

  .GuidePopup-new-wrapper {
    box-shadow: none;
  }

  .letterOrientation-close {
    display: none;
  }

  .letterOrientation-h5-close {
    display: inline-block;
    position: absolute;
    bottom: -44px;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .popup_letter_switch_box {
    display: none;
  }
  
  .GuidePopup-new-wrapper .GuidePopup-new-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 18.75;
    margin-bottom: 8px;
    max-width: calc(100% - 20px);
  }

  .GuidePopup-new-wrapper .GuidePopup-new-image {
    height: 184px;
  }

  .GuidePopup-new-wrapper {
    --image-text-width: 327px;
  }

  .GuidePopup-new-wrapper .GuidePopup-new-content {
    font-size: 12px;
  }
  
  /* 海报模式图片宽高 start */
  .letterOrientationGuidePopupWrapper .poster-3-4 {
    width: 327px;
    height: 436px;
  }
  /* 海报模式图片宽高 end */

  .GuidePopup-main-content .info {
    padding-bottom: 24px;
  }

  .GuidePopup-main-content .title {
    font-size: 16px;
    line-height: 18.75px;
  }
  
  .GuidePopup-main-content .info {
    font-size: 14px;
    line-height: 21px;
  }
}
