:root {
  --app-width: 100vw;
  --app-height: 100vh;
  --hud-button-opacity: 1;
  --hud-button-monochrome: 0;
  --hud-button-press: 1;
}

@supports (height: 100dvh) {
  :root {
    --app-width: 100dvw;
    --app-height: 100dvh;
  }
}

@supports (-webkit-touch-callout: none) and (not (height: 100dvh)) {
  :root {
    --app-height: -webkit-fill-available;
  }
}

html,
body {
  padding: 0;
  margin: 0;
  overflow: hidden;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  width: var(--app-width, 100vw);
  min-width: var(--app-width, 100vw);
  height: var(--app-height, 100vh);
  min-height: var(--app-height, 100vh);
  position: fixed;
  bottom: 0;
  touch-action: manipulation;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--app-height, 100vh);
  background-color: #050814;
}

*:focus {
  box-shadow: none !important;
  outline: 0 !important;
}

ul {
  list-style-type: none;
}

.window-body .color-label {
  display: inline-block;
  width: 60%;
}

.window-body input[type=checkbox] {
  cursor: pointer;
}


.window-body input[type=checkbox] {
  width: 3em;
  height: 1.6em;
  visibility: hidden;
}

.window-body input[type=checkbox] + label {
  cursor: pointer;
  text-indent: -15em;
  width: 3em;
  height: 1.6em;
  background: grey;
  display: block;
  border-radius: 10em;
  position: relative;


}

.window-body input[type=checkbox] + label:after {
  content: '';
  position: absolute;
  top: 0.05em;
  left: 0.05em;
  height: 1.5em;
  width: 1.5em;
  background: #fff;
  border-radius: 10em;
  transition: 0.3s;
}

.window-body input[type=checkbox] + label {
  height: 1.6em;
  width: 3em;
}

.window-body input[type=checkbox]:checked + label {
  background: rgb(50, 199, 89);
}

.window-body input[type=checkbox]:checked + label:after {
  left: calc(97.5%);
  transform: translateX(-100%);
}

.window-body input[type=checkbox] + label:active:after {
  width: 2em;
}

.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                supported by Chrome and Opera */
}

/*--------------No select------------------*/


body {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -o-user-select: none;
}

/*--------------No select - End ------------------*/

/*--------------Slider------------------*/

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  border-radius: 5px;
  background: white;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 3vmin;
  height: 3vmin;
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 3vmin;
  height: 3vmin;
  border-radius: 50%;
  background: #04AA6D;
  cursor: pointer;
}

/*-------------Slider End---------------------*/

#ReplaySaveBtn {
  z-index: 19;
  top: 10vw;
  width: 5vw;
  height: 5vw;
  border-style: none;

  background: url(./assets/img/Ingame_clipBtn.png);
  background-size: 5vw 5vw;
  background-repeat: no-repeat;
  position: fixed;
  right: 6vw;
  opacity: 1;
}

body.mode-replay #ReplaySaveBtn {
  display: none !important;
}

body.mode-replay #spectatemenu,
body.mode-replay #ShowSpectPlayersBtn {
  display: none !important;
}

/*------------Mod Menu--------------*/

#modmenubtn {
  z-index: 19;
  width: 5vw;
  height: 5vw;
  border-style: none;

  background: url(./assets/img/modmenu.png);
  background-size: 5vw 5vw;
  background-repeat: no-repeat;
  position: fixed;
  top: 10vw;
  right: 0.5vw;
  opacity: 1;
}

body.mode-replay #modmenubtn {
  background-image: url(./assets/img/modmenu-replay.png);
}

body.mode-replay #minimap {
  display: none !important;
}

/*------------VIP Menu--------------*/

#vipmenubtn {
  z-index: 19;
  width: 5vw;
  height: 5vw;
  border-style: none;

  background: url(./assets/badges/badge4.png);
  background-size: 5vw 5vw;
  background-repeat: no-repeat;
  position: fixed;
  top: 16vw;
  right: 0.5vw;
  opacity: 1;
}

/*-----------End Mod Menu----------------*/

/*------------Decos--------------*/

#deco1 {
  transform: rotate(90deg);
  position: absolute;
  width: 10vw;
  height: 10vw;
  top: 1vw;
  left: 1vw;
  z-index: -1;
  visibility: hidden;
}

#deco2 {
  position: absolute;
  width: 10vw;
  height: 10vw;
  bottom: 01vw;
  left: 1vw;
  z-index: -1;
  visibility: hidden;
}

#deco3 {
  transform: rotate(180deg);
  position: absolute;
  width: 10vw;
  height: 10vw;
  top: 01vw;
  right: 1vw;
  z-index: -1;
  visibility: hidden;
}

#deco4 {
  transform: rotate(270deg);
  position: absolute;
  width: 10vw;
  height: 10vw;
  bottom: 01vw;
  right: 1vw;
  z-index: -1;
  visibility: hidden;
}

/*------------End Decos--------------*/

@keyframes pulseAnimation {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}


#overlays,
#connecting {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  min-width: var(--app-width, 100vw);
  min-height: var(--app-height, 100vh);
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  background-image: url("./assets/img/background-eyes-hand-fixed.png");
  /*-webkit-box-shadow: inset 0px 0px 1vw 1vw rgba(0,0,0,1);*/
  box-shadow: inset 0px 0px 5vw rgba(0, 0, 0, 1);
  background-size: cover;
  background-position: center;
  z-index: 200;
}

#overlays {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


#title {
  position: absolute;
  width: 90vmin;
  height: 35vmin;
  left: 50vw;
  top: -1vw;
  transform: translateX(-50%);
}

#connecting-content {
  width: 350px;
  background-color: #fff;
  margin: 100px auto;
  border-radius: 15px;
  padding: 5px 15px;
}

#connecting {
  z-index: 2;
}

/*main menu elements*/
#main-menu {
  width: 860px;
  height: 400px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: scale(1, 1);
  z-index: 10;
}

#main-form {
  display: flex;
  width: 400px;
  height: 130px;
  margin-top: 20px;
  margin-left: 50px;
  margin-right: 50px;
}

.side-buttons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.side-btn {
  background-color: rgba(0, 0, 0, 0);
  background-size: 105% 105%;
  background-position: 50% 50%;
  border-radius: 5px;
  width: 180px;
  height: 64px;
  overflow: hidden;
  transition: .2s;
}

.side-btn.menu-shine {
  position: relative;
}

.side-btn.menu-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: 120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
  transform: skewX(-20deg);
  opacity: 0;
  animation: menu-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes menu-shine {
  0% {
    transform: translateX(0) skewX(-20deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  20% {
    transform: translateX(-167%) skewX(-20deg);
    opacity: 0;
  }
  100% {
    transform: translateX(-167%) skewX(-20deg);
    opacity: 0;
  }
}

.reflection {
  position: relative;
  overflow: hidden;
}

.reflection::after {
  content: "";
  display: block;
  width: 0.2vw;
  height: 100%;
  position: absolute;
  right: 0;
  background-color: #FFF;
  opacity: 0;
  transform: rotate(0deg);
  animation: reflect 3s ease-in-out infinite;
  -webkit-transform: rotate(0deg);
  -webkit-animation: reflect 3s ease-in-out infinite;
}

.reflectionVIP {
  position: relative;
  overflow: hidden;
}

.reflectionVIP::after {
  content: "";
  display: block;
  width: 1.5vw;
  height: 100%;
  position: absolute;
  right: 0;
  background-color: #FFF;
  opacity: 0;
  transform: rotate(0deg);
  animation: reflect 5s ease-in-out infinite;
  -webkit-transform: rotate(0deg);
  -webkit-animation: reflect 5s ease-in-out infinite;
}

@keyframes reflect {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }

  80% {
    transform: scale(0) rotate(0deg);
    opacity: 0.5;
  }

  81% {
    transform: scale(4) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: scale(50) rotate(0deg);
    opacity: 0;
  }
}

@-webkit-keyframes reflect {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }

  80% {
    transform: scale(0) rotate(0deg);
    opacity: 0.5;
  }

  81% {
    transform: scale(4) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: scale(50) rotate(0deg);
    opacity: 0;
  }
}


.side-btn:hover {
  color: rgba(0, 0, 0, 0.2);
  transform: scale(1.2);
}

#gallery-btn {
  border-radius: 100%;
  width: 130px;
  height: 130px;
  margin: 0;
  border: 3px solid #ffffff;
  box-shadow: 0px 0px 20px rgb(0, 0, 0);
  z-index: 25;
  background-color: rgba(255, 255, 255, 0.6);
  background-image: url("");
}

#gallery-btn.gallery-btn--special {
  position: relative;
  overflow: visible;
  background-image: var(--special-skin-url);
  background-size: 300% 100%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  animation: special-skin-cycle 4s steps(1, end) infinite;
}

#gallery-btn.gallery-btn--special::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-image: var(--special-skin-url);
  background-size: 300% 100%;
  background-position: 100% 50%;
  background-repeat: no-repeat;
  animation: special-skin-spin 6s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes special-skin-spin {
  from {
    transform: rotate(0deg) scale(1.08);
  }
  to {
    transform: rotate(-360deg) scale(1.08);
  }
}

@keyframes special-skin-cycle {
  0%,
  49.999% {
    background-position: 0% 50%;
  }
  50%,
  100% {
    background-position: 50% 50%;
  }
}

#play-btn,
#spectate-btn,
#settings-btn {
  border-style: solid;
  border-width: 2px;
  box-shadow: 0px 0px 20px rgb(0, 0, 0);
  border-radius: 20px;
  width: 110px;
  height: 60px;
  margin: 30px 10px 10px 10px;
  z-index: 25;
}

.boosts {
  position: absolute;
  top: 200px;
  border-radius: 5px;
  width: 50px;
  height: 50px;
  padding: 4px !important;
  border-style: none;
  background-color: #00000000;
  z-index: 99;
}

.bw {
  -webkit-filter: grayscale(100%);
  /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

#xp-btn {
  background-image: url(./assets/img/xp-btn.png);
  left: 220px;
  color: black;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

#treasure-btn {
  position: absolute;
  top: 70px;
  border-radius: 5px;
  width: 50px;
  height: 50px;
  padding: 4px !important;
  border-style: none;
  background-color: #00000000;
  z-index: 99;
  background-image: url(./assets/img/treasure.png);
  left: 220px;
  color: black;
  font-weight: bold;
}

#quests-btn {
  position: absolute;
  top: 140px;
  border-radius: 5px;
  width: 50px;
  height: 50px;
  padding: 4px !important;
  border-style: none;
  background-color: #00000000;
  z-index: 99;
  background-image: url(./assets/img/quests-btn.png);
  left: 190px;
  color: black;
  font-weight: bold;
}


#badges-btn {
  position: absolute;
  top: 140px;
  border-radius: 5px;
  width: 50px;
  height: 50px;
  padding: 4px !important;
  border-style: none;
  background-color: #00000000;
  z-index: 99;
  background-image: url(./assets/img/badges-btn.png);
  left: 190px;
  color: black;
  font-weight: bold;
}

#mass-btn {
  background-image: url(./assets/img/mass-btn.png);
  left: 320px;
  color: black;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

#play-btn {
  background-image: url(./assets/img/Play.png);
  border-color: rgb(103, 19, 19);
}

  #spectate-btn {
  background-image: url(./assets/img/Spectate.png);
  border-color: rgb(255, 132, 0)
}

#settings-btn {
  background-image: url(./assets/img/Settings.png);
    border-color: rgb(89, 89, 89);
}

#news-btn {
  background-image: url(./assets/img/MainButton_News.png);
}

#seasons-btn {
  background-image: url(./assets/img/seasons-btn.png);
}

.seasons-btn-wrapper {
  position: relative;
}

.seasons-quest-indicator {
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 71, 71, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 3;
}

#seasons-btn[data-quest-available]:not([data-quest-available=""]) + .seasons-quest-indicator {
  display: inline-flex;
}

#shop-btn {
  background-image: url(./assets/img/shop-btn.png);
}

#support-btn {
  background-image: url(./assets/img/support-btn.png);
}

#profile-btn {
  background-image: url(./assets/img/Profile.png);
}

#profile-btn.profile-btn--muted {
  position: relative;
}

#profile-btn.profile-btn--muted::after {
  content: "MUTED";
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(239, 71, 111, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

#signout-btn {
  background-image: url(./assets/img/Signout.png);
  background-color: rgba(0, 0, 0, 0);
  background-size: 110% 110%;
  background-position: 50% 50%;
  overflow: hidden;

}

.text-icon {
  width: 1em;
  height: 1em;
}

#signin-btn {
  background-image: url(./assets/img/Signin.png);
}

#discord-btn {
  background-image: url(./assets/img/MainButton_replays.png);
}

#clan-btn {
  background-image: url(./assets/img/MainButton_Clans.png);
}

#darkmarket-btn {
  background-image: url(./assets/img/RookDarkMarket.png);
  background-repeat: no-repeat;
  background-position: center center;
  border-style: none;
  box-shadow: none;
  color: transparent;
}

#darkmarket-btn:hover {
  filter: brightness(1.06);
}

#leaderboards-btn {
  background-image: url(./assets/img/MainButton_TopPlayers.png);
}

#players-btn {
  background-image: url(./assets/img/MainButton_Friends.png);
  position: relative;
}

#players-btn::after {
  content: attr(data-friend-requests);
  position: absolute;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  top: 1px;
  right: 40px;
  min-height: 20px;
  border-radius: 999px;
  background: #ff4747;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

#players-btn[data-friend-requests]:not([data-friend-requests=""])::after {
  display: inline-flex;
}

.main-btn {
  background-size: 105% 105%;
  background-position: 50% 50%;
  transition: .2s;
}

.main-btn:hover {
  transform: scale(1.2);
}

.Server-btn {
  transition: .2s;
  background-color: rgba(0, 0, 0, 0.4);
}

.Server-btn:hover {
  transform: scale(1.1);
  background-color: rgba(0, 0, 0, 0.2);
}

.vertical-text {
  writing-mode: vertical-lr;
  /*  text-orientation: mixed;  */
  text-orientation: upright;
  /* text-orientation: sideways-right; */
  /* text-orientation: sideways; */
  text-align: center;
  font-size: 2em;
  font-family: 'Zilla Slab', serif;
  height: 100%;
  color: black;
  line-height: 7vw;
  font-weight: 800;

}

#seasons-body .season-banner {
  width: 21vmin;
  height: 14vmin;
  background-size: cover;
  background-clip: border-box;
}

.server-selector {
  width: 250px;
  height: 130px;
  display: flex;
  flex-wrap: wrap;
  margin-left: 20px;
}

