/* =========================================================
   ARCHIVO NUEVO COMPLETO — GAME.CSS v2
   CORRECCIÓN: SE AGREGARON TODOS LOS ESTILOS QUE FALTABAN
   INCLUYE:
   - BASE GENERAL DE LA PÁGINA
   - JUEGO Y PUBLICIDADES
   - RECOMENDADOS Y CATEGORÍAS
   - COMENTARIOS
   - BOTONES DE REACCIONES Y REPORTES
   - AVISOS DE LOGROS
   FECHA: 2026-08-03
========================================================= */

/* =========================================================
   BASE GENERAL QUE ANTES VENÍA DE styles.css
========================================================= */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    width:100%;
    min-height:100%;
    scroll-behavior:smooth;
    background:#000;
}

body{
    width:100%;
    min-height:100vh;

    display:flex;
    flex-direction:column;

    overflow-x:hidden;

    font-family:Arial,sans-serif;

    background:
        radial-gradient(
            circle at top center,
            rgba(31,227,253,.16),
            transparent 34rem
        ),
        linear-gradient(
            180deg,
            #030303 0%,
            #000 55%,
            #050505 100%
        );

    color:#fff;
}

a{
    color:inherit;
    text-decoration:none;
}

button,
input,
textarea,
select{
    font:inherit;
}

button{
    border:0;
}

button:active{
    transform:scale(.98);
}

img,
iframe{
    max-width:100%;
}

.octi-game-page{
    flex:1 0 auto;
}

#game-title{
    color:#1fe3fd !important;

    text-decoration:none !important;

    text-shadow:
        0 0 8px rgba(31,227,253,.90),
        0 0 22px rgba(31,227,253,.38);
}

/* ==================================================
   CONTENEDOR GENERAL
================================================== */

.octi-game-page{
    width:100%;
    max-width:1600px;
    margin:0 auto;
    padding:24px 16px 40px;
    box-sizing:border-box;
}

#game-title{
    width:100%;
    margin:0 auto 18px;

    color:#ffffff;
    font-size:28px;
    font-weight:950;
    text-align:center;
    line-height:1.2;
}

/* ==================================================
   LAYOUT PRINCIPAL
================================================== */

.content-wrapper{
    width:100%;
    margin:0 auto;

    display:grid;
    grid-template-columns:160px minmax(0, 1fr) 160px;
    gap:18px;
    align-items:start;
}

/*
 * Esta columna contiene:
 *
 * 1. Juego
 * 2. Publicidad horizontal
 * 3. Juegos recomendados creados por game.js
 */
.octi-game-center-column{
    width:100%;
    min-width:0;

    display:flex;
    flex-direction:column;
    align-items:stretch;
}

/* ==================================================
   PUBLICIDADES LATERALES
================================================== */

.octi-game-side-ad{
    width:160px;
    min-width:160px;
    min-height:600px;

    display:flex;
    justify-content:center;
    align-items:flex-start;
}

.octi-game-side-ad-inner{
    width:160px;
    min-width:160px;
    min-height:600px;

    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;

    overflow:visible;
}

.octi-game-side-ad-slot{
    width:160px;
    min-width:160px;

    height:600px;
    min-height:600px;

    display:flex;
    justify-content:center;
    align-items:flex-start;

    overflow:hidden;
}

/* Mantener los banners laterales visibles al bajar */

@media (min-width:1251px){
    .octi-game-side-ad-inner{
        position:sticky;
        top:90px;
    }
}

/* ==================================================
   PUBLICIDAD SUPERIOR PARA CELULAR
================================================== */

.octi-mobile-game-ad{
    display:none;

    width:100%;
    min-height:50px;

    margin:12px auto;

    justify-content:center;
    align-items:center;

    overflow:hidden;
}

.octi-mobile-game-ad-inner{
    width:320px;
    max-width:100%;
    min-height:50px;

    display:flex;
    justify-content:center;
    align-items:center;

    overflow:hidden;
}


/* ==================================================
   ESTADOS DE CARGA DE PUBLICIDAD
================================================== */

