
css
/* 隔离保护：基于 ai 容器建立全套样式，避免污染全局 */
ai {
    display: block;
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', sans-serif;
    color: #dcdcdc;
    line-height: 1.5;
    font-size: 14px;
}

/* 顶部环境标题：电影感渐变悬浮带 */
ai hd {
    display: block;
    text-align: center;
    padding: 6px 12px;
    margin: 0 0 12px 0;
    background: linear-gradient(90deg, transparent, rgba(162, 59, 114, 0.2), transparent);
    border-bottom: 1px solid rgba(162, 59, 114, 0.5);
    color: #ffb8d1;
    font-size: 13px;
    letter-spacing: 2px;
    text-shadow: 0 0 6px rgba(162, 59, 114, 0.6);
    font-weight: 600;
}

/* 底部状态主面板：深色毛玻璃质感底框 */
ai details {
    margin-top: 15px;
    background: rgba(20, 16, 22, 0.75);
    border: 1px solid rgba(120, 40, 70, 0.4);
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* 隐藏原生粗糙箭头，定制诱惑感标题 */
ai summary {
    list-style: none;
    cursor: pointer;
    color: #ff477e;
    font-weight: bold;
    font-size: 15px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 71, 126, 0.3);
    margin-bottom: 10px;
    letter-spacing: 1px;
    transition: text-shadow 0.3s;
}
ai summary::-webkit-details-marker {
    display: none;
}
ai summary:hover {
    text-shadow: 0 0 10px rgba(255, 71, 126, 0.8);
}

/* 分类信息组：弹性流式布局与左侧强调线 */
ai p {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0 0 14px 0;
    padding: 6px 0 0 12px;
    position: relative;
    border-left: 2px solid rgba(162, 59, 114, 0.6);
}
ai p:last-child {
    margin-bottom: 0;
}

/* 魔法提取：用 ::before 自动读取 t="xxx" 的值作为小标题 */
ai p[t]::before {
    content: attr(t);
    display: block;
    width: 100%;
    font-size: 12px;
    color: #e58e26;
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* 数据胶囊：紧凑的Tag样式，适合零碎的生殖/心理状态罗列 */
ai d {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 13px;
    color: #d1d8e0;
}

/* 视觉焦点：高亮每组的第一个Tag（通常是姓名/好感度） */
ai p d:first-of-type {
    background: rgba(255, 71, 126, 0.12);
    border-color: rgba(255, 71, 126, 0.35);
    color: #ff9ff3;
}

/* 记忆条目：精致的列表视觉 */
ai m {
    display: block;
    width: 100%;
    font-size: 13px;
    color: #a4b0be;
    padding-left: 14px;
    position: relative;
    margin-bottom: 4px;
    line-height: 1.4;
}
ai m::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 1px;
    color: #ff477e;
    font-size: 11px;
}

