@font-face {
  src: url("/fonts/Abel-Regular.ttf");
  font-family: "Abel";
}

@font-face {
  src: url("/fonts/NovaFlat-Regular.ttf");
  font-family: "ClueFont";
}

@font-face {
  src: url("/fonts/Bungee-Regular.ttf");
  font-family: "Theme";
}

:root {
  --hueTheme: 215;
  --hueCreating: 215;
  --hueGuessing: 140;
  --hueReviewing: 355;
  --hueSolved: 175;
  --hueLink: 140;
  --statusBarHSL: var(--hueTheme), 100%, 3%;
  --appBackgroundLightestHSL: var(--hueTheme), 80%, 70%;
  --appBackgroundLighterHSL: var(--hueTheme), 50%, 41%;
  --appBackgroundHSL: var(--hueTheme), 55%, 20%;
  --appBackgroundDarkHSL: var(--hueTheme), 100%, 8%;
  --appBackgroundDarkestHSL: var(--hueTheme), 100%, 3%;
  --appForegroundHSL: var(--hueTheme), 100%, 100%;
  --appForegroundDiminishedHSL: var(--hueTheme), 0%, 65%;
  --linkColorLightHSL: var(--hueLink), 79%, 55%;
  --linkColorDarkHSL: var(--hueLink), 69%, 45%;
  --messageColorHSL: 34, 100%, 70%;
  --tipColorHSL: 34, 100%, 70%;
  --highlightColorHSL: 50, 100%, 70%;
  --alertHSL: 0, 100%, 45%;
  --alertTextHSL: 0, 100%, 65%;
  --trayBackgroundHSL: var(--hueGuessing), 100%, 50%;
  --trayCreatingBackgroundHSL: var(--hueCreating), 100%, 50%;
  --trayGuessingBackgroundHSL: var(--hueGuessing), 100%, 40%;
  --trayReviewingBackgroundHSL: var(--hueReviewing), 100%, 54%;
  --traySolvedBackgroundHSL: var(--hueSolved), 100%, 48%;
  --simpleCardBackgroundHSL: 0, 0%, 0%;
  --simpleCardForegroundHSL: 0, 100%, 100%;
  --statBackground: hsla(var(--appBackgroundLighterHSL), 0.25);
  --statBorder: hsla(var(--appBackgroundLighterHSL), 0.7);
  --transitionEase: ease-in-out;
  --longTransition: 400ms;
  --mediumTransition: 250ms;
  --shortTransition: 150ms;
  --cardSize: 180px;
  --wordHeight: 30px;
  --wordScale: 1;
  --wordAlignment: end;
  --footerHeight: 80px;
  --defaultGap: 20px;
  --halfGap: calc(0.5 * var(--defaultGap));
  --threeQuarterGap: calc(0.75 * var(--defaultGap));
  --borderRadius: 5px;
  --cardDropShadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  --trayDropShadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  --statShadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  --wordFont: "Abel", "Segoe UI", "Helvetica Neue";
  --themeFont: "Theme";
  --textureSource: radial-gradient(circle at center 400px, hsla(var(--appBackgroundHSL), 0.7) 1%, hsla(var(--appBackgroundHSL), 0.7) 40%, hsla(var(--appBackgroundDarkestHSL), 1) 80%);
  --textureSourceAlt: radial-gradient(circle at center 400px, hsla(var(--appBackgroundHSL), 0.7) 1%, hsla(var(--appBackgroundHSL), 0.7) 40%, hsla(var(--appBackgroundDarkestHSL), 1) 80%);
  --texture2: var(--textureSource);
  --textureHueSource: linear-gradient(hsla(var(--appBackgroundHSL), 0), hsla(var(--appBackgroundHSL), 0));
  --textureHue: radial-gradient(circle, hsla(var(--appBackgroundHSL), 0) 0%, hsla(var(--appBackgroundHSL), 0) 100%);
  --textureSize: cover;
  --textureBlendMode: normal;
  --glassBackdropFilter: blur(4px);
  --glassBorder: 1px solid hsla(var(--appBackgroundHSL), 1);
  --glassBackgroundImage: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015) 40%, rgba(255, 255, 255, 0) 40%), linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
  --glassBackgroundColor: hsla(var(--appBackgroundDarkHSL), 0.5);
}

html,
body {
  margin: 0px 0px;
  background-color: hsl(var(--statusBarHSL));
  padding: 0px 0px;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  touch-action: manipulation;
  color: hsl(var(--appForegroundHSL));
  font-family: var(--wordFont);
}

body {
  font-size: 1.3em;
  line-height: 1.3em;
}

main {
  display: flex;
  background-image: linear-gradient(hsla(var(--appBackgroundDarkestHSL), 1), hsla(var(--appBackgroundDarkestHSL), 0) 50%), var(--textureHue), var(--texture2);
  background-position: center center;
  background-size: cover, cover, var(--textureSize);
  background-repeat: no-repeat, no-repeat, repeat;
  background-color: hsl(var(--statusBarHSL));
  width: 100%;
  height: 100%;
  overflow: visible;
  line-height: 160%;
  user-select: none;
  -webkit-user-select: none;
  justify-content: center;
  align-items: center;
  cursor: default;
}

app {
  display: flex;
  position: fixed;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--defaultGap);
  transition: var(--mediumTransition) ease-in-out background-color;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

preload {
  display: block;
  position: fixed;
  opacity: 0;
  width: 0px;
  height: 0px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

splash {
  display: flex;
  position: fixed;
  top: 0px;
  left: 0px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--defaultGap);
  z-index: 1000;
  transition: var(--longTransition) ease-out all;
  background-image: linear-gradient(hsla(var(--appBackgroundDarkestHSL), 1), hsla(var(--appBackgroundDarkestHSL), 1) 6px, hsla(var(--appBackgroundDarkestHSL), 0) 50%), var(--textureHue), var(--texture2);
  background-position: center center;
  background-size: cover, cover, var(--textureSize);
  background-repeat: no-repeat, no-repeat, repeat;
  background-color: hsl(var(--appBackgroundDarkestHSL));
  width: 100%;
  height: 100%;
  pointer-events: all;
}

splash.hide {
  opacity: 0;
  pointer-events: none;
}

p {
  margin: 0;
  width: 100%;
  line-height: 140%;
  user-select: none;
  -webkit-user-select: none;
}

h1,
h2,
h3,
h4,
h5 {
  margin: calc(3 * var(--defaultGap)) 0 calc(2 * var(--defaultGap));
  font-weight: normal;
  font-family: var(--themeFont);
  user-select: none;
  text-align: center;
  -webkit-user-select: none;
}

h3 {
  margin: calc(2 * var(--defaultGap)) 0 calc(1 * var(--defaultGap));
  color: hsl(var(--appBackgroundLightestHSL));
  font-family: var(--wordFont);
  text-transform: uppercase;
}

input {
  transition: var(--mediumTransition) ease-in-out color;
}

a,
a:hover,
a:focus,
a:visited,
a:active {
  color: hsl(var(--linkColorLightHSL));
  user-select: none;
  text-align: center;
  text-decoration: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: var(--borderRadius);
  padding: 8px 16px;
}

a.nuanced {
  border: none;
  background: none;
  padding: 0px;
  color: hsl(var(--appForegroundHSL));
}

a.nuanced icon {
  background-color: hsl(var(--appForegroundHSL));
}

a.nuanced.gold {
  color: hsl(var(--messageColorHSL));
}

a.nuanced.gold icon {
  background-color: hsl(var(--messageColorHSL));
}

button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: calc(var(--defaultGap) / 4);
  transition: var(--shortTransition) ease-in-out;
  transition-property: color, background-color, opacity, border-color;
  outline: none;
  border-radius: var(--borderRadius);
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  opacity: 1;
  backdrop-filter: var(--glassBackdropFilter);
  cursor: pointer;
  box-sizing: border-box;
  border: var(--glassBorder);
  background: none;
  background-image: var(--glassBackgroundImage);
  background-color: var(--glassBackgroundColor);
  padding: var(--threeQuarterGap) var(--defaultGap);
  max-width: calc(2 * var(--cardSize));
  color: hsla(var(--appForegroundHSL), 1);
  font-family: "Abel", "Segoe UI", "Helvetica Neue";
  text-align: center;
  text-wrap: nowrap;
}

