/* Low-end render guards and motion fallbacks. */

html.gsc-lite-render-mode{
    scroll-behavior: auto;
}

@supports (content-visibility: auto) {
    html.gsc-lite-render-mode .game-tile,
html.gsc-lite-render-mode .category-card,
html.gsc-lite-render-mode .about-panel,
html.gsc-lite-render-mode .game-comments-section{
        content-visibility: visible;
        contain-intrinsic-size: none;
    }
}

html.gsc-lite-render-mode .game-tile,
html.gsc-lite-render-mode .category-card,
html.gsc-lite-render-mode .member-dashboard-card,
html.gsc-lite-render-mode .member-sidebar-link,
html.gsc-lite-render-mode .single-game-description-box,
html.gsc-lite-render-mode .game-comments-section,
html.gsc-lite-render-mode .theme-ad-slot,
html.gsc-lite-render-mode .single-game-player-shell,
html.gsc-lite-render-mode .game-runtime-stage{
    contain: layout paint;
    isolation: isolate;
}

html.gsc-lite-render-mode .game-tile-thumb::after,
html.gsc-lite-render-mode .category-icon::after{
    display: none !important;
    animation: none !important;
    opacity: 0 !important;
}

html.gsc-lite-render-mode .game-tile-thumb img.gsc-card-image,
html.gsc-lite-render-mode .game-tile-thumb.is-media-loading img.gsc-card-image,
html.gsc-lite-render-mode .game-tile-thumb.is-media-loaded img.gsc-card-image.img-loaded{
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
}

html.gsc-lite-render-mode .single-game-rating-star,
html.gsc-lite-render-mode .single-game-inline-action,
html.gsc-lite-render-mode .game-comment-vote-button,
html.gsc-lite-render-mode .header-auth-button,
html.gsc-lite-render-mode .member-dashboard-card,
html.gsc-lite-render-mode .member-sidebar-link{
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
}

html.gsc-lite-render-mode iframe,
html.gsc-lite-render-mode .theme-ad-slot__content iframe,
html.gsc-lite-render-mode .game-runtime-stage iframe{
    contain: layout paint;
    isolation: isolate;
}

html.gsc-lite-render-mode .game-runtime-stage{
    transition: none;
}

html.gsc-user-is-scrolling .theme-ad-slot,
html.gsc-user-is-scrolling .single-game-player-shell,
html.gsc-user-is-scrolling .game-runtime-stage{
    transition: none !important;
}

html.gsc-user-is-scrolling .game-tile-thumb::after{
    animation-play-state: paused;
}

html.gsc-lite-render-mode.gsc-card-load-enhanced .game-tile-thumb::after{
    display: block !important;
}

html.gsc-lite-render-mode.gsc-card-load-enhanced .game-tile-thumb.is-media-loading::after{
    opacity: 1 !important;
    animation: gsc-media-spinner 0.8s linear infinite !important;
}

html.gsc-lite-render-mode.gsc-card-load-enhanced .game-tile-thumb.is-media-loaded::after{
    opacity: 0 !important;
    animation: none !important;
}

html.gsc-lite-render-mode.gsc-card-load-enhanced .game-tile-thumb.is-media-loading img.gsc-card-image{
    opacity: 0 !important;
    visibility: hidden !important;
}

html.gsc-lite-render-mode.gsc-card-load-enhanced .game-tile-thumb.is-media-loaded img.gsc-card-image.img-loaded,
html.gsc-lite-render-mode.gsc-card-load-enhanced .game-tile-thumb-placeholder img.gsc-card-image--placeholder{
    opacity: 1 !important;
    visibility: visible !important;
}

html.gsc-lite-render-mode.gsc-card-load-enhanced.gsc-user-is-scrolling .game-tile-thumb.is-media-loading::after{
    animation-play-state: running !important;
}

@media (prefers-reduced-motion: reduce) {
    html.gsc-card-load-enhanced .game-tile-thumb.is-media-loading::after{
        animation: none !important;
    }
}

html.gsc-lite-render-mode.gsc-card-load-enhanced .game-tile-thumb.is-media-loading .game-tile-thumb-placeholder img.gsc-card-image--placeholder{
    opacity: 1 !important;
    visibility: visible !important;
}

