/* A compact learning journey; no extra animation library or scoring. */
.ob-quiz-journey { margin-bottom: 26px; min-width: 0; }
.ob-quiz-phases { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.ob-quiz-phases li { display: flex; align-items: center; gap: 8px; color: #9ca99f; font-size: 11px; line-height: 1.4; }
.ob-quiz-phases li>span { flex: 0 0 26px; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #586258; border-radius: 4px; font: 20px/1 'VT323',monospace; }
.ob-quiz-phases .is-current { color: #edf5de; }
.ob-quiz-phases .is-current>span { background: #d2eea8; border-color: #d2eea8; color: #1c2b1e; box-shadow: 3px 3px 0 #080d10; }
.ob-quiz-phases .is-complete>span { color: #d2eea8; border-color: #9cae7d; }
.ob-quiz-trail { display: grid; grid-template-columns: repeat(9,minmax(0,1fr)); gap: 7px; padding-top: 28px; }
.ob-quiz-trail>i { position: relative; height: 6px; background: #39443d; border-radius: 1px; }
.ob-quiz-trail>.is-complete { background: #9aae7e; }
.ob-quiz-trail>.is-current { background: #d2eea8; }
.ob-quiz-trail>.is-answered { animation: ob-trail-confirm .4s ease-out; }
.ob-quiz-explorer { position: absolute; left: calc(50% - 10px); bottom: 13px; width: 20px; height: 20px; animation: ob-explorer-arrive .55s ease-out both; }
.ob-quiz-explorer::before { content: ''; position: absolute; left: 6px; top: 0; width: 4px; height: 4px; background: #ead4aa; box-shadow: 4px 0 #ead4aa,0 4px #ead4aa,4px 4px #ead4aa,-4px 8px #d2eea8,0 8px #d2eea8,4px 8px #d2eea8,8px 8px #d2eea8,0 12px #d2eea8,4px 12px #d2eea8,0 16px #97af80,8px 16px #97af80; }
.ob-quiz-room { display: flex; align-items: center; gap: 16px; margin-top: 21px; padding: 10px 15px 10px 8px; border: 1px solid #65755366; border-radius: 7px; background: #26332970; min-height: 83px; }
.ob-quiz-room img { flex: 0 0 94px; width: 94px; height: 63px; object-fit: contain; }
.ob-quiz-room>div { min-width: 0; flex: 1; }
.ob-quiz-room div>span { display: block; color: #b8c3b0; font-size: 10px; margin-bottom: 5px; }
.ob-quiz-room strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; color: #e8f3d7; text-wrap: balance; }
.ob-quiz-room-spark { color: #d2eea8; font-size: 20px; animation: ob-room-unlock .7s ease-out both; }
.ob-quiz-selection-status { color: #adb8a6; font-size: 12px; line-height: 1.6; min-height: 20px; margin-top: 16px; }
.ob-question-main:has(.quiz-option.selected) .ob-quiz-selection-status { color: #d2eea8; }
.onebar-redesign .quiz-option { touch-action: manipulation; min-height: 58px; }
.onebar-redesign .quiz-option:active { transform: scale(.99); }
.onebar-redesign .quiz-option:focus-visible, .ob-back:focus-visible, .quiz-continue-btn:focus-visible { outline: 2px solid #d2eea8; outline-offset: 4px; }
.ob-question-actions { margin-top: 15px; }
@keyframes ob-explorer-arrive { from { transform: translateY(-6px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes ob-trail-confirm { 50% { transform: scaleY(1.8); } }
@keyframes ob-room-unlock { from { transform: scale(.65) rotate(-25deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
@media(max-width:760px) {
    .ob-quiz-journey { margin-bottom: 22px; }
    .ob-quiz-phases { gap: 8px; }
    .ob-quiz-phases li { display: grid; align-content: start; gap: 7px; font-size: 11px; }
    .ob-quiz-phases li>span { width: 24px; height: 24px; }
    .ob-quiz-trail { gap: 5px; padding-top: 30px; }
    .ob-quiz-room { gap: 10px; padding: 8px 10px 8px 4px; margin-top: 16px; min-height: 70px; }
    .ob-quiz-room img { flex-basis: 72px; width: 72px; height: 48px; }
    .ob-quiz-room strong { font-size: 15px; }
    .ob-quiz-room-spark { font-size: 16px; }
    .onebar-redesign .quiz-option-text { font-size: 14px; line-height: 1.55; }
    .ob-question-actions { gap: 12px; margin-top: 12px; }
    .ob-question-actions .ob-action { min-height: 48px; flex: 1; justify-content: center; }
    .ob-question-actions .ob-back { min-height: 48px; }
    .ob-quiz-selection-status { margin-top: 12px; font-size: 12px; }
}
@media(prefers-reduced-motion:reduce) {
    .ob-quiz-explorer,.ob-quiz-trail>.is-answered,.ob-quiz-room-spark { animation: none; }
    .onebar-redesign .quiz-option:active { transform: none; }
}
