/* 刘亦辰错题本 - 儿童友好样式 */

/* 首页大标题 */
.md-typeset h1 {
    font-size: 2.5em;
    color: #3f51b5;
    border-bottom: 3px solid #ffc107;
    padding-bottom: 10px;
}

/* 卡片样式 */
.grid.cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid.cards > * {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.grid.cards > *:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #3f51b5;
}

/* 表格样式 */
.md-typeset table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.md-typeset thead {
    background: linear-gradient(135deg, #3f51b5, #5c6bc0);
    color: white;
}

.md-typeset tbody tr:hover {
    background-color: #f5f5f5;
}

/* 复选框样式 */
.md-typeset input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3f51b5;
}

/* 引用块样式 */
.md-typeset blockquote {
    background: linear-gradient(135deg, #e8eaf6, #e3f2fd);
    border-left: 4px solid #3f51b5;
    border-radius: 0 8px 8px 0;
    padding: 12px 20px;
    font-size: 1.1em;
}

/* 代码块 */
.md-typeset code {
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 2px 6px;
}

/* 导航栏图标 */
.md-header-nav__button {
    font-size: 1.5em;
}

/* 页脚 */
.md-footer {
    background: linear-gradient(135deg, #3f51b5, #5c6bc0);
}

/* 深色模式适配 */
[data-md-color-scheme="slate"] .md-typeset h1 {
    color: #ffcc02;
}

[data-md-color-scheme="slate"] .grid.cards > * {
    border-color: #37474f;
}

[data-md-color-scheme="slate"] .md-typeset tbody tr:hover {
    background-color: #263238;
}
