/* 艾尔梅利亚：星轨坠落 */
/* 浅色主题 / base-hue:205 / base-sat:35% / accent-hue:335 / accent-sat:65% */
/* 核心意象：金色星轨划过月白契约书 */
/* 作品组件：.em-prose / .em-panel / .em-world / .em-player / .em-npc / .em-faction / .em-feed / .em-memory / .em-actions */

/* ===== 第一层：平台壳层 ===== */

/* 页面基础 */
body,
#root,
.h-screen {
  background:
    radial-gradient(circle at 8% 0%, rgba(255,255,255,.96), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(232,190,214,.22), transparent 26%),
    linear-gradient(145deg, #edf7fb 0%, #fff8fb 48%, #f3effc 100%) !important;
  color: #292a50 !important;
}

/* 平台顶部 */
.sticky.w-full.top-0.flex.items-center {
  background: #fffafd !important;
  color: #292a50 !important;
  border-bottom: 1px solid #d9dce9 !important;
  box-shadow: 0 3px 16px rgba(67,74,119,.08) !important;
}

/* 隐藏默认装饰色条 */
[class*="bg-[#F1CBCB]"],
[class*="bg-[#c9e1e9]"] {
  display: none !important;
}

/* 模型选择器 */
#ai-model-selector .group.flex.items-center,
#ai-model-selector .group.flex.items-center.px-2.h-8 {
  color: #292a50 !important;
  background: #f5f2fb !important;
  border: 1px solid #d9d5e9 !important;
  border-radius: 9px !important;
}

#ai-model-selector .group.flex.items-center:hover,
#ai-model-selector .group.flex.items-center.px-2.h-8:hover {
  color: #9b3f68 !important;
  background: #fff0f6 !important;
  border-color: #d99ab4 !important;
}

#ai-model-selector .truncate.text-\[13px\] {
  color: #4a506f !important;
}

#ai-model-selector .shrink-0.flex.items-center svg,
#header-setting-button svg {
  fill: #68708f !important;
  color: #68708f !important;
}

#ai-model-selector .group.flex.items-center:hover svg,
#header-setting-button:hover svg {
  fill: #b74e6e !important;
  color: #b74e6e !important;
}

/* 开场白区域 */
div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"] {
  background: #f2f6fb !important;
  color: #292a50 !important;
  border: 1px solid #d4dce8 !important;
  border-radius: 9px !important;
}

div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group:hover {
  background: #fff1f7 !important;
  border-color: #dda2ba !important;
}

div.flex.items-center.h-9.cursor-pointer.group svg[data-icon="SlidersH"],
div.flex.items-center.h-9.cursor-pointer.group svg[data-icon="ChevronDown"] {
  fill: #68708f !important;
  color: #68708f !important;
}

/* 侧边栏 */
.shadow-lg.border-r.border-gray-200 {
  background: #fffafd !important;
  color: #292a50 !important;
  border-right: 1px solid #d9dce9 !important;
  box-shadow: 4px 0 18px rgba(67,74,119,.07) !important;
}

.MuiList-root {
  background: transparent !important;
  color: #292a50 !important;
}

.conversation-text {
  color: #59627f !important;
}

.conversation-text:hover {
  color: #9b3f68 !important;
}

/* 平台功能按钮 */
#ai-mod-button2 button.MuiButton-root {
  min-height: 38px !important;
  color: #3b4263 !important;
  background: #f1f4fa !important;
  border: 1px solid #d5dce9 !important;
  border-radius: 9px !important;
  box-shadow: 0 2px 8px rgba(67,74,119,.06) !important;
}

#ai-mod-button2 button.MuiButton-root:hover {
  color: #9b3f68 !important;
  background: #fff0f6 !important;
  border-color: #d99ab4 !important;
}

#ai-mod-button2 button.MuiButton-root svg {
  fill: #68708f !important;
  color: #68708f !important;
}

/* 聊天气泡容器 */
.bg-gray-100\/90.relative.inline-block {
  background: #fffafd !important;
  color: #292a50 !important;
  border: 1px solid #e0dce9 !important;
  border-left: 4px solid #dca33b !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 24px rgba(67,74,119,.09) !important;
}

