.debug-menu {
  position: fixed;
  z-index: 1000;
  left: 10px;
  bottom: 40px;
}

.hybrid-default-toast.t-message {
  pointer-events: none;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  width: max-content;
  max-width: 80vw;
  box-shadow: none;
}

/**
 * @file common.global.less
 * @author markJia(markjia@tencent.com)
 */
/* 会话内容宽度适配 */
/**
 * @file index 样式文件
 * @author Auto Generated by AdpIcon
 */
.adp-icon {
  display: inline-block;
  color: inherit;
  font-style: normal;
  line-height: 0;
  text-align: center;
  text-transform: none;
  vertical-align: -0.125em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.adp-icon-spin svg {
  animation: adp-icon-spin 1s infinite linear;
}
@keyframes adp-icon-spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes adp-icon-spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.t-button--variant-base:hover,
.t-button--variant-base:focus-visible {
  background-color: revert;
  border-color: revert;
}
.adp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.narrower {
  width: 802px;
  max-width: 1200px;
  margin: 0 auto;
}
@media screen and (min-width: 1441px) {
  .narrower {
    width: 55.84vw;
  }
}
::-webkit-scrollbar {
  display: none;
}
:root {
  --sab-old: env(safe-area-inset-bottom);
  --sab: constant(safe-area-inset-bottom);
}
@keyframes flash {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
#hunyuan-bot {
  line-height: 1.2;
  background-color: #f3f3f3;
}
.share-to-image-box {
  height: auto !important;
}
.custom-scroll-bar {
  background-color: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  border-radius: 4px;
}
.dialog-mobile .t-dialog__header-content {
  font-size: 12px;
  font-weight: 400;
}
.markdown-table-wrapper {
  margin: 8px 0;
  overflow-x: auto;
  white-space: nowrap;
  border: 1px solid #F3F3F3;
  border-radius: 4px;
}
.markdown-table-wrapper::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  cursor: pointer;
}
.markdown-table-wrapper::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: rgba(93, 94, 95, 0.1);
  cursor: pointer;
}
.markdown-table-wrapper::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  cursor: pointer;
}
.markdown-table-wrapper::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: rgba(93, 94, 95, 0.1);
  cursor: pointer;
}
.markdown-lan-code {
  padding: 24px !important;
  background-color: #f3f3f3 !important;
  border-radius: 8px;
}
.markdown-lan-code::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  cursor: pointer;
}
.markdown-lan-code::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: rgba(93, 94, 95, 0.1);
  cursor: pointer;
}
.markdown-lan-code::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  cursor: pointer;
}
.markdown-lan-code::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: rgba(93, 94, 95, 0.1);
  cursor: pointer;
}
.markdown-lan-code code {
  background-color: inherit !important;
}
.general-confirm-dialog-theme .t-dialog {
  background-color: #fff;
}
.general-confirm-dialog-theme .t-dialog__header {
  color: #030303;
}
.general-confirm-dialog-theme .t-dialog__body {
  color: #4D5869;
}
.general-confirm-dialog-theme .t-button--variant-outline {
  color: #030303;
  border-color: #DBDDE2;
}
.general-confirm-dialog-theme .t-dialog__close {
  color: #000;
}
.single-loading-full-screen {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.t-message {
  color: rgba(0, 0, 0, 0.9);
  font-size: 14px;
  line-height: 22px;
}
.t-message .iconfont.icon-success {
  color: #2BA471;
  margin-right: 9px;
}
.react-loading-skeleton {
  transform: rotate(0);
}
/**
 * @file chat-list.common.less
 * @author markJia(markjia@tencent.com)
 * @desc: 会话列表样式 -- 自定义渲染那可复用
 */
.general-chat-item {
  border-radius: 4px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 16px;
  line-height: 28px;
  flex: auto;
  overflow: hidden;
  color: rgba(0, 0, 0, 0.9);
}
.general-chat-item-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
}
.general-chat-item-avatar > img {
  width: 100%;
  height: 100%;
}
.general-chat-item-content {
  padding: 10px 14px;
  overflow: hidden;
}
.general-chat-item.general-chat-item-human {
  justify-content: flex-end;
}
.general-chat-item.general-chat-item-human .general-chat-item-avatar {
  display: none;
  align-items: center;
  width: auto;
  height: auto;
  border-radius: 0;
}
.general-chat-item.general-chat-item-human .general-chat-item-avatar > img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.general-chat-item.general-chat-item-human .general-chat-item-content .chat-bubble-normal {
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-word;
}
.general-chat-item.general-chat-item-ai {
  flex-direction: column;
}
.general-chat-item.general-chat-item-ai .general-chat-item-avatar {
  display: flex;
  align-items: flex-start;
  width: auto;
  height: auto;
  border-radius: 0;
}
.general-chat-item.general-chat-item-ai .general-chat-item-avatar > img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.general-chat-item.general-chat-item-ai .chat-bubble-error {
  background-color: #fd433b29;
}
.general-chat-item.general-chat-item-ai .general-chat-item-content {
  background-color: #fff;
  max-width: calc(100% - 33px);
  box-sizing: border-box;
  margin-top: 5px;
}
.general-chat-item.general-chat-item-ai.general-chat-item-loading .general-chat-item-content,
.general-chat-item.general-chat-item-ai.general-chat-item-image-group .general-chat-item-content {
  min-width: 0;
}
.general-chat-item.general-chat-item-ai.general-chat-item--steps .general-chat-item-content {
  background-color: transparent;
  border-radius: 0;
  padding: 8px 32px;
}
.general-chat-item-ai-status {
  margin-left: 8px;
  font-size: 16px;
  line-height: 28px;
  color: #242424;
}
.general-chat-item.general-chat-item-human.general-chat-item-readonly .general-chat-item-content .chat-bubble-normal {
  background-color: #C9E7FE;
}
.general-chat-item.general-chat-item-human.general-chat-item-share .general-chat-item-avatar {
  visibility: hidden;
}
.general-chat-item--full-width {
  overflow: visible;
}
.general-chat-item--full-width .general-chat-item-content {
  margin-left: -16px !important;
  min-width: calc(100% + 32px) !important;
}
.chat-item-card .general-chat-item-ai-status,
.chat-item-list__align-left .general-chat-item-ai-status {
  color: rgba(0, 0, 0, 0.9);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.chat-item-card .general-chat-item-content,
.chat-item-list__align-left .general-chat-item-content {
  padding: 0 !important;
  margin-top: 4px;
  background: none !important;
  margin-left: 33px;
}
.chat-item-card .general-chat-item-avatar,
.chat-item-list__align-left .general-chat-item-avatar {
  display: flex !important;
}
.chat-item-card .general-chat-item.general-chat-item-human,
.chat-item-list__align-left .general-chat-item.general-chat-item-human {
  justify-content: flex-start;
  flex-direction: column;
}
.chat-item-list__align-left {
  padding: 0 16px;
}
.chat-item-list__align-left .general-chat-item-ai-status {
  color: rgba(0, 0, 0, 0.9);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.chat-item-card.chat-item-human .chat-bubble-content {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}
.chat-bubble-content__img {
  line-height: 0;
  font-size: 0;
}
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
  font-family: PingFang SC, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Helvetica Neue, Helvetica, Arial, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Source Han Sans CN, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
html {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}
html,
body {
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html {
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans CN", sans-serif;
}
#app {
  height: 100%;
}

@keyframes detailFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
body {
  font-size: 16px;
  line-height: 26px;
  overflow-x: hidden;
}
.detail {
  height: 100vh;
  animation: detailFadeIn 0.4s;
}
.detail__header {
  position: fixed;
  z-index: 10;
  width: 100%;
  pointer-events: none;
}
.detail__header::before {
  content: "";
  position: absolute;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  top: 0;
  left: 0;
  width: 100%;
  height: 98px;
}
.detail__header__content {
  position: relative;
}
.detail__header__go-back {
  pointer-events: auto;
  margin-left: 16px;
  display: inline-block;
  color: #fff;
}
.detail__header__go-back svg {
  display: block;
}
.detail__banner {
  position: fixed;
  z-index: 1;
  width: 100%;
  height: calc((100vw - 0.24rem) * 0.8775);
}
.detail__banner__image {
  height: 100%;
  background-size: cover;
  background-position: center;
}
.detail__banner__gradient {
  position: absolute;
  width: 100%;
  height: 1.2rem;
  bottom: 0;
}
.detail__banner__expand {
  width: 100%;
  height: 200px;
}
.detail__banner__intro {
  position: absolute;
  width: 100%;
  bottom: 0;
  color: #fff;
  box-sizing: border-box;
  padding: 0.42rem 0.24rem 0;
}
.detail__banner__intro__title {
  font-size: 0.2rem;
  line-height: 0.28rem;
  font-weight: 600;
  margin-bottom: 0.04rem;
}
.detail__banner__intro__desc {
  font-size: 0.14rem;
  line-height: 0.22rem;
  opacity: 0.8;
  margin-bottom: 0.27rem;
}
.detail__banner__intro__single-agent .yb-agent-item__info__name {
  color: #fff;
}
.detail__banner__intro__single-agent .yb-agent-item__info__desc {
  color: #fff;
  opacity: 0.8;
}
.detail__placeholder {
  height: calc((100vw - 0.24rem) * 0.8775);
}
.detail__content {
  position: relative;
  z-index: 2;
  min-height: calc(100% - 3.08rem);
  box-sizing: border-box;
  border-radius: 20px 20px 0 0;
  background: #fff;
  padding: 20px 16px 32px;
}
.detail__content.invert {
  background: #333;
}
.detail__content.invert .detail__content__detail {
  color: #999;
}
.detail__content__detail {
  color: #00000099;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}
.detail__content__detail h1 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: bold;
}
.detail__content__detail h2 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: bold;
}
.detail__content__detail h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: bold;
}
.detail__content__detail strong {
  font-weight: bold;
}
.detail__content__detail p {
  margin-bottom: 12px;
}
.detail__content__detail ol {
  list-style: decimal;
  padding-left: 2em;
  margin-bottom: 16px;
}
.detail__content__detail ul {
  list-style: disc;
  padding-left: 2em;
  margin-bottom: 16px;
}
.detail__content__detail li {
  margin-bottom: 8px;
}
.detail__content__detail img {
  max-width: 100%;
  height: auto !important;
}
.detail__content__agents {
  background: #f3f3f3;
  border-radius: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.detail__fixed-entry {
  position: fixed;
  bottom: 42px;
  z-index: 10;
  left: 16px;
  right: 16px;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.detail__fixed-entry__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  opacity: 0.6;
  filter: brightness(0.95);
}
.detail__fixed-entry .yb-agent-item {
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}
.detail__fixed-entry .yb-agent-item__info__name {
  margin-bottom: 0;
}
.detail__fixed-entry .yb-agent-item__info__desc {
  margin-bottom: 0;
}
.detail__fixed-entry .yb-agent-item__info__others {
  display: none;
}

/* 会话内容宽度适配 */
.yb-agent-item {
  display: flex;
  padding: 8px 12px;
  background: transparent;
  transition: 0.2s;
}
.yb-agent-item.active {
  background: rgba(0, 0, 0, 0.1);
}
.yb-agent-item__icon-wp {
  align-self: flex-start;
}
.yb-agent-item__icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
}
.yb-agent-item__info {
  flex: 1;
  margin: 0 12px;
  overflow: hidden;
}
.yb-agent-item__info__name {
  color: #181818;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 4px;
}
.yb-agent-item__info__desc {
  color: #a6a6a6;
  font-size: 14px;
  line-height: 24px;
  text-align: left;
  margin-bottom: 4px;
  word-break: break-all;
  white-space: unset;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}
