.ticket {
  margin: 0 auto;
}
.main-title {
  font-size: 0.2083rem;
  font-weight: bold;
  margin: 0.3125rem auto;
}
.sub-title {
  margin-bottom: 0.1563rem;
  font-size: 0.1875rem;
}
.ticket-wrap {
  background: linear-gradient(0deg, #E6FCFF 0%, #FFFFFF 22%);
  border-radius: 40px;
  border: 2px solid #00C5DD;
  box-sizing: border-box;
  padding: 0.2604rem;
}
.ticket-wrap .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.1563rem auto;
  padding-bottom: 0.1563rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.ticket-wrap .departure {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ticket-wrap .title {
  padding: 0.0625rem 0.0833rem;
  font-size: 0.0833rem;
  color: #fff;
  border-radius: 0.1042rem;
  margin-bottom: 0.1042rem;
  background-color: #00C5DD;
  text-align: center;
}
.ticket-wrap .content {
  font-size: 0.125rem;
}
.ticket-wrap .ticket-icon {
  width: 0.8333rem;
}
.ticket-wrap .info {
  padding: 0.1823rem;
  background: #F2FAFB;
  border-radius: 10px;
}
.ticket-wrap .info-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.1042rem;
  font-size: 0.0729rem;
}
.ticket-wrap .info-left {
  display: flex;
  align-items: center;
  width: 15%;
}
.ticket-wrap .icon {
  width: 0.125rem;
  height: 0.125rem;
  margin-right: 0.0833rem;
}
.ticket-wrap .phone {
  font-size: 0.0938rem;
  font-weight: bold;
  font-family: 'D-DIN-PRO', sans-serif;
}
.ticket-wrap .btn-wrap {
  display: flex;
  align-items: center;
  margin-top: 0.2083rem;
}
.ticket-wrap .btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.0833rem;
  padding: 0 0.1563rem;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.ticket-wrap .btn:hover {
  color: #00C5DD;
}
.ticket-wrap .submit {
  position: relative;
  cursor: pointer;
  margin-left: auto;
  padding: 0.1146rem 0.2083rem;
  font-size: 0.0833rem;
  color: #fff;
  background: #00C5DD;
  border-radius: 6px;
}
.ticket-wrap .info-ercode {
  position: absolute;
  display: none;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.9rem;
  padding: 0.0781rem;
  border-radius: 10px;
  background-color: #00C5DD;
  font-size: 0.0938rem;
  color: #fff;
  text-align: center;
}
.ticket-wrap .info-ercode::before {
  content: '';
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #00C5DD;
}
.ticket-wrap .info-ercode.show {
  display: block;
}
.ticket-wrap .info-ercode img {
  width: 100%;
  margin-top: 0.1042rem;
}
.ticket-info-wrap {
  position: relative;
  background: linear-gradient(180deg, #00C5DD 0%, #FFFFFF 100%);
}
.ticket-popup .popup-content {
  width: 4.6875rem;
  padding: 0.2604rem;
  background: linear-gradient(0deg, #FFFFFF 0%, #FFFFFF 76%, #D7FBFF 100%);
  border-radius: 20px;
}
.ticket-popup .popup-content .title {
  font-size: 0.1875rem;
  margin-bottom: 0.2083rem;
  margin-top: 0;
  text-align: center;
}
.ticket-popup .popup-content p {
  font-size: 0.0729rem;
  margin-bottom: 0.1146rem;
}
.ticket-popup .popup-content .close-icon {
  position: absolute;
  top: 0;
  right: 0;
}
.ticket-popup .popup-content .close-btn {
  cursor: pointer;
  margin: 0.2083rem auto 0 auto;
  width: 0.7813rem;
  padding: 0.1146rem 0.2083rem;
  font-size: 0.0833rem;
  color: #fff;
  text-align: center;
  background: #00C5DD;
  border-radius: 6px;
}
.ticket-popup .popup-content .content {
  max-height: 1.5rem;
  overflow-y: auto;
}
.place {
  font-size: 0.1875rem;
  color: #fff;
}
.place-info {
  display: flex;
  color: #fff;
  margin: 0.1563rem auto;
}
.place-item {
  display: flex;
  align-items: center;
  font-size: 0.0729rem;
  margin-right: 0.5208rem;
}
.place-item .icon {
  width: 0.125rem;
  height: 0.125rem;
  margin-right: 0.0521rem;
}
.place-item .num {
  font-size: 0.0938rem;
  font-weight: bold;
}
.price-wrap {
  background: #FFFFFF;
  border-radius: 30px;
  padding: 0.1563rem;
  box-sizing: border-box;
}
.price-title {
  font-size: 0.125rem;
  font-weight: bold;
}
.ticket-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0.1563rem 0;
}
.ticket-item {
  box-sizing: border-box;
  width: 1.42rem;
  padding: 0.1354rem;
  margin-bottom: 0.1042rem;
  font-size: 0.0833rem;
  cursor: pointer;
  background: #F2FAFB;
  border-radius: 10px;
  border: 1px solid #00C5DD;
  margin-right: 0.1563rem;
}
.ticket-item.active {
  background: #00C5DD;
  border: 1px solid #00C5DD;
  color: #fff;
}
.ticket-item .price {
  margin-top: 0.1042rem;
  font-size: 0.125rem;
  color: #FF8B00;
  font-weight: bold;
}
.ticket-item .front {
  font-size: 0.1875rem;
  font-family: 'D-DIN-PRO', sans-serif;
}
.ticket-info {
  padding: 0.1042rem;
  margin-bottom: 0.1563rem;
  background: #F5F5F5;
  border-radius: 25px;
  font-size: 0.0729rem;
  color: #999;
}
@media screen and (max-width: 1024px) {
  .main-title {
    font-size: 0.64rem;
    padding: 0 0.5333rem;
  }
  .sub-title {
    padding: 0.5333rem;
    font-size: 0.64rem;
    margin-bottom: 0.8rem;
  }
  .ticket-wrap {
    padding: 0.3rem;
  }
  .ticket-wrap .head {
    margin: 0.8rem auto;
    padding-bottom: 0.8rem;
  }
  .ticket-wrap .title {
    padding: 0.2667rem 0.4rem;
    font-size: 0.32rem;
    margin-bottom: 0.2667rem;
  }
  .ticket-wrap .content {
    font-size: 0.48rem;
    text-align: center;
  }
  .ticket-wrap .ticket-icon {
    width: 3.2rem;
  }
  .ticket-wrap .info {
    padding: 0.4rem;
  }
  .ticket-wrap .info-item {
    font-size: 0.32rem;
    margin-bottom: 0.2667rem;
  }
  .ticket-wrap .info-left {
    width: 40%;
  }
  .ticket-wrap .info-right {
    width: 60%;
  }
  .ticket-wrap .phone {
    font-size: 0.5333rem;
  }
  .ticket-wrap .icon {
    width: 0.4rem;
    height: 0.4rem;
    margin-right: 0.2667rem;
  }
  .ticket-wrap .btn-wrap {
    flex-wrap: wrap;
    margin-top: 1.0667rem;
  }
  .ticket-wrap .btn {
    box-sizing: border-box;
    width: 50%;
    font-size: 0.3733rem;
    padding: 0 0.5333rem;
  }
  .ticket-wrap .submit {
    font-size: 0.3733rem;
    padding: 0.2667rem 0.8rem;
  }
  .ticket-wrap .info-ercode {
    top: -5.2rem;
    padding: 0.4rem;
    width: 3.2rem;
    font-size: 0.3733rem;
  }
  .ticket-wrap .info-ercode img {
    margin-top: 0.2667rem;
  }
  .ticket-wrap .info-ercode::before {
    bottom: -0.3rem;
  }
  .ticket-wrap .submit {
    width: 100%;
    margin: 0.5333rem 0;
    text-align: center;
  }
  .ticket-popup .popup-content {
    width: 70%;
    padding: 0.8rem;
  }
  .ticket-popup .popup-content .title {
    font-size: 0.64rem;
    margin-bottom: 0.8rem;
  }
  .ticket-popup .popup-content p {
    font-size: 0.32rem;
    margin-bottom: 0.5333rem;
  }
  .ticket-popup .popup-content .close-btn {
    margin: 0.8rem auto 0 auto;
    font-size: 0.3733rem;
    width: 80%;
    padding: 0.2667rem 0;
  }
  .ticket-info-wrap {
    border-radius: 20px;
  }
  .place {
    font-size: 0.5333rem;
  }
  .place-info {
    width: 100%;
    flex-wrap: wrap;
    margin: 0.5333rem auto;
  }
  .place-item {
    font-size: 0.32rem;
  }
  .place-item .num {
    font-size: 0.4267rem;
  }
  .price-wrap {
    border-radius: 0.2667rem;
    padding: 0.5333rem;
  }
  .ticket-info {
    padding: 0.2667rem;
    margin-bottom: 0.5333rem;
    font-size: 0.32rem;
  }
  .price-title {
    font-size: 0.4267rem;
  }
  .ticket-list {
    margin: 0.8rem 0;
  }
  .ticket-item {
    width: 43%;
    margin-bottom: 0.5333rem;
    margin-right: 0.5333rem;
    padding: 0.5333rem;
    font-size: 0.3733rem;
  }
  .ticket-item .price {
    font-size: 0.64rem;
    margin-top: 0.32rem;
  }
  .ticket-item .front {
    font-size: 0.8rem;
  }
  .ticket-popup .popup-content .content {
    max-height: 6rem;
  }
}


.ticket-wrap .info-ercode {
  top: -1.2rem;
}
.ticket-wrap .info-ercode img {
  margin-top: 0;
}
.ticket-wrap .btn-container {
  display: flex;
  align-items: center;
  gap: 0.2083rem;
  margin-left: auto;
}
.ticket-wrap .check-btn {
  background-color: #fff;
  border: 1px solid #00C5DD;
  color: #00C5DD;
  transition: all 0.3s ease-in-out;
}
.ticket-wrap .check-btn:hover {
  background-color: #00C5DD;
  color: #fff;
}


@media screen and (max-width: 1024px) {
  .ticket-wrap .info-ercode {
    top: -5.2rem;
  }
  .ticket-wrap .btn-container {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }
  .ticket-wrap .submit {
    white-space: nowrap;
  }
}