*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.head-logo img {
  display: block;
  height: 30px;
  width: auto;
}

.market-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.market-name {
  color: #555;
  font-size: 14px;
}

/* Tablet */
@media screen and (max-width: 1100px) {
  .head-cont {
    width: 100%;
    max-width: 1000px;
    padding: 0 24px;
  }

  .content {
    width: 100%;
    max-width: 1000px;
    padding: 80px 24px 60px;
  }

  .content-top {
    height: auto;
    min-height: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .top-left {
    position: static;
    width: 100%;
    max-width: 360px;
  }

  .top-right {
    padding-top: 0;
    text-align: center;
  }

  .top-right__title {
    font-size: 42px;
    line-height: 1.2;
  }

  .top-right__tips {
    margin-top: 16px;
    font-size: 18px;
    white-space: normal;
  }

  .top-right-download {
    margin-top: 40px;
  }

  .download-content {
    height: auto;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .download-left {
    position: static;
  }

  .download-right {
    width: auto;
    text-align: center;
  }

  .download-right__intro {
    white-space: normal;
  }

  .download-right__href {
    margin-top: 20px;
  }

  .market {
    margin-top: 48px;
    padding-left: 0;
    text-align: center;
  }

  .market-menu {
    justify-content: center;
    gap: 8px 24px;
  }

  .market-item {
    margin-right: 0;
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .head {
    height: 52px;
  }

  .head-cont {
    padding: 0 16px;
  }

  .head-left {
    float: none;
    display: flex;
    align-items: center;
    height: 52px;
  }

  .head-logo {
    float: none;
    margin-top: 0;
  }

  .head-logo img {
    height: 26px;
  }

  .nav {
    display: none;
  }

  .content {
    padding: 32px 16px 48px;
  }

  .content-top {
    gap: 28px;
  }

  .top-left {
    max-width: 240px;
  }

  .top-right__title {
    font-size: 28px;
  }

  .top-right__tips {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
  }

  .top-right-download {
    margin-top: 28px;
    width: 100%;
  }

  /* 手机端直接下载，隐藏扫码 */
  .download-title {
    display: none;
  }

  .download-left {
    display: none;
  }

  .download-content {
    gap: 16px;
  }

  .download-right {
    width: 100%;
  }

  .download-right__intro {
    margin-top: 8px;
    font-size: 14px;
  }

  .download-right__href {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    line-height: 48px;
    margin-top: 20px;
    font-size: 16px;
    border-radius: 8px;
    background-color: #5189ff;
    color: #fff;
    box-shadow: 0 6px 16px rgba(81, 137, 255, 0.35);
  }

  .download-right__href:hover,
  .download-right__href:active {
    background-color: #3f76ef;
    color: #fff;
  }

  .download-right__href .iconfont {
    margin-right: 6px;
    font-size: 18px;
  }

  .market {
    margin-top: 36px;
  }

  .market-title {
    margin-bottom: 4px;
  }

  .market-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  .market-menu > a {
    display: block;
  }

  .market-item {
    display: flex;
    align-items: center;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 12px 0 56px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    line-height: 52px;
  }

  .market-logo {
    left: 10px;
    top: 50%;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    border-radius: 6px;
  }

  .market-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media screen and (max-width: 380px) {
  .top-right__title {
    font-size: 24px;
  }

  .market-menu {
    grid-template-columns: 1fr;
  }
}