/* 用户输入气泡 */
.bg-gray-100\/90.relative.inline-block:not(.chat-answer-container .bg-gray-100\/90) {
  background: #edf5ff !important;
  color: #263b5b !important;
  border: 1px solid #b9d2e8 !important;
  border-left: 4px solid #579dc7 !important;
  border-radius: 15px !important;
  box-shadow: 0 7px 20px rgba(72,137,180,.1) !important;
}

/* Markdown 基础阅读层 */
.markdown-body {
  color: #292a50 !important;
  font-size: 1.06rem !important;
  line-height: 1.86 !important;
  letter-spacing: .01em !important;
}

.markdown-body p {
  color: #292a50 !important;
  margin: .72em 0 !important;
}

.markdown-body strong {
  color: #873653 !important;
  font-weight: 800 !important;
}

.markdown-body em {
  color: #5c4e9a !important;
}

.markdown-body a {
  color: #8e3d69 !important;
  text-decoration-color: #d99ab4 !important;
}

/* 标题 */
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
  color: #29305a !important;
  line-height: 1.35 !important;
  letter-spacing: -.025em !important;
}

.markdown-body h1 {
  padding-bottom: .35em !important;
  border-bottom: 2px solid #e2af4c !important;
}

.markdown-body h2 {
  padding-bottom: .25em !important;
  border-bottom: 1px solid #dca9c0 !important;
}

.markdown-body h3 {
  color: #9b3f68 !important;
}

/* 引用 */
.markdown-body blockquote {
  margin: 1.1em 0 !important;
  padding: .85em 1.1em !important;
  color: #555e7d !important;
  background: #f3f1fb !important;
  border-left: 4px solid #8d78c8 !important;
  border-radius: 0 12px 12px 0 !important;
}

/* 代码块 */
.markdown-body pre {
  padding: 1em 1.2em !important;
  overflow-x: auto !important;
  color: #303658 !important;
  background: #f5f2fa !important;
  border: 1px solid #d7d2e8 !important;
  border-left: 3px solid #c68b36 !important;
  border-radius: 8px !important;
}

.markdown-body code {
  color: #8f3d63 !important;
  background: #f9eaf1 !important;
  border-radius: 4px !important;
  padding: .08em .28em !important;
}

.markdown-body pre code {
  color: #303658 !important;
  background: transparent !important;
  padding: 0 !important;
}

/* 表格 */
.markdown-body table {
  width: 100% !important;
  margin: 1.15em 0 !important;
  overflow: hidden !important;
  color: #292a50 !important;
  background: #fffdfd !important;
  border: 1px solid #d9d7e5 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 12px !important;
}

.markdown-body th {
  padding: .7em .65em !important;
  color: #fff !important;
  background: #7165a8 !important;
  border-bottom: 2px solid #c89a3b !important;
  font-weight: 800 !important;
}

.markdown-body td {
  padding: .65em !important;
  color: #3b4263 !important;
  border-bottom: 1px solid #e4e2ec !important;
}

.markdown-body tr:nth-child(even) td {
  background: #faf8fd !important;
}

.markdown-body tr:hover td {
  background: #fff1f6 !important;
}

/* 分割线 */
.markdown-body hr {
  height: 1px !important;
  margin: 1.5em 0 !important;
  border: 0 !important;
  background: linear-gradient(
    90deg,
    transparent,
    #dda33e 35%,
    #d58da9 50%,
    #dda33e 65%,
    transparent
  ) !important;
  opacity: .75 !important;
}

/* 输入区域 */
#ai-chat-input {
  min-height: 46px !important;
  color: #293653 !important;
  caret-color: #b74e6e !important;
  background: #f7fbff !important;
  border: 1px solid #b9cede !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 4px rgba(61,105,141,.06) !important;
}

#ai-chat-input::placeholder {
  color: #8290a9 !important;
}

#ai-chat-input:focus {
  background: #fffdf9 !important;
  border-color: #d4a24a !important;
  box-shadow:
    0 0 0 3px rgba(212,162,74,.13),
    0 0 12px rgba(237,121,173,.1) !important;
}

/* 发送按钮 */
#ai-send-button {
  min-width: 44px !important;
  min-height: 42px !important;
  color: #fff !important;
  background: #bd6686 !important;
  border: 1px solid #a84f70 !important;
  border-radius: 11px !important;
  box-shadow: 0 5px 13px rgba(167,79,112,.2) !important;
}

