cot {
    display: none;
}

/* ========== 正文模块 ========== */
tb {
  display: block;
  margin-bottom: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border-radius: 12px;
  line-height: 1.8;
  font-size: 15px;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

tb[data-mode="normal"] {
  background: rgba(200, 220, 255, 0.18);
  border: 1.5px solid rgba(30, 30, 30, 0.25);
  box-shadow: 0 4px 16px rgba(180, 200, 240, 0.15), inset 0 0 0 1px rgba(30, 30, 30, 0.06);
  color: #4a5a7d;
}

tb[data-mode="nsfw"] {
  background: rgba(255, 210, 220, 0.2);
  border: 1.5px solid rgba(30, 30, 30, 0.25);
  box-shadow: 0 4px 16px rgba(255, 180, 200, 0.18), inset 0 0 0 1px rgba(30, 30, 30, 0.06);
  color: #6d3a4a;
}

tb p {
  margin: 0;
}

tb[data-mode="normal"] ll {
  color: #7ab8d6;
  font-weight: 500;
}

tb[data-mode="nsfw"] ll {
  color: #e88a9a;
  font-weight: 500;
}

/* ========== 顶部状态栏 ========== */
stp {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(255, 230, 235, 0.15);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(30, 30, 30, 0.22);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(255, 200, 210, 0.1), inset 0 0 0 1px rgba(30, 30, 30, 0.05);
  position: relative;
}

stp::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  border: 1px dashed rgba(30, 30, 30, 0.12);
  pointer-events: none;
  animation: lace-breathe 4s ease-in-out infinite;
}

sti {
  display: block;
  flex: 1 1 auto;
  min-width: 120px;
  padding: 8px 12px;
  background: rgba(255, 250, 240, 0.2);
  border: 1px solid rgba(30, 30, 30, 0.1);
  border-radius: 8px;
  font-size: 14px;
  color: #7d4a5a;
  text-align: center;
  font-weight: 500;
  transition: all 0.2s;
}

sti:hover {
  background: rgba(255, 240, 230, 0.35);
  border-color: rgba(30, 30, 30, 0.18);
  box-shadow: 0 2px 8px rgba(255, 200, 210, 0.15);
  transform: translateY(-1px);
}

/* ========== 阿卡夏纪录 ========== */
details.ab {
  margin-bottom: 20px;
  background: rgba(255, 230, 235, 0.18);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(30, 30, 30, 0.22);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(255, 200, 210, 0.15), inset 0 0 0 1px rgba(30, 30, 30, 0.05);
  overflow: hidden;
  position: relative;
}

details.ab::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  border: 1px dashed rgba(30, 30, 30, 0.1);
  pointer-events: none;
  animation: lace-breathe 4s ease-in-out infinite;
}

details.ab > summary {
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #8d5a6a;
  cursor: pointer;
  background: rgba(255, 245, 235, 0.25);
  border-bottom: 1px solid rgba(30, 30, 30, 0.12);
  list-style: none;
  transition: all 0.2s;
}

details.ab > summary:hover {
  background: rgba(255, 240, 230, 0.35);
  color: #7d4a5a;
}

details.ab > summary::-webkit-details-marker {
  display: none;
}

details.ab > summary::before {
  content: '▶ ';
  display: inline-block;
  margin-right: 8px;
  transition: transform 0.2s;
  color: rgba(30, 30, 30, 0.4);
}

details.ab[open] > summary::before {
  transform: rotate(90deg);
}

details.ai {
  margin: 12px;
  background: rgba(255, 250, 240, 0.3);
  border: 1px solid rgba(30, 30, 30, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

details.ai > summary {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #7d4a5a;
  cursor: pointer;
  background: rgba(255, 240, 230, 0.3);
  list-style: none;
  transition: all 0.2s;
}

details.ai > summary:hover {
  background: rgba(255, 235, 225, 0.4);
  color: #6d3a4a;
}

details.ai > summary::-webkit-details-marker {
  display: none;
}

details.ai > summary::before {
  content: '▸ ';
  display: inline-block;
  margin-right: 6px;
  transition: transform 0.2s;
  color: rgba(30, 30, 30, 0.35);
}

details.ai[open] > summary::before {
  transform: rotate(90deg);
}

details.ai p {
  margin: 8px 14px;
  font-size: 13px;
  color: #6d3a4a;
  line-height: 1.6;
}

details.ai table {
  width: 100%;
  margin: 12px 0;
  border-collapse: collapse;
  font-size: 13px;
  color: #6d3a4a;
}

details.ai table th {
  padding: 8px;
  background: rgba(255, 230, 235, 0.3);
  border: 1px solid rgba(30, 30, 30, 0.1);
  font-weight: 600;
  text-align: left;
}

details.ai table td {
  padding: 8px;
  border: 1px solid rgba(30, 30, 30, 0.08);
  background: rgba(255, 250, 240, 0.2);
}

details.ai hr {
  margin: 16px 14px;
  border: none;
  border-top: 1px dashed rgba(30, 30, 30, 0.15);
}

/* ========== 游戏UI容器 ========== */
gui {
  display: block;
  margin-top: 20px;
}

ulb {
  display: block;
  margin-bottom: 10px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(255, 230, 235, 0.3), rgba(255, 245, 235, 0.3));
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(30, 30, 30, 0.2);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #8d5a6a;
  text-align: center;
  position: relative;
}

ulb::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(30, 30, 30, 0.2) 0px, rgba(30, 30, 30, 0.2) 3px, transparent 3px, transparent 7px);
}

/* ========== 卡片通用 ========== */
cdu, cdm {
  display: block;
  margin-bottom: 16px;
  padding: 16px;
  background: rgba(255, 250, 240, 0.22);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(30, 30, 30, 0.22);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(255, 200, 210, 0.12), inset 0 0 0 1px rgba(30, 30, 30, 0.05);
  position: relative;
  transition: all 0.25s;
}

