/* Content Spacing */
.game-content-section {
    padding-top: var(--space-12) !important;
}

.game-content-section .content-layout--separator > .content,
.game-content-section .content-layout > .content {
    padding-top: 0 !important;
}

.game-breadcrumbs-wrapper {
    margin-top: 0;
    margin-bottom: var(--space-12);
    line-height: 1.2;
}

.game-content-section .post-article {
    margin-top: 0 !important;
}

/* Related Games & Discussion Spacing */
.game-related-games,
.game-content-section [data-block-id="related-posts"] {
    margin-top: var(--space-40);
    margin-bottom: var(--space-40);
}

.game-related-games .block-header,
.game-content-section [data-block-id="related-posts"] .block-header {
    margin-bottom: var(--space-20);
}

.game-content-section .content-comments {
    margin-top: var(--space-36);
}

@media (max-width: 768px) {
    .game-content-section {
        padding-top: var(--space-8) !important;
    }

    .game-breadcrumbs-wrapper {
        margin-bottom: var(--space-8);
    }

    .game-related-games,
    .game-content-section [data-block-id="related-posts"] {
        margin-top: var(--space-28);
        margin-bottom: var(--space-32);
    }

    .game-related-games .block-inner {
        gap: var(--space-6) !important;
    }

    .game-related-games .post-module__title {
        font-size: var(--text-xs);
        line-height: 1.3;
    }

    .game-content-section .content-comments {
        margin-top: var(--space-28);
    }
}

/* Games recommended inside articles. */
.game-recommendation-single {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: var(--space-20);
    padding: var(--space-16);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--background-color-alt);
}

.game-recommendation-single__image {
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.game-recommendation-single__image .responsive-image {
    width: 100%;
}

.game-recommendation-single__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-8);
    min-width: 0;
}

.game-recommendation-single__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-6);
    color: var(--text-color-muted);
    font-size: var(--text-xs);
}

.game-recommendation-single .game-recommendation-single__title {
    margin: 0;
    font-size: var(--text-lg);
    line-height: 1.3;
}

.game-recommendation-single__title a {
    color: var(--text-color-main);
    text-decoration: none;
}

.game-recommendation-single .game-recommendation-single__description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
    color: var(--text-color-muted);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.game-recommendations .game-card__visible-title {
    margin: var(--space-8) 0 0;
    color: var(--text-color-main);
    font-size: var(--text-sm);
    line-height: 1.4;
}

@media (max-width: 640px) {
    .game-recommendation-single {
        grid-template-columns: 96px minmax(0, 1fr);
        align-items: start;
        gap: var(--space-12);
        padding: var(--space-12);
    }
}

/* Game Player */
.game-sidebar-games .post-module-1 {
    align-items: center;
}

.game-sidebar-games .post-module-1 > .post-module__image {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
}

.game-sidebar-games .post-module__title {
    font-size: var(--text-lg);
    line-height: 1.35;
}

.game-sidebar-games .post-module__description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
    color: var(--text-color-muted);
    font-size: var(--text-sm);
    line-height: 1.5;
    hyphens: none;
}

.game-sidebar-games .post-module__icon {
    display: none;
}

.game-player {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--background-color-alt);
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--space-24);
    width: 100%;
    max-width: calc(
        var(--game-player-max-height) * (var(--game-player-aspect-ratio)) + 2px
    );
    margin-inline: auto;
}

.game-page .game-player {
    max-width: none;
}

.game-player__stage {
    position: relative;
    isolation: isolate;
    aspect-ratio: var(--game-player-aspect-ratio, 16 / 9);
    width: 100%;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 40%, #28374b, #111721 75%);
}

.game-player__stage iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.game-player__stage iframe[hidden],
.game-player [hidden] {
    display: none;
}

.game-player .game-player__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.game-player__launch {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    background: linear-gradient(
        0deg,
        rgba(11, 16, 27, 0.5),
        rgba(11, 16, 27, 0.12)
    );
}