#ai-send-button:hover {
  color: #fff !important;
  background: #a94e70 !important;
  border-color: #8d3c5a !important;
}

#ai-send-button:active {
  background: #8f3e5b !important;
}

/* 底部操作按钮 */
.flex.items-center.gap-2.pb-2 > button {
  color: #59627f !important;
  background: #f7f5fb !important;
  border: 1px solid #d9d5e7 !important;
  border-radius: 8px !important;
}

.flex.items-center.gap-2.pb-2 > button:hover {
  color: #963e66 !important;
  background: #fff0f6 !important;
  border-color: #d89ab4 !important;
}

/* 评论区 */
.w-full.bottom-0.z-20.inset-x-0.bg-white.transition-all {
  color: #292a50 !important;
  background: #fffafd !important;
  border-top: 1px solid #d9dce9 !important;
  box-shadow: 0 -6px 20px rgba(67,74,119,.08) !important;
}

/* 消耗信息 */
.text-purple-500 {
  color: #765a9e !important;
}

/* 聊天操作组 */
.MuiStack-root.css-1dzoql9 .MuiButton-root {
  color: #59627f !important;
  background: #f7f5fb !important;
  border: 1px solid #d9d5e7 !important;
  border-radius: 8px !important;
}

.MuiStack-root.css-1dzoql9 .MuiButton-root:hover {
  color: #963e66 !important;
  background: #fff0f6 !important;
}

/* 分页 */
.MuiPagination-root {
  color: #4e5676 !important;
  background: transparent !important;
}

.MuiPagination-root button {
  color: #59627f !important;
  background: #f7f5fb !important;
  border-color: #d9d5e7 !important;
}

.MuiPagination-root button:hover {
  color: #963e66 !important;
  background: #fff0f6 !important;
}

/* 滚动条 */
*::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
}

*::-webkit-scrollbar-track {
  background: #edf2f7 !important;
}

*::-webkit-scrollbar-thumb {
  background: #b9b5d2 !important;
  border-radius: 8px !important;
}

*::-webkit-scrollbar-thumb:hover {
  background: #c57c9b !important;
}

/* ===== 第二层：艾尔梅利亚作品组件 ===== */