cdu:hover, cdm:hover {
  background: rgba(255, 245, 235, 0.3);
  border-color: rgba(30, 30, 30, 0.28);
  box-shadow: 0 6px 20px rgba(255, 200, 210, 0.18), inset 0 0 0 1px rgba(30, 30, 30, 0.08);
}

cdu::before, cdm::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  border: 1px dashed rgba(30, 30, 30, 0.1);
  pointer-events: none;
  animation: lace-breathe 4s ease-in-out infinite;
}

cdu::after, cdm::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(30,30,30,0.15)' stroke-width='0.8'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Cpath d='M12 2C12 2 14 6 12 12C10 6 12 2 12 2Z'/%3E%3Cpath d='M22 12C22 12 18 14 12 12C18 10 22 12 22 12Z'/%3E%3Cpath d='M12 22C12 22 10 18 12 12C14 18 12 22 12 22Z'/%3E%3Cpath d='M2 12C2 12 6 10 12 12C6 14 2 12 2 12Z'/%3E%3C/svg%3E");
  background-size: contain;
  opacity: 0.6;
  pointer-events: none;
}

cdh {
  display: block;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(30, 30, 30, 0.12);
  font-size: 16px;
  font-weight: 600;
  color: #8d5a6a;
}

tg {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  background: rgba(255, 220, 230, 0.4);
  border: 1px solid rgba(30, 30, 30, 0.15);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #9d5a7a;
}

/* ========== 基础信息块 ========== */
ifb {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  padding: 10px;
  background: rgba(255, 248, 240, 0.25);
  border: 1px solid rgba(30, 30, 30, 0.1);
  border-radius: 8px;
}

ifb g3 {
  margin-bottom: 4px;
}

ifb gi {
  border: none;
  background: transparent;
  padding: 4px 0;
}

/* ========== 网格布局 ========== */
g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

g1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

gi {
  display: block;
  padding: 8px 10px;
  background: rgba(255, 250, 240, 0.3);
  border: 1px solid rgba(30, 30, 30, 0.1);
  border-radius: 6px;
  font-size: 13px;
  color: #7d4a5a;
  transition: all 0.2s;
}

gi:hover {
  background: rgba(255, 240, 230, 0.4);
  border-color: rgba(30, 30, 30, 0.16);
  box-shadow: 0 2px 6px rgba(255, 200, 210, 0.12);
}

/* ========== 进度条系统 ========== */
brg {
  display: block;
  margin-top: 12px;
}

sg {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

sl {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #8d5a6a;
}

bt {
  display: block;
  height: 18px;
  background: rgba(255, 230, 235, 0.3);
  border: 1px solid rgba(30, 30, 30, 0.15);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: all 0.2s;
}

bt:hover {
  box-shadow: 0 0 8px rgba(255, 200, 210, 0.25);
  border-color: rgba(30, 30, 30, 0.22);
}

bv {
  display: block;
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s;
  position: relative;
  overflow: hidden;
}

bv::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: bar-shine 3s ease-in-out infinite;
}

