.cssimg {
    background: url(/images/tot-sp.png) no-repeat top left;
}

.cssimg.sprite-header_busca {
    background-position: 0 0;
    width: 190px;
    height: 87px;
    float: left;
}

.cssimg.sprite-header_separa {
    background-position: 0 -97px;
    width: 950px;
    height: 16px;
}

.cssimg.sprite-novedades_head {
    background-position: 0 -123px;
    width: 342px;
    height: 85px;
}

.cssimg.sprite-novedades_repeat {
    background-position: 0 -218px;
    width: 342px;
    height: 31px;
}

.cssimg.sprite-opina_header {
    background-position: 0 -259px;
    width: 251px;
    height: 87px;
    float: left
}

#site_layout {
    float: left;
    width: 100%;
    position: static;
}

#site_header {
    margin: 0px auto;
    padding: 0 0;
    z-index: 1;
    width: 950px;
    position: relative;
}

#mywrap {
    height: 115px;
    width: 950px;
    background: url("/images/web_header.png");
}

#mywrap div.logo {
    float: left;
    height: 100%;
    overflow: hidden;
    width: 459px;
}

#mywrap div.publitop {
    float: left;
    height: 100%;
    overflow: hidden;
    width: 251px;
}

#buscar {
    float: right;
    overflow: hidden;
    width: 190px;
    height: 87px;
    background: url("/images/header_busca.png");
}

#mywrap div.centerfoot {
    text-align: center;
    width: 806px;
    float: left;
    height: 60px;
    background-color: #FFFFFF;
    padding: 5px 0;
    font-family: Questrial, Arial, Helvetica;
    font-size: 12px;
}

#publiheader {
    height: 95px;
    padding-top: 5px;
    width: 950px;
    background-color: #000000
}

#publiheader div.publi728 {
    float: left;
    height: 100%;
    overflow: hidden;
    width: 100%;
    max-width: 950px;
}

#publiheader div.android {
    float: left;
    height: 100%;
    overflow: hidden;
    width: 150px;
    padding: 0 5px;
}

#separador {
    height: 16px;
    width: 930px;
    background: url("/images/header_separa.jpg");
    margin: 0px auto;
    padding: 0 0;
    z-index: 1;
    position: relative;
}

#botonera {
    text-align: center;
    width: 930px;
    height: 28px;
    margin: 0px auto;
    padding: 0 0;
    z-index: 1;
    position: relative;
}

#menutop {
    text-align: left;
    width: 930px;
    height: 34px;
    margin: 0px auto;
    padding: 0 0;
    z-index: 1;
    position: relative;
}

#menutop div.letras {
    padding-left: 30px;
    padding-top: 10px;
    height: 24px;
}

#menutop a {
    text-decoration: none;
    font-weight: bold;
    color: #FFF;
    font-size: 13px;
    font-family: 'Questrial', Arial, Verdana;
}

#site_body {
    margin: 0px auto;
    z-index: 1;
    width: 930px;
    background-color: #FFF;
    padding: 9px;
    overflow: hidden;
    border: 1px solid #272727;
    position: relative;
}

#site_body div.centerbody {
    width: 930px;
    float: left;
    margin: 0px auto;
}

#site_footer {
    margin: 0px auto;
    padding: 0 0;
    z-index: 1;
    width: 950px;
    background-color: #FFFFFF;
    text-align: center;
}

#mywbody {
    width: 100%;
}

#mywbody div.columna_izq {
    float: left;
    overflow: hidden;
    width: 50px;
}

#mywbody div.columna_der {
    float: right;
    overflow: hidden;
    width: 44px;
}

#mywrap div.columna_izq {
    float: left;
    height: 70px;
    overflow: hidden;
    width: 50px;
}

#mywrap div.columna_der {
    float: right;
    overflow: hidden;
    width: 44px;
    height: 70px;
}

/* Nuevo CSS */

#txtdivhead {
    background: url("/images/title_bg.png") #FFFFFF no-repeat;
    padding: 3px 0 0 8px;
    color: #FFF;
    font-family: 'Questrial', Arial, Helvetica;
    font-size: 18px;
    width: 200px;
    float: left;
    min-height: 25px;
}

#txtdivhead a {
    text-decoration: none;
    color: #FFFFFF;
}

.limpia::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

ul#navVid {
    float: left;
    height: 80px;
    left: 0;
    padding: 0;
    width: 610px;
    z-index: 2000;
    margin: 5px 0 0 0;
}

ul#navVid li {
    display: inline;
    float: left;
    height: 80px;
    list-style: none outside none;
    margin-right: 10px;
    padding: 0;
    width: 112px;
}

/* Header */

#header_nav {
    list-style: none;
    width: 930px;
    margin: 0px auto 0px auto;
    height: 31px;
    padding: 2px 0px 0px 10px;

}

#header_nav li {
    float: left;
    text-align: center;
    position: relative;
    padding: 5px 10px 5px 10px;
    margin-right: 3px;
    margin-top: 2px;
    border: none;
}

#header_nav li a.selected {
    color: #DD3300;
}

#mywrap #opina {
    height: 31px;
    position: relative;
    top: 35px;
    left: 400px;
    width: 260px;
    font-family: 'Questrial', Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: #DD3300;
    padding-top: 5px;
    background-image: url('/images/forum_icon.png');
    background-repeat: no-repeat;
    background-position: 210px 0px;
}

#header_nav li:hover {
    border: 1px solid #777777;
    padding: 5px 9px 5px 9px;

    /* Background color and gradients */

    background: #F4F4F4;
    zoom: 1;

    /* Rounded corners */

    -moz-border-radius: 5px 5px 0px 0px;
    -webkit-border-radius: 5px 5px 0px 0px;
    border-radius: 5px 5px 0px 0px;
}

#header_nav li a {
    font-family: 'Questrial', Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #F8F8F8;
    display: block;
    outline: 0;
    text-decoration: none;
}

#header_nav li:hover a {
    color: #161616;
}

#header_nav li .drop {
    padding-right: 21px;
    background: url("img/drop.png") no-repeat right 8px;
}

#header_nav li:hover .drop {
    background: url("img/drop.png") no-repeat right 7px;
}

/* Drop Down */

.dropdown_1column,
.dropdown_2columns,
.dropdown_3columns,
.dropdown_4columns {
    margin: 4px auto;
    float: left;
    position: absolute;
    left: -999em;
    /* Hides the drop down */
    text-align: left;
    padding: 5px;
    border: 1px solid #777777;
    border-top: none;

    /* Gradient background */
    background: #EEEEEE;
    zoom: 1;

    /* Rounded Corners */
    -moz-border-radius: 0px 5px 5px 5px;
    -webkit-border-radius: 0px 5px 5px 5px;
    border-radius: 0px 5px 5px 5px;
    z-index: 3000;
}

#header_nav div.xbox {
    border-bottom: 3px solid #7AA922;
    background: #dfd;
}

#header_nav div.wii {
    border-bottom: 3px solid #55f;
    background: #ddf;
}

#header_nav div.ps3 {
    border-bottom: 3px solid #f55;
    background: #fdd;
}

#header_nav div.pc {
    border-bottom: 3px solid #ff8c00;
    background: #fff0dd;
}

.dropdown_1column {
    width: 190px;
}

.dropdown_2columns {
    width: 380px;
}

.dropdown_3columns {
    width: 550px;
}

.dropdown_4columns {
    width: 720px;
}

#header_nav li:hover .dropdown_1column,
#header_nav li:hover .dropdown_2columns,
#header_nav li:hover .dropdown_3columns,
#header_nav li:hover .dropdown_4columns {
    left: -1px;
    top: auto;
}

/* Columns */

.col_1,
.col_2,
.col_3,
.col_4 {
    display: inline;
    float: left;
    position: relative;
    margin-left: 5px;
    margin-right: 5px;
}

.col_1 {
    width: 170px;
}

.col_2 {
    width: 340px;
}

.col_3 {
    width: 510px;
}

.col_4 {
    width: 680px;
}

.borde_derecho {
    border-right: 1px solid white;
}

/* Right alignment */

#header_nav .menu_right {
    float: right;
    margin-right: 0px;
}

#header_nav li .align_right {
    /* Rounded Corners */
    -moz-border-radius: 5px 0px 5px 5px;
    -webkit-border-radius: 5px 0px 5px 5px;
    border-radius: 5px 0px 5px 5px;
}