.main-form-bg {
  font-size: 15px;
  padding: 5px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(12, 26, 60, 0.58), rgba(7, 16, 38, 0.62));
  color: #f4f6fb;
  width: 250px;
  height: 45px;
  margin: 0;
  border: 1px solid rgba(91, 201, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-form-metric--level {
  position: relative;
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.main-form-metric--level img {
  width: 100%;
  height: 100%;
  display: block;
}

.main-form-metric--level span {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  font-size: 14px;
  color: #f4f6fb;
  pointer-events: none;
}

.main-form-bg > span {
  display: inline-block;
  transform: translateY(2px);
}

.nickname-field {
  width: 250px;
  margin-top: 4px;
  padding: 1px;
  border-radius: 10px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.nickname-field:focus-within {
  border-color: rgba(118, 210, 255, 0.75);
}

.nickname-field input {
  height: 35px;
  border-radius: 10px;
}

.nickname-clear {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: rgba(214, 224, 255, 0.7);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
  position: absolute;
  top: 50%;
  right: 1px;
  transform: translateY(-50%);
}


.nickname-clear:hover {
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.nickname-clear:active {
  transform: translateY(-50%) scale(0.95);
}

#nick:focus + .nickname-clear {
  color: rgba(244, 248, 255, 0.9);
}

#nick:placeholder-shown + .nickname-clear {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.85);
}

#nick {
  flex: 1;
  font-size: 15px;
  margin: 0;
  padding: 0 42px 0 10px;
  background: linear-gradient(135deg, rgba(16, 34, 77, 0.85), rgba(12, 24, 58, 0.87));
  color: #f4f6fb;
  border: 1px solid rgba(91, 201, 255, 0.35);
  transition: border-color 0.18s ease, transform 0.18s ease;
  min-width: 0;
  border-radius: 10px;
}

#nick::placeholder {
  color: rgba(214, 224, 255, 0.55);
}

#nick:focus {
  outline: none;
  border-color: rgba(118, 210, 255, 0.75);
}

#nick::selection {
  background: rgba(118, 210, 255, 0.42);
  color: #ffffff;
}

#nick:-webkit-autofill,
#nick:-webkit-autofill:hover,
#nick:-webkit-autofill:focus,
#nick:-webkit-autofill:active {
  -webkit-text-fill-color: #f4f6fb !important;
  caret-color: #f4f6fb;
  border: 1px solid rgba(91, 201, 255, 0.35);
  -webkit-box-shadow: 0 0 0 1000px rgba(14, 29, 69, 0.95) inset !important;
  box-shadow: 0 0 0 1000px rgba(14, 29, 69, 0.95) inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

#nick:-internal-autofill-selected {
  color: #f4f6fb !important;
  -webkit-text-fill-color: #f4f6fb !important;
}

#tag {
  flex: 0 0 70px;
  font-size: 15px;
  padding: 0 0.8vw;
  margin: 0;
  background: linear-gradient(135deg, rgba(16, 34, 77, 0.95), rgba(12, 24, 58, 0.95));
  color: #f4f6fb;
  border: 1px solid rgba(91, 201, 255, 0.35);
  transition: border-color 0.18s ease, transform 0.18s ease;
  border-radius: 10px;
}

#tag::placeholder {
  color: rgba(214, 224, 255, 0.55);
}

#tag:focus {
  outline: none;
  border-color: rgba(118, 210, 255, 0.75);
}

#skin {
  font-size: 15px;
  padding: 0.6vw 1vw;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(16, 34, 77, 0.95), rgba(12, 24, 58, 0.95));
  color: #f4f6fb;
  border: 1px solid rgba(91, 201, 255, 0.35);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

#skin:focus {
  outline: none;
  border-color: rgba(118, 210, 255, 0.75);
}

#customSkin {
  font-size: 15px;
  padding: 5px;
  border-radius: 25px;
  width: 40%;
  height: 100%;
  float: left;
  margin: 0;
  color: #000;
}

#gamemode {
  font-size: 15px;
  padding: 5px;
  border-radius: 25px;
  width: 150px;
  height: 35px;
  margin: 0;
}

/****************************/
#chat_input_container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  left: 50%;
  width: 50vmin;
  bottom: 0.5vw;
  z-index: 1;
  position: absolute;
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
  height: 3vmax;
  align-items: center;
}

.chat-char-tools {
  position: absolute;
  right: 8.6vw;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5vw;
  pointer-events: auto;
}

.chat-char-tools--stacked {
  flex-direction: column;
  align-items: center;
  gap: 0.35vw;
}

.chat-char-counter {
  margin-top: 0.2vw;
  min-width: 3.2vw;
  padding: 0.12vw 0.35vw;
  border-radius: 0.5vw;
  font-size: 0.9vw;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 0 0.08vw rgba(255, 255, 255, 0.12);
  user-select: none;
  pointer-events: none;
}

.chat-char-clear {
  width: 2.1vw;
  height: 2.1vw;
  border-radius: 50%;
  border: 0.08vw solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.45vw;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.chat-char-clear:hover,
.chat-char-clear:focus-visible {
  background: rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.32);
  transform: scale(1.1);
}

#replay-controls {
  display: flex;
  align-items: center;
  gap: 0.8vw;
  left: 50%;
  width: 70vw;
  bottom: 0.5vw;
  z-index: 1;
  position: absolute;
  margin: 0;
  padding: 0.4vw 0.5vw;
  transform: translateX(-50%);
  height: 4.2vw;
  border-radius: 3vw;
  background: rgba(0, 0, 0, 0.55);
  border: 0.12vw solid rgba(91, 201, 255, 0.35);
  box-shadow: 0 0.8vw 1.6vw rgba(0, 0, 0, 0.35);
  overflow: visible;
}

#replay-play-pause {
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 3.2vw;
  height: 3.2vw;
  padding: 0;
  box-sizing: border-box;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

#replay-play-pause:hover,
#replay-play-pause:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-0.08vw);
}

#replay-play-pause:active {
  transform: translateY(0);
}

#replay-play-pause .material-symbols-outlined {
  font-size: 2vw;
}

#replay-seek {
  flex: 1 1 auto;
  --replay-seek-track: 0.6vw;
  --replay-seek-thumb: 2.2vw;
  --replay-seek-thumb-active: 2.6vw;
  --replay-seek-track-bg: rgba(91, 201, 255, 0.25);
  --replay-seek-track-fill: rgba(91, 201, 255, 0.75);
  --replay-seek-progress: 0%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: var(--replay-seek-track);
  cursor: pointer;
}

#replay-seek::-webkit-slider-runnable-track {
  height: var(--replay-seek-track);
  background: linear-gradient(
    to right,
    var(--replay-seek-track-fill) 0%,
    var(--replay-seek-track-fill) var(--replay-seek-progress),
    var(--replay-seek-track-bg) var(--replay-seek-progress),
    var(--replay-seek-track-bg) 100%
  );
  border-radius: 1vw;
}

#replay-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--replay-seek-thumb);
  height: var(--replay-seek-thumb);
  margin-top: calc((var(--replay-seek-track) - var(--replay-seek-thumb)) / 2);
  border-radius: 50%;
  background: #fff;
  border: 0.2vw solid #5bc9ff;
  box-sizing: border-box;
  cursor: pointer;
}

#replay-seek:active::-webkit-slider-thumb {
  width: var(--replay-seek-thumb-active);
  height: var(--replay-seek-thumb-active);
  margin-top: calc((var(--replay-seek-track) - var(--replay-seek-thumb-active)) / 2);
}

#replay-seek::-moz-range-track {
  height: var(--replay-seek-track);
  background: var(--replay-seek-track-bg);
  border-radius: 1vw;
}

#replay-seek::-moz-range-progress {
  height: var(--replay-seek-track);
  background: var(--replay-seek-track-fill);
  border-radius: 1vw;
}

#replay-seek::-moz-range-thumb {
  width: var(--replay-seek-thumb);
  height: var(--replay-seek-thumb);
  border-radius: 50%;
  background: #fff;
  border: 0.2vw solid #5bc9ff;
  box-sizing: border-box;
  cursor: pointer;
}

#replay-seek:active::-moz-range-thumb {
  width: var(--replay-seek-thumb-active);
  height: var(--replay-seek-thumb-active);
}

#replay-top-controls {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -140%);
  display: flex;
  align-items: center;
  gap: 0.8vw;
  z-index: 2;
}

#replay-delete-container {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0.25vw 0.4vw;
  border-radius: 3vw;
  background: rgba(0, 0, 0, 0.6);
  border: 0.12vw solid rgba(255, 95, 122, 0.45);
  box-shadow: 0 0.6vw 1.2vw rgba(0, 0, 0, 0.35);
}

#replay-delete-current {
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  height: 2.2vw;
  padding: 0 0.9vw;
  border-radius: 2vw;
  display: inline-flex;
  align-items: center;
  gap: 0.35vw;
  font-size: 1vw;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, opacity 0.2s ease;
}

#replay-delete-current:hover,
#replay-delete-current:focus-visible {
  background: rgba(255, 103, 133, 0.28);
  transform: translateY(-0.08vw);
}

#replay-delete-current:active {
  transform: translateY(0);
}

#replay-delete-current:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.replay-delete-icon {
  font-size: 1.3vw;
  line-height: 1;
}

.replay-delete-label {
  white-space: nowrap;
  line-height: 1;
}

#replay-speed-container {
  display: inline-flex;
  align-items: center;
  gap: 0.5vw;
  padding: 0.25vw 0.4vw;
  border-radius: 3vw;
  background: rgba(0, 0, 0, 0.6);
  border: 0.12vw solid rgba(91, 201, 255, 0.35);
  box-shadow: 0 0.6vw 1.2vw rgba(0, 0, 0, 0.35);
}

#replay-speed-buttons {
  display: inline-flex;
  align-items: center;
  gap: 0.4vw;
  flex: 0 0 auto;
}

#replay-clip-count {
  display: inline-block;
  text-align: center;
  font-size: 1.1vw;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

#replay-clip-container {
  display: inline-flex;
  align-items: center;
  gap: 0.6vw;
  flex: 0 0 auto;
  padding: 0.25vw 0.4vw;
  border-radius: 3vw;
  background: rgba(0, 0, 0, 0.6);
  border: 0.12vw solid rgba(91, 201, 255, 0.35);
  box-shadow: 0 0.6vw 1.2vw rgba(0, 0, 0, 0.35);
}

.replay-clip-nav {
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 2.4vw;
  height: 2.4vw;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, opacity 0.2s ease;
}

.replay-clip-nav:hover,
.replay-clip-nav:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-0.08vw);
}

.replay-clip-nav:active {
  transform: translateY(0);
}

.replay-clip-nav:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.replay-clip-icon {
  font-size: 1.6vw;
  color: inherit;
}

.replay-speed-btn {
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  height: 2.2vw;
  padding: 0 0.7vw;
  border-radius: 2vw;
  font-size: 1.05vw;
  font-weight: 600;
  width: 5vw;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.replay-speed-btn:hover,
.replay-speed-btn:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-0.08vw);
}

.replay-speed-btn:active {
  transform: translateY(0);
}

.replay-speed-btn.is-active {
  background: rgba(91, 201, 255, 0.35);
  box-shadow: 0 0 0.5vw rgba(91, 201, 255, 0.45) inset;
}

.replay-speed-btn:focus-visible {
  outline: 0.15vw solid rgba(91, 201, 255, 0.65);
  outline-offset: 0.2vw;
}

#replay-time {
  width: auto;
  text-align: left;
  font-size: 1.2vw;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 0.1vw 0.3vw rgba(0, 0, 0, 0.85);
  white-space: nowrap;
}

#chatBtn {
  opacity: 1;
  background: url(./assets/img/Chat.png);
  width: 5vw;
  height: 5vw;
  background-size: 100% 100%;
  border-style: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: filter 0.15s ease;
}

#chatBtn::after {
  content: attr(data-unread);
  position: absolute;
  top: -0.4vw;
  right: -0.4vw;
  min-width: 1.6vw;
  height: 1.6vw;
  border-radius: 50%;
  background: #ff4747;
  color: #fff;
  font-size: 0.9vw;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.2vw;
  box-shadow: 0 0.2vw 0.4vw rgba(0, 0, 0, 0.4);
}

#chatBtn[data-unread]:not([data-unread="0"])::after {
  display: inline-flex;
}

#profile-btn,
#accountMessageTab {
  position: relative;
}

#profile-btn::before {
  content: attr(data-unread);
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ff4747;
  color: #fff;
  font-size: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

#accountMessageTab::after {
  content: attr(data-unread);
  position: absolute;
  top: 0.2vw;
  right: 0.2vw;
  min-width: 1.4vw;
  height: 1.4vw;
  border-radius: 999px;
  background: #ff4747;
  color: #fff;
  font-size: 0.8vw;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.1vw 0.25vw;
  font-weight: 700;
  box-shadow: 0 0.2vw 0.4vw rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

#profile-btn[data-unread]:not([data-unread="0"])::before,
#accountMessageTab[data-unread]:not([data-unread="0"])::after {
  display: inline-flex;
}

#chatBtn:hover,
#chatBtn:focus-visible {
  filter: grayscale(var(--hud-button-monochrome)) brightness(1.2);
  transform: none;
}

#voiceBtn {
  opacity: 1;
  background: url(./assets/img/Chat_Voice.png);
  width: 5vw;
  height: 5vw;
  background-size: 100% 100%;
  border-style: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: filter 0.15s ease;
}

#voiceBtn::before {
  content: "ON";
  position: absolute;
  top: -0.5vw;
  right: 2.7vw;
  min-width: 2.6vw;
  height: 1.6vw;
  padding: 0 0.55vw;
  border-radius: 2vw;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 900;
  font-size: 0.82vw;
  letter-spacing: 0.02vw;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.4vw 1vw rgba(22, 163, 74, 0.45), inset 0 0.15vw 0.3vw rgba(255, 255, 255, 0.35);
  border: 0.12vw solid rgba(255, 255, 255, 0.28);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.82);
  display: none;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#voiceBtn:hover,
#voiceBtn:focus-visible {
  filter: grayscale(var(--hud-button-monochrome)) brightness(1.2);
  transform: none;
}

#voiceBtn[data-active="1"] {
  filter: grayscale(var(--hud-button-monochrome)) brightness(1.25);
}

#voiceBtn[data-joined="1"]::before {
  opacity: 1;
  transform: scale(1);
  display: inline-flex;
  animation: voice-badge-pulse 2s infinite ease-in-out;
}

#voiceBtn::after {
  content: attr(data-voice-count);
  position: absolute;
  top: -0.5vw;
  right: -0.5vw;
  min-width: 2.8vw;
  height: 1.6vw;
  padding: 0 0.6vw;
  border-radius: 2vw;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 900;
  font-size: 0.85vw;
  letter-spacing: 0.02vw;
  align-items: center;
  justify-content: center;
  gap: 0.25vw;
  box-shadow: 0 0.4vw 1vw rgba(37, 99, 235, 0.5), inset 0 0.15vw 0.3vw rgba(255, 255, 255, 0.4);
  border: 0.12vw solid rgba(255, 255, 255, 0.3);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.82);
  display: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#voiceBtn[data-voice-count]:not([data-voice-count="0"])::after {
  opacity: 1;
  transform: scale(1);
  display: inline-flex;
  animation: voice-badge-pulse 2s infinite ease-in-out;
}

