@font-face {
  font-family: Roboto;
  src: local("Roboto"), url("https://fujieigo.com/blog/wp-content/themes/fujieigo/fonts/Roboto-Regular.ttf");
}
@supports (-ms-ime-align: auto) {
  body {
    overflow: hidden;
  }
}
.ie-check {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: white;
}

.no-display {
  width: 75%;
  margin: 30px auto 0;
}
.no-display img {
  max-width: 100%;
}

/*******************/
/* password prompt */
/*******************/
.post-password-form {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  transform: translate(-50%, -50%);
  margin: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.5rem;
  background: white;
  text-align: center;
  font-size: 1.2rem;
  color: black;
}

/*****************/
/* general style */
/*****************/
* {
  transition: background-color 0.3s ease;
}
*:hover {
  transition: background-color 0.3s ease;
}

html,
body {
  height: 100vh;
  width: 100%;
  user-select: none;
}

html {
  font: 16px Roboto, sans-serif;
}

body {
  margin: 0;
  overflow: hidden;
}

strong,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Roboto, sans-serif;
  font-weight: 700;
}

::-webkit-scrollbar {
  width: 0.5em;
}

::-webkit-scrollbar-track {
  background-color: rgba(211, 211, 211, 0.5);
}

::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

input,
select {
  font-family: Roboto, sans-serif;
}

div {
  box-sizing: border-box;
}

text {
  fill: black;
  font-size: 0.5rem;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(230, 230, 230);
  margin: 0 auto;
  padding: 0.5rem;
  border: 0.05rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  font: 14px Roboto, sans-serif;
}
button:active {
  border-top-color: rgba(0, 0, 0, 0.25);
  border-right-color: rgba(0, 0, 0, 0.25);
}
button:focus {
  outline: none;
}
button:hover {
  background: rgb(255, 255, 255);
  cursor: pointer;
}
button:hover .icon {
  fill: rgb(100, 100, 100);
}
button span {
  display: inline;
}
button .icon {
  height: 1rem;
}
button .icon ~ span {
  margin-left: 0.25rem;
}

input::file-selector-button {
  display: inline-flex;
  align-items: center;
  background: rgb(230, 230, 230);
  margin: 0 auto;
  padding: 0.5rem;
  border: 0.05rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  font: 14px Roboto, sans-serif;
}
input::file-selector-button:active {
  border-top-color: rgba(0, 0, 0, 0.25);
  border-right-color: rgba(0, 0, 0, 0.25);
}
input::file-selector-button:focus {
  outline: none;
}
input::file-selector-button:hover {
  background: rgb(255, 255, 255);
  cursor: pointer;
}
input::file-selector-button:hover .icon {
  fill: rgb(100, 100, 100);
}
input::file-selector-button span {
  display: inline;
}
input::file-selector-button .icon {
  height: 1rem;
  margin-right: 0.3rem;
}
input::file-selector-button {
  margin-right: 0.5rem;
}

.text-small {
  font-size: 12px;
}

.text-large {
  font-size: 20px;
}

.clear-fix:after {
  content: ".";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

.active {
  display: block;
}

.icon {
  height: 2rem;
}

.button-text,
.button-input {
  width: 100%;
}

/***********/
/* prompts */
/***********/
.prompt {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 94vh;
  overflow: auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  box-shadow: 0.25rem 0.25rem 0 0 rgba(0, 0, 0, 0.25);
  margin: 0.5rem;
  color: black;
  font-size: 0.8rem;
  text-align: center;
}
.prompt::-webkit-scrollbar-track, .prompt::-webkit-scrollbar-thumb {
  border-radius: 0 0.5rem 0.5rem 0;
}
.prompt .close-button {
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  background: none;
}
.prompt .close-button .icon {
  height: 2rem;
}

/*********/
/* about */
/*********/
.title-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  background: rgba(173, 216, 230, 0.8);
}

.title {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
}
.title .icon {
  height: 1rem;
}

.title-header {
  margin: 0;
  font-size: 3rem;
}
.settings .title-header {
  display: none;
  position: relative;
  font-size: 3rem;
}
.set-up .settings .title-header {
  display: block;
}
.title-header .title-image {
  position: absolute;
  top: -2rem;
  right: 0;
  max-height: 7.5rem;
}

.about-icon {
  height: 1rem;
}

.title-image {
  display: block;
  height: 25rem;
  filter: drop-shadow(0.3rem 0.3rem rgba(0, 0, 0, 0.25));
  margin: auto;
}

.about-image {
  position: absolute;
  right: -2.5rem;
  bottom: 0;
  height: 25rem;
  filter: drop-shadow(0.3rem 0.3rem rgba(0, 0, 0, 0.25));
}

.info-icon {
  height: 1rem;
}

.start {
  padding: 1rem;
  margin-bottom: 1rem;
  background: red;
  border-width: 0.5rem;
  border-radius: 1rem;
  color: white;
  font-size: 3rem;
}
.start:hover {
  background: darkred;
}

.skip-demo {
  display: block;
  border-width: 0.2rem;
  padding: 0.5rem 1rem;
  background: darkgray;
  font-size: 1.5rem;
}
.skip-demo:hover {
  background: gray;
}

.demo {
  display: none;
  position: absolute;
  top: 15%;
  left: 3%;
}