button.primary {
  color: hsl(var(--linkColorLightHSL));
  font-family: var(--themeFont);
}

button.secondary {
  color: hsl(var(--appBackgroundLighterHSL));
}

button.nuanced {
  justify-content: start;
  backdrop-filter: none;
  border: none;
  background: none;
  padding: 0px var(--halfGap);
  max-width: unset;
  color: hsl(var(--linkColorLightHSL));
}

button.nuanced:active {
  scale: 1;
}

button:active,
a.button:active {
  scale: 0.98;
}

button.disabled {
  opacity: 0.4;
  touch-action: none;
  pointer-events: none;
}

button.inert {
  touch-action: none;
  pointer-events: none;
  color: hsl(var(--appForegroundDiminishedHSL));
}

button.notext {
  max-width: 70px;
  height: 100%;
}

button.notext icon {
  background-color: hsl(var(--appForegroundHSL));
}

modal button icon.spinner,
button icon.spinner {
  position: relative;
  margin: 0;
}

button.isolated {
  position: fixed;
  backdrop-filter: none;
  box-sizing: border-box;
  box-shadow: none;
  border: none;
  border-radius: 0px;
  background: none;
  padding: 30px;
  width: auto;
}

button:active.isolated,
button:focus.isolated {
  scale: 1;
}

badge {
  display: flex;
  justify-content: center;
  align-items: center;
  scale: 0;
  opacity: 0;
  transition: var(--mediumTransition) ease-in-out all;
  margin-left: 0px;
  border-radius: 50%;
  background: hsl(var(--alertHSL));
  width: 0px;
  height: 0px;
  overflow: hidden;
  color: hsl(var(--appForegroundHSL));
  font-weight: 800;
  font-size: 0.7em;
}

badge {
  position: absolute;
  top: -5px;
  right: -10px;
  font-size: 12px;
}

badge.show {
  scale: 1;
  opacity: 1;
  width: 24px;
  height: 24px;
}

.deemphasize {
  opacity: 0.6;
}

introheader {
  display: block;
  margin-bottom: 0;
}

presents {
  display: block;
  opacity: 0.5;
  font-size: 0.7em;
  text-align: center;
}

gamename {
  display: block;
  font-size: 2em;
  line-height: 1em;
  font-family: var(--themeFont);
  text-align: center;
}

actionbar {
  display: flex;
  position: fixed;
  top: 0px;
  right: 0px;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-50px);
  z-index: 1000;
  transition: var(--mediumTransition) ease-in-out;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
}

actionbar.show {
  transform: translateY(0px);
}

actionbar button {
  box-sizing: border-box;
  border: none;
  background: none;
  padding: var(--halfGap) var(--defaultGap);
  width: auto;
  font-weight: 800;
}

header {
  display: flex;
  /* flex: 1; */
  flex-shrink: 1;
  justify-content: center;
  align-items: center;
  gap: 1em;
  color: hsl(var(--appForegroundDiminishedHSL));
  user-select: none;
  white-space: nowrap;
  -webkit-user-select: none;
  cursor: default;
}

notification header flogo {
  background-size: contain;
  width: calc(2 * var(--massiveIconSize));
  height: var(--massiveIconSize);
}

small {
  user-select: none;
  -webkit-user-select: none;
}

message small {
  color: hsl(var(--linkColorLightHSL));
  line-height: 140%;
}

message small.messageShare {
  display: inline-block;
  margin-top: -18px;
  padding: 0 0 var(--defaultGap);
}

icon.spinner {
  opacity: 0;
  animation: spin 1s steps(10, start) infinite;
  transition-delay: 0ms;
  -webkit-animation: spin 1s steps(10, start) infinite;
  transition: var(--mediumTransition) linear opacity;
  margin: var(--halfGap) 0;
  background-color: hsl(var(--appBackgroundLightestHSL));
}

modal icon.spinner {
  margin: var(--defaultGap) 0;
}

