.game--arena-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.game--arena {
  width: 1400px;
  height: 700px;
  flex-shrink: 0;
  transform-origin: center;
}

.game--target-marks {
  position: absolute;
  left: calc(50% - 100px);
  top: calc(50% - 100px);
  width: 200px;
  height: 200px;
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.game--rope-and-players {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.game--rope-class {
  background-position: 0px -500px;
  top: 22px;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

.game--character {
  width: 250px;
  height: 250px;
  background-size: 1000px 750px;
  background-repeat: no-repeat;
}

.game--derek-class {
  background-image: url("/assets/derek_bramble_3c74bccf1a3cd295bc5bd90bec39a661.webp");
  position: relative;
}

.game--marta-class {
  background-image: url("/assets/marta_muddleton_4a8a88012011eeb600a0b2e10df0c5ff.webp");
  position: relative;
}

.game--marta-class.game--character-pose-pulling {
  top: 3px;
}

.game--marta-class.game--character-pose-surprised {
  top: 3px;
}

.game--marta-class.game--character-pose-cheering {
  top: -2px;
}

.game--marta-class.game--character-pose-exhausted {
  top: -3px;
}

.game--marta-class.game--character-pose-idle {
  top: -2px;
}

.game--derek-class.game--character-pose-pulling {
  top: 15px;
}

.game--derek-class.game--character-pose-surprised {
  top: 14px;
}

.game--derek-class.game--character-pose-cheering {
  top: 12px;
}

.game--derek-class.game--character-pose-exhausted {
  top: 11px;
}

.game--derek-class.game--character-pose-idle {
  top: 10px;
}

.game--character-pose-pulling {
  background-position: 0px 0px;
}

.game--character-pose-surprised {
  background-position: -750px 0px;
}

.game--character-pose-idle {
  background-position: -500px -250px;
}

.game--character-pose-cheering {
  background-position: 0px -250px;
}

.game--character-pose-exhausted {
  background-position: -250px -250px;
}

.game--result-label {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  padding: 0.22em 0.7em;
  border-radius: 999px;
  color: #1f2933;
  background-color: rgb(255, 255, 255, 85%);
  box-shadow: 0px 8px 18px rgb(31, 41, 51, 22%);
  font-family: "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.game--player-name-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  margin: 0;
  padding: 0.25em 0.6em;
  border: 0;
  border-radius: 999px;
  color: #1f2933;
  background-color: rgb(255, 255, 255, 85%);
  box-shadow: 0px 8px 18px rgb(31, 41, 51, 22%);
  font-family: "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  width: clamp(5.5rem, 28vw, 12rem);
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
}

@font-face {
  font-family: "Material Symbols Outlined";
  src: url("/assets/MaterialSymbolsOutlined_e177d49310da41b01a2c1b7df170a00f.ttf");
}

.game--qr-code-area {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 4;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.45rem;
  border-radius: 8px;
  background-color: rgb(255, 255, 255, 36%);
  box-shadow: 0px 8px 18px rgb(31, 41, 51, 12%);
  backdrop-filter: blur(1px);
}

.game--qr-code-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.game--qr-code {
  width: 100px;
  height: 100px;
  object-fit: contain;
  pointer-events: none;
}

.game--legal-link {
  display: inline-block;
  padding-top: 0.1rem;
  color: #000000;
  font-family: "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: "3px";
  white-space: nowrap;
}

@media (max-width: 680px) {
  .game--qr-code {
    width: 80px;
    height: 80px;
  }

  .game--legal-link {
    font-size: 11px;
  }
}

@media (max-height: 430px) {
  .game--qr-code {
    width: 80px;
    height: 80px;
  }

  .game--legal-link {
    font-size: 11px;
  }
}

@media (max-width: 1050px) and (max-height: 500px) {
  .game--qr-code-area {
    gap: 0.35rem;
    padding: 0.3rem;
  }

  .game--qr-code {
    width: 52px;
    height: 52px;
  }

  .game--qr-code-links {
    gap: 0.25rem;
  }

  .game--legal-link {
    font-size: 9px;
    text-decoration-thickness: 1px;
    text-underline-offset: "2px";
  }
}

.game--share-trigger {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #1f2933;
  background-color: rgb(255, 255, 255, 85%);
  box-shadow: 0px 8px 18px rgb(31, 41, 51, 22%);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.game--notification-trigger {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #1f2933;
  background-color: rgb(255, 255, 255, 85%);
  box-shadow: 0px 8px 18px rgb(31, 41, 51, 22%);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.game--notification-trigger-hidden {
  display: none;
}

.game--utility-controls {
  position: absolute;
  top: 1rem;
  right: calc((1rem + clamp(5.5rem, 28vw, 12rem)) + 0.5rem);
  z-index: 4;
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.35rem;
}

.game--share-trigger-hidden {
  display: none;
}

.game--share-icon {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 19px;
  display: inline-block;
  line-height: 1.5rem;
  text-decoration: none;
}

.game--notification-icon {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 19px;
  display: inline-block;
  line-height: 1.5rem;
  text-decoration: none;
}

.game--notification-popup {
  position: absolute;
  top: 3rem;
  right: calc((1rem + clamp(5.5rem, 28vw, 12rem)) + 0.5rem);
  z-index: 5;
  display: none;
  width: 14rem;
  box-sizing: border-box;
  padding: 0.75rem;
  border: 0;
  border-radius: 8px;
  color: #1f2933;
  background-color: rgb(255, 255, 255, 94%);
  box-shadow: 0px 10px 24px rgb(31, 41, 51, 24%);
  font-family: "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.game--notification-popup-open {
  display: block;
}

.game--notification-popup-text {
  margin: 0 0 0.65rem 0;
  font-weight: 700;
}

.game--notification-subscribe-button {
  width: 100%;
  min-height: 2rem;
  padding: 0.35rem 0.55rem;
  border: 0;
  border-radius: 6px;
  color: white;
  background-color: #1f2933;
  font-family: "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.game--pull-trigger {
  height: 250px;
  width: 250px;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.game--next-game-countdown {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-350px - 1.25rem));
  z-index: 3;
  margin: 0;
  padding: 0.25em 0.75em;
  border-radius: 999px;
  color: #1f2933;
  background-color: rgb(255, 255, 255, 85%);
  box-shadow: 0px 8px 18px rgb(31, 41, 51, 22%);
  font-family: "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.game--leaderboards {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.game--leaderboard {
  position: absolute;
  top: 50%;
  margin: 0;
  padding: 0;
  color: #1f2933;
  font-family: "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
  transform: translateY(-50%);
}

.game--leaderboard-left {
  right: calc(50% + 385px);
}

.game--leaderboard-right {
  left: calc(50% + 385px);
}

.game--leaderboard-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game--leaderboard-list-left {
  align-items: flex-end;
}

.game--leaderboard-list-right {
  align-items: flex-start;
}

.game--leaderboard-entry {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 1.4em;
  margin-bottom: 0.25rem;
  padding: 0.14em 0.45em;
  border-radius: 999px;
  background-color: rgb(255, 255, 255, 58%);
  box-shadow: 0px 4px 10px rgb(31, 41, 51, 10%);
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 700;
  line-height: 1.25;
}

.game--leaderboard-name {
  max-width: 16rem;
  white-space: nowrap;
}

.game--leaderboard-count {
  flex-shrink: 0;
  font-variant-numeric: "tabular-nums";
}

@media (max-height: 875px) {
  .game--arena {
    transform: scale(0.82);
  }

  .game--next-game-countdown {
    transform: translate(-50%, calc((0px - 40dvh) - 1.25rem));
  }
}

@media (max-width: 1050px) {
  .game--arena {
    transform: scale(0.72);
  }
}

@media (max-width: 820px) {
  .game--arena {
    transform: scale(0.58);
  }
}

@media (max-width: 680px) {
  .game--arena {
    transform: scale(0.53);
  }
}

@media (max-height: 430px) {
  .game--arena {
    transform: scale(0.69);
  }
}

@media (max-height: 360px) {
  .game--arena {
    transform: scale(0.62);
  }
}

@media (max-height: 500px) {
  .game--result-label {
    top: 8px;
  }

  .game--next-game-countdown {
    transform: translate(-50%, calc((0px - 25dvh) - 0.5rem));
  }

  .game--leaderboard {
    top: 54%;
  }
}