/* nunito-sans-300 - latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/nunito-sans-v5-latin-300.eot);
  src: local('Nunito Sans Light'), local('NunitoSans-Light'),
       url(fonts/nunito-sans-v5-latin-300.eot?#iefix) format('embedded-opentype'), 
       url(fonts/nunito-sans-v5-latin-300.woff2) format('woff2'), 
       url(fonts/nunito-sans-v5-latin-300.woff) format('woff'), 
       url(fonts/nunito-sans-v5-latin-300.ttf) format('truetype')
}
/* nunito-sans-regular - latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nunito-sans-v5-latin-regular.eot);
  src: local('Nunito Sans Regular'), local('NunitoSans-Regular'),
       url(fonts/nunito-sans-v5-latin-regular.eot?#iefix) format('embedded-opentype'), 
       url(fonts/nunito-sans-v5-latin-regular.woff2) format('woff2'), 
       url(fonts/nunito-sans-v5-latin-regular.woff) format('woff'), 
       url(fonts/nunito-sans-v5-latin-regular.ttf) format('truetype')
}
/* nunito-sans-600 - latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/nunito-sans-v5-latin-600.eot);
  src: local('Nunito Sans SemiBold'), local('NunitoSans-SemiBold'),
       url(fonts/nunito-sans-v5-latin-600.eot?#iefix) format('embedded-opentype'), 
       url(fonts/nunito-sans-v5-latin-600.woff2) format('woff2'), 
       url(fonts/nunito-sans-v5-latin-600.woff) format('woff'), 
       url(fonts/nunito-sans-v5-latin-600.ttf) format('truetype')
}
/* nunito-sans-700 - latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/nunito-sans-v5-latin-700.eot);
  src: local('Nunito Sans Bold'), local('NunitoSans-Bold'),
       url(fonts/nunito-sans-v5-latin-700.eot?#iefix) format('embedded-opentype'), 
       url(fonts/nunito-sans-v5-latin-700.woff2) format('woff2'), 
       url(fonts/nunito-sans-v5-latin-700.woff) format('woff'), 
       url(fonts/nunito-sans-v5-latin-700.ttf) format('truetype')
}
/* nunito-sans-800 - latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/nunito-sans-v5-latin-800.eot);
  src: local('Nunito Sans ExtraBold'), local('NunitoSans-ExtraBold'),
       url(fonts/nunito-sans-v5-latin-800.eot?#iefix) format('embedded-opentype'), 
       url(fonts/nunito-sans-v5-latin-800.woff2) format('woff2'), 
       url(fonts/nunito-sans-v5-latin-800.woff) format('woff'), 
       url(fonts/nunito-sans-v5-latin-800.ttf) format('truetype')
}
/* nunito-sans-900 - latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(fonts/nunito-sans-v5-latin-900.eot);
  src: local('Nunito Sans Black'), local('NunitoSans-Black'),
       url(fonts/nunito-sans-v5-latin-900.eot?#iefix) format('embedded-opentype'), 
       url(fonts/nunito-sans-v5-latin-900.woff2) format('woff2'), 
       url(fonts/nunito-sans-v5-latin-900.woff) format('woff'), 
       url(fonts/nunito-sans-v5-latin-900.ttf) format('truetype')
}


html{
  -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}
html, body{
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  touch-action: none;
}
body{
  /* https://cssgradient.io/  Start: #1f913d - End: #03533b - Degree: 160 */
  background: rgb(31,145,61);
  background: -moz-linear-gradient(120deg, rgba(31,145,61,1) 0%, rgba(3,83,59,1) 100%);
  background: -webkit-linear-gradient(120deg, rgba(31,145,61,1) 0%, rgba(3,83,59,1) 100%);
  background: linear-gradient(120deg, rgba(31,145,61,1) 0%, rgba(3,83,59,1) 100%);
}

body{
  color: #fff;
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-stretch: normal;
  font-style: normal;
}

#root{
  width: 100%;
  height: 100%;
}

#app {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#game-container{
  width: 100%;
  flex-grow: 1;
}

#game-container-inner{
  /*
  margin-left: 6px;
  margin-right: 6px;
  */
  height: 100%;
  position: relative;
}

