:root {
    --bg: #f7f7fa;
    --surface: #ffffff;
    --dark: #101526;
    --dark-2: #171d33;

    --text: #171927;
    --muted: #6e7180;

    --pink: #ff4f9a;
    --purple: #7657ff;
    --orange: #ff8658;

    --border: #e8e8ef;

    --gradient: linear-gradient(
        135deg,
        #ff596e 0%,
        #ff4da3 35%,
        #8557ff 70%,
        #5577ff 100%
    );

    --radius: 22px;
    --shadow: 0 20px 50px rgba(18, 22, 45, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(247, 247, 250, .88);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(20, 20, 40, .06);
}

.header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    font-weight: 900;
}

.brand-icon,
.vif-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color: white;
    background: var(--gradient);

    border-radius: 14px;

    font-size: 25px;
    font-weight: 900;
}

.brand-text {
    display: flex;
    flex-direction: column;

    font-size: 23px;
    line-height: 1;
}

.brand-text small {
    margin-top: 5px;

    font-size: 10px;
    font-weight: 600;

    color: var(--muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;

    color: #555866;

    font-size: 14px;
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--pink);
}

.header-actions {
    display: flex;
    gap: 9px;
}


/* BUTTONS */

.btn {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border: 0;
    border-radius: 14px;

    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: white;
    background: var(--gradient);

    box-shadow:
        0 10px 25px rgba(220, 64, 150, .23);
}

.btn-secondary {
    background: white;
    border: 1px solid var(--border);
}

.btn-ghost {
    background: transparent;
}

.btn-large {
    min-height: 54px;
    padding: 0 26px;
}


/* HERO */

.hero {
    padding: 85px 0 100px;

    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;

    align-items: center;

    gap: 75px;
}

.eyebrow,
.section-tag {
    display: inline-flex;

    padding: 9px 13px;

    border-radius: 999px;

    background: #fff0f5;
    color: #d52e76;

    font-size: 13px;
    font-weight: 800;
}

.hero h1 {
    max-width: 680px;

    margin: 20px 0;

    font-size: clamp(45px, 6vw, 74px);
    line-height: .98;

    letter-spacing: -4px;
}

.hero h1 span {
    display: block;

    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-description {
    max-width: 620px;

    margin: 0;

    color: var(--muted);

    font-size: 19px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 31px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;

    gap: 20px;

    margin-top: 25px;

    color: #686b79;

    font-size: 13px;
    font-weight: 700;
}


/* PHONE */

.hero-demo {
    position: relative;

    display: flex;
    justify-content: center;
}

.hero-demo::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    top: 40px;

    background:
        radial-gradient(
            circle,
            rgba(255, 80, 160, .22),
            rgba(120, 80, 255, .08) 55%,
            transparent 70%
        );

    filter: blur(5px);
}

.phone {
    position: relative;

    width: 310px;

    padding: 10px;

    border-radius: 39px;

    background: #111522;

    box-shadow:
        0 40px 80px rgba(22, 25, 50, .22);

    transform: rotate(2deg);
}

.phone-top {
    position: absolute;

    top: 15px;
    left: 50%;

    width: 90px;
    height: 20px;

    transform: translateX(-50%);

    border-radius: 20px;

    background: #111522;

    z-index: 2;
}

.phone-screen {
    min-height: 590px;

    padding: 45px 18px 20px;

    border-radius: 31px;

    background:
        linear-gradient(
            180deg,
            #fff 0%,
            #fbf4f7 100%
        );
}

.demo-event {
    text-align: center;

    font-size: 12px;
    font-weight: 800;

    color: #777989;
}

.demo-progress {
    margin: 26px 0 10px;

    color: var(--pink);

    font-size: 12px;
    font-weight: 900;

    text-transform: uppercase;
}

.mission-card {
    padding: 25px 20px;

    border: 1px solid #eee5eb;
    border-radius: 25px;

    background: white;

    box-shadow: 0 15px 35px rgba(22, 25, 50, .08);
}

.mission-icon {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 18px;

    background: #fff0f5;

    font-size: 27px;
}

.mission-card h3 {
    margin: 17px 0 10px;

    font-size: 23px;
}

.mission-card p {
    color: var(--muted);

    font-size: 14px;
    line-height: 1.55;
}

.demo-camera {
    width: 100%;

    margin-top: 15px;
    padding: 14px;

    border: 0;
    border-radius: 14px;

    color: white;
    background: var(--gradient);

    font-weight: 900;
}

.demo-nav {
    margin-top: 25px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 6px;

    font-size: 20px;

    text-align: center;
}

.demo-nav span {
    display: flex;
    flex-direction: column;

    opacity: .45;
}

.demo-nav span.active {
    opacity: 1;
}

.demo-nav small {
    margin-top: 4px;

    font-size: 8px;
    font-weight: 800;
}


/* SECTIONS */

.section {
    padding: 100px 0;
}

.section-heading {
    max-width: 720px;

    margin: 0 auto 50px;

    text-align: center;
}

.section-heading h2,
.split h2,
.final-cta h2 {
    margin: 15px 0;

    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;

    letter-spacing: -2px;
}

.section-heading p,
.split > div > p {
    color: var(--muted);

    font-size: 17px;
    line-height: 1.65;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.step-card {
    position: relative;

    padding: 27px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: white;

    box-shadow: 0 12px 35px rgba(22, 25, 50, .05);
}

.step-number {
    position: absolute;

    top: 18px;
    right: 20px;

    color: #d9d9e1;

    font-size: 13px;
    font-weight: 900;
}

.step-icon,
.choice-icon {
    font-size: 31px;
}

.step-card h3 {
    margin: 18px 0 9px;
}

.step-card p,
.choice-card p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.6;
}


/* DARK */

.section-dark {
    color: white;

    background: var(--dark);
}

.split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;

    align-items: center;

    gap: 80px;
}

.section-tag-light {
    color: #ff91c0;
    background: rgba(255, 255, 255, .08);
}

.section-dark .split > div > p {
    color: #aeb3c3;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 16px;
}

.choice-card {
    padding: 27px;

    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);

    background: var(--dark-2);
}

.choice-card h3 {
    margin: 17px 0 10px;
}

.choice-card p {
    color: #aeb3c3;
}


/* EVENTS */

.event-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);

    gap: 13px;
}

.event-card {
    min-height: 135px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 13px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: white;
}

.event-card span {
    font-size: 33px;
}


/* PRICING */

.pricing-section {
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}

.price-card {
    position: relative;

    padding: 30px 24px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);
}

.price-card.featured {
    border: 2px solid #ff629f;

    box-shadow: var(--shadow);

    transform: translateY(-10px);
}

.popular {
    position: absolute;

    top: -14px;
    left: 50%;

    transform: translateX(-50%);

    padding: 7px 13px;

    white-space: nowrap;

    border-radius: 999px;

    color: white;
    background: var(--gradient);

    font-size: 11px;
    font-weight: 900;
}

.price {
    margin: 17px 0 6px;

    font-size: 32px;
    font-weight: 900;
}

.price-card p {
    margin-bottom: 25px;

    color: var(--muted);

    font-size: 14px;
}


/* FINAL CTA */

.final-cta {
    padding: 100px 0;

    text-align: center;

    color: white;
    background: var(--dark);
}

.final-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.final-cta .vif-mark {
    width: 65px;
    height: 65px;

    border-radius: 20px;

    font-size: 35px;
}

.final-cta p {
    margin-bottom: 27px;

    color: #aeb3c3;
}


/* FOOTER */

.site-footer {
    padding: 30px 0;

    color: #a5a8b6;
    background: #0b0f1d;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-footer strong {
    color: white;
}

.site-footer p {
    margin: 3px 0 0;

    font-size: 12px;
}

.footer-copy {
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
}

.footer-links a {
    color: #a5a8b6;
    font-size: 12px;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: white;
    text-decoration: underline;
}


/* MOBILE */

@media (max-width: 950px) {

    .main-nav {
        display: none;
    }

    .hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-buttons,
    .hero-points {
        justify-content: center;
    }

    .steps-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .split {
        gap: 40px;
    }

}


@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, 1160px);
    }

    .site-header {
        position: sticky;
        top: 0;
    }

    .header-inner {
        min-height: 68px;

        flex-wrap: wrap;
        gap: 10px;

        padding: 12px 0;

        box-sizing: border-box;
    }

    .header-inner > .brand {
        width: 100%;
        min-width: 0;

        flex: 1 1 100%;
    }

    .header-actions {
        width: 100%;
        min-width: 0;

        display: grid;

        grid-template-columns:
            auto minmax(0, 1fr) minmax(0, 1fr);

        align-items: center;

        gap: 7px;
    }

    .header-actions .language-switcher {
        min-width: 0;

        justify-self: start;
    }

    .header-actions .btn-ghost,
    .header-actions .btn-primary {
        width: 100%;
        min-width: 0;
        min-height: 40px;

        padding-inline: 7px;

        box-sizing: border-box;

        font-size: 11px;
        line-height: 1.15;

        text-align: center;
        white-space: normal;
    }

    .header-actions .btn-ghost {
        display: inline-flex;
    }

    .brand-text small {
        display: none;
    }

    .hero {
        padding: 55px 0 75px;
    }

    .hero h1 {
        letter-spacing: -2.5px;
    }

    .hero-demo {
        margin-top: 20px;
    }

    .phone {
        width: min(310px, 91vw);
    }

    .section {
        padding: 75px 0;
    }

    .steps-grid,
    .choice-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-card.featured {
        transform: none;
    }

    .footer-inner {
        flex-direction: column;

        gap: 15px;

        text-align: center;
    }

}

/* =========================================================
   AUTHENTIFICATION
========================================================= */

.auth-section {
    min-height: calc(100vh - 150px);
    min-height: calc(100dvh - 150px);

    display: flex;
    align-items: center;

    padding: 70px 0;

    background:
        radial-gradient(
            circle at top left,
            rgba(255, 79, 154, .12),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(118, 87, 255, .10),
            transparent 35%
        );
}

.auth-container {
    width: min(480px, calc(100% - 30px));
    margin: 0 auto;
}

.auth-card {
    padding: 38px;

    border: 1px solid var(--border);
    border-radius: 28px;

    background: white;

    box-shadow: var(--shadow);
}

.auth-logo {
    display: flex;
    justify-content: center;

    margin-bottom: 20px;
}

.auth-heading {
    text-align: center;

    margin-bottom: 30px;
}

.auth-heading h1 {
    margin: 15px 0 10px;

    font-size: 36px;
    letter-spacing: -1.5px;
}

.auth-heading p {
    margin: 0;

    color: var(--muted);

    line-height: 1.6;
}

.auth-form {
    display: flex;
    flex-direction: column;

    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 800;
}

.form-group input {
    width: 100%;
    min-height: 52px;

    padding: 0 16px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: #fafafd;

    color: var(--text);

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-group input:focus {
    border-color: #ff5b9f;

    box-shadow:
        0 0 0 4px rgba(255, 79, 154, .10);

    background: white;
}

.auth-submit {
    width: 100%;

    margin-top: 4px;
}

.auth-bottom {
    margin-top: 25px;

    text-align: center;

    color: var(--muted);

    font-size: 14px;
}

.auth-bottom a {
    color: var(--pink);

    font-weight: 800;
}

.alert {
    margin-bottom: 22px;
    padding: 14px 16px;

    border-radius: 14px;

    font-size: 13px;
    line-height: 1.5;
}

.alert-error {
    border: 1px solid #ffc4d6;

    color: #a5224e;
    background: #fff1f5;
}

@media (max-width: 600px) {

    .auth-section {
        padding: 35px 0;
    }

    .auth-card {
        padding: 27px 21px;
    }

    .auth-heading h1 {
        font-size: 31px;
    }

}
/* =========================================================
   DASHBOARD
========================================================= */

.dashboard-section {
    min-height: calc(100vh - 150px);
    min-height: calc(100dvh - 150px);
    padding: 70px 0;
}

.dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 35px;
}

