:root {
    --ge-surface: #101333;
    --ge-surface-raised: #171a42;
    --ge-text: #f7f8ff;
    --ge-muted: #c4c8dc;
    --ge-accent: #f90cff;
    --ge-focus: #7dd3fc;
}

html {
    overflow-x: hidden;
}

body {
    min-width: 320px;
    overflow-wrap: anywhere;
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

a,
button,
input,
select,
textarea {
    touch-action: manipulation;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--ge-focus);
    outline-offset: 3px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0c0c35;
    box-shadow: 0 2px 12px rgb(0 0 0 / 24%);
}

.header-menu-wrap.is-open {
    display: block !important;
}

.row > [class*="col-"] {
    min-width: 0;
}

.post-card,
.grid-inner,
.footer-item,
.latest-match-box,
.product-details-wrap,
.product-details {
    height: 100%;
}

.post-card,
.grid-inner,
.latest-match-box {
    display: flex;
    flex-direction: column;
}

.post-card .post-content,
.grid-inner .entry-content,
.latest-match-info {
    flex: 1 1 auto;
}

.post-card img,
.grid-inner img,
.latest-match-box img {
    width: 100%;
    object-fit: cover;
}

.post-image-placeholder {
    min-height: 350px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, #161643, #5222a8);
}

.post-image-placeholder .fa-gamepad {
    font-size: clamp(3rem, 9vw, 6rem);
}

.thumb-placeholder {
    min-height: 72px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.85);
    background: #26265f;
}

.category-list li {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr) auto;
    gap: .65rem;
}

.category-list li > a:first-child {
    width: 1.5rem;
    display: inline-grid;
    place-items: center;
}

.category-list li > a:nth-child(2) {
    min-width: 0;
    text-align: left;
}

.category-list li span {
    width: auto;
    min-width: 3rem;
    padding-inline: .5rem;
    white-space: nowrap;
}

.article-hero-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 2rem;
}

.footer-items > [class*="col-"] {
    display: flex;
    margin-bottom: 1.5rem;
}

.footer-item {
    width: 100%;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ge-lightbox {
    width: min(94vw, 1200px);
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #090b20;
    color: var(--ge-text);
    box-shadow: 0 20px 80px rgb(0 0 0 / 65%);
}

.ge-lightbox::backdrop {
    background: rgb(0 0 0 / 82%);
}

.ge-lightbox img {
    display: block;
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
}

.ge-lightbox-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 1;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: rgb(0 0 0 / 72%);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.ge-lightbox-caption {
    margin: 0;
    padding: .8rem 1rem 1rem;
    color: var(--ge-muted);
}

@media (max-width: 991.98px) {
    .primary-header-inner {
        min-height: 76px;
    }

    .header-right {
        gap: 12px !important;
        margin-left: 12px !important;
    }

    .header-right .default-btn {
        padding-inline: 16px;
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    .header-right .default-btn {
        font-size: 0;
        min-width: 44px;
        padding-inline: 12px;
    }

    .header-right .default-btn::before {
        content: "Account";
        font-size: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
