html, img, .color {
    filter: invert(1) hue-rotate(180deg);
}

.shopdarkmode-background-preserved img {
    filter: none;
}

html.shopdarkmode-game-page .shopdarkmode-game-ui-preserved {
    filter: invert(1) hue-rotate(180deg) !important;
}

html.shopdarkmode-game-page .pq-topbar,
html.shopdarkmode-game-page .pq-console,
html.shopdarkmode-game-page .pq-order,
html.shopdarkmode-game-page .pq-guest-hint,
html.shopdarkmode-game-page .pq-toast,
html.shopdarkmode-game-page .pq-contest,
html.shopdarkmode-game-page .pq-howto,
html.shopdarkmode-game-page .pq-seo,
html.shopdarkmode-game-page .pq-modal,
html.shopdarkmode-game-page .pq-rotate-hint {
    filter: invert(1) hue-rotate(180deg) !important;
}

html.shopdarkmode-game-page .shopdarkmode-game-ui-preserved *,
html.shopdarkmode-game-page .pq-topbar *,
html.shopdarkmode-game-page .pq-console *,
html.shopdarkmode-game-page .pq-order *,
html.shopdarkmode-game-page .pq-guest-hint *,
html.shopdarkmode-game-page .pq-toast *,
html.shopdarkmode-game-page .pq-contest *,
html.shopdarkmode-game-page .pq-howto *,
html.shopdarkmode-game-page .pq-seo *,
html.shopdarkmode-game-page .pq-modal *,
html.shopdarkmode-game-page .pq-rotate-hint *,
html.shopdarkmode-game-page .shopdarkmode-game-ui-preserved canvas,
html.shopdarkmode-game-page .shopdarkmode-game-ui-preserved video,
html.shopdarkmode-game-page .shopdarkmode-game-ui-preserved iframe {
    filter: none !important;
}

html.shopdarkmode-game-page.shopdarkmode-game-fullscreen {
    filter: none !important;
}

html.shopdarkmode-game-page.shopdarkmode-game-fullscreen #printquest-app,
html.shopdarkmode-game-page.shopdarkmode-game-fullscreen #printquest-app *,
html.shopdarkmode-game-page #printquest-app:fullscreen,
html.shopdarkmode-game-page #printquest-app:fullscreen *,
html.shopdarkmode-game-page #printquest-app:-webkit-full-screen,
html.shopdarkmode-game-page #printquest-app:-webkit-full-screen *,
html.shopdarkmode-game-page #printquest-app:-moz-full-screen,
html.shopdarkmode-game-page #printquest-app:-moz-full-screen *,
html.shopdarkmode-game-page #printquest-app:-ms-fullscreen,
html.shopdarkmode-game-page #printquest-app:-ms-fullscreen * {
    filter: none !important;
}

/* The guarantee notice forbids generic image filters. Restore the same
   root-filter compensation that other product images receive in this mode. */
.euw-notice .euw-notice__figure .euw-notice__image {
    filter: invert(1) hue-rotate(180deg) !important;
}
