:root {
  --hb-shell-brand: #00a0e9;
  --hb-shell-brand-dark: #0069a8;
  --hb-shell-ink: #17354d;
  --hb-shell-muted: #8093a1;
  --hb-shell-line: #dce8ef;
}

.hb-site-home .index-search,
.hb-site-home .index-header .header-right,
.hb-site-home .index-header .site-search {
  display: none !important;
}

.hb-shell-enabled #head .titleNav > li > a {
  white-space: nowrap;
}

.hb-shell-enabled #head {
  position: relative;
  z-index: 100;
}

.hb-shell-enabled .header ul.titleNav > li.hb-shell-products {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.hb-shell-enabled .hb-shell-products__toggle {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  color: #2e4a60;
  background: transparent;
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease;
}

.hb-shell-enabled .hb-shell-products__toggle::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--hb-shell-brand);
  transform: scaleX(0);
  transition: transform .18s ease;
}

.hb-shell-enabled .hb-shell-products__toggle:hover,
.hb-shell-enabled .hb-shell-products__toggle:focus-visible,
.hb-shell-enabled .hb-shell-products.is-open .hb-shell-products__toggle {
  color: var(--hb-shell-brand-dark);
}

.hb-shell-enabled .hb-shell-products__toggle:hover::after,
.hb-shell-enabled .hb-shell-products__toggle:focus-visible::after,
.hb-shell-enabled .hb-shell-products.is-open .hb-shell-products__toggle::after {
  transform: scaleX(1);
}

.hb-shell-enabled .hb-shell-products__toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}

.hb-shell-enabled .hb-shell-products.is-open .hb-shell-products__toggle svg {
  transform: rotate(180deg);
}

.hb-shell-enabled .hb-shell-products__panel {
  position: absolute;
  z-index: 120;
  top: calc(100% - 4px);
  right: -20px;
  width: 252px;
  padding: 9px;
  border: 1px solid rgba(205, 224, 235, .92);
  border-radius: 14px;
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 22px 52px rgba(17, 55, 82, .17);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.hb-shell-enabled .hb-shell-products__panel::before {
  content: "";
  position: absolute;
  right: 36px;
  bottom: 100%;
  width: 48px;
  height: 9px;
}

.hb-shell-enabled .hb-shell-products.is-open .hb-shell-products__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hb-shell-enabled #head .hb-shell-products__panel a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--hb-shell-ink) !important;
  background: transparent;
  transition: color .18s ease, background .18s ease;
}

.hb-shell-enabled #head .hb-shell-products__panel a::after {
  display: none;
}

.hb-shell-enabled #head .hb-shell-products__panel a:hover,
.hb-shell-enabled #head .hb-shell-products__panel a:focus-visible {
  color: var(--hb-shell-brand-dark) !important;
  background: #eef8fd;
}

.hb-shell-enabled .hb-shell-products__panel span {
  font-size: 14px;
  font-weight: 650;
}

.hb-shell-enabled .hb-shell-products__panel small {
  color: var(--hb-shell-muted);
  font-size: 11px;
}

.hb-shell-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  clear: both;
  color: #dbe9f2;
  background:
    radial-gradient(circle at 83% 14%, rgba(0, 160, 233, .17), transparent 22%),
    #132f45;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
}

.hb-shell-footer *,
.hb-shell-footer *::before,
.hb-shell-footer *::after {
  box-sizing: border-box;
}

.hb-shell-footer a {
  color: inherit;
  text-decoration: none;
}

.hb-shell-footer__main {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: start;
  gap: 44px;
  padding: 58px 0 48px;
}

.hb-shell-footer__brand img {
  display: block;
  width: 116px;
  height: auto;
  padding: 7px 9px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(145deg, #1c3b51, #19364b);
  box-shadow: 0 7px 18px rgba(4, 20, 31, .16), inset 0 1px 0 rgba(190, 218, 234, .025);
  animation: none;
  transition: none;
}

.hb-shell-footer__brand p {
  margin: 18px 0 7px;
  color: #a9bfcd;
  font-size: 12px;
  line-height: 1.7;
}

.hb-shell-footer__brand > a {
  color: #d7eaf4;
  font-size: 12px;
}

.hb-shell-footer__brand > .hb-shell-footer__contact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  line-height: 1.7;
}

.hb-shell-footer__brand > .hb-shell-footer__email {
  display: block;
  margin-top: 7px;
  color: #a9bfcd;
  font-size: 11px;
  line-height: 1.7;
}

.hb-shell-footer__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(104px, 1fr));
  gap: 26px;
  min-width: 0;
}

.hb-shell-footer__links dl,
.hb-shell-footer__links dd {
  min-width: 0;
  margin: 0;
}

.hb-shell-footer__links dt {
  margin-bottom: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}