.octi-ad-slot{
    position:relative;
}

.octi-ad-slot::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:transparent;
    pointer-events:none;
}

.octi-ad-slot > iframe,
.octi-ad-slot > img,
.octi-ad-slot > a,
.octi-ad-slot > div,
.octi-ad-slot > object,
.octi-ad-slot > embed{
    position:relative;
    z-index:1;
}

.octi-ad-slot.is-loading{
    background:transparent;
}

.octi-ad-slot.is-empty{
    display:none !important;
}

.octi-ad-slot.is-loaded{
    background:transparent;
}

/* ==================================================
   CONTENEDOR DEL JUEGO
================================================== */

.game-container{
    width:100%;
    min-width:0;

    overflow:hidden;

    border-radius:18px;
    background:#0b0f19;

    box-shadow:
        0 18px 50px rgba(0,0,0,.42),
        0 0 0 1px rgba(255,255,255,.08);
}

.game-iframe{
    display:block;

    width:100%;
    height:650px;
    min-height:650px;

    border:0;
    background:#000000;
}

/* ==================================================
   BARRA INFERIOR DEL JUEGO
================================================== */

.octi-game-bar{
    min-height:64px;
    padding:10px 14px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;

    background:
        linear-gradient(
            135deg,
            rgba(25,34,55,.98),
            rgba(13,19,32,.98)
        );

    border-top:1px solid rgba(255,255,255,.09);
}

.expand-container{
    display:flex;
    align-items:center;
    gap:9px;

    color:#ffffff;
    font-size:14px;
    font-weight:900;
    cursor:pointer;
}

#fullscreen-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:38px;
    height:38px;

    border-radius:10px;

    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.10);
}

.fullscreen-icon{
    width:22px;
    height:22px;
    object-fit:contain;
}

.fullscreen-text{
    cursor:pointer;
}

.octi-favorite-btn{
    min-height:40px;
    padding:8px 15px;

    border:1px solid rgba(255,255,255,.14);
    border-radius:999px;

    background:rgba(255,255,255,.08);
    color:#ffffff;

    font-size:14px;
    font-weight:900;
    cursor:pointer;

    transition:
        transform .15s ease,
        background .15s ease,
        border-color .15s ease;
}

.octi-favorite-btn:hover{
    transform:translateY(-1px);

    background:rgba(255,255,255,.14);
    border-color:rgba(255,255,255,.24);
}

.octi-favorite-msg{
    color:#ffffff;
    font-size:13px;
    font-weight:800;
}

/* ==================================================
   PUBLICIDAD ENTRE JUEGO Y RECOMENDADOS
================================================== */

.octi-between-game-ad{
    width:100%;
    min-width:0;

    padding:18px 0;
    box-sizing:border-box;

    display:flex;
    justify-content:center;
    align-items:flex-start;

    overflow:hidden;
}

/*
 * El viewport ocupa exactamente el tamaño visual
 * que tendrá el anuncio después de escalarse.
 */
.octi-between-game-ad-viewport{
    position:relative;

    width:728px;
    max-width:100%;
    height:90px;

    margin:0 auto;

    overflow:hidden;
}

/*
 * El anuncio conserva internamente su medida original.
 */
.octi-between-game-ad-inner{
    position:absolute;
    top:0;
    left:50%;

    width:728px;
    min-width:728px;

    height:90px;
    min-height:90px;

    display:flex;
    justify-content:center;
    align-items:flex-start;

    transform:
        translateX(-50%)
        scale(var(--octi-horizontal-ad-scale, 1));

    transform-origin:top center;

    overflow:visible;
}

/* ==================================================
   JUEGOS RECOMENDADOS
================================================== */

/*
 * game.js crea automáticamente:
 *
 * <div id="card-of-games"></div>
 *
 * después de #octi-between-game-ad.
 */

#card-of-games{
    width:100%;
    min-width:0;

    margin:0;
    padding:4px 0 10px;

    display:grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap:14px;

    box-sizing:border-box;
}