.game-player__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 60px;
    padding: 16px 28px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    background: #ffffff;
    color: #172338;
    font: inherit;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.game-player__play:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.game-player button:focus-visible {
    outline: 3px solid #6bb9ff;
    outline-offset: 4px;
}

.game-player__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-16);
    min-height: var(--control-height-xl);
    padding: var(--space-8) var(--space-16);
    border-top: 1px solid var(--border-color);
    color: var(--text-color-muted);
    background: var(--background-color-alt);
    flex-wrap: wrap;
}

.game-player__share {
    display: flex;
    align-items: center;
    min-width: 0;
}

.game-player__share .post-share {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.game-player__share .post-font-sizer {
    display: none;
}

.game-player__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 1;
    flex-wrap: wrap;
    min-width: 0;
    margin-left: auto;
}

.game-player__feedback {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(8, 12, 18, 0.92);
    color: #fff;
}

.game-player__feedback-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 360px;
    text-align: center;
}

.game-player__status {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #cbd5e1;
}

.game-player__spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: game-player-spin 0.8s linear infinite;
}

@keyframes game-player-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .game-player__spinner {
        animation: none;
    }
}

.game-player__tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    min-height: var(--control-height-xs);
    padding: var(--space-6) var(--space-12);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-color-main);
    background: var(--color-hover);
    font: inherit;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    white-space: nowrap;
    transition:
        background var(--transition-duration-fast) ease,
        border-color var(--transition-duration-fast) ease;
}

.game-player__tool:hover {
    background: var(--color-hover-light);
    border-color: var(--border-color-light);
}

.game-player .game-player__stage:fullscreen {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
}

/* Controls & How to Play */
.game-controls {
    margin-block: 16px;
    padding: 18px 22px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--color-hover);
}

.game-controls__header {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    margin-bottom: 10px;
    color: var(--text-color-main);
}

.game-controls__header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.game-controls__header svg {
    color: var(--color-primary);
}

.game-controls__body {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color-muted);
}

.game-controls__body p:last-child {
    margin-bottom: 0;
}

.game-controls kbd {
    display: inline-block;
    padding: 2px 7px;
    font-size: 12px;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color-main);
    background-color: var(--background-color-main);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    margin-inline: 2px;
}

/* Responsive */
@media (max-width: 640px) {
    .game-player {
        border-radius: 10px;
    }

    .game-player__toolbar {
        align-items: center;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 10px 12px;
    }

    .game-player__share {
        flex: 1;
    }

    .game-player__share .post-share__buttons {
        gap: 4px;
    }

    .game-player__share .bz-button {
        width: 32px;
        min-width: 32px;
        height: 32px;
        min-height: 32px;
        padding: 0;
    }

    .game-player__actions {
        flex-shrink: 0;
    }

    .game-player__actions [data-game-fullscreen] .game-player__tool {
        width: 36px;
        min-height: 36px;
        padding: 0;
    }

    .game-player__fullscreen-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .game-player__play {
        min-height: 52px;
        padding: 12px 22px;
        font-size: 15px;
    }

    .game-controls {
        padding: 14px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .game-player__play {
        transition: none;
    }
}

/* ==========================================================================
   Games Directory & Showcase Architecture
   ========================================================================== */

.games-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
    flex-wrap: wrap;
}

.games-header__content {
    flex: 1 1 240px;
}

.games-header__title {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--text-color-main);
}

.games-header__description {
    margin-top: var(--space-4);
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-color-muted);
}

.games-search-form {
    flex: 0 1 340px;
    width: 100%;
}

.games-search-form .bz-form-field {
    margin-bottom: 0;
}

.games-search-form .bz-form-input {
    border-radius: var(--radius-full);
    background-color: var(--background-color-alt);
    height: 42px;
}

.games-search-icon {
    color: var(--text-color-muted);
}

