/* single game page customizations */
.taxonomy-image {
    display: inline-block;
    margin-right: 10px;
    text-align: center;
    position: relative;
}

.taxonomy-img {
    /*border-radius: 50%;*/
    width: 45px;
    height: 45px;
}

.jbf-container {
    --gp-single-gallery-sidebar-width: 200px;
    --gp-single-layout-gap: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--gp-single-layout-gap);
    /*margin-left: 100px;*/

}

@media (min-width: 750px) {

    .jbf-container {
        margin-left: 100px;
    }
}

.sidebar {
    min-width: 360px;
}

@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }
}

@media (min-width: 1025px) {
    .jbf-container {
        width: calc(100% - 100px);
        max-width: none;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .jbf-container>.jd-container {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - var(--gp-single-gallery-sidebar-width) - var(--gp-single-layout-gap));
        margin: 0;
    }

    #galery2.sidebar.sidebar-right {
        display: block !important;
        flex: 0 0 var(--gp-single-gallery-sidebar-width);
        width: var(--gp-single-gallery-sidebar-width);
        min-width: var(--gp-single-gallery-sidebar-width);
        align-self: stretch;
    }

    #galery2 .slide-wrapper {
        position: sticky;
        top: 88px;
    }

    #galery2 .grid-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        grid-auto-rows: auto;
        padding-right: 0;
    }

    #galery2 .grid-layout .grid-item {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    #galery2 .grid-layout .grid-item>a,
    #galery2 .grid-layout .grid-item>a>.gallery-wrapper,
    #galery2 .grid-layout .grid-item>a>.gallery-wrapper img,
    #galery2 .grid-layout .grid-item>a>.gallery-wrapper video {
        width: 100%;
        height: 100%;
    }
}

/* side bar mobile */
.unity-desktop {
    background-color: gray;
    width: 960px;
    height: 600px;
    padding: 20px;
}

.row {
    display: flex;
    flex-direction: column;
    width: 200px;
    padding: 20px;
}

.jd-widget-title,
.widgettitle {
    color: #fff;
}

.jd-comment-list li.comment div.comment-author .fn,
.jd-comment-list li.comment div.comment-author .fn a {
    color: #fff;
}

.comment-content {
    color: #fff;
}

.comment-respond {
    color: #fff;
}

.jd-comments-toggle {
    color: #fff;
    font-size: 14px;
}

#jd-reply-title {
    color: #fff;
}

textarea,
select {
    border-radius: 20px;
}

.comment-form-url {
    display: none;
}

#email {
    border-radius: 20px;
}

#author {
    border-radius: 20px;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    grid-auto-rows: minmax(150px, auto);
    grid-auto-flow: dense;
    /*padding-top: 40px;*/
    padding-right: 40px;
}

.grid-layout- {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 5px;
    grid-auto-rows: minmax(110px, auto);
    grid-auto-flow: dense;
    /*padding-top: 40px;*/
    /* padding-right: 40px;*/
}

.grid-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
}

.grid-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
}

.gallery-wrapper img,
.gallery-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease-in-out;
    display: block;
}

.gallery-wrapper.gp-animated-loading.gp-animated-active::before,
.gallery-wrapper.gp-animated-loading:hover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(16, 18, 28, 0.42);
    backdrop-filter: blur(2px);
    z-index: 3;
    pointer-events: none;
}

.gallery-wrapper.gp-animated-loading.gp-animated-active::after,
.gallery-wrapper.gp-animated-loading:hover::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 26px;
    margin: -13px 0 0 -13px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-top-color: rgba(255, 255, 255, 0.95);
    animation: gp-card-spin 0.8s linear infinite;
    z-index: 4;
    pointer-events: none;
}

.gp-game-card-grid .grid-item {
    aspect-ratio: 1 / 1;
}

.gp-game-card-grid .gallery-wrapper img,
.gp-game-card-grid .gallery-wrapper video {
    height: 100%;
}

.gallery-animated {
    opacity: 0;
    z-index: 2;
}

.gallery-wrapper.gp-animated-ready.gp-animated-active .gallery-animated,
.gallery-wrapper.gp-animated-ready:hover .gallery-animated {
    opacity: 1;
}

.gallery-wrapper.gp-animated-ready.gp-animated-active .gallery-static,
.gallery-wrapper.gp-animated-ready:hover .gallery-static {
    opacity: 0;
}

