:root {
  --darkest: #12111C;
  --dark: #120F25;
  --dark-2: #16122B;
  --dark-3: #1B182D;
  --dark-4: #302C4B;
  --dark-5: #413A6D;
  --primary: #6E5BCE;
  --secondary: #3274CA;
  --tertiary: #1EAF7E;
  --white: #fff;
  --white-tint: #5c5a6b;
  --white-tint-light: #252330;
  --logo-gray: #989CA8;
  --light-red: #da8677;
  --link-color: #27dda0;
}

.header-page {
  margin-top: 55px;
  min-height: 290px;
  padding-bottom: 80px;
  background-size: cover;
  background-position: 10% 25%;
  margin-bottom: -50px;
  position: relative;
  z-index: -1;
  display: flex;
}
.header-page.higher {
  min-height: 360px;
  padding-bottom: 110px;
}
@media screen and (max-width: 767.98px) {
  .header-page {
    min-height: 250px;
    padding-bottom: 120px;
    background-position: 50% 25%;
  }
}
@media screen and (max-width: 575.98px) {
  .header-page {
    min-height: 200px;
    padding-bottom: 60px;
    background-position: 50% 25%;
  }
}
.header-page .content {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
  z-index: 5;
}
.header-page .content h1 {
  text-transform: uppercase;
  letter-spacing: 1px;
}
.header-page .content h1 .game-title {
  display: block;
  font-size: 18px;
}
@media screen and (max-width: 575.98px) {
  .header-page .content h1 .game-title {
    font-size: 14px;
  }
}
.header-page .additional-img {
  position: absolute;
  bottom: 0;
  right: 5%;
  z-index: 0;
}
@media screen and (max-width: 1199.98px) {
  .header-page .additional-img {
    width: 300px;
    right: 0;
  }
}
@media screen and (max-width: 767.98px) {
  .header-page .additional-img {
    width: 200px;
    right: -100px;
  }
}

