/* =====================================================================
   【龙族主题：纯爱樱花手账 & 完美AI交互气泡】 (完美字号定稿版)
   ===================================================================== */

/* =========================================
   1. 基础净化与透明化
   ========================================= */
[class*="bg-[#F1CBCB]"], [class*="bg-[#c9e1e9]"] { display: none !important; }
.sticky.w-full.top-0.flex.items-center, .bg-gradient-to-t {
    background: transparent !important; background-color: transparent !important;
    backdrop-filter: none !important; box-shadow: none !important; border: none !important; background-image: none !important;
}
#ai-model-selector .group.flex.items-center {
    background: rgba(255, 255, 255, 0.4) !important; backdrop-filter: blur(8px) !important;
    border-radius: 20px !important; padding: 4px 12px !important; border: 1px solid rgba(255, 255, 255, 0.6) !important;
}
#ai-model-selector .truncate.text-\[13px\], .sticky.w-full.top-0.flex.items-center svg { color: #4a3b3e !important; font-weight: bold !important; }

/* =========================================
   2. 聊天框主体：柔和樱花毛玻璃 & 护眼黄金比例正文
   ========================================= */
.bg-gray-100\/90.relative.inline-block {
    background-color: rgba(255, 235, 240, 0.65) !important; 
    backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important; 
    border: 1.5px solid rgba(234, 137, 154, 0.5) !important; 
    border-radius: 12px !important; box-shadow: 0 4px 15px rgba(234, 137, 154, 0.08) !important;
    padding: 16px !important; transition: all 0.3s ease !important;
}

/* 核心修改：将旁白正文微调至 0.95rem (仅比气泡的1.05rem小一点点，护眼且主次分明) */
.markdown-body, .markdown-body p, 
.rili-markdown-renderer, .rili-markdown-renderer p {
    color: #4a3b3e !important; 
    font-size: 0.95rem !important; 
    font-family: system-ui, -apple-system, sans-serif !important; 
    line-height: 1.6 !important; 
    font-weight: 500 !important; 
}
@media (max-width: 480px) { 
    .markdown-body, .markdown-body p, 
    .rili-markdown-renderer, .rili-markdown-renderer p { 
        font-size: 0.9rem !important; 
    } 
}

/* =========================================
   3. 代码块隔离保护
   ========================================= */
.markdown-body pre, .markdown-body code, .fold-content pre, .fold-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important; }
.markdown-body pre, .fold-content pre {
    background-color: #282c34 !important; color: #abb2bf !important; padding: 16px !important;
    border-radius: 8px !important; overflow-x: auto !important; position: relative !important; z-index: 50 !important; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}
.markdown-body pre code, .fold-content pre code { background: transparent !important; color: inherit !important; padding: 0 !important; border: none !important; }
.markdown-body p > code, .markdown-body li > code, .fold-content p > code {
    background-color: rgba(234, 137, 154, 0.15) !important; color: #c23a54 !important; padding: 3px 6px !important; border-radius: 4px !important; font-size: 0.9em !important;
}

/* =========================================
   4. 底部输入框与按钮
   ========================================= */
#ai-chat-bottom-input { background: transparent !important; }
#ai-chat-input {
    background-color: rgba(255, 240, 245, 0.7) !important; backdrop-filter: blur(8px) !important; 
    color: #4a3b3e !important; border: 1px solid rgba(252, 174, 184, 0.5) !important; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important; 
}
#ai-chat-input::placeholder { color: #d88c9a !important; }
#ai-chat-bottom-input button svg, #ai-chat-bottom-input .cursor-pointer svg {
    content: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath fill='%23FFD13B' d='M410.9 203.2c-15.1-4.8-29.4-1.4-40.4 7.6-11.8-22.3-33-38.3-58.4-41.5-2.5-38.8-34.7-69.5-74-69.5-40.9 0-74.1 33.2-74.1 74.1 0 17.2 5.9 33 15.8 45.5-22.5 10.2-40.6 28.5-50.6 51.5C118.2 296 112 322.2 112 349.5c0 34.6 28.1 62.7 62.7 62.7h162.6c34.6 0 62.7-28.1 62.7-62.7 0-38.1-13.6-73.4-38.5-101.4 12.6-11.1 27.6-19.1 44.5-23.3 12.9-3.2 20.8-16.3 17.6-29.2-2.6-10.4-11.9-17.6-22.7-17.6-.3 0-.6 0-1-.1z'/%3e%3cpath fill='%23FF9811' d='M192.5 162.2c-17.6 0-31.9 14.3-31.9 31.9 0 14.7 10 27.1 23.6 30.9 3.5 1 7.2 1.5 11 1.5 21.2 0 38.4-17.2 38.4-38.4.1-14.3-11.6-25.9-41.1-25.9z'/%3e%3ccircle fill='%231E2022' cx='260.6' cy='144.1' r='14.4'/%3e%3c/svg%3e") !important;
    width: 28px !important; height: 28px !important; display: inline-block !important; transition: all 0.3s ease !important;
}
#ai-chat-bottom-input button, #ai-chat-bottom-input .cursor-pointer { background: transparent !important; border: none !important; box-shadow: none !important; }
#ai-chat-bottom-input button:hover svg { transform: scale(1.35) rotate(-10deg) !important; filter: drop-shadow(0px 4px 6px rgba(255, 166, 49, 0.4)) !important; }
#ai-chat-bottom-input button:active svg { transform: scale(0.9) rotate(15deg) !important; }

