:root {
    --bg: #2e3440;
    --text: #eceff4;
    --accent: #88c0d0;
    --button: #5e81ac;
    --button-hover: #49688d;
    --input: #00000055;
    --input-text: #eceff4;
    --danger: #bf616a;
}

*, ::after, ::before {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
}

a {
    text-decoration: none;
}

/* CP Chilled (from CPJ's page CSS): DOM text inputs over the canvas (rexInputText search fields) show the scene art
   behind them; CPJ's scenes pass backgroundColor "green" as a placeholder */
.game input {
    background: none !important;
}

/* CP Chilled: the browser's autofill paints remembered / suggested fields with its own important colours (a grey-blue
   fill over the login box): those colour changes are pushed out by a transition that never finishes, so the field stays
   transparent over the scene's white box and keeps its own text colour */
.game input:-webkit-autofill,
.game input:-webkit-autofill:hover,
.game input:-webkit-autofill:focus,
.game input:autofill {
    transition: background-color 100000s 0s, color 100000s 0s;
    -webkit-box-shadow: none;
}
