.help-body {
  --help-accent: #2563a8;
  --help-accent-strong: #174b82;
  --help-border: #dfe4ea;
  --help-text: #242b35;
  --help-muted: #5b6674;
  min-width: 0;
}

.help-page {
  color: var(--help-text);
}

.help-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
  padding: 70px 24px 24px;
  box-sizing: border-box;
  overflow: hidden;
  background: #121824;
}

.help-header-mask {
  position: absolute;
  inset: 0;
  background: url(../images/pattern.png) repeat;
  opacity: .12;
}

.help-header-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
}

.help-header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.help-header-title i {
  color: #ff5b5b;
  font-size: 29px;
}

.help-header-desc {
  margin-top: 12px;
  color: #cbd3df;
  font-size: 15px;
  line-height: 1.7;
}

.help-main {
  padding: 34px 0 48px;
}

.help-main > .container {
  width: calc(100% - 40px);
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
}

.help-intro {
  position: relative;
  margin-bottom: 22px;
  padding: 16px 20px 16px 48px;
  border: 1px solid #f0d49b;
  border-radius: 6px;
  background: #fff8e8;
  color: #714f13;
}

.help-intro::before {
  position: absolute;
  top: 17px;
  left: 19px;
  content: "\f071";
  color: #b7791f;
  font-family: FontAwesome;
  font-size: 17px;
}

.help-intro p,
.help-intro span {
  margin: 0 !important;
  color: inherit !important;
  background: transparent !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  text-align: left !important;
}

.help-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.help-search {
  position: relative;
  display: block;
}

.help-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.help-search > i {
  position: absolute;
  top: 50%;
  left: 15px;
  color: #737f8d;
  transform: translateY(-50%);
  pointer-events: none;
}

.help-search input {
  width: 100%;
  height: 42px;
  padding: 0 42px 0 42px;
  box-sizing: border-box;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: var(--help-text);
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}

.help-search input:focus {
  border-color: var(--help-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 168, .14);
}

.help-search-clear {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #687482;
  cursor: pointer;
}

.help-search-clear:hover {
  color: var(--help-accent-strong);
}

.help-filters {
  display: flex;
  overflow: hidden;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  background: #fff;
}

.help-filters button {
  min-width: 54px;
  height: 40px;
  padding: 0 13px;
  border: 0;
  border-right: 1px solid #e0e5eb;
  background: #fff;
  color: #4f5a67;
  cursor: pointer;
}

.help-filters button:last-child {
  border-right: 0;
}

.help-filters button:hover {
  color: var(--help-accent-strong);
  background: #f3f7fb;
}

.help-filters button.is-active {
  background: var(--help-accent);
  color: #fff;
}

.help-filters button:focus-visible,
.help-search-clear:focus-visible,
.help-faq-item summary:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid rgba(37, 99, 168, .3);
  outline-offset: -3px;
}

