html.gx-game-preview,
html.gx-game-preview body {
    background: #02050d !important;
    color: #f7f8ff !important;
}

html.gx-game-preview body {
    overflow-x: hidden;
}

.gx-game-nav-shell {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    min-height: 0 !important;
    height: 0;
    overflow: visible;
    background: transparent !important;
    pointer-events: none;
}

.gx-game-nav-shell .gx-header,
.gx-game-nav-shell .gx-left-sidebar {
    pointer-events: auto;
}

.gx-game-nav-shell .gx-header {
    position: relative;
}

.gx-game-nav-shell .gx-left-sidebar {
    position: fixed;
    top: 84px;
    left: 10px;
}

html.gx-game-preview #main-content {
    width: min(100%, 1600px);
    margin: 0 auto !important;
    padding: 88px 20px 42px 88px !important;
}

html.gx-game-preview.gx-sidebar-hidden #main-content {
    padding-left: 20px !important;
}

.gx-game-page-grid,
.gx-game-lower-layout {
    width: 100%;
    max-width: 1480px;
    margin-inline: auto;
}

.gx-game-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) calc(var(--gx-game-width) * 2 + 24px);
    gap: 14px;
    align-items: start;
}

.gx-game-lower-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) calc(var(--gx-game-width) * 2 + 24px);
    gap: 14px;
    align-items: start;
    margin-top: 14px;
}

.gx-game-main-column {
    min-width: 0;
}

.gx-play-stage,
.gx-play-summary,
.gx-play-below {
    width: 100%;
}

.gx-play-stage {
    position: relative;
    height: clamp(280px, 23.5vw, 338px);
    min-height: 0;
    overflow: hidden;
    border: 1px solid #3f236e;
    border-radius: 12px;
    background: #050815;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(0, 225, 255, .04);
    isolation: isolate;
}

.gx-play-hero-media,
.gx-play-hero-media > img,
#gm-play-preview-video,
.gx-play-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.gx-play-hero-media > img,
#gm-play-preview-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.gx-play-hero-media > img {
    transition: opacity .18s ease, object-position .28s ease, transform .28s ease;
}

#gm-play-preview-video {
    z-index: 1;
}

#gm-play-preview-video video {
    background: #050815;
    opacity: 0;
    transition: opacity .18s ease;
}

.gx-play-hero-media.gm-preview-playing > img {
    opacity: 0;
}

.gx-play-hero-media.gm-preview-playing #gm-play-preview-video video {
    opacity: 1;
}

.gx-play-shade {
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(2, 4, 12, .92) 0, rgba(2, 4, 12, .62) 32%, rgba(2, 4, 12, .08) 74%),
        linear-gradient(0deg, rgba(2, 4, 12, .86) 0, transparent 44%),
        radial-gradient(circle at 76% 42%, transparent 0, rgba(2, 4, 12, .12) 55%, rgba(2, 4, 12, .5) 100%);
    pointer-events: none;
}

.gx-play-breadcrumb {
    position: absolute;
    z-index: 5;
    top: 17px;
    left: 22px;
    display: flex;
    max-width: calc(100% - 44px);
    align-items: center;
    gap: 8px;
    overflow: hidden;
    color: #d8d9eb;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.gx-play-breadcrumb a {
    color: #d8d9eb;
}

.gx-play-breadcrumb a:hover {
    color: #00e7ff;
}

.gx-play-breadcrumb span[aria-current="page"] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.gx-play-hero-copy {
    position: absolute;
    z-index: 5;
    top: 54px;
    left: clamp(30px, 3.3vw, 46px);
    display: flex;
    align-items: flex-start;
    gap: clamp(18px, 2vw, 28px);
    max-width: min(780px, 76%);
}

.gx-speed-mark {
    position: relative;
    display: grid;
    flex: 0 0 84px;
    width: 84px;
    height: 68px;
    place-items: center;
    align-content: center;
    border-top: 5px solid #fff;
    border-right: 5px solid #fff;
    border-left: 5px solid #ffc31a;
    border-radius: 56px 56px 0 0;
    color: #fff;
    filter: drop-shadow(0 0 12px rgba(255, 195, 26, .18));
}

.gx-speed-mark:before,
.gx-speed-mark:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 17px;
    transform-origin: 0 50%;
}

.gx-speed-mark:before {
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: #ffc31a;
    transform: rotate(-28deg);
    box-shadow: 0 0 8px rgba(255, 195, 26, .75);
}

.gx-speed-mark:after {
    width: 8px;
    height: 8px;
    margin: 0 0 -3px -4px;
    border-radius: 50%;
    background: #fff;
}

.gx-speed-mark > i {
    display: none;
}

.gx-speed-mark > b {
    position: absolute;
    bottom: -7px;
    color: #ffc31a;
    font: 900 15px/1 Arial, sans-serif;
}

