html {
  /* 禁止左右滑动 */
  overflow-x: hidden;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  /* overflow-y: hidden; */
}

/* 解决微信下拉回弹效果 */
html,
body {
  -webkit-overflow-scrolling: touch;
  /* overflow: auto; */
  font-family: Arial, sans-serif;
  font-size: 12px;
  margin: 0;
  padding: 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-image: url("../TT/background.png");
  background-color: #e2e1e4;
  /* 禁止用户调整字体大小 */
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none;
  overscroll-behavior: contain;
  /* 防止浏览器回弹行为 */
  /* max-width: 60vw; */
}


.noscroll {
  overflow: hidden !important;
  height: 100%;
  touch-action: none;
  /* 防止移动端滑动 */
}

/* 解决点击延迟300ms问题 */
* {
  touch-action: manipulation;
}

/* 修复fixed定位问题 */
.fixed-element {
  position: fixed;
  -webkit-transform: translateZ(0);
}

.bad {
  /* 矩形 1 */
  /* position: absolute; */
  position: sticky;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 60vh;
  width: 100%;
  background: linear-gradient(0deg,
      rgb(22, 223, 45) 22.287%,
      rgba(24, 144, 255, 1) 74.486%);
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.25);
  z-index: 10;
  top: 0px;
  justify-content: space-between;
  /* justify-content: space-around; */
}


.bad h1 {
  color: white;
  font-size: 2.5em;
  margin-top: 1vh;
  text-shadow: rgb(21, 21, 21) 2px 2px 4px;
}

.bad a {
  justify-self: right;
  align-self: end;
  margin-right: 1em;
  color: rgba(24, 144, 255, 1);
  text-shadow: 2px 2px 4px #ffffff;
  margin-bottom: 1em;
}



/* 禁用字体 */
/* @font-face {
  font-family: 'HarmonyOS Sans SC';
  src: url('../font/HarmonyOS_Sans_SC_Regular.ttf');
} */

.LETTER {
  border: 1px solid black;
  width: fit-content;
}

body {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
}

.Newpad {
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--base_width);

}

.Newpad_e {
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--base_width_e);

}

.call_pad_box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  /* margin-top: 10em; */
  height: 85px;
  width: 85px;
}

.call_pad {
  /* 椭圆 1 */
  position: absolute;
  display: flex;

  /* flex-direction: column; */
  justify-content: center;
  align-items: center;
  width: 85px;
  height: 85px;
  /* margin-top: 70px; */
  border-radius: 50%;

  background-color: rgb(32, 248, 0);
  /* box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.25); */
  /* cursor: pointer; */
  z-index: 10;
}

/* .call_pad:active{
  background-color:rgb(181, 255, 169);
} */

.call_pad_animation {
  /* 椭圆 1 */
  position: absolute;

  width: 85px;
  height: 85px;
  border-radius: 50%;

  /* 动画相关设置 */
  animation: bigger 2s;
  /* 兼容chrome和safri */
  -webkit-animation: bigger 2s;
  /* 动画重复次数：ininite（无限次） */
  animation-iteration-count: infinite;
  /* 动画变速播放 */
  animation-timing-function: ease-out;
  /* 动画下一周期逆向播放 */
  /* animation-direction: alternate; */
  /* transform-origin: center center; */
}

.call_pad_animation_delay {
  /* 椭圆 1 */
  position: absolute;
  width: 85px;
  height: 85px;
  /* background-color:rgb(32, 248, 0); */

  border-radius: 50%;
  animation: bigger 2s;
  animation-delay: 0.5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
}

.call_button {
  /* call */
  display: flex;
  flex-direction: row;
  /* justify-content: center; */
  /* align-items: center; */
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  /* transform: rotate(90.00deg); */
  z-index: 2;

  /* 动画 */
  animation: call_animation 4s infinite;
}

@keyframes call_animation {
  0% {
    width: 40px;
    height: 40px;
  }

  50% {
    width: 50px;
    height: 50px;
  }

  100% {
    width: 40px;
    height: 40px;
  }
}

.tongzhi {
  /* 电话通知车主挪车样式 */
  color: white;
  font-size: 20px;
  text-shadow: 2px 2px 4px #999;
  z-index: 5;
  /* margin-top: auto; */
  /* margin-bottom: 22px; */
  justify-self: end;

  transition: font-size 0.3s ease, margin-bottom 0.3s ease;

}

.regist {
  /* “申请我的二维码”样式设置 */
  display: flex;
  align-self: flex-end;
  margin-right: 10px;
  color: white;
  text-shadow: 2px 2px 4px #999;
}

