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: linear-gradient(135deg, rgba(100, 160, 220, 0.12), rgba(120, 190, 160, 0.12), rgba(130, 180, 230, 0.12));
  border: 1.5px solid rgba(60, 110, 170, 0.3);
  box-shadow: 0 4px 16px rgba(80, 140, 210, 0.2), inset 0 0 0 1px rgba(130, 180, 230, 0.15);
  color: #2c3e50;
}

tb[data-mode="nsfw"] {
  background: linear-gradient(135deg, rgba(255, 190, 100, 0.15), rgba(130, 180, 230, 0.15), rgba(255, 210, 130, 0.15));
  border: 1.5px solid rgba(220, 100, 80, 0.35);
  box-shadow: 0 4px 16px rgba(240, 130, 100, 0.25), inset 0 0 0 1px rgba(255, 190, 100, 0.2);
  color: #8b0000;
}

tb p {
  margin: 0;
}

tb[data-mode="normal"] ll {
  color: #2980b9;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(41, 128, 185, 0.3);
}

tb[data-mode="nsfw"] ll {
  color: #e74c3c;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(231, 76, 60, 0.3);
}

/* ========== 顶部状态栏 ========== */
stp {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(130, 180, 230, 0.15), rgba(120, 190, 160, 0.15), rgba(255, 220, 150, 0.15));
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(80, 130, 190, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(90, 150, 210, 0.2), inset 0 0 0 1px rgba(130, 180, 230, 0.12);
  position: relative;
}

stp::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  border: 1px dashed rgba(80, 140, 210, 0.25);
  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: linear-gradient(135deg, rgba(180, 210, 240, 0.2), rgba(170, 220, 190, 0.2));
  border: 1px solid rgba(100, 140, 180, 0.25);
  border-radius: 8px;
  font-size: 14px;
  color: #34495e;
  text-align: center;
  font-weight: 500;
  transition: all 0.2s;
}

sti:hover {
  background: linear-gradient(135deg, rgba(190, 220, 245, 0.35), rgba(180, 230, 200, 0.35));
  border-color: rgba(100, 140, 180, 0.4);
  box-shadow: 0 2px 8px rgba(100, 160, 220, 0.3);
  transform: translateY(-1px);
}

/* ========== 阿卡夏纪录 ========== */
details.ab {
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(130, 180, 230, 0.15), rgba(120, 190, 160, 0.15), rgba(255, 210, 160, 0.15));
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(80, 130, 190, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(90, 150, 210, 0.2), inset 0 0 0 1px rgba(130, 180, 230, 0.12);
  overflow: hidden;
  position: relative;
}

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

details.ab > summary {
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #1f618d;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(180, 210, 240, 0.25), rgba(170, 220, 190, 0.25));
  border-bottom: 1px solid rgba(80, 130, 190, 0.25);
  list-style: none;
  transition: all 0.2s;
}

details.ab > summary:hover {
  background: linear-gradient(135deg, rgba(190, 220, 245, 0.35), rgba(180, 230, 200, 0.35));
  color: #212f3d;
}

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(80, 130, 190, 0.5);
}

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

details.ai {
  margin: 12px;
  background: linear-gradient(135deg, rgba(200, 225, 250, 0.3), rgba(190, 235, 210, 0.3));
  border: 1px solid rgba(100, 140, 180, 0.25);
  border-radius: 8px;
  overflow: hidden;
}

details.ai > summary {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #34495e;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(200, 225, 250, 0.3), rgba(190, 235, 210, 0.3));
  list-style: none;
  transition: all 0.2s;
}

details.ai > summary:hover {
  background: linear-gradient(135deg, rgba(210, 230, 255, 0.4), rgba(210, 240, 220, 0.4));
  color: #212f3d;
}

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(80, 130, 190, 0.45);
}

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

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

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

details.ai table th {
  padding: 8px;
  background: linear-gradient(135deg, rgba(180, 210, 240, 0.3), rgba(170, 220, 190, 0.3));
  border: 1px solid rgba(100, 140, 180, 0.2);
  font-weight: 600;
  text-align: left;
}