#game-container-inner canvas{
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}



#device-mobile-portrait{
  display: block;
}
#device-mobile-landscape{
  display: none;
}
#device-desktop{
  display: none;
}

/* Desktop */
@media only screen and (min-width: 768px) and (min-height:500px) {
  #device-mobile-portrait{
    display: none;
  }
  #device-mobile-landscape{
    display: none;
  }
  #device-desktop{
    display: block;
  }
}

/* Mobile Landscape */
@media only screen and (min-width: 500px) and (max-height: 500px) {
  #device-mobile-portrait{
    display: none;
  }
  #device-mobile-landscape{
    display: block;
  }
  #device-desktop{
    display: none;
  }
}





#loading{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
#loading-bar{
  margin-top: 8px;
  height: 48px;
  width: 50%;
  max-width: 300px;
  border: 2px solid #39c07e;
  padding: 2px;
  border-radius: 24px;
  overflow: hidden;
  box-sizing: border-box;
}
#loading-bar-inner{
  background-color: #39c07e;
  height: 40px;
  border-radius: 20px;
}


#header{
  width: 100%;
  padding-top: 6px;
  height: 48px;
  display: none;
  justify-content: space-between;
  align-items: center;
  flex-grow: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
#header-left{
  margin-left: 16px;
  display: flex;
  align-items: center;
}
#header-game-title{
  font-size: 18px;
  font-weight: 700;
  margin-right: 12px;
  user-select: none;
}
#header-right{
  margin-right: 12px;
  display: flex;
  align-items: center;
}
#header-game-score-time-moves{
  display: flex;
  margin-right: 12px;
  user-select: none;
}
#header-game-score-time-moves > div{
  width: 72px;
  text-align: center;
}
#header-game-score-time-moves span{
  display: block;
}
.header-value{
  font-size: 18px;
  font-weight: 700;
}
.header-metric{
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}
#header-version-select{
  margin-right: 8px;
  position: relative;
}
#header-version-select-dropdown-content{
  display: none;
  position: absolute;
  top: 100%;
  width: auto;
  white-space: nowrap;
  padding-top: 8px;
  min-width: 100%;
}
#header-version-select ul{
  padding: 8px;
  margin: 0;
  list-style: none;
  background-color: #fff;
  color: #414141;
  border-radius: 12px;
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, .3);;
}
#header-version-select ul li{
  cursor: pointer;
  padding: 4px;
  font-size: 14px;
}
#header-version-select ul li.underline{
  text-decoration: underline;
}
#header-version-select ul li:hover{
  text-decoration: underline;
}
#header-version-select:hover #header-version-select-dropdown-content{
  display: block;
}
.header-icon-btn{
  height: 36px;
  width: 36px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.25);
}
.header-icon-btn svg{
  height: 18px;
  fill: #fff;
}

#header-mobile-portrait{
  width: 100%;
  height: 52px;
  display: flex;
  color: #fff;
  justify-content: center;
  align-items: center;
  position: relative;
}
#header-mobile-portrait-left{
  position: absolute;
  left: 5px;
  display: flex;
}
#header-mobile-portrait-right{
  position: absolute;
  right: 6px;
  display: flex;
}

.header-mobile-icon-btn{
  height: 36px;
  width: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
#header-mobile-portrait-game-title{
  font-size: 18px;
  font-weight: 700;
}
.header-mobile-icon-btn svg{
  height: 24px;
  fill: #fff;
}

/* Desktop */
@media only screen and (min-width: 768px) and (min-height:500px) {
  #header-mobile-portrait{
    display: none;
  }
  #header{
    display: flex;
  }
}

/* Mobile Landscape */
@media only screen and (min-width: 500px) and (max-height: 500px) {
  #header-mobile-portrait{
    display: none;
  }
  #header{
    display: none;
  }
}

/* Fullscreen */
@media only screen and (min-width: 1280px) and (min-height:720px) {
  #header{
    height: 64px;
  }
}



