/**
 * Fiction Flock — The Paper Trail CSS
 */
.ff-pt-wrap { max-width: 600px; margin: 0 auto; padding: 20px; font-family: 'Lato', sans-serif; }
.ff-pt-loading { text-align: center; padding: 60px 20px; color: #5a6a6a; }
.ff-pt-spinner { width: 36px; height: 36px; border: 3px solid #e0ede6; border-top-color: #174B4C; border-radius: 50%; animation: ff-spin 0.8s linear infinite; margin: 0 auto 16px; }
@keyframes ff-spin { to { transform: rotate(360deg); } }
.ff-pt-intro-card, .ff-pt-complete-card { background: #FAF8F4; border-radius: 20px; padding: 40px 32px; text-align: center; box-shadow: 0 2px 16px rgba(23,75,76,0.08); }
.ff-pt-icon { font-size: 48px; margin-bottom: 16px; }
.ff-pt-intro-card h2, .ff-pt-complete-card h2 { font-family: 'Playfair Display', serif; font-size: 26px; color: #174B4C; margin-bottom: 14px; }
.ff-pt-intro-card p, .ff-pt-complete-card p { font-size: 15px; color: #5a6a6a; margin-bottom: 12px; line-height: 1.65; }
.ff-pt-btn-primary { background: #174B4C; color: #fff; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 15px; padding: 13px 32px; border-radius: 8px; border: none; cursor: pointer; margin-top: 16px; }
.ff-pt-btn-primary:hover { background: #1d6364; }

/* Stop card */
.ff-pt-clue-card { background: #fff; border-radius: 20px; padding: 32px 28px; box-shadow: 0 4px 20px rgba(23,75,76,0.1); }
.ff-pt-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ff-pt-progress-bar { flex: 1; height: 6px; background: #e0ede6; border-radius: 10px; overflow: hidden; }
.ff-pt-progress-fill { height: 6px; background: #174B4C; border-radius: 10px; transition: width 0.3s ease; }
.ff-pt-progress-text { font-size: 12px; color: #5a6a6a; font-weight: 700; white-space: nowrap; }

/* Narrative story beat — small image beside the speaker, then what they say */
.ff-pt-story { background: #F6F1E7; border: 1px solid #e6dec9; border-radius: 14px; padding: 20px 22px; margin-bottom: 22px; text-align: left; }
.ff-pt-speaker { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ff-pt-char-img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid #9FE1CB; background: #E1F5EE; flex: none; }
.ff-pt-speaker-meta { min-width: 0; }
.ff-pt-char-name { font-family: 'Dancing Script', cursive; font-size: 24px; color: #b5642f; margin: 0; font-weight: 700; line-height: 1.1; }
.ff-pt-char-loc { font-family: 'Lato', sans-serif; font-size: 13px; color: #7a8a8a; font-style: italic; margin: 2px 0 0; }
.ff-pt-story-text { font-family: 'Playfair Display', serif; font-size: 16px; color: #3a4a4a; line-height: 1.7; font-style: italic; }

/* In-place response after answering — replaces the question area, no scrolling */
.ff-pt-response { background: #F1FAF6; border: 1px solid #9FE1CB; border-radius: 14px; padding: 20px 22px; }
.ff-pt-badge { display: inline-flex; align-items: center; gap: 6px; font-family: 'Lato', sans-serif; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.ff-pt-badge-correct { background: #0F6E56; color: #fff; }
.ff-pt-response-text { font-family: 'Playfair Display', serif; font-size: 16px; color: #3a4a4a; line-height: 1.7; font-style: italic; margin-bottom: 4px; }
.ff-pt-next { background: #C27B6F; }
.ff-pt-next:hover { background: #b06a5e; }

.ff-pt-question { font-family: 'Playfair Display', serif; font-size: 18px; color: #174B4C; margin-bottom: 20px; line-height: 1.5; }
.ff-pt-link-btn { display: inline-block; background: #E89528; color: #fff; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 8px; text-decoration: none; margin-bottom: 24px; }
.ff-pt-link-btn:hover { background: #d4851f; color: #fff; }
.ff-pt-choices { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.ff-pt-choice { background: #FAF8F4 !important; border: 2px solid #e0ddd8 !important; border-radius: 10px; padding: 14px 18px; cursor: pointer; font-size: 15px; color: #1a2e2e !important; text-align: left; transition: all 0.15s; font-family: 'Lato', sans-serif; }
.ff-pt-choice:hover { border-color: #174B4C !important; background: #f0f6f5 !important; }
.ff-pt-choice.selected { border-color: #174B4C !important; background: #e1f0ee !important; }
.ff-pt-choice.correct { border-color: #2e7d32 !important; background: #e8f5e9 !important; color: #1b5e20 !important; }
.ff-pt-choice.incorrect { border-color: #c62828 !important; background: #ffebee !important; color: #b71c1c !important; }
.ff-pt-feedback { padding: 12px 16px; border-radius: 8px; font-size: 14px; font-weight: 700; margin-bottom: 4px; text-align: center; }
.ff-pt-feedback.correct { background: #e8f5e9; color: #2e7d32; }
.ff-pt-feedback.incorrect { background: #ffebee; color: #c62828; }
.ff-pt-feathers { font-size: 18px; font-weight: 700; color: #E89528; margin-top: 16px; }

/* Mobile */
@media (max-width: 600px) {
    .ff-pt-wrap { padding: 10px; }
    .ff-pt-clue-card { padding: 18px 15px; border-radius: 14px; }
    .ff-pt-story { padding: 16px 16px; margin-bottom: 18px; }
    .ff-pt-story-text { font-size: 15px; }
    .ff-pt-question { font-size: 15px; margin-bottom: 14px; line-height: 1.4; }
    .ff-pt-link-btn { font-size: 13px; padding: 8px 16px; margin-bottom: 16px; }
    .ff-pt-choices { gap: 8px; margin-bottom: 14px; }
    .ff-pt-choice { padding: 10px 13px; font-size: 14px; }
}
