/* Red flag drill: a fictional social app, chat and investment site on the target's phone. */
.feed-device { position:relative; }
.feed-slide-in { animation:feed-slide .38s cubic-bezier(.2,.7,.2,1); }
@keyframes feed-slide { from { transform:translateX(100%); } to { transform:none; } }
@media(prefers-reduced-motion:reduce){ .feed-slide-in{animation:none} }

.feed-pick { background:#fff; padding:20px; display:flex; flex-direction:column; gap:12px; }
.feed-pick>p { margin:0 0 6px; font-size:16px; line-height:1.55; }
.feed-track { display:flex; flex-direction:column; gap:5px; text-align:left; padding:16px; border:1px solid #c6d5cb; border-radius:12px; background:#f6faf7; color:#1b2b26; min-height:44px; }
.feed-track:hover { border-color:#5e9976; background:#eaf3ec; }
.feed-track strong { font-size:17px; }
.feed-track span { font-size:14px; color:#3e5a50; }
.feed-track small { font-size:13px; color:#6b7c73; }
.feed-small { font-size:13px; color:#68776d; line-height:1.5; }

.feed-header h2 { font-family:Georgia,serif; font-style:italic; letter-spacing:0; padding-left:12px; }
.feed-header p { padding-left:12px; }
.feed-scroll { background:#fff; }
.feed-post-head { display:flex; align-items:center; gap:10px; padding:12px 14px; font-size:15px; }
.feed-post-head .phone-avatar, .feed-comment .phone-avatar { width:32px; height:32px; font-size:14px; }
.feed-photo { aspect-ratio:4/3; max-height:42vh; width:100%; position:relative; overflow:hidden; }
.feed-photo-sunset { background:linear-gradient(#f6b46b 0%,#f08a5d 38%,#c4577a 55%,#2f5f86 56%,#1f4a6b 78%,#e9d3a6 79%,#d9bf8c 100%); }
.feed-photo-sunset span { position:absolute; left:58%; top:36%; width:64px; height:64px; border-radius:50%; background:#ffe1a1; box-shadow:0 0 50px #ffd58a; }
.feed-photo-cliff { background:linear-gradient(#9fd2ea 0%,#cfe9f3 40%,#2f8db0 41%,#19607f 100%); }
.feed-photo-cliff span { position:absolute; left:-10%; bottom:0; width:62%; height:70%; background:#7a6a4c; clip-path:polygon(0 100%,0 20%,40% 8%,70% 25%,100% 100%); box-shadow:inset 0 10px 0 #5f8a43; }
.feed-caption { margin:12px 14px 4px; font-size:15px; line-height:1.5; }
.feed-post .feed-small { margin:0 14px 10px; }
.feed-comments { border-top:1px solid #e6ebe7; padding:8px 14px 18px; }
.feed-comment { display:flex; gap:10px; align-items:flex-start; margin:10px 0; animation:phone-arrive .3s ease-out; }
.feed-comment p { margin:3px 0 0; font-size:15px; line-height:1.5; overflow-wrap:anywhere; }
@media(prefers-reduced-motion:reduce){ .feed-comment{animation:none} }
.feed-link-used { opacity:.75; }

.feed-site-header { background:#0e2232; color:#eaf2f8; border-bottom-color:#0e2232; padding-left:18px; }
.feed-site-header p { color:#9fb4c4; }
.feed-site { background:#13293b; color:#e4edf3; padding:20px; display:flex; flex-direction:column; gap:12px; }
.feed-site p { margin:0; line-height:1.5; }
.feed-site .feed-small { color:#9fb4c4; }
.feed-balance { background:#1b3a52; border-radius:12px; padding:18px; display:flex; flex-direction:column; gap:6px; }
.feed-balance span { font-size:13px; color:#9fb4c4; }
.feed-balance strong { font-size:32px; font-weight:500; }
.feed-gain { display:flex; justify-content:space-between; align-items:center; font-size:14px; padding:12px 14px; border:1px solid #2c5272; border-radius:10px; }
.feed-gain strong { color:#6fe0a4; font-size:18px; }
.feed-frozen { border:1px solid #e2a14a; background:#3b2c17; border-radius:10px; padding:14px; }
.feed-frozen strong { color:#ffc979; }
.feed-frozen p { margin-top:6px; font-size:15px; }

.feed-debrief { background:#fff; padding:20px; font-size:16px; line-height:1.55; }
.feed-debrief>p { margin:0 0 14px; }
.feed-flags { list-style:none; padding:0; margin:0 0 18px; display:flex; flex-direction:column; gap:10px; }
.feed-flags li { border:1px solid #dfe7e1; border-left:4px solid #b9c7bd; border-radius:8px; padding:12px 14px; }
.feed-flags li.seen { border-left-color:#c2412f; }
.feed-flags span { display:block; font-size:12px; color:#8a3a2c; text-transform:uppercase; letter-spacing:.04em; }
.feed-flags strong { display:block; margin:3px 0; font-size:16px; }
.feed-flags p { margin:0; font-size:14px; color:#4a5a52; }

.feed-alert-layer { position:absolute; inset:0; background:#08131299; display:flex; align-items:flex-end; padding:14px; z-index:2; }
.feed-alert { background:#fff; border-radius:16px; border-top:5px solid #c2412f; padding:18px; width:100%; box-shadow:0 10px 40px #0006; animation:phone-arrive .3s ease-out; }
.feed-alert-count { font-size:12px; font-weight:600; color:#a3321f; text-transform:uppercase; letter-spacing:.05em; }
.feed-alert h3 { margin:6px 0 8px; font-size:20px; font-weight:600; }
.feed-alert p { margin:0 0 16px; font-size:15px; line-height:1.55; color:#33443d; }
@media(prefers-reduced-motion:reduce){ .feed-alert{animation:none} }

/* Full journey additions */
.feed-system { max-width:90%; text-align:center; }
.feed-ok { border:1px solid #3f9c6e; background:#173a2b; border-radius:10px; padding:14px; }
.feed-ok strong { color:#7fe3a8; }
.feed-ok p { margin-top:6px; font-size:15px; }
.feed-loss { border:1px solid #e2b6ac; background:#fbefec; border-radius:10px; padding:14px; margin:0 0 16px; display:flex; flex-direction:column; gap:4px; }
.feed-loss span { font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:#8a3a2c; }
.feed-loss strong { font-size:28px; font-weight:500; color:#7b2d20; }
.feed-loss small { font-size:13px; color:#5f4a45; }
.feed-debrief-title { font-size:17px; margin:4px 0 10px; }
.feed-flags li.flag strong::after { content:' ⚑'; color:#c2412f; }
.feed-alert:not(.flag) { border-top-color:#d2a24c; }
.feed-alert:not(.flag) .feed-alert-count { color:#7a5a14; }
.feed-photo-lantern { background:radial-gradient(circle at 25% 35%,#ffb36a 0 7%,transparent 8%),radial-gradient(circle at 55% 25%,#ffb36a 0 6%,transparent 7%),radial-gradient(circle at 80% 40%,#ffb36a 0 7%,transparent 8%),linear-gradient(#1c1430,#3a1d2a 60%,#5a2a1f 61%,#2a1712); }
.feed-photo-lantern span { position:absolute; left:20%; top:28%; width:60%; height:12%; border-top:2px solid #6b4a3a; }
.feed-script { margin:0 0 16px; padding:10px 12px; background:#f6f1e4; border-left:3px solid #b08a3e; font-size:14px; line-height:1.5; color:#3e3523; font-style:italic; }
.feed-script span { display:block; font-style:normal; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:#7a5a14; margin-bottom:4px; }
.feed-script-line { margin-top:6px !important; font-style:italic; color:#6a5a3a !important; }
.feed-alert { max-height:calc(100% - 28px); overflow:auto; }
@media(max-height:450px){ .feed-alert-layer{padding:8px} .feed-alert{padding:12px 16px} .feed-alert h3{font-size:17px;margin:2px 0 4px} .feed-alert p{font-size:13px;margin-bottom:8px} .feed-script{font-size:12px;margin-bottom:8px;padding:6px 10px} }
.feed-phase { align-self:center; margin:-10px 0 14px; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:#7a5a14; background:#f6ecd2; border-radius:10px; padding:3px 10px; flex-shrink:0; }
.feed-protect { margin:0 0 14px !important; padding:9px 12px; background:#e8f4ec; border-left:3px solid #16745e; font-size:14px !important; color:#1f3d33 !important; }
.feed-flags .feed-protect { margin:8px 0 0 !important; font-size:13px !important; }
.feed-phase-title { margin:16px 0 8px; font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:#7a5a14; }
@media(max-height:450px){ .feed-protect{font-size:12px !important;padding:6px 10px;margin-bottom:8px !important} }