@keyframes voice-badge-pulse {
  0% { transform: scale(1); box-shadow: 0 0.4vw 1vw rgba(37, 99, 235, 0.5); }
  50% { transform: scale(1.1); box-shadow: 0 0.4vw 1.5vw rgba(37, 99, 235, 0.7); }
  100% { transform: scale(1); box-shadow: 0 0.4vw 1vw rgba(37, 99, 235, 0.5); }
}

#voice_chat_menu {
  position: absolute;
  left: 50%;
  bottom: 6.5vw;
  transform: translateX(-50%);
  width: 32vw;
  max-height: 50vh;
  min-height: 20vw;
  display: flex;
  flex-direction: column;
  gap: 1vw;
  padding: 1.2vw;
  border-radius: 1.2vw;
  background: rgba(13, 17, 34, 0.96);
  border: 0.1vw solid rgba(136, 166, 255, 0.25);
  box-shadow: 0 1.5vw 4vw rgba(0, 0, 0, 0.6), inset 0 0 2vw rgba(136, 166, 255, 0.05);
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 100;
  color: #f4f6fb;
  scrollbar-width: thin;
  scrollbar-color: rgba(136, 166, 255, 0.3) transparent;
}

#voice_chat_menu::-webkit-scrollbar {
  width: 0.4vw;
}

#voice_chat_menu::-webkit-scrollbar-track {
  background: transparent;
}

#voice_chat_menu::-webkit-scrollbar-thumb {
  background: rgba(136, 166, 255, 0.3);
  border-radius: 1vw;
}

#voice_chat_menu::-webkit-scrollbar-thumb:hover {
  background: rgba(136, 166, 255, 0.5);
}

.voice-chat-menu__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.8vw;
  border-bottom: 1px solid rgba(136, 166, 255, 0.15);
}

.voice-chat-menu__title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
  font-size: 1.2vw;
  letter-spacing: 0.05vw;
  text-transform: uppercase;
  background: linear-gradient(to right, #ffffff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.voice-chat-menu__close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 2.2vw;
  height: 2.2vw;
  border-radius: 0.6vw;
  font-size: 1.4vw;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.voice-chat-menu__close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  transform: rotate(90deg);
}

.voice-chat-menu__tabs {
  display: flex;
  gap: 0.5vw;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.3vw;
  border-radius: 0.8vw;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.voice-chat-menu__tab {
  flex: 1;
  border: none;
  background: transparent;
  color: rgba(244, 246, 251, 0.6);
  padding: 0.6vw 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 0.75vw;
  text-transform: uppercase;
  border-radius: 0.6vw;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-chat-menu__tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.voice-chat-menu__tab--active {
  color: #fff;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.8), rgba(124, 58, 237, 0.8));
  box-shadow: 0 0.4vw 1.2vw rgba(79, 70, 229, 0.3);
}

.voice-chat-menu__controls {
  display: flex;
  align-items: center;
  gap: 0.8vw;
}

.voice-chat-menu__controls--center {
  justify-content: center;
}

.voice-chat-menu__btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(136, 166, 255, 0.2);
  color: #fff;
  border-radius: 0.8vw;
  padding: 0.6vw 1.2vw;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85vw;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5vw;
}

.voice-chat-menu__btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(136, 166, 255, 0.4);
  transform: translateY(-0.1vw);
  box-shadow: 0 0.5vw 1.5vw rgba(0, 0, 0, 0.2);
}

.voice-chat-menu__btn:active:not(:disabled) {
  transform: translateY(0);
}

.voice-chat-menu__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.voice-chat-menu__btn--primary {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-color: rgba(255, 255, 255, 0.1);
}

.voice-chat-menu__btn--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 0.5vw 1.5vw rgba(99, 102, 241, 0.4);
}

.voice-chat-menu__btn--danger {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border-color: rgba(255, 255, 255, 0.1);
}

.voice-chat-menu__btn--danger:hover:not(:disabled) {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 0.5vw 1.5vw rgba(239, 68, 68, 0.4);
}

.voice-chat-menu__icon-btn {
  width: 2.8vw;
  height: 2.8vw;
  padding: 0;
  border-radius: 50%;
}

.voice-chat-menu__icon-btn .material-symbols-outlined {
  font-size: 1.4vw;
}

.voice-chat-menu__participants {
  display: flex;
  flex-direction: column;
  gap: 0.8vw;
}

.voice-chat-menu__participants-title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9vw;
  color: rgba(244, 246, 251, 0.7);
  padding: 0 0.4vw;
}

.voice-chat-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6vw;
}

.voice-chat-menu__player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8vw 1vw;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1vw;
  transition: all 0.2s ease;
}

.voice-chat-menu__player:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(136, 166, 255, 0.15);
  transform: translateX(0.2vw);
}

.voice-chat-menu__player-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2vw;
}

.voice-chat-menu__player-name {
  font-weight: 700;
  font-size: 0.95vw;
  color: #fff;
}

.voice-chat-menu__player-id {
  font-size: 0.75vw;
  color: rgba(244, 246, 251, 0.4);
}

.voice-chat-menu__mute-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.4vw 0.8vw;
  border-radius: 0.6vw;
  font-size: 0.7vw;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-chat-menu__mute-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(136, 166, 255, 0.3);
}

.voice-chat-menu__mute-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.voice-chat-menu__modifiers {
  display: flex;
  flex-direction: column;
  gap: 1.2vw;
  padding: 1vw;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 1vw;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.voice-chat-menu__modifiers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.9vw;
  text-transform: uppercase;
  letter-spacing: 0.05vw;
}

.voice-chat-menu__modifiers-reset {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 0.3vw 0.8vw;
  border-radius: 0.6vw;
  font-size: 0.65vw;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-chat-menu__modifiers-reset:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.voice-chat-menu__preset-list {
  display: flex;
  flex-direction: column;
  gap: 0.75vw;
}

.voice-chat-menu__preset {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1vw;
  text-align: left;
  padding: 0.75vw 0.9vw;
  border-radius: 0.65vw;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-chat-menu__preset:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(129, 140, 248, 0.45);
}

.voice-chat-menu__preset:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.voice-chat-menu__preset--active {
  border-color: rgba(129, 140, 248, 0.8);
  background: rgba(99, 102, 241, 0.2);
  box-shadow: 0 0 1.2vw rgba(99, 102, 241, 0.3);
}

.voice-chat-menu__preset-label {
  font-size: 0.8vw;
  font-weight: 800;
  letter-spacing: 0.03vw;
  text-transform: uppercase;
}

.voice-chat-menu__preset-note {
  font-size: 0.66vw;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.65);
}

.voice-chat-menu__preset-custom {
  font-size: 0.65vw;
  font-weight: 700;
  color: rgba(244, 246, 251, 0.65);
  border: 1px dashed rgba(129, 140, 248, 0.45);
  background: rgba(129, 140, 248, 0.08);
  border-radius: 0.6vw;
  padding: 0.55vw 0.8vw;
}

.voice-chat-menu__slider {
  display: grid;
  grid-template-columns: 8vw 1fr 3vw;
  align-items: center;
  gap: 1vw;
}

.voice-chat-menu__slider-label {
  font-size: 0.75vw;
  font-weight: 700;
  color: rgba(244, 246, 251, 0.6);
  text-transform: uppercase;
}

.voice-chat-menu__slider-value {
  font-size: 0.8vw;
  font-weight: 800;
  color: #818cf8;
  text-align: right;
}

.voice-chat-menu__slider-input {
  -webkit-appearance: none;
  width: 100%;
  height: 0.4vw;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1vw;
  outline: none;
}

.voice-chat-menu__slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1vw;
  height: 1vw;
  background: #818cf8;
  border-radius: 50%;
  cursor: pointer;
  border: 0.2vw solid #fff;
  box-shadow: 0 0 1vw rgba(129, 140, 248, 0.5);
  transition: all 0.2s ease;
}

.voice-chat-menu__slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #6366f1;
}

.voice-chat-menu__test {
  display: flex;
  flex-direction: column;
  gap: 1vw;
  padding: 1vw;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 1vw;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.voice-chat-menu__test-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.9vw;
  text-transform: uppercase;
}

.voice-chat-menu__test-status {
  padding: 0.3vw 0.8vw;
  border-radius: 0.6vw;
  font-size: 0.65vw;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.voice-chat-menu__test-status--recording {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.voice-chat-menu__graph {
  width: 100%;
  height: 4vw;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0.8vw;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.voice-chat-menu__test-audio {
  width: 100%;
  height: 2.5vw;
  filter: invert(100%) hue-rotate(180deg) brightness(1.5);
  opacity: 0.8;
}

.voice-chat-menu__empty {
  text-align: center;
  padding: 2vw;
  color: rgba(244, 246, 251, 0.4);
  font-size: 0.85vw;
  font-style: italic;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1vw;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  #voice_chat_menu {
    width: 85vw;
    bottom: 18vw;
    padding: 4vw;
    gap: 4vw;
    border-radius: 4vw;
  }

  .voice-chat-menu__title { font-size: 4.5vw; }
  .voice-chat-menu__close { width: 9vw; height: 9vw; font-size: 6vw; border-radius: 2vw; }
  .voice-chat-menu__tab { font-size: 3.2vw; padding: 2.5vw 0; border-radius: 2.5vw; }
  .voice-chat-menu__btn { font-size: 3.5vw; padding: 3vw 6vw; border-radius: 3vw; }
  .voice-chat-menu__icon-btn { width: 12vw; height: 12vw; }
  .voice-chat-menu__icon-btn .material-symbols-outlined { font-size: 6vw; }
  .voice-chat-menu__player { padding: 3.5vw; border-radius: 3.5vw; }
  .voice-chat-menu__player-name { font-size: 4vw; }
  .voice-chat-menu__player-id { font-size: 3vw; }
  .voice-chat-menu__mute-btn { font-size: 3vw; padding: 2vw 4vw; border-radius: 2vw; }
  .voice-chat-menu__modifiers { padding: 4vw; border-radius: 4vw; gap: 5vw; }
  .voice-chat-menu__modifiers-head { font-size: 3.8vw; }
  .voice-chat-menu__preset-list { gap: 2.5vw; }
  .voice-chat-menu__preset { padding: 2.8vw 3vw; border-radius: 2.8vw; gap: 2vw; }
  .voice-chat-menu__preset-label { font-size: 3.4vw; letter-spacing: 0.1vw; }
  .voice-chat-menu__preset-note { font-size: 2.8vw; }
  .voice-chat-menu__preset-custom { font-size: 2.9vw; border-radius: 2.5vw; padding: 2.4vw 2.8vw; }
  .voice-chat-menu__slider { grid-template-columns: 25vw 1fr 10vw; gap: 3vw; }
  .voice-chat-menu__slider-label { font-size: 3.2vw; }
  .voice-chat-menu__slider-value { font-size: 3.5vw; }
  .voice-chat-menu__test { padding: 4vw; border-radius: 4vw; }
  .voice-chat-menu__test-head { font-size: 3.8vw; }
  .voice-chat-menu__graph { height: 15vw; }
  .voice-chat-menu__test-audio { height: 10vw; }
  .voice-chat-menu__empty { font-size: 3.5vw; padding: 8vw 4vw; }
}

#chat-send-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 0.12vw solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.6vw;
  font-weight: 700;
  letter-spacing: 0.02vw;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

#chat-send-btn:hover,
#chat-send-btn:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-0.08vw);
}

#chat-send-btn:active {
  transform: translateY(0);
}

#emojiBtn {
  opacity: 1;
  color: white;
  background: url(./assets/img/Emoji.png);
  width: 5vw;
  height: 5vw;
  background-size: 100% 100%;
  border-style: none;
}


#ShowSpectPlayersBtn {
  opacity: 1;
  color: white;
  background: url(./assets/img/Ingame_SpectatePlayersBtn.png);
  width: 5vw;
  height: 5vw;
  background-size: 100% 100%;
  border-style: none;
}


#chat_textbox {
  margin: 0;
  border-radius: 3vmax;
  transition: background .2s ease-in-out;
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  color: white;
  text-indent: 2vmin;
  font-family: "Ubuntu";
  width: 25vmin;
}

#chat_textbox:focus {
  background: rgba(0, 35, 90, 0.85);
}

input[id="chat_textbox"]::placeholder {
  color: white;
}

input[id="chat_textbox"]:-ms-input-placeholder {
  color: white;
}

input[id="chat_textbox"]::-ms-input-placeholder {
  color: white;
}

button:focus-visible {
  outline: none;
}

#footer {
  text-align: center;
  margin-bottom: 100px;
  margin-top: -10px;
}

#contatct {
  padding-left: 10%;
  margin: auto;
  text-align: center;
  font: bold 15px "Open Sans";
  color: white;
  background-color: red;
}

#mobileStuff button {
  background-size: 100% 100%;
  background-position: 50% 50%;
}


#splitBtn,
#doubleBtn,
#split4MacroBtn,
#x16Btn,
#ejectBtn,
#macroBtn,
#grappleBtn,
#respawnBtn,
#leaveBtn,
#pause-btn,
#lead-btn {
  position: fixed;
}

#splitBtn,
#doubleBtn,
#split4MacroBtn,
#x16Btn,
#ejectBtn,
#macroBtn,
#grappleBtn,
#respawnBtn,
#leaveBtn,
#pause-btn,
#lead-btn {
  z-index: 2;
}

#splitBtn,
#ejectBtn,
#macroBtn,
#grappleBtn,
#respawnBtn {
  border-radius: 50%;
  width: 10vw;
  height: 10vw;
  border-style: none;
}

#doubleBtn,
#split4MacroBtn,
#x16Btn {
  border-radius: 50%;
  width: 6vw;
  height: 6vw;
  border-style: none;
}

#ejectBtn {
  bottom: 2vw;
  background: url(./assets/img/Feed.png);
}

#macroBtn {
  bottom: 14vw;
  background: url(./assets/img/Macro.png);
}

#grappleBtn {
  bottom: 26vw;
  background: url(./assets/img/GrappleButton.png);
  background-size: 100% 100%;
}

#splitBtn {
  bottom: 12vw;
  background: url(./assets/img/Split.png);
}

#doubleBtn {
  bottom: 24vw;
  background: url(./assets/img/Split_x2.png);
}

#split4MacroBtn {
  bottom: 24vw;
  background: url(./assets/img/Splitx4_Macro.png);
}

#x16Btn {
  bottom: 2vw;
  background: url(./assets/img/Split_x4.png);
}

#respawnBtn {
  background: url(./assets/img/RespawnMobile.png);
}

#lead-btn {
  background: url(./assets/img/Leaderboard.png);
  right: 1vw;
}

#pause-btn {
  left: 2vmin;
  background: url(./assets/img/pause-btn.png);
  opacity: 1;
}

#leaveBtn {
  opacity: 1;
  left: 1vw;
  background: url(./assets/img/Pause.png);
}

