@import url("https://rsms.me/inter/inter.css");
/* Color Definitions */
:root {
  --cream: #f9f7ef;
  --cream-10: #fbf2e8;
  --cream-20: #faeada;
  --black: #1e1e1d; /* UNUSED */
  --psd-darkest-gray: #212223; /* html bg, bottom dark section */
  --screen-black: #312f28; /* submit button text, navbar text, black section bg, yellow/gray section text, nav text, idea text, game card border, game card text, developer/credits button text, */
  --psd-mid-gray: #64676c;
  --psd-dark-gray: #7a8085; /* header/nav bg */
  --screen-white: #b1afa8; /* credits button bg, specs h3 text */
  --psd-lightest-gray: #efefef; /* buy page bg  */
  --psd-light-gray: #e8e4da; /* no-spoilers bg, game card bg, idea cloud bg */
  --white: #ffffff; /* html text, purple/dark section text, buy button text, button text, form border */
  --brand-yellow: #ffc833; /* black section text, yellow section bg, spec icon, form label, submit bg, */
  --device-yellow: #fbc651; /* UNUSED */
  --red: #ef5023; /* Global messages with error class */
  --muted-red: #e88984; /* UNUSED */
  --tomato-red: #ff004e;
  --purple: #6c00ff; /* purple section bg, buy button bg, help button bg form input, global messages */
  --muted-purple: #9d70db; /* UNUSED */
  --blue: #306fb6; /* UNUSED */
  --muted-blue: #5e99d0; /* UNUSED */
  --green: #2c7d46; /* UNUSED */
  --muted-green: #60be83; /* UNUSED */
}

/* P3 variants */
@supports (color: color(display-p3 1 1 1/1)) {
  :root {
    --black: color(display-p3 0.098 0.098 0.095);
    --screen-black: color(display-p3 0.192 0.184 0.157);
    --screen-white: color(display-p3 0.694 0.686 0.659);
    --white: color(display-p3 1 1 1);
    --psd-darkest-gray: color(display-p3 0.129 0.133 0.137);
    --psd-mid-gray: color(display-p3 0.392 0.404 0.424);
    --psd-dark-gray: color(display-p3 0.478 0.502 0.522);
    --psd-light-gray: color(display-p3 0.91 0.894 0.855);
    --psd-lightest-gray: color(display-p3 0.937 0.937 0.937);
    --brand-yellow: color(display-p3 1 0.784 0.2);
    --device-yellow: color(display-p3 0.984 0.776 0.318);
    --red: color(display-p3 0.937 0.314 0.137);
    --muted-red: color(display-p3 0.91 0.537 0.518);
    --tomato-red: color(display-p3 1 0 .3046);
    --purple: color(display-p3 0.424 0 1 / 1);
    --muted-purple: color(display-p3 0.616 0.439 0.859);
    --blue: color(display-p3 0.188 0.435 0.714);
    --muted-blue: color(display-p3 0.369 0.6 0.816);
    --green: color(display-p3 0.173 0.49 0.275);
    --muted-green: color(display-p3 0.376 0.745 0.514);
  }
}
* {
  margin: 0;
  padding: 0;
  line-height: calc(1em + 0.5rem);
  position: relative;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

input, button, textarea, select {
  font: inherit;
}

button {
  all: unset;
}

ul[role=list], ol[role=list] {
  list-style: none;
  padding: 0;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img, picture, figure, video, canvas, svg {
  display: block;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* COLORS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
:root {
  --page-bg: var(--cream);
  --masthead-main: #c1d8d8;
  --masthead-offset: #d7e1e000;
  --site-orange: #F8622C;
  --primary-text: black;
  --secondary-text: var(--primary-text);
  --dashed-line: rgba(60, 94, 122, 0.15);
  --animation-time: 200ms;
  --animation-delay: 10ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-bg: #21201d;
    --masthead-main: #332f2d;
    --primary-text: white;
    --dashed-line: rgba(152, 191, 225, 0.2);
  }
}
/* BASE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
html {
  background-color: #EDF0F0;
}

body {
  min-height: 100vh;
  color: var(--primary-text);
  font-family: "Courier", "Courier Prime", serif;
}

details summary {
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

/* UTILITY CLASSES
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.hide {
  display: none !important;
}

.debug-borders {
  border: 1px solid red;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.baseline-text {
  min-height: 12px;
  /* background-color: red; */
}

.baseline-text::after {
  content: "";
  height: 100%;
  display: inline-block;
}

.width-wide {
  width: clamp(300px, 90%, 1150px);
  margin-left: auto;
  margin-right: auto;
}

.width-normal {
  width: clamp(300px, 85%, 850px);
  margin-left: auto;
  margin-right: auto;
}

.width-narrow {
  width: clamp(300px, 80%, 42rem);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .width-wide, .width-normal, .width-narrow {
    width: 100%;
    padding-left: 13px;
    padding-right: 13px;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
  }
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Overscrolls
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.overscroll {
  width: 100%;
  position: fixed;
  height: 300px;
  z-index: -2;
}

.overscroll.top {
  top: 0;
  transform: translateY(-299px);
  background: var(--overscroll-top);
}

.overscroll.bottom {
  bottom: 0;
  transform: translateY(299px);
  background: var(--overscroll-bottom);
}

.overscroll.mobile {
  height: 200px;
  z-index: -3;
  transform: translateY(0) scale(-1, -1);
}

/* Overscrolls [End] */
