/* ═══ 全局字体再放大 ═══ */
html {
    font-size: 125% !important;  /* 默认16px → 20px，比之前更明显 */
}
/* ═══ B平台加载动画适配（自动注入）═══ */
.flex.items-center.justify-center.size-6 { opacity: 1 !important; }
.flex.items-center.justify-center.size-6 > .flex.gap-2 { display: none !important; }
.is-assistant.w-fit { width: 100% !important; }
.is-assistant > .border.border-muted:has(.flex.items-center.justify-center.size-6) {
  width: 100% !important; background: transparent !important;
  border: none !important; padding: 0 !important;
}
.is-assistant .space-y-3:has(.flex.items-center.justify-center.size-6) {
  display: flex; justify-content: center; width: 100%;
}

/* ═══ B平台表格修正（自动注入）═══ */
.rili-markdown-renderer table { display:table!important; table-layout:auto!important; width:100%!important; border-collapse:collapse!important; }
.rili-markdown-renderer table caption { display:table-caption!important; caption-side:top!important; text-align:center!important; padding:8px!important; }
.rili-markdown-renderer thead { display:table-header-group!important; }
.rili-markdown-renderer tbody { display:table-row-group!important; }
.rili-markdown-renderer tr { display:table-row!important; }
.rili-markdown-renderer th, .rili-markdown-renderer td { display:table-cell!important; }

/* ═══ B平台按钮组保护（自动注入 — 防止按钮消失）═══ */
.w-full.h-full.flex.group .bg-muted.rounded.flex.p-0\.5,
.is-user .bg-muted.rounded.flex.p-0\.5,
.is-assistant .bg-muted.rounded.flex.p-0\.5 {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  position: relative !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  pointer-events: auto !important;
  clip: auto !important;
  clip-path: none !important;
}
/* 单个按钮保护（合并定义） */
.w-full.h-full.flex.group .bg-muted.rounded.flex.p-0\.5 > button,
.is-user .bg-muted.rounded.flex.p-0\.5 > button,
.is-assistant .bg-muted.rounded.flex.p-0\.5 > button {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: relative !important;
  clip: auto !important;
  clip-path: none !important;
  color: #FF6E40 !important;
  font-weight: 900 !important;
  font-size: 0.85em !important;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  background: #FFFFFF !important;
  border: 2px solid #000000 !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2) !important;
}
/* hover显隐包装层保护 */
.flex.items-center.gap-1.ml-auto.md\:opacity-0.group-hover\:opacity-100 {
  visibility: visible !important;
  display: flex !important;
  pointer-events: auto !important;
  overflow: visible !important;
}
/* 操作行保护 */
.flex.w-full.items-center.justify-between.gap-2.px-2 {
  display: flex !important;
  visibility: visible !important;
  overflow: visible !important;
}

/* ═══ B平台顶部栏适配说明（自动注入）═══ */
header.flex.justify-between { position: relative; overflow: visible; }

/* ==================== 新粗犷主义 · 高亮金色主题多彩模块（完整版） ==================== */

/* 1. 全局容器 - 高亮金底 */
.status-bar-container {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFECB3 100%);
    border: 4px solid #FFD700;
    border-radius: 16px;
    padding: 16px;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: #1A1A1A;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.35), 8px 8px 0 rgba(255, 215, 0, 0.15);
}

/* 2. 卡片模块基础 */
.status-bar-container details {
    background: #FFFFFF;
    border: 3px solid #000000;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: visible;
    position: relative;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.status-bar-container details:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15), 7px 7px 0 rgba(0, 0, 0, 0.25);
}

/* 3. 标题栏基础样式 */
.status-bar-container summary {
    font-weight: 900;
    font-size: 0.9em;
    padding: 12px 18px 12px 22px;
    cursor: pointer;
    border: none;
    outline: none;
    list-style: none;
    position: relative;
    color: #000000;
    transition: all 0.3s ease;
    border-left: 6px solid transparent;
    border-bottom: 3px solid #000000;
}
.status-bar-container summary:hover {
    padding-left: 26px;
    letter-spacing: 0.5px;
    filter: brightness(1.1);
}

