/**
 * 《健身教练模拟器》· Reply UI · 涂鸦版 v1.1 · 间距收紧
 * 速写本贴纸 · 马克笔描边 · 亮青/粉/黄涂鸦色
 * 短码结构兼容暗绿版
 */

img[src="/chat-star.png"],
img[src*="chat-star.png"] {
  display: none !important;
}

.mufy_ai_message_bubble {
  color: #222 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 2px 0 !important;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.mufy_ai_message_bubble::before,
.mufy_ai_message_bubble::after {
  display: none !important;
}

.mufy_ai_message_bubble details,
details {
  list-style: none !important;
}

.mufy_ai_message_bubble summary,
details > summary {
  list-style: none !important;
}

.mufy_ai_message_bubble details > summary::-webkit-details-marker,
details > summary::-webkit-details-marker {
  display: none !important;
}

/* ========== 思维链隐藏 ========== */
think,
.mufy_ai_message_bubble think {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

redacted_thinking,
.mufy_ai_message_bubble redacted_thinking {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.tkb,
redacted_thinking .tkb,
.mufy_ai_message_bubble redacted_thinking .tkb {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

redacted_thinking:not(:has(.tkb)),
.mufy_ai_message_bubble redacted_thinking:not(:has(.tkb)) {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* ========== 悬停 tip ========== */
.tip,
div.tip,
.mufy_ai_message_bubble .tip {
  display: none !important;
  position: absolute !important;
  bottom: calc(100% + 8px) !important;
  left: 50% !important;
  transform: translateX(-50%) rotate(-0.6deg) !important;
  z-index: 2147483646 !important;
  min-width: 140px !important;
  max-width: 260px !important;
  padding: 8px 10px !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #1f1f1f !important;
  background: #fff3a8 !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 2px 10px 4px 12px !important;
  box-shadow: 3px 3px 0 rgba(31, 31, 31, 0.15) !important;
  pointer-events: none !important;
  white-space: normal !important;
  text-align: left !important;
}

.tip b,
.mufy_ai_message_bubble .tip b {
  display: block !important;
  margin: 0 0 4px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  color: #1f1f1f !important;
}

.tip em,
.mufy_ai_message_bubble .tip em {
  display: block !important;
  font-style: normal !important;
  font-size: 11px !important;
  color: #555 !important;
}

.tip::after,
.mufy_ai_message_bubble .tip::after {
  content: "" !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border: 6px solid transparent !important;
  border-top-color: #1f1f1f !important;
}

.kpi:hover .tip,
.m:hover .tip,
.tg:hover .tip,
.mufy_ai_message_bubble .kpi:hover .tip,
.mufy_ai_message_bubble .m:hover .tip,
.mufy_ai_message_bubble .tg:hover .tip {
  display: block !important;
}

.tg:not(:hover) .tip,
.mufy_ai_message_bubble .tg:not(:hover) .tip {
  display: none !important;
}

details.go .tg:hover .tip,
.mufy_ai_message_bubble details.go .tg:hover .tip {
  display: none !important;
}

/* ========== 教练看板 d ========== */
.d,
div.d,
.mufy_ai_message_bubble .d {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: #fffef5 !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 2px 12px 4px 0 !important;
  overflow: visible !important;
  box-shadow: 3px 3px 0 rgba(31, 31, 31, 0.15) !important;
}

.dt,
div.dt,
.mufy_ai_message_bubble .dt {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 14px !important;
  background: #fff9e8 !important;
  border-bottom: 2px dashed #1f1f1f !important;
}

.db,
span.db,
.mufy_ai_message_bubble .db {
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  color: #1f1f1f !important;
  padding: 3px 7px !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 12px 2px 12px 2px !important;
  background: #ffd84d !important;
  transform: rotate(-0.6deg) !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
}

.di,
span.di,
.mufy_ai_message_bubble .di {
  flex: 1 !important;
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  color: #1f1f1f !important;
  text-transform: uppercase !important;
}

.dm,
span.dm,
.mufy_ai_message_bubble .dm {
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #1f1f1f !important;
  background: #22c7d6 !important;
  padding: 3px 10px !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 2px 10px 2px 10px !important;
  letter-spacing: 0.04em !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
}

.dm[data-mode="平然"],
.mufy_ai_message_bubble .dm[data-mode="平然"] {
  background: #ff5a9a !important;
  color: #1f1f1f !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
}

.dx,
div.dx,
.mufy_ai_message_bubble .dx {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  padding: 10px 12px 6px !important;
}

.c,
span.c,
.mufy_ai_message_bubble .c {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  padding: 4px 8px !important;
  font-size: 12px !important;
  color: #333 !important;
  background: #fff9e8 !important;
  border: 2px dashed #2b2b2b !important;
  border-radius: 0 8px 0 8px !important;
}

.c i,
.mufy_ai_message_bubble .c i {
  font-style: normal !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #22c7d6 !important;
  letter-spacing: 0.04em !important;
}

.c.w,
.mufy_ai_message_bubble .c.w {
  flex: 1 1 100% !important;
}

.dk,
div.dk,
.mufy_ai_message_bubble .dk {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 2px !important;
  margin: 6px 12px 10px !important;
  background: #1f1f1f !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 4px 12px 4px 0 !important;
  overflow: visible !important;
}

.kpi,
div.kpi,
.mufy_ai_message_bubble .kpi {
  position: relative !important;
  padding: 10px 6px !important;
  text-align: center !important;
  background: #fffef5 !important;
  cursor: default !important;
}

.kpi i,
.mufy_ai_message_bubble .kpi i {
  display: block !important;
  font-style: normal !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #555 !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 4px !important;
  text-decoration: underline wavy #22c7d6 !important;
  text-underline-offset: 3px !important;
}

.kpi b,
.mufy_ai_message_bubble .kpi b {
  display: block !important;
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #1f1f1f !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1.2 !important;
}

.kpi em,
.mufy_ai_message_bubble .kpi em {
  display: block !important;
  margin-top: 2px !important;
  font-style: normal !important;
  font-size: 10px !important;
  color: #ff5a9a !important;
}

.dl,
div.dl,
.mufy_ai_message_bubble .dl {
  margin: 0 12px 8px !important;
  padding: 6px 10px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #333 !important;
  background: #fff9e8 !important;
  border-left: 3px solid #22c7d6 !important;
  border-radius: 0 8px 8px 0 !important;
}

.dl b,
.mufy_ai_message_bubble .dl b {
  display: inline-block !important;
  min-width: 2.2em !important;
  margin-right: 8px !important;
  color: #22c7d6 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.dl:last-child,
.mufy_ai_message_bubble .dl:last-child {
  margin-bottom: 12px !important;
}

/* ========== 规则面板 ru（首栏下，条数不限） ========== */
.ru,
div.ru,
.mufy_ai_message_bubble .ru {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: #fffef5 !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 12px 2px 12px 2px !important;
  box-shadow: 3px 3px 0 rgba(31, 31, 31, 0.15) !important;
  overflow: hidden !important;
}

.ruh,
div.ruh,
.mufy_ai_message_bubble .ruh {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  border-bottom: 2px dashed #1f1f1f !important;
  background: #fff9e8 !important;
}

.ruh i,
.mufy_ai_message_bubble .ruh i {
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  font-style: normal !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  color: #1f1f1f !important;
}

.ruh em,
.mufy_ai_message_bubble .ruh em {
  font-style: normal !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #22c7d6 !important;
  letter-spacing: 0.04em !important;
}

.rul,
ol.rul,
.mufy_ai_message_bubble ol.rul {
  display: block !important;
  margin: 0 !important;
  padding: 8px 14px 10px 36px !important;
  list-style: decimal !important;
  list-style-position: outside !important;
}

.rul > li,
ol.rul > li,
.mufy_ai_message_bubble .rul > li {
  margin: 0 0 6px !important;
  padding: 4px 0 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: #333 !important;
  border-bottom: 2px dashed rgba(31, 31, 31, 0.15) !important;
}

.rul > li:last-child,
ol.rul > li:last-child,
.mufy_ai_message_bubble .rul > li:last-child {
  margin-bottom: 0 !important;
  border-bottom: none !important;
}

.rul > li::marker,
.mufy_ai_message_bubble .rul > li::marker {
  color: #ff5a9a !important;
  font-weight: 800 !important;
}

/* ========== 正文 ========== */
.s,
div.s,
.mufy_ai_message_bubble .s {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 18px 20px 18px 22px !important;
  background: #fffef5 !important;
  border: 2px dashed #2b2b2b !important;
  border-left: 4px solid #22c7d6 !important;
  border-radius: 2px 12px 12px 2px !important;
  box-shadow: 3px 3px 0 rgba(31, 31, 31, 0.15) !important;
}

.s p,
.mufy_ai_message_bubble .s p {
  margin: 0 0 12px !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
  color: #222 !important;
  text-indent: 2em !important;
}

.s p:last-child,
.mufy_ai_message_bubble .s p:last-child {
  margin-bottom: 0 !important;
}

.s em,
.mufy_ai_message_bubble .s em {
  font-style: italic !important;
  color: #444 !important;
}

/* ========== 底栏架 ========== */
.r,
div.r,
.mufy_ai_message_bubble .r {
  display: block !important;
}

/* ========== 折叠卡 ========== */
details.card,
.mufy_ai_message_bubble details.card {
  margin: 0 0 6px !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 4px 12px 4px 0 !important;
  overflow: visible !important;
  background: #fffef5 !important;
  box-shadow: 3px 3px 0 rgba(31, 31, 31, 0.15) !important;
}

.h,
summary.h,
.mufy_ai_message_bubble summary.h {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 14px !important;
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  color: #1f1f1f !important;
  cursor: pointer !important;
  background: #fff9e8 !important;
  border-bottom: 2px solid transparent !important;
  user-select: none !important;
}

details.card[open] > .h,
.mufy_ai_message_bubble details.card[open] > .h {
  border-bottom-color: #1f1f1f !important;
  border-bottom-style: dashed !important;
}

.hi,
span.hi,
i.hi,
.mufy_ai_message_bubble .hi {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 28px !important;
  height: 22px !important;
  padding: 0 6px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  font-style: normal !important;
  color: #1f1f1f !important;
  background: #ffd84d !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 12px 2px 12px 2px !important;
  letter-spacing: 0 !important;
  transform: rotate(-0.6deg) !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
}

.b,
div.b,
.mufy_ai_message_bubble .b {
  padding: 12px 14px 14px !important;
  overflow: visible !important;
}

.bp,
div.bp,
.mufy_ai_message_bubble .bp {
  padding: 16px 12px 18px !important;
  background: #fffef5 !important;
}

/* ========== 身份行 / 徽章 ========== */
.id,
div.id,
.mufy_ai_message_bubble .id {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 10px !important;
}

.nm,
span.nm,
.mufy_ai_message_bubble .nm {
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #1f1f1f !important;
  letter-spacing: 0.04em !important;
}

.ba,
span.ba,
.mufy_ai_message_bubble .ba {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #1f1f1f !important;
  padding: 2px 8px !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 12px 2px 12px 2px !important;
  background: #22c7d6 !important;
  transform: rotate(-0.6deg) !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
}

/* ========== 进度条 ========== */
.ms,
div.ms,
.mufy_ai_message_bubble .ms {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  margin: 0 0 12px !important;
}

.m,
div.m,
.mufy_ai_message_bubble .m {
  position: relative !important;
  height: 28px !important;
  background: #eee6d8 !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 2px 10px 2px 10px !important;
  overflow: visible !important;
  cursor: default !important;
}

.f,
div.f,
.mufy_ai_message_bubble .f {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  max-width: 100% !important;
  background: #22c7d6 !important;
  border-radius: 0 8px 8px 0 !important;
  opacity: 1 !important;
}

.mg .f,
.mufy_ai_message_bubble .mg .f {
  background: #ffd84d !important;
}

.mc .f,
.mufy_ai_message_bubble .mc .f {
  background: #22c7d6 !important;
}

.md .f,
.mufy_ai_message_bubble .md .f {
  background: #ff5a9a !important;
}

.mw .f,
.mufy_ai_message_bubble .mw .f {
  background: #b4e645 !important;
}

.mt,
div.mt,
.mufy_ai_message_bubble .mt {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #1f1f1f !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ========== 键值 / 标签 / 引语 ==========
 * 短写：<div class="k"><b>身份</b>内容</div>
 * 兼容旧写：<div class="gx-kv" data-k="身份">内容</div>
 */
.k,
div.k,
.gx-kv,
div.gx-kv,
.mufy_ai_message_bubble .k,
.mufy_ai_message_bubble .gx-kv {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 6px 10px !important;
  margin: 0 0 7px !important;
  padding: 6px 0 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: #333 !important;
  border-bottom: 2px dashed rgba(31, 31, 31, 0.15) !important;
}

.k > b,
div.k > b,
.mufy_ai_message_bubble .k > b {
  flex: 0 0 auto !important;
  min-width: 3.2em !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  font-style: normal !important;
  letter-spacing: 0.04em !important;
  color: #22c7d6 !important;
  text-decoration: underline wavy #ff5a9a !important;
  text-underline-offset: 3px !important;
}

.gx-kv::before,
.mufy_ai_message_bubble .gx-kv::before {
  content: attr(data-k) !important;
  flex: 0 0 auto !important;
  min-width: 3.2em !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  color: #22c7d6 !important;
  text-decoration: underline wavy #ff5a9a !important;
  text-underline-offset: 3px !important;
}

.tg,
span.tg,
.mufy_ai_message_bubble .tg {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 4px 4px 0 !important;
  padding: 2px 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1f1f1f !important;
  background: #fff9e8 !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 2px 8px 2px 8px !important;
  cursor: default !important;
  transform: rotate(-0.6deg) !important;
  box-shadow: 2px 2px 0 rgba(31, 31, 31, 0.15) !important;
}

.tg.g,
.mufy_ai_message_bubble .tg.g {
  color: #1f1f1f !important;
  border-color: #1f1f1f !important;
  background: #ffd84d !important;
}

.tg.cy,
.mufy_ai_message_bubble .tg.cy {
  color: #1f1f1f !important;
  border-color: #1f1f1f !important;
  background: #22c7d6 !important;
}

.q,
div.q,
.mufy_ai_message_bubble .q {
  margin: 10px 0 0 !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #333 !important;
  font-style: italic !important;
  background: #fff3a8 !important;
  border-left: 3px solid #1f1f1f !important;
  border-radius: 0 8px 8px 0 !important;
}

/* ========== 子折叠 ========== */
details.u,
.mufy_ai_message_bubble details.u {
  margin: 0 0 8px !important;
  border: 2px dashed #2b2b2b !important;
  border-radius: 2px 8px 2px 8px !important;
  background: #fffef5 !important;
  overflow: visible !important;
}

.uh,
summary.uh,
.mufy_ai_message_bubble summary.uh {
  display: flex !important;
  align-items: center !important;
  padding: 8px 12px !important;
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  color: #1f1f1f !important;
  cursor: pointer !important;
  user-select: none !important;
  background: #fff9e8 !important;
}

.ub,
div.ub,
.mufy_ai_message_bubble .ub {
  padding: 8px 10px 10px !important;
}

.sec,
div.sec,
.mufy_ai_message_bubble .sec {
  margin: 8px 0 6px !important;
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  color: #22c7d6 !important;
}

/* ========== 教学档案子面板 sk ========== */
details.sk,
.mufy_ai_message_bubble details.sk {
  margin: 10px 0 0 !important;
  border: 2px solid #1f1f1f !important;
  border-left: 4px solid #22c7d6 !important;
  border-radius: 2px 12px 4px 0 !important;
  background: #fff9e8 !important;
  box-shadow: 2px 2px 0 rgba(31, 31, 31, 0.12) !important;
}

.skh,
summary.skh,
.mufy_ai_message_bubble summary.skh {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #1f1f1f !important;
  cursor: pointer !important;
  border-bottom: 2px dashed transparent !important;
}

details.sk[open] > .skh,
.mufy_ai_message_bubble details.sk[open] > .skh {
  border-bottom-color: #1f1f1f !important;
}

.skm,
span.skm,
.mufy_ai_message_bubble .skm {
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #1f1f1f !important;
  background: #22c7d6 !important;
  padding: 1px 6px !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 12px 2px 12px 2px !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
}

.skb,
div.skb,
.mufy_ai_message_bubble .skb {
  padding: 4px 10px 10px !important;
}

/* ========== 18+ ========== */
details.x,
.mufy_ai_message_bubble details.x {
  margin: 10px 0 0 !important;
  border: 2px solid #ff5a9a !important;
  border-radius: 4px 12px 4px 0 !important;
  background: #fffef5 !important;
  box-shadow: 3px 3px 0 rgba(31, 31, 31, 0.12) !important;
}

.xh,
summary.xh,
.mufy_ai_message_bubble summary.xh {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #ff5a9a !important;
  cursor: pointer !important;
}

.xb,
span.xb,
.mufy_ai_message_bubble .xb {
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #1f1f1f !important;
  background: #ff5a9a !important;
  padding: 1px 6px !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 12px 2px 12px 2px !important;
  transform: rotate(-0.6deg) !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
}

.xd,
div.xd,
.mufy_ai_message_bubble .xd {
  padding: 4px 10px 10px !important;
}

/* ========== 客户管理 · 日历 ========== */
.cal,
div.cal,
.mufy_ai_message_bubble .cal {
  display: block !important;
  margin: 0 0 4px !important;
  padding: 10px !important;
  background: #fffef5 !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 4px 12px 4px 0 !important;
  box-shadow: 3px 3px 0 rgba(31, 31, 31, 0.15) !important;
}

.ch,
div.ch,
.mufy_ai_message_bubble .ch {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 6px !important;
  margin: 0 0 10px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px dashed #1f1f1f !important;
}

.ct,
span.ct,
.mufy_ai_message_bubble .ct {
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #1f1f1f !important;
  letter-spacing: 0.04em !important;
}

.cs,
span.cs,
.mufy_ai_message_bubble .cs {
  font-size: 11px !important;
  color: #666 !important;
}

.cw,
div.cw,
.mufy_ai_message_bubble .cw {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 4px !important;
  margin: 0 0 10px !important;
}

.cd,
div.cd,
.mufy_ai_message_bubble .cd {
  min-height: 64px !important;
  padding: 6px 4px !important;
  text-align: center !important;
  background: #fff9e8 !important;
  border: 2px dashed #2b2b2b !important;
  border-radius: 2px 6px 2px 6px !important;
}

.cd i,
.mufy_ai_message_bubble .cd i {
  display: block !important;
  font-style: normal !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #888 !important;
  letter-spacing: 0.04em !important;
}

.cd b,
.mufy_ai_message_bubble .cd b {
  display: block !important;
  margin: 2px 0 4px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #1f1f1f !important;
  font-variant-numeric: tabular-nums !important;
}

.cd em,
.mufy_ai_message_bubble .cd em {
  display: block !important;
  font-style: normal !important;
  font-size: 9px !important;
  line-height: 1.35 !important;
  color: #22c7d6 !important;
  word-break: break-all !important;
}

.on,
div.on,
.mufy_ai_message_bubble .on {
  border: 2px solid #1f1f1f !important;
  border-style: solid !important;
  background: #ffd84d !important;
  box-shadow: 2px 2px 0 rgba(31, 31, 31, 0.15) !important;
}

.on b,
.mufy_ai_message_bubble .on b {
  color: #1f1f1f !important;
}

.cl,
div.cl,
.mufy_ai_message_bubble .cl {
  padding-top: 4px !important;
  border-top: 2px dashed rgba(31, 31, 31, 0.2) !important;
}

.cl .k,
.cl .gx-kv,
.mufy_ai_message_bubble .cl .k,
.mufy_ai_message_bubble .cl .gx-kv {
  border-bottom-color: rgba(31, 31, 31, 0.12) !important;
}

.cl .k > b,
.cl .gx-kv::before,
.mufy_ai_message_bubble .cl .k > b,
.mufy_ai_message_bubble .cl .gx-kv::before {
  color: #ff5a9a !important;
  font-variant-numeric: tabular-nums !important;
  min-width: 3.6em !important;
}

/* ========== 记忆表 ========== */
.tb,
table.tb,
.mufy_ai_message_bubble table.tb {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 0 10px !important;
  font-size: 12px !important;
  color: #333 !important;
}

.tb th,
.mufy_ai_message_bubble .tb th {
  padding: 6px 8px !important;
  text-align: left !important;
  font-weight: 800 !important;
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  color: #1f1f1f !important;
  background: #ffd84d !important;
  border: 2px solid #1f1f1f !important;
}

.tb td,
.mufy_ai_message_bubble .tb td {
  padding: 6px 8px !important;
  vertical-align: top !important;
  border: 2px dashed #2b2b2b !important;
  line-height: 1.5 !important;
}

.tb tr:nth-child(even) td,
.mufy_ai_message_bubble .tb tr:nth-child(even) td {
  background: #fff9e8 !important;
}

/* ========== 下一步 ========== */
.gob,
div.gob,
.mufy_ai_message_bubble .gob {
  padding-top: 4px !important;
}

.gob suggested_questions,
.mufy_ai_message_bubble .gob suggested_questions {
  display: block !important;
}

.gob suggested_questions p,
.mufy_ai_message_bubble .gob suggested_questions p {
  margin: 0 0 8px !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: #1f1f1f !important;
  text-indent: 0 !important;
  background: #fff9e8 !important;
  border: 2px solid #1f1f1f !important;
  border-left: 4px solid #22c7d6 !important;
  border-radius: 0 10px 10px 0 !important;
  cursor: pointer !important;
  box-shadow: 2px 2px 0 rgba(31, 31, 31, 0.12) !important;
  transition: background 0.15s ease, box-shadow 0.15s ease !important;
}

.gob suggested_questions p:hover,
.mufy_ai_message_bubble .gob suggested_questions p:hover {
  background: #fff3a8 !important;
  box-shadow: 3px 3px 0 rgba(31, 31, 31, 0.18) !important;
}

.gob suggested_questions p:last-child,
.mufy_ai_message_bubble .gob suggested_questions p:last-child {
  margin-bottom: 0 !important;
}

/* ========== 手机壳 · 微信 ========== */
.p,
div.p,
.phone,
div.phone,
.mufy_ai_message_bubble .p,
.mufy_ai_message_bubble .phone {
  position: relative !important;
  display: block !important;
  max-width: 300px !important;
  margin: 0 auto !important;
  padding: 6px !important;
  background: #fffef5 !important;
  border: 3px solid #1f1f1f !important;
  border-radius: 24px 28px 24px 28px !important;
  box-shadow: 4px 4px 0 rgba(31, 31, 31, 0.2) !important;
  overflow: visible !important;
}

.p > .pi,
.phone > .pi,
div.p > .pi,
.mufy_ai_message_bubble .p > .pi,
.mufy_ai_message_bubble .phone > .pi {
  position: absolute !important;
  top: 14px !important;
  left: 50% !important;
  z-index: 8 !important;
  width: 64px !important;
  height: 18px !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  background: #1f1f1f !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 10px 6px 10px 6px !important;
  pointer-events: none !important;
}

.ps,
div.ps,
.mufy_ai_message_bubble .ps {
  border-radius: 20px 22px 20px 22px !important;
  background: #fffef5 !important;
  border: 2px solid #2b2b2b !important;
  min-height: 420px !important;
  max-height: 520px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.pb,
div.pb,
.mufy_ai_message_bubble .pb {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 22px 14px 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #1f1f1f !important;
  background: #fffef5 !important;
}

.pt,
span.pt,
.mufy_ai_message_bubble .pt {
  font-variant-numeric: tabular-nums !important;
}

.pic,
span.pic,
.mufy_ai_message_bubble .pic {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 11px !important;
}

.net,
span.net,
.mufy_ai_message_bubble span.net {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #1f1f1f !important;
}

.bars,
span.bars,
.mufy_ai_message_bubble span.bars {
  display: inline-flex !important;
  align-items: flex-end !important;
  gap: 1.5px !important;
  height: 10px !important;
}

.bars i,
.mufy_ai_message_bubble .bars i {
  display: block !important;
  width: 2.5px !important;
  background: #1f1f1f !important;
  border-radius: 1px !important;
}

.bars i:nth-child(1) { height: 3px !important; }
.bars i:nth-child(2) { height: 5px !important; }
.bars i:nth-child(3) { height: 7px !important; }
.bars i:nth-child(4) { height: 9px !important; }

.bat,
span.bat,
.mufy_ai_message_bubble span.bat {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #1f1f1f !important;
  font-variant-numeric: tabular-nums !important;
}

.pn,
div.pn,
.mufy_ai_message_bubble .pn {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 14px 10px !important;
  background: #fffef5 !important;
  border-bottom: 2px dashed #2b2b2b !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 3 !important;
}

.pnt,
span.pnt,
.mufy_ai_message_bubble .pnt {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #1f1f1f !important;
}

.pns,
span.pns,
.mufy_ai_message_bubble .pns {
  font-size: 12px !important;
  color: #888 !important;
}

.ps:has(.to:checked) > .pnl,
.mufy_ai_message_bubble .ps:has(.to:checked) > .pnl {
  display: none !important;
}

.pe,
div.pe,
.mufy_ai_message_bubble .pe {
  padding: 48px 16px !important;
  text-align: center !important;
  font-size: 13px !important;
  color: #888 !important;
  background: #fffef5 !important;
}

.ps:has(.th) .pe,
.mufy_ai_message_bubble .ps:has(.th) .pe {
  display: none !important;
}

.wl,
div.wl,
.mufy_ai_message_bubble .wl {
  background: #fffef5 !important;
}

.th,
div.th,
.mufy_ai_message_bubble .th {
  display: block !important;
  border-bottom: 2px dashed rgba(31, 31, 31, 0.15) !important;
  background: #fffef5 !important;
}

.to,
input.to,
.mufy_ai_message_bubble input.to {
  display: none !important;
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.fo,
label.fo,
.mufy_ai_message_bubble label.fo {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.fa,
span.fa,
.mufy_ai_message_bubble span.fa {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex: 1 !important;
  min-width: 0 !important;
  padding: 12px 4px 12px 14px !important;
  box-sizing: border-box !important;
}

.av,
span.av,
div.av,
.mufy_ai_message_bubble .av {
  flex-shrink: 0 !important;
  width: 42px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1f1f1f !important;
  background: #22c7d6 !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 8px 2px 8px 2px !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
}

.ma,
span.ma,
.mufy_ai_message_bubble span.ma {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.wxt,
span.wxt,
.mufy_ai_message_bubble span.wxt {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  gap: 8px !important;
}

.wxt b,
.mufy_ai_message_bubble .wxt b {
  font-size: 14px !important;
  color: #1f1f1f !important;
  font-weight: 600 !important;
}

.wxt em,
.mufy_ai_message_bubble .wxt em {
  font-style: normal !important;
  font-size: 11px !important;
  color: #888 !important;
  flex-shrink: 0 !important;
}

.wxm,
span.wxm,
.mufy_ai_message_bubble span.wxm {
  font-size: 12px !important;
  color: #666 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.bad,
span.bad,
.mufy_ai_message_bubble span.bad {
  flex-shrink: 0 !important;
  min-width: 16px !important;
  padding: 1px 5px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #1f1f1f !important;
  background: #ff5a9a !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 12px 2px 12px 2px !important;
  text-align: center !important;
  transform: rotate(-0.6deg) !important;
}

.bad:empty,
.mufy_ai_message_bubble .bad:empty {
  display: none !important;
}

.bo,
div.bo,
.mufy_ai_message_bubble .bo {
  display: none !important;
  flex-direction: column !important;
  width: 100% !important;
  min-height: 320px !important;
  background: #fffef5 !important;
  box-sizing: border-box !important;
}

.th:has(.to:not(:checked)) .bo,
.mufy_ai_message_bubble .th:has(.to:not(:checked)) .bo {
  display: none !important;
}

.th:has(.to:checked) .bo,
.mufy_ai_message_bubble .th:has(.to:checked) .bo {
  display: flex !important;
}

.th:has(.to:checked) > .fo,
.mufy_ai_message_bubble .th:has(.to:checked) > .fo {
  display: none !important;
}

.wl:has(.to:checked) .th:not(:has(.to:checked)),
.mufy_ai_message_bubble .wl:has(.to:checked) .th:not(:has(.to:checked)) {
  display: none !important;
}

.bk,
label.bk,
.mufy_ai_message_bubble label.bk {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  background: #fff9e8 !important;
  border-bottom: 2px dashed #2b2b2b !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 4 !important;
  text-align: center !important;
}

.wh,
div.wh,
.mufy_ai_message_bubble .wh {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 12px 4px !important;
}

.bi,
span.bi,
.mufy_ai_message_bubble span.bi {
  font-size: 22px !important;
  line-height: 1 !important;
  color: #b4e645 !important;
  font-weight: 500 !important;
  min-width: 18px !important;
}

.wn,
span.wn,
.mufy_ai_message_bubble span.wn {
  flex: 1 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1f1f1f !important;
  text-align: center !important;
}

.wm,
span.wm,
.mufy_ai_message_bubble span.wm {
  font-size: 11px !important;
  color: #888 !important;
  min-width: 36px !important;
  text-align: right !important;
}

/* 个性签名：在 bk 内，非 bo 直系子级 */
.bo .ws,
.bk .ws,
label.bk .ws,
div.bo .ws,
.mufy_ai_message_bubble .bo .ws,
.mufy_ai_message_bubble .bk .ws,
.mufy_ai_message_bubble label.bk .ws {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 2px 16px 10px !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: #888 !important;
  text-align: center !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

.wt,
div.wt,
.mufy_ai_message_bubble .wt {
  display: block !important;
  margin: 12px 0 8px !important;
  text-align: center !important;
}

.wt span,
.mufy_ai_message_bubble .wt span {
  display: inline-block !important;
  padding: 2px 8px !important;
  font-size: 11px !important;
  color: #1f1f1f !important;
  background: rgba(31, 31, 31, 0.08) !important;
  border: 2px dashed #2b2b2b !important;
  border-radius: 4px 10px 4px 10px !important;
}

.ml,
div.ml,
.mufy_ai_message_bubble .ml {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  margin: 0 48px 10px 12px !important;
}

.ml > span,
.mufy_ai_message_bubble .ml > span {
  font-size: 11px !important;
  color: #888 !important;
  padding: 0 6px !important;
}

.ml > p,
.mufy_ai_message_bubble .ml > p {
  margin: 0 !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #1f1f1f !important;
  background: #fffef5 !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 2px 10px 10px 10px !important;
  text-indent: 0 !important;
  max-width: 100% !important;
  word-break: break-word !important;
  box-shadow: 2px 2px 0 rgba(31, 31, 31, 0.12) !important;
}

.mr,
div.mr,
.mufy_ai_message_bubble .mr {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  margin: 0 12px 10px 48px !important;
}

.mr > p,
.mufy_ai_message_bubble .mr > p {
  margin: 0 !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #1f1f1f !important;
  background: #b4e645 !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 10px 2px 10px 10px !important;
  text-indent: 0 !important;
  max-width: 100% !important;
  word-break: break-word !important;
  box-shadow: 2px 2px 0 rgba(31, 31, 31, 0.12) !important;
}

.nr,
p.nr,
.mufy_ai_message_bubble p.nr {
  display: block !important;
  margin: 4px 16px 10px !important;
  padding: 6px 10px !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: #666 !important;
  text-align: center !important;
  text-indent: 0 !important;
  background: #fff9e8 !important;
  border: 2px dashed #2b2b2b !important;
  border-radius: 4px 8px 4px 8px !important;
}

/* ========== 响应式 ========== */
@media (max-width: 640px) {
  .dk,
  .mufy_ai_message_bubble .dk {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cw,
  .mufy_ai_message_bubble .cw {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .cd,
  .mufy_ai_message_bubble .cd {
    min-height: 56px !important;
  }

  .p,
  .phone,
  .mufy_ai_message_bubble .p,
  .mufy_ai_message_bubble .phone {
    max-width: 100% !important;
  }

  .s,
  .mufy_ai_message_bubble .s {
    padding: 14px 14px 14px 16px !important;
  }

  .s p,
  .mufy_ai_message_bubble .s p {
    font-size: 14px !important;
    text-indent: 1.5em !important;
  }

  .di,
  .mufy_ai_message_bubble .di {
    letter-spacing: 0.04em !important;
    font-size: 13px !important;
  }

  .m:active .tip,
  .kpi:active .tip,
  .tg:active .tip,
  .mufy_ai_message_bubble .m:active .tip,
  .mufy_ai_message_bubble .kpi:active .tip,
  .mufy_ai_message_bubble .tg:active .tip {
    display: block !important;
  }
}

/**
 * 《健身教练模拟器》· 平台壳层 · rili版本 · 涂鸦版 v1.0
 * 速写本贴纸 · 马克笔描边 · 与 涂鸦版/内置CSS 同系
 *
 * 用法：先贴 涂鸦版/内置CSS.css，再追加本文件
 * 配色：纸 #fffef5 · 墨 #1f1f1f · 青 #22c7d6 · 粉 #ff5a9a · 黄 #ffd84d
 * 主区背景：不盖死，保留平台底图
 */

/* ========== 主区：不强制深色底 ========== */
.w-full.h-full.relative.bg-background {
  color: #222 !important;
}

/* ========== 顶栏 + 涂鸦哑铃 ========== */
header.flex.h-12.items-center,
header.flex.items-center.justify-between,
header.flex.h-12.items-center.justify-between {
  position: relative !important;
  min-height: 54px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 12px !important;
  background: #fff9e8 !important;
  border-bottom: 2px solid #1f1f1f !important;
  box-shadow: 0 3px 0 rgba(31, 31, 31, 0.12) !important;
  font-family: "ZCOOL KuaiLe", "Ma Shan Zheng", "Segoe Print", "Comic Sans MS", "PingFang SC", cursive !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

header.flex.h-12.items-center::before,
header.flex.items-center.justify-between::before {
  content: "" !important;
  flex: 0 0 auto !important;
  width: 34px !important;
  height: 14px !important;
  margin-right: 2px !important;
  background:
    linear-gradient(#ff5a9a, #ff5a9a) left center / 8px 14px no-repeat,
    linear-gradient(#ff5a9a, #ff5a9a) right center / 8px 14px no-repeat,
    linear-gradient(#1f1f1f, #1f1f1f) center / 20px 3px no-repeat !important;
  border-radius: 1px !important;
  transform: rotate(-4deg) !important;
}

header.flex.h-12.items-center::after,
header.flex.items-center.justify-between::after {
  content: "COACH" !important;
  flex: 0 0 auto !important;
  margin-right: 8px !important;
  padding: 2px 8px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.22em !important;
  color: #1f1f1f !important;
  background: #ffd84d !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 12px 2px 12px 2px !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
  transform: rotate(1.5deg) !important;
}

.sticky.w-full.top-0.flex.items-center,
nav.sticky.top-0.w-full,
.sticky.top-0.w-full.z-50 {
  background: #fff9e8 !important;
  border-bottom: 2px solid #1f1f1f !important;
  box-shadow: 0 3px 0 rgba(31, 31, 31, 0.12) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

header.flex.h-12.items-center button,
header.flex.items-center.justify-between button,
header.flex.h-12.items-center a,
header.flex.items-center.justify-between a,
nav.sticky.top-0.w-full button,
.sticky.top-0.w-full.z-50 button {
  min-width: 36px !important;
  min-height: 34px !important;
  padding: 6px 8px !important;
  margin: 0 3px !important;
  border-radius: 2px 10px 2px 10px !important;
  border: 2px solid #1f1f1f !important;
  background: #fffef5 !important;
  color: #1f1f1f !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
  transition: background 0.15s ease, transform 0.15s ease !important;
}

header.flex.h-12.items-center button:hover,
header.flex.items-center.justify-between button:hover,
header.flex.h-12.items-center a:hover,
header.flex.items-center.justify-between a:hover,
nav.sticky.top-0.w-full button:hover,
.sticky.top-0.w-full.z-50 button:hover {
  background: #e8fbfd !important;
  border-color: #22c7d6 !important;
  color: #1f1f1f !important;
}

header.flex.h-12.items-center button svg,
header.flex.items-center.justify-between button svg,
nav.sticky.top-0.w-full button svg,
.sticky.top-0.w-full.z-50 button svg {
  width: 17px !important;
  height: 17px !important;
  color: currentColor !important;
  stroke: currentColor !important;
}

/* ========== 气泡：贴纸 ========== */
.is-user > div[class*="group-[.is-user]"],
.is-user [class*="group-[.is-user]:bg-secondary"],
.is-user [class*="group-[.is-user]:rounded-lg"],
.is-assistant > div[class*="group-[.is-assistant]"],
.is-assistant [class*="group-[.is-assistant]:bg-card"],
.is-assistant [class*="group-[.is-assistant]:rounded-lg"],
.is-assistant .border.border-muted {
  background: #fffef5 !important;
  background-color: #fffef5 !important;
  color: #1f1f1f !important;
  border: 2px solid #1f1f1f !important;
  border-left: 4px solid #22c7d6 !important;
  border-radius: 2px 12px 4px 10px !important;
  box-shadow: 3px 3px 0 rgba(31, 31, 31, 0.18) !important;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif !important;
  overflow: visible !important;
}

.is-user > div[class*="group-[.is-user]"],
.is-user [class*="group-[.is-user]:bg-secondary"],
.is-user [class*="group-[.is-user]:rounded-lg"] {
  border-left-color: #ff5a9a !important;
}

.group.scroll-mt-\[96px\].rounded-xl,
div.w-full.h-full.flex.group.rounded-xl {
  border-radius: 0 !important;
}

/* ========== 消息操作条 ========== */
div.bg-muted.rounded.flex,
.is-user ~ div .bg-muted.rounded.flex,
.is-assistant ~ div .bg-muted.rounded.flex,
div.flex.items-center.gap-1 .bg-muted.rounded.flex {
  background: #fff9e8 !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 2px 10px 2px 10px !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
  padding: 3px !important;
}

div.bg-muted.rounded.flex > button,
div.bg-muted.rounded.flex button {
  min-width: 30px !important;
  min-height: 28px !important;
  border-radius: 2px 8px 2px 8px !important;
  border: 2px solid transparent !important;
  background: transparent !important;
  color: #333 !important;
}

div.bg-muted.rounded.flex > button:hover,
div.bg-muted.rounded.flex button:hover,
div.bg-muted.rounded.flex button.hover\:bg-card\/80:hover {
  background: #ffd84d !important;
  border-color: #1f1f1f !important;
  color: #1f1f1f !important;
}

div.bg-muted.rounded.flex button svg {
  color: currentColor !important;
  stroke: currentColor !important;
}

/* ========== 底部输入台 ========== */
#prompt-input {
  position: relative !important;
  background: #fffef5 !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 4px 12px 4px 2px !important;
  box-shadow: 4px 4px 0 rgba(31, 31, 31, 0.2) !important;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif !important;
  overflow: visible !important;
  padding-top: 2px !important;
}

#prompt-input::before {
  content: "✎  DESK" !important;
  position: absolute !important;
  top: -10px !important;
  left: 18px !important;
  z-index: 3 !important;
  padding: 1px 8px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  color: #1f1f1f !important;
  background: #ffd84d !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 12px 2px 12px 2px !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
  pointer-events: none !important;
  transform: rotate(-1.5deg) !important;
}

#prompt-input::after {
  content: "今日开练" !important;
  position: absolute !important;
  top: -10px !important;
  right: 18px !important;
  z-index: 3 !important;
  padding: 1px 8px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: #1f1f1f !important;
  background: #22c7d6 !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 2px 10px 2px 10px !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
  pointer-events: none !important;
  transform: rotate(2deg) !important;
}

#prompt-input [data-slot="input-group"] {
  background: #fffef5 !important;
  border: 2px dashed #1f1f1f !important;
  border-radius: 2px 10px 2px 10px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

#prompt-input [data-slot="input-group"]:focus-within {
  border-style: solid !important;
  border-color: #22c7d6 !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
}

#prompt-input-header {
  background: #fff9e8 !important;
  color: #1f1f1f !important;
  border-bottom: 2px dashed #1f1f1f !important;
  padding: 10px !important;
  gap: 8px !important;
}

#prompt-input-header button {
  min-height: 30px !important;
  padding: 4px 11px !important;
  background: #fffef5 !important;
  color: #1f1f1f !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 2px 10px 2px 10px !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

#prompt-input-header button:hover {
  background: #ffe4f0 !important;
  border-color: #ff5a9a !important;
  color: #1f1f1f !important;
}

#prompt-input-header button svg {
  color: currentColor !important;
  stroke: currentColor !important;
}

#prompt-input [data-slot="input-group-control"],
#prompt-input textarea {
  background: transparent !important;
  color: #1f1f1f !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  min-height: 68px !important;
}

#prompt-input textarea::placeholder {
  color: #999 !important;
}

#prompt-input-footer {
  background: #fff9e8 !important;
  border-top: 2px dashed #1f1f1f !important;
  padding: 10px 12px !important;
  gap: 8px !important;
}

#prompt-input-footer button {
  min-height: 30px !important;
  border-radius: 2px 10px 2px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

#prompt-input-footer button:not([aria-label="发送"]) {
  background: #fffef5 !important;
  color: #333 !important;
  border: 2px solid #1f1f1f !important;
  padding: 4px 10px !important;
  box-shadow: 2px 2px 0 #1f1f1f !important;
}

#prompt-input-footer button:not([aria-label="发送"]):hover {
  border-color: #22c7d6 !important;
  color: #1f1f1f !important;
  background: #e8fbfd !important;
}

#prompt-input-footer button[aria-haspopup],
#prompt-input-footer button[data-state] {
  border-radius: 2px 10px 2px 10px !important;
  border-color: #1f1f1f !important;
  color: #1f1f1f !important;
  background: #fffef5 !important;
}

#prompt-input button[aria-label="发送"],
#prompt-input-footer button[aria-label="发送"] {
  min-width: 42px !important;
  min-height: 42px !important;
  background: #ff5a9a !important;
  color: #fff !important;
  border: 2px solid #1f1f1f !important;
  border-radius: 2px 12px 2px 12px !important;
  box-shadow: 3px 3px 0 #1f1f1f !important;
  font-weight: 800 !important;
}

#prompt-input button[aria-label="发送"]:hover,
#prompt-input-footer button[aria-label="发送"]:hover {
  background: #ffd84d !important;
  color: #1f1f1f !important;
}

#prompt-input button[aria-label="发送"] svg {
  color: currentColor !important;
  stroke: currentColor !important;
}

/* ========== 侧栏 ========== */
[data-sidebar="sidebar"],
.bg-sidebar {
  background: #fff9e8 !important;
  border-color: #1f1f1f !important;
  color: #333 !important;
}
