/* 信息规则 — PC */

.page-rules {
  background: var(--bg-page);
}

.guide-section__text + .guide-section__text {
  margin-top: 8px;
}

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

/* 信息规则 — H5 */

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

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

  .page-rules .site-header,
  .page-rules .site-header-h5,
  .page-rules .h5-drawer,
  .page-rules .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: 24px;
    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;
    gap: 12px;
    width: 100%;
    padding: 16px;
  }

  .guide-h5-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .guide-h5-card--compact {
    gap: 8px;
  }

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

  .guide-h5-card__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--text-secondary);
  }

  .guide-h5-card__text + .guide-h5-card__text {
    margin-top: 0;
  }

  .guide-h5-card__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .guide-h5-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--text-secondary);
  }

  .guide-h5-card__list li::before {
    flex-shrink: 0;
    content: "•";
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
  }
}
