@import url('http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css');
@import url('/fonts/fonts.css');
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/roboto/v51/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmUiA8.ttf) format('truetype');
}
@font-face {
  font-family: 'domaine';
  src: url('/assets/css/DomaineDisplay-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'domaine-italic';
  src: url('/assets/css/DomaineDisplay-RegularItalic.ttf');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'domaine-bold';
  src: url('/assets/css/DomaineDisplay-Semibold.ttf');
  font-weight: normal;
  font-style: italic;
}
.main-font {
  font-family: "Josefin Sans", "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.secondary-font {
  font-family: "Quintessential", "Noto Sans", serif;
  font-weight: 400;
  font-style: normal;
}
.number-font,
.number,
.numbers {
  font-family: "Charm", "Noto Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.transition {
  transition: linear all 0.2s;
}
.italic-font {
  font-family: "domaine-italic";
}
.bold-font {
  font-family: "domaine-bold";
}
.border {
  border-radius: 0px;
  border: 1px solid transparent;
  /* Set a transparent border to reserve space */
  border-image: linear-gradient(to bottom, #e4ac62, #bf7b21);
  /* Apply the gradient */
  border-image-slice: 1;
  /* Ensure the entire image is used as the border */
}
html {
  margin: 0;
  padding: 0;
  background: #333333;
}
body {
  margin: 0;
  padding: 0;
}
#app,
.app,
main {
  width: 100vw !important;
  max-width: 100vw !important;
}
* {
  box-sizing: border-box;
}
/* ------------------   Basic Styles  -------------------- */
body {
  font-size: 32px;
  line-height: 32px;
}
h1,
.h1 {
  font-size: 56px;
  line-height: 56px;
  font-weight: 700;
  font-family: 'quintessential', serif;
  margin-bottom: 12px;
}
h2,
.h2 {
  font-size: 48px;
  line-height: 56px;
  font-weight: 700;
  font-family: 'quintessential', serif;
  margin-bottom: 10px;
}
h3,
.h3 {
  font-size: 44px;
  line-height: 52px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: "Josefin Sans", "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
h4,
.h4 {
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  margin-bottom: 2px;
  font-family: "Josefin Sans", "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
h5,
.h5 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: "Josefin Sans", "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
h6,
.h6 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: "Josefin Sans", "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
p,
li {
  font-size: 32px;
  line-height: 40px;
  font-family: "Josefin Sans", "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
p {
  margin-bottom: 10px;
}
ul.styled {
  list-style: none;
  margin-left: 20px;
}
ul.styled li::before {
  content: '•';
  color: #1d141a;
  font-size: 40px;
  margin-right: 5px;
  display: inline-block;
  width: 10px;
  height: 10px;
  animation: bullet-anim 2s ease infinite;
  border-radius: 50%;
}
label {
  font-family: "Josefin Sans", "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
@keyframes bullet-anim {
  0% {
    text-shadow: 0 0 5px #2295a8;
  }
  50% {
    text-shadow: 0 0 5px rgba(34, 149, 168, 0.3);
  }
  100% {
    text-shadow: 0 0 5px #2295a8;
  }
}
ul.styled.white {
  color: #fff;
}
ul.styled.white li::before {
  color: #fff;
}
hr {
  border-color: #048BA8;
}
/* ------------------   Buttons   -------------------- */
.btn,
button {
  display: inline-block;
  border: none;
  outline: none;
  padding: 20px;
  margin-top: 4px;
  position: relative;
  cursor: pointer;
  background-color: transparent;
  text-align: center;
  animation: button-anim 2s ease infinite;
}
.btn.claimed,
button.claimed {
  opacity: 0.5;
  animation: none;
}
.btn.btn-dark,
button.btn-dark {
  color: #1d141a;
}
.btn.btn-gold,
button.btn-gold {
  color: #fffbec;
}
.btn.btn-silver,
button.btn-silver {
  color: #1d141a;
}
.btn.btn-light,
button.btn-light {
  color: #fffbec;
}
@keyframes button-anim {
  0% {
    padding: 20px;
    margin-top: 4px;
    margin-left: 2px;
    margin-right: 2px;
  }
  50% {
    padding: 22px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
  }
  100% {
    padding: 20px;
    margin-top: 4px;
    margin-left: 2px;
    margin-right: 2px;
  }
}
.btn:before,
button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: url('/ui-assets/filagree/button-top.svg') no-repeat top left;
}
.btn:after,
button:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: url('/ui-assets/filagree/button-bottom.svg') no-repeat bottom right;
}
.btn-dark:before,
button-dark:before {
  background: url('/ui-assets/filagree/button-dark-top.svg') no-repeat top left;
}
.btn-dark:after,
button-dark:after {
  background: url('/ui-assets/filagree/button-dark-bottom.svg') no-repeat bottom right;
}
.btn-light:before,
button-light:before {
  background: url('/ui-assets/filagree/button-light-top.svg') no-repeat top left;
}
.btn-light:after,
button-light:after {
  background: url('/ui-assets/filagree/button-light-bottom.svg') no-repeat bottom right;
}
.btn-gold:before,
button-gold:before {
  background: url('/ui-assets/filagree/button-gold-top.svg') no-repeat top left;
}
.btn-gold:after,
button-gold:after {
  background: url('/ui-assets/filagree/button-gold-bottom.svg') no-repeat bottom right;
}
.btn-silver:before,
button-silver:before {
  background: url('/ui-assets/filagree/button-silver-top.svg') no-repeat top left;
}
.btn-silver:after,
button-silver:after {
  background: url('/ui-assets/filagree/button-silver-bottom.svg') no-repeat bottom right;
}
.btn-basic {
  display: inline-block;
  background: url('/ui-assets/qiyan/button_small.png') no-repeat center center;
  background-size: 100% 100%;
  padding: 20px 30px;
  margin: 5px;
  color: #fff;
  font-family: 'quintessential', serif;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.3s ease;
}
.btn-basic:hover,
.btn-basic:active,
.btn-basic:focus {
  background: url('/ui-assets/qiyan/button_small_press.png') no-repeat center center;
  background-size: 100% 100%!important;
  color: #fff;
}
.btn-big {
  display: inline-block;
  background: url('/ui-assets/qiyan/button_big.png') no-repeat center center;
  background-size: 100% 100%;
  padding: 15px 30px 20px 30px;
  margin: 5px;
  color: #fff;
  font-family: 'quintessential', serif;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.3s ease;
  animation: button-big-anim 2s ease infinite;
}
.btn-big:hover,
.btn-big:active,
.btn-big:focus {
  background: url('/ui-assets/qiyan/button_big_press.png') no-repeat center center !important;
  background-size: 100% 100%!important;
  color: #fff;
  animation: none;
}
.btn-big.btn-red {
  background: url('/ui-assets/qiyan/button_big_red.png') no-repeat center center;
  background-size: 100% 100%;
  animation: button-big-anim-red 2s ease infinite;
}
.btn-big.btn-red:hover,
.btn-big.btn-red:active,
.btn-big.btn-red:focus {
  background: url('/ui-assets/qiyan/button_big_red_press.png') no-repeat center center !important;
  background-size: 100% 100%!important;
  color: #fff;
  animation: none;
}
@keyframes button-big-anim {
  0% {
    background: url('/ui-assets/qiyan/button_big.png') no-repeat center center;
    background-size: 100% 100%;
  }
  50% {
    background: url('/ui-assets/qiyan/button_big_hover.png') no-repeat center center;
    background-size: 100% 100%;
  }
  100% {
    background: url('/ui-assets/qiyan/button_big.png') no-repeat center center;
    background-size: 100% 100%;
  }
}
@keyframes button-big-anim-red {
  0% {
    background: url('/ui-assets/qiyan/button_big_red.png') no-repeat center center;
    background-size: 100% 100%;
  }
  50% {
    background: url('/ui-assets/qiyan/button_big_red_hover.png') no-repeat center center;
    background-size: 100% 100%;
  }
  100% {
    background: url('/ui-assets/qiyan/button_big_red.png') no-repeat center center;
    background-size: 100% 100%;
  }
}
/* ------------------   Form Items   -------------------- */
input:not([type="submit"]),
textarea {
  width: 100%;
  border-radius: 0px;
  border: 1px solid transparent;
  /* Set a transparent border to reserve space */
  border-image: linear-gradient(to bottom, #e4ac62, #bf7b21);
  /* Apply the gradient */
  border-image-slice: 1;
  /* Ensure the entire image is used as the border */
  padding: 9px;
  background: linear-gradient(to bottom, #3b2935, #1d141a);
  color: #fffbec;
  font-family: 'quintessential', serif;
  font-size: 32px;
  line-height: 32px;
}
input::placeholder,
textarea::placeholder {
  font-family: "Josefin Sans", "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #fffbec;
}
.select {
  position: relative;
}
.select .select-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  margin-top: 2px;
  border-radius: 0px;
  border: 1px solid transparent;
  /* Set a transparent border to reserve space */
  border-image: linear-gradient(to bottom, #e4ac62, #bf7b21);
  /* Apply the gradient */
  border-image-slice: 1;
  /* Ensure the entire image is used as the border */
  background: linear-gradient(to bottom, #3b2935, #1d141a);
  max-height: 200px;
  overflow-y: auto;
}
.select .select-options div {
  padding: 8px;
  text-align: center;
  cursor: pointer;
  color: #fffbec;
}
.select .select-options div[data-selected="true"] {
  background: #4a3343;
  font-weight: 700;
}
.select .select-options div:hover {
  background: #593e50;
}
.select.open .select-options {
  display: block;
}
.select input.select-input {
  width: 100%;
  text-align: center;
  cursor: pointer;
}
.select .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  z-index: 2;
  cursor: pointer;
  transition: all 0.2s linear;
}
.select .arrow-left {
  left: 8px;
}
.select .arrow-right {
  right: 8px;
}
label {
  position: relative;
  display: block;
  width: 90%;
  margin-left: 5%;
  height: auto;
  padding: 12px 6px;
  background: url(/ui-assets/qiyan/label-bg.png) no-repeat;
  background-position: 100% 100%;
  background-size: 100% 100%;
  text-align: center;
  font-size: 28px;
  line-height: 28px;
  font-weight: 700;
  color: #fffbec;
  z-index: 1;
}
.checkbox-group {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  margin-bottom: 15px;
}
.checkbox-group label {
  width: auto;
  margin-left: initial;
  flex: 1;
  display: flex;
  height: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 0px;
  border: 1px solid transparent;
  /* Set a transparent border to reserve space */
  border-image: linear-gradient(to bottom, #e4ac62, #bf7b21);
  /* Apply the gradient */
  border-image-slice: 1;
  /* Ensure the entire image is used as the border */
  padding: 8px;
  background: linear-gradient(to bottom, #3b2935, #1d141a);
  color: #fffbec;
  border-left: none;
}
input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  webkit-appearance: none;
  moz-appearance: none;
  o-appearance: none;
  ms-appearance: none;
  width: 45px;
  height: 45px;
  padding: 0px;
  margin: 0px;
  border: none;
  border-radius: 0%;
  background: url('/ui-assets/qiyan/checkbox_empty.png') no-repeat center center;
  background-size: 100% 100%;
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background: url('/ui-assets/qiyan/checkbox_active.png') no-repeat center center;
  background-size: 100% 100%;
  animation: checkbox-anim 0.5s linear infinite;
}
@keyframes checkbox-anim {
  0% {
    background: url('/ui-assets/qiyan/checkbox_active.png') no-repeat center center;
    background-size: 100% 100%;
  }
  50% {
    background: url('/ui-assets/qiyan/checkbox_bright.png') no-repeat center center;
    background-size: 100% 100%;
  }
  100% {
    background: url('/ui-assets/qiyan/checkbox_active.png') no-repeat center center;
    background-size: 100% 100%;
  }
}
input[type="submit"] {
  appearance: none;
  webkit-appearance: none;
  moz-appearance: none;
  o-appearance: none;
  ms-appearance: none;
  border: none;
  outline: none;
  margin: auto;
  display: block;
}
/* ------------------   Loading   -------------------- */
#loading {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  pointer-events: none;
  object-fit: cover;
  object-position: center;
}
/* ------------------   Alert   -------------------- */
.alert {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 999;
}
/* ------------------ Map Options -------------------- */
.ui-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9;
  pointer-events: none;
  overflow: hidden;
  zoom: 1;
}
.ui-layer * {
  pointer-events: all;
}
.map-options {
  position: absolute;
  bottom: 0px;
  right: 0px;
}
.map-options #compass {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
  z-index: 1;
}
.map-options.active #compass {
  transform: rotate(-45deg);
}
.map-options-list {
  background-color: rgba(255, 251, 236, 0.8);
  position: absolute;
  bottom: 50%;
  width: 100%;
  padding: 10px;
  padding-bottom: 50%;
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border: solid 2px #1d141a;
  pointer-events: none;
}
.map-options-list.active {
  opacity: 1;
  pointer-events: auto;
}
.map-options-list.active li span {
  opacity: 1;
}
.map-options-list img {
  width: 15px;
  height: 15px;
}
.map-options-list li {
  display: flex;
  align-items: center;
  flex-direction: column;
  color: #1d141a;
}
.map-options-list li span {
  font-size: 48px;
  text-align: center;
  margin-top: -6px;
  transition: all 1s ease;
  transition-delay: 0.5s;
  opacity: 0;
}
.map-options-list .zoom {
  position: absolute;
  top: 0;
  width: 50%;
  height: 25px;
  background-color: #fffbec;
  border-bottom: 2px solid #1d141a;
  color: #1d141a;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 64px;
  font-weight: 700;
  cursor: pointer;
  padding-bottom: 0px;
}
.map-options-list .zoom-in {
  left: 0;
  border-top-left-radius: 10px;
  border-right: 1px solid #1d141a;
}
.map-options-list .zoom-out {
  right: 0;
  border-top-right-radius: 10px;
  border-left: 1px solid #1d141a;
}
/* ------------------ Main Menu-------------------- */
.main-menu {
  position: absolute;
  bottom: 7.5px;
  right: 50px;
  width: 30vw;
  height: 35px;
  z-index: 1;
  padding-right: 30px;
}
.main-menu ul {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  gap: 5px;
  height: 100%;
  overflow: hidden;
  transition: all 0.5s ease;
}
.main-menu ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 5px;
  height: 35px;
  width: 35px;
  border: solid 1px #1d141a;
  border-radius: 50%;
  background-color: #fffbec;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1), inset 0 -2px 4px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.4);
}
.main-menu ul li span {
  height: 0px;
  transition: all 0.3s ease;
  overflow: hidden;
  color: #fffbec;
  font-size: 40px;
  text-align: center;
}
.main-menu ul li img {
  height: 25px;
}
.main-menu ul.active {
  height: auto;
  overflow: visible;
  transform: translateY(calc(-100% + 35px));
}
.main-button,
.secondary-button {
  position: absolute;
  bottom: 0;
  right: -5px;
  width: 80px;
  z-index: 9;
}
.main-button .icon,
.secondary-button .icon {
  position: absolute;
  top: 0;
  width: auto;
  height: auto;
  opacity: 0;
  transition: all 0.3s ease;
}
.main-button.close-button .x-dark,
.secondary-button.close-button .x-dark,
.main-button.close-button .x-bright,
.secondary-button.close-button .x-bright {
  opacity: 1;
}
.main-button.close-button .x-bright,
.secondary-button.close-button .x-bright {
  animation: glow 2s ease infinite;
}
.main-button.compass-button .compass,
.secondary-button.compass-button .compass {
  opacity: 1;
}
.main-button.chat-button .send,
.secondary-button.chat-button .send,
.main-button.chat-button .send-bright,
.secondary-button.chat-button .send-bright {
  opacity: 1;
}
.main-button.chat-button .send-bright,
.secondary-button.chat-button .send-bright {
  animation: glow 2s ease infinite;
}
.secondary-button {
  display: none;
  right: 250px;
  width: 50px;
}
.secondary-button.active {
  display: block;
}
/* ------------------ Profile V2-------------------- */
.frame-container {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  z-index: 2;
}
.frame-container .frame {
  position: relative;
  height: 50px;
}
.frame-container .frame .frame-bg {
  position: relative;
  height: 100%;
  width: auto;
  z-index: 2;
}
.frame-container .frame .avatar-img {
  position: absolute;
  top: 12px;
  left: 12px;
  height: 27.5px;
  width: 27.5px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  z-index: 1;
}
.frame-container .frame-bar {
  position: relative;
  top: 0;
  left: 0;
  width: auto;
  height: 50px;
  background: url('/ui-assets/qiyan/frame_bar.png') repeat left center;
  background-size: 50px;
}
.frame-container .frame-bar ul {
  position: relative;
  display: flex;
  align-items: center;
  height: 45px;
}
.frame-container .frame-bar ul li {
  display: flex;
  align-items: center;
  color: #fff;
  margin-right: 5px;
  padding-bottom: 0px;
}
.frame-container .frame-bar ul img {
  width: auto;
  height: 7.5px;
}
.frame-container .frame-bar ul .resource-amount {
  font-size: 20px;
  margin-left: 5px;
  font-weight: 700;
  font-family: "Charm", "Noto Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/* ------------------ Profile-------------------- */
.profile {
  position: absolute;
  top: 2.5px;
  right: 5px;
  z-index: 1;
}
.profile .heraldry-container {
  position: relative;
  width: 30px;
  height: 37.5px;
  overflow: hidden;
}
.profile .colors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.profile .charge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* ------------------ Resource Bar -------------------- */
.resource-bar {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 27.5px;
  padding-right: 35px;
  padding-left: 0px;
  z-index: 1;
  background-color: #1d141a;
  background-image: url('/ui-assets/textures/wood-grain-dark.svg');
  background-size: contain;
  background-repeat: repeat;
}
.resource-bar ul {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding-left: 7.5px;
  padding-right: 7.5px;
}
.resource-bar ul li {
  display: flex;
  align-items: center;
  color: #fff;
  margin-right: 10px;
  padding-bottom: 0px;
}
.resource-bar ul img {
  height: 12.5px;
}
.resource-bar ul .resource-amount {
  font-size: 20px;
  margin-left: 5px;
}
.resource-bar .avatar {
  position: absolute;
  top: 0px;
  right: 100%;
  width: 32.5px;
  height: 37.5px;
}
.resource-bar .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20%;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border: 2px solid #1d141a;
}
/* ------------------ Dialog Box -------------------- */
.dialog-box-container {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fade-out 0.5s ease;
  animation-fill-mode: forwards;
}
.dialog-box-container.active {
  display: flex;
  animation: fade-in 0.5s ease;
  animation-fill-mode: forwards;
}
.dialog-box-container .dialog-box {
  position: relative;
  width: 50%;
  padding: 20px;
  height: calc(100% - 110px);
  background-color: rgba(255, 251, 236, 0.9);
  background-size: cover;
  border-radius: 10px;
  border: 2px solid #9b4444;
}
.dialog-box-container .dialog-box h2,
.dialog-box-container .dialog-box h3,
.dialog-box-container .dialog-box h4,
.dialog-box-container .dialog-box p {
  color: #1d141a;
}
.dialog-box-container .dialog-box h2,
.dialog-box-container .dialog-box h3,
.dialog-box-container .dialog-box h4 {
  font-family: "Quintessential", "Noto Sans", serif;
  font-weight: 400;
  font-style: normal;
}
.dialog-box-container .dialog-box-content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}
.dialog-box-container .dialog-box-top-icon {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 530px;
}
.dialog-box-container .dialog-box-top-icon.reward-topper {
  width: auto;
  height: 90px;
  top: -50px;
}
.dialog-box-container .dialog-box-bottom-icon {
  position: absolute;
  top: calc(100% - 13px);
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 530px;
}
.dialog-box-container .dialog-box-bottom-icon.reward-bottom {
  height: 90px;
  top: calc(100% - 40px);
}
.dialog-box-container .glow {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  animation: glow 1.5s ease infinite;
}
@keyframes fade-in {
  0% {
    opacity: 0;
    display: flex;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-out {
  0% {
    opacity: 1;
  }
  99% {
    opacity: 0;
  }
  100% {
    display: none;
  }
}
@keyframes glow {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes glow-subtle {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}
/* ------------------ Information Window -------------------- */
.information-window {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: calc(100% - 20px);
  border-radius: 0px;
  border: 2px solid transparent;
  border-image: linear-gradient(to bottom, #e4ac62, #dd9536);
  border-image-slice: 1;
  background: linear-gradient(to bottom, #3b2935, #1d141a);
}
.information-window:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: url('/ui-assets/qiyan/window_corner_left.png') no-repeat center center;
  background-size: 100% 100%;
  z-index: 2;
  pointer-events: none;
}
.information-window:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: url('/ui-assets/qiyan/window_corner_right.png') no-repeat center center;
  background-size: 100% 100%;
  z-index: 2;
  pointer-events: none;
}
.information-window .information-header {
  position: absolute;
  left: 50%;
  top: -28px;
  min-width: 300px;
  transform: translateX(-50%);
  background: url('/ui-assets/qiyan/window_header.png') no-repeat center center;
  background-size: 100% 100%;
  padding: 15px 30px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(228, 172, 98, 0.5);
  z-index: 3;
}
.information-window .topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  width: 100%;
  height: 50px;
  padding-left: 30px;
  padding-right: 30px;
  background-color: #1d141a;
  background-image: url('/ui-assets/textures/window_header.png');
  background-size: auto 100%;
  background-repeat: repeat-x;
}
.information-window .topbar:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 100%;
  background: url('/ui-assets/textures/window_header_left.png') no-repeat center center;
  background-size: 100% 100%;
  z-index: 1;
}
.information-window .topbar:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 25px;
  height: 100%;
  background: url('/ui-assets/textures/window_header_right.png') no-repeat center center;
  background-size: 100% 100%;
  z-index: 1;
}
.information-window .topbar ul {
  position: relative;
  display: flex;
  align-items: center;
  height: 50%;
}
.information-window .topbar ul li {
  display: flex;
  align-items: center;
  color: #fff;
  margin-right: 10px;
  padding-bottom: 0px;
}
.information-window .topbar ul img {
  width: auto;
  height: 15px;
}
.information-window .topbar ul .resource-amount {
  font-size: 40px;
  margin-left: 10px;
  font-weight: 700;
  font-family: "Charm", "Noto Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.information-window .window-container {
  display: flex;
  width: 100%;
  height: calc(100% - 50px);
}
.information-window .window-container.no-topbar {
  height: 100%;
}
.information-window .window-container .side-image {
  width: 50%;
  object-fit: cover;
  object-position: center;
}
.information-window .sidebar {
  width: 40%;
  height: 100%;
  overflow: scroll;
}
.information-window .sidebar li {
  position: relative;
  margin-bottom: 5px;
  padding: 0px 0px 9px 4px;
  color: #fffbec;
}
.information-window .sidebar li:first-child {
  margin-top: 5px;
}
.information-window .sidebar li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/ui-assets/textures/list_bottom.png') no-repeat center center;
  background-size: 100% 100%;
  pointer-events: none;
}
.information-window .sidebar li.active {
  color: #e4ac62;
}
.information-window .sidebar li.active::after {
  content: '';
  position: absolute;
  top: -9px;
  left: 0;
  width: 100%;
  height: calc(100% + 5px);
  background: url('/ui-assets/textures/list_active.png') no-repeat center right;
  background-size: auto 100%;
  pointer-events: none;
}
.information-window .window-content {
  position: relative;
  width: 60%;
  background: url('/ui-assets/textures/window_content.png') no-repeat center center;
  background-size: 100% 100%;
  height: 100%;
  color: #aeada8;
}
.information-window .window-content h1,
.information-window .window-content h2,
.information-window .window-content h3,
.information-window .window-content h4 {
  color: #fffbec;
}
.information-window .window-content .tab {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 15px;
  padding-bottom: 25px;
  overflow: scroll;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
}
.information-window .window-content .tab * {
  pointer-events: none;
}
.information-window .window-content .tab.active {
  opacity: 1;
  pointer-events: auto;
}
.information-window .window-content .tab.active * {
  pointer-events: auto;
}
.information-window .window-content .header-image {
  width: calc(100% + 30px);
  height: auto;
  margin-bottom: 15px;
  margin-left: -15px;
  margin-right: -15px;
}
.information-window .window-content.full {
  width: 100%;
  padding-top: 40px;
}
.information-window .window-content.full .tab {
  height: calc(100% - 40px);
}
.information-window .window-content.full h1 {
  color: #fffbec;
}
.information-window .window-content.gold p,
.information-window .window-content.gold h1,
.information-window .window-content.gold h2,
.information-window .window-content.gold h3,
.information-window .window-content.gold h4,
.information-window .window-content.gold h5,
.information-window .window-content.gold h6 {
  color: #bf7b21;
}
.information-window .window-content.light p,
.information-window .window-content.light h1,
.information-window .window-content.light h2,
.information-window .window-content.light h3,
.information-window .window-content.light h4,
.information-window .window-content.light h5,
.information-window .window-content.light h6 {
  color: #fffbec;
}
/* ------------------ Loading -------------------- */
.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1d141a;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.loading-container.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
.loading-container.active .fill img {
  animation: fill-anim 0.3s linear forwards;
}
.loading-container.active .fill {
  animation-delay: 4s;
  animation: glow-subtle 2s linear infinite;
}
.loading-container .loading-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
}
.loading-container .loading-bar .bar {
  position: relative;
  width: 100%;
}
.loading-container .loading-bar .fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
}
.loading-container .loading-bar .fill img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.loading-container .loading-bar .fill img:first-child {
  animation-delay: 0s;
}
.loading-container .loading-bar .fill img:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-container .loading-bar .fill img:nth-child(3) {
  animation-delay: 0.6s;
}
.loading-container .loading-bar .fill img:nth-child(4) {
  animation-delay: 1s;
}
.loading-container .loading-bar .fill img:nth-child(5) {
  animation-delay: 1.4s;
}
.loading-container .loading-bar .fill img:nth-child(6) {
  animation-delay: 1.8s;
}
.loading-container .loading-bar .fill img:nth-child(7) {
  animation-delay: 2s;
}
.loading-container .loading-bar .fill img:nth-child(8) {
  animation-delay: 2.4s;
}
.loading-container .loading-bar .fill img:nth-child(9) {
  animation-delay: 2.8s;
}
.loading-container .loading-bar .fill img:nth-child(10) {
  animation-delay: 3s;
}
.loading-container .loading-bar .fill img:nth-child(11) {
  display: none;
}
.loading-container h1 {
  position: absolute;
  display: block;
  width: 100%;
  top: -50px;
  text-align: center;
  color: #fffbec;
}
.loading-container .btn-basic {
  display: none;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  pointer-events: auto;
}
.loading-container.fail .fill img:nth-child(11) {
  display: block;
}
.loading-container.fail .btn-basic {
  display: block;
}
@keyframes fill-anim {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fog {
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  background-image: url(/weather/fog.png);
  background-size: 100% 100%;
  opacity: 0.2;
  animation: static-fog 15s linear infinite;
  pointer-events: none;
}
.fog2 {
  position: absolute;
  left: -100%;
  top: -10%;
  width: 100%;
  height: 120%;
  background-image: url(/weather/fog.png);
  background-size: 100% 100%;
  opacity: 0.1;
  animation: fog 15s linear infinite;
}
.fog3 {
  animation-delay: 6s;
}
.fog4 {
  animation-delay: 10s;
}
@-webkit-keyframes fog {
  from {
    transform: translate(0%, 0%);
  }
  to {
    transform: translateX(200%, 0%);
  }
}
@keyframes fog {
  from {
    transform: translate(0%, 0%);
  }
  to {
    transform: translate(200%, 0%);
  }
}
@-webkit-keyframes static-fog {
  0% {
    transform: translate(0%, 0%);
  }
  25% {
    transform: translate(10%, 5%);
  }
  50% {
    transform: translate(5%, 10%);
  }
  75% {
    transform: translate(-5%, -5%);
  }
  100% {
    transform: translate(0%, 0%);
  }
}
@keyframes static-fog {
  0% {
    transform: translate(0px, 0px);
  }
  25% {
    transform: translate(100px, -100px);
  }
  50% {
    transform: translate(100px, 0px);
  }
  75% {
    transform: translate(-100px, 100px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}
/* ------------------ App Layer -------------------- */
.app-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
}
/* ------------------ Rewards -------------------- */
.warning {
  border-radius: 0px;
  border: 1px solid transparent;
  /* Set a transparent border to reserve space */
  border-image: linear-gradient(to bottom, #e4ac62, #bf7b21);
  /* Apply the gradient */
  border-image-slice: 1;
  /* Ensure the entire image is used as the border */
  background: linear-gradient(to bottom, rgba(183, 91, 91, 0.3), rgba(155, 68, 68, 0.4));
  padding: 5px;
  margin-bottom: 10px;
}
.notice {
  border-radius: 0px;
  border: 1px solid transparent;
  /* Set a transparent border to reserve space */
  border-image: linear-gradient(to bottom, #e4ac62, #bf7b21);
  /* Apply the gradient */
  border-image-slice: 1;
  /* Ensure the entire image is used as the border */
  background: linear-gradient(to bottom, rgba(204, 222, 189, 0.3), rgba(178, 205, 155, 0.4));
  padding: 5px;
  margin-bottom: 10px;
}
.note {
  border-radius: 0px;
  border: 1px solid transparent;
  /* Set a transparent border to reserve space */
  border-image: linear-gradient(to bottom, #e4ac62, #bf7b21);
  /* Apply the gradient */
  border-image-slice: 1;
  /* Ensure the entire image is used as the border */
  background: linear-gradient(to bottom, rgba(59, 41, 53, 0.3), rgba(228, 172, 98, 0.2));
  padding: 5px;
  margin-bottom: 10px;
}
.rewards {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}
.rewards li {
  text-align: center;
}
.rewards li.basic img {
  background-color: #b2cd9b;
}
.rewards li.magic img {
  background-color: #214975;
}
.rewards li.rare img {
  background-color: #e4ac62;
}
.rewards li.epic img {
  background-color: #44265b;
}
.rewards li.legendary img {
  background-color: #9b4444;
}
.rewards li img {
  border-radius: 0px;
  border: 1px solid transparent;
  /* Set a transparent border to reserve space */
  border-image: linear-gradient(to bottom, #e4ac62, #bf7b21);
  /* Apply the gradient */
  border-image-slice: 1;
  /* Ensure the entire image is used as the border */
  padding: 3px;
}
.rewards span {
  font-family: "Charm", "Noto Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.rewards-claimed .rewards {
  opacity: 0.5;
}
/* putting 2.0 stuff down here so I can easily tell */
.events-calendar {
  position: absolute;
  top: 35px;
  right: 0;
  width: 100px;
  height: 120px;
  background-image: url('/ui-assets/qiyan/box_frame.png');
  background-size: 100px 120px;
  background-repeat: no-repeat;
  overflow: hidden;
}
.events-calendar .slide {
  position: absolute;
  top: 10px;
  right: -100%;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  transition: all 0.8s ease;
  opacity: 0;
}
.events-calendar .slide img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  object-position: center;
}
.events-calendar .slide .event-desc {
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 40px;
  line-height: 48px;
  color: #fffbec;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.events-calendar .slide .event-desc span {
  font-size: 48px;
  line-height: 56px;
}
.events-calendar .slide.active {
  right: 10px;
  opacity: 1;
}
.alert-box {
  position: absolute;
  top: 50px;
  right: 80px;
  width: 175px;
  background: linear-gradient(to bottom, #3b2935, #1d141a);
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
  z-index: 9;
}
.alert-box .warning,
.alert-box .notice,
.alert-box .note {
  margin-bottom: 0px;
  color: #fffbec;
  min-height: 31px;
}
.alert-box img {
  border: 2px solid #e4ac62;
  border-left: 0px;
  border-top: 0px;
  width: 30px;
  height: 30px;
  float: left;
  margin: -2.5px 5px 0px -2.5px;
  object-fit: cover;
  object-position: center;
}
.alert-box.active {
  opacity: 1;
  right: 100px;
}
.chat-window.information-window {
  z-index: 1;
  width: 70vw;
  right: 0;
  left: initial;
  display: none;
}
.chat-window.information-window .sidebar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 20%;
}
.chat-window.information-window .window-content {
  width: 80%;
  display: flex;
}
.chat-window.information-window .window-content .tab {
  display: flex;
  flex-direction: column;
  align-items: normal;
  padding-bottom: 42px;
  scroll-behavior: smooth;
}
.chat-window.information-window.active {
  display: block;
}
.chat-bar {
  position: absolute;
  bottom: 0px;
  right: 40px;
  padding-right: 35px;
  padding-left: 37.5px;
  padding-bottom: 2px;
  width: 250px;
  height: 20px;
  background-image: url('/ui-assets/qiyan/chat_bar.png');
  background-size: 100% 100%;
  display: block;
  display: flex;
  align-items: flex-end;
  z-index: 4;
}
.chat-bar textarea {
  position: relative;
  opacity: 0.5;
  padding: 3px;
  height: 15px;
  font-size: 32px;
  z-index: 2;
  transition: all 0.3s ease;
}
.chat-bar textarea ::placeholder {
  font-size: 32px;
}
.chat-bar .chat-preview {
  display: flex;
  flex-direction: column;
  flex-flow: column-reverse;
  position: absolute;
  bottom: 90%;
  width: calc(100% - 72.5px);
  opacity: 0.9;
  padding: 5px;
  padding-bottom: 0px;
  max-height: 45px;
  overflow: hidden;
  background: linear-gradient(to bottom, transparent, #1d141a);
  z-index: 1;
}
.chat-bar .chat-preview p {
  padding: 2px;
  font-size: 20px;
  line-height: 20px;
  margin-bottom: 0px;
  color: #fffbec;
}
.chat-bar .chat-preview p strong {
  color: #e4ac62;
}
.chat-bar.active textarea {
  opacity: 1;
  height: 40px;
}
.chat-bar.active .chat-preview {
  display: none;
}
.close-chat-area.active::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
}
.shield {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  /* Firefox */
  image-rendering: crisp-edges;
  /* Standard */
  width: 300px;
}
.chat-message {
  position: relative;
  background: url(/ui-assets/qiyan/box_frame_middle.png) no-repeat center center;
  background-size: calc(100% - 10px) 100%;
  padding: 5px;
  margin-left: 20px;
  margin-bottom: 5px;
}
.chat-message .message-profile {
  position: absolute;
  top: 0px;
  left: -30px;
  width: 40px;
  height: 40px;
  background: url('/profile-assets/chat-rings/neutral.png') no-repeat left center;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-message .message-profile img {
  width: 35px;
  height: 35px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}
.chat-message .message-profile.enemy-profile {
  background: url('/profile-assets/chat-rings/red.png') no-repeat left center;
  background-size: 100% 100%;
}
.chat-message .message-profile.friendly-profile {
  background: url('/profile-assets/chat-rings/blue.png') no-repeat left center;
  background-size: 100% 100%;
}
.chat-message .message-profile.green-profile {
  background: url('/profile-assets/chat-rings/green.png') no-repeat left center;
  background-size: 100% 100%;
}
.chat-message .message-profile.purple-profile {
  background: url('/profile-assets/chat-rings/purple.png') no-repeat left center;
  background-size: 100% 100%;
}
.chat-message .message-profile.orange-profile {
  background: url('/profile-assets/chat-rings/orange.png') no-repeat left center;
  background-size: 100% 100%;
}
.chat-message .shield {
  position: absolute;
  bottom: -8px;
  right: -5px;
  width: 20px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  /* Firefox */
  image-rendering: crisp-edges;
  /* Standard */
}
.chat-message .shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.chat-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: url('/ui-assets/qiyan/box_frame_left.png') no-repeat;
  background-size: 100% 100%;
}
.chat-message::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: url('/ui-assets/qiyan/box_frame_right.png') no-repeat;
  background-size: 100% 100%;
}
.chat-message .message-content {
  padding: 8px;
  padding-left: 15px;
  font-size: 40px;
  line-height: 48px;
}
.chat-message .message-content strong {
  color: #e4ac62;
}
.health-bar {
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('/ui-assets/health-assets/left-background.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 150px;
  height: 150px;
  pointer-events: none;
}
.health-bar * {
  pointer-events: none;
}
.health-bar:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url('/ui-assets/health-assets/shine.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 3;
}
.health-bar .health {
  position: absolute;
  top: 28.5px;
  left: 7.5px;
  width: 63.75px;
  height: 63.75px;
  border-radius: 50%;
  overflow: hidden;
}
.health-bar .health img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.health-bar .mana {
  position: absolute;
  top: 7.5px;
  left: 67.5px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
}
.health-bar .mana img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.stat-bar {
  position: absolute;
  top: 0;
  left: 45%;
  transform: translateX(-50%);
  height: 45px;
  display: flex;
}
.stat-bar .stat {
  display: flex;
  height: 28px;
  align-items: center;
  gap: 3px;
}
.stat-bar span {
  font-size: 20px;
  line-height: 32px;
  font-family: "Charm", "Noto Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-weight: 700;
  color: #fffbec;
  text-shadow: 0 0 10px rgba(228, 172, 98, 0.5);
}
.stat-bar img {
  height: 8px;
  width: auto;
}
.stat-bar .stat-bar-end.team {
  background: url('/ui-assets/top-stats/team_end.png') no-repeat top center;
  background-size: 100% 45px;
  padding-left: 35px;
  padding-right: 8px;
}
.stat-bar .stat-bar-end.team .stat {
  height: 22px;
}
.stat-bar .stat-bar-item {
  padding-left: 5px;
  padding-right: 5px;
}
.stat-bar .stat-bar-item span {
  line-height: 56px;
}
.stat-bar .stat-bar-item.team {
  background: url('/ui-assets/top-stats/team_section.png') no-repeat top center;
  background-size: 100% 45px;
}
.stat-bar .stat-bar-center {
  background: url('/ui-assets/top-stats/center.png') no-repeat top center;
  background-size: 100% 45px;
  padding-left: 20px;
  padding-right: 20px;
}
.stat-bar .stat-bar-center .stat {
  height: 25px;
}
.stat-bar .stat-bar-item.opponent {
  background: url('/ui-assets/top-stats/enemy_section.png') no-repeat top center;
  background-size: 100% 45px;
}
.stat-bar .stat-bar-end.opponent {
  background: url('/ui-assets/top-stats/enemy_end.png') no-repeat top center;
  background-size: 100% 45px;
  padding-left: 8px;
  padding-right: 35px;
}
.stat-bar .stat-bar-end.opponent .stat {
  height: 22px;
}
.stat-bar.team-only .stat-bar-center {
  background: url('/ui-assets/top-stats/center_team_only.png') no-repeat top center;
  background-size: 100% 45px;
}
.stat-bar.team-only .opponent {
  display: none;
}
.stat-bar.nuetral .stat-bar-center {
  background: url('/ui-assets/top-stats/nuetral_center.png') no-repeat top center;
  background-size: 100% 45px;
}
.stat-bar.nuetral .stat-bar-end.team {
  background: url('/ui-assets/top-stats/nuetral_left_end.png') no-repeat top center;
  background-size: 100% 45px;
}
.stat-bar.nuetral .stat-bar-end.opponent {
  background: url('/ui-assets/top-stats/nuetral_right_end.png') no-repeat top center;
  background-size: 100% 45px;
}
.stat-bar.nuetral .stat-bar-item.team {
  background: url('/ui-assets/top-stats/nuetral_left_section.png') no-repeat top center;
  background-size: 100% 45px;
}
.stat-bar.nuetral .stat-bar-item.opponent {
  background: url('/ui-assets/top-stats/nuetral_right_section.png') no-repeat top center;
  background-size: 100% 45px;
}
.mage-alert {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.mage-alert.dying {
  background: radial-gradient(rgba(0, 0, 0, 0.1) 65%, rgba(155, 68, 68, 0.4) 90%);
  animation: glow 1s ease-in-out infinite;
}
.mage-alert.healing {
  background: radial-gradient(rgba(178, 205, 155, 0.1) 75%, #b2cd9b 90%);
  animation: glow 1s ease-in-out infinite;
}
.character-dialog {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30vh;
  background-color: rgba(255, 251, 236, 0.8);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border: 2px solid #9b4444;
  padding: 30px;
}
.character-dialog.character-dialog--hidden {
  display: none !important;
}
.character-dialog .portrait {
  position: absolute;
  width: 20vw;
  height: 150%;
  bottom: 0;
  left: -3vw;
}
.character-dialog .portrait img.dialog-portrait,
.character-dialog .portrait img.character-dialog-portrait-img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  /* Firefox */
  image-rendering: crisp-edges;
  /* Standard */
}
.character-dialog .character-dialog-content {
  padding-left: 20vw;
  padding-right: 30vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  min-height: 0;
}
.character-dialog .character-dialog-content .mage-dialog-message,
.character-dialog .character-dialog-content #mageCharacterDialogLabel {
  color: #1d141a;
  font-size: 8em;
  line-height: 5.4em;
  margin-bottom: 0;
}
.character-dialog .character-dialog-content .character-dialog-actions.mage-dialog-buttons {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  max-width: 70vw;
}
.character-dialog .character-dialog-content .character-dialog-actions.mage-dialog-buttons button {
  position: relative;
  width: auto;
  min-width: 12vw;
  height: auto;
}
.chapter-screen {
  width: 100%;
  height: 100%;
  background-color: #1d141a;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.chapter-screen h1 {
  color: #fffbec;
  font-size: 12em;
  letter-spacing: 0.1em;
  line-height: 5.4em;
  margin-bottom: 0;
  opacity: 0;
  animation: fade-in 6s ease 0s forwards;
}
.chapter-screen h3 {
  color: #fffbec;
  font-size: 8em;
  line-height: 5.4em;
  margin-bottom: 0;
  opacity: 0;
  animation: fade-in 6s ease 3s forwards;
}
/* ------------------ GENERAL -------------------- */
body,
html {
  position: relative;
  height: auto;
  width: 100%;
  background: #1d141a;
  overflow-x: hidden;
  overflow-x: clip;
  font-family: "Josefin Sans", "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
img {
  display: block;
}
.strip {
  padding-top: 10px;
  padding-bottom: 10px;
}
.box-sml {
  padding-top: 30px;
  padding-bottom: 30px;
}
.box {
  padding-top: 50px;
  padding-bottom: 50px;
}
.box-med {
  padding-top: 100px;
  padding-bottom: 100px;
}
.box-lrg {
  padding-top: 150px;
  padding-bottom: 150px;
}
.box-top {
  padding-top: 100px;
}
.box-bot {
  padding-bottom: 100px;
}
.squeeze {
  padding-left: 20vw;
  padding-right: 20vw;
}
.row {
  max-width: 1100px;
}
.wide {
  max-width: 1800px;
}
.dark,
.dark p,
.dark a,
.dark li,
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5 {
  color: #1d141a;
}
.white,
.white p,
.white a,
.white li,
.white h1,
.white h2,
.white h3,
.white h4,
.white h5 {
  color: #fff;
}
.black,
.black p,
.black a,
.black li,
.black h1,
.black h2,
.black h3,
.black h4,
.black h5 {
  color: #000;
}
.light,
.light p,
.light a,
.light li,
.light h1,
.light h2,
.light h3,
.light h4,
.light h5 {
  color: #fffbec;
}
.theme-dark {
  background-color: #333;
}
.theme-white {
  background-color: #fff;
}
.theme-black {
  background-color: #000;
}
.theme-light {
  background-color: #c4c4c4;
}
.cap {
  text-transform: uppercase;
}
.mini {
  font-size: 0.8em;
}
.centering {
  display: block;
  margin: auto;
  text-align: center;
}
.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}
.six-special {
  width: 50%;
  margin-left: 0px;
}
.bold {
  font-weight: 700;
}
.italic {
  font-style: italic;
}
.left {
  display: block;
  text-align: left;
}
.right {
  display: block;
  text-align: right;
}
.wrap-right {
  float: left;
}
.wrap-left {
  float: right;
}
.hidden {
  display: none;
}
.margin-top,
div.margin-top,
p.margin-top {
  margin-top: 20px!important;
}
.margin-0 {
  margin-top: 0px!important;
  margin-bottom: 0px!important;
  margin-left: 0px!important;
  margin-right: 0px!important;
}
.nav li a {
  display: block;
  padding: 10px;
  background-color: rgba(29, 20, 26, 0.5);
}
.col-row {
  display: flex;
  gap: 20px;
  clear: both;
  flex-wrap: wrap;
}
.col-row .col {
  flex: 1;
}
.pixel-art {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  /* Firefox */
  image-rendering: crisp-edges;
  /* Standard */
}
/* ------ WEBSITE SPECIFIC -----*/
.hero {
  position: relative;
  width: 100vw;
  height: 80vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.hero video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero .logo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  width: 40%;
  height: 100%;
}
.hero .logo img {
  padding: 70px;
  width: auto;
  height: 50%;
  animation: wiggle 5s ease-in-out infinite;
}
.hero .real-gameplay {
  font-size: 18px;
  color: #fffbec;
  position: absolute;
  bottom: 5px;
  left: 30px;
  z-index: 2;
}
@keyframes wiggle {
  0% {
    transform: rotate(-1deg) scale(1);
  }
  50% {
    transform: rotate(1deg) scale(1.05);
  }
  100% {
    transform: rotate(-1deg) scale(1);
  }
}
.beta-test-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  width: 100%;
  background: url(/ui-assets/textures/window_content.png) no-repeat center center;
  background-size: 100% 100%;
  padding: 100px;
}
.beta-test-row .intro-col {
  width: 40%;
  min-width: 600px;
  padding: 40px;
}
.beta-test-row .form-col {
  width: 40%;
  max-width: 600px;
}
@media (max-width: 1200px) {
  .beta-test-row .form-col {
    width: 100%!important;
  }
}
.form {
  position: relative;
  width: 100%;
  margin-top: -300px;
  z-index: 2;
  /* test */
  padding: 50px;
  border: 2px solid transparent;
  border-image: linear-gradient(to bottom, #e4ac62, #dd9536);
  border-image-slice: 1;
  background: linear-gradient(to bottom, #3b2935, #1d141a);
  /* end test */
}
@media (max-width: 1200px) {
  .form {
    margin-top: 0!important;
  }
}
.form #signup-form {
  transition: opacity 0.2s ease;
}
.form #signup-form:has(form.htmx-request) {
  opacity: 0.4;
  pointer-events: none;
}
.form .field {
  margin-bottom: 20px;
}
.form #country-select,
.form #device-select {
  margin-bottom: 20px;
}
.form .btn {
  font-size: 32px;
}
.form .thank-you {
  text-align: center;
}
.tile-row {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.tile-row .bg {
  position: absolute;
  width: 100%;
  height: 100%;
}
.tile-row .bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.tile-row .bg img:last-child {
  animation: glow 3s linear infinite;
}
.tile-row .dialog-box-container {
  max-height: 60vh;
  left: 10vw;
  width: 90vw;
  justify-content: flex-start;
}
@media (max-width: 1450px) {
  .tile-row .dialog-box-container {
    left: 5vw!important;
  }
}
@media (max-width: 1450px) {
  .dialog-box {
    width: 100%!important;
  }
}
.market-row .dialog-box-container {
  left: 5vw!important;
  width: 90vw;
  justify-content: center;
}
.glowtext {
  position: relative;
  animation: glow-text 2s ease infinite;
}
.glowtext::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -25%;
  width: 150%;
  height: 6px;
  background: radial-gradient(circle, rgba(34, 149, 168, 0.4) 40%, rgba(34, 149, 168, 0) 100%);
  animation: glow-subtle 2s linear infinite;
}
@keyframes glow-text {
  0% {
    text-shadow: 1px 1px 2px #2295a8;
  }
  50% {
    text-shadow: 1px 1px 2px rgba(34, 149, 168, 0.3);
  }
  100% {
    text-shadow: 1px 1px 2px #2295a8;
  }
}
.update-bar {
  position: fixed;
  top: 0;
  right: 20px;
  border: 2px solid transparent;
  border-image: linear-gradient(to bottom, #e4ac62, #dd9536);
  border-image-slice: 1;
  background: linear-gradient(to bottom, #3b2935, #1d141a);
  z-index: 9;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: #fffbec;
}
.update-bar img {
  filter: invert(1);
  fill: #fffbec;
}
.weather {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.5;
}
@media (max-width: 900px) {
  .col {
    width: 100%!important;
    flex: 1!important;
  }
}
.f2p-row {
  width: 100%;
  height: auto;
  padding: 100px 50px;
  border: 2px solid transparent;
  border-image: linear-gradient(to bottom, #e4ac62, #dd9536);
  border-image-slice: 1;
  background: linear-gradient(to bottom, #3b2935, #1d141a);
}
.f2p-row .col-row .col {
  text-align: center;
}
.f2p-row p {
  margin-top: 0px;
}
.icon-row {
  clear: both;
  display: flex;
  align-items: center;
  margin-top: 40px;
}
.money-gif {
  float: right;
  padding: 0px 40px;
}
.money-gif img {
  margin: auto;
}
.money-gif .h3 {
  margin-top: 0px;
  margin-bottom: 20px;
}
.float-icon {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
  border: 2px solid transparent;
  border-image: linear-gradient(to bottom, #e4ac62, #dd9536);
  border-image-slice: 1;
}
.float-icon img {
  width: 128px;
  height: 128px;
}
.balance-video {
  width: 50%;
  height: auto;
  border: 2px solid transparent;
  border-image: linear-gradient(to bottom, #e4ac62, #dd9536);
  border-image-slice: 1;
}
.customization-row {
  width: 100%;
  background: url(/ui-assets/textures/window_content.png) no-repeat center center;
  background-size: 100% 100%;
  padding: 100px;
}
.school-icons {
  gap: 5px;
  padding-left: 0px;
  padding-right: 0px;
  justify-content: space-between;
}
.school-icons li {
  width: calc(100% / 12 - 10px);
  padding-bottom: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.school-icons li img {
  margin-bottom: 10px;
}
.school-icons li.selected {
  background-color: #fffbec;
  color: #1d141a;
}
.school-descriptions {
  min-height: 500px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.school-description {
  height: 0px;
  overflow: hidden;
}
.school-description.active {
  animation: expand 0.5s ease;
  animation-fill-mode: forwards;
}
@keyframes expand {
  0% {
    height: 0px;
  }
  99% {
    height: 300px;
  }
  100% {
    height: auto;
  }
}
/* ----- MAGIC ATTACKS ----- */
.school-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}
.school-title .h1 {
  width: auto;
}
.school-title .attack,
.school-title .attack64 {
  flex: 1;
}
.attack {
  width: 128px;
  height: 128px;
  animation: launch 3s linear infinite;
}
.attack img {
  display: block;
  width: 128px;
  height: 128px;
  max-width: none;
  object-fit: none;
  object-position: 0 0;
}
.attack64 {
  width: 64px;
  height: 64px;
  animation: launch 3s linear infinite;
}
.attack64 img {
  display: block;
  width: 64px;
  height: 64px;
  max-width: none;
  object-fit: none;
  object-position: 0 0;
}
@keyframes launch {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}
.one-orb img {
  animation: none;
}
.four-orb img {
  animation: four-orb 0.3s steps(4) infinite;
}
@keyframes four-orb {
  to {
    object-position: -512px 0;
  }
}
.five-orb img {
  animation: five-orb 0.5s steps(5) infinite;
}
@keyframes five-orb {
  to {
    object-position: -640px 0;
  }
}
.six-orb img {
  animation: six-orb 0.4s steps(6) infinite;
}
@keyframes six-orb {
  to {
    object-position: -768px 0;
  }
}
.seven-orb img {
  animation: seven-orb 0.7s steps(7) infinite;
}
@keyframes seven-orb {
  to {
    object-position: -896px 0;
  }
}
.eight-orb img {
  animation: eight-orb 0.64s steps(8) infinite;
}
@keyframes eight-orb {
  to {
    object-position: -1024px 0;
  }
}
.nine-orb img {
  animation: nine-orb 0.64s steps(9) infinite;
}
@keyframes nine-orb {
  to {
    object-position: -1152px 0;
  }
}
.twelve-orb img {
  animation: twelve-orb 0.7s steps(12) infinite;
}
@keyframes twelve-orb {
  to {
    object-position: -1536px 0;
  }
}
.attack64.four-orb img {
  animation: four-orb-64 0.3s steps(4) infinite;
}
.attack64.six-orb img {
  animation: six-orb-64 0.4s steps(6) infinite;
}
.attack64.eight-orb img {
  animation: eight-orb-64 0.64s steps(8) infinite;
}
.attack64.nine-orb img {
  animation: nine-orb-64 0.64s steps(9) infinite;
}
@keyframes four-orb-64 {
  to {
    object-position: -256px 0;
  }
}
@keyframes six-orb-64 {
  to {
    object-position: -384px 0;
  }
}
@keyframes eight-orb-64 {
  to {
    object-position: -512px 0;
  }
}
@keyframes nine-orb-64 {
  to {
    object-position: -576px 0;
  }
}
/* ----- UNIT ICONS ----- */
.unit-icons {
  gap: 5px;
  padding-left: 0px;
  padding-right: 0px;
  justify-content: space-between;
}
.unit-icons li {
  width: calc(100% / 11 - 10px);
  padding-bottom: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.unit-icons li img {
  margin-bottom: 10px;
}
.unit-icons li.selected {
  background-color: #fffbec;
  color: #1d141a;
}
.unit-descriptions {
  min-height: 600px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.unit-description {
  height: 0px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.unit-description.active {
  animation: expand 0.2s ease;
  animation-fill-mode: forwards;
}
.field-error {
  color: #fffbec;
  position: relative;
  animation: glow-text 2s ease infinite;
}
.turnstile-field {
  display: none;
}
@media (max-width: 769px) {
  h1,
  .h1 {
    font-size: 32px;
    line-height: 40px;
  }
  h2,
  .h2 {
    font-size: 28px;
    line-height: 34px;
  }
  h3,
  .h3 {
    font-size: 24px;
    line-height: 28px;
  }
  h4,
  .h4 {
    font-size: 20px;
    line-height: 24px;
  }
  h5,
  .h5 {
    font-size: 18px;
    line-height: 22px;
  }
  h6,
  .h6 {
    font-size: 16px;
    line-height: 18px;
  }
  p,
  li {
    font-size: 16px;
    line-height: 18px;
  }
  .btn {
    font-size: 26px;
    line-height: 32px;
  }
  .hero .logo {
    align-items: flex-start;
    width: 50%;
  }
  .hero .logo img {
    width: 100%;
    height: auto;
    padding: 10px;
  }
  .update-bar {
    right: 0px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .update-bar.scrolled {
    opacity: 1;
  }
  .beta-test-row {
    padding: 0px;
  }
  .money-gif {
    float: none;
    margin-bottom: 20px;
  }
  .money-gif img {
    width: 100%;
  }
  .col {
    width: 100%!important;
    max-width: 100%!important;
    min-width: 100%!important;
  }
  .form {
    padding: 20px;
  }
  .glowtext {
    animation: glowtextmobile 2s ease infinite;
  }
  @keyframes glowtextmobile {
    0% {
      text-shadow: 0px 0px 4px rgba(34, 149, 168, 0.5);
    }
    50% {
      text-shadow: 0px 0px 4px rgba(34, 149, 168, 0.1);
    }
    100% {
      text-shadow: 0px 0px 4px rgba(34, 149, 168, 0.5);
    }
  }
  .rewards:not(.school-icons) {
    padding-left: 0px;
    padding-right: 0px;
  }
  .rewards:not(.school-icons) img {
    width: 64px;
    height: 64px;
  }
  .customization-row,
  .f2p-row {
    padding: 20px;
  }
  .school-icons {
    flex-wrap: wrap;
    margin-bottom: 0px;
  }
  .school-icons li {
    width: calc(100% / 6 - 5px);
  }
  .school-descriptions,
  .unit-descriptions {
    padding-top: 0px;
  }
  .balance-video {
    width: 80%;
  }
  .float-icon img {
    width: 64px;
    height: 64px;
  }
  .unit-icons {
    flex-wrap: wrap;
    margin-bottom: 0px;
  }
  .unit-icons li {
    width: calc(100% / 4 - 5px);
  }
  .unit-icons img {
    width: 100%!important;
    height: auto!important;
  }
}
