:root {
    --pink-neon: #ff4fa7;
    --blue-neon: #0ff0fc;
    --purple-neon: #d9a6ff;
    --yellow-neon: #ffeb3b;
    --background: #fff0f5;
    --text-dark: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style pour les noms d'auteur cliquables */
.post-author {
    cursor: pointer; /* Change le curseur en pointeur pour indiquer qu'il est cliquable */
    text-decoration: none; /* S'assure qu'il n'y a pas de soulignement par défaut */
    color: var(--text-dark); /* Couleur par défaut */
}

.post-author:hover {
    text-decoration: underline; /* Souligne le texte au passage de la souris */
    color: var(--pink-neon); /* Change la couleur au passage de la souris pour plus de visibilité */
}

body {
    background: linear-gradient(135deg, #ffd8ea 0%, #ffe6f2 52%, #fff0f7 100%);
    font-family: 'Arial Rounded MT Bold', 'Comic Sans MS', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header K-Pop */
.header {
    background: linear-gradient(180deg, #ff4fa7 0%, #ff9fd0 100%);
    color: white;
    padding: 2rem;
    height: 220px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 5px 20px rgba(255, 79, 167, 0.3);
}

.header-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.header-left-links {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    width: max-content;
    margin-left: calc(150px - (50vw - 50%));
}

.header-left-top,
.header-left-bottom {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.header-left-bottom {
    width: 100%;
}

.header-left-bottom .home-btn {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
}

.header-nav .header-left-links > .a11y-toggle-btn {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 0.82rem 2rem !important;
    min-height: auto !important;
    height: auto !important;
    font-family: 'Arial Rounded MT Bold', 'Comic Sans MS', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.22rem !important;
    line-height: 1.2 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-nav .header-left-links > .a11y-toggle-btn:hover,
.header-nav .header-left-links > .a11y-toggle-btn:focus-visible {
    background: var(--pink-neon);
    border-color: var(--pink-neon);
    color: #ffffff;
    transform: translateY(-1px);
    outline: none;
}

.home-btn {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.home-btn:hover {
    background: var(--pink-neon);
    border-color: var(--pink-neon);
    transform: translateY(-1px);
}

/* Harmonisation des boutons du bloc gauche (un peu plus compacts) */
.header-left-links .home-btn,
.header-nav .header-left-links > .a11y-toggle-btn {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 1.2rem !important;
    font-size: 1rem !important;
    line-height: 1.1 !important;
    box-sizing: border-box;
}

.header-left-links .home-btn {
    font-weight: 500 !important;
}

.header-nav .header-left-links > .a11y-toggle-btn {
    font-weight: 700 !important;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.header-main {
    max-width: 1200px;
    margin: 0 auto;
}

.header-title-stack {
    position: absolute;
    top: 50%;
    right: 200px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}

.header-title-stack .nav-links {
    justify-content: center;
    margin-bottom: 0.35rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0 1.2rem;
    height: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    font-size: 1rem;
    line-height: 1.1;
    box-sizing: border-box;
}

.nav-link:hover {
    background: var(--pink-neon);
    border-color: var(--pink-neon);
    transform: translateY(-3px);
}

.header h1 {
    margin: 0 0 0.35rem;
    text-align: center;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    line-height: 1.15;
    text-shadow: none;
    animation: none;
}

@keyframes glow {
    from { text-shadow: 0 0 10px var(--pink-neon), 0 0 20px var(--blue-neon); }
    to { text-shadow: 0 0 15px var(--blue-neon), 0 0 30px var(--pink-neon); }
}

.header .subtitle {
    margin: 0;
    text-align: center;
    font-size: 1rem;
    opacity: 0.95;
    animation: none;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Container principal */
.container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
}

/* Section création de post - CENTRALE */
.create-post {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(255, 79, 167, 0.2);
    border: 3px solid var(--pink-neon);
    text-align: center;
}

.create-post h2 {
    color: var(--pink-neon);
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 2rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

/* Appareil photo en priorité */
.camera-priority {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.camera-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-neon), var(--blue-neon));
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 79, 167, 0.4);
}

.camera-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 79, 167, 0.6);
}

.camera-label {
    font-size: 1.2rem;
    color: var(--pink-neon);
    font-weight: bold;
}

/* Formulaire */
.post-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 3px solid var(--blue-neon);
    border-radius: 20px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pink-neon);
    box-shadow: 0 0 15px rgba(255, 79, 167, 0.3);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Émoticônes */
.emoji-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f8ff, #fff0f5);
    border-radius: 20px;
    border: 2px dashed var(--purple-neon);
}

.emoji-btn {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.emoji-btn:hover {
    transform: scale(1.3) rotate(10deg);
}

/* Bouton submit */
.submit-btn {
    background: linear-gradient(135deg, var(--pink-neon), var(--blue-neon));
    color: white;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 79, 167, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 79, 167, 0.6);
}

/* Aperçu image */
.image-preview {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    border: 4px solid var(--yellow-neon);
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(255, 235, 59, 0.4);
}

/* Sections latérales */
.news-feed,
.contacts-section,
.profiles-section {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--blue-neon);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--pink-neon), #ff87c3);
    color: white;
    text-align: center;
    padding: 0.7rem 1rem;
    margin-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .header {
        height: auto;
        min-height: 190px;
        padding: 1rem 0.75rem 0.9rem;
    }

    .header-main {
        max-width: 100%;
    }

    .header-title-stack {
        position: static;
        transform: none;
        gap: 0.3rem;
    }

    .header-title-stack .nav-links {
        display: grid;
        grid-template-columns: repeat(3, max-content);
        justify-content: center;
        align-items: center;
        gap: 0.35rem;
        margin-top: 0.2rem;
        margin-bottom: 0.12rem;
        padding: 0.14rem 0.2rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.22);
        border: 2px solid rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .container {
        width: 100%;
        max-width: 100%;
        margin: 1rem auto;
        padding: 0 0.75rem;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .header-nav {
        flex-direction: column;
        gap: 0.35rem;
    }

    .header-left-links {
        margin-left: 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, max-content);
        grid-template-rows: auto auto;
        justify-content: center;
        align-items: center;
        column-gap: 0.35rem;
        row-gap: 0.28rem;
    }

    .header-left-top {
        grid-column: 1 / 4;
        grid-row: 1;
        display: grid;
        grid-template-columns: repeat(3, max-content);
        justify-content: center;
        align-items: center;
        gap: 0.35rem;
        padding: 0.1rem 0.18rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.22);
        border: 2px solid rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1;
    }

    .header-left-bottom {
        grid-column: 1 / 4;
        grid-row: 2;
        width: auto;
        display: grid;
        grid-template-columns: repeat(3, max-content);
        justify-content: center;
        align-items: center;
        gap: 0.35rem;
        z-index: 1;
        padding: 0.1rem 0.18rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.22);
        border: 2px solid rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .header-left-bottom .home-btn {
        flex: 0 0 auto;
        height: 32px !important;
        min-height: 32px !important;
        line-height: 1 !important;
    }

    .header-left-links .home-btn,
    .header-left-bottom > .a11y-toggle-btn,
    .header-title-stack .nav-link {
        width: auto !important;
        min-width: 0;
        flex: 0 0 auto;
        height: 32px !important;
        min-height: 32px !important;
        padding-left: 0.82rem !important;
        padding-right: 0.82rem !important;
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .header-nav .header-left-links > .a11y-toggle-btn,
    .header-nav .header-left-bottom > .a11y-toggle-btn {
        width: auto;
        margin: 0;
        z-index: 1;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 0.82rem !important;
        border-radius: 999px !important;
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .header-left-links .home-btn:hover,
    .header-nav .header-left-links > .a11y-toggle-btn:hover,
    .header-nav .header-left-links > .a11y-toggle-btn:focus-visible,
    .header-nav .header-left-bottom > .a11y-toggle-btn:hover,
    .header-nav .header-left-bottom > .a11y-toggle-btn:focus-visible,
    .header-title-stack .nav-link:hover {
        transform: none !important;
        color: #ffffff;
    }

    .header-left-links .home-btn:hover,
    .header-nav .header-left-bottom > .a11y-toggle-btn:hover,
    .header-nav .header-left-bottom > .a11y-toggle-btn:focus-visible,
    .header-title-stack .nav-link:hover {
        background: transparent !important;
        border-color: transparent !important;
    }

    .header-nav .header-left-links > .a11y-toggle-btn:hover,
    .header-nav .header-left-links > .a11y-toggle-btn:focus-visible {
        background: rgba(255, 255, 255, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.55) !important;
    }
    .create-post {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }

    .news-feed {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }

    .post {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .post-image,
    .post img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .post-content,
    .post-title {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .post-form {
        max-width: 100%;
    }

    .image-preview {
        width: 100%;
        max-width: 240px;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .camera-btn {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}
/*gestion titre du poste*/
.post-title {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.5rem 0;
    color: var(--text-dark);
    text-align: left;
}
.post {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--blue-neon);
    padding-bottom: 2rem;
}

.post-highlight {
    border-color: #7ba7e1;
    box-shadow: 0 0 0 3px rgba(31, 94, 168, 0.15);
}
/* Styles pour la section des likes et commentaires */
.post-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.post-actions button {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-actions button:hover {
    color: var(--pink-neon);
}

.like-btn .like-count {
    font-weight: bold;
    color: var(--text-dark);
}

.comments-section {
    margin-top: 1rem;
    display: block;
}

.add-comment input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-family: 'Arial Rounded MT Bold', 'Comic Sans MS', sans-serif;
}

.comment-list {
    margin-top: 0.5rem;
}

.comment-list p {
    background: #f0f2f5;
    padding: 0.5rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.add-comment {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-link {
    color: inherit;
    text-decoration: none;
}

.profile-link:hover {
    text-decoration: underline;
}

.app-native-close-create-btn {
    display: none;
}

/* Preload natif: on masque la version web immédiatement pour éviter le flash. */
html.native-preload body.page-reseau {
    background: #101216;
}

html.native-preload body.page-reseau .header,
html.native-preload body.page-reseau .footer,
html.native-preload body.page-reseau .container {
    visibility: hidden !important;
    pointer-events: none !important;
}

html.native-preload body.page-reseau .app-native-reseau-chrome,
html.native-preload body.page-reseau .app-native-reseau-bottom-bar {
    display: block !important;
}

/* ================= Native app layout (reseau) ================= */
.app-native-reseau-chrome,
.app-native-reseau-bottom-bar {
    display: none;
}

body.is-native-app .app-native-reseau-chrome,
body.is-native-app .app-native-reseau-bottom-bar {
    display: block;
}

body.is-native-app {
    background: #101216;
}

body.is-native-app .header,
body.is-native-app .footer {
    display: none;
}

body.is-native-app .container {
    max-width: none;
    margin: 0;
    padding: 4.65rem 0 4.2rem;
    display: block;
}

body.is-native-app .app-native-reseau-topbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 4.45rem;
    background: linear-gradient(180deg, #ff5cb0 0%, #f279bf 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    z-index: 5000;
}

body.is-native-app .app-native-reseau-topbar h2 {
    color: #ffffff;
    margin: 0;
    font-size: 1.72rem;
    line-height: 1;
    font-weight: 700;
}

body.is-native-app .app-native-reseau-subtitle {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.15;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

body.is-native-app .app-native-reseau-menu-btn {
    position: absolute;
    left: 0.62rem;
    top: 0.56rem;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

body.is-native-app .app-native-reseau-menu-btn span {
    width: 38px;
    height: 4px;
    border-radius: 3px;
    background: #ffffff;
}

body.is-native-app .app-native-reseau-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 62, 123, 0.25);
    z-index: 5100;
}

body.is-native-app .app-native-reseau-drawer {
    position: fixed;
    top: 0.8rem;
    left: 0.38rem;
    width: min(220px, 65vw);
    border-radius: 34px;
    background: #ffffff;
    padding: 1rem 1.1rem;
    box-shadow: 0 12px 24px rgba(9, 61, 122, 0.35);
    transform: translateX(-120%);
    transition: transform 0.22s ease;
    z-index: 5110;
}

body.is-native-app.app-native-reseau-drawer-open .app-native-reseau-drawer {
    transform: translateX(0);
}

body.is-native-app .app-native-reseau-drawer a,
body.is-native-app .app-native-reseau-drawer button {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(40, 118, 195, 0.7);
    color: #1974d2;
    font-size: 0.96rem;
    line-height: 1.2;
    padding: 0.54rem 0.2rem 0.4rem;
    margin: 0;
    cursor: pointer;
}

body.is-native-app .app-native-reseau-drawer a.is-active {
    font-weight: 700;
    border-bottom-width: 2px;
}

body.is-native-app .create-post {
    position: fixed;
    inset: 3.95rem 0 4.15rem 0;
    z-index: 5200;
    transform: translateX(102%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.24s ease;
    margin: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    padding: 1rem 0.95rem;
    background: #ffffff;
    color: #2c3e50;
}

body.is-native-app .app-native-close-create-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 0;
    background: rgba(31, 94, 168, 0.1);
    color: #1f5ea8;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
}

body.is-native-app.app-native-create-open .create-post {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

body.is-native-app .create-post h2 {
    margin-bottom: 0.55rem;
    color: #ff4fa7;
    text-shadow: none;
    font-size: 1.15rem;
}

body.is-native-app .camera-priority,
body.is-native-app .camera-label {
    display: none;
}

body.is-native-app .post-form {
    gap: 0.75rem;
    max-width: none;
}

body.is-native-app .form-group input,
body.is-native-app .form-group textarea {
    border: 1px solid rgba(122, 167, 230, 0.6);
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    padding: 0.72rem 0.82rem;
    border-radius: 12px;
}

body.is-native-app .form-group textarea {
    min-height: 110px;
}

body.is-native-app .submit-btn {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: 14px;
}

body.is-native-app .image-preview {
    width: 100%;
    max-width: none;
    height: 170px;
    border-radius: 14px;
    border: 1px solid rgba(148, 192, 247, 0.55);
    margin-top: 0.2rem;
}

body.is-native-app .news-feed {
    margin: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

body.is-native-app .news-feed > h2 {
    display: none;
}

body.is-native-app .posts-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

body.is-native-app .post {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    background: #0e1016;
    overflow: hidden;
}

body.is-native-app .post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4.25rem;
    z-index: 2;
    pointer-events: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(32, 40, 54, 0.4);
}

body.is-native-app .post-image {
    display: block;
    width: 100%;
    height: 66vh;
    max-height: 560px;
    min-height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    border: 0;
    margin: 0;
}

body.is-native-app .post-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.38rem 0.55rem 0.34rem;
    color: #ffffff;
    background: transparent;
}

body.is-native-app .post-author,
body.is-native-app .post-author a,
body.is-native-app .profile-link,
body.is-native-app .post-time {
    color: #ffffff !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.46);
    font-weight: 700;
    font-size: 1rem;
}

body.is-native-app .post-time {
    display: none;
}

body.is-native-app .post-title {
    position: absolute;
    left: 0;
    right: 0;
    top: 1.8rem;
    z-index: 3;
    margin: 0;
    padding: 0.05rem 0.55rem 0.45rem;
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.25;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.52);
    background: transparent;
}

body.is-native-app .post-content {
    display: none;
}

body.is-native-app .post-actions {
    margin: 0;
    padding: 0.32rem 0.45rem;
    background: rgba(245, 245, 245, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    gap: 1rem;
    align-items: center;
}

body.is-native-app .post-actions button {
    color: #314057;
    font-size: 1.05rem;
    font-weight: 600;
}

body.is-native-app .comments-section {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 5;
    background: rgba(250, 252, 255, 0.98);
    transform: translateY(102%);
    transition: transform 0.22s ease;
    padding: 0.55rem;
    display: flex !important;
    flex-direction: column;
    gap: 0.55rem;
}

body.is-native-app .post.comments-open .comments-section {
    transform: translateY(0);
}

body.is-native-app .native-comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #1f3f75;
}

body.is-native-app .native-comments-close {
    border: 0;
    background: rgba(31, 63, 117, 0.08);
    color: #1f3f75;
    border-radius: 8px;
    padding: 0.2rem 0.5rem;
    font-weight: 700;
}

body.is-native-app .comment-list {
    flex: 1 1 auto;
    overflow-y: auto;
    margin-top: 0;
}

body.is-native-app .add-comment {
    margin-top: auto;
}

body.is-native-app .app-native-reseau-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4.15rem;
    z-index: 5050;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: linear-gradient(90deg, #9b6ddf 0%, #3ad3f2 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.42);
}

body.is-native-app .native-bottom-btn {
    height: 100%;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    cursor: pointer;
}

body.is-native-app .native-publish-btn {
    border-right: 1px solid rgba(255, 255, 255, 0.35);
}

body.is-native-app .native-publish-btn .plus-sign {
    font-size: 2rem;
    line-height: 0;
    vertical-align: middle;
    margin-left: 0.2rem;
}

body.is-native-app .native-camera-btn {
    font-size: 2.05rem;
}

body.is-native-app .like-burst-heart {
    position: absolute;
    bottom: 42px;
    left: 18px;
    color: #ff4fa7;
    font-size: 1.45rem;
    opacity: 0;
    pointer-events: none;
    animation: likeHeartRise 620ms ease-out forwards;
}

@keyframes likeHeartRise {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateY(-65px) scale(1.25);
        opacity: 0;
    }
}

.reseau-skeleton {
    animation: reseauPulse 1.1s ease-in-out infinite alternate;
}

.reseau-skeleton .skeleton-line,
.reseau-skeleton .skeleton-media {
    background: rgba(255, 255, 255, 0.24);
    border-radius: 10px;
}

.reseau-skeleton .skeleton-line {
    height: 14px;
    margin: 10px 12px 0;
}

.reseau-skeleton .skeleton-line-lg {
    width: 72%;
    height: 18px;
}

.reseau-skeleton .skeleton-line-sm {
    width: 42%;
}

.reseau-skeleton .skeleton-media {
    height: 220px;
    margin: 14px 12px 0;
}

@keyframes reseauPulse {
    from { opacity: 0.55; }
    to { opacity: 1; }
}
