/* ===== Active Journey Banner (injected into levels.html when a journey is active) ===== */

.journey-active-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: rgba(108, 99, 255, 0.18);
    border: 1px solid rgba(108, 99, 255, 0.4);
    border-radius: 14px;
    padding: 12px 18px;
    margin: 16px 0 24px;
    font-family: 'Lexend Deca', sans-serif;
}

.jb-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.jb-type {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(108, 99, 255, 0.35);
    color: #c7c4fd;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.jb-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.jb-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.jb-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.jb-switch {
    font-size: 0.82rem;
    color: #a5b4fc;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    transition: color 0.2s;
}
.jb-switch:hover { color: #c7d2fe; }

.jb-exit {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-family: inherit;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
}
.jb-exit:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

@media (max-width: 500px) {
    .journey-active-banner { flex-direction: column; align-items: flex-start; }
    .jb-right { width: 100%; justify-content: flex-end; }
}