.help-result-count {
  min-width: 58px;
  color: #687482;
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

.help-faq-list {
  border-top: 1px solid var(--help-border);
}

.help-faq-item {
  border-bottom: 1px solid var(--help-border);
  background: #fff;
}

.help-faq-item[hidden] {
  display: none;
}

.help-faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding: 13px 52px 13px 18px;
  box-sizing: border-box;
  color: var(--help-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
  transition: color .2s, background-color .2s;
}

.help-faq-item summary::-webkit-details-marker {
  display: none;
}

.help-faq-item summary:hover {
  background: #f6f8fa;
  color: var(--help-accent-strong);
}

.help-faq-item summary > i {
  position: absolute;
  top: 50%;
  right: 20px;
  color: #667482;
  font-size: 13px;
  transform: translateY(-50%);
  transition: transform .2s, color .2s;
}

.help-faq-item[open] summary {
  color: var(--help-accent-strong);
  background: #f3f7fb;
}

.help-faq-item[open] summary > i {
  color: var(--help-accent-strong);
  transform: translateY(-50%) rotate(180deg);
}

.help-faq-content {
  padding: 22px 24px 28px;
  border-top: 1px solid #e5eaf0;
  color: #4f5b69;
  font-size: 16px;
  line-height: 1.8;
}

.help-faq-content p {
  margin: 0 0 14px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.help-faq-content p:last-child {
  margin-bottom: 0;
}

.help-faq-content span {
  color: inherit !important;
  background: transparent !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.help-faq-content h3,
.help-faq-content h4,
.help-faq-content h5,
.help-faq-content h6 {
  margin: 2px 0 14px;
  color: #273240;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.help-faq-content strong {
  color: #273240;
}

.help-faq-content a {
  color: var(--help-accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.help-faq-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 18px auto;
  border: 1px solid #e0e5eb;
  border-radius: 6px;
  object-fit: contain;
}

.help-empty {
  padding: 60px 20px;
  border-top: 1px solid var(--help-border);
  color: #687482;
  text-align: center;
}

.help-empty i {
  margin-bottom: 10px;
  font-size: 28px;
}

.help-empty p {
  margin: 0;
}

body.night.help-body {
  --help-border: #41464d;
  --help-text: #e5e8ec;
  --help-muted: #b5bbc3;
}

body.night .help-main > .container {
  background: transparent;
}

body.night .help-intro {
  border-color: #705d32;
  background: #342f25;
  color: #e6cf96;
}

body.night .help-search input,
body.night .help-filters,
body.night .help-filters button,
body.night .help-faq-item {
  border-color: #4a5058;
  background: #292c30;
  color: #dfe3e8;
}

body.night .help-filters button:hover,
body.night .help-faq-item summary:hover,
body.night .help-faq-item[open] summary {
  background: #34383d;
  color: #d9e8fb;
}

body.night .help-filters button.is-active {
  background: #3979bd;
  color: #fff;
}

body.night .help-search input:focus {
  border-color: #6da2d8;
  box-shadow: 0 0 0 3px rgba(109, 162, 216, .16);
}

body.night .help-faq-content {
  border-top-color: #41464d;
  color: #c1c7cf;
}

body.night .help-faq-content h3,
body.night .help-faq-content h4,
body.night .help-faq-content h5,
body.night .help-faq-content h6,
body.night .help-faq-content strong {
  color: #edf0f4;
}

body.night .help-faq-content a {
  color: #8ebbea;
}

body.night .help-faq-content img {
  border-color: #4a5058;
}

@media screen and (min-width: 801px) and (max-width: 1199px) {
  .help-body header > .container {
    width: calc(100% - 32px);
  }

  .help-body footer .container {
    width: calc(100% - 32px);
  }

  .help-body header .logo {
    float: left;
    width: 11rem;
    height: 3.1rem;
    margin: auto;
  }

  .help-body header .logo img {
    display: block;
    height: 100%;
    margin: auto;
  }

  .help-body header.su .logo {
    width: 7rem;
    padding: 8px 0 0;
  }

  .help-body header .menu {
    display: block;
    width: 30px;
    margin: 0;
    font-size: 15px;
    line-height: 70px;
    text-align: center;
  }

  .help-body header .menu.xz {
    transform: rotate(90deg);
  }

  .help-body header nav {
    position: absolute;
    top: 71px;
    left: 0;
    width: 100%;
    padding: 0;
    border-radius: 0 0 5px 5px;
    background: #fff;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, .1);
  }

  .help-body header.su nav {
    top: 51px;
  }

  .help-body header .layui-nav {
    display: none;
    padding: 10px 5px;
  }

  .help-body header nav ul li a i {
    display: none !important;
  }

  .help-body header .layui-nav .layui-nav-item {
    margin: 5px;
    border-radius: 6px;
    background: #f3f5f7;
    line-height: 30px !important;
  }

  .help-body header .layui-nav .layui-this {
    background: #2563a8 !important;
  }

  .help-body header .layui-nav .layui-this a {
    color: #fff !important;
  }

  body.night.help-body header nav {
    background: #323335;
  }

  body.night.help-body header .layui-nav .layui-nav-item {
    background: #252525;
  }
}

@media screen and (max-width: 800px) {
  .help-body header .layui-nav .layui-nav-item {
    border-radius: 6px;
  }
}

@media screen and (max-width: 720px) {
  .help-header {
    min-height: 178px;
    padding: 78px 20px 24px;
  }

  .help-header-title {
    gap: 9px;
    font-size: 25px;
  }

  .help-header-title i {
    font-size: 22px;
  }

  .help-header-desc {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
  }

  .help-main {
    padding: 22px 0 36px;
  }

  .help-main > .container {
    width: calc(100% - 24px);
  }

  .help-intro {
    margin-bottom: 18px;
    padding: 14px 16px 14px 42px;
  }

  .help-intro::before {
    top: 15px;
    left: 16px;
  }

  .help-tools {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .help-filters {
    width: 100%;
  }

  .help-filters button {
    flex: 1;
    min-width: 0;
    padding: 0 8px;
  }

  .help-result-count {
    min-width: 0;
    text-align: left;
  }

  .help-faq-item summary {
    min-height: 58px;
    padding: 12px 44px 12px 14px;
    font-size: 15px;
  }

  .help-faq-item summary > i {
    right: 16px;
  }

  .help-faq-content {
    padding: 18px 16px 22px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .help-page *,
  .help-page *::before,
  .help-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