#header_nav li:hover .align_right {
    left: auto;
    right: -1px;
    top: auto;
}

/* Drop Down Content Stylings */

#header_nav p,
#header_nav h2,
#header_nav h3,
#header_nav ul li {
    font-family: 'Questrial', Arial, Helvetica, sans-serif;
    line-height: 21px;
    font-size: 12px;
    text-align: left;
}

#header_nav h2 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -1px;
    margin: 2px 0 5px 0;
    font-weight: bold;
}

#header_nav h3 {
    font-size: 14px;
    margin: 7px 0 14px 0;
    padding-bottom: 7px;
    border-bottom: 1px solid #888888;
}

#header_nav p {
    line-height: 18px;
    margin: 0 0 10px 0;
}

#header_nav li:hover div a {
    font-size: 13px;
    color: #015b86;
}

#header_nav li:hover div a:hover {
    color: #029feb;
}

.strong {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.imgshadow {
    background: #FFFFFF;
    padding: 4px;
    border: 1px solid #777777;
    margin-top: 5px;
    -moz-box-shadow: 0px 0px 5px #666666;
    -webkit-box-shadow: 0px 0px 5px #666666;
    box-shadow: 0px 0px 5px #666666;
}

.img_left {
    /* Image sticks to the left */
    width: auto;
    float: left;
    margin: 5px 15px 5px 5px;
}

#header_nav li .black_box {
    background-color: #333333;
    color: #eeeeee;
    padding: 4px 6px 4px 6px;

    /* Rounded Corners */
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

    /* Shadow */
    -webkit-box-shadow: inset 0 0 3px #000000;
    -moz-box-shadow: inset 0 0 3px #000000;
    box-shadow: inset 0 0 3px #000000;
}

#header_nav li ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

#header_nav li ul li {
    font-size: 14px;
    line-height: 20px;
    position: relative;
    padding: 0;
    margin: 0;
    float: none;
    text-align: left;
    width: 160px;
}

#header_nav li ul li:hover {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

#header_nav li .greybox li {
    background: #F4F4F4;
    border: 1px solid #bbbbbb;
    margin: 0px 0px 4px 0px;
    padding: 4px 6px 4px 6px;
    width: 116px;

    /* Rounded Corners */
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#header_nav li .greybox li:hover {
    background: #ffffff;
    border: 1px solid #aaaaaa;
    padding: 4px 6px 4px 6px;
    margin: 0px 0px 4px 0px;
}

/* --- */

#right_col {
    position: relative;
    float: right;
    margin: 5px 0 0 0;
    width: 310px;
}

#left_col {
    position: relative;
    float: left;
    margin: 0 0 5px;
    width: 610px;
    background: none repeat 0 0 #FFFFFF;
    clear: both;
}

#full_col {
    position: relative;
    float: left;
    margin: 0 0 5px;
    width: 930px;
}

#wrap {
    float: left;
    width: 610px;
}

#ad300r {
    margin-bottom: 12px;
}

/* Ad full-width en desktop dentro de home */
@media (min-width: 901px) {
    #home-main #ad300r {
        width: 100vw;
        max-width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        text-align: center;
        padding: 20px 0;
        background: #f5f5f5;
    }
    
    #home-main #ad300r .adsbygoogle {
        display: inline-block !important;
        max-width: 970px;
        width: 100%;
    }
}

.txthead {
    background: none repeat scroll 0 0 #FFFFFF;
    color: #333333;
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 1px;
    padding: 8px;
    text-transform: uppercase;
    float: left;
}

.column-sub {
    background: none repeat 0 0 #FFFFFF;
    clear: both;
    margin-bottom: 10px;
    overflow: hidden;
    padding: 0 5px 5px;
    height: 555px;
}

.ui-plat {
    margin-left: 0;
    width: 100%;
    float: left;
    font-size: 11px;
    margin: 3px 0 0;
    padding: 0;
    list-style: disc inside none;
    font-family: Questrial, Arial, Helvetica, sans-serif;
}

.ui-plat li {
    float: left;
    line-height: 22px;
    margin: 0 7px;
    list-style: none outside none;
}

li.ui-selected a {
    border: 1px solid #CCCCCC;
    font-weight: bold;
    padding: 3px;
}

.minititle {
    border-bottom: 1px solid #ECECEC;
    font-size: 13px;
    font-weight: bold;
    margin: 35px 0 10px 0;
    padding: 0 5px;
    width: 275px;
}

.derecha {
    float: right;
    padding-right: 9px;
}

.ficha-columna {
    border-bottom: 1px solid #ECECEC;
    float: left;
    padding: 9px;
    width: 273px;
    color: #998899;
    font-size: 14px;
}

.ficha-columna a {
    color: #004C99;
    font-size: 14px;
}

.puntua-columna {
    border: 1px solid #ECECEC;
    color: #004C99;
    float: right;
    font-size: 14px;
    font-weight: bold;
    padding: 5px;
}

.fila-izq {
    font-family: Questrial, "helvetica neue", arial, sans-serif;
    font-size: 16px;
    border-bottom: 1px solid #ECECEC;
    float: left;
    padding: 9px;
    width: 600px;
    color: #003466;
}

.fila-izq a {
    font-weight: bold;
}

.t10left,
.t10right {
    float: left;
    margin: 0 0 5px;
    background: none repeat 0 0 #FFFFFF;
    padding: 9px;
}

.t10left {
    position: relative;
    float: left;
    clear: both;
    width: 390px;
}

.t10right {
    width: 500px;
}

.t10_1_l,
.t10_1_r {
    float: left;
}

.t10_1_l {
    width: 140px;
    margin: 5px 5px 0 0;
}

.t10_1_r {
    width: 240px;
    margin: 5px 0 0 0;
}

.t10_dotted_div {
    height: 24px;
    position: relative;
    FLOAT: left;
    padding: 5px;
}

/* =========================================
   MÓDULO "ÚLTIMAS NOTICIAS" (INDEX y Noticias)
   Diseño tipo card, válido para PC y móvil
   ========================================= */

.tj-news-module {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    margin: 0 0 30px 0;
    overflow: hidden;
    font-family: 'Questrial', Arial, Helvetica, sans-serif;
}

.tj-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.tj-news-header h2 {
    font-size: 18px;
    font-weight: bold;
    color: #111827;
    margin: 0;
    display: flex;
    align-items: center;
}

.tj-news-header h2:before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    margin-right: 8px;
    border-radius: 999px;
    background: #d62828;
    /* rojo marca */
}

.tj-news-menu {
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 999px;
    font-size: 16px;
    line-height: 1;
}

.tj-news-menu:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.tj-news-list {
    background: #ffffff;
}

.tj-news-card {
    border-top: 1px solid #f3f4f6;
}

.tj-news-link {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    padding: 12px 18px;
    color: #111827;
    position: relative;
    transition: background 0.2s ease, transform 0.1s ease;
}

.tj-news-link:hover {
    background: #f9fafb;
}

.tj-news-thumb {
    flex: 0 0 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 14px;
    background: #111827;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.35);
}

.tj-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tj-news-link:hover .tj-news-thumb img {
    transform: scale(1.05);
}

.tj-news-thumb--empty {
    width: 100%;
    height: 100%;
    background: #e5e7eb;
}

.tj-news-content {
    flex: 1 1 auto;
    min-width: 0;
}

.tj-news-title {
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 6px 0;
    color: #111827;
}

.tj-news-excerpt {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    color: #4b5563;
}

.tj-news-chevron {
    align-self: center;
    margin-left: 8px;
    font-size: 18px;
    color: #d1d5db;
    transition: color 0.2s ease, transform 0.2s ease;
}

.tj-news-link:hover .tj-news-chevron {
    color: #f97316;
    transform: translateX(2px);
}

.tj-news-footer {
    border-top: 1px solid #e5e7eb;
    padding: 10px 18px;
    text-align: center;
    background: #ffffff;
}

