@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}
*:focus {
  outline: none;
}

html {
  min-height: 100vh;
  font-size: calc(100vw / 7.5);
}
body {
  margin: 0 auto;
  width: 100%;
  max-width: 640px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Microsoft Yahei', sans-serif;
  font-size: 0.28rem;
  color: #d3a66f;
  line-height: 1.7;
  background: #030b3e;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05);
}
@font-face {
  font-family: "Barlow";
  src: url("https://static.21jingji.com/css/fonts/BarlowCondensed-Medium.ttf");
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

em,
i {
  font-style: normal;
}

img {
  border: none;
  outline: none;
  vertical-align: middle;
}

a {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

ul,
li {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  border: none;
  outline: none;
  user-select: none;
}
.none {
  display: none;
}
.wrap {
  padding: 0 0.36rem;
  width: 100%;
}
.box {
  position: relative;
  border: 0.01rem solid #6b5957;
  border-radius: 0.1rem;
}
.box.intro {
  padding: 0.6rem 0.4rem 0;
}
.box.rule {
  margin-top: 0.8rem;
  padding: 0.6rem 0.2rem 0;
}
.tit {
  margin: 0 auto 0.24rem;
  width: 100%;
  height: auto;
}
.box p {
  margin-bottom: 0.5rem;
  font-size: 0.26rem;
  color: #d3a470;
  line-height: 0.4rem;
  text-align: justify;
  font-weight: normal;
}
.title {
  position: absolute;
  top: -0.26rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3.2rem;
  height: 0.52rem;
  background-color: #030b3e;
  z-index: 1;
}
.rule-list::before,
.rule-list li p::after,
.rule-list li::before,
.rule-list li::after,
.title::before,
.title::after,
.title span::before,
.title span::after {
  display: block;
  content: '';
  position: absolute;
  z-index: 2;
}
.title::before,
.title::after {
  top: .21rem;
  width: .08rem;
  height: .08rem;
  background-color: #d2a470;
  transform: rotate(45deg);
}
.title::before {
  left: 0;
}
.title::after {
  right: 0;
}
.title span::before,
.title span::after {
  top: .17rem;
  width: .1rem;
  height: .16rem;
  background-color: #030b3e;
  z-index: 2;
}
.title span::before {
  left: -.05rem;
}
.title span::after {
  right: -.05rem;
}
.title span {
  position: relative;
  display: block;
  margin: 0 auto;
  width: 2.3rem;
  height: .52rem;
  font-size: 0.28rem;
  color: #eab674;
  line-height: 0.5rem;
  text-align: center;
  border: .01rem solid #d2a470;
}
.rule-list {
  position: relative;
  margin-left: .6rem;
}
.rule-list li {
  position: relative;
  margin-bottom: .24rem;
  padding: .2rem .3rem;
  background-color: #23265d;
  border-radius: .08rem;
}
.rule-list li p {
  margin-bottom: 0;
  font-size: .24rem;
}
.rule-list::before {
  left: -.41rem;
  top: .6rem;
  width: 0.01rem;
  height: calc(100% - .6rem);
  background-color: #6b5957;
  z-index: 1;
}
.rule-list li p::after {
  left: -.45rem;
  top: .25rem;
  width: .1rem;
  height: .4rem;
  background-color: #030b3e;
  z-index: 1;
}
.rule-list li::before {
  left: -.45rem;
  top: .4rem;
  width: .1rem;
  height: .1rem;
  background-color: #d2a470;
  border-radius: 50%;
  z-index: 3;
}
.rule-list li::after {
  left: -.48rem;
  top: .365rem;
  width: .15rem;
  height: .15rem;
  background-color: #030b3e;
  border: .01rem solid #d2a470;
  border-radius: .04rem;
  transform: rotate(45deg);
  z-index: 2;
}
/* 投票部分 */
.vote {
  width: 100%;
  height: auto;
}
.vote-nav {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  margin: 0.4rem 0 0.2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: .08rem;
  background-color: #030b3e;
  z-index: 99;
}
.vote-nav a {
  display: block;
  padding: .2rem 0;
  width: 2.2rem;
  font-size: .24rem;
  color: #d2a56f;
  line-height: .34rem;
  text-align: center;
  background-color: #23265d;
}
.vote-nav a.active {
  color: #030b3e;
  background-color: #d3a66f;
}
.swiper-container {
  margin-bottom: 0.3rem;
  width: 100%;
  overflow: hidden;
}
.swiper-slide {
  padding: 0 0.24rem;
  width: fit-content;
  color: #fcf5ea;
  line-height: 0.56rem;
  white-space: nowrap;
}
.swiper-active {
  background-color: #ec8f43;
  border-radius: 0.08rem;
}
/* 搜索 */
.vote-src {
  position: relative;
  margin: 0 auto 0.4rem;
  width: 4.84rem;
  height: 0.64rem;
  overflow: hidden;
}
.vote-src input {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 1.2rem 0 0.2rem;
  font-size: 0.28rem;
  color: #d2a470;
  background-color: #23265d;
  border: 0.02rem solid #666;
  border-radius: 0.08rem;
}
.vote-src input::placeholder {
  font-size: 0.24rem;
  color: #6b5957;
}
.vote-src input:-webkit-autofill,
.vote-src input:-webkit-autofill:hover,
.vote-src input:-webkit-autofill:focus {
  background-color: rgba(159, 31, 14, 0.7) !important;
}
.vote-src a.btn-cancel {
  display: none;
  position: absolute;
  top: 0;
  right: 0.8rem;
  width: 0.5rem;
  height: 0.6rem;
  background: url('../images/del.png') no-repeat center center / 0.28rem auto;
  z-index: 2;
}
.vote-src a.btn-submit {
  position: absolute;
  right: 0;
  top: 0;
  width: 0.8rem;
  height: 0.6rem;
  background: url('../images/src.png') no-repeat center center / 0.4rem 0.4rem;
  z-index: 3;
}
/* 投票列表 */
.search-result {
  display: none;
  margin-bottom: .2rem;
}
.vote-item {
  position: relative;
  margin-bottom: .3rem;
  padding: .2rem;
  background: #23265d;
  border: .01rem solid #2e43ee;
  border-radius: 8px;
  overflow: hidden;
}
.vote-code {
  padding-bottom: .08rem;
  font-size: .2rem;
  line-height: .3rem;
  border-bottom: .01rem solid #d2a56f;
}
.vote-code span {
  padding-left: .32rem;
}
.vote-name {
  padding: .12rem 0 .24rem;
  font-size: .38rem;
  line-height: .52rem;
  font-weight: bold;
}
.vote-name b,
.vote-code b {
  color: #dc0000;
}
.vote-rate {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: .15rem;
}
.vote-rate li {
  position: relative;
  width: 33.3333%;
}
.vote-rate.vote-r li:first-child {
  width: 40%;
}
.vote-rate.vote-r li:last-child {
  padding-left: .3rem;
  width: 60%;
}
.vote-rate li .mt {
  margin-bottom: .1rem;
}
.vote-rate li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: .01rem;
  height: 100%;
  background-color: #d2a56f;
}
.vote-rate li:last-child:after {
  display: none;
}
.vote-rate span {
  display: block;
  font-size: .2rem;
  line-height: .24rem;
}
.vote-rate b {
  display: block;
  line-height: 1.4;
  font-weight: 500;
}
.vote-rate b.lg {
  /* margin-top: .1rem; */
  font-family: 'Barlow';
  font-size: .66rem;
  letter-spacing: .03rem;
}
.vote-rate b.sm {
  font-size: .4rem;
}
.vote-btn {
  margin-top: .3rem;
  width: 100%;
  height: 0.62rem;
  border: .01rem solid #d2a56f;
  border-radius: 0.08rem;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
.vote-btn a {
  display: block;
  width: 72%;
  height: 0.6rem;
  font-size: 0.3rem;
  color: #030b3e;
  line-height: 0.6rem;
  text-align: center;
  background-color: #d2a56f;
  border-radius: 0 0.08rem .08rem 0;
}
.vote-btn span {
  width: 28%;
  line-height: .6rem;
  text-align: center;
}
.list-tips {
  margin-bottom: .3rem;
  padding: .1rem;
}
.list-tips p {
  margin-bottom: .2rem;
  font-size: .22rem;
  line-height: .3rem;
  text-align: justify;
}
/* 弹窗 */
.pop {
  width: 100%;
  height: 100vh;
}
.pop-close {
  position: absolute;
  top: -0.33rem;
  right: -0.2rem;
  width: 0.66rem;
  height: 0.66rem;
  background: url('../images/close.png?1') no-repeat center center / 0.5rem auto;
  z-index: 100;
  cursor: pointer;
}
.pop-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 98;
}
.pop-box {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0.1rem 0.15rem;
  width: 92%;
  max-width: 600px;
  height: auto;
  max-height: 90vh;
  background: #ece4d9;
  border-radius: 12px;
  z-index: 99;
}
.pop-box h3 {
  padding: 0.05rem 0 0.1rem;
  font-size: 0.36rem;
  color: #322222;
  text-align: center;
  font-weight: 500;
}
.pop-box .thumb {
  margin-bottom: 0.2rem;
  height: 4.28rem;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.pop .vote-info {
  margin-bottom: 0.3rem;
  height: auto;
  max-height: calc(90vh - 6.1rem);
  overflow-y: auto;
}
.pop .vote-info .info {
  margin-bottom: 0.15rem;
}
.pop .vote-info span {
  padding: 0 0.12rem;
  margin-right: 0.12rem;
  background-color: #e0caac;
  border-radius: 0.04rem;
}
.pop .vote-info p {
  display: block;
  text-overflow: inherit;
  overflow: auto;
}
/* 底部按钮 */
.footer-btn,
.footer-blank {
  height: 1.2rem;
}
.footer-btn {
  position: fixed;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 640px;
  padding: 0 0.36rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.26rem;
  z-index: 20;
}
.footer-btn a {
  display: block;
  width: 50%;
  height: 0.66rem;
  font-size: 0.3rem;
  color: #c69d71;
  line-height: 0.62rem;
  text-align: center;
  font-weight: 500;
  background-color: #23265d;
  border: 0.02rem solid #a67c52;
}
.footer-btn a.active {
  position: relative;
  color: #24275e;
  background-color: #d3a66f;
}

@media (min-width: 640px) {
  html {
    font-size: 85.2px;
  }
}
.empty {
  padding: 1rem 0;
  width: 100%;
  font-size: 0.24rem;
  color: #d3d3d3;
  text-align: center;
}
/* 弹窗提示 */
#popTips {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999998;
}
.pop-tips-con {
  position: fixed;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 550px;
  background-color: #fff;
  border-radius: 4px;
  z-index: 999999;
}
.pop-tips-con p {
  margin: 0;
  padding: 0.3rem;
  font-size: 0.26rem;
  color: #292934;
  line-height: 0.48rem;
  text-align: center;
}
.pop-tips-con .btn {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-self: center;
  border-top: 0.02rem solid #f5f5f5;
}
.pop-tips-con .btn a {
  display: block;
  width: 100%;
  height: 0.8rem;
  font-size: 0.28rem;
  color: #1264e0;
  line-height: 0.8rem;
  text-align: center;
  text-decoration: none;
}
