:root {
  --home-options-blue: rgb(84, 157, 255);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-25: rgba(255, 255, 255, 0.25);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-80: rgba(255, 255, 255, 0.8);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Century Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
    'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
}

.body,
.wrapper {
  /* Break the flow */
  position: absolute;
  top: 0px;

  /* Give them all the available space */
  width: 100%;
  height: 100%;

  /* Remove the margins if any */
  margin: 0;

  /* Allow them to scroll down the document */
  overflow-y: hidden;
}

.body {
  /* Sending body at the bottom of the stack */
  z-index: 1;
}

.wrapper {
  /* Making the wrapper stack above the body */
  z-index: 2;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

.page-root {
  position: relative;
  height: 100%;
}

.app-link:hover {
  opacity: 1;
}

.simple-selector {
  display: grid;
  height: 100%;
  align-content: center;
  justify-content: center;
  justify-items: center;
  overflow: hidden;
  user-select: none;
}

.simple-selector-landscape {
  grid: auto / auto auto auto auto auto;
}

.app-option {
  color: white;
  padding: 0 10px;
  cursor: pointer;
  width: 220px;
  height: 70px;
  box-sizing: border-box;
  margin: 10px;
  display: grid;
  grid: auto/auto 1fr;
  align-items: center;
  text-shadow: 1px 1px black;
}

.install-prompt {
  position: absolute;
  bottom: 0;
  right: 0;
  background: white;
  color: navy;
  height: 50px;
  padding: 0 10px;
  display: grid;
  grid: auto/auto 1fr auto;
  align-content: center;
  align-items: center;
  font-family: Roboto;
  cursor: pointer;
}

.install-prompt-x {
  color: black;
  opacity: 0.5;
  margin: -3px 0 0 16px;
  font-size: 28px;
}

.install-prompt-x:hover {
  opacity: 1;
}

@media screen and (orientation: portrait) {
  #ad-portrait {
    display: inline;
  }
  #ad-landscape {
    display: none;
  }
}

@media screen and (orientation: landscape) {
  #ad-portrait {
    display: none;
  }
  #ad-landscape {
    display: inline;
  }
}

@font-face {
  font-family: Roboto;
  src: url(Roboto-Regular.ttf);
}

@font-face {
  font-family: QuartzMS;
  src: url(QuartzMS.ttf);
}

@font-face {
  font-family: Bitsumishi;
  src: url(Bitsumis.ttf);
}

@font-face {
  font-family: 'Times New Roman';
  src: url("Times New Roman.ttf");
}

@font-face {
  font-family: 'Century Gothic';
  src: url(GOTHIC.ttf);
}

@font-face {
  font-family: Horizon;
  src: url(Horizon.ttf);
}

.navigation-button {
  position: absolute;
  bottom: 10px;
  left: 10px;
  height: 36px;
  cursor: pointer;
  opacity: 0.7;
  z-index: 2;
}

.navigation-button:hover {
  opacity: 1;
}

.home-button {
  left: 60px;
}

.option {
  height: 100px;
  cursor: pointer;
  transition: background-color 200ms;
}

.option:hover {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
}

.toolbar {
  height: 36px;
  z-index: 1;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.toolbar-button {
  cursor: pointer;
  opacity: 0.85;
}

.toolbar-button:hover {
  opacity: 1;
}

.toolbar-button-disabled {
  cursor: initial;
  opacity: 0.35;
}

.toolbar-button-disabled:hover {
  opacity: 0.35;
}

.message {
  grid-area: 1/1;
  align-self: center;
  justify-self: center;
  color: white;
  z-index: 1;
  min-width: 130px;
  min-height: 40px;
  padding: 10px 20px;
  display: grid;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  font-size: 19px;
  cursor: pointer;
  border-radius: 12px;
  transition: opacity 500ms;
  font-size: 1em;
}

.fadein-animation {
  animation: fadein linear;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 100%;
  }
}

@keyframes fadeout {
  from {
    opacity: 100%;
  }
  to {
    opacity: 0;
  }
}

.fadein-fast {
  animation: fadein linear;
  animation-duration: 100ms;
  animation-delay: 100ms;
  animation-fill-mode: backwards;
}

.fadein-slow {
  animation: fadein linear;
  animation-duration: 500ms;
  animation-delay: 500ms;
  animation-fill-mode: backwards;
}

.fadeout {
  opacity: 0;
}

.options {
  position: absolute;
  right: 0;
  bottom: 50px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 10px 15px;
  display: grid;
  z-index: 2;
  border-radius: 12px 0 0 12px;
  transition: opacity 200ms;
  user-select: none;
}

.options-x {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 28px;
  cursor: pointer;
  padding: 5px 10px;
  margin-right: 10px;
  z-index: 1;
  opacity: 0.7;
  color: var(--home-options-blue);
}

