/* 帮助中心 — 移动端（对齐设计稿） */

@media (max-width: 720px) {
  body.page-help.mobile-help-page .site-header {
    display: none !important;
  }
}

body.page-help.mobile-help-page {
  background: #f5f7fa;
}

body.page-help.mobile-help-page .app-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

.mobile-help-shell {
  max-width: 520px;
  margin: 0 auto;
  padding: max(8px, env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom, 0px));
}

body.mobile-tab-shell.page-help.mobile-help-page .mobile-help-shell {
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

.card-block {
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef2f6;
  box-shadow: 0 2px 12px rgba(16, 24, 40, 0.05);
}

/* 顶栏 */
.mobile-help-topbar {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-help-topbar__back {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #344054;
  text-decoration: none;
}

.mobile-help-topbar__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #101828;
  text-align: center;
}

.mobile-help-topbar__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.mobile-help-topbar__cs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(30, 128, 255, 0.2);
  background: linear-gradient(180deg, #f0f7ff 0%, #e8f3ff 100%);
  color: #1e80ff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.mobile-help-topbar__bell {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #475467;
  text-decoration: none;
}

.mobile-help-topbar__bell--dot::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d4f;
  border: 1.5px solid #f5f7fa;
}

/* 搜索 */
.mobile-help-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 2px 2px 12px;
  min-height: 36px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e4e7ec;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.mobile-help-search__icon {
  color: #98a2b3;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.mobile-help-search__input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 14px;
  min-width: 0;
  outline: none;
}

.mobile-help-search__input::placeholder {
  color: #98a2b3;
}

.mobile-help-search__btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #1e80ff;
  cursor: pointer;
}

/* Hero 横幅 */
.mobile-help-hero {
  position: relative;
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1000 / 280;
  background: linear-gradient(135deg, #1e6fff 0%, #3b9bff 48%, #7ec8ff 100%);
  box-shadow: 0 6px 20px rgba(30, 128, 255, 0.22);
}

.mobile-help-hero__slide {
  display: none;
  height: 100%;
  padding: 18px 16px;
  box-sizing: border-box;
  position: relative;
}

.mobile-help-hero__slide.is-active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-help-hero__copy {
  flex: 1;
  min-width: 0;
  color: #fff;
  z-index: 1;
}

.mobile-help-hero__copy h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.mobile-help-hero__copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.92;
}

.mobile-help-hero__art {
  position: relative;
  width: 88px;
  height: 72px;
  flex-shrink: 0;
}

.mobile-help-hero__headset {
  position: absolute;
  right: 4px;
  bottom: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.mobile-help-hero__headset::after {
  content: "";
  position: absolute;
  inset: 14px 12px 18px;
  border-radius: 12px 12px 20px 20px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-top: 0;
}

.mobile-help-hero__bubble {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #1e80ff;
  font-size: 16px;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.mobile-help-hero__dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.mobile-help-hero__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.mobile-help-hero__dots span.is-active {
  width: 14px;
  border-radius: 3px;
  background: #fff;
}

/* 后台上传横幅 */
.mobile-help-hero--upload {
  background: #e8eef5;
}

.mobile-help-hero--upload .mobile-help-hero__slide {
  padding: 0;
}

.mobile-help-hero--upload .mobile-help-hero__slide.is-active {
  display: block;
}

.mobile-help-hero__banner-link,
.mobile-help-hero__banner-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.mobile-help-hero__banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.mobile-help-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 16px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 35%, rgba(15, 23, 42, 0.52) 100%);
  color: #fff;
  pointer-events: none;
}

.mobile-help-hero__overlay h2 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.mobile-help-hero__overlay p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.95;
}

/* 分类导航 2×3 */
.mobile-help-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 8px;
  padding: 14px 10px;
}

.mobile-help-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.mobile-help-nav__item:active {
  background: #f8fafc;
}

.mobile-help-nav__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #1e80ff, #4096ff);
  box-shadow: 0 4px 10px rgba(30, 128, 255, 0.25);
  overflow: visible;
  flex-shrink: 0;
}

