/* 检索框 */
.flights-searcher {
  position: relative;
  border-bottom: 1px solid #E5E7EB;
}

#flights-searcher-placeholder{
  display: none;
}

#flights-searcher-placeholder.fixed{
  display: block;
  width: 100%;
  height: 161px;
}

.flights-searcher-box {
  width: 100%;
  padding-top: 0;
  border-radius: 0;
  background-color: #E5E7EB;
  transition: transform .3s ease;
}

#flights-searcher-box.fixed{
  position:fixed;
  top:0;
  left:0;
  z-index:1000;
  background-color: white;
  box-shadow: 0 4px 16px -4px rgba(69, 88, 115, .2);
}

#flights-searcher-smart-placeholder.fixed{
  display: none
}


.flights-searcher-box-form {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 0px;
}

/* Desktop search form: keep all search fields and the CTA on one row. */
@media screen and (min-width: 1100px) {
  #flights-searcher-box:not(.fixed) {
    padding: 12px 0 0;
    background-color: #F7F8FA;
  }

  #flights-searcher-box:not(.fixed) .flights-searcher-box-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 14px;
    row-gap: 10px;
    align-items: end;
    padding: 12px 16px 16px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
  }

  #flights-searcher-box:not(.fixed) .top-searcher-box-form-tab {
    grid-column: 1 / -1;
  }

  #flights-searcher-box:not(.fixed) #top-searcher-box-form-box {
    min-width: 0;
  }

  #flights-searcher-box:not(.fixed) .top-searcher-box-form-condition {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(190px, 1fr) minmax(330px, 1.5fr) minmax(180px, 1fr);
    gap: 10px;
    margin-top: 0;
    min-width: 0;
  }

  #flights-searcher-box:not(.fixed) .top-searcher-box-form-condition > .top-searcher-box-form-condition-add {
    min-width: 0;
    margin-left: 0 !important;
  }

  #flights-searcher-box:not(.fixed) .top-searcher-box-form-condition-add-input,
  #flights-searcher-box:not(.fixed) .top-date-range-row #datepicker,
  #flights-searcher-box:not(.fixed) .top-date-range-row #datepicker2 {
    width: 100% !important;
    min-width: 0;
  }

  #flights-searcher-box:not(.fixed) .top-date-range-row {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  #flights-searcher-box:not(.fixed) .top-searcher-box-form-btn {
    margin-top: 0;
    align-items: center;
  }

  #flights-searcher-box:not(.fixed) .top-searcher-box-form-btn-search {
    margin-left: 0;
  }

  /* 多程模式的“添加航班”和搜索按钮不能互相挤压或重叠。 */
  #flights-searcher-box:not(.fixed) .top-searcher-box-form-btn {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
    white-space: nowrap;
  }

  #flights-searcher-box:not(.fixed) .top-searcher-box-form-btn-mul {
    flex: 0 0 auto;
    margin-right: 0;
  }

  #flights-searcher-box:not(.fixed) .top-searcher-box-form-btn-search {
    flex: 0 0 150px;
  }

  /* 多程会多出“添加航班”按钮，字段区必须使用更紧凑的列宽。 */
  #flights-searcher-box:not(.fixed) .flights-searcher-box-form:has(input[name="fruit"][value="Multicity"]:checked) .top-searcher-box-form-condition {
    grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) minmax(220px, 1.3fr) minmax(150px, .9fr);
    margin-top: 5px;
  }

  #flights-searcher-box:not(.fixed) .flights-searcher-box-form:has(input[name="fruit"][value="Multicity"]:checked) #top-searcher-box-form-box > .top-searcher-box-form-condition:first-child {
    margin-top: 0;
  }

  #flights-searcher-box:not(.fixed) .flights-searcher-box-form:has(input[name="fruit"][value="Multicity"]:checked) .top-searcher-box-form-btn-mul {
    min-height: 60px;
    padding: 0 14px;
    border: 1px solid #2C61FE;
    border-radius: 6px;
    background: #FFFFFF;
  }

  #flights-searcher-box:not(.fixed) .flights-searcher-box-form:has(input[name="fruit"][value="Multicity"]:checked) .top-searcher-box-form-btn-mul:hover {
    background: #EEF3FF;
  }

  #flights-searcher-box:not(.fixed) .top-searcher-box-form-tab .direct_flights_only_checkbox {
    margin-left: 8px;
    padding-left: 24px;
    border-left: 1px solid #E5E7EB;
  }
}

@media screen and (max-width: 767px) {
  #flights-searcher-box .top-searcher-box-form-tab {
    flex-wrap: wrap;
  }

  #flights-searcher-box .top-searcher-box-form-tab .direct_flights_only_checkbox {
    flex-basis: 100%;
    margin-top: 10px;
  }
}

/* 条件 + 结果 */
.flights-content {
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 0;
  position: relative;
}

/* 结果列表 */
.flights-content-result {
  float: right;
  border: none;
  width: 880px;
  min-height: 100vh;
  margin-bottom: 20px;
}