#ai-mod-button2 {
    display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; overflow-y: hidden !important;
    gap: 12px !important; align-items: center !important; padding: 10px 5px 15px 5px !important; 
    scrollbar-width: thin !important; scrollbar-color: rgba(255, 166, 49, 0.5) transparent !important; 
}
#ai-mod-button2 button.MuiButton-root, #ai-mod-button2 > * > button {
    flex-shrink: 0 !important; width: 85px !important; height: 125px !important; min-width: 85px !important; 
    padding: 0 !important; border-radius: 12px !important; border: 1.5px solid rgba(255, 166, 49, 0.5) !important;
    overflow: hidden !important; background-size: cover !important; background-position: center top !important; 
    background-repeat: no-repeat !important; display: flex !important; flex-direction: column !important;
    justify-content: flex-end !important; padding-bottom: 8px !important; color: #ffffff !important;
    font-weight: 900 !important; font-size: 13px !important; text-shadow: 1px 1px 3px #000, -1px -1px 3px #000 !important;
    transition: all 0.3s ease !important;
}
#ai-mod-button2 button.MuiButton-root svg, #ai-mod-button2 > * > button svg { content: none !important; }
#ai-mod-button2 button.MuiButton-root:hover, #ai-mod-button2 > * > button:hover { transform: scale(1.05) translateY(-3px) !important; border-color: #ffffff !important; box-shadow: 0 5px 15px rgba(255, 166, 49, 0.3) !important; }
#ai-mod-button2 > *:nth-child(7n+1) button, #ai-mod-button2 button:nth-of-type(7n+1) { background-image: url('https://s3.bmp.ovh/2026/07/02/oY4mh9CH.png') !important; }
#ai-mod-button2 > *:nth-child(7n+2) button, #ai-mod-button2 button:nth-of-type(7n+2) { background-image: url('https://s3.bmp.ovh/2026/07/02/HHuXLQwG.png') !important; }
#ai-mod-button2 > *:nth-child(7n+3) button, #ai-mod-button2 button:nth-of-type(7n+3) { background-image: url('https://s3.bmp.ovh/2026/07/02/3xbHf0m7.png') !important; }
#ai-mod-button2 > *:nth-child(7n+4) button, #ai-mod-button2 button:nth-of-type(7n+4) { background-image: url('https://s3.bmp.ovh/2026/07/02/SUnooq8F.png') !important; }
#ai-mod-button2 > *:nth-child(7n+5) button, #ai-mod-button2 button:nth-of-type(7n+5) { background-image: url('https://s3.bmp.ovh/2026/07/02/2pd0Gntv.png') !important; }
#ai-mod-button2 > *:nth-child(7n+6) button, #ai-mod-button2 button:nth-of-type(7n+6) { background-image: url('https://s3.bmp.ovh/2026/07/02/s0kopm8y.png') !important; }
#ai-mod-button2 > *:nth-child(7n) button,   #ai-mod-button2 button:nth-of-type(7n)   { background-image: url('https://s3.bmp.ovh/2026/07/02/FWhOm7Tm.png') !important; }

/* =========================================================
   5. 柔和手账本风格外壳
========================================================= */
.theme-details {
    border-radius: 12px !important; margin-bottom: 12px !important; 
    overflow: visible !important; 
    border: 1px solid rgba(234, 137, 154, 0.3) !important; box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}