.gallery-wrapper.gp-animated-active:not(.gp-animated-ready) .gallery-static,
.gallery-wrapper:hover:not(.gp-animated-ready) .gallery-static {
    opacity: 1 !important;
}

.gallery-wrapper.gp-animated-active:not(.gp-animated-ready) .gallery-animated,
.gallery-wrapper:hover:not(.gp-animated-ready) .gallery-animated {
    opacity: 0 !important;
}

@keyframes gp-card-spin {
    to {
        transform: rotate(360deg);
    }
}

.span-2 {
    grid-column-end: span 2;
    grid-row-end: span 2;
}

@media (max-width: 576px) {
    .grid-layout {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
        gap: 10px;
        grid-auto-rows: minmax(120px, auto);
        grid-auto-flow: dense;
        padding-top: 1px;
        padding-right: 1px;
    }
}

/*card*/
.Breadcrumbs_breadcrumbs__L3mrb {
    margin-bottom: 16px;
}

.Breadcrumbs_breadcrumbs__L3mrb>div,
.Breadcrumbs_breadcrumbs__L3mrb a {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: capitalize;
    text-decoration: none;
    color: #a48eff;
}

.Breadcrumbs_breadcrumbs__L3mrb a:hover {
    color: #6842ff;
}

.Breadcrumbs_separator__yCVN1 {
    margin: 0 4px;
    color: #767a8e;
}

.GameInfo_roundedCornersContainer__D5D_p {
    background: #13141e;
    border-radius: 16px;
    padding: 24px;
}

.GameInfo_containerWithPadding__z9aMp {
    display: grid;
    gap: 18px;
}

.GameInfo_topBar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.GameInfo_heading {
    display: grid;
    gap: 10px;
    min-width: 0;
    flex: 1 1 320px;
}

.GameInfo_title {
    color: #fff !important;
    margin: 0 !important;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.05;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.GameInfo_ratingStars {
    position: relative;
    display: inline-flex;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 4px;
}

.GameInfo_ratingStarsBase,
.GameInfo_ratingStarsFill {
    display: block;
    white-space: nowrap;
}

.GameInfo_ratingStarsBase {
    color: rgba(255, 255, 255, 0.18);
}

.GameInfo_ratingStarsFill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #ffd84d;
    filter: drop-shadow(0 2px 6px rgba(255, 216, 77, 0.28));
}

.GameInfo_ratingValue {
    color: #ffd84d;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.03em;
}

/* Hide plugin bar inside the game container */
.webgl-game-container .custom-bar {
    display: none !important;
}

/* Theme custom bar */
.gp-custom-bar {
    display: none;
    --gp-custom-bar-button-height: 36px;
    --gp-custom-bar-reaction-min-width: 30px;
    --gp-custom-bar-fullscreen-width: 44px;
    --gp-custom-bar-button-gap: 8px;
    width: 100%;
    min-width: 457px;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    height: 65px;
    min-height: 65px;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 0px;
    padding: 4px 10px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(19, 20, 30, 0.98) 0%, rgba(14, 15, 24, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.gp-custom-bar.is-visible {
    display: flex;
}

body.single .jd-post-content- .gp-custom-bar.is-visible~.jd-ad,
body.single .jd-post-content- .gp-custom-bar.is-visible+.jd-ad {
    margin-top: 20px;
}

.gp-custom-bar .custom-bar-game-title {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 15px;
    overflow: hidden;
    color: #f4f6ff;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gp-custom-bar .custom-bar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    gap: var(--gp-custom-bar-button-gap);
    margin-right: 10px;
    flex-wrap: nowrap;
    height: 100%;
    min-height: 100%;
    position: relative;
    top: 0;
}

.gp-custom-bar .kodex_buttons {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    align-self: center;
    flex-wrap: nowrap !important;
    height: var(--gp-custom-bar-button-height);
    width: auto !important;
    gap: var(--gp-custom-bar-button-gap);
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    position: relative;
    top: 0;
}

.gp-custom-bar .kodex_buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--gp-custom-bar-button-height);
    height: var(--gp-custom-bar-button-height);
    min-width: var(--gp-custom-bar-reaction-min-width);
    margin: 0 !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    line-height: 1 !important;
    font-size: 10px !important;
    box-shadow: none !important;
}