.tj-news-more {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tj-news-more:hover {
    color: #ef4444;
}

/* Paginación dentro del módulo de noticias */
.tj-news-footer--pager {
    text-align: center;
}

.tj-news-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    font-family: 'Questrial', Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.tj-news-page-link,
.tj-news-page-current {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
}

.tj-news-page-link {
    border: 1px solid #e5e7eb;
    color: #374151;
    text-decoration: none;
}

.tj-news-page-link:hover {
    background: #f9fafb;
    color: #111827;
}

.tj-news-page-current {
    background: #111827;
    color: #ffffff;
    font-weight: bold;
}

.tj-news-page-next {
    margin-left: 8px;
    font-weight: bold;
    color: #ef4444;
    text-decoration: none;
}

.tj-news-page-next:hover {
    text-decoration: underline;
}

.tj-news-page-dots {
    padding: 4px 2px;
    color: #9ca3af;
}

/* RESPONSIVE: móvil / tablet */
@media (max-width: 900px) {

    .tj-news-module {
        margin: 10px 0 25px 0;
        border-radius: 0;
        box-shadow: none;
        border-left: none;
        border-right: none;
    }

    .tj-news-link {
        padding: 12px;
    }

    .tj-news-thumb {
        flex: 0 0 80px;
        height: 80px;
        margin-right: 10px;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
    }

    .tj-news-title {
        font-size: 14px;
    }

    .tj-news-excerpt {
        font-size: 13px;
    }

    .tj-news-chevron {
        display: none;
        /* menos ruido visual en móvil */
    }
}

/* =========================================
   DESTACADOS HOME (MÓVIL) - $queryHome
   Tarjetas grandes tipo hero
   ========================================= */

/* Por defecto, oculto (versión escritorio) */
.tj-featured-list {
    display: none;
}

/* Sólo en móvil / tablet */
@media (max-width: 900px) {

    .tj-featured-list {
        display: block;
        margin: 10px 0 20px 0;
    }

    .tj-featured-card {
        margin-bottom: 8px;
        border-radius: 0px;
        overflow: hidden;
        background: #000;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    }

    .tj-featured-link {
        display: block;
        text-decoration: none;
        color: inherit;
    }

    .tj-featured-img {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56%;
        /* formato 16:9 aproximado */
        overflow: hidden;
    }

    .tj-featured-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.02);
        transition: transform 0.4s ease;
    }

    .tj-featured-link:hover .tj-featured-img img {
        transform: scale(1.06);
    }

    .tj-featured-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.15));
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 12px 14px;
        box-sizing: border-box;
    }

    .tj-featured-kicker {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #facc15;
        margin-bottom: 4px;
        opacity: 0.95;
    }

    .tj-featured-title {
        font-size: 15px;
        line-height: 1.25;
        font-weight: 700;
        color: #ffffff;
        margin: 0;
    }
}

/* =========================================
   NUEVO LAYOUT HOME: UNA SOLA COLUMNA
   (aplicado sólo dentro de #home-main)
   ========================================= */

#home-main {
    width: 100%;
    max-width: 930px;
    margin: 0 auto;
}

/* Dentro de la home, todos estos bloques pasan a columna */
#home-main #wrap,
#home-main #left_col,
#home-main #right_col,
#home-main #full_col {
    float: none;
    width: 100%;
    margin: 0 0 15px 0;
}

/* =========================================
   TOP LANZAMIENTOS - NUEVO DISEÑO "CARDS"
   ========================================= */

/* El contenedor del módulo dentro de la home */
#column-top.column-sub {
    padding: 0;
    height: auto !important;
    /* que crezca según el contenido */
}

/* Pestañas de plataforma (TODOS, Xbox, PS5, PC, Nintendo) */
#column-top .ui-plat {
    margin: 0;
    padding: 12px 16px 4px 16px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-family: Questrial, Arial, Helvetica, sans-serif;
}

#column-top .ui-plat li {
    margin: 0;
    padding: 0;
}

#column-top .ui-plat li a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid transparent;
    background: #f3f4f6;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

#column-top .ui-plat li a:hover {
    background: #e5e7eb;
    color: #111827;
}

#column-top .ui-plat li.ui-selected a {
    background: #ea580c;
    border-color: #ea580c;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
}

/* CONTENEDOR GLOBAL DEL MÓDULO */
.tj-top-module {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    margin: 0 0 30px 0;
    overflow: hidden;
    font-family: Questrial, Arial, Helvetica, sans-serif;
}

/* LISTA DE JUEGOS */
.tj-top-list {
    display: flex;
    flex-direction: column;
}

/* CADA FILA/JUEGO */
.tj-top-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-top: 1px solid #f3f4f6;
    position: relative;
    background: #ffffff;
}

.tj-top-item--featured {
    background: #fff7ed;
    /* un pelín de destaque al #1 */
}

/* NÚMERO DE RANK */
.tj-top-rank {
    font-weight: 700;
    font-size: 14px;
    color: #d1d5db;
    width: 32px;
    flex-shrink: 0;
}

/* CARÁTULA */
.tj-top-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 96px;
    border-radius: 10px;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.35);
    position: relative;
}

.tj-top-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.tj-top-item:hover .tj-top-thumb img {
    transform: scale(1.05);
}

/* Género sobre la imagen en móvil */
.tj-top-genre--mobile {
    display: none;
}

/* BLOQUE DE TEXTO */
.tj-top-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tj-top-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.tj-top-title a {
    color: inherit;
    text-decoration: none;
}

.tj-top-title a:hover {
    color: #ea580c;
}

/* Enlace "Leer análisis" */
.tj-top-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.tj-top-link:hover {
    text-decoration: underline;
}

/* Plataformas + género */
.tj-top-meta {
    font-size: 12px;
    color: #6b7280;
}

/* BLOQUE DE NOTA (derecha en escritorio) */
.tj-top-score {
    flex-shrink: 0;
    min-width: 72px;
    text-align: center;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 8px 6px;
}

.tj-top-score-main {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.tj-top-score-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-top: 2px;
}

/* FOOTER "VER TODOS LOS LANZAMIENTOS" */
.tj-top-footer {
    border-top: 1px solid #e5e7eb;
    padding: 10px 18px;
    text-align: center;
    background: #f9fafb;
}

.tj-top-more {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #4b5563;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tj-top-more:hover {
    color: #ea580c;
}

/* -----------------------
   RESPONSIVE MÓVIL
   ----------------------- */
@media (max-width: 900px) {

    /* toda la home es ya una columna, aquí ajustamos el módulo */
    .tj-top-item {
        align-items: flex-start;
        padding: 12px;
    }

    .tj-top-rank {
        width: 26px;
        font-size: 13px;
    }

    .tj-top-thumb {
        width: 88px;
        height: 112px;
    }

    .tj-top-score {
        margin-left: 6px;
        padding: 6px;
        min-width: 60px;
    }

    .tj-top-score-main {
        font-size: 18px;
    }

    /* En móviles mostramos el género sobre la imagen y aligeramos texto */
    .tj-top-genre--mobile {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 2px 4px;
        font-size: 10px;
        text-align: center;
        background: rgba(0, 0, 0, 0.75);
        color: #f9fafb;
    }
}

/* ====== Nuevo layout home a 1 columna ====== */

#wrap {
    float: none;
    /* quitamos la columna flotante */
    width: 100%;
    /* que use todo el ancho del #site_body (930px) */
    margin: 0 auto 20px;
    /* centrado y un poco de margen inferior */
}

/* El contenedor del slider ocupa todo el ancho disponible */
#wrap #slideshow,
#wrap .pics {
    width: 100%;
    max-width: 930px;
    /* opcional, para no pasar del ancho del contenido */
    margin: 0 auto;
}

/* Las imágenes del slider se adaptan al ancho */
#wrap #slideshow img,
#wrap .pics img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   ULTIMOS ANALISIS – MÓDULO DESKTOP
   (solo PC, se oculta en móvil en responsive.css)
   ========================================= */

.tj-analisis-module {
    margin: 30px 0;
    padding: 18px 18px 22px 18px;
    background: #f5f5f7;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    font-family: Questrial, Arial, Helvetica, sans-serif;
    color: #111827;
}

/* Header */

.tj-analisis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.tj-analisis-header h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.tj-analisis-header h2::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #facc15;
}

.tj-analisis-playpause {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    border-radius: 999px;
    padding: 4px 10px;
    color: #4b5563;
    transition: background 0.15s ease, color 0.15s ease;
}

.tj-analisis-playpause:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #111827;
}

/* Layout columnas */

.tj-analisis-layout {
    display: grid;
    grid-template-columns: 2fr 0.85fr;
    gap: 18px;
    align-items: stretch;
}

/* Tarjeta principal */

.tj-analisis-main {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #0f172a;
    min-height: 320px;
}

.tj-analisis-main-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.tj-analisis-main-card.is-active {
    opacity: 1;
    pointer-events: auto;
}

