/* 伙办首页人工智能找房生产集成样式 v20261008-4 */

#hbai-search-root,
#hbai-results {
  --hbai-css-ready: 1;
  --hbai-blue: #00a0e9;
  --hbai-deep-blue: #002870;
  --hbai-blue-hover: #0093d6;
  --hbai-blue-soft: #e6f6fd;
  --hbai-blue-line: #bfe7fa;
  --hbai-blue-shadow: rgba(0, 160, 233, .22);
  --hbai-ink: #173954;
  --hbai-muted: #657b8d;
  --hbai-line: #dce6ed;
  --hbai-wash: #f4f8fb;
  box-sizing: border-box;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--hbai-ink);
}

#hbai-search-root *,
#hbai-search-root *::before,
#hbai-search-root *::after,
#hbai-results *,
#hbai-results *::before,
#hbai-results *::after {
  box-sizing: border-box;
}

#hbai-search-root .hbai-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#hbai-search-root .hbai-mic,
#hbai-search-root .hbai-submit,
#hbai-search-root .hbai-input input,
#hbai-results .hbai-report-close,
#hbai-results .hbai-report-back,
#hbai-results .hbai-result-action {
  font: inherit;
}

#hbai-search-root .hbai-mic:focus-visible,
#hbai-search-root .hbai-submit:focus-visible,
#hbai-search-root .hbai-input input:focus-visible,
#hbai-results .hbai-report-close:focus-visible,
#hbai-results .hbai-report-back:focus-visible,
#hbai-results .hbai-result-action:focus-visible {
  outline: 3px solid rgba(0, 160, 233, .52);
  outline-offset: 3px;
}

section.huoban-first-screen .index-bg {
  position: relative;
  isolation: isolate;
}

@media (min-width: 901px) {
  section.huoban-first-screen {
    height: auto;
    min-height: 0;
    grid-template-rows: auto var(--service-height);
  }

  section.huoban-first-screen > .overHid {
    min-height: 0;
  }

  section.huoban-first-screen .index-bg {
    width: 100%;
    height: clamp(430px, 26.875vw, 516px);
    aspect-ratio: auto;
    padding: 0;
  }

  section.huoban-first-screen .index-header {
    gap: clamp(18px, 2.6vw, 42px);
    margin-top: clamp(8px, 1.2vw, 18px);
  }

  section.huoban-first-screen .index-header > img {
    width: clamp(128px, 10vw, 170px);
  }

  section.huoban-first-screen .index-header .index-search input {
    height: clamp(34px, 3vw, 38px);
  }
}

#hbai-search-root[hidden],
#hbai-search-root:not(.hbai-ready) {
  display: none !important;
}

#hbai-search-root {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  color: #fff;
  background: #213a50;
}

#hbai-search-root .hbai-hero-picture,
#hbai-search-root .hbai-hero-image,
#hbai-search-root .hbai-hero-shade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

#hbai-search-root .hbai-hero-picture,
#hbai-search-root .hbai-hero-shade {
  pointer-events: none;
}

#hbai-search-root .hbai-hero-image {
  object-fit: contain;
  object-position: center top;
}

#hbai-search-root .hbai-hero-shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 32, 53, .34) 0%, rgba(9, 38, 60, .06) 46%, rgba(7, 30, 49, .2) 100%),
    linear-gradient(90deg, rgba(6, 28, 48, .15), transparent 32%, transparent 68%, rgba(6, 28, 48, .12));
}

#hbai-search-root .hbai-center {
  position: absolute;
  z-index: 2;
  top: clamp(156px, 11vw, 214px);
  left: 50%;
  width: min(780px, calc(100% - 220px));
  transform: translateX(-50%);
}

#hbai-search-root .hbai-slogan {
  display: block;
  width: min(480px, 50vw);
  height: auto;
  margin: 0 auto clamp(8px, 1vw, 14px);
  filter: none;
}

#hbai-search-root .hbai-search {
  width: 100%;
  padding: clamp(9px, .8vw, 13px);
  border: 1px solid rgba(255, 255, 255, .31);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(7, 35, 57, .54), rgba(10, 47, 73, .39));
  box-shadow: 0 20px 46px rgba(3, 22, 38, .24), inset 0 1px 0 rgba(255, 255, 255, .15);
  backdrop-filter: blur(13px) saturate(118%);
}

#hbai-search-root .hbai-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 10px clamp(7px, .7vw, 10px);
  color: rgba(255, 255, 255, .73);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

#hbai-search-root .hbai-kicker strong {
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

#hbai-search-root .hbai-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(145deg, var(--hbai-blue), var(--hbai-deep-blue));
  box-shadow: 0 4px 10px var(--hbai-blue-shadow);
}