.information {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: 12px;
  /* padding: 20px; */
  /* top: 150px; */
  padding-left: 6px;
  padding-right: 6px;
  /* border: 1px solid black; */
  /* 确保每个项目都占据100%的宽度 */
  width: 100%;
  /* height: 200px; */
}

.item {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 1px solid #ccc;
  /* padding: 20px; */

  /* margin-top: 12px; */
  box-sizing: border-box;
  text-align: center;
  width: 95%;
  background-color: white;
  border-radius: 12px;
  /* 确保每个项目都占据100%的宽度 */
  ;
}

.item .info {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  margin-left: 12px;
  height: 120px;
  flex: 1;
}

.item img {
  max-width: 120px;
  /* max-height: 120px; */
  width: auto;
  height: 120px;
  border-radius: 12px;
  flex: 0 0 auto;
  object-fit: cover;
  /* 保持图片的宽高比 */
  object-position: center;
  /* 居中裁剪 */
  ;
}

.item h2 {
  font-size: 1.2em;
  margin: 0px;
  margin-top: 10px;
  margin-bottom: 6px;
}

.item p {
  color: #666;
  margin: 0px;
  margin-top: 6px;
  display: --webkit-box;
  -webkit-line-clamp: 2;
  /* 限制显示行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 超出部分显示省略号 */
  text-align: left;
  /* 添加左对齐 */
}

.item span {
  font-size: 1.1em;
  color: #ff3c00;
  font-weight: bold;
  margin-top: 6px;
}

.item .coupons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  /* align-self: flex-start; */
  position: relative;
  right: 0px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  justify-self: end;
  flex: 0 0 120px;
  margin-top: 12px;
  margin-right: 6px;
}

.item .gather_coupons {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  width: 80px;
  height: 45px;
  background: linear-gradient(to bottom, rgb(255, 166, 0), rgb(255, 102, 0));
  border-radius: 6px;
  /* border: 1px solid rgb(102, 27, 0); */
}

.item .coupons img {
  width: auto;
  height: 60px;
  /* border-radius: 12px; */
}

.coupons .last_count {
  margin-top: 6px;
}

.coupons .next_time {
  margin-top: 6px;
}

.zhanwei_z {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* top: 100px; */
  width: 95%;
  height: 200px;
  margin: auto;
  margin-top: 10px;
  border-radius: 8px;
  /* background-color: white; */
  box-shadow: 0px 5px 5px rgba(141, 141, 141, 0.5);

  /* border: 1px solid black; */
  /* background-image: url(../resource/2024-1-19/1/2.jpg); */
  background-size: cover;
  background-position: center center;
  background-color: white;

}

.mengban {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background-color: rgba(248, 248, 248, 0.5);


}

.zhanwei {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  /* border: #e1e1e1; */
  /* border-bottom-style: solid; */
  width: 100%;
  /* border-bottom-width: 1px; */
  margin-top: 5px;
  z-index: 0;

}

.zhanwei img {
  /* width: 1080px; */
  height: 120px;
  padding: 2px;
}

.zhanwei p {
  color: white;
}

.totop {
  position: fixed;
  display: flex;
  justify-content: center;
  /* align-items: center; */
  /* top: 50px; */
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(240, 240, 240);
  /* border: 10px; */
  /* border-color: rgb(134, 134, 134); */
  box-shadow: 6px 6px 4px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.totop img {
  width: 30px;
  height: 30px;
  margin-top: 13px;
}

@keyframes bigger {
  from {
    width: 85px;
    height: 85px;
    background-color: rgba(193, 247, 185, 0.5);
    transform-origin: center center;
  }

  to {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0);
    transform-origin: center center;
  }
}

/* 油车牌照组 */
.Normalpad {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;

}

/* 电车牌照 */
.Epad {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;
}

.rongqi {
  display: flex;
  justify-content: center;
  /* width: 20em; */
  width: 80%;
  /* height: fit-content; */
  /* margin: auto; */
  margin-top: 50px;
  margin-bottom: 50px;
  /* margin-top: 100px; */
}

.pad {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  /* width: 65%; */
  /* height: 88.4545px; */
  /* height: 120px; */
  /* width: 80%; */
  width: 500px;
  /* max-width: ; */
  /* margin-top: 16%; */
}

.pad_bottom_e {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(to top, rgb(0, 255, 0), white);
  /* background:rgb(0, 255, 0); */
  /* width: 100%; */
  /* height: 100%; */

}

.pad_bottom {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* width: 100%; */
  /* height: 100%; */
  background: rgb(5, 26, 120);
  box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.25);
}

