﻿body.home-page .search-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 30px;
  border-radius: 0 0 28px 28px;
  background:
    linear-gradient(135deg, rgba(23, 39, 48, 0.92), rgba(41, 81, 73, 0.78)),
    url(https://s1-pic.public.vv1234.cn/2026/03/d3f49672b9dc5ab69b6dba16a04453fc.webp) center/cover no-repeat;
  box-shadow: 0 24px 56px rgba(20, 24, 28, 0.2);
}

body.home-page .search-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 229, 178, 0.24), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(143, 218, 193, 0.2), transparent 22%),
    linear-gradient(180deg, rgba(6, 12, 18, 0.08), rgba(6, 12, 18, 0.46));
}

body.home-page .search-shell__inner {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 116px 0 36px;
}

body.home-page .search-shell__title {
  margin: 0 0 12px;
  text-align: center;
  color: #fff;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

body.home-page .search-shell__desc {
  margin: 0 0 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.7;
}

body.home-page .search-engine-switcher {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 48px rgba(10, 16, 24, 0.28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

body.home-page .search-engine-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

body.home-page .search-engine-tabs li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.22s ease;
}

body.home-page .search-engine-tabs li.current,
body.home-page .search-engine-tabs li:hover {
  background: #fff;
  color: #223239;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

body.home-page .search-engine-panel,
body.home-page .search-engine-forms {
  width: 100%;
}

body.home-page .search-engine-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

body.home-page .search-engine-form.hidden {
  display: none;
}

body.home-page .search-engine-input {
  flex: 1;
  width: auto;
  height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(87, 62, 44, 0.12);
  color: #2e3235;
  font-size: 16px;
}

body.home-page .search-engine-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 150, 89, 0.2), inset 0 0 0 1px rgba(198, 93, 53, 0.28);
}

body.home-page .search-engine-btn {
  position: static;
  width: auto;
  min-width: 138px;
  height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #e18c56, #c65d35);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(198, 93, 53, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.home-page .search-engine-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(198, 93, 53, 0.34);
}

body.home-page .search-shell__quick {
  margin-top: 14px;
  text-align: right;
}

body.home-page .search-shell__quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

body.home-page .search-shell__quick-link:hover {
  background: #fff;
  color: #25343c;
}

@media (max-width: 991px) {
  body.home-page .search-shell {
    border-radius: 0 0 22px 22px;
  }

  body.home-page .search-shell__inner {
    width: calc(100% - 24px);
    padding: 96px 0 26px;
  }

  body.home-page .search-engine-switcher {
    padding: 14px;
    border-radius: 18px;
  }

  body.home-page .search-engine-form {
    flex-direction: column;
    gap: 10px;
  }

  body.home-page .search-engine-input,
  body.home-page .search-engine-btn {
    width: 100%;
  }

  body.home-page .search-shell__quick {
    text-align: center;
  }
}

@media (max-width: 767px) {
  body.home-page .search-shell {
    margin-bottom: 24px;
  }

  body.home-page .search-shell__inner {
    padding: 88px 0 20px;
  }

  body.home-page .search-shell__title {
    font-size: 28px;
  }

  body.home-page .search-shell__desc {
    margin-bottom: 18px;
    font-size: 14px;
  }

  body.home-page .search-engine-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body.home-page .search-engine-tabs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  body.home-page .search-engine-tabs li {
    height: 36px;
    padding: 0 12px;
    min-width: auto;
  }

  body.home-page .search-engine-input,
  body.home-page .search-engine-btn {
    height: 48px;
    border-radius: 12px;
    font-size: 15px;
  }

  body.home-page .search-shell__quick-link {
    width: 100%;
    justify-content: center;
  }
}