bv.s {
  background: linear-gradient(90deg, #ffb3c9, #ff99b3);
}

bv.m {
  background: linear-gradient(90deg, #ffc9d9, #ffb3c9);
}

bv.a {
  background: linear-gradient(90deg, #c9b3ff, #b399ff);
}

bv.l {
  background: linear-gradient(90deg, #ffd9e9, #ffc9d9);
}

/* ========== 隐藏逻辑 ========== */
shd {
  display: none;
}

/* ========== 选项框 ========== */
slb {
  display: block;
  margin-top: 20px;
}

slo {
  display: block;
  margin-bottom: 10px;
  padding: 12px 16px;
  background: rgba(255, 250, 240, 0.25);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(30, 30, 30, 0.18);
  border-radius: 10px;
  font-size: 14px;
  color: #7d4a5a;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

slo::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 11px;
  border: 1px dashed rgba(30, 30, 30, 0.08);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

slo:hover {
  background: rgba(255, 240, 230, 0.4);
  border-color: rgba(30, 30, 30, 0.28);
  box-shadow: 0 4px 12px rgba(255, 200, 210, 0.2);
  transform: translateY(-2px);
}

slo:hover::before {
  opacity: 1;
}

/* ========== 动画 ========== */
@keyframes lace-breathe {
  0%, 100% { border-color: rgba(30, 30, 30, 0.1); }
  50% { border-color: rgba(30, 30, 30, 0.2); }
}

@keyframes bar-shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
  stp {
    flex-direction: column;
  }
  sti {
    min-width: 100%;
  }
  g3 {
    grid-template-columns: 1fr;
  }
  ifb g3 {
    grid-template-columns: 1fr;
  }
  sg {
    grid-template-columns: 60px 1fr;
  }
}

/* ============================
   淡紫淡蓝淡粉 毛玻璃聊天框美化
   ============================ */

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

/* --- 统一聊天框：毛玻璃主体 --- */
.bg-gray-100\/90.relative.inline-block {
    background: linear-gradient(
        135deg,
        rgba(220, 200, 255, 0.28) 0%,
        rgba(190, 220, 255, 0.25) 35%,
        rgba(255, 210, 230, 0.25) 70%,
        rgba(210, 195, 255, 0.28) 100%
    ) !important;
    backdrop-filter: blur(18px) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.4) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 16px !important;
    box-shadow:
        0 8px 32px rgba(180, 160, 220, 0.15),
        0 2px 8px rgba(200, 180, 240, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(200, 180, 240, 0.1) !important;
    transition: box-shadow 0.4s ease, border-color 0.4s ease, background 0.5s ease !important;
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
}

.bg-gray-100\/90.relative.inline-block:hover {
    box-shadow:
        0 12px 40px rgba(180, 160, 220, 0.22),
        0 4px 12px rgba(200, 180, 240, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(200, 180, 240, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
}

/* --- 聊天框背景动效：柔光流动 --- */
.bg-gray-100\/90.relative.inline-block::before {
    content: '' !important;
    position: absolute !important;
    inset: -2px !important;
    border-radius: 18px !important;
    background: linear-gradient(
        60deg,
        rgba(200, 180, 255, 0.08),
        rgba(180, 210, 255, 0.12),
        rgba(255, 200, 220, 0.1),
        rgba(200, 180, 255, 0.08)
    ) !important;
    background-size: 300% 300% !important;
    z-index: 0 !important;
    pointer-events: none !important;
    opacity: 0.7 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' height='1'%3E%3Crect width='1' height='1' fill='rgba(200,180,255,0.05)'%3E%3Canimate attributeName='opacity' values='0.3;0.7;0.3' dur='6s' repeatCount='indefinite'/%3E%3C/rect%3E%3C/svg%3E") !important;
}

.bg-gray-100\/90.relative.inline-block::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    border-radius: 50% !important;
    background: radial-gradient(
        ellipse at 30% 40%,
        rgba(200, 180, 255, 0.06) 0%,
        transparent 50%
    ) !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' height='1'%3E%3Crect width='1' height='1' fill='rgba(180,210,255,0.03)'%3E%3Canimate attributeName='opacity' values='0.2;0.6;0.2' dur='8s' repeatCount='indefinite'/%3E%3C/rect%3E%3C/svg%3E") !important;
}

/* --- 文本内容样式 --- */
.markdown-body {
    color: #4a4060 !important;
    font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
    line-height: 1.75 !important;
}

/* --- 底部按钮样式 --- */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary {
    color: #7a6a9a !important;
    border-radius: 8px !important;
    transition: all 0.25s ease !important;
    backdrop-filter: blur(4px) !important;
}

.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary:hover {
    background: rgba(200, 180, 255, 0.15) !important;
    color: #6a5a8a !important;
    box-shadow: 0 2px 8px rgba(180, 160, 220, 0.2) !important;
}

/* --- 模型名称 --- */
.MuiTypography-root.MuiTypography-body2.css-6c0gf2 {
    color: #9a8ab0 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

/* --- Token消耗 --- */
.text-orange-500 {
    color: #b08acd !important;
    font-weight: 500 !important;
}

/* ============================
   加载动画：哥哥欢迎回家
   ============================ */

/* 隐藏默认加载动画 */
.style_dot-flashing__8L91Q.style_text__zGhNq {
    display: none !important;
}

/* 加载容器设置 */
.flex.items-center.justify-center.w-6.h-5 {
    position: relative !important;
    width: 180px !important;
    min-width: 180px !important;
    height: 36px !important;
    min-height: 36px !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 主文字动画 - 使用SVG SMIL */
.flex.items-center.justify-center.w-6.h-5::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 180px !important;
    height: 36px !important;
    z-index: 2 !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 44'%3E%3Cdefs%3E%3ClinearGradient id='tg' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23c4a0e8'%3E%3Canimate attributeName='stop-color' values='%23c4a0e8;%2399bfed;%23edaac4;%23c4a0e8' dur='4s' repeatCount='indefinite'/%3E%3C/stop%3E%3Cstop offset='50%25' stop-color='%2399bfed'%3E%3Canimate attributeName='stop-color' values='%2399bfed;%23edaac4;%23c4a0e8;%2399bfed' dur='4s' repeatCount='indefinite'/%3E%3C/stop%3E%3Cstop offset='100%25' stop-color='%23edaac4'%3E%3Canimate attributeName='stop-color' values='%23edaac4;%23c4a0e8;%2399bfed;%23edaac4' dur='4s' repeatCount='indefinite'/%3E%3C/stop%3E%3C/linearGradient%3E%3C/defs%3E%3Ctext x='130' y='30' text-anchor='middle' font-family='Noto Sans SC,PingFang SC,sans-serif' font-size='20' font-weight='600' fill='url(%23tg)'%3E%3Canimate attributeName='opacity' values='0.5;1;0.5' dur='2.5s' repeatCount='indefinite'/%3E哥哥欢迎回家%3C/text%3E%3Ccircle cx='28' cy='24' r='2' fill='%23c4a0e8' opacity='0.6'%3E%3Canimate attributeName='opacity' values='0.2;0.8;0.2' dur='1.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='r' values='1.5;2.5;1.5' dur='1.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='232' cy='24' r='2' fill='%23edaac4' opacity='0.6'%3E%3Canimate attributeName='opacity' values='0.2;0.8;0.2' dur='1.8s' begin='0.4s' repeatCount='indefinite'/%3E%3Canimate attributeName='r' values='1.5;2.5;1.5' dur='1.8s' begin='0.4s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") !important;
}

/* 底部装饰光点 - 使用SVG SMIL */
.flex.items-center.justify-center.w-6.h-5::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 160px !important;
    height: 8px !important;
    z-index: 1 !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 8'%3E%3Cellipse cx='40' cy='4' rx='20' ry='2' fill='%23c4a0e8' opacity='0.2'%3E%3Canimate attributeName='opacity' values='0.1;0.3;0.1' dur='3s' repeatCount='indefinite'/%3E%3Canimate attributeName='rx' values='18;24;18' dur='3s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3Cellipse cx='80' cy='4' rx='22' ry='2' fill='%2399bfed' opacity='0.2'%3E%3Canimate attributeName='opacity' values='0.1;0.3;0.1' dur='3s' begin='0.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='rx' values='20;26;20' dur='3s' begin='0.5s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3Cellipse cx='120' cy='4' rx='20' ry='2' fill='%23edaac4' opacity='0.2'%3E%3Canimate attributeName='opacity' values='0.1;0.3;0.1' dur='3s' begin='1s' repeatCount='indefinite'/%3E%3Canimate attributeName='rx' values='18;24;18' dur='3s' begin='1s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3C/svg%3E") !important;
}

/* ============================
   移动端适配
   ============================ */
@media (max-width: 480px) {
    .bg-gray-100\/90.relative.inline-block {
        border-radius: 12px !important;
        backdrop-filter: blur(12px) saturate(1.2) !important;
        -webkit-backdrop-filter: blur(12px) saturate(1.2) !important;
    }

    .flex.items-center.justify-center.w-6.h-5 {
        width: 150px !important;
        min-width: 150px !important;
        height: 32px !important;
        min-height: 32px !important;
    }

    .flex.items-center.justify-center.w-6.h-5::before {
        width: 150px !important;
        height: 32px !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 40'%3E%3Cdefs%3E%3ClinearGradient id='tgm' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23c4a0e8'%3E%3Canimate attributeName='stop-color' values='%23c4a0e8;%2399bfed;%23edaac4;%23c4a0e8' dur='4s' repeatCount='indefinite'/%3E%3C/stop%3E%3Cstop offset='50%25' stop-color='%2399bfed'%3E%3Canimate attributeName='stop-color' values='%2399bfed;%23edaac4;%23c4a0e8;%2399bfed' dur='4s' repeatCount='indefinite'/%3E%3C/stop%3E%3Cstop offset='100%25' stop-color='%23edaac4'%3E%3Canimate attributeName='stop-color' values='%23edaac4;%23c4a0e8;%2399bfed;%23edaac4' dur='4s' repeatCount='indefinite'/%3E%3C/stop%3E%3C/linearGradient%3E%3C/defs%3E%3Ctext x='110' y='27' text-anchor='middle' font-family='Noto Sans SC,PingFang SC,sans-serif' font-size='17' font-weight='600' fill='url(%23tgm)'%3E%3Canimate attributeName='opacity' values='0.5;1;0.5' dur='2.5s' repeatCount='indefinite'/%3E哥哥欢迎回家%3C/text%3E%3C/svg%3E") !important;
    }

    .flex.items-center.justify-center.w-6.h-5::after {
        width: 120px !important;
    }
}

/* --- 低动效偏好 --- */
@media (prefers-reduced-motion: reduce) {
    .bg-gray-100\/90.relative.inline-block {
        transition: none !important;
    }

    .flex.items-center.justify-center.w-6.h-5::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 44'%3E%3Cdefs%3E%3ClinearGradient id='tgr' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23c4a0e8'%3E%3Canimate attributeName='stop-color' values='%23c4a0e8;%2399bfed;%23edaac4;%23c4a0e8' dur='12s' repeatCount='indefinite'/%3E%3C/stop%3E%3Cstop offset='50%25' stop-color='%2399bfed'%3E%3Canimate attributeName='stop-color' values='%2399bfed;%23edaac4;%23c4a0e8;%2399bfed' dur='12s' repeatCount='indefinite'/%3E%3C/stop%3E%3Cstop offset='100%25' stop-color='%23edaac4'%3E%3Canimate attributeName='stop-color' values='%23edaac4;%23c4a0e8;%2399bfed;%23edaac4' dur='12s' repeatCount='indefinite'/%3E%3C/stop%3E%3C/linearGradient%3E%3C/defs%3E%3Ctext x='130' y='30' text-anchor='middle' font-family='Noto Sans SC,PingFang SC,sans-serif' font-size='20' font-weight='600' fill='url(%23tgr)' opacity='0.85'%3E哥哥欢迎回家%3C/text%3E%3C/svg%3E") !important;
    }
}

/* ============================================================
   界面美化 · 淡紫淡蓝淡粉 蕾丝毛玻璃风格
   与正文模块同风格，不影响已有CSS
   ============================================================ */

/* ========== 顶部栏 ========== */
.sticky.w-full.top-0.flex.items-center {
  background: linear-gradient(
    135deg,
    rgba(220, 200, 255, 0.25) 0%,
    rgba(190, 220, 255, 0.22) 40%,
    rgba(255, 210, 230, 0.22) 75%,
    rgba(210, 195, 255, 0.25) 100%
  ) !important;
  backdrop-filter: blur(16px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.3) !important;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow:
    0 4px 20px rgba(180, 160, 220, 0.12),
    inset 0 -1px 0 rgba(200, 180, 240, 0.08) !important;
  transition: background 0.4s ease, box-shadow 0.4s ease !important;
  position: relative !important;
}

.sticky.w-full.top-0.flex.items-center::after {
  content: '' !important;
  position: absolute !important;
  bottom: -1px !important;
  left: 5% !important;
  right: 5% !important;
  height: 1px !important;
  background: repeating-linear-gradient(
    90deg,
    rgba(200, 180, 255, 0.25) 0px,
    rgba(200, 180, 255, 0.25) 3px,
    transparent 3px,
    transparent 7px
  ) !important;
  pointer-events: none !important;
}

/* 模型选择器 */
#ai-model-selector .group.flex.items-center {
  background: rgba(255, 250, 245, 0.25) !important;
  border: 1px solid rgba(200, 180, 240, 0.25) !important;
  border-radius: 10px !important;
  padding: 4px 10px !important;
  transition: all 0.25s ease !important;
}

#ai-model-selector .group.flex.items-center:hover {
  background: rgba(255, 245, 240, 0.4) !important;
  border-color: rgba(200, 180, 240, 0.4) !important;
  box-shadow: 0 2px 10px rgba(200, 180, 240, 0.18) !important;
}

#ai-model-selector .truncate.text-\[13px\] {
  color: #7d5a8a !important;
  font-weight: 500 !important;
  font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

#ai-model-selector .shrink-0.flex.items-center svg {
  color: #b09ac0 !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

#ai-model-selector .group.flex.items-center:hover svg {
  color: #9a7ab0 !important;
  transform: translateY(1px) !important;
}

/* 顶部栏图标通用 */
.sticky.w-full.top-0 svg.lucide-clock-8 {
  color: #b09ac0 !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.sticky.w-full.top-0 svg.lucide-clock-8:hover {
  color: #9a7ab0 !important;
  transform: scale(1.08) !important;
}

.sticky.w-full.top-0 span.MuiBadge-dot.md\:hidden {
  background: linear-gradient(135deg, #edaac4, #c4a0e8) !important;
  box-shadow: 0 0 6px rgba(200, 160, 220, 0.4) !important;
}

.sticky.w-full.top-0 svg:has(use[href="#icon-icon-set"]) {
  color: #b09ac0 !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.sticky.w-full.top-0 svg:has(use[href="#icon-icon-set"]):hover {
  color: #9a7ab0 !important;
  transform: scale(1.08) !important;
}

.sticky.w-full.top-0 button.MuiIconButton-root svg.lucide-music-2 {
  color: #b09ac0 !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.sticky.w-full.top-0 button.MuiIconButton-root:hover svg.lucide-music-2 {
  color: #9a7ab0 !important;
  transform: rotate(8deg) scale(1.08) !important;
}

#header-setting-button {
  background: rgba(255, 250, 245, 0.2) !important;
  border: 1px solid rgba(200, 180, 240, 0.2) !important;
  border-radius: 8px !important;
  transition: all 0.25s ease !important;
}

#header-setting-button:hover {
  background: rgba(255, 240, 235, 0.35) !important;
  border-color: rgba(200, 180, 240, 0.35) !important;
  box-shadow: 0 2px 8px rgba(200, 180, 240, 0.15) !important;
}