.mobile-help-nav__icon svg {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.mobile-help-nav__icon--guide {
  background: linear-gradient(145deg, #2563eb, #60a5fa);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.mobile-help-nav__icon--shield {
  background: linear-gradient(145deg, #7c3aed, #a78bfa);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.25);
}

.mobile-help-nav__icon--wallet {
  background: linear-gradient(145deg, #0d9488, #2dd4bf);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
}

.mobile-help-nav__icon--works {
  background: linear-gradient(145deg, #ea580c, #fb923c);
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25);
}

.mobile-help-nav__icon--crown {
  background: linear-gradient(145deg, #d97706, #fbbf24);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
}

.mobile-help-nav__icon--feedback {
  background: linear-gradient(145deg, #db2777, #f472b6);
  box-shadow: 0 4px 10px rgba(219, 39, 119, 0.25);
}

.mobile-help-nav__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  min-width: 0;
}

.mobile-help-nav__text strong {
  font-size: 12px;
  font-weight: 800;
  color: #101828;
  line-height: 1.2;
}

.mobile-help-nav__text small {
  font-size: 10px;
  color: #98a2b3;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 区块标题 */
.mobile-help-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mobile-help-section-head h2,
.mobile-help-faqs__heading {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #101828;
}

.mobile-help-section-more {
  font-size: 13px;
  font-weight: 600;
  color: #98a2b3;
  text-decoration: none;
}

.mobile-help-faqs__heading {
  margin: 0 0 12px;
  padding: 0 2px;
}

/* 热门问题 */
.mobile-help-hot__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-help-hot__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f2f4f7;
}

.mobile-help-hot__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mobile-help-hot__item:first-child {
  padding-top: 0;
}

.mobile-help-hot__item.is-hidden {
  display: none;
}

.mobile-help-hot__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #1e80ff;
  background: #eff6ff;
  overflow: visible;
}

.mobile-help-hot__icon svg,
.mobile-help-contact__icon svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mobile-help-contact__icon {
  color: #667085;
  display: grid;
  place-items: center;
  overflow: visible;
}

.mobile-help-hot__icon--lock {
  color: #7c3aed;
  background: #f5f3ff;
}

.mobile-help-hot__icon--headset {
  color: #0d9488;
  background: #f0fdfa;
}

.mobile-help-hot__icon--alert {
  color: #ea580c;
  background: #fff7ed;
}

.mobile-help-hot__body {
  flex: 1;
  min-width: 0;
}

.mobile-help-hot__body strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #101828;
  line-height: 1.35;
}

.mobile-help-hot__body small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #98a2b3;
  line-height: 1.35;
}

.mobile-help-hot__chev {
  color: #d0d5dd;
  font-size: 20px;
  line-height: 1;
}

.mobile-help-hot__empty {
  margin: 8px 0 0;
  font-size: 13px;
  color: #98a2b3;
  text-align: center;
}

.mobile-help-hot__empty.hidden {
  display: none;
}

/* 联系我们 */
.mobile-help-contact h2 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: #101828;
}

.mobile-help-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.mobile-help-contact__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: 12px;
  background: #f8fafc;
  text-align: center;
}

.mobile-help-contact__cell strong {
  font-size: 12px;
  font-weight: 700;
  color: #344054;
}

.mobile-help-contact__cell small {
  font-size: 10px;
  color: #98a2b3;
  line-height: 1.35;
}

.mobile-help-contact__muted {
  margin: 0 0 12px;
  font-size: 13px;
  color: #667085;
  line-height: 1.5;
}

.mobile-help-contact__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #1e80ff, #3b9bff);
  box-shadow: 0 6px 16px rgba(30, 128, 255, 0.28);
  cursor: pointer;
}

/* 全部问题 */
.mobile-help-faqs {
  margin-bottom: 8px;
}

.mobile-help-faq {
  scroll-margin-top: 72px;
}

.mobile-help-faq.is-hidden {
  display: none;
}

.mobile-help-faq h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: #101828;
}

.mobile-help-faq p,
.mobile-help-faq li {
  font-size: 13px;
  color: #475467;
  line-height: 1.55;
}

.mobile-help-faq ul {
  margin: 0;
  padding-left: 18px;
}

.mobile-help-faq li + li {
  margin-top: 6px;
}

.mobile-help-faq a {
  color: #1e80ff;
  font-weight: 600;
}

.mobile-help-faq__link {
  display: inline-flex;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #eff6ff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.mobile-help-faq__warn {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fffbeb;
  color: #b45309;
  font-size: 13px;
}

.mobile-help-faq__muted {
  font-size: 12px;
  color: #98a2b3;
}

.mobile-help-faq--flash {
  animation: mobile-help-flash 1.2s ease;
}

@keyframes mobile-help-flash {
  0%,
  100% {
    box-shadow: 0 2px 12px rgba(16, 24, 40, 0.05);
  }
  40% {
    box-shadow: 0 0 0 3px rgba(30, 128, 255, 0.28);
  }
}