.gx-play-hero-copy strong {
    display: block;
    max-width: 650px;
    color: #ffc31a;
    font: italic 950 clamp(31px, 3.2vw, 46px)/.93 Arial, sans-serif;
    letter-spacing: -1.3px;
    text-transform: uppercase;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .8);
}

.gx-play-hero-copy strong::first-line {
    color: #fff;
}

.gx-play-hero-copy strong:after {
    content: "";
    display: inline-block;
    width: 68px;
    height: 3px;
    margin-left: 12px;
    background: linear-gradient(90deg, #ffc31a 0 70%, transparent 70% 78%, #ffc31a 78% 100%);
    box-shadow: 0 7px 0 -1px rgba(255, 195, 26, .72);
    vertical-align: .35em;
    transform: skewX(-28deg);
}

.gx-play-hero-tags,
.gx-play-summary-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.gx-play-hero-tags {
    margin-top: 9px;
    margin-left: -112px;
}

.gx-play-hero-tags > a,
.gx-play-hero-tags .gm-game-tag-button,
.gx-play-summary-tags > a,
.gx-play-summary-tags .gm-game-tag-button {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 3px 11px;
    border: 1px solid #5e4c85;
    border-radius: 8px;
    background: rgba(9, 8, 26, .68);
    color: #e5e5ef;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    backdrop-filter: blur(7px);
}

.gx-play-hero-tags .gm-game-tag-button:nth-child(n+4),
.gx-play-summary-tags .gm-game-tag-button:nth-child(n+4) {
    display: none;
}

.gx-play-hero-tags .gm-game-tags-fact,
.gx-play-summary-tags .gm-game-tags-fact,
.gx-play-hero-tags .gm-game-tag-buttons,
.gx-play-summary-tags .gm-game-tag-buttons {
    display: contents;
}

.gx-play-hero-tags .gm-game-tags-fact dt,
.gx-play-summary-tags .gm-game-tags-fact dt {
    display: none;
}

.gx-primary-play {
    display: inline-flex;
    min-width: 218px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 17px;
    margin-top: 12px;
    margin-left: -112px;
    padding: 12px 30px;
    border: 0;
    border-radius: 30px;
    background: linear-gradient(105deg, #7a29ff 0, #c226f5 48%, #00dff2 100%);
    color: #fff;
    font: 900 19px/1 Arial, sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 24px rgba(125, 45, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .38);
    transition: transform .16s ease, filter .16s ease;
}

.gx-primary-play:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.gx-play-gallery {
    position: absolute;
    z-index: 5;
    right: 14px;
    bottom: 8px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gx-play-gallery-track {
    display: flex;
    flex: 1;
    gap: 10px;
    overflow: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.gx-play-gallery-track::-webkit-scrollbar {
    display: none;
}

.gx-play-gallery-track > button {
    position: relative;
    flex: 0 0 clamp(106px, 10.4vw, 142px);
    height: 60px;
    overflow: hidden;
    padding: 0;
    border: 1px solid #3c4e75;
    border-radius: 6px;
    background: #090d19;
    cursor: pointer;
    opacity: .84;
    transition: opacity .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.gx-play-gallery-track > button:hover,
.gx-play-gallery-track > button.is-active {
    border-color: #00dff2;
    opacity: 1;
    box-shadow: 0 0 14px rgba(0, 223, 242, .3);
    transform: translateY(-1px);
}

.gx-play-gallery-track img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gx-play-gallery-track > button:nth-child(2) img { object-position: 25% 50%; transform: scale(1.18); }
.gx-play-gallery-track > button:nth-child(3) img { object-position: 75% 50%; transform: scale(1.18); }
.gx-play-gallery-track > button:nth-child(4) img { object-position: 50% 30%; transform: scale(1.3); }
.gx-play-gallery-track > button:nth-child(5) img { object-position: 10% 60%; transform: scale(1.2); }
.gx-play-gallery-track > button:nth-child(6) img { object-position: 90% 60%; transform: scale(1.2); }
.gx-play-gallery-track > button:nth-child(7) img { object-position: 50% 75%; transform: scale(1.35); }

.gx-play-gallery-track > button:nth-child(2) img { transform-origin: left center; }
.gx-play-gallery-track > button:nth-child(3) img { transform-origin: right center; }
.gx-play-gallery-track > button:nth-child(4) img { transform-origin: center bottom; }
.gx-play-gallery-track > button:nth-child(5) img { transform-origin: left bottom; }
.gx-play-gallery-track > button:nth-child(6) img { transform-origin: right top; }
.gx-play-gallery-track > button:nth-child(7) img { transform-origin: center top; }

.gx-play-gallery-next {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid #8a43ff;
    border-radius: 50%;
    background: rgba(8, 8, 25, .88);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(129, 51, 255, .28);
}

.gx-play-summary {
    display: grid;
    grid-template-columns: 138px minmax(220px, 1fr) 350px;
    gap: 14px;
    align-items: center;
    margin-top: 7px;
    padding: 8px;
    border: 1px solid #2f1c55;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(8, 11, 28, .98), rgba(3, 6, 16, .99));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

html.gx-game-preview .play-game-page-container #vote-container.gx-play-summary {
    display: grid !important;
}

.gx-play-summary-image {
    display: block;
    width: 138px;
    height: 112px;
    object-fit: cover;
    border: 1px solid #5c307d;
    border-radius: 7px;
}

.gx-play-summary-copy {
    min-width: 0;
    padding: 1px 0;
}

.gx-play-title-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.gx-play-title-row h1 {
    overflow: hidden;
    margin: 0;
    color: #fff;
    font: 850 clamp(18px, 1.65vw, 23px)/1.1 Inter, Arial, sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gx-play-title-row > i {
    color: #9c40ff;
    font-size: 17px;
    filter: drop-shadow(0 0 5px rgba(156, 64, 255, .65));
}

.gx-play-summary-tags {
    margin-top: 7px;
}

.gx-play-summary-description {
    display: -webkit-box;
    max-height: 32px;
    margin-top: 7px;
    overflow: hidden;
    color: #aeb3c7;
    font-size: 10px;
    line-height: 16px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.gx-play-summary-description > * {
    display: inline;
    margin: 0;
    padding: 0;
    font: inherit;
}

.gx-play-summary-tags > a,
.gx-play-summary-tags .gm-game-tag-button {
    min-height: 20px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 9px;
}

.gx-play-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #1e2740;
}

.gx-play-stats > span {
    display: grid;
    grid-template-columns: 22px auto;
    grid-template-rows: auto auto;
    min-width: 105px;
    padding-right: 18px;
    color: #fff;
}

.gx-play-stats > span + span {
    padding-left: 18px;
    border-left: 1px solid #1e2740;
}

.gx-play-stats i {
    grid-row: 1 / 3;
    align-self: center;
    color: #bb35ff;
    font-size: 18px;
}

.gx-play-stats small {
    color: #8c90a6;
    font-size: 9px;
    line-height: 1.1;
    text-transform: uppercase;
}

.gx-play-stats b {
    margin-top: 3px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
}

.gx-play-stats b span {
    font-size: 9px !important;
}

.gx-play-actions {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(68px, 1fr));
    gap: 7px;
    align-content: center;
}

.gx-play-actions .gx-action-button,
.gx-play-actions .report-dropdown .gx-action-button {
    display: inline-flex !important;
    width: 100% !important;
    min-height: 46px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    border: 1px solid #332552 !important;
    border-radius: 6px !important;
    background: rgba(8, 8, 24, .92) !important;
    color: #f4f5ff !important;
    font: 750 12px/1 Inter, Arial, sans-serif !important;
    cursor: pointer !important;
    transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease !important;
}

.gx-play-actions .gx-action-button:hover,
.gx-play-actions .gx-action-button:focus-visible,
.gx-play-actions .gx-action-button.voted,
.gx-play-actions .gx-action-button.favorited {
    border-color: #a13aff !important;
    background: #161030 !important;
    color: #fff !important;
    outline: 0;
    box-shadow: 0 0 15px rgba(138, 50, 255, .22);
}

.gx-play-actions .gx-action-button > i {
    font-size: 17px;
}

.gx-play-actions .gx-action-button > b {
    padding-left: 8px;
    border-left: 1px solid #2b2740;
    color: #969aaf;
    font-size: 10px;
}

.gx-play-actions .report-dropdown {
    position: relative;
    display: block;
    width: 100%;
}

.gx-play-actions .report-dropdown .dropdown-toggle span {
    display: inline-block !important;
    margin: 0 !important;
}

.gx-play-actions .report-dropdown .dropdown-menu {
    right: 0;
    left: auto;
    z-index: 1200;
    overflow: hidden;
    width: 180px;
    border: 1px solid #5f2d93;
    border-radius: 8px;
    background: #0d0b20;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .55);
}

.gx-play-actions .report-dropdown .dropdown-menu .report-option {
    background: #0d0b20;
    color: #fff;
}

.gx-play-actions .report-dropdown .dropdown-menu .report-option:hover {
    background: #281054;
}

.gx-play-actions .gx-fullscreen-button {
    grid-column: 1 / -1;
    min-height: 42px !important;
}

.gx-share-status {
    position: absolute;
    right: 8px;
    bottom: -20px;
    color: #38ebff;
    font-size: 10px;
}

#reportModal {
    background: rgba(1, 3, 10, .82);
    backdrop-filter: blur(8px);
}

#reportModal .modal-content {
    overflow: hidden;
    border: 1px solid #7b2aca;
    border-radius: 12px;
    background: linear-gradient(145deg, #17102d, #080b19);
    color: #fff;
    box-shadow: 0 0 40px rgba(116, 35, 208, .35);
}

#reportModal input,
#reportModal textarea {
    border-color: #40325d;
    background: #070915;
    color: #fff;
}

#reportModal .submit-btn {
    background: linear-gradient(105deg, #7c29ff, #db1cc9, #00cadf) !important;
}

.gx-play-below {
    min-width: 0;
    margin-top: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.gx-play-below .crazy-game-detail-panel,
.gx-play-below .walkthrough-wrapper {
    margin-top: 0 !important;
    padding: 20px !important;
    border: 1px solid #493078;
    border-radius: 12px !important;
    background: linear-gradient(145deg, rgba(8, 11, 28, .99), rgba(3, 6, 16, .995)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), 0 18px 45px rgba(0, 0, 0, .2);
}

.gx-detail-intro {
    display: grid;
    grid-template-columns: var(--gx-game-width) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.gx-detail-cover {
    display: block;
    width: var(--gx-game-width);
    height: var(--gx-game-height);
    object-fit: cover;
    border: 2px solid #8d39ff;
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(151, 52, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.gx-detail-intro-copy {
    min-width: 0;
}

.gx-play-below .crazy-game-title-row {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 14px;
}

.gx-play-below .crazy-game-detail-title {
    min-width: 0;
    flex: 1;
    margin: 0 !important;
    color: #fff;
    font: 900 clamp(22px, 2vw, 31px)/1.12 Inter, Arial, sans-serif;
    letter-spacing: -.4px;
}

.gx-play-below .gm-description-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 40px;
    align-items: center;
    gap: 9px;
    padding: 7px 0 7px 12px;
    border: 0;
    background: transparent;
    color: #c473ff;
    font: 900 13px/1 Inter, Arial, sans-serif;
    text-transform: uppercase;
    cursor: pointer;
}

.gx-play-below #crazy-game-description {
    box-sizing: border-box;
    width: 100%;
    min-height: 106px;
    max-height: 106px;
    margin-top: 10px;
    padding: 16px 18px;
    overflow: hidden;
    border: 1px solid #4e3579;
    border-radius: 12px;
    background: rgba(21, 25, 51, .86);
    color: #d2d4e4;
    font-size: 14px;
    line-height: 1.75;
}

.gx-play-below #crazy-game-description.is-expanded {
    max-height: none;
}

.gx-play-below #crazy-game-description > * {
    display: inline;
    margin: 0;
    padding: 0;
    font: inherit;
}

.gx-play-below .gm-game-facts {
    margin-top: 20px;
    padding: 16px 18px 4px;
    border: 1px solid #312552;
    border-radius: 12px;
    background: linear-gradient(120deg, rgba(18, 23, 48, .88), rgba(9, 12, 31, .92));
}

.gx-play-below .gm-game-facts > h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 3px;
    padding-bottom: 13px;
    border-bottom: 1px solid #242a47;
    color: #f6f5ff;
    font: 900 14px/1.2 Inter, Arial, sans-serif;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.gx-play-below .gm-game-facts > h2 i,
.gx-play-below .gm-game-facts dt i {
    width: 22px;
    color: #aa63ff;
    font-size: 18px;
    text-align: center;
}

.gx-play-below .gm-game-facts dl {
    margin: 0;
}

.gx-play-below .gm-game-facts dl > div {
    display: grid;
    grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
    gap: 20px;
    min-height: 50px;
    align-items: center;
    margin: 0;
    padding: 9px 2px;
    border-bottom: 1px solid #242a47;
}

.gx-play-below .gm-game-facts dl > div:last-child {
    border-bottom: 0;
}

.gx-play-below .gm-game-facts dt {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f6f5ff;
    font-size: 13px;
    font-weight: 850;
}

.gx-play-below .gm-game-facts dd {
    min-width: 0;
    margin: 0;
    color: #c8cadb;
    font-size: 13px;
}

.gx-play-below .gm-game-facts a,
.gx-play-below .gm-game-facts .gm-game-tag-button {
    color: #c37cff;
    font-weight: 800;
}

.gx-play-below .walkthrough-wrapper {
    position: relative;
    margin-top: 14px !important;
    padding: 0 !important;
    overflow: hidden;
    border-color: #6536a4;
    box-shadow:
        inset 0 1px 0 rgba(198, 87, 255, .18),
        inset 0 -1px 0 rgba(51, 199, 255, .12),
        0 0 0 1px rgba(16, 8, 39, .9),
        0 18px 45px rgba(0, 0, 0, .24);
}

.gx-play-below .game-ai-statistics {
    box-sizing: border-box;
    border: 1px solid #6536a4;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(8, 11, 28, .99), rgba(3, 6, 16, .995));
    box-shadow:
        inset 0 1px 0 rgba(198, 87, 255, .18),
        inset 0 -1px 0 rgba(51, 199, 255, .12),
        0 0 0 1px rgba(16, 8, 39, .9),
        0 18px 45px rgba(0, 0, 0, .24);
}

.gx-walkthrough-title {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 11px;
    padding: 0 18px;
    border-bottom: 2px solid #4f287f;
    background: linear-gradient(90deg, rgba(91, 28, 154, .2), rgba(8, 11, 28, .12) 48%, rgba(0, 192, 255, .05));
    box-shadow: inset 0 -1px 0 rgba(190, 78, 255, .16);
    color: #f7f6ff;
    font: 900 13px/1.25 Inter, Arial, sans-serif;
    letter-spacing: .45px;
    text-transform: uppercase;
}

.gx-walkthrough-title i {
    display: grid;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #b05bff;
    font-size: 24px;
}

.gx-play-below .walkthrough-shell {
    box-sizing: border-box;
    width: calc(100% - 16px) !important;
    min-height: 500px;
    margin: 8px !important;
    overflow: hidden;
    border: 2px solid #9847ff;
    border-radius: 10px;
    background: #000;
    box-shadow:
        0 0 0 1px rgba(35, 15, 76, .95),
        0 0 20px rgba(131, 46, 236, .42),
        inset 0 0 0 1px rgba(35, 207, 255, .14);
}

.gx-similar-panel,
.gx-game-right-rail > div {
    border: 1px solid #2f1c55;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(8, 11, 28, .98), rgba(3, 6, 16, .99));
}

.gx-similar-panel {
    position: relative;
    margin-top: 8px;
    padding: 10px;
    overflow: hidden;
}

.gx-similar-heading h2 {
    margin: 0 0 8px;
    color: #f8f8ff;
    font: 900 13px/1.1 Inter, Arial, sans-serif;
    text-transform: uppercase;
}

.gx-similar-heading i {
    margin-right: 7px;
    color: #bb35ff;
}

.gx-similar-track {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
    overflow: hidden;
}

.gx-similar-track > a {
    position: relative;
    display: block !important;
    height: 74px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #26365b;
    border-radius: 6px;
}

.gx-similar-track > a:nth-of-type(n+9) {
    display: none !important;
}

.gx-similar-track img {
    width: 100% !important;
    height: 72px !important;
    object-fit: cover;
    border-radius: 5px !important;
}

.gx-similar-track a > div {
    min-width: 0;
}

.gx-similar-track h3,
.gx-similar-track h4,
.gx-similar-track p {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    margin: 0 !important;
    padding: 15px 6px 5px !important;
    background: linear-gradient(transparent, rgba(2, 4, 13, .94));
    color: #f4f5ff !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gx-game-right-rail,
.gx-recommended-rail {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.gx-recommended-rail {
    align-content: start;
}

.gx-recommended-heading {
    display: flex;
    min-height: 36px;
    align-items: center;
    gap: 12px;
    padding: 0 4px;
}

.gx-recommended-heading h2 {
    flex: 0 0 auto;
    margin: 0;
    color: #f8f7ff;
    font: 900 13px/1 Inter, Arial, sans-serif;
    text-transform: uppercase;
}

.gx-recommended-heading h2 i {
    margin-right: 7px;
    color: #b85cff;
    font-size: 17px;
}

.gx-recommended-heading > span {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, #7650a7, transparent);
}

.gx-ad-preview {
    position: relative;
    display: grid;
    width: 300px;
    height: 300px;
    min-height: 300px;
    justify-self: center;
    place-content: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(3, 8, 28, .86), rgba(36, 8, 76, .72)),
        radial-gradient(circle at 82% 20%, rgba(225, 38, 255, .45), transparent 31%),
        linear-gradient(122deg, transparent 38%, rgba(0, 226, 255, .18) 39% 43%, transparent 44% 53%, rgba(211, 32, 255, .2) 54% 58%, transparent 59%);
    color: #d8c7ff;
    text-align: center;
}

.gx-ad-preview small {
    position: absolute;
    top: 11px;
    left: 12px;
    color: #c9cad8;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.gx-ad-preview strong {
    font-size: 24px;
    font-weight: 500;
}

.gx-ad-preview span {
    margin-top: 4px;
    font-size: 17px;
}

.gx-rail-game-grid,
.gx-recommended-grid {
    display: grid;
    grid-template-columns: repeat(2, var(--gx-game-width));
    gap: 8px;
    width: calc(var(--gx-game-width) * 2 + 24px);
    padding: 8px;
    overflow: hidden;
}

.gx-rail-game-grid > a,
.gx-recommended-grid > a {
    position: relative;
    display: block !important;
    width: var(--gx-game-width);
    height: var(--gx-game-height);
    min-width: 0;
    overflow: hidden;
    border: 0;
    border-radius: 7px;
    box-shadow: inset 0 0 0 1px #30235a;
}

.gx-recommended-grid > a {
    border: 1px solid #7044ad;
    box-shadow: 0 0 13px rgba(126, 60, 216, .24), inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.gx-recommended-grid > a:nth-of-type(n+15) {
    display: none !important;
}

.gx-rail-game-grid img,
.gx-recommended-grid img {
    display: block;
    width: var(--gx-game-width) !important;
    height: var(--gx-game-height) !important;
    object-fit: cover;
    border-radius: 6px !important;
}

.gx-rail-game-grid h3,
.gx-rail-game-grid h4,
.gx-rail-game-grid p,
.gx-recommended-grid h3,
.gx-recommended-grid h4,
.gx-recommended-grid p {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    margin: 0 !important;
    padding: 18px 7px 6px !important;
    background: linear-gradient(transparent, rgba(2, 4, 13, .96));
    color: #f3f4ff !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1120px) {
    .gx-game-page-grid,
    .gx-game-lower-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .gx-game-right-rail,
    .gx-recommended-rail {
        display: none;
    }

    .gx-play-summary {
        grid-template-columns: 128px minmax(0, 1fr);
    }

    .gx-play-summary-image {
        width: 128px;
        height: 96px;
    }

    .gx-play-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(5, minmax(90px, 1fr));
    }

    .gx-play-actions .gx-fullscreen-button {
        grid-column: auto;
    }

    .gx-similar-track {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .gx-similar-track > a:nth-of-type(n+7) {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .gx-game-nav-shell .gx-left-sidebar {
        top: 70px;
        left: 8px;
    }

    html.gx-game-preview #main-content {
        padding: 78px 10px 30px !important;
    }

    html.gx-game-preview .play-game-page-container #top-section.gx-play-stage {
        height: clamp(320px, 52vw, 430px);
        min-height: 0 !important;
    }

    .gx-play-hero-copy {
        top: 52px;
        left: 24px;
        max-width: calc(100% - 48px);
    }

    .gx-speed-mark {
        display: none;
    }

    .gx-play-hero-copy strong {
        font-size: clamp(29px, 5.2vw, 40px);
    }

    .gx-play-hero-tags,
    .gx-primary-play {
        margin-left: 0;
    }
}

@media (max-width: 680px) {
    .gx-game-nav-shell .gx-brand {
        font-size: 17px;
        letter-spacing: -.7px;
    }

    .gx-game-nav-shell .gx-brand > i {
        font-size: 23px;
    }

    .gx-game-nav-shell .gx-brand > small {
        display: none;
    }

    .gx-game-nav-shell .gx-header-main {
        padding-inline: 10px;
    }

    .gx-game-nav-shell .gx-account > a:not(.gx-login) {
        display: none;
    }

    .gx-game-nav-shell .gx-login {
        max-width: 104px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    html.gx-game-preview .play-game-page-container #top-section.gx-play-stage {
        height: clamp(310px, 95vw, 390px);
        min-height: 0 !important;
        border-radius: 9px;
    }

    .gx-play-breadcrumb {
        top: 13px;
        left: 14px;
        max-width: calc(100% - 28px);
        font-size: 9px;
    }

    .gx-play-hero-copy {
        top: 52px;
        left: 17px;
        right: 17px;
        display: block;
        max-width: none;
    }

    .gx-play-hero-copy strong {
        max-width: 94%;
        font-size: clamp(27px, 9vw, 36px);
    }

    .gx-play-hero-tags .gm-game-tags-fact .gm-game-tag-button:nth-child(n+3),
    .gx-play-summary-tags .gm-game-tags-fact .gm-game-tag-button:nth-child(n+3) {
        display: none;
    }

    .gx-primary-play {
        width: min(240px, 100%) !important;
        min-width: 180px;
        height: 50px !important;
        min-height: 50px;
        margin: 12px 0 0 !important;
        padding: 10px 23px;
        font-size: 18px !important;
    }

    .gx-play-gallery {
        right: 10px;
        bottom: 9px;
        left: 10px;
        gap: 7px;
    }

    .gx-play-gallery-track {
        gap: 8px;
        overflow-x: auto;
    }

    .gx-play-gallery-track > button {
        flex-basis: 104px;
        height: 64px;
    }

    .gx-play-gallery-next {
        display: none;
    }

    html.gx-game-preview .play-game-page-container #vote-container.gx-play-summary {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 10px;
        width: 100%;
        margin: 7px auto 0 !important;
        padding: 9px;
        overflow: hidden;
    }

    .gx-play-summary-image {
        width: 82px;
        height: 82px;
    }

    .gx-play-below .crazy-game-detail-panel {
        padding: 12px !important;
    }

    .gx-detail-intro {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 12px;
    }

    .gx-detail-cover {
        width: 112px;
        height: 84px;
        border-radius: 9px;
    }

    .gx-play-below .crazy-game-title-row {
        display: block;
        min-height: 0;
    }

    .gx-play-below .crazy-game-detail-title {
        font-size: 19px;
    }

    .gx-play-below .gm-description-toggle {
        min-height: 30px;
        padding: 7px 0 0;
        font-size: 10px;
    }

    .gx-play-below #crazy-game-description {
        grid-column: 1 / -1;
        min-height: 95px;
        max-height: 95px;
        margin-top: 12px;
        padding: 12px;
        font-size: 12px;
        line-height: 1.6;
    }

    .gx-play-below .gm-game-facts {
        margin-top: 14px;
        padding: 13px 12px 2px;
    }

    .gx-play-below .gm-game-facts dl > div {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 11px 0;
    }

    .gx-play-below .gm-game-facts dd {
        padding-left: 34px;
    }

    .gx-walkthrough-title {
        align-items: flex-start;
        padding: 12px;
        font-size: 11px;
    }

    .gx-play-title-row h1 {
        font-size: 18px;
        white-space: normal;
    }

    .gx-play-summary-tags,
    .gx-play-summary-description,
    .gx-play-stats {
        grid-column: 1 / -1;
    }

    .gx-play-summary-description {
        max-height: 48px;
        font-size: 11px;
        line-height: 16px;
        -webkit-line-clamp: 3;
    }

    .gx-play-stats {
        justify-content: space-between;
    }

    .gx-play-stats > span {
        min-width: 0;
        flex: 1;
        padding-right: 8px;
    }

    .gx-play-stats > span + span {
        padding-left: 8px;
    }

    .gx-play-actions {
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(5, 48px);
        justify-content: center;
        gap: 8px;
        margin-top: 4px;
        box-sizing: border-box;
    }

    .gx-play-actions .gx-action-button,
    .gx-play-actions .report-dropdown .gx-action-button {
        width: 48px !important;
        min-width: 48px !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: #242640 !important;
        font-size: 0 !important;
    }

    .gx-play-actions .gx-action-button > span,
    .gx-play-actions .gx-action-button > b,
    .gx-play-actions .report-dropdown .dropdown-toggle span {
        display: none !important;
    }

    .gx-play-actions .gx-action-button > i {
        font-size: 20px;
    }

    .gx-play-actions .report-dropdown,
    .gx-play-actions .gx-fullscreen-button {
        width: 48px;
    }

    .gx-play-actions .gx-fullscreen-button {
        grid-column: auto;
    }

    .gx-share-status {
        right: 50%;
        bottom: -20px;
        transform: translateX(50%);
        white-space: nowrap;
    }

    .gx-similar-panel {
        padding: 9px;
    }

    .gx-similar-track {
        display: flex;
        gap: 9px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .gx-similar-track::-webkit-scrollbar {
        display: none;
    }

    .gx-similar-track > a,
    .gx-similar-track > a:nth-of-type(n+7) {
        display: block !important;
        flex: 0 0 132px;
        height: 96px;
        scroll-snap-align: start;
    }

    .gx-similar-track img {
        height: 94px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gx-play-stage *,
    .gx-play-summary * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Real inline player: same game engine and interaction model as the public theme. */
.gx-inline-player {
    overflow: hidden;
    border: 1px solid #3f236e;
    border-radius: 12px;
    background: #050715;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(0, 225, 255, .04);
}

.gx-inline-player > .gx-play-breadcrumb {
    position: static;
    display: flex;
    min-height: 42px;
    max-width: none;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #24163f;
    background: #060817;
    font-size: 11px;
}

.gx-inline-player .game-container,
.gx-inline-player .game-info,
.gx-inline-player #gameDiv {
    width: 100%;
    margin: 0;
}

.gx-player-viewport {
    position: relative;
    width: 100%;
    max-height: calc(100svh - 210px);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}

.gx-player-cover,
.gx-player-cover-image,
.gx-player-cover #gm-play-preview-video,
.gx-player-shade,
.gx-player-cover #game-box,
.gx-player-viewport > #game-box,
.gx-player-viewport > #game-box iframe,
.gx-player-viewport > #game-box object,
.gx-player-viewport > #game-box embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.gx-player-cover {
    z-index: 4;
    overflow: hidden;
    background: #03050b;
}

.gx-player-cover-image,
.gx-player-cover #gm-play-preview-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gx-player-cover-image {
    opacity: .68;
    filter: saturate(.92) brightness(.72);
    transform: scale(1.015);
    transition: opacity .2s ease;
}

.gx-player-cover #gm-play-preview-video {
    z-index: 2;
}

.gx-player-cover.gm-preview-playing #gm-play-preview-video {
    opacity: 1;
}

