/* ==================== 帮助中心 - 现代卡片式设计 ==================== */

.help-main {
  background: #f5f7fa;
  min-height: calc(100vh - 80px);
  padding-bottom: 80px;
}

/* ========== Hero搜索区 ========== */
.help-hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: visible;
  background: linear-gradient(135deg, #165DFF 0%, #4080FF 50%, #6BA5FF 100%);
}

.help-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.help-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.help-hero-title {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.help-hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  margin-bottom: 40px;
}

/* 搜索框 */
.help-search-box {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 999;
}

.help-search-wrapper {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 8px 8px 8px 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s;
}

.help-search-wrapper:focus-within {
  box-shadow: 0 12px 48px rgba(22, 93, 255, 0.3);
}

.search-icon {
  color: #999;
  flex-shrink: 0;
}

.help-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 14px 14px;
  color: #333;
  background: transparent;
}

.help-search-input::placeholder {
  color: #bbb;
}

.help-search-btn {
  background: linear-gradient(135deg, #165DFF, #4080FF);
  color: #fff;
  border: none;
  padding: 13px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.help-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 93, 255, 0.4);
}

/* 搜索建议下拉 */
.help-search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 999;
}

.suggestion-item {
  display: flex;
  align-items: center;
  padding: 14px 22px;
  cursor: pointer;
  transition: background 0.15s;
  gap: 12px;
}

.suggestion-item:hover {
  background: #f5f8ff;
}

.suggestion-text {
  flex: 1;
  font-size: 14px;
  color: #333;
}

.suggestion-cat {
  font-size: 12px;
  color: #165DFF;
  background: #e8f0ff;
  padding: 3px 10px;
  border-radius: 6px;
  flex-shrink: 0;
  font-weight: 500;
}

.suggestion-empty {
  padding: 24px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

/* 搜索高亮 */
.search-highlight {
  background: #fff3cd;
  color: #165DFF;
  padding: 0 3px;
  border-radius: 3px;
  font-weight: 600;
}

/* 热门搜索 */
.help-hot-search {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hot-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.hot-tag {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.hot-tag:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-1px);
}

/* ========== 主体内容 ========== */
.help-body {
  margin-top: -50px;
  position: relative;
}

/* ========== 快速入口卡片 ========== */
.help-quick-entry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.quick-entry-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 26px;
  background: #fff;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.quick-entry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #165DFF, #4080FF);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.quick-entry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.quick-entry-card:hover::before {
  transform: scaleX(1);
}