/* 右上角标签通用样式 */
.status-bar-container summary::after {
    position: absolute;
    top: -10px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 6px;
    border: 2px solid #000000;
    font-size: 0.7em;
    font-weight: 900;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.status-bar-container summary:hover::after {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
}

/* 4. 各模块精确配色 + 右上角标签 */
.scene-title { background: #FFEB3B; border-left-color: #FFC107; }
.scene-title::after { content: "SCENE"; background: #FFC107; color: #000000; }

.info-title { background: #FF4081; color: #FFFFFF; border-left-color: #F50057; }
.info-title::after { content: "YOU"; background: #F50057; color: #FFFFFF; }

.status-bar-container details:nth-of-type(3) summary.info-title {
    background: #00E676 !important;
    color: #000000 !important;
    border-left-color: #00C853 !important;
}
.status-bar-container details:nth-of-type(3) summary.info-title::after {
    content: "NPC" !important;
    background: #00C853 !important;
    color: #FFFFFF !important;
}

.phone-title { background: #00B0FF; color: #FFFFFF; border-left-color: #0091EA; }
.phone-title::after { content: "MSG"; background: #0091EA; color: #FFFFFF; }

.mem-title { background: #E040FB; color: #FFFFFF; border-left-color: #D500F9; }
.mem-title::after { content: "MEM"; background: #D500F9; color: #FFFFFF; }

.action-title { background: #FF6E40; color: #FFFFFF; border-left-color: #FF3D00; }
.action-title::after { content: "GO!"; background: #FF3D00; color: #FFFFFF; }

/* 5. 内容区 - 淡金色底 */
.scene-content, .info-content, .mem-content, .action-content {
    padding: 14px;
    background: #FFFEF7;
}

.status-bar-container p {
    padding: 8px 0;
    margin: 0;
    border-bottom: 2px dashed #FFE082;
    color: #2C2C2C;
    font-size: 0.85em;
    line-height: 1.7;
    transition: all 0.3s ease;
}
.status-bar-container p:last-child { border-bottom: none; }
.status-bar-container p:hover {
    background: linear-gradient(90deg, transparent 0%, #FFF9C4 50%, transparent 100%);
    padding-left: 12px;
    border-left: 4px solid #FFD700;
    transform: translateX(3px);
}

/* 6. 标签系统 - 多彩高饱和度 */
.tag-basic, .tag-sensual, .tag-blue, .tag-item, .tag-purple, .tag-yellow {
    padding: 4px 10px;
    border-radius: 6px;
    margin-right: 6px;
    font-weight: 900;
    font-size: 0.8em;
    border: 2px solid #000000;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}
.tag-basic { background: #FF6E40; color: #FFFFFF; }
.tag-basic:hover, .tag-basic:active { background: #FF3D00; transform: scale(1.2) rotate(-3deg); box-shadow: 0 4px 12px rgba(255, 61, 0, 0.6), 3px 3px 0 rgba(0, 0, 0, 0.4); }

.tag-sensual { background: #FF4081; color: #FFFFFF; }
.tag-sensual:hover, .tag-sensual:active { background: #F50057; transform: scale(1.2) rotate(3deg); box-shadow: 0 4px 12px rgba(245, 0, 87, 0.6), 3px 3px 0 rgba(0, 0, 0, 0.4); }

.tag-blue { background: #00B0FF; color: #FFFFFF; }
.tag-blue:hover, .tag-blue:active { background: #0091EA; transform: scale(1.2) rotate(-3deg); box-shadow: 0 4px 12px rgba(0, 145, 234, 0.6), 3px 3px 0 rgba(0, 0, 0, 0.4); }

.tag-item { background: #00E676; color: #000000; }
.tag-item:hover, .tag-item:active { background: #00C853; color: #FFFFFF; transform: scale(1.2) rotate(3deg); box-shadow: 0 4px 12px rgba(0, 200, 83, 0.6), 3px 3px 0 rgba(0, 0, 0, 0.4); }

.tag-purple { background: #E040FB; color: #FFFFFF; }
.tag-purple:hover, .tag-purple:active { background: #D500F9; transform: scale(1.2) rotate(-3deg); box-shadow: 0 4px 12px rgba(213, 0, 249, 0.6), 3px 3px 0 rgba(0, 0, 0, 0.4); }

.tag-yellow { background: #FFEB3B; color: #000000; }
.tag-yellow:hover, .tag-yellow:active { background: #FFD700; transform: scale(1.2) rotate(3deg); box-shadow: 0 4px 12px rgba(255, 215, 0, 0.6), 3px 3px 0 rgba(0, 0, 0, 0.4); }

.desc-text {
    color: #4A4A4A;
    font-weight: 500;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

/* 7. 记忆区表格 - 紫金配色 */
.mem-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.75em;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid #000000;
    margin: 10px 0;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}
.mem-table th {
    background: #E040FB;
    color: #FFFFFF;
    padding: 10px;
    text-align: left;
    font-weight: 900;
    border-bottom: 3px solid #000000;
    transition: all 0.3s ease;
    cursor: pointer;
}
.mem-table th:hover { background: #D500F9; transform: scale(1.02); }
.mem-table td {
    padding: 10px;
    border-bottom: 2px solid #FFF9C4;
    color: #2C2C2C;
    background: #FFFEF7;
    transition: all 0.3s ease;
}
.mem-table tr:last-child td { border-bottom: none; }
.mem-table tr:nth-child(even) td { background: #FFF9E6; }
.mem-table tr:hover td {
    background: #FFE082;
    transform: scale(1.01);
    box-shadow: inset 0 0 0 2px #FFD700;
}

/* 8. 手机UI - 蓝金配色（极致紧凑版） */
.phone-ui {
    background: #000000;
    border: 5px solid #FFD700;
    border-radius: 40px;
    margin: 0 auto;
    max-width: 340px;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4), 6px 6px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    padding: 2px; /* 从 8px 压缩到 2px */
    transition: all 0.3s ease;
}
.phone-ui:hover { transform: scale(1.03); box-shadow: 0 12px 32px rgba(255, 215, 0, 0.5), 8px 8px 0 rgba(0, 0, 0, 0.35); }

.phone-notch {
    position: absolute;
    top: 2px; /* 从 4px 减到 2px */
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 18px; /* 从 20px 减到 18px */
    background: #000000;
    border-radius: 9px;
    z-index: 20;
}

.phone-header {
    background: transparent;
    color: #FFD700;
    padding: 6px 12px 0; /* 从 8px 16px 2px 压缩 */
    font-size: 0.65em; /* 从 0.7em 缩小 */
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    z-index: 15;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}

.phone-screen {
    background: linear-gradient(135deg, #1A1A1A 0%, #000000 100%);
    padding: 28px 6px 14px; /* 从 35px 10px 20px 大幅压缩 */
    min-height: 420px;
    position: relative;
}

.notification-center {
    display: flex;
    flex-direction: column;
    gap: 8px; /* 从 10px 减到 8px */
}

.app-card {
    background: #FFFFFF;
    border-radius: 10px; /* 从 12px 减到 10px */
    padding: 8px; /* 从 10px 减到 8px */
    border: 3px solid #000000;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.app-card:hover, .app-card:active { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4), 5px 5px 0 rgba(0, 0, 0, 0.4); }

.app-card:nth-child(1) { border-color: #00E676; }
.app-card:nth-child(2) { border-color: #FF4081; }
.app-card:nth-child(3) { border-color: #00B0FF; }
.app-card:nth-child(4) { border-color: #E040FB; }
.app-card:nth-child(5) { border-color: #FFD700; }
.app-card:nth-child(6) { border-color: #FF6E40; }

.app-header {
    display: flex;
    align-items: center;
    margin-bottom: 6px; /* 从 8px 减到 6px */
    font-size: 0.72em; /* 从 0.75em 微调 */
}

.app-icon {
    font-size: 1.2em; /* 从 1.3em 缩小 */
    margin-right: 5px; /* 从 6px 减到 5px */
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.app-card:hover .app-icon, .app-card:active .app-icon { transform: rotate(20deg) scale(1.2); }

.app-name {
    font-weight: 900;
    color: #000000;
    flex-grow: 1;
    font-size: 0.95em;
}

.app-card:nth-child(1) .app-name { color: #00C853; }
.app-card:nth-child(2) .app-name { color: #F50057; }
.app-card:nth-child(3) .app-name { color: #0091EA; }
.app-card:nth-child(4) .app-name { color: #D500F9; }
.app-card:nth-child(5) .app-name { color: #F9A825; }
.app-card:nth-child(6) .app-name { color: #FF3D00; }

.app-time {
    color: #666666;
    font-size: 0.82em; /* 从 0.85em 缩小 */
    font-weight: 700;
}

.app-body {
    font-size: 0.78em; /* 从 0.8em 缩小 */
    color: #2C2C2C;
    line-height: 1.5; /* 从 1.6 缩小 */
}

.msg-item, .trend-item {
    margin-bottom: 5px; /* 从 6px 减到 5px */
    padding: 5px 0; /* 从 6px 减到 5px */
    border-bottom: 1px solid #F0F0F0;
    transition: all 0.3s ease;
    cursor: pointer;
}
.msg-item:hover, .trend-item:hover,
.msg-item:active, .trend-item:active {
    background: linear-gradient(90deg, transparent, #FFF9C4, transparent);
    padding-left: 8px;
    border-left: 3px solid #FFD700;
    transform: translateX(3px);
}
.msg-item:last-child, .trend-item:last-child { margin-bottom: 0; border-bottom: none; }

.sender {
    color: #FF6E40;
    font-weight: 900;
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}
.sender:hover, .sender:active {
    color: #FF3D00;
    text-shadow: 0 0 8px rgba(255, 61, 0, 0.6);
    transform: scale(1.08);
    display: inline-block;
}

.msg-text { color: #2C2C2C; }

.trend-tag {
    background: #FF4081;
    color: #FFFFFF;
    padding: 2px 6px; /* 从 2px 8px 缩小 */
    border-radius: 4px; /* 从 5px 减到 4px */
    font-size: 0.72em; /* 从 0.75em 缩小 */
    font-weight: 900;
    border: 2px solid #000000;
    margin-right: 5px; /* 从 6px 减到 5px */
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    display: inline-block;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}
.trend-tag:hover, .trend-tag:active {
    transform: scale(1.25) rotate(-8deg);
    box-shadow: 0 4px 12px rgba(245, 0, 87, 0.6);
    background: #F50057;
}

.phone-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 12px; /* 从 16px 减到 12px */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 15;
}

.home-indicator {
    width: 40%;
    height: 2px; /* 从 3px 减到 2px */
    background: #FFD700;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* 9. 行动推荐 - 橙色数字 */
.action-num {
    background: #FF6E40;
    color: #FFFFFF;
    border: 2px solid #000000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75em;
    font-weight: 900;
    margin-right: 8px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
}
.action-num:hover, .action-num:active {
    transform: scale(1.4) rotate(360deg);
    box-shadow: 0 4px 15px rgba(255, 61, 0, 0.7);
    background: #FF3D00;
}

/* 10. 正文叙事区 - 金色高亮 */
.narrative-text {
    display: block;
    background: linear-gradient(135deg, #FFFEF7 0%, #FFF9E6 100%);
    border: 4px solid #FFD700;
    border-radius: 12px;
    padding: 18px;
    margin: 14px 0;
    font-size: 0.9em;
    line-height: 1.8;
    color: #2C2C2C;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.3s ease;
}
.narrative-text:hover {
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.35), 6px 6px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
    border-color: #FFC107;
}

/* 11. 水平分隔线 */
hr {
    border: none;
    border-top: 3px dashed #FFD700;
    margin: 14px 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
hr:hover { opacity: 1; }

/* 12. 移动端触摸反馈 */
@media (hover: none) and (pointer: coarse) {
    .tag-basic:active,
    .tag-sensual:active,
    .tag-blue:active,
    .tag-item:active,
    .action-num:active,
    .trend-tag:active,
    .sender:active {
        animation: tap-pulse 0.3s ease;
    }
}

@keyframes tap-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* 13. 焦点状态优化 */
.status-bar-container details[open] {
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3), 6px 6px 0 rgba(0, 0, 0, 0.25);
}

/* ==================== 思维链模块样式 ==================== */

.thinking-chain {
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
    border: 3px solid #9E9E9E;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: visible;
    position: relative;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.thinking-chain:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 7px 7px 0 rgba(0, 0, 0, 0.2);
}

.thinking-chain > summary {
    font-weight: 900;
    font-size: 0.9em;
    padding: 12px 18px 12px 22px;
    cursor: pointer;
    border: none;
    outline: none;
    list-style: none;
    position: relative;
    color: #424242;
    transition: all 0.3s ease;
    border-left: 6px solid #757575;
    border-bottom: 3px solid #9E9E9E;
    background: linear-gradient(135deg, #EEEEEE 0%, #E0E0E0 100%);
}

.thinking-chain > summary:hover {
    padding-left: 26px;
    letter-spacing: 0.5px;
    filter: brightness(1.05);
}

.thinking-chain > summary::after {
    content: "THINK";
    position: absolute;
    top: -10px;
    right: 16px;
    background: #757575;
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 6px;
    border: 2px solid #424242;
    font-size: 0.7em;
    font-weight: 900;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.thinking-chain > summary:hover::after {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
}

.thinking-chain > summary + * {
    padding: 18px;
    background: #FAFAFA;
    color: #424242;
    font-size: 0.85em;
    line-height: 1.8;
}

.thinking-chain h1,
.thinking-chain h2,
.thinking-chain h3,
.thinking-chain h4 {
    color: #616161;
    font-weight: 900;
    margin: 16px 0 10px;
    padding-left: 12px;
    border-left: 4px solid #9E9E9E;
}

.thinking-chain h1 { font-size: 1.2em; }
.thinking-chain h2 { font-size: 1.1em; }
.thinking-chain h3 { font-size: 1em; }
.thinking-chain h4 { font-size: 0.95em; }

.thinking-chain ul,
.thinking-chain ol {
    margin: 12px 0;
    padding-left: 24px;
}

.thinking-chain li {
    margin-bottom: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed #E0E0E0;
    transition: all 0.3s ease;
}

.thinking-chain li:last-child { border-bottom: none; }

.thinking-chain li:hover {
    background: linear-gradient(90deg, transparent 0%, #F5F5F5 50%, transparent 100%);
    padding-left: 8px;
    border-left: 3px solid #9E9E9E;
    transform: translateX(2px);
}

.thinking-chain code {
    background: #E0E0E0;
    color: #424242;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    border: 1px solid #BDBDBD;
}

.thinking-chain pre {
    background: #EEEEEE;
    border: 2px solid #BDBDBD;
    border-radius: 8px;
    padding: 14px;
    overflow-x: auto;
    margin: 12px 0;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.thinking-chain pre code {
    background: none;
    border: none;
    padding: 0;
}

.thinking-chain input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #757575;
}

.thinking-chain hr {
    border: none;
    border-top: 2px dashed #BDBDBD;
    margin: 16px 0;
    opacity: 0.6;
}

.thinking-chain p {
    margin: 10px 0;
    padding: 6px 0;
    transition: all 0.3s ease;
}

.thinking-chain p:hover {
    background: linear-gradient(90deg, transparent 0%, #F5F5F5 50%, transparent 100%);
    padding-left: 10px;
    border-left: 3px solid #9E9E9E;
    transform: translateX(2px);
}

.thinking-chain strong,
.thinking-chain b {
    color: #424242;
    font-weight: 900;
    background: #E0E0E0;
    padding: 2px 6px;
    border-radius: 4px;
}

.thinking-chain em,
.thinking-chain i {
    color: #616161;
    font-style: italic;
}

.thinking-chain[open] {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 6px 6px 0 rgba(0, 0, 0, 0.2);
    border-color: #757575;
}

.thinking-chain table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9em;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #BDBDBD;
    margin: 12px 0;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.thinking-chain table th {
    background: #E0E0E0;
    color: #424242;
    padding: 10px;
    text-align: left;
    font-weight: 900;
    border-bottom: 2px solid #BDBDBD;
}

.thinking-chain table td {
    padding: 10px;
    border-bottom: 1px solid #EEEEEE;
    color: #424242;
    background: #FAFAFA;
}

.thinking-chain table tr:last-child td { border-bottom: none; }
.thinking-chain table tr:nth-child(even) td { background: #F5F5F5; }
.thinking-chain table tr:hover td { background: #E8E8E8; }

.thinking-chain blockquote {
    border-left: 4px solid #9E9E9E;
    padding-left: 16px;
    margin: 12px 0;
    color: #616161;
    font-style: italic;
    background: #F5F5F5;
    padding: 12px 12px 12px 16px;
    border-radius: 4px;
}

@media (hover: none) and (pointer: coarse) {
    .thinking-chain > summary:active { animation: tap-pulse 0.3s ease; }
}

/* ==================== B平台聊天框样式（已改为新粗犷主义高亮金色主题） ==================== */

/* 统一聊天框基础样式 */
.is-user > .border.border-muted,
.is-assistant > .border.border-muted {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFECB3 100%) !important;
    border: 3px solid #000000 !important;
    border-radius: 12px !important;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.2) !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
}

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

/* 聊天框内主要文本内容 */
.rili-markdown-renderer {
    color: #1A1A1A !important;
    line-height: 1.6 !important;
    font-size: 1.1em !important;  /* 正文字体放大 */
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
}

/* 模型名称文本 */
.flex.items-center.gap-2.text-xs.font-mono.text-muted-foreground {
    color: #FF6E40 !important;
    font-weight: 900 !important;
    font-size: 0.85em !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
    text-shadow: 1px 1px 0 #000000 !important;
}

/* 单独的输入聊天框（可选更深色调以区分） */
.is-user > .border.border-muted {
    background: linear-gradient(135deg, #FFFEF7 0%, #FFE082 100%) !important;
    border-left: 6px solid #FFD700 !important;
    border: 3px solid #000000 !important;
}

/* 隐藏默认加载元素 */
.style-module__AtdJSq__dot-flashing.style-module__AtdJSq__text {
    display: none !important;
}

/* 自定义加载动画容器 */
.flex.items-center.justify-center.size-6 {
    position: relative !important;
    min-height: 24px !important;
}

/* 自定义加载动画 - SMIL SVG方案（金色） */
.flex.items-center.justify-center.size-6::before {
    content: '' !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="none" stroke="%23FFD700" stroke-width="3"><animate attributeName="stroke-dasharray" values="0,63;63,0" dur="1.2s" repeatCount="indefinite"/><animateTransform attributeName="transform" type="rotate" from="0 12 12" to="360 12 12" dur="1.2s" repeatCount="indefinite"/></circle></svg>') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .is-user > .border.border-muted,
    .is-assistant > .border.border-muted {
        border-radius: 10px !important;
        border-width: 2px !important;
    }
    
    .flex.items-center.justify-center.size-6::before {
        width: 18px !important;
        height: 18px !important;
    }
}

/* 低动效偏好适配 */
@media (prefers-reduced-motion: reduce) {
    .flex.items-center.justify-center.size-6::before {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="none" stroke="%23FFD700" stroke-width="3"><animate attributeName="opacity" values="0.3;1;0.3" dur="2s" repeatCount="indefinite"/></circle></svg>') !important;
    }
}

/* ========== 顶部栏相关（金色粗野主义） ========== */
header.flex.justify-between {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFECB3 100%) !important;
    border-bottom: 4px solid #000000 !important;
    box-shadow: 0 4px 0 rgba(0,0,0,0.2) !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
}

/* 模型选择器容器 */
#nav-middle .group.flex.items-center {
    background: #FFFFFF !important;
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    transition: all 0.2s ease !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2) !important;
}

#nav-middle .group.flex.items-center:hover {
    background: #FFEB3B !important;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3) !important;
    transform: translate(-2px, -2px) !important;
}

/* 模型名称 */
#nav-middle button:has(> .flex-1.truncate.text-left) .flex-1.truncate.text-left {
    color: #FF6E40 !important;
    font-weight: 900 !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
    text-shadow: 1px 1px 0 #000000 !important;
}

/* 下拉箭头 */
#nav-middle .shrink-0.flex.items-center svg {
    color: #FF6E40 !important;
    transition: transform 0.2s ease !important;
    filter: drop-shadow(1px 1px 0 #000000) !important;
}

#nav-middle .group:hover .shrink-0.flex.items-center svg {
    transform: translateY(2px) !important;
}

/* 历史记录图标(移动端) */
header.flex.justify-between.w-full.top-0 svg.lucide-clock-8 {
    color: #FF6E40 !important;
    transition: all 0.2s ease !important;
    filter: drop-shadow(1px 1px 0 #000000) !important;
}

header.flex.justify-between.w-full.top-0 svg.lucide-clock-8:hover {
    color: #FF3D00 !important;
    transform: scale(1.1) !important;
}

/* 历史记录未读角标 */
header.flex.justify-between.w-full.top-0 span.MuiBadge-dot.md\:hidden {
    background-color: #FF6E40 !important;
    box-shadow: 0 0 0 2px #FFD700 !important;
}

/* 音乐按钮 */
header.flex.justify-between.w-full.top-0 button.MuiIconButton-root:has(svg.lucide-music-2) {
    background: #FFFFFF !important;
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2) !important;
}

header.flex.justify-between.w-full.top-0 button.MuiIconButton-root:has(svg.lucide-music-2):hover {
    background: #FFEB3B !important;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3) !important;
    transform: translate(-2px, -2px) !important;
}

header.flex.justify-between.w-full.top-0 button.MuiIconButton-root svg.lucide-music-2 {
    color: #FF6E40 !important;
    filter: drop-shadow(1px 1px 0 #000000) !important;
}

/* 移动端设置图标 */
header.flex.justify-between.w-full.top-0 svg:has(use[href="#icon-icon-set"]) {
    color: #FF6E40 !important;
    transition: all 0.2s ease !important;
    filter: drop-shadow(1px 1px 0 #000000) !important;
}

header.flex.justify-between.w-full.top-0 svg:has(use[href="#icon-icon-set"]):hover {
    color: #FF3D00 !important;
    transform: rotate(90deg) !important;
}

/* 设置按钮 */
#nav-right button {
    background: #FFFFFF !important;
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2) !important;
}

#nav-right button:hover {
    background: #FFEB3B !important;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3) !important;
    transform: translate(-2px, -2px) !important;
}

#nav-right button svg {
    color: #FF6E40 !important;
    transition: transform 0.3s ease !important;
    filter: drop-shadow(1px 1px 0 #000000) !important;
}

#nav-right button:hover svg {
    transform: rotate(45deg) !important;
}

/* ========== 开场白选择器相关（金色粗野主义） ========== */
div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"],
div.h-9.rounded-md.cursor-pointer.group:has(svg[data-icon="SlidersH"]) {
    background: #FFFFFF !important;
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2) !important;
}

div.flex.items-center.h-9.cursor-pointer.group:hover,
div.h-9.rounded-md.cursor-pointer.group:has(svg[data-icon="SlidersH"]):hover {
    background: #FFEB3B !important;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3) !important;
    transform: translate(-2px, -2px) !important;
}

/* 修复：将错误的 svgbutton 改为 button:has(...) svg */
div.flex.items-center.h-9.cursor-pointer.group button:has(> .flex-1.truncate.text-left) svg {
    color: #FF6E40 !important;
    transition: all 0.2s ease !important;
    filter: drop-shadow(1px 1px 0 #000000) !important;
}

div.flex.items-center.h-9.cursor-pointer.group:hover button:has(> .flex-1.truncate.text-left) svg {
    transform: translateY(2px) !important;
}

/* ========== 按钮栏相关（金色粗野主义） ========== */
#ai-mod-button2 button.MuiButton-root {
    background: #FFFFFF !important;
    color: #FF6E40 !important;
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
    font-weight: 900 !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
    transition: all 0.2s ease !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2) !important;
}

#ai-mod-button2 button.MuiButton-root:hover {
    background: #FFEB3B !important;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3) !important;
    transform: translate(-2px, -2px) !important;
}

#ai-mod-button2 button.MuiButton-root svg {
    color: #FF6E40 !important;
    filter: drop-shadow(1px 1px 0 #000000) !important;
}

/* ========== 底部栏相关（金色粗野主义） ========== */
.bg-gradient-to-t {
    background: linear-gradient(to top, #FFECB3, transparent) !important;
}

#ai-chat-bottom-input {
    background: #FFFFFF !important;
    border: 3px solid #000000 !important;
    border-radius: 12px !important;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.2) !important;
}

#ai-chat-input {
    color: #1A1A1A !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
    font-size: 0.95em !important;
    line-height: 1.6 !important;
}

#ai-chat-input::placeholder {
    color: #FF6E40 !important;
    opacity: 0.8 !important;
    font-weight: 900 !important;
}

#ai-chat-input::selection {
    background: #FFEB3B !important;
    color: #000000 !important;
}

/* ========== 分页栏相关（金色粗野主义） ========== */
.MuiPaginationItem-root {
    color: #FF6E40 !important;
    border: 2px solid #000000 !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
    transition: all 0.2s ease !important;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2) !important;
}

.MuiPaginationItem-root:hover {
    background-color: #FFEB3B !important;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3) !important;
    transform: translate(-1px, -1px) !important;
}

.MuiPaginationItem-root.Mui-selected {
    background-color: #FFD700 !important;
    color: #000000 !important;
    border-color: #000000 !important;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3) !important;
}

.MuiPaginationItem-root.Mui-disabled {
    color: #999999 !important;
    border-color: #CCCCCC !important;
    box-shadow: none !important;
}

.MuiPaginationItem-icon {
    color: #FF6E40 !important;
}

/* 跳转输入区域容器 */
.flex.w-full.items-center.justify-between.gap-2.px-2.css-1uwir8f {
    color: #FF6E40 !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
}

.flex.w-full.items-center.justify-between.gap-2.px-2.css-1uwir8f .MuiBox-root {
    color: #FF6E40 !important;
}

.MuiInputBase-input {
    color: #1A1A1A !important;
    border: 2px solid #000000 !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
    background: #FFFFFF !important;
    border-radius: 6px !important;
}

/* ========== 评论区相关（金色粗野主义） ========== */
div[class*="w-full"][class*="bg-white"][class*="bottom-0"] {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFECB3 100%) !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
    border-top: 4px solid #000000 !important;
}

div.text-lg.font-bold {
    color: #FF6E40 !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
    font-weight: 900 !important;
    text-shadow: 1px 1px 0 #000000 !important;
}

p.MuiTypography-body1.text-grey-600 {
    color: #1A1A1A !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
}

span.MuiRating-root {
    color: #FFD700 !important;
}

span.MuiRating-iconEmpty svg {
    color: #E0E0E0 !important;
    filter: drop-shadow(1px 1px 0 #000000) !important;
}

span.MuiRating-iconFilled svg {
    color: #FFD700 !important;
    filter: drop-shadow(1px 1px 0 #000000) !important;
}

/* 评分数字 */
span.text-orange-500 {
    color: #FF6E40 !important;
    font-weight: 900 !important;
    text-shadow: 1px 1px 0 #000000 !important;
}

/* 输入框容器 */
div.flex.flex-col.border-gray-200 {
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2) !important;
}

/* 输入框 */
textarea.rc-textarea {
    color: #1A1A1A !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
    border: none !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
}

textarea.rc-textarea:focus {
    outline: 3px solid #FFD700 !important;
}

/* 字数统计 */
div.bg-gray-100.text-gray-500 {
    background: #FFF9E6 !important;
    color: #1A1A1A !important;
    font-weight: 700 !important;
}

/* 发送评论按钮 */
div.cursor-pointer.group.flex.items-center.justify-center {
    background: #FFD700 !important;
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2) !important;
}

div.cursor-pointer.group.flex.items-center.justify-center:hover {
    background: #FFC107 !important;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3) !important;
    transform: translate(-2px, -2px) !important;
}

div[data-state="closed"] svg[data-icon="Send03"] {
    color: #000000 !important;
    filter: drop-shadow(1px 1px 0 rgba(255,255,255,0.5)) !important;
}

/* 分割线 */
div.style_divider__mW0YX {
    background: #000000 !important;
    height: 2px !important;
    opacity: 0.8 !important;
}

/* 排序按钮容器 */
.flex.w-full.items-center.justify-between.gap-2.px-2.css-1dmzxoz {
    gap: 8px !important;
}

/* 排序按钮(已选中) */
button.MuiButton-containedPrimary {
    background: #FFD700 !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
    font-weight: 900 !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2) !important;
}

button.MuiButton-containedPrimary:hover {
    background: #FFC107 !important;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3) !important;
    transform: translate(-2px, -2px) !important;
}

/* 排序按钮(未选中) */
button.MuiButton-outlinedPrimary {
    background: #FFFFFF !important;
    color: #FF6E40 !important;
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
    font-weight: 900 !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2) !important;
}

button.MuiButton-outlinedPrimary:hover {
    background: #FFEB3B !important;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3) !important;
    transform: translate(-2px, -2px) !important;
}

/* 评论列表容器 */
div.p-3.overflow-y-auto {
    background: transparent !important;
}

/* 评论项 */
div.group.ml-0 {
    background: #FFFFFF !important;
    border: 2px solid #000000 !important;
    border-radius: 10px !important;
    padding: 12px !important;
    margin-bottom: 10px !important;
    transition: all 0.2s ease !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2) !important;
}

div.group.ml-0:hover {
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3) !important;
    transform: translate(-2px, -2px) !important;
}

/* 用户头像 */
div.group img.rounded-full {
    border: 3px solid #000000 !important;
}

/* 用户名 */
div.text-sm.text-grey-600 span.font-bold {
    color: #FF6E40 !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
    font-weight: 900 !important;
    text-shadow: 1px 1px 0 #000000 !important;
}

/* (你)标签 */
span.text-\[10px\] {
    background: #FFD700 !important;
    color: #000000 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-weight: 900 !important;
    border: 1px solid #000000 !important;
}

/* 评论内容 */
div.break-all {
    color: #1A1A1A !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
    line-height: 1.6 !important;
}

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

/* 点赞按钮 */
button.text-gray-400 {
    color: #FF6E40 !important;
    transition: all 0.2s ease !important;
    filter: drop-shadow(1px 1px 0 #000000) !important;
}

button.text-gray-400:hover {
    color: #FF3D00 !important;
    transform: scale(1.2) !important;
}

button.text-gray-400 svg {
    color: inherit !important;
}

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

span.cursor-pointer:hover {
    color: #FF3D00 !important;
    text-shadow: 1px 1px 0 #000000 !important;
}

/* 回复区域边框 */
div.ml-8.border-l {
    border-color: #000000 !important;
}

/* ========== 输入组整体容器（金色粗野主义） ========== */
[data-slot="input-group"] {
  background: #FFFFFF !important;
  border: 3px solid #000000 !important;
  border-radius: 12px !important;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.2) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
}

[data-slot="input-group"]:focus-within {
  border-color: #FFD700 !important;
  box-shadow: 0 0 0 2px rgba(255,215,0,0.3) !important;
}

/* ========== 头部按钮区域 ========== */
#prompt-input-header button {
  background: #FFFFFF !important;
  border: 2px solid #000000 !important;
  border-radius: 6px !important;
  color: #FF6E40 !important;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
  font-size: 0.8em !important;
  font-weight: 900 !important;
  transition: all 0.2s ease !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2) !important;
}

#prompt-input-header button:hover {
  background: #FFEB3B !important;
  border-color: #000000 !important;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3) !important;
  transform: translate(-1px, -1px) !important;
}

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

/* ========== 文本域 ========== */
textarea[data-slot="input-group-control"] {
  color: #1A1A1A !important;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
  font-size: 0.95em !important;
  line-height: 1.6 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

textarea[data-slot="input-group-control"]::placeholder {
  color: #FF6E40 !important;
  opacity: 0.8 !important;
  font-weight: 900 !important;
}

/* ========== 底部按钮区域 ========== */
#prompt-input-footer button {
  background: #FFFFFF !important;
  border: 2px solid #000000 !important;
  border-radius: 6px !important;
  color: #FF6E40 !important;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
  font-weight: 900 !important;
  transition: all 0.2s ease !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2) !important;
}

#prompt-input-footer button:hover {
  background: #FFEB3B !important;
  border-color: #000000 !important;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3) !important;
  transform: translate(-1px, -1px) !important;
}

#prompt-input-footer button svg {
  color: inherit !important;
}

/* ========== 模型选择器按钮 ========== */
#prompt-input-footer button:has(img) {
  background: #FFFFFF !important;
  border: 2px solid #000000 !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
  transition: all 0.2s ease !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2) !important;
}

#prompt-input-footer button:has(img):hover {
  background: #FFEB3B !important;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3) !important;
  transform: translate(-1px, -1px) !important;
}

#prompt-input-footer button:has(img) .flex-1.truncate.text-left {
  color: #FF6E40 !important;
  font-weight: 900 !important;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
  font-size: 0.85em !important;
}

/* ========== 发送按钮 ========== */
button[type="submit"] {
  background: #FFD700 !important;
  border: 2px solid #000000 !important;
  border-radius: 6px !important;
  color: #000000 !important;
  font-weight: 900 !important;
  transition: all 0.2s ease !important;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2) !important;
}

button[type="submit"]:hover {
  background: #FFC107 !important;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.3) !important;
  transform: translate(-2px, -2px) !important;
}

button[type="submit"] svg {
  color: #000000 !important;
}

/* ========== 回复模式按钮（实时） ========== */
button#radix-\_R_6tb9bsnpfsqjb_ {
  background: #FFFFFF !important;
  border: 2px solid #000000 !important;
  border-radius: 6px !important;
  color: #FF6E40 !important;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
  font-weight: 900 !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2) !important;
}

button#radix-\_R_6tb9bsnpfsqjb_:hover {
  background: #FFEB3B !important;
  border-color: #000000 !important;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3) !important;
  transform: translate(-1px, -1px) !important;
}

/* ========== 滚动到底部按钮 ========== */
button[aria-label="滚动到底部"] {
  background: #FFFFFF !important;
  border: 2px solid #000000 !important;
  border-radius: 6px !important;
  color: #FF6E40 !important;
  font-weight: 900 !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2) !important;
}

button[aria-label="滚动到底部"]:hover {
  background: #FFEB3B !important;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3) !important;
  transform: translate(-1px, -1px) !important;
}

/* ========== 所有图标统一颜色 ========== */
[data-slot="input-group"] svg {
  color: inherit !important;
}

/* ========== 移动端适配 ========== */
@media (max-width: 480px) {
  [data-slot="input-group"] {
    border-radius: 10px !important;
    border-width: 2px !important;
  }
  #prompt-input-header button,
  #prompt-input-footer button {
    font-size: 0.75em !important;
    padding: 4px 6px !important;
  }
}
/* 正文字体放大 */
.rili-markdown-renderer {
    font-size: 1.1em !important;  /* 原来是 0.95em，现在放大到 2.0em */
}
/* 只让 B 平台聊天正文稍微大一点 */
.rili-markdown-renderer {
    font-size: 17px !important;
    line-height: 1.7 !important;
}