/* 隐藏思维链 */
.think {
    display: none !important;
}

/* =========================================
   顶部状态栏美化 (<h> 标签)
   ========================================= */
h {
    display: block;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    border-left: 4px solid #5c82ff;
    border-radius: 8px;
    padding: 12px 15px;
    margin: 10px 0 15px 0;
    font-size: 0.9em;
    color: #444;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
h p {
    margin: 4px 0 !important; /* 覆盖默认p标签外边距，让排版更紧凑 */
}

/* =========================================
   正文排版优化 (<tx> 标签)
   ========================================= */
tx {
    display: block;
    line-height: 1.8;
    color: #2c3e50;
    font-size: 1em;
    margin-bottom: 15px;
    text-align: justify;
}

/* =========================================
   后置状态栏 & 记忆区美化 (<details> 标签)
   ========================================= */
details {
    background: rgba(255, 255, 255, 0.95);
    margin-top: 10px;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 8px 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    overflow: hidden;
}
details:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #d1d9e6;
}

/* 标题栏(summary)美化 */
summary {
    font-weight: bold;
    color: #333;
    cursor: pointer;
    padding: 5px 0;
    outline: none;
    transition: color 0.2s;
}
summary:hover {
    color: #5c82ff; /* 鼠标悬浮时变色提示可点击 */
}

/* =========================================
   课表 & 表格精美化 (table)
   ========================================= */
table {
    width: 100%;
    margin-top: 10px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #edf2f7;
}
table td {
    padding: 8px 4px;
    text-align: center;
    border-bottom: 1px solid #edf2f7;
    border-right: 1px solid #edf2f7;
    color: #4a5568;
}
table tr:last-child td {
    border-bottom: none;
}
table td:last-child {
    border-right: none;
}
table tr:first-child {
    background: #f7fafc;
    font-weight: bold;
    color: #2d3748;
}

/* =========================================
   高亮与特效 (针对加粗高亮文本)
   ========================================= */
span[style*="font-weight:bold;"] {
    color: #e65c00 !important;
    text-shadow: 0 0 8px rgba(230, 92, 0, 0.2);
    background: rgba(230, 92, 0, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

/* =========================================
   移动端极致适配
   ========================================= */
@media (max-width: 600px) {
    table td { 
        font-size: 11px; 
        padding: 6px 2px;
    }
    h {
        font-size: 0.85em;
        padding: 10px;
    }
}