.journey-scout small {
    display: block;
    margin-top: 4px;
    color: #ccd8f7;
    font: 500 .8rem/1.2 var(--sans);
    letter-spacing: normal;
}
.journey-frame .journey-caption {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}
.journey-actor {
    width: clamp(86px, 11vw, 142px);
    height: auto;
    max-height: 117px;
    object-fit: contain;
    filter: drop-shadow(0 6px 13px #6f89cc48);
    transform-origin: center bottom;
}
.stack-scout {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 10px 12px;
    border: 1px solid #576da5;
    border-radius: 12px;
    background: #17264d;
}
.scout-tip-portrait { width: 77px; height: auto; }
.stack-scout strong { color: #e5f6b0; font-size: .95rem; }
.stack-scout p { margin-top: 2px; color: #d7e3ff; font-size: .91rem; line-height: 1.35; }

.replay-scout {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    margin-top: 18px;
    padding: 12px;
    border: 1px solid #667caf;
    border-radius: 12px;
    background: #223560;
}
.replay-scout-portrait { width: clamp(60px, 6.8vw, 94px); height: auto; }
.replay-scout h4 { margin: 0; color: #eef6d6; font: 730 1.08rem/1.28 var(--display); }
.replay-scout p {
    margin-top: 4px;
    color: #e0e9fd;
    font-size: .9rem;
    line-height: 1.38;
    overflow-wrap: anywhere;
}
.replay-scout button {
    min-height: 40px;
    max-width: 100%;
    margin-top: 9px;
    padding: 6px 9px;
    border: 1px solid var(--lime);
    border-radius: 7px;
    background: var(--lime);
    color: #1a2539;
    font-size: .84rem;
    font-weight: 740;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}
.replay-scout button:hover { background: var(--lime-hover); }
.replay-scout button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

@media (min-width: 900px) and (max-height: 660px) {
    .journey-shell[data-playback] .journey-panel { padding-block: 26px; }
    .journey-actor { width: 82px; }
}
@media (max-width: 520px) {
    .scout-tip-portrait { width: 57px; }
    .replay-scout { padding: 9px; gap: 7px; }
}
@media (prefers-reduced-motion: no-preference) {
    .journey-frame[data-animate] .journey-actor {
        animation: scout-arrive 720ms cubic-bezier(.2, .7, .3, 1) 220ms both;
    }
    .replay-scout[data-scout-state="missing"] .replay-scout-portrait {
        animation: scout-notice 500ms ease-out both;
    }
    .replay-scout[data-scout-state="found"] .replay-scout-portrait {
        animation: scout-found 610ms ease-out both;
    }
    @keyframes scout-arrive {
        0% { opacity: .3; transform: translate(20px, 10px) scale(.86); }
        62% { opacity: 1; transform: translate(0, -6px) rotate(-4deg) scale(1.04); }
        100% { opacity: 1; transform: none; }
    }
    @keyframes scout-notice {
        0%, 100% { transform: none; }
        45% { transform: rotate(-9deg) translateX(-3px); }
    }
    @keyframes scout-found {
        0%, 100% { transform: none; }
        45% { transform: translateY(-9px) rotate(-7deg) scale(1.05); }
    }
}