.gp-custom-bar .kodex_buttons button .icon,
.gp-custom-bar .kodex_buttons button .counter {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

.gp-custom-bar .kodex_buttons button .icon {
    width: 16px;
    min-width: 16px;
    font-size: 16px !important;
}

.gp-custom-bar .kodex_buttons button .counter {
    min-width: 20px;
    height: 20px;
    padding: 0 5px !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 12px !important;
    font-weight: 800 !important;
}

.gp-custom-bar .kodex_buttons .kodex_like_button {
    justify-content: center;
    width: 80px;
    min-width: 80px;
    padding: 0 10px !important;
    background: #183126 !important;
    border-color: rgba(89, 220, 153, 0.22) !important;
}

.gp-custom-bar .kodex_buttons .kodex_dislike_button {
    justify-content: center;
    width: 80px;
    min-width: 80px;
    padding: 0 10px !important;
    background: #341a21 !important;
    border-color: rgba(255, 140, 160, 0.16) !important;
}

.gp-custom-bar .kodex_buttons button:hover {
    border-color: rgba(255, 255, 255, 0.14) !important;
    filter: brightness(1.06);
}

.gp-custom-bar .kodex_buttons .kodex_like_button:hover,
.gp-custom-bar .kodex_buttons .kodex_like_button.kodex_button_active {
    background: #1f3d30 !important;
    border-color: rgba(89, 220, 153, 0.3) !important;
}

.gp-custom-bar .kodex_buttons .kodex_dislike_button:hover,
.gp-custom-bar .kodex_buttons .kodex_dislike_button.kodex_button_active {
    background: #44212a !important;
    border-color: rgba(255, 140, 160, 0.24) !important;
}

.gp-custom-bar .gp-fullscreen-controls {
    display: inline-flex;
    align-items: center;
    align-self: center;
    height: var(--gp-custom-bar-button-height);
    gap: 6px;
    z-index: 1002;
    position: relative;
    top: 0;
}

.gp-fullscreen-controls.gp-floating {
    position: fixed;
    top: 16px;
    right: 0;
    width: 50px;
    height: 35px;
    padding-top: 7px;
    padding-left: 5px;
    gap: 0;
    border-radius: 20px 0 0 20px;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    cursor: grab;
    justify-content: center;
    align-items: center;
    backdrop-filter: none;
    touch-action: none;
}

.gp-fullscreen-controls.gp-floating.gp-dragging {
    cursor: grabbing;
}

.gp-custom-bar .fullscreen-btn-barra {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: var(--gp-custom-bar-fullscreen-width);
    width: var(--gp-custom-bar-fullscreen-width);
    min-height: var(--gp-custom-bar-button-height);
    height: var(--gp-custom-bar-button-height);
    padding: 0;
    background: linear-gradient(180deg, #2b395d 0%, #1d2740 100%);
    border: 1px solid rgba(110, 156, 255, 0.16);
    transition: transform 0.2s ease, filter 0.2s ease;
    border-radius: 8px;
    color: #f4f6ff;
}

.gp-custom-bar .fullscreen-btn-barra:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.gp-custom-bar .fullscreen-btn-barra i {
    font-size: 18px;
}

.gp-fullscreen-controls.gp-floating .fullscreen-btn-barra {
    min-width: 100%;
    width: 100%;
    min-height: 100%;
    height: 100%;
    padding: 0;
    border: none;
    border-radius: 20px 0 0 20px;
    background: transparent;
    box-shadow: none;
    color: #1d2740;
}

.gp-fullscreen-controls.gp-floating .fullscreen-btn-barra i {
    font-size: 22px;
    color: #1d2740;
}

.pregame-thumbnail {
    text-align: center;
    margin-bottom: 10px;
}

#pregame-padding > .pregame-clicky {
    position: absolute;
    left: 0;
    right: auto;
    top: calc(50% + 104px);
    bottom: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
    text-align: center;
    z-index: 3;
    transform: none;
}

#pregame-padding > .pregame-clicky .load-game-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 180px;
    max-width: 180px;
    padding: 8px 12px;
    font-size: 16px;
}

.configuration-controls {
    display: none !important;
}

.configuration-controls.is-visible {
    display: flex !important;
}