#card-of-games .game-card-secondary{
    min-width:0;
    overflow:hidden;

    display:flex;
    flex-direction:column;

    border:2px solid rgba(255,255,255,.14);
    border-radius:15px;

    background:rgba(255,255,255,.055);
    color:#ffffff;

    text-decoration:none;

    transition:
        transform .16s ease,
        box-shadow .16s ease,
        border-color .16s ease;
}

#card-of-games .game-card-secondary:hover{
    transform:translateY(-3px);

    box-shadow:
        0 14px 28px rgba(0,0,0,.28);
}

#card-of-games .game-card-secondary img{
    display:block;

    width:100%;
    aspect-ratio:1 / 1;
    object-fit:cover;

    background:#101827;
}

#card-of-games .game-card-content{
    min-width:0;
    padding:10px;
}

#card-of-games .game-card-content h3{
    margin:0;

    color:#ffffff;
    font-size:14px;
    font-weight:900;
    line-height:1.25;

    overflow:hidden;
    text-overflow:ellipsis;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
}

/* ==================================================
   CATEGORÍAS — ESTILO INDEX
================================================== */

.octi-game-categories{
    width:100%;
    margin:34px auto 0;
}

.octi-game-categories-head{
    width:100%;
    margin-bottom:18px;

    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
}

.octi-game-categories-head span{
    display:block;
    margin-bottom:4px;

    color:#22d3ee;
    font-size:13px;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.octi-game-categories-head h2{
    margin:0;

    color:#ffffff;
    font-size:25px;
    font-weight:950;
    line-height:1.15;
}

.octi-category-grid{
    width:100%;

    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:14px;
}

.octi-category-card{
    min-width:0;
    min-height:78px;

    padding:16px 18px;

    display:flex;
    align-items:center;
    gap:13px;

    border:1px solid rgba(255,255,255,.12);
    border-radius:16px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.085),
            rgba(255,255,255,.035)
        );

    color:#ffffff;
    text-decoration:none;

    box-shadow:
        0 10px 26px rgba(0,0,0,.16);

    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.octi-category-card:hover{
    transform:translateY(-3px);

    border-color:rgba(34,211,238,.50);

    background:
        linear-gradient(
            135deg,
            rgba(34,211,238,.16),
            rgba(255,255,255,.055)
        );

    box-shadow:
        0 16px 32px rgba(0,0,0,.24);
}

.octi-category-card-icon{
    flex:0 0 auto;

    width:44px;
    height:44px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:13px;

    background:rgba(255,255,255,.09);
    border:1px solid rgba(255,255,255,.10);

    font-size:23px;
    line-height:1;
}

.octi-category-card-name{
    min-width:0;

    color:#ffffff;
    font-size:15px;
    font-weight:900;
    line-height:1.25;
}

/* ==================================================
   RESPONSIVE DE CATEGORÍAS
================================================== */

@media (max-width:1100px){

    .octi-category-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }
}

@media (max-width:750px){

    .octi-category-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:10px;
    }

    .octi-category-card{
        min-height:68px;
        padding:12px;
        gap:10px;
        border-radius:13px;
    }

    .octi-category-card-icon{
        width:38px;
        height:38px;
        border-radius:11px;
        font-size:20px;
    }

    .octi-category-card-name{
        font-size:13px;
    }
}

@media (max-width:390px){

    .octi-category-grid{
        grid-template-columns:1fr;
    }

    .octi-category-card{
        min-height:64px;
    }
}

/* ==================================================
   PANTALLAS MEDIANAS
================================================== */

@media (max-width:1250px){

    .content-wrapper{
        grid-template-columns:160px minmax(0, 1fr);
        max-width:1150px;
    }

    #right-ad-container{
        display:none;
    }

    .game-iframe{
        height:620px;
        min-height:620px;
    }

    #card-of-games{
        grid-template-columns:repeat(4, minmax(0, 1fr));
    }
}

/* ==================================================
   TABLETS
================================================== */

