css
/* 锦绣金瓶 - 专属美化 CSS */
ai {
    display: block;
    background-color: #f8f2e8; /* 宣纸色背景 */
    background-image: radial-gradient(#e8dfc4 1px, transparent 0);
    background-size: 40px 40px; /* 极淡的纸张纹理 */
    padding: 12px;
    border: 2px solid #a61b1b;
    border-radius: 12px;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", serif;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 顶部环境信息 */
ai hd {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px double #a61b1b;
    margin-bottom: 15px;
}

ai hd t {
    font-size: 13px;
    color: #6a0d0d;
    background: rgba(166, 27, 27, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(166, 27, 27, 0.2);
}

/* 正文区域 */
ai main {
    display: block;
    color: #000000 !important; /* 强制正文纯黑 */
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    margin: 15px 0;
    padding: 0 5px;
}

ai main p {
    margin-bottom: 1.2em;
    text-indent: 2em; /* 首行缩进 */
}

/* 折叠容器通用样式 */
ai details {
    margin-top: 10px;
    border: 1px solid #d4c4a8;
    border-radius: 8px;
    overflow: hidden;
    background: #fffcf5;
    transition: all 0.3s ease;
}

ai details[open] {
    box-shadow: 0 2px 8px rgba(166, 27, 27, 0.1);
    border-color: #a61b1b;
}

/* 标题栏样式 */
ai summary {
    padding: 10px 15px;
    background: #a61b1b;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

ai summary::after {
    content: "▼";
    font-size: 12px;
    transition: transform 0.3s;
}

ai details[open] summary::after {
    transform: rotate(180deg);
}

/* 内容详情区 */
ai details p, ai details section {
    padding: 10px 15px;
    margin: 0;
    font-size: 14px;
    color: #444;
    border-bottom: 1px dashed #eee;
}

ai details b {
    color: #8b0000;
    margin-right: 4px;
}

ai hr {
    border: none;
    border-top: 1px solid #d4c4a8;
    margin: 5px 15px;
}

/* 记忆区表格美化 */
ai details[m] table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin: 10px 0;
}

ai details[m] th {
    background: #f0e6d2;
    color: #6a0d0d;
    padding: 6px;
    text-align: left;
    border: 1px solid #d4c4a8;
}

ai details[m] td {
    padding: 8px;
    border: 1px solid #d4c4a8;
    vertical-align: top;
}

ai details[m] p[t] {
    background: #a61b1b;
    color: #fff;
    padding: 4px 15px;
    font-weight: bold;
}

/* 行动推荐按钮化 */
ai details[a] nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
}

ai details[a] button {
    background: #fff;
    border: 1px solid #a61b1b;
    color: #a61b1b;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: 0.2s;
}

ai details[a] button:hover {
    background: #a61b1b;
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 480px) {
    ai details[a] nav {
        grid-template-columns: 1fr;
    }
    ai details[m] table {
        display: block;
        overflow-x: auto;
    }
}