.end-demo-button {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.data-upload {
  margin-bottom: 0.5rem;
}
.data-upload input[type=file] {
  background: rgba(255, 255, 255, 0.5);
  border: 1px dashed;
  border-radius: 0.5rem;
  padding: 0.25rem;
}

header .version {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}

/***********/
/* options */
/***********/
.options {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.5rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  margin: 0.5rem;
  min-height: 3rem;
  min-width: 3rem;
  max-height: 96%;
  font-size: 0.8rem;
  transition: background-color 0.5s ease;
  overflow-y: auto;
}
.options:hover {
  background: rgb(255, 255, 255);
}
.options:hover section {
  background: rgba(245, 245, 245, 0.5);
}
.options h3 {
  margin: 0 0 0.5rem;
  text-align: center;
}
.options .version {
  display: flex;
  align-content: center;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.space-medium .options {
  margin: 1rem;
}

.space-large .options {
  margin: 1.5rem;
}

.space-extralarge .options {
  margin: 1.5rem 3rem;
}

.options-icon {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.version .icon {
  margin-left: 0.3rem;
}

/**********/
/* filter */
/**********/
/***************************************************/
/******************** main body ********************/
/***************************************************/
.main {
  display: flex;
  height: 100vh;
  flex-direction: column;
  justify-content: space-around;
  padding: 2rem;
  color: white;
}

.col-wrapper {
  display: flex;
  height: 100vh;
}

.col {
  padding: 1%;
  position: relative;
}

.col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.col-layout-one {
  flex-direction: column;
  justify-content: center;
}

.col-layout-two .col-one {
  width: 20%;
  padding: 0 1%;
}
.col-layout-two .col-two {
  width: 80%;
}

.col-layout-three .col-one,
.col-layout-three .col-three {
  width: 15%;
  padding: 0 1%;
}
.col-layout-three .col-two {
  width: 70%;
}

/**************************************************/
/******************** side bar ********************/
/**************************************************/
.sidebar {
  position: relative;
  width: 18rem;
  height: 100vh;
  font-size: 1.2rem;
}

.space-medium .sidebar {
  width: 13rem;
}

.space-large .sidebar {
  width: 13.5rem;
}

.space-extralarge .sidebar {
  width: 18rem;
}

.sidebar-title h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  text-align: center;
  text-shadow: 1px 1px 0 black;
}

.sidebar ul {
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.5rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  margin: 0.5rem;
  min-height: 2rem;
  list-style: none;
  text-align: left;
}

.space-medium .sidebar ul {
  margin: 1rem;
}

.space-large .sidebar ul {
  margin: 1.5rem;
}

.space-extralarge .sidebar ul {
  margin: 1.5rem 3rem;
}

/**************/
/* point list */
/**************/
.group-list {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
  background: rgba(255, 255, 255, 0.25);
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  list-style: none;
  color: black;
  text-align: center;
}
.col-layout-two .col-one .group-list {
  flex-direction: column;
}
.group-list li {
  flex: 1;
  position: relative;
  margin: 0 0.5rem;
}

.col-layout-two .col-one .group-score-list {
  width: calc(100% - 1rem);
  margin: 0.5rem auto;
}
.col-layout-two .col-one .group-score-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 2rem);
  padding: 0 0.5rem;
}
.col-layout-two .col-one .group-score-list .swatch {
  margin: 0;
}
.col-layout-two .col-one .group-score-list .score::after {
  content: " points";
}
.group-score-list::before {
  content: "- points -";
  flex-basis: 100%;
  margin-bottom: 0.25rem;
  color: rgba(0, 0, 0, 0.25);
  text-shadow: 1px 1px rgba(255, 255, 255, 0.5);
}
.col-layout-two .group-score-list::before {
  flex-basis: auto;
}

.group-winner-selection-list,
.group-multi-choice-winner-selection-list {
  background: none;
}
.group-winner-selection-list .swatch,
.group-multi-choice-winner-selection-list .swatch {
  cursor: pointer;
}
.group-winner-selection-list .swatch:hover,
.group-multi-choice-winner-selection-list .swatch:hover {
  border: 0.1rem solid rgba(255, 255, 255, 0.5);
}

.swatch {
  display: flex;
  width: 2rem;
  height: 2rem;
  background: gray;
  border: 0.1rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  margin: auto;
  text-align: center;
  color: black;
  font-size: 1.2rem;
  text-shadow: 1px 1px white;
  line-height: 2rem;
  justify-content: center;
  align-items: center;
}
.active .swatch {
  border: 0.1rem solid rgba(255, 255, 255, 0.5);
}

.winner-icon,
.icon-winner {
  display: none;
  position: absolute;
  z-index: 1;
  top: -1.6rem;
  left: calc(50% - 1.4rem);
  fill: yellow;
  stroke: black;
  stroke-width: 0.5;
  transform: rotate(-10deg);
}
.winner-icon:hover,
.icon-winner:hover {
  fill: yellow;
}
.winner .winner-icon,
.winner .icon-winner {
  display: block;
}

.color-undefined {
  background: lightgray;
}

.no-team .swatch {
  background: lightgreen;
}

.group-0 .swatch,
.team-0 .swatch {
  background: red;
  color: white;
  text-shadow: 1px 1px black;
}

.group-1 .swatch,
.team-1 .swatch {
  background: blue;
  color: white;
  text-shadow: 1px 1px black;
}

.group-2 .swatch,
.team-2 .swatch {
  background: yellow;
}

.group-3 .swatch,
.team-3 .swatch {
  background: pink;
}

.group-4 .swatch,
.team-4 .swatch {
  background: purple;
  color: white;
  text-shadow: 1px 1px black;
}

.group-5 .swatch,
.team-5 .swatch {
  background: orange;
}

.group-6 .swatch,
.team-6 .swatch {
  background: green;
}

.group-7 .swatch,
.team-7 .swatch {
  background: maroon;
  color: white;
  text-shadow: 1px 1px black;
}

.group-8 .swatch,
.team-8 .swatch {
  background: lightskyblue;
  color: white;
  text-shadow: 1px 1px black;
}

.answer-tally {
  width: 100%;
  min-height: 1.2rem;
  font-size: 1rem;
  text-align: left;
  white-space: break-spaces;
  word-break: break-all;
  text-align: center;
}

.remaining-points {
  top: 50%;
  transform: translateY(-50%);
}