@media (max-width: 962px) {
    .gp-custom-bar {
        --gp-custom-bar-button-height: 28px;
        --gp-custom-bar-reaction-min-width: 24px;
        --gp-custom-bar-fullscreen-width: 44px;
        --gp-custom-bar-button-gap: 6px;
        min-width: 0;
        padding: 4px 9px;
    }

    body.single .jd-post-content- .gp-custom-bar.is-visible~.jd-ad,
    body.single .jd-post-content- .gp-custom-bar.is-visible+.jd-ad {
        margin-top: 12px;
    }

    .gp-custom-bar .custom-bar-actions {
        margin-right: 0;
    }

    .gp-custom-bar .custom-bar-game-title {
        margin-left: 0;
        font-size: 13px;
    }

    .gp-custom-bar .kodex_buttons button {
        min-width: var(--gp-custom-bar-reaction-min-width);
        min-height: var(--gp-custom-bar-button-height);
        height: var(--gp-custom-bar-button-height);
        padding: 0 3px !important;
    }
}

@media (max-width: 576px) {
    .GameInfo_roundedCornersContainer__D5D_p {
        padding: 10px;
    }

    .GameInfo_containerWithPadding__z9aMp {
        gap: 6px;
    }

    .GameInfo_topBar {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin: 0;
        padding: 0;
    }

    .GameInfo_heading {
        display: flex;
        flex-direction: column;
        row-gap: 3px;
        gap: 3px;
        padding: 0;
        margin: 0;
    }

    .GameInfo_title {
        font-size: 24px;
        line-height: 1.04;
        margin: 0;
        padding: 0;
    }

    .rating-container {
        gap: 5px;
        line-height: 1;
        padding: 0;
        margin: 0;
    }

    .GameInfo_ratingStars {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .GameInfo_ratingValue {
        font-size: 15px;
    }

    .gp-custom-bar {
        --gp-custom-bar-button-height: 26px;
        --gp-custom-bar-reaction-min-width: 22px;
        --gp-custom-bar-fullscreen-width: 32px;
        --gp-custom-bar-button-gap: 4px;
        height: 52px;
        min-height: 52px;
        padding: 3px 8px;
        gap: 6px;
    }

    .gp-custom-bar .custom-bar-game-title {
        font-size: 11px;
    }

    .gp-custom-bar .kodex_buttons {
        transform: translateY(0);
    }

    .gp-custom-bar .kodex_buttons button {
        min-width: var(--gp-custom-bar-reaction-min-width);
        min-height: var(--gp-custom-bar-button-height);
        height: var(--gp-custom-bar-button-height);
        padding: 0 3px !important;
        font-size: 9px !important;
    }

    .gp-custom-bar .kodex_buttons button .icon {
        width: 10px;
        min-width: 10px;
        font-size: 10px !important;
    }

    .gp-custom-bar .kodex_buttons button .counter {
        min-width: 12px;
        height: 12px;
        font-size: 8px !important;
    }

    .gp-custom-bar .fullscreen-btn-barra {
        min-width: var(--gp-custom-bar-fullscreen-width);
        width: var(--gp-custom-bar-fullscreen-width);
        min-height: var(--gp-custom-bar-button-height);
        height: var(--gp-custom-bar-button-height);
        border-radius: 7px;
    }

    .gp-custom-bar .fullscreen-btn-barra i {
        font-size: 14px;
    }

    .gp-fullscreen-controls.gp-floating {
        top: 16px;
        right: 0;
        padding: 5px;
        gap: 5px;
    }

    .gp-fullscreen-controls.gp-floating .fullscreen-btn-barra {
        min-width: 22px;
        width: 22px;
        height: 20px;
        border-radius: 6px;
    }

    .gp-fullscreen-controls.gp-floating .fullscreen-btn-barra i {
        font-size: 18px;
    }
}

.single .kodex_buttons,
body.single .kodex_buttons {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 0 !important;
    padding: 14px !important;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(24, 27, 42, 0.96) 0%, rgba(17, 19, 31, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    text-align: left !important;
}

.single .kodex_buttons button,
body.single .kodex_buttons button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 112px;
    min-height: 46px;
    margin: 0 !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.single .kodex_buttons button .icon,
body.single .kodex_buttons button .icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    width: 18px;
    min-width: 18px;
    padding: 0 !important;
    font-size: 18px !important;
}

.single .kodex_buttons button .icon:before,
body.single .kodex_buttons button .icon:before {
    line-height: 1;
}

.single .kodex_buttons button .counter,
body.single .kodex_buttons button .counter {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    min-width: 26px;
    height: 26px;
    padding: 0 8px !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px !important;
    font-weight: 800 !important;
}

.single .kodex_buttons .kodex_like_button,
body.single .kodex_buttons .kodex_like_button {
    background: linear-gradient(180deg, #1f6b45 0%, #144630 100%) !important;
    border-color: rgba(77, 218, 145, 0.32) !important;
    color: #f5fff9 !important;
}

.single .kodex_buttons .kodex_dislike_button,
body.single .kodex_buttons .kodex_dislike_button {
    background: linear-gradient(180deg, #5a2530 0%, #3b1820 100%) !important;
    border-color: rgba(255, 128, 149, 0.24) !important;
    color: #fff7f9 !important;
}

.single .kodex_buttons button:hover,
body.single .kodex_buttons button:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.single .kodex_buttons button.kodex_button_active,
body.single .kodex_buttons button.kodex_button_active {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 16px 30px rgba(0, 0, 0, 0.24);
}

/* Keep custom-bar buttons independent from the larger single-page Kodex styles */
.single .gp-custom-bar .kodex_buttons,
body.single .gp-custom-bar .kodex_buttons {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    align-self: center;
    flex-wrap: nowrap !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    top: 0;
}

.single .gp-custom-bar .kodex_buttons button,
body.single .gp-custom-bar .kodex_buttons button {
    gap: 8px;
    min-width: 28px;
    min-height: var(--gp-custom-bar-button-height);
    height: var(--gp-custom-bar-button-height);
    padding: 0 8px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.single .gp-custom-bar .kodex_buttons button .icon,
body.single .gp-custom-bar .kodex_buttons button .icon {
    width: 16px;
    min-width: 16px;
    font-size: 16px !important;
}

.single .gp-custom-bar .kodex_buttons button .counter,
body.single .gp-custom-bar .kodex_buttons button .counter {
    min-width: 20px;
    height: 20px;
    padding: 0 5px !important;
    font-size: 12px !important;
}

.GameInfo_gameUnderTitle__EyUXF {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0;
}

.GameMetaPill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(164, 142, 255, 0.24);
    background: linear-gradient(180deg, rgba(40, 42, 64, 0.96) 0%, rgba(26, 28, 44, 0.96) 100%);
    color: #f4f6ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.GameMetaPill_label {
    color: #8d93ad;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.GameMetaPill_value {
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

.GameInfo_styledDevName__MnwFN {
    color: #a48eff;
    font-weight: 700;
    cursor: pointer;
}

.GameInfo_styledDevName__MnwFN:hover {
    color: #6842ff;
}

.Button_czyButton__y8IRs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 800;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background 0.25s ease;
    height: 42px;
    min-width: 120px;
    user-select: none;
    white-space: nowrap;
}

.Button_czyButton__y8IRs svg {
    width: 18px;
    height: 18px;
    margin-right: 0;
    flex: 0 0 18px;
    fill: currentColor;
}

.Button_czyButton--contained--grey__sz05o {
    background: #373952;
    color: #f9faff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.Button_czyButton--contained--grey__sz05o:active {
    background: rgba(55, 57, 82, 0.7);
}

@media (hover: hover) {
    .Button_czyButton--contained--grey__sz05o:hover {
        background: #2f3148;
    }
}

.GameSummary_gameTableRow__9i4Mt {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    min-height: 29px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.GameSummary_gameTableRowHeader__qmvU_ {
    color: #767a8e;
    width: auto;
    text-align: left;
    font-size: 17px;
    font-weight: 400;
}

.GameSummary_gameTableRowHeader__qmvU_ p {
    margin: 0;
    line-height: 1.7;
}

.GameSummary_gameTableRowContent__RW5fE {
    display: flex;
    align-items: center;
    color: #e5e6ee;
    font-weight: 700;
    justify-content: flex-end;
}

.GameSummary_gameTableRowLabel__U7f1r {
    color: #8d93ad;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.GameTags_gameTagChipContainer__F5xPO {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.TagGrid_tagPillContainer__rY0CY {
    display: flex;
    align-items: center;
    background: #212233;
    padding: 0 16px;
    height: 38px;
    border-radius: 8px;
    max-width: 100%;
    width: 300px;
    transition: background-color 0.2s ease-in;
}

.TagGrid_tagPillContainer__rY0CY p {
    color: #e5e6ee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    margin: 0;
}

.TagGrid_tagPillContainer__rY0CY span {
    color: #a48eff;
    padding-left: 8px;
}

.TagGrid_tagPillContainer__rY0CY:hover {
    background: #492eb3;
}

/* === Responsivo === */
@media (max-width: 768px) {
    .GameInfo_roundedCornersContainer__D5D_p {
        padding: 18px;
        border-radius: 14px;
    }

    .GameInfo_topBar {
        flex-direction: column;
        align-items: stretch;
    }

    .GameInfo_heading {
        flex: 0 0 auto;
        width: 100%;
    }

    .GameInfo_gameUnderTitle__EyUXF {
        justify-content: flex-start;
    }

    .GameMetaPill,
    .Button_czyButton__y8IRs {
        width: 100%;
        justify-content: center;
    }

    .single .kodex_buttons,
    body.single .kodex_buttons {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 10px;
        padding: 12px !important;
    }

    .single .kodex_buttons button,
    body.single .kodex_buttons button {
        width: 100%;
        min-width: 0;
    }

    .GameSummary_gameTableRow__9i4Mt {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .GameSummary_gameTableRowContent__RW5fE {
        justify-content: flex-start;
    }

    .taxonomy-images {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .grid-layout {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 16px;
    }

    .gallery-wrapper img {
        width: 100%;
        height: auto;
    }

    .pregame-clicky {
        margin-top: 1px !important;
        margin-bottom: 1px !important;
    }
}

.jd-post-content- {
    width: 100%;
}

header {
    background: #1A2236;
    height: 70px;
}

#jd-footer {
    background: #1A2236;
}

#jd-featured .post-1 .jd-post {
    border-radius: 30px;
    margin-top: 10px;
}

.jd-post .title a {
    text-align: center;
}

@media only screen and (max-width: 768px) {
    #jd-featured .post-1 {
        margin: 10;
    }

    .jd-loop-posts {
        display: flex;
        flex-flow: wrap;
    }

    #jd-trending-posts {
        display: flex;
        flex-flow: wrap;
    }

    #jd-latest-posts {
        display: flex;
        flex-flow: wrap;
    }

    #jd-latest-posts .jd-post {
        width: 45%;
        margin: 0 3.5%;
    }

    #jd-latest-posts .jd-picture {
        border-radius: 10px;
    }

    #jd-latest-posts .jd-post .title a {
        font-size: small;
    }

    #jd-trending-posts .jd-post {
        width: 45%;
        margin: 0 3.5%;
    }

    #jd-trending-posts .jd-picture {
        border-radius: 10px;
    }

    #jd-trending-posts .jd-post .title a {
        font-size: small;
    }
}

