A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
TypeScript amazon-primeelectronepic-games-launcherepic-games-storeepic-storegaminggoggog-galaxyheroic-games-launcherlinuxplay-gamesprotonsteamwine
.gameConfigContainer {
--game-page-gutter: clamp(16px, 4vw, 48px);
--game-page-max-width: 1280px;
--game-panel-opacity-dark: 0.55;
--game-panel-opacity-light: 0.8;
--game-panel-blur: var(--blur-light);
position: relative;
height: 100vh;
overflow: hidden;
isolation: isolate;
}
.gamePage__scroller {
display: flex;
flex-direction: column;
gap: 24px;
height: 100%;
padding: var(--game-page-gutter);
overflow-y: auto;
overflow-x: hidden;
}
.gameConfigContainer:has(.UpdateComponent) {
justify-content: center;
}
.gameConfigContainer .backgroundImage {
position: absolute;
z-index: -2;
inset: 0;
height: 100%;
width: 100%;
object-fit: cover;
object-position: center top;
}
.gamePage__scrim {
position: absolute;
z-index: -1;
inset: 0;
background:
linear-gradient(
180deg,
rgba(6, 10, 15, 0.34) 0%,
rgba(6, 10, 15, 0.52) 55%,
rgba(6, 10, 15, 0.8) 100%
),
linear-gradient(
90deg,
rgba(6, 10, 15, 0.72) 0%,
rgba(6, 10, 15, 0.55) 50%,
transparent 85%
);
pointer-events: none;
}
.gamePage__scroller::-webkit-scrollbar-thumb {
border-color: rgba(6, 10, 15, 0.55);
background: color-mix(in oklab, var(--ink-on-overlay) 70%, transparent);
background-clip: padding-box;
}
.gamePage__scroller::-webkit-scrollbar-thumb:hover {
background: color-mix(in oklab, var(--ink-on-overlay) 90%, transparent);
background-clip: padding-box;
}
.gamePage__back {
position: relative;
z-index: 2;
align-self: flex-start;
}
.gamePage__content {
display: flex;
flex-direction: column;
gap: 24px;
width: 100%;
max-width: var(--game-page-max-width);
margin: 0 auto;
padding-block-end: var(--space-xl);
}
.gameConfigContainer .gamePage__tabs {
background: oklch(
from var(--panel-surface) l c h /
clamp(
var(--game-panel-opacity-dark),
calc(var(--game-panel-opacity-dark) + (l - 0.5) * 0.9),
var(--game-panel-opacity-light)
)
);
backdrop-filter: blur(var(--game-panel-blur));
}
.gamePage__hero {
--hero-ink: var(--ink-on-overlay);
--hero-ink-soft: color-mix(
in oklab,
var(--ink-on-overlay) 88%,
var(--color-neutral-300)
);
--hero-ink-muted: color-mix(in oklab, var(--ink-on-overlay) 78%, transparent);
position: relative;
z-index: 2;
display: grid;
grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
align-items: center;
gap: var(--space-3xl-fixed);
padding-block: var(--space-xl-fixed);
}
.gamePage__hero .aboutGame {
max-width: 72ch;
text-align: start;
}
.gamePage__hero .aboutGame .summary {
gap: var(--space-xs-fixed);
color: var(--hero-ink-soft);
text-shadow: 0 1px 2px rgba(6, 10, 15, 0.6);
}
.aboutGame__toggle {
margin-block-start: var(--space-xs-fixed);
padding: 0;
border: 0;
background: none;
color: var(--hero-ink-soft, inherit);
font: inherit;
font-weight: var(--bold);
text-decoration: underline;
text-underline-offset: 2px;
text-align: start;
cursor: pointer;
}
.aboutGame__toggle:hover,
.aboutGame__toggle:focus-visible {
opacity: 0.85;
}
.gamePage__heroMain {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 12px;
min-width: 0;
}
.gamePage__title {
margin: 0;
font-size: var(--display-lg);
font-weight: var(--bold);
line-height: 1.05;
letter-spacing: -0.02em;
color: var(--hero-ink);
text-align: start;
overflow-wrap: anywhere;
}
.gamePage__badges {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
}
.gameActions {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 12px;
margin-block-start: var(--space-sm-fixed);
}
.gameActions .playButtons,
.gameActions .installButtons {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.gameActions .Button {
flex-shrink: 0;
}
.gameActions .Button--secondary:not(:hover):not(:focus-visible),
.gameActions .Button--ghost:not(:hover):not(:focus-visible) {
--button-surface: var(--bg-surface);
}
.gameActions .mainBtn {
min-width: 150px;
}
.gameActions .playWithLogs {
min-width: 0;
}
.gameActions .Button--primary {
box-shadow:
var(--button-highlight),
0 0 28px -6px var(--navbar-accent, var(--accent));
}
.gameActions__uninstall svg {
color: var(--danger, #ef4444);
}
.gameActions__favourite[aria-pressed='true'] svg {
color: var(--danger, #ef4444);
}
.gameActions__update {
position: relative;
}
.gameActions__update svg {
color: var(--success, var(--status-success));
}
.gameActions__update::after {
content: '';
position: absolute;
top: 8px;
inset-inline-end: 8px;
width: 9px;
height: 9px;
border-radius: 999px;
background: var(--on-panel-success);
box-shadow: 0 0 0 2px var(--panel-surface);
}
.gameStatus {
text-align: start;
width: 100%;
}
.gameStatus .installProgress {
margin-block-end: 8px;
}
.gameStatus .installProgress .ProgressBar__value {
color: var(--hero-ink);
}
.gameStatus__label {
margin: 0;
font-size: var(--body-sm);
color: var(--hero-ink-muted);
}
.gameStatus__label--busy {
color: var(--hero-ink-muted);
}
.gameStatus__label a {
color: inherit;
}
.gamePage__media {
min-width: 0;
}
.gamePage__storeLink {
display: flex;
padding: 0;
border: 0;
background: none;
cursor: pointer;
}
.gamePage__storeLink:hover,
.gamePage__storeLink:focus-visible {
opacity: 0.85;
}
.gamePage__infoColumns {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
align-items: start;
gap: var(--space-xl-fixed) var(--space-3xl-fixed);
}
.gamePage__infoColumn {
display: flex;
flex-direction: column;
min-width: 0;
}
.gamePage__infoTitle {
margin: 0 0 var(--space-md-fixed);
font-size: var(--title-md);
font-weight: var(--bold);
color: var(--on-panel, var(--text-default));
text-align: start;
}
.gameScores .Score__value {
font-size: inherit;
line-height: inherit;
}
.gamePage__tabs {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
gap: 24px;
}
.gameConfigContainer .gamePage__tabs.Panel--padding-lg {
padding-block-start: var(--space-md-fixed);
}
.gamePage__tabs > [role='tabpanel']:empty {
display: none;
}
.overviewTab > div {
display: flex;
flex-direction: column;
gap: var(--space-2xl-fixed);
}
.aboutGame .summary {
display: flex;
flex-direction: column;
gap: 16px;
font-size: var(--body-md);
font-weight: var(--regular);
line-height: var(--leading-normal, 1.5);
color: var(--on-panel-muted, var(--text-secondary));
text-align: start;
}
.aboutGame .summary p {
margin: 0;
}
.infoTab > div {
display: flex;
flex-direction: column;
gap: var(--space-xl-fixed);
}
.extraTab > div {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
align-items: start;
gap: 16px;
}
.extraTab__title {
display: flex;
align-items: center;
gap: 8px;
margin: 0 0 16px;
font-size: var(--title-sm);
font-weight: var(--semibold);
color: var(--on-panel, var(--text-default));
}
.infoTab .truncatedPath {
display: inline-block;
max-width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: bottom;
}
.infoTab .DetailList__row--clickable:hover .truncatedPath {
overflow: visible;
white-space: normal;
}
.steamDeckCompat {
display: inline-flex;
align-items: center;
gap: 8px;
}
.achievementsTab .achievement-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 16px;
}
.achievementsTab .achievement-item {
display: flex;
align-items: center;
gap: 12px;
padding: 12px;
border-radius: var(--radius-sm);
background: var(--input-background);
}
.achievementsTab .achievement-icon {
height: 56px;
width: 56px;
flex-shrink: 0;
}
.achievementsTab .achievement-icon img {
border-radius: 8px;
height: 100%;
width: 100%;
object-fit: cover;
}
.achievementsTab .achievement-icon.rarity-epic {
box-shadow: 0 0 6px gold;
border-radius: 8px;
}
.achievementsTab .achievement-icon.rarity-legendary {
box-shadow: 0 0 8px orangered;
border-radius: 8px;
}
.achievementsTab .achievement-text {
display: flex;
flex-direction: column;
gap: 2px;
text-align: start;
min-width: 0;
}
.achievementsTab .achievement-title {
font-size: var(--text-md);
font-weight: var(--semibold);
color: var(--on-panel, var(--text-default));
}
.achievementsTab .achievement-desc {
font-size: var(--text-xs);
color: var(--text-secondary);
}
.achievementsTab .achievement-rarity {
font-size: var(--text-xs);
color: var(--text-muted, var(--text-secondary));
}
.achievementsTab .achievement-item.locked .achievement-text {
filter: opacity(0.7) contrast(0.7);
}
.achievementsTab .achievement-item.hidden-achievement .achievement-icon img {
filter: blur(4px) opacity(0.7);
}
.gameConfigContainer .anticheatInfo {
max-width: 72ch;
margin: 0;
}
.overviewTab .reportProblem {
align-self: flex-start;
}
.gameConfigContainer .wikiLink {
align-self: stretch;
}
.game-actions {
position: relative;
display: flex;
flex-direction: column;
}
.gameActions .game-actions .toggle {
width: 44px;
}
.game-actions .gameTools {
position: absolute;
inset-inline-end: 0;
top: calc(100% + 8px);
z-index: 3;
max-height: 0;
padding: 0;
overflow: hidden;
opacity: 0;
visibility: hidden;
pointer-events: none;
border-radius: var(--radius-sm);
background: var(--background-darker, #0a0e13);
border: 1px solid transparent;
transition: all 0.2s;
}
.game-actions .gameTools .link {
width: 100%;
text-align: start;
white-space: nowrap;
font-size: var(--text-md);
background: none;
color: var(--navbar-inactive);
}
.game-actions .gameTools .link:hover {
color: var(--navbar-active);
}
.game-actions.open .gameTools {
padding: var(--space-md);
max-height: 100vh;
opacity: 1;
visibility: visible;
pointer-events: all;
border-color: var(--panel-divider, var(--divider));
box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
}
.App.isRTL .gameConfigContainer .game-actions .gameTools {
inset-inline-end: unset;
inset-inline-start: 0;
}
@container main-content (max-width: 1100px) {
.gamePage__hero {
grid-template-columns: minmax(0, 1fr);
}
.gamePage__media {
width: 100%;
max-width: 640px;
}
}
@container main-content (max-width: 700px) {
.gameConfigContainer {
--game-page-gutter: 16px;
}
.gamePage__title {
font-size: var(--display-md);
}
.gameActions,
.gameActions .playButtons,
.gameActions .installButtons {
gap: 10px;
}
.gameActions .mainBtn {
min-width: 0;
}
}
.cloudSaves__trigger {
border: none;
background: none;
padding: 0;
font: inherit;
color: inherit;
text-decoration: underline;
cursor: pointer;
}
.cloudSaves__trigger:hover {
color: var(--navbar-accent, var(--accent));
}
.cloudSaves__unsupported {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--danger, #ef4444);
}
.game-actions .gameTools .submenu {
font-size: var(--text-md);
gap: 2px;
}
.game-actions .gameTools .link.buttonWithIcon {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
padding: 8px 10px;
border-radius: var(--radius-sm);
margin: 0;
font-size: var(--text-md);
font-weight: var(--medium);
transition:
background-color 150ms ease,
color 150ms ease;
}
.game-actions .gameTools .link.buttonWithIcon:hover {
background: var(--input-background);
color: var(--text-hover, var(--navbar-active));
}
.game-actions .gameTools .link svg {
flex-shrink: 0;
}
/* Steam DLC list in install panel. */
.installationInfo .steamDlcInfo {
display: flex;
flex-direction: column;
gap: var(--space-xs);
text-align: start;
}
.installationInfo .steamDlcList {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: var(--space-3xs, 2px);
}
.installationInfo .steamDlcRow {
display: flex;
align-items: center;
gap: var(--space-md);
padding: var(--space-3xs, 2px) 0;
}
.installationInfo .steamDlcImage {
width: 92px;
height: 43px;
flex-shrink: 0;
object-fit: cover;
border-radius: 4px;
background: var(--neutral-04);
}
.installationInfo .steamDlcTitle {
flex-grow: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.installationInfo .steamDlcStatus {
display: inline-flex;
align-items: center;
flex-shrink: 0;
padding: 0;
border: none;
background: none;
cursor: pointer;
}
.installationInfo .steamDlcStatus svg {
width: 22px;
height: 22px;
}
.installationInfo .steamDlcStatus.installed {
color: var(--success);
}
.installationInfo .steamDlcStatus.notInstalled {
color: var(--danger);
}
.installationInfo .steamDlcStatus.notBought {
color: var(--text-secondary);
}
.installationInfo .steamDlcStoreBtn {
display: inline-flex;
align-items: center;
flex-shrink: 0;
color: var(--text-secondary);
}
.installationInfo .steamDlcStoreBtn:hover,
.installationInfo .steamDlcStoreBtn:focus-visible {
color: var(--text-default);
}
.installationInfo .steamDlcStoreBtn svg {
width: 20px;
height: 20px;
}
/* Steam Cloud, styled as ghost button. */
.gameActions .gamePageCloudSync {
flex-shrink: 0;
width: 44px;
height: 44px;
padding: 11px;
box-sizing: border-box;
border: 1px solid transparent;
border-radius: var(--radius-sm);
background: var(--input-background);
color: var(--on-panel, var(--text-default));
transition: border-color 150ms ease;
}
.gameActions .gamePageCloudSync:hover,
.gameActions .gamePageCloudSync:focus-visible {
border-color: var(--divider);
color: var(--text-default);
}
.gamePage__installError {
width: 100%;
max-width: 44rem;
}