/* resources/scss/style.scss */
:root {
  --color-primary: rgba(77, 77, 55, 1);
  --color-secondary: #D9D2B0;
  --color-background: #FCF1D8;
  --color-primary-lighter: rgba(77, 77, 55, 0.25);
  --color-primary-light: rgba(77, 77, 55, 0.5);
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-shadow: rgba(0, 0, 0, 0.4);
}
body.dark {
  --color-primary: #c0c1c2;
  --color-secondary: #2B2F32;
  --color-background: #0E1418;
  --color-primary-lighter: rgba(255, 255, 255, 0.5);
  --color-primary-light: rgba(255, 255, 255, 0.3);
  --color-white: #000000;
  --color-black: #FFFFFF;
  --color-shadow: rgba(255, 255, 255, 0.2);
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
main {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-moz-selection {
  background: #FCF1D8;
  text-shadow: none;
}
::selection {
  background: #FCF1D8;
  text-shadow: none;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
textarea {
  resize: vertical;
}
.hidden,
[hidden] {
  display: none !important;
}
body {
  font-size: 14px;
}
h1 {
  font-size: 20px;
  font-weight: bold;
}
@media (min-width: 768px) {
  h1 {
    font-size: 24px;
  }
}
h2 {
  font-size: 16px;
  font-weight: bold;
}
@media (min-width: 768px) {
  h2 {
    font-size: 20px;
  }
}
h3 {
  font-size: 14px;
  font-weight: bold;
}
@media (min-width: 768px) {
  h3 {
    font-size: 16px;
  }
}
.text--primary {
  color: var(--color-primary);
}
.text--black {
  color: var(--color-black);
}
.font-size-md {
  font-size: 16px;
}
html {
  box-sizing: border-box;
  height: 100%;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  line-height: 1.5;
  scrollbar-gutter: stable;
}
body {
  box-sizing: border-box;
  height: 100%;
  padding: 0;
  margin: 0;
  color: var(--color-primary);
  background-color: var(--color-secondary);
}
a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-black);
}
p {
  margin-block-start: 0.67em;
  margin-block-end: 1em;
}
h1,
h2,
h3 {
  color: var(--color-black);
}
.fixed-position {
  position: fixed;
}
.hidden {
  display: none;
}
.text-bold {
  font-weight: bold;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.list--remove-default-styling {
  margin: 0;
  padding: 0;
  list-style: none;
}
.inline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.container {
  width: 100%;
  box-sizing: border-box;
  padding-left: 8px;
  padding-right: 8px;
}
@media (min-width: 820px) {
  .container {
    width: 800px;
    box-sizing: content-box;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
}
.text-truncate {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.text-content a {
  text-decoration: underline;
}
.unicode-tile {
  font-family: Segoe Color Emoji;
  font-size: 36px;
  background-color: transparent;
  margin: 0;
}
.flex-center {
  display: flex;
  justify-content: center;
}
.flex-center-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.show-sm-block {
  display: block !important;
}
@media (min-width: 768px) {
  .show-sm-block {
    display: none !important;
  }
}
.hidden-sm-block {
  display: none !important;
}
@media (min-width: 768px) {
  .hidden-sm-block {
    display: block !important;
  }
}
.hidden-sm-inline {
  display: none !important;
}
@media (min-width: 768px) {
  .hidden-sm-inline {
    display: inline !important;
  }
}
.show-sm-flex {
  display: flex !important;
}
@media (min-width: 768px) {
  .show-sm-flex {
    display: none !important;
  }
}
.hidden-sm-flex {
  display: none !important;
}
@media (min-width: 768px) {
  .hidden-sm-flex {
    display: flex !important;
  }
}
.hidden-sm-inline-block {
  display: none !important;
}
@media (min-width: 768px) {
  .hidden-sm-inline-block {
    display: inline-block !important;
  }
}
.show-sm-inline-flex {
  display: inline-flex;
}
@media (min-width: 768px) {
  .show-sm-inline-flex {
    display: none !important;
  }
}
.hidden-sm-inline-flex {
  display: none !important;
}
@media (min-width: 768px) {
  .hidden-sm-inline-flex {
    display: inline-flex !important;
  }
}
.wrapper {
  box-sizing: border-box;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.wrapper__body {
  flex-grow: 1;
  background-color: var(--color-background);
  padding-top: 12px;
}
.wrapper__header,
.wrapper__footer {
  flex-grow: 0;
  flex-shrink: 0;
}
.wrapper__header {
  background-color: var(--color-secondary);
}
.wrapper__footer {
  background-color: var(--color-secondary);
}
.header {
  position: relative;
  height: 64px;
  background-color: var(--color-background);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.header:before {
  content: " ";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: url("../header-back-2WPZLQRY.png");
  background-repeat: repeat-x;
}
.header__content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.header__site-title {
  color: var(--color-black);
  font-size: 24px;
  font-weight: 800;
}
.header__site-title__accent {
  color: var(--color-primary);
}
.header__menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  column-gap: 8px;
}
.header__menu .btn {
  margin-right: 0;
}
#header-mahjong-games-dropdown {
  min-width: 160px;
}
#header__search-input {
  width: 182px;
}
#header-search-dropdown {
  max-height: 330px;
  overflow: scroll;
}
@media (min-width: 768px) {
  #btn-header-loading {
    min-width: 64px;
  }
}
.nav {
  display: none;
}
@media (min-width: 820px) {
  .nav {
    display: block;
  }
}
.nav__content {
  height: 64px;
  line-height: 24px;
  font-size: 14px;
  font-weight: bold;
}
.nav__link-list {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__active-item {
  line-height: 32px;
  background-color: var(--color-background);
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 8px;
}
.content {
  padding-bottom: 48px;
}
.footer {
  padding-top: 12px;
  padding-bottom: 48px;
}
.footer__content {
  margin-bottom: 24px;
}
@media (min-width: 820px) {
  .footer__content {
    display: flex;
    justify-content: space-between;
  }
  .footer__content > div {
    width: 240px;
  }
}
.has-caret {
  display: inline-flex;
  align-items: center;
}
.has-caret::after {
  box-sizing: border-box;
  display: inline-block;
  margin-top: 2px;
  margin-left: 8px;
  content: "";
  border-top: 5px solid;
  border-right: 5px solid transparent;
  border-bottom: 0;
  border-left: 5px solid transparent;
}
.btn {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  line-height: normal;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 32px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 8px;
  box-sizing: border-box;
  margin-right: 8px;
  line-height: 1;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.btn:last-of-type {
  margin-right: 0;
}
.btn:disabled {
  cursor: not-allowed;
}
.btn--large {
  height: 48px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 12px;
  font-size: 16px;
}
.btn--full-width {
  width: 100%;
}
.btn--primary {
  color: var(--color-white);
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.btn--primary svg {
  fill: var(--color-white);
}
.btn--primary:hover {
  color: var(--color-white);
}
.btn--primary:disabled {
  opacity: 0.6;
}
.btn--secondary {
  color: var(--color-primary);
  background-color: var(--color-secondary);
  border: 1px solid var(--color-primary);
}
.btn--secondary svg {
  fill: var(--color-primary);
}
.btn--secondary:hover {
  color: var(--color-black);
}
.btn--tertiary {
  border: 1px solid var(--color-primary);
  background-color: var(--color-background);
}
.btn--tertiary svg {
  fill: var(--color-primary);
}
.btn--tertiary:hover {
  color: var(--color-black);
}
.btn--tertiary:hover svg {
  fill: var(--color-black);
}
.btn--has-icon svg {
  height: 16px;
  flex-shrink: 0;
  margin-right: 6px;
  vertical-align: middle;
  overflow: visible;
}
.btn--has-icon span {
  display: inline-flex;
  align-items: center;
  height: 100%;
}
.btn--has-icon-right svg {
  margin-right: 0;
  margin-left: 6px;
}
.btn--large.btn--has-icon svg {
  height: 20px;
}
.btn--only-icon svg {
  margin-right: 0;
  margin-left: 0;
  height: 20px;
}
.btn__icon-only-icon svg {
  margin-right: 0;
  margin-left: 0;
  height: 20px;
}
.btn--loading .btn__text {
  display: none;
}
.lds-ring {
  color: #000;
  box-sizing: border-box;
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  display: none;
}
.btn--loading .lds-ring {
  display: block;
}
.btn--primary .lds-ring {
  color: var(--color-white);
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 14px;
  height: 14px;
  margin: 3px;
  border: 3px solid currentColor;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: currentColor transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.clickable-text {
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: underline;
}
.clickable-text.disabled {
  pointer-events: none;
  cursor: none;
  text-decoration: none;
  opacity: 0.75;
}
.btn-text {
  display: inline-flex;
  align-items: center;
  line-height: 32px;
  height: 32px;
  margin-right: 12px;
  font-weight: bold;
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.btn-text:last-of-type {
  margin-right: 0;
}
.btn-text:hover {
  color: var(--color-black);
}
.btn-text--icon svg {
  height: 16px;
  margin-right: 6px;
  fill: var(--color-primary);
  overflow: visible;
}
.btn-text--icon:hover svg {
  fill: var(--color-black);
}
input {
  padding: 0;
  margin: 0;
  font-family: inherit;
  background: transparent;
  outline: 0;
  border-width: 0;
  box-shadow: none;
  opacity: 1;
  height: 32px;
  padding: 0 12px;
  box-sizing: border-box;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: bold;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  background-color: var(--color-secondary);
}
input::placeholder {
  color: var(--color-primary-light);
  font-weight: bold;
}
input:disabled {
  background-color: var(--color-background);
}
.input__my-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.input__my-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.input__my-checkbox input:checked + .input__my-checkbox__checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.input__my-checkbox input:checked + .input__my-checkbox__checkmark svg {
  display: block;
}
.input__my-checkbox__checkmark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  margin-right: 8px;
  border: 1px solid var(--color-primary);
  border-radius: 2px;
  background-color: var(--color-secondary);
  flex-shrink: 0;
}
.input__my-checkbox__checkmark svg {
  width: 16px;
  stroke: var(--color-white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: none;
}
.input__has-icon-button-container {
  position: relative;
  display: inline-flex;
  justify-content: center;
  vertical-align: top;
}
.input--has-right-icon-button {
  border-right-width: 0;
  border-radius: 8px 0 0 8px;
}
.input__right-icon-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 32px;
  line-height: 32px;
  box-sizing: border-box;
  padding: 0 6px;
  color: var(--color-primary);
  text-align: center;
  background-color: var(--color-secondary);
  border: 1px solid var(--color-primary);
  border-left-width: 0;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}
.input__right-icon-button svg {
  fill: var(--color-primary);
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  font-family: inherit;
  font-size: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  background: transparent;
  outline: 0;
  border-width: 0;
  box-shadow: none;
  opacity: 1;
  width: 100%;
  height: 32px;
  padding: 0 12px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: bold;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  background-color: var(--color-secondary);
}
select::placeholder {
  color: var(--color-primary-light);
  font-weight: bold;
}
select:disabled {
  background-color: var(--color-background);
}
.select-wrapper {
  position: relative;
}
.select-wrapper svg {
  top: 3px;
  right: 8px;
  height: 24px;
  position: absolute;
  pointer-events: none;
}
.dropdown-list__container {
  position: relative;
}
.dropdown-list__btn {
  cursor: pointer;
  user-select: none;
}
.dropdown-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: initial;
  position: absolute;
  width: 100%;
  box-sizing: border-box;
  left: 0;
  margin-top: 4px;
  padding: 8px;
  font-weight: normal;
  border-radius: 8px;
  background-color: var(--color-background);
  -webkit-box-shadow: 2px 2px 9px 1px var(--color-shadow);
  box-shadow: 2px 2px 9px 1px var(--color-shadow);
  z-index: 1;
}
.dropdown-list > li {
  padding: 8px 4px;
  border-bottom: 1px solid var(--color-primary-lighter);
}
.dropdown-list > li:last-of-type {
  border-bottom: 0;
}
.dropdown-list--with-img a {
  display: flex;
  align-items: center;
  column-gap: 6px;
}
.games-list {
  padding: 0;
  margin: 12px 0 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  column-gap: 12px;
  row-gap: 24px;
}
.games-list li {
  width: 175px;
}
.games-list a {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: var(--color-primary);
  position: relative;
}
.games-list a:hover {
  color: var(--color-black);
}
.games-list a:hover img {
  transform: scale(1.05);
}
.games-list img {
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
  aspect-ratio: 1.3736263736;
  margin-bottom: 8px;
  border-radius: 8px;
  box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.25);
}
@media (min-width: 820px) {
  .games-list {
    justify-content: space-between;
  }
}
.games-list__trophy {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 4px;
  padding-top: 2px;
  border-radius: 4px;
  background-color: var(--color-primary);
}
.games-list__trophy svg {
  fill: var(--color-white);
  width: 18px;
}
.games-list-images {
  display: flex;
  flex-wrap: wrap;
  row-gap: 16px;
  column-gap: 16px;
  justify-content: space-evenly;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 820px) {
  .games-list-images {
    justify-content: space-between;
  }
}
.games-list-images li {
  display: inline-block;
  width: 142px;
  height: 103.38px;
}
.games-list-images a {
  position: relative;
  display: block;
}
.games-list-images img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.5s ease;
}
.games-list-images__game-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 300ms;
  padding-top: 2px;
  padding-bottom: 2px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  background-color: #414141;
}
.games-list-images a:hover .games-list-images__game-name {
  visibility: visible;
  opacity: 1;
  transition: opacity 300ms;
}
.games-list-images__trophy {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px;
  padding-top: 2px;
  border-radius: 4px;
  background-color: var(--color-primary);
}
.games-list-images__trophy svg {
  fill: var(--color-white);
  width: 18px;
}
.responsive-video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  width: 100%;
}
@media (min-width: 768px) {
  .responsive-video-container {
    width: 80%;
  }
}
.responsive-video-container iframe,
.responsive-video-container object,
.responsive-video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999999;
  background-color: rgba(0, 0, 0, 0.2);
  overflow: auto;
  display: none;
}
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 270px;
  right: -270px;
  transition: transform 0.4s;
  overflow: auto;
  z-index: 2;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: var(--color-background);
  box-shadow: -10px 0px 10px 0px rgba(0, 0, 0, 0.5);
}
.sidebar.active {
  transform: translate(-270px);
}
.sidebar ul {
  list-style-type: none;
  padding-inline-start: 0;
  margin: 0;
}
.sidebar ul li {
  height: 32px;
  line-height: 32px;
}
.sidebar a {
  line-height: 32px;
}
.sidebar h2 {
  margin: 0;
  line-height: 48px;
}
.sidebar__btn-close {
  position: absolute;
  top: 24px;
  right: 24px;
  transform: translate(50%, -50%);
  padding: 8px;
}
.sidebar__btn-close svg {
  height: 24px;
  fill: var(--color-primary);
}
.sidebar__content {
  margin-top: 48px;
  margin-left: 16px;
  margin-right: 16px;
}
#sidebar__search-input {
  width: 182px;
  font-size: 16px;
}
.modal {
  display: none;
}
.modal.is-open {
  display: block;
}
.modal__overlay {
  z-index: 3000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
}
.modal__container {
  position: relative;
  width: 90%;
  max-height: 90%;
  margin-left: auto;
  margin-right: auto;
  padding: 12px 24px;
  box-sizing: border-box;
  text-align: center;
  background-color: var(--color-background);
  border-radius: 8px;
  overflow-y: auto;
}
@media (min-width: 820px) {
  .modal__container {
    width: 432px;
    padding: 24px 48px;
  }
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
}
.modal__close > svg {
  height: 24px;
  pointer-events: none;
}
.modal__errors {
  margin-bottom: 12px;
  color: red;
  text-align: left;
}
.modal__errors ul {
  margin: 0;
  padding: 0;
  padding-left: 16px;
}
.modal__content {
  margin-top: 24px;
}
.modal__title {
  color: var(--color-primary);
}
.modal__divider {
  margin-top: 24px;
  margin-bottom: 24px;
  text-align: center;
  line-height: 0;
  border-bottom: 1px solid var(--color-primary-light);
}
.modal__divider span {
  background-color: var(--color-background);
  padding: 4px;
}
.modal__main-btn {
  margin-bottom: 12px;
}
@keyframes mmslideIn {
  from {
    transform: translateY(-30%);
  }
  to {
    transform: translateY(0);
  }
}
.micromodal-slide[aria-hidden=false] .modal__container {
  animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.toastify {
  position: fixed;
  z-index: 2147483647;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 320px;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--color-white);
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(0, 0, 0, 0.3);
  background: var(--color-primary);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.toastify.on {
  opacity: 1;
}
.toast-close {
  padding: 4px 0 0 8px;
  color: var(--color-white);
  font-family: inherit;
  font-size: 1em;
  border: 0;
  background: transparent;
  opacity: 0.8;
  cursor: pointer;
}
.toastify-right {
  right: 15px;
}
.toastify-left {
  left: 15px;
}
.toastify-left .toast-close {
  padding: 2px 8px 0 0;
}
.toastify-top {
  top: -150px;
}
.toastify-bottom {
  bottom: -150px;
}
.toastify-rounded {
  border-radius: 25px;
}
.toastify-avatar {
  width: 1.5em;
  height: 1.5em;
  margin: -7px 5px;
  border-radius: 2px;
}
.toastify-center {
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  max-width: fit-content;
  max-width: -moz-fit-content;
}
@media only screen and (max-width: 360px) {
  .toastify-right,
  .toastify-left {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    max-width: fit-content;
  }
}
.toastify--error {
  background-color: var(--color-background);
  color: red;
  border: 1px solid red;
}
.toastify--error .toast-close {
  color: red;
}
.account-dropdown__container {
  position: relative;
}
.account-dropdown {
  position: absolute;
  width: 272px;
  box-sizing: border-box;
  right: 0;
  margin-top: 6px;
  padding: 24px 24px 24px 24px;
  font-weight: normal;
  border-radius: 16px;
  background-color: var(--color-background);
  -webkit-box-shadow: 2px 2px 9px 1px var(--color-shadow);
  box-shadow: 2px 2px 9px 1px var(--color-shadow);
  z-index: 1;
}
.account-dropdown h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: var(--color-primary);
}
.account-dropdown ul {
  margin: 0;
  padding: 0;
  padding-left: 16px;
}
.account-dropdown .divider {
  margin-top: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-primary-light);
}
.account-dropdown__btn {
  display: flex;
  align-items: center;
  margin-top: 4px;
  margin-bottom: 4px;
  cursor: pointer;
}
.account-dropdown__btn:hover {
  color: var(--color-black);
}
.account-dropdown__btn:hover svg {
  opacity: 1;
}
.account-dropdown__btn svg {
  margin-right: 4px;
  height: 24px;
  fill: var(--color-primary);
  opacity: 0.75;
}
.account-dropdown__header-with-flag {
  display: flex;
  align-items: center;
  column-gap: 6px;
}
.account-dropdown__header-with-flag .fi {
  width: 24px;
  height: 18px;
  margin-top: 2px;
  border-radius: 2px;
}
.account-dropdown__header-with-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 6px;
}
.account-dropdown__header-with-icon svg {
  height: 24px;
  fill: var(--color-primary);
  opacity: 0.75;
}
.account-dropdown__form {
  margin-top: 24px;
}
.account-dropdown__form__main-btn {
  margin-bottom: 12px;
}
.account-dropdown__nav-btn {
  position: absolute;
  top: 12px;
  cursor: pointer;
}
.account-dropdown__nav-btn svg {
  height: 24px;
  fill: var(--color-primary);
  opacity: 0.75;
}
.account-dropdown__nav-btn--left {
  left: 12px;
}
.account-dropdown__nav-btn--right {
  right: 12px;
}
.account-dropdown__helper-text {
  text-align: left;
  opacity: 0.75;
  font-style: italic;
}
.form__control {
  margin-bottom: 12px;
  text-align: left;
}
.form__control:last-of-type {
  margin-bottom: 24px;
}
.form__control label {
  text-align: left;
  display: block;
  font-weight: bold;
}
.form__control label a {
  text-decoration: underline;
}
.form__control input[type=password],
.form__control input[type=email],
.form__control input[type=text] {
  width: 100%;
  box-sizing: border-box;
}
.form__control--checkbox {
  display: flex;
  justify-content: start;
  align-items: center;
}
.form__control--checkbox label {
  font-weight: normal;
  display: inline-flex;
}
.form__control--checkbox input[type=checkbox] {
  flex-shrink: 0;
}
.form__control__helper {
  text-align: left;
  font-style: italic;
}
.form__success {
  margin-bottom: 12px;
  color: green;
  text-align: left;
}
.form__success ul {
  margin: 0;
  padding: 0;
  padding-left: 16px;
}
.form__errors {
  margin-bottom: 12px;
  color: red;
  text-align: left;
}
.form__errors ul {
  margin: 0;
  padding: 0;
  padding-left: 16px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-bottom: 36px;
}
.feature-list__feature {
  display: flex;
  align-items: center;
  gap: 6px;
}
.feature-list__icon {
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-list__icon svg {
  width: 36px;
  fill: var(--color-primary);
}
.feature-list__content {
  display: flex;
  flex-direction: column;
}
.feature-list__content__title {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}
.feature-list__content__helper {
  margin: 0;
}
#home-banner {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
  border: 1px solid var(--color-secondary);
  background-image: url("../mahjongg-solitaire-large-OBXPDM6M.png");
  background-size: cover;
  background-position-y: center;
}
#home-banner::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: rgba(252, 241, 216, 0.8);
}
@media (min-width: 768px) {
  #home-banner {
    height: 282px;
    padding-top: 0;
    padding-bottom: 0;
  }
}
#home-banner__left {
  display: none;
}
@media (min-width: 768px) {
  #home-banner__left {
    display: block;
  }
}
#home-banner__content {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 100%;
}
#home-banner__game-image {
  border-radius: 16px;
  box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.5);
}
#home-banner__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 36px;
  height: 100%;
}
#home-banner__title {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-black);
}
@media (min-width: 768px) {
  #home-banner__title {
    font-size: 20px;
  }
}
#home-banner__play-btn {
  animation: 0.4s jump ease infinite alternate;
  transition: all 0.2s ease-in-out;
}
@keyframes jump {
  0% {
    transform: scale(1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  }
  100% {
    transform: scale(1.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
}
#all-games::before {
  content: "";
  display: block;
  height: 100px;
  margin-top: -100px;
  visibility: hidden;
}
#btn-back-to-game {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 48px;
  z-index: 999;
  box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.25);
  font-family: "Helvetica";
}
#btn-back-to-game svg {
  margin-top: 2px;
}
#above-game-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
#below-game {
  display: block;
}
@media (min-width: 820px) {
  #below-game {
    display: flex;
  }
}
#below-game-similar-games {
  order: 2;
  flex-shrink: 0;
}
@media (min-width: 820px) {
  #below-game-similar-games {
    width: 300px;
    margin-left: 16px;
  }
}
#below-game-similar-games.wide {
  width: 100%;
  margin-left: 0;
}
#below-game-desc {
  order: 1;
  scroll-margin: 64px;
}
#freecell-desc-hearts12 {
  width: 90px;
  height: 126px;
  float: right;
  margin: 4px 0px 40px 8px;
  cursor: auto;
  border: #999 1px solid;
  border-radius: 6px;
  box-shadow: 3px 3px 3px #bcb;
}
#freecell-desc-spades11 {
  width: 90px;
  height: 126px;
  float: right;
  margin: 40px -100px 6px 0;
  cursor: auto;
  border: #999 1px solid;
  border-radius: 6px;
  box-shadow: 3px 3px 3px #bcb;
}
#main-area-desktop {
  display: none;
  margin-top: 16px;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  #main-area-desktop {
    display: block;
  }
}
@media (min-width: 500px) and (max-height: 428px) {
  #main-area-desktop {
    display: none;
  }
}
#desktop-play-container {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
#game-iframe {
  border: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
