:root {
  --theme-color: #333333;
  --theme-theme: #0551ff;
  --theme-background: #eff0f0;
  --theme-other-background: #ffffff;
  --theme-border: #e6e6e6;
  --theme-muted: #999999;
  --theme-shadow: 0 4px 10px rgba(225, 225, 225, 0.3);
  --theme-shadow-search: 0 1px 4px rgba(4, 85, 255, 0.06), 0 3px 8px rgba(4, 85, 255, 0.04);
  --theme-shadow-search-hover: 0 2px 6px rgba(4, 85, 255, 0.08), 0 4px 10px rgba(4, 85, 255, 0.05);
  --theme-shadow-search-focus: 0 3px 8px rgba(4, 85, 255, 0.1), 0 6px 14px rgba(4, 85, 255, 0.06);
}

html,
body {
  margin: 0;
  font-size: 15px;
  font-family: v-sans, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  line-height: 1.6;
  color: var(--theme-color);
  background-color: var(--theme-background);
  word-wrap: break-word;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
}

button,
input {
  border: 0;
  outline: 0;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: var(--theme-theme);
}

#app {
  position: relative;
  z-index: 1;
}

.headBg {
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  background: radial-gradient(circle at top center, rgba(5, 81, 255, 0.06), transparent 46%);
}

.headerBox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  z-index: 99;
}

.headerKox {
  height: 68px;
}

.headerBox .bg {
  position: absolute;
  inset: 0;
  box-shadow: 0 3px 5px rgba(214, 214, 214, 0.22);
  background-color: var(--theme-other-background);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.headerBox.is-solid .bg {
  opacity: 1;
}

.headerBox .box {
  width: 1200px;
  max-width: calc(100% - 32px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.logoBox {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.headerBrand {
  min-width: 176px;
  min-height: 46px;
}

.headerUpdateDate {
  font-size: 16px;
  font-weight: 600;
  color: var(--theme-theme);
  letter-spacing: 0;
}

.headerSiteLogo {
  width: 194px;
  height: auto;
  display: block;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--theme-theme);
  background: linear-gradient(135deg, #0551ff 0%, #4d89ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logoSmall {
  font-size: 28px;
}

.logoHome {
  font-size: 54px;
}

.headerSearch {
  flex: 1;
  max-width: 400px;
  margin: 0 15px 0 auto;
}

.navs {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.providerTabs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.providerBtn {
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.desktopProviderTabs .providerBtn {
  padding: 8px 0;
  color: var(--theme-color);
  opacity: 0.7;
  position: relative;
  white-space: nowrap;
}

.desktopProviderTabs .providerBtn.active {
  color: var(--theme-theme);
  opacity: 1;
  font-weight: 700;
}

.desktopProviderTabs .providerBtn.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 20px;
  height: 4px;
  margin: 0 auto;
  border-radius: 4px;
  background: var(--theme-theme);
}

.menuBtn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menuBtn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--theme-color);
}

.search {
  position: relative;
  height: 54px;
  border-radius: 54px;
  display: flex;
  align-items: center;
  background-color: var(--theme-other-background);
  box-shadow: var(--theme-shadow-search);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.search:hover {
  box-shadow: var(--theme-shadow-search-hover);
}

.search:focus-within {
  box-shadow: var(--theme-shadow-search-focus);
}

.search input {
  flex: 1;
  height: 100%;
  border-radius: 54px;
  font-size: 18px;
  padding-left: 24px;
  color: var(--theme-color);
  background-color: transparent;
}

.search input::placeholder {
  color: #a3a3a3;
}

.search .btn {
  width: 64px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  border-radius: 54px;
}

.searchIcon {
  width: 24px;
  height: 24px;
  overflow: visible;
}

.searchIcon circle,
.searchIcon path {
  fill: none;
  stroke: var(--theme-theme);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homeBox {
  width: 1200px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  min-height: calc(100vh - 180px);
  text-align: center;
  padding-top: 68px;
}

.homeBox .box {
  width: 680px;
  max-width: 100%;
  margin: 0 auto;
}

.homeLogoBox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.homeLogoMark {
  width: 48px;
  height: 48px;
  flex: none;
  display: block;
}

.subTitle {
  padding: 10px 0;
  opacity: 0.6;
}

.searchBox .search {
  width: 100%;
  margin: 30px auto 0;
}

.searchList {
  display: none;
}

body.is-results .searchList {
  display: none;
}

.listBox {
  width: 1200px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  min-height: calc(100vh - 180px);
  display: flex;
}

.listBox h3 {
  position: relative;
  padding: 30px 0 15px 15px;
  font-size: 18px;
}

.listBox h3::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 4px;
  height: 18px;
  background-color: var(--theme-theme);
}

.listBox .screen {
  width: 120px;
  margin-right: 20px;
}

.listBox .screen .fixed {
  position: fixed;
  width: 120px;
  z-index: 9;
}

.listBox .screen .box a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px dashed var(--theme-border);
}

.listBox .screen .box a:last-child {
  border-bottom: none;
}

.listBox .screen .box a.active {
  font-weight: 700;
  color: var(--theme-theme);
}

.listBox .left {
  width: 0;
  flex: 1;
  overflow: hidden;
}

.source-switch {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow-x: auto;
}

.source-switch h3 {
  margin-right: 6px;
}

.switch-items {
  display: flex;
  gap: 18px;
  padding-top: 16px;
}

.switch-items .providerBtn {
  position: relative;
  padding: 5px 0;
  color: var(--theme-color);
  opacity: 0.75;
}

.switch-items .providerBtn.active {
  color: var(--theme-theme);
  opacity: 1;
  font-weight: 700;
}

.switch-items .providerBtn.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 4px;
  margin: 0 auto;
  border-radius: 4px;
  background-color: var(--theme-theme);
}

.listBox .box,
.drawerPanel,
.resultPanel,
.infoBox {
  border-radius: 12px;
  background-color: var(--theme-other-background);
  box-shadow: var(--theme-shadow);
}

.listBox .box {
  min-height: calc(100% - 71px);
  padding: 15px;
}

.Qbtn {
  text-align: center;
  padding-top: 10px;
}

.Qbtn .btn {
  display: inline-block;
  color: var(--theme-muted);
  cursor: default;
}

.list {
  padding: 0 15px;
}

.list .item {
  display: block;
  position: relative;
  padding: 11px 0 14px;
  border-bottom: 1px dashed var(--theme-border);
}

.list .item:last-child {
  border-bottom: none;
}

.list .item .title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--theme-theme);
  line-height: 1.58;
}