.quick-activate::before { background: linear-gradient(90deg, #52c41a, #73d13d); }
.quick-bind::before { background: linear-gradient(90deg, #165DFF, #4080FF); }
.quick-perm::before { background: linear-gradient(90deg, #fa8c16, #ffa940); }

.quick-entry-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.quick-activate .quick-entry-icon { background: linear-gradient(135deg, #f6ffed, #d9f7be); }
.quick-bind .quick-entry-icon { background: linear-gradient(135deg, #e8f0ff, #d6e4ff); }
.quick-perm .quick-entry-icon { background: linear-gradient(135deg, #fff7e6, #ffe7ba); }

.quick-entry-info {
  flex: 1;
  min-width: 0;
}

.quick-entry-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px;
}

.quick-entry-info p {
  font-size: 13px;
  color: #888;
  margin: 0;
}

.quick-entry-arrow {
  color: #ccc;
  font-size: 20px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.quick-entry-card:hover .quick-entry-arrow {
  color: #165DFF;
  transform: translateX(4px);
}

/* ========== 通用section ========== */
.help-section {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.help-section-header {
  margin-bottom: 24px;
}

.help-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.help-section-desc {
  font-size: 14px;
  color: #999;
  margin: 0;
}

/* ========== 分类卡片网格 ========== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid #f0f0f0;
  border-left: 4px solid #165DFF;
  position: relative;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: #e8e8e8;
}

.category-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.category-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8f0ff, #d6e4ff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-card-title-wrap {
  flex: 1;
  min-width: 0;
}

.category-card-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.category-card-count {
  font-size: 12px;
  color: #999;
}

.category-card-articles {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.category-card-article-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  transition: color 0.2s;
}

.category-card:hover .category-card-article-item {
  color: #333;
}

.cat-article-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d0d0d0;
  flex-shrink: 0;
  margin-top: 7px;
  transition: background 0.2s;
}

.category-card:hover .cat-article-dot {
  background: #165DFF;
}

.cat-article-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.category-card-footer {
  font-size: 12px;
  color: #165DFF;
  font-weight: 500;
  padding-top: 12px;
  border-top: 1px solid #f5f5f5;
  text-align: right;
}

.category-card-new {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  color: #fff;
  background: linear-gradient(135deg, #ff4d4f, #ff7875);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

/* ========== 热门问题列表 ========== */
.hot-question-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hot-question-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.hot-question-item:hover {
  background: #f5f8ff;
}

.hot-question-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.hot-question-item:nth-child(1) .hot-question-num { background: linear-gradient(135deg, #ff4d4f, #ff7875); color: #fff; }
.hot-question-item:nth-child(2) .hot-question-num { background: linear-gradient(135deg, #fa8c16, #ffa940); color: #fff; }
.hot-question-item:nth-child(3) .hot-question-num { background: linear-gradient(135deg, #faad14, #ffc53d); color: #fff; }
.hot-question-item:nth-child(n+4) .hot-question-num { background: #f0f0f0; color: #999; }

.hot-question-text {
  flex: 1;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

.hot-question-cat {
  font-size: 12px;
  color: #165DFF;
  background: #e8f0ff;
  padding: 3px 10px;
  border-radius: 6px;
  flex-shrink: 0;
}

.hot-question-arrow {
  color: #ddd;
  font-size: 16px;
  transition: all 0.2s;
}

.hot-question-item:hover .hot-question-arrow {
  color: #165DFF;
  transform: translateX(3px);
}

/* ========== 新手指引 ========== */
.help-getstart {
  background: linear-gradient(135deg, #f8faff 0%, #f0f5ff 100%);
  border: 1px solid #e8f0ff;
}

.getstart-steps {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
}

.getstart-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.getstart-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  right: -6px;
  width: 12px;
  height: 2px;
  background: #d6e4ff;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #165DFF, #4080FF);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

.step-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0 0 4px;
}

.step-content p {
  font-size: 12px;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

.getstart-cta {
  text-align: center;
}

.btn-getstart {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, #165DFF, #4080FF);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

.btn-getstart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 93, 255, 0.35);
  color: #fff;
}

/* ========== 分类/搜索结果页头部 ========== */
.help-category-header {
  background: linear-gradient(135deg, #165DFF 0%, #4080FF 100%);
  padding: 110px 0 70px;
  position: relative;
  overflow: hidden;
}

.help-category-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

.category-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.category-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.category-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.breadcrumb-current {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.category-title {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}

.category-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}

.search-result-count {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin: 0;
  position: relative;
  z-index: 1;
}

.category-search-inline {
  max-width: 400px;
  position: relative;
  z-index: 1;
}

.category-search-input {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: #fff;
  color: #333;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-search-input::placeholder {
  color: #999;
}

.category-search-input:focus {
  border-color: #165DFF;
  box-shadow: 0 4px 16px rgba(22, 93, 255, 0.25);
}

/* 分类文章列表 */
.category-article-list {
  margin-top: -30px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-article-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.list-article-card:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 20px rgba(22, 93, 255, 0.08);
}

.list-article-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8f0ff, #d6e4ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.list-article-info {
  flex: 1;
  min-width: 0;
}

.list-article-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.5;
}

.list-article-summary {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.list-article-meta {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.list-article-cat {
  font-size: 12px;
  color: #165DFF;
  background: #e8f0ff;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}

.list-article-arrow {
  color: #ddd;
  font-size: 18px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.list-article-card:hover .list-article-arrow {
  color: #165DFF;
  transform: translateX(4px);
}

/* 无搜索结果 */
.search-no-result {
  margin-top: -30px;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  padding: 80px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.no-result-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.search-no-result p {
  color: #666;
  font-size: 17px;
  margin: 0 0 8px;
}

.no-result-tip {
  color: #999 !important;
  font-size: 14px !important;
  margin: 0 0 24px !important;
}

.btn-contact-support {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, #165DFF, #4080FF);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-contact-support:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 93, 255, 0.3);
  color: #fff;
}

/* ========== 文章详情页 ========== */
.help-article-header {
  background: linear-gradient(135deg, #165DFF 0%, #4080FF 100%);
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
}

.help-article-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

.article-layout {
  display: flex;
  gap: 32px;
  margin-top: -50px;
  position: relative;
  z-index: 2;
}

.article-main {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 16px;
  padding: 40px 48px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.article-category-tag {
  display: inline-block;
  font-size: 13px;
  color: #165DFF;
  background: #e8f0ff;
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-weight: 500;
}

.article-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 18px;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.article-meta {
  display: flex;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 32px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #999;
}

.meta-item svg {
  width: 14px;
  height: 14px;
}

.article-content {
  font-size: 15.5px;
  line-height: 1.9;
  color: #444;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content strong {
  color: #1a1a1a;
  font-weight: 600;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 4px solid #165DFF;
  line-height: 1.4;
}

.article-content ol,
.article-content ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.article-content ol li::marker {
  color: #165DFF;
  font-weight: 600;
}

/* 文章反馈 */
.article-feedback {
  margin-top: 48px;
  padding: 28px;
  background: linear-gradient(135deg, #f8faff, #f0f5ff);
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e8f0ff;
}

.feedback-title {
  font-size: 16px;
  color: #333;
  margin: 0 0 18px;
  font-weight: 600;
}

.feedback-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}

.feedback-btn:hover {
  border-color: #165DFF;
  color: #165DFF;
  transform: translateY(-1px);
}

.feedback-btn.selected {
  background: #e8f0ff;
  border-color: #165DFF;
  color: #165DFF;
}

.feedback-btn.helpful.selected {
  background: #f6ffed;
  border-color: #52c41a;
  color: #52c41a;
}

.feedback-btn.not-helpful.selected {
  background: #fff1f0;
  border-color: #ff4d4f;
  color: #ff4d4f;
}

.feedback-thanks {
  margin-top: 14px;
  font-size: 13px;
  color: #52c41a;
  font-weight: 500;
}

/* 文章侧边栏 */
.article-sidebar {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.sidebar-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.related-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #555;
  font-size: 14px;
  transition: all 0.2s;
  line-height: 1.5;
}

.related-item:hover {
  background: #f5f8ff;
  color: #165DFF;
}

.related-arrow {
  color: #ccc;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.related-text {
  flex: 1;
}

.sidebar-contact {
  background: linear-gradient(135deg, #165DFF, #4080FF);
  color: #fff;
}

.sidebar-contact .sidebar-card-title {
  color: #fff;
}

.sidebar-contact-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 16px;
  line-height: 1.6;
}

.btn-sidebar-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-sidebar-contact:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .article-sidebar {
    width: 240px;
  }
}

@media (max-width: 768px) {
  .help-hero {
    padding: 50px 0 70px;
  }

  .help-hero-title {
    font-size: 28px;
  }

  .help-hero-subtitle {
    font-size: 15px;
  }

  .help-search-wrapper {
    padding: 6px 6px 6px 16px;
  }

  .help-search-input {
    padding: 12px 10px;
    font-size: 14px;
  }

  .help-search-btn {
    padding: 11px 20px;
    font-size: 14px;
  }

  .help-body {
    margin-top: -35px;
  }

  .help-quick-entry {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .quick-entry-card {
    padding: 20px;
  }

  .help-section {
    padding: 24px 18px;
  }

  .help-section-title {
    font-size: 19px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 18px 16px;
  }

  .getstart-steps {
    flex-direction: column;
    gap: 16px;
  }

  .getstart-step:not(:last-child)::after {
    display: none;
  }

  .getstart-step {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
  }

  .step-number {
    margin: 0;
    flex-shrink: 0;
  }

  .help-category-header {
    padding: 100px 0 50px;
  }

  .category-title {
    font-size: 24px;
  }

  .category-article-list {
    margin-top: -20px;
  }

  .list-article-card {
    padding: 18px;
    flex-wrap: wrap;
  }

  .list-article-meta {
    width: 100%;
    margin-left: 60px;
  }

  .article-layout {
    flex-direction: column;
  }

  .article-main {
    padding: 28px 22px;
  }

  .article-title {
    font-size: 24px;
  }

  .article-sidebar {
    width: 100%;
  }

  .article-meta {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .help-hero-title {
    font-size: 24px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .hot-question-cat {
    display: none;
  }

  .list-article-card {
    padding: 16px;
  }

  .list-article-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .list-article-title {
    font-size: 15px;
  }

  .article-main {
    padding: 24px 18px;
  }

  .article-title {
    font-size: 22px;
  }

  .article-content {
    font-size: 15px;
  }

  .feedback-buttons {
    flex-direction: column;
  }

  .feedback-btn {
    justify-content: center;
  }
}

/* ========== SVG图标样式 ========== */
.quick-entry-icon svg {
  display: block;
}
.quick-activate .quick-entry-icon { color: #52c41a; }
.quick-bind .quick-entry-icon { color: #165DFF; }
.quick-perm .quick-entry-icon { color: #fa8c16; }

.category-card-icon svg {
  display: block;
  color: #165DFF;
}

.list-article-icon svg {
  display: block;
  color: #165DFF;
}

.cat-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 8px;
  color: rgba(255,255,255,0.9);
}
.cat-title-icon svg {
  display: block;
}

.tag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 4px;
}
/* ========== 分类Tab ========== */
.category-tabs-wrap {
  margin-bottom: 24px;
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.category-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid #eef0f3;
  white-space: nowrap;
}

.category-tab:hover {
  border-color: #c7d2fe;
  background: #f8faff;
  transform: translateY(-1px);
}

.category-tab.active {
  background: linear-gradient(135deg, #165DFF 0%, #4080FF 100%);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(22, 93, 255, 0.3);
}

.cat-tab-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(135deg, #e8f0ff, #d6e4ff);
  color: #165DFF;
  transition: all 0.25s;
}

.category-tab.active .cat-tab-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cat-tab-name {
  font-size: 14px;
  font-weight: 500;
  color: #444;
  transition: color 0.25s;
}

.category-tab.active .cat-tab-name {
  color: #fff;
  font-weight: 600;
}

.cat-tab-count {
  font-size: 12px;
  color: #999;
  background: #f5f7fa;
  padding: 1px 8px;
  border-radius: 10px;
  transition: all 0.25s;
}

.category-tab.active .cat-tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* 分类Tab彩色图标 */
.cat-quick_start .cat-tab-icon { background: linear-gradient(135deg, #fff7e6, #ffe7ba); color: #fa8c16; }
.cat-activate .cat-tab-icon { background: linear-gradient(135deg, #f6ffed, #d9f7be); color: #52c41a; }
.cat-bind .cat-tab-icon { background: linear-gradient(135deg, #e8f0ff, #d6e4ff); color: #165DFF; }
.cat-permission .cat-tab-icon { background: linear-gradient(135deg, #f9f0ff, #efdbff); color: #722ed1; }
.cat-time_manage .cat-tab-icon { background: linear-gradient(135deg, #e6fffb, #b5f5ec); color: #13c2c2; }
.cat-app_manage .cat-tab-icon { background: linear-gradient(135deg, #f0f5ff, #d6e4ff); color: #2f54eb; }
.cat-safety .cat-tab-icon { background: linear-gradient(135deg, #fff1f0, #ffccc7); color: #f5222d; }
.cat-growth .cat-tab-icon { background: linear-gradient(135deg, #f6ffed, #b7eb8f); color: #389e0d; }
.cat-family .cat-tab-icon { background: linear-gradient(135deg, #fff0f6, #ffadd2); color: #eb2f96; }
.cat-privilege .cat-tab-icon { background: linear-gradient(135deg, #fffbe6, #ffe58f); color: #d48806; }
.cat-settings .cat-tab-icon { background: linear-gradient(135deg, #f5f7fa, #e8e8e8); color: #595959; }

/* Tab下的文章列表 */
.category-tab-articles {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #f0f0f0;
}

.tab-articles-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f5f5f5;
}

.tab-articles-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.tab-articles-count {
  font-size: 13px;
  color: #999;
}

.tab-view-all {
  margin-left: auto;
  font-size: 13px;
  color: #165DFF;
  text-decoration: none;
  font-weight: 500;
}

.tab-view-all:hover {
  text-decoration: underline;
}

.tab-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

.tab-article-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.tab-article-item:hover {
  background: #f8faff;
}

.tab-article-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d0d0d0;
  flex-shrink: 0;
  transition: background 0.15s;
}

.tab-article-item:hover .tab-article-dot {
  background: #165DFF;
}

.tab-article-title {
  font-size: 14px;
  color: #555;
  transition: color 0.15s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab-article-item:hover .tab-article-title {
  color: #165DFF;
}

@media (max-width: 768px) {
  .tab-articles-grid {
    grid-template-columns: 1fr;
  }
  .category-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-tab-articles {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .category-tabs {
    grid-template-columns: 1fr;
  }
}

/* ========== 分类卡片彩色图标（旧样式，已停用） ========== */
.cat-quick_start .category-card-icon { background: linear-gradient(135deg, #fff7e6, #ffe7ba); color: #fa8c16; }
.cat-activate .category-card-icon { background: linear-gradient(135deg, #f6ffed, #d9f7be); color: #52c41a; }
.cat-bind .category-card-icon { background: linear-gradient(135deg, #e8f0ff, #d6e4ff); color: #165DFF; }
.cat-permission .category-card-icon { background: linear-gradient(135deg, #f9f0ff, #efdbff); color: #722ed1; }
.cat-time_manage .category-card-icon { background: linear-gradient(135deg, #e6fffb, #b5f5ec); color: #13c2c2; }
.cat-app_manage .category-card-icon { background: linear-gradient(135deg, #f0f5ff, #d6e4ff); color: #2f54eb; }
.cat-safety .category-card-icon { background: linear-gradient(135deg, #fff1f0, #ffccc7); color: #f5222d; }
.cat-growth .category-card-icon { background: linear-gradient(135deg, #f6ffed, #b7eb8f); color: #389e0d; }
.cat-family .category-card-icon { background: linear-gradient(135deg, #fff0f6, #ffadd2); color: #eb2f96; }
.cat-family .category-card-icon { background: linear-gradient(135deg, #fff0f6, #ffadd2); color: #eb2f96; }
.cat-privilege .category-card-icon { background: linear-gradient(135deg, #fffbe6, #ffe58f); color: #d48806; }
.cat-settings .category-card-icon { background: linear-gradient(135deg, #f5f7fa, #e8e8e8); color: #595959; }

.category-card-icon svg {
  color: inherit;
}

/* ========== 移动端强制修复 ========== */
@media (max-width: 768px) {
  /* 搜索框强制全宽，按钮独占一行 */
  .help-search-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  .help-search-input {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 12px 10px !important;
    font-size: 14px !important;
  }

  .help-search-btn {
    width: 100% !important;
    padding: 12px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
  }

  .search-icon {
    display: none !important;
  }

  /* Hero区域适配 */
  .help-hero {
    padding: 40px 0 60px !important;
  }

  .help-hero-title {
    font-size: 24px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    white-space: normal !important;
  }

  .help-hero-subtitle {
    font-size: 14px !important;
    line-height: 1.6 !important;
    padding: 0 16px !important;
    white-space: normal !important;
  }

  /* 热门搜索标签 */
  .help-hot-search {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 12px !important;
  }

  .hot-tag {
    font-size: 12px !important;
    padding: 4px 12px !important;
  }

  /* 快速入口 */
  .help-quick-entry {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* 分类网格 */
  .category-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .category-card {
    padding: 16px !important;
  }

  /* 分类Tab */
  .category-tabs {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .tab-articles-grid {
    grid-template-columns: 1fr !important;
  }

  .category-tab-articles {
    padding: 16px !important;
  }

  /* 文章列表 */
  .article-list {
    padding: 0 !important;
  }

  .article-item {
    padding: 14px 12px !important;
  }

  .article-title {
    font-size: 15px !important;
  }

  .article-meta {
    font-size: 12px !important;
  }

  /* 文章详情页 */
  .article-detail {
    padding: 20px 16px !important;
  }

  .article-detail-title {
    font-size: 20px !important;
  }

  .article-detail-content {
    font-size: 15px !important;
    line-height: 1.8 !important;
  }

  .article-layout {
    flex-direction: column !important;
  }

  .article-main {
    padding: 28px 22px !important;
  }

  .article-sidebar {
    width: 100% !important;
  }

  .article-meta {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  /* 新手指引 */
  .getstart-steps {
    flex-direction: column !important;
    gap: 16px !important;
  }

  .getstart-step:not(:last-child)::after {
    display: none !important;
  }

  .getstart-step {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    text-align: left !important;
  }

  .step-number {
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  /* 新手指引按钮不换行 */
  .btn-getstart {
    white-space: nowrap !important;
    font-size: 14px !important;
    padding: 12px 24px !important;
  }
}