/************/
/* controls */
/************/
.controls {
  display: flex;
  flex-wrap: wrap;
  margin: 0.5rem 0 0;
}

.user-controls li {
  width: 20%;
}

.user-controls {
  display: flex;
  margin: auto 0 0;
}
.user-controls button {
  opacity: 0.5;
  transition: opacity 0.5s;
  aspect-ratio: 1/1;
  width: 3rem;
  margin: 0;
  border-radius: 50%;
}
.user-controls button:hover {
  opacity: 1;
}
.user-controls button:hover:disabled {
  opacity: 0.25;
}
.user-controls button .icon {
  height: 100%;
  width: 100%;
  margin-right: 0;
}
.user-controls button:disabled {
  opacity: 0.25;
}
.user-controls .user-controls-reset {
  margin-left: auto;
}

.zoom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 11rem;
  margin: 0.5rem;
}

.space-medium .zoom-controls {
  margin: 1rem;
}

.space-large .zoom-controls {
  width: 10.5rem;
  margin: 1.5rem;
}

.space-extralarge .zoom-controls {
  width: 12rem;
  margin: 3rem;
}

/****************/
/* link sharing */
/****************/
.qr-code img {
  max-width: 75%;
  max-height: 75%;
}

.url {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 2rem;
}
.url .copy-icon {
  padding-right: 0.5rem;
}

.copy-confirm {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: white;
  font-size: 1.2rem;
}

/**********/
/* timers */
/**********/
.timer {
  padding: 0.5rem;
  border-radius: 0.5rem;
}
.timer:hover {
  cursor: pointer;
}
.timer:hover .timer-pause-icon {
  fill: rgb(100, 100, 100);
}
.timer:hover {
  background: white;
}
.timer .timer-number {
  font-size: 1.2rem;
}

.timer-short {
  position: absolute;
  top: 3rem;
  right: 3rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
}
.prompt .timer-short {
  right: 0.5rem;
}
.timer-short .icon {
  height: 1rem;
}
.timer-short .timer-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.timer:hover .timer-short .timer-number {
  color: rgb(100, 100, 100);
}

.timer-circle {
  transform: rotateY(-180deg) rotateZ(-90deg);
  width: 100%;
  height: 100%;
}
.timer-circle circle {
  stroke-linecap: round;
  stroke-width: 0.1rem;
  stroke: black;
  fill: none;
}
.timer:hover .timer-circle circle {
  stroke: rgb(100, 100, 100);
}

.timer-long {
  position: relative;
  width: fit-content;
  min-width: 5.5rem;
  margin: 0 auto;
  text-align: center;
}
.timer-long .timer-number {
  display: block;
  text-align: center;
  margin-bottom: 0.25rem;
}
.timer-long .icon {
  height: 1rem;
}

.timer-bar-bg {
  position: relative;
  height: 4px;
  background: #ddd;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
}

.timer-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #2196f3;
  width: 0;
  transition: width 0.3s linear;
}

.timer-flash {
  animation: flash-complete 0.4s ease-out;
}

@keyframes flash-complete {
  0% {
    background-color: rgba(255, 255, 255, 0.8);
  }
  100% {
    background-color: transparent;
  }
}
.skip-timer {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
}
.skip-timer svg {
  margin: 0;
}

/*************/
/* edit mode */
/*************/
.edit-mode-cursor,
.edit-space-panel {
  display: none;
  position: absolute;
}

.edit-mode-cursor {
  width: 1.5rem;
  z-index: 1;
}

.edit-space-panel {
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.5rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
}
.edit-space-panel h2 {
  margin: 0.5rem 0;
  text-align: center;
}

/***********************************************/
/****************** grid list ******************/
/***********************************************/
.grid-list {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  max-height: 100vh;
  overflow-x: auto;
  width: calc(100% - 12rem);
  margin: 0 3.5rem;
  padding: 0;
  list-style: none;
  font-size: 2.5rem;
}
.grid-list li {
  position: relative;
  width: calc(16.6% - 1.6rem);
  height: 5rem;
  height: calc(16.6% - 1.6rem);
  margin: 0.5rem;
  border: 0.3rem solid white;
  border-radius: 0.5rem;
  color: white;
  cursor: pointer;
  transition: top 1s, left 1s, transform 1s;
  transform-style: preserve-3d;
  perspective: 50%;
}
.grid-list li:hover .question-side {
  background: darkred;
}
.grid-list div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 100%;
  width: 100%;
  backface-visibility: hidden;
}

.coordinate-grid {
  padding: 5rem 0 0 5rem;
  justify-content: flex-start;
}
.coordinate-grid .coordinate {
  border: 0.3rem solid white;
  border-radius: 0.5rem;
  background: blue;
  color: white;
  cursor: default;
  backface-visibility: visible;
  transition: none;
}
.coordinate-grid .coordinate-x {
  bottom: calc(100% + 1rem);
  left: -0.25rem;
  width: calc(100% + 0.5rem);
  height: 4rem;
}
.coordinate-grid .coordinate-y {
  top: -0.25rem;
  right: calc(100% + 1rem);
  width: 4rem;
  height: calc(100% + 0.5rem);
}

.grid-list .question-side {
  background: red;
}
.grid-list .result-side {
  background: darkred;
  transform: rotateY(180deg);
  font-size: 1rem;
}
.grid-list .result-side .reward-image {
  max-width: 100%;
  max-height: 80%;
}
.grid-list .result-side .reward-name {
  display: block;
  height: 20%;
}

/***********/
/* tooltip */
/***********/
.tooltip {
  position: relative;
  vertical-align: middle;
}

