/* 官网帮助中心（操作手册 / 常见问题）页面样式 */
.help-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 0 48px;
}

.help-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8492a6;
  margin-bottom: 18px;
}
.help-crumb a {
  color: #64748b;
  text-decoration: none;
}
.help-crumb a:hover {
  color: #2563eb;
}

.help-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #dce7f7;
  border-radius: 16px;
  background: linear-gradient(120deg, #eef5ff 0%, #f8fbff 55%, #ffffff 100%);
  padding: 36px 40px 34px;
}
.help-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.13), rgba(37, 99, 235, 0));
  pointer-events: none;
}
.help-hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 10px;
}
.help-hero__title {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.3;
  color: #0f172a;
  font-weight: 800;
}
.help-hero__desc {
  margin: 0;
  max-width: 760px;
  color: #52627a;
  font-size: 15px;
  line-height: 1.8;
}
.help-search {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 620px;
  background: #fff;
  border: 1px solid #d9e3f2;
  border-radius: 10px;
  padding: 0 14px;
  height: 46px;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.06);
  color: #94a3b8;
  position: relative;
  z-index: 1;
}
.help-search:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.help-search input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 14px;
  color: #1e293b;
  background: transparent;
  min-width: 0;
}
.help-search__count {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
}

.help-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

.help-side {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.help-side__block,
.help-side__contact {
  background: #fff;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  padding: 18px 18px 14px;
}
.help-side__title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid #2563eb;
  line-height: 1.2;
}
.help-side__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.help-side__list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 8px;
  border-radius: 7px;
  font-size: 13.5px;
  color: #475569;
  text-decoration: none;
}
.help-side__list li a:hover {
  background: #f1f6ff;
  color: #2563eb;
}
.help-side__list li a span {
  min-width: 20px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 1px 6px;
}
.help-side__list li a em {
  font-style: normal;
  color: #cbd5e1;
}
.help-side__contact p {
  font-size: 13px;
  line-height: 1.7;
  color: #64748b;
  margin: 0 0 12px;
}
.help-side__contact a {
  display: block;
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
  padding: 4px 0;
  word-break: break-all;
}
.help-side__contact a:hover {
  text-decoration: underline;
}

.help-main {
  min-width: 0;
}
.help-group {
  margin-bottom: 28px;
  scroll-margin-top: 24px;
}
.help-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
}
.help-group__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}

/* 操作手册：步骤卡片 */
.help-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.help-step {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  padding: 20px 22px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.help-step:hover {
  border-color: #c9dcfb;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.07);
}
.help-step__no {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef5ff;
  color: #2563eb;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.help-step__body {
  min-width: 0;
  flex: 1;
}
.help-step h3 {
  margin: 2px 0 10px;
  font-size: 16.5px;
  color: #0f172a;
  font-weight: 700;
}

.help-prose {
  font-size: 14.5px;
  line-height: 1.85;
  color: #475569;
}
.help-prose p {
  margin: 0 0 8px;
}
.help-prose p:last-child {
  margin-bottom: 0;
}
.help-prose ul,
.help-prose ol {
  margin: 6px 0 8px;
  padding-left: 22px;
}
.help-prose li {
  margin: 3px 0;
}
.help-prose strong {
  color: #1e293b;
}
.help-prose code {
  background: #f1f5f9;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 13px;
  color: #1d4ed8;
}
.help-prose a {
  color: #2563eb;
}

.help-shot {
  margin: 16px 0 0;
}
.help-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dce5f1;
  border-radius: 10px;
  background: #f8fafc;
  cursor: zoom-in;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease;
}
.help-shot img:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
}
.help-shot figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: #94a3b8;
  text-align: center;
}

/* 常见问题：折叠问答 */
.help-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.help-faq__item {
  background: #fff;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  overflow: hidden;
}
.help-faq__item[open] {
  border-color: #c9dcfb;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.06);
}
.help-faq__item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
}
.help-faq__item summary::-webkit-details-marker {
  display: none;
}
.help-faq__q {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #eef5ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.help-faq__title {
  flex: 1;
}
.help-faq__arrow {
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 3px;
}
.help-faq__item[open] .help-faq__arrow {
  transform: rotate(225deg);
}
.help-faq__answer {
  padding: 0 20px 18px 56px;
  border-top: 1px dashed #eef2f7;
  padding-top: 14px;
}

.help-empty {
  background: #fff;
  border: 1px dashed #d9e3f2;
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}
.help-empty a {
  color: #2563eb;
}
.help-foot {
  margin-top: 28px;
  background: #f8fafc;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.8;
}
.help-foot strong {
  color: #334155;
}
.help-foot p {
  margin: 6px 0 0;
}

.help-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.82);
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
}
.help-lightbox.is-open {
  display: flex;
}
.help-lightbox img {
  max-width: 94vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.is-hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .help-hero {
    padding: 26px 22px;
  }
  .help-hero__title {
    font-size: 24px;
  }
  .help-layout {
    grid-template-columns: 1fr;
  }
  .help-side {
    position: static;
    order: 2;
  }
  .help-faq__answer {
    padding-left: 20px;
  }
}
