/* v0.15.172 (#491, HANDOFF v0.15.144): outcome effect animations + living banners — the result lines, the overlay, the HUD lift */
.outcome-results { display: flex; flex-direction: column; gap: 7px; margin: 0.2rem 0 1rem; text-align: left; }
.outcome-results .rl { position: relative; font-weight: 700; font-size: 14px; line-height: 1.35; color: #e8dcc0; padding: 6px 10px 6px 26px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(138, 111, 53, 0.25); transition: border-color 0.25s, background 0.25s, color 0.25s, opacity 0.25s, box-shadow 0.25s; overflow: hidden; }
.outcome-results .rl::before { content: '✦'; position: absolute; left: 9px; top: 6px; color: #8a6f35; transition: color 0.25s; }
.outcome-results .rl.on { border-color: #e2b956; background: rgba(226, 185, 86, 0.14); color: #fff; box-shadow: 0 0 16px rgba(226, 185, 86, 0.25); }
.outcome-results .rl.on::before { color: #ffe08a; }
.outcome-results .rl.on::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; left: -60px; background: linear-gradient(90deg, transparent, rgba(255, 240, 190, 0.35), transparent); animation: ofx-sweep 0.9s ease-out; }
@keyframes ofx-sweep { to { left: 110%; } }
.outcome-results .rl.done { opacity: 0.55; }
.outcome-text:empty { display: none; }
/* the overlay above the panel (the modal sits at z 100) */
.ofx-canvas { position: fixed; inset: 0; z-index: 102; pointer-events: none; }
.ofx-canvas.ofx-under { z-index: 99; } /* the placed seals and tokens: over the map, under the panel */
.ofx-dom { position: fixed; inset: 0; z-index: 103; pointer-events: none; overflow: visible; }
.ofx-card { position: absolute; left: 0; top: 0; transform-origin: center; will-change: transform, opacity; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.55)); }
.ofx-card .tos-card { margin: 0; }
.ofx-card.shine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.75) 50%, transparent 70%); background-size: 250% 100%; animation: ofx-cardshine 0.4s ease-out both; pointer-events: none; }
@keyframes ofx-cardshine { from { background-position: 120% 0; } to { background-position: -20% 0; } }
.ofx-card-fallback { width: 210px; height: 300px; border-radius: 12px; background: linear-gradient(#ecdcb8, #d8c090); border: 3px solid #2a8a8a; display: flex; align-items: flex-end; justify-content: center; padding: 10px; box-sizing: border-box; color: #2a2218; font: 700 16px Georgia, serif; text-align: center; }
/* while the effects play: the panel's backdrop thins so the map and the counters read; the top bar and the dock lift above it */
.outcome-dialog.fx-live { background: rgba(0, 0, 0, 0.55); transition: background 0.3s; }
body.outcome-fx-live .map-topbar { z-index: 101; }
body.outcome-fx-live .map-dock { z-index: 101; }
.info-item.ofx-flash, #btn-deckview.ofx-flash { box-shadow: 0 0 0 1px rgba(255, 220, 120, 0.8), 0 0 18px rgba(255, 210, 120, 0.55); border-radius: 8px; transition: box-shadow 0.2s; }
.info-item.ofx-coral .info-value, #provisions-chip.ofx-coral, #silver-count.ofx-coral { color: #ff9a7a; transition: color 0.2s; }
#silver-count, #provisions-chip, #fatigue-count { transition: color 0.25s; }
/* the living banner: a motion layer over the art, masked with it */
.outcome-banner { position: relative; }
.outcome-banner > .outcome-living { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .outcome-results .rl.on::after { animation: none; } .outcome-banner > .outcome-living { display: none; } }
