/* Opt-in link styling and system dark theme. Load after styles.css. */
a {
    color: var(--label);
    text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
    :root {
        --label: hsla(0, 0%, 88%, 1);
        --secondaryLabel: hsla(360, 0%, 64%, 1);
        --tertiaryLabel: hsla(300, 0%, 40%, 1);
        --quaternaryLabel: hsla(0, 0%, 27%, 1);

        --systemBackground: hsla(0, 0%, 12%, 1);
        --secondarySystemBackground: hsla(60, 0%, 20%, 1);
        --tertiarySystemBackground: hsla(0, 0%, 27%, 1);

        --systemFill: hsla(240, 2%, 30%, 1);
        --secondarySystemFill: hsla(240, 2%, 29%, 1);
        --tertiarySystemFill: hsla(240, 2%, 26%, 1);
        --quaternarySystemFill: hsla(240, 2%, 25%, 1);

        --separator: hsla(0, 0%, 27%, 1);
        --opaqueSeparator: hsla(240, 2%, 22%, 1);

        --systemRed: hsla(3, 100%, 61%, 1);
        --systemOrange: hsla(36, 100%, 52%, 1);
        --systemYellow: hsla(50, 100%, 52%, 1);
        --systemGreen: hsla(129, 67%, 52%, 1);
        --systemMint: hsla(178, 72%, 64%, 1);
        --systemTeal: hsla(192, 62%, 64%, 1);
        --systemCyan: hsla(198, 88%, 66%, 1);
        --systemBlue: hsla(210, 100%, 52%, 1);
        --systemIndigo: hsla(241, 73%, 63%, 1);
        --systemPurple: hsla(280, 85%, 65%, 1);
        --systemPink: hsla(348, 100%, 61%, 1);
        --systemBrown: hsla(33, 29%, 54%, 1);
    }

    body {
        background-color: var(--systemBackground);
    }

    .game-detail-container {
        background-color: var(--secondarySystemBackground);
    }

    .content-container {
        background-color: var(--secondarySystemBackground);
    }
}
