css
:root {
    --g-bg: linear-gradient(135deg, #f1f8e9 0%, #efebe9 100%);
    --c-main: #5d4037; /* 浅咖啡主色 */
    --c-sub: #8d6e63;  /* 辅色 */
    --c-acc: #a5d6a7;  /* 淡绿点缀 */
    --glass: rgba(255, 255, 255, 0.65);
    --glass-h: rgba(255, 255, 255, 0.85);
    --b-rad: 12px;
    --shad: 0 4px 20px rgba(93, 64, 55, 0.08);
}

.ui-root {
    font-family: 'Helvetica Neue', 'PingFang SC', sans-serif;
    max-width: 800px;
    margin: 0 auto;
    background: var(--g-bg);
    color: var(--c-main);
    line-height: 1.6;
    padding: 15px;
    border-radius: var(--b-rad);
    font-size: 14px;
}

/* 头部信息 */
.inf-head {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: var(--c-sub);
    border-bottom: 1px dashed rgba(93,64,55,0.2);
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* 正文区域 */
.txt-body {
    background: var(--glass);
    padding: 20px;
    border-radius: var(--b-rad);
    box-shadow: var(--shad);
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.8);
    text-align: justify;
}

/* 折叠组件通用样式 */
details {
    background: var(--glass);
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.5);
    overflow: hidden;
    transition: all 0.3s ease;
}

details[open] {
    background: var(--glass-h);
    box-shadow: var(--shad);
}

summary {
    padding: 10px 15px;
    cursor: pointer;
    font-weight: bold;
    color: var(--c-main);
    list-style: none;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}

summary:hover {
    background: rgba(165, 214, 167, 0.2);
}

summary::after {
    content: '+';
    margin-left: auto;
    color: var(--c-acc);
    font-weight: 900;
}

details[open] summary::after {
    content: '-';
}

summary::-webkit-details-marker {
    display: none;
}

/* 折叠内容区 */
.d-con {
    padding: 15px;
    border-top: 1px solid rgba(93,64,55,0.1);
    font-size: 0.95em;
}

/* 列表与键值对 */
.kv-row {
    display: flex;
    margin-bottom: 6px;
}
.k {
    font-weight: bold;
    min-width: 50px;
    color: var(--c-sub);
}
.v {
    flex: 1;
}

/* 好感度条 */
.fav-wrap {
    display: flex;
    align-items: center;
    margin: 8px 0;
}
.fav-bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin: 0 10px;
    overflow: hidden;
}
.fav-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--c-acc), #66bb6a);
    border-radius: 4px;
}
.fav-chg {
    font-size: 0.8em;
    color: #ef5350;
}

/* 选项样式 */
.opt-list div {
    padding: 8px 12px;
    background: rgba(255,255,255,0.5);
    margin-bottom: 6px;
    border-radius: 6px;
    border-left: 3px solid var(--c-acc);
}

/* 记忆区微调 */
.mem-rule {
    font-size: 0.85em;
    color: #795548;
    background: rgba(255,255,255,0.4);
    padding: 10px;
    border-radius: 6px;
}