#hbai-search-root .hbai-input {
  height: clamp(50px, 4vw, 60px);
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 136px;
  align-items: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 12px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 8px 20px rgba(3, 22, 38, .16), inset 0 1px 3px rgba(17, 58, 88, .04);
  overflow: hidden;
}

#hbai-search-root .hbai-input:focus-within {
  border-color: var(--hbai-blue);
  box-shadow: 0 0 0 3px rgba(0, 160, 233, .16);
}

#hbai-search-root .hbai-mic {
  width: 56px;
  height: 100%;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--hbai-blue);
  background: transparent;
  cursor: pointer;
}

#hbai-search-root .hbai-mic svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

#hbai-search-root .hbai-mic.hbai-listening {
  color: #fff;
  background: linear-gradient(145deg, var(--hbai-blue), var(--hbai-deep-blue));
  animation: hbai-listening-pulse 1.5s ease-in-out infinite;
}

#hbai-search-root .hbai-input input {
  min-width: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid #e6eef4;
  border-radius: 0;
  outline: 0;
  color: #193e5b;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
  text-indent: 0;
}

#hbai-search-root .hbai-input input::placeholder {
  color: #8ca0b0;
  opacity: 1;
}

#hbai-search-root .hbai-input input[aria-invalid="true"] {
  color: #9d413d;
}

#hbai-search-root .hbai-submit {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--hbai-blue), var(--hbai-deep-blue));
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: filter .2s ease, gap .2s ease;
}

#hbai-search-root .hbai-submit:hover {
  gap: 12px;
  background: var(--hbai-blue-hover);
}

#hbai-search-root .hbai-submit:disabled {
  opacity: .7;
  cursor: wait;
}

#hbai-search-root .hbai-status {
  min-height: 0;
  margin: 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.55;
}

#hbai-search-root .hbai-status:not(:empty) {
  margin: 8px 9px 1px;
  text-align: left;
}

#hbai-results[hidden] {
  display: none !important;
}

#hbai-results {
  display: block;
  width: 100%;
  margin: 0;
  padding: 58px 24px 68px;
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 160, 233, .08), transparent 32%),
    #f5f8fa;
  scroll-margin-top: 16px;
}

#hbai-results .hbai-report-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

#hbai-results .hbai-report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin: 0 0 25px;
}

#hbai-results .hbai-report-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--hbai-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .12em;
}

#hbai-results .hbai-report-eyebrow > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, var(--hbai-blue), var(--hbai-deep-blue));
  box-shadow: 0 5px 12px var(--hbai-blue-shadow);
}

#hbai-results .hbai-report-header h2 {
  margin: 0 0 7px;
  color: #153650;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: .02em;
}

#hbai-results .hbai-report-heading-copy > p:last-child {
  margin: 0;
  color: #6d8190;
  font-size: 14px;
  line-height: 1.55;
}

#hbai-results .hbai-report-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 1px solid #d9e3e9;
  border-radius: 50%;
  color: #607788;
  background: #fff;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

#hbai-results .hbai-report-close:hover {
  color: var(--hbai-blue);
  border-color: var(--hbai-blue-line);
  transform: rotate(5deg);
}

#hbai-results .hbai-report-close svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

#hbai-results .hbai-report-query {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 17px 19px;
  border: 1px solid #d7e5ed;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 28px rgba(22, 65, 93, .055);
}

#hbai-results .hbai-report-query-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--hbai-blue);
  background: var(--hbai-blue-soft);
}

#hbai-results .hbai-report-query-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

#hbai-results .hbai-report-query-copy > span {
  display: block;
  margin: 0 0 4px;
  color: #7b8d9a;
  font-size: 12px;
  line-height: 1.4;
}

#hbai-results .hbai-report-query-copy > p {
  margin: 0;
  color: #1d435e;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

#hbai-results .hbai-report-back {
  min-height: 38px;
  margin: 0;
  padding: 0 17px;
  border: 1px solid var(--hbai-blue-line);
  border-radius: 20px;
  color: var(--hbai-blue);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

#hbai-results .hbai-report-back:hover {
  color: #fff;
  background: var(--hbai-blue-hover);
}

#hbai-results .hbai-report-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 24px;
  padding: 12px 15px;
  border-radius: 11px;
  color: #667b8b;
  background: #edf3f6;
  font-size: 12px;
  line-height: 1.65;
}

#hbai-results .hbai-report-disclosure::before {
  content: "i";
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
  border: 1px solid #94adbc;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

#hbai-results .hbai-results-state {
  min-height: 0;
  color: #667d8d;
  font-size: 14px;
  line-height: 1.55;
}