.dashboard-top h1 {
    margin: 14px 0 8px;

    font-size: 42px;
    letter-spacing: -1.5px;
}

.dashboard-top p {
    margin: 0;

    color: var(--muted);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    margin-bottom: 35px;
}

.dashboard-stat {
    padding: 27px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: white;

    box-shadow: 0 12px 30px rgba(20, 25, 50, .05);
}

.dashboard-stat-value {
    display: block;

    font-size: 34px;
    font-weight: 900;
}

.dashboard-stat-label {
    color: var(--muted);

    font-size: 13px;
    font-weight: 700;
}

.dashboard-empty {
    padding: 65px 25px;

    border: 1px dashed #d9d9e5;
    border-radius: 28px;

    text-align: center;

    background: white;
}

.dashboard-empty-icon {
    margin-bottom: 15px;

    font-size: 45px;
}

.dashboard-empty h2 {
    margin: 0 0 10px;

    font-size: 30px;
}

.dashboard-empty p {
    max-width: 560px;

    margin: 0 auto 25px;

    color: var(--muted);

    line-height: 1.6;
}

.dashboard-account {
    margin-top: 30px;

    color: var(--muted);

    font-size: 13px;
}

.dashboard-account strong {
    color: var(--text);
}

.dashboard-account a {
    margin-left: 12px;

    color: var(--pink);

    font-weight: 800;
}

@media (max-width: 700px) {

    .dashboard-top {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-top h1 {
        font-size: 34px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   CRÉATION ÉVÉNEMENT
========================================================= */

.event-builder {
    min-height: calc(100vh - 150px);
    min-height: calc(100dvh - 150px);
    padding: 55px 0 90px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(255, 79, 154, .08),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(118, 87, 255, .07),
            transparent 30%
        );
}

.event-builder-container {
    max-width: 900px;
}


/* PROGRESSION */

.builder-progress {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    margin-bottom: 55px;
}

.builder-progress-item {
    min-width: 50px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 7px;
}

.builder-progress-item span {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: #9b9daa;
    background: white;

    font-size: 13px;
    font-weight: 900;
}

.builder-progress-item small {
    color: #999ca9;

    font-size: 10px;
    font-weight: 800;
}

.builder-progress-item.active span {
    border-color: transparent;

    color: white;
    background: var(--gradient);

    box-shadow:
        0 7px 20px rgba(255, 79, 154, .25);
}

.builder-progress-item.active small {
    color: var(--text);
}

.builder-progress-line {
    width: 70px;
    height: 2px;

    margin-top: 16px;

    background: #e3e3eb;
}


/* TITRE */

.builder-heading {
    max-width: 670px;

    margin: 0 auto 38px;

    text-align: center;
}

.builder-heading h1 {
    margin: 16px 0 10px;

    font-size: clamp(34px, 5vw, 49px);
    line-height: 1.05;

    letter-spacing: -2px;
}

.builder-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.6;
}


/* TYPES */

.event-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}

.event-type-option {
    cursor: pointer;
}

.event-type-option input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.event-type-card {
    min-height: 185px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 25px 18px;

    border: 2px solid transparent;
    border-radius: 22px;

    background: white;

    box-shadow:
        0 8px 28px rgba(20, 25, 50, .055);

    text-align: center;

    transition:
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.event-type-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(20, 25, 50, .09);
}

.event-type-icon {
    margin-bottom: 15px;

    font-size: 38px;
}

.event-type-card strong {
    margin-bottom: 7px;

    font-size: 17px;
}

.event-type-card small {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.4;
}

.event-type-option input:checked + .event-type-card {
    border-color: #ff579a;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fff7fa
        );

    box-shadow:
        0 15px 40px rgba(255, 79, 154, .13);
}

.event-type-option input:focus-visible + .event-type-card {
    outline: 3px solid rgba(255, 79, 154, .22);
    outline-offset: 3px;
}

.event-type-wide {
    grid-column: 2 / 3;
}


/* ACTIONS */

.builder-actions {
    display: flex;
    justify-content: space-between;

    gap: 15px;

    margin-top: 38px;
}


/* MOBILE */

@media (max-width: 700px) {

    .event-builder {
        padding-top: 35px;
    }

    .builder-progress {
        margin-bottom: 38px;
    }

    .builder-progress-line {
        width: 28px;
    }

    .builder-progress-item {
        min-width: 38px;
    }

    .builder-progress-item small {
        display: none;
    }

    .event-type-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 11px;
    }

    .event-type-wide {
        grid-column: 1 / -1;
    }

    .event-type-card {
        min-height: 155px;

        padding: 20px 12px;
    }

    .event-type-icon {
        font-size: 32px;
    }

}


@media (max-width: 430px) {

    .builder-actions {
        flex-direction: column-reverse;
    }

    .builder-actions .btn {
        width: 100%;
    }

}

/* =========================================================
   CRÉATION ÉVÉNEMENT - ÉTAPE 2
========================================================= */

.builder-progress-item.completed span {
    border-color: transparent;
    color: white;
    background: var(--dark);
}

.builder-progress-item.completed small {
    color: var(--text);
}

.builder-progress-line.completed {
    background: linear-gradient(
        90deg,
        var(--dark),
        #ff579a
    );
}


/* TYPE SÉLECTIONNÉ */

.selected-event-type {
    max-width: 650px;

    display: flex;
    align-items: center;

    gap: 14px;

    margin: 0 auto 22px;
    padding: 15px 18px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: white;
}

.selected-event-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 15px;

    background: #fff1f6;

    font-size: 25px;
}

.selected-event-type div {
    display: flex;
    flex: 1;
    flex-direction: column;

    gap: 3px;
}

.selected-event-type small {
    color: var(--muted);

    font-size: 11px;
}

.selected-event-type strong {
    font-size: 15px;
}

.selected-event-type > a {
    color: var(--pink);

    font-size: 12px;
    font-weight: 800;
}


/* FORMULAIRE */

.event-details-card {
    max-width: 650px;

    margin: 0 auto;
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 25px;

    background: white;

    box-shadow:
        0 15px 45px rgba(20, 25, 50, .06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 16px;
}

.optional-label {
    margin-left: 5px;

    color: #a5a7b1;

    font-size: 10px;
    font-weight: 600;
}

.field-help {
    color: var(--muted);

    font-size: 11px;
    line-height: 1.4;
}


/* MOBILE */

@media (max-width: 600px) {

    .event-details-card {
        padding: 23px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .selected-event-type {
        padding: 13px;
    }

}


/* =========================================================
   CRÉATION ÉVÉNEMENT - AMBIANCE
========================================================= */

.ambiance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.ambiance-option {
    cursor: pointer;
}

.ambiance-option > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ambiance-card {
    position: relative;

    min-height: 205px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 28px 20px;

    border: 2px solid transparent;
    border-radius: 24px;

    background: white;

    text-align: center;

    box-shadow:
        0 10px 30px rgba(20, 25, 50, .055);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.ambiance-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 40px rgba(20, 25, 50, .09);
}

.ambiance-icon {
    margin-bottom: 15px;
    font-size: 39px;
}

.ambiance-card strong {
    margin-bottom: 8px;
    font-size: 17px;
}

.ambiance-card small {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.5;
}

.ambiance-option input:checked + .ambiance-card {
    border-color: #ff579a;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fff6fa
        );

    box-shadow:
        0 16px 40px rgba(255, 79, 154, .13);
}

.ambiance-option input:focus-visible + .ambiance-card {
    outline: 3px solid rgba(255, 79, 154, .20);
    outline-offset: 3px;
}

.recommended-badge {
    position: absolute;

    top: -11px;
    left: 50%;

    transform: translateX(-50%);

    padding: 6px 12px;

    border-radius: 999px;

    color: white;
    background: var(--gradient);

    white-space: nowrap;

    font-size: 10px;
    font-weight: 900;
}


/* =========================================================
   QUESTIONS INTELLIGENTES
========================================================= */

.smart-questions {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 25px;

    background: white;

    box-shadow:
        0 12px 35px rgba(20, 25, 50, .05);
}

.smart-questions-heading {
    margin-bottom: 25px;
}

.smart-questions-heading h2 {
    margin: 0 0 7px;

    font-size: 24px;
    letter-spacing: -.7px;
}

.smart-questions-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.5;
}

.smart-question {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px 0;

    border-top: 1px solid var(--border);
}

.smart-question:first-of-type {
    border-top: 0;
}

.smart-question-info {
    display: flex;
    align-items: center;

    gap: 15px;

    flex: 1;
}

.smart-question-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 14px;

    background: #fff3f7;

    font-size: 23px;
}