.tooltip-icon {
  height: 1rem;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  background: rgba(255, 255, 255, 0.75);
  min-width: 3.5rem;
  max-width: 10rem;
  height: fit-content;
  border: 0.05rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.25rem;
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: normal;
  text-align: center;
  transform: translateX(-50%);
  transition: visibility 0s 0.5s, opacity 0.5s;
}
.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s;
}
.tooltip-text:before, .tooltip-text:after {
  position: absolute;
  top: calc(100% - 0.025rem);
  left: 50%;
  height: 0;
  width: 0;
  border: 0.5rem solid transparent;
  border-top-color: #e6e6e6;
  margin-left: -0.5rem;
  content: " ";
  pointer-events: none;
}
.dark-mode .tooltip-text:before, .dark-mode .tooltip-text:after {
  border-top-color: rgb(29, 29, 29);
}
.tooltip-text:before {
  left: calc(50% - 0.07rem);
  border: 0.57rem solid transparent;
  border-top-color: rgba(0, 0, 0, 0.5);
}

.main-area {
  display: flex;
  flex-grow: 1;
  align-items: center;
  text-align: center;
}

/***********/
/* Results */
/***********/
.result .reward-image {
  max-width: 100%;
  max-height: 80%;
}
.result .reward-name {
  max-height: 20%;
}

/*************************/
/* awarded points prompt */
/*************************/
/******************/
/* time up prompt */
/******************/
.time-up button {
  width: 100%;
}
.time-up .filter-questions {
  margin-bottom: 0.5rem;
}
.time-up .more-time {
  display: grid;
  margin-bottom: 0.5rem;
}

.finish-game {
  background: red;
  margin-bottom: 0.5rem;
  border-width: 0.5rem;
  border-radius: 1rem;
  color: white;
  font-size: 1.8rem;
}
.finish-game:hover {
  background: darkred;
}
.finish-game:hover .icon {
  fill: white;
}
.finish-game .icon {
  fill: white;
  height: 1.4rem;
}
.finish-game .icon:hover {
  fill: white;
}

/********************/
/* game over prompt */
/********************/
.game-over {
  font-size: 1rem;
}
.game-over .team-name {
  display: inline-block;
  margin-left: 0.5rem;
}

.winner-wrapper {
  display: none;
}

.reset-game {
  background: red;
  margin-bottom: 0.5rem;
  border-width: 0.5rem;
  border-radius: 1rem;
  color: white;
  font-size: 1.8rem;
}
.reset-game:hover {
  background: darkred;
}
.reset-game:hover .icon {
  fill: white;
}
.reset-game .icon {
  fill: white;
  height: 1.4rem;
}
.reset-game .icon:hover {
  fill: white;
}

/***********************/
/* notification prompt */
/***********************/
.notification {
  opacity: 0;
  top: auto;
  bottom: 0;
  transform: translate(-50%, 0);
  box-shadow: none;
  white-space: nowrap;
}

.space-medium .notification {
  bottom: 1rem;
}

.space-large .notification,
.space-extralarge .notification {
  bottom: 1.5rem;
}

.notification .icon {
  height: 1rem;
}

/****************/
/* progress bar */
/****************/
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading {
  position: fixed;
  z-index: 5;
  top: -1rem;
  bottom: -1rem;
  left: -1rem;
  right: -1rem;
  background: rgba(245, 245, 245, 0.5);
  color: black;
  text-align: center;
  text-shadow: 1px 1px white;
}

.loading-title {
  margin-top: 0;
}

.loading-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 94vh;
  width: 30%;
  background: rgba(255, 255, 255, 0.75);
  padding: 2.5rem;
  border-radius: 1rem;
}
.loading-content .loading-info {
  position: relative;
}
.loading-content .loading-info:after {
  position: absolute;
  animation: ellipsis 1s infinite;
  content: "";
}

.loading-icon {
  height: 1rem;
  animation: spin 3s infinite linear;
}

.progress-bar-wrapper {
  position: relative;
  background: lightgray;
  margin: 0.5rem 0;
  border: 0.1rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.3rem;
}

.progress-bar {
  background: darkblue;
  width: 0%;
  height: 1.2rem;
  padding: 0.1rem 0;
  border-radius: 0.2rem;
  transition: width, 0.5s;
}

.progress-bar-amount {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 1px 1px black;
}

@keyframes ellipsis {
  0% {
    content: "";
  }
  25% {
    content: ".";
    /* ascii code for period */
  }
  50% {
    content: "..";
  }
  75% {
    content: "...";
  }
}
/*************/
/* lazy load */
/*************/
.lazy-loading {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 5;
}
.lazy-loading .loading-icon {
  height: 0.5rem;
  margin-right: 0.25rem;
}

/***************/
/* information */
/***************/
.info {
  z-index: 3;
  max-height: 90%;
  overflow-y: auto;
  text-align: left;
}

h4 .icon {
  height: 0.8rem;
}

.compatibility ul {
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 0;
  list-style: none;
}
.compatibility li {
  position: relative;
}
.compatibility .tick-icon {
  fill: blue;
}
.compatibility .question-icon {
  fill: orange;
}
.compatibility .cross-icon {
  fill: red;
}
.compatibility .tooltip {
  position: absolute;
  right: -0.75rem;
  top: -0.75rem;
}
.compatibility .tooltip-text {
  font-size: 0.7rem;
}

.result .result-winner-notification .team {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 3.5rem);
  font-size: 1.6rem;
}
.result .winner-notification-string {
  flex-grow: 1;
}
.result .team {
  opacity: 0;
  text-align: center;
}
.result .timer {
  top: 0.5rem;
}

.mini-point-list {
  columns: 4;
  width: 20rem;
  padding: 0;
  font-size: 0.7rem;
}

.preloaded-images {
  display: none;
}

/***********/
/* options */
/***********/
.set-up {
  position: absolute;
  top: 3rem;
  right: 3rem;
  bottom: 3rem;
  left: 3rem;
  z-index: 1;
  overflow: auto;
  padding: 1rem;
  font-size: 1.2rem;
}
.set-up select,
.set-up input {
  font-size: 1.2rem;
}
.set-up .title-image {
  top: 0;
  max-height: 100%;
}
.set-up .settings-header {
  display: flex;
  align-items: center;
}
.set-up .settings-header .icon {
  margin-right: 0.5rem;
}