#fullScreenBtn {
  position: absolute;
  width: 6vw;
  height: 6vw;
  top: 2vw;
  left: 2vw;
  opacity: 1;
  z-index: 99;
  background: url(./assets/img/full-screen.png);
  background-size: 100% 100%;
  border-style: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}

#fullScreenBtn:hover,
#fullScreenBtn:focus-visible {
  transform: translateY(-0.2vw) scale(1.04);
  filter: brightness(1.05);
}

#fullScreenBtn:focus-visible {
  outline: 0.18vw solid rgba(255, 255, 255, 0.65);
  outline-offset: 0.12vw;
}

.overlay-quick-btn {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.overlay-quick-btn:not(#fullScreenBtn):hover,
.overlay-quick-btn:not(#fullScreenBtn):focus-visible {
  transform: translateY(-0.2vw) scale(1.04);
  filter: brightness(1.05);
}

.overlay-quick-btn:focus-visible {
  outline: 0.18vw solid rgba(255, 255, 255, 0.65);
  outline-offset: 0.12vw;
}

#leaveBtn,
#pause-btn,
#lead-btn {
  top: 1vw;
  width: 8vw;
  height: 8vw;
  background-size: 100% 100%;
  border-style: none;
}

#playSounds:checked+#soundsVolume {
  display: inline;
}

#soundsVolume {
  display: none;
  width: 100px;
  height: 18px;
  padding: 0;
  /* IE fix */
  vertical-align: middle;
}

#glcanvas {
  z-index: -1;
}

#HUD {
  position: fixed;
  width: var(--app-width, 100vw);
  height: var(--app-height, 100vh);
  min-width: var(--app-width, 100vw);
  min-height: var(--app-height, 100vh);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

#glcanvas {
  position: fixed;
  width: var(--app-width, 100vw);
  height: var(--app-height, 100vh);
  min-width: var(--app-width, 100vw);
  max-width: var(--app-width, 100vw);
  min-height: var(--app-height, 100vh);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  box-sizing: border-box;
}

#grapple-status {
  position: absolute;
  top: 10vw;
  left: 0.8vw;
  padding: 0.8vw 1.2vw;
  border-radius: 1vw;
  background-color: rgba(0, 0, 0, 0.55);
  border: 0.12vw solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.8vw;
  color: #f7f7f7;
  font-size: 1vw;
  text-transform: uppercase;
  letter-spacing: 0.08vw;
  z-index: 2;
  pointer-events: none;
}

#grapple-status.is-ready {
  box-shadow: 0 0 1.4vw rgba(79, 242, 255, 0.25);
}

#grapple-status.is-ready .grapple-status__timer {
  color: #4ff2ff;
}

#grapple-status.is-ready .grapple-status__bar {
  display: none;
}

#grapple-status.is-ready .grapple-status__cta {
  display: inline-flex;
}

#grapple-status .grapple-status__icon {
  width: 2.2vw;
  height: 2.2vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: url(./assets/img/Grapple.png) center / cover no-repeat;
  flex: 0 0 auto;
}

.grapple-status__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.grapple-status__label {
  font-size: 0.9vw;
  opacity: 0.75;
}

.grapple-status__timer {
  font-size: 1.2vw;
  font-weight: 600;
}

.grapple-status__bar {
  width: 9vw;
  height: 0.6vw;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

/* The HUD gauges fill with scaleX, set by client.js every 120 ms: a width
   transition laid the page out on every frame while they moved. */
#grapple-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #4ff2ff, #9e6bff);
  border-radius: inherit;
  transform-origin: left center;
  transition: transform 120ms ease-out;
}

#minion-control-status {
  position: absolute;
  top: 10vw;
  left: 0.8vw;
  padding: 0.8vw 1.2vw;
  border-radius: 1vw;
  background: linear-gradient(135deg, rgba(24, 18, 8, 0.82), rgba(10, 8, 4, 0.78));
  border: 0.12vw solid rgba(255, 209, 102, 0.24);
  display: none;
  align-items: center;
  gap: 0.8vw;
  color: #f7f7f7;
  font-size: 1vw;
  text-transform: uppercase;
  letter-spacing: 0.08vw;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0.6vw 1.8vw rgba(0, 0, 0, 0.35);
}

#minion-control-status.is-active {
  box-shadow: 0 0 1.4vw rgba(255, 209, 102, 0.35);
}

#minion-control-status.is-active .minion-control__state {
  color: #ffd166;
}

#minion-control-status .minion-control__icon {
  font-size: 1.8vw;
  width: 2.4vw;
  height: 2.4vw;
  line-height: 2.4vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffe0a3;
  border-radius: 0.7vw;
  background: radial-gradient(circle at top, rgba(255, 209, 102, 0.35), rgba(255, 149, 62, 0.12));
  border: 0.12vw solid rgba(255, 209, 102, 0.45);
  box-shadow: inset 0 0.3vw 0.6vw rgba(0, 0, 0, 0.5), 0 0 0.8vw rgba(255, 209, 102, 0.2);
}

.minion-control__text {
  display: flex;
  flex-direction: column;
  gap: 0.25vw;
  line-height: 1.2;
}

.minion-control__title {
  display: inline-flex;
  align-items: center;
  gap: 0.6vw;
}

.minion-control__label {
  font-size: 0.85vw;
  opacity: 0.75;
}

.minion-control__state {
  font-size: 1.2vw;
  font-weight: 600;
}

.minion-control__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5vw;
  font-size: 1vw;
  font-weight: 600;
  text-transform: uppercase;
}

.minion-control__cta-text {
  font-size: 0.75vw;
  opacity: 0.75;
}

.minion-control__cta-button {
  width: 2.4vw;
  height: 2.4vw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 0.12vw solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 0 0.4vw rgba(0, 0, 0, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.minion-control__cta-key {
  color: #ffffff;
  font-size: 0.9vw;
  font-weight: 700;
  letter-spacing: 0.08vw;
  text-shadow: 0 0.1vw 0.3vw rgba(0, 0, 0, 0.9);
}

.minion-control__count {
  display: inline-flex;
  align-items: center;
  gap: 0.35vw;
  padding: 0.15vw 0.6vw;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.14);
  border: 0.1vw solid rgba(255, 209, 102, 0.45);
  color: #ffd166;
  font-size: 0.75vw;
  font-weight: 700;
  letter-spacing: 0.08vw;
  text-transform: uppercase;
  text-shadow: 0 0.1vw 0.3vw rgba(0, 0, 0, 0.6);
}

.minion-control__count::before {
  content: "x";
  font-size: 0.65vw;
  opacity: 0.7;
}

#minion-control-count:empty {
  display: none;
}

#power-status {
  position: absolute;
  top: calc(1vw + 8vw + 0.6vw);
  left: 1vw;
  padding: 0.75vw 1vw;
  border-radius: 0.9vw;
  background: linear-gradient(135deg, rgba(16, 20, 28, 0.85), rgba(10, 12, 20, 0.8));
  border: 0.1vw solid rgba(111, 255, 204, 0.25);
  display: none;
  align-items: center;
  gap: 0.8vw;
  color: #f7f7f7;
  font-size: 0.9vw;
  text-transform: uppercase;
  letter-spacing: 0.08vw;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0.45vw 1vw rgba(0, 0, 0, 0.32);
}

#power-status.is-ready {
  box-shadow: 0 0 1.4vw rgba(111, 255, 204, 0.3);
}

#power-status.is-ready .power-status__timer {
  color: #6fffcc;
}

#power-status.is-ready .power-status__bar {
  display: none;
}

.power-status__icon {
  width: 2.4vw;
  height: 2.4vw;
  border-radius: 0.7vw;
  background: radial-gradient(circle at top, rgba(111, 255, 204, 0.25), rgba(0, 0, 0, 0.2));
  border: 0.1vw solid rgba(111, 255, 204, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0.3vw 0.6vw rgba(0, 0, 0, 0.5);
}

#power-icon {
  width: 1.6vw;
  height: 1.6vw;
  object-fit: contain;
}

.power-status__faction-icon {
  display: none;
}

.power-status__text {
  display: flex;
  flex-direction: column;
  gap: 0.2vw;
  line-height: 1.2;
}

.power-status__label {
  font-size: 0.75vw;
  opacity: 0.75;
}

.power-status__name {
  font-size: 1.1vw;
  font-weight: 700;
}

.power-status__description {
  display: none;
}

.power-status__timer {
  font-size: 0.95vw;
  font-weight: 700;
}

.power-status__bar {
  width: 7.5vw;
  height: 0.55vw;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100vw;
  overflow: hidden;
}

#power-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #6fffcc, #57d9ff);
  border-radius: inherit;
  transform-origin: left center;
  transition: transform 120ms ease-out;
}





#waves-status {
  position: absolute;
  top: 10vw;
  left: 0.8vw;
  padding: 0.75vw 1vw;
  min-width: 14vw;
  border-radius: 0.9vw;
  background: linear-gradient(135deg, rgba(14, 20, 32, 0.82), rgba(9, 14, 24, 0.78));
  border: 0.09vw solid rgba(102, 231, 255, 0.25);
  box-shadow: 0 0.45vw 1vw rgba(0, 0, 0, 0.32);
  display: none;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon text"
    "icon meta"
    "bar bar";
  column-gap: 0.6vw;
  row-gap: 0.35vw;
  color: #f7f7f7;
  font-size: 0.85vw;
  z-index: 2;
  pointer-events: none;
}

body.mode-witch-legacy #power-status {
  top: 18vw;
}

#waves-status .waves-status__icon {
  display: grid;
  place-items: center;
  font-size: 1.65vw;
  color: #73f1ff;
  flex: 0 0 auto;
  margin-top: 0.05vw;
  grid-area: icon;
}

.waves-status__default-icon {
  font-size: inherit;
}

.waves-status__night-crest,
.waves-status__eyebrow {
  display: none;
}

.waves-status__text {
  display: flex;
  flex-direction: column;
  gap: 0.2vw;
  grid-area: text;
}

.waves-status__label {
  font-size: 0.95vw;
  font-weight: 700;
  letter-spacing: 0.045vw;
}

.waves-status__objective,
.waves-status__message {
  font-size: 0.8vw;
  opacity: 0.92;
}

.waves-status__objective.is-empty,
.waves-status__message.is-empty {
  display: none;
}

.waves-status__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5vw;
  font-size: 0.82vw;
  grid-area: meta;
}

.waves-status__timer {
  font-weight: 600;
}

.waves-status__progress {
  font-size: 0.8vw;
  color: #7fffcd;
}

#blood-altar-indicators {
  position: absolute;
  inset: 0vw;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.blood-altar-indicator {
  --altar-arrow-angle: 0deg;
  --altar-x: 0vw;
  --altar-y: 0vw;
  position: absolute;
  left: 0vw;
  top: 0vw;
  width: 3.2vw;
  height: 3.2vw;
  transform: translate3d(calc(var(--altar-x) - 1.6vw), calc(var(--altar-y) - 1.6vw), 0vw);
  filter: drop-shadow(0 0 0.35vw rgba(255, 191, 0, 0.9));
  will-change: transform;
}

.blood-altar-indicator[hidden] {
  display: none;
}

.blood-altar-indicator__arrow {
  position: absolute;
  inset: 0vw;
  display: grid;
  place-items: center;
  color: #ffd400;
  font-size: 2.8vw;
  line-height: 1;
  transform: rotate(var(--altar-arrow-angle));
  transform-origin: center;
  -webkit-text-stroke: 0.09vw #3a2400;
}

.blood-altar-indicator__label {
  position: absolute;
  left: 1.025vw;
  top: 1.025vw;
  display: grid;
  width: 1.15vw;
  height: 1.15vw;
  place-items: center;
  border: 0.1vw solid #ffd400;
  border-radius: 0.575vw;
  background: #260711;
  color: #fff3a6;
  font-size: 0.72vw;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0.3vw rgba(0, 0, 0, 0.8);
}

.blood-altar-gauge {
  --altar-gauge-x: 0vw;
  --altar-gauge-y: 0vw;
  --altar-gauge-fill: 0vw;
  position: absolute;
  left: 0vw;
  top: 0vw;
  width: 5vw;
  height: 1.35vw;
  transform: translate3d(calc(var(--altar-gauge-x) - 2.5vw), var(--altar-gauge-y), 0vw);
  filter: drop-shadow(0 0.12vw 0.2vw rgba(0, 0, 0, 0.85));
  will-change: transform;
}

.blood-altar-gauge[hidden] {
  display: none;
}

.blood-altar-gauge__text {
  position: absolute;
  left: 0vw;
  top: 0vw;
  width: 5vw;
  color: #fff3a6;
  font-size: 0.66vw;
  font-weight: 900;
  line-height: 0.66vw;
  text-align: center;
  -webkit-text-stroke: 0.025vw #2a1500;
}

.blood-altar-gauge__track {
  position: absolute;
  left: 0vw;
  top: 0.82vw;
  display: block;
  width: 5vw;
  height: 0.42vw;
  overflow: hidden;
  border: 0.08vw solid #ffd400;
  border-radius: 0.25vw;
  background: rgba(34, 3, 12, 0.92);
  box-sizing: border-box;
}

.blood-altar-gauge__fill {
  display: block;
  width: var(--altar-gauge-fill);
  height: 0.26vw;
  background: linear-gradient(90deg, #b80f3d, #ff476f, #ffd400);
  box-shadow: 0 0 0.28vw rgba(255, 56, 105, 0.85);
}

.waves-status__bar {
  width: 100%;
  height: 0.5vw;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100vw;
  overflow: hidden;
  grid-area: bar;
}

#waves-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #7fffcd, #57d9ff);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 120ms ease-out;
}

/* Werewolves vs Vampires: moonlit steel, claw marks and blood-moon accents. */
/* ---------- Power modes: one slim strip under the stats bar ----------
   Shared by Werewolves vs Vampires and Eclipse 22K. The wave strip and the
   power strip are separate elements stacked into one piece, centred under the
   stats, so neither mode needs the arena theme to look like the hunt. */

body.mode-power-choice #waves-status,
body.mode-power-choice #power-status {
  left: 50%;
  transform: translateX(-50%);
  width: 24vw;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.4vw 0.75vw;
  border: 0.07vw solid rgba(184, 211, 255, 0.22);
  color: #f2eefb;
  font-family: "Open Sans", sans-serif;
  text-transform: none;
  letter-spacing: normal;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(90, 170, 225, 0.1), transparent 45%),
    linear-gradient(300deg, rgba(210, 40, 80, 0.12), transparent 45%),
    rgba(8, 11, 20, 0.42);
  box-shadow: none;
  filter: none;
}

/* A hairline of moon and blood along the top: the only theming that is needed. */
body.mode-power-choice #waves-status::before,
body.mode-power-choice #power-status::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.1vw;
  background: linear-gradient(90deg, #70cfff, transparent 45%, transparent 55%, #f02d61);
  opacity: 0.55;
  z-index: -1;
}

body.mode-power-choice #waves-status::after,
body.mode-power-choice #power-status::after {
  content: none;
}

