/* QQPK 帮助中心样式 */
.help-hero {
  padding: 56px 0 36px;
  background:
    radial-gradient(800px 320px at 10% 0%, rgba(231,191,99,0.16), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.35), transparent),
    var(--bg-soft);
  border-bottom: 1px solid rgba(231,191,99,0.15);
  text-align: center;
}
.help-eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--gold-400);
  font-weight: 700;
}
.help-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold-300);
}
.help-hero-desc {
  margin: 0 auto 22px;
  max-width: 560px;
  color: var(--muted);
}
.help-search {
  max-width: 520px;
  margin: 0 auto;
}
.help-search input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(231,191,99,0.28);
  background: rgba(0,0,0,0.45);
  color: var(--text);
  outline: none;
}
.help-search input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(231,191,99,0.12);
}

.help-main { padding: 36px 0 60px; }
.help-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.help-count { margin: 0; color: var(--muted); font-size: 14px; }

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.help-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--card), #0f1115);
  border: 1px solid rgba(231,191,99,0.18);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
  min-height: 100%;
}
.help-card:hover {
  transform: translateY(-3px);
  border-color: rgba(231,191,99,0.4);
}
.help-card-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}
.help-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.help-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.help-card-cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-300);
  background: rgba(231,191,99,0.12);
  border: 1px solid rgba(231,191,99,0.28);
  padding: 3px 8px;
  border-radius: 999px;
}
.help-card-body h2,
.help-card-body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
}
.help-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.help-card-body time {
  font-size: 12px;
  color: #8b8e96;
}

.help-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.help-pagination button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(231,191,99,0.25);
  background: #0e0f12;
  color: var(--gold-300);
  font-weight: 700;
  cursor: pointer;
}
.help-pagination button:hover { background: #14161a; }
.help-pagination button.active {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  color: #1a1a1a;
  border-color: transparent;
}
.help-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* 首页帮助板块 */
.help-home {
  padding: 40px 0 48px;
}
.help-home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.help-home-head .section-title { margin: 0; }
.help-home-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.help-home-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.help-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.help-home-more {
  text-align: center;
  margin-top: 28px;
}

/* 文章详情 */
.help-article-page { padding: 28px 0 60px; }
.container.narrow { max-width: 860px; }
.help-breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}
.help-breadcrumb a { color: var(--gold-400); }
.help-article header h1 {
  margin: 10px 0 8px;
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: 1.35;
}
.help-article header time { color: #8b8e96; font-size: 13px; }
.help-article-cover {
  margin: 20px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(231,191,99,0.18);
}
.help-article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.help-article-content { color: #e8e8ea; }
.help-article-content .lead {
  font-size: 17px;
  color: var(--gold-300);
  line-height: 1.7;
}
.help-article-content h2 {
  margin: 28px 0 10px;
  font-size: 22px;
  color: #fff;
}
.help-article-content p { margin: 0 0 12px; color: var(--muted); }
.help-article-content a { color: var(--gold-400); text-decoration: underline; }
.help-inline-figure {
  margin: 22px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(231,191,99,0.15);
  background: #000;
}
.help-inline-figure img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}
.help-inline-figure figcaption {
  padding: 8px 12px;
  font-size: 12px;
  color: #8b8e96;
  background: rgba(0,0,0,0.5);
}
.help-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(231,191,99,0.15);
}
.help-article-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(231,191,99,0.2);
  background: rgba(0,0,0,0.35);
  color: var(--gold-300);
  font-size: 14px;
  line-height: 1.4;
}
.help-article-nav .next { text-align: right; }
.help-related {
  margin-top: 28px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(231,191,99,0.18);
  background: var(--card);
}
.help-related h3 { margin: 0 0 10px; }
.help-related ul { margin: 0; padding-left: 18px; color: var(--muted); }
.help-related a { color: var(--gold-400); }

@media (max-width: 960px) {
  .help-grid,
  .help-home-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .help-grid,
  .help-home-grid { grid-template-columns: 1fr; }
  .help-article-nav { grid-template-columns: 1fr; }
  .help-article-nav .next { text-align: left; }
  .help-hero { padding: 40px 0 28px; }
}