.smart-question-info > div {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.smart-question-info strong {
    font-size: 14px;
    line-height: 1.35;
}

.smart-question-info small {
    max-width: 430px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.45;
}


/* =========================================================
   OUI / NON / JE NE SAIS PAS
========================================================= */

.yes-no-choice {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    flex: 0 0 auto;
}

.yes-no-choice label {
    cursor: pointer;
}

.yes-no-choice input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.yes-no-choice span {
    min-width: 90px;
    min-height: 39px;

    display: grid;
    place-items: center;

    padding: 0 14px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: #fafafd;

    color: var(--text);

    font-size: 12px;
    font-weight: 800;

    white-space: nowrap;

    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.yes-no-choice span:hover {
    border-color: #ffc2da;
    background: #fff8fb;
}

.yes-no-choice input:checked + span {
    border-color: #ff579a;

    color: #d82f76;
    background: #fff0f6;

    box-shadow:
        0 5px 15px rgba(255, 79, 154, .10);
}

.yes-no-choice input:focus-visible + span {
    outline: 3px solid rgba(255, 79, 154, .20);
    outline-offset: 2px;
}


/* =========================================================
   TABLETTE / MOBILE
========================================================= */

@media (max-width: 850px) {

    .smart-question {
        flex-direction: column;
        align-items: stretch;
    }

    .yes-no-choice {
        width: 100%;
    }

    .yes-no-choice label {
        flex: 1;
    }

    .yes-no-choice span {
        width: 100%;
        min-width: 0;
    }

}


@media (max-width: 700px) {

    .ambiance-grid {
        grid-template-columns: 1fr;
    }

    .ambiance-card {
        min-height: 150px;
    }

    .smart-questions {
        padding: 23px 18px;
    }

    .smart-question {
        gap: 16px;
        padding: 18px 0;
    }

    .smart-question-info {
        align-items: flex-start;
    }

    .smart-question-info small {
        max-width: none;
    }

    .yes-no-choice {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .yes-no-choice label {
        width: 100%;
    }

    .yes-no-choice span {
        width: 100%;
        min-width: 0;

        padding: 0 8px;

        font-size: 11px;
    }

}


@media (max-width: 450px) {

    .yes-no-choice {
        grid-template-columns: 1fr;
    }

    .yes-no-choice span {
        min-height: 44px;
        font-size: 12px;
    }

}

/* =========================================================
   CRÉATION ÉVÉNEMENT - RÉGLAGES
========================================================= */

.settings-list {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.setting-block {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 25px;

    border: 1px solid var(--border);
    border-radius: 23px;

    background: white;

    box-shadow:
        0 10px 32px rgba(20, 25, 50, .045);
}

.setting-block-column {
    flex-direction: column;
    align-items: stretch;
}

.setting-main {
    display: flex;
    align-items: center;

    gap: 17px;

    flex: 1;
}

.setting-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 16px;

    background: #fff2f7;

    font-size: 27px;
}

.setting-copy {
    flex: 1;
}

.setting-copy h2 {
    margin: 0 0 6px;

    font-size: 17px;
}

.setting-copy p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.5;
}

.setting-copy small {
    display: block;

    margin-top: 5px;

    color: #9a9da9;

    font-size: 11px;
    line-height: 1.4;
}

.setting-title-row {
    display: flex;
    align-items: center;

    gap: 9px;
}

.setting-title-row h2 {
    margin: 0;
}

.setting-badge {
    padding: 4px 8px;

    border-radius: 999px;

    color: #d42f75;
    background: #fff0f6;

    font-size: 9px;
    font-weight: 900;
}

.setting-fixed {
    min-width: 60px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    color: white;
    background: var(--gradient);

    font-size: 18px;
    font-weight: 900;
}


/* =========================================================
   CHOIX ACTIVÉ / DÉSACTIVÉ
========================================================= */

.setting-choice {
    display: flex;
    gap: 8px;

    flex: 0 0 auto;
}

.setting-choice label {
    cursor: pointer;
}

.setting-choice input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.setting-choice span {
    min-width: 95px;
    min-height: 40px;

    display: grid;
    place-items: center;

    padding: 0 13px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: #fafafd;

    font-size: 11px;
    font-weight: 800;

    transition:
        border-color .2s ease,
        color .2s ease,
        background .2s ease;
}

.setting-choice input:checked + span {
    border-color: #ff579a;

    color: #d82f76;
    background: #fff0f6;
}


/* =========================================================
   MODES GALERIE
========================================================= */

.gallery-mode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 5px;
}

.gallery-mode-option {
    cursor: pointer;
}

.gallery-mode-option input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.gallery-mode-card {
    position: relative;

    min-height: 170px;

    display: flex;
    flex-direction: column;

    padding: 21px;

    border: 2px solid transparent;
    border-radius: 19px;

    background: #fafafd;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.gallery-mode-card:hover {
    transform: translateY(-2px);
}

.gallery-mode-icon {
    margin-bottom: 12px;

    font-size: 25px;
}

.gallery-mode-card strong {
    margin-bottom: 7px;

    font-size: 14px;
}

.gallery-mode-card small {
    color: var(--muted);

    font-size: 11px;
    line-height: 1.45;
}

.gallery-mode-card em {
    position: absolute;

    top: 13px;
    right: 13px;

    padding: 4px 7px;

    border-radius: 999px;

    color: #d82f76;
    background: #fff0f6;

    font-size: 8px;
    font-style: normal;
    font-weight: 900;
}

.gallery-mode-option input:checked + .gallery-mode-card {
    border-color: #ff579a;

    background: #fff6fa;

    box-shadow:
        0 10px 25px rgba(255, 79, 154, .08);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 750px) {

    .setting-block {
        flex-direction: column;
        align-items: stretch;
    }

    .setting-choice {
        width: 100%;
    }

    .setting-choice label {
        flex: 1;
    }

    .setting-choice span {
        width: 100%;
    }

    .setting-fixed {
        width: 100%;
    }

    .gallery-mode-grid {
        grid-template-columns: 1fr;
    }

    .gallery-mode-card {
        min-height: 125px;
    }

}


@media (max-width: 450px) {

    .setting-main {
        align-items: flex-start;
    }

    .setting-choice {
        flex-direction: column;
    }

}


/* =========================================================
   CRÉATION ÉVÉNEMENT - VALIDATION
========================================================= */

.review-card {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 26px;

    background: white;

    box-shadow:
        0 15px 45px rgba(20, 25, 50, .06);
}

.review-event-header {
    display: flex;
    align-items: center;

    gap: 17px;

    padding-bottom: 25px;

    border-bottom: 1px solid var(--border);
}

.review-event-icon {
    width: 65px;
    height: 65px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 20px;

    background: #fff1f6;

    font-size: 34px;
}

.review-event-header small {
    color: var(--muted);

    font-size: 11px;
    font-weight: 800;
}

.review-event-header h2 {
    margin: 3px 0;

    font-size: 25px;
}

.review-event-header p {
    margin: 0;

    color: var(--muted);
}


/* GRID */

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    padding: 25px 0;
}

.review-item {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 15px;

    border-radius: 15px;

    background: #fafafd;
}

.review-item > span {
    font-size: 23px;
}

.review-item div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.review-item small {
    color: var(--muted);

    font-size: 10px;
}

.review-item strong {
    font-size: 13px;
}


/* PLAN */

.review-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px;

    border-radius: 18px;

    color: white;
    background: var(--dark);
}

.review-plan > div:first-child {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.review-plan small {
    color: #aeb3c3;

    font-size: 10px;
}

.review-plan strong {
    font-size: 17px;
}

.review-plan p {
    margin: 0;

    color: #aeb3c3;

    font-size: 11px;
}

.review-plan-price {
    font-size: 20px;
    font-weight: 900;
}


/* NOTICE */

.review-notice {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 20px;
    padding: 15px 18px;

    border-radius: 15px;

    background: #fff3f8;
}

.review-notice span {
    font-size: 22px;
}

.review-notice p {
    margin: 0;

    color: #6e5361;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   ÉVÉNEMENT CRÉÉ
========================================================= */

.created-section {
    min-height: calc(100vh - 150px);
    min-height: calc(100dvh - 150px);

    display: flex;
    align-items: center;

    padding: 70px 0;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(255, 79, 154, .12),
            transparent 35%
        );
}

.created-container {
    max-width: 650px;
}

.created-check {
    width: 72px;
    height: 72px;

    display: grid;
    place-items: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    color: white;
    background: var(--gradient);

    font-size: 34px;
    font-weight: 900;

    box-shadow:
        0 15px 35px rgba(255, 79, 154, .22);
}

.created-section h1 {
    margin: 18px 0 10px;

    font-size: 42px;
    letter-spacing: -1.5px;
}

.created-intro {
    max-width: 540px;

    margin: 0 auto 30px;

    color: var(--muted);

    line-height: 1.6;
}

.created-event-card {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 25px;

    background: white;

    box-shadow: var(--shadow);
}

.created-event-card > small {
    color: var(--muted);

    font-size: 11px;
}

.created-event-card h2 {
    margin: 6px 0 25px;

    font-size: 25px;
}

.created-code-label {
    margin-bottom: 7px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.created-code {
    display: inline-block;

    padding: 11px 20px;

    border-radius: 14px;

    background: #f4f2ff;

    color: #6c4ee8;

    font-size: 28px;
    font-weight: 900;

    letter-spacing: 5px;
}

.created-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 15px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 11px;
}

.created-actions {
    display: flex;
    justify-content: center;

    gap: 10px;

    margin-top: 25px;
}


/* MOBILE */

@media (max-width: 600px) {

    .review-card {
        padding: 22px 17px;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .review-plan {
        flex-direction: column;
        align-items: flex-start;
    }

    .created-section {
        padding: 45px 0;
    }

    .created-section h1 {
        font-size: 34px;
    }

    .created-actions {
        flex-direction: column;
    }

    .created-actions .btn {
        width: 100%;
    }

}

/* =========================================================
   ENTRÉE INVITÉ VIF
========================================================= */

.guest-entry-body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 80, 160, .15),
            transparent 35%
        ),
        #f8f8fc;
}

.guest-entry-section {
    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 45px 18px;
}

.guest-entry-container {
    width: 100%;
    max-width: 620px;

    text-align: center;
}

.guest-vif-logo {
    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    margin: 0 auto 20px;

    border-radius: 20px;

    color: white;
    background: var(--gradient);

    font-size: 20px;
    font-weight: 900;

    box-shadow:
        0 15px 35px rgba(255, 79, 154, .22);
}

.guest-entry-container h1 {
    margin: 17px 0 7px;

    font-size: 39px;
    letter-spacing: -1.3px;
}

.guest-entry-intro {
    margin: 0 0 30px;

    color: var(--muted);

    font-size: 14px;
}


/* NOM */

.guest-name-block {
    padding: 23px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: white;

    text-align: left;

    box-shadow:
        0 10px 30px rgba(20, 25, 50, .05);
}

.guest-name-block label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 800;
}

.guest-name-block input {
    width: 100%;
    min-height: 50px;

    padding: 0 15px;

    border: 1px solid var(--border);
    border-radius: 13px;

    background: #fafafd;

    font: inherit;
}

.guest-name-block input:focus {
    outline: none;

    border-color: #ff579a;

    box-shadow:
        0 0 0 3px rgba(255, 87, 154, .10);
}

.guest-name-block small {
    display: block;

    margin-top: 8px;

    color: var(--muted);

    font-size: 10px;
}


/* CHOIX */

.guest-mode-heading {
    margin: 30px 0 16px;
}

.guest-mode-heading h2 {
    margin: 0 0 6px;

    font-size: 20px;
}

.guest-mode-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
}

.guest-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 13px;
}

.guest-mode-option {
    cursor: pointer;
}

.guest-mode-option input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.guest-mode-card {
    position: relative;

    min-height: 195px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 24px 18px;

    border: 2px solid transparent;
    border-radius: 22px;

    background: white;

    box-shadow:
        0 10px 30px rgba(20, 25, 50, .05);

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.guest-mode-card:hover {
    transform: translateY(-2px);
}

.guest-mode-icon {
    margin-bottom: 13px;

    font-size: 37px;
}

.guest-mode-card strong {
    margin-bottom: 7px;

    font-size: 15px;
}

.guest-mode-card small {
    max-width: 210px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.45;
}

.guest-mode-card em {
    position: absolute;

    top: 12px;
    right: 12px;

    padding: 5px 8px;

    border-radius: 999px;

    color: #d82f76;
    background: #fff0f6;

    font-size: 8px;
    font-style: normal;
    font-weight: 900;
}

.guest-mode-option input:checked + .guest-mode-card {
    border-color: #ff579a;

    background: #fff6fa;
}

.guest-enter-button {
    width: 100%;

    margin-top: 20px;
}

.guest-capacity {
    margin-top: 16px;

    color: var(--muted);

    font-size: 10px;
}


/* MOBILE */

@media (max-width: 600px) {

    .guest-entry-section {
        align-items: flex-start;

        padding-top: 30px;
    }

    .guest-entry-container h1 {
        font-size: 31px;
    }

    .guest-mode-grid {
        grid-template-columns: 1fr;
    }

    .guest-mode-card {
        min-height: 150px;
    }

}

/* =========================================================
   VIF - ÉCRAN MISSION
========================================================= */

.mission-body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;

    background:
        radial-gradient(
            circle at 50% -5%,
            rgba(255, 79, 154, .16),
            transparent 34%
        ),
        #f7f7fb;
}

.mission-page {
    min-height: 100vh;
    min-height: 100dvh;

    padding: 25px 16px 50px;
}

.mission-container {
    width: 100%;
    max-width: 600px;

    margin: 0 auto;
}


/* =========================================================
   HEADER JOUEUR
========================================================= */

.mission-topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;

    gap: 12px;

    margin-bottom: 28px;
}