.fold-header {
    padding: 12px 16px !important; cursor: pointer !important; font-weight: 800 !important; font-size: 16px !important; 
    letter-spacing: 1px !important; color: #5c4044 !important; border-bottom: 1px solid transparent !important;
    border-radius: 12px !important; transition: all 0.3s ease !important;
}
.theme-details[open] > .fold-header { border-radius: 12px 12px 0 0 !important; }
.fold-content {
    background-color: #FFF0F5 !important; 
    background-image: linear-gradient(90deg, transparent 35px, rgba(234, 137, 154, 0.15) 35px, rgba(234, 137, 154, 0.15) 36px, transparent 36px, transparent 39px, rgba(234, 137, 154, 0.15) 39px, rgba(234, 137, 154, 0.15) 40px, transparent 40px) !important;
    padding: 16px 16px 16px 55px !important; color: #4a3b3e !important; border-top: 1px dashed rgba(234, 137, 154, 0.3) !important; 
    border-radius: 0 0 12px 12px !important;
}
.fold-content ul, .fold-content ol { list-style: none !important; padding-left: 0 !important; margin: 4px 0 !important; }
.fold-content li { padding-left: 0 !important; margin-bottom: 6px !important; }
.fold-content li::before { content: none !important; display: none !important; }
.theme-details.think-card > .fold-header { background: #E3F2FD !important; }
.theme-details.current-status > .fold-header, .theme-details.engraving-section > .fold-header { background: #E0F2F1 !important; }
.theme-details.worldline-section > .fold-header { background: #FFF3E0 !important; }
.theme-details.player-profile > .fold-header { background: #FCE4EC !important; }
.theme-details.bonds-section > .fold-header { background: #F5F5F5 !important; }
.theme-details.nearby-section > .fold-header { background: #EFEBE9 !important; }
.theme-details.memory-section > .fold-header { background: #F3E5F5 !important; }
.theme-details.story-branch > .fold-header { background: #FFFFFF !important; }

/* =========================================================
   6. 专属排版：思维链包裹、独立选项卡包裹、悬浮提示、血条
========================================================= */
cot {
    display: block !important; background: rgba(255, 255, 255, 0.6) !important; border: 1px solid rgba(129, 212, 250, 0.5) !important;
    border-radius: 8px !important; padding: 15px !important; margin-top: 5px !important; box-shadow: inset 0 0 10px rgba(129, 212, 250, 0.1) !important;
}
.sub-details {
    border: 1px solid rgba(234, 137, 154, 0.5) !important; border-radius: 10px !important; margin-bottom: 12px !important;
    background: rgba(255, 255, 255, 0.7) !important; overflow: visible !important; box-shadow: 0 2px 6px rgba(234, 137, 154, 0.12) !important;
}
.sub-details > summary {
    padding: 10px 15px !important; font-weight: 800 !important; color: #c23a54 !important; cursor: pointer !important;
    background: rgba(255, 228, 233, 0.8) !important; border-radius: 10px !important; transition: all 0.3s ease !important;
}
.sub-details[open] > summary { border-radius: 10px 10px 0 0 !important; border-bottom: 1px dashed rgba(234, 137, 154, 0.4) !important; }
.sub-body { padding: 12px 15px !important; background-color: #FFF0F5 !important; border-radius: 0 0 10px 10px !important; }
.hover-tip { border-bottom: 1.5px dotted #ea899a !important; cursor: help !important; position: relative !important; color: #c23a54 !important; font-weight: 800 !important; }
.hover-tip:hover::after {
    content: attr(data-tip) !important; position: absolute !important; bottom: 110% !important; left: 50% !important;
    transform: translateX(-50%) !important; background: rgba(255, 255, 255, 0.95) !important; border: 1px solid #ea899a !important;
    color: #4a3b3e !important; padding: 6px 10px !important; border-radius: 6px !important; font-size: 12px !important;
    white-space: normal !important; min-width: 150px !important; max-width: 300px !important; box-shadow: 0 4px 10px rgba(234, 137, 154, 0.3) !important;
    z-index: 9999 !important; font-weight: normal !important;
}
.stat-item { display: flex !important; align-items: center !important; gap: 10px !important; margin-bottom: 8px !important; }
.stat-item > .hover-tip { width: 40px !important; text-align: right !important; }
.bar-container {
    flex-grow: 1 !important; background-color: rgba(234, 137, 154, 0.15) !important;
    border-radius: 10px !important; position: relative !important; height: 18px !important; overflow: hidden !important; border: 1px solid rgba(234, 137, 154, 0.3) !important; max-width: 250px !important;
}
.bar-fill { height: 100% !important; border-radius: 10px !important; transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important; }
.hp-fill { background: linear-gradient(90deg, #ff8a80, #e53935) !important; }
.sp-fill { background: linear-gradient(90deg, #80d8ff, #00b0ff) !important; }
.san-fill { background: linear-gradient(90deg, #b388ff, #651fff) !important; }
.bar-text {
    position: absolute !important; width: 100% !important; text-align: center !important; top: 0 !important; left: 0 !important;
    line-height: 18px !important; font-size: 11px !important; font-weight: 900 !important; color: #fff !important; text-shadow: 1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8) !important; z-index: 2 !important;
}

/* =========================================
   7. 附近的人：横版海报与透明悬浮介绍
   ========================================= */
.npc-card { margin-bottom: 15px !important; background: rgba(255, 255, 255, 0.4) !important; border-radius: 10px !important; padding: 6px !important; border: 1px dashed rgba(234, 137, 154, 0.4) !important; }
.npc-banner { width: 100% !important; height: 220px !important; border-radius: 8px !important; overflow: hidden !important; border: 2px solid rgba(255, 255, 255, 0.8) !important; box-shadow: 0 4px 8px rgba(234, 137, 154, 0.15) !important; }
.npc-banner img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center center !important; display: block !important; }
.npc-name-bar {
    position: relative !important; margin-top: -46px !important; z-index: 10 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%) !important;
    color: #fff !important; padding: 12px 12px 8px 12px !important; font-weight: 800 !important; font-size: 1.1em !important;
    border-radius: 0 0 8px 8px !important; margin-bottom: 8px !important; text-shadow: 1px 1px 3px rgba(0,0,0,0.9) !important;
    display: flex !important; justify-content: space-between !important; align-items: center !important; pointer-events: none !important;
}
.npc-top, .npc-avatar, .npc-intro { display: none !important; }


/* =========================================================================================
   8. 龙族对话气泡 (完全遵循你的提示词：.npc-chat-row 体系)
   ========================================================================================= */

/* 聊天行容器：垂直居中 */
.npc-chat-row {
    display: flex !important; 
    align-items: center !important; 
    margin-bottom: 18px !important; 
    gap: 12px !important; 
    width: 100% !important; 
    animation: fadeIn 0.3s ease-in-out;
}

/* 玩家头像限制 */
.npc-player-img {
    display: block !important;
    width: 104px !important; 
    height: 104px !important; 
    min-width: 104px !important; 
    max-width: 104px !important; 
    max-height: 104px !important;
    border-radius: 50% !important; 
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid #fff !important; 
    box-shadow: 0 3px 8px rgba(0,0,0,0.12) !important;
    object-fit: cover !important; 
    object-position: center top !important; 
    flex-shrink: 0 !important;
    transition: transform 0.3s ease;
}

/* NPC头像渲染框架 */
.npc-chat-avatar {
    display: none !important; 
    width: 104px !important; height: 104px !important; 
    min-width: 104px !important; max-width: 104px !important;
    border-radius: 50% !important; background-color: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid #fff !important; box-shadow: 0 3px 8px rgba(0,0,0,0.12) !important;
    background-size: cover !important; background-position: center top !important; background-repeat: no-repeat !important; flex-shrink: 0 !important;
}
.npc-chat-row:hover .npc-player-img, .npc-chat-row:hover .npc-chat-avatar { transform: scale(1.02); }

/* 气泡包裹器弹性锁定，解决拉伸 */
.npc-chat-row > div:last-child { 
    display: flex !important; 
    flex-direction: column !important; 
    max-width: 80% !important; 
}
.npc-left > div:last-child { align-items: flex-start !important; }
.npc-right > div:last-child { align-items: flex-end !important; }

/* 名字排版 */
.npc-chat-name { font-size: 0.85rem !important; font-weight: 800 !important; margin-bottom: 4px !important; color: #5c4044 !important; opacity: 0.85 !important; }
.npc-left .npc-chat-name { text-align: left !important; margin-left: 5px !important; }
.npc-right .npc-chat-name { text-align: right !important; margin-right: 5px !important; }

/* 气泡本体（严格维持 1.05rem 小字号不变） */
.npc-chat-bubble {
    width: fit-content !important; 
    max-width: 100% !important; 
    text-align: left !important; 
    padding: 12px 16px !important; border-radius: 15px !important;
    font-size: 1.05rem !important; /* 强制锁定聊天字号 */
    line-height: 1.6 !important; position: relative !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06) !important; color: #4a3b3e !important; font-weight: 500 !important;
    background-color: rgba(250, 250, 250, 0.95) !important; border: 1px solid rgba(200, 200, 200, 0.5) !important;
}

/* 气泡箭头 */
.npc-chat-bubble::before { content: "" !important; position: absolute !important; top: 50% !important; transform: translateY(-50%) !important; border-style: solid !important; width: 0 !important; height: 0 !important; }

/* 左右方向 */
.npc-left { flex-direction: row !important; }
.npc-right { flex-direction: row-reverse !important; }

/* 性别底色 */
.npc-female .npc-chat-bubble { background-color: rgba(255, 228, 233, 0.95) !important; border: 1px solid rgba(234, 137, 154, 0.5) !important; }
.npc-male .npc-chat-bubble { background-color: rgba(255, 255, 255, 0.95) !important; border: 2px solid rgba(135, 206, 250, 0.8) !important; }
.npc-left.npc-female .npc-chat-bubble::before { left: -8px !important; border-width: 6px 9px 6px 0 !important; border-color: transparent rgba(255, 228, 233, 0.95) transparent transparent !important; }
.npc-left.npc-male .npc-chat-bubble::before { left: -10px !important; border-width: 7px 10px 7px 0 !important; border-color: transparent rgba(135, 206, 250, 0.8) transparent transparent !important; }
.npc-right.npc-female .npc-chat-bubble::before { right: -8px !important; border-width: 6px 0 6px 9px !important; border-color: transparent transparent transparent rgba(255, 228, 233, 0.95) !important; }
.npc-right.npc-male .npc-chat-bubble::before { right: -10px !important; border-width: 7px 0 7px 10px !important; border-color: transparent transparent transparent rgba(135, 206, 250, 0.8) !important; }

/* =========================================
   9. 角色头像映射库
   ========================================= */
.npc-chat-row[data-name*="凯撒"] .npc-chat-avatar, .npc-chat-row[data-name*="恺撒"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/fbQQL7Ok.png') !important; }
.npc-chat-row[data-name*="昂热"] .npc-chat-avatar, .npc-chat-row[data-name*="校长"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/A3Z09DnH.png') !important; }
.npc-chat-row[data-name*="路明非"] .npc-chat-avatar, .npc-chat-row[data-name*="李嘉图"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/ww9AZnc3.png') !important; }
.npc-chat-row[data-name*="陈墨瞳"] .npc-chat-avatar, .npc-chat-row[data-name*="诺诺"] .npc-chat-avatar, .npc-chat-row[data-name*="红发巫女"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/RPBgJvLo.png') !important; }
.npc-chat-row[data-name*="绘梨衣"] .npc-chat-avatar, .npc-chat-row[data-name*="上杉家主"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/4TZ1bvYa.png') !important; }
.npc-chat-row[data-name*="诺顿"] .npc-chat-avatar, .npc-chat-row[data-name*="老唐"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/X2P9bEVQ.png') !important; }
.npc-chat-row[data-name*="诺玛"] .npc-chat-avatar, .npc-chat-row[data-name*="Norma"] .npc-chat-avatar, .npc-chat-row[data-name*="EVA"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/K58qv62C.png') !important; }
.npc-chat-row[data-name*="芬格尔"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/PnStgGLz.png') !important; }
.npc-chat-row[data-name*="苏恩曦"] .npc-chat-avatar, .npc-chat-row[data-name*="薯片妞"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/BZwc9AmE.png') !important; }
.npc-chat-row[data-name*="路明泽"] .npc-chat-avatar, .npc-chat-row[data-name*="小恶魔"] .npc-chat-avatar, .npc-chat-row[data-name*="零号"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/NfDHs2eK.png') !important; }
.npc-chat-row[data-name*="楚子航"] .npc-chat-avatar, .npc-chat-row[data-name*="狮心会"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/ZvByFkVK.png') !important; }
.npc-chat-row[data-name*="源稚生"] .npc-chat-avatar, .npc-chat-row[data-name*="大家长"] .npc-chat-avatar, .npc-chat-row[data-name*="象龟"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/N51Z80EG.png') !important; }
.npc-chat-row[data-name*="上杉越"] .npc-chat-avatar, .npc-chat-row[data-name*="越师傅"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/5eA4obXx.png') !important; }
.npc-chat-row[data-name*="守夜人"] .npc-chat-avatar, .npc-chat-row[data-name*="弗拉梅尔"] .npc-chat-avatar, .npc-chat-row[data-name*="副校长"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/gXlEDP3c.png') !important; }
.npc-chat-row[data-name*="古德里安"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/Eew1hEfI.png') !important; }
.npc-chat-row[data-name*="曼斯"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/kr6DiONt.png') !important; }
.npc-chat-row[data-name*="施耐德"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/VCL4cSvy.png') !important; }
.npc-chat-row[data-name*="曼施坦因"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/ush2uBXi.png') !important; }
.npc-chat-row[data-name*="矢吹樱"] .npc-chat-avatar, .npc-chat-row[data-name*="樱"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/M2t9b6oo.png') !important; }
.npc-chat-row[data-name*="夏弥"] .npc-chat-avatar, .npc-chat-row[data-name*="耶梦加得"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/4EvugqD9.png') !important; }
.npc-chat-row[data-name*="王将"] .npc-chat-avatar, .npc-chat-row[data-name*="赫尔佐格"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/U7dawV4W.png') !important; }
.npc-chat-row[data-name*="帕西"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/SS9w5CtB.png') !important; }
.npc-chat-row[data-name*="零"] .npc-chat-avatar, .npc-chat-row[data-name*="雷娜塔"] .npc-chat-avatar, .npc-chat-row[data-name*="皇女"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/W2X4SQpQ.png') !important; }
.npc-chat-row[data-name*="富山雅史"] .npc-chat-avatar, .npc-chat-row[data-name*="富山教员"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/HZoMqLpF.png') !important; }
.npc-chat-row[data-name*="酒德亚纪"] .npc-chat-avatar, .npc-chat-row[data-name*="亚纪"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/p2Sl2vV6.png') !important; }
.npc-chat-row[data-name*="雷蒙德"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/fUEEP2t2.png') !important; }
.npc-chat-row[data-name*="赛尔玛"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/WqVrvnsG.png') !important; }
.npc-chat-row[data-name*="万博倩"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/vymT3cvn.png') !important; }
.npc-chat-row[data-name*="高冥"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/7DzdVqxy.png') !important; }
.npc-chat-row[data-name*="康斯坦丁"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/Hsh3wDfo.png') !important; }
.npc-chat-row[data-name*="风间琉璃"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/bD75hkwa.png') !important; }
.npc-chat-row[data-name*="源稚女"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/GkOyOoqj.png') !important; }
.npc-chat-row[data-name*="楚天骄"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/Bt6cZXsl.png') !important; }
.npc-chat-row[data-name*="强欲"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/zwqEgr85.png') !important; }
.npc-chat-row[data-name*="星演"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/SwXSijCT.png') !important; }
.npc-chat-row[data-name*="巨门"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/8l7br7Vq.png') !important; }
.npc-chat-row[data-name*="酒德麻衣"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/PccETtyb.png') !important; }
.npc-chat-row[data-name*="叶胜"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/kQfSbUXB.png') !important; }
.npc-chat-row[data-name*="苏茜"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/oRfYiBlU.png') !important; }
.npc-chat-row[data-name*="樱井小暮"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/d69qPfH4.png') !important; }
.npc-chat-row[data-name*="樱井七海"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/FmT4Ivbp.png') !important; }
.npc-chat-row[data-name*="奇兰"] .npc-chat-avatar { display: block !important; background-image: url('https://s3.bmp.ovh/2026/07/12/GVu0336s.png') !important; }

/* =========================================
   10. 移动端自适应
   ========================================= */
@media (max-width: 480px) {
    .npc-chat-avatar, .npc-player-img { 
        width: 80px !important; height: 80px !important; 
        min-width: 80px !important; max-width: 80px !important; 
    }
    .npc-chat-row > div:last-child { max-width: 75% !important; }
    .npc-chat-bubble { font-size: 1rem !important; padding: 10px 14px !important; }
}