.hb-shell-footer__links dd + dd {
  margin-top: 10px;
}

.hb-shell-footer__links a {
  color: #a9bfcd;
  font-size: 12px;
  line-height: 1.55;
  transition: color .18s ease;
}

.hb-shell-footer__links a:hover,
.hb-shell-footer__links a:focus-visible {
  color: #fff;
}

.hb-shell-footer__qr {
  display: flex;
  gap: 10px;
}

.hb-shell-footer__qr figure {
  width: 82px;
  margin: 0;
  text-align: center;
}

.hb-shell-footer__qr img {
  display: block;
  width: 70px;
  height: 70px;
  margin-inline: auto;
  padding: 4px;
  border-radius: 9px;
  background: #fff;
}

.hb-shell-footer__qr figcaption {
  margin-top: 7px;
  color: #a9bfcd;
  font-size: 10px;
  line-height: 1.4;
}

.hb-shell-footer__bottom {
  border-top: 1px solid rgba(218, 235, 245, .12);
}

.hb-shell-footer__bottom > div {
  width: min(1180px, calc(100% - 40px));
  min-height: 56px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 30px;
  padding: 15px 166px 15px 0;
  color: #96afbf;
  font-size: 11px;
}

.hb-shell-footer__bottom a:hover,
.hb-shell-footer__bottom a:focus-visible {
  color: #dbe9f2;
}

.hb-shell-footer [aria-current="page"] {
  color: #fff;
}

