@font-face {
  font-family: "Inter-Bold";
  src: url(/static/fonts/Inter-Bold.ttf) format("truetype");
}
@font-face {
  font-family: "Inter-Black";
  src: url(/static/fonts/Inter-Black.ttf) format("truetype");
}
@font-face {
  font-family: "Inter-Medium";
  src: url(/static/fonts/Inter-Medium.ttf) format("truetype");
}
@font-face {
  font-family: "Inter-Regular";
  src: url(/static/fonts/Inter-Regular.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: icomoon;
  font-style: normal;
  font-weight: 400;
  src: url(/static/fonts/icomoon.ttf) format("truetype");
}
.icon {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: icomoon;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  margin-right: 5px;
}
/* used icons */
/*.icon-menu:before { content: "\e901"; } */
.icon-menu:before {
  content: "\e90b";
}
.icon-bookmark:before {
  content: "\e902";
}
.icon-bookmark-outline:before {
  content: "\e903";
}
.icon-copy:before {
  content: "\e90e";
}
/* used as menu button, use with transform:scaleX(-1) */
.icon-fullscreen:before {
  content: "\e912";
}
.icon-exit-fullscreen:before {
  content: "\e911";
}
.icon-controller:before {
  content: "\e90a";
}
.icon-keyboard:before {
  content: "\e955";
}
.icon-power:before {
  content: "\e9b6";
}
.icon-reload:before {
  content: "\ea2e";
}
.icon-arrow-up:before {
  content: "\ea3a";
}
.icon-arrow-down:before {
  content: "\ea3e";
}
.icon-enter:before {
  content: "\e905";
}
.icon-play:before {
  content: "\e906";
}
.icon-cog:before {
  content: "\e90c";
}
.icon-chevron-left:before {
  content: "\e900";
}
.icon-cart:before {
  content: "\e907";
}
/* to use icons*/
.icon-star:before {
  content: "\e910";
}
.icon-delete:before {
  content: "\e9ac";
}
/* unplanned icons */
.icon-close:before {
  content: "\e904";
}
.icon-chevron-right:before {
  content: "\e90d";
}
.icon-check:before {
  content: "\e908";
}
.icon-heart:before {
  content: "\e9da";
}
.icon-reddit {
  width: 32px;
  height: 32px;
  background: url(/static/img/reddit.png) no-repeat center center;
  background-size: contain;
}
.icon-tv:before {
  content: "\e914";
}
.icon-install:before {
  content: "\e960";
}
/* 1280 - (5 x 200) = 280 pixels, divided by 6 gaps = 46.7 */
#interface.is-keyboard #category-left,
#interface.is-keyboard #category-right {
  opacity: 0;
}
#interface #categories {
  position: fixed;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  transition: all 0.3s ease-out;
  /*background: linear-gradient(90deg, #3b414d, #282c35);*/
  padding: 0 20px;
  /* apply a shadow once items are scrolling */
}
#interface #categories .button {
  transition: all 0.1s ease-out;
  cursor: pointer;
}
#interface #categories .button:hover {
  transform: scale(1.05);
}
#interface #categories .button-icon {
  display: inline-block;
  font-size: 20px;
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-size: 32px;
  text-align: center;
  background: #fff;
  color: #000;
  border-radius: 100px;
}
#interface #categories .button-icon.icon-reload {
  font-size: 18px;
}
#interface #categories .items {
  display: flex;
  height: 80px;
  justify-content: center;
  align-items: center;
}
#interface #categories.shadow {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
}
#interface #categories .category {
  position: relative;
  padding: 15px 25px;
  border-radius: 100px;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1.3px;
  white-space: nowrap;
  transition: all 0.2s ease-out;
}
#interface #categories .category .label {
  color: #dadada;
  text-transform: uppercase;
  font-family: "Inter-Medium";
}
#interface #categories .category .count {
  color: #909090;
  margin-left: 6px;
}
#interface #categories .category .reddot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ff0000;
  border-radius: 10px;
  right: 20px;
  top: 10px;
}
#interface #categories .category.active {
  background: #535967;
}
#interface #categories .category.active .label {
  color: #fff;
}
#interface #categories .category.active .count {
  color: #959bab;
}
#interface #categories .category:hover {
  cursor: pointer;
  transform: scale(1.05);
}
#interface #categories .category:hover .label {
  text-decoration: underline;
}
#interface #categories.active .category.active {
  background: #fff;
  color: #000;
}
#interface #categories.active .category.active .label,
#interface #categories.active .category.active .count {
  color: #282c35;
}
#interface #grid {
  position: absolute;
  left: 0;
  top: 80px;
  width: 100%;
  bottom: 60px;
  overflow: auto;
  padding-bottom: 50px;
}
#interface #grid::-webkit-scrollbar {
  display: none;
}
#interface #grid #temp-grid {
  display: none;
}
#interface #games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
  justify-content: center;
  padding-top: 40px;
  grid-gap: 40px;
  padding-left: 40px;
  padding-right: 40px;
}
#interface #games .box {
  display: inline-block;
  width: 200px;
  height: 300px;
  position: relative;
  background-color: #376883;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: all 0.1s ease-out;
  text-decoration: none;
}
#interface #games .box.hidden {
  display: none;
}
#interface #games .box:hover {
  cursor: pointer;
}
#interface #games .box .title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 50px 10px 10px 10px;
  color: #fff;
  text-align: center;
  z-index: 1;
  font-size: 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
}
#interface #games .box .title.hide {
  display: none;
}
#interface #games .box .art {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
#interface:not(.categories-active) #games .box:before {
  content: "";
  position: absolute;
  left: -8px;
  top: -8px;
  right: -8px;
  bottom: -8px;
  border: solid #ccc 4px;
  z-index: 9;
  animation: fade-out-in 1s infinite;
  pointer-events: none;
  display: none;
}
#interface:not(.categories-active) #games .box.selected {
  transform: scale(1.04);
}
#interface:not(.categories-active) #games .box.selected:before {
  display: block;
}
#interface.installing-game #splash #loading {
  position: relative;
  width: 50%;
  height: 70px;
  padding: 10px 20px;
  color: #fff;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  border: solid #fff 4px;
}
#interface.installing-game #splash #loading #progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: #00a2ff;
  transition: all 0.1s ease-out;
}
#interface.installing-game #splash #loading .label {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 25px;
  transform: translate(-50%, -50%);
  z-index: 1;
}
#interface.loading-game #splash .bar .interaction {
  justify-content: center;
}
#interface.loading-game #splash .bar .interaction .left,
#interface.loading-game #splash .bar .interaction .right {
  display: none;
}
#interface.loading-game #bar .inner .right {
  display: none !important;
}
#interface.loading-game:not(.installing-game) #splash .bar {
  transition: all 0.5s ease-out;
  opacity: 0;
}
#interface.loading-game:not(.installing-game) #splash .art {
  transition: all 3s ease-out;
  transform: scale(1.05);
}
#interface #splash {
  position: absolute;
  left: 0;
  top: 0px;
  width: 100%;
  bottom: 60px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease-out;
  transform: scale(0.98);
}
#interface #splash .art {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  bottom: 0;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
#interface #splash .art .highres {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
#interface #splash .bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), #000);
  padding: 26px 36px;
}
#interface #splash .bar .interaction {
  display: flex;
}
#interface #splash .bar .interaction .left {
  flex-grow: 1;
  height: 100%;
  display: flex;
  gap: 24px;
}
#interface #splash .bar .interaction .right {
  flex-grow: 1;
  height: 100%;
  display: flex;
  gap: 24px;
  justify-content: flex-end;
}
#interface #splash .bar .details {
  padding-top: 20px;
}
#interface #splash .bar .details .inner {
  height: 70px;
  color: #999;
  font-size: 16px;
}
#interface #splash .bar .details .inner a {
  color: inherit;
}
#interface #splash .logo {
  position: absolute;
  left: 40px;
  bottom: 200px;
  width: 40%;
  height: 30%;
  background-size: contain;
  background-position: bottom left;
  background-repeat: no-repeat;
}
#interface #splash .logo .highres {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: bottom left;
  background-repeat: no-repeat;
}
#interface #splash #play-button {
  width: 315px;
  padding: 10px 20px;
}
#interface #splash #play-button.selected {
  background: #59bf40;
}
#interface #splash #play-button.selected .label,
#interface #splash #play-button.selected .icon {
  color: #fff;
}
#interface #splash #play-button .icon-play {
  position: absolute;
  font-size: 50px;
  left: 12px;
  top: 8px;
}
#interface #splash #play-button .icon-install {
  position: absolute;
  font-size: 40px;
  left: 20px;
  top: 12px;
}
#interface #splash #play-button .label {
  padding-left: 65px;
}
#interface #splash #play-button .icon-install,
#interface #splash #play-button .label-install {
  display: none;
}
#interface #splash #play-button.install.selected {
  background: #00a2ff;
}
#interface #splash #play-button.install .icon-play,
#interface #splash #play-button.install .label-play {
  display: none;
}
#interface #splash #play-button.install .icon-install,
#interface #splash #play-button.install .label-install {
  display: block;
}
#interface #splash #game-info {
  color: #fff;
  display: flex;
  gap: 10px;
  padding: 0 10px;
  font-size: 18px;
}
#interface #splash #game-info .info {
  display: flex;
  flex-direction: column;
}
#interface #splash #game-info .info .title {
  font-weight: bold;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding-bottom: 5px;
}
#interface #splash #game-info .info .value {
  color: #fff;
}
#interface.splash #grid,
#interface.splash #categories,
#interface.splash #game {
  opacity: 0;
  pointer-events: none;
}
#interface.splash #splash {
  pointer-events: all;
  opacity: 1;
  transform: scale(1);
}
#interface #game {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 60px;
  background: #000;
  opacity: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