.flights-content-result-nav{
  color: #ffffff;
  background: linear-gradient(to right, #03205a, #2C61FE);
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  line-height: 21px;
}

.flights-content-result-nav-list{
  background: hsla(0, 0%, 100%, .9);
  color: black;
  padding: 4px;
  width: 100%;
  margin-top: 6px;
  border-radius: 6px;
  display: flex;
}

.flights-content-result-nav-list-num{
  color: white;
  background-color: #2C61FE;
  border-radius: 6px;
  padding: 0px 8px;
  text-align: center;
  line-height: 24px;
  font-size: 14px;
  margin-right: 10px;
}

.flights-content-result-nav-list-edit{
  color: #2C61FE;
  font-size: 14px;
  margin-left:auto;
  line-height: 24px;
  margin-right: 6px;
  cursor: pointer;
}

.flights-content-result-nav-list-flight{
  line-height: 24px;
}

.flights-icon-small{
  width: 18px;
  margin: 0 10px;
}

.flights-content-result-tab {
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 0px;
  width: 100%;
}

.flights-content-result-tab-smart{
  display: none;
}

.flights-content-result-tab-smart-pulldown{
  display: none;
}

.flights-content-result-tab-baggage-pulldown{
  display: none;
}

.flights-content-result-tab-baggage-pulldown{
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10000;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.flights-content-result-tab-baggage-pulldown.show{
  opacity: 1;
  visibility: visible;
}

.flights-content-result-tab-baggage-pulldown-box{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 35%;
  min-width: 670px;
  height: 100dvh;
  background-color: #fff;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.flights-content-result-tab-baggage-pulldown.show .flights-content-result-tab-baggage-pulldown-box{
  transform: translateX(0);
}

.flights-content-result-tab-baggage-pulldown-header{
  position: relative;
  height: 56px;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.flights-content-result-tab-baggage-pulldown-title{
  font-size: 16px;
  font-weight: 500;
  color: #1F2937;
  line-height: 1;
}

.flights-content-result-tab-baggage-pulldown-list{
  background: #fff;
  padding-bottom: env(safe-area-inset-bottom);
  padding: 16px 24px;
}

.baggage-list-title{
  font-size: 18px;
  font-weight: bold;
}

.baggage-list-title-sub{
  display: flex; 
  align-items: center;
  font-size: 12px;
}

.baggage-list-title-sub span{
  font-size: 12px;
  margin-left: 10px;
}

.baggage-lists{
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 一行2个 */
  gap: 16px; /* 横向和纵向间距都一样 */
  margin-top: 10px;
  margin-bottom: 20px;
}

.baggage-lists-option{
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  box-sizing: border-box;
  height: 100%; /* 配合 grid 拉齐高度 */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.baggage-lists-btn{
  padding: 0 16px;
  border: none;
  border-radius: 6px;
  background: #2C61FE;
  font-size: 16px;
  font-weight: 600;
  line-height: 140%;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  line-height: 44px;
  width: 100%;
  text-align: center;
  margin-top: auto;
  transition: all 0.1s;
  -webkit-user-select: none;
  user-select: none;
}

.baggage-lists-btn:hover{
  background-color: #2C61FE;
}

.baggage-lists-price{
  font-size: 14px;
}

.baggage-lists-price span:nth-child(1){
  font-weight: bold;
  font-size: 24px;
}

.baggage-lists-title{
  font-size: 14px;
}

.baggage-lists-service{
  margin: 6px 0;
}

.baggage-lists-service div{
  font-size: 14px;
  line-height: 24px;
}

.baggage-lists-service-box{
  display: flex;
  align-items: center;
}

.baggage-lists-service-right{
  color: #16A34A;
  width: 26px;
}

.baggage-lists-service-wrong{
  color: #F06703;
  width: 26px;
}


.flights-content-result-tab-card ul{
  border-right: 1px solid #E5E7EB;
}

.flights-content-result-tab-card ul li {
  list-style: none;
  font-size: 14px;
  word-break: break-all;
  font-weight: bold;
}

.flights-content-result-tab-card ul li:nth-child(2) {
  font-size: 14px;
  font-weight: 500;
  color: #667085;
}

.flights-date-range-button-date-text{
  margin-bottom: 4px;
}

/* 春秋选座弹窗遮罩 */
.flights-content-result-tab-baggage-pulldown{
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10000;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.flights-content-result-tab-baggage-pulldown.show{
  opacity: 1;
  visibility: visible;
}

.flights-content-result-tab-baggage-pulldown-box{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 35%;
  min-width: 670px;
  height: 100dvh;
  background-color: #fff;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.flights-content-result-tab-baggage-pulldown.show .flights-content-result-tab-baggage-pulldown-box{
  transform: translateX(0);
}

.flights-content-result-tab-baggage-pulldown-header{
  position: relative;
  height: 56px;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.flights-content-result-tab-baggage-pulldown-title{
  font-size: 16px;
  font-weight: 500;
  color: #1F2937;
  line-height: 1;
}

.flights-content-result-tab-baggage-pulldown-list{
  background: #fff;
  padding-bottom: env(safe-area-inset-bottom);
  padding: 16px 24px;
}

.baggage-list-title{
  font-size: 18px;
  font-weight: bold;
}

.baggage-list-title-sub{
  display: flex; 
  align-items: center;
  font-size: 12px;
}

.baggage-list-title-sub span{
  font-size: 12px;
  margin-left: 10px;
}

.baggage-lists{
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 一行2个 */
  gap: 16px; /* 横向和纵向间距都一样 */
  margin-top: 10px;
  margin-bottom: 20px;
}

.baggage-lists-option{
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  box-sizing: border-box;
  height: 100%; /* 配合 grid 拉齐高度 */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.baggage-lists-btn{
  padding: 0 16px;
  border: none;
  border-radius: 6px;
  background: #2C61FE;
  font-size: 16px;
  font-weight: 600;
  line-height: 140%;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  line-height: 44px;
  width: 100%;
  text-align: center;
  margin-top: auto;
  transition: all 0.1s;
  -webkit-user-select: none;
  user-select: none;
}

.baggage-lists-btn:hover{
  background-color: #2C61FE;
}

.baggage-lists-price{
  font-size: 14px;
}

.baggage-lists-price span:nth-child(1){
  font-weight: bold;
  font-size: 24px;
}

.baggage-lists-title{
  font-size: 14px;
}

.baggage-lists-service{
  margin: 6px 0;
}

.baggage-lists-service div{
  font-size: 14px;
  line-height: 24px;
}

.baggage-lists-service-box{
  display: flex;
  align-items: center;
}

.baggage-lists-service-right{
  color: #16A34A;
  width: 26px;
}

.baggage-lists-service-wrong{
  color: #F06703;
  width: 26px;
}

.flights-content-result-tab-card {
  background: #fff;
  color: black;
  width: 20%;
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari */
  user-select: none;
  text-align: center;
  padding-bottom: 10px;
  padding-top: 10px;
  box-sizing: border-box !important;
}

.flights-content-result-tab-card ul{
  border-right: 1px solid #E5E7EB;
}

.flights-content-result-tab-card ul li {
  list-style: none;
  font-size: 14px;
  word-break: break-all;
  font-weight: bold;
}

.flights-content-result-tab-card ul li:nth-child(2) {
  font-size: 14px;
  font-weight: 500;
  color: #667085;
}

.flights-date-range-button-date-text{
  margin-bottom: 4px;
}

/* login广告 */
.flights-content-result-login{
  background: url(/img/top/bgimg.png) right 30px center / 140px repeat, linear-gradient(90deg, #03205a, #2C61FE);
  color: white;
  font-size: 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  margin-bottom: 10px;
}

.flights-content-result-login-word{
  display: flex;
  align-items: center;
  justify-content: center;
}

.flights-content-result-login-word img{
  width: 32px;
  margin-right: 10px;
}

.flights-content-result-login-btn{
  width: 105px;
  height: 32px;
  line-height: 32px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  border-radius: 20px;
  transition: all 0.3s ease;
}

/* 机票与酒店联动提示 - 航线轨迹与经纬波浪 SVG 纹理 */
.flights-hotel-promo{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  padding: 9px 18px;
  margin-bottom: 10px;
  background-color: #062361;
  background-image: linear-gradient(to right, #03205a, #2C61FE);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(3, 32, 90, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flights-hotel-promo::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -5%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(44, 97, 254, 0.3) 0%, rgba(44, 97, 254, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
}

.flights-hotel-promo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='60' viewBox='0 0 120 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 Q 30 5, 60 20 T 120 20' fill='none' stroke='%23ffffff' stroke-opacity='0.09' stroke-width='1.2' stroke-dasharray='3 3'/%3E%3Cpath d='M0 40 Q 30 25, 60 40 T 120 40' fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1' stroke-dasharray='4 4'/%3E%3Cpath d='M-20 50 Q 20 10, 80 50 T 160 50' fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1.5'/%3E%3Ccircle cx='60' cy='20' r='2' fill='%23FFB800' fill-opacity='0.35'/%3E%3Ccircle cx='120' cy='20' r='1.5' fill='%23ffffff' fill-opacity='0.45'/%3E%3C/svg%3E");
  background-size: 120px 60px;
  background-repeat: repeat;
  pointer-events: none;
  opacity: 0.95;
}

.flights-hotel-promo:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(3, 32, 90, 0.16);
}

.flights-hotel-promo-main{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}

.flights-hotel-promo-icon{
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-right: 12px;
  color: #FFF;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.flights-hotel-promo-copy{
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.flights-hotel-promo-tag{
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 18px;
  padding: 0 8px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #F06703 0%, #FF8A36 100%);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 18px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(240, 103, 3, 0.3);
  flex-shrink: 0;
}

.flights-hotel-promo-tag i {
  font-size: 9px;
}

.flights-hotel-promo-copy h3{
  overflow: hidden;
  margin: 0;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.1px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flights-hotel-promo-copy p{
  overflow: hidden;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11.5px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flights-hotel-promo-btn{
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 104px;
  height: 32px;
  padding: 0 16px;
  color: #03205A;
  background: #FFFFFF;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
  transition: all 0.25s ease;
}

.flights-hotel-promo-btn i {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.flights-hotel-promo-btn:hover{
  color: #FFFFFF;
  background: #F06703;
  box-shadow: 0 4px 14px rgba(240, 103, 3, 0.4);
}

.flights-hotel-promo-btn:hover i {
  transform: translateX(3px);
}

.flights-hotel-promo-btn:active{
  transform: translateY(0);
  box-shadow: 0 6px 20px rgba(240, 103, 3, 0.45);
  transform: translateY(-2px);
}

.flights-hotel-promo-btn:hover i {
  transform: translateX(4px);
}

.flights-hotel-promo-btn:active{
  transform: translateY(0);
}

/* 选中状态背景色 */
.flights-date-range-button.active {
  border-bottom: 2px solid #2C61FE;
  background-color: #EEF3FF;
}

.flights-content-result-tab-card.active ul li:nth-child(2) {
  border-bottom: 2px solid black;
}

.flights-content-result-tab-card.active ul li:nth-child(1) {
  color:#2C61FE
}

.flights-content-result-tab-card ul:hover{
  color:#2C61FE
}

.flights-date-range-button:hover{
  color:#2C61FE
}

/* 价格区间 */

.flights-date-range-container{
  width: 100%;
  margin-bottom: 10px;
}

.flights-date-range{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flights-date-range li{
  list-style: none;
  width: 13.5%;
}

.flights-date-range-button{
  padding: 8px;
  border-radius: 6px;
  background-color: #fff;
  border: 1px solid #667085;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  cursor: pointer;
}

.flights-date-range-button.active{
  border: 2px solid #1F2937;
}

/*结果列表*/

.flights-content-result-lists {
  border-top: none;
  width: 100%;
  border-collapse: separate;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.flights-content-result-list {
  background: #fff;
  width: 100%;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #E5E7EB;
  overflow: hidden
}

.flights-content-result-list:hover{
  border: 1px solid #2C61FE;
}

.flights-content-result-list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  width: 25%;
}

.flights-content-result-list-title-airline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 14px;
}

.flights-content-result-list-title-airline-logo {
  margin-right: 10px;
  margin-bottom: 4px;
}

.flights-content-result-list-title-airline-logo-mini {
  margin-right: 10px;
  height: 20px;
}

.flights-content-result-list-title-airline-icon{
  margin-left: 6px;
  height: 20px;
}

.flights-content-result-list-title-price {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  display: none;
}

.flights-content-result-list-title-price-num {
  color: #DC2626;
  font-weight: 700;
  font-size: 20px;
  margin-left: 10px;
}

.flights-content-result-list-line {
  height: 1px;
  width: calc(100% - 24px);
  margin: 0 auto;
  background-color: #E5E7EB;
}

.flights-content-result-list-flight {
  padding: 10px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.flights-content-result-list-flight-left {
  width: 40%;
}

.flights-content-result-list-flight-left-oil{
  display: none;
}

.flights-content-result-list-flight-right {
  width: 35%;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.flights-content-result-list-flight-right-oil{
  font-size: 12px;
  color: #2C61FE;
}

.flights-content-result-list-flight-right-word{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  margin-right: 10px;
  margin-left: 15px;
}

.flights-content-result-list-flight-right-des{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.flights-content-result-list-flight-left-airline-title {
  font-weight: bold;
  color: black;
  font-size: 16px;
  margin-bottom: 4px;
}

.flights-content-result-list-flight-left-airline-title span {
  font-weight: normal;
  color: black;
  font-size: 14px;
}

.flights-content-result-list-flight-left-airline-journey {
  display: flex;
}

.flights-content-result-list-flight-left-airline-journey-airport {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-size: 14px;
  color: rgb(115, 115, 115);
  width: 30%;
  line-height: 20px;
}

.flights-content-result-list-flight-left-airline-journey-airport2 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  font-size: 14px;
  color: rgb(115, 115, 115);
  width: 30%;
  line-height: 20px;
}

.flights-content-result-list-flight-left-airline-journey-airport span {
  font-size: 18px;
  font-weight: bold;
  color: black;
  margin-bottom: 2px;
}

.flights-content-result-list-flight-left-airline-journey-airport2 span {
  font-size: 18px;
  font-weight: bold;
  color: black;
  margin-bottom: 2px;
}

.flights-content-result-list-flight-left-airline-journey-airport-time_arrow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40%;
  font-size: 14px;
  color: rgb(115, 115, 115);
  line-height: 30px;
  padding: 0 10px;
}

.flights-content-result-list-flight-left-airline-journey-airport-time_arrow_line {
  height: 1px;
  width: 100%;
  background-color: #667085;
  position: relative;
}

.flights-content-result-list-flight-left-airline-journey-airport-time_arrow_line-transferNum{
  position: absolute;
  top:90%;
  left: 50%;
  transform: translate(-50%,-90%);
  white-space: nowrap;
}

.flights-content-result-list-flight-left-airline-journey-airport-time_arrow_line svg {
  position: absolute;
  top: -2px;
  right: -4px;
}

.flights-content-result-list-flight-right-seat {
  width: 100%;
  border-radius: 30px;
  border: 1px solid #2C61FE;
  color: #2C61FE;
  font-size: 14px;
  text-align: center;
  margin-bottom: 17px;
  -webkit-user-select: none; /* Safari */
  user-select: none;
  display: none;
}

.flights-content-result-list-flight-right-price {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 0px;
}

.flights-content-result-list-flight-right-headcount {
  font-size: 14px;
}

.flights-content-result-list-flight-right-btn {
  width: 60%;
  height: auto;
  background: #2C61FE;
  color: #fff;
  padding: 10px 12px;
  border: none;
  display: inline-block;
  text-align: center;
  font-size: 14px !important;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  margin-bottom: 10px;
  cursor: pointer;
  white-space: nowrap;
  min-width: 100px;
}

.flights-content-result-list-flight-right-btn:hover{
  background-color: #2C61FE;
}

.flights-content-result-list-flight-right-down {
  color: #2C61FE;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.flights-content-result-list-details {
  background-color: #F7F8FA;
}

.flights-content-result-list-details-airline{
  border-top: 1px dotted #E5E7EB;
  padding: 20px;
}

.flights-content-result-list-details-airline-title{
  width: 100%;
  display: flex;
  align-items: center;
  align-content: center;
}

.flights-content-result-list-details-airline-title div:nth-child(1){
  font-size: 10pt;
  font-weight: 700;
  color: #2C61FE;
  margin-right: 50px;
}

.flights-content-result-list-details-airline-title div:nth-child(2){
  font-size: 10pt;
  margin-right: 20px;
}

.flights-content-result-list-details-airline-title div:nth-child(3){
  font-size: 10pt;
  margin-right: 20px;
}

.flights-content-result-list-details-airline-title div:nth-child(4){
  font-size: 10pt;
  color: #667085;
}

.flights-content-result-list-details-airline-cabin{
  width: 100%;
  padding: 10px 0 4px 76px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.flights-content-result-list-details-airline-cabin div:nth-child(2){
  margin-left: 4px;
}

.flights-content-result-list-details-airline-cabin-site{
  margin-left: 8px;
  color: #667085;
}

.flights-content-result-list-details-airline-cabin-disclosure{
  margin-left: 8px;
  color:#DC2626
}

.flights-content-result-list-details-airline-journey{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  width: 100%;
  padding: 10px 0 10px 76px;
}

.flights-content-result-list-details-airline-journey-date{
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 12px;
  width: 24%;
  line-height: 16px;
}

.flights-content-result-list-details-airline-journey-date div span{
  font-size: 16px;
  line-height: 16px;
  margin-left: 12px;
}

.flights-content-result-list-details-airline-journey-arrow{
  height: 100%;
  width: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.flights-content-result-list-details-airline-journey-arrow img{
  width: 12px;
}

.flights-content-result-list-details-airline-journey-arrow div{
  width: 2px;
  height: 40px;
  background-color: #2C61FE;
}

.flights-content-result-list-details-airline-journey-airport{
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 12px;
  width: 50%;
}

.flights-content-result-list-details-airline-journey-time{
  font-size: 12px;
  line-height: 16px;
  width: 16%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.flights-content-result-list-details-airline-journey-time img{
  width: 12px;
  margin-right: 4px;
}

/* 筛选条件 */
.flights-content-refine {
  width: 300px;
  float: left;
}

.flights-content-refine-box {
  width: 100%;
  background-color: #E5E7EB;
  padding: 20px 15px;
  border-radius: 6px;
  border: 1px solid #E5E7EB;
}

.flights-content-refine-box-title {
  padding: 8px 10px;
  font-size: 14px;
  line-height: 14px;
  font-weight: bold;
}

.flights-content-refine-box-title-option{
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.flights-content-refine-box-title-option-btn{
  font-size: 14px;
  margin-right: 10px;
  color: #2C61FE;
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari */
  user-select: none;
}

.flights-content-refine-box-node{
  padding-bottom: 10px;
  border-bottom: 1px solid #E5E7EB;
}

.flights-content-refine-box-node-time{
  background: #fff;
  border-radius: 52px;
  width: 85%;
  margin: 8px auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  padding: 8px;
  display: none;
}

.flights-content-refine-box-node-title{
  width: 85%;
  margin: 14px 10px;
  font-size: 12px;
  font-weight: bold;
  display: none;
}

.flights-content-refine-box-node-select{
  width: 100%;
  padding: 8px 10px;
  margin-left: auto;
  margin-right: auto;
}

.flights-content-refine-box-node-select-location{
  display: flex;
  font-size: 12px;
}

.flights-content-refine-box-node-select-location img{
  width: 18px;
  height: 16px;
  margin-right: 2px;
}

.flights-content-refine-box-node-time-btn{
  color: black;
  background: none;
  border-radius: 36px;
  font-family: HiraginoSans-W6;
  width: 48%;
  height: 36px;
  line-height: 36px;
  -webkit-user-select: none; /* Safari */
  user-select: none;
}

.flights-content-refine-box-node-time-btn.active{
  color: white;
  background: none;
  border-radius: 36px;
  font-family: HiraginoSans-W6;
  width: 48%;
  height: 36px;
  line-height: 36px;
  background: #2C61FE;
}

.flights-content-refine-box-node-time-btn:not(.active):hover {
  background: #fff;
  cursor: pointer;
}

.flights-content-refine-box-node-transfer{
  width: 100%;
  padding: 0px 10px 8px 10px;
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.checkbox-label-transfer{
  display: flex;
  margin-top: 10px;
  cursor: pointer;
}

.checkbox-label-transfer input{
  margin-right: 10px;
  width: 16px;
  cursor: pointer;
}

.checkbox-label-transfer:hover{
  opacity: 0.6;
}

.checkbox-label-airline{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  cursor: pointer;
}

.checkbox-label-airline-name input{
  margin-right: 10px;
  width: 16px;
  cursor: pointer;
}

.checkbox-label-airline:hover{
  opacity: 0.6;
}

input[type="checkbox"]{
  transform: scale(1.4);   /* 1.4倍大小 */
}

.flights-content-refine-box-node-select-datepicker{
  display: flex;
  gap: 2px;
  width: 100%;
  margin-top: 16px;
  margin-bottom: 18px;
}

.flights-content-card-radio {
  cursor: pointer;
  width: 20%;
}

.flights-content-card-radio input[type="radio"] {
  display: none; /* 隐藏原生radio的小圆点 */
}

.flights-content-card-radio .flights-content-card {
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  padding: 3px;
  text-align: center;
  font-size: 10px;
  background: #ffffff;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #1F2937;
  -webkit-user-select: none; /* Safari */
  user-select: none;
}

.flights-content-card-radio input[type="radio"]:checked + .flights-content-card {
  background: #2C61FE;
  color: #fff;
}

/* 手机用筛选菜单栏 */
.flights-smart-refine{
  display: none;
}

.flights-smart-refine-close{
  display: none;
}

/* 手机用检索航程一览 */
.flights-searcher-smart-flight{
  display: none;
  -webkit-user-select: none; /* Safari */
  user-select: none;
  background-color: white;
  transition: transform .3s ease;
}

input[type="radio"] {
  accent-color: #03205A; /* 你想要的颜色 */
}

.flights-content-result-list-flight-left-logo-smart{
  display: none;
}

#flights-content-result-nav-list1{
  display: none;
}

#flights-content-result-nav-list2{
  display: none;
}

.flights-content-result-list-flight-left-baggage{
  font-size: 12px;
  color: #2C61FE;
  margin-top: auto;
}

.flights-content-result-list {
  position: relative;
}

/* 结果卡左上角标签 */
.flight-result-badges {
  position: absolute;
  top: -1px;
  left: -1px;
  z-index: 5;

  display: flex;
  align-items: flex-start;
  gap: 4px;

  pointer-events: none;
}

/* 最安値 / おすすめ / 7% OFF 小角标共通样式 */
.flight-cheapest-badge,
.flight-china-carrier-badge,
.flight-cx-recommended-badge {
  position: static;
  z-index: 5;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 22px;
  padding: 0 10px;

  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;

  border-radius: 6px 0 6px 0;
  pointer-events: none;
}

/* 最安値 */
.flight-cheapest-badge {
  background: linear-gradient(135deg, #03205A, #2C61FE);
}

/* 7% OFF */
.flight-china-carrier-badge {
  background: linear-gradient(135deg, #F59E0B, #F59E0B);
}

/* CX 往返最低价推荐 */
.flight-cx-recommended-badge {
  background: linear-gradient(135deg, #F06703, #FF8A36);
}
@media screen and (max-width: 767px){
  .flights-searcher-box-form {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 20px;
    background-color: white;
  }

  .flights-content-result-tab-smart-pulldown{
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    width: 100%;
    height: 100dvh;
    background-color: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .flights-content-result-tab-smart-pulldown.show{
    opacity: 1;
    visibility: visible;
  }

  .flights-content-result-tab-smart-pulldown-box{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.28s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  }

  .flights-content-result-tab-smart-pulldown.show .flights-content-result-tab-smart-pulldown-box{
    transform: translateY(0);
  }

  .flights-content-result-tab-smart-pulldown-header{
    position: relative;
    height: 56px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
  }

  .flights-content-result-tab-smart-pulldown-title{
    font-size: 16px;
    font-weight: 500;
    color: #1F2937;
    line-height: 1;
  }

  .flights-content-result-tab-smart-pulldown-list{
    background: #fff;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .flights-content-result-tab-baggage-pulldown{
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    width: 100%;
    height: 100dvh;
    background-color: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .flights-content-result-tab-baggage-pulldown.show{
    opacity: 1;
    visibility: visible;
  }

  .flights-content-result-tab-baggage-pulldown-box{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    min-width: 100%;
    height: auto;
    background-color: #fff;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.28s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  }

  .flights-content-result-tab-baggage-pulldown.show .flights-content-result-tab-baggage-pulldown-box{
    transform: translateY(0);
  }

  .flights-content-result-tab-baggage-pulldown-header{
    position: relative;
    height: 56px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
  }

  .flights-content-result-tab-baggage-pulldown-title{
    font-size: 16px;
    font-weight: 500;
    color: #1F2937;
    line-height: 1;
  }

  .flights-content-result-tab-baggage-pulldown-list{
    background: #fff;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .baggage-lists-box{
    width: 100%;
    overflow-x: scroll;
  }

  .baggage-lists{
    width: 160%;
  }

  .sort-option{
    min-height: 54px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    color: #1F2937;
    border-bottom: 1px solid #E5E7EB;
    box-sizing: border-box;
    cursor: pointer;
  }

  .sort-option:last-child{
    border-bottom: none;
  }

  .sort-option.active{
    color: #2C61FE;
  }

  .sort-check{
    font-size: 20px;
    line-height: 1;
    color: #2C61FE;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
  }

  .sort-option.active .sort-check{
    opacity: 1;
    transform: scale(1);
  }
  .flights-content-result-tab-smart{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    margin: 10px 10px 0 10px;
    font-size: 13px;
  }

  .flights-content-result-tab-smart-box{
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .flights-content-result-tab-smart-svg{
    height: 13px;
    margin-right: 4px;
  }
  
  .flights-content-result-list-flight{
    display: flex;
    align-items: stretch;
    justify-content: space-between;
  }

  .flights-content-result-list-flight-left{
    width: 60%;
    display: flex;
    flex-direction: column;
  }

  .flights-content-result-list-flight-left-logo-smart{
    display: flex;
    justify-content: flex-start;
    font-size: 14px;
    font-size: 14px;
  }

  .flights-date-range-container{
    display: none;
  }

  .flights-content-result-tab{
    display: none;
  }

  .flights-content-result-nav{
    padding: 10px;
    margin: 10px;
  }

  .flights-content-result-login{
    margin: 0 10px;
  }

  .flights-icon-small{
    margin: 0;
  }

  .flights-content-result-login{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .flights-content-result-login-btn{
    width: 100%;
    margin-top: 10px;
  }

  .flights-hotel-promo{
    align-items: center;
    gap: 10px;
    margin: 0 10px 10px;
    padding: 10px 12px;
    width: auto;
    background-color: #FFFFFF;
    background-image: 
      radial-gradient(#2C61FE 0.6px, transparent 0.6px),
      linear-gradient(135deg, #FFFFFF 0%, #F0F5FF 100%);
    background-size: 14px 14px, 100% 100%;
    border: 1px solid #DCE6FF;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(44, 97, 254, 0.06);
  }

  .flights-hotel-promo::before,
  .flights-hotel-promo::after {
    display: none;
  }

  .flights-hotel-promo-icon{
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin-right: 9px;
    color: #2C61FE;
    background: rgba(44, 97, 254, 0.08);
    border: 1px solid rgba(44, 97, 254, 0.18);
    border-radius: 8px;
    font-size: 15px;
    box-shadow: none;
  }

  .flights-hotel-promo-copy h3{
    margin-top: 0;
    color: #03205A;
    font-size: 13px;
  }

  .flights-hotel-promo-copy p{
    color: #667085;
    font-size: 11px;
  }

  .flights-hotel-promo-btn{
    align-self: center;
    min-width: 86px;
    height: 32px;
    padding: 0 10px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #2C61FE 0%, #1A4BD6 100%);
    border: 0;
    font-size: 11.5px;
    line-height: 32px;
    box-shadow: 0 2px 6px rgba(44, 97, 254, 0.25);
  }

    /* 筛选条件 */
  .flights-content-refine {
    width: 100%;
    background-color: #E5E7EB;
  }

  /* 条件 + 结果 */
  .flights-content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 !important;
    position: relative;
  }

  /* 结果列表 */
  .flights-content-result {
    border: none;
    width: 100%;
    min-height: 100vh;
    margin-bottom: 20px;
  }

  .flights-content-result-tab-card ul li:nth-child(2) {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 0 4px 16px;
    color: #2C61FE;
    font-weight: bold;
  }

  .flights-content-result-list-title{
    display: none;
  }

  .flights-content-result-list-flight-left-airline-journey-airport{
    display: flex;
    flex-direction: column;
    align-items: self-start;
  }

  .flights-content-result-list-flight-left-airline-journey-airport2{
    display: flex;
    flex-direction: column;
    align-items: self-end;
  }

  .flights-content-result-list-flight-left-airline-journey-airport span{
    font-size: 14px;
  }

  .flights-content-result-list-flight-left-airline-journey-airport2 span{
    font-size: 14px;
  }


  .flights-content-result-list-flight-right{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    height: auto;
  }

  .flights-content-result-list-flight-right-btn{
    font-size: 12px !important;
    padding: 8px 6px;
    margin-bottom: 0px;
  }

  .flights-content-result-list-flight-right-des{
    display: contents;
  }

  .flights-content-result-list-flight-right{
    width: 40%;
    display: flex;
    flex-direction: column;   /* 关键：纵向 */
    align-items: flex-end;    /* 右对齐 */
    justify-content: space-between;
    gap: 6px;
  }

  /* 扁平化后，btn/down 会和 word 同级参与布局 */
  .flights-content-result-list-flight-right-btn{
    order: 1;                 /* 放最上 */
  }

  .flights-content-result-list-flight-right-word{
    order: 2;
  }

  .flights-content-result-list-flight-right-down{
    order: 3;
  }

  .flights-content-result-list-flight-right-price{
    font-size: 17px;
  }

  .flights-content-result-list-flight-right-word{
    margin-right: 0;
  }

  .flights-content-result-list-flight-right-down{
    font-size: 12px;
  }

  .flights-content-result-list-title-price-num{
    display: none;
  }
  
  .flights-content-result-list-flight-right-seat{
    font-size: 10px;
    margin-bottom:7px
  }

  .flights-content-result-list-details-airline{
    padding: 10px;
  }

  .flights-content-result-list-details-airline-journey-time{
    display: none;
  }

  .flights-content-result-list-flight-left-airline-title{
    font-size: 14px;
  }

  .flights-content-result-list-details-airline-journey-date div span{
    font-size: 12px;
    margin-left: 0;
  }

  .flights-content-result-list-flight-right-headcount{
    font-size: 12px;
    text-align: right;
  }

  .flights-content-result-list-details-airline-title div:nth-child(1){
    margin-right:10px
  }

  .flights-content-result-list-details-airline-cabin{
    width: 100%;
    padding: 10px 0 4px 36px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .flights-content-result-list-details-airline-journey{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0 10px 36px;
    min-height: 90px;
  }

  .flights-content-result-list-flight-left-airline-journey-airport-time_arrow{
    font-size: 12px;
    padding: 0;
  }
  
  .flights-content-result-list-title-airline-logo{
    height: 20px;
    margin: 0 10px 0 0;
  }

  .flights-content-result-list-title-airline{
    font-size: 12px;
  }

  .flights-smart-refine{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
  }

  .flights-smart-refine-node{
    text-align: center;
    width: 33.33%;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    -webkit-user-select: none; /* Safari */
    user-select: none;
    color: black;
  }

  .flights-smart-refine-node.active{
    text-align: center;
    width: 33.33%;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    -webkit-user-select: none; /* Safari */
    user-select: none;
    color: #2C61FE;
    border-bottom: 2px solid #2C61FE;
    font-weight: bold;
  }

  .flights-content-refine-box{
    border-bottom: none;
    padding: 0;
  }

  #flights-content-refine-box-node-time-smart{
    display: none;
  }

  #flights-content-refine-box-node-trans-smart{
    display: none;
  }

  #flights-content-refine-box-node-airline-smart{
    display: none;
  }

  .flights-content-refine-box-title{
    border-top: none;
  }

  .flights-smart-refine-close{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    color:#1F2937;
    border-top: 1px solid #E5E7EB;
    padding: 5px 30px;
    font-size: 16px;
    font-weight: bold;
    background-color: white;
  }

  .flights-smart-refine-close-icon{
    width: 18px;
    margin-right: 4px;
  }

  #flights-searcher-box{
    display: none;
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: 1000;
    background: #E5E7EB;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  #flights-searcher-box.open{
    display: block;
    background-color: rgba(0, 0, 0, 0.45);
    height: 100dvh;
  }

    /* 默认状态 */
  #flights-searcher-box{
    margin-top: 0px;
  }

  .flights-searcher-smart-flight{
    width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
    display: block;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    padding: 12px 6px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #E5E7EB;
  }

  #flights-searcher-smart-flight.fixed{
    position: fixed;
    top: -10px;
    /* left: 10px; */
    z-index: 9999;
    border: none;
    box-shadow: 0 4px 16px -4px rgba(69, 88, 115, .2);
    width: 100%;
  }

  #flights-searcher-smart-placeholder{
    display: none;
  }

  #flights-searcher-smart-placeholder.fixed{
    display: block;
    width: 100%;
    height: 82px;
  }

  #flights-searcher-placeholder.fixed{
    display: none;
  }

  .flights-searcher-smart-flight-left{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 65%;
    border-right: 1px solid #E5E7EB;
  }

  .flights-searcher-smart-flight-left-outbound{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45%;
  }

   .flights-searcher-smart-flight-left-outbound div:nth-child(2){
    font-weight: bold;
   }

  .flights-searcher-smart-flight-left-inbound{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45%;
  }

  .flights-searcher-smart-flight-left-inbound div:nth-child(2){
    font-weight: bold;
   }

  .flights-searcher-smart-flight-left-arrow{
    width: 10%;
  }

  .flights-searcher-smart-flight-left-arrow div{
    background-color: #E5E7EB;
    width: 100%;
    height: 3px;
  }

  .flights-searcher-smart-flight-middle{
    width: 20%;
    text-align: center;
    border-right: 1px solid #E5E7EB;
  }

  .flights-searcher-smart-flight-middle-num{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .flights-searcher-smart-flight-middle-icon{
    width: 16px;
  }

  .flights-searcher-smart-flight-right{
    width: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .flights-searcher-smart-flight-right-icon{
    height: 18px;
  }

  .flights-content-result-lists{
    padding: 10px;
  }
}

.lang-en [data-i18n="flight.select_flight_togo1"]::after{
  content: "\00a0";
}

@media screen and (max-width: 768px) {
  #flights-searcher-box.open{
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.35);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #flights-searcher-box.open .flights-searcher-box-form{
    min-height: auto;
    max-height: none;
  }

  .flights-content-result-list-flight-right-oil{
    display: none;
  }

  .flights-content-result-list-flight-left-oil{
    display: block;
  }

  /* 手机端：有角标时，给卡片内容让出顶部空间 */
  .flights-content-result-list:has(.flight-cheapest-badge) .flights-content-result-list-flight,
  .flights-content-result-list:has(.flight-china-carrier-badge) .flights-content-result-list-flight {
    padding-top: 28px;
  }

  /* 手机端角标稍微缩小 */
  .flight-cheapest-badge,
  .flight-china-carrier-badge {
    top: 0;
    left: 0;
    height: 20px;
    padding: 0 8px;
    font-size: 10px;
    border-radius: 6px 0 6px 0;
  }
}

/* ==========================================================================
   PC 端 fixed 状态下的检索栏高度和紧凑布局
   ========================================================================== */
@media screen and (min-width: 768px) {
  #flights-searcher-box.fixed {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #E5E7EB !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  }

  /* 隐藏 tab 页签 */
  #flights-searcher-box.fixed .top-searcher-box-form-tab {
    display: none !important;
  }

  /* 表单外层容器改为横向单行布局，更加紧凑精美 */
  #flights-searcher-box.fixed .flights-searcher-box-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 0px !important;
    gap: 12px !important;
    height: 60px !important;
    box-sizing: border-box !important;
  }

  #flights-searcher-box.fixed #top-searcher-box-form-box {
    flex: 0 0 auto !important;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-condition {
    margin-top: 0 !important;
    gap: 8px !important;
  }

  /* 缩短每一个输入框的高度，并设定固定宽度防止flex挤压 */
  #flights-searcher-box.fixed .top-searcher-box-form-condition-add-input {
    min-height: 44px !important;
    height: 44px !important;
    padding: 16px 12px 0 32px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
  }

  /* 指定各输入框固定宽度，彻底解决挤压断行问题 */
  #flights-searcher-box.fixed input[name="origin1"],
  #flights-searcher-box.fixed input[name="destination1"] {
    width: 190px !important;
    min-width:190px !important;
    flex-shrink: 0 !important;
  }

  #flights-searcher-box.fixed .top-date-range-row #datepicker,
  #flights-searcher-box.fixed .top-date-range-row #datepicker2 {
    width: 160px !important;
    min-width: 160px !important;
    flex-shrink: 0 !important;
  }

  #flights-searcher-box.fixed #top-cabinclass {
    width: 190px !important;
    min-width: 190px !important;
    flex-shrink: 0 !important;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-condition-add {
    flex-shrink: 0 !important;
  }

  /* 调整输入框内的小标题位置 */
  #flights-searcher-box.fixed .top-searcher-box-form-condition-add-title {
    top: 5px !important;
    left: 32px !important;
    font-size: 11px !important;
    transform: none !important;
  }

  /* 调整输入框小图标位置 */
  #flights-searcher-box.fixed .top-searcher-box-form-condition-add-icon {
    top: 15px !important;
    left: 12px !important;
    width: 14px !important;
    height: 14px !important;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-condition-exchange {
    top: 10px !important;
  }

  /* 调整直行便和搜索按钮行 */
  #flights-searcher-box.fixed .top-searcher-box-form-btn {
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    gap: 12px !important;
  }

  #flights-searcher-box.fixed .direct_flights_only_checkbox {
    margin-bottom: 0 !important;
  }

  #flights-searcher-box.fixed .direct_flights_only_checkbox_label {
    font-size: 12px !important;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-btn-search {
    height: 44px !important;
    line-height: 44px !important;
    width: 110px !important;
    margin-left: 0 !important;
    font-size: 14px !important;
    border-radius: 6px !important;
  }

  /* 占位元素在 fixed 时高度调整为相同的 60px */
  #flights-searcher-placeholder.fixed {
    height: 60px !important;
  }
}

/* Wide-screen sticky search: compact, balanced, and still editable. */
@media screen and (min-width: 1100px) {
  #flights-searcher-box.fixed .flights-searcher-box-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 12px !important;
    height: 60px !important;
    padding: 8px 0px !important;
  }

  #flights-searcher-box.fixed #top-searcher-box-form-box {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-condition {
    display: grid !important;
    grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(260px, 1.5fr) minmax(150px, 1fr);
    gap: 8px !important;
    width: 100%;
    min-width: 0;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-condition > .top-searcher-box-form-condition-add {
    min-width: 0;
    margin-left: 0 !important;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-condition-add-input,
  #flights-searcher-box.fixed .top-date-range-row #datepicker,
  #flights-searcher-box.fixed .top-date-range-row #datepicker2 {
    width: 100% !important;
    min-width: 0 !important;
  }

  #flights-searcher-box.fixed .top-date-range-row {
    width: 100%;
    min-width: 0;
    height: 44px !important;
    margin-left: 0 !important;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-condition-exchange {
    top: 50% !important;
    transform: translate(20%, -50%);
  }

  #flights-searcher-box.fixed .top-searcher-box-form-tab {
    display: flex !important;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    margin: 0 !important;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-tab .custom-radio {
    display: none;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-tab .direct_flights_only_checkbox {
    margin: 0 !important;
    padding: 0;
    border: 0;
    white-space: nowrap;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-btn {
    grid-column: 3;
    grid-row: 1;
    margin: 0 !important;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-btn-search {
    width: 130px !important;
    background: #F06703;
    box-shadow: 0 3px 8px rgba(240, 103, 3, 0.22);
  }

  #flights-searcher-box.fixed .top-searcher-box-form-btn {
    display: flex !important;
    flex: 0 0 auto !important;
    gap: 12px !important;
    white-space: nowrap;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-btn-mul {
    flex: 0 0 auto !important;
    margin-right: 0 !important;
  }

  /* 悬浮状态只保留第一段摘要，避免多程输入把结果列表盖住。 */
  #flights-searcher-box.fixed .flights-searcher-box-form:has(input[name="fruit"][value="Multicity"]:checked) #top-searcher-box-form-box .top-searcher-box-form-condition:not(:first-child) {
    display: none !important;
  }

  #flights-searcher-box.fixed .flights-searcher-box-form:has(input[name="fruit"][value="Multicity"]:checked) .top-searcher-box-form-btn-mul {
    display: none !important;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-btn-search {
    flex: 0 0 130px !important;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-btn-search:hover {
    background: #F06703;
    box-shadow: 0 4px 12px rgba(240, 103, 3, 0.3);
  }

  #flights-searcher-box.fixed .top-searcher-box-form-condition-add-input {
    background-color: #F7F8FA;
    border-color: #E5E7EB;
  }

  #flights-searcher-box.fixed .top-date-range-row {
    background-color: #F7F8FA;
    border-color: #E5E7EB;
  }

  #flights-searcher-box.fixed .top-date-range-row #datepicker,
  #flights-searcher-box.fixed .top-date-range-row #datepicker2 {
    background-color: transparent;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-condition-add-title {
    color: #667085;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-tab .direct_flights_only_checkbox {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 12px !important;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background: #F7F8FA;
  }

  #flights-searcher-box.fixed .top-searcher-box-form-condition-exchange {
    background-color: #FFFFFF;
    border-color: #E5E7EB;
    box-shadow: 0 2px 6px rgba(3, 32, 90, 0.12);
  }
}
