.App {
  display: grid;
  place-content: center;
  height: 100%;
  font-family: App;
  font-size: 18px;
  user-select: none;
  -webkit-tap-highlight-color: #0000;
  color: #ffffffa0;
  background: #6d6969;
}
.splash {
  grid-area: 1/1;
  place-self: center;
  display: grid;
  place-content: center;
  width: 100vw;
  height: 100vh;
}
#game-page {
  grid-area: 1/1;
  display: grid;
  place-self: center;
}
#game-page-inner {
  grid-area: 1/1;
  z-index: 1;
  display: grid;
  padding: 20px;
}
#header {
  grid-area: 1/1;
  align-self: start;
  display: grid;
  justify-items: center;
}
.score-panel {
  grid-area: 2/1;
  justify-self: center;
  display: grid;
  gap: 3em;
}
.score-panel-item {
  display: grid;
  justify-content: center;
  justify-items: center;
}
.score {
  color: #000;
  transform: translateY(0.07em);
}
#board {
  grid-area: 3/1;
  display: grid;
  place-self: center;
}
.prompt-outer {
  grid-area: 1/1/8/8;
  z-index: 3;
  place-self: center;
  pointer-events: none;
}
.prompt-inner {
  height: 50px;
  padding: 0 30px;
  display: grid;
  place-content: center;
  border-radius: 25px;
  font-size: 0.85em;
}
#play-again {
  color: #000;
  background: #f4f1c8;
}
#game-in-progress {
  background: #000;
  color: #fff;
}
.size-selector {
  grid-area: 4/1;
  place-self: center;
  display: grid;
  grid-auto-flow: column;
}
.toolbar {
  grid-area: 5/1;
  display: grid;
  grid-auto-flow: column;
  gap: 25px;
  place-self: center;
  margin-top: 5px;
}
.tile {
  display: grid;
  box-sizing: border-box;
}
.tile-away {
  grid-area: 1/1;
  place-self: center;
  opacity: 0;
}
.tile-dot {
  grid-area: 1/1;
  place-self: end start;
  border: 1px solid white;
  border-radius: 50%;
  width: 14%;
  height: 14%;
  opacity: 0;
  background: #4285f4;
  place-self: center;
  transform: translate(-150%, 150%);
}
.tile-location-icon {
  grid-area: 1/1;
  place-self: start end;
  opacity: 0;
  place-self: center;
  transform: translate(110%, -50%);
}
.tile-background {
  grid-area: 1/1;
  border: 1px solid #fff8;
  margin: 2.3%;
}
.tile-selected-container {
  display: grid;
  grid-area: 1/1;
  opacity: 0;
}
.tile-selected {
  grid-area: 1/1;
  border: 5px solid white;
  margin: 1px;
  z-index: 2;
}
.tile-selected-shadow {
  grid-area: 1/1;
  border: 5px solid black;
  margin: 1px;
  transform: translate(1px, 1px);
}
.tile-reveal {
  grid-area: 1/1;
  place-self: end;
  font-size: 12px;
  margin: 0 7px 6px 0;
}
.round-button {
  display: grid;
  border-radius: 50%;
  place-content: center;
  color: #000;
}
.overlay {
  grid-area: 1 / 1;
  place-self: center;
  z-index: 2;
  display: grid;
  opacity: 0;
  box-sizing: border-box;
}
.x-button {
  grid-area: 1/1;
  place-self: end start;
  padding: 20px;
  cursor: pointer;
}
.bmg {
  grid-area: 1/1;
  place-self: start center;
  border-radius: 20px;
  font-family: Square;
  font-size: 24px;
  margin-top: 20px;
}
.help {
  grid-area: 1/1;
  place-self: center;
  display: grid;
  gap: 0.8em;
  padding: 0.85em;
  font-family: Roboto;
}
.help-header {
  place-self: center;
  margin: 0 0 0.8em;
  font-family: Square;
}
.help-item {
  display: grid;
  grid: auto / auto 1fr;
  grid-auto-flow: column;
  gap: 10px;
  max-width: 95%;
}
.stats {
  grid-area: 1/1;
  display: grid;
  place-content: center;
  place-items: center;
  font-size: 0.9em;
}
.stats-header {
  margin-bottom: 1em;
  font-family: Square;
}
.stats-item {
  display: grid;
  grid-auto-flow: column;
  grid: auto / 65px 75px 65px 65px 65px;
}
.stats-cell {
  display: grid;
  place-content: center;
  padding: 10px 0;
  border: solid #ffffff28;
  border-width: 0 1px 1px 0;
}
#stats-clear-all {
  margin-top: 2em;
  padding: 2px 0;
  border-radius: 20px;
  cursor: pointer;
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
}
.options {
  grid-area: 1/1;
  place-self: center;
  display: grid;
  gap: 40px;
}
.option {
  display: grid;
  grid: auto / 116px auto;
  gap: 30px;
  align-items: center;
  cursor: pointer;
}
.option-prompt {
  justify-self: end;
  font-size: 35px;
  font-family: Square;
}
.option-check {
  width: 40px;
  height: 40px;
}
body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.body,
.wrapper {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow-y: hidden;
}
.body {
  z-index: 1;
}
.wrapper {
  z-index: 2;
}
@font-face {
  font-family: Roboto;
  src: url(Roboto-Regular-bde8a188.ttf);
}
@font-face {
  font-family: Roboto Mono;
  src: url(RobotoMono-Regular-c7ab2d73.ttf);
}
@font-face {
  font-family: Square;
  src: url(Square-Deal-6496fa5f.ttf);
}
@font-face {
  font-family: App;
  src: url(NcsRadhiumz-Rp3x6-9fb69595.ttf);
}
.root-scroll {
  display: grid;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.root-scroll::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
.root-scroll::-webkit-scrollbar-thumb:hover {
  background: #fff5;
}
.root-scroll::-webkit-scrollbar-thumb {
  background: #fff4;
  border-radius: 10px;
}
.root-scroll::-webkit-scrollbar-track:hover {
  background: #ffffff05;
}
.root-scroll-mobile::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}
.root-scroll-mobile::-webkit-scrollbar-thumb {
  border-radius: 1px;
}