ruffle-player,
ruffle-embed,
ruffle-object {
  --preloader-background: rgba(0, 0, 0, 1);
  --logo-display: none;
  --ruffle-blue: #D9D2B0;
  --ruffle-orange: #FCF1D8;
}
#main-area-mobile {
  margin-top: 16px;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  #main-area-mobile {
    display: none;
  }
}
@media (min-width: 500px) and (max-height: 428px) {
  #main-area-mobile {
    display: block;
  }
}
#placeholder-below-game-300-250 {
  width: 300px;
  min-height: 250px;
  margin: 32px auto;
  display: none;
}
@media (min-width: 320px) {
  #placeholder-below-game-300-250 {
    display: block;
  }
}
@media (min-width: 768px) {
  #placeholder-below-game-300-250 {
    display: none;
  }
}
@media (min-width: 500px) and (max-height: 428px) {
  #placeholder-below-game-300-250 {
    display: none;
  }
}
#mobile-play-btn-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  max-width: 400px;
  min-width: 200px;
  min-height: 115px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 200/115;
  overflow: hidden;
  background-size: cover;
  background-position-y: center;
}
#mobile-play-btn-container img {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0.5;
}
#mobile-play-btn {
  animation: 0.4s jump ease infinite alternate;
  transition: all 0.2s ease-in-out;
}
#mobile-play-container {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  z-index: 2000;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  touch-action: none !important;
  touch-action-delay: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  outline: none !important;
  outline-style: none !important;
  background-color: rgb(0, 0, 0);
  opacity: 0;
  transition: opacity 0.3s ease;
}
#mobile-play-container.fade-in {
  opacity: 1;
}
#mobile-play-container-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
@media (min-width: 500px) and (max-height: 428px) {
  #mobile-play-container-main {
    flex-direction: row;
  }
}
#mobile-play-container-top {
  flex-grow: 0;
  padding: 6px;
}
@media (min-width: 500px) and (max-height: 428px) {
  #mobile-play-container-close-btn {
    height: auto;
    width: 32px;
    writing-mode: vertical-lr;
    padding: 8px 0;
    transform-origin: center;
    transform: rotate(180deg);
  }
  #mobile-play-container-close-btn svg {
    margin-right: 0;
    margin-bottom: 3px;
  }
}
#mobile-play-container-iframe {
  position: relative;
  flex-grow: 1;
}
#mobile-play-container-adhesion {
  flex-grow: 0;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#mobile-game-iframe {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  max-width: 100%;
  min-width: 100%;
  height: 1px;
  max-height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.leaderboard__title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.leaderboard__container {
  display: inline-block;
  margin-bottom: 12px;
  scroll-margin: 64px;
}
.leaderboard__buttons {
  margin-bottom: 6px;
}
.leaderboard__buttons .btn {
  margin-bottom: 6px;
}
.leaderboard__table {
  color: var(--color-black);
  width: 100%;
  border: 0;
  border-spacing: 0;
  border-collapse: collapse;
}
.leaderboard__table tr {
  height: 24px;
}
.leaderboard__table tr:nth-child(even) {
  background-color: rgba(217, 210, 176, 0.5);
}
.leaderboard__table tr.user {
  border: 2px solid #EFBF04;
}
.leaderboard__rank {
  width: 18px;
  padding-left: 8px;
  text-align: right;
}
.leaderboard__flag {
  padding-left: 8px;
  padding-right: 8px;
  width: 18px;
}
.leaderboard__flag .fi {
  width: 18px;
  height: 13.5px;
  border-radius: 2px;
}
.leaderboard__score {
  padding-right: 8px;
  text-align: right;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */
