/* 最新地址 — PC */

.page-latest-addr {
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
}

.page-main--guide {
  flex: 1;
}

.latest-addr-status.is-error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff1f0;
  color: #cf1322;
  font-size: 14px;
  line-height: 22px;
}

.latest-addr-empty {
  color: var(--text-secondary);
  list-style: none;
}

.latest-addr-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.latest-addr-section {
  margin: 0;
}

.latest-addr-label {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  font-weight: 700;
  color: var(--text-secondary);
}

.latest-addr-value {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--text-secondary);
}

.latest-addr-value a,
.latest-addr-url-list a {
  color: inherit;
  text-decoration: none;
}

.latest-addr-value a:hover,
.latest-addr-url-list a:hover {
  color: var(--primary);
}

.latest-addr-row {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-secondary);
}

.latest-addr-url-list {
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
}

.latest-addr-url-list li {
  font-size: 14px;
  line-height: 24px;
  color: var(--text-secondary);
}

.latest-addr-telegram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.latest-addr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  border: 1px solid var(--primary);
  border-radius: 2px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
  color: var(--primary);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  text-decoration: none;
  background: transparent;
}

.latest-addr-btn:hover {
  background: rgba(236, 72, 153, 0.06);
}

.latest-addr-tip {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: #ff0000;
}

/* ===== H5: latestAddr-h5.css ===== */

/* 最新地址 — H5 */

.guide--h5-only {
  display: none;
}

@media (max-width: 767px) {
  .page-latest-addr {
    background: var(--bg-h5);
  }

  .page-latest-addr .site-header,
  .page-latest-addr .site-header-h5,
  .page-latest-addr .h5-drawer,
  .page-latest-addr .site-footer {
    display: none !important;
  }

  .guide--h5-only {
    display: flex;
  }

  .guide-h5-head {
    position: sticky;
    z-index: 10;
    top: 0;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 16px;
    background: var(--bg-card);
  }

  .guide-h5-head__back {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
  }

  .guide-h5-head__title {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    color: #292929;
    text-align: center;
  }

  .page-main--guide {
    padding-top: 0;
    padding-bottom: 0;
    background: var(--bg-h5);
  }

  .page-main--guide .container {
    max-width: none;
    padding: 0;
  }

  .guide--pc {
    display: none !important;
  }

  .guide--h5 {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .latest-addr-h5-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
  }

  .latest-addr-h5-block--telegram {
    background: var(--tag-bg);
  }

  .latest-addr-h5-block__title {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--text-title);
  }

  .latest-addr-h5-block__title--accent {
    font-size: 14px;
    color: var(--tag-red);
  }

  .latest-addr-h5-copy-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--tag-bg);
    border-radius: 6px;
  }

  .latest-addr-h5-copy-row__url {
    flex: 1;
    min-width: 0;
    color: var(--primary);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
    text-decoration: none;
    word-break: break-all;
  }

  .latest-addr-h5-copy-row__btn {
    flex-shrink: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tag-red);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
    cursor: pointer;
  }

  .latest-addr-h5-block__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--text-secondary);
    word-break: break-word;
  }

  .latest-addr-h5-block__text a {
    color: inherit;
    text-decoration: none;
    word-break: break-all;
  }

  .latest-addr-h5-block__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--tag-red);
  }

  .latest-addr-h5-join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
    text-decoration: none;
  }
}