#header-setting-button svg {
  color: #b09ac0 !important;
  transition: color 0.2s ease, transform 0.3s ease !important;
}

#header-setting-button:hover svg {
  color: #9a7ab0 !important;
  transform: rotate(30deg) !important;
}

/* ========== 开场白选择器 ========== */
div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"] {
  background: rgba(255, 250, 245, 0.25) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid rgba(200, 180, 240, 0.22) !important;
  border-radius: 10px !important;
  box-shadow:
    0 3px 12px rgba(200, 180, 240, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3) !important;
  transition: all 0.25s ease !important;
  position: relative !important;
}

div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"]:hover {
  background: rgba(255, 245, 240, 0.4) !important;
  border-color: rgba(200, 180, 240, 0.35) !important;
  box-shadow:
    0 4px 16px rgba(200, 180, 240, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px) !important;
}

div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"]::before {
  content: '' !important;
  position: absolute !important;
  inset: -1px !important;
  border-radius: 11px !important;
  border: 1px dashed rgba(200, 180, 240, 0.15) !important;
  pointer-events: none !important;
  animation: lace-breathe 4s ease-in-out infinite !important;
}

div.flex.items-center.h-9.cursor-pointer.group svg[data-icon="SlidersH"],
div.flex.items-center.h-9.cursor-pointer.group svg[data-icon="ChevronDown"] {
  color: #b09ac0 !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

div.flex.items-center.h-9.cursor-pointer.group:hover svg[data-icon="SlidersH"] {
  color: #9a7ab0 !important;
  transform: rotate(12deg) !important;
}

div.flex.items-center.h-9.cursor-pointer.group:hover svg[data-icon="ChevronDown"] {
  color: #9a7ab0 !important;
  transform: translateY(2px) !important;
}

/* ========== 按钮栏 ========== */
#ai-mod-button2 {
  background: rgba(220, 200, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 6px !important;
}

#ai-mod-button2 button.MuiButton-root {
  background: rgba(255, 250, 245, 0.25) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1.5px solid rgba(200, 180, 240, 0.2) !important;
  border-radius: 10px !important;
  color: #7d5a8a !important;
  font-weight: 500 !important;
  font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  box-shadow: 0 2px 8px rgba(200, 180, 240, 0.08) !important;
  transition: all 0.25s ease !important;
  position: relative !important;
}