.list .item .type {
  position: relative;
  color: var(--theme-muted);
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.4;
}

.list .item .type::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(5, 81, 255, 0.12);
  box-shadow: inset 0 0 0 3px rgba(5, 81, 255, 0.28);
}

.resultCard {
  position: relative;
}

.resultFooter {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
}

.resultMeta {
  margin-top: 0 !important;
  min-width: 0;
  flex: 1;
}

.resultActions {
  flex: none;
  margin-top: 0 !important;
  justify-content: flex-end;
}

.list .item .btns {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.list .item .btns .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--theme-color);
  white-space: nowrap;
}

.list .item .btns .btn:hover {
  color: var(--theme-theme);
}

.list .item .btns .btn.primary {
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(180deg, #0a5bff 0%, #0551ff 100%);
  box-shadow: 0 3px 10px rgba(5, 81, 255, 0.14);
}

.list .item .btns .btn.primary:hover {
  color: #ffffff;
  opacity: 0.94;
}

.emptyState {
  text-align: center;
  color: var(--theme-muted);
  padding: 70px 20px;
}

.emptyState strong {
  color: var(--theme-theme);
}

.right {
  width: 300px;
  margin-left: 20px;
}

.right .box {
  min-height: auto;
}

.infoBox h3 {
  padding-top: 10px;
}

.infoLine {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--theme-border);
}

.infoLine:last-of-type {
  border-bottom: none;
}

.infoLine span {
  color: var(--theme-muted);
}

.infoLine strong {
  color: var(--theme-color);
  font-weight: 700;
  text-align: right;
}

.infoTips {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(5, 81, 255, 0.05);
  color: #5e6570;
  font-size: 13px;
  line-height: 1.7;
}

.footerBox {
  padding: 30px 15px 20px;
}

