.search-page {
  --search-line: rgba(127, 160, 218, 0.16);
  min-height: 640px;
  padding-bottom: 80px;
  background: linear-gradient(#030610 0 200px, #080e1e 600px, #080e1e 85%, #0a0f1e);
  color: #a1b1c9;
  font-family: var(--font-family-pingfang);
  font-size: 14px;
  line-height: 1.8;
}
.search-page [hidden] {
  display: none !important;
}
.search-page a {
  color: inherit;
}
.search-shell {
  width: min(1480px, calc(100% - max(40px, var(--site-content-inline-space))));
  max-width: none;
  margin-inline: auto;
  min-width: 0;
  padding-top: 56px;
}
.search-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  color: #91a6c3;
  font-size: 12px;
}
.search-breadcrumb a:hover {
  color: #dce9ff;
}
.search-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  min-width: 0;
  padding-bottom: 32px;
}
.search-heading__copy {
  min-width: 0;
}
.search-heading__copy p {
  margin: 12px 0 0;
  color: #8fa1ba;
  font-size: 14px;
}
.search-heading__copy h1 {
  margin: 0;
  color: #edf4ff;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.4;
}
.search-query-form {
  display: flex;
  width: 440px;
  max-width: 100%;
  flex: 0 1 440px;
  min-height: 50px;
  border: 1px solid rgba(127, 160, 218, 0.3);
  border-radius: 5px;
  background: rgba(12, 24, 44, 0.8);
}
.search-query-form input {
  min-width: 0;
  width: 0;
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: #edf4ff;
  font: inherit;
}
.search-query-form input::placeholder {
  color: #8fa1ba;
}
.search-query-form button {
  display: grid;
  place-items: center;
  width: 52px;
  flex: 0 0 52px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: #204e8b;
  color: #d8e8ff;
  cursor: pointer;
}
.search-query-form button:hover {
  background: #2b609f;
}
.search-query-form :is(input,button):focus {
  outline: none;
}
.search-query-form svg {
  width: 20px;
  height: 20px;
}
.search-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--search-line);
  border-bottom: 1px solid var(--search-line);
}
.search-type-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #8fa6c5;
  font-size: 14px;
  line-height: 24px;
}
.search-type-tabs a:hover {
  color: #dbe9fc;
  background: rgba(38, 65, 103, 0.35);
}
.search-type-tabs a[aria-current="page"] {
  color: #e4efff;
  background: linear-gradient(100deg, #203e66, #142943);
  border-color: rgba(127, 170, 235, 0.27);
}
.search-summary {
  margin: 24px 0 20px;
  min-height: 24px;
  color: #8fa1ba;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.search-results-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.search-results,
.search-result-section,
.search-result-section > header,
.search-result-list,
.search-result-item,
.search-result-link,
.search-result-body {
  min-width: 0;
}
.search-result-section {
  padding: 24px 28px 8px;
  border: 1px solid var(--search-line);
  border-radius: 8px;
  background: linear-gradient(125deg, rgba(15, 29, 51, 0.76), rgba(8, 16, 32, 0.68));
  box-shadow: inset 0 1px 0 rgba(197, 219, 255, 0.035);
}
.search-result-section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--search-line);
}
.search-result-section h2 {
  margin: 0;
  color: #edf4ff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}
.search-result-section > header a {
  flex: 0 0 auto;
  color: #91baff;
  font-size: 13px;
}
.search-result-section > header a:hover {
  color: #dceaff;
}
.search-result-status {
  min-height: 88px;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  color: #8fa1ba;
  text-align: center;
  overflow-wrap: anywhere;
}
.search-result-status:not([hidden]) {
  display: flex;
}
.search-result-status[data-state="error"] {
  color: #ff8b9a;
}
.search-result-item + .search-result-item {
  border-top: 1px solid var(--search-line);
}
.search-result-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}
.search-result-link:hover .search-result-title {
  color: #a7cbff;
}
.search-result-link:hover .search-result-arrow {
  color: #b7d4ff;
  transform: translateX(3px);
}
.search-result-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
}
.search-result-meta {
  color: #8eafda;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.search-result-title,
.search-result-description {
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.search-result-title {
  color: #dce6f4;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  transition: color 0.18s ease;
}
.search-result-description {
  color: #9aabc2;
  font-size: 14px;
  line-height: 1.8;
}
.search-result-arrow {
  flex: 0 0 auto;
  color: #8ea7ca;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.18s ease, color 0.18s ease;
}
.search-result-body mark {
  padding: 0 2px;
  border-radius: 2px;
  background: rgba(103, 155, 232, 0.14);
  color: #b7d4ff;
  font-weight: inherit;
}
.search-page :is(a,button):focus-visible {
  outline: 2px solid #91baff;
  outline-offset: 3px;
}
.search-page .search-query-form button:focus-visible {
  outline: none;
}
@media (max-width: 900px) {
  .search-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
  }
  .search-query-form {
    flex-basis: auto;
  }
}
@media (max-width: 768px) {
  .search-page {
    padding-bottom: 44px;
  }
  .search-shell {
    width: calc(100% - 32px);
    padding-top: 32px;
  }
  .search-breadcrumb {
    margin-bottom: 20px;
  }
  .search-heading {
    padding-bottom: 24px;
  }
  .search-heading__copy h1 {
    font-size: 30px;
  }
  .search-query-form {
    width: 100%;
  }
  .search-type-tabs {
    gap: 6px;
    padding-block: 16px;
  }
  .search-type-tabs a {
    padding-inline: 12px;
    font-size: 13px;
  }
  .search-results-stack {
    gap: 16px;
  }
  .search-result-section {
    padding: 20px 20px 4px;
  }
  .search-result-section h2 {
    font-size: 20px;
  }
  .search-result-link {
    gap: 16px;
    padding-block: 18px;
  }
  .search-result-title {
    font-size: 16px;
  }
  .search-result-description {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .search-page * {
    transition: none !important;
  }
}