.gx-player-cover #gm-play-preview-video video {
    opacity: 0;
    transition: opacity .2s ease;
}

.gx-player-cover.gm-preview-playing .gx-player-cover-image {
    opacity: 0;
}

.gx-player-cover.gm-preview-playing #gm-play-preview-video video {
    opacity: .72;
}

.gx-player-shade {
    z-index: 3;
    background: rgba(0, 0, 0, .52);
    box-shadow: inset 0 -120px 150px rgba(0, 0, 0, .38);
    pointer-events: none;
}

.gx-player-launch {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px;
    text-align: center;
}

.gx-player-launch > img {
    width: 150px;
    height: 112px;
    object-fit: cover;
    border: 1px solid rgba(190, 76, 255, .7);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(126, 41, 255, .3);
}

.gx-player-launch h1 {
    max-width: 82%;
    margin: 0;
    color: #fff;
    font: 900 clamp(20px, 2.1vw, 28px)/1.1 Inter, Arial, sans-serif;
    text-shadow: 0 3px 15px #000;
}

.gx-player-launch .gx-primary-play {
    min-width: 190px;
    min-height: 48px;
    margin: 0;
    gap: 9px;
    padding: 10px 24px;
    font-size: 17px;
}

.gx-player-launch .gx-primary-play i {
    font-size: 21px;
}

