:root {
  --botcf-primary: #ff6b4a;
  --botcf-primary-strong: #fa8c16;
  --botcf-primary-soft: #fff4e6;
  --botcf-ink: #1f2937;
  --botcf-ui-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --botcf-cn-heading-font: "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", "Source Han Sans CN", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "WenQuanYi Micro Hei", "Helvetica Neue", system-ui, sans-serif;
}

body,
.semi-card,
.semi-typography,
.app-header-shell {
  font-family: var(--botcf-ui-font);
}

.home-og-title,
.home-og-title span,
.pricing-theme-page h1,
.pricing-theme-page h2 {
  font-family: var(--botcf-cn-heading-font) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.home-og-title {
  font-size: 52px !important;
  line-height: 1.1 !important;
  max-width: 100% !important;
}

.home-og-title-line {
  display: block !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.botcf-home-tagline {
  margin: 18px 0 8px;
  color: rgba(34, 39, 45, .88);
  font-family: var(--botcf-cn-heading-font);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: 0;
}

html.dark .botcf-home-tagline,
body[theme-mode="dark"] .botcf-home-tagline {
  color: rgba(255, 255, 255, .88);
}

.pricing-theme-page .semi-card h3,
.pricing-theme-page h3.text-lg.font-bold {
  font-family: var(--botcf-cn-heading-font) !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.app-header-shell,
.app-header-shell nav,
.app-header-shell nav a,
.app-header-shell nav button,
.app-header-shell nav span {
  font-family: var(--botcf-cn-heading-font) !important;
}

.semi-page .semi-page-item-active,
.semi-page .semi-page-item-active:hover {
  background: var(--botcf-primary) !important;
  border-color: var(--botcf-primary) !important;
  color: #fff !important;
}

.semi-page .semi-page-item-active a,
.semi-page .semi-page-item-active button,
.semi-page .semi-page-item-active span {
  color: #fff !important;
}

.botcf-model-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 74, .28);
  background: linear-gradient(145deg, #fff8f3, #f2f6ff) !important;
  color: var(--botcf-primary) !important;
  box-shadow: 0 10px 24px rgba(255, 107, 74, .14);
}

html.dark .botcf-model-icon,
body[theme-mode="dark"] .botcf-model-icon {
  border-color: rgba(255, 107, 74, .38);
  background: linear-gradient(145deg, rgba(255, 107, 74, .2), rgba(20, 23, 31, .92)) !important;
  color: #ff8a63 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24), 0 0 0 1px rgba(255, 255, 255, .04) inset;
}

.botcf-model-icon svg {
  width: 72%;
  height: 72%;
  display: block;
}

.botcf-model-icon-injected {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  margin-right: 12px;
  vertical-align: middle;
}

.botcf-model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.botcf-model-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(236, 127, 131, .12);
  border: 1px solid rgba(255, 107, 74, .24);
  color: #c75325;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.home-og-badge,
.semi-tabs-tab-active,
.dashboard-chart-tabs .semi-tabs-tab-active {
  color: var(--botcf-primary-strong) !important;
}

.dashboard-chart-tabs .semi-tabs-tab-active {
  background: rgba(236, 127, 131, .14) !important;
}

.dashboard-chart-empty,
.wallet-theme-cover,
.wallet-theme-card .semi-card-cover {
  position: relative;
}

.wallet-theme-cover,
.wallet-theme-card .semi-card-cover {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, .36), transparent 24%),
    linear-gradient(135deg, #fa8c16 0%, #ff6b4a 52%, #6f8fd8 100%) !important;
}

.dashboard-chart-empty::before,
.wallet-theme-cover::after {
  content: "BF";
  position: absolute;
  inset: auto 8% 10% auto;
  font-family: var(--botcf-cn-heading-font);
  font-weight: 900;
  font-size: clamp(72px, 18vw, 184px);
  line-height: 1;
  color: rgba(255, 255, 255, .22);
  letter-spacing: 0;
  pointer-events: none;
}

.dashboard-chart-empty::before {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -78%);
  color: rgba(255, 107, 74, .34);
  font-size: clamp(54px, 8vw, 112px);
}

.home-og-contact-card.botcf-contact-card {
  border-color: rgba(236, 127, 131, .42) !important;
  background: linear-gradient(135deg, #fff8f3, #eef5ff) !important;
}

.botcf-contact-avatar {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 28px rgba(236, 127, 131, .2);
}

.botcf-contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.botcf-contact-meta {
  min-width: 0;
}

.botcf-contact-role {
  color: #252b36;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.botcf-contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: rgba(37, 43, 54, .76);
  font-size: 14px;
  line-height: 1.35;
}

.botcf-contact-copy {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(236, 127, 131, .28);
  border-radius: 7px;
  background: rgba(255, 255, 255, .72);
  color: #bb4e58;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.botcf-contact-copy-done {
  background: rgba(236, 127, 131, .16);
}

.botcf-brand-mark-inline {
  color: var(--botcf-primary);
  font-weight: 900;
}

.botcf-logo-mark,
.botcf-header-logo {
  display: inline-block !important;
  background-color: currentColor !important;
}

.home-og-logo-icon .botcf-logo-mark {
  background-color: var(--botcf-primary) !important;
}

.botcf-header-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

@media (max-width: 760px) {
  .home-og-title {
    font-size: 32px !important;
    width: 100% !important;
  }

  .botcf-home-tagline {
    font-size: 17px;
  }
}

.botcf-contact-fallback {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(31, 41, 55, .34);
  backdrop-filter: blur(10px);
}

.botcf-contact-fallback-panel {
  position: relative;
  width: min(520px, 100%);
  padding: 24px;
  border: 1px solid rgba(236, 127, 131, .22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 8%, rgba(236, 127, 131, .16), transparent 28%),
    linear-gradient(135deg, #fffaf7, #f4f8ff);
  box-shadow: 0 24px 70px rgba(31, 41, 55, .22);
}

.botcf-contact-fallback-title {
  margin-bottom: 16px;
  color: #252b36;
  font-family: var(--botcf-cn-heading-font);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.botcf-contact-fallback-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(236, 127, 131, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  color: #bb4e58;
  font-size: 22px;
  line-height: 28px;
  cursor: pointer;
}

.botcf-contact-fallback-list {
  display: grid;
  gap: 14px;
}
