/* 兜底隐藏思维链（防止AI漏掉HTML注释） */
think {
    display: none !important;
}

/* 正文样式与自适应颜色 */
text {
    display: block;
    margin: 15px 0;
    line-height: 1.8;
    /* 已经删除了固定颜色，现在会跟随网站日/夜间模式自动变色 */
}

/* 正文段落间距与首行缩进 */
text p {
    margin: 0 0 1em 0;
    text-indent: 2em;
}

/* 前置状态栏 */
.top-status {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(194, 166, 121, 0.4);
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 15px;
    color: #2c3e50;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(31, 38, 135, 0.05);
}
.top-status span {
    background: rgba(194, 166, 121, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    border-left: 2px solid #c2a679;
}

/* 独立的折叠面板（玩家、角色、记忆） */
.bottom-status {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(194, 166, 121, 0.5);
    border-radius: 8px;
    margin-top: 10px;
    color: #2c3e50;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(31, 38, 135, 0.05);
}

/* 折叠面板的标题条 */
.bottom-status summary {
    background: linear-gradient(135deg, #c2a679, #a88b5d);
    color: #ffffff;
    padding: 10px 15px;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    user-select: none;
    outline: none;
    font-weight: bold;
}
.bottom-status summary::-webkit-details-marker {
    display: none;
}

/* 面板内部文字区 */
.panel-content {
    font-size: 14px;
    line-height: 1.6;
    padding: 15px;
    color: #5c6b7a;
}

/* R18专属高亮 */
.r18-tag {
    color: #c93756;
    font-weight: bold;
    margin-top: 5px;
    display: inline-block;
}

/* 独立在外面的选项按钮 */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}
.opt {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(194, 166, 121, 0.6);
    border-left: 4px solid #c2a679;
    padding: 12px 15px;
    border-radius: 6px;
    cursor: pointer;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
}
.opt:hover {
    background: rgba(194, 166, 121, 0.15);
}

/* --- 正文对话专属高亮 --- */
.dia-f {
    color: #e85d89; 
    font-weight: bold;
}
.dia-m {
    color: #4a90e2;
    font-weight: bold;
}
.dia-t {
    color: #00b5ad;
    font-style: italic;
    font-weight: bold;
}

/* --- 状态栏专属高亮配色 --- */
.hl-name {
    color: #f5a623;
    font-weight: bold;
}
.hl-cult {
    color: #4a90e2;
    font-weight: bold;
}
.hl-favor {
    color: #ff6b81;
    font-weight: bold;
}
.hl-mind {
    color: #9b59b6;
    font-style: italic;
}
.hl-r18 {
    color: #e74c3c;
    font-weight: bold;
    text-decoration: underline;
}

/* 多角色区块底部间距 */
.npc-block {
    margin-bottom: 5px;
}