#jd-latest-posts .jd-post {
    width: calc(100% / 4) !important;
}

#jd-trending-posts .jd-post {
    width: calc(100% / 4) !important;
}

.jd-post {
    position: relative;
}

.jd-picture- {
    position: relative;
    width: 100%;
    padding-top: 40%;
    /* Ajuste a proporção para tornar o slide mais fino */
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 30px;
}

.swiper-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
}

.swiper-pagination-bullet-active {
    background: #fff !important;
}


#sidebar-desktop {
    width: 180px;
    min-height: calc(100vh - 1px);
    background-color: #111111;
    transform: translateX(-110px);
    padding: 0;
    margin: 0;
    position: fixed;
    left: 0;
    top: 0px;
    padding-top: 84px;
    display: block;
    z-index: 999 !important;
    font-size: 17px;
}

#sidebar-desktop:hover {
    transform: translateX(0);
    transition: .5s;
}

#sidebar-desktop:hover ul li {
    position: relative;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 65px;
}

#sidebar-desktop:hover ul li img {
    left: 20px;
}

#sidebar-desktop:hover ul li span {
    opacity: 1;
    visibility: visible;
}

#sidebar-desktop ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#sidebar-desktop ul li {
    margin-bottom: 10px;
    position: relative;
    height: 55px;
    cursor: pointer;
}