/* Category Pills Navigation */
.game-categories-bar {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    overflow-x: auto;
    padding-bottom: var(--space-6);
    margin-bottom: var(--space-16);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.game-categories-bar::-webkit-scrollbar {
    display: none;
}

.game-category-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-6);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background-color: var(--background-color-alt);
    color: var(--text-color-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.game-category-pill:hover {
    border-color: var(--pill-color, var(--color-primary));
    color: var(--text-color-main);
}

.game-category-pill.is-active {
    background-color: var(--pill-color, var(--color-primary));
    border-color: var(--pill-color, var(--color-primary));
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.game-category-pill__badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 1px 7px;
}

.game-category-pill.is-active .game-category-pill__badge {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

/* Showcase Row */
.game-showcase-row {
    display: flex;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
    align-items: stretch;
}

@media (max-width: 768px) {
    .game-showcase-row {
        flex-direction: column;
        gap: var(--space-8);
        margin-bottom: var(--space-20);
    }
}

.game-category-banner {
    position: relative;
    flex: 0 0 clamp(260px, 25vw, 320px);
    min-height: 165px;
    border-radius: var(--radius-lg);
    background-color: var(--cat-color, var(--color-primary));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-20);
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.25s ease;
}

.game-category-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    color: #ffffff;
}

.game-category-banner:hover .game-category-banner__backdrop {
    transform: scale(1.05);
}

.game-category-banner__backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: right center;
    opacity: 0.45;
    mix-blend-mode: luminosity;
    transition: transform 0.4s ease;
}

.game-category-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--cat-color) 0%,
        rgba(0, 0, 0, 0.15) 60%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.game-category-banner__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.game-category-banner__icon {
    display: flex;
    align-items: center;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    margin-bottom: var(--space-4);
}

.game-category-banner__icon .bz-icon {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.game-category-banner__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.game-category-banner__title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.game-category-banner__count {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.game-category-banner__action {
    display: none;
}

@media (max-width: 768px) {
    .game-category-banner {
        flex: none;
        min-height: 52px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-8) var(--space-12);
        border-radius: var(--radius-md);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .game-category-banner__content {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: var(--space-16);
        min-width: 0;
    }

    .game-category-banner__icon {
        width: 32px;
        height: 32px;
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .game-category-banner__icon .bz-icon {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }

    .game-category-banner__info {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .game-category-banner__title {
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1.2;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .game-category-banner__count {
        font-size: 0.75rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1;
    }

    .game-category-banner__action {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
        flex-shrink: 0;
        margin-inline-start: var(--space-8);
    }

    [dir="rtl"] .game-category-banner__action .bz-icon {
        transform: scaleX(-1);
    }
}

.game-showcase-row__slider {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
}

.game-showcase-row__slider .swiper {
    height: 100%;
    padding: 2px 0;
}

.game-showcase-row__slider .swiper-slide {
    height: auto;
}

.game-showcase-row__slider .swiper-button-next,
.game-showcase-row__slider .swiper-button-prev {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
    color: var(--text-color-main);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    margin-top: -18px;
    transform: scale(1);
    transform-origin: center center;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
    z-index: 10;
}

.game-showcase-row__slider .swiper-button-next {
    right: 6px;
}

.game-showcase-row__slider .swiper-button-prev {
    left: 6px;
}

.game-showcase-row__slider .swiper-button-next:hover,
.game-showcase-row__slider .swiper-button-prev:hover {
    background: #ffffff;
    transform: scale(1.08);
}

.game-showcase-row__slider .swiper-button-next:active,
.game-showcase-row__slider .swiper-button-prev:active {
    transform: scale(0.96);
}

.game-showcase-row__slider .swiper-button-next::after,
.game-showcase-row__slider .swiper-button-prev::after {
    display: none;
}

@media (max-width: 768px) {
    .game-showcase-row__slider .swiper {
        height: auto;
        padding: 2px 0;
        overflow: visible;
    }

    .game-showcase-row__slider .swiper-slide {
        min-height: 0 !important;
        height: auto;
    }

    .game-showcase-row__slider .game-card {
        height: auto;
    }

    .game-showcase-row__slider .swiper-button-next,
    .game-showcase-row__slider .swiper-button-prev {
        display: none !important;
    }
}

/* Game Card */
.game-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.game-card__link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.game-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--background-color-alt);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.25s ease;
}

.game-card:hover .game-card__media {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.game-card .game-card__image-container {
    width: 100%;
    height: 100%;
    padding-bottom: 0;
    overflow: hidden;
}

.game-card:hover .game-card__image {
    transform: scale(1.05);
}

.game-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: rgba(255, 255, 255, 0.4);
}

.game-card__hover-info {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-6);
    min-height: 50%;
    box-sizing: border-box;
    padding: var(--space-28) var(--space-16) var(--space-12);
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.65) 45%,
        rgba(0, 0, 0, 0.15) 80%,
        transparent 100%
    );
    color: #ffffff;
    opacity: 0;
    transform: translateY(100%);
    transition:
        opacity 0.25s ease,
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    will-change: transform, opacity;
}

