/* sam quiz : quiz illimite */
.inf-entry { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 14px; padding: 14px; border: 1px solid var(--line, #e5e7eb); border-radius: 14px; background: #fff; color: var(--ink, #111827); font: inherit; text-align: left; cursor: pointer; }
.inf-entry:active { transform: scale(0.98); }
.inf-entry-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: #eef2ff; font-size: 1.4rem; }
.inf-entry strong { display: block; font-size: 1rem; }
.inf-entry small { display: block; margin-top: 2px; color: var(--muted, #6b7280); font-size: 0.78rem; }
.inf-entry-go { margin-left: auto; font-size: 1.5rem; color: var(--muted, #6b7280); }

.inf-screen { position: fixed; inset: 0; z-index: 30; overflow-y: auto; background: var(--bg, #f6f7fb); color: var(--ink, #111827); animation: fadeIn 0.2s ease both; }
.inf-screen[hidden] { display: none; }
.inf-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; padding-top: calc(14px + env(safe-area-inset-top, 0px)); background: #3730a3; color: #fff; }
.inf-top h2 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.inf-close { width: 36px; height: 36px; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 1rem; cursor: pointer; }
.inf-score { min-width: 36px; text-align: right; font-weight: 800; }
.inf-body { max-width: 560px; margin: 0 auto; padding: 18px 16px calc(40px + env(safe-area-inset-bottom, 0px)); }
.inf-center { text-align: center; padding-top: 60px; }
.inf-center small { display: block; margin-top: 6px; color: var(--muted, #6b7280); }
.inf-label { margin: 18px 0 8px; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted, #6b7280); }
.inf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.inf-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border: 1.5px solid var(--line, #e5e7eb); border-radius: 12px; background: #fff; color: inherit; font: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.inf-chip span { font-size: 1.4rem; }
.inf-chip.on, .inf-pill.on, .inf-level.on { border-color: #4f46e5; background: #eef2ff; color: #3730a3; }
.inf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.inf-pill { padding: 9px 14px; border: 1.5px solid var(--line, #e5e7eb); border-radius: 999px; background: #fff; color: inherit; font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.inf-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.inf-level { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 4px; border: 1.5px solid var(--line, #e5e7eb); border-radius: 12px; background: #fff; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.inf-start { display: block; width: 100%; margin-top: 22px; padding: 15px; border: none; border-radius: 12px; background: #4f46e5; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.inf-start:active { transform: scale(0.98); }
.inf-ghost { display: block; width: 100%; margin-top: 10px; padding: 13px; border: 1px solid var(--line, #e5e7eb); border-radius: 12px; background: #fff; color: #3730a3; font: inherit; font-weight: 700; cursor: pointer; }
.inf-note { margin: 14px 0 0; color: var(--muted, #6b7280); font-size: 0.78rem; line-height: 1.5; }
.inf-count { margin: 0 0 8px; color: var(--muted, #6b7280); font-size: 0.8rem; font-weight: 700; }
.inf-q { margin: 0 0 16px; font-size: 1.15rem; line-height: 1.45; }
.inf-choices { display: flex; flex-direction: column; gap: 10px; }
.inf-choice { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 1.5px solid var(--line, #e5e7eb); border-radius: 12px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.inf-choice b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f3f4f6; font-size: 0.8rem; }
.inf-choice:disabled { cursor: default; }
.inf-choice.good { border-color: #16a34a; background: #f0fdf4; }
.inf-choice.good b { background: #16a34a; color: #fff; }
.inf-choice.bad { border-color: #dc2626; background: #fef2f2; }
.inf-choice.bad b { background: #dc2626; color: #fff; }
.inf-expl { margin-top: 16px; padding: 14px; border-radius: 12px; font-size: 0.92rem; line-height: 1.5; animation: fadeUp 0.3s ease both; }
.inf-expl p { margin: 6px 0 0; }
.inf-expl.ok { background: #f0fdf4; color: #166534; }
.inf-expl.ko { background: #fef2f2; color: #991b1b; }
.inf-big { font-size: 3.4rem; font-weight: 900; color: #4f46e5; }
.inf-spin { width: 44px; height: 44px; margin: 0 auto 16px; border: 4px solid #e0e7ff; border-top-color: #4f46e5; border-radius: 50%; animation: infSpin 0.9s linear infinite; }
@keyframes infSpin { to { transform: rotate(360deg); } }