.pad_top {
  position: relative;
  /* 车牌 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 3px solid rgb(255, 255, 255);
  border-radius: 5px;
}

.pad_top_e {
  position: relative;
  /* 车牌 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  /* height: 100%; */
  border: 3px solid rgb(0, 0, 0);
  border-radius: 5px;

}

.carnum {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  width: 100%;
}

.carnum img {
  height: 72%;
  object-fit: contain;
}

.carnum #dot {
  height: 8%;
  object-fit: cover;
}

.footer {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0px;
  background-color: #2b2b2b;
  color: white;
  /* color: black; */
  text-decoration: none;
  font-size: 14px;
  margin-top: 10px;
  align-self: center;
  justify-self: end;
  height: 3vh;
  width: 100%;
  margin: auto;
  left: 0px
}

.footer a {
  color: white;
}

.beian_logo {
  height: 15px;
  margin-left: 5px;
}

#log_div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 15em;
  height: 15em;
  margin-top: 4em;
  background: white;
  padding: 0.3em;
  border: 0px;
  border-radius: 2em;
}

@media (max-width: 768px) {
  .bad {
    height: 70vh;
  }

  body {
    width: 100vw;
  }

  .pad {

    /* width: 65%; */
    /* height: 88.4545px; */
    /* height: 120px; */
    width: 70%;
    max-width: 450px;
    /* width: 500px; */
    /* max-width: ; */
    /* margin-top: 16%; */
  }

  .bad h1 {
    color: white;
    font-size: 1.7em;
    margin-top: 1vh;
    text-shadow: rgb(21, 21, 21) 2px 2px 4px;
  }

  .bad h4 {}

  #log_div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15em;
    height: 15em;
    margin-top: 4em;
    background: white;
    padding: 0.3em;
    border: 0px;
    border-radius: 2em;
  }
}

/* 2025年4月17日添加 */

.call_window {
  position: fixed;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 66%;
  height: 400px;
  max-width: 400px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center
}

.call_window h2 {
  text-align: center;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}

.code-input {
  display: flex;
  gap: 10px;
}

.code-input input {
  flex: 1;
}

#sendCodeBtn {
  padding: 10px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: rgba(24, 144, 255, 1);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.circle {
  position: fixed;
  top: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid #d1d1d1;
  /* background-color: #cfcfcf; */
}

.circle2 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background-color: #e7f2ff;
  animation: pulse 6s ease-in-out infinite;
  transform-origin: center center;
}

.circle2 img {
  width: 80px;
  height: auto;
  transform: scale(1);
  /* 固定img的缩放比例 */
  animation: none;
  /* 确保img没有动画效果 */
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.caller_info {
  position: fixed;
  top: 40%;
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.caller_info input {
  border: 1px solid rgb(149, 149, 149);
  width: 90%;
  margin-top: 20px;
  height: 35px;
  border-radius: 5px;
  font-size: 20px;
  text-align: center;
  font-weight: bold;

}

.call_window p {
  margin: 0px;
  padding: 0px;
  margin-top: 30px;
}

.call_window_call {
  position: fixed;
  top: 66%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}

.call_window_call_text {
  font-size: small;
  color: #999;
}

.call_window_btn {
  background-color: rgb(24, 144, 255);
  height: 50px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  margin-top: 10px;
  color: white;
  font-weight: bold;
}

.caller_info input::placeholder {
  font-size: 16px;
  /* 设置placeholder文字大小 */
  color: #999;
  /* 设置placeholder文字颜色 */
  font-weight: normal;
  /* 设置placeholder文字粗细 */
  /* 可以添加其他样式 */
}

.close_btn {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-color: #d8d8d8;
  border-radius: 50%;
  color: white;
}

#my {
  position: relative;
  /* justify-self: end; */
  /* align-self: flex-end; */
  bottom: 8px;
  /* right: 8px; */
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: white;
  margin-top: 0px;
  padding-right: 20px;
  padding-left: 20px;
  margin-bottom: 8px;
}

.position-indicator-div {
  /* margin-left: 30px; */
  display: flex;
  flex-direction: row;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.position-indicator-div .faild {
  background: #F54900;
  box-shadow: 0px 0px 8px 3px #ffa473;
}

.position-indicator-div .success {
  background: #a2ffb1;
  border: 1px solid #a8c8ad;
  /* background: rgb(22, 223, 45); */
  box-shadow: 0px 0px 5px 2px #73ff8a;
}

#my a {
  margin: 0;

  text-shadow: 2px 2px 4px #999;
  color: white;
  text-decoration: none;
  font-size: 16px;
}

#hiyo_logo {
  max-width: 200px;
  margin-top: 20px;
  margin-left: 20px;
  align-self: start;
}

