@charset "UTF-8";
/* You’ll compile this to /styles-dist/main.css */
* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #ff6547;
  color: #242021;
  font-family: "tenso", sans-serif;
  font-weight: 500;
  font-style: normal;
  max-width: 100vw;
  overflow: auto;
}

.app {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.app .button,
.app button {
  padding: 10px 20px;
  background-color: #ffffff;
  color: #242021;
  font-size: 26px;
  border-radius: 10px;
  transition: all cubic-bezier(0.22, 1, 0.36, 1) 0.33s;
  box-shadow: 3px 5px 0px #242021;
  border: solid 2px #242021;
  cursor: pointer;
  font-family: "tenso", sans-serif;
  font-weight: 700;
  font-style: normal;
}
@media (max-width: 380px) and (max-height: 670px) {
  .app .button,
  .app button {
    font-size: 18px;
  }
}
.app .button:hover,
.app button:hover {
  box-shadow: 1px 1px 0px #242021;
  transform: translate(3px, 3px);
  cursor: pointer;
}
.app .button span,
.app button span {
  cursor: pointer;
}
.app .button.inverted,
.app button.inverted {
  background-color: #242021;
  color: #ffffff;
  border: solid 2px #ffffff span;
  border-color: #ffffff;
}
.app .appMain {
  flex: 1;
}
.app .appMain .screen {
  opacity: 0;
  pointer-events: none;
  transition: opacity ease 0.33s, max-height linear 0s 0.35s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  overflow-x: hidden;
  max-height: 0px;
}
.app .appMain .screen.is-active {
  opacity: 1;
  pointer-events: all;
  transition-delay: 0.33s;
  display: block;
  max-height: 300dvh;
}
.app .appMain .screen[data-screen=intro] {
  padding-top: 0;
  position: relative;
  top: 0;
  left: 0;
  transform: none;
  transition: 0.33s ease, padding linear 0s 0.33s;
}
.app .appMain .screen[data-screen=intro].is-active {
  padding-top: 10dvh;
}
.app .appMain .screen[data-screen=intro] .panel {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media screen and (max-height: 700px) and (orientation: landscape) {
  .app .appMain .screen[data-screen=intro] .panel {
    padding: 45px 0px 0px;
  }
}
.app .appMain .screen[data-screen=intro] .subhead {
  font-family: "tenso", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(20px, 2.25dvh, 32px);
  line-height: 1.25em;
  text-align: center;
  margin: 0 auto;
  display: block;
  text-wrap: balance;
}
.app .appMain .screen[data-screen=intro] .legal {
  text-align: center;
  margin: 0 auto;
  margin: 20px auto;
  font-size: 13px;
  line-height: 1.25;
}
.app .appMain .screen[data-screen=intro] .legal strong {
  text-decoration: none;
}
.app .appMain .screen[data-screen=intro] .legal a {
  color: #242021;
  font-family: "tenso", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.app .appMain .screen[data-screen=intro] .image {
  width: 50dvh;
  height: 50dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 285px;
  min-height: 300px;
}
.app .appMain .screen[data-screen=intro] .image img {
  max-width: 100%;
}
@media screen and (max-height: 700px) and (orientation: landscape) {
  .app .appMain .screen[data-screen=intro] .image {
    min-width: 285px;
    min-height: 300px;
  }
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=intro] .image {
    position: relative;
    right: -10%;
  }
}
.app .appMain .screen[data-screen=intro] .image .bubble {
  width: 30dvh;
  height: 25dvh;
  background-image: url(../img/SpeachBubble.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 50%;
  top: -6dvh;
  z-index: -1;
  transform: translateX(-95%);
  min-width: 230px;
  min-height: 180px;
}
@media screen and (max-height: 700px) and (orientation: landscape) {
  .app .appMain .screen[data-screen=intro] .image .bubble {
    min-height: 205px;
  }
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=intro] .image .bubble {
    top: -12dvh;
    width: clamp(200px, 35dvh, 280px);
    height: clamp(150px, 30dvh, 250px);
    left: 55%;
  }
}
@media (max-width: 380px) and (max-height: 670px) {
  .app .appMain .screen[data-screen=intro] .image .bubble {
    width: 220px;
    height: 205px;
    top: -75px;
    left: 155px;
    min-width: 0;
  }
}
.app .appMain .screen[data-screen=intro] .image .bubble p {
  font-family: "tenso", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(16px, 1.75dvh, 20px);
  line-height: 1.25;
  position: absolute;
  top: 27.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 65%;
  text-wrap: balance;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=intro] .image .bubble p {
    top: 28%;
    font-size: clamp(10px, 4.75dvw, 16px);
    line-height: 1.2;
  }
}
@media (max-width: 380px) and (max-height: 670px) {
  .app .appMain .screen[data-screen=intro] .image .bubble p {
    font-size: 13px;
    width: 70%;
  }
}
.app .appMain .screen[data-screen=intro] .headline {
  margin: 1dvh auto;
}
.app .appMain .screen[data-screen=intro] .headline img {
  max-width: 100%;
  width: 40dvh;
  margin: 0 auto;
  display: block;
}
.app .appMain .screen[data-screen=intro] .actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1dvh;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=intro] .actions {
    flex-direction: column;
  }
}
.app .appMain .screen[data-screen=howto] {
  max-width: 1050px;
  margin: 0 auto;
  width: 100%;
  transition: opacity ease 0.33s;
}
.app .appMain .screen[data-screen=howto] .panel {
  max-width: 82dvh;
}
@media screen and (max-width: 935px) {
  .app .appMain .screen[data-screen=howto] .panel {
    max-width: 500px;
    padding: 10px 0;
  }
}
@media screen and (max-height: 700px) and (orientation: landscape) {
  .app .appMain .screen[data-screen=howto] .panel {
    max-width: 500px;
  }
}
@media screen and (max-height: 700px) and (orientation: landscape) {
  .app .appMain .screen[data-screen=howto] {
    position: relative;
    top: 50px;
    left: 0;
    transform: none;
  }
}
.app .appMain .screen[data-screen=howto] .title {
  margin: 0 auto 2dvh;
  max-width: 80%;
}
.app .appMain .screen[data-screen=howto] .title img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
.app .appMain .screen[data-screen=howto] .list {
  width: 100%;
  padding: 3%;
  background-color: #ffffff;
  display: block;
  text-align: left;
  margin: 0 auto;
  border: solid 3px #242021;
  border-radius: 25px;
  list-style: none;
}
.app .appMain .screen[data-screen=howto] .list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: clamp(15px, 2.45dvh, 32px);
  font-family: "tenso", sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.15em;
  padding: 2dvh;
  gap: 2dvh;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=howto] .list li {
    font-size: clamp(15px, 2dvh, 18px);
  }
}
@media (max-width: 380px) and (max-height: 670px) {
  .app .appMain .screen[data-screen=howto] .list li {
    font-size: clamp(10px, 1.9dvh, 16px);
  }
}
.app .appMain .screen[data-screen=howto] .list li img {
  max-width: 8dvh;
  margin: -2.5dvh -1dvh -2.5dvh -2.5dvh;
}
.app .appMain .screen[data-screen=howto] .list h2 {
  text-align: center;
  font-family: "tenso", sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(32px, 5dvh, 55px);
  color: #242021;
  margin: 0;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=howto] .list h2 {
    font-size: clamp(20px, 3dvh, 55px);
  }
}
@media (max-width: 380px) and (max-height: 670px) {
  .app .appMain .screen[data-screen=howto] .list h2 {
    font-size: clamp(20px, 4dvh, 55px);
  }
}
.app .appMain .screen[data-screen=howto] button[data-action=return] {
  display: none;
}
.app .appMain .screen[data-screen=howto].active {
  opacity: 1;
  max-height: 300dvh;
  pointer-events: auto;
}
@media all and (orientation: landscape) and (max-height: 700px) {
  .app .appMain .screen[data-screen=howto].active {
    top: 100px;
  }
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=howto].active {
    top: 55%;
  }
}
@media (max-width: 380px) and (max-height: 670px) {
  .app .appMain .screen[data-screen=howto].active {
    top: 59%;
  }
}
.app .appMain .screen[data-screen=howto].active button[data-action=howto-continue] {
  display: none;
}
.app .appMain .screen[data-screen=howto].active button[data-action=return] {
  display: block;
}
.app .appMain .screen[data-screen=select] {
  width: 90%;
  overflow: hidden;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=select] {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=select].is-active {
    max-height: 300dvh;
  }
}
.app .appMain .screen[data-screen=select] .panel {
  max-width: 1200px;
  margin: 0 auto;
}
.app .appMain .screen[data-screen=select] .puzzleTitle {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  display: block;
}
.app .appMain .screen[data-screen=select] .copy {
  text-align: center;
  font-family: "tenso", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 22px;
  margin: 0.75dvh auto 1.25dvh;
}
@media (max-width: 380px) and (max-height: 670px) {
  .app .appMain .screen[data-screen=select] .copy {
    font-size: 18px;
  }
}
.app .appMain .screen[data-screen=select] .puzzleChoices {
  margin-top: 16px;
  display: flex;
  gap: 20px;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=select] .puzzleChoices {
    flex-direction: column;
  }
}
.app .appMain .screen[data-screen=select] .puzzleChoice {
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background-color: transparent;
  box-shadow: none;
}
.app .appMain .screen[data-screen=select] .puzzleChoice__img {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
  border-radius: 15px;
  transition: all ease 0.25s;
  box-shadow: 0px 0px 0px rgba(36, 32, 33, 0);
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=select] .puzzleChoice__img {
    max-width: 33dvh;
  }
}
.app .appMain .screen[data-screen=select] .puzzleChoice__meta {
  display: grid;
  gap: 2px;
}
.app .appMain .screen[data-screen=select] .puzzleChoice__title {
  font-weight: 700;
  font-family: "tenso", sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(18px, 2.5dvh, 32px);
  text-align: center;
}
.app .appMain .screen[data-screen=select] .puzzleChoice__sub {
  font-size: 18px;
  opacity: 0.8;
  text-align: center;
  margin-bottom: 20px;
  font-family: "tenso", sans-serif;
  font-weight: 500;
  font-style: normal;
}
.app .appMain .screen[data-screen=select] .puzzleChoice:hover {
  transform: none;
}
.app .appMain .screen[data-screen=select] .puzzleChoice:hover img {
  box-shadow: 7px 7px 0px #242021;
  transform: scale(1.01) translateY(-5px);
}
.app .appMain .screen[data-screen=puzzle] {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}
.app .appMain .screen[data-screen=puzzle]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.33);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity ease 0.33s;
}
.app .appMain .screen[data-screen=puzzle].has-overlay::before {
  opacity: 1;
  pointer-events: auto;
}
.app .appMain .screen[data-screen=puzzle].has-overlay .overlay {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}
.app .appMain .screen[data-screen=puzzle] .overlay[hidden] {
  opacity: 0 !important;
  pointer-events: none;
}
.app .appMain .screen[data-screen=puzzle] .overlay {
  transition: all ease 0.33s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  background-color: #ffffff;
  border: solid 3px #242021;
  border-radius: 25px;
  padding: 20px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.33);
}
@media all and (max-height: 700px) and (orientation: landscape) {
  .app .appMain .screen[data-screen=puzzle] .overlay {
    top: 65%;
  }
}
.app .appMain .screen[data-screen=puzzle] .overlay h3 {
  font-size: 32px;
  font-family: "tenso", sans-serif;
  font-weight: 900;
  font-style: italic;
  margin: 0 auto;
}
.app .appMain .screen[data-screen=puzzle] .overlay p {
  font-size: 18px;
  color: #242021;
  text-wrap: balance;
  margin: 0 auto;
  text-align: center;
}
.app .appMain .screen[data-screen=puzzle] .overlay button {
  font-size: 18px;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=puzzle] .overlay button {
    font-size: 16px;
  }
}
.app .appMain .screen[data-screen=puzzle] .puzzleHelpPromptBtn {
  pointer-events: auto;
  position: absolute;
  top: 3dvh;
  right: 3dvh;
  padding: 8px;
  display: flex;
  gap: 5px;
  transition: all ease 0.33s;
  opacity: 0;
  transform: translateX(20px);
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 50;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=puzzle] .puzzleHelpPromptBtn {
    top: 1.5dvh;
    right: 1dvh;
    padding: 0;
    height: 4dvh;
    min-width: 35px;
    box-sizing: border-box;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.app .appMain .screen[data-screen=puzzle] .puzzleHelpPromptBtn span {
  font-size: 18px;
  font-family: "tenso", sans-serif;
  font-weight: 900;
  font-style: italic;
  max-width: 0px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  transition: all ease 0.33s;
}
.app .appMain .screen[data-screen=puzzle] .puzzleHelpPromptBtn:hover span, .app .appMain .screen[data-screen=puzzle] .puzzleHelpPromptBtn.is-expanded span {
  max-width: 115px;
  width: 115px;
}
.app .appMain .screen[data-screen=puzzle] .puzzleHelpPromptBtn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0px);
}
.app .appMain .screen[data-screen=puzzle] .puzzleHelpPromptBtn img {
  width: 25px;
  height: 25px;
  display: block;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=puzzle] .puzzleHelpPromptBtn img {
    width: 15px;
    height: 15px;
    margin-right: 5px;
  }
}
.app .appMain .screen[data-screen=puzzle] #inactivityOverlay {
  text-align: center;
}
.app .appMain .screen[data-screen=puzzle] #inactivityOverlay h3 {
  font-size: 22px;
}
.app .appMain .screen[data-screen=puzzle] #inactivityOverlay .overlayActions {
  display: flex;
  gap: 20px;
}
@media (max-width: 380px) and (max-height: 670px) {
  .app .appMain .screen[data-screen=puzzle] #inactivityOverlay .overlayActions {
    flex-direction: column;
    gap: 10px;
  }
}
.app .appMain .screen[data-screen=puzzle] .puzzleTitle {
  text-align: center;
  font-size: clamp(18px, 3dvh, 36px);
  color: #242021;
  margin: 0 auto;
  line-height: 1em;
  pointer-events: none;
  font-family: "tenso", sans-serif;
  font-weight: 900;
  font-style: italic;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=puzzle] .puzzleTitle {
    width: 85%;
  }
}
.app .appMain .screen[data-screen=puzzle] .puzzle-ui {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 50;
  transform: translate(-50%, 0%);
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90%;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=puzzle] .puzzle-ui {
    top: 7dvh;
  }
}
@media (max-width: 380px) and (max-height: 670px) {
  .app .appMain .screen[data-screen=puzzle] .puzzle-ui {
    top: 9dvh;
  }
}
.app .appMain .screen[data-screen=puzzle] .puzzle-ui .ui-btns {
  display: flex;
  gap: 15px;
  pointer-events: auto;
}
.app .appMain .screen[data-screen=puzzle] .puzzle-ui .ui-btns div {
  text-align: center;
}
.app .appMain .screen[data-screen=puzzle] .puzzle-ui .ui-btns div span {
  font-size: 12px;
  color: #242021;
  line-height: 2.5;
  text-align: center;
  display: block;
  margin-left: 3px;
  transition: all ease 0.25s;
}
@-moz-document url-prefix() {
  .app .appMain .screen[data-screen=puzzle] .puzzle-ui .ui-btns div span {
    line-height: 1;
  }
}
.app .appMain .screen[data-screen=puzzle] .puzzle-ui .ui-btns div:hover span {
  transform: translateX(3px);
  font-size: 13px;
  display: block;
}
.app .appMain .screen[data-screen=puzzle] .puzzle-ui .ui-btns button {
  padding: 0;
  transition: all ease 0.33s;
  margin: 0 auto;
}
.app .appMain .screen[data-screen=puzzle] .puzzle-ui .ui-btns button svg {
  width: 6dvh;
  display: block;
  margin: -1dvh;
  transition: all ease 0.25s;
  min-width: 45px;
}
.app .appMain .screen[data-screen=puzzle] .puzzle-ui .ui-btns button svg circle {
  stroke: #242021;
}
.app .appMain .screen[data-screen=puzzle] .puzzle-ui .ui-btns button.active {
  background-color: #242021;
  border-color: #ffffff;
}
.app .appMain .screen[data-screen=puzzle] .puzzle-ui .ui-btns button.active svg path {
  fill: #ffffff;
}
.app .appMain .screen[data-screen=puzzle] .puzzle-ui .ui-btns button.active svg circle {
  stroke: #ffffff;
}
.app .appMain .screen[data-screen=puzzle] .boardGuide {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  aspect-ratio: 1/1;
  width: 50dvh;
  height: 50dvh;
  border: 2px dashed rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  pointer-events: none;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vw;
}
.app .appMain .screen[data-screen=puzzle] .puzzle-container {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  touch-action: none;
  top: 0;
  left: 0;
  display: block;
  pointer-events: auto;
}
.app .appMain .screen[data-screen=puzzle] .puzzle-container.hidden {
  opacity: 0;
  pointer-events: none;
}
.app .appMain .screen[data-screen=puzzle] .puzzle-container.is-disabled {
  pointer-events: none;
}
.app .appMain .screen[data-screen=puzzle] .puzzle-ghost {
  transition: opacity ease 0.33s;
}
.app .appMain .screen[data-screen=puzzle] .puzzle-board {
  position: absolute;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 5; /* below canvases (you set canvases to 10+) */
  border: 2px dashed #333;
  border-radius: 8px; /* optional */
  opacity: 1;
  transition: opacity 200ms ease;
}
.app .appMain .screen[data-screen=puzzle] .polypiece {
  display: block;
  overflow: hidden;
  position: absolute;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}