@media (max-width:900px){

    .octi-game-page{
        padding-left:10px;
        padding-right:10px;
    }

    .content-wrapper{
        display:block;
    }

    .octi-game-side-ad{
        display:none;
    }

    .octi-mobile-game-ad{
        display:flex;
    }

    .game-iframe{
        height:560px;
        min-height:560px;
    }

    .octi-between-game-ad{
        padding:14px 0;
    }

    #card-of-games{
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap:12px;
    }
}

/* ==================================================
   CELULARES
================================================== */

@media (max-width:650px){

    .octi-game-page{
        padding-top:16px;
    }

    #game-title{
        margin-bottom:13px;
        font-size:22px;
    }

    .game-container{
        border-radius:12px;
    }

    .game-iframe{
        height:450px;
        min-height:450px;
    }

    .octi-game-bar{
        padding:10px;
        justify-content:center;
    }

    .expand-container{
        width:100%;
        justify-content:center;
    }

    .octi-favorite-btn{
        width:100%;
    }

    #card-of-games{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:10px;
    }
}

@media (max-width:430px){

    .game-iframe{
        height:390px;
        min-height:390px;
    }

    #card-of-games{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   ESTILOS DE LOGROS
   ANTES VENÍAN DE styles.css
========================================================= */

#octi-achievement-popup-container{
    position:fixed;
    right:18px;
    bottom:18px;
    z-index:999999;

    display:grid;
    gap:12px;

    pointer-events:none;
}

.octi-achievement-popup{
    width:min(360px,calc(100vw - 36px));

    display:flex;
    align-items:center;
    gap:14px;

    padding:14px 16px;

    border-radius:20px;

    background:
        radial-gradient(
            circle at top left,
            rgba(0,195,255,.18),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #202932,
            #11171d
        );

    border:1px solid rgba(255,255,255,.16);

    box-shadow:
        0 0 28px rgba(0,0,0,.70),
        0 0 22px rgba(0,195,255,.14);

    color:#fff;

    opacity:0;

    transform:
        translateX(40px)
        scale(.96);

    transition:.35s ease;
}

.octi-achievement-popup.show{
    opacity:1;
    transform:translateX(0) scale(1);
}

.octi-ach-popup-icon{
    width:58px;
    height:58px;
    flex:0 0 58px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:18px;

    background:rgba(255,255,255,.10);

    box-shadow:
        inset 0 0 12px rgba(255,255,255,.08);

    font-size:32px;
}