body {
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  /* font-size: 14px; */
  /* 基础字体设为 16px，更易读 */
  line-height: 1.6;
  color: #222;
}

/* 瀑布流布局 */
.infomation {
  /* column-count: 2; */
  position: relative;
  /* column-count: 2; */
  max-width: 1000px;
  /* 或者其他你期望的最大宽度 */
  /* column-gap: 1em; */
  /* padding: 1em; */
  width: 100%;
  /* margin: 0 auto */
}

@media screen and (max-width: 600px) {
  .infomation {
    position: relative;
    /* column-count: 2; */
    max-width: 1000px;
    /* 或者其他你期望的最大宽度 */
    /* column-gap: 1em; */
    /* padding: 1em; */
    width: 100%;
    margin: 0 auto;
    margin-left: 5px;
  }





  .nn-get {
    font-size: 1.1em;
    padding: 10px 10px;
  }

  .coupon-title {
    font-size: 1.5em;
  }

  .coupon-discount {
    font-size: 1.3em;
  }
}


.grid-sizer {
  width: 48%;
  /* width: calc(50% - 5px); */
  /* width: 50%; */

}


/* 优惠券卡片样式 */
.coupon-item {
  /* display: inline-block; */
  width: 48%;
  /* width: calc(50% - 5px); */
  /* width: 50%; */
  break-inside: avoid;
  /* 防止 item 被切断 */
  display: block;

  /* width: 100%; */
  background: #fff;
  margin: 0 0 1%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  break-inside: avoid;
  margin-top: 10px;

}

.coupon-image {
  width: 100%;
  /* height: auto; */
  display: block;
  max-height: 30vh;
  object-fit: cover;
}

.coupon-content {
  padding: 12px;
}

.coupon-title {
  font-size: 1.4em;
  /* 加大标题 */
  margin: 0 0 8px;
  font-weight: bold;
  color: #222;
}

.coupon-desc {
  font-size: 1.05em;
  /* 描述文字更清晰 */
  color: #444;
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  /* 创建伸缩容器 */
  -webkit-box-orient: vertical;
  /* 垂直排列子元素 */
  -webkit-line-clamp: 2;
  /* 最多显示2行 */
  overflow: hidden;
  /* 超出隐藏 */
  text-overflow: ellipsis;
  /* 超出显示... */
}

.coupon-discount {
  font-size: 1.2em;
  /* 折扣高亮突出 */
  color: #d32f2f;
  font-weight: bold;
  margin-bottom: 12px;
}

.coupon-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}


.coupon-stock {
  font-size: 1em;
  color: #888;
  display: flex;
  flex-direction: column;
  width: 50%;
  margin-left: 15px;
}

.coupon-stock .item_left {
  align-self: start;
}

.coupon-stock .item_right {
  align-self: end;
}

.coupon-footer {
  font-size: 1em;
  /* 有效期和地址字体也放大 */
  color: #666;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin: top 5px;
}


.btn-get {
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 1.05em;
  /* 按钮更大更好点 */
  padding: 10px 10px;
  border-radius: 8px;
  white-space: nowrap;
  flex: 1;
}

.btn-geted {
  background-color: #ff5e36;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 1.05em;
  /* 按钮更大更好点 */
  padding: 10px 10px;
  border-radius: 8px;
  white-space: nowrap;
  flex: 1;
}

.btn-run-out {
  background-color: #9e9e9e;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 1.05em;
  /* 按钮更大更好点 */
  padding: 10px 10px;
  border-radius: 8px;
  white-space: nowrap;
  flex: 1;
}

.btn-get:hover {
  background-color: #388e3c;
}

.masonry-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  /* 使内容居中 */
}

.refreshWrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 6vh;
  /* 使内容居中 */
}

.masonry-container {
  /* display: grid; */
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  padding: 10px;
}

#loading {
  text-align: center;
  font-size: 14px;
  color: #888;
  padding: 20px;
  display: none;
}

/* 下拉刷新逻辑 */

#pullDown {
  transition: all 0.3s ease;
  color: gray;
  font-size: 14px;
}

.refreshButtonWrapper {
  position: fixed;
  top: 50px;
  width: 100px;
  height: 100px;
  z-index: 99999;

}

/* amap相关 */
.amap-icon img,
.amap-marker-content img {
  width: 25px;
  height: 34px;
}

#search-panel {
  position: relative;
  background-color: white;
  /* max-height: 90%; */
  overflow-y: auto;
  top: 10px;
  /* right: 10px; */
  width: 100%;
  height: 30%;
}

#search-panel .amap-call {
  background-color: #009cf9;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

#search-panel .amap-lib-driving {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  overflow: hidden;
}