/* ===== 列表页专用样式 ===== */
.exam-list {
    list-style: none;
    padding: 0;
}

.exam-list li {
    margin: 16px 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s, box-shadow 0.2s;
}

.exam-list li:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.exam-list a {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

.exam-list a::before {
    content: "📝 ";
}

.footer-note {
    margin-top: 32px;
    font-size: 0.85em;
    color: #888;
    text-align: center;
}







/* ===== 试卷页专用样式 ===== */


body {
    font-family: -apple-system, "Hiragino Kaku Gothic ProN", sans-serif;
    max-width: 700px;
    margin: auto;
    padding: 20px;
    background: #f8f9fa;
    line-height: 1.7;
    color: #222;
}
.section {
    background: white;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    counter-reset: q-counter;
}
.question {
    counter-increment: q-counter;
    margin-bottom: 14px;
    position: relative;
    padding-left: 30px;
}
.question::before {
    content: counter(q-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    font-weight: bold;
}
button {
    margin-top: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    border: none;
    background: #ddd;
    cursor: pointer;
}
button:hover { background: #ccc; }
.answer {
    display: none;
    background: #e6f7e6;
    padding: 10px;
    margin-top: 6px;
    border-left: 4px solid green;
    border-radius: 6px;
}
.show { display: block; }
.note {
    font-size: 0.95em;
    color: #555;
    margin-top: 4px;
}
h1, h2 { line-height: 1.4; }

.instruction {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #ddd;
    font-size: 0.95em;
}

.instruction strong {
    font-size: 1.2em;
    color: #333;
}

