html {
  overscroll-behavior: none;
  touch-action: none;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
}

#header {
  height: 56px;
  padding: 0 16px;
  display: flex;
  align-items: center;
}

#link-list {
  color: rgba(0, 0, 0, 0.65);
  font-size: 14px;
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  margin-left: 24px;
  margin-right: calc(32px + 16px);
}

#close {
  position: absolute;
  width: 32px;
  height: 32px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(28, 31, 35, 0.8);
  border-radius: 6px;
  cursor: pointer;
  right: 16px;
}

#link-list .link-item {
  font-size: 14px !important;
  cursor: pointer;
  text-decoration: none;
  margin-right: 12px;
  transition: all 200ms ease;
}

#link-list .link-item:last-child {
  margin-right: 0;
}

#coze-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 100;
}

body.mobile #coze-container {
  top: 0;
}

body.pc taro-view-core.index-module__container___B89_T {
  margin-top: 0;
}
body.pc [class*="app-avatar"],
body.pc [class*="chat-name"] {
  display: none !important;
}

body.pc.iframe #coze {
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

body.pc.iframe .fa8097ff55eabaa5782b .b47a01a7e24cbec6131b {
  border-radius: 0;
}

body.pc #coze {
  width: calc(100vw - 64px);
  height: calc(100vh - 64px);
  max-width: 860px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 8px 0 rgba(29, 28, 35, 0.06), 0 0 2px 0 rgba(29, 28, 35, 0.18);
  background-color: white;
}

body.pc #coze-container > div {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: none;
}

body.pc #coze-container > div {
  width: 100% !important;
  max-width: 860px;
  margin: 0 auto;
  max-height: 100%;
}

body.mobile taro-scroll-view-core {
  -webkit-overflow-scrolling: touch;
}

body.mobile .chat-root::after {
  content: '';
  display: block;
  height: constant(safe-area-inset-bottom);
  height: env(safe-area-inset-bottom);
  background-color: var(--chat-bg-color-light, rgba(46, 46, 56, .04));
}

/* ios 推荐链接被输入框遮挡 start */
body.mobile [class*=index-module__answer] + [class*=index-module__suggestion-list] {
  padding-bottom: 50px;
}
/* ios 推荐链接被输入框遮挡 end */
/* coze 链接颜色覆盖 start */
.index-module__link___gK03x, .link-item {
  transition: color 0.2s ease;
  color: #166bc7 !important;
}

.index-module__link___gK03x:hover, .link-item:hover {
  color: #053979 !important;
}
/* coze 链接颜色覆盖 end */