.octi-ach-popup-label{
    color:#8cffc7;

    font-size:12px;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.octi-ach-popup-title{
    margin-top:3px;

    color:#fff;

    font-size:16px;
    font-weight:900;
}

.octi-ach-popup-xp{
    margin-top:4px;

    color:#00c3ff;

    font-size:13px;
    font-weight:900;
}

.octi-achievement-popup.rarity-common{
    border-color:rgba(255,255,255,.18);
}

.octi-achievement-popup.rarity-rare{
    border-color:rgba(0,195,255,.50);

    box-shadow:
        0 0 28px rgba(0,0,0,.70),
        0 0 24px rgba(0,195,255,.28);
}

.octi-achievement-popup.rarity-epic{
    border-color:rgba(180,80,255,.58);

    box-shadow:
        0 0 28px rgba(0,0,0,.70),
        0 0 26px rgba(180,80,255,.30);
}

.octi-achievement-popup.rarity-legendary{
    border-color:rgba(255,190,0,.70);

    box-shadow:
        0 0 28px rgba(0,0,0,.70),
        0 0 30px rgba(255,190,0,.35);
}

/* =========================================================
   COMENTARIOS SOCIALES
   ANTES VENÍAN DE styles.css
========================================================= */

.octi-social-comments{
    width:min(1100px,calc(100% - 24px));

    margin:35px auto;
    padding:24px;

    background:
        linear-gradient(
            135deg,
            #2c3740,
            #1f272e
        );

    border:1px solid rgba(255,255,255,.14);
    border-radius:22px;

    color:#edf3fb;

    box-shadow:
        0 0 24px rgba(255,255,255,.10);
}

.octi-social-comments h2{
    margin:0 0 18px;

    color:#fff;

    font-size:28px;
    line-height:1.2;
    font-weight:950;

    text-align:left;

    text-shadow:none;
}

.octi-comment-form{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.octi-comment-form textarea{
    width:100%;
    min-height:95px;

    resize:vertical;

    padding:14px;

    border:1px solid rgba(255,255,255,.16);
    border-radius:16px;

    background:rgba(0,0,0,.22);
    color:#fff;

    outline:none;

    font-size:15px;
    line-height:1.5;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.octi-comment-form textarea:focus{
    background:rgba(0,0,0,.30);
    border-color:rgba(0,195,255,.55);

    box-shadow:
        0 0 0 3px rgba(0,195,255,.10);
}

.octi-comment-form textarea::placeholder{
    color:rgba(237,243,251,.65);
}

.octi-comment-form > button{
    align-self:flex-end;

    min-height:42px;
    padding:11px 18px;

    border:0;
    border-radius:999px;

    background:
        linear-gradient(
            135deg,
            #00c3ff,
            #ff00c8
        );

    color:#fff;

    font-weight:900;

    cursor:pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.octi-comment-form > button:hover{
    transform:translateY(-2px);
    filter:brightness(1.06);

    box-shadow:
        0 0 18px rgba(255,255,255,.22);
}

.octi-comment-login-warning,
.octi-no-comments{
    margin-top:12px;
    padding:14px 16px;

    border:1px solid rgba(255,255,255,.12);
    border-radius:16px;

    background:rgba(255,255,255,.08);

    color:#edf3fb;

    font-size:14px;
    font-weight:800;
}

.octi-comments-list{
    display:flex;
    flex-direction:column;
    gap:16px;

    margin-top:22px;
}

.octi-comment-card{
    padding:16px;

    border:1px solid rgba(255,255,255,.10);
    border-radius:18px;

    background:rgba(255,255,255,.06);

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.octi-comment-card:hover{
    transform:translateY(-2px);

    background:rgba(255,255,255,.09);
    border-color:rgba(0,195,255,.22);
}

.octi-comment-user{
    display:flex;
    align-items:center;
    gap:12px;

    margin-bottom:12px;
}

.octi-comment-user > a{
    flex:0 0 auto;
}

.octi-comment-avatar{
    width:48px !important;
    height:48px !important;
    min-width:48px;

    display:block;

    border-radius:50%;

    object-fit:cover;

    border:2px solid rgba(255,255,255,.18);

    background:#1a1a1a;
}

.octi-comment-user > div{
    min-width:0;
}

.octi-comment-user-link{
    display:inline-block;

    max-width:100%;

    color:#fff;

    font-size:15px;
    font-weight:900;

    text-decoration:none;

    overflow-wrap:anywhere;
}

.octi-comment-user-link:hover{
    color:#00c3ff;

    text-shadow:
        0 0 10px rgba(0,195,255,.35);
}

.octi-comment-user span{
    display:block;

    margin-top:3px;

    color:rgba(255,255,255,.55);

    font-size:12px;
}

.octi-comment-text{
    color:#edf3fb;

    font-size:15px;
    line-height:1.6;

    overflow-wrap:anywhere;
    word-break:break-word;
}

.octi-comment-actions{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;

    margin-top:14px;
}

.octi-reaction-btn,
.octi-report-comment-btn,
.octi-delete-comment-btn{
    min-height:34px;
    padding:7px 12px;

    border-radius:999px;

    font-size:12px;
    font-weight:800;

    cursor:pointer;

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.octi-reaction-btn{
    border:1px solid rgba(255,255,255,.14);

    background:rgba(255,255,255,.07);
    color:#edf3fb;
}

.octi-reaction-btn:hover{
    transform:translateY(-1px);

    background:rgba(255,255,255,.13);
}

.octi-report-comment-btn{
    border:1px solid rgba(255,195,70,.24);

    background:rgba(255,175,40,.09);
    color:#ffe3a3;
}

.octi-report-comment-btn:hover{
    transform:translateY(-1px);

    background:rgba(255,175,40,.18);
    border-color:rgba(255,195,70,.40);
}

.octi-delete-comment-btn{
    border:1px solid rgba(255,90,90,.28);

    background:rgba(255,70,70,.10);
    color:#ffb8b8;
}

.octi-delete-comment-btn:hover{
    transform:translateY(-1px);

    background:rgba(255,70,70,.20);
}

/* =========================================================
   RESPONSIVE DE LOS ESTILOS RECUPERADOS
========================================================= */

@media(max-width:700px){

    .octi-social-comments{
        width:100%;

        margin:28px auto 0;
        padding:18px 14px;

        border-radius:18px;
    }

    .octi-social-comments h2{
        font-size:23px;
        text-align:center;
    }

    .octi-comment-form > button{
        width:100%;
        align-self:stretch;
    }

    .octi-comment-card{
        padding:14px;
        border-radius:16px;
    }

    .octi-comment-actions{
        align-items:stretch;
    }

    .octi-reaction-btn,
    .octi-report-comment-btn,
    .octi-delete-comment-btn{
        flex:1 1 auto;
        justify-content:center;
    }
}

@media(max-width:600px){

    #octi-achievement-popup-container{
        right:12px;
        left:12px;
        bottom:12px;
    }

    .octi-achievement-popup{
        width:auto;
    }
}

@media(max-width:430px){

    .octi-comment-user{
        align-items:flex-start;
    }

    .octi-comment-actions{
        flex-direction:column;
    }

    .octi-reaction-btn,
    .octi-report-comment-btn,
    .octi-delete-comment-btn{
        width:100%;
    }
}

@media(prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
        scroll-behavior:auto !important;
    }
}

/* =========================================================
   COMENTARIOS CORREGIDOS — GAME.CSS v3
   BASADO EN LAS CLASES REALES DE social/comments.php
   SELECTOR PRINCIPAL: #octiSocialComments
========================================================= */

#octiSocialComments{
    width:min(1100px,100%) !important;
    margin:36px auto 0 !important;
    padding:24px !important;

    display:block !important;

    border:1px solid rgba(255,255,255,.14) !important;
    border-radius:22px !important;

    background:
        radial-gradient(
            circle at top left,
            rgba(0,195,255,.10),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #2c3740,
            #1f272e
        ) !important;

    color:#edf3fb !important;

    box-shadow:
        0 16px 36px rgba(0,0,0,.38),
        0 0 22px rgba(0,195,255,.08) !important;
}

#octiSocialComments,
#octiSocialComments *{
    box-sizing:border-box;
}

#octiSocialComments > h2{
    margin:0 0 20px !important;

    color:#fff !important;

    font-size:28px !important;
    line-height:1.2 !important;
    font-weight:950 !important;

    text-align:center !important;

    text-shadow:
        0 0 16px rgba(0,195,255,.18) !important;
}

/* FORMULARIO */

#octiSocialComments .octi-comment-form{
    width:100% !important;

    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;

    margin:0 !important;
}

