/* Fucking Party — Sylaeti, badges, demandes, bureau orga */

.fp-badge,
.fp-event-badge,
.featured-carousel-content-badge--fp {
    background: linear-gradient(135deg, #2a0a14 0%, #6b1230 55%, #cba248 160%) !important;
    border-color: rgba(203, 162, 72, 0.65) !important;
    color: #f7e7c2 !important;
    letter-spacing: 0.08em;
}

.member-card.member-card--fp-orga {
    border: 1px solid rgba(180, 48, 72, 0.55);
    background: linear-gradient(180deg, rgba(107, 18, 48, 0.16) 0%, rgba(12, 12, 12, 0) 58%);
    box-shadow: none;
}
.strip-member-badge.fp-orga-badge {
    width: 1.08rem !important;
    height: 1.08rem !important;
    min-width: 1.08rem;
    min-height: 1.08rem;
    margin-left: 0.15rem;
    padding: 0;
    background: linear-gradient(145deg, #e8c878 0%, #cba248 48%, #a88738 100%);
    border: 2px solid rgba(255, 228, 170, 0.45);
    box-shadow: 0 2px 8px rgba(203, 162, 72, 0.42);
    color: #141414;
    cursor: pointer;
    box-sizing: border-box;
}
.strip-member-badge.fp-orga-badge i {
    font-size: 0.52rem;
    color: #141414;
    line-height: 1;
}
.strip-member-badge--sm.fp-orga-badge {
    width: 0.88rem !important;
    height: 0.88rem !important;
    min-width: 0.88rem;
    min-height: 0.88rem;
}
.strip-member-badge--sm.fp-orga-badge i {
    font-size: 0.44rem;
}
.fp-orga-modal__badge {
    background: linear-gradient(145deg, #e8c878 0%, #cba248 48%, #a88738 100%) !important;
    border: 2px solid rgba(255, 228, 170, 0.45) !important;
    color: #141414 !important;
}
.fp-orga-modal__badge i {
    color: #141414;
    font-size: 1.35rem;
}
.info-section-compact.fp-orga-block {
    margin: 0 0 1rem;
    padding: 0.65rem 0.7rem 0.7rem;
    border: 1px solid rgba(203, 162, 72, 0.38);
    background:
        radial-gradient(ellipse at 0% 0%, rgba(203, 162, 72, 0.12), transparent 52%),
        linear-gradient(165deg, rgba(107, 18, 48, 0.28) 0%, rgba(14, 12, 12, 0.96) 62%);
    border-radius: 10px;
}
.fp-orga-block__head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(203, 162, 72, 0.2);
}
.fp-orga-block__icon {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, #e8c878 0%, #cba248 48%, #a88738 100%);
    color: #141414;
    box-shadow: 0 2px 8px rgba(203, 162, 72, 0.28);
}
.fp-orga-block__icon i {
    font-size: 0.72rem;
}
.fp-orga-block .section-header-compact {
    margin: 0;
    padding: 0;
    border: 0;
}
.fp-orga-block .section-header-compact h3 {
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    line-height: 1.25;
    text-transform: none;
}
.fp-orga-block .section-content-compact {
    padding: 0;
    margin: 0;
}
.fp-orga-next-card {
    margin-top: 0;
}
.fp-orga-next-card .soiree-item {
    margin: 0;
}
.fp-orga-next-card .soiree-link {
    gap: 0.65rem;
    padding: 0.4rem;
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(203, 162, 72, 0.28);
}
.fp-orga-next-card .soiree-flyer-small,
.fp-orga-next-card .featured-carousel-flyer {
    width: 52px;
    height: 78px;
    border-radius: 6px;
}
.fp-orga-next-card .soiree-content,
.fp-orga-next-card .featured-carousel-content {
    height: auto;
    min-height: 78px;
    gap: 0.2rem;
}
.fp-orga-next-card .soiree-title,
.fp-orga-next-card .special-title {
    font-size: 0.82rem;
    line-height: 1.25;
    margin: 0;
}
.fp-orga-next-card .soiree-date,
.fp-orga-next-card .featured-carousel-time {
    font-size: 0.72rem;
}
.fp-orga-next-card .featured-carousel-content-badge {
    display: none;
}
@media (max-width: 480px) {
    .info-section-compact.fp-orga-block {
        margin: 0 0 0.85rem;
        padding: 0.5rem 0.55rem 0.55rem;
        border-radius: 8px;
    }
    .fp-orga-block__head {
        gap: 0.38rem;
        margin-bottom: 0.4rem;
        padding-bottom: 0.38rem;
    }
    .fp-orga-block__icon {
        width: 1.35rem;
        height: 1.35rem;
    }
    .fp-orga-block__icon i {
        font-size: 0.62rem;
    }
    .fp-orga-block .section-header-compact h3 {
        font-size: 0.7rem;
    }
    .fp-orga-next-card .soiree-link {
        gap: 0.5rem;
        padding: 0.32rem;
    }
    .fp-orga-next-card .soiree-flyer-small,
    .fp-orga-next-card .featured-carousel-flyer {
        width: 44px;
        height: 66px;
    }
    .fp-orga-next-card .soiree-content,
    .fp-orga-next-card .featured-carousel-content {
        min-height: 66px;
    }
    .fp-orga-next-card .soiree-title,
    .fp-orga-next-card .special-title {
        font-size: 0.74rem;
    }
    .fp-orga-next-card .soiree-date,
    .fp-orga-next-card .featured-carousel-time {
        font-size: 0.66rem;
    }
}
.fp-orga-desk-link {
    display: inline-flex;
    margin-top: 0.75rem;
    color: #cba248;
    font-size: 0.82rem;
    font-weight: 700;
}

.fp-request-modal {
    position: fixed;
    inset: 0;
    z-index: 12050;
    display: none;
}
.fp-request-modal.is-open { display: block; }
.fp-request-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}
.fp-request-modal__sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(88dvh, 640px);
    overflow: auto;
    background: #111;
    border-radius: 18px 18px 0 0;
    border-top: 1px solid rgba(203, 162, 72, 0.4);
    padding: 1.1rem 1.15rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
}
.fp-request-modal__kicker {
    margin: 0 0 0.2rem;
    color: #cba248;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.fp-request-modal__head {
    position: relative;
    padding-right: 2.4rem;
    margin-bottom: 0.75rem;
}
.fp-request-modal__head h3 {
    margin: 0;
    font-size: 1.2rem;
}
.fp-request-modal__close {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: #bbb;
    border-radius: 8px;
    cursor: pointer;
}
.fp-request-modal__body p,
.fp-request-modal__body li {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    line-height: 1.5;
}
.fp-request-modal__body ul {
    margin: 0.75rem 0;
    padding-left: 1.15rem;
}
.fp-request-modal__note {
    margin-top: 0.75rem !important;
    color: #f3dca4 !important;
}
.fp-request-modal__label {
    display: block;
    margin: 0.95rem 0 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    font-weight: 650;
}
.fp-request-modal__message {
    display: block;
    width: 100%;
    min-height: 5.2rem;
    resize: vertical;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(203, 162, 72, 0.28);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.45;
}
.fp-request-modal__message:focus {
    outline: none;
    border-color: rgba(203, 162, 72, 0.62);
}
.fp-request-modal__foot {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.1rem;
}
.fp-request-modal__ghost,
.fp-request-modal__gold {
    flex: 1;
    min-height: 46px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}
