/* ========================================== */
/* THE LUST-GOD PROTOCOL 重装气泡版 UI V4.2 */
/* ========================================== */

/* 1. 核心正文区域 (重装主脑气泡) */
text {
    display: block;
    position: relative;
    background: linear-gradient(180deg, #030811 0%, #061122 100%);
    border: 2px solid #87cefa !important; /* 边框加粗至2px */
    color: #ffffff !important;
    padding: 20px;
    margin: 15px 0 25px 0;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(135, 206, 250, 0.2), inset 0 0 15px rgba(0, 80, 150, 0.3);
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

text p {
    color: #ffffff !important;
    margin-bottom: 10px;
}

/* 正文大盒子的底部科技感切角修饰 */
text::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 40px;
    border-width: 12px 15px 0 0;
    border-style: solid;
    border-color: #87cefa transparent transparent transparent;
}
text::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 42px;
    border-width: 9px 11px 0 0;
    border-style: solid;
    border-color: #061122 transparent transparent transparent;
    z-index: 1;
}

/* 2. 状态栏面板 (重装加固) */
details {
    background-color: #040a14;
    border: 2px solid #4682b4 !important; /* 加粗 */
    margin-bottom: 12px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    color: #ffffff !important; 
    overflow: hidden;
}

summary {
    background: linear-gradient(90deg, #06152b, #0a2244);
    padding: 12px 15px;
    font-weight: bold;
    font-family: 'Consolas', monospace;
    letter-spacing: 1px;
    cursor: pointer;
    outline: none;
    color: #ffffff !important;
}

details[open] summary {
    border-bottom: 2px solid #87cefa !important; /* 加粗 */
    background: linear-gradient(90deg, #0a2244, #113355);
    text-shadow: 0 0 8px rgba(135, 206, 250, 0.6);
}

details div {
    color: #ffffff !important;
    font-family: 'Consolas', monospace;
    line-height: 1.6;
}
details div p, details div b { color: #ffffff !important; }
details div[style*="border-left"] { background-color: #030811 !important; border-left-width: 4px !important; }

/* 3. 暗网论坛气泡重构 (带真实聊天小尾巴) */

/* 左侧气泡 (围观嘲讽) */
div[style*="background-color:#111"] {
    position: relative;
    background: #0a1b35 !important;
    border: 2px solid #005a9e !important;
    border-left: 4px solid #87cefa !important;
    border-radius: 8px 8px 8px 0 !important; /* 调整圆角配合气泡尾巴 */
    color: #ffffff !important;
    padding: 12px 15px !important;
    margin-left: 10px !important;
}
/* 左侧小尾巴 */
div[style*="background-color:#111"]::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -14px;
    border-width: 0 10px 15px 0;
    border-style: solid;
    border-color: transparent #87cefa transparent transparent;
}
div[style*="background-color:#111"]::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: -9px;
    border-width: 0 7px 11px 0;
    border-style: solid;
    border-color: transparent #0a1b35 transparent transparent;
}

/* 右侧气泡 (黑市买卖) */
div[style*="background-color:#1a0000"] {
    position: relative;
    background: #1a0a10 !important;
    border: 2px solid #660022 !important;
    border-right: 4px solid #ff3366 !important;
    border-radius: 8px 8px 0 8px !important;
    color: #ffffff !important;
    padding: 12px 15px !important;
    margin-right: 10px !important;
    text-align: right;
}
/* 右侧小尾巴 */
div[style*="background-color:#1a0000"]::before {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -14px;
    border-width: 15px 10px 0 0;
    border-style: solid;
    border-color: #ff3366 transparent transparent transparent;
}
div[style*="background-color:#1a0000"]::after {
    content: '';
    position: absolute;
    bottom: 0px;
    right: -9px;
    border-width: 11px 7px 0 0;
    border-style: solid;
    border-color: #1a0a10 transparent transparent transparent;
}

/* 底部公告板 (情报悬赏) */
div[style*="background-color:#1a1a00"] {
    background: #222205 !important;
    border: 2px solid #888800 !important;
    border-left: 4px solid #ffff00 !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    padding: 12px 15px !important;
}

/* 4. 选项大外框与按钮 */
div[style*="border-top:1px dashed #555"] {
    background: #030811 !important;
    border: 2px solid #87cefa !important;
    border-top: 2px solid #87cefa !important;
    border-radius: 8px;
    padding: 15px !important;
}

div[style*="border-top:1px dashed #555"] > p {
    color: #ffffff !important;
    border-bottom: 2px dashed #87cefa;
    margin-bottom: 15px !important;
}

div[style*="background-color:#222"] {
    background: #06152b !important;
    border: 2px solid #4682b4 !important; /* 按钮边框加粗 */
    border-radius: 6px !important;
    padding: 12px 15px !important;
    transition: all 0.2s ease-in-out;
}

div[style*="background-color:#222"]:hover {
    background: #0a2244 !important;
    border-color: #87cefa !important;
    box-shadow: 0 0 15px rgba(135, 206, 250, 0.4);
    transform: translateX(8px);
}