/* 正文 */
.markdown-body .em-prose {
  position: relative !important;
  margin: 1.25em 0 !important;
  padding: 1.35em 1.45em !important;
  overflow: hidden !important;
  color: #292a50 !important;
  background:
    radial-gradient(circle at 92% 0%, rgba(224,184,217,.2), transparent 24%),
    linear-gradient(135deg, #fffaf3 0%, #fff7fa 54%, #f6f3ff 100%) !important;
  border: 1px solid #e6d5dd !important;
  border-left: 5px solid #dca33b !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(119,75,110,.08) !important;
  font-size: 1.08rem !important;
  line-height: 1.92 !important;
}

.markdown-body .em-prose::before {
  position: absolute !important;
  top: -52px !important;
  right: -32px !important;
  width: 145px !important;
  height: 145px !important;
  content: "✦" !important;
  color: rgba(196,143,52,.18) !important;
  border: 1px solid rgba(196,143,52,.24) !important;
  border-radius: 50% !important;
  font-size: 96px !important;
  line-height: 150px !important;
  text-align: center !important;
  pointer-events: none !important;
  animation: em-orbit 8s linear infinite !important;
}

.markdown-body .em-prose::after {
  position: absolute !important;
  right: 10% !important;
  bottom: 12px !important;
  width: 36% !important;
  height: 1px !important;
  content: "" !important;
  background: linear-gradient(90deg, transparent, #dca33b, transparent) !important;
  opacity: .55 !important;
}

.markdown-body .em-prose p {
  position: relative !important;
  z-index: 1 !important;
}

.markdown-body .em-prose strong {
  color: #8e385d !important;
}

.markdown-body .em-prose em {
  color: #65539e !important;
}

@keyframes em-orbit {
  50% {
    opacity: .42;
  }
}

/* 通用折叠面板 */
.markdown-body .em-panel {
  position: relative !important;
  margin: 1em 0 !important;
  overflow: hidden !important;
  color: #303653 !important;
  background: #fffdfd !important;
  border: 1px solid #dedbe8 !important;
  border-radius: 13px !important;
  box-shadow: 0 6px 18px rgba(76,66,130,.07) !important;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease !important;
}

.markdown-body .em-panel:hover {
  border-color: #d6a1b8 !important;
  box-shadow: 0 8px 22px rgba(117,74,112,.1) !important;
}

.markdown-body .em-panel[open] {
  border-color: #dba1b8 !important;
  box-shadow: 0 9px 25px rgba(117,74,112,.11) !important;
}

.markdown-body .em-panel > summary {
  position: relative !important;
  display: flex !important;
  min-height: 47px !important;
  align-items: center !important;
  padding: .72em 1em .72em 2.55em !important;
  color: #34375e !important;
  background: #f7f4fc !important;
  border-bottom: 1px solid transparent !important;
  cursor: pointer !important;
  font-size: 1.05em !important;
  font-weight: 850 !important;
  list-style: none !important;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease !important;
}

.markdown-body .em-panel > summary::-webkit-details-marker {
  display: none !important;
}

.markdown-body .em-panel > summary::before {
  position: absolute !important;
  left: .92em !important;
  content: "✦" !important;
  color: #d49b38 !important;
  font-size: 1.1em !important;
  line-height: 1 !important;
  transition: color .2s ease, transform .25s ease !important;
}

.markdown-body .em-panel > summary::after {
  position: absolute !important;
  right: 1em !important;
  content: "＋" !important;
  color: #8c91aa !important;
  font-size: 1em !important;
  transition: color .2s ease, transform .25s ease !important;
}

.markdown-body .em-panel[open] > summary {
  color: #8f3b60 !important;
  background: #fff0f6 !important;
  border-bottom-color: #ecd4df !important;
}

.markdown-body .em-panel[open] > summary::before {
  color: #c35d82 !important;
  transform: rotate(35deg) !important;
}

.markdown-body .em-panel[open] > summary::after {
  color: #b74e6e !important;
  content: "−" !important;
}

.markdown-body .em-panel > :not(summary) {
  animation: em-panel-in .24s ease both !important;
}

@keyframes em-panel-in {
  from {
    opacity: .35;
  }
  to {
    opacity: 1;
  }
}

.markdown-body .em-panel > p,
.markdown-body .em-panel > ul,
.markdown-body .em-panel > ol,
.markdown-body .em-panel > table,
.markdown-body .em-panel > blockquote {
  margin-right: 1em !important;
  margin-left: 1em !important;
}

/* 世界状态 */
.markdown-body .em-world {
  background:
    radial-gradient(circle at 95% 12%, rgba(112,190,219,.22), transparent 25%),
    linear-gradient(135deg, #eaf8ff, #f4f8ff) !important;
  border-color: #b9d9e7 !important;
  border-left: 5px solid #53a9c6 !important;
}

.markdown-body .em-world > summary {
  color: #245b78 !important;
  background: #e4f4fb !important;
}

.markdown-body .em-world > summary::before {
  content: "☼" !important;
  color: #3c9abb !important;
}

.markdown-body .em-world[open] > summary {
  color: #20546e !important;
  background: #dff2fb !important;
}

.markdown-body .em-world p,
.markdown-body .em-world li {
  color: #2f5870 !important;
}

/* 主角信息 */
.markdown-body .em-player {
  background:
    radial-gradient(circle at 94% 8%, rgba(128,104,197,.16), transparent 25%),
    linear-gradient(135deg, #f0f5ff, #f8f5ff) !important;
  border-color: #c9cce8 !important;
  border-left: 5px solid #6d74b2 !important;
}

.markdown-body .em-player > summary {
  color: #414a83 !important;
  background: #eceeff !important;
}

.markdown-body .em-player > summary::before {
  content: "◈" !important;
  color: #6570b0 !important;
}

.markdown-body .em-player strong {
  color: #4f5997 !important;
}

.markdown-body .em-player p,
.markdown-body .em-player li {
  color: #3d466e !important;
}

/* 右手和异常字段 */
.markdown-body .em-player p:has(strong) {
  color: #3d466e !important;
}

.markdown-body .em-player code {
  color: #514890 !important;
  background: #e9e8fb !important;
}

/* NPC面板 */
.markdown-body .em-npc {
  background:
    radial-gradient(circle at 4% 0%, rgba(237,121,173,.14), transparent 24%),
    linear-gradient(135deg, #fff3f8, #fffafd) !important;
  border-color: #e3c3d1 !important;
  border-left: 5px solid #bd6686 !important;
}

.markdown-body .em-npc > summary {
  color: #873653 !important;
  background: #ffedf4 !important;
}

.markdown-body .em-npc > summary::before {
  content: "♡" !important;
  color: #c25e83 !important;
}

.markdown-body .em-npc strong {
  color: #8d3d5e !important;
}

.markdown-body .em-npc hr {
  position: relative !important;
  margin: 1.25em .6em !important;
  background: linear-gradient(
    90deg,
    transparent,
    #c77594 36%,
    #dda33e 50%,
    #c77594 64%,
    transparent
  ) !important;
}

.markdown-body .em-npc blockquote {
  color: #704d61 !important;
  background: #fbe8ef !important;
  border-left-color: #bd6686 !important;
}

.markdown-body .em-npc p,
.markdown-body .em-npc li {
  color: #4e4053 !important;
}

/* 成人向私密字段的视觉层级 */
.markdown-body .em-npc p:has(strong),
.markdown-body .em-npc li:has(strong) {
  color: #684858 !important;
}

.markdown-body .em-npc p:nth-of-type(n+5),
.markdown-body .em-npc li:nth-of-type(n+5) {
  color: #75475b !important;
}

/* 阵营局势 */
.markdown-body .em-faction {
  background:
    radial-gradient(circle at 92% 5%, rgba(141,120,197,.16), transparent 24%),
    linear-gradient(135deg, #f5f1ff, #fff7fb) !important;
  border-color: #d6cce9 !important;
  border-left: 5px solid #8068c5 !important;
}

.markdown-body .em-faction > summary {
  color: #51468c !important;
  background: #eee9fc !important;
}

.markdown-body .em-faction > summary::before {
  content: "◇" !important;
  color: #8068c5 !important;
}

.markdown-body .em-faction table:first-of-type th {
  background: #a17c39 !important;
}

.markdown-body .em-faction table:first-of-type td:first-child {
  border-left: 3px solid #d8aa45 !important;
}

.markdown-body .em-faction table:nth-of-type(2) th {
  background: #874b70 !important;
}

.markdown-body .em-faction table:nth-of-type(2) td:first-child {
  border-left: 3px solid #b74e6e !important;
}

.markdown-body .em-faction table td {
  background: rgba(255,255,255,.68) !important;
}

.markdown-body .em-faction table tr:hover td {
  background: #fff0f6 !important;
}

/* 城市资讯 */
.markdown-body .em-feed {
  background:
    radial-gradient(circle at 8% 5%, rgba(83,183,172,.14), transparent 24%),
    linear-gradient(135deg, #edfafa, #f7ffff) !important;
  border-color: #bfe0dc !important;
  border-left: 5px solid #55a9a0 !important;
}

.markdown-body .em-feed > summary {
  color: #2b6c6b !important;
  background: #e5f6f3 !important;
}

.markdown-body .em-feed > summary::before {
  content: "☾" !important;
  color: #479e9b !important;
}

.markdown-body .em-feed strong {
  color: #327b79 !important;
}

.markdown-body .em-feed li {
  color: #355e67 !important;
  padding: .3em 0 !important;
}

/* 记忆面板 */
.markdown-body .em-memory {
  border-left: 5px solid #8b96ad !important;
}

.markdown-body .em-memory > summary {
  color: #4d5d78 !important;
  background: #edf3fa !important;
}

.markdown-body .em-memory > summary::before {
  content: "✎" !important;
  color: #71829e !important;
}

.markdown-body .em-working {
  background: linear-gradient(135deg, #edf8ff, #f8fcff) !important;
  border-color: #c7dfea !important;
}

.markdown-body .em-working > summary {
  background: #e7f4fb !important;
}

.markdown-body .em-history {
  background: linear-gradient(135deg, #fff9e8, #fffdf7) !important;
  border-color: #e6d7ad !important;
  border-left-color: #c9a044 !important;
}

.markdown-body .em-history > summary {
  color: #77602d !important;
  background: #fff4d7 !important;
}

.markdown-body .em-history > summary::before {
  content: "⌘" !important;
  color: #b88a2e !important;
}

.markdown-body .em-memory p,
.markdown-body .em-memory li {
  color: #53627b !important;
}

/* 行动推荐 */
.markdown-body .em-actions {
  background:
    radial-gradient(circle at 95% 0%, rgba(237,121,173,.18), transparent 25%),
    linear-gradient(135deg, #fff0f8, #f5f0ff) !important;
  border-color: #dfc6dc !important;
  border-left: 5px solid #bd6686 !important;
}

.markdown-body .em-actions > summary {
  color: #8c3d67 !important;
  background: #ffe9f3 !important;
}

.markdown-body .em-actions > summary::before {
  content: "➤" !important;
  color: #bd6686 !important;
}

.markdown-body .em-option-list {
  display: grid !important;
  gap: .65em !important;
  margin: 1em !important;
  padding: 0 !important;
  list-style: none !important;
  counter-reset: em-option !important;
}

.markdown-body .em-option {
  position: relative !important;
  min-height: 45px !important;
  padding: .72em 1em .72em 3.2em !important;
  color: #3f4167 !important;
  background: rgba(255,255,255,.78) !important;
  border: 1px solid #ddc8db !important;
  border-radius: 10px !important;
  counter-increment: em-option !important;
  cursor: pointer !important;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}

.markdown-body .em-option::before {
  position: absolute !important;
  top: 50% !important;
  left: 1em !important;
  width: 1.35em !important;
  height: 1.35em !important;
  content: counter(em-option, decimal-leading-zero) !important;
  color: #fff !important;
  background: #bd6686 !important;
  border-radius: 50% !important;
  font-size: .72em !important;
  line-height: 1.35em !important;
  text-align: center !important;
  transform: translateY(-50%) !important;
}

.markdown-body .em-option:hover {
  color: #7f3158 !important;
  background: #fff5f9 !important;
  border-color: #c87999 !important;
  box-shadow: 0 5px 15px rgba(189,102,134,.15) !important;
}

.markdown-body .em-option:hover::before {
  background: #d99b38 !important;
}

/* 通用列表 */
.markdown-body .em-panel ul,
.markdown-body .em-panel ol {
  color: #3e4667 !important;
}

.markdown-body .em-panel li::marker {
  color: #bd6686 !important;
}

/* 通用强调标签 */
.markdown-body .em-panel p strong:first-child {
  color: #8c3d61 !important;
}

/* 面板中的行内代码 */
.markdown-body .em-panel code {
  color: #75406b !important;
  background: #f6e9f1 !important;
  border: 1px solid #ead0dc !important;
}

/* 移动端 */
@media (max-width: 640px) {
  .markdown-body {
    font-size: 1rem !important;
    line-height: 1.82 !important;
  }

  .markdown-body .em-prose {
    padding: 1.05em 1em !important;
    font-size: 1.04rem !important;
  }

  .markdown-body .em-panel > summary {
    min-height: 45px !important;
    padding-left: 2.35em !important;
    padding-right: 2.35em !important;
  }

  .markdown-body .em-panel > :not(summary) {
    max-width: 100% !important;
  }

  .markdown-body .em-faction {
    overflow-x: auto !important;
  }

  .markdown-body .em-faction table {
    min-width: 560px !important;
  }

  .markdown-body .em-option {
    min-height: 48px !important;
    padding-left: 3em !important;
  }

  .markdown-body .em-npc p,
  .markdown-body .em-player p,
  .markdown-body .em-world p,
  .markdown-body .em-feed p {
    overflow-wrap: anywhere !important;
  }

  #ai-chat-input {
    font-size: 16px !important;
  }
}

/* 减少动态 */
@media (prefers-reduced-motion: reduce) {
  .markdown-body .em-prose::before,
  .markdown-body .em-panel > :not(summary) {
    animation: none !important;
  }

  .markdown-body .em-panel,
  .markdown-body .em-panel > summary,
  .markdown-body .em-option {
    transition: none !important;
  }
}