.tj-analisis-main-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.tj-analisis-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.6s ease;
}

.tj-analisis-main-card.is-active .tj-analisis-main-image img {
    transform: scale(1.06);
}

.tj-analisis-main-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(15, 23, 42, 0.75) 35%,
            rgba(15, 23, 42, 0.25) 60%,
            rgba(15, 23, 42, 0.05) 100%);
}

/* Contenido sobre la imagen */

.tj-analisis-main-content {
    position: relative;
    z-index: 1;
    padding: 18px 20px 20px 20px;
    /* IMPORTANTE: sin height fijo */
    /* height: 100%;  <--  */
    height: 93%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #f9fafb;
    box-sizing: border-box;
}


.tj-analisis-main-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 8px;
    font-size: 11px;
}

.tj-analisis-badge {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(248, 250, 252, 0.25);
    background: rgba(15, 23, 42, 0.35);
}

.tj-analisis-badge-review {
    border-color: rgba(245, 158, 11, 0.7);
    color: #facc15;
}

.tj-analisis-badge-genre {
    color: #e5e7eb;
}

.tj-analisis-main-separator {
    width: 1px;
    height: 14px;
    background: rgba(248, 250, 252, 0.45);
    margin: 0 4px;
}

.tj-analisis-platforms {
    font-size: 11px;
    color: #cbd5f5;
}

/* Título + nota */

.tj-analisis-main-textrow {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.tj-analisis-main-text {
    max-width: 70%;
}

.tj-analisis-main-title {
    margin: 0 0 6px 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 0 10px 25px rgba(0, 0, 0, 0.65);
}

.tj-analisis-main-title a {
    color: #f9fafb;
    text-decoration: none;
}

.tj-analisis-main-title a:hover {
    text-decoration: underline;
}

.tj-analisis-main-excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #e5e7eb;
    /* dejamos que crezca de forma natural */
    max-height: none;
    overflow: visible;
}


.tj-analisis-main-score {
    flex-shrink: 0;
    text-align: center;
}

/* “Hexágono”/rombo de nota */

.tj-analisis-score-hex {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 4px auto;
    transform: rotate(45deg);
    border-radius: 16px;
    background: #22c55e;
    /* se sobreescribe por JS según nota */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.tj-analisis-score-hex span {
    transform: rotate(-45deg);
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
}

.tj-analisis-score-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #e5e7eb;
}

/* Sidebar */

.tj-analisis-sidebar {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 360px;
    overflow-y: auto;
}

/* scroll discreto */
.tj-analisis-sidebar::-webkit-scrollbar {
    width: 6px;
}

.tj-analisis-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.tj-analisis-sidebar::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.7);
    border-radius: 999px;
}

.tj-analisis-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    padding: 6px 8px 6px 10px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    color: #111827;
}

.tj-analisis-item-strip {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 10px 0 0 10px;
    background: transparent;
}

.tj-analisis-item-thumb {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.tj-analisis-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: filter 0.2s ease;
}

.tj-analisis-item-score {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 1px 4px;
    border-radius: 6px 0 0 0;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    background: #22c55e;
    /* se recalcula por JS */
}

.tj-analisis-item-text {
    flex: 1;
    min-width: 0;
}

.tj-analisis-item-genre {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b7280;
    margin-bottom: 2px;
}

.tj-analisis-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

/* Estado hover / activo */

.tj-analisis-item:hover {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.tj-analisis-item:hover .tj-analisis-item-thumb img {
    filter: brightness(1);
}

.tj-analisis-item.is-active {
    background: #ffffff;
    border-color: #f97316;
    box-shadow: 0 8px 18px rgba(249, 115, 22, 0.15);
}

.tj-analisis-item.is-active .tj-analisis-item-strip {
    background: #f97316;
}

/* Footer del sidebar */

.tj-analisis-sidebar-footer {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #e5e7eb;
}

.tj-analisis-sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #4b5563;
    text-decoration: none;
}

.tj-analisis-sidebar-link:hover {
    color: #f97316;
}

.tj-analisis-sidebar-arrow {
    font-size: 16px;
}

/* Responsive: móvil – ocultar módulo de análisis */
@media (max-width: 900px) {
    .tj-analisis-module {
        display: none;
    }
}

/* Responsive: escritorio – ocultar slider viejo y su paginación */
@media (min-width: 901px) {

    #slideshow,
    #nav {
        display: none !important;
    }
}

/* =========================================
   Parche: ocultar SIEMPRE el bloque móvil
   de destacados (.tj-featured-list) en PC,
   aunque algún JS le meta display:block
   ========================================= */
@media (min-width: 901px) {
    .tj-featured-list {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* =========================================
   Ajuste anuncio cabecera (#publiheader)
   para que no deje un hueco enorme
   ========================================= */

#publiheader {
    height: auto !important;
    /* que no fuerce ninguna altura fija */
    overflow: visible;
    /* por si acaso estaba recortando */
}

/* Limitamos el alto del anuncio de cabecera en escritorio */
@media (min-width: 901px) {
    #publiheader .adsbygoogle {
        height: auto !important;
        /* ignoramos el height:XXX inline de Google */
        max-height: 120px !important;
        /* ajusta aquí si quieres más o menos alto */
        overflow: hidden;
        margin: 0 auto;
        display: block;
    }
}

/* =========================================
   ARREGLO: header móvil NO visible en PC
   ========================================= */
@media (min-width: 901px) {

    /* Barra superior móvil (logo + botón hamburguesa) */
    #mobile-header-bar {
        display: none !important;
    }

    /* Por si acaso el contenedor del menú móvil intentara mostrarse */
    #mobile-nav-wrapper {
        display: none !important;
    }
}

/* =========================================
   Página listado Noticias (noticias.tpl)
   ========================================= */

.tj-noticias-page {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 20px;
}

/* Estructura general: una sola columna debajo del anuncio */
.tj-noticias-page #wrap,
.tj-noticias-page #left_col,
.tj-noticias-page #right_col {
    float: none;
    width: 100%;
    box-sizing: border-box;
}

.tj-noticias-page #wrap,
.tj-noticias-page #right_col {
    padding: 0 15px;
}

/* Bloques Novedades / Avances / Artículos */
.tj-noticias-page #right_col .column-sub {
    padding: 10px 0 15px 0;
    border-bottom: 1px solid #e0e0e0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.tj-noticias-page #right_col .column-sub:last-of-type {
    border-bottom: none;
}

.tj-noticias-page #right_col .column-sub strong a {
    font-size: 15px;
}

.tj-noticias-page #right_col img {
    max-width: 120px;
    height: auto;
}

/* Anuncio 300x250 centrado */
.tj-noticias-page #ad300r {
    margin: 15px 0;
    text-align: center;
}

/* -------- Responsive móvil -------- */
@media (max-width: 768px) {

    .tj-noticias-page {
        max-width: 100%;
        margin: 0 auto 10px;
    }

    .tj-noticias-page #wrap,
    .tj-noticias-page #right_col {
        padding: 0 10px 15px 10px;
    }

    .tj-noticias-page #right_col img {
        max-width: 30%;
    }

    .tj-noticias-page #ad300r {
        margin: 20px 0;
    }
}

/* Un poco más ancho en sobremesa grande */
@media (min-width: 1200px) {
    .tj-noticias-page {
        max-width: 1040px;
    }
}

/* =========================================
   Mobile: quitar marco lateral (#site_body)
   para que el contenido vaya a sangre
   ========================================= */
@media (max-width: 768px) {

    /* Sin padding ni borde negro alrededor del contenido */
    #site_body {
        padding: 0 !important;
        border: none !important;
    }

    #site_body .centerbody {
        width: 100% !important;
        margin: 0;
    }

    /* Noticias: el wrap ya no necesita padding extra,
       lo dejamos como en la home */
    .tj-noticias-page #wrap {
        padding: 0 0 15px 0;
    }
}

/* =============================
   MÓDULO AVANCES / REVIEWS GRID
   ============================= */

.tj-reviews-page {
    background-color: #f3f4f6;
    padding: 16px 0;
}

@media (max-width: 768px) {
    .tj-reviews-page {
        padding: 8px 0;
    }
}

.tj-reviews-page #wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    float: none;
    box-sizing: border-box;
}

/* Contenedor principal del módulo (similar a Últimas Noticias) */
.tj-advances-module {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03);
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

