/* --- 全局容器设定：模拟办公文档 --- */
:root {
    --titan-blue: #3370ff;       /* 飞书/钉钉蓝 */
    --titan-bg: #ffffff;         /* 纯白背景 */
    --titan-gray-bg: #f5f6f7;    /* 浅灰底色 */
    --titan-text-main: #1f2329;  /* 深灰黑文本 */
    --titan-text-sec: #646a73;   /* 次级文本 */
    --titan-border: #dee0e3;     /* 边框色 */
    --titan-red: #f54a45;        /* 警告/压力 */
    --titan-green: #34c724;      /* 正常/精力 */
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body, .markdown-body {
    background-color: var(--titan-bg);
    color: var(--titan-text-main);
    font-family: var(--font-stack);
    line-height: 1.7;
    font-size: 15px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* --- 顶部信息栏 --- */
h3:first-of-type {
    background: var(--titan-gray-bg);
    border-left: 4px solid var(--titan-blue);
    padding: 10px 15px;
    font-size: 14px;
    color: var(--titan-text-sec);
    border-radius: 4px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

/* --- 正文区域 --- */
p {
    margin-bottom: 1.2em;
    text-align: justify;
}

/* 模拟职场高压的引用样式 */
blockquote {
    border-left: 3px solid var(--titan-red);
    background-color: rgba(245, 74, 69, 0.05);
    color: var(--titan-text-sec);
    padding: 10px 15px;
    margin: 15px 0;
    font-style: italic;
}

/* --- 状态仪表盘 (Dashboard) --- */
.status-dashboard {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
    background: var(--titan-bg);
    border: 1px solid var(--titan-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.panel-player, .panel-target {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.panel-player {
    border-right: 1px solid var(--titan-border);
    background: #fff;
}

.panel-target {
    background: #fafbfc;
}

/* 状态栏标题 */
h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--titan-text-sec);
    border-bottom: 2px solid var(--titan-blue);
    padding-bottom: 8px;
    margin-top: 0;
    margin-bottom: 15px;
}

/* 列表样式优化 */
.status-dashboard ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.status-dashboard li {
    margin-bottom: 8px;
    font-size: 13px;
    padding-left: 0;
    display: block;
}

/* 强调数值 */
code {
    background: rgba(51, 112, 255, 0.1);
    color: var(--titan-blue);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: Consolas, monospace;
    font-size: 0.9em;
}

/* --- 记忆区 (Details) --- */
details {
    background: var(--titan-gray-bg);
    border: 1px solid var(--titan-border);
    border-radius: 6px;
    margin: 20px 0;
    padding: 5px 10px;
    font-size: 12px;
    color: var(--titan-text-sec);
}

summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--titan-text-main);
    padding: 5px;
}

details[open] {
    padding-bottom: 15px;
}

/* --- 选项按钮化 --- */
/* 隐藏无序列表的默认样式，改为卡片式 */
h3:last-of-type + ul, 
h3:last-of-type + blockquote + ul { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
    padding: 0;
    list-style: none;
}

h3:last-of-type + ul li,
h3:last-of-type + blockquote + ul li {
    background: #fff;
    border: 1px solid var(--titan-border);
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

h3:last-of-type + ul li:hover,
h3:last-of-type + blockquote + ul li:hover {
    border-color: var(--titan-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(51, 112, 255, 0.15);
}

h3:last-of-type + ul li strong,
h3:last-of-type + blockquote + ul li strong {
    color: var(--titan-blue);
    display: block;
    margin-bottom: 4px;
}

/* 手机端适配调整 */
@media (max-width: 600px) {
    .panel-player {
        border-right: none;
        border-bottom: 1px solid var(--titan-border);
    }
    
    h3:last-of-type + ul {
        grid-template-columns: 1fr;
    }
    
    .status-dashboard {
        flex-direction: column;
    }
}