/*
 * Rheemo Core - Social Feed v0.2.0
 * Interface personnalisée du fil social Rheemo.
 */

:root {
    --rheemo-bg: #f5f7fb;
    --rheemo-card: #ffffff;
    --rheemo-ink: #111827;
    --rheemo-muted: #6b7280;
    --rheemo-line: rgba(15, 23, 42, 0.09);
    --rheemo-blue: #2563eb;
    --rheemo-purple: #7c3aed;
    --rheemo-pink: #ec4899;
    --rheemo-cyan: #06b6d4;
    --rheemo-radius: 22px;
    --rheemo-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

body.page-slug-fil-social,
body[class*="fil-social"] {
    background: var(--rheemo-bg) !important;
}

.rheemo-app-shell,
.rheemo-app-shell * {
    box-sizing: border-box;
}

.rheemo-app-shell {
    width: min(1460px, calc(100vw - 32px));
    margin: 28px auto 64px;
    color: var(--rheemo-ink);
    font-family: inherit;
}

.rheemo-feed-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 14% 15%, rgba(255,255,255,0.22), transparent 28%),
        radial-gradient(circle at 86% 10%, rgba(6,182,212,0.48), transparent 30%),
        linear-gradient(135deg, #111827 0%, #312e81 42%, #7c3aed 70%, #ec4899 100%);
    box-shadow: 0 28px 70px rgba(49, 46, 129, 0.28);
}

.rheemo-feed-hero:after {
    content: "";
    position: absolute;
    inset: auto -70px -130px auto;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
}

.rheemo-feed-hero__content,
.rheemo-feed-hero__actions {
    position: relative;
    z-index: 2;
}

.rheemo-feed-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.95);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rheemo-feed-hero h1 {
    margin: 14px 0 8px;
    color: #fff;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 950;
}

.rheemo-feed-hero p {
    max-width: 710px;
    margin: 0;
    color: rgba(255,255,255,0.86);
    font-size: 17px;
    line-height: 1.7;
}

.rheemo-feed-hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.rheemo-btn,
.rheemo-link-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none !important;
    border: 0;
    cursor: pointer;
    font-weight: 850;
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.rheemo-btn:hover,
.rheemo-link-pill:hover {
    transform: translateY(-1px);
}

.rheemo-btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--rheemo-blue), var(--rheemo-purple), var(--rheemo-pink));
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.rheemo-feed-hero .rheemo-btn-primary {
    background: #fff;
    color: #312e81 !important;
    box-shadow: 0 18px 34px rgba(0,0,0,0.16);
}

.rheemo-btn-ghost {
    color: #fff !important;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.24);
}

.rheemo-card {
    background: var(--rheemo-card);
    border: 1px solid var(--rheemo-line);
    border-radius: var(--rheemo-radius);
    box-shadow: var(--rheemo-shadow);
}

.rheemo-alert {
    margin: 18px 0 0;
    padding: 14px 18px;
    border-radius: 18px;
    font-weight: 800;
    border: 1px solid rgba(37, 99, 235, .14);
    background: #eff6ff;
    color: #1d4ed8;
}

.rheemo-alert-invalid,
.rheemo-alert-error,
.rheemo-alert-wait {
    background: #fff7ed;
    color: #c2410c;
    border-color: rgba(249, 115, 22, .2);
}

.rheemo-feed-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.rheemo-feed-left,
.rheemo-feed-right {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 16px;
}

.rheemo-profile-mini {
    overflow: hidden;
    text-align: center;
    padding: 0 18px 20px;
}

.rheemo-profile-mini__cover {
    height: 76px;
    margin: 0 -18px;
    background: linear-gradient(135deg, #ec4899, #7c3aed, #06b6d4);
}

.rheemo-profile-mini__avatar {
    width: 92px;
    height: 92px;
    margin: -46px auto 10px;
    padding: 4px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.rheemo-profile-mini__avatar img,
.rheemo-composer__avatar img,
.rheemo-post-card__avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.rheemo-profile-mini h2 {
    margin: 6px 0 4px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 950;
    color: var(--rheemo-ink);
}

.rheemo-profile-mini p {
    margin: 0 0 14px;
    color: var(--rheemo-muted);
    font-size: 14px;
    line-height: 1.55;
}

.rheemo-link-pill {
    min-height: 38px;
    padding: 0 14px;
    background: #eef2ff;
    color: #3730a3 !important;
    font-size: 14px;
}

.rheemo-side-nav {
    padding: 10px;
}

.rheemo-side-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 12px;
    border-radius: 16px;
    color: #334155 !important;
    text-decoration: none !important;
    font-weight: 850;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.rheemo-side-nav a:hover,
.rheemo-side-nav a.is-active {
    background: #eff6ff;
    color: #1d4ed8 !important;
    transform: translateX(2px);
}

.rheemo-feed-main {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.rheemo-composer {
    padding: 18px;
}

.rheemo-composer__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.rheemo-composer__avatar,
.rheemo-post-card__avatar {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    overflow: hidden;
    background: #e5e7eb;
}

.rheemo-composer__top strong {
    display: block;
    color: var(--rheemo-ink);
    font-size: 17px;
    font-weight: 950;
}

.rheemo-composer__top p {
    margin: 2px 0 0;
    color: var(--rheemo-muted);
    font-size: 14px;
}

.rheemo-composer textarea {
    display: block;
    width: 100%;
    min-height: 128px;
    resize: vertical;
    padding: 16px 17px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 20px;
    outline: none;
    background: #f8fafc;
    color: var(--rheemo-ink);
    font-size: 16px;
    line-height: 1.55;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.rheemo-composer textarea:focus {
    border-color: rgba(37, 99, 235, 0.4);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.rheemo-composer__meta,
.rheemo-composer__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.rheemo-post-types {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rheemo-post-types label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}

.rheemo-post-types input {
    accent-color: var(--rheemo-blue);
}

.rheemo-counter {
    color: var(--rheemo-muted);
    font-size: 13px;
    font-weight: 800;
}

.rheemo-soft-action {
    min-height: 40px;
    padding: 0 13px;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 850;
    cursor: not-allowed;
}

.rheemo-feed-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--rheemo-line);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.rheemo-feed-tabs a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 999px;
    color: #475569 !important;
    text-decoration: none !important;
    font-weight: 900;
    font-size: 14px;
}

.rheemo-feed-tabs a.is-active {
    background: #2563eb;
    color: #fff !important;
}

.rheemo-feed-tabs a[aria-disabled="true"] {
    opacity: .58;
    pointer-events: none;
}

.rheemo-post-list {
    display: grid;
    gap: 16px;
}

.rheemo-post-card {
    padding: 18px;
}

.rheemo-post-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rheemo-post-card__identity {
    min-width: 0;
    flex: 1;
}

.rheemo-post-card__identity strong {
    display: block;
    color: var(--rheemo-ink);
    font-size: 16px;
    font-weight: 950;
}

.rheemo-post-card__identity span {
    display: block;
    margin-top: 2px;
    color: var(--rheemo-muted);
    font-size: 13px;
    font-weight: 750;
}

.rheemo-post-more {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 0;
    background: #f1f5f9;
    color: #64748b;
    font-size: 15px;
    cursor: not-allowed;
}

.rheemo-post-card__body {
    margin-top: 14px;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.75;
}

.rheemo-post-card__body p {
    margin: 0 0 12px;
}

.rheemo-post-card__body p:last-child {
    margin-bottom: 0;
}

.rheemo-post-card__footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--rheemo-line);
}

.rheemo-post-card__footer button {
    min-height: 42px;
    border: 0;
    border-radius: 14px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 900;
    cursor: not-allowed;
}

.rheemo-empty-feed {
    padding: 34px 24px;
    text-align: center;
}

.rheemo-empty-feed__icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(236,72,153,.12), rgba(6,182,212,.12));
    font-size: 30px;
}

.rheemo-empty-feed h2 {
    margin: 0 0 8px;
    color: var(--rheemo-ink);
    font-size: 24px;
    font-weight: 950;
}

.rheemo-empty-feed p {
    max-width: 560px;
    margin: 0 auto 18px;
    color: var(--rheemo-muted);
    line-height: 1.65;
}

.rheemo-side-box {
    padding: 18px;
}

.rheemo-side-box h3 {
    margin: 0 0 12px;
    color: var(--rheemo-ink);
    font-size: 17px;
    font-weight: 950;
}

.rheemo-side-box p {
    margin: 0;
    color: var(--rheemo-muted);
    font-size: 14px;
    line-height: 1.65;
}

.rheemo-side-box a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    color: #1d4ed8 !important;
    text-decoration: none !important;
    font-weight: 900;
    border-top: 1px solid rgba(15,23,42,0.07);
}

.rheemo-side-box a:first-of-type {
    border-top: 0;
}

.rheemo-side-box a:after {
    content: "→";
}

.rheemo-gradient-box {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #7c3aed, #ec4899);
    border: 0;
}

.rheemo-gradient-box span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.rheemo-gradient-box h3,
.rheemo-gradient-box p,
.rheemo-gradient-box a {
    color: #fff !important;
}

.rheemo-gradient-box h3 {
    margin-top: 12px;
}

.rheemo-gradient-box a {
    margin-top: 12px;
    border-top-color: rgba(255,255,255,.2);
}

.rheemo-guest-feed {
    max-width: 1100px;
}

.rheemo-guest-hero {
    min-height: 330px;
}

@media (max-width: 1180px) {
    .rheemo-feed-grid {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .rheemo-feed-right {
        display: none;
    }
}

@media (max-width: 860px) {
    .rheemo-app-shell {
        width: min(100% - 20px, 760px);
        margin-top: 16px;
    }

    .rheemo-feed-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px 20px;
        border-radius: 26px;
    }

    .rheemo-feed-hero__actions {
        justify-content: flex-start;
        width: 100%;
    }

    .rheemo-feed-grid {
        grid-template-columns: 1fr;
    }

    .rheemo-feed-left,
    .rheemo-feed-right {
        position: static;
    }

    .rheemo-profile-mini {
        display: none;
    }

    .rheemo-side-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rheemo-side-nav a {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .rheemo-feed-hero h1 {
        font-size: 31px;
    }

    .rheemo-feed-hero p {
        font-size: 15px;
    }

    .rheemo-btn,
    .rheemo-feed-hero__actions .rheemo-btn {
        width: 100%;
    }

    .rheemo-side-nav {
        grid-template-columns: 1fr;
    }

    .rheemo-composer,
    .rheemo-post-card,
    .rheemo-side-box {
        padding: 15px;
        border-radius: 20px;
    }

    .rheemo-composer__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .rheemo-composer__actions > * {
        width: 100%;
    }

    .rheemo-post-types {
        width: 100%;
    }

    .rheemo-post-types label {
        flex: 1 1 100%;
    }

    .rheemo-post-card__footer {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   Rheemo Core v0.1.1 - correctif disposition /fil-social/
   Objectif : respecter la largeur du thème, supprimer le débordement
   horizontal et mieux équilibrer les 3 zones du fil social.
   ========================================================= */

body.page-slug-fil-social,
body[class*="fil-social"] {
    overflow-x: hidden !important;
}

body.page-slug-fil-social .site-content .ast-container,
body[class*="fil-social"] .site-content .ast-container,
body.page-slug-fil-social .entry-content,
body[class*="fil-social"] .entry-content,
body.page-slug-fil-social .elementor-widget-container,
body[class*="fil-social"] .elementor-widget-container {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

body.page-slug-fil-social .entry-content > .rheemo-app-shell,
body[class*="fil-social"] .entry-content > .rheemo-app-shell,
.rheemo-app-shell.rheemo-social-feed {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 26px auto 64px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    overflow: hidden !important;
}

.rheemo-social-feed .rheemo-feed-hero {
    width: 100%;
    min-height: 0;
    padding: 32px 28px;
    gap: 22px;
    align-items: center;
}

.rheemo-social-feed .rheemo-feed-hero__content {
    flex: 1 1 640px;
    min-width: 0;
}

.rheemo-social-feed .rheemo-feed-hero h1 {
    max-width: 780px;
    font-size: clamp(34px, 3.2vw, 50px);
    line-height: 1.04;
}

.rheemo-social-feed .rheemo-feed-hero p {
    max-width: 720px;
}

.rheemo-social-feed .rheemo-feed-hero__actions {
    flex: 0 0 auto;
    max-width: 360px;
    justify-content: flex-end;
}

.rheemo-social-feed .rheemo-feed-grid {
    width: 100%;
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr) minmax(220px, 250px);
    gap: 18px;
}

.rheemo-social-feed .rheemo-feed-left,
.rheemo-social-feed .rheemo-feed-main,
.rheemo-social-feed .rheemo-feed-right,
.rheemo-social-feed .rheemo-card {
    min-width: 0;
}

.rheemo-social-feed .rheemo-side-box {
    padding: 17px;
}

.rheemo-social-feed .rheemo-side-box a,
.rheemo-social-feed .rheemo-side-box p,
.rheemo-social-feed .rheemo-side-nav a {
    overflow-wrap: anywhere;
}

.rheemo-social-feed .rheemo-side-box a {
    font-size: 14px;
    line-height: 1.35;
}

.rheemo-social-feed .rheemo-composer {
    padding: 18px;
}

.rheemo-social-feed .rheemo-composer textarea {
    min-height: 118px;
}

@media (max-width: 1280px) {
    body.page-slug-fil-social .entry-content > .rheemo-app-shell,
    body[class*="fil-social"] .entry-content > .rheemo-app-shell,
    .rheemo-app-shell.rheemo-social-feed {
        max-width: 1120px !important;
    }

    .rheemo-social-feed .rheemo-feed-grid {
        grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
    }

    .rheemo-social-feed .rheemo-feed-right {
        display: none !important;
    }
}

@media (max-width: 980px) {
    body.page-slug-fil-social .entry-content > .rheemo-app-shell,
    body[class*="fil-social"] .entry-content > .rheemo-app-shell,
    .rheemo-app-shell.rheemo-social-feed {
        padding-left: 14px !important;
        padding-right: 14px !important;
        margin-top: 18px !important;
    }

    .rheemo-social-feed .rheemo-feed-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 22px;
        border-radius: 28px;
    }

    .rheemo-social-feed .rheemo-feed-hero__actions {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
    }

    .rheemo-social-feed .rheemo-feed-grid {
        grid-template-columns: 1fr;
    }

    .rheemo-social-feed .rheemo-feed-left,
    .rheemo-social-feed .rheemo-feed-right {
        position: static;
    }
}

@media (max-width: 620px) {
    .rheemo-social-feed .rheemo-feed-hero h1 {
        font-size: 32px;
    }

    .rheemo-social-feed .rheemo-feed-hero__actions .rheemo-btn {
        width: 100%;
    }

    .rheemo-social-feed .rheemo-composer__top {
        align-items: flex-start;
    }
}


/* =========================================================
   Rheemo Core v0.1.2 - pleine largeur contrôlée /fil-social/
   Objectif : supprimer les grandes marges gauche/droite imposées
   par Astra/Elementor, tout en gardant une petite respiration interne.
   ========================================================= */

body.page-slug-fil-social,
body[class*="fil-social"] {
    overflow-x: hidden !important;
}

body.page-slug-fil-social .site-content,
body[class*="fil-social"] .site-content,
body.page-slug-fil-social .site-content .ast-container,
body[class*="fil-social"] .site-content .ast-container,
body.page-slug-fil-social .content-area,
body[class*="fil-social"] .content-area,
body.page-slug-fil-social .site-main,
body[class*="fil-social"] .site-main,
body.page-slug-fil-social article,
body[class*="fil-social"] article,
body.page-slug-fil-social .entry-content,
body[class*="fil-social"] .entry-content,
body.page-slug-fil-social .elementor-widget-container,
body[class*="fil-social"] .elementor-widget-container {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: visible !important;
}

body.page-slug-fil-social .entry-content > p,
body[class*="fil-social"] .entry-content > p {
    margin: 0 !important;
}

body.page-slug-fil-social .entry-content > .rheemo-app-shell,
body[class*="fil-social"] .entry-content > .rheemo-app-shell,
.rheemo-app-shell.rheemo-social-feed {
    width: 100vw !important;
    max-width: none !important;
    margin: 24px calc(50% - 50vw) 70px !important;
    padding: 0 18px 56px !important;
    overflow: visible !important;
}

.rheemo-social-feed .rheemo-feed-hero,
.rheemo-social-feed .rheemo-feed-grid {
    width: 100% !important;
    max-width: none !important;
}

.rheemo-social-feed .rheemo-feed-hero {
    min-height: 250px;
    padding: 34px 32px !important;
    border-radius: 30px !important;
}

.rheemo-social-feed .rheemo-feed-hero__content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.rheemo-social-feed .rheemo-feed-hero__actions {
    flex: 0 0 auto !important;
    max-width: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
}

.rheemo-social-feed .rheemo-feed-grid {
    grid-template-columns: 280px minmax(0, 1fr) 300px !important;
    gap: 18px !important;
    align-items: start !important;
}

.rheemo-social-feed .rheemo-feed-left,
.rheemo-social-feed .rheemo-feed-main,
.rheemo-social-feed .rheemo-feed-right,
.rheemo-social-feed .rheemo-card {
    min-width: 0 !important;
}

.rheemo-social-feed .rheemo-feed-right {
    display: grid !important;
}

.rheemo-social-feed .rheemo-side-box a,
.rheemo-social-feed .rheemo-side-box p,
.rheemo-social-feed .rheemo-side-nav a,
.rheemo-social-feed .rheemo-composer__top p {
    overflow-wrap: anywhere !important;
}

.rheemo-social-feed .rheemo-composer,
.rheemo-social-feed .rheemo-post-card,
.rheemo-social-feed .rheemo-side-box,
.rheemo-social-feed .rheemo-profile-mini,
.rheemo-social-feed .rheemo-side-nav {
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06) !important;
}

@media (max-width: 1320px) {
    body.page-slug-fil-social .entry-content > .rheemo-app-shell,
    body[class*="fil-social"] .entry-content > .rheemo-app-shell,
    .rheemo-app-shell.rheemo-social-feed {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .rheemo-social-feed .rheemo-feed-grid {
        grid-template-columns: 250px minmax(0, 1fr) 270px !important;
        gap: 16px !important;
    }

    .rheemo-social-feed .rheemo-feed-hero h1 {
        font-size: clamp(34px, 3.1vw, 48px) !important;
    }
}

@media (max-width: 1100px) {
    .rheemo-social-feed .rheemo-feed-grid {
        grid-template-columns: 250px minmax(0, 1fr) !important;
    }

    .rheemo-social-feed .rheemo-feed-right {
        display: none !important;
    }
}

@media (max-width: 900px) {
    body.page-slug-fil-social .entry-content > .rheemo-app-shell,
    body[class*="fil-social"] .entry-content > .rheemo-app-shell,
    .rheemo-app-shell.rheemo-social-feed {
        margin-top: 14px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .rheemo-social-feed .rheemo-feed-hero {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 28px 20px !important;
        border-radius: 26px !important;
    }

    .rheemo-social-feed .rheemo-feed-hero__actions {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .rheemo-social-feed .rheemo-feed-grid {
        grid-template-columns: 1fr !important;
    }

    .rheemo-social-feed .rheemo-feed-left,
    .rheemo-social-feed .rheemo-feed-right {
        position: static !important;
    }

    .rheemo-social-feed .rheemo-profile-mini {
        display: none !important;
    }
}

@media (max-width: 560px) {
    body.page-slug-fil-social .entry-content > .rheemo-app-shell,
    body[class*="fil-social"] .entry-content > .rheemo-app-shell,
    .rheemo-app-shell.rheemo-social-feed {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .rheemo-social-feed .rheemo-feed-hero h1 {
        font-size: 31px !important;
    }

    .rheemo-social-feed .rheemo-feed-hero__actions .rheemo-btn,
    .rheemo-social-feed .rheemo-composer__actions > *,
    .rheemo-social-feed .rheemo-post-types label {
        width: 100% !important;
    }
}


/* =========================================================
   Rheemo Core v0.1.3 - interactions sociales basiques
   Réactions, commentaires, suppression et filtres actifs.
   ========================================================= */

.rheemo-social-feed .rheemo-post-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 0 2px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.rheemo-social-feed .rheemo-post-card__footer {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

.rheemo-social-feed .rheemo-post-card__footer form,
.rheemo-social-feed .rheemo-post-card__footer a,
.rheemo-social-feed .rheemo-post-card__footer button {
    width: 100%;
}

.rheemo-social-feed .rheemo-post-card__footer a,
.rheemo-social-feed .rheemo-post-card__footer button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    background: #f8fafc;
    color: #64748b !important;
    text-decoration: none !important;
    font-weight: 900;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.rheemo-social-feed .rheemo-post-card__footer a:hover,
.rheemo-social-feed .rheemo-post-card__footer button:not(:disabled):hover {
    background: #eff6ff;
    color: #1d4ed8 !important;
    transform: translateY(-1px);
}

.rheemo-social-feed .rheemo-post-card__footer button:disabled {
    cursor: not-allowed;
    opacity: .65;
}

.rheemo-social-feed .rheemo-post-card__footer button.is-reacted {
    background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.12));
    color: #1d4ed8 !important;
}

.rheemo-social-feed .rheemo-delete-form {
    flex: 0 0 auto;
    margin: 0;
}

.rheemo-social-feed .rheemo-delete-form .rheemo-post-more {
    cursor: pointer !important;
    color: #ef4444 !important;
    background: #fff1f2 !important;
    font-size: 20px;
    line-height: 1;
}

.rheemo-social-feed .rheemo-delete-form .rheemo-post-more:hover {
    background: #ffe4e6 !important;
}

.rheemo-social-feed .rheemo-comments {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.rheemo-social-feed .rheemo-comment-list {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.rheemo-social-feed .rheemo-comment {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.rheemo-social-feed .rheemo-comment__avatar {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border-radius: 12px;
    background: #e5e7eb;
}

.rheemo-social-feed .rheemo-comment__avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.rheemo-social-feed .rheemo-comment__bubble {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 16px;
    background: #f8fafc;
}

.rheemo-social-feed .rheemo-comment__bubble strong {
    display: block;
    margin-bottom: 2px;
    color: #111827;
    font-size: 13px;
    font-weight: 950;
}

.rheemo-social-feed .rheemo-comment__bubble p {
    margin: 0;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.rheemo-social-feed .rheemo-comment-form {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin: 0;
}

.rheemo-social-feed .rheemo-comment-form textarea {
    flex: 1;
    width: 100%;
    min-height: 44px;
    max-height: 120px;
    resize: vertical;
    padding: 11px 13px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 16px;
    outline: none;
    background: #f8fafc;
    color: #111827;
    font-size: 14px;
    line-height: 1.45;
}

.rheemo-social-feed .rheemo-comment-form textarea:focus {
    border-color: rgba(37, 99, 235, 0.4);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.rheemo-social-feed .rheemo-comment-form button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 15px;
    border: 0;
    border-radius: 16px;
    background: #2563eb;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.rheemo-social-feed .rheemo-alert-reacted,
.rheemo-social-feed .rheemo-alert-commented,
.rheemo-social-feed .rheemo-alert-deleted {
    background: #ecfdf5;
    color: #047857;
    border-color: rgba(16, 185, 129, .2);
}

.rheemo-social-feed .rheemo-alert-comment_invalid {
    background: #fff7ed;
    color: #c2410c;
    border-color: rgba(249, 115, 22, .2);
}

@media (max-width: 560px) {
    .rheemo-social-feed .rheemo-post-card__footer {
        grid-template-columns: 1fr !important;
    }

    .rheemo-social-feed .rheemo-comment-form {
        flex-direction: column;
        align-items: stretch;
    }

    .rheemo-social-feed .rheemo-comment-form button {
        width: 100%;
    }
}


/* =========================================================
   Rheemo Core v0.1.4 - cartes publications modernes
   Objectif : rendre le fil plus proche d’une application sociale pro.
   ========================================================= */

.rheemo-social-feed .rheemo-post-list {
    gap: 18px !important;
}

.rheemo-social-feed .rheemo-post-card {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    border-radius: 24px !important;
    background: #fff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.075) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rheemo-social-feed .rheemo-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.105) !important;
    border-color: rgba(37, 99, 235, 0.16) !important;
}

.rheemo-social-feed .rheemo-post-card:before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #ec4899);
}

.rheemo-social-feed .rheemo-post-card--opportunite:before {
    background: linear-gradient(90deg, #059669, #06b6d4, #2563eb);
}

.rheemo-social-feed .rheemo-post-card--question:before {
    background: linear-gradient(90deg, #f97316, #ec4899, #7c3aed);
}

.rheemo-social-feed .rheemo-post-card__header {
    padding: 20px 20px 15px !important;
    background:
        radial-gradient(circle at 8% 0%, rgba(37,99,235,.06), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.055);
}

.rheemo-social-feed .rheemo-post-card__avatar {
    width: 58px !important;
    height: 58px !important;
    border-radius: 20px !important;
    padding: 3px;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.11);
}

.rheemo-social-feed .rheemo-post-card__avatar img {
    border-radius: 17px !important;
}

.rheemo-social-feed .rheemo-post-card__author-line {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.rheemo-social-feed .rheemo-post-card__author-line strong {
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -.01em;
}

.rheemo-social-feed .rheemo-post-type-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.rheemo-social-feed .rheemo-post-card--opportunite .rheemo-post-type-badge {
    background: #ecfdf5;
    color: #047857;
}

.rheemo-social-feed .rheemo-post-card--question .rheemo-post-type-badge {
    background: #fff7ed;
    color: #c2410c;
}

.rheemo-social-feed .rheemo-post-card__meta {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 5px !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.rheemo-social-feed .rheemo-post-card__meta span + span:before {
    content: "•";
    margin-right: 8px;
    color: #cbd5e1;
}

.rheemo-social-feed .rheemo-delete-form .rheemo-post-more,
.rheemo-social-feed .rheemo-post-more {
    width: 42px !important;
    height: 42px !important;
    border-radius: 16px !important;
}

.rheemo-social-feed .rheemo-post-card__body {
    margin: 0 !important;
    padding: 18px 20px 16px !important;
    color: #111827 !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    overflow-wrap: anywhere;
}

.rheemo-social-feed .rheemo-post-card__body p {
    margin: 0 0 10px !important;
}

.rheemo-social-feed .rheemo-post-card__body p:last-child {
    margin-bottom: 0 !important;
}

.rheemo-social-feed .rheemo-post-stats {
    margin: 0 !important;
    padding: 12px 20px !important;
    border-top: 1px solid rgba(15, 23, 42, 0.055);
    border-bottom: 1px solid rgba(15, 23, 42, 0.055);
    background: #fbfdff;
    color: #64748b !important;
}

.rheemo-social-feed .rheemo-post-stats span:first-child:before {
    content: "👍 ";
}

.rheemo-social-feed .rheemo-post-stats span:last-child:before {
    content: "💬 ";
}

.rheemo-social-feed .rheemo-post-card__footer {
    margin: 0 !important;
    padding: 10px 14px !important;
    border-top: 0 !important;
    background: #ffffff;
}

.rheemo-social-feed .rheemo-post-card__footer a,
.rheemo-social-feed .rheemo-post-card__footer button {
    min-height: 44px !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
    color: #475569 !important;
}

.rheemo-social-feed .rheemo-post-card__footer button.is-reacted {
    background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(236,72,153,.12)) !important;
    color: #1d4ed8 !important;
}

.rheemo-social-feed .rheemo-comments {
    margin: 0 !important;
    padding: 12px 20px 18px !important;
    border-top: 1px solid rgba(15, 23, 42, 0.055) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.rheemo-social-feed .rheemo-comment-list {
    margin-bottom: 13px !important;
}

.rheemo-social-feed .rheemo-comment__bubble {
    border: 1px solid rgba(15, 23, 42, 0.055);
    background: #f8fafc !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.035);
}

.rheemo-social-feed .rheemo-comment-form {
    align-items: flex-end !important;
    gap: 9px !important;
    padding: 9px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.rheemo-social-feed .rheemo-comment-form__avatar {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 13px;
    background: #e5e7eb;
}

.rheemo-social-feed .rheemo-comment-form__avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.rheemo-social-feed .rheemo-comment-form textarea {
    min-height: 40px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 9px 4px !important;
}

.rheemo-social-feed .rheemo-comment-form button {
    min-height: 40px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.rheemo-social-feed .rheemo-empty-feed {
    border-style: dashed !important;
    background:
        radial-gradient(circle at top, rgba(37,99,235,.06), transparent 36%),
        #fff !important;
}

@media (max-width: 560px) {
    .rheemo-social-feed .rheemo-post-card__header,
    .rheemo-social-feed .rheemo-post-card__body,
    .rheemo-social-feed .rheemo-post-stats,
    .rheemo-social-feed .rheemo-comments {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .rheemo-social-feed .rheemo-post-card__footer {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .rheemo-social-feed .rheemo-comment-form {
        align-items: stretch !important;
    }

    .rheemo-social-feed .rheemo-comment-form__avatar {
        display: none !important;
    }
}

/* =========================================================
   Rheemo Core v0.1.5 - publication avec photo
   Objectif : transformer “Photo bientôt” en vrai ajout d’image.
   ========================================================= */

.rheemo-social-feed .rheemo-photo-upload {
    cursor: pointer !important;
    color: #334155 !important;
    background: #eef2ff !important;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.rheemo-social-feed .rheemo-photo-upload:hover {
    transform: translateY(-1px);
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

.rheemo-social-feed .rheemo-photo-upload input[type="file"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.rheemo-social-feed .rheemo-photo-upload__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.rheemo-social-feed .rheemo-composer__preview {
    position: relative;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.rheemo-social-feed .rheemo-composer__preview[hidden] {
    display: none !important;
}

.rheemo-social-feed .rheemo-composer__preview img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

.rheemo-social-feed .rheemo-composer__preview button {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
}

.rheemo-social-feed .rheemo-post-card__media {
    padding: 0 20px 18px;
    background: #fff;
}

.rheemo-social-feed .rheemo-post-card__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.rheemo-social-feed .rheemo-post-card__body + .rheemo-post-card__media {
    margin-top: -4px;
}

.rheemo-social-feed .rheemo-alert-image_error {
    background: #fff7ed;
    color: #c2410c;
    border-color: rgba(249, 115, 22, .2);
}

@media (max-width: 560px) {
    .rheemo-social-feed .rheemo-post-card__media {
        padding-left: 15px;
        padding-right: 15px;
    }

    .rheemo-social-feed .rheemo-post-card__media img,
    .rheemo-social-feed .rheemo-composer__preview img {
        max-height: 420px;
    }
}

/* =========================================================
   Rheemo Core v0.1.6 - bouton photo réorganisé
   Correction ciblée : dimensions, alignement et responsive.
   ========================================================= */

.rheemo-social-feed .rheemo-composer__actions {
    align-items: flex-end !important;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.065);
}

.rheemo-social-feed .rheemo-composer__media-area {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.rheemo-social-feed .rheemo-composer__tools {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    flex-wrap: wrap;
}

.rheemo-social-feed .rheemo-photo-upload,
.rheemo-social-feed .rheemo-video-soon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto !important;
    min-width: 158px;
    max-width: 240px;
    height: 44px;
    min-height: 44px !important;
    padding: 0 15px !important;
    border: 1px solid rgba(37, 99, 235, 0.13) !important;
    border-radius: 14px !important;
    line-height: 1 !important;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-photo-upload {
    position: relative;
    overflow: hidden;
    color: #1e40af !important;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff) !important;
    box-shadow: 0 7px 18px rgba(37, 99, 235, 0.08);
}

.rheemo-social-feed .rheemo-photo-upload:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.26) !important;
    background: linear-gradient(135deg, #dbeafe, #ede9fe) !important;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.12);
}

.rheemo-social-feed .rheemo-photo-upload:focus-within {
    outline: 0;
    border-color: rgba(37, 99, 235, 0.46) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.rheemo-social-feed .rheemo-photo-upload.has-file {
    color: #047857 !important;
    border-color: rgba(16, 185, 129, 0.28) !important;
    background: #ecfdf5 !important;
}

.rheemo-social-feed .rheemo-photo-upload__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 18px;
    line-height: 1;
}

.rheemo-social-feed .rheemo-photo-upload__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.1;
}

.rheemo-social-feed .rheemo-video-soon {
    min-width: 146px;
    color: #64748b !important;
    background: #f8fafc !important;
    border-color: rgba(15, 23, 42, 0.075) !important;
    opacity: 0.72;
}

.rheemo-social-feed .rheemo-photo-upload__filename {
    display: block;
    max-width: min(100%, 430px);
    padding-left: 3px;
    overflow: hidden;
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-photo-upload__filename[hidden] {
    display: none !important;
}

.rheemo-social-feed .rheemo-composer__submit {
    flex: 0 0 auto;
    align-self: flex-end;
    min-width: 112px;
    min-height: 44px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 14px;
}

@media (max-width: 560px) {
    .rheemo-social-feed .rheemo-composer__actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .rheemo-social-feed .rheemo-composer__media-area {
        width: 100% !important;
    }

    .rheemo-social-feed .rheemo-composer__tools {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
    }

    .rheemo-social-feed .rheemo-photo-upload,
    .rheemo-social-feed .rheemo-video-soon {
        width: 100% !important;
        min-width: 0;
        max-width: none;
        padding-left: 11px !important;
        padding-right: 11px !important;
    }

    .rheemo-social-feed .rheemo-composer__submit {
        width: 100% !important;
        align-self: stretch;
    }
}

@media (max-width: 380px) {
    .rheemo-social-feed .rheemo-composer__tools {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   Rheemo Core v0.1.7 - interactions instantanées
   Réactions, commentaires et suppression sans rechargement.
   ========================================================= */

.rheemo-social-feed .rheemo-reaction-form.is-loading,
.rheemo-social-feed .rheemo-comment-form.is-loading {
    pointer-events: none;
}

.rheemo-social-feed .rheemo-reaction-button.is-loading,
.rheemo-social-feed .rheemo-comment-form button.is-loading,
.rheemo-social-feed .rheemo-comment-delete-form button.is-loading {
    opacity: 0.62 !important;
    cursor: wait !important;
}

.rheemo-social-feed .rheemo-reaction-button.is-loading span:first-child {
    display: inline-block;
    animation: rheemo-reaction-pulse .7s ease-in-out infinite alternate;
}

.rheemo-social-feed .rheemo-post-feedback {
    margin: 0;
    padding: 8px 20px;
    border-top: 1px solid rgba(15, 23, 42, 0.045);
    background: #f0fdf4;
    color: #047857;
    font-size: 13px;
    font-weight: 750;
}

.rheemo-social-feed .rheemo-post-feedback[hidden] {
    display: none !important;
}

.rheemo-social-feed .rheemo-post-feedback.is-error {
    background: #fff1f2;
    color: #be123c;
}

.rheemo-social-feed .rheemo-comment-list:empty {
    margin-bottom: 0 !important;
}

.rheemo-social-feed .rheemo-comment {
    transition: opacity .18s ease, transform .18s ease, max-height .22s ease, margin .22s ease;
}

.rheemo-social-feed .rheemo-comment.is-new {
    animation: rheemo-comment-in .38s ease both;
}

.rheemo-social-feed .rheemo-comment.is-removing {
    opacity: 0;
    transform: translateY(-4px);
}

.rheemo-social-feed .rheemo-comment__bubble {
    min-width: 0;
}

.rheemo-social-feed .rheemo-comment__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.rheemo-social-feed .rheemo-comment__identity {
    min-width: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.rheemo-social-feed .rheemo-comment__identity strong {
    color: #172033 !important;
    font-size: 13px;
    line-height: 1.25;
}

.rheemo-social-feed .rheemo-comment__identity > span {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-comment-delete-form {
    flex: 0 0 auto;
    margin: -3px -4px 0 0 !important;
}

.rheemo-social-feed .rheemo-comment-delete-form button {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: #94a3b8 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.rheemo-social-feed .rheemo-comment-delete-form button:hover,
.rheemo-social-feed .rheemo-comment-delete-form button:focus-visible {
    background: #ffe4e6 !important;
    color: #e11d48 !important;
}

.rheemo-social-feed .rheemo-comment-form {
    flex-wrap: wrap;
}

.rheemo-social-feed .rheemo-comment-form__feedback {
    order: 4;
    flex: 0 0 100%;
    min-height: 0;
    margin: -2px 0 0 45px;
    color: #047857;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.rheemo-social-feed .rheemo-comment-form__feedback:empty {
    display: none;
}

.rheemo-social-feed .rheemo-comment-form__feedback.is-error {
    color: #be123c;
}

@keyframes rheemo-reaction-pulse {
    from { transform: scale(1); }
    to { transform: scale(1.18); }
}

@keyframes rheemo-comment-in {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 560px) {
    .rheemo-social-feed .rheemo-post-feedback {
        padding-left: 15px;
        padding-right: 15px;
    }

    .rheemo-social-feed .rheemo-comment-form__feedback {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rheemo-social-feed .rheemo-reaction-button.is-loading span:first-child,
    .rheemo-social-feed .rheemo-comment.is-new {
        animation: none !important;
    }
}


/* =========================================================
   Rheemo Core v0.1.8 - réseau intelligent et invitations
   Suggestions de membres, demandes d’amitié et partage.
   ========================================================= */

.rheemo-social-feed .rheemo-network-box,
.rheemo-social-feed .rheemo-invite-box {
    overflow: hidden;
    padding: 22px !important;
}

.rheemo-social-feed .rheemo-network-box__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.rheemo-social-feed .rheemo-network-box__header h3,
.rheemo-social-feed .rheemo-invite-box h3 {
    margin: 4px 0 0 !important;
    color: #172033;
    font-size: 19px;
    line-height: 1.22;
}

.rheemo-social-feed .rheemo-network-box__eyebrow {
    display: inline-block;
    color: #6d45df;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.rheemo-social-feed .rheemo-network-box__intro,
.rheemo-social-feed .rheemo-invite-box > p {
    margin: 11px 0 15px !important;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

.rheemo-social-feed .rheemo-refresh-suggestions {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 1px solid rgba(64, 84, 223, .12) !important;
    border-radius: 11px !important;
    background: #f5f7ff !important;
    color: #3154d8 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition: transform .2s ease, background .2s ease;
}

.rheemo-social-feed .rheemo-refresh-suggestions:hover,
.rheemo-social-feed .rheemo-refresh-suggestions:focus-visible {
    transform: rotate(25deg);
    background: #eef2ff !important;
}

.rheemo-social-feed .rheemo-refresh-suggestions.is-loading {
    animation: rheemo-network-spin .8s linear infinite;
}

.rheemo-social-feed .rheemo-suggestion-list {
    display: grid;
    gap: 8px;
}

.rheemo-social-feed .rheemo-suggestion-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px;
    border: 1px solid rgba(15, 23, 42, .055);
    border-radius: 15px;
    background: linear-gradient(135deg, #fbfdff, #f8f7ff);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.rheemo-social-feed .rheemo-suggestion-item:hover {
    transform: translateY(-1px);
    border-color: rgba(91, 80, 226, .18);
    box-shadow: 0 9px 24px rgba(41, 47, 86, .07);
}

.rheemo-social-feed .rheemo-suggestion-item__avatar {
    display: block;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(36, 53, 107, .12);
}

.rheemo-social-feed .rheemo-suggestion-item__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rheemo-social-feed .rheemo-suggestion-item__body {
    min-width: 0;
}

.rheemo-social-feed .rheemo-suggestion-item__name {
    display: block;
    overflow: hidden;
    color: #172033 !important;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-suggestion-item__body > span {
    display: -webkit-box;
    margin-top: 3px;
    overflow: hidden;
    color: #7b8498;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rheemo-social-feed .rheemo-friend-request,
.rheemo-social-feed .rheemo-suggestion-item__profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    min-height: 34px;
    padding: 7px 10px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #3b65ea, #7a42e6) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 7px 17px rgba(74, 78, 218, .18) !important;
}

.rheemo-social-feed .rheemo-friend-request.is-loading {
    opacity: .62;
    cursor: wait !important;
}

.rheemo-social-feed .rheemo-friend-request.is-sent {
    min-width: 88px;
    background: #eef2ff !important;
    color: #4858bb !important;
    box-shadow: none !important;
}

.rheemo-social-feed .rheemo-network-box__all {
    display: block;
    margin-top: 13px;
    color: #3154d8 !important;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.rheemo-social-feed .rheemo-network-empty {
    margin: 0 !important;
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.rheemo-social-feed .rheemo-network-feedback,
.rheemo-social-feed .rheemo-invite-feedback {
    min-height: 0;
    margin-top: 8px;
    color: #047857;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.35;
    text-align: center;
}

.rheemo-social-feed .rheemo-network-feedback:empty,
.rheemo-social-feed .rheemo-invite-feedback:empty {
    display: none;
}

.rheemo-social-feed .rheemo-network-feedback.is-error,
.rheemo-social-feed .rheemo-invite-feedback.is-error {
    color: #be123c;
}

.rheemo-social-feed .rheemo-invite-box {
    background:
        radial-gradient(circle at top right, rgba(219, 61, 180, .11), transparent 42%),
        radial-gradient(circle at bottom left, rgba(39, 156, 232, .11), transparent 45%),
        #fff;
}

.rheemo-social-feed .rheemo-invite-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.rheemo-social-feed .rheemo-invite-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 40px;
    padding: 9px 8px !important;
    border: 1px solid rgba(15, 23, 42, .07) !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.rheemo-social-feed .rheemo-invite-action:hover,
.rheemo-social-feed .rheemo-invite-action:focus-visible {
    border-color: rgba(69, 86, 218, .18) !important;
    background: #f1f5ff !important;
}

.rheemo-social-feed .rheemo-invite-action--whatsapp {
    background: #ecfdf3 !important;
    color: #087a46 !important;
}

.rheemo-social-feed .rheemo-invite-action--facebook {
    background: #eef4ff !important;
    color: #2556b8 !important;
}

.rheemo-social-feed .rheemo-invite-action--facebook span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2f62c8;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
}

.rheemo-social-feed .rheemo-invite-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
    margin-top: 10px;
    padding: 6px;
    border: 1px solid rgba(61, 72, 150, .09);
    border-radius: 13px;
    background: #f8fafc;
}

.rheemo-social-feed .rheemo-invite-copy input {
    min-width: 0;
    height: 34px !important;
    padding: 0 6px !important;
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 10px !important;
    box-shadow: none !important;
}

.rheemo-social-feed .rheemo-invite-copy button {
    min-width: 64px;
    min-height: 34px;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #222f72 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.rheemo-social-feed .rheemo-invite-result {
    margin-top: 10px;
    color: #7b8498;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.rheemo-social-feed .rheemo-invite-result strong {
    color: #3154d8;
    font-size: 13px;
}

@keyframes rheemo-network-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
    .rheemo-social-feed .rheemo-network-box,
    .rheemo-social-feed .rheemo-invite-box {
        padding: 18px !important;
    }
}

@media (max-width: 760px) {
    .rheemo-social-feed .rheemo-network-box,
    .rheemo-social-feed .rheemo-invite-box {
        padding: 18px !important;
    }

    .rheemo-social-feed .rheemo-suggestion-item {
        grid-template-columns: 48px minmax(0, 1fr) auto;
    }
}

@media (max-width: 380px) {
    .rheemo-social-feed .rheemo-suggestion-item {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .rheemo-social-feed .rheemo-suggestion-item__avatar {
        width: 44px;
        height: 44px;
    }

    .rheemo-social-feed .rheemo-friend-request,
    .rheemo-social-feed .rheemo-suggestion-item__profile {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rheemo-social-feed .rheemo-refresh-suggestions.is-loading {
        animation: none !important;
    }

    .rheemo-social-feed .rheemo-suggestion-item,
    .rheemo-social-feed .rheemo-refresh-suggestions {
        transition: none !important;
    }
}

/* =========================================================
   Rheemo Core v0.1.9 - réseau relationnel natif Rheemo
   Demandes de connexion, acceptation et refus instantanés.
   ========================================================= */

.rheemo-social-feed .rheemo-requests-box {
    overflow: hidden;
    padding: 22px !important;
    border-color: rgba(83, 70, 219, .12) !important;
    background:
        radial-gradient(circle at top right, rgba(91, 76, 220, .09), transparent 42%),
        #fff;
}

.rheemo-social-feed .rheemo-requests-box .rheemo-network-box__header h3 {
    margin: 4px 0 0 !important;
    color: #172033;
    font-size: 18px;
    line-height: 1.22;
}

.rheemo-social-feed .rheemo-requests-count {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #435fe7, #8246df);
    color: #fff;
    font-size: 11px;
    font-weight: 950;
    box-shadow: 0 7px 18px rgba(73, 75, 211, .19);
}

.rheemo-social-feed .rheemo-request-list {
    display: grid;
    gap: 10px;
    margin-top: 15px;
}

.rheemo-social-feed .rheemo-request-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 15px;
    background: linear-gradient(135deg, #fbfdff, #f8f7ff);
    transition: opacity .22s ease, transform .22s ease, max-height .22s ease;
}

.rheemo-social-feed .rheemo-request-item.is-resolved {
    opacity: 0;
    transform: translateY(-5px);
}

.rheemo-social-feed .rheemo-request-item__body {
    min-width: 0;
}

.rheemo-social-feed .rheemo-request-item__body > a {
    display: block;
    overflow: hidden;
    color: #172033 !important;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-request-item__body > span {
    display: block;
    margin-top: 3px;
    color: #7b8498;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.35;
}

.rheemo-social-feed .rheemo-request-item__actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.rheemo-social-feed .rheemo-request-response {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 10px !important;
    border-radius: 10px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.rheemo-social-feed .rheemo-request-response.is-accept {
    border: 0 !important;
    background: linear-gradient(135deg, #3b65ea, #7a42e6) !important;
    color: #fff !important;
}

.rheemo-social-feed .rheemo-request-response.is-reject {
    border: 1px solid rgba(100, 116, 139, .16) !important;
    background: #f8fafc !important;
    color: #64748b !important;
}

.rheemo-social-feed .rheemo-request-response.is-loading {
    opacity: .6;
    cursor: wait !important;
}

@media (max-width: 1100px) {
    .rheemo-social-feed .rheemo-requests-box {
        padding: 18px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rheemo-social-feed .rheemo-request-item {
        transition: none !important;
    }
}

/* =========================================================
   Rheemo Core v0.2.0 - espace réseau, notifications et menu
   ========================================================= */

.rheemo-social-feed .rheemo-side-nav-toggle {
    display: none;
}

.rheemo-social-feed .rheemo-native-side-nav {
    display: block !important;
    padding: 10px !important;
}

.rheemo-social-feed .rheemo-side-nav__section {
    display: grid;
    gap: 3px;
    padding: 5px 0 10px;
}

.rheemo-social-feed .rheemo-side-nav__section + .rheemo-side-nav__section {
    border-top: 1px solid rgba(61, 72, 150, .08);
    padding-top: 12px;
}

.rheemo-social-feed .rheemo-side-nav__section--last {
    padding-bottom: 4px;
}

.rheemo-social-feed .rheemo-side-nav__label {
    padding: 4px 12px 7px;
    color: #8b94a7;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rheemo-social-feed .rheemo-native-side-nav a {
    display: flex !important;
    justify-content: flex-start !important;
    min-height: 46px;
    text-align: left !important;
}

.rheemo-social-feed .rheemo-native-side-nav a > span:first-child {
    display: inline-flex;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
}

.rheemo-social-feed .rheemo-native-side-nav a.rheemo-nav-disabled {
    opacity: .58;
    cursor: default;
    pointer-events: none;
}

.rheemo-social-feed .rheemo-native-side-nav a.rheemo-nav-disabled small {
    margin-left: auto;
    padding: 3px 7px;
    border-radius: 999px;
    background: #eef1f8;
    color: #68738b;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.rheemo-social-feed .rheemo-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    margin-left: auto;
    padding: 0 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #435fe7, #8246df);
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    box-shadow: 0 5px 14px rgba(73, 75, 211, .18);
}

.rheemo-social-feed .rheemo-native-main {
    align-content: start;
}

.rheemo-social-feed .rheemo-native-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px !important;
    border-top: 4px solid transparent !important;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #2d6df6, #7c3aed, #eb3f96) border-box !important;
}

.rheemo-social-feed .rheemo-native-view-header > div:first-child > span {
    display: block;
    margin-bottom: 6px;
    color: #5b4bdc;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.rheemo-social-feed .rheemo-native-view-header h2 {
    margin: 0 !important;
    color: #172033;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.18;
}

.rheemo-social-feed .rheemo-native-view-header p {
    max-width: 620px;
    margin: 8px 0 0 !important;
    color: #6f7890;
    font-size: 14px;
    line-height: 1.55;
}

.rheemo-social-feed .rheemo-native-view-header__action {
    flex: 0 0 auto;
}

.rheemo-social-feed .rheemo-network-search {
    display: grid;
    grid-template-columns: minmax(160px, 240px) auto;
    gap: 8px;
}

.rheemo-social-feed .rheemo-network-search input {
    width: 100%;
    min-height: 42px;
    padding: 0 13px !important;
    border: 1px solid rgba(71, 85, 105, .15) !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    box-shadow: none !important;
}

.rheemo-social-feed .rheemo-network-search button,
.rheemo-social-feed .rheemo-mark-all-notifications {
    min-height: 42px;
    padding: 10px 15px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #eef2ff !important;
    color: #3f51d7 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}

.rheemo-social-feed .rheemo-native-panel {
    padding: 22px !important;
}

.rheemo-social-feed .rheemo-native-panel__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 17px;
}

.rheemo-social-feed .rheemo-native-panel__heading h3 {
    margin: 0 !important;
    color: #172033;
    font-size: 19px;
}

.rheemo-social-feed .rheemo-native-panel__heading > span,
.rheemo-social-feed .rheemo-native-panel__heading > a {
    color: #64748b !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
}

.rheemo-social-feed .rheemo-native-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rheemo-social-feed .rheemo-member-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 15px;
    border: 1px solid rgba(74, 85, 150, .09);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, #f8f8ff);
    transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.rheemo-social-feed .rheemo-member-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(41, 54, 113, .08);
}

.rheemo-social-feed .rheemo-member-card.is-resolved {
    opacity: 0;
    transform: translateY(-5px);
}

.rheemo-social-feed .rheemo-member-card__avatar,
.rheemo-social-feed .rheemo-member-card__avatar img {
    display: block;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    object-fit: cover;
}

.rheemo-social-feed .rheemo-member-card__name {
    display: block;
    overflow: hidden;
    color: #172033 !important;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-member-card__body > span {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    color: #7b8498;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-member-card__actions {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 7px;
    padding-top: 2px;
}

.rheemo-social-feed .rheemo-member-card__actions a,
.rheemo-social-feed .rheemo-member-card__actions button,
.rheemo-social-feed .rheemo-cancel-request {
    min-height: 34px;
    padding: 7px 11px !important;
    border: 1px solid rgba(89, 99, 151, .12) !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    color: #536078 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.rheemo-social-feed .rheemo-member-card__actions a {
    display: inline-flex;
    align-items: center;
}

.rheemo-social-feed .rheemo-member-card__actions .is-danger {
    border-color: rgba(244, 63, 94, .13) !important;
    background: #fff1f2 !important;
    color: #e11d48 !important;
}

.rheemo-social-feed .rheemo-request-list--full {
    gap: 12px;
}

.rheemo-social-feed .rheemo-request-item--full {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    padding: 14px;
}

.rheemo-social-feed .rheemo-request-item--full .rheemo-request-item__actions {
    grid-column: auto;
    min-width: 190px;
}

.rheemo-social-feed .rheemo-request-item__actions--single {
    display: flex;
    justify-content: flex-end;
}

.rheemo-social-feed .rheemo-cancel-request {
    min-height: 38px;
}

.rheemo-social-feed .rheemo-notification-list {
    display: grid;
    gap: 9px;
}

.rheemo-social-feed .rheemo-notification-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 12px;
    gap: 13px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(74, 85, 150, .08);
    border-radius: 16px;
    background: #fff;
    color: inherit !important;
    text-decoration: none !important;
    transition: background .18s ease, transform .18s ease;
}

.rheemo-social-feed .rheemo-notification-item:hover {
    transform: translateY(-1px);
    background: #f8fafc;
}

.rheemo-social-feed .rheemo-notification-item.is-unread {
    border-color: rgba(78, 86, 222, .15);
    background: linear-gradient(135deg, #f3f6ff, #fff7fc);
}

.rheemo-social-feed .rheemo-notification-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: #eef2ff;
    font-size: 19px;
}

.rheemo-social-feed .rheemo-notification-item__body {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.rheemo-social-feed .rheemo-notification-item__body strong {
    color: #172033;
    font-size: 13px;
    line-height: 1.3;
}

.rheemo-social-feed .rheemo-notification-item__body > span {
    overflow: hidden;
    color: #6f7890;
    font-size: 12px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-notification-item__body small {
    color: #9aa3b5;
    font-size: 10px;
}

.rheemo-social-feed .rheemo-notification-item > i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #5b54e5;
    box-shadow: 0 0 0 4px rgba(91, 84, 229, .1);
}

.rheemo-social-feed .rheemo-settings-panel form {
    display: grid;
    gap: 0;
}

.rheemo-social-feed .rheemo-setting-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 19px 4px;
    border-bottom: 1px solid rgba(61, 72, 150, .08);
}

.rheemo-social-feed .rheemo-setting-row strong,
.rheemo-social-feed .rheemo-setting-row > div > span {
    display: block;
}

.rheemo-social-feed .rheemo-setting-row strong {
    color: #172033;
    font-size: 14px;
}

.rheemo-social-feed .rheemo-setting-row > div > span {
    margin-top: 5px;
    color: #7b8498;
    font-size: 12px;
    line-height: 1.5;
}

.rheemo-social-feed .rheemo-setting-row select {
    min-width: 185px;
    min-height: 42px;
    padding: 0 35px 0 12px !important;
    border: 1px solid rgba(71, 85, 105, .16) !important;
    border-radius: 12px !important;
    background-color: #f8fafc !important;
    box-shadow: none !important;
}

.rheemo-social-feed .rheemo-switch {
    position: relative;
    display: inline-flex;
}

.rheemo-social-feed .rheemo-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rheemo-social-feed .rheemo-switch span {
    position: relative;
    display: block;
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: #d8deea;
    cursor: pointer;
    transition: background .18s ease;
}

.rheemo-social-feed .rheemo-switch span::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 7px rgba(15, 23, 42, .18);
    transition: transform .18s ease;
}

.rheemo-social-feed .rheemo-switch input:checked + span {
    background: linear-gradient(135deg, #4569ed, #8245df);
}

.rheemo-social-feed .rheemo-switch input:checked + span::after {
    transform: translateX(20px);
}

.rheemo-social-feed .rheemo-settings-note {
    display: flex;
    gap: 10px;
    margin-top: 17px;
    padding: 14px;
    border-radius: 14px;
    background: #f6f8ff;
    color: #667085;
}

.rheemo-social-feed .rheemo-settings-note p {
    margin: 0 !important;
    font-size: 12px;
    line-height: 1.55;
}

.rheemo-social-feed .rheemo-settings-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.rheemo-social-feed .rheemo-settings-actions .rheemo-network-feedback {
    margin: 0;
}

.rheemo-social-feed .rheemo-native-empty {
    display: grid;
    grid-column: 1 / -1;
    justify-items: center;
    padding: 36px 18px;
    text-align: center;
}

.rheemo-social-feed .rheemo-native-empty > span {
    font-size: 34px;
}

.rheemo-social-feed .rheemo-native-empty h3 {
    margin: 10px 0 5px !important;
    color: #172033;
    font-size: 18px;
}

.rheemo-social-feed .rheemo-native-empty p {
    max-width: 430px;
    margin: 0 0 13px !important;
    color: #7b8498;
    font-size: 13px;
}

.rheemo-social-feed .rheemo-native-empty a {
    color: #3f58d9 !important;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 900px) {
    .rheemo-social-feed .rheemo-side-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 50px;
        padding: 12px 15px !important;
        border: 1px solid rgba(74, 85, 150, .1) !important;
        border-radius: 16px !important;
        background: #fff !important;
        color: #27324a !important;
        font-weight: 900 !important;
        box-shadow: 0 12px 28px rgba(15, 23, 42, .06) !important;
    }

    .rheemo-social-feed .rheemo-side-nav-toggle > span:nth-child(2) {
        flex: 1;
        margin-left: 9px;
        text-align: left;
    }

    .rheemo-social-feed .rheemo-side-nav-toggle strong {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 25px;
        height: 25px;
        border-radius: 999px;
        background: #5b54e5;
        color: #fff;
        font-size: 10px;
    }

    .rheemo-social-feed .rheemo-native-side-nav {
        display: none !important;
        margin-top: 10px;
    }

    .rheemo-social-feed .rheemo-native-side-nav.is-open {
        display: block !important;
    }

    .rheemo-social-feed .rheemo-native-view-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .rheemo-social-feed .rheemo-native-view-header__action,
    .rheemo-social-feed .rheemo-network-search {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .rheemo-social-feed .rheemo-native-grid {
        grid-template-columns: 1fr;
    }

    .rheemo-social-feed .rheemo-network-search {
        grid-template-columns: 1fr;
    }

    .rheemo-social-feed .rheemo-request-item--full {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .rheemo-social-feed .rheemo-request-item--full .rheemo-request-item__actions {
        grid-column: 1 / -1;
        min-width: 0;
    }

    .rheemo-social-feed .rheemo-setting-row,
    .rheemo-social-feed .rheemo-setting-row--select {
        grid-template-columns: 1fr;
    }

    .rheemo-social-feed .rheemo-setting-row select {
        width: 100%;
        min-width: 0;
    }

    .rheemo-social-feed .rheemo-settings-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .rheemo-social-feed .rheemo-notification-item__body > span {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rheemo-social-feed .rheemo-member-card,
    .rheemo-social-feed .rheemo-notification-item,
    .rheemo-social-feed .rheemo-switch span,
    .rheemo-social-feed .rheemo-switch span::after {
        transition: none !important;
    }
}

/* =========================================================
   Rheemo Core v0.2.1 - profils natifs Rheemo
   ========================================================= */

.rheemo-social-feed .rheemo-profile-mini__cover,
.rheemo-social-feed .rheemo-native-profile__cover,
.rheemo-social-feed .rheemo-profile-cover-preview {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.rheemo-social-feed .rheemo-btn-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px !important;
    border: 1px solid rgba(72, 83, 155, .12) !important;
    border-radius: 14px !important;
    background: #f4f6ff !important;
    color: #4855ca !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.rheemo-social-feed .rheemo-native-profile {
    overflow: hidden;
    padding: 0 !important;
}

.rheemo-social-feed .rheemo-native-profile__cover {
    min-height: 190px;
    background-color: #eef2ff;
    background-image:
        radial-gradient(circle at 82% 18%, rgba(255,255,255,.34), transparent 27%),
        linear-gradient(135deg, #243a79, #7040df 58%, #df45ad);
}

.rheemo-social-feed .rheemo-native-profile__content {
    padding: 0 26px 24px;
}

.rheemo-social-feed .rheemo-native-profile__identity {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
    margin-top: -66px;
}

.rheemo-social-feed .rheemo-native-profile__avatar {
    width: 150px;
    height: 150px;
    padding: 5px;
    border-radius: 38px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(32, 43, 98, .18);
}

.rheemo-social-feed .rheemo-native-profile__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 33px;
    object-fit: cover;
}

.rheemo-social-feed .rheemo-native-profile__name {
    padding: 77px 0 4px;
}

.rheemo-social-feed .rheemo-native-profile__name > span {
    display: block;
    margin-bottom: 4px;
    color: #6554df;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rheemo-social-feed .rheemo-native-profile__name h2 {
    margin: 0 !important;
    color: #172033;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.12;
}

.rheemo-social-feed .rheemo-native-profile__name p {
    margin: 7px 0 0 !important;
    color: #69748a;
    font-size: 14px;
    line-height: 1.45;
}

.rheemo-social-feed .rheemo-native-profile__name small {
    display: block;
    margin-top: 8px;
    color: #7b8497;
    font-size: 11px;
    font-weight: 750;
}

.rheemo-social-feed .rheemo-native-profile__actions {
    align-self: end;
    padding-bottom: 5px;
}

.rheemo-social-feed .rheemo-profile-state {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 850;
}

.rheemo-social-feed .rheemo-profile-state.is-muted {
    background: #f8fafc;
    color: #778196;
}

.rheemo-social-feed .rheemo-profile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(71, 85, 105, .1);
}

.rheemo-social-feed .rheemo-profile-stats > div {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 15px;
    background: #f8f9ff;
}

.rheemo-social-feed .rheemo-profile-stats strong {
    color: #263559;
    font-size: 18px;
    line-height: 1.1;
}

.rheemo-social-feed .rheemo-profile-stats span {
    color: #7c8598;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.rheemo-social-feed .rheemo-profile-completeness {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px auto;
    gap: 18px;
    align-items: center;
    padding: 20px 22px !important;
    background: linear-gradient(135deg, #f7f8ff, #fff8fd) !important;
}

.rheemo-social-feed .rheemo-profile-completeness span {
    color: #5748d4;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rheemo-social-feed .rheemo-profile-completeness h3 {
    margin: 5px 0 0 !important;
    color: #22304f;
    font-size: 16px;
    line-height: 1.35;
}

.rheemo-social-feed .rheemo-profile-completeness p {
    margin: 5px 0 0 !important;
    color: #798296;
    font-size: 11px;
}

.rheemo-social-feed .rheemo-profile-completeness__meter {
    overflow: hidden;
    height: 10px;
    border-radius: 999px;
    background: #e8eafb;
}

.rheemo-social-feed .rheemo-profile-completeness__meter i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #376af0, #7444df, #e243a5);
}

.rheemo-social-feed .rheemo-profile-completeness > a {
    color: #4058d2 !important;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-profile-columns {
    display: grid;
    grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
    gap: 16px;
}

.rheemo-social-feed .rheemo-profile-about,
.rheemo-social-feed .rheemo-profile-activity {
    padding: 22px !important;
}

.rheemo-social-feed .rheemo-profile-bio {
    margin: 0 !important;
    color: #58647b;
    font-size: 13px;
    line-height: 1.75;
}

.rheemo-social-feed .rheemo-profile-field {
    display: grid;
    gap: 5px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(71, 85, 105, .09);
}

.rheemo-social-feed .rheemo-profile-field strong {
    color: #273550;
    font-size: 11px;
}

.rheemo-social-feed .rheemo-profile-field span,
.rheemo-social-feed .rheemo-profile-field a {
    overflow-wrap: anywhere;
    color: #6e7890 !important;
    font-size: 12px;
    line-height: 1.55;
    text-decoration: none !important;
}

.rheemo-social-feed .rheemo-profile-private {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 30px 16px;
    border: 1px dashed rgba(84, 95, 162, .18);
    border-radius: 18px;
    background: #fafbff;
    text-align: center;
}

.rheemo-social-feed .rheemo-profile-private > span {
    font-size: 27px;
}

.rheemo-social-feed .rheemo-profile-private h3,
.rheemo-social-feed .rheemo-profile-private p {
    margin: 0 !important;
}

.rheemo-social-feed .rheemo-profile-private h3 {
    color: #33405c;
    font-size: 14px;
}

.rheemo-social-feed .rheemo-profile-private p {
    color: #7a8498;
    font-size: 11px;
    line-height: 1.5;
}

.rheemo-social-feed .rheemo-profile-post-list {
    display: grid;
    gap: 12px;
}

.rheemo-social-feed .rheemo-profile-post {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    align-items: start;
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(71, 85, 105, .10);
    border-radius: 17px;
    background: #fbfcff;
}

.rheemo-social-feed .rheemo-profile-post.has-media {
    grid-template-columns: 112px minmax(0, 1fr);
}

.rheemo-social-feed .rheemo-profile-post > img {
    width: 112px;
    height: 96px;
    border-radius: 13px;
    object-fit: cover;
}

.rheemo-social-feed .rheemo-profile-post__body {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
}

.rheemo-social-feed .rheemo-profile-post__meta {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 9px;
    margin-bottom: 8px;
    color: #6c59dc;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .045em;
    line-height: 1.35;
    text-transform: uppercase;
}

.rheemo-social-feed .rheemo-profile-post__meta time {
    color: #7c869c;
    font: inherit;
}

.rheemo-social-feed .rheemo-profile-post__description {
    width: 100%;
    margin: 0 0 10px !important;
    color: #4f5b72;
    font-size: 13px;
    line-height: 1.62;
    overflow-wrap: anywhere;
}

.rheemo-social-feed .rheemo-profile-post__link {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    color: #4057d1 !important;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.4;
    text-decoration: none !important;
}

.rheemo-social-feed .rheemo-profile-post__link:hover,
.rheemo-social-feed .rheemo-profile-post__link:focus-visible {
    text-decoration: underline !important;
}

.rheemo-social-feed .rheemo-profile-post-more {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding-top: 14px;
}

.rheemo-social-feed .rheemo-profile-post-more__button {
    min-width: 140px;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid rgba(64, 87, 209, .18);
    border-radius: 14px;
    background: #f2f5ff;
    color: #4057d1;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    transition: transform .18s ease, box-shadow .18s ease;
}

.rheemo-social-feed .rheemo-profile-post-more__button:hover,
.rheemo-social-feed .rheemo-profile-post-more__button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(64, 87, 209, .10);
}

.rheemo-social-feed .rheemo-profile-post-more__button[disabled] {
    cursor: wait;
    opacity: .65;
    transform: none;
    box-shadow: none;
}

.rheemo-social-feed .rheemo-profile-post-more__status {
    min-height: 16px;
    margin: 0 !important;
    color: #7a8498;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
}

.rheemo-social-feed .rheemo-native-empty--compact {
    padding: 25px 15px !important;
}

.rheemo-social-feed .rheemo-profile-edit-panel {
    padding: 24px !important;
}

.rheemo-social-feed .rheemo-native-profile-form {
    display: grid;
    gap: 24px;
}

.rheemo-social-feed .rheemo-profile-media-editor {
    position: relative;
    min-height: 230px;
    padding-bottom: 48px;
}

.rheemo-social-feed .rheemo-profile-cover-editor,
.rheemo-social-feed .rheemo-profile-avatar-editor {
    cursor: pointer;
}

.rheemo-social-feed .rheemo-profile-cover-editor > input,
.rheemo-social-feed .rheemo-profile-avatar-editor > input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
}

.rheemo-social-feed .rheemo-profile-cover-preview {
    display: block;
    min-height: 180px;
    border-radius: 20px;
    background-color: #eef2ff;
    background-image:
        radial-gradient(circle at 82% 18%, rgba(255,255,255,.34), transparent 27%),
        linear-gradient(135deg, #263d7c, #7341df 58%, #df45ad);
}

.rheemo-social-feed .rheemo-profile-cover-editor > strong {
    position: absolute;
    top: 130px;
    right: 15px;
    padding: 9px 12px;
    border-radius: 11px;
    background: rgba(255,255,255,.93);
    color: #3f4fc8;
    font-size: 10px;
    box-shadow: 0 8px 24px rgba(26, 34, 76, .16);
}

.rheemo-social-feed .rheemo-profile-avatar-editor {
    position: absolute;
    left: 24px;
    bottom: 14px;
    display: grid;
    justify-items: center;
    gap: 5px;
}

.rheemo-social-feed .rheemo-profile-avatar-preview {
    display: block;
    width: 130px;
    height: 130px;
    padding: 5px;
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 15px 36px rgba(33, 45, 101, .18);
}

.rheemo-social-feed .rheemo-profile-avatar-preview img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 29px;
    object-fit: cover;
}

.rheemo-social-feed .rheemo-profile-avatar-editor > strong {
    color: #4857cb;
    font-size: 10px;
    font-weight: 900;
}

.rheemo-social-feed .rheemo-profile-media-options {
    position: absolute;
    right: 4px;
    bottom: 12px;
    display: grid;
    justify-items: end;
    gap: 5px;
    color: #6f7990;
    font-size: 10px;
}

.rheemo-social-feed .rheemo-profile-media-options label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.rheemo-social-feed .rheemo-profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.rheemo-social-feed .rheemo-profile-form-field {
    display: grid;
    gap: 7px;
}

.rheemo-social-feed .rheemo-profile-form-field--full {
    grid-column: 1 / -1;
}

.rheemo-social-feed .rheemo-profile-form-field > span,
.rheemo-social-feed .rheemo-profile-privacy h3 {
    color: #293752;
    font-size: 11px;
    font-weight: 900;
}

.rheemo-social-feed .rheemo-profile-form-field input,
.rheemo-social-feed .rheemo-profile-form-field textarea,
.rheemo-social-feed .rheemo-profile-form-field select {
    width: 100%;
    min-height: 46px;
    margin: 0 !important;
    padding: 11px 13px !important;
    border: 1px solid rgba(71, 85, 105, .14) !important;
    border-radius: 13px !important;
    background: #f9faff !important;
    color: #26334e !important;
    font-size: 13px !important;
    box-shadow: none !important;
}

.rheemo-social-feed .rheemo-profile-form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.rheemo-social-feed .rheemo-profile-form-field small {
    justify-self: end;
    color: #8b93a5;
    font-size: 9px;
}

.rheemo-social-feed .rheemo-profile-privacy {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) minmax(180px, .8fr) minmax(180px, .8fr);
    gap: 14px;
    align-items: end;
    padding: 18px;
    border-radius: 17px;
    background: #f7f8ff;
}

.rheemo-social-feed .rheemo-profile-privacy h3 {
    grid-column: 1 / -1;
    margin: 0 !important;
    font-size: 15px;
}

.rheemo-social-feed .rheemo-profile-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    color: #5f6b82;
    font-size: 11px;
    font-weight: 750;
}

.rheemo-social-feed .rheemo-profile-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 4px;
}

.rheemo-social-feed.rheemo-view-profile-edit .rheemo-feed-right {
    display: none !important;
}

.rheemo-social-feed.rheemo-view-profile-edit .rheemo-feed-grid {
    grid-template-columns: 280px minmax(0, 1fr) !important;
}

@media (max-width: 1180px) {
    .rheemo-social-feed .rheemo-profile-columns {
        grid-template-columns: 1fr;
    }

    .rheemo-social-feed .rheemo-profile-privacy {
        grid-template-columns: 1fr 1fr;
    }

    .rheemo-social-feed .rheemo-profile-privacy .rheemo-profile-form-field {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .rheemo-social-feed .rheemo-native-profile__cover {
        min-height: 150px;
    }

    .rheemo-social-feed .rheemo-native-profile__content {
        padding: 0 18px 20px;
    }

    .rheemo-social-feed .rheemo-native-profile__identity {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 14px;
        margin-top: -45px;
    }

    .rheemo-social-feed .rheemo-native-profile__avatar {
        width: 104px;
        height: 104px;
        border-radius: 28px;
    }

    .rheemo-social-feed .rheemo-native-profile__avatar img {
        border-radius: 23px;
    }

    .rheemo-social-feed .rheemo-native-profile__name {
        padding-top: 50px;
    }

    .rheemo-social-feed .rheemo-native-profile__actions {
        grid-column: 1 / -1;
        padding: 4px 0 0;
    }

    .rheemo-social-feed .rheemo-native-profile__actions .rheemo-btn,
    .rheemo-social-feed .rheemo-native-profile__actions button {
        width: 100%;
    }

    .rheemo-social-feed .rheemo-profile-completeness {
        grid-template-columns: 1fr;
    }

    .rheemo-social-feed .rheemo-profile-form-grid,
    .rheemo-social-feed .rheemo-profile-privacy {
        grid-template-columns: 1fr;
    }

    .rheemo-social-feed .rheemo-profile-form-field,
    .rheemo-social-feed .rheemo-profile-form-field--full,
    .rheemo-social-feed .rheemo-profile-privacy .rheemo-profile-form-field {
        grid-column: 1;
    }

    .rheemo-social-feed .rheemo-profile-media-editor {
        min-height: 255px;
        padding-bottom: 70px;
    }

    .rheemo-social-feed .rheemo-profile-media-options {
        right: auto;
        left: 172px;
        bottom: 16px;
        justify-items: start;
    }
}

@media (max-width: 520px) {
    .rheemo-social-feed .rheemo-profile-stats {
        grid-template-columns: 1fr 1fr;
    }

    .rheemo-social-feed .rheemo-profile-stats > div:last-child {
        grid-column: 1 / -1;
    }

    .rheemo-social-feed .rheemo-profile-post.has-media {
        grid-template-columns: 1fr;
    }

    .rheemo-social-feed .rheemo-profile-post > img {
        width: 100%;
        height: 170px;
    }

    .rheemo-social-feed .rheemo-profile-media-editor {
        min-height: 320px;
    }

    .rheemo-social-feed .rheemo-profile-avatar-editor {
        left: 50%;
        transform: translateX(-50%);
    }

    .rheemo-social-feed .rheemo-profile-media-options {
        right: 0;
        bottom: -4px;
        left: 0;
        justify-items: center;
        text-align: center;
    }

    .rheemo-social-feed .rheemo-profile-form-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .rheemo-social-feed .rheemo-profile-form-actions .rheemo-btn {
        width: 100%;
    }
}

.rheemo-social-feed .rheemo-alert-profile_invalid,
.rheemo-social-feed .rheemo-alert-profile_media_error {
    background: #fff7ed;
    color: #c2410c;
    border-color: rgba(249, 115, 22, .2);
}


/* Rheemo Core 0.2.2 — localisation et intérêts structurés */
.rheemo-smart-select,
.rheemo-interest-picker { position: relative; }
.rheemo-smart-select__input,
.rheemo-interest-picker__search {
    width: 100%; min-height: 48px; border: 1px solid #dfe4f2; border-radius: 14px;
    background: #fff; color: #172033; padding: 0 48px 0 15px; font: inherit;
    outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.rheemo-smart-select__input:focus,
.rheemo-interest-picker__search:focus { border-color: #6672f5; box-shadow: 0 0 0 4px rgba(82,100,223,.11); }
.rheemo-smart-select__toggle {
    position: absolute; top: 5px; right: 6px; width: 38px; height: 38px; border: 0;
    border-radius: 11px; background: #f1f4ff; color: #4658d8; font-size: 20px; cursor: pointer;
}
.rheemo-smart-select__menu,
.rheemo-interest-picker__menu {
    position: absolute; z-index: 80; left: 0; right: 0; top: calc(100% + 7px); max-height: 280px;
    overflow: auto; padding: 7px; border: 1px solid #e0e5f2; border-radius: 15px; background: #fff;
    box-shadow: 0 18px 45px rgba(25,35,72,.16);
}
.rheemo-smart-select__option,
.rheemo-interest-picker__option {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
    padding: 10px 11px; border: 0; border-radius: 10px; background: transparent; color: #263149;
    text-align: left; font: inherit; cursor: pointer;
}
.rheemo-smart-select__option:hover,
.rheemo-smart-select__option.is-active,
.rheemo-interest-picker__option:hover,
.rheemo-interest-picker__option.is-selected { background: #eef3ff; color: #304fd5; }
.rheemo-smart-select__empty { padding: 12px; color: #7b8498; font-size: 13px; line-height: 1.45; }
.rheemo-interest-picker { border: 1px solid #dfe4f2; border-radius: 16px; background: #fff; padding: 9px; }
.rheemo-interest-picker__search { border: 0; min-height: 42px; padding: 0 8px; box-shadow: none !important; }
.rheemo-interest-picker__selected { display: flex; flex-wrap: wrap; gap: 7px; }
.rheemo-interest-chip,
.rheemo-profile-interest-chips em {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px;
    background: linear-gradient(135deg, #eef3ff, #fff1fa); color: #344bc2; font-size: 12px; font-style: normal; font-weight: 800;
}
.rheemo-interest-chip button { border: 0; background: transparent; color: #7d86a0; cursor: pointer; padding: 0; font-size: 15px; }
.rheemo-interest-picker__group { padding: 9px 10px 5px; color: #8a92a7; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.rheemo-profile-interest-chips { display: flex !important; flex-wrap: wrap; gap: 7px; }
.rheemo-profile-field--interests { align-items: flex-start !important; }
.rheemo-feed-hero--profile .rheemo-feed-hero__content,
.rheemo-feed-hero--profile-edit .rheemo-feed-hero__content { max-width: 760px; }
@media (max-width: 700px) {
    .rheemo-smart-select__menu, .rheemo-interest-picker__menu { position: fixed; left: 14px; right: 14px; top: auto; bottom: 14px; max-height: 52vh; }
}

/* Rheemo Core 0.2.4 — groupes natifs */
.rheemo-groups-directory { padding: 22px; }
.rheemo-groups-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--rheemo-line);
}
.rheemo-groups-tabs { display: inline-flex; gap: 7px; padding: 5px; border-radius: 999px; background: #f3f5fb; }
.rheemo-groups-tabs a {
    min-height: 38px; display: inline-flex; align-items: center; padding: 0 15px; border-radius: 999px;
    color: #596277; text-decoration: none !important; font-size: 13px; font-weight: 850;
}
.rheemo-groups-tabs a.is-active { color: #fff; background: linear-gradient(135deg, var(--rheemo-blue), var(--rheemo-purple)); box-shadow: 0 8px 18px rgba(79,70,229,.2); }
.rheemo-group-search { display: flex; align-items: center; gap: 8px; }
.rheemo-group-search input[type="search"] {
    width: min(290px, 34vw); min-height: 42px; border: 1px solid #dfe4f2; border-radius: 999px;
    padding: 0 15px; background: #fff; color: var(--rheemo-ink); font: inherit; outline: none;
}
.rheemo-group-search input[type="search"]:focus { border-color: #6672f5; box-shadow: 0 0 0 4px rgba(82,100,223,.1); }
.rheemo-group-search button {
    min-height: 42px; padding: 0 15px; border: 0; border-radius: 999px; background: #eef2ff;
    color: #3e4fc5; font-weight: 850; cursor: pointer;
}
.rheemo-group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rheemo-group-card {
    overflow: hidden; min-width: 0; border: 1px solid #e7eaf3; border-radius: 20px; background: #fff;
    box-shadow: 0 12px 32px rgba(20,31,65,.06); transition: transform .18s ease, box-shadow .18s ease;
}
.rheemo-group-card:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(20,31,65,.1); }
.rheemo-group-card__cover {
    display: block; height: 112px; background:
        radial-gradient(circle at 20% 25%, rgba(255,255,255,.33), transparent 28%),
        linear-gradient(135deg, #2563eb, #7c3aed 58%, #ec4899);
    background-size: cover; background-position: center; text-decoration: none !important;
}
.rheemo-group-card__body { position: relative; padding: 47px 17px 16px; }
.rheemo-group-card__avatar {
    position: absolute; top: -38px; left: 17px; width: 76px; height: 76px; padding: 3px; border-radius: 22px;
    background: #fff; box-shadow: 0 10px 22px rgba(15,23,42,.18); text-decoration: none !important;
}
.rheemo-group-card__avatar img { width: 100%; height: 100%; border-radius: 18px; object-fit: cover; display: block; }
.rheemo-group-card__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.rheemo-group-card__badges span,
.rheemo-group-card__interests span,
.rheemo-group-profile__interests span {
    display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px;
    background: #f3f5fb; color: #626c82; font-size: 11px; font-weight: 800;
}
.rheemo-group-card h3 { margin: 0 0 7px; font-size: 18px; line-height: 1.22; }
.rheemo-group-card h3 a { color: #172033; text-decoration: none !important; }
.rheemo-group-card__body > p { min-height: 58px; margin: 0 0 12px; color: #687187; font-size: 13px; line-height: 1.5; }
.rheemo-group-card__interests { display: flex; flex-wrap: wrap; gap: 6px; min-height: 25px; margin-bottom: 14px; }
.rheemo-group-card__interests span { background: linear-gradient(135deg, #eef3ff, #fff1fa); color: #4254c7; }
.rheemo-group-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 13px; border-top: 1px solid #edf0f5; }
.rheemo-group-card__footer > span { color: #6b7280; font-size: 12px; font-weight: 750; }
.rheemo-group-action,
.rheemo-group-card__view {
    display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 13px; border: 0;
    border-radius: 999px; background: #eef2ff; color: #3f51ca !important; text-decoration: none !important;
    font-size: 12px; font-weight: 900; cursor: pointer;
}
.rheemo-group-action.is-pending { background: #f4f4f6; color: #7a8192 !important; cursor: default; }
.rheemo-group-action.is-active { background: #ecfdf5; color: #047857 !important; }
.rheemo-group-empty { grid-column: 1 / -1; min-height: 300px; }

.rheemo-group-create-panel { padding: 24px; }
.rheemo-group-create-form { display: grid; gap: 22px; }
.rheemo-group-image-previews { position: relative; min-height: 230px; margin-bottom: 4px; }
.rheemo-group-cover-preview {
    position: absolute; inset: 0 0 40px; display: flex; align-items: center; justify-content: center; overflow: hidden;
    border-radius: 22px; background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.32), transparent 28%),
        linear-gradient(135deg, #111827, #4338ca 54%, #ec4899); background-size: cover; background-position: center;
    color: rgba(255,255,255,.82); font-weight: 850;
}
.rheemo-group-avatar-preview {
    position: absolute; left: 28px; bottom: 0; width: 112px; height: 112px; padding: 5px; border-radius: 28px;
    background: #fff; box-shadow: 0 18px 34px rgba(15,23,42,.2);
}
.rheemo-group-avatar-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 23px; display: block; }
.rheemo-group-create-form textarea[name="group_description"] { min-height: 140px; resize: vertical; }

.rheemo-group-profile { overflow: hidden; margin-bottom: 18px; }
.rheemo-group-profile__cover {
    height: 220px; background:
        radial-gradient(circle at 18% 20%, rgba(255,255,255,.3), transparent 28%),
        linear-gradient(135deg, #111827, #3730a3 50%, #db2777); background-size: cover; background-position: center;
}
.rheemo-group-profile__main { position: relative; display: grid; grid-template-columns: 130px minmax(0,1fr) auto; align-items: end; gap: 18px; padding: 0 24px 18px; }
.rheemo-group-profile__avatar {
    width: 120px; height: 120px; margin-top: -52px; padding: 5px; border-radius: 30px; object-fit: cover;
    background: #fff; box-shadow: 0 16px 34px rgba(15,23,42,.22);
}
.rheemo-group-profile__identity { padding-top: 16px; min-width: 0; }
.rheemo-group-profile__identity > span { display: block; margin-bottom: 4px; color: #626c82; font-size: 12px; font-weight: 850; }
.rheemo-group-profile__identity h2 { margin: 0 0 4px; font-size: clamp(25px, 3vw, 36px); line-height: 1.08; letter-spacing: -.025em; }
.rheemo-group-profile__identity p { margin: 0; color: #687187; font-size: 13px; }
.rheemo-group-profile__actions { display: flex; align-items: center; gap: 9px; padding-bottom: 2px; }
.rheemo-group-member-state { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #ecfdf5; color: #047857; font-weight: 850; font-size: 13px; }
.rheemo-group-profile__description { padding: 0 24px 8px; color: #4f596d; font-size: 14px; line-height: 1.7; }
.rheemo-group-profile__description p { margin: 0 0 10px; }
.rheemo-group-profile__interests { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 24px 22px; }
.rheemo-group-profile__interests span { background: linear-gradient(135deg, #eef3ff, #fff1fa); color: #3f51c6; }
.rheemo-group-profile > .rheemo-network-feedback { margin: 0 24px 20px; }
.rheemo-group-members-panel,
.rheemo-group-pending-panel { margin-bottom: 18px; }
.rheemo-group-member-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.rheemo-group-member-strip a {
    width: 84px; display: grid; justify-items: center; gap: 6px; color: #354052; text-decoration: none !important;
    font-size: 11px; font-weight: 800; text-align: center;
}
.rheemo-group-member-strip img { width: 48px; height: 48px; border-radius: 16px; object-fit: cover; }
.rheemo-group-composer { margin-bottom: 18px; }
.rheemo-group-post-list { display: grid; gap: 18px; }
.rheemo-group-interaction-note { padding: 14px 16px; border-radius: 14px; background: #f7f8fc; color: #697286; font-size: 13px; font-weight: 750; text-align: center; }
.rheemo-post-card__meta a { color: inherit !important; text-decoration: none !important; font-weight: 800; }

.rheemo-alert-group_invalid,
.rheemo-alert-group_limit,
.rheemo-alert-group_access,
.rheemo-alert-group_error,
.rheemo-alert-group_media_error { background: #fff7ed; color: #c2410c; border-color: rgba(249,115,22,.2); }
.rheemo-alert-group_created,
.rheemo-alert-group_updated { background: #ecfdf5; color: #047857; border-color: rgba(16,185,129,.2); }

@media (max-width: 900px) {
    .rheemo-group-grid { grid-template-columns: 1fr; }
    .rheemo-groups-toolbar { align-items: stretch; flex-direction: column; }
    .rheemo-group-search input[type="search"] { width: 100%; }
    .rheemo-group-search { width: 100%; }
    .rheemo-group-search input { flex: 1; }
    .rheemo-group-profile__main { grid-template-columns: 108px minmax(0,1fr); align-items: center; }
    .rheemo-group-profile__avatar { width: 100px; height: 100px; }
    .rheemo-group-profile__actions { grid-column: 1 / -1; padding-bottom: 0; }
}

@media (max-width: 620px) {
    .rheemo-groups-directory,
    .rheemo-group-create-panel { padding: 16px; }
    .rheemo-groups-tabs { width: 100%; }
    .rheemo-groups-tabs a { flex: 1; justify-content: center; }
    .rheemo-group-search { display: grid; grid-template-columns: 1fr; }
    .rheemo-group-card__body > p { min-height: 0; }
    .rheemo-group-image-previews { min-height: 205px; }
    .rheemo-group-cover-preview { bottom: 34px; }
    .rheemo-group-avatar-preview { left: 18px; width: 96px; height: 96px; border-radius: 24px; }
    .rheemo-group-profile__cover { height: 150px; }
    .rheemo-group-profile__main { display: block; padding: 0 16px 16px; }
    .rheemo-group-profile__avatar { width: 92px; height: 92px; margin-top: -42px; border-radius: 25px; }
    .rheemo-group-profile__identity { padding-top: 10px; }
    .rheemo-group-profile__actions { margin-top: 14px; flex-wrap: wrap; }
    .rheemo-group-profile__description,
    .rheemo-group-profile__interests { padding-left: 16px; padding-right: 16px; }
    .rheemo-group-profile__actions .rheemo-btn { width: 100%; }
    .rheemo-group-member-state { width: 100%; justify-content: center; }
}

/* Rheemo Core 0.2.5 — Invitations et suppression sécurisée des groupes */
.rheemo-group-profile__actions {
    flex-wrap: wrap;
}

.rheemo-btn-danger-soft,
.rheemo-btn-danger {
    border: 1px solid rgba(225, 29, 72, .18);
    color: #be123c;
    background: #fff1f2;
}

.rheemo-btn-danger:hover,
.rheemo-btn-danger:focus,
.rheemo-btn-danger-soft:hover,
.rheemo-btn-danger-soft:focus {
    color: #fff;
    background: #e11d48;
    border-color: #e11d48;
}

.rheemo-group-card__view--invite {
    color: #fff;
    background: linear-gradient(135deg, #3662f4, #8b3df0);
    padding: 10px 14px;
    border-radius: 14px;
}

.rheemo-group-invite-panel,
.rheemo-group-delete-panel {
    margin-top: 22px;
}

.rheemo-group-invite-panel[hidden],
.rheemo-group-delete-panel[hidden] {
    display: none !important;
}

.rheemo-native-panel__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #6541e7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rheemo-native-panel__eyebrow.is-danger {
    color: #be123c;
}

.rheemo-native-panel__heading > div > p {
    margin: 6px 0 0;
    color: #667085;
}

.rheemo-panel-close {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f8fafc;
    color: #667085;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.rheemo-group-invite-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid #edf0f5;
    border-bottom: 1px solid #edf0f5;
}

.rheemo-group-invite-tabs {
    display: inline-flex;
    padding: 5px;
    border-radius: 16px;
    background: #f1f4fb;
}

.rheemo-group-invite-tabs button {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #526079;
    font-weight: 800;
    cursor: pointer;
}

.rheemo-group-invite-tabs button.is-active {
    color: #fff;
    background: linear-gradient(135deg, #3465ee, #7c3aed);
    box-shadow: 0 8px 22px rgba(79, 70, 229, .22);
}

.rheemo-group-invite-search {
    flex: 1;
    max-width: 420px;
}

.rheemo-group-invite-search input,
.rheemo-group-delete-name {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid #dfe5f1;
    border-radius: 15px;
    outline: 0;
    background: #fff;
    color: #182033;
}

.rheemo-group-invite-search input:focus,
.rheemo-group-delete-name:focus {
    border-color: #6759ec;
    box-shadow: 0 0 0 4px rgba(103, 89, 236, .10);
}

.rheemo-group-invite-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-top: 18px;
}

.rheemo-group-invite-loading {
    grid-column: 1 / -1;
    padding: 24px;
    border-radius: 16px;
    background: #f8fafc;
    color: #667085;
    text-align: center;
    font-weight: 700;
}

.rheemo-group-invite-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 13px;
    border: 1px solid #e6eaf2;
    border-radius: 18px;
    background: #fff;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rheemo-group-invite-item:hover {
    transform: translateY(-1px);
    border-color: #cfd6f4;
    box-shadow: 0 12px 28px rgba(35, 45, 80, .08);
}

.rheemo-group-invite-item.is-invited {
    background: #f8f7ff;
}

.rheemo-group-invite-item__avatar img {
    display: block;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
}

.rheemo-group-invite-item__body {
    min-width: 0;
}

.rheemo-group-invite-item__body > a {
    display: block;
    overflow: hidden;
    color: #182033;
    font-weight: 850;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rheemo-group-invite-item__body span {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: #7a8498;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rheemo-group-invite-action {
    min-height: 39px;
    padding: 0 13px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #3465ee, #7c3aed);
    font-weight: 800;
    cursor: pointer;
}

.rheemo-group-invite-action:disabled {
    color: #74809a;
    background: #eef1f7;
    cursor: default;
}

.rheemo-group-invite-action.is-pending {
    color: #5c46d8;
    background: #eeeaff;
}

.rheemo-group-invite-action.is-complete {
    color: #047857;
    background: #ecfdf5;
}

.rheemo-native-empty--compact {
    grid-column: 1 / -1;
    min-height: 130px;
    padding: 22px;
}

.rheemo-group-delete-panel {
    border-color: rgba(225, 29, 72, .22);
    background: linear-gradient(180deg, #fff, #fff8f9);
}

.rheemo-group-delete-confirm {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
    padding-top: 18px;
}

.rheemo-group-delete-confirm p {
    grid-column: 1 / -1;
    margin: 0;
    color: #667085;
}

.rheemo-group-delete-confirm .rheemo-btn-danger {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 15px;
    font-weight: 850;
    cursor: pointer;
}

@media (max-width: 900px) {
    .rheemo-group-invite-results {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .rheemo-group-invite-toolbar,
    .rheemo-group-delete-confirm {
        grid-template-columns: 1fr;
        display: grid;
    }

    .rheemo-group-invite-search {
        max-width: none;
    }

    .rheemo-group-invite-tabs {
        width: 100%;
    }

    .rheemo-group-invite-tabs button {
        flex: 1;
    }

    .rheemo-group-invite-item {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .rheemo-group-invite-item__avatar img {
        width: 46px;
        height: 46px;
    }

    .rheemo-group-invite-action {
        grid-column: 1 / -1;
        width: 100%;
    }

    .rheemo-group-delete-confirm .rheemo-btn-danger {
        width: 100%;
    }
}

/* Rheemo Core 0.2.5.1 — Contraste du bouton Quitter un groupe */
.rheemo-group-profile__actions .rheemo-leave-group {
    min-width: 108px;
    color: #b4233f !important;
    background: #fff1f3 !important;
    border: 1px solid #fecdd6 !important;
    box-shadow: 0 8px 18px rgba(190, 18, 60, .10);
}

.rheemo-group-profile__actions .rheemo-leave-group:hover,
.rheemo-group-profile__actions .rheemo-leave-group:focus {
    color: #fff !important;
    background: #e11d48 !important;
    border-color: #e11d48 !important;
    box-shadow: 0 11px 24px rgba(225, 29, 72, .22);
}

.rheemo-group-profile__actions .rheemo-leave-group:focus-visible {
    outline: 3px solid rgba(225, 29, 72, .24);
    outline-offset: 3px;
}

/* Rheemo Core 0.2.6 — gestion avancée des groupes */
.rheemo-group-management-panel[hidden] { display: none !important; }
.rheemo-group-management-panel { margin-bottom: 18px; overflow: hidden; }
.rheemo-group-management-section { padding: 20px 0; border-top: 1px solid #edf0f6; }
.rheemo-group-management-section:first-of-type { padding-top: 8px; border-top: 0; }
.rheemo-group-management-section__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.rheemo-group-management-section__heading h4 { margin: 0 0 4px; color: #1c2437; font-size: 17px; }
.rheemo-group-management-section__heading p { margin: 0; color: #6c7588; font-size: 13px; line-height: 1.5; }
.rheemo-group-management-section__heading > span { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: #f1f4fb; color: #59657b; font-size: 11px; font-weight: 850; }
.rheemo-group-settings-section { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 14px 18px; align-items: end; }
.rheemo-group-settings-section .rheemo-group-management-section__heading,
.rheemo-group-settings-section .rheemo-profile-form-field--full { grid-column: 1 / -1; }
.rheemo-group-settings-section textarea { width: 100%; min-height: 130px; resize: vertical; }
.rheemo-group-settings-section select,
.rheemo-group-role-select,
.rheemo-group-suspension-duration {
    min-height: 42px; padding: 0 36px 0 12px; border: 1px solid #dfe4ef; border-radius: 12px;
    background: #fff; color: #263047; font: inherit; font-size: 13px; font-weight: 700;
}
.rheemo-group-settings-section select:focus,
.rheemo-group-role-select:focus,
.rheemo-group-suspension-duration:focus { outline: 0; border-color: #6672f5; box-shadow: 0 0 0 4px rgba(82,100,223,.1); }
.rheemo-group-management-members { display: grid; gap: 10px; }
.rheemo-group-management-member {
    display: grid; grid-template-columns: 58px minmax(160px, .75fr) minmax(300px, 1.5fr); gap: 13px;
    align-items: center; padding: 13px; border: 1px solid #e8ebf2; border-radius: 17px; background: #fff;
}
.rheemo-group-management-member.is-suspended { border-color: #f4c9d1; background: #fff8fa; }
.rheemo-group-management-member__avatar img { width: 58px; height: 58px; border-radius: 17px; object-fit: cover; display: block; }
.rheemo-group-management-member__identity { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
.rheemo-group-management-member__identity > a { width: 100%; overflow: hidden; color: #172033; font-weight: 850; text-decoration: none !important; text-overflow: ellipsis; white-space: nowrap; }
.rheemo-group-management-member__identity small { width: 100%; color: #a33b51; font-size: 11px; line-height: 1.4; }
.rheemo-group-role-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; font-size: 10px; font-weight: 900; }
.rheemo-group-role-badge--owner { background: #fff4cf; color: #8b6500; }
.rheemo-group-role-badge--admin { background: #eeeaff; color: #5c43c8; }
.rheemo-group-role-badge--moderator { background: #e7f5ff; color: #176893; }
.rheemo-group-role-badge--member { background: #eef1f6; color: #596479; }
.rheemo-group-management-member__controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.rheemo-group-management-member__controls .rheemo-btn { min-height: 40px; padding: 0 12px; font-size: 12px; white-space: nowrap; }
.rheemo-btn-warning-soft { border: 1px solid #f4d79c !important; background: #fff8e8 !important; color: #8a5a00 !important; }
.rheemo-btn-warning-soft:hover { background: #ffe9b7 !important; }
.rheemo-btn-owner-soft { border: 1px solid #d7cdfc !important; background: #f5f1ff !important; color: #5d43bd !important; }
.rheemo-btn-owner-soft:hover { background: #e9e1ff !important; }
.rheemo-group-member-state--suspended { background: #fff1f3; color: #b42342; }
.rheemo-group-rules-card { margin-bottom: 18px; }
.rheemo-group-rules-content { padding: 2px 0 4px; color: #4f596d; font-size: 14px; line-height: 1.75; }
.rheemo-group-rules-content p:last-child { margin-bottom: 0; }
.rheemo-group-log-list { display: grid; gap: 8px; }
.rheemo-group-log-item { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; padding: 11px 12px; border-radius: 13px; background: #f7f8fc; }
.rheemo-group-log-item > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #fff; }
.rheemo-group-log-item div { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 10px; min-width: 0; }
.rheemo-group-log-item strong { width: 100%; color: #30394c; font-size: 12px; }
.rheemo-group-log-item small { color: #6d7587; font-size: 11px; }
.rheemo-group-log-item time { margin-left: auto; color: #8a91a1; font-size: 10px; }
.rheemo-post-header-actions { display: flex; align-items: center; gap: 6px; }
.rheemo-post-pin { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #e2e6ef; border-radius: 11px; background: #fff; cursor: pointer; }
.rheemo-post-pin:hover,
.rheemo-post-pin.is-active { border-color: #d7cdfc; background: #f5f1ff; }
.rheemo-post-card.is-pinned { border-color: #d8d0fb; box-shadow: 0 15px 34px rgba(91,70,175,.1); }
.rheemo-post-pinned-badge { display: inline-flex; align-items: center; min-height: 21px; padding: 0 7px; border-radius: 999px; background: #f3efff; color: #5d43bd; font-size: 10px; font-weight: 900; }

@media (max-width: 980px) {
    .rheemo-group-settings-section { grid-template-columns: 1fr; }
    .rheemo-group-settings-section .rheemo-profile-form-field--full { grid-column: auto; }
    .rheemo-group-management-member { grid-template-columns: 52px minmax(0,1fr); }
    .rheemo-group-management-member__avatar img { width: 52px; height: 52px; }
    .rheemo-group-management-member__controls { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 620px) {
    .rheemo-group-management-section__heading { display: block; }
    .rheemo-group-management-section__heading > span { display: inline-flex; margin-top: 9px; }
    .rheemo-group-management-member { display: grid; grid-template-columns: 48px minmax(0,1fr); padding: 11px; }
    .rheemo-group-management-member__avatar img { width: 48px; height: 48px; border-radius: 14px; }
    .rheemo-group-management-member__controls { display: grid; grid-template-columns: 1fr; }
    .rheemo-group-management-member__controls select,
    .rheemo-group-management-member__controls .rheemo-btn { width: 100%; }
    .rheemo-group-log-item time { width: 100%; margin-left: 0; }
}

/* ==========================================================
   Rheemo Core 0.3.0 — Pages Rheemo et fondation Audience
   ========================================================== */
.rheemo-pages-directory,
.rheemo-page-create-panel,
.rheemo-page-about,
.rheemo-page-audience,
.rheemo-danger-zone {
    overflow: visible;
}

.rheemo-pages-directory__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e8ebf4;
}

.rheemo-pages-tabs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border-radius: 18px;
    background: #f2f4fb;
}

.rheemo-pages-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    color: #59647a;
    font-weight: 800;
    text-decoration: none;
}

.rheemo-pages-tabs a.is-active {
    color: #fff;
    background: linear-gradient(135deg, #3d67ef 0%, #773ee5 56%, #d842ac 100%);
    box-shadow: 0 12px 26px rgba(91, 66, 220, .24);
}

.rheemo-pages-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: min(100%, 460px);
}

.rheemo-pages-search input[type="search"] {
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid #dfe4f0;
    border-radius: 16px;
    background: #fff;
    color: #172033;
    box-shadow: 0 8px 22px rgba(35, 47, 88, .06);
}

.rheemo-page-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.rheemo-page-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e6f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(37, 49, 91, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.rheemo-page-card:hover {
    transform: translateY(-3px);
    border-color: #cfd6f5;
    box-shadow: 0 20px 42px rgba(37, 49, 91, .13);
}

.rheemo-page-card__cover {
    display: block;
    height: 150px;
    background-color: #38457f;
    background-image: linear-gradient(135deg, #2c396b 0%, #7040e1 58%, #dc3fa6 100%);
    background-position: center;
    background-size: cover;
}

.rheemo-page-card__body {
    position: relative;
    padding: 54px 22px 22px;
}

.rheemo-page-card__avatar {
    position: absolute;
    top: -50px;
    left: 22px;
    width: 92px;
    height: 92px;
    padding: 5px;
    overflow: hidden;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(28, 39, 78, .18);
}

.rheemo-page-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.rheemo-page-type-badge,
.rheemo-page-post-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #5f42d7;
    background: #f0ebff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.rheemo-page-post-badge {
    min-height: 24px;
    padding: 3px 8px;
    color: #1857cb;
    background: #eaf2ff;
}

.rheemo-page-card h3 {
    margin: 12px 0 7px;
    font-size: 23px;
    line-height: 1.18;
}

.rheemo-page-card h3 a {
    color: #162039;
    text-decoration: none;
}

.rheemo-page-card__location {
    margin: 0 0 10px !important;
    color: #68748b !important;
    font-size: 13px;
    font-weight: 700;
}

.rheemo-page-card__body > p:not(.rheemo-page-card__location) {
    min-height: 48px;
    margin: 0;
    color: #68748b;
    line-height: 1.55;
}

.rheemo-page-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid #edf0f6;
}

.rheemo-page-card__footer > span {
    color: #69748a;
    font-size: 13px;
    font-weight: 700;
}

.rheemo-page-card__footer > span strong {
    color: #222d48;
}

.rheemo-page-follow-toggle {
    color: #fff;
    border: 1px solid transparent;
    background: linear-gradient(135deg, #3e68ed, #7b42e8);
    box-shadow: 0 9px 20px rgba(73, 80, 220, .2);
}

.rheemo-page-follow-toggle.is-following {
    color: #246849;
    border-color: #bce7d2;
    background: #ebfbf3;
    box-shadow: none;
}

.rheemo-page-image-previews {
    position: relative;
    min-height: 270px;
    margin-bottom: 30px;
}

.rheemo-page-cover-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    border-radius: 24px;
    color: rgba(255,255,255,.92);
    background-color: #36457d;
    background-image: linear-gradient(135deg, #2d396d 0%, #7041e2 58%, #d83ca8 100%);
    background-position: center;
    background-size: cover;
    font-size: 16px;
    font-weight: 800;
}

.rheemo-page-avatar-preview {
    position: absolute;
    left: 30px;
    bottom: 0;
    width: 132px;
    height: 132px;
    padding: 7px;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(29, 40, 79, .2);
}

.rheemo-page-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

.rheemo-page-profile {
    overflow: hidden;
}

.rheemo-page-profile__cover {
    min-height: 250px;
    background-color: #36457d;
    background-image: linear-gradient(135deg, #2d396d 0%, #7041e2 58%, #d83ca8 100%);
    background-position: center;
    background-size: cover;
}

.rheemo-page-profile__main {
    position: relative;
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr) auto;
    align-items: end;
    gap: 26px;
    padding: 0 30px 26px;
}

.rheemo-page-profile__avatar {
    width: 168px;
    height: 168px;
    margin-top: -76px;
    padding: 7px;
    object-fit: cover;
    border-radius: 38px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(28, 39, 78, .22);
}

.rheemo-page-profile__identity {
    padding-top: 22px;
}

.rheemo-page-profile__identity h2 {
    margin: 9px 0 5px;
    color: #111a31;
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.05;
}

.rheemo-page-profile__identity p {
    margin: 0;
    color: #69748b;
    font-weight: 700;
}

.rheemo-page-profile__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding-bottom: 8px;
}

.rheemo-page-profile__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 20px 30px 28px;
    border-top: 1px solid #edf0f6;
}

.rheemo-page-profile__stats > div {
    padding: 17px 20px;
    border-radius: 18px;
    background: #f7f8fd;
}

.rheemo-page-profile__stats strong,
.rheemo-page-profile__stats span {
    display: block;
}

.rheemo-page-profile__stats strong {
    color: #1a2542;
    font-size: 22px;
}

.rheemo-page-profile__stats span {
    margin-top: 3px;
    color: #7b8497;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.rheemo-page-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(230px, .7fr);
    gap: 28px;
}

.rheemo-page-about__description {
    color: #4d5870;
    line-height: 1.75;
}

.rheemo-page-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rheemo-page-contact-list a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #e1e6f1;
    border-radius: 14px;
    color: #30416d;
    background: #f8f9fd;
    font-weight: 750;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.rheemo-page-interest-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #edf0f6;
}

.rheemo-page-interest-list span {
    padding: 7px 11px;
    border-radius: 999px;
    color: #5b3fce;
    background: #f1edff;
    font-size: 12px;
    font-weight: 800;
}

.rheemo-page-audience__beta {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    color: #5d46c9;
    background: #f0edff;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.rheemo-page-audience__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.rheemo-page-audience__metrics > div {
    padding: 20px;
    border: 1px solid #e8ebf4;
    border-radius: 18px;
    background: linear-gradient(145deg, #fafbff, #f5f1ff);
}

.rheemo-page-audience__metrics strong,
.rheemo-page-audience__metrics span {
    display: block;
}

.rheemo-page-audience__metrics strong {
    color: #17213d;
    font-size: 27px;
}

.rheemo-page-audience__metrics span {
    margin-top: 4px;
    color: #737d91;
    font-size: 12px;
    font-weight: 850;
}

.rheemo-page-audience__privacy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    margin-top: 18px;
    border: 1px solid #dde5f5;
    border-radius: 16px;
    color: #5e6980;
    background: #f5f8ff;
}

.rheemo-page-audience__privacy p {
    margin: 0;
}

.rheemo-page-audience__segments {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.rheemo-page-audience__segment {
    padding: 18px;
    border: 1px solid #e8ebf4;
    border-radius: 18px;
    background: #fff;
}

.rheemo-page-audience__segment h4 {
    margin: 0 0 12px;
    color: #1c2742;
    font-size: 15px;
}

.rheemo-page-audience__segment ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.rheemo-page-audience__segment li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid #f0f2f7;
    color: #626d83;
    font-size: 13px;
}

.rheemo-page-audience__segment li:first-child {
    border-top: 0;
}

.rheemo-page-audience__segment li strong {
    color: #5e45d2;
}

.rheemo-page-composer .rheemo-composer__avatar img,
.rheemo-post-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.rheemo-page-posts-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 4px 4px 14px;
}

.rheemo-page-posts-heading span {
    color: #6d48d8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rheemo-page-posts-heading h3 {
    margin: 3px 0 0;
    color: #17213a;
    font-size: 24px;
}

.rheemo-danger-zone {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    border-color: #ffd4dc;
    background: #fffafb;
}

.rheemo-danger-zone h3 {
    margin: 4px 0 6px;
}

.rheemo-danger-zone p {
    margin: 0;
    color: #7a6570;
}

.rheemo-btn-danger {
    color: #b32043;
    border: 1px solid #f2b5c4;
    background: #fff0f4;
}

.rheemo-btn-danger:hover,
.rheemo-btn-danger:focus-visible {
    color: #fff;
    border-color: #c62c50;
    background: #c62c50;
}

.rheemo-page-delete-confirm {
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px solid #f1ccd5;
    border-radius: 16px;
    background: #fff;
}

.rheemo-page-delete-confirm label {
    display: grid;
    gap: 8px;
    color: #5d4650;
    font-weight: 700;
}

.rheemo-page-delete-confirm input {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #e6bfc9;
    border-radius: 12px;
}

.rheemo-page-delete-confirm > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.rheemo-page-delete-feedback {
    min-height: 20px;
    margin: 10px 0 0 !important;
    color: #b32043 !important;
    font-weight: 700;
}

.rheemo-view-pages .rheemo-feed-main,
.rheemo-view-page .rheemo-feed-main,
.rheemo-view-page-create .rheemo-feed-main,
.rheemo-view-page-edit .rheemo-feed-main {
    min-width: 0;
}

@media (max-width: 1180px) {
    .rheemo-page-card-grid {
        grid-template-columns: 1fr;
    }
    .rheemo-page-audience__segments {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .rheemo-pages-directory__toolbar,
    .rheemo-page-profile__main,
    .rheemo-page-about__grid,
    .rheemo-danger-zone {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .rheemo-pages-tabs,
    .rheemo-pages-search {
        width: 100%;
    }
    .rheemo-pages-tabs a {
        flex: 1;
        padding-inline: 10px;
        text-align: center;
    }
    .rheemo-page-profile__main {
        padding: 0 22px 24px;
    }
    .rheemo-page-profile__avatar {
        width: 132px;
        height: 132px;
        margin-top: -62px;
    }
    .rheemo-page-profile__identity {
        padding-top: 0;
    }
    .rheemo-page-profile__actions {
        justify-content: flex-start;
    }
    .rheemo-page-audience__metrics {
        grid-template-columns: 1fr 1fr;
    }
    .rheemo-page-audience__segments {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .rheemo-pages-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }
    .rheemo-pages-search {
        flex-direction: column;
        align-items: stretch;
    }
    .rheemo-page-card__cover {
        height: 125px;
    }
    .rheemo-page-profile__cover {
        min-height: 185px;
    }
    .rheemo-page-profile__stats,
    .rheemo-page-audience__metrics {
        grid-template-columns: 1fr;
    }
    .rheemo-page-profile__stats {
        padding-inline: 20px;
    }
    .rheemo-page-image-previews {
        min-height: 230px;
    }
    .rheemo-page-cover-preview {
        min-height: 190px;
    }
    .rheemo-page-avatar-preview {
        left: 18px;
        width: 112px;
        height: 112px;
    }
    .rheemo-page-card__footer {
        align-items: stretch;
        flex-direction: column;
    }
}


/* ==========================================================
   Rheemo Core 0.3.1 — Pages professionnelles premium
   ========================================================== */
.rheemo-page-card__cover { position: relative; }
.rheemo-page-card__cover > span { position: absolute; top: 16px; right: 16px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; background: rgba(22,27,67,.52); backdrop-filter: blur(9px); font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.rheemo-page-card__username { min-height: 0 !important; margin: -2px 0 8px !important; color: #6749d3 !important; font-size: 13px; font-weight: 850; }
.rheemo-page-profile--premium { position: relative; overflow: visible; border: 1px solid #e1e5f1; box-shadow: 0 22px 54px rgba(31,42,81,.13); }
.rheemo-page-profile--premium .rheemo-page-profile__cover { position: relative; min-height: 300px; border-radius: 25px 25px 0 0; }
.rheemo-page-profile__official { position: absolute; top: 22px; left: 24px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; background: rgba(16,25,65,.52); backdrop-filter: blur(12px); font-size: 11px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.rheemo-page-profile--premium .rheemo-page-profile__main { grid-template-columns: 178px minmax(0,1fr) minmax(240px,auto); align-items: center; padding-bottom: 28px; }
.rheemo-page-profile__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rheemo-page-owner-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border-radius: 999px; color: #1c7450; background: #e9fbf2; font-size: 11px; font-weight: 850; }
.rheemo-page-profile__username { margin: 5px 0 !important; color: #6845d4 !important; font-size: 15px; font-weight: 900 !important; }
.rheemo-page-profile__bio { max-width: 700px; margin: 7px 0 0 !important; color: #566177 !important; line-height: 1.55; font-weight: 500 !important; }
.rheemo-page-profile__location { margin-top: 8px !important; font-size: 13px; }
.rheemo-page-profile--premium .rheemo-page-profile__actions { align-content: center; max-width: 430px; }
.rheemo-page-primary-action { color: #fff; border: 0; background: linear-gradient(135deg,#315ff1 0%,#773de5 58%,#df3da4 100%); box-shadow: 0 13px 26px rgba(88,62,215,.25); }
.rheemo-page-primary-action:hover,.rheemo-page-primary-action:focus-visible { color: #fff; transform: translateY(-1px); box-shadow: 0 17px 30px rgba(88,62,215,.32); }
.rheemo-page-profile--premium .rheemo-page-profile__stats { grid-template-columns: repeat(4,minmax(0,1fr)); background: linear-gradient(180deg,#fff,#fbfbff); }
.rheemo-page-share-panel { margin: 0 30px 28px; padding: 20px; border: 1px solid #dedff1; border-radius: 20px; background: linear-gradient(135deg,#f9fbff,#f9f4ff); box-shadow: 0 14px 30px rgba(44,48,94,.09); }
.rheemo-page-share-panel > div:first-child { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.rheemo-page-share-panel p { margin: 7px 0 16px; color:#677189; }
.rheemo-page-share-close { width:36px; height:36px; border:0; border-radius:12px; color:#5b657b; background:#fff; font-size:23px; cursor:pointer; }
.rheemo-page-share-panel__buttons { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.rheemo-page-share-panel__buttons a,.rheemo-page-share-panel__buttons button { display:flex; align-items:center; justify-content:center; min-height:44px; padding:8px 10px; border:1px solid #dfe4f0; border-radius:13px; color:#2c3b62; background:#fff; font:inherit; font-size:12px; font-weight:800; text-decoration:none; cursor:pointer; }
.rheemo-page-share-feedback { display:block; min-height:18px; margin-top:10px; color:#236b4b; font-size:12px; font-weight:800; }
.rheemo-page-completion-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,.6fr) auto; align-items:center; gap:22px; padding:22px 26px; border:1px solid #e1dafa; background:linear-gradient(135deg,#fbfcff,#f8f2ff); }
.rheemo-page-completion-card span { color:#6848d6; font-size:11px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.rheemo-page-completion-card h3 { margin:4px 0 5px; font-size:20px; }
.rheemo-page-completion-card p { margin:0; color:#69738a; font-size:13px; }
.rheemo-page-completion-card__progress,.rheemo-page-completion-inline__track { height:10px; overflow:hidden; border-radius:999px; background:#e8e9f7; }
.rheemo-page-completion-card__progress i,.rheemo-page-completion-inline__track i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#3768ee,#7c40e7,#dd3fa6); }
.rheemo-page-completion-card > a { color:#5840c9; font-weight:850; text-decoration:none; white-space:nowrap; }
.rheemo-page-professional-tabs { display:flex; align-items:center; gap:6px; padding:8px; overflow-x:auto; }
.rheemo-page-professional-tabs a { display:inline-flex; align-items:center; gap:6px; min-height:45px; padding:0 15px; border-radius:14px; color:#5d687e; font-size:13px; font-weight:850; text-decoration:none; white-space:nowrap; }
.rheemo-page-professional-tabs a:hover { color:#4f39c5; background:#f3f0ff; }
.rheemo-page-professional-tabs a.is-active { color:#fff; background:linear-gradient(135deg,#3969ef,#7540e4); box-shadow:0 9px 20px rgba(68,73,210,.2); }
.rheemo-page-professional-tabs small { padding:3px 6px; border-radius:999px; color:#735dc7; background:#eee9ff; font-size:8px; font-weight:900; text-transform:uppercase; }
.rheemo-page-professional-tabs a.is-active small { color:#fff; background:rgba(255,255,255,.18); }
.rheemo-page-home-overview__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; margin:20px 0; }
.rheemo-page-home-overview__grid > div { padding:20px; border:1px solid #e7e9f2; border-radius:18px; background:#fafbff; }
.rheemo-page-home-overview__grid span { color:#6946d2; font-size:11px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.rheemo-page-home-overview__grid p { margin:8px 0 0; color:#536079; line-height:1.65; }
.rheemo-page-posts-heading > a { color:#5b42cf; font-weight:850; text-decoration:none; }
.rheemo-page-about-pro-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,.7fr); gap:28px; }
.rheemo-page-about-pro-grid article,.rheemo-page-about-pro-grid aside { padding:22px; border:1px solid #e7eaf3; border-radius:20px; background:#fbfcff; }
.rheemo-page-about-pro-grid h4,.rheemo-page-facts-grid h4 { margin:0 0 10px; color:#1d2844; }
.rheemo-page-contact-list span { display:flex; align-items:center; min-height:46px; padding:10px 14px; border:1px solid #e1e6f1; border-radius:14px; color:#30416d; background:#f8f9fd; font-weight:750; }
.rheemo-page-facts-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:22px; }
.rheemo-page-facts-grid > div { padding:20px; border:1px solid #e6e9f2; border-radius:18px; background:#fff; }
.rheemo-page-facts-grid > div > span { display:block; margin-bottom:9px; font-size:22px; }
.rheemo-page-facts-grid p { margin:0; color:#5f6b82; line-height:1.6; }
.rheemo-page-services-presentation__content { padding:22px; margin:20px 0; border:1px solid #e6e9f2; border-radius:20px; color:#4f5b73; background:linear-gradient(145deg,#fafbff,#fff7fd); line-height:1.75; }
.rheemo-page-upcoming-module { padding:48px 30px; text-align:center; }
.rheemo-page-upcoming-module > span { display:block; margin-bottom:12px; font-size:42px; }
.rheemo-page-upcoming-module h3 { margin:0 0 8px; }
.rheemo-page-upcoming-module p { max-width:620px; margin:0 auto; color:#68738a; line-height:1.65; }
.rheemo-page-completion-inline { display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,.6fr); align-items:center; gap:20px; padding:17px 20px; margin-bottom:24px; border:1px solid #e3ddf8; border-radius:18px; background:#faf8ff; }
.rheemo-page-completion-inline strong,.rheemo-page-completion-inline span { display:block; }
.rheemo-page-completion-inline span { margin-top:3px; color:#707a90; font-size:12px; }
.rheemo-page-form-section { padding:26px 0; border-top:1px solid #edf0f6; }
.rheemo-page-form-section:first-of-type { border-top:0; }
.rheemo-page-form-section__heading { display:flex; align-items:flex-start; gap:13px; margin-bottom:20px; }
.rheemo-page-form-section__heading > span { display:flex; align-items:center; justify-content:center; flex:0 0 38px; width:38px; height:38px; border-radius:13px; color:#fff; background:linear-gradient(135deg,#3b68ed,#7840e5); font-size:12px; font-weight:900; }
.rheemo-page-form-section__heading h3 { margin:0 0 4px; font-size:19px; }
.rheemo-page-form-section__heading p { margin:0; color:#707a90; font-size:13px; }
.rheemo-page-username-field { display:flex; align-items:center; min-height:48px; overflow:hidden; border:1px solid #dfe4ef; border-radius:14px; background:#fff; }
.rheemo-page-username-field:focus-within { border-color:#6b54dd; box-shadow:0 0 0 3px rgba(107,84,221,.11); }
.rheemo-page-username-field b { padding-left:14px; color:#6746d3; }
.rheemo-page-username-field input { flex:1; min-width:0; border:0 !important; box-shadow:none !important; }
.rheemo-page-live-preview__identity { position:absolute; left:184px; bottom:16px; display:flex; flex-direction:column; max-width:calc(100% - 210px); padding:12px 16px; border:1px solid rgba(255,255,255,.45); border-radius:16px; color:#fff; background:rgba(29,32,76,.56); backdrop-filter:blur(11px); }
.rheemo-page-live-preview__identity span { font-size:10px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.rheemo-page-live-preview__identity strong { margin:2px 0; overflow:hidden; font-size:18px; text-overflow:ellipsis; white-space:nowrap; }
.rheemo-page-live-preview__identity small { color:rgba(255,255,255,.85); font-weight:750; }
@media (max-width:1100px) { .rheemo-page-profile--premium .rheemo-page-profile__main { grid-template-columns:150px minmax(0,1fr); } .rheemo-page-profile--premium .rheemo-page-profile__actions { grid-column:1/-1; max-width:none; justify-content:flex-start; } .rheemo-page-share-panel__buttons { grid-template-columns:repeat(3,minmax(0,1fr)); } .rheemo-page-facts-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:760px) { .rheemo-page-profile--premium .rheemo-page-profile__cover { min-height:215px; } .rheemo-page-profile--premium .rheemo-page-profile__main { display:flex; align-items:flex-start; } .rheemo-page-profile--premium .rheemo-page-profile__stats { grid-template-columns:1fr 1fr; } .rheemo-page-share-panel { margin-inline:18px; } .rheemo-page-share-panel__buttons { grid-template-columns:1fr 1fr; } .rheemo-page-completion-card,.rheemo-page-completion-inline { grid-template-columns:1fr; } .rheemo-page-home-overview__grid,.rheemo-page-about-pro-grid,.rheemo-page-facts-grid { grid-template-columns:1fr; } .rheemo-page-professional-tabs { border-radius:18px; } .rheemo-page-live-preview__identity { left:145px; max-width:calc(100% - 165px); } }
@media (max-width:480px) { .rheemo-page-profile--premium .rheemo-page-profile__stats { grid-template-columns:1fr; } .rheemo-page-profile--premium .rheemo-page-profile__actions > * { width:100%; justify-content:center; } .rheemo-page-share-panel__buttons { grid-template-columns:1fr; } .rheemo-page-live-preview__identity { display:none; } }

/* ==========================================================
   Rheemo Core 0.3.1.1 — correctifs visuels Pages professionnelles
   ========================================================== */
.rheemo-social-feed .rheemo-pages-directory__toolbar {
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px 18px;
}

.rheemo-social-feed .rheemo-pages-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    flex: 1 1 410px;
    min-width: 0;
}

.rheemo-social-feed .rheemo-pages-tabs a {
    min-width: 0;
    padding-inline: 14px;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-pages-search {
    flex: 1 1 430px;
    min-width: 0;
}

.rheemo-social-feed .rheemo-pages-search .rheemo-btn {
    min-height: 48px;
    padding-inline: 20px !important;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-native-empty .rheemo-btn.rheemo-btn-primary,
.rheemo-social-feed .rheemo-native-empty .rheemo-btn.rheemo-btn-primary:visited {
    min-height: 48px;
    padding: 0 24px;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    background: linear-gradient(135deg, #3567ef 0%, #7540e5 58%, #dc3fa7 100%) !important;
    box-shadow: 0 12px 25px rgba(75, 72, 217, .24) !important;
}

.rheemo-social-feed .rheemo-native-empty .rheemo-btn.rheemo-btn-primary:hover,
.rheemo-social-feed .rheemo-native-empty .rheemo-btn.rheemo-btn-primary:focus-visible {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(75, 72, 217, .31) !important;
}

.rheemo-social-feed .rheemo-page-create-form .rheemo-profile-form-grid {
    gap: 18px 20px;
    align-items: start;
}

.rheemo-social-feed .rheemo-page-create-form .rheemo-profile-form-field {
    min-width: 0;
}

.rheemo-social-feed .rheemo-page-create-form .rheemo-profile-form-field > span {
    line-height: 1.35;
}

.rheemo-social-feed .rheemo-page-create-form .rheemo-profile-form-actions {
    align-items: center;
    gap: 12px;
    padding-top: 18px;
}

.rheemo-social-feed .rheemo-page-create-form .rheemo-profile-form-actions .rheemo-btn {
    min-height: 48px;
    padding-inline: 22px;
}

@media (max-width: 980px) {
    .rheemo-social-feed .rheemo-pages-tabs,
    .rheemo-social-feed .rheemo-pages-search {
        flex-basis: 100%;
        width: 100%;
    }
}

@media (max-width: 620px) {
    .rheemo-social-feed .rheemo-pages-tabs {
        grid-template-columns: 1fr;
    }

    .rheemo-social-feed .rheemo-pages-search {
        display: grid;
        grid-template-columns: 1fr;
    }

    .rheemo-social-feed .rheemo-page-create-form .rheemo-profile-form-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .rheemo-social-feed .rheemo-page-create-form .rheemo-profile-form-actions .rheemo-btn {
        width: 100%;
    }
}


/* Rheemo Core 0.3.2 — contenus professionnels des Pages */
.rheemo-page-content-manager{margin-bottom:22px}.rheemo-page-content-form{display:grid;gap:20px}.rheemo-page-content-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.rheemo-page-content-form__grid label{display:grid;gap:8px;font-weight:800;color:#17213a}.rheemo-page-content-form__grid label>span{font-size:14px}.rheemo-page-content-form__grid input,.rheemo-page-content-form__grid select,.rheemo-page-content-form__grid textarea,.rheemo-page-pin-manager select{width:100%;min-height:50px;border:1px solid #dfe5f2;border-radius:16px;background:#f8faff;color:#17213a;padding:13px 15px;font:inherit;box-sizing:border-box}.rheemo-page-content-form__grid textarea{min-height:140px;resize:vertical}.rheemo-page-content-form__grid input:focus,.rheemo-page-content-form__grid select:focus,.rheemo-page-content-form__grid textarea:focus,.rheemo-page-pin-manager select:focus{outline:3px solid rgba(76,91,255,.14);border-color:#5a59f7;background:#fff}.rheemo-page-content-form__grid .is-full{grid-column:1/-1}.rheemo-page-content-file small{font-weight:500;color:#7d879d}.rheemo-page-content-featured{grid-template-columns:auto 1fr!important;align-items:center;padding:15px 17px;background:#f5f3ff;border:1px solid #e2ddff;border-radius:16px}.rheemo-page-content-featured input{width:20px!important;min-height:20px!important;margin:0}.rheemo-page-content-form__actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}.rheemo-page-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:0 0 24px}.rheemo-page-content-card{overflow:hidden;background:#fff;border:1px solid #e3e8f2;border-radius:24px;box-shadow:0 16px 44px rgba(42,49,84,.08);position:relative}.rheemo-page-content-card.is-featured{border-color:#b897ff;box-shadow:0 18px 48px rgba(105,74,233,.15)}.rheemo-page-content-card__image{height:210px;background-size:cover;background-position:center;background-color:#f0f3fb}.rheemo-page-content-card__image.is-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#315bf4,#8d3df2 56%,#ed3f99)}.rheemo-page-content-card__image.is-placeholder span{font-size:58px;filter:drop-shadow(0 8px 18px rgba(0,0,0,.2))}.rheemo-page-content-card__body{padding:22px;display:grid;gap:12px}.rheemo-page-content-card__meta{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#5440d7;font-weight:900;font-size:13px;text-transform:uppercase;letter-spacing:.03em}.rheemo-page-content-card__meta small{background:#fff1c7;color:#8b6200;border-radius:999px;padding:6px 10px;text-transform:none;letter-spacing:0}.rheemo-page-content-card h3{font-size:24px;line-height:1.18;margin:0;color:#111a31}.rheemo-page-content-card p{margin:0;color:#667189;line-height:1.65}.rheemo-page-content-card__rating{font-size:20px;color:#f3ad18;letter-spacing:2px}.rheemo-page-content-card__facts{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;color:#667189;font-size:14px}.rheemo-page-content-card__facts strong{font-size:18px;color:#17213a}.rheemo-page-content-card__actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:4px}.rheemo-page-content-card__actions form{margin:0}.rheemo-page-catalog-intro{margin-bottom:22px}.rheemo-page-pin-manager form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}.rheemo-page-pinned-label{display:inline-flex;align-items:center;gap:8px;margin:2px 0 10px;padding:8px 13px;border-radius:999px;background:#fff1f7;color:#bd276c;border:1px solid #ffc9df;font-size:14px}.rheemo-page-professional-tabs a small{display:none}
@media (max-width:900px){.rheemo-page-content-form__grid,.rheemo-page-content-grid{grid-template-columns:1fr}.rheemo-page-pin-manager form{grid-template-columns:1fr}.rheemo-page-content-form__actions{justify-content:stretch}.rheemo-page-content-form__actions .rheemo-btn,.rheemo-page-pin-manager .rheemo-btn{width:100%;justify-content:center}.rheemo-page-content-card__image{height:190px}}
@media (max-width:560px){.rheemo-page-content-card{border-radius:20px}.rheemo-page-content-card__body{padding:18px}.rheemo-page-content-card h3{font-size:21px}.rheemo-page-content-card__actions .rheemo-btn,.rheemo-page-content-card__actions form{width:100%}.rheemo-page-content-card__actions form .rheemo-btn{width:100%;justify-content:center}}


/* ==========================================================
   Rheemo Core 0.3.2.1 — correction de l’en-tête professionnel
   ========================================================== */
.rheemo-social-feed .rheemo-page-profile--premium {
    container-type: inline-size;
}

.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__main {
    grid-template-columns: 178px minmax(320px, 1fr) minmax(260px, 320px);
    align-items: start;
    gap: 28px;
    padding-top: 0;
}

.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__avatar {
    align-self: start;
}

.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__identity {
    min-width: 0;
    padding-top: 28px;
}

.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__badges {
    flex-wrap: nowrap;
    min-width: 0;
}

.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-type-badge,
.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-owner-badge {
    flex: 0 0 auto;
    max-width: 100%;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__identity h2 {
    overflow-wrap: break-word;
    word-break: normal;
}

.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__bio {
    width: 100%;
    max-width: 720px;
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: break-word;
    word-break: normal;
}

.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: center;
    align-content: center;
    width: 100%;
    max-width: 320px;
    gap: 10px;
    padding: 24px 0 8px;
}

.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__actions > * {
    min-width: 0;
    justify-content: center;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-primary-action {
    grid-column: 1 / -1;
    width: 100%;
}

@container (max-width: 900px) {
    .rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__main {
        grid-template-columns: 160px minmax(0, 1fr);
        align-items: start;
    }

    .rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__actions {
        grid-column: 2;
        display: flex;
        justify-content: flex-start;
        max-width: none;
        padding-top: 0;
    }

    .rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-primary-action {
        width: auto;
    }
}

@container (max-width: 640px) {
    .rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__main {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0 20px 24px;
    }

    .rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__avatar {
        width: 132px;
        height: 132px;
        margin-top: -62px;
    }

    .rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__identity {
        width: 100%;
        padding-top: 0;
    }

    .rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__badges {
        flex-wrap: wrap;
    }

    .rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        max-width: none;
    }

    .rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-primary-action {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@container (max-width: 420px) {
    .rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__actions {
        grid-template-columns: 1fr;
    }

    .rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__actions > * {
        width: 100%;
    }
}

/* Rheemo Core 0.3.2.2 — Pages contextuelles : Restaurant → Menus */
.rheemo-page-home-overview--restaurant{
    background:linear-gradient(145deg,#fff 0%,#fffaf3 55%,#fff3e6 100%);
    border-color:#ffd9b0;
}
.rheemo-restaurant-menu-intro{
    margin-bottom:20px;
    background:linear-gradient(135deg,#fff 0%,#fff8ee 55%,#fff2e1 100%);
    border-color:#ffd3a1;
}
.rheemo-restaurant-menu-intro .rheemo-native-panel__eyebrow{color:#c55b13}
.rheemo-restaurant-menu-manager{margin-bottom:20px}
.rheemo-restaurant-menu-form .rheemo-page-content-form__grid{align-items:start}
.rheemo-restaurant-menu-form small{color:#778198;font-weight:500;line-height:1.45}
.rheemo-restaurant-choice-group{
    margin:0;
    padding:16px 17px;
    border:1px solid #e1e6f0;
    border-radius:18px;
    background:#fafbff;
}
.rheemo-restaurant-choice-group legend{
    padding:0 7px;
    color:#17213a;
    font-size:14px;
    font-weight:900;
}
.rheemo-restaurant-choice-group>p{
    margin:0 0 12px;
    color:#778198;
    font-size:12px;
    font-weight:500;
}
.rheemo-restaurant-choice-group>div{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
}
.rheemo-restaurant-choice-group label{
    display:inline-flex!important;
    grid-template-columns:none!important;
    align-items:center;
    gap:8px!important;
    min-height:38px;
    padding:8px 12px;
    border:1px solid #e2e7f2;
    border-radius:999px;
    background:#fff;
    color:#4f5b72!important;
    font-size:13px;
    font-weight:800!important;
    cursor:pointer;
}
.rheemo-restaurant-choice-group input{
    width:17px!important;
    min-height:17px!important;
    margin:0!important;
    accent-color:#6650e8;
}
.rheemo-restaurant-menu-filters{
    display:flex;
    align-items:center;
    gap:9px;
    margin:0 0 20px;
    padding:10px;
    overflow-x:auto;
    border:1px solid #e3e8f2;
    border-radius:19px;
    background:#fff;
    box-shadow:0 10px 28px rgba(42,49,84,.06);
    scrollbar-width:thin;
}
.rheemo-restaurant-menu-filters a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 14px;
    border-radius:13px;
    color:#59657b;
    font-size:13px;
    font-weight:900;
    text-decoration:none;
    white-space:nowrap;
}
.rheemo-restaurant-menu-filters a:hover{color:#c35416;background:#fff4e8}
.rheemo-restaurant-menu-filters a.is-active{
    color:#fff;
    background:linear-gradient(135deg,#f08a24,#e34d76 56%,#8b43e6);
    box-shadow:0 9px 20px rgba(220,89,71,.22);
}
.rheemo-restaurant-menu-card{border-color:#eee2d6}
.rheemo-restaurant-menu-card.is-featured{border-color:#ffb762;box-shadow:0 18px 48px rgba(230,119,36,.16)}
.rheemo-restaurant-menu-card.is-unavailable{opacity:.78}
.rheemo-restaurant-menu-card.is-unavailable .rheemo-page-content-card__image{filter:grayscale(.45)}
.rheemo-menu-state{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:5px 10px!important;
    border-radius:999px!important;
    font-size:11px!important;
    font-weight:900!important;
    text-transform:none!important;
    letter-spacing:0!important;
}
.rheemo-menu-state.is-available{color:#087b4a!important;background:#e8fbf2!important}
.rheemo-menu-state.is-unavailable,.rheemo-menu-state.is-expired{color:#b82d49!important;background:#fff0f3!important}
.rheemo-menu-state.is-scheduled,.rheemo-menu-state.is-other_day{color:#8a5b00!important;background:#fff6d8!important}
.rheemo-restaurant-menu-price{
    color:#17213a;
    font-size:22px;
    font-weight:950;
}
.rheemo-restaurant-menu-facts{
    display:grid;
    gap:7px;
    padding:12px 14px;
    border-radius:15px;
    background:#faf8f5;
    color:#647086;
    font-size:13px;
    line-height:1.5;
}
.rheemo-restaurant-dietary-tags{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}
.rheemo-restaurant-dietary-tags span{
    display:inline-flex;
    align-items:center;
    min-height:29px;
    padding:4px 9px;
    border:1px solid #dbeadf;
    border-radius:999px;
    color:#2d6b43;
    background:#f1fbf4;
    font-size:11px;
    font-weight:850;
}
.rheemo-restaurant-menu-card .rheemo-page-content-card__actions form{display:inline-flex}
@media (max-width:760px){
    .rheemo-restaurant-menu-filters{margin-inline:0;border-radius:16px}
    .rheemo-restaurant-choice-group>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
    .rheemo-restaurant-choice-group label{border-radius:13px;justify-content:flex-start}
}
@media (max-width:480px){
    .rheemo-restaurant-choice-group>div{grid-template-columns:1fr}
    .rheemo-restaurant-menu-filters a{min-height:38px;padding-inline:12px}
    .rheemo-restaurant-menu-card .rheemo-page-content-card__actions>*{width:100%}
    .rheemo-restaurant-menu-card .rheemo-page-content-card__actions form .rheemo-btn{width:100%;justify-content:center}
}

/* =========================================================
   Rheemo Core 0.3.3 — Avis et recommandations transparents
   ========================================================= */
.rheemo-review-intro {
    margin-bottom: 18px;
}

.rheemo-review-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.rheemo-review-summary > div {
    min-width: 0;
    padding: 18px;
    border: 1px solid #e6e9f4;
    border-radius: 20px;
    background: #f8f9fd;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rheemo-review-summary strong {
    color: #111b35;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1;
}

.rheemo-review-summary > div > span:not(.rheemo-review-stars) {
    color: #707a91;
    font-weight: 800;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .025em;
}

.rheemo-review-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.rheemo-review-stars > span {
    color: #d8dce7;
    font-size: 1.05rem;
    line-height: 1;
}

.rheemo-review-stars > span.is-filled {
    color: #f4a623;
}

.rheemo-review-stars strong {
    margin-left: 7px;
    color: #566079;
    font-size: .86rem;
}

.rheemo-review-guidance {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 0 0 18px;
    padding: 17px 19px;
    border: 1px solid #dfe5fb;
    border-radius: 20px;
    background: #f5f8ff;
    color: #39435e;
}

.rheemo-review-guidance--manager {
    border-color: #d9eede;
    background: #f3fbf5;
}

.rheemo-review-guidance > span {
    flex: 0 0 auto;
    font-size: 1.35rem;
}

.rheemo-review-guidance strong {
    display: block;
    margin-bottom: 3px;
    color: #17213b;
}

.rheemo-review-guidance p,
.rheemo-review-guidance small {
    margin: 0;
    color: #64708a;
    line-height: 1.55;
}

.rheemo-review-form-card {
    margin-bottom: 18px;
}

.rheemo-review-verified-pill,
.rheemo-review-recommend-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 900;
    line-height: 1.2;
}

.rheemo-review-verified-pill {
    color: #087a4f;
    background: #e8faf1;
    border: 1px solid #bfe9d3;
}

.rheemo-review-recommend-pill {
    color: #4c32c7;
    background: #f0edff;
    border: 1px solid #ddd5ff;
}

.rheemo-review-form {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.rheemo-review-form label {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #18223a;
    font-weight: 800;
}

.rheemo-review-form input[type="text"],
.rheemo-review-form select,
.rheemo-review-form textarea,
.rheemo-review-response-form textarea,
.rheemo-review-report textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid #dfe3ef;
    border-radius: 16px;
    background: #f9faff;
    color: #17213a;
    padding: 13px 15px;
    font: inherit;
    line-height: 1.5;
    outline: none;
}

.rheemo-review-form input:focus,
.rheemo-review-form select:focus,
.rheemo-review-form textarea:focus,
.rheemo-review-response-form textarea:focus,
.rheemo-review-report textarea:focus {
    border-color: #6552f3;
    box-shadow: 0 0 0 3px rgba(101, 82, 243, .12);
}

.rheemo-review-form__row {
    display: grid;
    grid-template-columns: minmax(180px, .45fr) minmax(240px, 1fr);
    gap: 14px;
    align-items: end;
}

.rheemo-review-recommend {
    min-height: 49px;
    grid-template-columns: auto 1fr !important;
    align-items: center;
    gap: 10px !important;
    padding: 12px 15px;
    border: 1px solid #dfe3ef;
    border-radius: 16px;
    background: #f9faff;
}

.rheemo-review-recommend input {
    width: 19px;
    height: 19px;
    accent-color: #644ff2;
}

.rheemo-review-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.rheemo-review-form__footer small {
    color: #758097;
}

.rheemo-review-list {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
}

.rheemo-review-list--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rheemo-review-list--compact .rheemo-review-response-form,
.rheemo-review-list--compact .rheemo-review-card__actions,
.rheemo-review-list--compact .rheemo-review-card__trust .rheemo-review-recommend-pill {
    display: none;
}

.rheemo-review-card {
    min-width: 0;
    padding: 21px;
    border: 1px solid #e1e5f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(31, 39, 70, .055);
}

.rheemo-review-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.rheemo-review-card__author {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.rheemo-review-card__author img {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    object-fit: cover;
}

.rheemo-review-card__author span {
    display: grid;
    min-width: 0;
}

.rheemo-review-card__author strong {
    overflow: hidden;
    color: #111a31;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rheemo-review-card__author small {
    color: #8a93a8;
}

.rheemo-review-card__trust {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 15px 0 12px;
}

.rheemo-review-card h4 {
    margin: 0 0 8px;
    color: #111a31;
    font-size: 1.12rem;
}

.rheemo-review-card__content {
    color: #4f5b73;
    line-height: 1.68;
}

.rheemo-review-card__content p {
    margin: 0;
}

.rheemo-review-response {
    margin-top: 17px;
    padding: 16px 17px;
    border-left: 4px solid #654ff2;
    border-radius: 0 16px 16px 0;
    background: #f5f3ff;
}

.rheemo-review-response > span {
    display: block;
    margin-bottom: 5px;
    color: #503bd2;
    font-size: .77rem;
    font-weight: 900;
    text-transform: uppercase;
}

.rheemo-review-response p {
    margin: 0;
    color: #303a54;
    line-height: 1.58;
}

.rheemo-review-response small {
    display: block;
    margin-top: 7px;
    color: #8a92a6;
}

.rheemo-review-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid #edf0f6;
    color: #7b8499;
    font-size: .82rem;
}

.rheemo-review-card__actions form {
    margin: 0;
}

.rheemo-text-danger,
.rheemo-review-report summary {
    border: 0;
    background: transparent;
    color: #c53757;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.rheemo-review-report {
    position: relative;
}

.rheemo-review-report summary {
    list-style: none;
}

.rheemo-review-report summary::-webkit-details-marker {
    display: none;
}

.rheemo-review-report form {
    display: grid;
    gap: 10px;
    width: min(390px, 80vw);
    margin-top: 10px;
    padding: 14px;
    border: 1px solid #e5e8f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(25, 32, 58, .12);
}

.rheemo-review-response-form {
    display: grid;
    gap: 10px;
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px dashed #dce1ed;
}

.rheemo-review-response-form label {
    display: grid;
    gap: 7px;
    color: #252f49;
    font-weight: 800;
}

.rheemo-review-response-form .rheemo-btn {
    justify-self: end;
}

.rheemo-review-achievements-heading {
    margin-top: 30px;
}

.rheemo-review-legacy-note {
    margin: 0 0 14px;
    padding: 13px 15px;
    border: 1px solid #e1e5f1;
    border-radius: 15px;
    background: #f8f9fc;
    color: #626d84;
    font-size: .88rem;
}

@media (max-width: 820px) {
    .rheemo-review-summary,
    .rheemo-review-list--compact {
        grid-template-columns: 1fr;
    }

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

    .rheemo-review-card__header {
        flex-direction: column;
    }

    .rheemo-review-form__footer,
    .rheemo-review-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .rheemo-review-form__footer .rheemo-btn,
    .rheemo-review-response-form .rheemo-btn {
        width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 520px) {
    .rheemo-review-card,
    .rheemo-review-form-card,
    .rheemo-review-intro {
        border-radius: 20px;
    }

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

    .rheemo-review-card__rating {
        width: 100%;
    }

    .rheemo-review-report form {
        width: 100%;
    }
}


/* =============================================================
   Rheemo Core 0.3.3.1 — Fenêtre de partage social avancée
   ============================================================= */
html.rheemo-share-modal-open,
html.rheemo-share-modal-open body { overflow: hidden !important; }

.rheemo-page-share-modal[hidden] { display: none !important; }
.rheemo-page-share-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 22px;
}
.rheemo-page-share-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(19, 24, 52, .66);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}
.rheemo-page-share-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(760px, calc(100vh - 44px));
    overflow: auto;
    padding: 26px;
    border: 1px solid rgba(221, 225, 243, .95);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(22, 28, 66, .34);
    animation: rheemoShareModalIn .2s ease-out both;
}
@keyframes rheemoShareModalIn {
    from { opacity: 0; transform: translateY(12px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.rheemo-page-share-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
}
.rheemo-page-share-modal__eyebrow {
    display: inline-flex;
    margin-bottom: 5px;
    color: #6646d8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.rheemo-page-share-modal__header h3 {
    margin: 0;
    color: #17213a;
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1.12;
}
.rheemo-page-share-modal__header p {
    margin: 8px 0 0;
    color: #68748a;
    font-size: 14px;
    line-height: 1.55;
}
.rheemo-page-share-modal__close {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #e1e5f0;
    border-radius: 14px;
    color: #536078;
    background: #f8f9fd;
    font: inherit;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    transition: .18s ease;
}
.rheemo-page-share-modal__close:hover,
.rheemo-page-share-modal__close:focus-visible {
    color: #e23f68;
    border-color: #f2c5d1;
    background: #fff1f5;
    outline: none;
}
.rheemo-page-share-modal__networks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.rheemo-page-share-network {
    --network-color: #5d4ddb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 112px;
    padding: 14px 9px;
    border: 1px solid #e2e5f0;
    border-radius: 18px;
    color: #26314c;
    background: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.rheemo-page-share-network:hover,
.rheemo-page-share-network:focus-visible {
    color: #202a43;
    border-color: color-mix(in srgb, var(--network-color) 38%, #dfe3ef);
    background: color-mix(in srgb, var(--network-color) 5%, #fff);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--network-color) 14%, transparent);
    transform: translateY(-2px);
    outline: none;
}
.rheemo-page-share-network__icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    color: #fff;
    background: var(--network-color);
    box-shadow: 0 9px 18px color-mix(in srgb, var(--network-color) 24%, transparent);
}
.rheemo-page-share-network__icon svg { width: 24px; height: 24px; fill: currentColor; }
.rheemo-page-share-network.is-whatsapp { --network-color: #20b966; }
.rheemo-page-share-network.is-facebook { --network-color: #1877f2; }
.rheemo-page-share-network.is-linkedin { --network-color: #0a66c2; }
.rheemo-page-share-network.is-x { --network-color: #111827; }
.rheemo-page-share-network.is-telegram { --network-color: #269ed7; }
.rheemo-page-share-network.is-email { --network-color: #e04d73; }
.rheemo-page-share-network.is-native { --network-color: #7147df; }

.rheemo-page-share-modal__copy {
    margin-top: 20px;
    padding: 17px;
    border: 1px solid #e2e5f1;
    border-radius: 19px;
    background: linear-gradient(135deg, #f8faff, #faf7ff);
}
.rheemo-page-share-modal__copy > label {
    display: block;
    margin-bottom: 9px;
    color: #34415d;
    font-size: 12px;
    font-weight: 850;
}
.rheemo-page-share-modal__copy > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
}
.rheemo-page-share-modal__copy input {
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #dfe3ef;
    border-radius: 14px;
    color: #5a657b;
    background: #fff;
    font: inherit;
    font-size: 13px;
}
.rheemo-page-share-modal__copy button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 116px;
    min-height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #3968ef, #7940e5 62%, #d83da5);
    box-shadow: 0 10px 22px rgba(90, 62, 217, .22);
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    transition: .18s ease;
}
.rheemo-page-share-modal__copy button:hover,
.rheemo-page-share-modal__copy button:focus-visible { transform: translateY(-1px); outline: none; }
.rheemo-page-share-modal__copy button.is-copied { background: linear-gradient(135deg, #15965c, #28b978); }
.rheemo-page-share-modal .rheemo-page-share-feedback {
    display: block;
    min-height: 19px;
    margin-top: 8px;
    color: #207151;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 720px) {
    .rheemo-page-share-modal { align-items: end; padding: 12px; }
    .rheemo-page-share-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 21px 17px 18px;
        border-radius: 24px 24px 18px 18px;
    }
    .rheemo-page-share-modal__networks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
    .rheemo-page-share-network { min-height: 98px; padding: 11px 6px; }
    .rheemo-page-share-network__icon { width: 42px; height: 42px; border-radius: 14px; }
}
@media (max-width: 470px) {
    .rheemo-page-share-modal__header { gap: 12px; }
    .rheemo-page-share-modal__networks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rheemo-page-share-modal__copy > div { grid-template-columns: 1fr; }
    .rheemo-page-share-modal__copy button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .rheemo-page-share-modal__dialog { animation: none; }
    .rheemo-page-share-network,
    .rheemo-page-share-modal__copy button { transition: none; }
}

/* =========================================================
   Rheemo Core 0.3.4 — Administration avancée des Pages
   ========================================================= */
.rheemo-page-team-invite-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 20px 24px;
    border: 1px solid rgba(88, 78, 246, .2);
    background: linear-gradient(110deg, rgba(69, 102, 246, .08), rgba(226, 54, 159, .08));
}
.rheemo-page-team-invite-banner > div:first-child {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.rheemo-page-team-invite-banner > div:first-child > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(45, 54, 116, .09);
    font-size: 22px;
    flex: 0 0 auto;
}
.rheemo-page-team-invite-banner strong { display: block; color: #111a35; font-size: 18px; }
.rheemo-page-team-invite-banner p { margin: 4px 0 0; color: #66718a; }
.rheemo-page-team-invite-banner__actions { display: flex; gap: 10px; flex: 0 0 auto; }

.rheemo-page-admin-intro,
.rheemo-page-team-panel,
.rheemo-page-team-invite-panel,
.rheemo-page-security-panel,
.rheemo-page-activity-panel { padding: 28px; }
.rheemo-page-admin-role-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    color: #4c37db;
    background: #f0edff;
    font-weight: 800;
    white-space: nowrap;
}
.rheemo-page-role-explainer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}
.rheemo-page-role-explainer > div {
    padding: 18px;
    border: 1px solid #e8ebf4;
    border-radius: 18px;
    background: #fbfcff;
}
.rheemo-page-role-explainer strong,
.rheemo-page-role-explainer span { display: block; }
.rheemo-page-role-explainer strong { color: #151d37; margin-bottom: 5px; }
.rheemo-page-role-explainer span { color: #737d93; line-height: 1.5; }

.rheemo-page-team-list { display: grid; gap: 12px; margin-top: 20px; }
.rheemo-page-team-row {
    display: grid;
    grid-template-columns: minmax(230px, .8fr) minmax(0, 1.5fr);
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid #e5e9f2;
    border-radius: 19px;
    background: #fff;
}
.rheemo-page-team-row__person,
.rheemo-page-team-candidate__person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rheemo-page-team-row__person img,
.rheemo-page-team-candidate__person img {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
    flex: 0 0 auto;
}
.rheemo-page-team-row__person div,
.rheemo-page-team-candidate__person div { min-width: 0; }
.rheemo-page-team-row__person strong,
.rheemo-page-team-row__person span,
.rheemo-page-team-candidate__person strong,
.rheemo-page-team-candidate__person small { display: block; }
.rheemo-page-team-row__person strong,
.rheemo-page-team-candidate__person strong { color: #101a35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rheemo-page-team-row__person span,
.rheemo-page-team-candidate__person small { color: #7b859a; margin-top: 3px; }
.rheemo-page-team-row__controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}
.rheemo-page-team-row__controls select {
    min-width: 160px;
    min-height: 44px;
    border: 1px solid #dfe4ef;
    border-radius: 13px;
    padding: 0 38px 0 13px;
    background: #f8f9fd;
    color: #202a43;
    font-weight: 700;
}
.rheemo-page-team-owner,
.rheemo-page-team-protected {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    font-weight: 800;
}
.rheemo-page-team-owner { color: #8a5d00; background: #fff5cd; }
.rheemo-page-team-protected { color: #68738a; background: #f3f5f9; }

.rheemo-page-team-searchbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(160px, .34fr) auto;
    gap: 12px;
    margin-top: 20px;
}
.rheemo-page-team-searchbar input,
.rheemo-page-team-searchbar select {
    width: 100%;
    min-height: 50px;
    border: 1px solid #dfe4ef;
    border-radius: 15px;
    padding: 0 16px;
    background: #f9faff;
    color: #1c2540;
}
.rheemo-page-team-search-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.rheemo-page-team-search-results > p { grid-column: 1 / -1; margin: 0; padding: 16px; border-radius: 14px; background: #f7f8fc; color: #727c91; }
.rheemo-page-team-search-results > p.is-error { color: #b4233d; background: #fff0f3; }
.rheemo-page-team-candidate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e3e7f0;
    border-radius: 17px;
    background: #fff;
}
.rheemo-page-team-candidate__state {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    color: #6556c9;
    background: #f0edff;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}
.rheemo-page-team-pending { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e8ebf2; }
.rheemo-page-team-pending h4 { margin: 0 0 12px; color: #151d37; }
.rheemo-page-team-pending > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f5;
}
.rheemo-page-team-pending > div > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rheemo-page-team-pending img { width: 42px; height: 42px; border-radius: 13px; object-fit: cover; }
.rheemo-page-team-pending b,
.rheemo-page-team-pending small { display: block; }
.rheemo-page-team-pending small { color: #7a8497; margin-left: 5px; }

.rheemo-page-security-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}
.rheemo-page-security-grid > div {
    padding: 20px;
    border-radius: 19px;
    background: linear-gradient(145deg, #f7f8ff, #fff7fb);
    border: 1px solid #ebeaf7;
}
.rheemo-page-security-grid span { display: block; font-size: 25px; margin-bottom: 12px; }
.rheemo-page-security-grid strong { display: block; color: #151d37; }
.rheemo-page-security-grid p { margin: 7px 0 0; color: #727c91; line-height: 1.55; }

.rheemo-page-activity-list { display: grid; margin-top: 18px; }
.rheemo-page-activity-list > div {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #ebedf3;
}
.rheemo-page-activity-list img { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; }
.rheemo-page-activity-list p { margin: 0; color: #4f5a73; }
.rheemo-page-activity-list p strong { color: #151d37; }
.rheemo-page-activity-list time { color: #8a93a6; font-size: 13px; white-space: nowrap; }

@media (max-width: 980px) {
    .rheemo-page-role-explainer,
    .rheemo-page-security-grid { grid-template-columns: 1fr; }
    .rheemo-page-team-row { grid-template-columns: 1fr; }
    .rheemo-page-team-row__controls,
    .rheemo-page-team-owner,
    .rheemo-page-team-protected { justify-self: stretch; justify-content: flex-start; }
    .rheemo-page-team-search-results { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .rheemo-page-team-invite-banner { align-items: stretch; flex-direction: column; }
    .rheemo-page-team-invite-banner__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .rheemo-page-admin-intro,
    .rheemo-page-team-panel,
    .rheemo-page-team-invite-panel,
    .rheemo-page-security-panel,
    .rheemo-page-activity-panel { padding: 20px 16px; }
    .rheemo-page-team-searchbar { grid-template-columns: 1fr; }
    .rheemo-page-team-searchbar .rheemo-btn { width: 100%; }
    .rheemo-page-team-row__controls { display: grid; grid-template-columns: 1fr; }
    .rheemo-page-team-row__controls select,
    .rheemo-page-team-row__controls .rheemo-btn { width: 100%; }
    .rheemo-page-team-candidate { align-items: stretch; flex-direction: column; }
    .rheemo-page-team-candidate .rheemo-btn,
    .rheemo-page-team-candidate__state { width: 100%; justify-content: center; }
    .rheemo-page-team-pending > div { align-items: stretch; flex-direction: column; }
    .rheemo-page-team-pending .rheemo-btn { width: 100%; }
    .rheemo-page-activity-list > div { grid-template-columns: 40px minmax(0, 1fr); }
    .rheemo-page-activity-list time { grid-column: 2; }
}

/* =========================================================
   Rheemo Core 0.3.5 — Audience avancée des Pages
   ========================================================= */
.rheemo-page-audience--advanced,
.rheemo-audience-demographics,
.rheemo-audience-privacy-note {
    overflow: hidden;
}
.rheemo-audience-builder {
    position: relative;
    z-index: 5;
    overflow: visible;
}
.rheemo-audience-builder .rheemo-smart-select__menu {
    z-index: 250;
}

.rheemo-audience-heading {
    align-items: flex-start;
}

.rheemo-audience-period {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 5px;
    margin: 20px 0 2px;
    border: 1px solid #e4e7f0;
    border-radius: 999px;
    background: #f7f8fc;
}
.rheemo-audience-period a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    color: #667089;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: .2s ease;
}
.rheemo-audience-period a:hover,
.rheemo-audience-period a.is-active {
    color: #fff;
    background: linear-gradient(135deg, #8d3bff, #e0308f);
    box-shadow: 0 8px 20px rgba(141, 59, 255, .18);
}

.rheemo-audience-status {
    margin-top: 16px;
    padding: 13px 16px;
    border: 1px solid #ccebdc;
    border-radius: 14px;
    color: #17744a;
    background: #effbf5;
    font-weight: 750;
}
.rheemo-audience-status.is-error {
    color: #a92843;
    border-color: #ffd0da;
    background: #fff1f4;
}

.rheemo-audience-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}
.rheemo-audience-metric {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 18px;
    border: 1px solid #e8e9f2;
    border-radius: 20px;
    background: linear-gradient(145deg, #fff, #faf9ff);
    box-shadow: 0 10px 30px rgba(41, 34, 89, .045);
}
.rheemo-audience-metric > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(145deg, #f0ebff, #fff0f8);
    font-size: 23px;
}
.rheemo-audience-metric div {
    min-width: 0;
}
.rheemo-audience-metric strong,
.rheemo-audience-metric b,
.rheemo-audience-metric small {
    display: block;
}
.rheemo-audience-metric strong {
    color: #151b38;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1;
}
.rheemo-audience-metric b {
    margin-top: 6px;
    color: #3f4962;
    font-size: 14px;
}
.rheemo-audience-metric small {
    margin-top: 4px;
    color: #8790a4;
    line-height: 1.35;
}

.rheemo-audience-grid {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}
.rheemo-audience-grid--chart {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr);
}
.rheemo-audience-chart-card,
.rheemo-audience-top-content,
.rheemo-audience-segment-card {
    border: 1px solid #e6e8f1;
    border-radius: 22px;
    background: #fff;
}
.rheemo-audience-chart-card,
.rheemo-audience-top-content {
    padding: 20px;
}
.rheemo-audience-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.rheemo-audience-card-heading h4 {
    margin: 0;
    color: #171e39;
    font-size: 18px;
}
.rheemo-audience-card-heading p {
    margin: 6px 0 0;
    color: #7c8599;
    line-height: 1.5;
}
.rheemo-audience-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}
.rheemo-audience-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #69738a;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}
.rheemo-audience-legend span::before {
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: #8a55ff;
    content: '';
}
.rheemo-audience-legend .is-interactions::before { background: #ed4a9a; }
.rheemo-audience-legend .is-followers::before { background: #22b786; }

.rheemo-audience-chart {
    display: flex;
    align-items: stretch;
    gap: 4px;
    min-height: 250px;
    margin-top: 22px;
    padding: 14px 10px 0;
    border-bottom: 1px solid #e9ebf2;
    background-image: linear-gradient(to bottom, rgba(225, 228, 239, .65) 1px, transparent 1px);
    background-size: 100% 25%;
    overflow-x: auto;
    scrollbar-width: thin;
}
.rheemo-audience-chart__day {
    display: flex;
    flex: 1 0 18px;
    min-width: 18px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
}
.rheemo-audience-chart__bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    width: 100%;
    height: 205px;
}
.rheemo-audience-chart__bars i {
    display: block;
    width: 28%;
    min-height: 2px;
    max-width: 8px;
    border-radius: 6px 6px 2px 2px;
    background: #8a55ff;
}
.rheemo-audience-chart__bars .is-interactions { background: #ed4a9a; }
.rheemo-audience-chart__bars .is-followers { background: #22b786; }
.rheemo-audience-chart__day > span {
    color: #939bad;
    font-size: 9px;
    transform: rotate(-48deg);
    transform-origin: center;
    white-space: nowrap;
}
.rheemo-audience-measure-note {
    margin: 18px 0 0;
    padding: 12px 14px;
    border-radius: 13px;
    color: #6d7690;
    background: #f6f7fb;
    font-size: 12px;
    line-height: 1.5;
}

.rheemo-audience-top-list {
    display: grid;
    gap: 0;
    margin-top: 15px;
}
.rheemo-audience-top-list > div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid #eef0f5;
}
.rheemo-audience-top-list > div:last-child { border-bottom: 0; }
.rheemo-audience-top-list > div > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 11px;
    color: #7451cf;
    background: #f1edff;
    font-weight: 900;
}
.rheemo-audience-top-list p,
.rheemo-audience-top-list strong,
.rheemo-audience-top-list small {
    display: block;
    min-width: 0;
}
.rheemo-audience-top-list p { margin: 0; }
.rheemo-audience-top-list strong {
    color: #303951;
    line-height: 1.4;
}
.rheemo-audience-top-list small {
    margin-top: 4px;
    color: #8a93a6;
}

.rheemo-audience-segment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}
.rheemo-audience-segment-card {
    padding: 19px;
}
.rheemo-audience-segment-card h4 {
    margin: 0 0 14px;
    color: #202743;
}
.rheemo-audience-segment-card > p {
    margin: 0;
    color: #8790a4;
}
.rheemo-audience-segment-list {
    display: grid;
    gap: 12px;
}
.rheemo-audience-segment-list > div > span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.rheemo-audience-segment-list b {
    min-width: 0;
    color: #4b556c;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rheemo-audience-segment-list em {
    color: #7e879b;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}
.rheemo-audience-segment-list i {
    display: block;
    height: 7px;
    border-radius: 999px;
    background: #eff0f5;
    overflow: hidden;
}
.rheemo-audience-segment-list u {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8b4df2, #ec3f96);
    text-decoration: none;
}
.rheemo-audience-data-quality {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 15px;
}
.rheemo-audience-data-quality > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 17px;
    border-radius: 17px;
    background: #f7f8fc;
}
.rheemo-audience-data-quality strong {
    color: #743bd4;
    font-size: 22px;
}
.rheemo-audience-data-quality span {
    color: #69738a;
    font-size: 13px;
    line-height: 1.4;
}

.rheemo-audience-segment-form {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #e7e8f1;
    border-radius: 22px;
    background: linear-gradient(145deg, #fbfbff, #fff8fc);
}
.rheemo-audience-segment-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}
.rheemo-audience-segment-form__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}
.rheemo-audience-segment-form__actions p {
    max-width: 480px;
    margin: 0;
    color: #7c8599;
    font-size: 12px;
    line-height: 1.5;
}
.rheemo-audience-saved-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}
.rheemo-audience-saved-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid #e5e7f0;
    border-radius: 20px;
    background: #fff;
}
.rheemo-audience-saved-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    border-radius: 13px;
    background: #f1edff;
}
.rheemo-audience-saved-card h4 {
    margin: 0;
    color: #202743;
}
.rheemo-audience-saved-card p {
    margin: 6px 0;
    color: #69738a;
    line-height: 1.45;
}
.rheemo-audience-saved-card small {
    color: #9a6b00;
    font-weight: 750;
}
.rheemo-audience-saved-card__estimate {
    min-width: 100px;
    padding: 12px;
    border-radius: 16px;
    text-align: center;
    background: #f8f7ff;
}
.rheemo-audience-saved-card__estimate strong,
.rheemo-audience-saved-card__estimate span {
    display: block;
}
.rheemo-audience-saved-card__estimate strong {
    color: #713bd2;
    font-size: 22px;
}
.rheemo-audience-saved-card__estimate span {
    margin-top: 3px;
    color: #7d869a;
    font-size: 11px;
}
.rheemo-audience-saved-card form {
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top: 1px solid #eff0f5;
}
.rheemo-audience-saved-card form .rheemo-btn {
    min-height: 38px;
}

.rheemo-audience-privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border-color: #dcefe7;
    background: linear-gradient(145deg, #f2fbf7, #fbfffd);
}
.rheemo-audience-privacy-note > span {
    font-size: 28px;
}
.rheemo-audience-privacy-note h3 {
    margin: 0;
    color: #15593f;
}
.rheemo-audience-privacy-note p {
    margin: 6px 0 0;
    color: #527566;
    line-height: 1.6;
}

@media (max-width: 1080px) {
    .rheemo-audience-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rheemo-audience-grid--chart { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .rheemo-page-audience--advanced,
    .rheemo-audience-demographics,
    .rheemo-audience-builder { padding: 20px 15px; }
    .rheemo-audience-period { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 16px; }
    .rheemo-audience-period a { padding: 0 8px; }
    .rheemo-audience-metrics-grid,
    .rheemo-audience-segment-grid,
    .rheemo-audience-data-quality,
    .rheemo-audience-segment-form__grid,
    .rheemo-audience-saved-grid { grid-template-columns: 1fr; }
    .rheemo-audience-card-heading { flex-direction: column; }
    .rheemo-audience-legend { justify-content: flex-start; }
    .rheemo-audience-chart { min-height: 225px; padding-inline: 3px; }
    .rheemo-audience-chart__bars { height: 180px; }
    .rheemo-audience-segment-form { padding: 16px; }
    .rheemo-audience-segment-form__actions { align-items: stretch; flex-direction: column; }
    .rheemo-audience-segment-form__actions .rheemo-btn { width: 100%; }
    .rheemo-audience-saved-card { grid-template-columns: 1fr; }
    .rheemo-audience-saved-card__estimate { text-align: left; }
    .rheemo-audience-privacy-note { padding: 18px 15px; }
}

@media (max-width: 460px) {
    .rheemo-audience-metrics-grid { grid-template-columns: 1fr; }
    .rheemo-audience-metric { padding: 15px; }
    .rheemo-audience-chart-card,
    .rheemo-audience-top-content { padding: 16px; }
}

/* === Rheemo Core 0.3.6 — Promouvoir et campagnes ciblées === */
.rheemo-page-promote-button {
    color: #fff !important;
    border: 0 !important;
    background: linear-gradient(135deg, #315cf4, #7b3df0 58%, #df3ba3) !important;
    box-shadow: 0 14px 30px rgba(91, 63, 224, .2);
}
.rheemo-page-promote-button:hover { transform: translateY(-1px); box-shadow: 0 17px 34px rgba(91, 63, 224, .27); }
.rheemo-promote-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
    border-color: #d7cdfd;
    background: linear-gradient(145deg, #fbfaff, #f5f1ff);
}
.rheemo-promote-intro h3 { margin: 5px 0 8px; color: #171e38; font-size: clamp(24px, 3vw, 34px); }
.rheemo-promote-intro p { max-width: 760px; margin: 0; color: #68728a; line-height: 1.6; }
.rheemo-promote-badge { flex: 0 0 auto; padding: 9px 13px; border-radius: 999px; color: #6d35d8; background: #eee8ff; font-size: 12px; font-weight: 850; }
.rheemo-campaign-builder, .rheemo-campaign-list-panel { padding: 26px; }
.rheemo-campaign-form { margin-top: 22px; }
.rheemo-campaign-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rheemo-campaign-form__notice { display: flex; gap: 13px; align-items: flex-start; margin-top: 20px; padding: 16px; border: 1px solid #d8ece3; border-radius: 17px; background: #f2fbf7; color: #416d5c; }
.rheemo-campaign-form__notice span { font-size: 24px; }
.rheemo-campaign-form__notice p { margin: 0; line-height: 1.55; }
.rheemo-campaign-form__actions { display: flex; align-items: center; gap: 18px; justify-content: space-between; margin-top: 20px; }
.rheemo-campaign-form__actions p { margin: 0; color: #7b8497; font-size: 13px; }
.rheemo-campaign-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.rheemo-campaign-card { padding: 19px; border: 1px solid #e4e5ee; border-radius: 21px; background: #fff; box-shadow: 0 10px 26px rgba(27, 35, 64, .05); }
.rheemo-campaign-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.rheemo-campaign-card__top span { display: block; color: #6d3dda; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.rheemo-campaign-card__top h4 { margin: 5px 0 0; color: #1f2741; font-size: 20px; }
.rheemo-campaign-card__top b { padding: 7px 10px; border-radius: 999px; color: #735f1c; background: #fff5d2; font-size: 11px; white-space: nowrap; }
.rheemo-campaign-card.is-active .rheemo-campaign-card__top b { color: #10653f; background: #e5f8ef; }
.rheemo-campaign-card.is-rejected .rheemo-campaign-card__top b,
.rheemo-campaign-card.is-cancelled .rheemo-campaign-card__top b { color: #a52c47; background: #ffedf1; }
.rheemo-campaign-card__metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 17px 0; }
.rheemo-campaign-card__metrics div { padding: 12px 8px; border-radius: 14px; background: #f7f7fb; text-align: center; }
.rheemo-campaign-card__metrics strong, .rheemo-campaign-card__metrics span { display: block; }
.rheemo-campaign-card__metrics strong { color: #1d2541; font-size: 18px; }
.rheemo-campaign-card__metrics span { margin-top: 3px; color: #81899a; font-size: 10px; }
.rheemo-campaign-card > p { color: #6d768c; font-size: 13px; }
.rheemo-campaign-card__note { margin: 12px 0; padding: 12px; border-radius: 13px; color: #665520; background: #fff8df; font-size: 13px; }
.rheemo-sponsored-card { overflow: hidden; margin-bottom: 20px; border: 1px solid #d9d0fa; box-shadow: 0 16px 44px rgba(61, 50, 130, .11); }
.rheemo-sponsored-card__header { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 18px; }
.rheemo-sponsored-card__header img { width: 48px; height: 48px; border-radius: 15px; object-fit: cover; }
.rheemo-sponsored-card__header strong, .rheemo-sponsored-card__header span { display: block; }
.rheemo-sponsored-card__header strong { color: #18203b; }
.rheemo-sponsored-card__header span { margin-top: 3px; color: #7c8598; font-size: 12px; }
.rheemo-sponsored-card__header span b { color: #6b3adc; }
.rheemo-sponsored-card__label { padding: 7px 10px; border-radius: 999px; color: #6e35dc !important; background: #eee8ff; font-size: 10px !important; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.rheemo-sponsored-card__media { display: block; overflow: hidden; max-height: 460px; background: #f3f4f8; }
.rheemo-sponsored-card__media img { display: block; width: 100%; max-height: 460px; object-fit: cover; transition: transform .25s ease; }
.rheemo-sponsored-card__media:hover img { transform: scale(1.012); }
.rheemo-sponsored-card__body { padding: 20px 20px 10px; }
.rheemo-sponsored-card__body h3 { margin: 0 0 8px; color: #161e39; font-size: 24px; }
.rheemo-sponsored-card__body p { margin: 0; color: #626d83; line-height: 1.6; }
.rheemo-sponsored-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px 20px; }
.rheemo-sponsored-card__footer small, .rheemo-sponsored-card__footer span { display: block; }
.rheemo-sponsored-card__footer small { color: #9a6a14; font-weight: 800; }
.rheemo-sponsored-card__footer span { margin-top: 3px; color: #7c8598; font-size: 12px; }
@media (max-width: 900px) {
    .rheemo-campaign-grid { grid-template-columns: 1fr; }
    .rheemo-campaign-card__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .rheemo-promote-intro { flex-direction: column; padding: 21px 16px; }
    .rheemo-campaign-builder, .rheemo-campaign-list-panel { padding: 20px 15px; }
    .rheemo-campaign-form__grid { grid-template-columns: 1fr; }
    .rheemo-campaign-form__actions { flex-direction: column; align-items: stretch; }
    .rheemo-campaign-form__actions .rheemo-btn { width: 100%; }
    .rheemo-sponsored-card__footer { flex-direction: column; align-items: stretch; }
    .rheemo-sponsored-card__footer .rheemo-btn { width: 100%; }
}
@media (max-width: 460px) {
    .rheemo-sponsored-card__header { grid-template-columns: 44px minmax(0, 1fr); }
    .rheemo-sponsored-card__label { grid-column: 1 / -1; justify-self: start; }
    .rheemo-campaign-card__metrics { grid-template-columns: 1fr 1fr; }
}

/* Rheemo Core 0.3.6.2 — Assistant de campagne intelligent */
.rheemo-promote-intro--smart { align-items: center; }
.rheemo-campaign-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.rheemo-campaign-pillars article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: flex-start; padding: 17px; border: 1px solid #e1e3f1; border-radius: 19px; background: linear-gradient(145deg, #fff, #faf9ff); box-shadow: 0 8px 24px rgba(33, 41, 78, .045); }
.rheemo-campaign-pillars article > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #3566f2, #7b3ff2 58%, #dc3eab); font-size: 12px; font-weight: 900; }
.rheemo-campaign-pillars b { display: block; color: #17203d; font-size: 15px; }
.rheemo-campaign-pillars p { margin: 5px 0 0; color: #6d768d; font-size: 12px; line-height: 1.5; }
.rheemo-campaign-builder--smart { padding: 28px; }
.rheemo-campaign-form--smart { display: grid; gap: 18px; margin-top: 22px; }
.rheemo-campaign-step { padding: 22px; border: 1px solid #e2e4f0; border-radius: 23px; background: #fff; box-shadow: 0 12px 32px rgba(35, 43, 82, .045); }
.rheemo-campaign-step__head { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; align-items: center; margin-bottom: 18px; }
.rheemo-campaign-step__head > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #3566f2, #7740ef); font-size: 15px; font-weight: 900; }
.rheemo-campaign-step__head h4 { margin: 0; color: #18203b; font-size: 21px; line-height: 1.2; }
.rheemo-campaign-step__head p { margin: 5px 0 0; color: #727b90; font-size: 13px; line-height: 1.5; }
.rheemo-campaign-objectives { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.rheemo-campaign-objective { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 13px; align-items: center; min-height: 104px; padding: 17px; border: 1px solid #dfe2ef; border-radius: 19px; background: #fbfbfe; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease; }
.rheemo-campaign-objective:hover { transform: translateY(-1px); border-color: #b9b5f3; box-shadow: 0 10px 24px rgba(73, 59, 170, .08); }
.rheemo-campaign-objective.is-selected { border-color: #6c51ee; background: linear-gradient(135deg, #f4f6ff, #fff5fb); box-shadow: 0 12px 30px rgba(89, 64, 207, .12); }
.rheemo-campaign-objective.is-selected::after { content: "✓"; position: absolute; top: 11px; right: 12px; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #4667ee, #ce3daf); font-size: 12px; font-weight: 900; }
.rheemo-campaign-objective input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rheemo-campaign-objective__icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(41, 50, 93, .08); font-size: 25px; }
.rheemo-campaign-objective b, .rheemo-campaign-objective small { display: block; }
.rheemo-campaign-objective b { padding-right: 25px; color: #17203b; font-size: 15px; }
.rheemo-campaign-objective small { margin-top: 6px; color: #727b90; font-size: 12px; line-height: 1.45; }
.rheemo-campaign-form__grid--creative { align-items: stretch; }
.rheemo-campaign-fixed-content { display: flex; flex-direction: column; justify-content: center; min-height: 104px; padding: 17px; border: 1px dashed #bbb7e8; border-radius: 17px; background: linear-gradient(135deg, #f7f6ff, #fff8fc); }
.rheemo-campaign-fixed-content > span { color: #6a46de; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.rheemo-campaign-fixed-content strong { margin-top: 7px; color: #17203b; font-size: 17px; }
.rheemo-campaign-fixed-content p { margin: 6px 0 0; color: #727b90; font-size: 12px; line-height: 1.5; }
.rheemo-campaign-name-field small { font-weight: 600; color: #8d95a7; }
.rheemo-campaign-creative-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 15px; }
.rheemo-campaign-creative-summary > div, .rheemo-campaign-live-metrics > div { padding: 13px 15px; border-radius: 15px; background: #f6f7fb; }
.rheemo-campaign-creative-summary span, .rheemo-campaign-creative-summary strong, .rheemo-campaign-live-metrics span, .rheemo-campaign-live-metrics strong { display: block; }
.rheemo-campaign-creative-summary span, .rheemo-campaign-live-metrics span { color: #8b93a5; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.rheemo-campaign-creative-summary strong, .rheemo-campaign-live-metrics strong { overflow-wrap: anywhere; margin-top: 5px; color: #202945; font-size: 14px; }
.rheemo-campaign-audience-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 16px; align-items: stretch; }
.rheemo-campaign-audience-summary { padding: 17px; border: 1px solid #dedcf5; border-radius: 18px; background: linear-gradient(135deg, #f4f6ff, #fff6fb); }
.rheemo-campaign-audience-summary > span { display: block; color: #7651df; font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.rheemo-campaign-audience-summary strong { display: block; margin-top: 7px; color: #18203b; font-size: 17px; }
.rheemo-campaign-audience-summary p { min-height: 38px; margin: 7px 0 12px; color: #6d768d; font-size: 12px; line-height: 1.5; }
.rheemo-campaign-audience-summary b { display: inline-flex; padding: 7px 10px; border-radius: 999px; color: #5b3dcc; background: #ece8ff; font-size: 11px; }
.rheemo-campaign-behavior-note { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 15px; padding: 15px; border: 1px solid #dbe9f5; border-radius: 17px; background: #f4f9fd; }
.rheemo-campaign-behavior-note > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: #fff; font-size: 21px; }
.rheemo-campaign-behavior-note b { display: block; color: #24324f; font-size: 13px; }
.rheemo-campaign-behavior-note p { margin: 4px 0 0; color: #64728a; font-size: 12px; line-height: 1.5; }
.rheemo-campaign-pacing { display: flex; flex-direction: column; justify-content: center; padding: 15px; border: 1px solid #e0e3ee; border-radius: 16px; background: #fafaff; }
.rheemo-campaign-pacing span, .rheemo-campaign-pacing strong, .rheemo-campaign-pacing small { display: block; }
.rheemo-campaign-pacing span { color: #8b93a5; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.rheemo-campaign-pacing strong { margin-top: 5px; color: #633fd9; font-size: 18px; }
.rheemo-campaign-pacing small { margin-top: 5px; color: #757e91; line-height: 1.4; }
.rheemo-campaign-live-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 15px; }
.rheemo-campaign-review { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 15px; align-items: stretch; }
.rheemo-campaign-review__preview { padding: 19px; border: 1px solid #dadcf0; border-radius: 20px; background: linear-gradient(145deg, #252d54, #5339c7 62%, #b936a1); color: #fff; }
.rheemo-campaign-review__preview .rheemo-native-panel__eyebrow { color: #d9d4ff; }
.rheemo-campaign-review__preview h4 { margin: 8px 0 6px; color: #fff; font-size: 22px; }
.rheemo-campaign-review__preview p { margin: 0; color: #eeecff; line-height: 1.55; }
.rheemo-campaign-review__preview ul { display: grid; gap: 6px; margin: 14px 0 0; padding-left: 18px; color: #e5e2ff; font-size: 12px; }
.rheemo-campaign-review .rheemo-campaign-form__notice { height: 100%; margin: 0; }
.rheemo-campaign-form--smart .rheemo-campaign-form__actions { margin-top: 0; padding-top: 4px; }
.rheemo-campaign-form--smart [hidden] { display: none !important; }
@media (max-width: 1000px) {
    .rheemo-campaign-pillars { grid-template-columns: 1fr; }
    .rheemo-campaign-audience-layout, .rheemo-campaign-review { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .rheemo-campaign-builder--smart { padding: 18px 13px; }
    .rheemo-campaign-step { padding: 17px 13px; border-radius: 19px; }
    .rheemo-campaign-objectives { grid-template-columns: 1fr; }
    .rheemo-campaign-creative-summary, .rheemo-campaign-live-metrics { grid-template-columns: 1fr; }
    .rheemo-campaign-step__head { grid-template-columns: 38px minmax(0, 1fr); }
    .rheemo-campaign-step__head > span { width: 38px; height: 38px; }
}
@media (max-width: 460px) {
    .rheemo-campaign-objective { grid-template-columns: 44px minmax(0, 1fr); min-height: 96px; padding: 14px; }
    .rheemo-campaign-objective__icon { width: 44px; height: 44px; font-size: 21px; }
    .rheemo-campaign-pillars article { grid-template-columns: 36px minmax(0, 1fr); padding: 14px; }
    .rheemo-campaign-pillars article > span { width: 36px; height: 36px; }
}


/* Rheemo Core 0.3.6.2 — Organisation visuelle de l’assistant Promouvoir */
.rheemo-campaign-form--smart .rheemo-profile-form-field {
    min-width: 0;
    align-content: start;
}
.rheemo-campaign-form--smart .rheemo-profile-form-field > span {
    min-height: 18px;
    line-height: 1.35;
}
.rheemo-campaign-form--smart .rheemo-profile-form-field small {
    justify-self: start;
    max-width: 100%;
    margin-top: 2px;
    line-height: 1.45;
    text-align: left;
}
.rheemo-campaign-form__grid--creative {
    grid-template-columns: minmax(280px, .92fr) minmax(340px, 1.08fr);
    gap: 20px;
}
.rheemo-campaign-form__grid--creative > * {
    min-width: 0;
}
.rheemo-campaign-form__grid--creative .rheemo-campaign-fixed-content,
.rheemo-campaign-form__grid--creative .rheemo-campaign-content-field,
.rheemo-campaign-form__grid--creative .rheemo-campaign-url-field {
    min-height: 132px;
}
.rheemo-campaign-form__grid--creative .rheemo-campaign-content-field select,
.rheemo-campaign-form__grid--creative .rheemo-campaign-url-field input {
    min-height: 56px;
}
.rheemo-campaign-form__grid--creative .rheemo-campaign-name-field {
    grid-column: 1 / -1;
    max-width: none;
}
.rheemo-campaign-form__grid--creative .rheemo-campaign-name-field input {
    min-height: 54px;
}
.rheemo-campaign-creative-summary {
    gap: 12px;
}
.rheemo-campaign-creative-summary > div,
.rheemo-campaign-live-metrics > div {
    min-height: 76px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.rheemo-campaign-audience-layout {
    grid-template-columns: minmax(360px, 1.35fr) minmax(300px, .65fr);
    gap: 20px;
    align-items: stretch;
}
.rheemo-campaign-audience-layout > .rheemo-profile-form-field {
    align-self: center;
}
.rheemo-campaign-audience-summary {
    display: flex;
    min-height: 160px;
    flex-direction: column;
    justify-content: center;
}
.rheemo-campaign-audience-summary p {
    min-height: 0;
}
.rheemo-campaign-budget-layout {
    display: grid;
    gap: 16px;
}
.rheemo-campaign-budget-main {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: 16px;
    align-items: stretch;
}
.rheemo-campaign-budget-field,
.rheemo-campaign-pacing {
    min-height: 126px;
}
.rheemo-campaign-budget-field {
    padding: 16px;
    border: 1px solid #e2e4f0;
    border-radius: 18px;
    background: #fbfbfe;
}
.rheemo-campaign-budget-field input {
    min-height: 56px !important;
    background: #fff !important;
}
.rheemo-campaign-pacing {
    padding: 18px 20px;
    border-color: #dcd9f5;
    background: linear-gradient(135deg, #f7f7ff, #fff8fc);
}
.rheemo-campaign-period-panel {
    padding: 17px;
    border: 1px solid #e2e4f0;
    border-radius: 19px;
    background: #fff;
}
.rheemo-campaign-period-panel__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.rheemo-campaign-period-panel__heading span {
    color: #24304d;
    font-size: 13px;
    font-weight: 900;
}
.rheemo-campaign-period-panel__heading small {
    color: #858da0;
    font-size: 10px;
    line-height: 1.4;
    text-align: right;
}
.rheemo-campaign-period-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.rheemo-campaign-period-fields input {
    min-height: 56px !important;
    background: #f9faff !important;
}
.rheemo-campaign-live-metrics {
    gap: 12px;
}
.rheemo-campaign-review {
    gap: 18px;
}
.rheemo-campaign-form--smart .rheemo-campaign-form__actions {
    padding: 16px 18px;
    border: 1px solid #e2e4f0;
    border-radius: 18px;
    background: #fafaff;
}
.rheemo-campaign-form--smart .rheemo-campaign-form__actions p {
    max-width: 560px;
    line-height: 1.5;
    text-align: right;
}
@media (max-width: 1080px) {
    .rheemo-campaign-form__grid--creative,
    .rheemo-campaign-audience-layout,
    .rheemo-campaign-budget-main {
        grid-template-columns: 1fr;
    }
    .rheemo-campaign-form__grid--creative .rheemo-campaign-name-field {
        grid-column: auto;
    }
    .rheemo-campaign-form__grid--creative .rheemo-campaign-fixed-content,
    .rheemo-campaign-form__grid--creative .rheemo-campaign-content-field,
    .rheemo-campaign-form__grid--creative .rheemo-campaign-url-field,
    .rheemo-campaign-budget-field,
    .rheemo-campaign-pacing {
        min-height: 0;
    }
    .rheemo-campaign-audience-summary {
        min-height: 0;
    }
}
@media (max-width: 700px) {
    .rheemo-campaign-step {
        overflow: hidden;
    }
    .rheemo-campaign-period-fields {
        grid-template-columns: 1fr;
    }
    .rheemo-campaign-period-panel__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
    .rheemo-campaign-period-panel__heading small {
        text-align: left;
    }
    .rheemo-campaign-form--smart .rheemo-campaign-form__actions {
        padding: 14px;
    }
    .rheemo-campaign-form--smart .rheemo-campaign-form__actions p {
        text-align: left;
    }
}
@media (max-width: 460px) {
    .rheemo-campaign-step__head h4 {
        font-size: 18px;
    }
    .rheemo-campaign-step__head p {
        font-size: 12px;
    }
    .rheemo-campaign-budget-field,
    .rheemo-campaign-pacing,
    .rheemo-campaign-period-panel {
        padding: 13px;
        border-radius: 16px;
    }
}

/* =========================================================
   Rheemo Core 0.3.7.1 — Portefeuille publicitaire et parrainage
   ========================================================= */
.rheemo-nav-badge--credits{
  min-width:30px;
  padding-inline:7px;
  font-size:11px;
  line-height:1;
}

.rheemo-wallet-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-bottom:18px;
}
.rheemo-wallet-balance{
  padding:20px;
  display:grid;
  gap:5px;
  min-height:130px;
  align-content:center;
  position:relative;
  overflow:hidden;
}
.rheemo-wallet-balance::after{
  content:"";
  position:absolute;
  inset:auto -24px -34px auto;
  width:110px;
  height:110px;
  border-radius:50%;
  background:rgba(92,79,255,.07);
}
.rheemo-wallet-balance span{
  color:#6c7690;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.rheemo-wallet-balance strong{
  color:#111a34;
  font-size:clamp(25px,3vw,34px);
  line-height:1.05;
}
.rheemo-wallet-balance small{color:#778199;font-weight:600}
.rheemo-wallet-balance.is-available{border-color:#b9ebd2;background:linear-gradient(145deg,#fff,#f2fff8)}
.rheemo-wallet-balance.is-pending{border-color:#e1d7ff;background:linear-gradient(145deg,#fff,#f8f5ff)}
.rheemo-wallet-balance.is-used{border-color:#dbe3f3;background:linear-gradient(145deg,#fff,#f6f8fc)}

.rheemo-wallet-earn{
  display:grid;
  gap:18px;
  margin-bottom:18px;
  scroll-margin-top:110px;
}
.rheemo-wallet-earn__intro h3{margin:5px 0 8px;font-size:clamp(22px,2.6vw,30px)}
.rheemo-wallet-earn__intro p{margin:0;color:#68738b;max-width:820px}
.rheemo-wallet-share{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.rheemo-wallet-share a,
.rheemo-wallet-share button{
  min-height:48px;
  border:1px solid #dce3f1;
  border-radius:14px;
  background:#fff;
  color:#25314d;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  text-decoration:none;
  cursor:pointer;
  transition:.2s ease;
}
.rheemo-wallet-share a:hover,
.rheemo-wallet-share button:hover{transform:translateY(-1px);border-color:#8f73ff;box-shadow:0 10px 24px rgba(76,65,190,.10)}
.rheemo-wallet-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.rheemo-wallet-limit{
  display:grid;
  grid-template-columns:minmax(180px,.7fr) minmax(220px,1fr) auto;
  align-items:center;
  gap:14px;
  padding:15px 16px;
  border:1px solid #e0e5f2;
  border-radius:16px;
  background:#f8f9fd;
}
.rheemo-wallet-limit>div:first-child{display:grid;gap:3px}
.rheemo-wallet-limit span,.rheemo-wallet-limit small{color:#69748c}
.rheemo-wallet-limit__bar{height:10px;background:#e8eaf5;border-radius:999px;overflow:hidden}
.rheemo-wallet-limit__bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4867f5,#7d35ef,#e8399d)}

.rheemo-wallet-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-bottom:18px;
}
.rheemo-wallet-list{display:grid;gap:0}
.rheemo-wallet-list article{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:13px 0;
  border-bottom:1px solid #edf0f6;
}
.rheemo-wallet-list article:last-child{border-bottom:0}
.rheemo-wallet-list article>div{display:flex;align-items:center;gap:10px;min-width:0}
.rheemo-wallet-list img,.rheemo-wallet-avatar,.rheemo-wallet-ledger-icon{
  width:44px;height:44px;border-radius:14px;object-fit:cover;flex:0 0 44px;
}
.rheemo-wallet-avatar,.rheemo-wallet-ledger-icon{display:grid;place-items:center;background:#f1efff;color:#573ce8;font-weight:900}
.rheemo-wallet-list article span span{display:grid;gap:3px;min-width:0}
.rheemo-wallet-list b{display:block;color:#17213b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rheemo-wallet-list small{color:#7a8498}
.rheemo-wallet-list article>strong{
  flex:0 0 auto;
  padding:7px 10px;
  border-radius:999px;
  background:#f3f5fa;
  color:#46516b;
  font-size:12px;
}
.rheemo-wallet-list article>strong.is-qualified{background:#e9fbf1;color:#087443}
.rheemo-wallet-list article>strong.is-pending,
.rheemo-wallet-list article>strong.is-limit{background:#fff7df;color:#8a6100}
.rheemo-wallet-list article>strong.is-review{background:#f2edff;color:#5d3ed1}
.rheemo-wallet-list article>strong.is-rejected{background:#fff0f1;color:#b22a3d}
.rheemo-wallet-list--ledger article>strong{background:transparent;padding:0;color:#4b3ee1;font-size:14px}

.rheemo-wallet-security{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:20px;
  border-color:#cfe8dd;
  background:linear-gradient(145deg,#fff,#f4fff9);
}
.rheemo-wallet-security>span{width:46px;height:46px;border-radius:14px;background:#e6f9ef;display:grid;place-items:center;font-size:22px;flex:0 0 46px}
.rheemo-wallet-security h3{margin:0 0 5px}
.rheemo-wallet-security p{margin:0;color:#66768a}

.rheemo-invite-result--wallet{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  text-align:center;
}
.rheemo-invite-result--wallet span{display:grid;gap:2px;font-size:11px;color:#788299}
.rheemo-invite-result--wallet strong{font-size:16px;color:#2344d0}
.rheemo-invite-wallet-link{
  display:block;
  text-align:center;
  margin-top:8px;
  color:#244ed6;
  font-weight:800;
  text-decoration:none;
}

@media (max-width:980px){
  .rheemo-wallet-summary{grid-template-columns:repeat(3,minmax(160px,1fr));overflow-x:auto;padding-bottom:4px}
  .rheemo-wallet-grid{grid-template-columns:1fr}
  .rheemo-wallet-limit{grid-template-columns:1fr}
}
@media (max-width:680px){
  .rheemo-wallet-summary{grid-template-columns:1fr;overflow:visible}
  .rheemo-wallet-balance{min-height:105px}
  .rheemo-wallet-share{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rheemo-wallet-copy{grid-template-columns:1fr}
  .rheemo-wallet-list article{align-items:flex-start}
  .rheemo-wallet-list article>strong{max-width:42%;text-align:center;white-space:normal}
  .rheemo-invite-result--wallet{grid-template-columns:1fr}
}

/* =========================================================
   Rheemo Core 0.3.7.1 — Cartes premium du portefeuille
   ========================================================= */
.rheemo-wallet-summary--premium{
  gap:18px;
  counter-reset:rheemo-wallet-step;
}
.rheemo-wallet-summary--premium .rheemo-wallet-balance{
  counter-increment:rheemo-wallet-step;
  min-height:190px;
  padding:22px 22px 19px;
  align-content:stretch;
  grid-template-rows:auto auto auto 1fr;
  gap:8px;
  isolation:isolate;
  border-width:1px;
  border-style:solid;
  border-radius:25px;
  box-shadow:0 20px 52px rgba(24,35,77,.09);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.rheemo-wallet-summary--premium .rheemo-wallet-balance:hover{
  transform:translateY(-3px);
  box-shadow:0 26px 62px rgba(24,35,77,.14);
}
.rheemo-wallet-summary--premium .rheemo-wallet-balance::before{
  content:"0" counter(rheemo-wallet-step);
  position:absolute;
  right:18px;
  top:16px;
  z-index:-1;
  color:rgba(44,55,100,.06);
  font-size:62px;
  font-weight:950;
  line-height:1;
  letter-spacing:-.08em;
}
.rheemo-wallet-summary--premium .rheemo-wallet-balance::after{
  width:165px;
  height:165px;
  right:-54px;
  bottom:-76px;
  border:24px solid rgba(255,255,255,.42);
  background:transparent;
  box-shadow:0 0 0 1px rgba(80,70,180,.06);
}
.rheemo-wallet-balance__head{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.rheemo-wallet-balance__head i{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:18px;
  font-style:normal;
  font-weight:900;
  box-shadow:0 10px 24px rgba(60,55,150,.17);
}
.rheemo-wallet-balance__head span{
  font-size:13px;
  letter-spacing:.075em;
}
.rheemo-wallet-summary--premium .rheemo-wallet-balance strong{
  display:flex;
  align-items:baseline;
  gap:7px;
  margin-top:3px;
  font-size:clamp(32px,4vw,44px);
  letter-spacing:-.045em;
}
.rheemo-wallet-summary--premium .rheemo-wallet-balance strong em{
  font-size:15px;
  font-style:normal;
  letter-spacing:.02em;
  color:#65718b;
}
.rheemo-wallet-summary--premium .rheemo-wallet-balance small{
  font-size:14px;
  line-height:1.45;
}
.rheemo-wallet-balance__state{
  align-self:end;
  display:flex;
  align-items:center;
  gap:8px;
  padding-top:14px;
  margin-top:7px;
  border-top:1px solid rgba(120,130,165,.16);
  color:#56627d;
  font-size:12px;
  font-weight:800;
}
.rheemo-wallet-balance__state b{
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:currentColor;
  box-shadow:0 0 0 5px rgba(91,76,207,.10);
}
.rheemo-wallet-summary--premium .rheemo-wallet-balance.is-pending{
  order:1;
  border-color:#e3d4ff;
  background:linear-gradient(145deg,#fff 0%,#fbf8ff 50%,#f3edff 100%);
}
.rheemo-wallet-summary--premium .rheemo-wallet-balance.is-pending .rheemo-wallet-balance__head i{
  background:linear-gradient(145deg,#6d55f5,#9c42eb);
}
.rheemo-wallet-summary--premium .rheemo-wallet-balance.is-pending .rheemo-wallet-balance__state{color:#7752d7}
.rheemo-wallet-summary--premium .rheemo-wallet-balance.is-available{
  order:2;
  border-color:#aee7cd;
  background:linear-gradient(145deg,#fff 0%,#f4fff9 50%,#e9fbf2 100%);
}
.rheemo-wallet-summary--premium .rheemo-wallet-balance.is-available .rheemo-wallet-balance__head i{
  background:linear-gradient(145deg,#17aa6c,#28c58a);
}
.rheemo-wallet-summary--premium .rheemo-wallet-balance.is-available .rheemo-wallet-balance__state{color:#078354}
.rheemo-wallet-summary--premium .rheemo-wallet-balance.is-used{
  order:3;
  border-color:#ced9ef;
  background:linear-gradient(145deg,#fff 0%,#f7f9ff 50%,#edf2fb 100%);
}
.rheemo-wallet-summary--premium .rheemo-wallet-balance.is-used .rheemo-wallet-balance__head i{
  background:linear-gradient(145deg,#2d4d9e,#5272c9);
}
.rheemo-wallet-summary--premium .rheemo-wallet-balance.is-used .rheemo-wallet-balance__state{color:#405b9d}
@media (max-width:980px){
  .rheemo-wallet-summary--premium .rheemo-wallet-balance{min-width:245px}
}
@media (max-width:680px){
  .rheemo-wallet-summary--premium .rheemo-wallet-balance{min-width:0;min-height:165px}
}

/* =========================================================
   Rheemo Core 0.3.7.2 — présence, contact et cohérence visuelle
   ========================================================= */

/* Les mouvements du portefeuille restent lisibles, même avec de longs libellés. */
.rheemo-social-feed .rheemo-wallet-list--ledger .rheemo-wallet-ledger-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.rheemo-social-feed .rheemo-wallet-ledger-row__main {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-width: 0;
}
.rheemo-social-feed .rheemo-wallet-ledger-row__copy {
    display: grid !important;
    gap: 4px;
    min-width: 0;
}
.rheemo-social-feed .rheemo-wallet-ledger-row__copy b {
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
    line-height: 1.35;
}
.rheemo-social-feed .rheemo-wallet-ledger-amount {
    align-self: center;
    min-width: 78px;
    max-width: none !important;
    padding: 8px 10px !important;
    border-radius: 11px;
    background: #f2efff !important;
    color: #4935d8 !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1.1;
    text-align: right !important;
    white-space: nowrap !important;
}

/* Point de présence contextuel dans le Réseau intelligent. */
.rheemo-social-feed .rheemo-suggestion-item__avatar {
    position: relative;
    overflow: visible;
}
.rheemo-social-feed .rheemo-suggestion-item__avatar img {
    border-radius: 13px;
}
.rheemo-social-feed .rheemo-presence-dot {
    position: absolute;
    right: -2px;
    bottom: -2px;
    z-index: 2;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .08), 0 0 10px currentColor;
}
.rheemo-social-feed .rheemo-presence-dot.is-online {
    background: #16c784;
    color: rgba(22, 199, 132, .75);
}
.rheemo-social-feed .rheemo-presence-dot.is-recent {
    background: #f59e0b;
    color: rgba(245, 158, 11, .72);
}
.rheemo-social-feed .rheemo-presence-dot.is-inactive {
    background: #ef4444;
    color: rgba(239, 68, 68, .6);
}

/* Action secondaire de contact sur un profil membre. */
.rheemo-social-feed .rheemo-native-profile__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}
.rheemo-social-feed .rheemo-btn-message {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px !important;
    border: 1px solid #cdd9ff !important;
    border-radius: 14px !important;
    background: #fff !important;
    background-image: none !important;
    color: #2458d8 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(42, 79, 180, .08) !important;
    transition: transform .18s ease, box-shadow .18s ease;
}
.rheemo-social-feed .rheemo-btn-message:hover,
.rheemo-social-feed .rheemo-btn-message:focus-visible {
    background: #fff !important;
    color: #2458d8 !important;
    transform: translateY(-1px);
    box-shadow: 0 11px 25px rgba(42, 79, 180, .13) !important;
}

/* Identité officielle de tous les boutons d'action publicitaire. */
.rheemo-social-feed .rheemo-page-promote-button,
.rheemo-social-feed .rheemo-wallet-promote-button,
.rheemo-social-feed .rheemo-campaign-form__actions [data-campaign-submit],
.rheemo-social-feed .rheemo-campaign-wizard-actions [data-campaign-submit] {
    border-color: #2458f4 !important;
    background: #2458f4 !important;
    background-color: #2458f4 !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(36, 88, 244, .22) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}
.rheemo-social-feed .rheemo-page-promote-button:hover,
.rheemo-social-feed .rheemo-page-promote-button:focus-visible,
.rheemo-social-feed .rheemo-wallet-promote-button:hover,
.rheemo-social-feed .rheemo-wallet-promote-button:focus-visible,
.rheemo-social-feed .rheemo-campaign-form__actions [data-campaign-submit]:hover,
.rheemo-social-feed .rheemo-campaign-form__actions [data-campaign-submit]:focus-visible,
.rheemo-social-feed .rheemo-campaign-wizard-actions [data-campaign-submit]:hover,
.rheemo-social-feed .rheemo-campaign-wizard-actions [data-campaign-submit]:focus-visible {
    border-color: #2458f4 !important;
    background: #2458f4 !important;
    background-color: #2458f4 !important;
    background-image: none !important;
    color: #fff !important;
    transform: scale(1.025);
    box-shadow: 0 15px 31px rgba(36, 88, 244, .28) !important;
}
.rheemo-social-feed .rheemo-page-promote-button:active,
.rheemo-social-feed .rheemo-wallet-promote-button:active,
.rheemo-social-feed .rheemo-campaign-form__actions [data-campaign-submit]:active,
.rheemo-social-feed .rheemo-campaign-wizard-actions [data-campaign-submit]:active {
    transform: scale(.985);
}
.rheemo-social-feed .rheemo-page-promote-button:focus-visible,
.rheemo-social-feed .rheemo-wallet-promote-button:focus-visible,
.rheemo-social-feed .rheemo-campaign-form__actions [data-campaign-submit]:focus-visible,
.rheemo-social-feed .rheemo-campaign-wizard-actions [data-campaign-submit]:focus-visible {
    outline: 3px solid rgba(36, 88, 244, .25) !important;
    outline-offset: 3px;
}

@media (max-width: 680px) {
    .rheemo-social-feed .rheemo-wallet-list--ledger .rheemo-wallet-ledger-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .rheemo-social-feed .rheemo-wallet-ledger-amount {
        justify-self: start;
        min-width: 0;
        text-align: left !important;
    }
    .rheemo-social-feed .rheemo-native-profile__actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rheemo-social-feed .rheemo-page-promote-button,
    .rheemo-social-feed .rheemo-wallet-promote-button,
    .rheemo-social-feed .rheemo-campaign-form__actions [data-campaign-submit],
.rheemo-social-feed .rheemo-campaign-wizard-actions [data-campaign-submit],
    .rheemo-social-feed .rheemo-btn-message {
        transition: none !important;
        transform: none !important;
    }
}

/* =========================================================
   Rheemo Core 0.3.7.4 — Espace Promouvoir guidé
   ========================================================= */
.rheemo-feed-grid--promote{
    grid-template-columns:280px minmax(0,1fr);
    max-width:none;
}
.rheemo-promote-workspace .rheemo-feed-main,
.rheemo-promote-workspace .rheemo-native-main{
    min-width:0;
    width:100%;
}
.rheemo-promote-workspace .rheemo-campaign-builder,
.rheemo-promote-workspace .rheemo-campaign-list-panel{
    width:100%;
}
.rheemo-campaign-wizard-progress{
    position:sticky;
    top:84px;
    z-index:12;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:8px;
    padding:10px;
    border:1px solid #e0e4f1;
    border-radius:20px;
    background:rgba(255,255,255,.96);
    box-shadow:0 14px 34px rgba(31,45,91,.09);
    backdrop-filter:blur(14px);
}
.rheemo-campaign-wizard-progress button{
    position:relative;
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    grid-template-rows:auto auto;
    gap:1px 9px;
    align-items:center;
    min-width:0;
    padding:10px;
    border:0;
    border-radius:14px;
    color:#6e778c;
    background:transparent;
    text-align:left;
    cursor:pointer;
    transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}
.rheemo-campaign-wizard-progress button:not(:disabled):hover{transform:translateY(-1px);background:#f5f7ff}
.rheemo-campaign-wizard-progress button:disabled{cursor:default;opacity:.48}
.rheemo-campaign-wizard-progress button>span{
    grid-row:1/3;
    display:grid;
    width:34px;
    height:34px;
    place-items:center;
    border-radius:11px;
    color:#59647a;
    background:#eef1f8;
    font-size:12px;
    font-weight:900;
}
.rheemo-campaign-wizard-progress b,
.rheemo-campaign-wizard-progress small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rheemo-campaign-wizard-progress b{color:#26304a;font-size:12px}
.rheemo-campaign-wizard-progress small{font-size:9px;color:#8991a3}
.rheemo-campaign-wizard-progress button.is-active{
    background:#eef3ff;
    box-shadow:inset 0 0 0 1px #c9d7ff;
}
.rheemo-campaign-wizard-progress button.is-active>span{
    color:#fff;
    background:#2859e4;
}
.rheemo-campaign-wizard-progress button.is-complete>span{
    color:#fff;
    background:#16a672;
}
.rheemo-campaign-wizard-progress button.is-complete>span::after{content:"✓";font-size:13px}
.rheemo-campaign-wizard-progress button.is-complete>span{font-size:0}
.rheemo-campaign-wizard-caption{
    display:grid;
    grid-template-columns:auto minmax(160px,1fr);
    gap:14px;
    align-items:center;
    padding:0 4px;
    color:#626d84;
    font-size:12px;
    font-weight:800;
}
.rheemo-campaign-wizard-caption>div{
    overflow:hidden;
    height:6px;
    border-radius:999px;
    background:#e9edf6;
}
.rheemo-campaign-wizard-caption i{
    display:block;
    width:20%;
    height:100%;
    border-radius:inherit;
    background:#2859e4;
    transition:width .28s ease;
}
.rheemo-campaign-wizard .rheemo-campaign-step{
    min-height:420px;
    animation:rheemoWizardIn .24s ease both;
}
.rheemo-campaign-wizard .rheemo-campaign-step[hidden]{display:none!important}
@keyframes rheemoWizardIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.rheemo-campaign-wizard-actions{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:15px;
    align-items:center;
    padding:16px 18px;
    border:1px solid #dfe4f1;
    border-radius:19px;
    background:#f8faff;
}
.rheemo-campaign-wizard-actions>div{display:grid;gap:3px;min-width:0}
.rheemo-campaign-wizard-actions strong{color:#202a45;font-size:13px}
.rheemo-campaign-wizard-actions span{color:#7a8498;font-size:11px;line-height:1.4}
.rheemo-campaign-wizard-actions .rheemo-btn{min-width:130px;justify-content:center}
.rheemo-campaign-wizard-final-note{
    margin:-8px 0 0;
    color:#68738a;
    font-size:12px;
    text-align:right;
}
.rheemo-campaign-step--review{min-height:0!important}
.rheemo-campaign-list-heading{align-items:center}
.rheemo-campaign-list-count{
    display:inline-flex;
    padding:8px 11px;
    border-radius:999px;
    color:#2859e4;
    background:#edf3ff;
    font-size:11px;
    font-weight:850;
    white-space:nowrap;
}
.rheemo-campaign-list{display:grid;grid-template-columns:1fr;gap:15px;margin-top:20px}
.rheemo-campaign-card--organized{padding:20px 22px}
.rheemo-campaign-card--organized .rheemo-campaign-card__top{align-items:center}
.rheemo-campaign-card__identity{min-width:0}
.rheemo-campaign-card__objective{
    display:inline-flex!important;
    align-items:center;
    gap:7px;
}
.rheemo-campaign-card__objective i{font-style:normal;font-size:15px}
.rheemo-campaign-card--organized .rheemo-campaign-card__top h4{
    overflow-wrap:anywhere;
    margin-top:7px;
    font-size:clamp(18px,2vw,24px);
    line-height:1.25;
}
.rheemo-campaign-card__status{
    display:inline-flex;
    align-items:center;
    gap:7px;
    max-width:230px;
    line-height:1.25;
    text-align:center;
}
.rheemo-campaign-card__status i{
    flex:0 0 auto;
    width:auto;
    height:auto;
    border-radius:0;
    background:transparent;
    opacity:1;
    font-style:normal;
    line-height:1;
}
.rheemo-campaign-card__content{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(230px,.42fr);
    gap:16px;
    align-items:stretch;
    margin-top:17px;
}
.rheemo-campaign-card--organized .rheemo-campaign-card__metrics{margin:0}
.rheemo-campaign-card__meta{
    display:grid;
    gap:9px;
    padding:12px;
    border-radius:16px;
    background:#f7f9fd;
}
.rheemo-campaign-card__meta>span{
    display:grid;
    grid-template-columns:24px minmax(0,1fr);
    gap:1px 7px;
    align-items:center;
    min-width:0;
    color:#637087;
    font-size:11px;
    overflow-wrap:anywhere;
}
.rheemo-campaign-card__meta i{grid-row:1/3;font-style:normal}
.rheemo-campaign-card__meta b{color:#26304a;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.rheemo-campaign-card__actions{
    display:flex;
    justify-content:flex-end;
    margin-top:14px;
    padding-top:13px;
    border-top:1px solid #edf0f6;
}
.rheemo-campaign-card__actions form{margin:0}
@media(max-width:1100px){
    .rheemo-feed-grid--promote{grid-template-columns:250px minmax(0,1fr)}
    .rheemo-campaign-wizard-progress{position:relative;top:auto}
    .rheemo-campaign-wizard-progress button{grid-template-columns:30px minmax(0,1fr);padding:8px}
    .rheemo-campaign-wizard-progress button>span{width:30px;height:30px}
    .rheemo-campaign-wizard-progress small{display:none}
    .rheemo-campaign-card__content{grid-template-columns:1fr}
}
@media(max-width:900px){
    .rheemo-feed-grid--promote{grid-template-columns:1fr}
    .rheemo-promote-workspace .rheemo-feed-left{display:none}
    .rheemo-campaign-wizard-progress{grid-template-columns:repeat(5,minmax(44px,1fr));overflow-x:auto}
    .rheemo-campaign-wizard-progress button{display:grid;grid-template-columns:1fr;justify-items:center;text-align:center}
    .rheemo-campaign-wizard-progress button>span{grid-row:auto}
    .rheemo-campaign-wizard-progress b{font-size:10px}
}
@media(max-width:700px){
    .rheemo-campaign-wizard .rheemo-campaign-step{min-height:0}
    .rheemo-campaign-wizard-progress{gap:4px;padding:7px;border-radius:16px}
    .rheemo-campaign-wizard-progress button{padding:7px 4px}
    .rheemo-campaign-wizard-progress b{display:none}
    .rheemo-campaign-wizard-actions{grid-template-columns:1fr 1fr;padding:13px}
    .rheemo-campaign-wizard-actions>div{grid-column:1/-1;grid-row:1;text-align:center}
    .rheemo-campaign-wizard-actions .rheemo-btn{width:100%;min-width:0}
    .rheemo-campaign-wizard-final-note{text-align:center}
    .rheemo-campaign-card--organized{padding:16px}
    .rheemo-campaign-card--organized .rheemo-campaign-card__top{align-items:flex-start;flex-direction:column}
    .rheemo-campaign-card__status{align-self:flex-start;max-width:100%}
}
@media(max-width:460px){
    .rheemo-campaign-card--organized .rheemo-campaign-card__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
    .rheemo-campaign-wizard-caption{grid-template-columns:1fr;gap:6px}
}
.rheemo-campaign-card.is-payment_pending .rheemo-campaign-card__status{color:#8a6418;background:#fff5d8}
.rheemo-campaign-card.is-payment_failed .rheemo-campaign-card__status{color:#a52c47;background:#ffedf1}
.rheemo-campaign-card.is-pending .rheemo-campaign-card__status{color:#765c18;background:#fff4cf}
.rheemo-campaign-card.is-paused .rheemo-campaign-card__status{color:#6b5a95;background:#f1edff}
.rheemo-campaign-card.is-completed .rheemo-campaign-card__status{color:#42606f;background:#eaf3f6}

/* =========================================================
   Rheemo Core 0.3.7.5 — Correction pleine largeur Promouvoir
   La colonne de suggestions est réellement supprimée et la
   colonne principale occupe tout l'espace restant.
   ========================================================= */
.rheemo-social-feed.rheemo-promote-workspace .rheemo-feed-grid.rheemo-feed-grid--promote {
    grid-template-columns: 280px minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: none !important;
}
.rheemo-social-feed.rheemo-promote-workspace .rheemo-feed-main,
.rheemo-social-feed.rheemo-promote-workspace .rheemo-native-main {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}
.rheemo-social-feed.rheemo-promote-workspace .rheemo-campaign-builder,
.rheemo-social-feed.rheemo-promote-workspace .rheemo-campaign-list-panel,
.rheemo-social-feed.rheemo-promote-workspace .rheemo-campaign-wizard,
.rheemo-social-feed.rheemo-promote-workspace .rheemo-campaign-step,
.rheemo-social-feed.rheemo-promote-workspace .rheemo-campaign-review {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}
@media (max-width: 1100px) {
    .rheemo-social-feed.rheemo-promote-workspace .rheemo-feed-grid.rheemo-feed-grid--promote {
        grid-template-columns: 250px minmax(0, 1fr) !important;
    }
}
@media (max-width: 900px) {
    .rheemo-social-feed.rheemo-promote-workspace .rheemo-feed-grid.rheemo-feed-grid--promote {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .rheemo-social-feed.rheemo-promote-workspace .rheemo-feed-main,
    .rheemo-social-feed.rheemo-promote-workspace .rheemo-native-main {
        grid-column: 1 !important;
    }
}

/* Rheemo Core 0.3.8 — badges officiels, page publique légère et Link Guard */
.rheemo-official-badge{
    width:21px;height:21px;min-width:21px;display:inline-flex;align-items:center;justify-content:center;
    vertical-align:-4px;margin-left:7px;color:#fff;background:transparent!important;border:0!important;
    border-radius:0!important;clip-path:none!important;box-shadow:none!important;line-height:1
}
.rheemo-official-badge svg{display:block;width:100%;height:100%;overflow:visible}
.rheemo-official-badge__seal{fill:#1478f2;filter:drop-shadow(0 3px 4px rgba(20,103,232,.28))}
.rheemo-official-badge__check{fill:#fff}
.rheemo-suggestion-item__name,.rheemo-page-card h3,.rheemo-native-profile__name h2,.rheemo-page-profile__identity h2,.rheemo-profile-mini h2{display:flex;align-items:center;flex-wrap:wrap}
.rheemo-link-review{position:relative}
.rheemo-link-review::after{content:"↗";font-size:.72em;margin-left:.28em;opacity:.7}
.rheemo-link-blocked{cursor:not-allowed!important;opacity:.62;text-decoration:none!important;pointer-events:none}
.rheemo-public-page-shell{max-width:1540px;margin:0 auto;padding:22px clamp(14px,3vw,40px) 52px}
.rheemo-public-page-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;padding:14px 18px;background:#fff;border:1px solid #e3e8f3;border-radius:18px;box-shadow:0 12px 35px rgba(25,38,75,.07)}
.rheemo-public-page-bar>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.rheemo-public-page-brand{font-size:25px;font-weight:900;color:#17213d;text-decoration:none;letter-spacing:-.03em}
.rheemo-public-page-main{max-width:1180px;margin:0 auto}
.rheemo-public-page-main .rheemo-page-profile,.rheemo-public-page-main>.rheemo-card{width:100%}
.rheemo-public-page-main .rheemo-page-profile__actions{align-content:flex-start}
@media(max-width:760px){
    .rheemo-public-page-shell{padding:12px 10px 36px}
    .rheemo-public-page-bar{align-items:flex-start;flex-direction:column;border-radius:15px}
    .rheemo-public-page-bar>div{width:100%}
    .rheemo-public-page-bar .rheemo-btn{flex:1;text-align:center;justify-content:center}
    .rheemo-official-badge{width:18px;height:18px;min-width:18px;margin-left:5px}
}


/* ==========================================================
   Rheemo Core 0.3.8.1 — Page publique premium et légère
   La page publique réutilise uniquement la présentation visuelle
   validée de la Page interne, sans réintroduire les colonnes sociales.
   ========================================================== */
.rheemo-public-page-main.rheemo-social-feed{
    width:100%;
    max-width:1280px;
    min-width:0;
}
.rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium{
    container-type:inline-size;
    margin:0 0 22px;
    overflow:visible;
}
.rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__main{
    grid-template-columns:178px minmax(320px,1fr) minmax(260px,320px);
    align-items:start;
    gap:28px;
    padding-top:0;
}
.rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__identity{
    min-width:0;
    padding-top:28px;
}
.rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__badges{
    flex-wrap:wrap;
}
.rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__identity h2{
    margin-top:12px;
    overflow-wrap:break-word;
    word-break:normal;
}
.rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__bio{
    width:100%;
    max-width:720px;
    font-size:16px;
    line-height:1.65;
    overflow-wrap:break-word;
    word-break:normal;
}
.rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-self:center;
    align-content:center;
    width:100%;
    max-width:320px;
    gap:10px;
    padding:24px 0 8px;
}
.rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__actions>*{
    min-width:0;
    justify-content:center;
    white-space:nowrap;
}
.rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-primary-action{
    grid-column:1/-1;
    width:100%;
}
.rheemo-public-page-main.rheemo-social-feed .rheemo-page-professional-tabs,
.rheemo-public-page-main.rheemo-social-feed .rheemo-page-home-overview,
.rheemo-public-page-main.rheemo-social-feed .rheemo-page-posts-heading,
.rheemo-public-page-main.rheemo-social-feed .rheemo-page-post-list,
.rheemo-public-page-main.rheemo-social-feed>.rheemo-card{
    width:100%;
    min-width:0;
}
@media(max-width:980px){
    .rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__main{
        grid-template-columns:150px minmax(0,1fr);
    }
    .rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__actions{
        grid-column:1/-1;
        display:flex;
        justify-content:flex-start;
        max-width:none;
        padding-top:0;
    }
    .rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-primary-action{
        width:auto;
    }
}
@media(max-width:680px){
    .rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__cover{
        min-height:215px;
    }
    .rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__main{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
        padding:0 20px 24px;
    }
    .rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__avatar{
        width:132px;
        height:132px;
        margin-top:-62px;
    }
    .rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__identity{
        width:100%;
        padding-top:0;
    }
    .rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__actions{
        display:grid;
        grid-template-columns:1fr 1fr;
        width:100%;
        max-width:none;
    }
    .rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-primary-action{
        grid-column:1/-1;
        width:100%;
    }
}
@media(max-width:460px){
    .rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__actions{
        grid-template-columns:1fr;
    }
    .rheemo-public-page-main.rheemo-social-feed .rheemo-page-profile--premium .rheemo-page-profile__actions>*{
        width:100%;
    }
}


/* Rheemo Core 0.3.8.2 : élargissement public différé ; aucune surcharge active. */
/* Rheemo Core 0.3.9 — règles commerciales et garantie de diffusion */
.rheemo-campaign-scope-notice{display:flex;align-items:flex-start;gap:14px;padding:18px 20px;border:1px solid #b9ccff;background:#f5f8ff;margin-bottom:18px}
.rheemo-campaign-scope-notice>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#155eef;color:#fff;font-weight:900}
.rheemo-campaign-scope-notice strong{display:block;color:#102a56;font-size:15px;margin-bottom:3px}
.rheemo-campaign-scope-notice p{margin:0;color:#40516f;line-height:1.55}
.rheemo-campaign-rules-note{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:13px 15px;border:1px solid #dce5f5;border-radius:15px;background:#f8fafc;color:#4b5d78}
.rheemo-campaign-rules-note p{margin:0;line-height:1.5}
.rheemo-campaign-rules-note.is-valid{border-color:#a7dfc1;background:#f2fbf6;color:#17633c}
.rheemo-campaign-rules-note.is-invalid{border-color:#f0b9b9;background:#fff5f5;color:#922b2b}
.rheemo-campaign-live-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
[data-campaign-capacity-status].is-valid{color:#177245}
[data-campaign-capacity-status].is-invalid{color:#b42318}
.rheemo-campaign-scope-consent{display:flex;align-items:flex-start;gap:11px;margin-top:16px;padding:16px;border:1px solid #cbd8f3;border-radius:16px;background:#fff;cursor:pointer;color:#33445f;line-height:1.5}
.rheemo-campaign-scope-consent input{margin-top:4px;flex:0 0 auto}
.rheemo-campaign-scope-consent strong{color:#123c8c}
.rheemo-campaign-delivery-progress{display:grid;gap:7px;padding:14px 18px;border-top:1px solid #edf1f7;background:#fbfcff}
.rheemo-campaign-delivery-progress>div{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#44526a;font-size:13px}
.rheemo-campaign-delivery-progress>div strong{color:#173b78}
.rheemo-campaign-delivery-progress>i{display:block;height:8px;border-radius:999px;background:#e6ebf5;overflow:hidden}
.rheemo-campaign-delivery-progress>i>u{display:block;height:100%;border-radius:inherit;background:#155eef;text-decoration:none;transition:width .25s ease}
.rheemo-campaign-delivery-progress small{color:#667085;line-height:1.45}
@media(max-width:900px){.rheemo-campaign-live-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.rheemo-campaign-scope-notice{padding:15px}.rheemo-campaign-live-metrics{grid-template-columns:1fr}.rheemo-campaign-scope-consent{padding:14px}}

/* ==========================================================
   Rheemo Core 0.3.9.1 — onboarding et ciblage responsable
   ========================================================== */
.rheemo-onboarding-shell{
    width:min(1180px,calc(100% - 32px));
    max-width:1180px;
    margin:28px auto 64px;
}
.rheemo-onboarding-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    padding:32px 36px;
    border-radius:28px;
    background:linear-gradient(135deg,#13295e 0%,#4f35df 56%,#d63fae 100%);
    box-shadow:0 24px 55px rgba(42,51,128,.22);
    color:#fff;
    overflow:hidden;
    position:relative;
}
.rheemo-onboarding-hero::after{
    content:"";
    position:absolute;
    right:-80px;
    bottom:-120px;
    width:300px;
    height:300px;
    border-radius:50%;
    background:rgba(255,255,255,.10);
    pointer-events:none;
}
.rheemo-onboarding-hero>div{position:relative;z-index:1;max-width:780px}
.rheemo-onboarding-hero span{
    display:inline-block;
    margin-bottom:9px;
    font-size:12px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#dfe7ff;
}
.rheemo-onboarding-hero h1{margin:0 0 10px;color:#fff;font-size:clamp(27px,4vw,42px);line-height:1.1}
.rheemo-onboarding-hero p{margin:0;color:rgba(255,255,255,.86);font-size:15px;line-height:1.65}
.rheemo-onboarding-hero>strong{
    position:relative;
    z-index:1;
    display:grid;
    place-items:center;
    flex:0 0 104px;
    width:104px;
    height:104px;
    border:8px solid rgba(255,255,255,.22);
    border-radius:50%;
    background:rgba(255,255,255,.14);
    color:#fff;
    font-size:25px;
    box-shadow:inset 0 0 0 2px rgba(255,255,255,.22);
}
.rheemo-onboarding-shell>.rheemo-alert{margin:18px 0 0}
.rheemo-onboarding-progress{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin:18px 0;
}
.rheemo-onboarding-progress article{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    padding:15px 17px;
    border:1px solid #e2e7f3;
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 28px rgba(42,53,103,.07);
}
.rheemo-onboarding-progress i{
    display:grid;
    place-items:center;
    flex:0 0 38px;
    width:38px;
    height:38px;
    border-radius:13px;
    background:#edf1f8;
    color:#7d879c;
    font-size:14px;
    font-style:normal;
    font-weight:900;
}
.rheemo-onboarding-progress b,.rheemo-onboarding-progress span{display:block}
.rheemo-onboarding-progress b{color:#25324d;font-size:13px}
.rheemo-onboarding-progress span{margin-top:2px;color:#7b859a;font-size:11px}
.rheemo-onboarding-progress article.is-current{border-color:#b7c7ff;background:#f7f9ff}
.rheemo-onboarding-progress article.is-current i{background:#2857ee;color:#fff}
.rheemo-onboarding-progress article.is-complete{border-color:#afe5ca;background:#f4fcf7}
.rheemo-onboarding-progress article.is-complete i{background:#16a66e;color:#fff}
.rheemo-onboarding-progress article.is-complete i::before{content:"✓"}
.rheemo-onboarding-progress article.is-complete i{font-size:0}
.rheemo-onboarding-progress article.is-complete i::before{font-size:16px}
.rheemo-onboarding-form{
    gap:0!important;
    padding:0!important;
    border:1px solid #e1e6f1!important;
    border-radius:28px!important;
    overflow:visible;
    background:#fff;
    box-shadow:0 22px 60px rgba(35,47,96,.10);
}
.rheemo-onboarding-section{padding:28px 32px;border-bottom:1px solid #edf0f6}
.rheemo-onboarding-section>header{
    display:flex;
    align-items:flex-start;
    gap:14px;
    margin-bottom:22px;
}
.rheemo-onboarding-section>header>span{
    display:grid;
    place-items:center;
    flex:0 0 44px;
    width:44px;
    height:44px;
    border-radius:15px;
    background:#eef2ff;
    font-size:21px;
}
.rheemo-onboarding-section h2{margin:0 0 5px;color:#1f2d49;font-size:19px;line-height:1.3}
.rheemo-onboarding-section header p{margin:0;color:#71809b;font-size:13px;line-height:1.55}
.rheemo-onboarding-section .rheemo-profile-form-field>span{font-size:12px}
.rheemo-onboarding-privacy-choice{margin-top:15px}
.rheemo-onboarding-photo-layout{
    display:grid;
    grid-template-columns:180px minmax(0,1fr);
    align-items:center;
    gap:28px;
    padding:20px;
    border:1px solid #e4e9f3;
    border-radius:20px;
    background:#f9faff;
}
.rheemo-social-feed .rheemo-onboarding-avatar-editor{
    position:relative;
    left:auto;
    bottom:auto;
    justify-self:center;
}
.rheemo-social-feed .rheemo-onboarding-avatar-editor .rheemo-profile-avatar-preview{width:145px;height:145px}
.rheemo-onboarding-photo-layout ul{margin:0;padding-left:20px;color:#52617b;line-height:1.9;font-size:13px}
.rheemo-onboarding-ack{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin:24px 32px 0;
    padding:17px 18px;
    border:1px solid #cbdaf5;
    border-radius:17px;
    background:#f5f8ff;
    color:#43536f;
    font-size:12px;
    line-height:1.55;
    cursor:pointer;
}
.rheemo-onboarding-ack input{flex:0 0 auto;margin-top:3px}
.rheemo-onboarding-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:24px 32px 30px;
}
.rheemo-onboarding-actions b,.rheemo-onboarding-actions span{display:block}
.rheemo-onboarding-actions b{color:#24324d;font-size:13px}
.rheemo-onboarding-actions span{margin-top:3px;color:#78849a;font-size:11px}
.rheemo-onboarding-actions .rheemo-btn{min-width:250px;justify-content:center}
.rheemo-onboarding-form :invalid:not(:focus){box-shadow:none}
.rheemo-onboarding-form .rheemo-smart-select__input:invalid,
.rheemo-onboarding-form .rheemo-interest-picker__search:invalid{border-color:#e9a4a4!important;background:#fff9f9!important}

.rheemo-profile-photo-invitation{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:18px;
    padding:20px 22px!important;
    border-color:#cbd9fb!important;
    background:linear-gradient(135deg,#f4f7ff,#fff8fd)!important;
}
.rheemo-profile-photo-invitation__icon{
    display:grid;
    place-items:center;
    width:54px;
    height:54px;
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 24px rgba(53,65,137,.12);
    font-size:25px;
}
.rheemo-profile-photo-invitation span{
    color:#6746dc;
    font-size:10px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.rheemo-profile-photo-invitation h3{margin:4px 0;color:#23304a;font-size:17px;line-height:1.35}
.rheemo-profile-photo-invitation p{margin:0;color:#69768d;font-size:12px;line-height:1.55}
.rheemo-profile-photo-invitation .rheemo-btn{white-space:nowrap}

.rheemo-audience-targeting-policy{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:7px 12px;
    margin:14px 0 4px;
    padding:14px 16px;
    border:1px solid #d8e2f5;
    border-radius:16px;
    background:#f7f9ff;
    color:#52617a;
    font-size:12px;
}
.rheemo-audience-targeting-policy strong{color:#233b74}
.rheemo-audience-targeting-policy span{font-weight:750}
.rheemo-audience-targeting-policy small{flex-basis:100%;color:#9a5d18}
.rheemo-audience-saved-card.is-disabled{opacity:.72;border-style:dashed;background:#f7f8fb}
.rheemo-audience-saved-card.is-disabled em{
    display:inline-block;
    margin:7px 0 2px;
    padding:5px 8px;
    border-radius:999px;
    background:#fff1f0;
    color:#a13a32;
    font-size:10px;
    font-style:normal;
    font-weight:850;
}

@media(max-width:760px){
    .rheemo-onboarding-shell{width:min(100% - 20px,1180px);margin:12px auto 40px}
    .rheemo-onboarding-hero{align-items:flex-start;padding:25px 22px;border-radius:22px}
    .rheemo-onboarding-hero>strong{flex-basis:76px;width:76px;height:76px;border-width:6px;font-size:19px}
    .rheemo-onboarding-progress{grid-template-columns:1fr}
    .rheemo-onboarding-section{padding:23px 20px}
    .rheemo-onboarding-photo-layout{grid-template-columns:1fr;text-align:left}
    .rheemo-onboarding-photo-layout ul{width:100%}
    .rheemo-onboarding-ack{margin:20px 20px 0}
    .rheemo-onboarding-actions{align-items:stretch;flex-direction:column;padding:22px 20px 25px}
    .rheemo-onboarding-actions .rheemo-btn{width:100%;min-width:0}
    .rheemo-profile-photo-invitation{grid-template-columns:auto minmax(0,1fr)}
    .rheemo-profile-photo-invitation .rheemo-btn{grid-column:1/-1;justify-content:center}
}
@media(max-width:480px){
    .rheemo-onboarding-hero{flex-direction:column}
    .rheemo-onboarding-hero>strong{align-self:flex-end;position:absolute;right:18px;top:18px;width:62px;height:62px;flex-basis:62px;font-size:16px}
    .rheemo-onboarding-hero>div{padding-right:58px}
    .rheemo-onboarding-section>header{gap:10px}
    .rheemo-onboarding-section>header>span{width:38px;height:38px;flex-basis:38px;font-size:18px}
    .rheemo-profile-photo-invitation{grid-template-columns:1fr;text-align:center}
    .rheemo-profile-photo-invitation__icon{margin:auto}
}
.rheemo-onboarding-progress.is-two{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.rheemo-onboarding-progress.is-two{grid-template-columns:1fr}}

/* Rheemo Core 0.4.0 — studio créatif publicitaire, sans modification du ciblage ni du paiement. */
.rheemo-campaign-studio-layout{
    display:grid;
    grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr);
    gap:22px;
    align-items:start;
}
.rheemo-campaign-studio-editor{display:grid;gap:17px;min-width:0}
.rheemo-campaign-creative-fields{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(220px,.55fr);
    gap:14px;
}
.rheemo-campaign-creative-text-field{grid-column:1/-1}
.rheemo-campaign-creative-text-field textarea{min-height:128px;resize:vertical;line-height:1.55}
.rheemo-campaign-image-choice{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    padding:15px;
    margin:0;
    border:1px solid #dfe4f1;
    border-radius:17px;
    background:#fbfcff;
}
.rheemo-campaign-image-choice legend{padding:0 7px;color:#202945;font-size:13px;font-weight:850}
.rheemo-campaign-image-choice>label:not(.rheemo-campaign-image-upload){display:flex;gap:8px;align-items:center;padding:11px 12px;border:1px solid #e3e7f2;border-radius:13px;background:#fff;color:#34405e;font-size:12px;font-weight:750}
.rheemo-campaign-image-choice input[type="radio"]{width:17px;height:17px;margin:0;accent-color:#2859e4}
.rheemo-campaign-image-upload{grid-column:1/-1;display:grid;gap:6px;padding:13px;border:1px dashed #aebce0;border-radius:14px;background:#f3f7ff}
.rheemo-campaign-image-upload[hidden]{display:none!important}
.rheemo-campaign-image-upload input{max-width:100%;font-size:12px}
.rheemo-campaign-image-upload span{color:#26314d;font-size:12px;font-weight:850}
.rheemo-campaign-image-upload small{color:#778198;font-size:10px}
.rheemo-campaign-tracking{border:1px solid #e0e5f1;border-radius:16px;background:#fff;overflow:hidden}
.rheemo-campaign-tracking summary{padding:14px 16px;cursor:pointer;color:#26314d;font-size:12px;font-weight:850;background:#f8faff}
.rheemo-campaign-tracking>p{margin:13px 16px 0;color:#778198;font-size:11px;line-height:1.5}
.rheemo-campaign-tracking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:14px 16px 16px}
.rheemo-campaign-tracking-grid label{display:grid;gap:6px}
.rheemo-campaign-tracking-grid span{color:#68738a;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.rheemo-campaign-tracking-grid input{width:100%;min-height:42px;border:1px solid #dfe4ef;border-radius:11px;padding:9px 11px;background:#fff;color:#222c48}
.rheemo-campaign-preview-panel{position:sticky;top:92px;display:grid;gap:12px;min-width:0;padding:15px;border:1px solid #dfe4f1;border-radius:20px;background:#f5f7fc}
.rheemo-campaign-preview-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center}
.rheemo-campaign-preview-toolbar>strong{color:#202945;font-size:12px}
.rheemo-campaign-preview-toolbar>div{display:flex;gap:5px;padding:4px;border-radius:11px;background:#e8edf8}
.rheemo-campaign-preview-toolbar button{border:0;border-radius:8px;padding:7px 9px;color:#69748b;background:transparent;font-size:10px;font-weight:800;cursor:pointer}
.rheemo-campaign-preview-toolbar button.is-active{color:#fff;background:#2859e4}
.rheemo-campaign-preview-frame{width:100%;max-width:100%;margin:0 auto;transition:max-width .22s ease}
.rheemo-campaign-preview-frame.is-mobile{max-width:390px}
.rheemo-sponsored-card--preview{margin:0!important;box-shadow:0 13px 30px rgba(46,57,96,.10)!important;pointer-events:none}
.rheemo-sponsored-card--preview .rheemo-sponsored-card__header{grid-template-columns:42px minmax(0,1fr) auto;padding:12px}
.rheemo-sponsored-card--preview .rheemo-sponsored-card__header img{width:42px;height:42px;border-radius:13px}
.rheemo-sponsored-card--preview .rheemo-sponsored-card__body{padding:15px 15px 8px}
.rheemo-sponsored-card--preview .rheemo-sponsored-card__body h3{font-size:18px;line-height:1.25;overflow-wrap:anywhere}
.rheemo-sponsored-card--preview .rheemo-sponsored-card__body p{display:-webkit-box;overflow:hidden;-webkit-line-clamp:5;-webkit-box-orient:vertical;font-size:12px;line-height:1.55}
.rheemo-sponsored-card--preview .rheemo-sponsored-card__media{max-height:300px}
.rheemo-sponsored-card--preview .rheemo-sponsored-card__media img{max-height:300px}
.rheemo-sponsored-card--preview .rheemo-sponsored-card__footer{padding:12px 15px 15px;gap:10px}
.rheemo-sponsored-card--preview .rheemo-sponsored-card__footer .rheemo-btn{min-width:112px;justify-content:center}
.rheemo-campaign-preview-frame.is-mobile .rheemo-sponsored-card__header{grid-template-columns:38px minmax(0,1fr)}
.rheemo-campaign-preview-frame.is-mobile .rheemo-sponsored-card__label{grid-column:1/-1;justify-self:start}
.rheemo-campaign-preview-frame.is-mobile .rheemo-sponsored-card__footer{flex-direction:column;align-items:stretch}
.rheemo-campaign-preview-frame.is-mobile .rheemo-sponsored-card__footer .rheemo-btn{width:100%}
.rheemo-campaign-preview-note{margin:0;color:#7b8498;font-size:10px;line-height:1.5;text-align:center}
.rheemo-campaign-review{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr)}
.rheemo-campaign-review-ad{display:grid;gap:10px;padding:16px;border:1px solid #dfe4f1;border-radius:20px;background:#f6f8fc}
.rheemo-campaign-review-ad>.rheemo-native-panel__eyebrow{color:#69748b}
.rheemo-campaign-review-side{display:grid;gap:12px}
.rheemo-sponsored-card--review .rheemo-sponsored-card__media{max-height:340px}
.rheemo-campaign-wizard-actions{grid-template-columns:auto minmax(0,1fr) auto auto}
.rheemo-campaign-draft-button{white-space:nowrap}
.rheemo-campaign-card__actions--creative{display:flex!important;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.rheemo-campaign-card__creative-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.rheemo-campaign-card.is-draft .rheemo-campaign-card__status{color:#42526f;background:#edf1f7}
.rheemo-campaign-card.is-draft{border-style:dashed}

@media(max-width:1050px){
    .rheemo-campaign-studio-layout{grid-template-columns:1fr}
    .rheemo-campaign-preview-panel{position:relative;top:auto}
    .rheemo-campaign-preview-frame{max-width:680px}
}
@media(max-width:760px){
    .rheemo-campaign-creative-fields,.rheemo-campaign-tracking-grid{grid-template-columns:1fr}
    .rheemo-campaign-creative-text-field{grid-column:auto}
    .rheemo-campaign-image-choice{grid-template-columns:1fr}
    .rheemo-campaign-image-upload{grid-column:auto}
    .rheemo-campaign-review{grid-template-columns:1fr}
    .rheemo-campaign-wizard-actions{grid-template-columns:1fr 1fr}
    .rheemo-campaign-wizard-actions>div{grid-column:1/-1}
    .rheemo-campaign-draft-button{grid-column:1/-1}
}
@media(max-width:480px){
    .rheemo-campaign-preview-panel{padding:10px;border-radius:16px}
    .rheemo-campaign-preview-toolbar{align-items:flex-start;flex-direction:column}
    .rheemo-campaign-preview-toolbar>div{width:100%}
    .rheemo-campaign-preview-toolbar button{flex:1}
    .rheemo-campaign-card__actions--creative,.rheemo-campaign-card__creative-links{align-items:stretch;flex-direction:column;width:100%}
    .rheemo-campaign-card__actions--creative .rheemo-btn,.rheemo-campaign-card__actions--creative form{width:100%}
}


/* Rheemo Core 0.4.1 — modération publicitaire traçable. */
.rheemo-campaign-card.is-approved .rheemo-campaign-card__status{color:#087344;background:#e8f8ef}
.rheemo-campaign-card.is-suspended .rheemo-campaign-card__status{color:#a52c47;background:#ffedf1}
.rheemo-campaign-moderation-history{margin:12px 0;padding:10px 12px;border:1px solid #e0e6f0;border-radius:12px;background:#f8faff}
.rheemo-campaign-moderation-history summary{cursor:pointer;font-weight:800;color:#284ec2}
.rheemo-campaign-moderation-history ol{margin:10px 0 0 20px;padding:0}
.rheemo-campaign-moderation-history li{margin:0 0 10px;color:#27364f}
.rheemo-campaign-moderation-history li span{display:block;color:#77839a;font-size:12px}
.rheemo-campaign-moderation-history li p{margin:3px 0 0;line-height:1.45}
.rheemo-campaign-suspended-help{display:inline-flex;align-items:center;max-width:520px;padding:10px 12px;border:1px solid #f0b6c2;border-radius:10px;background:#fff1f4;color:#9a2941;font-weight:700;line-height:1.4}

/* Rheemo Core 0.4.2 — correction et nouvelle soumission des annonces. */
.rheemo-campaign-card.is-changes-requested .rheemo-campaign-card__status{color:#7a5712;background:#fff5d8}
.rheemo-campaign-correction{display:grid;gap:18px;border-color:#d9c9ff!important;background:linear-gradient(180deg,#fff 0,#fbf9ff 100%)}
.rheemo-correction-state{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;padding:8px 12px;border:1px solid #e6cf91;border-radius:999px;background:#fff5d8;color:#7a5712;font-size:12px;font-weight:850;white-space:nowrap}
.rheemo-correction-reason{padding:15px 17px;border-left:4px solid #ef9b2d;border-radius:12px;background:#fff8e8;color:#5f461c}
.rheemo-correction-reason strong{display:block;margin-bottom:5px;color:#4c3614}
.rheemo-correction-reason p{margin:0;line-height:1.55}
.rheemo-correction-locks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.rheemo-correction-locks span{display:grid;gap:4px;padding:12px 13px;border:1px solid #e1e6f0;border-radius:13px;background:#f7f9fd;color:#4a5872;font-size:12px}
.rheemo-correction-locks b{color:#202b47;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.rheemo-correction-alert{padding:12px 14px;border:1px solid #dce3ef;border-radius:12px;background:#f6f8fc;color:#46536c;font-weight:700;line-height:1.45}
.rheemo-correction-alert.is-success{border-color:#a7d9bd;background:#eaf8f0;color:#11613d}
.rheemo-correction-alert.is-warning{border-color:#eed48e;background:#fff6da;color:#755616}
.rheemo-correction-alert.is-danger{border-color:#efb6c2;background:#fff0f3;color:#982f46}
.rheemo-correction-form{display:grid;gap:16px}
.rheemo-correction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.rheemo-correction-grid label{display:grid;gap:7px;min-width:0}
.rheemo-correction-grid label.is-wide{grid-column:1/-1}
.rheemo-correction-grid label>span{display:flex;justify-content:space-between;gap:8px;color:#28344f;font-size:12px;font-weight:850}
.rheemo-correction-grid label small{color:#8992a5;font-weight:600}
.rheemo-correction-grid input,.rheemo-correction-grid select,.rheemo-correction-grid textarea{width:100%;min-height:46px;border:1px solid #dce2ee;border-radius:12px;padding:11px 13px;background:#fff;color:#1f2943}
.rheemo-correction-grid textarea{min-height:128px;resize:vertical;line-height:1.55}
.rheemo-correction-image{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:15px;border:1px solid #dfe5f0;border-radius:16px;background:#f8faff}
.rheemo-correction-image legend{padding:0 8px;color:#26314d;font-size:12px;font-weight:850}
.rheemo-correction-image label{display:flex;align-items:center;gap:7px;padding:10px;border:1px solid #e1e6f0;border-radius:11px;background:#fff;color:#3d4a64;font-size:12px;font-weight:750}
.rheemo-correction-image input[type="file"],.rheemo-correction-image small,.rheemo-correction-image img{grid-column:1/-1}
.rheemo-correction-image img{display:block;width:100%;max-height:280px;object-fit:cover;border-radius:13px}
.rheemo-correction-utm{border:1px solid #e0e6f0;border-radius:14px;background:#fff;overflow:hidden}
.rheemo-correction-utm summary{padding:13px 15px;cursor:pointer;color:#394764;font-weight:800;background:#f7f9fd}
.rheemo-correction-utm .rheemo-correction-grid{padding:14px}
.rheemo-correction-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding-top:4px}
@media(max-width:900px){.rheemo-correction-locks{grid-template-columns:repeat(2,minmax(0,1fr))}.rheemo-correction-image{grid-template-columns:1fr}}
@media(max-width:620px){.rheemo-correction-grid,.rheemo-correction-locks{grid-template-columns:1fr}.rheemo-correction-grid label.is-wide{grid-column:auto}.rheemo-correction-actions{align-items:stretch;flex-direction:column}.rheemo-correction-actions .rheemo-btn{width:100%;justify-content:center}}

/* Rheemo Core 0.4.4.1.3 — badge officiel uniforme dans toutes les identités membres */
.rheemo-official-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:-3px!important;flex:0 0 auto!important;width:18px!important;height:18px!important;min-width:18px!important;margin-left:5px!important;line-height:1!important}
.rheemo-official-badge svg{display:block!important;width:100%!important;height:100%!important}
.rheemo-request-item__body>a,.rheemo-group-member-strip a span,.rheemo-group-management-member__identity>a,.rheemo-review-card__author strong,.rheemo-member-card__name,.rheemo-suggestion-item__body strong{display:inline-flex;align-items:center;gap:4px;max-width:100%}

/* Rheemo Core 0.4.4.1.4 — badge image administrable */
.rheemo-official-badge.rheemo-official-badge--image{overflow:visible!important;background:transparent!important;box-shadow:none!important;clip-path:none!important}
.rheemo-official-badge.rheemo-official-badge--image img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;border:0!important;border-radius:0!important;box-shadow:none!important}


/* ==========================================================
   Rheemo Core 0.4.4.6.4 — complétion de profil centrée
   ========================================================== */
@media (min-width:1101px){
    .rheemo-onboarding-shell{
        width:60%;
        max-width:1200px;
        margin-left:auto;
        margin-right:auto;
    }
}
@media (min-width:761px) and (max-width:1100px){
    .rheemo-onboarding-shell{
        width:80%;
        max-width:none;
        margin-left:auto;
        margin-right:auto;
    }
}


/* =========================================================
   Rheemo Core v0.4.4.6.5 — Déconnexion dans le menu latéral
   ========================================================= */
.rheemo-social-feed .rheemo-native-side-nav .rheemo-side-nav__logout {
    margin-top: 7px;
    border-top: 1px solid rgba(239, 68, 68, .10);
    background: #fff7f7;
    color: #b42318 !important;
}

.rheemo-social-feed .rheemo-native-side-nav .rheemo-side-nav__logout:hover,
.rheemo-social-feed .rheemo-native-side-nav .rheemo-side-nav__logout:focus-visible {
    background: #feecec;
    color: #991b1b !important;
    transform: translateX(2px);
}


/* =========================================================
   Rheemo Core v0.4.4.6.11 — optimisation mobile du fil
   Icônes essentielles visibles, libellés allégés sur petit écran.
   Aucun style de paiement, portefeuille ou campagne n'est modifié.
   ========================================================= */
.rheemo-social-feed .rheemo-post-card__footer .rheemo-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.rheemo-social-feed .rheemo-post-card__footer .rheemo-action-label,
.rheemo-social-feed .rheemo-post-card__footer .rheemo-reaction-label {
    white-space: nowrap;
}

@media (max-width: 620px) {
    .rheemo-social-feed .rheemo-post-card {
        border-radius: 18px !important;
    }

    .rheemo-social-feed .rheemo-post-card__header {
        gap: 10px !important;
        padding-top: 14px !important;
        padding-bottom: 12px !important;
    }

    .rheemo-social-feed .rheemo-post-card__body {
        padding-top: 12px !important;
        padding-bottom: 14px !important;
    }

    .rheemo-social-feed .rheemo-post-stats {
        display: flex !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding-top: 9px !important;
        padding-bottom: 9px !important;
        font-size: 12px !important;
    }

    .rheemo-social-feed .rheemo-post-card__footer {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 8px 10px 10px !important;
    }

    .rheemo-social-feed .rheemo-post-card__footer form,
    .rheemo-social-feed .rheemo-post-card__footer a,
    .rheemo-social-feed .rheemo-post-card__footer button {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .rheemo-social-feed .rheemo-post-card__footer a,
    .rheemo-social-feed .rheemo-post-card__footer button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 46px !important;
        padding: 8px !important;
        font-size: 0 !important;
        border-radius: 14px !important;
    }

    .rheemo-social-feed .rheemo-post-card__footer .rheemo-action-icon,
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-reaction-button > span:first-child {
        font-size: 21px !important;
    }

    .rheemo-social-feed .rheemo-post-card__footer .rheemo-action-label,
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-reaction-label {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .rheemo-social-feed .rheemo-comments {
        padding-top: 10px !important;
        padding-bottom: 14px !important;
    }
}

@media (max-width: 380px) {
    .rheemo-social-feed .rheemo-post-card__footer {
        gap: 6px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .rheemo-social-feed .rheemo-post-stats {
        font-size: 11px !important;
    }
}


/* =========================================================
   Rheemo Core v0.4.4.6.12 — fil mobile compact et lisible
   Hero recentré, menu mobile épinglé, cloche visible et texte repliable.
   Aucun style de paiement, portefeuille ou campagne n'est modifié.
   ========================================================= */
.rheemo-social-feed .rheemo-feed-hero {
    text-align: center;
    align-items: center;
    justify-content: center;
}
.rheemo-social-feed .rheemo-feed-hero__content {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.rheemo-social-feed .rheemo-feed-hero__actions {
    justify-content: center;
}
.rheemo-social-feed .rheemo-hero-title-mobile { display: none; }
.rheemo-social-feed .rheemo-mobile-nav-bar { display: contents; }
.rheemo-social-feed .rheemo-mobile-notification-bell { display: none; }
.rheemo-social-feed .rheemo-post-text-toggle {
    display: none;
    margin: -5px 18px 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 900px) {
    .rheemo-social-feed.rheemo-view-feed .rheemo-mobile-nav-bar {
        position: sticky;
        top: 8px;
        z-index: 80;
        display: grid;
        grid-template-columns: minmax(0,1fr) 54px;
        gap: 9px;
        align-items: stretch;
        margin-bottom: 10px;
    }
    .rheemo-social-feed.rheemo-view-feed .rheemo-side-nav-toggle {
        min-width: 0;
    }
    .rheemo-social-feed.rheemo-view-feed .rheemo-mobile-notification-bell {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 54px;
        min-height: 50px;
        border: 1px solid rgba(236,72,153,.18);
        border-radius: 16px;
        background: linear-gradient(135deg,#ff3ca6,#7c3aed,#22b8f5);
        color: #fff;
        box-shadow: 0 12px 28px rgba(124,58,237,.18);
        text-decoration: none;
        font-size: 21px;
    }
    .rheemo-social-feed.rheemo-view-feed .rheemo-mobile-notification-bell strong {
        position: absolute;
        top: -5px;
        right: -4px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        border: 2px solid #fff;
        border-radius: 999px;
        background: #ef2b7a;
        color: #fff;
        font-size: 10px;
        line-height: 1;
    }
}

@media (max-width: 620px) {
    .rheemo-social-feed.rheemo-view-feed .rheemo-feed-hero {
        min-height: 0 !important;
        padding: 24px 20px !important;
        border-radius: 24px !important;
        text-align: center !important;
    }
    .rheemo-social-feed.rheemo-view-feed .rheemo-feed-hero__content,
    .rheemo-social-feed.rheemo-view-feed .rheemo-feed-hero__content p {
        text-align: center !important;
    }
    .rheemo-social-feed.rheemo-view-feed .rheemo-feed-hero__eyebrow {
        margin-left: auto;
        margin-right: auto;
    }
    .rheemo-social-feed.rheemo-view-feed .rheemo-feed-hero h1 {
        margin: 12px 0 8px !important;
        font-size: clamp(25px,7vw,31px) !important;
        line-height: 1.08 !important;
        white-space: nowrap;
    }
    .rheemo-social-feed.rheemo-view-feed .rheemo-hero-title-desktop { display: none; }
    .rheemo-social-feed.rheemo-view-feed .rheemo-hero-title-mobile { display: inline; }
    .rheemo-social-feed.rheemo-view-feed .rheemo-feed-hero__content p {
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.55 !important;
    }
    .rheemo-social-feed.rheemo-view-feed .rheemo-feed-hero__actions { display: none !important; }

    .rheemo-social-feed.rheemo-view-feed .rheemo-post-card__body-wrap {
        position: relative;
    }
    .rheemo-social-feed.rheemo-view-feed .rheemo-post-card__body.is-collapsed {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }
    .rheemo-social-feed.rheemo-view-feed .rheemo-post-text-toggle:not([hidden]) {
        display: inline-flex;
    }
}


/* =========================================================
   Rheemo Core v0.4.4.6.13 — ajustements validés du fil social
   - Actions du hero supprimées sur /fil-social/ sur tous les appareils.
   - Barre Menu + Notifications réellement épinglée sur téléphone.
   - Types Publication / Opportunité / Question alignés sur une ligne.
   Aucun style de paiement, portefeuille ou campagne n'est modifié.
   ========================================================= */
.rheemo-social-feed.rheemo-view-feed .rheemo-feed-hero__actions {
    display: none !important;
}

@media (max-width: 900px) {
    /* display:contents libère la barre mobile de la hauteur limitée de l'aside,
       afin que position:sticky reste actif pendant le défilement du fil. */
    .rheemo-social-feed.rheemo-view-feed .rheemo-feed-left {
        display: contents !important;
    }

    .rheemo-social-feed.rheemo-view-feed .rheemo-mobile-nav-bar {
        position: sticky !important;
        top: 8px !important;
        z-index: 999 !important;
        grid-column: 1 / -1;
        width: 100%;
        background: rgba(248, 250, 255, .94);
        padding: 5px 0;
        border-radius: 18px;
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }

    .rheemo-social-feed.rheemo-view-feed .rheemo-native-side-nav {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .rheemo-social-feed.rheemo-view-feed .rheemo-composer__meta {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: center !important;
    }

    .rheemo-social-feed.rheemo-view-feed .rheemo-post-types {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        width: 100% !important;
        gap: 6px !important;
    }

    .rheemo-social-feed.rheemo-view-feed .rheemo-post-types label {
        display: inline-flex !important;
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 9px 4px !important;
        white-space: nowrap !important;
        font-size: 11px !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
    }

    .rheemo-social-feed.rheemo-view-feed .rheemo-post-types input {
        flex: 0 0 auto;
        width: 15px;
        height: 15px;
        margin: 0;
    }

    .rheemo-social-feed.rheemo-view-feed .rheemo-counter {
        justify-self: start;
    }
}


/* =========================================================
   Rheemo Core v0.4.4.6.14 — suggestions mobiles horizontales
   ========================================================= */
.rheemo-social-feed .rheemo-mobile-suggestions {
    display: none;
}

@media (max-width: 760px) {
    .rheemo-social-feed .rheemo-mobile-suggestions {
        display: block;
        margin: 0 0 16px;
        padding: 15px 0 14px;
        overflow: hidden;
        border: 1px solid rgba(75, 85, 160, .10);
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 12px 32px rgba(35, 41, 83, .07);
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 15px 12px;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__header span {
        display: block;
        color: #8a4fe8;
        font-size: 10px;
        font-weight: 900;
        letter-spacing: .07em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__header h3 {
        margin: 3px 0 0 !important;
        color: #182033;
        font-size: 17px;
        line-height: 1.2;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__track.rheemo-suggestion-list {
        display: flex;
        gap: 11px;
        overflow-x: auto;
        padding: 1px 15px 5px;
        scroll-padding-inline: 15px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__track::-webkit-scrollbar {
        display: none;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card.rheemo-suggestion-item {
        display: flex;
        flex: 0 0 102px;
        flex-direction: column;
        align-items: center;
        gap: 7px;
        min-width: 102px;
        padding: 11px 8px 10px;
        border: 1px solid rgba(76, 83, 155, .09);
        border-radius: 18px;
        background: linear-gradient(160deg, #ffffff 0%, #f8f7ff 100%);
        box-shadow: 0 7px 19px rgba(46, 55, 105, .06);
        scroll-snap-align: start;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__avatar {
        position: relative;
        display: block;
        width: 68px;
        height: 68px;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__avatar img {
        display: block;
        width: 68px;
        height: 68px;
        object-fit: cover;
        border: 3px solid #fff;
        border-radius: 50%;
        box-shadow: 0 7px 17px rgba(44, 53, 107, .17);
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__avatar .rheemo-presence-dot {
        position: absolute;
        right: 1px;
        bottom: 2px;
        width: 14px;
        height: 14px;
        border: 3px solid #fff;
        border-radius: 50%;
        box-sizing: border-box;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__name {
        display: block;
        width: 100%;
        overflow: hidden;
        color: #172033 !important;
        font-size: 12px;
        font-weight: 900;
        line-height: 1.2;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card .rheemo-friend-request,
    .rheemo-social-feed .rheemo-mobile-suggestion-card .rheemo-suggestion-item__profile {
        width: 100%;
        min-width: 0;
        min-height: 31px;
        padding: 7px 6px !important;
        border-radius: 10px !important;
        font-size: 10px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions .rheemo-network-feedback {
        padding: 0 15px;
    }
}


/* =========================================================
   Rheemo Core v0.4.4.6.18 — navigation mobile de la messagerie
   Le menu Rheemo et la cloche restent visibles et épinglés sur téléphone.
   La carte profil latérale reste masquée afin de préserver l'espace utile.
   Aucun style de paiement, portefeuille ou campagne n'est modifié.
   ========================================================= */
@media (max-width: 820px) {
    .rheemo-social-feed.rheemo-messages-shell .rheemo-feed-left {
        display: contents !important;
    }

    .rheemo-social-feed.rheemo-messages-shell .rheemo-profile-mini {
        display: none !important;
    }

    .rheemo-social-feed.rheemo-messages-shell .rheemo-mobile-nav-bar {
        position: sticky !important;
        top: max(8px, env(safe-area-inset-top)) !important;
        z-index: 999 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 54px !important;
        gap: 9px !important;
        align-items: stretch !important;
        grid-column: 1 / -1;
        width: 100%;
        margin: 0 0 10px !important;
        padding: 5px 0;
        border-radius: 18px;
        background: rgba(248, 250, 255, .95);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }

    .rheemo-social-feed.rheemo-messages-shell .rheemo-side-nav-toggle {
        min-width: 0;
    }

    .rheemo-social-feed.rheemo-messages-shell .rheemo-mobile-notification-bell {
        position: relative;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 54px;
        min-height: 50px;
        border: 1px solid rgba(236, 72, 153, .18);
        border-radius: 16px;
        background: linear-gradient(135deg, #ff3ca6, #7c3aed, #22b8f5);
        color: #fff !important;
        box-shadow: 0 12px 28px rgba(124, 58, 237, .18);
        text-decoration: none !important;
        font-size: 21px;
    }

    .rheemo-social-feed.rheemo-messages-shell .rheemo-mobile-notification-bell strong {
        position: absolute;
        top: -5px;
        right: -4px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        border: 2px solid #fff;
        border-radius: 999px;
        background: #ef2b7a;
        color: #fff;
        font-size: 10px;
        line-height: 1;
    }

    .rheemo-social-feed.rheemo-messages-shell .rheemo-native-side-nav {
        grid-column: 1 / -1;
        margin-top: 0 !important;
    }
}


/* ==========================================================
   Rheemo Core 0.4.5.3.4 — Membres instantanés et Pages en 3 colonnes
   ========================================================== */
.rheemo-members-view-switch{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
    padding:7px;margin:0 0 16px;border-radius:20px;background:#f2f4f8;
    border:1px solid #e4e7ec;box-shadow:none
}
.rheemo-members-view-switch button{
    min-height:48px;border:0;border-radius:15px;background:transparent;color:#4b5565;
    font:inherit;font-weight:950;cursor:pointer;transition:.2s ease
}
.rheemo-members-view-switch button.is-active{
    color:#fff;background:linear-gradient(135deg,#15163d,#5b2cf6);
    box-shadow:0 10px 24px rgba(36,20,120,.2)
}
.rheemo-members-panel[hidden]{display:none!important}
.rheemo-members-inline-discovery{padding:24px!important;margin:0!important;max-width:none!important}
.rheemo-members-discovery-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px}
.rheemo-members-discovery-header h2{margin:5px 0 6px;font-size:clamp(27px,3vw,38px);line-height:1.1;color:#11172f}
.rheemo-members-discovery-header p{margin:0;color:#687386;line-height:1.55}
.rheemo-members-inline-discovery .rmd-count{min-width:126px;padding:13px 15px;border:1px solid #e7e9f0;background:#f9faff}
.rheemo-members-inline-discovery .rmd-searchbar{margin:12px 0}
.rheemo-members-inline-discovery .rmd-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rheemo-members-inline-discovery .rmd-filters>button{grid-column:1/-1;justify-self:start}
.rheemo-members-inline-discovery .rmd-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px}
.rheemo-members-inline-discovery .rmd-card{min-height:100%}
.rheemo-view-page .rheemo-feed-main{min-width:0}
.rheemo-view-page .rheemo-page-profile--premium{container-type:inline-size}
@media(max-width:1180px){
    .rheemo-members-inline-discovery .rmd-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
    .rheemo-members-view-switch{position:sticky;top:8px;z-index:8}
    .rheemo-members-discovery-header{flex-direction:column}
    .rheemo-members-inline-discovery .rmd-count{width:100%}
    .rheemo-members-inline-discovery .rmd-filters,.rheemo-members-inline-discovery .rmd-grid{grid-template-columns:1fr!important}
    .rheemo-members-inline-discovery{padding:18px!important}
}


/* Rheemo 0.4.5.4.3 — centre de notifications compact et organisé */
.rheemo-social-feed .rheemo-notification-header-actions-v04543{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.rheemo-social-feed .rheemo-notification-header-actions-v04543>a,.rheemo-social-feed .rheemo-notification-unread-total-v04543{display:inline-flex;align-items:center;min-height:42px;padding:9px 14px;border-radius:12px;background:#f5f3ff;color:#4c35d8;font-size:12px;font-weight:900;text-decoration:none}
.rheemo-social-feed .rheemo-notifications-workspace-v04543{padding:18px!important;overflow:visible}
.rheemo-social-feed .rheemo-notifications-toolbar-v04543{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:16px;border-bottom:1px solid #edf0f6}
.rheemo-social-feed .rheemo-notification-tabs-v04543{display:inline-flex;align-items:center;gap:5px;padding:5px;border-radius:15px;background:#f3f5fb}
.rheemo-social-feed .rheemo-notification-tabs-v04543 button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:9px 14px;border:0;border-radius:11px;background:transparent;color:#58627a;font-size:13px;font-weight:900;cursor:pointer}
.rheemo-social-feed .rheemo-notification-tabs-v04543 button span{display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#fff;color:#5a44db;font-size:10px}
.rheemo-social-feed .rheemo-notification-tabs-v04543 button.is-active{background:linear-gradient(135deg,#376cf2,#5d3cf0 58%,#d93bac);color:#fff;box-shadow:0 8px 22px rgba(83,61,224,.19)}
.rheemo-social-feed .rheemo-notification-tabs-v04543 button.is-active span{background:rgba(255,255,255,.19);color:#fff}
.rheemo-social-feed .rheemo-notification-filter-v04543 select{min-width:210px;min-height:44px;padding:0 42px 0 14px!important;border:1px solid #e1e5f0!important;border-radius:13px!important;background:#fff!important;color:#25304a!important;font-size:13px!important;font-weight:800!important;box-shadow:none!important}
.rheemo-social-feed .rheemo-notification-list-v04543{padding-top:8px}
.rheemo-social-feed .rheemo-notification-date-group-v04543>h3{margin:15px 4px 8px!important;color:#778198;font-size:11px!important;font-weight:900!important;letter-spacing:.08em;text-transform:uppercase}
.rheemo-social-feed .rheemo-notification-date-group-v04543>div{display:grid;gap:7px}
.rheemo-social-feed .rheemo-notification-item-v04543{position:relative;display:grid!important;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:72px;padding:10px 13px!important;border:1px solid #edf0f6!important;border-radius:16px!important;background:#fff!important;text-decoration:none!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.rheemo-social-feed .rheemo-notification-item-v04543:hover{transform:translateY(-1px);border-color:#dfe2f3!important;box-shadow:0 10px 25px rgba(31,42,89,.07)}
.rheemo-social-feed .rheemo-notification-item-v04543.is-unread{border-color:#ded8ff!important;background:linear-gradient(100deg,#f8f7ff 0%,#fff 78%)!important}
.rheemo-social-feed .rheemo-notification-item-v04543__visual{position:relative;display:grid;place-items:center;width:46px;height:46px}
.rheemo-social-feed .rheemo-notification-item-v04543__visual>img,.rheemo-social-feed .rheemo-notification-item-v04543__visual>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;object-fit:cover;background:#f0efff;font-size:20px}
.rheemo-social-feed .rheemo-notification-item-v04543__visual>b{position:absolute;right:-4px;bottom:-4px;display:grid;place-items:center;width:22px;height:22px;border:2px solid #fff;border-radius:8px;background:#f5f3ff;font-size:11px;line-height:1}
.rheemo-social-feed .rheemo-notification-item-v04543 .rheemo-notification-item__body{min-width:0;display:grid;gap:2px}
.rheemo-social-feed .rheemo-notification-item-v04543 .rheemo-notification-item__body strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#172033;font-size:13px}
.rheemo-social-feed .rheemo-notification-item-v04543 .rheemo-notification-item__body>span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;color:#69738b;font-size:12px;line-height:1.45}
.rheemo-social-feed .rheemo-notification-item-v04543 .rheemo-notification-item__body small{color:#98a0b3;font-size:10px}
.rheemo-social-feed .rheemo-notification-item-v04543>i{width:9px;height:9px;margin-right:2px;border-radius:50%;background:#e92f82;box-shadow:0 0 0 4px rgba(233,47,130,.10)}
.rheemo-social-feed .rheemo-notifications-empty-v04543{padding:45px 18px;text-align:center}
.rheemo-social-feed .rheemo-notifications-empty-v04543>span{font-size:34px}.rheemo-social-feed .rheemo-notifications-empty-v04543 h3{margin:9px 0 5px!important;font-size:18px!important}.rheemo-social-feed .rheemo-notifications-empty-v04543 p{margin:0;color:#7b8498}
.rheemo-social-feed .rheemo-notification-more-v04543{padding-top:15px;text-align:center}
.rheemo-social-feed .rheemo-notification-more-v04543 button{min-height:43px;padding:10px 18px;border:1px solid #e0e4ef;border-radius:13px;background:#f8f9fd;color:#4933d2;font-size:12px;font-weight:900;cursor:pointer}
.rheemo-social-feed [hidden]{display:none!important}
@media(max-width:780px){
 .rheemo-social-feed .rheemo-notification-header-actions-v04543{justify-content:flex-start}
 .rheemo-social-feed .rheemo-notification-unread-total-v04543{min-height:36px;padding:7px 11px}
 .rheemo-social-feed .rheemo-notifications-workspace-v04543{padding:13px!important}
 .rheemo-social-feed .rheemo-notifications-toolbar-v04543{align-items:stretch;flex-direction:column;gap:10px}
 .rheemo-social-feed .rheemo-notification-tabs-v04543{display:grid;grid-template-columns:1fr 1fr;width:100%}
 .rheemo-social-feed .rheemo-notification-tabs-v04543 button{justify-content:center}
 .rheemo-social-feed .rheemo-notification-filter-v04543,.rheemo-social-feed .rheemo-notification-filter-v04543 select{width:100%;min-width:0}
 .rheemo-social-feed .rheemo-notification-item-v04543{grid-template-columns:44px minmax(0,1fr) auto;gap:10px;min-height:66px;padding:9px 10px!important;border-radius:14px!important}
 .rheemo-social-feed .rheemo-notification-item-v04543__visual,.rheemo-social-feed .rheemo-notification-item-v04543__visual>img,.rheemo-social-feed .rheemo-notification-item-v04543__visual>span{width:42px;height:42px;border-radius:13px}
}

/* =========================================================
   Rheemo Core v0.4.5.4.4 — sections adaptatives Web / application
   Ordinateur : contenu à gauche, actions à droite.
   Application mobile : suppression des grands bandeaux et conservation
   des seules actions, sur une ligne compacte et défilable.
   ========================================================= */
@media (min-width:781px){
  .rheemo-social-feed .rheemo-feed-hero.rheemo-feed-hero--with-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:28px!important;
    text-align:left!important;
  }
  .rheemo-social-feed .rheemo-feed-hero.rheemo-feed-hero--with-actions .rheemo-feed-hero__content{
    flex:1 1 auto!important;
    width:auto!important;
    max-width:760px!important;
    margin:0!important;
    text-align:left!important;
  }
  .rheemo-social-feed .rheemo-feed-hero.rheemo-feed-hero--with-actions .rheemo-feed-hero__content p{
    margin-left:0!important;
    margin-right:0!important;
    text-align:left!important;
  }
  .rheemo-social-feed .rheemo-feed-hero.rheemo-feed-hero--with-actions .rheemo-feed-hero__actions{
    display:flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:flex-end!important;
    margin-left:auto!important;
    text-align:right!important;
  }
}

@media (max-width:780px){
  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-feed-hero,
  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-native-view-header{
    display:none!important;
  }
  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-feed-hero.rheemo-app-action-section-v04544{
    display:block!important;
    min-height:0!important;
    margin:0 0 12px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-feed-hero.rheemo-app-action-section-v04544::after,
  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-feed-hero.rheemo-app-action-section-v04544 .rheemo-feed-hero__content{
    display:none!important;
  }
  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-feed-hero.rheemo-app-action-section-v04544 .rheemo-feed-hero__actions{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    gap:9px!important;
    margin:0!important;
    padding:4px 2px 8px!important;
    overflow-x:auto!important;
    overscroll-behavior-inline:contain!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-feed-hero.rheemo-app-action-section-v04544 .rheemo-feed-hero__actions::-webkit-scrollbar{display:none!important}
  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-feed-hero.rheemo-app-action-section-v04544 .rheemo-btn{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    min-height:44px!important;
    padding:0 16px!important;
    white-space:nowrap!important;
    border-radius:15px!important;
    font-size:13px!important;
  }
  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-feed-hero.rheemo-app-action-section-v04544 .rheemo-btn-primary{
    color:#fff!important;
    background:linear-gradient(135deg,#2563eb,#6d35e8 60%,#dc3b9f)!important;
    box-shadow:0 9px 20px rgba(82,55,220,.20)!important;
  }
  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-feed-hero.rheemo-app-action-section-v04544 .rheemo-btn-ghost{
    color:#3827a9!important;
    background:#fff!important;
    border:1px solid #dfe3f4!important;
    box-shadow:0 7px 18px rgba(25,34,79,.08)!important;
  }

  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-native-view-header.rheemo-app-action-section-v04544{
    display:block!important;
    margin:0 0 12px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-native-view-header.rheemo-app-action-section-v04544>div:first-child{
    display:none!important;
  }
  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-native-view-header.rheemo-app-action-section-v04544 .rheemo-native-view-header__action{
    display:flex!important;
    width:100%!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    gap:9px!important;
    overflow-x:auto!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-native-view-header.rheemo-app-action-section-v04544 .rheemo-native-view-header__action::-webkit-scrollbar{display:none!important}
  .rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-native-view-header.rheemo-app-action-section-v04544 .rheemo-btn{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    min-height:44px!important;
    padding:0 16px!important;
    white-space:nowrap!important;
    border-radius:15px!important;
  }
}


/* ==========================================================
   Rheemo Core 0.4.5.4.5 — application mobile épurée et vues natives responsives
   ========================================================== */
@media (max-width: 900px) {
  /* Dans l'application uniquement : le grand bandeau contextuel disparaît
     entièrement, boutons compris. Les actions utiles restent dans le contenu. */
  html.rheemo-app-mode-v04545 .rheemo-social-feed .rheemo-feed-hero,
  body.rheemo-app-mode-v04545 .rheemo-social-feed .rheemo-feed-hero,
  html.rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-feed-hero,
  body.rheemo-app-mode-v04544 .rheemo-social-feed .rheemo-feed-hero {
    display: none !important;
  }

  /* Base anti-débordement commune aux espaces natifs. */
  .rheemo-native-space,
  .rheemo-native-space > .rheemo-app-shell,
  .rheemo-native-space .rheemo-feed-grid,
  .rheemo-native-space .rheemo-feed-main,
  .rheemo-native-space .rheemo-members-panel,
  .rheemo-native-space .rheemo-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .rheemo-native-space,
  .rheemo-native-space > .rheemo-app-shell,
  .rheemo-native-space .rheemo-feed-main {
    overflow-x: clip !important;
  }

  /* Le menu mobile reste visible et ses liens ouvrent les routes natives. */
  .rheemo-native-space .rheemo-mobile-nav-bar {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 680px) {
  .rheemo-native-space {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .rheemo-native-space > .rheemo-spaces-switcher {
    width: 100% !important;
    max-width: 100% !important;
    gap: 4px !important;
    padding: 5px !important;
    overflow: hidden !important;
  }
  .rheemo-native-space > .rheemo-spaces-switcher a {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 10px 5px !important;
    font-size: 13px !important;
  }

  /* Mes relations / Découvrir : deux boutons réellement contenus dans l'écran. */
  .rheemo-view-relations .rheemo-members-view-switch {
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 5px !important;
    margin: 0 0 12px !important;
    padding: 5px !important;
    overflow: hidden !important;
    border-radius: 17px !important;
  }
  .rheemo-view-relations .rheemo-members-view-switch button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 7px 4px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-size: clamp(10.5px, 3.15vw, 12.5px) !important;
    line-height: 1.1 !important;
  }

  /* En-tête et recherche de Mes relations. */
  .rheemo-view-relations .rheemo-native-view-header {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px !important;
    gap: 12px !important;
    overflow: hidden !important;
    border-radius: 18px !important;
  }
  .rheemo-view-relations .rheemo-native-view-header__action,
  .rheemo-view-relations .rheemo-network-search,
  .rheemo-view-relations .rheemo-network-search input,
  .rheemo-view-relations .rheemo-network-search button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .rheemo-view-relations .rheemo-network-search {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 8px !important;
  }

  /* Cartes des relations. */
  .rheemo-view-relations .rheemo-native-panel {
    padding: 14px !important;
    overflow: hidden !important;
    border-radius: 18px !important;
  }
  .rheemo-view-relations .rheemo-native-grid {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 10px !important;
  }
  .rheemo-view-relations .rheemo-member-card {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: 56px minmax(0,1fr) !important;
    gap: 10px !important;
    padding: 12px !important;
  }
  .rheemo-view-relations .rheemo-member-card__avatar,
  .rheemo-view-relations .rheemo-member-card__avatar img {
    width: 56px !important;
    height: 56px !important;
  }
  .rheemo-view-relations .rheemo-member-card__body,
  .rheemo-view-relations .rheemo-member-card__name,
  .rheemo-view-relations .rheemo-member-card__body > span {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .rheemo-view-relations .rheemo-member-card__actions {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    width: 100% !important;
    gap: 6px !important;
  }
  .rheemo-view-relations .rheemo-member-card__actions a,
  .rheemo-view-relations .rheemo-member-card__actions button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 7px 4px !important;
    white-space: nowrap !important;
    font-size: 9.5px !important;
  }

  /* Découverte des membres : aucune largeur fixe, aucun élément hors écran. */
  .rheemo-view-relations .rheemo-members-inline-discovery,
  .rheemo-view-relations .rmd-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 14px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 18px !important;
  }
  .rheemo-view-relations .rheemo-members-discovery-header {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    width: 100% !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
  }
  .rheemo-view-relations .rheemo-members-discovery-header > div,
  .rheemo-view-relations .rheemo-members-discovery-header h2,
  .rheemo-view-relations .rheemo-members-discovery-header p {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
  .rheemo-view-relations .rheemo-members-discovery-header h2 {
    font-size: clamp(25px,8vw,32px) !important;
  }
  .rheemo-view-relations .rmd-count {
    width: 100% !important;
    min-width: 0 !important;
    text-align: left !important;
  }
  .rheemo-view-relations .rmd-searchbar {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .rheemo-view-relations .rmd-searchbar input,
  .rheemo-view-relations .rmd-searchbar button,
  .rheemo-view-relations .rmd-filters,
  .rheemo-view-relations .rmd-filters select,
  .rheemo-view-relations .rmd-filters button,
  .rheemo-view-relations .rmd-grid,
  .rheemo-view-relations .rmd-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .rheemo-view-relations .rmd-searchbar button {
    min-height: 48px !important;
  }
  .rheemo-view-relations .rmd-tabs {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .rheemo-view-relations .rmd-tabs::-webkit-scrollbar { display: none !important; }
  .rheemo-view-relations .rmd-tabs button { flex: 0 0 auto !important; }
  .rheemo-view-relations .rmd-filters,
  .rheemo-view-relations .rmd-grid {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 9px !important;
  }
}

/* Rheemo Core 0.4.5.5.0 — navigation locale Membres en trois vues. */
.rheemo-social-feed .rheemo-members-view-switch a{
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  padding:10px 16px;border:0;border-radius:13px;background:transparent;color:#5f667a;
  text-decoration:none;font-size:13px;font-weight:900;white-space:nowrap
}
.rheemo-social-feed .rheemo-members-view-switch a.is-active{color:#fff;background:linear-gradient(135deg,#2432a5,#6330ed 65%,#d83cae);box-shadow:0 7px 18px rgba(83,55,220,.2)}
.rheemo-social-feed .rheemo-members-view-switch a span{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:999px;background:#ef2b78;color:#fff;font-size:10px}
@media(max-width:680px){
  .rheemo-view-relations .rheemo-members-view-switch{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .rheemo-view-relations .rheemo-members-view-switch a{width:100%!important;min-width:0!important;padding:7px 4px!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:clamp(10px,3vw,12px)!important}
}

/* =========================================================
   Rheemo Core 0.4.5.5.2 — actions de profil lisibles sur ordinateur
   ========================================================= */
@media (min-width: 821px) {
    .rheemo-social-feed .rheemo-native-profile__actions {
        display: flex !important;
        align-items: stretch !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        min-width: 330px !important;
        max-width: 390px !important;
    }
    .rheemo-social-feed .rheemo-native-profile__actions .rheemo-btn,
    .rheemo-social-feed .rheemo-native-profile__actions button {
        min-width: 0 !important;
        width: auto !important;
        min-height: 48px !important;
        padding: 0 20px !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        font-size: 13px !important;
        line-height: 1 !important;
    }
    .rheemo-social-feed .rheemo-native-profile__actions .rheemo-btn-message {
        flex: 0 0 128px !important;
    }
    .rheemo-social-feed .rheemo-native-profile__actions .rheemo-friend-request {
        flex: 1 1 188px !important;
        min-width: 188px !important;
        border: 1px solid rgba(255,255,255,.2) !important;
        color: #fff !important;
        text-shadow: 0 1px 1px rgba(31, 23, 84, .3) !important;
        box-shadow: 0 12px 26px rgba(64, 55, 201, .24) !important;
    }
}

@media (min-width: 821px) and (max-width: 1120px) {
    .rheemo-social-feed .rheemo-native-profile__identity {
        grid-template-columns: 130px minmax(0,1fr) !important;
    }
    .rheemo-social-feed .rheemo-native-profile__avatar {
        width: 130px !important;
        height: 130px !important;
    }
    .rheemo-social-feed .rheemo-native-profile__actions {
        grid-column: 2 !important;
        justify-self: end !important;
        margin-top: 10px !important;
    }
}


/* =========================================================
   Rheemo Core 0.4.5.5.4 — navigation Membres unifiée
   ========================================================= */
.rheemo-social-feed.rheemo-view-relations .rheemo-feed-hero__actions,
.rheemo-social-feed.rheemo-view-requests .rheemo-feed-hero__actions{
    display:none!important;
}
.rheemo-social-feed .rheemo-members-view-switch{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 16px!important;
    padding:6px!important;
    overflow:visible!important;
    border:1px solid #e8eaf2!important;
    border-radius:18px!important;
    background:#f4f5fa!important;
    box-shadow:none!important;
}
.rheemo-social-feed .rheemo-members-view-switch>button,
.rheemo-social-feed .rheemo-members-view-switch>a{
    position:relative!important;
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    margin:0!important;
    padding:10px 12px!important;
    overflow:visible!important;
    border:0!important;
    border-radius:13px!important;
    background:transparent!important;
    color:#535b70!important;
    text-decoration:none!important;
    text-align:center!important;
    white-space:nowrap!important;
    font:inherit!important;
    font-size:13px!important;
    font-weight:900!important;
    line-height:1.1!important;
    cursor:pointer!important;
    transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.rheemo-social-feed .rheemo-members-view-switch>button:hover,
.rheemo-social-feed .rheemo-members-view-switch>a:hover{
    background:#ebeaf8!important;
    color:#332a90!important;
}
.rheemo-social-feed .rheemo-members-view-switch>.is-active{
    color:#fff!important;
    background:linear-gradient(135deg,#23245f 0%,#5631e9 62%,#cf3aa9 100%)!important;
    box-shadow:0 8px 20px rgba(72,50,191,.2)!important;
}
.rheemo-social-feed .rheemo-members-view-switch>.is-active:hover{
    color:#fff!important;
}
.rheemo-social-feed .rheemo-members-view-switch>a span{
    position:static!important;
    display:inline-flex!important;
    min-width:21px!important;
    height:21px!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 6px!important;
    border:2px solid #fff!important;
    border-radius:999px!important;
    background:#ee2f78!important;
    color:#fff!important;
    font-size:10px!important;
    font-weight:950!important;
    line-height:1!important;
}
@media(max-width:680px){
    .rheemo-social-feed .rheemo-members-view-switch{
        position:sticky!important;
        top:calc(70px + env(safe-area-inset-top,0px))!important;
        z-index:100!important;
        gap:4px!important;
        margin-bottom:12px!important;
        padding:4px!important;
        border-radius:16px!important;
        background:rgba(248,249,253,.96)!important;
        -webkit-backdrop-filter:blur(12px)!important;
        backdrop-filter:blur(12px)!important;
    }
    .rheemo-social-feed .rheemo-members-view-switch>button,
    .rheemo-social-feed .rheemo-members-view-switch>a{
        min-height:43px!important;
        padding:7px 4px!important;
        font-size:clamp(10px,2.9vw,12px)!important;
        letter-spacing:-.08px!important;
    }
    .rheemo-social-feed .rheemo-members-view-switch>a span{
        min-width:18px!important;
        height:18px!important;
        padding:0 4px!important;
        border-width:1px!important;
        font-size:9px!important;
    }
}


/* =========================================================
   Rheemo Core v0.4.5.6 — menu d’actions des publications
   ========================================================= */
.rheemo-social-feed .rheemo-post-header-actions {
    position: relative;
    z-index: 20;
    align-self: flex-start;
}

.rheemo-social-feed .rheemo-post-actions-menu {
    position: relative;
}

.rheemo-social-feed .rheemo-post-menu-toggle {
    display: grid;
    place-items: center;
    padding: 0 !important;
    cursor: pointer !important;
    font-size: 18px !important;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 1px;
    color: #475569 !important;
    background: #f1f5f9 !important;
    border: 1px solid transparent !important;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.rheemo-social-feed .rheemo-post-menu-toggle:hover,
.rheemo-social-feed .rheemo-post-menu-toggle:focus-visible,
.rheemo-social-feed .rheemo-post-actions-menu.is-open .rheemo-post-menu-toggle {
    color: #1d4ed8 !important;
    background: #eff6ff !important;
    border-color: rgba(37, 99, 235, .18) !important;
    transform: none;
}

.rheemo-social-feed .rheemo-post-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 100;
    width: min(270px, calc(100vw - 48px));
    padding: 7px;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
}

.rheemo-social-feed .rheemo-post-menu-panel[hidden] {
    display: none !important;
}

.rheemo-social-feed .rheemo-post-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 43px;
    padding: 9px 11px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #243047;
    text-align: left;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}

.rheemo-social-feed .rheemo-post-menu-item span {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: 0;
    font-size: 15px;
}

.rheemo-social-feed .rheemo-post-menu-item:hover,
.rheemo-social-feed .rheemo-post-menu-item:focus-visible {
    background: #f1f5f9;
    color: #1d4ed8;
    outline: none;
}

.rheemo-social-feed .rheemo-post-menu-item.is-danger {
    color: #b42318;
}

.rheemo-social-feed .rheemo-post-menu-item.is-danger:hover,
.rheemo-social-feed .rheemo-post-menu-item.is-danger:focus-visible {
    color: #b42318;
    background: #fff1f2;
}

.rheemo-social-feed .rheemo-post-menu-item:disabled {
    opacity: .62;
    cursor: default;
}

.rheemo-social-feed .rheemo-post-menu-form,
.rheemo-social-feed .rheemo-post-menu-form .rheemo-post-menu-item {
    width: 100%;
    margin: 0;
}

.rheemo-social-feed .rheemo-post-edit-form {
    margin: 16px 20px 4px;
    padding: 16px;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fbff, #fff);
}

.rheemo-social-feed .rheemo-post-edit-form[hidden] {
    display: none !important;
}

.rheemo-social-feed .rheemo-post-edit-form label {
    display: block;
    margin-bottom: 9px;
    color: #172033;
    font-size: 13px;
    font-weight: 900;
}

.rheemo-social-feed .rheemo-post-edit-form textarea {
    display: block;
    width: 100%;
    min-height: 130px;
    padding: 13px 14px;
    resize: vertical;
    border: 1px solid #d8e0ed;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    font: inherit;
    font-size: 15px;
    line-height: 1.6;
    outline: none;
}

.rheemo-social-feed .rheemo-post-edit-form textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .11);
}

.rheemo-social-feed .rheemo-post-edit-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 11px;
}

.rheemo-social-feed .rheemo-post-edit-form__footer > div {
    display: flex;
    gap: 8px;
}

.rheemo-social-feed .rheemo-post-edit-counter,
.rheemo-social-feed .rheemo-post-edit-form small {
    color: #667085;
    font-size: 12px;
    font-weight: 750;
}

.rheemo-social-feed .rheemo-post-edit-form small {
    display: block;
    margin-top: 9px;
}

.rheemo-social-feed .rheemo-post-card.is-removing {
    opacity: 0;
    transform: translateY(-8px) scale(.985) !important;
    pointer-events: none;
}

.rheemo-social-feed .rheemo-post-card.is-linked-post {
    border-color: rgba(37, 99, 235, .45) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10), 0 24px 60px rgba(15, 23, 42, .12) !important;
}

@media (max-width: 620px) {
    .rheemo-social-feed .rheemo-post-menu-panel {
        width: min(260px, calc(100vw - 34px));
    }

    .rheemo-social-feed .rheemo-post-edit-form {
        margin: 13px 14px 2px;
        padding: 13px;
    }

    .rheemo-social-feed .rheemo-post-edit-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .rheemo-social-feed .rheemo-post-edit-form__footer > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   Rheemo Core v0.4.5.7 — partage professionnel des publications
   Icône Share-2 SVG, partage natif, WhatsApp, Facebook et copie.
   ========================================================= */
html.rheemo-post-share-modal-open,
html.rheemo-post-share-modal-open body {
    overflow: hidden !important;
}

.rheemo-social-feed .rheemo-post-share-toggle {
    gap: 8px;
}

.rheemo-social-feed .rheemo-post-share-toggle .rheemo-share2-icon {
    width: 27px;
    height: 27px;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #ec4899 0%, #7c3aed 52%, #2563eb 100%);
    box-shadow: 0 7px 18px rgba(124, 58, 237, .23);
    transition: transform .18s ease, box-shadow .18s ease;
}

.rheemo-social-feed .rheemo-post-share-toggle .rheemo-share2-icon svg {
    width: 15px;
    height: 15px;
}

.rheemo-social-feed .rheemo-post-share-toggle:hover .rheemo-share2-icon,
.rheemo-social-feed .rheemo-post-share-toggle:focus-visible .rheemo-share2-icon,
.rheemo-social-feed .rheemo-post-share-toggle.is-active .rheemo-share2-icon {
    transform: rotate(-5deg) scale(1.06);
    box-shadow: 0 9px 23px rgba(124, 58, 237, .32);
}

.rheemo-social-feed .rheemo-post-share-toggle.is-active {
    color: #6d28d9 !important;
    background: linear-gradient(135deg, rgba(236,72,153,.08), rgba(37,99,235,.09)) !important;
}

.rheemo-post-share-modal[hidden] {
    display: none !important;
}

.rheemo-post-share-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: grid;
    place-items: center;
    padding: 22px;
}

.rheemo-post-share-modal__backdrop {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(15, 23, 42, .52) !important;
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    cursor: default !important;
}

.rheemo-post-share-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 25px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 30px 90px rgba(15, 23, 42, .30);
    animation: rheemoPostShareIn .2s ease-out both;
    outline: none;
}

@keyframes rheemoPostShareIn {
    from { opacity: 0; transform: translateY(12px) scale(.975); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.rheemo-post-share-modal__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

.rheemo-post-share-modal__heading-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #ec4899, #7c3aed 55%, #2563eb);
    box-shadow: 0 12px 26px rgba(124, 58, 237, .25);
}

.rheemo-post-share-modal__heading-icon svg {
    width: 22px;
    height: 22px;
}

.rheemo-post-share-modal__header span {
    display: block;
    margin-bottom: 2px;
    color: #7c3aed;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.rheemo-post-share-modal__header h3 {
    margin: 0 !important;
    color: #172033;
    font-size: 20px;
    line-height: 1.2;
}

.rheemo-post-share-modal__header p {
    margin: 3px 0 0 !important;
    color: #667085;
    font-size: 13px;
}

.rheemo-post-share-modal__close {
    display: grid !important;
    place-items: center !important;
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e5eaf2 !important;
    border-radius: 13px !important;
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 25px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.rheemo-post-share-modal__close:hover,
.rheemo-post-share-modal__close:focus-visible {
    color: #7c3aed !important;
    border-color: rgba(124, 58, 237, .22) !important;
    background: #f5f3ff !important;
    outline: none;
}

.rheemo-post-share-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.rheemo-post-share-option[hidden] {
    display: none !important;
}

.rheemo-post-share-option {
    display: grid !important;
    grid-template-columns: 45px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 11px;
    width: 100% !important;
    min-height: 82px !important;
    margin: 0 !important;
    padding: 13px !important;
    border: 1px solid #e7ebf2 !important;
    border-radius: 17px !important;
    background: #fff !important;
    color: #243047 !important;
    text-align: left !important;
    text-decoration: none !important;
    font: inherit !important;
    cursor: pointer !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.rheemo-post-share-option > span {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 14px;
    color: var(--rheemo-share-color, #7c3aed);
    background: color-mix(in srgb, var(--rheemo-share-color, #7c3aed) 10%, white);
}

@supports not (background: color-mix(in srgb, red 10%, white)) {
    .rheemo-post-share-option > span { background: #f5f3ff; }
}

.rheemo-post-share-option > span svg {
    width: 23px;
    height: 23px;
}

.rheemo-post-share-option.is-whatsapp { --rheemo-share-color: #16a966; }
.rheemo-post-share-option.is-facebook { --rheemo-share-color: #1877f2; }
.rheemo-post-share-option.is-native { --rheemo-share-color: #7c3aed; }
.rheemo-post-share-option.is-copy { --rheemo-share-color: #e14585; }
.rheemo-post-share-option.is-whatsapp svg,
.rheemo-post-share-option.is-facebook svg { fill: currentColor; }

.rheemo-post-share-option strong {
    align-self: end;
    color: #172033;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
}

.rheemo-post-share-option small {
    align-self: start;
    margin-top: 3px;
    color: #7a8495;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.rheemo-post-share-option:hover,
.rheemo-post-share-option:focus-visible {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--rheemo-share-color, #7c3aed) 28%, #e7ebf2) !important;
    background: #fcfcff !important;
    box-shadow: 0 13px 29px rgba(15, 23, 42, .09);
    outline: none;
}

.rheemo-post-share-option.is-copied {
    border-color: rgba(21, 150, 92, .32) !important;
    background: #f0fdf4 !important;
}

.rheemo-post-share-option:disabled {
    opacity: .65;
    cursor: wait !important;
}

.rheemo-post-share-feedback {
    margin: 13px 0 0 !important;
    padding: 10px 12px;
    border-radius: 12px;
    background: #ecfdf3;
    color: #067647;
    font-size: 12px;
    font-weight: 850;
    text-align: center;
}

.rheemo-post-share-feedback.is-error {
    background: #fff1f2;
    color: #b42318;
}

@media (max-width: 620px) {
    .rheemo-social-feed .rheemo-post-share-toggle .rheemo-share2-icon {
        width: 31px !important;
        height: 31px !important;
        border-radius: 10px;
    }

    .rheemo-social-feed .rheemo-post-share-toggle .rheemo-share2-icon svg {
        width: 17px;
        height: 17px;
    }

    .rheemo-post-share-modal {
        place-items: end center;
        padding: 10px;
    }

    .rheemo-post-share-modal__dialog {
        width: 100%;
        padding: 17px 14px calc(16px + env(safe-area-inset-bottom, 0px));
        border-radius: 24px 24px 20px 20px;
        animation-name: rheemoPostShareMobileIn;
    }

    @keyframes rheemoPostShareMobileIn {
        from { opacity: 0; transform: translateY(28px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .rheemo-post-share-modal__header {
        grid-template-columns: 42px minmax(0, 1fr) 38px;
        gap: 10px;
        margin-bottom: 14px;
    }

    .rheemo-post-share-modal__heading-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .rheemo-post-share-modal__header h3 { font-size: 18px; }
    .rheemo-post-share-modal__header p { font-size: 12px; }

    .rheemo-post-share-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .rheemo-post-share-option {
        grid-template-columns: 40px minmax(0, 1fr);
        min-height: 75px !important;
        padding: 11px !important;
        column-gap: 9px;
        border-radius: 15px !important;
    }

    .rheemo-post-share-option > span {
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .rheemo-post-share-option > span svg { width: 21px; height: 21px; }
    .rheemo-post-share-option strong { font-size: 13px; }
    .rheemo-post-share-option small { font-size: 10px; }
}

@media (max-width: 390px) {
    .rheemo-post-share-options { grid-template-columns: 1fr; }
    .rheemo-post-share-option { min-height: 68px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .rheemo-post-share-modal__dialog,
    .rheemo-post-share-option,
    .rheemo-social-feed .rheemo-post-share-toggle .rheemo-share2-icon {
        animation: none !important;
        transition: none !important;
    }
}


/* =========================================================
   Rheemo Core v0.4.5.8 — lecture compacte et actions sociales
   - Texte seul : 5 lignes téléphone/tablette, 7 lignes ordinateur.
   - Avec image : 1 ligne téléphone, 2 lignes tablette/ordinateur.
   - Trois actions uniformes et lisibles, icônes SVG cohérentes.
   - Bouton Envoyer en violet Rheemo uni.
   ========================================================= */
.rheemo-social-feed.rheemo-view-feed .rheemo-post-card__body-wrap {
    position: relative;
}

.rheemo-social-feed.rheemo-view-feed .rheemo-post-card--text-only .rheemo-post-card__body {
    --rheemo-post-preview-lines: 7;
}

.rheemo-social-feed.rheemo-view-feed .rheemo-post-card--has-image .rheemo-post-card__body {
    --rheemo-post-preview-lines: 2;
}

.rheemo-social-feed.rheemo-view-feed .rheemo-post-card__body.is-collapsed {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: var(--rheemo-post-preview-lines, 7) !important;
    overflow: hidden !important;
}

.rheemo-social-feed.rheemo-view-feed .rheemo-post-text-toggle {
    align-items: center;
    justify-content: center;
    min-height: 30px;
    margin: -4px 20px 12px !important;
    padding: 3px 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #5b3df5 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.2;
    cursor: pointer;
}

.rheemo-social-feed.rheemo-view-feed .rheemo-post-text-toggle:not([hidden]) {
    display: inline-flex !important;
}

.rheemo-social-feed.rheemo-view-feed .rheemo-post-text-toggle:hover,
.rheemo-social-feed.rheemo-view-feed .rheemo-post-text-toggle:focus-visible {
    color: #4327d6 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    outline: none;
}

.rheemo-social-feed .rheemo-post-card__footer {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 12px 16px !important;
    background: #fff !important;
}

.rheemo-social-feed .rheemo-post-card__footer form,
.rheemo-social-feed .rheemo-post-card__footer > a,
.rheemo-social-feed .rheemo-post-card__footer > button {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.rheemo-social-feed .rheemo-post-card__footer a,
.rheemo-social-feed .rheemo-post-card__footer button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    width: 100% !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 8px 12px !important;
    border: 1px solid #dfe5f1 !important;
    border-radius: 15px !important;
    background: #f8faff !important;
    color: #34425c !important;
    box-shadow: 0 5px 14px rgba(30, 41, 59, .055) !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.rheemo-social-feed .rheemo-post-card__footer .rheemo-action-icon,
.rheemo-social-feed .rheemo-post-card__footer .rheemo-share2-icon {
    position: static !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    background: #ecebff !important;
    color: #5b3df5 !important;
    box-shadow: none !important;
    font-size: 0 !important;
    transform: none !important;
}

.rheemo-social-feed .rheemo-post-card__footer .rheemo-action-icon svg,
.rheemo-social-feed .rheemo-post-card__footer .rheemo-share2-icon svg {
    display: block;
    width: 17px !important;
    height: 17px !important;
}

.rheemo-social-feed .rheemo-post-card__footer .rheemo-action-label,
.rheemo-social-feed .rheemo-post-card__footer .rheemo-reaction-label {
    position: static !important;
    display: inline !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: nowrap !important;
    border: 0 !important;
    font-size: inherit !important;
    line-height: 1 !important;
}

.rheemo-social-feed .rheemo-post-card__footer a:hover,
.rheemo-social-feed .rheemo-post-card__footer a:focus-visible,
.rheemo-social-feed .rheemo-post-card__footer button:not(:disabled):hover,
.rheemo-social-feed .rheemo-post-card__footer button:not(:disabled):focus-visible {
    transform: translateY(-1px);
    border-color: rgba(91, 61, 245, .32) !important;
    background: #f2f0ff !important;
    color: #4b2ee4 !important;
    box-shadow: 0 9px 20px rgba(91, 61, 245, .11) !important;
    outline: none;
}

.rheemo-social-feed .rheemo-post-card__footer .rheemo-reaction-button.is-reacted {
    border-color: rgba(91, 61, 245, .32) !important;
    background: #efedff !important;
    color: #4b2ee4 !important;
}

.rheemo-social-feed .rheemo-post-card__footer .rheemo-reaction-button.is-reacted .rheemo-action-icon {
    background: #5b3df5 !important;
    color: #fff !important;
}

.rheemo-social-feed .rheemo-post-card__footer button:disabled {
    opacity: .56 !important;
    box-shadow: none !important;
}

.rheemo-social-feed .rheemo-comment-form button[type="submit"] {
    min-width: 112px !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 10px 20px !important;
    border: 1px solid #5b3df5 !important;
    border-radius: 14px !important;
    background: #5b3df5 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(91, 61, 245, .22) !important;
    font-weight: 900 !important;
}

.rheemo-social-feed .rheemo-comment-form button[type="submit"]:hover,
.rheemo-social-feed .rheemo-comment-form button[type="submit"]:focus-visible {
    border-color: #472bd4 !important;
    background: #472bd4 !important;
    color: #fff !important;
    box-shadow: 0 12px 25px rgba(71, 43, 212, .28) !important;
    outline: none;
}

@media (min-width: 621px) and (max-width: 900px) {
    .rheemo-social-feed.rheemo-view-feed .rheemo-post-card--text-only .rheemo-post-card__body {
        --rheemo-post-preview-lines: 5;
    }
    .rheemo-social-feed.rheemo-view-feed .rheemo-post-card--has-image .rheemo-post-card__body {
        --rheemo-post-preview-lines: 2;
    }
}

@media (max-width: 620px) {
    .rheemo-social-feed.rheemo-view-feed .rheemo-post-card--text-only .rheemo-post-card__body {
        --rheemo-post-preview-lines: 5;
    }
    .rheemo-social-feed.rheemo-view-feed .rheemo-post-card--has-image .rheemo-post-card__body {
        --rheemo-post-preview-lines: 1;
    }
    .rheemo-social-feed.rheemo-view-feed .rheemo-post-text-toggle {
        margin: -5px 15px 10px !important;
        min-height: 28px;
        font-size: 12px !important;
    }
    .rheemo-social-feed .rheemo-post-card__footer {
        gap: 6px !important;
        padding: 9px 9px 11px !important;
    }
    .rheemo-social-feed .rheemo-post-card__footer a,
    .rheemo-social-feed .rheemo-post-card__footer button {
        gap: 5px !important;
        min-height: 48px !important;
        height: 48px !important;
        padding: 6px 5px !important;
        border-radius: 13px !important;
        font-size: 11.5px !important;
    }
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-action-icon,
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-share2-icon {
        flex-basis: 27px !important;
        width: 27px !important;
        height: 27px !important;
        min-width: 27px !important;
        border-radius: 9px !important;
    }
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-action-icon svg,
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-share2-icon svg {
        width: 15px !important;
        height: 15px !important;
    }
    .rheemo-social-feed .rheemo-comment-form button[type="submit"] {
        min-width: 96px !important;
        min-height: 42px !important;
        height: 42px !important;
        padding: 9px 15px !important;
    }
}

@media (max-width: 380px) {
    .rheemo-social-feed .rheemo-post-card__footer { gap: 5px !important; }
    .rheemo-social-feed .rheemo-post-card__footer a,
    .rheemo-social-feed .rheemo-post-card__footer button {
        gap: 4px !important;
        padding-left: 3px !important;
        padding-right: 3px !important;
        font-size: 10.5px !important;
    }
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-action-icon,
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-share2-icon {
        flex-basis: 25px !important;
        width: 25px !important;
        height: 25px !important;
        min-width: 25px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rheemo-social-feed .rheemo-post-card__footer a,
    .rheemo-social-feed .rheemo-post-card__footer button {
        transition: none !important;
    }
}

/* Correctif de boîte v0.4.5.8 : dimensions réellement identiques des trois actions. */
.rheemo-social-feed .rheemo-post-card__footer,
.rheemo-social-feed .rheemo-post-card__footer form,
.rheemo-social-feed .rheemo-post-card__footer a,
.rheemo-social-feed .rheemo-post-card__footer button {
    box-sizing: border-box !important;
}

/* =========================================================
   Rheemo Core v0.4.5.8.1 — correction de la coupe et centrage profil
   - Le texte replié utilise de vraies lignes complètes, sans hauteur fixe.
   - Les paragraphes sont réunis uniquement dans l’aperçu compact.
   - Le nom et le contenu de la carte profil latérale sont centrés.
   ========================================================= */
.rheemo-social-feed.rheemo-view-feed .rheemo-post-card__body.is-collapsed {
    position: relative !important;
    display: -webkit-box !important;
    max-height: none !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: var(--rheemo-post-preview-lines, 7) !important;
    overflow: hidden !important;
}

.rheemo-social-feed.rheemo-view-feed .rheemo-post-card__body.is-collapsed::after {
    content: none !important;
    display: none !important;
}

/* Dans l’aperçu seulement, les paragraphes forment un flux continu.
   À l’ouverture, la mise en forme originale est immédiatement restaurée. */
.rheemo-social-feed.rheemo-view-feed .rheemo-post-card__body.is-collapsed p {
    display: inline !important;
    margin: 0 !important;
}

.rheemo-social-feed.rheemo-view-feed .rheemo-post-card__body.is-collapsed p + p::before {
    content: " ";
    white-space: pre;
}

.rheemo-social-feed .rheemo-profile-mini {
    text-align: center !important;
}

.rheemo-social-feed .rheemo-profile-mini h2 {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.rheemo-social-feed .rheemo-profile-mini p {
    width: 100% !important;
    text-align: center !important;
}

.rheemo-social-feed .rheemo-profile-mini .rheemo-link-pill {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* La boîte clampée ne porte aucun padding : cela empêche WebKit/Chromium
   de laisser apparaître une fraction de la ligne suivante. */
.rheemo-social-feed.rheemo-view-feed .rheemo-post-card__body.is-collapsed {
    margin: 18px 20px 8px !important;
    padding: 0 !important;
}

@media (max-width: 560px) {
    .rheemo-social-feed.rheemo-view-feed .rheemo-post-card__body.is-collapsed {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
}

/* =========================================================
   Rheemo Core v0.4.6.0 — canal central « Découvrir »
   Pages, Groupes publics et campagnes du moteur publicitaire existant.
   ========================================================= */
.rheemo-discover-v046{display:grid;gap:18px;min-width:0}
.rheemo-discover-intro{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 180px;align-items:center;min-height:190px;padding:30px 32px!important;overflow:hidden;border:1px solid rgba(89,55,220,.12)!important;background:linear-gradient(135deg,#fff 0%,#f8f6ff 52%,#eff8ff 100%)!important}
.rheemo-discover-intro:before{content:"";position:absolute;right:-80px;bottom:-110px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(213,54,162,.15),rgba(93,53,229,.07) 50%,transparent 72%)}
.rheemo-discover-intro>div:first-child{position:relative;z-index:1;max-width:720px}
.rheemo-discover-intro__eyebrow{display:inline-flex;align-items:center;min-height:28px;padding:5px 11px;border-radius:999px;background:#eee9ff;color:#5b32dc;font-size:11px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.rheemo-discover-intro h2{margin:12px 0 8px;color:#151b34;font-size:clamp(25px,3vw,38px);line-height:1.08;letter-spacing:-.035em}
.rheemo-discover-intro p{max-width:660px;margin:0;color:#667087;font-size:14px;line-height:1.65}
.rheemo-discover-intro__art{position:relative;z-index:1;width:150px;height:130px;justify-self:end}
.rheemo-discover-intro__art span{position:absolute;display:block;border-radius:28px;box-shadow:0 18px 35px rgba(50,45,127,.15)}
.rheemo-discover-intro__art span:nth-child(1){inset:8px 38px 38px 0;transform:rotate(-9deg);background:linear-gradient(145deg,#3479f3,#6540ec)}
.rheemo-discover-intro__art span:nth-child(2){inset:31px 0 8px 50px;transform:rotate(8deg);background:linear-gradient(145deg,#e73b9d,#7f3ce7)}
.rheemo-discover-intro__art span:nth-child(3){width:48px;height:48px;left:50px;top:41px;border:7px solid #fff;border-radius:50%;background:#20bad0}

.rheemo-discover-tabs{position:sticky;z-index:80;top:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:7px!important;border-radius:18px!important;background:rgba(250,250,254,.94)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.rheemo-discover-tabs a{display:flex;min-height:46px;align-items:center;justify-content:center;padding:9px 12px;border-radius:13px;color:#626b80;text-decoration:none!important;font-size:13px;font-weight:900;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.rheemo-discover-tabs a:hover{color:#4d35cf;background:#f0edff}
.rheemo-discover-tabs a.is-active{color:#fff;background:linear-gradient(135deg,#273ab0,#6534e9 65%,#d63aab);box-shadow:0 9px 22px rgba(84,55,216,.23)}
.rheemo-discover-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px!important}
.rheemo-discover-search label{min-width:0}
.rheemo-discover-search input{width:100%;min-height:48px;padding:11px 15px;border:1px solid #e1e4ee;border-radius:14px;background:#fafbfe;color:#20263d;outline:0}
.rheemo-discover-search input:focus{border-color:#7959e8;box-shadow:0 0 0 3px rgba(100,64,226,.11)}
.rheemo-discover-search .rheemo-btn{min-width:126px;justify-content:center}

.rheemo-discover-section{display:grid;gap:13px;min-width:0}
.rheemo-discover-section__header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:2px 3px}
.rheemo-discover-section__header>div{min-width:0}
.rheemo-discover-section__header>div>span{display:block;margin-bottom:4px;color:#7355dc;font-size:10px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}
.rheemo-discover-section__header h2{margin:0;color:#171d35;font-size:clamp(20px,2.2vw,28px);line-height:1.14;letter-spacing:-.025em}
.rheemo-discover-section__header p{margin:6px 0 0;color:#758096;font-size:12px;line-height:1.5}
.rheemo-discover-section__header>a{flex:0 0 auto;color:#5638d4;text-decoration:none;font-size:12px;font-weight:900;white-space:nowrap}
.rheemo-discover-section--sponsored{padding:17px;border:1px solid rgba(95,60,222,.12);border-radius:24px;background:linear-gradient(145deg,rgba(249,248,255,.96),rgba(244,250,255,.96))}
.rheemo-discover-section--sponsored>.rheemo-sponsored-card{margin:0!important;overflow:hidden;border:1px solid rgba(95,60,222,.11)!important;box-shadow:0 16px 38px rgba(31,39,83,.09)!important}

.rheemo-discover-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.rheemo-discover-card{position:relative;min-width:0;overflow:hidden;border:1px solid #e8eaf3;border-radius:23px;background:#fff;box-shadow:0 11px 30px rgba(31,39,82,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.rheemo-discover-card:hover{transform:translateY(-2px);border-color:#ddd8fb;box-shadow:0 17px 38px rgba(37,43,90,.11)}
.rheemo-discover-card__cover{position:relative;display:block;height:132px;overflow:hidden;background:linear-gradient(135deg,#2837aa,#6940e9 61%,#e442a3);background-position:center;background-size:cover;text-decoration:none}
.rheemo-discover-card--group .rheemo-discover-card__cover{background:linear-gradient(135deg,#123d76,#2675bf 55%,#24a9b8)}
.rheemo-discover-card__cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(10,16,43,.42))}
.rheemo-discover-card__cover>span{position:absolute;z-index:1;left:13px;bottom:11px;display:inline-flex;min-height:25px;align-items:center;padding:4px 9px;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:rgba(22,27,61,.56);color:#fff;font-size:9px;font-weight:950;letter-spacing:.07em;text-transform:uppercase;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.rheemo-discover-card__body{position:relative;padding:42px 17px 16px}
.rheemo-discover-card__avatar{position:absolute;left:17px;top:-35px;display:block;width:70px;height:70px;padding:4px;border-radius:21px;background:#fff;box-shadow:0 9px 24px rgba(31,38,78,.18)}
.rheemo-discover-card__avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:17px}
.rheemo-discover-card__kind{position:absolute;top:12px;right:15px;max-width:calc(100% - 105px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6543d8;font-size:9px;font-weight:950;letter-spacing:.06em;text-transform:uppercase}
.rheemo-discover-card__kind--group{color:#117e91}
.rheemo-discover-card h3{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0;color:#1b2139;font-size:17px;line-height:1.24}
.rheemo-discover-card h3 a{color:inherit;text-decoration:none;overflow-wrap:anywhere}
.rheemo-discover-card__handle{margin:4px 0 0!important;color:#8768dd!important;font-size:11px!important;font-weight:800}
.rheemo-discover-card__location{margin:8px 0 0!important;color:#59657d!important;font-size:11px!important;font-weight:750}
.rheemo-discover-card__description{display:-webkit-box;min-height:41px;margin:9px 0 0!important;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#687388!important;font-size:12px!important;line-height:1.55!important}
.rheemo-discover-card__tags{display:flex;min-height:27px;gap:5px;margin-top:9px;overflow:hidden}
.rheemo-discover-card__tags span{display:inline-flex;max-width:125px;min-height:25px;align-items:center;padding:4px 8px;overflow:hidden;border-radius:999px;background:#eef8fa;color:#267887;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:850}
.rheemo-discover-card__reason{display:flex;align-items:center;gap:5px;min-height:27px;margin:10px 0 0!important;padding:6px 9px;border-radius:10px;background:#f7f5ff;color:#5d46c9!important;font-size:10px!important;font-weight:850}
.rheemo-discover-card footer{display:flex;min-height:49px;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #eef0f5}
.rheemo-discover-card footer>span{color:#778096;font-size:10px}
.rheemo-discover-card footer>span strong{color:#20263f;font-size:13px}
.rheemo-discover-card footer .rheemo-btn,.rheemo-discover-card footer button{display:inline-flex!important;min-width:92px!important;min-height:38px!important;align-items:center!important;justify-content:center!important;padding:8px 12px!important;border:0!important;border-radius:12px!important;background:#ede9ff!important;color:#5337d2!important;text-decoration:none!important;font-size:11px!important;font-weight:900!important;cursor:pointer}
.rheemo-discover-card footer .rheemo-page-follow-toggle:not(.is-following),.rheemo-discover-card footer .rheemo-join-group{background:linear-gradient(135deg,#313db5,#6734e8)!important;color:#fff!important;box-shadow:0 7px 16px rgba(82,55,208,.19)}
.rheemo-discover-card footer button[disabled]{cursor:default!important;opacity:.68}

@media(max-width:1100px){
  .rheemo-discover-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:900px){
  html.rheemo-app-mode-v0455 .rheemo-discover-tabs{top:calc(70px + env(safe-area-inset-top,0px))}
  .rheemo-discover-intro{grid-template-columns:minmax(0,1fr) 130px;padding:24px!important}
  .rheemo-discover-intro__art{width:120px;height:105px}
  .rheemo-discover-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .rheemo-discover-v046{gap:14px}
  .rheemo-discover-intro{display:block;min-height:0;padding:21px 18px!important}
  .rheemo-discover-intro h2{font-size:26px}
  .rheemo-discover-intro p{font-size:12px}
  .rheemo-discover-intro__art{display:none}
  .rheemo-discover-tabs{top:8px;gap:4px;padding:5px!important;border-radius:16px!important}
  .rheemo-discover-tabs a{min-height:43px;padding:8px 5px;font-size:10px}
  .rheemo-discover-search{grid-template-columns:minmax(0,1fr);padding:9px!important}
  .rheemo-discover-search .rheemo-btn{width:100%}
  .rheemo-discover-section__header{align-items:flex-start}
  .rheemo-discover-section__header p{font-size:11px}
  .rheemo-discover-section__header>a{padding-top:4px;font-size:10px}
  .rheemo-discover-section--sponsored{padding:11px;border-radius:19px}
  .rheemo-discover-grid{grid-template-columns:minmax(0,1fr);gap:11px}
  .rheemo-discover-card{border-radius:20px}
  .rheemo-discover-card__cover{height:118px}
  .rheemo-discover-card__body{padding:40px 15px 14px}
  .rheemo-discover-card__avatar{left:15px;width:66px;height:66px}
}
@media(max-width:390px){
  .rheemo-discover-tabs a{font-size:9px;letter-spacing:-.1px}
  .rheemo-discover-section__header{display:grid;gap:4px}
  .rheemo-discover-section__header>a{justify-self:start}
}
.rheemo-social-feed.rheemo-view-discover>.rheemo-feed-hero{display:none!important}
.rheemo-discover-section--sponsored .rheemo-sponsored-card__body h3{font-size:20px;line-height:1.25}
.rheemo-discover-section--sponsored .rheemo-sponsored-card__body p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4;font-size:13px;line-height:1.55}
@media(max-width:680px){
  .rheemo-discover-section--sponsored .rheemo-sponsored-card__media,.rheemo-discover-section--sponsored .rheemo-sponsored-card__media img{max-height:330px}
  .rheemo-discover-section--sponsored .rheemo-sponsored-card__body{padding:16px 15px 8px}
  .rheemo-discover-section--sponsored .rheemo-sponsored-card__body h3{font-size:18px}
  .rheemo-discover-section--sponsored .rheemo-sponsored-card__body p{-webkit-line-clamp:3;font-size:12px}
}

/* =========================================================
   Rheemo Core v0.4.6.1 — Personnes à découvrir, expérience mobile
   Cartes horizontales informatives, carrousel tactile et retrait personnel.
   ========================================================= */
@media (max-width: 820px) {
    .rheemo-social-feed .rheemo-mobile-suggestions {
        display: block !important;
        margin: 16px 0 !important;
        padding: 17px 0 15px !important;
        overflow: hidden !important;
        border: 1px solid rgba(67, 75, 148, .11) !important;
        border-radius: 22px !important;
        background:
            radial-gradient(circle at 100% 0, rgba(101, 75, 235, .08), transparent 33%),
            linear-gradient(180deg, #fff 0%, #fbfcff 100%) !important;
        box-shadow: 0 13px 34px rgba(30, 39, 86, .075) !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__header {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 0 16px 14px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__heading {
        min-width: 0;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__header span {
        display: block;
        color: #7947df !important;
        font-size: 10px !important;
        font-weight: 950 !important;
        letter-spacing: .075em !important;
        line-height: 1.2 !important;
        text-transform: uppercase !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__header h3 {
        margin: 3px 0 0 !important;
        color: #172033 !important;
        font-size: clamp(17px, 4.7vw, 20px) !important;
        font-weight: 950 !important;
        line-height: 1.18 !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__header p {
        max-width: 285px;
        margin: 5px 0 0 !important;
        color: #778095 !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1.38 !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__header-actions {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 7px;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__header-actions > a {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        padding: 0 5px;
        color: #4f46d8 !important;
        font-size: 11px;
        font-weight: 900;
        line-height: 1;
        text-decoration: none !important;
        white-space: nowrap;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions .rheemo-refresh-suggestions {
        width: 35px !important;
        min-width: 35px !important;
        height: 35px !important;
        min-height: 35px !important;
        border: 1px solid rgba(78, 70, 211, .12) !important;
        border-radius: 12px !important;
        background: #f3f4ff !important;
        color: #5847dc !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions .rheemo-refresh-suggestions svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__track.rheemo-suggestion-list {
        display: flex !important;
        gap: 12px !important;
        align-items: stretch !important;
        overflow-x: auto !important;
        overscroll-behavior-inline: contain;
        padding: 2px 16px 8px !important;
        scroll-padding-inline: 16px !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__track::-webkit-scrollbar {
        display: none !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card.rheemo-suggestion-item {
        position: relative !important;
        display: flex !important;
        flex: 0 0 clamp(300px, calc(100vw - 72px), 410px) !important;
        width: clamp(300px, calc(100vw - 72px), 410px) !important;
        min-width: 300px !important;
        min-height: 174px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: space-between !important;
        gap: 14px !important;
        padding: 17px 16px 15px !important;
        overflow: hidden !important;
        border: 1px solid rgba(72, 77, 143, .11) !important;
        border-radius: 19px !important;
        background: #fff !important;
        box-shadow: 0 9px 24px rgba(40, 48, 96, .075) !important;
        box-sizing: border-box !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always;
        transition: transform .2s ease, opacity .2s ease, border-color .2s ease, box-shadow .2s ease !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card.rheemo-suggestion-item::before {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 3px;
        background: linear-gradient(90deg, #2367ec 0%, #7047e9 52%, #e044a3 100%);
        content: "";
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card.rheemo-suggestion-item:hover {
        transform: none !important;
        border-color: rgba(82, 70, 210, .19) !important;
        box-shadow: 0 11px 27px rgba(40, 48, 96, .10) !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card.is-resolved {
        transform: scale(.96) !important;
        opacity: 0 !important;
    }

    .rheemo-social-feed .rheemo-dismiss-suggestion {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px !important;
        min-width: 30px !important;
        height: 30px !important;
        min-height: 30px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 10px !important;
        background: #f5f6fb !important;
        color: #778095 !important;
        box-shadow: none !important;
    }

    .rheemo-social-feed .rheemo-dismiss-suggestion svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
    }

    .rheemo-social-feed .rheemo-dismiss-suggestion.is-loading {
        opacity: .5;
        cursor: wait;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__identity {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        align-items: center;
        gap: 13px;
        min-width: 0;
        padding-right: 25px;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__avatar {
        position: relative;
        display: block;
        width: 72px !important;
        height: 72px !important;
        min-width: 72px;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__avatar img {
        display: block;
        width: 72px !important;
        height: 72px !important;
        object-fit: cover;
        border: 3px solid #fff !important;
        border-radius: 22px !important;
        box-shadow: 0 8px 20px rgba(40, 51, 105, .16) !important;
        box-sizing: border-box;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__avatar .rheemo-presence-dot {
        position: absolute;
        right: -1px;
        bottom: 1px;
        width: 15px;
        height: 15px;
        border: 3px solid #fff;
        border-radius: 50%;
        box-sizing: border-box;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__content {
        min-width: 0;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__name {
        display: -webkit-box !important;
        max-width: 100%;
        overflow: hidden !important;
        color: #172033 !important;
        font-size: 15px !important;
        font-weight: 950 !important;
        line-height: 1.24 !important;
        text-align: left !important;
        text-decoration: none !important;
        white-space: normal !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__name .rheemo-official-badge {
        display: inline-flex;
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        margin-left: 3px;
        vertical-align: -2px;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__reasons {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 8px;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__reasons span {
        display: inline-flex;
        max-width: 100%;
        align-items: center;
        min-height: 24px;
        padding: 4px 8px;
        overflow: hidden;
        border: 1px solid rgba(82, 74, 196, .09);
        border-radius: 999px;
        background: #f5f5ff;
        color: #5f6383 !important;
        font-size: 9px !important;
        font-weight: 800 !important;
        letter-spacing: 0 !important;
        line-height: 1.15 !important;
        text-overflow: ellipsis;
        text-transform: none !important;
        white-space: nowrap;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__actions {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        gap: 9px;
        align-items: stretch;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__actions > :only-child {
        grid-column: 1 / -1;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card .rheemo-friend-request,
    .rheemo-social-feed .rheemo-mobile-suggestion-card__profile {
        display: inline-flex !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 40px !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 9px 10px !important;
        border-radius: 12px !important;
        font-size: 10px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        text-align: center !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card .rheemo-friend-request {
        border: 1px solid #5b49df !important;
        background: #5b49df !important;
        color: #fff !important;
        box-shadow: 0 8px 18px rgba(77, 64, 207, .20) !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card .rheemo-friend-request.is-sent {
        border-color: #dfe2fb !important;
        background: #eef0ff !important;
        color: #4f55ae !important;
        box-shadow: none !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__profile {
        border: 1px solid rgba(70, 78, 145, .13) !important;
        background: #f6f7fb !important;
        color: #34415d !important;
        box-shadow: none !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__actions svg {
        width: 15px;
        height: 15px;
        flex: 0 0 15px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions .rheemo-network-feedback {
        min-height: 0;
        padding: 2px 16px 0 !important;
        font-size: 10px;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions .rheemo-network-empty {
        flex: 0 0 calc(100% - 32px);
        margin: 0 !important;
        text-align: center;
    }
}

@media (max-width: 430px) {
    .rheemo-social-feed .rheemo-mobile-suggestions__header {
        gap: 8px !important;
        padding-right: 13px !important;
        padding-left: 13px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__header p {
        max-width: 220px;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__track.rheemo-suggestion-list {
        padding-right: 13px !important;
        padding-left: 13px !important;
        scroll-padding-inline: 13px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card.rheemo-suggestion-item {
        flex-basis: calc(100vw - 56px) !important;
        width: calc(100vw - 56px) !important;
        min-width: 286px !important;
    }
}


/* =========================================================
   Rheemo Core v0.4.6.2 — Découverte de Pages et Groupes dans le fil
   ========================================================= */
.rheemo-social-feed .rheemo-feed-discovery {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid rgba(80, 94, 145, .13) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
    box-shadow: 0 14px 36px rgba(28, 41, 86, .07) !important;
}

.rheemo-social-feed .rheemo-feed-discovery::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #245cff, #7345ed 54%, #ed3e96);
}

.rheemo-social-feed .rheemo-feed-discovery--groups::before {
    background: linear-gradient(90deg, #09a8ca, #4269e8 54%, #7144df);
}

.rheemo-social-feed .rheemo-feed-discovery__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 24px 15px;
}

.rheemo-social-feed .rheemo-feed-discovery__heading {
    min-width: 0;
}

.rheemo-social-feed .rheemo-feed-discovery__heading > span {
    display: block;
    margin-bottom: 4px;
    color: #6348d7;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .09em;
    line-height: 1.2;
    text-transform: uppercase;
}

.rheemo-social-feed .rheemo-feed-discovery--groups .rheemo-feed-discovery__heading > span {
    color: #087eae;
}

.rheemo-social-feed .rheemo-feed-discovery__heading h2 {
    margin: 0 !important;
    color: #101a35 !important;
    font-size: clamp(19px, 2.3vw, 25px) !important;
    font-weight: 950 !important;
    letter-spacing: -.025em;
    line-height: 1.15 !important;
}

.rheemo-social-feed .rheemo-feed-discovery__heading p {
    margin: 6px 0 0 !important;
    max-width: 540px;
    color: #68738a !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.rheemo-social-feed .rheemo-feed-discovery__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.rheemo-social-feed .rheemo-feed-discovery__actions > a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    border-radius: 12px;
    background: #f2f3ff;
    color: #5046bd !important;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none !important;
}

.rheemo-social-feed .rheemo-feed-discovery__arrows {
    display: flex;
    gap: 6px;
}

.rheemo-social-feed .rheemo-feed-discovery__arrows button {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(77, 88, 132, .13);
    border-radius: 12px;
    background: #fff;
    color: #263654;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(31, 44, 88, .06);
}

.rheemo-social-feed .rheemo-feed-discovery__arrows button:disabled {
    opacity: .34;
    cursor: default;
}

.rheemo-social-feed .rheemo-feed-discovery__arrows svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rheemo-social-feed .rheemo-feed-discovery__track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 24px 24px;
    scroll-behavior: smooth;
    scroll-padding-inline: 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.rheemo-social-feed .rheemo-feed-discovery__track::-webkit-scrollbar {
    display: none;
}

.rheemo-social-feed .rheemo-feed-discovery-card {
    position: relative;
    display: flex;
    flex: 0 0 calc((100% - 28px) / 3);
    min-width: 190px;
    min-height: 286px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(77, 89, 137, .13);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 9px 22px rgba(31, 44, 88, .07);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rheemo-social-feed .rheemo-feed-discovery-card:hover {
    transform: translateY(-3px);
    border-color: rgba(86, 74, 199, .25);
    box-shadow: 0 14px 28px rgba(31, 44, 88, .11);
}

.rheemo-social-feed .rheemo-feed-discovery-card.is-sponsored {
    border-color: rgba(111, 68, 220, .28);
    background: linear-gradient(180deg, #fff 0%, #fbf9ff 100%);
}

.rheemo-social-feed .rheemo-feed-discovery-card__cover {
    position: relative;
    display: block;
    height: 86px;
    flex: 0 0 86px;
    background-color: #e9edfb;
    background-image: linear-gradient(135deg, #dfe7ff, #f3e6ff);
    background-position: center;
    background-size: cover;
    text-decoration: none !important;
}

.rheemo-social-feed .rheemo-feed-discovery-card--group .rheemo-feed-discovery-card__cover {
    background-image: linear-gradient(135deg, #dff7fb, #e8e9ff);
}

.rheemo-social-feed .rheemo-feed-discovery-card__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(8, 19, 48, .18));
}

.rheemo-social-feed .rheemo-feed-discovery-card__badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, .74);
    border-radius: 999px;
    background: rgba(255, 255, 255, .91);
    color: #374363;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .035em;
    line-height: 1;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.rheemo-social-feed .rheemo-feed-discovery-card.is-sponsored .rheemo-feed-discovery-card__badge {
    border-color: transparent;
    background: #7047df;
    color: #fff;
}

.rheemo-social-feed .rheemo-feed-discovery-card__body {
    position: relative;
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    padding: 39px 15px 14px;
}

.rheemo-social-feed .rheemo-feed-discovery-card__avatar {
    position: absolute;
    top: -35px;
    left: 14px;
    display: block;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(18, 30, 70, .16);
}

.rheemo-social-feed .rheemo-feed-discovery-card--group .rheemo-feed-discovery-card__avatar {
    border-radius: 50%;
}

.rheemo-social-feed .rheemo-feed-discovery-card__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rheemo-social-feed .rheemo-feed-discovery-card__kind {
    display: block;
    min-height: 16px;
    margin-bottom: 3px;
    overflow: hidden;
    color: #6854c9;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-feed-discovery-card--group .rheemo-feed-discovery-card__kind {
    color: #087ea6;
}

.rheemo-social-feed .rheemo-feed-discovery-card h3 {
    display: -webkit-box;
    min-height: 38px;
    margin: 0 !important;
    overflow: hidden;
    color: #111a31 !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    letter-spacing: -.015em;
    line-height: 1.25 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rheemo-social-feed .rheemo-feed-discovery-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

.rheemo-social-feed .rheemo-feed-discovery-card__meta {
    min-height: 17px;
    margin: 5px 0 0 !important;
    overflow: hidden;
    color: #717b90 !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rheemo-social-feed .rheemo-feed-discovery-card__reason {
    display: -webkit-box;
    min-height: 33px;
    margin: 8px 0 12px !important;
    overflow: hidden;
    color: #4f5870 !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    line-height: 1.45 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rheemo-social-feed .rheemo-feed-discovery-card__reason span {
    margin-right: 5px;
    color: #7247df;
}

.rheemo-social-feed .rheemo-feed-discovery-card footer {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.rheemo-social-feed .rheemo-feed-discovery-card footer > span {
    min-width: 0;
    color: #737d90;
    font-size: 9px;
    line-height: 1.25;
}

.rheemo-social-feed .rheemo-feed-discovery-card footer > span strong {
    color: #293650;
    font-size: 11px;
}

.rheemo-social-feed .rheemo-feed-discovery-card footer .rheemo-btn {
    min-width: 82px;
    min-height: 36px;
    padding: 8px 12px !important;
    border: 1px solid #5a49d6 !important;
    border-radius: 11px !important;
    background: #5a49d6 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.rheemo-social-feed .rheemo-feed-discovery-card--group footer .rheemo-btn {
    border-color: #176ebf !important;
    background: #176ebf !important;
}

.rheemo-social-feed .rheemo-feed-discovery-card footer .rheemo-btn.is-following,
.rheemo-social-feed .rheemo-feed-discovery-card footer .rheemo-btn:disabled {
    border-color: #e1e4f2 !important;
    background: #f1f3f8 !important;
    color: #5d6680 !important;
}

.rheemo-social-feed .rheemo-feed-discovery-card .rheemo-network-feedback {
    min-height: 0;
    margin-top: 4px;
    padding: 0 !important;
    font-size: 9px;
}

@media (max-width: 1180px) {
    .rheemo-social-feed .rheemo-feed-discovery-card {
        flex-basis: calc((100% - 14px) / 2);
    }
}

@media (max-width: 820px) {
    .rheemo-social-feed .rheemo-feed-discovery__header {
        padding: 21px 16px 13px;
    }

    .rheemo-social-feed .rheemo-feed-discovery__heading p {
        max-width: 430px;
    }

    .rheemo-social-feed .rheemo-feed-discovery__arrows {
        display: none;
    }

    .rheemo-social-feed .rheemo-feed-discovery__actions > a {
        min-height: 34px;
        padding: 0 10px;
        font-size: 10px;
    }

    .rheemo-social-feed .rheemo-feed-discovery__track {
        gap: 12px;
        padding: 2px 16px 19px;
        scroll-padding-inline: 16px;
    }

    .rheemo-social-feed .rheemo-feed-discovery-card {
        flex-basis: min(84%, 315px);
        min-width: min(84%, 315px);
        min-height: 278px;
    }
}

@media (max-width: 520px) {
    .rheemo-social-feed .rheemo-feed-discovery__header {
        align-items: flex-start;
        gap: 9px;
        padding-right: 13px;
        padding-left: 13px;
    }

    .rheemo-social-feed .rheemo-feed-discovery__heading h2 {
        font-size: 18px !important;
    }

    .rheemo-social-feed .rheemo-feed-discovery__heading p {
        display: none;
    }

    .rheemo-social-feed .rheemo-feed-discovery__actions > a {
        padding: 0 8px;
        white-space: nowrap;
    }

    .rheemo-social-feed .rheemo-feed-discovery__track {
        padding-right: 13px;
        padding-left: 13px;
        scroll-padding-inline: 13px;
    }

    .rheemo-social-feed .rheemo-feed-discovery-card {
        flex-basis: calc(100vw - 74px);
        min-width: min(318px, calc(100vw - 74px));
    }
}

/* Rheemo 0.4.6.2.1 — repli visible des carrousels sur les petits réseaux */
.rheemo-social-feed .rheemo-feed-discovery-card footer .rheemo-feed-discovery-card__view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid rgba(82, 67, 220, .16);
    border-radius: 13px;
    background: #f0efff;
    color: #4338ca;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
}
.rheemo-social-feed .rheemo-feed-discovery-card footer .rheemo-feed-discovery-card__view:hover,
.rheemo-social-feed .rheemo-feed-discovery-card footer .rheemo-feed-discovery-card__view:focus-visible {
    background: #e5e2ff;
    color: #3225b8;
}



/* =========================================================
   Rheemo Core v0.4.6.3 — cartes compactes et cadence du fil
   Un modèle lisible, petit et régulier pour Pages et Groupes.
   ========================================================= */

/* La rubrique doit rester un bloc du flux sur ordinateur comme sur mobile. */
.rheemo-social-feed.rheemo-view-feed .rheemo-feed-discovery {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 14px 0 !important;
    border-radius: 20px !important;
}

.rheemo-social-feed .rheemo-feed-discovery__header {
    gap: 12px;
    padding: 18px 18px 11px;
}
.rheemo-social-feed .rheemo-feed-discovery__heading > span {
    margin-bottom: 3px;
    font-size: 9px;
}
.rheemo-social-feed .rheemo-feed-discovery__heading h2 {
    font-size: clamp(17px, 1.8vw, 21px) !important;
    line-height: 1.15 !important;
}
.rheemo-social-feed .rheemo-feed-discovery__heading p {
    margin-top: 4px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
}
.rheemo-social-feed .rheemo-feed-discovery__actions > a {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 10px;
}
.rheemo-social-feed .rheemo-feed-discovery__arrows button {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}
.rheemo-social-feed .rheemo-feed-discovery__track {
    gap: 12px;
    padding: 2px 18px 17px;
    scroll-padding-inline: 18px;
}

/* Trois cartes compactes sur ordinateur. */
.rheemo-social-feed .rheemo-feed-discovery-card {
    flex: 0 0 calc((100% - 24px) / 3);
    min-width: 205px;
    min-height: 232px;
    border-radius: 17px;
}
.rheemo-social-feed .rheemo-feed-discovery-card__cover {
    height: 72px;
    flex-basis: 72px;
}
.rheemo-social-feed .rheemo-feed-discovery-card__badge {
    top: 8px;
    left: 8px;
    min-height: 21px;
    padding: 3px 7px;
    font-size: 8px;
}
.rheemo-social-feed .rheemo-feed-discovery-card__body {
    padding: 31px 12px 11px;
}
.rheemo-social-feed .rheemo-feed-discovery-card__avatar {
    top: -27px;
    left: 11px;
    width: 50px;
    height: 50px;
    border-width: 3px;
    border-radius: 15px;
}
.rheemo-social-feed .rheemo-feed-discovery-card__kind {
    min-height: 14px;
    margin-bottom: 2px;
    padding-left: 55px;
    font-size: 8px;
}
.rheemo-social-feed .rheemo-feed-discovery-card h3 {
    min-height: 34px;
    font-size: 14px !important;
    line-height: 1.2 !important;
}
.rheemo-social-feed .rheemo-feed-discovery-card__meta {
    min-height: 15px;
    margin-top: 4px !important;
    font-size: 9px !important;
}
.rheemo-social-feed .rheemo-feed-discovery-card__reason {
    display: block;
    min-height: 27px;
    margin: 6px 0 8px !important;
    overflow: hidden;
    font-size: 9px !important;
    line-height: 1.35 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rheemo-social-feed .rheemo-feed-discovery-card footer {
    min-height: 34px;
    gap: 6px;
}
.rheemo-social-feed .rheemo-feed-discovery-card footer > span {
    font-size: 8px;
}
.rheemo-social-feed .rheemo-feed-discovery-card footer > span strong {
    font-size: 10px;
}
.rheemo-social-feed .rheemo-feed-discovery-card footer .rheemo-btn,
.rheemo-social-feed .rheemo-feed-discovery-card footer .rheemo-feed-discovery-card__view {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 92px !important;
    min-height: 34px !important;
    padding: 7px 10px !important;
    border-radius: 10px !important;
    font-size: 9px !important;
    white-space: nowrap !important;
}

/* Page Découvrir : grille dense et cartes sans longues descriptions. */
.rheemo-discover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.rheemo-discover-card {
    display: flex;
    min-height: 246px;
    flex-direction: column;
    border-radius: 18px;
}
.rheemo-discover-card__cover {
    height: 88px;
    flex: 0 0 88px;
}
.rheemo-discover-card__cover > span {
    left: 9px;
    bottom: 8px;
    min-height: 21px;
    padding: 3px 7px;
    font-size: 8px;
}
.rheemo-discover-card__body {
    display: flex;
    min-height: 158px;
    flex: 1;
    flex-direction: column;
    padding: 31px 13px 12px;
}
.rheemo-discover-card__avatar {
    top: -28px;
    left: 12px;
    width: 54px;
    height: 54px;
    padding: 3px;
    border-radius: 16px;
}
.rheemo-discover-card__avatar img {
    border-radius: 13px;
}
.rheemo-discover-card__kind {
    top: 10px;
    right: 12px;
    max-width: calc(100% - 82px);
    font-size: 8px;
}
.rheemo-discover-card h3 {
    display: -webkit-box;
    min-height: 36px;
    margin: 0 !important;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.rheemo-discover-card__handle,
.rheemo-discover-card__location,
.rheemo-discover-card__topic {
    min-height: 15px;
    margin: 4px 0 0 !important;
    overflow: hidden;
    color: #687388 !important;
    font-size: 9px !important;
    font-weight: 750;
    line-height: 1.35 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rheemo-discover-card__description,
.rheemo-discover-card__tags {
    display: none !important;
}
.rheemo-discover-card__reason {
    min-height: 25px;
    margin: 7px 0 0 !important;
    padding: 5px 7px;
    overflow: hidden;
    font-size: 9px !important;
    line-height: 1.3 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rheemo-discover-card footer {
    min-height: 37px;
    margin-top: auto;
    padding-top: 9px;
}
.rheemo-discover-card footer > span {
    font-size: 9px;
}
.rheemo-discover-card footer > span strong {
    font-size: 11px;
}
.rheemo-discover-card footer .rheemo-btn,
.rheemo-discover-card footer button {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 88px !important;
    min-height: 34px !important;
    padding: 7px 10px !important;
    border-radius: 10px !important;
    font-size: 9px !important;
    white-space: nowrap !important;
}

@media (max-width: 1180px) {
    .rheemo-discover-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rheemo-social-feed .rheemo-feed-discovery-card {
        flex-basis: calc((100% - 12px) / 2);
    }
}

@media (max-width: 820px) {
    .rheemo-social-feed .rheemo-feed-discovery__header {
        padding: 16px 14px 10px;
    }
    .rheemo-social-feed .rheemo-feed-discovery__heading p {
        display: none;
    }
    .rheemo-social-feed .rheemo-feed-discovery__track {
        gap: 10px;
        padding: 2px 14px 15px;
        scroll-padding-inline: 14px;
    }
    .rheemo-social-feed .rheemo-feed-discovery-card {
        flex-basis: min(76%, 286px);
        min-width: min(76%, 286px);
        min-height: 226px;
    }
}

@media (max-width: 680px) {
    .rheemo-discover-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
    .rheemo-discover-card {
        min-height: 232px;
    }
    .rheemo-discover-card__cover {
        height: 78px;
        flex-basis: 78px;
    }
    .rheemo-discover-card__body {
        min-height: 154px;
        padding: 29px 12px 11px;
    }
}

@media (max-width: 520px) {
    .rheemo-social-feed .rheemo-feed-discovery {
        margin: 11px 0 !important;
        border-radius: 18px !important;
    }
    .rheemo-social-feed .rheemo-feed-discovery__header {
        align-items: center;
        padding: 15px 12px 9px;
    }
    .rheemo-social-feed .rheemo-feed-discovery__heading h2 {
        font-size: 17px !important;
    }
    .rheemo-social-feed .rheemo-feed-discovery__actions > a {
        min-height: 30px;
        padding: 0 8px;
        font-size: 9px;
    }
    .rheemo-social-feed .rheemo-feed-discovery__track {
        padding-right: 12px;
        padding-left: 12px;
        scroll-padding-inline: 12px;
    }
    .rheemo-social-feed .rheemo-feed-discovery-card {
        flex-basis: min(78%, 282px);
        min-width: min(78%, 282px);
    }
}

/* Rheemo Core 0.4.7.0 — Notifications push natives */
.rheemo-push-panel-v0470{display:grid;gap:18px;overflow:hidden}.rheemo-push-heading-v0470{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;padding:4px 0 16px;border-bottom:1px solid #e7eaf4}.rheemo-push-heading-v0470__icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#eff3ff,#faeefb);color:#5e43cf}.rheemo-push-heading-v0470__icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.rheemo-push-heading-v0470 span{display:block;color:#7a46c8;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.rheemo-push-heading-v0470 h3{margin:3px 0 4px;font-size:20px;line-height:1.25;color:#19233d}.rheemo-push-heading-v0470 p{margin:0;color:#667085;line-height:1.5}.rheemo-push-status-v0470{padding:7px 11px;border-radius:999px;background:#f1f3f8;color:#667085!important;font-size:11px!important;white-space:nowrap}.rheemo-push-status-v0470.is-on{background:#e9f9ef;color:#08783e!important}.rheemo-push-status-v0470.is-off{background:#fff0f0;color:#b42318!important}.rheemo-push-status-v0470.is-warn{background:#fff7e6;color:#a15c00!important}.rheemo-push-permission-v0470{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border:1px solid #dfe4f2;border-radius:17px;background:#fafbff}.rheemo-push-permission-v0470 strong,.rheemo-push-permission-v0470 span{display:block}.rheemo-push-permission-v0470 strong{color:#202b48}.rheemo-push-permission-v0470 span{margin-top:3px;color:#70798c;font-size:13px}.rheemo-push-permission-v0470__actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.rheemo-push-grid-v0470{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rheemo-push-option-v0470{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid #e4e7f0;border-radius:15px;background:#fff;cursor:pointer}.rheemo-push-option-v0470>span:first-child{min-width:0}.rheemo-push-option-v0470 strong,.rheemo-push-option-v0470 small{display:block}.rheemo-push-option-v0470 strong{font-size:14px;color:#202a45}.rheemo-push-option-v0470 small{margin-top:3px;color:#7b8496;font-size:12px;line-height:1.4}.rheemo-push-privacy-v0470{display:grid;gap:10px;margin-top:10px}.rheemo-push-quiet-v0470{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #e4e7f0;border-radius:15px;padding-right:14px}.rheemo-push-quiet-v0470>.rheemo-push-option-v0470{border:0}.rheemo-push-hours-v0470{display:flex;gap:8px}.rheemo-push-hours-v0470 label{display:grid;gap:4px;font-size:11px;font-weight:700;color:#6b7386}.rheemo-push-hours-v0470 input{min-height:38px;padding:6px 9px;border:1px solid #d8ddea;border-radius:10px;background:#fff;color:#25304e}.rheemo-push-actions-v0470{margin-top:14px}.rheemo-push-devices-v0470{padding-top:16px;border-top:1px solid #e7eaf4}.rheemo-push-device-v0470{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 3px;border-bottom:1px solid #edf0f6}.rheemo-push-device-v0470:last-child{border-bottom:0}.rheemo-push-device-v0470>span{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#f1f4fb}.rheemo-push-device-v0470 strong,.rheemo-push-device-v0470 small{display:block}.rheemo-push-device-v0470 strong{font-size:14px;color:#26304b}.rheemo-push-device-v0470 small{margin-top:2px;color:#7f8798;font-size:12px}.rheemo-push-device-v0470 button{border:0;background:#f4f5f9;color:#5c6475;border-radius:10px;padding:8px 10px;font-weight:700;cursor:pointer}.rheemo-push-device-v0470 button:hover{background:#ffecef;color:#b4234b}
@media(max-width:760px){.rheemo-push-heading-v0470{grid-template-columns:44px minmax(0,1fr)}.rheemo-push-heading-v0470__icon{width:44px;height:44px;border-radius:14px}.rheemo-push-status-v0470{grid-column:1/-1;justify-self:start}.rheemo-push-heading-v0470 h3{font-size:17px}.rheemo-push-permission-v0470{align-items:stretch;flex-direction:column}.rheemo-push-permission-v0470__actions{justify-content:stretch}.rheemo-push-permission-v0470__actions .rheemo-btn{flex:1 1 145px}.rheemo-push-grid-v0470{grid-template-columns:1fr}.rheemo-push-quiet-v0470{grid-template-columns:1fr;padding:0 12px 12px}.rheemo-push-hours-v0470{width:100%}.rheemo-push-hours-v0470 label{flex:1}.rheemo-push-hours-v0470 input{width:100%}.rheemo-push-device-v0470{grid-template-columns:34px minmax(0,1fr)}.rheemo-push-device-v0470 button{grid-column:2;justify-self:start}}
.rheemo-push-device-v0470.is-current{background:#faf8ff;border-radius:12px;padding-left:9px;padding-right:9px}.rheemo-push-device-v0470 em{display:inline-block;margin-top:4px;padding:3px 7px;border-radius:999px;background:#eee9ff;color:#6241c7;font-size:10px;font-style:normal;font-weight:800;text-transform:uppercase;letter-spacing:.04em}


/* =========================================================
   Rheemo Core v0.4.7.1 — centre de notifications hiérarchisé
   Un seul accès « Préférences », commandes alignées et mobile épuré.
   ========================================================= */
.rheemo-social-feed.rheemo-view-notifications .rheemo-feed-hero--notifications{
  width:100%!important;
  max-width:none!important;
  padding:24px 30px!important;
  border-radius:25px!important;
  text-align:left!important;
  justify-content:space-between!important;
  box-shadow:0 18px 42px rgba(49,46,129,.20)!important;
}
.rheemo-social-feed.rheemo-view-notifications .rheemo-feed-hero--notifications .rheemo-feed-hero__content{
  max-width:680px!important;
  margin:0!important;
  text-align:left!important;
}
.rheemo-social-feed.rheemo-view-notifications .rheemo-feed-hero--notifications h1{
  margin:10px 0 6px!important;
  font-size:clamp(30px,3vw,42px)!important;
}
.rheemo-social-feed.rheemo-view-notifications .rheemo-feed-hero--notifications p{
  font-size:15px!important;
  line-height:1.55!important;
}
.rheemo-social-feed.rheemo-view-notifications .rheemo-feed-hero--notifications .rheemo-feed-hero__actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:9px!important;
  flex-wrap:nowrap!important;
}
.rheemo-social-feed.rheemo-view-notifications .rheemo-feed-hero--notifications .rheemo-btn{
  min-height:42px!important;
  padding:0 17px!important;
  border-radius:13px!important;
  white-space:nowrap!important;
  font-size:13px!important;
}
.rheemo-social-feed.rheemo-view-notifications .rheemo-notifications-workspace-v04543{
  margin-top:0!important;
  padding:16px!important;
  border-radius:22px!important;
}
.rheemo-social-feed .rheemo-notifications-toolbar-v0471{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
}
.rheemo-social-feed .rheemo-notification-toolbar-actions-v0471{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
}
.rheemo-social-feed .rheemo-notification-mark-all-v0471,
.rheemo-social-feed .rheemo-notification-preferences-v0471{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:44px;
  margin:0;
  padding:0 13px;
  border:1px solid #e0e4ef;
  border-radius:13px;
  background:#f7f8fc;
  color:#4535c7;
  font-size:12px;
  font-weight:900;
  line-height:1;
  text-decoration:none!important;
  white-space:nowrap;
  box-shadow:none;
  cursor:pointer;
}
.rheemo-social-feed .rheemo-notification-mark-all-v0471:hover,
.rheemo-social-feed .rheemo-notification-preferences-v0471:hover{
  border-color:#d8d4fa;
  background:#f1efff;
  color:#3827ad;
}
.rheemo-social-feed .rheemo-notification-mark-all-v0471 svg,
.rheemo-social-feed .rheemo-notification-preferences-v0471 svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 auto;
}
.rheemo-social-feed .rheemo-notification-preferences-v0471{display:none}
.rheemo-social-feed.rheemo-view-notifications .rheemo-native-view-header{display:none!important}
.rheemo-social-feed.rheemo-view-settings .rheemo-native-view-header{display:none!important}
.rheemo-social-feed.rheemo-view-settings #rheemo-notification-preferences{scroll-margin-top:90px}
.rheemo-app-preferences-v0471 svg{transform:none!important}

@media(max-width:1100px) and (min-width:781px){
  .rheemo-social-feed .rheemo-notifications-toolbar-v0471{
    grid-template-columns:1fr!important;
    align-items:stretch!important;
  }
  .rheemo-social-feed .rheemo-notification-toolbar-actions-v0471{justify-content:flex-start}
}

@media(max-width:780px){
  .rheemo-social-feed.rheemo-view-notifications .rheemo-notifications-workspace-v04543{
    padding:12px!important;
    border-radius:19px!important;
  }
  .rheemo-social-feed .rheemo-notifications-toolbar-v0471{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:9px!important;
    padding-bottom:12px!important;
  }
  .rheemo-social-feed .rheemo-notification-tabs-v04543{
    width:100%!important;
    padding:4px!important;
    border-radius:14px!important;
  }
  .rheemo-social-feed .rheemo-notification-tabs-v04543 button{
    min-height:42px!important;
    padding:8px 9px!important;
    border-radius:10px!important;
    font-size:12.5px!important;
  }
  .rheemo-social-feed .rheemo-notification-toolbar-actions-v0471{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
  }
  .rheemo-social-feed .rheemo-notification-filter-v04543{
    min-width:0!important;
  }
  .rheemo-social-feed .rheemo-notification-filter-v04543 select{
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    padding-left:12px!important;
    border-radius:12px!important;
    font-size:12px!important;
  }
  .rheemo-social-feed .rheemo-notification-mark-all-v0471{
    width:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    padding:0!important;
    border-radius:12px!important;
  }
  .rheemo-social-feed .rheemo-notification-mark-all-v0471 span{display:none!important}
  html.rheemo-app-mode-v0455 .rheemo-social-feed .rheemo-notification-preferences-v0471,
  body.rheemo-app-mode-v0455 .rheemo-social-feed .rheemo-notification-preferences-v0471,
  html.rheemo-app-mode-v04545 .rheemo-social-feed .rheemo-notification-preferences-v0471,
  body.rheemo-app-mode-v04545 .rheemo-social-feed .rheemo-notification-preferences-v0471{
    display:none!important;
  }
  .rheemo-social-feed.rheemo-view-notifications .rheemo-notification-list-v04543{padding-top:3px!important}
  .rheemo-social-feed.rheemo-view-notifications .rheemo-notification-date-group-v04543>h3{
    margin:13px 4px 7px!important;
  }
}


/* =========================================================
   Rheemo Core v0.4.8.0.3 — cartes Pages et Groupes lisibles
   Une seule règle responsive : 3 cartes larges, 2 cartes intermédiaires,
   puis une carte complète avec aperçu de la suivante sur petit écran.
   ========================================================= */
.rheemo-social-feed .rheemo-feed-discovery{
    container-type:inline-size;
    overflow:hidden!important;
}
.rheemo-social-feed .rheemo-feed-discovery__track{
    align-items:stretch!important;
    gap:14px!important;
    padding:3px 18px 18px!important;
    scroll-padding-inline:18px!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card{
    flex:0 0 calc((100% - 28px) / 3)!important;
    width:auto!important;
    min-width:250px!important;
    min-height:286px!important;
    height:auto!important;
    overflow:hidden!important;
    border-radius:18px!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card__cover{
    height:88px!important;
    flex-basis:88px!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card__badge{
    top:9px!important;
    left:9px!important;
    min-height:22px!important;
    max-width:calc(100% - 18px)!important;
    padding:4px 8px!important;
    overflow:hidden!important;
    font-size:9px!important;
    line-height:1.15!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card__body{
    box-sizing:border-box!important;
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    padding:36px 14px 14px!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card__avatar{
    top:-31px!important;
    left:13px!important;
    width:58px!important;
    height:58px!important;
    border-width:4px!important;
    border-radius:17px!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card--group .rheemo-feed-discovery-card__avatar{
    border-radius:50%!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card__kind{
    min-height:16px!important;
    margin:0 0 4px!important;
    padding-left:63px!important;
    overflow:hidden!important;
    font-size:10px!important;
    line-height:1.3!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card h3{
    display:-webkit-box!important;
    min-height:42px!important;
    margin:2px 0 0!important;
    overflow:hidden!important;
    font-size:15.5px!important;
    line-height:1.34!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card h3 a{
    display:block!important;
    color:inherit!important;
    text-decoration:none!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card__meta{
    min-height:18px!important;
    margin-top:6px!important;
    overflow:hidden!important;
    font-size:11.5px!important;
    line-height:1.4!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card__reason{
    display:-webkit-box!important;
    min-height:34px!important;
    margin:8px 0 11px!important;
    overflow:hidden!important;
    font-size:11.5px!important;
    line-height:1.45!important;
    white-space:normal!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card footer{
    display:flex!important;
    min-height:42px!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin-top:auto!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card footer>span{
    min-width:0!important;
    overflow:hidden!important;
    font-size:10.5px!important;
    line-height:1.25!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card footer>span strong{
    font-size:12px!important;
}
.rheemo-social-feed .rheemo-feed-discovery-card footer .rheemo-btn,
.rheemo-social-feed .rheemo-feed-discovery-card footer .rheemo-feed-discovery-card__view{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:104px!important;
    min-height:40px!important;
    padding:9px 13px!important;
    border-radius:12px!important;
    font-size:11.5px!important;
    font-weight:850!important;
}

@container (max-width:930px){
    .rheemo-social-feed .rheemo-feed-discovery-card{
        flex-basis:calc((100% - 14px) / 2)!important;
        min-width:250px!important;
    }
}
@container (max-width:620px){
    .rheemo-social-feed .rheemo-feed-discovery__header{
        grid-template-columns:minmax(0,1fr) auto!important;
        align-items:start!important;
        gap:9px!important;
        padding:15px 13px 10px!important;
    }
    .rheemo-social-feed .rheemo-feed-discovery__heading h2{
        display:-webkit-box!important;
        overflow:hidden!important;
        font-size:17px!important;
        line-height:1.22!important;
        -webkit-box-orient:vertical!important;
        -webkit-line-clamp:2!important;
    }
    .rheemo-social-feed .rheemo-feed-discovery__heading p{display:none!important}
    .rheemo-social-feed .rheemo-feed-discovery__actions>a{
        min-height:34px!important;
        padding:0 10px!important;
        font-size:10px!important;
    }
    .rheemo-social-feed .rheemo-feed-discovery__arrows{display:none!important}
    .rheemo-social-feed .rheemo-feed-discovery__track{
        overflow-x:auto!important;
        overflow-y:hidden!important;
        gap:11px!important;
        padding:3px 13px 16px!important;
        scroll-padding-inline:13px!important;
        scroll-snap-type:x mandatory!important;
    }
    .rheemo-social-feed .rheemo-feed-discovery-card{
        flex:0 0 min(82%,310px)!important;
        width:min(82%,310px)!important;
        min-width:250px!important;
        min-height:278px!important;
        scroll-snap-align:start!important;
    }
    .rheemo-social-feed .rheemo-feed-discovery-card__cover{
        height:84px!important;
        flex-basis:84px!important;
    }
    .rheemo-social-feed .rheemo-feed-discovery-card__body{padding:35px 13px 13px!important}
    .rheemo-social-feed .rheemo-feed-discovery-card__avatar{
        top:-29px!important;
        left:12px!important;
        width:54px!important;
        height:54px!important;
    }
    .rheemo-social-feed .rheemo-feed-discovery-card__kind{
        padding-left:59px!important;
        font-size:9.5px!important;
    }
    .rheemo-social-feed .rheemo-feed-discovery-card h3{
        min-height:41px!important;
        font-size:15px!important;
    }
    .rheemo-social-feed .rheemo-feed-discovery-card__meta,
    .rheemo-social-feed .rheemo-feed-discovery-card__reason{font-size:11px!important}
    .rheemo-social-feed .rheemo-feed-discovery-card footer .rheemo-btn,
    .rheemo-social-feed .rheemo-feed-discovery-card footer .rheemo-feed-discovery-card__view{
        min-width:100px!important;
        font-size:11px!important;
    }
}
@media(max-width:700px){
    .rheemo-social-feed .rheemo-feed-discovery-card{
        flex:0 0 min(82%,310px)!important;
        width:min(82%,310px)!important;
        min-width:250px!important;
    }
}

/* Rheemo Core 0.4.8.0 — signalement guidé et retour de modération */
body.rheemo-report-open-v048{overflow:hidden}
.rheemo-report-dialog-v048{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:18px;font-family:inherit}
.rheemo-report-dialog-v048__backdrop{position:absolute;inset:0;background:rgba(15,10,35,.68);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.rheemo-report-dialog-v048__panel{position:relative;width:min(560px,100%);max-height:min(780px,calc(100dvh - 28px));overflow:auto;background:linear-gradient(180deg,#fff 0%,#fbf9ff 100%);border:1px solid rgba(115,81,164,.18);border-radius:24px;box-shadow:0 30px 90px rgba(17,8,45,.32);animation:rheemo-report-in-v048 .2s ease-out both}
@keyframes rheemo-report-in-v048{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
.rheemo-report-dialog-v048__panel>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:start;padding:22px 22px 18px;border-bottom:1px solid #eee8f5;background:linear-gradient(135deg,#f7f1ff,#eefaff)}
.rheemo-report-dialog-v048__shield{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:#fff;box-shadow:0 8px 24px rgba(64,37,110,.13);font-size:22px}
.rheemo-report-dialog-v048__panel header small{display:block;margin:0 0 3px;color:#7657a5;font-weight:800;letter-spacing:.04em;text-transform:uppercase;font-size:10px}
.rheemo-report-dialog-v048__panel header h2{margin:0;color:#23143f;font-size:22px;line-height:1.15}
.rheemo-report-dialog-v048__panel header p{margin:6px 0 0;color:#686072;font-size:13px;line-height:1.45}
.rheemo-report-dialog-v048__close{width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.86);display:grid;place-items:center;color:#3a2856;cursor:pointer;box-shadow:0 5px 16px rgba(55,31,91,.1)}
.rheemo-report-dialog-v048__close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.rheemo-report-dialog-v048 form{padding:22px;display:grid;gap:17px}
.rheemo-report-dialog-v048 label{display:grid;gap:7px;color:#302641;font-weight:750;font-size:13px}
.rheemo-report-dialog-v048 select,.rheemo-report-dialog-v048 textarea{width:100%;box-sizing:border-box;border:1px solid #d8cfe5;border-radius:14px;background:#fff;color:#241a31;font:inherit;outline:none;transition:border-color .15s,box-shadow .15s}
.rheemo-report-dialog-v048 select{height:50px;padding:0 14px}
.rheemo-report-dialog-v048 textarea{min-height:112px;padding:13px 14px;resize:vertical;line-height:1.5}
.rheemo-report-dialog-v048 select:focus,.rheemo-report-dialog-v048 textarea:focus{border-color:#7b4bb2;box-shadow:0 0 0 4px rgba(123,75,178,.12)}
.rheemo-report-dialog-v048 label>small{justify-self:end;color:#81778c;font-weight:600}
.rheemo-report-dialog-v048__note{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;padding:13px 14px;border-radius:15px;background:#f1f8f8;color:#325a5c;border:1px solid #d7ebeb}
.rheemo-report-dialog-v048__note>span{width:25px;height:25px;border-radius:50%;background:#d7eeee;display:grid;place-items:center;font-weight:900}
.rheemo-report-dialog-v048__note p{margin:0;font-size:12px;line-height:1.5}
.rheemo-report-dialog-v048__actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.rheemo-report-dialog-v048__actions .rheemo-btn{min-height:44px;border-radius:13px;padding:0 18px}
.rheemo-report-dialog-v048__actions button:disabled{opacity:.5;cursor:not-allowed}
.rheemo-report-dialog-v048__feedback{min-height:18px;color:#4c356b;font-size:13px;font-weight:700;text-align:center}
.rheemo-report-dialog-v048__feedback.is-error{color:#b42318}
.rheemo-post-card.is-moderation-withdrawn-v048{outline:2px solid rgba(204,55,55,.16);filter:saturate(.72)}
.rheemo-post-card.is-moderation-limited-v048{outline:2px solid rgba(105,70,171,.15)}
@media(max-width:600px){.rheemo-report-dialog-v048{padding:0;align-items:end}.rheemo-report-dialog-v048__panel{width:100%;max-height:92dvh;border-radius:24px 24px 0 0}.rheemo-report-dialog-v048__panel>header{padding:19px 17px 16px}.rheemo-report-dialog-v048 form{padding:18px 17px calc(18px + env(safe-area-inset-bottom))}.rheemo-report-dialog-v048__shield{width:42px;height:42px;border-radius:14px}.rheemo-report-dialog-v048__panel header h2{font-size:20px}.rheemo-report-dialog-v048__actions{display:grid;grid-template-columns:1fr 1.2fr}.rheemo-report-dialog-v048__actions .rheemo-btn{width:100%;padding:0 10px}}
.rheemo-post-moderation-note-v048{display:flex;gap:10px;align-items:center;margin:0 18px 12px;padding:10px 12px;border:1px solid #dfd2ee;border-radius:14px;background:linear-gradient(135deg,#faf6ff,#f1fbfc);color:#4c356b}.rheemo-post-moderation-note-v048>span{width:32px;height:32px;display:grid;place-items:center;border-radius:11px;background:#fff;box-shadow:0 4px 12px rgba(76,53,107,.09)}.rheemo-post-moderation-note-v048 strong,.rheemo-post-moderation-note-v048 small{display:block}.rheemo-post-moderation-note-v048 small{margin-top:2px;color:#6f6479;line-height:1.35}

/* Rheemo Core 0.4.8.0.1 — état réellement bloqué des notifications. */
.rheemo-push-blocked-help-v04801{display:grid;gap:8px;padding:15px 16px;border:1px solid #f4b8c7;border-radius:17px;background:linear-gradient(135deg,#fff4f6,#fffaf3);color:#6f2441}.rheemo-push-blocked-help-v04801[hidden]{display:none!important}.rheemo-push-blocked-help-v04801 strong{font-size:15px;color:#9f174f}.rheemo-push-blocked-help-v04801 p{margin:0;color:#70435a;font-size:13px;line-height:1.55}.rheemo-push-blocked-help-v04801 .rheemo-btn{justify-self:start;margin-top:3px}.rheemo-push-panel-v0470.is-permission-blocked-v04801 .rheemo-push-preferences-v0470{opacity:.68}.rheemo-push-panel-v0470.is-permission-blocked-v04801 .rheemo-push-option-v0470{cursor:default}

/* =========================================================
   Rheemo Core v0.4.8.0.4.2 — finalisation du compte et
   republication transparente, limitée et non duplicative.
   ========================================================= */
body.rheemo-onboarding-active-v048042{
    padding-top:0!important;
    padding-bottom:0!important;
    background:#f5f7fb!important;
}
body.rheemo-onboarding-active-v048042 .rheemo-app-navigation-v0455,
body.rheemo-onboarding-active-v048042 .rheemo-mobile-nav-bar{
    display:none!important;
}
.rheemo-social-feed.rheemo-onboarding-wizard-v048042{
    width:min(100% - 32px,960px)!important;
    margin:28px auto 56px!important;
    padding:0!important;
}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-hero{
    min-height:0;
    padding:30px 34px;
    border-radius:26px;
    background:linear-gradient(135deg,#173a9f 0%,#5937df 56%,#df35ad 100%);
    box-shadow:0 24px 60px rgba(50,48,145,.18);
}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-hero h1{
    max-width:700px;
    font-size:clamp(26px,4vw,39px);
}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-hero>strong{
    width:82px;height:82px;flex-basis:82px;border-width:6px;font-size:19px;
}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-progress{
    margin:18px 0;
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-form{
    padding:0;
    overflow:visible;
    border:1px solid #e2e7f2;
    border-radius:26px;
    box-shadow:0 18px 50px rgba(24,39,75,.09);
}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-section{
    padding:32px 34px 26px;
    border-bottom:0;
}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-form.is-js-v048042 .rheemo-onboarding-section[hidden]{display:none!important}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-section>header small{
    display:block;margin:0 0 4px;color:#6048dc;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;
}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-section h2{
    font-size:clamp(20px,3vw,25px);color:#17213a;
}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-photo-layout{
    grid-template-columns:minmax(210px,280px) minmax(0,1fr);
    align-items:center;
    gap:34px;
    margin-top:24px;
}
.rheemo-social-feed .rheemo-onboarding-wizard-v048042 .rheemo-onboarding-avatar-editor{
    width:100%;
    min-height:285px;
    padding:22px;
    border:2px dashed #cfd7ec;
    border-radius:24px;
    background:linear-gradient(180deg,#fbfcff,#f5f7ff);
    justify-content:center;
}
.rheemo-social-feed .rheemo-onboarding-wizard-v048042 .rheemo-onboarding-avatar-editor:hover{
    border-color:#7955e8;background:#f8f6ff;
}
.rheemo-social-feed .rheemo-onboarding-wizard-v048042 .rheemo-onboarding-avatar-editor .rheemo-profile-avatar-preview{
    width:172px;height:172px;border-radius:28px;overflow:hidden;background:#e7ebf3;box-shadow:0 12px 30px rgba(30,46,90,.14);
}
.rheemo-social-feed .rheemo-onboarding-wizard-v048042 .rheemo-onboarding-avatar-editor .rheemo-profile-avatar-preview img{
    width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;
}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-avatar-editor strong{margin-top:14px;color:#4c43ca;font-size:14px}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-avatar-editor small{max-width:220px;margin-top:5px;color:#7a8499;font-size:11px;text-align:center;word-break:break-word}
.rheemo-onboarding-photo-guidance>strong{display:block;margin-bottom:10px;color:#202b46;font-size:17px}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-photo-guidance ul{margin:0;padding-left:20px;color:#59677f;font-size:14px;line-height:1.8}
.rheemo-onboarding-inline-feedback{min-height:20px;margin:10px 0 0;color:#b42318;font-size:12px;font-weight:700}
.rheemo-onboarding-photo-guidance .rheemo-onboarding-inline-feedback{color:#35633e}
.rheemo-onboarding-step-actions{
    display:flex;align-items:center;justify-content:space-between;gap:14px;margin:30px -34px -26px;padding:20px 34px;border-top:1px solid #edf0f6;background:#fbfcff;border-radius:0 0 26px 26px;
}
.rheemo-onboarding-step-actions .rheemo-btn{min-width:155px;justify-content:center}
.rheemo-onboarding-interest-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;color:#758097;font-size:12px}
.rheemo-onboarding-interest-meta>span{color:#4f45c9;font-weight:900}
.rheemo-onboarding-privacy-note{display:flex;gap:12px;align-items:flex-start;margin-top:22px;padding:15px 17px;border:1px solid #dce5f7;border-radius:16px;background:#f7faff;color:#5d6981;font-size:12px;line-height:1.55}
.rheemo-onboarding-privacy-note p{margin:0}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-form .rheemo-smart-select__input:invalid,
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-form .rheemo-interest-picker__search:invalid{
    border-color:#d9dfeb!important;background:#fff!important;
}
.rheemo-repost-context-v048042{
    display:flex;align-items:center;gap:10px;padding:11px 18px;border-bottom:1px solid rgba(87,66,204,.10);background:linear-gradient(90deg,#faf8ff,#f7fbff);color:#4e5870;
}
.rheemo-repost-context-v048042__avatar{width:32px;height:32px;flex:0 0 32px;border-radius:50%;overflow:hidden}
.rheemo-repost-context-v048042__avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
.rheemo-repost-context-v048042 div{min-width:0}
.rheemo-repost-context-v048042 strong,.rheemo-repost-context-v048042 small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rheemo-repost-context-v048042 strong{color:#3e376d;font-size:12px}
.rheemo-repost-context-v048042 small{margin-top:2px;color:#7d879a;font-size:10px}
.rheemo-social-feed .rheemo-post-card__footer.rheemo-post-card__footer--four-v048042{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.rheemo-social-feed .rheemo-repost-button-v048042[aria-disabled="true"]{opacity:.56;cursor:not-allowed!important}
.rheemo-social-feed .rheemo-repost-button-v048042[aria-disabled="false"]:hover{background:#f1efff!important;color:#5b3ed5!important}
.rheemo-social-feed .rheemo-action-icon--repost-v048042 svg{width:21px;height:21px}

@media(max-width:760px){
    body.rheemo-onboarding-active-v048042 .site-header,
    body.rheemo-onboarding-active-v048042 header#masthead{display:none!important}
    .rheemo-social-feed.rheemo-onboarding-wizard-v048042{width:100%!important;margin:0 auto!important;padding:14px 12px 28px!important}
    .rheemo-onboarding-wizard-v048042 .rheemo-onboarding-hero{padding:24px 20px;border-radius:22px}
    .rheemo-onboarding-wizard-v048042 .rheemo-onboarding-hero>div{padding-right:50px}
    .rheemo-onboarding-wizard-v048042 .rheemo-onboarding-hero>strong{right:15px;top:15px;width:58px;height:58px;flex-basis:58px;border-width:5px;font-size:14px}
    .rheemo-onboarding-wizard-v048042 .rheemo-onboarding-progress{display:flex;gap:8px;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}
    .rheemo-onboarding-wizard-v048042 .rheemo-onboarding-progress article{min-width:174px;padding:11px}
    .rheemo-onboarding-wizard-v048042 .rheemo-onboarding-section{padding:24px 18px 20px}
    .rheemo-onboarding-wizard-v048042 .rheemo-onboarding-photo-layout{grid-template-columns:1fr;gap:20px;margin-top:18px}
    .rheemo-social-feed .rheemo-onboarding-wizard-v048042 .rheemo-onboarding-avatar-editor{min-height:250px}
    .rheemo-social-feed .rheemo-onboarding-wizard-v048042 .rheemo-onboarding-avatar-editor .rheemo-profile-avatar-preview{width:150px;height:150px}
    .rheemo-onboarding-step-actions{position:sticky;bottom:0;z-index:4;margin:24px -18px -20px;padding:14px 18px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -10px 24px rgba(29,38,75,.07)}
    .rheemo-onboarding-step-actions .rheemo-btn{min-width:0;flex:1;padding-left:12px;padding-right:12px}
    .rheemo-onboarding-interest-meta{align-items:flex-start;flex-direction:column;gap:3px}
    .rheemo-social-feed .rheemo-post-card__footer.rheemo-post-card__footer--four-v048042{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
}
@media(max-width:390px){
    .rheemo-onboarding-wizard-v048042 .rheemo-onboarding-hero h1{font-size:23px}
    .rheemo-onboarding-step-actions{flex-direction:column-reverse}
    .rheemo-onboarding-step-actions .rheemo-btn{width:100%;flex:none}
}

.rheemo-photo-reminder-v048042{display:flex;align-items:center;gap:12px;margin:16px 0;padding:14px 16px;border:1px solid #d8e2fa;border-radius:18px;background:#f7faff;color:#536078}.rheemo-photo-reminder-v048042>span{font-size:24px}.rheemo-photo-reminder-v048042>div{min-width:0;flex:1}.rheemo-photo-reminder-v048042 strong,.rheemo-photo-reminder-v048042 small{display:block}.rheemo-photo-reminder-v048042 strong{color:#26334e}.rheemo-photo-reminder-v048042 small{margin-top:2px;line-height:1.45}.rheemo-photo-reminder-v048042 a{flex:0 0 auto;padding:9px 13px;border-radius:12px;background:#5541d8;color:#fff!important;text-decoration:none!important;font-weight:800;font-size:12px}@media(max-width:620px){.rheemo-photo-reminder-v048042{align-items:flex-start;flex-wrap:wrap}.rheemo-photo-reminder-v048042 a{width:100%;text-align:center}}


/* =========================================================
   Rheemo Core v0.4.8.0.4.3 — actions mobiles et remise en avant
   - La remise en avant n'est visible que sur la publication de son auteur.
   - Trois actions sur les publications des autres membres, quatre sur la sienne.
   - Sur mobile, libellés visuellement masqués mais conservés pour l'accessibilité.
   ========================================================= */
.rheemo-social-feed .rheemo-post-card__footer.rheemo-post-card__footer--four-v048043{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.rheemo-social-feed .rheemo-bump-button-v048043[aria-disabled="true"]{
    opacity:.56!important;
    cursor:not-allowed!important;
}
.rheemo-social-feed .rheemo-bump-button-v048043[aria-disabled="false"]:hover,
.rheemo-social-feed .rheemo-bump-button-v048043[aria-disabled="false"]:focus-visible{
    background:#f1efff!important;
    color:#5b3ed5!important;
}
.rheemo-social-feed .rheemo-action-icon--bump-v048043 svg{
    width:21px!important;
    height:21px!important;
}

@media(max-width:760px){
    .rheemo-social-feed .rheemo-post-card__footer,
    .rheemo-social-feed .rheemo-post-card__footer.rheemo-post-card__footer--four-v048043{
        gap:7px!important;
        padding:9px 10px 11px!important;
    }
    .rheemo-social-feed .rheemo-post-card__footer a,
    .rheemo-social-feed .rheemo-post-card__footer button{
        gap:0!important;
        min-height:50px!important;
        height:50px!important;
        padding:6px!important;
        border-radius:14px!important;
        font-size:0!important;
    }
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-action-icon,
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-share2-icon{
        flex:0 0 34px!important;
        width:34px!important;
        height:34px!important;
        min-width:34px!important;
        border-radius:11px!important;
    }
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-action-icon svg,
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-share2-icon svg,
    .rheemo-social-feed .rheemo-action-icon--bump-v048043 svg{
        width:21px!important;
        height:21px!important;
    }
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-action-label,
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-reaction-label{
        position:absolute!important;
        width:1px!important;
        height:1px!important;
        min-width:1px!important;
        margin:-1px!important;
        padding:0!important;
        overflow:hidden!important;
        clip:rect(0 0 0 0)!important;
        clip-path:inset(50%)!important;
        white-space:nowrap!important;
        border:0!important;
    }
}

@media(max-width:380px){
    .rheemo-social-feed .rheemo-post-card__footer,
    .rheemo-social-feed .rheemo-post-card__footer.rheemo-post-card__footer--four-v048043{
        gap:5px!important;
        padding-left:8px!important;
        padding-right:8px!important;
    }
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-action-icon,
    .rheemo-social-feed .rheemo-post-card__footer .rheemo-share2-icon{
        flex-basis:32px!important;
        width:32px!important;
        height:32px!important;
        min-width:32px!important;
    }
}


/* =========================================================
   Rheemo Core v0.4.8.0.4.4 — remise en avant exceptionnelle
   - Action déplacée dans le menu de la publication personnelle.
   - Barre principale limitée à Réagir, Commenter et Partager.
   - État et délai lisibles dans le menu, sans inciter à une routine.
   ========================================================= */
.rheemo-social-feed .rheemo-post-card__footer{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.rheemo-social-feed .rheemo-bump-menu-item-v048044{
    align-items:flex-start!important;
    gap:11px!important;
    white-space:normal!important;
}
.rheemo-social-feed .rheemo-bump-menu-icon-v048044{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    flex:0 0 28px;
    border-radius:9px;
    background:#f0edff;
    color:#5942d6;
}
.rheemo-social-feed .rheemo-bump-menu-icon-v048044 svg{width:18px;height:18px}
.rheemo-social-feed .rheemo-bump-menu-copy-v048044{display:block;min-width:0;text-align:left}
.rheemo-social-feed .rheemo-bump-menu-copy-v048044 strong,
.rheemo-social-feed .rheemo-bump-menu-copy-v048044 small{display:block}
.rheemo-social-feed .rheemo-bump-menu-copy-v048044 strong{color:inherit;font-size:13px;line-height:1.3}
.rheemo-social-feed .rheemo-bump-menu-copy-v048044 small{margin-top:3px;color:#7b8497;font-size:10px;line-height:1.35}
.rheemo-social-feed .rheemo-bump-menu-item-v048044[aria-disabled="true"]{opacity:.68!important;cursor:not-allowed!important}
.rheemo-social-feed .rheemo-bump-menu-item-v048044[aria-disabled="false"]:hover,
.rheemo-social-feed .rheemo-bump-menu-item-v048044[aria-disabled="false"]:focus-visible{background:#f6f4ff!important;color:#4f39c9!important}
@media(max-width:760px){
    .rheemo-social-feed .rheemo-post-card__footer{grid-template-columns:repeat(3,minmax(0,1fr))!important}
    .rheemo-social-feed .rheemo-post-menu-panel .rheemo-bump-menu-item-v048044{min-height:58px!important;height:auto!important;font-size:13px!important;padding:10px 12px!important}
}


/* =========================================================
   Rheemo Core v0.4.8.0.4.5 — menu linéaire et dialogue de remise en avant
   ========================================================= */
.rheemo-social-feed .rheemo-bump-menu-item-v048045{
    align-items:center!important;
    gap:10px!important;
    min-height:43px!important;
    height:auto!important;
    padding:9px 11px!important;
    white-space:nowrap!important;
    opacity:1!important;
    cursor:pointer!important;
}
.rheemo-social-feed .rheemo-bump-menu-icon-v048045{
    display:grid!important;
    place-items:center!important;
    flex:0 0 24px!important;
    width:24px!important;
    height:24px!important;
    margin:0!important;
    border-radius:8px;
    background:#f0edff;
    color:#5942d6;
}
.rheemo-social-feed .rheemo-bump-menu-icon-v048045 svg{width:17px!important;height:17px!important}
.rheemo-social-feed .rheemo-bump-menu-label-v048045{
    display:block!important;
    flex:1 1 auto!important;
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    margin:0!important;
    color:inherit;
    font-size:13px!important;
    font-weight:850!important;
    line-height:1.35!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.rheemo-social-feed .rheemo-bump-menu-item-v048045:hover,
.rheemo-social-feed .rheemo-bump-menu-item-v048045:focus-visible{background:#f6f4ff!important;color:#4f39c9!important}

html.rheemo-bump-dialog-open-v048045{overflow:hidden!important}
.rheemo-bump-dialog-v048045{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px}
.rheemo-bump-dialog-v048045[hidden]{display:none!important}
.rheemo-bump-dialog-v048045__backdrop{position:absolute;inset:0;border:0;background:rgba(20,24,42,.52);backdrop-filter:blur(5px);cursor:default}
.rheemo-bump-dialog-v048045__panel{position:relative;z-index:1;width:min(440px,100%);padding:28px;border:1px solid rgba(78,61,188,.14);border-radius:26px;background:#fff;box-shadow:0 30px 90px rgba(20,24,42,.28);text-align:center;outline:none}
.rheemo-bump-dialog-v048045__close{position:absolute;top:14px;right:14px;width:38px;height:38px;border:0;border-radius:12px;background:#f3f5fa;color:#59647a;font-size:25px;line-height:1;cursor:pointer}
.rheemo-bump-dialog-v048045__close:hover,.rheemo-bump-dialog-v048045__close:focus-visible{background:#ebeefe;color:#4734c7;outline:2px solid rgba(79,57,201,.18)}
.rheemo-bump-dialog-v048045__icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 14px;border-radius:18px;background:linear-gradient(145deg,#f0edff,#eaf4ff);color:#5942d6}
.rheemo-bump-dialog-v048045__icon svg{width:30px;height:30px}
.rheemo-bump-dialog-v048045__eyebrow{margin:0 0 5px;color:#6c56df;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.rheemo-bump-dialog-v048045 h3{margin:0;color:#17223a;font-size:22px;line-height:1.25}
.rheemo-bump-dialog-v048045__message{margin:12px auto 0;max-width:360px;color:#637087;font-size:14px;line-height:1.65}
.rheemo-bump-dialog-v048045__actions{display:flex;justify-content:center;gap:10px;margin-top:23px}
.rheemo-bump-dialog-v048045__actions button{min-height:46px;padding:11px 18px;border-radius:14px;font:inherit;font-size:14px;font-weight:850;cursor:pointer}
.rheemo-bump-dialog-v048045__secondary{border:1px solid #dfe4ef;background:#fff;color:#344055}
.rheemo-bump-dialog-v048045__primary{border:0;background:linear-gradient(135deg,#315cf5,#753be6);color:#fff;box-shadow:0 10px 24px rgba(91,62,220,.22)}
.rheemo-bump-dialog-v048045__actions button:hover,.rheemo-bump-dialog-v048045__actions button:focus-visible{transform:translateY(-1px);outline:2px solid rgba(79,57,201,.18);outline-offset:2px}
.rheemo-bump-dialog-v048045__primary.is-loading{opacity:.68;cursor:wait}
@media(max-width:560px){
    .rheemo-bump-dialog-v048045{align-items:end;padding:12px 12px calc(12px + env(safe-area-inset-bottom))}
    .rheemo-bump-dialog-v048045__panel{width:100%;padding:25px 20px 20px;border-radius:24px}
    .rheemo-bump-dialog-v048045 h3{font-size:20px}
    .rheemo-bump-dialog-v048045__actions{flex-direction:column-reverse}
    .rheemo-bump-dialog-v048045__actions button{width:100%}
}

/* Rheemo Core v0.4.8.0.5.1 — aperçu photo onboarding robuste */
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-avatar-editor .rheemo-profile-avatar-preview{
    border:0;
    appearance:none;
    -webkit-appearance:none;
    cursor:pointer;
    font:inherit;
}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-avatar-trigger-v048051:focus-visible,
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-avatar-link-v048051:focus-visible{
    outline:3px solid rgba(77,73,226,.28);
    outline-offset:4px;
}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-avatar-link-v048051{
    margin-top:14px;
    padding:3px 5px;
    border:0;
    background:transparent;
    color:#4c43ca;
    font:inherit;
    font-size:14px;
    font-weight:900;
    cursor:pointer;
}
.rheemo-onboarding-wizard-v048042 .rheemo-onboarding-avatar-link-v048051:hover{
    text-decoration:underline;
}


/* =========================================================
   Rheemo Core v0.4.9.7.1.1 — Discovery Mobile Polish
   Cartes plus compactes, action principale "Ajouter" et profil secondaire.
   Aucun changement de requêtes ni de logique de suggestion.
   ========================================================= */
@media (max-width: 820px) {
    .rheemo-social-feed .rheemo-mobile-suggestions {
        margin: 14px 0 !important;
        padding-top: 14px !important;
        padding-bottom: 12px !important;
        border-radius: 20px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__header {
        padding: 0 14px 11px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__header h3 {
        font-size: clamp(16px, 4.5vw, 19px) !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__header p {
        margin-top: 4px !important;
        font-size: 10.5px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestions__track.rheemo-suggestion-list {
        gap: 9px !important;
        padding: 1px 14px 7px !important;
        scroll-padding-inline: 14px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card.rheemo-suggestion-item {
        flex: 0 0 clamp(276px, calc(100vw - 88px), 360px) !important;
        width: clamp(276px, calc(100vw - 88px), 360px) !important;
        min-width: 276px !important;
        min-height: 148px !important;
        gap: 10px !important;
        padding: 14px 13px 12px !important;
        border-radius: 18px !important;
        box-shadow: 0 8px 21px rgba(40, 48, 96, .065) !important;
    }

    .rheemo-social-feed .rheemo-dismiss-suggestion {
        top: 8px !important;
        right: 8px !important;
        width: 28px !important;
        min-width: 28px !important;
        height: 28px !important;
        min-height: 28px !important;
        border-radius: 9px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__identity {
        grid-template-columns: 62px minmax(0, 1fr) !important;
        gap: 11px !important;
        padding-right: 22px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__avatar,
    .rheemo-social-feed .rheemo-mobile-suggestion-card__avatar img {
        width: 62px !important;
        height: 62px !important;
        min-width: 62px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__avatar img {
        border-radius: 18px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__avatar .rheemo-presence-dot {
        width: 14px !important;
        height: 14px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__name {
        font-size: 14px !important;
        line-height: 1.2 !important;
        -webkit-line-clamp: 1 !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__reasons {
        gap: 4px !important;
        margin-top: 6px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__reasons span {
        min-height: 22px !important;
        padding: 3px 7px !important;
        font-size: 8.8px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__actions {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) !important;
        gap: 7px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card .rheemo-friend-request,
    .rheemo-social-feed .rheemo-mobile-suggestion-card__profile {
        min-height: 37px !important;
        padding: 8px 9px !important;
        border-radius: 11px !important;
        font-size: 10px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card .rheemo-friend-request {
        border-color: #6345e7 !important;
        background: linear-gradient(120deg, #5a41e6 0%, #7148eb 55%, #a442dc 100%) !important;
        box-shadow: 0 7px 16px rgba(88, 62, 214, .18) !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card .rheemo-friend-request.is-sent {
        border-color: #e1def8 !important;
        background: #f0eefb !important;
        color: #625c8e !important;
        box-shadow: none !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__profile {
        border-color: transparent !important;
        background: transparent !important;
        color: #667087 !important;
        font-weight: 850 !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card__profile:hover,
    .rheemo-social-feed .rheemo-mobile-suggestion-card__profile:focus-visible {
        background: #f6f5fc !important;
        color: #4f46c8 !important;
    }
}

@media (max-width: 430px) {
    .rheemo-social-feed .rheemo-mobile-suggestions__track.rheemo-suggestion-list {
        padding-right: 12px !important;
        padding-left: 12px !important;
        scroll-padding-inline: 12px !important;
    }

    .rheemo-social-feed .rheemo-mobile-suggestion-card.rheemo-suggestion-item {
        flex-basis: calc(100vw - 78px) !important;
        width: calc(100vw - 78px) !important;
        min-width: 272px !important;
    }
}


/* Rheemo Core 0.4.9.9.11 — ajout de photo directement depuis le rappel, sans détour par Modifier mon profil. */
.rheemo-photo-reminder-v049911 .rheemo-quick-avatar-form-v049911{flex:0 0 auto;margin:0}
.rheemo-photo-reminder-v049911 .rheemo-quick-avatar-button-v049911{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 13px;border:0;border-radius:12px;background:#5541d8;color:#fff!important;font-weight:800;font-size:12px;line-height:1.2;text-align:center;cursor:pointer;box-shadow:0 7px 18px rgba(85,65,216,.16);transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}
.rheemo-photo-reminder-v049911 .rheemo-quick-avatar-button-v049911:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(85,65,216,.22)}
.rheemo-photo-reminder-v049911 .rheemo-quick-avatar-button-v049911.is-uploading{opacity:.72;pointer-events:none}
@media(max-width:620px){.rheemo-photo-reminder-v049911 .rheemo-quick-avatar-form-v049911{width:100%}.rheemo-photo-reminder-v049911 .rheemo-quick-avatar-button-v049911{width:100%;box-sizing:border-box}}


/* =========================================================
   Rheemo Core v0.4.9.9.19 — Médias du fil sans recadrage
   L'image d'une publication doit être visible en entier.
   - aucun object-fit: cover sur les publications du fil ;
   - dimensions intrinsèques conservées ;
   - centrage avec marges neutres pour les formats portrait.
   ========================================================= */
.rheemo-social-feed.rheemo-view-feed .rheemo-post-card__media{
    display:grid;
    place-items:center;
}
.rheemo-social-feed.rheemo-view-feed .rheemo-post-card__media img.rheemo-post-card__image{
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    max-height:min(82vh,860px)!important;
    object-fit:contain!important;
    object-position:center center!important;
    margin-inline:auto!important;
}
@media(max-width:620px){
    .rheemo-social-feed.rheemo-view-feed .rheemo-post-card__media img.rheemo-post-card__image{
        max-height:min(78vh,720px)!important;
    }
}
