/* =========================================================
   CSS NUEVO — SOCIAL FEED v5
   TÍTULO CON CONTENEDOR PROPIO
   PUBLICACIONES SIN CONTENEDOR EXTERIOR
   CARGA AJAX DE 10 EN 10 SIN MOVER LA PANTALLA
========================================================= */

html,
body{
    width:100%;
    min-height:100%;
    margin:0;
    padding:0;
    overflow-x:hidden;
    background:#000;
    color:#edf3fb;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}

body{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    background:#000;
    color:#edf3fb;
    font-family:Arial,sans-serif;
}

button,
input,
textarea,
select{
    font:inherit;
}

button,
a{
    -webkit-tap-highlight-color:transparent;
}

/* =========================================================
   PÁGINA
========================================================= */

.octi-social-feed-page{
    width:100%;
    flex:1 0 auto;
    min-height:calc(100vh - 160px);
    margin:0;
    padding:32px 16px 90px;

    background:
        radial-gradient(
            circle at 14% 0%,
            rgba(0,195,255,.10),
            transparent 27%
        ),
        radial-gradient(
            circle at 86% 100%,
            rgba(155,75,255,.07),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #000,
            #070b10 50%,
            #000
        );
}

/* =========================================================
   MISMO ANCHO PARA TODOS LOS BLOQUES
========================================================= */

.octi-social-feed-title-card,
.octi-feed-public-note,
.octi-feed-list,
.octi-feed-empty,
.octi-feed-footer{
    width:min(860px,100%);
    margin-left:auto;
    margin-right:auto;
}

/* =========================================================
   TÍTULO CON CONTENEDOR
========================================================= */

.octi-social-feed-title-card{
    margin-bottom:18px;
    padding:24px 20px;

    border-radius:22px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0,195,255,.17),
            transparent 44%
        ),
        linear-gradient(
            135deg,
            #202932,
            #11161c
        );

    border:1px solid rgba(255,255,255,.14);

    box-shadow:
        0 14px 34px rgba(0,0,0,.48),
        0 0 22px rgba(0,195,255,.08);

    text-align:center;
}

.octi-social-feed-label{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    margin:0 0 10px;
    padding:6px 11px;

    border-radius:999px;

    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.13);

    color:#edf3fb;

    font-size:12px;
    font-weight:1000;
}

.octi-social-feed-title-card h1{
    margin:0 0 8px;

    color:#fff;

    font-size:36px;
    line-height:1.08;
    font-weight:1000;

    text-shadow:
        0 0 18px rgba(0,195,255,.20);
}

.octi-social-feed-title-card p{
    margin:0;

    color:rgba(237,243,251,.72);

    font-size:14px;
    line-height:1.5;
    font-weight:750;
}

/* =========================================================
   AVISO PÚBLICO
========================================================= */

.octi-feed-public-note{
    margin-bottom:12px;
    padding:12px 15px;

    border-radius:15px;

    background:rgba(0,195,255,.10);
    border:1px solid rgba(0,195,255,.22);

    color:#dff8ff;

    font-size:13px;
    line-height:1.4;
    font-weight:900;

    text-align:center;
}

/* =========================================================
   LISTA SIN CONTENEDOR VISUAL EXTERIOR
========================================================= */

.octi-feed-list{
    display:flex;
    flex-direction:column;
    gap:10px;

    padding:0;

    background:none;
    border:0;
    border-radius:0;
    box-shadow:none;
}

/* =========================================================
   PUBLICACIONES
========================================================= */