.yb-agent-item__info__others {
  color: #a6a6a6;
  font-size: 12px;
  line-height: 20px;
}
.yb-agent-item__button {
  height: 32px;
  padding: 0 8.5px;
  font-weight: 600;
  font-size: 13px;
  border-radius: 20px;
  outline: none;
  border: 0;
}
.yb-agent-item.active .yb-agent-item__button {
  opacity: 0.4;
}
.yb-agent-item__controls__btn {
  padding: 4.5px 11px;
  border-radius: 8px;
}

.auto-call-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  background-size: contain;
}

.prompt-widget {
  background: #F8F8F8;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
}
.prompt-widget__title {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 12px;
  color: #00000066;
}
.prompt-widget__title b {
  font-weight: 500;
}
.prompt-widget__prompt {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: #000000E5;
  padding-left: 16px;
  margin-bottom: 12px;
  word-break: break-all;
}
.prompt-widget__prompt::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: #00000042;
}
.prompt-widget__control {
  display: flex;
  justify-content: flex-end;
}
.prompt-widget__control__item {
  margin-left: 24px;
  height: 24px;
  display: flex;
  align-items: center;
}
.prompt-widget__control__item > span {
  padding-left: 6px;
}
.link {
  color: #20C57D;
  text-decoration: underline;
}

