:root {
  --help-bg: #f3f7fb;
  --help-surface: #ffffff;
  --help-ink: #1b2b3b;
  --help-muted: #607487;
  --help-line: #d8e4ee;
  --help-primary: #1768a6;
  --help-primary-dark: #0a3c68;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.cc-help-page {
  margin: 0 !important;
  color: var(--help-ink) !important;
  background: var(--help-bg) !important;
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}

.cc-help-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 12px max(20px, calc((100vw - 1120px) / 2));
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(110deg, #082d51, #1768a6);
  box-shadow: 0 8px 24px rgba(7,43,76,.18);
}

.cc-help-brand {
  color: #fff !important;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none !important;
}

.cc-help-header nav { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-help-header nav a {
  padding: 7px 11px;
  color: #e5f5ff !important;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 5px;
  text-decoration: none !important;
}
.cc-help-header nav a:hover { background: rgba(255,255,255,.12); }

.cc-help-content {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 112px);
  margin: 24px auto;
  padding: clamp(20px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid var(--help-line);
  border-radius: 10px;
  background: var(--help-surface);
  box-shadow: 0 12px 36px rgba(21,70,108,.08);
}

.cc-help-content img,
.cc-help-content video,
.cc-help-content object,
.cc-help-content embed { max-width: 100% !important; height: auto; }
.cc-help-content table { max-width: 100% !important; border-color: var(--help-line) !important; }
.cc-help-content td,.cc-help-content th { height: auto !important; line-height: 1.65 !important; }
.cc-help-content a { color: var(--help-primary) !important; overflow-wrap: anywhere; }
.cc-help-content h1,.cc-help-content h2,.cc-help-content h3 { color: var(--help-primary-dark) !important; line-height: 1.35 !important; }
.cc-help-content font { line-height: inherit !important; }
.cc-help-content pre { max-width: 100%; overflow: auto; padding: 14px; background: #f6f9fc; }

@media (max-width: 700px) {
  .cc-help-header { position: static; display: block; padding: 14px 18px; }
  .cc-help-header nav { margin-top: 10px; }
  .cc-help-content { width: calc(100% - 20px); margin: 10px auto; padding: 18px; border-radius: 7px; }
  .cc-help-content table { display: block; overflow-x: auto; }
}