#octiSocialComments .octi-comment-form input[type="hidden"]{
    display:none !important;
}

#octiSocialComments .octi-comment-form textarea{
    width:100% !important;
    min-width:0 !important;
    min-height:110px !important;

    margin:0 !important;
    padding:14px 16px !important;

    resize:vertical !important;

    border:1px solid rgba(255,255,255,.16) !important;
    border-radius:16px !important;

    background:rgba(0,0,0,.24) !important;
    color:#fff !important;

    outline:none !important;

    font-size:15px !important;
    line-height:1.5 !important;
    font-weight:700 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.03) !important;

    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease !important;
}

#octiSocialComments .octi-comment-form textarea:hover{
    background:rgba(0,0,0,.30) !important;
    border-color:rgba(255,255,255,.24) !important;
}

#octiSocialComments .octi-comment-form textarea:focus{
    background:rgba(0,0,0,.34) !important;
    border-color:rgba(0,195,255,.58) !important;

    box-shadow:
        0 0 0 3px rgba(0,195,255,.10),
        0 0 18px rgba(0,195,255,.08) !important;
}

#octiSocialComments .octi-comment-form textarea::placeholder{
    color:rgba(237,243,251,.56) !important;
}

#octiSocialComments .octi-comment-form > button{
    width:max-content !important;
    max-width:100% !important;
    min-height:44px !important;

    align-self:flex-end !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;

    margin:0 !important;
    padding:10px 18px !important;

    border:0 !important;
    border-radius:999px !important;

    background:
        linear-gradient(
            135deg,
            #00c3ff,
            #ff00c8
        ) !important;

    color:#fff !important;

    font-size:14px !important;
    font-weight:950 !important;

    cursor:pointer !important;

    box-shadow:
        0 9px 22px rgba(0,195,255,.16) !important;

    transition:
        transform .18s ease,
        filter .18s ease,
        box-shadow .18s ease !important;
}