/* The power strip is hidden in these modes (the relic shows the cooldown),
   so the wave strip stands alone, wide under the stats. */
body.mode-power-choice #waves-status {
  top: 5vw;
  width: 36vw;
  padding: 0.5vw 1vw;
  border-radius: 0.55vw;
  grid-template-columns: 2.2vw minmax(4vw, 1fr) auto;
  grid-template-areas: "icon text meta" "bar bar bar";
  align-items: center;
  column-gap: 0.7vw;
  row-gap: 0.35vw;
}

body.mode-power-choice #power-status {
  top: 5vw;
  border-radius: 0.55vw;
  display: none;
  align-items: center;
  gap: 0.55vw;
}

body.mode-power-choice #power-status.is-stacked {
  border-radius: 0 0 0.55vw 0.55vw;
  border-top-color: rgba(184, 211, 255, 0.12);
}

body.mode-power-choice #power-status.is-stacked::before {
  content: none;
}

/* ---- wave strip ---- */

body.mode-power-choice #waves-status .waves-status__icon {
  grid-area: icon;
  width: 2.2vw;
  height: 2.2vw;
  margin: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

body.mode-power-choice .waves-status__default-icon {
  display: none;
}

body.mode-power-choice .waves-status__night-crest {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* The eyebrow and objective are what made this panel a block. */
body.mode-power-choice .waves-status__eyebrow,
body.mode-power-choice .waves-status__objective,
body.mode-power-choice .power-status__description,
body.mode-power-choice .power-status__label {
  display: none;
}

/* One short line under the wave name: what to do now, such as killing the
   Lycans before their Alpha, or why you cannot spawn yet. */
body.mode-power-choice .waves-status__message {
  display: block;
  margin-top: 0.15vw;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #e9e3f7;
  font-size: 0.78vw;
  font-weight: 600;
  line-height: 1.25;
  opacity: 1;
  text-shadow: 0 0.06vw 0 rgba(0, 0, 0, 0.9);
}

body.mode-power-choice .waves-status__message.is-empty {
  display: none;
}

/* Tinted like the ring on the shielded leader: moonlit for the werewolves,
   blood for Vlad, the Eclipse's violet for both. */
body.mode-power-choice .waves-status__message[data-shields="1"] {
  color: #9dddff;
}

body.mode-power-choice .waves-status__message[data-shields="2"] {
  color: #ff9ab0;
}

body.mode-power-choice .waves-status__message[data-shields="3"] {
  color: #d6c2ff;
}

body.mode-power-choice .waves-status__text {
  grid-area: text;
  display: block;
  min-width: 0;
  gap: 0;
}

body.mode-power-choice .waves-status__label {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #fff;
  /* The Eclipse menus' gothic serif, not the cartoon one of the other modes. */
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.95vw;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.06vw;
  text-shadow: 0 0.08vw 0 rgba(0, 0, 0, 0.9), 0 0 0.4vw rgba(0, 0, 0, 0.8);
}

body.mode-power-choice .waves-status__meta {
  grid-area: meta;
  display: flex;
  align-items: center;
  gap: 0.5vw;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}

body.mode-power-choice .waves-status__timer,
body.mode-power-choice .waves-status__progress {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  white-space: nowrap;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.84vw;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  letter-spacing: 0.05vw;
  text-shadow: 0 0.08vw 0 rgba(0, 0, 0, 0.9);
}

body.mode-power-choice .waves-status__timer {
  color: #9dddff;
}

body.mode-power-choice .waves-status__timer::before {
  content: none;
}

body.mode-power-choice .waves-status__progress {
  color: #ff8daa;
}

body.mode-power-choice .waves-status__bar,
body.mode-power-choice .power-status__bar {
  grid-area: bar;
  width: 100%;
  height: 0.2vw;
  margin: 0;
  border: 0;
  border-radius: 999vw;
  background: rgba(228, 238, 255, 0.12);
  box-shadow: none;
  overflow: hidden;
}

body.mode-power-choice #waves-fill {
  border-radius: 999vw;
  background: linear-gradient(90deg, #70cfff, #f02d61);
  box-shadow: none;
}

/* ---- power strip ---- */

body.mode-power-choice .power-status__icon {
  flex: 0 0 auto;
  width: 1.9vw;
  height: 1.9vw;
  border: 0.07vw solid rgba(211, 225, 245, 0.22);
  border-radius: 50%;
  background: rgba(226, 239, 255, 0.06);
  box-shadow: none;
}

body.mode-power-choice #power-icon {
  display: none !important;
}

body.mode-power-choice .power-status__faction-icon {
  width: 74%;
  height: 74%;
  overflow: visible;
}

body.mode-power-choice #power-status[data-faction="werewolf"] .power-status__faction-icon--werewolf,
body.mode-power-choice #power-status[data-faction="vampire"] .power-status__faction-icon--vampire {
  display: block;
}

body.mode-power-choice .power-status__text {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  gap: 0;
}

body.mode-power-choice .power-status__name {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #fff;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.82vw;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.05vw;
  text-shadow: 0 0.08vw 0 rgba(0, 0, 0, 0.9), 0 0 0.4vw rgba(0, 0, 0, 0.8);
}

body.mode-power-choice .power-status__timer {
  display: block;
  color: rgba(226, 236, 255, 0.72);
  font-size: 0.66vw;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.03vw;
}

body.mode-power-choice #power-status[data-faction="werewolf"] .power-status__timer {
  color: #9dddff;
}

body.mode-power-choice #power-status[data-faction="vampire"] .power-status__timer {
  color: #ff8daa;
}

/* The bar only matters while the power is charging. */
body.mode-power-choice .power-status__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  border-radius: 0;
}

body.mode-power-choice #power-status.is-ready .power-status__bar {
  display: none;
}

body.mode-power-choice #power-fill {
  border-radius: 0;
  box-shadow: none;
}

body.mode-power-choice #power-status[data-faction="werewolf"] #power-fill {
  background: linear-gradient(90deg, rgba(112, 207, 255, 0.55), #70cfff);
}

body.mode-power-choice #power-status[data-faction="vampire"] #power-fill {
  background: linear-gradient(90deg, rgba(240, 45, 97, 0.55), #f02d61);
}


.waves-status__night-crest .night-crest__shield {
  fill: rgba(5, 9, 21, 0.82);
  stroke: #a6b8d7;
  stroke-width: 2;
}

.waves-status__night-crest .night-crest__divider {
  fill: none;
  stroke: rgba(203, 216, 240, 0.28);
  stroke-width: 1.5;
}

.waves-status__night-crest .night-crest__moon {
  fill: rgba(145, 218, 255, 0.22);
  filter: drop-shadow(0 0 0.35vw rgba(94, 195, 249, 0.72));
}

.waves-status__night-crest .night-crest__blood-moon {
  fill: rgba(190, 13, 54, 0.27);
  filter: drop-shadow(0 0 0.4vw rgba(226, 30, 76, 0.78));
}

.waves-status__night-crest .night-crest__wolf path:first-child {
  fill: rgba(106, 186, 232, 0.16);
  stroke: #86cff5;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.waves-status__night-crest .night-crest__wolf path:last-child {
  fill: none;
  stroke: #d6f2ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.waves-status__night-crest .night-crest__bat {
  fill: rgba(202, 31, 77, 0.45);
  stroke: #ff668d;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.waves-status__night-crest .night-crest__fangs {
  fill: #fff0f4;
}

.power-status__faction-icon path:first-child {
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.power-status__faction-icon path:last-child {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

#power-status[data-faction="werewolf"] .power-status__faction-icon {
  fill: rgba(104, 191, 237, 0.17);
  stroke: #9cddff;
  filter: drop-shadow(0 0 0.28vw rgba(102, 194, 242, 0.75));
}

#power-status[data-faction="vampire"] .power-status__faction-icon {
  fill: rgba(220, 38, 85, 0.25);
  stroke: #ff789a;
  filter: drop-shadow(0 0 0.28vw rgba(236, 50, 99, 0.75));
}


.grapple-status__cta {
  display: none;
  align-items: center;
  gap: 0.5vw;
  font-size: 1vw;
  font-weight: 600;
  text-transform: uppercase;
}

.grapple-status__cta-button {
  width: 2.4vw;
  height: 2.4vw;
  border-radius: 50%;
  background: url(./assets/img/Grapple.png) center / cover no-repeat;
  border: 0.12vw solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 0 0.4vw rgba(0, 0, 0, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.grapple-status__cta-key {
  color: #ffffff;
  font-size: 0.9vw;
  font-weight: 700;
  letter-spacing: 0.08vw;
  text-shadow: 0 0.1vw 0.3vw rgba(0, 0, 0, 0.9);
}

@font-face {
  font-family: "Open Sans";
  font-weight: bold;
  src: url("./assets/fonts/OpenSans-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Outline";
  font-weight: bold;
  src: url("./assets/fonts/Outline.ttf") format("truetype");
}

@font-face {
  font-family: "VIP Cartoon Bold";
  font-weight: 900;
  src: url("./assets/fonts/Lato-Bold.ttf") format("truetype");
  font-display: swap;
}

.nipple .back {
  background-image: url(./assets/img/Pad_Bg.png);
}

.nipple .front {
  background-image: url(./assets/img/pad-front.png);
}

.nipple .back,
.nipple .front {
  background-size: cover;
  border-style: none;
}

:is(
  #leaveBtn,
  #pause-btn,
  #chatBtn,
  #voiceBtn,
  #emojiBtn,
  #ShowSpectPlayersBtn,
  #lead-btn,
  #ReplaySaveBtn,
  #modmenubtn,
  #vipmenubtn,
  #splitBtn,
  #doubleBtn,
  #split4MacroBtn,
  #x16Btn,
  #ejectBtn,
  #macroBtn,
  #grappleBtn,
  #respawnBtn
) {
  opacity: calc(var(--hud-button-opacity) * var(--hud-button-press));
  filter: grayscale(var(--hud-button-monochrome));
}

.window-content {
  background: #fff;
  max-height: 85%;
  max-width: 80%;
  min-width: 64%;
  border-radius: 1.5vw;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #FFFFFFDD;
}


.window-header {
  font: 600 4vmin "Outline";
  height: 5vw;
  text-align: center;
  border-radius: 0.5vw;
  margin: 1vw;
  padding: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(59, 130, 246, 0.05));
  border: 0.1vw solid rgba(59, 130, 246, 0.35); 
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0 0 0.6vw rgba(15, 23, 42, 0.45);
}

.window-header__title {
    font-size: 2vw;
    letter-spacing: 0.1vw;
    text-transform: uppercase;
}

.window-body {
  padding: 0 0 4vw 0;
  margin: 0;
  padding-left: 0px;
  padding-top: 1vw;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  scrollbar-width: thin;
  width: 100%;
  background-color: transparent;
  scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
}

.snay-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
}

.window-body::-webkit-scrollbar,
.snay-scrollbar::-webkit-scrollbar {
  width: var(--scrollbar-width);
  background: transparent;
}

.window-body::-webkit-scrollbar-track,
.snay-scrollbar::-webkit-scrollbar-track {
  background: var(--scrollbar-track-color);
  box-shadow: none;
}

.window-body::-webkit-scrollbar-thumb,
.snay-scrollbar::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb-color);
  border-radius: 999px;
}

.window-body::-webkit-scrollbar-thumb:hover,
.snay-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover-color);
}

:root {
  --scrollbar-track-color: rgba(255, 255, 255, 0);
  --scrollbar-thumb-color: rgba(91, 201, 255, 0.32);
  --scrollbar-thumb-hover-color: rgba(91, 201, 255, 0.55);
  --scrollbar-width: 0.45vw;
}



.window-body .slider {
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  margin-top: 13px;
  margin-bottom: 13px;
  border-radius: 5px;
  background: rgb(172, 172, 172);
  outline: none;
  opacity: 1;
  -webkit-transition: .2s;
  transition: opacity .2s;
  pointer-events: none;
}

.window-body .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 3vw;
  height: 3vw;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 50%;
  background-image: url("./assets/img/modmenu-thumb.png");
  background-size: 100% 100%;
  background-color: #FFF;
  cursor: pointer;
  pointer-events: all;
}

.window-body .slider::-moz-range-thumb {
  width: 3vw;
  height: 3vw;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 50%;
  background-image: url("./assets/img/modmenu-thumb.png");
  background-size: 100% 100%;
  background-color: #FFF;
  cursor: pointer;
  pointer-events: all;
}

.window {
  opacity: 20;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  max-width: 160%;
  min-width: 20%;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

#contacts,
#account,
#leaderboards,
#players,
#policy,
#quests,
#thanks,
#vip,
#news {
  z-index: 202;
}

#contact-btn,
#policy-btn,
#thanks-btn {

  border-radius: 1vh;
  height: 50px;
  border-style: none;
  margin-left: auto;
  margin-right: auto;
}

#contact-btn,
#policy-btn,
#thanks-btn {
  background: url(./assets/img/Play.png);
}

#thanks-btn {

  background: url(./assets/img/credits.png);

}

#contact-btn {

  background: url(./assets/img/contact.png);

}

#policy-btn {

  background: url(./assets/img/legal.png);

}

.settings-subtitle {

  text-align: center
}




.windowclosebtn {
  background: url(./assets/img/Close.png);
    border-style: none;
  background-repeat: no-repeat;
  float: right;
  width: 5vw;
  height: 5vw;
  border-radius: 0 0.3vw 0.3vw 0vw;
  background-image: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin: 0;
  position: relative;
  background-size: initial;
  background-repeat: no-repeat;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.windowclosebtn::before,
.windowclosebtn::after {
  content: "";
  position: absolute;
  width: 2.4vw;
  height: 0.22vw;
  background: #f8fafc;
  transition: background 0.15s ease;
}

.windowclosebtn::before {
    transform: rotate(45deg);
}

.windowclosebtn::after {
    transform: rotate(-45deg);
}

.windowclosebtn:hover {
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.75), rgba(37, 99, 235, 0.75));
  box-shadow: 0 0.9vw 1.6vw rgba(37, 99, 235, 0.45);
}

.quick {
  height: 40px;
  display: block;
  text-align: center
}

.quick,
.quick:focus {
  color: #838383
}

.quick {
  width: 100%;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none !important;
  padding-top: 5px;
}

.quick:hover {
  background-color: #838383;
  color: #002f52
}

:root {
  --gl-visibility: none;
  --canvas-visibility: none;
  --text-stroke: black;
  --global-transform: scale(1, 1);
  --kill-feed-font-size: clamp(0.9vw, 1.2vw, 1.5vw);
  --kill-feed-player-max-width: 8vw;
  --kill-feed-letter-spacing: 0.25vw;
  --minimap-size: 12vw;
}

.onlygl {
  display: var(--gl-visibility, none) !important;
}

.onlycanvas {
  display: var(--canvas-visibility, none) !important;
}

.ads {
  /*background-color: red;*/
  z-index: 50;
}

