/* ============================================================
   GDLHD - ajustes sobre el CSS de la referencia
   ============================================================ */

:root {
    /* Forzar el tema oscuro de la referencia (no depender del SO) */
    --text: #9ca3af;
    --text-h: #f3f4f6;
    --bg: #16171d;
    --border: #2e303a;
    --code-bg: #1f2028;
    --accent: #c084fc;
    --accent-bg: #c084fc26;
    --accent-border: #c084fc80;
    --social-bg: #2f303a80;
    --shadow: #0006 0 10px 15px -3px, #00000040 0 4px 6px -2px;
    color-scheme: dark;
    background: #131722;
}
html { scroll-behavior: smooth; background: #131722; }
body { background: #131722; min-height: 100dvh; color: var(--text); }

/* Barra de admin de WordPress */
body.admin-bar ._nav-bg_bwvyb_2 { top: 32px; }
body.admin-bar .catalog,
body.admin-bar .wrapper { padding-top: calc(7rem + 32px); }
@media (max-width: 782px) {
    body.admin-bar ._nav-bg_bwvyb_2 { top: 46px; }
    body.admin-bar .catalog,
    body.admin-bar .wrapper { padding-top: calc(7rem + 46px); }
}

/* Header */
.gdlhd-logo-link { display: flex; align-items: center; flex-shrink: 0; }
._logo_bwvyb_2 { width: auto; height: 40px; max-height: 40px; object-fit: contain; }
.gdlhd-nav-inner { align-items: center; }

.gdlhd-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 16px 4px 4px;
    max-width: 72rem;
    margin: 0 auto;
}
.gdlhd-mobile-menu.open { display: flex; }
.gdlhd-mobile-menu a { color: #fff; font-weight: 600; }
.gdlhd-mobile-menu ._search-box_bwvyb_2 input { width: 100%; }
@media (min-width: 768px) {
    .gdlhd-mobile-menu { display: none !important; }
}

/* Tabs de categoria como enlaces */
.category-nav .cat-btn {
    color: #fff;
    cursor: pointer;
    text-wrap: nowrap;
    background: none;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    position: relative;
    transition: color .3s;
}
.category-nav .cat-btn:after {
    content: "";
    background-color: orange;
    width: 0;
    height: 2px;
    transition: all .3s;
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translate(-50%);
}
.category-nav .cat-btn:hover,
.category-nav .cat-btn.active { color: orange; }
.category-nav .cat-btn.active:after { width: 100%; }

/* Cards */
.catalog-card { position: relative; }
.catalog-card > img { display: block; }
.catalog-item .title { display: block; }
.catalog-item .title.hidden { display: none; }

/* Sidebar: opcion activa */
._container_1wlc2_1 ._section_1wlc2_11 ._options_1wlc2_36 ._option_1wlc2_36 {
    padding: 2px 0;
    text-decoration: none;
}
._container_1wlc2_1 ._section_1wlc2_11 ._options_1wlc2_36 ._option_1wlc2_36.--active {
    background: #f9ab00;
    color: #11121d;
    font-weight: 700;
}
._container_1wlc2_1 ._section_1wlc2_11 select {
    background-color: #1d2231;
    color: #fff;
    border: none;
    cursor: pointer;
}
._container_1wlc2_1 ._section_1wlc2_11 select option { background: #1d2231; color: #fff; }

/* Paginacion */
.gdlhd-pagination { align-items: center; flex-wrap: wrap; }
.gdlhd-pagination .page-numbers {
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    text-decoration: none;
}
.gdlhd-pagination a.page-numbers:hover { color: orange; }
.gdlhd-pagination .page-numbers.current { background: #11121d; color: #fff; font-weight: 700; }
.gdlhd-pagination .page-numbers.dots { color: #9ca3af; }

.gdlhd-empty { text-align: center; padding: 3rem 1rem; color: #9ca3af; }

.gdlhd-search-head { margin-bottom: 2rem; }
.gdlhd-search-head > span { color: #f3f4f6; }

/* ============================================================
   DVD cover (se conserva el markup original)
   ============================================================ */
.catalog-card .cctv-dvd {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 24px rgba(0,0,0,.6);
}
.catalog-card .cctv-dvd-spine {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 16px;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--dvd-c, #23c420) 80%, #000 20%) 0%,
        var(--dvd-c, #23c420) 55%,
        color-mix(in srgb, var(--dvd-c, #23c420) 75%, #000 25%) 100%);
    box-shadow: 2px 0 8px rgba(0,0,0,.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 6px 1px;
    gap: 4px;
    z-index: 4;
}
.catalog-card .cctv-dvd-format,
.catalog-card .cctv-dvd-brand {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    line-height: 1;
    letter-spacing: .08em;
    text-shadow: 0 2px 4px rgba(0,0,0,.7);
}
.catalog-card .cctv-dvd-format { font-size: 9px; margin-top: 14px; }
.catalog-card .cctv-dvd-brand  { font-size: 12px; letter-spacing: .05em; }
.catalog-card .cctv-dvd::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 4px;
    background: var(--dvd-c, #23c420);
    z-index: 4;
}
.catalog-card .cctv-dvd-bottom {
    position: absolute;
    bottom: 0; left: 16px; right: 0;
    height: 6px;
    background: var(--dvd-c, #23c420);
    border-bottom-right-radius: 10px;
    z-index: 5;
}
.catalog-card .cctv-dvd-res {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 28px;
    z-index: 10;
    pointer-events: none;
}
.catalog-card .cctv-dvd-res svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.catalog-card .cctv-dvd-res-label {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    z-index: 2;
    padding-top: 2px;
}
.catalog-card .cctv-dvd-lat {
    position: absolute;
    top: 22px; right: -13px;
    width: 58px;
    background: linear-gradient(to right, #006847 33%, #fff 33%, #fff 66%, #ce1126 66%);
    font-size: 7px;
    font-weight: 900;
    text-align: center;
    padding: 2px 0;
    transform: rotate(45deg);
    letter-spacing: .14em;
    line-height: 1.5;
    color: #ce1126;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 2px 4px rgba(0,0,0,.7);
    box-shadow: 0 3px 8px rgba(0,0,0,.5);
}
.catalog-card:has(.cctv-dvd) > img {
    padding: 18px 5px 6px 18px;
    box-sizing: border-box;
}

/* ============================================================
   Ficha
   ============================================================ */
.dynamic-post-container > .title { text-transform: uppercase; }
.dynamic-post-container .info .poster img { display: block; }
/* Poster de la ficha: portada DVD (mismo componente que las tarjetas), mas compacta */
.dynamic-post-container .info .poster {
    position: relative;
    flex: 0 0 290px;
    width: 290px;
    max-width: 46%;
    align-self: flex-start;
}
.dynamic-post-container .info .details { flex: 1; min-width: 0; }
.dynamic-post-container .info .details h2:not(:first-child) { margin-top: 1.5rem; }
.dynamic-post-container .info .details .details-container a { color: inherit; }
.dynamic-post-container .download-info .info b { color: #fff; }
.download-info .gdlhd-no-dl { color: #f9ab00; font-size: .95rem; }
/* El contenedor de la ficha es flex column CON wrap; con wrap el navegador
   comprime .media (galeria + trailer) a la altura de su linea y su contenido
   se desborda encima del bloque de descarga. Sin wrap conserva su altura. */
.dynamic-post-container { flex-wrap: nowrap; }
.dynamic-post-container > .media { flex: 0 0 auto; }
.gdlhd-no-gallery {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    color: #9ca3af; font-size: .95rem; text-align: center;
}
.gdlhd-no-trailer {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #9ca3af; font-size: .95rem;
}
.report-btn { border: none; font-weight: 700; letter-spacing: .03em; }
.dynamic-post-labels { color: #9ca3af; align-items: center; }
.dynamic-post-labels .labels-container span { color: #f9ab00; }

body.single-episodes .wrapper,
body.single-movies .wrapper,
body.single-tvshows .wrapper,
body.single-animes .wrapper { padding-bottom: 5rem; }

/* ============================================================
   Episodios / temporadas
   ============================================================ */
.gdlhd-episodes-wrap { padding-top: 1rem; }
.gdlhd-episodes {
    background: #272d40;
    border-radius: 10px;
    padding: 2rem;
}
.gdlhd-section-title {
    color: #f9ab00;
    font-size: x-large;
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.gdlhd-season-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.gdlhd-season-tab {
    background: #181b27;
    color: #9ca3af;
    padding: .5rem 1rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}
.gdlhd-season-tab:hover { color: #fff; }
.gdlhd-season-tab.active { background: #f9ab00; color: #181b27 !important; }
.gdlhd-ep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1rem;
}
.gdlhd-ep-card {
    background: #181b27;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease;
}
.gdlhd-ep-card:hover { transform: translateY(-2px); }
.gdlhd-ep-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.gdlhd-ep-noimg {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #11121d;
    color: #9ca3af;
    font-weight: 700;
}
.gdlhd-ep-body { padding: .6rem .7rem .8rem; display: flex; flex-direction: column; gap: 2px; }
.gdlhd-ep-num { color: #f9ab00; font-size: .78rem; font-weight: 700; }
.gdlhd-ep-name { color: #f3f4f6; font-size: .88rem; line-height: 1.3; }
.gdlhd-back-serie { margin-top: 1rem; text-align: center; }
.gdlhd-back-serie .btn { display: inline-block; padding: 1rem 2rem; border-radius: 5px; width: auto; margin-top: 0; }

/* ============================================================
   Modales
   ============================================================ */
.gdlhd-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1rem;
}
.gdlhd-modal-overlay.open { display: flex; }
.gdlhd-modal {
    position: relative;
    background: #272d40;
    border-radius: 10px;
    padding: 2rem;
    width: min(720px, 100%);
    max-height: 85vh;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.gdlhd-modal-small { width: min(440px, 100%); }
.gdlhd-modal-close {
    position: absolute;
    top: 6px; right: 12px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.gdlhd-modal-close:hover { color: orange; }
.gdlhd-modal-title { color: #f9ab00; font-size: x-large; font-weight: 700; padding-right: 2rem; }
.gdlhd-dl-group { border-top: 1px solid #3a4257; padding-top: .9rem; }
.gdlhd-dl-head { display: flex; justify-content: space-between; gap: 1rem; color: #fff; font-weight: 600; }
.gdlhd-dl-quality { color: #f9ab00; }
.gdlhd-dl-meta { color: #9ca3af; font-weight: 400; font-size: .9rem; }
.gdlhd-dl-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.gdlhd-dl-links .btn {
    padding: .5rem 1rem;
    border-radius: 5px;
    background: #11121d;
    color: #fff;
    font-weight: 600;
    font-size: .88rem;
    margin-top: 0;
    width: auto;
}
.gdlhd-dl-links .btn:hover { background: #0a0d14; }

.gdlhd-report-form { display: flex; flex-direction: column; gap: .45rem; }
.gdlhd-report-form label { color: #fff; font-size: .92rem; }
.gdlhd-report-form input,
.gdlhd-report-form select,
.gdlhd-report-form textarea {
    background: #1d2231;
    color: #fff;
    border-radius: 5px;
    padding: .55rem .7rem;
    outline: none;
    width: 100%;
}
.gdlhd-report-form textarea { min-height: 90px; resize: vertical; }
.gdlhd-report-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .4rem; }
.gdlhd-report-actions .btn { padding: .6rem 1.1rem; border-radius: 5px; font-weight: 700; margin-top: 0; width: auto; }
.gdlhd-btn-cancel { background: #dd3832; color: #fff; }
.gdlhd-btn-cancel:hover { background: red; }
.gdlhd-report-msg { margin-top: .4rem; color: #9ca3af; font-size: .9rem; }

/* ============================================================
   Ajustes responsive
   ============================================================ */
@media (max-width: 900px) {
    .gdlhd-episodes { padding: 1rem; }
    .gdlhd-modal { padding: 1.4rem; }
    .category-nav { gap: 6px; }
    .category-nav .cat-btn { padding: 6px 8px; font-size: .85rem; }
}

/* Paste View */
.paste-view-title-container { margin: 24px 0 0; color: #6b6375; display: flex; gap: 8px; }
.paste-view-title { font-size: 24px; color: #fff; margin: 0; }
.paste-view-content { margin-top: 1.25rem; }
.tab { background: #040511; color: #f19102; padding: 10px 14px 0; border-radius: 10px 10px 0 0; display: inline-block; }
.tab-content { background: #040511; padding: 20px 22px; border-radius: 0 10px 10px 10px; color: #fff; }
body.page-template-page-paste .wrapper { padding-bottom: 3rem; }
/* El marcado lleva saltos de línea entre bloques; con flex se ignoran y se
   evita el hueco vertical que generan las líneas de texto vacías. */
.paste-view-embed { display: flex; flex-direction: column; align-items: flex-start; }
.paste-view-embed .gdlhd-paste-provider { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.paste-view-embed .gdlhd-paste-provider > div { display: flex; flex-direction: column; gap: 3px; }
.paste-view-embed .gdlhd-paste-provider > div + div { margin-top: 6px; padding-top: 12px; border-top: 1px solid #1c2233; }
.paste-view-embed .gdlhd-paste-provider + .gdlhd-paste-provider { margin-top: 6px; padding-top: 14px; border-top: 1px solid #1c2233; }
.gdlhd-paste-link,
.gdlhd-paste-magnet { background: #2a3350 !important; border: 1px solid #3b4666; color: #fff !important; font-family: inherit; }
.gdlhd-paste-link:hover,
.gdlhd-paste-magnet:hover { background: #f9ab00 !important; border-color: #f9ab00; color: #11121d !important; }
.password-container { border: 1px solid orange; border-radius: 5px; padding: 16px; margin: 32px 0; display: flex; align-items: center; gap: 16px; color: #fff; }
.holder { background: rgba(0,0,0,.2); padding: 8px 16px; border-radius: 5px; border: 1px solid #10111c; display: flex; align-items: center; gap: 10px; }
.password-container .lock { color: orange; font-size: 20px; }
.password-container .copy { cursor: pointer; color: #9ca3af; }
.views { color: #9ca3af; display: block; margin-top: 10px; }


/* Skeleton paginación AJAX */
.skeleton-item { pointer-events: none; }
.skeleton-card {
    width: 100%;
    aspect-ratio: 2/3;
    background: linear-gradient(90deg, #1a1b2e 25%, #252640 50%, #1a1b2e 75%);
    background-size: 200% 100%;
    animation: gdlhd-shimmer 1.4s infinite;
    border-radius: 6px;
}
.skeleton-title {
    height: 14px;
    margin-top: 6px;
    border-radius: 4px;
    background: linear-gradient(90deg, #1a1b2e 25%, #252640 50%, #1a1b2e 75%);
    background-size: 200% 100%;
    animation: gdlhd-shimmer 1.4s infinite;
    width: 70%;
}
@keyframes gdlhd-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Página /pedido (Área de pedidos) */
.gdlhd-pedido { margin-top: 1rem; }
.gdlhd-pedido-card {
    background: #1b1f2e;
    border: 1px solid #2e303a;
    border-radius: 12px;
    padding: 3.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.4), 0 4px 6px -2px rgba(0,0,0,.25);
}
.gdlhd-pedido-card svg { color: #f9ab00; margin-bottom: 1rem; }
.gdlhd-pedido-card h1 { color: #f3f4f6; font-size: 1.7rem; font-weight: 700; margin: 0 0 .6rem; line-height: 1.2; }
.gdlhd-pedido-card p { color: #9ca3af; margin: 0; }
@media (max-width: 600px) {
    .gdlhd-pedido-card { padding: 2.5rem 1rem; }
    .gdlhd-pedido-card h1 { font-size: 1.35rem; }
}

/* Modal VIP: sin enlaces, sin scroll */
#gdlhd-vip-modal .gdlhd-modal { overflow: hidden; }

/* Chat flotante: pegado a la esquina inferior derecha (ya no hay boton de Telegram debajo) */
#cctv-chat-widget { bottom: 24px; right: 24px; }
#cctv-chat-mobile-btn { bottom: 24px; right: 24px; }
@media (max-width: 480px) {
    #cctv-chat-widget { bottom: 14px; right: 14px; }
    #cctv-chat-mobile-btn { bottom: 14px; right: 14px; }
}

/* Modal de reportes: grupo de descarga + servidor caido */
.gdlhd-report-field { display: flex; flex-direction: column; gap: .35rem; }
.gdlhd-report-label { color: #fff; font-size: .92rem; }
.gdlhd-report-select {
    background: #1d2231;
    color: #fff;
    border: 1px solid #3a4257;
    border-radius: 5px;
    padding: .55rem .7rem;
    outline: none;
    width: 100%;
}
#gdlhd-report-step-4 { justify-content: flex-end; }
#gdlhd-report-msg { padding: .55rem .7rem; border-radius: 6px; }

/* Chat: fondos acordes al theme (sin azul) */
#cctv-chat-widget { background: #1b1f2e; border-color: #2e303a; }
#cctv-chat-header { background: #232838; }
#cctv-chat-mobile-btn { background: #232838; border-color: #2e303a; }
#cctv-chat-mobile-btn:hover { background: #2e303a; }
#cctv-chat-loader { background: #1b1f2e !important; }
#cctv-chat-loader-spinner { border-color: rgba(255,255,255,.15); border-top-color: #f9ab00; }
#cctv-chat-modal { background: #1b1f2e !important; }
#cctv-chat-modal-loader { background: #1b1f2e !important; }
#cctv-chat-modal-loader > div { border-top-color: #f9ab00 !important; }

/* Enlace IMDb de la ficha: texto negro */
.dynamic-post-container .info .details .details-container .imdb,
a.imdb,
.imdb { color: #000 !important; }

/* ============================================================
   FICHA DE VIDEOJUEGOS (single-games) — diseño propio
   Distinto al de películas/series/anime para no confundir.
   ============================================================ */
body.single-games .wrapper { padding-bottom: 5rem; }
.gdlhd-game-single .gdlhd-game-container { display: flex; flex-direction: column; gap: 1.6rem; }

/* Banda superior */
.gdlhd-game-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(34,197,94,.22) 0%, rgba(34,197,94,0) 55%),
        linear-gradient(135deg, #0d1a14 0%, #131722 62%);
    border: 1px solid rgba(34,197,94,.28);
    border-radius: 12px;
    padding: 22px 24px 20px;
    margin-bottom: 22px;
}
.gdlhd-game-band::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,.18) 0%, rgba(34,197,94,0) 70%);
    pointer-events: none;
}
.gdlhd-game-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #22c55e;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.gdlhd-game-kicker svg { width: 18px; height: 18px; fill: currentColor; }
.gdlhd-game-band .title {
    color: #f3f4f6;
    font-size: clamp(1.35rem, 3.2vw, 2rem);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
    margin: 10px 0 14px;
    position: relative;
    z-index: 1;
}
.gdlhd-game-band-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.gdlhd-game-band-meta span {
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.30);
    color: #a7f3c9;
    font-size: .75rem;
    font-weight: 600;
    padding: 3px 11px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Portada + ficha */
.gdlhd-game-info { gap: 22px; }
.gdlhd-game-info .poster .gdlhd-game-poster-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 6;
    background: #22c55e;
    color: #08130c;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .1em;
    padding: 3px 9px;
    border-radius: 4px;
    line-height: 1.4;
}
.gdlhd-game-info .details .gdlhd-game-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}
.gdlhd-game-info .details .gdlhd-game-details .gdlhd-game-detail {
    grid-column: auto;
    font-size: inherit;
    color: inherit;
}
.gdlhd-game-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(255,255,255,.04);
    border-left: 3px solid #22c55e;
    border-radius: 6px;
    padding: 8px 12px;
    min-width: 0;
}
.gdlhd-game-detail small {
    color: #9ca3af;
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.gdlhd-game-detail b {
    color: #e5e7eb;
    font-size: .9rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* Requisitos */
.gdlhd-game-req {
    background: #181b27;
    border: 1px solid rgba(34,197,94,.18);
    border-radius: 10px;
    padding: 18px 20px;
    margin: 6px 0 20px;
}
.gdlhd-game-sec-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f3f4f6;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin: 0 0 14px;
}
.gdlhd-game-sec-title svg { width: 18px; height: 18px; fill: #22c55e; flex-shrink: 0; }
.gdlhd-game-req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
}
.gdlhd-game-req-item {
    background: rgba(255,255,255,.04);
    border-left: 3px solid #22c55e;
    border-radius: 6px;
    padding: 9px 12px;
    min-width: 0;
}
.gdlhd-game-req-item small {
    display: block;
    color: #9ca3af;
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.gdlhd-game-req-item strong {
    color: #e5e7eb;
    font-size: .88rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* Capturas */
.gdlhd-game-media { display: block; width: 100%; max-width: 900px; margin: 0 auto; }
.gdlhd-game-media .pictures { width: 100%; }

/* Descargas */
.gdlhd-game-download-info {
    border-left: 3px solid #22c55e;
    padding-left: 18px;
}

/* Relacionados */
.gdlhd-game-related { margin-top: 30px; }
.gdlhd-game-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

@media (max-width: 768px) {
    .gdlhd-game-band { padding: 18px 16px 16px; }
    .gdlhd-game-info { gap: 16px; }
    .gdlhd-game-info .details .gdlhd-game-details { grid-template-columns: 1fr 1fr; }
    .gdlhd-game-req { padding: 14px; }
    .gdlhd-game-download-info { padding-left: 12px; }
}
@media (max-width: 480px) {
    .gdlhd-game-info { flex-direction: column; }
    .dynamic-post-container .gdlhd-game-info .poster { flex: 0 0 auto; width: 200px; max-width: 60%; }
    .gdlhd-game-info .details .gdlhd-game-details { grid-template-columns: 1fr; }
}

/* ============================================================
   GRUPOS DE DESCARGA — colores y estilos del theme
   ============================================================ */
.cctv-dl-list { gap: 16px; }
.cctv-dl-card {
    background: #181b27;
    border: 1px solid #2e303a;
    border-left: 3px solid #f9ab00;
    border-radius: 10px;
    padding: 16px 18px;
    transition: background .2s, border-color .2s;
}
.cctv-dl-card:hover {
    background: #1b1f2e;
    border-color: #3a3d4a;
    border-left-color: #f9ab00;
}
.cctv-dl-icon svg { fill: #f9ab00; opacity: .85; }
.cctv-dl-body h3 {
    color: #f9ab00;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 700;
}
.cctv-dl-meta > div { background: #11121d; border: 1px solid #2e303a; }
.cctv-dl-meta .v { color: #f3f4f6; }
.cctv-dl-meta .l { color: #9ca3af; }
.cctv-dl-card .--tr-g { background: linear-gradient(90deg, #f9ab00 0%, #ea6c0a 100%); }
.cctv-dl-card .--tr { background: #11121d; }
.cctv-dl-card .--tr-s { color: #e5e7eb; font-weight: 600; }
.cctv-dl-card .--tr-p { color: #9ca3af; }
.cctv-dl-card .--tr-dw {
    background: linear-gradient(90deg, #f9ab00 0%, #ea6c0a 100%);
    color: #11121d;
    font-weight: 700;
}
.cctv-dl-card .--tr-dw:hover { color: #11121d; filter: brightness(1.08); }
.cctv-dl-card .--tr-dw svg { fill: currentColor; }

/* ============================================================
   PORTADA DE LA FICHA EN MÓVIL — más grande y centrada
   ============================================================ */
@media (max-width: 900px) {
    .dynamic-post-container .info .poster,
    .dynamic-post-container .gdlhd-game-info .poster {
        flex: 0 0 auto;
        width: min(340px, 84%);
        max-width: 84%;
        align-self: center;
        margin: 0 auto;
    }
    .dynamic-post-container .info .poster img { width: 100%; height: auto; }
}
@media (max-width: 480px) {
    .dynamic-post-container .info .poster,
    .dynamic-post-container .gdlhd-game-info .poster {
        width: min(300px, 90%);
        max-width: 90%;
    }
}

/* Título de la ficha centrado en móvil (acompaña a la portada) */
@media (max-width: 900px) {
    .dynamic-post-container > .title { text-align: center; }
    .gdlhd-game-band { text-align: center; }
    .gdlhd-game-kicker { justify-content: center; }
    .gdlhd-game-band-meta { justify-content: center; }
}

/* Fichas de videojuegos: sin badge de contraseña en los grupos de descarga */
body.single-games .cctv-dl-provider-badge { display: none !important; }
