/* PRIVATE EVENTS V97.0 - ERGONOMIE MEMBRE */

:root {
    --v970-accent: #d1649a;
    --v970-accent-soft: rgba(209, 100, 154, .16);
}

/* micro-feedback without gadget-like motion */
.event-tile,
.member-tile,
.v75-photo-tile,
.v71-conversation-preview,
.v970-detail-dock-action {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

@media (hover:hover) {
    .event-tile:hover,
    .member-tile:hover {
        transform: translateY(-2px);
    }
}

.v970-tapped {
    transform: scale(.965) !important;
}

/* Cards: first-glance hierarchy */
.event-tile-info h2,
.member-tile-info h2 {
    letter-spacing: -.015em;
}
.event-tile-location,
.member-tile-location {
    font-weight: 650;
}
.event-tile-quick-actions,
.member-tile-quick-actions {
    backdrop-filter: blur(9px);
}

/* Flash messages become small toasts through JS. Avoid layout jumps. */
.v970-flash-promoted {
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
.v970-member-toast {
    max-width: min(88vw, 420px);
}

/* Details: V97.2 - les actions restent intégrées au contenu.
   La barre flottante V97.0 est supprimée. */
.v970-detail-dock {
    display: none !important;
}

@media (max-width: 700px) {

    .member-profile-actions,
    .participation-box {
        scroll-margin-bottom: 96px;
    }

    .v970-detail-participation-form,
    .v970-detail-follow-form {
        margin: 0;
    }

    .v970-detail-participation-button {
        width: 100%;
        min-width: 190px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
}

/* Search continuity is visible, not surprising. */
.catalogue-search-active .catalogue-total-count::after {
    content: var(--pe-i18n-filters-preserved, "");
    color: rgba(229, 181, 204, .65);
    font-size: .72em;
    font-weight: 600;
}

/* Gallery: make photo location obvious at a glance. */
.v970-gallery-subtitle {
    margin: 5px 0 0;
    color: rgba(229, 211, 221, .68);
    font-size: .84rem;
}
.v970-photo-location-chip {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    max-width: calc(100% - 16px);
    padding: 5px 8px !important;
    border-radius: 999px !important;
    background: rgba(23, 14, 22, .78) !important;
    border: 1px solid rgba(235, 171, 202, .24);
    color: #f1dbe6 !important;
    font-size: .67rem !important;
    font-weight: 780;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(9px);
}
.v970-photo-location-chip.is-private {
    background: rgba(74, 22, 50, .84) !important;
    border-color: rgba(224, 104, 161, .34);
}
.v75-photo-tile:has(input[data-v75-photo-check]:checked) {
    outline: 2px solid var(--v970-accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(209,100,154,.12), 0 10px 25px rgba(0,0,0,.25);
}
.v75-photo-menu-button { min-width: 36px; min-height: 36px; }

/* Empty states should always offer the next useful action. */
.v970-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 15px;
}

@media (prefers-reduced-motion: reduce) {
    .event-tile,
    .member-tile,
    .v75-photo-tile,
    .v71-conversation-preview,
    .v970-detail-dock-action {
        transition: none !important;
    }
}
