/* ===== 头部 ===== */
@media (min-width: 1025px) {
  .mobile-header-root {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  .m-header, .m-header *,
  .m-nav,   .m-nav * {
    box-sizing: border-box;
  }
  .m-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  }
  .m-logo {
    display: flex;
    align-items: center;
    height: 56px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1;
  }
  .m-logo img {
    display: block;
    height: 100%;
    width: auto;
  }
  .m-burger {
    width: 56px;
    height: 56px;
    margin-right: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .m-burger span {
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: #1a1a1a;
    transition: transform .3s ease, opacity .3s ease;
  }
  .m-burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .m-burger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .m-burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .m-mask {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
  }
  .m-mask.is-open {
    opacity: 1;
    visibility: visible;
  }
  .m-nav {
    position: fixed;
    top: 56px;
    right: 0;
    bottom: 0;
    z-index: 999;
    width: min(80vw, 320px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 8px 28px;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .14);
    border-radius: 14px 0 0 14px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .28s ease, visibility .28s ease;
  }
  .m-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .m-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .m-nav-toggle,
  .m-nav-link {
    width: 100%;
    padding: 13px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    text-decoration: none;
    line-height: 1.2;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .18s ease, color .18s ease;
  }
  .m-nav-toggle:active,
  .m-nav-link:active {
    background: #f5f6f8;
  }
  .m-nav-link:active {
    color: #2b6cff;
  }
  .m-arrow {
    flex: none;
    width: 8px;
    height: 8px;
    margin-left: 10px;
    margin-top: -4px;
    border-right: 2px solid #9aa0a6;
    border-bottom: 2px solid #9aa0a6;
    transform: rotate(45deg);
    transition: transform .25s ease, border-color .25s ease, margin .25s ease;
  }
  .m-nav-item.is-active .m-nav-toggle {
    color: #2b6cff;
    background: #f2f6ff;
  }
  .m-nav-item.is-active .m-arrow {
    margin-top: 4px;
    border-color: #2b6cff;
    transform: rotate(-135deg);
  }
  .m-sub-list {
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease;
  }
  .m-nav-item.is-active .m-sub-list {
    max-height: 320px;
  }
  .m-sub-list a {
    display: block;
    padding: 10px 12px 10px 26px;
    font-size: 14px;
    color: #5f6368;
    text-decoration: none;
    border-radius: 9px;
    -webkit-tap-highlight-color: transparent;
    transition: background .18s ease, color .18s ease;
  }
  .m-sub-list a:active {
    background: #f5f6f8;
    color: #2b6cff;
  }
  .m-nav-item + .m-nav-item {
    border-top: 1px solid #f2f3f5;
  }
}