@media (hover: none), (pointer: coarse), (max-width: 900px) {
    html.gsc-lite-render-mode :where(.game-tile,.category-card,.member-dashboard-card,.member-sidebar-link,.single-game-inline-action,.game-comment-vote-button,.header-auth-button,.footer-social-links a,.header-dropdown-links a){
        transition-property: transform, border-color, background, background-color, color, filter, opacity;
        transition-duration: 0.18s;
        transition-timing-function: ease;
        animation: initial !important;
    }

    html.gsc-lite-render-mode :where(.game-tile-thumb img,.game-tile-rating-badge,.game-tile-meta,.game-tile::after){
        transition-property: opacity, transform, filter, background;
        transition-duration: 0.22s;
        transition-timing-function: ease;
        animation: initial !important;
    }

    .game-tile:is(:hover,:focus-within,:active){
        transform: translateY(-3px) scale(1.01) !important;
        border-color: rgba(255,255,255,0.32) !important;
    }

    .game-tile:is(:hover,:focus-within,:active) .game-tile-thumb img.img-loaded{
        transform: scale(1.05) !important;
        filter: brightness(0.9) !important;
    }

    .game-tile:is(:hover,:focus-within,:active) :where(.game-tile-rating-badge,.game-tile-meta){
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .game-tile:is(:hover,:focus-within,:active)::after{
        opacity: 1 !important;
        background: linear-gradient(180deg, rgba(18,12,28,.02) 0%, rgba(18,12,28,.05) 40%, rgba(18,12,28,.15) 64%, rgba(18,12,28,.34) 84%, rgba(18,12,28,.54) 100%) !important;
    }

    .category-card:is(:hover,:focus,:focus-visible,:active){
        transform: translateY(-3px) !important;
    }

    :where(.member-dashboard-card:hover,.member-sidebar-link:hover,.single-game-inline-action:hover,.game-comment-vote-button:hover,.header-auth-button:hover,.footer-social-links a:hover,.header-dropdown-links a:hover){
        transform: translateY(-1px) !important;
    }

    :where(.header-panel,.header-panel-account,.header-dropdown,.search-dropdown,.account-dropdown,.single-game-share-menu,.game-tile-rating-badge,.single-game-inline-toast){
        -webkit-backdrop-filter: blur(10px) !important;
        backdrop-filter: blur(10px) !important;
    }

    :where(.header-panel,.header-panel-account){
        -webkit-backdrop-filter: blur(14px) !important;
        backdrop-filter: blur(14px) !important;
    }

    .game-tile-rating-badge{
        -webkit-backdrop-filter: blur(8px) !important;
        backdrop-filter: blur(8px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.gsc-lite-render-mode .game-tile,
html.gsc-lite-render-mode .category-card,
html.gsc-lite-render-mode .member-dashboard-card,
html.gsc-lite-render-mode .member-sidebar-link,
html.gsc-lite-render-mode .single-game-inline-action,
html.gsc-lite-render-mode .game-comment-vote-button,
html.gsc-lite-render-mode .header-auth-button,
html.gsc-lite-render-mode .footer-social-links a,
html.gsc-lite-render-mode .header-dropdown-links a,
html.gsc-lite-render-mode .game-tile-thumb img,
html.gsc-lite-render-mode .game-tile-rating-badge,
html.gsc-lite-render-mode .game-tile-meta{
        transition: none !important;
        animation: none !important;
    }
}

/* Managed Ad Runtime + Game Runtime Calm Mode
   Reklam kutusu baştan sabit kalır; gerçek reklam kodu sadece görünürlüğe yaklaşınca içeri alınır. */
.theme-ad-slot--adsense ins.adsbygoogle[data-gsc-adsense-pending]{
    display: block !important;
    min-height: var(--gsc-ad-height);
    background: transparent;
}

html.gsc-ad-cold-start .theme-ad-slot,
html.gsc-managed-ad-runtime .theme-ad-slot{
    contain: layout paint;
    isolation: isolate;
}

html.gsc-lite-render-mode .theme-ad-slot,
html.gsc-lite-render-mode.gsc-user-is-scrolling .theme-ad-slot{
    -webkit-transform: none !important;
    transform: none !important;
    backface-visibility: visible !important;
    will-change: auto !important;
}

html.gsc-lite-render-mode .game-runtime-stage,
html.gsc-game-runtime-active .game-runtime-stage,
html.gsc-game-runtime-active .game-runtime-mount,
html.gsc-game-runtime-active .game-runtime-frame{
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    will-change: transform !important;
    contain: layout paint style;
    isolation: isolate;
}

html.gsc-game-runtime-active.gsc-lite-render-mode .top-shell,
html.gsc-game-runtime-active.gsc-lite-render-mode .header-panel,
html.gsc-game-runtime-active.gsc-lite-render-mode .header-panel-account,
html.gsc-game-runtime-active.gsc-lite-render-mode .header-dropdown,
html.gsc-game-runtime-active.gsc-lite-render-mode .search-dropdown,
html.gsc-game-runtime-active.gsc-lite-render-mode .account-dropdown,
html.gsc-game-runtime-active.gsc-lite-render-mode .single-game-share-menu,
html.gsc-game-runtime-active.gsc-lite-render-mode .single-game-inline-toast,
html.gsc-user-is-scrolling.gsc-lite-render-mode .header-panel,
html.gsc-user-is-scrolling.gsc-lite-render-mode .header-panel-account,
html.gsc-user-is-scrolling.gsc-lite-render-mode .header-dropdown,
html.gsc-user-is-scrolling.gsc-lite-render-mode .search-dropdown,
html.gsc-user-is-scrolling.gsc-lite-render-mode .account-dropdown{
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
}

html.gsc-game-runtime-active.gsc-lite-render-mode .member-dashboard-card,
html.gsc-game-runtime-active.gsc-lite-render-mode .member-sidebar-link,
html.gsc-game-runtime-active.gsc-lite-render-mode .single-game-inline-action,
html.gsc-game-runtime-active.gsc-lite-render-mode .game-comment-vote-button,
html.gsc-game-runtime-active.gsc-lite-render-mode .header-auth-button,
html.gsc-game-runtime-active.gsc-lite-render-mode .footer-social-links a,
html.gsc-game-runtime-active.gsc-lite-render-mode .header-dropdown-links a{
    transition: none !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
    will-change: auto !important;
}

html.gsc-game-runtime-active.gsc-lite-render-mode .single-game-description-box,
html.gsc-game-runtime-active.gsc-lite-render-mode .game-comments-section,
html.gsc-game-runtime-active.gsc-lite-render-mode .related-games-section,
html.gsc-game-runtime-active.gsc-lite-render-mode .theme-ad-slot{
    contain: layout paint;
    isolation: isolate;
}

@supports (content-visibility: auto) {
    html.gsc-game-runtime-active.gsc-lite-render-mode .single-game-description-box,
    html.gsc-game-runtime-active.gsc-lite-render-mode .game-comments-section,
    html.gsc-game-runtime-active.gsc-lite-render-mode .related-games-section,
    html.gsc-game-runtime-active.gsc-lite-render-mode .theme-ad-slot--single-bottom,
    html.gsc-game-runtime-active.gsc-lite-render-mode .theme-ad-slot--footer{
        content-visibility: auto;
        contain-intrinsic-size: 420px;
    }
}

@media (max-width: 768px) {
    html.gsc-game-runtime-active.gsc-lite-render-mode .single-game-player-shell,
    html.gsc-game-runtime-active.gsc-lite-render-mode .game-runtime-stage,
    html.gsc-game-runtime-active.gsc-lite-render-mode .game-runtime-stage iframe{
        transition: none !important;
        animation: none !important;
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        will-change: transform !important;
        backface-visibility: hidden !important;
    }
}

/* Cold visit paint guard: reduce expensive paint waves without disabling features. */
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .top-shell,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .site-header,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .header-panel,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .header-panel-account,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .header-dropdown,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .search-dropdown,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .account-dropdown,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .single-game-share-menu,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .single-game-inline-toast{
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
}

html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .theme-ad-slot{
    -webkit-transform: none !important;
    transform: none !important;
    backface-visibility: visible !important;
    will-change: auto !important;
    contain: layout paint;
    isolation: isolate;
}

html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .single-game-player-shell,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .game-runtime-stage{
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    will-change: transform !important;
    contain: layout paint;
    isolation: isolate;
}

html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .member-dashboard-card,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .member-sidebar-link,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .single-game-inline-action,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .game-comment-vote-button,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .header-auth-button,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .footer-social-links a,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode .header-dropdown-links a{
    transition: none !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
    will-change: auto !important;
}

html.gsc-cold-visit-paint-guard.gsc-lite-render-mode.gsc-card-load-enhanced .game-tile-thumb.is-media-loading::after{
    opacity: 0.42 !important;
    animation: none !important;
}

html.gsc-cold-visit-paint-guard.gsc-lite-render-mode.gsc-card-load-enhanced .game-tile-thumb.is-media-loading img.gsc-card-image,
html.gsc-cold-visit-paint-guard.gsc-lite-render-mode.gsc-card-load-enhanced .game-tile-thumb.is-media-loaded img.gsc-card-image.img-loaded{
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
}

html.gsc-cold-visit-paint-guard.gsc-managed-ad-runtime .theme-ad-slot--adsense ins.adsbygoogle[data-gsc-adsense-pending]{
    pointer-events: none;
}

html.gsc-user-is-scrolling .game-runtime-mount,
html.gsc-user-is-scrolling .game-runtime-frame,
html.gsc-user-is-scrolling .game-runtime-stage iframe,
html.gsc-user-is-scrolling .theme-ad-slot__content iframe,
html.gsc-user-is-scrolling .theme-ad-slot__content ins{
    pointer-events: none !important;
}