.settings-wrapper .settings {
  position: absolute;
  z-index: 1;
  background: rgba(229, 229, 229, 0.5);
  padding: 0.5rem;
  margin: 0.25rem 0;
  border-radius: 0.5rem;
}
.settings-wrapper .game-header {
  display: none;
}
.settings-wrapper .settings-header {
  margin: 0.25rem;
  font-size: 1.4rem;
}
.settings-wrapper .settings-header .icon {
  display: none;
}
.settings-wrapper .submit-load-page-list,
.settings-wrapper .submit-user-editable-settings {
  width: auto;
  height: auto;
  aspect-ratio: auto;
  border-radius: 0.5rem;
}

.field-wrapper:not(.data-wrapper) {
  display: flex;
  padding: 0 0.5rem;
  margin-bottom: 0.5rem;
}
.field-wrapper:not(.data-wrapper) * {
  flex-grow: 1;
}
.field-wrapper:not(.data-wrapper) label {
  max-width: 40%;
}
.field-wrapper:not(.data-wrapper) select,
.field-wrapper:not(.data-wrapper) input:not(input[type=radio], input[type=checkbox]) {
  min-width: 60%;
}

.data-wrapper {
  padding: 0 0.5rem;
  margin-bottom: 0.5rem;
}
.data-wrapper.active {
  border: 1px solid white;
  border-radius: 0.5rem;
  padding: 0.5rem;
}
.data-wrapper .field-wrapper {
  padding: 0;
}
.data-wrapper .more-data {
  display: flex;
  margin-right: 0;
}

.filter-wrapper {
  flex-direction: column;
}
.filter-wrapper .filters {
  display: flex;
}
.filter-wrapper .results {
  display: none;
}

.user-editable-setting select,
.user-editable-setting input:not(input[type=radio]) {
  width: 100%;
  box-sizing: border-box;
}

.submit-user-editable-settings {
  font-size: 1.2rem;
  font-weight: bold;
}

/********/
/* dice */
/********/
/* parent wrapper: gives overall perspective for 3D */
.dice-wrapper {
  perspective: 56.25rem;
  /* ~900px at 16px base (900 / 16 = 56.25rem) */
  perspective-origin: 50% 50%;
}

/* dice root: size is a rem-valued CSS variable */
.dice {
  --size: 6.25rem;
  /* default if not overridden (100px at 16px base) */
  --dot-size: calc(var(--size) * 0.2);
  /* dot is 20% of cube size (like 20px / 100px) */
  position: relative;
  width: var(--size);
  height: var(--size);
  transform-style: preserve-3d;
  transition-property: transform;
  transition-duration: 1s;
  /* overwritten inline by JS */
  transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: 50% 50%;
  margin: 0.5rem;
  display: inline-block;
  box-sizing: border-box;
}

/* faces: full-size panels that sit half the size out on Z */
.face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 0.375rem;
  /* 6px ~ 0.375rem */
  border: 0.0625rem solid #e5e5e5;
  /* 1px */
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* place faces exactly at translateZ = half the cube size */
.face-1 {
  transform: translateZ(calc(var(--size) / 2));
}

.face-2 {
  transform: rotateY(90deg) translateZ(calc(var(--size) / 2));
}

.face-3 {
  transform: rotateY(-90deg) translateZ(calc(var(--size) / 2));
}

.face-4 {
  transform: rotateX(90deg) translateZ(calc(var(--size) / 2));
}

.face-5 {
  transform: rotateX(-90deg) translateZ(calc(var(--size) / 2));
}

.face-6 {
  transform: rotateY(180deg) translateZ(calc(var(--size) / 2));
}

/* dots scale by --dot-size and are centered using transform */
.dot {
  position: absolute;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background-color: #f25f5c;
  box-shadow: inset 0.125rem 0.125rem #d90429;
  /* ~2px inset */
  transform: translate(-50%, -50%);
  /* center on top/left coords */
  box-sizing: border-box;
  pointer-events: none;
}

/* dot position rules (percent coordinates) */
.face-2-dot-1,
.face-3-dot-1,
.face-4-dot-1,
.face-5-dot-1,
.face-6-dot-1 {
  top: 20%;
  left: 20%;
}

.face-4-dot-3,
.face-5-dot-3,
.face-6-dot-4 {
  top: 20%;
  left: 80%;
}

.face-1-dot-1,
.face-3-dot-2,
.face-5-dot-5 {
  top: 50%;
  left: 50%;
}

.face-4-dot-2,
.face-5-dot-2,
.face-6-dot-3 {
  top: 80%;
  left: 20%;
}

.face-2-dot-2,
.face-3-dot-3,
.face-4-dot-4,
.face-5-dot-4,
.face-6-dot-6 {
  top: 80%;
  left: 80%;
}

.face-6-dot-2 {
  top: 50%;
  left: 20%;
}

.face-6-dot-5 {
  top: 50%;
  left: 80%;
}

/* rolling / flair helpers */
.dice.rolling {
  box-shadow: 0 0.75rem 1.875rem rgba(0, 0, 0, 0.25);
  will-change: transform;
}

.dice.active-flair {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.active-face-1 {
  transform: rotateX(720deg) rotateZ(-720deg);
}

.active-face-3 {
  transform: rotateY(-450deg) rotateZ(-1440deg);
}

.active-face-4 {
  transform: rotateY(810deg) rotateZ(720deg);
}

.active-face-5 {
  transform: rotateX(-810deg) rotateZ(-1080deg);
}

.active-face-2 {
  transform: rotateX(450deg) rotateZ(-720deg);
}

.active-face-6 {
  transform: rotateX(-900deg) rotateZ(1080deg);
}

.dice.active-flair {
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.flashcards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  list-style: none;
}

.flashcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flashcard-image-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 8rem;
  height: 8rem;
}