.octi-feed-card{
    width:100%;

    display:grid;
    grid-template-columns:48px minmax(0,1fr);
    gap:12px;
    align-items:center;

    padding:12px 14px;

    border-radius:15px;

    background:
        linear-gradient(
            135deg,
            #202932,
            #141a21
        );

    border:1px solid rgba(255,255,255,.10);

    box-shadow:
        0 7px 18px rgba(0,0,0,.30);

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.octi-feed-card:hover{
    transform:translateY(-1px);

    background:
        linear-gradient(
            135deg,
            #24313c,
            #17202a
        );

    border-color:rgba(0,195,255,.30);

    box-shadow:
        0 10px 22px rgba(0,0,0,.38),
        0 0 12px rgba(0,195,255,.07);
}

/* =========================================================
   AVATAR
========================================================= */

.octi-feed-avatar-link{
    width:46px;
    height:46px;
    display:block;
}

.octi-feed-avatar{
    width:46px;
    height:46px;
    display:block;

    border-radius:50%;

    object-fit:cover;

    background:#080b10;
    border:1px solid rgba(255,255,255,.16);
}

/* =========================================================
   CONTENIDO
========================================================= */

.octi-feed-content{
    width:100%;
    min-width:0;
}

.octi-feed-head{
    width:100%;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;

    margin-bottom:5px;
}

.octi-feed-head a{
    min-width:0;

    color:#fff;
    text-decoration:none;

    font-size:14px;
    line-height:1.3;
    font-weight:1000;

    overflow-wrap:anywhere;
}

.octi-feed-head a:hover{
    color:#8cffc7;
}

.octi-feed-head time{
    flex:0 0 auto;

    color:rgba(237,243,251,.44);

    font-size:10px;
    line-height:1.3;
    font-weight:800;
}

.octi-feed-text{
    width:100%;

    display:flex;
    align-items:flex-start;
    gap:6px;

    color:#dce7f2;

    font-size:13px;
    line-height:1.45;
    font-weight:750;

    overflow-wrap:anywhere;
    word-break:break-word;
}

.octi-feed-type-icon{
    flex:0 0 auto;
}

/* =========================================================
   CONTADOR Y BOTÓN
========================================================= */

.octi-feed-footer{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;

    margin-top:16px;
}

.octi-feed-count{
    color:rgba(237,243,251,.48);

    font-size:11px;
    font-weight:800;
}

.octi-feed-load-more{
    min-width:180px;
    min-height:42px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:9px 17px;

    border:0;
    border-radius:999px;

    background:
        linear-gradient(
            135deg,
            #00c3ff,
            #8cffc7
        );

    color:#001014;

    font-size:13px;
    font-weight:1000;

    cursor:pointer;

    box-shadow:
        0 8px 20px rgba(0,195,255,.16);

    transition:
        transform .18s ease,
        filter .18s ease,
        box-shadow .18s ease;
}

.octi-feed-load-more:hover{
    transform:translateY(-2px);
    filter:brightness(1.05);

    box-shadow:
        0 11px 24px rgba(0,195,255,.22);
}

.octi-feed-load-more:disabled{
    opacity:.65;
    cursor:wait;
    transform:none;
}

.octi-feed-load-more[hidden]{
    display:none;
}

/* =========================================================
   VACÍO
========================================================= */

.octi-feed-empty{
    padding:16px 18px;

    border-radius:15px;

    background:
        linear-gradient(
            135deg,
            #202932,
            #141a21
        );

    border:1px solid rgba(255,255,255,.10);

    color:rgba(237,243,251,.64);

    font-size:13px;
    font-weight:800;

    text-align:center;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:700px){

    .octi-social-feed-page{
        min-height:calc(100vh - 120px);
        padding:22px 10px 90px;
    }

    .octi-social-feed-title-card{
        padding:20px 14px;
        border-radius:19px;
    }

    .octi-social-feed-title-card h1{
        font-size:29px;
    }

    .octi-social-feed-title-card p{
        font-size:13px;
    }

    .octi-feed-card{
        grid-template-columns:42px minmax(0,1fr);
        gap:10px;

        padding:11px;

        border-radius:14px;
    }

    .octi-feed-avatar-link,
    .octi-feed-avatar{
        width:40px;
        height:40px;
    }

    .octi-feed-head{
        align-items:flex-start;
        flex-direction:column;
        gap:2px;
    }

    .octi-feed-head time{
        font-size:9px;
    }

    .octi-feed-text{
        font-size:12px;
    }

    .octi-feed-footer{
        flex-direction:column;
        gap:9px;
    }
}

@media(max-width:400px){

    .octi-social-feed-page{
        padding-left:8px;
        padding-right:8px;
    }
}