icon.spinner.show {
  opacity: 1;
  transition-delay: 0ms;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.blink {
  animation: 700ms ease-in-out 0s 0.5 blink;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes blink {
  0% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

/*#region tips */

.disabled.pointoutparent {
  opacity: 1;
}

hint.pointout,
rotators.pointoutparent button icon,
button#shareButton.pointout,
spot.pointout,
spot.pointadjacent,
hints hint.pointoutparent {
  animation: 400ms ease-in-out 0s 0.3 blink;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.multicolor.creating hints hint input.pointout,
.multicolor.creating hints hint input.pointout::placeholder {
  margin-top: -2px;
  padding-bottom: 66px;
  color: hsl(var(--tipColorHSL));
  font-size: 1.13em;
}

word.pointout {
  animation: 400ms ease-in-out 0s 0.3 blink;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  color: hsl(var(--tipColorHSL));
}

tray spot.pointout,
tray spot.pointadjacent {
  outline: 1px solid hsl(var(--tipColorHSL));
  background: hsla(var(--appBackgroundDarkestHSL), 0.2);
}

button#shareButton.pointout span {
  opacity: 1;
}

tray spot.pointout rotators button icon {
  animation: 400ms ease-in-out 0s 0.3 blink;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  background: hsl(var(--linkColorLightHSL));
}

parking spot.pointout {
  animation: pointout 2s var(--transitionEase) 0s infinite;
}

.mobile parking spot.pointout:nth-of-type(1) {
  animation-delay: 0s;
}

.mobile parking spot.pointout:nth-of-type(2) {
  animation-delay: 0.5s;
}

.mobile parking spot.pointout:nth-of-type(3) {
  animation-delay: 1s;
}

.mobile parking spot.pointout:nth-of-type(4) {
  animation-delay: 1.5s;
}

@keyframes pointout {
  5% {
    transform: rotate(3deg);
  }

  10% {
    transform: translateY(-3px) rotate(0deg);
  }

  15% {
    transform: rotate(-3deg);
  }

  20% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(3deg);
  }

  30% {
    transform: translateY(-3px) rotate(0deg);
  }

  35% {
    transform: rotate(-3deg);
  }

  40%,
  100% {
    transform: rotate(0deg);
  }
}

@-webkit-keyframes pointout {
  5% {
    transform: rotate(3deg);
  }

  10% {
    transform: translateY(-3px) rotate(0deg);
  }

  15% {
    transform: rotate(-3deg);
  }

  20% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(3deg);
  }

  30% {
    transform: translateY(-3px) rotate(0deg);
  }

  35% {
    transform: rotate(-3deg);
  }

  40%,
  100% {
    transform: rotate(0deg);
  }
}

hintcard {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  margin-bottom: var(--defaultGap);
  border: none;
  width: 100%;
  pointer-events: none;
  font-size: 90%;
}

hintcard card {
  border: none;
  background: none;
  color: hsl(var(--appForegroundHSL));
}

header h1 {
  display: none;
  cursor: default;
  margin-top: var(--defaultGap);
  font-weight: normal;
  font-size: 220%;
  line-height: 84%;
  font-family: var(--themeFont);
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

pointer {
  display: flex;
  position: absolute;
  flex-direction: column;
  justify-content: space-between;
  align-items: left;
  z-index: 199;
  transition: var(--mediumTransition) ease-in-out;
  transition-property: left, top;
  margin-right: var(--defaultGap);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  background: hsl(var(--tipColorHSL));
  width: 100%;
  max-width: calc(2 * var(--cardSize) + 0.5 * var(--defaultGap));
  min-height: 100px;
  color: hsl(var(--appBackgroundDarkestHSL));
  font-size: 14px;
  font-family: Arial, sans-serif;
  white-space: nowrap;
}

pointer p {
  mix-blend-mode: luminosity;
  padding: var(--halfGap) calc(0.75 * var(--defaultGap)) 0;
  width: calc(100% - 2 * 0.75 * var(--defaultGap));
  font-size: 16px;
  font-family: var(--wordFont);
  text-align: left;
  text-wrap: wrap;
}

pointer p.controls {
  display: flex;
  justify-content: space-between;
  padding: 0 calc(0.75 * var(--defaultGap));
  font-size: 13px;
  text-align: right;
}

pointer p.controls button {
  display: inline-block;
  backdrop-filter: none;
  border: none;
  border-radius: 0px;
  background: none;
  padding: var(--halfGap) 0;
  width: auto;
  font-family: var(--wordFont);
  text-align: left;
  white-space: nowrap;
}

pointer p.controls button,
pointer p.controls button:hover,
pointer p.controls button:focus,
pointer p.controls button:visited,
pointer p.controls button:active {
  mix-blend-mode: luminosity;
  color: hsl(0, 20%, 40%);
}

pointer p.controls button.right {
  text-align: right;
  text-transform: uppercase;
}

pointer p.controls button:hover {
  color: hsl(0, 10%, 30%);
}

pointer p.controls seekers {
  display: flex;
  justify-content: end;
  gap: var(--halfGap);
  width: 100%;
}

pointer p.controls seekers a {
  width: auto;
}

/*#endregion*/

notification section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: calc(0.25 * var(--defaultGap));
  padding-bottom: var(--defaultGap);
  width: 100%;
  color: hsla(var(--linkColorDarkHSL), 1);
}

row.stacked {
  backdrop-filter: none;
}

row.stacked button {
  flex-direction: column;
  gap: 2px;
  backdrop-filter: none;
  margin-top: var(--defaultGap);
  border: none;
  background: none;
  padding: calc(0.32 * var(--defaultGap));
  font-size: 0.8em;
}

row.stacked button span {
  display: none;
}

leftright {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: var(--halfGap);
  width: 100%;
}

modal section leftright a,
modal section leftright button {
  width: 100%;
  color: hsl(var(--appForegroundHSL));
}

notification {
  display: flex;
  position: fixed;
  top: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: calc(2 * var(--defaultGap));
  opacity: 0;
  z-index: 2001;
  backdrop-filter: blur(10px);
  transition: var(--mediumTransition) ease-in-out opacity;
  box-sizing: border-box;
  background: hsla(var(--appBackgroundDarkestHSL), 0.4);
  padding: 0;
  width: calc(100% - 0 * var(--defaultGap));
  height: calc(100% - 0 * var(--defaultGap));
  pointer-events: none;
}

notification section {
  width: 80%;
}

notification row {
  width: 100%;
}

greeting {
  display: flex;
  flex-direction: column;
  align-content: end;
  justify-content: center;
  align-items: center;
  justify-items: center;
  margin: 0;
  padding: 0;
  color: hsl(var(--messageColorHSL));
  font-size: 1.3em;
  line-height: 140%;
}

notification header {
  flex: unset;
  flex-direction: column;
  gap: 0px;
  margin-bottom: calc(2 * var(--defaultGap));
}

greeting small {
  color: hsl(var(--appForegroundDiminishedHSL));
  font-size: 80%;
}

notification section {
  flex-basis: auto;
}

notification message {
  flex-basis: auto;
}

notification h2,
notification p {
  margin: 10px 0 0 0;
  padding: 0;
  color: hsl(var(--appForegroundHSL));
  line-height: 1.4em;
  text-align: center;
}

notification p {
  margin: 0;
}

notification.meta {
  justify-content: center;
  gap: calc(0.75 * var(--defaultGap));
  transform: translateY(100vh);
  opacity: 1;
  z-index: 300;
  transition:
    400ms cubic-bezier(0.4, 0, 0.6, 1) transform,
    opacity;
  background-image: linear-gradient(hsla(var(--appBackgroundDarkestHSL), 1), hsla(var(--appBackgroundDarkestHSL), 1) 6px, hsla(var(--appBackgroundDarkestHSL), 0) 50%), var(--textureHue), var(--texture2);
  background-position: center center;
  background-size: cover, cover, var(--textureSize);
  background-repeat: no-repeat, no-repeat, repeat;
  background-color: hsl(var(--appBackgroundDarkestHSL));
  overflow: auto;
  pointer-events: none;
}

notification.meta.show {
  transform: translateY(0px);
  opacity: 1;
  transition:
    400ms cubic-bezier(0.165, 0.84, 0.44, 1) transform,
    opacity;
  pointer-events: all;
}

notification.meta p {
  color: hsl(var(--messageColorHSL));
}

notification.meta row {
  gap: calc(0.25 * var(--defaultGap));
  border: none;
  background: none;
  padding: 0;
  max-width: calc(2 * var(--cardSize));
}

notification.show {
  opacity: 1;
  pointer-events: all;
}

splash message,
notification message {
  gap: calc(0.25 * var(--defaultGap));
  margin: var(--defaultGap);
  border: 1px solid hsl(var(--messageColorHSL));
  border-radius: var(--borderRadius);
  background: black;
  padding: calc(1.5 * var(--defaultGap)) var(--defaultGap);
  width: calc(100% - 2 * var(--defaultGap));
  max-width: calc(2.5 * var(--cardSize));
  pointer-events: none;
  color: hsl(var(--appForegroundHSL));
  font-size: 1.1em;
  line-height: 1.5em;
}

splash message small {
  color: hsl(var(--messageColorHSL));
}

arrow {
  position: absolute;
  transform: translate(-10px, 2px);
  transform-origin: 50% 50%;
  rotate: 180deg;
  z-index: 199;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  transition: var(--mediumTransition) ease-in-out;
  transition-property: margin, rotate, opacity, left, transform, top;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  background: hsl(var(--tipColorHSL));
  width: 18px;
  height: 12px;
}

arrow::before {
  display: none;
  position: absolute;
  transform: translate(2px, 4px);
  z-index: -1;
  clip-path: inherit;
  background: hsl(var(--appBackgroundHSL));
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  content: "";
}

arrow.top {
  transform: translate(10px, -14px);
  rotate: 0deg;
}

pointer.hidden,
arrow.hidden,
a.hidden {
  opacity: 0;
  pointer-events: none;
}

notification message.highlighted {
  box-shadow:
    0px 0px 4px hsl(var(--messageColorHSL)),
    inset 0px 0px 4px hsl(var(--highlightColorHSL)),
    0px 0px 15px hsl(var(--messageColorHSL)),
    inset 0px 0px 20px hsl(var(--messageColorHSL));
  border-color: hsl(var(--highlightColorHSL));
}

notification message name {
  display: flex;
  justify-content: center;
}

notification message name icon {
  margin: 0 4px 0 16px;
}

notification message subtitle {
  display: block;
  padding-bottom: 0;
  color: hsl(var(--appForegroundDiminishedHSL));
  font-size: 0.8em;
  text-transform: capitalize;
}

message {
  display: flex;
  flex-direction: column;
  border-color: hsl(var(--messageColorHSL));
  width: 100%;
  line-height: 1.4em;
  user-select: none;
  text-align: center;
  text-shadow: 0px -1px 2px black;
  -webkit-user-select: none;
}

message span {
  display: none;
}

.solved .show message {
  pointer-events: all;
}

.solved message span {
  display: inline;
}

.blueText {
  color: hsl(var(--hueCreating), 100%, 68%);
}

.greenText {
  color: hsl(var(--hueGuessing), 80%, 50%);
}

.alertText {
  color: hsl(var(--alertHSL));
}

.highlightText {
  color: hsl(var(--messageColorHSL));
}

.highlightBackground {
  background-color: hsl(var(--messageColorHSL));
}

.alertbackground {
  background-color: hsl(var(--alertHSL));
}

cta {
  display: inline-block;
  color: hsl(var(--linkColorLightHSL));
  font-family: var(--themeFont);
}

.redText {
  color: hsl(var(--hueReviewing), 100%, 60%);
}

authcta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 70%;
}

authcta p,
notification.meta authcta p {
  max-width: calc(2.5 * var(--cardSize));
  color: hsl(var(--appForegroundHSL));
  font-size: 1.3em;
  line-height: 150%;
  text-align: center;
}