.flashcard-image {
  max-width: 100%;
  max-height: 100%;
}

/*********/
/* fonts */
/*********/
/* fredoka-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400;
  src: url("https://fujieigo.com/blog/wp-content/themes/fujieigo/fonts/fredoka-v14-latin-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fredoka-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 700;
  src: url("https://fujieigo.com/blog/wp-content/themes/fujieigo/fonts/fredoka-v14-latin-700.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
  font-family: "RyeRegular";
  src: local("Rye Regular"), url(https://fujieigo.com/blog/wp-content/themes/fujieigo/fonts/Rye-Regular.ttf);
}
body,
strong,
h1,
h2,
h3,
h4,
h5,
h6,
select,
input,
button {
  font-family: "Fredoka", sans-serif;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font: 16px "Fredoka", sans-serif;
  margin: 0;
  background: #316e33 url(https://fujieigo.com/blog/wp-content/uploads/2024/12/game-sentence-poker-background.png);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 16px;
}

.title {
  position: relative;
  margin: 3.5rem 0;
}
.title h1 {
  font: 6rem "RyeRegular", sans-serif;
  margin: 0;
  color: #8e0000;
  text-shadow: 5px 5px orange;
}

.group-selection {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.group-selection .group {
  margin: 0 0.25rem;
}

.flashcard-alphabet-image {
  max-width: 3rem;
}

.swatch {
  margin: 0 0.5rem 0 0;
}

.winner-icon {
  left: 2.25rem;
}

.active .swatch {
  box-shadow: 0 0 0.5rem rgba(255, 255, 0, 0.75);
  animation: pulsing-glow 1s infinite;
}

@keyframes pulsing-glow {
  0% {
    box-shadow: 0 0 0.5rem rgba(255, 255, 0, 0.75);
  }
  50% {
    box-shadow: 0 0 3rem rgb(255, 255, 0);
  }
  0% {
    box-shadow: 0 0 0.5rem rgba(255, 255, 0, 0.75);
  }
}
.score {
  margin-top: 0.5rem;
  text-shadow: 1px 1px white;
}

.menu {
  position: relative;
  display: flex;
  order: 3;
  flex: 0 0 auto;
  min-height: 3rem;
  align-items: center;
  justify-content: space-around;
  padding: 1rem;
}

@keyframes moving-drop-item {
  0% {
    transform: rotate(12deg);
  }
  50% {
    transform: rotate(-12deg);
  }
  100% {
    transform: rotate(12deg);
  }
}
.user-controls {
  display: none;
  flex: 0 0 5%;
  min-height: 3rem;
  padding: 1rem;
}
.user-controls button {
  height: fit-content;
}
.user-controls button:not(:last-child) {
  margin-right: 0.25rem;
}

.game {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.end-demo-button {
  position: absolute;
  top: 5rem;
  left: auto;
  right: 1rem;
}

.timer {
  top: 1rem;
  right: 1rem;
  width: 8rem;
  height: 8rem;
}
.timer .skip-timer-icon,
.timer .timer-pause-icon {
  height: 3rem;
}

.timer-round .timer-number {
  font-size: 3.5rem;
}

.timer-game-time {
  top: auto;
  right: auto;
  width: auto;
  height: auto;
  margin: 0;
}

.group-list {
  flex: 0 0 auto;
  order: 2;
  min-height: 3rem;
}
.group-list::before {
  content: none;
}
.group-list li {
  display: flex;
  justify-content: center;
}
.group-list .answer-tally {
  display: none;
}

.action-button {
  font: 2rem "Fredoka", sans-serif;
}

.reset-groups-button {
  position: absolute;
  left: 1rem;
}

.drop-item-values {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}
.drop-item-values img {
  max-width: 1.5rem;
}

.drop-item-value {
  padding: 0.25rem;
}

.prompt {
  font-size: 5rem;
}

.generate-hints-prompt {
  top: 1rem;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  transform: none;
}

.group-number {
  font-weight: bold;
  font-size: 8rem;
}

.flashcard-group-container {
  position: relative;
  width: 100%;
  max-height: 10%;
  margin-top: 1rem;
}

.game {
  display: flex;
  flex-direction: column;
}

.menu {
  display: flex;
  justify-content: center;
  order: 2;
  padding: 1rem;
  text-align: center;
}
.menu button {
  min-height: 1.5rem;
}
.menu button .icon:hover {
  cursor: default;
}
.menu .icon {
  height: 1.5rem;
  width: 1.5rem;
}

.game-table {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  text-align: center;
}

.hand {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.dealer {
  flex: 1 1 auto;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 2rem 1rem;
}
.dealer .card {
  height: 100%;
}
.dealer .card-flashcard {
  display: none;
}

.decks {
  display: flex;
  margin-right: 0.25rem;
}

.deck {
  position: relative;
  aspect-ratio: 1/1.4;
  margin-right: 0.25rem;
}
.deck .card {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}
.deck .card:nth-child(1) {
  top: -0.3%;
}
.deck .card:nth-child(2) {
  top: -0.5%;
}
.deck .card:nth-child(3) {
  top: -0.7%;
}
.deck .card:nth-child(4) {
  top: -0.9%;
}
.deck .card:nth-child(5) {
  top: -1.1%;
}
.deck .card:nth-child(6) {
  top: -1.3%;
}
.deck .card:nth-child(7) {
  top: -1.5%;
}
.deck .card:nth-child(8) {
  top: -1.7%;
}
.deck .card:nth-child(9) {
  top: -1.9%;
}
.deck .card:nth-child(10) {
  top: -2.1%;
}
.deck .card:nth-child(11) {
  top: -2.3%;
}
.deck .card:nth-child(12) {
  top: -2.5%;
}
.deck .card:nth-child(13) {
  top: -2.7%;
}
.deck .card:nth-child(14) {
  top: -2.9%;
}
.deck .card:nth-child(15) {
  top: -3.1%;
}
.deck .card:nth-child(16) {
  top: -3.3%;
}
.deck .card:nth-child(17) {
  top: -3.5%;
}
.deck .card:nth-child(18) {
  top: -3.7%;
}

.community-cards .card-flashcard {
  display: none;
}
.community-cards .card-value {
  display: flex;
}
.community-cards .card::after {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);
  font-weight: bold;
  font-size: 1.5rem;
  color: white;
  text-shadow: 1px 1px black;
}
.community-cards .set-0::after {
  content: "1";
}
.community-cards .set-1::after {
  content: "2";
}
.community-cards .set-3::after {
  content: "3";
}
.community-cards .set-4::after {
  content: "4";
}

.player {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 3 1 auto;
}

.player-hands {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.player-hand-wrapper {
  position: relative;
  flex: 1;
  border-right: 3px dashed lightgray;
  container-type: size;
}
.player-hand-wrapper:last-child {
  border-right: none;
}

.player-hand-background {
  position: absolute;
  top: 0;
}

.player-hand {
  position: relative;
  height: 100%;
}
.player-hand::before {
  position: absolute;
  top: 0;
  transform: translateY(-100%);
  font-weight: bold;
  font-size: 1.5rem;
  color: white;
  text-shadow: 1px 1px black;
}
.player-hand .card {
  height: calc(50cqh - 1rem);
  max-width: calc(50cqw - 1rem);
}

.player-hand-0::before {
  content: "A";
}

.player-hand-1::before {
  content: "B";
}

.player-hand-2::before {
  content: "C";
}

.player-hand-3::before {
  content: "D";
}

.player-hand-4::before {
  content: "E";
}

.player-controls {
  padding: 0.5rem;
}

.deal-button,
.play-button {
  position: relative;
  z-index: 2;
  transition: font-size 0.5s;
}
.deal-button:not([disabled=disabled]),
.play-button:not([disabled=disabled]) {
  box-shadow: 0 0 0.5rem rgba(255, 255, 0, 0.75);
  animation: pulsing-glow 1s infinite;
  font-size: 1rem;
}

@keyframes pulsing-glow {
  0% {
    box-shadow: 0 0 0.5rem rgba(255, 255, 0, 0.75);
  }
  50% {
    box-shadow: 0 0 3rem rgb(255, 255, 0);
  }
  0% {
    box-shadow: 0 0 0.5rem rgba(255, 255, 0, 0.75);
  }
}
.hand-results {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(49, 110, 51, 0.95);
  text-align: center;
  color: white;
  text-shadow: 1px 1px black;
}
.hand-results .card {
  text-align: center;
  color: black;
  text-shadow: none;
}

.community-card .card-flashcard {
  display: none;
}
.community-card .card-value {
  display: flex;
}

.points-calculation-list {
  display: flex;
  justify-content: center;
}

.card-score {
  width: 12.5rem;
  margin: 0 0.5rem;
}

.hand-total {
  margin-bottom: 0.5rem;
  font-size: 3rem;
  font-weight: bold;
}

.results-options {
  margin: 0 auto;
}

.card {
  position: relative;
  box-sizing: border-box;
  display: flex;
  z-index: 1;
  align-items: stretch;
  aspect-ratio: 1/1.4;
  width: auto;
  border-radius: 1rem;
  margin: 0.5rem;
  font-size: 1.5rem;
  transition: transform 1s, opacity 1s;
  transform-style: preserve-3d;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  border: 1px solid lightgray;
  border-radius: 1rem;
}
.card.selected {
  box-shadow: 0 0 0.5rem rgb(255, 255, 0);
}
.card.selected {
  transform: scale(1.2);
  z-index: 2;
}
.card.selected.face-down {
  transform: rotateY(180deg) scale(1.2);
}
.player-hand:has(.card.selected) .card:not(.selected) {
  opacity: 0.5;
}
.player-hand:has(.card.selected) .card:not(.selected).face-down {
  opacity: 1;
}

.selected-hand.selected {
  z-index: 2;
}
.player-hand:has(.selected-hand.selected) .card:not(.selected) {
  opacity: 0.5;
}
.selected-hand .card {
  height: 40vh;
}
.selected-hand .card-operator {
  top: 0;
  left: 1.5rem;
  font-size: 5rem;
  text-shadow: 0.1rem 0.1rem white;
}

.card-space {
  border: 3px dashed lightgray;
}
.card-space::before {
  border: none;
}

.card-side {
  backface-visibility: hidden;
}

.card-back:not(.dealer .card-back),
.card-front {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  height: 100%;
  background: white;
  padding: 0.5rem;
  border: 0.5rem solid black;
  border-radius: 1rem;
  font-weight: 700;
}
.suit-hearts .card-back:not(.dealer .card-back), .suit-diamonds .card-back:not(.dealer .card-back),
.suit-hearts .card-front,
.suit-diamonds .card-front {
  border-color: red;
  color: red;
}

.card-back .card-flashcard-text,
.card-back .card-flashcard-image {
  background: white;
  border-radius: 0.5rem;
  padding: 0.25rem;
}

.card-face {
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
}

.card-face-top {
  align-self: flex-start;
}

.card-face-middle {
  flex-grow: 2;
  height: 100%;
}

.card-flashcard {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.card-flashcard-image-wrapper {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-flashcard-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card-operator {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
}

.card-flashcard-text {
  flex: 0 0 auto;
  text-align: center;
  align-self: center;
  padding: 0.25rem;
  width: 100%;
  font-size: 1.5rem;
}
.card-flashcard-text.text-short {
  font-size: 1.5rem;
}
.card-flashcard-text.text-medium {
  font-size: 1.2rem;
}
.card-flashcard-text.text-long {
  font-size: 0.9rem;
}
.card-flashcard-text.text-very-long {
  font-size: 0.8rem;
}

.card-value {
  display: none;
  justify-content: center;
  height: 100%;
}

.card-rank-display {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 100%;
  justify-content: space-evenly;
  font-size: 2.5rem;
  line-height: 1;
}

.card-rank-column {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.card-rank-column:only-child .card-suit:only-child {
  font-size: 10rem;
}
.card-rank-column:nth-child(2):not(:last-child) {
  justify-content: space-evenly;
}
.card-rank-column .card-suit:last-child:not(:first-child),
.card-rank-column .card-suit:nth-child(3),
.card-rank-column .card-suit:nth-child(4) {
  transform: rotate(180deg);
}
.value-7 .card-rank-column:nth-child(2) .card-suit {
  transform: translateY(-75%);
}
.card-rank-column img {
  max-width: 100%;
  margin: auto;
}

.card-face-bottom {
  align-self: flex-end;
  rotate: 180deg;
}

.card-back {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 1rem;
  background-color: lightblue;
  background-size: cover;
  transform: rotateY(180deg);
}

.face-down {
  transform: rotateY(180deg);
}
.deal-in {
  opacity: 0;
  animation: card-entry 0.1s ease-in-out forwards;
}
.deal-in.face-down {
  animation: card-entry-face-down 0.1s ease-in-out forwards;
}
.deal-in.face-down .card-back {
  animation: card-backface-hack 0.1s ease-in-out forwards;
}

.deal-out {
  animation: card-exit 0.1s ease-in-out forwards;
}
.deal-out.face-down {
  animation: card-exit-face-down 0.1s ease-in-out forwards;
}
.deal-out.face-down .card-back {
  animation: card-backface-hack 0.1s ease-in-out forwards;
}

.shuffle-card {
  animation: shuffle 1s ease-in-out;
}
.shuffle-card.face-down {
  animation: shuffle-face-down 1s ease-in-out;
}

.shuffle-top-card {
  animation: shuffle-top 1s ease-in-out;
}
.shuffle-top-card.face-down {
  animation: shuffle-top-face-down 1s ease-in-out;
}

@keyframes card-entry {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes card-entry-face-down {
  0% {
    opacity: 0;
    transform: rotateY(180deg) translateY(-100%);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: rotateY(180deg) translateY(0);
  }
}
@keyframes card-exit {
  0% {
    transform: translateY(0);
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}
@keyframes card-exit-face-down {
  0% {
    transform: rotateY(180deg) translateY(0);
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: rotateY(180deg) translateY(-100%);
  }
}
@keyframes card-backface-hack {
  0% {
    backface-visibility: visible;
  }
  100% {
    backface-visibility: visible;
  }
}
@keyframes shuffle {
  0% {
    z-index: 1;
    transform: translate(0);
  }
  25% {
    z-index: -1;
    transform: translate(15%, 100%);
  }
  50% {
    transform: translate(0);
  }
  75% {
    z-index: 1;
    transform: translate(15%, 100%);
  }
  100% {
    transform: translate(0);
  }
}
@keyframes shuffle-top {
  0% {
    z-index: 1;
    transform: translate(0);
  }
  25% {
    z-index: -1;
    transform: translate(15%, 100%);
  }
  75% {
    transform: translate(15%, 100%);
  }
  100% {
    transform: translate(0);
  }
}
@keyframes shuffle-face-down {
  0% {
    z-index: 1;
    transform: rotateY(180deg) translate(0);
  }
  25% {
    z-index: -1;
    transform: rotateY(180deg) translate(15%, 100%);
  }
  50% {
    transform: rotateY(180deg) translate(0);
  }
  75% {
    z-index: 1;
    transform: rotateY(180deg) translate(15%, 100%);
  }
  100% {
    transform: rotateY(180deg) translate(0);
  }
}
@keyframes shuffle-top-face-down {
  0% {
    z-index: 1;
    transform: rotateY(180deg) translate(0);
  }
  25% {
    z-index: -1;
    transform: rotateY(180deg) translate(15%, 100%);
  }
  75% {
    transform: rotateY(180deg) translate(15%, 100%);
  }
  100% {
    transform: rotateY(180deg) translate(0);
  }
}
.hand-list {
  list-style: none;
  column-count: 2;
  background: white;
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 0 3rem rgba(0, 0, 0, 0.5);
  font-size: 1.2rem;
}
.hand-list.active {
  display: flex;
}
.hand-list .card {
  align-self: center;
  width: 4rem;
  height: max-content;
  border-radius: 0.5rem;
  font-size: 2rem;
}
.hand-list .card::before {
  content: none;
}
.hand-list .card:not(.highlight-card) {
  opacity: 0.75;
}
.hand-list .card-front {
  justify-content: center;
  border-width: 1px;
  border-radius: 0.5rem;
}
.hand-list .card-face-top {
  align-self: center;
}
.hand-list .card-face-middle,
.hand-list .card-face-bottom {
  display: none;
}

.wrapper-example {
  display: flex;
}

.hand-example {
  display: flex;
  justify-content: space-between;
  height: calc(20% - 0.5rem);
  border: 1px solid green;
  border-radius: 0.75rem;
  margin: 0.25rem;
  box-sizing: border-box;
}

.hand-example-title {
  display: flex;
  align-self: center;
  justify-content: space-between;
  box-sizing: border-box;
  min-width: 13rem;
  padding: 0 0.5rem;
  margin: 0;
  text-align: left;
}

.highlight-card {
  border: 1px solid yellow;
  box-shadow: 0 0 0.5rem rgb(255, 255, 0);
}

.hand-multiplier {
  margin-right: 0.5rem;
}/*# sourceMappingURL=game-sentence-maths.css.map */