.gx-player-viewport #pre-count,
.gx-player-viewport #game-preloading,
.gx-player-viewport #game-preloader,
.gx-player-viewport #adsContainer {
    position: absolute;
    z-index: 3;
}

.gx-player-viewport > #game-box {
    z-index: 2;
}

.gx-player-toolbar {
    display: flex !important;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 12px;
    border-top: 1px solid #2b1d49;
    background: #181a30;
    color: #fff;
}

.gx-player-toolbar-title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
}

.gx-player-toolbar-title img {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    object-fit: cover;
    border-radius: 5px;
}

.gx-player-toolbar-title span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gx-player-toolbar-actions {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
}

.gx-player-plays {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 6px;
    color: #f5f6ff;
    font-size: 12px;
    white-space: nowrap;
}

.gx-player-plays b {
    font-size: 13px;
}

.gx-toolbar-icon {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gx-player-toolbar-actions .gx-action-button,
.gx-player-toolbar-actions .report-dropdown .gx-action-button {
    display: inline-flex !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 5px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #fff !important;
    font: 800 12px/1 Inter, Arial, sans-serif !important;
    cursor: pointer;
}

.gx-player-toolbar-actions .gx-action-button[hidden] {
    display: none !important;
}

#exitFullscreen-btn[hidden] {
    display: none !important;
}