#hbai-results .hbai-results-state:not(:empty) {
  margin: 0 0 14px;
  padding: 13px 16px;
  border: 1px solid #dce8ee;
  border-radius: 10px;
  background: #fff;
}

#hbai-results .hbai-results-list {
  display: grid;
  gap: 16px;
}

#hbai-results .hbai-result-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #dce6ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 60, 87, .07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

#hbai-results .hbai-result-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--hbai-blue), var(--hbai-deep-blue));
}

#hbai-results .hbai-result-card:hover {
  transform: translateY(-2px);
  border-color: var(--hbai-blue-line);
  box-shadow: 0 18px 42px rgba(0, 160, 233, .11);
}

#hbai-results .hbai-result-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 20px 22px 15px 25px;
  border-bottom: 1px solid #edf1f4;
}

#hbai-results .hbai-result-rank {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, var(--hbai-blue), var(--hbai-deep-blue));
  box-shadow: 0 7px 15px var(--hbai-blue-shadow);
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
}

#hbai-results .hbai-result-title-wrap {
  min-width: 0;
}

#hbai-results .hbai-result-title {
  margin: 0;
  color: #173b55;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

#hbai-results .hbai-result-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #24745e;
  background: #e8f6f0;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

#hbai-results .hbai-result-status::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: #39a882;
}

#hbai-results .hbai-result-status.hbai-is-external {
  color: #866120;
  background: #fff4dc;
}

#hbai-results .hbai-result-status.hbai-is-external::before {
  background: #dea940;
}

#hbai-results .hbai-result-rating {
  min-width: 98px;
  text-align: right;
}

#hbai-results .hbai-result-score {
  display: block;
  color: var(--hbai-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
}

#hbai-results .hbai-result-stars {
  display: block;
  margin-top: 4px;
  color: #f1aa38;
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: .08em;
  white-space: nowrap;
}

#hbai-results .hbai-result-match-label {
  display: block;
  margin-top: 3px;
  color: #8494a0;
  font-size: 11px;
  line-height: 1.35;
}

#hbai-results .hbai-result-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 14px 24px;
  color: #567083;
  background: #f9fbfc;
  font-size: 13px;
  line-height: 1.5;
}

#hbai-results .hbai-result-meta-item {
  position: relative;
}

#hbai-results .hbai-result-meta-item + .hbai-result-meta-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #a7b7c1;
}

#hbai-results .hbai-result-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 20px 24px 22px;
}

#hbai-results .hbai-result-section {
  min-width: 0;
}

#hbai-results .hbai-result-section h4 {
  margin: 0 0 9px;
  color: #345268;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

#hbai-results .hbai-result-section p {
  margin: 0;
  color: #637989;
  font-size: 13px;
  line-height: 1.65;
}

#hbai-results .hbai-result-caution {
  margin-top: 9px;
}

#hbai-results .hbai-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

#hbai-results .hbai-result-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 7px;
  color: #26725f;
  background: #eaf7f2;
  font-size: 11px;
  line-height: 1.35;
}

#hbai-results .hbai-result-tag::before {
  content: "✓";
  margin-right: 4px;
  font-weight: 750;
}

#hbai-results .hbai-result-tag.hbai-is-warning {
  color: #956421;
  background: #fff3df;
}

#hbai-results .hbai-result-tag.hbai-is-warning::before {
  content: "△";
}

#hbai-results .hbai-result-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px 17px;
  border-top: 1px solid #edf1f4;
  color: #768b9a;
  font-size: 11px;
  line-height: 1.45;
}

#hbai-results .hbai-result-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 0 0 auto;
  padding: 0 17px;
  border: 0;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--hbai-blue), var(--hbai-deep-blue));
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  cursor: pointer;
}

#hbai-results .hbai-result-action.hbai-is-disabled,
#hbai-results .hbai-result-action:disabled {
  color: #748895;
  background: #e7edf1;
  cursor: not-allowed;
}

#hbai-results .hbai-result-action-note {
  color: #8a9ba6;
}

#hbai-results .hbai-results-skeleton {
  display: none;
  gap: 16px;
}

#hbai-results.hbai-is-loading .hbai-results-list {
  display: none;
}

#hbai-results.hbai-is-loading .hbai-results-skeleton {
  display: grid;
}

#hbai-results .hbai-skeleton-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 14px;
  margin: 0;
  padding: 24px;
  border: 1px solid #e0e8ed;
  border-radius: 18px;
  background: #fff;
}

#hbai-results .hbai-skeleton-card > span {
  height: 13px;
  border-radius: 6px;
  background: linear-gradient(90deg, #edf2f5 20%, #f8fafb 45%, #edf2f5 70%);
  background-size: 220% 100%;
  animation: hbai-skeleton-shimmer 1.4s linear infinite;
}

