/* journey-renderer.css - styles for the journey content cards */
/* the renderer (/journey-renderer.js) emits.                    */
/*                                                                 */
/* Loaded by journey.html (timeline + single-journey render path)  */
/* and journey-save.html (local-recap "moment" render path). Both  */
/* pages call window.JourneyRenderer.renderJourneyContent which    */
/* outputs HTML using these classes; centralizing the styles here  */
/* prevents drift across the two pages.                            */
/*                                                                 */
/* Mirrors the JS extraction pattern (shared-nba-ranker.js).       */
/* When a third page needs to render journey content (e.g. a       */
/* future /journey/delete artifact-archive view), it loads this    */
/* file the same way - no further extraction needed.               */


.journey-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.6s ease forwards;
}
.journey-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--text-whisper);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.journey-section {
    margin-bottom: 1.75rem;
}
.journey-section:last-child {
    margin-bottom: 0;
}
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: var(--text-whisper);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
}
.section-value {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.section-value.artifact {
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    padding: 1rem;
    background: rgba(130, 175, 255, 0.03);
    border-left: 2px solid var(--accent-dim);
    border-radius: 0 6px 6px 0;
}
.journey-quiet-manifesto {
    animation: quietBreathe 8s ease-in-out infinite;
}
.commitment-kept-btn {
    background: none;
    border: 1px solid rgba(130, 175, 255, 0.15);
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-style: italic;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    margin-top: 0.75rem;
}
.commitment-kept-btn:hover {
    opacity: 0.8;
    border-color: rgba(130, 175, 255, 0.3);
}
.artifact-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.artifact-actions button {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    background: none;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 0.35rem 0.65rem;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
}
.artifact-actions button:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
}
.artifact-actions button.done {
    border-color: rgba(120, 200, 150, 0.3);
    color: rgba(120, 200, 150, 1);
}
.confidence-visual {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
}
.confidence-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: all 0.3s;
}
.confidence-dot.filled { background: rgba(130, 175, 255, 0.85); }
.confidence-dot.empty { background: rgba(255, 255, 255, 0.06); }
.confidence-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: var(--text-whisper);
    margin-left: 0.25rem;
}
.dedication-line {
    text-align: center;
    font-style: italic;
    font-size: 1rem;
    color: var(--text-muted);
    margin: 2rem 0 0;
    opacity: 0.7;
}
.commitment-checkin {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(130, 175, 255, 0.04);
    border: 1px solid rgba(130, 175, 255, 0.1);
    border-radius: 8px;
}
.checkin-prompt {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
.checkin-buttons {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.checkin-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
    border-radius: 14px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s;
}
.checkin-btn:hover { border-color: rgba(255,255,255,0.15); color: var(--text-secondary); }
.checkin-btn.selected {
    border-color: rgba(130, 175, 255, 0.4);
    color: rgba(130, 175, 255, 0.9);
    background: rgba(130, 200, 130, 0.08);
}
.checkin-response {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(130, 200, 130, 0.8);
    margin-top: 0.35rem;
    opacity: 0;
    transition: opacity 0.5s;
}
.checkin-response.visible { opacity: 1; }

/* Keyframes referenced by renderer rules above */

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes quietBreathe {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 0.95; }
}

/* Responsive overrides */

@media (max-width: 768px) {
    .artifact-actions {
        gap: 0.4rem;
    }
    .artifact-actions button {
        min-height: 44px;
        padding: 0.4rem 0.7rem;
    }
}
@media (max-width: 480px) {
    .journey-card { padding: 1.5rem; }
    .artifact-actions { flex-direction: column; }
    .artifact-actions button { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .journey-card,
    .arc-view,
    .journey-flame,
    .journey-quiet-whisper,
    .local-evo,
    .timeline-entry,
    .reflection-snapshot {
        opacity: 1 !important;
        transform: none !important;
    }
}