.app .appMain .screen[data-screen=puzzle] .polypiece:focus,
.app .appMain .screen[data-screen=puzzle] .polypiece:focus-visible,
.app .appMain .screen[data-screen=puzzle] .polypiece:active {
  outline: none;
  box-shadow: none;
}
.app .appMain .screen[data-screen=finished] {
  display: flex;
  flex-direction: column;
  width: 90%;
  margin: 0 auto;
  gap: 1.25dvh;
  align-items: center;
  justify-content: center;
}
@media screen and (max-height: 700px) and (orientation: landscape) {
  .app .appMain .screen[data-screen=finished] {
    position: relative;
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0px);
    margin: 0;
    padding-bottom: 40px;
  }
}
.app .appMain .screen[data-screen=finished] .gameName {
  max-width: 500px;
  margin: 0 auto;
  width: 30dvh;
  display: block;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=finished] .gameName {
    width: 25dvh;
  }
}
.app .appMain .screen[data-screen=finished] .puzzleTitle {
  text-align: center;
  font-size: clamp(18px, 3dvh, 36px);
  color: #242021;
  margin: -10px auto;
  line-height: 1.5em;
  font-family: "tenso", sans-serif;
  font-weight: 900;
  font-style: italic;
}
.app .appMain .screen[data-screen=finished] .stars {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  top: 0;
  left: 0;
}
.app .appMain .screen[data-screen=finished] .stars div {
  position: absolute;
  width: 6dvh;
  height: 6dvh;
  background-image: url(../img/star1.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  animation: rotateScale ease infinite 6s;
}
@keyframes rotateScale {
  0% {
    opacity: 0;
    transform: scale(0.01) rotate(0deg);
  }
  60% {
    opacity: 0;
    transform: scale(0.01) rotate(0deg);
  }
  80% {
    opacity: 1;
    transform: scale(1.1) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.01) rotate(360deg);
  }
}
.app .appMain .screen[data-screen=finished] .stars div:nth-of-type(2n) {
  background-image: url(../img/star2.svg);
}
.app .appMain .screen[data-screen=finished] .stars div:nth-of-type(1) {
  left: 0;
  top: -5dvh;
}
.app .appMain .screen[data-screen=finished] .stars div:nth-of-type(2) {
  right: -5px;
  top: -25px;
  animation-delay: 2.25s;
}
.app .appMain .screen[data-screen=finished] .stars div:nth-of-type(3) {
  left: 70%;
  top: 10%;
  animation-delay: -4.25s;
}
.app .appMain .screen[data-screen=finished] .stars div:nth-of-type(4) {
  left: 8%;
  top: 70%;
  animation-delay: 7.25s;
}
.app .appMain .screen[data-screen=finished] .stars div:nth-of-type(5) {
  left: 0%;
  top: 93%;
  animation-delay: 3.25s;
}
.app .appMain .screen[data-screen=finished] .stars div:nth-of-type(6) {
  left: 72%;
  top: 78%;
  animation-delay: -6.25s;
}
.app .appMain .screen[data-screen=finished] .stars div:nth-of-type(7) {
  left: 90%;
  top: 94%;
  animation-delay: 1.25s;
}
.app .appMain .screen[data-screen=finished] .actions {
  display: flex;
  gap: 1.5dvh;
  flex-direction: column;
}
.app .appMain .screen[data-screen=finished] .actions button {
  min-width: 195px;
}
.app .appMain .screen[data-screen=finished] .actions button:first-of-type {
  font-size: 32px;
  display: block;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=finished] .actions button:first-of-type {
    font-size: 26px;
  }
}
.app .appMain .screen[data-screen=finished] .puzzleImage {
  max-width: 90%;
  width: 45dvh;
  position: relative;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=finished] .puzzleImage {
    width: 35dvh;
  }
}
.app .appMain .screen[data-screen=finished] .puzzleImage:before {
  content: "Nice Job!";
  font-family: "tenso", sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(28px, 4.5dvh, 42px);
  color: #242021;
  position: relative;
  display: block;
  width: 80%;
  text-align: center;
  margin: -5px auto 5px;
}
.app .appMain .screen[data-screen=finished] .puzzleImage img {
  width: 100%;
  border-radius: 10px;
}
.app .appMain .screen[data-screen=form] {
  width: 100%;
  position: relative;
  top: 0;
  transform: translate(0, 0);
  left: 0;
}
.app .appMain .screen[data-screen=form].is-active {
  padding: 5dvh 0;
}
.app .appMain .screen[data-screen=form] .gameName {
  max-width: 500px;
  margin: 0 auto 2dvh;
  width: 40dvh;
  display: block;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=form] .gameName {
    width: 30dvh;
  }
}
.app .appMain .screen[data-screen=form] .panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 25px;
  border: solid 5px #242021;
  padding: clamp(20px, 4dvh, 40px);
  box-sizing: border-box;
  max-width: 500px;
  width: 95%;
}
.app .appMain .screen[data-screen=form] .panel .copy {
  text-align: center;
  margin: 0 auto;
}
.app .appMain .screen[data-screen=form] .legal {
  text-align: center;
  display: block;
  margin: 1dvh auto 0;
  font-size: 13px;
  line-height: 1.25;
}
.app .appMain .screen[data-screen=form] .legal strong {
  text-decoration: none;
}
.app .appMain .screen[data-screen=form] .legal a {
  color: #242021;
  font-family: "tenso", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.app .appMain .screen[data-screen=success] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  position: relative;
  top: 0;
  left: 0;
  transform: none;
  margin: 0 auto;
}
.app .appMain .screen[data-screen=success].is-active {
  padding: 5dvh 0;
}
.app .appMain .screen[data-screen=success] .gameName {
  max-width: 500px;
  margin: 0 auto;
  width: 40dvh;
  display: block;
}
@media (max-width: 640px) {
  .app .appMain .screen[data-screen=success] .gameName {
    width: 30dvh;
  }
}
.app .appMain .screen[data-screen=success] .panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: solid 4px #242021;
  border-radius: 25px;
  margin-bottom: 20px;
  background-color: #ffffff;
}
.app .appMain .screen[data-screen=success] .panel .copy {
  margin-bottom: 0px;
  text-align: center;
}
.app .appMain .screen[data-screen=success] .legal {
  text-align: center;
  display: block;
  margin: 2dvh auto 0;
  font-size: 13px;
  line-height: 1.25;
}
.app .appMain .screen[data-screen=success] .legal strong {
  text-decoration: none;
}
.app .appMain .screen[data-screen=success] .legal a {
  color: #242021;
  font-family: "tenso", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.app .appMain .screen[data-screen=success] .image {
  width: 50dvh;
  height: 50dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -10px;
}
.app .appMain .screen[data-screen=success] .image img {
  max-width: 100%;
}
.app .appMain .is-hidden {
  opacity: 0;
  pointer-events: none;
}
.app .appMain .panel {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  width: 90%;
}
.app .appMain .title {
  margin: 0 0 8px;
  font-size: 28px;
  font-family: "tenso", sans-serif;
  font-weight: 900;
  font-style: italic;
}
.app .appMain .subtitle {
  margin: 0 0 8px;
  font-size: 20px;
}
.app .appMain .copy {
  margin: 0 0 16px;
  line-height: 1.4;
}
.app .appMain .fineprint {
  margin: 0px;
  font-size: 12px;
  opacity: 0.8;
  text-align: center;
  color: #ff6547;
}
.app .appMain .actions {
  display: flex;
  gap: 12px;
  margin-top: 1dvh;
  align-items: center;
  justify-content: center;
}
@media (max-width: 640px) {
  .app .appMain .actions {
    flex-direction: column;
  }
}
.app .appMain .form {
  display: grid;
  gap: 14px;
  margin-top: 1dvh;
}
.app .appMain .field {
  display: grid;
  gap: 6px;
}
.app .appMain .label {
  font-size: 14px;
}
.app .appMain .input {
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 16px;
}
.app .appMain .checks {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.app .appMain .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}
.app .appMain .list {
  margin: 0 0 16px;
  padding-left: 18px;
}
.app .appMain .panel--wide {
  max-width: 900px;
}
.app .appMain .moving {
  transition-property: top, left, width, height;
  transition-duration: 1s;
}
.app .appMain .dimmed {
  color: #888888;
}
.app .social-btns {
  display: flex;
  gap: 20px;
  margin-top: 1.5dvh;
}
.app .social-btns button {
  padding: 0;
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.app .social-btns button img {
  width: 6dvh;
  display: block;
  max-width: 50px;
}
.app #soundConsentOverlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.app #soundConsentOverlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.app #soundConsentOverlay.is-closing {
  opacity: 0;
  pointer-events: none;
}
.app #soundConsentOverlay h2 {
  margin-top: 0;
  margin-bottom: 5px;
}
.app #soundConsentOverlay .overlay__panel {
  position: absolute;
  z-index: 70;
  bottom: 15px;
  right: 15px;
  background-color: #ffffff;
  border: solid 3px #242021;
  text-align: center;
  width: 215px;
  max-width: 40vw;
  padding: 20px;
  border-radius: 25px;
  box-shadow: 3px 5px 0px #242021;
}
@media (max-width: 640px) {
  .app #soundConsentOverlay .overlay__panel {
    width: 215px;
    max-width: 59vw;
    padding: 15px;
  }
}
.app #audioToggleBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 8px 8px 5px;
  z-index: 60;
}
@media (max-width: 640px) {
  .app #audioToggleBtn {
    bottom: 10px;
    right: 10px;
    padding: 3px 6px 2px;
  }
}
.app #audioToggleBtn img {
  width: 30px;
  height: 30px;
}
@media (max-width: 640px) {
  .app #audioToggleBtn img {
    width: 20px;
    height: 20px;
  }
}
.app .btn--back {
  position: absolute;
  left: 3dvh;
  top: 3dvh;
  opacity: 0;
  pointer-events: none;
  transition: all ease 0.33s 0s;
  padding: 10.5px 8px;
}
@media (max-width: 640px) {
  .app .btn--back {
    padding: 0;
    left: 1dvh;
    top: 1.5dvh;
    width: 4dvh;
    height: 4dvh;
    min-width: 35px;
    box-sizing: border-box;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.app .btn--back.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.app .btn--back img {
  width: 25px;
  display: block;
  height: 20px;
}
@media (max-width: 640px) {
  .app .btn--back img {
    width: 15px;
    height: 10px;
  }
}
.app .rulesIcon {
  margin-left: 3px;
  width: 8px;
  height: 8px;
  display: inline-block;
  position: relative;
  background-repeat: no-repeat;
  background-image: url(../img/rules.svg);
  background-position: center;
  background-size: contain;
  margin-top: 0px;
}