#sidebar-desktop ul li span {
    opacity: 0;
    visibility: hidden;
}

#sidebar-desktop ul li img {
    width: 30px;
    height: auto;
    position: absolute;
    right: 7px;
    top: 10px;
}

#sidebar-desktop ul li a {
    text-decoration: none !important;
    color: white !important;
}

#sidebar-desktop ul li a:hover {
    color: white;
    text-decoration: none;
}

@media only screen and (max-width: 768px) {
    #sidebar-desktop {
        display: none !important;
    }

    .banner-wrapper .banner-wrap {
        background-color: #111111
    }

    .banner-wrapper .slide-wrapper {
        padding: 0 50px 30px;
        background-color: #111111;
    }

    .banner-wrapper .slide-wrapper:after {
        background: linear-gradient(to top, #111111, transparent);
    }

    .banner-wrapper .right-wrap:after {
        background: linear-gradient(to right, #111111, transparent);
    }

    body {
        background-color: #1A2236;
        color: white;
        /* padding: 30px;
            text-align: center;*/
    }
}


.taxonomy-images {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    /* permite scroll horizontal se precisar */
    align-items: center;

}

.taxonomy-images .taxonomy-image {
    flex: 0 0 auto;
    width: auto;
}

.taxonomy-images .taxonomy-image a {
    display: block;
    position: relative;
    padding: 8px;
    border-radius: 16px;
    background: #1b1d2c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.taxonomy-images .taxonomy-image a:hover {
    transform: translateY(-2px);
    border-color: rgba(164, 142, 255, 0.35);
    background: #22253a;
}

.taxonomy-images .taxonomy-img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    object-fit: cover;
}