@media (max-width: 600px) {
    .tj-advances-module {
        padding: 16px;
        border-radius: 0;
        box-shadow: none;
    }
}

/* Header con barra roja lateral */
.tj-advances-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.tj-advances-bar {
    width: 4px;
    height: 24px;
    border-radius: 4px;
    background-color: #dc2626;
    /* rojo acento */
    margin-right: 12px;
}

.tj-advances-title {
    font-size: 1.25rem;
    /* ~20px */
    font-weight: 700;
    color: #111827;
}

/* Grid responsive (PC varias columnas, móvil 1 columna) */
.tj-advances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

@media (max-width: 600px) {
    .tj-advances-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Tarjeta individual */
/* .tj-advances-card: sin fondo; el fondo es el del contenedor */

.tj-advances-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Imagen 16:9 apaisada */
.tj-advances-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background-color: #e5e7eb;
    margin-bottom: 12px;
}

.tj-advances-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Hover sutil en imagen */
.tj-advances-link:hover .tj-advances-image img {
    transform: scale(1.03);
}

/* Meta (fecha + plataforma) */
.tj-advances-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.tj-advances-meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background-color: #d1d5db;
}

/* Título + extracto */
.tj-advances-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.tj-advances-link:hover .tj-advances-card-title {
    color: #dc2626;
}

.tj-advances-excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Paginación moderna */
.tj-advances-pagination {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.875rem;
}

.tj-advances-page-label {
    color: #6b7280;
}

.tj-advances-page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tj-advances-page-link {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #374151;
    font-size: 0.813rem;
}

.tj-advances-page-link:hover {
    border-color: #dc2626;
    color: #dc2626;
}

.tj-advances-page-link.is-current {
    background-color: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
    pointer-events: none;
}

@media (max-width: 600px) {
    .tj-advances-pagination {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =====================================
   MÓDULO PRÓXIMOS LANZAMIENTOS (LIGHT)
   ===================================== */

.tj-launches-page {
    background-color: #f3f4f6;
    padding: 16px 0;
}

.tj-launches-page #wrap {
    max-width: 1200px;
    margin: 0 auto;
}

/* Contenedor principal */
.tj-launches-module {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 24px;
}

@media (max-width: 600px) {
    .tj-launches-module {
        border-radius: 0;
        box-shadow: none;
        padding: 16px;
    }
}

/* Imagen de carátula dentro del banner */
.tj-launch-cover {
    position: relative;
    width: 110px;
    max-width: 70%;
    height: 140px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.7);
}


/* Header: título + subtítulo + toggle */
.tj-launches-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.tj-launches-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.tj-launches-subtitle {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: #6b7280;
}

/* Toggle vista */
.tj-launches-view-toggle {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background-color: #e5e7eb;
    border: 1px solid #d1d5db;
    gap: 4px;
}

.tj-launches-view-btn {
    border: none;
    background: transparent;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tj-launches-view-btn:hover {
    background-color: rgba(156, 163, 175, 0.25);
    color: #111827;
}

.tj-launches-view-btn.is-active {
    background-color: #ffffff;
    color: #2563eb;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
}

/* Grid de tarjetas */
.tj-launches-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    transition: all 0.3s ease;
}

/* Modo lista: una columna */
.tj-launches-grid.is-list-mode {
    grid-template-columns: 1fr;
}

/* Tarjeta básica */
.tj-launch-card {
    background-color: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.tj-launch-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

/* Modo lista: en pantallas grandes, banner a la izquierda, texto a la derecha */
@media (min-width: 768px) {
    .tj-launches-grid.is-list-mode .tj-launch-card {
        flex-direction: row;
    }
}

/* Banner superior (gradiente) */
.tj-launch-card-banner {
    position: relative;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Variantes de color (como las tarjetas de Gemini) */
.tj-launch-card-banner--1 {
    background: linear-gradient(135deg, #ef4444, #ec4899);
}

.tj-launch-card-banner--2 {
    background: linear-gradient(135deg, #4b5563, #020617);
}

.tj-launch-card-banner--3 {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
}

.tj-launch-card-banner--4 {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.tj-launch-card-banner--5 {
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
}

.tj-launch-card-banner--6 {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.tj-launch-card-banner--7 {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* Icono circular central (placeholder de portada) */
.tj-launch-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
}

/* Fecha en el banner */
.tj-launch-date-pill {
    position: absolute;
    top: 10px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background-color: rgba(255, 255, 255, 0.92);
    color: #2563eb;
    border: 1px solid #e5e7eb;
}

/* Cuerpo de la tarjeta */
.tj-launch-card-body {
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Modo lista: reacomodamos el cuerpo */
@media (min-width: 768px) {
    .tj-launches-grid.is-list-mode .tj-launch-card-banner {
        flex: 0 0 260px;
        height: auto;
        min-height: 150px;
    }

    .tj-launches-grid.is-list-mode .tj-launch-card-body {
        flex: 1;
    }
}

/* Meta: compañía + género */
.tj-launch-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
    gap: 8px;
}

.tj-launch-company {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    font-weight: 700;
}

.tj-launch-genre {
    font-size: 0.7rem;
    border-radius: 999px;
    padding: 3px 8px;
    background-color: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    font-weight: 600;
}

/* Título */
.tj-launch-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
    line-height: 1.3;
}

.tj-launch-title a {
    color: inherit;
    text-decoration: none;
}

.tj-launch-card:hover .tj-launch-title a {
    color: #2563eb;
}

/* Plataformas */
.tj-launch-platforms {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
}

.tj-launch-platforms-icon {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-right: 4px;
}

.tj-launch-platform-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 999px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    flex: 1;
    min-width: 0;
}

/* Mensaje vacío */
.tj-launches-empty {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Ajuste pequeño para paginación en Lanzamientos */
.tj-launches-pagination {
    margin-top: 24px;
}

/* =========================================================
   FOOTER TODOJUEGOS - DISEÑO MODERNO RESPONSIVE
   ========================================================= */

#site_footer,
.tj-footer {
    width: 100% !important;
    margin: 0 auto;
    padding: 0;
    background-color: #020617 !important;
    /* gris casi negro */
    color: #d1d5db;
    border-top: 1px solid #111827;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Contenedor principal (alineado con el cuerpo: 930px) */
.tj-footer-main {
    max-width: 930px;
    margin: 0 auto;
    padding: 32px 16px 24px 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Orden / columnas igual que el diseño de Gemini */
@media (min-width: 768px) {
    .tj-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .tj-footer-main {
        grid-template-columns: 2fr 1fr 1fr 1.3fr;
        gap: 32px;
        padding: 40px 16px 28px 16px;
    }
}

.tj-footer-col {
    min-width: 0;
}

.tj-footer-brand {
    display: flex;
    flex-direction: column;
}

/* Marca */
.tj-footer-brand-title {
    font-size: 1.6rem;
    line-height: 1.1;
    font-weight: 800;
    color: #f9fafb;
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem 0;
}

.tj-footer-brand-highlight {
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Textos */
.tj-footer-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #9ca3af;
    margin: 0 0 1rem 0;
}

.tj-footer-text-small {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #6b7280;
    margin: 0 0 0.9rem 0;
}

/* Redes sociales (4 iconos tipo Gemini) */
.tj-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 8px;
}

.tj-footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background-color: #020617;
    border: 1px solid #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    color: #e5e7eb;
    /* icono claro, que se vea bien */
    transition: background-color 0.2s ease, color 0.2s ease,
        border-color 0.2s ease, transform 0.15s ease,
        box-shadow 0.15s ease;
}

.tj-footer-social-link:hover {
    background-color: #1d4ed8;
    border-color: #2563eb;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

/* Títulos de columna */
.tj-footer-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #f9fafb;
    margin: 0 0 0.8rem 0;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #111827;
    display: inline-block;
}

/* Listas de enlaces */
.tj-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tj-footer-links li {
    margin-bottom: 0.45rem;
}

/* Enlaces con animación ligera */
.tj-footer-link {
    position: relative;
    font-size: 0.9rem;
    color: #d1d5db;
    text-decoration: none;
    padding-left: 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.tj-footer-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: #3b82f6;
    transition: width 0.2s ease;
    opacity: 0;
}

.tj-footer-link:hover {
    padding-left: 6px;
    color: #ffffff;
}

.tj-footer-link:hover::before {
    width: 12px;
    opacity: 1;
}

/* Enlace más marcado (Foros de Comunidad) */
.tj-footer-link-strong {
    font-weight: 600;
}

/* Nuestra red: texto + tag */
.tj-footer-network-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tj-footer-tag {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 999px;
    background-color: #020617;
    border: 1px solid #111827;
    color: #9ca3af;
}

/* Newsletter */
.tj-footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 260px;
}

.tj-footer-input {
    width: 100%;
    box-sizing: border-box;
    /* <- para que no haga overflow */
    border-radius: 8px;
    border: 1px solid #1f2937;
    background-color: #020617;
    padding: 8px 10px;
    font-size: 0.85rem;
    color: #e5e7eb;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.tj-footer-input::placeholder {
    color: #6b7280;
}

.tj-footer-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
    background-color: #020617;
}

.tj-footer-button {
    border: none;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: #2563eb;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease,
        box-shadow 0.15s ease;
    text-align: center;
}

.tj-footer-button:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

.tj-footer-button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Barra inferior */
.tj-footer-bottom {
    border-top: 1px solid #111827;
    background-color: #020617;
    padding: 12px 16px 16px 16px;
}

/* Móvil: todo centrado */
.tj-footer-copy {
    max-width: 930px;
    margin: 0 auto 6px auto;
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
}

.tj-footer-copy-strong {
    color: #e5e7eb;
    font-weight: 600;
}

.tj-footer-bottom-links {
    max-width: 930px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #9ca3af;
}

.tj-footer-bottom-link {
    text-decoration: none;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.tj-footer-bottom-link:hover {
    color: #ffffff;
}

.tj-footer-bottom-sep {
    color: #374151;
}

/* Escritorio: copy a la izquierda, enlaces a la derecha */
@media (min-width: 768px) {
    .tj-footer-bottom {
        padding: 14px 16px 18px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .tj-footer-copy {
        margin: 0;
        text-align: left;
    }

    .tj-footer-bottom-links {
        justify-content: flex-end;
    }
}

/* Iconos SVG dentro de los botones sociales del footer */
.tj-footer-social-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* ============== ZONA DE TRUCOS – MÓDULO NUEVO ================= */

/* Contenedor central de la página de trucos */
.tj-trucos-page #wrap {
    max-width: 1040px;
    width: 100% !important;
    margin: 0 auto 40px !important;
    padding: 20px 12px 40px;
    float: none !important;
    box-sizing: border-box;
}


/* Contenedor principal */
.tj-trucos-module {
    background: #f3f4f6;
    min-height: 60vh;
    color: #111827;
    font-family: 'Questrial', Arial, sans-serif;
}

/* ---------- Cabecera ---------- */
.tj-trucos-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    margin: -20px -12px 16px;
    padding: 16px 24px 12px;
}

/* línea superior: icono + título + buscador */
.tj-trucos-header-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tj-trucos-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tj-trucos-icon-box {
    background: linear-gradient(135deg, #f97316, #c2410c);
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tj-trucos-icon-hash {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
}

.tj-trucos-title-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tj-trucos-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    letter-spacing: 0.12em;
}

.tj-trucos-subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: #f97316;
    margin-top: 3px;
}

/* Buscador */
.tj-trucos-search-box {
    margin-top: 8px;
}

.tj-trucos-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.tj-trucos-search-icon {
    position: absolute;
    left: 10px;
    font-size: 13px;
    color: #9ca3af;
}

#tj-trucos-search {
    width: 100%;
    padding: 9px 10px 9px 28px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 13px;
    background: #f9fafb;
    color: #111827;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

#tj-trucos-search::placeholder {
    color: #9ca3af;
}

#tj-trucos-search:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.2);
    background: #ffffff;
}

/* Tabs */
.tj-trucos-tabs {
    display: flex;
    gap: 24px;
    margin-top: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.tj-trucos-tab {
    position: relative;
    padding: 8px 0 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #6b7280;
    text-decoration: none;
}

.tj-trucos-tab.is-active {
    color: #f97316;
}

.tj-trucos-tab-underline {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: #f97316;
    border-radius: 999px;
    transition: width 0.18s ease-out;
}

.tj-trucos-tab.is-active .tj-trucos-tab-underline {
    width: 100%;
}

/* ---------- Barra info ---------- */
.tj-trucos-infobar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0 10px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #6b7280;
    font-weight: 600;
}

.tj-trucos-infobar-left span#tj-trucos-count {
    font-weight: 700;
}

