@import url(https://fonts.googleapis.com/css?family=JetBrains+Mono:100,200,300,regular,500,600,700,800,100italic,200italic,300italic,italic,500italic,600italic,700italic,800italic);
body {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  overscroll-behavior: none;
  overflow-x: hidden;
  font-size: 12px;
}

body.darkmode {
  background: #131415;
  color: white;
}
body.darkmode :is(input, label) {
  color: white;
}
body.darkmode #howtoplay a {
  color: white;
}
body.darkmode :is(.setting, label) {
  background: rgba(255, 255, 255, 0.1019607843);
}
body.darkmode #hotkeys-inner {
  background: black;
}

#togithub {
  color: inherit;
  text-decoration: none;
}

#togithub:hover {
  text-decoration: underline;
}

* {
  font-family: "JetBrains Mono", monospace;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-sizing: border-box;
  text-align: center;
}

#howtoplay {
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}

#howtoplay a {
  text-decoration: underline;
  color: black;
}

input[name=difficulty] {
  width: 0;
  height: 0;
  display: none;
}

input[name=difficulty]:checked + label {
  color: blue;
}

#difficulty-select label {
  font-size: 28px;
  cursor: pointer;
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
} /*all websites*/
input[type=number] {
  -webkit-appearance: textfield;
          appearance: textfield;
  -moz-appearance: textfield;
} /*firfox*/
input::-moz-placeholder {
  color: lightgrey;
}
input::placeholder {
  color: lightgrey;
}

.setting, label {
  background: rgba(0, 0, 0, 0.1019607843);
  border-radius: 4px;
}

#difficulty-select {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 0;
}

#difficulty-select div {
  margin: 4px;
}

board {
  margin: 0 auto;
  padding: 0 32px;
  width: -moz-fit-content;
  width: fit-content;
  max-width: calc(80vw + 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow-x: scroll;
}

row {
  display: flex;
  align-items: center;
  justify-content: center;
}

cell {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  margin: 1px;
}

cell:not([n]) {
  background: gray;
}

body:not(:has(.mine, .hooray)) cell:not([n]) {
  cursor: pointer;
}

cell:after {
  content: attr(n);
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
}

cell[n="1"]:after {
  color: dodgerblue;
}

cell[n="2"]:after {
  color: palegreen;
}

cell[n="3"]:after {
  color: red;
}

cell[n="4"]:after {
  color: purple;
}

cell[n="5"]:after {
  color: maroon;
}

cell[n="6"]:after {
  color: mediumturquoise;
}

cell[n="7"]:after {
  color: mediumblue;
}

cell[n="8"]:after {
  color: darkorange;
}

cell.flag {
  background: orange;
  cursor: default;
}

cell.hooray {
  background: greenyellow;
}

cell.mine {
  background: red;
}

cell.explo {
  background: darkred;
}

input:disabled {
  opacity: 0.5;
  cursor: default;
}

#decimal {
  font-size: 0.5em;
  opacity: 0.5;
}

#decimal:not(.shown) {
  display: none;
}

#decimal:before {
  content: ".";
}

#quickend {
  display: none;
  width: -moz-fit-content;
  width: fit-content;
  margin: 12px auto;
  border-radius: 4px;
  background: rgba(128, 128, 128, 0.5019607843);
  border-radius: 4px;
  padding: 2px;
  cursor: pointer;
}

#quickend.shown {
  display: block;
}

body:has(#tog-zg:checked) #toggle-zerg {
  box-shadow: 0 0 16px 0 greenyellow;
}
body:has(#tog-zg:checked) cell:after {
  content: attr(vin);
}

#hotkeys:not(.shown) {
  display: none;
}

#hotkeys {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5019607843);
  display: flex;
  align-items: center;
  justify-content: center;
}

#hotkeys-inner {
  background: white;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding: 8px;
  border-radius: 4px;
}/*# sourceMappingURL=sty.css.map */