.footerBox .box {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.footerBox .box p {
  opacity: 0.78;
  padding: 4px 0;
  font-size: 12px;
}

.loading {
  text-align: center;
  color: var(--theme-muted);
  padding: 60px 20px;
}

.loading::before {
  content: '搜索中，请稍候...';
}

.mobileDrawer {
  display: none;
}

.drawerMask,
.drawerPanel,
.drawerTitle,
.drawerBtn {
  display: none;
}

.select {
  display: none;
  flex: none;
  width: 128px;
  height: 54px;
  line-height: 54px;
  border-radius: 54px;
  background: transparent;
  color: var(--theme-color);
  opacity: 0.82;
  text-align: center;
  position: relative;
  cursor: pointer;
  padding: 0 18px 0 16px;
}

.select span {
  display: inline-block;
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.caret {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  vertical-align: middle;
}

.mobileSearchWrap {
  position: relative;
}

.providerPopover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 132px;
  padding: 8px;
  border-radius: 14px;
  background: var(--theme-other-background);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  z-index: 25;
}

.popoverBtn {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  background: transparent;
  color: var(--theme-color);
  text-align: center;
}

.popoverBtn + .popoverBtn {
  margin-top: 6px;
}

.popoverBtn.active,
.popoverBtn:hover {
  background: rgba(5, 81, 255, 0.1);
  color: var(--theme-theme);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(51, 51, 51, 0.94);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 160;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.page {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 20px 0 15px;
}

.page button {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--theme-other-background);
  color: var(--theme-color);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.page button.active {
  background: var(--theme-theme);
  color: #fff;
}

.page button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media screen and (max-width: 768px) {
  html,
  body {
    font-size: 4vw;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
  }

  a:hover {
    color: inherit;
  }

  .headerBox,
  .headerKox {
    height: 15vw;
  }

  .headerBox .box {
    width: 100%;
    max-width: 100%;
    padding: 0 3vw;
  }

  .headerUpdateDate {
    font-size: 4vw;
  }

  .headerBrand {
    min-width: 38vw;
    min-height: auto;
  }

  .headerSiteLogo {
    width: 40vw;
  }

  .logoSmall {
    font-size: 7vw;
  }

  .homeLogoMark {
    width: 10vw;
    height: 10vw;
  }

  .logoHome {
    font-size: 11.6vw;
  }

  .headerSearch,
  .desktopProviderTabs {
    display: none;
  }

  .menuBtn {
    display: inline-flex;
  }

  .homeBox {
    width: 100%;
    max-width: 100%;
    padding: 6vw 5vw 0;
    min-height: auto;
  }

  .homeBox .box {
    width: 100%;
  }

  .subTitle {
    font-size: 3.8vw;
  }

  .searchBox .search {
    margin-top: 5vw;
    height: 12.5vw;
    border-radius: 12.5vw;
  }

  .search input {
    font-size: 4.2vw;
    padding-left: 5vw;
  }

  .search .btn {
    width: 15vw;
    height: 12.5vw;
  }

  .searchIcon {
    width: 5.7vw;
    height: 5.7vw;
  }

  .searchIcon circle,
  .searchIcon path {
    stroke-width: 0.95vw;
  }

  .searchList {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 5vw 2vw;
    background-color: var(--theme-background);
    display: none;
  }

  .mobileSearchWrap {
    position: relative;
  }

  .providerPopover {
    top: calc(100% + 2vw);
    left: 0;
    width: 28vw;
    padding: 1.8vw;
    border-radius: 3vw;
    box-shadow: 0 3vw 7vw rgba(0, 0, 0, 0.08);
    z-index: 20;
  }

  .popoverBtn {
    height: 9.4vw;
    border-radius: 2.4vw;
    font-size: 3.4vw;
  }

  .popoverBtn + .popoverBtn {
    margin-top: 1.2vw;
  }

  body.is-results .searchList {
    display: block;
  }

  .searchList .search {
    margin-top: 3vw;
  }

  .searchList .select {
    display: block;
    width: 30vw;
    height: 12.5vw;
    line-height: 12.5vw;
    border-radius: 12.5vw;
    font-size: 3.8vw;
  }

  .searchList input {
    padding-left: 3vw;
  }

  .listBox {
    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - 60vw);
    flex-wrap: wrap;
    align-content: flex-start;
  }

  .listBox .screen {
    display: none;
  }

  .listBox .left {
    padding: 0 4vw;
  }

  .source-switch {
    display: block;
  }

  .source-switch h3 {
    display: none;
  }

  .switch-items {
    gap: 4.2vw;
    padding-top: 20vw;
    padding-left: 0;
  }

  .switch-items .providerBtn {
    font-size: 3.8vw;
  }

  .right {
    display: none;
  }

  .listBox .box {
    padding: 0 4vw 6vw;
    margin-top: 4vw;
    min-height: calc(100% - 50vw);
    text-align: justify;
  }

  .Qbtn {
    padding-top: 5vw;
  }

  .list {
    padding: 0;
  }

  .list .item {
    padding: 4vw 0 5vw;
  }

  .list .item .title {
    font-size: 4.4vw;
    line-height: 1.5;
    padding-bottom: 0;
  }

  .list .item .type {
    padding-left: 5vw;
    font-size: 3.3vw;
  }

  .list .item .type::before {
    top: 0.9vw;
    width: 3vw;
    height: 3vw;
    box-shadow: inset 0 0 0 0.9vw rgba(5, 81, 255, 0.28);
  }

  .resultFooter {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3vw;
    margin-top: 2.8vw;
  }

  .resultMeta {
    flex: 1;
    min-width: 0;
  }

  .resultActions {
    margin-top: 0 !important;
    justify-content: flex-end;
  }

  .list .item .btns {
    gap: 0;
    flex-wrap: nowrap;
    margin-top: 0;
  }

  .list .item .btns .btn {
    min-width: 21vw;
    height: 8.2vw;
    padding: 0 2.4vw;
    font-size: 3.3vw;
    border-radius: 2.6vw;
  }

  .directTag {
    height: 8vw;
    line-height: 8vw;
    padding: 0 3.2vw;
    border-radius: 8vw;
    font-size: 3.3vw;
    margin-left: 2vw;
  }

  .footerBox {
    padding: 5vw;
  }

  .footerBox .box p {
    font-size: 3.2vw;
  }

  .page {
    gap: 2vw;
    padding: 5vw 0 2vw;
    flex-wrap: wrap;
  }

  .page button {
    min-width: 9vw;
    height: 9vw;
    font-size: 3.4vw;
    border-radius: 2vw;
    padding: 0 2.8vw;
  }
}