#footer{
  display: none;
  height: 56px;
  flex-grow: 0;
  flex-shrink: 0;
}
#footer{
  text-align: center;
}
#footer-center{
  position: relative;
}
#footer-left{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-100%, -50%);
  padding-right: 8px;
  display: flex;
  column-gap: 8px;
}
#footer-right{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(100%, -50%);
  padding-left: 8px;
  display: flex;
  column-gap: 8px;
}
#footer-center-buttons{
  display: flex;
  background-color: #fff;
  border-radius: 12px;
  height: 48px;
  color: #939393;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  user-select: none;
}
#footer-center-buttons > div{
  padding-top: 4px;
  width: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #939393;
  cursor: pointer;
  transition: all 0.3s;
}
#footer-center-buttons > div:last-of-type{
  border-right: 0;
}
#footer-center-buttons > div:hover, #footer-center-buttons > div:active{
  background-color: #efefef;
}
#footer-center-buttons svg{
  height: 18px;
  margin-bottom: 0px;
}
#footer-center-buttons path{
  fill: #414141;
}

#footer-mobile-portrait{
  height: 128px;
  width: 100%;
}
#footer-mobile-portrait-buttons{
  width: 100%;
  display: flex;
  background-color: #fff;
  border-radius: 12px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  height: 64px;
  color: #939393;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  user-select: none;
}
#footer-mobile-portrait-buttons > span{
  user-select: none;
}
#footer-mobile-portrait-buttons > div{
  min-width: 0;
  flex: 1;
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #939393;
  cursor: pointer;
  transition: all 0.3s;
}
#footer-mobile-portrait-buttons > div:last-of-type{
  border-right: 0;
}
#footer-mobile-portrait-buttons > div:active{
  background-color: #efefef;
}
#footer-mobile-portrait-buttons svg{
  height: 18px;
  margin-bottom: 2px;
}
#footer-mobile-portrait-buttons path{
  fill: #414141;
}
#footer-mobile-portrait-score-time-moves{
  height: 64px;
  display: flex;
  justify-content: center;
  width: 100%;
}
#footer-mobile-portrait-score-time-moves > div{
  padding-top: 8px;
  padding-bottom: 8px;
  display: flex;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.13);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
#footer-mobile-portrait-score-time-moves > div > div{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 84px; 
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}
#footer-mobile-portrait-score-time-moves > div > div:last-of-type{
  border-right: 0;
}




#footer-mobile-landscape{
  height: 48px;
  width: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  column-gap: 12px;
}
#footer-mobile-landscape-hamburger{
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  flex-shrink: 0;
}
#footer-mobile-landscape-buttons{
  display: flex;
  background-color: #fff;
  border-radius: 12px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  height: 48px;
  color: #939393;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  user-select: none;
}
#footer-mobile-landscape-buttons > span{
  user-select: none;
}
#footer-mobile-landscape-buttons > div{
  width: 72px;
  min-width: 0;
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #939393;
  cursor: pointer;
  transition: all 0.3s;
}
#footer-mobile-landscape-buttons > div:last-of-type{
  border-right: 0;
}
#footer-mobile-landscape-buttons > div:active{
  background-color: #efefef;
}
#footer-mobile-landscape-buttons svg{
  height: 18px;
  margin-bottom: 2px;
}
#footer-mobile-landscape-buttons path{
  fill: #414141;
}
#footer-mobile-landscape-score-time-moves{
  height: 48px;
  display: flex;
  justify-content: center;
}
#footer-mobile-landscape-score-time-moves .header-value{
  font-size: 14px;
}
#footer-mobile-landscape-score-time-moves > div{
  min-width: 0;
  padding-top: 4px;
  padding-bottom: 4px;
  display: flex;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.13);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
#footer-mobile-landscape-score-time-moves > div > div{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 72px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}
#footer-mobile-landscape-score-time-moves > div > div:last-of-type{
  border-right: 0;
}


/* Mobile Landscape */
@media only screen and (min-width: 500px) and (max-height: 500px) {
  #footer-mobile-portrait{
    display: none;
  }
  #footer-mobile-landscape{
    display: flex;
  }
  #footer{
    display: none;
  }
}

/* Desktop */
@media only screen and (min-width: 768px) and (min-height:500px) {
  #footer-mobile-portrait{
    display: none;
  }
  #footer-mobile-landscape{
    display: none;
  }
  #footer{
    display: block;
  }
}