.mission-brand {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    color: white;
    background: var(--gradient);

    font-size: 14px;
    font-weight: 900;

    box-shadow:
        0 10px 25px rgba(255, 79, 154, .18);
}

.mission-player {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 2px;
}

.mission-player small {
    overflow: hidden;

    color: var(--muted);

    font-size: 9px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.mission-player strong {
    overflow: hidden;

    font-size: 13px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.mission-score {
    min-width: 65px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.mission-score small {
    color: var(--muted);

    font-size: 9px;
}

.mission-score strong {
    font-size: 17px;
}


/* =========================================================
   PROGRESSION
========================================================= */

.mission-progress-header {
    display: flex;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 8px;

    color: var(--muted);

    font-size: 10px;
}

.mission-progress-header strong {
    color: var(--text);
}

.mission-progress {
    height: 8px;

    overflow: hidden;

    margin-bottom: 22px;

    border-radius: 999px;

    background: #e9e9f1;
}

.mission-progress-bar {
    height: 100%;

    border-radius: inherit;

    background: var(--gradient);

    transition: width .3s ease;
}


/* =========================================================
   CARTE MISSION
========================================================= */

.mission-card {
    position: relative;

    overflow: hidden;

    padding: 25px;

    border: 1px solid var(--border);
    border-radius: 27px;

    background: white;

    box-shadow:
        0 18px 55px rgba(20, 25, 50, .07);
}

.mission-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 26px;
}

.mission-difficulty {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 7px 10px;

    border-radius: 999px;

    background: #f3f2fa;

    font-size: 10px;
    font-weight: 800;
}

.mission-points {
    padding: 7px 10px;

    border-radius: 999px;

    color: #d72e76;
    background: #fff0f6;

    font-size: 11px;
    font-weight: 900;
}

.mission-number {
    width: 72px;
    height: 72px;

    display: grid;
    place-items: center;

    margin: 0 auto 16px;

    border-radius: 23px;

    color: white;
    background: var(--gradient);

    font-size: 31px;
    font-weight: 900;

    box-shadow:
        0 15px 35px rgba(255, 79, 154, .18);
}

.mission-label {
    display: block;

    margin-bottom: 8px;

    color: #a1a3af;

    text-align: center;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.6px;
}

.mission-card h1 {
    max-width: 470px;

    margin: 0 auto 13px;

    text-align: center;

    font-size: 27px;
    line-height: 1.15;

    letter-spacing: -.8px;
}

.mission-instructions {
    max-width: 470px;

    margin: 0 auto;

    color: var(--muted);

    text-align: center;

    font-size: 13px;
    line-height: 1.6;
}

.mission-common {
    max-width: 390px;

    margin: 18px auto 0;
    padding: 9px 12px;

    border-radius: 12px;

    color: #745067;
    background: #fff5f9;

    text-align: center;

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   APPAREIL PHOTO
========================================================= */

.mission-photo-area {
    margin-top: 28px;
}

.mission-camera-button {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    width: 100%;

    padding: 17px;

    border-radius: 18px;

    color: white;
    background: var(--dark);

    cursor: pointer;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.mission-camera-button:hover {
    transform: translateY(-2px);
}

.mission-camera-button > span {
    font-size: 27px;
}

.mission-camera-button strong,
.mission-camera-button small {
    display: block;
}

.mission-camera-button strong {
    font-size: 14px;
}

.mission-camera-button small {
    margin-top: 2px;

    color: #b9bdc9;

    font-size: 9px;
}

.mission-photo-selected {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 12px;
    padding: 13px 15px;

    border: 1px solid #cbe9d6;
    border-radius: 14px;

    background: #f2fff6;

    text-align: left;
}

.mission-photo-selected[hidden] {
    display: none;
}

.mission-photo-selected > span {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 50%;

    color: white;
    background: #37a964;

    font-weight: 900;
}

.mission-photo-selected div {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.mission-photo-selected strong {
    font-size: 11px;
}

.mission-photo-selected small {
    color: var(--muted);

    font-size: 9px;
}

.mission-photo-note {
    max-width: 420px;

    margin: 12px auto 0;

    color: #9a9da8;

    text-align: center;

    font-size: 9px;
    line-height: 1.5;
}


/* =========================================================
   INFOS BAS
========================================================= */

.mission-footer-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 16px;
}

.mission-footer-info span {
    padding: 7px 10px;

    border-radius: 999px;

    color: var(--muted);
    background: white;

    font-size: 9px;

    box-shadow:
        0 5px 18px rgba(20, 25, 50, .04);
}


/* =========================================================
   FIN DU PARCOURS
========================================================= */

.mission-complete-icon {
    width: 85px;
    height: 85px;

    display: grid;
    place-items: center;

    margin: 50px auto 20px;

    border-radius: 28px;

    background: white;

    font-size: 43px;

    box-shadow:
        0 15px 40px rgba(20, 25, 50, .08);
}

.mission-eyebrow {
    display: block;

    color: #d72e76;

    text-align: center;

    font-size: 10px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.mission-container > h1 {
    text-align: center;
}

.mission-complete-text {
    color: var(--muted);

    text-align: center;
}

.mission-final-score {
    max-width: 250px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 5px;

    margin: 25px auto;
    padding: 20px;

    border-radius: 20px;

    background: white;
}

.mission-final-score small {
    color: var(--muted);

    font-size: 10px;
}

.mission-final-score strong {
    font-size: 29px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 500px) {

    .mission-page {
        padding:
            18px 13px
            35px;
    }

    .mission-card {
        padding:
            21px 17px;
    }

    .mission-card h1 {
        font-size: 24px;
    }

    .mission-number {
        width: 64px;
        height: 64px;

        font-size: 27px;
    }

}

/* =========================================================
   VIF - VALIDATION PHOTO MISSION
========================================================= */

.mission-success-message {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 18px;
    padding: 14px 16px;

    border: 1px solid #c9ead4;
    border-radius: 16px;

    background: #f1fff6;

    box-shadow:
        0 8px 25px rgba(38, 150, 80, .06);
}

.mission-success-message > span {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 50%;

    color: white;
    background: #39a965;

    font-weight: 900;
}

.mission-success-message div {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.mission-success-message strong {
    font-size: 12px;
}

.mission-success-message small {
    color: #309258;

    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   APERÇU PHOTO
========================================================= */

.mission-preview {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: #fafafd;
}

.mission-preview[hidden] {
    display: none;
}

.mission-preview-image {
    width: 100%;
    height: 330px;

    overflow: hidden;

    background: #111;
}

.mission-preview-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}

.mission-preview-status {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 5px;

    padding: 15px;
}

.mission-preview-status span {
    color: #d82f76;

    font-size: 10px;
    font-weight: 900;
}

.mission-preview-status strong {
    font-size: 13px;
}

.mission-preview-actions {
    display: grid;
    grid-template-columns: auto 1fr;

    gap: 9px;

    padding:
        0 15px
        15px;
}

.mission-preview-actions .btn {
    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    text-align: center;

    cursor: pointer;
}

.mission-preview-actions button:disabled {
    opacity: .65;
    cursor: wait;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

    .mission-preview-image {
        height: 280px;
    }

    .mission-preview-actions {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   VIF - REMPLACEMENT DE MISSION
========================================================= */

.mission-replace-form {
    margin-top: 18px;

    text-align: center;
}

.mission-replace-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;

    gap: 3px;

    padding: 10px 15px;

    border: 1px solid var(--border);
    border-radius: 13px;

    color: #6f7180;
    background: #fafafd;

    font-family: inherit;
    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.mission-replace-button:hover {
    border-color: #ffc2da;

    background: #fff6fa;

    transform: translateY(-1px);
}

.mission-replace-button small {
    color: #a1a3af;

    font-size: 8px;
    font-weight: 700;
}

.mission-already-replaced {
    width: fit-content;

    margin: 18px auto 0;
    padding: 8px 11px;

    border-radius: 11px;

    color: #858793;
    background: #f4f4f8;

    font-size: 9px;
    font-weight: 700;
}


/* MESSAGE APRÈS REMPLACEMENT */

.mission-replaced-message {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 18px;
    padding: 14px 16px;

    border: 1px solid #e2dafb;
    border-radius: 16px;

    background: #f8f5ff;
}

.mission-replaced-message > span {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 50%;

    background: #eee8ff;

    font-size: 17px;
}

.mission-replaced-message div {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.mission-replaced-message strong {
    font-size: 12px;
}

.mission-replaced-message small {
    color: #77728c;

    font-size: 9px;
}

/* =========================================================
   VIF - PHOTOS LIBRES
========================================================= */

.free-photo-body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;

    background:
        radial-gradient(
            circle at 50% -5%,
            rgba(121, 86, 255, .12),
            transparent 35%
        ),
        #f7f7fb;
}

.free-photo-page {
    min-height: 100vh;
    min-height: 100dvh;

    padding: 25px 16px 50px;
}

.free-photo-container {
    width: 100%;
    max-width: 600px;

    margin: 0 auto;
}


/* COMPTEUR */

.free-photo-counter {
    min-width: 65px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.free-photo-counter small {
    color: var(--muted);

    font-size: 9px;
}

.free-photo-counter strong {
    font-size: 16px;
}


/* TITRE */

.free-photo-heading {
    margin: 25px 0;

    text-align: center;
}

.free-photo-heading h1 {
    margin: 14px 0 7px;

    font-size: 32px;
    letter-spacing: -1px;
}

.free-photo-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}


/* LIMITE */

.free-photo-limit {
    margin-bottom: 18px;
}

.free-photo-limit-row {
    display: flex;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 8px;

    color: var(--muted);

    font-size: 10px;
}

.free-photo-limit-row strong {
    color: var(--text);
}


/* CARTE */

.free-photo-card {
    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 25px;

    background: white;

    box-shadow:
        0 15px 45px rgba(20, 25, 50, .06);
}


/* BOUTON APPAREIL */

.free-photo-camera {
    min-height: 260px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 25px;

    border: 2px dashed #dedee8;
    border-radius: 20px;

    background: #fafafd;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.free-photo-camera:hover {
    border-color: #ff9ac3;

    background: #fff7fa;

    transform: translateY(-2px);
}

.free-photo-camera-icon {
    margin-bottom: 13px;

    font-size: 43px;
}

.free-photo-camera strong {
    margin-bottom: 5px;

    font-size: 16px;
}

.free-photo-camera small {
    color: var(--muted);

    font-size: 10px;
}

.free-photo-camera[hidden] {
    display: none;
}


/* APERÇU */

.free-photo-preview {
    overflow: hidden;

    border-radius: 20px;

    background: #fafafd;
}

.free-photo-preview[hidden] {
    display: none;
}

.free-photo-preview-image {
    width: 100%;
    height: 360px;

    overflow: hidden;

    background: #111;
}

.free-photo-preview-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}

.free-photo-preview-copy {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 4px;

    padding: 16px;

    text-align: center;
}

.free-photo-preview-copy strong {
    font-size: 13px;
}

.free-photo-preview-copy small {
    color: var(--muted);

    font-size: 9px;
}

.free-photo-actions {
    display: grid;
    grid-template-columns: auto 1fr;

    gap: 9px;

    padding:
        0 15px
        15px;
}

.free-photo-actions .btn {
    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    cursor: pointer;
}

.free-photo-actions button:disabled {
    opacity: .65;
    cursor: wait;
}


/* INFO */

.free-photo-info {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-top: 17px;
    padding: 15px;

    border-radius: 15px;

    background: white;

    box-shadow:
        0 7px 22px rgba(20, 25, 50, .04);
}

.free-photo-info > span {
    font-size: 20px;
}

.free-photo-info p {
    margin: 0;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.55;
}

.free-photo-info strong {
    color: var(--text);
}


/* LIMITE ATTEINTE */

.free-photo-limit-reached {
    padding: 35px 25px;

    border: 1px solid var(--border);
    border-radius: 24px;

    background: white;

    text-align: center;

    box-shadow:
        0 15px 45px rgba(20, 25, 50, .06);
}

.free-photo-limit-reached > span {
    font-size: 43px;
}

.free-photo-limit-reached h2 {
    margin: 12px 0 7px;

    font-size: 21px;
}

.free-photo-limit-reached p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.5;
}


/* BOUTON BAS */

.free-photo-bottom-action {
    margin-top: 18px;

    text-align: center;
}


/* MOBILE */

@media (max-width: 520px) {

    .free-photo-page {
        padding:
            18px 13px
            35px;
    }

    .free-photo-heading h1 {
        font-size: 28px;
    }

    .free-photo-card {
        padding: 14px;
    }

    .free-photo-camera {
        min-height: 220px;
    }

    .free-photo-preview-image {
        height: 290px;
    }

    .free-photo-actions {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   VIF - GALERIE
========================================================= */

.gallery-body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;

    background:
        radial-gradient(
            circle at 50% -5%,
            rgba(255, 79, 154, .12),
            transparent 34%
        ),
        #f7f7fb;
}

.gallery-page {
    min-height: 100vh;
    min-height: 100dvh;

    padding: 25px 16px 55px;
}

.gallery-container {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;
}

.gallery-photo-total {
    min-width: 65px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.gallery-photo-total small {
    color: var(--muted);

    font-size: 9px;
}

.gallery-photo-total strong {
    font-size: 18px;
}


/* TITRE */

.gallery-heading {
    margin: 28px 0 24px;

    text-align: center;
}

.gallery-heading h1 {
    margin: 15px 0 7px;

    font-size: 36px;
    letter-spacing: -1.2px;
}

.gallery-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   FILTRES
========================================================= */

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 22px;
}

.gallery-filters a {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 9px 13px;

    border: 1px solid var(--border);
    border-radius: 999px;

    color: #70727e;
    background: white;

    text-decoration: none;

    font-size: 10px;
    font-weight: 800;

    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease;
}

.gallery-filters a span {
    min-width: 20px;
    height: 20px;

    display: grid;
    place-items: center;

    padding: 0 5px;

    border-radius: 999px;

    background: #f1f1f6;

    font-size: 8px;
}

.gallery-filters a.active {
    border-color: #ff579a;

    color: #d82f76;
    background: #fff1f7;
}

.gallery-filters a.active span {
    background: white;
}


/* =========================================================
   GRILLE
========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 13px;
}

.gallery-photo-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 19px;

    background: white;

    box-shadow:
        0 8px 28px rgba(20, 25, 50, .05);
}

.gallery-photo-image {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    display: block;

    overflow: hidden;

    background: #111;
}

.gallery-photo-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .25s ease;
}

.gallery-photo-card:hover
.gallery-photo-image img {
    transform: scale(1.025);
}


/* INFOS */

.gallery-photo-info {
    padding: 12px;
}

.gallery-photo-author {
    display: flex;
    align-items: center;

    gap: 8px;
}

.gallery-photo-author > span {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 10px;

    background: #fff1f6;

    font-size: 15px;
}

.gallery-photo-author div {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 1px;
}

.gallery-photo-author strong {
    overflow: hidden;

    font-size: 10px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.gallery-photo-author small {
    color: var(--muted);

    font-size: 8px;
}

.gallery-mission-title {
    margin:
        9px 0
        0;

    padding-top: 9px;

    border-top: 1px solid var(--border);

    color: #656773;

    font-size: 9px;
    line-height: 1.4;
}


/* =========================================================
   GALERIE VERROUILLÉE
========================================================= */

.gallery-locked {
    max-width: 520px;

    margin: 35px auto;
    padding: 45px 30px;

    border: 1px solid var(--border);
    border-radius: 26px;

    background: white;

    text-align: center;

    box-shadow:
        0 15px 45px rgba(20, 25, 50, .06);
}

.gallery-locked-icon {
    display: block;

    margin-bottom: 14px;

    font-size: 43px;
}

.gallery-locked h2 {
    margin: 0 0 8px;

    font-size: 22px;
}

.gallery-locked p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   GALERIE VIDE
========================================================= */

.gallery-empty {
    padding: 45px 25px;

    border: 1px solid var(--border);
    border-radius: 25px;

    background: white;

    text-align: center;
}

.gallery-empty > span {
    font-size: 42px;
}

.gallery-empty h2 {
    margin: 12px 0 7px;

    font-size: 20px;
}

.gallery-empty p {
    margin: 0;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   ACTIONS BAS
========================================================= */

.gallery-bottom-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 24px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 750px) {

    .gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 500px) {

    .gallery-page {
        padding:
            18px 11px
            40px;
    }

    .gallery-heading h1 {
        font-size: 29px;
    }

    .gallery-grid {
        gap: 8px;
    }

    .gallery-photo-card {
        border-radius: 15px;
    }

    .gallery-photo-info {
        padding: 9px;
    }

    .gallery-mission-title {
        font-size: 8px;
    }

}


/* =========================================================
   VIF - RÉACTIONS GALERIE
========================================================= */

.gallery-photo-reactions {
    display: flex;
    justify-content: flex-end;

    margin-top: 10px;
    padding-top: 9px;

    border-top: 1px solid var(--border);
}

.gallery-photo-reactions form {
    margin: 0;
}

.gallery-heart-button {
    min-width: 57px;
    height: 35px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    padding: 0 10px;

    border: 1px solid var(--border);
    border-radius: 999px;

    color: #777986;
    background: #fafafd;

    font-family: inherit;

    cursor: pointer;

    transition:
        transform .15s ease,
        border-color .15s ease,
        background .15s ease,
        color .15s ease;
}

.gallery-heart-button:hover {
    transform: scale(1.04);

    border-color: #ffc2d9;
    background: #fff5f9;
}

.gallery-heart-button.active {
    border-color: #ffb1d0;

    color: #d82f76;
    background: #fff0f6;
}

.gallery-heart-icon {
    font-size: 18px;
    line-height: 1;
}

.gallery-heart-count {
    min-width: 10px;

    font-size: 10px;
    font-weight: 900;
}


/* MOBILE */

@media (max-width: 500px) {

    .gallery-heart-button {
        min-width: 52px;
        height: 34px;
    }

    .gallery-heart-icon {
        font-size: 17px;
    }

}

/* =========================================================
   VIF - CLASSEMENT
========================================================= */

.leaderboard-body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;

    background:
        radial-gradient(
            circle at 50% -5%,
            rgba(255, 190, 60, .13),
            transparent 35%
        ),
        #f7f7fb;
}

.leaderboard-page {
    min-height: 100vh;
    min-height: 100dvh;

    padding: 25px 16px 55px;
}

.leaderboard-container {
    width: 100%;
    max-width: 760px;

    margin: 0 auto;
}

.leaderboard-my-rank {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.leaderboard-my-rank small {
    color: var(--muted);

    font-size: 9px;
}

.leaderboard-my-rank strong {
    font-size: 18px;
}


/* TITRE */

.leaderboard-heading {
    margin: 28px 0;

    text-align: center;
}

.leaderboard-heading h1 {
    margin: 15px 0 7px;

    font-size: 37px;
    letter-spacing: -1.2px;
}

.leaderboard-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   PODIUM
========================================================= */

.leaderboard-podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;

    gap: 11px;

    margin-bottom: 22px;
}

.podium-card {
    position: relative;

    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 22px 12px;

    border: 1px solid var(--border);
    border-radius: 21px;

    background: white;

    text-align: center;

    box-shadow:
        0 10px 32px rgba(20, 25, 50, .05);
}

.podium-first {
    min-height: 220px;

    justify-content: center;

    border-color: #f4d482;

    background:
        linear-gradient(
            180deg,
            #fffdf5,
            #ffffff
        );
}

.podium-second,
.podium-third {
    min-height: 190px;

    justify-content: center;
}

.podium-medal {
    margin-bottom: 10px;

    font-size: 27px;
}

.podium-avatar {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 9px;

    border-radius: 50%;

    color: white;
    background: var(--gradient);

    font-size: 18px;
    font-weight: 900;
}

.podium-card strong {
    width: 100%;

    overflow: hidden;

    margin-bottom: 5px;

    font-size: 13px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.podium-score {
    color: #d82f76;

    font-size: 18px;
    font-weight: 900;
}

.podium-card small {
    margin-top: 3px;

    color: var(--muted);

    font-size: 9px;
}


/* =========================================================
   LISTE
========================================================= */

.leaderboard-list {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 23px;

    background: white;

    box-shadow:
        0 12px 38px rgba(20, 25, 50, .05);
}

.leaderboard-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 17px 19px;

    border-bottom: 1px solid var(--border);
}

.leaderboard-list-header span {
    font-size: 13px;
    font-weight: 900;
}

.leaderboard-list-header small {
    color: var(--muted);

    font-size: 9px;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 45px 1fr auto;
    align-items: center;

    gap: 10px;

    padding: 14px 17px;

    border-bottom: 1px solid var(--border);
}

.leaderboard-row:last-child {
    border-bottom: 0;
}

.leaderboard-row.current-player {
    background: #fff5f9;
}

.leaderboard-rank {
    color: #656773;

    text-align: center;

    font-size: 13px;
    font-weight: 900;
}

.leaderboard-player-info {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 10px;
}

.leaderboard-avatar {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 13px;

    color: white;
    background: var(--gradient);

    font-size: 13px;
    font-weight: 900;
}

.leaderboard-player-info > div:last-child {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 2px;
}

.leaderboard-player-info strong {
    overflow: hidden;

    font-size: 11px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.leaderboard-player-info strong span {
    margin-left: 5px;
    padding: 2px 5px;

    border-radius: 999px;

    color: #d82f76;
    background: #fff0f6;

    font-size: 7px;
}

.leaderboard-player-info small {
    color: var(--muted);

    font-size: 8px;
}

.leaderboard-time {
    color: #9395a0 !important;
}

.leaderboard-score {
    min-width: 53px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.leaderboard-score strong {
    font-size: 17px;
}

.leaderboard-score small {
    color: var(--muted);

    font-size: 8px;
}


/* =========================================================
   RÈGLE DE DÉPARTAGE
========================================================= */

.leaderboard-rules {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-top: 16px;
    padding: 14px 16px;

    border-radius: 15px;

    background: white;
}

.leaderboard-rules > span {
    font-size: 17px;
}

.leaderboard-rules p {
    margin: 0;

    color: var(--muted);

    font-size: 9px;
    line-height: 1.55;
}


/* =========================================================
   CLASSEMENT DÉSACTIVÉ / VIDE
========================================================= */

.leaderboard-disabled {
    max-width: 520px;

    margin: 30px auto;
    padding: 40px 25px;

    border: 1px solid var(--border);
    border-radius: 25px;

    background: white;

    text-align: center;

    box-shadow:
        0 15px 45px rgba(20, 25, 50, .05);
}

.leaderboard-disabled > span {
    font-size: 43px;
}

.leaderboard-disabled h2 {
    margin: 13px 0 7px;

    font-size: 21px;
}

.leaderboard-disabled p {
    margin: 0;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   ACTIONS
========================================================= */

.leaderboard-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 22px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .leaderboard-page {
        padding:
            18px 11px
            40px;
    }

    .leaderboard-heading h1 {
        font-size: 30px;
    }

    .leaderboard-podium {
        gap: 6px;
    }

    .podium-card {
        padding:
            18px 7px;
    }

    .podium-first {
        min-height: 200px;
    }

    .podium-second,
    .podium-third {
        min-height: 175px;
    }

    .podium-avatar {
        width: 43px;
        height: 43px;
    }

    .podium-card strong {
        font-size: 10px;
    }

    .podium-score {
        font-size: 15px;
    }

    .leaderboard-row {
        grid-template-columns:
            34px
            1fr
            auto;

        padding:
            12px 10px;
    }

}

/* =========================================================
   VIF - NAVIGATION INVITÉ FIXE
========================================================= */

.vif-guest-nav {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1000;

    padding:
        8px 12px
        calc(
            8px + env(safe-area-inset-bottom)
        );

    background:
        rgba(255, 255, 255, .94);

    border-top:
        1px solid rgba(220, 220, 230, .9);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    box-shadow:
        0 -8px 30px
        rgba(20, 25, 50, .07);
}


.vif-guest-nav-inner {
    width: 100%;
    max-width: 600px;

    display: flex;
    align-items: center;
    justify-content: space-around;

    gap: 5px;

    margin: 0 auto;
}


/* =========================================================
   ITEM
========================================================= */

.vif-guest-nav-item {
    position: relative;

    min-width: 64px;
    min-height: 54px;

    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 3px;

    padding: 6px 7px;

    border-radius: 15px;

    color: #898b96;

    text-decoration: none;

    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease;
}


.vif-guest-nav-item:hover {
    color: #d82f76;

    background: #fff5f9;
}


.vif-guest-nav-item:active {
    transform: scale(.96);
}


/* =========================================================
   ICÔNE
========================================================= */

.vif-guest-nav-icon {
    display: block;

    font-size: 20px;
    line-height: 1;
}


/* =========================================================
   TEXTE
========================================================= */

.vif-guest-nav-label {
    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   PAGE ACTIVE
========================================================= */

.vif-guest-nav-item.active {
    color: #d82f76;

    background: #fff0f6;
}


.vif-guest-nav-item.active::before {
    content: "";

    position: absolute;

    top: 3px;
    left: 50%;

    width: 18px;
    height: 3px;

    transform:
        translateX(-50%);

    border-radius: 999px;

    background: var(--gradient);
}


/* =========================================================
   ESPACE POUR ÉVITER QUE LA NAV CACHE LE CONTENU
========================================================= */

.mission-body,
.free-photo-body,
.gallery-body,
.leaderboard-body {
    padding-bottom:
        calc(
            82px + env(safe-area-inset-bottom)
        );
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 800px) {

    .vif-guest-nav {
        left: 50%;
        right: auto;

        width: 520px;

        bottom: 18px;

        transform:
            translateX(-50%);

        padding: 8px;

        border:
            1px solid var(--border);

        border-radius: 22px;

        box-shadow:
            0 14px 45px
            rgba(20, 25, 50, .13);
    }

    .vif-guest-nav-item {
        min-height: 57px;
    }

}

/* =========================================================
   VIF - GESTION ÉVÉNEMENT ORGANISATEUR
========================================================= */

.organizer-event-body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(121, 86, 255, .10),
            transparent 34%
        ),
        #f7f7fb;
}

.organizer-event-page {
    padding: 28px 16px 70px;
}

.organizer-event-container {
    width: 100%;
    max-width: 980px;

    margin: 0 auto;
}

.organizer-event-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 24px;
}

.organizer-back-link {
    color: #777986;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;
}


/* HERO */

.organizer-event-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 20px;

    margin-bottom: 22px;
}

.organizer-event-hero h1 {
    margin: 12px 0 9px;

    font-size: 36px;
    letter-spacing: -1.2px;
}

.organizer-event-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px;
}

.organizer-event-meta > span {
    padding: 7px 10px;

    border-radius: 999px;

    color: #696b77;
    background: white;

    font-size: 9px;
    font-weight: 800;
}


/* STATUT */

.organizer-status {
    font-weight: 900 !important;
}

.organizer-status-ready {
    color: #6548d8 !important;
    background: #f1edff !important;
}

.organizer-status-live {
    color: #147b55 !important;
    background: #eafaf3 !important;
}

.organizer-status-closed {
    color: #777986 !important;
    background: #eeeeF3 !important;
}

.organizer-status-draft {
    color: #ad721b !important;
    background: #fff7e5 !important;
}


/* STATS */

.organizer-stats-grid {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

    margin-bottom: 20px;
}

.organizer-stat-card {
    display: flex;
    flex-direction: column;

    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 19px;

    background: white;

    box-shadow:
        0 8px 28px rgba(20, 25, 50, .04);
}

.organizer-stat-card > span {
    margin-bottom: 10px;

    font-size: 22px;
}

.organizer-stat-card strong {
    font-size: 27px;
}

.organizer-stat-card small {
    margin-top: 3px;

    color: var(--muted);

    font-size: 9px;
}


/* PANELS */

.organizer-panel {
    margin-bottom: 16px;
    padding: 22px;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: white;

    box-shadow:
        0 9px 30px rgba(20, 25, 50, .04);
}

.organizer-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-bottom: 18px;
}

.organizer-panel-heading h2 {
    margin: 8px 0 0;

    font-size: 19px;
}


/* CODE INVITÉ */

.organizer-guest-code {
    display: flex;

    margin-bottom: 12px;
}

.organizer-guest-code > div {
    display: flex;
    flex-direction: column;

    padding: 12px 16px;

    border-radius: 15px;

    background: #f7f5ff;
}

.organizer-guest-code small {
    color: var(--muted);

    font-size: 8px;
}

.organizer-guest-code strong {
    margin-top: 2px;

    font-size: 23px;
    letter-spacing: 3px;
}


/* COPIER LIEN */

.organizer-link-copy {
    display: grid;
    grid-template-columns: 1fr auto;

    gap: 8px;
}

.organizer-link-copy input {
    min-width: 0;

    padding: 13px 14px;

    border: 1px solid var(--border);
    border-radius: 13px;

    color: #62646f;
    background: #fafafd;

    font-family: inherit;
    font-size: 11px;
}

.organizer-link-copy .btn {
    margin: 0;
}

.organizer-help-text {
    margin: 13px 0 0;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.55;
}


/* CAPACITÉ */

.organizer-capacity-details {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 18px;

    margin-top: 11px;

    color: var(--muted);

    font-size: 9px;
}


/* MINI STATS */

.organizer-mini-stats {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;
}

.organizer-mini-stats > div {
    display: flex;
    flex-direction: column;

    padding: 16px;

    border-radius: 15px;

    background: #fafafd;
}

.organizer-mini-stats strong {
    font-size: 22px;
}

.organizer-mini-stats small {
    margin-top: 3px;

    color: var(--muted);

    font-size: 9px;
}


/* PARAMÈTRES */

.organizer-settings-list {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);

    gap: 8px;
}

.organizer-settings-list > div {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 10px;

    padding: 13px;

    border-radius: 13px;

    background: #fafafd;

    font-size: 10px;
}


/* JOUEURS */

.organizer-player-list {
    display: flex;
    flex-direction: column;
}

.organizer-player-row {
    display: grid;
    grid-template-columns:
        45px
        1fr
        auto;

    align-items: center;

    gap: 10px;

    padding: 13px 4px;

    border-bottom: 1px solid var(--border);
}

.organizer-player-row:last-child {
    border-bottom: 0;
}

.organizer-player-rank {
    color: #9698a2;

    font-size: 11px;
    font-weight: 900;

    text-align: center;
}

.organizer-player-row > div {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.organizer-player-row > div strong {
    font-size: 11px;
}

.organizer-player-row > div small {
    color: var(--muted);

    font-size: 8px;
}

.organizer-player-score {
    font-size: 13px;
}


/* SURPRISE */

.organizer-surprise-panel {
    border-color: #e3d8ff;

    background:
        linear-gradient(
            135deg,
            #fff,
            #faf7ff
        );
}


/* CONTRÔLE */

.organizer-danger-panel {
    border-color: #f1d6dc;
}

.organizer-close-button {
    margin-top: 13px;

    color: #b52f4a;
    background: #fff0f3;

    border: 1px solid #f2c3cd;
}


/* MOBILE */

@media (max-width: 700px) {

    .organizer-event-page {
        padding:
            19px 12px
            45px;
    }

    .organizer-event-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .organizer-event-hero h1 {
        font-size: 29px;
    }

    .organizer-stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .organizer-link-copy {
        grid-template-columns: 1fr;
    }

    .organizer-settings-list {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 450px) {

    .organizer-panel {
        padding: 17px;
    }

    .organizer-mini-stats {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   VIF - QR CODE ORGANISATEUR
========================================================= */

.organizer-qr-section {
    display: flex;
    align-items: center;

    gap: 22px;

    margin: 20px 0;
    padding: 22px;

    border: 1px solid #ece8f7;
    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #faf7ff,
            #fff7fa
        );
}


.organizer-qr-code {
    width: 210px;
    height: 210px;

    min-width: 210px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px;

    box-sizing: border-box;

    border-radius: 17px;

    background: #ffffff;

    box-shadow:
        0 8px 28px
        rgba(20, 25, 50, .08);
}


.organizer-qr-code img,
.organizer-qr-code canvas {
    display: block;

    max-width: 190px !important;
    max-height: 190px !important;
    height: auto !important;
}


#qrLoading {
    padding: 15px;

    color: #8a8c98;

    font-size: 11px;

    text-align: center;
}


.organizer-qr-copy {
    display: flex;
    flex-direction: column;

    gap: 7px;
}


.organizer-qr-copy strong {
    color: #171725;

    font-size: 18px;
}


.organizer-qr-copy small {
    max-width: 310px;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.55;
}


@media (max-width: 560px) {

    .organizer-qr-section {
        flex-direction: column;

        text-align: center;
    }


    .organizer-qr-code {
        width: 210px;
        min-width: 210px;
    }

}

.organizer-qr-actions {
    display: flex;
    justify-content: flex-start;

    margin:
        -5px 0
        18px;
}

.organizer-qr-actions .btn {
    margin: 0;
}

.organizer-management-actions {
    display: flex;

    margin:
        -6px 0
        20px;
}


.organizer-management-actions .btn {
    margin: 0;
}

/* =========================================================
   VIF - GESTION PARTICIPANTS
========================================================= */

.organizer-participants-body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;

    background:
        radial-gradient(
            circle at 50% -5%,
            rgba(121, 86, 255, .10),
            transparent 30%
        ),
        #f7f7fb;
}


.organizer-participants-page {
    padding:
        28px 16px
        65px;
}


.organizer-participants-container {
    width: 100%;
    max-width: 1050px;

    margin: 0 auto;
}


/* HERO */

.organizer-participants-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 20px;

    margin:
        30px 0
        25px;
}


.organizer-participants-hero h1 {
    margin:
        12px 0
        7px;

    font-size: 34px;
    letter-spacing: -1px;
}


.organizer-participants-hero p {
    margin: 0;

    color: var(--muted);

    font-size: 11px;
}


.organizer-participants-code {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    padding:
        11px 15px;

    border-radius: 15px;

    background: white;
}


.organizer-participants-code small {
    color: var(--muted);

    font-size: 8px;
}


.organizer-participants-code strong {
    margin-top: 2px;

    font-size: 17px;
    letter-spacing: 2px;
}


/* STATS / FILTRES */

.organizer-participant-stats {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    gap: 10px;

    margin-bottom: 18px;
}


.organizer-participant-stats a {
    display: flex;
    flex-direction: column;

    padding: 16px;

    border: 1px solid var(--border);
    border-radius: 17px;

    color: inherit;
    background: white;

    text-decoration: none;

    transition:
        border-color .18s ease,
        transform .18s ease,
        background .18s ease;
}


.organizer-participant-stats a:hover {
    transform: translateY(-2px);

    border-color: #e5bed1;
}


.organizer-participant-stats a.active {
    border-color: #ffb4d2;

    background: #fff4f8;
}


.organizer-participant-stats span {
    margin-bottom: 8px;

    font-size: 19px;
}


.organizer-participant-stats strong {
    font-size: 23px;
}


.organizer-participant-stats small {
    margin-top: 3px;

    color: var(--muted);

    font-size: 8px;
}


/* RECHERCHE */

.organizer-participant-search {
    display: grid;
    grid-template-columns:
        1fr auto auto;

    gap: 8px;

    margin-bottom: 18px;
}


.organizer-participant-search input[type="search"] {
    width: 100%;

    min-height: 44px;

    padding:
        0 14px;

    border: 1px solid var(--border);
    border-radius: 13px;

    outline: none;

    background: white;

    font-family: inherit;
    font-size: 11px;
}


.organizer-participant-search input[type="search"]:focus {
    border-color: #d5b4ff;
}


.organizer-participant-search .btn {
    margin: 0;
}


/* LISTE */

.organizer-participant-list {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


.organizer-participant-card {
    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: white;

    box-shadow:
        0 8px 28px rgba(20, 25, 50, .04);
}


/* IDENTITÉ */

.organizer-participant-main {
    display: flex;
    align-items: center;

    gap: 11px;
}


.organizer-participant-avatar {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 14px;

    color: white;

    background: var(--gradient);

    font-size: 15px;
    font-weight: 900;
}


.organizer-participant-main > div:last-child {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}


.organizer-participant-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;
}


.organizer-participant-name strong {
    font-size: 13px;
}


.organizer-participant-main small {
    color: var(--muted);

    font-size: 8px;
}


.participant-complete-badge {
    padding:
        3px 7px;

    border-radius: 999px;

    color: #147b55;

    background: #eafaf3;

    font-size: 7px;
    font-weight: 900;
}


/* DONNÉES */

.organizer-participant-data {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 14px;
}


.organizer-participant-data > div {
    min-width: 90px;

    display: flex;
    flex-direction: column;

    padding:
        10px 12px;

    border-radius: 12px;

    background: #fafafd;
}


.organizer-participant-data strong {
    font-size: 14px;
}


.organizer-participant-data small {
    margin-top: 2px;

    color: var(--muted);

    font-size: 7px;
}


/* PROGRESSION */

.organizer-participant-progress {
    margin-top: 14px;
}


.organizer-participant-progress > div:first-child {
    display: flex;
    justify-content: space-between;

    margin-bottom: 6px;

    color: var(--muted);

    font-size: 8px;
}


.organizer-participant-progress > div:first-child strong {
    color: #52545e;
}


/* ACTIVITÉ */

.organizer-participant-activity {
    display: flex;
    flex-wrap: wrap;

    gap:
        6px 20px;

    margin-top: 13px;
    padding-top: 11px;

    border-top: 1px solid var(--border);

    color: var(--muted);

    font-size: 8px;
}


/* DESKTOP : CARTE PLUS COMPACTE */

@media (min-width: 800px) {

    .organizer-participant-card {
        display: grid;

        grid-template-columns:
            minmax(220px, 1fr)
            auto;

        gap:
            10px 25px;
    }


    .organizer-participant-data {
        justify-content: flex-end;

        margin-top: 0;
    }


    .organizer-participant-progress,
    .organizer-participant-activity {
        grid-column:
            1 / -1;
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .organizer-participants-page {
        padding:
            18px 11px
            40px;
    }


    .organizer-participants-hero {
        align-items: flex-start;
        flex-direction: column;
    }


    .organizer-participants-code {
        align-items: flex-start;
    }


    .organizer-participants-hero h1 {
        font-size: 28px;
    }


    .organizer-participant-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .organizer-participant-search {
        grid-template-columns:
            1fr;
    }


    .organizer-participant-data {
        display: grid;
        grid-template-columns:
            repeat(2, 1fr);
    }


    .organizer-participant-data > div {
        min-width: 0;
    }

}


/* =========================================================
   VIF - MODÉRATION PHOTOS ORGANISATEUR
========================================================= */

.manage-photos-body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;

    background:
        radial-gradient(
            circle at 50% -5%,
            rgba(255, 79, 154, .10),
            transparent 30%
        ),
        #f7f7fb;
}


.manage-photos-page {
    padding:
        28px 16px
        65px;
}


.manage-photos-container {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}


/* HERO */

.manage-photos-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 20px;

    margin:
        30px 0
        24px;
}


.manage-photos-hero h1 {
    margin:
        12px 0
        7px;

    font-size: 34px;
    letter-spacing: -1px;
}


.manage-photos-hero p {
    margin: 0;

    color: var(--muted);

    font-size: 10px;
}


.manage-photos-total {
    padding:
        10px 14px;

    border-radius: 14px;

    background: white;

    font-size: 11px;
}


/* FILTRES */

.manage-photo-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 20px;
}


.manage-photo-filters a {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding:
        9px 13px;

    border: 1px solid var(--border);
    border-radius: 999px;

    color: #70727e;
    background: white;

    text-decoration: none;

    font-size: 9px;
    font-weight: 800;
}


.manage-photo-filters a span {
    min-width: 20px;
    height: 20px;

    display: grid;
    place-items: center;

    padding: 0 5px;

    border-radius: 999px;

    background: #f0f0f5;

    font-size: 8px;
}


.manage-photo-filters a.active {
    border-color: #ffb2d0;

    color: #d82f76;

    background: #fff2f7;
}


/* MOBILE — FILTRES PHOTOS UNIFORMES */

@media (max-width: 650px) {

    .manage-photo-filters {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;

        width: 100%;
    }


    .manage-photo-filters a {
        width: 100%;
        min-width: 0;
        min-height: 52px;

        box-sizing: border-box;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 8px;

        padding:
            10px 13px;

        border-radius: 16px;

        font-size: 10px;
        line-height: 1.2;

        white-space: normal;
    }


    .manage-photo-filters a span {
        flex: 0 0 auto;

        min-width: 22px;
        height: 22px;
    }


    .manage-photo-filters a:last-child {
        grid-column:
            1 / -1;
    }

}


/* PENDING */

.manage-photo-pending-info {
    margin-bottom: 18px;
    padding: 12px 14px;

    border-radius: 13px;

    color: #8a641c;
    background: #fff8e8;

    font-size: 9px;
    font-weight: 700;
}


/* GRID */

.manage-photo-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}