details.ai table td {
  padding: 8px;
  border: 1px solid rgba(100, 140, 180, 0.15);
  background: linear-gradient(135deg, rgba(220, 235, 250, 0.2), rgba(210, 240, 220, 0.2));
}

details.ai hr {
  margin: 16px 14px;
  border: none;
  border-top: 1px dashed rgba(80, 130, 190, 0.25);
}

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

ulb {
  display: block;
  margin-bottom: 10px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(130, 180, 230, 0.3), rgba(120, 190, 160, 0.3), rgba(255, 220, 150, 0.3));
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(80, 130, 190, 0.35);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1f618d;
  text-align: center;
  position: relative;
}

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

/* ========== 卡片通用 ========== */
cdu, cdm {
  display: block;
  margin-bottom: 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(180, 210, 240, 0.18), rgba(170, 220, 190, 0.18), rgba(255, 230, 180, 0.18));
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(80, 130, 190, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(90, 150, 210, 0.18), inset 0 0 0 1px rgba(130, 180, 230, 0.12);
  position: relative;
  transition: all 0.25s;
}

cdu:hover, cdm:hover {
  background: linear-gradient(135deg, rgba(190, 220, 245, 0.25), rgba(180, 230, 200, 0.25), rgba(255, 240, 190, 0.25));
  border-color: rgba(80, 130, 190, 0.4);
  box-shadow: 0 6px 20px rgba(90, 150, 210, 0.25), inset 0 0 0 1px rgba(130, 180, 230, 0.18);
}

cdu::before, cdm::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  border: 1px dashed rgba(80, 140, 210, 0.2);
  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(80,130,190,0.25)' 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(80, 130, 190, 0.25);
  font-size: 16px;
  font-weight: 600;
  color: #1f618d;
}

tg {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  background: linear-gradient(135deg, rgba(160, 200, 240, 0.4), rgba(150, 210, 180, 0.4));
  border: 1px solid rgba(100, 140, 180, 0.3);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #d68910;
}

/* ========== 基础信息块 ========== */
ifb {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(210, 240, 220, 0.25), rgba(220, 235, 250, 0.25));
  border: 1px solid rgba(100, 140, 180, 0.2);
  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: linear-gradient(135deg, rgba(200, 225, 250, 0.3), rgba(190, 235, 210, 0.3));
  border: 1px solid rgba(100, 140, 180, 0.2);
  border-radius: 6px;
  font-size: 13px;
  color: #34495e;
  transition: all 0.2s;
}

gi:hover {
  background: linear-gradient(135deg, rgba(210, 230, 255, 0.4), rgba(210, 240, 220, 0.4));
  border-color: rgba(100, 140, 180, 0.3);
  box-shadow: 0 2px 6px rgba(100, 160, 220, 0.2);
}

/* ========== 进度条系统 ========== */
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: #1f618d;
}

bt {
  display: block;
  height: 18px;
  background: linear-gradient(135deg, rgba(180, 210, 240, 0.3), rgba(170, 220, 190, 0.3));
  border: 1px solid rgba(100, 140, 180, 0.25);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: all 0.2s;
}

bt:hover {
  box-shadow: 0 0 8px rgba(100, 160, 220, 0.35);
  border-color: rgba(100, 140, 180, 0.35);
}

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.4), transparent);
  animation: bar-shine 3s ease-in-out infinite;
}

