.quiz-sec-title { font-size: 1rem; margin: 8px 0 12px; }
.quiz-pick-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 18px;
}
.quiz-pick {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: right;
}
.quiz-pick.active {
    border-color: #8b5cf6;
    background: rgba(139,92,246,.15);
    color: var(--text);
    font-weight: 600;
}
.quiz-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    gap: 10px;
}
.q-timer {
    font-size: 1.4rem;
    font-weight: 800;
    color: #4ade80;
    min-width: 2.5rem;
    text-align: center;
}
.q-timer.danger { color: #f87171; animation: pulse 0.6s infinite alternate; }
@keyframes pulse { from { opacity: 1; } to { opacity: 0.6; } }
.q-image-wrap {
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    text-align: center;
}
.q-image {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}
.q-text {
    font-size: 1.1rem;
    margin-bottom: 14px;
    line-height: 1.7;
}
.q-options { display: flex; flex-direction: column; gap: 8px; }
.q-opt {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: right;
}
.q-opt:hover:not(:disabled) { border-color: #60a5fa; }
.q-opt.correct { border-color: #22c55e; background: rgba(34,197,94,.15); }
.q-opt.wrong { border-color: #ef4444; background: rgba(239,68,68,.12); }
.q-opt-key {
    background: rgba(59,130,246,.2);
    color: #93c5fd;
    border-radius: 8px;
    padding: 2px 8px;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.quiz-result-actions { margin-top: 14px; }
.card-quiz:hover { border-color: #22c55e; }
.card-quiz .card-btn { background: rgba(34,197,94,.15); color: #4ade80; }
.card-quiz:hover .card-btn { background: #22c55e; color: #0f172a; }

.q-image-wrap {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1220;
}
.q-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