authcta a,
authcta a:hover,
authcta a:focus,
authcta a:visited,
authcta a:active {
  padding: 0px;
  font-size: 1.3em;
}

modal message {
  margin-bottom: var(--defaultGap);
}

modal section message {
  margin-top: 0;
  color: hsl(var(--messageColorHSL));
}

modal section message greeting {
  color: hsl(var(--appForegroundHSL));
  font-size: 0.8em;
}

modal credit {
  text-align: center;
}

message.clickable {
  cursor: pointer;
}

app.portrait {
  justify-content: space-between;
  align-items: center;
  padding: 30px;
}

[v-cloak] {
  opacity: 0;
  transition: 0ms ease-out opacity;
}

flogo {
  display: none;
}

controls {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--mediumTransition) ease-in-out;
  transition-property: background-color, border-color;
  padding: 0;
  height: 100%;
}

modal controls {
  position: fixed;
  bottom: 0px;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-top: 1px solid hsla(var(--appBackgroundHSL), 1);
  background-color: hsla(var(--appBackgroundDarkHSL), 0.9);
  padding: 0;
  width: 100%;
  height: var(--footerHeight);
  -webkit-backdrop-filter: blur(10px);
  gap: var(--halfGap);
  box-sizing: border-box;
  box-shadow: 0px -5px 7px hsla(var(--appBackgroundDarkestHSL), 0.5);
  padding-bottom: calc(0.5 * env(safe-area-inset-bottom));
}

modal callout,
modal select {
  border: 1px solid hsla(var(--appBackgroundLighterHSL), 0.5);
}

modal controls button {
  backdrop-filter: none;
  box-sizing: border-box;
  border: none;
  background: none;
  padding: var(--halfGap);
  max-width: 130px;
  color: hsl(var(--linkColorLightHSL));
  font-size: 140%;
  font-family: var(--themeFont);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

modal input,
hints hint input {
  outline: none;
  border: none;
  background: none;
  padding: 0;
  width: 100%;
  color: hsl(var(--hueGuessing), 100%, 70%);
  line-height: 120%;
  font-family: "ClueFont";
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

modal select option {
  color: unset;
}

modal input.large {
  font-size: 120%;
}

highlight {
  display: block;
  border: 1px solid hsl(var(--appBackgroundLighterHSL));
  border-radius: calc(2 * var(--borderRadius));
  background-color: hsla(var(--appBackgroundDarkestHSL), 0.7);
  padding: var(--defaultGap);
  font-size: 1em;
}

highlight h3 {
  margin-top: 0;
  line-height: 110%;
}

highlight leftright {
  margin: var(--halfGap) 0 0;
}

modal section highlight button {
  padding: calc(0.3 * var(--defaultGap)) var(--halfGap);
  color: hsl(var(--linkColorLightHSL));
  font-size: 1em;
}

modal section highlight button icon {
  background-color: hsl(var(--linkColorLightHSL));
}

conditional {
  display: flex;
  flex-direction: column;
  width: 100%;
}

friendlinks,
gamelinks {
  display: flex;
  flex-direction: column;
  gap: var(--halfGap);
  counter-reset: recent-game-counter;
  margin-bottom: calc(1.5 * var(--defaultGap));
  width: 100%;
}

item {
  display: flex;
  flex-direction: column;
  gap: var(--halfGap);
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: var(--glassBackdropFilter);
  border: var(--glassBorder);
  border-radius: var(--borderRadius);
  background-image: var(--glassBackgroundImage);
  background-color: var(--glassBackgroundColor);
  padding: var(--halfGap) var(--threeQuarterGap);
}

friendlinks item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding: 0 var(--halfGap) 0 var(--threeQuarterGap);
}

item p a {
  flex: 1;
  overflow: hidden;
  color: hsl(var(--linkColorLightHSL));
  text-align: left;
  text-overflow: ellipsis;
  text-wrap: nowrap;
}

.clear item {
  backdrop-filter: none;
  border: none;
  border-radius: 0px;
  background: none;
  padding: var(--halfGap) 0px;
}

friendlinks.clear item {
  border-width: 0px 0px 1px 0px;
}

gamelinks item button {
  padding: 0 0 0 var(--halfGap);
}

gamelinks item p a {
  padding: 0;
}

friendlinks item p {
  flex: 1;
  min-width: 0;
}

friendlinks item.sent {
  color: hsl(var(--appForegroundDiminishedHSL));
}

friendlinks item.sent p {
  font-style: italic;
}

friendlinks item p span {
  color: hsl(var(--appBackgroundLightestHSL));
  font-size: 0.8em;
  line-height: 100%;
}

friendlinks item.sent p span {
  color: hsl(var(--messageColorHSL));
  font-style: normal;
}

item p span {
  line-height: 100%;
}

friendlinks item button {
  flex-shrink: 0;
  backdrop-filter: none;
  box-sizing: border-box;
  border: none;
  background: none;
  padding: var(--halfGap);
  width: auto;
}

friendlinks item button:hover.small.inline icon {
  background-color: hsl(var(--appForegroundHSL));
}

friendlinks item button icon.check {
  background-color: green;
}

friendlinks item button icon.nope {
  background-color: red;
}

mark {
  background: none;
  color: hsl(var(--messageColorHSL));
}

gamelinks p {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  width: 100%;
  font-size: 1.2em;
}

gamelinks p a,
gamelinks p a:hover {
  display: block;
  flex: 1;
  gap: 0px;
  transition: var(--shortTransition) ease-in-out scale;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: var(--borderRadius);
  padding: 0px;
  overflow: hidden;
  color: hsl(var(--linkColorLightHSL));
  user-select: none;
  text-align: left;
  text-decoration: none;
  text-overflow: ellipsis;
  text-wrap: nowrap;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

gamelinks item p a small span {
  color: hsl(var(--appForegroundHSL));
}

gamelinks item.yay {
  border-color: hsla(var(--hueSolved), 100%, 12%, 1);
  background-color: hsla(var(--hueSolved), 100%, 8%, 0.5);
}

gamelinks item.yay p a {
  color: hsla(var(--hueSolved), 100%, 58%, 1);
}

gamelinks p button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  z-index: 100;
  backdrop-filter: none;
  transition: none;
  box-sizing: border-box;
  border: none;
  background: none;
  background-image: none;
  padding: 0 0 0 var(--defaultGap);
  width: calc(3 * var(--defaultGap) - 5px);
  height: calc(2.5 * var(--defaultGap) - 5px);
  color: hsl(var(--appForegroundDiminishedHSL));
  font-size: 0.5em;
  font-family: "Abel", "Segoe UI", "Helvetica Neue";
  text-transform: uppercase;
  white-space: nowrap;
}

gamelinks p button icon {
  opacity: 1;
  transition: none;
  background-color: hsla(var(--appForegroundDiminishedHSL), 1);
}

gamelinks p button icon.play {
  opacity: 1;
  background-color: hsla(var(--appForegroundDiminishedHSL), 1);
}

gamelinks item:hover p button icon {
  opacity: 1;
  background-color: hsla(var(--appForegroundHSL), 1);
}

gamelinks item.done p button icon {
  opacity: 1;
  transition: var(--shortTransition) ease-in-out background-color;
  background-color: hsl(var(--linkColorLightHSL));
}

gamelinks item.done p button icon.alertbackground {
  background-color: hsl(var(--alertHSL));
}

gamelinks item:hover p button {
  color: hsl(var(--appForegroundHSL));
}

gamelinks item:hover p button icon {
  opacity: 1;
}

modal gamelinks small {
  margin-bottom: 2px;
  text-align: left;
}

modal gamelinks a small {
  font-size: 0.8em;
}

modal small,
modal legal {
  display: block;
  transition: var(--mediumTransition) ease-in-out;
  transition-property: opacity, color, background-color;
  margin-bottom: calc(0.75 * var(--defaultGap));
  width: 100%;
  max-width: calc(100% - 2 * var(--defaultGap));
  color: hsl(var(--appForegroundDiminishedHSL));
  font-size: 0.7em;
  line-height: 120%;
  font-family: "Abel", "Segoe UI", "Helvetica Neue";
}

modal instructions {
  margin-top: var(--defaultGap);
  width: 100%;
  max-width: calc(100% - 2 * var(--defaultGap));
  color: hsl(var(--appForegroundDiminishedHSL));
  line-height: 150%;
}

modal legal {
  position: absolute;
  bottom: calc(var(--footerHeight) + (2 * var(--defaultGap)));
  width: 80%;
  max-width: calc(2.5 * var(--cardSize));
  line-height: 150%;
  text-align: center;
}

hints hint input {
  transform: rotateX(24deg) rotateY(0deg);
  transform-style: preserve-3d;
  font-size: 120%;
  text-shadow: 0px -1px 1px hsla(var(--appBackgroundDarkestHSL), 0.6);
}

.multicolor.creating hints hint input {
  color: hsla(var(--hueCreating), 100%, 70%, 1);
}

hints hint input::placeholder {
  color: hsla(var(--hueGuessing), 70%, 48%, 1);
  user-select: none;
  -webkit-user-select: none;
}

.multicolor.creating hints hint input::placeholder {
  color: hsla(var(--hueCreating), 70%, 48%, 1);
}

.multicolor.guessing hints hint input::placeholder {
  color: hsla(var(--hueGuessing), 70%, 48%, 1);
}

.multicolor.reviewing hints hint input::placeholder {
  color: hsla(var(--hueReviewing), 70%, 48%, 1);
}

.multicolor.solved.guessing hints hint input::placeholder {
  color: hsla(var(--hueSolved), 70%, 48%, 1);
}

modal input {
  color: hsl(var(--appForegroundHSL));
  font-size: 110%;
  font-family: "Abel", "Segoe UI", "Helvetica Neue";
  text-align: left;
}

modal input::placeholder {
  color: hsl(var(--appBackgroundLightestHSL));
}

modal {
  display: flex;
  position: absolute;
  top: 0;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: var(--defaultGap);
  transform: translateY(100vh);
  opacity: 1;
  z-index: 500;
  transition:
    400ms cubic-bezier(0.4, 0, 0.6, 1) transform,
    opacity;
  background-image: linear-gradient(hsla(var(--appBackgroundDarkestHSL), 1), hsla(var(--appBackgroundDarkestHSL), 1) 6px, hsla(var(--appBackgroundDarkestHSL), 0) 50%), var(--textureHue), var(--texture2);
  background-position: center center;
  background-size: cover, cover, var(--textureSize);
  background-repeat: no-repeat, no-repeat, repeat;
  background-color: hsl(var(--appBackgroundDarkestHSL));
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  pointer-events: none;
}

modal.show {
  transform: translateY(0px);
  transition:
    400ms cubic-bezier(0.165, 0.84, 0.44, 1) transform,
    opacity;
  pointer-events: all;
}

modal.centered {
  gap: calc(4 * var(--defaultGap));
  background-image: var(--textureSourceAlt);
  font-size: 100%;
}

modal.centered section,
modal.centered confirmation {
  justify-content: center;
  gap: 0px;
  margin-bottom: var(--cardSize);
}

modal.disabled {
  opacity: 0;
}

modal section,
modal confirmation {
  display: flex;
  position: fixed;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: calc(1 * var(--defaultGap));
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
}

modal section {
  gap: var(--halfGap);
  padding: 0 calc(100% - (100% - 600px) / 2);
  width: 600px;
}

modal hider {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--halfGap);
}

