#wrapper,
#container_wr,
#container {
    width: 100%;
    max-width: none;
    min-width: 0;
}

html,
body {
    overflow-x: hidden;
}

#container {
    float: none;
}

#aside {
    display: none;
}

.game-hub,
.game-hub * {
    box-sizing: border-box;
}

.game-hub {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 52px;
    color: #111827;
    letter-spacing: 0;
}

.game-hub-rb-module {
    position: relative;
    z-index: 30;
    width: 100%;
    min-width: 0;
    margin: 0 0 20px;
    padding: 0 !important;
    overflow: visible !important;
}

.game-hub-rb-module:not(:empty)::before {
    content: '';
    position: absolute;
    top: -18px;
    right: 0;
    bottom: -18px;
    left: 0;
    z-index: -1;
    pointer-events: auto;
}

.game-hub-rb-module:empty {
    display: none;
}

.game-hub-rb-bottom {
    margin: 20px 0 0;
}

.game-hub-rb-module > *,
.game-hub-rb-module .rb_section,
.game-hub-rb-module .rb_module,
.game-hub-rb-module .rb_widget,
.game-hub-rb-module .rb_box,
.game-hub-rb-module .rb_inner,
.game-hub-rb-module .rb_module_inner,
.game-hub-rb-module .rb_widget_inner,
.game-hub-rb-module .content_box,
.game-hub-rb-module .rb_layout_box,
.game-hub-rb-module .flex_box_inner,
.game-hub-rb-module .add_module_wrap {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box;
}

section.co_gap_pc_20 .game-hub-rb-module,
.co_gap_pc_20 .game-hub-rb-module,
.co_gap_pc_20 .game-hub-rb-module.flex_box {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
}

section.co_gap_pc_20 .game-hub-rb-module .content_box,
.co_gap_pc_20 .game-hub-rb-module .content_box,
.co_gap_pc_20 .game-hub-rb-module .add_module_wrap {
    padding: 0 !important;
}

.game-hub-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding: 6px 2px 24px;
    border-bottom: 1px solid #d9e0ea;
}

.game-hub-eyebrow,
.game-card-copy p {
    margin: 0;
    color: #4567b2;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.game-hub-head h1 {
    margin: 5px 0 7px;
    font-size: 32px;
    line-height: 1.2;
}

.game-hub-head > div > p:last-child {
    margin: 0;
    color: #667085;
    font-size: 15px;
}

.game-hub-status {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding-bottom: 3px;
}

.game-hub-status strong {
    font-size: 30px;
    line-height: 1;
}

.game-hub-status span {
    max-width: 90px;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.game-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-top: 22px;
}

.game-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d6deea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .07);
}

