:root {
  --max: 768px;
}

html {
  background: #e9edeb;
}

body {
  width: 100%;
  max-width: 768px;
  min-height: 100vh;
  min-height: 100dvh;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
}

.hd,
.m_header_search,
.bn,
.pcard,
.acs,
.spanel {
  width: 100%;
  max-width: 768px;
}

.top {
  right: 14px;
}

@media (min-width: 769px) {
  .top {
    right: calc((100vw - 768px) / 2 + 14px);
  }
}

@media (min-width: 600px) {
  .quick {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .cj-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
  }

  .cj-item {
    min-width: 0;
  }

  .gl-grid,
  .ch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 359px) {
  .hd {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hd-logo {
    width: 36px;
    height: 36px;
    margin-right: 8px;
  }

  .hd-title {
    font-size: 15px;
  }

  .hd-en,
  .hd-lic-t,
  .hd-lic-n {
    font-size: 12px;
  }

  .search {
    padding-left: 10px;
    padding-right: 10px;
  }

  .quick {
    padding-left: 5px;
    padding-right: 5px;
  }

  .q-ico {
    width: 40px;
    height: 40px;
  }

  .mod {
    padding-left: 10px;
    padding-right: 10px;
  }

  .xjt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gl-t {
  height: auto;
  min-height: 2.8em;
  max-height: 2.8em;
  line-height: 1.4;
}