.fp-request-modal__ghost {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: #ddd;
}
.fp-request-modal__gold {
    border: 0;
    background: linear-gradient(135deg, #Cba248, #d4b55a);
    color: #140c08;
}
.fp-request-modal__gold.is-danger {
    background: linear-gradient(135deg, #c62828, #e53935);
    color: #fff;
}
.fp-review-error {
    margin: 0.7rem 0 0;
    color: #ff8a80;
    font-size: 0.84rem;
}
.btn-participate.is-fp-pending {
    box-shadow: 0 0 0 1px rgba(203, 162, 72, 0.35);
}
.btn-participate.is-fp-rejected {
    opacity: 0.95;
}
.fp-request-status {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}
.fp-request-status--pending {
    background: rgba(203, 162, 72, 0.12);
    border: 1px solid rgba(203, 162, 72, 0.4);
    color: #f3dca4;
}
.fp-request-status--rejected {
    background: rgba(163, 59, 59, 0.16);
    border: 1px solid rgba(255, 107, 107, 0.35);
    color: #ffb4b4;
}

.fp-desk {
    padding: calc(var(--header-height, 56px) + 1.25rem) 1rem calc(110px + env(safe-area-inset-bottom, 0px));
}
.fp-desk__intro {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
    line-height: 1.5;
}
.fp-soiree-bar {
    margin: 0 0 0.9rem;
    padding: 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(203, 162, 72, 0.28);
    background: linear-gradient(165deg, rgba(107, 18, 48, 0.22), rgba(14, 12, 12, 0.96));
}
.fp-soiree-bar__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
}
.fp-soiree-bar__date {
    margin: 0;
    color: #cba248;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.fp-soiree-bar h2 {
    margin: 0.2rem 0 0;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.3;
}
.fp-soiree-bar__state {
    flex-shrink: 0;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
}
.fp-soiree-bar__state.is-open {
    background: rgba(47, 143, 91, 0.2);
    color: #8ee0b0;
}
.fp-soiree-bar__state.is-closed {
    background: rgba(163, 59, 59, 0.22);
    color: #ffb4b4;
}
.fp-type-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    margin: 0.8rem 0 0.75rem;
}
.fp-type-pills span {
    display: block;
    padding: 0.4rem 0.3rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
    text-align: center;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
}
.fp-type-pills em {
    display: block;
    margin-bottom: 0.12rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.fp-soiree-bar__avg,
.fp-age-forecast {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.7rem;
    margin: 0 0 0.75rem;
    padding: 0.45rem 0.65rem;
    border-radius: 9px;
    background: rgba(203, 162, 72, 0.1);
    border: 1px solid rgba(203, 162, 72, 0.22);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
    font-weight: 650;
}
.fp-soiree-bar__avg em {
    font-style: normal;
}
.fp-soiree-bar__avg strong,
.fp-age-forecast strong {
    color: #f3dca4;
    font-size: 0.92rem;
}
.fp-age-forecast {
    margin: 0 0 0.65rem;
}
.fp-soiree-bar__acts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.fp-soiree-btn {
    flex: 1 1 30%;
    min-height: 40px;
    border-radius: 9px;
    border: 1px solid rgba(203, 162, 72, 0.35);
    background: rgba(0, 0, 0, 0.22);
    color: #f3dca4;
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    cursor: pointer;
}
.fp-soiree-btn.is-warn {
    border-color: rgba(255, 107, 107, 0.4);
    color: #ffb4b4;
}
.fp-type-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.85rem;
}
.fp-type-filters__item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 34px;
    padding: 0 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #bbb;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
}
.fp-type-filters__item span {
    color: #cba248;
}
.fp-type-filters__item.is-on {
    border-color: #cba248;
    background: #cba248;
    color: #140c08;
}
.fp-type-filters__item.is-on span {
    color: #140c08;
}
.fp-inscrits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}
.fp-card--inscrit {
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.55rem;
    margin-bottom: 0;
}
.fp-card--inscrit .fp-card__photo,
.fp-card--inscrit .fp-card__ph {
    width: 42px;
    height: 42px;
    border-radius: 9px;
}
.fp-card--inscrit .fp-card__name {
    font-size: 0.86rem;
    line-height: 1.2;
}
.fp-card__line {
    margin: 0.12rem 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    line-height: 1.35;
}
.fp-card__line .is-zero {
    color: #ff6b6b;
    font-weight: 700;
}
@media (min-width: 760px) {
    .fp-inscrits {
        grid-template-columns: 1fr 1fr;
    }
}
.fp-edit-form label {
    display: block;
    margin: 0 0 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
    font-weight: 650;
}
.fp-edit-form input,
.fp-edit-form textarea {
    display: block;
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(203, 162, 72, 0.28);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 0.9rem;
}
.fp-edit-form textarea {
    resize: vertical;
    min-height: 5rem;
}
.fp-edit-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}
.fp-edit-form__row--4 {
    grid-template-columns: repeat(4, 1fr);
}
.fp-desk__tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.fp-desk__tab {
    flex: 1;
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: #bbb;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}
.fp-desk__tab.is-on {
    border-color: #cba248;
    color: #140c08;
    background: #cba248;
}
.fp-desk__count {
    min-width: 1.2rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    font-size: 0.68rem;
}
.fp-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.8rem;
    padding: 0.9rem;
    margin-bottom: 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #141414;
}
.fp-card__avatar {
    display: block;
    text-decoration: none;
}
.fp-card__photo,
.fp-card__ph {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    background: #0a0a0a;
    border: 1px solid rgba(203, 162, 72, 0.25);
}
.fp-card__name a {
    color: inherit;
    text-decoration: none;
}
.fp-card__ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cba248;
    font-weight: 800;
}
.fp-card__name {
    margin: 0;
    font-size: 1.02rem;
}
.fp-card__meta {
    margin: 0.15rem 0 0;
    color: #cba248;
    font-size: 0.75rem;
    font-weight: 650;
}
.fp-card__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.6rem;
    margin: 0.65rem 0 0;
}
.fp-card__stats span {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.fp-card__stats strong {
    display: block;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 650;
}
.fp-card__stats strong.is-zero,
.fp-card__stats strong.is-watch {
    color: #ff6b6b;
}
.fp-card__msg {
    margin: 0.7rem 0 0;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(203, 162, 72, 0.18);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    line-height: 1.45;
}
.fp-card__acts {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.35rem;
}
.fp-card__acts a,
.fp-card__acts button {
    flex: 1 1 calc(33% - 0.3rem);
    min-height: 40px;
    border-radius: 9px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    cursor: pointer;
}
.fp-btn-ok {
    border: 0;
    background: #2f8f5b;
    color: #fff;
}
.fp-btn-ko {
    border: 0;
    background: #a33b3b;
    color: #fff;
}
.fp-btn-chat {
    border: 1px solid rgba(203, 162, 72, 0.45);
    background: transparent;
    color: #f3dca4;
}
.fp-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
}
#mdllSidebarMenu-background .settings-item.fp-settings-item {
    overflow: visible !important;
    z-index: 3 !important;
}
.settings-item .fp-pending-dot {
    display: inline-flex;
    min-width: 1.2rem;
    height: 1.2rem;
    margin-left: 0.4rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #cba248;
    color: #140c08;
    font-size: 0.65rem;
    font-weight: 800;
}

@media (min-width: 769px) {
    .fp-request-modal__sheet {
        left: 50%;
        right: auto;
        bottom: auto;
        top: 50%;
        transform: translate(-50%, -50%);
        width: min(460px, calc(100vw - 2rem));
        border-radius: 16px;
        border: 1px solid rgba(203, 162, 72, 0.35);
    }
}