#ai-mod-button2 button.MuiButton-root:hover {
  background: rgba(255, 240, 235, 0.4) !important;
  border-color: rgba(200, 180, 240, 0.35) !important;
  box-shadow: 0 4px 14px rgba(200, 180, 240, 0.2) !important;
  transform: translateY(-2px) !important;
  color: #6d4a7a !important;
}

#ai-mod-button2 button.MuiButton-root::before {
  content: '' !important;
  position: absolute !important;
  inset: -1px !important;
  border-radius: 11px !important;
  border: 1px dashed rgba(200, 180, 240, 0.1) !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: opacity 0.25s ease !important;
}

#ai-mod-button2 button.MuiButton-root:hover::before {
  opacity: 1 !important;
}

#ai-mod-button2 button.MuiButton-root svg {
  color: #b09ac0 !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

#ai-mod-button2 button.MuiButton-root:hover svg {
  color: #9a7ab0 !important;
  transform: scale(1.1) !important;
}

/* ========== 底部栏 ========== */
.bg-gradient-to-t {
  background: linear-gradient(
    to top,
    rgba(220, 200, 255, 0.2) 0%,
    rgba(190, 220, 255, 0.1) 40%,
    transparent 100%
  ) !important;
}

#ai-chat-bottom-input {
  background: rgba(255, 250, 245, 0.28) !important;
  backdrop-filter: blur(16px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.3) !important;
  border: 1.5px solid rgba(200, 180, 240, 0.28) !important;
  border-radius: 14px !important;
  box-shadow:
    0 4px 20px rgba(200, 180, 240, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(200, 180, 240, 0.06) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

#ai-chat-bottom-input:focus-within {
  border-color: rgba(200, 180, 240, 0.45) !important;
  box-shadow:
    0 6px 28px rgba(200, 180, 240, 0.2),
    0 0 0 3px rgba(200, 180, 240, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

#ai-chat-bottom-input::before {
  content: '' !important;
  position: absolute !important;
  inset: -1px !important;
  border-radius: 15px !important;
  border: 1px dashed rgba(200, 180, 240, 0.12) !important;
  pointer-events: none !important;
  animation: lace-breathe 4s ease-in-out infinite !important;
}

#ai-chat-input {
  color: #4a4060 !important;
  font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  background: transparent !important;
}