modal section footerspace {
  display: block;
  min-height: calc(var(--footerHeight) + (4 * var(--defaultGap)) + env(safe-area-inset-bottom));
}

modal img {
  margin: var(--defaultGap) 0;
  width: 100%;
  max-width: calc(2.5 * var(--cardSize));
  user-select: none;
  -webkit-user-select: none;
}

callout,
select {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: var(--mediumTransition) ease-in-out all;
  background: hsla(var(--appBackgroundHSL), 1);
  padding: var(--halfGap) var(--defaultGap);
  width: 100%;
  max-width: calc(2 * var(--cardSize) + (4 * var(--defaultGap)));
  text-align: center;
}

select {
  outline: none;
  border: none;
  background: hsla(var(--appBackgroundHSL), 1);
  color: hsl(var(--appForegroundHSL));
  font-family: "Abel", "Segoe UI", "Helvetica Neue";
  -webkit-tap-highlight-color: transparent;
  appearance: unset;
  border-radius: var(--borderRadius);
  -webkit-appearance: unset;
}

section input {
  font-size: inherit;
  font-family: "Abel", "Segoe UI", "Helvetica Neue";
}

row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--halfGap);
  backdrop-filter: var(--glassBackdropFilter);
  transition:
    var(--mediumTransition) ease-in-out border-color,
    background-color;
  transition-property: background-color, border-color;
  margin: 0px;
  border: var(--glassBorder);
  border-radius: var(--borderRadius);
  background-image: var(--glassBackgroundImage);
  background-color: var(--glassBackgroundColor);
  padding: 5px 0px;
  width: calc(100%);
}

row.clear {
  border: none;
  background: none;
}

row message,
row callout,
leftright callout,
row p {
  border-radius: var(--borderRadius);
  width: calc(1 * var(--cardSize));
  text-align: left;
}

message em {
  color: hsl(var(--appForegroundHSL));
  font-style: normal;
}

row p {
  flex: 1;
}

row callout,
row select {
  flex: 2;
  margin: 0 5px 0 0;
  border-radius: var(--borderRadius) calc(0.5 * var(--borderRadius)) calc(0.5 * var(--borderRadius)) var(--borderRadius);
  padding: calc(0.3 * var(--defaultGap)) var(--halfGap);
  width: unset;
}

leftright callout {
  margin: 0;
  border-radius: var(--borderRadius);
  padding: calc(0.3 * var(--defaultGap)) var(--halfGap);
  width: 100%;
}

row callout input {
  text-align: left;
}

row p {
  padding-left: var(--defaultGap);
}

modal cards {
  transition: 0 linear all;
  transition-delay: 150ms;
  background: none;
  height: auto;
  pointer-events: all;
}

.guessing.reviewing modal cards,
.guessing modal cards,
modal cards {
  background: none;
}

modal.disabled cards {
  pointer-events: none;
}

modal cards card {
  background: hsla(255, 100%, 100%, 0.2);
}

modal cards card.intray {
  opacity: 0.5;
}

modal::-webkit-scrollbar,
section::-webkit-scrollbar {
  display: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  scrollbar-width: none;
  touch-action: auto;
}

.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.mobile {
  display: none;
}

.portrait wrapper.mobile {
  display: flex;
  gap: 0px;
}

version {
  padding: var(--halfGap) var(--defaultGap);
  color: hsla(var(--appBackgroundLightestHSL), 1);
  font-size: 14px;
}

app.dragging,
.dragging tray,
.dragging card,
.dragging spot,
.dragging rotators button,
.dragging input,
.dragging words,
.dragging word,
.dragging rotators,
.dragging spot.empty card {
  cursor: grabbing;
}

hues {
  display: flex;
  justify-content: space-evenly;
  gap: calc(0.25 * var(--defaultGap));
  padding: 4px 0;
  width: 100%;
}

hue {
  display: block;
  transition: var(--mediumTransition) ease-in-out;
  cursor: pointer;
  border: 1px solid hsla(var(--appBackgroundDarkestHSL), 1);
  border-radius: 50%;
  width: 30px;
  height: 30px;
}

hue.selected {
  border-color: hsl(var(--appForegroundHSL));
}

/*#region wrapper world */

wrapper button {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: calc(var(--defaultGap) / 4);
  transition-property: color, background-color, opacity, border-color;
  cursor: pointer;
  outline: none;
  border: none;
  border-radius: var(--borderRadius);
  background: none;
  padding: calc(0.75 * var(--defaultGap)) var(--defaultGap);
  color: hsl(var(--linkColorLightHSL));
  font-family: var(--themeFont);
  -webkit-tap-highlight-color: transparent;
  transition: var(--shortTransition) ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  backdrop-filter: none;
}
wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: start;
  gap: var(--defaultGap);
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 1124px;
}