@media (hover: hover) and (min-width: 721px) {
  .hb-shell-enabled .hb-shell-products:hover .hb-shell-products__panel,
  .hb-shell-enabled .hb-shell-products:focus-within .hb-shell-products__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hb-shell-enabled .hb-shell-products__toggle {
    padding-inline: 8px;
  }

  .hb-shell-footer__main {
    grid-template-columns: 145px minmax(0, 1fr);
  }

  .hb-shell-footer__qr {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .hb-shell-footer__main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hb-shell-footer__brand {
    max-width: 280px;
  }

  .hb-shell-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .hb-shell-footer__qr {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .hb-shell-enabled .header ul.titleNav > li.hb-shell-products {
    position: static;
    flex: 0 0 auto;
  }

  .hb-shell-enabled .hb-shell-products__toggle {
    height: auto;
    padding: 8px 4px 11px;
    font-size: 11.5px;
  }

  .hb-shell-enabled .hb-shell-products__toggle::after {
    bottom: 4px;
  }

  .hb-shell-enabled .hb-shell-products__toggle svg {
    width: 11px;
    height: 11px;
  }

  .hb-shell-enabled.hb-shell-products-open #head .titleNav {
    overflow: visible;
  }

  .hb-shell-enabled .hb-shell-products__panel {
    position: fixed;
    top: 96px;
    right: 14px;
    width: min(252px, calc(100vw - 28px));
  }
}

@media (max-width: 560px) {
  .hb-shell-footer__main {
    width: calc(100% - 28px);
    gap: 32px;
    padding: 48px 0 40px;
  }

  .hb-shell-footer__links {
    gap: 30px 18px;
  }

  .hb-shell-footer__links dt {
    margin-bottom: 15px;
    font-size: 13px;
  }

  .hb-shell-footer__links a {
    font-size: 11px;
  }

  .hb-shell-footer__qr {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hb-shell-footer__bottom > div {
    width: calc(100% - 28px);
    min-height: 74px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    padding: 14px 0 64px;
  }
}

@media (max-width: 370px) {
  .hb-shell-footer__links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-shell-products *,
  .hb-shell-footer * {
    transition-duration: .01ms !important;
  }
}

/* 既有房源入口仅调整布局，业务点击及身份校验继续由原页面处理。 */
.hb-shell-enabled .hb-shell-floating-tools {
  position: fixed !important;
  top: auto !important;
  right: 16px !important;
  bottom: 72px !important;
  left: auto !important;
  z-index: 135 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 108px !important;
  height: max-content !important;
  min-height: 0 !important;
  max-height: calc(100vh - 24px) !important;
  margin: 0 !important;
  padding: 3px 5px !important;
  border: 1px solid #dce8ef !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(23, 57, 84, .1) !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  box-sizing: border-box;
  list-style: none;
}

.hb-shell-enabled .hb-shell-floating-tools > li {
  flex: 0 0 auto;
  float: none !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.hb-shell-enabled .hb-shell-floating-tools > li + li {
  border-left: 0;
  border-top: 1px solid #e8eef2;
}

.hb-shell-enabled .hb-shell-floating-tools a {
  position: relative;
  display: block !important;
  min-width: 70px;
  min-height: 36px;
  width: auto !important;
  height: auto !important;
  padding: 7px 9px 7px 27px !important;
  border: 0 !important;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 11px !important;
  line-height: 18px !important;
  white-space: nowrap;
  box-sizing: border-box;
}

.hb-shell-enabled .hb-shell-floating-tools a > i {
  top: 5px !important;
  left: 4px !important;
  transform: scale(.62);
  transform-origin: center;
}

.hb-shell-enabled .hb-shell-floating-tools a:focus-visible {
  outline: 2px solid var(--hb-shell-brand);
  outline-offset: -1px;
  border-radius: 6px;
}

.hb-shell-footer__support {
  display: grid;
  gap: 4px;
  color: #c3d7e3;
  line-height: 1.55;
}

.hb-shell-footer__support-label {
  color: #98afbf;
  font-size: 11px;
}

@media (min-width: 1100px) {
  .hb-shell-footer__main {
    padding-right: 128px;
  }
}

.hb-shell-enabled .hb-shell-about {
  position: relative;
  flex: 0 0 auto;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.hb-shell-enabled .hb-shell-about__toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: #2e4a60;
  background: transparent;
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}

.hb-shell-enabled .hb-shell-about__toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hb-shell-enabled .hb-shell-about__toggle:hover,
.hb-shell-enabled .hb-shell-about__toggle:focus-visible,
.hb-shell-enabled .hb-shell-about__toggle[aria-current="page"] {
  color: var(--hb-shell-brand-dark);
}

.hb-shell-enabled .hb-shell-about__panel {
  position: absolute;
  z-index: 125;
  top: calc(100% - 4px);
  right: -12px;
  width: 208px;
  padding: 8px;
  border: 1px solid #dce8ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 55, 82, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.hb-shell-enabled .hb-shell-about.is-open .hb-shell-about__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hb-shell-enabled .hb-shell-about__panel a,
.hb-shell-enabled #head .hb-shell-about__panel a {
  display: block;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  color: var(--hb-shell-ink) !important;
  background: transparent;
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
}

.hb-shell-enabled .hb-shell-about__panel a::after {
  display: none;
}

.hb-shell-enabled .hb-shell-about__panel a:hover,
.hb-shell-enabled .hb-shell-about__panel a:focus-visible {
  color: var(--hb-shell-brand-dark) !important;
  background: #eef8fd;
}

@media (hover: hover) and (min-width: 1081px) {
  .hb-shell-enabled .hb-shell-about:hover .hb-shell-about__panel,
  .hb-shell-enabled .hb-shell-about:focus-within .hb-shell-about__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 1190px) and (min-width: 1081px) {
  .hb-shell-enabled .site-header .primary-nav,
  .hb-shell-enabled .site-header .main-nav {
    gap: 14px;
  }
}

@media (max-width: 1080px) {
  .hb-shell-enabled .primary-nav .hb-shell-about {
    display: block;
  }

  .hb-shell-enabled .primary-nav .hb-shell-about__toggle {
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
  }

  .hb-shell-enabled .primary-nav .hb-shell-about__panel {
    position: static;
    display: none;
    width: 100%;
    margin: 2px 0 8px;
    box-shadow: none;
    transform: none;
  }

  .hb-shell-enabled .primary-nav .hb-shell-about.is-open .hb-shell-about__panel {
    display: block;
  }
}

@media (max-width: 900px) {
  .hb-shell-enabled .main-nav .hb-shell-about__toggle {
    padding: 15px 0 14px;
  }

  .hb-shell-enabled .main-nav .hb-shell-about__panel {
    position: fixed;
    top: 108px;
    right: 14px;
  }
}

@media (max-width: 720px) {
  .hb-shell-enabled .header ul.titleNav > li.hb-shell-about {
    position: static;
  }

  .hb-shell-enabled .header .hb-shell-about__toggle {
    height: auto;
    padding: 8px 4px 11px;
    font-size: 11.5px;
  }

  .hb-shell-enabled.hb-shell-about-open #head .titleNav {
    overflow: visible;
  }

  .hb-shell-enabled .header .hb-shell-about__panel {
    position: fixed;
    top: 96px;
    right: 14px;
    width: min(208px, calc(100vw - 28px));
  }

  .hb-shell-enabled .hb-shell-floating-tools {
    right: 10px !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
  }

  .hb-shell-enabled .hb-shell-floating-tools > li {
    width: auto !important;
  }

  .hb-shell-enabled .hb-shell-floating-tools > li + li {
    border-top: 0;
    border-left: 1px solid #e8eef2;
  }

  .hb-shell-enabled .hb-shell-floating-tools a {
    min-width: 66px;
    padding: 7px 10px !important;
    text-align: center;
  }

  .hb-shell-enabled .hb-shell-floating-tools a > i {
    display: none !important;
  }
}
