/* Local-only adjustments. Component classes and their original CSS remain intact. */

/* Fonts were not included in the source archive: use the locally available family or sans-serif. */
html { font-family: Geologica, sans-serif; }

/* The saved Next.js list contained absolute rows and a 4488px spacer.
   Keep those same row/cell elements, but lay them out without a JS virtualizer. */
.GamesList_virtualList__9STWP {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    height: auto;
}
.GamesList_row__LQ1Ov { display: contents; }
.GamesListItem_cell__k_BvN { min-width: 0; }
.GameCard_content__byUA8 { display: block; text-decoration: none; color: inherit; }
.GameCard_content__byUA8 picture { display: block; width: 100%; height: 100%; }
.GameCard_image__uUJYg { display: block; }

@media (min-width: 600px) {
    .GamesList_virtualList__9STWP { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 900px) {
    .GamesList_virtualList__9STWP { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
    .GamesList_virtualList__9STWP { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Tap the full image on a touch screen; do not require a simulated hover first. */
@media (hover: none), (pointer: coarse) {
    .GameCard_wrapper__nUbSA:not(.GameCard_disabled__gpzK4):hover,
    .GameCard_wrapper__nUbSA:not(.GameCard_disabled__gpzK4):focus-within { transform: none; }
    .GameCard_wrapper__nUbSA:not(.GameCard_disabled__gpzK4):hover .GameCard_hover_content__tHEu_ {
        visibility: hidden; opacity: 0; pointer-events: none;
    }
    .GameCard_wrapper__nUbSA:not(.GameCard_disabled__gpzK4):hover .GameCard_image__uUJYg {
        filter: none; transform: none;
    }
    .GameCard_wrapper__nUbSA:not(.GameCard_disabled__gpzK4):hover .GameCard_labels_block__1_Ocx { opacity: 1; }
}

/* The original search button was disabled pending React hydration. */
.GamesSearch_action_button__iC0JX { cursor: pointer; }
.GamesListFilters_providers__BwuIY, .GamesSearch_form__xBjGm { min-width: 0; }
.SelectTrigger_value__OKL2R { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#goto-form { display: none !important; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Do not retain the browser's initial white input background for the original
   99999-second autofill transition while styles are loading. */
.SearchInput_input__C_HDI input { background: transparent; transition: none; }
.SearchInput_input__C_HDI { padding-right: 44px; }

/* The visual hover layer must not intercept clicks on the full-card link. */
.GameCard_overlay__kBWgE { pointer-events: none; }
.GameCard_overlay__kBWgE a { pointer-events: auto; }
