/* BHAgent UI overlay. Hides upstream chrome we do not want, without touching the 16MB bundle. */
[data-settings-block="updates"],
[data-settings-block="version"],
[data-settings-block="address"],
[data-custom-domain-settings] {
  display: none !important;
}

[data-simple-engine]:not([data-simple-engine="openaiCompat"]),
[data-engine-card]:not([data-engine-card="openaiCompat"]),
[data-provider-fold]:not([data-provider-fold="openaiCompat"]),
[data-api-key-row]:not([data-api-key-row="openaiCompat"]):not([data-api-key-row="customImage"]):not([data-api-key-row="imageCustom"]),
[data-hidden-engines] {
  display: none !important;
}

[data-tour-card] .bh-mascot {
  width: 38px;
  height: 38px;
  flex: none;
}
[data-tour-card] .bh-mascot svg {
  display: block;
  width: 38px;
  height: 38px;
  overflow: visible;
}

@keyframes bh-mascot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes bh-mascot-blink {
  0%, 88%, 100% { transform: scaleY(1); }
  92%, 96% { transform: scaleY(0.08); }
}
.bh-mascot-face {
  animation: bh-mascot-float 2.8s ease-in-out infinite;
  transform-origin: 50% 50%;
}
.bh-mascot-eyes {
  animation: bh-mascot-blink 4.6s ease-in-out infinite;
  transform-origin: 512px 512px;
  transform-box: fill-box;
}

#about-dialog-title + p + p,
[role="dialog"][aria-labelledby="about-dialog-title"] .mt-4.flex.flex-wrap {
  display: none !important;
}

/* Boat is not our desktop. Hide the paid-cloud entry and $50 offer. */
[data-api-key-row="box"],
[data-api-key-row="boat"],
[data-simple-engine="box"],
[data-engine-card="box"],
[data-provider-fold="box"],
[data-boat-offer-yourself] {
  display: none !important;
}

.bh-meet-mascot {
  width: 78px;
  height: 78px;
  flex: none;
  pointer-events: none;
}
.bh-meet-mascot svg {
  display: block;
  width: 78px;
  height: 78px;
  overflow: visible;
}
.bh-meet-mascot-face {
  animation: bh-mascot-float 2.8s ease-in-out infinite;
  transform-origin: 50% 50%;
}
.bh-meet-mascot-eyes {
  animation: bh-mascot-blink 4.6s ease-in-out infinite;
  transform-origin: 50% 50%;
  transform-box: fill-box;
}