.gx-player-toolbar-actions #like-button,
.gx-player-toolbar-actions #dislike-button {
    width: auto !important;
    min-width: 46px !important;
}

.gx-player-toolbar-actions .gx-action-button:hover,
.gx-player-toolbar-actions .gx-action-button:focus-visible,
.gx-player-toolbar-actions .gx-action-button.voted,
.gx-player-toolbar-actions .gx-action-button.favorited {
    background: rgba(136, 84, 226, .2) !important;
    box-shadow: none;
    outline: 0;
}

.gx-player-toolbar-actions .gx-action-button > i {
    display: none;
}

.gx-player-toolbar-actions .gx-report-button::before {
    content: "⚐";
    color: currentColor;
    font: 22px/1 "Segoe UI Symbol", sans-serif;
}

.gx-player-toolbar-actions .report-dropdown {
    width: 32px;
}

.gx-player-toolbar-actions .report-dropdown .dropdown-toggle span {
    display: none !important;
}

.gx-player-toolbar-actions .report-dropdown .dropdown-menu {
    right: 0;
    left: auto;
}

.gx-player-toolbar-actions .gx-share-status {
    right: 0;
    bottom: -24px;
}

#gameDiv:fullscreen,
#gameDiv:-webkit-full-screen {
    display: flex;
    height: 100svh !important;
    flex-direction: column;
    background: #000;
}

