.fc-header,
.fc-footer {
  color: #fff;
  background: #000;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.fc-header {
  position: relative;
  z-index: 20;
  box-shadow: 0 2px 6px #0004;
}

.fc-bar {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding-inline: clamp(36px, 4.3vw, 78px) clamp(36px, 2.5vw, 50px);
}

.fc-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: #fff;
  text-decoration: none;
  font-size: 25px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.06em;
  white-space: nowrap;
}

.fc-mark {
  display: inline-flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 26px;
  height: 21px;
  transform: skewX(-21deg);
}

.fc-mark i { width: 6px; height: 100%; background: var(--accent); }
.fc-mark i:nth-child(2) { height: 74%; }
.fc-mark i:nth-child(3) { height: 46%; }

.fc-navigation,
.fc-utilities {
  display: flex;
  align-items: center;
}

.fc-navigation {
  gap: 3.5rem;
  margin-inline-start: 3.5rem;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.fc-header summary {
  list-style: none;
  cursor: pointer;
}

.fc-header summary::-webkit-details-marker { display: none; }

.fc-navigation > a,
.fc-resources > summary {
  position: relative;
  padding-block: 10px;
  white-space: nowrap;
}

.fc-navigation > a::after,
.fc-resources > summary::after {
  content: "";
  position: absolute;
  inset: auto 0 3px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.fc-navigation > a:is(:hover, :focus-visible, [aria-current])::after,
.fc-resources[open] > summary::after,
.fc-resources > summary:is(:hover, :focus-visible)::after {
  transform: scaleX(1);
}

.fc-resources,
.fc-search {
  position: relative;
}

.fc-resource-panel,
.fc-search form {
  position: absolute;
  z-index: 2;
  top: calc(100% + 8px);
  color: #fff;
  background: #1b1b1d;
  border: 1px solid #434346;
  box-shadow: 0 10px 30px #0007;
}

.fc-resource-panel {
  left: -20px;
  min-width: 206px;
  padding: 6px 18px;
}

.fc-resource-panel a {
  display: block;
  padding: 11px 0;
  font-size: 15px;
}

.fc-resource-panel a + a { border-top: 1px solid #39393c; }
.fc-resource-panel a:hover,
.fc-footer nav a:hover { color: var(--accent-light); text-decoration: underline; text-underline-offset: 4px; }

.fc-utilities {
  gap: 9px;
  margin-left: auto;
}

.fc-tool,
.fc-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 44px;
  color: #fff;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.fc-tool:is(:hover, :focus-visible),
.fc-search[open] > summary,
.fc-menu-button:is(:hover, :focus-visible) { background: #242426; }

.fc-user-icon,
.fc-search-icon,
.fc-menu-button > span {
  display: inline-block;
  position: relative;
}

.fc-user-icon { width: 22px; height: 22px; }
.fc-user-icon::before,
.fc-user-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1.65px solid currentColor;
}
.fc-user-icon::before { top: 0; width: 8px; height: 8px; border-radius: 50%; }
.fc-user-icon::after { bottom: 0; width: 18px; height: 9px; border-radius: 12px 12px 2px 2px; }
.fc-search-icon { width: 17px; height: 17px; margin: -3px 2px 0 0; border: 1.8px solid currentColor; border-radius: 50%; }
.fc-search-icon::after { content: ""; position: absolute; width: 9px; height: 1.8px; background: currentColor; bottom: -4px; right: -7px; transform: rotate(47deg); }

.fc-search form {
  right: 0;
  width: min(352px, calc(100vw - 20px));
  padding: 18px;
}
.fc-search label { display: block; font-size: 16px; font-weight: 600; margin-bottom: 9px; }
.fc-query { display: flex; }
.fc-query input { width: 100%; min-width: 0; height: 44px; color: #fff; background: #101010; border: 1px solid #888; border-radius: 0; padding-inline: 10px; }
.fc-query input::placeholder { color: #b6b6b6; }
.fc-query button { flex-shrink: 0; padding-inline: 16px; border: 1px solid var(--accent); border-radius: 0; background: var(--accent); color: #111; font-weight: 600; cursor: pointer; }
.fc-query button:hover { background: var(--accent-light); }

.fc-menu-button { display: none; }
.fc-menu-button > span,
.fc-menu-button > span::before,
.fc-menu-button > span::after { width: 22px; height: 2px; background: currentColor; }
.fc-menu-button > span::before,
.fc-menu-button > span::after { content: ""; position: absolute; left: 0; }
.fc-menu-button > span::before { top: -7px; }
.fc-menu-button > span::after { top: 7px; }
.fc-menu-button[aria-expanded="true"] > span { background: transparent; }
.fc-menu-button[aria-expanded="true"] > span::before { top: 0; transform: rotate(45deg); }
.fc-menu-button[aria-expanded="true"] > span::after { top: 0; transform: rotate(-45deg); }

.fc-footer {
  border-top: 1px solid #333;
  padding: 54px max(24px, calc((100vw - 1280px) / 2)) 24px;
}
.fc-footer-inner { display: flex; align-items: flex-start; gap: clamp(50px, 11vw, 190px); padding-bottom: 42px; }
.fc-footer nav { display: flex; flex-wrap: wrap; gap: clamp(60px, 10vw, 170px); }
.fc-footer nav h2 { margin: 0 0 13px; color: #fff; font-size: 17px; line-height: 1.4; font-weight: 650; letter-spacing: 0; }
.fc-footer nav a { display: block; color: #cbcbcb; padding: 3px 0; font-size: 15px; }
.fc-copyright { border-top: 1px solid #363636; padding-top: 20px; }
.fc-copyright small { color: #aaa; font-size: 13px; }

@media (max-width: 1199px) {
  .fc-bar { flex-wrap: wrap; padding-inline: 18px; }
  .fc-menu-button:not([hidden]) { display: inline-flex; margin-right: 16px; }
  .fc-navigation {
    order: 5;
    width: 100%;
    margin: 0;
    gap: 0;
    background: #1b1b1d;
    flex-direction: column;
    align-items: stretch;
  }
  .fc-header[data-interactive] .fc-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    max-width: min(100%, 540px);
    max-height: calc(100dvh - 88px);
    overflow: auto;
    border-bottom: 1px solid #49494b;
    box-shadow: 0 14px 28px #0006;
  }
  .fc-header[data-menu-open] .fc-navigation { display: flex; }
  .fc-navigation > a,
  .fc-resources > summary { display: block; padding: 15px 24px; border-top: 1px solid #38383a; }
  .fc-navigation > a::after { display: none; }
  .fc-resources > summary::after {
    inset: 21px 26px auto auto;
    width: 8px;
    height: 8px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    background: none;
    transform: rotate(45deg);
  }
  .fc-resources > summary:is(:hover, :focus-visible)::after { transform: rotate(45deg); }
  .fc-resources[open] > summary::after { transform: rotate(225deg); top: 25px; }
  .fc-resource-panel { position: static; background: #232325; border: 0; box-shadow: none; padding-inline: 38px 20px; }
  .fc-resource-panel a + a { border: 0; }
}

@media (max-width: 575px) {
  .fc-bar { min-height: 56px; padding-inline: 8px; }
  .fc-menu-button:not([hidden]) { margin-right: 9px; }
  .fc-brand { font-size: 21px; gap: 6px; }
  .fc-mark { width: 21px; height: 18px; }
  .fc-mark i { width: 5px; }
  .fc-utilities { gap: 3px; }
  .fc-header[data-interactive] .fc-navigation { max-height: calc(100dvh - 56px); }
  .fc-search form { right: 0; padding: 15px; }
  .fc-footer { padding-block: 36px 22px; }
  .fc-footer-inner { flex-direction: column; gap: 30px; padding-bottom: 28px; }
  .fc-footer nav { gap: 44px; }
}