#minimap {
  position: absolute;
  bottom: 5.5vw;
  right: 1vw;
  width: var(--minimap-size, 12vw);
  height: var(--minimap-size, 12vw);
  background-color: rgba(14, 14, 14, 0.8);
  border: solid 0.15vw #ffffff77;
  border-radius: 0.8vw;
  box-shadow: 0 0.4vw 1vw rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

#minimap svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#minimap svg:first-child {
  z-index: 1;
}

#minimap svg:last-child {
  z-index: 2;
  pointer-events: none;
}

.minimap-node {
}

.minimap-text {
  text-anchor: middle;
  dominant-baseline: middle;
  font-family: Arial, Helvetica, sans-serif;
  color: #eee;
}

.text-small {
  font-size: 2.5vmin;
}

.text-medium {
  font-size: calc((.4em + 2vmin) + (.4em + 2vmax));
}

.text-big {
  font-size: calc((.4em + 3vmin) + (.4em + 3vmax));
}

#leaderboard {
  display: flex;
  flex-direction: column;
  gap: 0.2vw;
  padding: 0.3vw 0.7vw 0.6vw;
  width: 19vw;
  height: auto;
  margin: 0;
  overflow: hidden;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 1.45vw;
  line-height: 1.05;
  position: absolute;
  top: 1vw;
  right: 1vw;
  z-index: 1;
  color: #eee;
  background: linear-gradient(
    135deg,
    rgba(10, 14, 25, 0.9),
    rgba(18, 26, 40, 0.9)
  );
  border-radius: 0.8vw;
  border: 0.12vw solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0.5vw 1.4vw rgba(0, 1, 3, 0.5);
}

#leaderboard.leaderboard--orc {
  font-size: 1.45vw;
  line-height: 1.05;
}

#leaderboard.leaderboard--orc .leaderboard-row {
  grid-template-columns: 1fr 2.8fr 1.3fr;
  padding: 0.12vw 0.3vw;
  gap: 0.12vw;
}

#leaderboard-data {
  display: flex;
  flex-direction: column;
  gap: 0.5vw;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.2vw;
}

#leaderboard div {
  margin: 0px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leaderboard-row.leaderboard-row--header {
  margin-top: 0.5vw !important;
  padding-top: 0.5vw;
}

#leaderboard p {
  margin: 0px 0 0px;
  /*-webkit-text-fill-color: black;
  -webkit-text-stroke-color: var(--text-stroke, black);
  -webkit-text-stroke-width: 0.2vw; */
  font-weight: bold;
  font-family: "Open Sans";
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 1fr 2.8fr 1.3fr;
  align-items: center;
  gap: 0.12vw;
  padding: 0.12vw 0.3vw;
  background: linear-gradient(90deg, rgba(7, 12, 24, 0.65), rgba(12, 18, 32, 0.75));
  border: 0.08vw solid rgba(255, 255, 255, 0.08);
  border-radius: 0.6vw;
  color: #f7f8ff;
  font-size: 0.88em;
  pointer-events: none;
}

.leaderboard-row--header {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82em;
  color: #cbd7ff;
  background: linear-gradient(90deg, rgba(117, 160, 255, 0.18), rgba(82, 115, 212, 0.18));
  border-color: rgba(117, 160, 255, 0.35);
  margin-top: 0.5vw;
}

.leaderboard-row.me {
  background: linear-gradient(90deg, rgba(255, 216, 102, 0.25), rgba(255, 184, 77, 0.22));
  border-color: var(--leaderboard-row-accent, rgba(255, 216, 102, 0.8));
  box-shadow: 0 0.45vw 1.5vw rgba(255, 195, 100, 0.35);
}

.leaderboard-row.team {
  outline: 0.12vw solid rgba(126, 255, 202, 0.6);
  box-shadow: 0 0.35vw 1vw rgba(126, 255, 202, 0.25);
}

.leaderboard-row--text {
  grid-template-columns: 1fr;
  background: linear-gradient(90deg, rgba(25, 33, 50, 0.75), rgba(18, 24, 36, 0.8));
  border-color: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  font-size: 0.95em;
}

.leaderboard-rank {
  color: var(--leaderboard-row-accent, #9cc4ff);
  font-weight: 800;
}

.leaderboard-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.leaderboard-name-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.25vw;
  min-width: 0;
}

.leaderboard-name-wrap .leaderboard-name {
  flex: 1;
  min-width: 0;
}

.leaderboard-badge {
  width: 1.6vw;
  height: 1.6vw;
  object-fit: contain;
  filter: drop-shadow(0 0 0.2vw rgba(0, 0, 0, 0.35));
}

.leaderboard-level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8vw;
  height: 1.8vw;
  background: url("./assets/img/level_icone.png") center/contain no-repeat;
}

.leaderboard-level-value {
  font-weight: 800;
  color: #ffe9a6;
  font-size: 0.9em;
  text-shadow:
    0 0.06vw 0.2vw rgba(0, 0, 0, 0.65),
    0 0 0.4vw rgba(0, 0, 0, 0.35);
}

.leaderboard-kills {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.9);
}

#server-name {
  display: none;
}

#chat {
  overflow-y: auto;
  background-color: #00000030;
  transition: background-color 0.2s ease;
  font-weight: bold;
  font-size: 1vw;
  color: rgb(80, 170, 255);
  position: absolute;
  top: 18vw;
  left: 1vw;
  width: 30vw;
  height: 16vw;
  z-index: 1;
  transform: scaleX(-1);
  pointer-events: auto;
  border-radius: 0;
  border-top-left-radius: 0.6vw;
  border-bottom-left-radius: 0.6vw;
  scrollbar-width: auto;
  scrollbar-color: rgba(255, 255, 255, 0.75) rgba(0, 0, 0, 0.35);
  scrollbar-gutter: stable;
}

#chat::-webkit-scrollbar {
  width: 0.75vw;
}

#chat::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
}

#chat::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  border: 0.18vw solid rgba(0, 0, 0, 0.35);
}

#chat::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.9);
}

#chat.chat--focus {
  background-color: rgba(0, 0, 0, 0.6);
}

#chat>* {
  transform: scaleX(-1);
}

#chat p {
  margin: 0.3vw;
  padding: 0.15vw 0;
  border-radius: 0;
  background: transparent;
  text-shadow: none;

  /*-webkit-text-fill-color: black;
  -webkit-text-stroke-color: var(--text-stroke, black);
  -webkit-text-stroke-width: 0.1vmin; */
}

#chat p>img,
.chat-prefix img {
  display: inline-block;
  vertical-align: middle;
  border: none;
  width: 1.5vw;
  height: 1.5vw;
  margin-right: 0;
}

.chat-nickname {
  display: inline-flex;
  align-items: center;
  gap: 0.25vw;
  padding: 0.12vw 0.35vw;
  border-radius: 0.35vw;
  font-weight: 600;
  margin-right: 0.25vw;
}

.chat-prefix {
  display: inline-flex;
  align-items: center;
  gap: 0.25vw;
  white-space: nowrap;
}

.chat-player {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 0.25vw;
}

.chat-message {
  color: #ffffff;
  display: inline-block;
  padding: 0.12vw 0.35vw;
  border-radius: 0.35vw;
  background: rgba(0, 0, 0, 0.32);
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#chat p.chat-server {
  padding: 0.15vw 0.4vw;
  border-radius: 0.4vw;
  background: var(--chat-message-bg, rgba(0, 0, 0, 0.32));
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(136, 136, 136, 0.5);
}

::-webkit-scrollbar-track {
  background: #00000055;
}

#stats1 {
  position: absolute;
  width: fit-content;
  top: 0;
  left: 50%;
  right: 0;
  z-index: 1;
  color: #eee;
  background-color: #00000044;
  text-align: center;
  transform: translateX(-50%);
}

.window {
  font: bold 1.5vmin "Open Sans";
}

#stats2 {
  position: absolute;
  bottom: 0px;
  right: 0;
  z-index: 1;
  color: #eee;
  background-color: #00000044;
}

#stats3 {
  position: absolute;
  bottom: 0;
  left: 43vw;
  z-index: 1;
  color: #eee;
  background-color: #00000044;
}

#stats1 img {
  width: 18px;
  height: 18px;
  object-fit: fill;
}

#ping,
#fps,
#bandwidth,
#stability-icone,
#stability {
  display: inline-block;
  width: 2.8em;
  text-align: left;
}

#stability {
  width: 10em;
}

#mycells {
  display: inline-block;
  width: 2em;
  text-align: right;
}

#game-over {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 210;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: var(--app-width, 100vw);
  height: var(--app-height, 100vh);
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, rgba(125, 185, 232, 0) 100%);
  color: rgb(255, 255, 255);
  font-family: sans-serif;
  font-size: 2vmin;
  font-weight: bold;
}

body.mode-game-over #game-over {
  pointer-events: none;
}

body.mode-game-over #game-over-content,
body.mode-game-over #game-over > span,
body.mode-game-over #game-over .ads {
  pointer-events: auto;
}

body.mode-game-over #modmenubtn,
body.mode-game-over #vipmenubtn,
body.mode-game-over #ReplaySaveBtn,
body.mode-game-over #lead-btn,
body.mode-game-over #chatBtn,
body.mode-game-over #voiceBtn,
body.mode-game-over #leaderboards-btn,
body.mode-game-over #chat_input_container,
body.mode-game-over #voice_chat_menu,
body.mode-game-over #leaderboard,
body.mode-game-over #replay-controls {
  z-index: 230 !important;
  pointer-events: auto;
}

body.mode-game-over #modmenu,
body.mode-game-over #vipmenu,
body.mode-game-over #blockmenu,
body.mode-game-over #moderator-actions-menu,
body.mode-game-over #leaderboards,
body.mode-game-over #replays {
  z-index: 260 !important;
  pointer-events: auto;
}

#game-over button {
  border-radius: 20px;
  background-color: #9090a0;
  background-size: cover;
  background-clip: border-box;
}

#game-over span {
  font-size: 2.2vmin;
}

.me {
  background-color: #88888888 !important;
}

.team {
  background-color: #AAAAAAAA;
}

#account {
  z-index: 300;
}

#account-body {}

#account-body span {
  display: inline-block;
  width: 50%;
  font-size: 1em;
  font-family: sans-serif;
  font-weight: bold;
  line-height: 1;
  color: #555;
  border: 0;
  background-color: rgba(255, 255, 255, 0);
  float: left;
  border-radius: 0.4vw;
  width: 30vw;
  height: 4.5vw;
}

#account-body .Level {
  width: 28vw;
  font-size: 1.5vw;
  margin-left: 1vw;
  color: #313131;
}

#account-body .Choco {
  width: 14vw;
  font-size: 1.5vw;
  margin-left: 1vw;
  color: #313131;
}

#account-body .XP {
  width: 14vw;
  font-size: 1.5vw;
  color: #313131;
}

#account-body .ID {
  margin-top: 0.5vw;
  width: 28vw;
  font-size: 1.5vw;
  height: 2vw;
  margin-left: 1vw;
  color: #313131;
}

#account-body .Name {
  width: 30vw;
  font-size: 1.5vw;
  height: 2vw;
  text-align: center;
  z-index: 99999;
  color: white;
  text-shadow: 0.2em 0.2em 0.4em rgba(0, 0, 0, 0.5);
  /* Adds a drop shadow to the text */
  -webkit-text-stroke: 0.03em black;
  /* Adjust the stroke thickness here */
}


#Stats .StatsSpan {
  background-color: #000;
  width: 50%;
  display: none;

}

#player-name {
  display: inline-block;
  vertical-align: middle;
}

#player-name {
  width: 100%;
}

#player-achievements {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  padding-left: 20px;
}

#player-achievements img {
  height: 20px;
  width: 20px;
  margin-left: 0px;
}

#leaderboards-body li {
  background-color: transparent;
  border: none;
  border-radius: 1vw;
  width: 100%;
  text-align: left;
  font-weight: bold;
  font-size: 2vw;
  font-family: sans-serif;
  margin: 1vw;
  list-style-type: none;
  overflow: hidden;
  color: #f4f6fb;
  box-shadow: none;
}

#leaderboards-body li span {
  margin-right: 1vw;
  margin-left: 1vw;
  white-space: nowrap;
  color: #cbd5ff;
}

.key-bindings-wrapper {
  width: 55vw;
  max-width: 100%;
  overflow-x: auto;
  padding-right: 0.5vw;
}

.key-bindings-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5vw;
}

.key-row {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 0.4vw;
  align-items: center;
  padding: 0.45vw 0.6vw;
  border-radius: 0.5vw;
  border: 0.08vw solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 17, 23, 0.55);
}

.key-row--header {
  text-transform: uppercase;
  font-size: 0.9vw;
  letter-spacing: 0.08em;
  color: rgba(244, 246, 251, 0.85);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.key-row--header span {
  font-weight: 700;
  text-align: center;
}

.key-row--header span:first-child {
  text-align: left;
  justify-content: flex-start;
}

.key-row__header-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35vw;
}

.key-row__header-icon {
  width: 2vw;
  height: 2vw;
  object-fit: contain;
  flex-shrink: 0;
}

.key-row__action {
  font-weight: 600;
  color: #e5edff;
  font-size: 1vw;
}

.key-row__binding {
  border: 0.08vw solid rgba(255, 255, 255, 0.12);
  border-radius: 0.4vw;
  padding: 0.35vw 0.6vw;
  background: rgba(255, 255, 255, 0.04);
  color: #f4f6fb;
  font-size: 0.95vw;
  text-align: center;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.key-row__binding:hover,
.key-row__binding:focus-visible {
  border-color: rgba(95, 198, 255, 0.8);
  background: rgba(111, 199, 255, 0.12);
  outline: none;
}

.key-row__binding.listening {
  border-color: #3ecfff;
  background: rgba(62, 207, 255, 0.2);
  color: #ffffff;
}

.key-row__binding[data-empty="true"] {
  color: rgba(244, 246, 251, 0.55);
  font-style: italic;
}

.controller-settings-panel {
  margin-top: 1vw;
  padding: 1vw 1.2vw;
  border: 0.08vw solid rgba(255, 255, 255, 0.08);
  border-radius: 0.6vw;
  background: rgba(13, 17, 23, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.8vw;
}

.controller-settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2vw;
  flex-wrap: wrap;
}

.controller-settings-panel + .controller-settings-panel {
  margin-top: 0.8vw;
}

.controller-settings-title {
  margin: 0;
  font-size: 1vw;
  font-weight: 600;
  color: #f4f6fb;
}

.controller-settings-subtitle {
  margin: 0.2vw 0 0;
  font-size: 0.85vw;
  color: rgba(244, 246, 251, 0.7);
}

.controller-sensitivity-slider {
  display: flex;
  align-items: center;
  gap: 0.6vw;
  min-width: 14vw;
}

.controller-sensitivity-slider input[type="range"] {
  width: 14vw;
}

.controller-slider-value {
  font-weight: 600;
  color: #9fd5ff;
  font-size: 0.95vw;
}

.controller-reset-button {
  padding: 0.4vw 1.4vw;
  font-size: 0.95vw;
  font-weight: 600;
  border: 0.08vw solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5vw;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}

.controller-reset-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.controller-toggle-row {
  display: flex;
  flex-direction: column;
  gap: 0.8vw;
}

.controller-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2vw;
}