#octiSocialComments .octi-comment-form > button:hover{
    transform:translateY(-2px) !important;
    filter:brightness(1.06) !important;

    box-shadow:
        0 12px 26px rgba(255,0,200,.20),
        0 0 18px rgba(0,195,255,.14) !important;
}

/* MENSAJES */

#octiSocialComments .octi-comment-login-warning,
#octiSocialComments .octi-no-comments{
    width:100% !important;

    margin:12px 0 0 !important;
    padding:14px 16px !important;

    border:1px solid rgba(255,255,255,.12) !important;
    border-radius:15px !important;

    background:rgba(255,255,255,.07) !important;

    color:#edf3fb !important;

    font-size:14px !important;
    line-height:1.45 !important;
    font-weight:800 !important;

    text-align:center !important;
}

/* LISTA */

#octiSocialComments .octi-comments-list{
    width:100% !important;

    display:flex !important;
    flex-direction:column !important;
    gap:14px !important;

    margin:22px 0 0 !important;
    padding:0 !important;
}

/* TARJETA */

#octiSocialComments .octi-comment-card{
    width:100% !important;

    display:block !important;

    margin:0 !important;
    padding:16px !important;

    border:1px solid rgba(255,255,255,.10) !important;
    border-radius:17px !important;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.075),
            rgba(255,255,255,.035)
        ) !important;

    color:#edf3fb !important;

    box-shadow:
        0 8px 20px rgba(0,0,0,.20) !important;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease !important;
}

#octiSocialComments .octi-comment-card:hover{
    transform:translateY(-2px) !important;

    border-color:rgba(0,195,255,.24) !important;

    background:
        linear-gradient(
            135deg,
            rgba(0,195,255,.10),
            rgba(255,255,255,.045)
        ) !important;

    box-shadow:
        0 12px 26px rgba(0,0,0,.28),
        0 0 14px rgba(0,195,255,.06) !important;
}

/* USUARIO */

#octiSocialComments .octi-comment-user{
    width:100% !important;

    display:flex !important;
    align-items:center !important;
    gap:12px !important;

    margin:0 0 12px !important;
}

#octiSocialComments .octi-comment-user > a{
    flex:0 0 auto !important;

    display:block !important;

    text-decoration:none !important;
}

#octiSocialComments .octi-comment-user > div{
    min-width:0 !important;
}

#octiSocialComments .octi-comment-avatar{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;

    display:block !important;

    margin:0 !important;

    border:2px solid rgba(255,255,255,.18) !important;
    border-radius:50% !important;

    object-fit:cover !important;

    background:#1a1a1a !important;

    box-shadow:
        0 0 12px rgba(0,195,255,.08) !important;
}

#octiSocialComments .octi-comment-user-link{
    display:inline-block !important;

    max-width:100% !important;

    color:#fff !important;
    text-decoration:none !important;

    font-size:15px !important;
    line-height:1.3 !important;
    font-weight:950 !important;

    overflow-wrap:anywhere !important;
}

#octiSocialComments .octi-comment-user-link:hover{
    color:#00c3ff !important;

    text-shadow:
        0 0 10px rgba(0,195,255,.35) !important;
}

#octiSocialComments .octi-comment-user span{
    display:block !important;

    margin:3px 0 0 !important;

    color:rgba(255,255,255,.52) !important;

    font-size:11px !important;
    line-height:1.3 !important;
    font-weight:700 !important;
}