.tj-trucos-infobar-right {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    font-size: 9px;
}

.tj-trucos-filter-icon {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    border: 2px solid #f97316;
    border-top-color: transparent;
    border-right-color: transparent;
    transform: rotate(-45deg);
}

/* ---------- Grid de tarjetas ---------- */
.tj-trucos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Tarjeta */
.tj-trucos-card {
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 14px 14px 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: border-color 0.16s ease-out, box-shadow 0.16s ease-out, transform 0.08s ease-out;
}

.tj-trucos-card:hover {
    border-color: #fdba74;
    box-shadow: 0 8px 18px rgba(249, 115, 22, 0.12);
    transform: translateY(-1px);
}

.tj-trucos-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Cabecera tarjeta */
.tj-trucos-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.tj-trucos-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.tj-trucos-card:hover .tj-trucos-card-title {
    color: #f97316;
}

.tj-trucos-card-icon {
    opacity: 0.4;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.tj-trucos-card:hover .tj-trucos-card-icon {
    opacity: 1;
    transform: translateY(-1px);
}

/* Icono “dispositivo” abstracto */
.tj-trucos-device-icon {
    display: inline-block;
    width: 18px;
    height: 12px;
    border-radius: 3px;
    border: 2px solid #d1d5db;
    position: relative;
}

.tj-trucos-device-icon::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: -4px;
    height: 2px;
    border-radius: 999px;
    background: #d1d5db;
}

/* Footer tarjeta */
.tj-trucos-card-footer {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.tj-trucos-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Badges plataformas */
.tj-trucos-platform-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #4b5563;
}

/* Colores por plataforma */
.tj-plat-pc {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.tj-plat-xbox {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #15803d;
}

.tj-plat-ps {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4f46e5;
}

.tj-plat-nintendo {
    background: #fee2e2;
    border-color: #fecaca;
    color: #b91c1c;
}

/* Borde inferior naranja al hover */
.tj-trucos-card-bottom-border {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: #f97316;
    border-radius: 0 0 10px 10px;
    transition: width 0.18s ease-out;
}

.tj-trucos-card:hover .tj-trucos-card-bottom-border {
    width: 100%;
}

/* Empty state */
.tj-trucos-empty {
    margin-top: 20px;
    padding: 24px 16px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
    color: #6b7280;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.tj-trucos-empty-icon {
font-size: 32px;
    margin-bottom: 8px;
}

/* Gamerscore badge (Xbox achievements) */
.tj-trucos-gamerscore {
    display: inline-block;
    background: #107c10;
    color: #fff;
    font-size: 0.75em;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}
.tj-trucos-gamerscore--lg {
    font-size: 1rem;
    padding: 4px 12px;
    margin-left: 0;
}

/* ============ DETAIL VIEW (game selected) ============ */

/* Icon box color variants */
.tj-trucos-icon-box--xbox {
    background: linear-gradient(135deg, #107c10, #1a9f1a);
    box-shadow: 0 4px 10px rgba(16, 124, 16, 0.35);
}
.tj-trucos-icon-box--ps {
    background: linear-gradient(135deg, #003087, #0070d1);
    box-shadow: 0 4px 10px rgba(0, 48, 135, 0.35);
}

/* Summary bar (count + total gamerscore) */
.tj-trucos-detalle-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
}
.tj-trucos-detalle-count {
    font-weight: 700;
    color: #111827;
}
.tj-trucos-detalle-gs-total {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Detail grid */
.tj-trucos-detalle-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

/* Detail card (each truco/logro/trofeo) */
.tj-trucos-detalle-card {
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: border-color 0.16s ease-out, box-shadow 0.16s ease-out;
    overflow: hidden;
}
.tj-trucos-detalle-card:hover {
    border-color: #fdba74;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.1);
}

/* Logro variant — subtle green left border */
.tj-trucos-detalle-card--logro {
    border-left: 3px solid #107c10;
}
.tj-trucos-detalle-card--logro:hover {
    border-color: #107c10;
    box-shadow: 0 4px 12px rgba(16, 124, 16, 0.12);
}

/* Trofeo variant — subtle blue left border */
.tj-trucos-detalle-card--trofeo {
    border-left: 3px solid #003087;
}
.tj-trucos-detalle-card--trofeo:hover {
    border-color: #003087;
    box-shadow: 0 4px 12px rgba(0, 48, 135, 0.12);
}

/* Card top row: icon + text + score */
.tj-trucos-detalle-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Type icon (emoji in circle) */
.tj-trucos-detalle-type-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}
.tj-trucos-detalle-type--xbox {
    background: #ecfdf3;
    border-color: #bbf7d0;
}
.tj-trucos-detalle-type--ps {
    background: #eef2ff;
    border-color: #c7d2fe;
}
.tj-trucos-detalle-type--truco {
    background: #fff7ed;
    border-color: #fed7aa;
}

/* Text content */
.tj-trucos-detalle-card-text {
    flex: 1;
    min-width: 0;
}
.tj-trucos-detalle-card-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}
.tj-trucos-detalle-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
}
.tj-trucos-detalle-card-desc p {
    margin: 0 0 6px;
}