.controller-toggle-text p {
  margin: 0;
  font-size: 0.95vw;
  color: #f4f6fb;
  font-weight: 600;
}

.controller-toggle-text small {
  display: block;
  margin-top: 0.15vw;
  font-size: 0.8vw;
  color: rgba(244, 246, 251, 0.7);
}

.controller-toggle-switch {
  display: flex;
  align-items: center;
}

.controller-toggle-switch input[type="checkbox"] {
  width: 3em;
  height: 1.6em;
  visibility: hidden;
}

.controller-toggle-switch label {
  width: 3em;
  height: 1.6em;
  text-indent: -15em;
}

.fade-in {
  animation: fadeIn ease 0.5s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.fade-out {
  animation: fadeOut ease 0.5s;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.window.fade-in,
.modern-gallery.fade-in {
  animation: fadeIn ease 0.5s;
  will-change: opacity;
}

.window.fade-out,
.modern-gallery.fade-out {
  animation: fadeOut ease 0.5s;
  will-change: opacity;
}

.selectable {
  color: rgba(100, 100, 100, 0.8);
  transition: color 0.1s linear;
  cursor: pointer;
}

.selectable:hover {
  color: #93a7e1;
}

[hidden] {
  display: none !important;
}

@import url(/_remote/fonts.googleapis.com/css?family=Roboto:400,900italic,900,700italic,700,500italic,500,400italic,300italic,300,100italic,100);

*.hidden {
  display: none !important;
}

.counter h1,
.counter p {
  margin: 0;
  padding: 0;
}

.counter {
  text-align: center;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 66%;
  left: 50%;
  top: 70%;
}

.counter p {
  font-size: 4vmin;
  font-weight: 100;
  color: #000000;
}

.counter h1 {
  color: #000000;
  font-size: 6vmin;
  margin-top: -1vmin;
}

.counter hr {
  background: #ff2121;
  border: none;
  height: 0.1vmin;
}

.loading {
  margin: 0px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: black;
  background-image: url(./assets/img/background-eyes-hand-fixed.png);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--app-height, 100vh);
  width: var(--app-width, 100vw);
  z-index: 999;
}

.loading-container {
  width: 50vmin;
  height: 50vmin;
  border-radius: 100%;
  background-image: url(./assets/img/logo.png);
  background-size: cover;
  position: relative;
}

.loader:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 100%;
  border-bottom: 0 solid #ffffff05;

  box-shadow:
    0 -10px 20px 20px #ffffff40 inset,
    0 -5px 15px 10px #ffffff50 inset,
    0 -2px 5px #ffffff80 inset,
    0 -3px 2px #ffffffBB inset,
    0 2px 0px #ffffff,
    0 2px 3px #ffffff,
    0 5px 5px #ffffff90,
    0 10px 15px #ffffff60,
    0 10px 20px 20px #ffffff40;
  animation: 2s rotate linear infinite;
}

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

.swal-footer {
  text-align: center;
}

.fs40 {
  font-size: 40px;
}

.oneToThree {
  width: 33rem;
}

.boost-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  gap: 2vw;
  margin: 0vw;
  padding: 0vw;
}

.boost-container--store {
  grid-template-columns: repeat(auto-fit, minmax(18vw, 1fr));
  width: 100%;
  justify-items: center;
}

.boost-container--store .boost-card {
  width: 18vw;
  height: 18vw;
}

.boost-card {
  position: relative;
  width: 100%;
  min-height: 22vw;
  display: flex;
  flex-direction: column;
  gap: 0.8vw;
  cursor: pointer;
  border-radius: 1.4vw;
  border: 0.12vw solid rgba(53, 61, 85, 0.8);
  background: linear-gradient(150deg, rgba(25, 31, 49, 0.95), rgba(12, 15, 25, 0.95));
  box-shadow: 0 1.4vw 2.8vw rgba(0, 0, 0, 0.45);
  padding: 1.5vw;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.boost-card:focus-visible {
  outline: 0.18vw solid rgba(91, 201, 255, 0.65);
  outline-offset: 0.24vw;
}

.boost-card:hover {
  transform: translateY(-0.3vw);
  box-shadow: 0 1.8vw 3.2vw rgba(9, 12, 20, 0.55);
}

.boost-card__badge {
  align-self: flex-start;
  padding: 0.3vw 0.9vw;
  border-radius: 999px;
  font-size: 0.9vw;
  letter-spacing: 0.15vw;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: #d0d6f1;
  line-height: 1.2vw;
}

.boost-card__title {
  margin: 0vw;
  font-size: 1.4vw;
  font-weight: 700;
  color: #f5f8ff;
  letter-spacing: 0.08vw;
  text-transform: uppercase;
  line-height: 1.8vw;
}

.boost-card__description {
  margin: 0vw;
  font-size: 1vw;
  line-height: 1.4vw;
  color: #a5b0cf;
}

.boost-card__art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-radius: 1vw;
  padding: 0.5vw;
}

.boost-card__image {
  width: 80%;
  max-width: 11vw;
  height: auto;
  border-radius: 1vw;
  box-sizing: border-box;
}

.boost-card__price {
  position: static !important;
  transform: none !important;
  left: auto !important;
  bottom: auto !important;
  min-width: auto;
  align-self: center;
  margin: 1vw auto 0vw;
}

.boost-card--xp {
  border-color: rgba(254, 220, 15, 0.5);
  background: linear-gradient(155deg, rgba(41, 34, 12, 0.95), rgba(15, 11, 4, 0.95));
}

.boost-card--xp .boost-card__badge {
  background: rgba(254, 220, 15, 0.18);
  color: #ffe58a;
}

.boost-card--xp .boost-card__art {
  background: radial-gradient(circle at 50% 20%, rgba(254, 220, 15, 0.35), rgba(254, 220, 15, 0.05));
}

.boost-card--mass {
  border-color: rgba(122, 226, 255, 0.55);
  background: linear-gradient(155deg, rgba(12, 28, 41, 0.95), rgba(4, 10, 16, 0.95));
}

.boost-card--mass .boost-card__badge {
  background: rgba(122, 226, 255, 0.18);
  color: #a8efff;
}

.boost-card--mass .boost-card__art {
  background: radial-gradient(circle at 50% 20%, rgba(122, 226, 255, 0.35), rgba(122, 226, 255, 0.05));
}

.swal-modal.boost-modal {
  background-color: #14161c;
  color: #f1f3f6;
  border: 0.12vw solid #232732;
  box-shadow: 0 1.6vw 4vw rgba(0, 0, 0, 0.55);
  width: 50vw;
  border-radius: 1.2vw;
  padding: 2.4vw;
}

.swal-modal.boost-modal .swal-title {
  color: inherit;
  font-size: 2.8vw;
  margin: 0vw 0vw 1.6vw 0vw;
  padding: 0vw 0vw 1vw 0vw;
  text-transform: uppercase;
  letter-spacing: 0.4vw;
  font-weight: 800;
  text-align: center;
  position: relative;
  display: inline-block;
  text-shadow: 0 0.35vw 0.85vw rgba(0, 0, 0, 0.6);
  line-height: 3.2vw;
}