.manage-photo-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: white;

    box-shadow:
        0 9px 28px
        rgba(20, 25, 50, .045);
}


.manage-photo-card.is-hidden {
    opacity: .68;
}


/* IMAGE */

.manage-photo-image {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    display: block;

    overflow: hidden;

    background: #111;
}


.manage-photo-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.manage-photo-status {
    position: absolute;

    top: 10px;
    left: 10px;

    padding:
        6px 9px;

    border-radius: 999px;

    color: #ffffff;

    background:
        rgba(30, 30, 40, .82);

    font-size: 8px;
    font-weight: 900;
}


.manage-photo-status.pending {
    color: #7b5819;

    background: #fff2c9;
}


/* INFOS */

.manage-photo-info {
    padding: 13px;
}


.manage-photo-owner {
    display: flex;
    align-items: center;

    gap: 8px;
}


.manage-photo-owner > span {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 10px;

    background: #fff1f6;
}


.manage-photo-owner > div {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 2px;
}


.manage-photo-owner strong {
    overflow: hidden;

    font-size: 10px;

    white-space: nowrap;
    text-overflow: ellipsis;
}


.manage-photo-owner small {
    color: var(--muted);

    font-size: 8px;
}


.manage-photo-mission {
    margin:
        10px 0
        0;

    padding-top: 9px;

    border-top: 1px solid var(--border);

    color: #6f717c;

    font-size: 9px;
    line-height: 1.4;
}