/* Gamerscore score block (right side) */
.tj-trucos-detalle-score {
    flex-shrink: 0;
    min-width: 52px;
    text-align: center;
    background: #107c10;
    border-radius: 10px;
    padding: 8px 6px;
    box-shadow: 0 4px 10px rgba(16, 124, 16, 0.25);
}
.tj-trucos-detalle-score-value {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}
.tj-trucos-detalle-score-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.8);
    margin-top: 2px;
}

/* PlayStation trophy badges */
.tj-trucos-trophy {
    flex-shrink: 0;
    min-width: 60px;
    text-align: center;
    border-radius: 10px;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.tj-trucos-trophy-icon {
    font-size: 22px;
    line-height: 1;
}
.tj-trucos-trophy-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
/* Platino — iridescent/diamond */
.tj-trucos-trophy--1 {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border: 1px solid #a5b4fc;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}
.tj-trucos-trophy--1 .tj-trucos-trophy-label { color: #4338ca; }
/* Oro */
.tj-trucos-trophy--2 {
    background: linear-gradient(135deg, #fef9c3, #fde68a);
    border: 1px solid #fbbf24;
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.25);
}
.tj-trucos-trophy--2 .tj-trucos-trophy-label { color: #92400e; }
/* Plata */
.tj-trucos-trophy--3 {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 10px rgba(148, 163, 184, 0.2);
}
.tj-trucos-trophy--3 .tj-trucos-trophy-label { color: #475569; }
/* Bronce */
.tj-trucos-trophy--4 {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #d97706;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.2);
}
.tj-trucos-trophy--4 .tj-trucos-trophy-label { color: #78350f; }

/* Responsive: detail cards */
@media (max-width: 600px) {
    .tj-trucos-detalle-grid {
        padding: 8px;
        gap: 6px;
    }
    .tj-trucos-detalle-card {
        padding: 10px 12px;
    }
    .tj-trucos-detalle-card-title {
        font-size: 14px;
    }
    .tj-trucos-detalle-card-desc {
        font-size: 12px;
    }
    .tj-trucos-detalle-score {
        min-width: 44px;
        padding: 6px 4px;
    }
    .tj-trucos-detalle-score-value {
        font-size: 15px;
    }
    .tj-trucos-detalle-summary {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* Botón Ver más trucos */
.tj-trucos-loadmore-wrapper {
    text-align: center;
    margin-top: 24px;
}

.tj-trucos-loadmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 24px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    color: #374151;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.tj-trucos-loadmore-btn:hover {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.tj-trucos-loadmore-icon {
    font-size: 12px;
    transform: translateY(1px);
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 768px) {
    .tj-trucos-header-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .tj-trucos-search-box {
        max-width: 380px;
        width: 100%;
    }

    .tj-trucos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .tj-trucos-page #wrap {
        max-width: 1040px;
    }

    .tj-trucos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Ligeros ajustes “Gemini-like” */

.tj-trucos-module {
    border-radius: 0 0 18px 18px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

/* Más aire por arriba en escritorio para que respire debajo de la cabecera del sitio */
@media (min-width: 1024px) {
    .tj-trucos-header {
        margin-top: 0;
        border-radius: 18px 18px 0 0;
    }
}

/* Que las tarjetas no se peguen tanto al borde en móvil */
@media (max-width: 767px) {
    .tj-trucos-page #wrap {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ============================================
   NOTICIA DETALLE – LAYOUT UNA COLUMNA
   ============================================ */

.tj-news-detail {
    width: 100%;
    padding: 0 10px 30px;
    box-sizing: border-box;
}

.tj-news-detail-inner {
    max-width: 1000px;
    /* mismo espíritu que el resto del portal */
    margin: 0 auto;
}

/* Convertimos la tabla vieja en dos bloques apilados */
.tj-news-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.tj-news-detail-table>tbody>tr>td {
    display: block;
    width: 100% !important;
    padding: 0;
}

/* Margenes entre zonas */
.tj-news-main {
    margin-bottom: 24px;
}

.tj-news-sidebar {
    margin-bottom: 24px;
}

/* La tarjeta de juego ocupa todo el ancho en esta página */
.tj-news-sidebar .game-card,
.tj-news-sidebar .tj-game-card {
    width: 100%;
}

/* Detalles menores de tipografía de la noticia */
.tj-news-article h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.tj-news-meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 16px;
}

.tj-news-body {
    font-size: 14px;
    line-height: 1.6;
}

/* ===========================================
   DETALLE DE NOTICIA (article.php) – UNA COLUMNA
   =========================================== */

.tj-article-page {
    width: 100%;
}

.tj-article-page #wrap {
    max-width: 960px;
    /* Ajusta si quieres algo más estrecho */
    margin: 0 auto;
    padding: 0 12px 40px;
}

/* Reset de floats heredados: forzamos una sola columna */
.tj-article-page #left_col,
.tj-article-page #right_col {
    float: none;
    width: 100%;
    margin: 0;
}

/* Espaciados internos */
.tj-article-page #txtdivhead {
    margin: 16px 0;
}

.tj-article-page #left_col {
    margin-bottom: 32px !important;
    /* por encima de comentarios y ficha */
}

.tj-article-page #right_col {
    margin-top: 24px;
    margin-bottom: 40px;
}

/* Bloque de comentarios más limpio */
.tj-article-page .article-comments {
    margin-bottom: 32px;
}

.tj-article-page .fb-comments {
    max-width: 100% !important;
}

/* En pantallas grandes, un poco más recogido para lectura cómoda */
@media (min-width: 1200px) {
    .tj-article-page #wrap {
        max-width: 900px;
    }
}

/* ===========================================
   MÓDULO "NOTICIAS RELACIONADAS" – related-news-module
   Version unificada para article.php
   =========================================== */

.tj-article-page .related-news-module {
    margin-top: 24px;
    margin-bottom: 24px;
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 20px 20px;
    border: 1px solid #e5e7f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    font-family: 'Questrial', Arial, Helvetica, sans-serif;
}

/* CABECERA */

.tj-article-page .related-news-module .rn-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.tj-article-page .related-news-module .rn-header-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Icono de cabecera (círculo + icono rojo) */
.tj-article-page .related-news-module .rn-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #fff1f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #b91c1c;
    /* rojo como en la ficha */
}

.tj-article-page .related-news-module .rn-icon i {
    width: 18px;
    height: 18px;
}

.tj-article-page .related-news-module .rn-header-texts {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tj-article-page .related-news-module .rn-header-title {
    font-size: 15px;
    font-weight: 700;
}

.tj-article-page .related-news-module .rn-header-subtitle {
    font-size: 12px;
    opacity: 0.8;
}

.tj-article-page .related-news-module .rn-header-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1d4ed8;
    font-weight: 600;
    white-space: nowrap;
}

/* LISTA DE NOTICIAS */

.tj-article-page .related-news-module .rn-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.tj-article-page .related-news-module .rn-item {
    border-radius: 14px;
    padding: 10px 10px;
    transition: background 0.15s ease, transform 0.08s ease;
}

.tj-article-page .related-news-module .rn-item:hover {
    background: #f3f4ff;
    transform: translateY(-1px);
}

.tj-article-page .related-news-module .rn-link {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.tj-article-page .related-news-module .rn-item-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e2e4f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.tj-article-page .related-news-module .rn-item-icon i {
    width: 18px;
    height: 18px;
}

.tj-article-page .related-news-module .rn-item-body {
    flex: 1;
    min-width: 0;
}

.tj-article-page .related-news-module .rn-item-meta {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 2px;
}

.tj-article-page .related-news-module .rn-item-title {
    font-size: 14px;
    margin: 0 0 2px 0;
    font-weight: 700;
}

.tj-article-page .related-news-module .rn-item-excerpt {
    font-size: 12px;
    margin: 0;
    color: #4b5563;
}

/* FOOTER (tags "Ver más") */

.tj-article-page .related-news-module .rn-footer {
    margin-top: 14px;
    border-top: 1px solid #e0e4f0;
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.tj-article-page .related-news-module .rn-footer-label {
    font-size: 12px;
    font-weight: 600;
    margin-right: 4px;
}

.tj-article-page .related-news-module .rn-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tj-article-page .related-news-module .rn-footer-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid #d4ddff;
    background: #edf1ff;
    white-space: nowrap;
}

.tj-article-page .related-news-module .rn-footer-tag:hover {
    background: #e0e6ff;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .tj-article-page .related-news-module {
        padding: 14px 12px 16px;
        border-radius: 14px;
        margin-top: 16px;
    }

    .tj-article-page .related-news-module .rn-item {
        padding: 8px 6px;
    }

    .tj-article-page .related-news-module .rn-item-title {
        font-size: 13px;
    }

    .tj-article-page .related-news-module .rn-item-excerpt {
        font-size: 11px;
    }
}

/* =========================================
   FICHA – LAYOUT GENERAL (ficha.tpl)
   ========================================= */

.tj-game-layout {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    border-collapse: collapse;
}

/* Versión "Noticias del juego" (ponNews): una columna */
.tj-game-layout--news {
    width: 100%;
}

/* Elementos internos a ancho completo */
.tj-game-layout--news .game-card,
.tj-game-layout--news .tj-game-ad,
.tj-game-layout--news .related-news-module {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Separaciones verticales en modo noticias */
.tj-game-layout--news .game-card {
    margin: 20px 0;
}

.tj-game-layout--news .tj-game-ad {
    margin: 10px 0 20px;
}

.tj-game-layout--news .related-news-module {
    margin-bottom: 20px;
}

/* =========================================
   FICHA – AJUSTES RESPONSIVE MÓVIL
   ========================================= */
@media (max-width: 768px) {

    /* La tabla de ficha nunca debe desbordar */
    .tj-game-layout {
        width: 100% !important;
        max-width: 100% !important;
    }

    .tj-game-layout tr,
    .tj-game-layout td,
    .tj-game-layout table {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Sin rellenos raros que descuadren anchos */
    .tj-game-layout td {
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }

    /* Un padding homogéneo para todo el contenido de ficha/noticias */
    .tj-game-layout--news>tbody>tr>td,
    .tj-game-layout--news>tr>td {
        padding: 0 10px !important;
    }

    /* Tarjeta + publi + módulo sin márgenes laterales extra */
    .tj-game-layout--news .game-card,
    .tj-game-layout--news .tj-game-ad,
    .tj-game-layout--news .related-news-module {
        margin-left: 0;
        margin-right: 0;
    }

    /* Imágenes siempre adaptadas al ancho */
    .tj-game-layout img {
        max-width: 100%;
        height: auto;
    }
}

/* =========================================
   FICHA – CORRECCIÓN HUECO LATERAL MÓVIL
   (Noticias del juego: ponNews=1)
   ========================================= */

@media (max-width: 768px) {

    /* Fuerza 100% real en la tabla de ficha noticias */
    #site_body .tj-game-layout--news,
    #site_body .tj-game-layout--news table,
    #site_body .tj-game-layout--news tr,
    #site_body .tj-game-layout--news td {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Eliminamos por completo el padding lateral del TD principal */
    #site_body .tj-game-layout--news>tbody>tr>td,
    #site_body .tj-game-layout--news>tr>td {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* =========================================
   MÓDULO GALERÍA GAMER (ficha.tpl)
   Fondo blanco, estilo gamer light
   ========================================= */

.tj-gallery-module {
    max-width: 950px;
    margin: 24px auto 40px;
    padding: 16px 0 8px;
    background: #f9fafb;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    font-family: 'Questrial', Arial, sans-serif;
}

.tj-gallery-header {
    padding: 0 20px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tj-gallery-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tj-gallery-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.55);
}

.tj-gallery-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f172a;
}

.tj-gallery-subtitle {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
}

.tj-gallery-controls {
    display: flex;
    gap: 8px;
}

.tj-gallery-arrow {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    box-shadow: 0 4px 10px rgba(148, 163, 184, 0.35);
    transition: all 0.18s ease-out;
}

.tj-gallery-arrow:hover {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.45);
}

/* CARRUSEL */

.tj-gallery-track-wrapper {
    padding: 6px 6px 18px;
}

.tj-gallery-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 12px 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Ocultar scrollbar en navegadores modernos */
.tj-gallery-track::-webkit-scrollbar {
    display: none;
}

.tj-gallery-track {
    scrollbar-width: none;
}

.tj-gallery-card {
    flex: 0 0 auto;
    width: 82vw;
    max-width: 360px;
    aspect-ratio: 16 / 9;
    scroll-snap-align: center;
    cursor: pointer;
}

.tj-gallery-card-inner {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #111827;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tj-gallery-card-inner:hover {
    transform: translateY(-3px);
    border-color: #7c3aed;
    box-shadow: 0 20px 35px rgba(124, 58, 237, 0.6);
}

.tj-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tj-gallery-card-inner:hover .tj-gallery-thumb img {
    transform: scale(1.08);
}

/* Overlay degradado y texto */

.tj-gallery-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.2), transparent);
}