#gameDiv:fullscreen .gx-player-viewport,
#gameDiv:-webkit-full-screen .gx-player-viewport {
    flex: 1 1 auto;
    height: auto !important;
    max-height: none;
    aspect-ratio: auto;
}

@media (max-width: 900px) {
    .gx-inline-player > .gx-play-breadcrumb {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 10px;
    }

    .gx-player-viewport {
        max-height: none;
    }

    .gx-player-toolbar {
        gap: 8px;
        padding-inline: 8px;
    }

    .gx-player-toolbar-title img,
    .gx-player-plays > span {
        display: none;
    }

    .gx-player-toolbar-title {
        max-width: 30%;
        font-size: 12px;
    }

    .gx-player-toolbar-actions {
        gap: 5px;
    }

    .gx-player-toolbar-actions .gx-action-button,
    .gx-player-toolbar-actions .report-dropdown .gx-action-button {
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
    }

    .gx-player-toolbar-actions .report-dropdown {
        width: 40px;
    }

    .gx-player-toolbar-actions #like-button,
    .gx-player-toolbar-actions #dislike-button {
        min-width: 40px !important;
        font-size: 0 !important;
    }

    .gx-player-toolbar-actions #like-button b,
    .gx-player-toolbar-actions #dislike-button b {
        display: none;
    }
}

@media (max-width: 560px) {
    .gx-player-launch {
        gap: 12px;
        padding: 14px;
    }

    .gx-player-launch > img {
        width: 128px;
        height: 96px;
        border-radius: 10px;
    }

    .gx-player-launch h1 {
        font-size: 20px;
    }

    .gx-player-launch .gx-primary-play {
        min-width: 190px;
        min-height: 50px;
        font-size: 17px;
    }

    .gx-player-toolbar-title,
    .gx-player-plays {
        display: none;
    }

    .gx-player-toolbar {
        justify-content: center;
    }

    .gx-player-toolbar-actions {
        width: 100%;
        justify-content: center;
    }
}
