﻿@font-face {
  font-family: "X Sans";
  src: url("../../fonts/XSans-Bold.woff2") format("woff2"), url("../../fonts/XSans-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "X Sans";
  src: url("../../fonts/XSans-Thin.woff2") format("woff2"), url("../../fonts/XSans-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "X Sans";
  src: url("../../fonts/XSans-Regular.woff2") format("woff2"), url("../../fonts/XSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "X Sans";
  src: url("../../fonts/XSans-Light.woff2") format("woff2"), url("../../fonts/XSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "X Sans";
  src: url("../../fonts/XSans-Medium.woff2") format("woff2"), url("../../fonts/XSans-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "X Sans XBold";
  src: url("../../fonts/XSans-XBold.woff2") format("woff2"), url("../../fonts/XSans-XBold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  font-family: "X Sans";
  font-size: 100%;
  border: 0 none;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOutUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}
@keyframes fadeOutDown {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeOutLeft {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-20px);
  }
}
@keyframes showUp {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@keyframes hideDown {
  0% {
    opacity: 1;
  }
  60% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}
img {
  display: block;
}

.leaderboard {
  background: url("../../images/default-landscape-bg.png") no-repeat center top;
  background-size: cover;
  background-position: center top;
  padding: 64px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  opacity: 1;
  z-index: 1;
  transition: transform 1s ease, opacity 1s ease;
  will-change: transform, opacity;
}
@media screen and (orientation: portrait) {
  .leaderboard {
    background: url("../../images/default-portrait-bg.png") no-repeat center top;
    background-size: cover;
    transform: translateX(0);
  }
}
@media screen and (orientation: landscape) {
  .leaderboard {
    background: url("../../images/default-landscape-bg.png") no-repeat center top;
    background-size: cover;
    transform: translateY(0);
  }
}
.leaderboard__title {
  width: 100%;
  max-width: 651px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.51);
  text-align: center;
  background: linear-gradient(180deg, #FFF -0.09%, #F4F2F9 99.91%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #F4F2F9;
  color: transparent !important;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeDown 0.8s ease forwards;
  animation-play-state: paused;
}
@media screen and (orientation: portrait) {
  .leaderboard__title {
    padding-top: 20%;
  }
}
.leaderboard__title.fading-out {
  animation: hideDown 0.8s ease 1s forwards;
}
.leaderboard__title.fading-in {
  animation: showUp 0.8s ease 1s forwards;
}

.scoreAdded-screen {
  background: url("../../images/scoreAdded-landscape-bg.png") no-repeat center top;
  background-size: cover;
  background-position: center top;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 64px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: transform 1s ease, opacity 1s ease;
  will-change: transform, opacity;
}
@media screen and (orientation: portrait) {
  .scoreAdded-screen {
    background: url("../../images/scoreAdded-portrait-bg.png") no-repeat center top;
    background-size: cover;
    transform: translateX(-100%);
  }
}
@media screen and (orientation: landscape) {
  .scoreAdded-screen {
    background: url("../../images/scoreAdded-landscape-bg.png") no-repeat center top;
    background-size: cover;
    transform: translateY(-100%);
  }
}
.scoreAdded-screen .message {
  font-size: clamp(53px, 4.3vw, 75px);
  font-weight: 300;
  line-height: 1;
  text-align: center;
  color: #3D1881;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-play-state: paused;
}
.scoreAdded-screen .player-name {
  font-size: clamp(100px, 8.6vw, 150px);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: #3D1881;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-play-state: paused;
}
.scoreAdded-screen .score-meta {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-play-state: paused;
}
.scoreAdded-screen .score-meta p {
  font-size: 3.1rem;
  font-weight: 300;
  line-height: 1;
  text-align: center;
  color: #3D1881;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
.scoreAdded-screen .score-meta p .time,
.scoreAdded-screen .score-meta p .rank {
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-play-state: paused;
}
.scoreAdded-screen .score-meta .divider {
  width: 4px;
  height: 125px;
  background: #3D1881;
  margin: 0 64px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-play-state: paused;
}

.page.page-scanner {
  background: url(../../images/default-portrait-bg.png) center center no-repeat transparent;
  background-size: cover;
  min-height: 100dvh;
}
.page.page-scanner header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
@media (max-width: 767px) {
  .page.page-scanner header {
    height: 93px;
  }
}
.page.page-scanner header img {
  width: 100%;
  max-width: 120px;
}
@media (max-width: 767px) {
  .page.page-scanner header img {
    max-width: 80px;
  }
}
.page.page-scanner section {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 1;
}
.page.page-scanner section.--active {
  display: flex;
}
.page.page-scanner section .btn {
  max-width: 576px;
  width: 48%;
  min-width: 360px;
  font-size: clamp(16px, 2vw, 24px);
  padding: 1.25rem 0;
  margin: 0;
}
.page.page-scanner section .btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.page.page-scanner section .section-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  flex-direction: column;
}
.page.page-scanner section .section-content h1 {
  color: #fff;
  font-size: clamp(64px, 15vw, 172px);
  line-height: 1;
  margin: 0 1rem;
}
.page.page-scanner section .section-content p {
  color: #fff;
  font-size: clamp(20px, 2vw, 32px);
  max-width: 600px;
  margin: 0 1rem 2rem;
}
.page.page-scanner section .section-cta {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-direction: column;
}
@media (max-width: 767px) {
  .page.page-scanner section .section-cta {
    height: 260px;
  }
}
.page.page-scanner section .section-cta p {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: bold;
  margin: 0 0 1.5rem;
  color: #fff;
}
.page.page-scanner section .section-cta a {
  color: #fff;
  font-size: clamp(16px, 2vw, 20px);
  text-decoration: underline;
}
.page.page-scanner section .section-cta a:hover {
  text-decoration: none;
}
.page.page-scanner section .section-cta a#btnTest {
  color: #000;
}
.page.page-scanner section #reader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100dvw;
  height: 100dvh;
}
.page.page-scanner section #reader video {
  width: 100dvw !important;
  height: 100dvh !important;
  object-fit: cover;
}
.page.page-scanner section #reader canvas {
  width: 100dvw !important;
  height: 100dvh !important;
  object-fit: cover;
}
.page.page-scanner section.form {
  background: #5A23B9;
  text-align: center;
}
.page.page-scanner section.form .section-content h1 {
  font-size: clamp(40px, 15vw, 80px);
}
.page.page-scanner section.form .section-content p {
  font-size: clamp(16px, 4vw, 24px);
  font-weight: 300;
}
@media (max-width: 767px) {
  .page.page-scanner section.form .section-content p {
    width: 90%;
    margin-bottom: 0;
  }
}
.page.page-scanner section.form .section-content .form-name {
  background: #3D1881;
  padding: 1rem 8.75rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 2rem;
  min-width: 280px;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .page.page-scanner section.form .section-content .form-name {
    padding: 1.25rem 2.25rem;
  }
}
.page.page-scanner section.form .section-content .form-name p {
  font-size: clamp(20px, 4.5vw, 32px);
  color: #fff;
  font-weight: 500;
  max-width: none;
  width: 100%;
  margin: 0;
}
.page.page-scanner section.form .section-content .form-question {
  position: relative;
  margin-top: 4rem;
  display: none;
  flex-direction: column;
  align-items: center;
}
.page.page-scanner section.form .section-content .form-question.--active {
  display: flex;
}
.page.page-scanner section.form .section-content .form-question p {
  font-size: clamp(20px, 4.5vw, 32px);
  color: #fff;
  font-weight: 500;
  max-width: none;
  margin-bottom: 4rem;
}
.page.page-scanner section.form .section-content .form-question .btn {
  margin-bottom: 1rem;
}
.page.page-scanner section.form .section-content .form-score {
  position: relative;
  margin-top: 2rem;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 12rem;
}
.page.page-scanner section.form .section-content .form-score .single {
  width: 113px;
  position: relative;
  text-align: center;
}
@media (max-width: 767px) {
  .page.page-scanner section.form .section-content .form-score .single {
    width: 100px;
  }
}
.page.page-scanner section.form .section-content .form-score .single input {
  border: none;
  width: 100%;
  height: 94px;
  text-align: center;
  border-radius: 12px;
  font-size: 40px;
  font-weight: 500;
  color: #000;
  margin-bottom: 6px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  border: 2px solid #fff;
}
@media (max-width: 767px) {
  .page.page-scanner section.form .section-content .form-score .single input {
    height: 72px;
    border-radius: 8px;
  }
}
.page.page-scanner section.form .section-content .form-score .single input:focus, .page.page-scanner section.form .section-content .form-score .single input:active, .page.page-scanner section.form .section-content .form-score .single input:focus-visible {
  border: 2px solid #7B30FF;
  box-shadow: 0px 0px 8px 2px rgba(255, 255, 255, 0.6), inset 0px 2px 4px rgba(0, 0, 0, 0.15);
  outline: none;
}
.page.page-scanner section.form .section-content .form-score .single label {
  font-weight: 300;
  color: #fff;
  font-size: clamp(14px, 3.5vw, 20px);
}
.page.page-scanner section.form .--form-scoreboard-only {
  display: none;
}
.page.page-scanner section.form .--form-scoreboard-only.--active {
  display: flex;
}
.page.page-scanner.--capture header {
  background: rgba(0, 0, 0, 0.5);
}
.page.page-scanner.--capture section .section-cta {
  background: rgba(0, 0, 0, 0.5);
}

#debug {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  padding: 0.5rem;
  z-index: 999999;
  display: none;
}
#debug.--active {
  display: block;
}
#debug p {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  color: #fff;
}