.swal-modal.boost-modal--xp .swal-title {
  color: #fedc0f;
  background: linear-gradient(135deg, #fff59d, #fbc02d 45%, #ffeb3b 65%, #f57f17);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0.4vw 0.9vw rgba(255, 221, 77, 0.4);
}

.swal-modal.boost-modal--mass .swal-title {
  color: #2d5ae5;
  background: linear-gradient(135deg, #90caf9, #2962ff 50%, #0d1c8c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0.4vw 0.9vw rgba(45, 90, 229, 0.45);
}

.swal-modal.boost-modal .swal-content {
  color: #c4c9d4;
  font-size: 1.2vw;
  margin: 0vw 0vw 2vw 0vw;
  padding: 0vw 1.6vw 0vw 1.6vw;
  line-height: 1.6vw;
}

.swal-modal.boost-modal .swal-content * {
  margin: 0vw;
  padding: 0vw;
}

.swal-modal.boost-modal .boost-card__image {
  background: radial-gradient(circle at 50% 20%, #1f232d, #11131a);
  box-shadow: 0 1.2vw 2vw rgba(0, 0, 0, 0.35);
  padding: 1.4vw;
}

.swal-modal.boost-modal .swal-footer {
  background-color: transparent;
  border-top: 0.12vw solid #1f222b;
  margin: 2.4vw 0vw 0vw 0vw;
  padding: 1.6vw 0vw 0vw 0vw;
}

.swal-modal.boost-modal .swal-footer .swal-button {
  margin: 0vw 1vw 0vw 1vw;
}

.swal-modal.boost-modal .swal-button,
.swal-modal.boost-modal .swal-button--cancel,
.swal-modal.boost-modal .swal-button--confirm {
  padding: 1.1vw 2.2vw;
  border-radius: 0.9vw;
  font-size: 1.2vw;
  margin: 0vw;
  line-height: 1.4vw;
}

.swal-modal.boost-modal .swal-button.boost-cancel {
  background: linear-gradient(135deg, rgba(32, 38, 52, 0.8), rgba(18, 22, 31, 0.95));
  color: #cbd6f6;
  border: 0.12vw solid rgba(83, 104, 162, 0.6);
  box-shadow: inset 0 0.25vw 0.65vw rgba(255, 255, 255, 0.08), 0 1.2vw 2.4vw rgba(13, 18, 30, 0.35);
  padding: 1.3vw 2.8vw;
  border-radius: 1.1vw;
  font-size: 1.4vw;
  letter-spacing: 0.18vw;
  text-transform: uppercase;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.swal-modal.boost-modal .swal-button.boost-cancel:hover {
  background: linear-gradient(135deg, rgba(45, 67, 120, 0.85), rgba(18, 24, 42, 0.95));
  color: #ffffff;
  transform: translateY(-0.25vw);
  box-shadow: inset 0 0.35vw 0.85vw rgba(255, 255, 255, 0.15), 0 1.6vw 3.2vw rgba(13, 18, 30, 0.45);
}

.swal-modal.boost-modal .swal-button.boost-cancel:active {
  transform: translateY(0.05vw);
  box-shadow: inset 0 0.45vw 0.95vw rgba(0, 0, 0, 0.4), 0 0.8vw 1.6vw rgba(13, 18, 30, 0.4);
}

.boost-price-chip {
  position: absolute;
  bottom: 1.4vw;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
  width: 12vw;
  justify-content: center;
}

.boost-price-chip.skin-chip--price {
  align-items: center;
  text-align: center;
  gap: 0.45vw;
  padding: 0.95vw 2.4vw;
  height: 4.8vw;
}

.boost-price-chip__current {
  font-size: 2vw;
  font-weight: 600;
  line-height: 2.4vw;
}

.boost-price-chip__old {
  font-size: 2vw;
  line-height: 2.4vw;
}

 .swal-modal.store-modal-dialog {
   background-color: #10131d;
   color: #f4f7fe;
   border: 0.12vw solid #262b3a;
   box-shadow: 0 1.8vw 4.4vw rgba(0, 0, 0, 0.65);
   width: 48vw;
   border-radius: 0;
 padding: 0vw;
}

.swal-modal--inactive {
  pointer-events: none;
}

.swal-modal.store-modal-dialog .swal-title {
  display: none;
}

.swal-modal.store-modal-dialog .swal-content {
  margin: 0vw;
  padding: 3vw 3.2vw 2.4vw;
  color: inherit;
  font-size: 1.2vw;
  line-height: 1.6vw;
}

.store-modal {
  display: flex;
  flex-direction: column;
  gap: 2.4vw;
}

.store-modal__header {
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

.store-modal__title {
  margin: 0vw;
  font-size: 2.6vw;
  font-weight: 800;
  letter-spacing: 0.32vw;
  text-transform: uppercase;
  text-shadow: 0 0.35vw 0.85vw rgba(0, 0, 0, 0.55);
  line-height: 3vw;
}

.store-modal__subtitle {
  margin: 0vw;
  font-size: 1.2vw;
  color: #95a1c0;
  line-height: 1.6vw;
}

.store-modal__body {
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.store-modal__price-chip {
  align-self: flex-end;
  pointer-events: none;
  margin-top: -0.4vw;
}

.store-modal__input {
  width: 100%;
  border: 0.12vw solid #2c3243;
  border-radius: 1.1vw;
  background: linear-gradient(135deg, rgba(24, 29, 40, 0.95), rgba(16, 20, 29, 0.98));
  color: #f4f7ff;
  padding: 1.2vw 1.6vw;
  font-size: 1.2vw;
  letter-spacing: 0.08vw;
  box-shadow: inset 0 0.55vw 1.2vw rgba(0, 0, 0, 0.3);
}

.store-modal__input::placeholder {
  color: #6f7a95;
}

.store-modal__input:focus {
  border-color: #3d6bff;
  box-shadow: 0 0 0 0.25vw rgba(61, 107, 255, 0.25);
}

.store-modal__textarea {
  width: 100%;
  min-height: 8vw;
  border: 0.12vw solid #2c3243;
  border-radius: 1.1vw;
  background: linear-gradient(135deg, rgba(24, 29, 40, 0.95), rgba(16, 20, 29, 0.98));
  color: #f4f7ff;
  padding: 1.4vw 1.8vw;
  font-size: 1.2vw;
  line-height: 1.5vw;
  letter-spacing: 0.06vw;
  resize: vertical;
  box-shadow: inset 0 0.55vw 1.2vw rgba(0, 0, 0, 0.3);
}

.store-modal__textarea::placeholder {
  color: #6f7a95;
}

.store-modal__textarea:focus {
  border-color: #f0a35e;
  box-shadow: 0 0 0 0.25vw rgba(240, 163, 94, 0.25);
}

.store-modal__helper {
  margin: 0vw;
  font-size: 1vw;
  color: #8692b3;
  line-height: 1.4vw;
}

.store-modal__helper--muted {
  color: #6f7694;
  font-size: 0.95vw;
  line-height: 1.3vw;
}

.store-modal--kill-customize .store-modal__title {
  color: #ffb078;
}

.store-modal__choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18vw, 1fr));
  gap: 2vw;
}

.store-modal__choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4vw;
  padding: 1.8vw 2vw;
  border-radius: 1.2vw;
  border: 0.12vw solid rgba(46, 54, 76, 0.78);
  background: linear-gradient(155deg, rgba(24, 30, 44, 0.92), rgba(11, 14, 22, 0.98));
  box-shadow: 0 1.6vw 3.4vw rgba(0, 0, 0, 0.52);
  position: relative;
}

.store-modal__choice-card--message {
  border-color: rgba(255, 176, 120, 0.76);
  box-shadow: 0 1.8vw 3.2vw rgba(255, 176, 120, 0.35);
}

.store-modal__choice-card--gif {
  border-color: rgba(116, 170, 255, 0.75);
  box-shadow: 0 1.8vw 3.2vw rgba(79, 134, 255, 0.32);
}

.store-modal__choice-card--name {
  border-color: rgba(254, 220, 15, 0.75);
  box-shadow: 0 1.8vw 3.2vw rgba(254, 220, 15, 0.3);
}

.store-modal__choice-card--color {
  border-color: rgba(110, 231, 255, 0.7);
  box-shadow: 0 1.8vw 3.2vw rgba(110, 231, 255, 0.32);
}

.store-modal__choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.2vw;
  height: 4.2vw;
  border-radius: 1.1vw;
  background: rgba(255, 176, 120, 0.18);
  font-size: 2.2vw;
  box-shadow: inset 0 0.4vw 0.9vw rgba(0, 0, 0, 0.35);
}

.store-modal__choice-card--gif .store-modal__choice-icon {
  background: rgba(126, 176, 255, 0.18);
}

.store-modal__choice-card--name .store-modal__choice-icon {
  background: rgba(254, 220, 15, 0.2);
}

.store-modal__choice-card--color .store-modal__choice-icon {
  background: rgba(110, 231, 255, 0.2);
}
.store-modal__choice-title {
  margin: 0vw;
  font-size: 1.6vw;
  font-weight: 700;
  letter-spacing: 0.18vw;
  text-transform: uppercase;
  color: #f4f7ff;
  line-height: 2vw;
}

.store-modal__choice-description {
  margin: 0vw;
  font-size: 1.05vw;
  line-height: 1.6vw;
  color: #9eabc9;
}

.store-modal__choice-price {
  align-self: flex-start;
}

.store-modal__choice-card--message .store-modal__choice-price {
  border-color: rgba(255, 176, 120, 0.65);
}

.store-modal__choice-card--gif .store-modal__choice-price {
  border-color: rgba(116, 170, 255, 0.65);
}

.store-modal__choice-card--name .store-modal__choice-price {
  border-color: rgba(254, 220, 15, 0.65);
}

.store-modal__choice-card--color .store-modal__choice-price {
  border-color: rgba(110, 231, 255, 0.65);
}

.store-modal__choice-btn {
  margin-top: auto;
  padding: 1.1vw 2.4vw;
  border-radius: 0.9vw;
  border: 0.12vw solid rgba(255, 176, 120, 0.4);
  background: linear-gradient(135deg, rgba(255, 178, 122, 0.85), rgba(255, 154, 84, 0.85));
  color: #10131d;
  font-weight: 700;
  font-size: 1.15vw;
  letter-spacing: 0.12vw;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.store-modal__choice-card--gif .store-modal__choice-btn {
  border-color: rgba(116, 170, 255, 0.4);
  background: linear-gradient(135deg, rgba(126, 176, 255, 0.9), rgba(85, 140, 255, 0.9));
  color: #0e1330;
}

.store-modal__choice-card--name .store-modal__choice-btn {
  border-color: rgba(254, 220, 15, 0.55);
  background: linear-gradient(135deg, rgba(254, 220, 15, 0.88), rgba(255, 190, 0, 0.88));
}

.store-modal__choice-card--color .store-modal__choice-btn {
  border-color: rgba(110, 231, 255, 0.45);
  background: linear-gradient(135deg, rgba(110, 231, 255, 0.9), rgba(64, 196, 255, 0.9));
  color: #061024;
}

.store-modal__choice-btn:hover {
  transform: translateY(-0.2vw);
  box-shadow: 0 1.6vw 3.2vw rgba(255, 176, 120, 0.4);
}

.store-modal__choice-card--gif .store-modal__choice-btn:hover {
  box-shadow: 0 1.6vw 3.2vw rgba(116, 170, 255, 0.45);
}

.store-modal__choice-card--name .store-modal__choice-btn:hover {
  box-shadow: 0 1.6vw 3.2vw rgba(254, 220, 15, 0.45);
}

.store-modal__choice-card--color .store-modal__choice-btn:hover {
  box-shadow: 0 1.6vw 3.2vw rgba(110, 231, 255, 0.45);
}

.store-modal__choice-btn:active {
  transform: translateY(0.05vw);
  box-shadow: inset 0 0.6vw 1.1vw rgba(0, 0, 0, 0.35);
}

.store-modal__color-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.6vw;
  width: 100%;
  border-radius: 1.2vw;
  border: 0.12vw solid #2c3144;
  background: linear-gradient(135deg, rgba(26, 31, 45, 0.95), rgba(15, 19, 29, 0.98));
  padding: 1.8vw 2.2vw;
  position: relative;
  color: #e4e9ff;
  box-shadow: 0 1.2vw 2.8vw rgba(0, 0, 0, 0.45);
}

.store-modal__color-preview::before {
  content: "";
  width: 6vw;
  height: 6vw;
  border-radius: 1.2vw;
  background: var(--store-color-preview, #ffffff);
  box-shadow: 0 0.9vw 1.8vw rgba(0, 0, 0, 0.4);
}

.store-modal__color-label {
  font-size: 1.2vw;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18vw;
  line-height: 1.8vw;
}

.store-modal__color-code {
  font-size: 1.2vw;
  font-weight: 700;
  padding: 0.6vw 1.2vw;
  border-radius: 0.8vw;
  background: rgba(18, 24, 38, 0.85);
  border: 0.12vw solid rgba(81, 129, 255, 0.35);
  box-shadow: inset 0 0.45vw 0.95vw rgba(0, 0, 0, 0.25);
  line-height: 1.8vw;
}

.store-modal__color-input {
  width: 100%;
  height: 6vw;
  border-radius: 1.1vw;
  border: 0.12vw solid #2c3243;
  background: #181d29;
  box-shadow: inset 0 0.45vw 1.1vw rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.store-modal__color-input::-webkit-color-swatch-wrapper,
.store-modal__color-input::-webkit-color-swatch {
  padding: 0;
  border: none;
  border-radius: 1vw;
}

.store-modal__media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2vw;
}

.store-modal__media-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6vw;
  padding: 1.6vw;
  border-radius: 1.2vw;
  border: 0.12vw solid rgba(46, 54, 76, 0.85);
  background: linear-gradient(160deg, rgba(23, 28, 40, 0.95), rgba(12, 15, 24, 0.98));
  box-shadow: 0 1.4vw 3vw rgba(0, 0, 0, 0.5);
}

.store-modal__media-card--new {
  border-color: rgba(79, 123, 255, 0.85);
  box-shadow: 0 1.8vw 3.6vw rgba(39, 80, 205, 0.45);
}

.store-modal__media-label {
  font-size: 1.2vw;
  font-weight: 700;
  letter-spacing: 0.22vw;
  text-transform: uppercase;
  color: #a6b3d8;
  line-height: 1.8vw;
}

.store-modal__media-card--new .store-modal__media-label {
  color: #d7e0ff;
}

.store-modal__media-image {
  width: 100%;
  border-radius: 1vw;
  object-fit: cover;
  max-height: 18vw;
  box-shadow: 0 1.4vw 2.8vw rgba(0, 0, 0, 0.45);
}

.store-modal__media-placeholder {
  width: 100%;
  height: 16vw;
  border-radius: 1vw;
  background: repeating-linear-gradient(
      45deg,
      rgba(30, 36, 54, 0.6) 0vw,
      rgba(30, 36, 54, 0.6) 1.4vw,
      rgba(18, 22, 33, 0.6) 1.4vw,
      rgba(18, 22, 33, 0.6) 2.8vw
    );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a5afcb;
  font-size: 1.15vw;
  letter-spacing: 0.18vw;
  text-transform: uppercase;
  line-height: 1.6vw;
}

.swal-modal.store-modal-dialog .swal-footer {
  background: transparent;
  border-top: 0.12vw solid #1f2330;
  margin: 2.6vw 0vw 0vw;
  padding: 1.8vw 0vw 0vw;
}

.swal-modal.store-modal-dialog .swal-button {
  padding: 1.2vw 2.6vw;
  border-radius: 1vw;
  font-size: 1.3vw;
  margin: 0vw 1vw;
  text-transform: uppercase;
  letter-spacing: 0.14vw;
  font-weight: 700;
  line-height: 1.6vw;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: none;
}

.swal-modal.store-modal-dialog .swal-button.store-modal__cancel {
  background: rgba(21, 25, 36, 0.85);
  color: #b5c0de;
  border: 0.12vw solid #2f3444;
  box-shadow: inset 0 0.35vw 0.85vw rgba(255, 255, 255, 0.06);
}

.swal-modal.store-modal-dialog .swal-button.store-modal__cancel:hover {
  color: #e6ecff;
  transform: translateY(-0.15vw);
  box-shadow: inset 0 0.45vw 0.95vw rgba(255, 255, 255, 0.1);
}

.swal-modal.store-modal-dialog .swal-button.store-modal__confirm {
  background: linear-gradient(135deg, #2d7dff, #1a4de0);
  color: #f8fafd;
  border: 0.12vw solid #2a64f2;
  box-shadow: 0 1.6vw 3.2vw rgba(25, 52, 140, 0.55);
}

.swal-modal.store-modal-dialog .swal-button.store-modal__confirm:hover {
  background: linear-gradient(135deg, #3c8bff, #2553ff);
  transform: translateY(-0.25vw);
  box-shadow: 0 2vw 3.6vw rgba(35, 70, 150, 0.6);
}

.swal-modal.store-modal-dialog .swal-button.store-modal__confirm:active {
  transform: translateY(0.05vw);
  box-shadow: inset 0 0.55vw 1.2vw rgba(0, 0, 0, 0.35);
}

.store-modal--coupon .store-modal__title {
  color: #7aa0ff;
}

.store-modal--xp .store-modal__title {
  color: #fedc0f;
}

.store-modal--xp .store-modal__body {
  min-height: 24vw;
}

.store-modal--xp .store-modal__close-btn {
  top: 2vw;
  right: 2vw;
  transform: translate(0, 0);
}

.store-modal--gif .store-modal__media-image {
  max-height: 9vw;
}

.store-modal--gif .store-modal__media-placeholder {
  height: 8vw;
}
.store-modal--xp .store-modal__close-btn:active {
  transform: scale(0.92);
}

.store-modal--mass .store-modal__title {
  color: #7ae2ff;
}

.store-modal--mass .store-modal__body {
  min-height: 24vw;
}

.store-modal--mass .store-modal__close-btn {
  top: 2vw;
  right: 2vw;
  transform: translate(0, 0);
}
.store-modal--mass .store-modal__close-btn:active {
  transform: scale(0.92);
}

.store-modal--identity .store-modal__title {
  color: #c5e1ff;
}

.store-modal--identity .store-modal__header,
.store-modal--identity .store-modal__body,
.store-modal--kill-customize .store-modal__header,
.store-modal--kill-customize .store-modal__body {
  text-align: center;
}

.store-modal--identity .store-modal__header,
.store-modal--kill-customize .store-modal__header {
  position: relative;
  padding-right: 3.5vw;
}

.store-modal--identity .store-modal__choice-card,
.store-modal--kill-customize .store-modal__choice-card {
  align-items: center;
  text-align: center;
}

.store-modal--identity .store-modal__choice-btn,
.store-modal--kill-customize .store-modal__choice-btn {
  align-self: center;
}

.store-modal--color .store-modal__header,
.store-modal--name .store-modal__header,
.store-modal--kill-message .store-modal__header,
.store-modal--gif .store-modal__header,
.store-modal--coupon .store-modal__header {
  position: relative;
  padding-right: 3.5vw;
}

.store-modal--color .store-modal__body {
  min-height: 20vw;
}

.store-modal--name .store-modal__body {
  min-height: 18vw;
}

.store-modal--kill-message .store-modal__body {
  min-height: 22vw;
}

.store-modal--gif .store-modal__body {
  min-height: 22vw;
}

.store-modal--coupon .store-modal__body {
  min-height: 12vw;
}

.store-modal__close-btn {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(25%, -25%);
  width: 4vw;
  height: 4vw;
  border-radius: 50%;
  border: 0.12vw solid rgba(197, 225, 255, 0.7);
  background: rgba(13, 18, 30, 0.85);
  color: #c5e1ff;
  font-size: 1.6vw;
  font-weight: 800;
  line-height: 1.6vw;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.store-modal__close-btn:hover {
  background: rgba(197, 225, 255, 0.15);
  box-shadow: 0 0.8vw 1.2vw rgba(0, 0, 0, 0.35);
}

.store-modal__close-btn:active {
  transform: translate(35%, -35%) scale(0.92);
}

.store-modal__price-btn {
  align-self: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  margin: 1.2vw auto 1vw;
  cursor: pointer;
  display: flex;
  border-radius: 1vw;
  width: auto;
}

.store-modal__price-btn:focus-visible {
  outline: 0.15vw solid rgba(197, 225, 255, 0.65);
  border-radius: 1vw;
}

.store-modal__price-btn .store-modal__price-chip {
  pointer-events: auto;
  align-self: center;
  margin: 0 auto;
}
.store-modal__price-btn .boost-price-chip {
  pointer-events: auto;
}

.store-modal--gif .store-modal__price-btn {
  margin: 0.4vw auto 0.8vw;
}

.store-modal__coupon-actions {
  margin-top: 1vw;
  display: flex;
  justify-content: center;
}

.store-modal__price-btn--coupon {
  margin-top: 2vw;
}

.store-modal--name .store-modal__title {
  color: #fedc0f;
}

.store-modal--color .store-modal__title {
  color: #6ee7ff;
}

.store-modal--gif .store-modal__title {
  color: #ff7eb3;
}

.store-modal--kill-message .store-modal__title {
  color: #ffad5c;
}

.swal-modal.boost-modal .skin-chip__price-current {
  font-size: 2vw;
  line-height: 2.4vw;
}

.swal-modal.boost-modal .skin-chip__price-old {
  font-size: 2vw;
  line-height: 2.4vw;
  opacity: 0.8;
}

#store-body button {
  width: 21vmin;
  height: 14vmin;
  background-size: cover;
  background-clip: border-box;
}

#server {
  font-size: 2vmin;
  font-weight: 500;
  padding: 1vmin;
  border-radius: 1vmin;
  margin: 0;
}

.gradient-text {
  padding: 2px;
  width: 100%;
  /* Fallback: Set a background color. */
  background-color: rgb(255, 255, 255);

  /* Create the gradient. */
  /*background-image: linear-gradient(45deg, #1405e0 20%, #ffffff 60%,  );*/

  /* Set the background size and repeat properties. */
  background-size: 100%;
  background-repeat: repeat;

  /* Use the text as a mask for the background. */
  /* This will show the gradient as a text color rather than element bg. */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}



.game-over-block {
  background-image: url('./assets/img/DeadSceeen_StatsBg.png');
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 33vmin;
  height: 24vmin;
}

#preroll {
  position: absolute !important;
  z-index: 9999;
}
