<div class="quiz-actions">
    <a href="/quizzes/new" class="btn btn-primary" {{ guest_disabled(user) }}><span class="icon">🧩</span> New quiz</a>
    <button type="button" class="btn btn-secondary" data-devii-open
            data-devii-prompt="Create a quiz for me. Ask me for the topic, the number of questions and the difficulty, then build it with import_quiz and show me the result."
            {{ guest_disabled(user) }}><span class="icon">🤖</span> Create quiz with Devii</button>
    {% if not user %}
    <a href="/auth/login" class="quiz-login-hint">Log in to create and play quizzes</a>
    {% endif %}
</div>