wrapper:first-of-type {
  justify-content: space-between;
  align-items: center;
  gap: calc(2.5 * var(--defaultGap));
  padding: var(--halfGap) calc(0.5 var(--cardSize)) 0;
  max-width: calc(1124px - 7 * var(--defaultGap));
  min-height: unset;
}

wrapper:first-of-type controls {
  flex: 1;
  justify-content: start;
  padding: 0;
}

wrapper:first-of-type controls:first-of-type button {
  backdrop-filter: var(--glassBackdropFilter);
  box-sizing: border-box;
  border: var(--glassBorder);
  background-image: var(--glassBackgroundImage);
  background-color: var(--glassBackgroundColor);
  padding: var(--halfGap) calc(1 * var(--defaultGap));
  width: unset;
  height: unset;
  color: hsl(var(--appForegroundHSL));
  font-size: 90%;
  font-family: var(--wordFont);
}

wrapper:first-of-type controls button {
  padding: 0;
  height: 100%;
}

wrapper:first-of-type controls:last-of-type {
  justify-content: end;
}

wrapper.main {
  justify-content: center;
  align-items: center;
  padding: var(--defaultGap);
  width: calc(100% - 2 * var(--defaultGap));
}

wrapper.main > rotators {
  width: calc(3.25 * var(--cardSize));
}

.portrait wrapper.main {
  height: calc(100% - var(--cardSize));
}
wrapper.columns {
  flex-direction: column;
  justify-content: start;
  align-items: center;
}

wrapper.mobile {
  transform-origin: center bottom;
  padding-bottom: calc(2 * var(--defaultGap));
  -webkit-transform-origin: center bottom;
}

wrapper message {
  padding: 8px var(--defaultGap) 0px;
  height: calc(2 * var(--defaultGap));
}

.portrait wrapper.mobile.extra {
  scale: 0.85;
  max-height: calc(0.85 * var(--cardSize) + var(--defaultGap));
}
rotators button icon {
  mask-image: url(/images/icon-rotatearrow.svg);
  -webkit-mask-image: url(/images/icon-rotatearrow.svg);
}

rotators button:first-of-type {
  transform: scaleX(-1);
}

rotators button:last-of-type {
  display: block;
}

parking rotators button:last-of-type,
cards rotators button:last-of-type {
  display: flex;
}

rotators,
tray,
hints {
  display: flex;
  justify-content: center;
  gap: var(--defaultGap);
}

tray {
  border-radius: calc(2 * var(--borderRadius));
  min-width: calc(3 * var(--cardSize));
  min-height: calc(3 * var(--cardSize));
}

tray diamond {
  position: absolute;
  z-index: -1;
  mask-repeat: no-repeat;
  background-image: url(/images/diamond.svg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-repeat: no-repeat;
}

diamond.back {
  opacity: 0.8;
  mask-image: url(/images/diamond-back.svg);
  -webkit-mask-image: url(/images/diamond-back.svg);
  mask-size: cover;
  -webkit-mask-size: cover;
  background: hsl(var(--trayGuessingBackgroundHSL));
}

.multicolor.creating diamond.back {
  background: hsl(var(--trayCreatingBackgroundHSL));
}

.multicolor.guessing diamond.back {
  background: hsl(var(--trayGuessingBackgroundHSL));
}

.multicolor.reviewing diamond.back,
.multicolor.solved.guessing.reviewing.unaided diamond.back {
  background: hsl(var(--trayReviewingBackgroundHSL));
}

.multicolor.solved.guessing diamond.back {
  background: hsla(var(--traySolvedBackgroundHSL));
}

tray.rotating {
  transition: var(--longTransition) ease-in-out;
  transition-property: transform, rotate;
}
wrapper controls {
  justify-content: center;
}

wrapper controls button {
  background: none;
  width: 150px;
  height: 100%;
  font-size: 145%;
}

wrapper controls:first-of-type button {
  justify-content: start;
}

rotators {
  position: absolute;
  justify-content: space-between;
  z-index: 100;
  padding: 0;
  width: calc(var(--cardSize) * 2 + (calc(var(--defaultGap) * 10)));
  pointer-events: none;
}

wrapper > rotators {
  transform: translateY(calc(-1.35 * var(--cardSize)));
}
wrapper > rotators button {
  width: auto;
}

rotators button {
  justify-content: center;
  align-items: center;
  transition: var(--mediumTransition) ease-in-out;
  transition-property: opacity, color;
  background: none;
  padding: calc(1.25 * var(--defaultGap));
  pointer-events: all;
  font-size: 200%;
  line-height: 100%;
}

rotators button icon {
  mask-size: var(--mediumIconSize) var(--mediumIconSize);
  background-color: hsl(var(--messageColorHSL));
  padding-top: 12px;
  width: var(--mediumIconSize);
  -webkit-mask-size: var(--mediumIconSize) var(--mediumIconSize);
}

spot rotators button {
  display: flex;
  justify-content: end;
  align-items: start;
  width: calc(0.3 * var(--cardSize));
  height: calc(0.3 * var(--cardSize));
}

spot rotators button icon {
  mask-size: var(--extraSmallIconSize) var(--extraSmallIconSize);
  width: var(--extraSmallIconSize);
  height: var(--extraSmallIconSize);
  -webkit-mask-size: var(--extraSmallIconSize) var(--extraSmallIconSize);
  background: hsla(var(--appBackgroundDarkestHSL), 0.2);
}

parking spot rotators button icon {
  scale: var(--scale);
  background: hsla(var(--appForegroundHSL), 0.2);
}

cards spot:hover rotators button icon,
parking spot:hover rotators button icon {
  background: hsl(var(--linkColorLightHSL));
}

rotators button:hover {
  color: white;
}

spot rotators button:first-of-type {
  padding-left: 5px;
}

spot rotators {
  position: absolute;
  opacity: 1;
  z-index: 100;
  margin-top: 0px;
  padding: 0px 0px 0px;
  width: var(--cardSize);
  pointer-events: none;
}

spot.empty rotators,
spot.empty:hover rotators,
.guessing spot.empty:hover rotators {
  display: none;
  opacity: 0;
}

.guessing spot:hover rotators,
.guessing spot.selected rotators {
  opacity: 1;
}

spot rotators:last-of-type {
  transform: translateY(calc(0.3 * var(--cardSize)));
  scale: -1;
}

spot rotators button,
spot.empty rotators button:hover {
  opacity: 0;
  transition: var(--mediumTransition) ease-in-out;
  transition-property: opacity, color;
  padding: 0px 6px;
  pointer-events: none;
  color: hsl(var(--linkColorDarkHSL));
  font-size: 100%;
}

.guessing spot rotators button,
.guessing spot.empty rotators button:hover {
  opacity: 1;
  pointer-events: all;
}

spot rotators button:hover {
  color: black;
}

parking {
  display: flex;
  flex-direction: column;
  gap: var(--defaultGap);
  padding: var(--defaultGap);
}

.portrait parking {
  display: none;
}

.portrait wrapper.mobile {
  display: flex;
  transform: unset;
}

.portrait wrapper.mobile button.scroller {
  display: none;
  position: absolute;
  left: 0;
  align-items: center;
  transform: translateY(calc(-0.13 * var(--cardSize)));
  z-index: 100;
  margin-top: 0;
  border-radius: 0px;
  background: none;
  padding: 0;
  padding-top: 0;
  padding-bottom: 0;
  width: 40px;
  height: calc(var(--scale) * var(--cardSize));
}

.portrait wrapper.mobile button.scroller icon {
  background: hsl(var(--messageColorHSL));
}

.portrait wrapper.mobile button.scroller:last-of-type {
  right: 0;
  left: unset;
  justify-content: end;
}

wrapper.mobile {
  pointer-events: none;
}

wrapper.mobile parking,
wrapper.mobile button {
  display: flex;
  width: 100%;
  pointer-events: all;
}

.mobile parking {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: visible;
}

.portrait .mobile parking spot rotators {
  display: none;
}

.portrait .mobile parking spot rotators button {
  width: calc(0.2 * var(--cardSize));
  height: calc(0.2 * var(--cardSize));
}

cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--defaultGap);
  transform: translateY(60px);
  padding: var(--defaultGap);
  width: calc(var(--cardSize) * 2 + var(--defaultGap));
  height: calc(var(--cardSize) * 2 + var(--defaultGap));
}