.post-count-badge {
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(104, 66, 255, 0.35);
    font-weight: 800;
    font-size: 11px !important;
}

/* Keep More games and Your last games on the exact same card component */
.gp-game-card-grid,
.gp-single-related-games-grid {
    --gp-related-card-min: 148px;
    --gp-related-card-max: 176px;
    --gp-related-gap: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--gp-related-card-min), var(--gp-related-card-max)));
    gap: var(--gp-related-gap);
    justify-content: start;
    padding-right: 0;
}

.gp-game-card-grid .grid-item {
    aspect-ratio: 1 / 1;
}

.gp-game-card-grid .gallery-wrapper {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
}

.gp-game-card-grid .gallery-wrapper img,
.gp-game-card-grid .gallery-wrapper video {
    width: 100%;
    height: 100%;
}

/* Force More games and Your last games to share the exact same layout behavior */
.gp-single-related-games-grid {
    grid-auto-rows: 1fr;
    align-items: stretch;
}

.gp-single-related-games-grid>.grid-item {
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
}

.gp-single-related-games-grid>.grid-item>a {
    display: block;
    width: 100%;
    height: 100%;
}

.gp-single-related-games-grid>.grid-item>a>.gallery-wrapper {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
}

.gp-single-related-games-grid>.grid-item>a>.gallery-wrapper img,
.gp-single-related-games-grid>.grid-item>a>.gallery-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 576px) {
    .gp-game-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px;
        padding-top: 1px;
        padding-right: 1px;
    }

    .gp-single-related-games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px;
        padding-top: 1px;
        padding-right: 1px;
    }
}

/* Final override after all generic grid rules */
.gp-single-related-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--gp-related-card-min), var(--gp-related-card-max))) !important;
    gap: var(--gp-related-gap) !important;
    justify-content: start !important;
    padding-right: 0 !important;
    grid-auto-rows: 1fr;
    grid-auto-flow: row;
    align-items: stretch;
}

.gp-single-related-games-grid>.grid-item {
    width: 100% !important;
    min-width: 0;
    aspect-ratio: 1 / 1;
    display: block;
}

.gp-single-related-games-grid>.grid-item>a,
.gp-single-related-games-grid>.grid-item>a>.gallery-wrapper,
.gp-single-related-games-grid>.grid-item>a>.gallery-wrapper img,
.gp-single-related-games-grid>.grid-item>a>.gallery-wrapper video {
    width: 100% !important;
    height: 100% !important;
}

.gp-single-related-games-grid>.grid-item>a>.gallery-wrapper {
    aspect-ratio: 1 / 1;
}

.gp-single-related-games-grid>.grid-item>a>.gallery-wrapper img,
.gp-single-related-games-grid>.grid-item>a>.gallery-wrapper video {
    object-fit: cover;
}

@media (min-width: 1500px) {
    .gp-game-card-grid,
    .gp-single-related-games-grid {
        --gp-related-card-min: 144px;
        --gp-related-card-max: 164px;
        --gp-related-gap: 12px;
    }
}

@media (max-width: 576px) {
    .gp-single-related-games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding-top: 1px;
        padding-right: 1px !important;
    }
}