.filter-search {
  background-color: var(--dark-4);
  padding: 5px 10px;
  display: flex;
  gap: 5px;
}
@media screen and (max-width: 767.98px) {
  .filter-search {
    width: 100%;
  }
}
.filter-search input {
  width: 100%;
  border-radius: 3px;
  background-color: var(--dark-4);
  caret-color: var(--white);
  color: var(--white);
  border: none;
  outline: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
@media screen and (max-width: 767.98px) {
  .filter-search input {
    width: 100%;
  }
}
.filter-search input::-moz-placeholder {
  color: rgba(from var(--white) r g b/0.5);
}
.filter-search input::placeholder {
  color: rgba(from var(--white) r g b/0.5);
}
.filter-search div.delete {
  border-radius: 3px;
}
@media screen and (max-width: 767.98px) {
  .filter-search div.delete {
    transform: translateY(1px);
  }
}
.filter-search div.delete:hover {
  cursor: pointer;
}
.filter-search div.delete:hover svg, .filter-search div.delete:hover svg * {
  fill: var(--light-red);
}

.filter-rectangle-pick {
  display: flex;
  background-color: var(--dark-4);
  border-radius: 3px;
}
@media screen and (max-width: 767.98px) {
  .filter-rectangle-pick {
    width: 100%;
    justify-content: center;
    gap: 5px;
  }
}
.filter-rectangle-pick .pick-item {
  padding: 5px 8px;
  position: relative;
  cursor: pointer;
}
.filter-rectangle-pick .pick-item img {
  width: 23px;
  height: 23px;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
@media (pointer: fine) and (hover: hover) {
  .filter-rectangle-pick .pick-item:hover {
    background-color: var(--secondary);
  }
  .filter-rectangle-pick .pick-item:hover::after {
    opacity: 1;
    pointer-events: all;
    z-index: 11;
  }
}
.filter-rectangle-pick .pick-item.active {
  background-color: var(--secondary);
}
.filter-rectangle-pick .pick-item.active::after {
  opacity: 1;
  pointer-events: all;
  z-index: 10;
}
.filter-rectangle-pick .pick-item::after {
  content: attr(data-filter-value);
  display: block;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--dark-2);
  padding: 5px 10px;
  border-radius: 3px;
  white-space: nowrap;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
}

.filter-select {
  display: flex;
  border-radius: 3px;
}
@media screen and (max-width: 767.98px) {
  .filter-select {
    width: 100%;
  }
}
.filter-select select {
  min-width: 180px;
  padding: 6px 15px;
  padding-right: 40px;
  background-color: var(--dark-4);
  border: none;
  color: var(--white);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  background-image: url("/wp-content/uploads/2025/04/chevron-down-white.png");
  background-size: 15px;
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
@media screen and (max-width: 767.98px) {
  .filter-select select {
    width: 100%;
  }
}
.filter-select select option {
  color: var(--white);
  border-radius: 0;
}
.filter-select select option:hover {
  background-color: var(--secondary);
}
.filter-select .reset-btn {
  padding: 6px 10px;
  background-color: var(--dark-4);
  border: none;
  display: flex;
  align-items: center;
}
.filter-select .reset-btn:hover {
  cursor: pointer;
}
.filter-select .reset-btn:hover svg, .filter-select .reset-btn:hover svg * {
  fill: var(--light-red);
}

.character-list {
  display: flex;
  flex-direction: column;
  background-color: rgb(from var(--dark-4) r g b/0.5);
}
.character-list .tier-list-row {
  display: flex;
  color: var(--dark);
}
@media screen and (max-width: 767.98px) {
  .character-list .tier-list-row {
    flex-direction: column;
  }
}
.character-list .tier-list-row .tier-list-box {
  min-width: 125px;
  min-height: 175px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
@media screen and (max-width: 767.98px) {
  .character-list .tier-list-row .tier-list-box {
    padding: 10px;
    min-height: 0;
  }
}
.character-list .tier-list-row .tier-list-box.s-tier {
  background-color: #DC7059;
}
.character-list .tier-list-row .tier-list-box.a-tier {
  background-color: #E7AC60;
}
.character-list .tier-list-row .tier-list-box.b-tier {
  background-color: #DED769;
}
.character-list .tier-list-row .tier-list-box.c-tier {
  background-color: #A3C35E;
}
.character-list .tier-list-row .tier-list-box.d-tier {
  background-color: #63C9EE;
}
.character-list .tier-list-row .tier-list-box h2 {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  font-size: 40px;
  font-weight: bold;
}
.character-list .tier-list-row .tier-list-box h2 span.small {
  font-size: 12px;
  letter-spacing: 0;
}
.character-list .tier-list-row ul.list-of-all-items {
  padding: 30px 40px;
  margin: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
@media screen and (max-width: 767.98px) {
  .character-list .tier-list-row ul.list-of-all-items {
    justify-content: center;
    padding: 30px 10px;
  }
}
.character-list .tier-list-row ul.list-of-all-items li a {
  width: 75px;
}
.character-list .tier-list-row:not(:last-child) ul.list-of-all-items {
  border-bottom: 1px solid var(--dark-4);
}

.info-box {
  position: fixed;
  width: 415px;
  height: auto;
  padding-right: 15px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: 0.1s, top 0s, left 0s;
}
@media screen and (max-width: 991.98px) {
  .info-box {
    width: 305px;
  }
}
@media screen and (max-width: 360px) {
  .info-box {
    max-width: calc(100vw - 54px);
  }
}
.info-box:hover {
  opacity: 1;
  pointer-events: all;
  cursor: auto;
}
.info-box .info-box-header {
  padding: 15px;
  background-color: var(--dark-5);
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}
.info-box .info-box-header .title span.small {
  font-size: 14px;
  line-height: 0.7;
}
.info-box .info-box-header::after {
  content: "";
  display: block;
  position: absolute;
  top: 10px;
  right: 0px;
  transform: translateX(-20%);
  width: 15px;
  height: 20px;
  background-color: var(--dark-5);
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}
@media screen and (max-width: 1600px) {
  .info-box .info-box-header::after {
    top: calc(100% - 5px);
    left: 10px;
    transform: rotate(90deg);
    background-color: var(--dark-3);
  }
}
@media screen and (max-width: 400px) {
  .info-box .info-box-header::after {
    left: 60px;
  }
}
.info-box .info-box-body {
  font-size: 14px;
  padding: 15px;
  background-color: var(--dark-4);
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 1600px) {
  .info-box .info-box-body {
    background-color: var(--dark-3);
  }
}
.info-box .info-box-body ul {
  padding-left: 20px;
}
.info-box .info-box-body ul li {
  margin-bottom: 5px;
  line-break: anywhere;
}
.info-box .info-box-body a {
  color: var(--tertiary);
}
.info-box .info-box-body a:hover {
  color: var(--secondary);
}
.info-box .info-box-body p:last-of-type {
  margin-bottom: 0;
}

.entity-item {
  display: flex;
  padding: 0 5px;
}
.entity-item.star-5 .thumb-wrap {
  background: linear-gradient(130deg, #d19738 16.78%, #D4B57B 120.08%);
}
.entity-item.star-4 .thumb-wrap {
  background: linear-gradient(130deg, #b387da 16.78%, #442b4d 120.08%);
}
.entity-item.star-3 .thumb-wrap {
  background: linear-gradient(130deg, #83a2d1 16.78%, #3f5b7a 120.08%);
}
.entity-item.star-2 .thumb-wrap {
  background: linear-gradient(130deg, #597761 16.78%, #3d916e 120.08%);
}
.entity-item .thumb-wrap, .entity-item.star-1 .thumb-wrap {
  background: linear-gradient(130deg, #afafaf 16.78%, #333333 120.08%);
}
.entity-item .thumb-wrap {
  border-radius: 3px;
  border: 1px solid rgb(from var(--white) r g b/0.5);
  position: relative;
  overflow: hidden;
  min-width: 45px;
  max-width: 45px;
  height: 45px;
}
.entity-item .thumb-wrap.lg {
  min-width: 65px;
  max-width: 65px;
  height: 65px;
}
@media screen and (max-width: 767.98px) {
  .entity-item .thumb-wrap.lg {
    min-width: 50px;
    height: 50px;
  }
}
.entity-item .thumb-wrap.sm {
  min-width: 36px;
  max-width: 36px;
  height: 36px;
}
.entity-item .thumb-wrap.no-border {
  border-width: 0px;
}
.entity-item .thumb-wrap.star-5 {
  background: linear-gradient(130deg, #d19738 16.78%, #D4B57B 120.08%);
}
.entity-item .thumb-wrap.star-4 {
  background: linear-gradient(130deg, #b387da 16.78%, #442b4d 120.08%);
}
.entity-item .thumb-wrap.star-3 {
  background: linear-gradient(130deg, #83a2d1 16.78%, #3f5b7a 120.08%);
}
.entity-item .thumb-wrap.star-2 {
  background: linear-gradient(130deg, #597761 16.78%, #3d916e 120.08%);
}
.entity-item .thumb-wrap.star-1 {
  background: linear-gradient(130deg, #afafaf 16.78%, #333333 120.08%);
}
.entity-item .thumb-wrap img {
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
  height: 100%;
}
.entity-item .thumb-wrap .right-bottom-corner-text {
  background-color: var(--dark);
  padding: 2px;
  border-radius: 0 0 3px 0;
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 10px;
  line-height: 10px;
  font-weight: 600;
}
.entity-item a {
  display: flex;
  position: relative;
  text-decoration: none;
  color: var(--white);
}
.entity-item a.layout-column {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}
.entity-item a.layout-row {
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.entity-item a.layout-row p {
  white-space: nowrap;
}
.entity-item .img-bubble {
  position: absolute;
  background-color: rgb(from var(--dark-5) r g b/0.8);
  border-radius: 99px;
  padding: 1px;
  width: 19px;
  height: 19px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-30%);
}
.entity-item .img-bubble img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transform: translateY(-1px);
}
.entity-item .img-bubble.top-left {
  top: 0;
  left: -5px;
}
.entity-item .img-bubble.top-right {
  top: 0;
  right: -5px;
}
.entity-item p.title {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
}
.entity-item p.title.sm {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.entity-item p.title.xs {
  font-size: 12px;
  font-weight: 400;
}
.entity-item:hover a .thumb-wrap {
  border-color: var(--tertiary);
}
.entity-item:hover a .thumb-wrap img {
  transform: scale(1.05);
}
.entity-item:hover a p.title {
  color: var(--tertiary);
}
.entity-item:hover .info-box {
  opacity: 1;
  pointer-events: all;
  z-index: 9999;
}
.entity-item * {
  transition: 0.2s;
}

.not-found-box {
  padding: 20px;
  border: 1px solid var(--light-red);
  border-radius: 5px;
  background-color: rgb(from var(--light-red) r g b/0.2);
}

.more-filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--white);
}
.more-filters-btn, .more-filters-btn * {
  transition: 0.2s;
}
.more-filters-btn:hover {
  color: var(--tertiary);
}
.more-filters-btn:hover svg * {
  fill: var(--tertiary);
}

.page-content h2 {
  margin-bottom: 10px;
}
.page-content h3 {
  font-size: 20px;
  margin-top: 25px;
  font-weight: 600;
}
.page-content h4 {
  font-size: 16px;
  margin-top: 30px;
  font-weight: 600;
}
.page-content p, .page-content li {
  font-weight: 300;
}