/* 移动端首页样式 */
@media (max-width: 768px) {
  .hm-mobile-page__section--login {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.16rem;
    height: 0.82rem;
  }

  .hm-mobile-page__login_tip {
    display: flex;
    flex-direction: column;
    gap: 0.04rem;
  }

  .hm-mobile-page__login_tip_title {
    font-weight: 500;
    font-size: 0.16rem;
    color: #333333;
    line-height: 0.24rem;
  }

  .hm-mobile-page__login_tip_desc {
    font-weight: 400;
    font-size: 0.14rem;
    color: #666666;
    line-height: 0.22rem;
  }

  .hm-mobile-page__login_tip_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    font-size: 0.16rem;
    color: #333333;
    line-height: 0.24rem;
    width: 0.6rem;
    height: 0.32rem;
    border: 1px solid rgb(219, 219, 219);
    border-radius: 0.08rem;
    box-sizing: border-box;
    cursor: pointer;
    outline: none;
    background: #ffffff;
  }

  .hm-mobile-page--home .hm-mobile-page__section_body {
    width: 100%;
  }

  .hm-mobile-page--home .hm-mobile-page__section--map,
  .hm-mobile-page--home .hm-mobile-page__section--routes {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
  }

  .hm-mobile-page--home .hm-mobile-page__section--map {
    min-height: 2.3rem;
  }

  .hm-mobile-page--home
    .hm-mobile-page__section--map
    .hm-mobile-page__section_head {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 0.12rem;
    align-items: center;
  }

  .hm-mobile-page--home
    .hm-mobile-page__section--map
    .hm-mobile-page__section_head_title {
    min-width: 0;
  }

  .hm-mobile-page--home
    .hm-mobile-page__section--map
    .hm-mobile-page__section_head_title
    > span {
    white-space: nowrap;
  }

  .hm-mobile-page--home
    .hm-mobile-page__section--map
    .hm-mobile-page__section_head_desc {
    min-width: 0;
    text-align: right;
    overflow-wrap: anywhere;
  }

  .hm-mobile-page--home
    .hm-mobile-page__section--map
    .hm-mobile-page__section_head_desc,
  .hm-mobile-page--home
    .hm-mobile-page__section--map
    .hm-mobile-page__section_head_desc:visited,
  .hm-mobile-page--home
    .hm-mobile-page__section--map
    .hm-mobile-page__section_head_desc:hover,
  .hm-mobile-page--home
    .hm-mobile-page__section--map
    .hm-mobile-page__section_head_desc:active {
    color: #666666;
    text-decoration: none;
  }

  .hm-mobile-page__section_body--map {
    --hm-home-map-crop-bottom: 0.28rem;
    display: block;
    position: relative;
    width: 100%;
    height: 1.6rem;
    background: #fff;
    border-radius: 0.08rem;
    box-sizing: border-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
  }

  .hm-mobile-page__section_body--map_frame {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    overflow: hidden;
  }

  .hm-mobile-page__section_body--map_container {
    width: 100%;
    height: calc(100% + var(--hm-home-map-crop-bottom));
    pointer-events: none;
  }

  .hm-mobile-page__section_body--map_container .tmap-container {
    width: 100% !important;
    height: 100% !important;
  }

  .hm-mobile-page__section_body--map_container canvas {
    display: block;
  }

  .hm-mobile-page__section_body--map_container .tmap-control {
    display: none !important;
  }

  .hm-mobile-page__section_body--map_points {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
  }

  .hm-mobile-page__section_body--map_point {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 160px;
    margin: -4px 0 0 -80px;
    color: #333333;
    font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
  }

  .hm-mobile-page__section_body--map_dot {
    width: 8px;
    height: 8px;
    margin-bottom: 8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--point-color, #028cee);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
    box-sizing: border-box;
  }

  .hm-mobile-page__section_body--map_label {
    display: block;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hm-mobile-page__section_body--map_cover {
    width: 100%;
    height: 0.4rem;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(
      182deg,
      rgba(0, 0, 0, 0) 7.73%,
      rgba(0, 0, 0, 0.4) 80.78%
    );
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.12rem 0.16rem;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 4;
  }

  .hm-mobile-page__section_body--map_cover_left {
    display: flex;
    align-items: center;
    gap: 0.04rem;
  }

  .hm-mobile-page__section_body--map_cover_left > span {
    font-weight: 500;
    font-size: 14px;
    color: #ffffff;
    line-height: 22px;
  }

  .hm-mobile-page--home .hm-mobile-page__section--routes {
    height: auto;
  }

  .hm-mobile-page--home .hm-mobile-page__section_body--list_item {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0.78rem;
    height: auto;
    align-items: flex-start;
    overflow: visible;
  }

  .hm-mobile-page--home .hm-mobile-page__section_body--list_item_content {
    width: calc(100% - 0.62rem);
  }

  .hm-mobile-page--home .hm-mobile-page__section_body--list_item_content_title {
    font-size: 15px;
  }
}