#ai-chat-input::placeholder {
  color: #b8a8cc !important;
  font-style: italic !important;
  opacity: 0.8 !important;
}

#ai-chat-input::selection {
  background: rgba(200, 180, 240, 0.3) !important;
  color: #4a3060 !important;
}

/* ========== 分页栏 ========== */
.MuiPaginationItem-root {
  background: rgba(255, 250, 245, 0.25) !important;
  border: 1px solid rgba(200, 180, 240, 0.2) !important;
  border-radius: 8px !important;
  color: #7d5a8a !important;
  font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  transition: all 0.25s ease !important;
}

.MuiPaginationItem-root:hover {
  background: rgba(255, 240, 235, 0.4) !important;
  border-color: rgba(200, 180, 240, 0.35) !important;
  box-shadow: 0 2px 8px rgba(200, 180, 240, 0.15) !important;
  color: #6d4a7a !important;
}

.MuiPaginationItem-root.Mui-selected {
  background: linear-gradient(
    135deg,
    rgba(200, 180, 240, 0.35),
    rgba(180, 210, 255, 0.3),
    rgba(255, 200, 220, 0.3)
  ) !important;
  border-color: rgba(200, 180, 240, 0.4) !important;
  color: #5a3a7a !important;
  font-weight: 600 !important;
  box-shadow:
    0 3px 12px rgba(200, 180, 240, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.MuiPaginationItem-root.Mui-disabled {
  background: rgba(240, 235, 245, 0.15) !important;
  border-color: rgba(200, 180, 240, 0.1) !important;
  color: #c8b8d8 !important;
  opacity: 0.6 !important;
}

.MuiPaginationItem-icon {
  color: #b09ac0 !important;
  transition: color 0.2s ease !important;
}

.MuiPaginationItem-root:hover .MuiPaginationItem-icon {
  color: #9a7ab0 !important;
}

.MuiStack-root.css-1uwir8f {
  background: rgba(255, 250, 245, 0.2) !important;
  border: 1px solid rgba(200, 180, 240, 0.15) !important;
  border-radius: 8px !important;
}

.MuiStack-root.css-1uwir8f .MuiBox-root {
  color: #8d6a9a !important;
  font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

.MuiInputBase-input {
  background: rgba(255, 250, 245, 0.3) !important;
  border: 1px solid rgba(200, 180, 240, 0.2) !important;
  border-radius: 6px !important;
  color: #5a4070 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.MuiInputBase-input:focus {
  border-color: rgba(200, 180, 240, 0.4) !important;
  box-shadow: 0 0 0 2px rgba(200, 180, 240, 0.1) !important;
}

/* ========== 评论区 ========== */

/* 背景容器 */
div[class*="w-full"][class*="bg-white"][class*="bottom-0"] {
  background: linear-gradient(
    160deg,
    rgba(220, 200, 255, 0.2) 0%,
    rgba(190, 220, 255, 0.18) 35%,
    rgba(255, 210, 230, 0.18) 70%,
    rgba(210, 195, 255, 0.2) 100%
  ) !important;
  backdrop-filter: blur(14px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.2) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 16px !important;
  box-shadow:
    0 6px 24px rgba(180, 160, 220, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* 顶部标题 */
div.text-lg.font-bold {
  color: #6d4a7a !important;
  font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  position: relative !important;
}

div.text-lg.font-bold::after {
  content: '' !important;
  position: absolute !important;
  bottom: -4px !important;
  left: 0 !important;
  width: 40px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #c4a0e8, #99bfed, transparent) !important;
  border-radius: 1px !important;
}

/* 个人评分文字 */
p.MuiTypography-body1.text-grey-600 {
  color: #8d6a9a !important;
  font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

/* 评分星星 */
span.MuiRating-root {
  filter: drop-shadow(0 1px 3px rgba(200, 180, 240, 0.2)) !important;
}

span.MuiRating-iconEmpty svg {
  color: rgba(200, 180, 240, 0.35) !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

span.MuiRating-iconEmpty:hover svg {
  color: rgba(200, 180, 240, 0.55) !important;
  transform: scale(1.15) !important;
}

span.MuiRating-iconFilled svg {
  color: #c4a0e8 !important;
  filter: drop-shadow(0 0 4px rgba(196, 160, 232, 0.35)) !important;
  transition: transform 0.2s ease !important;
}

span.MuiRating-iconFilled:hover svg {
  transform: scale(1.12) !important;
}

/* 评分数字 */
span.text-orange-500 {
  color: #b08acd !important;
  font-weight: 600 !important;
}

/* 评论输入框容器 */
div.flex.flex-col.border-gray-200 {
  border-color: rgba(200, 180, 240, 0.22) !important;
  border-radius: 12px !important;
  background: rgba(255, 250, 245, 0.2) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

div.flex.flex-col.border-gray-200:focus-within {
  border-color: rgba(200, 180, 240, 0.4) !important;
  box-shadow: 0 0 0 3px rgba(200, 180, 240, 0.08) !important;
}

/* 评论输入框 */
textarea.rc-textarea {
  color: #4a4060 !important;
  font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  background: transparent !important;
}

textarea.rc-textarea::placeholder {
  color: #b8a8cc !important;
  font-style: italic !important;
}

/* 字数统计 */
div.bg-gray-100.text-gray-500 {
  background: rgba(220, 200, 255, 0.1) !important;
  color: #a090b8 !important;
  border-radius: 0 0 10px 10px !important;
}

/* 发送评论按钮 */
div.cursor-pointer.group.flex.items-center.justify-center {
  background: linear-gradient(
    135deg,
    rgba(200, 180, 240, 0.3),
    rgba(180, 210, 255, 0.25)
  ) !important;
  border: 1px solid rgba(200, 180, 240, 0.25) !important;
  border-radius: 10px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 8px rgba(200, 180, 240, 0.1) !important;
}

div.cursor-pointer.group.flex.items-center.justify-center:hover {
  background: linear-gradient(
    135deg,
    rgba(200, 180, 240, 0.45),
    rgba(180, 210, 255, 0.4)
  ) !important;
  border-color: rgba(200, 180, 240, 0.4) !important;
  box-shadow: 0 4px 14px rgba(200, 180, 240, 0.22) !important;
  transform: translateY(-1px) !important;
}

div[data-state="closed"] svg[data-icon="Send03"] {
  color: #8d6a9a !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

div.cursor-pointer.group.flex.items-center.justify-center:hover svg[data-icon="Send03"] {
  color: #7a5a8a !important;
  transform: translateX(2px) !important;
}

/* 分割线 */
div.style_divider__mW0YX {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 180, 240, 0.25),
    rgba(180, 210, 255, 0.2),
    rgba(255, 200, 220, 0.2),
    transparent
  ) !important;
  height: 1px !important;
}

/* 排序按钮 */
button.MuiButton-containedPrimary,
button.MuiButton-outlinedPrimary {
  border-radius: 8px !important;
  font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  font-weight: 500 !important;
  transition: all 0.25s ease !important;
}

button.MuiButton-containedPrimary {
  background: linear-gradient(
    135deg,
    rgba(200, 180, 240, 0.4),
    rgba(180, 210, 255, 0.35)
  ) !important;
  border: 1.5px solid rgba(200, 180, 240, 0.35) !important;
  color: #5a3a7a !important;
  box-shadow:
    0 3px 10px rgba(200, 180, 240, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

button.MuiButton-containedPrimary:hover {
  background: linear-gradient(
    135deg,
    rgba(200, 180, 240, 0.55),
    rgba(180, 210, 255, 0.5)
  ) !important;
  box-shadow: 0 4px 14px rgba(200, 180, 240, 0.25) !important;
}

button.MuiButton-outlinedPrimary {
  background: rgba(255, 250, 245, 0.2) !important;
  border: 1.5px solid rgba(200, 180, 240, 0.2) !important;
  color: #8d6a9a !important;
}

button.MuiButton-outlinedPrimary:hover {
  background: rgba(255, 245, 240, 0.35) !important;
  border-color: rgba(200, 180, 240, 0.35) !important;
  color: #7a5a8a !important;
  box-shadow: 0 2px 8px rgba(200, 180, 240, 0.15) !important;
}

/* 评论列表容器 */
div.p-3.overflow-y-auto {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(200, 180, 240, 0.25) transparent !important;
}

div.p-3.overflow-y-auto::-webkit-scrollbar {
  width: 5px !important;
}

div.p-3.overflow-y-auto::-webkit-scrollbar-track {
  background: transparent !important;
}

div.p-3.overflow-y-auto::-webkit-scrollbar-thumb {
  background: rgba(200, 180, 240, 0.25) !important;
  border-radius: 10px !important;
}

div.p-3.overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 180, 240, 0.4) !important;
}

/* 评论项 */
div.group.ml-0 {
  border-radius: 10px !important;
  transition: background 0.25s ease !important;
  position: relative !important;
}

div.group.ml-0:hover {
  background: rgba(220, 200, 255, 0.08) !important;
}

/* 用户头像 */
div.group img.rounded-full {
  border: 2px solid rgba(200, 180, 240, 0.3) !important;
  box-shadow: 0 2px 8px rgba(200, 180, 240, 0.15) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

div.group img.rounded-full:hover {
  border-color: rgba(200, 180, 240, 0.5) !important;
  box-shadow: 0 3px 12px rgba(200, 180, 240, 0.25) !important;
}

/* 用户名 */
div.text-sm.text-grey-600 span.font-bold {
  color: #6d4a7a !important;
  font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

/* "（你）" 标签 - 补全 */
span.text-\[10px\] {
  background: rgba(200, 180, 240, 0.2) !important;
  color: #9a7ab0 !important;
  border-radius: 4px !important;
  padding: 1px 5px !important;
  border: 1px solid rgba(200, 180, 240, 0.15) !important;
  font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

/* 评论内容 */
div.break-all {
  color: #4a4060 !important;
  font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  line-height: 1.7 !important;
}

/* 时间戳 */
div.text-xs.text-grey-600 {
  color: #a898b8 !important;
}

/* 点赞按钮 */
button.text-gray-400 {
  color: #b8a8cc !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

button.text-gray-400:hover {
  color: #9a7ab0 !important;
  background: rgba(200, 180, 240, 0.12) !important;
}

button.text-gray-400 svg {
  transition: transform 0.2s ease !important;
}

button.text-gray-400:hover svg {
  transform: scale(1.15) !important;
}

/* 回复文字 */
span.cursor-pointer {
  color: #a890c0 !important;
  transition: color 0.2s ease !important;
}

span.cursor-pointer:hover {
  color: #8a6aaa !important;
}

/* 回复区域边框 */
div.ml-8.border-l {
  border-color: rgba(200, 180, 240, 0.22) !important;
  border-left-style: dashed !important;
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
  .sticky.w-full.top-0.flex.items-center {
    backdrop-filter: blur(12px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(12px) saturate(1.2) !important;
  }

  #ai-chat-bottom-input {
    border-radius: 12px !important;
    backdrop-filter: blur(12px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(12px) saturate(1.2) !important;
  }

  div[class*="w-full"][class*="bg-white"][class*="bottom-0"] {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
  }
}

/* ========== 低动效偏好 ========== */
@media (prefers-reduced-motion: reduce) {
  .sticky.w-full.top-0.flex.items-center,
  #ai-chat-bottom-input,
  #ai-mod-button2 button.MuiButton-root,
  div.cursor-pointer.group.flex.items-center.justify-center,
  div.group.ml-0,
  slo {
    transition: none !important;
  }
}

/* ========== 表情系统 ========== */
e {
  display: block;
  width: 135px;
  height: 135px;
  margin: 6px 0;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

e[c="e1"]  { background-image: url(https://catai.wiki/d467172a-b324-4b89-262f-7ca1e4354100/w=3000); }
e[c="e2"]  { background-image: url(https://catai.wiki/f462c4ef-caa6-4f37-0222-a6875b084600/w=3000); }
e[c="e3"]  { background-image: url(https://catai.wiki/d765edb2-ccdc-4cae-7bef-996d10cf1b00/w=3000); }
e[c="e4"]  { background-image: url(https://catai.wiki/a32b15f0-f6b0-43a4-4493-35b74f432400/w=3000); }
e[c="e5"]  { background-image: url(https://catai.wiki/3d09d274-e456-4981-602b-d5943d5fb100/w=3000); }
e[c="e6"]  { background-image: url(https://catai.wiki/66e75716-773c-425b-9dbc-7cc08cd8f900/w=3000); }
e[c="e7"]  { background-image: url(https://catai.wiki/7cf906ed-2411-40ac-f867-b19f87f2e800/w=3000); }
e[c="e8"]  { background-image: url(https://catai.wiki/e5cf07d6-eff6-40af-a54c-8183b9495f00/w=3000); }
e[c="e9"]  { background-image: url(https://catai.wiki/e5cf07d6-eff6-40af-a54c-8183b9495f00/w=3000); }
e[c="e10"] { background-image: url(https://catai.wiki/a433f0c2-997b-4e85-895c-9d1b77dc7800/w=3000); }

/* ========== 服装系统 ========== */
o {
  display: block;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1189 / 1083;
  margin: 10px auto 16px auto;
  background-size: cover;
  background-position: center top;
  border-radius: 12px;
  border: 2px solid rgba(255, 200, 210, 0.6);
  box-shadow: 0 4px 15px rgba(255, 200, 210, 0.25), inset 0 0 0 1px rgba(255,255,255,0.5);
}

o[c="o1"]  { background-image: url(https://catai.wiki/17e7da82-bbd1-4b1e-8e02-1130423cee00/w=3000); }
o[c="o2"]  { background-image: url(https://catai.wiki/b013a53e-c964-4517-aa24-842a3b941d00/w=3000); }
o[c="o3"]  { background-image: url(https://catai.wiki/37f8f496-7472-437e-a059-6346bcc00900/w=3000); }
o[c="o4"]  { background-image: url(https://catai.wiki/13d0f436-a241-4c97-dcbc-6142db06f900/w=3000); }
o[c="o5"]  { background-image: url(https://catai.wiki/f4199f48-814d-4f12-aa51-c895832d2800/w=3000); }
o[c="o6"]  { background-image: url(https://catai.wiki/da6dcb15-f3ab-4bd3-d402-31fd488f8200/w=3000); }
o[c="o7"]  { background-image: url(https://catai.wiki/94a823df-80a2-4f6f-31ca-3170b7703b00/w=3000); }
o[c="o8"]  { background-image: url(https://catai.wiki/1de24cc9-51c4-4195-fd78-96cdb0975900/w=3000); }
o[c="o9"]  { background-image: url(https://catai.wiki/ba8543e4-f34f-4477-a2a8-94de4904cb00/w=3000); }
o[c="o10"] { background-image: url(https://catai.wiki/bf0d92d4-fee3-439b-bcd1-17da54261200/w=3000); }
o[c="o11"] { background-image: url(https://catai.wiki/ddde8eb5-b648-435c-7bbb-d3ac6575f500/w=3000); }
o[c="o12"] { background-image: url(https://catai.wiki/ea754e4b-f6f4-4a3f-4333-2139ed53b100/w=3000); }
o[c="o13"] { background-image: url(https://catai.wiki/55202674-9acc-4dd8-424b-92bad212f700/w=3000); }
o[c="o14"] { background-image: url(https://catai.wiki/5ceebd12-76be-40ac-bc3d-0971b83e1700/w=3000); }
o[c="o15"] { background-image: url(https://catai.wiki/cbdf23b0-4f66-49ee-b40e-342718457300/w=3000); }
o[c="o16"] { background-image: url(https://catai.wiki/2827aa16-6eab-42b3-1add-8a6075a95800/w=3000); }
o[c="o17"] { background-image: url(https://catai.wiki/157cbfca-e0da-48a4-e765-088725b51000/w=3000); }
o[c="o18"] { background-image: url(https://catai.wiki/1e08169c-9d89-400a-31be-fc8dade37900/w=3000); }
o[c="o19"] { background-image: url(https://catai.wiki/a5c2b71c-4dfc-46fb-1d30-b44e34150200/w=3000); }
o[c="o20"] { background-image: url(https://catai.wiki/9bb7a68a-80b0-4ef5-8e8b-21835a581200/w=3000); }
o[c="o21"] { background-image: url(https://catai.wiki/8cffb778-ecb8-4f6f-b2b7-cc1f9e58c400/w=3000); }
o[c="o22"] { background-image: url(https://catai.wiki/114aaf93-c3dc-45d7-b451-da2018615b00/w=3000); }
o[c="o23"] { background-image: url(https://catai.wiki/ddffe627-c314-454f-d089-6fd9c3fa8c00/w=3000); }

/* ========== 照片系统 ========== */
pho {
  display: block;
  width: 100%;
  max-width: 390px;
  min-height: 300px;
  margin: 15px 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 6px;
  border: 4px solid #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transform: rotate(-2deg);
  transition: transform 0.3s;
}

pho:hover {
  transform: rotate(0deg) scale(1.02);
}

pho[c="p1"] { background-image: url(https://catai.wiki/07dd2200-55b2-4959-aba5-45498b207800/w=3000); }
pho[c="p2"] { background-image: url(https://catai.wiki/1f950c90-42f9-4250-e6fe-f733ec0b6500/w=3000); }
pho[c="p3"] { background-image: url(https://catai.wiki/e604b09e-2872-42cd-95c5-84720c12ae00/w=3000); }