cards.disabled {
  opacity: 1;
}

spot {
  display: block;
  outline: 1px dotted transparent;
  width: var(--cardSize);
  height: var(--cardSize);
  pointer-events: none;
}

.guessing spot {
  pointer-events: all;
}

.guessing modal spot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.guessing modal spot.disabled {
  pointer-events: none;
}

parking spot {
  opacity: 1;
  outline: 1px solid hsla(var(--hueGuessing), 100%, 70%, 0.7);
  background: hsla(var(--appBackgroundDarkestHSL), 0.8);
}

parking spot.empty {
  opacity: 0.5;
}

.multicolor.creating parking spot {
  opacity: 1;
  outline: 1px solid hsla(var(--hueCreating), 100%, 70%, 0.7);
}

.multicolor.guessing parking spot {
  opacity: 1;
  outline: 1px solid hsla(var(--hueGuessing), 100%, 70%, 0.7);
}

.multicolor.guessing.reviewing parking spot {
  opacity: 1;
  outline: 1px solid hsla(var(--hueReviewing), 100%, 70%, 0.7);
}

.multicolor.guessing.solved parking spot {
  opacity: 1;
  outline: 1px solid hsla(var(--hueSolved), 100%, 70%, 0.7);
}

.multicolor.creating parking spot.empty,
.multicolor.guessing parking spot.empty,
.multicolor.guessing.solved parking spot.empty {
  opacity: 0.5;
}

.multicolor.guessing.reviewing parking spot.empty {
  opacity: 1;
}

spot.empty card {
  cursor: default;
  background: transparent;
}

parking spot.empty {
  outline-style: dashed;
}

.guessing parking spot.empty {
  outline-style: dashed;
}

.reviewing.guessing parking spot.empty {
  outline-style: dashed;
}

card {
  display: block;
  z-index: 100;
  background: transparent;
  background-size: 100% 100%;
  width: var(--cardSize);
  height: var(--cardSize);
  color: hsl(var(--hueGuessing), 100%, 90%);
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  touch-action: none;
}

cards card,
.multicolor.guessing cards card,
.reviewing cards card {
  background: none;
  color: hsl(var(--hueGuessing), 100%, 86%);
}

.multicolor.creating card {
  color: hsl(var(--hueCreating), 100%, 86%);
}

.multicolor.guessing card {
  color: hsl(var(--hueGuessing), 94%, 90%);
}

.multicolor.guessing.reviewing card,
.multicolor.solved.guessing.reviewing.unaided card {
  color: hsl(var(--hueReviewing), 94%, 90%);
}

.multicolor.solved.guessing card {
  color: hsl(var(--hueSolved), 94%, 90%);
}

ghost {
  display: block;
  position: fixed;
  transform-origin: 50% 50%;
  z-index: 200;
  width: var(--cardSize);
  height: var(--cardSize);
  -webkit-transform-origin: 50% 50%;
  top: calc(-0.5 * var(--cardSize));
  left: calc(-0.5 * var(--cardSize));
  pointer-events: none;
}

ghost card,
ghost card.empty,
.guessing ghost card.empty,
.reviewing ghost card.empty {
  opacity: 0;
  transition: 0ms ease-in 0ms opacity;
  border: 1px solid hsla(var(--hueGuessing), 100%, 70%, 0.7);
  background: hsla(var(--appBackgroundDarkestHSL), 0.8);
  pointer-events: none;
}

.multicolor.creating ghost card {
  border: 1px solid hsla(var(--hueCreating), 100%, 70%, 0.7);
}

.multicolor.guessing ghost card {
  border: 1px solid hsla(var(--hueGuessing), 100%, 70%, 0.7);
}

.multicolor.guessing.solved ghost card {
  border: 1px solid hsla(var(--hueSolved), 100%, 70%, 0.7);
}

.multicolor.reviewing ghost card {
  border: 1px solid hsla(var(--hueReviewing), 100%, 70%, 0.7);
}

ghost card.show {
  opacity: 0.9;
  transition: 0ms ease-in 150ms opacity;
}

card.rotating {
  transition: var(--mediumTransition) ease-in-out all;
}

.multicolor.guessing cards spot.wrong card,
.guessing cards spot.wrong card {
  background-image: url(/images/icon-quit.svg);
  background-position: center center;
  background-size: 30px;
  background-repeat: no-repeat;
}

.unaided.multicolor.guessing cards spot.wrong card,
.unaided.guessing cards spot.wrong card {
  background: none;
}

hints {
  position: absolute;
  transform: translateY(60px);
  z-index: -1;
  width: 100%;
  height: 100%;
  font-size: 130%;
}

hints hint {
  display: block;
  position: absolute;
  perspective: var(--cardSize);
  background-size: 256px 256px;
  padding: calc(var(--defaultGap) / 4) calc(var(--defaultGap) / 4) calc(var(--defaultGap));
  width: calc(1.75 * var(--cardSize));
  height: var(--wordHeight);
}

hints hint input.readonly {
  opacity: 1;
  color: hsl(var(--hueGuessing), 100%, 70%);
}

.multicolor.creating hints hint input.readonly {
  opacity: 1;
  color: hsl(var(--hueCreating), 100%, 70%);
}

.multicolor.guessing hints hint input.readonly {
  opacity: 1;
  color: hsl(var(--hueGuessing), 94%, 80%);
}

.multicolor.guessing.reviewing hints hint input.readonly,
.multicolor.guessing.solved.reviewing.unaided hints hint input.readonly {
  color: hsl(var(--hueReviewing), 94%, 80%);
}

.multicolor.guessing.solved hints hint input.readonly {
  color: hsl(var(--hueSolved), 94%, 80%);
}

hints hint:nth-child(1) {
  transform: translate(0px, calc(-1.825 * var(--wordHeight)));
  rotate: 0deg;
}

hints hint:nth-child(2) {
  transform: translate(calc(var(--cardSize) + (var(--defaultGap) / 8)), calc(-1 * var(--cardSize) + calc(var(--wordHeight) * -1.9)));
  rotate: 90deg;
}

hints hint:nth-child(3) {
  transform: translate(calc(-1 * var(--cardSize) - var(--defaultGap) / 8), calc(-1 * var(--cardSize) + calc(var(--wordHeight) * -1.9)));
  rotate: -90deg;
}

hints hint:nth-child(4) {
  transform: translate(0px, calc(var(--cardSize) * -2.33));
  rotate: 180deg;
}

card.empty {
  background: transparent;
}

card menu {
  display: block;
  position: absolute;
  padding: 0;
  width: calc(0.5 * var(--cardSize));
  height: calc(0.5 * var(--cardSize));
}

words {
  display: block;
}

word {
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: baseline;
  padding-top: 2px;
  width: var(--cardSize);
  height: calc(var(--cardSize) - 2px);
  overflow: visible;
  font-size: calc(var(--wordScale) * 90%);
  line-height: 100%;
  font-family: var(--wordFont);
  user-select: none;
  text-align: center;
  -webkit-user-select: none;
}

parking word {
  padding-top: 8px;
  height: calc(var(--cardSize) - 8px);
}

cards word {
  text-transform: capitalize;
}

word:nth-child(1) {
  rotate: 0deg;
}

word:nth-child(2) {
  rotate: 90deg;
}

word:nth-child(3) {
  rotate: 180deg;
}

word:nth-child(4) {
  rotate: -90deg;
}
/*#endregion wrapper world */