/* Fullscreen */
@media only screen and (min-width: 1280px) and (min-height:720px) {
  #footer{
    height: 80px;
  }
  #footer-center-buttons{
    height: 64px;
  }
}


.button{
  user-select: none;
  padding: 0;
  margin: 0;
  padding-left: 12px;
  padding-right: 12px;
  height: 36px;
  display: flex;
  align-items: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  border: 0;
  outline: 0;
}
.button:focus{
  outline: 0;
}
.button:disabled{
  cursor: default;
}
.button svg{
  height: 18px;
  margin-right: 6px;
}
.button.icon-right svg{
  margin-right: 0;
  margin-left: 6px;
}
.button ~ .button{
  /*margin-left: 8px;*/
}
.button .arrow-down{
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
  margin-left: 6px;
}

.button.primary{
  color: #fff;
  background-color: #39c07e;
}
.button.primary:hover, .button.primary:active{
  background-color: #2fad70;
}
.button.primary path{
  fill: #fff;
}
.button.primary .arrow-down{
  border-top-color: #fff;
}

.button.secondary{
  color: #fff;
  background-color: rgba(255, 255, 255, 0.25);
}
.button.secondary:hover, .button.secondary:active{
  background-color: rgba(255, 255, 255, 0.40);
}
.button.secondary path{
  fill: #fff;
}
.button.secondary .arrow-down{
  border-top-color: #fff;
}

.button.tertiary{
  color: #414141;
  background-color: rgba(227, 227, 227, 1);
}
.button.tertiary:hover, .button.tertiary:active{
  background-color: rgba(213, 213, 213, 1);
}
.button.tertiary path{
  fill: #414141;
}
.button.tertiary .arrow-down{
  border-top-color: #414141;
}
.button.tertiary:disabled{
  color: #A9A9A9;
}
.button.tertiary:disabled path{
  fill: #A9A9A9;
}
.button.tertiary:disabled:hover, .button.tertiary:disabled:active{
  background-color: rgba(227, 227, 227, 1);
}

.button.yellow{
  background-color: #FFE53A;
  color: #000;
}
.button.yellow:hover, .button.yellow:active{
  background-color: #FFED7A;
}
.button.yellow path{
  fill: #000;
}
.button.yellow .arrow-down{
  border-top-color: #000;
}

.button.white{
  background-color: #FFF;
  color: #414141;
}
.button.white:hover, .button.white:active{
  background-color: rgba(227, 227, 227, 1);
}
.button.white path{
  fill: #414141;
}


.waves{
  position: relative;
  overflow: hidden;
}
span.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 300ms linear;
  background-color: rgba(0, 0, 0, 0.25);
}
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

#modal-root{
  z-index: 9999999;
  position: relative;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.65);
}
.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  background-color: white;
  color: #414141;
  box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 18px;
  max-height: 80%;
  overflow-y: auto;
  text-align: center;
}
.modal:focus{
  outline: none;
}

.modal{
  top: 0%;
  transition: top 300ms ease-in-out;
}
.modal--after-open{
  top: 50%;
}
.modal--before-close{
  top: 0%;
}
.modal-overlay {
  opacity: 0;
  transition: opacity 300ms ease-in-out;
}
.modal-overlay--after-open{
    opacity: 1;
}
.modal-overlay--before-close{
    opacity: 0;
}

.modal-close-xmark{
  position: absolute;
  right: 12px;
  top: 12px;
  cursor: pointer;
}
.modal-close-xmark svg{
  height: 24px;
}
.modal-close-xmark path{
  fill: #414141;
}
.modal-header{
  padding-bottom: 12px;
  font-size: 24px;
  font-weight: 300;
  border-bottom: 1px solid #c9c9c9;
}
.modal-content{
  font-size: 14px;
}
.modal-bottom-buttons{
  margin-top: 36px;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 12px;
  column-gap: 8px;
}


