.game-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    box-shadow: 0 2px 8px #0000001a;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    position: relative;
    box-sizing: border-box
}

.game-frame-6x4 {
    grid-column: 2 / span 6;
    grid-row: 1 / span 4
}

.game-frame {
    width: 100%;
    flex: 1 1 auto;
    min-height: 300px;
    max-height: calc(100% - 80px);
    background-color: #191f26;
    background-image: url(/images/assest/loading-iframe.gif);
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.game-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    min-height: 80px;
    height: 80px;
    flex-shrink: 0;
    flex-grow: 0;
    z-index: 10
}

.game-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    overflow: hidden
}

.game-thumbnail {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.game-details {
    flex: 1;
    min-width: 0
}

.game-title {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: none;
    background-color: transparent;
    border: none;
    border-radius: 0
}

.game-developer {
    margin: 4px 0 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px
}

.game-actions {
    display: flex;
    align-items: center;
    gap: 8px
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s ease;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    min-width: 60px
}

.action-button:hover {
    background: #f3f4f6;
    color: #374151
}

.action-button.active {
    color: #3b82f6
}

.action-button svg {
    width: 20px;
    height: 20px
}

.action-button span {
    font-size: 12px;
    font-weight: 600
}

@media(max-width:768px) {
    .game-banner {
        padding: 12px 16px;
        gap: 12px
    }

    .game-actions {
        gap: 4px
    }

    .action-button {
        padding: 6px 8px;
        min-width: 50px;
        font-size: 11px
    }

    .action-button svg {
        width: 18px;
        height: 18px
    }

    .game-title {
        font-size: 16px
    }

    .game-developer {
        font-size: 13px
    }
}

@media(max-width:640px) {
    .game-frame {
        min-height: 250px;
        max-height: calc(100% - 60px)
    }

    .game-banner {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        padding: 10px 12px;
        min-height: 60px;
        height: 60px;
        flex-shrink: 0;
        flex-grow: 0
    }

    .game-info {
        gap: 8px
    }

    .game-actions {
        gap: 4px
    }

    .action-button {
        min-width: 45px;
        padding: 6px 8px
    }

    .game-thumbnail {
        width: 48px;
        height: 48px
    }

    .game-title {
        font-size: 15px
    }

    .game-developer {
        font-size: 12px
    }

    .game-frame-6x4 {
        grid-column: 1 / span 3;
        grid-row: 1 / span 4
    }
}

@media(min-width:564px)and (max-width:683px) {
    .game-frame-6x4 {
        grid-column: 2 / span 3;
        grid-row: 1 / span 4
    }
}

@media(min-width:684px)and (max-width:833px) {
    .game-frame-6x4 {
        grid-column: 2 / span 4;
        grid-row: 1 / span 4
    }
}

@media(min-width:834px)and (max-width:1073px) {
    .game-frame-6x4 {
        grid-column: 2 / span 5;
        grid-row: 1 / span 4
    }
}

@media(min-width:1074px)and (max-width:1343px) {
    .game-frame-6x4 {
        grid-column: 2 / span 5;
        grid-row: 1 / span 4
    }
}

@media(min-width:1344px) {
    .game-frame-6x4 {
        grid-column: 2 / span 7;
        grid-row: 1 / span 5
    }
}

.egg-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box
}

.egg-wrapper {
    flex: 1;
    min-height: 0;
    min-width: 0;
    width: 100%;
    background: linear-gradient(135deg, #e6e6e699, #d2d2d280, #c8c8c899);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px #0000001a;
    box-sizing: border-box;
    overflow: hidden
}

.egg-label {
    font-size: 10px;
    color: #002b50;
    text-align: center;
    padding: 2px 0;
    letter-spacing: .5px;
    text-transform: uppercase;
    flex-shrink: 0
}

@media(min-width:600px) {
    .egg-container.horizontal {
        flex-direction: row
    }

    .egg-container.horizontal .egg-label {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        padding: 0 2px
    }
}

.egg-image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block
}

.egg-vertical-under-pill,
.egg-vertical-top-right,
.egg-horizontal-under-game {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    list-style: none;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden
}

@media(max-width:833px) {
    .egg-vertical-under-pill {
        grid-column: 1 / span 1;
        grid-row: 2 / span 3
    }
}

@media(min-width:834px)and (max-width:1073px) {
    .egg-vertical-under-pill {
        grid-column: 1 / span 1;
        grid-row: 2 / span 3
    }

    .egg-horizontal-under-game {
        grid-column: 1 / span 6;
        grid-row: 5 / span 1
    }
}

@media(min-width:1074px)and (max-width:1343px) {
    .egg-vertical-under-pill {
        grid-column: 1 / span 1;
        grid-row: 2 / span 3
    }

    .egg-vertical-top-right {
        grid-column: 7 / span 2;
        grid-row: 1 / span 5
    }

    .egg-horizontal-under-game {
        grid-column: 1 / span 6;
        grid-row: 5 / span 1
    }
}

@media(min-width:1344px) {
    .egg-vertical-under-pill {
        grid-column: 1 / span 1;
        grid-row: 2 / span 3
    }

    .egg-vertical-top-right {
        grid-column: 9 / span 2;
        grid-row: 1 / span 2
    }

    .egg-horizontal-under-game {
        grid-column: 3 / span 6;
        grid-row: 6 / span 1
    }
}