@media screen and (max-height: 844px) {
  app.portrait {
    align-items: start;
  }

  modal.centered section {
    align-content: center;
    gap: 0px;
    margin-bottom: 0px;
  }

  controls {
    padding-top: 0;
    padding-bottom: 0;
  }

  wrapper controls button {
    height: 100%;
  }

  wrapper.mobile.extra,
  .portrait wrapper.mobile.extra {
    scale: 0.6;
  }

  wrapper message {
    padding: 0px var(--defaultGap) var(--defaultGap);
    height: calc(1 * var(--defaultGap) + 6px);
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
  }

  .portrait wrapper.mobile parking {
    transform-origin: center center;
    -webkit-transform-origin: center center;
  }
}

@media screen and (max-height: 719px) {
  .portrait wrapper.mobile parking {
    transform-origin: center center;
    -webkit-transform-origin: center center;
  }
}

@media screen and (max-height: 668px) {
  button.small.isolated {
    position: absolute;
    /* display: none; */
    backdrop-filter: none;
    box-shadow: none;
    border: none;
    padding: 18px;
    width: auto;
  }
}

@media screen and (max-width: 768px) {
  .mobile parking {
    transform-origin: 50% 50%;
    scale: 0.85;
  }

  button.small.isolated.logout {
    background: none;
    padding: 18px;
  }
}

@media screen and (max-width: 678px) {
  :root {
    --tiniestIconSize: 11px;
  }

  html {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  body {
    /* background-image: linear-gradient(hsla(var(--appBackgroundDarkestHSL), 1), hsla(var(--appBackgroundDarkestHSL), 0) 200px), var(--textureHue), var(--texture2); */
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  highlight p {
    font-size: 90%;
  }

  h3 {
    margin: var(--defaultGap) var(--defaultGap) calc(var(--halfGap));
  }

  app {
    justify-content: start;
    align-items: start;
    gap: 0px;
  }

  app.portrait {
    padding: 0px;
  }

  authcta {
    font-size: 0.6em;
  }

  authcta p {
    box-sizing: border-box;
    padding: 0px var(--defaultGap);
  }

  wrapper {
    font-size: 90%;
  }

  wrapper:first-of-type {
    justify-content: space-between;
    align-items: start;
    gap: 0px;
    padding: var(--halfGap) 0px;
    font-size: 80%;
  }

  wrapper:first-of-type controls:first-of-type button {
    border: none;
    background: none;
    padding: 6px calc(1 * var(--defaultGap));
    font-size: 120%;
  }

  wrapper:first-of-type controls button {
    padding: 6px calc(1 * var(--defaultGap));
    min-width: 70px;
  }

  header {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  header icon {
    display: block;
    scale: 0.8;
  }

  splash message {
    max-width: calc(2 * var(--cardSize) - 3 * var(--defaultGap));
  }

  wrapper controls {
    padding: 0 calc(1 * var(--defaultGap));
  }

  wrapper controls button {
    padding: 0px var(--defaultGap);
    font-size: 125%;
  }

  wrapper.main {
    padding: 0;
    max-height: 400px;
    overflow: visible;
    /* font-size: 1.3em; */
  }

  wrapper.main > rotators {
    scale: 0.7;
    padding: 0px;
    min-width: 540px;
    max-width: 145%;
  }

  .portrait wrapper.mobile parking spot {
    outline-width: 2px;
  }

  .portrait wrapper.mobile {
    bottom: 0px;
    padding: 0px;
    font-size: 70%;
  }

  wrapper message {
    padding-top: var(--defaultGap);
    padding-bottom: 0px;
  }

  button.small.isolated.logout {
    background: none;
  }

  icon.info.small {
    padding-bottom: 2px;
  }

  select {
    font-size: 110%;
  }

  tray {
    scale: 0.7;
  }

  ghost card,
  ghost card.empty,
  .guessing ghost card.empty,
  .reviewing ghost card.empty {
    scale: 0.7;
  }

  words word {
    font-size: calc(var(--wordScale) * 100%);
  }

  parking words word {
    padding-top: 10px;
    height: calc(var(--cardSize) - 10px);
    font-size: calc(var(--wordScale) * 140%);
  }

  cards words word {
    align-items: start;
    font-size: calc(var(--wordScale) * 100%);
  }

  p {
    padding: 0;
    width: 100%;
    font-size: 110%;
  }

  checkbox {
    font-size: 110%;
  }

  button.update {
    font-size: 100%;
  }

  modal {
    flex-direction: column;
    justify-content: start;
    align-items: center;
    margin-bottom: 60px;
    font-size: 18px;
  }

  confirmation {
    max-width: 90%;
  }

  modal section,
  section section {
    padding: 0 var(--defaultGap);
    width: calc(100% - var(--defaultGap));
  }

  modal small {
    padding: 0px;
    width: 100%;
    font-size: 0.8em;
  }

  modal legal {
    bottom: calc(var(--footerHeight) + (1 * var(--defaultGap)));
  }
  modal legal a {
    display: inline;
    padding: 0px;
  }

  controls {
    padding: 0;
  }

  gamelinks p button.inline {
    width: calc(3 * var(--defaultGap) - 10px);
    height: calc(2 * var(--defaultGap));
  }

  subtitle {
    font-size: 130%;
  }

  notification message {
    gap: var(--halfGap);
    box-sizing: border-box;
    padding: calc(1.5 * var(--defaultGap));
    width: calc(100% - 2 * var(--defaultGap));
    font-size: 0.9em;
  }

  callout {
    margin: 0 var(--defaultGap);
    width: calc(100% - (2 * var(--defaultGap)));
    max-width: unset;
    font-size: 110%;
  }

  modal section {
    gap: var(--halfGap);
    padding: 0 7%;
    width: 86%;
    height: 100%;
  }

  parking,
  .portrait parking,
  parking spot,
  .portrait parking spot {
    display: none;
    padding: 0px;
  }

  wrapper.mobile parking,
  .portrait wrapper.mobile parking {
    display: flex;
    scale: 0.45;
  }

  wrapper.mobile.extra,
  .portrait wrapper.mobile.extra {
    scale: 0.825;
  }

  wrapper.mobile parking,
  .portrait wrapper.mobile.parking {
    display: flex;
    width: 100%;
  }

  wrapper.mobile parking spot,
  .portrait wrapper.mobile.parking spot {
    display: block;
  }

  .focuser {
    display: flex;
  }
}

@media screen and (max-width: 375px) {
  pointer {
    max-width: calc(100% - 4 * var(--defaultGap));
  }
}

@media screen and (max-height: 670px) {
  wrapper.subtitle {
    display: none;
  }

  wrapper controls {
    padding-bottom: 0px;
  }

  wrapper.mobile parking,
  .portrait wrapper.mobile parking {
    display: flex;
    transform-origin: center center;
    scale: 0.45;
    -webkit-transform-origin: center center;
  }

  wrapper.mobile.extra,
  .portrait wrapper.mobile.extra {
    transform-origin: center center;
    scale: 0.825;
    -webkit-transform-origin: center center;
  }
}

@media screen and (max-height: 620px) {
  app {
    gap: 0px;
  }

  modal.centered introheader {
    margin-bottom: calc(2 * var(--defaultGap));
  }

  modal.centered h3 {
    margin-bottom: 0px;
  }

  modal.centered authcta,
  modal.centered icon,
  modal.centered footspace {
    display: none;
  }

  notification header {
    flex: unset;
    flex-direction: column;
    gap: 0px;
    margin-bottom: calc(0 * var(--defaultGap));
  }

  h2 {
    margin-bottom: var(--defaultGap);
  }

  greeting small,
  notification icon.spinner,
  modal.centered small,
  notification header h1 {
    display: none;
  }

  authcta {
    margin-bottom: var(--defaultGap);
  }

  item {
    margin: 4px 0px;
  }

  wrapper:first-of-type {
    padding-bottom: 0px;
  }

  app.portrait {
    justify-content: start;
  }

  .portrait wrapper.mobile {
    position: absolute;
  }

  .portrait wrapper.mobile parking {
    transform-origin: center bottom;
    -webkit-transform-origin: center bottom;
    margin-bottom: var(--halfGap);
  }
}
