/**
 * 《租了个京都大小姐回家过年》· Reply UI · v1.0 恋粉毛玻璃
 */

:root {
  --hm-font: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --hm-serif: "Songti SC", "Noto Serif SC", SimSun, serif;
  --hm-cream: #fff5f8;
  --hm-paper: #fff0f5;
  --hm-card: rgba(255, 252, 254, 0.82);
  --hm-ink: #5c3d4a;
  --hm-muted: #9a7a88;
  --hm-dim: #c4a8b4;
  --hm-coral: #e891a8;
  --hm-coral-soft: #f8d4e0;
  --hm-coral-deep: #d47284;
  --hm-wood: #e8b4c8;
  --hm-wood-soft: #f5d9e6;
  --hm-sage: #b08baa;
  --hm-sage-soft: #e8d4e8;
  --hm-line: rgba(212, 114, 132, 0.14);
  --hm-line-warm: rgba(232, 145, 168, 0.38);
  --hm-shadow: 0 8px 28px rgba(212, 114, 132, 0.12);
  --hm-radius: 10px;
  --hm-radius-sm: 6px;
  --hm-glass: rgba(255, 245, 248, 0.72);
  --hm-glass-border: rgba(255, 255, 255, 0.55);
  --hm-wx-bg: #f0e8ec;
  --hm-wx-name: #7a5a6e;
  --hm-wx-box: #faf5f7;
}

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

.mufy_ai_message_bubble {
  color: #5c3d4a !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 2px 0 !important;
  font-family: var(--hm-font) !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  max-width: 100% !important;
  overflow-x: clip !important;
}

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

.mufy_ai_message_bubble * {
  box-sizing: border-box;
}

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

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

