css
ai {
    display: block;
    /* 现代都市校园主题配色系统 */
    --primary: #4a90e2;      /* 校园晨雾蓝 (主色调) */
    --secondary: #50e3c2;    /* 初夏薄荷绿 (点缀色) */
    --accent: #ff6b81;       /* 活力微红 (用于敏感/强调信息) */
    --bg-color: #f4f7f9;     /* 极浅灰蓝背景 (增加呼吸感) */
    --card-bg: #ffffff;      /* 卡片纯白 */
    --text-main: #2d3436;    /* 核心文字深灰 */
    --text-sub: #636e72;     /* 辅助文字浅灰 */
    --border: #dfe6e9;       /* 柔和分割线 */
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.6;
    background: var(--bg-color);
    padding: 12px;
    border-radius: 16px;
    box-sizing: border-box;
}

/* APP卡片式面板 */
ai details {
    background: var(--card-bg);
    border-radius: 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(74, 144, 226, 0.05);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

ai details:hover {
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.08);
    transform: translateY(-1px);
}

ai details[open] {
    padding-bottom: 12px;
}

/* 精致的标题栏 */
ai summary {
    list-style: none;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 15px;
    color: var(--primary);
    cursor: pointer;
    position: relative;
    background: linear-gradient(90deg, rgba(74,144,226,0.06) 0%, transparent 80%);
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

ai summary::-webkit-details-marker {
    display: none;
}

/* 折叠/展开动效十字星 */
ai summary::after {
    content: "＋";
    color: var(--primary);
    font-size: 18px;
    font-weight: 300;
    transition: transform 0.3s ease, color 0.3s;
}

ai details[open] summary::after {
    transform: rotate(45deg);
    color: var(--text-sub);
}

ai details[open] summary {
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

/* 标准数据行 */
ai d {
    display: block;
    padding: 4px 16px;
    color: var(--text-main);
    word-wrap: break-word;
}

/* 键名转化为 APP 风格的圆角 Tag 徽章 */
ai b {
    display: inline-block;
    background: rgba(74, 144, 226, 0.08);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 6px;
    margin-bottom: 4px;
    vertical-align: baseline;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

/* 列表转化为都市手账/时间轴风格 */
ai l {
    display: block;
    position: relative;
    padding: 4px 16px 4px 26px;
    margin: 4px 16px;
    font-size: 13px;
    color: var(--text-sub);
    border-left: 2px solid var(--border);
    background: linear-gradient(90deg, rgba(223, 230, 233, 0.2) 0%, transparent 100%);
    border-radius: 0 6px 6px 0;
}

/* 时间轴节点小圆点 */
ai l::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    border: 2px solid var(--card-bg);
    box-shadow: 0 0 0 1px var(--border);
}

/* 列表内的徽章弱化，变为纯文本加冒号 */
ai l b {
    background: transparent;
    color: var(--text-main);
    border: none;
    padding: 0;
    font-size: 13px;
    margin-right: 4px;
    font-weight: 600;
}
ai l b::after {
    content: ":";
    margin-left: 2px;
    color: var(--text-main);
}

/* 针对女性NPC敏感部位的专属优雅高亮（微红内联块） */
ai i {
    font-style: normal;
    display: inline-block;
    background: rgba(255, 107, 129, 0.08);
    color: var(--accent);
    border-left: 2px solid var(--accent);
    padding: 1px 6px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 6px;
    border-radius: 0 4px 4px 0;
}

/* 多NPC隔离与优雅分割线 */
ai n {
    display: block;
    position: relative;
    padding-top: 4px;
}

ai n + n {
    margin-top: 16px;
    padding-top: 16px;
}

ai n + n::before {
    content: "✦ NEXT PROFILE ✦";
    display: block;
    text-align: center;
    font-size: 10px;
    color: rgba(99, 110, 114, 0.5);
    letter-spacing: 3px;
    margin-bottom: 16px;
    border-top: 1px dashed var(--border);
    padding-top: 12px;
}

/* 记忆区表格美化：紧凑型数据报表风格 */
ai table {
    width: calc(100% - 32px);
    margin: 8px 16px 12px;
    border-collapse: collapse;
    font-size: 12px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--border);
}

ai th {
    background: rgba(74, 144, 226, 0.06);
    color: var(--primary);
    font-weight: 600;
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

ai td {
    padding: 8px;
    border-bottom: 1px solid var(--border);
    color: var(--text-sub);
    vertical-align: top;
}

ai tr:last-child td {
    border-bottom: none;
}

ai tr:hover td {
    background: rgba(74, 144, 226, 0.02);
}