.game-card-preview {
    position: relative;
    display: block;
    height: 250px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.game-card-preview-shared > .game-index-cover {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
}

.game-preview-label {
    position: absolute;
    top: 16px;
    left: 18px;
    z-index: 5;
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.game-card-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    min-height: 148px;
    padding: 22px;
}

.game-card-copy {
    min-width: 0;
}

.game-card-copy h2 {
    margin: 5px 0 8px;
    font-size: 24px;
    line-height: 1.25;
}

.game-card-copy > span {
    display: block;
    max-width: 330px;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.game-enter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #172033;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.game-enter:hover,
.game-enter:focus-visible {
    border-color: #3157a4;
    background: #3157a4;
    color: #fff;
}

.game-enter span {
    font-size: 17px;
    line-height: 1;
}

/* Brick breaker preview */
.game-card-brick .game-card-preview {
    background: #111827;
}

.brick-scene {
    position: absolute;
    inset: 52px 42px 24px;
}

.brick-row {
    display: grid;
    gap: 7px;
    margin-bottom: 7px;
}

.brick-row-one,
.brick-row-three {
    grid-template-columns: repeat(6, 1fr);
}

.brick-row-two {
    grid-template-columns: repeat(5, 1fr);
    margin-right: 10%;
    margin-left: 10%;
}

.brick-row i {
    height: 20px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: #66a9e8;
    box-shadow: inset 0 4px rgba(255, 255, 255, .18);
}

.brick-row-two i {
    background: #f2c24d;
}

.brick-row-three i {
    background: #64c28a;
}

.brick-ball {
    position: absolute;
    right: 28%;
    bottom: 54px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #f8da55;
    box-shadow: 0 0 14px rgba(248, 218, 85, .5);
}

.brick-paddle {
    position: absolute;
    bottom: 3px;
    left: 50%;
    width: 112px;
    height: 12px;
    border: 3px solid #e8edf5;
    border-radius: 6px;
    background: #67a8ea;
    transform: translateX(-50%);
}

/* Tetris preview */
.game-card-tetris .game-card-preview {
    background-color: #202a4a;
    background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 24px 24px;
}

.tetris-scene {
    position: absolute;
    inset: 34px 78px 0;
    border-right: 1px solid rgba(255, 255, 255, .16);
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.tetromino {
    position: absolute;
    display: grid;
    grid-template-columns: repeat(3, 27px);
    grid-template-rows: repeat(2, 27px);
}

.tetromino i {
    border: 2px solid rgba(255, 255, 255, .32);
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .12);
}

.tetromino-yellow {
    top: 10px;
    left: 50%;
    grid-template-columns: repeat(2, 27px);
    transform: translateX(-50%);
}

.tetromino-yellow i {
    background: #f3ce45;
}

.tetromino-cyan {
    right: 24px;
    bottom: 37px;
}

.tetromino-cyan i {
    background: #43c6d9;
}

.tetromino-cyan i:nth-child(1) {
    grid-column: 1;
}

.tetromino-cyan i:nth-child(n+2) {
    grid-row: 2;
}

.tetromino-red {
    bottom: 10px;
    left: 28px;
}

.tetromino-red i {
    background: #eb6b64;
}

.tetromino-red i:first-child {
    grid-column: 2;
}

.tetromino-red i:nth-child(n+2) {
    grid-row: 2;
}

.tetris-floor {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 8px;
    background: #6a78aa;
}

/* Shanghai preview */
.game-card-shanghai .game-card-preview {
    background: #2c3d5e;
}

.shanghai-scene {
    position: absolute;
    inset: 45px 50px 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shanghai-scene::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 116px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(15, 23, 42, .18);
}

.shanghai-scene img {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 104px;
    object-fit: contain;
    filter: drop-shadow(5px 7px 4px rgba(0, 0, 0, .28));
}

.shanghai-scene img + img {
    margin-left: -15px;
}

.shanghai-scene img:nth-child(2),
.shanghai-scene img:nth-child(4) {
    transform: translateY(30px);
}

.shanghai-scene img:nth-child(3) {
    z-index: 3;
    transform: translateY(-12px);
}

/* Baduk preview */
.game-card-baduk .game-card-preview {
    background: #26352f;
}

.baduk-scene {
    position: absolute;
    top: 42px;
    left: 50%;
    width: 320px;
    height: 180px;
    border: 9px solid #bd843f;
    background-color: #dda655;
    background-image: linear-gradient(rgba(60, 39, 18, .58) 1px, transparent 1px), linear-gradient(90deg, rgba(60, 39, 18, .58) 1px, transparent 1px);
    background-size: 30px 30px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .28), inset 0 0 18px rgba(92, 50, 13, .22);
    transform: translateX(-50%);
}

.baduk-stone {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.baduk-stone.black {
    background: radial-gradient(circle at 35% 28%, #59605d, #101312 64%);
    box-shadow: 2px 4px 5px rgba(0, 0, 0, .38);
}

.baduk-stone.white {
    border: 1px solid #d7d4ca;
    background: radial-gradient(circle at 35% 28%, #fff, #e6e2d8 64%);
    box-shadow: 2px 4px 5px rgba(0, 0, 0, .28);
}

.stone-one { top: 61px; left: 91px; }
.stone-two { top: 61px; left: 121px; }
.stone-three { top: 91px; left: 151px; }
.stone-four { top: 121px; left: 181px; }
.stone-five { top: 91px; left: 211px; }

@media (max-width: 820px) {
    .game-hub {
        width: calc(100vw - 24px);
        max-width: 640px;
        padding-top: 20px;
    }

    .game-hub-grid {
        grid-template-columns: 1fr;
    }

    .game-card-preview {
        height: 230px;
    }
}

@media (max-width: 520px) {
    .game-hub-head {
        align-items: flex-start;
        gap: 16px;
    }

    .game-hub-head h1 {
        font-size: 27px;
    }

    .game-hub-status span {
        display: none;
    }

    .game-card-preview {
        height: 205px;
    }

    .game-card-body {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
        min-height: 0;
        padding: 19px;
    }

    .game-enter {
        align-self: stretch;
    }

    .brick-scene {
        right: 22px;
        left: 22px;
    }

    .tetris-scene {
        right: 48px;
        left: 48px;
    }

    .shanghai-scene {
        right: 18px;
        left: 18px;
    }

    .shanghai-scene img {
        width: 58px;
        height: 90px;
    }

    .baduk-scene {
        top: 40px;
        width: 280px;
        height: 156px;
        background-size: 26px 26px;
    }

    .stone-one { top: 53px; left: 79px; }
    .stone-two { top: 53px; left: 105px; }
    .stone-three { top: 79px; left: 131px; }
    .stone-four { top: 105px; left: 157px; }
    .stone-five { top: 79px; left: 183px; }
}