.options-x:hover {
  opacity: 1;
}

.options-item {
  display: grid;
  grid: auto/auto 1fr;
  align-items: center;
  align-content: center;
  column-gap: 10px;
  opacity: 0.7;
  cursor: pointer;
  height: 50px;
}

.options-item:hover {
  opacity: 1;
}

.options-item-disabled {
  cursor: initial;
  opacity: 0.35;
}

.options-item-disabled:hover {
  opacity: 0.35;
}

.volume {
  height: 30px;
  display: grid;
  align-content: center;
}

.volume-bullet {
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  border: 1px solid var(--home-options-blue);
  border-radius: 50%;
  margin: 5px;
}

.leaders-screen {
  background: rgba(0, 0, 0, 0.65);
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: grid;
  transition: opacity 200ms;
}

.leaders {
  width: 360px;
  height: 100%;
  position: absolute;
  right: 0;
  grid-area: 1/1;
  border-style: solid;
  border-width: 0 0 0 1px;
  border-color: var(--white-25);
  display: grid;
  grid: auto 1fr 160px / auto;
  font-size: 14px;
}

.leaders-circle {
  border-radius: 50%;
  height: 36px;
  width: 36px;
  display: grid;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  place-self: center;
}

.leader-item {
  box-sizing: border-box;
  background: rgb(0, 0, 0, 0.25);
  height: 60px;
  padding: 0 8px;
  display: grid;
  grid: auto/auto 1fr auto auto;
  align-items: center;
  margin-bottom: 2px;
}

.leader-item-score {
  background: black;
  border-radius: 4px;
  display: grid;
  align-content: center;
  justify-items: center;
  margin-left: 4px;
  height: 48px;
  width: 60px;
}

.leader-item-score > span {
  font-weight: bold;
}

.leader-item-rank {
  grid-area: 1/1;
  color: black;
  margin-right: 8px;
}

.leaders-input-area {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 160px;
  width: 360px;
  box-sizing: border-box;
  background: black;
  display: grid;
  grid: auto 7px auto 11px auto 14px auto/3fr 3fr 2fr 2fr;
  padding: 8px 12px;
  align-content: start;
}

.leaders-input-area > span {
  font-weight: bold;
}

.leaders-input {
  grid-area: 5/1 / span 1 / span 2;
  box-sizing: border-box;
  width: 190px;
  padding: 0 8px;
  height: 40px;
  border-radius: 4px;
  border-width: 0;
  outline-width: 0;
}

.leaders-offline-message {
  font-size: 16px;
  padding: 20px;
  grid: auto/auto;
}

.leaders-footnote {
  grid-area: 7 / 2 / 7 / span 4;
  font-size: 11px;
  color: gray;
  justify-self: end;
}

.leaders-submit {
  grid-area: 5/3 / span 1 / span 2;
  border-radius: 4px;
  font-size: 16px;
  display: grid;
  align-content: center;
  justify-content: center;
  opacity: 0.8;
  cursor: pointer;
}

.leaders-submit:hover {
  opacity: 1;
}

.leaders-submit-disabled {
  opacity: 0.35;
  cursor: initial;
}

.leaders-submit-disabled:hover {
  opacity: 0.35;
}

.loader {
  align-self: center;
  justify-self: center;
  -webkit-animation: rotation 2s infinite linear;
  animation: rotation 2s infinite linear;
}

@keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}

@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}

.title {
  color: white;
  margin: 1em 0;
  text-align: center;
  opacity: 0.8;
  text-shadow: 0.08em 0.08em black;
  display: grid;
  justify-items: center;
  font-size: 20px;
}

.menu-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: white;
  margin: 3px;
}

.menu {
  position: absolute;
  right: 30px;
  top: 10px;
  background: darkred;
  border: 1px solid white;
  color: var(--white-80);
  padding: 10px 15px 12px;
  display: grid;
  z-index: 2;
  transition: opacity 200ms;
  user-select: none;
  text-align: center;
}

.home-menu {
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0.8;
  cursor: pointer;
}

.home-email {
  color: white;
  text-decoration: none;
  user-select: all;
}

.root-message {
  margin: 20px;
  color: dimgray;
}

.triangula-page {
  display: grid;
  height: 100%;
  justify-content: center;
  background: rgb(126, 39, 188);
  overflow: hidden;
  position: relative;
  user-select: none;
}

.ta-game-page {
  grid: auto 1fr 46px / auto;
  /* justify-content: center; */
}

.line {
  height: 2px;
  background: orange;
  transform-origin: 0 50%;
}

.line-animation {
  animation: line linear;
}