.tj-gallery-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.tj-gallery-badge-main,
.tj-gallery-badge-type {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.tj-gallery-badge-main {
    background: rgba(255, 255, 255, 0.92);
    color: #7c3aed;
}

.tj-gallery-badge-type {
    background: #ef4444;
    color: #ffffff;
}

.tj-gallery-text {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 2;
}

.tj-gallery-text h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

/* Botón central */

.tj-gallery-center-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.tj-gallery-card-inner:hover .tj-gallery-center-btn {
    opacity: 1;
    transform: scale(1);
}

.tj-gallery-center-icon {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.7);
}

/* Footer */

.tj-gallery-footer {
    padding: 4px 20px 10px;
    display: flex;
    justify-content: flex-end;
}

.tj-gallery-link {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #6b21a8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tj-gallery-link::after {
    content: '↗';
    font-size: 11px;
}

.tj-gallery-link:hover {
    color: #7c3aed;
}

/* LIGHTBOX */

.tj-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.tj-gallery-lightbox.is-open {
    display: flex;
}

.tj-gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(4px);
}

.tj-gallery-lightbox-content {
    position: relative;
    margin: auto;
    max-width: 1000px;
    width: 100%;
    padding: 16px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tj-gallery-lightbox-figure {
    margin: 0;
    position: relative;
    width: 100%;
    max-height: 80vh;
    background: #020617;
    border-radius: 16px;
    border: 1px solid #1f2937;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    padding: 8px;
}

.tj-gallery-lightbox-figure img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    background: #020617;
}

.tj-gallery-lightbox-figure figcaption {
    margin-top: 6px;
    padding: 0 4px 4px;
    font-size: 13px;
    color: #e5e7eb;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Controles lightbox */

.tj-gallery-close {
    position: absolute;
    top: 16px;
    right: 24px;
    border: none;
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
    border-radius: 999px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(148, 163, 184, 0.6);
    transition: all 0.18s ease-out;
}

.tj-gallery-close:hover {
    background: #ef4444;
    border-color: #ef4444;
}

.tj-gallery-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(148, 163, 184, 0.6);
    transition: all 0.18s ease-out;
}

.tj-gallery-lightbox-prev {
    left: 12px;
}

.tj-gallery-lightbox-next {
    right: 12px;
}

.tj-gallery-lightbox-arrow:hover {
    background: #7c3aed;
    border-color: #7c3aed;
}

/* Responsive */

@media (max-width: 768px) {
    .tj-gallery-module {
        margin-left: 8px;
        margin-right: 8px;
    }

    .tj-gallery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .tj-gallery-controls {
        align-self: flex-end;
    }

    .tj-gallery-card {
        width: 86vw;
    }
}