/* Decorative layers must never intercept a still's controls. */
.event-still-layer .dating-photo-canvas,.event-still-layer .still-backdrop,.event-still-layer .event-still-image{pointer-events:none}
.event-still-layer .event-still-copy{z-index:2}
/* Keep the exact change visible in the timeline even after a contact leaves. */
.confession-score-changes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 0;padding:10px 0 0;border-top:1px solid #ead1dc;font:inherit}
.timeline>.conversation-post>.confession-score-changes{grid-column:1 / -1;min-width:0;width:100%}
.confession-score-changes dt{margin:0 0 4px}
.confession-score-changes dd{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0}
.confession-score-delta{display:inline-block;padding:1px 7px;border-radius:10px;background:#f9e4ed;color:#a73f67;animation:confession-score-change 1.4s ease-out}
@keyframes confession-score-change{from{background:#edb7cc}to{background:#f9e4ed}}
@media(prefers-reduced-motion:reduce){.confession-score-delta{animation:none}}
.confession-live-change{position:absolute;right:0;top:-26px;z-index:15;display:inline-block;padding:3px 8px;border-radius:16px;font-size:14px;font-weight:bold;line-height:1.4;white-space:nowrap;pointer-events:none;box-shadow:0 2px 8px #74445430}
.confession-live-change.negative{color:#a12f57;background:#ffe7ee}
.confession-live-change.positive{color:#9b3963;background:#fff0f6}
/* Only the new male-initiated celebration changes its image/layout. */
.event-still-layer.male-confession-celebration{align-items:flex-start;padding-top:max(20px,4dvh)}
.male-confession-celebration .event-still-frame{height:calc(100dvh - 64px)}
.male-confession-celebration .event-still-image{max-height:none;height:100%;object-fit:contain;object-position:center top}
.male-confession-celebration .event-still-copy p{overflow-wrap:anywhere;line-break:strict}
@media(max-width:650px){
 .event-still-layer.male-confession-celebration{padding-top:max(16px,env(safe-area-inset-top))}
 .male-confession-celebration .event-still-frame{display:block;height:auto;max-height:calc(100dvh - 32px);overflow-y:auto}
 .male-confession-celebration .event-still-image{display:block;width:100%;height:auto;aspect-ratio:1;max-height:none;object-fit:cover;object-position:center}
 .male-confession-celebration .event-still-copy{position:relative;padding:18px 16px;background:#21182e}
}