@keyframes line {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.formula {
  grid-area: 1/1;
  background: rgba(0, 0, 0, 0.85);
  font-size: 15px;
  width: 270px;
  padding: 25px;
}

.winner-message {
  color: orange;
  border: 2px solid white;
  background: rgba(0, 0, 0, 0.6);
}

.triangula-option {
  display: grid;
  align-items: center;
  justify-items: center;
  height: initial;
  padding: 20px;
  justify-self: start;
}

.topbar {
  grid-area: 1/1;
  display: grid;
  height: 101px;
  text-shadow: 1px 1px black;
}

.statsbar {
  display: grid;
  height: 21px;
  color: white;
  font-size: 12px;
  transform: translateY(3px);
}

.scorebar {
  display: grid;
  grid: auto / 68px 1fr 70px 1fr 68px;
  align-items: center;
  height: 80px;
  overflow: hidden;
  margin: 0 -25px;
}

.board {
  display: grid;
  grid-area: 2/1;
  align-self: center;
  justify-self: center;
}

@keyframes player {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

.current-player {
  animation: player linear;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.non-current-player {
  opacity: 0.35;
}

.pointer {
  cursor: pointer;
}

.pie-and-grade {
  grid-area: 1/3;
  display: grid;
  align-items: center;
  justify-content: center;
}

.grade {
  grid-area: 1/1;
  text-align: center;
  color: white;
  font-size: 12px;
}

.pie {
  grid-area: 1/1;
  border: 1px solid var(--white-50);
  border-radius: 50%;
  height: 68px;
  width: 68px;
}

.ta-help {
  grid-area: 1/1;
  overflow: auto;
  grid: auto auto / auto auto;
  margin: 30px 0 60px;
}

.help-item {
  display: grid;
  align-items: start;
  color: white;
  text-shadow: 1px 1px black;
  padding: 8px 5px 8px 0;
}

.leaders-selector {
  grid-area: 1/1;
  background: black;
  height: 50px;
  display: grid;
  grid: auto/auto auto auto auto auto auto auto auto auto;
  align-content: center;
  align-items: center;
}

.leaders-selector-item {
  opacity: 0.35;
  cursor: pointer;
}

.leaders-selector-item-current {
  opacity: 1;
  cursor: initial;
}

.leaders-selector-item:hover {
  opacity: 1;
}

.leaders-size-selector {
  background: rgb(103, 188, 39);
  color: white;
}

.ta-scroll {
  display: grid;
  overflow: auto;
}

.ta-scroll::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.ta-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(126, 39, 188, 0.5);
}

.ta-scroll::-webkit-scrollbar-thumb {
  background: rgba(126, 39, 188, 0.25);
  border-radius: 6px;
}

.ta-scroll::-webkit-scrollbar-track {
  border-radius: 50%;
}

.ta-scroll-mobile::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

.ta-scroll-mobile::-webkit-scrollbar-thumb {
  border-radius: 1px;
}

.ms-page {
  display: grid;
  height: 100%;
  justify-content: center;
  align-content: center;
  user-select: none;
}

.ms-instructions {
  grid-area: 1/1;
  display: grid;
  justify-content: center;
  color: white;
  padding: 10px;
  max-width: 400px;
}

.ms-instructions-text {
  transition: opacity 500ms;
  text-shadow: 1px 1px black;
}

.ms-board {
  grid-area: 2/1;
  display: grid;
  grid: 2fr 0.6fr 1fr / auto;
  overflow: hidden;
  max-width: 400px;
  justify-self: center;
  align-self: center;
}

.ms-big-shapes {
  grid-area: 1/1;
  overflow: hidden;
  display: grid;
  grid: auto/auto auto;
}

.ms-small-shapes {
  grid-area: 3/1;
  display: grid;
  grid: auto/auto auto auto auto auto auto;
  overflow: hidden;
  justify-content: space-around;
  padding: 0 10px;
}

.ms-resume {
  width: 400px;
  height: 400px;
  display: grid;
  align-content: center;
  justify-content: center;
  justify-items: center;
  grid-area: 1/1 / span 3;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  z-index: 1;
  align-self: center;
  justify-self: center;
}

.ms-logo-title {
  position: absolute;
  left: 1%;
  top: 1%;
  z-index: 1;
  display: grid;
  align-items: center;
  grid: auto/auto auto;
}

.ms-title {
  grid-area: 1/2;
  margin-left: 10px;
  font-size: calc(3vw + 3vh);
  font-family: 'Bitsumishi';
}

.ms-title-gradient {
  background: -webkit-linear-gradient(0deg, #ff6666, #66ffff 35%, #66ff66, #ffff66, #ff66ff, #6666ff);
  -webkit-text-fill-color: transparent;
  background-clip: initial;
  -webkit-background-clip: text;
  z-index: 1;
}

.ms-scoreboard {
  grid-area: 1/1;
  display: grid;
  grid: auto auto auto/auto;
  color: silver;
  text-shadow: 1px 1px black;
}

.ms-stats {
  grid-area: 1/1;
  margin: auto;
  padding: 10px 0;
  font-size: 14px;
}

.ms-stats-item {
  width: 110px;
  margin: 0 20px 0 10px;
  color: lightgreen;
}

.ms-score {
  grid-area: 2/1;
  display: grid;
  justify-content: space-evenly;
}

.ms-score-item {
  display: grid;
  grid: auto auto / auto;
  justify-items: center;
}

.ms-score-item-value {
  font-family: QuartzMS;
  font-size: 36px;
  margin: 0 0 -5px;
}

.ms-score-item-label {
  grid-area: 2/1;
  font-size: 15px;
}

.ms-clock {
  grid-area: 3/1;
  font-family: QuartzMS;
  color: lime;
  font-size: 36px;
  margin: 15px 0 0 0;
  display: grid;
  grid: auto/1fr auto 1fr;
  align-items: center;
}

.ms-intro {
  overflow: auto;
  z-index: 1;
  color: white;
  text-shadow: 1px 1px black;
  padding: 0 20px;
  display: grid;
  font-size: 18px;
}

.ms-intro-item {
  display: grid;
  align-items: start;
  color: white;
  grid: auto/auto 1fr;
  margin: 0 0 10px 0;
}

.ms-start {
  padding: 10px 30px;
  margin: 20px 0 0 0;
  justify-self: center;
  border: 1px solid white;
  border-radius: 8px;
  cursor: pointer;
}

.ms-start:hover {
  background: black;
}

.ms-gain {
  grid-area: 2/1;
  color: white;
  text-shadow: #fff 0px 0px 5px, #fff 0px 0px 10px, #fff 0px 0px 15px, lime 0px 0px 20px, lime 0px 0px 30px, lime 0px 0px 40px, lime 0px 0px 50px,
    lime 0px 0px 75px;
  font-size: 32px;
  z-index: 1;
  justify-self: center;
  align-self: center;
  margin-top: -140px;
  transition: opacity 300ms;
}

.ms-selector {
  grid-area: 1/1 / span 2/2;
  color: white;
  display: grid;
  align-content: center;
  justify-content: center;
  text-shadow: 1px 1px black;
}

.ms-selector-item {
  padding: 10px;
  margin: 5px;
  border: 1px solid white;
  border-radius: 8px;
  text-align: center;
  opacity: 0.35;
}

.ms-selector-item-enabled {
  background: transparent;
  cursor: pointer;
  opacity: 1;
  transition: background-color 200ms;
}

.ms-selector-item-enabled:hover {
  background: rgba(0, 0, 0, 0.6);
}

.ms-game-over-message {
  grid-area: 1 / 1 / span 3 / 2;
  padding: 30px;
  border: 2px solid white;
}

.ms-game-over-option {
  cursor: pointer;
  display: grid;
  align-items: center;
}

.ms-message-screen {
  grid-area: 1/1 / span 3;
  display: grid;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  justify-self: center;
  z-index: 2;
}

.ms-game-paused {
  grid-area: 1/1;
  transform: translateY(-100px);
  color: white;
  text-shadow: 1px 1px black;
  font-size: 24px;
}

.tt-page {
  display: grid;
  height: 100%;
  justify-content: center;
  align-content: center;
  background: rgb(0, 55, 106);
  user-select: none;
}

.tt-option-text {
  font-size: 22px;
  margin: 10px;
  display: grid;
  grid: auto/auto auto;
  justify-content: start;
  font-weight: bold;
}

.tt-scoreboard {
  text-shadow: 1px 1px black;
  display: grid;
  grid: auto auto auto auto / 100px 121px 100px;
  justify-items: center;
  color: silver;
  font-size: 13px;
  margin-top: 10px;
  justify-self: center;
}

.tt-quartz {
  font-size: 36px;
  font-family: QuartzMS;
}

.tt-score-label {
  font-size: 15px;
  margin-top: -2px;
}

.tt-cell {
  border: 1px solid var(--white-20);
  box-sizing: border-box;
  display: grid;
  overflow: hidden;
  grid-area: 1/1;
}

.tt-misaligned-dot {
  grid-area: 1/1;
  align-self: center;
  justify-self: center;
  background: orange;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.tt-help {
  color: white;
  grid-area: 1/1;
  display: grid;
  grid: auto 10px auto 10px auto 10px auto 5px auto/auto 1fr;
  background: rgba(0, 0, 0, 0.75);
  z-index: 2;
  text-shadow: 1px 1px black;
  padding: 15px;
  box-sizing: border-box;
  margin: 10px;
  max-width: 321px;
  justify-self: center;
  align-self: center;
  border-radius: 12px;
  transition: opacity 500ms;
  border: 1px solid silver;
}

.tt-board {
  grid-area: 1/1;
  display: grid;
  align-self: center;
  justify-self: center;
}

.tt-board-container {
  color: white;
  display: grid;
  align-content: center;
  justify-content: center;
}

.tt-leaders-size-selector {
  background: rgb(125, 167, 236);
  color: rgb(37, 50, 70);
}

.mt-page {
  display: grid;
  height: 100%;
  justify-content: center;
  align-content: center;
  background: rgb(141, 90, 58);
  overflow: hidden;
  position: relative;
  user-select: none;
}

.mt-logo-title {
  position: absolute;
  left: 1%;
  top: 1%;
  z-index: 1;
  display: grid;
  align-items: center;
  grid: auto/auto auto;
}

.mt-title {
  grid-area: 1/2;
  margin-left: 10px;
  font-size: calc(3vw + 3vh);
  font-family: 'Bitsumishi';
}

.mt-title-gradient {
  background: -webkit-linear-gradient(0deg, #00000010 -50%, rgb(216, 153, 164), #00000010 150%);
  -webkit-text-fill-color: transparent;
  background-clip: initial;
  -webkit-background-clip: text;
  z-index: 1;
}

.mt-twist-clockwise {
  align-self: center;
  justify-self: center;
  -webkit-animation: rotate-clockwise 30s infinite linear;
  animation: rotate-clockwise 30s infinite linear;
}

.mt-twist-counter-clockwise {
  -webkit-animation: rotate-counter-clockwise 15s infinite linear;
  animation: rotate-counter-clockwise infinite linear;
}

@keyframes rotate-clockwise {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

@-webkit-keyframes rotate-clockwise {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes rotate-counter-clockwise {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-360deg);
  }
}

@-webkit-keyframes rotate-counter-clockwise {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-360deg);
  }
}

.mt-leaders-size-selector {
  background: rgb(233, 127, 161);
  color: darkred;
}

.mt-leaders-selector-item {
  opacity: 0.5;
  cursor: pointer;
}

.mt-leaders-selector-item-current {
  opacity: 1;
  cursor: initial;
}

.mt-leaders-selector-item:hover {
  opacity: 1;
}

.tm-page {
  display: grid;
  height: 100%;
  justify-content: center;
  align-content: center;
  background: darkslategray;
  overflow: hidden;
  position: relative;
  user-select: none;
}

.tm-size-option {
  width: 80px;
  height: 80px;
  margin: 5px;
  border: 2px solid white;
  display: grid;
  align-content: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  text-shadow: 0.075em 0.075em black;
  box-shadow: 0.075em 0.075em black;
  cursor: pointer;
  opacity: 0.8;
}

.tm-size-option:hover {
  opacity: 1;
  transition: opacity 200ms;
}

.tm-tray {
  margin-bottom: 20px;
  justify-content: center;
  display: grid;
  grid: auto / auto 20px auto;
}

.tm-cell {
  border: 1px solid var(--white-20);
  box-sizing: border-box;
  display: grid;
}

.tm-dot {
  background: radial-gradient(circle at 40% 30%, white 1px, lime 3%, darkgreen 65%, lime 100%);
  width: 0.125em;
  height: 0.125em;
  border-radius: 50%;
}

.tm-dot-area {
  display: grid;
  align-content: center;
  justify-content: center;
  grid-area: 1/1;
}

.tm-leaders-size-selector {
  background: darkorange;
  color: black;
}

:root {
  --sm-page-color: rgb(80, 0, 0);
  --sm-color: rgb(233, 199, 127);
  --sm-shadow: 0.075em 0.075em black;
}

.sm-page {
  display: grid;
  height: 100%;
  justify-content: center;
  align-content: center;
  background: var(--sm-page-color);
  user-select: none;
}

.sm-title {
  grid-area: 1/2;
  margin-left: 10px;
  font-size: calc(3vw + 3vh);
  font-family: 'Times New Roman';
}

.sm-title-gradient {
  background: -webkit-linear-gradient(
    0deg,
    var(--sm-page-color) -40%,
    var(--sm-color) 10%,
    white,
    var(--sm-color) 90%,
    var(--sm-page-color) 140%
  );
  -webkit-text-fill-color: transparent;
  background-clip: initial;
  -webkit-background-clip: text;
  z-index: 1;
}

.sm-size-option {
  width: 80px;
  height: 80px;
  margin: 5px;
  border: 5px solid var(--sm-color);
  display: grid;
  align-content: center;
  justify-content: center;
  color: var(--sm-color);
  box-shadow: inset var(--sm-shadow), var(--sm-shadow);
  cursor: pointer;
  font-family: 'Times New Roman';
  background: rgba(0, 0, 0, 0.25);
}

.sm-size-option:hover {
  background: rgba(0, 0, 0, 0.5);
  transition: background-color 200ms;
}

.sm-cell {
  box-sizing: border-box;
  display: grid;
  align-content: center;
  justify-content: center;
  display: grid;
  overflow: hidden;
}

.sm-leaders-size-selector {
  background: rgb(233, 199, 127);
  color: rgb(70, 57, 37);
}

.nm-page {
  display: grid;
  height: 100%;
  justify-content: center;
  align-content: center;
  background: rgb(120, 50, 120);
  user-select: none;
  color: white;
  font-size: 1em;
}

.nm-help-page {
  grid: auto 1fr auto 76px / auto;
  justify-content: stretch;
}

.nm-title {
  grid-area: 1/2;
  margin-left: 10px;
  font-size: calc(3vw + 3vh);
  font-family: Roboto;
  color: white;
  text-shadow: #fff 0px 0px 5px, #fff 0px 0px 10px, #fff 0px 0px 15px, magenta 0px 0px 20px;
}

.nm-help {
  color: gainsboro;
  display: grid;
  grid: auto 10px auto 10px auto 10px auto 10px auto / auto;
  max-width: 340px;
  padding: 0 5px;
  text-shadow: 1px 1px black;
  align-self: center;
  /* margin-top: 20px; */
}

.nm-help-buttons {
  grid-area: 3/1;
  display: grid;
  justify-content: center;
}

.nm-number-pad {
  display: grid;
  border-color: gainsboro;
  border-style: solid;
  box-sizing: border-box;
  border-width: 0 1px 1px 0;
  font-family: Roboto;
  font-size: 15px;
  text-shadow: none;
}

.nm-number-pad-cell {
  border-color: gainsboro;
  border-style: solid;
  border-width: 1px 0 0 1px;
  display: grid;
  place-content: center;
}

.nm-195 {
  height: 25px;
  display: grid;
  align-content: center;
  background: gainsboro;
  font-family: Roboto;
  font-size: 15px;
  color: rgb(50, 0, 50);
  font-weight: bold;
  text-shadow: none;
}

.nm-board-container {
  display: grid;
  place-content: center;
  grid: 1fr auto/auto;
  margin: 1em 0;
}

.nm-stack {
  grid-area: 1/1;
  border-color: gainsboro;
  border-style: solid;
  border-width: 1px 1px 0 1px;
  display: grid;
}

.nm-stack-item {
  grid-area: 1/1;
  display: grid;
  place-content: center;
  font-family: Roboto;
}

.nm-start-prompt {
  grid-area: 1/1;
  place-self: center;
  color: white;
  display: grid;
  justify-items: center;
  z-index: 1;
}

.nm-quartz {
  font-size: 32px;
  font-family: QuartzMS;
}

.nm-points {
  color: white;
  text-shadow: #fff 0px 0px 5px, #fff 0px 0px 10px, #fff 0px 0px 15px, #ff2d95 0px 0px 20px, #ff2d95 0px 0px 30px, #ff2d95 0px 0px 40px,
    #ff2d95 0px 0px 50px, #ff2d95 0px 0px 75px;
  grid-area: 1/1;
  font-size: 3em;
  place-self: center;
}

.nm-x {
  grid-area: 2/1;
  align-self: end;
  justify-self: center;
  transform: translateY(56px);
}

.nm-level-selector {
  color: white;
  margin-top: 1em;
  display: grid;
  grid-auto-flow: column;
  align-items: center;
}

.nm-level-selection {
  place-self: center;
  width: 1.4em;
  height: 1.4em;
  display: grid;
  place-content: center;
  border-radius: 50%;
  cursor: pointer;
  box-sizing: border-box;
}

.re-page {
  display: grid;
  height: 100%;
  justify-content: center;
  align-content: center;
  background: rgb(229, 229, 216);
  user-select: none;
}

.re-help-page {
  overflow: auto;
  color: black;
  grid-area: 1/1;
  font-size: 1em;
}

.re-help-content {
  display: grid;
  grid: auto auto auto auto auto auto auto / auto;
  max-width: 321px;
}

.re-card {
  max-width: 110px;
  max-height: 160px;
  box-sizing: border-box;
  border: 4px solid saddlebrown;
  border-radius: 10px;
  display: grid;
  grid: 1fr 1fr 1fr / 1fr 1fr;
  margin: 3px;
}

.re-yen {
  border-radius: 50%;
  place-self: center;
  color: white;
  display: grid;
  place-content: center;
}

.re-start {
  padding: 10px 30px;
  margin: 20px 0 0 0;
  justify-self: center;
  border: 2px solid saddlebrown;
  color: saddlebrown;
  border-radius: 8px;
  cursor: pointer;
}

.re-start:hover {
  background: rgba(0, 0, 0, 0.1);
}

.re-leaders-size-selector {
  background: silver;
  color: black;
}

.re-game-paused {
  grid-area: 1/1;
  transform: translateY(-100px);
  color: white;
  /* text-shadow: 1px 1px black; */
  font-size: 24px;
}

.cm-page {
  display: grid;
  height: 100%;
  justify-content: center;
  align-content: center;
  background: DimGray;
  user-select: none;
  color: rgb(240, 220, 175);
  font-size: 1em;
}

.cm-option {
  width: 12em;
  height: 3em;
  background: rgba(0, 0, 0, 0.6);
  margin: 10px;
  display: grid;
  place-content: center;
  cursor: pointer;
}

.cm-option:hover {
  background: black;
}

.cm-board-container {
  color: white;
  display: grid;
  align-content: center;
  justify-content: stretch;
  grid: auto 99px / auto;
  align-self: center;
}

.cm-board {
  grid-area: 1/1;
  display: grid;
  grid: 1fr 1fr 1fr 1fr 1fr 1fr 1fr / 1fr 1fr 1fr 1fr 1fr 1fr;
  background: white;
}

.cm-color-picker {
  grid-area: 2/1;
  display: grid;
  grid: 1fr 31px 1px 31px 1px 31px / 1fr 1fr 1fr;
}

.cm-picker-item {
  display: grid;
}

.cm-picker-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  place-self: center;
  background: black;
  opacity: 0.75;
}

.cm-start-prompt {
  grid-area: 1/1 / span 7 / span 6;
  place-self: stretch;
  place-content: center;
  color: white;
  display: grid;
  justify-items: center;
  z-index: 1;
}

.cm-resume {
  grid-area: 1/1 / span 7 / span 6;
  width: 100%;
  height: 100%;
}

.cm-start {
  width: 10em;
  height: 3em;
  box-sizing: border-box;
  margin: 20px 0 0 0;
  justify-self: center;
  border: 1px solid white;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  place-content: center;
}

.cm-start:hover {
  font-weight: bold;
  border-width: 2px;
}

.cm-help {
  max-width: 321px;
  color: #ffffffc0;
  display: grid;
  text-shadow: 1px 1px black;
}

.cm-help-pic1 {
  display: grid;
  grid: 50px / 50px 40px 50px 40px 50px 40px 50px;
  margin-top: 1em;
}

.cm-help-pic2 {
  display: grid;
  grid: 80px / 80px 40px 80px 40px 80px;
  margin-top: 1em;
}

.cm-help-operator {
  font-size: 2em;
  place-self: center;
}

.cm-help-arrow {
  font-size: 1.3em;
  place-self: center;
}

.cm-help-cluster {
  display: grid;
  padding: 6px;
  grid: 1fr 1fr / 1fr 1fr;
}

.cm-help-cell {
  display: grid;
  place-content: center;
}

.pn-page {
  display: grid;
  height: 100%;
  justify-content: center;
  align-content: center;
  background: #b55a25;
  user-select: none;
  color: lightyellow;
  font-size: 1em;
}

.pn-title {
  grid-area: 1/2;
  margin-left: 10px;
  font-size: calc(6vw + 6vh);
  color: #300000;
  text-shadow: -1px -1px lightyellow;
  font-family: Horizon;
  margin: 0.1em 0 0 10px;
}

.pn-tile {
  width: 48px;
  height: 48px;
  margin: 1px;
  border-radius: 7px;
  box-shadow: 3px 3px 5px black;
  display: grid;
  place-content: center;
  background: radial-gradient(circle at 50% 50%, #f3debd, #aa9b84 100%);
}

.pn-spot {
  width: 48px;
  height: 48px;
  margin: 1px;
  background: #00000040;
  box-sizing: border-box;
}

.pn-option {
  width: 98px;
  height: 98px;
  box-shadow: 6px 6px 10px black;
  margin: 10px;
  display: grid;
  align-items: center;
}

.pn-skill-option {
  width: 205px;
  height: 80px;
  justify-content: start;
  padding-left: 20px;
}

.pn-size-option {
  width: 205px;
  height: 80px;
  justify-content: start;
  padding-left: 20px;
  margin: 7px;
}

.pn-option-text {
  font-size: 36px;
  margin-left: 15px;
}

.pn-board {
  display: grid;
  place-content: stretch;
  grid: auto 1fr / auto;
}

.pn-tray {
  grid-area: 1/1;
  width: 300px;
  justify-self: center;
  display: grid;
  grid: 60px auto / auto;
}

.pn-tray-top {
  display: grid;
  align-self: end;
  justify-content: center;
}

.pn-tray-top-3 {
  grid: auto / 50px 13px 50px 13px 50px;
}

.pn-tray-top-4 {
  grid: auto / 50px 8px 50px 8px 50px 8px 50px;
}

.pn-tray-top-5 {
  grid: auto / 50px 3px 50px 3px 50px 3px 50px 3px 50px;
}

.pn-tray-bottom {
  grid-area: 2/1;
  height: 7px;
  z-index: 1;
  box-shadow: 1px 1px 3px black;
}

.pn-tray-message {
  grid-area: 1/1;
  display: grid;
  place-self: center;
  margin-bottom: -10px;
  font-family: QuartzMS;
  font-size: 24px;
}

.pn-surface {
  display: grid;
  place-content: center;
  grid-area: 2/1;
  margin: 5px;
  box-sizing: border-box;
  overflow: auto;
}

.pn-scroll {
  display: grid;
  overflow: auto;
}

.pn-scroll::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.pn-scroll::-webkit-scrollbar-thumb:hover {
  background: #b55a2580;
}

.pn-scroll::-webkit-scrollbar-thumb {
  background: #b55a2540;
  border-radius: 6px;
}

.pn-scroll::-webkit-scrollbar-track {
  border-radius: 50%;
}

.pn-scroll-mobile::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

.pn-scroll-mobile::-webkit-scrollbar-thumb {
  border-radius: 1px;
}

.pn-scoreboard {
  color: silver;
  text-shadow: 1px 1px black;
  display: grid;
  place-items: center;
  font-size: 13px;
  margin-top: 10px;
  justify-self: center;
}

.pn-scoreboard-solo {
  grid: auto auto auto / 65px 50px 40px 40px 50px 65px;
}

.pn-scoreboard-ai {
  grid: auto auto auto / 75px 65px 65px 65px 75px;
}

.pn-scoreboard-friend {
  grid: auto auto auto / 100px 65px 20px 65px 100px;
}

.pn-stats {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
}

.pn-stats-value {
  margin: 0 15px 0 9px;
  color: lightyellow;
}

.pn-quartz {
  font-family: QuartzMS;
  color: rgb(100, 255, 100);
  font-size: 32px;
}

.pn-sub-quartz {
  font-family: QuartzMS;
  /* color: lightyellow; */
  font-size: 20px;
}

.pn-score {
  margin-left: -20px;
}

.pn-check {
  position: absolute;
  bottom: 10px;
}

.pn-invalid-message-screen {
  grid-area: 1 / 1 / span 2 / 1;
  display: grid;
  z-index: 1;
}

.pn-invalid-message {
  background: #000000c0;
  padding: 1em;
  z-index: 1;
  max-width: 300px;
  place-self: center;
  border-radius: 8px;
}

.pn-help {
  grid-area: 1/1;
  display: grid;
  grid: auto auto / auto auto;
  overflow: auto;
  margin: 30px 0 60px;
}

.pn-help-bullet {
  margin: 6px 10px 0 0;
  width: 6px;
  height: 6px;
  background: lightpink;
  border-radius: 50%;
  box-shadow: 1px 1px black;
}

.pn-play-button {
  left: initial;
  right: 10px;
  padding: 0 20px;
  margin: 0;
  color: white;
  display: grid;
  place-content: center;
}

.home-page {
  display: grid;
  justify-content: center;
  height: 100%;
  grid: auto 1fr auto/auto;
  background: #8a0000;
}

.bmg-com-wrapper {
  grid-area: 3/1;
  opacity: 1;
  text-shadow: none;
  margin: 35px 0 10px;
}

.bmg-com {
  color: white;
  text-decoration: none;
  user-select: none;
  font-size: 14px;
  letter-spacing: 0.09em;
}

.bmg-com-mind {
  color: lightpink;
  margin: 0 0.06em;
}

.more-games {
  font-size: 12px;
  color: var(--white-60);
  font-family: Arial, Helvetica, sans-serif;
  border: 1px dotted var(--white-60);
  width: 220px;
  height: 70px;
  display: grid;
  place-content: center;
  margin: 10px;
}

.home-scroll {
  display: grid;
  overflow: auto;
}

.home-scroll::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.home-scroll::-webkit-scrollbar-thumb:hover {
  background: #00000030;
}

.home-scroll::-webkit-scrollbar-thumb {
  background: #00000018;
  border-radius: 6px;
}

.home-scroll::-webkit-scrollbar-track {
  border-radius: 50%;
}

.home-scroll-mobile::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

.home-scroll-mobile::-webkit-scrollbar-thumb {
  border-radius: 1px;
}


/*# sourceMappingURL=main.3c6d.css.map*/