#hbai-results .hbai-skeleton-card > span:first-child { width: 32%; height: 22px; }
#hbai-results .hbai-skeleton-card > span:nth-child(2) { width: 68%; }
#hbai-results .hbai-skeleton-card > span:nth-child(3) { width: 88%; }
#hbai-results .hbai-skeleton-card > span:nth-child(4) { width: 54%; }

@keyframes hbai-listening-pulse {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(255, 255, 255, .08); }
  50% { box-shadow: inset 0 0 0 7px rgba(255, 255, 255, .14); }
}

@keyframes hbai-skeleton-shimmer {
  to { background-position: -220% 0; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  #hbai-search-root .hbai-center {
    top: 156px;
  }
}

@media (max-width: 900px) {
  section.huoban-first-screen .index-bg {
    height: 600px;
  }

  #hbai-search-root .hbai-center {
    top: 146px;
    width: calc(100% - 72px);
    transform: translateX(-50%);
  }

  #hbai-search-root .hbai-slogan {
    width: min(480px, 74vw);
  }
}

@media (max-width: 580px) {
  section.huoban-first-screen .index-bg {
    height: 650px;
  }

  #hbai-search-root .hbai-center {
    top: 177px;
    width: calc(100% - 28px);
  }

  #hbai-search-root .hbai-slogan {
    width: min(480px, 74vw);
    margin-bottom: 12px;
  }

  #hbai-search-root .hbai-search {
    padding: 12px;
    border-radius: 17px;
  }

  #hbai-search-root .hbai-kicker {
    gap: 7px;
    font-size: 11px;
  }

  #hbai-search-root .hbai-input {
    height: auto;
    grid-template-columns: 45px minmax(0, 1fr);
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  #hbai-search-root .hbai-mic {
    width: 45px;
    height: 55px;
    border-radius: 11px 0 0 11px;
    background: rgba(255, 255, 255, .98);
  }

  #hbai-search-root .hbai-mic.hbai-listening {
    border-radius: 11px 0 0 11px;
  }

  #hbai-search-root .hbai-input input {
    height: 55px;
    padding: 0 10px;
    border-left: 1px solid #e6eef4;
    border-radius: 0 11px 11px 0;
    background: rgba(255, 255, 255, .98);
    font-size: 12px;
  }

  #hbai-search-root .hbai-submit {
    grid-column: 1 / -1;
    height: 47px;
    margin-top: 8px;
    border-radius: 11px;
  }

  #hbai-results {
    padding: 36px 14px 44px;
  }

  #hbai-results .hbai-report-header {
    gap: 14px;
    margin-bottom: 20px;
  }

  #hbai-results .hbai-report-header h2 {
    font-size: 26px;
  }

  #hbai-results .hbai-report-heading-copy > p:last-child {
    font-size: 12px;
  }

  #hbai-results .hbai-report-close {
    width: 38px;
    height: 38px;
  }

  #hbai-results .hbai-report-query {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    padding: 14px;
  }

  #hbai-results .hbai-report-query-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  #hbai-results .hbai-report-back {
    grid-column: 2;
    justify-self: start;
    min-height: 34px;
    padding: 0 14px;
  }

  #hbai-results .hbai-report-disclosure {
    margin-bottom: 18px;
  }

  #hbai-results .hbai-result-card-head {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 17px 16px 14px 19px;
  }

  #hbai-results .hbai-result-rank {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  #hbai-results .hbai-result-title {
    font-size: 17px;
  }

  #hbai-results .hbai-result-rating {
    grid-column: 2;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    text-align: left;
  }

  #hbai-results .hbai-result-score {
    font-size: 20px;
  }

  #hbai-results .hbai-result-stars,
  #hbai-results .hbai-result-match-label {
    margin-top: 0;
  }

  #hbai-results .hbai-result-meta {
    padding: 12px 18px;
  }

  #hbai-results .hbai-result-details {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 18px;
  }

  #hbai-results .hbai-result-card-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px 17px;
  }

  #hbai-results .hbai-result-action {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 380px) {
  #hbai-search-root .hbai-slogan { width: min(480px, 74vw); }
  #hbai-search-root .hbai-kicker > span:last-child { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  #hbai-search-root .hbai-mic.hbai-listening,
  #hbai-results .hbai-skeleton-card > span {
    animation: none !important;
  }

  #hbai-search-root .hbai-submit,
  #hbai-results .hbai-report-close,
  #hbai-results .hbai-report-back,
  #hbai-results .hbai-result-card {
    transition: none !important;
  }
}