.game-card:hover .game-card__hover-info,
.game-card:focus-within .game-card__hover-info {
    opacity: 1;
    transform: translateY(0);
}

.game-card__title {
    font-size: var(--text-md);
    font-weight: var(--font-weight-bold);
    line-height: var(--leading-tight);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.game-card__stat {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #facc15;
    flex-shrink: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .game-card__hover-info {
        opacity: 1;
        transform: translateY(0);
        min-height: 48%;
        padding: var(--space-24) var(--space-12) var(--space-8);
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.65) 50%,
            rgba(0, 0, 0, 0.15) 80%,
            transparent 100%
        );
    }

    .game-card__title {
        font-size: var(--text-xs);
        font-weight: var(--font-weight-bold);
        line-height: var(--leading-tight);
    }

    .game-card__stat {
        font-size: var(--text-xxs);
    }
}

/* Games Grid for Filtered / Category Views */
.games-grid {
    display: grid;
    gap: var(--space-12);
    margin-block: var(--space-16);
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

@media (max-width: 640px) {
    .games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-8);
    }
}

.games-filtered-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-12);
    flex-wrap: wrap;
    gap: var(--space-8);
}

.games-filtered-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color-main);
}

.games-filtered-count {
    font-size: 0.9rem;
    color: var(--text-color-muted);
}

.games-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-48) var(--space-20);
    text-align: center;
    border-radius: var(--radius-lg);
    background-color: var(--background-color-alt);
    border: 1px dashed var(--border-color);
}

.games-empty-state__icon {
    font-size: 48px;
    color: var(--text-color-muted);
    margin-bottom: var(--space-12);
}

.games-empty-state__text {
    font-size: 1.05rem;
    color: var(--text-color-muted);
    margin-bottom: var(--space-16);
}

.games-pagination {
    margin-top: var(--space-24);
    display: flex;
    justify-content: center;
}

/* Dark Mode Overrides */
.dark .game-showcase-row__slider .swiper-button-next,
.dark .game-showcase-row__slider .swiper-button-prev {
    background: rgba(30, 41, 59, 0.94);
    color: #ffffff;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

.dark .game-showcase-row__slider .swiper-button-next:hover,
.dark .game-showcase-row__slider .swiper-button-prev:hover {
    background: rgba(51, 65, 85, 1);
}

/* Game Editor */
[data-game-editor] .game-player {
    max-width: calc(420px * (var(--game-player-aspect-ratio)) + 2px);
}

.game-editor__status:empty {
    display: none;
}

.game-editor__status {
    margin-block: 12px;
    color: var(--text-color-muted);
    font-size: 13px;
}

.games-filtered-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-12);
    min-width: 0;
}

.games-sort-control {
    margin-inline-start: auto;
    flex-shrink: 0;
}