/* SÉLECTION ET TÉLÉCHARGEMENT */

.manage-photo-selection-tools {
    margin: 0 0 22px;
    padding: 18px;

    border: 1px solid rgba(95, 53, 213, .16);
    border-radius: 16px;

    background: #ffffff;
}

.manage-photo-selection-summary {
    display: flex;
    flex-direction: column;
    gap: 4px;

    margin-bottom: 14px;
}

.manage-photo-selection-summary strong {
    font-size: 15px;
}

.manage-photo-selection-summary small {
    color: #747181;
    font-size: 12px;
    line-height: 1.45;
}

.manage-photo-selection-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 12px;
}

.manage-photo-selection-button {
    min-height: 40px;
    padding: 8px 12px;

    border: 1px solid #ddd1fb;
    border-radius: 10px;

    background: #f8f5ff;
    color: #5f35d5;

    font: inherit;
    font-size: 12px;
    font-weight: 800;

    cursor: pointer;
}

.manage-photo-selection-button.secondary {
    border-color: var(--border);

    background: #fafafd;
    color: #656773;
}

.manage-photo-selected-download-form {
    margin: 0;
}

.manage-photo-selected-download-button {
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;

    border: 0;
    border-radius: 12px;

    background: #5f35d5;
    color: #ffffff;

    font: inherit;
    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
}

