/* 显示滑入开始 */
.scroll-fade-up {
  transform: translateY(80rem);
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.1s ease-out;
}
.in-view {
  transform: translate(0);
  opacity: 1;
}
/* 显示滑入结束 */

/* 规则列表开始 */
.ebc-rule-list {
  margin-top: 80rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* gap: 24rem; */
}

.ebc-rule-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8rem;
  width: 100%;
}

.ebc-rule-item-line {
  margin-top: 16rem;
  margin-bottom: 24rem;
  height: 1px;
  width: 100%;
  background: #ebebeb;
}

.ebc-rule-text-label {
  position: relative;
  width: 100%;
  color: var(--Text-Primary, #000);
  font-size: 24rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}

.ebc-rule-text-label::after {
  position: absolute;
  right: 0;
  content: "\e62d";
  font-family: "iconfont" !important;
  font-size: 24rem;
  line-height: 1.5;
}
.ebc-rule-content-show .ebc-rule-text-label::after {
  content: "\e62b";
}
.ar .ebc-rule-text-label::after {
  right: unset;
  left: 0;
}

.ebc-rule-text-ul {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}
.ebc-rule-text-li {
  color: var(--Text-Secondary, rgba(0, 0, 0, 0.64));
  font-size: 16rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75;
}

.ebc-rule-text-li::before {
  content: "•";
  font-weight: bold;
  flex-shrink: 0;
  line-height: 1.75;
}

.ebc-rule-text-li + .ebc-rule-text-li {
  margin-top: 8rem;
}

.ebc-rule-text-value a:hover,
.ebc-rule-text-value a {
  color: var(--Text-Secondary, rgba(0, 0, 0, 0.64));
}

.ebc-rule-list[data-white]
  .ebc-rule-text-label，
  .ebc-rule-list[data-white]
  .ebc-rule-text-li {
  color: var(--Text-Primary, #fff);
}
/* 规则列表结束 */

/* 对话框开始 */
.body-no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}
.ebc-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 100vh);
  opacity: 0;
  padding: 24rem 24rem 24rem 48rem;
  background-color: #fff;
  z-index: 9000000000;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.05);
  border-radius: var(--Corner-Radius-RC12, 12rem);
  width: 500rem;
  font-size: 16rem;
}

.ebc-dialog.ebc-dialog-show {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.ebc-dialog-header {
  position: relative;
  /* padding: 0 30rem 0 0; */
  margin-right: 30rem;
}
.ebc-dialog-title {
  color: var(--Text-Primary, #000);
  font-size: 32rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
}
.ebc-dialog .ebc-dialog-close-btn {
  position: absolute;
  right: 32rem;
  top: 32rem;
  font-size: 26rem;
  color: #858585;
  cursor: pointer;
  z-index: 99999999999999999;
}
.ebc-dialog-content {
  width: 100%;
  height: 400rem;
  overflow-y: auto;
  padding-right: 10rem;
}

.ebc-dialog-bg {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.64);
  z-index: 999999999;
}
.ebc-dialog-bg.ebc-dialog-bg-show {
  display: block;
}

/* 整个滚动条 */
.ebc-dialog-content::-webkit-scrollbar {
  width: 6rem; /* 竖向滚动条宽度 */
  height: 6rem; /* 横向滚动条高度 */
}

/* 滚动条轨道 */
.ebc-dialog-content::-webkit-scrollbar-track {
  background: #f2f2f2;
  border-radius: 3rem;
}

/* 滚动条滑块 */
.ebc-dialog-content::-webkit-scrollbar-thumb {
  background: #d9d9d9;
  border-radius: 3rem;
}

/* 滚动条滑块悬停状态 */
.ebc-dialog-content::-webkit-scrollbar-thumb:hover {
  background: #dddddd;
}
/* 对话框结束 */

/* 按钮开始 */
.ebc-btn-large {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 48rem;
  padding: 0 24rem;
  gap: 8rem;
  border-radius: 24rem;
  background: var(--Brand-Secondary-Red, #a52933);
  color: var(--Text-Primary_White, #fff);
  text-align: center;
  font-size: 16rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
}

.ebc-btn-large:hover {
  background: var(--Functional-Active-Hover, #cc333f);
  color: var(--Text-Primary_White, #fff);
}

.ebc-btn-large:active {
  background: var(--Functional-Active-Pressed, #7b1e26);
  color: var(--Text-Primary_White, #fff);
}
/* 按钮结束 */
@media (max-width: 996px) {
  /* 按钮开始 */
  .ebc-btn-large {
    height: 96rem;
    border-radius: 48rem;
    font-size: 32rem;
    font-style: normal;
    font-weight: 500;
    padding: 0 48rem;
    width: 100%;
  }
  .ebc-btn-large .iconfont {
    font-size: 40rem;
  }
  /* 按钮结束 */

  /* 规则列表开始 */

  .ebc-rule-list {
    /* gap: 48rem; */
  }
  .ebc-rule-item-line {
    margin-top: 32rem;
    margin-bottom: 48rem;
  }
  .ebc-rule-item {
    gap: 16rem;
  }

  .ebc-rule-text-label {
    font-size: 32rem;
  }

  .ebc-rule-text-li {
    font-size: 28rem;
    line-height: 44rem;
  }
  .ebc-rule-text-li + .ebc-rule-text-li {
    margin-top: 16rem;
  }
  .ebc-rule-text-label::after {
    font-size: 32rem;
  }
  /* 规则列表结束 */

  /* 对话框开始 */
  .ebc-dialog {
    padding: 64rem 62rem 96rem;
    width: 100vw;
    flex-direction: column;
    align-items: center;
    gap: 64rem;
    position: fixed;
    top: unset;
    bottom: 0;
    left: 0;
    transform: translate(0, 100%);
    border-radius: 48rem 48rem 0 0;
    transition: all 0.3s ease-out;
  }
  .ebc-dialog.ebc-dialog-show {
    transform: translate(0, 0);
    opacity: 1;
  }
  .ebc-dialog .ebc-dialog-close-btn {
    font-size: 32rem;
  }
  /* 对话框结束 */
}
