.pc-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 20px 30px;
  box-sizing: border-box;
  background: rgba(18, 18, 20, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pc-search-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: 76vh;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  color: #202124;
}
.pc-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid #f0f1f3;
}
.pc-search-bar svg {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #72767f;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.pc-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #202124;
  font-size: 18px;
}
.pc-search-input::placeholder {
  color: #a6a9af;
}
.pc-search-submit {
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: #ff3851;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.pc-search-submit:disabled {
  opacity: 0.55;
  cursor: default;
}
.pc-search-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 18px;
  overflow-x: auto;
}
.pc-search-tabs button {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: #f5f6f7;
  color: #666b73;
  cursor: pointer;
}
.pc-search-tabs button.active {
  background: #202124;
  color: #fff;
}
.pc-search-body {
  min-height: 260px;
  max-height: calc(76vh - 132px);
  padding: 0 10px 14px;
  overflow-y: auto;
}
.pc-search-state {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: center;
  color: #969aa2;
  font-size: 14px;
  text-align: center;
}
.pc-search-result {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 11px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.pc-search-result:hover {
  background: #f6f7f8;
}
.pc-search-result__image {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #f1f2f3;
}
.pc-search-result__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b4b7bd;
  font-size: 12px;
}
.pc-search-result__content {
  flex: 1 1 auto;
  min-width: 0;
}
.pc-search-result__title {
  display: -webkit-box;
  overflow: hidden;
  color: #27292d;
  font-size: 15px;
  line-height: 22px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.pc-search-result__meta {
  margin-top: 5px;
  overflow: hidden;
  color: #9a9da4;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pc-search-result__type {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff1f3;
  color: #ff3851;
  font-size: 12px;
}
.pc-search-app-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(100% - 20px);
  margin: 8px 10px;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff3f5, #fff8f1);
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.pc-search-app-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ff3851;
  color: #fff;
}
.pc-search-app-card__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.pc-search-app-card__content {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
}
.pc-search-app-card__content strong {
  color: #292b2f;
  font-size: 14px;
  font-weight: 600;
}
.pc-search-app-card__content small {
  margin-top: 4px;
  color: #898d94;
  font-size: 12px;
}
.pc-search-app-card__action {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 9px;
  background: #ff3851;
  color: #fff;
  font-size: 13px;
}
.pc-search-qr-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(24, 24, 26, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-sizing: border-box;
}
.pc-search-qr-card {
  position: relative;
  display: flex;
  width: 250px;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
}
.pc-search-qr-card > button {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #9a9da4;
  font-size: 22px;
  cursor: pointer;
}
.pc-search-qr-card img {
  width: 160px;
  height: 160px;
  margin-top: 6px;
  object-fit: contain;
}
.pc-search-qr-card strong {
  margin-top: 14px;
  color: #292b2f;
  font-size: 16px;
}
.pc-search-qr-card p {
  margin: 7px 0 0;
  color: #969aa2;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}
@media (max-width: 760px) {
  .pc-search-overlay {
    padding: 0;
  }
  .pc-search-panel {
    width: 100%;
    height: 100%;
    max-height: none;
    border: 0;
    border-radius: 0;
  }
  .pc-search-bar {
    padding: 12px;
  }
  .pc-search-body {
    max-height: calc(100vh - 122px);
  }
  .pc-search-input {
    font-size: 16px;
  }
  .pc-search-app-card__content small {
    display: none;
  }
  .pc-search-app-card__action {
    padding: 7px 9px;
  }
}