/* TEXTO */

#octiSocialComments .octi-comment-text{
    width:100% !important;

    margin:0 !important;

    color:#edf3fb !important;

    font-size:15px !important;
    line-height:1.6 !important;
    font-weight:700 !important;

    overflow-wrap:anywhere !important;
    word-break:break-word !important;
}

/* ACCIONES */

#octiSocialComments .octi-comment-actions{
    width:100% !important;

    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:9px !important;

    margin:14px 0 0 !important;
    padding:0 !important;
}

#octiSocialComments .octi-reaction-btn,
#octiSocialComments .octi-report-comment-btn,
#octiSocialComments .octi-delete-comment-btn{
    min-height:35px !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;

    margin:0 !important;
    padding:7px 12px !important;

    border-radius:999px !important;

    font-size:12px !important;
    line-height:1.2 !important;
    font-weight:850 !important;

    cursor:pointer !important;

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        opacity .18s ease !important;
}

#octiSocialComments .octi-reaction-btn{
    border:1px solid rgba(255,255,255,.14) !important;

    background:rgba(255,255,255,.07) !important;
    color:#edf3fb !important;
}

#octiSocialComments .octi-reaction-btn:hover{
    transform:translateY(-1px) !important;

    background:rgba(255,255,255,.13) !important;
    border-color:rgba(255,255,255,.22) !important;
}

#octiSocialComments .octi-report-comment-btn{
    border:1px solid rgba(255,195,70,.28) !important;

    background:rgba(255,175,40,.10) !important;
    color:#ffe3a3 !important;
}

#octiSocialComments .octi-report-comment-btn:hover{
    transform:translateY(-1px) !important;

    background:rgba(255,175,40,.18) !important;
    border-color:rgba(255,195,70,.44) !important;
}

#octiSocialComments .octi-delete-comment-btn{
    border:1px solid rgba(255,90,90,.30) !important;

    background:rgba(255,70,70,.10) !important;
    color:#ffb8b8 !important;
}

#octiSocialComments .octi-delete-comment-btn:hover{
    transform:translateY(-1px) !important;

    background:rgba(255,70,70,.20) !important;
    border-color:rgba(255,90,90,.44) !important;
}

#octiSocialComments .octi-report-comment-btn:disabled,
#octiSocialComments .octi-reaction-btn:disabled,
#octiSocialComments .octi-delete-comment-btn:disabled{
    opacity:.55 !important;
    cursor:not-allowed !important;
    transform:none !important;
}

/* DEBUG */

#octiSocialComments #octiCommentDebug{
    width:100% !important;

    margin-top:12px !important;
    padding:12px 14px !important;

    border:1px solid rgba(255,90,90,.24) !important;
    border-radius:12px !important;

    background:rgba(90,0,0,.72) !important;
    color:#fff !important;

    font-size:13px !important;
    line-height:1.45 !important;
    font-weight:800 !important;
}

/* RESPONSIVE */

@media(max-width:700px){

    #octiSocialComments{
        width:100% !important;

        margin-top:28px !important;
        padding:18px 14px !important;

        border-radius:18px !important;
    }

    #octiSocialComments > h2{
        margin-bottom:16px !important;

        font-size:23px !important;
    }

    #octiSocialComments .octi-comment-form > button{
        width:100% !important;
        align-self:stretch !important;
    }

    #octiSocialComments .octi-comment-card{
        padding:14px !important;

        border-radius:15px !important;
    }
}

@media(max-width:480px){

    #octiSocialComments .octi-comment-user{
        align-items:flex-start !important;
    }

    #octiSocialComments .octi-comment-actions{
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }

    #octiSocialComments .octi-reaction-btn,
    #octiSocialComments .octi-report-comment-btn,
    #octiSocialComments .octi-delete-comment-btn{
        width:100% !important;
    }
}

@media(max-width:360px){

    #octiSocialComments .octi-comment-actions{
        grid-template-columns:1fr !important;
    }
}