/* ========================================
   黑袍纠察队 - 统一视觉系统
   设计理念：深色撞色 | 统一边框 | 高端游戏UI
   ======================================== */

/* === 全局基础 === */
body {
    background-color: #0a0e1a !important;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,.02) 2px, rgba(255,255,255,.02) 4px),
        radial-gradient(ellipse at center, #12161f 0%, #0a0e1a 100%) !important;
    color: #dc2626 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* === 正文区 === */
.rev-main {
    background: rgba(18, 22, 31, 0.85) !important;
    border: 2px solid #c41e3a !important;
    border-radius: 4px !important;
    padding: 24px !important;
    margin: 16px 0 !important;
    box-shadow: 
        0 0 20px rgba(196, 30, 58, 0.3),
        inset 0 0 40px rgba(196, 30, 58, 0.05) !important;
    color: #b91c1c !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
}

/* === 对话与独白 === */
.char-dialogue {
    color: #0284c7 !important;
    font-weight: 500 !important;
}

.inner-thought {
    color: #ca8a04 !important;
    font-style: italic !important;
}

.system-alert {
    background: rgba(220, 38, 38, 0.15) !important;
    border-left: 4px solid #dc2626 !important;
    padding: 12px 16px !important;
    margin: 16px 0 !important;
    color: #dc2626 !important;
    font-weight: 600 !important;
}

/* === 特殊界面模拟容器 === */
.sim-ui {
    color: revert !important;
}

/* === 状态栏面板通用样式 === */
.coser-panel {
    background: rgba(18, 22, 31, 0.9) !important;
    border: 2px solid #0ea5e9 !important;
    border-radius: 4px !important;
    margin: 12px 0 !important;
    padding: 0 !important;
    box-shadow: 
        0 0 15px rgba(14, 165, 233, 0.25),
        inset 0 0 30px rgba(14, 165, 233, 0.05) !important;
    transition: all 0.3s ease !important;
}

.coser-panel:hover {
    border-color: #38bdf8 !important;
    box-shadow: 
        0 0 25px rgba(56, 189, 248, 0.4),
        inset 0 0 40px rgba(56, 189, 248, 0.08) !important;
}

.coser-panel summary {
    background: rgba(14, 165, 233, 0.12) !important;
    color: #0ea5e9 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 14px 18px !important;
    cursor: pointer !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    user-select: none !important;
}

.coser-panel summary:hover {
    background: rgba(14, 165, 233, 0.2) !important;
    color: #38bdf8 !important;
}

.coser-panel[open] summary {
    border-bottom: 2px solid #0ea5e9 !important;
    margin-bottom: 12px !important;
}

.coser-panel > *:not(summary) {
    padding: 0 18px 18px 18px !important;
    color: #0891b2 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* === 思维链面板特化 === */
.thinking-panel {
    border-color: #9f1239 !important;
    box-shadow: 
        0 0 15px rgba(159, 18, 57, 0.25),
        inset 0 0 30px rgba(159, 18, 57, 0.05) !important;
}

.thinking-panel:hover {
    border-color: #be123c !important;
    box-shadow: 
        0 0 25px rgba(190, 18, 60, 0.4),
        inset 0 0 40px rgba(190, 18, 60, 0.08) !important;
}

.thinking-panel summary {
    background: rgba(159, 18, 57, 0.12) !important;
    color: #e11d48 !important;
}

.thinking-panel summary:hover {
    background: rgba(159, 18, 57, 0.2) !important;
    color: #fb7185 !important;
}

.thinking-panel[open] summary {
    border-bottom-color: #9f1239 !important;
}

/* === 场景信息面板特化 === */
.scene-panel summary {
    color: #d97706 !important;
}

.scene-panel > *:not(summary) {
    color: #ca8a04 !important;
}

/* === 记忆面板表格 === */
.memory-panel table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 12px !important;
}

.memory-panel th {
    background: rgba(14, 165, 233, 0.15) !important;
    color: #0ea5e9 !important;
    font-weight: 700 !important;
    padding: 10px !important;
    border: 1px solid #0891b2 !important;
    text-align: left !important;
}

.memory-panel td {
    color: #0891b2 !important;
    padding: 8px 10px !important;
    border: 1px solid rgba(8, 145, 178, 0.3) !important;
}

.memory-panel hr {
    border: none !important;
    border-top: 2px solid #0ea5e9 !important;
    margin: 16px 0 !important;
    opacity: 0.5 !important;
}

/* === 玩家角色档案特化 === */
.player-panel summary {
    color: #c41e3a !important;
}

.player-panel > *:not(summary) {
    color: #dc2626 !important;
}

/* === NPC面板特化 === */
.npc-panel summary {
    color: #0ea5e9 !important;
}

.npc-panel > *:not(summary) {
    color: #0891b2 !important;
}

/* === 选项系统 === */
.coser-panel + hr + div {
    background: rgba(18, 22, 31, 0.9) !important;
    border: 2px solid #d97706 !important;
    border-radius: 4px !important;
    padding: 20px !important;
    margin: 16px 0 !important;
    box-shadow: 
        0 0 15px rgba(217, 119, 6, 0.25),
        inset 0 0 30px rgba(217, 119, 6, 0.05) !important;
}

.coser-panel + hr + div::first-line {
    color: #f59e0b !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

/* === 分隔线 === */
hr {
    border: none !important;
    border-top: 2px solid rgba(14, 165, 233, 0.3) !important;
    margin: 24px 0 !important;
    box-shadow: 0 1px 8px rgba(14, 165, 233, 0.2) !important;
}

/* === 立绘图片容器 === */
[class^="tb-"] {
    display: block !important;
    width: 220px !important;
    height: 330px !important;
    margin: 20px auto !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: 3px solid #c41e3a !important;
    border-radius: 4px !important;
    box-shadow: 
        0 0 30px rgba(196, 30, 58, 0.5),
        0 0 15px rgba(14, 165, 233, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.3) !important;
}

/* === 图片库 === */
.tb-xy { background-image: url('https://i.postimg.cc/SsZFDTkn/xiu-yi.png') !important; }
.tb-zynm { background-image: url('https://i.postimg.cc/c1bG3bDy/zuo-yi-niu-man.png') !important; }
.tb-ksl { background-image: url('https://i.postimg.cc/9MXHP53N/kai-si-lei.png') !important; }
.tb-lbts { background-image: url('https://i.postimg.cc/m2K4v5M5/lie-bing-tian-shi.png') !important; }
.tb-bxr { background-image: url('https://i.postimg.cc/J4smdLyZ/bian-xing-ren.png') !important; }
.tb-xmz { background-image: url('https://i.postimg.cc/Y92BNKKr/xi-mei-zi.png') !important; }
.tb-sbnh { background-image: url('https://i.postimg.cc/PqjjxvSC/shi-bing-nan-hai.png') !important; }
.tb-tf { background-image: url('https://i.postimg.cc/fRYG6TMT/tu-fu.png') !important; }
.tb-stadj { background-image: url('https://i.postimg.cc/xd22CN6M/si-tan-ai-de-jia.png') !important; }
.tb-xg { background-image: url('https://i.postimg.cc/DZCkBjnv/xing-guang.png') !important; }
.tb-zz { background-image: url('https://i.postimg.cc/c1bG3bFF/zhi-zhe.png') !important; }
.tb-mfnw { background-image: url('https://i.postimg.cc/kg8Cqvv3/mei-fu-nu-wang.png') !important; }
.tb-mr { background-image: url('https://i.postimg.cc/NjTtBkkQ/mu-ru.png') !important; }
.tb-fgl { background-image: url('https://i.postimg.cc/65FKkmR8/fa-guo-lao.png') !important; }
.tb-sh { background-image: url('https://i.postimg.cc/q7TTR61v/shen-hai.png') !important; }
.tb-hy { background-image: url('https://i.postimg.cc/rF7TBPWC/huo-yao.png') !important; }
.tb-hct { background-image: url('https://i.postimg.cc/sDbzkNSp/huo-che-tou.png') !important; }
.tb-zdsy { background-image: url('https://i.postimg.cc/3rcQGct1/zha-dan-shi-ye.png') !important; }
.tb-xse { background-image: url('https://i.postimg.cc/fTSnffFb/xuan-se.png') !important; }
.tb-mdl { background-image: url('https://i.postimg.cc/DwshnPdY/ma-de-lin.png') !important; }
.tb-zgr { background-image: url('https://i.postimg.cc/59RWzRsG/zu-guo-ren.png') !important; }
.tb-nm { background-image: url('https://i.postimg.cc/R0BBFJgM/niu-man.png') !important; }
.tb-fhbj { background-image: url('https://i.postimg.cc/J4S8f2JH/fei-hong-bo-jue.png') !important; }
.tb-asl { background-image: url('https://i.postimg.cc/rFDcYkdt/ai-shen-li.png') !important; }
.tb-le { background-image: url('https://i.postimg.cc/BZVfFVmw/lai-en.png') !important; }
.tb-bk { background-image: url('https://i.postimg.cc/hv6FqXJc/bei-ka.png') !important; }
.tb-cys { background-image: url('https://i.postimg.cc/rF7TBPWz/chao-yin-su.png') !important; }
.tb-tmr { background-image: url('https://i.postimg.cc/mrssD1mw/tou-ming-ren.png') !important; }
.tb-bp { background-image: url('https://i.postimg.cc/658w1X7C/bian-pao.png') !important; }
.tb-fbn { background-image: url('https://i.postimg.cc/hPNnk5xT/feng-bao-nu.png') !important; }
.tb-mll { background-image: url('https://i.postimg.cc/JzJ8M5cp/ma-luo-li.png') !important; }
.tb-yl { background-image: url('https://i.postimg.cc/vTkRd41x/yu-lei.png') !important; }
.tb-sf { background-image: url('https://i.postimg.cc/sXHqpM4B/shen-fu.png') !important; }