bv.s {
  background: linear-gradient(90deg, #f5b041, #f39c12, #e67e22);
}

bv.m {
  background: linear-gradient(90deg, #f8c471, #f5b041, #eb984e);
}

bv.a {
  background: linear-gradient(90deg, #85c1e9, #5dade2, #3498db);
}

bv.l {
  background: linear-gradient(90deg, #a3e4d7, #76d7c4, #48c9b0);
}

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

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

slo {
  display: block;
  margin-bottom: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(200, 225, 250, 0.25), rgba(190, 235, 210, 0.25));
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(100, 140, 180, 0.28);
  border-radius: 10px;
  font-size: 14px;
  color: #34495e;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

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

slo:hover {
  background: linear-gradient(135deg, rgba(210, 230, 255, 0.4), rgba(210, 240, 220, 0.4));
  border-color: rgba(100, 140, 180, 0.4);
  box-shadow: 0 4px 12px rgba(100, 160, 220, 0.3);
  transform: translateY(-2px);
}

slo:hover::before {
  opacity: 1;
}
/* ========== 动画 ========== */
@keyframes lace-breathe {
  0%, 100% { border-color: rgba(80, 140, 210, 0.2); }
  50% { border-color: rgba(90, 150, 210, 0.4); }
}

@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(100, 160, 220, 0.28) 0%,
        rgba(120, 190, 160, 0.25) 35%,
        rgba(255, 190, 100, 0.25) 70%,
        rgba(100, 160, 220, 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(80, 130, 190, 0.35) !important;
    border-radius: 16px !important;
    box-shadow:
        0 8px 32px rgba(80, 130, 190, 0.2),
        0 2px 8px rgba(80, 130, 190, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(80, 130, 190, 0.15) !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(80, 130, 190, 0.28),
        0 4px 12px rgba(80, 130, 190, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(80, 130, 190, 0.2) !important;
    border-color: rgba(80, 130, 190, 0.45) !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(100, 160, 220, 0.08),
        rgba(120, 190, 160, 0.12),
        rgba(255, 190, 100, 0.1),
        rgba(100, 160, 220, 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(80,130,190,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(100, 160, 220, 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(120,190,160,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: #2c3e50 !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: #34495e !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(100, 160, 220, 0.2) !important;
    color: #212f3d !important;
    box-shadow: 0 2px 8px rgba(80, 130, 190, 0.25) !important;
}

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

/* --- Token消耗 --- */
.text-orange-500 {
    color: #d68910 !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='%235dade2'%3E%3Canimate attributeName='stop-color' values='%235dade2;%2348c9b0;%23f4d03f;%235dade2' dur='4s' repeatCount='indefinite'/%3E%3C/stop%3E%3Cstop offset='50%25' stop-color='%2348c9b0'%3E%3Canimate attributeName='stop-color' values='%2348c9b0;%23f4d03f;%235dade2;%2348c9b0' dur='4s' repeatCount='indefinite'/%3E%3C/stop%3E%3Cstop offset='100%25' stop-color='%23f4d03f'%3E%3Canimate attributeName='stop-color' values='%23f4d03f;%235dade2;%2348c9b0;%23f4d03f' 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='%235dade2' 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='%23f4d03f' 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='%235dade2' 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='%2348c9b0' 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='%23f4d03f' 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='%235dade2'%3E%3Canimate attributeName='stop-color' values='%235dade2;%2348c9b0;%23f4d03f;%235dade2' dur='4s' repeatCount='indefinite'/%3E%3C/stop%3E%3Cstop offset='50%25' stop-color='%2348c9b0'%3E%3Canimate attributeName='stop-color' values='%2348c9b0;%23f4d03f;%235dade2;%2348c9b0' dur='4s' repeatCount='indefinite'/%3E%3C/stop%3E%3Cstop offset='100%25' stop-color='%23f4d03f'%3E%3Canimate attributeName='stop-color' values='%23f4d03f;%235dade2;%2348c9b0;%23f4d03f' 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='%235dade2'%3E%3Canimate attributeName='stop-color' values='%235dade2;%2348c9b0;%23f4d03f;%235dade2' dur='12s' repeatCount='indefinite'/%3E%3C/stop%3E%3Cstop offset='50%25' stop-color='%2348c9b0'%3E%3Canimate attributeName='stop-color' values='%2348c9b0;%23f4d03f;%235dade2;%2348c9b0' dur='12s' repeatCount='indefinite'/%3E%3C/stop%3E%3Cstop offset='100%25' stop-color='%23f4d03f'%3E%3Canimate attributeName='stop-color' values='%23f4d03f;%235dade2;%2348c9b0;%23f4d03f' 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(100, 160, 220, 0.25) 0%,
    rgba(120, 190, 160, 0.22) 40%,
    rgba(255, 190, 100, 0.22) 75%,
    rgba(100, 160, 220, 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(80, 130, 190, 0.35) !important;
  box-shadow:
    0 4px 20px rgba(80, 130, 190, 0.18),
    inset 0 -1px 0 rgba(80, 130, 190, 0.1) !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(80, 130, 190, 0.25) 0px,
    rgba(80, 130, 190, 0.25) 3px,
    transparent 3px,
    transparent 7px
  ) !important;
  pointer-events: none !important;
}

/* 模型选择器 */
#ai-model-selector .group.flex.items-center {
  background: rgba(100, 160, 220, 0.15) !important;
  border: 1px solid rgba(80, 130, 190, 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(100, 160, 220, 0.25) !important;
  border-color: rgba(80, 130, 190, 0.4) !important;
  box-shadow: 0 2px 10px rgba(80, 130, 190, 0.2) !important;
}

#ai-model-selector .truncate.text-\[13px\] {
  color: #34495e !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: #1f618d !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

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

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

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

.sticky.w-full.top-0 span.MuiBadge-dot.md\:hidden {
  background: linear-gradient(135deg, #f4d03f, #5dade2) !important;
  box-shadow: 0 0 6px rgba(80, 130, 190, 0.4) !important;
}

.sticky.w-full.top-0 svg:has(use[href="#icon-icon-set"]) {
  color: #1f618d !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: #34495e !important;
  transform: scale(1.08) !important;
}

.sticky.w-full.top-0 button.MuiIconButton-root svg.lucide-music-2 {
  color: #1f618d !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: #34495e !important;
  transform: rotate(8deg) scale(1.08) !important;
}

#header-setting-button {
  background: rgba(100, 160, 220, 0.15) !important;
  border: 1px solid rgba(80, 130, 190, 0.2) !important;
  border-radius: 8px !important;
  transition: all 0.25s ease !important;
}

#header-setting-button:hover {
  background: rgba(100, 160, 220, 0.25) !important;
  border-color: rgba(80, 130, 190, 0.35) !important;
  box-shadow: 0 2px 8px rgba(80, 130, 190, 0.2) !important;
}

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

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

/* ========== 开场白选择器 ========== */
div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"] {
  background: rgba(100, 160, 220, 0.15) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid rgba(80, 130, 190, 0.25) !important;
  border-radius: 10px !important;
  box-shadow:
    0 3px 12px rgba(80, 130, 190, 0.15),
    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(100, 160, 220, 0.25) !important;
  border-color: rgba(80, 130, 190, 0.4) !important;
  box-shadow:
    0 4px 16px rgba(80, 130, 190, 0.22),
    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(80, 130, 190, 0.25) !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: #1f618d !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: #34495e !important;
  transform: rotate(12deg) !important;
}

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

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

#ai-mod-button2 button.MuiButton-root {
  background: rgba(100, 160, 220, 0.15) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1.5px solid rgba(80, 130, 190, 0.25) !important;
  border-radius: 10px !important;
  color: #34495e !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(80, 130, 190, 0.1) !important;
  transition: all 0.25s ease !important;
  position: relative !important;
}

#ai-mod-button2 button.MuiButton-root:hover {
  background: rgba(100, 160, 220, 0.25) !important;
  border-color: rgba(80, 130, 190, 0.4) !important;
  box-shadow: 0 4px 14px rgba(80, 130, 190, 0.22) !important;
  transform: translateY(-2px) !important;
  color: #212f3d !important;
}

#ai-mod-button2 button.MuiButton-root::before {
  content: '' !important;
  position: absolute !important;
  inset: -1px !important;
  border-radius: 11px !important;
  border: 1px dashed rgba(80, 130, 190, 0.15) !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: #1f618d !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

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

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

#ai-chat-bottom-input {
  background: rgba(100, 160, 220, 0.15) !important;
  backdrop-filter: blur(16px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.3) !important;
  border: 1.5px solid rgba(80, 130, 190, 0.3) !important;
  border-radius: 14px !important;
  box-shadow:
    0 4px 20px rgba(80, 130, 190, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(80, 130, 190, 0.08) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

#ai-chat-bottom-input:focus-within {
  border-color: rgba(80, 130, 190, 0.5) !important;
  box-shadow:
    0 6px 28px rgba(80, 130, 190, 0.25),
    0 0 0 3px rgba(80, 130, 190, 0.1),
    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(80, 130, 190, 0.2) !important;
  pointer-events: none !important;
  animation: lace-breathe 4s ease-in-out infinite !important;
}

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

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

#ai-chat-input::selection {
  background: rgba(100, 160, 220, 0.3) !important;
  color: #1a252f !important;
}

/* ========== 分页栏 ========== */
.MuiPaginationItem-root {
  background: rgba(100, 160, 220, 0.15) !important;
  border: 1px solid rgba(80, 130, 190, 0.25) !important;
  border-radius: 8px !important;
  color: #34495e !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(100, 160, 220, 0.25) !important;
  border-color: rgba(80, 130, 190, 0.4) !important;
  box-shadow: 0 2px 8px rgba(80, 130, 190, 0.2) !important;
  color: #212f3d !important;
}

.MuiPaginationItem-root.Mui-selected {
  background: linear-gradient(
    135deg,
    rgba(100, 160, 220, 0.35),
    rgba(120, 190, 160, 0.3),
    rgba(255, 190, 100, 0.3)
  ) !important;
  border-color: rgba(80, 130, 190, 0.45) !important;
  color: #154360 !important;
  font-weight: 600 !important;
  box-shadow:
    0 3px 12px rgba(80, 130, 190, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.MuiPaginationItem-root.Mui-disabled {
  background: rgba(100, 160, 220, 0.1) !important;
  border-color: rgba(80, 130, 190, 0.15) !important;
  color: #7f8c8d !important;
  opacity: 0.6 !important;
}

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

.MuiPaginationItem-root:hover .MuiPaginationItem-icon {
  color: #34495e !important;
}

.MuiStack-root.css-1uwir8f {
  background: rgba(100, 160, 220, 0.12) !important;
  border: 1px solid rgba(80, 130, 190, 0.2) !important;
  border-radius: 8px !important;
}

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

.MuiInputBase-input {
  background: rgba(100, 160, 220, 0.15) !important;
  border: 1px solid rgba(80, 130, 190, 0.25) !important;
  border-radius: 6px !important;
  color: #2c3e50 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.MuiInputBase-input:focus {
  border-color: rgba(80, 130, 190, 0.5) !important;
  box-shadow: 0 0 0 2px rgba(80, 130, 190, 0.15) !important;
}

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

/* 背景容器 */
div[class*="w-full"][class*="bg-white"][class*="bottom-0"] {
  background: linear-gradient(
    160deg,
    rgba(100, 160, 220, 0.2) 0%,
    rgba(120, 190, 160, 0.18) 35%,
    rgba(255, 190, 100, 0.18) 70%,
    rgba(100, 160, 220, 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(80, 130, 190, 0.3) !important;
  border-radius: 16px !important;
  box-shadow:
    0 6px 24px rgba(80, 130, 190, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* 顶部标题 */
div.text-lg.font-bold {
  color: #212f3d !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, #5dade2, #48c9b0, transparent) !important;
  border-radius: 1px !important;
}

/* 个人评分文字 */
p.MuiTypography-body1.text-grey-600 {
  color: #34495e !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(80, 130, 190, 0.25)) !important;
}

span.MuiRating-iconEmpty svg {
  color: rgba(80, 130, 190, 0.35) !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

span.MuiRating-iconEmpty:hover svg {
  color: rgba(80, 130, 190, 0.55) !important;
  transform: scale(1.15) !important;
}

span.MuiRating-iconFilled svg {
  color: #5dade2 !important;
  filter: drop-shadow(0 0 4px rgba(100, 160, 220, 0.4)) !important;
  transition: transform 0.2s ease !important;
}

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

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

/* 评论输入框容器 */
div.flex.flex-col.border-gray-200 {
  border-color: rgba(80, 130, 190, 0.25) !important;
  border-radius: 12px !important;
  background: rgba(100, 160, 220, 0.12) !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(80, 130, 190, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(80, 130, 190, 0.1) !important;
}

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

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

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

/* 发送评论按钮 */
div.cursor-pointer.group.flex.items-center.justify-center {
  background: linear-gradient(
    135deg,
    rgba(100, 160, 220, 0.3),
    rgba(120, 190, 160, 0.25)
  ) !important;
  border: 1px solid rgba(80, 130, 190, 0.3) !important;
  border-radius: 10px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 8px rgba(80, 130, 190, 0.15) !important;
}

div.cursor-pointer.group.flex.items-center.justify-center:hover {
  background: linear-gradient(
    135deg,
    rgba(100, 160, 220, 0.45),
    rgba(120, 190, 160, 0.4)
  ) !important;
  border-color: rgba(80, 130, 190, 0.45) !important;
  box-shadow: 0 4px 14px rgba(80, 130, 190, 0.28) !important;
  transform: translateY(-1px) !important;
}

div[data-state="closed"] svg[data-icon="Send03"] {
  color: #34495e !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: #212f3d !important;
  transform: translateX(2px) !important;
}

/* 分割线 */
div.style_divider__mW0YX {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(80, 130, 190, 0.25),
    rgba(120, 190, 160, 0.2),
    rgba(255, 190, 100, 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(100, 160, 220, 0.4),
    rgba(120, 190, 160, 0.35)
  ) !important;
  border: 1.5px solid rgba(80, 130, 190, 0.4) !important;
  color: #154360 !important;
  box-shadow:
    0 3px 10px rgba(80, 130, 190, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

button.MuiButton-containedPrimary:hover {
  background: linear-gradient(
    135deg,
    rgba(100, 160, 220, 0.55),
    rgba(120, 190, 160, 0.5)
  ) !important;
  box-shadow: 0 4px 14px rgba(80, 130, 190, 0.3) !important;
}

button.MuiButton-outlinedPrimary {
  background: rgba(100, 160, 220, 0.12) !important;
  border: 1.5px solid rgba(80, 130, 190, 0.25) !important;
  color: #34495e !important;
}

button.MuiButton-outlinedPrimary:hover {
  background: rgba(100, 160, 220, 0.25) !important;
  border-color: rgba(80, 130, 190, 0.4) !important;
  color: #212f3d !important;
  box-shadow: 0 2px 8px rgba(80, 130, 190, 0.2) !important;
}

/* 评论列表容器 */
div.p-3.overflow-y-auto {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(80, 130, 190, 0.3) 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(80, 130, 190, 0.3) !important;
  border-radius: 10px !important;
}

div.p-3.overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: rgba(80, 130, 190, 0.5) !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(100, 160, 220, 0.08) !important;
}

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

div.group img.rounded-full:hover {
  border-color: rgba(80, 130, 190, 0.6) !important;
  box-shadow: 0 3px 12px rgba(80, 130, 190, 0.3) !important;
}

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

/* "（你）" 标签 - 补全 */
span.text-\[10px\] {
  background: rgba(100, 160, 220, 0.2) !important;
  color: #34495e !important;
  border-radius: 4px !important;
  padding: 1px 5px !important;
  border: 1px solid rgba(80, 130, 190, 0.2) !important;
  font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

/* 评论内容 */
div.break-all {
  color: #2c3e50 !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: #1f618d !important;
}

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

button.text-gray-400:hover {
  color: #34495e !important;
  background: rgba(100, 160, 220, 0.15) !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: #1f618d !important;
  transition: color 0.2s ease !important;
}

span.cursor-pointer:hover {
  color: #34495e !important;
}

/* 回复区域边框 */
div.ml-8.border-l {
  border-color: rgba(80, 130, 190, 0.25) !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;
  }
}