.modal-large{
  width: 90%;
  height: 90%;
  box-sizing: border-box;
}
.modal-large{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modal-large .modal-header, .modal-large .modal-bottom-buttons{
  flex-grow: 0;
  flex-shrink: 0;
}
.modal-large .modal-content{
  flex-grow: 1;
  overflow: auto;
}
.modal-large .modal-bottom-buttons{
  margin-top: 12px;
  margin-bottom: 0;
}
.modal-large .modal-content{
  text-align: left;
}

/* desktop */
@media only screen and (min-width: 768px) and (min-height:500px) {
  .modal{
    padding: 24px;
    width: 402px;
  }
  .modal-large{
    width: 80%;
    max-width: 640px;
    max-height: 640px;
  }
}

/* Fullscreen */
@media only screen and (min-width: 1280px) and (min-height:720px) {
  .modal-large{
    max-width: 640px;
    max-height: 640px;
  }
}

/* Mobile Landscape */
@media only screen and (min-width: 500px) and (max-height: 500px) {
  .modal-large{
    height: 95%;
  }
  .modal{
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .modal-header{
    padding-bottom: 4px;
  }
  .modal-bottom-buttons{
    margin-top: 8px;
  }
}


#modal-statistics .modal-bottom-buttons{
  margin-top: 24px;
  margin-bottom: 0; 
}

#modal-win{
  background-color: #000644;
  
  background-image: url('assets/win-modal-clouds1.png'), url('assets/win-modal-clouds2.png'), url('assets/win-modal-back.png');
  background-size: 100% auto, 100% auto, auto;
  background-position: center bottom -40px, center bottom -40px, top center;
  padding-bottom: 48px;
  /*
  background-image: url('assets/win-modal-back.png');
  background-size: auto;
  background-position: top center;
  */
  background-repeat: no-repeat;


  color: #fff;
}
#modal-win .modal-header{
  font-size: 36px;
  border-bottom: none;
}
#modal-win #win-modal-streak-paragraph{
  font-size: 14px;
}
#modal-win .win-modal-streak-highlight{
  font-weight: bold;
  color: #39c07e;
}
#modal-win .modal-bottom-buttons{
  margin-top: 24px;
}
#btn-win-modal-new-game path{
  fill: #088744;
}
#btn-win-modal-statistics path{
  fill: #39c07e;
}
#btn-win-modal-game-of-the-day path{
  fill: #39c07e;
}

#win-modal-table{
  table-layout: fixed;
  border: none;
  width: 100%;
  display: table;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 16px;
  margin-bottom: 24px;
}
#win-modal-table .win-modal-stat-metric{
  font-weight: bold;
  font-size: 16px;
}
#win-modal-personal-bests-subheader td{
  padding-top: 18px;
}
#win-modal-table .win-modal-values{
  color: #39c07e;
  font-size: 20px;
  font-weight: bold;
}
#win-modal-table .win-modal-values span{
  position: relative;
}
#win-modal-table .win-modal-values .win-modal-star{
  position: absolute;
  left: 125%;
  top: 4px;
  
  height: 18px;
  fill: #ffc834;
}
@keyframes star-spin {
  from {
    transform:rotate(0deg);
  }
  to {
    transform:rotate(360deg);
  }
}
.star-spin {
  animation-name: star-spin;
  animation-duration: 4000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}







.option{
  margin-top: 18px;
}
.option-header{
  color: #088744;
  font-weight: 700;
  margin-bottom: 6px;
}
.option-radio-label{
  margin-right: 24px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.option-radio-label:last-of-type{
  margin-right: 0;
}
.option-radio-label input{
  margin: 0;
  margin-right: 6px;
}

.spanLink{
  cursor: pointer;
  text-decoration: underline;
}
.italic{
  font-style: italic;
}






.sidebar-modal{
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 250px;
  background-color: white;
  color: #414141;
  box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.2);
  padding: 18px;
  padding-top: 48px;
  text-align: left;
  overflow-y: scroll;
}
.sidebar-modal:focus{
  outline: none;
}

.sidebar-modal{
  left: -250px;
  transition: left 300ms ease-in-out;
}
.sidebar-modal--after-open{
  left: 0
}
.sidebar-modal--before-close{
  left: -250px;
}
#sidebar-buttons{
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#sidebar-buttons li{
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Mobile Landscape */
@media only screen and (min-width: 500px) and (max-height: 500px) {
  .sidebar-modal{
    padding-top: 12px;
  }
}