.modal {
  display: none;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.modal.--active {
  display: flex;
}
.modal .modal-content {
  display: none;
  width: 80vw;
  background: #fff;
  border-radius: 1rem;
  padding: 10vw;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  text-align: center;
}
@media (max-width: 767px) {
  .modal .modal-content {
    width: 90vw;
    padding: 5vw;
  }
}
.modal .modal-content h1 {
  font-size: clamp(24px, 5vw, 40px);
}
.modal .modal-content p {
  font-size: clamp(24px, 4.5vw, 32px);
  font-weight: 500;
  margin-top: 1rem;
}
.modal .modal-content p.desc {
  font-size: clamp(18px, 4vw, 24px);
  margin-top: 2rem;
}
.modal .modal-content .btn {
  margin-bottom: 1rem;
}
.modal .modal-content a {
  color: #000;
  font-weight: 500;
}
.modal .modal-content a.btn {
  color: #fff;
}
.modal .modal-content.--active {
  display: flex;
}

html {
  background: url("../../images/scoreAdded-landscape-bg.png") no-repeat center top;
  background-size: cover;
}
@media screen and (orientation: portrait) {
  html {
    background: url("../../images/scoreAdded-portrait-bg.png") no-repeat center top;
    background-size: cover;
  }
}
@media screen and (orientation: landscape) {
  html {
    background: url("../../images/scoreAdded-landscape-bg.png") no-repeat center top;
    background-size: cover;
  }
}

body {
  position: relative;
  width: 100%;
  height: 100%;
}
body.default .leaderboard__title {
  animation-delay: 1s;
  animation-play-state: running;
}
body.default .leaderboard__podium .podium__item:nth-child(1) {
  animation-delay: 0.85s;
  animation-play-state: running;
}
body.default .leaderboard__podium .podium__item:nth-child(1) .player-card-rank {
  animation-delay: 0.9s;
  animation-play-state: running;
}
body.default .leaderboard__podium .podium__item:nth-child(1) .player-card .player-card-details-name {
  animation-delay: 0.95s;
  animation-play-state: running;
}
body.default .leaderboard__podium .podium__item:nth-child(1) .player-card .player-card-details-time {
  animation-delay: 1s;
  animation-play-state: running;
}
body.default .leaderboard__podium .podium__item:nth-child(2) {
  animation-delay: 0.8s;
  animation-play-state: running;
}
body.default .leaderboard__podium .podium__item:nth-child(2) .player-card-rank {
  animation-delay: 0.85s;
  animation-play-state: running;
}
body.default .leaderboard__podium .podium__item:nth-child(2) .player-card .player-card-details-name {
  animation-delay: 0.9s;
  animation-play-state: running;
}
body.default .leaderboard__podium .podium__item:nth-child(2) .player-card .player-card-details-time {
  animation-delay: 0.95s;
  animation-play-state: running;
}
body.default .leaderboard__podium .podium__item:nth-child(3) {
  animation-delay: 0.9s;
  animation-play-state: running;
}
body.default .leaderboard__podium .podium__item:nth-child(3) .player-card-rank {
  animation-delay: 0.95s;
  animation-play-state: running;
}
body.default .leaderboard__podium .podium__item:nth-child(3) .player-card .player-card-details-name {
  animation-delay: 1s;
  animation-play-state: running;
}
body.default .leaderboard__podium .podium__item:nth-child(3) .player-card .player-card-details-time {
  animation-delay: 1.05s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(1), body.default .leaderboard__list .tile-list .tile:nth-child(2), body.default .leaderboard__list .tile-list .tile:nth-child(3), body.default .leaderboard__list .tile-list .tile:nth-child(4) {
  animation-delay: 0.8s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(1) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(2) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(3) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(4) .tile-time {
  animation-delay: 1.1s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(1) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(2) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(3) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(4) .tile-pos {
  animation-delay: 0.75s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(1) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(2) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(3) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(4) .tile-name {
  animation-delay: 0.95s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(5), body.default .leaderboard__list .tile-list .tile:nth-child(6), body.default .leaderboard__list .tile-list .tile:nth-child(7), body.default .leaderboard__list .tile-list .tile:nth-child(8) {
  animation-delay: 0.9s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(5) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(6) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(7) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(8) .tile-time {
  animation-delay: 1.3s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(5) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(6) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(7) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(8) .tile-pos {
  animation-delay: 0.95s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(5) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(6) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(7) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(8) .tile-name {
  animation-delay: 1.15s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(9), body.default .leaderboard__list .tile-list .tile:nth-child(10), body.default .leaderboard__list .tile-list .tile:nth-child(11), body.default .leaderboard__list .tile-list .tile:nth-child(12) {
  animation-delay: 1.1s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(9) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(10) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(11) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(12) .tile-time {
  animation-delay: 1.5s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(9) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(10) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(11) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(12) .tile-pos {
  animation-delay: 1.15s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(9) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(10) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(11) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(12) .tile-name {
  animation-delay: 1.35s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(13), body.default .leaderboard__list .tile-list .tile:nth-child(14), body.default .leaderboard__list .tile-list .tile:nth-child(15), body.default .leaderboard__list .tile-list .tile:nth-child(16) {
  animation-delay: 1.3s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(13) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(14) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(15) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(16) .tile-time {
  animation-delay: 1.7s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(13) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(14) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(15) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(16) .tile-pos {
  animation-delay: 1.35s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(13) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(14) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(15) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(16) .tile-name {
  animation-delay: 1.55s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(17), body.default .leaderboard__list .tile-list .tile:nth-child(18), body.default .leaderboard__list .tile-list .tile:nth-child(19), body.default .leaderboard__list .tile-list .tile:nth-child(20) {
  animation-delay: 1.5s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(17) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(18) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(19) .tile-time, body.default .leaderboard__list .tile-list .tile:nth-child(20) .tile-time {
  animation-delay: 1.9s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(17) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(18) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(19) .tile-pos, body.default .leaderboard__list .tile-list .tile:nth-child(20) .tile-pos {
  animation-delay: 1.55s;
  animation-play-state: running;
}
body.default .leaderboard__list .tile-list .tile:nth-child(17) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(18) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(19) .tile-name, body.default .leaderboard__list .tile-list .tile:nth-child(20) .tile-name {
  animation-delay: 1.75s;
  animation-play-state: running;
}
body.scoreAdded .leaderboard {
  opacity: 0;
  pointer-events: none;
}
@media screen and (orientation: portrait) {
  body.scoreAdded .leaderboard {
    transform: translateX(100%);
  }
}
@media screen and (orientation: landscape) {
  body.scoreAdded .leaderboard {
    transform: translateY(100%);
  }
}
body.scoreAdded .scoreAdded-screen {
  opacity: 1;
  z-index: 2;
  pointer-events: none;
}
@media screen and (orientation: portrait) {
  body.scoreAdded .scoreAdded-screen {
    transform: translateX(0);
  }
}
@media screen and (orientation: landscape) {
  body.scoreAdded .scoreAdded-screen {
    transform: translateY(0);
  }
}
body.scoreAdded .scoreAdded-screen .message {
  animation-delay: 0.3s;
  animation-play-state: running;
}
body.scoreAdded .scoreAdded-screen .player-name {
  animation-delay: 0.6s;
  animation-play-state: running;
}
body.scoreAdded .scoreAdded-screen .score-meta {
  animation-delay: 0.9s;
  animation-play-state: running;
}
body.scoreAdded .scoreAdded-screen .score-meta .divider {
  animation-delay: 0.91s;
  animation-play-state: running;
}
body.scoreAdded .scoreAdded-screen .score-meta .time,
body.scoreAdded .scoreAdded-screen .score-meta .rank {
  animation-delay: 1.2s;
  animation-play-state: running;
}
body.fadingOut .leaderboard__title {
  opacity: 1;
  transform: translateY(0);
  animation: fadeOutUp 0.8s ease forwards;
}
body.fadingOut .leaderboard__podium .podium__item {
  opacity: 1;
  transform: translateY(0);
  animation: fadeOutUp 0.8s ease 0.1s forwards;
}
body.fadingOut .leaderboard__podium .podium__item .player-card-rank {
  opacity: 1;
  transform: translateX(0);
  animation: fadeOutLeft 0.6 ease 0.2s forwards;
}
body.fadingOut .leaderboard__podium .podium__item .player-card .player-card-details-name {
  opacity: 1;
  transform: translateX(0);
  animation: fadeOutLeft 0.6 ease 0.2s forwards;
}
body.fadingOut .leaderboard__podium .podium__item .player-card .player-card-details-time {
  opacity: 1;
  transform: translateX(0);
  animation: fadeOutLeft 0.6 ease 0.2s forwards;
}
body.fadingOut .leaderboard__list .tile-list .tile-time {
  opacity: 1;
  transform: translateX(0);
}
body.fadingOut .leaderboard__list .tile-list .tile-pos {
  opacity: 1;
  transform: translateX(0);
}
body.fadingOut .leaderboard__list .tile-list .tile-name {
  opacity: 1;
  transform: translateX(0);
}
body.fadingOut .leaderboard__list .tile-list .tile:nth-child(1), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(2), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(3), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(4) {
  opacity: 1;
  animation: hideDown 0.8s ease forwards;
}
body.fadingOut .leaderboard__list .tile-list .tile:nth-child(5), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(6), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(7), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(8) {
  opacity: 1;
  animation: hideDown 0.8s ease 0.1s forwards;
}
body.fadingOut .leaderboard__list .tile-list .tile:nth-child(9), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(10), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(11), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(12) {
  opacity: 1;
  animation: hideDown 0.8s ease 0.2s forwards;
}
body.fadingOut .leaderboard__list .tile-list .tile:nth-child(13), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(14), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(15), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(16) {
  opacity: 1;
  animation: hideDown 0.8s ease 0.3s forwards;
}
body.fadingOut .leaderboard__list .tile-list .tile:nth-child(17), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(18), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(19), body.fadingOut .leaderboard__list .tile-list .tile:nth-child(20) {
  opacity: 1;
  animation: hideDown 0.8s ease 0.4s forwards;
}
body.fadingOutScoreAdded .scoreAdded-screen .message {
  opacity: 1;
  transform: translateY(0);
  animation: fadeOutUp 0.8s ease forwards;
}
body.fadingOutScoreAdded .scoreAdded-screen .player-name {
  opacity: 1;
  transform: translateY(0);
  animation: fadeOutUp 0.8s ease 0.1s forwards;
}
body.fadingOutScoreAdded .scoreAdded-screen .score-meta {
  opacity: 1;
  transform: translateX(0);
  animation: fadeOutUp 0.8 ease 0.12s forwards;
}
body.fadingOutScoreAdded .scoreAdded-screen .score-meta .divider {
  opacity: 1;
  transform: translateX(0);
  animation: fadeOutUp 0.8 ease 0.12s forwards;
}
body.fadingOutScoreAdded .scoreAdded-screen .score-meta .time,
body.fadingOutScoreAdded .scoreAdded-screen .score-meta .rank {
  opacity: 1;
  transform: translateX(0);
  animation: fadeOutUp 0.8 ease 0.25s forwards;
}

.leaderboard__list {
  display: flex;
  justify-content: center;
}
.leaderboard__list .tile-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
  list-style: none;
  max-width: 1340px;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}
.leaderboard__list .tile-list .tile {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 0 1 calc((100% - 48px) / 4);
  border-radius: 8px;
  border: 1px solid #7B30FF;
  background: #3D1881;
  color: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.51);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease, border-radius 0.3s ease, background 0.3s ease;
  opacity: 0;
  animation: showUp 1.6s ease forwards;
  animation-play-state: paused;
}
@media (max-width: 1280px) {
  .leaderboard__list .tile-list .tile {
    flex: 0 1 calc((100% - 32px) / 3);
  }
}
@media (max-width: 1023px) {
  .leaderboard__list .tile-list .tile {
    flex: 0 1 calc((100% - 16px) / 2);
  }
}
.leaderboard__list .tile-list .tile-pos, .leaderboard__list .tile-list .tile-name {
  text-align: left;
}
.leaderboard__list .tile-list .tile-time {
  text-align: right;
  margin-left: auto;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transform: translateX(-20px);
  opacity: 0;
  animation: fadeInLeft 0.6s ease forwards;
  animation-play-state: paused;
}
.leaderboard__list .tile-list .tile-pos {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(-20px);
  opacity: 0;
  animation: fadeInLeft 0.6s ease forwards;
  animation-play-state: paused;
}
.leaderboard__list .tile-list .tile-name {
  margin-left: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 52%;
  transform: translateX(-20px);
  opacity: 0;
  animation: fadeInLeft 0.6s ease forwards;
  animation-play-state: paused;
}
.leaderboard__list .tile-list .tile.glow {
  border-radius: 9px;
  border: 2px solid #fff;
  box-shadow: 0 0 16px 4px #fff;
  background: #5A23B9;
}

body header .logo {
  position: absolute;
  top: 64px;
  left: 64px;
  width: 30dvw;
  max-width: 436px;
  display: none;
  z-index: 10;
  display: block;
}
body.default header .logo.primary {
  display: block;
}
body.default header .logo.secondary {
  display: none;
}
body.scoreAdded header .logo.primary {
  display: none;
}
body.scoreAdded header .logo.secondary {
  display: block;
}

.leaderboard__podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  column-gap: 16px;
  margin: 20px auto 16px;
  padding-top: 30px;
}
@media screen and (orientation: portrait) {
  .leaderboard__podium {
    padding-top: 15%;
  }
}
.leaderboard__podium .podium__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeDown 0.8s ease forwards;
  animation-play-state: paused;
}
.leaderboard__podium .podium__item .crown-wrapper {
  position: absolute;
  top: -40px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  opacity: 1;
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.leaderboard__podium .podium__item .crown-wrapper.active {
  opacity: 1;
}
.leaderboard__podium .podium__item .crown-wrapper.inactive {
  opacity: 0.3;
}
.leaderboard__podium .podium__item .crown-wrapper.hidden {
  opacity: 0;
  pointer-events: none;
}
.leaderboard__podium .podium__item .player-card {
  width: 210px;
  border-radius: 9px;
  padding: 24px 17px;
  box-sizing: border-box;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.51);
  z-index: 1;
  transition: box-shadow 0.3s ease;
}
.leaderboard__podium .podium__item .player-card-rank {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: #fff;
  margin: 0 auto 8px;
  opacity: 0;
  transform: translateX(20px);
  animation: fadeInLeft 0.6s ease forwards;
  animation-play-state: paused;
}
.leaderboard__podium .podium__item .player-card .player-card-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.leaderboard__podium .podium__item .player-card .player-card-details-name {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  opacity: 0;
  transform: translateX(20px);
  animation: fadeInLeft 0.6s ease forwards;
  animation-play-state: paused;
}
.leaderboard__podium .podium__item .player-card .player-card-details-time {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateX(20px);
  animation: fadeInLeft 0.6s ease forwards;
  animation-play-state: paused;
}
.leaderboard__podium .podium__item.--first {
  position: relative;
  z-index: 5;
}
.leaderboard__podium .podium__item.--first .crown-wrapper.glow {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 16px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 32px rgba(255, 255, 255, 0.2));
  mix-blend-mode: plus-lighter;
}
.leaderboard__podium .podium__item.--first .player-card {
  height: 307px;
  background-color: #fff;
}
.leaderboard__podium .podium__item.--first .player-card-rank {
  color: #000;
}
.leaderboard__podium .podium__item.--first .player-card .player-card-details {
  color: #fff;
}
.leaderboard__podium .podium__item.--first .player-card .player-card-details-name, .leaderboard__podium .podium__item.--first .player-card .player-card-details-time {
  color: #000;
}
.leaderboard__podium .podium__item.--first .player-card.glow {
  box-shadow: 0 0 16px 4px #fff;
}
.leaderboard__podium .podium__item.--second {
  position: relative;
  z-index: 10;
}
.leaderboard__podium .podium__item.--second .crown-wrapper.glow {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.3));
  mix-blend-mode: plus-lighter;
}
.leaderboard__podium .podium__item.--second .player-card {
  height: 200px;
  background-color: #7B30FF;
}
.leaderboard__podium .podium__item.--second .player-card.glow {
  border-radius: 9px;
  border: 4px solid #fff;
  box-shadow: 0 0 16px 4px #fff;
}
.leaderboard__podium .podium__item.--third {
  position: relative;
  z-index: 10;
}
.leaderboard__podium .podium__item.--third .crown-wrapper.glow {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.3));
  mix-blend-mode: plus-lighter;
}
.leaderboard__podium .podium__item.--third .player-card {
  height: 151px;
  background-color: #5A23B9;
}
.leaderboard__podium .podium__item.--third .player-card.glow {
  border-radius: 9px;
  border: 4px solid #fff;
  box-shadow: 0 0 16px 4px #fff;
}
.leaderboard__podium .podium__item__rank {
  position: absolute;
  top: -24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.leaderboard__podium .podium__item__name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  text-align: center;
  word-break: break-word;
}
.leaderboard__podium .podium__item__time {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-align: center;
}

.btn {
  position: relative;
  width: 100%;
  max-width: 576px;
  border-radius: 8px;
  padding: 1.25rem 0;
  font-weight: 500;
  text-align: center;
  margin: 32px auto 0;
  display: block;
  cursor: pointer;
  transition: opacity 0.4s ease;
  text-decoration: none;
}
@media (max-width: 767px) {
  .btn {
    margin-top: 1.5rem;
  }
}
.btn:hover {
  opacity: 0.8;
}
.btn span {
  pointer-events: none;
}
.btn.--btn-white {
  background-color: #fff;
  color: #000;
}
.btn.--btn-white:disabled {
  opacity: 0.75;
}
.btn.--btn-white .btn-text {
  display: block;
}
.btn.--btn-white .btn-text__error {
  display: none;
  color: #ee0000;
}
.btn.--btn-white.error {
  box-shadow: inset 0 0 0 2px #ee0000;
}
.btn.--btn-white.error .btn-text {
  display: none;
}
.btn.--btn-white.error .btn-text__error {
  display: block;
}
.btn.--btn-black {
  background-color: #000;
  color: #fff;
}
.btn.--btn-black:disabled {
  opacity: 0.75;
}
.btn.--btn-black .btn-text {
  display: block;
}
.btn.--btn-black .btn-text__error {
  display: none;
  color: #ee0000;
}
.btn.--btn-black.error {
  box-shadow: inset 0 0 0 2px #ee0000;
}
.btn.--btn-black.error .btn-text {
  display: none;
}
.btn.--btn-black.error .btn-text__error {
  display: block;
}
.btn.--btn-purple {
  background-color: #5A23B9;
  color: #fff;
}
.btn.--btn-purple:disabled {
  opacity: 0.75;
}
html.bts-bg .btn.--btn-purple {
  background-color: #fff;
  color: #000;
}
.btn.--border-purple {
  border: 3px solid #F4F2F9;
}
.btn:disabled span {
  opacity: 0.3;
}