.manage-photo-selected-download-button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.manage-photo-select-control {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 9px 10px;

    border-bottom: 1px solid var(--border);

    color: #5f35d5;
    background: #faf8ff;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
}

.manage-photo-select-control input {
    width: 18px;
    height: 18px;

    margin: 0;

    accent-color: #5f35d5;
}


/* ACTIONS */

.manage-photo-actions {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 7px;

    margin-top: 12px;
    padding-top: 11px;

    border-top: 1px solid var(--border);
}


.manage-photo-actions form {
    margin: 0;
}


.manage-photo-button {
    width: 100%;
    min-height: 37px;

    border: 1px solid var(--border);
    border-radius: 10px;

    color: #656773;
    background: #fafafd;

    font-family: inherit;
    font-size: 8px;
    font-weight: 800;

    cursor: pointer;
}


.manage-photo-button:hover {
    background: #f2f2f7;
}


.manage-photo-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    text-decoration: none;
    text-align: center;

    color: #5f35d5;
    border-color: #ddd1fb;
    background: #f8f5ff;
}


.manage-photo-download-button:hover {
    color: #4c2bad;
    border-color: #cbb9f7;
    background: #f1ebff;
}


.manage-photo-button.approve {
    color: #147b55;

    border-color: #c7eedf;

    background: #effbf6;
}


.manage-photo-button.delete {
    color: #b52f4a;

    border-color: #f0cbd3;

    background: #fff3f5;
}


/* TABLET */