#game-number-input {
  border:none;
  background-image:none;
  background-color:transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  min-width: 200px;
  border: 2px solid #39c07e;
  border-radius: 8px;
  height: 24px;
}
.error{
  color: red;
}



.rules-header{
  color: #088744;
  font-weight: 700;
  margin-bottom: 6px;
}
.rules-paragraph{
  margin-block-start: 0.5em;
  margin-block-end: 1em;
}
.rules-paragraph ul{
  margin: 0;
  padding-inline-start: 20px;
}


.statistics-field{
  margin-top: 12px;
  border: 1px solid #EEEEEE;
  border-radius: 8px;
  overflow: hidden;
}
.statistics-header{
  background-color: #EEEEEE;
  font-weight: bold;
  padding: 4px 0;
  font-size: 14px;
}
.statistics-values{
  display: flex;
  justify-content: space-evenly;
  padding: 4px 0;
}
.statistics-metric, .statistics-value{
  display: block;
}
.statistics-value{
  font-size: 16px;
  color: #088744;
  font-weight: bold;
}


#modal-game-of-the-day .modal-content{
  text-align: center;
}

#modal-game-of-the-day-header{
  margin-top: 12px;
  height: 36px;
  position: relative;
}
#modal-game-of-the-day-header-title{
  line-height: 36px;
  font-size: 16px;
  font-weight: bold;
  color: #088744;
}
#modal-game-of-the-day-prev-month{
  position: absolute;
  left: 0;
  top: 0;
}
#modal-game-of-the-day-next-month{
  position: absolute;
  right: 0;
  top: 0;
}

#modal-game-of-the-day-prev-month span, #modal-game-of-the-day-next-month span{
  display: none;
}
#modal-game-of-the-day-prev-month .button svg, #modal-game-of-the-day-next-month .button svg{
  margin-left: 0;
  margin-right: 0;
}
#modal-game-of-the-day-prev-month svg, #modal-game-of-the-day-next-month svg{
  margin-left: 0;
  margin-right: 0;
}
/* Desktop */
@media only screen and (min-width: 768px) and (min-height:500px) {
  #modal-game-of-the-day-header-title{
    font-size: 20px;
  }

  #modal-game-of-the-day-prev-month span, #modal-game-of-the-day-next-month span{
    display: inline;
  }
  #modal-game-of-the-day-prev-month svg{
    margin-right: 6px;
  }

  #modal-game-of-the-day-next-month svg{
    margin-left: 6px;
  }
}
/* Mobile Landscape */
@media only screen and (min-width: 500px) and (max-height: 500px) {
  #modal-game-of-the-day-prev-month span, #modal-game-of-the-day-next-month span{
    display: inline;
  }
  #modal-game-of-the-day-prev-month svg{
    margin-right: 6px;
  }

  #modal-game-of-the-day-next-month svg{
    margin-left: 6px;
  }
}

#modal-game-of-the-day-play-btn-container{
  text-align: center;
  margin-top: 16px;
}
#modal-game-of-the-day-play-btn{
  margin-left: auto;
  margin-right: auto;
}