#interface #game canvas {
  opacity: 0 !important;
}
#interface #game canvas.show {
  opacity: 1 !important;
}
#interface #game .dosbox-container {
  width: 100%;
  height: 100%;
  position: relative;
  /*transition: all .3s ease-out;*/
}
#interface #game .dosbox-container .emulator-mouse-overlay,
#interface #game .dosbox-container .emulator-click-to-start-overlay,
#interface #game .dosbox-container .emulator-loading {
  display: none !important;
}
#interface #game canvas {
  width: 100%;
  height: 100%;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}
#interface.game {
  background: #000;
}
#interface.game #grid,
#interface.game #categories,
#interface.game #splash {
  opacity: 0;
  pointer-events: none;
}
#interface.game #game {
  opacity: 1;
  pointer-events: all;
}
#bar {
  position: fixed;
  width: 100%;
  height: 60px;
  left: 0;
  bottom: 0;
  overflow: hidden;
}
#bar .inner {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  background: #000;
  color: #fff;
  font-size: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 40px;
  gap: 25px;
  transition: all 0.3s ease-out;
}
#bar .inner .bar-buttons {
  display: flex;
  gap: 25px;
}
#bar .inner .bar-buttons .mapping .button.keyboard-key {
  text-transform: uppercase;
  display: none;
}
#bar .inner .bar-buttons .mapping .label {
  text-transform: uppercase;
}
#bar .inner .bar-buttons.left {
  flex-grow: 1;
}
#bar.is-keyboard .inner .bar-buttons .mapping .button.keyboard-key {
  display: block;
}
#bar.is-keyboard .inner .bar-buttons .mapping .button:not(.keyboard-key) {
  display: none;
}
#interface.hide-bar #bar .inner {
  pointer-events: none;
  bottom: -60px;
}
#interface.hide-bar #grid,
#interface.hide-bar #splash,
#interface.hide-bar #game,
#interface.hide-bar #controls,
#interface.hide-bar #submenu,
#interface.hide-bar #keyboard,
#interface.hide-bar #menu .items {
  bottom: 0;
}
#interface.keyboard-shown.hide-bar #game {
  bottom: 208px;
}
#interface.keyboard-shown:not(.hide-bar) #game {
  bottom: 268px;
}
#interface.interaction-mouse #menu .close-button {
  opacity: 1;
  pointer-events: all;
}
#interface.interaction-mouse #menu .menu-item:hover {
  cursor: pointer;
}
#menu {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#menu .close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease-out;
}
#menu .logo {
  display: block;
  position: absolute;
  width: 140px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease-out;
}
#menu.show {
  pointer-events: all;
}
#menu.show .items {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
}
#menu.show .menu-glasspane {
  opacity: 1;
}
#menu.show .logo {
  opacity: 1;
}
#menu .menu-glasspane {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  transition: all 0.1s ease-out;
  backdrop-filter: blur(5px);
}
#menu .items {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  padding-top: 60px;
  width: 360px;
  z-index: 3;
  background: #0d141c;
  -webkit-transform: translateX(-360px);
  -moz-transform: translateX(-360px);
  -ms-transform: translateX(-360px);
  -o-transform: translateX(-360px);
  transition: all 0.1s ease-out;
}
#menu .image-item {
  width: 100%;
  height: 120px;
  padding: 0 30px;
  margin-bottom: 20px;
}
#menu .image-item .image {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
#menu .menu-item {
  position: relative;
  height: 65px;
  line-height: 65px;
  font-size: 22px;
  margin-bottom: 1px;
  padding-left: 95px;
  color: #b8bab9;
}
#menu .menu-item .label,
#menu .menu-item .icon {
  transition: all 0.2s ease-out;
}
#menu .menu-item .icon {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  left: 40px;
  font-size: 23px;
}
#menu .menu-item .icon.icon-fullscreen {
  font-size: 33px;
  margin-left: -4px;
}
#menu .menu-item.disabled {
  opacity: 0.3;
}
#menu .menu-item.active {
  background: #23262f;
  color: #fff;
}
#menu .menu-item.active .label {
  font-size: 30px;
}
#interface.interaction-mouse #keyboard .close-button {
  opacity: 1;
  pointer-events: all;
}
#interface.interaction-mouse #keyboard .key:hover {
  cursor: pointer;
}
#keyboard {
  z-index: 30;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 60px;
  background: #0d141c;
  text-align: center;
  line-height: 0;
  padding: 2px;
  opacity: 0;
  pointer-events: none;
}
#keyboard .close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease-out;
}
#keyboard.show {
  opacity: 1;
  pointer-events: all;
}
#keyboard .row {
  display: inline-block;
  white-space: nowrap;
  margin: 0 auto;
}
#keyboard .row .spacing {
  display: inline-block;
}
#keyboard .row .key {
  display: inline-block;
  margin: 1px;
  position: relative;
  background: #2d4662;
  min-width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 20px;
  color: #fff;
  text-align: center;
  /*&.key-esc { width: @size * 1.58; }
			&.key-shift { width: @size * 2.33; }*/
}
#keyboard .row .key .minor {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
#keyboard .row .key .major {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}
#keyboard .row .key .icon {
  font-family: "icomoon";
}
#keyboard .row .key.size-2 {
  width: 102px;
}
#keyboard .row .key.size-15 {
  width: 77px;
}
#keyboard .row .key.size-3 {
  width: 150px;
}
#keyboard .row .key.size-25 {
  width: 129px;
}
#keyboard .row .key.selected {
  background: #fff;
  color: #2d4662;
}
#keyboard.shift .row .key.has-minor .minor {
  opacity: 1;
}
#keyboard.shift .row .key.has-minor .major {
  opacity: 0;
}
.close-button {
  display: inline-block;
  font-size: 30px;
  color: #fff;
  font-weight: normal;
  cursor: pointer;
}
#interface.interaction-mouse .mapping:hover {
  cursor: pointer;
}
#interface.interaction-mouse .mapping:hover .button {
  transform: scale(1.05);
}
#interface.interaction-mouse .mapping:hover .label {
  text-decoration: underline;
}
.mapping {
  display: flex;
  align-items: center;
}
.mapping .plus {
  color: #fff;
  margin: 0 8px;
  font-size: 25px;
}
.mapping .button + .button {
  margin-left: 10px;
}
.mapping .label {
  margin-top: 4px;
  margin-left: 10px;
  font-size: 20px;
  color: #dadada;
  white-space: nowrap;
}
.button-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-size: 32px;
  text-align: center;
  background: #fff;
  color: #000;
  border-radius: 100px;
}
.button-icon.icon-reload {
  font-size: 18px;
}
.button {
  font-family: "Inter-Medium", sans-serif;
  position: relative;
  display: inline-block;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  line-height: 29px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  border: solid #fff 2px;
  background: #fff;
  color: #000;
  border-radius: 100px;
  transition: all 0.1s ease-out;
}
.button.shape-L,
.button.shape-R {
  background: transparent;
  color: #fff;
}
.button:not(.stick).shape-←,
.button:not(.stick).shape-↑,
.button:not(.stick).shape-→,
.button:not(.stick).shape-↓ {
  border-radius: 4px;
  width: 32px;
  height: 32px;
  padding: 0;
}
.button.stick.shape-←,
.button.stick.shape-↑,
.button.stick.shape-→,
.button.stick.shape-↓ {
  width: 32px;
  height: 32px;
  padding: 0;
}
.button.stick:after,
.button.shape-L↧:after,
.button.shape-R↧:after {
  padding: 0;
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  top: -6px;
  bottom: -6px;
  border: solid #fff 1px;
  border-radius: 100px;
}
.button.shape-MENU,
.button.shape-SELECT {
  font-size: 0;
  transform: scaleX(-1);
  min-width: 50px;
}
.button.shape-MENU:before,
.button.shape-SELECT:before {
  font-family: icomoon;
  font-size: 20px;
  content: "\e90e";
}
.button.shape-START {
  font-size: 0;
  min-width: 50px;
}
.button.shape-START:before {
  font-family: icomoon;
  font-size: 20px;
  content: "\e901";
}
.button.shape-LB,
.button.shape-L1 {
  border-radius: 20px 4px 4px 20px;
  padding: 0 6px 0 8px;
}
.button.shape-RB,
.button.shape-R1 {
  border-radius: 4px 20px 20px 4px;
  padding: 0 8px 0 6px;
}
.button.shape-LT,
.button.shape-L2 {
  border-radius: 20px 4px 4px 4px;
  padding: 0 4px 0 10px;
}
.button.shape-RT,
.button.shape-R2 {
  border-radius: 4px 20px 4px 4px;
  padding: 0 10px 0 4px;
}
.ui-button {
  position: relative;
  height: 70px;
  padding: 10px 20px;
  color: #fff;
  border-radius: 2px;
  background: rgba(200, 200, 200, 0.4);
  display: flex;
  align-items: center;
  transition: all 0.1s ease-out;
}
.ui-button:hover {
  cursor: pointer;
}
.ui-button:before {
  content: "";
  position: absolute;
  left: -8px;
  top: -8px;
  right: -8px;
  bottom: -8px;
  border: solid #ccc 4px;
  z-index: 9;
  animation: fade-out-in 1s infinite;
  pointer-events: none;
  display: none;
}
.ui-button.green.selected {
  background: #59bf40;
}
.ui-button.green.selected .label,
.ui-button.green.selected .icon {
  color: #fff;
}
.ui-button.blue.selected {
  background: #00a2ff;
}
.ui-button.blue.selected .label,
.ui-button.blue.selected .icon {
  color: #fff;
}
.ui-button.selected {
  transform: scale(1.04);
  background: #fff;
}
.ui-button.selected .icon,
.ui-button.selected .label {
  color: #000;
}
.ui-button.selected:before {
  display: block;
}
.ui-button.no-label .label {
  display: none;
}
.ui-button .icon {
  margin-right: 0;
  font-size: 40px;
}
.ui-button .icon.icon-chevron-left {
  font-size: 30px;
}
.ui-button .icon.icon-keyboard {
  font-size: 30px;
}
.ui-button .icon.icon-star {
  font-size: 30px;
}
.ui-button .icon.icon-delete {
  font-size: 30px;
}
.ui-button .label {
  padding-left: 10px;
  font-size: 24px;
  font-family: "Inter-Regular", sans-serif;
}
#submenu {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 60px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-content: center;
  display: flex;
}
#submenu.active #submenu-items {
  opacity: 1;
  transform: translate(0, 0);
}
#submenu #submenu-items {
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.15s ease-out;
  /* prepare the un-animated version */
  transform: translate(0, 30px);
  opacity: 0;
}
#submenu #submenu-items .submenu-item {
  width: 360px;
  color: #fff;
  display: flex;
  align-items: center;
  height: 70px;
  font-size: 24px;
}
#submenu #submenu-items .submenu-item.item-type-empty {
  height: 4px;
}
#submenu #submenu-items .submenu-item .image-item {
  width: 100%;
  height: 100%;
}
#submenu #submenu-items .submenu-item .image-item .image {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
#submenu #submenu-items .submenu-item .text-item {
  text-align: center;
  padding: 20px 0;
}
#submenu #submenu-items .submenu-item .ui-button {
  width: 100%;
  border-radius: 0;
}
#submenu #submenu-items .submenu-item .ui-button.selected {
  transform: scale(1);
}
#submenu #submenu-items .submenu-item .ui-button.selected:before {
  display: none;
}
#interface.interaction-mouse #controls .close-button {
  opacity: 1;
  pointer-events: all;
}
#interface.game #controls {
  left: 360px;
  background: transparent;
  bottom: 0;
}
@media only screen and (max-width: 1200px) {
  #interface.game #controls {
    font-size: 18px;
  }
}
@media only screen and (max-width: 1100px) {
  #interface.game #controls {
    font-size: 16px;
  }
}
@media only screen and (max-width: 1000px) {
  #interface.game #controls {
    font-size: 14px;
  }
}
#interface.game #controls .close-button {
  display: none;
}
#controls {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 60px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  padding: 40px;
  display: none;
  font-size: 20px;
}
#controls .close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: all 0.3s ease-out;
}
#controls.active {
  display: flex;
}
#controls h1 {
  position: absolute;
  right: 40px;
  bottom: 0;
  color: #fff;
}
#controls .groups {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: normal;
  align-content: center;
  gap: 20px;
}
#controls .group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#controls .group .group-label {
  color: #909090;
  font-size: 1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: solid #909090 1px;
}
#controls .group .group-label.keyboard-only {
  display: none;
}
#controls .group .mapping {
  gap: 0px;
}
#controls .group .mapping .label {
  font-size: 1em;
}
#controls .group .mapping .button.already-rendered {
  opacity: 0;
}
#controls .group .mapping .label.label-keyboard,
#controls .group .mapping .keyboard-key {
  border: none;
  font-size: 0.9em;
  line-height: 2em;
  padding: 0 10px;
  background: #2d4662;
  color: #fff;
  text-transform: uppercase;
}
#controls .group .mapping .label.label-keyboard.size-1,
#controls .group .mapping .keyboard-key.size-1 {
  padding: 0;
  min-width: 38px;
  text-align: center;
}
#controls .group .mapping .label.label-keyboard.size-2,
#controls .group .mapping .keyboard-key.size-2 {
  min-width: 100px;
  text-align: center;
}
#controls .group .mapping.has-label-action .label-keyboard {
  display: none;
}
#grid:not([data-category="ABOUT"]) .about {
  display: none;
}
#grid[data-category="ABOUT"] #games {
  justify-content: flex-start;
  padding: 0;
}
#grid[data-category="ABOUT"] #start-button {
  margin: 50px 0 20px 15px;
  width: 320px;
}
.about {
  padding: 0 40px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 900px;
  margin: 0 auto;
  font-family: "Inter-Regular";
  font-size: 22px;
}
.about * {
  user-select: text;
}
.about .logo-img {
  display: block;
  margin: 0 auto 40px auto;
}
.about h1 {
  margin-top: 20px;
  color: #fff;
  position: relative;
  padding: 8px 0;
  font-family: "Inter-Medium";
  line-height: 100%;
}
.about h1:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, #a599f4, rgba(255, 255, 255, 0));
}
.about h2 {
  margin-top: 20px;
  position: relative;
  padding: 8px 0;
  font-weight: normal;
  color: #fff;
  font-family: "Inter-Medium";
}
.about h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, #a599f4, rgba(255, 255, 255, 0));
}
.about em {
  font-family: sans-serif;
  color: #fff;
  font-style: normal;
}
.about p,
.about ul,
.about li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 100%;
  line-height: 120%;
}
.about li {
  margin-bottom: 10px;
}
.about .small,
.about .small * {
  font-size: 16px;
  line-height: 22px;
}
.about b {
  color: #fff;
}
.about p a {
  color: #f6f5fe;
}
#toast {
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translate(-50%, -10px);
  background: #000;
  color: rgba(255, 255, 255, 0.6);
  padding: 10px 30px;
  border-radius: 10px;
  font-size: 20px;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease-out;
}
#toast.bottom {
  top: auto;
  bottom: 80px;
  transform: translate(-50%, 10px);
}
#toast b {
  color: #fff;
}
#toast:before {
  content: "";
  position: absolute;
  left: -4px;
  top: -4px;
  right: -4px;
  bottom: -4px;
  border: solid #ccc 4px;
  border-radius: 10px;
  z-index: 9;
  animation: fade-out-in 1s 2;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#boot {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /*background: #000;*/
  z-index: 2;
}
#boot #logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
#boot.hide {
  transition: all 0.3s ease-out;
  opacity: 0;
  pointer-events: none;
}
@keyframes logo-opacity {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes logo-rotate {
  from {
    transform: rotate(-90deg);
    opacity: 0;
  }
  to {
    transform: rotate(-45deg);
    opacity: 1;
  }
}
@keyframes logo-height {
  from {
    height: 0;
  }
  to {
    height: 100%;
  }
}
@keyframes logo-width {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes logo-width-42 {
  from {
    width: 0;
  }
  to {
    width: 42%;
  }
}
.logo-dosdeck {
  position: relative;
  width: 470px;
  height: 75px;
  box-sizing: border-box;
}
.logo-dosdeck * {
  box-sizing: border-box;
}
.logo-dosdeck #brand {
  position: absolute;
  font-family: "Inter-Bold";
  font-size: 60px;
  left: 160px;
  top: 0;
  overflow: hidden;
  color: #fff;
}
.logo-dosdeck #brand b {
  font-family: "Inter-Black";
  font-size: 60px;
}
.logo-dosdeck #visual {
  position: absolute;
  width: 100px;
  height: 100px;
  font-family: "Inter-Bold";
  font-size: 60px;
  left: 21px;
  top: 50%;
  transform: translateY(-50%);
}
.logo-dosdeck .cursor {
  position: absolute;
  left: 30%;
  top: 32%;
  width: 35px;
  height: 35px;
  border-right: solid #fff 8px;
  border-bottom: solid #fff 8px;
  transform: rotate(-45deg);
}
.logo-dosdeck .box {
  position: absolute;
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}
.logo-dosdeck .box .side {
  position: absolute;
}
.logo-dosdeck .box .side.right {
  top: 0;
  right: 0;
  height: 0;
  width: 8px;
  background: linear-gradient(180deg, #a599f4, #aa9ef8);
}
.logo-dosdeck .box .side.bottom {
  width: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(90deg, #7a6cd5, #aa9ef8);
}
.logo-dosdeck .box .side.left {
  left: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, #7768d3, #7a6cd5);
}
.logo-dosdeck .box .side.top {
  left: 0;
  top: 0;
  width: 0;
  right: 42%;
  height: 8px;
  background: linear-gradient(90deg, #7768d3, #9487e8);
}
.logo-dosdeck.fade-in-cursor .cursor {
  opacity: 0;
  animation: logo-opacity 3s forwards;
}
.logo-dosdeck.direct .box {
  transform: rotate(-45deg);
  opacity: 1;
}
.logo-dosdeck.direct .side.right {
  height: 100%;
}
.logo-dosdeck.direct .side.bottom {
  width: 100%;
}
.logo-dosdeck.direct .side.left {
  height: 100%;
}
.logo-dosdeck.direct .side.top {
  width: 42%;
}
.logo-dosdeck.animate .box {
  animation: logo-rotate 2s forwards;
}
.logo-dosdeck.animate .side.right {
  animation: logo-height 2s forwards;
}
.logo-dosdeck.animate .side.bottom {
  animation: logo-width 2s forwards;
}
.logo-dosdeck.animate .side.left {
  animation: logo-height 2s forwards;
}
.logo-dosdeck.animate .side.top {
  animation: logo-width-42 2s forwards;
}
#wheel {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 60px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
  padding: 40px;
  display: none;
  font-size: 20px;
}
#wheel.active {
  display: block;
}
#wheel #circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}
#wheel #circle .spot {
  width: 15px;
  height: 15px;
  /*background: blue;*/
  border-radius: 100px;
  position: absolute;
  transform: translate(-50%, -50%);
}
#wheel #circle .spot .mapping {
  position: absolute;
  text-align: center;
  white-space: nowrap;
  display: flex;
  align-items: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.1s ease-out;
}
#wheel #circle .spot .mapping .button {
  text-transform: uppercase;
}
#wheel #circle .spot .mapping .label {
  position: absolute;
  margin-top: -1px;
}
#wheel #circle .spot.right .label {
  left: 100%;
}
#wheel #circle .spot.left .label {
  right: 100%;
  margin-right: 10px;
}
#wheel #circle .spot.selected .mapping {
  transform: translate(-50%, -50%) scale(1.2);
}
#wheel #circle .spot.selected .mapping .button {
  background-color: #a599f4 !important;
  border-color: #a599f4 !important;
}
#wheel #circle .spot.selected .mapping .label {
  color: #a599f4 !important;
}
#wheel #circle #wheel-pointer {
  left: 0;
  top: 0;
  margin: 50% 0 0 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 100px;
}
html.mobile .ui-button {
  height: 35px;
  padding: 5px 10px;
}
html.mobile .ui-button:not(#play-button) {
  min-width: 42px;
  justify-content: center;
}
html.mobile .ui-button.selected {
  transform: none;
}
html.mobile .ui-button.selected:before {
  display: none;
}
html.mobile .ui-button .icon {
  font-size: 20px;
}
html.mobile .ui-button .icon.icon-chevron-left {
  font-size: 15px;
}
html.mobile .ui-button .icon.icon-keyboard {
  font-size: 15px;
}
html.mobile .ui-button .icon.icon-star {
  font-size: 15px;
}
html.mobile .ui-button .icon.icon-delete {
  font-size: 15px;
}
html.mobile .ui-button .label {
  padding-left: 5px;
  font-size: 16px;
}
html.mobile .mapping .plus {
  color: #fff;
  margin: 0 4px;
  font-size: 16px;
}
html.mobile .mapping .label {
  margin-top: 0;
  margin-left: 10px;
  font-size: 16px;
  text-decoration: none !important;
}
html.mobile .button-icon {
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 20px;
}
html.mobile .button {
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  font-size: 14px;
  line-height: 18px;
}
html.mobile #interface {
  /* allow all content to go full height */
  /* #interface.game */
  /* #interface.loading-game */
}
html.mobile #interface #categories {
  justify-content: center;
  height: 30px;
}
html.mobile #interface #categories .button {
  display: none;
}
html.mobile #interface #categories .items .category {
  height: 30px;
  padding: 0 20px;
}
html.mobile #interface #categories .items .category .label,
html.mobile #interface #categories .items .category .count {
  font-size: 12px;
  line-height: 32px;
}
html.mobile #interface #menu .logo {
  transform: translatey(-50%);
  left: auto;
  right: 20px;
}
html.mobile #interface #menu .close-button {
  display: none;
}
html.mobile #interface #menu .items {
  padding-top: 20px;
  width: 190px;
}
html.mobile #interface #menu .items .image-item {
  height: 40px;
}
html.mobile #interface #menu .items .menu-item {
  height: inherit;
  font-size: 16px;
  line-height: 35px;
  height: 35px;
  padding-left: 45px;
}
html.mobile #interface #menu .items .menu-item .icon {
  left: 10px;
}
html.mobile #interface #menu .items .menu-item .icon-reddit {
  width: 23px;
}
html.mobile #interface #menu .items .menu-item .label {
  font-size: 16px;
  transform: none;
}
html.mobile #interface #menu .items .menu-item.active {
  font-size: 16px;
  transform: none;
}
html.mobile #interface #grid {
  top: 30px;
}
html.mobile #interface #grid #games {
  grid-template-columns: repeat(auto-fit, minmax(140px, max-content));
  padding-top: 30px;
  grid-gap: 30px;
  padding-left: 30px;
  padding-right: 30px;
}
html.mobile #interface #grid #games .box {
  width: 140px;
  height: 210px;
}
html.mobile #interface #grid #games .box .title {
  padding: 40px 5px 10px 5px;
  font-size: 16px;
}
html.mobile #interface #grid #games .box.selected:before {
  display: none;
}
html.mobile #interface #bar {
  display: none;
  height: 30px;
  z-index: 1;
}
html.mobile #interface #bar .inner {
  background: rgba(0, 0, 0, 0.75);
  height: 30px;
  padding: 0 10px;
}
html.mobile #interface #game {
  align-items: flex-start;
}
html.mobile #interface #grid,
html.mobile #interface #splash,
html.mobile #interface #game,
html.mobile #interface #controls,
html.mobile #interface #submenu,
html.mobile #interface #keyboard,
html.mobile #interface #menu .items {
  bottom: 0;
}
html.mobile #interface #splash .bar {
  height: 90px;
  padding: 13px 18px;
}
html.mobile #interface #splash .bar .left {
  gap: 12px;
}
html.mobile #interface #splash .bar .right {
  gap: 12px;
}
html.mobile #interface #splash .logo {
  left: 20px;
  bottom: 110px;
  min-width: 250px;
}
html.mobile #interface #splash #play-button {
  width: 150px;
  padding: 5px 10px;
}
html.mobile #interface #splash #play-button .icon {
  position: absolute;
  font-size: 25px;
  left: 6px;
  top: 4px;
}
html.mobile #interface #splash #play-button .label {
  padding-left: 26px;
}
html.mobile #interface #splash #game-info {
  gap: 5px;
  padding: 0 5px;
  font-size: 12px;
}
html.mobile #interface #splash #game-info .info .title {
  padding-bottom: 5px;
}
@media only screen and (max-width: 550px) {
  html.mobile #interface #splash .logo {
    bottom: 150px;
  }
  html.mobile #interface #splash .bar {
    height: 140px;
    display: block;
  }
  html.mobile #interface #splash .bar .left {
    height: auto;
    margin-bottom: 12px;
  }
  html.mobile #interface #splash .bar .right {
    justify-content: flex-start;
    height: auto;
  }
}
html.mobile #interface #submenu #submenu-items .submenu-item {
  height: 35px;
  font-size: 14px;
  width: 250px;
}
html.mobile #interface #submenu #submenu-items .submenu-item.item-type-empty {
  height: 3px;
}
html.mobile #interface #submenu #submenu-items .submenu-item .text-item {
  padding: 10px;
}
html.mobile #interface #controls {
  font-size: 12px;
}
html.mobile #interface #controls .group {
  gap: 2px;
}
html.mobile #interface #controls .groups {
  padding: 20px;
  gap: 10px;
}
html.mobile #interface.game #controls {
  left: 190px;
}
html.mobile #interface.loading-game #splash .bar #loading {
  width: 50%;
  height: 30px;
  padding: 5px 10px;
}
html.mobile #interface.loading-game #bar .inner .right {
  display: none !important;
}
html.mobile #interface #keyboard .row .key {
  min-width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 12px;
}
html.mobile #interface .about {
  font-size: 16px;
  padding: 0 15px;
}
html.mobile #interface .about .logo-img {
  width: 150px !important;
  margin: 0 auto;
}
html.mobile #interface .about ul,
html.mobile #interface .about ol {
  padding: 0 0 0 20px;
}
html.mobile #interface #mobile {
  position: fixed;
  width: 100%;
  height: 35px;
  left: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 100;
}
html.mobile #interface #mobile .inner {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 35px;
  color: #fff;
  font-size: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 10px;
}
html.mobile #interface #mobile .inner .button.shape-START:before {
  font-size: 15px;
}
html.mobile #interface #mobile .inner .disclaimer {
  flex-grow: 2;
  text-align: right;
  font-size: 10px;
}
body.snow #snow {
  z-index: 1;
  overflow-x: hidden;
  min-height: 100vh;
  overflow-y: hidden;
  color: white;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  pointer-events: none;
}
body.snow .snowflake {
  position: absolute;
  width: 10px;
  height: 10px;
  background: linear-gradient(white, white);
  /* Workaround for Chromium's selective color inversion */
  border-radius: 50%;
  filter: drop-shadow(0 0 10px white);
}
body.snow #interface {
  background: transparent;
}
body.snow #games .box.gift:after {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 1;
  /*background: url(/static/img/xmas.jpg) repeat center center;*/
  /*background: #fff;*/
  background: linear-gradient(290deg, #a599f4, #000);
}
body.snow #games .box.gift .ribbon {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: url(/static/img/ribbon.png) no-repeat center center;
  background-size: contain;
}
body.snow #games .box.scale {
  animation: scale 0.7s forwards;
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes fade-out-in {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
html {
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  background: #000;
}
body:fullscreen {
  cursor: none;
}
* {
  box-sizing: border-box;
  user-select: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
code {
  user-select: all;
  color: #a599f4;
}
a {
  -webkit-tap-highlight-color: transparent;
}
a:visited {
  color: inherit;
}
div:focus {
  outline: none;
}
.is-keyboard .controller-only {
  display: none !important;
}
.is-controller .keyboard-only {
  display: none !important;
}
#interface {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* used for hiding bottom bar */
  background: radial-gradient(ellipse at bottom, #1b2735 50%, #090a0f 100%);
  z-index: 1;
  font-family: "Inter-Regular", sans-serif;
}
#interface.hide {
  display: none;
}