@media (max-width: 850px) {

    .manage-photo-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* MOBILE */

@media (max-width: 520px) {

    .manage-photos-page {
        padding:
            18px 11px
            40px;
    }


    .manage-photos-hero {
        align-items: flex-start;
        flex-direction: column;
    }


    .manage-photos-hero h1 {
        font-size: 28px;
    }


    .manage-photo-grid {
        gap: 8px;
    }


    .manage-photo-card {
        border-radius: 15px;
    }


    .manage-photo-info {
        padding: 9px;
    }


    .manage-photo-actions {
        grid-template-columns: 1fr;
    }

}


.organizer-photo-management-action {
    display: flex;

    margin-top: 16px;
}


.organizer-photo-management-action .btn {
    margin: 0;
}

/* =========================================================
   VIF - SIGNALEMENT PHOTO INVITÉ
========================================================= */

.gallery-report-box {
    margin-top: 9px;
    padding-top: 9px;

    border-top: 1px solid var(--border);
}

.gallery-report-box summary {
    color: #8b8d97;

    font-size: 8px;
    font-weight: 800;

    cursor: pointer;

    list-style: none;
}

.gallery-report-box summary::-webkit-details-marker {
    display: none;
}

.gallery-report-box form {
    display: flex;
    flex-direction: column;

    gap: 7px;

    margin-top: 10px;
}

.gallery-report-box label {
    color: #656773;

    font-size: 8px;
    font-weight: 800;
}

.gallery-report-box select,
.gallery-report-box textarea {
    width: 100%;

    padding: 9px 10px;

    border: 1px solid var(--border);
    border-radius: 9px;

    outline: none;

    background: #fafafd;

    font-family: inherit;
    font-size: 9px;

    box-sizing: border-box;
}

.gallery-report-box textarea {
    resize: vertical;
}

.gallery-report-submit {
    min-height: 35px;

    border: 1px solid #f0cbd3;
    border-radius: 9px;

    color: #a2354d;
    background: #fff4f6;

    font-family: inherit;
    font-size: 8px;
    font-weight: 900;

    cursor: pointer;
}

.gallery-already-reported {
    margin-top: 9px;
    padding-top: 9px;

    border-top: 1px solid var(--border);

    color: #8b8d97;

    font-size: 8px;
    font-weight: 800;
}


/* =========================================================
   ORGANISATEUR - PHOTOS SIGNALÉES
========================================================= */

.manage-photo-report-badge {
    position: absolute;

    top: 10px;
    right: 10px;

    min-width: 34px;

    padding: 6px 9px;

    border-radius: 999px;

    color: #a3354d;
    background: #fff0f3;

    font-size: 9px;
    font-weight: 900;

    box-shadow:
        0 4px 14px
        rgba(30, 30, 45, .10);
}

.manage-photo-reports {
    display: flex;
    flex-direction: column;

    gap: 7px;

    margin-top: 11px;
    padding: 10px;

    border: 1px solid #f0d6dc;
    border-radius: 12px;

    background: #fff8fa;
}

.manage-photo-reports-title {
    color: #a3354d;

    font-size: 9px;
}

.manage-photo-report {
    padding-top: 7px;

    border-top: 1px solid #f2e0e4;
}

.manage-photo-report:first-of-type {
    padding-top: 0;

    border-top: 0;
}

.manage-photo-report > strong {
    display: block;

    color: #6c3b47;

    font-size: 8px;
}

.manage-photo-report small {
    display: block;

    margin-top: 2px;

    color: #99919a;

    font-size: 7px;
}

.manage-photo-report p {
    margin: 5px 0 0;

    color: #6e6870;

    font-size: 8px;
    line-height: 1.45;
}

.manage-photo-button.dismiss {
    color: #725817;

    border-color: #eadba9;

    background: #fff9e9;
}

/* =========================================================
   VIF - PASSER DE PHOTO À JOUEUR
========================================================= */

.start-playing-card {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    margin-top: 18px;
    padding: 20px;

    border: 1px solid #e6dcff;
    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #fff8fb,
            #f8f5ff
        );

    box-shadow:
        0 10px 32px
        rgba(20, 25, 50, .05);
}


.start-playing-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 16px;

    background: white;

    font-size: 25px;

    box-shadow:
        0 7px 20px
        rgba(121, 86, 255, .10);
}


.start-playing-content {
    min-width: 0;

    flex: 1;
}


.start-playing-content h2 {
    margin:
        10px 0
        6px;

    font-size: 19px;
}


.start-playing-content > p {
    margin: 0;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.55;
}


.start-playing-points {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 13px;
}


.start-playing-points span {
    padding:
        6px 9px;

    border-radius: 999px;

    color: #696b76;
    background: white;

    font-size: 8px;
    font-weight: 800;
}


.start-playing-card form {
    margin:
        15px 0
        0;
}


.start-playing-button {
    margin: 0 !important;
}


@media (max-width: 500px) {

    .start-playing-card {
        flex-direction: column;
    }

}


/* =========================================================
   VIF - REPRISE DE SESSION INVITÉ
========================================================= */

.vif-resume-overlay {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(247, 247, 251, .94);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);
}


.vif-resume-overlay[hidden] {
    display: none;
}


.vif-resume-card {
    width: 100%;
    max-width: 330px;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding:
        28px 24px;

    border: 1px solid var(--border);
    border-radius: 23px;

    background: white;

    text-align: center;

    box-shadow:
        0 18px 55px
        rgba(20, 25, 50, .10);
}


.vif-resume-card strong {
    margin-top: 15px;

    font-size: 15px;
}


.vif-resume-card small {
    margin-top: 7px;

    color: var(--muted);

    font-size: 9px;
    line-height: 1.5;
}


.vif-resume-spinner {
    width: 35px;
    height: 35px;

    border:
        3px solid
        #eeeef4;

    border-top-color:
        #d82f76;

    border-radius: 50%;

    animation:
        vifResumeSpin
        .8s linear
        infinite;
}


@keyframes vifResumeSpin {

    to {
        transform:
            rotate(360deg);
    }

}

/* =========================================================
   VIF - LOGO OFFICIEL
========================================================= */

.guest-vif-logo {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 18px;
}

.vif-logo-main {
    display: block;

    width: auto;
    height: auto;

    max-width: 190px;
    max-height: 95px;

    object-fit: contain;
}


/* Logo compact dans les pages invité */

.mission-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vif-logo-compact {
    display: block;

    width: auto;
    height: 36px;

    object-fit: contain;
}


/* Mobile */

@media (max-width: 600px) {

    .vif-logo-main {
        max-width: 155px;
        max-height: 78px;
    }

    .vif-logo-compact {
        height: 30px;
    }
}

.vif-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vif-logo {
    display: block;
    width: auto;
    object-fit: contain;
}

.vif-logo-main {
    max-width: 190px;
    max-height: 95px;
}

.vif-logo-compact {
    height: 36px;
    max-width: 120px;
}

.vif-logo-small {
    height: 26px;
    max-width: 90px;
}

@media (max-width: 600px) {

    .vif-logo-main {
        max-width: 155px;
        max-height: 78px;
    }

    .vif-logo-compact {
        height: 30px;
    }
}

/* =========================================================
   VIF - CONSERVATION DES SOUVENIRS
========================================================= */

.organizer-retention-card {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    margin-top: 20px;
    padding: 20px;

    border: 1px solid #e7e7ef;
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 8px 30px
        rgba(20, 25, 50, .05);
}


.organizer-retention-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 14px;

    background: #f5f3ff;

    font-size: 22px;
}


.organizer-retention-content {
    flex: 1;
    min-width: 0;
}


.organizer-retention-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;
}


.organizer-retention-heading h2 {
    margin: 7px 0 0;

    font-size: 18px;
}


.organizer-retention-days {
    display: inline-flex;
    align-items: center;

    flex: 0 0 auto;

    padding: 7px 11px;

    border-radius: 999px;

    color: #346653;
    background: #eaf8f1;

    font-size: 9px;
    font-weight: 900;
}


.organizer-retention-main {
    margin: 14px 0 0;

    color: #3f404a;

    font-size: 11px;
}


.organizer-retention-message {
    margin: 5px 0 0;

    color: #858691;

    font-size: 9px;
    line-height: 1.5;
}


/* 30 jours ou moins */

.organizer-retention-card.retention-soon {
    border-color: #eadfb9;

    background: #fffdf7;
}

.organizer-retention-card.retention-soon
.organizer-retention-days {
    color: #7a641e;
    background: #fff4c8;
}


/* 7 jours ou moins */

.organizer-retention-card.retention-warning {
    border-color: #efcfac;

    background: #fffaf4;
}

.organizer-retention-card.retention-warning
.organizer-retention-days {
    color: #9a5c13;
    background: #ffebcf;
}


/* Dernier jour */

.organizer-retention-card.retention-critical {
    border-color: #efb7be;

    background: #fff6f7;
}

.organizer-retention-card.retention-critical
.organizer-retention-days {
    color: #a52f45;
    background: #ffe1e6;
}


/* Expiré */

.organizer-retention-card.retention-expired {
    border-color: #e1c5ca;

    background: #fbf7f8;
}

.organizer-retention-days.expired {
    color: #8e3446;
    background: #f5dfe4;
}


/* Alerte */

.organizer-retention-alert {
    margin-top: 13px;
    padding: 10px 12px;

    border-radius: 11px;

    color: #805c19;
    background: #fff5d9;

    font-size: 9px;
    font-weight: 700;
    line-height: 1.45;
}


.organizer-retention-alert.expired {
    color: #89374a;
    background: #f9e8ec;
}


@media (max-width: 600px) {

    .organizer-retention-card {
        padding: 16px;
    }

    .organizer-retention-heading {
        flex-direction: column;
    }

    .organizer-retention-days {
        align-self: flex-start;
    }

}

/* =========================================
   VIF - LOGO HEADER
========================================= */

.site-header .brand .vif-logo-compact {
    width: 150px;
    height: auto;
    display: block;
}

.site-header .brand {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .site-header .brand .vif-logo-compact {
        width: 125px;
    }
}

/* =========================================
   VIF - LOGO DASHBOARD
========================================= */

.dashboard-header .vif-logo-compact {
    width: 150px !important;
    height: auto;
    display: block;
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    .dashboard-header .vif-logo-compact {
        width: 125px !important;
    }
}


/* =========================================
   VIF - LOGO MANAGE EVENT
========================================= */

.organizer-event-topbar .vif-logo-compact {
    width: 150px !important;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .organizer-event-topbar .vif-logo-compact {
        width: 125px !important;
    }
}
/* =========================================================
   VIF - PARTAGE PHOTO INVITÉ
========================================================= */

.gallery-share-actions {
    display: flex;
    justify-content: flex-end;

    margin-top: 9px;
    padding-top: 9px;

    border-top: 1px solid var(--border);
}

.gallery-share-button {
    min-height: 35px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    padding: 0 14px;

    border: 1px solid #b8ece6;
    border-radius: 999px;

    color: #16776f;
    background: #effcf9;

    font-family: inherit;
    font-size: 9px;
    font-weight: 900;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform .15s ease,
        border-color .15s ease,
        background .15s ease,
        color .15s ease;
}

.gallery-share-button:hover {
    transform: scale(1.03);

    border-color: #78d9cd;
    color: #0f625c;
    background: #e1f9f5;
}

.gallery-share-button:active {
    transform: scale(.98);
}



/* =========================================================
   LANGUAGE SWITCHER
========================================================= */

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 7px 10px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: #ffffff;

    font-size: 12px;
    font-weight: 800;
}

.language-switcher a {
    color: #76727f;
    text-decoration: none;
}

.language-switcher a.active {
    color: #5f35d5;
}

.language-switcher span {
    color: #cbc7d2;
}