#modal-game-of-the-day-progress{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}
#modal-game-of-the-day-progress-highlight{
  color: #088744;
  font-weight: bold;
}
#modal-game-of-the-day-progress-bar{
  width: 200px;
  height: 20px;
  border: 2px solid #A9A9A9;
  border-radius: 8px;
  /*
  margin-left: auto;
  margin-right: auto;
  */
  padding: 1px;
  box-sizing: border-box;
  position: relative;
}
#modal-game-of-the-day-progress-bar-helper{
  width: 100%;
  height: 100%;
  background-color: transparent;
  border-radius: 6px;
  overflow: hidden;
  box-sizing: border-box;
}
#modal-game-of-the-day-progress-bar-inner{
  height: 14px;
  background-color: #A9A9A9;
  border-radius: 0;
}
#modal-game-of-the-day-progress-bar-left-text{
  font-weight: bold;
  display: flex;
  align-items: center;
  margin-right: 8px;
}
#modal-game-of-the-day-progress-right-trophy{
  margin-left: 8px;
}
#modal-game-of-the-day-progress-right-trophy svg{
  height: 36px;
  display: block;
}
#modal-game-of-the-day-progress-right-trophy.bronze svg{
  fill: #814B0C;
}
#modal-game-of-the-day-progress-right-trophy.silver svg{
  fill: #A4A4A4;
}
#modal-game-of-the-day-progress-right-trophy.gold svg{
  fill: #EFBF04;
}
.modal-game-of-the-day-progress-bar-step{
  position: absolute;
  top: -6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translate(-50%);
  font-weight: bold;
}
#modal-game-of-the-day-progress-bar-bronze{
  color: #814B0C;
}
#modal-game-of-the-day-progress-bar-silver{
  color: #A4A4A4;
}
#modal-game-of-the-day-progress-bar-gold{
  left: 100%;
  color: #EFBF04;
}
.modal-game-of-the-day-progress-bar-vertical-line{
  height: 32px;
  width: 1px;
  background-color: #414141;
}

#modal-game-of-the-day-helper-text{
  margin-bottom: 6px;
}

#modal-game-of-the-day-month{
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
  border-spacing: 2px;
  border: none;
}
#modal-game-of-the-day-month th{
  font-size: 12px;
  font-weight: bold;
  color: #9C9C9C;
}
#modal-game-of-the-day-month td{
  width: 28px;
  height: 28px;
  user-select: none;
  cursor: pointer;
  border-radius: 4px;
  background-color: #F1F1F1;
}
#modal-game-of-the-day-month td.empty{
  border: none;
  cursor: default;
  background-color: transparent;
}
#modal-game-of-the-day-month td.unavailable{
  color: #C9C9C9;
  cursor: default;
  background-color: transparent;
}
#modal-game-of-the-day-month td.today-unfinished{
  color: #000;
  background-color: #FFE53A;
  font-weight: bold;
}
#modal-game-of-the-day-month td.finished{
  color: #FFF;
  font-weight: bold;
  background-color: #39C07E;
}



#modal-game-of-the-day-info .modal-content{
  text-align: left;
}



#modal-trophy-case .modal-content{
  text-align: center;
}
.modal-trophy-case-year{
  margin-top: 24px;
}
.modal-trophy-case-year-header{
  font-size: 20px;
  font-weight: bold;
  color: #088744;
}
.modal-trophy-case-year-header-sub{
  font-size: 14px;
  color: #414141;
  font-weight: normal;
}
.modal-trophy-case-year-trophies{
  margin-top: 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 12px;
}
.modal-trophy-case-year-trophies .trophy {
  width: 48px;
}
.modal-trophy-case-year-trophies .trophy svg{
  width: 36px;
  height: 36px;
}
.modal-trophy-case-year-trophies .trophy.trophy-bronze svg{
  fill: #814B0C;
}
.modal-trophy-case-year-trophies .trophy.trophy-silver svg{
  fill: #A4A4A4;
}
.modal-trophy-case-year-trophies .trophy.trophy-gold svg{
  fill: #EFBF04;
}


.toast-trophy{
  display: flex;
  align-items: center;
}
.toast-trophy svg{
  width: 36px;
  height: 36px;
  margin-right: 12px;
}
.toast-trophy.bronze svg{
  fill: #814B0C;
}
.toast-trophy.silver svg{
  fill: #A4A4A4;
}
.toast-trophy.gold svg{
  fill: #EFBF04;
}


#game-container-inner-text{
  position: absolute;
  font-size: 14px;
  font-weight: bold;
  z-index: 2;
  bottom: 18px;
  left: 6px;
  max-width: 150px;
}

/* Desktop */
@media only screen and (min-width: 768px) and (min-height:500px) {
  #game-container-inner-text{
    bottom: 6px;
    left: 12px;
    font-size: 16px;
    max-width: none;
  }
}

/* Mobile Landscape */
@media only screen and (min-width: 500px) and (max-height: 500px) {
  #game-container-inner-text{
    left: 12px;
    bottom: 6px;
  }
}