redacted_thinking:not(:has(.thinking-body)),
.mufy_ai_message_bubble redacted_thinking:not(:has(.thinking-body)) {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

think,
.thinking,
reasoning,
[thinking] {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

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

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

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

details.home-think,
.mufy_ai_message_bubble details.home-think,
details.home-fold,
.mufy_ai_message_bubble details.home-fold {
  position: relative !important;
  display: block !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  background-color: #ffffff !important;
  background-image: linear-gradient(180deg, rgba(232, 145, 168, 0.06) 0%, transparent 32%) !important;
  border: 1px solid rgba(92, 61, 74, 0.12) !important;
  border-top: 3px solid #e891a8 !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 22px rgba(92, 61, 74, 0.1) !important;
  overflow: hidden !important;
}

details.home-think > summary,
details.home-fold > summary,
.mufy_ai_message_bubble details.home-think > summary,
.mufy_ai_message_bubble details.home-fold > summary {
  display: block !important;
  list-style: none !important;
  padding: 12px 36px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-align: center !important;
  color: #5c3d4a !important;
  background: linear-gradient(90deg, rgba(232, 180, 200, 0.18) 0%, rgba(232, 145, 168, 0.12) 50%, rgba(232, 180, 200, 0.15) 100%) !important;
  border: none !important;
  cursor: pointer !important;
}

details.home-think[open] > summary,
details.home-fold[open] > summary,
.mufy_ai_message_bubble details.home-think[open] > summary,
.mufy_ai_message_bubble details.home-fold[open] > summary {
  border-bottom: 1px solid rgba(92, 61, 74, 0.12) !important;
}

details.home-think > summary::after,
details.home-fold > summary::after,
.mufy_ai_message_bubble details.home-think > summary::after,
.mufy_ai_message_bubble details.home-fold > summary::after {
  content: "" !important;
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  width: 6px !important;
  height: 6px !important;
  margin-top: -4px !important;
  border-right: 2px solid #e891a8 !important;
  border-bottom: 2px solid #e891a8 !important;
  transform: rotate(45deg) !important;
  transition: transform 0.2s ease !important;
}

details.home-think[open] > summary::after,
details.home-fold[open] > summary::after,
.mufy_ai_message_bubble details.home-think[open] > summary::after,
.mufy_ai_message_bubble details.home-fold[open] > summary::after {
  transform: rotate(-135deg) !important;
  margin-top: -2px !important;
}

.home-think__body,
.mufy_ai_message_bubble .home-think__body {
  padding: 0 !important;
  background-color: transparent !important;
}

.home-think__line,
p.home-think__line,
.mufy_ai_message_bubble .home-think__line {
  margin: 0 !important;
  padding: 7px 10px !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
  color: #9a7a88 !important;
  font-family: Consolas, "Microsoft YaHei Mono", monospace !important;
  border-bottom: 1px dotted rgba(92, 61, 74, 0.12) !important;
}

.home-think__line:last-child,
.mufy_ai_message_bubble .home-think__line:last-child {
  border-bottom: none !important;
}

/* ========== 顶栏/手风琴 · details name 互斥 + 全宽 panel ========== */
.home-top,
div.home-top,
.mufy_ai_message_bubble .home-top {
  display: grid !important;
  grid-template-columns: 1fr 4fr !important;
  gap: 6px !important;
  padding: 10px !important;
  margin: 0 0 12px !important;
  background: rgba(255, 245, 248, 0.72) !important;
  background-color: rgba(255, 245, 248, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 28px rgba(212, 114, 132, 0.12) !important;
  backdrop-filter: blur(12px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.15) !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.home-acc,
div.home-acc,
.mufy_ai_message_bubble .home-acc {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 6px !important;
  padding: 10px !important;
  margin: 0 0 12px !important;
  background: rgba(255, 245, 248, 0.72) !important;
  background-color: rgba(255, 245, 248, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 28px rgba(212, 114, 132, 0.12) !important;
  backdrop-filter: blur(12px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.15) !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

details.home-top__item,
details.home-acc__item,
.mufy_ai_message_bubble details.home-top__item,
.mufy_ai_message_bubble details.home-acc__item {
  grid-row: 1 !important;
  align-self: start !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  min-width: 0 !important;
  overflow: visible !important;
}

details.home-top__item:nth-of-type(1),
.mufy_ai_message_bubble details.home-top__item:nth-of-type(1) {
  grid-column: 1 !important;
}

details.home-top__item:nth-of-type(2),
.mufy_ai_message_bubble details.home-top__item:nth-of-type(2) {
  grid-column: 2 !important;
}

details.home-acc__item:nth-of-type(1),
.mufy_ai_message_bubble details.home-acc__item:nth-of-type(1) {
  grid-column: 1 !important;
}

details.home-acc__item:nth-of-type(2),
.mufy_ai_message_bubble details.home-acc__item:nth-of-type(2) {
  grid-column: 2 !important;
}

details.home-acc__item:nth-of-type(3),
.mufy_ai_message_bubble details.home-acc__item:nth-of-type(3) {
  grid-column: 3 !important;
}

details.home-acc__item:nth-of-type(4),
.mufy_ai_message_bubble details.home-acc__item:nth-of-type(4) {
  grid-column: 4 !important;
}

summary.home-top__tab,
summary.home-acc__tab,
.mufy_ai_message_bubble summary.home-top__tab,
.mufy_ai_message_bubble summary.home-acc__tab {
  display: block !important;
  margin: 0 !important;
  padding: 9px 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
  color: #9a7a88 !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(92, 61, 74, 0.12) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  list-style: none !important;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}

summary.home-top__tab::after,
summary.home-acc__tab::after,
.mufy_ai_message_bubble summary.home-top__tab::after,
.mufy_ai_message_bubble summary.home-acc__tab::after {
  display: none !important;
  content: none !important;
}

details.home-top__item[open] > summary.home-top__tab,
details.home-acc__item[open] > summary.home-acc__tab,
.mufy_ai_message_bubble details.home-top__item[open] > summary.home-top__tab,
.mufy_ai_message_bubble details.home-acc__item[open] > summary.home-acc__tab {
  color: #ffffff !important;
  background: linear-gradient(135deg, #e891a8 0%, #d47284 50%, #e8b4c8 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 16px rgba(212, 114, 132, 0.4) !important;
}

.home-top__panel,
.home-acc__panel,
div.home-top__panel,
div.home-acc__panel,
.mufy_ai_message_bubble .home-top__panel,
.mufy_ai_message_bubble .home-acc__panel {
  box-sizing: border-box !important;
  margin-top: 6px !important;
  padding: 12px !important;
  background-color: #fff0f5 !important;
  border: 1px solid rgba(92, 61, 74, 0.08) !important;
  border-radius: 8px !important;
}

details.home-top__item:nth-of-type(1)[open] > .home-top__panel,
.mufy_ai_message_bubble details.home-top__item:nth-of-type(1)[open] > .home-top__panel {
  width: calc(500% + 6px) !important;
  max-width: calc(500% + 6px) !important;
  margin-left: 0 !important;
}

details.home-top__item:nth-of-type(2)[open] > .home-top__panel,
.mufy_ai_message_bubble details.home-top__item:nth-of-type(2)[open] > .home-top__panel {
  width: calc(125% + 6px) !important;
  max-width: calc(125% + 6px) !important;
  margin-left: calc(-25% - 6px) !important;
}

details.home-acc__item:nth-of-type(1)[open] > .home-acc__panel,
.mufy_ai_message_bubble details.home-acc__item:nth-of-type(1)[open] > .home-acc__panel {
  width: calc(400% + 18px) !important;
  max-width: calc(400% + 18px) !important;
  margin-left: 0 !important;
}

details.home-acc__item:nth-of-type(2)[open] > .home-acc__panel,
.mufy_ai_message_bubble details.home-acc__item:nth-of-type(2)[open] > .home-acc__panel {
  width: calc(400% + 18px) !important;
  max-width: calc(400% + 18px) !important;
  margin-left: calc(-100% - 6px) !important;
}

details.home-acc__item:nth-of-type(3)[open] > .home-acc__panel,
.mufy_ai_message_bubble details.home-acc__item:nth-of-type(3)[open] > .home-acc__panel {
  width: calc(400% + 18px) !important;
  max-width: calc(400% + 18px) !important;
  margin-left: calc(-200% - 12px) !important;
}

details.home-acc__item:nth-of-type(4)[open] > .home-acc__panel,
.mufy_ai_message_bubble details.home-acc__item:nth-of-type(4)[open] > .home-acc__panel {
  width: calc(400% + 18px) !important;
  max-width: calc(400% + 18px) !important;
  margin-left: calc(-300% - 18px) !important;
}

.home-acc__panel--mem details,
.mufy_ai_message_bubble .home-acc__panel details {
  margin: 0 0 10px !important;
  border: 1px solid rgba(92, 61, 74, 0.12) !important;
  border-radius: 8px !important;
  background-color: #ffffff !important;
  overflow: hidden !important;
}

.home-acc__panel details > summary,
.mufy_ai_message_bubble .home-acc__panel details > summary {
  padding: 9px 14px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #e8b4c8 !important;
  background-color: rgba(232, 180, 200, 0.1) !important;
  cursor: pointer !important;
}

.home-acc__panel details[open] > summary,
.mufy_ai_message_bubble .home-acc__panel details[open] > summary {
  border-bottom: 1px solid rgba(92, 61, 74, 0.12) !important;
}

.home-scene__body,
div.home-scene__body,
.mufy_ai_message_bubble .home-scene__body {
  padding: 0 !important;
  background-color: transparent !important;
}

.home-scene__line,
p.home-scene__line,
.mufy_ai_message_bubble .home-scene__line {
  margin: 0 0 6px !important;
  padding: 6px 10px !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #5c3d4a !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(92, 61, 74, 0.1) !important;
  border-left: 2px solid #e8b4c8 !important;
  border-radius: 4px !important;
  word-break: break-all !important;
}

.home-scene__line:last-child,
.mufy_ai_message_bubble .home-scene__line:last-child {
  margin-bottom: 0 !important;
}

status-top,
.mufy_ai_message_bubble status-top,
status-mid,
.mufy_ai_message_bubble status-mid,
status-bottom,
.mufy_ai_message_bubble status-bottom {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  max-width: 100% !important;
  overflow-x: clip !important;
}

status-top,
.mufy_ai_message_bubble status-top {
  margin-bottom: 12px !important;
}

status-mid,
.mufy_ai_message_bubble status-mid {
  margin: 12px 0 !important;
}

/* ========== 闺蜜朋友圈 · 独立折叠 ========== */
details.home-wx,
.mufy_ai_message_bubble details.home-wx {
  margin: 0 0 12px !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(92, 61, 74, 0.12) !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 22px rgba(92, 61, 74, 0.1) !important;
  overflow: hidden !important;
}

details.home-wx > summary.home-wx__head,
summary.home-wx__head,
.mufy_ai_message_bubble details.home-wx > summary.home-wx__head {
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  color: #d47284 !important;
  background: linear-gradient(90deg, rgba(245, 196, 188, 0.35) 0%, rgba(254, 245, 235, 0.95) 100%) !important;
  border-bottom: 1px solid rgba(232, 145, 168, 0.15) !important;
  cursor: pointer !important;
  list-style: none !important;
}

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

details.home-wx[open] > summary.home-wx__head,
.mufy_ai_message_bubble details.home-wx[open] > summary.home-wx__head {
  border-bottom-color: rgba(232, 145, 168, 0.25) !important;
}

/* ========== 行动建议 · 独立折叠 ========== */
details.home-tip,
.mufy_ai_message_bubble details.home-tip {
  margin: 0 !important;
  background: rgba(255, 245, 248, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 28px rgba(212, 114, 132, 0.12) !important;
  backdrop-filter: blur(12px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.15) !important;
  overflow: hidden !important;
}

details.home-tip > summary.home-tip__head,
summary.home-tip__head,
.mufy_ai_message_bubble details.home-tip > summary.home-tip__head {
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  color: #b08baa !important;
  background: linear-gradient(90deg, rgba(184, 212, 192, 0.4) 0%, rgba(254, 245, 235, 0.95) 100%) !important;
  border-bottom: 1px solid rgba(109, 155, 122, 0.2) !important;
  cursor: pointer !important;
  list-style: none !important;
}

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

details.home-tip[open] > summary.home-tip__head,
.mufy_ai_message_bubble details.home-tip[open] > summary.home-tip__head {
  border-bottom-color: rgba(109, 155, 122, 0.3) !important;
}

.home-tip__body,
div.home-tip__body,
.mufy_ai_message_bubble .home-tip__body {
  padding: 14px 12px 16px !important;
  background-color: #fff0f5 !important;
}

.home-board__body,
.mufy_ai_message_bubble .home-board__body {
  padding: 12px 14px 14px !important;
  background-color: #fff0f5 !important;
}

.home-board__line,
p.home-board__line,
.mufy_ai_message_bubble .home-board__line {
  margin: 0 0 8px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: #5c3d4a !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(92, 61, 74, 0.12) !important;
  border-left: 3px solid #e8b4c8 !important;
  border-radius: 6px !important;
}

.home-board__line:last-child,
.mufy_ai_message_bubble .home-board__line:last-child {
  margin-bottom: 0 !important;
}

.home-board__line--gap,
.mufy_ai_message_bubble .home-board__line--gap {
  border-left-color: #e891a8 !important;
}

.home-board__body location,
.mufy_ai_message_bubble .home-board__body location {
  color: #d47284 !important;
  font-weight: 600 !important;
}

.home-board__body time,
.mufy_ai_message_bubble .home-board__body time {
  color: #e8b4c8 !important;
  font-weight: 600 !important;
}

.home-board__body weather,
.mufy_ai_message_bubble .home-board__body weather {
  color: #b08baa !important;
}

.home-text,
div.home-text,
.mufy_ai_message_bubble .home-text,
.mufy_ai_message_bubble div.home-text {
  display: block !important;
  margin: 0 0 14px !important;
  padding: 20px 22px 24px !important;
  background: rgba(255, 252, 254, 0.78) !important;
  background-image: linear-gradient(180deg, rgba(255, 240, 245, 0.85) 0%, rgba(255, 252, 254, 0.72) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-left: 4px solid #e891a8 !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 28px rgba(212, 114, 132, 0.12) !important;
  backdrop-filter: blur(10px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.12) !important;
  text-align: left !important;
  color: #5c3d4a !important;
  line-height: 1.85 !important;
}

.home-text__head,
.mufy_ai_message_bubble .home-text__head {
  display: block !important;
  margin: 0 0 14px !important;
}

.story-tag,
span.story-tag,
.mufy_ai_message_bubble .story-tag {
  display: inline-block !important;
  padding: 3px 12px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  color: #d47284 !important;
  background-color: rgba(232, 145, 168, 0.1) !important;
  border: 1px solid rgba(232, 145, 168, 0.35) !important;
  border-radius: 20px !important;
}

.home-text p,
div.home-text p,
.mufy_ai_message_bubble .home-text p {
  display: block !important;
  margin: 0 0 1.1em !important;
  padding: 0 !important;
  text-indent: 2em !important;
  text-align: left !important;
  font-family: var(--hm-serif) !important;
  font-size: 15px !important;
  line-height: 1.95 !important;
  color: #5c3d4a !important;
  background: transparent !important;
}

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

status-bottom details details,
.mufy_ai_message_bubble status-bottom details details,
.profile-block,
div.profile-block,
.mufy_ai_message_bubble .profile-block {
  margin: 0 !important;
  padding: 0 !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

status-bottom details details > summary,
.profile-block__title,
p.profile-block__title,
.mufy_ai_message_bubble status-bottom details details > summary,
.mufy_ai_message_bubble .profile-block__title {
  margin: 0 !important;
  padding: 9px 14px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-align: left !important;
  color: #d47284 !important;
  background: linear-gradient(90deg, rgba(248, 212, 224, 0.35) 0%, rgba(255, 240, 245, 0.5) 100%) !important;
  border-bottom: 1px solid rgba(232, 145, 168, 0.12) !important;
  cursor: default !important;
}

.profile-basic,
div.profile-basic,
.mufy_ai_message_bubble .profile-basic {
  display: flex !important;
  flex-direction: row !important;
}

.profile-basic__info,
.mufy_ai_message_bubble .profile-basic__info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

item,
.mufy_ai_message_bubble item {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 8px 12px !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(92, 61, 74, 0.12) !important;
}

item:last-child,
.mufy_ai_message_bubble item:last-child {
  border-bottom: none !important;
}

item label,
.mufy_ai_message_bubble item label {
  flex-shrink: 0 !important;
  display: inline-block !important;
  padding: 2px 8px 3px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  color: #d47284 !important;
  background-color: rgba(232, 145, 168, 0.1) !important;
  border: 1px solid rgba(232, 145, 168, 0.35) !important;
  border-radius: 4px !important;
}

item value,
.mufy_ai_message_bubble item value {
  flex: 1 !important;
  min-width: 0 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: #5c3d4a !important;
  text-align: left !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

item:has(bar-container),
item:has(.bar-container),
.mufy_ai_message_bubble item:has(bar-container) {
  display: block !important;
}

item:has(bar-container) label,
.mufy_ai_message_bubble item:has(bar-container) label {
  display: inline-block !important;
  margin-bottom: 6px !important;
}

item.item-inner,
.mufy_ai_message_bubble item.item-inner {
  background-color: rgba(245, 196, 188, 0.15) !important;
  border-left: 3px solid #f8d4e0 !important;
  font-style: italic !important;
}

item.item-inner value,
.mufy_ai_message_bubble item.item-inner value {
  color: #d47284 !important;
}

bar-container,
.bar-container,
.mufy_ai_message_bubble bar-container,
.mufy_ai_message_bubble .bar-container {
  display: block !important;
  width: 100% !important;
  height: 7px !important;
  margin: 4px 0 6px !important;
  background-color: rgba(92, 61, 74, 0.08) !important;
  border: 1px solid rgba(92, 61, 74, 0.12) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

bar-fill,
.bar-fill,
.mufy_ai_message_bubble bar-fill,
.mufy_ai_message_bubble .bar-fill {
  display: block !important;
  height: 100% !important;
  min-width: 2% !important;
  max-width: 100% !important;
  font-size: 0 !important;
  border-radius: 3px !important;
}

bar-fill.favor,
.bar-fill.favor,
.mufy_ai_message_bubble bar-fill.favor,
.mufy_ai_message_bubble .bar-fill.favor {
  background-color: #e891a8 !important;
  background-image: linear-gradient(90deg, #d47284, #e891a8, #f8d4e0) !important;
}

bar-fill.yuri,
.bar-fill.yuri,
.mufy_ai_message_bubble bar-fill.yuri,
.mufy_ai_message_bubble .bar-fill.yuri {
  background-color: #e8b4c8 !important;
  background-image: linear-gradient(90deg, #d47284, #e8b4c8, #f8d4e0) !important;
}

bar-fill.expose,
.bar-fill.expose,
.mufy_ai_message_bubble bar-fill.expose,
.mufy_ai_message_bubble .bar-fill.expose {
  background-color: #e8b4c8 !important;
  background-image: linear-gradient(90deg, #d47284, #e8b4c8, #f8d4e0) !important;
}

bar-fill[style*="width:0"],
.bar-fill[style*="width:0"] {
  min-width: 0 !important;
}

.home-roster,
div.home-roster,
.mufy_ai_message_bubble .home-roster {
  padding: 6px 4px 10px !important;
  background-color: #fff0f5 !important;
}

.home-roster item label,
.mufy_ai_message_bubble .home-roster item label {
  color: #e8b4c8 !important;
  background-color: rgba(232, 180, 200, 0.12) !important;
  border-color: rgba(232, 180, 200, 0.35) !important;
}

.hero-card,
div.hero-card,
.mufy_ai_message_bubble .hero-card {
  padding: 0 !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(232, 145, 168, 0.1) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.hero-card__head,
div.hero-card__head,
.mufy_ai_message_bubble .hero-card__head {
  padding: 14px 16px 10px !important;
  background: linear-gradient(180deg, rgba(255, 240, 245, 0.95) 0%, #ffffff 100%) !important;
  border-bottom: 1px solid rgba(232, 145, 168, 0.08) !important;
}

.hero-card__name,
p.hero-card__name,
.mufy_ai_message_bubble .hero-card__name {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #5c3d4a !important;
}

.hero-card__gender,
span.hero-card__gender,
.mufy_ai_message_bubble .hero-card__gender {
  color: #e891a8 !important;
  font-size: 16px !important;
}

.hero-card__grid,
div.hero-card__grid,
.mufy_ai_message_bubble .hero-card__grid {
  padding: 4px 0 !important;
  border-bottom: 1px solid rgba(232, 145, 168, 0.08) !important;
}

.hero-card__bars,
div.hero-card__bars,
.mufy_ai_message_bubble .hero-card__bars {
  padding: 8px 0 !important;
  background-color: rgba(255, 240, 245, 0.45) !important;
  border-bottom: 1px solid rgba(232, 145, 168, 0.08) !important;
}

.hero-card__chips,
div.hero-card__chips,
.mufy_ai_message_bubble .hero-card__chips {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 12px 14px !important;
}

.hero-chip,
div.hero-chip,
.mufy_ai_message_bubble .hero-chip {
  flex: 1 1 calc(50% - 8px) !important;
  min-width: 120px !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
}

.hero-chip--blue,
.mufy_ai_message_bubble .hero-chip--blue {
  background-color: rgba(248, 212, 224, 0.35) !important;
  border: 1px solid rgba(232, 145, 168, 0.22) !important;
}

.hero-chip--pink,
.mufy_ai_message_bubble .hero-chip--pink {
  background-color: rgba(232, 145, 168, 0.12) !important;
  border: 1px solid rgba(232, 145, 168, 0.28) !important;
}

.hero-chip__label,
span.hero-chip__label,
.mufy_ai_message_bubble .hero-chip__label {
  display: block !important;
  margin-bottom: 4px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #9a7a88 !important;
}

.hero-chip--blue .hero-chip__label,
.mufy_ai_message_bubble .hero-chip--blue .hero-chip__label {
  color: #d47284 !important;
}

.hero-chip--pink .hero-chip__label,
.mufy_ai_message_bubble .hero-chip--pink .hero-chip__label {
  color: #d47284 !important;
}

.hero-chip__value,
span.hero-chip__value,
.mufy_ai_message_bubble .hero-chip__value {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #5c3d4a !important;
}

.hero-card__quote,
p.hero-card__quote,
.mufy_ai_message_bubble .hero-card__quote {
  margin: 0 !important;
  padding: 14px 16px !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  font-style: italic !important;
  color: #d47284 !important;
  background-color: rgba(245, 196, 188, 0.12) !important;
  border-top: 1px solid rgba(232, 145, 168, 0.15) !important;
  border-bottom: 1px solid rgba(232, 145, 168, 0.15) !important;
}

.home-intimate,
div.home-intimate,
.mufy_ai_message_bubble .home-intimate {
  margin: 0 !important;
  background-color: #ffffff !important;
}

.home-intimate__head,
p.home-intimate__head,
.mufy_ai_message_bubble .home-intimate__head {
  margin: 0 !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #d47284 !important;
  background: linear-gradient(90deg, rgba(245, 196, 188, 0.25) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
  border-top: 1px solid rgba(232, 145, 168, 0.2) !important;
}

.home-intimate__badge,
span.home-intimate__badge,
.mufy_ai_message_bubble .home-intimate__badge {
  display: inline-block !important;
  margin-left: 6px !important;
  padding: 1px 6px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background-color: #e891a8 !important;
  border-radius: 4px !important;
  vertical-align: middle !important;
}

.home-intimate__body,
div.home-intimate__body,
.mufy_ai_message_bubble .home-intimate__body {
  padding: 6px 0 !important;
}

item.intimate-item,
.mufy_ai_message_bubble item.intimate-item {
  align-items: stretch !important;
  padding: 8px 12px !important;
}

item.intimate-item label,
.mufy_ai_message_bubble item.intimate-item label {
  min-width: 44px !important;
  color: #ffffff !important;
  background-color: #e891a8 !important;
  border-color: #d47284 !important;
}

item.intimate-item value,
.mufy_ai_message_bubble item.intimate-item value {
  padding: 6px 10px !important;
  background-color: #fff0f5 !important;
  border: 1px solid rgba(92, 61, 74, 0.1) !important;
  border-radius: 6px !important;
}

.home-player__body,
div.home-player__body,
.mufy_ai_message_bubble .home-player__body {
  padding: 0 !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(232, 145, 168, 0.1) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.home-player__body .profile-block + .profile-block,
.mufy_ai_message_bubble .home-player__body .profile-block + .profile-block {
  border-top: 1px solid rgba(232, 145, 168, 0.08) !important;
}

.home-player__body item,
.mufy_ai_message_bubble .home-player__body item {
  border-bottom-color: rgba(232, 145, 168, 0.1) !important;
}

.hero-card details,
.home-player__body details,
.mufy_ai_message_bubble .hero-card details,
.mufy_ai_message_bubble .home-player__body details {
  margin: 8px 10px 10px !important;
  border: 1px solid rgba(92, 61, 74, 0.12) !important;
  border-radius: 6px !important;
  background-color: #fff0f5 !important;
  box-shadow: none !important;
}

.hero-card details > summary,
.home-player__body details > summary,
.mufy_ai_message_bubble .hero-card details > summary,
.mufy_ai_message_bubble .home-player__body details > summary {
  padding: 9px 14px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-align: left !important;
  color: #9a7a88 !important;
  background-color: rgba(254, 245, 235, 0.8) !important;
}

.hero-card details[open] > summary,
.home-player__body details[open] > summary,
.mufy_ai_message_bubble .hero-card details[open] > summary,
.mufy_ai_message_bubble .home-player__body details[open] > summary {
  border-bottom: 1px solid rgba(92, 61, 74, 0.12) !important;
}

status-bottom > details > details,
.mufy_ai_message_bubble status-bottom > details > details {
  margin: 8px 10px 10px !important;
  border: 1px solid rgba(92, 61, 74, 0.12) !important;
  border-radius: 6px !important;
  background-color: #fff0f5 !important;
  box-shadow: none !important;
}

status-bottom > details > details > summary,
.mufy_ai_message_bubble status-bottom > details > details > summary {
  padding: 9px 14px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #e8b4c8 !important;
  background-color: rgba(232, 180, 200, 0.1) !important;
  text-align: left !important;
  cursor: pointer !important;
}

status-bottom > details > details[open] > summary,
.mufy_ai_message_bubble status-bottom > details > details[open] > summary {
  border-bottom: 1px solid rgba(92, 61, 74, 0.12) !important;
}

item.mem-item,
.mufy_ai_message_bubble item.mem-item {
  background-color: #ffffff !important;
  border-left: 3px solid #e891a8 !important;
  margin: 0 8px 8px !important;
  border-radius: 6px !important;
}

item.mem-item--long,
.mufy_ai_message_bubble item.mem-item--long {
  border-left-color: #e8b4c8 !important;
  background-color: rgba(232, 180, 200, 0.06) !important;
}

item.mem-item:first-of-type,
.mufy_ai_message_bubble item.mem-item:first-of-type {
  margin-top: 8px !important;
}

.sticky-row,
div.sticky-row,
.mufy_ai_message_bubble .sticky-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 14px 12px 16px !important;
  background-color: #fff0f5 !important;
}

suggest.sticky-note,
.sticky-note,
.mufy_ai_message_bubble suggest.sticky-note {
  flex: 1 1 calc(33.333% - 8px) !important;
  min-width: 96px !important;
  max-width: 34% !important;
  margin: 0 !important;
  padding: 14px 12px 12px !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(92, 61, 74, 0.12) !important;
  border-top: 3px solid #e891a8 !important;
  border-radius: 6px !important;
  box-shadow: 0 3px 12px rgba(92, 61, 74, 0.08) !important;
}

.sticky-note--b,
.mufy_ai_message_bubble .sticky-note--b {
  border-top-color: #e8b4c8 !important;
}

.sticky-note--c,
.mufy_ai_message_bubble .sticky-note--c {
  border-top-color: #b08baa !important;
}

suggest.sticky-note option,
.sticky-note option,
.mufy_ai_message_bubble suggest.sticky-note option {
  display: block !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #5c3d4a !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

suggest.sticky-note desc,
.sticky-note desc,
.mufy_ai_message_bubble suggest.sticky-note desc {
  display: block !important;
  margin-top: 8px !important;
  font-size: 11.5px !important;
  line-height: 1.55 !important;
  color: #9a7a88 !important;
}

.wx-moments-panel,
div.wx-moments-panel,
.mufy_ai_message_bubble .wx-moments-panel {
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.phone-device,
div.phone-device,
.mufy_ai_message_bubble .phone-device {
  position: relative !important;
  max-width: 300px !important;
  margin: 0 auto !important;
  padding: 6px !important;
  background: linear-gradient(160deg, #3a3a3a, #1a1a1a) !important;
  border-radius: 32px !important;
  box-shadow: 0 14px 36px rgba(92, 61, 74, 0.2) !important;
}

.phone-island,
div.phone-island,
.mufy_ai_message_bubble .phone-island {
  position: absolute !important;
  top: 14px !important;
  left: 50% !important;
  z-index: 5 !important;
  width: 68px !important;
  height: 18px !important;
  margin-left: -34px !important;
  background: #0a0a0a !important;
  border-radius: 12px !important;
  pointer-events: none !important;
}

.phone-screen,
div.phone-screen,
.mufy_ai_message_bubble .phone-screen {
  border-radius: 26px !important;
  overflow: hidden !important;
  background: #f0e8ec !important;
}

.phone-statusbar,
div.phone-statusbar,
.mufy_ai_message_bubble .phone-statusbar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 26px 16px 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  background: #f0e8ec !important;
}

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

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

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

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

.wx-moments-nav,
div.wx-moments-nav,
.mufy_ai_message_bubble .wx-moments-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 14px 10px !important;
  background: #f0e8ec !important;
  border-bottom: 1px solid #d9d9d9 !important;
}

.wx-moments-nav__back,
.wx-moments-nav__cam,
.mufy_ai_message_bubble .wx-moments-nav__back,
.mufy_ai_message_bubble .wx-moments-nav__cam {
  font-size: 18px !important;
  color: #1a1a1a !important;
  line-height: 1 !important;
}

.wx-moments-nav__title,
span.wx-moments-nav__title,
.mufy_ai_message_bubble .wx-moments-nav__title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
}

.wx-moments-scroll,
div.wx-moments-scroll,
.mufy_ai_message_bubble .wx-moments-scroll {
  padding: 0 !important;
  background: #f0e8ec !important;
}

.wx-moment,
article.wx-moment,
.mufy_ai_message_bubble .wx-moment {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 14px 12px !important;
  background: #f0e8ec !important;
  border-bottom: 1px solid #d9d9d9 !important;
}

.wx-moment:last-child,
.mufy_ai_message_bubble .wx-moment:last-child {
  border-bottom: none !important;
}

.wx-moment__avatar,
div.wx-moment__avatar,
.mufy_ai_message_bubble .wx-moment__avatar {
  flex-shrink: 0 !important;
  width: 40px !important;
  height: 40px !important;
}

.wx-moment__avatar-char,
span.wx-moment__avatar-char,
.mufy_ai_message_bubble .wx-moment__avatar-char {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #e891a8, #d47284) !important;
  border-radius: 4px !important;
}

.wx-moment__body,
div.wx-moment__body,
.mufy_ai_message_bubble .wx-moment__body {
  flex: 1 !important;
  min-width: 0 !important;
}

.wx-moment__name,
p.wx-moment__name,
.mufy_ai_message_bubble .wx-moment__name {
  margin: 0 0 6px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #7a5a6e !important;
}

.wx-moment__text,
p.wx-moment__text,
.mufy_ai_message_bubble .wx-moment__text {
  margin: 0 0 8px !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #1a1a1a !important;
  word-break: break-word !important;
}

.wx-moment__pics,
p.wx-moment__pics,
.mufy_ai_message_bubble .wx-moment__pics {
  margin: 0 0 8px !important;
  padding: 8px 10px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #9a7a88 !important;
  background: #e8e8e8 !important;
  border-radius: 4px !important;
}

.wx-moment__meta,
p.wx-moment__meta,
.mufy_ai_message_bubble .wx-moment__meta {
  margin: 0 0 8px !important;
  font-size: 12px !important;
  color: #999 !important;
}

.wx-moment__box,
div.wx-moment__box,
.mufy_ai_message_bubble .wx-moment__box {
  padding: 6px 8px !important;
  background: #f7f7f7 !important;
  border-radius: 2px !important;
}

.wx-moment__likes,
p.wx-moment__likes,
.mufy_ai_message_bubble .wx-moment__likes {
  margin: 0 0 4px !important;
  padding-bottom: 4px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: #7a5a6e !important;
  border-bottom: 1px solid #e0e0e0 !important;
}

.wx-moment__cmt,
p.wx-moment__cmt,
.mufy_ai_message_bubble .wx-moment__cmt {
  margin: 4px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #1a1a1a !important;
}

.wx-moment__cmt strong,
.mufy_ai_message_bubble .wx-moment__cmt strong {
  color: #7a5a6e !important;
  font-weight: 600 !important;
}

/* ========== 千雪恋爱笔记 · 独立折叠 ========== */
details.home-note,
.mufy_ai_message_bubble details.home-note {
  margin: 0 0 12px !important;
  background: rgba(255, 245, 248, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 28px rgba(212, 114, 132, 0.12) !important;
  backdrop-filter: blur(12px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.15) !important;
  overflow: hidden !important;
}

details.home-note > summary.home-note__head,
summary.home-note__head,
.mufy_ai_message_bubble details.home-note > summary.home-note__head {
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  color: #d47284 !important;
  background: linear-gradient(90deg, rgba(248, 212, 224, 0.5) 0%, rgba(255, 240, 245, 0.9) 100%) !important;
  border-bottom: 1px solid rgba(232, 145, 168, 0.2) !important;
  cursor: pointer !important;
  list-style: none !important;
}

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

.home-note__panel,
div.home-note__panel,
.mufy_ai_message_bubble .home-note__panel {
  padding: 14px 16px 16px !important;
  background: rgba(255, 240, 245, 0.55) !important;
}

.note-entry,
article.note-entry,
.mufy_ai_message_bubble .note-entry {
  margin: 0 0 12px !important;
  padding: 12px 14px !important;
  background: rgba(255, 252, 254, 0.85) !important;
  border: 1px solid rgba(232, 145, 168, 0.2) !important;
  border-left: 3px solid #e891a8 !important;
  border-radius: 8px !important;
}

.note-entry:last-child,
.mufy_ai_message_bubble .note-entry:last-child {
  margin-bottom: 0 !important;
}

.note-entry__date,
p.note-entry__date,
.mufy_ai_message_bubble .note-entry__date {
  margin: 0 0 8px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  color: #e8b4c8 !important;
}

.note-entry__text,
p.note-entry__text,
.mufy_ai_message_bubble .note-entry__text {
  margin: 0 0 6px !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: #5c3d4a !important;
}

.note-entry__aside,
p.note-entry__aside,
.mufy_ai_message_bubble .note-entry__aside {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  font-style: italic !important;
  color: #d47284 !important;
}

/* ========== 记忆区 · 独立状态栏 ========== */
.home-mem,
div.home-mem,
.mufy_ai_message_bubble .home-mem {
  margin: 0 0 12px !important;
  background: rgba(255, 245, 248, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 28px rgba(212, 114, 132, 0.12) !important;
  backdrop-filter: blur(12px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.15) !important;
  overflow: hidden !important;
}

details.home-mem__fold,
.mufy_ai_message_bubble details.home-mem__fold {
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

details.home-mem__fold > summary.home-mem__head,
summary.home-mem__head,
.mufy_ai_message_bubble details.home-mem__fold > summary.home-mem__head {
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  color: #d47284 !important;
  background: linear-gradient(90deg, rgba(248, 212, 224, 0.45) 0%, rgba(255, 240, 245, 0.88) 100%) !important;
  border-bottom: 1px solid rgba(232, 145, 168, 0.18) !important;
  cursor: pointer !important;
  list-style: none !important;
}

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

.home-mem__panel,
div.home-mem__panel,
.mufy_ai_message_bubble .home-mem__panel {
  padding: 12px 14px 14px !important;
  background: rgba(255, 240, 245, 0.5) !important;
}

.home-mem__panel details,
.mufy_ai_message_bubble .home-mem__panel details {
  margin: 0 0 10px !important;
  border: 1px solid rgba(232, 145, 168, 0.18) !important;
  border-radius: 8px !important;
  background: rgba(255, 252, 254, 0.8) !important;
  overflow: hidden !important;
}

.home-mem__panel details > summary,
.mufy_ai_message_bubble .home-mem__panel details > summary {
  padding: 9px 14px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #e8b4c8 !important;
  background-color: rgba(248, 212, 224, 0.25) !important;
  cursor: pointer !important;
}

.home-mem__panel details[open] > summary,
.mufy_ai_message_bubble .home-mem__panel details[open] > summary {
  border-bottom: 1px solid rgba(232, 145, 168, 0.15) !important;
}

/* ========== 家族群聊 ========== */
.home-group,
div.home-group,
.mufy_ai_message_bubble .home-group {
  padding: 0 !important;
  background: transparent !important;
}

.home-group__nav,
div.home-group__nav,
.mufy_ai_message_bubble .home-group__nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 14px 10px !important;
  background: #f0e8ec !important;
  border-bottom: 1px solid #e0d4da !important;
}

.home-group__back,
.home-group__more,
.mufy_ai_message_bubble .home-group__back,
.mufy_ai_message_bubble .home-group__more {
  font-size: 18px !important;
  color: #5c3d4a !important;
  line-height: 1 !important;
}

.home-group__title,
span.home-group__title,
.mufy_ai_message_bubble .home-group__title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #5c3d4a !important;
}

.home-group__scroll,
div.home-group__scroll,
.mufy_ai_message_bubble .home-group__scroll {
  padding: 12px 10px !important;
  background: #f0e8ec !important;
  min-height: 120px !important;
}

.group-msg,
div.group-msg,
.mufy_ai_message_bubble .group-msg {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 0 14px !important;
}

.group-msg:last-child,
.mufy_ai_message_bubble .group-msg:last-child {
  margin-bottom: 0 !important;
}

.group-msg--right,
.mufy_ai_message_bubble .group-msg--right {
  flex-direction: row-reverse !important;
}

.group-msg__avatar,
span.group-msg__avatar,
.mufy_ai_message_bubble .group-msg__avatar {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #e891a8, #d47284) !important;
  border-radius: 4px !important;
}

.group-msg__body,
div.group-msg__body,
.mufy_ai_message_bubble .group-msg__body {
  flex: 1 !important;
  min-width: 0 !important;
  max-width: 78% !important;
}

.group-msg--right .group-msg__body,
.mufy_ai_message_bubble .group-msg--right .group-msg__body {
  display: flex !important;
  justify-content: flex-end !important;
}

.group-msg__name,
p.group-msg__name,
.mufy_ai_message_bubble .group-msg__name {
  margin: 0 0 4px !important;
  font-size: 11px !important;
  color: #9a7a88 !important;
}

.group-msg__bubble,
p.group-msg__bubble,
.mufy_ai_message_bubble .group-msg__bubble {
  display: inline-block !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: #5c3d4a !important;
  background: #ffffff !important;
  border-radius: 4px !important;
  word-break: break-word !important;
}

.group-msg__bubble--self,
p.group-msg__bubble--self,
.mufy_ai_message_bubble .group-msg__bubble--self {
  background: #f8d4e0 !important;
  color: #5c3d4a !important;
}

@media (max-width: 520px) {
  .mufy_ai_message_bubble {
    width: 100% !important;
    overflow-x: clip !important;
  }

  /* 手机：顶栏 2 列 · 手风琴 4 列横排 tab */
  .home-top,
  .mufy_ai_message_bubble .home-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
    gap: 4px !important;
    padding: 8px !important;
  }

  .home-acc,
  .mufy_ai_message_bubble .home-acc {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;
    padding: 8px !important;
  }

  details.home-top__item,
  details.home-top__item:nth-of-type(1),
  details.home-top__item:nth-of-type(2),
  .mufy_ai_message_bubble details.home-top__item,
  .mufy_ai_message_bubble details.home-top__item:nth-of-type(1),
  .mufy_ai_message_bubble details.home-top__item:nth-of-type(2) {
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
  }

  details.home-top__item:nth-of-type(1),
  .mufy_ai_message_bubble details.home-top__item:nth-of-type(1) {
    grid-column: 1 !important;
  }

  details.home-top__item:nth-of-type(2),
  .mufy_ai_message_bubble details.home-top__item:nth-of-type(2) {
    grid-column: 2 !important;
  }

  details.home-acc__item,
  details.home-acc__item:nth-of-type(1),
  details.home-acc__item:nth-of-type(2),
  details.home-acc__item:nth-of-type(3),
  details.home-acc__item:nth-of-type(4),
  .mufy_ai_message_bubble details.home-acc__item,
  .mufy_ai_message_bubble details.home-acc__item:nth-of-type(1),
  .mufy_ai_message_bubble details.home-acc__item:nth-of-type(2),
  .mufy_ai_message_bubble details.home-acc__item:nth-of-type(3),
  .mufy_ai_message_bubble details.home-acc__item:nth-of-type(4) {
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
  }

  details.home-acc__item:nth-of-type(1),
  .mufy_ai_message_bubble details.home-acc__item:nth-of-type(1) {
    grid-column: 1 !important;
  }

  details.home-acc__item:nth-of-type(2),
  .mufy_ai_message_bubble details.home-acc__item:nth-of-type(2) {
    grid-column: 2 !important;
  }

  details.home-acc__item:nth-of-type(3),
  .mufy_ai_message_bubble details.home-acc__item:nth-of-type(3) {
    grid-column: 3 !important;
  }

  details.home-acc__item:nth-of-type(4),
  .mufy_ai_message_bubble details.home-acc__item:nth-of-type(4) {
    grid-column: 4 !important;
  }

  /* panel 全宽：与桌面相同 calc 逻辑，按 gap 4px 调校 */
  details.home-top__item:nth-of-type(1)[open] > .home-top__panel,
  .mufy_ai_message_bubble details.home-top__item:nth-of-type(1)[open] > .home-top__panel {
    width: calc(500% + 4px) !important;
    max-width: calc(500% + 4px) !important;
    margin-left: 0 !important;
    max-height: min(48vh, 360px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  details.home-top__item:nth-of-type(2)[open] > .home-top__panel,
  .mufy_ai_message_bubble details.home-top__item:nth-of-type(2)[open] > .home-top__panel {
    width: calc(125% + 4px) !important;
    max-width: calc(125% + 4px) !important;
    margin-left: calc(-25% - 4px) !important;
    max-height: min(48vh, 360px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  details.home-acc__item:nth-of-type(1)[open] > .home-acc__panel,
  .mufy_ai_message_bubble details.home-acc__item:nth-of-type(1)[open] > .home-acc__panel {
    width: calc(400% + 12px) !important;
    max-width: calc(400% + 12px) !important;
    margin-left: 0 !important;
    max-height: min(48vh, 360px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  details.home-acc__item:nth-of-type(2)[open] > .home-acc__panel,
  .mufy_ai_message_bubble details.home-acc__item:nth-of-type(2)[open] > .home-acc__panel {
    width: calc(400% + 12px) !important;
    max-width: calc(400% + 12px) !important;
    margin-left: calc(-100% - 4px) !important;
    max-height: min(48vh, 360px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  details.home-acc__item:nth-of-type(3)[open] > .home-acc__panel,
  .mufy_ai_message_bubble details.home-acc__item:nth-of-type(3)[open] > .home-acc__panel {
    width: calc(400% + 12px) !important;
    max-width: calc(400% + 12px) !important;
    margin-left: calc(-200% - 8px) !important;
    max-height: min(48vh, 360px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  details.home-acc__item:nth-of-type(4)[open] > .home-acc__panel,
  .mufy_ai_message_bubble details.home-acc__item:nth-of-type(4)[open] > .home-acc__panel {
    width: calc(400% + 12px) !important;
    max-width: calc(400% + 12px) !important;
    margin-left: calc(-300% - 12px) !important;
    max-height: min(48vh, 360px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  summary.home-top__tab,
  summary.home-acc__tab,
  .mufy_ai_message_bubble summary.home-top__tab,
  .mufy_ai_message_bubble summary.home-acc__tab {
    font-size: 10px !important;
    padding: 8px 2px !important;
    line-height: 1.3 !important;
  }

  .home-acc__panel details,
  .mufy_ai_message_bubble .home-acc__panel details {
    margin: 0 0 8px !important;
  }

  item.mem-item,
  .mufy_ai_message_bubble item.mem-item {
    margin: 0 4px 8px !important;
  }

  .hero-card__chips,
  .mufy_ai_message_bubble .hero-card__chips {
    flex-direction: column !important;
  }

  .hero-chip,
  div.hero-chip,
  .mufy_ai_message_bubble .hero-chip {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }

  .home-text,
  div.home-text,
  .mufy_ai_message_bubble .home-text {
    padding: 16px 14px 18px !important;
  }

  suggest.sticky-note,
  .sticky-note,
  .mufy_ai_message_bubble suggest.sticky-note {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }

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

  #customized-answer-content,
  #customized-question-content,
  div[class*="relative"][class*="group"]:has(.mufy_ai_message_bubble) {
    max-width: 100% !important;
    overflow-x: clip !important;
  }
}

div[class*="overflow-y-auto"]:has(div.markdown-body),
div[class*="flex-1"]:has(div.markdown-body),
main:has(div.markdown-body) {
  background: transparent !important;
}

#customized-answer-content,
#customized-question-content,
div[class*="relative"][class*="group"]:has(.mufy_ai_message_bubble),
.mufy_user_message_bubble,
div[class*="justify-end"] > div[class*="bg-white"],
div[class*="justify-end"] > div[class*="rounded-lg"] {
  background: rgba(255, 245, 248, 0.65) !important;
  background-color: rgba(255, 245, 248, 0.65) !important;
  background-image: linear-gradient(
    180deg,
    rgba(255, 250, 252, 0.55) 0%,
    rgba(255, 240, 245, 0.4) 55%,
    rgba(232, 145, 168, 0.08) 100%
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(12px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.15) !important;
  box-shadow: 0 8px 28px rgba(212, 114, 132, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  padding: 12px 14px !important;
  margin: 10px 0 !important;
}

#customized-question-content,
.mufy_user_message_bubble,
div[class*="justify-end"] > div[class*="bg-white"] {
  border-left: 3px solid rgba(232, 145, 168, 0.5) !important;
  color: #5c3d4a !important;
}

#customized-answer-content,
div[class*="relative"][class*="group"]:has(.mufy_ai_message_bubble) {
  border-right: 3px solid rgba(232, 180, 200, 0.45) !important;
}

div[class*="bg-white"]:has(div.markdown-body),
#customized-answer-content > div[class*="bg-white"],
#customized-question-content > div[class*="bg-white"] {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#mufy_chat_header,
div#mufy_chat_header {
  background: linear-gradient(135deg, rgba(255, 245, 248, 0.96), rgba(255, 240, 245, 0.92)) !important;
  border-bottom: 1px solid rgba(232, 180, 200, 0.3) !important;
  backdrop-filter: blur(10px) !important;
}

#mufy_chat_input_container,
div#mufy_chat_input_container {
  background: linear-gradient(180deg, rgba(255, 240, 245, 0.5), rgba(255, 245, 248, 0.95)) !important;
  border-top: 1px solid rgba(232, 180, 200, 0.25) !important;
}

#ai-chat-bottom-input,
textarea#ai-chat-bottom-input {
  background: rgba(255, 252, 254, 0.88) !important;
  border: 1px solid rgba(232, 180, 200, 0.35) !important;
  border-radius: 12px !important;
  color: #5c3d4a !important;
}
