css
/* 容器初始化：樱粉主题 */
ai {
    display: block;
    background: linear-gradient(180deg, #fff9fb 0%, #ffeef2 100%);
    padding: 12px;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #5d4037; /* 深咖啡色，确保文字极度清晰 */
    line-height: 1.6;
}

/* 顶部状态栏 */
hd {
    display: block;
    text-align: center;
    font-size: 13px;
    color: #ff758f;
    padding: 8px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #ffc1d1;
    border-radius: 20px;
    margin-bottom: 15px;
}

/* 正文美化：信纸质感 */
main {
    display: block;
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.15);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    border: 1px solid #ffe4ec;
}

/* 折叠面板通用样式 */
details {
    margin-bottom: 12px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #ffdae3;
    overflow: hidden;
    transition: all 0.3s ease;
}

details[open] {
    box-shadow: 0 5px 15px rgba(255, 117, 143, 0.1);
}

summary {
    padding: 10px 15px;
    background: #fff0f3;
    color: #ff758f;
    font-weight: bold;
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    outline: none;
}

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

summary::before {
    content: '❤';
    margin-right: 8px;
    font-size: 12px;
    transition: transform 0.3s;
}

details[open] summary::before {
    transform: scale(1.2);
    color: #ff4d6d;
}

/* 内部内容布局 */
details p, details div, details d {
    padding: 10px 15px;
    display: block;
}

/* 标签与字段 */
f {
    color: #ff758f;
    font-weight: bold;
    margin-right: 4px;
}

d {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    border-bottom: 1px dashed #ffe4ec;
    padding-bottom: 4px !important;
}

d:last-child { border-bottom: none; }

/* 分区小标题 */
t {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #d81b60;
    background: #ffe4ec;
    padding: 4px 12px;
    margin: 10px -15px 10px -15px;
    border-left: 4px solid #ff758f;
}

/* 妹妹内心独白 */
q {
    display: block;
    font-style: italic;
    background: #fff5f7;
    padding: 12px !important;
    margin: 10px 0;
    border-radius: 8px;
    color: #ad1457;
    border-left: 3px solid #ff80ab;
    font-size: 14px;
}

/* 进度条：好感度 */
progress {
    appearance: none;
    width: 80px;
    height: 10px;
    vertical-align: middle;
}

progress::-webkit-progress-bar {
    background: #ffe4ec;
    border-radius: 5px;
}

progress::-webkit-progress-value {
    background: linear-gradient(90deg, #ff85a1, #ff4d6d);
    border-radius: 5px;
}

/* 表格：记忆区优化 */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin: 8px 0;
}

th {
    background: #fff0f3;
    color: #ff758f;
    padding: 6px;
    border: 1px solid #ffdae3;
}

td {
    border: 1px solid #ffdae3;
    padding: 6px;
    text-align: left;
    vertical-align: top;
}

/* 行动推荐按钮化 */
[t="p4"] d {
    background: #fff;
    border: 1px solid #ffc1d1;
    margin-bottom: 8px;
    border-radius: 8px;
    padding: 8px 12px !important;
    transition: background 0.2s;
    color: #ff758f;
}

[t="p4"] d:hover {
    background: #fff0f3;
}