  /* Card */
  .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
  }

  .q-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .6rem;
  }
  .q-num {
    font-size: 12px;
    color: var(--text-muted);
  }
  .q-badge {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 20px;
    background: var(--accent-bg);
    color: var(--accent-text);
    font-weight: 500;
  }

  .question {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    margin-bottom: 1rem;
    color: var(--text);
  }


  /* Notation vecteur */
  .vec { display:inline-grid; grid-template-rows:auto auto; justify-items:center; line-height:1; vertical-align:middle; gap:0; }
  .vec::before { content:'→'; font-size:.55em; line-height:1; }
  /* Chrono */

  /* Sélecteur chrono */
  .chrono-select {
    display: flex;
    gap: 6px;
    margin-bottom: .8rem;
    justify-content: center;
  }
  .chrono-opt {
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--text-sec);
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: all .15s;
  }
  .chrono-opt.active {
    background: var(--accent-bg);
    color: var(--accent-text);
    border-color: var(--accent);
  }
  /* Récap */
  .recap-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
  }
  .recap-q { font-weight: 600; color: var(--text-primary); margin-bottom: 4px; line-height: 1.4; }
  .recap-ok { color: var(--success); font-size: 12px; }
  .recap-ko { color: var(--danger); font-size: 12px; }
  .recap-exp { color: var(--text-muted); font-size: 12px; margin-top: 3px; font-style: italic; }
  /* Bouton indice */
  .hint-btn {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--text-sec);
    cursor: pointer;
    font-family: inherit;
    margin-top: .5rem;
  }
  .hint-box {
    margin-top: .5rem;
    padding: 8px 12px;
    background: #fff8e1;
    border-radius: var(--radius);
    font-size: 13px;
    color: #7a5c00;
    border: 1px solid #ffe082;
  }
  .chrono-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
  }
  .chrono-bar-bg {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
  }
  .chrono-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width .25s linear, background .25s;
  }
  .chrono-bar-fill.warn { background: var(--danger); }
  .chrono-txt {
    font-size: 12px;
    color: var(--text-muted);
    min-width: 28px;
    text-align: right;
  }

  /* Choices */
  .choices { display: flex; flex-direction: column; gap: 8px; }
  .choice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    background: transparent;
    text-align: left;
    transition: all .15s;
    width: 100%;
    font-family: inherit;
    line-height: 1.4;
  }
  .choice:hover:not(:disabled) {
    border-color: var(--border-strong);
    background: var(--surface2);
  }
  .choice .letter {
    font-weight: 600;
    font-size: 13px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    color: var(--text-sec);
    flex-shrink: 0;
  }
  .choice.correct { border-color: var(--success); background: var(--success-bg); color: var(--success); }
  .choice.correct .letter { border-color: var(--success); color: var(--success); }
  .choice.wrong { border-color: var(--danger); background: var(--danger-bg); color: var(--danger); }
  .choice.wrong .letter { border-color: var(--danger); color: var(--danger); }
  .choice.reveal { border-color: var(--success); background: var(--success-bg); color: var(--success); }
  .choice:disabled { cursor: default; }

  /* Feedback */
  .feedback {
    margin-top: .9rem;
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.5;
    min-height: 1.4em;
  }

  /* Bottom bar */
  .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: .5rem;
    padding: 0 .25rem;
  }
  .score-txt {
    font-size: 13px;
    color: var(--text-sec);
  }
  .next-btn {
    font-size: 13px;
    padding: 8px 16px;
    border-radius: var(--radius);
    border: none;
    background: #e65c00;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: background .15s;
  }
  .next-btn:hover { background: #cc5200; }

  /* End screen */
  .end-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
  }
  .end-label { font-size: 13px; color: var(--text-muted); }
  .end-score { font-size: 48px; font-weight: 600; color: var(--text); margin: .75rem 0 .5rem; }
  .end-msg { font-size: 15px; color: var(--text-sec); margin-bottom: 1.5rem; }
  .end-stars { font-size: 28px; margin-bottom: .5rem; }
  .restart-btn {
    font-size: 14px;
    padding: 10px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
  }
  .restart-btn:hover { background: var(--surface2); }

  /* Progress dots */
  .progress-dots {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 1rem;
  }
  .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--border);
    transition: background .2s;
  }
  .dot.done-ok { background: var(--success); }
  .dot.done-ko { background: var(--danger); }
  .dot.current { background: var(--accent); }

  /* Footer */
  .app-footer {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    padding: 1rem 0 2rem;
  }
